EasyManua.ls Logo

Texas Instruments TMS320*2801 Series User Manual

Texas Instruments TMS320*2801 Series
94 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #28 background imageLoading...
Page #28 background image
www.ti.com
2.11 Basic Transfer Procedure
Basic Transfer Procedure
Example 2-2. Data Stream Structure 8-bit
AA 08 ; 0x08AA 8-bit key value
00 00 00 00 ; 8 reserved words
00 00 00 00
00 00 00 00
00 00 00 00
3F 00 00 80 ; 0x003F8000 EntryAddr, starting point after boot load completes
05 00 ; 0x0005 - First block consists of 5 16-bit words
3F 00 10 90 ; 0x003F9010 - First block will be loaded starting at 0x3F9010
01 00 ; Data loaded = 0x0001 0x0002 0x0003 0x0004 0x0005
02 00
03 00
04 00
05 00
02 00 ; 0x0002 - 2nd block consists of 2 16-bit words
3F 00 00 80 ; 0x003F8000 - 2nd block will be loaded starting at 0x3F8000
00 77 ; Data loaded = 0x7700 0x7625
25 76
00 00 ; 0x0000 - Size of 0 indicates end of data stream
After load has completed the following memory values will have been initialized as follows:
Location Value
0x3F9010 0x0001
0x3F9011 0x0002
0x3F9012 0x0003
0x3F9013 0x0004
0x3F9014 0x0005
0x3F8000 0x7700
0x3F8001 0x7625
PC Begins execution at 0x3F8000
Figure 2-6 illustrates the basic process a bootloader uses to determine whether 8-bit or 16-bit data stream
has been selected, transfer that data, and start program execution. This process occurs after the
bootloader finds the valid boot mode selected by the state of GPIO pins.
The loader first compares the first value sent by the host against the 16-bit key value of 0x10AA. If the
value fetched does not match then the loader will read a second value. This value will be combined with
the first value to form a word. This will then be checked against the 8-bit key value of 0x08AA. If the
loader finds that the header does not match either the 8-bit or 16-bit key value, or if the value is not valid
for the given boot mode then the load will abort. In this case the loader will return the entry point address
for the flash to the calling routine.
28 Bootloader Features SPRU722C November 2004 Revised October 2006
Submit Documentation Feedback

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320*2801 Series and is the answer not in the manual?

Texas Instruments TMS320*2801 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320*2801 Series
CategoryComputer Hardware
LanguageEnglish

Summary

Chapter 1 Boot ROM Overview

Boot ROM Memory Map

Defines the memory map of the on-chip boot ROM, detailing locations for math tables and bootloader functions.

On-Chip Boot ROM IQ Math Tables

Lists and describes the IQ math tables within the boot ROM, essential for optimized calculations.

Chapter 2 Bootloader Features

Bootloader Functional Operation

Outlines the bootloader's primary function: transferring external code into internal memory for execution.

Bootloader Device Configuration

Details device operating modes (27x, 28x, C2xLP) configured by boot ROM software.

Bootloader Modes

Lists and explains various boot modes selected via GPIO pin configurations.

Bootloader Data Stream Structure

Describes the format and content of the data stream used for code loading by bootloaders.

SelectBootMode Function

Details how the SelectBootMode function reads GPIO pins to determine the boot mode.

SCI_Boot Function

Describes the SCI boot mode for asynchronous code transfer via the SCI-A port.

SPI_Boot Function

Details the SPI boot mode for loading code from SPI-compatible serial EEPROMs.

I2C Boot Function

Describes the I2C boot mode for loading code from an I2C EEPROM.

eCAN Boot Function

Explains the eCAN boot mode for asynchronous code transfer via the eCAN-A port.

Chapter 3 Building the Boot Table

The C2000 Hex Utility

Guides users on using the hex2000 utility to generate bootable data streams and boot tables.

Chapter 4 Bootloader Code Overview

Boot ROM Version and Checksum Information

Explains how to find the boot ROM version number, release date, and checksum.

Bootloader Code Revision History

Details the changes and improvements made across different bootloader code revisions.

Appendix A Revision History

Related product manuals