cancel
Showing results for 
Search instead for 
Did you mean: 

STR912 bootloader

michael
Associate II
Posted on May 23, 2008 at 12:31

STR912 bootloader

2 REPLIES 2
michael
Associate II
Posted on May 17, 2011 at 09:53

Hello,

Could anybody make a small summary of the steps needed to build a bootloader that is always located at bank0, jumping to an application at bank1?

zahir
Associate II
Posted on May 17, 2011 at 09:53

Hi All,

I would like to expand on the original question as this is what we are trying to do as well. We use the crossworks compiler and have got the ST IAP example converted to work in our environment. The boot bank is 0 (our secondary bank is too small to hold the bootloader for now, so we are testing this way round). The web bootloader works, we can upload a file and via the debug I can see that it has been loaded into bank1.

The test app is very basic, and just sends data to com1. I have configured crossworks to place the whole app in bank1. Now looking at the disassemble, the first line of code is ''b 0x80000'' which will just loop - I suppose this is why it does not work.

What do I need to do to be able to jump from bank0 to bank1 and have the new app do its initialisation and then run correctly?

Thx

Zahir