NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Creating a SD card boot image for C55x

From Texas Instruments Wiki
Jump to: navigation, search

Requirements[edit]

  • SD card reader
  • SD card
  • C55x executable image (e.g. .OUT file)
  • C5000 Compiler tools (which includes the hex55 tool)


Instructions[edit]

Build the boot image[edit]

  1. Find the C5000 compiler tools directory. (Note, CCS v4 is typically installed to: "C:\Program Files\Texas Instruments\CCSv4" so the compiler will be located at, "C:\Program Files\Texas Instruments\CCSv4\tools\compiler\c5500\bin"
  2. Invoke the Hex55 tool with the command where "output_file_path_name" is the output file (For SD booting: boot5505.bin for C5515/14/05/04 and bootimg.bin for 5535 and newer devices) path name and "input_file_path_name" is the input file path name (*.out).
hex55 -boot -v5505 -serial8 -b -o output_file_path_name input_file_path_name

Prepare the SD card[edit]

For C5515/14/05/04[edit]

  1. Use the HP USB Disk Storage Format Tool to create new partitions and format the SD Card (the Windows tool creates incompatible partitions, but can be used to format after using HP tool to create partitions)
  2. Copy the ".bin" (ex: boot5505.bin) file to the formatted SD Card under root partition (filename MUST BE "boot5505.bin")

For C5517/35/45[edit]

  1. SD card needs to be formatted in either FAT32 or FAT16 format
  2. Copy the ".bin" (ex: bootimg.bin) file to the formatted SD Card under root partition (filename MUST BE "bootimg.bin")

Clearing the EEPROM[edit]

  • If other boot images are available, the DSP bootloader may boot from them in the priority order defined in the datasheet. Please refer to your device datasheet for details.
  1. Ensure all non-volatile memories (NOR, NAND, SPI EEPROM, I2C EEPROM) on the C5515 EVM are cleaned of boot images
  2. Connect to EVM from CCS either with an external JTAG emulator or with the embedded JTAG through J2 (micro-USB Port) on the EVM
  3. Use programmer_C5515_EVM.out and cleaner.bin to erase the non-volatile memories
  4. Find programmer instructions here: C5515_Boot-Image_Programmer

Booting[edit]

Plug into C55x device and turn on. The bootloader will boot from the SD card provided if there are no other boot methods before it. Ensure the boot mode for your EVM is correctly configured.
In the case of the C5517 EVM, here are the DIP settings to boot from the micro SD card(i.e J21 SD1 on the underside of the EVM)

SW3
BOOTMODE0 (position 1) - OFF
BOOTMODE1 (position 2) - ON
BOOTMODE2 (position 3) - OFF
BOOTMODE3 (position 4) - ON

SW4
SEL1_MMC1_MCSPI (position 3) - ON
SEL0_MMC1_MCSPI (position 4) - OFF

[EVM User Guide]

FAQ[edit]

Q: Is there a description of the 5515 Bootloader?[edit]

Q: I just created a boot image, and it isn't working..."[edit]

  • A: Please check your linker command file so that it does not use the bootloader reserved areas. For example, on 5535, the SARAM31 should not be used as a program area as it is reserved for the bootloader. It can be used for local variables.

Related[edit]


E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Creating a SD card boot image for C55x here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Creating a SD card boot image for C55x here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Creating a SD card boot image for C55x here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Creating a SD card boot image for C55x here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Creating a SD card boot image for C55x here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Creating a SD card boot image for C55x here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Creating a SD card boot image for C55x here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Creating a SD card boot image for C55x here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Creating a SD card boot image for C55x here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity