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.

CCS/TMS320F28377S: TMS320F28377s: CPU / CLA local shared RAM

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

In my cmd file I'm setting LS1 to LS5 as CLA program memory.And in my program, I check whether this space is normal by writing and rereading.The code as shown below,

void RamCheck(void)
{
Uint16 *addr;
Uint32 i;
int iRamCheckErr=0;

addr = (Uint16 *) 0x008000;


for (i = 0x000000; i < 0x003000; i++)
{
     *(addr + i) = 0x5555;


     if (*(addr + i) != 0x5555)
     {
        iRamCheckErr=1;
      }


      *(addr + i) = 0xaaaa;

      if (*(addr + i) != 0xaaaa)
      {
         iRamCheckErr=1;
       }

      *(addr + i) = 0x0000;
}


addr = (Uint16 *) 0x00C000;
for (i = 0x000000; i < 0x010000; i++)
{
     *(addr + i) = 0x5555;


     if (*(addr + i) != 0x5555)
     {
        iRamCheckErr=1;
      }


     *(addr + i) = 0xaaaa;


     if (*(addr + i) != 0xaaaa)
     {
          iRamCheckErr=1;
     }
     *(addr + i) = 0x0000;
}

if (iRamCheckErr==1)
{
    while(1)
   {
     ;
   }
}
}

At present, in the process of testing the main program jumping to the boot program, I found that the space between LS1 and ls5 could not be written. As a result, the read value did not match the write value, and the program stopped.


So, I would like to know about the situation that this RAM space cannot be written.

Thanks.