CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

18LF2620 bootloader *** Locked - Duplicate topic.

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
BLL



Joined: 11 Nov 2006
Posts: 181
Location: Birmingham, UK

View user's profile Send private message

18LF2620 bootloader *** Locked - Duplicate topic.
PostPosted: Tue Sep 22, 2015 1:21 pm     Reply with quote


++++++++++++++++++++++++++
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!
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group