AnsweredAssumed Answered

Command line access to Kinetis flash via JTAG?

Question asked by Paul DeRocco on Nov 11, 2014
Latest reply on Nov 12, 2014 by Erich Styger

I'm reserving a sector of the upper flash block of a K64 for what amounts to a collection of environment variables, which represent configuration parameters that vary from unit to unit, and that should persist if the firmware is upgraded. I'd like to be able to write a Windows command line app that lets me read, modify and write this sector, without messing around with the IDE: just connect the JTAG, turn the unit on, and type the command. It's okay if it resets the processor.

 

Obviously, the flash programming is done in KDS via a set of scripts. Is there any way to write such scripts and get them executed outside the IDE? The IDE will be present on the machine, so the necessary executables will exist.

Outcomes