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

XE167

I trying to get familiar with XE167. I buy XE166 family Easy Kit and I use DAS server application for debug and load program.
Now I have problem.
I want to use in my aplicatiom external RAM and I need A22 line. But this line is use TCK_A.
(In my aplication I want use USB for debug and load program like in Easy kit ).

When I change DBGPRR register my example program stop runing.
(I change DBGPRR -> 0x00C0 for TCK pin P8.5.).

I read Errata sheet JTAG X.H001 JTAG Pin Routing but how use it for DAS server ?

Please help me.

Parents
  • To understand you better could you confirm that you have:

    1) Boot from internal memory of the XE167 or external non-volatile memory.
    2) You always execute the instruction to write to the DBGPRR register which matches your configuration. This is done by your code that you downloaded (with orignal JTAG selections) and must always be resident in the chip from now on.
    3) You have physically connected P8.5 to the TCK pin of the debugger (You need to make the jumper).
    4) You connect with the hot attach option active. This means you allow your program to run before halting it by the debugger as you are depending on your program to change the JTAG pin routing on the device. The debugger will not issue a reset and hold the program counter at the reset vector thus losing your connection.

Reply
  • To understand you better could you confirm that you have:

    1) Boot from internal memory of the XE167 or external non-volatile memory.
    2) You always execute the instruction to write to the DBGPRR register which matches your configuration. This is done by your code that you downloaded (with orignal JTAG selections) and must always be resident in the chip from now on.
    3) You have physically connected P8.5 to the TCK pin of the debugger (You need to make the jumper).
    4) You connect with the hot attach option active. This means you allow your program to run before halting it by the debugger as you are depending on your program to change the JTAG pin routing on the device. The debugger will not issue a reset and hold the program counter at the reset vector thus losing your connection.

Children
No data