pmem RAM variable access for DSP56800E

cancel
Showing results for 
Search instead for 
Did you mean: 

pmem RAM variable access for DSP56800E

2,674 Views
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
Labels (1)
Tags (1)
0 Kudos
1 Reply

65 Views
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 Kudos