1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
是否有一个API调用可用于执行软复位?
我尝试使用BLAPAPFWU.H中的BLUAPFWUA WATHODBOXEXIDER(),但在BCM20736S中不工作。 然而,它在开发板上是成功的。即使在BCM20736S中,OTA也可以。 在无法进入深度睡眠模式后,我尝试强迫软件重置并准备再次进入睡眠状态; 以下是我用来强制重置的内容: BelaPopTurrPcPultStudiable(); BLYTrace0(“漂白剂”); 白萝卜(500); BLAPAPFUWA WORKODO过期(0); BLYTrace0(“BLUAPFUWA WORKOOD过期”); 这里是日志信息:调用BLAPAPFWUA WORKODION(0)后,BCM20736S挂机,按键可以唤醒它。 09:59:18-DelPotoOnFo: 0 09:59:18 09:59:18 ApptimeT(ADV,CONN)停止:1 09:59:18 09:59:18 09:59:18-APPU-AbjtHydHiOFOFF 09:59:18 BrPrLeLyQueIsPoalStand(PoopFoT):0000000 1 09:59:18 BrPrLeLyQueIsPoalStand(PoopFoT):0000000 1 09:59:18堕胎!!!! 09:59:18停止省电 09:59:18精密定时器(50毫秒,20秒/秒) 09:59:18精细计时器4 09:59:18正常定时器(1秒,80滴答) 09:59:18 AppTimeT(ADV,CONN)停止:1 09:59:18 BuryHythununAdv:计时器(0) 09:59:20 AppTimeT(ADV,CONN)停止:1 09:59:20 NOADV 09:59:21-πTimeRe1s 09:59:22-第二 09:59:23 09:59:23 以上来自于百度翻译 以下为原文 Is there an API call available that can be used to perform a soft reset? I tried to use bleappfwu_watchdogExpired() from bleappfwu.h, but it is not work in BCM20736S. however, it'sOK(success to reset) in the develop board. and it is OK after OTA even if in BCM20736S. After fail to enter the deepsleep mode, I try to force a software reset and ready to enter deepsleep again; here's what I used to force a reset: bleapputil_cpuIntDisable(); ble_trace0 (" bleapputil_cpuIntDisable"); bleapputils_delayUs(500); bleappfwu_watchdogExpired(0); ble_trace0(" bleappfwu_watchdogExpired"); here is the log information: After call bleappfwu_watchdogExpired(0); BCM20736S hung up, press key can wake up it. 09:59:18 - LEDPowerOnOff:0 09:59:18 TimersKilled 09:59:18 AppTimer(adv, conn) stopped: 1 09:59:18 noAdv 09:59:18 - app_enter_hidoff 09:59:18 - app_abort_hidoff 09:59:18 bleprofile_queryPowersave(POWEROFF): 00000001 09:59:18 bleprofile_queryPowersave(POWEROFF): 00000001 09:59:18 abortHidoff!!! 09:59:18 Stop Power Save 09:59:18 Fine Timer(50 ms, 20/sec) 09:59:18 Fine TImer tick 4 09:59:18 Normal Timer(1 s, 80 tick) 09:59:18 AppTimer(adv, conn) stopped: 1 09:59:18 BLE_high_un_adv:timer(0) 09:59:20 AppTimer(adv, conn) stopped: 1 09:59:20 noAdv 09:59:21 - _timer_1s 09:59:22 - _timer_1s 09:59:23 - _timer_1s 09:59:23 - bleapputil_cpuIntDisable |
|
相关推荐
4个回答
|
|
BelpFFUWA WaGeDoEffExtRead(0)是软复位的推荐。我注意到你正在使用一个模块。你关心水晶热身问题了吗?
RE:迫使BCM20736S上的软件复位 以上来自于百度翻译 以下为原文 bleappfwu_watchdogExpired(0) was the recommendation for soft reset. I noted that you are using a module. Did you take care of the crystal warm-up issue? Re: Forcing a software reset on the BCM20736S |
|
|
|
广州洋钒 发表于 2018-11-19 12:06 嗨,Btta, 谢谢你的回复! 请参考我的测试流程: 步骤1:电源开启5s后,BCM20736S进入休眠汽车,没问题, 步骤2:然后按P0YKY唤醒它,也可以, 步骤3:BCM20736在5s后再次进入深度睡眠,失败了。“被调用”。然后,在10s之后,我尝试调用BLUAPFWUA WATORKOUTHORTED(0)强制复位。不幸的是,它也失败了。 在步骤3中,如果在调用BLAPAPFWUA WETCHOOK到期(0)之前按下P0YKEY键,则可以成功重置BCM20736, 以上来自于百度翻译 以下为原文 Hi Btta, Think you for your reply! Please refer to my test flow: step_1:After power on 5s, BCM20736S enter the deepsleep auto, it's OK, step_2:then press P0_key to wake it up, it's OK too, step_3: BCM20736 enter the deep sleep again after 5s, it's fail. "app_abort_hidoff()" be called. then after 10s, I try to call bleappfwu_watchdogExpired(0) to force reset. Unfortunately, it's fail too. During step_3, if I press P0_key before call bleappfwu_watchdogExpired(0); it can success to reset BCM20736, |
|
|
|
施加P0就像上电复位。FW应该像它所设计的那样执行。然而,在步骤(2)按下P0之后,它再也不能进入深度睡眠。也许你应该先调试这个部件,然后再踢看门狗。你的深度睡眠代码看起来像下面这样: BLYTrace0(进入深度睡眠N); 白萝卜(500); 可发现的(不可发现的,空的); BrPrReLyPayRayIdf(); 以上来自于百度翻译 以下为原文 Exerting P0 is like power-on-reset. The fw should execute like what it has been designed. However after pressing P0 in step (2), it failed to enter deep sleep again. Perhaps you should try to debug this part first before we kick the watchdog. Does your deep sleep code look something like below: ble_trace0("Entering Deep Sleepn"); bleapputils_delayUs(500); bleprofile_Discoverable(NO_DISCOVERABLE, NULL); bleprofile_PrepareHidOff(); |
|
|
|
广州洋钒 发表于 2018-11-19 12:29 嗨,BTA, 你是对的,现在,我在输入DeepSleep之前添加了下面的代码, MiADRiver配置文件DelaySudioIdHyfFuffs= 0xFFFFFFFF; ItcTLLCLRPTCIN(0xFFFFFFFF); 我发现进入深度睡眠很有帮助,到目前为止我还没有发现任何例外。我不需要软件重置。 我的完整代码如下 BelPosiLi KimTimeR(); 可发现的(不可发现的,空的); 白萝卜(500); MiADRiver配置文件DelaySudioIdHyfFuffs= 0xFFFFFFFF; ItcTLLCLRPTCIN(0xFFFFFFFF); BrPrReLyPayRayIdf(); 以上来自于百度翻译 以下为原文 Hi btta, You are right, now, I added below code before enter DeepSleep, miaDriverConfig.delayAfterEnteringHidOffInUs = 0xffffffff; intctl_ClrPendingInt(0xffffffff); I had found It's very helpful to get into the DeepSleep,So far I haven't found any exceptions. I need not software reset. My complete code is as follows bleprofile_KillTimer(); bleprofile_Discoverable(NO_DISCOVERABLE, NULL); bleapputils_delayUs(500); miaDriverConfig.delayAfterEnteringHidOffInUs = 0xffffffff; intctl_ClrPendingInt(0xffffffff); bleprofile_PrepareHidOff(); |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2105 浏览 1 评论
1851 浏览 1 评论
3669 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1786 浏览 6 评论
1536 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
569浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
423浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
437浏览 2评论
383浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
915浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 14:39 , Processed in 0.849785 second(s), Total 52, Slave 46 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号