Manuale d’uso / di manutenzione del prodotto R-167 del fabbricante Rigel
Vai alla pagina of 35
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.
(C) 1998 by R igel Corpor ation . All rights reserved. No part of this document may be reproduced, stored in a retrieval system, or transmitted i n any form, or by any m eans, electronic, m echanical, photocopying, r ecording, or otherwise, w ithout the prior written per mission of R igel Cor poration.
.
WARRANTY RIGEL CORPORATION - CUSTOMER AGREEMENT 1. Return Policy. This return policy applies only if you pur chased the RMB-167 evaluation board directly fr om Rigel Corporation. If you purchase the board fr om a distributor please contact them for their r eturn policy.
Table Of Contents 1 OVERVIEW .............................................................................................................................................................. 1 1.1 H ARDW A RE .............................................
10.1.1 Project ....................................................................................................................................................... 27 10.1.1.1 Executable Projects ....................................................
1 Overview The RMB-167 i s an evaluation board for the Siemens SAB C167 m icrocontrol ler. The RM B-167 board accepts the followi ng processors, the SAB C 167-LM, the SAB C167SR -LM, and the SAB C167CR- LM.
- - 2 RMON166 - The R EADS166 monitor program RMON 166 i s downl oaded after bootstrapping ( or it may be placed into ROM ) and supports basic memory and por t functions. RMON166 all ows dow nloadi ng and runni ng applic ations progr ams. The complete source code for user modifications or upgrades i s included on disk.
- - 3 2 SOFTWARE The RMB-167 boar d comes with softw are from R igel Cor poration and thir d party vendors, whom we work ver y closely wi th. Rigel’ s own softwar e for the 166 famil y may be found on the CD- ROM in the Rigel Pr oducts file, under 166 Softw are.
- - 4 3 START-UP 3.1 Connections, Jumper Settings 1. Connect your RIGEL board to the PC host v ia a serial cable. 2. Connect the board to a pow er supply . The red LED will come on if power is connected correctly 3. Check to make sure jum pers are the cor rect position.
- - 5 2. Open the TTY w indow using the Tools | TTY menu command. Select the communicati on port parameters usi ng the Tools | TTY | TTY Options menu command.
- - 6 RMON16x. Once the m onitor progr am is loaded, the m onitor com mands are avail able to the user. 1. Press the reset button on the board. 2. From the menu in the TTY wi ndow sel ect TTY | Bootstrap and Download Monitor . The board will now bootstrap and download the monitor prog ram.
- - 7 3.7 Troubleshooti ng All the boards are functionally tested before shipment. If the system does not bootstrap as expected, review the har dware, softwar e, and PC setup. 3.7.1 Hardware Set-u p 1. Make sure that that you have the power connected correctly.
- - 8 4 OPERATING NOTES The RMB-167 needs tw o 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 br ought to the RMB-167 boar d by a two-positi on screw-t ype terminal block. A well regulated 5 volt DC source is required.
- - 9 5 MEMORY OPTION S The RMB-167 m emory decoding i s accomplis hed by two 16V8-type GAL devices, U 1 and U2. Both devices are coll ectively responsi ble of selecting the options of deter mining the m emory m ap. An output of U1, AUX0 is an i nput to U2.
- - 10 Address Range Jumpers inserted 0-7FFFh 8000h-FFFFh none RAM RAM CFG0 EPROM RAM CFG1 RAM EPROM CFG0 and CFG1 EPROM EPROM The EPROM at low m emory m ay contain start-up code w hich is executed upon r eset. In this case the jumper at P0.4 m ust be removed so that the micr ocontroller does not enter the bootstrap loader mode.
- - 11 ; --- !!! ASSUMES 8000h-FFFFh is RAM !!! --- ; org 08000h cmdbuf equ 08000h pbuffr equ 08020h ;--------------------------------------------------- org 0 ; RESET vector RSTISR proc near jmp cc_U.
- - 12 ; 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.
- - 13 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 l ogic. Refer to the ci rcuit diagr ams for m ore information. 6.1 Default GAL Equations 6.
- - 14 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.
- - 15 COMPANY Rigel Corporation DATE 07/20/94 CHIP _r167u1 PALCE16V8 ; --- PIN Declarations --------------------------------; --- inputs --- PIN 1 A18 COMBINATORIAL PIN 2 A19 COMBINATORIAL PIN 3 A20 .
- - 16 ; --- PIN Declarations --------------------------------; --- inputs --- PIN 1 A0 COMBINATORIAL PIN 2 A14 COMBINATORIAL PIN 3 A15 COMBINATORIAL PIN 4 A16 COMBINATORIAL PIN 5 A17 COMBINATORIAL PI.
- - 17 7 HEADERS AND JUMPERS 7.1 System and I / O Headers The RMB-167 boar d has three headers, two of w hich are compati ble with those of the R MB-166. The two RMB-166 headers, the input output port header JP2 and the system header JP1, are simil ar to the headers JP6 and JP7 of the RM B-167.
- - 18 Note that pins 46-50 on the RM B-167 are not connected to any si gnal. JP7 - Input/Output Header Signal Pins Signal RMB- 166 (JP2) RMB- 167 (JP7) RMB- 166 (JP2) RMB- 167 (JP7) Ground 1 2 VCC (+ 5V) Ground 3 4 VCC (+ 5V) P5.0 5 6 P5.1 P5.2 7 8 P5.
- - 19 JP8 - Extra Input/Output Header of the RMB-167 Signal Pins Signal RMB-167 RMB-1 67 Ground 1 2 VCC (+ 5V) Ground 3 4 VCC (+ 5V) P6.0 5 6 P6.1 P6.2 7 8 P6.3 P6.4 9 10 P6.5 P6.6 11 12 P6.7 A23 13 14 READY# VAGND 15 16 not used VAREF 17 18 not used P5.
- - 20 7.2 Analog-to-Digital Converter Reference Jumpers The analog-to-di gital converter requires a gr ound and reference voltage. These r eference voltages may be provi ded either from JP2 lines mar ked VG (ground refer ence voltage) and VR (reference vol tage), or connected to the +5 vol t TTL supply.
- - 21 8 BOOTSTRAPPING The RMB-167 bootstr apping is tri ggered by grounding P0L.4 at r eset. A 16 pin header is used to ground the bits of P0L via a r esistor arr ay with a nomi nal value in the range of 22K to 33K. Note that the GAL which contr ols the bootstrap load oper ation is also r esponsible for tur ning on the LED.
- - 22 Note that the NOP (no operation) operations are required to fill the 32 bytes, since the bootstrap loader rem ains active until al l 32 bytes are recei ved. When the bootstrap l oader receives i ts last byte and places it in addr ess 0FA5Fh, it makes a jump to 0FA40h and star ts executing the code.
- - 23 respectively. The code w ithin the 604-byte dow nload block pokes these bytes starti ng from address 0. That is, these instr uctions are placed i nto memory, one w ord at a time, as data.
- - 24 9 THE MINIMAL MONITOR The minim al monitor is placed by the bootstrap l oader starting at addr ess 8000h. The monitor responds to two single- letter comm ands ’ D’ and ’G’ . The ’ D’ command places the monitor in a download mode. C ode in the Intel Hex form at is expected.
- - 25 9.1 MON167 Monitor The monitor pr ogram RM ON167 allow s inspecting and modi fying the first 64K segm ent of RMB- 167 memory, confi guring the ports, i nputting and outputting from the general purpose por ts, downloading code in the Intel Hex format, and br anching to user code.
- - 26 P Port Data The P command is used to r ead from or write to the por ts. Pn displays the curr ent value of port n. If port n is an input por t, then the value read is the current voltage l evels applied to the por ts. If port n is an o u tput port, Pn re turns the curre n t output va lue to port n.
- - 27 10 READS166 VERSION 3.0 READS166, versi on 3.00, is Rigel Corporati on’s Integrated Devel opment Environm ent for the SGS Thomson 16-bit pr ocessors. READS166 i ncludes an editor, a host- to-board communications system, an assembler, and a C compiler.
- - 28 By using the long names provided by the 32-bit Windows operating systems, you may use this feature to keep different ver sions of your softwar e in a controll ed manner. For exam ple, the project “M otor Control 07-20-1997” m ay be saved under the name “M otor Control 07-25-1997” as new features are added.
- - 29 11 CIRCUIT DIAGRAMS.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Rigel R-167 è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Rigel R-167 - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Rigel R-167 imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Rigel R-167 ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Rigel R-167, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Rigel R-167.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Rigel R-167. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Rigel R-167 insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.