I am trying to access constants from the program memory of a 56F84789. I am using Code Warrior 11.1 and I am not able use their built in function memcpy. However with older Code Warrior versions from FreeScale, using their memCopyPtoX in a program I creat

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

I am trying to access constants from the program memory of a 56F84789. I am using Code Warrior 11.1 and I am not able use their built in function memcpy. However with older Code Warrior versions from FreeScale, using their memCopyPtoX in a program I creat

911 次查看
jallen1
Contributor I

Is there a function equivalent to memCopyPtoX that will let me copy constants from the program memory of a 56F84789? I am using Code Warrior 11.1 as my compiler.

0 项奖励
回复
1 回复

849 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, John,

As the following screenshot based on CodeWarrior for mcu ver11.1, the memCopyPtoX() function belongs to DSP_MEM bean, in other words, you have to establish project based on PE(Processor Expert) and add the DSP_MEM bean, then drag the function to your project, it is okay.

Hope it can help you

BR

XiangJun Rong

pastedImage_1.png

0 项奖励
回复