Page 1 of 1

USB Bootloader Integration in Flowcode PIC18F2550,PIC18Fxx5x

Posted: Fri Feb 02, 2007 2:22 pm
by aspeier
need a flowcode or routines for a bootloader. Is this possible or must be written in C-Code.

Re: USB Bootloader Integration in Flowcode PIC18F2550,PIC18F

Posted: Mon Mar 12, 2007 10:20 pm
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!

Posted: Tue Mar 13, 2007 10:20 am
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.