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


SW4STM32 + STM3210C-Eval Hello World program

I am evaluating an STM32 chip with CAN with respect to the CAN enabled bootloader.

I have programmed for years on the TI CCS IDE on ARM4s. SW4STM32 is a similar IDE.

I have SW4STM32 installed. I have the STM3210C connected via USB.

I get the following when trying to debug:

------

Error in final launch sequence

Failed to execute MI command:

-target-select remote localhost:3333



Error message from debugger back end:

localhost:3333: The system tried to join a drive to a directory on a joined drive.

localhost:3333: The system tried to join a drive to a directory on a joined drive.

------

I am trying to get to the point where I can set a breakpoint on the first statement in main().

I have attached screen shots of my debug configuration settings, where I would guess my settings are not correct.

Might someone suggest what I have amiss?

Where may I find some SW4STM32 quickstart documentation? Especially for the STM3210C-EVAL?



A lot of problems such as these are due to reset issues.
Research the reset options in ocd config scripts.

I had to use:
reset_config none in my board level script. The board level script will call other ocd scripts so also check that none of these have reset options in them that are not what you want.


 

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