Home
        Doc type and doc no. here
         Contents
1.                                                          S 30  CHAPTER 7 HARDWARE INSTALLATION                            eere eee nene nenne nnn nn nn nnn nnn enhn n nanus 31  7 1 78KOR    Link It  Factory jumpers and switches Settings                                        eeeseeee eene eene 31  CHAPTER 8 SOFTWARE INSTALLATION                       14  eere nre nnn nnne nnne nana nana nnne 32  8 1 IAR Systems Embedded Workbench for 78K installation                                                eeee cesses 33  8 2 IAR Systems visualSTATE Installation                                      eese eeee eese eene enne eene nennen nnn nnnm nnn 33  8 3 Device file package of 78KOR Kx3 L for IAR Embedded Workbench installation                              34  0 4  WENGE ZA IMStala mE 34  8 5  78KOH Link It  Sample program installatiOD       oooccconnncccnnaniconcncncnnancncnnnononannncnnancrennnnrrnnanrrrnnanrrnnaannnns 34  8 6 XML Device Description file installatiOD         cccoonncicnnnncccoconoconcnrocnnancnennnonnnannncnnanrrrnannrrnnanrrrnnanrrenaannnns 34  8 7    USB  Driver Installation ia 35  Go  MistallauoHomVVIindoWS 20O0U   x  i ie eter is 35   GA     MMStANAION ON  VIN COWS AL REESE TEE E m 39   8 8 Confirmation of USB Driver Installation                                 crece cce Le ree Leee e eee ce rede ene u n hanno nane 42  CHAPTER9 FLASH PROGRAMMER WRITEEZA                        1     11e e ceeee eene enne nennen nnn nana nnn 43  9 1   Starting up the GUI SoftWare 
2.               igure 12 10  TMG USB IO Link Master             F    User s Manual U19818EE2VOUMOO 74    ERROR  REFERENCE SOURCE NOT FOUND        3  Left click on the  Setup online connection  icon in the Device Tool GUI  will show the  Check Config   button under  Connected Device  in the Common section     EC 10 Link Device Tool  File Project Options View Help    n c 0    St e     Speciaist          10 Link ae TS    Thai  Maragerent Gruppe    Device TMG USB IO Link Master DE   Vendor  Version 1  07    Interface   TMG USB IO Link Master DE v     Connected Device  Device name  Device ID   Vendor name    TMG TE GmbH    Catalog       PCintestaces  E e Vendor    3 Balt    Leuze       TMG     4 TMG USB IO Link Master  a Y DPDevices    CO 10 Lirk Devices    Vendor  a    BALLUFF    e Leuze  S   NEC Electronics  Europe     79K0R Link It  Temperature Sensor       SENSOPART        SICK AG    Vendor ID      TMG TE GmbH    Check Config       Figure 12 11  Online status  Check Config    4  Click on the  Check Config  button   The LEDs on the Master will blink as the master tries to connect to the 78KOHR Link It  board    If the 78KOH Link It  board is working and the master can connect to it  a small window will  show with information on the board and a    Take over type of device into engineering  button   See Figure 12 12  Check Config successful    If the master cannot connect to the 78KOR Link It  board a window with an error message   can t read configuration  will appear  See Figure 
3.       5  ooi eci eren es 43  9 2  TOODA sss aa 44  93  Men   Bar ai a a a che E E E n 44  A O 44   9 32  DEVIC er MENU ERR RI IMEEM 46   9 3 3  Setup  COMMANA  ERE TEE D TET 47  E a s e aA a a a EE 53   29   MSI Menta is 54   9 4 Programmer Parameter WIndOW                  nce ire cree ita 55  CHAPTER 10 HOW TO USE WRITEEZ4 FLASH PROGRAMMING SOFTWARE                            56  10 1 Installing the WriteEZ4 GUI software                                     eeeeeeee ee eeeeee eee ee eene nennen nena nnn nnn nnne n nnns 56  102  MSTAMING  ANG GIVER aaa a aE a aE a ea aa a a aS 56  10 3 Installing the parameter Te iaa 56  10 4  Connecting and Starting             eer ee oue a Snnt aan iod euo iy eon neue aene aea aa Aaaa aaae draw eiua a uiae 57  10 53 Stare the WriteEZ4 CUL cocoa 58  10 6 Setting the programming environment oncnccccnnncccnnnnccnncnccnnnnncccnnnn cren nrrnnnnrrnnnnnrrnnanrr rn rrnnnnrrnnannrrnannos 58  10 7 Selecting a USEF POT AM ecu oor oo eo eine eau uan ee oan Eno eua ecu orae eau  ei ce ie ona a aiana a daa iaka kariaia aaaea 60  10 8 Autoprocedure  EPV   command execution                                    eeee eese reise eene enne nennen nnn nnn nnn nnns 61  10 9 Terminating te GU os 61  10  10Restarting the QUL  1 sansa eel ee ii 61  10 11Erasing the flash memory  using the WriteEZA    oooccccnnnciconncccccccncconcanoconanorcnnnnonnnannrrnnanrrnnannrrnnannrrnnanns 62    User s Manual U19818EE2VOUMOO 7    CHAPTER 11 IAR EMBEDDED WORKBENCH 78KOR LINK IT 
4.       gt  gt  COMMAND  Device Setup   PAM File Read OK   Firm Version     gt  gt  COMMAND  LoadFile Open E  tCade    Success read HEX file  em m    Parameter file  Mame     87009     PRM File Read OK   is displayed  ee a    Processor Ver  0200    Load file  LIMEIT DEM   HEX  2009 03 27 12 34 35  BbF3h  OO0000h 001161h  Connection to device  The display is updated  Port  COME  Speed 115200bp  Range Chip  Freg     Intermal USC  Multiply   1 00    c       Figure 10 7  After Downloading    User s Manual U19818EE2VOUMOO 60    ERROR  REFERENCE SOURCE NOT FOUND        10 8 Autoprocedure  EPV   command execution    Select  Device     Autoprocedure  EPV   from the menu bar     When the  Autoprocedure  EPV   command is executed  Blank Check     Erase     Program and FLASH  Internal Verify are executed sequentially for the u PD78F1009 device     WriteEZ4    File Device View Help    P     gt  gt  COMMAND  SutoProcedure E pw    Flash Blank Checking    Mame   D  SFTULS   nat blank  then erase    Flash Erasing    Firm version  1 00   ExtCode   EF  4DCFDh  ash Programming Shart    Wendar  10h   Flash Frogramming      Flash Pregramming   205      Flash Programming   3058    Flash Programming   A05       Parameter File  Mame     8009  Format   0419  Version   41 00  Processor Ver  0400    Flash Programming   505      Flash Programming zB    ar  UN aa     Flash Programming  lt   Ux    finish    is displayed  Load file   Flash Programming s807    7 Mame   LIMKIT DEMO  HE   ash Programming s SEE 
5.     ERROR  REFERENCE SOURCE NOT FOUND        9 2 Toolbar    The toolbar contains buttons for starting the important procedures of the WriteEZA     Table 9 2  Toolbar Buttons     Device       Setup  button     File       Load  button     Device       Blank Check  button     Device       Erase  button     Device       Program  button     Device       Verify  button     Device       Auto procedure EPV   button       9 3 Menu Bar    Depending on the actual device status and device type  some menu items may be enabled or disabled     9 3 1  File  menu    Clicking the  File  menu displays the pull down menu as shown below  This menu mainly contains  commands related to file operation     Ei WriteEZ4 a    Device View Help     gt  gt  Flashlipenning     Device  Flash Open Or  Mame         Firm Version    Figure 9 2   File  menu    User s Manual U19818EE2VOUMOO 44    ERROR  REFERENCE SOURCE NOT FOUND        9 3 1 1  Load  command    The  Load  command allows you to select a program file  The selected program file is programmed  a  into the flash memory of the device by executing the  Program  command or  Autoprocedure  EPV    command     Look in    Ep  alee    E Library Application  hex   E  Linkit Demo hex    File name    rec  s   hex  Files of type  Sec Hex files rec  s   hex      Cancel      Figure 9 3  HEX File Selection Window       The file selection window for program loading displays the most recently used directory to which a user  program has been loaded  After a user progra
6.     USB Cable       Figure 2 2  USB Powered configuration  2 2 Host computer    The USB host interface enables communication to the 78K0R    Link It  board  The uPD78F0730  78KO 8 Bit  microcontroller with on chip USB interface and the NEC virtual UART driver allows application software to  access the USB device in the same way as it would access a standard RS232 interface  The NEC virtual  UART driver appears to the windows system as an extra Com Port  in addition to any existing hardware Com  Ports     2 3 Power supply via USB interface    The 78KOH Link it  board can be powered by the USB interface  Optionally the board can be powered  by the QB MINI2 On Chip debug emulator as well as an external power supply     A different power source must be used to power the board if more than 500mA  Caution  USB maximum current load  is required    User s Manual U19818EE2VOUMOO 13    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 3 78KO0R LINK IT  COMPONENTS    The 78KOR Link It  board is equipped with a variety of components allowing a user to develop sensor  applications  These components include  Timer input   output signals  Two or three wires serial I O  7  segments numeric displays  LEDs  Power LED  2 push buttons for external interrupts generation  SW2 and  SW3   Dip Switch for control of operating modes of the board  Reset button  wrap area for external user  hardware  multi directional Joystick SW4      Most I O ports on the 78KOR KE3 L microcontroller are prepared to be c
7.     ee ee NES E                   Host Machine  Figure 10 1  WriteEZ4 FLASH programming mode connection    Table 10 1  WriteEZ4 FLASH programming mode      Plug and Play   connect the 78KOH Link it  board with the host machine via the USB cable        User s Manual U19818EE2VOUMOO 57    ERROR  REFERENCE SOURCE NOT FOUND        10 5 Start the WriteEZA GUI     WriteEZ4    File Device View Help     gt  FlashO penning       Mame      Firm Version    ExtCode    Wendor     Parameter file    Mame    Format    Version    Processor Ver     Mame  Date    C hk sum    Area      Connection to device    Part     Speed   Range   Freg    Intemal C05C  Multiply   1 00           Figure 10 2  GUI Software Startup Screen    10 6 Setting the programming environment  Select  Device       Setup  from the menu bar     The Standard dialog box for device setup is activated     ES Device Setup    Standard   Advance      Parameter File PAM File Head    Hast connection Suppli oscillator    Port   E   Frequency      Speed     Multiply rate      Operation Mode    Stark      End        m      Target Reset Message    Figure 10 3   lt Standard Device Setup gt  Dialog Box    User s Manual U19818EE2VOUMOO          58    ERROR  REFERENCE SOURCE NOT FOUND        Click PRM File Read to open the parameter file selection window     Select the parameter file    78F1009 prm    then click Open     Look in  E PRM       File name   prm  Files of type   PRM Files   PRM      Cancel      Figure 10 4  Parameter File Selectio
8.    Date  2009 03 27 12 34 35    lash Programming finish  Chksum   86F 9h  Area  OOO000K 001181h    Connection to device    Port  COME  Speed 115200bps  Range Chip   Freg    Intemal LI 5E  Multiply   1 00                    Figure 10 8  After EPV Execution    After flash programming is complete  unplug the USB cable and set SW5  SW7 and the jumpers to their  factory settings     However  if the board must be powered from the USB cable  switch bit 1 of SW5 to 1 to set the board in  standalone mode  and press the reset button SW1 to run the application programmed in the microcontroller     10 9 Terminating the GUI    Select  File       Quit  to terminate the GUI software  All settings executed so far are saved in the  WriteEZA INI file  so that those settings can be reused when the GUI software is restarted     10 10 Restarting the GUI    When the system is restarted  the same screen as shown in Figure 10 7  After Downloading  appears     User s Manual U19818EE2VOUMOO 61    ERROR  REFERENCE SOURCE NOT FOUND        10 11 Erasing the flash memory  using the WriteEZ4     If a preprogrammed software has been written to the flash it is mandatory to erase the flash of the device  before it is possible to use the IAR Embedded Workbench with the 78K0R    Link It  board  To erase the flash  please perform following steps     Make sure that the 78KOR Link It  board is in the Debugging Writing mode   section 10 4 Connecting and  starting      If not already connected  connect the 78K0R   L
9.    Fault on C Q line  Rx not connected      Green  ON     Data exchange ok      Red  ON    Fault on C Q line TX disconnected       3 17 External main oscillator  Y1    The 78KOR KE3 L can run at up to 20 MHz operating speed   and The clock generator can be configured to  work with a 18 432MHz external oscillator connected between the X1 and X2 pins     The sub clock is provided with 32 768 kHz to pins XT1 and XT2 of the 78KOR KE3 L device     User s Manual U19818EE2VOUMOO 23    ERROR  REFERENCE SOURCE NOT FOUND        3 18 Test pads  T1 T42 area and wrap field    Several pins of the 78KOR KE3 L microcontroller are connected to the test pads T1 T42 area  The  corresponding assignment can be found in tables below  Additionally the 78KOH Link it  board provides  a wire wrap field area allowing the integration of additional application hardware     VDD  GND  and an MR sensor are also available this area                   La  a   i  a  2    E m mE A m       oN or ert        aO  re  A E    a i         188  a  u    erer  erier        mh    j  A    d  ET  oi    O     50000000     W0 0000O    x  y  a   hu   A  gt           j L    Tar B r  w    w Pk            UP al    10 0    k 1   li    un    AS A   ul a        A  uN  m     u  o       WEM     O     a  T    FF las    sud  a af    ML i    sd F  et m   a T   E me ke     i  sil  he       C  10 al    Cu  El  LE  bud   d  E  n    Figure 3 11 Test pad area and wrap field    E  P10   TIO2   TO02    P20   ANIO P12   TIO4   TOO4    P21   ANH R
10.    In order to use the 78KOR Link  t  board  the USB driver needs to be installed on the host machine  Install the  driver according to the following procedure     Installation on Windows 2000 Page 35    Installation on Windows XP Page 39    8 7 1    Installation on Windows 2000    1  When the 78KOR Link It  board is connected with the host machine  the board is recognized by    Plug and Play    and the wizard for finding new hardware is started  Click Next gt      Found New Hardware Wizard        Welcome to the Found New  Hardware Wizard        This wizard helps you install a device driver for a  hardware device        Figure 8 3  Found New Hardware Wizard  Windows 2000     2  Following the window below is displayed  So  check that  Search for a suitable driver      is  selected  then click Next      Found New Hardware Wizard i    Install Hardware Device Drivers Na  A device driver is a software program that enables a hardware device to work with SY  an operating system              This wizard will complete the installation for this device     Check that  Search for a Py USB Device  suitable driver      is selected  y      device driver is a software program that makes a hardware device work  Windows  eeds driver files for your new device  To locate driver files and complete the    installation click Next   What do you want the wizard to do                           C Display a list of the known drivers for this device so that   can choose a specific    t     lt  Back Next 
11.    NEC  User s Manual    78KOR Link It     Demonstration Kit for 78KOR L series    78KOR KE3 L    Document No  U19818EE1VOUMOO  Date Published June 2009   O NEC Electronics  Europe  GmbH  Printed in Germany    User s Manual U19818EE2VOUMOO 1    The information in this document is current as of June  2003  The information is subject to change  without notice  For actual design in  refer to the latest publications of NEC Electronics data sheets  or data books  etc   for the most up to date specifications of NEC Electronics products  Not all  products and or types are available in every country  Please check with an NEC Electronics sales  representative for availability and additional information     No part of this document may be copied or reproduced in any form or by any means without the prior  written consent of NEC Electronics  NEC Electronics assumes no responsibility for any errors that may  appear in this document     NEC Electronics 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 NEC Electronics 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 NEC Electronics  or others     Descriptions of circuits  software and other related information in this document are provided for  illustrative purposes
12.    QuickStart installation information   Install  AR Embedded 9 Tt      Install visualS TATE   Release notes   View the product documentation   Install Adobe Acrobat Reader    Explore the CD    SIAR  SYSTEMS    WA  Jar  com       Figure 8 2  IAR Systems Installation screen    To install the IAR Embedded Workbench for 78K just press the regarding button    Install IAR Embedded  Workbench         The setup dialogues will guide you through the installation process  For further information  about the  AR Embedded Workbench installation refer to the InstallationGuide ENU pdf in the  directory NIAR Systems doc common doc    of the CD ROM     Please make sure to install the 78KOR Kx3 L device file package for the IAR  Notes Embedded Workbench  as explained thereafter  before using the IAR Embedded  Workbench with the 78KOR Link It  board     8 2 IAR Systems visualSTATE Installation    To install the IAR Systems visualSTATE press the regarding button from the Autorun of the CD ROM  provided within the 78KOA Link It  package  The installation can also be started by executing the  Autorun exe program in the directory     IAR Systems    of the CD ROM  The IAR Systems Installation  screen will appear and the installation of IAR visualSTATE can be started by pressing the  Install  visualSTATE        button  The setup dialogues will guide you through the installation process  For further  information about the IAR visualSTATE installation refer to the  TnscallationGuide pdf  in the  direct
13.   Minimum Temperature Readout Figure 12 3  Maximum Temperature Readout    12 1 2 Temperature thresholds setting    The user has the ability to set two thresholds  a Lower and an Upper threshold         Figure 12 4  Default Lower Threshold Figure 12 5  Default Upper Threshold    1  Toenter the settings menu  press the Center button on SW4  The display thereafter shows the  current value of the lower threshold  for example LO  29 default    Pushing the SW4 button to the right increments the lower threshold in 0 5   C steps  Pushing the SW4 button to left decrements the lower threshold in 0 5   C steps  Pushing the SW4 button up  increments the upper threshold it in 0 5   C steps  Pushing the SW4 button down decrements the upper threshold in 0 5   C steps  The upper threshold can never be lower or equal to the lower threshold and vice     versa     The actual set threshold temperature as well as the min max value  are displayed  with 2 digits only  The point behind the last digit is the 0 5 indicator  therefore for  32 5  C it would be lit      2  To confirm the settings  press the center button on SW4 again  The display thereafter  reverts to the  current measured temperature display     All of the temperature values  thresholds values and settings can also be changed or read using the TMG  USB IO LINK Master device tool     User s Manual U19818EE2VOUMOO 71    ERROR  REFERENCE SOURCE NOT FOUND        12 2 Using 78K0R Link It  Board demo with TMG IO Link Device Tool     The IO L
14.   Pte  Ltd    Singapore   Tel  65 6253 8311   Fax  65 6250 3583    NEC Electronics Taiwan Ltd   Taipei  Taiwan   Tel  02 8175 9600   Fax  02 8175 9670    Revision History    Date      Revision   Chapter  10 06 2009   V1 10 oom 78KO Link It  First Release       User s Manual U19818EE2VOUMOO 5    Table of Contents    CHAPTER T  iNTIHODUGCTION  iere vecina ibis sn aa eus eS cuba Oc aue an EVITE BEY dea N VES ES E paC sash cei VECI aa VEE Sra ErE sevo cea a Oe 9  1 1  Package contents cirina a n aa                                          M                       9  PP spiris E AE aE 9  13 SI SteMTtequUIe MiS as 11   1 31    Optional System requifeMents  iii e il e 11  tA Trademarks orai A 11   CHAPTER2 78KOR LINK IT  SYSTEM CONFIGURATION                            eee eee nnne nnn nnn nnns 12   2 1     TEKOR LINK M DO Pe Saa aE AEE ae Rana aN EEN ET 12  aba Veo lame      Ede ic ii R 12  212 standalone Mode  ie        12   2 2  HOSLCOmDUIGT nho odere ne oed Den ur dI aul ec ED ety ree 13   2 3     Power supply Via USB Interface    ook sos coe a 13   CHAPTERS3  78KOR LINK IT  COMPONENTS                            1 1Leeeecieeeeneiie eene n annnm n aaa a nna a anna a nana 14  3 1  Power Supply Selector  JP 1    iilii Erreur a ds 14  3 2  Discrete Voltage rail selector  JP2        nce ire irre dia 16  3 3   lO port voltage control JP3    eati aa ee as 16  3 4 VDD Transceiver selector   JBA    iisiacsucuvo s eusxuS aaa eaa ESENxExA EE VES EaskHN es MN ia 16  3 95  MI2 Connector Mitad 
15.   button from the Autorun of the CD ROM provided within the 78KOR Link It   package  The setup dialogues will guide you through the installation process  The installation can also be  started by executing  78KOR LINKIT SamplePrograms V1 10 exe    in the directory    SamplePrograms    ofthe CD ROM     By defaults the sample programs are installed in the following path   C  Program Files NEC Electronics Tools 78KOR Link It  SamplePrograms  Two sample programs are provided     Link It  Temp  demo   This program demonstrates a temprearure sensor application  For more details please refer to Chapter 12  IO Link Temperature sensor sample    Link It  Qucick Start    This project is an empty project  where the IO link stack is already integrated  This project can be used as an  example to start an application     8 6 XML Device Description file installation    To install the XML Device Description file for the 78KOA Link it  board  press the  Additional software  button  from the Autorun of the CD ROM provided within the 78KOH Link It  package  The setup dialogues will guide  you through the installation process  The installation can also be started by executing    Link it XML  Device Description file V1 10 exe    in the directory  Link it XML Device Description  file  ofthe CD ROM     By defaults the sample programs are installed in the following path  C  Program Files TMG    User s Manual U19818EE2VOUMOO 34    ERROR  REFERENCE SOURCE NOT FOUND        8 7    USB Driver Installation 
16.   click Finish           Figure 8 10  USB Driver Installation Completion  Windows 2000     User s Manual U19818EE2VOUMOO 38    ERROR  REFERENCE SOURCE NOT FOUND        8 7 2 Installation on Windows XP    1  When the 78KOH Link It  board is connected with the host machine  the board is recognized by  Plug and Play  and the wizard for finding new hardware is started  At first the hardware wizard  will ask if windows should search on the windows update web  check  No  not this time  and then  click Next      The 78KOH Link It  board is connected with the host machine  the board is recognized by   Plug  and Play    and the wizard for finding new hardware is started  Click Next       Found New Hardware Wizard        Welcome to the Found New  Hardware Wizard           Windows will search for current and updated software by  looking on your computer  on the hardware installation CD  or on  the Windows Update Web site  with your permission      Read our privacy policy         Check that  No  not this time   is selected         Can Windows connect to Windows Update to search for  software                Yes  this time only   Ses  now and every time   connect a device       A T        Click Next to continue     Figure 8 11  Found New Hardware Wizard 1  Windows XP     2  Check that  Install from a list or specific location  Advanced   is selected  then click Next       Found New Hardware Wizard    This wizard helps you install software for           USB Device             If your hardwa
17.  Clock operation mode register Xi osc  mode  XTi osc  mode  fx  gt  10MHz     Ha BSP CKC   0x08     System clock control register fclk   fih     Ha C3 Stack ESE 0x00     enable Xi   XTi operation     La C3 Output while  OSTC  lt  OxFF     Wait until fX1 clock stabilization time has been elapsed         no operation          0x18     System clock control register fclk   fmx   20MHz       Ox0l     stop internal high speed oscillator       MINICUBE  Writing flash      umHBBBEHHHHBBUHHHEHEEEUEEHBHH    STACK Init Params    KEYS Init       Overview   Link It Quickstart Link Il Temp demo fo  x    Messages  Building configuration  Link Itl Temp demo   Debug  Updating build tree       Configuration is up to date     F  Build   Find in Files x    Errors 0  Warnings O NUM m    Figure 11 7  IAR project download       After the download was completed all debug features of IAR C SPY debugger are available  i e  Single  Stepping  Step Over  In  Out  Go Execution  Breakpoints  Register   Memory view etc     To get more details on the debugger configuration and capabilities please refer to the  78K IAR Embedded  Workbench IDE User Guide  of the IAR installation     4 JAR Embedded Workbench IDE  Fie Edil Wes Projel Debug Emulator Tools  Wiewdor Help    die  ae A  ee function Tapleszentrtior J6D401  1   T  lBz  Ha CI Applieahen  a BSP wid maini wnid      Ly Stack i  amp 143  La Cg Output 0550  amp  cola   Gperitior spesd mode control pegiater frequency higher than DDOL    STS a  KOT    e Sat og
18.  INTPO     39   INTP4  Switch  SW3    SW3 is a push button connected to external interrupt input INTP1 of the microcontroller  This is equal to port     P70 KRO SO01 INTP4    of the 78KOR KE3 L device  The port may be programmed to generate the external  interrupt INTP4     User s Manual U19818EE2VOUMOO 17    ERROR  REFERENCE SOURCE NOT FOUND        3 10 Navigation switch  SW4    Button SW4 is a navigation switch connected to the 78KOR KE3 L device  It operates in four directions and  has a center push function  When the navigation switch is moved to one of the four directions or it is pushed  a low level signal  Vss  is applied to the corresponding pin of the 78KOR KE3 L device  The connection of  SWA to the microcontroller is shown in the table below     The switch can be used for sensor application parameterization  Table 3 6  SW4  Navigation switch Pin configuration    e  P16     m e  pen  pom P50  i    Figure 3 8  SW4  Navigation switch       3 11 Configuration switch  SW5    The different operation modes of the board can be set by switch SWb bit1 10     Table 3 7  Configuration switch SW5  default settings        A  A Standalone and debug Mode  Note         M                     Disable TK 78KOR debugger functions     1                  31 TxD1 Disconnected from TK 78KOR debugger     s     o    StoCeweseodspwyder       4   or   AVREFDisowdfomVDDINOE   efor   DsabeTKTeKORdebuggerluelons           1  USB cable not connected  Notes     l  2  The board is shipped from facto
19.  M12 wiring scheme    User s Manual U19818EE2VOUMOO 16    ERROR  REFERENCE SOURCE NOT FOUND        3 6 USB interface connector  USB1    This interface allows connecting the IAR C SPY debugger to the board in order to use the On Board debug  function  TK 78KOR debugging   The TK 78KOR interface supports On board FLASH erasing   programming  and standard debug features like code execution  single stepping  breakpoints  memory manipulation etc     For standard communication to a host computer   i e  by using a terminal program   the input output signals  of UART1 of the 78KOR KE3 L device can be redirected to the USB1 connector via the uPD78F0730 USB  microcontroller     The power supply of the board can also be provided by the USB1 connector     1 5        Figure 3 7  USB1  USB Mini B Type Host Connector Pin Configuration    Table 3 5  Pin Configuration of Connector USB1       3 7 RESET button  SW1    SW1 is the reset button  It activates the power on reset  Switch SW1 controls the reset input signal of the  78KOR KE3 L microcontroller     Beside the reset switch  the 78KOR KE3 L can also be reseted by the on board debugging interface via the  uPD78F0730 microcontroller  and by the on chip debugging interface  via the FP1 connector     38  INTPO  Switch  SW2    SW2 is a push button connected to external interrupt input INTPO of the microcontroller  This is equal to port   P120 INTPO EXLVI  of the 78KOR KE3 L device  The port may be programmed to generate the external  interrupt
20.  Master is not properly initialized  Unplugging the master from the USB port  of the host machine and re starting the Device tool solves this problem  Also please check  the board settings are properly set for IO link communication and that the board is    properly connected to the lO Link master     5  Click on the  Take over type of device into engineering  button    The 78KOH Link It  board will now appear under the TMG USB IO Link Master DE in the topology  pane  and details on the board can be read in the Common pane     v  10 Link Device Tool   File Project Options   View Help    dd 3 8 one St f   Topology      Specialist      i            common    z v Technologle und  P m   Engineering  e In P  Qs GmbH     Sa  Tzchnatelz Manaperient Grippe  TMG USB IO Link Master DE   Vendor    TMG TE GmbH  Version 1 0 7    TMG USB IO Link Master DE      L4 TMG USB IO Link Master DE  e  0  78KOR Link It  Temperature Sensor    Device    Interface     J  Connected Device   T8KOR Link It  Temperature Se   0x18C000    Device name  Device ID  Vendor name    Vendor ID    NEC Electronics  E urope   0x018C    Check Config       Catalog    E   PC Interfaces  a NES  Vendor      Balluff       Leuze      TMG      TMG USB IO Link Master     Q   DP Devices  S  IO Link Devices  3   e Vendor  x  BALLUFF    NE Leuze    NE NEC Electronics  Europe   e 78KOR Link It  Temperature Sensor    G SENSOPART      SICK AG     SH TMG TE GmbH    Figure 12 14  IO Link communication active    The IO Link communicatio
21.  SAMPLE PROJECT                    63    SE    eUrg Eljgp                                                                                                                                        63  11 2 Sample Prog allis     5     5  2 5 ce ose ero aa 64  11 3 Loading the Link It  sample project                                             eeeseee aa eee erre er ee eene enn nnne nn nnnm nnn 65  CHAPTER 12 IO LINK TEMPERATURE SENSOR SAMPLE                                    cc eeeeee eren nennen 70  12 1 DEMO  FOATUMCS iii cece stncntdatndsetacieeedtvebidstecestecnteeetbas tees 70  12 13 Min   Max Temperature displasia aaa a ariii 71   121 2   Temperature thresholds Sets inici   71   12 2 Using 78KOR Link It  Board demo with TMG IO Link Device Tool                                                      72  12 2 1 Getting started with the TMG master     oooccccconnncccnccnccnncnnccnncnnnnnncnnonnnononnnrnnnnnncnnnnnnnnnnnnrnnrnnnrnrrnnnnnnnnas 72   12 2 2 Updating the IO Eink Device catalog wisc 73   1223 Gatalog update confirtmiallOEi  siete e Asn yendo ain diene ied Asean  74   12 24 JO Link communication setup 74   12 2 5 78KOH Link It  Board sensor demo in IO Link device tool              oooccccconcccoconcnconononocnnnononnncnnnnnnennnnos 77   12 2 0 78KOR Link It  Board sensor Tescrellluis iu aute eine dais 79  CHAPTER  13  CABLES uisi estesa eevut a da 81  13 1 USB interface cable  MINIB type         nero e Ser re o x oae ee o ge eo Eos eo eU ey din ex E do Fax ta eo Eye eus
22.  eu roe eve xe 81  CHAPTER 14 SCHEMATICS aaa 82    User s Manual U19818EE2VOUMOO 8    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 1 INTRODUCTION    The 78KOH Link It  demonstration kit for the NEC low power 78KOR 16 bit microcontroller family is designed  as a development platform for IO link sensors  and can also be used as an evaluation tool for the 78KOR  microcontroller  It allows the development of IO Link sensor systems based on the 78KOR KE3 L device  The  board is prepared to be connected to user hardware parts  and contains elements to easily start and  demonstrate 1O link sensor applications  This includes l O functions  i e  navigator switch  a Temperature  sensor  MR Sensor  I O lines  analog inputs and outputs  UART serial interface and more     The hardware environment  the applications  will be described in this manual     A sample Demo illustrating an IO Link temperature sensor is available     1 1 Package contents    Link It  board  USB cable  24V power supply    CD ROM containing the evaluation version of the TMG IO Link Stack library  an evaluation copy of the  IAR Embedded Workbench for 78K with 16Kbyte code size limitation  documentation  and a XML device  description file  IO Link user Interface  to support the Temperature demo in the TMG IO Link Device tool     Please verify that you have received all parts listed in the package contents list attached to the 78KOH Link  It  demonstration kit package  If any part is missing or seems to be damaged  p
23.  gt  Cancel    Figure 8 4  Search Method  Windows 2000           User s Manual U19818EE2VOUMOO 35    ERROR  REFERENCE SOURCE NOT FOUND        3  Check the  Specify a location  check box only  then click Next gt               Found New Hardware Wizard    Locate Driver Files ay  Where do you want Windows to search for driver files     Search for driver files for the following hardware device     e  USB Device    TN   The wizard searches for suitable drivers in its driver database on your computer and in  location  only is checked  ero ol ihe falows o onions search loco Theb sot speci              Check that  Specify a       To start the search  click Next  If you are searching on a floppy disk or CD ROM drive   insert the floppy disk or CD before clicking Next       ptional search locations     Floppy disk drives  ed ROM ar kid    n      Microsoft Windows Update    Figure 8 5  Driver File Location  Windows 2000     4  Locate to the folder  CD ROM  Driver        Locate File       Look in    Sy Driver      iz  Desktop     amp  My Documents  E My Computer   al 3  Floppy  4       Local Disk  C     amp 9 Local Disk  D    a Local Disk  E    g Local Disk  F    NEC PSKOR  LINKIT  I         My uum     IS    My Compute  E    eic File name  MOB2SALL inf   Open    My Network P       Files of type  Setup Information    inf  Cancel                  Locate to    CDROM Driver     Figure 8 6  Address Specification 1  Windows 2000     User s Manual U19818EE2VOUMOO 36    ERROR  REFERENCE SOURCE N
24.  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  NEC Electronics assumes no responsibility for any losses incurred by  customers or third parties arising from the use of these circuits  software and information     While NEC Electronics endeavours to enhance the quality  reliability and safety of NEC Electronics  products  customers 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 the following three quality grades   Standard    Special  and    Specific     The  Specific  quality grade applies only to NEC Electronics products developed based on a customer    designated  quality assurance program  for a specific application  The recommended applications of an   NEC Electronics product depend on its quality grade  as indicated below  Customers must check the   quality grade of each NEC Electronics product before using it in a particular application     Standard   Computers  office equipment  communications equipment  test and measurement  equipment  a
25.  options  on the Advance tab displayed by selecting    Device       Setup         During programming  the progress status is displayed in the action log window to indicate  programmer operation  This progress status display window displays the progress status on target  device programming by percentage     Upon completion of  Program  command execution  the GUI software displays the result of  executing the command on the target device     User s Manual U19818EE2VOUMOO 46    ERROR  REFERENCE SOURCE NOT FOUND        9 3 2 4  Verify  command    The  Verify  command sends a specified user program to the target device connected with the  WriteEZ4  and performs verification against the data written to the flash memory of the target  device  During verification  the progress status is displayed in the action log window to indicate  programmer operation  This progress status display window displays the progress status of target  device verification by percentage        Upon completion of  Verify  command execution  the GUI software displays the result of executing  the command on the target device     9 3 2 5  Security  command    The  Security  command initiates the programming of the security flag of the target device  connected to the WriteEZ4  Set  Security flag settings  on the Advance tab of the  Device         Setup  menu     9 3 2 6  Checksum  command    The  Checksum  command reads the checksum value of the target device connected with the  WriteEZA     This value differs f
26.  parameters accessible trough IO Link     Caution jumpers and switches on the 78K0R Link It  board must be set to their factory settings as  described in section 7 1  78K0R    Link It  Factory jumpers and switches Settings    12 1 Demo Features    Once lO Link communication is established with the Master  the board displays the current room  temperature in 0 5   C variation steps as per Figure 12 1     LEDS i f i    E      Figure 12 1  78K0R   Link It  Demo display       The current measured temperature value is displayed with 2 digits  DIGO and DIG1    The decimal point behind the last digit is the 0 5  C indicator  for 28 5   C it would be lit      The user can set two  Upper Lower  thresholds  set by default to 32 C  29 C respectively  when the board is  connected     User s Manual U19818EE2VOUMOO 70    ERROR  REFERENCE SOURCE NOT FOUND        LED1 to LEDS are alarm LEDs representing thresholds set by the user     LED1 lights up when the measured temperature is above the Upper Threshold  LED2 lights up when the measured temperature is between the two Thresholds  LED3 lights up when the measured temperature is below the Lower Threshold    12 1 1 Min Max Temperature display    The minimum maximum temperatures measured since the sensor has been connected to the IO Link master  can be readout on the display at any time when pressing SW2  lo  xx  for the Min Temperature  and SW3  hi   xx  for the Max Temperature  XX represent the temperature in degree Celsius        Figure 12 2
27.  the folder  C CD ROM  Driver    and click OK     Browse For Folder    Select the Folder that contains drivers For your hardware     L Device File package       Doc       5  IAR Systems  E  5  samples    El  Sy WriteEz4  E a  My Network Places    To view any subfolders  click a plus sign above     Figure 8 14  Search Location Specification 2  Windows XP     User s Manual U19818EE2VOUMOO 40    ERROR  REFERENCE SOURCE NOT FOUND        5  As shown below   NEC Electronics Starter Kit Virtual UART has not passed Windows Logo  testing to verify its compatibility with Windows XP   is displayed  Click Continue Anyway     Hardware Installation         The software you are installing for this hardware     NEC Electronics Starter Kit Virtual UAA T        has not passed Windows Logo testing to verify its compatibility  with Windows  lt P   Tell me why this testing is important       Continuing your installation of this software may impair  or destabilize the correct operation of your system  either immediately or in the future  Microsoft strongly  recommends that you stop this installation now and  contact the hardware vendor for software that has  passed Windows Logo testing                    Continue Anyway     STOP Installation      Figure 8 15  Windows XP Logo Testing  Windows XP     6  After the installation of the USB driver is completed the window below is displayed  Click Finish  to close the hardware wizard     Found New Hardware Wizard         Completing the Found New  Hardwar
28.  you to make settings related to flash memory rewriting according to the    9 3 3 1 Standard setup  This menu is used to set the environment for rewriting the flash memory of the target device     The mode of communication with the target  the operating clock  and so forth differ depending on the  device used  For details  refer to the manual of the device used  when making settings     User s Manual U19818EE2VOUMOO 47    ERROR  REFERENCE SOURCE NOT FOUND        The window shown below is opened     E Device Setup    Standard   Advance      Parameter file PAM File Head    Host connection Supply oscillator    Port       Frequency      Speed     Multiply rate    Operation Mode    Start      End                Target Reset Message       Figure 9 5  Device Setup Window   Standard    This window shows all basic options that can be set in accordance with the user environment and target  device      OK button   Clicking the OK button saves the settings on the Standard and Advance menus and closes the  window      Cancel button   Clicking the Cancel button closes the window without saving the settings on the Standard  and Advance menus     9 3 3 1 1 Parameter file  This file holds parameters and timing data required to rewrite the flash memory of the target device   Do not modify the data in the parameter file because the data is related to the guarantee of rewrite    data     The parameter file is protected by the checksum function  If the checksum result indicates an error   the Wri
29. 12 13  Check Config failure        BB Qum  File Project Options View Help       10 Link Device Tool  File Project Options View Help    Rr Link  gt  d    Device  TMG USB IO Link Master DE   Vendor  Version p 07  Interface   TMG USB IO Link Master DE       Catalog       E    Peinetace       prob    amp    Vendor  Qus pw       Balluff    S      Q   Leuze        TMG USB IO Link Master DE       TMG USB IO Link Master DE    nex Manaperient Segoe    TMG    TMG USB IO Link Master DE  Vendor  TMG TE GmbH 4 TMG USB 10 Link Master   107     Q DP Devices  Interface   TMG USB IO Link Master DE is 9 aw          BALLUFF  Connected Device     CQ Lewe  e NEC Electronics  Europe   Dada  9 79K0R Link It  Temperature Sensor   amp  QA SENSOPART   Vendot name       SICKAG  Vendor ID m  amp  GA TMG TE GmbH    TMG TE GmbH  4 TMG USB IO Link Master    E Y DP Devices    Connected Device     3 Q NEC Electronics  Europe    Device ID  9 78K0R Link It  Temperature Sensor  4   SENSOPART   Vendorname       j      SICKAG   Vendor ID        amp     TMG TE GmbH    Device name       Device name    Q Can t read configuration  Take over type of device into engineering    Close Take over type of device into engineering    Can t read configuration    Figure 12 12  Check Config successful Figure 12 13  Check Config failure    User s Manual U19818EE2VOUMOO 75    ERROR  REFERENCE SOURCE NOT FOUND        Caution    It can happen sometime that the  can t read configuration  message appears in the Device    Tool when the
30. 16  3 6 USB interface connector  USB1       conconccnccncconcnnconconananonanancnarancnnanancnn uaa nu R IRR IRR RR RR RRRRRR NR AA NR nan RR RRRRR ANSA 17  37 RESET DUO lA e a o 17  3 8  AINTPONSWIECA SW Zi a 17  3 97 UINTRA SWITCH  SW cita E A A                 MA 17  3 10  Navigation MICA  SWA iia 18  3 11  Configuration  SWIICh  SW isciiiicniii idad 18   3 11 1 Standalone   debug mode selection  SWhb bit1       occooonnccnccccnccnocnncnonnnnonanononnncnnononcnnonnononnnrnnonancnnnnos 19  3 11 2 On Board debug function via USB selection  SW5 bit2     bit3     bit9     bit10                               ssuse 19  3 11 3 UART mode selection  SWhb bit4A bitb        cooccoccncnccncnnccncnncnncnnoncnncnnn mnm mmm nennen rennes 20  3 11 4 Display Driver control  SWb bit6 bit7   0 2    cceceeccceeeeeeseeeeeceaeeeeseaeeeeseeeeecaaeeeeseueeessaueeesaeeesseneeesaaes 20  C Eo VRE CONTO ell is delito         c                          20   3 12 Transceiver Configuration Switch SW 6                                 111eeeeeieeee ee ieee eese eene nennen nennen nnn nnn nnn 21  3 12  1 DC DCG power down control  SWO DILU  ai 21  3 12 2 Transceiver bypass control  SW6 bit2 8           2 da ero ettet ae e Mic eps 21  soa 225 a      Bl al esi MT T A ern en ee eee 22   3 13 Digital logic Power Supply switch  SW7          ccccscseessesseeeeeneeeeenseeseenseeeeeneeeeeaseeeeeaseeeeeseeseeaseeeoenseseonsenens 22   mr weitere m 23   3 159 POwer LED LEDO me n 23   3 16 IO Link Communication indica
31. 63 E      Disable Boot block cluster reprogramrur   Shaw Address      Target Reset Message       Cancel      Figure 9 12  Device Setup Window     Advance    9 3 3 2 1 Command options  This dialog box is used to specify the WriteEZ4 flash processing command options     Command options  iw Blank check before Erase Mw Wide Voltage made       Read verify after Program     Security flag after Program       Checksum after Program    Figure 9 13  Device Setup Window   Command options   Blank check before Erase check box     If this check box is checked  blank check is made before the Erase command or EPV command is  executed     If the result of a blank check indicates OK  erase processing is not executed    Read verify after Program check box     If this check box is checked  write data is sent from the programmer after execution of the Program  command and EPV command  then the data is verified against the data written to the flash memory     User s Manual U19818EE2VOUMOO 51    ERROR  REFERENCE SOURCE NOT FOUND         Security flag after Program check box     If this check box is checked  automatic programming of the selected security flag is executed after  execution of the  Program  and  Autoprocedure  EPV   commands      Checksum after Program check box     If this check box is checked  the flash memory checksum value of the target device is read from the  target device after execution of the Program command and EPV command     This value differs from the value displayed in th
32. Cil   Compiler    Assembler  Custom Build Output   Extra Output   Hidefine   Diagnostics   List Contig   Proce 4       Build Actions    Linker command file  iv  Override default    IE 78  IECLIBE  TODLKIT  DIRSSCDOMFIGSInk PSFIUUS 54  mcl El    MIMNTCLIBE  Simulator  TK 78      verride default program entry  CI   programstart 0          Debugger    Search paths   one per line      TOOLKIT  DIRSALIB     Haw binary image  File  Symbol Segment  Align     M I du    rea      Figure 11 5  Embedded Workbench Linker Configuration       User s Manual U19818EE2VOUMOO 67    ERROR  REFERENCE SOURCE NOT FOUND        Now after everything has been setup correctly it s time to compile and link the demonstration project  Close  the Options menu and select    Rebuild All    from the    Project    menu  If the project is compiled and linked  without errors or warnings it can now be downloaded to the 78KOH Link It  board and debugged     To start the IAR C SPY debugger select the option  Debug  from the    Project    menu or press the   Debugger  button        When first starting the debugger connection  after building the project  it is necessary to set up the right  connection settings  Please take care that the following settings are chosen     ID code   FFFFFFFFFFFFFFFFFFFF  Main clock   External 18 432 MHz  Sub clock   External 32 768 KHz    Target connect   TOOLO TOOL1    MINICUBE 2 Hardware Setup for 7BKOR  78F100964     ID code Time unit  IFFFFFFFFFFFFFFFFFFFF   nsec  gt  Cancel      Era
33. E NOT FOUND        CHAPTER 13 CABLES    13 1 USB interface cable  Mini B type        d      4      Seres A Plug NS 2  Series  Mini B  Plug    Series  A Plug Series  Mini B    Plug    Figure 13 1  USB interface cable  Mini B type     User s Manual U19818EE2VOUMOO     NH       81    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 14 SCHEMATICS    Schematics descriptions for the 78KOH Link It  board  are attached to this document   Use the Attachments tab for access  lower left side of the screen      User s Manual U19818EE2VOUMOO    82    ERROR  REFERENCE SOURCE NOT FOUND         MEMO     User s Manual U19818EE2VOUMOO    83    ERROR  REFERENCE SOURCE NOT FOUND        User s Manual U19818EE2VOUMOO    84    
34. FLASH memory via PG FP4  PG   FP5  MINICUBE2  or TK 78KOR     All output files of the development tools for the corresponding target are generated in the directories  Debug  and  Release     11 3 Loading the Link It  sample project    Start the Embedded Workbench from Windows  Start  menu  gt   Programs   gt  folder  IAR Systems     gt   IAR  Embedded Workbench Kickstart for 78K   The following screen appears     JAR Embedded Workbench IDE  File Edit View Project Tools Window Help    Doa b ON Ex Belo c    4 3 3x D e oe OHHH A          Embedded Workbench Startup    Create new project in current workspace  Add existing project to current workspace  Open existing workspace    Example applications    Recent workspaces       Do not show this window at startup    Cancel           E VES E  gt    EM 2  Figure 11 2  IAR Embedded Workbench Startup window    In this window you are able to choose the Open existing workspace button     User s Manual U19818EE2VOUMOO 65    ERROR  REFERENCE SOURCE NOT FOUND        Now select the option  Open exiting workspace  from the  File  menu and locate the sample project  Open  the 78KOR  LINKIT SAMPLES eww workspace file  This is the workspace file that contains general  information about the demonstration projects and settings    After the demo workspace has been opened the projects contained in the workspace are displayed  Click on  the little       sign next to the  Link It  Temp Demo  project to show files part of the project     The IDE should lo
35. ION    The 78KOHR Link It  package comes with the following software packages   IAR Systems Embedded Workbench for 78K 16Kbyte code size limited  including C compiler  assembler   linker  librarian and IAR C SPY debugger   simulator  IAR Systems Visual State time limited demo program  Device file package of uPD78F1009 for IAR Embedded Workbench for 78K  WriteEZ4 flash programmer software including the PRM file for uPD78F1009  IO Link Temperature sensor demonstration program  The XML Device Description file for IO Link Device Tool software  The USB Drivers for the 78KOH Link It  board    Development Kit 78KOR   Link it      FOKOR LINKIT  Demonstration program    IAR Embedded Workbench    visualS TATE Installation    Additional Software    Documentation    A IO Link engoweres y eion NIE    Breakthrough in communication       Figure 8 1  78K0R    Link It  CD ROM autorun exe    User s Manual U19818EE2VOUMOO 32    ERROR  REFERENCE SOURCE NOT FOUND        8 1 IAR Systems Embedded Workbench for 78K installation    To install the IAR Systems Embedded Workbench for 78K including C SPY debugger   simulator press the  regarding button from the Autorun of the CD ROM provided within the 78KOR Link It  package  The  installation can also be started by executing the Autorun exe program in the directory NTAR Systems V   of the CD ROM     When running the autorun exe the following screen appears       Hoz  Japanese     Welcome to IAR Systems  IAR Embedded Workbench  16K Kickstart for NEC 78K 
36. K and the IAR C SPY debugger   simulator are included  These  packages are restricted in such that maximum program code size is limited to 16 Kbyte     Full documentation is included for the NEC 78K078F 1009 microcontroller  NEC 78KO 78F0730  microcontroller  IAR Systems Embedded Workbench and IAR Systems C SPY debugger   simulator     TMG IO Link Stack Library  Evaluation version    IO Link communication    The 78KOH Link It  board provides an IO Link communication channel       Current type    DC  Wiring    3 Wire  Output signal    IO Link  Rated operational voltage  V 24DC  Supply voltage  V 18   30 DC  Short circuit protection    yes  Protected against polarity rev    yes   aT    2 4    Nas  IO Link Data  Physical Layer  PHY2  Data Transfer Rate    COM   4 8kBaud   COM   38 4kBaud   COMG  230 4kBaud     Board size  135mm x 60mm  Power supply by USB interface option for Microcontroller   Analog to digital signal conversion  Various input   output signals available  such as  I O ports prepared to be connected to user hardware  Timer input   output signals  Two or three wires serial I O  Analog input lines  Navigation switch  Virtual UART interface  via the uPD78F0730 78KO 8 bit microcontroller with on board USB interface    The IAR Embedded Workbench for 78K and the IAR C SPY debugger   simulator are included  These  packages are restricted in such that maximum program code size is limited to 16 kByte     Full documentation is included for the NEC 78KOR KE3 L microcontrolle
37. ND        12 2 2 Updating the IO Link Device catalog    Before the 78KOH Link It  can be displayed in the device tool  the IO Link devices catalog must be updated    1  In the Catalog pane  right click on  IO Link Devices  and select  Actuate catalog      v  10 Link Device Tool PEE  Fille Project Options View Help     id 2 85  ofine Di  t 47 4   sd Specialist          Topology Catalog    E c PC Interfaces   8 NE Vendor      DP Devices      0   rs e ix S l Actuate catalog  5    e    BALLUFF    E NE Leuze   e    SENSOPART  H  SICK AG   e  SH TMG TE GmbH                               Figure 12 7  Catalog update    2  Press  Yes  in the small window with the message  Do you want to insert the 78KOR Link It   Temperature sensor of NEC Electronics  Europe  into the catalog        Y 10 Link Device Tool  File Project Options View Help  if  2 85 ofin DE  f 47    Topology Catalog     G   PC nterfaces     DP Devices  cz 10 Link Devices  2    Vendor  6  9 BALLUFF     Leuze     SENSOPART    9 SICK AG        TMG TE GmbH          Hl         H H    j       IO Link Device Tool    Do you want to insert 78KOR Link It  Temperature Sensor of NEC Electronics  Europe  into the catalog   No skips the shown device   Cancel stops updating catalog                   Figure 12 8  Catalog update confirmation    User s Manual U19818EE2VOUMOO 73    ERROR  REFERENCE SOURCE NOT FOUND        12 2 3 Catalog update confirmation    A successful update will show the NEC Electronics  Europe  vendor and the 78KOH Li
38. OFF Disconnect UART1 signals from TK 78KOR debugger  Connect UART1 signals to TK 78KOR debugger       3 11 4 Display Driver control  SW5 bit6 bit7    Switch SW5 bit6 bit7 control the 12C interface between the 78KOR KE3 L and the 7 segments displays driver     Switch bit6 and bit7 ON or OFF to respectively connect or disconnect the display driver to the  78KOR KE3 L     Table 3 11  Display Driver control  SW5 bit6 bit7    OFF OFF Disconnect 7 segments display driver       Caution The Display driver must be powered when the 7 segment displays are used to display  information  Please refer to section 3 13 for more details     3 11 5 AVREF control  SW5 bit8  Switch SW5 bit8 controls the voltage reference source for the analog input of the 78KOR KE3 L  Switch bit8 ON or OFF to respectively apply or disconnect VDD to AVREF     Table 3 12  AVREF control  SW5 bit8    OFF AVREF disconnected from VDD  Note1        1  The board is shipped from factory with a 2 5V reference voltage rail applied to    Notes AVREF  via R40     User s Manual U19818EE2VOUMOO 20    ERROR  REFERENCE SOURCE NOT FOUND        3 12 Transceiver Configuration Switch SW6  SW6O serve two purposes     It allows to isolate the IO Link transceiver from the 78KOR KE3 L microcontroller by disconnecting  the communication interface    It put the DC DC converter in power down mode when it is not needed by the user  Please refer to the coming sections for more details on SW6     3 12 1 DC DC power down control  SW6 bit1    Th
39. OT FOUND        5  The setup information file    MQB2ALL inf    is automatic selected  then click Open to proceed  within driver installation            Locate File    Look in     lt  Drive        a ex E3        History    i     Desktop  js   My Documents  NS   My Computer  es CI      File name   MQB2SALL     My Network P    MEM  Files of type    Setup Information    inf  y   Cancel       Figure 8 7  Address Specification 2  Windows 2000     6  After the location of the USB driver has been specified click OK to proceed     Found New Hardware Wizard         Insert the manufacturer s installation disk into the drive  a  selected  and then click OK     Copy manufacturer s files from    IAD iver         Figure 8 8  Address Specification 3  Windows 2000        User s Manual U19818EE2VOUMOO 37    ERROR  REFERENCE SOURCE NOT FOUND           7  Click Next gt    Driver Files Search Hesults Y ES  The wizard has finished searching for diver files for your hardware device  A       The wizard found a diver for the following dewice     p USB Device    Windows found a driver For this device  To install the driver Windows found  click Next     NEC i sdiver mab2sall int       Figure 8 9  Driver File Search  Windows 2000     8  Click Finish to complete the installation of the USB driver     Found New Hardware Wizard    Completing the Found New  Hardware Wizard    sy NEC Electronics Starter Kit Virtual USAT    Windows has finished installing the software for this device     To close this wizard
40. Options and then open the tab Debugger     Caution Although the On board debug interface is used  the MINICUBE C Spy driver must be  selected instead of the standard driver TK 78K used for other starter kits  If the debug  session via MINICUBE2 and the OCD1 connectors shall be started  also the MINICUBE C   Spy driver must be selected     The corresponding COM port where the 78K0R Link it  board is connected to the host PC will be detected  automatically by the IAR C SPY debugger     User s Manual U19818EE2VOUMOO 66    ERROR  REFERENCE SOURCE NOT FOUND        Options for node  Linklt      Category  Factory Settings      General Options  CIC 4 4  Compiler  Assembler  Custom Build Setup   Extra Options   Plugins    Build Actions    linis Driver     MINICLIBE HB  SEUMINI  GB 7BEUS   ex MINI  GB MINI2        IE 78 Iw  Aun to  IECUBE    MINICLIBE  main  Simulator  Tk 78    Setup macros      Use macro file    Device description     Override default    n       Figure 11 4  IAR Embedded Workbench Debugger Options    The next step is to check that the correct linker settings are set  This can be done in the  Linker  category as  shown below  Select the  Config  tab and check that the linker command file  Ink78f1009 64 xcl  is selected   This file is used by the linker and contains information on where to place the different sections of code  data  and constants that may be used within the demo project       ptions for node  Linklt      Category  Factory Settings      General Options  
41. TCDI   RTCLL  P22   ANI  P13   TIO5   TOO5    P93   ANI3 P14   TIO6   TOO6  P24   ANI4 P15  TIO7   TOO7    P52  RTC1HZSL    T10 P25   ANI5 STLI   SLTO  P26   ANIG P71 KR1 SIO1    112 P27   ANI7 INTP5  T13   P150 ANI8 P72   KR2   SCKO1    INTP6  T14 P151   ANI9  P73   KR3   SOOO    T15   P152  ANI10 TxDO  T16  P153 ANI11 P74   KR4   SIOO   TxEN Transceiver  RxDO  P80   CMPOP   2 VDD IO Transceiver  INTP3   PGA  P77 KR7  151 AVREF  P81   CMPOM P76 KR6  P75  KR5  SCKOO    Table 3 17  Test Pads Tables           INTP2  SDA10   INTP1  ILIM Transceiver           a       User s Manual U19818EE2VOUMOO 24    ERROR  REFERENCE SOURCE NOT FOUND        3 19 MR  magneto resistive  Sensor    A MR sensor is a magneto resistive sensors integrated circuits in small packages  It can be used in position  detection applications  using non contact type sensor  The MR sensor outputs a digital signal to pin  P32 SCK10 SCL10 INTP2 of the 78KRO KES L device    3 20 Temperature sensor    For temperature measurement and primarily as an application example  the 78K0R    Link It  board is  equipped with a temperature sensor IC  The output pin of the temperature sensor is connected to pin  P153 ANI11 of the 78KRO KE3 L device     3 21 PG FP4  PG FP5   QB MINI2 connector  FP1    Connector FP1  not mounted  allows connection of the PG FP4 PG FP5 FLASH programmers to the board  in order to program application software into the 78KOR KE3 L internal flash memory     Remark   The PG FP4  PG FP5 FLASH programmers 
42. VOUMOO 22    ERROR  REFERENCE SOURCE NOT FOUND        3 14  4 digit Numeric Display    The numeric display allows hexadecimal fonts displaying of metering information such as  distance   temperature  time  It is made of 4 single 7 segments displays and 5 discrete LEDs        Figure 3 10  4 digit Numeric Display    LED1 to LED3 can be used to provide common Alarm  AM  PM types of functions  or any user defined  function     The colon segment LED4 and LEDS are connected in parallel and driven together as one LED   The 7 segments display and discrete LEDs are driven by a display driver  This display driver interfaces with    the 78KOR KE39 L via an 12C interface  see section 3 11 4 for details  For more details on the display driver   please refer to the datasheet provided on the Link It CD ROM     3 15 Power LED  LED6    LED6  lights up when power is supplied to the 78KOR Link It  by setting JP1 See section 3 1 for details     3 16 lO Link Communication indicator  LED7   LED7 is a bi color LED connected to pins P42  P43  to indicate the activities on the communication channel   By default the LED is lighted up with an amber color  when the microcontroller is not programmed and power  is provided to L_VDD via switch SW7 bit1  The table below shows the defined LED colors and indications for  the board  when an IO Link application is downloaded to the microcontroller     Table 3 16  LED7 indications for IO Link port signals    Pin 4   C Q line  Dark  OFF    Device disconnected or 
43. a      Connection to device    Port     Speed   Range   Freg    Intermal 0SC  Multiply  1 00         Figure 9 20  Programmer Parameter Window     Device    Updated after communication with the target device to display information about the target device    Parameter file    Updated after  Setup  command execution to display information about a read parameter file    Load file    Updated after  Load  command execution to select information about a selected program file    Connection to device     Updated after  Setup  command execution to display information about the connection with the target device     User s Manual U19818EE2VOUMOO 55    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 10 HOW TO USE WRITEEZA FLASH PROGRAMMING SOFTWARE    This chapter explains the basic operation of the WriteEZ4 GUI for programming the 78KOH Link it  board  It  covers how to start the system  execute the EPV command  and program the target device  Furthermore  the  FLASH programming of the 78KOR KE3 L via WriteEZ4 is shown in the following pages    The conditions of the series of operations described in this chapter are as follows    Hardware configuration of 78K0R Link it     Base board  78KOH Link it    Target device  78KOR KE3 L   u PD78F 1009    Clock  Internal Oscillator   Voltage level  5 V   Software configuration of WriteEZ4    Parameter file  78F1009 PRM   Clock setting  Internal Oscillator   Port  COM6  115200 bps    Operation mode  Chip    Write HEX  Linkit Demo hex    Option sett
44. alog digital conversion and more     The 78KOH Link It  board is shipped with the demo preprogrammed to the microcontroller  When the board  is connected to an lO Link Master and communication is established  the temperature is measured and  transmitted through IO Link     For the purpose of this demo the TMG USB IO Link Master has been used  The screenshots in the following  section are those of the TMG device tool software  operating with the TMG master device     If you have the TMG Master device  a XML device description file for the 78kOH Link It  board demo can be  found on the 78KOR Link It  CD ROM in the A Link it XML Device Description file  folder  For  more details on installing the XML Device Description file  please refer to section 8 6 XML Device  Description file installation      Once the Device tools software has been updated  the 78KOH Link it  board can be controlled from the  software GUI  For further details please refer to section 12 2 Using 78K0R Link It  Board demo with TMG  IO Link Device Tool     Connect the IO Link Master to the host computer  The 78KOHR Link It  board should be now connected to the  Master via the M12 cable see Figure 2 1  IO Link system configuration    Remark If you do not have the TMG USB IO Link master  and your equipment does not support the  XML description file  please refer to the    QuickStart Guide IO Link Device Stack library   available on the CD ROM for a list of indexes referring to the application s process data  and
45. arameter you want to change   The cell is highlighted in blue and a dialog box will open to enter the new value  2  Enter a new value in the box and press the  Enter  key on your keyboard     The new parameter is now passed to the board  You can check with the SWA joystick that the parameter has  been passed correctly to the board     The Thresholds LEDs will automatically display what the current measured temperature is with regards to the  new range     Figure 12 19 shows the dialog box and the setting of the Lower threshold to 25 C            10 Link Device Tool            File Project Options View Help  EE      Common   Process data   Parameter                               AZW   Preadjustment       L4 TMG USB IO Link Master DE   0  78K0R  Link It  Temperature Sensor                       Vendor Name                NEC Electronics  Europe  NEC Electronics  Europe     Vendor Text www  eu  necel  com waww eu  necel  com           78KOR Link It  Temperature Sensor   78KOR Link It  Temperature Sensor      78KOR LINKIT   78KOR LINKIT      1 10   1 10   1 10         Product name           Order number                   Hardware revision     immimimimimim          Firmware revision          Lower Threshold  Upper Threshold                     Diesen Wert   bertragen           Zuletzt ge  nderte Werte   bertragen    Werte nach Eingabe sofort schreiben                    Figure 12 19  78KOR   Link It  Thresholds setting    User s Manual U19818EE2VOUMOO 80    ERROR  REFERENCE SOURC
46. are separate product from NEC and are not  included in this package     Additionally  FP1 allows connection of the QB MINI2  MINICUBE2 On Chip debug emulator  to the board in  order to use On Chip debug function of the 78KOR KE3 L device and program the internal flash memory     Table 3 18  FP1 pins description    TOP VIEW    Q   Z    zjz z z z z ol Z   olojojojolo  19 13         Pin assignment when MINICUBE2  Is connected in this direction    O    N    10 N C   1  12  13  14  15    16    30000000      OOOO    Pin assignment of target connector  to be mounted on target system    1    N C   N C   FLMDO  RESET IN  CLK IN       NEN  LE  LA    MM  EM  EUM  EN  EM  EN   o5  EN       Figure 3 12  FP1  PG FP4 PG FP5 Minicube 2 connector    User s Manual U19818EE2VOUMOO 25    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 4 FLASH PROGRAMMING    Flash programming is used to download applications to the internal memory of the 78KOR KE3 L  microcontroller     This chapter covers the board settings required to perform this operation     On chip debugging is documented in the next chapter  Chapter 5  On Chip debugging    4 1 Flash Programming via MINICUBE2  QB MINI2     When using PG FP4 PG FP5 for FLASH programming or QB MINI2 for FLASH programming  debugging  purposes  please configure switch SW7 and SW5 of the 78KOR Link It  board as referenced the following  tables    Set the Jumpers on the board as shown on Figure 4 1  JP1  VDD 0CD1   JP3  EVDD VDD     JP2 and JP4 are not required 
47. ble by user       Table 4 2  SW5 configuration for FLASH programming via QB MINI2    ONOFF      ONOFF O          individual selectable by user        ON OFF  5  RxD1 connected   disconnected             4 2 Flash Programming via TK 78KOR debugger    Please refer to Chapter 10  How to use WriteEZ4 FLASH programming software  for information on  setting the board for flash programming using the TK 78KOR debugger     User s Manual U19818EE2VOUMOO 27    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 5 ON CHIP DEBUGGING    The 78KOR Link It  board offers two possibilities to use On Chip debugging  OCD      The board supports the QB MINI2 On Chip debug emulator in order to use the On Chip debug function of  the 78KOR KE3 L device  The system configuration for On Chip debugging is shown in figure below     Alternatively  the TK 78KOR On Board debugger allows On Chip debugging without a need of external  debug hardware  Within this mode the default USB connection to the Host computer based on the virtual  UART driver is used as debug interface  All standard debug functions are available in the On Board  debugging mode like FLASH programming   downloading  code execution  single stepping  breakpoints   memory manipulation etc       OCD via    S Q MINI2 On Chip Debug emulator        Perren              OCD via  On board Debug function    Figure 5 1  On Chip debugging  5 1 OCD via QB MINI2 emulator    To operate the board together with the QB MINI2 On Chip debug emulator  switch SW5 m
48. c  stabrliratian time selection to  ITE    Fi  CHE   0451     il Clock eperalicn mode register X1 osc  gode  ALi osc  mode  f  CEC    ws e yates clock control regrater folk   flh  s  LSC a Osu      enable XI   XIL operation     mhile OSTC  lt    xFF  4 Wer util ZAI clock stabilization lime hes beso elapsed    1    ne operation        CEC   mela  e yates clock control pegraber folk e far   2GHHe sy    CE   0x01     il shop internal high speed cscillsior 45  CEA  SL    EDBODA    CEA307    TEREF Init   CEA408  ADC Init        Tat Inin    ee  Display LBi      Display SetTemperature       STACK _In1t  Peles  5  FETS Init       Log  Tut Jum OF 1 58 44 009 Diels completo  Tue Jun 02 17 56 44 2008  Loaded debuges  Cyrrogram Piles MEC Electronics Toote  oK0R Link I SamelePragrancs Link_lt_Tamp_demo Debug Exe    Link  lil Temp_demod2    Tut Jun OF 1 58 45    008 Tarqol reset  Tug Jun 02 1750  2003  OKORA MIMICUIBE Executor El Da  OLD Control Code 2 00  B     Liesace chipnarme  URB 009 640 00964   nile version  1 11    E Boardnta DONA  producida 0 DE stron A  iranran 04 TE E    j  Debug Loa  DuA x    Ready NUM      Figure 11 8  IAR C SPY debugger       User s Manual U19818EE2VOUMOO 69    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 121O LINK TEMPERATURE SENSOR SAMPLE    The demo application shows the IO link communication protocol as well as different features present on the  board such as the display  Teach In   the Sensor  Temperature   the TMG Stack  the Elmos physical layer   an
49. ction to device  Port  COMB  Speed  1152    bps  Range Chip   Internal 015 E    Freq      Multiply   1 00       MOM       Figure 9 4   Device  menu    9 3 2 1  Blank Check  command  The  Blank Check  command allows you to make a blank check on the target device connected to    the WriteEZ4  If the flash memory of the target device is erased  a blank check is terminated  Fs normally  If the flash memory is not completely erased  the indication  not blank  is provided     Before starting programming  erase the flash memory of the target device     9 3 2 2  Erase  command    The  Erase  command erases the flash memory of the target device connected to the WriteEZ4   t Lly  While the flash memory is being erased  the progress status is displayed in the action log window  EN to indicate programmer operation  The execution on the  Blank Check  command before the     Erase  command is executed follows the setting of Command options  of the Advance tab  displayed by selecting  Device       Setup      Upon completion of  Erase  command execution  the GUI software displays the result of executing  the command on the target device     9 3 2 3  Program  command      The  Program  command sends a specified user program to the target device and writes the  program to the flash memory  The execution of Verify operation for detecting an error in user  program communication from the WriteEZ4 to the target device after the execution of the  Program   command follows the setting of the  Command
50. e IO Link master provides a 24V voltage rail to the board  A DC DC converter steps down that voltage to  provide the 5V  and 3 3V power supplies for the board     The board is equipped with dual current mode PWM step down DC DC converter with internal power  switches capable of generating two 1 4A outputs  Switch SW6 bit1 turns DC DC converter ON OFF     Table 3 13  DC DC power down control  SW6 bit1 configuration    DC DC converter active  OFF DC DC converter inactive    LED8  lights up when power switch SW6 bit1 is ON to indicate that the DC   DC converter is active        3 12 2 Transceiver bypass control  SW6 bit2 8    Switch SW6 bit2to bit8 allow the user to connected disconnect the IO Link transceiver to from the  78KOR KE3 L microcontroller     Table 3 14  Transceiver bypass control  SW6 bit2 bit8 Pin configuration    ON OFF VDD IO EVDD connected   disconnected  ON OFF P76 KR6 connected   disconnected  ON OFF SPEED P77 KR7 connected   disconnected     s   onor  um   ernus comveted dscomected           User s Manual U19818EE2VOUMOO 21    ERROR  REFERENCE SOURCE NOT FOUND        3 12 3 IO Link Transceiver    The transceiver has two functions  It is used firstly as an IO Link port Analog front End  It ensures the analog  front end of the IO Link communication channel by transforming the 3 wire 24V of the M12 IO link port to a  digital interface for the 78KOR KE3 L device     Secondly  it can be used as a power supply source     The communication and the power supply run v
51. e Wizard       The wizard has finished installing the software for     E NEC Electronics Starter Kit Virtual UART       Click Finish to close the wizard     Figure 8 16  USB Driver Installation Completion  Windows XP     User s Manual U19818EE2VOUMOO 41    ERROR  REFERENCE SOURCE NOT FOUND        8 8 Confirmation of USB Driver Installation    After installing the USB driver  check that the driver has been installed normally  according to the procedure  below  When using the Save It  board the  NEC Electronics Starter Kit Virtual UART  should be present like  in the figure below     Please check in the Windows  Device Manager  within the Windows Properties   Hardware  tab   that the  driver is installed normally                                  Es Device Manager    File Action View Help  e   MfS mma       Ed ETC LABOR       Computer     we Disk drives    id Display adapters     4 DVD CD ROM drives     4 Floppy disk controllers    A Floppy disk drives         IDE ATA ATAPI controllers   gt  Keyboards       Mice and other pointing devices     2 Monitors     BB Network adapters     Ports  COM  amp  LPT   4 Communications Port  COMI   E Communications Port  COM2   4 ECP Printer Port  LPT1  Check that  NEC Electronics  E NEC Electronics Starter Kit Virtual UART  COM3  Starter Kit Virtual UART  COM          Processors is present      amp  SCSI and RAID controllers           Sound  video and game controllers     X Storage volumes      System devices    Universal Serial Bus controller
52. e parameter window of the main window     9 3 3 2 2 Security flag settings  The   Security flag settings   dialog box is used to specify which security function is valid     Security fag settings     C Disable Chip Erase Nn      Disable Block Erase Boot black end  003 ll    Disable Program F5 Black start  000     g FS Block end  063       Disable Boot block cluster reprogrammir    Show Addres     Figure 9 14  Device Setup Window   Security flag settings    Caution The following table is the correspondence between the  Erase  and  Program  Commands  when the security functions of a 78K0R KE3 L microcontroller are valid     Chip Erase Command   Block Erase Command   Program Command    AA AUOT DOES Invalid Valid  Note2  Valid  Note2   cluster reprogramming    1  Since the  Erase  command is invalid  the data that differs from the data  Notes already written in the flash memory cannot be written        2  Valid only for the area other than the area specified as the boot area     Disable Chip Erase check box     If this check box is checked  the  Erase  command becomes invalid in the entire flash memory area of the  target device     At this time  the warning message shown below is displayed     WriteE74    A when  Chip Erase  is disabled  chip cannot be erased and programmed any more     os      Figure 9 15  Device Setup Window   Disable Chip Erase       User s Manual U19818EE2VOUMOO 52    ERROR  REFERENCE SOURCE NOT FOUND        Caution Be aware that if the security flag is set 
53. e tool    12 2 5 1 Common tab  The Common pane provides information on the device such as     Picture of the device   Device name  Product ID  Device ID  vendor name   Port used on the master  Here the kit is connected to port 0   Device description file  its version and date of creation   Device version    IO Link version     User s Manual U19818EE2VOUMOO 77    ERROR  REFERENCE SOURCE NOT FOUND        12 2 5 2 Process data tab  The Process data tab displays the sensor measurements  process data inputs from the sensor          10 Link Device Tool Sil  File Project Options View Help    iaa online Ra t 47     i Sreciaist         f Topology    Common   Process data   Parameter    E   TMG USE IO Link Master DE Processdata   0   BEDR Link Itl Temperature Sensor  gt  Process Data Inputs     ET m  o       Figure 12 16  78KOR Link It  Process data    The user can find information such as the Min Max Temperature values  the Current Temperature  and the  Threshold State  above  between  and below  representing LED1  LED2  and LED3 respectively      12 2 5 3 Parameter tab    The Parameter tab displays the default settings of the sensor  but also enables the user to teach the sensor  by writing new thresholds values to the board     From the tabs on the parameter page we can find general read only vendor specific parameters such as   Vendor and product names  Hardware  firmware revisions  From the tabs on the parameter page we can find read write device specific parameters such as   Uppe
54. gure 10 1 and refer to section 5 2   OCD via TK 78KOR On Board debug  function  for SW5  SW7 settings    User s Manual U19818EE2VOUMOO 63    ERROR  REFERENCE SOURCE NOT FOUND        Table 11 1  SW5 and SW7 setting for On Chip Debugging via USB          Table 11 2  SW6 setting for IO Link Communication       Transceiver  connected       11 2 Sample Programs    Each of the sample programs is located in a single directory  which will be called main directory of the  sample  This main directory of each sample contains the complete project inclusive all output files of the  development tool  The workspace file    78KOR_LINKIT_SAMPLES eww    is located on top of the sample  program directories  All sample programs use the same directory structure     Table 11 3  Example directory structure    E Application  D BSP Board support package  ADC  12C  Keys    T  E Release  E settings     stack    The main directory contains only the project files for the IAR Systems Embedded Workbench  78K0 78KOS 78KOR           User s Manual U19818EE2VOUMOO 64    ERROR  REFERENCE SOURCE NOT FOUND        All source files are located in the directories  SRC  The  INC directory contains the header files    Each sample project uses two targets   One target is the  Debug   directory  Debug   which holds all information for debugging purpose   The other target is the  Release  target  directory  Release   which contains the programmable file   i e  the Intel HEX file  for programming the 78KOR KE3 L internal 
55. he current parameter setting from the board     1  Under the  Value  column  click Left in the cell corresponding to the parameter you want to read     The cell is highlighted in blue and the current parameter value is displayed     v  10 Link Device Tool  File Project Options    View Help   dH 2    online i Be  Es t  7      Specialist        i       Topology   Common I Process data   Parameter                  amp      TMG USB IO Link Master DE z RAW Preadustment     0  78KOR Link It  Temperature Sensor  Vendor Name NEC Electronics  Europe  NEC Electronics  Europe     Vendor Text www eu  necel  com www  eu  necel  com    Product name 78KOR Link It  Temperature Sensor   78KOR Link It  Temperature Sensor     Order number     78KOR LINKIT   78KOR LINKIT    Hardware revision     1 10   1 10   Firmware revision         Lower Threshold   Upper Threshold     i   32  Celsius                   Figure 12 18 shows the reading of the lower temperature threshold of 29  C set on the board  Figure 12 18  Lower Threshold value reading    The same procedure is used to read the Upper threshold set on the board    User s Manual U19818EE2VOUMOO 79    ERROR  REFERENCE SOURCE NOT FOUND        12 2 6 2 Write parameter to the 78KOH Link It  Board sensor    The teach in functionality allows changing the valid temperature range on the fly by modifying the  Upper Lower thresholds    To write or teach a parameter to the board   1  Under the  Value  column  click Right in the cell corresponding to the p
56. host system and the 78KO0H Link it  board a standard USB    interface line is needed  Before you can download  debug or execute an application program  hardware and  software must be installed properly     6 2 CD ROM contents    The CD ROM shows the following directory structure     Table 6 1  78KOR Link It  CD ROM contents    LL Acrobat Acrobat Reader for 32Bit Windows OS       AR Systems IAR Embedded Workbench for 78K  IAR visualSTATE    c SamplePrograms Sample programs for the 78KOR Link It  Starter Kit    IO Link Temperature sensor demonstration  Program    Quick start empty project    B WriteEZ4 Flash Programmer WriteEZ4 incl  PRM file for  uPD78F1009       User s Manual U19818EE2VOUMOO 30    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 7 HARDWARE INSTALLATION    After unpacking the 78KOR Link It  development kit  connect the board via connector USB1 to your host  computer using the provided USB interface cable  When the 78KOH Link It  board is connected  the USB  driver needs to be installed on the host machine  Please refer to section  8 7 USB Driver Installation for    more details   7 1 78KOR Link It  Factory jumpers and switches Settings    The picture and tables below show the factory setting for the jumpers and switches on the board     VDD  VDDT       I BB    Bb B5    LUSBVDD       A MM EYDD  cE    DEM 8 Blipvoo    JP1    a fe fs fa js je  7 fa   gt        User s Manual U19818EE2VOUMOO 31    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER8 SOFTWARE INSTALLAT
57. ia 3 separate lines to the IO Link Master  The integrated  voltage regulator is able to provide up to 5mA current for external purposes  With an optional external boost  transistor  not mounted on the board   it is possible to supply external devices with a higher current  consumption     Caution The user must be aware of the current consumption of the application and the maximum     current rate of the boost transistor  if using this feature  Since a destruction of the boost  transistor  may also cause the destruction of other devices connected to the 5V voltage  rail provided by the boot transistor        TXEN    SPEED       GND  Figure 3 9  IO Link Transceiver Block Diagram    Further details on the transceiver can be found in the E981 10 datasheet available on the Link It CD ROM    3 13 Digital logic Power Supply switch  SW7    SWT is a 2 bits switch used to control respectively  the power supplies  L VDD  L EVDD  for the 7  segments displays driver  and the digital logic interface between the USB microcontroller  uPD78F0730  and  the 78KOR KE3 L     Switch bit1  bit2 to ON or OFF to apply or disconnect VDD and EVDD to L_VDD  and L EVDD respectively     Table 3 15  SW7 Digital Logic supply configuration    ON  Factory setting  L  VDD   VDD 7 seg display and LED7 active   OFF L  VDD Disconnected  7 seg display and LED7 inactive   L_EVDD   EVDD USB microcontroller interface active     L  EVDD Disconnected USB microcontroller interface inactive        User s Manual U19818EE2
58. if the QB MINI2 is used to power the board     Q MINI2 On Chip Debug emulator    DVDD  5y   3 3V    RAE D IN a    a  a   gt   a  E  we   J 8 3    3 34 B  em   d 191938 C     Y  m   vDD           Figure 4 1  Flash Programming via QB MINI2    Caution The maximum rating current of the MINICUBE2 is 100mA  therefore do not use MINICUBE2  with the target system with the higher current rating     For applications requiring higher current rate than the maximum rate of the QB MINI2  please use the power  select switch on the Q MINI2 to set the power supplied to the target system  and use an external power supply to  power the board     Figure 4 2 shows JP1  JP2  JP3  jumper settings used in this configuration     The Red Jumper is placed on DVDD as power will be provided by the DC DC converter    The Green jumper is placed between EVDD and OCD 1 to provide Q MIN2 with reference voltage  JP3 EVDD VDD    JP2 can be setto 3 3V or 5V    User s Manual U19818EE2VOUMOO 26    ERROR  REFERENCE SOURCE NOT FOUND        DYDD  5v   3 3V    JP2 0_ 8   VDDT     N   uo M    VDD  1     E 5    USBYDD         SM NE 8  lovpp    3 34 MB    er   EVDD 189    vpp 158    Figure 4 2 Jumper settings for flash programming in high current applications       For more details on the QB MINI2  please refer to the QB MINI2 user s manual     Table 4 1  SW7 configuration for flash programming On Chip Debugging via QB MINI2    ON OFF       L VDD   VDD Disconnected    OFF L EVDD   Disconnected        2 individual selecta
59. illator Selection   Frequency box     Sets the clock frequency of the target system  The range of operating frequency varies from one  device to another  So  check the specifications of the device used before making a setting     User s Manual U19818EE2VOUMOO 49    ERROR  REFERENCE SOURCE NOT FOUND         Multiply rate   Specifies the division rate or multiplication rate of the target device  If the target device has an on   chip PLL circuit  enter a division rate or multiplication rate according to the use environment  The  selectable division rate or multiplication rate differs depending on the device   Check the specifications of the device used before making a setting   If the target device does not have an on chip PLL circuit  select  1 0    On the initial screen  the default setting is displayed according to the parameter file   9 3 3 1 4 Operation Mode  The setting of  Operation Mode  may divide the flash memory of some target devices into blocks or  areas   This menu is used to select an operation mode of the flash memory  Some devices do not have the    block and area division modes  and some devices have only one of the modes  In these cases  a  nonexistent mode is not selectable     Operation Made    t  Black ES      C m  Figure 9 10  Device Setup Window   Operation Mode     When Chip is selected    The entire flash memory area of the target device is subject to rewrite processing    When Block is selected    Specify the Block number range subject to rewrite proce
60. in the target device  neither erasing nor writing to  the device can be enabled afterward        Disable Block Erase check box    If this check box is checked  the  Erase  command becomes invalid in all the blocks of the flash memory  selected under Operation Mode in the Standard Setup menu  This setting is cleared by the  Erase  command  when Chip was selected under Operation Mode      Disable Program check box     If this check box is checked  the  Program  command becomes invalid  as does the  Erase  command in all  the blocks of the flash memory selected under Operation Mode in the Standard Setup menu     The  Erase  command for the entire flash memory area is valid  This setting is cleared by the  Erase   command when Chip was selected under the Operation Mode      Disable Boot block cluster reprogramming check box     If this check box is checked  the boot area is set with the boot block set in the Boot block Cluster setting as  the last block  At this time  the warning message shown below is displayed     WriteE 4    A When    Boot block cluster reprogramming    is disabled  boot block cannot be erased and programmed any more     cancel      Figure 9 16  Device Setup Window   Disable Boot Cluster Reprogramming warning       Caution Be aware that if the security flag is set in the target device  the boot area cannot be  rewritten to the device afterward       9 3 4  View  menu    Clicking the  View  menu displays the pull down menu shown below        WriteE74    File De
61. ing  Blank check before Erase    10 1 Installing the WriteEZ4 GUI software    Install the WriteEZ4 GUI software on the host machine you are using  by referring to section 8 4 WriteEZ4  installation  if the software has not been installed yet      10 2 Installing the driver    Install the USB driver on the host machine you are using  by referring to section 8 7 USB Driver Installation   if the driver has not been installed yet      10 3 Installing the parameter file    The parameter file    prm  for the uPD78F1009 is located on the CD ROM  in the same folder as the  WriteEZ4 setup file     Nevertheless  newest version of parameter file for the y PD78F1009 device can by download from the NEC  Electronics Web site     Download the parameter file for the PG FP4 from the following NEC Electronics Web site     htto   www eu necel com updates    Copy the parameter file downloaded from the NEC Electronics Web site into sub directory   WriteEZA EXE   install path gt  PRM created during GUI software setup  refer to section 8 4 WriteEZ4 installation      User s Manual U19818EE2VOUMOO 56    ERROR  REFERENCE SOURCE NOT FOUND        10 4 Connecting and starting    Set the 78KOH Link it  board to the WriteEZ4 FLASH programming mode by switching SW5  SW7 and  jumpers JP1 to JP4 to the following setting               PHA VDD       0001    21M pir    oe E mei  J 2 5 N m VDDT    51 E E    SE EIE BM    AV B      jgspupp      EVDD O a          fae 8 oe LI  0 ee T     451449     ACTTTITTTETEPIM la
62. ink It  board via USB1 connector to the target device   Run the WriteEZ4 flash programming software   Select  Device       Erase  from the menu bar  or Click the erase button    After finishing the flash erase following message shall apply    WriteEZ4    File Device View Help    Pm Lj     gt  gt  COMMAND  Erase Device  Flash Blank Checking    Mame   D 78F10039  Flash Erasing     chip erase finish  Firm Version  1 00  E  tCade   EFO4DCFOh    Vendor   10h    Farameter file  Mame     81009  Format   0419  Version   44 00  Processor Ver  0200    Load file   Mame  LINKIT DEMO  HE     Date  2009 03727 12 34 35  Chksum   SBF3h    rea    OD0000h 004781   Connection to device  Port  COME  Speed 115200bp   Range Chip  Freq    Intemal  LI 5C  Multiply   1 00    p                    Figure 10 9  WriteEZ4 flash erase successful    User s Manual U19818EE2VOUMOO 62    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 11 IAR EMBEDDED WORKBENCH 78KOR LINK IT  SAMPLE PROJECT    The IAR Embedded Workbench IDE is a very powerful Integrated Development Environment that allows you  to develop and manage a complete embedded application project     The now described project can be found on the 78KOH Link It  CD ROM in the   samplePrograms  folder     To run debug the project with the IAR C SPY debugger it is necessary to follow the steps described below in  this chapter     For further information about the IAR Embedded Workbench ant the included functionalities please refer to  the regarding User s 
63. ink device tool can be used for the configuration of IO Link masters  setting and steering parameters  as well as the diagnosis of IO Link devices     IO Link master initiates the communication  and channels information from the board to the host machine   The operator is able to see the information on the host machine via the installed IO Link Device Tool     12 2 1 Getting started with the TMG master     1  Launch the IO Link device Tool     2  Once the tool is up and running  two panes can be seen in the GUI  Topology on the left  and  Catalog on the right  see Figure 12 6       Y IO Link Device Tool    Fie Project Options View Help    idu  ome Sec      Topology       ert Catalog  exit online connection     j 2 Omm  Device catalog 2 65 Vendor  Online status    3 ra         Vendor    setup online connection x    BALLUFF      Leuze    SEMSOP4RT       3 SICK AG    Topology   S TMG TE GmbH  Common field       Figure 12 6  IO Link Device Tool GUI  The topology pane shows the topology from the PC interfaces to the IO Link Devices  The Catalog pane shows all the Devices installed with the tool   On the symbol bar  two icons  setup exit online connection  allow to set the IO Link line status   When the line is Online  the    Online status    symbol will blink green with the symbol    online       The common field is currently blank but it will display the description of the devices present in the Topology  view    User s Manual U19818EE2VOUMOO 72    ERROR  REFERENCE SOURCE NOT FOU
64. lease contact the dealer from  whom you received your 78KOH Link It     1  The Technologie Management Gruppe  TMG  Technologie und Engineering GmbH   stack is for evaluation purposes only  For mass production end products  a full  license must be purchased from TMG     2  The TMG IO Link Master and TMG IO Link device Tool are referenced in this  manual  However   they are not included in the package    Notes Please contact TMG directly for details on obtaining the full license  the TMG IO   Link Master and TMG IO Link device Tool    Technologie Management Gruppe Karlshrue   Technologie und Engineering GmbH     Internet  www tmg karlshrue de    3  Please also note that the M12 cable shown in this manual is not included in the  package     1 2 Features    NEC Electronics uPD78F 1009 low power consumption general purpose NEC 16 bit 78KOR MCU  NEC Electronics uPD78F0730 MCU with on chip USB interface   E98110A Elmos lO Link Transceiver   4 x 7 segments LEDs driven by serial interface    Power Supply by USB interface  external power supply  or M12 cable    On Board debug function  TK 78KOR debugger     User s Manual U19818EE2VOUMOO 9    ERROR  REFERENCE SOURCE NOT FOUND        The 78KOR Link It  board supports an On Board debug function by using the IAR C SPY debugger  without a need of additional debug hardware  It allows FLASH downloading and standard debug  functions like code execution  single stepping  breakpoints  memory manipulation etc     The IAR Embedded Workbench for 78
65. low VDD IO UV Please refer to the  wawe    98110 datasheet available on the CD ROM for more  details     MINICUBE2 via OCD1 connector  Note2     5V VDD for 78KOR KE3 L from OCD1     1  DEN NM IO Link transceiver transmitter is disabled if VDD IO is  ras     Des Gre below VDD IO UV Please refer to the E98110    USBVDD__     gt    datasheet available on the CD ROM for more details              1 2       M12 cable via M12 connector or AC Adaptor from Jack1   5V VDD for 78KOR KE3 L from DC DC converter  Discrete VDD     Internal regulator of IO Link transceiver used by the transceiver  only    JP4  pins 1 and 2  must be closed   M12 cable via M12 connector or AC adaptor via Jack1     5V VDD for 78KOR KE3 L from internal regulator of IO LINK  Transceiver     NM 1  Q1 has to be mounted on the board  Note1    wwwwe 5 JP4  pins 2 and 3  must be closed     Board Power supply from M12 via M12 connector or AC Adaptor  via Jack1     Transceiver s 5V VDD from DC DC converter  Internal regulator of  transceiver not used     1  JP4 must be opened     wre  2  The Black Jumper must be moved to pins 5 and 6    Note 1 An additional NPN transistor  not mounted   must be used  Care must be taken  to evaluate current consumption when choosing this transistor  If the transistor gets  ame destroyed  other components connected to the SV rail on the board may also be destroyed     Note2 By supplying power from the MINICUBE2  external hardware must not be connected to the  board  Within this mode the b
66. m is loaded  a checksum calculation is made and the result is  displayed in the programmer parameter window      Open button   selects a user program as a program to be written to the target device      Cancel button   closes the window without selecting a program     9 3 1 2  Quit  command    The  Quit  menu is the command for terminating the WriteEZ4 GUI software  Clicking the  X   box on the top  right side of the task bar also terminates the WriteEZ4 GUI software     User settings are saved in the WriteEZ4 INIfile  so that the GUI software starts up next time with the same  settings     WriteEZA INI is created in the Windows folder when Windows XP is used   Notes  When Windows 2000 is used  WriteEZ4 INI is created in the Winnt folder    User s Manual U19818EE2VOUMOO 45    ERROR  REFERENCE SOURCE NOT FOUND        9 3 2  Device  menu    Clicking the  Device  menu displays the pull down menu as shown below  This menu mainly contains  commands for programming operations such as deletion  programming  and verification on the target device      zs WriteEZ4  File MEISTE View Help  Blank Check   Erase  Program  verify Mame      Device    Security     Checksum    Autoapracedure EPV    Signature read  Get Security settings    Setup       Firm Wersion    E  tCade    Vendar    Parameter file  Mame   FBF1008  Format    1413  Version      1    t  Processor ver  0200    Load file   Mame  LIMKIT DEM   HEX  Date      2008 03 27 12 34 35  Chksum   86F9h    rea      DO0000h 001187 h   Conne
67. manuals available on the 78KOHR  Link It  CD ROM in the ATAR Systems Ndoc     folder     The 78KOR Link It  is shipped with the demo software programmed to the  78KOR KE3 L s internal memory  Make sure that the Flash memory is erased properly  before the first project download to the target device  Refer to section 10 11  Erasing  the flash memory  using the WriteEZA      Notes    11 1 Hardware setup    To run the program it is necessary to set up the 78KOH Link It  board in the following way     The communication between the starter kit and the IAR C SPY debugger running on the host computer is  done via the standard UART   USB connection     To operate the 78KOH Link it  board within the TK 78KOR On Board debug mode  configure switches SW5 to  SW7 and Jumpers JP1 to JP4 as instructed in the following figure and Tables          USB Cable            TMGUSB oz  IO Link Master           IICA  WENT  SSA E g I    Fi     aia E    Y  j   ee   Nw   T    Host Machine       DYDD  L1   3 3   VOD  1P  5  NE   DDT     S0 BN    4      OCD1    A BS EYDD    6   3     33v B    USBVDD a JP1  I3 TE LJ E   vpp Le      E TIME           OCD via    On board Debug function J SW7 SW5       Figure 11 1  IO Link and On Chip Debugging via USB    Figure 11 1 shows the jumper setting when the board is used for an IO Link  application  If you are not using the board for an IO Link application and USB port   Notes power supply is sufficient for your application needs  please use the jumper setting  from Fi
68. n       From the Port list box  select the communication port that matches the host machine being used  Select the  communication speed of the Host connection     ES Device Setup    Standard   Advance      Parameter file 87009  prm PRM File Read    Host connection Supply oscillator    Port   COME     Frequency      Speed     Multiply rate      Operation Made    t  Black End       m lis      Target Reset Message       Figure 10 5  Port Selection    Remark Selectable ports can be checked using Device Manager  For details  refer to 8 8  Confirmation of USB Driver Installation     User s Manual U19818EE2VOUMOO 59    ERROR  REFERENCE SOURCE NOT FOUND        Click the OK button  The GUI software sets the parameters   When the settings have been completed  the following screen is displayed     WriteEZ4    File Device View Help    b gt  FlashOpenning     Device  Flash Open DF  Mame      gt  gt  COMMAND  Device Setup   PAM File Head UK  Firm Version      ExtCode    ANC Vendar    Parameter file    n z  oc   H 5 oF 1009  PRM File Read OK   is displayed  pn 0415    Version  49 00  Processor Ver  0200    Load File    The display is updated     Connection to device    COME  1152    bps  Chip  co Intemal D5L  Multiply   1 00       Figure 10 6  Completion of Parameter Setting    10 7 Selecting a user program    Select  File     Load    Select a program file to be written to the target device  then click Open    WriteEZ4    File Device View Help    b gt  FlashOpenning       Flash Open OK Mame
69. n is now active and we can have a closer look at the device and the sensor    application running on the board    The Common pane provides information on the connected device such as     Device name  78KOR Link It  Temperature Sensor  Device ID  0x18C000   Vendor name  NEC Electronics  Europe    Vendor ID  0x018C    Picture of the lo Link device connected to the master    User s Manual U19818EE2VOUMOO    76    ERROR  REFERENCE SOURCE NOT FOUND        12 2 5 78K0R Link It  Board sensor demo in IO Link device tool    In this section we see how the 78KOH Link It  Board works with the IO Link Master and how the demo s  features explained earlier can be used from the IO Link Device tool GUI     Left click on the 78KOH Link It  in the topology pane to display generic information on the board in the  Common pane     Next to the Common tab  two other tabs can be seen  Process data and Parameter       10 Link Device Tool    File Project Options View Help    iid   2  S Onne    Egt 47 4    Specialist y          Topology    Common   Process data Parameter               J TMG USB IO Link Master DE     0  78KOR Link It  Temperature Sensor N IO  Li n k    Device name   78KOR Link It  Temperatur Hersteller   NEC Electronics  Europe            Port 0  Producer ID   Ox018C     Device ID     Ox18C000 E     Device description   NEC IOD QMDI8C OWI8COD0XML  Document version  o   Device version 1 0    Date of creation  May 27  2009    D Link version  1          Figure 12 15  78KOR Link It  in devic
70. ncluded  see section 1 3 1  Optional system requirements for more details   The Master powers and  connects to the demonstrator board via the M12 connector using a M12 cable  not included   The board will  be working as an IO link sensor demonstrating the application stored in the Microcontrollers memory     2 1 2 Standalone Mode    When the board is not used in an IO link application  the board is in    standalone mode     In this mode  the  user can use the microcontroller for application development and debugging  The demonstration board is  connected to the host system via USB interface with USB cable provided  See  Figure 2 2  The host system  may be used for On Chip debugging by using the IAR C SPY debugger and to allow execution of application  programs on 78KOHR Link It  board  It is also used to power the board     User s Manual U19818EE2VOUMOO 12    ERROR  REFERENCE SOURCE NOT FOUND        In  standalone mode   the M12 cable must be disconnected and an AC adapter  Caution may be used to power the board if more than 500mA  USB maximum current load   is required    Remark The user can optionally use an external AC adapter  the MINICUBE2 not included   or the  USB interface  to provide power to the board  See Table 3 1  Power supply selector  JP1  configuration for details    The microcontroller on the board can run at up to 20 MHz operating speed  The sub clock is provided with a  32 768 kHz  A 18 432MHz external crystal is also available as main clock                
71. nk It  Temperature  sensor  in the IO Link Devices section of the catalog      v IO Link Device Tool  Fie Project Options View Heb    Te a       Vendor    CO BALLUFF    Leuze  5  Y NEC Electronics  Europe     78K0R  Link It  Temperature Sensor  78KOR Link It  ini Sese  s    SICK AG         TMG TE GmbH    TMG IO Link Master 0 Pl USB IO Link Master    e IO Link Dewvices       The TMG USB IO Link master can also be seen under PC Interfaces section of the catalog   Figure 12 9  78KOR Link It    Device catalog    12 2 4 IO Link communication set up  1  From the Catalog pane  drag and drop the TMG USB IO Link Master into the Topology pane     2  Left click on TMG USB IO Link Master DE in the Topology pane  and the IO Link Master s details  can be seen in the Common pane  centre section of the window       v  10 Link Device Tool    File Project Options View Help    AaS one Ee  t e274     ses JO   Topology common  e   E e PC Interfaces        TMG USB 10 Link Master DE 5    T d   lire und 2   Vendor  Q 10 Lin k A t a a   Balluff   d     Leuze    5 3 TMG  Device TMG USB IO Link Master DE   Vendor TMG TE GmbH   4 TMG USB IO Link Master        NE DP Devices  S  IO Link Devices    Catalog       Tzchnaleglz Wanaperient Grippe       Version   1 0 7    Interface TMG USB IO Link Master DE v   uj       Connected Device             dj  Device name   NEC Electronics  Europe   Device 1D   a 78KOR Link It  Temperature Sensor  G5 SENSOPART  Wendor name   B SICK AG  Vendor ID      ES TMG TE GmbH    
72. oard can operate without external power supply from USB    User s Manual U19818EE2VOUMOO 15    ERROR  REFERENCE SOURCE NOT FOUND        3 2 Discrete Voltage rail selector  JP2    JP2  configures the voltage level  DVDD   provided by the DC DC converter to power the board  The user  has the choice between 3 3V and 5V     Table 3 2  DVDD  JP2 Pin configuration    LN Closed  Default  DVDD   5V    33    O port voltage control  JP3       Figure 3 3 DVDD selector  JP2    Use JP3 to apply 3 3V or 5V to the I O port reference input pin EVDD of the 78KOR KE3 L  A different  reference voltage may also be applied by using an external power source     Table 3 3  EVDD  JP3 Pin configuration    Closed  Default    EVDD   VDD  Figure 3 4  EVDD selector  JP3 EVDD   3 3V    3 4 VDD Transceiver selector   JP4       JP4 controls the transceiver s VDD voltage usage     Table 3 4  VDD Transceiver  JP4 Pin configuration    a Closed Default    internal regulator active    Closed external Transistor Q1  active  not supported       external supply of VDD   Figure 3 5  VDD Transceiver selector  JP4   1 2 3 4 internal regulator inactive    3 5 M12 Connector  M1   The M12 connecter allows the board interfacing with an industrial type master device  Figure 3 6 gives the  wiring scheme for the plug  Pin 2 is not currently used for IO Link  This pin is connected to Test pad T43 for  future use                                   Remark  24 Volt  e   Ground    Communication    switching signal       Figure 3 6
73. ok similar too the figure below        AR Embedded Workbench IDE  File Edit  View Project Tools Window Help  D GG  amp     A SS Bee  gt  A D    PS FFFFFLKFLHKFFHKALFKFFKFLFLFHKFHKAFHKKLFKFFKFFFFFKAFFKKFLKFHLKFFKFFKLLFKAFHKFFFLFFFF    Fa LI  lot    Files Co  E CfLink It  Temp demo  Debug v  ka C3 Application     Haa anc void main void      AASRC       E  Display c OSMC   0x01     Operation speed mode control register frequency higher than 10MHz           4 Function Implementation        OSTS 0x07     Set osc  stabilization time selection to 2 18 fx     E  Temperature c CMC 0x51     Clock operation mode register Xi osc  mode  XTi osc  mode  fx  gt  10MHz      Ha C39 BSP CKC   0x08     System clock control register fclk   fih      Ha C3 Stack CSC   0x00     enable Xi   XTi operation      La C3 Output while  OSTC  lt  OxFF     Wait until fXQ1 clock stabilization time has been elapsed        __no_operation         CKC  CSC      0x18     System clock control register fclk   fmx   20MHz       OxOl     stop internal high speed oscillator      TEMP Init        ADC_Init       I2C_Init       Display Init      Display SetTemperature       STACK Init Params    KEYS Init       Overview   Link It  Quickstart  ink Itl Temp demo fo    Messages    Build   Find in Files x    Ready Errors 0  Warnings O Ln 90  Col 26 NUM m       Figure 11 3  IAR Embedded Workbench Main IDE window       To verify that the right debugging device is chosen please open the project options window by clicking  Project 
74. oller is reserved for on   board FLASH programming and debugging purpose     Switch SW5 bit2 and bit3 OFF to disconnect the single line UART from the uPD78F0730 USB  microcontroller     Within this mode  no debugging is supported  The user can establish standard serial communication  via UART1 to a terminal program running on the HOST PC  see section 3 11 3 for more details      Switch SW5 bit9 controls the RESET signal of the TK 78KOR debugger  Switch SW5 bit10 controls the FLMDO signal of the TK 78KOR debugger    Switch SW5 bits 9 and 10 ON  only when the TK 78KOR debugger is used    Table 3 9   TK 78K0R debugging  configuration  SW5 bit2   bit3     bit9     bit10    OFF Disable TK 78KOR debugger functions  Enable TK 78KOR debugger functions       User s Manual U19818EE2VOUMOO 19    ERROR  REFERENCE SOURCE NOT FOUND        3 11 3 UART mode selection  SW5 bit4 bit5    The user can establish standard serial communication via UART1 to a terminal program running on the  HOST PC     Switch bit4 and bit5 of SW5 ON or OFF to respectively connect or disconnect the UART1 signals  RxD1 and TxD1 of the 78KOR KE3 L  to the uPD78F0730 USB microcontroller     Within this mode  standard serial communication to a terminal program running on the HOST PC can  be established     Note  when communication with the Host PC is required  the user must ensure the On board  debugging function is disabled  see section 3 11 2 for more details      Table 3 10  UART mode selection  SW5 bit4 bit5    OFF 
75. on compliance with the EMC protection requirements   this equipment  has no autonomous function  Consequently this equipment is not marked by the  CE symbol     EEDT ST 005 10    CAUTION    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  The user operator must be grounded using  the wrist strap  The connectors and or device pins should not be touched  with bare hands     EEDT ST 004 10    For customers in the European Union only    Redemption of Waste Electrical and Electronic Equipment   WEEE  in accordance with legal regulations applicable in the  European Union only  This equipment  including all  accessories  is not intended for household use  After use the  equipment cannot be disposed of as household waste  NEC  Electronics  Europe  GmbH offers to take back the equipment   All you need to do is register at http   www  eu necel com weee       User s Manual U19818EE2VOUMOO 3    Regional Information    Some information contained in this document may vary from country to country  Before using any NEC product  in your application  please contact the NEC office in your country to obtain a list of authorized representatives    and distributors  They will verify     Device availability    Ordering information    Product release schedule    Availability of related technical li
76. onnected to user hardware     Several connectors are available in order to be connected to host computers  FLASH programmer or any  external target hardware      ZSKOR  KE3 L                      IO Link  Transceiver 4  digit    E Power numeric display  Minicube 2 Boost Gane arabic Supply  Interface Transistor m in Selection External A D  vDD  FP1 Jumper Jumpers Serial Interfaces        iO  Test points area    JP4 AE TPxH        Operational i  Status SS        es 07 ss loves  Indicator ug Link itt Lr j   TIEN PEERI  LED6          fer  OOO O    a ha ak MET     d PTF EJI   eaen a    T3    Temperature  sensor         0000000000000000000     MIR  Sensor    00000000    IO Link  Communication  status LED 7         EPA    fO000009    000000     000000    00000000000000  0000000000000000000000   A11   Ye    Eo         fe    GND  4 pin M12 GZ E            E 3m  Male  angled zx    Receptacle    MEL     1000000000000c00000000   0000000000000000000008     000000007  ELLEELLE    07100000000000000000     U  e          0000006095590000000000000     pa AO    ODO         jx Ll    a p     T E TIENEN  Tea  REM T AU 2 Ta                   vDD   xc M E  ha DC DC EYDD Navigation USB Sw 1    SY 3 3 Interrupts    co Status 54   3 3   SW  On board Reset P Prototyping  selector E e kan r r   SY 7  SW  1p  selector debugging area  LEDS L   DD   MES DC DC L EVDD  X Configuration    Control  SW 7    Input JACK1 SW      Figure 3 1  78KOR IO Link board Components    3 1 Power Supply Selector JP1       Figu
77. ory NTAR Systems Nvs78k  of the CD ROM     User s Manual U19818EE2VOUMOO 39    ERROR  REFERENCE SOURCE NOT FOUND        8 3 Device file package of 78KOR Kx3 L for IAR Embedded Workbench installation    To install the device file package of the 78KOR Kx3 L for the IAR Embedded Workbench  press the   Additional software  button from the Autorun of the CD ROM provided within the 78KOR Link It  package   The setup dialogues will guide you through the installation process  The installation can also be started by  executing the EW78K setup 78K0R Kx3 L Vi1 11 exe inthe directory ADevice file package  of  the CD ROM     8 4 WriteEZA installation    To install the WriteEZ4 just press the  Additional software  button from the Autorun of the CD ROM provided  within the 78KOA Link It  package  The setup dialogues will guide you through the installation process  The  installation can also be started by executing the WriteEZ4 V102 EE exe in the directory  WRITEEZ4    of  the CD ROM     1  Create a sub directory PRM in the WriteEZ4 install directory   lt WriteEZ4 EXE install path gt  PRM    2  Copy the parameter file into the sub directory  lt WriteEZ4 EXE install path gt  PRM created during GUI  software setup    The regarding 78F1009 prm file can be found on the CD ROM in the folder    CD ROM WRITEEZ4 PRM files       8 5 78KOR Link It  Sample program installation    To install the sample demonstration programs for the 78KOH Link it  board  press the    78KOR LINK IT  Demonstration Program
78. r  IAR Systems Embedded  Workbench and IAR Systems C SPY debugger   simulator        User s Manual U19818EE2VOUMOO 10    ERROR  REFERENCE SOURCE NOT FOUND        13 System requirements    HOST PC A PC supporting Windows 2000 or Windows XP is required for the IAR  systems Embedded Workbench demo version  A Pentium processor with at  least 1 GHz CPU performance  with at least 256 Mbytes of RAM  allowing  you to fully utilize and take advantage of the product features  500 Mbytes  of free disk space  and an additional 10 Mbytes of free disk space on the  Windows system drive     A web browser and Adobe Acrobat Reader to be able to access all the  product documentation     Host Interface USB interface that enables communication based on USB  Ver1 1 or later     Updates of the IAR Embedded Workbench for 78K  documentation and or utilities for  Notes 78KOR  Link it   if available  may be downloaded from the NEC WEB page s  at   http   www eu necel com update id 307    1 3 1 Optional system requirements    User may choose to purchase the following additional equipments for the development of IO Link  applications     TMG USB IO Link Master  PC software  TMG IO Link Device Tool for configuration and analysis   Please contact TMG directly for details on the TMG IO Link Master and TMG IO Link device Tool    Internet  www tmg karlshrue de    Double Ended 4 pins M12 cable     1 4 Trademarks    IAR Embedded Workbench  visualSTATE  IAR MakeApp and C SPY are registered trademarks of IAR  Sy
79. r Lower Thresholds       e 10 Link Device Tool    File Project Options View    id   S Onine EP   e   Specialist      gt              Topology Common    Process data  Parameter  E 1 TMG USB 10 Link Master DE   RAW   Preadiustment    z  0   BK  R Link Itl Temperature Sensor 3  NEC Electronics  Europe  NEC Electronics  Europe          WIAWAL eu  necel cam   WAAL eu  necel  corn    psa                  m m la  A    Product name   PFBK  R Link Itl Temperature Sensor    SK  R Link It  Temperature Sensor  Order number FSEDOR LINKIT   FSEOR LINKIT                                                                                                                                    Hardware revision   1 10   1 10                                                       1 10      Lower Threshold                Upper Threshald     Celsius          Figure 12 17  78KOR Link It  Parameter page    User s Manual U19818EE2VOUMOO 78    ERROR  REFERENCE SOURCE NOT FOUND        12 2 6 78KOR Link It  Board sensor Teach in    When the user opens the parameter page for the first time  the device specific parameters are set to their  default values     The    Pre adjustment    and  Value  columns match each other in the parameter page  see Figure 12 17   78KOR Link It  Parameter page    The  Pre adjustment  column displays the default sensor settings    The  Value  column displays the current sensor settings    12 2 6 1 Read parameter from the 78K0R Link It  Board sensor  To read or refresh the display of t
80. re 3 2  Power Supply Selector JP1    Jumper JP1 is the power supply selector of the board     In default mode  IO Link mode  JP1 1 4 closed  the board is powered by the IO link Master  not included      via the M12 connector  The board will be working as an lO link sensor demonstrating the application stored  in the Microcontroller s memory     If the board is not used in an IO link application  the board is in  standalone mode   The user can use the  microcontroller for application development and debugging  In  standalone mode   the M12 cable  not  included  must be disconnected and an AC adapter may be used to power the board     User s Manual U19818EE2VOUMOO 14    ERROR  REFERENCE SOURCE NOT FOUND        Additionally  if an AC adapter is not available to be used in standalone mode  the user can optionally use the  MINICUBE2  or the USB interface  to provide power to the board     When powered from the M12 connector or the AC Adapter  the user can then select whether to provide the  VDD voltage rail to the microcontroller  from the regulator output from the IO Link transceiver or the DC DC  Converter available on the board  LED6 lights up when power is apply to VDD  by setting JP1     The table below summarizes the configuration options for the power supply selector JP1     Table 3 1  Power supply selector  JP1 configuration    Power supply from USB via connector USB1   5V VDD for 78KOR KE3 L from USB1     The IO Link transceiver transmitter is disabled if  NM VDD IO is be
81. re came with an installation CD  42 or floppy disk  insert it now           What do you want the wizard to do             Install the software automatically  Recommended     A Ta a a E a ST    AAA  AAA AAA       Check that  Install from a list or  specific      is selected              Click Next to continue        aoa      Bak    Nee      Figure 8 12  Found New Hardware Wizard 2  Windows XP        User s Manual U19818EE2VOUMOO 39    ERROR  REFERENCE SOURCE NOT FOUND        3  Check that  Search for the best driver in these locations   is selected  Select the  Include this  location in the search   check box and then click Browse         Found New Hardware Wizard            1   Check that  Search for the Please choose your search and installation options  e   best driver in these locations   y  is selected            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          AAA    Include this location in the search     2   Check  Include this        E  B  location in the search    b          only                       Don t search    will choose the driver to install     Choose this option to select the device driver from a list  Windows dogs not guarantee that    the driver you choose will be the best match for your hardware      lt 3 gt  Click     Figure 8 13  Search Location Specification 1  Windows XP         4  Locate
82. rom the value displayed in the parameter window of the main window     9 3 2 7  Autoprocedure  EPV   command    The  Autoprocedure  EPV   command executes the  Erase  command   Program  command and  NE  Verify  command in succession  When a user program is to be resent to the target device for  EN comparison with the data written to the flash memory of the target device because of a user  program communication error  execute the  Program  command by selecting  Device           Setup  and specifying  Command options  on the Advance tab  then set the automatic execution of  the  Verify  command     During EPV execution  the progress status is displayed in the action log window to indicate  programmer operation  For a selected command  its execution operation  and messages  refer to  Chapter 10     Upon completion of  Autoprocedure  EPV   command execution  the GUI software displays the  result of executing the command on the target device     9 3 2 8  Signature read  command    The  Signature read  command reads the signature information  device name  flash memory  information  and so forth  of the target   9 3 3  Setup  command    user environment and to set command options  Each time the GUI software is started  the most  recently used parameter file   PRM  is read and the settings are displayed  The  Setup  menu  allows you to modify the settings of items other than those items consisting of shadowed  characters according to the user environment     J The  Setup  menu allows
83. ry with a 2 5V reference voltage rail applied to  AVREF  via R40     User s Manual U19818EE2VOUMOO 18    ERROR  REFERENCE SOURCE NOT FOUND        3 11 1 Standalone   debug mode selection  SW5 bit1    Switch SW5 bit1 controls the operation mode of the board  when a USB cable is connected to USB1  and the  TK 78KOR Debugger is used     Switch SW5 bit1 to ON sets the board to  stand alone mode       Within this mode  the 78KOR KE3 L RESET can be controlled by the user via switch SW1 and by the  IAR C SPY debugger  The program stored in the internal FLASH memory of the 78KOR KE3 L  microcontroller is executed  The usage of the On Board debug function  TK 78KOR debugging  is  also supported within the  stand alone mode      Switch SW5 bit1 to OFF sets the board to the    debug mode  exclusively     Within this mode the 78KOR KE3 L device is permanently held within RESET state  Only the IAR C   SPY debugger can control the RESET signal within this mode  The RESET switch SW1 is inactive     Table 3 8  Operation mode selection SW5 bit1    OFF Debug mode only    3 11 2 On Board debug function via USB selection  SW5 bit2     bit3     bit9     bit10       SW5 bit2 bit3  bit9 and bit10 are controlling the TK 78KOR Debugger interface with the 78KOR KE3 L  Switch SW5 bit2 and bit3 ON  to enable On Board debugging via USB   Within this mode a dedicated single line UART  pin ToolO  of the 78KOR KE3 L is connected to the  uPD78F0730 USB microcontroller  Pin ToolO of the 78KOR KE3 L microcontr
84. s       3                Figure 8 17  Windows Device Manager    User s Manual U19818EE2VOUMOO 42    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 9 FLASH PROGRAMMER WRITEEZ4    WriteEZ4 is a flash programming software to flash hex files to the related device  For installation information  refer to the chapter 8 4  WriteEZ4 installation     9 1 Starting up the GUI Software    GUI software startup    Select WriteEZA EXE from the start menu to start the WriteEZ4 GUI software   When the GUI software is started normally  the following screen appears     Menu bar LEAMA     File Device View Help    VI  Im A EA BX  Flash Open OK Name   Programmer  Firm Version    ExtCode   parameter  Vendor   window               Tool bar    Parameter file  Name    Format        Version    Action log Processor Ver   window T Load file    Date    Chksum    Area   Connection to device  Pott    Speed    R  Status ba Eon Internal OSC    Multiply   1 00    Figure 9 1  WriteEZ4 Startup  This window consists of the following items     Table 9 1  WriteEZ4 Windows items    Menu bar Displays menu items executable by the   displayed at the top  Pese  Toolbar  Displays frequently used commands as icons    displayed under the menu bar    Action log window Displays an WriteEZ4 action log     displayed under the toolbar     Programmer parameter window Displays programming parameter settings    Displayed to the right of the action log window      Status bar Displays status         User s Manual U19818EE2VOUMOO 43
85. se flash before next ID check    Main clock Sub clock    2  i5      External f  Extemal ctu   a oy    18 432    MHz  32 768    kHz E    Flash programming Target power aff Target connect     Permit t  Permit  t  Mot Permit f Mot Permit    Fin mask Penpheral break   n   TARGET RESET    A  timer    Li   INTERNAL RESET   B  serial etc    Memory map    Start address  Length  Type     960       Internal RUM     Add      O00000   OxDFFFF Internal ROM 64 Kbytes  D  FF3UL   OXFFEFF Internal RAAM 3072 bytes    Remove    Remove All      Figure 11 6  IAR Embedded Workbench MINICUBE2 settings       User s Manual U19818EE2VOUMOO 68    ERROR  REFERENCE SOURCE NOT FOUND        Now the debugger is started and the demo project is downloaded to the 78KOA Link It  board  The progress  of downloading is indicated by blue dots in the MINICUBE Emulator window  Please note that downloading  of larger executables may take some time        AR Embedded Workbench IDE SEE    File Edit View Project Debug Emulator Tools Window Help    Dae ug    AARAAAAA AAA AAA AAA AAA AAA cp pp   2   f fl fl flf f fff fl fff fff ffff ff f fl Pf f ff p p P AAA AAA AAA  Files e E  a O Link_Iti_Temp_demo   Debug v  Ha C3 Application    Paine void nain void        BSRC    E Display c u NS  ees OSMC   0x01     Operation speed mode control register frequency higher than 10MHz      D         Function Implementation        pime  Al OSTS 0x07     Set osc  stabilization time selection to 2  13 fx     E  Temperature c CMC   0x51    
86. ssing by using Start End   The Start End list boxes display the Block numbers where the flash memory of the  target device is configured     When Area is selected    Specify the Area number range subject to rewrite processing by using Start End   The Start End list boxes display the Area numbers where the flash memory of the  target device is configured     Show Address check box    Specify whether numbers or addresses are displayed in the Start End list boxes   If this check box is checked  addresses are displayed     If this check box is not checked  numbers are displayed     User s Manual U19818EE2VOUMOO 50    ERROR  REFERENCE SOURCE NOT FOUND        9 3 3 1 5 Target Reset Message  By checking the Target Reset Message check box  the window promoting the reset operation  manually is displayed even when the reset signal cannot be connected to the target cable        Target Reset Message      Figure 9 11  Device Setup Window   Target Reset Message    9 3 3 2 Advance setup  The Advance setup menu is used to specify the command options and security flag settings     When  Advance  is clicked  the following window is displayed     F Device Setup  Standard Advance    Command options  Iw Blank check before Erase  v Wide Voltage mode      Read verfu after Program     Security flag after Program      Checksum after Pragram    Security flag settings    Disable Chip Erase        Disable Block Erase Boot block end 003 Y        Disable Program FS Block start 000       ba FS Block end  0
87. stems AB  Microsoft and Windows are registered trademarks of Microsoft Corporation  Adobe and  Acrobat Reader are registered trademarks of Adobe Systems Incorporated    All other product names are trademarks or registered trademarks of their respective owners     User s Manual U19818EE2VOUMOO 11    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 2 78KOR LINK IT  SYSTEM CONFIGURATION    The IO link standard is a point to point based communication  where a master and a slave device exchange  information over a communication channel  The master initiates and organizes the data exchange  The slave  treats the master s request and replies accordingly     The 78KOR Link It  board  slave device  is based on the NEC s latest 16 bit 78KOR KE3 L microcontroller  family                 USB Cable    AC Adaptor  Not Included        TMG USB M  IO Link Master             Not Included r    eee 07 E Se i              Host Machine  Not Included    M12 Cable    Not Included                  T     Figure 2 1  IO Link system configuration  2 1 78KOR Link It  board    78KOR Link It  board is a demonstration kit for the 78KOR KES L 16 bit microcontroller of the 78KOR family   The IO link board can be used in two modes  IO Link Mode  default mode   and Standalone mode     2 1 1 IO Link Mode    When used in IO Link Mode  the 78KOH Link It  board is connected to a host system via an IO Link Master   Figure 2 1 shows the board being connected to a host computer using the TMG USB IO Link Master  not  i
88. teEZ4 does not accept the parameter file     Parameter file PRM File Read    Figure 9 6  Device Setup Window   Parameter File Selection    Look in    O PRM files        ae       File name  78F1003 prm  Files of type   PRM Files  PRM     Cancel    Figure 9 7  Parameter File Selection Window        PRM File Read button   A window for specifying a parameter file is displayed  Specify a desired file  then click Open     User s Manual U19818EE2VOUMOO 48    ERROR  REFERENCE SOURCE NOT FOUND        9 3 3 1 2 Host connection   Host connection  is used to select a channel for communication between the 78KOH Link It  board  and host machine     Host connection    Port        Speed        Figure 9 8  Device Setup Window     Host connection   Port list box   Select a channel for communication between the 78K0R Link It  board and host machine   o  COM 1 to COM256  Remark Selectable ports can be checked using Device Manager  For details  refer to CHAPTER  8 8Confirmation of USB Driver Installation   Speed list box     Select a communication rate for the selected communication channel from the following     o 9600 bps  o 19200 bps  o 38400 bps    o 115200 bps    Remark For selectable communication rates  refer to the user s manual of the device used   9 3 3 1 3 Supply oscillator     Supply oscillator  is used to select a clock that determines programming  data transfer  and a  transfer rate     Supply oscillator    Frequency    Multiply rate      Figure 9 9  Device Setup Window   Supply Osc
89. terature    Development environment specifications  for example  specifications for third party tools and  components  host computers  power plugs  AC supply voltages  and so forth     Network requirements    In addition  trademarks  registered trademarks  export restrictions  and other legal issues may also vary from    country to country     NEC Electronics Corporation  Kawasaki  Japan   Tel  044 435 5111   Fax  044 435 1667    NEC Electronics America Inc     Santa Clara  California  Tel  408 5886000  800 366 9782   Fax  408 588 6130  800 729 9288    NEC Electronics  Europe  GmbH  D  sseldorf  Germany   Tel  0211 65 030   Fax  0211 65 03 1327    Succursale Francaise  V  lizy Villacoublay  France  Tel  01 30 67 58 00   Fax  01 30 67 58 99    Filiale Italiana  Milano  Italy    el  02 66 75 41  Fax  02 66 75 42 99    Branch The Netherlands  Eindhoven  The Netherlands  Tel  040 265 40 10   Fax  040 244 45 80    Tyskland Filial  Taeby  Sweden  Tel  08 638 7200  Fax  08 638 7222    United Kingdom Branch  Milton Keynes  UK   Tel  01908 691 133  Fax  01908 670 290    User s Manual U19818EE2VOUMOO    NEC Electronics  China  Co   Ltd  Beijing  P R  China   Tel  010 8235 1155   Fax  010 8235 7679    NEC Electronics Shanghai  Ltd    Shanghai  P R  China   Tel  021 5888 5400   Fax  021 5888 5230    NEC Electronics Hong Kong Ltd   Hong Kong   Tel  2886 9318   Fax  2886 9022 9044    NEC Electronics Korea Ltd   Seoul  Korea   Tel  02 558 3737   Fax  02 558 5141    NEC Electronics Singapore
90. tor  LED 7         onconconcnnccnncnncnncancnnnnanonacancnncanconrnnanancnncancnn rn saeua oaa Rau RR Ru u OA 23   3 17 External mam OSCIIMAO Y d e dee A a a Cus eese 23   3 18 Test pads  T1 T42 area and wrap field                                         eeeseeeeeeee ee eeee eene eene nennen nnne 24   3 19 MR  magneto resistive  Sensor                            1      lese eieeee ee ieee rese eene e nnne n nnn nnn nnn n nhanh nnn nhan nnn 25   3 20  TEMPErature SENSOR REN 25   3 24 PG FP4  PG FP5   QB MINI2 connector  FP 7        occonconccccconconconconnonncnncancnncancnnrnnnnancnncancnnro nana nan cancancanana 25   CHAPTER 4 FLASH PROGRAMMING           ccsscccssssccsssecccnsesecesececasecenseeccesseccasesecasececaseccnsssccuseseneres 26    User s Manual U19818EE2VOUMOO 6    4 1 Flash Programming via MINICUBE2  QB MINI2                                    eeee cernes eere eene nennen nnn 26    4 2 Flash Programming via TK 78KOR debugger                                       eeeeeeeeeee eere e eere enne nnne nnn 27  CHAPTER 5   ON CHIP DEBUGGIN Gianna 28  5 1   OCD via  QB MINI2 emulator ista seceded aaa paia araa RE Epia erac xv ee 28  5 2 OCD via TK 78KOR On Board debug function                                   eee eeeeeeeeeeee e eeeee eese nennen nnn nnn nnn 29  CHAPTER6  780R LINK IT  INSTALLATION AND OPERATION                             ee eee nnne 30  61  GOTO Startede a a a acetal delat stale senetcteds 30  6 2   CD ROM COnTEAIS i e                                   
91. udio and visual equipment  home electronic appliances  machine tools   personal electronic equipment and industrial robots     Special       Transportation equipment  automobiles  trains  ships  etc    traffic control systems   anti disaster systems  anti crime systems  safety equipment and medical equipment   not specifically designed for life support      Specific    X Aircraft  aerospace equipment  submersible repeaters  nuclear reactor control  systems  life support systems and medical equipment for life support  etc     The quality grade of NEC Electronics products is  Standard  unless otherwise expressly specified in NEC  Electronics data sheets or data books  etc  If customers wish to use NEC Electronics products in applications  not intended by NEC Electronics  they must contact an NEC Electronics sales representative in advance to  determine NEC Electronics  willingness to support a given application      Note     1   NEC Electronics  as used in this statement means NEC Electronics Corporation and also includes its majority owned  subsidiaries     2   NEC Electronics products  means any product developed or manufactured by or for NEC Electronics  as defined  above      M8E 02  11 1    User s Manual U19818EE2VOUMOO 2    CAUTION    This is a Test  and Measurement equipment with possibility to be significantly  altered by user through hardware enhancements modifications and or test or  application software  Thus  with respect to Council Directive 89 336 EEC   Directive 
92. ust be configured  as in the following table     Table 5 1  SW5 configuration for On chip Debugging via QB MINI2    ONOFF     ONOFF O          individual selectable by user        ON OFF     RxD1 connected   disconnected             User s Manual U19818EE2VOUMOO 28    ERROR  REFERENCE SOURCE NOT FOUND        5 2 OCD via TK 78KOR On Board debug function    To operate the board within the On Board debug mode  switch SW5 and SW7 must be configured as in the  following table     Table 5 2  SW5 Configuration for OCD via TK 78KOR    ON OFF     Standalone and debug mode  debug mode only    Enable On Board debug function       31   1      a Enable On Board debug function  a      TxD1 disconnected    Ls   er   esee 0000  e   onoo   Sto comerted comes  e   onoo   AREF appiednotappied      o    on    EmbeTkroRdebogperlmd  ns          individual selectable by user       Table 5 3  SW7 configuration for OCD via TK 78KOR    CRE ON OFF       L_VDD   VDD Disconnected         individual selectable by user    User s Manual U19818EE2VOUMOO 29    ERROR  REFERENCE SOURCE NOT FOUND        CHAPTER 6 780R   LINK IT  INSTALLATION AND OPERATION    6 1 Getting Started    The IAR Embedded Workbench including the C SPY debugger allows building and downloading application  programs to the 78KOR Linking it  Development kit     Additionally the WriteEZ4 FLASH programming software can be used for simple FLASH programming of the  78KOR KE3 L internal FLASH memory     As communication interface between the PC 
93. vice WEYA Help    ms w Toolbar  w Status Bar      This menu contains commands for setting whether to display the toolbar and status bar        Figure 9 17   View  Menu    9 3 4 1  Toolbar  command  Checking the  Toolbar  command displays the toolbar  Unchecking the command hides the toolbar     9 3 4 2  Status Bar  command  Checking the  Status Bar  command displays the status bar  Unchecking the command hides the status bar     User s Manual U19818EE2VOUMOO 59    ERROR  REFERENCE SOURCE NOT FOUND        9 3 5  Help  menu    Clicking the  Help  menu displays the following pull down menu          Fe WriteEZ4    File Device view Mazim    About WriteEz4      y  e la D         Figure 9 18   Help  Menu  9 3 5 1  About WriteEZ4  command  The  About WriteEZ4  command opens the program entry window as shown below and indicates the version                       Clicking OK terminates the display     About WriteE 4    BL Ann nn n       7        W   J    Ad d 1 k i Ab   y  HO LIP I bh WT 5T ie Bk ke E  Lar   PERS RPE REPRE RE RR ERE  E   rn lr ee a 177 LE    Tiraji f f 1 7 2 m    Tt  tai i ie UE ur  f P i           Figure 9 19  About WriteEZ4 Window    User s Manual U19818EE2VOUMOO 54    ERROR  REFERENCE SOURCE NOT FOUND        9 4 Programmer Parameter Window    This window displays the settings of the programming parameters     Device  Mame      Firm Version    Ext Lade    Vendor      Parameter file  Mame    Format    Version    Processor Wer     Load file  Mame  Date    Chkesum    Are
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
  Copyright © All rights reserved. 
   Failed to retrieve file