I need to persist data through restart so it can be read by the bootloader. I have an application coded like the flowchart in the F021 PDF. For some reason if I read the values after writing them or verify -- the values aren't there. Also, clearing the bank doesn't work either.
I only need 4 values stored.
VECTORS (X) : origin=0x00020020 length=0x00000020 fill=0xFFFFFFFF FLASH0 (RX) : origin=0x00020040 length=0x8000 - 0x40 fill=0xFFFFFFFF FLASH1 (RX) : origin=0x00028000 length=0x00200000 - 0x28000 FLASH7 (RWX) : origin=0xf0200000 length=0x1ffff STACKS (RW) : origin=0x08000000 length=0x00001500 RAM (RWX) : origin=0x08001500 length=0x0007EB00
I'm not sure that the link file is correct. I just setup the first sector of Bank 7 initially, then I expanded it to the whole bank.