2019-10-31 1. Login The CrossLink TG can be accessed from the serial port or Ethernet. The easiest way is to connect the device to a router and it will be automatically assigned an IP address. The unit runs a SSH server so anyone can connect to it using the correct username and password.
In the current version of LinX Software Suite DevEnv 4, the Crosslink TG SDK is not yet pre- installed but is available as a separate installer. The installer can be downloaded from the Software Download area at www.support.crosscontrol.com.
Page 5
Product revision: 2.1 Getting started guide 2019-10-31 A typical 'Hello World' application written in Qt for CrossLink TG The Qt Creator must be configured with the newly installed Qt libraries in order to be able to use it correctly. Step 1. Open “Tools Options” menu and select “Kits”...
Page 6
Product revision: 2.1 Getting started guide 2019-10-31 Set name “GCC Crosslink TG” and compiler path to: /opt/T G/gc c-l inaro-5. 3-20 16. 02- x86_6 4_ar m -li nux-gnueabi hf/bi n/arm-l inux- gnueabihf-gcc Press [Apply] and then repeat for C++ compiler: [Add] ...
Page 7
Crosslink TG Product revision: 2.1 Getting started guide 2019-10-31 Step 2. Set the debugger. Switch to the “debugger” tab and select the debugger: /opt/T G/gc c-l inaro-5. 3-20 16. 02- x86_6 4_ar m -li nux-gnueabi hf/bi n/arm-l inux- gnueabi h f-gdb Step 3.
Page 8
Crosslink TG Product revision: 2.1 Getting started guide 2019-10-31 Step 4. Create the complete “Kit”. Switch to the “Kits” tab and press [Add] button to create the build kit for Crosslink TG. It should be configured as below: www.crosscontrol.com...
2019-10-31 Press [Ok] and the setup is complete. 2.3. Set remote device IP address To deploy and test an application on the CrossLink TG, some settings need to be set in Qt Creator. First, open [Tools] [Options…] menu www.crosscontrol.com...
2019-10-31 2.4. Scanning for a Device The Crosslink TG will broadcast its IP address. It can be read from the virtual machine with the application /opt/bin/snb_reader. The virtual machine may need to use a bridged adapter instead of the default NAT settings in the Virtualbox network settings page in order to get the scanning to work successfully.
3. Create and Deploy a Console Application To create a hello world application from Qt Creator, it must be a console application since there is no graphical interface available for the Crosslink TG. Select [New File or Project] from the menu and select [Qt Console Application].
Page 12
Crosslink TG Product revision: 2.1 Getting started guide 2019-10-31 Press [Choose…] Press [Next >] and select the qmake build system. Then select the newly created Crosslink TG Kit. www.crosscontrol.com...
Page 13
Select the option to enable version control if needed and then [Finish]. Create a C++ “Hello world” application and press the green [Run] button to deploy it to the Crosslink TG. It will download and run the application to the IP address defined above. www.crosscontrol.com...
You must also create (as root user) a file named myapplication.service in folder /etc/systemd/system to complete the process. 5. Security The CrossLink TG is by default an open device and not suitable for connection to the Internet directly. There are a few simple steps to take to improve security. ...
/etc/defaul t/ufw Change IPV6=yes to IPV6=no. A kernel module for IPv6 will be added in the next OS release of CrossLink TG. 6. Further Reading For more information please consult the CrossLink TG Technical Manual and the CrossLink TG Programmer and Software Manual, both are available at the CrossControl Support Site.
Need help?
Do you have a question about the Crosslink TG and is the answer not in the manual?
Questions and answers