How to program NXP S32R294 eFuses
In this topic:
This topic describes how to read or write eFuses on NXP S32R294 Microcontroller via Python script.
eFuses are OTP (One-Time Programmable) memory and can be used for several purposes, including unique chip identifiers, mask revision numbers, cryptographic keys, boot configurations, various control signals requiring permanent non-volatility. The OCOTP (On-Chip One Time Programmable Controller) is the primary interface to the On-Chip fuses. It starts automatically during the reset process, fetches eFuses contents and loads that information into the OCOTP shadow registers. The OCOTP also provides the ability to program and read eFuses directly, ignoring the shadow cache.
BlueBox debugger can read or program required values to the selected eFuses by running a simple Python script via winIDEA or winIDEA SDK.
Programming results in blowing an eFuse. This is an operation with permanent result which cannot be reversed. Refer to the microcontroller data sheet for more information about what eFuses are available and which values should be programmed. |
•winIDEA 9.17.140 or newer
•BlueBox
•MPC5xxx/SPC5 Aurora Active Probe
The script should be used as a reference and changed according to the required operation (READ or WRITE): S32R294_eFuse.7z
Follow these steps to run the script in winIDEA:
Modify the script according to the required configuration. |
Save it in the same folder as winIDEA workspace. |
Start Debug session |
Debug status must be STOP .
Run the Python script via Tools | External Scripts. |
For more information on how to run Python scripts in winIDEA refer to Python in winIDEA chapter. |