
Originally Posted by
koossa
I have upload the hex file (16F877_04.hex), but still gets the "Reset Required, please reset the target microcontroller in order to access to the bootloader process... ". error if I try to program it through my serial cable?
You say you are successfully doing serial comms already but this only requires TX and RX (as does the bootloadr for actual programming) but you need a way to restart the PIC so that it looks for the bootloader when it boots from a reset.
Do you have the DTR (Pin4) line connected to MCLR so that the bootloader can reset the PIC ?

IF not, you either need to do that, or have a reset button on your PCB that you can reset the PIC with (or power down the PIC).
I prefer the reset button method personally as previously when using the DTR line my program would reset when I opened the serial port on the PC.
Regards
Keith
www.diyha.co.uk
www.kat5.tv
Bookmarks