Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Ads

Discussion Groups

Discussion Groups | TMS320C28x | Seeking for help in TMS320F2808 program

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

Seeking for help in TMS320F2808 program - Chong - Feb 15 6:30:37 2008



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

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: Seeking for help in TMS320F2808 program - Jan Humpl - Feb 16 7:14:26 2008

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

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: Seeking for help in TMS320F2808 program - Beat Arnet - Feb 17 11:31:14 2008

Another approach might be to use an SPI EEPROM (for example 25LC640 
<http://ww1.microchip.com/downloads/en/DeviceDoc/21223G.pdf>), 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 <mailto:humpl%40poll.cz>
> http://www.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.
> >
> >  


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re:Seeking for help in TMS320F2808 program - Jim Webb - Feb 19 6:26:21 2008

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

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )