Difference between revisions of "Using J-Link Script Files"
Line 1: | Line 1: | ||
__TOC__ |
__TOC__ |
||
− | In some IDEs, the J-Link script file can be configured directly (e.g. in the project file). If the IDE does not offer a native J-Link script file configuration option, there are some alternative options which can be used to use J-Link script files anyhow. For further information regarding this, please refer to ''https://wiki.segger.com/Using_J-Link_Script_Files# |
+ | In some IDEs, the J-Link script file can be configured directly (e.g. in the project file). If the IDE does not offer a native J-Link script file configuration option, there are some alternative options which can be used to use J-Link script files anyhow. For further information regarding this, please refer to ''https://wiki.segger.com/Using_J-Link_Script_Files#Generic''. |
== IAR EWARM == |
== IAR EWARM == |
||
https://wiki.segger.com/IAR_EWARM#Using_J-Link_script_files |
https://wiki.segger.com/IAR_EWARM#Using_J-Link_script_files |
||
Line 7: | Line 7: | ||
== Eclipse == |
== Eclipse == |
||
https://wiki.segger.com/Eclipse#Using_J-Link_script_files |
https://wiki.segger.com/Eclipse#Using_J-Link_script_files |
||
− | == |
+ | == Generic == |
If no [[J-Link settings file]] is present, "'''Default.JLinkScript'''" is loaded if present in the same directory as the J-Link DLL.<br> |
If no [[J-Link settings file]] is present, "'''Default.JLinkScript'''" is loaded if present in the same directory as the J-Link DLL.<br> |
||
If a J-Link [[J-Link settings file]] is present, but no script file is specified inside of the script file, "'''<Name of the [[J-Link settings file]]>.JLinkScript'''" is loaded if present in the same directory as the [[J-Link settings file]].<br> |
If a J-Link [[J-Link settings file]] is present, but no script file is specified inside of the script file, "'''<Name of the [[J-Link settings file]]>.JLinkScript'''" is loaded if present in the same directory as the [[J-Link settings file]].<br> |
Revision as of 10:19, 25 October 2017
Contents
In some IDEs, the J-Link script file can be configured directly (e.g. in the project file). If the IDE does not offer a native J-Link script file configuration option, there are some alternative options which can be used to use J-Link script files anyhow. For further information regarding this, please refer to https://wiki.segger.com/Using_J-Link_Script_Files#Generic.
IAR EWARM
https://wiki.segger.com/IAR_EWARM#Using_J-Link_script_files
Keil MDK
https://wiki.segger.com/Keil_MDK#Using_J-Link_Script_Files
Eclipse
https://wiki.segger.com/Eclipse#Using_J-Link_script_files
Generic
If no J-Link settings file is present, "Default.JLinkScript" is loaded if present in the same directory as the J-Link DLL.
If a J-Link J-Link settings file is present, but no script file is specified inside of the script file, "<Name of the J-Link settings file>.JLinkScript" is loaded if present in the same directory as the J-Link settings file.
Alternatively, a J-Link script file can be specified by using one of the following ways:
- Via J-Link settings file:
- Add or edit the line
"ScriptFile="<path to script file""
- (e.g. ScriptFile="C:\Work\Test.jlinkscript") to the [CPU] section of the J-Link settings file
- Via J-Link command strings
- Execute the command string
"ScriptFile = <path>"
- e.g. ScriptFile = C:\Work\Test.jlinkscript
- Via the J-Link control panel