Hi, I have a problem with the code checksum mismatch.
16 bits unsigned code checksum is calculated by summing the following sections in unsigned 16 bits. The sections are .text, .const, .cinit, .switch, .pinit. The checksum value is stored in a memory declared by #pragma DATA_SECTION.
The code checksum is calculated same every time if the .out file is loaded through emulator. However, .bin file converted from the same .out file loaded through SPI boot loader will flag the code checksum mismatch failure.
I do not know why. But the code is running absolutely fine.
Any thought?
Honghui Qi