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.

AM1806: eMMC programming

Part Number: AM1806
Other Parts Discussed in Thread: OMAP-L132, UNIFLASH, AM1808, OMAPL138

Could you share the concrete methods, which means how to write to a blank e. MMC devices by way of AM1806?

We think it is able to write though AM1806 from below information. Now we would like to make sure the concrete methods.

www.ti.com/.../sprab41f.pdf

Material :Using the OMAP-L132/L138 Bootloader

Page :43 page

Detail :

ROMID: D800K008, Silicon Revision 2.1, 

"Added MMC/SD0 boot mode (boot from MMC cards, SD card, and eMMC devices)"

  • Hi,

    Could you share what software are they planning to use: Processor SDK RTOS or Linux, or a bare-metal code?

    Best Regards,
    Yordan
  • Can we write the boot program to eMMC via JTAG or UART?
    Customer is considering to write the code as initial writing of production assembly through the JTAG or UART.
  • Hi,

    Described on behalf of Handa-san.

    The programed image is RTOS.
    eMMC is mount on EVM.
    They would like to know the method to flash the RTOS image into blank eMMC memory via JTAG or UART at production assembly.

    Question1)
    According to the following site,
    processors.wiki.ti.com/index.php
    Sitara Uniflash is available for general Sitara product to flash eMMC memory.
    Is it also available for AM1806?

    Question2)
    Is there any other method to flash eMMC memory for RTOS image?

    Best regards,
    HaTa.
  • Tsuromoto-san,

    The production flashing tool option for AM1808/OMAPL138/C6748 devices is the serial flashing tool that is provided here:
    processors.wiki.ti.com/.../Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138

    As you can see we only support NAND, NOR and SPI boot media for flashing using that tool. We don`t have a eMMC flashing option supported with that utility. eMMC flash and SD booting typically requires users to format FAT filesystem and we don`t provide eMMC formatting tool in PRocessor SDK RTOS for any of the devices supported in the SDK. For SD cards the card can be connect to Windows/Linux host to format so we can use host tools to format it but this is not possible with eMMC as it is mounted on the board.

    One option the customer can explore is the solution that we have provided for AM335x/AM57x users where the user connects to device using USB and runs the USB example that connects to SD or eMMC as mass storage device and allows the host to detect the eMMC device as a mass storage on the host. This will then allow user to format and copy image to eMMC. Check the link below for this solution:
    software-dl.ti.com/.../index_Foundational_Components.html

    The other option is as part of Linux SDK, TI provides uboot which is secondary bootloader for booting Linux kernel. Uboot provide mmc command to read and write images to eMMC as well as to format MMC. Please refer eMMC formatting commands in uboot here:
    software-dl.ti.com/.../Foundational_Components_U-Boot.html

    Hope this provides your customer some options to consider.

    Regards,
    Rahul