SPRUJF2A March 2026 – March 2026 AM13E23019
Normally, flash controller commands are targeted to a specific flash location by loading a system memory map address into the CMDADDR register. This is the recommended way to specify the target address for a PROGRAM, ERASE, or READVERIFY command. In this mode of operation, the flash controller automatically translates the system address into the corresponding bank ID, region ID, and bank address which are used to execute the command on the flash memory. Application software does not need to specify these items individually; only the system address is needed.
However, in some circumstances direct specification of the target flash bank, region, and address in the specified bank/region is needed. For example, if the desire is to erase a complete bank when doing a mass erase operation on the device, application software actually does not need to have any knowledge of the system address of the bank to be erased- the software only needs to specify the bank ID and region ID to the flash controller to erase the bank.
To use the flash controller to execute a command in address override mode, set the ADDRXLATEOVR bit in the CMDCTL register, and specify the bank ID, region, and bank address before executing the command. To return to system addressed mode, clear ADDRXLATEOVR. ADDRXLATEOVR is cleared by default (supporting system address operation).
To erase the MAIN region of BANK0 by specifying the bank ID and region instead of the system address, follow the steps in Section 10.1.3.5.2, but replace step 2 with the alternate steps given below: