Difference between revisions of "Atollic TrueSTUDIO"
Line 1: | Line 1: | ||
__TOC__ |
__TOC__ |
||
+ | Atollic TrueSTUDIO is a commercial IDE based on Eclipse that comes with J-Link and J-Trace support. |
||
− | Eclipse is a universal customizable IDE, which is also the base for many common commercial IDEs. |
||
− | In order to work with Eclipse and debug with J-Link, you also need to install a toolchain which includes compiler, assembler, linker + GDB (GNU Debugger) for debugging (e.g. [https://launchpad.net/gcc-arm-embedded/ GNU Tools for ARM]). |
||
− | Moreover, in order to allow hardware debugging on embedded systems via GDB + GDB Server, there is also an Eclipse plugin needed, which enables hardware debugging via GDB (e.g. the CDT plugin). |
||
− | After setting up Eclipse + Plugin, Eclipse will use GDB as debugger where GDB communicates via the GDB protocol with J-Link GDB Server, allowing to debug the target hardware which is connected to a J-Link. |
||
= Using J-Link Command Strings = |
= Using J-Link Command Strings = |
||
− | In order to use J-Link Command Strings for a TrueSTUDIO project, the Debug Configurations |
+ | In order to use J-Link Command Strings for a TrueSTUDIO project, the '''Debug Configurations''' need to be edited. |
− | * Open '''Run''' -> '''Debug Configurations''' |
+ | * Open '''Run''' -> '''Debug Configurations...''' |
* Select '''Startup Scripts''' |
* Select '''Startup Scripts''' |
||
* Select '''Target Hardware Initialization Script''' |
* Select '''Target Hardware Initialization Script''' |
||
− | * Enter monitor exec <CommandString> |
+ | * Enter ''monitor exec <CommandString>'' |
* Hit '''Apply''' |
* Hit '''Apply''' |
||
[[File:TrueSTUDIO_CmdStrings.png]]<br> |
[[File:TrueSTUDIO_CmdStrings.png]]<br> |
||
+ | After that, the command strings specified in the script will be executed on startup. |
||
− | |||
− | |||
− | Please refer to [[Eclipse#Specifying J-Link GDB Server commandline options | Specifying J-Link GDB Server commandline options]]<br> |
||
− | Please note that J-Link Command Strings can also be executed from J-Link script files. |
Revision as of 10:30, 30 April 2018
Contents
Atollic TrueSTUDIO is a commercial IDE based on Eclipse that comes with J-Link and J-Trace support.
Using J-Link Command Strings
In order to use J-Link Command Strings for a TrueSTUDIO project, the Debug Configurations need to be edited.
- Open Run -> Debug Configurations...
- Select Startup Scripts
- Select Target Hardware Initialization Script
- Enter monitor exec <CommandString>
- Hit Apply
After that, the command strings specified in the script will be executed on startup.