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.

Getting started with SD Card and ezDSP 5515 stick

Hi all,

I would like to know how does a valid linker.cmd file look like for data that is to be stored in the SC Card memory interfaced to the ezDSP c5515 ?

From where can I get a typical linker.cmd file for the C5515 processor ?

Also is this SD Card going to be in I/O memory ? I have bought a 1 Gigabyte card so can I access 1 Gigabyte of memory. I am

referring to the spruf06a.pdf as well.

Thanks in advance.

- AV

  • Hi,

    You can get a .cmd file from the CSL examples at http://software-dl.ti.com/dsps/dsps_public_sw/dsps_swops_houston/C55X/CSL-c55x-lowpower-versions.htm.

    Each examples includes .cmd file. SD is not a port of memory map and it can be access by IO registers. If you are not using a file system, you can access all data blocks.

    Regards,

    Hyun

  • Hi All and Hyun,

    I am seeing the CSL examples.  There are few points which still need some clarification:

    1. The .cmd file given in the examples is VC5505_MMCSD.cmd which I assume is for VC5505 processor. I need it for the C5515 processor. The memory partitions

    mentioned in this file as mentioned below.

    MEMORY
    {
        MMR     (RW) : origin = 0000000h length = 0000C0h /* MMRs */
        VEC     (RX) : origin = 00000C0h length = 000300h /* on-chip ROM vectors */
        DARAM   (RW) : origin = 0000400h length = 007A00h /* on-chip DARAM  */
        SARAM   (RW) : origin = 0008000h length = 01FE80h /* on-chip SARAM  */
    }

    These are different than that of the C5515 USB eZDSP stick.

    2. Also when I want to View -> Memory (in CCS ver 4) and see the SD card being written to there are three options: DATA, I/O and PROGRAM. Since the SD Card is I/O mapped, then I believe I should be able to see the array in the I/O section instead of the DATA section. Is that correct ?

    3. Also what is the address range that I have for access on the SD card when interfaced to the C5515 processor ?

    4. In the case of SARAM, DARAM and NOR flash it is very clear as to from where it's memory values start and end and the range. In case of a SD card which is I/O mapped how does one know which location to look for in the CCS 4.0 Memory view ?

    thanks in advance,

    - AV.

  • Hi,

     

    1. The .cmd file given in the examples is VC5505_MMCSD.cmd which I assume is for VC5505 processor. I need it for the C5515 processor. The memory partitions

    mentioned in this file as mentioned below.

    MEMORY
    {
        MMR     (RW) : origin = 0000000h length = 0000C0h /* MMRs */
        VEC     (RX) : origin = 00000C0h length = 000300h /* on-chip ROM vectors */
        DARAM   (RW) : origin = 0000400h length = 007A00h /* on-chip DARAM  */
        SARAM   (RW) : origin = 0008000h length = 01FE80h /* on-chip SARAM  */
    }

    These are different than that of the C5515 USB eZDSP stick.

    --> This should be fine . The internal memory  is same .

    2. Also when I want to View -> Memory (in CCS ver 4) and see the SD card being written to there are three options: DATA, I/O and PROGRAM. Since the SD Card is I/O mapped, then I believe I should be able to see the array in the I/O section instead of the DATA section. Is that correct ?

    -> SD is not accessible by memory map. It's not part of EMIF access. Also memory access can be configured with GEL file in CCS environment.

    3. Also what is the address range that I have for access on the SD card when interfaced to the C5515 processor ?

    It depends on your card. I guess you confused between regular memory access and SD card. SD access performs  like I2C access to EEPROM. It send address command and data in serial.

    4. In the case of SARAM, DARAM and NOR flash it is very clear as to from where it's memory values start and end and the range. In case of a SD card which is I/O mapped how does one know which location to look for in the CCS 4.0 Memory view ? 

    --> SD is not part of memory map. SD controller registers are mapped to  I/O not SD memory itself.

    Please check with CSL example how it write data and read data from/to SD card.

    Regards,

    Hyun