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 - wrong paths on win x64

My mistake. Following the exact steps described on User Guide - “Importing an STM32CubeMX generated project under System Workbench for STM32” it was possible to compile and debug the project (STM32F3 Discovery board).

I use a Win 8.1 64 bit machine

It turns out that the System Workbench set few paths (correct paths) when it is invoked by pressing the Debug icon on the Eclipse:

Open On-Chip Debugger 0.9.0-dev-00415-g2d4ae3f-dirty (2015-04-22-11:10)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
User : 13 15 command.c:546 command_print(): debug_level: 3
Debug: 14 15 configuration.c:44 add_script_search_dir(): adding C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.2.0.201506021103\resources\openocd\scripts\st_board
Debug: 15 15 configuration.c:44 add_script_search_dir(): adding C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.2.0.201506021103\resources\openocd\scripts

and then configuration files could be found

Debug: 22 15 configuration.c:84 find_file(): found stm32f3discovery.cfg
Debug: 23 15 configuration.c:84 find_file(): found C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.2.0.201506021103\resources\openocd\scripts/interface/stlink-v2.cfg


To activate debug output for openocd I have added “-d3” under “OpenOCD Command:” entry in “Debug Configuration” window under “Debugger” tab, the comand looks like:
”${openstm32_openocd_path}\openocd.exe” -d3
The output is printed in Console window when debug is started

Attached is the complet file log.

 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  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. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs