cancel
Showing results for 
Search instead for 
Did you mean: 

Flash programming stall

mbueno
Associate
Posted on November 20, 2008 at 18:51

Flash programming stall

2 REPLIES 2
mbueno
Associate
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 II
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!