Kinetis Bootloader TWR-K21F120M

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

Kinetis Bootloader TWR-K21F120M

ソリューションへジャンプ
834件の閲覧回数
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 解決策
467件の閲覧回数
jeremyzhou
NXP TechSupport
NXP TechSupport

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 返答(返信)
467件の閲覧回数
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 件の賞賛
468件の閲覧回数
jeremyzhou
NXP TechSupport
NXP TechSupport

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 件の賞賛
467件の閲覧回数
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 件の賞賛