iv
Table of Contents BL1200
EPROM................................................................................................27
Programming EPROMs ..................................................................27
Choosing EPROMs .........................................................................27
Copyrights .......................................................................................28
Downloading Programs from a Distance .............................................28
Chapter 4: System Development 29
Optically Isolated Input .......................................................................30
Relay-Driver Output ............................................................................31
Software for the Relay Driver .........................................................33
Intermittent Operation..........................................................................34
Onboard LED.......................................................................................35
Power-Conserving Configuration ........................................................36
Serial Ports...........................................................................................37
Direct Programming of the Serial Ports ...............................................40
Baud Rates ...........................................................................................41
Driving the Serial Ports........................................................................41
Polling-Type Driver ........................................................................42
Interrupt-Driven Driver ...................................................................42
ASCI Status Registers .....................................................................42
ASCI Control Register A ................................................................44
ASCI Control Register B ................................................................45
Time/Date Clock ..................................................................................48
Watchdog Timer...................................................................................51
Using the Watchdog Timer..............................................................51
References............................................................................................53
Z-World Technical Manuals ............................................................53
Zilog Technical Manuals .................................................................53
Hitachi Technical Manuals..............................................................53
Specifications for Various Integrated Circuits ................................54
Appendix A: Troubleshooting 55
Out of the Box......................................................................................56
Dynamic C Will Not Start ....................................................................57
Dynamic C Loses Serial Link ..............................................................58
BL1200 Resets Repeatedly ..................................................................58
Input/Output Problems.........................................................................58
Power-Supply Problems.......................................................................58
Blown-Out 5841 Driver Chip ..............................................................58
Common Programming Errors.............................................................59