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

Idiots guide to adding a SIMPLE bootloader!

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mgillespie



Joined: 19 Feb 2009
Posts: 7

View user's profile Send private message

Idiots guide to adding a SIMPLE bootloader!
PostPosted: Thu Feb 19, 2009 7:07 am     Reply with quote

We have some pic code running, and need to have a bootloader so we can service this PIC code in the field. We use PIC18F4685.

I have tried using the CCS Wizard to create a bootloader, and I have not had success, using siow to download code.

The comments created in the header by the CCS Wizard are very vaugue as to what needs to be done to my application that I am sending. (for example, "User must include PROJECTNAME_bootloader.C in his final Application program", is this a typo and they mean PROJECTNAME_bootloader.h ???)

Does someone have a step by step guide, suitable for total idiots, on how to get a bootloader working.

What we need is something that times out after about 5 seconds after a reset and runs the previously loaded code, using standard C6/C7 pins and 19200 Baud. We don't have access to inputs to pins set or anything.
urefowei



Joined: 21 Feb 2009
Posts: 10
Location: Philippines

View user's profile Send private message Send e-mail

PostPosted: Sat Feb 21, 2009 8:27 pm     Reply with quote

I might as well ask one too..
Thank you!
_________________
EcPaCo
mgillespie



Joined: 19 Feb 2009
Posts: 7

View user's profile Send private message

PostPosted: Mon Feb 23, 2009 3:17 am     Reply with quote

In the end, I never managed to get the CCS bootloader code working, due to insufficient documentation. I used Tiny Bootloader instead, which was well documented, and easy to setup.
Display posts from previous:   
Post new topic   Reply to topic    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