User`s manual

MOTOROLA
Minimal PowerPC 603e Evaluation Board
5
accommodate the cable routing.
5. Choose the appropriate international AC power connection (if provided) and plug the power supply
into the AC power source.
6. Connect the power supply to the power connector on the board.
7. The EXCIMER will run a POST (power on self test) which will turn off the status and error LEDs.
A hardware failure will cause one or both LEDs to stay on. If this occurs refer to Appendix A,
ÒTroubleshooting.Ó
8. After successfully completing POST, Excimer will begin executing code from the reset vector at
0xFFF00100. The code executed will copy the contents of ROM into RAM and begin executing
MDINK, the minimal version of MotorolaÕs Diagnostic Nano-Kernel (DINK). The user should see
an MDINK banner and prompt on the terminal emulator screen.
MDINK_603e >>
9. The user now has a short interval to halt the boot process and remain in MDINK by hitting any key.
From MDINK, you can download upgrades to DINK available from MotorolaÕs website or other
software in s-record format.
10. If the user does not intervene in the boot process by hitting a key, Excimer will proceed to branch
to DINK32 and present another banner and the DINK32 prompt on the terminal emulator screen.
DINK32_603e >>
11. The DINK32 monitor is now available to accept commands. Type in ÔhelpÕ. This will show you a
list of DINK commands. Help will further explain a command if you type help and a command
name. For example Ôhelp mmÕ will explain the use of the memory modify command. For more
information on DINK consult the DINK UserÕs Manual.
Part 3 Programming
To write a C program for Excimer you will need an editor, a compiler, and a linker that will generate
Motorola format s-records. Several vendors have offered to provide limited capability, demonstration
versions of their compilers and linkers to be distributed with Excimer. Follow the manufacturerÕs directions
for installing the demo software on your PC.
The following example assumes you have installed MetawareÕs High C/C++ PowerPC Embedded
Development Toolset. The Limited Evaluation Version 3.1 of this program will operate indeÞnitely (no limit
to the demonstration period) but allows only 256 variable declarations and 256 function declarations. Also,
it will only link up to 12 Þles and the resulting executable must be less than 156KB. These limitations
prevent it from building DINK or any large projects but still allow it to be very useful for a minimal
evaluation board like Excimer.
1.1 An Example Program
To compile and download a simple program, type the following program into any text editor, e.g. NotePad
or WordPad on the PC:
/*
example routine to turn on STATUS LED
*/
void main(void)