Hello,
I'm using the S32K310 and trying to install the HSE full memory firmware and user application using a NuProgPlus gang programmer.
I would like to confirm whether my flashing sequence is correct and understand why the HSE firmware appears to be erased even after reset.
Flashing Procedure
I converted the official HSE pink image (.pink) to .hex using srec_cat.
I used NuProgPlus to download this .hex file to address 0x00400000.
After flashing, I performed an MCU reset (to allow SBAF to boot and protect the secure region).
Then I executed MCU Erase All via NuProgPlus.
After that, I flashed my application.
Problem
After step 4 (Erase All), I checked the flash memory and found that the previously installed HSE firmware is completely erased,
suggesting that the SBAF secure protection did not activate properly.
My Questions
Is this flashing procedure acceptable for installing HSE + user application using NuProgPlus?
If I use a .hex file (converted from .pink) instead of the raw .pink,
does SBAF still recognize and protect the HSE firmware area correctly?
What is the minimum wait/reset timing required after flashing the HSE firmware to ensure SBAF sets up the secure area?
Is it mandatory to offset the user application address (e.g., start from 0x00430000) to avoid conflict with the HSE firmware?
Does NuProgPlus offer an option to exclude specific regions from erase (e.g., prevent erase of 0x00400000~0x0042BFFF)?
Any clarification on whether .hex-based HSE installation is valid, and how to ensure the firmware remains protected after erase, would be greatly appreciated.
Thank you!
S32K3