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.

TDA2EVM5777: How to burn BIOS(sbl and appimage) into qspi ?

Part Number: TDA2EVM5777

Hi,

I want to boot bios from qspi, I reference the manual VisionSDK_UserGuide_TDA2xx.pdf - 3.7Load using QSPI.But I don't have JTAG,I cannot use ccs to download the binary.

I heard there are also ways using the USB boot mode to load and execute an image from DDR3 to then run a secondary boot loader that can flash QSPI-NOR or eMMC flash. So could you indicate which documents mention this?

Regards

  • Hi,

    You can use Mflash to flash via UART.

    Please see PROCESSOR_SDK_VISION_03_07_00_00\ti_components\drivers\pdk_01_10_03_07\packages\ti\boot\sbl_auto\docs\AppNote_mflash.pdf

    Regards,

    Rishabh

  • Hi,Rishabh

    I follow the guide, I compile the sbl_mflash_tda2px-evm and copy AppImage_BE and MLO into mflash directory.

    And I enabled UART3 by two simple registers modification on the evm.

    I use below command try to download the AppImage_BE and MLO.

    sudo ./mflash.out -M sbl_mflash_tda2px-evm -P 0 -F AppImage_BE 0x80000 -F MLO 0x00 -C

    But it crash in Opening port for sbl_mflash.

    Here's the complete download log

    lyp@lyp-desktop:~/hd2/tda2/sdk_3.07/ti_components/drivers/pdk_01_10_03_07/packages/ti/boot/sbl_auto/tools/mflash$ sudo ./mflash.out -M sbl_mflash_tda2px-evm -P 0 -F AppImage_BE 0x80000 -F MLO 0x00 -C
    Usage: mflash -M <sbl_mflash> -P <Port Number> -C [optional: to clean the QSPI Flash]-F <fileName> <offset> -F <fileName> <offset> ... [PC] sbl_mflash sbl_mflash_tda2px-evm
    [PC] File	0	AppImage_BE
    [PC] Offset	0	0x80000
    [PC] File	1	MLO
    [PC] Offset	1	0x00
    [PC] com /dev/ttyUSB0
    [PC] ##########Starting USB/UART Flasing Utility##############
    [PC] Put UART Boot Mode, make fresh UART connection & restart
    [PC] Press Enter when done...
    [PC] Opening serial port successful.
    [RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]41	[RBL]7	[RBL]3	[RBL]13	[RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]41	[RBL]7	[RBL]3	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]14	[RBL]21	[RBL]1	[RBL]0	[RBL]0	[RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]41[RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]41	[RBL]7	[RBL]3	[RBL]13	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]14	[RBL]21[RBL]1	[RBL]0	[RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]41	[RBL]7	[RBL]3	[RBL]13[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]14	
    [PC] Requesting the ASIC ID
    [RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]41	[RBL]7	[RBL]3	[RBL]13	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]14	[RBL]21	[RBL]1	[RBL]4	[RBL]1	[RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]41	[RBL]7	[RBL]3	[RBL]13	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]14	[RBL]4	[RBL]1	[RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]41	[RBL]7	[RBL]3	[RBL]13	[RBL]2	[RBL]4	[RBL]1	[RBL]5	[RBL]1	[RBL]56	[RBL]41	[RBL]7	[RBL]3	[RBL]13	[RBL]14	[RBL]21	[RBL]1	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]0	[RBL]4	[RBL]1	
    [PC] Requesting PERI_REQ mode
    [PC] Sending SBL_MFLASH filesize.
    [PC] Size of sbl_mflash = 51468
    [PC] Sending SBL_MFLASH... Please wait
    [PC] File Size  = 51468
    [PC] #
    [PC] Transfer Complete. Time = 4.000
    [PC] Opening port for sbl_mflash.
    

    I think there are something wrong with my operation....Do you have some idea?

    Regards

  • Hi,

    Your original question mentions TDA2xx whereas as per your reply you are trying to use TDA2Px.

    Can you confirm what is the exact SoC you are using.

    Regards,

    Rishabh

  • Rishabh,

    It's TDA2PX.

    Regards

  • Hi,

    Can you confirm if you have followed the step "Put UART Boot Mode, make fresh UART connection & restart".

    Regards,

    Rishabh

  • Hi Rishabh,

    Yes,I sure I make this.

    I have to give up this way. I try to boot up in Linux and flash image into /dev/mtd0 and it success.But I meet another problem. I will ask a new question in new thread.

    Thanks