BLL
Joined: 11 Nov 2006 Posts: 181 Location: Birmingham, UK
|
18LF2620 bootloader *** Locked - Duplicate topic. |
Posted: Tue Sep 22, 2015 1:21 pm |
|
|
++++++++++++++++++++++++++
Use your main bootloader thread for replies.
- Forum Moderator
++++++++++++++++++++++++++
Thanks for the reply.
This is what I have done:
I have edited ex_bootloader.c as follows:
#elif defined(__PCH__)
#include <18F2620.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=10000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7) // Jumpers: 8 to 11, 7 to 12
#endif#elif defined(__PCH__)
#include <18F2620.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=10000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7) // Jumpers: 8 to 11, 7 to 12
#endif
I have also altered PIN_B1 to PIN_A5 as this where my pullup resistor and switch to ground are connected.
I have then compiled this and programmed it into my PIC.
The confusion about the program running fine is when I programmed it into the PIC ON ITS OWN, when developing it. The serial port (com14) works fine sending and receiving data. (PL2303 USB to serial converter)
The problem is that I can't download my prog to the PIC with bootloader installed. I have tried tera term as suggested and it copies 3.4% and grinds to a halt. I also tried ccsLoad downloaded from CCS and no go. No go with siow either! I have tried it on both a WinXP machine and a Win7 32bit machine, with identical results.
Now perhaps you can see why I'm stuck! |
|