Page 1 of 1

[✓]How to connect the Ports of an USB-UART Adapter to PIC?

PostPosted: Thu Sep 29, 2011 1:47 pm
by affenkaraffe
Dear Community,

I'm currenty trying to program the PIC (PIC18F2550) to esablish an USB connection between the megadrum brain and my Notebook. I learned (two USB-Serial adapters too late :oops: ) that I need a special device for this task, as my notebook doesn't have a serial port.

So I bought a device called "FTDI USB UART Adapter für AVR PIC" which maps an USB input on six ports called CTS# (Clear to Send?) , GND, RXD (Data Recieve), VCC, RTS# (Ready to send?) and TXD (Data Transmit).
I suppose the Port VCC should be connected with the second pin of the ICSP connector on the digital board and the Port GND should go on the third.
Am I right that the first ping of the ICSP connector (pointing to PIC port 1(Vpp)) can be left unconnected?
However, I'm unsure about the remaining ports. Can anyone tell me which of the ports CTS# ,RTS#, TXD, RXD should be connected to which Port of my PIC (called PGM(26), PGC(27), PGD(28))?


Thank you,
affenkaraffe

Re: How to connect the Ports of an USB-UART Adapter to the P

PostPosted: Thu Sep 29, 2011 1:52 pm
by dmitri
As far as I know USB serial adapters are not good for ICSP programming, they don't produce enough voltage.

Re: How to connect the Ports of an USB-UART Adapter to the P

PostPosted: Thu Sep 29, 2011 2:02 pm
by affenkaraffe
Hm... perhaps I bought an ordinary USB-Serial adapter AGAIN?

I relied on a statement in the manual of this converter which says:
This converter can be used on any Micro controller - PIC, Atmel or other which has
TTL serial communications.

Did I understand this wrong?

Regards,
affenkaraffe

Re: How to connect the Ports of an USB-UART Adapter to the P

PostPosted: Thu Sep 29, 2011 3:35 pm
by dmitri
affenkaraffe wrote:I relied on a statement in the manual of this converter which says:
This converter can be used on any Micro controller - PIC, Atmel or other which has
TTL serial communications.

Did I understand this wrong?

You did. It means it can be used for communication with other TTL devices.
Using a serial (COM) port for PIC programming is a hack and requires a real COM port.

Re: How to connect the Ports of an USB-UART Adapter to the P

PostPosted: Thu Sep 29, 2011 9:59 pm
by affenkaraffe
ah I see; thank you! Then I'll continue happily with Plan... D. Find PC with a COM Port.