background image

ZUD-CD-09-0191 (1/29) 

September 16, 2009 

Yoshinari Ando, Team Manager 

Development Tool Solution Group 

Multipurpose Microcomputer Systems Division

Microcomputer Operations Unit 

NEC Electronics Corporation 

 

 

 

 

User’s Manual 

 
EZ-0009 

 
 

Development Kit for 

μ

PD78F8024, 

μ

PD78F8025 

 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 

Target Device 

μ

PD78F8024 

μ

PD78F8025 

Summary of Contents for EZ-0009

Page 1: ...ndo Team Manager Development Tool Solution Group Multipurpose Microcomputer Systems Division Microcomputer Operations Unit NEC Electronics Corporation User s Manual EZ 0009 Development Kit for μPD78F8024 μPD78F8025 Target Device μPD78F8024 μPD78F8025 ...

Page 2: ...mers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely To minimize risks of damage to property or injury including death to persons arising from defects in NEC Electronics products customers must incorporate sufficient safety measures in their design such as redundancy fire containment and anti failure features NEC Electronics products are classified into ...

Page 3: ...rved The following symbols express matters which are prohibited in order to prevent injury or accident General prohibition The action mentioned is prohibited Do not touch Touching the specified location may cause injury Do not disassemble Disassembly may cause a problem such as electrical shock or product failure Keep away from water Use near water poses the risk of electrical shock or product fai...

Page 4: ... or rupture Make sure the target system has been connected securely before connecting the USB cable to the simple on chip debug emulator Make sure also to connect the USB cable correctly Doing so may cause failure generation of heat fire or rupture Do not excessively bend or pull on the USB cable target cable or other part Doing so may cause product failure generation of heat fire or rupture Do no...

Page 5: ...d enters the unit cut the power supply and consult your dealer or NEC Electronics sales representative Even if the unit appears to be dry internal moisture may remain To prevent static electricity damage guard against energizing when touching metal parts such as connectors Static electricity can cause product failure Observe the specified order for the power on and power off procedures of the simp...

Page 6: ...emulator EZ 0009 Emulator 12 2 3 Part Names and Functions of Target Board QB 78F8025 TB 13 CHAPTER3 HOW TO USE 15 3 1 Target System Design 15 3 1 1 Pin assignment 16 3 1 2 Circuit connection example 17 3 2 Simple On chip debugging 18 3 2 1 Debug functions 18 3 2 2 Software Installation 19 3 2 3 Securing of user resource 20 3 2 4 System startup procedure 23 3 2 5 Caution on debugging 25 3 3 Simple ...

Page 7: ...cation system by using uPD78F8024 uPD78F8025 microcontrollers By installing software development tools and USB driver software to PC and by connecting USB cable total development flow can be realized Debugging System Image Simple On chip debug emulator EZ 0009 Emulator Target board QB 78F8025 TB Customer s board Customer s HBLED module ...

Page 8: ...nded for users who wish to perform debugging using uPD78F8024 uPD78F8025 Development Kit EZ 0009 The readers of this manual are assumed to be familiar with the device functions and usage of uPD78F8024 uPD78F8025 and to have knowledge of debuggers and flash programming Purpose This manual is intended to give users an understanding of the basic specifications and correct use of EZ 0009 ...

Page 9: ... is included with shipment Target board which uPD78F8025 microcontroller is mounted is included Easy to build up evaluation and debug environment by connecting simple On chip debug emulator EZ 0009 Emulator Simple On chip debugging By using this development kit the debugging of uPD78F8024 uPD78F8025 is possible Flash memory programming Flash memory programming is possible by this development kit U...

Page 10: ...09 Emulator Weight Approximately 13 g Target host machine IBM PC ATTM compatibles Target OS Windows2000 Windows XP USB 2 0 1 1compatibleNote USB cable 2m Host machine interface Current consumption 500mA max Target cable length 10cm Supported connector 2 54mm pitch general purpose connector Supply voltage 5V Supply current 100mA max Target interface Current consumption 8mA Typ Microcontroller uPD78...

