Search found 18 matches

by percy(unwired)
2024年 Nov 14日 18:03
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 377

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.

by percy(unwired)
2024年 Nov 14日 15:20
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 377

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 percy(unwired)
2024年 Nov 14日 12:20
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 377

Re: firmware corruption

The battery check macro is disabled in app_config_8258.h other than enabling the same, what are the other settings required to enable battery voltage detection on the TL_C4 ADC port. Also any other settings or configuration required to prevent flash memory errors. Since the power consumption of the ...
by percy(unwired)
2024年 Nov 13日 16:36
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 377

Re: firmware corruption

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

by percy(unwired)
2024年 Nov 13日 12:58
Forum: TuyaOS-Bluetooth Device Development
Topic: firmware corruption
Replies: 10
Views: 377

firmware corruption

what are the possible reasons for firmware corruption on BT3L MODULE. this is a battery operated keypad. Device works fine issue mostly occurs when the battery drains out. the device does not go through the built in reset routine by pressing the keys. have tried reseting and activating the module us...
by percy(unwired)
2024年 Nov 12日 18:21
Forum: TuyaOS-Bluetooth Device Development
Topic: wakeup from gpio does not workin deep sleep mode
Replies: 8
Views: 300

Re: wakeup from gpio does not workin deep sleep mode

Can we resume from deep sleep without losing previous variable data. Else i would need to save data to nvram everytime before deep sleep and copy from nvram on wakeup.

by percy(unwired)
2024年 Nov 12日 17:37
Forum: TuyaOS-Bluetooth Device Development
Topic: wakeup from gpio does not workin deep sleep mode
Replies: 8
Views: 300

Re: wakeup from gpio does not workin deep sleep mode

changed the output configuration settings as per your suggestion here is my sleep routine code VOID sleep_timer1_callback(TIMER_ID timer_id, VOID_T *arg) { tal_main_debug("SLEEP MODE"); sleep_mode_on = 1 ; ZONE_ON = 0 ; FUNC_ON = 0 ; tal_gpio_init(KYB_1, &gpio_cfg_output_1); //TUYA_GPI...
by percy(unwired)
2024年 Nov 12日 15:48
Forum: TuyaOS-Bluetooth Device Development
Topic: wakeup from gpio does not workin deep sleep mode
Replies: 8
Views: 300

Re: wakeup from gpio does not workin deep sleep mode

chip platform used bt3l . It is a matrix keypad. pressing any button on the keypad should wake up the bt3l module from deep sleep.

by percy(unwired)
2024年 Nov 12日 14:35
Forum: TuyaOS-Bluetooth Device Development
Topic: wakeup from gpio does not workin deep sleep mode
Replies: 8
Views: 300

wakeup from gpio does not workin deep sleep mode

Hi Wakeup from gpio works fine when TUYA_CPU_SLEEP mode is used. However when TUYA_CPU_DEEP_SLEEP mode is used the device does not wakeup from sleep. the wakeup settings in sdk are as below // TUYA DEEP SLEEP MODE SETTINGS tkl_cpu_sleep_mode_set(1, TUYA_CPU_SLEEP); // WAKE UP SOURCE SETTINGS TUYA_WA...
by percy(unwired)
2024年 Jun 11日 19:59
Forum: TuyaOS-Bluetooth Device Development
Topic: proxy to mesh failed error - TLSR825x SDK ver 3.8
Replies: 18
Views: 7577

Re: proxy to mesh failed error - TLSR825x SDK ver 3.8

Hi

I am using functions from math.h exp and roundf . I have included math.h in app_common.c however i keep getting the error
undefined reference to `exp'
undefined reference to 'roundf'

how do i fix this and include math.h during build