Other Parts Discussed in Thread: MSPM0L2228, MSPM0L1227, MSPM0L2227,
Tool/software:
For MSPM0L1227/MSPM0L1228/MSPM0L2227/MSPM0L2228, according to the Technical Reference Manual, it looks like these devices do not support the SYSCTL.FLBANKSWAP register, and instead use SYSCTL.SECCFG.FLBANKSWP. The documentation for FLBANKSWP seem to imply that the CSC must be present to set the flag then invoke INITDONE for the change to take effect.
I have a couple questions about the bank swap functionality:
- Is it possible to use the flash bank swap functionality without CSC? That is, is it possible to use the direct bank swap functionality of FLBANKSWAP on other L-series devices, where enabling bank swap takes effect immediately without having to invoke INITDONE+SYSRST?
- If the bank swap takes effect immediately upon INITDONE+SYSRST, does this mean that CSC must be duplicated to address zero of both flash banks?
- If invoking INITDONE causes SYSRST, under what situation does the security status (SECSTATUS) get reset? Does it get reset via BOOTRST?
- What is the effect of FLBANKSWPPOLICY? Can it be set by CSC, or is it only used by the boot ROM code?
Thanks!