// This program tests the functionality of the   
// Technological Arts MC9S12C32 board
// This program tests the module/docking combination  

// operates only in RUN mode, not BOOT mode because it uses SCI
// 1) plug the 9S12C32 docking module into testing protoboard/ZIF socket
// 2) connect RS232 cable to docking module
// 3) place the 9S12C32 in BOOT mode
// 4) apply power to the docking module
// 5) hit reset on the docking module
// 6) run Metrowerks and download this program (Project->Debug)
// 7) quit Metrowerks and start a terminal program e.g., Hyperterm
//     set COM port to match the cable, and baud rate 115200 bits/sec
//     8 bit data, no parity, no hardware flow control
// 8) place the 9S12C32 in RUN mode
// 9) hit reset on the docking module

// Hardware:
// PT0-PT4-PE0 via 1k registers
// PT1-PT5-PE1 via 1k registers
// PT2-PT6     via 1k register
// PT3-PT7     via 1k register
// PAD0-PAD1-PAD2-PAD3-PAD4-PAD5 via 10k resistors
// PAD6-PAD7 via 1k resistor
// PM4(MOSI)-PM2(MISO)  via 1k register
// PM3(SS)-PM1			    via 1k register
// PM5(SCLK)-PM0		   	via 1k register
// PS1->PS0 connected to RS232 to the PC

// This program assumes that if you can download object code then 
// the flash EEPROM and serial ports are functional.

//  This example accompanies the books
//   "Embedded Microcomputer Systems: Real Time Interfacing", Brooks-Cole, copyright (c) 2000,
//   "Introduction to Embedded Microcomputer Systems: 
//    Motorola 6811 and 6812 Simulation", Brooks-Cole, copyright (c) 2002,
//    Jonathan W. Valvano 9/8/04

// You may use, edit, run or distribute these file 
//    as long as the above copyright notices remain 


The output should look like
TechArts 9S12C32 tester  4/12/04 - JWV
Type any character, V for verbose, P for pause 
PORTT test: passed
PORTE test: passed
Digital PAD test: passed
Analog PAD test: passed
Digital PORTM test: passed
SPI test: passed
RTI interrupt test: passed
TOF interrupt test: passed
++++++++++++++++++++
+ BOARD IS OK      +
++++++++++++++++++++