Electrical – How to debug a program using FTDI in STM32CubeIDE

debuggingstm32stm32cubemx

I want to debug a test project for my board the STM32F103C minimum systemboard, sometimes called the bluepill, I use linux so i downloaded the original STM32CubeIDE as .sh execute it and downloaded everything needed.

after creating a new project and ready for debugging, when debugging when I choose the debug probe I didn't see anything related to com ports or FTDI which i previuosly used in Arduino IDE, I googled the internet but couldn't find anything related to FTDI, and i am a total beginner when it comes to this STM32CubeIDE and don't know what to do, I will already get an ST-Link v2 for me so that I can debug using ST-Link easly but at the moment i don't have except an ftdi board which i use to upload sketches to the board using the Arduino IDE.

in short i was using the Arduino IDE so i upload all my programs to the board using a FTDI usb to serial converter, now i want to learn how to use the original software for my board The STM32CubeIDE, when debugging I couldn't see anything related to FTDI to upload my code so please help me.

Thanks in advance.

Best Answer

A USB-to-Serial adapter isn't a debugger.

So, this won't work. Get a debugging adapter: STlink v2-compatible adapters are really cheap.

Related Topic