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


SWD option gone

My board only ever worked with SWD and today suddenly debugging stopped working.
This may have been caused by the recent system workbench updates...
I had to delete my cfg file because eclipse was emitting loads of java errors and crashing when I tried to look at the debugger settings.
After creating new settings, I only get the option of JTAG in the drop-down, no SWD.
If I select ‘user defined’ configuration script and select my old Debug.cfg (restored from git) I can debug fine so SWD is working but can’t be selected in the drop-down.
It’s not a show stopper for me but annoying anyway...
Thanks !

I have exactly the same problem! SWD is missing from the list. And this is in the newest, freshly instaled Workbench version, installed on a clean computer (by coincidence, I’m doing a full reinstall of one of my computers at the moment)

Something with STM32Cube 5.2 that doesn’t create the project right. I downgraded to 5.1 and it came back.

-in project explorer (left) right click on project > Debug As > Ac6 STM32 C++ Application
- if this doesn’t work, check the following:
- in project explorer (left) right click project > Debug As > Debug Configurations
- goto second tab ‘Debugger’
- Check that at Configuration Script the radio button ‘User Defined’ is selected
- the scriptfile path is ‘${ProjDirPath}/application_Debug.cfg’
- Press Debug to test this. Probably this will not work (Eclipse Bug).
- in project explorer (left) find this file, right click, open with, Text Editor
- on line 10, it should be

transport select “hla_swd”

- unfortunately Eclipse overwrites this with “hla_jtag” the first 2 times. You can see this when you check the git-changes. It should be ‘hla_swd’
- Open Debug Configurations, and check again that Configuration script is ‘User Defined’.
- Press Debug to test this again.
- Check the file again, it should now be ‘hla_swd’. If you debug this now, it should work.


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs