Kinetis Bootloader TWR-K21F120M

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Kinetis Bootloader TWR-K21F120M

ソリューションへジャンプ
1,152件の閲覧回数
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 解決策
785件の閲覧回数
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 返答(返信)
785件の閲覧回数
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 件の賞賛
786件の閲覧回数
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 件の賞賛
785件の閲覧回数
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 件の賞賛