2007-07-31 07:44 PM
Can I rewrite the data in boot bank by the program from the nonboot bank?
2011-05-17 12:45 AM
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. Regards2011-05-17 12:45 AM
check that every interrupts are disabled
run every code for write to flash only from RAM2011-05-17 12:45 AM
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