background image

V850ES/Jx3H – Plug it!

 

 

 

6.  Hardware installation 

After unpacking 

V850ES/Jx3-H - Plug it!,

 connect the board via connector USB1 to your host computer using 

the provided USB interface cable. When 

V850ES/Jx3-H - Plug it! 

is connected, the USB driver needs to be 

installed on the host machine. Please refer to the following

 

chapter 7.5 USB Driver Installation

 

7.  Software installation 

The 

V850ES/Jx3-H - Plug it! 

package comes with the following software demo packages: 

 

  IAR Systems Embedded Workbench for V850, including C compiler, assembler, linker, librarian and IAR 

C-SPY debugger / simulator 

 

 Sample 

programs 

 

  Segger USB Eval Package 

 
The IAR Systems Embedded Workbench must be installed on your PC. For detailed installation hints, refer 
to the following chapters and to the corresponding documentation of the IAR Embedded Workbench. 
 

7.1  IAR Systems Embedded Workbench for V850 installation 

To install the IAR Systems Embedded Workbench for V850 including C-SPY debugger / simulator, select the 

AUTORUN

 program in the directory 

\IAR\

 of the CDROM. The setup dialogues will guide you through the 

installation process. 
 

7.2  Device File Package installation 

To use the IAR Embedded Workbench for V850 together with the uPD70F3760 , you have to install the 
latest device files. You will find the installer for the Device file package on the 

V850ES/Jx3-H - Plug it! 

CD. 

Select the file 

Setup_V850ES-JX3-H_V1.00.exe

 in the directory 

\Device File Package\

. The setup 

dialogues will guide you through the installation process. 
 

 

 

Select the package 
for EWV850 3.xx 

Figure 9: Device File Installation 

 

7.3  Sample program installation 

To install the sample/demonstration programs for the 

V850ES/Jx3-H - Plug it! 

board select the  

Jx3H-PLUGIT_Samples_V100.exe

 in the directory 

\SamplePrograms\

 on the CDROM. The setup 

dialogues will guide you through the installation process. 
 

User’s Manual U19647EE2V0UM00

                                                                      

25

 

Summary of Contents for V850ES/Jx3-H

Page 1: ...User s Manual V850ES Jx3 H Plug it Demonstration Kit for the V850ES Jx3 H 32 bit RISC microcontroller Document No U19647EE2V0UM00 Date Published May 2009 NEC Electronics Europe GmbH ...

Page 2: ...ted 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 qualit...

Page 3: ...tered by user through hardware enhancements modifications and or test or application software Thus with respect to Council Directive 89 336 EEC Directive 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 u...

Page 4: ...408 588 6130 800 729 9288 NEC Electronics Hong Kong Ltd Hong Kong Tel 2886 9318 Fax 2886 9022 9044 NEC Electronics Europe GmbH Duesseldorf Germany Tel 0211 65 03 0 Fax 0211 65 03 1327 NEC Electronics Hong Kong Ltd Seoul Branch Seoul Korea Tel 02 528 0303 Fax 02 528 4411 Sucursal en España Madrid Spain Tel 091 504 27 87 Fax 091 504 28 60 NEC Electronics Singapore Pte Ltd Singapore Tel 65 6253 8311 ...

Page 5: ...V850ES Jx3H Plug it Revision History Date Revision Chapter Description 17 02 2009 V1 00 First release 08 05 2009 V1 10 13 Change of the schematic image format User s Manual U19647EE2V0UM00 5 ...

Page 6: ...15 3 5 JP1 and JP2 Power Supply selectors 15 3 6 JP3 Power LED 16 3 7 LED1 power LED 16 3 8 CN4 AC power supply connector 16 3 9 J1 optional power supply connector 16 3 10 NWIRE1 N Wire connector 16 3 11 U3 Seven segment LED 17 3 12 USB1 serial interface connector 18 3 13 USB2 universal serial bus connector 18 3 14 Layout of solder short pads 19 4 On Chip debugging 20 4 1 OCD via TK V850 On Board ...

Page 7: ...o run the sample program 43 11 3 Jx3 H_PLUGIT_COM Serial Conversion sample program 44 11 3 1 Development Environment 45 11 3 2 System Structure 45 11 3 3 How to run the sample program 46 11 3 4 Communication Device Class CDC 49 11 3 5 Processing Flow 50 11 3 6 File Structure 53 11 3 7 Descriptor Information 53 11 4 Jx3 H_PLUGIT_STORAGE Mass Storage sample program 56 11 4 1 Development Environment ...

