Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | TMS320C28x | Custom Access to Flash

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

Custom Access to Flash - H.Ki...@student.manchester.ac.uk - Apr 10 8:02:26 2006



Hi folks.  I'm having a real problem with flash programming at the moment, and was hoping
someone could point me in the right direction.   I have a project running from flash, but I
need to store some other files that will be used at startup to configure an FPGA.   I've tried
various methods to program the flash with this info, but had no luck so far.   Could someone
tell me:

1.  Can I use the GEL function GEL_MemoryLoad() to write a file to a specific flash location? 
As far as I can see, this only works for RAM, although the flash areas are defined by MapAdd.  
Is there some special method for writing data to flash in the GEL file?

2.  Could I load the file using the CCS flash utility, or SDFlash?   These programs seem to be
designed just to load the COFF .out files, and not any kind of custom data.

3.  Possibly hack the .out file to include the configuration info I need?   Has anyone done
this before?

Surely there is some way to access the flash memory, since so much is provided!   Any help
would be much appreciated!

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: Custom Access to Flash - chirag jagadish - Apr 11 8:32:17 2006

hi,

have u tried the "#pragma" compiler directive
an example use of it is as shown below
#pragma CODE_SECTION(eva_timer1_isr, "ramfuncs");  ,
where ramfuncs is a section of the memory defined in
the linker command file.

i am actually not sure what exactly what u want to do,
but i guess that u want a particular part of the code
in a particular location, which can be done with what
i said above.

it complies the function "eva_timer1_isr" to be stored
in the part of the memory called "ramfuncs".

so if u want one particular part of your code to be
stored in a particular part u can use this directive
so that the CCS compiler does so.

hope this helps u
bye

--- H...@student.manchester.ac.uk wrote:
---------------------------------
Hi folks.  I'm having a real problem with flash
programming at the moment, and was hoping someone
could point me in the right direction.   I have a
project running from flash, but I need to store some
other files that will be used at startup to configure
an FPGA.   I've tried various methods to program the
flash with this info, but had no luck so far.   Could
someone tell me:

1.  Can I use the GEL function GEL_MemoryLoad() to
write a file to a specific flash location?  As far as
I can see, this only works for RAM, although the flash
areas are defined by MapAdd.   Is there some special
method for writing data to flash in the GEL file?

2.  Could I load the file using the CCS flash utility,
or SDFlash?   These programs seem to be designed just
to load the COFF .out files, and not any kind of
custom data.

3.  Possibly hack the .out file to include the
configuration info I need?   Has anyone done this
before?

Surely there is some way to access the flash memory,
since so much is provided!   Any help would be much
appreciated!

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 )