AnsweredAssumed Answered

The breakpoint/watchpoint does NOT work on i.MX6

Question asked by pingchuan ma on May 27, 2014
Latest reply on Jun 3, 2015 by Bernard Chow

Hi expert,

 

The breakpoint/watchpoint does NOT work on i.MX6 SD and i.MX6 AI.

 

1. Enalbe debug monitor mode

2. Set BVRs/BCRs

3. execute code that the code address is written into BVRs

4. The breakpoint is NOT hit (No exception is taken place).

 

The same code can work on other Cortex-A9 boards. e.g. Xilinx Zynq7000, Altera Soc Gen 5 , etc.

 

I've checked the errata for i.MX6. It says that

ARM: Debug/trace functions (PMU, PTM and ETB) are disabled with absence of JTAG_TCK clock after POR

 

I don't know whether it is applied to this situation. 

Do you have any idea? Thanks a lot.

 

PS: The board works in monitor debug mode. It is NOT connected to a external JTAG debugger.

 

Thanks,

Pingchuan

Outcomes