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.

Compiler/TDA2E: tda2x flash maximum

Part Number: TDA2E
Other Parts Discussed in Thread: TDA2

Tool/software: TI C/C++ Compiler

Hi Expert,
I'm expected running PROCESSOR SDK VISION v03.05.00 rtos on tda2x custom board.

what is the NOR / QSPI flash maximum size support to tda2x?

Can it be larger than 256 MByte?

Could you please provide some guide on these questions?
Thanks in advance.

  • Hi,

    Maximum QSPI flash size can be 64 MB.

    You can use a bigger NOR but TI EVM support only 32 MB NOR and so we have I haven't come across any customer who uses a bigger NOR.

    You will need to update the NOR timings as per the custom part.

    Regards,

    Rishabh

  • Hi.

    Please allow me to continue this E2E Thread.

    #1. If using TI RTOS for TDA2, the default is boot from QSPI Nor Flash, right?

    #2. If booting from the QSPI Nor Flash, what’s the Maximum size that QSPI Nor can be used?

    #3. Do we have those below items with Maximum size for TDA2/3/4? Any document?

                   A. Boot Flash

                   B. DDR

                   C. EMMC?

    #4. To change the QSPI Nor For Booting, is there any document to let the customer follow the process for modifying the code?

    #5. Can we store those TIDL files on the "Booting QSPI Nor Flash" ? NET / PRM.BIN、TIDLCFG.TXT.

          if no, how to store them on the EMMC and what are the APIs to access those TIDL files?

    BR Rio

  • Hi Rio,

    Please note that this answer is in context of TDA2/TDA3 family, for TDA4 question please start a new thread.

    Actually there are two interfaces: GPMC  NOR and QSPI NOR.

    Boot via GPMC NOR is called NOR boot and it supports XIP mode.

    Boot via QSPI NOR is called QSPI boot.

    1. There is nothing like default boot mode. In case SYSBOOT[0:15] is set to 00000000 00000000, RBL does not boot via any interface. Hence this becomes debug boot mode.

    2. The maximum size for QSPI is 64 MB.

    3. Boot flash can be 64 MB, DDR is 4 GB but not all CPUs will support it. eMMC is not supported in RTOS so you need to ask a separate query for eMMC size.

    4. Customers can refer to SBL user guide and Vision SDK user guide.

    5. TIDL files are quite big in size, hence you will need SD card.

    Regards,

    Rishabh

  • Hi,

    How to program TIDL files to qspi (or NOR) flash if it is within 64MB?

    Could you please provide some guide on these questions?
    Thanks in advance.

  • Instead of reading the network and parameters binary files, you can convert the binary files into an array in C code and compile them into AppImage.

    In tidlODInit(), you will read data from the array instead of from file to fill the NetParams memory.

    You can find the tool to convert binary to C under ~/vision_sdk/apps/tools/misc_tools/bin2c.

    As for configuration txt file, you may hard-code the configuration in the use case so it doesn't need to read from file.

    Regards,
    Stanley