Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

ARM Cortex / ST Stellar: OTP memory programming fails

21-Oct-2021

winIDEA supports ST Stellar and Centauri MCUs like SR6G7 and SR6P7. Their non-volatile memory (NVM, also Flash) parts, of which some are one-time-programmable (OTP), are represented in winIDEA through programmable memory devices such as CODE, DATA and the two OTP BCS and UTEST. NVM also has two ports: one for read access and one for write access. When programming any of these parts with winIDEA, for example adding a new device configuration format (DCF) record, NVM read access port addresses should be used. winIDEA will automatically add the NVM write access port address offset when programming. If NVM write access port addresses are used with winIDEA, programming will fail.


Possible solution:

1. Perform a test write to non-OTP part of the NVM (CODE or DATA), using its read access port address.

Programming OTP memory is disabled by default in winIDEA. It can be enabled through Hardware menu / Options / Programming dialog. More information in How to write to the OTP memory?

2. Verify that programming on this address succeeded and also that the value is correct (endianness,...).

3. Revert this modified part of the non-OTP NVM back to its previous state.

4. Perform write to the desired OTP part of the NVM through read access port address.

5. Verify that desired OTP value is programmed there.


Carefully go through all related MCU and tools documentation first. Programming OTP memory with wrong values or in a wrong way can render the device unusable!



More resources: 

Read also this winIDEA Help page to get some insight into how similar OTP programming of the Power Architecture MCUs is done best with iSYSTEM tools.

Was this answer helpful?

Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!