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


OpenOCD debugging issue : Launching STM32F4xx-Nucleo-WriteURI.elf has encountered a problem.

I have installed SystemWorkbench for Eclipse -> install_sw4stm32_win_64bits-v1.0.exe installer along with the java : jre-8u40-windows-x64.exe.
To compile a test project on it I have taken a sample NFC project from hereQuestion.I can build it fine and flash it using ST Link Utility and it works as expected.
But I am not able to debug the code .I have already configured the OpenOCD and gdb for this .What are the configuration for flashing and debugging the code .

Debug Configuration :

Debug Configuration Debugger Tab


Debug Configuration Main Tab


Debug Configuration Startup Tab


OpenOCD Configuration :


OpenOCD

I basically followed this linkQuestion .
Looking forth for a documentaion to “flash and debug the code” using SystemWorkBench,

Kindly let me know or ask for any mising information.
Thanks and Rgds,
S

Hi,

Firstly, it seems that you’re running an old version of System Workbench, so please update it (Help > Check for Updates)

To debug your code, you have to create a “Ac6 STM32 Debugging” debug configuration, it will launch GDB and OpenOCD. You don’t need to create any “GDB Hardware Debugging” or external tool program configuration. Here a link to the documentation : http://www.openstm32.org/Creating+debug+configuration?structure=DocumentationQuestion

Regards,
Kevin.


HI Kevin,
Thanks for the Quick response.
There are three variants of Systemworkbench I am seeing here :
System Workbench for STM32
Installing System Workbench for STM32 from Eclipse
and
System Workbench for STM32 – Bare Metal

Is the debugging support ony provided in the last version?Which One should I choose?
I am updating the SW currently as you suggested(Help > Check for Updates).
Thanks and Rgds,
S


The two label you’re mentioning is the same product, just two way to install it. It works the same.

Kevin.


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 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