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.

TMS320F28374D: Read out M1 RAM

Part Number: TMS320F28374D

Hi champs,

My customer says when she uses emulator connect to device, she can use application code to read out M1 RAM contents, but she fails to read out when F28374D is standalone executing, the return value is always 0, I am thinking whether or not this is due to DCSM.

In TRM we say all dedicated memories (except for M0/M1) are secure memory, does this mean the application code can read out M1 RAM contents even from non-secure memory space?

Do you have comments on the situation my customer is facing please?

Regards,

Luke

  • Hi,

    Please allow me to look into this and I will get back to you tomorrow.

    Best Regards,

    Ben Collier

  • Luke,

    Does the customer have any password programmed onto the device? Also, how are they reading the code out of the device in standalone mode? 

    Best Regards,

    Ben Collier 

  • Ben,

    Yes, the device is secured by DCSM password. My customer uses USB port to transfer data to PC tool and check, for both standalone mode or executing code by using emulator.

    According to my customer, she wants to copy some contents of M1 RAM to GS RAM and the read command is in secure memory region. The strange thing is that the M1 RAM can be read if she uses emulator to run code, but cannot be read in standalone mode (the return value is 0).

    In TRM we say M0/M1 RAM are not secure memory, so this shouldn't happen, is it correct? My customer is wondering is there anything need to be done before reading M1 RAM in standalone mode?

    Please advise, thanks for your help.

    Regards,

    Luke

  • Hi Luke,

    I think that is correct that M0/M1 RAM should be able to be read even in a locked device, but I need to reach out to another expert to confirm. Are you able to give any more detail about what software the customer is using to read the data over the USB cable when in standalone mode? 

    Best Regards,

    Ben Collier

  • Hi Ben,

    My customer misunderstands the fill command in linker command file will fill M1 RAM with specific value in standalone mode, this is the reason she thinks she fails to read out the content of M1 RAM.

    This problem has been clarified, thanks for your support.

    Regards,

    Luke