Is it possible to, on hard reset, start the kinetis directly into, for example, bank 1, swapped to map to address 0? Or does it always start in bank0 and require the flash swap commands to be executed? I'm wondering if there's a mechanism to persist the swap state.
When the Kinetis product finish the SWAP procedure, the swapped flash block will as Flash start up block whatever the hard or soft reset.
It will continue to as start up flash block until next swap operation happens.
More detailed info about Kinetis SWAP feature, please check AN4533.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------