Page 1 of 1

serial communication through ICD2 debugger

Posted: Wed Jun 18, 2008 10:48 am
by saravana_3
hi,
i am having a development board(HP-488-00-03) which is not supporting the serial communication, i am using the 16f88 and i am using the ICD2 debugger for debugging the codes, my development board support the ICD2, my ICD2 has the RS232 port,
in this case am i able to do the serial communication between the PC and ICD2, is it any external hardware like max 232 (driver) to step up the voltage to the PC level or the ICD2 itsself already built in with the driver,

is it able to communicate through the hyperterminal in the pc
my PC dont have the serial port am i able to use the serial to USB
thanks
Saran

Re: serial communication through ICD2 debugger

Posted: Wed Jun 18, 2008 3:27 pm
by Sean
Hello Saran,

You will not be able to use the RS232 port on the ICD2 to test the serial communications of the PIC16F88 application. If you have access to a max232 circuit you should be able to convert the PIC TX (RB5) and RX (RB2) signals, from the terminals on the right-hand side of the HP-488, to levels suitable for a PC RS232 port. If your PC does not have an RS232 port a USB to RS232 adapter should work (we have tested several of them) and communicate successfully with Hyperterminal.

Re: serial communication through ICD2 debugger

Posted: Thu Jun 19, 2008 9:22 am
by Benj
Hello Saran

Here is an example of how to do the RS232 voltage shifting with simple resistors and diodes. Have a look at the schematic file.

http://www.bobblick.com/techref/project ... dterm.html

This method is probably not as reliable as the Max232 method but I have tested it myself and it does work.

Re: serial communication through ICD2 debugger

Posted: Fri Jun 20, 2008 1:54 am
by saravana_3
thank you Sean
thank you Benj
i will try the both methods
thanks
Saran