pmem RAM variable access for DSP56800E

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

pmem RAM variable access for DSP56800E

3,636 次查看
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,027 次查看
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 项奖励