MCBSTM32: STM32 FLASH OPTION BYTES PROGRAMMING
Information in this article applies to:
I would like to use the Flash Option bytes of the STM32 devices. Is there a way to program the device using the ISP interface?
By default, new projects select the CPU algorithm STM32F10x Flash (from the device database). This means the CPU programs the on-chip FLASH ROM.
However, you may also program the Flash Option bytes using the CPU algorithm STM32F10x Flash Options. For the STM32 devices the following Flash programming algorithms are available:
When programming Flash Option bytes is required, then add file ..\ARM\RV31\Startup\STM32F10xOPT.s to your application. Use the Configuration Wizard to configure the Flash Option bytes. Add STM32F10x Flash Options to the used Programming Algorithms.
A programming example is provided as part of the RealView Microcontroller Development Kit in the folder ..\ARM\Boards\Keil\MCBSTM32\Blinky.
Last Reviewed: Monday, September 15, 2008
of your data.