Kinetis Design Studio acts strangely

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

Kinetis Design Studio acts strangely

849 次查看
diegocolombo
Contributor IV

In the last hours KDS works erroneusly .Seems that restatring the PC put it in the right way sometimes,just sometimes.

The errors are going from wrong variable assignement to unexplicable code jumps

e.g.   my_x=3; resulting in debugger and in code flows as my_x=2

 

loops inside an if block

 

as in the below case you can see as a decimal number 80 is assigned as it was 0x80.

To say it all at first it was blink_x=0x80,but once corrected cleaned and recompiled i still have 0x80

152832_152832.pngKDS wrong behaviour 0X80 instead of 80.png

as you can see by the assembly code.

 

 

Any hint?

 

Thanks

Diego

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

713 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Diego,

I couldn't reproduce your problem with KDS3.2.

Could you please provide:

1. your KDS version

2. your demo project.

I will test it from my side. thanks!


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

713 次查看
diegocolombo
Contributor IV

Hi Jennie

Thanks for trying to help me and for your intention to reproduce the problem

I am using KDS version 3.0.0

I would glad to send you my project,but the Freedom Board is connect with some peripherals( a graphic display and an I2C sensor) and six pushbuttons

and unless you set the workbench in the same conditions it would never reach the point where this behaviour happens.

20160602_152123.jpg

In a simplified demo project everything works fine.

I think i would upgrade KDS to 3.2 version and i'll let you know

Thanks by now

Diego

0 项奖励
回复