[SOLVED] Implementation of JLINK_ReadMemEx and other read functions

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

  • [SOLVED] Implementation of JLINK_ReadMemEx and other read functions

    Hi,

    I can see frequent usage of the function "JLINK_ReadMemEx" and "JLINK_ReadRegs" etc in the JLINK commander log file. Where can I find the implementation of these functions? I want to simulate these commands on a simulator for a new microcontroller that we are designing.
    I would like to also know if there is any document available for reference on the internal implementation of the JLINK commander instructions.

    Thank you.
  • Hi,
    Thank you for the inquiry.

    The J-Link API and the source code of the J-Link Commander are part of the J-Link SDK:
    segger.com/products/debug-prob…nk/technology/j-link-sdk/

    Best regards,
    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.
  • Thank you for the reply. I have a licensed JTrace debugger with me. I would like to download the JLink SDK and test out some features on the simulator and the debugger too.
    Does the SDK come as a part of the JLink debugger kit? Will I be able to download the SDK using the serial number of the JTrace debugger with me?

    Best Regards.
  • The SDK is a separate item / product:
    shop.segger.com/debug-trace-pr…ftware-add-ons/j-link-sdk

    This does tell you how to use the API.
    It does not tell you in what sequences an API call results on the JTAG/SWD lines, as this is quite complex, depends on various factors and is of no use for the normal end user of J-Link.
    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.