Kinetis Bootloader TWR-K21F120M

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

Kinetis Bootloader TWR-K21F120M

Jump to solution
1,479 Views
martis
Contributor II

I am looking for a version of the Kinetis Bootloader for the TWR-K21F120M kit.

I tried porting the IAR project by tried following the recipe from here:

Kinetis Bootloader for MK22FN1M0XXX12  

I have finally been able to compile without any errors, but when trying to debug the tower_bootloader project and initializing the device, I get stuck in the clock_mode_switch() function waiting for external reference clock to be ready. Most likely, this is not my only mistake, so if there was a finished project or source code for bootloading TWR-K21F120M somewhere, that would help me a lot.

0 Kudos
Reply
1 Solution
1,112 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Marte Skjønsfjell,

I had already ported the MK64F12 to the MK21F12 and the ported demo ran well on the TWR-K21F120M board.

The attachment is consist of the head file and project and assure them are settled in the ~\NXP_Kinetis_Bootloader_2_0_0\NXP_Kinetis_Bootloader_2_0_0\targets and ~\NXP_Kinetis_Bootloader_2_0_0\NXP_Kinetis_Bootloader_2_0_0\src\platform\devices respectively, then open the project later.

2016-10-17_9-52-47.jpg


Have a great day,
Ping

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

View solution in original post

0 Kudos
Reply
3 Replies
1,112 Views
martis
Contributor II

Thanks a lot Ping, just what I was looking for!

Managed to bootload the TWR-K21 board with UART now :smileyhappy:

0 Kudos
Reply
1,113 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Marte Skjønsfjell,

I had already ported the MK64F12 to the MK21F12 and the ported demo ran well on the TWR-K21F120M board.

The attachment is consist of the head file and project and assure them are settled in the ~\NXP_Kinetis_Bootloader_2_0_0\NXP_Kinetis_Bootloader_2_0_0\targets and ~\NXP_Kinetis_Bootloader_2_0_0\NXP_Kinetis_Bootloader_2_0_0\src\platform\devices respectively, then open the project later.

2016-10-17_9-52-47.jpg


Have a great day,
Ping

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

0 Kudos
Reply
1,112 Views
mjbcswitzerland
Specialist V

Hi Marte

You can get TWR-K21F120M boot loaders (KBOOT UART, KBOOT USB, USB-MSD, Memory Stick, SD-card, iHEX, USB-CDC, SREC etc.) at
http://www.utasker.com/kinetis/TWR-K21F120M.html

Builds with CW, KDS, IAR, Keil, Rowley, CooCox, Atollic, Green Hills, GCC, VisualStudio.

Regards

Mark
Kinetis for professionals: http://www.utasker.com/kinetis.html

0 Kudos
Reply