cancel
Showing results for 
Search instead for 
Did you mean: 

Connect B-U585I-IOT2A to Azure IoT cloud

bay
Associate II

Hi Tech Support Team,

I would like to connect the B-U585I-IOT2A board to Azure IoT cloud using STM32CUBE IDE.

I am confusing on the setup steps.

Should I go through the steps 1 and 2 then follow steps 3.b?

Or just start with steps 3.b? 

bay_0-1714974852528.png

And also, when build the TFM_Appli_Secure project it come out error, there is no pid.h file under psa_manifest folder.

bay_1-1714975031177.png

 

Please help. Thanks.

 

13 REPLIES 13
bay
Associate II

Hi CMYL,

 

The console is attached. Thanks

CMYL
ST Employee

Hi @bay 

According to the messages in your console, drivers + middelware files among many others are missing.

I dumped my compilation console to compare it versus yours.

I suggest you to check which files are missing versus the ones in our TFM SBSFU example, add then to recompile again !!

 

Best Regards

 

JD66
Associate

Was there a resolution to this issue, I am having the same symptoms with the STM32CubeExpansion_Cloud_AZURE_V2.3.0 project.

I have added Application/User/syscalls.c to each project in the TFM_Appli project to eliminate the _close() and other syscall.c warnings. Now I have one warning that I cannot resolve:

"C:/ST/STM32CubeIDE_1.15.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.200.202406191623/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: TFM_SBSFU_Boot.elf has a LOAD segment with RWX permissions"

I don't think this warning is causing my linker to error out, I have turned on all the verbose flags but still don't see an error.  Attached is the full output.  

The project is on the root of its own drive so path issues mentioned before should not be a problem.

Any help or information would be 

 

To resolve the linker warning which does stop the link process in the TFM_SBSFU_Boot project was to add (READONLY) callout to various > FLASH sections in the stm32u5xx_s.ld file:

.ARM.extab : ALIGN(4)

changed to

.ARM.extab (READONLY) : ALIGN(4) /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */

 

The following sections also need to be changed:

.ARM.exidx (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */

.zero.table (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */

.copy.table (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */

 

They should be changed to prevent the warning in all the project's .ld files

but in the other projects, the linker does not stop.

I hope this helps someone else find this issue faster than I did.