How can I boot loader code from PC to Microcontroller (pic18f8722)?
What are the steps that I need to do in c file code, and the steps that I need to do in the PC?
I try to do it with Colt Bootloader and Tiny PIC Bootloader but it doesn't work.
I hope someone can help me.
Thanks
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
Posted: Sun Oct 24, 2010 11:01 am
There is a bootloader that comes with CCS PIC-C.
Have you looked at that yet?
It takes a bit to understand it - but it's worth it. _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
Posted: Sun Oct 24, 2010 11:36 am
A boot loader doesn't avoid the need for at least one device programmer I don't know if you are attempting to avoid the purchase of a device programmer. The boot loader is a substitute for a device programmer but only to a degree. The boot loader and the device programmer are necessary but only the programmer is sufficient. The boot loader must first be downloaded into the PIC device by a device programmer. The boot loader is never a good first project. It requires much awareness of where code is placed and of the relocation of vectors. It's a terrific learning experience but its not for the faint at heart. Issues with the boot loader are difficult to trouble shoot. Communication areas between the running code and the boot load code are needed as is experience with the CCS #org statement. There are very good examples if you search this forum but it will need much attention not to create an error that will take much effort to track down.
On this board it is much more interesting for others to hear you have searched for solutions before asking the already asked and answered question.
There is no value to a boot loader unless you require in the field updates
The PC app that does the download has to be very very well written and very very well matched to the boot loader to avoid corruption of the PIC device. It's similar to updating the BIOS on a PC ...any error and it's brain dead.
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