Page 8: ... MINICUBE Hardware Setup Dialogue 38 Figure 30 IAR C SPY debugger 39 Figure 31 WriteEZ1 User Interface 40 Figure 32 WriteEZ1 Device Setup Dialogue 40 Figure 33 WriteEZ1 Device Menu 41 Figure 34 Project Window Jx3 H_PLUGIT_DEMO 43 Figure 35 Project Window Jx3H_PLUGIT_COM 44 Figure 36 Development Environment 45 Figure 37 System Structure of the sample program 45 Figure 38 Jx3H_PLUGIT_COM sample Debu...

Page 9: ... USB Serial Conversation Sample 53 Table 15 Header Files USB Serial Conversation Sample 53 Table 16 Device Descriptor Serial Conversion Sample 53 Table 17 Configuration Descriptor Serial Conversion Sample 54 Table 18 Interface Descriptor Serial Conversion Sample 54 Table 19 Endpoint Descriptor Serial Conversion Sample 55 Table 20 String Descriptor Serial Conversion Sample 55 Table 21 Source Module...

Page 10: ... 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 Power supply by USB interface or via external power supply Analog to digital signal conversion Various input output signals available such as I O ports prepared to be connected to user ...

Page 11: ...ify that you have received all parts listed in the package contents list attached to the V850ES Jx3 H Plug it package If any part is missing or seems to be damaged please contact the dealer from whom you received your V850ES Jx3 H Plug it Note Updates of the IAR Embedded Workbench for V850 documentation and or utilities for V850ES Jx3 H Plug it available may be downloaded from the NEC WEB page s a...

Page 12: ...on of application programs on the V850ES Jx3 H Plug it starterkit 2 2 Host computer The USB host interface enables communication to the V850ES Jx3 H Plug it board The µPD78F0730 78K0 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 ...

Page 13: ... external target hardware Figure 2 V850ES Jx3 H Plug it Components Some of the V850ES Jx3 H Plug it components are free for user application hardware and software Please read the user s manual of the 70F3760 device carefully to get information about the electrical specification of the available I O ports before you connect any external signals to the V850ES Jx3 H Plug it board User s Manual U19647...

Page 14: ...bug interface Flash Programming Mode o Program an application to the build in flash memory of 70F3760 by WriteEZ1 programmer Stand alone mode o Run a program stored in built in flash memory of the 70F3760 device N Wire debug mode o Start a debug session using an N Wire emulator e g MINICUBE SW1 bit On Board Debug Mode Flash Programming Mode Stand alone Mode N Wire Debug Mode 1 OFF OFF OFF OFF 2 ON...

Page 15: ... a push button connecting VSS to external interrupt input INTP13 of the microcontroller This is equal to port P99 INTP13 of the 70F3760 device The port may be programmed to generate the external interrupt INTP13 The necessary initialization for this purpose is described in the user s manual of the 70F3760 device 3 5 JP1 and JP2 Power Supply selectors Jumper JP1 and JP2 are the power supply selecto...

Page 16: ...of the V850ES Jx3 H Plug it board Please connect only a power supply of maximum 12V AC to the board JACK1 Input Centre VDD 12V Ring GND Table 4 CN4 connector 3 9 J1 optional power supply connector J1 not assembled is an optional connector for an external power supply 3 10 NWIRE1 N Wire connector Connector NWIRE1 not assembled allows connecting to an N Wire On Chip debug emulator e g MINICUBE to V8...

Page 17: ...tput a low signal to light the corresponding segment P97 P96 P95 P94 P93 P92 P91 P90 Figure 3 Seven segment LED U3 To display the characters 0 to 9 please write the following values to register P9 Character P9 value 0 0xC0 1 0xF9 2 0xA4 3 0xB0 4 0x99 5 0x92 6 0x83 7 0xf8 8 0x80 9 0x98 Table 5 Display Examples User s Manual U19647EE2V0UM00 17 ...

Page 18: ...tor USB1 Signal Name 1 VBUS 2 D 3 D 4 ID_NC 5 GND Table 6 Pin Configuration of Connector USB1 For connection with the host machine use a USB cable Mini B type For confirmation NEC Electronics used only the USB cable delivered with the V850ES Jx3 H Plug it board 3 13 USB2 universal serial bus connector The interface allows connecting the built in USB function controller of the μPD70F3760 with a hos...

