Development System
I have prepared UNIX emulator 'Cygwin' on Windows as this development system.
Firstly install 'Cygwin' and add the some tools to my development system.
After compile and make load module, transfer it through LAN.
In this case I have used my home LAN with Windows2000 Server.
As this server is DHCP server, attendant machine gets IP address from this HOST.
Some machines are connected to this server machine through HUB.
'Armadillo' gets IP address from DHCP server if you make it to be default mode.
When you will transfer load module to 'Armadillo', you can use this IP address.
You must connect between 'Armadillo' and 'Cygwin' machine with serial cross cable
because control 'Armadillo' using SHELL (bash).
Terminal Emulator
I had applied 'TeraTerm' as terminal emulator.
(Since MS-Windows has 'hyper terminal', you can use it as terminal emulator.)
Set the conditions.
speed -> 115200bps
data length -> 8 bits
parity -> none
stop bit -> 1 bit
flow control -> none
Cygwin
I had applied 'Cygwin' as UNIX emulator on Windows 2000.
After install Cygwin, add some software to 'Armadillo'.
To begin with , get some files from the following URL.
http://armadillo.atmark-techno.com/
- arm-linux-binutils-cygwin-2.9.5.0.37.tgz (binutils)
- arm-linux-gcc-cygwin-2.95.3-0.tgz (gcc)
- libc6-arm-cross-2.1.3-19.tgz (cross environment)
- libc6-dev-arm-cross-2.1.3-19.tgz (device file)
Uncompress those files with 'tar' command on UNIX emulator 'Cygwin'.
$ tar -xzf arm-linux-binutils-cygwin-2.9.5.0.37.tgz -C /{enter}
$ tar -xzf arm-linux-gcc-cygwin-2.95.3-0.tgz -C /{enter}
$ tar -xzf libc6-arm-cross-2.1.3-19.tgz -C /{enter}
$ tar -xzf libc6-dev-arm-cross-2.1.3-19.tgz -C /{enter}
I recommend to make the following shell script
because of easy compiling and linking.
#!/bin/bash
arm-linux-gcc -I/usr/arm-linux/include -L/usr/arm-linux/lib %1 %1.c
Assumed that shell script name is 'armgcc'.
To compile and link is the following typing.
$ ./armgcc hello{enter}
Editor
In UNIX environment 'vi' or 'emacs' may be standard editor.
If you are in 'Cygwin' on Windows, you can use your favourite editor
which is built in Windows or is maken by third parties.
After type your source code with your favourite editor, transfer it
to 'Cygwin' directory.
(example)@Transfer source code 'hello.c' to 'Cygwin' directory.
$ cp /cygdrive/c/tmp/hello.c hello.c{enter}
File transfer
You can transfer load module to 'Armadillo' with Web Browser.
(example)
Armadillo : IP address => 192.168.0.43
Type 'ftp:// 192.168.0.43' on Browser URL.
Armadillo will reply and show four directories on your Browser screen.
directories => /bin /etc /lib /pub
After click 'pub', drag and drop your file to Browser screen.
->
'Armadillo' has a merit to transfer a file with 'ftp' protocol.
Apply this protocol and Web Browser to transfer a file from your
directory to this Linux Box's one.