www.ti.com
4.3
Bootloader Code Listing (V3.0)
Bootloader Code Listing (V3.0)
to 0xFFFE.
–
The version number, release date and checksum memory locations have been updated to reflect
the new release.
•
Version: 2, Released: January 2005
The following changes were made in V2:
–
The version number, release date and checksum memory locations have been updated to reflect
the new release.
–
Updated the eCAN-A bootloader to correctly initialize the IDE and AME bits of the MSGID1 register.
–
The input configuration of the SCI-A, SPI-A, I2C-A and eCAN-A peripherals are now configured to
be asynchronous inputs when the appropriate bootloader is called. In the previous version, these
inputs were left configured in the default mode which is synch to SYSCLKOUT.
–
The boot mode selection routine now checks the missing clock detect bit (MCLKSTS) in the
PLLSTS register to determine if the PLL is operating in limp mode. If the PLL is operating in limp
mode, the boot mode select function takes action depending on the boot mode selected:
•
Boot to flash, OTP, SARAM, I2C-A, SPI-A and the parallel I/O modes behave as normal. The
user's software must check for missing clock status and take the appropriate action if the
MCLKSTS bit is set.
•
SCI-A boot will be taken, however, depending on the requested baud rate the device may not
be able to autobaud lock. In this case, the boot ROM software will loop in the autobaud lock
function indefinitely. Should the SCI-A boot complete, the user's software must check for a
missing clock status and take the appropriate action.
•
Boot to eCAN-A will not be taken. Instead the boot ROM will loop indefinitely.
•
Version: 1, Released: August 2004:
The initial release of the 280x boot ROM. This version has the following known issues:
–
The eCAN-A bootloader does not initialize the IDE and AME bits of the MSGID1 register. Since
these bits can come up as 1 or 0, the frames transmitted by the host may or may not be received.
This bootloader can be used for software development by manually initializing this register before
running the e-CAN bootloader.
–
The input configuration of the SCI-A, SPI-A, I2C-A and eCAN-A peripherals are configured in the
default mode which is synch to SYSCLKOUT. This will be changed to asynchronous mode in the
next version.
The following code listing is for the boot ROM code V3.0. Code changes related to V4.0 are shown in .To
determine the version of the bootloader code check the contents of memory address 0x3F FFBA in the
boot ROM. See
for more information.
Note:
The boot ROM code uses the 280x version of the header files.
// TI File $Revision: /main/2 $
// Checkin $Date: January 10, 2005
14:45:35 $
//###########################################################################
//
// FILE:
F280x_Boot.h
//
// TITLE:
F280x Boot ROM Definitions.
//
//###########################################################################
// $TI Release:$
// $Release Date:$
//###########################################################################
#ifndef F280X_BOOT_H
#define F280X_BOOT_H
//---------------------------------------------------------------------------
// Fixed boot entry points:
SPRU722C – November 2004 – Revised October 2006
Bootloader Code Overview
57