Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F29H850DM: Flash module read port questions

Part Number: F29H850DM

Hi Experts,

I am looking at the Flash Subsystem Block Diagram in the F29 TRM.

Therer is one description: 

FRI-1: CPU1 Program FRI-1 interfaces with the instruction fetch bus of the first C29x CPU (CPU1), and is primarily used for executing program code on CPU1. Additionally, FRI-1 is connected to all data read initiators in the system. This read interface has four read ports, numbered RP0 to RP3. These read ports are mapped to code banks depending on the configuration of BANKMODE and BANKMAP.CPU1SWAP registers in the SSU. These settings are described in subsequent sections.

Which saids that the read port is mapped to actual banks depending of banmode. Does this mean that the bank swap is achieved and the read port level, by simply disalbing some of the read ports? is there a table showing which RP is enalbed under specific bankmode and swap status?

In the Figure 8-1, the BANKMODE register goes in to the "Flash Bank Access Router", which means that the router is controlling the access. Can I say that, when CPUx tries to fetch, the fetch request would occurs on all RPs, but the router would decide which RP is actually active, and feed the data on that RP?

Regards,

Hang

  • Hi Hang,

    I got your question, and will study it, then provide my comments later today. 

  • Hi Hang,

    No, bank swapping does not happen by disabling read ports. The four read ports (RP0 to RP3) represent four concurrent, parallel pipelines into different physical sectors/banks of the Flash memory.

    BANKMODE defines the topology of how the flash space is split among the cores (e.g., Single-Core layout, Dual-Core layout where CPU1 gets some banks and CPU3 gets others)

    BANKMAP.CPU1SWAP manages the logical redirection (swapping) of the active vs. inactive images for Over-The-Air / Firmware-Over-The-Air (FOTA) upgrades.

    The SSU configuration registers act as a lookup mapping table. When a bank swap occurs (BANKMAP.CPU1SWAP), the hardware changes the target destinations. For instance, what used to be routed out of Physical Bank 1 through RP0 is now dynamically remapped to Physical Bank 2 through RP0 (or vice versa, depending on the exact mode map). All necessary ports remain functional to handle simultaneous fetch and data read streams.

    BANKMODE Value       Topology Description          RP0 Target                   RP1 Target                          RP2 Target                       RP3 Target

    Mode 0                          Single Core Optimized      CPU1 Active Bank       CPU1 Active Bank           CPU1 Inactive Bank            CPU1 Inactive Bank

    Mode 1                          Balanced Dual-Core          CPU1 Active Bank       CPU1 Inactive Bank        CPU3 Active Bank               CPU3 Inactive Bank

    Mode 2                          Custom Split                       CPU1 Dedicated         CPU1 Dedicated             CPU3 Dedicated                  CPU3 Dedicated