Page 19: ...hen AVREF0 is driven by other voltages AVREF1 Short VDD to AVREF1 Open when AVREF1 is driven by other voltages UVDD Short VDD to UVDD Open when UVDD is driven by other voltages RXD Short P30 TXDC0 Open when P30 isn t used for USB1 communication interface P78 P711 Short SW1 bits 5 8 Open when P78 P711 isn t used for general purpose input P02 Short P02 to standby pin of 48MHz oscillator U10 Open whe...

Page 20: ...ter 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 Additionally V850ES Jx3 H Plug it supports the QB V850MINI On Chip debug emulator in order to use On Chip debug function of the 70F3760 device The system config...

Page 21: ... area is automatically reserved It is not allowed to use this area for any application segment addresses 0x000004A0 0x000004A3 Interrupt vector of UARTC0 UARTC0 is used for the communication with the debugger and must be reserved It is not allowed to use this area for any application segment addresses 0x00000070 0x00000079 Security ID The security ID must be defined to configure the OCD Interface ...

Page 22: ...V850ES Jx3H Plug it Figure 8 V850 OCD Interface Resources User s Manual U19647EE2V0UM00 22 ...

Page 23: ...rate the V850ES Jx3 H Plug it board together with an N Wire On Chip debug emulator e g QB V850MINI configure switch SW1 bits1 4 as following SW1 bit Configuration 1 OFF 2 OFF 3 OFF 4 OFF Table 9 OCD via QB V850MINI emulator User s Manual U19647EE2V0UM00 23 ...

Page 24: ...rdware have to be installed properly 5 1 1 CD ROM contents The CD ROM shows following directory structure V850ES Jx3 H Plug it CD ROM ROOT Acrobat Acrobat Reader for 32Bit Windows OS Device File Package Device File Package for V850ES Jx3 H Doc Documentation IAR IAR Embedded Workbench for V850 SamplePrograms Sample programs for V850ES Jx3 H Plug it including o Jx3H_PLUGIT_DEMO sample o Jx3H_PLUGIT_...

Page 25: ...ms Embedded Workbench for V850 installation To install the IAR Systems Embedded Workbench for V850 including C SPY debugger simulator select the AUTORUN program in the directory IAR of the CDROM The setup dialogues will guide you through the installation process 7 2 Device File Package installation To use the IAR Embedded Workbench for V850 together with the uPD70F3760 you have to install the late...

Page 26: ...Jx3 H Plug it board for On Chip debugging the USB driver needs to be installed on the host machine Install the driver according to the following procedure Installation on Windows 2000 Page 26 Installation on Windows XP Page 30 Note The USB driver is part of the IAR Embedded Workbench software package Therefore please install the IAR Embedded Workbench first 7 5 1 Installation on Windows 2000 1 Whe...

Page 27: ...selected then click Next Check that Search for a suitable driver is selected Click Figure 11 Search Method Windows 2000 3 Check the Specify a location check box only then click Next Check that Specify a location only is checked Click Figure 12 Driver File Location Windows 2000 User s Manual U19647EE2V0UM00 27 ...

Page 28: ...f is automatic selected then click Open to proceed within driver installation Figure 13 Address Specification 2 Windows 2000 Click 6 After the location of the USB driver has been specified click OK to proceed 5 Click Next Figure 14 Driver File Search Windows 2000 Click User s Manual U19647EE2V0UM00 28 ...

Page 29: ...V850ES Jx3H Plug it 6 Click Finish to complete the installation of the USB driver Figure 15 USB Driver Installation Completion Windows 2000 Click User s Manual U19647EE2V0UM00 29 ...

Page 30: ...e wizard will ask if windows should search on the windows update web check No not this time and then click Next Check that No not this time is selected Click Figure 16 Found New Hardware Wizard 1 Windows XP 2 Check that Install from a list or specific location Advanced is selected then click Next Check that Install from a list or specific is selected Click Figure 17 Found New Hardware Wizard 2 Win...

Page 31: ...or the best driver in these locations is selected 2 Check Include this location in the search only 3 Click Figure 18 Search Location Specification 1 Windows XP 4 Locate the folder Driver on the CD ROM 5 After the location of the USB driver has been specified click Next to continue driver installation Click Figure 19 Search Location Specification 3 Windows XP User s Manual U19647EE2V0UM00 31 ...

