Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


How to make a Release configuration?

Tunisia

Hi Igor,

>> Hi tarek,
>> Core State: Halted
>> PC: 0x1FF002EC

This is abnormal !

>> All registers except R13 are zeroes.
yes R13(=Stack Pointer) value should be in RAM range (0x20xxxxxx)

>> If click on System or Core reset and read Core registers after that it stops somewhere else. But program does do, what it supposed to.
If PC is value is ~0x08xxxxxx this is quite normal

Let me resume, if after reset, you connect your stlink in hotplog mode:
then you press Core Reset if PC value is in Flash Range (0x08xxxxxx) then you press Run and PC value become outside flash (e. 0x1FF002EC). we can deduce that your program is running is standalone mode but there is fault in your program. (bus fault, hard fault, ...)

Just a final question, are you using semihosting in your application ??