background image

Notice 

1. 

All information included in this document is current as of the date this document is issued. Such information, however, is 
subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please 
confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to 
additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website. 

2. 

Renesas 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 Renesas Electronics products or technical information described in this document.  
No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights 
of Renesas Electronics or others. 

3. 

You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. 

4. 

Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of 
semiconductor products and application examples.  You are fully responsible for the incorporation of these circuits, software, 
and information in the design of your equipment.  Renesas Electronics assumes no responsibility for any losses incurred by 
you or third parties arising from the use of these circuits, software, or information. 

5. 

When exporting the products or technology described in this document, you should comply with the applicable export control 
laws and regulations and follow the procedures required by such laws and regulations.  You should not use Renesas 
Electronics products or the technology described in this document for any purpose relating to military applications or use by 
the military, including but not limited to the development of weapons of mass destruction.  Renesas Electronics products and 
technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited 
under any applicable domestic or foreign laws or regulations. 

6. 

Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics 
does not warrant that such information is error free.  Renesas Electronics assumes no liability whatsoever for any damages 
incurred by you resulting from errors in or omissions from the information included herein. 

7. 

Renesas Electronics products are classified according to the following three quality grades:  “Standard”, “High Quality”, and 
“Specific”.  The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as 
indicated below.  You must check the quality grade of each Renesas Electronics product before using it in a particular 
application.  You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior 
written consent of Renesas Electronics.  Further, you may not use any Renesas Electronics product for any application for 
which it is not intended without the prior written consent of Renesas Electronics.  Renesas Electronics shall not be in any way 
liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an 
application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written 
consent of Renesas Electronics.  The quality grade of each Renesas Electronics product is “Standard” unless otherwise 
expressly specified in a Renesas Electronics data sheets or data books, etc. 

“Standard”: 

Computers; office equipment; communications equipment; test and measurement equipment; audio and visual 
equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots. 

“High Quality”:  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”:  

Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or 
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare 
intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life. 

8. 

You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, 

especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation 
characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or 
damages arising out of the use of Renesas Electronics products beyond such specified ranges. 

9. 

Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have 
specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, 
Renesas Electronics products are not subject to radiation resistance design.  Please be sure to implement safety measures to 
guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a 
Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire 
control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures.  Because 
the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system 
manufactured by you. 

10.  Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental 

compatibility of each Renesas Electronics product.  Please use Renesas Electronics products in compliance with all applicable 
laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS 
Directive.  Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with 
applicable laws and regulations. 

11.  This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas 

Electronics. 

12.  Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this 

document or Renesas Electronics products, or if you have any other inquiries. 

(Note 1)  “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority-

owned subsidiaries. 

(Note 2)  “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics. 

           

Содержание M-Station

Страница 1: ...ok over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electron...

Страница 2: ...t for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas...

Страница 3: ...User s Manual M Station Baseboard for 78K0 and 78K0S Micro Boards June 2004 NEC Electronics America Inc Printed in USA All rights reserved Document no U17185EU1V0UM00...

Страница 4: ...M Station Baseboard ii...

Страница 5: ...1 3 7 6 Row 0 11 3 7 7 Row 1 12 3 7 8 Row 3 12 3 8 Connection to Micro Board 12 4 Application Development Aid Hardware Resources 13 4 1 RS 232 Transceiver 13 4 2 CAN Transceiver 14 4 3 I C and User EE...

Страница 6: ...ication JP8 and JP9 Settings 42 7 7 Connection of Micro Board or Target System 43 7 8 Connection of USB Cable 43 7 9 Connection of Power 44 8 Using OPTMST To Set Flash Programming Options 45 8 1 Flash...

Страница 7: ...Terminal Menu 62 10 2 2 MSTTERM Status Bar 63 10 3 File Menu 63 10 4 Properties Box 64 10 4 1 Local Echo 64 10 4 2 Send Line Ends with Line Feeds 64 10 4 3 Bits Per Second 64 10 5 Edit Menu 65 10 6 Tr...

Страница 8: ...M Station Baseboard vi...

Страница 9: ...d through the 16 pin flash programming debugging interface header In this mode the micro board and M Station are connected though a 16 pin ribbon cable included and program debugging flash programming...

Страница 10: ...nnected to MCU port inputs Potentiometer connecting to selected MCU analog inputs RS 232 transceiver with optional DB9 connector Optional CAN transceiver and DB9 connector I2 C interface connecting to...

Страница 11: ...M Station Baseboard 3 HARDWARE Figure 1 M Station Baseboard Figure 2 Board Layout 3...

