cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL FUOTA with SWAP SPACE of 4K Bytes

HVeer.1
Associate II

Hi,

We have a custom design board with external flash and we are using external flash as download area. We are getting it working with upto 64 KB using SWAP_SIZE of 2KB. But our binary is around 150 KB, we enabled SWAP_SIZE of 4KB. With this scenario, we are getting FW_SIGNATURE error on 3 out of 4 times. ( 1 time success and 4 times failure).

Please share your inputs whether FW Signature and FUOTA Work flow is validated with 4KB SWAP SIZE.

Thanks,

Hariharan.V.

1 REPLY 1
Louis AUDOLY
ST Employee

Hello @HVeer.1​ ,

Thank you for your question and your interest.

I have questions to understand a bit more your issue:

First as you change the download area of the device, have you verified the firmware copied in the active area is the same as the one in the download area ?

For your second binary you want to swap from your external FLASH, do you use a binary from a FUOTA project or a simple LoRaWAN project ? I ask you this because if the binary generated contain the SBSFU, Secure Engine etc, when it will try to verify the signature of the new firmware, it may not read the excepted header but something totally different.

Sorry for the late reply

Let me know is you solved the problem or if you are still facing it.

Best regards