Home

User`s Manual TK

image

Contents

1. 54 54 3 4 Universal AFGdusnsie EET Re tied 04 3o Solder short rin i ein 55 56 4 1 If you cannot find USB driver when you connect PC to the 56 2 Error when vol start the deDUB 56 4 2 1 response from the Emulator 01 0 250 0 0 000050008000 57 4 2 2 not communicate with Emulator F0100 or 0109 57 4 2 3 Incorrect ID Code Ff603 teet ttt tette stesso Deni 58 dts pa enin dlc ap at th o du 59 5 Oredte a new ten 60 2 SOUL CS 66 68 5 3 1 Change display OF iet terre Deere beide beue De boe 68 282 Display sSource Iist aud TUNGUON
2. emere 68 533 Set delete breakpoints dba 69 5 3 4 Display global variables ertet 70 Displav local VallaDleS ea oria b npe 71 530 Display memo ANG SFR bet EVER 71 cimi ter 72 0 9 GIecHlt diagf 71 TK 78F0730 User s Manual TK 78F0730 is the evaluation kit for development using 78 0730 NEC Electronics 8bit all flash microcontroller The user only needs to install the development tools and USB driver and connect the host machine with the target board to start the code development build monitoring the output and debugging code This demonstration kit uses the on chip debug feature from the microcontroller itself without emulator connection Configuration for Debugging SAMPLE SOF OR 006 leale Demonstration Program for 710 8 3 1 TENES SAMPLE inirialise c boce fier ieterrupe e m i Bprmgma eik Winclude common hh extern void imirial ri Li SMSIPJOL INTPI 844
3. 14 1 3 2 Overview Sample 17 1 4 Installation ot USB DU el utat er eta 18 154 4 a a 19 1 42 Installation o 2000525 255 ai tina SL otto na 22 14 Completion of USB Driver Installations ndn vium tovt dete urere epe 25 ode macie 26 212122 baton 28 22 ds PME 29 2 3 Load Workspace project 31 eee ROTOR on re M I E 33 24 2 72 77 adidas p tipa 33 2 9oet 16104121 eue EL 35 251 WEIN 35 260 Greate piro reete R 36 2 Gheck Debusser SebLlfg 5 od 39 2 Gheck CNS A a 40 20 Start Debuseer 41 ZIO RUN 44 2 1
4. Ewent Browse Jump Window Help ujele mi t Close 1 Void maing h initial amp Initialize EI 5 CPU while dms 4 When the program stops the status bar changes back to the original color 46 TK 78F0730 User s Manual 2 12 Close Debugger ID78K0 QB EZ Select File on menu bar then Exit 2 ID78K0 QB E2 SAMPLE 78F0730 prj File Edit View Option Run Event Browse Jump Window Help gele 2531 5 41 19 Close Lim x Download ch Quick Refresh Close Upload gt SW4 P126 m M P1 Project Environment Initialize CPU while lt 1 g_start IFGH 6 AS MKGH 6 The exit confirmation dialog is displayed Imain c 33 main 0360 33 855 Manual Break AUTO INS 2 2 This will end your Debugger session Do you want to save the settings the project File v If you click it saves the settings in the project file and then closes the ID 8KO QB EZ It is recommended to save the settings as it saves the window you used window size layout etc If you click it does not save the settings and closes the ID 8KO QB EZ 47 TK 78F0730 User s Manual 2 13 Quit
5. 20112252 TONES 46 242 Glose Debugger 1 78 08 27 hte eto ha rp a in mte du 47 2 3 QUIE secas 48 CHAPTER SJHIARDWARE SPEGIRIGATIONS ccieizusncui pu uten o M 49 9 1 Layout 50 2 2 Layout or 5 41222 5 55 a 50 39 Hardware 16615 5 5 dines 51 SENDER 51 52 INTP O M EN 52 2 5115 52 So POWER 5 11 141 53 220051 53 53 53 78 0720 User s Manual RN RE 53 SS I0 9 54 SEX WES 2 4 E
6. ER 91 yOasZLDLOATPZNS m T 0rd 5 41170 40170 MOL 819 120 4 E 2 3 qa asn qa asn 2010240582 194 ondasn oO endl pl A X81 Za SOSZDd ISS HAFVOSXTY VLG2O ZdLNI LEd o93uasn 515 220 O 10141 9ndL 05 T 55 55 jg mm 40290 AS2 JnZ V LSOL LSLL EEd 9034 I E 23 E 001 0901 08 14 00 1 1214 619 8 a 819 LHOL 9Ld 80020 n0xX3 ex ez Ld rd 13s38 lt lt Og 5 azn x 2d 081 aa asn TE 01 08 214 0001L 00d 57172 E E znai O3 LIE 21 YOALOOZONTPLNS 2 OlMOS Old cae y 1 nodsziozoNiZNS ex apn S 8Sn90XL 9 2 vin 9 anto ko Ho aa asn eld E si 2 NOASZLOZOATPLNS 9 asngaxy 880 SHO 1 ven 5 lI IRAN 1 20 lt lt OF 2 001 Y LMS 22 anto 99 E NOASZLOZOATPZNS 880 SHO 1 0013 4 amp s 5 2
7. Vendor Parameter file Mame forFO Format 414 Version W102 Processor Ver 0200 Connection to device COM Speed 115200 Range Chip Freg 16 00 Multiply 1 00 9 When you write the program click load then select writing HEX file 5 TK 78F0730 User s Manual WriteEZ3 Hex file writing will be start by clicking AutoProcedure 76 TK 78F0730 User s Manual 9 9 Circuit diagram From following page it shows the circuit diagram of the kit 71 TK 78F0730 User s Manual Old 214 tld 914 d 04 Vd0OL LV 11600591 Jequiny 06 048 31 SMS qe eo CM Ld NI g8g8NO S YMS ELA aNd viva 110 19999 13S3H 1190 0 8086 008 06 66 8 e 9 se Lec a 8l 21 91 91 vl l LL 6 2 9 S l 0219 t Lec LNO 19599 1 OdLNI 0214 Eld 814 o 1 00d 084 2 SNLIOE VTI monuuwuo ao 810290 g eia 9 09d 8 20 VIqoo 91 Eld old Old 880
8. Project Related Files i Other Files Play Back Save the key Operations Play Back the Register Macro 64 TK 78F0730 User s Manual Linker Options X Checks are put in Debug SIZE Then input a default value of 256 into the SIZE A check is put in Security ID Output Library Others Load Module File c Output File Mame amt Browse Output Symbol Informatian 3 The actualities of are taken if there is no problem in the Create Error List File 8 File Hame T Browse value of ID security v On Chip 991 SIZE 255 bytes FFFFFFFFFFFFFFFFFFFF Command Line Options na Imf go256 giFFFFFFFFFFFFFFFFFFFFh map E Cancel Apply Help Push the button Next please add the following word asm file and set the method of attesting security ID as the setting of the option byte Please refer to the user s manual of the device for details of the option byte Refer to a notice point in use of ID78KO QB for the details of the security ID word asm please the file must be included in the sample program and copy this file and use it Please refer to Registering additional source file of next page for the method of adding the file ORG
9. Ape SAMPLE 78F0730 SAMPLE 7820 v Debug Build 4 m x Files a y SAMPLE 78F0730 1 Project s 6 SAMPLE 78F0730 Source Files H 6 Include Files Project Related Files Other Files 4 For Help press 1 1 4 En PM SAMPLE_78F0730 prw OutPut loj x File Edit Find Layer View Project Build Tool Window Help 6 eal SAMPLE_78F0730 SAMPLE_78FO7_ Debug Build J kiile Meose 228 oxi Files Memo C Program Files NEC Electronics ToolsVCC78K0V W4 00 binYcc78 Compilation complete 0 error s and warning s found SAMPLE_78F0730 1 Project s c program Files NEC Electronics Tools CC78KO W4 00 bin cc7a Bx SAMPLE 78F0730 Compilation complete 0 and 0 warning s found 8 Source Files C Program Files NEC Electronics Tools CC78KO W4 00 bin cc78 a Include Files Compilation complete 0 error s and 0 warning s found 123 Project Related Files C Program Files NEC Electronics Toolsi 14 0 78 080 Other Files mm 0 warning s found hics Toolsi RATKO W4 00 3bin 1k78 1 and D warning s found AJ 13500 Build completed normally Tools RA78KO W4 00 bin oc78 0 error s and warning l warning s 0 EOF 4
10. ies pre eer us Build has been completed successfully 36 TK 78F0730 User s Manual 37 TK 78F0730 User s Manual 2 Check Debugger Settings After the build you should configure the debugger settings The debugger settings have been set by the project file as well However because those settings are important for debugging some settings are covered in this section 77 Select Tools menu bar then Debugger Setting CH Em PM SAMPLE_78FO730 prw DutPut Joj xl File Edit Find Layer View Project Build Tool Window Help 3 x amp X Compiler Options Structured Assembler Options saMPLE veroz30 saMPLE zero w bebu Assembler Options Linker Options ProjectWindo BE object Converter Options Files Memo pan Electronics ToolsVCcC78KDW2 00 hin cea error s and D warning s found Els SAMPLE _ 8F0730 1 Projecti LAElectronics Toolsi CC78EDAW4 0DSbinsce78l SAMPLE 7870730 Register es 0 error s and D warning s found Source Files Electronics Tools CC7SE0 W4 00 binjcc7el Include Files D erroris warningis found Project Related Files File Compare Electronics Tonls RA7BEKDAWA DDSbin ra78 Uther Files Device File Installer D erroris and 0 warningis found Electronics TaoolsRA7SED W4 00bhinlk781
11. Settings Funt error s and warningi s found Electronics Tools W4 00 bin Customize Record the Key Operations plete error s and warning Play Back Save the Key Operations 0 Total warningis EOF Load the Macro Play Back the Macro File Register the Macro Files Play Back the Register Macro 4 k x Change debugger settings L 1 x 1 is 4 38 TK 78F0730 User s Manual Check if ID78K0 QB EZ V3 00 78KO Integrated Debugger is selected on Debugger Debugger Settings L STEZSK ISSARMPLE Execute 5 reset ater Wowhead Wownload the Debug Target Files the same Project Group Debug Target File List 39 TK 78F0730 User s Manual 2 8 Check Board Settings Before connecting the PC and the TK 78F0730 with USB you should check the setting of SW1 SW2 and JP1 on the board Set the SW1 SW2 and JP1 of the TK 78F0730 as follows 1 SW2 ff JP1 short JP1 POWER RoHS AU ajeni compliant SW1 TK 78F077 0 After the switch settings are completed connect the PC to USB2 on TK 78F0730 with USB cable If the Found New Hardware Wizard is started install USB driver with referring 1 4 Installation of USB Driver 40 TK 78F0730 User s Manual 2 9 Start Debugger ID78K0 QB EZ
12. 25 TK 78F0730 User s Manual In this chapter you will experience how to use the development tools with using the sample programs The development tools are Integrated Development Environment IDE PM Integrated Debugger ID78K0 QB EZ You will use the programs that you prepared in 1 3 Sample Programs as the sample programs for 78 0730 You will be able to understand how to use the development tools the concept of project files which you need for producing application programs 26 TK 78F0730 User s Manual The overall steps are as follows 2 1 Start PM 2 3 Load Workspace 2 4 Set Linker Options 2 9 Set Compiler Options 2 6 Greate Load Module Files un Programs 2 9 Start Debugger 99 TK 78F0730 User s Manual Let s start using the development tools First start the PM Select Windows Start Menu gt Program gt NEC Electronics Tools gt 6 30 jaz PM No Workspace OutPut 28 TK 78F0730 User s Manual 2 2 What is PM In PM application programs and environment setting are handled as a single project and series of actions such as program creation using the editor source management build and debugging are managed Also one of more project files 15 managed together as a workspace Menu bar Tool bar s No Workspace OutPut File Edit Find Layer Project Build Tool Window
13. Click the debug button Fr or select Build on menu bar then Debug If you do not see the debug button go to 2 7 Check Debugger Settings for changing the settings The steps to start the debugger will be explained below fa PM SAMPLE_78F0730 prw OutPut xl File Edit Find Layer View Project Build Tool Window Help 5589 SAMPLE _78F0730 SAMPLE _78F0 5 Debug Build J Re EB Project Window 1 loj x Files Memo C Program Files NEC Electronics Tools CC78KO U4 00 bin cc 3 Compilation complete D error s and warning s found SAMPLE 78 0730 1 Project s C Program Files NEC Electronics Tools CC78KO W4 00 bin cc79 SAMPLE 7820730 Compilation complete 0 error s and 0 warning s found Source Files C Program Files NEC Electronics Tools CC78KO W4 00 bin cc76 Include Files Compilation complete 0 and 0 varning s found H E Project Related Files C Program Files NEC Electronics Tools 8 W4 00 bin ra78 Other Files C Program Files NEC Electronics Tools RA78KO U4 00 bin 1k78 Link complete error s and 0 warning s found C Program Files NEC Electronics Toolsi RA78KO U4 00 bin 8 Assembly complete 0 error s and 0 warning s found Y Object Conversion Complete 0 error s and
14. von 9 jo 001 79
15. EOF Project group 121 Include Files 121 Project Related Files 1 Other Files Project 4 2 For Help press F1 mH E E ERES y The workspace file SAMPLE 78F0730 prw contains one project called SAMPLE 78 730 You will use this project SAMPLE 78 0730 CAUTION Please ignore when you get a prompt saying could not be found This may occurred when the installation directory is not a default 32 TK 78F0730 User s Manual 2 4 Set Linker Options The linker options have been set by the project file However some option settings will be covered in this section because the linker option settings are important for debugging Following three settings are covered specifically Outputs from debugging On chip debug Desable Enable security ID Select Tools on menu bar then Linker options 2 4 1 Output Tab Select Output tab on Linker Options window Confirm Output Symbol Information and On Chip Debug are checked Also confirm Security ID and confirm FFFFFFFFFFFFFFFFFFFF 20 of is entered at ID field if there will not be a problem entering it Linker Options X Output Output Library Others Load Module File a Output File M ame Browse Output Symbol Infarmatian g Create Error List File e Output File Browse een TT v Debug go
16. Exit PM and prompt to save the files 1 11 17 4 is closed The experiences section ends now You can find more information how to use the development tool and information about other useful features in Chapter 5 Other Information 48 TK 78F0730 User s Manual In this chapter the hardware of TK 78F0730 will be explained PD70F0730 External main system clock 16MHz Interface USB x2 MINI B connecter Connecter for MINICUBE2 only pad Connecter for AC adapter 5 Expansion connector 30Pin socket only pad 89mm x 52mm Power supply voltage 49 TK 78F0730 User s Manual 3 1 Layout of hardware functions JACK1 CN2 LED1 JP1 iu SW3 EM LED cumpliant R3 RT 7 0770 TA 2 TPU2 r4 TN TPUS 4 i U POWER we AoHS AL HY 5V0 88187 ta Ro 241 17 USB1 JP2 SW4 SW5 1 SW1 U8 7segLED 3 2 Layout of solder short pad EVDD c jo 5 0 R3 R7 ad 0730 3 GNU T 240 B E OPNS ah Bs ox al EB BB i FLMDO 10 12 Universal area P15 P17 50 78 0720 User s Manual 3 3 Hardware Functions 3 3 1 SW1 2 The bit 1 4 on SW1 are for mode settings Bitb 6 of SW1 are Dip switch for the 7SegLED connec
17. 2 le 1 File name 78FO730 prm Files of PRM Files PRM Cancel E Please select 78 0730 in the directory of PRM PRM78F0731_V102 in the CD ROM F Device Setup MEN Standard mom Parameter file BF0730 prm FRAM File Read Host connectio Operation Mode v Chip Start 000 Block End 015 Area Show Addres Target Reset Message C ox Cancel selects the port number where TK 78F0730 is allocated the COM port number that the personal computer has is displayed in this pull down menu Input 16 00 to Frequency and chick OK 74 TK 78F0730 User s Manual Irs WriteEZ3 B Device View Help gt gt gt Flash Open Mame gt gt COMMAND Device Setup PAM File Read Firm Version Vendor Parameter file Mame PaF 3l Format 414 Version W102 Processor Ver 0200 Mame Date Chksum Area Connection to device Speed 115400 Range Chip Freg 16 00 Multiply 1 00 Erase The deletion of the flash memory begins when the button is pushed Is WriteEZ3 _ m File Dew gigi Help gt gt Flash pernring gt Flash Open Mame gt gt COMMAND Device Setup PAM File Read Firm Version
18. Check Point 3 If above check points are confirmed close the debugger and disconnect the USB cable from PC Re connect USB cable properly to both the PC and the kit and then re start the debugger 4 2 2 not communicate with Emulator F0100 or A0109 Check Point 1 If you use USB hub do not use it USB hub is not supported Check Point 2 Check if the settings of switches on the kit are correct with referring 2 8 Check Board Settings Check Point 3 Confirm the USB driver installation with referring to 1 4 Installation of USB Driver Check Point 4 If above 3 check points are confirmed close the debugger and disconnect the USB cable from PC Re connect USB cable properly to both the PC and the kit and then re start the debugger B TK 78F0730 User s Manual 4 2 3 Incorrect ID Code Ff603 This error occurs when the security ID stored on microcontroller built in flash memory is different from the ID code you entered at the start of debugger Security ID entry area at the start of debugger ID Cade Check Point 1 Enter correct security ID and click OK on the configuration window Check Point 2 If you forgot the security ID you have to erase the microcontroller built in flash memory Before erasing check if you actually set the security ID with referring to 2 4 Set Linker Options Also remember the code you set for the security ID After this erase the flash memory with referring to 5 4
19. w SIZE 256 bytes Security 01 Command Line Uptions aa Imf qaz25b5 pa map bell lib 0 4 5 Files MEL Electronics Toolset CE ABE s Cancel Apply Help 33 TK 78F0730 User s Manual Output File filed at Load Module File specifies the path and file name of output load module file When Output Symbol Information is checked it outputs the local symbol information in the load module file On Chip Debug specifies if you need to use on chip debug or not Check this when you wish to use on chip debug In this case you cannot locate segments in the address from 02H to 03H and from 8FH to the bytes specified at SIZE 1 Security ID is the ID code to protect the memory data from others The ID code is set with hexadecimal number The security ID is stored at the address 85H 8EH For that reason when a security ID is set you cannot locate segments in the address 89 8 If there is a security ID set in the assembler source code and another security ID in this option the system uses the one in this option If you forgot the security ID code in the address 0 85 0 8 or you write 0x00 at 0x84 ID78K0 QB EZ will not be able to connect In this case run WriteEZ3 and erase the built in flash memory For details refer to 5 4 WriteEZ3 34
20. 120 TsegLED PI of Qoo uuETEETETTETTETTETETTETTETYTTTUETTETTETUTTTETUTUTTETTETTTTY void maini _ Initialize CPU interrupt permit while 1064 0 4 IF H 0 4 HRAN G 1 4 By loading the sample programs you can confirm running the board Input output for operation check use LED Push switch 78 0720 User s Manual Overview Reader Purpose This manual consists of the following contents Read chapter 1 and 2 first for installing the development tools and using the sample programs Read chapter 3 5 for customizing the sample programs and the hardware Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Preparations Install the development tools Experiences Experience the basic operations of integrated development environment PM and integrated debugger ID78K0 QB EZ with using sample programs Hardware Specifications Explain the hardware of TK 78F0730 Troubleshooting Describe how to solve troubles you may face such as errors when starting the integrated debugger ID78K0 QB EZ Other Information Introduce other information such as how to create a new workspace project on integrated development environment PM how to register additional source file and some useful tips of the integrated debugger The circuit diagrams of demonstration kit are included in this chapter This manual
21. TK 78F0730 User s Manual 2 5 Set Compiler Options The compiler options have been set by project file However because some compiler options are useful following two settings are covered specifically in this section Enable C comments Select Tools on menu bar then Compiler options 2 5 1 Extend Tab Select Extend tab and check Enable C Comment This setting allow you to use the C comment using It is useful feature when developing code Compiler Options E X Preprocessor Menor Model Data Assign Optimize Debug Output Extend Others Startup Routine Change Source Regulation kanji Code of Source Disable Extensions ANSI Standard SJIS zs Treat int and short as char zi C ELC ze Treat long as int zl C Mone zn A Enable C Comment Ignore from Till End of Line zp Comment Can Not Expand Argument and Return V alue zb Command Line Options 2 Cancel Apply Help 35 TK 78F0730 User s Manual 2 6 Create Load Module Files After developing the source code you have to create load module files by compiling assembling and linking This process is called build Click the build button select Build on menu bar then Build PM SAMPLE 78F0730 prw OutPut 218 File Edit Find Layer Project Build Tool Window Help
22. OCD It is a connector for the MINICUBE2 can connect to MINICUBE2 by installing a connector A1 10PA 2 54 DSA not mounted by Hirose Please do the following setting when you connect MINICUBE2 SW2 is adjusted to the side when the terminal UART6 P13 TXD6 P14 RXD6 is connected with RXD and TXD terminal and it communicates with the PC In other case select SW2 to the center position Bit1 2 3 4 of SW1 are turned off Please connect MINICUBE2 noting position 53 78 0720 User s Manual 3 3 10 U8 7seg LED 7seg LED of U8 can be lit with 10 17 Please set the port mode to the output and output Low signal from the port 98 10 15 11 16 14 P12 17 P13 e The figure of 0 9 can be displayed by writing the following values in P1 register Example of displayed figure and set data 3 3 11 This is the connector for AC adapter DC5V 3 3 12 CN2 This is the connector for external power supply DC5V 3 4 Universal Area The kit has the universal area Users can use this to develop custom circuit 54 TK 78F0730 User s Manual 3 9 Solder short pad label When using a circumference board connector CN1 without using a circuit on board in order to separate a circuit on board the terminal of CPU can be customized by making the pad for solder short opening Pad for solder short has shape like the figure below When you make an open circuit
23. WriteEZ3 58 TK 78F0730 User s Manual This chapter explains some useful operation techniques of development tools and circuit diagram of the kit for developing of user programs 5 1 Create a new workspace project 5 2 Register additional source file 5 3 Debugger tips 9 4 WriteEZ3 5 5 Circuit diagram 59 TK 78F0730 User s Manual 5 1 Create a new workspace Now create a new workspace and project PM allows you to create a new workspace with following New WorkSpace dialog Select File on PM menu bar then New Workspace File Edit Find Layer View Project Build Tool Window Help New Open TEET Save 45 Ghange Source File Save Al Source Files Print Preview Print Ctrl P Recent File Recent Workspace Exit New WorkSpace dialog opens Create a new workspace 17 2 lt Description of items gt Wo rkspace Fi le Name New WorkSpace Step 1 9 Workspace Information gt Specify the name of the workspace file that manages Workspace File the proje t files gt gt 1 Workspace Information E 2 Select Tools Create Blank Work 1 prw is automatically suffixed as the file type Folder eae pans 3 Select Real Time 05 x i 2 4
24. click Software License Agreement 6 Enter the product ID and click The product ID 16 available on the other sheet InstallShield Wizard Please enter the product ID of the product 7 It starts copying the files 12 TK 78F0730 User s Manual 8 When the installation is completed the following dialog opens Click AJ Installation Finished Notes on the installation authority To install this tool in Windows 2000 or XP the authority of an administrator is necessary Therefore please login as an administrator Notes on the install directory Please do not use 2 byte characters such as umlaut in the directory name where the product is to be installed Note on the version of Windows If the language of the Windows is not English a file transfer error during installation might be observed In this case please abort the installation in the language and re install it in an English version of Windows The identical problem may be observed if a language other than English is specified as the system language in the Regional Settings Properties tab Assembler 78 and C compiler 78 limit the object size to 32Kbyte 13 TK 78F0730 User s Manual 1 3 Sample Programs This section explains the overview and preparation of sample programs 1 3 1 Preparation of Sample Programs D Insert the CD ROM disk in the CD ROM drive of
25. cut the narrow part of the Pad with a knife To make short circuit join the separated Pad with a soldering iron etc Solder short pad Solder short pad opened shape Shorted shape Solder short pad name State when Connection shipping it 7SegLED P10 P12 15 17 Short FLMDO to P33 on CPU FLMDO Open Short When built in flash memory is rewritten by self EVDD Short IM Open when EVDD is driven by other voltages 55 TK 78F0730 User s Manual This chapter describes how to solve troubles you may face 4 1 If you cannot find USB driver when you connect PC to the kit Check Point 1 If you use USB hub do not use it USB hub is not supported Check Point 2 Check if you installed NEC Electronics Starter Kit Virtual UART Driver in 1 4 Installation of USB Driver If not install the driver Check Point 3 If above 2 check points are confirmed disconnect the USB cable from PC and again 4 2 Error when you start the debugger There could be several reasons to make errors happen The solving processes differ depending on errors Please check the error message first The solving processes for each error are as follows 56 TK 78F0730 User s Manual 4 2 1 No response from the Emulator A01a0 Check Point 1 Check if the settings of switches on the kit are correct with referring 2 8 Check Board Settings Check Point 2 Erase the flash memory with the WriteEZ3
26. drives Specify location Microsoft Windows Update Cancel 4 Select the driver directory path The path should be C Program Files NEC Electronics ToolsYTK driver as default installation If the installation directory is not default then select under the installation directory Click Found Mew Hardware Wizard Insert the manufacturer s installation disk into the drive selected and then click Cancel Select the driver directory Click manufacturer s files from JC Prograrn NEC Electronics Taalz TK drreer 23 TK 78F0730 User s Manual 5 Click Driver Files Search Results The wizard has finished searching Far driver files for your hardware device The wizard found driver for the following device y USB Device Windows found a driver for this device To install the driver Windows found click Next files nec electronics taols tk drreersmabzsall inf Click Next Back Ce Cancel 6 The installation of NEC Electronics Starter Kit Virtual UART driver is completed Found New Hardware Wizard Completing the Found New Hardware Wizard lt gt MEL Electronics Starter Kit Virtual LAAT Windows has finished installing the software for this device Click Finish To close this wizard click Finish 1 7 Goto 1 4 3 Completion of
27. nine SWA 00 Mw 11 Select tools as above screenshot then click New WorkSpace Step 2 9 Select Tools Changed Selected01 78K0 Software Package 4 00 V select WS 4 Startup 3 T register Model 5 Link Directive ID78KO QB EZ v Select only Installed Tools Click New WorkSpace Step 7 9 Setup Source Files Remove All 3 Register Model 5 Link Directive Jp 209911 Click 62 TK 78F0730 User s Manual New WorkSpace Step 8 9 Select Debugger 16 2 Register 5 Link Directive New WorkSpace Step 9 9 Confirmation Select 05 a Register Modet 5 Link Directive Eelt Click 63 TK 78F0730 User s Manual test prw OutPut iE 2 999 14 test test Debug Build 4 1 8 5 1 2 151 1 This completes workspace and project creation Additional source files can be registered at any time thereafter For details refer to Registering additional source file Next on chip debug function can be used Tool Linker Options is selected F PM test prw OutPut Linker Options Include Files Start up
28. not start automatically please initiate it by double clicking the SETUP EXE Electronics Microcomputer Development Tools Set Welcome to the NEC Electronics Microcomputer development tools setup program Before vau execute this installer please exit all windows programs 8 0730 71 00 May 7 2008 Copyright E NEC Electronics Corporation 2008 Readme First Documents Sample Pragram Link to NEC Electronics Microcomputer E sit 1 Readme First The contents of the CD ROM and some notes are available Please read it at first 2 Install Click Install to start installation of development tools For details please refer to the next section 78 0720 User s Manual lt 3 gt Documents Manuals of development tools and the evaluation kit are available in PDF files When this button is clicked the WWW browser will start Adobe Acrobat Reader is available in the CD ROM lt 4 gt Sample Program Click this button to start the WWW browser for the sample program and the tutorial lt 5 gt Link to NEC Electronics Microcontrollers Click this button to start the WWW browser display the link to the NEC Electronics Microcontroller web site http www necel com micro index_e html The NEC Electronics Microcontroller web page provides with the latest product tool information and FAQs lt 6 gt Exit Terminate the setup 2 Click the Install 10 TK 78F0730 U
29. security ID or if you set On Chip Debug Option Byte to disable the on chip debug function you cannot start debugger In this case you need to delete the setting values of security ID and On Chip Debug Option Byte Use WriteEZ3 to erase the flash memory WriteEZ3 cannot be installed from an integrated installer Please execute YWriteEZ3XWriteEZ3 exe from the Explorer etc The hardware for WriteEZ3 is incorporated 78 0 D The switch of TK 78F0730 is set as follows and connects TK 78F0730 to PC SW1 Bit4 ON OFF OFF SW2 Side 72 TK 78F0730 User s Manual 2 Please execute XWriteEZ3XWriteEZ3 exe if you find Security Warning click Run WriteEZ3 FileDevice View Help Flash Firm Version Est Lade Vendor Mame Format Version Processor Connection ta device Speed Range Freq Multiply 3 Pushthe Setup button Standard Advance Parameter file d PAM File Read Host connection Supply oscillator Frequency MHz Speed 115200 Multiply rate Operation Mode Chip Start Block Endi Area Show Addres Target Reset Message 4 Pushthe PRM File Read button 13 TK 78F0730 User s Manual 5 Pushthe Setup button c Look PRMTSFDZ31 102
30. your PC The NEC Electronics Microprocessor Development Tools Setup screen automatically appears if this screen does not appear automatically start setup exe from Explorer etc Electronics Microcomputer Development Tools X Welcome to the NEC Electronics Microcomputer development tools setup program Before vau execute this installer please exit all windows programs 8 0730 71 00 May 2008 Copyright E NEC Electronics Corporation 2008 Readme First Install Documents Sample Pragram Link to NEC Microcomputer E sit 2 Press the Sample Program button to start the WWW browser 14 TK 78F0730 User s Manual Sample Programs Microsoft Internet Explorer File Edit View Favorites Tools Help m fx d Search 5 Favorites E E Address 1 E HTML Sample Programs Welcome to TE 780730 world The purpose of sample programs is to experience TEK 780730 sample programs consist of the following items TE o SAMPLE 78 730 SAMPLE SEU 3 pnw Sample program described m the TE 780730 evaluation kit tutorial guide sample program on lat User s manual e Reter to the User s manual about usage E Done Local intranet 7 3 Click the TK 78F0730 Sample Programs link the following download confimatio
31. 799 fld 9 LMS 5 Ld3Nvz o44 880 SHO ares S LMS 069 10 0 003 Ast L4OVf 880 SHO 6 8 104 LMS 880 SHO M3MOd OL 7 004 2 1 8 Ld3vz o44 Ast 441 Y3M0d Edr 143 99 043 anyo AS2 JhLv 89 9 2 01 1 2 21 OV casn Lasn anro 29 MOdSLOLOATHZNS E IN y LdaWve 044 anyo 019 402970 gt 2 O SA E 5 OIN0 0487 v 9 ondasn 09d wasn G LGOO EdLNI ZEd dasn 4850 wasn 18 2 ord 2 S0SZDd 168 8 09 o5auasn 55888857 Read 58 n y d s d 402970 ISOL LSIL EEd 9934 oo3H I OSOL OSIL ZLd x v 1 1 914 000 0 3 2 2214 lt oawis 2 _ 1 19599 2 5 9 1 6 0 021 Eed dLNI OZLd OHNE 4466 0108 214 0001L 00d 004 0001 01011 104 ex 104 1 000791 68 LA 01495 01 Ld LNI 0Ed LdLNI X 18 TK 78F0730 User s Manual 11600591 JequinN jueunooq 00 g88AOS 2 A 13688 1 l asneaxu eiu MS 8sneaxt MS 13538 009225555 090 5 epis
32. 80H setting of option byte DB 0 0 0 0 ORG 84H DB 3 The authentication of the security ID is indispensable end The example of word asm 65 TK 78F0730 User s Manual 5 2 Register additional source file Now register additional source files The following example shows the additional registration of source files b c and with source file already registered Place the cursor on the source file in the Project window of PM and select Add Source Files displayed in the right click menu PM test prw Project Window File Edit Find Layer View Project Build Tool Window Help S S X je 121212 Add the source file to the project z Lr 72 Add Source Files test 2 Look in test b e ce Files af type Source Files c asm Cancel Help Add Files fram Folder File name Multiple source files can be selected by clicking them with pressing key 66 TK 78F0730 User s Manual rg test prw Project Window I T 67 TK 78F0730 User s Manual 5 3 Debugger tips This section describes some useful techniques for the debugger ID78K0 QB EZ 5 3 1 Change display of buttons Execution controls run stop step in debugging reset etc and opening functional window be made b
33. F0730 User s Manual 2 3 Load Workspace project In this section you will use the workspace that you created in 1 4 Sample Programs For creating a new workspace refer to Chapter 5 Other Information The workspace has information about the build environment for the sample programs Select File on menu bar and Open Workspace Then select SAMPLE 78F0730 prw under the directory XTK78KOXSAMPLE 78 0730 rm PM No Workspace OutPut 181 File Edit Find Layer Project Build Tool Window Help New h ADDR e Open pe HAL Insert filen JAA Alg Close Glose Workspace Saye 5 Save 45 Ghange Source File Mame Save All Source Files Print Preview Print Ctrl P Recent File Recent Workspace Exit Open an existing workspace E 72 Open Workspace Look in SAMPLE 78 0730 fe SeeSAMPLE 78F0730 prw File name SAMPLE 78F0730prw C Open Files of type workspace pru L ancel Help Select SAMPLE 78F0730 prw then click 2 31 TK 78F0730 User s Manual Workspace name SAMPLE 78F0730 prw 5 PM SAMPLE 78FD730 prw OutPut File Edit Find Layer View Project Build Tool Window Help Load the workspace file SAMPLE_78F0730 prw El
34. Help Project Window Files Memo Workspace For Help press 1 Project Window Output Window Project window A window in which project names source files and include file are displayed using a tree structure Output window A window in which the build execution status is displayed For details regarding menu bars and tool bars refer to Help menu in Help on menu bar then PM Help 29 TK 78F0730 User s Manual What is a project A project is the unit that is managed by A project refers to an application system and environment development based on saves project information in a project file What is a project file A project file contains project information that includes the source files device name tool options for compiling editor and debugger information The file name format is xxxxx prj Project files are created in the directory you specifies when you create a new workspace What is a project group project group is a group comprised of a number of projects an application system The target device of each project must be the same within a project group What is a workspace workspace is the unit used to manage all the projects and project group required for one application system A workspace file contains one or more project files The file name format is xxxxx prw 30 TK 78
35. PM Select File on menu bar then Exit PM ie SAMPLE 78F0730 prw OutPut File Edit Find Layer Project Build Tool Window Help New 000005 Open m 4 4 Aun X Insert files Debug Build Close New Workspace x Open Workspace C Program Files NEC Electronics ToolsCC78KO0W4 DOXbinVcc78 Save Workspace Compilation complete 0 error s and warning s found C Program Files NEC Electronics Tools CC78K0 4 00 bin cc738 Close Workspace Compilation complete 0 error s and warning s found Save Chrl 5 C Program Files NEC Electronics Tools CC78KO W4 00 bin cc78 Save As Compilation complete 0 error s and warning s found C Program Files NEC Electronics ToolsRA7SEO W4 00 binVra78l Change Source File Assembly complete 0 error s and 0 warning s found Save All Source Files C Program Files NEC Electronics Tools RA7SEKO0 W4 00 bin 1k78 Link complete error s and warning s found C Program Files NEC Electronics Tools U4 00 bin oc738 Print Ctrl P E Recent File Object Conversion Complete 0 error s and warning 4 Recent Workspace Build Total error s 0 Total warningi s O 4 pomenem Exit E bownload C V TK7GKOV SAMPLE 78F0730Ya lmf to the debugger EOF
36. Startup A project file prj of the same name is Browse UM Project Group Name i act a simultaneously created in itive Fe Microcontrollers Name Device Name 7 Setup Souca Fies Folder 78K0R 42 64 8 Select Debugger 3 Confirmation Specify the folder for saving the workspace file by __Device instal Mieco 4 writing its absolute path This item can be selected from a reference dialog box by pressing the button Project Group Name This will set up the basic information about the workspace and the project gt Specify this item if wishing to manage multiple projects together in function units If nothing is specified this item is the same as the workspace file name Microcontroller Name gt Specify the name of the microcontroller to be used Device Name The concrete information set here is gt Specify the name of the device to be used described on the following pages 60 TK 78F0730 User s Manual New WorkSpace Step 1 9 Workspace Information l x Input the workspace information setting Workspace File Name as follows 00 est prw gt gt 1 Workspace Information r 2 Select Tools Create Blank Workspace Workspace file name Folder 3 Select Real Time 05 4 Startup File CSTK78KD test test Browse 5 Register Made Project Group Name 5 R
37. USB Driver Installation 24 TK 78F0730 User s Manual 1 4 3 Completion of USB Driver Installation Confirm the USB driver is installed on PC Start Device Manager and find NEC Electronics Starter Kit Virtual UART without mark under the Ports COM amp LPT Device Manager L Computer Management Action View Window Help OPTZIUL Computer Disk drives E Display adapters 2 DVDICD ROM drives Human Interface Devices ic IDE controllers Keyboards Mice and other pointing devices Find NEC Electronics Starter Kit 3 Monitors Virtual UART COMx Network adapters Ports COM amp LPT E Pork COMI Computer Temm Local ih System Tools Event viewer iJ Shared Folders Performance Logs and Alerts 3 Device Manager Storage Removable Storage Disk Defragmenter Disk Management as Services and Applications eee Je ee doe E IIS IA Sound video and game controllers M System devices Universal Serial Bus controllers The screen above shows that the COM port number is COM8 If ID78K0 QB EZ is not in use you can use this port number for connecting 78 0730 When you change the USB port connection the COM port number will be changed as well CAUTION not do Hardware Modification Scan when you communicate with the target device
38. Users Manual 78 730 Date published July 2008 Rev 1 0 TESSERA TECHNOLOGY INC 2008 Printed in Japan 78 0720 User s Manual Windows and Windows XP are registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries The information is subject to change without notice No part of this document be copied or reproduced any form or by any means without prior written consent of TESSERA TECHNOLOGY INC TESSERA TECHNOLOGY INC assumes no responsibility for any errors that may appear in this document TESSERA TECHNOLOGY INC does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of TESSERA TECHNOLOGY INC products listed in this document or any other liability arising from the use of such products No license express implied or otherwise is granted under any patents copyrights or other intellectual property rights of TESSERA TECHNOLOGY INC or others Descriptions of circuits software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples The incorporation of these circuits software and information in the design of a customer s equipment shall be done under the full responsibility of the customer TESSERA TECHNOLOGY INC assumes no responsibility for any losses incurred by c
39. Y Build Total error s 0 Total warning s 10 78 7 is launched For Help press 1 15 h 41 TK 78F0730 User s Manual Configuration dialog is opened Enter FFFFFFFFFFFFFFFFFFFF x 20 in ID Code then click Configuration SUD Clock Board External System 42 TK 78F0730 User s Manual Download ID78K0 QB EZ starts and downloading CATKZABKINSAMPLE object loading the program to flash memory Cancel When the download is completed the source code will be displayed 3 ID78KO QB EZ SAMPLE 78F0730 prj File Edit view Option Run Event Browse Jump Window Help Ql alee sess 8 t 5 Source main c Search 1 5 lt lt E Watch Quick Refresh e h_initial EIQ while 4154 while gt P1 7 1 MKGL 2 MKGH 6 while g_ 1 gt i start 2 ma 0085 lauro INS 2 Completion of the download does not mean running the programs Therefore even though you press switch on the board it does not make anything happened To run the sample program see 2 10 Run Programs 2 43 TK 78F0730 User s Manual 2 10 Run Programs Now you are ready to run the program Click the restart button gt or select Run on menu bar then Restart The sample progra
40. can reset the microcontroller by pressing this switch 3 3 3 SW4 INTPO SW4 is the push switch connected to 120 1 pin in CPU When the switch is pushed down it sends the signal of Low When it is released it becomes Open Therefore when you need to use this you need to set the microcontroller built in pull up resistor option registers PU12 to ON 3 3 4 SW5 INTP1 SW5 is the push switch connected to pin in microcontroller When the switch is pushed down it sends the signal of Low When it is released it becomes Open Therefore when you need to use this you need to set the microcontroller built in pull up resistor option registers to ON 52 78 0720 User s Manual 3 3 5 LED1 POWER This is the POWER LED It is lighted when it gets power supply 3 3 6 JP 1 JP1 is the jumper switch pin to select power supply JP 1 1 2 Short Use power supply from USB power connected to USB1 3 4 Short Use power supply from USB power connected to USB2 5 6 Short Use power supply from AC adapter connected to JACK1 If you use plural connection in the USB1 USB2 JACK1 OCD1 connecter select JP 1 to the first power supply route 3 3 7 2 Pole select of USB D pull up by USBPUC 1 2 Short D pull up is valid if USBPUC is low level 2 3 Short D pull up is valid if USBPUC is high level 3 3 8 JP3 POWER LED ON OFF select jumper 3 3 9
41. e driver you choose will be the best match for your hardware Click Next 1 Nn 4 If the following dialog is opened click Hardware Installation The software are installing for this hardware Electronics Starter Kit Virtual UART has not passed Windows Logo testing to verify its compatibility with Windows me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation o zuztem either immediately ar in the future j 1 Click Continue Anyway recommends that you stop this inst contact the hardware vendor for so passed Windows Logo testing Continue Anyway STOP Installation 20 TK 78F0730 User s Manual 6 The installation of NEC Electronics Starter Kit Virtual driver is completed Click Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software Far E MEL Electronics Starter Kt Click Finish ta close the wizard 7 Goto 1 4 3 Completion of USB Driver Installation 21 Click Finish TK 78F0730 User s Manual 1 4 2 Installation on Windows 2000 1 the TK 78F0730 is connected with USB the Found New Hardware Wizard will be started Select No not this time and click Found Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps
42. egister Mode H 1 Link Directive Filet Folder olde Microcontrollers Name Device C 78K0 test ew uPD78F0730 8 Select Debugger 3 Confirmation Device Install 1 t 850 Microcontrollers Only 4 6 Project Group Name no input This will set up the basic information about the workspace and the project Microcontroller Name 78 0 Device Name uPD78F0730 Cancel Help Click button X 3 42011 C est This folder Click button New WorkSpace Step 2 9 Select Tools x Tool Set 1 Workspace Information gt gt 2 Select Tools Selected01 78K0 Software Package V4 00 English Version 3 Select Real Time 05 4 Startup 1 5 Register Model ID 78K0 QB V3 00 Link Directive File ID 78K0 GB EZ Unused Tool Versions 7 Setup Source Files 8 Select Debugger 3 Confirmation tt 850 Microcontrollers Only 4 6 Select only Installed Tools Detail Setting Please select the Tools from NEC Electronics to be used The following tools have been excluded from selection because they are not installed CC78K0 9 SK78K0 10 78 5 5 78 SM for 78 578 Click Detail Setting button 61 TK 78F0730 User s Manual Tool Version Detail Setting aE Unwed
43. is intended for development engineers who wish to become familiar with the development tools for the 78 It is assumed that the readers have been familiar with basics of microcontrollers C and Assembler languages and the Windows operating system This manual is intended to give users an understanding of the features hardware configurations development tools for the 78 TK 78F0730 User s Manual This chapter describes following topics Overview and installation of development tools Installation of development tools Overview and preparation of sample programs Users can experience the development flow such as coding build debugging and test by using the development tools bundled with TK 78F0730 TK 78F0730 User s Manual 1 1 Development Tools Software Q Device file DF780731 V1 10 A device file contains device specific information So users need a device file to use the development tools Integrated Development Environment IDE PM V6 30 The IDE works on Windows operation system Users can develop a system efficiently by using the editor with idea processor function compiler and debugger C Compiler 78 W4 00 code size limited version C compiler for the 78KO microcontrollers The object code size is limited to 32 Kbyte This compiles C code for 78KO and ANSI C code program into assembler code This produces object code and linker Assembler RA78KO W4 01 code s
44. ize limited version Assembler for the 78KO microcontrollers The object code size is limited to 32 Kbyte This convert the assembler code for 78 into object program The object program will be used for debugger 78KO Integrated Debugger ID78K0 QB EZ V3 00 This is the tool for debugging the object program generated by C compiler and assembler The debugger enables to do C source level debugging With the debugger you can debug the code easily and efficiently by refering and changing variables using step in debuging function and 50 Built in Flash Memory Writing Program WriteEZ3 This is the Windows software to write programs on built in flash memory By connecting 78 0730 PC with bundled USB cable you can write delete programs on the built in flash memory Q Starter Kit USB Driver USB driver for the USB connection with the TK 78F0730 and PC Q Sample program for User s manual Demonstration program using the 7 and push switch Q sample program Serial USB Conversion Serial Communication Sample Program TK 78F0730 User s Manual 1 2 Installation of Development Tools 1 2 1 Installation Package attached CD ROM includes the development tools and documentations Users can use the installer to install those development tools and documentations 1 2 2 Installation of Development Tools D Please insert the CD ROM in the drive The installer will show up automatically If it does
45. l from a list or specific location and click Found New Hardware Wizard This wizard helps install software Far USB Device Select Install from a list or specific 0 If your hardware came with an installation CD location E or floppy disk insert it now What vou want the wizard to do CQ Install the software automatically Recammendec 5 Install from a list or specific location Adva Click Next Click Next ta continue 19 TK 78F0730 User s Manual 3 Select Search for the best driver in these locations check Include this location in the search and then click Browse to select the driver directory path The path should be C XProgram Files NEC Electronics ToolsYTK driver as default installation If the installation directory is not default then select TK driver under the installation directory Click Found New Hardware Wizard Please choose your search and installation options 9 Search for the best driver in these locations Use the check boxes below to limit or expand the deta paths and removable media The best driver Found will Select the driver directory Search removable media floppy CD ROM Include this location in the search C Program Files WEC Electronics T aalss T K drive Don t search will choose the driver to install Choose this option to select the device driver fram list Windows does on 2 th
46. m runs ITDEO QOU EZ SAFRPLE Trop y aum Opin Run Event Drove Jump Weder Help Epod uhila 134 6 1 m IFHL 3 2 1 start HHBL 2 HESH 6 hila 1 3 rai 8 tare 2 27 1 Run the sample program 3 ms 4 g start 1 3 EI2 H 24 g start 2 When programs are running the status bar will be red 44 TK 78F0730 User s Manual If you push SW5 the 7 seg LED segments rotates You push the SW4 and confirm the display of number after a while SW5 U8 7segLED POWER RoHS HY 5V0 IDE LEDI compliant R3 R7 K 78F0730 m UART 7 Ej 89 niii 11111011 5414 You could confirm the sample program is working 45 TK 78F0730 User s Manual 2 11 Stop Programs Now you are going to stop the program Click the stop button or select on menu bar then Stop ITDEO QOU EZ 5SAPIPLE Trop de Option Run Event Jump Window Help Biza jns t vss 65 xj g Etarte 1 3 2 g rare 2 Stop the program Edt
47. n PC before you start using the TK 78F0730 Please follow the instruction below to install the driver Starter Kit USB Driver must be installed on the PC If not please refer to 1 2 Installation of Development Tools to install the driver first CAUTION Do not use a USB hub for connecting TK 78F0730 First connect the TK 78F0730 to PC with USB Depending on the version of Windows OS the installation will be differed Please check your Windows version and follow the instructions Windows XP gt 1 4 1 Installation on Windows Windows 2000 gt 1 42 Installation on Windows 2000 After the installation go to 1 4 3 Completion of USB Driver Installation 18 TK 78F0730 User s Manual 1 4 1 Installation on Windows XP 1 the TK 78F0730 is connected with USB the Found New Hardware Wizard will be started Select No not this time and click Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking an Your computer on the hardware installation or on the Windows Update web site with your permission Head our privacy policy an Windows connect to Windows Update to search for Select No not this time software Yes this time only CO Yes now and every time connect a device nat this time Click Next Click Next to continue 2 Select Instal
48. n window appears File Download E xj Some files can harm your computer the information below looks suspicious or you do not Fully trust the source do nat open save this File File name TK SK EXE Application From E SAMPLE This of file could harm your computer if iE contains malicious cade Would vau like to open the or save it to your computer Info Cancel ask befare opening thie of Click the butten 15 TK 78F0730 User s Manual tj rex E2 Program Files WIMRT wLITemp E e D acuments Computer File name rkzeko T Save as type Application 2 Cancel 2 5 After specifying the download destination folder click the button 6 The self extraction sample program 78 is copied to the specified folder The folder that the 78 0 folder is made when this file is executed and the sample program is stored under the 78 0 folder 16 78 0720 User s Manual 1 3 2 Overview of Sample Programs The sample programs consist of following folders SAMPLE_78F0730 SAMPLE_78F0730 prw Work space file main c Source file 17 TK 78F0730 User s Manual 1 4 Installation of USB Driver NEC Electronics Starter Kit Virtual USB driver must be installed o
49. ser s Manual 3 Tool Installer dialog box is opened Select products that you need to install as default all the products that you need to use the TK 78F0730 are selected Explain area displays an explanation of the selected product To change the installation destination click When all the settings are completed click Install In this document it is assumed that users install the programs under NEC Electronics Tools directory default installation directory Users can find the tools by selecting Start Menu gt Programs gt NEC Electronics Tools 3 Tool Installer DeviceFile Install DeviceFile DF7a0731 v1 10 7 Senes Search Tool Install Tools 01 T SB KB V4 01 Documents 14 B28KB 30 1 Documents 12 W4 1 Documents 14 000 DI 65790 v2 00 65790 v2 00 Documents 1 824KB E plain Drive Available Space 55 657 33bKB Destination Required Space NEC Electronics Tools Browse 123 811KB 4 Click when Install comfirmation dialog box is opened INSTALL 22 Install the Tools and Cancel 11 TK 78F0730 User s Manual 5 Read software license agreement and click for continuing the installation To stop the installation
50. tion 7 8 are connected to 1000 PO1 TIO10 TOOO for general purpose input port SW2 is operation mode setting slide switch For the use of ID78K0 QB EZ use following settings SW1 SW2 Side When ID78K0 QB EZ is used these terminals cannot be used because it communicates with the host machine by using and the terminal P31 and P32 To run the programs stored in built in flash memory without using ID78K0 QB EZ use following settings and re supply power SWl1 SW2 UART or center position Please change to the following settings when writing it in the flash memory with built in CPU by using WriteEZ3 The hardware of WriteEZ3 is built into TK 78F0730 SW1 SW2 UART Side 51 78 0720 User s Manual Please change to the following settings when you connect MINICUBE2 SW1 SW2 OCD or center position Bit5 6 of SW1 is connected with the following CPU terminals If you make UART6 Communication with SW2 UART side using WriteEZ3 or you don t use P13 P14 for SegLED then turn off and separate 7SegL ED SW1 P13 TxD6 P14 RxD6 Bit7 8 of SW1 is connected with the following terminals CPU It s connected to GND if the switch is ON Please turn on pull up resistor PUO with built in CPU when using it It becomes Low if the switch is ON and it becomes High if it is OFF SWl1 P00 TIO00 01 1010 000 3 3 2 SW3 This is the reset switch You
51. ustomers or third parties arising from the use of these circuits software and information CAUTION not give any physical damage to this equipment such as dropping not superimpose voltage to this equipment not use this equipment with the temperature below 0 C or over 40 C sure the USB cables are properly connected Do not bend or stretch the USB cables Keep this equipment away from water Take extra care to electric shock This equipment should be handled like a CMOS semiconductor device The user must take all precautions to avoid build up of static electricity while working with this equipment All test and measurement tool including the workbench must be grounded user operator must be grounded using the wrist strap connectors and or device pins should not be touched with bare hands 78 0720 User s Manual Contents OHARILER T PREFARA TON 7 11 Tools 7 Software c ies a es eae bed 8 1 2 Installation or Developrmient tte bor tear des terrd ee ded v E 9 Installatioti Pac K8865 ctn re orae 9 1 2 2 Installauotnrof Development 9 to Sample Prora MS 14 L3 Pr paration or Sample PEoSFAEis
52. ways to register global variables to watch window In this section how to register from source window 15 described Right click the variable on source window then select Add Watch Source TGK R Vnice c ucPlau amp Sts ug stop Led Mis ug a utput count tatic 1115 autput 2 1 TEE tatic 8 PlayMode 132 uilntGoun Symbol 32 uilntCoun U16 usKeyStsC Break when Access Us Break when Write 4 mi Break when Read fr 2 Add Watch dialog opens Click CI MH ame Add Proper Dec Oct Bin String C Byte C Word Double Word Number 3Adding a variable to watch window is completed iola 70 TK 78F0730 User s Manual 5 3 5 Display local variables Local variable window is used to display local variables By clicking the button below you can open the local variable window Unlike global variables local variables cannot be displayed when programs are running H Local Variable 4L 5 3 6 Display memory and SFR contents By clicking the button below you can open the memory window ce Memory Search 44 2 Refresh Close 4 FOOL 71 TK 78F0730 User s Manual 5 4 WriteEZ3 If you forgot the
53. y below buttons However it could be difficult to know which button does what E In this case select Options on menu bar then Debugger Options Check Pictures Text on setting area With this setting the buttons display the text as well so that it is easier to know what they are E E Al dn Open Load Proj Sro Asm Weh SFR Loc Ret Step Ower Res 5 3 2 Display source list and function list When you wish to see source file list or function list select Browse on menu bar then Other gt List to open the list window The information in the windows is synchronized Therefore it is not just for referring to the list but it is useful when you wish to update files or functions e 1 1 1 interrupt Hy main c 68 TK 78F0730 User s Manual 5 3 3 Set delete breakpoints Breakpoints are executed by clicking lines in which is displayed is displayed in the line where a breakpoint is set Breakpoints are deleted by clicking Search 4 gt Watch Quick R 2 10 maintvoid feo While ml 4 EI amp 4 60 TK 78F0730 User s Manual 5 3 4 Display global variables With using Watch Window you can display global variables There are several
54. you install device driver Far hardware device Click Next continue click Next lt Back Cancel 2 Select Search for a suitable driver for my device Click Found New Hardware Wizard Install Hardware Device Drivers device driver i software program that enables hardware device to work with an operating system This wizard will complete the installation for this device y USB Device device driver i software needs driver files for your ned device installation click Nest Select Search for a suitable driver for my Click Next Cancel What vou want theAzard to do Search for a suitable driver for my device recommended Display a list of the known drivers for this device so that can chod driver 22 TK 78F0730 User s Manual 3 Select Specify a location Click Found New Hardware Wizard Locate Driver Files Where you want Windows to search for driver files Search for driver files Far the following hardware device y USB Device for suitable drivers its driver database on your computer and in optional search locations that you specify Select Specify a location lick M ext IF vau are searching an floppy disk or CD ROM drive before clicking Click Next Optional search locations Floppy disk drives CD ROM

Download Pdf Manuals

image

Related Search

Related Contents

  TOURATECH  E 5019 312 11151 TABLA DE PROGRAMAS    - geniXSoft  iPhone App. www.woistwer24.de User Manual Important In  Canada  Well Traveled Living FireSense 60364 User's Manual  Getting Started Guide in English  

Copyright © All rights reserved.
Failed to retrieve file