Page 32: ...atibility with Windows XP is displayed Click Continue Anyway Click Figure 20 Windows XP Logo Testing Windows XP 7 After the installation of the USB driver is completed the window below is displayed Click Finish to close the hardware wizard Click Figure 21 USB Driver Installation Completion Windows XP User s Manual U19647EE2V0UM00 32 ...

Page 33: ...Jx3 H Plug it board in combination with IAR C SPY debugger 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 Check that NEC Electronics Starter Kit Virtual UART COM is present Figure 22 Windows Device Manager User s Manual U19647EE2V0UM00...

Page 34: ...R Systems IAR Embedded Workbench Kickstart for NEC V850 The following screen appears Figure 23 IAR Embedded Workbench Now select the option Open exiting workspace from the File menu and locate the sample project folder and open the file Jx3 H_PLUGIT eww This is the workspace file that contains general information about all sample projects and corresponding settings User s Manual U19647EE2V0UM00 34...

Page 35: ... settings of the IAR Embedded Workbench that have to be made for correct operation of the demonstration samples and usage of the On Board debug function of the V850ES Jx3 H Plug it board First highlight the upper project folder called Jx3 H_PLUGIT_DEMO Debug in the workspace window Then select Project Options from the pull down menus Go to General Options and select the device µPD70F3760 V850ES Æ ...

Page 36: ...nclude directory As next step select the category Debugger Make sure that the driver is set to MINICUBE After this select the category MINICUBE down below and tick the box Use MINICUBE2 MINI2 in order to use the On Board debug function of the V850ES Jx3 H Plug it board The corresponding COM port where the V850ES Jx3 H Plug it board is connected to the host PC will be detected automatically by the ...

Page 37: ...file lnk70F3760 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 Figure 28 Embedded Workbench Linker Configuration 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...

Page 38: ...t is downloaded to the V850ES Jx3 H Plug 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 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 run the sample a...

Page 39: ...e above mentioned case it is necessary to erase the internal flash memory of the 70F3760 microcontroller to restore the security ID Details about erasing and programming the internal flash memory of the 70F3760 are described in chapter 10 Flash Programmer WriteEZ1 Wrong Emulator Driver Make sure that the driver in the category Debugger of the project options menu is set to MINICUBE After this sele...

Page 40: ...sh parameter file must be loaded The parameter file prm for the µPD70F3760 is located on the CDROM in the folder WriteEZ1 PRM 70F3771_V100 Please use the menu Device Setup to open the following dialogue and the button PRM File Read to select the parameter file Select the file 70F3760_CSI0 prm Figure 32 WriteEZ1 Device Setup Dialogue Please check that the correct host communication port is selected...

Page 41: ...WriteEZ can be controlled either by menu or by buttons Figure 33 WriteEZ1 Device Menu device setup button load file button blank check button erase button program button verity button erase program verify button Table 11 WriteEZ action buttons WriteEZ1 supports Intel Hex and Motorola S record file formats as input file User s Manual U19647EE2V0UM00 41 ...

Page 42: ...erial Conversion sample project Jx3 H_PLUGIT_DEMO Demonstration sample project Debug debug output files for IAR C SPY debugger include C header files settings configuration files IAR Embedded Workbench source C source files xcl Linker control file Jx3 H_PLUGIT_DEMO dep dependency information file IAR Embedded Workbench Jx3 H_PLUGIT_DEMO ewd project setting file IAR C SPY debugger Jx3 H_PLUGIT_DEMO...

Page 43: ...U3 To start a new generation loop please press again SW3 Figure 34 Project Window Jx3 H_PLUGIT_DEMO 11 2 1 How to run the sample program After starting the application the switches SW3 SW4 and the seven segment LED are the user interface to the sample program Switch SW3 By pressing this switch the generation of a new random number is started In this state the segments of the seven segment display ...

Page 44: ...he µPD70F3760 It is detected as communication device class virtual COM port when it connects with the host The sample Application loads the user data received by the USB function controller and converts it to uppercase characters or to lowercase characters only ASCII character data and outputs the result on the USB to the virtual COM Port Figure 35 Project Window Jx3H_PLUGIT_COM User s Manual U196...

Page 45: ...V850ES Jx3H Plug it 11 3 1 Development Environment Figure 36 Development Environment 11 3 2 System Structure Figure 37 System Structure of the sample program User s Manual U19647EE2V0UM00 45 ...

Page 46: ...ication tool running on the host PC any terminal program supporting virtual communication ports can be used To establish a connection and run the sample please use the following procedure o Connect port USB1 and start a debug session In the Windows Device Manager the debug port can be seen Debug Communication Port Figure 38 Jx3H_PLUGIT_COM sample Debug Communication Port o Connect port USB2 and ru...

