Temperaturregelung für Brutkasten

Hallo Casio,

Danke für die Tipps,

Programmieren der
AVR RISC Mikrocontroller mit BASCOM AVR (2.Auflage)
von Claus Kühnel.
das Buch habe ich schon.

Schau doch mal, ob du das Buch:
BASCOM-AVR
Sprachbefehle
von Marius Meissner bekommen kannst

habs gefunden, allerdings ziehmlich Teuer das es nur...
...Letztlich ist es "nur" eine Übersetzung der englischen BASCOM-Hilfedateien.
.

muss jetzt erst mal schaun ob ich es irgendwo gebraucht finde, ansonsten muss ich die 50€ :hmpf: dann doch Investieren.
 
.... ansonsten muss ich die 50€ :hmpf: dann doch Investieren.

Hallo Horst!

Ich kann dir das Buch nur ans Herz legen!
Selbst wenn du es tatsächlich für 50Euro neu kaufen musst ist es eine lohnenswerte Ausgabe!

Ich habe mir zu Beginn das Buch geschnappt und einfach nur drin gestöbert.
Die Befehle, die interessant geklungen haben, habe ich mir durchgelesen und stückweise ausprobiert (Dank der Beispiele im Buch).

Mit der Zeit hat man zu den eigenen Programmideen auch selbstständig Lösungen gefunden, weil man eine recht gute Übersicht der Befehle (und die damit verbundenen Möglichkeiten) bekommen hatte.

Für mich hat sich die Ausgabe auf alle Fälle schon "bezahlt" gemacht. :)
Entscheiden musst du aber letztlich selbst....

Gruß,
Cassio
 
Hallo Zusammen,


So nach längerer Abstinenz bin ich wieder dabei mein Projekt voranzutreiben.

Ich habe mir in der Zwischenzeit ein Stk500 besorgt, mit dem ich jetzt Probleme habe und Hoffe ihr könnt mir wieder mal Helfen.

Gleich vorab, ich habe das Forum schon nach Hilfen durchsucht auch das was Oskar01 beschreibt Funktioniert nicht.

Ich Beschreibe mal was nicht geht und was ich schon Versucht habe.

Was geht nicht:

Als erstes kommt mal diese Meldung

siehe Grafik Bild1 und Bild2

Ok habe mich daran gehalten und jetzt

siehe Grafik Bild3

:mad:

Habe schon andere Spannungsversorgung probiert.
Anderes Kabel
Das Board auf Fehler untersucht/Leiterbahnunterbrechungen.
Es kommt immer wieder der gleiche ablauf.
Habe mich auch an die Anweisungen von Atmel gehalten



STK500 Manual Firmware Upgrade
The current version of AVR Studio will automatically detect any old STK500 firmware version and request the user to upgrade the firmware. If for some reason the upgrade fails (the serial cable is detached during upgrade, the power goes out, ...) the next time the AVR Studio tries to connect to the STK500, the board will not be detected and the automatic upgrade procedure will not start.
Following is a procedure on how to manually upgrade a STK500 board. This procedure should work in all cases:​

1.Power off the STK500
2.Push the 'PROGRAM' button while powering up the STK500
3.Start AVR Studio and make sure there is a serial connection between the PC and the STK500 DSUB9 marked 'RS232 CTRL'
4.Start the program 'Avr Prog' located in the AVR Studio 'Tools' menu
5.Locate the firmware upgrade hex-file 'stk500.ebn' by pushing the 'Browse'-button in the 'Avr Prog Hex File'-window. The path for the 'stk500.ebn' for a normal AVR Studio installation is "C:\Program Files\Atmel\AVR Tools\STK500".
6.Push the 'Program'-button in the 'Avr Prog Flash'-window. A progress bar will now appear while showing additional information messages. Wait until the verify operation is finished.
7.Close the 'Avr Prog' program
8.Power off and on the STK500 PCB. The STK500 is now ready to be used with the new firmware.​


Und bei Punkt 4

Dann das
siehe Grafik Bild4


:mad: :mad: :mad: :mad:
Kann mir bitte jemand Helfen, ich will jetzt Endlich auch Programmieren und Testen.

Danke
 

Anhänge

  • Bild1.jpg
    Bild1.jpg
    43,7 KB · Aufrufe: 26
  • Bild2.jpg
    Bild2.jpg
    41,3 KB · Aufrufe: 15
  • Bild3.jpg
    Bild3.jpg
    21,3 KB · Aufrufe: 16
  • Bild4.jpg
    Bild4.jpg
    12,7 KB · Aufrufe: 20
Hi Mischi,

führ mal das Update des STK500 durch so wie es in der Anleitung beschrieben
ist. Hab ich am Anfang auch als erstes gemacht. Dafür brauchst Du auch ne
Internet-Verbindung auf dem PC mit dem STK500/AVRStudio. Braucht dann
seine Zeit.

