Am 04.01.2009 um 23:12 schrieb Joerg Wunsch:
As Haberler Michael wrote:
- second run should program target in ISP mode, but fails as the
signature is read back as 0x000000 .
Curious: can you proceed successfully when using the -F (force)
option? This will make AVRDUDE ignore the signature mismatch.
I tried that already - it wont sucessfully program the chip.
Launching /usr/local/AVRMacPack-20081213/bin/avrdude -pt13 -
cjtag2isp -Pusb -F -Uflash:w:tiny13rgb.hex:a
Output:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100%
0.07s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATtiny13 is 1E 90 07
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 "tiny13rgb.hex"
avrdude: input file tiny13rgb.hex auto detected as Intel Hex
avrdude: writing flash (872 bytes):
Writing | ################################################## | 100%
0.37s
avrdude: 872 bytes of flash written
avrdude: verifying flash memory against tiny13rgb.hex:
avrdude: load data flash data from input file tiny13rgb.hex:
avrdude: input file tiny13rgb.hex auto detected as Intel Hex
avrdude: input file tiny13rgb.hex contains 872 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100%
0.25s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x01b3
0x7f != 0x7e
avrdude: verification error; content mismatch
avrdude done. Thank you.
avrdude finished