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.

TDA2EXEVM: Flashing Utility - mflash: flashing the binary images to QSPI Flash memory using the UART interface for the TDA2xx Boards.

Part Number: TDA2EXEVM
Other Parts Discussed in Thread: X5777BX, X5777BXGABC, TDA2

Hi,

We are working flash binary image via UART interface on the TDA2X Vision board.

The board information as following:

Vision SDK Version    : [REL_VISION_SDK_03_07_00_00]
FVID2 Version         : [FVID_02_01_00_01]
BSP Version           : [PDK_01_10_03_xx]
Platform              : [EVM]
SOC                   : [TDA2XX]
SOC Revision          : [ES2.0]
Board Detected        : [Vision]
EEPROM Board Info Header Mismatch!!
Base Board Revision   : [REV A]
Daughter Card Revision: [REV D]

As the user guide of  Appnote_mflash (pg#2), we configured the SYSBOOT (SW2 &SW3 ) & BOOT_SWITCH (SW5)

switch SW2[0:7], SW4[8:15] to [11001000][10000001] and SW5 to [0000100000]

At the same time, I setup a serial connection (115200, 8/Even/1 , no flow control) by Tera term on PC side  .

But I don't receive any  "AL!" chars from UART on TDA2XX board even though power reset for several times.

Could you help teach me how to solve the issue ? Thanks.

ps. I could burn successfully flash image via ccs.

BRs,

Sam Hsieh

  • Hi,

    The mflash user-guide mentioned "With correct settings, it should continuously display AL! on the TeraTerm for TDA3xx. The printed characters may vary for different platforms."

    For the TDA2xx platform, it can display anything & when you connect the USB cable from the board to PC, it will show multiple COM ports. So try to connect each COM port & make sure the correct port you are going to use for flashing the images.

    Thanks

    Gaviraju

  • Hi Gaviraju,

    Thank you for your feedback.

    I confirmed that the connection of COM port via USB cable to PC is OK.

    Even though I add a USB hub between PC and TDA2xx board, the result is same FAIL.

    BRs,

    Sam Hsieh

  • Hi Gaviraju,

    As for the connection, we connected TDA2x with PC via UART1 interface (J1 connector).

    Because the message of boot from SD mode could work fine.

    The COM port configuration of PC side should be OK.

     

    regards,

    Sam Hsieh

  • Hi,

    I followed the steps mentioned in the user-guide & I saw the below character on the UART console.

    @D(▒    @▒▒

    Can I know which application are you using to view the UART console? I mean TeraTerm or MobaxTerm or Minicom or Putty, etc.

    I used Mobaxterm & I'm getting expected output in the terminal.

    So please try with different applications.

    Thanks

    Gaviraju

    @D(▒    @▒▒

  • HI Gaviraju:

       Could you provide the soc number , I was used x5777BX(TDA2xx), But I can not see the messages(AL!AL!AL!.....) from  UART.

    Thanks,

     Ethan

  • Hi Gaviraju:

         Our chip is  X5777BXGABC.  May be the part number. Can not support the function. Could you track the part number ?

    Thanks,

  • Hi Gaviraju,

    We used Putty and TeraTerm application to verify it, both the same phenomenon (NG). I don't think which it results from the different application.

    We are worried about the TDA2XX EVM board doesn't support the feature of mflash due to the micro-code of TDA2XX (X5777BXGABC) is out-of-date.

    or we made a mistake in the configuration of SYSBOOT (SW2 &SW3 ) & BOOT_SWITCH (SW5).

    Could you help confirm the following questions ? Thanks.

    Q1. Does it TDA2XX (X5777BXGABC) support the mflash feature?

    Q2. Is the DIP SW configuration OK?

    BRs,

    Sam Hsieh

  • Hi Gaviraju,

      I uesed mflash to burn my code, TDA2 is crash and hold.

    [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0

    [PC] Requesting the ASIC ID
    [RBL]4 [RBL]1 [RBL]5 [RBL]1 [RBL]56 [RBL]41 [RBL]7 [RBL]2 [RBL]13 [RBL]2 [RBL]1 [RBL]0 [RBL]12 [RBL]15 [RBL]1
    [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0
    [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]14 [RBL]21 [RBL]1 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0
    [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0
    [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0 [RBL]0
    [PC] Requesting PERI_REQ mode
    [PC] Sending SBL_MFLASH filesize.
    [PC] Size of sbl_mflash = 69477
    [PC] Sending SBL_MFLASH... Please wait
    [PC] File Size = 69477
    [PC] ##
    [PC] Transfer Complete. Time = 1.000
    [PC] Opening port for sbl_mflash.
    Baud = 12000000
    Parity = 0
    StopBits = 0
    ByteSize = 8
    [PC] Opening serial port successful. 

  • Hi,

    I will check with my teammate's whether "x5777BX" board will support mflash or not & I will update you soon.

    The previous issue is resolved? I mean printing the character "AL!" continuously.

    Basically mflash tool used to flash the images to the QSPI memory & this can be done using CCS & JTAG. So why don't you make use of this method?

    Thanks

    Gaviraju