kksk 发表于 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.

jmg 发表于 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{:smile:}

mode COM78 BAUD=2000000 DATA=8 PARITY=n dtr=OFF
copy Char_U_255.txt \\.\COM78
PAUSE
copy Char_U_256.txt \\.\COM78
PAUSE
copy Char_U_257.txt \\.\COM78
PAUSE
copy Char_U_384.txt \\.\COM78
PAUSE
copy Char_U_1024.txt \\.\COM78
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


kksk 发表于 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.



页: 1 2 [3]
查看完整版本: USB to 2 serial ports-STC8H tests, and bugs