 |
| Author |
Message |
|
|
Posted: Jul 09, 2012 - 12:45 AM |
|

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 |
|
|
| |
|
|
|
|
|
Posted: Jul 09, 2012 - 05:09 AM |
|


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
|
| |
|
|
|
|
|
Posted: Jul 09, 2012 - 05:16 AM |
|

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 |
|
|
| |
|
|
|
|
|
|
|