DSPRelated.com
Forums

Gel file question

Started by peejayblack March 1, 2004

Everyone / Anyone

After looking at TI's 5509 gel files
I have totally confused myself, but I think TI has helped.

TI seem to MAP prog space as bytes, and data as word?

See the CE0 spaces below from their GEL for example. /* Program Space */
GEL_MapAdd(0x0000C0,0,0x00FF40,1,1); /* DARAM */
GEL_MapAdd(0x010000,0,0x030000,1,1); /* SARAM */
GEL_MapAdd(0x040000,0,0x3C0000,1,1); /* External CE0 */
GEL_MapAdd(0x400000,0,0x400000,1,1); /* External CE1 */
GEL_MapAdd(0x800000,0,0x400000,1,1); /* External CE2 */
/* For MP/MC=1 (BOOTM[2:0] = 0) */
GEL_MapAdd(0xC00000,0,0x400000,1,1); /* External CE3 */
/* For MP/MC=0 (BOOTM[2:0] != 0) */
/*GEL_MapAdd(0xC00000,0,0x3F8000,1,1); /* External CE3 */
GEL_MapAdd(0xFF0000,0,0x010000,1,0); /* PDROM */ /* Data Space */
GEL_MapAdd(0x000000,1,0x000050,1,1); /* MMRs */
GEL_MapAdd(0x000060,1,0x007FA0,1,1); /* DARAM */
GEL_MapAdd(0x008000,1,0x018000,1,1); /* SARAM */
GEL_MapAdd(0x020000,1,0x1E0000,1,1); /* External CE0 */
GEL_MapAdd(0x200000,1,0x200000,1,1); /* External CE1 */
GEL_MapAdd(0x400000,1,0x200000,1,1); /* External CE2 */
/* For MP/MC=1 (BOOTM[2:0] = 0) */
GEL_MapAdd(0x600000,1,0x200000,1,1); /* External CE3 */
/* For MP/MC=0 (BOOTM[2:0] != 0)*/
/*GEL_MapAdd(0x600000,1,0x1FC000,1,1); /* External CE3 */
/*GEL_MapAdd(0x7FC000,1,0x004000,1,0); /* PDROM */ Any good explanation?

Thanks




Hi Peejay

Please refer

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

Chapter 3.

Regards
MB

--- peejayblack <> wrote: >
> Everyone / Anyone
>
> After looking at TI's 5509 gel files
> I have totally confused myself, but I think TI has
> helped.
>
> TI seem to MAP prog space as bytes, and data as
> word?
>
> See the CE0 spaces below from their GEL for example. > /* Program Space */
> GEL_MapAdd(0x0000C0,0,0x00FF40,1,1); /*
> DARAM */
> GEL_MapAdd(0x010000,0,0x030000,1,1); /*
> SARAM */
> GEL_MapAdd(0x040000,0,0x3C0000,1,1); /*
> External CE0 */
> GEL_MapAdd(0x400000,0,0x400000,1,1); /*
> External CE1 */
> GEL_MapAdd(0x800000,0,0x400000,1,1); /*
> External CE2 */
> /* For MP/MC=1 (BOOTM[2:0] = 0) */
> GEL_MapAdd(0xC00000,0,0x400000,1,1); /*
> External CE3 */
> /* For MP/MC=0 (BOOTM[2:0] != 0) */
> /*GEL_MapAdd(0xC00000,0,0x3F8000,1,1); /*
> External CE3 */
> GEL_MapAdd(0xFF0000,0,0x010000,1,0); /*
> PDROM */ > /* Data Space */
> GEL_MapAdd(0x000000,1,0x000050,1,1); /*
> MMRs */
> GEL_MapAdd(0x000060,1,0x007FA0,1,1); /*
> DARAM */
> GEL_MapAdd(0x008000,1,0x018000,1,1); /*
> SARAM */
> GEL_MapAdd(0x020000,1,0x1E0000,1,1); /*
> External CE0 */
> GEL_MapAdd(0x200000,1,0x200000,1,1); /*
> External CE1 */
> GEL_MapAdd(0x400000,1,0x200000,1,1); /*
> External CE2 */
> /* For MP/MC=1 (BOOTM[2:0] = 0) */
> GEL_MapAdd(0x600000,1,0x200000,1,1); /*
> External CE3 */
> /* For MP/MC=0 (BOOTM[2:0] != 0)*/
> /*GEL_MapAdd(0x600000,1,0x1FC000,1,1); /*
> External CE3 */
> /*GEL_MapAdd(0x7FC000,1,0x004000,1,0); /*
> PDROM */ > Any good explanation?
>
> Thanks > ------------------------ Yahoo! Groups Sponsor
>
> _____________________________________
> 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/c55x
>
> Other Groups: http://www.dsprelated.com >
> Yahoo! Groups Links >

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services,
tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html




