cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Execution of RSS CMD failed, returned value = 0xF5F5F5F5

PRozz.1
Associate

Hi,

I am trying to program an SFI on a board with an STM32U535 microcontroller and I get the error message 55555. I am connected through an STLINK V3 and use STM32CubeProgrammer.
The process fails even though the license counter on the HSM is decremented and I get the following messages:

17:13:15 : Requesting Chip Certificate from device ...
17:13:15 : Reading chip Certificate finished
17:13:15 : Get Certificate done successfully
17:13:15 : requesting license for the current STM32 device
17:13:15 : Init Communication ...
17:13:15 : P11 lib initialization Success!
17:13:15 : Opening session with slot ID 1...
17:13:16 : Succeed to Open session with reader slot ID 1
17:13:17 : Succeed to generate license for the current STM32 device
17:13:17 : Closing session with reader slot ID 1...
17:13:17 : Session closed with reader slot ID 1
17:13:17 : Closing communication with HSM...
17:13:17 : Communication closed with HSM
17:13:17 : Succeed to get License for Firmware from HSM slot ID 1
17:13:17 : Starting Firmware Install operation...
17:13:18 : Reconnecting...
17:13:19 : Reconnected !
17:13:19 : Time elapsed during option Bytes configuration: 00:00:02.139
17:13:19 : Warning: Option Byte: SECWM1_PEND, value: 0x1F, was not modified.
17:13:19 : Warning: Option Byte: SECWM1_PSTRT, value: 0x0, was not modified.
17:13:19 : Warning: Option Bytes are unchanged, Data won't be downloaded
17:13:19 : Time elapsed during option Bytes configuration: 00:00:00.004
17:13:19 : Warning: Option Byte: SECWM2_PEND, value: 0x1F, was not modified.
17:13:19 : Warning: Option Byte: SECWM2_PSTRT, value: 0x0, was not modified.
17:13:19 : Warning: Option Bytes are unchanged, Data won't be downloaded
17:13:19 : Time elapsed during option Bytes configuration: 00:00:00.004
17:13:20 : Reconnecting...
17:13:21 : Reconnected !
17:13:21 : Time elapsed during option Bytes configuration: 00:00:02.136
17:13:21 : Warning: Option Byte: SRAM_RST, value: 0x1, was not modified.
17:13:21 : Warning: Option Bytes are unchanged, Data won't be downloaded
17:13:21 : Time elapsed during option Bytes configuration: 00:00:00.004
17:13:21 : Installing RSSe
17:13:21 : Opening and parsing file: RSSe_SFI_U535_U545_v5.0.0.bin
17:13:21 : Memory Programming ...
17:13:21 : File : RSSe_SFI_U535_U545_v5.0.0.bin
17:13:21 : Size : 37.70 KB
17:13:21 : Address : 0x20004300
17:13:21 : Erasing memory corresponding to sector 0:
17:13:21 : Download in Progress:
17:13:21 : File download complete
17:13:21 : Time elapsed during download operation: 00:00:00.107
17:13:21 : Warning: Option Byte: TZEN, value: 0x1, was not modified.
17:13:21 : Warning: Option Byte: nBoot0, value: 0x0, was not modified.
17:13:21 : Warning: Option Byte: nSWBoot0, value: 0x0, was not modified.
17:13:21 : Warning: Option Bytes are unchanged, Data won't be downloaded
17:13:21 : Time elapsed during option Bytes configuration: 00:00:00.005
17:13:22 : Reconnecting...
17:13:23 : Reconnected !
17:13:23 : Time elapsed during option Bytes configuration: 00:00:02.145
17:13:23 : Get RSSe status...
17:13:24 : Warning: Option Byte: TZEN, value: 0x1, was not modified.
17:13:24 : Warning: Option Byte: nBoot0, value: 0x0, was not modified.
17:13:24 : Warning: Option Byte: nSWBoot0, value: 0x0, was not modified.
17:13:24 : Warning: Option Bytes are unchanged, Data won't be downloaded
17:13:24 : Time elapsed during option Bytes configuration: 00:00:00.006
17:13:24 : RSS version = 1.6.0
17:13:24 : RSSe version = 5.0.0
17:13:24 : Starting SFI
17:13:24 : Processing license...
17:13:24 : Get RSSe status...
17:13:24 : Processing Image Header
17:13:24 : Error: Execution of RSS CMD failed, returned value = 0xF5F5F5F5
17:13:24 : Error: Failed to Process Image Header!

The microcontroller is powered at 3 V, the BOOT0 pin is connected to VCC with a 10K pullup, the reset, in addition to the SWI, is connected to VCC with a 100K pullup and to ground with a 10 uF capacitor.
I would appreciate some ideas for getting out of this impasse.

 

0 REPLIES 0