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


You are viewing a reply to Bootloader and Application Code  

Bootloader and Application Code

France

Hi Luca,

Did you try to do instruction-level single-step execution over the last lines of jump_to ? You should especially check that the value in SysMemBootJump is odd (as this is Thumb code, this should be OK) and that you are currently using the MSP stack pointer (check the CONTROL register: it must be 0).

Also at which exact instruction does it crash? and does it just jump in some infinite empty loop (meaning you hit some exception) or does is locks up?

Currently I don’t have any way to test your code but it looks reasonable.

Hope this helps,

Bernard (Ac6)