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

Sponsor

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

Discussion Groups

Discussion Groups | TMS320C54x | HPI 8bits boot

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

Place functions in external memory? - Andrew Xiang - Sep 22 18:33:00 2003



Does anyone have an example linker cmd file on how to place function
selectively in the
internal memory and external memory.

I have function in both C and asm, some function needs to be in the internal
mem, and some can be placed externally.

Please give me an example linker command file to covers both asm and C
functions.

thanks

Andrew





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

Re: Place functions in external memory? - Ravi Kiran - Sep 30 11:37:00 2003

Hi Andrew,
You can selectively place C functions in internal
or external memory by using #pragma directives. For
example, if you want to put the function 'func' in a
section named '.sec' which is allocated in either
internal or external memory in a linker command file,
you can use the following directive:

#pragma CODE_SECTION(func,".sec")
Put this directive on top of the function definition.
You can use the linker command file to put the
section, ".sec", in the memory you want-either
internal or external-just like you allocate other
standard sections like .text or .bss etc. For assembly
functions you can use the ".sect" assembler directive
to place your function.
.sect ".sec"
More information on the assembler directives is also
available in the standard documentation. Hope this
answers your query. Bye,

Regards,
Ravi Kiran --- Andrew Xiang <> wrote: >
Does anyone have an example linker cmd file on how
> to place function
> selectively in the
> internal memory and external memory.
>
> I have function in both C and asm, some function
> needs to be in the internal
> mem, and some can be placed externally.
>
> Please give me an example linker command file to
> covers both asm and C
> functions.
>
> thanks
>
> Andrew >
> _____________________________________ >

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online.
Go to http://yahoo.shaadi.com





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

HPI 8bits boot - NARCIS PALOMERAS ROVIRA - Oct 1 7:58:00 2003

Hello!

I make a custom board based on 5409 DSP. This board is connect with
another through the HPI port (mode 8bits). This another board have a
ColdFire Microcontroller (Motorola) . I would save my DSP programs in the
ColdFire board and Boot through the HPI port. I read de "TMS320VC5409
Bootloader Technical reference" but I not understand how I can load de
.out file into de DSP.
Please some one to fact this?

Thank you!

::Narcís Palomeras Rovira::




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