[SOLVED] Programming failed XMC4800-2048 (100pin) in mutiple JTAG chain.

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

  • [SOLVED] Programming failed XMC4800-2048 (100pin) in mutiple JTAG chain.

    My circuit design has one infineon XMC4800 mcu and two intel MAX10FPGA(10M25SA) in one JTAG chain.

    JTAG TDI => XMC4800 => 10M25SA => 10M25SA => JTAG TDO

    I can program FPGAs with USB Blaster but I can't program XMC4800 with J-link Ultra+.
    Am I wrong? ?(


    $ JLinkExe -Autoconnect 1 -Device XMC4800-2048 -If JTAG -JTAGConf 20,2 -Speed 100
    SEGGER J-Link Commander V6.22 (Compiled Nov 24 2017 18:35:53)
    DLL version V6.22, compiled Nov 24 2017 18:35:43

    Connecting to J-Link via USB...O.K.
    Firmware: J-Link Ultra V4 compiled Nov 23 2017 16:42:12
    Hardware version: V4.00
    S/N: 504403495
    License(s): RDI, FlashBP, FlashDL, JFlash, GDB
    VTref = 3.291V
    Device "XMC4800-2048" selected.


    Connecting to target via JTAG
    Performing XMC4500 connection sequence.
    TotalIRLen = 32, IRPrint = 0x0001155555
    TotalIRLen = 32, IRPrint = 0x0001155555
    JTAG chain detection found 4 devices:
    #0 Id: 0x031840DD, IRLen: ?, Unknown device
    #1 Id: 0x031840DD, IRLen: ?, Unknown device
    #2 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
    #3 Id: 0x101DF083, IRLen: ?, Unknown device
    TotalIRLen = 32, IRPrint = 0x0001155555
    JTAG chain detection found 4 devices:
    #0 Id: 0x031840DD, IRLen: ?, Unknown device
    #1 Id: 0x031840DD, IRLen: ?, Unknown device
    #2 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
    #3 Id: 0x101DF083, IRLen: ?, Unknown device
    Performing XMC4500 connection sequence.

    ****** Error: CPU-TAP not found in JTAG chain
    TotalIRLen = 32, IRPrint = 0x0001155555

    ****** Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0x5 (TAP Command : 10) @ Off 0x5.

    Performing XMC4500 connection sequence.
    TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Performing XMC4500 connection sequence.
    TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Cannot connect to target.
    J-Link>
  • Hello Shoji,

    Thank you for your inquiry.
    Such an issue is not known to us.
    Did you try to connect to a XMC4800 on an eval board with JTAG?
    Does that work?
    How is the XMC4800 wired to the debug interface?
    Could you provide an excerpt from your schematics?

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Another my PCB works.

    Hello Nino,

    I designed two XMC4800 boards.

    The one is only XMC4800 as JTAG device. but I have the board which connected FPGA and chained in same JTAG chain by FPC.
    I attached schematics about only JTAG connection (reason is open space here).

    [MCU0 design]
    J-link works OK.


    JTAG shematic of MCU0 board
    MCU0.pdf

    [MCU1 & two FPGA design]
    One MCU1 boards are connected with two FPGA boards by FPC.

    Quartus prime works OK to program FPGAs.
    J-link fails.


    JTAG schematic of MCU1 board
    MCU1.pdf
    JTAG schematic of GPA board
    FPGA.pdf

    If MCU1 is not connected with FPGA board. Then I can use SWD method to program. But I need to use JTAG method.

    Best regards,
    Shoji

    The post was edited 1 time, last by s_yamamoto ().