DSPRelated.com
Forums

AW: .LDF question....

Started by Christoph Ripcke August 2, 2001
Hi Tom,

Because of your layout I think you're using an ADSP 21060. I'm a little bit
confused by your memory width of 48 bit. How do you wan't to access it. 32
or 40 Bit would make sense to me. However, if you're using the 21060 with 48
bit data, then your memory attribute for dm_buffer should be DM not PM
because it resides in Block 1 and not 0.

Hope that helps

Christoph

-----Ursprgliche Nachricht-----
Von: Hanley, Tom [mailto:]
Gesendet: Mittwoch, 1. August 2001 23:30
An:
Betreff: [adsp] .LDF question.... Hello,
I am trying to modify a load description file and am having a slight
problem.

I am currently using the following for my memory layout:
MEMORY
{
pm_rsti { TYPE(PM RAM) START(0x00020004) END(0x00020007) WIDTH(48)
}
pm_ep0i { TYPE(PM RAM) START(0x00020040) END(0x00020043) WIDTH(48)
}
pm_ep1i { TYPE(PM RAM) START(0x00020044) END(0x00020047) WIDTH(48)
}
pm_code { TYPE(PM RAM) START(0x00020100) END(0x00021fff) WIDTH(48)
}
dm_buffer{ TYPE(PM RAM) START(0x00030000) END(0x00037fff) WIDTH(48)
}
pm_prom { TYPE(PM RAM) START(0x00400000) END(0x004fffff) WIDTH(48)
}

dm_reg { TYPE(DM RAM) START(0x00025000) END(0x00025009) WIDTH(32)
}
dm_data1 { TYPE(DM RAM) START(0x00980000) END(0x009fffff) WIDTH(32)
}
}

And I am getting and error saying:

[Error E1508] The memory 'dm_buffer' has illegal 48 bit address 32767
[Error E1539] The memory layout specified in linker description file is
invalid

However, according to the header at the the top of the .ldf, 37fff should be
a valid 48-bit address. Any ideas why I'm having this problem? is there
something else I have to modify in order to allocate memory this way? As
alway, thanks :)

Tom Hanley _____________________________________
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://groups.yahoo.com/group/adsp

Other Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/