Only able to programme one microcontroller in a scan chain

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • 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" (9-pin JTAG/SWD connector) with the NR1 solder bridge being shorted by a jumper. 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; the programme in Device 1 is left unchanged. ('Device 0' 'and 'Device 1' are defined as per the diagram on page 162 of the J-Link/J-Trace User Guide [segger.com/admin/uploads/productDocs/UM08001_JLink.pdf])

    Can anyone suggest how I can programme Device 0 and Device 1, please?

    Thanks

    Ron