2025-07-11 3:13 AM - edited 2025-07-11 3:15 AM
Hi,
I'm encountering an issue while trying to install an SFI using STM32_Programmer_CLI within a GitLab pipeline.
STM32_Programmer_CLI.exe -c port=SWD mode=HOTPLUG -sfi %SFI% %HSM_LICENSE% -rsse enc_signed_RSSe_sfi_U5_2M.bin
The command fails with the following error:
Error: Execution of RSS CMD failed, returned value = 0xF6F6F6F6
I’m running the same command on another PC with a different GitLab runner, using the same HSM license and the same AES key and nonce, but with a different RSSe file (in this case, a basic LED test for the microcontroller) — and it works fine there.
Both target microcontrollers are the same STM32U5 series and are connected via SWD.
Does anyone know what the return code 0xF6F6F6F6 means? Could it be related to some environment setup issue, the state of the MCU, or a missing tool/configuration on the failing PC?
Thanks in advance!
This is the full code of the GitLab pipeline error message:
Starting SFI
Processing license...
Error: Execution of RSS CMD failed, returned value = 0xF6F6F6F6
Error: Failed to Process License!
Error: C:\Users\...\SBSFU_U575.sfi SFI file Install Operation Failure! Please, try again.
Press a key to continue . . .
2025-07-22 8:27 AM
Hello Mikel,
It seems that the license you are using is not correct for your target board.
Be aware that the license is specific to a device and not to a series. Each STM32U575 has its own certificate provisioned. Therefore, a license generated for a specific device can only be used on that specific device.
I suggest generating another license if you change your device, even if it is a device from the same series.
I hope this helps.