2024-11-03 09:30 PM - last edited on 2024-11-06 12:43 AM by Andrew Neil
Hello @GMA
it seems that there is surely a bug with STM32CubeMX and STM32G030C8T6, I have made the PCB and now try to write program for it.
I just wrote a simple code to toggle a LED. but when I download the code to STM32G030 chip, the ST-link gdb had a strange problem, I used VS Code, the warning is like below:
the program cannot step over running, the ST-link gdb log is as:
I attached the .ioc and main.c for you check.
please try to fix it.
Thanks!
2024-11-06 12:31 AM
Hi @dqsh06
This message appears in VSCode once you overflow a buffer and corrupt the stack.
Please check if your code is corrupting something.
2024-11-10 11:13 PM
I have checked, it seems that I installed a yagarto gcc tool for proteus, but the gcc interference with the ST gcc, so the st-link gdb cannot work correctly. when I uninstalled the yagarto gcc, it works correctly. It is not an issue of overflow a buffer, you can check the code which was generated by CubeMX.
Thanks.