DSPRelated.com
Forums

Flash burn/ Loading on power up.

Started by wardyboy_c February 27, 2006
Hi all,

I really need your help. I'm a final year student at university in
Bristol, my final year project is to design and construct a Microphone
processor (this consists of a Mic Pre amp, EQ and Compressor). The EQ
part of this is being done in DSP on the TMS320C6713. I have
programmed the code and got the EQ to run fine but what I really want
to do is when the chip is powered up for it to run the program
straight away, with out the board first having to be connected to the
computer and code loaded. I have tried converting the .out file to hex
the loading it via flashburn but it just doesn't seem to work. Can
someone please write a "complete idiots guide" to how to get a
programme converted and into flash memory (and how to get it to run as
soon as the power is turned on)

Please guys I'm desperate and running out of time

Thanks

Chris
	
Hi Chris

I had the same learning curve because software isn't really my cup of
tea.  You need to add a boot loader to your project to get your code
from the flash into ram where you have been running it when you load
it with CCS.

What I did is take the "post" project that comes with the DSK and just
put my code in where the normal post.c code is and used that boot.asm
file.  The boot.asm file is one of the source files in the project.  I
just messed around and after a while got things going.  If you start
from scratch you'll need to play with build and linker setup.  It's
been a while so I don't remember much else.

Good luck, Al

--- In c6x@c6x@..., "wardyboy_c" <chrisward1@...> wrote:
>
> Hi all,
> 
> I really need your help. I'm a final year student at university in
> Bristol, my final year project is to design and construct a Microphone
> processor (this consists of a Mic Pre amp, EQ and Compressor). The EQ
> part of this is being done in DSP on the TMS320C6713. I have
> programmed the code and got the EQ to run fine but what I really want
> to do is when the chip is powered up for it to run the program
> straight away, with out the board first having to be connected to the
> computer and code loaded. I have tried converting the .out file to hex
> the loading it via flashburn but it just doesn't seem to work. Can
> someone please write a "complete idiots guide" to how to get a
> programme converted and into flash memory (and how to get it to run as
> soon as the power is turned on)
> 
> Please guys I'm desperate and running out of time
> 
> Thanks
> 
> Chris
>
	
hi guys,
go thro' the pdf file in the link:
http://focus.ti.com/docs/apps/catalog/resources/appnoteabstract.jhtml?abstractName=spra999a
this will give a clear idea of how to prepare bootloader & run
code from flash immediately after you power on the board.
if you still have any more doubts, feel free to contact me.
regards,
venu.
	--- eewizard_1 <eewizard_1@eewi...> wrote:

> 
> Hi Chris
> 
> I had the same learning curve because software isn't really my
> cup of
> tea.  You need to add a boot loader to your project to get
> your code
> from the flash into ram where you have been running it when
> you load
> it with CCS.
> 
> What I did is take the "post" project that comes with the DSK
> and just
> put my code in where the normal post.c code is and used that
> boot.asm
> file.  The boot.asm file is one of the source files in the
> project.  I
> just messed around and after a while got things going.  If you
> start
> from scratch you'll need to play with build and linker setup. 
> It's
> been a while so I don't remember much else.
> 
> Good luck, Al
> 
> --- In c6x@c6x@..., "wardyboy_c" <chrisward1@...>
> wrote:
> >
> > Hi all,
> > 
> > I really need your help. I'm a final year student at
> university in
> > Bristol, my final year project is to design and construct a
> Microphone
> > processor (this consists of a Mic Pre amp, EQ and
> Compressor). The EQ
> > part of this is being done in DSP on the TMS320C6713. I have
> > programmed the code and got the EQ to run fine but what I
> really want
> > to do is when the chip is powered up for it to run the
> program
> > straight away, with out the board first having to be
> connected to the
> > computer and code loaded. I have tried converting the .out
> file to hex
> > the loading it via flashburn but it just doesn't seem to
> work. Can
> > someone please write a "complete idiots guide" to how to get
> a
> > programme converted and into flash memory (and how to get it
> to run as
> > soon as the power is turned on)
> > 
> > Please guys I'm desperate and running out of time
> > 
> > Thanks
> > 
> > Chris
> >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
>
	__________________________________________________