EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Bootloader for PIC18F8722

Started by k5oor December 1, 2010
I plan to implement an assembly language bootloader for the PIC18F8722 microcomputer using AN1310 as a guide.

It seems straight forward. Anyone gone down this path before with comments or alternative suggestions?

Virgil

A project that I'm working on may need a bootloader. I hope you let
the list know how it goes and what not to do as you work on this.
On Dec 1, 2010, at 9:42 AM, k5oor wrote:

> I plan to implement an assembly language bootloader for the
> PIC18F8722 microcomputer using AN1310 as a guide.
>
> It seems straight forward. Anyone gone down this path before with
> comments or alternative suggestions?
>
> Virgil
>
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions
Philippe Habib,
I plan to file post it after I confirm operation.
See my other file post (extended math for PIC18).
K5OOR - Virgil

Hello Philippe and the group,

I was surprised at how easy the project went together. I compiled the boot loader with the low block default.

I moved my application to start at 0x0400. It required changing some org statements. The 3 vectors instead of 0, 8 and 18 are now 400 408 and 418.
Nothing else was touched. I set the pc boot load program baud rate to equal my normal com1 baud rate of 57,600.

It came up running. Really slick.
I may look into doing something with the RX break detect to trigger a jump to start. The app note has suggestion on that.

Good luck with it! Start by downloading AN1301 from Microchip. It provides the folders for both PIC16 and PIC18 and all the needed files. The PC program is setup to get the job done. I used my ICD3 from Microchip.

73 K5OOR - Virgil


The 2024 Embedded Online Conference