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


Another debug launch and target program/erase failure......

> Ok, v1.10.0 is the latest version.
great.
> Driver is ok and since you can use STLink utility, it is ok on this side.
great
> I said to not let an STLink connection active on another software (like Stlink utility) or another ide like co-ide because > > you can only have 1 STLink connection active.
> Reboot the disco (and the PC) and try again.
Rebooted and still get the same problems....... :-(

> Win 7, 64 or 32 bits ?
64bit

> The error message “open failed”, you get it when no stlink board is connected.
> And if i let a STLink utility connected, i have the libusb error access added on the message:
> Info : clock speed 1800 kHz
> Error: libusb_open() failed with LIBUSB_ERROR_ACCESS
> Error: open failed
> in procedure ‘init’
> in procedure ‘ocd_bouncer’

I assume this is when doing a target-erase or similar, rather than debug? In which case that is similar but not the same. I get no mention of libusb_open()
I just disconnected my nucleo board (so no st link present) and get exactly the same errors as I posted above. Not sure what that tells me though....

EDIT: I just re-read your last post. So
“Error: open failed” on its own means no stlink is not connected.
and “Error: libusb_open() failed with LIBUSB_ERROR_ACCESS. Error: open failed” means stlink util is still connected?

So my errors are saying it cannot find any connected stlink? Correct?

Thanks
Toby

 

Newest Forum Posts

  1. Analog servomotors with nucleo f334r8 by SkelePaw, 2025-11-01 05:57
  2. STM32 MCU model shortlisting for Making RC remote by Palvish, 2025-07-07 15:05
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  5. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  6. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  7. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  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