electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How to do reverse Engineering On RS232 and RS485


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> How to do reverse Engineering On RS232 and RS485
Author Message
narindia16



Joined: 04 Aug 2009
Posts: 16
Location: Ambala


Post25 Aug 2009 10:10   

rs232 reverser


Hello Friends,

I want ur advice on reverse engineering technique of RS232 and RS485 ports. Suppose we have connected a device (LED display in my case) on computers port i want to read the information being sent on that ports.

In my case a computer program is sending some information and led display board is displaying that. I want to know its protocol. Tell me what is the most effective way to read that information???

Waiting for your response guys........
Back to top
sau_sol



Joined: 27 Feb 2008
Posts: 249
Helped: 27
Location: India


Post25 Aug 2009 10:51   

rs485 reverseing


Connect another cable between the two connectors

i.e connect Rx of another COM port to the Tx of the data sent by PC to what PC is sending
or connect Rx of another COM port to Tx of the Device (in u r case LED blink device) to see what is the response

Added after 1 minutes:

Connect another cable between the two connectors

i.e connect Rx of another COM port to the Tx of the data sent by PC to what PC is sending
or connect Rx of another COM port to Tx of the Device (in u r case LED blink device) to see what is the response


If you are not getting data try changing Baud rate, Or parity setting so you will get the proper setting of data communication between the two devices
Back to top
narindia16



Joined: 04 Aug 2009
Posts: 16
Location: Ambala


Post25 Aug 2009 10:53   

reverse engineer rs232


Thanks a lot for the reply.

I know this but i want to know how i will see the response??? suppose i connected my computer inbetween that computer(sending data) and the device........how i will trace the response........actually i want to know the protocol........
Back to top
sau_sol



Joined: 27 Feb 2008
Posts: 249
Helped: 27
Location: India


Post25 Aug 2009 10:55   

reverse engineer rs232 input


Did yo received any data using this method

if yes then post that data here so someone will find the protocol
but the electrical connector is of RS-232 compatible
and for RS485 there are only 2 wires
Back to top
narindia16



Joined: 04 Aug 2009
Posts: 16
Location: Ambala


Post25 Aug 2009 10:58   

rs232 reverse type cable


No! till now i have not done this........but i need to do this......in which software i can see the response?
Back to top
sau_sol



Joined: 27 Feb 2008
Posts: 249
Helped: 27
Location: India


Post25 Aug 2009 11:05   

rs485 howto


in windows there is inbuilt Hyper terminal software
through which you can do this
in Linux you can use Minicom

but there are also lot of software available for serial port communication
Back to top
Prabakaran



Joined: 22 Jan 2007
Posts: 160
Helped: 5
Location: Chennai(India)


Post25 Aug 2009 13:06   

revers engineering rs232


Hi I Upload this software for monitoring the data that can be received through the COM Port with variable Baud Rate
Back to top
Google
AdSense
Google Adsense




Post25 Aug 2009 13:06   

Ads







Sorry, but you need login in to view this attachment

Back to top
yashrolyan



Joined: 04 Jul 2009
Posts: 5
Helped: 1


Post25 Aug 2009 14:03   

what is rs232&rs485


keep one thing in mind that by monitoring/seeing the received/sent data on other place(like u said to see on another pc), u can know the software protocol of the string which is being sent/received (string protocol)between two devices but can not know the type of hardware platform used(i.e. RS232 or RS485).

RS232 and RS485 are only the different ways to send a serial any string (consider it like a hardware platform containing some wires on which a serial string will travel).

if u really want to know the hardware platform then check its wire connections. both protocol have different types (like for full duplex RS232 have at least 3 and RS485 at least 4)or check the voltages b/w the wires (both protocol have different voltage levels)
Back to top
narindia16



Joined: 04 Aug 2009
Posts: 16
Location: Ambala


Post25 Aug 2009 14:08   

rs232 reverse engineeing


Thank you Guys....... you really helped me a lot..........i will try the way you suggest
Back to top
madicalphy



Joined: 22 Jul 2007
Posts: 68
Helped: 3


Post02 Sep 2009 14:03   

rs232 reverse


Expansion of Input and Output (I/O) Lines of a micro-controller and method of communications, please have look on this.
http://picinf.blogspot.com/2009/08/expansion-of-input-and-output-io-lines.html

simple introduction of rs-485 protocols,
http://picinf.blogspot.com/2009/07/introduction-to-rs485.html

and

RS232 to RS485 converter related information on this page.
http://picinf.blogspot.com/2009/07/rs232-to-rs485-converter.html
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> How to do reverse Engineering On RS232 and RS485
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
TTL to RS485 and RS485 to RS232 Converter (1)
Difference between RS232 and RS485? (12)
RS232<-->RS485 IC ? (9)
RS232 to RS485 Converter (16)
Tested RS232-RS485 Converter (3)
RS232 to Rs485 Circuit, PCB (28)
RS232, RS485, TTL conversion (1)
"Reverse engineering" and encyription (2)
analog mux for RS232 RS485 (4)
REVERSE engineering (17)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS