SPRADK5 June   2025 TDA4VM

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Physical Boot Mode DIP Switch Configuration
    1. 2.1 eMMC Boot Mode Switch for Primary Boot Mode
    2. 2.2 MMC/SD Boot Mode Switch for Backup Boot Mode
  6. 3Experiment
    1. 3.1 Prepare eMMC Boot Images for Primary Boot Mode
    2. 3.2 Prepare MMC/SD Boot Images for Backup Boot Mode
    3. 3.3 eMMC Memory Layout
    4. 3.4 Verify Redundant Boot
  7. 4Summary
  8. 5References

MMC/SD Boot Mode Switch for Backup Boot Mode

Table 2-6 and Table 2-7 detail information for configuring a backup boot mode when the primary boot mode fails or returns.

In the case of backup boot mode, configure the MMC/SD card boot mode instead of eMMC boot mode. To achieve this, the following pin settings are required:

  1. Select MMC/SD Card Boot Mode using the Backup Boot Mode Pins as defined in Table 2-6.
    • BOOTMODE[1:3] = 0b101 → MMC/SD card boot mode
    Table 2-6 Backup Mode Selection When MCU Only = 0
    Backup Boot Mode PinsBackup Boot Mode Selected
    321
    101MMC/SD Card
  2. Configure MMC/SD Boot Mode Settings
    • BOOTMODE[4:5] = 0b00 → 4-bit bus width, file system (FS) mode
    • BOOTMODE[7] = 0b0 → Select Port 0
    Table 2-7 MMC/SD Boot Configuration Fields
    BOOTMODE PinsFieldValueDescription
    7Port0
    1
    Port 0
    Port 1
    5Bus Width0
    1
    4 bit
    1 bit
    4FS/Raw0
    1
    FS mode
    Raw Mode

    As a result, the DIP switch settings for MMC/SD card backup boot mode are as follows:

    • BOOTMODE SW8[1:8]: X101_00X0
    • MCU_BOOTMODE SW9[1:8]: XXXX_XXXX (not relevant for backup boot configuration)

    To support both primary and backup boot modes using a single eMMC device connected to MMC controller Port 0, use the following unified switch configuration:

    • BOOTMODE SW8[1:8]: 1101_0000
    • MCU_BOOTMODE SW9[1:8]: 0100_0000