Teensy 3.6 Self programming/in field update

Paula

Active member
Hi,

I'm wondering how to go about creating a Teensy project that has a boot loader (to read data from an SDCard) that can be used to update code on the Teensy once in the field, as a lot of people don't have the interest/skills/knowledge to update the code using the teensy framework.

Looking at the datasheet for the MK66FX1M0 it looks like it has 512Kb pages, so it should be possible, not with standing the need to keep the code size under the page size.

My question is really, how would I compile the code to start at a new address in flash, and how would I get the bootloader to execute this (assuming the conditions for an update isn't entered).
Also, are there any libraries for writing to flash on the teensy?

Many thanks in advance
Paula
 
Back
Top