Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Serial port sniffer?

Serial port sniffer?

Scheduled Pinned Locked Moved The Lounge
comhelpquestion
10 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wjousts
    wrote on last edited by
    #1

    Does anybody know of a quick, free program that can watch what data is going in and out on a COM port? I have a device that we need to connect to a computer that doesn't have a serial port, so we'll use a USB-Serial adapter. The problem is that the program they use to communicate to the device is hardcoded to use COM1. I want to write my own application (that isn't hardcoded to COM1), but nobody has the specification for communication with the device. I was hoping I might be able to reverse engineer it by watching what goes over COM1 when connected to a computer with a serial port. Any suggestions?

    R D L S J 5 Replies Last reply
    0
    • W Wjousts

      Does anybody know of a quick, free program that can watch what data is going in and out on a COM port? I have a device that we need to connect to a computer that doesn't have a serial port, so we'll use a USB-Serial adapter. The problem is that the program they use to communicate to the device is hardcoded to use COM1. I want to write my own application (that isn't hardcoded to COM1), but nobody has the specification for communication with the device. I was hoping I might be able to reverse engineer it by watching what goes over COM1 when connected to a computer with a serial port. Any suggestions?

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #2

      PortMon should do the trick, though I have to admit it's tedious. I have a similar need, and it's the only tool I've found. Unfortunately, the display includes a bunch of fluff that can't be shut off. Scrolling manually through the output searching for query/response patterns takes forever, but it's doable if you have lots of patience.

      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

      W 1 Reply Last reply
      0
      • W Wjousts

        Does anybody know of a quick, free program that can watch what data is going in and out on a COM port? I have a device that we need to connect to a computer that doesn't have a serial port, so we'll use a USB-Serial adapter. The problem is that the program they use to communicate to the device is hardcoded to use COM1. I want to write my own application (that isn't hardcoded to COM1), but nobody has the specification for communication with the device. I was hoping I might be able to reverse engineer it by watching what goes over COM1 when connected to a computer with a serial port. Any suggestions?

        D Offline
        D Offline
        Douglas Troy
        wrote on last edited by
        #3

        There is Serial Line Sniffer[^] and then Packetyzer[^] I have used Packetyzer, but I'm not certain it will monitor COM port traffic; but I know COM sniffer will ...


        :..::. Douglas H. Troy ::..
        Bad Astronomy |VCF|wxWidgets|WTL

        1 Reply Last reply
        0
        • W Wjousts

          Does anybody know of a quick, free program that can watch what data is going in and out on a COM port? I have a device that we need to connect to a computer that doesn't have a serial port, so we'll use a USB-Serial adapter. The problem is that the program they use to communicate to the device is hardcoded to use COM1. I want to write my own application (that isn't hardcoded to COM1), but nobody has the specification for communication with the device. I was hoping I might be able to reverse engineer it by watching what goes over COM1 when connected to a computer with a serial port. Any suggestions?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I have never smelled of a serial port.

          Regards, asxzdf213

          R 1 Reply Last reply
          0
          • W Wjousts

            Does anybody know of a quick, free program that can watch what data is going in and out on a COM port? I have a device that we need to connect to a computer that doesn't have a serial port, so we'll use a USB-Serial adapter. The problem is that the program they use to communicate to the device is hardcoded to use COM1. I want to write my own application (that isn't hardcoded to COM1), but nobody has the specification for communication with the device. I was hoping I might be able to reverse engineer it by watching what goes over COM1 when connected to a computer with a serial port. Any suggestions?

            J Offline
            J Offline
            Joshua Quick
            wrote on last edited by
            #5

            Another approach is to use a serial port breakout cable[^] or breakout box[^]. However, this is not a free option, but comes in handy if you have no control of the PC/device that is the serial master.

            P 1 Reply Last reply
            0
            • W Wjousts

              Does anybody know of a quick, free program that can watch what data is going in and out on a COM port? I have a device that we need to connect to a computer that doesn't have a serial port, so we'll use a USB-Serial adapter. The problem is that the program they use to communicate to the device is hardcoded to use COM1. I want to write my own application (that isn't hardcoded to COM1), but nobody has the specification for communication with the device. I was hoping I might be able to reverse engineer it by watching what goes over COM1 when connected to a computer with a serial port. Any suggestions?

              S Offline
              S Offline
              Stuart Dootson
              wrote on last edited by
              #6

              I've used PortMon[^] for something similar to that - debugging an embedded system's startup code when the only comms link was a serial line. It was a life saver - not only did it let me monitor code progress, but it also helped me determine the (undocumented...) serial port settings by monitoring the software loading process.

              1 Reply Last reply
              0
              • L Lost User

                I have never smelled of a serial port.

                Regards, asxzdf213

                R Offline
                R Offline
                RoswellNX
                wrote on last edited by
                #7

                asxzdf213 wrote:

                I have never smelled of a serial port.

                Hey! what's pothead[^] doing today?;P Roswell:laugh:

                "Angelinos -- excuse me. There will be civility today."
                Antonio VillaRaigosa
                City Mayor, Los Angeles, CA

                L 1 Reply Last reply
                0
                • R RoswellNX

                  asxzdf213 wrote:

                  I have never smelled of a serial port.

                  Hey! what's pothead[^] doing today?;P Roswell:laugh:

                  "Angelinos -- excuse me. There will be civility today."
                  Antonio VillaRaigosa
                  City Mayor, Los Angeles, CA

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  I do not smoke anything :|

                  Regards, asxzdf213

                  1 Reply Last reply
                  0
                  • R Roger Wright

                    PortMon should do the trick, though I have to admit it's tedious. I have a similar need, and it's the only tool I've found. Unfortunately, the display includes a bunch of fluff that can't be shut off. Scrolling manually through the output searching for query/response patterns takes forever, but it's doable if you have lots of patience.

                    "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                    W Offline
                    W Offline
                    Wjousts
                    wrote on last edited by
                    #9

                    Roger Wright wrote:

                    PortMon should do the trick

                    Thanks, did the trick for me. That and some German documentation I found that I was able to extract some small nuggets from. For some reason our corporate IT people have decided to block using Google to translate web pages :mad:

                    1 Reply Last reply
                    0
                    • J Joshua Quick

                      Another approach is to use a serial port breakout cable[^] or breakout box[^]. However, this is not a free option, but comes in handy if you have no control of the PC/device that is the serial master.

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #10

                      In the past I've made a three-ended cable and an adapter to connect a dumb terminal to view the communication between two serial devices.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups