Intellicom User's Manual

> ## 2. Getting Started

> Chapter 2 explains how to connect the power supply to the Intellicom board and how to connect the programming cable from the Intellicom board to your PC. Once you run a sample program to demonstrate that you have connected everything correctly, you will be ready to go on and finish developing your system.

> ### 2.1 Power Supply Connections

> 1. Remove and set aside outer casing and rubber gasket.

> Before proceeding, remove and set aside the outer casing, rubber gasket, screws, and panel-mount brackets included with your Intellicom unit, shown in Figure 1. The outer casing and rubber gasket are not attached to the front panel when the Intellicom is shipped. Take care not to damage the rubber gasket.

> Figure 1. Remove and Set Aside Outer Casing and Accessory Parts

> 1. Position Intellicom board.

> The Intellicom board is attached to the back of the front panel. Turn the front panel assembly over so that the Intellicom board is facing up as shown in Figure 2.

> Figure 2. Power Supply Connections

> 1. Connect Power Supply to the Intellicom Board.

> Connect the positive lead (indicated with red heat-shrink tubing on the AC adapter included with the Tool Kit) to the PWR connector on header J7 on the Intellicom Board and connect the negative lead to GND on header J7 as shown in Figure 2 and Figure 3.

> Figure 3. Power Supply Connections-- Detailed View

> NOTE | Be careful to hook up the positive and negative power leads exactly as described. Otherwise, the Intellicom board will not function.

> 1. Apply power.

> Plug in the AC adapter. The Intellicom board is now ready to be used.

> NOTE | A hardware RESET is accomplished by unplugging the AC adapter, then plugging it back in.

> ### 2.2 Demonstration Program on Power-Up

> The following sequence of messages will be displayed on the LCD when power is first applied to the Intellicom board. Note that the programming cable must not be connected.

> The contrast, backlight, speaker volume, and cursor positions will change automatically through the demonstration. Then there is an opportunity for you to vary these settings by responding to prompts on the LCD.

> Choose which feature (LCD contrast, backlight on/off, speaker, or cursor) you wish to change. Press [1] to select the contrast adjustment demonstration. Press [1] to increase contrast, press [6] to decrease contrast, or press [Enter] to get to choose another feature. Press [2] to select the backlight demonstration. Press [2] to toggle backlight on or off, or press [Enter] to get to choose another feature. Press [3] to select the speaker demonstration. Press [1]-[4] to set the desired speaker volume ([1] is min, [4] is max), press [5] or [0] to increase or decrease frequency, or press [Enter] to get to choose another feature. The volume and frequency are displayed. Press [4] to select the cursor demonstration. Press keys as shown to move cursor, or press [Enter] to get to choose another feature. |

> This demonstration will be replaced by a new program when the programming cable is attached and the new program is compiled and run. The demonstration is available for future reference in the Dynamic C Premier SAMPLES directory as ICOMDEMO.C.

> ### 2.3 Programming Cable Connections

> 1. Connect the programming cable to the Intellicom board.

> Connect the 10-pin PROG connector of the programming cable to header J4 on the Intellicom board as shown in Figure 4. Be sure to orient the red edge of the cable towards pin 1 of the connector. (Do not use the DIAG connector, which is used for a normal serial connection.)

> Figure 4. Programming Cable Connections

> 1. Apply power.

> Reset the Intellicom by unplugging the AC adapter, then plugging it back in. The Intellicom board is now ready to be used.

> NOTE | A hardware RESET is accomplished by unplugging the AC adapter, then plugging it back in.

> ### 2.4 Installing Dynamic C

> If you have not yet installed Dynamic C, you may do so by inserting the Dynamic C Premier CD in your PC's CD-ROM drive. The CD will auto-install unless you have disabled auto-install on your PC.

> If the CD does not auto-install, click Start > Run from the Windows Start button and browse for the setup.exe file on your CD drive. Click OK to begin the installation once you have selected the setup.exe file.

> The Dynamic C Premier User's Manual provides detailed instructions for the installation of Dynamic C and any future upgrades.

> ### 2.5 Starting Dynamic C

> Once the Intellicom board is connected as described above, start Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on the .exe file associated with DcRab in the Dynamic C directory.

> Dynamic C assumes, by default, that you are using serial port COM1 on your PC. If you are using COM1, then Dynamic C should detect the Intellicom board and go through a sequence of steps to cold-boot the Intellicom board and to compile the BIOS. If the error message "Rabbit Processor Not Detected" appears, you have probably connected to a different PC serial port such as COM2, COM3, or COM4. You can change the serial port used by Dynamic C with the OPTIONS menu, then try to get Dynamic C to recognize the Intellicom board by selecting Recompile BIOS on the Compile menu. Try the different COM ports in the OPTIONS menu until you find the one you are connected to. If you still can't get Dynamic C to recognize the target on any port, then the hookup may be wrong or the COM port is not working on your PC.

> If you receive the "BIOS successfully compiled ..." message after pressing <Ctrl-Y> or starting Dynamic C, and this message is followed by "Target not responding," it is possible that your PC cannot handle the 115,200 bps baud rate. Try changing the baud rate to 57,600 bps as follows.

> - Locate the Serial Options dialog in the Dynamic C Options > Communications menu. Change the baud rate to 57,600 bps.

> If you are using Dynamic C version 7.04 or earlier, modify the BIOS source code as follows. Skip these three steps if you are using Dynamic C version 7.05 or later.

>   1. Open the BIOS source code file named RABBITBIOS.C, which can be found in the BIOS directory.
>   2. Change the line

>     #define USE115KBAUD 1   // set to 0 to use 57600 baud

>   to read as follows.

>     #define USE115KBAUD 0   // set to 0 to use 57600 baud

>   3. Save the changes using File > Save.

> Now press <Ctrl-Y>. You should receive the "BIOS successfully compiled ..." message indicating that the target is now ready to compile a program.

> ### 2.6 PONG.C

> You are now ready to test your set-up by running a sample program.

> Find the file PONG.C, which is in the Dynamic C SAMPLES folder. To run the program, open it with the File menu (if it is not still open), compile it using the Compile menu, and then run it by selecting Run in the Run menu. The STDIO window will open and will display a small square bouncing around in a box.

> This program does not test the serial ports, the I/O, or the TCP/IP part of the board, but does ensure that the board is basically functional. The sample program in Section 5.9, "Run the PINGME.C Demo," tests the TCP/IP portion of the board.

> ### 2.7 Where Do I Go From Here?

> NOTE | If you purchased your OP6800 through a distributor or Z-World partner, contact the distributor or Z-World partner first for technical support.

> If there are any problems at this point:

> - Check the Z-World Technical Bulletin Board at www.zworld.com/support/bb/.

> - Use the Technical Support e-mail form at www.zworld.com/support/support_submit.html.

> - Call Z-World Technical Support at (530)757-3737.

> If the sample program ran fine, you are now ready to go on to explore other Intellicom features and develop your own applications.

> Chapter 3, "Subsystems," provides a description of the Intellicom board's features, Chapter 4, "Software," describes the Dynamic C software libraries and introduces some sample programs, and Chapter 5, "Using the TCP/IP Features," explains the TCP/IP features.

Z-World http://www.zworld.com Voice: (530) 757-3737 FAX: (530) 757-3792 sales@zworld.com