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

Only able to programme one microcontroller in a scan chain

Hello

I have two STM32F103C8 microcontollers configured in a scan chain. A Segger j-link Plus (ver 9.3) is being used as the debug probe. The connection between the JLink Plus and the test board is via a "J-Link-Adapter CortexM" with the NR1 solder bridge being shorted by a jumper to allow use of TRST. The STMs are being programmed using uVision 5.13.

The J-Link Commander (V4.17a) shows that the following are attached:

Found
4 JTAG devices, Total IRLen = 18:
#0 Id: 0x3BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
#1 Id: 0x06414041, IRLen: 05, IRPrint: 0x1, STM32 Boundary Scan
#2 Id: 0x3BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
#3 Id: 0x06414041, IRLen: 05, IRPrint: 0x1, STM32 Boundary Scan

These four items are also shown in uVision's Target Driver Setup. As expected there is only a choice between the two CoreSights; it is not possible to chose either of the two Boundary Scans.

Though I am able to chose between either of the CoreSights in uVision only Device 0 is programmed (even when Device 1 has been chosen); the programme in Device 1 is left unchanged. ('Device 0' 'and 'Device 1' are defined as per the diagram on http://www.keil.com/support/man/docs/jlink/jlink_chaining.htm)

How can I programme both Device 0 and Device 1 using the scan chain method?

Thanks

Ron