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


STM32L4: Debug is NOT possible when PCROP is activated

Dear all,

I am still waiting for an answer on this topic.
I moved on a bit on my side but could not solve the issue.

I retrieved the OpenOCD source code and modified it to ignore all flash sector erase error.

Nevertheless the flash write operation then fails. If I got correctly the OpenOCD process, the write algorithm creates a binary from the input linker and pads space between memory sections. The write is done from the start of the first section to the end of the last section in flash memory.
The write is always done on a continuous memory area and logically fails when the PCROP sections are reached.

Does anyone has a solution to solve this ? How could I use OpenOcd write algorithm to write section by section ? (all my attempts failed with various errors)

Thanks for your help,
Best regards,
Sylvain