beautypg.com

Application development – Sundance SMT361 User Manual

Page 15

background image

Version 2.7

Page 15 of 23

SMT361 SMT361A User Manual

Application Development

You can develop code for SMT361 modules in several ways. The simplest is to use
the Sundance SMT6000 Server Loader and its associated libraries.
The Server Loader is an application that runs on a host PC under either Windows 98
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 ComPorts to the SMT361.
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

This manual is related to the following products: