Flash programming stall
Company  
ST Home | Microcontrollers

Index  »  ARM Cortex-M3 STM32  »  Flash programming stall
     
   Flash programming stall
 Moderated by :   »  STOne-32

Author
beginning argument    ( Replies received: 1 )
mbueno   Posted 20-11-2008 at 23:05   



Registered on :
04-17-2009

Messages : 1

 OFF-Line

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).



 Profile   Quote  
siddj   Posted 20-11-2008 at 23:21   



Registered on :
11-03-2009

Messages : 16

 OFF-Line

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!



 Profile   Quote  
On Top

Search in the forums
 
Jump To