www.ti.com
4.4
Bootloader Code Listing (V4.0)
Bootloader Code Listing (V4.0)
/*
// TI File $Revision: /main/5 $
// Checkin $Date: April 21, 2005
15:59:42 $
//###########################################################################
//
// FILE:
F280x_boot_rom_lnk.cmd
//
// TITLE:
F280x boot rom linker command file
//
//
//###########################################################################
// $TI Release:$
// $Release Date:$
//###########################################################################
*/
MEMORY
{
PAGE 0 :
TABLES
: origin = 0x3FF000, length = 0x000b50
BOOT
: origin = 0x3FFB50, length = 0x000386
RSVD1
: origin = 0x3FFED6, length = 0x0000E3
FLASH_API : origin = 0x3FFFB9, length = 0x000001
VERSION
: origin = 0x3FFFBA, length = 0x000002
CHECKSUM
: origin = 0x3FFFBC, length = 0x000004
VECS
: origin = 0x3FFFC0, length = 0x000040
PAGE 1 :
EBSS
: origin = 0x400, length = 0x002
STACK
: origin = 0x402, length = 0x200
}
SECTIONS
{
IQmathTables : load = TABLES,
PAGE = 0
.InitBoot
: load = BOOT,
PAGE = 0
.text
: load = BOOT,
PAGE = 0
.BootVecs
: load = VECS,
PAGE = 0
.Checksum
: load = CHECKSUM, PAGE = 0
.Version
: load = VERSION, PAGE = 0
.stack
: load = STACK,
PAGE = 1
.ebss
: load = EBSS,
PAGE = 1
rsvd1
: load = RSVD1,
PAGE = 0
}
This section only shows the code that was modified from V3.0 to V4.0.
;; TI File $Revision: /main/7 $
;; Checkin $Date: May 2, 2006
20:49:39 $
;;###########################################################################
;;
;; FILE:
Init_Boot.asm
;;
;; TITLE:
280x Boot Rom Initialization and Exit routines.
;;
;; Functions:
;;
;;
_InitBoot
;;
_ExitBoot
;;
;; Notes:
;;
SPRU722C – November 2004 – Revised October 2006
Bootloader Code Overview
87