Other Parts Discussed in Thread: NOWECC, UNIFLASH
I am trying to add ECC values with nowECC to a firmware which is loaded using a custom bootloader. I suspect the -f flag does not work correctly. In my bootloader, it does not zero out the end of sections that do not end on a 64 bit boundary as UniFlash and CCS seem to, so I am using -f 0xFF to account for this. I have a 1 byte constant which is the last member of a .const section and is 4 bytes into the 8 byte chunk. When ECC validation is enabled, I get an exception when loading this value. I have found that the ECC values are the same whether or not I specify the -f flag. Can someone verify this functionality?