|
SLAS191A Datasheet, PDF (80/86 Pages) Texas Instruments – Starter Kit Evaluation Kit Manual | |||
|
◁ |
.word
start
;âââ additionally define reset vector in EPROM if final version
.if DVLP = 0
.sect âEPRM_RESâ, 0E9FEhâ((TRIALâ1)*22h)
.word start
;
write identification to EPROM if final version. This MUSt be the LAST
section !
.sect âIDENTâ, 0E9DEhâ((TRIALâ1)*22h)
.word 0AA55h
.endif
NOTE: Identification Pattern AA55h
Program the identification pattern as the last word of the download. To assure this, the section
containing the identification should be the last section in the source file.
The following code is an example of the EPROM user interrupt vector table and the associated key for its
activation.
.sect âInt_Vectâ,0E90Ehâ((TRIALâ1)*22h)
.word POIFG.27
; I/O Port 0
.word BTIFG
; Basic Timer
.word RESET
;
.word RESET
;
.word RESET
; (TimerB)
.word ADCIFG
; ADC, Timer/Port
.word RESET
; Timer/Port
.word RESET
; (SCI)
.word RESET
; (TimerA)
.word RESET
; (TimerA)
.word WDTIFG
; Watchdog timer
.word RESET
; (SPI)
.word POIFG.1
; Dedicated I/O
.word POIFG.0
; Dedicated I/O
.word OFIFG
; OSC. fault
.word WDTIFG
; Power-up, ext. Reset, Watchdog
.sect âIDENTâ,0E9DEhâ((TRIALâ1)*22h)
.word 0AA55h
.end
6â4
|
▷ |