ملخص المحتوى في الصفحة رقم 1
RMB-167
USER’S GUIDE
Version 1.0
July 1998
RIGEL CORPORATION
P.O. Box 90040
Gainesville, Florida 32607
(352) 373-4629
www.rigelcorp.com
ملخص المحتوى في الصفحة رقم 2
(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 Microso
ملخص المحتوى في الصفحة رقم 3
ملخص المحتوى في الصفحة رقم 4
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
ملخص المحتوى في الصفحة رقم 5
Table Of Contents 1 OVERVIEW ..............................................................................................................................................................1 1.1 HARDWARE............................................................................................................................................................1 1.2 READS166 EVALUATION SOFTWARE OVERVIEW....................................................................................................
ملخص المحتوى في الصفحة رقم 6
10.1.1 Project.......................................................................................................................................................27 10.1.1.1 Executable Projects.........................................................................................................................................28 10.1.1.2 Archive Projects ..........................................................................................................................................
ملخص المحتوى في الصفحة رقم 7
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
ملخص المحتوى في الصفحة رقم 8
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 asse
ملخص المحتوى في الصفحة رقم 9
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 |
ملخص المحتوى في الصفحة رقم 10
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 s
ملخص المحتوى في الصفحة رقم 11
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 lo
ملخص المحتوى في الصفحة رقم 12
RMON16x. Once the monitor program is loaded, the monitor commands are available to the user. 1. Press the reset button on the board. 2. From the menu in the TTY window select TTY | Bootstrap and Download Monitor. The board will now bootstrap and download the monitor program. You may observe the bootstrap progress in the status line of the TTY window. When bootstrapping is completed, the READS166 monitor prompt appears in the TTY window. 3.6 Verifying that the Monitor is Loaded Make sure the T
ملخص المحتوى في الصفحة رقم 13
3.7 Troubleshooting All the boards are functionally tested before shipment. If the system does not bootstrap as expected, review the hardware, software, and PC setup. 3.7.1 Hardware Set-up 1. Make sure that that you have the power connected correctly. 2. Verify that the power-on LED is lit. 3. Review the jumper settings. 4. Check the modem cable connections to the board and to the host PC. 5. Run the READS software and try to bootstrap and download the monitor again. If the board still won’t op
ملخص المحتوى في الصفحة رقم 14
4 OPERATING NOTES The RMB-167 needs two connections: to a 5 volt well regulated power supply and to the serial port of a host via a modem cable. 4.1 Power Power is brought to the RMB-167 board by a two-position screw-type terminal block. A well regulated 5 volt DC source is required. The (+) and (-) terminals are marked on the board. Note that a diode is placed across the input in reverse. Thus if the power is applied to the RMB-167 board in reverse polarity, the diode will short the power s
ملخص المحتوى في الصفحة رقم 15
5 MEMORY OPTIONS The RMB-167 memory decoding is accomplished by two 16V8-type GAL devices, U1 and U2. Both devices are collectively responsible of selecting the options of determining the memory map. An output of U1, AUX0 is an input to U2. Similarly, AUX1 connects the two devices. The signal on AUX1 may flow in either direction, giving a wide range of possible ways to divide the functionality between the two devices. A slide switch is also provided to allow switching between alternate memory
ملخص المحتوى في الصفحة رقم 16
Address Range Jumpers 0-7FFFh 8000h-FFFFh inserted none RAM RAM CFG0 EPROM RAM CFG1 RAM EPROM CFG0 and EPROM EPROM CFG1 The EPROM at low memory may contain start-up code which is executed upon reset. In this case the jumper at P0.4 must be removed so that the microcontroller does not enter the bootstrap loader mode. The microcontroller simply starts executing from address 0. With the jumpers CFG0 or CFG1 (or both) installed, the RMB-167 may still be bootstrapped. Again, the jumper P0.4 must be
ملخص المحتوى في الصفحة رقم 17
; --- !!! ASSUMES 8000h-FFFFh is RAM !!! --- ; org 08000h cmdbuf equ 08000h pbuffr equ 08020h ;--------------------------------------------------- org 0 ; RESET vector RSTISR proc near jmp cc_UC, mon ; branch to monitor RSTISR endp near org 00008h ; NMI vector NMISR proc near jmp cc_UC, mon ; branch to monitor NMISR endp near ; -------------------------------------------------- org 01000h ; -------------------------------------------------- ; --- monitor program --- MON proc
ملخص المحتوى في الصفحة رقم 18
; mov SYSCON, #0F800h ; SYSCON is 89h on the 167 dw 089E6h dw 0F800h nop ; mov SYSCON, #0F800h ; SYSCON is 89h on the 167 dw 089E6h dw 0F800h - - 12
ملخص المحتوى في الصفحة رقم 19
6 GAL EQUATIONS Two PALCE16V8 are used. The first (U1) is responsible for the reset logic and auxiliary options, and the second (U2), for the memory decode logic. Refer to the circuit diagrams for more information. 6.1 Default GAL Equations 6.1.1 U1 Equations ;U1 Bootstrap Loader Logic ;----------------- PIN Declarations --------------- ; --- inputs --- PIN 1 A18 COMBINATORIAL ; PIN 2 A19 COMBINATORIAL ; PIN 3 A20 COMBI
ملخص المحتوى في الصفحة رقم 20
6.1.2 U2 Equations ; U2 Memory Decode Logic ;----------------- PIN Declarations --------------- ; --- inputs --- PIN 1 A0 COMBINATORIAL ; PIN 2 A14 COMBINATORIAL ; PIN 3 A15 COMBINATORIAL ; PIN 4 A16 COMBINATORIAL ; PIN 5 A17 COMBINATORIAL ; PIN 6 BHE_ COMBINATORIAL ; PIN 7 MON COMBINATORIAL ; PIN 8 HISEG COMBINATORIAL ; PIN 9 RESET COMBINATORIAL ; PIN 11 AU