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.

RTOS/TMDSEVM572X: SD card boot issue

Part Number: TMDSEVM572X


Tool/software: TI-RTOS

Hi,

  I am new to SITARA family, i used Win32DiskImager to crate boot SD card (Jumper are set) using "processor_sdk_rtos_am57xx_3_03_00_04\prebuilt-sdcards\evmAM572x\sd_card.img" following the steps provided under "processors.wiki.ti.com/.../Processor_SDK_RTOS_Creating_a_SD_Card_with_Windows" and connected UART debug cable (configured also).

Unfortunately i am not able to see anything coming out on TeraTerm. Interestingly POWER LED is ON continuously unless i press power switch for almost 15secs.

  • The RTOS team have been notified. They will respond here.
  • Interestingly POWER LED is ON continuously unless i press Power Switch for almost 15secs
  • Hi,

    I can try today and get back to you, but I expects it work as expected.

    Regards, Eric
  • After the SD card is created, can you confirm that the FAT formatted SD card has 2 images: MLO and app as the article indicates? Independent of boot have you verified if the UART boot works on your EVM by loading UART examples over an emulator? another quick test would be to use the pre-built SD card in that is provided in the EVM kit and follow the instructions in the Quick start guide to see if the UART and SD boot is working.
    www.ti.com/.../sprw275.pdf

    Can you also indicate what revision of the board are you using ?

    Regards,
    Rahul
  • Hi,

    I just tried and SD card booted properly. Please check if you can see MLO and app files are on the cards after writing the image. Also, please make sure the UART works using standalone UART test example.

    Regards, Eric
  • Really appreciated.

    Yes, SD card having two file MLO and app (FAT32 formatted). (using "processor_sdk_rtos_am57xx_3_03_00_04\prebuilt-sdcards\evmAM572x\sd_card_img" )

    Currently I am not having emulator and hence can't test UART example. :(

    Unfortunately I have over written the pre-built SD Card for my new app, but I have backup of pre-built SD Card content.

    I am having A3A revision of board.

  • I have noticed :
    /* UART LLD instance number */
    #define BOARD_UART_INSTANCE 2

    Is this correct? because i checked schematics of A3a version and found UART3 is connected with serial debug connector.
    To get effect of change value of "BOARD_UART_INSTANCE" do i need to compile the PDK build?

    I have tried creating app for LED Blink example code and tried booting from SD Card. I can control LED0 & LED1 but with no UART data.
  • Hi,

    For AM572x GP EVM, the UART is defined as:

    /* UART LLD instance number */

    #define BOARD_UART_INSTANCE 2

    This matched the EVM using UART3 for TX/RX, you don't have to change this to 3.

    If you don't have JTAG to run a standalone UART test program, you can try the board diagnostics to see if you can see anything from UART console.

    But given that LED blinking worked on your end, I suspect some setup issue. E.g, can you detect the UART cable plug/unplug in your host PC? is it 115200, 8-N-1 setting? Can you try a different UART cable or USB port in host PC? Or is the cable orientation correct? See the attached picture.

    Regards, Eric

  • Vijay,

    The reason that the UART Instance is set to 2 is that in code the UART instances are numbered [0-7] while in the Schematics they are numbered [1-8]. As Eric indicated there is no need for any code modification.

    It is critical for you to root cause the issue regarding why there are no UART prints. One way is to run the diagnostics to see if there are any prints on UART and another way is to set the boot switches besides the Ethernet port to UART boot and see if you observe ping character "C" from the Boot ROM on the device.

    If UART is not detected on the host machine ensure that the Host USB-UART driver was installed correctly and confirm that your six pin UART cable is connected as Eric has indicated with the black cable aligning with the GND pin on the EVM.

    Regards,
    Rahul
  • Hi,

      I dint change UART macro and tried board diagnostics but still not seeing anything on UART console.

    Host PC is able to detect UART cable, I tried with different USB ports and different PCs but not with different cable because i am having only one.

    TeraTerm configure for 115200, 8-N-1 setting and orientation of cable is also correct (same as the pic shared by you).

  • Hi,

    Maybe you need to find a new cable to make sure the cable is not broken.

    Regards, Eric