Monday, August 11, 2008

USB and Serial flash boot table for C55


USB bootloader bootable options in TI's 5000 series DSPs are hardware configured for choosing boot options, whether to boot from binary file downloaded through USB cable from host PC or from it's MCBSP serial port, etc.

Upon powerup, pre-programmed bootloader in the DSP chip starts to run and check hardware pins to decide from where it has to download the codes. Our program, which is output from the compiler ( .out file) can be converted into suitable format that's capable of system start up after being downloaded from respective interface, i.e. , USB or flash or external memory etc.

The following shows the option set up in .cmd file for hex55.exe

USB boot loader bootable options in .cmd file

Input.out .out file

-boot generate boot table

-v5510:2 boot table format = 2.0 for C5509a ( Modify accordingly)

-serial8 8 bits serial interface

-reg_config 0x1c00, 0x2810 CPU clock set to 192MHz ( maximum)

-delay 0x80 Delay program start to run after bootable finished downloading

-b output binary format

-o Output.bin name of output file

- map Output.bxp map file to describe detail of bootable memory allocation


EEPROM bootloader bootable options in cmd files

Input.out .out file

-boot generate boot table

-v5510:2 boot table format = 2.0 for C5509a

-serial8 8 bits serial interface

-reg_config 0x1c00, 0x2810 CPU clock set to 192MHz (maximum)

-reg_config 0x280B, 0x0004 MCBSP0 clock set to 1/5 of CPU clock = 38.4MHz (for faster download, this is optimized for 50MHz serial flash memory)

-b output binary format

-o Output.bin name of output file

- map Output.bxp map file to describe detail of bootable memory allocation


1 comment:

munees said...

HI

I AM NEW IN DSP PLATFORM. I HAVE CUSTOM BOARD OF TMS320VC5502 WITH SERIAL PORT AVAILABILITY. NO MORE PROGRAM OPTION IN THAT BOARD. SO, ONLY WAY TO PROGRAM IN THAT BOARD IS UART BOOT METHOD. I REFER TI DOCUMENT, I CANT GET CLEAR IDEA.
WILL YOU PLEASE HELP TO PROGRAM TO THAT BOARD VIA UART BOOT METHOD.

1. HOW TO WRITE BOOTLOADER FILE.
2.HOW TO WRITE APPLICATION FILE.
3.STEPS IN UART BOOT METHOD.

THANKS IN ADVANCE
REGARDS
M.MUNEESWARAN