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.

TDA2SX: DRAM size issue

Part Number: TDA2SX


Hi TI Expert,

I designed a new project with TDA2SX for DEMO purpose.We use the same DRAM(4*4Gb DDR3L,2*1Gb DDR3L and 1*4Gb DDR3L with ECC)  as TDA2x EVM CPU Board.

When the TDA2x EVM CPU Board boot, 4GB memory size could be recognized.

But when I boot my own board, only 1.5GB memory size could be recognized.

We use the same boot image as TDA2x EVM CPU Board.

When we boot the TDA2x EVM CPU Board ,it could recognize the PCB version as H.0.

When we boot our own board,PCB version could not be recognized.

Does the boot image set the DRAM size different when it recognize different PCB version?
 

  • Hi,

    I have forwarded your question to an expert for comment.

    Regards,
    Yordan
  • Hi,

    I am not sure if the size has been posted correctly as the DRAM size as given by you is 2.5 GB (4* 512 MB, 2*128 MB and 1* 512 MB).
    What is the software package you are using.
    If you are using linux can you check if the EEPROM is programmed correctly so that size of DDR is detected as 4 GB.

    Regards,
    Rishabh
  • Hi Rishabh,

    Sorry,correct my memory configuration.The memory size of my project is 4* 4Gbit DDR3L, 2*8Gbit DDR3L and 1* 4Gbit ECC DDR3L .It is same as the EVM configuration.

    Do you mean the PCB version and memory size information is programmed in the EEPROM? We also have a EEPROM on board, but we didn't program it now and it is empty.

  • Hi,

    Can you let me know what is the software package you are using?

    Regards,
    Rishabh
  • Hi Rishabh,

    We tried 2 version software, one is VSDK 2.9 version, the memory size of EVM DEMO board is 1.5GB with this software;another version of the software is VSDK 3.1,the memory size of EVM DEMO board is 4GB with this software.But our own board's memory size always shows 1.5GB with both of this 2 version software.

    Today,we replace our own board's EEPROM with the EEPROM desoldered from the EVM DEMO board, the memory size of our board could show as 4GB with VSDK 3.1. So it seems the memory size and PCB version infromation is programed in the EEPROM. Could you help to let me konw where can I download the software  which has been programed in the EVM DEMO board EEPROM? Or could you help to let me know what kind of information is programed in the EEPROM besides the PCB version and memory size?

    Thanks

    Binge Wang

    Best Regards

  • Hi,

    Can you please confirm if you are using Vision SDK Linux or Vision SDK BIOS.
    In Vision SDK BIOS, LISA mapping is done for only 512 MB.
    In case of Vision SDK Linux, the mapping is done for 1.5 GB which is consistent with your previous observations.

    I have pinged a linux expert to help you with your latest observation where you are seeing 4 GB with EEPROM change.

    Regards,
    Rishabh
  • Hi Rishabh,
    We are using Vision SDK Linux
  • Hi,

    It seems that uboot expert is out of office. You should receive a reply by next week.

    Regards,
    Rishabh
  • Hi,

    Below is the EEPROM Header:

    EEPROM Field
    Byte Location
    Value
    Description
    ID.HEADER
    [3:0]
    0xAA5533EE
    Fixed value at start of header ID.
    ID.BOARD_NAME
    [19:4]
    ‘5777xCPU’
    (ascii)
    For Vayu – fixed value of ‘5777xCPU-DDR3
    For TDA3 – fixed value of ‘TDA3X-DDR3’, ‘TDA3X-LPDDR2’, ‘TDA3X-DDR2
    ID.VERSION_MAJOR
    [21:20]
    0x6
    A=0x1
    B=0x2
    C=0x3
    D=0x4
    E=0x5
    F Skipped
    G=0x6
    H=0x7
    ID.VERSION_MINOR
    [23:22]
    0x0
    0x0 for major revision
    0x1-0x15 for others
    ID.CONFIG_OPTION
    [27:23]
    0x2
    Bit 0: 0 - QSPI (default), 1 - NOR
    Bit 1: 1 – MAC addr in EEPROM (default)
    Bit 2: 1 – Extended Memory Config Support, 0 – No
    Bit 3: 1 – EMIF1 Supported, 0 – No
    Bit 4: 1 – EMIF1 ECC Supported, 0 – No
    Bit 5: 1 – EMIF2 Supported, 0 – No
    Bit 6: 0 – EMIF2 ECC Supported, 0 - No
    EMIF1_SIZE_BYTES
    [31:28]
    0x0
    Memory size for EMIF1
    EMIF2_SIZE_BYTES
    [35:32]
    0x0
    Memory size for EMIF2
    RESERVED
    [55:36]
    0x0
    Reserved
     
     
     
     
    MAC_ADDR
    0x7F00
    00.0E.99.zz.yy.xx
    Optional MAC address

    You have to modify EMIF1_SIZE_BYTES and EMIF2_SIZE_BYTES fields.

    Regards,

    Rishabh

  • Thanks a lot, problems solved