2022-11-07 06:47 AM
2022-11-16 07:13 AM
Hello,
it is not quite clear which STL library is the matter. At X-CUBE-CLASSB case targeting home appliances to comply with IEC60335 and IEC60730, there is dedicated AN4435 user manual. As GCC compiler doesn't support CRC calculation over the code binary, the check sum is calculated by running specific post build batch (crc_gen_gcc.bat) which modifies the final hex file. At case of X-CUBE-STL targeting industrial applications to comply mainly with IEC61508, if you work with a legal copy of the FW available after signing NDA with ST, you should receive complete safety and user documentation with the FW package delivery. CRC calculation is invoked here by specific post build line command of the ST Cube Programmer. Both the solutions modify the compiled binary file and allocate the CRC results out of the application binary code.
Best regards,
Petr
2022-11-16 07:13 AM
Hello,
it is not quite clear which STL library is the matter. At X-CUBE-CLASSB case targeting home appliances to comply with IEC60335 and IEC60730, there is dedicated AN4435 user manual. As GCC compiler doesn't support CRC calculation over the code binary, the check sum is calculated by running specific post build batch (crc_gen_gcc.bat) which modifies the final hex file. At case of X-CUBE-STL targeting industrial applications to comply mainly with IEC61508, if you work with a legal copy of the FW available after signing NDA with ST, you should receive complete safety and user documentation with the FW package delivery. CRC calculation is invoked here by specific post build line command of the ST Cube Programmer. Both the solutions modify the compiled binary file and allocate the CRC results out of the application binary code.
Best regards,
Petr