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.

AM2431: Sitara AM243x SD Card Booting

Part Number: AM2431
Other Parts Discussed in Thread: TMDS243EVM, UNIFLASH

We’re trying to get it to boot from the SD card and haven’t had any luck even after going through the documentation.

 

Can you explain the SD card boot process, or share with us a document on that process?

 

We’ve read a lot of information in the reference manual, and for the SDK here:

https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/latest/exports/docs/api_guide_am243x/TOOLS_BOOT.html

https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/latest/exports/docs/api_guide_am243x/EXAMPLES_DRIVERS_SBL_SD.html

 

Still haven’t got it to work.

  • Hi Ruben, Can you please share the error you are getting? Are you able to see any logs on the UART console? Below are some pointers before going into low level debug

    1. Make sure board is configured in SD boot mode

    2. Make sure SD card is formatted properly to FAT32/16 format.

    3. Make sure to copy all required files into the SD card

    Typically, you should see below logs for SD boot mode.

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/latest/exports/docs/api_guide_am243x/EXAMPLES_DRIVERS_SBL_SD.html#autotoc_md1557 

    Regards, Prasad

  • Hi Ruben,

    Please try the steps in the following URL:

    AM243x MCU+ SDK: EVM Setup (ti.com)

    Best regards,

    Ming

  • Hi Ming,

    Further inputs based on email discussions. Can you please help?

    We’ve been using the TMDS243EVM. Here were our steps:

    1. Formatted SD card to FAT32 and placed our application file called “app.appimage” onto the SD card and inserted SD card into the board.
    2. With EVM off we place it in UART Boot mode, powered on, and flashed board with sbl_sd.release.tiimage, using uart_uniflash.py.
    3. Powered off board, flipped switches to SD boot mode, and powered back on.

    We never saw the sample output from the SBL and it never booted to application. Attached is the .cfg file we created for the SBL booting.

    SD card booting info is scattered throughout the SDK doc, I can’t find it now but I’ve seen notes suggesting SD card booting isn’t currently supported on the EVM, and that SD card booting of apps larger than 380kB aren’t supported.

    Regards,

    Prasad

  • Hi Ruben,

    When the boot mode set to be SD car boot, the ROM bootloader will get everything (SBL and App image) from SD card. It will ignore the flash content

    Here is what should have been done for the SD card boot:

    1. Formatted SD card to FAT32
    2. Copy sbl_sd.release.tiimage to SD card and rename it to "tiboot3.bin"
    3. Copy your application image onto the SD card rename it to "app"
    4. Insert SD card into the board.
    5. Set to SD boot mode and powered on board.

    Best regards,

    Ming

  • . Does anyone know, is this flash programmable over JTAG through CCS, can we run programs from it?

  • Hi Ruben,

    A suggestion, please create a new thread for it, because it is a different question.

    You can use the C:\ti\mcu_plus_sdk_am243x_08_05_00_24\examples\drivers\boot\sbl_jtag_uniflash to write your SBL and application image into flash.

    I do not think the execute in place is supported on AM243x.

    Best regard,

    Ming