I am trying to test the serial output of my STM32 based Blackpill_f411ce development board. I have made a pretty simple program that I simply want to output to the serial monitor for now. Here it is:
In previous community posts, I was told to upload code with my stlink v2 dongle, and use another way of testing serial data as stlinks have no way of allowing your development board to talk back to the computer.
So, in order to receive data, I hooked up an FTDI board based on the following connections according to the following schematic:
Here is my connection to PA9 and PA10 as stated in the schematic:
and here is my ftdi board that connects those pins on the blackpill to my computer:
Now, everything uploads just fine, but when I hit the serial button, I get an error that says that COM3 could not open. I do not always get this error though, most of the times it just says “fail to connect to serial”. Here is a screen grab from my serial:
Is my issue hardware related or am I not configuring something correctly? Here is my .ini file too:

Thanks!
