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]
Bookmarks