Contents
1
Boot ROM Overview
..................................................................................................
1.1
Boot ROM Memory Map
..........................................................................................
1.2
On-Chip Boot ROM IQ Math Tables
............................................................................
1.3
CPU Vector Table
.................................................................................................
2
Bootloader Features
.................................................................................................
2.1
Bootloader Functional Operation
................................................................................
2.2
Bootloader Device Configuration
................................................................................
2.3
PLL Multiplier Selection
..........................................................................................
2.4
Watchdog Module
.................................................................................................
2.5
Taking an ITRAP Interrupt
.......................................................................................
2.6
Internal Pullup Resisters
.........................................................................................
2.7
PIE Configuration
..................................................................................................
2.8
Reserved Memory
.................................................................................................
2.9
Bootloader Modes
.................................................................................................
2.10
Bootloader Data Stream Structure
..............................................................................
2.11
Basic Transfer Procedure
........................................................................................
2.12
InitBoot Assembly Routine
.......................................................................................
2.13
SelectBootMode Function
........................................................................................
2.14
CopyData Function
................................................................................................
2.15
SCI_Boot Function
................................................................................................
2.16
Parallel_Boot Function (GPIO)
..................................................................................
2.17
SPI_Boot Function
................................................................................................
2.18
I
2
C Boot Function
..................................................................................................
2.19
eCAN Boot Function
..............................................................................................
2.20
ExitBoot Assembly Routine
......................................................................................
3
Building the Boot Table
.............................................................................................
3.1
The C2000 Hex Utility
............................................................................................
3.2
Example: Preparing a COFF File For eCAN Bootloading
...................................................
4
Bootloader Code Overview
........................................................................................
4.1
Boot ROM Version and Checksum Information
...............................................................
4.2
Bootloader Code Revision History
..............................................................................
4.3
Bootloader Code Listing (V3.0)
..................................................................................
4.4
Bootloader Code Listing (V4.0)
..................................................................................
A
Revision History
SPRU722C – November 2004 – Revised October 2006
Contents
3