Hi, I'm new on the forum. I made a custom board with a xmega128a3u. I tried since some days to flash the firmware over PDI with an atmelice. But with avrdude under linux, I can read the signature once and after that I just received an error message : xxx@i3tux ~ $ sudo avrdude -p x128a3u -c atmelice_pdi -v avrdude: Version 6.3, compiled on May 21 2017 at 13:45:34 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/home/moi/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : usb Using Programmer : atmelice_pdi avrdude: usbdev_open(): Found Atmel-ICE CMSIS-DAP, serno: J41800055455 avrdude: Found CMSIS-DAP compliant device, using EDBG protocol AVR Part : ATxmega128A3U Chip Erase delay : 0 us PAGEL : P00 BS2 : P00 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 0 StabDelay : 0 CmdexeDelay : 0 SyncLoops : 0 ByteDelay : 0 PollIndex : 0 PollValue : 0x00 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 prodsig 0 0 0 0 no 50 50 0 0 0 0x00 0x00 fuse1 0 0 0 0 no 1 0 0 0 0 0x00 0x00 fuse2 0 0 0 0 no 1 0 0 0 0 0x00 0x00 fuse4 0 0 0 0 no 1 0 0 0 0 0x00 0x00 fuse5 0 0 0 0 no 1 0 0 0 0 0x00 0x00 lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00 data 0 0 0 0 no 0 0 0 0 0 0x00 0x00 eeprom 0 0 0 0 no 2048 32 0 0 0 0x00 0x00 application 0 0 0 0 no 131072 512 0 0 0 0x00 0x00 apptable 0 0 0 0 no 8192 512 0 0 0 0x00 0x00 boot 0 0 0 0 no 8192 512 0 0 0 0x00 0x00 flash 0 0 0 0 no 139264 512 0 0 0 0x00 0x00 usersig 0 0 0 0 no 512 512 0 0 0 0x00 0x00 fuse0 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : JTAGICE3_PDI Description : Atmel-ICE (ARM/AVR) in PDI mode ICE hardware version: 0 ICE firmware version: 1.38 (rel. 129) Serial number : J41800055455 Vtarget : 3.63 V JTAG clock megaAVR/program: 1000 kHz JTAG clock megaAVR/debug: 1000 kHz JTAG clock Xmega: 32 kHz PDI clock Xmega : 4000 kHz avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e9742 (probably x128a3u) avrdude done. Thank you. xxx@i3tux ~ $ sudo avrdude -p x128a3u -c atmelice_pdi -v avrdude: Version 6.3, compiled on May 21 2017 at 13:45:34 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/home/moi/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : usb Using Programmer : atmelice_pdi avrdude: usbdev_open(): Found Atmel-ICE CMSIS-DAP, serno: J41800055455 avrdude: Found CMSIS-DAP compliant device, using EDBG protocol AVR Part : ATxmega128A3U Chip Erase delay : 0 us PAGEL : P00 BS2 : P00 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 0 StabDelay : 0 CmdexeDelay : 0 SyncLoops : 0 ByteDelay : 0 PollIndex : 0 PollValue : 0x00 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 prodsig 0 0 0 0 no 50 50 0 0 0 0x00 0x00 fuse1 0 0 0 0 no 1 0 0 0 0 0x00 0x00 fuse2 0 0 0 0 no 1 0 0 0 0 0x00 0x00 fuse4 0 0 0 0 no 1 0 0 0 0 0x00 0x00 fuse5 0 0 0 0 no 1 0 0 0 0 0x00 0x00 lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00 data 0 0 0 0 no 0 0 0 0 0 0x00 0x00 eeprom 0 0 0 0 no 2048 32 0 0 0 0x00 0x00 application 0 0 0 0 no 131072 512 0 0 0 0x00 0x00 apptable 0 0 0 0 no 8192 512 0 0 0 0x00 0x00 boot 0 0 0 0 no 8192 512 0 0 0 0x00 0x00 flash 0 0 0 0 no 139264 512 0 0 0 0x00 0x00 usersig 0 0 0 0 no 512 512 0 0 0 0x00 0x00 fuse0 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : JTAGICE3_PDI Description : Atmel-ICE (ARM/AVR) in PDI mode ICE hardware version: 0 ICE firmware version: 1.38 (rel. 129) Serial number : J41800055455 Vtarget : 3.62 V JTAG clock megaAVR/program: 1000 kHz JTAG clock megaAVR/debug: 1000 kHz JTAG clock Xmega: 32 kHz PDI clock Xmega : 4000 kHz avrdude: bad response to AVR sign-on command: 0xa0 avrdude: retrying with external reset applied avrdude: bad response to AVR sign-on command: 0xa0 avrdude: retrying with external reset applied avrdude: JTAGEN fuse disabled? avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude done. Thank you. I check and re-checked the connection. I have a Xplained A1 Dev board, and I don't have any problem to flash it with the atmelice and pdi connection. Has someone any Idee about this problem??
Hi, wenn Sie wollen, kann ich auf Deutsch übersetzen. Gruß, Alex
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.