Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
andreschoeman
PostPosted: Jul 09, 2012 - 12:45 AM
Newbie


Joined: Oct 31, 2009
Posts: 19


Hi

Has anyone re-built the DFU Bootloader for XMEGA using a GCC compiler?

The DFU Bootloader projects are only in IAR format. ATMEL support indicates that the Bootloader may not fit the 8K Boot FLASH space once compiled with GCC due to optimization differences.

I would like to use DFU+FLIP, but I need to modify the default I/O pin and set the level of another I/O.

Are there any other XMEGA USB Bootloader options?
I don't have time to write my own right now.

Thanks
Andre
 
 View user's profile Send private message  
Reply with quote Back to top
ganzziani
PostPosted: Jul 09, 2012 - 05:09 AM
Resident


Joined: Jun 16, 2006
Posts: 617
Location: Sarasota, FL

You could try to compile with the demo version of IAR. It is limited to 4K, but it works for compiling the bootloader of the 32A4U.

_________________
www.gabotronics.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
andreschoeman
PostPosted: Jul 09, 2012 - 05:16 AM
Newbie


Joined: Oct 31, 2009
Posts: 19


Hi

Thanks for the reply.

I'm not sure if 4K is going to cut it. Actually it's not...

5 682 bytes of CODE memory (+ 4 absolute )
2 706 bytes of DATA memory

from IAR Linker Map file.

IAR have a 30 day evaluation version which is unlimited.

I'm using this now, but I'm having problems getting the AVR ONE to program the device. See my other post.

(Actually I've bypassed this too and use AS6 to program IAR's .HEX file into the chip.)

It's working. Now I need to load the DFU USB driver and then try FLIP.

Thanks
Andre
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits