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


Examination failed, GDB will be halted

I am using Nucleo-F411RE board and running AC6 (SystemWorkbench) on Dell Laptop (Window 10).
Once every ~10 mins the Openocd will have following message, then STM32F4 will RESET.

Examination failed, GDB will be halted. Polling again in 100ms

Info : Previous state query failed, trying to reconnect

Polling target stm32f4x.cpu failed, trying to reexamine


If this is Dell (Laptop) issue, should there be a way to install the STLink - USB driver to resolve this ??
During the debugger loading, it has the Error, but it continue to load/run code, I did not pay attention.
Anyone know how to remove this error ? See this could resolve my issue.

Info : clock speed 1800 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK v2 JTAG v28 API v2 M v18 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.241334
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting ‘gdb’ connection on tcp/3333

There is a thread on the STM32 forums about an issue with Dell and resets like you describe.

I seem to remember it was related to the USB Mass Storage device in the ST-Link
and drivers on the Dell.

I’d ask over there.


Finally resolved after weeks of searching various forum.....this is Dell Support Assist/Agent.
After I uninstalled from Laptop, comm error not show up after an hour of running the STlink debugger.

No idea what Dell program doing in the background.