Danke das mit der usblib schau ich mir mal an.
Habs gerade mal mit einem Arduino UNO probiert.
Der Eintrag -c arduino kann auch -c avrisp heißen, da beides gleich behandelt wird. AVRDude kennt nur in den alten Versionen arduino noch nicht.
Bitte nicht über die letzte Meldung wundern (avrdude.exe: verification error, first mismatch at byte 0x0000 0x0f != 0xcf). Das Lockbyte kann wohl nicht richtig gelesen werden, da es gesetzt wurde (?)
BLheliSuite kann das noch nicht automatisieren, weil die fuses und das lockbyte geschrieben werden müssen.
C:\Dev\Delphi\Projects\BLHeliSuite\Interfaces\Silabs\TDLX\Bootloader>..\..\..\AV
RDude\avrdude.exe -p ATMEGA8 -c arduino -b 19200 -P \\.\COM5 -e -U flash:w:TDLXm
8_16b01.hex -U lfuse:w:0xAE:m -U hfuse:w:0xCC:m -U lock:w:0xCF:m
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude.exe: Device signature = 0x1e9307
avrdude.exe: erasing chip
avrdude.exe: reading input file "TDLXm8_16b01.hex"
avrdude.exe: input file TDLXm8_16b01.hex auto detected as Intel Hex
avrdude.exe: writing flash (8174 bytes):
Writing | ################################################## | 100% 0.17s
avrdude.exe: 8174 bytes of flash written
avrdude.exe: verifying flash memory against TDLXm8_16b01.hex:
avrdude.exe: load data flash data from input file TDLXm8_16b01.hex:
avrdude.exe: input file TDLXm8_16b01.hex auto detected as Intel Hex
avrdude.exe: input file TDLXm8_16b01.hex contains 8174 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 0.12s
avrdude.exe: verifying ...
avrdude.exe: 8174 bytes of flash verified
avrdude.exe: reading input file "0xAE"
avrdude.exe: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude.exe: 1 bytes of lfuse written
avrdude.exe: verifying lfuse memory against 0xAE:
avrdude.exe: load data lfuse data from input file 0xAE:
avrdude.exe: input file 0xAE contains 1 bytes
avrdude.exe: reading on-chip lfuse data:
Reading | ################################################## | 100% 0.03s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of lfuse verified
avrdude.exe: reading input file "0xCC"
avrdude.exe: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.03s
avrdude.exe: 1 bytes of hfuse written
avrdude.exe: verifying hfuse memory against 0xCC:
avrdude.exe: load data hfuse data from input file 0xCC:
avrdude.exe: input file 0xCC contains 1 bytes
avrdude.exe: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.02s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of hfuse verified
avrdude.exe: reading input file "0xCF"
avrdude.exe: writing lock (1 bytes):
Writing | | 0% 0.00s ***faile
d;
Writing | ################################################## | 100% 0.17s
avrdude.exe: 1 bytes of lock written
avrdude.exe: verifying lock memory against 0xCF:
avrdude.exe: load data lock data from input file 0xCF:
avrdude.exe: input file 0xCF contains 1 bytes
avrdude.exe: reading on-chip lock data:
Reading | ################################################## | 100% 0.03s
avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x0000
0x0f != 0xcf
avrdude.exe: verification error; content mismatch
avrdude.exe: safemode: Fuses OK (E:FF, H:CC, L:AE)
avrdude.exe done. Thank you.
Drücken Sie eine beliebige Taste . . .






Vlt. könnte man (wieder) auf einen seriöseren Anbieter wechseln.
Kommentar