AnsweredAssumed Answered

Reflashing the MCU via the serial port

Question asked by Robert Poor on Apr 12, 2017
Latest reply on Apr 14, 2017 by Mark Butcher

We are building a device around the KL27Z.  Once it has been packaged and sealed, the only access we have to it is the serial port.  (In particular, no USB, no reset button.)  Once in a while, we would like to be able to update the application code running in the processor.

 

So my question is: is there a serial bootloader -- either resident in ROM or available to incorporate into our application -- that we can call on demand that will allow re-flashing of the application code via the serial port?

 

Naturally, we would have a dedicated app running on the host processor on the other end of the serial line.

 

I've looked over a few documents, e.g. http://www.nxp.com/assets/documents/data/en/user-guides/KFLLDRUG.pdf  and http://www.nxp.com/assets/documents/data/en/user-guides/KBTLDRDEMOUG.pdf , and I have to admit I don't understand the difference between 'bootloader' and 'flashloader' (if there is actually a difference).  But more to the point, I'm not sure what's available.  

 

Oh, one final word: if we absolutely need a reset line or some external signal to invoke the bootloader, we can probably provide that.  

 

Pointers and example are welcome!

Outcomes