IBM H8 user manual Test program

Page 13

HTEB1

User manual

1.7.3Test program

The HTEB1 is supplied with a short demo application when delivered. If you power up the eval-board for the first time, you will see a start up message and some LEDs lighting.

If no message appear, please set the switch “Prog/Run” to “Run-Mode” (right position) and power up the board or, if already done, press the reset-button.

The demo application contains a small “Running-Light” application. The keys can be used for control the state, P2 is used as speed control. First press the key T3 (RUN) for starting demo application. Then you can check the functionality by pressing the keys KEY T1 to KEY T4 or change the value of potentiometer P2.

[…]

Figure of the Demo application. “Running Light”

Any time you want to reset the application press the reset-button. If you want to reload the demo application later (after reprogrammed the eval- board) you can find the code on CD-R in the directory “X:\examples\flashdemo\runlight.a37” (For X use the appropriate char from your CD-ROM).

Issue 0.2

Page 13

07/2002

Image 13
Contents Hitachi H8/Tiny 3664F Preface Table of Contents Hardware description System Development Kit contentFeatures Board overview Board overviewJP4, D/A CON Jumpers and switchesOrientation Operation X1 SubD9, Pin Operation Remark ConnectorsX3 LCD-CON SV1 SV2 SV3 SV4 PIN Start-Up instructions Installing the HTEB1Test program Software Installation Development Environment Creating a program using IAR-EWH8HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 Download the code using FDT HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 Workflow Examples LEDSPEEDINIT4 Key’s and LED’sPMR1 &= ~KEYALL RunningLightInit Init keys and LEDs TimerAInit LCD Clearlcdrs Setlcdrw Lcddatactrl = Lcdin Setlcden HTEB1 Isscitxfree SCIInit sci with 9600Baud, 8N1 A/D + PWM Lcddatactrl = Lcdin Setlcden Calculate av of last 15 values AT-Keyboard-Interface Setlcdrw Lcddatactrl = Lcdin Setlcden Mask = Msg buffer Tables Scan-Codes MFII-Keyboard Numeric Keypad Main Scan-Code Keypad Function Scan-Code Programs DatasheetsExamples DemoAppendix B Schematic Appendix C Board layout HTEB1 HTEB1 HTEB1