Gast
#5508754
Hi, ich versuche aktuell von einem Mikrocontroller aus einen ATMega328P zu programmieren (OK, technisch ist auf dem ATMega ein Optiboot installiert und ich kommuniziere mit diesem über die serielle Schnittstelle, beide nutzen aber das gleiche STK500 Communication Protocol). Mein Problem: Read Page liefert eine andere Antwort als in http://ww1.microchip.com/downloads/en/AppNotes/doc2525.pdf beschrieben. Das sende ich aktuell: Get Sync, EOP -> Antwort InSync und OK Get Parameter, SW Major, EOP -> Antwort InSync, 6, OK Get Parameter, SW Minor, EOP -> Antwort InSync, 2, OK Enter Progmode, EOP -> Antwort InSync und OK Load Address, low byte, high byte, EOP -> Antwort InSync und OK ReadPage, 0x00, 0x80, F, EOP -> hier geht es schief, ich bekomme als Antwort wieder InSync und OK, laut der Beschreibung sollte es aber ein InSync, 0x00, 0x80, ", <128 bytes daten>, OK sein. Hat jemand eine Idee, was hier falsch laufen könnte? Danke!