MPASM woes - Path length perhaps?
My problems with MPASM appears to be a path, path length, or similar problem. Plus a remnant @ _config_ issue.
I found a comment on the PICBasic List.
(quote) When ever I use MPLAB I make sure there is a full copy of PBP in the Mplab directory and place my PBP program in the directory too. This prevents all
the problem with paths etc. (endquote)
I also found other comments that the total path length must be short so I shifted my code from 'my documents' up to an entry in c:\ and I copied all my PBP files to c:\program files\microchip\MPASM Suite.
It nearly works now. I still get errors when I use the line
@ _config_HS_OSC &_BOD_OFF &_PWRT_ON &_WDT_ON &_PROTECT_OFF
If I comment that line out completely I get no errors, just warnings about page boundaries which I assume PBP has taken care of for me. I would rather have the explicit configuration line active.
Nearly there maybe. What a drama.
Cheers
Brian
MPASM - still not quite there
Thanks Darrel,
I copied your line into my code. It tellls me I now have 2 errors but only one error gets shown with three messages on the bottom of the MCSP screen.
Error [118].....Overwriting previous address contents (2007)
Message [306] Crossing page boundary..ensure page bits are set.
Message [306] Crossing page boundary..ensure page bits are set.
Message [306] Crossing page boundary..ensure page bits are set.
Do the page bits get set autometically?
What does error 118 mean and how do I fix it?
Brian