AN2295 bootloader with K60 120MHz

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

AN2295 bootloader with K60 120MHz

Jump to solution
590 Views
guillaumetiffin
Contributor III

Hello,

I would like to know how can I use the AN2295 bootloader with K60 120 MHz.

I have done a bootloader code based on AN2295 for a K10.

Now I would like to port this code for a k60 120 MHz.

There are some differences between K10 and K60 120 MHz.

The flash program routines seems to be differents.

How can I port this code to use it on a K60 ?

Or

Do you have any bootloader examples for this types of MCU ? I want a serial bootloader and the way to generate the serial frames.

Regards,

Guillaume

1 Solution
365 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Guilaume,

Please download the latest AN2295 : Search Results: an2295  ,

then you will find in the bootloader.c file , the default setting is

pastedImage_2.png

so , please change on the "AN2295_TWR_K60_cfg.h " file .

Change

    #define KINETIS_MODEL K60_100MHz

to

    #define KINETIS_MODEL K60_120MHz

  


Have a great day,
Alice

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

View solution in original post

0 Kudos
1 Reply
366 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Guilaume,

Please download the latest AN2295 : Search Results: an2295  ,

then you will find in the bootloader.c file , the default setting is

pastedImage_2.png

so , please change on the "AN2295_TWR_K60_cfg.h " file .

Change

    #define KINETIS_MODEL K60_100MHz

to

    #define KINETIS_MODEL K60_120MHz

  


Have a great day,
Alice

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

0 Kudos