avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] avrdude: Using debugWire to program flash


From: Shaun Jackman
Subject: [avr-gcc-list] avrdude: Using debugWire to program flash
Date: Wed, 28 Feb 2007 15:53:46 -0700

The avrdude man page indicates that debugWire doesn't support an
explicit flash erase command, but that the erase is handled implicity
by the JTAG ICE mkII during a write operation. debugWire is working
well, but the erasing part of the programming doesn't seem to be
working.

avrdude 5.3.1
JTAG ICE mkII
AT90PWM3B

Thanks,
Shaun

$ avrdude -Pusb -cjtag2dw -ppwm2b -B9 -u -U/tmp/pwmdriver.bin
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9383
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: Chip erase not supported in debugWire mode
avrdude: reading input file "/tmp/pwmdriver.bin"
avrdude: input file /tmp/pwmdriver.bin auto detected as raw binary
avrdude: writing flash (5474 bytes):

Writing | ################################################## | 100% 3.11s

avrdude: 5474 bytes of flash written
avrdude: verifying flash memory against /tmp/pwmdriver.bin:
avrdude: load data flash data from input file /tmp/pwmdriver.bin:
avrdude: input file /tmp/pwmdriver.bin auto detected as raw binary
avrdude: input file /tmp/pwmdriver.bin contains 5474 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.63s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0018
        0x25 != 0x09
avrdude: verification error; content mismatch

avrdude done.  Thank you.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]