Ahhh...Ha
Missed that. Thanks,

PeeJay --- In , M B <mb_dsp@y...> wrote:
> Hi Peejay
>
> Please refer
>
> http://focus.ti.com/lit/ug/spru371f/spru371f.pdf
>
> Chapter 3.
>
> Regards
> MB
>
> --- peejayblack <peejayblack@y...> wrote: >
> > Everyone / Anyone
> >
> > After looking at TI's 5509 gel files
> > I have totally confused myself, but I think TI has
> > helped.
> >
> > TI seem to MAP prog space as bytes, and data as
> > word?
> >
> > See the CE0 spaces below from their GEL for example.
> >
> >
> > /* Program Space */
> > GEL_MapAdd(0x0000C0,0,0x00FF40,1,1); /*
> > DARAM */
> > GEL_MapAdd(0x010000,0,0x030000,1,1); /*
> > SARAM */
> > GEL_MapAdd(0x040000,0,0x3C0000,1,1); /*
> > External CE0 */
> > GEL_MapAdd(0x400000,0,0x400000,1,1); /*
> > External CE1 */
> > GEL_MapAdd(0x800000,0,0x400000,1,1); /*
> > External CE2 */
> > /* For MP/MC=1 (BOOTM[2:0] = 0) */
> > GEL_MapAdd(0xC00000,0,0x400000,1,1); /*
> > External CE3 */
> > /* For MP/MC=0 (BOOTM[2:0] != 0) */
> > /*GEL_MapAdd(0xC00000,0,0x3F8000,1,1); /*
> > External CE3 */
> > GEL_MapAdd(0xFF0000,0,0x010000,1,0); /*
> > PDROM */
> >
> >
> > /* Data Space */
> > GEL_MapAdd(0x000000,1,0x000050,1,1); /*
> > MMRs */
> > GEL_MapAdd(0x000060,1,0x007FA0,1,1); /*
> > DARAM */
> > GEL_MapAdd(0x008000,1,0x018000,1,1); /*
> > SARAM */
> > GEL_MapAdd(0x020000,1,0x1E0000,1,1); /*
> > External CE0 */
> > GEL_MapAdd(0x200000,1,0x200000,1,1); /*
> > External CE1 */
> > GEL_MapAdd(0x400000,1,0x200000,1,1); /*
> > External CE2 */
> > /* For MP/MC=1 (BOOTM[2:0] = 0) */
> > GEL_MapAdd(0x600000,1,0x200000,1,1); /*
> > External CE3 */
> > /* For MP/MC=0 (BOOTM[2:0] != 0)*/
> > /*GEL_MapAdd(0x600000,1,0x1FC000,1,1); /*
> > External CE3 */
> > /*GEL_MapAdd(0x7FC000,1,0x004000,1,0); /*
> > PDROM */
> >
> >
> > Any good explanation?
> >
> > Thanks
> >
> >
> >
> >
> >
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> >
> > _____________________________________
> > 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/c55x
> >
> > Other Groups: http://www.dsprelated.com
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>
> ________________________________________________________________________
> Yahoo! India Insurance Special: Be informed on the best policies,
services, tools and more.
> Go to: http://in.insurance.yahoo.com/licspecial/index.html