Tms320x280x, 2801X, 2804X Boot ROM Reference Guide

Tms320x280x, 2801X, 2804X Boot ROM Reference Guide

TMS320x280x, 2801x, 2804x Boot ROM Reference Guide Literature Number: SPRU722C November 2004–Revised October 2006 Contents Preface ....................................................................................................................................... 5 1 Boot ROM Memory Map ....................................................................................................... 8 1.1 On-Chip Boot ROM IQ Math Tables .................................................................................. 9 1.2 CPU Vector Table ...................................................................................................... 10 2 Bootloader Features .......................................................................................................... 11 2.1 Bootloader Functional Operation .................................................................................... 11 2.2 Bootloader Device Configuration .................................................................................... 13 2.3 PLL Multiplier Selection ............................................................................................... 13 2.4 Watchdog Module ...................................................................................................... 13 2.5 Taking an ITRAP Interrupt ............................................................................................ 13 2.6 Internal Pullup Resisters .............................................................................................. 13 2.7 PIE Configuration ...................................................................................................... 14 2.8 Reserved Memory ..................................................................................................... 14 2.9 Bootloader Modes ..................................................................................................... 14 2.10 Bootloader Data Stream Structure ................................................................................... 17 2.11 Basic Transfer Procedure ............................................................................................. 22 2.12 InitBoot Assembly Routine ............................................................................................ 23 2.13 SelectBootMode Function ............................................................................................ 24 2.14 CopyData Function .................................................................................................... 26 2.15 SCI_Boot Function ..................................................................................................... 26 2.16 Parallel_Boot Function (GPIO) ....................................................................................... 28 2.17 SPI_Boot Function ..................................................................................................... 33 2.18 I2C Boot Function ...................................................................................................... 35 2.19 eCAN Boot Function ................................................................................................... 38 2.20 ExitBoot Assembly Routine ........................................................................................... 40 3 Building the Boot Table ...................................................................................................... 42 3.1 The C2000 Hex Utility ................................................................................................. 42 3.2 Example: Preparing a COFF File For eCAN Bootloading ........................................................ 43 4 Bootloader Code Overview ................................................................................................. 46 4.1 Boot ROM Version and Checksum Information .................................................................... 46 4.2 Bootloader Code Revision History ................................................................................... 47 4.3 Bootloader Code Listing (V3.0) ...................................................................................... 48 4.4 Bootloader Code Listing (V4.0) ...................................................................................... 79 Appendix A Revision History ...................................................................................................... 84 2 Table of Contents SPRU722C–November 2004–Revised October 2006 Submit Documentation Feedback Copyright © 2004–2006, Texas Instruments Incorporated www.ti.com List of Figures 1 Memory Map of On-Chip ROM............................................................................................ 8 2 Vector Table Map.......................................................................................................... 10 3 Bootloader Flow Diagram ................................................................................................ 12 4 Boot ROM Function Overview ........................................................................................... 15 5 Jump-to-Flash Flow Diagram ............................................................................................ 15 6 Flow Diagram of Jump to M0 SARAM.................................................................................. 16 7 Flow Diagram of Jump-to-OTP Memory................................................................................ 16 8 Bootloader Basic Transfer Procedure .................................................................................. 22 9 Overview of InitBoot Assembly Function ............................................................................... 23 10 Overview of the SelectBootMode Function ............................................................................ 25 11 Overview of CopyData Function ........................................................................................ 26 12 Overview of SCI Bootloader Operation................................................................................. 26 13 Overview of SCI_Boot Function ......................................................................................... 27 14 Overview of SCI_GetWordData Function ............................................................................. 28 15 Overview of Parallel GPIO bootloader Operation ..................................................................... 28 16 Parallel GPIO bootloader Handshake Protocol........................................................................ 29 17 Parallel GPIO Mode Overview........................................................................................... 29 18 Parallel GPIO Mode - Host Transfer Flow ............................................................................. 30 19 16-Bit Parallel GetWord Function ....................................................................................... 31 20 8-Bit Parallel GetWord Function......................................................................................... 32 21 SPI Loader ................................................................................................................. 33 22 Data Transfer From EEPROM Flow .................................................................................... 34 23 Overview of SPIA_GetWordData Function ............................................................................ 35 24 EEPROM Device at Address 0x50...................................................................................... 35 25 Overview of I2C_Boot Function ......................................................................................... 36 26 Random Read.............................................................................................................. 37 27 Sequential Read ........................................................................................................... 38 28 Overview of eCAN-A bootloader Operation............................................................................ 38 29 ExitBoot Procedure Flow ................................................................................................. 40 SPRU722C–November 2004–Revised October 2006 List of Figures 3 Submit Documentation Feedback Copyright © 2004–2006, Texas Instruments Incorporated www.ti.com List of Tables 1 Vector Locations........................................................................................................... 11 2 Configuration for Device Modes ......................................................................................... 13 3 Boot Mode Selection ...................................................................................................... 14 4 General Structure Of Source Program Data Stream In 16-Bit Mode .............................................. 18 5 LSB/MSB Loading Sequence in 8-Bit Data Stream................................................................... 20 6 Boot Mode Selection ..................................................................................................... 24 7 SPI 8-Bit Data Stream ................................................................................................... 33 8 I2C 8-Bit Data Stream .................................................................................................... 37 9 Bit-Rate Values for Different XCLKIN Values.......................................................................... 38 10 eCAN 8-Bit Data Stream ................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    85 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us