Compile problem with MPLAB IDE v. 8.73


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Compile problem with MPLAB IDE v. 8.73

    Use the DT_INTS-18 version from here.

    http://www.picbasic.co.uk/forum/show...2826#post82826
    DT

  2. #2
    Join Date
    Jul 2011
    Location
    Hawaii
    Posts
    21


    Did you find this post helpful? Yes | No

    Default Re: Compile problem with MPLAB IDE v. 8.73

    Thanks Darrel as this fixed the compile error problem. Now trying to figure which configuration bits are not allowing debug to work. I had to modify the 18F26J11.inc file in my PBP directory to as follows:


    ;************************************************* ***************
    ;* 18F26J11.INC *
    ;* *
    ;* By : Leonard Zerman, Jeff Schmoyer *
    ;* Notice : Copyright (c) 2009 microEngineering Labs, Inc. *
    ;* All Rights Reserved *
    ;* Date : 03/25/09 *
    ;* Version : 2.60 *
    ;* Notes : *
    ;************************************************* ***************
    NOLIST
    ifdef PM_USED
    LIST
    "Error: PM does not support this device. Use MPASM."
    NOLIST
    else
    LIST
    LIST p = 18F26J11, r = dec, w = -311, f = inhx32
    INCLUDE "P18F26J11.INC" ; MPASM Header
    ;CONFIG XINST = OFF
    ;CONFIG OSC = HS
    ;CONFIG WDTPS = 512
    CONFIG WDTEN = OFF
    CONFIG STVREN = ON
    CONFIG XINST = OFF
    CONFIG DEBUG = ON
    CONFIG CP0 = OFF
    CONFIG OSC = INTOSCO
    CONFIG T1DIG = ON
    CONFIG LPT1OSC = ON
    CONFIG FCMEN = OFF
    CONFIG IESO = OFF
    CONFIG WDTPS = 512
    CONFIG DSWDTOSC = T1OSCREF
    CONFIG RTCOSC = T1OSCREF
    CONFIG DSBOREN = OFF
    CONFIG DSWDTEN = OFF
    CONFIG DSWDTPS = 512
    CONFIG IOL1WAY = OFF
    CONFIG MSSP7B_EN = MSK5
    CONFIG WPEND = PAGE_WPFP
    CONFIG WPCFG = OFF
    CONFIG WPDIS = OFF
    NOLIST
    endif
    LIST
    BLOCK_SIZE EQU 64


    This was the only way I could set the configuration bit to my liking although MPLAB ICE is giving me :

    ICD3Err0040: The target device is not ready for debugging.
    Please check your configuration bit settings and program
    the device before proceeding.

    Not sure which configuration setting or settings I have improperly set up for debug to work.

    - Martin

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Compile problem with MPLAB IDE v. 8.73

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Jul 2011
    Location
    Hawaii
    Posts
    21


    Did you find this post helpful? Yes | No

    Default Re: Compile problem with MPLAB IDE v. 8.73

    Thanks Steve

    I remember reading this thread a while back. Just did not sink in. All is working well now.

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