Two questions in KDS: asm

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

Two questions in KDS: asm

跳至解决方案
2,772 次查看
kehanqin-b46569
NXP Employee
NXP Employee

Hi,

1.I encountered a issue that KDS said cannot build successful with “undefined reference asm”, may I avoid it by change some setting of KDS?

18086_18086.png2.png

2. Back to CW when during debug, I can add any global variables as I want into the"variable window", with "refresh while Running", can use it to monitor some datar, for example,read I2C values:

18087_18087.png1.png

But the add option always disable in kds, only I can put them into the expression window, where I could see the values changed after suspend the porgram running.

Is kds removed this function? If not, how to fix it?

18088_18088.png3.png

18089_18089.png4.png

thanks so much!!

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
2,471 次查看
antonioconcio
NXP Employee
NXP Employee

Hello,

Let me try to address your questions:

  1. You need to add two underscores before the asm ( __asm). Please refer HERE for more detail.
  2. The ‘Live View‘ feature is a CodeWarrior specific extension, and not supported in stock Eclipse Kepler/CDT as used in Kinetis Design Studio. Adding global variables to the variables view is not supported (Remember that Eclipse moved to the DSF (Debugger Services Framework)), the workaround is to use the Expressions view as you mentioned. For more detail refer HERE.

Cheers,

Antonio

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,472 次查看
antonioconcio
NXP Employee
NXP Employee

Hello,

Let me try to address your questions:

  1. You need to add two underscores before the asm ( __asm). Please refer HERE for more detail.
  2. The ‘Live View‘ feature is a CodeWarrior specific extension, and not supported in stock Eclipse Kepler/CDT as used in Kinetis Design Studio. Adding global variables to the variables view is not supported (Remember that Eclipse moved to the DSF (Debugger Services Framework)), the workaround is to use the Expressions view as you mentioned. For more detail refer HERE.

Cheers,

Antonio

0 项奖励
回复
2,471 次查看
kehanqin-b46569
NXP Employee
NXP Employee

Thank you!

0 项奖励
回复