Bootloader Code Listing (V4.0)
; This module performs the following actions:
;
; 1) enables the watchdog
; 2) loops forever
;-----------------------------------------------
.sect ".Isr"
_ITRAPIsr:
SETC OBJMODE ;Set OBJMODE for 28x object code
EALLOW ;Enable EALLOW protected register access
MOVZ DP, #7029h>>6 ;Set data page for WDCR register
MOV @7029h, #0028h ;Clear WDDIS bit in WDCR to enable Watchdog
EDIS ;Disable EALLOW protected register access
SB 0,UNC ;Loop forever
;eof ----------
;; TI File $Revision: /main/3 $
;; Checkin $Date: May 2, 2006 20:49:30 $
;;###########################################################################
;;
;; FILE: Vectors_Boot.h
;;
;; TITLE: Boot Rom vector table.
;;
;; Functions:
;;
;; This section of code populates the vector table in the boot ROM. The reset
;; vector at 0x3FFFC0 points to the entry into the boot loader functions (InitBoot())
;; The rest of the vectors are populated for test purposes only.
;;
;;###########################################################################
;; $TI Release:$
;; $Release Date:$
;;###########################################################################
;-----------------------------------------------------------
; The vector table located in boot ROM at 0x3F FFC0 - 0x3F FFFF
; will be filled with the following data.
;
; Only the reset vector, which points to the InitBoot
; routine will be used during normal operation. The remaining
; vectors are set for internal testing purposes and will not be
; fetched from this location during normal operation.
;
; On the 280x reset is always fetched from this table.
;
;----------------------------------------------------------
.ref _InitBoot
.ref _ITRAPIsr
.sect ".BootVecs"
.long _InitBoot ;Reset
.long 0x000042
.long 0x000044
.long 0x000046
.long 0x000048
.long 0x00004a
.long 0x00004c
.long 0x00004e
.long 0x000050
.long 0x000052
.long 0x000054
.long 0x000056
.long 0x000058
.long 0x00005a
.long 0x00005c
SPRU722C – November 2004 – Revised October 2006 Bootloader Code Overview 91
Submit Documentation Feedback