Hello Bruce,
I just noticed that I have 2 copies of MPASM installed on my computer. The one that MicroCode Studio makes reference to in the PicBasic Options is addressed at C:\program files\mecanique\mcsp\mpasm and the other one is located @ C:\MPASM. The one that's accessed by MicroCode Studio is version v03.50 and the other one is v03.60. I'm not sure how that happened? Both versions have the identical .inc file for the 18f452, their both Standard Header File, Version 1.4. So the one I included as an attachment in my post here is the same. The newer version has a MIGRATE.INC & a P18MACRO.INC files that the v03.50 doesn't have so that's probably the reason for the PLL not working properly. I think I remember reading a couple of years ago in the archives in a post that you can fool PBP to run faster by defining a higher osc setting than the one your using or something like that and the end result was that you had to redo all your pause settings after fooling PBP. And when I ran into that problem I didn't think about it right, I should have looked for that post to confirm.
I guess I should delete the v03.50 and keep the v03.60 then direct MicroCode Studio to use the newer version or maybe just download and install the newest version. When I tried commenting out the code for the fuse settings it was the file at the C:\MPASM location which wouldn't have had any effect at all? I feel like an idiot. But I'm still not sure which lines to comment out because they aren't the same as the one you pointed out to me in your last post or on any other posts that I've seen so far? Maybe the newer version will have the lines you suggested to comment out. What is the newest reliable version of MPASM that available for download? I've read that some guys regret upgrading to newer versions of MPASM for reasons I'm not familiar with.
Anyways I'll check and see if I can find the newest version and try that to see how it works out or now that I know what's going on maybe I'll try modifying the proper .inc file. I'll get back to you with my results.
Thanks for your help
jessey
Bookmarks