This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugging XE164 with changed DBGPRR

Hi,

(c166v617 demo)

I designed a XE164 board, where there was the need of changing some pins of the default JTAG-Debuginterface, but I can't connect to it with Infineon DAS-Client and 'JTAG over USB Chip'.

My first try was rewirering the default JTAG-pins by hand. Now everything runs as expected (flashing and debugging). So I removed the hand wires again.

I rewrite the ESFR DBGPRR (EINIT-protected) in the very top of the Startup-file

DBGPRR    DEFR   0F06EH

EXTR    #01H
MOV     DBGPRR,#0x0148

and programmed my appl. into Flash using Memtool. But can't still connect. (Error: Target DLL has been cancelled. Debugger aborted)

I think the problem is, that the Keil debugger always issues a Reset when connecting to the XE164. Is there a way to skip this? Maybe I overlook something in the settings...

(btw. there is at least one other Debugger which provides the ability to connect without a reset)

0