11 years, 1 month ago.

Current bootloader source for Kinetis FRDM-K22F board

Hi,

I'm looking for the current source code for the bootloader installed on the FRDM-K22F board. (Not the MBED loader) Either that or details about the file format expected by that bootloader.

The code available at : https://github.com/mbedmicro/CMSIS-DAP/tree/master/bootloader appears to be very out of date and is obviously different from the K22F loader. It still uses the older load address 0x5000.

I have existing files that work with the FRDM-K64F board that I relocated to the new load address of 0x8000 but they fail to load. There must be some other changes required.

Any pointers would be appreciated.

Thanks

1 Answer

11 years, 1 month ago.

Here is a snapshot of the source that is used to build that bootloader. https://github.com/mbedmicro/CMSIS-DAP/releases

The build comes from a branch that is being used to commonize the bootloader, flash algorithms and interface firmware projects. This will be merged to master in the coming months. https://github.com/mbedmicro/CMSIS-DAP/tree/refactor

Accepted Answer

Thanks Sam,

I normally set all the unused (including reserved) vectors to the default handler. This was conflicting with your zero check.

bye

posted by Peter O'Donoghue 17 Aug 2014