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


Debug problem no source available

Hello,

i have a problem with debugging. I’ve had it the second time in two days, the first time i could just create the project anew and dodged it. This time my project is larger...

The first message i get when i build my project and try to debug it:

No source available for “(gdb0.proc42000.threadGroupi1,gdb0.proc42000.OSthread1).thread1.frame0

If i restart the debugging process i get:

No source available for “0x2b061a1a”


Debugging worked before and i didnt changed any settings, but what i think i did:

The debugging worked and i placed some breakpoints. I recognized i needed a DMA and added it with CubeMX. I generated the code and refreshed eclipse. The breakpoints were gone. I modified the source a little more, Tried to debug it and got the error.

- The debugging with other projects is working

- Build configuration is debug

- Tried the usual stuff like cleaning and rebuilding and restarts...


The compiling process throws this warning:
f:/ac6_systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.7.0.201602121829/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: cannot find entry symbol Reset_Handler; defaulting to 08000000

So i checked after the startupfile and found it under:
\Drivers\CMSIS\Device\ST\STM32F7xx\Source\Templates\gcc\startup_stm32f746xx.s


I would be thankful for any suggestions!!! smile



UPDATE:

I created the same Project with CubeMX at another location, replaced all source- and headerfiles with the ones from the other project, included all folders and i can debug again.
Had again to change something in CubeMX, generated the code and hitted debug.
The same Problem, this time without breakpoints!

Dear Bab

I am experiencing the same phenomenon.
How did you solve it?
Please tell me how to do it.

Regards,
Hagiwara

Hello,
i had exactly the same problem and in order to resolve i simply unchecked the flag “generate under root” in the project configuration tab inside CubeMX.

Now debug works fine

Cheers,

Filo


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  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. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  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