hello,
the data of "crcExpectedValue" in BCA area is different for different application bin file, so,before loading the bin file with the bootloader,how to change the BCA data? i don't find related command in the blhost.exe.
Solved! Go to Solution.
Hi du gg,
Please use the kinetisFlashTool in the KBOOT2.0 do modify the BCA data.
Please read Kinetis Flash Tool User's Guide.pdf for more details, this document folder:NXP_Kinetis_Bootloader_2_0_0\doc
KinetisFlashTool folder:NXP_Kinetis_Bootloader_2_0_0\bin\Tools\KinetisFlashTool\win
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi du gg,
Please use the kinetisFlashTool in the KBOOT2.0 do modify the BCA data.
Please read Kinetis Flash Tool User's Guide.pdf for more details, this document folder:NXP_Kinetis_Bootloader_2_0_0\doc
KinetisFlashTool folder:NXP_Kinetis_Bootloader_2_0_0\bin\Tools\KinetisFlashTool\win
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
thanks for your response,
there are some other questions to answer,
how to understand " The BCA resides in flash memory at offset0x3C0 from the beginning of the user application "?
does the bin file of the user's application contain the BCA data? if so, we should put the bootloader_config.c that created
flash tool to our application project?
Hi du gg,
BCA are have the fixed address, you can find it from the chip's reference manual, but take care, just those chip have the ROM bootloader contains the BCA area:
So, you can create a project which start from flash address 0, then add the BCA area.
Build it, generate the .bin file, you will build the BCA by your self.
I also attached the KDS project for BCA, just for your reference.
Another way, you also can import your application code which didn't have the BCA data before, then import it to the BCA area int the kinetisFlashTool, then config it, and save it:
Then, check your original code, you will find your BCA area(0X3C0) is modified.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------