Power fail during flash write
Company  
ST Home | Microcontrollers

Index  »  ST10  »  Power fail during flash write
     
   Power fail during flash write
 Moderated by :   »  Max  -  Kenshin  -  Najoua

Author
beginning argument    ( No reply )
bob2   Posted 06-08-2008 at 16:14   



Registered on :
10-17-2009

Messages : 7

 OFF-Line

We use the ST10F276 with internal flash for CODE. We have a protected boot block with the ability to erase the application code area and to download a new application over RS232 or CAN. When downloading an application: The bootblock firstly erases the code area and then accepts blocks of code and writes them to the FLASH.

If the power fails AFTER THE ERASE but anytime during the DOWNLOAD and WRITE process, the St10 is left in a non-operational state. This cannot be recovered by resetting etc and appears to be permanent.

Using test code within the first few instructions (to clear bits of P2), we have confirmed that NO CODE is being executed.

Have you any suggestions
Many thanks




 Profile   Quote  
On Top

Search in the forums
 
Jump To