Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good, free serial port monitor for reverse-engineering? [closed]

I'm reverse-engineering a serial protocol and getting frustrated by bad tools. Does anyone know of a good, free tool for logging data to/from serial ports on Windows?

Requirements:

  • Must be free
  • Must not take control of the port (i.e. must hook the file APIs or the kernel rather than trying to open the device)
  • Must have some sort of filtering features
  • Writes either human-readable or binary logs, preferably in an easy to parse format

Any ideas? Portmon works, but its logs are difficult to work with and its filters are effectively useless; I've also tried a few commercial tools and nothing seems to fit the bill.

like image 302
Serafina Brocious Avatar asked Jan 20 '09 15:01

Serafina Brocious


People also ask

Is Serial Port Monitor Free?

Our software-based free serial port monitor is an ideal alternative to expensive hardware RS232/RS485/RS422 logic analyzers. This COM port analyzer utility requires no additional cabling and allows you to effectively capture/display any data and commands transmitted through your computer's serial ports.


2 Answers

I hear a lot of good things about com0com, which is a software port emulator. You can "connect" a physical serial port through it, so that your software uses the (monitored) virtual port, and forwards all traffic to/from a physical port. I haven't used it myself, but I've seen it recommended here on SO a lot.

like image 180
Coderer Avatar answered Sep 17 '22 17:09

Coderer


Portmon from sysinternals (now MSFT) is probably the best monitor.

I haven't found a good free tool that will emulate a port and record/replay comms. The commercial ones were expensive and either so limited or so complex if you want to respond to commands that I ended up using expect and python on a second machine.

like image 24
Martin Beckett Avatar answered Sep 18 '22 17:09

Martin Beckett