cancel
Showing results for 
Search instead for 
Did you mean: 

Error: FUS_STATE_IMG_NOT_FOUND

wim_board
Associate

Hi,

Totally newb. I have a custom board with a STM32WB55CEU6. Connected over ST-LINK.

I'm trying to upgrade FUS. Using stm32wb5x_FUS_fw.bin at 0x0807A000

Everything seems to work fine until the very last step, where I get an error: FUS_STATE_IMG_NOT_FOUND: Firmware/FUS upgrade requested but no image found. (such as image header corrupted or flash memory corrupted)

Any ideas?

Here's my log:

16:59:29 : Old Firmware delete ...
16:59:29 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
16:59:29 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
16:59:29 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
16:59:29 : Warning: Option Bytes are unchanged, Data won't be downloaded
16:59:29 : Time elapsed during option Bytes configuration: 00:00:00.000
16:59:29 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
16:59:29 : Memory Programming ...
16:59:29 : Opening and parsing file: 0x495_FUS_Operator.bin
16:59:29 : File : 0x495_FUS_Operator.bin
16:59:29 : Size : 8.00 KB
16:59:29 : Address : 0x08000000
16:59:29 : Erasing memory corresponding to segment 0:
16:59:29 : Erasing internal memory sectors [0 1]
16:59:29 : Download in Progress:
16:59:29 : File download complete
16:59:29 : Time elapsed during download operation: 00:00:00.212
16:59:29 : Application is running, Please Hold on...
16:59:36 : Reconnecting...
16:59:36 : Reconnected !
16:59:36 : Warning: FUS_STATE_IMG_NOT_FOUND, Flash already empty !
16:59:37 : Firmware delete Success
16:59:37 : Download Stack/FUS image at address 0x807A000 ...
16:59:37 : Memory Programming ...
16:59:37 : Opening and parsing file: stm32wb5x_FUS_fw.bin
16:59:37 : File : stm32wb5x_FUS_fw.bin
16:59:37 : Size : 424.79 KB
16:59:37 : Address : 0x0807A000
16:59:37 : Erasing memory corresponding to segment 0:
16:59:37 : Erasing internal memory sectors [122 228]
16:59:39 : Download in Progress:
16:59:46 : File download complete
16:59:46 : Time elapsed during download operation: 00:00:08.449
16:59:46 : Firmware Upgrade process started ...
16:59:46 : Application is running, Please Hold on...
17:00:18 : Reconnecting...
17:00:18 : Reconnected !
17:00:18 : Error: FUS_STATE_IMG_NOT_FOUND: Firmware/FUS upgrade requested but no image found. (such as image header corrupted or flash memory corrupted)

 

 

2 REPLIES 2
Lubos KOUDELKA
ST Employee

Hello,

Please check video guidance how to update FUS or stack. Up to date version of STM32CubeProgrammer is able to made even more steps for you. Please ensure, that no memory protection is active. When you're still facing issue, mass erase of the memory will help - there may be some data, which are by change wrongly identified as FUS header, so update is not done with correct data.
On custom board is also important to ensure voltage is stable during flash write and erase operations (proper decoupling and stable power input).
Is it working for you now after mass erase prior to FUS update?

Thank you in advance for your feedback,
Lubos

Hello, and thank you!

I am basically already following the tutorial. I use a STLINK-V3SET so some steps are different.

I did a mass erase. No difference. Same error, same logs.

The board may, off course be faulty. I didn't build it myself and I don't have the tools to check everything. But things seems to be working all right. I can read whats on the STM32, I can make changes to it, I just can't get the FUS update to work.

Anything else I should try?