Page 1 of 1
How to debug stm32 using arduino IDE debug function?
Posted: Fri Jan 26, 2024 6:17 am
by changlin1990
When I use arduino IDE2.0, I always cannot use the debug function to debug the STM32 program, and the error indicates that I cannot understand it. May I ask who can give a detailed tutorial, thank you?

- 屏幕截图 2024-01-26 141026(1)(1).png (75.3 KiB) Viewed 8103 times
Re: How to debug stm32 using arduino IDE debug function?
Posted: Fri Jan 26, 2024 6:49 am
by fpiSTM
You need to build with optimize for debug selected in the menu. A STlink with reset signal connected.
Re: How to debug stm32 using arduino IDE debug function?
Posted: Fri Jan 26, 2024 7:23 am
by changlin1990
I tried, but it didn't work
My steps are as follows:

- 屏幕截图 2024-01-26 154104(1)(1).png (55.24 KiB) Viewed 8087 times
Re: How to debug stm32 using arduino IDE debug function?
Posted: Fri Jan 26, 2024 8:36 am
by fpiSTM
Normally step 5 is enough. 6 and 7 are not properly managed by IDE.
Re: How to debug stm32 using arduino IDE debug function?
Posted: Tue Jan 30, 2024 1:42 am
by changlin1990
It still doesn't work.
Re: How to debug stm32 using arduino IDE debug function?
Posted: Sun Apr 07, 2024 10:17 am
by TerrellDarrough
Yes, it still doesn't work.