Me again... Just before someone ask me to do this I have uninstalled PBP, removed the PBP folder and reinstalled from scratch.
Setup PBP 2.50C
Setup PBP 2.60 Upgrade
Ran PBP 2.60C patch
Same issues.
Mike
Me again... Just before someone ask me to do this I have uninstalled PBP, removed the PBP folder and reinstalled from scratch.
Setup PBP 2.50C
Setup PBP 2.60 Upgrade
Ran PBP 2.60C patch
Same issues.
Mike
I've seen that same error message before... I am using PBP 3.0, but I think it is telling you that you are changing the config's twice. Once in the PBP default settings for that PIC and again in your actual program.
I think you might need to open the default include(.inc) file and remark the default configuration statement. I think??
but then again I'm not the most experienced programmer here![]()
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
Thanks for the clue.
Obviously since I reinstalled I had a fresh .inc file so I commented some lines and got rid of "Overwriting previous address content"
and for the "Duplicate label ("R1"..." I found in the file P18F25J50.INC located in the \Microchip\MPASM Suite\ folder contained twice the following line in different sections line 1673 and 1733.
Commenting either one of them didn't make a difference but commenting both got rid of the error.Code:R1 EQU H'0002'
I would really like to know why! (a bug in MPLAB?)
Mike
R1 is the name of one of PBP's system variables.
On the xxJ50 family, Microchip added the R1 bit name to the P*.inc files which conflicts with PBP.
It's not really a bug in either MPASM or PBP, but it does cause some problems.
In PBP3, new header files were created (c:\PBP3\DEVICES\*.MPASMINC) that are used instead of the normal P*.inc files.
That allows PBP to get around the problem without making everyone edit the P*.inc files in their MPLAB installation.
For older versions of PBP, you will still need to edit the MPASM P*.inc files like you figured out.
-------------------
The Overwriting Previous Address error has also been improved upon in PBP3.
You no longer need to comment the default configs from the *.inc files. Using the #CONFIG block automatically overrides the defaults.
DT
Darrel, you haven't been as active on the forum as you used to be. I can only assume that is because you are working diligently on PBP 3.x. I know that MELabs doesn't like to give any advance information, but is there something you can tell us about future developments that will get us excited?
Charles Linquist
Thank you Darrel for the clarification.
I guess I will look into getting PBP3.
Mike
You were correct Charles. Sorry, I couldn't say anything till now.
Future ... No, Current ... Yes ..., but is there something you can tell us about future developments that will get us excited?
Don't know if it will flip your kilt, but I'm pretty excited.
You may even find the first example sounds familiar.
DT
Bookmarks