18f1320 icd


Closed Thread
Results 1 to 2 of 2

Thread: 18f1320 icd

  1. #1
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322

    Default 18f1320 icd

    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

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: 18f1320 icd

    Try
    ADCON1 = %01111111
    To make the ADC all digital.
    Dave
    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