Programming Connections for the CT-2

In order to program the PIC processor with new firmware you must have a programming interface.  The one we recommend is the ICD-U64 sold by Custom Computer Services.  This box connects to a standard USB port on your PC and to the programming port (male DB9) on the CT-2.  It is necessary to build an adaptor cable to go between the U64 and the CT-2.  Here are the directions for wiring the cable.

 

Use a standard CAT5 network cable with RJ-12 connectors at each end.  Cut the RJ-12 cable to provide a suitable length for connecting in your environment.  Connect a standard female DB9 connector to the cut end as shown in the wiring chart below. Be sure that the RJ-12 pin 1 is to DB9 pin 8.

Note that the board needs to be powered up to program the PIC.

 

ICD-U64
(RJ-12)
DB-9 CT-2 Usage Programming usage
1 8 RB3 PGM
2 7 RB6 PGC
3 6 RB7 PGD
4 5 Ground  
5 9 +5 volts  
6 4 MCLR PIC Reset

The software that comes with the ICD package is used to write the program into the PIC program memory space.  You need a HEX File containing the code to be written.  You can get that from us under the terms outlined in the upgrade section of the products page.  The CCSLOAD program also contains a diagnostic section to help figure out what is wrong in case the interface does not work.

Alternatively, if you have the supplied RJ-12 jumper that comes with the ICD programmer, you may wish to make up an adaptor as shown in the diagram below.
Note that using the supplied jumper reverses the order of the pins from one end to the other, so the table below is not the same as the one above.

 

 

 

 

 

 

 

 

 

 

 

 

  DB9 Pin          RJ12 Pin       Usage

1

 

Unused

2

 

Unused

3

 

Unused

4

1 Blue

MCLR

5

3 Green

GROUND

6

4 Red

PGD (B7)

7

5 Black

PGC (B6)

8

6 White

DIAG (B3)

9

2 Yellow

+5 VOLTS

 

 

NOTE: Colors shown are as found on the adaptor pictured on the right. The colors are exactly reversed from the standard RJ12 colors.  Your adaptor might be different.  Hint: You can push the pins into the DB9 connector until the pin is just flush to the connector and test it that way.  It will still make contact but you will also be able to pull the pins out and change if necessary.  Once you use a small device to push the pins the rest of the way in (until they click) you will not be able to remove them except by buying a special extraction tool.

 

 

To return to Ordering Page use back key or click here.