pmem RAM variable access for DSP56800E

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

pmem RAM variable access for DSP56800E

3,611件の閲覧回数
rcf
Contributor I
Has anyone been successful implementing the "__pmem" type in CW for the 56F8323 etc?
 
The linker points out that a 16-bit address is inadequate to reach this memory space.  However, selecting "large memory" model causes the linker to flag incompatible MSL C library memory model...
 
for example, "__pmem unsigned int tbuf[buf_size] ;
...
 
and linker command file including:
   .pRAM:
{
  * (.bss.pmem)
}  > p.internal_RAM
 
 
(I am not using PE)
 
Any help will be much appreciated.
 
Thanks for listening
ラベル(1)
タグ(1)
0 件の賞賛
1 返信

1,002件の閲覧回数
rcf
Contributor I

update from my original post...

I found under "Using MSL for DSP56800E" in online CW help the reference to the "lmm" options of the MSL C and runtime  .lib files.

Now that I have pulled them into the project in the place of the "smm" versions, the linker seems satisfied.

Hope this is helpful to anyone else considering using the __pmem option.

 

0 件の賞賛