xiaolaba / com0com-serial-port-sniffer-testing

serial port / UART sniffer, not only logger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

com0com-serial-port-sniffer-testing

serial port / UART sniffer, not only logger

initiation

https://github.com/xiaolaba/Curve_Tracer_testing/blob/main/README.md#crlf-redundant-whether-the-logger-fault-

used virtual com port driver win10 64bit, works

reading,
http://com0com.sourceforge.net/
https://github.com/paulakg4/com0com
open source, com0com-3.0.0.0-i386-and-x64-signed.zip, https://sourceforge.net/projects/com0com/files/latest/download
commercial, https://www.virtual-serial-port.org/

sohaware

software and hardware setup, aka so-ha-ware, sohawre
crlf_debugger.JPG

testing and code

  1. install com0com-3.0.0.0-i386-and-x64-signed.zip
  2. setup com0com0
    setup_com0com.JPG
  3. create a pair virtual com8 and com9, uses port Class only
    setup_com0com_com8_com9.JPG
  4. SerialSniffer, build this C# software by visual studio, https://github.com/xiaolaba/SerialSniffer
  5. check arduino connect comport, mine is com14, edit the a.bat with this com14
  6. burn the arduino code test_python_crlf.ino
  7. build hostware python code, test_python_crlf, this is a version of source code and devirved from https://github.com/xiaolaba/Curve_Tracer_testing/
  8. goto SerialSniffer & exe build folder, mine is SerialSniffer-master\SerialSniffer\bin\Debug
  9. create a.bat in exe build folder, or input with your command prompt SerialSniffer -rx COM8 -tx COM14 -baud 1000000 -output sniffed.txt
  10. run a.bat, will open SerialSniffer
  11. goto folder test_python_crlf, run_py.bat, will open hostware for testing, select com9, click RUN
  12. look at the serial port and screen output, something like this
    SerialSniffer_test_done1.JPG
  13. job done, Serialsniffer is working flawnessly

conclusion

previously used UART sniffer/logger has bug but commercial product of which no fix yet. reduntant_CRLF.JPG

reading, reference,
https://moon-half.info/p/3491
https://cloud.tencent.com/developer/article/1030914

did not work http://www.sudt.com/cn/stax/download.htm

About

serial port / UART sniffer, not only logger

License:MIT License


Languages

Language:Batchfile 100.0%