完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好
我开始使用CYW943907AEV1F工具,我遵循“CYW943907AEVA1F评估工具包用户指南”的说明。不过,调试过程中遇到了一些问题。我正在编写选项: CITW943907AEVA1F.ADCULY测量CYW943907AEVAL1F FRESRTO-LWIP调试下载 我在Linux主机上。 在调试会话启动时,我从调试控制台获得以下内容: [新线程- 1 ] 警告:当前语言与此帧不匹配。 81 LDR R10,= SysScTrLyInIyVal/*分配值为R10*/ 我一启动调试会话就知道了。尽管如此,调试器转到了StasyGcc.s上的代码,我可以一步一步地通过代码。然后我把断点放到调用启动函数上,并执行到那个点。到目前为止一切都很好。 然后,在函数启动时,通过代码遍历需要永远,这是第二个问题。通常情况下应该是瞬时的。所以我跨过SkyStLip(); ApDistabyPrimulthIn();并进入主(); 在主体()上,当我试图跨过这条线时 XTaskCube((TaskFoeStudit))SysMyRealOrthTraceRead主,“系统监视器”,SysSytRealOrthRead StaskyStsix/SsieOf(PotoStaskyType),NULL,RTOSHI-HESTESTHOLL优先级,以及SypSyMealOrthTraceRad句柄; 执行被卡住,这是,它从来没有超过函数,如果我打暂停,我得到的错误: [新螺纹5474072 ] 在FD 9上检测到错误 远程通信错误。目标断开连接:资源暂时不可用。 退出 有人知道我为什么会这样吗? 当做。 曼努埃尔马拉贡 以上来自于百度翻译 以下为原文 Hello I'm starting to use the CYW943907AEVAL1F tool and I followed the instructions on the "CYW943907AEVAL1F Evaluation Kit User Guide". Nevertheless, I'm having problems with the debug session. I'm compiling the options: kits.CYW943907AEVAL1F.adc_measure-CYW943907AEVAL1F-FreeRTOS-LwIP-debug downloadAnd I'm on a Linux host computer. Upon debugging session launch I'm getting the following from the debug console: [New Thread -1] I get that as soon as I launch the debug session. In spite of that, the debugger goes to the code on the start_GCC.S and I can single step through the code. Then I put a breakpoint on the call to the _start function and execute to that point. Everything fine so far. Then, on the function _start, stepping over through the code takes forever, which is the second issue. Normally it should be instantaneous. So I step over _start_low( ); and _start_platform_init( ); and go into main( ); On main( ), when I try to step over the line xTaskCreate( (TaskFunction_t) system_monitor_thread_main, "system monitor", SYSTEM_MONITOR_THREAD_STACK_SIZE/sizeof( portSTACK_TYPE ), NULL, RTOS_HIGHEST_PRIORITY, &system_monitor_thread_handle); The execution gets stuck, this is, it never steps over the function and if I hit pause I get the error: [New Thread 5474072] Does anyone know why I am experiencing this? Regards. Manuel Malagon |
|
相关推荐
5个回答
|
|
你好,
可以通过在调试控制台中键入信息框或显示语言来了解所使用的语言。它将被设置为自动,在这种情况下,你可以忽略警告。由于依赖关系,一些API可能需要更长的时间。对于XTaskCube,你是在尝试进入还是跨过。跳过工作,但进入有时会引发同样的错误,你指出。我假设(如果我错了,请纠正我)进入XTaskCube(踢看门狗)可能会导致错误,因为WICE系统监视器线程周期性地踢/喂看门狗。可能是在你的应用程序试图重置它导致崩溃之前,看门狗已经被踢过了,可能处于某种中间状态。 以上来自于百度翻译 以下为原文 Hi, The language that is used could be known by typing in info frame or show language in the debug console. It would be set to auto in which case you could ignore the warning. Stepping over some API's might take longer because of the dependencies. And for xTaskCreate, are you trying stepping into or stepping over. Stepping over works but stepping into sometimes throws the same error you pointed out. I assume that (correct me if i am wrong)Stepping into xTaskCreate(which kicks the watchdog) might throw up an error because the WICED System Monitor thread periodically kicks/feeds the watchdog . It might be the case that the watchdog had already been kicked and might be in some intermediate state before your application tries to reset it again leading to a crash. |
|
|
|
swanegong 发表于 2018-12-5 06:18 发生在步进和进入XTaskCube中的VNAK都会创建错误。你能帮我知道如何才能禁用看门狗以便调试成功吗? 以上来自于百度翻译 以下为原文 vnak that happens both stepping over and stepping into xTaskCreate creates the error. Could you please help me know how I can disable the watchdog in order to debug successfully? |
|
|
|
您是否尝试在应用程序中使用宏WiDeDeDababl看门狗? 以上来自于百度翻译 以下为原文 Have you tried using the macro WICED_DISABLE_WATCHDOG in you application. |
|
|
|
我不知道我能做那件事。我在哪里指定?在什么文件里? 谢谢! 以上来自于百度翻译 以下为原文 vnak I didn't know I could do that. Where do I specify that? In what file? Thanks! |
|
|
|
只需在应用程序生成文件中放入GualAlxDeals++WiDeDeDababl看门狗即可。 以上来自于百度翻译 以下为原文 Just put GLOBAL_DEFINES += WICED_DISABLE_WATCHDOG in the application makefile. |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2101 浏览 1 评论
1848 浏览 1 评论
3666 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1783 浏览 6 评论
1533 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
564浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
418浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
434浏览 2评论
380浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
909浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 13:05 , Processed in 0.887832 second(s), Total 83, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号