AnsweredAssumed Answered

Which version of AN2295 is correct?  Does the KL25 support 64 bit Phrase programming?

Question asked by Bob Paddock on Oct 9, 2013
Latest reply on Oct 10, 2013 by Bob Paddock

There are multiple version of AN2295 floating around.  The one that is dated Oct/2013 Rev 13 has Flash code for the Kinetis flash_kinetis.c version :

 

* @author  R20253

* @version 1.0.1.0

* @date       May-18-2012

 

The version of AN2295 found here in the forum has two version for July of 2013 with code:

 

* @author  R20253

* @version 1.0.17.0

* @date    Feb-15-2013

 

At issue here is the Flash Programming Command FCMD=0x07 to program 64 bit phrases, and FCMD=0x0B to program sections.

 

Rev 1.0.1.0 uses FCMD=0x0B to program sections, while Rev 1.0.17.0 uses FCMD=0x07 to program phrases.

 

The problem is that there is no indication in the MKL25Z128VLK4 data sheet that the FCMD=0x07 phrase programing nor FCMD=0x0B section programming are supported.

It only indicates that 32-bit long words is supported via FCMD=0x06.

 

AN2295 is either relying on unimplemented functions, or the data sheet is not documenting needed functions.

Which is it?

 

It would also help us all to stomp out all version except the correct one.  Depending on where you search for AN2295 on the Freescale website you are taken to different versions of the application note with different versions of the code.

Outcomes