Hallo, ich habe beim Flashen des ATMEGA128 vieles/alles falsch gemacht.
Als ISP besitzte ich usbasp und einen Arduino, da der usbasp eine ältere
Firmware hat als avrdude, habe ich die -F Option genutzt.
Ist aber doof, wenn man glaubt einen Atmega64 zu besitzten, aber ein
Atmega128 eingebaut ist.
Daher hatte das Flashen die falsche Option -m64 -F und auch ein Atmega64
Programm.
Ich habe viel versucht und einiges gelesen, bin aber nun am Ende meines
geringen Könnens.
usbasp erkennt nun den Microcontroller überhaupt nicht mehr, und Arduino
mit ISP-Programm wirft Device signature = 0x000000 heraus.
Wie kann ich die gute Fernsteuerung/den Atmega128A wieder beleben?
ISP ist von außen zugänglich, aber wenn man direkt an den Chip muss,
kann ich das Teil auch aufschrauben.
Ich Wohne im Nördlichen Ruhrgebiet und fahre öfters Richtung Koblenz,
falls jemand das für mich hinbiegen kann... bitte melden.
Irgendetwas schreibt der Arduino da noch, ich könnte noch die Option -v
mitgeben, aber evtl. hilft das hier schon:
(m128 und Programmcode ist nun ok, aber 0x0c != 0x00 hört sich nicht gut
an)
1 | avrdude -pm128 -carduino -b 19200 -P\\.\com2 -D -Uflash:
|
2 | w:opentx-9xr128-heli-templates-de.hex -F
|
3 |
|
4 | avrdude: AVR device initialized and ready to accept instructions
|
5 |
|
6 | Reading | ################################################## | 100% 0.01s
|
7 |
|
8 | avrdude: Device signature = 0x000000
|
9 | avrdude: Yikes! Invalid device signature.
|
10 | avrdude: Expected signature for ATMEGA128 is 1E 97 02
|
11 | avrdude: reading input file "opentx-9xr128-heli-templates-de.hex"
|
12 | avrdude: input file opentx-9xr128-heli-templates-de.hex auto detected as Intel H
|
13 | ex
|
14 | avrdude: writing flash (57940 bytes):
|
15 |
|
16 | Writing | ################################################## | 100% 58.53s
|
17 |
|
18 | avrdude: 57940 bytes of flash written
|
19 | avrdude: verifying flash memory against opentx-9xr128-heli-templates-de.hex:
|
20 | avrdude: load data flash data from input file opentx-9xr128-heli-templates-de.he
|
21 | x:
|
22 | avrdude: input file opentx-9xr128-heli-templates-de.hex auto detected as Intel H
|
23 | ex
|
24 | avrdude: input file opentx-9xr128-heli-templates-de.hex contains 57940 bytes
|
25 | avrdude: reading on-chip flash data:
|
26 |
|
27 | Reading | ################################################## | 100% 38.44s
|
28 |
|
29 | avrdude: verifying ...
|
30 | avrdude: verification error, first mismatch at byte 0x0000
|
31 | 0x0c != 0x00
|
32 | avrdude: verification error; content mismatch
|
33 |
|
34 | avrdude: safemode: Fuses OK
|
35 |
|
36 | avrdude done. Thank you.
|