It may be too well explained, because it's absolutely Greek to me. Most of the manual and all of the datasheet are over my head.
Frankly, I don't even know what you mean by "last address in the program memory".
I've got the datasheet & can't really see anything beyond some vague references here & there to OSCCON & OSCTUNE, but nothing about how to use them. The PBP manual say to "see the speed section", which I can't find.
Bookmarks