2025-01-17 01:23 AM
Hi
I've tried to build the three FUOTA projects. Each one fails with similar errors. "Missing files".
I have a fresh install of the CubeIDE, and I've tried this on two different computers.
For example, I built the Single Core FUOTA example for the Nucleo WL55, the files not found are:
The Problems tab reports these two missing files and these warnings:
The other dual-core examples for the Nucleo and B-WL5M-SUBG1 give:
And these warnings:
Could someone at ST take a look at the these examples?
Solved! Go to Solution.
2025-01-27 01:02 AM
Hello @davidn;
For example to open 1_Image_SECoreBin example, could you please follow these steps:
1- Click on File>open projects from File System
2- Click on Directory
3. Choose the path of 1_Image_SECoreBin example then click on Select Folder
4- Click on Finish
The LoRAWAN_FUOTA example in the Example Selector corresponding to LoraWAN_End_Node under Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA.
To build Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/LoraWAN_End_Node example without error, you need to respect compiling order.
First of all, build "Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/1_Image_KMS_Blob" example.
Then, build "Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/1_Image_SECoreBin".
After that, build "Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/1_Image_BFU".
And finally, compile "Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/LoraWAN_End_Node".
I hope this help you.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-01-24 02:18 AM
Hello @davidn and welcome to the community;
As mentioned in the release note of STM32Cube_FW_WL_V1.3.1 that the development toolchain of are:
For that, could try to download STM32CubeIDE 1.11.0 version and build the FUOTA example and let me know if the issue is solved or not?
To downlow old version of STM32CubeIDE toolchain, please click on this link and open a case to our support team.
I tested these two examples "\STM32Cube\Repository\STM32Cube_FW_WL_V1.3.1\Projects\NUCLEO-WL55JC\Applications\LoRaWAN_FUOTA" and "\STM32Cube\Repository\STM32Cube_FW_WL_V1.3.1\Projects\NUCLEO-WL55JC\Applications\LoRaWAN_FUOTA_DualCore" and I'm able to build them without issue using STM32CubeIDE1.11.0 version.
About STM32CubeIDE1.17.0 version:
-I'm able to build \STM32Cube\Repository\STM32Cube_FW_WL_V1.3.1\Projects\NUCLEO-WL55JC\Applications\LoRaWAN_FUOTA project without error.
But, I got errors for \STM32Cube\Repository\STM32Cube_FW_WL_V1.3.1\Projects\NUCLEO-WL55JC\Applications\LoRaWAN_FUOTA_DualCore\2_Images_SBSFU project when using STM32CubeIDE1.17.0. I reported this issue internally.
C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: SB.elf section `._user_heap_stack' will not fit in region `M4_SB_RAM_region'
C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: region `M4_SB_RAM_region' overflowed by 240 bytes
C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: SB.elf has a LOAD segment with RWX permissions
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:67: SB.elf] Error 1
Please make sure you follow the order of build indicated in the project-structure.txt file
Internal ticket number: 201294 (This is an internal tracking number and is not accessible or usable by customers).
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-01-25 02:46 AM
Hello Kaouthar
Thanks for getting back to me.
One thing I didn't mention; I created the projects via the Cube IDE examples selector:
File | New | STM32 Project >> Examples Selector | FUOTA...
This only gave me the option for using FW 1.3.0. I don't know how to install the 1.3.1 patch to the IDE.
I've downloaded and unzipped FW 1.3.0 and then unzipped the 1.3.1 patch on top. I would like to try to build the projects, but I don't know how to follow the instructions here:
If you could explain how to do this: I might get some success.
However, it seems like there are problems with the Example Selector and the Dual Core example. Could these be fixed?
All the best,
David
2025-01-27 01:02 AM
Hello @davidn;
For example to open 1_Image_SECoreBin example, could you please follow these steps:
1- Click on File>open projects from File System
2- Click on Directory
3. Choose the path of 1_Image_SECoreBin example then click on Select Folder
4- Click on Finish
The LoRAWAN_FUOTA example in the Example Selector corresponding to LoraWAN_End_Node under Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA.
To build Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/LoraWAN_End_Node example without error, you need to respect compiling order.
First of all, build "Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/1_Image_KMS_Blob" example.
Then, build "Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/1_Image_SECoreBin".
After that, build "Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/1_Image_BFU".
And finally, compile "Projects/Nucleo-WL55JC/Applications/LoRaWAN_FUOTA/LoraWAN_End_Node".
I hope this help you.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-01-28 03:47 AM
Hi Kaouthar
Thank you for your detailed instructions. This has helped a lot. I've sucessfully built the FUOTA project you have described.
I shall continue my testing.
I would like to get the Dual core sample working, and understand why low-power mode is not available too.
Is there any documentation describing how to update the end-node sample so it supports FUOTA? Just so I can extend the functionality of my working code?
All the best,
David
2025-01-28 06:15 AM
Hello @davidn,
Thank you for updating post. I think that the initial issue is solved.
So, click on Accept as Solution on the reply which solved your issue or answered your question.
For the second issue on how to update the end-node sample, I recommend you to create a new thread.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-01-28 09:15 AM
Hi again
Using these techniques, I failed to create the B-WL5M-SUBG1 dual-core FUOTA project as the sub-project 2_Images_SBSFU_CM4 overflowed the M4_SB-RAM_region by 240 bytes. There were a few other errors too.
Good news, is I managed to compile the single and dual-core FUOTA projects for the STM32WLxx Nucleo.
I still believe the FUOTA project for B-WL5M-SUBG1 needs some help. Also, it would be great if the FUOTA projects would work via the Examples Selector too.
David