background image

 

 Getting 

Started

 

7

 

ƒ

 

Make sure the right project is select as the active project in the workspace. 

d)

 

Make sure that in PROJECT

Æ

 PROPERTIES 

Æ

 CCS BUILD 

Æ

 GENERAL, the 

Device Variant ‘MSP430F6638’ is selected.  

e)

 

Use PROJECT 

Æ

 REBUILD ALL to build and link the source code. To view the 

source code, double-click on the project, and then double-click on the displayed 
source file. 

f)

 

Use TARGET 

Æ

 DEBUG ACTIVE PROJECT to start the debugger. The debugger 

will erase the device Flash, and then download the application object file to the 
device Flash. 

g)

 

A firmware mismatch/update window may pop-up while trying to download the source 
code to device, for the first time. Click on “Update” to update the emulator firmware 

h)

 

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

i)

 

Use RUN 

Æ

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

If using IAR: 

a)

 

Copy 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 CDCv1.19 for IAR >

 

b)

 

Start the IAR Workbench which was installed. 

Start 

Æ

 Programs 

Æ

 IAR Systems 

Æ

 IAR Embedded Workbench Kickstart for 

MSP430 

Æ

 IAR Embedded Workbench 

c)

 

Open the IAR workspace provided in the USB CDC code examples. Navigate 
through FILE 

Æ

 Open 

Æ

 Workspace  and use the ‘Open’ button to select the folder 

path 

<...Your Working Directory \ USB CDCv1.19 for IAR \ Workspace 

 

d)

 

Select the USBCDC_Example1 project and Make sure that under 
PROJECT

Æ

OPTIONS

Æ

Category: FET Debugger

Æ

 Setup tab

Æ

CONNECTION 

option, the Texas Instruments USB-IF or Texas Instruments LPT-IF is selected. 

e)

 

Next use PROJECT

Æ

REBUILD ALL to build and link the source code.  

f)

 

Next use PROJECT 

Æ

 DOWNLOAD and DEBUG to start the download and debug 

process. The debugger will erase the device Flash, and then download the 
application object file to the device Flash. 

g)

 

A firmware mismatch/update window may pop-up while trying to download the source 
code to device, for the first time. Refer figure below.  Select “Yes” to update the 
emulator firmware  

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

Отзывы: