Site Index
   File Upload

Transfer Site
Main Site

EVM5509 FlashBurn Utility

FlashBurn is a utility included with Code Composer Studio that can be used to program code and data into the on-board Flash on the EVM5509A. One of the most common uses for FlashBurn is to take user code that has been debugged with Code Composer and program it into the Flash so that the board will boot it and run in standalone mode when it is powered up independently of the debug environment.

FlashBurn does not ship with standard configurations of Code Composer. However, it is available free of charge through Code Composerís on-line Update Advisor. Use Update Advisor to download and install the FlashBurn install program.

This section describes how to burn a post into Flash using some pre-built example files, more detailed instructions on using FlashBurn can be found in the "FlashBurn Utility" section of the Code Composer Studio Online Help. The post and related files are in located in


The following sequence outlines programming the POST into Flash:

  • Create a bootloader image of the executable file in ASCII hex file format (post.hex).

  • Launch Code Composer Studio to allow access to the integrated tools.

  • Load the configuration document (post.cdd) that tells FlashBurn what to burn into Flash.

  • Erase the Flash with FlashBurn.

  • Program the Flash with FlashBurn.

Programming the POST with FlashBurn

To start the FlashBurn process, launch Code Composer Studio. Now launch FlashBurn by clicking Tools -> FlashBurn.

FlashBurn will now launch. Use File -> Open to open the sample FlashBurn configuration document


You should see a window that looks like this:

The important fields are the "File To Burn" field at the top and the "FBTC Program File" at the bottom. The "File To Burn" field specifies the .hex file to program into Flash, in this case the hex file in the post directory:


The "FBTC Program File" is a piece of code that FlashBurn executes on the EVM5509A to manipulate the Flash. It is supplied with the EVM5509A examples in:


These settings are pre-configured in the post.cdd file and only need to be changed if the base install directory is not c:\ti. If c:\ti is not the install directory FlashBurn will give you an error message because the paths above do reference anything. Hit cancel in response to the error dialog to make FlashBurn give you a chance to edit the fields.

Select Program -> Erase Flash option under the Program menu to erase the Flash. It should take about 10 seconds. Now select Program -> Program Flash option to start programming the Flash. After about 3 seconds the procedure should be complete. Exit out of FlashBurn and Code Composer, unplug power to the EVM5509A then plug the power back in. The post will now start running automatically (as long as your emulator is unplugged).

Generating a Bootable Hex File

This section describes the steps necessary to convert the post.out file into the post.hex file needed by FlashBurn as an example you can apply to your own programs. You do not have to perform these actions simply to put the POST in Flash if you have an existing hex file already.

A hex file contains binary data at the addresses you specify in a file format readable by the Flashburn utility and other Flash programmers. The utility requires several flags to select the proper output format. In this example, the flags are stored in the file post_hex.cmd which is a text file that can be edited to suit other purposes. The key flags are:

Flag Description
-a Select ASCII hex file format for output
-parallel16 Generate output for a 16-bit wide Flash device
-boot Enable boot table generation
-v5510:2 Processor version, use 5510 even through you have a 5509

To convert the file Debug\post.out into the hex file post.hex using the flags stored in post_hex.cmd, open a DOS Command Prompt window and type the following:

   cd c:\ti\boards\evm5509a\examples\post
   c:\ti\c5500\cgtools\bin\hex55 post_ahex.cmd

The file post.hex is now ready for programming with FlashBurn. For more details on the hex utility, please see the Code Composer help under Code Generation Tools -> Hex Conversion Utility.

©Copyright 2002-2011 Spectrum Digital, Inc. All Rights Reserved.