2023-03-24 10:29 PM
Hello, I am trying to create a simple openthread project on my NUCLEO-WB55RG. There is no custom code in this project; just the code generated from the CubeMX ioc file attached.
By all means, I think that I have all the necessary settings for this project selected in the IOC file (attached), but "SHCI_USER_EVT_PROC" task never finishes, and instead hangs on SHCI_C2_Thread_Init(). Am I doing something wrong?
Solved! Go to Solution.
2023-03-28 02:38 AM
After five days of debugging, I have now solved the issue:
The IOC code generation does not update the linker script (the file that ends in .ld). By default, the _estack allows the program stack to trail into the CPU2 SRAM1 space. This must be corrected by setting _estack = 0x20024000 (or whatever the Thread_Cli_Cmd example project has).
2023-03-27 10:02 AM
Hello,
Which stack are you using ? Did you try to start with a basic example like Thread_Coap_Generic ?
Best Regards
2023-03-28 02:38 AM
After five days of debugging, I have now solved the issue:
The IOC code generation does not update the linker script (the file that ends in .ld). By default, the _estack allows the program stack to trail into the CPU2 SRAM1 space. This must be corrected by setting _estack = 0x20024000 (or whatever the Thread_Cli_Cmd example project has).