GithubHelp home page GithubHelp logo

com0com-serial-port-sniffer-testing's Introduction

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

com0com-serial-port-sniffer-testing's People

Contributors

xiaolaba avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

mstroehle

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.