NextPrevious Contents

2. Installation

2.1 How to obtain Pabilo

You can download the PabiloII sources and the QT-pabilotest sources fromQRIS home page .
or download the precompiled pabilo.prc Palm binary and the pabilotest program to test t all.
You also need the speedo sources orhex file to get your AT90S2312 programmed.

2.2 Requirements

You need a Palm computing device with at least PalmOS 3.5 to run the binary. Also you need the speedo hardware, this is a simple controller  based on an ATMEL AT90S2313. The schematic can be found in Chapter 4.2 the parts used are inexpensive and available all over the world.

To compile pabilo yourself  you need the following packages avalable at Palm developer tools site.

And additionaly the following software.
You can download the AVR assembler at AVRA home-page to compile the speedo firmware. and use ponyprog v2.0 (a root) to program the AT90S2313.you can get ponyprog at the PonyProg hom page.
 
The palmos emulator might come in handy to test the application(except for the serial connection).
And since I am running SuSE8.1 I ran into some problems when compiling the PalmOS Emulator version 3.5. SuSE 8.1 uses fltk 1.1.0. For compilation of pose you need fltk 1.0.11. Also the installed gcc 3.2 does not do the job. So first compile a 2.95.3 version of gcc then use it to compile fltk 1.0.11 and finaly use the 2.95.3 and fltk1.0.11 to build the emulator.

NOTE: take extra care when you use gcc 3.2 . Some libraries compiled with gcc 2.95.3 will not link with the gcc3.2 created objects.

2.3 Compilation and installation

When you installed the palm development tools as described on the palm site (use RPM's) it dhould be no problem compiling pabilo. You first unpack the archive and then just run make.

tar -xvzf pabilo-2.0.tar.gz
cd pabilo
make

The pabilo.prc file that should be installed on your palm can now be found in pabilo/Debug/pabilo.prc
To install on the Palm use:

pilot-xfer -p /dev/ttyS0 -i pabilo.prc

You should now be able to start the software on your palm. And if compiled with the communiction check an error will occur that the speedo hardware was not found.
To get on with your first pabilo test go to the Test section 3.1 .

To generate the hex file for programming the AT90S2313 you need the avr assembler AVRA.
Install the assembler previously and execute:

avra speedo.asm

Now program the AT90S2313 using ponyprog as root. I included the connector schematics with the speedo schematics so it should not be any problem to program the controller.

Should you run into problems with compilation please report them to the author


NextPrevious Contents