| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
ST620x, ST621x ST622x Release November 2000 Ref: DOC-E-ST622
Top Searches for this datasheetST622x Starter User Manual ST620x, ST621x ST622x Release November 2000 Ref: DOC-E-ST622XSKUM LIFE SUPPORT DEVICES SYSTEMS MUST EXPRESSLY AUTHORIZED. STMicroelectronics PRODUCTS AUTHORIZED CRITICAL COMPONENTS LIFE SUPPORT DEVICES SYSTEMS WITHOUT EXPRESS WRITTEN APPROVAL STMicroelectronics. used herein: Life support devices systems those which intended surgical implant into body, support sustain life, whose failure perform, when properly used accordance with instructions provided with product, reasonably expected result significant injury user. critical component component life support device system whose failure perform reasonably expected cause failure life support device system, affect safety effectiveness. Table Contents Chapter Introduction Overview Possible Uses Starter Where from here. Getting Assistance Instructions Warning Chapter Getting Started Your System Requirements Installing Hardware Installing WGDB6 other Software Tools Launching WGDB6 Chapter Hardware Features Microcontrollers Starter Board Chapter Running Demos What Demos Running Demonstration Programs Chapter Chapter Connecting External Resources Starter Board Using Starter Board Hardware Simulator Data Transmission Driver Technical Limitations Starter board hardware simulator: Error Messages Troubleshooting Chapter Programming Microcontrollers Programming Signals Setting Starter Board In-Circuit Programming Application Board Connections Setting Starter Board In-Circuit Programming 3/53 Table Contents Chapter Running Your program Starter Board Appendix Glossary Product Support Getting prepared before call. Contact List Index 4/53 ST622x Starter User Manual Introduction INTRODUCTION ST622x Starter provides with need start designing, developing evaluating programs ST620x, ST621x ST622x microcontrollers immediately. Note: come across terms abbreviations understand, check their meaning Glossary page Overview ST622x Starter includes: Starter board, which serves demonstration board lowcost debugging tool. ST62E25, ST62E20 ST62E01 microcontrollers. CD-ROM which contains following: assembler linker, AST6 LST6. Windows debugger, WGDB6. Windows microcontroller programmer, Epromer. Some demonstration programs that show microcontrollers Starter board resources. Some example programs typical applications ST622x family. complete paper documentation online help. demonstration programs, that come pre-loaded ST62E25 microcontroller, show powerful features microcontrollers operate real environment. demonstration programs hardware resources provided Starter board, which include reset data control buttons, indicators, resistance trimmer, temperature control circuit RS-232 interface. source files these demos also included CD-ROM installed default following directory: C:\Program Using assembler linker, AST6 LST6, assemble link programs. AST6/LST6 User Manual will guide through steps developing, assembling linking programs microcontrollers. 5/53 Introduction ST622x Starter User Manual Starter software includes example programs typical applications. These example programs included CD-ROM installed default following directory: C:\Program Once have developed your program, Windows debugger, WGDB6, together with Starter board, low-cost powerful debugging tool. WGDB6 includes simulator, that simulates execution your program, uses that plugged into Starter board emulate transactions that performed with data space. Thus, using Starter board with WGDB6, view microcontroller peripherals behave when your program executed. WGDB6 includes powerful debugging features, such source-level debugging, instruction conditional memory access breakpoints selective trace recording. WGDB6 Getting Started manual online help will lead through debugging process using WGDB6. addition WGDB6 debugger, Raisonance's RIDE-ST6 Windows®compatible software package supported Family Starter Kits. Raisonance's software suite integrated development environment that includes highly optimized ANSI Compiler, powerful Macro-Assembler, Linker fully integrated Simulator/Debugger. advantage Raisonance's software suite that everything need evaluate, debug, edit re-compile your application integrated single, consistent user-friendly interface. This software included MCU-on-CD CD-ROM provided with your emulator kit, downloaded from Raisonance's site http://www.raisonance.com Once your program ready, Epromer provides with easy-to-use Windows® interface, which lets prepare executable code, then write microcontroller that plugged into either sockets Starter board, your in-circuit application board that connected Starter board. observe evaluate consequences your program resources controls, microcontroller that plugged into Starter board. controls resource that included Starter board, connect your resource board. 6/53 ST622x Starter User Manual Introduction Possible Uses Starter following diagram summarizes possible uses Starter board hardware setup required each one. program MCUs your in-circuit programming board: In-circuit running Starter programming board board Epromer Parallel port connected connector program MCUs using Starter board: running Epromer programmed Starter board Parallel port connected demonstrations: Programmed with DEMOK25.HEX Starter board programmed with program Starter board software simulator: running WGDB6 Simulator Programmed with DEMOK25.HEX your program: Parallel port connected 7/53 Introduction ST622x Starter User Manual Where from here. following table directs where should look further information concerning Starter Kit. Install Starter software, connect power supply board. Find about Starter board microcontrollers provided with kit. Find what demonstration applications them. Connect your hardware resource Starter board. Refer Chapter Getting Started page this book. Chapter Hardware Features page this book. Chapter Running Demos page this book. Chapter Connecting External Resources Starter Board page this book. AST6/LST6 Assembler Linker Family -User Guide. WGDB6 Windows Debugger Family Getting Started. Chapter Using Starter Board Hardware Simulator page this book. Epromer online help. Learn develop source code AST6 LST6. Install WGDB6, learn debugging your programs. Prepare Starter board hardware simulator with WGDB6. Learn Epromer programming microcontrollers. Prepare starter board programming microcontrollers using Epromer. Prepare Starter board connecting your in-circuit programming board. your program microcontroller using Starter board. Chapter Programming Microcontrollers page this book. Section 7.5: Setting Starter Board In-Circuit Programming page this book. Chapter Running Your program Starter Board page 8/53 ST622x Starter User Manual Introduction Getting Assistance more information, application notes, FAQs software updates microcontroller families, check CD-ROM website: http://mcu.st.com assistance microcontroller subjects, need help with using your emulator, refer Product Support page We'll glad help you! Instructions Warning This product conforms with 89/336/EEC directive; also complies with EN55022 emissions standard ITE, well with generic 50082-1 immunity standards. product Class apparatus. residential environment this device cause radioelectrical disturbances which require that user adopt appropriate precautions. product contained outer casing, cannot therefore immune against electrostatic discharge (ESD): should therefore only handled static safe work stations. 9/53 Introduction ST622x Starter User Manual 10/53 ST622x Starter User Manual Getting Started GETTING STARTED Your System Requirements run/install software provided CD-ROM, must have running either Microsoft® Windows® Windows® Windows® NT®. 2.2.1 Installing Hardware Connecting Power Supply have mains supply, connect jack plug power supply cable provided input socket, then connect mains plug mains source. have mains supply, connect male plug power supply cable provided input socket, then connect mains plug mains source with following characteristics: Voltage: min./20 max. Current: min. Note: avoid short circuit, always connect power input cable starter board before connecting mains power supply. your power supply plug, polarity must follows: JACK PLUG Installing WGDB6 other Software Tools Your starter comes with CD-ROM which contains number software tools. install them, follow these steps: Place CD-ROM your CD-ROM drive. CD-ROM's autorun feature opens welcome screen your autorun feature does work, Windows® Explorer browse CD-ROM's root folder, double-click welcome.exe. Select Install Your Development Tools from list options. screen appears listing different families STMicroelectronics MCUs. your mouse place cursor over TOOLS option. Choose TOOLS TOOLCHAIN from lists that appear. 11/53 Getting Started ST622x Starter User Manual install wizard launched. Follow instructions that appear screen. choose package wish install. install complete Toolchain your starter kit, select Complete Toolchain Starter Kit. This option installs WGDB6 debugger version your starter kit, well Windows Epromer Assembler-Linker software. Alternatively, choose perform custom installation where choose which available software applications wish install. Note: order configure your starter kit, must, minimum, install WGDB6 Starter choose options, click Next>, Assembler-Linker will installed default. Follow instructions that appear your screen. will prompted select parallel port wish connect emulator well program folder that software will installed installing WGDB6 Windows platform, must install Windows® parallel port driver supplied CD-ROM. window pops have already installed this driver (parstm.sys Click following window appears: 12/53 ST622x Starter User Manual Getting Started Click Install. following window appears: Click installation complete. following window appears. Choose read Release Notes start WGDB6, then click Finish button. Launching WGDB6 From Windows® Windows® click Start button, point Programs Tool Chain Development Tools, then choose WGDB6 StarterKit. Refer WGDB6 Windows Debugger Family User Manual full instructions WGDB6. This manual available format CD-ROM. 13/53 Getting Started ST622x Starter User Manual 14/53 ST622x Starter User Manual Hardware Features HARDWARE FEATURES This section describes microcontrollers Starter board that come with Starter Kit. Figure page shows full schematic Starter board. Microcontrollers Starter includes ST62E25, ST62E20 ST62E01 microcontrollers. ST62E25 microcontroller labelled DEMOK25 pre-loaded with Demok25.hex code, which includes demonstration programs (see Chapter Running Demos page 25), well communications protocol program, that enables Starter board simulator (see Chapter Using Starter Board Hardware Simulator page 33). other microcontrollers blank. Demok25.asm file also provided CD-ROM installed directory, that erase from ST62E25, re-program following instructions given Chapter Programming Microcontrollers page Starter Board Starter board includes following resources (described more detail later this chapter): Oscillator. Reset button. Data control buttons. indicators. Resistance trimmer. Temperature control circuit. RS-232 interface. Demonstration program selector jumpers. comes with power supply unit that plugged into mains source, source with following characteristics: Voltage: min./20 max., Current: min. 15/53 Hardware Features ST622x Starter User Manual includes following connectors: parallel port connector (P1) connection host when used hardware simulator programming. remote resource interface connector (J2) which connect your hardware resource. RS-232 connector, which communication control using ST6. observing RS-232 connector your in-circuit programming board. Application Board Connections page further details. block diagram Starter board shown Figure POWER SUPPLY UNIT LEDs TEMPERATURE TRIMMER CONTROL RS232 ST62E25 PARALLEL CONNECTION SOFTWARE SIMULATOR ST622x CONNECTION USER APPLICATION EPROM PROGRAMMER IN-CIRCUIT PROGRAMMING Figure Block diagram Starter board 16/53 ST622x Starter User Manual Hardware Features photo Starter board shown Figure Figure Starter board 17/53 Hardware Features ST622x Starter User Manual layout Starter board shown Figure Figure Starter board layout In-circuit programming connector (J1). oscillator. connector LEDs. Heater resistor indicator LD6. Power supply JACK connector Heater resistor. Power supply indicator LD5. RESET button. Demonstration routine selector. RS232 interface circuit connector. trimmer. 20-28 socket. socket. Remote resource interface connector ST6220 ST6225 device selection jumpers "Programming" "User" operating mode selection jumpers Thermistor. buttons. 18/53 ST622x Starter User Manual Hardware Features 3.2.1 Oscillator oscillator feeds ST6225 OSCIN input with clock signal. disconnect oscillator removing jumpers (marked Starter board diagram page 18). OSCILLATOR USER OSCin JUMPER PROG PROGRAMMING CLOCK FROM (only when programming microcontrollers) 3.2.2 Reset Button Reset button activates ST6225 RESET input when pressed. power-on reset circuit also provided. 3.2.3 Buttons buttons connected pins microcontroller respectively. They drive inputs down when pressed. disconnect removing jumper, removing jumper. W9-PB4 W8-PB3 JUMPERS ST6225 19/53 Hardware Features ST622x Starter User Manual 3.2.4 Indicators Four LEDs used level indication demonstration routines. They connected ST6225 pins: (when programmed outputs) demonstrate direct LED-driving capability. LEDs disconnected removing W3-PA0 jumpers. RESISTOR ARRAY JUMPERS ST6225 3.2.5 Resistance trimmer resistance trimmer feeds ST6225 (when programmed Converter input) with variable voltage DC). used conversion demonstration/evaluation. trimmer disconnected from removing W4-PA5 jumper. ST6225 TRIMMER JUMPER 20/53 ST622x Starter User Manual Hardware Features 3.2.6 Temperature Control Circuit This circuit demonstrates temperature control, using on-chip converter. heater resistor circuit (150 Watt) driven TIMER output ST6225 microcontroller. heat level controlled varying duty cycle signal present TIMER output. heater circuit disconnected from TIMER output removing W6-TIMER jumper. thermistor bridge (Negative Temperature Coefficient) connected pin, which programmed converter input. voltage value converter input decreases thermistor temperature increases. thermistor circuit disconnected from removing jumper. thermistor located close proximity Heater resistor Starter board, that used sensor detect temperature resistor body. Demonstration shows this circuit used feedback loop that controls temperature level (see Running Demos page 25). V-DC POWER W5-PA4 HEATER INDICATOR JUMPER HEATOR RESISTOR THERMISTOR BRIDGE ST6225 W6-TIMER JUMPER TIMER 74HC04 3.2.7 RS-232 Interface RS-232 interface enables communicate with pre-programmed ST6225 microcontroller provided with Starter Kit. includes RS-232 buffer circuit that connected standard PC-compatible RS-232 SUBD-9 connector. 21/53 Hardware Features ST622x Starter User Manual following table lists RS-232/ST6 connections: Signal Name Data Transmission (TX) Data Reception (RX) Request Send (RTS) Clear Send (CTS) SUBD-9 disconnect these removing corresponding jumpers from Figure shows RS-232 connections line allocations: SUBD POINT CONNECTOR RS232 LINE BUFFER JUMPERS ST6225 Figure RS-232 connections line allocations defined that board used slave. board master, swap both connections cable. 3.2.8 Demonstration Selector Jumpers demonstration selector made 6-position jumper (marked Starter board diagram page 18), with each jumper connected resistor. Each resistor generates different voltage. After reset, voltage value generated resistor whose jumper installed sent ST6225. programmed converter. program 22/53 ST622x Starter User Manual Hardware Features installed ST6225 uses input from select appropriate demo. following table lists voltage values generated each resistor: Resistor value: Theoretical voltage value: JUMPER: JUMPER-D1: JUMPER-D2: JUMPER-D3: JUMPER-D4: JUMPER-D5: 1.332 same principle used keyboard decoding. complete example this, refer STMicroelectronics application note: AN431: Using Analog Inputs Multiple Decoding. disconnect demonstration selector from removing jumper from (marked Starter board diagram page 18). JUMPER W10-PA7 ST6225 JUMPER 23/53 Hardware Features ST622x Starter User Manual 24/53 ST622x Starter User Manual Running Demos RUNNING DEMOS This section describes demonstration programs that provided with Starter explains them. What Demos following paragraphs describe demos that come pre-loaded with Starter demos. Running Demonstration Programs page details select demo. source files these demos also included CD-ROM installed following directory: 4.1.1 Demo Button/LED Indicator Control Initializes pins follows: This pin: initialized Input with pull-up interrupt. Connected button. Input with pull-up interrupt. Connected button. Push-pull outputs. Connected four LEDs marked board). Performs task relating your actions: When this: Press button program does this: Jumps interrupt subroutine that lights each turn, from LD1. Jumps interrupt subroutine that lights each turn, from LD4. Press button 25/53 Running Demos ST622x Starter User Manual 4.1.2 Demo Voltage trimming level indication Initializes pins follows: This pin: initialized Analog input. Connected trimmer. Push-pull outputs. Connected four LEDs marked board). Reads converter data register, turns according Voltage value input trimmer: This voltage: Turns this none Adjusting voltage trimmer (marked Starter board diagram page turns appropriate LED. Pressing buttons same effect increasing decreasing voltage. 4.1.3 Demo Temperature Control Initializes pins follows: This pin: TIMER initialized Analog input. Connected thermistor circuit. Push-pull output. Connected Heater Resistor circuit. Input with pull-up interrupt. Connected button. Push-pull outputs. Connected four LEDs marked board). 26/53 ST622x Starter User Manual Running Demos Reads stores converter data register value. This value indicates temperature reset. Reads stores converter data register value regular intervals. this value exceeds value that stored reset, turned indicating difference between values. higher difference between stored value read value, higher number turned (roughly steps LD(n+1) each additional degree difference). either increase temperature touching thermistor (marked Starter board diagram page pressing button. 4.1.4 Demo Fuzzy Logic Heater Control This demonstration shows heater control application developed using Fuzzy Logic description. application developed using fuzzyTECH explorer development tool. more information about this demonstration, Fuzzykit text file, this supplied CDROM installed following directory: Running Demonstration Programs ST62E25 microcontroller labelled DEMOK25 programmed with demonstration software. Demok25.asm file also provided CD-ROM installed directory, that erase from ST62E25 microcontroller, reprogram following instructions given Chapter Programming Microcontrollers page demonstrations: Power down Starter board. Make sure that pre-programmed ST62E25 plugged into connector, that DEVICE jumpers (marked Starter 27/53 Running Demos ST622x Starter User Manual board diagram page ST6225 shown following diagram: ST6225 ST6220 Select USER mode using jumpers marked (marked Starter board diagram page 18), shown diagram below: USER PROG Disconnect cable from parallel port (P1) connection, connected. Power Starter board. 28/53 ST622x Starter User Manual Running Demos Install demonstration program jumper marked PA7, shown diagram below: DEMO SELECTION Select demo want run, installing appropriate jumper (marked Starter board diagram page 18), indicated diagram below: DEMO SELECTION Selects demo Push Button/LED Indicator Control Selects demo Voltage trimming level indication Selects demo Temperature Control Selects demo RS-232 Communications Selects demo Fuzzy Logic Heater Control used example, above diagram demo selected. Press reset button. selected demo run. different demo, repeat steps 29/53 Running Demos ST622x Starter User Manual 30/53 ST622x Starter User Manual Connecting External Resources Starter Board CONNECTING EXTERNAL RESOURCES STARTER BOARD connect your external resources pre-programmed ST62E25 debug evaluate your programs, using connector (marked Starter board diagram page 18). able connect your resources Starter board, must disconnect resources that already connected ST62E25 avoid conflicts between external resources Starter board resources). following table lists Starter board resources corresponding connections, indicates jumper that disconnects each resource. On-board resource Supply Heater resis. control OSC. Jumper disconnect W6-TIMER ST6225 TIMER ST6225 Jumper disconnect W3-PA0 On-board resource Indicator Indicator Indicator Indicator Thermistor OSCIN W3-PA1 none OSCO W3-PA2 System tasks (Simulator link) RS232 Driver Output RS232 Driver Input RS232 Driver Output RS232 Driver Input System tasks (Programming) Reset Button W3-PA3 W7-PC7 W5-PA4 W7-PC6 W4-PA5 Trimmer W7-PC5 none W7-PC4 W10-PA7 Routine selector System task (Simul. link) System task (Simul. link) RESET/ 31/53 Connecting External Resources Starter Board ST622x Starter User Manual On-board resource System tasks (Programming) System tasks (Programming) System tasks (Programming) Jumper disconnect ST6225 ST6225 Jumper disconnect On-board resource System task (Simul. link) Button W8-PB3 W9-PB4 Button This available Starter board connected host Note: Some signals connector used during programming, thus must disconnect external resource that connected before using Starter board programming. 32/53 ST622x Starter User Manual Using Starter Board Hardware Simulator USING STARTER BOARD HARDWARE SIMULATOR WGDB6, debugger that runs under Windows, lets test your programs without having program EPROM your target ST6. Depending much information want, close real life want your test environment WGDB6 three ways: software simulator. WGDB6 simulator, need attach additional hardware your simulator program, that comes with WGDB6 when WGDB6/Simulator, simulates execution your program, letting step through code what happens program runs. WGDB6 simulator includes Wave Form Editor, which simulates output pins your target relation inputs that define, enabling peripherals react inputs they receive. With hardware emulator. Emulators hardware systems that your target microcontroller, same time capturing detailed information, such which areas memory accessed program what happens when they accessed. this case, WGDB6/Emulator provides interface between emulator your displaying data captured emulator letting implement WGDB6 features emulator, such software hardware breakpoints. With Starter board hardware simulator. This cross between above two. WGDB6 software simulator simulates execution your program, each time data space accessed, accesses that that plugged into your Starter board. Thus, using Starter board with WGDB6, view real microcontroller peripherals behave when your program executed. This section describes third option, Starter board hardware simulator. Starter board emulate ST620x, ST621x ST622x microcontroller. Note, however that must pre-programmed ST62E25 microcontroller, labelled DEMOK25 supplied with hardware simulation. Thus, when simulating programs designed other microcontrollers, make sure that resources that available microcontroller your application designed for. 33/53 Using Starter Board Hardware Simulator ST622x Starter User Manual Data Transmission Driver Data transferred between simulated peripheral registers ST620x, ST621x ST622x registers host PC's parallel port. Demok25.hex program, with which ST62E25 microcontroller that plugged into Starter board must loaded includes transmission driver. data transfer driver uses following bits: parallel port ST6225 RESET WGDB6 Synchronization Write data Hardware reset peripherals Initiates data transfer Read data from SDOP Technical Limitations Starter board following limitations when used with WGDB6 hardware simulator: Real-time program execution supported. Resetting ST6225 power pressing Reset button external reset does reset simulated core. perform complete simulated reset, WGDB6 reset command instead. Interrupts sent ST62E25 microcontroller supported WGDB6 simulator. pins: NMI, PB0, ST62E25 microcontroller used communications with host thus available simulation. Note: connect external resources corresponding connector pins when using Starter board peripheral emulator. 34/53 ST622x Starter User Manual Using Starter Board Hardware Simulator Starter board hardware simulator: Power down Starter board. Make sure that ST62E25 labelled DEMOK25 plugged into DIL28 socket, that DEVICE jumpers (marked Starter board diagram page ST6225 shown following diagram: ST6225 ST6220 Select USER mode using jumpers marked (marked Starter board diagram page 18), shown following diagram: USER PROG Connect Parallel port Starter board spare parallel port your using cable provided with Starter Kit. Power Starter board. 35/53 Using Starter Board Hardware Simulator ST622x Starter User Manual WGDB6: From Windows click Start Programs Tool Chain Development Tools Wgdb6 StarterKit. Refer WGDB6 Windows Debugger Family User Manual full instructions WGDB6. This manual available format CD-ROM. Error Messages following table lists error messages encounter when using WGDB6 with Starter board: Error message Error Port protected when using board. Description This means that WGDB6 tried access PORT registers. These used communications with board. This means that problem occurred during communications between host board. Perform checks listed below. Error Communication error with ST620x/ ST621x/ST622x board. Troubleshooting there communications problem between WGDB6 Starter board, title "WGDB6 Simulator" appears WGDB6 title bar. this case, should check following: That Starter board correctly powered That parallel port cable correctly connected. That device jumpers (W2) USER position. That device type selection jumpers (W1) ST6225 position. That ST6225 plugged into Starter board, programmed with Demok25.hex. 36/53 ST622x Starter User Manual Programming Microcontrollers PROGRAMMING MICROCONTROLLERS Starter board, conjunction with Epromer, program ST620x, ST621x ST622x microcontrollers. also perform in-circuit programming ST620x, ST621x ST622x OTP/EPROM microcontrollers using your board, connected Starter board connector (marked Starter board diagram page 18). Programming Signals following table shows programming signals states their corresponding numbers. DIL28 DIL20 connector DIL16 connector Programming signals TEST OSCIN RESET Programming states High High/Low High/Low V/12 High/Low High/Low High connector Note: Some signals connector used during programming, thus have connected external resource must disconnect before using Starter board programming. This section describes Starter board programming microcontrollers, lists connection requirements in-circuit application boards. Setting Starter Board Power down Starter board. 37/53 Programming Microcontrollers ST622x Starter User Manual Plug microcontroller want program into connector, according following diagram: ST62x25 ST62x15 ST62x08 ST62x09 ST62x10 ST62x20 ST6225 ST6220/6209 ST62x0013 ST62x01 ST62x0312 DEVICE jumpers (marked Starter board diagram page microcontroller that want program according following table: Device Type ST6200 ST6201 ST6203 ST6208 ST6209 ST6210 position ST6220 ST6220 ST6220 ST6220 ST6220 ST6220 38/53 ST622x Starter User Manual Programming Microcontrollers Device Type ST6220 ST6215 ST6225 position ST6220 ST6225 ST6225 shown following diagram: select ST6225: ST6225 ST6220 select ST6220: ST6225 ST6220 Select PROG mode using jumpers marked (marked Starter board diagram page 18), shown following diagram: USER PROG 39/53 Programming Microcontrollers ST622x Starter User Manual Connect Parallel port Starter board spare parallel port your using cable provided with starter kit. Power Starter board. Epromer program microcontroller that plugged into Starter board. Epromer from Windows 3.x, double-click Epromer icon Tools group. Epromer from Windows click Start Programs Tool Chain Development Tools Winee. instructions operate Epromer, click Help Epromer main window. In-Circuit Programming perform in-circuit programming ST620x, ST621x ST622x OTP/ EPROM microcontrollers using your board, connected Starter board connector (marked Starter board diagram page 18). Application Board Connections following paragraphs specify connection requirements between your application board Starter board. application board must have suitable 16-way connector (8x2 header HE10) connected 16-way cable connector (marked Starter board diagram page Starter board. following table shows required connections: ST620x, ST621x ST622x Pins OSCin RESET VPP/VDD Connector Pins 40/53 ST622x Starter User Manual Programming Microcontrollers ST620x, ST621x ST622x Pins Connector Pins connection optional, depending whether application board supply cannot disconnected. application board supply disconnected, supply through pins connector, long total load current does exceed capacitive load less than application board power supply, voltage must that logic levels compatible with those Starter board. OSCin Synchronizes programming operations using clock generated programming tool. OSCin located application board, must directly connected 16-way connector. isolation needed long quartz crystal ceramic resonator used application. external clock generator used application, must disconnected during in-circuit programming. RESET Controls programming mode entry. prevent signal level contention, RESET must directly connected 16-way connector, must isolated from other nodes application board. direct connection VDD, output must avoided. This connected CMOS input, pullup, pull-down left open (Internal pull-up). capacitive load RESET should exceed Pins 16-way connector used establish communications between programming tool microcontroller. prevent signal-level contention, Pins must directly connected 16-way connector, must isolated from other nodes application board. direct connection VDD, output must avoided. These pins connected CMOS input, pull-up, pull-down left open (Internal pull-up). 16-pin connector connected target device, same applies. Connection necessary high voltage level guaranteed board design. 41/53 Programming Microcontrollers ST622x Starter User Manual Some pins connected 16-way connector must high level during programming. This normally achieved RESET signal sent programming tool through 16-way cable, setting pins inputs with internal pull-up. keep these lines high, direct connection these pins other signal level (even temporarily) must avoided. Only connections another CMOS input, external pull-up pull-down allowed. signals directly biased through 16-way connector) must kept high voltage level. Vpp/pin must directly connected GND/VSS application board, avoid conflict with programming voltage provided programming tool connector. This should pulled down resistor with minimum value must ceramic capacitor between Vpp/Test VSS. Setting Starter Board In-Circuit Programming Power down Starter board. DEVICE jumpers (marked Starter board diagram page ST6225, shown following diagram: ST6225 ST6220 42/53 ST622x Starter User Manual Programming Microcontrollers Select PROG mode using jumpers marked (marked Starter board diagram page 18), shown diagram below: USER PROG Connect Parallel port Starter board spare parallel port your using cable provided with starter kit. Connect your application board connector (marked Starter board diagram page Starter board. Power your Starter board. Epromer program microcontroller that plugged into Starter board. Epromer from Windows 3.x, double-click Epromer icon Tools group. Epromer from Windows click Start, Programs, Tools, then Epromer. instructions operate Epromer, click Help Epromer main window. Note: your application board powered Starter Kit, must connect power supply before start programming. 43/53 Programming Microcontrollers ST622x Starter User Manual 44/53 ST622x Starter User Manual Running Your program Starter Board RUNNING YOUR PROGRAM STARTER BOARD your programs Starter board, using Starter resources: oscillator trimmer buttons Thermistor bridge Heater resistor control circuit Note: only applications Starter board using ST6225 microcontrollers. your application designed another microcontroller, must change port definitions match those ST6225. also your hardware resource connecting connector (see Connecting External Resources Starter Board page 31). your program Starter board: Power down Starter board. Program microcontroller with application want following instructions given Programming Microcontrollers page Make sure that programmed microcontroller plugged into connector, that DEVICE jumpers (marked Starter board diagram page ST6225, shown following diagram: ST6225 ST6220 45/53 Running Your program Starter Board ST622x Starter User Manual Select USER mode using jumpers marked (marked Starter board diagram page shown diagram below: USER PROG Disconnect cable from parallel port (P1) connection, connected Disconnect demonstration program selector removing jumper marked Demonstration Selector circuit marked Starter board diagram page using your hardware resources connected (marked Starter board diagram page 18), disconnect Starter board resources that same pins, following instructions given Connecting External Resources Starter Board page Power Starter board. 46/53 ST622x Starter User Manual Appendix Glossary APPENDIX A:GLOSSARY AST6 AST6 macro-assembler that translates files that written assembler language into either executable files object files. Dual Line, also known Dual Line Package. These abbreviations designate type device package with rows pins thru-hole mounting. EPROM Erasable Programmable Read-Only Memory. non-volatile type memory that erased exposure ultra-violet light source. MCUs that have EPROM easily recognized because package quartz window allow exposure light. EPROM packaged opaque plastic package, called (One-time Programmable) because there expose EPROM light source. EPROMER Epromer microcontroller program Windows that lets view, edit save executable files (Intel) .S19 (Motorola) formats, generated Assembler, Linker Compiler microcontrollers. also enables program executable files into microcontrollers view verify microcontroller's memory contents. Acronym UNIX. Name project developed Free Software Foundation. LST6 family linker. links relocatable objects (assembled source file modules) into single, executable file that loaded into memory. Microcontroller Unit. Otherwise referred "target device" throughout this manual. This core product family products) which Starter designed emulator simulator. general terms, complete computer system, including CPU, memory, clock oscillator single integrated circuit. 47/53 Appendix Glossary ST622x Starter User Manual Time Programmable. Also referred OTPROM (One Time Programmable Read-Only Memory). non-volatile type memory that programmed cannot erased. EPROM that packaged opaque plastic package-it called one-time programmable because there expose EPROM light source. RS-232 Interface interface that enables communicate with pre-programmed ST6225 microcontroller provided with Starter Kit. Starter printed circuit board microcontroller evaluation programming. ability program EPROM part time. Different starter kits available programming different devices. WGDB6 Windows Debugger ST6. This software tool running under Windows. main user interface when operating ST6-HDS2 emulator, part software development tool chain (editor, assembler, linker debugger). WGDB6 supplied CD-ROM with ST6-HDS2 emulator must installed your development 48/53 ST622x Starter User Manual Product Support PRODUCT SUPPORT experience problems with this product need spare parts repair, contact distributor sales office where purchased product: Getting prepared before call Collect following information about product before contacting your distributor: Name company where purchased starter kit. Date purchase. Order Code: Refer side your starterkit box. order code will depend region which ordered (i.e. Continental Europe USA). Serial Number: serial number located label starter board. Target Device: sales type microcontroller using your development. Contact List Note: American Canadian customers seeking technical support US/Canada split territories. According your area, contact following sales office transferred 8-bit microcontroller Field Applications Engineer (FAE). Canada East Coast STMicroelectronics Lexington Corporate Center Maguire Road, Building floor Lexington, 02421 Phone: 781-402-2650 West STMicroelectronics 1300 East Woodfield Road, Suite Schaumburg, 60173 Phone: 847-517-1890 49/53 Product Support ST622x Starter User Manual West coast STMicroelectronics, Inc. 30101 Agoura Court Suite Agoura Hills, 91301 Phone: 818-865-6850 Europe France (33-1) 47407575 Germany (49-89) 460060 U.K. (44-1628) 890800 Asia/Pacific Region Japan (81-3) 3280-4120 Hong-Kong (852) 2861 5700 Sydney (61-2) 9580 3811 Taipei (886-2) 2378-8088 50/53 Index data transmission driver demok25 demonstration programs running demonstration selector. driver oscillator OSCin definition programming microcontrollers.37 programming signals error messages external resources connecting. Raisonance.6 RESET.41 reset button.19 resistance trimmer RS-232 interface.21 fuzzy logic heater control getting assistance microcontrollers programming ST620x ST621x ST622x starter uses starter board hardware simulator block diagram layout limitations.34 resources.15 running programs setting programming.37 starting WGDB6.13 support contact numbers for.49 development information required.49 hardware features hardware simulator in-circuit programming preparing for. Indicators level indication driver temperature control .21, 51/53 Index troubleshooting voltage trimming. WGDB6 starting Windows Windows Windows Windows 52/53 Information furnished believed accurate reliable. However, STMicroelectronics assumes responsibility consequences such information infringement patents other rights third parties which result use. license granted implication otherwise under patent patent rights STMicroelectronics. Specifications mentioned this publication subject change without notice. This publication supersedes replaces information previously supplied. STMicroelectronics products authorized critical components life support devices systems without express written approval STMicroelectronics. logo registered trademark STMicroelectronics. Intel® U.S. registered trademark Intel Corporation. Microsoft®, Windows Windows U.S. registered trademarks Microsoft Corporation. ©2000 STMicroelectronics Rights Reserved. Purchase Components STMicroelectronics conveys license under Philips Patent. Rights these components system granted provided that system conforms Standard Specification defined Philips. STMicroelectronics Group Companies Australia Brazil China Finland France Germany Hong Kong India Italy Japan Malaysia Malta Morocco Singapore Spain Sweden Switzerland United Kingdom U.S.A. Other recent searchesZ89332 - Z89332 Z89332 Datasheet MM1332 - MM1332 MM1332 Datasheet MAX2644 - MAX2644 MAX2644 Datasheet CSM-88191EG - CSM-88191EG CSM-88191EG Datasheet 88101EG - 88101EG 88101EG Datasheet AP1515 - AP1515 AP1515 Datasheet AAT3140 - AAT3140 AAT3140 Datasheet A23L2617 - A23L2617 A23L2617 Datasheet A23L26171 - A23L26171 A23L26171 Datasheet 74AC175 - 74AC175 74AC175 Datasheet 74ACT175 - 74ACT175 74ACT175 Datasheet
Privacy Policy | Disclaimer |