I see that some of you have been disassembling MC Loader. Awhile back, I did the same thing in order to change some time delays and jump vectors. But one thing I could never figure out -
In the PLL_18F8722_40.HEX file, MCLoader loads 0x81 into W at location 1FD06, and calls a routine that loads that literal into SPBRG. This would indicate that MCLoader is trying to run at 19.2K, but in actuality, my RS-232 sniffer shows it is running at 115K when I actually perform a bootload. Speed tests indicate the same. If I choose 19.2K in the OPTIONS of MCLoader, my code takes a long time to load (my .HEX files are all around 350K), but if I choose 115K, the code loads at normal speed.
I checked to see if bit 0 in BAUDCON1 was set anywhere, (which puts the chip in auto baud mode), but couldn't find any reference to that location. Can anyone shed some light on this discrepancy? I need the PIC side of MCLoader to run at a different baud rate (57.6K).
Bookmarks