cancel
Showing results for 
Search instead for 
Did you mean: 

Can I rewrite the data in boot bank by the program from the nonboot bank?

vaclav2
Associate II
Posted on August 01, 2007 at 04:44

Can I rewrite the data in boot bank by the program from the nonboot bank?

3 REPLIES 3
vaclav2
Associate II
Posted on May 17, 2011 at 09:45

Hi All

I work with RIDE IDE v.746 with paths P1, P2 and evaluation board STR910.

I have got the problem with the write to the boot bank.

For example, my program starts from bank 1(boot bank). I can write the data to the bank 0 without problems. FMI works very well. But a part of my program is in the bank 0. This part of program should write some data to the bank 1(nonboot bank). I tried very many methods (change the bank, attributes,rewrite the startup, rewrite the linker script files, divide the program into two programs) , but no effects. I can't write the data or code to the boot bank from non boot bank.

What is wrong?

I was looking for in the datasheet and errata sheet but is nothing there.

Regards

d_steffen
Associate II
Posted on May 17, 2011 at 09:45

check that every interrupts are disabled

run every code for write to flash only from RAM

vaclav2
Associate II
Posted on May 17, 2011 at 09:45

Hi

I tried your idea. I placed the code for the write to the boot bank into RAM. But this method doesn't work. I can try to place complete program into RAM (boot from RAM). But this method isn't suitable for my project.

Thanks you and best regards