HSE data reflected in memory only after multiple soft resets

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HSE data reflected in memory only after multiple soft resets

1,087 Views
abdul_rahiman_csg
Contributor II

Steps followed:
1. Provide the HSE ELF file (containing HSE data bytes programmed at HSE memory locations) to Cyclone image creator
2. Create a Cyclone .sap file to enable and program HSE.
3. Flash the .sap file on the S32K312 board using the Cyclone debugger via JTAG.
4. Perform a power cycle.
5. Load the workspace and verify HSE data in memory.
6. Perform multiple soft resets via the debugger.

Observed behavior:
• After the initial power cycle, the HSE data is not immediately reflected in memory.
• The HSE data becomes visible in memory only after multiple soft resets. (Issue)
• Also tried allowing with delay, still the same behavior

Question:
• Why are multiple soft resets required for the HSE data to be reflected in memory?
• Is there a recommended workaround (e.g.,reset sequence, or configuration change)?

Tags (3)
0 Kudos
Reply
3 Replies

1,034 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @abdul_rahiman_csg 

First of all, could you please explain what do you mean by "Provide the HSE ELF file (containing HSE data bytes programmed at HSE memory locations)"? 

When HSE firmware is installed, only HSE has exclusive access rights to HSE secure memory (HSE firmware, HSE data). Secure memory is removed from memory map and user can't access it at all. 

Regards,

Lukas

0 Kudos
Reply

1,021 Views
abdul_rahiman_csg
Contributor II

abdul_rahiman_csg_2-1768208452453.png

abdul_rahiman_csg_1-1768208292577.png

This ELF contains HSE data programmed in the address ranges
0x004D2000–0x004D2060 and
0x1B000000–0x1B000360

 

Tags (2)
0 Kudos
Reply

958 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @abdul_rahiman_csg 

This does not make sense from microcontroller point of view. It seems to be related to tools. Could you try to discuss this with Pemicro directly?

https://www.pemicro.com/support/index.cfm

Regards,

Lukas

0 Kudos
Reply