background image

 

To our customers, 

 

Old Company Name in Catalogs and Other Documents 

 

On April 1

st

, 2010, NEC Electronics Corporation merged with Renesas Technology 

Corporation, and Renesas 

Electronics Corporation 

took 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 Electronics website: http://www.renesas.com 

 
 
 
 

April 1

st

, 2010 

Renesas Electronics Corporation 

 

 
 
 
 

Issued by: 

Renesas Electronics Corporation

 (http://www.renesas.com) 

Send any inquiries to http://www.renesas.com/inquiry. 

 

           

Содержание 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...

Отзывы: