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

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

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


From: Eric Weddington
Subject: RE: [avr-gcc-list] avrdude: Using debugWire to program flash
Date: Fri, 02 Mar 2007 16:10:54 -0700

Hi Shaun,

Emails have a tendency to get lost easily. Can you fill out a bug report on
the avrdude project on Savannah? That way this issue won't be forgotten.

Thanks,
Eric Weddington 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Shaun Jackman
> Sent: Wednesday, February 28, 2007 3:54 PM
> To: address@hidden
> Subject: [avr-gcc-list] avrdude: Using debugWire to program flash
> 
> 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.
> 
> 
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> 





reply via email to

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