On the TI RM48x and RM46x MCUs, I have found that when blank sectors are written (e.g. a large block of 0xFF data after the program data) the ECC memory is not written for these blank sectors. I am using the loadbin j-link commander command, with a binary that contains large sections of 0xFF data. This causes faults when trying to read these sections of memory with the flash ECC enabled, which is undesirable. If I use my bootloader to load the same image, the ECC is correctly programmed.
Is there a way to force the j-link to write the ECC for these sectors?
Is there a way to force the j-link to write the ECC for these sectors?