2 Replies Latest reply on Sep 18, 2018 2:44 AM by LinglingG_46

    const array and generated hex code

    user_15365548

      I have constant array: const uint8_t test[10] = {1,2,3,4,5,6,7,8,9,10}.

      If I changed only one number inside the array, for example: const uint8_t test[10] = {1,2,3,4,5,6,7,8,9,11}, hex file changes on two positions:

       

      const_array_hex.png

      Project type is Bootloader Project. I find out that this is the reason why hex file has changed on two different places.  Looks like that the "second place" is  bootloader "checksum".

      I couldn't find any info about "bootloader checksum", is it possible to get any details about it (checksum calculation, location in hex file...)?

       

      Regards,

      Tomi