EasyManuals Logo
Home>Texas Instruments>Computer Hardware>TMS320*2801 Series

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 #85 background imageLoading...
Page #85 background image
www.ti.com
Bootloader Code Listing (V3.0)
// Fetch the MSB
byteData = (Uint16)ECanaMboxes.MBOX1.MDL.byte.BYTE1; // MS byte
// form the wordData from the MSB:LSB
wordData |= (byteData << 8);
/* Clear all RMPn bits */
ECanaRegs.CANRMP.all = 0xFFFFFFFF;
return wordData;
}
/*
Data frames with a Standard MSGID of 0x1 should be transmitted to the ECAN-A bootloader.
This data will be received in Mailbox1, whose MSGID is 0x1. No message filtering is employed.
Transmit only 2 bytes at a time, LSB first and MSB next. For example, to transmit
the word 0x08AA to the 280x, transmit AA first, followed by 08. Following is the
order in which data should be transmitted:
AA 08 - Keyvalue
00 00 - Part of 8 reserved words stream
00 00 - Part of 8 reserved words stream
00 00 - Part of 8 reserved words stream
00 00 - Part of 8 reserved words stream
00 00 - Part of 8 reserved words stream
00 00 - Part of 8 reserved words stream
00 00 - Part of 8 reserved words stream
00 00 - Part of 8 reserved words stream
bb aa - MS part of 32-bit address (aabb)
dd cc - LS part of 32-bit address (ccdd) - Final Entry-point address = 0xaabbccdd
nn mm - Length of first section (mm nn)
ff ee - MS part of 32-bit address (eeff)
hh gg - LS part of 32-bit address (gghh) - Entry-point address of first section = 0xeeffgghh
xx xx - First word of first section
xx xx - Second word......
...
...
...
xxx - Last word of first section
nn mm - Length of second section (mm nn)
ff ee - MS part of 32-bit address (eeff)
hh gg - LS part of 32-bit address (gghh) - Entry-point address of second section =
0xeeffgghh
xx xx - First word of second section
xx xx - Second word......
...
...
...
xxx - Last word of second section
(more sections, if need be)
00 00 - Section length of zero for next section indicates end of data.
*/
/*
Notes:
------
Summary of changes in ver 2.0, as compared to 1.0
1. Changed the statement
ECanaMboxes.MBOX0.MSGCTRL.all = 0x00000000;
to
ECanaMboxes.MBOX1.MSGCTRL.all = 0x00000000;
since it is MBOX1 that is used, not MBOX0.
SPRU722C November 2004 Revised October 2006 Bootloader Code Overview 85
Submit Documentation Feedback

Table of Contents

Questions and Answers:

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

Related product manuals