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


Programming Application in Specified address and Debug

Thanke you for answer.
I did it, but the problem is that boot loader content changes and gets affected when the program is downloaded. Also, when debugging, this error is seen:

No source available for “0x10100”

and in Console i see:

Error: Whole bank access must start at beginning of bank.
Info : STM32L4xx flash size is 1024kb, base address is 0x8000000

I think that base address must change to 0x8004000. But i don’t know how to do.

My Memory Section in .ld file is:

MEMORY
{
FLASH (rx)  : ORIGIN = 0x8004000, LENGTH = 496K
RAM (xrw)  : ORIGIN = 0x20000000, LENGTH = 96K
RAM2 (xrw)  : ORIGIN = 0x10000000, LENGTH = 32K
}

France

Hi,

Your problem was described, and solved, in several forum topics; for example look at http://www.openstm32.org/forumthread2364Question, the previous to last post explain how to avoid the bootloader to be erased when programming the application and may help you.

Also do not forget to change the vector table offset as explained in the same post.

For more information on this just do a search for “bootloader” in the forum.

Bernard (Ac6)