Kinetis Bootloader TWR-K21F120M

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Kinetis Bootloader TWR-K21F120M

跳至解决方案
1,146 次查看
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 项奖励
1 解答
779 次查看
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 项奖励
3 回复数
779 次查看
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 项奖励
780 次查看
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 项奖励
779 次查看
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 项奖励