CONFIG issues with 18F26K22


Results 1 to 13 of 13

Threaded View

  1. #1
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    80

    Default CONFIG issues with 18F26K22

    Hi everybody,

    I am trying to replace a 18F2685 by an 18F26K22 on an old design.
    Everything should be compatible providing a correct configuration of my new PIC.
    But the new CONFIG is more complex than with the old one.

    Moreover I need to use a PicKit3 instead of a PicKit2 but this should not be a problem.

    I am using an external 8 MHz xtal and I do not need any BOR reset, stack overflow reset, watch dog, etc..
    I do not care about code protection

    I have built my CONFIG accordingly with the help of the .INFO file.

    I can program my device, but the program does not work.
    When I try to debug, MPLAB IDE slows, sometime hangs, and after a few seconds displays a message :

    PK3Err0040: The target device is not ready for debugging.
    Please check your configuration bit settings and program
    the device before proceeding.
    I suspect that my CONFIG is not appropriate. Please see the attached file.

    I am surprised by at least two things :
    IESO is OFF by default. Am I right if I set it ON ?
    What about DEBUG. ON, OFF, managed by the debug program ?

    I have tryied several combinations but no way.

    Can you see any obvious issue in my CONFIG file ?

    Thank you for your help.

    MikeBZH
    Attached Files Attached Files

Similar Threads

  1. DT_INTS and 18F26k22
    By Mike2545 in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 9th September 2017, 16:08
  2. 12F1840 config issues
    By enigma in forum PBP3
    Replies: 13
    Last Post: - 15th February 2015, 07:49
  3. 18F26K22 slow startup
    By Tobias in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 7th January 2014, 22:10
  4. Compiling for 18F26K22 - Does anyone have a solution for me?
    By Balachandar in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th August 2012, 12:49
  5. 12c508a Device Config. And Burning Issues
    By sayzer in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th March 2006, 16:50

Members who have read this thread : 2

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