USB Bootloader Integration in Flowcode PIC18F2550,PIC18Fxx5x

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
aspeier
Posts: 8
Joined: Fri Feb 02, 2007 1:50 pm
Contact:

USB Bootloader Integration in Flowcode PIC18F2550,PIC18Fxx5x

Post by aspeier »

need a flowcode or routines for a bootloader. Is this possible or must be written in C-Code.

aspeier
Posts: 8
Joined: Fri Feb 02, 2007 1:50 pm
Contact:

Re: USB Bootloader Integration in Flowcode PIC18F2550,PIC18F

Post by aspeier »

aspeier wrote:need a flowcode or routines for a bootloader. Is this possible or must be written in C-Code.
Something new? Best way is to have also an option to start with the main program on HEX 0800 (reset vektor,...) to have everything in one flow!

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Post by Steve »

The linker parameter "-rb 0x800" will offset your compiled code to location 0x800, leaving the start of the chip as a bootloader block.

You could write a bootloader in Flowcode (e.g. using RS232 as an interface with the PC), but you would need to insert C code icons to deal with the rewriting of the Flash memory.

If you wanted to write code for the USB module of the 2550, you would need to write all of that in C.

Post Reply