beautypg.com

Application development – Sundance SMT319 User Manual

Page 34

background image

Version 1.0.7

Page 34 of 45

SMT319 User Manual

Application Development

You can develop code for SMT319 modules in several ways. The simplest is to use
the Sundance SMT6000 Server Loader and its associated libraries (shortly to be
discontinued).
The Server Loader is an application that runs on a host PC under either Windows 98,
2000 or NT and allows you to run COFF-format applications. Modified forms of the TI
RTS library support standard C I/O.
The Server Loader will read a .out file and convert it into C4x-style boot code which
is then transmitted down a comm-port to the SMT319.
The boot code is in the following format:

Word

1

1

0

Reserved

Words 2, 3, 4

0, 0, 0

Word 5

start address

6-word
header

Word 6

0

Word 1

4*N: Length of load block (in bytes)

2

Word 2

Destination address (external memory only)

Load Block

Next N words

N data words

0 or more
Load Blocks

Terminator Word

1

0

3

1

A word is 32 bits

2

The length of each data block will be rounded up to a multiple of 4 bytes if necessary.

3

Effectively a zero-length Load Block