The title says it all. How can blhost be used to generate an image with the plain CRC check enabled? We're using load to RAM, not run in place.
@Gavin_Jia Do I understand correctly that to use blhost to get the image CRC, the only way requires programming the target device and reading back the information from the target device?
Hi @pcpro1789
The CRC is added through the nxpimage(a python tool). It is unnecessary to program the image to the MCU after completion.
Hi @pcpro1789 ,
Thanks for your questions!
1. First, we need to generate an image that runs in RAM, not XIP. And convert it to S-Record type.
2. Then, we need to generate the corresponding image according to your needs. this step requires the nxpimage tool, which you are advised to modify in the graphical interface in SPT. Its corresponding command line underlying command will be shown in the log, you can record and parse it.
3. Finally, it's time to use blhost. build the FCB, configure the memory, flash the image. and so on. Again, the underlying commands are logged in the log. After I parsed it, it is divided into the following steps: