EasyManua.ls Logo

ST ST7 - The CATERPIL.BAT File

ST ST7
317 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
179/317
6 - STMicroelectronics Programming Tools
;*
;*************************************************************
BYTES ; following addresses are 8 bit long
;*************************************************************
segment byte at 80-FF 'ram0'
; user ram in zero page
;*************************************************************
WORDS ; following addresses are 16 bit long
;*************************************************************
segment byte at 100-13F 'ram1'
; extended user ram
;*************************************************************
;*************************************************************
segment byte at 140-17F 'stack'
; stack ram
;*************************************************************
;*************************************************************
segment byte at E000-FFDF 'rom'
; program rom
;*************************************************************
;*************************************************************
segment byte at FFE0-FFFF 'vectit'
; interrupt vector table
;*************************************************************
END
Typically, this file remains the same for all projects; you should only alter these settings for
special reasons relating to the memory map of the component that is fixed by hardware. When
changingthetypeofmicrocontroller,youhavetochangethisfileandreplaceitwithafilespe-
cially written for the other model of microcontroller.
6.4.3.5 The CATERPIL.BAT file
This file drives the assembly, link, hex file generation and back annotation of the listing files.
The contents of the file are:
asm -li Map72251
asm -li Reg72251
asm -li MAIN
asm -li TIMER500
lyn REG72251+MAP72251+TIMER500+MAIN,CATERPIL,
pause
obsend CATERPIL,f,CATERPIL.s19,s
asm Map72251 -sym -fi=CATERPIL.map
asm Reg72251 -sym -fi=CATERPIL.map
asm MAIN -sym -fi=CATERPIL.map
asm TIMER500 -sym -fi=CATERPIL.map

Table of Contents

Related product manuals