Reply by Jim Webb February 19, 20082008-02-19
Hi Chong,
As long as you didn't declare your variables with the "const" attribute,
they are allocated to .ebss, which is read/write RAM. If you supplied
initial values, those will reside in flash, but you can use CCS to write new
values in at a breakpoint.

If you would like a niftier interface, might I suggest trying VisSim/ECD. It
is a block diagram language that generates the most efficient C-code on the
market. We support all 280x/283x peripherals, and we allow automatic update
of user parameters via sliders, buttons, and dialogs on the fly from the PC
side. We also support interactive plotting and display DSP variables.
Find out more here:
http://www.vissim.com/c2000/c2000.html
You can download and try it for free here:
www.vissim.com/downloads/demos.html
Regards,
Jim Webb
Visual Solutions
Westford MA 01886
Tel: 978-392-0100 ext 18 Fax: 978-692-3102
email: J...@vissol.com web: www.vissim.com

---------------- Original Message -----------------
Posted by: "Chong" m...@yahoo.com.sg mr4896
Fri Feb 15, 2008 3:30 am (PST)
Hi,
I just got my 1st program flash into TMS320F2808
DSP on eZDSP board. In the application, I need to update some
parameters/values from time to time. Because I included all these
variable in the main program, I then need to flash the entire program
everytime I updated the values. I am just wondering whether is there a
way for me to place those variables in different location from main
program, so that I don't have to flash the main program so frequently.
As in this case, I might be able to only update the memory where those
variables are stored.

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Reply by Beat Arnet February 17, 20082008-02-17
Another approach might be to use an SPI EEPROM (for example 25LC640
), which can
give you a lot of parameter storage for little money.

Cheers,
Beat

Jan Humpl wrote:
>
> Hi,
>
> yes, it is possible. The flash is splitted into few memory blocks so you
> can link parameters into one block and program into remaining block.
> You can edit *.cmd (linker command file) to change that - see TI docs.
>
> JkH
>
> --
> Ing. Jan Humpl
> vývojový pracovník / development engineer
> tel.: (+420) 251 115 266, (+420) 777 343 884
> fax: (+420) 251 115 255
> e-mail: h...@poll.cz
> http://www.poll.cz POLL, s.r.o.
> Křížová 3/3132, 150 00 Praha 5
>
> Chong napsal(a):
> >
> >
> > Hi,
> >
> > I am new to this discussion group and hopefully someone can help to
> > sort out my problem. I just got my 1st program flash into TMS320F2808
> > DSP on eZDSP board. In the application, I need to update some
> > parameters/values from time to time. Because I included all these
> > variable in the main program, I then need to flash the entire program
> > everytime I updated the values. I am just wondering whether is there a
> > way for me to place those variables in different location from main
> > program, so that I don't have to flash the main program so frequently.
> > As in this case, I might be able to only update the memory where those
> > variables are stored.
> >
> >
Reply by Jan Humpl February 16, 20082008-02-16
Hi,

yes, it is possible. The flash is splitted into few memory blocks so you
can link parameters into one block and program into remaining block.
You can edit *.cmd (linker command file) to change that - see TI docs.

JkH

--
Ing. Jan Humpl
vývojový pracovník / development engineer
tel.: (+420) 251 115 266, (+420) 777 343 884
fax: (+420) 251 115 255
e-mail: h...@poll.cz
http://www.poll.cz

POLL, s.r.o.
Křížová 3/3132, 150 00 Praha 5
Chong napsal(a):
> Hi,
>
> I am new to this discussion group and hopefully someone can help to
> sort out my problem. I just got my 1st program flash into TMS320F2808
> DSP on eZDSP board. In the application, I need to update some
> parameters/values from time to time. Because I included all these
> variable in the main program, I then need to flash the entire program
> everytime I updated the values. I am just wondering whether is there a
> way for me to place those variables in different location from main
> program, so that I don't have to flash the main program so frequently.
> As in this case, I might be able to only update the memory where those
> variables are stored.
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Reply by Chong February 15, 20082008-02-15
Hi,

I am new to this discussion group and hopefully someone can help to
sort out my problem. I just got my 1st program flash into TMS320F2808
DSP on eZDSP board. In the application, I need to update some
parameters/values from time to time. Because I included all these
variable in the main program, I then need to flash the entire program
everytime I updated the values. I am just wondering whether is there a
way for me to place those variables in different location from main
program, so that I don't have to flash the main program so frequently.
As in this case, I might be able to only update the memory where those
variables are stored.

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467