Страница 12: ...Jumper Descriptions Jumper Description Default Setting JP1 If micro board does not supply VDE power connect to VDD Open JP2 Power source select 1 2 power from regulators 2 3 battery power 1 2 REG VDD...

Страница 13: ...nd 2 RESET_B RESET_B1 RESET_B1 reset for 78K0 or 78K0S real chip 3 RxD SI RxD SI Serial I O or UART data receive 4 VDD VDD_FLASH VDD power to from micro board or target 5 TxD SO TxD SO Serial I O or U...

Страница 14: ...ion to Flash Programmer 3 3 JP2 VDD Power Source Selection The JP2 jumper selects the source of the VDD power on the M Station Connecting JP2 pins 1 to 2 marked as REG and VDD respectively on the boar...

Страница 15: ...o jumper inserted on JP3 VDD defaults to 2V to prevent VDD from rising to a high voltage if you accidentally remove JP3 while power is connected However it is good practice to remove power from J8 pow...

Страница 16: ...ard supplies VDE and JP1 should be left open 3 6 JP4 VPP Selection and Generation VPP for biasing MCUs can be adjusted to any voltage level required Select JP4 to set the preset voltage level To set a...

Страница 17: ...ons as shown in the diagram above Please consult the specification for the crystal oscillator before selecting biasing resistors and capacitors It may be convenient to use a 14 pin socket and adapter...

Страница 18: ...at the CPU signals can be connected to the M Station s development hardware resources 3 7 4 User Bread boarding Area The user breadboarding area is a 0 1 inch centered pin array consisting of eight ro...

Страница 19: ...LED 1 General purpose numeric display 25 to 32 LED 2 3 7 5 Rows 8 and 12 Row 8 is used for power and ground and LCD segment signals Table 5 Row 8 Hardware Resource Allocation Pin s Connected to Resou...

Страница 20: ...connectors on the M Station From J1 and J2 the CPU signals are routed to rows in the user breadboarding area The signals that are necessary to be used for Application Development Aid Hardware Resource...

Страница 21: ...J6 connector has a footprint only on the M Station SB26 and SB27 are solder blobs SBs with closely spaced pads The default configuration connects SBs with 0 resistors that easily can be removed if ne...

Страница 22: ...ion 2 9 SCL Clock for EEPROM 2 10 SDA Bidirectional data for EEPROM The SCL and SDA signals from the CPU which support I 2 C functions are connected to row 1 pins 9 and 10 To connect the EEPROM insert...

Страница 23: ...row 2 pin 6 General purpose switch 4 6 Potentiometer A potentiometer R51 in the upper right of the M Station is connected to pin 6 of row 2 Its low voltage is GND provided when the potentiometer shaf...

Страница 24: ...3 and are normally connected to address data and control lines through solder blobs Table 1 ional Expansion Memory Signals on ROW3 0 Opt Description Name Row Connection Address and data AD 0 7 ROW3 16...

Страница 25: ...pplies VDE Insert JP1 to connect VDE to VDD_FLASH when the micro board does not supply VDE 5 2 JP2 and JP3 Power Select Figure 13 JP2 and JP3 Settings Table 1 Settings 1 JP2 Jumper Jumper Setting Desc...

Страница 26: ...VDD_SEL 3 5V 9 to 10 VDD_SEL 4 0V 11 to 12 VDD_SEL 4 5V JP3 13 to 14 VDD_SEL 5 0V 13 to 14 R10 User selected VDD refer to Section 3 4 5 3 JP4 Multiple VDD Select Figure 14 JP4 Settings Table 1 Settin...

Страница 27: ...and 100 pin inter board connector and then to RxD or serial input SI of the microcontroller CPU Figure 15 JP8 and JP9 Settings Table 1 and JP9 Settings 4 JP8 Jumper Jumper Setting Description Default...

Страница 28: ...t the parameters necessary for MCU flash programming FP4MST program that performs flash programming operations on the MCU MSTTERM program that provides a terminal like interface to a user program runn...

Страница 29: ...r system directory and to set registry entries to invoke the driver when you connect the M Station In Windows 2000 and Windows XP systems you must have an administrator account or administrator privil...

Страница 30: ...Station Drivers 98 ME where x is the letter of your drive 3 Connect a USB cable to the USB ports on your computer and the M Station 4 When the wixard appears click Next 5 Select the Search for the bes...

Страница 31: ...eboard 7 Go to X fscommand Software M Station Drivers 98 ME where X is the letter of your CD ROM drive and then click OK 8 When the wizard correctly shows the 98 ME directory click Next 9 Click Next t...

