[SOLVED] Support for JTAG Access to NXP S32G2xxx Cortex M7 Cores

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

  • [SOLVED] Support for JTAG Access to NXP S32G2xxx Cortex M7 Cores

    SEGGER,

    Does the current (or any) release of JLink support accessing the Cortex M7 cores of a NXP S32G2xxx via the JTAG chain? 7.66g doesn't complain when I put in the device string but it also doesn't understand the JTAG chain in the device and later claims the device is not valid.

    Source Code

    1. $ JLinkExe
    2. SEGGER J-Link Commander V7.66g (Compiled Jul 7 2022 10:48:31)
    3. DLL version V7.66g, compiled Jul 7 2022 10:48:15
    4. Connecting to J-Link via USB...O.K.
    5. Firmware: J-Link V11 compiled Jun 23 2022 16:24:09
    6. Hardware version: V11.00
    7. S/N: 601013680
    8. License(s): RDI, FlashBP, FlashDL, JFlash, GDB
    9. USB speed mode: High speed (480 MBit/s)
    10. VTref=0.000V
    11. Type "connect" to establish a target connection, '?' for help
    12. J-Link>device S32G274A
    13. J-Link>connect
    14. Please specify target interface:
    15. J) JTAG (Default)
    16. S) SWD
    17. F) FINE
    18. I) ICSP
    19. C) C2
    20. T) cJTAG
    21. TIF>J
    22. Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect
    23. JTAGConf>
    24. Specify target interface speed [kHz]. <Default>: 4000 kHz
    25. Speed>
    26. /opt/SEGGER/JLink_V766g/JLinkGUIServerExe: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory
    27. No valid device has been selected.
    Display All
  • Hi,
    The J-Link does not try to understand the J-Link chain.
    As you can see in the log you posted yourself, the device (name) you are trying to select is not supported by J-Link:

    emrainey wrote:

    No valid device has been selected.
    Usually, the device selection dialog would open to let you choose the correct device from a list of device, but
    your linux does not have all required libs installed:

    emrainey wrote:

    /opt/SEGGER/JLink_V766g/JLinkGUIServerExe: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory

    Regarding the device you are using:
    The device you are trying to select is currently not supported by J-Link (see here).
    What should work is selecting "Cortex-M7" as device name.
    You will not be able to do any flash downloads that way, but you should be able to read memory and
    usually also be able to write RAM / device registers.

    Please note that the Commander reports that there is no reference voltage detected.
    This is usually the case when the board to connect to is not powered correctly:
    wiki.segger.com/J-Link_cannot_…the_CPU#Target_connection

    BR
    Fabian
    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.
  • Hi,
    For debug support requests, please use our support ticket system (link in my signature, below this message).

    BR
    Fabian
    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.