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
amega456
PostPosted: Jun 13, 2012 - 11:13 AM
Rookie


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?
 
 View user's profile Send private message  
Reply with quote Back to top
PeteAVR
PostPosted: Jun 13, 2012 - 01:26 PM
Hangaround


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.
 
 View user's profile Send private message  
Reply with quote Back to top
sambrown
PostPosted: Jun 13, 2012 - 02:05 PM
Hangaround


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
 
 View user's profile Send private message  
Reply with quote Back to top
amega456
PostPosted: Jun 14, 2012 - 08:04 AM
Rookie


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