RCA RMB-167 User Manual

RMB-167
USER’S GUIDE
Version 1.0
July 1998
RIGEL CORPORATION
P.O. Box 90040
Gainesville, Florida 32607
(352) 373-4629
(C) 1998 by Rigel Corporation.
All rights reserved. No part of this document may be reproduced, stored in a retrieval system, or transmitted in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Rigel Corporation.
The abbreviation PC used throughout this guide refers to the IBM Personal Computer or its compatibles. IBM PC is a trademark of International Business Machines, Inc. MS Windows is a trademark of Microsoft, Inc.
WARRANTY
RIGEL CORPORATION - CUSTOMER AGREEMENT
1. Return Policy. This return policy applies only if you purchased the RMB-167 evaluation board directly from Rigel Corporation. If you purchase the board from a distributor please contact them for their return policy. If you are not satisfied with the items purchased, prior to usage, you may return them to Rigel Corporation within thirty (30) days of your receipt of same and receive a full refund from Rigel Corporation. You will be responsible for shipping costs. Please call (904) 373-4629 prior to shipping. A refund will not be given if the READS package has been opened.
2. Limited Warranty. Rigel Corporation warrants, for a period of sixty (60) days from your receipt, that READS disk(s), hardware assembled boards and hardware unassembled components shall be free of substantial errors or defects in material and workmanship which will materially interfere with the proper operation of the items purchased. If you believe such an error or defect exists, please call Rigel Corporation at (904) 373-4629 to see whether such error or defect may be corrected, prior to returning items to Rigel Corporation. Rigel Corporation will repair or replace, at its sole discretion, any defective items, at no cost to you, and the foregoing shall constitute your sole and exclusive remedy in the event of any defects in material or workmanship.
THE LIMITED WARRANTIES SET FORTH HEREIN ARE IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
YOU ASSUME ALL RISKS AND LIABILITY FROM OPERATION OF ITEMS PURCHASED AND RIGEL CORPORATION SHALL IN NO EVENT BE LIABLE FOR DAMAGES CAUSED BY USE OR PERFORMANCE, FOR LOSS PROFITS, PERSONAL INJURY OR FOR ANY OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES. RIGEL CORPORATION’S LIABILITY SHALL NOT EXCEED THE COST OF REPAIR OR REPLACEMENT OF DEFECTIVE ITEMS.
IF THE FOREGOING LIMITATIONS ON LIABILITY ARE UNACCEPTABLE TO YOU, YOU SHOULD RETURN ALL ITEMS PURCHASED TO YOUR SUPPLIER.
3. READS166 (referred to as simply READS) License. The READS166 or the READS166 DEMO is hereby licensed to you on a non-exclusive basis for use in only one computer system and shall remain the property of Rigel Corporation for purposes of utilization and resale. You acknowledge you may not duplicate the READS for use in additional computers, nor may you modify, disassemble, translate, sub-license, rent or transfer electronically READS from one computer to another, or make it available through a timesharing service or network of computers. Rigel Corporation maintains all proprietary rights in and to READS for purposes of sale and resale or license and re-license.
BY BREAKING THE SEAL AND OTHERWISE OPENING THE READS PACKAGE, YOU INDICATE YOUR ACCEPTANCE OF THIS LICENSE AGREEMENT, AS WELL AS ALL OTHER PROVISIONS CONTAINED HEREIN.
4. Board Kit. If you are purchasing a board kit, you are assumed to have the skill and knowledge necessary to properly assemble same. Please inspect all components and review accompanying instructions. If instructions are unclear, please return the kit unassembled for a full refund or, if you prefer, Rigel Corporation will assemble the kit for a fee of $30.00. You shall be responsible for shipping costs. The foregoing shall apply only where the kit is unassembled. In the event the kit is partially assembled, a refund will not be available, however, Rigel Corporation can, upon request, complete assembly for a fee based on an hourly rate of $50.00. Although Rigel Corporation will replace any defective parts, it shall not be responsible for malfunctions due to errors in assembly. If you encounter problems with assembly, please call Rigel Corporation at (904) 373-4629 for advice and instruction. In the event a problem cannot be resolved by telephone, Rigel Corporation will perform repair work, upon request, at the foregoing rate of $50.00 per hour.
5. Governing Law. This agreement and all rights of the respective parties shall be governed by the laws of the State of Florida.
Table Of Contents
1 OVERVIEW..............................................................................................................................................................1
1.1 H
1.2 READS166 E
1.3 P
ARDWARE............................................................................................................................................................1
VALUATION SOFTWARE OVERVIEW....................................................................................................1
ARTS LIST............................................................................................................................................................2
2 SOFTWARE.............................................................................................................................................................3
2.1 S
2.2 S
2.3 T
YSTEM REQUIREMENTS ........................................................................................................................................3
OFTWARE INSTALLATION, READS166..................................................................................................................3
HIRD PARTY SOFTWARE.......................................................................................................................................3
3 START-UP...............................................................................................................................................................4
3.1 C
3.2 S
3.3 S
ONNECTIONS, JUMPER SETTINGS.........................................................................................................................4
OFTWARE INITIALIZATION......................................................................................................................................4
ERIAL NUMBER.....................................................................................................................................................4
3.3.1 Demo Version..............................................................................................................................................4
3.3.2 Full Version..................................................................................................................................................4
3.4 C
3.5 B
3.6 V
3.7 T
ONFIGURING READS166 AND INITIATING HOST-TO-BOARD COMMUNICATIONS ......................................................4
OOTSTRAPPING....................................................................................................................................................5
ERIFYING THAT THE MONITOR IS LOADED..............................................................................................................6
ROUBLESHOOTING................................................................................................................................................7
3.7.1 Hardware Set-up .........................................................................................................................................7
3.7.2 Software Set-up...........................................................................................................................................7
3.7.3 PC set-up....................................................................................................................................................7
4 OPERA TING NOTES...............................................................................................................................................8
4.1 P
4.2 S
4.3 S
4.4 J
4.5 LED
OWER..................................................................................................................................................................8
ERIAL PORT 0.......................................................................................................................................................8
ERIAL PORT 1......................................................................................................................................................8
UMPER SELECTION...............................................................................................................................................8
S ....................................................................................................................................................................8
5 MEMORY OPTIONS................................................................................................................................................9
5.1 RAM M
5.2 EPROM M
5.3 A
5.4 M
EMORY OPTIONS........................................................................................................................................9
EMORY OPTIONS...................................................................................................................................9
LTERNATE MEMORY MAP WITH EPROM IN LOW MEMORY.....................................................................................9
OVING RMON167 TO EPROM..........................................................................................................................10
6 GA L EQUATIONS..................................................................................................................................................13
6.1 D
EFAULT GAL EQUATIONS...................................................................................................................................13
6.1.1 U1 Equations.............................................................................................................................................13
6.1.2 U2 Equations.............................................................................................................................................14
6.2 A
LTERNATE GAL EQUATIONS ...............................................................................................................................14
6.2.1 U1 Equations For EPROM In Low Memory...............................................................................................14
6.2.2 U2 Equations For EPROM In Low Memory...............................................................................................15
7 HEADERS AND JUMPERS...................................................................................................................................17
7.1 S
7.2 A
YSTEM AND I / O HEADERS.................................................................................................................................17
NALOG-TO-DIGITAL CONVERTER REFERENCE JUMPERS ......................................................................................20
8 BOOTSTRAPPING................................................................................................................................................21
9 THE MINIMAL MONITOR......................................................................................................................................24
9.1 MON167 M
ONITOR ..............................................................................................................................................25
10 READS166 VERSION 3.0......................................................................................................................................27
10.1 READS166 V3.00 CONCEPTS.....................................................................................................................27
10.1.1 Project .......................................................................................................................................................27
10.1.1.1 Executable Projects .........................................................................................................................................28
10.1.1.2 Archive Projects...............................................................................................................................................28
10.1.2 Module.......................................................................................................................................................28
11 CIRCUIT DIAGRAMS ............................................................................................................................................29
1 Overview
The RMB-167 is an evaluation board for the Siemens SAB C167 microcontroller. The RMB-167 board accepts the following processors, the SAB C167-LM, the SAB C167SR-LM, and the SAB C167CR-LM. The evaluation board is designed as a low-cost demonstration board using the microcontroller in the 16-bit non-multiplexed addressing mode. The microcontroller is configured to run at 40Mhz with no wait states. The SAB C167SR-LM, and the SAB C167CR-LM use a 5Mhz oscillator with a phase-lock-loop to generate the ccorrect operating speed. A 16-bit nonmultiplexed data bus and an 18-bit nonmultiplexed address bus are implemented. Several memory options are supported. The default configuration is the 64K RAM and no EPROM mode. In this mode, the monitor program or user program is downloaded to RAM using the SAB C167 bootstrap feature. All system address, data, and control lines as well as microcontroller ports 2 through 8 are terminated at three 50-post headers. The SAB C167 serial port is available to the user at RS-232 level through a DB-9 socket and a 3-post connector. The serial port is used to communicate to a PC host. A set of option headers, decoded by GAL devices make the RMB­167 a flexible hardware platform.
1.1 Hardware
SAB C167 high-performance microcontroller.
Internal 16 channel 10-bit analog-to-digital converter. Bootstrap loading feature Runs at 40Mhz with zero wait states One serial port One high speed synchronous serial channel Five 16 bit timers Watchdog timer
One serial port with a MAX232 driver
One high speed synchronous serial channel.
111 bits of general-purpose input/outputs ports.
Accommodates 64K of EPROM (not installed)
Accommodates 64K or 256K of SRAM (64K installed).
Push buttons for RESET# and NMI# (non-maskable interrupt).
GAL decoded memory map for maximum flexibility. (GAL’s can be reprogrammed by user
or by Rigel Corporation)
Flexible and embeddable evaluation board.
Board size 4"x6 1/2"
1.2 READS166 Evaluation Software Overview
READS166, version 3.00, is Rigel Corporation’s Integrated Development Environment for the Siemens/SGS Thomson 16-bit processors. READS166 includes an editor, a host-to-board communications system, an assembler, and a C compiler. READS166 is completely rewritten in native 32-bit code to run on Windows95 and WindowsNT. READS166 includes a sophisticated project management system to simplify code reusability and version control. The C compiler is rewritten to support a full debugger. The debugger allows you to step through your code with breakpoints and variable watches as the compiled code runs on the target board, similar to the operation of an in-circuit emulator.
RMON166 - The READS166 monitor program
RMON 166 is downloaded after bootstrapping (or it may be placed into ROM) and supports basic memory and port functions. RMON166 allows downloading and running applications programs. The complete source code for user modifications or upgrades is included on disk.
Ra66 - The READS166 Assembler
Ra66 is an assembler for the C166 family of controllers. It is a multi-pass absolute assembler which generates HEX code directly from assembly source code. The assembler in the demo version of READS166 limits the size of code to about 2K.
Rc66 - The READS166 C Compiler
Rc66 is a C Compiler for the C166 family of processors. It compiles code for the tiny memory model which fully resides in the first segment of memory. Rc66 is a designed as a low-cost C compiler which provides a quick development cycle for simpler applications which do not need more than 64K of code, or the use of standard C libraries. Rc66 implements a subset of ANSI C. Rc66 works in conjunction with Ra66: first an assembly language program is generated from the C source, then a HEX file is generated.
Currently, structures, unions, enumerated types, and the typedef directive are not implemented. The C-compiler in the demo version of READS166 limits the size of code to about 8K.
1.3 Parts List
Your RMB-167 package includes the following:
Hardware
1. RMB-167 evaluation board with a 64K of static RAM.
2. Serial modem cable with adapter
Software
1. RMON167 monitor program with source code.
2. READS166 host driver for Microsoft Windows.
3. Bootstrap file source code.
4. Sample programs.
Documentation
1. User’s Guide with circuit diagrams
A regulated (+/- 5%) 5 volt 500mA power source is to be supplied by the user.
- -2
2 SOFTWARE
The RMB-167 board comes with software from Rigel Corporation and third party vendors, whom we work very closely with. Rigel’s own software for the 166 family may be found on the CD-ROM in the Rigel Products file, under 166 Software.
2.1 System Requirements
READS166 is designed to work with an IBM PC or compatible, 486 or better, running Windows 95 or Windows NT.
2.2 Software Installation, READS166
Place the CD-ROM in your drive. Go to the Rigel Products | 166 Software | READS166 | .exe program. Click on the exe file and the program will begin to load in your system. Follow the standard install directions answering the questions with the appropriate answers.
2.3 Third Party Software
A variety of third party software is available on Rigel’s CD-ROM. The software may be found in the Strategic Partners Folder under Keil, Tasking, and PLS.
Data sheets on the IC’s used on our boards may also be found on Rigel’s CD.
Please note that software updates occur frequently. Please check our web site (and the third party vendors web sites) occasionally to make sure you have the most recent versions of the software.
- -3
3 START-UP
3.1 Connections, Jumper Settings
1. Connect your RIGEL board to the PC host via a serial cable.
2. Connect the board to a power supply. The red LED will come on if power is connected correctly
3. Check to make sure jumpers are the correct position. There are two jumpers, one in position P0.4 the other in P0.6. This is the default configuration for the RMB-167 and the board will be populated this way from the manufacturer.
3.2 Software Initialization
Run the READS166 host driver by selecting Start | Programs | READS166. You may also start READS166 by double clicking on the READS166 short cut icon if installed.
3.3 Serial Number
3.3.1 Demo Version
When you run the READS166 software a pop-up registration box will open asking for your serial and customer numbers. If you are using the demo version of the software you may press CANCEL and the box will disappear and the About Box will appear. Press the OK button in the About Box and the software will run in the Demo mode. The demo mode limits the size of the files you can compile to about 8K.
3.3.2 Full Version
If you’ve purchased the READS166 software a registration sheet with the serial number and customer number will be included with the READS166 User’s Guide. When you run the READS software insert these numbers in the correct boxes, press OK and then press OK in the About Box. Your software is registered and ready to use.
3.4 Configuring READS166 and Initiating Host-to-Board Communicati ons
1. Press the Projects | Options | Project Properties | HW Configuration to select the board you are using from the list. Or using the Tools | Hardware Configuration menu command, choose the name of the board you are using from the board list which appears.
- -4
2. Open the TTY window using the Tools | TTY menu command. Select the communication port parameters using the Tools | TTY | TTY Options menu command. You will need to select the COM port you are using, and the baud rate.
3.5 Bootstrapping
In the default configuration, all monitor programs are downloaded to the boards after the boards are bootstrapped. That is, there is no ROM on the board that is executed upon reset. Bootstrapping loads a small monitor, called MinMon, which in turn loads a larger monitor
- -5
Loading...
+ 24 hidden pages