DSPRelated.com
Forums

PMCO problem

Started by Yipeng Tang March 9, 2006
Hi everybody,

I am building the project with SHARC 21061 processor.  

I defined PMCO in the LDF file looks like this:
	...
...
...
	seg_pmco { TYPE(PM RAM) START(0x00020098) END(0x00021fff) WIDTH(48) }
...
...
...

The compiler/linker give me the error like "

[Error li2007] Out of memory in memory segment "seg_pmco". While
processing the input section "seg_pmco" from file "IFFT.DOJ"
of size 0xb2 words
[Error li2007]  Out of memory in memory segment "seg_pmco". While
processing the input section "seg_pmco" from file "FFT.DOJ"
of size 0xe1 words
	I think I can use the space from 0x00022000 to 0x00022fff.  But how can I fix
these two piece of codes into the available memory?

If I make the end address of PMCO to be 0x00022fff, then it will tell me that
the last 48-bit is invalid.  How should I do about it?

Thanks.
Yipeng

_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For
more information please visit http://www.ers.ibm.com
_____________________________________________________________________________
On Thu, 9 Mar 2006, Yipeng Tang wrote:

> Hi everybody,
>
> I am building the project with SHARC 21061 processor.
>
> I defined PMCO in the LDF file looks like this:
>
>
> ...
> ...
> ...
> 	seg_pmco { TYPE(PM RAM) START(0x00020098) END(0x00021fff) WIDTH(48) }
> ...
> ...
> ...
>
> The compiler/linker give me the error like "
>
> [Error li2007] Out of memory in memory segment "seg_pmco". While
processing the input section "seg_pmco" from file "IFFT.DOJ"
of size 0xb2 words
> [Error li2007]  Out of memory in memory segment "seg_pmco". While
processing the input section "seg_pmco" from file "FFT.DOJ"
of size 0xe1 words
>
>
> I think I can use the space from 0x00022000 to 0x00022fff.  But how can I
fix these two piece of codes into the available memory?
>
> If I make the end address of PMCO to be 0x00022fff, then it will tell me
that the last 48-bit is invalid.  How should I do about it?

to use the second block in 48 bit mode, you need to set up a segment
starting at 0x24000 and ending at 0x25fff.  Look at page 5-23 in the 2106x
user's manual to see why.

Patience, persistence, truth,
Dr. mike