Does 16F628a support debugging or not?


Results 1 to 19 of 19

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: Does 16F628a support debugging or not?

    Something doesn't add up.
    This is from the p16F628a.inc file from MPLAB 8.84
    _CPD_OFF is defined, and it compiles fine with the stated config lines.

    Code:
    _LVP_OFF             EQU  H'3F7F'    ; RB4/PGM pin has digital I/O function, HV on MCLR must be used for programming
    _LVP_ON              EQU  H'3FFF'    ; RB4/PGM pin has PGM function, low-voltage programming enabled
    
    _CPD_ON              EQU  H'3EFF'    ; Data memory code-protected
    DATA_CP_ON           EQU  H'3EFF'    ; Data memory code-protected
    _CPD_OFF             EQU  H'3FFF'    ; Data memory code protection off
    DATA_CP_OFF          EQU  H'3FFF'    ; Data memory code protection off
    
    _CP_ON               EQU  H'1FFF'    ; 0000h to 07FFh code-protected
    _CP_OFF              EQU  H'3FFF'    ; Code protection off
    Did you re-boot your computer after installing?
    There is an MPASM-MPLAB Setup that runs once on booting that connects PBP3 to the MPASM path.

    Did you download the larger PBP3 file that has MPLAB in it?
    Did you accept all the defaults during installation?

    If you send the .LST file after compiling, I might be able to see what's wrong. [email protected]
    Last edited by Darrel Taylor; - 5th June 2012 at 02:27.
    DT

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