Btw, to answer OTA question - W800 has HTTP server based OTA (old OTA style), the Web App OTA is missing.
Btw, to answer OTA question - W800 has HTTP server based OTA (old OTA style), the Web App OTA is missing.
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamp.kaczmarek2 wrote:How do you know that NAK error means that flash is too big?
p.kaczmarek2 wrote:What is the current flash size?
p.kaczmarek2 wrote:I can add some #define for you to for example allow turning off features like Tasmota JSON emulation
p.kaczmarek2 wrote:I don't think it's exactly 1MB, what is the current size of build files?
p.kaczmarek2 wrote:Can we get somehow some other binary for testing W806?
p.kaczmarek2 wrote:I can try to help, I have linux vm, maybe we can build/compile something else together..
I can try to add more size build reduction within 3 to 6 hours from now so you can test more.
[01-01 18:12:15 TUYA Info][mqc_app.c:337] mqc app init ...
-01 18:12:15 TUYA Info][uni_thread.c:205] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5
18:12:15 TUYA Info][uni_thread.c:205] thread_create name:cmmod,stackDepth:4096,totalstackDepth:8192,priority:4
TUYA Debug][mqc_app.c:148] mq_pro:5 cnt:1
A Debug][mqc_app.c:148] mq_pro:31 cnt:2
[01-01 18:12:15 TUYA Err][log_seq.c:849] log status is empty
01-01 18:12:15 TUYA Debug][svc_online_log.c:293] svc online log init success
UYA Info][uni_thread.c:205] thread_create name:wk_th-0,stackDepth:5120,totalstackDepth:13312,priority:3
rr][tuya_ws_db.c:324] kvs_read fails gw_bi -1
TUYA Debug][ws_db_gw.c:141] gw base read finish:-18
12:15 TUYA Debug][tuya_bt_sdk.c:84] ty bt cmmod register finish 1
[tuya_ble_api.c:345] ble sdk inited
[01-01 18:12:15 TUYA Notice][tuya_os_adapt_bt.c:219] tuya_hal_bt_port_init
a
port inited
YA Notice][tuya_ble_api.c:381] ble sdk re_inited
15 TUYA Notice][tuya_bt_sdk.c:125] ty bt sdk init success finish
0.00_PT:2.2_LAN:3.3_CAD:1.0.3_CD:1.0.0 >
< BUILD AT:2021_07_28_00_28_32 BY maht FOR ty_iot_wf_bt_sdk_rtos AT w800 >
IOT DEFS < WIFI_GW:1 DEBUG:1 KV_FILE:0 SHUTDOWN_MODE:0 LITTLE_END:1 TLS_MODE:2 ENABLE_LOCAL_LINKAGE:0 ENABLE_CLOUD_OPERATION:0 ENABLE_SUBDEVICE:0 ENABLE_ENGINEER_TO_NORMAL:0 OPERATING_SYSTEM:2 ENABLE_SYS_RPC:0 TY_SECURITY_CHIP:0 RELIABLE_TRANSFER:RELIABLE_TRANSFER ENABLE_LAN_ENCRYPTION:1 ENABLE_LAN_LINKAGE:1 ENABLE_LAN_LINKAGE_MASTER:0 ENABLE_LAN_DEV:1 ENABLE_LAN_DEV_MASTER:0 >
0_light_5_rgbcw_v2 | [HW]: TW03_V2.0 | [SW]: V1.0.7 (Mar 24 2022 18:30:50) | [PID]: yqqc3anxrn4lgsyt
ce][tuya_device.c:792] free_mem_size:86016
APP: TLS_BLE_GAP_EVT_ADAPTER_ON
Starting advertising
GAP procedure initiated: advertise; _mode=2ddr_type=0 adv_filter_policy=0 adv_itvl_min=120 adv_itvl_max=120
APP: TLS_BLE_GAP_EVT_ADV_STARTED
waitFor WiFiState 4
startDriver DS1820
startDriver BMP280 PB9 PB8 9 10 11 236
startDriver AHT2X PB12 PB13 11 12
startDriver OpenWeatherMap
owm_setup 40.7128 -74.0060 d6fae53c4278ffb3fe4c17c23fc6a7c6
setChannelType 6 Temperature_div10
setChannelType 7 Humidity
setChannelType 8 Pressure_div100
owm_channels 6 7 8
owm_request
setChannel 30 0
again:
addChannel 30 1
echo Hello $CH30
delay_s 1
goto again
Info:MAIN:Time 248, idle 0/s, free 29280, MQTT 0(16), bWifi 1, secondsWithNoPing 183, socks 2/8
Info:MAIN:Time 49, idle 0/s, free 29280, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/8
TL;DR: Devs cut OpenBeken W800 firmware 44 % (966 kB → 543 kB) while chasing W806 support; “900 kB vs 90 kB seems like a huge difference” [Elektroda, p.kaczmarek2, post #21081741] Wi-Fi remains stable on old SDK but drops to –79 dBm on the new stack [Elektroda, insmod, post #21526615]
Why it matters: fitting inside 1 MB flash decides whether W806 boards can run OTA-capable builds at all.
• Flash size: W800/W801 2 MB; W806 1 MB [Elektroda, divadiow, post #21081609] • Typical full OBK image: 950-976 kB; slim image: 543 kB [Elektroda, divadiow, post #21387419] • Heap on new SDK: ~88 kB free, stack 100 kB [Elektroda, insmod, post #21526615] • Wi-Fi RSSI: –71 to –89 dBm (old SDK); often –79 dBm (new SDK) [Elektroda, max4elektroda, post #21530706] • OTA method: local HTTP server; Web-App OTA not in W800 branch [Elektroda, p.kaczmarek2, post #21081517]