It wasn't the path error, but that does make sense. I programmed the PIC and powered up the board and it worked, so as Phil said, appeared to be warnings not errors. I never saw any messages programming Renard code, so I thought something was wrong. 🙂
Thanks!
MPLAB definitely has the warnings option set to a lower tolerance level (higher complaining level) for programming rules. As we have seen, these sorts of things do not necessarily break things, but in general, it is NOT a good programming practice to be sloppy with initialization. As far as I can tell, those warnings indicate that register references are not being explicitly controlled by the code. There is likely some additional code that would explicitly set the regiter bank before access that is not occuring but currently does not stop it from working.
It is sort of like getting in your car in your driveway, and backing out without looking. Usually, there is not toys left behind it, nobody is on the sidewalk walking by, and your street is a quiet one so there is usually not a car back there.
But what if there IS a kid playing behind your car, or someone IS walking by, or a car is in the street- bad things happen. What if the assembler or the chip is changed so that the bank bits do NOT happen to be defaulted correctly, or something else happens like in a future feature such that needs to change the bank selection bits where the correct bank is not selected by luck? Good programming intializes variables to a known state, explicitly sets access states, clears memory (or pre-sets it) to a known state to avoid that sort of issue. That and some other "house keeping" items do seem to be missing from the FAST code like a explicit CODE setting that just completely pisses off the compiler on MPLAB X from my experience...
Sorry for the rant, but I have been involved with too many software projects that have been bitten in the butt by this sort of thing.
Kirk
I have the official PICkit 2 and have not received any error messages like that with MPLAB...... I've flashed several different firmware versions (renard, fast, ren48lsd) successfully.
