About far pointer in codewarrior 5.2

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

About far pointer in codewarrior 5.2

742 次查看
nxpxhy13
Contributor I

Excuse me: in the serial interrupt service program, a far pointer points to the receive data buffer, the buffer is in PAGED_RAM area, use the far pointer to write the received serial data to this buffer. Is this OK?

0 项奖励
3 回复数

727 次查看
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

 

Could you, please, share your project (to better understand your question)?

I'm not sure which MCU you use.

However, I would like to suggest looking at the SCI example, see attachment.

 

Thank you.

Best regards,

Diana

0 项奖励

713 次查看
nxpxhy13
Contributor I

My CPU is mc9s12xe series.

0 项奖励

694 次查看
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

 

A similar question has been discussed in this community thread, see the link below:

https://community.nxp.com/t5/CodeWarrior-for-MCU/Paged-ram-far-pointers-CW-S12X/m-p/207819

 

I hope it helps.

Best regards,

Diana

0 项奖励