Страница 32: ...lation process and begin using the driver 12 To verify installation connect the M Station to the system 13 Click Start Control Panel System 14 Select the Hardware tab and then the Device Manager tab 1...

Страница 33: ...Insert the CD ROM into the drive on your computer 2 Go to X fscommand Software M Station Drivers 2K XP where X is the letter of your drive 3 Connect a USB cable to the USB ports on your computer and t...

Страница 34: ...ck box and click Next 7 The next dialog box may or may not show a directory In either case click Browse 8 Go to X fscommand Software M Station Drivers 2K XP where X is the letter of your CD ROM drive...

Страница 35: ...lation and begin using the driver 12 To verify driver installation connect the M Station to the system 13 Click Start Control Panel System 14 Select the Hardware tab and then the Device Manager tab 15...

Страница 36: ...ur drive 3 Connect a USB cable to the USB ports on your computer and the M Station to initialize the wizard 4 Select the Install from a list or specific location check box and click Next 5 Clear the S...

Страница 37: ...M Station Baseboard 8 Select X fscommand Software M Station Drivers 2K XP where X is the letter of your CD ROM drive and click OK 9 When the wizard shows the 2K XP directory click Next 29...

Страница 38: ...message warning that the NEC M Station USB IF has not passed Windows Logo testing Click Continue Anyway 11 The wizard then begins to install the software 12 When you see the Completing the Found New H...

Страница 39: ...high speed USB port you may need to go through the installation steps again Refer to 6 3 3 2 15 To verify driver installation connect the M Station to the system 16 Click Start Control Panel System 17...

Страница 40: ...nstallation if you attach the M Station to a host USB port incapable of supporting USB 2 0 high speed operation you may receive the following warning message Because the M Station operates properly in...

Страница 41: ...ed port and later attach the M Station to a high speed port you will need to perform another installation 1 Initialize the wizard 2 Select the Install the software automatically check box and click Ne...

Страница 42: ...e driver you will need to delete the driver files as well otherwise the Windows operating will reinstall the old driver the next time you connect the M Station 6 3 4 1 Uninstalling the USB Driver for...

Страница 43: ...ings Control Panel System 3 Select the Device Manager tab 4 Expand the Universal Serial Bus controllers list 5 Right click NEC M Station USB IF 1 6 Click Uninstall 7 When you see the warning message c...

Страница 44: ...on to your computer 2 Click Start Settings Control Panel System 3 Select the Hardware tab and then the Device Manager tab 4 Expand the Universal Serial Bus controllers list 5 Right click NEC M Station...

Страница 45: ...its 13 Open the file with a text editor such as Notepad and make sure it starts with this text Installation inf for the NEC USB to M Station Interface 14 Delete the file rename it or move it to a diff...

Страница 46: ...rs on the micro board or target for power flash programming and communication options 5 Connect the M Station to the micro board without power supplied Note if battery power on the M Station is to be...

Страница 47: ...e connected to the 16 pin J4 flash programming communication port This can be a 16 pin flat cable to connect to boards with a matching 16 pin flash programming connector such as the EV0338 or a 10 pin...

Страница 48: ...D through the flash programming and communication cable Removing JP2 in this situation prevents a power conflict between the M Station power and the target power 7 3 Power Monitoring Options JP1 Setti...

Страница 49: ...cumentation Setting VPP at a voltage that is higher than the maximum for the CPU chip can result in damage to the CPU chip Setting VPP at a voltage that is lower than the recommended level can result...

Страница 50: ...her than changed to SIO for flash programming and then back again for UART communication The micro board must have its flash programming jumpers set in a way that is compatible with the settinsg of th...

Страница 51: ...he target system 7 8 Connection of USB Cable Connect the M Station to the computer with a standard A B USB cable The flatter A side of the cable will connect to a USB port on the PC and the squarer B...

Страница 52: ...from the target 5 When power is applied to the M Station and available to power VDD on the micro board the red PWR LED D11 will light 6 The red D11 PWR LED indicates that VDD power is available on the...

Страница 53: ...re available to the FP4MST program when it is executed The OPTMST program is used to set the state of these options in the registry Source and frequency of the main clock for the microcontroller Commu...

Страница 54: ...splay the OPTMST Flash Configuration dialog box The main sections of the OPTMST window and the associated settings are explained in the sections following Please refer to the user s manual for your mi...

Страница 55: ...cro board for the driven clock to be used Also if no oscillator circuit is mounted in J7 then the CLK line will not oscillate 3 Whether the main clock is provided on the target or driven by the M Stat...

