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.

DM6437 Platform.tci Compared with the datasheet.

Other Parts Discussed in Thread: CCSTUDIO

While doing a detailed review of the configuration settings for our own hardware,  I noticed that the DM6437 Platform.tci differs from the data sheet.  The data sheet says the following, and I have added the interesting part of the TCI below.    Does the information in the TCF file take precedent over the Platform.TCI or should they all match?  Should I correct the L2 and L1 sizes to align with the datasheet?   

What is the 2-MB of SRAM mentioned in the TCI file?  It says "external."  Is this referring to an external chip, or external to the core?  Is that memory present on the EVM or something?

The data sheet says ...
128 K-Byte L2 RAM
32 K-Byte L1 Pgm
80 K-Byte L1 Data
 

From c:/CCStudio_v3.3/bios_5_32_03/packages/ti/platforms/evmDM6437/

/*
 * Setup platform-specific memory map, CLK rate, etc.
 */
var mem_ext = [];

mem_ext[0] = {
    comment: "128Mbytes of the DSP's DDR2 off-chip memory",
    name: "DDR2",
    base: 0x80000000,
    len:  0x08000000,
    space: "code/data"
};

mem_ext[1] = {
    comment: "2Mbytes of SRAM (off-chip memory)",
    name: "SRAM",
    base: 0x42000000,
    len:  0x00200000,
    space: "code/data"
};

/* Specify the L1 and L2 memory settings */
var device_regs = {
    l1PMode: "32k",
    l1DMode: "32k",
    l2Mode: "0k"
};

  • Bandeg said:
    Does the information in the TCF file take precedent over the Platform.TCI or should they all match?

    If the TCI file has definitions that overlap with the TCF file than I suspect you would end up with a build/linker error (I haven't tried this) or the TCF file would just overwrite the TCI settings as long as the TCF file had the TCI included before the memory changes were put in place (TCF is handled in sequence down the file and TCI is just like a header that is inserted into the TCF), if the memory is defined in the TCI file you should not have to define it again in the TCF.

    Bandeg said:
    Should I correct the L2 and L1 sizes to align with the datasheet?   

    Probably not, though you could if you wanted to, what is being defined there is not how large the L1 and L2 memory is, but rather if it is set to be cache or RAM, the setting you see in the TCI file here is to have 32k each of L1 and all L2 as RAM.

    Bandeg said:
    What is the 2-MB of SRAM mentioned in the TCI file?  It says "external."  Is this referring to an external chip, or external to the core?  Is that memory present on the EVM or something?

    This is a 2MB SRAM that is external to the chip, it is present on the EVM, note that the EVMDM6437 TCI file is only defining memory that is unique to the EVM. See jumper J2 of the EVM to switch between the various memory that can be attached to the CS2 space.