EasyManuals Logo

Texas Instruments Metawatch MSP-WDS Series User Manual

Texas Instruments Metawatch MSP-WDS Series
80 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #33 background imageLoading...
Page #33 background image
www.ti.com
A.3 Debugging (C-SPY)
Debugging (C-SPY)
20. Numerous C and C++ runtime libraries are provided with the Workbench:
cl430d: C, 64-bit doubles
cl430dp: C, 64-bit doubles, position independent
cl430f: C, 32-bit doubles
cl430fp: C, 32-bit doubles, position independent
dl430d: C++, 64-bit doubles
dl430dp: C++, 64-bit doubles, position independent
dl430f: C++, 32-bit doubles
dl430fp: C++, 32-bit doubles, position independent
See the IAR MSP430 C/C++ compiler reference guide for more information on which library to use.
1. Debugging with C-SPY does not seem to affect an externally connected MSP430 device. Should
this be the case, check whether the main debugger menu bar contains a menu item called Simulator. If
so, an actual C-SPY MSP430 core simulator session is running, and no actual communication with the
target device is established. Solution: Ensure that the C-SPY driver is set to FET Debugger
(Project Options Debugger Setup Driver).
2. C-SPY reports that it cannot communicate with the device. Possible solutions to this problem
include:
Ensure that the correct debug interface is selected; use Project Options FET Debugger
Connection.
Ensure that the correct parallel port (LPT1, 2, or 3) is being specified in the C-SPY configuration in
the case a parallel port MSP-FET430PIF interface is used; use Project Options FET
Debugger Connection Parallel Port LPT1 (default) or LPT2 or LPT3. Check the PC BIOS
for the parallel port address (0x378, 0x278, 0x3bc), and the parallel port configuration (ECP,
Compatible, Bidirectional, or Normal) (see FAQ Debugging #8 ). For users of IBM ThinkPad™
computers, try port specifications LPT2 and LPT3, even if the operating system reports the parallel
port is located at LPT1.
Ensure that no other software application has reserved/taken control of the parallel port (for
example, printer drivers, ZIP drive drivers, etc.) if a parallel port MSP-FET430PIF interface is used.
Such software can prevent the C-SPY/FET driver from accessing the parallel port and, hence,
communicating with the device.
It may be necessary to reboot the computer to complete the installation of the required port drivers.
Ensure that the MSP430 device is securely seated in the socket (so that the "fingers" of the socket
completely engage the pins of the device), and that its pin 1 (indicated with a circular indentation
on the top surface) aligns with the "1" mark on the PCB.
CAUTION
Possible Damage to Device
Always handle MSP430 devices using a vacuum pick-up tool only; do not
use your fingers, as they can easily bend the device pins and render the
device useless. Also, always observe and follow proper ESD precautions.
3. C-SPY reports that the device JTAG security fuse is blown. With current MSP-FET430PIF and
MSP430-FET430UIF JTAG interface tools there is a weakness when adapting target boards that are
powered externally. This leads to an accidental fuse check in the MSP430 and results in the JTAG
security fuse being recognized as blown although it is not. This is valid for MSP-FET430PIF and
MSP-FET430UIF but is mainly seen on MSP-FET430UIF.
Workarounds:
Connect the device RST/NMI pin to JTAG header (pin 11), MSP-FET430PIF/MSP-FET430UIF
interface tools are able to pull the RST line, this will also reset the device internal fuse logic.
Do NOT connect both Vcc Tool (pin 2) and Vcc Target (pin 4) of the JTAG header and specify a
value for Vcc in the debugger which is equal to the external supply voltage.
SLAU138F June 2004 Revised March 2007 Frequently Asked Questions 33
Submit Documentation Feedback

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Metawatch MSP-WDS Series and is the answer not in the manual?

Texas Instruments Metawatch MSP-WDS Series Specifications

General IconGeneral
BrandTexas Instruments
ModelMetawatch MSP-WDS Series
CategoryComputer Accessories
LanguageEnglish

Related product manuals