Forums

Flash programming with JTAG and C6713

Started by z_11...@yahoo.com December 5, 2007
Dear all
Let me to explain my problem. I want to use JTAG for connect target (C6713 board not C6713DSK) and emulator. I have a big program and I want to save total of program on flash, then by secondary boot loader copy them to IRAM on DSP for running. How can I program flash?
Is Gel file programmed on flash?
Is it possible to program flash on board by DSP?
For have a secondary boot loading, what program I can write in first 1KB from flash address?
Do I program flash first and then take place on board?
Best regards
zahra
Hello zahra,

On 12/5/07, z...@yahoo.com wrote:
>
> Dear all
> Let me to explain my problem. I want to use JTAG for connect target (C6713
> board not C6713DSK) and emulator. I have a big program and I want to save
> total of program on flash, then by secondary boot loader copy them to IRAM
> on DSP for running. How can I program flash?
> Is Gel file programmed on flash?
No. GEL files are normally used to [1] initialize DSP peripherals for code
that is not "emdedded ready" or [2] to provide some convinience feature
during development/debug via a drop down menu.

Is it possible to program flash on board by DSP?
This is the most common method [at least in my universe].

For have a secondary boot loading, what program I can write in first 1KB
> from flash address?
The first 1k usually contains a simple program that copies another,
larger program into DSP memory [the secondary boot loader].

Do I program flash first and then take place on board?
You can program the Flash in place on the board [it must be connected
properly].

You need to understand the 'Flash process'. [1] convert your 'out' file to a
'memory load format [like with hex6x.exe], [2] load a DSP program to write
it to Flash, [3] get the memory load format file into the DSP memory, and
[4] write it to Flash.
Check the archives of this list and docs at ti.com and CCS docs.

mikedunn

Best regards
> zahra
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Mike,

I Guess he is looking for a Flash Driver for his 6713, is there some Flash driver available somewhere? or a utlitiy program to flash a .out on the board?
But Flash Driver need to be tuned generally to the HW (1 or several devices, type of Flash)

Regards

To: z...@yahoo.comCC: c...From: m...@gmail.comDate: Wed, 5 Dec 2007 15:19:08 -0600Subject: Re: [c6x] Flash programming with JTAG and C6713
Hello zahra,
On 12/5/07, z...@yahoo.com wrote:

Dear allLet me to explain my problem. I want to use JTAG for connect target (C6713 board not C6713DSK) and emulator. I have a big program and I want to save total of program on flash, then by secondary boot loader copy them to IRAM on DSP for running. How can I program flash? Is Gel file programmed on flash?

No. GEL files are normally used to [1] initialize DSP peripherals for code that is not "emdedded ready" or [2] to provide some convinience feature during development/debug via a drop down menu.

Is it possible to program flash on board by DSP?

This is the most common method [at least in my universe].

For have a secondary boot loading, what program I can write in first 1KB from flash address?

The first 1k usually contains a simple program that copies another, larger program into DSP memory [the secondary boot loader].

Do I program flash first and then take place on board?

You can program the Flash in place on the board [it must be connected properly].

You need to understand the 'Flash process'. [1] convert your 'out' file to a 'memory load format [like with hex6x.exe], [2] load a DSP program to write it to Flash, [3] get the memory load format file into the DSP memory, and [4] write it to Flash.
Check the archives of this list and docs at ti.com and CCS docs.

mikedunn

Best regardszahra-- www.dsprelated.com/blogs-1/nf/Mike_Dunn.php