I'm looking to implement a flash swap on a Kinetis K70. AN4533 states that for the flash swap indicator "Any flash sector can be used except the first two sectors which contain the vectors and flash configuration fields". The K70 has 4KB erase sector size so the second sector begins at 0x1000. Can the flash swap indicator be located within the flash sector from 0x1000 to 0x2000 on a K70?
Solved! Go to Solution.
Hi,
Yes, you can use this address as the flash swap indicator address. For a 1 Meg part, the two 512K halves swap. So the lower half (blocks 0 & 1) will have one flash swap indicator and the upper half (blocks 2 & 3) will have the other flash swap indicator. The location is the same offset from the base of each half. The location is set by feeding in an address in the initialization option of the swap command.
Hi,
Yes, you can use this address as the flash swap indicator address. For a 1 Meg part, the two 512K halves swap. So the lower half (blocks 0 & 1) will have one flash swap indicator and the upper half (blocks 2 & 3) will have the other flash swap indicator. The location is the same offset from the base of each half. The location is set by feeding in an address in the initialization option of the swap command.