DSPRelated.com
Forums

Re: [req] 6711DSK Bootloader for SDRAM

Started by Unknown November 29, 2004
Hi,

I recommend to download spru186.pdf and spru187.pdf from (www.ti.com), there
is lots of information about linking, compiling, cmd Files and so on. There
is all the info you need to decide what feature in the .cmd Syntax will be
suitable for you.

Who is copying the code from flash to isram? Normally your bootloader will
do the job - or?

I would recommend to define symbols in the .cmd file so that your bootloader
knows from where to where it has to copy code...

for example - in the SECTIONS define the symbol _LNKSYM_BOOTFL_START:
/*Startadresse Bootflash*/
.dummy1:
>BOOTFLASH
{_LNKSYM_BOOTFL_START=.;}

In your code you can refer to that by using
extern const far UN32 LNKSYM_BOOTFL_START;

well - at least this helps me to keep my code working if the sections
locations or sizes change...

bye,

Thomas

> I want run code load flash.
> How I modify Boot.asm, Lnk.cmd, Hex.cmd for 6711DSK.
> plz help me.
>
> .boot_load : load=flash run=iram
> .text : load=flash run=sdram
> .stack : load=flash run=sdram
> .bss : load=flash run=sdram
> ...
> .... : load=flash run=sdram > _____________________________________
> Note: If you do a simple "reply" with your email client, only the author
> of this message will receive your answer. You need to do a "reply all" if
> you want your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com
>
> Yahoo! Groups Links >
>

--
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++