Thanks Brian,
That's pretty much what I've done. I import the 16F88_04.hex in MPLAP, change the config-bits to internal oscillator and program the chip with my PICSTART+.
BUT I can't get my application downloaded thru the bootloader since the command that sets the OSCCON register is in MY application program and not in the bootloader stub currently running on the chip.
The chip boots up on the internal oscillator @31.25kHz but since nothing in the bootloader .hex file sets the OSCCON register the chip keeps running at that speed and the bootloader is a no-go...
So what I need is to somehow modify the 16F88_04.hex file to include a command that sets OSCCON to $68 so that the chip speeds up from 31.25kHz to 4Mhz when it starts up....I think ;-)
Or did I completely missed your point?
Thanks again!
/Henrik.






Bookmarks