I'm writing a bootloader that will calculate the CRC of an app elsewhere in flash and switch to load mode if there is a mismatch with the expected CRC value. Full CPU Mode will be used.
1. Assume I convert app.out to app.bin using tiobj2bin. app.bin is of size S and is flashed to address A.
2. Running (on the dev PC) a CRC-64 calculating tool on app.bin yields result X.
3. sCrcModConfig.data_length = S and sCrcModConfig.src_data_pat = (uint64*)A
Q: Is X the value to check against the value returned by crcGetPSASig (after crcChanelReset and crcSigGen are called, naturally)?