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


Debugging hangs with F3 discovery board [solved]

29 March 2015:
I fixed the below problem - the initially chosen port number (3333) was blocked internally in my computer (probably some setting pushed by our IT dept.). In the debug configuration, I changed the port used to 444, and now all debugging works perfectly!

_
I’m trying to start debugging of a simple project created by the New->Project wizard, which was told to build it for the STM32 Discovery board. When I try to Debug As->Ac6 STM32 C/C++ Application, GDB and OpenOCD start normally, but then hang. OpenOCD reports:

Open On-Chip Debugger 0.9.0-dev-00101-g3a546c5-dirty (2014-09-23-14:54)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : This adapter doesn’t support configurable speed
Info : STLINK v2 JTAG v23 API v2 SWIM v0 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 2.904739
Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints

So it’s recognizing the target just fine. But after about a half minute, I start seeing this in the gdb traces console:

526,462 ~”Ignoring packet error, continuing...\n”
526,462 &”warning: unrecognized item "timeout" in "qSupported" response\n”
540,462 ~”Ignoring packet error, continuing...\n”
554,462 ~”Ignoring packet error, continuing...\n”
568,462 ~”Ignoring packet error, continuing...\n”
582,462 ~”Ignoring packet error, continuing...\n”
596,462 ~”Ignoring packet error, continuing...\n”
596,462 =thread-group-started,id=”i1”,pid=”42000”
596,462 =thread-created,id=”1”,group-id=”i1”
596,462 14-list-thread-groups --available
596,472 15-list-thread-groups
610,462 ~”Ignoring packet error, continuing...\n”
610,462 =thread-group-exited,id=”i1”
610,462 13error,msg=”Malformed response to offset query, timeout”
610,462 (gdb)
610,462 &”\n”
610,462 done

The flash never gets written, and the debugging operation never starts. After about 5 minutes, OpenOCD quits with a 1 result code. I used the ST-LINK utility to flash the on-board JTAG interface with the latest firmware, restarted Eclipse, and tried the same thing with identical results.

Any helpful suggestions would be welcome, thanks.

 

Newest Forum Posts

  1. emerald casino online i240jx by StephenNug, 2026-02-27 00:08
  2. milkyway online casino games b28sos by StephenNug, 2026-02-25 10:25
  3. casino blacklist online i72xxd by StephenNug, 2026-02-23 20:11
  4. best online casinos canada reddit a57fpx by StephenNug, 2026-02-23 19:01
  5. hollywood casino online blackjack p271nq by StephenNug, 2026-02-22 21:12
  6. three card poker online casino y82gxs by StephenNug, 2026-02-22 20:34
  7. sugarhouse online casino pa j13lyy by StephenNug, 2026-02-22 03:56
  8. casino online latvia f40blg by StephenNug, 2026-02-21 19:10
  9. casinos online reviews a94tvt by StephenNug, 2026-02-21 09:22
  10. royal ace online casino no deposit bonus codes u60dqh by StephenNug, 2026-02-20 20:00

Last-Modified Blogs