Install OPEN-R on
Contents of this website are freeware and/or copyrighted material, and may not be sold
under any circumstances.
- Install Documentation & Sample Code
- Install OPEN-R SDK
- Build a Sample
- Test Sample
OPEN-R requires a Unix/Linux like environment. To work with
it on Windows, the Cygwin package can be used. It's based on
Linux, and allows Linux programs (for the most part) to work under
To first install Cygwin, you'll want to follow this tutorial.
If just starting out with AIBO programming, I highly recommend first
out AiboPet's YART
2. Install Documentation &
Before going too far, see if
OPEN-R is for you. Download the following documentation
and samples archives. Save them to: "C:\Cygwin\usr\local".
In a Cygwin terminal, the path is "/usr/local".
Open a Cygwin terminal. Either use the desktop icon or
Start Menu entry. To extract the documentation and samples,
type the commands shown below in white:
$ mkdir aibo
$ cd aibo
$ tar -zxf /usr/local/OPEN_R_SDK-docE-1.1.5-r1.tar.gz
$ tar -zxf /usr/local/OPEN_R_SDK-sample-1.1.5-r2.tar.gz
The contents are expanded to folders OPEN_R_SDK-doc-1.1.5-r1
In particular, you should read the programmers guide
(ProgrammersGuide_E.pdf) in the docs directory.
3. Install OPEN-R SDK
If you decide to continue, download the following files.
Again, save to "C:\Cygwin\usr\local".
Open a Cygwin terminal (or use the previous one). Type the
commands shown below in white:
$ cd /usr/local
$ tar -zxf mipsel-devtools-3.3.2-bin-r1.tar.gz
$ tar -zxf OPEN_R_SDK-1.1.5-r5.tar.gz
$ chmod -R a+rw OPEN_R_SDK
This installs the MIPS compatible compiler and OPEN-R-SDK into "C:\Cygwin\usr\local\OPEN-R-SDK".
The last step avoids problems when copying files to memsticks later on.
4. Build a Sample
To test the tools installed properly, try compiling a sample (for
$ cd ~/aibo/sample/ers200/BallTrackingHead
... much scrolling of compile progress ...
$ make install
$ ls -al MS/OPEN-R/MW/OBJS
You should see the following binaries listed:
To compile for the ERS-7 instead, use path "~/aibo/sample/ers7/BallTrackingHead7".
5. Test Sample
To try the sample on AIBO, you'll need a programmable memory stick
& reader. Click here
for details. Assuming
your drive appears as "M:",
type the following commands:
$ cp -r /usr/local/OPEN_R_SDK/OPEN_R/MS_ERS200/BASIC/memprot/OPEN-R /cygdrive/m
$ cp -r MS/OPEN-R /cygdrive/m
The first command copies the base SDK. The second copies
the compiled sample binaries. The last letter in each
command is the memstick drive. To prepare an ERS-7
memstick instead, replace "MS_ERS200" with "MS_ERS7".
Once done copying, eject the memstick from the reader & insert into
AIBO. Boot AIBO & give it a try! AIBO will
stretch, then start scanning for the ball. Once found AIBO bleeps
and tracks it.