|
|
 |
MIABOT
- Programming Overview
Source code is converted from C code into machine language suitable
for the Atmel AVR using the GNU GCC compiler. Each project will
use a variety of source and header files which the compiler is told
about using a makefile (a makefile is a text file which can be edited).
The make process invokes the C compiler followed by a linker which
converts the machine language into a binary image (.hex file) which
can be downloaded into the robot. Ponyprog downloads the program
into the miabot via the supplied programming cable.
|
| |
|
|
|
PFE32 - Programmers File Editor
Standard text editor with programmable macro facilities.
Extensive help files available within the program.
PFE32.EXE is found with the bin directory off the GCC root.
|
| |
|
|
|
GNU
GCC
GCC is freeware under the GNU public license. The GCC toolkit consists
of a compiler, assembler and linker. The conversion of a C source
file to a binary image is known as a make and is controlled by a makefile.
A makefile is a normal text file that contains instructions about
which source and object files to include, where they are found and
how they can be built. The sample projects supplied with the MIABOT
come complete with makefiles. To start a compile just type make (your
path must be setup to point to make.exe in the gcc\bin directory).
Type make clean to remove all intermediate files produced
by previous compiles. If you make a change to a header file it is
advisable to do a make clean before doing a make as changes are not
always automatically detected by the compiler.
|
| |
|
|
|
PONYPROG
Ponyprog is used to download the binary image of your program into
the robot. The device type should be set to Atmel AT90s8515. The supplied
programming cable should be plugged into the parallel port on the
PC and the other end into the prog socket on the Miabot (10 way header).
The robot should be have the power ON. |
| |
|
HOME
© 2002 RobotstoreUK
all rights reserved
|
|
Overview
of the MIABOT build process
v
v
v
Programmers File Editor
v
v
v
GNU GCC
v
v
v
PonyProg
v
v
v
MIABOT
|