This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[ STR9 ] Bootloader - remapping of bank 1 fails

Hello,

What i did:
I create a bootloader by using setting project of the example(for keil environement) from ST "STR9 In-Application Programming using UART".

(I also tried with settings from http://www.keil.com/support/docs/3347.htm but it didn't work too and it is missing some important information about code traps (like: calling of fmi configuration functions must be executed from RAM).

I'm using Keil uVision3. I'm not using the newest STR9 Firmware library. The "nickname" of my uC is STR9 12 FA W44 Revision G.

What is working:
I can boot from bank 1 (address 0x0)(the boot bank). I can write on the bank 0 (address 0x80 000)(the non boot bank).

What is wrong:
Before jumping to bank 1, I should remap bank 1 (address 0x0) to address 0x80 000 and bank 0 ( address 0x80 000) to address 0x0. This fails for bank 1.

Know issues:
On other forums (ST), people say that you must execute from RAM the jump function. I did it by right clicking on the file where the function was written and checking right options (i choose from IRAM1).
But it didn't work.

Questions:
- Where can I get help ?
- Did someone can boot from bank 0 and jump to bank 1 ?
- Did someone can remap bank 0 to another address ?

In advance thank you