8.6.1.3linker,cmd

Software Overview

8.6.1.3linker,cmd

The linker file for each mode is specified with called file names, but in general looks like the following, made for the Mono Continuous Mode:

/******************************************************************/

/* File: Linker.lnk COMMAND FILE

*/

/*

.title ”COMMAND FILE FOR TLV1562.ASM”

*/

/*

 

*/

/* This CMD file allocates the memory area for the TLV1562

*/

/* interface Program

*/

/******************************************************************/

–stack 0x0080 –M monocon1.MAP –O monocon1.OUT –e START monocon1.obj

MEMORY

{

PAGE 0:

 

VECT:

origin =

0200h, length = 0080h

 

PROG:

origin = 0300h, length = 0400h

PAGE 1:

 

RAMB0:

origin = 1800h, length = 1600h

}

 

 

 

 

SECTIONS

 

 

 

 

{

 

 

 

 

.text

:

{} > PROG PAGE = 0

.vectors :

{} > VECT PAGE = 0

.data

:

{} > RAMB0 PAGE = 1

.variabl :

{} > RAMB0 PAGE = 1

}

 

 

 

 

8.6.1.4Auto.bat

The batch file to compile changes is specified for each mode, but in general looks like the following, made for the mono continuous mode:

del *.map del *.obj del *.out del *.lst

asm500 monocon1.asm –l –mg –q –s pause

lnk500 linker.cmd

Interfacing the TLV1562 Parallel ADC to the TMS320C54x DSP

45

Page 51
Image 51
Texas Instruments manual linker,cmd, Auto.bat, File Linker.lnk COMMAND FILE, title ”COMMAND FILE FOR TLV1562.ASM”