S32 5744p debug issue

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

S32 5744p debug issue

1,264件の閲覧回数
wenchaohu
Contributor I

I want to use an integer pointer variable to keep the address of GPR r1 in S32DS with MPC5744P,please give me some suggestions,thank you!

the text below are my codes,and it can not work right in debug mode.

unsigned int *stk_temp;

……

PPCASM("e_lis %r3,stk_temp@h");

PPCASM("e_ori %r3,%r3,stk_temp@l");

PPCASM("e_stw %r1,0x0(%r3)");

タグ(4)
0 件の賞賛
返信
1 返信

1,133件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello,

please do not create duplicated threads. My colleague wrote you an answer in the thread below:

https://community.nxp.com/thread/452009 

Regards,

Martin

0 件の賞賛
返信