Do you have a question about the RMB-167 and is the answer not in the manual?
Questions and answers
Summary of Contents for Rigel RMB-167
Page 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...
Page 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.
WARRANTY RIGEL CORPORATION - CUSTOMER AGREEMENT 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.
OVERVIEW ...1 1.1 H ...1 ARDWARE 1.2 READS166 E VALUATION 1.3 P ...2 ARTS SOFTWARE ...3 2.1 S ...3 YSTEM EQUIREMENTS 2.2 S OFTWARE NSTALLATION 2.3 T HIRD ARTY OFTWARE START-UP ...4 3.1 C ONNECTIONS UMPER 3.2 S OFTWARE NITIALIZATION 3.3 S ...4 ERIAL...
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 C-compiler in the demo version of READS166 limits the size of code to about 8K. Parts List Your RMB-167 package includes the following: Hardware RMB-167 evaluation board with a 64K of static RAM. Serial modem cable with adapter Software RMON167 monitor program with source code.
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.
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.
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. Bootstrapping In the default configuration, all monitor programs are downloaded to the boards after the boards are bootstrapped.
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.
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.
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 supply attempting to prevent damage to the board.
Alternate Memory Map with EPROM in Low Memory The default RMB-167 memory map uses only the RAM chips. That is the range 0 to FFFFh is decoded as RAM. The addresses are decoded by a GAL device. Alternate memory maps are possible by changing the GAL programs.
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 installed. This forces the SAB-C167 to enter the bootstrap mode upon reset.
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. Default GAL Equations 6.1.1 U1 Equations ;U1 Bootstrap Loader Logic ;----------------- PIN Declarations --------------- ;...
The two RMB-166 headers, the input output port header JP2 and the system header JP1, are similar to the headers JP6 and JP7 of the RMB-167. In addition, the RMB-167 has JP8, the Extra Input/Output header XIO. Ports 2, 3, and 5 are available on JP7. JP6 contains the address, data and control busses.
Page 24
Note that pins 46-50 on the RMB-167 are not connected to any signal. JP7 - Input/Output Header Signal Pins RMB- RMB- (JP2) (JP7) Ground Ground P5.0 P5.2 P5.4 P5.6 P5.8 VAGND VAREF P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7 P2.8...
Page 25
JP8 - Extra Input/Output Header of the RMB-167 Signal Pins RMB-167 Ground Ground P6.0 P6.2 P6.4 P6.6 VAGND VAREF P5.0 P5.1 P5.2 P5.3 P5.4 P5.5 P5.6 P5.7 P5.8 P5.9 P5.10 P5.11 P5.12 P5.13 P5.14 P5.15 Note that Port 5 pins P5.0 to P5.9 are available on the Input/Output Header JP7 as well as on the Extra Input/Output Header JP8.
Analog-to-Digital Converter Reference Jumpers The analog-to-digital converter requires a ground and reference voltage. These reference voltages may be provided either from JP2 lines marked VG (ground reference voltage) and VR (reference voltage), or connected to the +5 volt TTL supply. Jumpers JP4 and JP5 select the source of reference voltages.
BOOTSTRAPPING The RMB-167 bootstrapping is triggered by grounding P0L.4 at reset. A 16 pin header is used to ground the bits of P0L via a resistor array with a nominal value in the range of 22K to 33K. Note that the GAL which controls the bootstrap load operation is also responsible for turning on the LED.
Page 28
Note that the NOP (no operation) operations are required to fill the 32 bytes, since the bootstrap loader remains active until all 32 bytes are received. When the bootstrap loader receives its last byte and places it in address 0FA5Fh, it makes a jump to 0FA40h and starts executing the code. This is the short loop given above.
Page 29
The file BTL67.DAT contains the bytes downloaded to the RMB-167 board during bootstrapping. The file BTL.SRC contains the source code. The initialization routines configure the SYSCON register. The internal ROM is disabled and the external bus is activated.
THE MINIMAL MONITOR The minimal monitor is placed by the bootstrap loader starting at address 8000h. The monitor responds to two single-letter commands ’D’ and ’G’. The ’D’ command places the monitor in a download mode. Code in the Intel Hex format is expected. Code may be downloaded anywhere in the first 64L segment.
RMON167 is at address C100h. To set up RMON167, initialize READS166 and the RMB-167 board and invoke the Bootstrap command as explained in the previous section. From the TTY menu, select Download to download RMON167.HEX. Branch to and execute RMON167 using the Run command under the TTY menu.
Page 32
Port Data The P command is used to read from or write to the ports. Pn displays the current value of port n. If port n is an input port, then the value read is the current voltage levels applied to the ports. If port n is an output port, Pn returns the current output value to port n.
READS166 VERSION 3.0 READS166, version 3.00, is Rigel Corporation’s Integrated Development Environment for the 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.
By using the long names provided by the 32-bit Windows operating systems, you may use this feature to keep different versions of your software in a controlled manner. For example, the project “Motor Control 07-20-1997” may be saved under the name “Motor Control 07-25-1997” as new features are added.
Need help?
Do you have a question about the RMB-167 and is the answer not in the manual?
Questions and answers