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.

Flashing the C6713 EVM

From Texas Instruments Wiki
Jump to: navigation, search

Preparation[edit]

1) Download the free DSK version of the Flashburn utility and install: http://www.softwaredesignsolutions.com/flashburn.aspx .

2) The files you will need will be at: C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK .

3) Read the TMS320C6000 Tools: Vector Table and Boot ROM Creation application note.

Adapting the application to stand alone[edit]

First thing, develop your project using the emulator, and male sure everything is running. After that follow the steps below to transform your project into a stand alone application.

If you are using DSP/BIOS[edit]

1) Open your configuration file and expand MEM - Memory Section Manager.

2) To be able to add the boot section, right click on IRAM and choose properties to change the IRAM segment. Change base ans len to leave a 0x400 area for the boot. So you woould have-> base: 0x400, Len: 0x2FC00.

3) Right click on the Memory Section Manager and select Insert MEM. Name it BOOT. Put the properties:

base: 0x0
len: 0x400
do not select create heap in this memory
space: code/data

4) Click ok

5) Right click on the Memory Section Manager and select Insert MEM. Name it FLASH.

base: 0x90000000
len: 0x40000
do not select create heap in this memory
space: code/data

6) Add a link.cmd file to your project putting the .boot_load at boot:

SECTIONS
{
	"bootload" :> BOOT
}

7) Right click on your project and select Build Options... . Go to the Link Order tab and make sure that your original .cmd file comes before the link.cmd file. Click ok.

8) Add the secondary boot loader file to your project. You can find an example at:

C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\BlinkDSK6713\bootDSK6713.asm

That is the actual secondary boot loader, that will load the program from FLASH to IRAM.

9) Re-compile your program and generate a .out

10) Use hex6x to create an hex file, use a example of cmd file – tells hex6x how to convert from .out to .hex. You can use a .cmd file to pass the options to the hex6x utility. You can edit the file at C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\BlinkDSK6713\BlinkDSK6713_ahex.cmd for your application (maybe copy it to the same location as your project's map file).

a) In Windowns, go to Start->Run, type cmd.

b) Type (replace the path below with the path for the .cmd file for your application if needed):

C:\CCStudio_v3.1\c6000\cgtools\bin\hex6x C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\BlinkDSK6713\BlinkDSK6713_ahex.cmd

c) A .hex file will be generated.

If you are not using DSP/BIOS[edit]

1) Adapt your .cmd file to contain the BOOT and FLASH memories, and place section .boot_load in the BOOT memory. Please see the example cmd at: C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\BlinkDSK6713\BlinkDSK6713.cmd

2) Add the secondary boot loader file to your project. You can find an example at:

C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\BlinkDSK6713\bootDSK6713.asm

That is the actual secondary boot loader, that will load the program from FLASH to IRAM.

3) Re-compile your program and generate a .out

4) Use hex6x to create an hex file, use a example of cmd file – tells hex6x how to convert from .out to .hex. You can use a .cmd file to pass the options to the hex6x utility. You can edit the file at C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\BlinkDSK6713\BlinkDSK6713_ahex.cmd for your application (maybe copy it to the same location as your project's map file).

a) In Windowns, go to Start->Run, type cmd.

b) Type (replace the path below with the path for the .cmd file for your application if needed):

C:\CCStudio_v3.1\c6000\cgtools\bin\hex6x C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\BlinkDSK6713\BlinkDSK6713_ahex.cmd

c) A .hex file will be generated.


Burning the Flash using FlashBurn[edit]

1) Open CCS and connect to the target.

2) Open the Flash burn utility.


Flahsburn1.JPG


3) Open the cdd file from C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\BlinkDSK6713.cdd .


Flahsburn2.JPG


4) If you are already connected to CCS, flashburn should connect and download the FBTCDSK6713.out ( at C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\). If you are not, simply connect and load the FBTCDSK6713.out file.


Flahsburn3.JPG


5) Erase flash

6) Choose the .hex file you created. If you want to burn the Blink example application that comes with Flashburn, use the file C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\DSK6713\BlinkDSK6713.hex .

7) Click on Program flash.

8) Wait until it finishes and close the flashburn utility and CCS.


Flahsburn4.JPG


9) Disconnect the emulation cable from the board.

10) Power-off the board, change the switches to “EMIF boot from 8-bit Flash”, see page 14 of the TMS320C6713 DSK Technical Reference.

11) Power on the board and your program will run. If you use the example Blink LED project than you will see the LEDs blinking.


NOTE: To make the flash back to the way it came with the DSK, follow the same procedure but burn post.hex instead of your .hex.

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 Flashing the C6713 EVM 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 Flashing the C6713 EVM here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Flashing the C6713 EVM here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Flashing the C6713 EVM here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Flashing the C6713 EVM here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Flashing the C6713 EVM here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Flashing the C6713 EVM here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Flashing the C6713 EVM here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Flashing the C6713 EVM 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