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


Ac6 + STM32 + STLink-V2 debug environment issues

Hi,
As attached, when I tried to debug with Ac6 STM32 Debugging, the Debug button is invalid.
Could anyone help me to figure out how to setup the debug environment with Ac6 + STM32 + STLinkV2?
DebuggerTab

Hi,

“Ac6 STM32 Debugging” is only compatible with project created with the toolchain “Ac6 STM32 MCU GCC” in which you must define a board and a mcu (because some debug information are linked to the target). Are you sure your project was created this way and not using feature provided by plugins you’ve installed yourself manually ?

Regards,
Kevin

Thanks Kevin, your opinion is very useful, I’m sure that the project was not created with Ac6 toolchain.
Let me try to make a new project with Ac6 toolchain at first. Thanks a lot!
BTW, how can I setup the environment with GDB openOCD debugging? When I tried to work on it, my project couldn’t enter the main() code like this.
Main()