cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeExpansion_CELLULAR_V5.2.0 CubeIDE Compiled Firmware Crashes while IAR-compiled Runs Fine for MQTT

HDaji.1
Senior

I have a B-L462E-CELL1 board, and I have managed to compile code in STM32CubeExpansion_CELLULAR_V5.2.0 with MQTT client enabled in IAR IDE.

Since IAR is not free, I tried to follow its code structure and build it in CubdeIDE.

However, the CubeIDE compiled code crashes at HardFault_Handler after running a while. I saved its log to a file from bootup to crash point.

I captured a few differences in file structure between IAR and CubeIDE as showed in the attached file.

I also downloaded Patch_XCUBECELL_V5-2-1 to change a few files in 5.2.0 as guided as the following

How-to install fix on top of STM32CubeExpansion_CELLULAR_V5.2.0

- unzip file copy directory content on top of your installation

- answer YES to overwrite file sysctrl_specific.c and cellular_version.h

- launch your prefered ID and rebuild the project

- a new binary is available : Projects\B_L475E_IOT01\Demonstrations\Cellular\Binaries\l475_gm01q_socket_v521.bin

1 REPLY 1
HDaji.1
Senior

Today I ran into another strange issue: the board no longer can find the eSIM any more.