AnsweredAssumed Answered

the problem about the ldf file

Question asked by xiaoGao on Dec 20, 2012
Latest reply on Jan 4, 2013 by Harshit.Gaharwar

Hi,

i use adsp21489 and i can't understand something in the LDF file.

we know adsp have 640kb(5Mbit) ram,and  for example:

seg_rth      { TYPE(PM RAM) START(0x0008c000) END(0x0008c0ff) WIDTH(48) }

  seg_ldr      { TYPE(PM RAM) START(0x0008c100) END(0x0008c2ff) WIDTH(48) }

#ifdef __MEMINIT__

  seg_init     { TYPE(PM RAM) START(0x0008c100) END(0x0008c2ff) WIDTH(48) }

  seg_int_code { TYPE(SW RAM) START(0x00124900) END(0x0013Bfff) WIDTH(16) }

#else

  seg_int_code { TYPE(SW RAM) START(0x00124900) END(0x0013BFFF) WIDTH(16) }

#endif // __MEMINIT__

this is part of the ldf file ,i just don't how to define the "WIDTH" of segments,or these segments "WIDTH" can be changed by modifying start address and end address ?

Outcomes