We have tried 'Programming Sequence' with Block Mode, but there are some issues.
We would like to conduct a integrity check with the bootloader.
So,We are considering the following sequence.
We found that sometimes 'BUILD_CHECKSUM' could not be confirmed.
(via Vector CAN Tool)
But 'SET_MTA'(just before:BUILD_CHECKSUM) could always monitor.
Since a Command right after 'ROGRAM_NEXT' can send successfully, the following sequence work correctly.
When We could not send 'BUILD_CHECKSUM', following 'PROGRAM_RESET' also could not send.
Therefore ECU stuck in the bootloader.
We need your advice.
You should get a positive or negative response after issuing a XCP command. Which error code are you receiving when calling the function XCP_BuildChecksum? Note that if you get the error XCP_ERR_INTERNAL_TIMEOUT means, that no answer was received from your ECU at all, or the answer was outside of the allowed timeout (t2 in case of BUILD_CHECKSUM).