PDA

View Full Version : 18f1320 icd



Ramius
- 13th April 2012, 13:34
Hi All!
So I have a project that requires a 18F1320. I can compile the program in MicroCode Studios 5.0.0.3 PBPX 3.0.4.4 and program the chip in MPLAB 8.84. What I can not do is run the chip in ICD mode! I get the "ICD Connection Timeout". It has been suggested that the reason is that the TX and RX pins are set to analog and not digital by default and that even if you do an ADCON1 = 7 in your code it does not change the pins to digital! Anyone know what file(s) should be modified and how? Thanks, Ed

mackrackit
- 13th April 2012, 14:00
Try
ADCON1 = %01111111
To make the ADC all digital.