-
Define Osc Not Working
Hi all,
Has anyone else had trouble with clock speed?
No matter what i define the oscilator as PBP seems to think its 4MHz. Yes HS is set in mplab, when blowing the chip. I need a 20MHz osc to get the speed & resolution I need, but then cant use serout. 12000 (5 * 2400) baud does not exist. I have version 2.33 of PBP.
Regards
Bob...
-
Have found the cause of the problem, or rather have found a cure, still not sure what the problem is.
In micro code studio uncheck "Microchip MPASM" in the assembler options window.
Not sure whats assembling the code now but it works...
-
Hi Bob,
When you uncheck the MPASM box, it automatically reverts to PM as the assembler. This is the assembler that comes with PBP
MPASM is case sensitive, PM is not. So when using MPASM "Osc" needs to be all caps.
Define OSC 20
HTH,
Darrel
-
Oh i see. Thats handy to know, since my old copy of PM assembler may not work with more modern chips. Thank you Darrel....
Regards
Bob...