Development Flow
2-7
system stack within C programs. CSTACK can also be used in assembler
programs [MOV #SFE(CSTACK), SP]. CSTACK is defined to extend from the
last location of RAM for 50 bytes (i.e., the stack extends downwards through
RAM for 50 bytes).
Other statements in the .xcl file define other relocatable regions that are
allocated from the first location of RAM to the bottom of the stack. It is critical to
note that:
1. The supplied .xcl files reserve 50 bytes of RAM for the stack,
regardless if this amount of stack is actually required (or if it is
sufficient).
2. There is no runtime checking of the stack. The stack can overflow
the 50 reserved bytes and possible overwrite the other segments.
No error will be output.
The supplied .xcl files can be easily modified to tune the size of the stack to the
needs of the application; simply edit -D_STACK_SIZE=xx to allocate xx bytes
for the stack. Note that the .xcl file will reserve 50 byes for the heap if required
(say, by malloc()).
2.2.5 How to Generate Texas Instrument .TXT (and other format) Files
The Kickstart linker can be configured to output objects in TI .TXT format for
use with the GANG430 and PRGS430 programmers. Select: PROJECT-
>OPTIONS->LINKER->OUTPUT->FORMAT->OTHER->MSP430-TXT. Intel
and Motorola formats can also be selected.
Refer to FAQ, Program Development #6).
2.2.6 Overview of Example Programs
Example programs for MSP430 devices are provided in <Installation
Root>\Embedded Workbench x.x\430\FET_examples. Each tool folder contains
folders that contain the assembler and C sources.
<Installation Root>\Embedded
Workbench\x.x\430\FET_examples\fet_projects.eww conveniently organizes
the FET_1 demonstration code into a workspace. The workspace contains
assembler and C projects of the code for each of the FET tools. Debug and
Release versions are provided for each of the projects.
<Installation Root>\Embedded Workbench
x.x\430\FET_examples\code_examples.eww conveniently organizes the code
examples into a workspace. The workspace contains assembler and C projects
of the code for each of the FET tools. Debug and Release versions are
provided for each of the projects.
<Installation Root>\Embedded Workbench x.x\430\FET_examples\contents.htm
conveniently organizes and documents the examples.
Additional code examples can be found on the MSP430 home page under
Design Resources.
Summary of Contents for MSP-FET430
Page 3: ......
Page 4: ...July 2004 U s e r s G u i d e ...
Page 8: ...vi ...
Page 12: ......
Page 30: ......
Page 52: ...Hardware B 2 Figure B 1 MSP FET430X110 Schematic ...
Page 54: ...Hardware B 4 Figure B 3 MSP FET430IF FET Interface module Schematic ...
Page 63: ...Hardware B 13 Figure B 11 MSP TSPN80 Target Socket module Schematic ...
Page 67: ...Hardware B 17 Figure B 15 MSP FET430UIF USB Interface schematics ...
Page 68: ...Hardware B 18 ...
Page 69: ...Hardware B 19 ...
Page 70: ...Hardware B 20 ...
Page 71: ...Hardware B 21 ...
Page 72: ......
Page 80: ......
Page 90: ......
Page 95: ...MSP FET430UIF Installation Guide F 5 Figure F 5 Device Manager ...