Updating Bootloader Configuration Data with CRC values

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

Updating Bootloader Configuration Data with CRC values

1,925件の閲覧回数
darshan_shah1
Contributor II

Hi,

I have FRDM-K64 and would like to implement CRC check of FW in boot-loader.

I have go through the bootloader code and found that bootloader already has feature of this and we just need to update BCA configuration written in application.

I have updated linker file to have BCA area in flash yet I am not able to find a way to update crcStartAddress,crcByteCount,crcExpectedValue in BCA area automated or with any post script in MCUXpresso.

Please help me.

タグ(2)
0 件の賞賛
返信
4 返答(返信)

1,826件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi Darshan,

You can use KinetisFlashTool to generate and insert these parameters.

pastedImage_3.pngpastedImage_4.png

You can get it from https://www.nxp.com/webapp/Download?colCode=NXP_KINETIS_BOOTLOADER_2_0_0&appType=license 

Regards,

Jing

0 件の賞賛
返信

1,826件の閲覧回数
darshan_shah1
Contributor II

Thank you for your response.

I have found this utility and try to use it. Yet issue is that I have added my own some parameter in BCA configuration which is overwritten by this tool with 0xFF data and CRC is counted.

Is there any provision to not to do this?

0 件の賞賛
返信

1,826件の閲覧回数
ErichStyger
Specialist I

FYI: I'm using srec_cat to add the CRC with a script: Tutorial: CRC32 Checksum with the KBOOT Bootloader | MCU on Eclipse 

I hope this helps,

Erich

0 件の賞賛
返信

1,826件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

But you can modify the BCA HEX area in the first screenshot directly.

Regards,

Jing

0 件の賞賛
返信