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


STM32F072RBT6 not properly modeled in OPENOCD? 64K instead of 128K

Hi


Check the linker script on your project. The memory definitions are in this script file:

/* Memories definition */
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 16K
ROM (rx) : ORIGIN = 0x8000000, LENGTH = 128K
}

I don’t know if this has a connection with the OpenOCD.


Regarding the OpenOCD script, do you use this script: “nucleo_f072rb.cfg” ?

Above file include “stm32f0x.cfg”. In this last file seems that the flash size is checked.
But I don’t know further detailes. I have seen that there is a stm32f1x !. Possibly this is not correct.

flash size will be probed
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME stm32f1x 0x08000000 0 0 0 $_TARGETNAME