之前都是用单片机直接调试,学习了proteus后想测试一下。

遇到不少问题,串口通讯是我调试的主要工具,但是proteus老出乱码,所以总结一下我的学习过程。

一方面自己做个记录,另一方面也为有需要的朋友做个参考。

 

proteus测试stm32虚拟串口:

解决proteus8.6 串口调试出乱码

 

proteus测试stm32虚拟串口配置:

解决proteus8.6 串口调试出乱码

 

其它设置如下:

proteus中芯片(stm32f103R6)Crystal Frequency设置为48MHz
Virtual Terminal 的Baud Rate设置为57600
COMPIM 属性 -> Physical Banud Rate =9600 , Virtual Banud Rate =57600
sscom上波特率:9600

PA9  - Virtual Terminal RXD
PA10 - Virtual Terminal TXD

PA9  - COMPIM TXD
PA10 - COMPIM RXD

 

proteus测试stm32虚拟串口配置输出效果:

解决proteus8.6 串口调试出乱码

 

参考:

http://www.51hei.com/bbs/dpj-169952-1.html

https://blog.csdn.net/qq_40442656/article/details/105261939

 

 

 

 

相关文章:

  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 1970-01-01
  • 2021-11-10
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-30
  • 2022-12-23
  • 2021-05-13
  • 2022-12-23
  • 2021-08-06
  • 2021-12-31
相关资源
相似解决方案