2021-01-27 08:06 AM
Hello everyone,
I succeeded to import a project for a STM32F405 inside the STM32CubeIDE. It means i created an empty STM32Cube project and imported my own sources and Makefile. I succeeded to compile it and run a debug session after modifying the project and adding the debug flags in the different Makefiles of my project. The debug session works well, i can use live expression, and make step by step.
But when i reach one particular function, then i can't use any buttons like "Step over" or others. I can only pause the debug session and then i get this message : "Break at address "0x1fff36a8" with no debug information available, or outside of program code".
I checked in the memory map and saw that this is the system memory but i don't know why it goes there.
I also several time got this error : No source available for "(gdb[23].proc[42000].threadGroup[i1],gdb[23].proc[42000].OSthread[1]).thread[1].frame[0]"
Did anyone already dealed with those ?
I attach the configuration files of my project if anyone knows how to read them and could find the problem.
Let me know if any other information could be helpful.
Thanks for your answer,
Thomas
2021-01-29 01:00 AM
2021-01-29 01:00 AM
2021-01-29 01:33 AM
This external library is also use nano lib? this is c++ library? etc.
Yes, i ask about default handler, systick? Strange, but i wil be hard to find. I don't like to create libraries *.a.
2021-01-29 02:12 AM
I don't have the sources of this library so i removed it from the project (as it's not compiled with debug flags).
I am sorry but what you mean by default handler ? we use them as defined in the libopencm3. Yes, if i enable the systick interrupt i get my error. But the strange thing is that when i put a break point in the systick interrupt handler the execution never stops inside. But my application is running normally which means systick works but the debugger can't put breakpoint inside and gets lost after that.
2021-01-29 02:17 AM
2021-01-29 02:17 AM
2021-01-29 02:33 AM
section for irq table seems be have different names , LD script must be complementary with startup file and irq vector table file.
2021-01-29 02:58 AM
So you think if in my ld script and the libopencm3 .ld i fix the names it should maybe work ? and that this may be my problem ?
2021-01-29 03:19 AM
Seems looks you get 2 irq vectors, i'm not familiar with this library.
2021-01-29 04:06 AM
If this is a problem, but names correction isn't solution.
I strongly recomends to clean you project structure.