找回密码
 立即注册
楼主: jmg

USB to 2 serial ports-STC8H tests, and bugs

[复制链接]
  • 打卡等级:以坛为家I
  • 打卡总天数:328
  • 最近打卡:2025-03-09 19:40:01

9

主题

328

回帖

4501

积分

荣誉版主

积分
4501
发表于 2023-5-9 12:55:18 | 显示全部楼层
乘风*** 发表于 2023-5-9 10:05
What's the name of this software? I want to test it with this software.

Seems that it is just an oscilloscope connecting to PC, so you may need their hardwares as well.

The logo on the top-left side is cleverscope.
回复 支持 反对

使用道具 举报 送花

  • 打卡等级:初来乍到
  • 打卡总天数:4
  • 最近打卡:2025-05-01 06:58:22

5

主题

184

回帖

1333

积分

金牌会员

积分
1333
发表于 2023-5-9 12:55:50 | 显示全部楼层
本帖最后由 jmg 于 2023-5-9 14:24 编辑

The capture software is a std storage scope, in this case cleverscope.
The COM sending software is any decent terminal pgm.

The simpler the better, as you want to just send raw bytes, and not have too many screen repaints or parsers in the way.
I've tested on YAT_terminal and Tera Term  

To keep things really simple, I also checked the DOS command line as a batch file and even this works too, as a useful test platform, on STC8H and on CH9102  

  1. mode COM78 BAUD=2000000 DATA=8 PARITY=n dtr=OFF
  2. copy Char_U_255.txt \\.\COM78
  3. PAUSE
  4. copy Char_U_256.txt \\.\COM78
  5. PAUSE
  6. copy Char_U_257.txt \\.\COM78
  7. PAUSE
  8. copy Char_U_384.txt \\.\COM78
  9. PAUSE
  10. copy Char_U_1024.txt \\.\COM78
  11. PAUSE
复制代码


With the above, STC8H the 255 byte file looks always ok, the 257 byte file sometimes only sends one byte, and the 1024 file drops many bytes.

With Minimal COM78 BAUD=2000000 DATA=8 PARITY=n dtr=OFF this reports   
Status for device COM78:
------------------------
    Baud:            2000000
    Parity:          None
    Data Bits:       8
    Stop Bits:       1
    Timeout:         OFF
    XON/XOFF:        OFF
    CTS handshaking: OFF
    DSR handshaking: OFF
    DSR sensitivity: OFF
    DTR circuit:     OFF
    RTS circuit:     OFF


回复 支持 反对

使用道具 举报 送花

  • 打卡等级:以坛为家I
  • 打卡总天数:328
  • 最近打卡:2025-03-09 19:40:01

9

主题

328

回帖

4501

积分

荣誉版主

积分
4501
发表于 2023-5-9 13:13:06 | 显示全部楼层
Seems that the source file of this board is available at: stcai (dot) com (slash) hxgnsyb

Folder names, documents, and code comments are in Chinese, so be careful if your environment does not support it. You can check their approaches.

Untitled1.png Untitled2.png Screenshot 2023-05-09 130835.png

回复 支持 反对

使用道具 举报 送花

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )

GMT+8, 2025-5-2 17:58 , Processed in 0.122493 second(s), 62 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表