Skip to main content
Visitor II
August 2, 2006
Question

IAP - flash programming

  • August 2, 2006
  • 1 reply
  • 683 views
Posted on August 02, 2006 at 11:57

IAP - flash programming

    This topic has been closed for replies.

    1 reply

    Visitor II
    August 2, 2006
    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