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.
Solved! Go to Solution.
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.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks a lot Ping, just what I was looking for!
Managed to bootload the TWR-K21 board with UART now :smileyhappy:
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.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
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