Page 11: ...s document This chapter provides an overview of the various functions Reading it through the reader will gain a basic of EZ 0009 While reading this chapter also check if the hardware has a defect 2 1 Names of Supplied Hardware Figure 2 1 shows the names of hardware supplied with EZ 0009 Figure 2 1 Names of Supplied Hardware Simple On chip debug emulator EZ 0009 Emulator Target board QB 78F8025 TB ...

Page 12: ...ng of Power select jumper Setting Description 1 2pin short 5V is supplied from EZ 0009 Emulator to the target system for VDD CVDD of uPD78F8024 uPD78F8025 2 3pin short Power supply of the target system is used 2 USB Interface connector CN3 This is a connector used to connect EZ 0009 Emulator with the host machine via a USB cable 3 Target interface connector CN1 This is a connector used to connect ...

Page 13: ...oard connection 2 54mm pitch All I O ports except for constant current drive port of uPD78F8025 are connected 3 Connector for external constant current drive circuit MODE SENSB0 DRV0 SENSA0 SANSA1 DRV1 SENSB1 SENSB2 DRV2 SENSA2 SENSA3 DRV3 SENSB3 Constant current drive ports of uPD78F8025 such as SENSAn SENSBn DRVn are connected n 0 3 4 Current sense resistor mount pad C17 C18 C19 C20 C21 C22 C23 ...

Page 14: ...91 14 29 5 Resonator OSC1 This board is using 8MHz ceramic resonator for main clock of uPD78F8025 Need to connect 8MHz resonator as main clock when on chip debug is used 6 Power LED LED1 This LED Red is turned on when power is supplied ...

Page 15: ...sing and writing the program can be performed on board with the microcontroller 3 1 Target System Design This section describes the target system circuit design required for on chip debugging and flash programming Figure 3 1 present an overview of the EZ 0009 Emulator communication interface As shown on the figure EZ 0009 Emulator performs serial communication with the target microcontroller on th...

Page 16: ...0 R F U 3 RxD 11 R F U 4 VDD 12 R F U 5 TxD 13 R F U 6 R F U 14 FLMD0 7 R F U 15 RESET_IN 8 R F U 16 R F U Table 3 2 Pin Functions Pin Name IN OUT Description RESET_IN IN Pin used to input reset signal from the target system RESET_OUT OUT Pin used to output reset signal to the target microcontroller FLMD0 OUT Pin used to set the target microcontroller to debug mode or programming mode RxD IN Pin u...

Page 17: ...Connect TxD transmit side of the target microcontroller to RxD receive side of the target connector and TxD transmit side of the target connector to RxD receive side of the target microcontroller Note3 This is for pin processing when not used as a microcontroller GND RESET_OUTNote1 RxDNote2 VDD TxDNote2 R F U R F U R F U R F U R F U R F U R F U R F U FLMD0 RESET_IN R F U 1 2 3 4 5 6 7 8 9 10 11 12...

Page 18: ...execution Hardware break Unavailable Software break 2000 points Forced break Available except while interrupts are disabled RAM monitoring Unavailable DMM writing to memory during RUN Unavailable Pin masking Available external reset pin only Time measurement from execution start to break Measurement resolution 100us Max measurement time Approximately 100 hours User spaces used for debugging Intern...

Page 19: ... ID78K0 QB debugger and ID78K0 QB MON HCD debugger for EZ 0009 Emulator from following URL Both ID78K0 QB and ID78K0 QB MON HCD have to be installed http www necel com micro en solution lighting download html Install ID78K0 QB Install ID78K0 QB MON HCD 4 USB Driver installation Download driver from following URL http www necel com micro en solution lighting download html When connecting EZ 0009 Em...

