SPRUJ79 November 2024 F29H850TU , F29H859TU-Q1
The BANKMODE register in the SSU_GEN_REGS register range configures the system Flash bank mode setting. These modes determine the allocation of Flash memory to primary C29 CPUs in the system, and whether the swapping feature is enabled for firmware updates. The BANKMODE register is loaded from the BANKMGMT sector of the active code bank pair in FLC1 during device boot. The active BANKMGMT sector is determined based on the values of the BANK_STATUS and BANK_UPDATE fields; afterward, the winning BANKMGMT sector is used to configure the system BANKMODE.
The available bank mode options are described in Table 9-1.
| BANKMODE | Flash Mapping | Swap Enabled | 1-CPU Devices |
|---|---|---|---|
| 0 | All program Flash mapped to CPU1 | No | Available |
| 1 | Yes | Available | |
| 2 | Program Flash memory is split between CPU1 and CPU3 | No | N/A |
| 3 | Yes | N/A |
The BANKMAP register in SSU_GEN_REGS is used to determine the current active A/B swap setting for firmware updates using FOTA or LFU. This register contains a swap enable bit for each primary CPU (CPUxSWAP).
For specific mappings of Flash address ranges to read port addresses based on BANKMODE and CPUxSWAP settings, refer to the device data sheet.