Code Composer; Application Development - Sundance Spas SMT332 User Manual

Table of Contents

Advertisement

Version 1.3

Code Composer

This module is fully compatible with the Code Composer debug environment. This
extends to both the software and JTAG debugging hardware including the SMT320,
SMT327, SMT328 and TI's XDS-510.
In some circumstances, normally after a reset when the boot flash device is not
configured correctly, there is a requirement to perform a hardware reset during the
Code Composer start up sequence. If a Windows dialog box appears when Code
Composer is started and requests an 'Abort Retry Ignore' action, then a reset must
be made to the module, and then a retry actioned. The reset is most easily done
using the SMT6000 Server/Loader.

Application Development

Various methods exist to develop code for the SMT332/372 module. The simplest,
and probably the most cost effective, is by the use of the Sundance SMT6000 Server
Loader, and the associated library.
The Server Loader is an application which runs on a host PC under either Windows
98 or NT. It allows applications (in the standard TI COFF format) to be downloaded
and for stdio calls to be served.
A modified form of the TI rts library is supplied. One library for the 'C6201 and a
separate library for the 'C6701.
Using the SMT6000 supplied tools, a .out file is easily generated.
The Server Loader will read the .out file, decode it, and then transmit it via comm port
to the SMT332/372. The Server Loader includes a COFF decoder, and translates this
into 'C4x style boot code.
The boot code has the following format:
Word 0:
Word 1-3
Word 4:
Word 5:
Word 6:
Word 7:
Word 8 to 8+n
Word group 6,7 & 8 are repeated as necessary until the whole application is loaded.
To start the application, the last word transmitted must be a 0 (zero block length).
Page 29 of 36
either 0x00003779 for half speed SBSRAM
or
0x0000377D for full speed SBSRAM (recommended)
0, 0, 0
execution address
0
block length, n
destination address (external memory only)
data or code
SMT332/372 User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smt372

Table of Contents