|ARM Technical Support Knowledge Articles|
Applies to: MCBSTM32 Evaluation Board
Information in this knowledgebase article applies to:
I use the Flash Option bytes of the STM32 devices. But if I download my application to Flash ROM, µVision reports the error Flash Download failed - "Cortex-M3". It seems that my application is programmed correctly but not the Flash Option bytes. How can I solve this error?
Please select the Erase Sectors option rather than Full Chip Erase option, under Cortex-M Target Driver Setup - Flash Download as the erase method when downloading to Flash.
The Full Chip Erase option programs the RDP Key (part of the Flash Option bytes) and disables Flash protection. Because of this, it is not possible to program the Flash Option bytes when the Full Chip Erase option is selected.
Full Chip Erase is intended to recover a protected Flash and will execute automatically when Erase is invoked from the Flash menu. When Download is invoked from the Flash menu, then the erase method selected configured in the Flash Download Setup - Download Function is used.
Request the files attached to this knowledgebase article.
Article last edited on: 2009-03-19 10:24:36
Did you find this article helpful? Yes No
How can we improve this article?