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


debugger issue under windows8

Hi to everyone and thank you for that forum.

My configuration

windows 8
usb 3.0 and usb 2.0
stlinkv2
stm32100E-eval with stmicro std_lib

I managed to set up everything thanks to the vrious FAQ and instruction on this website.
The debugger was just perfectly working and from now I can’t launch any debbug anymore.

I removed the stlink driver so let the package installer install its own, the debugger came back but is now off again.


I saw a topic in FAQ about usb 3.0 issues with renesas controller but I have an intel one.
Maybe my problem is trivial but I don’t manage to fix it myself.

Hope anyone could help me fix this.

Thank you for your time and consideration

France

Hi,

Looking at your screenshot, it seems you started a second debug session while a first one was still active. You should kill it (select the first session and click the red square button, then the grey X button on the right of the Debug tab) then start again to debug your program.

Remember: you can’t start two debug sessions in parallel on the same CPU...

Bernard


Hi,

I don’t have the same system configuration as you to test but the fact that the debug was working before make me think that maybe :

- The previous debug session is not well terminated, kill the “openocd.exe” process from the Windows task manager if it exists
- The ST-Link/V2 is still busy, unplug then replug it.

Then relaunch the debug session.

If it is still not working, try to connect your the board with “STM32 ST-Link Utility” ? If you can’t, it might be a hardware problem.

Kevin.


Hi,

Thank you for the answers.
Well I tried both your suggestions, but it still doesn’t work.
I just figured out removing and installing stm32workbench makes the debugger works again for a while until, it goes off again.


After killing the openocd.exe, debugger refuse to start over again.I will send other pictures tomorrow.

Killing both stm32workbench and openocd and restarting doesn’t have any effect.
Do you think it will make any change trying to launch stm32workbench in vmware player windows 7 virtual machine as any chance to work ? I am worried about stlinkv2 usb driver on VM.



And yes the board can be connected with STM32 ST-Link Utility, that I actually use to flash the .bin manually on board.
The exactly same setup works perfectly fine on my home windows7 64 bits station with the same board, driver, and stlink probe.


 

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