Home Forum XMEGA Xminilab .hex download under Linux
 Gabotronics Forum :: XMEGA Xminilab
Welcome Guest   
 Subject :.hex download under Linux.. 2013-11-23 13:00:42 
rcm
Joined: 2012-10-02 11:22:50
Posts: 5
Location

I am able to compile a c program for the atxmega32a4u under Linux

but am unable to download to the Xminilab via usb.

 

I _am_ able to download the code via FLIP under Windows, and the code works.

I have tried both avrdude and dfu-programmer. Both programs see the device

and are able to erase it, but when I attempt transfer the .hex file, both

programs hang.

Anyone successful with a Linux usb download??

 

IP Logged
 Subject :Re:.hex download under Linux.. 2013-11-24 15:51:00 
ganzziani
Joined: 2012-04-02 15:42:39
Posts: 463
Location: Sarasota, FL
 
I got a report from another user saying that programming on Linux didn't work, but he tried FLIP in Windows and it worked ok. You might be able to find more information at the AVRFreaks forums.
IP Logged
Gabriel Anzziani
 Subject :Re:.hex download under Linux.. 2014-05-04 22:31:29 
matthijs
Joined: 2014-05-05 03:29:03
Posts: 2
Location

FWIW, I just succesfully update my Xprotolab Portable firmware using avrdude, see http://www.stderr.nl/Blog/Hardware/Electronics/XProtolabFirmware.html

IP Logged
 Subject :Re:.hex download under Linux.. 2014-05-05 17:51:27 
ganzziani
Joined: 2012-04-02 15:42:39
Posts: 463
Location: Sarasota, FL
 
Thanks, I am adding your instructions to the manual.
IP Logged
Gabriel Anzziani
 Subject :Re:.hex download under Linux.. 2016-01-23 14:32:27 
MickM
Joined: 2014-07-10 14:56:46
Posts: 1
Location
This worked for me:
avrdude -c jtag2pdi -p x32a4u -U flash:w:Xprotolab-Plain.hex:i
avrdude -c jtag2pdi -p x32a4u -U eeprom:w:Xprotolab-Plain.eep:i

This is with an Atmel JTAGICE mkII in PDI mode, USB.
This is done from the xprotolab-plain-hex folder

Just edit and remove the "-Plain"
No need for flip
IP Logged
Page # 


Powered by ccBoard