KBOOT: Pre-calculate CRC of application

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

KBOOT: Pre-calculate CRC of application

1,848件の閲覧回数
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 返答(返信)

1,570件の閲覧回数
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 件の賞賛
返信

1,570件の閲覧回数
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 件の賞賛
返信

1,570件の閲覧回数
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 件の賞賛
返信

1,570件の閲覧回数
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 件の賞賛
返信