View previous topic :: View next topic |
Author |
Message |
mgillespie
Joined: 19 Feb 2009 Posts: 7
|
Idiots guide to adding a SIMPLE bootloader! |
Posted: Thu Feb 19, 2009 7:07 am |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
urefowei
Joined: 21 Feb 2009 Posts: 10 Location: Philippines
|
|
Posted: Sat Feb 21, 2009 8:27 pm |
|
|
I might as well ask one too..
Thank you! _________________ EcPaCo |
|
![](templates/subSilver/images/spacer.gif) |
mgillespie
Joined: 19 Feb 2009 Posts: 7
|
|
Posted: Mon Feb 23, 2009 3:17 am |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
|