cancel
Showing results for 
Search instead for 
Did you mean: 

IAP - flash programming

enrico2399
Associate II
Posted on August 02, 2006 at 11:57

IAP - flash programming

1 REPLY 1
enrico2399
Associate II
Posted on August 02, 2006 at 11:57

Good morning,

I've got a problem with in-application flash operation: I want to execute code from flash bank 0 and erase-write flash bank 1.

If I execute first flash operation step-by-step (waiting sector erase time), subsequent ones are ok, while if I run the code without breakpoint cpu goes to undef handler: as stated in ''str7 flash programming reference manual'' (par.2.3, pag. 6) due to flash controller initialization,it seems necessary to execute IAP

routines from ram even if code is in bank 0 and you want to modify bank 1.

Is there any chance to work from flash bank 0 and write/erase bank 1?

Thanks for your supprot,

Enrico