Does the MK22FN1M0AVLK12 support the Kinetis Flash Loader?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does the MK22FN1M0AVLK12 support the Kinetis Flash Loader?

871 Views
2bluesc
Contributor II

Does the MK22FN1M0AVLK12 or MK22FX512AVLK12 support the Kinetis Flash Loader?  If so where is the documentation on the pin mux?

I've had success in communicating with a KL27 using the blhost tools over USB and would like to do the same on the MK22FN1M0AVLK12.  

I see no mention of the flash loader or and boot ROM in the *K22P80M120SF5V2RM* reference manual.

Labels (2)
0 Kudos
4 Replies

665 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Kyle Manna,

   MK22FN1M0AVLK12 or MK22FX512AVLK12 don't have the ROM bootloader, so if you want to use the bootloader, you must use the kinetis flash bootloader.

   Yes, MK22FN1M0AVLK12 or MK22FX512AVLK12 can support the flash bootloader.

   Flash bootloader is just a pice of code which has the bootloader function, it  is programmed to the chip's flash from  the flash address 0x00, then when the chip is powered on, it will run this bootloader at first, to decide whether to update the application code in the according allocated flash address.

  The Kboot still not support the MK22FN1M0AVLK12 or MK22FX512AVLK12 directly.

  But don't worry, you can refer to the KBOOT2.0 :

https://www.nxp.com/webapp/Download?colCode=NXP_KINETIS_BOOTLOADER_2_0_0&appType=license&Parent_node... 

  In folder:NXP_Kinetis_Bootloader_2_0_0\NXP_Kinetis_Bootloader_2_0_0\doc\Kinetis Bootloader Demo Application User's Guide.pd

Chapter 10, Kinetis bootloader porting, you can port the flash bootloader to your MK22FN1M0AVLK12 or MK22FX512AVLK12.

Wish it helps you!

If you still have question, please let me know!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

665 Views
2bluesc
Contributor II

Hi Kerry,

Thanks for the response.  What is programmed on the K22 as delivered from the factory? Is it blank? 

Thanks!

0 Kudos

665 Views
mjbcswitzerland
Specialist V

Kyle

All chips are delivered with erased flash but with the value at the Flash security location (0x40b or so) at 0xfe so that the processor is not secured.

Regards

Mark

0 Kudos

665 Views
mjbcswitzerland
Specialist V

Kyle

The K22 does not have a ROM loader. For KBOOT compatibility you can build the KBOOT project for it and program that.
Alternatives are SD card, memory stick, USB-MSD or various UART loading techniques (alternative to KBOOT or in parallel) available at:
http://www.utasker.com/kinetis/FRDM-K22F.html
http://www.utasker.com/kinetis/TWR-K22F120M.html
http://www.utasker.com/kinetis/BLAZE_K22.html

Regards

Mark

Professional support for Kinetis: http://www.utasker.com/index.html
Remote desktop one-on-one coaching: http://www.utasker.com/services.html
Getting started to expert videos: https://www.youtube.com/results?search_query=utasker+shorts

0 Kudos