2025-05-30 6:00 AM
Hello Team
This is regarding, facing failure while doing mass erase operation for flash on the NUCLEO-U575ZIQ Evaluation Board. The goal was to do simple project led blinking based on freertos using TFM software base environment.
The regression.sh script execution got failed:
Due to this issue, unable to flash the software image into the HW with both TFM_UPDATE shell script and STM32Programmer approach.
Further while trying to do the mass erase operation for the flash using STM32Programmer, getting below erros:
17:53:13 : STM32CubeProgrammer API v2.19.0 | Windows-64Bits
17:53:27 : UR connection mode is defined with the HWrst reset mode
17:53:27 : Warning: Device changed, refreshing...
17:53:27 : UR connection mode is defined with the HWrst reset mode
17:53:28 : ST-LINK SN : 004000433233510F39363634
17:53:28 : ST-LINK FW : V3J16M7
17:53:28 : Board : NUCLEO-U575ZI-Q
17:53:28 : Voltage : 3.28V
17:53:28 : SWD freq : 8000 KHz
17:53:28 : Connect mode: Hot Plug
17:53:28 : Reset mode : Software reset
17:53:28 : Device ID : 0x482
17:53:28 : Revision ID : Rev W
17:53:28 : Debug in Low Power mode enabled.
17:53:29 : UPLOADING OPTION BYTES DATA ...
17:53:29 : Bank : 0x00
17:53:29 : Address : 0x40022040
17:53:29 : Size : 48 Bytes
17:53:29 : UPLOADING ...
17:53:29 : Size : 1024 Bytes
17:53:29 : Address : 0x8000000
17:53:29 : Read progress:
17:53:29 : Error: Fail to read Flash Size
17:53:29 : Error: Data read failed
17:53:45 : MASS ERASE ...
17:53:45 : Error: Init function failed
17:53:45 : Error: failed to erase memory
17:53:45 : Error: Mass erase operation failed.Please verify flash protection
We tried the Option byte write process to resolve this issue as well, but getting issue defined in the log and snap below:
Error: Uploading Option Bytes bank: 0 failed
Error: Reloading Option Bytes Data failed
So could you please support to resolve this issue.
regards