Page 20: ...ication between EZ 0009 Emulator and uPD78F8024 uPD78F8025 and implement each debug function Secure of memory space The shaded portions in Figure 3 3 are the areas reserved for placing the debug monitor program so user program cannot be allocated in these spaces Figure 3 3 Memory spaces Where Debug Monitor Programs are allocated ...

Page 21: ... 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH DB 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH DB 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH 0FFH b UART6 receive interrupt vector area for Communication interface UART6 is used for on chip debug communication interface The setting of TxD6 and RxD6 pin of UART6 is executed by debug monitor progr...

Page 22: ... example SS5 CSEG AT 080H SS5 is an arbitrary symbol name eight characters or less DB 00H 00H 00H 00H 00H e Stack area for debugging This area is used for stack area 7 bytes to 9 bytes Since this area is allocated immediately before the stack area that is used by the user program the address of this area varies depending on the stack increase and decrease Therefore the stack pointer must be set by...

Page 23: ...le3 4 Setting of Power Select Jumper JP1 Setting Description 1 2pin short 5V is supplied from EZ 0009 Emulator to the target system for VDD CVDD of uPD78F8024 uPD78F8025 2 3pin short Power supply of the target system is used 2 Connecting the target system Connect EZ 0009 Emulator to the target system as shown in Figure 3 4 Figure3 4 Connecting EZ 0009 Emulator to Target System 3 Connecting the USB...

Page 24: ...e in Configuration window as shown in Figure 3 6 Figure 3 6 Configuration window Note ID78K0 QB MON HCD is used as debugger in this development kit Operation of debugger is same as ID78K0 QB For the operation after this step refer to the user s manual for the debugger ID78K0 QB If the debugger does not start normally or the operation is unstable the possible causes may be the following Communicati...

Page 25: ...egister 6 ASIF6 Clock selection register 6 CKSR6 Baud rate generator control register 6 BRGC6 Asynchronous serial interface control register 6 ASICL6 Input switch control register ISC Port mode register 1 PM13 PM14 Port register 1 P13 Interrupt Request Flag SREIF6 SRIF6 STIF6 Interrupt Mask Flag SREMK6 SRMK6 STMK6 Interrupt Priority Specification Flag SREPR6 SRPR6 STPR6 4 Disables watchdog timer o...

Page 26: ...de 9 Operation after reset After an external pin reset the monitor program performs debug initialization processing Consequently stop the user program execution 10 Flash self programming If a space where the debug monitor program is allocated is rewritten by flash self programming the debugger can no longer operate normally 11 Cause where debugger operation speed is degraded The debugger operation...

Page 27: ...URL WriteEZ5 can be used for uPD78F8024 uPD78F8025 http www necel com micro en solution lighting download html Decompress the downloaded pack 2 USB driver installation Download driver from following URL http www necel com micro en solution lighting download html When connecting EZ 0009 Emulator to PC by using USB cable Found New Hardware Wizard dialog box is displayed Select Yes now and every time...

Page 28: ...d Table3 5 Setting of Power Select Jumper Setting Description 1 2pin short 5V is supplied from EZ 0009 Emulator to the target system for VDD CVDD of uPD78F8024 uPD78F8025 2 3pin short Power supply of the target system is used 2 Connecting the target system Connect EZ 0009 Emulator to the target system as shown in Figure 3 7 Figure3 7 Connecting EZ 0009 Emulator to Target System 3 Connecting the US...

Page 29: ...umper is set to 2 3pin short provide Vin VDD CVDD power supply 5 WriteEZ5 startup Start the simple flash programming soft WriteEZ5 Figure 3 9 WriteEZ5 main window 6 Set the parameter file 78F8024 prm or 78F8025 prm on Setup dialog and set COM port Figure 3 10 Setup dialog 7 Click Load to select the HEX file to be programmed 8 Click Autoprocedure to do flash programming 9 Close WriteEZ5 10 Disconne...

Reviews: