I can try to take the plate off. Is it somehow soldered to the module? do you have to or are there other ways?
I can try to take the plate off. Is it somehow soldered to the module? do you have to or are there other ways?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tam
V:BK7231S_1.0.5
CPSR:000000D3
R0:E56F05AF
R1:AC3E48E8
R2:6A7FBF7C
R3:5333FCE4
R4:CB643E15
R13:ABF7DBA7
R14(LR):B8FE67F7
ST:6CF21514
J 0x10000
prvHeapInit-start addr:0x41f4a0, size:133984
[01-01 18:12:15 TUYA Info][mqc_app.c:175] mqc app init ...
[01-01 18:12:15 TUYA Info][sf_mqc_cb.c:42] register mqc app callback
[01-01 18:12:15 TUYA Debug][mqc_app.c:118] mq_pro:5 mqc_handler_cnt:1
[01-01 18:12:15 TUYA Debug][mqc_app.c:118] mq_pro:31 mqc_handler_cnt:2
[01-01 18:12:15 TUYA Debug][uni_thread.c:215] Thread:sys_timer Exec Start. Set to Running Status
[01-01 18:12:15 TUYA Debug][log_seq.c:732] read from uf. max:0 first:0 last:0
[01-01 18:12:15 TUYA Debug][svc_online_log.c:288] svc online log init success
[01-01 18:12:15 TUYA Err][tuya_ws_db.c:314] kvs_read fails gw_bi -1
[01-01 18:12:15 TUYA Err][ws_db_gw.c:111] gw base read fails -935
[01-01 18:12:15 TUYA Debug][tuya_bt_sdk.c:89] ty bt cmmod register finish 1
[01-01 18:12:15 TUYA Debug][tuya_ble_api.c:301] ble sdk inited
!!!!!!!!!!tuya_bt_port_init
[01-01 18:12:15 TUYA Debug][tuya_ble_api.c:337] ble sdk re_inited
[01-01 18:12:15 TUYA Notice][tuya_bt_sdk.c:130] ty bt sdk init success finish
[01-01 18:12:15 TUYA Debug][tuya_device.c:259] < 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 LITTL[01-01 18:12:15 TUYA Debug][tuya_device.c:260] template_demo:1.0.0
[01-01 18:12:15 TUYA Notice][tuya_device.c:261] firmware compiled at Sep 27 2021 07:47:11
[01-01 18:12:15 TUYA Notice][tuya_device.c:262] Hello, is this really working? Let's compile and check!
bk_rst:0 tuya_rst:0[01-01 18:12:15 TUYA Notice][tuya_device.c:263] system reset reason:[(null)]
[01-01 18:12:15 TUYA Debug][tuya_ws_db.c:438] init fs. Path: (null)
[01-01 18:12:15 TUYA Notice][simple_flash.c:432] key_addr: 0x1ee000 block_sz 4096
[01-01 18:12:15 TUYA Notice][simple_flash.c:500] get key:
0xcb 0x4e 0x3e 0xa4 0x0 0x30 0x9d 0xab 0x65 0x6d 0x8d 0xbf 0xe4 0xb9 0x3f 0x35
[01-01 18:12:15 TUYA Notice][tuya_main.c:311] **********[template_demo] [1.0.0] compiled at Sep 27 2021 07:47:10**********
[01-01 18:12:15 TUYA Debug][uni_thread[bk]tx_txdesc_flush
.c:215] Thread:cmmod Exec Start. Set to Running Status
[rx_iq]rx_amp_err_rd: 0x042
[rx_iq]rx_phase_err_rd: 0xfffffe01
[rx_iq]rx_ty2_rd: 0x095
*********** finally result **********
gtx_dcorMod : 0x8
gtx_dcorPA : 0xa
gtx_pre_gain : 0x0
gtx_i_dc_comp : 0x1fe
gtx_q_dc_comp : 0x20d
gtx_i_gain_comp : 0x3f4
gtx_q_gain_comp : 0x3ff
gtx_ifilter_corner over: 0x11
gtx_qfilter_corner over: 0x11
gtx_phase_comp : 0x20f
gtx_phase_ty2 : 0x200
gbias_after_cal : 0x16
gav_tssi : 0x22
g_rx_dc_gain_tab 0 over: 0x80788078
g_rx_dc_gain_tab 1 over: 0x80788078
g_rx_dc_gain_tab 2 over: 0x84788478
g_rx_dc_gain_tab 3 over: 0x94708c74
g_rx_dc_gain_tab 4 over: 0x94729472
g_rx_dc_gain_tab 5 over: 0x92709272
g_rx_dc_gain_tab 6 over: 0x93709270
g_rx_dc_gain_tab 7 over: 0x94719371
grx_amp_err_wr : 0x226
grx_phase_err_wr : 0x2dc
**************************************
ble use fit!
temp in flash is:250
lpf_i & q in flash is:17, 17
xtal in flash is:21
-----pwr_gain:12, g_idx:12, shift_b:0, shift_g:0
-----[pwr_gain]12
Initializing TCP/IP stack
[01-01 18:12:15 TUYA Notice][tuya_main.c:337] have actived over 15 min, not enter mf_init
[01-01 18:12:15 TUYA Notice][tuya_main.c:341] mf_init succ
[01-01 18:12:15 TUYA Debug][tuya_main.c:347] gwcm_mode 3
Starting bl602 now....
Booting BL602 Chip...
██████╗ ██╗ ██████╗ █████╗ ∈█████╗
██╔══██╗██║ ██╔════╝ ██╔═████╗╚════██╗
██████╔╝██║ ███████╗ ██║██╔██║ █████╔╝
██╔══██╗██║ ██╔═══██╗████╔╝██║██╔═══╝
██████╔╝███████╗╚██████╔╝╚██████╔╝███████╗
╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚══════╝
-----------------------------------------------------------
RISC-V Core Feature:RV32-ACFIMX
Build Version: release_bl_iot_sdk_1.5.12-5-g6a078b47-dirty
PHY Version: a0_final-12-ge8d1d24
RF Version: 89d5eb1
Build Date: Oct 24 2020
Build Time: 10:50:50
------------------------------------------------------------
Heap 111102@0x42024602, 3632@0x420491d0
blog init set power on level 2, 2, 2.
[IRQ] Clearing and Disable all the pending IRQ...
[ 0][[32mINFO [0m: bl_sec.c: 88] Feed random number is 00000000
[ 0][[32mINFO [0m: bl_sec.c: 88] Feed random number is 00000000
------------------TRNG TEST---------------------------------
**********TRNG TEST rand[34d073ef]**************
**********TRNG TEST rand[3e9c8f42]**************
------------------------------------------------------------
[ 0][[32mINFO [0m: hal_boot2.c: 276] [HAL] [BOOT2] Active Partition[0] consumed 596 Bytes
======= PtTable_Config @0x4200df90=======
magicCode 0x54504642; version 0x0000; entryCnt 7; age 0; crc32 0x12DF9A26
idx type device activeIndex name Address[0] Address[1] Length[0] Length[1] age
[00] 00 0 0 FW 0x00010000 0x000d8000 0x000c8000 0x000b7000 0
[01] 01 0 0 mfg 0x00180000 0x00000000 0x00010000 0x00000000 0
[02] 02 0 0 media 0x00190000 0x00000000 0x00001000 0x00000000 0
[03] 03 0 0 PSM 0x001e9000 0x00000000 0x00008000 0x00000000 0
[04] 04 0 0 KEY 0x001f1000 0x00000000 0x00002000 0x00000000 0
[05] 05 0 0 DATA 0x001f3000 0x00000000 0x00005000 0x00000000 0
[06] 06 0 0 factory 0x001f8000 0x00000000 0x00008000 0x00000000 0
[ 0][[32mINFO [0m: bl_flash.c: 96] ======= FlashCfg magiccode @0x42049c18, code 0x47464346 =======
[ 0][[32mINFO [0m: bl_flash.c: 97] mid 0xEF
[ 0][[32mINFO [0m: bl_flash.c: 98] clkDelay 0x1
[ 0][[32mINFO [0m: bl_flash.c: 99] clkInvert 0x1
[ 0][[32mINFO [0m: bl_flash.c: 100] sector size 4KBytes
[ 0][[32mINFO [0m: bl_flash.c: 101] page size 256Bytes
[ 0][[32mINFO [0m: bl_flash.c: 102] ---------------------------------------------------------------
[ 0][[32mINFO [0m: hal_board.c: 755] [MAIN] [BOARD] [FLASH] addr from partition is 001f8000, ret is 0
[ 0][[32mINFO [0m: hal_board.c: 763] [MAIN] [BOARD] [XIP] addr from partition is 231e7000, ret is 0
[ 0][[32mINFO [0m: hal_board.c: 315] xtal_mode length 2
[ 0][[32mINFO [0m: hal_board.c: 319] xtal_mode is MF
[ 0][[32mINFO [0m: hal_board.c: 243] xtal dtb in DEC :36 36 0 60 60
[ 0][[32mINFO [0m: hal_board.c: 486] channel_div_table :
[bl] goto 0x10101===============================================
SP1-C Jan 4 2021 19:46:51
Foneric IoT WLAN SDK 1.3.1
Available commands:
> echo
> net
> heap
> thread
> reboot
> ota
> efpg
> netcmd
> etf
> sysinfo
> homekit
> rp
> wacreset
> pdata
> factoryreset
> upgrade
> rtc
> flash
> testmode
> print
> module
> model
> firmware
> bct
> helpp.kaczmarek2 wrote:It's hard without the SDK... and what do these commands show? Anyone have their results?
p.kaczmarek2 wrote:
p.kaczmarek2 wrote:
Our team has resolved this issue already. If anything else bad happens, please report.
p.kaczmarek2 wrote:
PS: "startDriver SSDP" , I recommend putting that in startup. Devices will show up in Network Devices then.
JohnnyTax wrote:I don't know if I need to remap channels...
JohnnyTax wrote:I'm a total beginner and I don't know how to solder. Anyway, I destroyed one of my bulb to see the PCB and chip but I'm lost. The only thing I'm sure is that it's a BK7231N module and that it use C2BL
p.kaczmarek2 wrote:@ferguson88 I didn't know about LSPA on the W600 beforehand. This is useful information. BL0937 is not compiled there. I can add them to the build and try to run them, can you help with testing if needed?
I'll try to fix the things you mentioned. I need to find where my W600 dev board is...
I will also ask @iprak what time he has.
TL;DR: 100 % flash-success reported on BK7231 T/N modules [Elektroda, p.kaczmarek2, post #19906676]; “OpenBK7231T now boots on three chip families” [Elektroda, p.kaczmarek2, post #19883071] Use QIO image for BK7231N, UA for BK7231T; erase only 0×11000-0×1EF000. Why it matters: a single workflow now replaces vendor firmware on 60 + low-cost IoT boards.
• Supported MCUs: BK7231T, BK7231N, XR809 (Wi-Fi + BLE) [Elektroda, 19883071] • Recommended UART speed: 921 600 bps for write, 115 200 bps for read [Elektroda, 19857664] • Flash sizes: Typical 2 MB on-chip; config area starts @ 0×1EF000 [Elektroda, post #19893493] • OTA format: .rbl (gzip + AES, served by HTTP) [Elektroda, btsimonh, post #19880525] • Typical power: 5 V @ 500 mA to AMS1117 input for safe programming [Elektroda, ExploWare, post #19853546]
python bk7231tools.py read_flash -d COMx --no-verify-checksum -s 0 -c 512 dump.bin for T/N chips (2 MB, 512 × 4 KB) [GitHub bk7231tools].http-here --host 0.0.0.0 8000). In WebApp → OTA tab → enter http://<IP>:8000/firmware.rbl; device backs up filesystem, flashes, restores settings [Elektroda, btsimonh, post #19880525]OpenBK7231T, then OpenBK7231T_App into /apps. Build: ./build_app.sh apps/OpenBK7231T_App OpenBK7231T_App git (Linux) or Cygwin on Windows; ensure build-essential and gcc-arm-none-eabi installed [Elektroda, boozeman, post #19885620]