+ 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.

    Hi, we are pleased to see that you are using our forum.

    We'd like you to become a member of our community. Membership is FREE, please REGISTER and view our forums without these annoying reminders!

    Once registered you may post on the forums, download from the file areas and use the WIKI without interruption.

    Always wear safety glasses while programming.

Members who have read this thread : 0

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