Target Configuration

The way the Target MSP is used maybe set-up in the file MSPxxxx.INI.

This is loaded by IRTC and extends RAMFMSP.EXE by compiling the MSP430 set-up words and the talker, TLM, code. The positions and size of the memory spaces and stack positions are set.

Below is the source for MSP430F121;

\ Initialisation File for MSP430F121 June 2nd, 2001 - 12:22

FPATH+ c:\WIN32FOR\MSP430;c:\WIN32FOR\MSP430\MSPMAN

38400 8 NOPARITY TWOSTOPBITS SET-COM1

META IN-META

IRTC-MENU

SET-FF

$0200 VALUE RAM-VEC

$0220 VALUE RAM-START

$02FF VALUE RAM-END

$F000 VALUE ROM-START

$FFFF VALUE ROM-END

FLOAD MTMSP.F \ Change to STMSP.F for non multi-tasking

H: "MSP S" MSP430F121 " ;

FORTH ' "MSP IS MSP-TYPE

FORTH HERE FENCE !

HOST

.STATISTICS

CR CR .( IRTC for MSP430F121 Running in HOST mode )

The start and end of the file space and code space are set. These are used to warn if exceeded during compilation. The programming algorithm is set for the Flash device and the TLM object code is loaded into the PC Target image.

Note: The baud rate for the TLM is computed by the code which uses the 32KHz crystal to control the DCO to give a CPU clock of 3.68MHz.

 

Contents