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


New (re) install, openocd debug fails [Solved]

After all my problems with the integration of stm32cubemx and eclipse projects, I ended up with a corrupt project file - at least I know that was the problem now!! At the time I couldn’t build any more so I deleted everything I could find and re-installed sw4stm32 via eclipse, re-created the project by importing the ‘MX project and then importing files to where they should be and I can now build OK.

The debug is totally hosed though frown

openocd runs fine in stand alone, I can telnet and gdb to it OK but something in the eclipse settings is asking gdb to do something at startup that results in


stm32f3x.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000300 msp: 0x20010000, semihosting
Error: gdb requested a non-existing register
Info : dropped ‘gdb’ connection



I originally set this up at the start of February and I don’t recall these sorts of problems and as usual the project is getting critical!

Any assistance very much appreciated.

Turns out eclipse wasn’t setting some environmental vars correctly so it was picking up the host gdb instead of the cross-gdb

Stupid thing!!

 

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