What happens before main in AVR32 UC3


Example projects in AVR32 Studio use a two-step startup procedure that occurs in the following order

  1. trampoline.x – It is used to bypass the bootloader. If you see the following linker instructions in the command line you’re using this code file
    -Wl,-e,_trampoline
    

Once done, it jumps to code section _stext

  1. crt0.x_stext code section entry point is situated in this file. Once done, it jumps to main.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s