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.

Not able to access the RAM/FLASH

Hello,

we are using TMS470R1B1MPGEA controller for our application.

But we are not able to read/write the RAM/FLASH.

I have read the data from MSMPWL it shows data 0x00000000.

the MSMSCR register has the value 0x00000501;

My questions are as below,

1) The value of the MSMPWL  is 0x00000000. by default the value has to be 0xffffffff. we have not changed the values?
2) How to make memory not secure?

3) Without MSM configuration can we access the RAM and Flash?

We are aware that TMS470R1B1MPGEA  is not advisable to use, but we have custom board, need the help.

Thanks And Regards,

Vijay Hiremath

 

  • There is something wrong here. Can you read and write to any system/peripheral registers from debugger?

    Thanks and regards,

    Zhaohong
  • Hello Zhaohong,

    We are able to access(Read/Write) System/peripheral registers from Debugger(J-Link Base).

    But Not able to access RAM/FLASH.

    On first start we read MSMKEYS and MSMPWL both are 0x00000000 But as from the data sheet the device should show 0xFFFFFFFF.

    Why the default value is 0x0000000?

    Is it the expected behaviour?

    And (MSMSCR) shows 0x00000801 . as per specification the device is secure.

    Even after the Reading MSMKEYS we are getting the same value. is it expected?

    Thanks And Regards,
    Vijay Hiremath
  • The flash is secured after a reset until the password match flow is executed. The password match flow (PMF) is a sequence of four reads from the password locations (MSMPWL3–0 or MSMPWL7–4) followed by four writes to the MSMKEY registers. If the device is unsecured by PMF, then the password will be visible in the password locations.

    If the device is blank, the four reads from the password locations are sufficient to unlock the device as the four MSMKEY registers are initialized to 0xFFFFFFFF at reset. Before you do the four dummy reads, you will not be able to see the true contents of password locations.

  • Please review the following two documents for more details.

    www.ti.com/lit/ug/spnu243/spnu243.pdf
    www.ti.com/lit/an/spna099a/spna099a.pdf

    Thanks and regards,

    Zhaohong