Wednesday, May 23rd 2018, 1:26am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Feb 29th 2016

Posts: 14


Friday, June 9th 2017, 10:14am

[SOLVED] JLinkScript and __int64


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 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?


This post has been edited 1 times, last edit by "jiri.dobry" (Jun 9th 2017, 10:18am)

SEGGER - Niklas

Super Moderator

Date of registration: Oct 6th 2014

Posts: 1,691


Friday, June 9th 2017, 10:33am

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,
Would you like to be added to the J-Link software update notification list, so you get informed automatically when a new version becomes available?
Just write me a PM or in case you want to subscribe to it yourself, please use this link: Link
Notification for J-Link, J-Link Debugger, SystemView & J-Scope: Link
Notification for Embedded Studio: Link