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.

can't enable data TCM on dm365

Other Parts Discussed in Thread: TMS320DM365

Hello,

 

I'm using the EVMDM365 board with CCS v4 and the XDS510USB PLUS emulator. I've tried to enable the data TCM on the TMS320DM365 (memory 0x00010000 to 0x0001bfff). As described in the SPRUFG5A datasheet, I have to write to a CP15 register. Previously, I have read the region registers for both ITCM and DTCM. The values were 0x0000fff0 for both registers, which seems strange values to me. After writing the value 0x00010019 (SPRUFG5A, page 24) to the DTCM region register to enable it, the new value was 0x0000fff9 and the DTCM was still disabled. Is there an explanation for that?

 

Regards.

  • The following post might help:
    Problem Debugging Custom UBL/BL solution for DM365
    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/p/64342/232199.aspx#232199

    It gives the I-TCM and D-TCM enable sequence.

  • Hello,

     

    it seems that I used the wrong CP15 register in my instructions. Now I can read and write to the TCM region registers and the values I have read out are correct, but when I change the value of a memory location in the D-TCM address space the value changes in the I-TCM address space too (e.g. change a value on 0x00010100 --> value on 0x00000100 is also changed). It seems that the memories are kind of overlapped.

     

    Regards.