Skip to main content
mbueno
Associate
November 20, 2008
Question

Flash programming stall

  • November 20, 2008
  • 2 replies
  • 633 views
Posted on November 20, 2008 at 18:51

Flash programming stall

    This topic has been closed for replies.

    2 replies

    mbueno
    mbuenoAuthor
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:53

    The flash programming manual states that:

    ''During a write operation to the Flash memory, any attempt to read the Flash memory will stall the bus.''

    Does this applies to the whole flash memory or just to accesses to the same page that is beeing programmed/erased?

    Or, in another way, if I´m programming page A, can I execute code from page B?

    If the stall applies to accesses to all flash memory locations, then I don´t understand why the flash programming flowchart has a polling loop reading the BUSY bit, that piece of code will not execute until the programming has finished (and the BUSY bit cleared), unless is executed from RAM (which is not mentioned in the manual).

    siddj
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:53

    i don't think I have an answer to your question but I was am also working with external flash myself and have hit a wall! I was just wondering if you are working with external flash? Perhaps you could help me out.

    Sorry for not being able to pitch in!