2009-03-19 07:40 PM
Problem with JTAG scan chain
2011-05-17 04:05 AM
Hi,
I've a application with two STM32F103RB. They are connected in a JTAG scan chain. I work with IAR Embedded Workbench 5.30 and the IAR jlink. My Problem: The Emulation-Software is not able to communicate with the controller with TAP number 0. It doesn't matter which TAP number is selected, always the second controller comes in action. Same situation if I change the order of the controllers in the chain. My settings in Options->J-Link/J-Trace: Communication -> X USB Interface -> X JTAG JTAG scan chain -> X JTAG scan chain with multiple targets TAP number: 0 0 Scan chain contains non-ARM devices X: selected 0: not selected Thanks Wolfgang ;-) ;-) ;-)2011-05-17 04:05 AM
I solved the problem.
The topology: JTDI[JLINK] -> JTDI[Device1] -> JTDO[Device1] -> JTDI[Device0] -> JTDO[Device0] -> JTDO[JLINK] Project->Options->J-Link/J-Trace->Connection Configuration of Device 0: X JTAG scan chain with multiple targets TAP number: 0 X Scan chain contains non-ARM devices Preceeding bits: 0 Configuration of Device 1: X JTAG scan chain with multiple targets TAP number: 2(:-o) X Scan chain contains non-ARM devices Preceeding bits: 9(:-o) (If you make any other selection the Debugger will work with device 0 !!!)