ARM Technical Support Knowledge Articles

STM32 FLASH OPTION BYTES PROGRAMMING

Applies to: MCBSTM32 Evaluation Board

Answer


Information in this article applies to:


QUESTION

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?

ANSWER

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.

MORE INFORMATION

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2008-09-15 01:55:43

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential