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.

RM57L843 Unable to access RAM

Other Parts Discussed in Thread: RM57L843

Hi,

     We are working RM57L843(Rev B) custom based board.

When we are trying to download the code to flash using GHS multi IDE, first memory is copied to RAM and then it will write into flash, but it is failing at the RAM load itself. When we run RAM test from GHS it is failed at starting location itself(at start address itself failing ) not even after at some address location, for flash address locations also same result(unable to write at those locations) and same situation for Flash test also.But we are able to access the core control registers(Like r0,r1,program counter,stack pointer and other processor control registers..etc) and we are able to change those registers and access back changed registers. But after reset when we try to read the RAM and flash locations those values are junk values and no proper sequence is there , and when we try to read System general purpose registers values are junk only except program counter(pc).I am attaching CPU core registers.

Can any one tell me what could be the issue to acess the RAM.Let me know is any others details needed.

Thanks & Regards,

Naveen.8231.CPUregisters_notworking.rar

  • Naveen,

    If there is a way to force a system reset before programming - give that a try.

    If the MPU is enabled you may not be able to download the F021 API files that are used for programming into RAM.

    Also it's best if the cache is disabled when the download occurs.

    We'll try to take a look but just getting setup w. GHS and not sure how long it will take.

  • Hi I am wondering how you configured your project in Multi for the RM57L843?

    I don't see an RM57 option when creating a new project. Did you just generic cortex R5?
    Or is there an update that is needed from somewhere to pull in additional device files.
  • Hi Anthony,

    We contacted support team to get those files, and they shared some .iff patch files to support RM57.I am sharing those patch files.

    7002.ti.rar

  • Hi Antony,

    Today I tried with RM57L843 HDK evaluation board, I got same result as in custom board and following is my observations:

    When I am able to download,execute the code from CCS. When I am trying to connect the board with GHS probe, able to do and able to reset the board.When I am trying to download the code to flash it is giving block write failed error,so I executed the memory test for RAM and Flash regions both are failed and when I read those values those are junk values at those locations and when I tried to read general Purpose registers(core registers) those are also junk values.


    One more observation we have noticed that when there is no code running(after erasing the flash) I am getting these errors.When I connected the GHS probe after downloading and executed the code from CCS, I am able to connect and control the target and able to download the code,able to execute it(First I downloaded the code from CCS and executed and then powered off the target and turned on, tried to connect the target with GHS and able to conrol the target,downloaded the code and able to execute it) but when there is no code inside flash it's getting error.

    In GHS .mbs file some clock related settings only getting executed.

    Could you please tell me that what are the registers or configurations that CCS is doing while downloading the code to flash or what is the settings do I need to configure when I am connecting external debugger.