background image

 

M-Station Baseboard

 

 
 
 

10. Enter 

usbmst

 in the 

Containing text

 box. 

11. Click 

Search

12.  You should see the 

oemxx.inf 

file, where "xx" will be one or more decimal digits. 

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 different directory if you wish to save it. 

15.  The driver is now uninstalled, and you may update or reinstall it following the procedure in 

the section 6.3.4.3. 

 

37

           

Summary of Contents for M-Station

Page 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...

Page 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...

Page 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...

Page 4: ...M Station Baseboard ii...

Page 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...

Page 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...

Page 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...

Page 8: ...M Station Baseboard vi...

Page 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...

Page 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...

Page 11: ...M Station Baseboard 3 HARDWARE Figure 1 M Station Baseboard Figure 2 Board Layout 3...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 81: ...M Station Baseboard 73...

Page 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...

Reviews: