avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] JTAG ICE3 + XMEGA32A4U = works! Now the DFU..


From: Ing. Daniel Rozsnyó
Subject: Re: [avrdude-dev] JTAG ICE3 + XMEGA32A4U = works! Now the DFU..
Date: Tue, 07 May 2013 14:25:54 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

So.. I did managed to finally detect and program my device.

Does anybody know what fuse settings are required for the DFU bootloader?

I am using a 16M crystal.

Daniel




$ make program
avrdude -p atxmega32a4u -c jtag3pdi -P usb  -U flash:w:blink.hex

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e9541
avrdude: NOTE: Programmer supports page erase for Xmega devices.
Each page will be erased before programming it, but no chip erase is performed. To disable page erases, specify the -D option; for a chip-erase, use the -e option.
avrdude: reading input file "blink.hex"
avrdude: input file blink.hex auto detected as Intel Hex
avrdude: writing flash (526 bytes):

Writing | ################################################## | 100% 0.05s

avrdude: 526 bytes of flash written
avrdude: verifying flash memory against blink.hex:
avrdude: load data flash data from input file blink.hex:
avrdude: input file blink.hex auto detected as Intel Hex
avrdude: input file blink.hex contains 526 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...
avrdude: 526 bytes of flash verified

avrdude done.  Thank you.




On 05/07/2013 01:39 PM, "Ing. Daniel Rozsnyó" wrote:
So... where the error is?

(i get different behavour depending on whether my board is connected)



$ avrdude -p atxmega32a4 -c jtag3pdi -P usb

avrdude: AVR device initialized and ready to accept instructions

Reading |                                                    | 0%
0.00savrdude: bad response to enter progmode command: 0xa0
avrdude: bad response to enter progmode command: 0xa0
avrdude: bad response to read memory command: 0xa0
avr_read(): error reading address 0x0000
     read operation not supported for memory "signature"
avrdude: error reading signature data for part "ATxmega32A4", rc=-2
avrdude: error reading signature data, rc=-1

avrdude done.  Thank you.





_______________________________________________
avrdude-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/avrdude-dev




reply via email to

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