Страница 56: ...P9 When you select a UART channel set JP8 and JP9 in the UART position with pins 2 3 connected on each TXDSO UTXD on JP8 and RXDSI URXD on JP9 8 2 2 Rate Box The Rate box contains a selection of avail...

Страница 57: ...you select a particular jumper setting the associated VDD or VPP voltage is shown in the VDD Voltage and VPP Voltage boxes to the right of the jumper selection boxes 8 4 PRC User Specified Parameter S...

Страница 58: ...the Automatic check box if you want to avoid having to answer the prompt for this value each time the PRC file is selected 8 4 3 Pre Write Time Per Word For some flash MCUs you can adjust the pre writ...

Страница 59: ...tion application allows the M Station to be used to flash program NEC Electronics 78K0 and 78K0S flash programmable MCUs on micro boards or target systems Refer to section 3 for information about conf...

Страница 60: ...values don t match then you will receive an error message stating that the recorded setting is incorrect 1 Disconnect power from the M Station 2 Recheck the appropriate settings for VDD and VPP and c...

Страница 61: ...user program object file for flash programming The NEC Electronics 78K0 or 78K0S software development tools generally produce this file after compiling assembling and linking the user program The user...

Страница 62: ...flash device as read from the silicon signature contained in the device This name matches that read from the PRC file Click Change Device Type to open a different PRC file Normally you would only need...

Страница 63: ...f the flash device s memory 9 2 4 1 Program Sequence Clicking the Program Sequence command button causes the program to 1 Power up and initialize the device and then check the signature against the PR...

Страница 64: ...splays Blank at the end of the operation If the device is not blank the Status window displays Not Blank and you receive this warning Click OK and then execute an Erase operation subsection 9 2 4 4 9...

Страница 65: ...state For 78K0S devices a block is 128 bytes If a 78K0S program starts at 0000H and ends at 1234H then the device is written from 0000 127FH The remainder is left in its erased state After writing th...

Страница 66: ...After the entire memory image is sent if the data sent compares exactly with the data in the flash device the Status window displays Verified If the data sent does not compare exactly with the device...

Страница 67: ...e configuration When changing the configuration from inside the FP4MST program you should only change the communication rate to try higher SIO or UART communication rates or set the PRC file to be aut...

Страница 68: ...he USB channel to the computer and then displayed in the window of the MSTTERM terminal program The MSTTERM program provides the following features Full or half duplex communication through the M Stat...

Страница 69: ...and the default rate for operation is 9600 baud When you exit MSTTERM the program resets the micro board by turning VDD power off restoring it and then releasing the RESET line The user program then e...

Страница 70: ...fer Capture Text File to save the interactions to a text file 10 2 1 MST Terminal Menu The MST Terminal menu bar contains the File Edit Transfer and Help menus Clicking a main menu name displays its a...

Страница 71: ...n MST configuration file If an MST file has not been selected by previous File Open or File Save As command sequences then you are prompted to select a filename from the list of current MST files Ente...

Страница 72: ...but are not echoed to the screen unless echoed by the micro board program 10 4 2 Send Line Ends with Line Feeds Selecting the Send line ends with line feeds check box sends the CRLF 0x0D 0x0A combina...

Страница 73: ...pboard Position your cursor at the starting point and then click and drag it to select characters or lines you want to copy You may also use the arrows to move the cursor as well Text copied to the cl...

Страница 74: ...iles of type boxes display the file name capture txt Enter a new name or select an existing one and then click Open If you enter a new file name the program creates that file with empty contents until...

Страница 75: ...tate with Select File enabled and all other items disabled 7 If you exit the MSTTERM program while the capture is active or paused the text file closes 10 6 2 Sending Text File Clicking Transfer Send...

Страница 76: ...ut connecting the M Station to the computer through a USB cable you receive the following error message Click OK Check your hardware connections and then click Yes in response to the following Incorre...

Страница 77: ...to power VDE from the M Station VDD power If the target system is supplying power to VDD make sure JP2 is not connected However it is necessary to have the M Station power supply connected to provide...

Страница 78: ...does not initialize you will see an error message such as this There are several possible problems Jumpers selecting flash programming interface incorrect on M Station JP8 and JP9 Jumpers selecting fl...

Страница 79: ...the MSTTERM program from starting normally or functioning as expected No USB connection If you attempt to start the MSTTERM program without connecting the M Station to the computer through a USB cabl...

Страница 80: ...face Please see the User s Manual for the appropriate board No program in micro board flash device If the flash device on the micro board has been erased there will be no communication Program not ini...

Страница 81: ...M Station Baseboard 73...

Страница 82: ...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...

Отзывы: