+ Reply to Thread
Results 1 to 2 of 2

Thread: 18f1320 icd

  1. #1
    Join Date
    Mar 2011
    Los Angeles, California

    Default 18f1320 icd

    Hi All!
    So I have a project that requires a 18F1320. I can compile the program in MicroCode Studios PBPX 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

  2. #2
    Join Date
    Nov 2003
    Wellton, U.S.A.

    Default Re: 18f1320 icd

    ADCON1 = %01111111
    To make the ADC all digital.
    Always wear safety glasses while programming.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts