KBOOT: Pre-calculate CRC of application

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

KBOOT: Pre-calculate CRC of application

962 次查看
peterruesch
Contributor IV


Hi,

I currently crawling through the docs of KBOOT (Kinetis Bootloader|NXP ).

For the first step, I don't want to use cryptography for the firmware download BUT I would like to have the firmware verified with a CRC.

My question basically is: What tool precalculates the CRC of my application binary and inserts this value into the BCA ?

Edit:

Seems KinetisFlashTool is what I need:

Calculating application image CRC for KBOOT V2

0 项奖励
回复
4 回复数

684 次查看
egoodii
Senior Contributor III

The IAR linker can be set to provide a CRC as part of the output-file generation (into whatever form).

0 项奖励
回复

684 次查看
isaacavila
NXP Employee
NXP Employee

Hello,

Yes, Kinetis Flash Tool is what you are looking for, only remeber that as being said here: Calculating application image CRC for KBOOT V2  you image needs to be a binary file.

Regards,

Isaac

0 项奖励
回复

684 次查看
peterruesch
Contributor IV

could you please provide a cross platform tool to do this?

it would also be possible to do it using the srecord tool with the right  sequence of commands. could you please provide any solution for osx/linux?

0 项奖励
回复

684 次查看
isaacavila
NXP Employee
NXP Employee

Hello Peter,

Unfortunately, I do not know about another tool that can help you to calculate your image's CRC value.

But as already said, you can try to use Kinetis Flash Tool which calculates this value automatically when a .bin file is provided.

I hope this helps!

Regards,
Isaac

0 项奖励
回复