Hello NXP:
I am currently using the WCT22C3A to develop a wireless charging product and have encountered a problem. I request support for the following issue: Our product requires a two-stage boot process, hence we need to combine the PBL/SBL/APP into a single hex or s19 file for production line programming. We are using CodeWarrior with the following settings to generate the .S file.


We used srec_cat.exe to merge the generated .S file with two other .S files and then used Cyclone FX for programming. After programming, the software failed to start. Using CodeWarrior attach, we observed that the actual programming was done by writing every 32 bytes, with invalid data FF in between.

After we modified the configuration for generating the S19 file (by disabling the "Generate Byte Addresses" option), the programming process worked correctly.
Here are the phenomena we encountered, and our questions are as follows: Before combining our SBL and APP projects, we need to perform a CRC32 check and write the checksum into the project files. After disabling "Generate Byte Addresses," we cannot operate on the generated .S files using srec_cat.exe, and we have not found any tools that support this .S file. This .S file is not a standard S19 file. Is there a way to calculate the CRC32 and write it into the file as described above, and then merge the .S files? Or is there a solution to the problem of writing every 32 bytes?