Manuale d’uso / di manutenzione del prodotto RZB-ZMD16C-ZDK del fabbricante Renesas
Vai alla pagina of 33
Applications Engineering ZigBee Demo Kit (ZDK) RZB-ZMD16C-ZDK User’s Manual Version 1.2 August 2006 www.renesa s.com.
Applications Engineering Table of Contents 1.0 Introdu ction ............................................................................................................................................. 4 2.0 Contents of Product Package ..............
Applications Engineering 8.3. Operating Environm ent ..................................................................................................... ............... 20 Appendix A. Troubles hooting Guide ..........................................
Applications Engineering 1.0 Introduction The RZB-ZMD16C-ZDK kit is a low-cost ZigBee dem onstration kit for evaluating wi reless ZigBee connectivity solutions based on the Re nesas M16C/28 grou p of microcontrollers (MCU). A small ZigBee Personal Area Network (PAN) can be set up, monitored and analyze d with the included hardwar e and softw are.
Applications Engineering 2.0 Content s of Product Package This section describe s the contents of the RZB- ZMD16C-Z DK product package . When unpacki ng your RZB-ZMD16C-ZDK, please che ck to see that all items listed below are incl uded.
Applications Engineering 3.0 Limited Guarantee and Support Renesas Technology America, Inc., warrants the RZB-ZMD16 C-ZDK to be free from component or assembly defects for a pe riod of 180 days from the date of purchase. Settlement is limite d to repair or replacement of the product only.
Applications Engineering 4.0 System Connectivity The following lists the hardware and software produ cts required for using the RZB-ZMD16C-ZDK ZigBee Demonstration Kit.
Applications Engineering Optional (only required if you want to update firmware and/or develop code). • In-Circuit Debugger and Programme r (ICD) • Mini USB cable for ICD • 2×5 header target ca.
Applications Engineering on the board hardware, and the RF Sniffer Use r’s Manual for more information on RF Sniffer usage and features. 4.4. RF Sniffer Interface (RFSI) The RF Sniffer interface is .
Applications Engineering *Note: The number of breakpoints will va ry dependi ng on the M16C flash MCU used. 4.7.4. FoUSB (Flash-over-USB ™ ) Programmer The Flash Over USB Programmer application provides In-Syste m Program ming capability for the starter kit or any target bo ard using an M16C fam ily flash MCU (e.
Applications Engineering 5.0 Hardware 5.1. ZDK Board (RZB-ZMD16C-ZDK) Note:The RZB-ZMD16C-ZDK boa rd is referred to as RZB-ZMD28-BRD on the board' s silkscreen and schematic drawing. Figure 5-1 shows the RZB-ZMD1 6C-ZDK B oard with major components identified.
Applications Engineering 5.2. RZB-ZMD16C-ZDK Board Block Diagram The RZB-ZMD16C-ZDK board incorp orates an M30280FAHP (80-pin QFP) from the M16C/28 group of microcontrollers designat ed as U4.
Applications Engineering 5.4.2. JP2: Power LED (D4) and RS232 (U7) Transceiver Pow er JP2 is used to conne ct the Vcc pin of the RS232 tra nsceiver chip (U7) to the 3. 3V supply of the board. It also connects the red P ower LED (D4) to the bo ard’s supply.
Applications Engineering 6.2. System Clock After reset, the main system clock (denoted in the spec as f1) is set up to run at 20MHz. The ZigBee stack assumes that the M CU is runni n g at this operating frequency. Please do not make any changes to the clock.
Applications Engineering 6.6. Global Variable RAM Usage You may create as many global variabl es for your us er program a s RAM space is available (896 bytes). A virtual RAM section at the start of the debugger’ s RAM has been created to wa rn you if you try to allocate too much global RAM.
Applications Engineering 6.11. Customization of Demo Program Settings The following definitions can be ch anged at the top of the ZDK_Demo.c file to fit your requirements.
Applications Engineering 7.0 System Operation & Limit ations The RZB-ZMD16C-ZDK provides sophi sticated debug ging features at a low cost, but it does have some limitations when used with the debugger and ICD. Section 6.1 introduces the kernel (ROM monitor) program and its purpose.
Applications Engineering Reserved SFR Area Inter nal RAM Area - 8kB Reserved User Flash ROM A rea - 96kB User RAM Ar ea = 8064 Bytes User Program Area - 94kB Kernel Program Special Pag e Are a Fixed Vector Are a 00000h 00400h 023FFh E8000h FFFFFh FF900h Kernel RAM (128 Bytes) Note: User programs must not use shaded areas.
Applications Engineering Table 7-3: Interrupt Vector Addresse s Interrupt Cause M16C/28 Vector Address Kit Specification Undefined FFFDCh ~ FFFDFh User available Overflow FFFE0h ~ FF FE3h User availab.
Applications Engineering 8.0 RZB-ZMD16C-ZDK Board S pecifications 8.1. Hardware Specifications Table 8-1 Table 8-1: RZB-ZMD16C-ZDK Board Specificatio ns lists the specifications of the RZB-Z MD16C-ZDK Board. Item Specification MCU M30280FAHP Clocks Main Clock: crystal 10 MHz, PLL, or ring oscillator Sub Clock: 32.
Applications Engineering Appendix A. T roubleshooting Guide This section discusses possible p roblems you ma y encounter while installing the development tool software, USB drivers, or running the HEW debugge r and FoUSB Programmer applications. This section also discusses the countermeasures an d solutions to resolve these problem s.
Applications Engineering If you encounter problems on installing the drive rs, you can try the following: Windows 2000 a. Copy the fousb.inf and usbmon.inf files from the C:RenesasFoUSBUSB Drivers folder to the WINNTINF folder. b. Copy the fousb.sys and usbmon.
Applications Engineering • USB was not selected on the HEW Init dialog b ox. Please select ‘USB’ from the Init dialog box that is displayed right after you start a debug session. • The selected MCU on the ICD board an d the ac tual target MCU (M16C/28) do not match.
Applications Engineering • Press the reset button on the ZDK board. • Click the HEW Reset icon . After initialization, debugging can resume. However, it is recommende d that you downl oad your program again before debugging. RZB-ZMD16C-ZDK User’ s Manual Rev 1.
Applications Engineering Appendix B. Reference Manuals Item Title Description 1. Renesas ZigBee Demonstration Kit (ZDK)Quick Start Guide Document that will help yo u get started on using the ZigBee Demonstration Kit. 2. RZB-ZMD16C -ZDK User’s Manual This document.
Applications Engineering Appendix C. Exp ansion Headers The M30280FA MCU on the RZB-ZMD 16C-Z DK target board is housed in an 80-pin QFP pa ckage. Pin 1 of the package is identified by a li ttle white circle on the board’s top silkscreen. Connectors J1 to J4, located around the MCU, provide access to almost all of the MCU’s pins.
Applications Engineering J3 Pin MCU Pin MCU Function J4 Pin MCU Pin MCU Function 1 41 P6 2 /RxD 0 1 61 P0 6 /AN 06 2 42 P6 1 /CLK 0 2 62 P0 5 /AN 05 3 43 P6 0 / 0 CTS / 0 RTS 3 63 P0 4 /AN 04 4 44 P2 .
Applications Engineering Appendix D. Board Schematic & BOM Note:The RZB-ZMD16C-ZDK board is referred to as RZB-ZMD28-BRD on the board's silkscree n and schematic drawing. The circuit board schematic and Bill-Of-Materials (B OM) are available as separat e PDF documents.
Applications Engineering RZB-ZMD16C-ZDK User’ s Manual Rev 1.2 29/ 33 August 2006 5 5 4 4 3 3 2 2 1 1 D D C C B B A A In Circuit Debug por t 3. 4V t o 16. 0V In p ut Vo l t ag e SCH-9063-04 E RZB-ZMD 28-BRD Zigbee D evelopment Kit B 12 Friday, July 14, 2006 Title Siz e Document Number Rev Date: Sheet of DVDD_3.
Applications Engineering 5 5 4 4 3 3 2 2 1 1 D D C C B B A A NOTE: SEPARATE XTAL CIRCUIT FROM LOOP FILTER AS FAR AS POSSIBLE. BEST WITH ONE ON BOTTOM, ONE ON TOP. 50 OHM TRACE SCH-9063-04 E RZB-ZMD28- BRD Zigbee Devel opment Kit B 22 Friday, July 14, 2006 Title Siz e Document Number Rev Date: Sheet of VDD_2.
Applications Engineering Appendix E. RZB-ZMD16C-ZDK Printed Circuit Board Figure E-1: PCB Top View RZB-ZMD16C-ZDK User’ s Manual Rev 1.2 31/ 33 August 2006.
Applications Engineering Figure E-2: PCB Bottom View RZB-ZMD16C-ZDK User’ s Manual Rev 1.2 32/ 33 August 2006.
Applications Engineering RZB-ZMD16C-ZDK User’ s Manual Rev 1.2 33/ 33 August 2006 Appendix F. Other Resources 1. For details on how to use the In-Circuit Debugger and Prog rammer, please see the RTA-Fo USB-MON User’s Manual (Start > (All) Prog rams > Rene sas > RZB_ZMD16C_ZDK > RTA-FoUSB-Mon Manual).
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Renesas RZB-ZMD16C-ZDK è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Renesas RZB-ZMD16C-ZDK - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Renesas RZB-ZMD16C-ZDK imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Renesas RZB-ZMD16C-ZDK ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Renesas RZB-ZMD16C-ZDK, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Renesas RZB-ZMD16C-ZDK.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Renesas RZB-ZMD16C-ZDK. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Renesas RZB-ZMD16C-ZDK insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.