完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
STATEYVAR只能在主回路中使用。别的地方,这个值既不读也不写。怎么可能,那万一陈述案件7:值对出口的负面?
在装配有三指令state_var相关问题。 然而,这不是一个简单的单线程应用RTOS,但是,主要的问题隔离。 我应该禁用断点递增/递减根本没有这个变量中发挥作用? TopReLyPoSO5.5.JPG 119.3 K 以上来自于百度翻译 以下为原文 state_var is only available in main loop. Nowhere else this value is neither read nor written. How it's possible, that in case statement case 7: value on exit is negative? in assemble there are 3 instructions related to increament state_var. However it's not rtos but a simple single thread aplication, mainly for problem isolation. Should I disable breakpoints during increment/decrement which do not play with this variable at all?
|
|
相关推荐
4个回答
|
|
1。根据图片,StuteYVAR是UNIT16。所以这个值不是负数,只是非常大(有点奇怪)
2、你能上传这个项目,让人们看看吗? 三。你可以使用创建者2.2,你能改变到创造者3并且它仍然有问题吗?-但是你需要改变到一个不同的芯片,因为PSOC5不是在创建者3下的支持。 4。你试图改变优化,看到这有什么区别。 以上来自于百度翻译 以下为原文 1. According to the picture the state_var is unit16. so the value is not negative, just very big ( which is a bit strange) 2.Can you upload the project, so people can have a look. 3. You can using the creator 2.2, Can you change to creator 3 and does it still have the problem.- but you need to change to a different chip as psoc5 is not support under creator 3. 4. Did you tried to change the optimization and see that makes any difference. |
|
|
|
如果您认为变量受中断影响,则可以尝试在操作之前禁用中断并重新启用IMPUT再次检查。
以上来自于百度翻译 以下为原文 If you think that the variable is affected by an interrupt, you can try to disable the interrupt before the operation and re-enable interupt again to check. |
|
|
|
我发现,通过几个字节,表被覆盖,有state_var。
是我的错。 以上来自于百度翻译 以下为原文 I found, that table was overwritten by few bytes, and there was state_var. my fault. |
|
|
|
我也注意到190号和191号线被弹出的警报器所覆盖。
在第190行,它显示 “StayeVar”——带有下划线的 在第191行,它显示 “StayeVar”---------一个空间 第190行中有一个字母“是”。 这是两个不同的变量吗? 你检查的是哪一个? 以上来自于百度翻译 以下为原文 I also noticed that on line 190 and 191 which was covered by the pop up scrren on line 190, it shows "state_var_" -------- with a underscore on line 191, it shows "state_var " --------- with a space The one on line 190 has a "_". Are those two different variable? Which one were you checking? |
|
|
|
只有小组成员才能发言,加入小组>>
713个成员聚集在这个小组
加入小组1888 浏览 1 评论
1637 浏览 1 评论
3392 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1556 浏览 6 评论
1371 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
170浏览 2评论
170浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
304浏览 2评论
323浏览 1评论
45浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-3-29 03:42 , Processed in 0.596115 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 深圳华秋电子有限公司
电子发烧友 (电路图) 粤公网安备 44030402000349 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号