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.

TMS570LS1227 debug with SEGGER's JLINK

Other Parts Discussed in Thread: SEGGER, TMS570LS1227

Hi,

I am using SEGGER's J-Link plus with IAR EWARM(v6.5FS) and the target MCU is TMS570LS1227ZWT.

J-link cannot read any registers and variables on target is running.

When i try to read registers or variables on running, Debug log shows "Failed to read one or more register values (busy). "

Only can read when stop the running .

So, I asked the problem to SEGGER website.

and He answered "Please keep in mind that for Cortex-A/R devices it is up to the chip vendor whether he implements the hardware necessary in order to do background memory access. It is an optional feature of Cortex-A/R (But it is a mandatory feature of Cortex-M / Renesas RX)."

TMS570LS1227 is not support to access background memory?

How can i read MCU's registers and variables while running?

It is impossible? or another way to solve the problem?

  • Hi Sunghoon,

    LS1227 does support non-intrusive debug which means that the debugger can read the memory and registers while the CPU is running. The CortexR4 contains a DAP (Debug Access Port) which has as an AHB-AP interface that is connected to the system bus for accessing memories/registers without stopping the CPU. I'm not familiar with IAR tool. There should be way to select DAP as the master to access the memories. Once you figure out how to select the DAP then you should see the memories refreshed with new data while the CPU is running.
  • Hi Sunghoon,
    Can you now use the debugger in an non-intrusive way to watch the memories and registers without halting the CPU? If your question is answered can you please click the Verify Answer button? Thanks.
  • Hi Sunghoon,

    Do you have further questions? If your question is answered can you please click the Verify Button to close the thread? Thanks.