Page 47: ...ons is selected Select the Include this location in the search check box and then click Browse 1 Check that Search for the best driver in these locations is selected 2 Check Include this location in the search only 3 Click Figure 41 Search Location Specification 1 Windows XP o Locate the folder SamplePrograms Jx3H_PLUGIT_COM drivers XP for Windows XP or SamplePrograms Jx3H_PLUGIT_COM drivers VISTA...

Page 48: ... Electronics Jx3H Virtual UART will appear Application Communication Port Figure 42 Jx3H_PLUGIT_COM sample Application Communication Port o Start the terminal program and setup a connection to the application virtual communication port o Send some test characters User s Manual U19647EE2V0UM00 48 ...

Page 49: ...to the following class requests SendEncapsulatedCommand To format the communication class interface control protocol for sending commands GetEncapsulatedResponse To format the communication class interface control protocol for requesting responses SetLineCoding Request for specifying the serial communication format GetLineCoding Request for retrieving the serial communication format SetControlLine...

Page 50: ...endpoint 0 status device descriptor configuration descriptor interface descriptor and endpoint descriptor o Set Interface and Endpoint Set the number of supported interfaces the status of alternative settings and the relationship between the interface and endpoints o Release NAK for Control Endpoint The NAK setting at control endpoint is released during registration of data for an automatic execut...

Page 51: ...omes ON 1 o Clear Interrupt Flag Clear the interrupt flag by setting the CPUDEC bit of UF0IC1 to OFF 0 o Load Request Data Load received data from FIFO and structure the request data o Determine Request Type It distinguishes whether the request is standard request that is not responded by hardware automatically class request or vendor request o Process Request Process the request depending on the ...

Page 52: ...3 is ON 1 o Clear Interrupt Cause Clear the cause of interrupt by setting BKO1DTC bit of UF0IC3 to OFF 0 o CBW Data Receiving Process Execute CBW Data Receiving Process Start BK01DT Interrupt No Yes End Set Data Receiving Flag Clear Interrupt Cause Figure 45 Flow Chart Jx3H_PLUGIT_COM Endpoint 1 Monitoring Process User s Manual U19647EE2V0UM00 52 ...

Page 53: ...rototype declaration Table 15 Header Files USB Serial Conversation Sample 11 3 7 Descriptor Information Field Size Description Value bLength 1 Descriptor size 0x12 bDescriptor 1 Descriptor type 0x01 bcdUSB 2 BCD format of USB release number 0x0200 bDeviceClass 1 Class code 0x00H no class 0xFFH vendor 0x01 0xFEH specific 0x02 bDeviceSubClass 1 Sub class code 0x00 bDeviceProtocol 1 Protocol code 0x0...

Page 54: ...wer consumption of bus with the unit of 2mA 0x1B Table 17 Configuration Descriptor Serial Conversion Sample Field Size Description Value bLength 1 Descriptor size 0x09 bDescriptor 1 Descriptor type 0x04 bInterfaceNumber 1 Index Number 0 based to indicate this interface in the configuration 0x00 bAlternateSetting 1 Input value to select alternate setting in SetInterface 0x00 bNumEndpoints 1 Interfa...

Page 55: ...me 1 1 2 transaction μ frame 2 2 3 transaction μ frame 3 Not in use reserved 0x0008 bInterval 1 Polling interval for data transfer endpoint Full low speed interrupt specify with unit of ms number of frames High speed isochronous interrupt specify N for 2 raised to the power of N 1 with unit of μ frame for example 1 polling in 8μ frames when bInterval is 4 Full speed isochronous specify N for 2 rai...

Page 56: ...lass device when it connects with the host and the Windows standard driver for mass storage devices will be used It can be formatted by the host system with the FAT file system Data such as files and directories can be written to an area of 24Kbyte to the built in RAM The stored data will be lost by pressing the Reset SW or turning off the power of the device Figure 46 Project Window Jx3H_PLUGIT_S...

Page 57: ...V850ES Jx3H Plug it 11 4 1 Development Environment Figure 47 Development Environment 11 4 2 System Structure Figure 48 System Structure of the sample program User s Manual U19647EE2V0UM00 57 ...

