AnsweredAssumed Answered

AN2295 bootloader compatible with KE06 family? No success in finding documents!

Question asked by Michael Wilson on Dec 1, 2015
Latest reply on Dec 4, 2015 by Michael Wilson

Does anyone have further documentation regarding the compatibility of AN2295 bootloader with the KE06 family of controllers?

In my search, I have stumbled upon the Kboot which would be replacing the AN2295 for Kinetis mcus, also found uTasker implementations for using Kboot and AN2295 at the same time but I would rather not go this route. I've seen countless examples and documents for FRDM-KL25Z step by step tutorials (including excellent ones by Erich Styger at McuOnEclipse, and for many K'x' (K02-K64) series. But no real concrete examples that show how to make AN2295 work with KE06Z. I did find AN4767 (FRDM-KE02Z ) short application note but did not find it useful enough to clarify my issues.

 

I am stuck here!

1) KE06 does not have a SIM_SDID register, instead it has the SIM_SRSID and may have a different format. What part should be sent to IDENT command?

2) All the examples (including the AN4767 note) discuss the FLASH (FMC) procedures needed to program the memory. Will including the sources "flash_kinetis.h and flash_kinetis.c" will work when using KE06?

3) Is it necessary to also relocated the backdoor key?

m_cfmprotrom  (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010  (to start at 0x1400) ??

 

Successful here ->

I have configured the linker file to move the memory to 0x1410 and relocated the vectors on the app to be loaded, but so far I have to trick the pc program with the SDID of the wrong mcu. Successfully sending 32k bytes via UART to the KE06.

Using KDS 3.0, with KE06Z 64K memory, 44pin.

 

screens.jpgErich Styger

 

 

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf?fsrch=1&sr=1&pageNum=1

http://cache.freescale.com/files/32bit/doc/app_note/AN4767.pdf

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295SW.zip

Outcomes