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


error while uploading : open ocd child process termination reason:unplugged target or stlink already in use or stlink usbdriver not installed

hi,
thankyou for your reply .
“i have already installed stlink drivers as they are automatically installed when we make new project”by this statement i mean that i have tried installing drivers which are available at the st.com also when we make a project in the workbench there is a option in the additional drivers section (in the attached picture ) to install drivers for the evaluatuion board. i have tried both but it dosent work.
i looked up into the /etc/udev/rules.d directory and all the required files are already there also i have installed libusb but nothing works.

Hi Again,

The “Additional drivers” are not drivers to install on your Linux but are the code generated in your project for the board to control USB devices. Anyway, this option is not what causing your problem.

Can you open a terminal then run “killall openocd” to kill every running OpenOCD connected to the ST-Link. Maybe one application is blocking access to the ST-Link.

By the way, do you have the same issue when running a debug session ?

hi,
thankyou for your reply,
i tried “killall openocd” command in the terminal, the terminal says openocd : no process found . yes i am having the same issue when running a debug session , this time console says :


Open On-Chip Debugger 0.10.0+dev-00021-g524e8c8 (2019-04-12-08:33)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 8000 kHz
adapter_nsrst_delay: 100
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 8000 kHz
Error: open failed (no matching adapter found)
in procedure ‘init’
in procedure ‘ocd_bouncer’

one thing i want to mention is that although my board is powered yet i cant see it in the device manager of linu (ubuntu version : 18.04.2)
. a notification always popup on the screen when we connect something on the usb port but when i connect my board on the usb no notification is showed . i m not the expert but i think it is something related to drivers . i tried connecting it on a windows10 operating system same problem persist. the device manager is not even showing unknown device found under usb peripherals section eventhough i have installed all the drivers properly .


 

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