User`s manual
OP710022
Getting Started
Running Dynamic C
Double-click the Dynamic C icon to start the software. Note that the PC
attempts to communicate with the OP7100 each time Dynamic C is started.
No error messages are displayed once communication is established.
The communication rate, port, and protocol are all selected by choosing
Serial Options from Dynamic C’s OPTIONS menu. The SIB and the
OP7100 both set their baud rate automatically to match the communication
rate set on the host PC using Dynamic C (9600 bps, 19,200 bps, 28,800 bps,
or 57,600 bps). To begin, adjust the communications rate to 19,200 bps.
Make sure that the PC serial port used to connect the serial cable (COM1
or COM2) is the one selected in the Dynamic C OPTIONS menu. Select
the 1-stop-bit protocol.
See Appendix A, “Troubleshooting,” if an error message such
as Target Not Responding or Communication Error appears.
Once the necessary changes have been made to establish
communication between the host PC and the OP7100, use the
Dynamic C shortcut <Ctrl Y> to reset the controller and initiate
communication.
At this point, the LCD should be blank and the backlight should be off.
Once communication is established, load the sample program
DEFDEMOL.C in the Dynamic C SAMPLES\QVGA subdirectory. Compile
and run the program by pressing F9 or by selecting Run from the Run
menu.
The OP7100 should now alternately display the large font (17x × 35h) and
the small font (6w × 8h). The fonts should scroll across the display.
Compiling and running this sample program will overwrite the
demonstration program shown in Figure 2-3.