Skip to main content
Associate
February 26, 2025
Question

Firmware loading error on STM32WL, incorrect memory erase

  • February 26, 2025
  • 1 reply
  • 429 views

Hi community, I have been using the Seed Studio WIo-E5 mini development board or module, and I wanted to perform the FW upload procedure using STM32Cubeprogrammer and I have had some inconveniences. I have followed the step by step specified in https://wiki.seeedstudio.com/LoRa_E5_mini/ to load the application firmware, I have changed the protection level as suggested without any inconvenience but..,

CamiloRJ9_0-1740577748360.png

the memory has not been erased correctly since it should be full with 0xFFF but it appears 0x000, and now I cannot erase the memory with either the total erase option or with the Firmware erase load since I get the following error:

CamiloRJ9_2-1740577986008.png

It is not a connection issue since I have checked it with another module, the thing is that this one was somehow blocked indicating that the protection level protection is selected but it is not internally installed and therefore it does not allow modifications. I do not know if I am correct. I am waiting for any information and solution as I hope that at least the module can be saved. Thank you very much.

1 reply

Maryem
Technical Moderator
March 24, 2025

Hello @CamiloRJ9,

Apologies for the delayed response.

Could you please share the current configuration of your option bytes? You can do this by performing the following command in the CLI:

STM32_Programmer_CLI -c port=SWD -ob displ

Additionally, if possible, could you also share the hex file you are trying to flash?  Thank you in advance !

 

Maryem.