Proton PICBASIC Development Forums  

Go Back   Proton PICBASIC Development Forums > Miscellaneous > The Lounge

The Lounge Discuss, pretty much anything, but of course you can't beat PIC / Electronics related things

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 5th February 2008, 19:33   #1
Kabron
Licensed User
 
Kabron's Avatar
 
Join Date: Feb 2005
Location: Moscow
Posts: 236
Kabron is on a distinguished road
Send a message via ICQ to Kabron
Default PIC Serial Sniffer

This is the first version of the serial sniffer (may be Poor man Sniffer is more suitable) I hope it'll be as usefull for all as for me.
The device intersepts all serial trafic between any two devices and transmit it to any terminal @ constant speed (115200).

Features:
AutoBaudDetect in the range of 1200 - 115200
Data direction marking.
ASCI or HEX data presentation.
ANSI terminals support - color data direction indication.
Remember last setting.
No external power, powering from any port.
USB to Serial adapters compatible.

In the next version:
Change to PIC16F88,
More flexible AUTOBAUD,
Serial bootloader,
Ability to direct connection to each of device under monitoring.
May be some data filters...

In attached:
Proton source and hex,
Proteus schematic and simulation projects.
Attached Thumbnails
Click image for larger version

Name:	PDA.jpg
Views:	485
Size:	27.2 KB
ID:	2371   Click image for larger version

Name:	pc_capture1.jpg
Views:	415
Size:	25.9 KB
ID:	2372   Click image for larger version

Name:	pc_capture2.jpg
Views:	331
Size:	24.6 KB
ID:	2373   Click image for larger version

Name:	Top.jpg
Views:	445
Size:	32.0 KB
ID:	2374  
Attached Files
File Type: zip CommSniffer.zip (291.3 KB, 455 views)
__________________
There are 10 types of compilers in the world...

Last edited by Kabron; 5th February 2008 at 19:36.
Kabron is offline   Reply With Quote
Old 6th February 2008, 01:02   #2
SmallFry
Licensed User
 
SmallFry's Avatar
 
Join Date: Mar 2006
Location: Hampshire UK
Posts: 241
SmallFry is on a distinguished road
Default

Nice one! It looks like an excellent little tool and would be very useful too.

I see you opted not to use the solder mask then.
SmallFry is offline   Reply With Quote
Old 6th February 2008, 09:17   #3
Richard
Licensed User
 
Richard's Avatar
 
Join Date: Feb 2002
Location: Sheffield
Posts: 877
Richard is on a distinguished road
Default

What model of PDA is that ?

Does it have a standard serial port on it ?
Richard is offline   Reply With Quote
Old 6th February 2008, 09:21   #4
Kabron
Licensed User
 
Kabron's Avatar
 
Join Date: Feb 2005
Location: Moscow
Posts: 236
Kabron is on a distinguished road
Send a message via ICQ to Kabron
Default

Quote:
Originally Posted by Richard View Post
What model of PDA is that ?

Does it have a standard serial port on it ?
On the photo it is Fujutsu-Siemens Loox 720, but any PC or PDA with serial port can be used. In case of port absence USB-to-RS232 works fine.

It use PIC hardware serial port for listening and one software(@115200) for transmitting to monitor terminal. All details in attacment.

Last edited by Kabron; 6th February 2008 at 09:24.
Kabron is offline   Reply With Quote
Old 6th February 2008, 09:39   #5
Lester
Administrator-01
 
Lester's Avatar
 
Join Date: Jan 2002
Location: Google Earth - CB6 3PZ
Posts: 1,426
Lester has disabled reputation
Default

Well done Kabron, really nice project. A simple to build but very useful tool.

In recognition of your donating this project to the community, we'd like to make the following offer. Send us your files for the PCB layout, and en panels for the D Type connectors and we'll produce and ship to you a prototype PCB free of charge and an Alucase with milled end panels and full colour printing of the end panels and top side.

Contact me for further info on file formats etc.
__________________
Lester Wilson
---------------------------------
Crownhill Associates Limited
www.crownhill.co.uk
Tel: +44 1353 749990
Fax: +44 1353 749991
lester@crownhill.co.uk
----------------------------------
Lester is offline   Reply With Quote
Old 6th February 2008, 10:02   #6
Kabron
Licensed User
 
Kabron's Avatar
 
Join Date: Feb 2005
Location: Moscow
Posts: 236
Kabron is on a distinguished road
Send a message via ICQ to Kabron
Default

Quote:
Originally Posted by Lester View Post
Well done Kabron, really nice project. A simple to build but very useful tool.

In recognition of your donating this project to the community, we'd like to make the following offer. Send us your files for the PCB layout, and en panels for the D Type connectors and we'll produce and ship to you a prototype PCB free of charge and an Alucase with milled end panels and full colour printing of the end panels and top side.

Contact me for further info on file formats etc.
Thanks a lot Lester for your offer. There are not designs for PCB and panels yet, but I'll make it for the next version with PIC16F88.
Kabron is offline   Reply With Quote
Old 8th February 2008, 07:12   #7
g6osv
Licensed User
 
g6osv's Avatar
 
Join Date: Feb 2002
Location: Warrington UK
Posts: 70
g6osv is on a distinguished road
Default

How do you find the schematic if you dont have Proteus?
Ian
g6osv is offline   Reply With Quote
Old 8th February 2008, 16:27   #8
Kabron
Licensed User
 
Kabron's Avatar
 
Join Date: Feb 2005
Location: Moscow
Posts: 236
Kabron is on a distinguished road
Send a message via ICQ to Kabron
Default

