![8.6.1.3linker,cmd](/images/new-backgrounds/139264/139264101x1.webp)
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 | */ |
/******************************************************************/
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
lnk500 linker.cmd
Interfacing the TLV1562 Parallel ADC to the TMS320C54x DSP | 45 |