This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS570LC4357: Generate CRC32 for my binary file using CCS Tool

Part Number: TMS570LC4357


Tool/software: TI C/C++ Compiler

Dear support team/ QJ wang,

I'm working on boot-loader. and it's working fine. I'm flashing the bin file using our own PC application into TMS570LC4357 controller. i need to validate the entire bin file using CRC32 before load into the PC application tool.  How to configure the CCS tool for generate the CRC32 of my bin file while creating the binary file using pre-compiler commands. (I think, i need to configure the pre-compiler step in CCS tool for generate the CRC32, Please explain the steps)

 Please give any document or steps for generate CRC32 using CCS tool??

  • Arun,

    To understand your usecase a little better, can you indicate if the CRC32 requirement in CCS is not needed for the target code but for the PC application code to verify the binary before flashing, is that correct?

    If the above understanding is correct then you can look at responses from our compiler teams based on 

    http://www.ti.com/lit/ug/spnu118x/spnu118x.pdf

    https://e2e.ti.com/support/tools/ccs/f/81/p/108461/383735

    If this is to generate CRC using embedded CRC module then you can refer the app note here:

    If you want to use something custom or a existing windows based .exe, you can add steps to CCS Project General settings under Post build steps and the CCS build will invoke the post build step after the .out has been created.

    Regards,

    Rahul