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