Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Discussion Groups

Discussion Groups | TMS320C54x | Allocating .const to Program Memory

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

Allocating .const to Program Memory - Mario Imaguire - Feb 26 15:48:55 2008



Hi,

I read in TMS320C54x Optimizing C Compiler SPRU103C, page 6-4, "6.1.3
Allocating .const to Program Memory".
Its possible also to DSP/BIOS users ? How can I modify the boot.asm, rts.src
?

Thanks
Mario

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 need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )

Re: Allocating .const to Program Memory - Jeff Brower - Mar 1 22:43:19 2008

Mario-

> I read in TMS320C54x Optimizing C Compiler SPRU103C, page 6-4, "6.1.3
> Allocating .const to Program Memory".
> Its possible also to DSP/BIOS users ?

If DSP/BIOS declares / uses .const data, then it would be treated as with any other .const
data:  a) C code
initialization of static memory areas would occur before any DSP/BIOS C code runs, and b) this
would be either
run-time initialization (done by low-level .asm DSP code at boot-time), or load-time
initialization (done by an
external host processor as it downloaded code for the first time).

>  How can I modify the boot.asm, rts.src

Can you clarify to what boot.asm you refer?  Yours?  TI's?  In what context?

As for rts.src, it seems you are referring to C5400 rts.lib source code.  You can modify the
.src file that comes with
CCS as needed by your application and rebuild into a customized library; e.g. my_rts5400.lib. 
Look in the "TMS320C54x
Assembly Language Tools User’s Guide":

  http://focus.ti.com/lit/ug/spru102f/spru102f.pdf

for references to "library-build utility".  This program used to be called
"dspmk" several years ago, but I'm not sure
what name TI is using now.

-Jeff

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 need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )