What is the microchip algorithm for checksum calculation?
I am developing a bootloader using dsPic33EP256GM706. For that, i am using MPLAB x IDE v5.15 and XC16 V1.36 compiler. I want to add the CRC check to generated application hex file. I am including checksum in my hex file using “Insert unprotected checksum in user ID memory” option from build configuration as shown in attached image.
I would like to know how this MPLAB checksum is calculated? Because I want to do the same thing in my checksum calculation algorithm.