Kinetis KL27Z - Remote Firmware Update

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

Kinetis KL27Z - Remote Firmware Update

ソリューションへジャンプ
1,400件の閲覧回数
andrelemke
Contributor III

Hi!

I’m doing an application where I need to update the firmware trough the USB interface or  UART module.

I see that the Kinetis KL27Z has an internal ROM for bootloader, where I can run another application to copy the firmware from an USB interface or UART to an external Flash Memory and update the internal flash of the KL27Z, trough SPI interface, for example. It was my first idea to update the firmware remotely.

Do you have some idea how can I do it in a simple way? Anybody has done it before or saw something similar like these?

I think when I’m updating a firmware, I need  to make a simple CRC to check if the data isn’t corrupted. Can I run this type of application in bootloader memory area?

Really thank’s!

1 解決策
810件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Andre Lemke:

Thank you for posting this thread. Actually I think you have a misunderstanding. The KL27 has a ROM bootloader pre-programmed in factory with the bootloader firmware which cannot be modified by the user.

On the other hand the integrated ROM bootloader is ready to be used by sending the binary via UART or USB using the PC GUI tool provided when you install the KBOOT package available from this link (downloads tab):

Kinetis Bootloader|NXP

SPI or I2C can also be used with the PC tool but you need an intermediate board programmed with a firmware called BusPal.

There is a ROM bootloader getting started guide in KBOOT package and online as well: KBTLDRUG

About CRC the algorithm for the KL27 ROM bootloader protocol already integrates a CRC16 framing check, although not for the whole application.

Let me know if you have questions.


Best Regards!
Jorge Gonzalez

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

元の投稿で解決策を見る

1 返信
811件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Andre Lemke:

Thank you for posting this thread. Actually I think you have a misunderstanding. The KL27 has a ROM bootloader pre-programmed in factory with the bootloader firmware which cannot be modified by the user.

On the other hand the integrated ROM bootloader is ready to be used by sending the binary via UART or USB using the PC GUI tool provided when you install the KBOOT package available from this link (downloads tab):

Kinetis Bootloader|NXP

SPI or I2C can also be used with the PC tool but you need an intermediate board programmed with a firmware called BusPal.

There is a ROM bootloader getting started guide in KBOOT package and online as well: KBTLDRUG

About CRC the algorithm for the KL27 ROM bootloader protocol already integrates a CRC16 framing check, although not for the whole application.

Let me know if you have questions.


Best Regards!
Jorge Gonzalez

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