Home
Z51F0811 Evaluation Kit User Manual
Contents
1. AnDIXYS Company S t I D i voor voor Di LL4148 R3 N 49 9K CEMT206S u2 voo M Seat _Fin2_ 28 pwweorreoreiNTI2 ANT2 SEGTSIPTI E O SEG14 AN13 RXD1 SCL1 MISO1 27 Pin22 RDI ri i m EE bin25 55 PWMIO TIO EINTH ANTI SEG16 P12 P20 SEG13 AN14 TXD1 SDA1 MOS 25 pig a5 gt gt TxD m N HOSE Pas 6 BUZO EC1 AN10 SEG17 P13 P21 SEG12 AN15 SCKI fg Pis 91 1 1180 057 97 MOSIZ ANI SEG18 P14 P22ISEG11 SS1 a pini8 sEGI0 i LCD 1 SCK2 Pin28 28 MISOZ AN8 SEG19 P15 P23 SEGI0 717 Pin 17 J J201 1 20 J211 Com Ji Oss Pinzg 28 SCK2IEINT AN7 SEG20 P 16 P24 SEG9 16 Pin16 SEGS 1 poz 2 Noo COM2 19 i2 sEG5 gt so ao SS2 EINT6 ANG SEG21 P17 P25 SEG8 Hrs pe SEG 1 ie Net 1EAF qa prs SEGE 1 2 1 BiRT 81 PWMACB EINTS ANS SEG22 P07 P26 SEG7 H4 Prr SEGE 1 sEcr Po a NC2 1DAGATA I 17 J 551 34 8EG7 3 4 2 4 pin 32 82 PWMACA EINTA AN4 SEG23 P06 P27 SEG6 13 piri3 SEGS SEco pos 5 IB IC IP EF ie isossa 5 6 3 p 3s 37 PWM4BB EINT3 AN3 SEG24 P05 P30 COM7 SEG5 H3 ph i2 SEGT 1 5 jo 5 2B 2C 2P 2D 2G 2A s prs siar 7 8 4 1 5 R88 53 PWM4BA EINT2 AN2 SEG25 P04 P31 COM6 SEG4 4 N SEGA J20 7 7 3B 3C 3P 3EBF 54917 seo s W COM2 J208 8 tbc SDSGISA T3 io 8 SEGIT i M285 25V I 20 9 9 12 Jo SEGI2 eee J2 J20 10 10 NOS n IT ai o
2. Figure 27 Configuring the Flash Options 9 Click OK to exit the Settings dialog 10 From the Options for Target Demo dialog select the Load Application at Startup checkbox as shown in Figure 28 the so that the IDE will download the code upon connection There is no need to select or enter an initialization file IV Load Application at Startup IV Run to main Initialization File Figure 28 Load Application at Startup Settings 11 Click OK to exit the Options for Target Demo dialog 12 From the Project menu select Rebuild All to rebuild all target files UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual zilog Emboddod in Lifa AnDIXYS Company 32 13 Start your debugging session by clicking the Start Stop Debug Session icon as indi cated in Figure 29 A default Windows configuration of the debug session is shown in Figure 30 Figure 29 Beginning a Debug Session File Edit View Project Flash Debug Peripherals Tools SVCS Window Help 3g H g sm e JE is amp ow JAPE e o emma 85 EL e c 0 C Ee E 2 m w x Registers Li Disassembly m Register Value al 103 void init_wt void E 104 I Standard 105 WIMR 0 default disabled no interrupt fwck 2 11 clock source fsub 3 C 0x1DB1 F59D MOV WIMR Ox9D A 106 WIR Ox7F default free run C 0x1D
3. UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual p Note The following buttons in the Keil u Vision IDE are not supported by the Zilog OCD driver m 3 H x To learn more about the full functionality of the Keil u Vision IDE please refer to the Keil Keil u Vision4 IDE documentation 14 From the Debug menu select Run or simply press the F5 key on your Windows key board to run the demo project As a result LEDs D1 D2 and D3 on the Z51F3220 Evaluation Board will blink in sequence 15 To stop code execution select Stop from the Debug menu 16 To stop your debugging session click the Start Stop Debug Session icon p Note Refer to Appendix C on page 45 for a discussion of Stand Alone Flash Programming Using the Keil u Vision IDE HyperTerminal Configuration A communications program such as HyperTerminal can be used on Windows XP systems to view the messages from the Z51F3220 Development Board The following procedure examines how to configure HyperTerminal for the Z51F3220 demo project p Note The HyperTerminal application is not available in Windows Vista and Windows 7 systems If you are using either of these operating systems consider using installing different com munication software such as Tera Term Please refer to the documentation for the particu lar emulation software you use to configure it for communication with the Z51F3220 Development Board 1 In HyperTermin
4. 1 5K 20K R25 4 7K AnDITXYS Company Jn J12 vco T us Sanji vec T po 11 R21 2 20K GND Ele ET pue Sten oc o TPS2051B N VCC 5 hoa ag md 470 BED 13 J14 Schematic Diagrams Z51F3220 Development Kit User Manual zilog Emboddod in Life AnEIIXYS Company 39 Appendix A OCD Driver Installation on Windows Vista Systems The driver programs for the Z8051 On Chip Debugger are copied to the development PC during the software and documentation installation In the following procedure for PCs running Windows Vista 32 and 64 bit operating systems ensure that the target side of the OCD will remain unconnected while you install these drivers 1 Connect the OCD hardware to the USB port of your PC by connecting the A male end of one of the two USB A male to Mini B cables with the development PC s USB port Connect the Mini B end to the OCD device 2 After the PC detects the new hardware it will display the Found New Hardware Wiz ard dialog box shown in Figure 34 Click Locate and install driver software rec ommended Found New Hardware Windows needs to install driver software for your Unknown Device Locate and install driver software recommended Windows will guide you through the process of installing driver software for your device Ask me again later i Windows will ask again the next time you plug in your devi
5. 4 aa CEP mM E Figure 1 The Z51F3220 Development Kit Kit Contents Table 1 lists the contents of the Z51F3220 Development Kit Table 1 Z51F3220000ZCOGG Contents Item Description Quantity Z51F3220 Development Board 1 Z8051 USB On Chip Debugger OCD Z8051 OCD Target Cable 10ckt USB Cable A male to Mini B 28051 OCD Software and Documentation CDROM Oran o m a a D Z51F3220 Development Kit Insert FL0139 UM024306 0912 Introduction Z51F3220 Development Kit User Manual AnLITXYS Company 3 Appendix 2 on page 3 displays an image of the Z51F3220 Development Board LUU LL i i ET V TM MIT IK MINT S b a a ui OOQOOOOooO0QQ LL Figure 2 Z51F3220 Development Board Supported Operating Systems The Z51F3220 Development Board and the Z8051 On Chip Debugger support the follow ing operating systems Microsoft Windows XP Microsoft Windows Vista 32 bit 64 bit Microsoft Windows 7 32 bit 64 bit Z51F3220 Development Board Block Diagram Figure 3 displays a block diagram of the Z51F3220 Development Board UM024306 0912 Introduction Z51F3220 Development Kit User Manual zilog Emboddod in Lifa AnDIXYS Company 4 4x7 LCD Figure 3 Block Diagram of the Z51F3220 Development Board Z51F3220 Development Board Description The Z51F3220 Development Board consists of the following components UM024306 0912 Z
6. N10 ICH7 Family USB Universal Host Controller 27C8 W Intel R N10 ICH7 Family USB Universal Host Controller 27C9 A Intel R N10 ICH7 Family USB Universal Host Controller 27CA W Intel R N10 ICH7 Family USB Universal Host Controller 27CB M Intel R N10 ICH7 Family USB2 Enhanced Host Controller 27CC 8 USB Root Hub A USB Root Hub USB Root Hub i USB Root Hub CG ZLOG 28051 USB OCD Figure 11 Device Manager Dialog Windows 7 UM024306 0912 Install the Z8051 OCD Software and Documentation Z51F3220 Development Kit User Manual 15 FTDI USB to UART Driver Installation An FTDI USB to UART driver is required to allow your PC to communicate through its USB port to the on chip UART of the Z51F3220 MCU Observe the following procedure to perform these connections 1 Ensure that the USB cable is not plugged in to the Z51F3220 Development Board s P1 connector 2 Navigate to the following filepath and double click the CDM20802 setup exe file to begin the driver installation lt Z8051 Installation gt Z8051_ lt version_number gt device drivers FTDI Uart 3 The installation process will begin and you should observe output similar to the fol lowing messages on the screen of your PC 32 bit OS detected lt installation path gt dpinstx86 exe Installation driver FTDI CDM driver installation process completed p Note The above message may appear for a short time but will then disappear from your window T
7. OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT ZILOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION DEVICES OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE The information contained within this document has been verified according to the general principles of electrical and mechanical engineering Z8051 is a trademark or registered trademark of Zilog Inc All other product or service names are the property of their respective owners UM024306 0912 Z51F3220 Development Kit User Manual Zi AnBITXYS company lii Revision History Each instance in the Revision History table below reflects a change to this document from its previous version Revision Date Level Description Page Sep 06 Replaced incorrect screen in Figure 27 31 2012 Sep 05 Updates for Z8051 Installation Software release 2 0 20 26 2012 ad 45 46 Apr 04 Updated for improved usability All 2012 Mar 03 Added a G to end of part number to indicate RoHS compliance added 25 2012 Figure 21 Mar 02 Corrected filepaths in the Build and Run the Z51F3220 Demo Project section 20 2012 Feb 01 Original issue All 2012 UM024306 0912 Revision History Z51F3220 Development Kit User Manual Table of Contents Revision History o eere etd dw SUR HC CR RETO ROS EN Hs ii List OF FISUIGS 5x tetro bp Re bep osos RURSUS UC on Pe Ron Roda d V IE MIU TERR vii Introduction lt ia cen
8. como voc M ihe 1 34 S PWMAAB EINTI AN1 SEG26 PO3 P32 COMB SEG3 H1 Bin tt SEGI VIHR i 3 4 36 PWMAAA TAO EINTO AVREF ANO PO2 P33 COM4 SEG2 9 png SEGI i Rz 37 DSCL T3O PO1 P34 COM3 SEGI Ha ins a i ioe voc 3g DSDA EC3 P00 P35 COM2 SEGO PRF COME i C2 aF 35 VOD P36 COM1 5 Fine como LCD 1 t 1 40 VSS v o P37 COMO He pry a 1ohm 41 XOUT P50 P43 VLCO SSO H4 Phi J20 m d 1 XIN P51 P42 VLC1 SCKO 73 pin3 ar 5 HH v Ju 42 BLNK ECOJEINT amp PS2 P41 VLC2 TXDO SDADIMOSIO PS P39 2 TD0 i 1 ja a az t 44 PWMOO TOO SXIN P53 P40 VLC3 RXDO SCLO MISOO nT amp RxDo Voor TEUK 3 Ja 3 1 Urrent measure Pin 42 EINT10 SXOUT P54 P55 RESETB PoF z Jota 4 1 L 2 1 Re J20 5 5 Ja15 5 r C3 a7pF Ji9 77 J20 6 8 J216 6 1 RESET J20 7 J21 7 3s Sl FERME 49 9K J20 8 8 Js 8 J20 8 g J21 9 9 Tp J20 10 10 J2110 10 L ieee R9 us 1 1x10 1x10 mcm PROTOTYPE AREA 1X 1 GRID 4 16 r toti n E zh cH n dl vo PROTOI I s uH 32 768KHZ 18 ig 9 18 12 7 tn E as RH 95 RIO 1 18 T 12 wH N 37 33 ver 7 1 be 6 5 9 Pin 23 Pin 12 Pin1 O ohm 18 9 2 4 spare Pin 24 1 Pin 13 1 Pin2 1 D 4 I 2 2 2 1 GN 3 u4 Pin 25 Pin 14 bin 3 i e 3 7 Pin 26 3 Pin 15 3 Pind 3 1 15 0 ja 117 aspe Pin 27 ja Pin 16 H Pin 5 A J8 e 2 15 Pin 28 Pin 17 Pin 6 Bae d EM Pin 29 H Pin 18 5 Pin 7 5 4 13 Pin 30 Pin 19 Ping voot
9. edition exists please visit the Zilog website at http www zilog com UM024306 0912 Customer Support
10. on Windows Vista Systems Z51F3220 Development Kit User Manual zilog Embeddocd In Lifa AnBIXYSCompany 42 Appendix B OCD Driver Installation on Windows XP Systems The driver programs for the Z8051 On Chip Debugger are copied during the software and documentation installation In the following procedure for Windows XP systems ensure that the target side of the OCD will remain unconnected while you install these drivers 1 Connect the OCD hardware to the USB port of your PC by connecting the A Male end of one of the two USB A male to Mini B cables with the host PC s USB port and connect the Mini B end to the OCD device 2 After the PC detects the new hardware it will display the Found New Hardware Wiz ard dialog box shown in Figure 37 Select Install from a list or specific location Advanced then click Next Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for ZILOG 28051 USB OCD 9 If your hardware came with an installation CD or floppy disk insert it now What do you wantthe wizard to do Install the software automatically Recommended Figure 37 The Found New Hardware Wizard Welcome Screen UM024306 0912 OCD Driver Installation on Windows XP Systems Z51F3220 Development Kit User Manual if i hog Embeddwd in Life AnDITXYS Company 43 3 The next dialog box shown in Figure 38 prompts you to enter a path or navigate to t
11. s Browse Screen UM024306 0912 OCD Driver Installation on Windows XP Systems Z51F3220 Development Kit 4 When Windows prompts you whether to continue the installation or stop click the Continue Anyway button and wait until the installation is completed Windows may prompt you more than once When the installation is complete click Finish UM024306 0912 OCD Driver Installation on Windows XP Systems Z51F3220 Development Kit User Manual zilog AnBIXYS Company 45 Appendix C Stand Alone Flash Programming Using the Keil p Vision IDE Observe the following procedure to program Flash memory without debugging 1 From the Project menu open the Options for Target your project and click the Utilities tab In the Use Target Driver for Flash Programming drop down menu within the Configure Flash Menu Command pane ensure that Zilog 28051 Target Driver is selected as indicated in Figure 39 td Options for Target Demo mem Device Target Output Listing User C51 A51 BL51 Locate BL51 Misc Debug Utilities Configure Flash Menu Command Use Target Driverfor Flash Programming Zilog Z8051 Target Driver Settings Update Target before Debugaing Init File C Use Extemal Tool for Flash Programming Command af Arguments r Figure 39 Selecting A Target Driver For Flash Programming 2 Click the Settings button to change any additional Flash options The Settings dialog will ap
12. software anyway Only install driver software obtained from your manufacturer s website or disc Unsigned software from other sources may harm your computer or steal information v See details Figure 7 Can t Verify Publisher Dialog Windows Vista UM024306 0912 Install the Z8051 OCD Software and Documentation Z51F3220 Development Kit User Manual zilog Embaddod in Lifa AnDIXYS Company 1 1 5 When the installation is complete the screen shown in Figure 8 will appear Click Close to exit the OCD driver installation The software for this device has been successfully installed Windows has finished installing the driver software for this device Zilog Z8051 USB OCD Figure 8 Successfully Installed Dialog Windows Vista p Note On some installations the Found New Hardware screen shown in Figure 8 may also dis play the text string Zilog 28051 USB OCD No Firmware This occurrence is normal and can be disregarded UM024306 0912 Install the 28051 OCD Software and Documentation Z51F3220 Development Kit User Manual zilog Ermbeddod in Life AnEILXYS Company 12 5 Device 1a File Action View Help age bd v Cl x i amp w mHr e 4 um bpak b7yc amp nl b S Batteries p 8 Bluetooth Radios gt 4M Computer gt Disk drives 85 Display adapters i DVD CD ROM drives Ug Human Interface Devices Cg IDE ATA ATAPI controllers gi IEEE 1284 4 compatible printer gt
13. to build and run the Z51F3220 demo project p Note If you plan to use the Keil u Vision IDE please skip to the the Using the Keil u Vision IDE on a Demo Project section on page 26 1 Browse to the following location and double click the build sdcc bat batch file to build the project lt Z8051 Installation gt Z8051 lt version_number gt samples Z51F3220 Demo build_sdcc bat p Note Refer to the Z8051 Tools Product User Guide PUG0033 for additional information about these project files and Small Device C Compiler SDCC development tools 2 When the build is complete the command window will prompt the user to press any key to continue Proceed by pressing any key on your keyboard as a result a hex file for the demo will be created in the following path lt Z8051 Installation gt Z8051_ lt version_number gt samples Z51F3220 Demo demo hex 3 Set up the OCD and Development Board If you have not already configured these items please return to the Configure the Z8051 OCD and Z51F3220 Development Board section on page 17 4 Run the Z8051 OCD software From the Start menu navigate to All Programs Zilog Z8051 Software and Documentation lt version_number gt Zilog Z8051 OCD lt version number gt Once launched the program will display Connected as shown in Figure 16 p Note If you encounter a message that says Disconnected return to the Configure the Z8051 OCD and Z51F3220 Development Board section on page 17 to c
14. 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 UM024306 0912 The Z51F3220 Development Kit 0 0 cece eee eee eee 2 Z51F3220 Development Board 0 cece ee eee 3 Block Diagram of the Z51F3220 Development Board 4 Z51F3220 Development Board Highlighted Components 5 Install Device Driver Dialog Windows 7 0 00 eee eee 8 Browse For Driver Dialog Windows Vista 0 0 0s eee eee 9 Can t Verify Publisher Dialog Windows Vista esses 10 Successfully Installed Dialog Windows Vista 0 5 11 Unsuccessful Installation Scenario llle 12 Unsuccessful Installation Scenario 2 20 0 0 eee 13 Device Manager Dialog Windows 7 000 c eee eee eee eee 14 A Successful USB to UART Driver Installation 16 Connecting the 10 Circuit Cable to the Board 0 17 Connecting the USB Mini B Cable to the Board 18 An Example Setup 0 0 0 eee ccc eee eee eens 19 Initial OCD Screen ooo 21 Object File Dialog 122516 exe a9 ROA Hasa Alden 22 Configuration Dialog olossa ee 23 Configuration Is Changed Dialog 0 0 0 0 eee eee eee 24 A Typical On Chip Debugger Window 00 0 0 e eee ee eee 24 A Typical
15. 51F3220 U2 44 pin MQFP chip 3 LEDs Green D2 Red D3 and Yellow D4 connected to the GPIO pins of the Z51F3220 MCU 1 green LED to indicate USB power D5 red LED to indicate an overcurrent condition D6 5 pushbuttons SWI RESET SW2 SW5 connected to the GPIO pins of the Z51F3220 MCU USB connector P1 OCD connector J1 USB to UART interface U7 Introduction Z51F3220 Development Kit User Manual zilog es 5 USB interface providing power and communication to the Board through adjustable LDO US Power supply level that can be adjusted with potentiometer R22 Overcurrent protection circuit on the Board U6 and D6 External source of reference voltage 2 5 V for the on chip ADC VR1 MCU current consumption measurement resistor R7 with test points J4 and J5 e Buzzer Ul 4 digit 7 segment LCD panel Test points headers and prototype area with two footprints NT ovis VR1 On Chip ADC an oltage Divider USB to UART IC OCD Connector J1 Z51F3220 MCU COPYRIGHT zildg An IXYS Gompany Ttt 751F3220 Deve opment Boa d D IE LINE DTI Py Le Ke Ke Xs KSS KS KSKS KKT y JJ ver by o LCD1 826itm ASY AM C13 a r LLEELEEEEEEEPL 000000 oo oR eR ohenenensie JAITITTITIT O O O O T O oo0oo0o0o0 Ojo O USB Power LED D5 Overcurrent LED D6 Figure 4 Z51F3220 Development Board Highlighted Components UM024306 0912 Introduction Z51F3220 Development Ki
16. B3 759E7F MOV WIR Ox9E 0x7F 107 0x00 298 Ox0D 109 n 110 I Ox6F 0D 111 Function WI Isr OkFF 112 Description Watch Timer service interrupt 113 C 0x1DB6 22 RET 1NR nid aenvam mait fnr enmmnlarinni T 3 8 Basic Interval T Buzzer Clock 99 3 Fash EEPROM 100 Function init wt tac 101 Description Initialize Watch Timer Resource Intemupts 102 J Port 0 103 void init wt void E E Port 1 104 Et g Pot 2 85 105 WIMR 0 default disabled no interrupt fwck 2 11 clock source fsub Port 3 106 WIR Ox7F default free run Power 107 E SPI 108 Timer 0 109 E Timer 1 110 Timer 2 111 Function WI Isr E Timer 3 112 Description Watch Timer service interrupt a Timer 4 4E 223 Einem aaa aid WIT Taw teens aN ieece9 7 wrr mcm li Project S Registers lt amm mann NNNM 2 Command n Call Stack Locals ai Load C Program Files ZiLOG Z8051_1 1 samples Z51F0811 Demo Kei Name Location Value Type Flash Verify Done 7402 bytes verified _ 8 UGETCH Cd DAL am x N 9 ch 0x20 char a MAIN C 125D ASM ASSIGN BreakDisable BreakEnable BreakKill BreakList BreakSet Call Stack Locals E Memory 1 Zilog Z8051 Target Driver th 0 00000000 sec CAP NUM SCRL OVR Figure 30 A Default Debug Session
17. On Chip Debugger Window with Child Windows Open 25 Reset amp Go Toolbar Icon 0 eee ee 25 Selecting the Demo Project File 0 0 0 eee eee 27 Selecting the Target ooo eee 28 Selecting the Target Driver soon nn 29 Configuring the Debug Options 0 0 0 eee eee eee ee 30 Configuring the Flash Options ooo N 31 Load Application at Startup Settings oloon nn eee eee 31 Beginning a Debug Session oossoo eee eee nnen 32 A Default Debug Session soon ees 32 List of Figures Figure 31 Figure 32 Figure 33 Figure 34 Figure 35 Figure 36 Figure 37 Figure 38 Figure 39 Figure 40 Figure 41 UM024306 0912 Z51F3220 Development Kit User Manual zil Demo Program Menu in HyperTerminal 004 34 Z51F3220 Development Board 1 of 2 oloon nnen 37 Z51F3220 Development Board 2 of 2 0 cee ee ee 38 Found New Hardware Dialog Windows Vista 0 5 39 Install Device Driver Dialog Windows Vista 00000 40 Couldn t Find Driver Dialog Windows Vista 000 41 The Found New Hardware Wizard Welcome Screen 42 The Found New Hardware Wizard s Browse Screen 43 Selecting A Target Driver For Flash Programming 45 Configuring Additional Flash Options 00 0 0 nnn 46 The Keil IDE Flash Menu eese III 46 List o
18. al select the COM port assigned to the USB to UART interface cable that is connected to the P1 connector on the Development Board UMO024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual AnLITXYS Company 34 p Note This COM port can be determined from the Device Manager as described in the the FTDI USB to UART Driver Installation section on page 15 2 Configure this port to reflect the following settings 9600bps 8 data bits No parity 1 stop bit No flow control 3 Click the Call button to connect to the Z51F3220 Board Upon connection you should be able to see the Demo program menu shown in Figure 31 Monitor 9600 Com2 HyperTerminal File Edit View Call Transfer Help 251F3220 Development Kit Demo Reset Programmed by OCD or ISP S W Change LEDs Direction Reserved Display SW3 is pressed Toggle LCD display patterns Toggle Buzzer Default Frequency Internal 8MHZ 1 Change LEDs direction by hitting 1 or pressing SW2 2 LCD display 3 Buzzer Controls 4 Clock Switching Select gt gt _ Connected 0 01 14 ANSIA l soo s Nt e s 104 e Figure 31 Demo Program Menu in HyperTerminal UMO024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual zi At this point you have successfully run the Z51F3220 demo project but you are welcome to continue evaluating the
19. ay be 1 0 3 Follow the on screen instructions to complete the OCD software installation Z8051 OCD Driver Installation The driver programs for the Z8051 On Chip Debugger are copied during the software and documentation installation In the following procedure for PCs running the Windows 7 32 and 64 bit operating systems ensure that the target side of the OCD will remain uncon nected while you install these drivers p Note If you are running Windows Vista see Appendix A on page 39 to install your device driv ers If you are running Windows XP see Appendix B on page 42 UM024306 0912 Install the 28051 OCD Software and Documentation Z51F3220 Development Kit User Manual kpl zitog Emberkiod in Lifa AnDIXYS Company 8 1 Connect the OCD hardware to the USB port of your PC by connecting the A male end of one of the two USB A male to Mini B cables with the host PC s USB port Connect the Mini B end to the OCD device 2 After the PC detects the new hardware it will display the Installing device driver soft ware dialog shown in Figure 5 Installing device driver software Click here for status Figure 5 Install Device Driver Dialog Windows 7 IMPORTANT NOTE If you should encounter the scenarios presented in Figures 9 or 10 right click your mouse on ZILOG OCD I F highlighted in Figure 9 or Unknown device highlighted in Figure 10 and select Update Driver Software 3 Select Browse my computer f
20. ce or log on i Don t show this message again for this device Your device will not function until you install driver software Figure 34 Found New Hardware Dialog Windows Vista 3 Depending on your development PC s User Account Control settings Windows may UM024306 0912 ask for permission to continue the installation Click Continue OCD Driver Installation on Windows Vista Systems Z51F3220 Development Kit User Manual zilog Embaddod in Lifa AnDIXYS Company 40 4 When the Insert the Disc dialog appears as shown in Figure 35 select don t have the disc Show me other options Click the Next button to display the dialog that follows which is shown in Figure 36 Insert the disc that came with your ZILOG OCD I F If you have the disc that came with your device insert it now Windows will automatically search the disc for driver software Figure 35 Install Device Driver Dialog Windows Vista UM024306 0912 OCD Driver Installation on Windows Vista Systems Z51F3220 Development Kit User Manual zilog Emboddod in Lifa AnEIIXYS Company 41 i gt Check for a solution Windows will check to see if there are steps you can take to get your device working Browse my computer for driver software advanced Locate and install driver software manually Figure 36 Couldn t Find Driver Dialog Windows Vista 5 Return to page 8 and follow Steps 3 through 6 UM024306 0912 OCD Driver Installation
21. demo in HyperTerminal For additional information about how to create edit run and debug this project please see the Z8051 Tools Product User Guide PUG0033 and or the Z8051 On Chip Debugger and In System Programmer User Man ual UM0240 p Note Turn off the power by removing the USB cable from the P1 connector on the Development Board UMO024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual 36 Sample Projects and Documentation A number of sample projects are included on the CD that ships with the Z51F3220 Devel opment Kit and their locations listed in Table 3 will be accessible upon installation Table 3 Z51F3220 Development Kit Sample Projects Description Location Demo samples Z51F3220 Demo Led Blink samples Z51F3220 Led_Blink samples Z51F3220 Led_Blink_Asm A number of Z8051 related documents are included in the Z51F3220 Development Kit and their locations listed in Table 4 will be accessible upon installation You can also find current versions of each of these documents on the Zilog website Table 4 Z51F3220 Development Kit Documentation Description Document Location Z51F0410 Product Specification PS0295 Documentation Chip Documentation Z51F0811 Product Specification PS0296 Documentation Chip Documentation Z51F3220 Product Specification PS0299 Documentation Chip Documentation Z51F3221 Product Specification PS0300 Docu
22. ed dialog A typical OCD display if child windows are open is shown in Figure 19 p Note Please disregard the instructions stated in the Configuration Is Changed dialog and pro ceed to Step 9 UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual ilog BYS company 24 MCS51_dbg PER m Please do OSS jon i Figure 19 Configuration Is Changed Dialog 9 Click OK to open the On Chip Debugger s main window A typical OCD display is shown in Figure 20 Figure 21 shows an OCD window with child windows open Connected Ji Tus S154 s b E si MP Re vis cu gp E Gi d W FOSC count 0 005 126 230 318 Figure 20 A Typical On Chip Debugger Window UM024306 0912 Build and Run the Z51F3220 Demo Project 25 User Manual AnDTXYS Company Z51F3220 Development Ki E S 5 A 8 ci E A saa 8 S 5 UI Q E o S o 5 o 3 o 3 3 k E D sihseteese O 5 EE sssteces x A REEPETPEETEEETEE eekezes S NsssengessasassaN es3saksss38k2a82 e scronsqusRu2u222 m sasea Genes 25353355323 2 8 ze5223527219202583 8838882885853227 JN Z932853 422555t57 888858885835 25355 1 E 23922255 2282328533821221 i SRRMNSIKI S252222532t k KI TITIITS TTY23RKSNSKRSSTI Tosrskasruvs Boetoesoe Baan ee ste Z8222875222252 42883 aa2b 2230233 58358288 TSRKRAS2ESSEI 23742338 irs D4 on the Z51F3220 Board will blink i
23. ematic diagrams of the Z51F3220 Development Board are presented on pages 37 and 38 of this document The physical dimensions of the Board are 4 01 x 2 50 101 8mm x 63 5 mm UM024306 0912 Introduction Z51F3220 Development Kit User Manual ZItog AnDIXYS Comp ny 7 Install the Z8051 OCD Software and Documentation The Z8051 On Chip Debugger OCD interface is the interface by which your PC will communicate with the Z51F3220 MCU to download and execute code In addition to the OCD software such as development tools and sample applications will be installed p Note If you have already installed the Z8051 software and documentation from the CD ROM following the procedure on the paper insert in your kit FL0139 skip this section and pro ceed to the Z8051 OCD Driver Installation section below Observe the following procedure to install the Z8051 On Chip Debugger software and documentation on your computer 1 Ensure that the OCD interface hardware is not connected to your PC 2 Insert the Z8051 Software and Documentation CD into your computer s CD ROM drive The setup program launches automatically If the setup program does not launch automatically open Windows Explorer browse to your CD ROM drive and double click the file labeled 28051 version number gt exe p Note In this filename lt version number gt refers to the version number of the OCD Software and Documentation release For example this version number m
24. f Figures vi Z51F3220 Development Kit User Manual vii List of Tables Table 1 Z51F3220000ZCOGG Contents 0 0 nnen 2 Table 2 Default Jumper Settings 0 0 0 eee eh 6 Table 3 Z51F3220 Development Kit Sample Projects 004 36 Table 4 Z51F3220 Development Kit Documentation 04 36 UM024306 0912 List of Tables Z51F3220 Development Kit User Manual Introduction This manual describes how to set up Zilog s Z51F3220 Development Kit Zilog part num ber Z51F3220000ZCOG and use it to evaluate your Z8051 based designs and applica tions The Kit features a development board consisting of five LEDs five pushbuttons a buzzer four 7 segment LCD digits port pin headers and a UART to USB port The Board fea tures the Z51F3220 MCU in a 44 pin MQFP package plus a DBG connector to connect the Board to a host development PC using the Z8051 USB On Chip Debugger OCD cable For more details about the Z51F3220 MCU please refer to the Z51F3220 Product Specification PS0299 This document guides you through the following tasks Install the Z8051 OCD Software and Documentation see page 7 Configure the Z8051 OCD and Z51F3220 Development Board see page 17 Build and Run the Z51F3220 Demo Project see page 20 Figure 1 displays an image of the Z51F3220 Development Kit UM024306 0912 Introduction Z51F3220 Development Kit User Manual N m
25. fp IEEE 1284 4 devices gt IEEE 1394 Bus host controllers Imaging devices p Keyboards T n Mice and other pointing devices U Monitors gt a Network adapters 4 jp Other devices jy 7106 OCD VF gt E Portable Devices f Ports COM amp LPT ARD DESKJET 990C v JO Processors p Sound video and game controllers 00 0 0000 0000004 S C034 lela l System devices Universal Serial Bus controllers Generic USB Hub Generic USB Hub Generic USB Hub Generic USB Hub Generic USB Hub HP Color LaserJet 2840 EWS Intel R 5 Series 3400 Series Chipset Family USB Enhanced Host Controller 3B34 Intel R 5 Series 3400 Series Chipset Family USB Enhanced Host Controller 3B3C USB Composite Device USB Composite Device USB Composite Device USB Composite Device Device driver software was not successfully installed Click here for details B Figure 9 Unsuccessful Installation Scenario 1 UM024306 0912 Install the Z8051 OCD Software and Documentation Z51F3220 Development Kit User Manual AnEIIXYS Company 1 3 gt 9 Bluetooth Radios 48 Computer b e Disk drives 85 Display adapters b DVD CD ROM drives b Ay Human Interface Devices b g IDE ATA ATAPI controllers p dui IEEE 1284 4 compatible printer gt gp IEEE 1284 4 devices G IEEE1394 Bus host controllers b 23 Imaging devices b lt Keyboards R Mice and other pointing devices b amp Monitors gt
26. he directory in which the inf file was installed Depending on the type of computer you use 32 bit or 64 bit use the Browse button to navigate to one of the following paths and click the Next button leaving all other selections at their default settings On 22 bit machines use the following path 78051 Installation2 78051 version number gt device drivers OCD USB x32 On 64 bit machines use the following path 78051 Installation2V78051 version number device drivers OCD USB x64 p Note On some installations the Found New Hardware screen shown in Figure 37 may also dis play the text string Zilog 28051 USB OCD No Firmware This occurrence is normal and can be disregarded Found New Hardware Wizard Please choose your search and installation options 23 SS e Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed Search removable media floppy CD ROM v Include this location in the search CAProgram Files ZiLOG Z8051_1 0 device drivers OCD L w Browse C Don tsearch will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware lt Back Next gt Cancel Figure 38 The Found New Hardware Wizard
27. hee ea he ea eae kisan bee E UT RE Kursk bb aer dre LU de 1 Kit Contents sd e Say a hae ee eee rg ee ae VERE TN Tapes 2 Supported Operating Systems 20 olossa nnen 3 Z51F3220 Development Board Block Diagram 0 0 0 0 0 eee eee 3 Z51F3220 Development Board Description 00 c eee eee 4 Install the Z8051 OCD Software and Documentation 000000000 7 Z8051 OCD Driver Installation 0 0 son tees 7 FTDI USB to UART Driver Installation 0 0 0 0 A 15 Configure the Z8051 OCD and Z51F3220 Development Board 17 Build and Run the Z51F3220 Demo Project lees 20 Using the Keil u Vision IDE on a Demo Project lesse eese 26 HyperTerminal Configuration lssesee Ih 33 Sample Projects and Documentation sos 36 Schematic Diagrams cuisses mene elk ek eee RA ee EA hae ee ed Rec ad 37 Appendix A OCD Driver Installation on Windows Vista Systems 39 Appendix B OCD Driver Installation on Windows XP Systems 42 Appendix C Stand Alone Flash Programming Using the Keil u Vision IDE 45 Customer SUppOtt 2 des tee ear adesse ER Ree e Ur Ra e ee os ae 47 UM024306 0912 Table of Contents Z51F3220 Development Kit User Manual List of Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure
28. hip Flash Memory 256 Bytes IRAM 768 Bytes XRAM Operating Frequency 0 4 16 MHz Operating Voltage 1 8V 5 5V 16 MHz RC Oscillator Basic Interval Timer Figure 24 Selecting the Target 6 After selecting the target click the Debug tab and select the Zilog Z8051 Target Driver from the Use drop down menu as highlighted in Figure 25 UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual zilog Embaddod in Lifa AnEIIXYS Company 29 _ Settings IV Load Application at Startup M Run to maing I Load Application at Startup M Run to main Initialization File Initialization File E Edi EN Edit Restore Debug Session Settings Restore Debug Session Settings IV Breakpoints IV Toolbox I Breakpoints I Toolbox IV Watch Windows amp Performance Analyzer Watch Windows Limit Speed to Real Time M Memory Display M Memory Display CPU DLL Driver DLL Parameter s805 1 DLL Bare 58051 DLL m8051EW Dialog DLL Paramet Dialog DLL Parameter DCore 51 DLL STE Figure 25 Selecting the Target Driver 7 Click the Settings button located to the right of this drop down menu to configure your Debug and Flash options The Settings dialog is displayed with the Debug Options tab appearing by default as shown in Figure 26 UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual zilog Embedded in Lifa A
29. his occurrence is normal 4 When the installation is complete plug in the Mini B connector of the second USB cable into the Board and the larger A connector into the USB port of your PC Refer to Figure 15 on page 19 for guidance 5 Ifthe driver installation was successful the Ports COM amp LPT section of the Device Manager will display USB Serial Port COMx or similar message as highlighted in Figure 12 UM024306 0912 Install the Z8051 OCD Software and Documentation Z51F3220 Development Kit User Manual F Device Manager Figure 12 A Successful USB to UART Driver Installation p Note To launch the Device Manager on Windows 7 systems launch the Start menu enter device manager in the Search programs and files field and press the Enter key To open the Device manager on earlier Windows systems navigate via the following path Start Control Panel System Hardware Device Manager Ports COM amp LPT UM024306 0912 Install the 28051 OCD Software and Documentation Z51F3220 Development Kit User Manual AnBIXYS Company 1 7 Configure the Z8051 OCD and Z51F3220 Development Board Observe the following procedure to set up and configure the Z8051 On Chip Debugger and the Z51F3220 Board AN Caution Steps number 1 to 4 present the power up sequence Carefully follow these steps to avoid encountering an improper connection or disconnection 1 Connect the Z8051 On Chip Debugger OCD to the h
30. i Network adapters Portable Devices R Ports COM amp LPT b E Processors b a Sound video and game controllers p qi System devices 4 4 Universal Serial Bus controllers Generic USB Hub e Generic USB Hub Generic USB Hub Generic USB Hub HP Color LaserJet 2840 EWS 9 Intel R 5 Series 3400 Series Chipset Family USB Enhanced Host Controller 3B34 Intel R 5 Series 3400 Series Chipset Family USB Enhanced Host Controller 3B3C be USB Composite Device USB Composite Device USB Composite Device USB Composite Device E USB Mass Storage Device USB Root Hub USB Root Hub Figure 10 Unsuccessful Installation Scenario 2 UM024306 0912 Install the Z8051 OCD Software and Documentation Z51F3220 Development Kit User Manual zilog Embecddod in Lifa AnEIIXYS Company 14 6 If Zilog ZS051 USB OCD appears in the Device Manager as highlighted in Figure 11 the OCD driver software has been successfully installed 3 Device Manager File Action View Hep m JoneeSebastian gt 4M Computer p Disk drives gt M Display adapters p d DVD CD ROM drives gt Egj IDE ATA ATAPI controllers b lt 2 Keyboards i A Mice and other pointing devices Ai Monitors gt EP Network adapters a IF Ports COM amp LPT LA Communications Port COMI b D Processors p Sound video and game controllers p 4M System devices a Universal Serial Bus controllers W Intel R
31. mentation Chip Documentation Z51F6412 Product Specification PS0303 Documentation Chip_Documentation Z51F0410 Product Brief PB0237 Documentation Chip Documentation Z51F3220 Product Brief PB0238 Documentation Chip Documentation Z51F3220 Product Brief PB0239 Documentation Chip Documentation Z51F3221 Product Brief PB0240 Documentation Chip Documentation Z51F6412 Product Brief PB0241 Documentation Chip Documentation Z8051 OCD and ISP User Manual UM0240 Documentation Tools Documentation Z51F0811 Evaluation Kit User Manual UM0242 Documentation Tools_ Documentation Z51F3220 Development Kit User Manual UM0243 Documentation Tools Documentation Z8051 Tools Product User Guide PUGOOSS Documentation Tools Documentation UM024306 0912 Sample Projects and Documentation Z51F3220 Development Kit User Manual zilog Embaddod in Lifa
32. menu select Open Project and navigate to the following filepath Installation directory gt Z8051_ lt version gt samples Z51F3220 Demo 3 Select the Demo uvproj file and click Open see Figure 23 UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual zilog Embaddod in Lifa AnDIXYS Company 27 EJ Select Project File c KE a ETICCRRNNENNNS Organize v New folder 4p ZB051 20 Jl bin P device drivers documentation J include di samples Jp Z51F0811 J Z51F3220 p common d Demo J Led Blink Jl Led Blink Asi J ZARA RE Wiraler Demo Date modified 8 28 2012 12 40 PM Date created 8 31 2012 6 57 AM uVisiond Project Size 14 6 KB Figure 23 Selecting the Demo Project File 4 Return to the Project menu and select Options for Target Demo 5 In the Options for Target Demo dialog that appears click the Device tab and ensure that your target is properly selected for your project as illustrated in Figure 24 UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual zilog Embaddod in Lifa AnEIIXYS Company 28 Device Target Output Listing User C51 A51 BL51 Locate BL51 Misc Debug Utiities Database Ziog Vendor Zilog Device Z51F3220 Use Extended Linker LX51 instead of BL51 use Extended Assembler AX51 Instead nhAET Performance 8 Bit CISC Core 2 clocks per cycle 32KB On C
33. n DOITXYS Company Settings as samat s s I Debug Options Rash Options I Peripheral continous running I Reset at Main Figure 26 Configuring the Debug Options p Notes When configuring the appropriate Debug option be aware of the following stipulations Checking the Peripheral continues running option means that the timers used in your project will run while the processor is stopped by the debugger The Reset at Main option will only work if you have a main file in your project oth erwise you should deselect this option 8 Click the Flash Options tab The Flash Options Settings dialog will appear as shown in Figure 27 To select the proper options for Flash programming refer to the Z51F3220 Product Specification PS0299 UMO024306 0912 Build and Run the Z51F3220 Demo Project 30 Z51F3220 Development Kit User Manual zilog Embaddod in Lifa AnEIIXYS Company 31 Debug Options Flash Options Operations Configuration Options Ln User ISP code area PP Jana eee Lack code area fV 3 8KB amp c100 OxFFF M Verify After Programming Enable user ISP area 768B 100 0x3FF Enable Reset input Wee pom qm lt BC 0000 00 00 00 22 00 37 00 00 0008 00 00 00 00 00 00 00 00 0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
34. n sequence and the LCD panel will display the 10 Click the Reset amp Go toolbar icon shown in Figure 22 As aresult LEDs current voltage applied to the Board dows shown in Figure 21 do not need to be opened Figure 21 A Typical On Chip Debugger Window w Use the View menu to open the child windows gt Note Build and Run the Z51F3220 Demo Project Figure 22 Reset amp Go Toolbar Icon UM024306 0912 Z51F3220 Development Kit User Manual p Note Similar projects that you can use as references are listed in Table 3 on page 36 Using the Keil p Vision IDE on a Demo Project Zilog s On Chip Debugger hardware now fully supports the Keil u Vision IDE Our target driver is seamlessly integrated with the Keil debugger allowing Keil C51 users to work within the u Vision4 environment without switching between the Keil compiler and Zilog s external OCD software In the demo project example that follows the Z51F3220 MCU related project is referenced as Demo p Notes This document refers to the Keil p Vision IDE V4 53 0 6 PK51 Prof Developers Kit or later Refer to the Z8051 Tools Product User Guide PUG0033 for additional information about these project files and debugging with the Keil u Vision IDE and Zilog On Chip Debugger Debugger Configuration Observe the following procedure to build and run a Z51F3220 demonstration project using the Keil p Vision IDE 1 Start the Keil u Vsion4 IDE 2 From the Project
35. onfigure the proper power up seguence If the problem persists Zilog recommends that you review the Z8051 OCD Driver Installation and FTDI USB to UART Driver Installation sections UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual ilog Embecdidocd In Lifa AnEIIXYS Company 21 ZILOG 28051 OCD Debugger Eie Emulation BreckCongurs view Window amr Figure 16 Initial OCD Screen p Note For a free download of the latest version of the OCD software visit the Zilog website and navigate via the Tools and Software menu to Software Downloads 5 In the Debugger window select Load Hex from the File menu to display the Object File dialog which is shown in Figure 17 UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual zilog Embeddod in Lifa ANEIIXYS Company 22 Object file dialog uu vu uu vu ovu oo va vv s Figure 17 Object File Dialog 6 In the Object File dialog browse to the hex file that you created in Step 2 and click Open 7 Clickthe Download button to open the Configuration dialog box shown in Figure 18 UM024306 0912 Build and Run the Z51F3220 Demo Project Z51F3220 Development Kit User Manual zilog Embeckiod in Lifa ANEIIXYS Company 23 Configuration dialog Figure 18 Configuration Dialog 8 Select Enable Reset input and click the Write button to open the Configuration Is Chang
36. or driver software advanced to display the dialog shown in Figure 6 which prompts you to key in or browse for the location of the inf file Depending on the type of computer you use 32 bit or 64 bit use the Browse button to navigate to one of the following paths then click the Next button On 32 bit machines use the following path 78051 Installation278051 version number device drivers OCD USB x32 On 64 bit machines use the following path 28051 Installation2V78051 version number device drivers OCD USB x64 UM024306 0912 Install the Z8051 OCD Software and Documentation Z51F3220 Development Kit User Manual Browse for driver software on your computer Search for driver software in this location C Program Files Zilog Z8051_1 0 device drivers OCD USB x32 Include subfolders Figure 6 Browse For Driver Dialog Windows Vista UM024306 0912 Install the Z8051 OCD Software and Documentation Z51F3220 Development Kit User Manual zilog Embaddod in Lifa AnDIXYS Company 10 4 When Windows prompts you whether to install or not install as shown in Figure 7 click Install this driver software anyway and wait until the installation is completed Windows may prompt you more than once amp Windows can t verify the publisher of this driver software E Don t install this driver software You should check your manufacturer s website for updated driver software for your device Install this driver
37. ost PC s USB port 2 Connect one end of the 10 circuit cable to the Z8051 OCD 3 Connect the other end of the 10 circuit cable connector to the Z51F3220 Board s J1 connector Pin 1 of the cable connector is indicated by a red stripe as shown in Figure 13 UL TII Figure 13 Connecting the 10 Circuit Cable to the Board UM024306 0912 Configure the 28051 OCD and Z51F3220 Development Z51F3220 Development Kit User Manual zilog Embaddod in Lifa AnDIXYS Company 1 8 4 Using the second USB to Mini B cable connect the standard USB end to the host PC s USB port 5 Connect the other end of this second Mini B cable to the Z51F3220 Board s P1 con nector to apply power to the Board Note that the green LED D5 is ON see Figure 14 Figure 14 Connecting the USB Mini B Cable to the Board p Note In the event that you later remove the LCD panel from the Board observe its orientation in Figure 14 The panel s small plastic notch should be located in the position indicated by the red sguare Figure 15 shows an example of a completed hardware and software setup UM024306 0912 Configure the 28051 OCD and Z51F3220 Development Z51F3220 Development Kit User Manual ilog seinem 19 Figure 15 An Example Setup UM024306 0912 Configure the 28051 OCD and Z51F3220 Development Z51F3220 Development Kit User Manual ZItog pntiievEcompery 20 Build and Run the 251F3220 Demo Project Observe the following procedure
38. pear as shown in Figure 40 UM024306 0912 Stand Alone Flash Programming Using the Keil Vision Z51F3220 Development Kit User Manual zilog Embaddod in Lifa AnDIXYS Company 46 Boot area M 256B 0100 01FF 768B 0100 03FF 1 7KB 0100 07FF 3 8KB 0100 OFFF Enable HARD lock Figure 40 Configuring Additional Flash Options 3 After you have selected your Flash options click OK to exit the Flash Options dia log 4 Click OK to exit the Options For Target Demo dialog From the Flash menu of the Keil IDE see Figure 41 select either of the following options Select Download to program Flash memory with the current project Select Erase to perform a mass erase of internal Flash memory Figure 41 The Keil IDE Flash Menu UM024306 0912 Stand Alone Flash Programming Using the Keil Vision Z51F3220 Development Kit User Manual Customer Support To share comments get your technical questions answered or report issues you may be experiencing with our products please visit Zilog s Technical Support page at http sup port zilog com To learn more about this product find additional documentation or to discover other fac ets about Zilog product offerings please visit the Zilog Knowledge Base or consider par ticipating in the Zilog Forum This publication is subject to replacement by a later edition To determine whether a later
39. proto13x22 B14 135 Pin 31 8 Pin 20 8 Pind 8 15 19107 Pin 32 a Pin 21 a Pin 10 A voor TIS Jo Pin 33 Pin 22 Pin 11 n R11 2 AA 1 Pin 31 spare 470 GREEN Y R12 Ds 2 a 1 Pin 32 rm RED ne voor R13 t 2 AA 1 Pin 33 YELL m Pin 42 Pin 30 Pin 28 SW2 SWs SW4 SW5 B3U 1000P B3U 1000P B3U 1000P B3U 1000P Figure 32 Z51F3220 Development Board 1 of 2 UM024306 0912 Schematic Diagrams J10 u5 VCO sv D5 R18 1 4 2 z Kl GREEN 470 FERRITE BEAD pur pur 4 Pi fsm veus H E SH2 DM H5 SH3 DP H Olmi evp Im C13 USB mini B b otuF u7 41 vccio 20 voc 18 usgp 15 usgpp R26 1 uci 94 RESET 100K 24 nc osci lt 281 osco 17 3v3 0UT 14 o woo 28 bur lt o o UM024306 0912 R19 tur 20K vec T R23 4 75K 4 25 H GND1 18 21 By TEST J15 Pwr EN 1 2 5 6 IN OUT Z51F3220 Development Kit User Manual zilog Embaddod in Lifa Ly EN ADJ 2 GND 7 BYP S Center Pad MIC5318 SERIAL USB 3 4 UARTO 7 8 UART 1 J6 RxDO TxD0 22 DO ox 1 3 FxDi lt lt 1XDO 7 8 HDR PIN 2x4 gt RxD1 DOT KTDI Figure 33 Z51F3220 Development Board 2 of 2 R20
40. t User Manual By default the Z51F3220 Development Board is set up with preinstalled shunts on J16 jumper pins 1 2 and 5 6 to allow the interfacing of the Z51F3220 MCU s UARTO to the USB port When the Board is connected to the USB port of the host PC LED D5 will be ON The default settings and functionalities of these shunts are listed in Table 2 Table 2 Default Jumper Settings Headers Pins Functionality Notes J16 1 2 5 6 UARTO to USB Default J16 3 4 7 8 UART1 to USB J2 1 2 Voc is being measured by AN1 Default J2 3 4 External Vrer 2 5V is used for ADC Default As indicated in the table should you decide to use the the Z51F3220 MCU s UARTI block as the interface for your own project currently not supported in this release move the J16 shunts to positions 3 4 and 7 8 By default Input 1 of the ADC is used to measure the supply voltage This measurement point is taken from a middle point in the voltage divider circuit that includes resistors R3 and R6 the scaling is performed by software so that the LCD always displays the actual voltage For a visual representation see the schematic diagram in Figure 32 on page 37 If a short on the Board should occur or if its attached component s reguire more than 500mA the overcurrent protection functionality will trigger the red LED D6 to illuminate In this instance power to the Board will be terminated and the USB port of the PC will be protected from shorting Sch
41. zilog Embedded In Life AnOITXYS Company Z8051 Family of 8 Bit Microcontrollers Z51F3220 Development Kit User Manual UM024306 0912 S00 DESIGN WITH FREEDOM Copyright 2012 Zilog Inc All rights reserved www zilog com Z51F3220 Development Kit User Manual N Warning DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS LIFE SUPPORT POLICY ZILOG S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION As used herein Life support devices or systems are devices which a are intended for surgical implant into the body or b support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user A criti cal component is any component in a life support device or system whose failure to perform can be reason ably expected to cause the failure of the life support device or system or to affect its safety or effectiveness Document Disclaimer 2012 Zilog Inc All rights reserved Information in this publication concerning the devices applications or technology described is intended to suggest possible uses and may be superseded ZILOG INC DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION DEVICES
Download Pdf Manuals
Related Search
Related Contents
Informazioni importanti - psn Senco PC1130 User's Manual SRD-2000 取扱説明書 Atari800MacX Manual Version 3.5 06-SDA-P05-I01/Rev.00 LIZTOR BELTZA – VESPA VELUTINA Gipuzkoako Foru Aldundian 381.8 KB Copyright © All rights reserved.
Failed to retrieve file