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).
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
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