Ich versuche mich hier an der Programmierung eines AVR Butterfly. OS ist Linux, ich hab den gcc-avr und avrdude sowohl in Version 4.4 wie 5.0 (beta).
Als simples Projekt hab ich erstmal
| kju@tempura:~/bf_uart_echo$ make program | avrdude -p atmega169 -P /dev/ttyS0 -c butterfly -U flash:w:main.hex | | Found programmer: Id = "AVRBOOT"; type = S | Software Version = 1.4; No Hardware Version given. | Programmer supports auto addr increment. | Programmer supports buffered memory access with buffersize=128 bytes. | | Programmer supports the following devices: | Device code: 0x75 | | avrdude: AVR device initialized and ready to accept instructions | | Reading | ################################################## | 100% 0.01s | | avrdude: Device signature = 0x05941e | avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed | To disable this feature, specify the -D option. | avrdude: erasing chip | avrdude: reading input file "main.hex" | avrdude: input file main.hex auto detected as Intel Hex | avrdude: writing flash (480 bytes): | | Writing | ################################################## | 100% 0.28s | | | | avrdude: 480 bytes of flash written | avrdude: verifying flash memory against main.hex: | avrdude: load data flash data from input file main.hex: | avrdude: input file main.hex auto detected as Intel Hex | avrdude: input file main.hex contains 480 bytes | avrdude: reading on-chip flash data: | | Reading | ################################################## | 100% 0.28s | | | | avrdude: verifying ... | avrdude: verification error, first mismatch at byte 0x0000 | 0x0c != 0x00 | avrdude: verification error; content mismatch | | avrdude done. Thank you. | | make: *** [program] Error 1
Jemand eine Idee, woran das liegen könnte? Eine externe Versorgungsspannung ist übrigens nicht angeschlossen, aber ich kann auch nicht erkennen, daß das unbedingt notwendig wäre. Oder sehe ich das falsch?