Page 58: ...SB1 and start a debug session o Connect port USB2 and run the sample application The driver will be automatically installed and a new Removable Disk Drive will appear in the Windows Explorer o Format the drive with the FAT file system and store some test files on it The V850ES Jx3 H Plug it board will appear as Removable Disk Drive Figure 49 Jx3H_PLUGIT_STORAGE sample Mass Storage Device User s Ma...

Page 59: ...tion Universal Serial Bus Mass Storage Class Bulk Only Transport Revision 1 0 The sample driver responds to the following class requests GET_MAX_LUN To retrieve the logical unit number for the mass storage device MASS_STORAGE_RESET To reset the interface that is related to the mass storage device 11 4 5 SCSI Command Process In the sample program SCSI command process is structured on the MSC sample...

Page 60: ...rface and Endpoint Set the number of supported interfaces the status of alternative settings and the relationship between the interface and endpoints o Release NAK for Control Endpoint The NAK setting at control endpoint is released during registration of data for an automatic execution request is complete o Set Interrupt Mask Register Set the mask for each interrupt source indicated in the interr...

Page 61: ...omes ON 1 o Clear Interrupt Flag Clear the interrupt flag by setting the CPUDEC bit of UF0IC1 to OFF 0 o Load Request Data Load received data from FIFO and structure the request data o Determine Request Type It distinguishes whether the request is standard request that is not responded by hardware automatically class request or vendor request o Process Request Process the request depending on the ...

Page 62: ...is ON 1 o Clear Interrupt Cause Clear the cause of interrupt by setting BKO1DTC bit of UF0IC3 to OFF 0 Start BK01DT Interrupt No Yes End CBW Data Receiving Process Clear Interrupt Cause o CBW Data Receiving Process Execute CBW Data Receiving Process Figure 52 Flow Chart Jx3H_PLUGIT_COM Endpoint 1 Monitoring Process User s Manual U19647EE2V0UM00 62 ...

Page 63: ...ata number for CBWCB and command direction and then executes READ WRITE or NO DATA process o Error Process Process for errors such as invalid command o READ Command Process Process READ related commands in SCSI commands o WRITE Command Process Process WRITE related commands in SCSI commands o NO DATA Command Process Process NO DATA related commands in SCSI commands o Generate CSW Generate and send...

Page 64: ...bf850_storage c function prototype declaration Table 22 Header Files USB Mass Storage Sample 11 4 8 Descriptor Information Field Size Description Value bLength 1 Descriptor size 0x12 bDescriptor 1 Descriptor type 0x01 bcdUSB 2 BCD format of USB release number 0x0200 bDeviceClass 1 Class code 0x00H no class 0xFFH vendor 0x01 0xFEH specific 0x00 bDeviceSubClass 1 Sub class code 0x00 bDeviceProtocol ...

Page 65: ...um power consumption of bus with the unit of 2mA 0x1B Table 24 Configuration Descriptor Mass Storage Sample Field Size Description Value bLength 1 Descriptor size 0x09 bDescriptor 1 Descriptor type 0x04 bInterfaceNumber 1 Index Number 0 based to indicate this interface in the configuration 0x00 bAlternateSetting 1 Input value to select alternate setting in SetInterface 0x00 bNumEndpoints 1 Interfa...

Page 66: ...ion 1 transaction μ frame 1 1 2 transaction μ frame 2 2 3 transaction μ frame 3 Not in use reserved 0x0040 bInterval 1 Polling interval for data transfer endpoint Full low speed interrupt specify with unit of ms number of frames High speed isochronous interrupt specify N for 2 raised to the power of N 1 with unit of μ frame for example 1 polling in 8μ frames when bInterval is 4 Full speed isochron...

Page 67: ...V850ES Jx3H Plug it 12 Cables 12 1 USB interface cable Mini B type Figure 54 USB interface cable Mini B type User s Manual U19647EE2V0UM00 67 ...

Page 68: ...V850ES Jx3H Plug it 13 Schematics Figure 55 V850ES Jx3 H Plug it schematics 1 3 User s Manual U19647EE2V0UM00 68 ...

Page 69: ...V850ES Jx3H Plug it Figure 56 V850ES Jx3 H Plug it schematics 2 3 User s Manual U19647EE2V0UM00 69 ...

Page 70: ...V850ES Jx3H Plug it Figure 57 V850ES Jx3 H Plug it schematics 3 3 User s Manual U19647EE2V0UM00 70 ...

Page 71: ...V850ES Jx3H Plug it MEMO User s Manual U19647EE2V0UM00 71 ...

Reviews: