Search found 148 matches

by joey_nobug
2025年 Apr 16日 10:50
Forum: TuyaOS-蓝牙设备开发
Topic: 【求助】tlsr825x的低功耗问题
Replies: 5
Views: 346

Re: 【求助】tlsr825x的低功耗问题

“开启 Retention 模式后,默认所有变量都放置于 Retention 区域,但是只有 32k 可能会导致 Retention 区域 Size 超出,导致编译不通过” 请问深度休眠下涂鸦的业务逻辑大概占用多少ram;还有多少ram是我应用可以用的 3.10.0 及以后的版本目前暂时不支持开启 retention 模式,3.10.0 后续版本更新了原厂的 4.1.0.0 SDK 以及增加了扩展广播等新的特性,ram 会占用很多导致 retention 区域 size 超出。 目前的 sdk 中 ram 剩余可以参考 lst 文件中信息,如果 ram 资源受限,可以适当减小 HEAP_SI...
by joey_nobug
2025年 Apr 16日 09:47
Forum: TuyaOS-蓝牙设备开发
Topic: 【求助】tlsr825x的低功耗问题
Replies: 5
Views: 346

Re: 【求助】tlsr825x的低功耗问题

jujuju 2025年 Apr 15日 16:29

请问这里提到的最大唤醒时间是不是唤醒源为定时器时,最长可设置得睡眠时间是234s;唤醒源为GPIO时,只和IO中断有关?

是的,但是建议不要只使用 GPIO 唤醒,最好同时保持定时器唤醒,从而实现 唤醒机制:低功耗设备必须每隔 96h 唤醒一次,每次唤醒持续 15s 以上时间。 此机制。

by joey_nobug
2025年 Apr 16日 09:44
Forum: TuyaOS-蓝牙设备开发
Topic: 【求助】tlsr825x的低功耗问题
Replies: 5
Views: 346

Re: 【求助】tlsr825x的低功耗问题

jujuju 2025年 Apr 15日 16:29

https://developer.tuya.com/cn/docs/iot- ... 9%E6%80%A7
我看原厂文档写的234s,这里提到的是268s,以哪个为准

以原厂的文档为准,开发者平台的文档我们会尽快修改掉

by joey_nobug
2024年 Dec 19日 08:49
Forum: TuyaOS-蓝牙设备开发
Topic: phy6222 Write images failed
Replies: 1
Views: 4358

Re: phy6222 Write images failed

烧写前需要先擦除 flash 才能重新写入,如果只更新代码的话可以使用 HEXF 模式,上位机会只擦除代码区然后写入新固件

企业微信截图_17345693577256.png
by joey_nobug
2024年 Nov 14日 18:09
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 14622

Re: firmware corruption

sdk version currently in use is 3.8 it worked able to build without errors with Batt_check_enabled. how do we debug and check if the macro is working and what are the currently set voltage levels at which the macro will be triggered. You can modify the macro definition #define VBAT_ALARM_THRES_MV (...
by joey_nobug
2024年 Nov 14日 16:09
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 14622

Re: firmware corruption

Add the file "$PROJECT_ROOT/vendor/tlsr825x_smesh/sdk/telink_sig_mesh_sdk/vendor/common/battery_check.c" to the project in the software\TuyaOS\vendor\tlsr825x_smesh\toolchain\templates\vendor.json.

by joey_nobug
2024年 Nov 14日 15:55
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 14622

Re: firmware corruption

if i enable the BATT_CHECK_ENABLE macro following error appears during build ./vendor/tlsr825x_smesh/sdk/telink_sig_mesh_sdk/drivers/8258/flash.c: In function 'flash_erase_sector': ./vendor/tlsr825x_smesh/sdk/telink_sig_mesh_sdk/drivers/8258/flash.c:224:5: warning: implicit declaration of function ...
by joey_nobug
2024年 Nov 14日 14:16
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 14622

Re: firmware corruption

The low voltage detection is entirely internal and does not require external circuitry. The principle is to measure the VCC input voltage using the ADC by directly detecting pin PC5 (internally in the chip, not externally accessible). When the VCC voltage is lower than the threshold configured by th...
by joey_nobug
2024年 Nov 13日 16:38
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 14622

Re: firmware corruption

percy(unwired) 2024年 Nov 13日 16:36

not only the firmware flash region and even the tuya token/license being erased or corrupted.

Yes, because in low power conditions, flash operations are unpredictable and various strange anomalies may occur.