Hi Girish,
About your first question, please take a look to the following community thread:
https://community.nxp.com/message/641806
Regarding the checksum generation, I think that the following post created by our colleague Erich Styger might be helpful for you, it explains the usage of the SRecord tool which can be used for all kind of binary file (and S-Record) manipulations, including CRC generation:
https://mcuoneclipse.com/2015/04/26/crc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse/
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------