Update:
After struggling with this problem for half a day, I have learned my lesson well. In Melabs Programmer, XT was the selected speed mode whereas HS should of been for 10 Mhz. Doh!
Update:
After struggling with this problem for half a day, I have learned my lesson well. In Melabs Programmer, XT was the selected speed mode whereas HS should of been for 10 Mhz. Doh!
Hi there,
Did you know that you can run your PIC18F452 @ 40MHz using the same 10MHz resonator! The config is then HS_PLL (It does a x4 PLL multiply)
Happy PICing
Regards
Sougata
Wow, I didn't know that. Thanks.
Where do I put this 'config' command and what is the full command to use?
Also, does PBP know that I will be doing this and adjust its pause times accordingly?
Thanks.
Hi there,
As far as I remember Melanie did give a full reference on the @config issues. I do it in a different way. I edited the 18F452.inc file in the pbp folder and change the XT_OSC to HS_PLL. Actually I run almost all my 18F452 @40MHz. That gives me fastest running code however practical serial communication is limited to 9.6K. Higher rates yield high baud rate error. BTW a simple define "DEFINE osc 40" will make your timing correct under PBP. Keep exploring.
Regards
Sougata
Bookmarks