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.

Compiler/TDA4VMXEVM: SD card read/write test

Part Number: TDA4VMXEVM

Tool/software: TI C/C++ Compiler

Hello ti

I want to write test about SD card read/write. write some data to specified address then read from this address and check

but i do not known the address about sd card.

flash and emmc read/write is described in Processor SDK Linux Automotive 06_02_00,i can test read/write by uboot command

How abot SD card?

  • Hi,

    On u-boot once you have a FAT partition on your card you can try the below:

    fatwrite mmc 0 addr filename size
    write file 'filename' from the address 'addr' in RAM of size bytes.
    Basically copying from RAM--->SD card.


    Then you can readback:

    fatload mmc 0 ${loadaddr} filename
    This will load from SD--->RAM.

    Then you can dump the contents of loadaddr using md command and can verify.
    Similar interfaced available for EXT4 partitions in u-boot to test:
    ext4write/ext4load.

    Hope this is what you are looking for.

    Best Regards,
    Keerthy