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


Bootloader, linker and application start address

Thank you for your help Dieter, however it still does not work.

For the linker, I used the configuration posted above.
Then, I opened the file “system_stm32f4xx.c” and changed the line from

  1. define VECT_TAB_OFFSET 0x00

to

  1. define VECT_TAB_OFFSET 0x30000


But no results.
Before doing this I erase the whole flash, then loaded the bootlader (.hex) file with openocd and finally loaded the application binary with the software setting the start address as in the linker script.
If it may helps, the bootloader (.hex file) is generated with Keil, while my application with Eclipse, Ac6 Tool and SW4STM32.

Do you have any other idea?
Would you advise to create a simpler custom bootloader? If so, do you have any resources on how I can build that?

Thank you
a.