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.

AM3359: eMMC usage with MMCSD driver

Part Number: AM3359

Hello,

currently I'm working on a customer Board based on the ICEv2 with some perhiperial changes. The customer board has an eMMC. Plan is to use the eMMC for both bootloader and FTP.

We are using PDK AM335x v 1.0.12.

In the PDK I've found two different modules usable for the eMMC:

  • packages\ti\drv\mmcsd;
  • ti\starterware\bootloader (and ti\starterware\examples\mmcsd) - only SD is supported in this version.

The latter one was used and modified in an older project, the CSS project comes from an older versionf of industrial SDK, but thoe code seems not to be changed. Because the ICEv2 dows not support eMMC, the eMMC part is not implemented in the TI library.

I have some questions.

  1. Is the content of "starterware" still supported by TI?
  2. The bootloader seems not to use any of the drv/mmcsd files - is that intentioned, a result of different developments or a missunderstanding by me?
  3. Is it possible to use a bootloader by using the drv/mmcsd? Which user specific functions have to be registered?
  4. Is it possible to use arbitray parts of eMMCS using the bootloader project (including modifications)?
  5. Which ofthe MMCSD libraries schould be used in future to still get TI support?
  6. Is there a current documentation for both MMCSD packages?

Thank you very much.

  • Hi Martin,

    >>Is the content of "starterware" still supported by TI?

    [Ming] Yes, but limited to a few functions like bootloader, DCAN and flash writer etc.

    >>The bootloader seems not to use any of the drv/mmcsd files - is that intentioned, a result of different developments or a missunderstanding by me?

    [Ming] The Starterware is obsolete, we only to keep it for a few functions which only are supported in the Starterware. The drv/mmcsd is the Low Level Driver for MMCSD. It is updated, so that it supports the eMMC. It was developed after the Starterware/bootloader.

    >>Is it possible to use a bootloader by using the drv/mmcsd? Which user specific functions have to be registered?

    [Ming] As I mentioned before, the current bootloader is not based on the drv/mmcsd. If you want to use drv/mmcsd in bootloader, you will need to re-write the booloader to use the APIs from the drv/mmcsd. TI does not officially support this changes.

    >>Is it possible to use arbitray parts of eMMCS using the bootloader project (including modifications)?

    [Ming] Only drv/mmcsd supports the eMMC function, as long as it compliant to the eMMC standard. Please check the release notes the features were descoped or added. The bootloader as is does not support eMMC.

    >>Which of the MMCSD libraries should be used in future to still get TI support?

    [Ming] drv/mmcsd

    >>Is there a current documentation for both MMCSD packages?

    [Ming] Check pdk_am335x_1_0_16\packages\ti\drv\mmcsd\docs and following URL:

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_01_00_08/rtos/index_device_drv.html#mmcsd

    Ming

    [/quote]