[SOLVED] JLinkScript and __int64

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

  • [SOLVED] JLinkScript and __int64

    hello,

    we are using JLinkScript to connect MCU in JTAG daisychain. It was working fine in SW version before 6.16.
    But script fails on latest SW during compilation because didn't know __int64 type for variables.
    Documentation in chapter 5.11.5.2 Supported type specifiers still have __int64 as valid type.
    What changed? What is new size of "int", Is it 64bit and could be used instead __int64?
    How to make script compatible across version eventually how to test version inside this script to block running of script with "int" on older version with 32bit ints?

    Jiri

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

  • Hi Jiri,


    sorry for any inconvenience caused.
    While __int64 was excepted as type specifier, 64 bit variables were never supported in J-Link script files, __int64 was handled as 32bit.
    Therefore replacing __int64 with int will lead to identical results with both old and new versions of the J-Link DLL.


    We are currently working on a major rework of the documentation, which unfortunately delays updates of the publicly available documentation.
    Please find below the Supported type specifiers of J-Link script files as of version 6.16a:



    Best regards,
    Niklas
    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.