Quote:
Originally Posted by g6osv View Post
How do you find the schematic if you dont have Proteus?
Ian
?????
__________________
There are 10 types of compilers in the world...
Kabron is offline   Reply With Quote
Old 8th February 2008, 16:49   #9
Tim
Super Moderator
 
Tim's Avatar
 
Join Date: Jan 2003
Location: london
Posts: 8,150
Tim has disabled reputation
Default

Quote:
How do you find the schematic if you dont have Proteus?
You can download the demo from labcenter
__________________
Tim
Tim is offline   Reply With Quote
Old 8th February 2008, 22:22   #10
g6osv
Licensed User
 
g6osv's Avatar
 
Join Date: Feb 2002
Location: Warrington UK
Posts: 70
g6osv is on a distinguished road
Default

Thanks
g6osv is offline   Reply With Quote
Old 31st August 2008, 08:35   #11
sdrguy
Forum User
 
Join Date: Aug 2008
Posts: 2
sdrguy is on a distinguished road
Default Kabron

Kabron,


I am getting errors running your software through the ISIS 7.0

When I reply, I will post the errors messages.

I am sure it is something simple.

Thanks for making this Kabron.
sdrguy is offline   Reply With Quote
Old 1st September 2008, 08:22   #12
Kabron
Licensed User
 
Kabron's Avatar
 
Join Date: Feb 2005
Location: Moscow
Posts: 236
Kabron is on a distinguished road
Send a message via ICQ to Kabron
Default

Quote:
Originally Posted by sdrguy View Post
Kabron,


I am getting errors running your software through the ISIS 7.0

When I reply, I will post the errors messages.

I am sure it is something simple.

Thanks for making this Kabron.
Hi, sdrguy. Would you be kind to give some more details. What errors, etc.
Kabron is offline   Reply With Quote
Old 25th February 2009, 02:04   #13
mfx12
Forum User
 
Join Date: Sep 2008
Posts: 2
mfx12 is on a distinguished road
Default

Hi, thanks for posting this, it looked useful for a project I'm currently working on so I built one. Unfortunatly mine doesn't seem to work :-( I did make a few changes, I used an FTDI USB UART module for the comms to the PC and it also provides the power to the PIC rather than taking power from the RS232 ports, but that shouldn't make much difference. Can you confirm what it should do on power up? should LED's flash or should some "hello I'm here" text be sent to the PC? Also can you confirm what the fuse settings should be in case I've got them wrong ?

Regards.
Martin.
mfx12 is offline   Reply With Quote
Old 27th February 2009, 09:18   #14
Kabron
Licensed User
 
Kabron's Avatar
 
Join Date: Feb 2005
Location: Moscow
Posts: 236
Kabron is on a distinguished road
Send a message via ICQ to Kabron
Default

Quote:
Originally Posted by mfx12 View Post
Hi, thanks for posting this, it looked useful for a project I'm currently working on so I built one. Unfortunatly mine doesn't seem to work :-( I did make a few changes, I used an FTDI USB UART module for the comms to the PC and it also provides the power to the PIC rather than taking power from the RS232 ports, but that shouldn't make much difference. Can you confirm what it should do on power up? should LED's flash or should some "hello I'm here" text be sent to the PC? Also can you confirm what the fuse settings should be in case I've got them wrong ?

Regards.
Martin.
Hello mfx12
Using FTDI chip is the right solution which i also include in second version of the device. There are not any specific fuse settings and i flash the chip with the attached hex as is with the PICKit2 programmer. Pleas test that XTAL is generating. There are not 22pF capacitors in my schematic and everything works fine, but if your crystal have different parameters it may cause the problem.
After powerup you must see on the terminal(115200) current settings and after sending "h" - some help.
You can also fully simulate and test the device operation in Proteus. Demo version is quite well for it.
Attached Thumbnails
Click image for larger version

Name:	comsniffer.jpg
Views:	116
Size:	19.9 KB
ID:	3334  
__________________
There are 10 types of compilers in the world...

Last edited by Kabron; 27th February 2009 at 09:19.
Kabron is offline   Reply With Quote
Old 14th June 2009, 09:29   #15
brokentesting
Forum User
 
Join Date: Jun 2009
Posts: 1
brokentesting is on a distinguished road
Default Kabron's Pic Serial Sniffer 2

Kabron,


Are you still in the process of making the 2nd Generation of Pic Serial Sniffer?

Please inform me/us

Thank you
brokentesting is offline   Reply With Quote
Old 30th October 2009, 11:10   #16
linoko
Forum User
 
Join Date: Dec 2005
Posts: 3
linoko is on a distinguished road
Smile About 2-nd version

Hi Karbon,
I want to ask you what is the date of the release of your 2-nd version ComSniffer, i'm waiting it.

Best regards
Konstantin
linoko is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pic to serial connection Wilfried_1 Proton Plus Compiler v3 6 24th July 2007 11:54
8pin PIC serial capable? Psymiley The Lounge 4 17th January 2007 23:54
Serial data between 1 master pic & 8 slave pic Roshan Proton Plus Compiler v3 2 23rd September 2005 12:21
signal the pic to do serial io glmclell Proton Plus v2.1.5.3 General Discussion 5 12th September 2004 20:43
Pic To Pic Serial Communication. Maverick Pretourian Proton Plus v2.1.5.3 General Discussion 6 1st March 2003 10:48


All times are GMT +1. The time now is 11:49.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © Crownhill Associates Limited 2002 - 2009