Development Flow
2-4
Enable the Device Description file. This file makes C-SPY “aware” of the
specifics of the device it is debugging. This file will correspond to the
specified target device (DEBUGGER->SETUP->DEVICE DESCRIPTION-
>OVERRIDE DEFAULT)
Enable the erasure of the Main and Information memories before object code
download (FET DEBUGGER->SETUP->DOWNLOAD CONTROL->ERASE
MAIN AND INFORMATION MEMORY)
In order to maximize system performance during debug, disable Virtual
Breakpoints (FET DEBUGGER->SETUP ->USE VIRTUAL
BREAKPOINTS), and disable all System Breakpoints (FET DEBUGGER-
>SETUP ->SYSTEM BREAKPOINTS ON)
Note: Use of Factory Settings to quickly configure a project
It is possible to use the Factory Settings button to quickly configure a
project to a usable state.
The following steps can be used to quickly configure a project:
Note: The GENERAL OPTIONS tab does not have a FACTORY
SETTINGS button
1) Specify the target device (GENERAL OPTIONS ->TARGET-
>DEVICE)
2) Enable an assembler project or a C/assembler project (GENERAL
OPTIONS ->TARGET->ASSEMBLER ONLY PROJECT)
3) Enable the generation of an executable output file (GENERAL
OPTIONS ->OUTPUT->OUTPUT FILE->EXECUTABLE)
4) Accept the factory settings for the compiler (C/C++ COMPILER-
>FACTORY SETTINGS)
5) Accept the factory settings for the assembler (ASSEMBLER-
>FACTORY SETTINGS)
6) Accept the factory settings for the linker (LINKER->FACTORY
SETTINGS)
7) Accept the factory settings for C-SPY (DEBUGGER->FACTORY
SETTINGS)
8) To debug on the hardware, select DEBUGGER ->SETUP-
>DRIVER->FET DEBUGGER
9) Specify the active parallel port used to interface to the FET if not
LPT1 (FET DEBUGGER ->SETUP->CONNECTION->LPTx) or
specify the USB port (FET DEBUGGER ->SETUP->CONNECTION-
>TI USB FET)