Open and edit the Microchip header file P18F4620.INC. Comment out DEBUG, and save the
file. That will get rid of the error.
LVDCON EQU H'0FD2'
OSCCON EQU H'0FD3'
; DEBUG EQU H'0FD4' ; <--- comment this out & save
T0CON EQU H'0FD5'
TMR0L EQU H'0FD6'
Open and edit the Microchip header file P18F4620.INC. Comment out DEBUG, and save the
file. That will get rid of the error.
LVDCON EQU H'0FD2'
OSCCON EQU H'0FD3'
; DEBUG EQU H'0FD4' ; <--- comment this out & save
T0CON EQU H'0FD5'
TMR0L EQU H'0FD6'
Thank you Bruce and Jeff Schmoyer.
Thank you Jeff for the prompt personal reply.
Bruce's comment above is exactly right and does fix the problem. I must say I usually regard the xxx.inc files as sacred and not to be messed with by amateurs like me.
This is what I did.
I went to c:\mpasm\p18f4620.inc and saved a copy.
I opened c:\mpasm\p18f4620.inc and a couple of pages into the file, at the first instance of the word "DEBUG" I commented out the line with a semi-colon.
OSCCON EQU H'0FD3'
; DEBUG EQU H'0FD4'
T0CON EQU H'0FD5'
Cheers
Brian
Last edited by BrianT; - 20th September 2007 at 00:08. Reason: added detail
Bookmarks