Pages: [1]   Go Down
Author Topic: Serial Port Sniffer  (Read 1750 times)
0 Members and 1 Guest are viewing this topic.
Sweden
Offline Offline
Full Member
***
Karma: 10
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I have a problem with my arduino application right now, and as far as I can see it is in the communication between my arduino and the program on the computer, so what I need now is some sort of Serial Port sniffer. Does anyone know of any good ones?

Jan
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 170
Posts: 12483
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


YOu could make one yourself with a second Arduino.
Use a serial display? (only for ascii data)

What baudrate are you talking about?

Recently Nick Gammon tipped me this one - http://www.saleae.com/logic/ -
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

France
Offline Offline
God Member
*****
Karma: 4
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You may now use your Arduino as 'Salea like' logic analyzer !!
http://arduino.cc/forum/index.php/topic,52881.0.html
http://arduino.cc/forum/index.php/topic,69885.0.html
« Last Edit: August 28, 2011, 06:56:53 pm by al1fch » Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16564
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Or get one of those low cost TTL serial cables and use a PC terminal program.



http://www.ebay.com/itm/320702338665?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649
Logged

Sweden
Offline Offline
Full Member
***
Karma: 10
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've already thought about using my second arduino as sniffer, but what i meant was a computer program (software only).

Jan
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 40
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you not debug your PC app?  Set breakpoints and look at variables?
Logged

http://ilektron-x.blogspot.com - Hacking and General Electronics Goodness

France
Offline Offline
God Member
*****
Karma: 4
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I've already thought about using my second arduino as sniffer, but what i meant was a computer program (software only).
On Windows XP I use sometimes HDD Free Serial Port Monitor for Request/Answer debugging
http://www.serial-port-monitor.com/index.html
here is a view of 'blink.hex' uploading begining :


* bootloading blinkpde.jpg (167.37 KB, 859x555 - viewed 13 times.)
« Last Edit: August 29, 2011, 06:22:06 am by al1fch » Logged

Sweden
Offline Offline
Full Member
***
Karma: 10
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's a commercial PC program, so I do not have any source.

I've already tried HHD Free Serial Monitor, but it refuses to start.

Jan
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 170
Posts: 12483
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Refuses to start here too, win 7 / 64 - says I have no admin rights for driver sort of ... smiley-sad  ==> uninstall
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Sweden
Offline Offline
Full Member
***
Karma: 10
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That's same problem I had, but with 32bit windows 7.

Jan
Logged

France
Offline Offline
God Member
*****
Karma: 4
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As said in my post I use this software under XP only.
It's an 'old' 32bit 2000/XP closed source commercial software.
I hope someone will find a mutiplatform open source software with same ergonomy !!
rapidly tested on Ubuntu : jpnevulator
http://jpnevulator.snarl.nl/
« Last Edit: August 29, 2011, 12:29:41 pm by al1fch » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you're using a 32-bit Windows flavor you might want to look into portmon (http://technet.microsoft.com/en-us/sysinternals/bb896644).  It's pretty bare bones, but I've found it useful.
Logged

Pages: [1]   Go Up
Jump to: