2008-05-23 03:31 AM
2011-05-17 12:53 AM
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?2011-05-17 12:53 AM
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