Hi, I managed to connect 2RX and 2TX and got serial output to debug my plug, here are some lines I found relevant:
V:BK7231S_1.0.5
CPSR:000000D3
...
prvHeapInit-start addr:0x420030, size:131024
...
[01-01 18:12:15 TUYA Notice][tuya_bt_sdk.c:130] ty bt sdk init success finish
[01-01 18:12:15 TUYA Notice][tuya_device.c:355] < TUYA IOT SDK V:1.0.2 BS:40.00_PT:2.2_LAN:3.3_CAD:1.0.2_CD:1.0.0 >
< BUILD AT:2020_09_25_17_24_52 BY embed FOR ty_iot_wf_bt_sdk_bk AT bk7231t >
IOT DEFS < WIFI_GW:1 DEBUG:1 KV_FILE:0 SHUTDOWN_MODE:0 LITT[01-01 18:12:15 TUYA Notice][tuya_device.c:356] oem_bk7231s_dltj:1.3.5
[01-01 18:12:15 TUYA Notice][tuya_device.c:357] firmware compiled at Dec 25 2020 10:09:14
bk_rst:0 tuya_rst:0[01-01 18:12:15 TUYA Notice][tuya_device.c:360] REST INFORMATION IS 0
...
[01-01 18:12:15 TUYA Notice][device_config_load.c:479] ,module: is WB2S
...
[01-01 18:12:15 TUYA Notice][tuya_main.c:311] **********[oem_bk7231s_dltj] [1.3.5] compiled at Dec 25 2020 10:09:10**********
I tested:
- Wire UART adapter 1 to 1RX, 1TX, GND
- Wire UART adapter 2 to 2RX, 2TX and it's GND to CEN
- Launch putty on adapter 1 and beken writer on adapter 2
- Click "Read flash" on beken writer, in 2 seconds plug VCC, and in another 2 seconds, unplug CEN from GND
- Serial output shows on putty, but seems just normal boot and beken writer failed
See picture:
I have the pending suggestion from previous posts to desolder VCC from mainboard, since logs show fine on debug output, do I need it anyway? Or if it was the case it has just to restart or have the debugguing output not working?
I clicked beken writer read flash with the plug on "idle" watching serial output, nothing happens just as it should be unwired (it's perfectly wired).
Any ideas on how to continue?