Das wird bei mir demnächst wieder anstehen, weil er bei der neuen Version
des AVRStudios gemotzt hat, das die Firmware auf dem STK500 zu alt ist.
Du kannst auch mit der alten Firmware arbeiten. Einfach bei Bild1 Abbrechen
klicken. Aber das Fenster erscheint bei jedem Start des AVR-Studios wieder.

Zitat aus der STK500-Anleitung ...
3.11.2 PROGRAM Push Button
Future versions of AVR Studio may upgrade the master microcontroller on STK500.
AVR Studio will then detect old software versions of STK500 and update the Flash program
memory of the master microcontroller. To do this, the user is required to push the
PROGRAM button when powering on STK500. AVR Studio issues instructions on how
to perform the upgrade during the upgrade process.

Direkt die Anleitung wie man updatet hab ich jetzt leider doch nicht gefunden.
Steht aber ja auch in der Info (Bild2) wie man vorgehen muß.

Ich hab aber hier im Forum was gefunden ...
AVR-Studio4-und-STK500-Probleme von Oskar


Gruß
Dino
 
Hallo Dino,

Danke für Deine Antwort

führ mal das Update des STK500 durch so wie es in der Anleitung beschrieben
ist. Hab ich am Anfang auch als erstes gemacht. Dafür brauchst Du auch ne
Internet-Verbindung auf dem PC mit dem STK500/AVRStudio. Braucht dann
seine Zeit.

habe ich schon Versucht
STK500 Manual Firmware Upgrade
The current version of AVR Studio will automatically detect any old STK500 firmware version and request the user to upgrade the firmware. If for some reason the upgrade fails (the serial cable is detached during upgrade, the power goes out, ...) the next time the AVR Studio tries to connect to the STK500, the board will not be detected and the automatic upgrade procedure will not start.
Following is a procedure on how to manually upgrade a STK500 board. This procedure should work in all cases:

1.Power off the STK500
2.Push the 'PROGRAM' button while powering up the STK500
3.Start AVR Studio and make sure there is a serial connection between the PC and the STK500 DSUB9 marked 'RS232 CTRL'
4.Start the program 'Avr Prog' located in the AVR Studio 'Tools' menu
5.Locate the firmware upgrade hex-file 'stk500.ebn' by pushing the 'Browse'-button in the 'Avr Prog Hex File'-window. The path for the 'stk500.ebn' for a normal AVR Studio installation is "C:\Program Files\Atmel\AVR Tools\STK500".
6.Push the 'Program'-button in the 'Avr Prog Flash'-window. A progress bar will now appear while showing additional information messages. Wait until the verify operation is finished.
7.Close the 'Avr Prog' program
8.Power off and on the STK500 PCB. The STK500 is now ready to be used with the new firmware.


Du kannst auch mit der alten Firmware arbeiten. Einfach bei Bild1 Abbrechen
klicken. Aber das Fenster erscheint bei jedem Start des AVR-Studios wieder.

Richtig und das Nervt, deswegen wollte ich ja auch Updaten.



Direkt die Anleitung wie man updatet hab ich jetzt leider doch nicht gefunden.
Steht aber ja auch in der Info (Bild2) wie man vorgehen muß.

siehe auch oben

Ich hab aber hier im Forum was gefunden ...
AVR-Studio4-und-STK500-Probleme von Oskar


Alles schon Probiert bevor ich mich ans Forum gewandt hab.
Gleich vorab, ich habe das Forum schon nach Hilfen durchsucht auch das was Oskar01 beschreibt Funktioniert nicht.

Du siehst ich habe vorab schon alles Ausprobiert was Du Empfohlen hast und nichts hat Funktioniert, ein bischen kommt der Frust jetzt durch.

Ich werde mir am WE mal die Zeit nehmen und das www nach möglichen Lösungen durchsuchen, eventuell wende ich mich auch an Atmel direkt.

Mal sehn was die Zeit zulässt.
 

Über uns

  • Makerconnect ist ein Forum, welches wir ausschließlich für einen Gedankenaustausch und als Diskussionsplattform für Interessierte bereitstellen, welche sich privat, durch das Studium oder beruflich mit Mikrocontroller- und Kleinstrechnersystemen beschäftigen wollen oder müssen ;-)
  • Dirk
  • Du bist noch kein Mitglied in unserer freundlichen Community? Werde Teil von uns und registriere dich in unserem Forum.
  •  Registriere dich

User Menu

 Kaffeezeit

  • Wir arbeiten hart daran sicherzustellen, dass unser Forum permanent online und schnell erreichbar ist, unsere Forensoftware auf dem aktuellsten Stand ist und der Server regelmäßig gewartet wird. Auch die Themen Datensicherheit und Datenschutz sind uns wichtig und hier sind wir auch ständig aktiv. Alles in allem, sorgen wir uns darum, dass alles Drumherum stimmt :-)

    Dir gefällt das Forum und unsere Arbeit und du möchtest uns unterstützen? Unterstütze uns durch deine Premium-Mitgliedschaft!
    Wir freuen uns auch über eine Spende für unsere Kaffeekasse :-)
    Vielen Dank! :ciao:


     Spende uns! (Paypal)