MCBSTR9: STR9 FLASH PROGRAMMING
Information in this article applies to:
I would like to use the extended Flash capabilities of the STR9 devices. Is there a way to program the device using the ISP interface?
By default, new projects select the CPU algorithm (from the device database). This means the CPU programs the on-chip FLASH ROM.
However, you may also program the Flash ROM using the ICP interface. For the STR9 devices the following Flash programming algorithms are available:
When advanced Flash features are required, then the ICP algorithms must be used. Usually the advanced Flash features are required in the production phase where security bits should be programmed before shipping the product.
Each method has benefits and disadvantages as outlined below:
Programming via CPU - Disadvantages
Programming via ICP - Disadvantages
A programming example is provided as part of the RealView Microcontroller Development Kit (Version 3.04 or higher) in the folder ..\ARM\RV30\Boards\Keil\MCBSTR9\Blinky. When using the ICP algorithms, you may add a copy of the file ..\ARM\RV30\Startup\STR91xCFG.s to your application which allows programming of the OTP, User Code, Configuration Bytes, and Chip Security features.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Monday, August 27, 2007