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.

TDA4VM: xSPI as Primary Boot Mode and MMC/SD card as Backup Boot Mode

Part Number: TDA4VM
Other Parts Discussed in Thread: DRA829
Hello Ti experts, I'm currently using SDK 8.6 on a proprietary designed hardware based on TDA4VM SoC. All the BOOTMODE pins can be configured through an external dip switch. Similarly MCU_BOOTMODE[06:03] pins can be configured through another dip switch while all other MCU_BOOTMODE pins are hard wired to logic 0. I'm trying to configure Boot Mode pins in order to select xSPI Boot Mode as primary boot option (bootstrap SBL from an external NOR flash) and MMC/SD Card as backup boot option. At this stage I have a proper configuration on the MMC/SD Card (with SBL and all other software components) but I have nothing installed on the NOR flash. I would like to validate my Boot Mode pins configuration and I would expect to see the system boot-strapping from the backup MMC/SD Card since on the NOR flash nothing it is installed. But I'm not able to bootstrap SBL. The configuration of the Boot pins is the following:
MCU_BOOTMODE[09:00] = [  0 0 0 1 1 0 0 0 0 ], that should correspond to Normal Boot mode, xSPI option
BOOTMODE[07:00] = [ 1 0 0 0 1 0 1 1 ], that should correspond to MMC/SD Card port 1 (my SD card is connected to MCU1 peripheral)
I can bootstrap properly if I select MMC/SD Card as primary boot option using this configuration
MCU_BOOTMODE[09:00] = [  0 0 0 0 0 0 0 0 0 ],
BOOTMODE[07:00] = [ 0 1 0 0 0 0 0 1 ]
But as I said my purpose is to have xSPI as primary boot and MMC/SD Card as backup. Is there any mistake in my pin configuration or what else is going wrong with my test?
  • Hi,

    I'm trying to configure Boot Mode pins in order to select xSPI Boot Mode as primary boot option (bootstrap SBL from an external NOR flash) and MMC/SD Card as backup boot optio

    Can you confirm if you are trying OSPI boot mode or xSPI?

    Fot TDA4VM the boot loaders support OSPI mode and not xSPI.

    - Keerthy

  • Hello  Keerthy,

    I confirm the primary boot mode I'm configuring is xSPI not OSPI. According to the "J721E DRA829/TDA4VM Processors. Silicon Revision 1.1 Texas Instruments, Families of Products"  - Technical Reference Manual, xSPI should be supported with silicon revision PG1.1. Indeed I successfully tested the xSPI node as primary boot on my hardware. I cannot use OSPI with my NOR flash (that is a Cypress S28HS512TGABHI010) because OSPI boot mode seems not supported by this model of memory.
    Nevertheless I'm trying to validate the backup boot mode that in my case is MMC/SD card. So I would like to verify that the TDA4 can bootstrap properly from the backup device when the attempt to boot from the primary device fails for any reason. In order to test this feature I'm considering an empty flash so that the attempt to load SBL should result in a failure. But I cannot see the bootstrap happen.
    A couple of questions:
    1. Is my validation procedure correct or am I doing something wrong?
    2. Is there a way to get logs of the activities performed by RBL? At this stage RBL is a black box for me and I cannot see which operation is performing
  • Indeed I successfully tested the xSPI node as primary boot on my hardware. I cannot use OSPI with my NOR flash (that is a Cypress

    Understood.

    Your test looks right. Do you get any logs on the console?

    Do you have a CCS JTAG? If yes you can connect to MCU r5f and check the PC.

    Best Regards,

    Keerthy