Difference between revisions of "Atollic TrueSTUDIO"

From SEGGER Wiki
Jump to: navigation, search
 
Line 1: Line 1:
  +
  +
  +
'''Atollic TrueSTUDIO''' is a commercial IDE based on Eclipse that comes with J-Link and J-Trace support.
  +
In order to use J-Link with Atollic TrueSTUDIO, it is usually not necessary to separately install the J-Link software and documentation package since TrueSTUDIO already comes with a J-Link GDB Server that is automatically started when starting the debug session. In the following, a short explanation on how to create a simple project for an eval board with TrueSTUDIO is given:
  +
 
__TOC__
 
__TOC__
   
  +
= Creating a simple Project=
Atollic TrueSTUDIO is a commercial IDE based on Eclipse that comes with J-Link and J-Trace support.
 
  +
== Used components ==
  +
{| class="wikitable"
  +
|-
  +
! IDE !! Emulator !! J-Link SW Version !! Evalboard
  +
|-
  +
| TrueSTUDIO for ARM V2.3.0 || J-LInk || V4.40c || STM32F103ZE-EVAL (STM32F103ZE)
  +
|}
  +
== Setup Instructions ==
  +
* Start TrueSTUDIO and click '''File | New | C Project ...''' from the main menu
  +
* Enter a project name
  +
*Select '''Embedded C Project'''
  +
*Click '''Next'''
  +
  +
  +
[[File: TrueSTUDIO_Tutorial_1.png]]
  +
  +
* Select the eval board the project shall be created for and what configuration (debugging in Flash or RAM) is desired
  +
* Click '''Next'''
  +
  +
[[File: TrueSTUDIO_Tutorial_2.png]]
  +
  +
* Select J-Link from the list of supported emulators
  +
* Click '''Next'''
  +
  +
[[File: TrueSTUDIO_Tutorial_3.png]]
  +
  +
* Select which configurations shall be created (Debug configuration / Release configuration)
  +
* Click '''Finish''' to create the project
  +
  +
[[File: TrueSTUDIO_Tutorial_4.png]]
  +
  +
* Click the '''Build''' button from the toolbar
  +
* In order to start a debug session, click '''Debug'''. A debug configuration with default settings, based on the information given when creating the project, will be automatically created by TrueSTUDIO (if it is necessary to configure custom settings click '''Run | Debug Configurations...''' from the main menu).
  +
  +
[[File: TrueSTUDIO_Tutorial_5.png]]
  +
  +
== Ready to Go ==
  +
  +
You can start debugging and use J-Link with Atollic TrueSTUDIO for ARM.
   
  +
[[File: TrueSTUDIO_Tutorial_6.png]]
= 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'''
 
[[File:TrueSTUDIO_CmdStrings.png]]<br>
 
After that, the command strings specified in the script will be executed on startup.
 

Latest revision as of 12:42, 8 October 2020


Atollic TrueSTUDIO is a commercial IDE based on Eclipse that comes with J-Link and J-Trace support. In order to use J-Link with Atollic TrueSTUDIO, it is usually not necessary to separately install the J-Link software and documentation package since TrueSTUDIO already comes with a J-Link GDB Server that is automatically started when starting the debug session. In the following, a short explanation on how to create a simple project for an eval board with TrueSTUDIO is given:

Creating a simple Project

Used components

IDE Emulator J-Link SW Version Evalboard
TrueSTUDIO for ARM V2.3.0 J-LInk V4.40c STM32F103ZE-EVAL (STM32F103ZE)

Setup Instructions

  • Start TrueSTUDIO and click File | New | C Project ... from the main menu
  • Enter a project name
  • Select Embedded C Project
  • Click Next


TrueSTUDIO Tutorial 1.png

  • Select the eval board the project shall be created for and what configuration (debugging in Flash or RAM) is desired
  • Click Next

TrueSTUDIO Tutorial 2.png

  • Select J-Link from the list of supported emulators
  • Click Next

TrueSTUDIO Tutorial 3.png

  • Select which configurations shall be created (Debug configuration / Release configuration)
  • Click Finish to create the project

TrueSTUDIO Tutorial 4.png

  • Click the Build button from the toolbar
  • In order to start a debug session, click Debug. A debug configuration with default settings, based on the information given when creating the project, will be automatically created by TrueSTUDIO (if it is necessary to configure custom settings click Run | Debug Configurations... from the main menu).

TrueSTUDIO Tutorial 5.png

Ready to Go

You can start debugging and use J-Link with Atollic TrueSTUDIO for ARM.

TrueSTUDIO Tutorial 6.png