 |
| Author |
Message |
|
|
Posted: Jun 13, 2012 - 11:13 AM |
|

Joined: Jul 24, 2007
Posts: 28
|
|
I have problem with trampoline for UC3B0256 device.
Programming by AVR Studio 5.
trampoline.S was not found in ASF. I tried google and found
that in new ASF files are renamed to trampoline_uc3.S
How can I set AVR studio 5 to enable trampoline with 16kB boot size? |
|
|
| |
|
|
|
|
|
Posted: Jun 13, 2012 - 01:26 PM |
|

Joined: May 03, 2004
Posts: 220
Location: Cologne, Germany
|
|
First I suggest to update to Atmel Studio 6, since it is the better AS5. This should directly fix your problem with the missing trampoline code.
Why are you wanting a 16kb boot size? The trampoline code only makes sense if you want to use the USB DFU Bootloader, but there you are stuck with a 8kb trampoline size. |
|
|
| |
|
|
|
|
|
Posted: Jun 13, 2012 - 02:05 PM |
|

Joined: May 24, 2011
Posts: 253
Location: Berlin
|
|
I have no idea about Atmel Studio 5 or 6 IDEs
but basically you can adjust the start address of your application
in trampoline_uc3.h by defining a different
PROGRAM_START_OFFSET
but of course your bootloader must evaluate that define in its startup code, too.
-sb |
|
|
| |
|
|
|
|
|
Posted: Jun 14, 2012 - 08:04 AM |
|

Joined: Jul 24, 2007
Posts: 28
|
|
| I need 16kB for my UART+SD card bootloader. Thanks for answer, my app is working with 16kb trampoline. |
|
|
| |
|
|
|
|
|
|
|