2006-08-02 02:57 AM
2006-08-02 02:57 AM
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