NOTE: Please make sure to visit Technologic Systems website at www.embeddedarm.com
for the latest documentation and supporting files downloads.



GETTING STARTED WITH THE TS-7000
===============================================================================

1) In order to run the Eclipse Development environment for the TS-7000, double
   click 'runEclipse-Win.bat' file at the SD Card root directory.

2) Inside Eclipse, a terminal is configured to

3) Connect the DB9 and Ethernet cables between your TS-7000 and Host PC.
   Apply power to the TS-7000.
   See the TS-70000 console messages on Eclipse (last 'Terminal' tab).

The TS-7000 will boot by default to a Linux initial ramdisk, which enables fast
bootup time and provides the user with earlier control over the Linux system.
Full Debian Linux can then be started from any source, including SD Card, 
onboard flash and NFS root. Type 'tshelp' at the shell prompt to find more 
information. In order to initiate full Debian bootup, type 'exit'.


helloworld.c file
===============================================================================

/*
 * TS-7000 Eclipse-based Development Environment - HelloWorld Example
 * 
 * Getting Started: Connect the DB9 and Ethernet cables between your TS-7000 
 * and Host PC. Apply power to the TS-7000. See the TS-70000 console messages 
 * at the last 'Terminal' tab below.  
 * 
 * The 'Remote Systems' tab below allows you to connect to the TS-7000 target 
 * either via SSH or FTP. The first 'Terminal' tab performs telnet to the target. 
 * The second 'Terminal' tab is the serial console configured to COM1/115200/N81.
 * The following is the default TS-7000 Linux configuration: 
 * Default TS-7000 target IP: 192.168.0.50
 * Default TS-7000 eclipse user/password: eclipse/eclipse
 * User 'root' has blank password, allowing login via telnet or console
 * 
 * This Eclipse environment is already configured to use a correct ARM crosstool.
 * In order to build this example, right-click 'helloworld' at Project Explorer ->
 * Build Configurations -> Build All. Binaries will appear under 'Binaries'. 
 *
 * The Eclipse interface requires Debian Linux to be running on the TS-7000.
 * If you are booting to the fastboot Linux filesystem, type the 'exit' command to
 * initiate complete Debian Linux boot.
 *
 * Follow the steps below to compile and run helloworld:
 * 1) run Debian Linux on the TS-7000 (type 'exit' on the console 'Terminal')
 * 1) play with the 'Remote Systems' tool in order to enable FTP and SSH 
 *    connection to the TS-7000 and to browse the root filesystem.  
 * 2) build the 'helloworld' project and copy the binary to the eclipse home 
 *    (drag the file to the desired folder) at the TS-7000 target via FTP or SSH
 *    using the Eclipse 'Remote Systems' tool. 
 * 3) open a telnet session using the 'Terminal' tool, login as eclipse
 * 4) set helloworld as executable: 'chmod 755 /home/eclipse/helloworld'
 * 5) execute helloworld: ./helloworld
 *
 * Follow the steps below to debug helloworld using gdb-server:
 * 1) compile and copy the debug helloworld binary to the target
 * 2) using a telnet session, run gdb-server: 
 *    gdbserver localhost:10000 /home/eclipse/helloworld
 * 3) run the 'helloworld Debug' option by clicking the bug icon on the top bar
 * 4) play with the Debug perspective in order to debug helloworld
 * 
 * Refer to the Eclipse/DSDP documentation for further information:
 * http://www.eclipse.org/  
 *   
 */

#include <stdio.h>
#include <stdlib.h>

int main ()
{
  char *s;
  int i;
  
  s = "TS-";
  i = 7000;
  printf ("Hello World %s%d!\n", s, i);
  
  return EXIT_SUCCESS;
}

