USART in Proteus not displaying any characters / Issue also with Blue Pill board
- March 11, 2026
- 1 reply
- 811 views
I am trying to use USART in Proteus, but it is not displaying any characters in the virtual terminal. In fact, nothing is appearing at all.
My workflow was:
-
I first generated the .ioc configuration using STM32CubeMX.
-
Then I generated the project and built it in STM32CubeIDE to create the .hex file.
-
I loaded this .hex file into the STM32 in Proteus.
For USART communication:
-
I am using USART2.
-
PA2 → TX
-
PA3 → RX
I also verified the following:
The baud rate is the same in both:
STM32CubeIDE code
Proteus Virtual Terminal
I even simplified the code to just print a simple string using UART, but nothing appears in the Proteus virtual terminal.
I followed several tutorials, but I still cannot determine what I might be doing wrong.
At the moment, the UART in Proteus is not displaying any characters at all.
I would appreciate help identifying what might be causing the USART not to work in Proteus.
In this project, I am implementing a Publisher–Subscriber model. However, before proceeding further, I want to verify the UART functionality.
Currently:
The UART transmission is not printing anything in the Proteus virtual terminal.
Once this issue is resolved, the next functionality I want to test is receiving data over RX, so that the system can process incoming messages as intended within the Publisher–Subscriber architecture.
At the moment, I would mainly appreciate help in identifying why the UART output is not appearing, and then ensuring that RX reception also works correctly afterward. I have attcahed the whole project found below can you please check if i have correctly configured the ioc file and cube ide code according to which the uart functionality might get disturbed or there is any other reason?I ahve aslo attcahed the proteus usart terminal screen shot its not showing anything .
