background image

 

8

 Getting 

Started 

 

h)

 

Refer to the FET User’s Guide, FAQ on Debugging #1 if the debugger is unable to 
communicate with the device. 

i)

 

Use DEBUG

Æ

GO to start the application. If the device is connected to the PC for the 

first time with the firmware running, device installation/first time enumeration occurs. 
Refer Section 4.6    

4.5

 

 USB Device First-Time Enumeration 

When a USB device is attached to a USB host (PC), the host 

enumerates

 it; that is, it queries 

the device as to what it is, and loads the corresponding drivers.  The first time a device is 
attached, the OS may need help in locating the corresponding drivers so it can install the new 
device.  Windows requests this by prompting the “Found New Hardware” wizard.  

Drivers for CDC (Communications Device Class) are already installed within Windows, but 
Windows needs to be guided to an *.inf file (MSP430_CDC.inf) included with this kit.  Using this 
*.inf file, Windows can finish loading the appropriate drivers. 

NOTE

: The enumeration procedure discussed here, takes place only the first time a specific 

USB device is connected to the USB host (PC). Successive enumerations for the same USB 
device happen without any need for user intervention. 

The following steps give a detailed description of the device installation/first-time enumeration 
procedure for MSP430F6638 (under Windows XP). The procedures are also somewhat similar 
for other Windows operating systems. 

1.

 

On connecting the MSP430F6638 target board to PC, Windows detects the new device 
attached to PC and initiates the “Found New Hardware Wizard” prompting the user to 
install the software for the detected USB Device. 

2.

 

Select "No, not this time" from the options available and then click "Next" to proceed with 
the installation. 

Содержание MSP430F5630

Страница 1: ...USB Firmware for the F6638 5 4 4 4 Using CCS IAR to Compile Download Run the Firmware 6 4 5 USB Device First Time Enumeration 8 4 6 Verifying USB Device Installation and Determining COM Port Assignme...

Страница 2: ...Technical Documents tab 1 Device Datasheet 2 MSP430x5xx Family User s Guide 3 Application Report PMM UCS Port Mapping and Flash Libraries for the MSP430x5xx and MSP430x6xx Devices 4 MSP430F66xx Device...

Страница 3: ...C Program Files Texas Instruments MSP430_USB_DRIVERS_v3 USB IAR C ProgramFiles IAR Systems Embedded Workbench x x 430 drivers TIUSBFET WinXP The MSP430 Hardware Tool User s Guide Appendix F gives deta...

Страница 4: ...ed to connect the USB FET tool MSPFET430UIF USB Connector The USB type B connector on the target board is used to connect the USB cable Type A to B between PC and the target board 4 3 2 Jumper Setting...

Страница 5: ...ection below outlines getting started with development on the F6638 using a USB code example 4 4 1 Attach the USB FET Tool to the PC Connect the USB FET tool to a spare USB port on the PC using the US...

Страница 6: ...ion on the PC Your Working Directory USB CDCv1 19 for CCSv4 b Start CCSv4 Core Edition Start Programs Texas Instruments Code Composer Studio v4 Code Composer Studio v4 Core Edition c If opening the ex...

Страница 7: ...py and extract the contents of the USB API firmware USB CDCv1 19 for IAR zip that is present in the MSP430 USB CDC HID API Stacks zip file to a known location on the PC Your Working Directory USB CDCv...

Страница 8: ...lready installed within Windows but Windows needs to be guided to an inf file MSP430_CDC inf included with this kit Using this inf file Windows can finish loading the appropriate drivers NOTE The enum...

Страница 9: ...click Next 4 In the Choose your search and installation options window select Search for best driver in these locations options and use the browse button to enter the file path that contains the USB...

Страница 10: ...g Started Your Working Directory USB CDCv1 19 for CCSv4 or IAR USBCDC_Example1 Once the file path has been entered in the box click Next to proceed 5 Wait while the wizard searches the driver files as...

Страница 11: ...the following screen will be displayed unless installing a Microsoft WHQL certified driver Click on Continue Anyway to continue with the installation If Windows XP is configured to ignore file signat...

Страница 12: ...12 Getting Started 8 Windows should then display a message indicating that the installation was successful Click Finish to complete the installation for the first port of the device...

Страница 13: ...device use Device Manager which is Windows means of viewing all peripheral devices available in the system In Windows the Device Manager can be opened by browsing through Start Control Panel System an...

Страница 14: ...Application using HyperTerminal All the USBCDC examples that are provided with the USB API firmware interface with HyperTerminal application on the PC The USBCDC_Example1 demo application is used to c...

Страница 15: ...rted 15 Set appropriate PORT SETTINGS as shown below and press OK Find below the ASCII set up configurations for this demo This window can be opened by navigating through File Properties Settings tab...

Страница 16: ...ted Appropriate phrases entered in the HyperTerminal window help control the LED on the MSP430F6638 target board Mentioned below are the valid LED control phrases that can be typed in the HyperTermina...

Страница 17: ...ide a number of useful code examples that can serve as a good starting point for USB development 5 Special Considerations for the MSP430F66xx Device The document MSP430x5xx Overview Comparison to MSP4...

Страница 18: ...s required to power the oscillator It is also possible to power the oscillator directly from DVcc by disabling the backup system in software This is done by setting the BAKDIS and BAKSW bits in the BA...

Страница 19: ...e the RTC registers to their previous state It is important to note that this reconfiguration needs to be performed before the LOCKIO bit is cleared More details on the state of each RTC register at r...

Страница 20: ...h statements TI products are not authorized for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury...

Отзывы: