Hi Mark,
Thank you for your response.
The RTC_CR register, that you mentioned here is located on 0x4003_D010 address, and it is RTC control register, The register that I mentioned called RTC_CCR and it’s located on 0x4003_D01C address.
As you can see on K60 Sub-Family Reference Manual, Rev. 4, 1 Mar 2011 datasheet, on page 105,
section 3.5.1.9 Program Flash Swap,
RTC_CCR activates a swapping mechanism.
“On devices that contain program flash only, the two program flash banks may swap their base addresses. This is controlled by the RTC's chip configuration register (RTC_CCR). See CCR register for more details. The status of the swap feature is reflected in the FTFL's FCNFG[SWAP] bit”.
3.8.6.2 CCR register, page 144
“For devices with only program flash: The RTC's chip configuration register (RTC_CCR) is defined as follows:”
Field Description Bit 0 PFLASHSWAP
Program flash swap.
0 Program flash bank 0 is at address 0x0000_0000
1 Program flash bank 1 is at address 0x0000_0000
Two other registers that you mentioned (SIM_FCFG2, FTFL_FCNFG) only indicates if the swap activated or not.
Regards,
Rodion