logo elektroda
logo elektroda
X
logo elektroda

Tasmota replacement for BL602, programming, pairing with Home Assistant, now with OTA working!

p.kaczmarek2 121044 486
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #391 20969494
    anthonythomas
    Level 9  
    Managed to flash a Magic Home 1 channel LED controller quite easily.

    Contains the LF686 chip. Flashed as BL602.

    Pin 20 is the output pin for controlling the output.

    Integrated easily with Home Assistant much like OpenBK on many other devices I have.

    Single-channel Magic Home LED controller with LF686 chip on a green circuit board. Close-up of an electronic board with LF686C20 chip and connected wires. Close-up of a circuit board with wires connected for programming a Magic Home LED controller.
  • ADVERTISEMENT
  • #392 20973684
    divadiow
    Level 34  
    >>20371930

    @mjleonard @p.kaczmarek2 did you ever find a solution for "bl_romfs.c: 146] romfs magic is NOT correct"?

    I've a SM-028_V1.3 from a 16a mini DIY breaker that's flashing fine in DevCube 1.8.8/9 (old 1.4.8 JEDEC ID error - doesn't recognise newer flash inside BL602?)

    This is my boot log. It loops. I am using an external XL4015 PSU set at 1A max and 3.45V. I've also soldered it back into original device but no AP.

    boot log (this is trying older OpenBLbuild. same with latest)

    [15:45:24.787] - Starting bl602 now....
    Booting BL602 Chip...
    ██████╗ ██╗
    [15:45:24.788] -  ██████╗  ██████╗ ██████╗
    ██╔══██╗██║     ██╔════╝ ██╔═████╗╚════██╗
    ██████╔╝██║     ███████╗ ██║██╔██║ █████╔╝
    ██╔══██╗██║     ██╔═══██╗████╔╝██║██╔═══╝
    ██████╔╝███████╗╚██████╔╝╚██████╔╝███████╗
    ╚═════╝ ╚══════╝ ╚═════╝  ╚═════╝ ╚══════╝
    ------------------------------------------------------------
    RISC-V Core Feature:RV32-ACFIMX
    Build Version:      release_bl_iot_sdk_1.6.22-22-g1d4ff804-dirty
    Std Driver Version: 541807d
    PHY   Version:      a0_final-73-g62481a0
    RF    Version:      79cc6b9
    Build Date:         May  5 2023
    Build Time:         10:12:59
    Boot Reason:        BL_RST_POWER_OFF
    ------------------------------------------------------------
    Heap 121248@0x42024660, 5888@0x4204a900
    Boot2 consumed 10ms
    blog init set power on level 2, 2, 2.
    [IRQ] Clearing and Disable all the pending IRQ...
    ------------------TRNG TEST---------------------------------
    **********TRNG TEST rand[7b552a99]**************
    **********TRNG TEST rand[6a7bc5bc]**************
    ------------------------------------------------------------
    [         0][INFO  : hal_boot2.c: 285] [HAL] [BOOT2] Active Partition[0] consumed 596 Bytes
    [         0][INFO  : hal_boot2.c:  82] ======= PtTable_Config @0x4200ebfc=======
    [         0][INFO  : hal_boot2.c:  83] magicCode 0x54504642; version 0x0000; entryCnt 7; age 0; crc32 0x12DF9A26
    [         0][INFO  : hal_boot2.c:  89] idx  type device activeIndex     name   Address[0]  Address[1]  Length[0]   Length[1]   age
    [         0][INFO  : hal_boot2.c:  91] [00]  00     0         0            FW  0x00010000  0x000e8000  0x000d8000  0x00088000  0
    [         0][INFO  : hal_boot2.c:  91] [01]  02     0         0           mfg  0x00170000  0x00000000  0x00032000  0x00000000  0
    [         0][INFO  : hal_boot2.c:  91] [02]  03     0         0         media  0x001a2000  0x00000000  0x00047000  0x00000000  0
    [         0][INFO  : hal_boot2.c:  91] [03]  04     0         0           PSM  0x001e9000  0x00000000  0x00008000  0x00000000  0
    [         0][INFO  : hal_boot2.c:  91] [04]  05     0         0           KEY  0x001f1000  0x00000000  0x00002000  0x00000000  0
    [         0][INFO  : hal_boot2.c:  91] [05]  06     0         0          DATA  0x001f3000  0x00000000  0x00005000  0x00000000  0
    [         0][INFO  : hal_boot2.c:  91] [06]  07     0         0       factory  0x001f8000  0x00000000  0x00007000  0x00000000  0
    [         0][INFO  : bl_flash.c:  96] ======= FlashCfg magiccode @0x42049c18, code 0x47464346 =======
    [         0][INFO  : bl_flash.c:  97] mid 		0xEF
    [         0][INFO  : bl_flash.c:  98] clkDelay 	0x1
    [         0][INFO  : bl_flash.c:  99] clkInvert 	0x1
    [         0][INFO  : bl_flash.c: 100] sector size	4KBytes
    [         0][INFO  : bl_flash.c: 101] page size	256Bytes
    [         0][INFO  : bl_flash.c: 102] ---------------------------------------------------------------
    [         0][INFO  : hal_board.c:1249] [MAIN] [BOARD] [FLASH] addr from partition is 001f8000, ret is 0
    [         0][INFO  : hal_board.c:1257] [MAIN] [BOARD] [XIP] addr from partition is 231e7000, ret is 0
    [         0][INFO  : hal_board.c: 208] MAC address mode length 3
    [         0][INFO  : hal_board.c: 212] MAC address mode is MBF
    [         0][INFO  : hal_board.c: 194] Set MAC addrress AC:D8:2
    [15:45:24.822] - 9:0B:04:97
    [         0][INFO  : hal_board.c: 955] country_code : 86
    [         0][INFO  : hal_board.c: 342] xtal_mode is MF
    [         0][INFO  : hal_board.c: 363] get xtal from F ready 36 36 0 60 60
    [         0][INFO  : hal_board.c: 851] pwr_ta
    [15:45:24.828] - ble_11b :20 20 20 18
    [         0][INFO  : hal_board.c: 869] pwr_table_11g :18 18 18 18 18 18 14 14
    [         0][INFO  : hal_board.c: 887] pwr_table_11n :18 18 18 18 18 16 14 14
    [         0][BUF: hal_board.c: 606]  10  10  10  10  10  10  10  10  10  10  10  10  10  10
    [         0][INFO  : hal_board.c: 902] set pwr_table_ble = 13 in dts
    [         0][INFO  : hal_board.c: 687] ap_ssid string[0] = bl_test_005, ap_ssid_len = 11
    [         0][INFO  : hal_board.c: 698] ap_psk string[0] = 12345678, ap_psk_len = 8
    [         0][INFO  : hal_board.c: 707] ap_channel = 11
    [         0][INFO  : hal_board.c: 635] [STA] ap_ssid string[0] = yourssid, ap_ssid_len = 8
    [         0][INFO  : hal_board.c: 646] [STA] ap_psk string[0] = yourapssword, ap_psk_len = 12
    [         0][INFO  : hal_board.c: 654] auto_connect_enable = 0
    [         0][INFO  : hal_board.c: 749] Troom_os = -1, lentmp = 4
    [         0][INFO  : hal_board.c: 758] linear_or_follow = 1, lentmp = 4
    [         0][INFO  : hal_board.c: 767] Tchannels:2412,2427,2442,2457,2472,
    [         0][INFO  : hal_board.c: 781] Tchannel_os:180,168,163,160,157,
    [         0][INFO  : hal_board.c: 795] Tchannel_os_low:199,186,170,165,160,
    [         0][INFO  : hal_board.c: 808] en_tcal = 0, lentmp = 4
    sizeof(StackType_t)=4
    [OS] Starting aos_loop_proc task...
    [OS] Starting TCP/IP Stack...
    -------------------->>>>>>>> LWIP tcp_port 50581
    [OS] Starting OS Scheduler...
    [BL] [SEC] TRNG Handler
    === 32 task inited
    ====== bloop dump ======
    bitmap_evt 0
    bitmap_msg 0
    --->>> timer list:
    32 task:
    task[31] : SYS [built-in]
    evt handler 0x2306cfec, msg handler 0x2306cfbc, trigged cnt 0, bitmap async 0 sync 0, time consumed 0us acc 0ms, max 0us
    task[30] : empty
    task[29] : empty
    task[28] : empty
    task[27] : empty
    task[26] : empty
    task[25] : empty
    task[24] : empty
    task[23] : empty
    task[22] : empty
    task[21] : empty
    task[20] : empty
    task[19] : empty
    task[18] : empty
    task[17] : empty
    task[16] : empty
    task[15] : empty
    task[14] : empty
    task[13] : empty
    task[12] : empty
    task[11] : empty
    task[10] : empty
    task[09] : empty
    task[08] : empty
    task[07] : empty
    task[06] : empty
    task[05] : empty
    task[04] : empty
    task[03] : empty
    task[02] : empty
    task[01] : empty
    task[00] : empty
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name PSM
    id 0
    offset 0x001e9000(2002944)
    size 0x00008000(32Kbytes)
    xip_addr 0x231d8000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [EF] Found Valid PSM partition, XIP Addr 231d8000, flash addr 001e9000
    *default_env_size = 0x00000001
    ENV start address is 0x00000000, size is 32768 bytes.
    [15:45:24.860] - EasyFlash V4.0.99 is initialize success.
    You can get the latest version on https://github.com/armink/EasyFlash .
    [        28][INFO  : hal_uart.c: 364] uart[0] rx_buf_size 512, tx_buf_size 512
    [        30][INFO  : hal_uart.c: 379] uart[0] cts status = disable lentmp = 7
    [        30][INFO  : hal_uart.c: 379] uart[0] rts status = disable lentmp = 7
    [        31][INFO  : hal_uart.c: 402] id = 0, tx = 16, rx = 7, cts = 255, rts = 255 baudrate = 2000000.
    [        32][INFO  : hal_uart.c: 410] bl_uart_init 0 ok.
    [        32][INFO  : hal_uart.c: 411] bl_uart_init 0 baudrate = 2000000 ok.
    [        33][INFO  : hal_uart.c: 364] uart[1] rx_buf_size 512, tx_buf_size 512
    [        35][INFO  : hal_uart.c: 379] uart[1] cts status = disable lentmp = 7
    [        36][INFO  : hal_uart.c: 379] uart[1] rts status = disable lentmp = 7
    [        36][INFO  : hal_uart.c: 402] id = 1, tx = 4, rx = 3, cts = 255, rts = 255 baudrate = 115200.
    [        36][INFO  : hal_uart.c: 410] bl_uart_init 1 ok.
    [        37][INFO  : hal_uart.c: 411] bl_uart_init 1 baudrate = 115200 ok.
    [        38][INFO  : hal_gpio.c: 202] [HAL] [GPIO] Max num is 40
    [        38][INFO  : hal_gpio.c: 177] New CONF: GPIO05: feature 0, active 1, mode 0, time 100
    [        39][INFO  : loopset_led.c:  75] [LED] New Trigger: PIN 5, active level Lo, type Blink
    [        40][INFO  : hal_gpio.c: 115] [gpio1] status = disable
    [        40][ERROR : hal_gpio.c: 216] gpio1: unvalid GPIO config
    [        41][ERROR : hal_gpio.c: 130] gpio2: unvalid GPIO config button
    [        41][ERROR : hal_gpio.c: 216] gpio2: unvalid GPIO config
    [        42][INFO  : hal_gpio.c: 106] gpio3 NOT found
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name media
    id 0
    offset 0x001a2000(1712128)
    size 0x00047000(284Kbytes)
    xip_addr 0x23191000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [        43][ERROR : bl_romfs.c: 146] romfs magic is NOT correct
    Start Wi-Fi fw @89ms
    [15:45:25.220] - e 0x47464346 =======
    [         0][INFO  : bl_flash.c:  97] mid 		0xEF
    [         0][INFO  : bl_flash.c:  98] clkDelay 	0x1
    [         0][INFO  : bl_flash.c:  99] clkInvert 	0x1
    [         0][INFO  : bl_flash.c: 100] sector size	4KBytes
    [         0][INFO  : bl_flash.c: 101] page size	256Bytes
    [         0][INFO  : bl_flash.c: 102] ---------------------------------------------------------------
    [         0][INFO  : hal_board.c:1249] [MAIN] [BOARD] [FLASH] addr from partition is 001f8000, ret is 0
    [         0][INFO  : hal_board.c:1257] [MAIN] [BOARD] [XIP] addr from partition is 231e7000, ret is 0
    [         0][INFO  : hal_board.c: 208] MAC address mode length 3
    [         0][INFO  : hal_board.c: 212] MAC address mode is MBF
    [         0][INFO  : hal_board.c: 194] Set MAC addrress AC:D8:2
    [15:45:25.252] - 9
    [15:45:25.253] - :0B:04:97
    [         0][INFO  : hal_board.c: 955] country_code : 86
    [         0][INFO  : hal_board.c: 342] xtal_mode is MF
    [         0][INFO  : hal_board.c: 363] get xtal from F ready 36 36 0 60 60
    [         0][INFO  : hal_board.c: 851] pwr_table_11b :20 20 20 18
    [         0][INFO  : hal_board.c: 869] pwr_table_11g :18 18 18 18 18 18 14 14
    [         0][INFO  : hal_board.c: 887] pwr_table_11n :18 18 18 18 18 16 14 14
    [         0][BUF: hal_board.c: 606]  10  10  10  10  10  10  10  10  10  10  10  10  10  10
    [         0][INFO  : hal_board.c: 902] set pwr_table_ble = 13 in dts
    [         0][INFO  : hal_board.c: 687] ap_ssid string[0] = bl_test_005, ap_ssid_len = 11
    [         0][INFO  : hal_board.c: 698] ap_psk string[0] = 12345678, ap_psk_len = 8
    [         0][INFO  : hal_board.c: 707] ap_channel = 11
    [         0][INFO  : hal_board.c: 635] [STA] ap_ssid string[0] = yourssid, ap_ssid_len = 8
    [         0][INFO  : hal_board.c: 646] [STA] ap_psk string[0] = yourapssword, ap_psk_len = 12
    [         0][INFO  : hal_board.c: 654] auto_connect_enable = 0
    [         0][INFO  : hal_board.c: 749] Troom_os = -1, lentmp = 4
    [         0][INFO  : hal_board.c: 758] linear_or_follow = 1, lentmp = 4
    [         0][INFO  : hal_board.c: 767] Tchannels:2412,2427,2442,2457,2472,
    [         0][INFO  : hal_board.c: 781] Tchannel_os:180,168,163,160,157,
    [         0][INFO  : hal_board.c: 795] Tchannel_os_low:199,186,170,165,160,
    [         0][INFO  : hal_board.c: 808] en_tcal = 0, lentmp = 4
    sizeof(StackType_t)=4
    [OS] Starting aos_loop_proc task...
    [OS] Starting TCP/IP Stack...
    -------------------->>>>>>>> LWIP tcp_port 58803
    [OS] Starting OS Scheduler...
    [BL] [SEC] TRNG Handler
    === 32 task inited
    ====== bloop dump ======
    bitmap_evt 0
    bitmap_msg 0
    --->>> timer list:
    32 task:
    task[31] : SYS [built-in]
    evt handler 0x2306cfec, msg handler 0x2306cfbc, trigged cnt 0, bitmap async 0 sync 0, time consumed 0us acc 0ms, max 0us
    task[30] : empty
    task[29] : empty
    task[28] : empty
    task[27] : empty
    task[26] : empty
    task[25] : empty
    task[24] : empty
    task[23] : empty
    task[22] : empty
    task[21] : empty
    task[20] : empty
    task[19] : empty
    task[18] : empty
    task[17] : empty
    task[16] : empty
    task[15] : empty
    task[14] : empty
    task[13] : empty
    task[12] : empty
    task[11] : empty
    task[10] : empty
    task[09] : empty
    task[08] : empty
    task[07] : empty
    task[06] : empty
    task[05] : empty
    task[04] : empty
    task[03] : empty
    task[02] : empty
    task[01] : empty
    task[00] : empty
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name PSM
    id 0
    offset 0x001e9000(2002944)
    size 0x00008000(32Kbytes)
    xip_addr 0x231d8000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [EF] Found Valid PSM partition, XIP Addr 231d8000, flash addr 001e9000
    *default_env_size = 0x00000001
    ENV start address is 0x00000000, size is 32768 bytes.
    [15:45:25.294] - EasyFlash V4.0.99 is initialize success.
    You can get the latest version on https://github.com/armink/EasyFlash .
    [        28][INFO  : hal_uart.c: 364] uart[0] rx_buf_size 512, tx_buf_size 512
    [        30][INFO  : hal_uart.c: 379] uart[0] cts status = disable lentmp = 7
    [        30][INFO  : hal_uart.c: 379] uart[0] rts status = disable lentmp = 7
    [        31][INFO  : hal_uart.c: 402] id = 0, tx = 16, rx = 7, cts = 255, rts = 255 baudrate = 2000000.
    [        32][INFO  : hal_uart.c: 410] bl_uart_init 0 ok.
    [        32][INFO  : hal_uart.c: 411] bl_uart_init 0 baudrate = 2000000 ok.
    [        33][INFO  : hal_uart.c: 364] uart[1] rx_buf_size 512, tx_buf_size 512
    [        35][INFO  : hal_uart.c: 379] uart[1] cts status = disable lentmp = 7
    [        36][INFO  : hal_uart.c: 379] uart[1] rts status = disable lentmp = 7
    [        36][INFO  : hal_uart.c: 402] id = 1, tx = 4, rx = 3, cts = 255, rts = 255 baudrate = 115200.
    [        36][INFO  : hal_uart.c: 410] bl_uart_init 1 ok.
    [        37][INFO  : hal_uart.c: 411] bl_uart_init 1 baudrate = 115200 ok.
    [        38][INFO  : hal_gpio.c: 202] [HAL] [GPIO] Max num is 40
    [        38][INFO  : hal_gpio.c: 177] New CONF: GPIO05: feature 0, active 1, mode 0, time 100
    [        39][INFO  : loopset_led.c:  75] [LED] New Trigger: PIN 5, active level Lo, type Blink
    [        40][INFO  : hal_gpio.c: 115] [gpio1] status = disable
    [        40][ERROR : hal_gpio.c: 216] gpio1: unvalid GPIO config
    [        41][ERROR : hal_gpio.c: 130] gpio2: unvalid GPIO config button
    [        41][ERROR : hal_gpio.c: 216] gpio2: unvalid GPIO config
    [        42][INFO  : hal_gpio.c: 106] gpio3 NOT found
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name media
    id 0
    offset 0x001a2000(1712128)
    size 0x00047000(284Kbytes)
    xip_addr 0x23191000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [        43][ERROR : bl_romfs.c: 146] romfs magic is NOT correct
    Start Wi-Fi fw @89ms
    [15:45:25.653] - FO  : hal_board.c: 194] Set MAC addrress AC:D8:2
    [15:45:25.687] - 9:0B:04:97
    [         0][INFO  : hal_board.c: 955] country_code
    [15:45:25.688] -  : 86
    [         0][INFO  : hal_board.c: 342] xtal_mode is MF
    [         0][INFO  : hal_board.c: 363] get xtal from F ready 36 36 0 60 60
    [         0][INFO  : hal_board.c: 851] pwr_table_11b :20 20 20 18
    [         0][INFO  : hal_board.c: 869] pwr_table_11g :18 18 18 18 18 18 14 14
    [         0][INFO  : hal_board.c: 887] pwr_table_11n :18 18 18 18 18 16 14 14
    [         0][BUF: hal_board.c: 606]  10  10  10  10  10  10  10  10  10  10  10  10  10  10
    [         0][INFO  : hal_board.c: 902] set pwr_table_ble = 13 in dts
    [         0][INFO  : hal_board.c: 687] ap_ssid string[0] = bl_test_005, ap_ssid_len = 11
    [         0][INFO  : hal_board.c: 698] ap_psk string[0] = 12345678, ap_psk_len = 8
    [         0][INFO  : hal_board.c: 707] ap_channel = 11
    [         0][INFO  : hal_board.c: 635] [STA] ap_ssid string[0] = yourssid, ap_ssid_len = 8
    [         0][INFO  : hal_board.c: 646] [STA] ap_psk string[0] = yourapssword, ap_psk_len = 12
    [         0][INFO  : hal_board.c: 654] auto_connect_enable = 0
    [         0][INFO  : hal_board.c: 749] Troom_os = -1, lentmp = 4
    [         0][INFO  : hal_board.c: 758] linear_or_follow = 1, lentmp = 4
    [         0][INFO  : hal_board.c: 767] Tchannels:2412,2427,2442,2457,2472,
    [         0][INFO  : hal_board.c: 781] Tchannel_os:180,168,163,160,157,
    [         0][INFO  : hal_board.c: 795] Tchannel_os_low:199,186,170,165,160,
    [         0][INFO  : hal_board.c: 808] en_tcal = 0, lentmp = 4
    sizeof(StackType_t)=4
    [OS] Starting aos_loop_proc task...
    [OS] Starting TCP/IP Stack...
    -------------------->>>>>>>> LWIP tcp_port 63032
    [OS] Starting OS Scheduler...
    [BL] [SEC] TRNG Handler
    === 32 task inited
    ====== bloop dump ======
    bitmap_evt 0
    bitmap_msg 0
    --->>> timer list:
    32 task:
    task[31] : SYS [built-in]
    evt handler 0x2306cfec, msg handler 0x2306cfbc, trigged cnt 0, bitmap async 0 sync 0, time consumed 0us acc 0ms, max 0us
    task[30] : empty
    task[29] : empty
    task[28] : empty
    task[27] : empty
    task[26] : empty
    task[25] : empty
    task[24] : empty
    task[23] : empty
    task[22] : empty
    task[21] : empty
    task[20] : empty
    task[19] : empty
    task[18] : empty
    task[17] : empty
    task[16] : empty
    task[15] : empty
    task[14] : empty
    task[13] : empty
    task[12] : empty
    task[11] : empty
    task[10] : empty
    task[09] : empty
    task[08] : empty
    task[07] : empty
    task[06] : empty
    task[05] : empty
    task[04] : empty
    task[03] : empty
    task[02] : empty
    task[01] : empty
    task[00] : empty
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name PSM
    id 0
    offset 0x001e9000(2002944)
    size 0x00008000(32Kbytes)
    xip_addr 0x231d8000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [EF] Found Valid PSM partition, XIP Addr 231d8000, flash addr 001e9000
    *default_env_size = 0x00000001
    ENV start address is 0x00000000, size is 32768 bytes.
    [15:45:25.725] - EasyFlash V4.0.99 is initialize success.
    You can get the latest version on https://github.com/armink/EasyFlash .
    [        28][INFO  : hal_uart.c: 364] uart[0] rx_buf_size 512, tx_buf_size 512
    [        30][INFO  : hal_uart.c: 379] uart[0] cts status = disable lentmp = 7
    [        30][INFO  : hal_uart.c: 379] uart[0] rts status = disable lentmp = 7
    [        31][INFO  : hal_uart.c: 402] id = 0, tx = 16, rx = 7, cts = 255, rts = 255 baudrate = 2000000.
    [        32][INFO  : hal_uart.c: 410] bl_uart_init 0 ok.
    [        32][INFO  : hal_uart.c: 411] bl_uart_init 0 baudrate = 2000000 ok.
    [        33][INFO  : hal_uart.c: 364] uart[1] rx_buf_size 512, tx_buf_size 512
    [        35][INFO  : hal_uart.c: 379] uart[1] cts status = disable lentmp = 7
    [        36][INFO  : hal_uart.c: 379] uart[1] rts status = disable lentmp = 7
    [        36][INFO  : hal_uart.c: 402] id = 1, tx = 4, rx = 3, cts = 255, rts = 255 baudrate = 115200.
    [        36][INFO  : hal_uart.c: 410] bl_uart_init 1 ok.
    [        37][INFO  : hal_uart.c: 411] bl_uart_init 1 baudrate = 115200 ok.
    [        38][INFO  : hal_gpio.c: 202] [HAL] [GPIO] Max num is 40
    [        38][INFO  : hal_gpio.c: 177] New CONF: GPIO05: feature 0, active 1, mode 0, time 100
    [        39][INFO  : loopset_led.c:  75] [LED] New Trigger: PIN 5, active level Lo, type Blink
    [        40][INFO  : hal_gpio.c: 115] [gpio1] status = disable
    [        40][ERROR : hal_gpio.c: 216] gpio1: unvalid GPIO config
    [        41][ERROR : hal_gpio.c: 130] gpio2: unvalid GPIO config button
    [        41][ERROR : hal_gpio.c: 216] gpio2: unvalid GPIO config
    [        42][INFO  : hal_gpio.c: 106] gpio3 NOT found
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name media
    id 0
    offset 0x001a2000(1712128)
    size 0x00047000(284Kbytes)
    xip_addr 0x23191000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [        43][ERROR : bl_romfs.c: 146] romfs magic is NOT correct
    Start Wi-Fi fw @89ms
    [15:45:26.087] - -------
    [         0][INFO  : hal_board.c:1249] [MAIN] [BOARD] [FLASH] addr from partition is 001f8000, ret is 0
    [         0][INFO  : hal_board.c:1257] [MAIN] [BOARD] [XIP] addr from partition is 231e7000, ret is 0
    [         0][INFO  : hal_board.c: 208] MAC address mode length 3
    [         0][INFO  : hal_board.c: 212] MAC address mode is MBF
    [         0][INFO  : hal_board.c: 194] Set MAC addrress AC:D8:2
    [15:45:26.120] - 9:0B:04:97
    [         0][INFO  : hal_board.c: 955] country_code : 86
    [         0][INFO  : hal_board.c: 342] xtal_mode is MF
    [         0][INFO  : hal_board.c: 363] get xtal from F ready 36 36 0 60 60
    [         0][INFO  : hal_board.c: 851] pwr_table_11b :20 20 20 18
    [
    [15:45:26.122] -        0][INFO  : hal_board.c: 869] pwr_table_11g :18 18 18 18 18 18 14 14
    [         0][INFO  : hal_board.c: 887] pwr_table_11n :18 18 18 18 18 16 14 14
    [         0][BUF: hal_board.c: 606]  10  10  10  10  10  10  10  10  10  10  10  10  10  10
    [         0][INFO  : hal_board.c: 902] set pwr_table_ble = 13 in dts
    [         0][INFO  : hal_board.c: 687] ap_ssid string[0] = bl_test_005, ap_ssid_len = 11
    [         0][INFO  : hal_board.c: 698] ap_psk string[0] = 12345678, ap_psk_len = 8
    [         0][INFO  : hal_board.c: 707] ap_channel = 11
    [         0][INFO  : hal_board.c: 635] [STA] ap_ssid string[0] = yourssid, ap_ssid_len = 8
    [         0][INFO  : hal_board.c: 646] [STA] ap_psk string[0] = yourapssword, ap_psk_len = 12
    [         0][INFO  : hal_board.c: 654] auto_connect_enable = 0
    [         0][INFO  : hal_board.c: 749] Troom_os = -1, lentmp = 4
    [         0][INFO  : hal_board.c: 758] linear_or_follow = 1, lentmp = 4
    [         0][INFO  : hal_board.c: 767] Tchannels:2412,2427,2442,2457,2472,
    [         0][INFO  : hal_board.c: 781] Tchannel_os:180,168,163,160,157,
    [         0][INFO  : hal_board.c: 795] Tchannel_os_low:199,186,170,165,160,
    [         0][INFO  : hal_board.c: 808] en_tcal = 0, lentmp = 4
    sizeof(StackType_t)=4
    [OS] Starting aos_loop_proc task...
    [OS] Starting TCP/IP Stack...
    -------------------->>>>>>>> LWIP tcp_port 54785
    [OS] Starting OS Scheduler...
    [BL] [SEC] TRNG Handler
    === 32 task inited
    ====== bloop dump ======
    bitmap_evt 0
    bitmap_msg 0
    --->>> timer list:
    32 task:
    task[31] : SYS [built-in]
    evt handler 0x2306cfec, msg handler 0x2306cfbc, trigged cnt 0, bitmap async 0 sync 0, time consumed 0us acc 0ms, max 0us
    task[30] : empty
    task[29] : empty
    task[28] : empty
    task[27] : empty
    task[26] : empty
    task[25] : empty
    task[24] : empty
    task[23] : empty
    task[22] : empty
    task[21] : empty
    task[20] : empty
    task[19] : empty
    task[18] : empty
    task[17] : empty
    task[16] : empty
    task[15] : empty
    task[14] : empty
    task[13] : empty
    task[12] : empty
    task[11] : empty
    task[10] : empty
    task[09] : empty
    task[08] : empty
    task[07] : empty
    task[06] : empty
    task[05] : empty
    task[04] : empty
    task[03] : empty
    task[02] : empty
    task[01] : empty
    task[00] : empty
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name PSM
    id 0
    offset 0x001e9000(2002944)
    size 0x00008000(32Kbytes)
    xip_addr 0x231d8000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [EF] Found Valid PSM partition, XIP Addr 231d8000, flash addr 001e9000
    *default_env_size = 0x00000001
    ENV start address is 0x00000000, size is 32768 bytes.
    [15:45:26.181] - EasyFlash V4.0.99 is initialize success.
    You can get the latest version on https://github.com/armink/EasyFlash .
    [        28][INFO  : hal_uart.c: 364] uart[0] rx_buf_s
    [15:45:26.519] - Starting bl602
    [15:45:26.520] -  now....
    Booting BL602 Chip...


    flash ID log

    
    [06:57:13.889] - Version: eflash_loader_v2.4.8
    [06:57:13.891] - Program Start
    [06:57:13.891] - ========= eflash loader cmd arguments =========
    [06:57:13.893] - Config file: C:\Users\divad\Documents\!FLASHED!\BouffaloLabDevCube-v1.8.8\chips\bl602\eflash_loader\eflash_loader_cfg.ini
    [06:57:13.894] - serial port is COM10
    [06:57:13.895] - cpu_reset=False
    [06:57:13.896] - chiptype: bl602
    [06:57:13.898] - ========= Interface is uart =========
    [06:57:13.899] - com speed: 1000000
    [06:57:13.900] - Eflash load helper file: C:\Users\divad\Documents\!FLASHED!\BouffaloLabDevCube-v1.8.8\chips\bl602\eflash_loader/eflash_loader_40m.bin
    [06:57:13.902] - ========= load eflash_loader.bin =========
    [06:57:13.902] - Load eflash_loader.bin via uart
    [06:57:13.903] - ========= image load =========
    [06:57:14.136] - Not ack OK
    [06:57:14.137] - FL
    [06:57:14.137] - result: FL
    [06:57:14.415] - tx rx and power off, press the machine!
    [06:57:14.416] - cutoff time is 0.1
    [06:57:14.523] - power on tx and rx
    [06:57:15.332] - reset cnt: 0, reset hold: 0.005, shake hand delay: 0.1
    [06:57:15.333] - clean buf
    [06:57:15.336] - send sync
    [06:57:15.551] - ack is 4f4b
    [06:57:15.599] - shake hand success
    [06:57:15.615] - get_boot_info
    [06:57:15.624] - data read is b'01000000000000000300000097040b29d8ac1c00'
    [06:57:15.625] - ========= chipid: acd8290b0497 =========
    [06:57:15.625] - last boot info: None
    [06:57:15.625] - sign is 0 encrypt is 0
    [06:57:15.626] - segcnt is 1
    [06:57:15.656] - segdata_len is 38512
    [06:57:15.752] - 4080/38512
    [06:57:15.848] - 8160/38512
    [06:57:15.944] - 12240/38512
    [06:57:16.039] - 16320/38512
    [06:57:16.136] - 20400/38512
    [06:57:16.231] - 24480/38512
    [06:57:16.328] - 28560/38512
    [06:57:16.423] - 32640/38512
    [06:57:16.519] - 36720/38512
    [06:57:16.567] - 38512/38512
    [06:57:16.583] - Run img
    [06:57:16.714] - Load helper bin time cost(ms): 2811.795166015625
    [06:57:16.824] - Flash load shake hand
    [06:57:16.837] - default set DTR high
    [06:57:16.948] - clean buf
    [06:57:16.951] - send sync
    [06:57:17.170] - ack is 4f4b
    [06:57:17.216] - Read mac addr
    [06:57:17.223] - macaddr: 97040b29d8ac
    [06:57:17.224] - flash set para
    [06:57:17.224] - ========= flash read jedec ID =========
    [06:57:17.239] - Read flash jedec ID
    [06:57:17.240] - flash jedec id: ef401580
    [06:57:17.241] - Finished
    [06:57:17.246] - get flash size: 0x00200000
    [06:57:17.247] - ========= flash read jedec ID =========
    [06:57:17.255] - Read flash jedec ID
    [06:57:17.255] - flash jedec id: ef401580
    [06:57:17.257] - Finished


    other info. i've used old and new boot2, partition table and dts files. and I've tried flashing, successfully, with blflash. I also compiled the forked blflash from https://github.com/feilongfl/blflash and flashed with that. I've also performed whole chip erase.

    Screenshot of the Bouffalo Lab Dev Cube interface showing firmware configuration options and flash operation log. Bouffalo Lab Dev Cube interface with flash memory reading. Bouffalo Lab Dev Cube 1.8.8 software interface with flash memory readout.
  • #393 20984678
    ChrizZz
    Level 5  
    I don't know why but I can't flash my BL602 RGBW module. I have exactly the same board like the one in the first post.

    I connect:
    RX to TX
    TX to RX
    GND to GND

    3.3V to BOOT with the 10k resistor in between

    I connect the UART USB to the laptop and after that use the usual power connection with 12V and power the chip.

    I tried both BLDevCube.exe versions: 1.4.8 and the current version 1.8.9
    - Partition table: OpenBL602\tools\flash_tool\bl602\partition\partition_cfg_2M.toml
    - Boot2bin: OpenBL602\tools\flash_tool\bl602\builtin_imgs\blsp_boot2.bin
    - Firmware: OpenBL602_1.17.485.bin

    I tried with 2.000.000 and 500.000 UART rate, without success.

    I get different log errors in the different software versions

    v1.4.8:
    [19:50:04.194] - [param]
    interface_type = "Uart"
    comport_uart = "COM3"
    speed_uart = "2000000"
    speed_jlink = "1000"
    bl60x_brd = "IoTKitA"
    bl60x_xtal = "40M"
    aes_key = ""
    aes_iv = ""
    addr = "0x0"
    
    [check_box]
    partition_download = true
    boot2_download = true
    bin_download = true
    media_download = false
    use_romfs = false
    mfg_download = false
    ro_params_download = true
    ckb_erase_all = "False"
    encrypt = false
    download_single = false
    
    [input_path]
    pt_bin_input = "C:\\Users\\mail\\Downloads\\OpenBL602-master\\OpenBL602-master\\tools\\flash_tool\\bl602\\partition\\partition_cfg_2M.toml"
    boot2_bin_input = "C:\\Users\\mail\\Downloads\\OpenBL602-master\\OpenBL602-master\\tools\\flash_tool\\bl602\\builtin_imgs\\blsp_boot2.bin"
    cfg2_bin_input = "C:\\Users\\mail\\Downloads\\OpenBL602_1.17.485.bin"
    meida_bin_input = ""
    romfs_dir_input = ""
    mfg_bin_input = ""
    img_bin_input = ""
    [19:50:04.202] - ========= Interface is Uart =========
    [19:50:04.212] - eflash loader bin is eflash_loader_40m.bin
    [19:50:04.215] - ========= chip flash id: ef4015 =========
    [19:50:04.224] - Update flash cfg finished
    [19:50:04.227] - create partition.bin, pt_new is True
    [19:50:04.230] - bl60x_fw_boot_head_gen xtal: 40M
    [19:50:04.233] - Create bootheader using C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini
    [19:50:04.233] - Updating data according to <C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [19:50:04.233] - Created file len:176
    [19:50:04.240] - Create efuse using C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini
    [19:50:04.242] - Updating data according to <C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [19:50:04.242] - Created file len:128
    [19:50:04.246] - ========= sp image create =========
    [19:50:04.246] - Image hash is b'c5e2ce515a5783ac80efdd4910238a466572f882b53b3284e63c763e1da9847f'
    [19:50:04.246] - Header crc: b'52b188af'
    [19:50:04.246] - Write flash img
    [19:50:04.256] - bl60x_fw_boot_head_gen xtal: 40M
    [19:50:04.260] - Create bootheader using C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini
    [19:50:04.260] - Updating data according to <C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [19:50:04.263] - Created file len:176
    [19:50:04.266] - Create efuse using C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini
    [19:50:04.269] - Updating data according to <C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [19:50:04.269] - Created file len:128
    [19:50:04.275] - ========= sp image create =========
    [19:50:04.279] - Image hash is b'ead68eb5ecacec3031446ae0c7a189386b9e0fc2a4a75cae8a43a256e996153c'
    [19:50:04.279] - Header crc: b'1fe75ea7'
    [19:50:04.279] - Write flash img
    [19:50:04.291] - FW Header is 176, 3920 still needed
    [19:50:04.291] - FW OTA bin header is Done. Len is 4096
    [19:50:04.497] - FW OTA bin is Done. Len is 761136
    [19:50:05.147] - FW OTA xz is Done
    [19:50:05.147] - ========= eflash loader config =========
    [19:50:05.209] - =========C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\device_tree/bl_factory_params_IoTKitA_40M.dts ——> bl602/device_tree/ro_params.dtb=========
    [19:50:05.415] - Version: bflb_eflash_loader_v2.0.0
    [19:50:05.415] - Program Start
    [19:50:05.415] - ========= eflash loader cmd arguments =========
    chipname : None
    chipid : False
    usage : False
    flash : True
    efuse : False
    write : True
    erase : False
    read : False
    none : False
    port : COM3
    baudrate : None
    config : None
    interface : None
    xtal : None
    start : None
    end : None
    addr : None
    mac : None
    file : None
    data : None
    mass : None
    loadstr : None
    loadfile : None
    userarea : None
    csvfile : None
    csvaddr : None
    para : None
    aeskey : None
    aesiv : None
    key : None
    ecdh : False
    echo : False
    auto : False
    version : False
    [19:50:05.457] - Config file: C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\eflash_loader/eflash_loader_cfg.ini
    [19:50:05.457] - serial port is COM3
    [19:50:05.462] - chiptype: bl602
    [19:50:05.462] - ========= Interface is Uart =========
    [19:50:05.462] - com speed: 2000000
    [19:50:05.462] - Eflash load helper file: C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\eflash_loader/eflash_loader_40m.bin
    [19:50:05.463] - Eflash load helper file: C:\Users\mail\Downloads\OpenBL602-master\OpenBL602-master\tools\flash_tool\bl602\eflash_loader/eflash_loader_40m.bin
    [19:50:05.463] - ========= load eflash_loader.bin =========
    [19:50:05.463] - Load eflash_loader.bin via uart
    [19:50:05.464] - ========= image load =========
    [19:50:05.733] - tx rx and power off, press the machine!
    [19:50:05.733] - cutoff time is 0.1
    [19:50:05.844] - power on tx and rx
    [19:50:06.673] - reset cnt: 0, reset hold: 0.005, shake hand delay: 0.1
    [19:50:06.673] - clean buf
    [19:50:06.783] - send sync
    [19:50:06.783] - ack is b'ffffffffffffffffffffffffffffffff'
    [19:50:06.794] - reshake
    [19:50:07.067] - tx rx and power off, press the machine!
    [19:50:07.070] - cutoff time is 0.1
    [19:50:07.181] - power on tx and rx
    [19:50:08.020] - reset cnt: 0, reset hold: 0.005, shake hand delay: 0.1
    [19:50:08.023] - clean buf
    [19:50:08.246] - send sync
    [19:50:08.249] - ack is b'ffffffffffffffffffffffffffffffff'
    [19:50:08.249] - reshake
    [19:50:08.249] - shake hand fail
    [19:50:08.249] - ########################################################################
    [19:50:08.263] - 请按照以下描述排查问题:
    [19:50:08.263] - GPIO8是否上拉到板子自身的3.3V,而不是外部的3.3V
    [19:50:08.266] - GPIO7(RX)是否连接到USB转串口的TX引脚
    [19:50:08.266] - GPIO16(TX)是否连接到USB转串口的RX引脚
    [19:50:08.266] - 在使用烧录软件进行烧录前,是否在GPIO8拉高的情况下,使用Reset/Chip_En复位了芯片
    [19:50:08.270] - 烧录软件所选择的COM口,是否是连接芯片的串口
    [19:50:08.270] - 烧录软件上选择的波特率是否是USB转串口支持的波特率
    [19:50:08.271] - 3.3V供电是否正常
    [19:50:08.271] - 板子供电电流是否正常(烧录模式下,芯片耗电电流5-7mA)
    [19:50:08.273] - ########################################################################
    [19:50:08.275] - shake hand fail
    [19:50:08.277] - Load helper bin time cost(ms): 2812.26123046875
    [19:50:08.279] - {"ErrorCode": "0003","ErrorMsg":"BFLB LOAD HELP BIN FAIL"}
    [19:50:08.279] - Burn Retry
    [19:50:08.282] - 0
    [19:50:08.282] - Burn return with retry fail
    


    v1.8.9:
    [19:49:46.160] - ========= Interface is Uart =========
    [19:49:46.160] - eflash loader bin is eflash_loader_40m.bin
    [19:49:46.173] - ========= chip flash id: ef4015 =========
    [19:49:46.178] - create partition.bin, pt_new is True
    [19:49:46.178] - fw_boot_head_gen xtal: 40M
    [19:49:46.190] - Create bootheader using C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini
    [19:49:46.190] - Updating data according to <C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [19:49:46.190] - Created file len:176
    [19:49:46.199] - Create efuse using C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini
    [19:49:46.199] - Updating data according to <C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [19:49:46.207] - Created file len:128
    [19:49:46.215] - ========= sp image create =========
    [19:49:46.215] - Image hash is b'c5e2ce515a5783ac80efdd4910238a466572f882b53b3284e63c763e1da9847f'
    [19:49:46.215] - Hash ignored
    [19:49:46.215] - Header crc ignored
    [19:49:46.215] - Write flash img
    [19:49:46.221] - Encrypt efuse data
    [19:49:46.243] - fw_boot_head_gen xtal: 40M
    [19:49:46.251] - Create bootheader using C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini
    [19:49:46.252] - Updating data according to <C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [19:49:46.253] - Created file len:176
    [19:49:46.253] - Create efuse using C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini
    [19:49:46.253] - Updating data according to <C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [19:49:46.253] - Created file len:128
    [19:49:46.317] - ========= sp image create =========
    [19:49:46.332] - Image hash is b'ead68eb5ecacec3031446ae0c7a189386b9e0fc2a4a75cae8a43a256e996153c'
    [19:49:46.332] - Header crc: b'046f0482'
    [19:49:46.332] - Write flash img
    [19:49:46.349] - Encrypt efuse data
    [19:49:46.359] - FW Header is 176, 3920 still needed
    [19:49:46.359] - FW OTA bin header is Done. Len is 4096
    [19:49:46.445] - BL60X_OTA_Ver1.0
    [19:49:46.540] - FW OTA bin is Done. Len is 761136
    [19:49:47.047] - OTA XZ file len = 405028
    [19:49:47.047] - Partiton len = 557056
    [19:49:47.047] - BL60X_OTA_Ver1.0
    [19:49:47.109] - FW OTA xz is Done
    [19:49:47.112] - ========= eflash loader config =========
    [19:49:47.112] - Image offset = 8192
    [19:49:47.291] - True
    [19:49:47.298] - Version: eflash_loader_v2.5.0
    [19:49:47.299] - Program Start
    [19:49:47.299] - ========= eflash loader cmd arguments =========
    [19:49:47.299] - Config file: C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\eflash_loader/eflash_loader_cfg.ini
    [19:49:47.299] - serial port is COM3
    [19:49:47.299] - cpu_reset=False
    [19:49:47.299] - chiptype: bl602
    [19:49:47.299] - ========= Interface is uart =========
    [19:49:47.299] - com speed: 2000000
    [19:49:47.299] - Eflash load helper file: C:\Users\mail\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\eflash_loader/eflash_loader_40m.bin
    [19:49:47.299] - ========= load eflash_loader.bin =========
    [19:49:47.299] - Load eflash_loader.bin via uart
    [19:49:47.299] - ========= image load =========
    [19:49:47.536] - Not ack OK
    [19:49:47.538] - FL
    [19:49:47.538] - result: FL
    [19:49:47.838] - tx rx and power off, press the machine!
    [19:49:47.841] - cutoff time is 0.1
    [19:49:47.949] - power on tx and rx
    [19:49:48.786] - reset cnt: 0, reset hold: 0.005, shake hand delay: 0.1
    [19:49:48.789] - clean buf
    [19:49:48.789] - send sync
    [19:49:49.027] - ack is ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5b1ff1fe31717fbe7a5a5a5a5a5a5a5a5a5a5a5a5a5a5e5a5ffa5a5a5a5a5a5a5a5a5a5a5a5ada5ada5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5ada5a5a5a563353135b5fff9a5a5f54bf5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5
    [19:49:49.075] - shake hand success
    [19:49:49.092] - get_boot_info
    [19:49:53.112] - Not ack OK
    [19:49:53.114] - FL
    [19:49:53.114] - result: FL
    [19:49:53.115] - fail
    [19:49:53.115] - Error: Image load fail
    [19:49:53.115] - Run img
    [19:49:58.623] - FL21dc unknown
    [19:49:58.639] - result: FL21dc unknown
    [19:49:58.639] - Img run fail
    [19:49:58.752] - Load helper bin time cost(ms): 11452.265380859375
    [19:49:58.755] - ErrorCode: 0003, ErrorMsg: BFLB LOAD HELP BIN FAIL
    [19:49:58.756] - Burn Retry
    [19:49:58.756] - 0
    [19:49:58.756] - Burn return with retry fail


    Some ideas how to tackle this?
  • #394 20984721
    anthonythomas
    Level 9  
    Not sure if it will make any difference but I didn't connect 12v. I connected 3v3 to VCC and this worked.
  • #395 20984922
    ChrizZz
    Level 5  
    anthonythomas wrote:
    Not sure if it will make any difference but I didn't connect 12v. I connected 3v3 to VCC and this worked.


    So you connected 3v3 with the 3v port of the UART and with BOOT?
  • #396 20984925
    anthonythomas
    Level 9  
    Yes. 3V3 from UART to VCC and via 10k resistor to BOOT.
  • #397 20985151
    ChrizZz
    Level 5  
    anthonythomas wrote:
    Yes. 3V3 from UART to VCC and via 10k resistor to BOOT.


    And you just plugged in everything, connected UART to USB and started flashing?
  • ADVERTISEMENT
  • #398 20985168
    p.kaczmarek2
    Moderator Smart Home
    What is the marking on the chip? Just recently I had a user with 1MB (not 2MB) BL602 version in one of the devices
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #399 20985197
    ChrizZz
    Level 5  
    Small printed circuit board with various electronic components on a wooden surface.

    This is the chip - how do I see if 1mb or 2mb?
  • #400 20985212
    p.kaczmarek2
    Moderator Smart Home
    If it's BL620L20 then it's 2MB
    Helpful post? Buy me a coffee.
  • #401 20985316
    omelchuk890
    Level 11  
    SM-028_V1.3, BL602L20 chip
    There is a problem with the module, one board out of four:
    Boufalo Lab Dev Cube 1.4.8 does not load, gives errors;
    Boufalo Lab Dev Cube 1.8.0 writes without errors in the log, but the module does not create a wifi access point, 192.168.4.1, after reboot.
    I use the same module from esp-01 to download the firmware - it works without comments with all modules at speeds up to 460800.
    What are the options or go straight to the trash?
    Spoiler:

    
    
    
    // Boufallo Lab Dev Cube 1.4.8
    
    [12:01:35.028] - [param]
    interface_type = "Uart"
    comport_uart = "COM35"
    speed_uart = "115200"
    speed_jlink = "1000"
    bl60x_brd = "IoTKitA"
    bl60x_xtal = "40M"
    aes_key = ""
    aes_iv = ""
    addr = "0x0"
    
    [check_box]
    partition_download = true
    boot2_download = true
    bin_download = true
    media_download = false
    use_romfs = false
    mfg_download = false
    ro_params_download = true
    ckb_erase_all = "False"
    encrypt = false
    download_single = false
    
    [input_path]
    pt_bin_input = "D:\\Takeda_Projects\\Малина\\BK7231\\BL602\\flash_tool_BL602\\flash_tool\\bl602\\partition\\partition_cfg_2M.toml"
    boot2_bin_input = "D:\\Takeda_Projects\\Малина\\BK7231\\BL602\\flash_tool_BL602\\flash_tool\\bl602\\builtin_imgs\\blsp_boot2.bin"
    cfg2_bin_input = "D:\\Takeda_Projects\\Малина\\BK7231\\BL602\\OpenBL602_1.17.308.bin"
    meida_bin_input = ""
    romfs_dir_input = ""
    mfg_bin_input = ""
    img_bin_input = ""
    [12:01:35.030] - ========= Interface is Uart =========
    [12:01:35.033] - eflash loader bin is eflash_loader_40m.bin
    [12:01:35.034] - ========= chip flash id: ef4015 =========
    [12:01:35.040] - Update flash cfg finished
    [12:01:35.042] - create partition.bin, pt_new is True
    [12:01:35.045] - bl60x_fw_boot_head_gen xtal: 40M
    [12:01:35.047] - Create bootheader using D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini
    [12:01:35.047] - Updating data according to <D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [12:01:35.049] - Created file len:176
    [12:01:35.052] - Create efuse using D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini
    [12:01:35.053] - Updating data according to <D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [12:01:35.055] - Created file len:128
    [12:01:35.058] - ========= sp image create =========
    [12:01:35.059] - Image hash is b'c5e2ce515a5783ac80efdd4910238a466572f882b53b3284e63c763e1da9847f'
    [12:01:35.060] - Header crc: b'52b188af'
    [12:01:35.060] - Write flash img
    [12:01:35.064] - bl60x_fw_boot_head_gen xtal: 40M
    [12:01:35.066] - Create bootheader using D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini
    [12:01:35.066] - Updating data according to <D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [12:01:35.068] - Created file len:176
    [12:01:35.071] - Create efuse using D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini
    [12:01:35.072] - Updating data according to <D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\efuse_bootheader/efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [12:01:35.074] - Created file len:128
    [12:01:35.077] - ========= sp image create =========
    [12:01:35.084] - Image hash is b'8300379fa0046e293ff7c8281c18bd5e326781540921a3b5ebb8632c17cc7fee'
    [12:01:35.084] - Header crc: b'd23444db'
    [12:01:35.085] - Write flash img
    [12:01:35.092] - FW Header is 176, 3920 still needed
    [12:01:35.093] - FW OTA bin header is Done. Len is 4096
    [12:01:35.271] - FW OTA bin is Done. Len is 759904
    [12:01:35.805] - FW OTA xz is Done
    [12:01:35.805] - ========= eflash loader config =========
    [12:01:35.861] - =========D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\device_tree/bl_factory_params_IoTKitA_40M.dts ——> bl602/device_tree/ro_params.dtb=========
    [12:01:36.040] - Version: bflb_eflash_loader_v2.0.0
    [12:01:36.041] - Program Start
    [12:01:36.041] - ========= eflash loader cmd arguments =========
    chipname : None
    chipid : False
    usage : False
    flash : True
    efuse : False
    write : True
    erase : False
    read : False
    none : False
    port : COM35
    baudrate : None
    config : None
    interface : None
    xtal : None
    start : None
    end : None
    addr : None
    mac : None
    file : None
    data : None
    mass : None
    loadstr : None
    loadfile : None
    userarea : None
    csvfile : None
    csvaddr : None
    para : None
    aeskey : None
    aesiv : None
    key : None
    ecdh : False
    echo : False
    auto : False
    version : False
    [12:01:36.066] - Config file: D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\eflash_loader/eflash_loader_cfg.ini
    [12:01:36.067] - serial port is COM35
    [12:01:36.068] - chiptype: bl602
    [12:01:36.068] - ========= Interface is Uart =========
    [12:01:36.068] - com speed: 115200
    [12:01:36.068] - Eflash load helper file: D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\eflash_loader/eflash_loader_40m.bin
    [12:01:36.069] - Eflash load helper file: D:\Takeda_Projects\Малина\BK7231\BL602\flash_tool_BL602\flash_tool\bl602\eflash_loader/eflash_loader_40m.bin
    [12:01:36.069] - ========= load eflash_loader.bin =========
    [12:01:36.069] - Load eflash_loader.bin via uart
    [12:01:36.069] - ========= image load =========
    [12:01:36.330] - tx rx and power off, press the machine!
    [12:01:36.330] - cutoff time is 0.1
    [12:01:36.430] - power on tx and rx
    [12:01:37.150] - reset cnt: 0, reset hold: 0.005, shake hand delay: 0.1
    [12:01:37.150] - clean buf
    [12:01:37.255] - send sync
    [12:01:37.469] - ack is b'4f4b'
    [12:01:37.502] - shake hand success
    [12:01:37.512] - get_boot_info
    [12:01:37.516] - data read is b'01000000000000000300000087120b29d8ac1c00'
    [12:01:37.516] - sign is 0 encrypt is 0
    [12:01:37.517] - segcnt is 1
    [12:01:37.528] - segdata_len is 30192
    [12:01:37.618] - 4080/30192
    [12:01:37.708] - 8160/30192
    [12:01:37.798] - 12240/30192
    [12:01:37.888] - 16320/30192
    [12:01:37.978] - 20400/30192
    [12:01:38.068] - 24480/30192
    [12:01:38.158] - 28560/30192
    [12:01:38.196] - 30192/30192
    [12:01:38.199] - Run img
    [12:01:38.303] - Load helper bin time cost(ms): 2234.127685546875
    [12:01:38.403] - ========= flash read jedec ID =========
    [12:01:38.403] - Flash load shake hand
    [12:01:38.406] - clean buf
    [12:01:38.510] - send sync
    [12:01:38.728] - ack is b'4f4b'
    [12:01:38.765] - Read flash jedec ID
    [12:01:38.765] - readdata:
    [12:01:38.766] - b'ef401500'
    [12:01:38.766] - Finished
    [12:01:38.766] - Program operation
    [12:01:38.766] - Dealing Index 0
    [12:01:38.767] - ========= programming bl602/img_create/whole_img_boot2.bin to 0x00000000
    [12:01:38.767] - ========= flash load =========
    [12:01:38.768] - ========= flash erase =========
    [12:01:38.768] - Erase flash  from 0x0 to 0xb98f
    [12:01:38.783] - Erase time cost(ms): 15.000732421875
    [12:01:38.802] - decompress flash load 22164
    [12:01:38.986] - Load 2048/22164 {"progress":9}
    [12:01:39.168] - Load 4096/22164 {"progress":18}
    [12:01:39.351] - Load 6144/22164 {"progress":27}
    [12:01:39.534] - Load 8192/22164 {"progress":36}
    [12:01:39.716] - Load 10240/22164 {"progress":46}
    [12:01:39.899] - Load 12288/22164 {"progress":55}
    [12:01:40.082] - Load 14336/22164 {"progress":64}
    [12:01:40.260] - FL000c unknown
    [12:01:40.260] - Retry
    [12:01:40.438] - Load 16384/22164 {"progress":73}
    [12:01:40.616] - FL000c unknown
    [12:01:40.617] - Retry
    [12:01:42.796] - ack is b''
    [12:01:42.796] - Retry
    [12:01:44.975] - ack is b''
    [12:01:44.975] - Retry
    [12:01:45.153] - Load 18432/22164 {"progress":83}
    [12:01:47.334] - ack is b''
    [12:01:47.334] - Retry
    [12:01:49.513] - ack is b''
    [12:01:49.513] - Retry
    [12:01:49.691] - Load 20480/22164 {"progress":92}
    [12:01:51.837] - ack is b''
    [12:01:51.837] - Retry
    [12:01:53.983] - ack is b''
    [12:01:53.983] - Retry
    [12:01:54.128] - Load 22164/22164 {"progress":100}
    [12:01:54.128] - Load 22164/22164 {"progress":100}
    [12:01:54.129] - Write check
    [12:01:56.131] - ack is b''
    [12:01:56.131] - Retry
    [12:01:58.133] - ack is b''
    [12:01:58.133] - Retry
    [12:02:00.135] - ack is b''
    [12:02:00.135] - Retry
    [12:02:02.137] - ack is b''
    [12:02:02.137] - {"ErrorCode": "0037","ErrorMsg":"BFLB FLASH WRITE CHECK FAIL"}
    [12:02:02.137] - Flash write check fail
    [12:02:02.138] - Flash load fail
    [12:02:02.138] - Burn Retry
    [12:02:02.138] - 0
    [12:02:02.138] - Burn return with retry fail
    
    
    
    // Boufallo Lab Dev Cube 1.8.0
    
    
    Warning: This v1 partition table is deprecated
    [12:03:41.519] - ========= Interface is Uart =========
    [12:03:41.523] - eflash loader bin is eflash_loader_40m.bin
    [12:03:41.525] - ========= chip flash id: ef4015 =========
    [12:03:41.531] - create partition.bin, pt_new is True
    [12:03:41.538] - fw_boot_head_gen xtal: 40M
    [12:03:41.540] - Create bootheader using E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\img_create_iot/efuse_bootheader_cfg.ini
    [12:03:41.541] - Updating data according to <E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\img_create_iot/efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [12:03:41.543] - Created file len:176
    [12:03:41.547] - Create efuse using E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\img_create_iot/efuse_bootheader_cfg.ini
    [12:03:41.548] - Updating data according to <E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\img_create_iot/efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [12:03:41.550] - Created file len:128
    [12:03:41.552] - ========= sp image create =========
    [12:03:41.553] - Image hash is b'c5e2ce515a5783ac80efdd4910238a466572f882b53b3284e63c763e1da9847f'
    [12:03:41.555] - Hash ignored
    [12:03:41.556] - Header crc ignored
    [12:03:41.556] - Write flash img
    [12:03:41.564] - fw_boot_head_gen xtal: 40M
    [12:03:41.568] - Create bootheader using E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\img_create_iot/efuse_bootheader_cfg.ini
    [12:03:41.568] - Updating data according to <E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\img_create_iot/efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [12:03:41.569] - Created file len:176
    [12:03:41.573] - Create efuse using E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\img_create_iot/efuse_bootheader_cfg.ini
    [12:03:41.575] - Updating data according to <E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\img_create_iot/efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [12:03:41.577] - Created file len:128
    [12:03:41.580] - ========= sp image create =========
    [12:03:41.586] - Image hash is b'ead68eb5ecacec3031446ae0c7a189386b9e0fc2a4a75cae8a43a256e996153c'
    [12:03:41.587] - Header crc: b'1fe75ea7'
    [12:03:41.587] - Write flash img
    [12:03:41.596] - FW Header is 176, 3920 still needed
    [12:03:41.598] - FW OTA bin header is Done. Len is 4096
    [12:03:41.685] - BL60X_OTA_Ver1.0
    [12:03:41.780] - FW OTA bin is Done. Len is 761136
    [12:03:42.264] - OTA XZ file len = 404956
    [12:03:42.264] - Partiton len = 557056
    [12:03:42.265] - BL60X_OTA_Ver1.0
    [12:03:42.324] - FW OTA xz is Done
    [12:03:42.325] - ========= eflash loader config =========
    [12:03:42.456] - Version: eflash_loader_v2.4.2
    [12:03:42.457] - Program Start
    [12:03:42.457] - ========= eflash loader cmd arguments =========
    [12:03:42.457] - E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\eflash_loader/eflash_loader_cfg.ini
    [12:03:42.457] - Config file: E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\eflash_loader/eflash_loader_cfg.ini
    [12:03:42.458] - serial port is COM35
    [12:03:42.459] - cpu_reset=False
    [12:03:42.459] - chiptype: bl602
    [12:03:42.459] - ========= Interface is uart =========
    [12:03:42.459] - com speed: 460800
    [12:03:42.459] - Eflash load helper file: E:\YandexDisk\BK7231\BL602\BouffaloLabDevCube-v1.8.0\BLDevCube-v1.8.0\chips\bl602\eflash_loader/eflash_loader_40m.bin
    [12:03:42.459] - ========= load eflash_loader.bin =========
    [12:03:42.459] - Load eflash_loader.bin via uart
    [12:03:42.459] - ========= image load =========
    [12:03:42.727] - tx rx and power off, press the machine!
    [12:03:42.727] - cutoff time is 0.1
    [12:03:42.828] - power on tx and rx
    [12:03:43.549] - reset cnt: 0, reset hold: 0.005, shake hand delay: 0.1
    [12:03:43.549] - clean buf
    [12:03:43.554] - send sync
    [12:03:43.767] - ack is b'4f4b'
    [12:03:43.800] - shake hand success
    [12:03:43.810] - get_boot_info
    [12:03:43.814] - data read is b'01000000000000000300000087120b29d8ac1c00'
    [12:03:43.815] - ========= ChipID: acd8290b1287 =========
    [12:03:43.815] - last boot info: None
    [12:03:43.815] - sign is 0 encrypt is 0
    [12:03:43.815] - segcnt is 1
    [12:03:43.826] - segdata_len is 37152
    [12:03:43.917] - 4080/37152
    [12:03:44.008] - 8160/37152
    [12:03:44.099] - 12240/37152
    [12:03:44.189] - 16320/37152
    [12:03:44.281] - 20400/37152
    [12:03:44.371] - 24480/37152
    [12:03:44.462] - 28560/37152
    [12:03:44.553] - 32640/37152
    [12:03:44.644] - 36720/37152
    [12:03:44.657] - 37152/37152
    [12:03:44.661] - Run img
    [12:03:44.765] - Load helper bin time cost(ms): 2306.131591796875
    [12:03:44.865] - Flash load shake hand
    [12:03:44.877] - default set DTR high
    [12:03:44.978] - clean buf
    [12:03:44.983] - send sync
    [12:03:45.200] - ack is b'4f4b'
    [12:03:45.233] - Read mac addr
    [12:03:45.237] - flash set para
    [12:03:45.238] - ========= flash read jedec ID =========
    [12:03:45.241] - Read flash jedec ID
    [12:03:45.242] - readdata:
    [12:03:45.242] - b'ef401580'
    [12:03:45.242] - Finished
    [12:03:45.246] - Program operation
    [12:03:45.247] - Dealing Index 0
    [12:03:45.247] - ========= programming chips\bl602\img_create_iot\whole_img_boot2.bin to 0x00000000
    [12:03:45.250] - ========= flash load =========
    [12:03:45.250] - ========= flash erase =========
    [12:03:45.250] - Erase flash from 0x0 to 0xb98f
    [12:03:45.260] - erase pending
    [12:03:45.406] - erase pending
    [12:03:45.442] - erase pending
    [12:03:45.479] - erase pending
    [12:03:45.508] - erase pending
    [12:03:45.562] - Erase time cost(ms): 312.01806640625
    [12:03:45.583] - decompress flash load 22124
    [12:03:45.634] - Load 2048/22124 {"progress":9}
    [12:03:45.686] - Load 4096/22124 {"progress":18}
    [12:03:45.737] - Load 6144/22124 {"progress":27}
    [12:03:45.788] - Load 8192/22124 {"progress":37}
    [12:03:45.840] - Load 10240/22124 {"progress":46}
    [12:03:45.891] - Load 12288/22124 {"progress":55}
    [12:03:45.943] - Load 14336/22124 {"progress":64}
    [12:03:45.994] - Load 16384/22124 {"progress":74}
    [12:03:46.046] - Load 18432/22124 {"progress":83}
    [12:03:46.097] - Load 20480/22124 {"progress":92}
    [12:03:46.139] - Load 22124/22124 {"progress":100}
    [12:03:46.140] - Load 22124/22124 {"progress":100}
    [12:03:46.140] - Write check
    [12:03:46.168] - Flash load time cost(ms): 603.0341796875
    [12:03:46.168] - Finished
    [12:03:46.170] - Sha caled by host: b987f677ce281b949af2bf8de15d2916aabffc58dd121cbc95bf5cab17d7db4b
    [12:03:46.170] - xip mode Verify
    [12:03:46.190] - Read Sha256/47504
    [12:03:46.191] - Flash xip readsha time cost(ms): 18.0009765625
    [12:03:46.191] - Finished
    [12:03:46.195] - Sha caled by dev: b987f677ce281b949af2bf8de15d2916aabffc58dd121cbc95bf5cab17d7db4b
    [12:03:46.195] - Verify success
    [12:03:46.198] - Dealing Index 1
    [12:03:46.198] - ========= programming chips\bl602\partition\partition.bin to 0x0000E000
    [12:03:46.201] - ========= flash load =========
    [12:03:46.201] - ========= flash erase =========
    [12:03:46.201] - Erase flash from 0xe000 to 0xe10f
    [12:03:46.207] - erase pending
    [12:03:46.257] - Erase time cost(ms): 56.002685546875
    [12:03:46.269] - Load 272/272 {"progress":100}
    [12:03:46.270] - Load 272/272 {"progress":100}
    [12:03:46.270] - Write check
    [12:03:46.276] - Flash load time cost(ms): 16.0009765625
    [12:03:46.277] - Finished
    [12:03:46.277] - Sha caled by host: fd6af18fc4aaf2807277cac767ca19d12af7b55f5ecbb8902ef28bc2430524aa
    [12:03:46.277] - xip mode Verify
    [12:03:46.285] - Read Sha256/272
    [12:03:46.286] - Flash xip readsha time cost(ms): 5.000244140625
    [12:03:46.286] - Finished
    [12:03:46.289] - Sha caled by dev: fd6af18fc4aaf2807277cac767ca19d12af7b55f5ecbb8902ef28bc2430524aa
    [12:03:46.290] - Verify success
    [12:03:46.292] - Dealing Index 2
    [12:03:46.292] - ========= programming chips\bl602\partition\partition.bin to 0x0000F000
    [12:03:46.296] - ========= flash load =========
    [12:03:46.296] - ========= flash erase =========
    [12:03:46.297] - Erase flash from 0xf000 to 0xf10f
    [12:03:46.302] - erase pending
    [12:03:46.356] - Erase time cost(ms): 59.00341796875
    [12:03:46.369] - Load 272/272 {"progress":100}
    [12:03:46.369] - Load 272/272 {"progress":100}
    [12:03:46.369] - Write check
    [12:03:46.375] - Flash load time cost(ms): 16.0009765625
    [12:03:46.376] - Finished
    [12:03:46.376] - Sha caled by host: fd6af18fc4aaf2807277cac767ca19d12af7b55f5ecbb8902ef28bc2430524aa
    [12:03:46.376] - xip mode Verify
    [12:03:46.384] - Read Sha256/272
    [12:03:46.384] - Flash xip readsha time cost(ms): 5.000244140625
    [12:03:46.385] - Finished
    [12:03:46.388] - Sha caled by dev: fd6af18fc4aaf2807277cac767ca19d12af7b55f5ecbb8902ef28bc2430524aa
    [12:03:46.388] - Verify success
    [12:03:46.391] - Dealing Index 3
    [12:03:46.391] - ========= programming chips\bl602\img_create_iot\whole_img.bin to 0x00010000
    [12:03:46.394] - ========= flash load =========
    [12:03:46.395] - ========= flash erase =========
    [12:03:46.395] - Erase flash from 0x10000 to 0xc9d2f
    [12:03:46.405] - erase pending
    [12:03:46.627] - erase pending
    [12:03:46.845] - erase pending
    [12:03:47.069] - erase pending
    [12:03:47.294] - erase pending
    [12:03:47.486] - erase pending
    [12:03:47.686] - erase pending
    [12:03:47.877] - erase pending
    [12:03:48.093] - erase pending
    [12:03:48.306] - erase pending
    [12:03:48.542] - erase pending
    [12:03:48.754] - erase pending
    [12:03:48.895] - erase pending
    [12:03:48.922] - erase pending
    [12:03:48.974] - Erase time cost(ms): 2577.1474609375
    [12:03:49.328] - decompress flash load 404956
    [12:03:49.379] - Load 2048/404956 {"progress":0}
    [12:03:49.431] - Load 4096/404956 {"progress":1}
    [12:03:49.482] - Load 6144/404956 {"progress":1}
    [12:03:49.533] - Load 8192/404956 {"progress":2}
    [12:03:49.584] - Load 10240/404956 {"progress":2}
    [12:03:49.636] - Load 12288/404956 {"progress":3}
    [12:03:49.687] - Load 14336/404956 {"progress":3}
    [12:03:49.738] - Load 16384/404956 {"progress":4}
    [12:03:49.788] - Load 18432/404956 {"progress":4}
    [12:03:49.839] - Load 20480/404956 {"progress":5}
    [12:03:49.890] - Load 22528/404956 {"progress":5}
    [12:03:49.941] - Load 24576/404956 {"progress":6}
    [12:03:49.993] - Load 26624/404956 {"progress":6}
    [12:03:50.044] - Load 28672/404956 {"progress":7}
    [12:03:50.096] - Load 30720/404956 {"progress":7}
    [12:03:50.147] - Load 32768/404956 {"progress":8}
    [12:03:50.199] - Load 34816/404956 {"progress":8}
    [12:03:50.250] - Load 36864/404956 {"progress":9}
    [12:03:50.301] - Load 38912/404956 {"progress":9}
    [12:03:50.352] - Load 40960/404956 {"progress":10}
    [12:03:50.403] - Load 43008/404956 {"progress":10}
    [12:03:50.454] - Load 45056/404956 {"progress":11}
    [12:03:50.505] - Load 47104/404956 {"progress":11}
    [12:03:50.556] - Load 49152/404956 {"progress":12}
    [12:03:50.608] - Load 51200/404956 {"progress":12}
    [12:03:50.659] - Load 53248/404956 {"progress":13}
    [12:03:50.710] - Load 55296/404956 {"progress":13}
    [12:03:50.761] - Load 57344/404956 {"progress":14}
    [12:03:50.812] - Load 59392/404956 {"progress":14}
    [12:03:50.863] - Load 61440/404956 {"progress":15}
    [12:03:50.915] - Load 63488/404956 {"progress":15}
    [12:03:50.966] - Load 65536/404956 {"progress":16}
    [12:03:51.017] - Load 67584/404956 {"progress":16}
    [12:03:51.068] - Load 69632/404956 {"progress":17}
    [12:03:51.120] - Load 71680/404956 {"progress":17}
    [12:03:51.171] - Load 73728/404956 {"progress":18}
    [12:03:51.223] - Load 75776/404956 {"progress":18}
    [12:03:51.274] - Load 77824/404956 {"progress":19}
    [12:03:51.325] - Load 79872/404956 {"progress":19}
    [12:03:51.376] - Load 81920/404956 {"progress":20}
    [12:03:51.428] - Load 83968/404956 {"progress":20}
    [12:03:51.479] - Load 86016/404956 {"progress":21}
    [12:03:51.531] - Load 88064/404956 {"progress":21}
    [12:03:51.582] - Load 90112/404956 {"progress":22}
    [12:03:51.633] - Load 92160/404956 {"progress":22}
    [12:03:51.684] - Load 94208/404956 {"progress":23}
    [12:03:51.736] - Load 96256/404956 {"progress":23}
    [12:03:51.787] - Load 98304/404956 {"progress":24}
    [12:03:51.838] - Load 100352/404956 {"progress":24}
    [12:03:51.890] - Load 102400/404956 {"progress":25}
    [12:03:51.941] - Load 104448/404956 {"progress":25}
    [12:03:51.993] - Load 106496/404956 {"progress":26}
    [12:03:52.044] - Load 108544/404956 {"progress":26}
    [12:03:52.096] - Load 110592/404956 {"progress":27}
    [12:03:52.148] - Load 112640/404956 {"progress":27}
    [12:03:52.199] - Load 114688/404956 {"progress":28}
    [12:03:52.250] - Load 116736/404956 {"progress":28}
    [12:03:52.301] - Load 118784/404956 {"progress":29}
    [12:03:52.352] - Load 120832/404956 {"progress":29}
    [12:03:52.404] - Load 122880/404956 {"progress":30}
    [12:03:52.455] - Load 124928/404956 {"progress":30}
    [12:03:52.506] - Load 126976/404956 {"progress":31}
    [12:03:52.558] - Load 129024/404956 {"progress":31}
    [12:03:52.609] - Load 131072/404956 {"progress":32}
    [12:03:52.660] - Load 133120/404956 {"progress":32}
    [12:03:52.712] - Load 135168/404956 {"progress":33}
    [12:03:52.764] - Load 137216/404956 {"progress":33}
    [12:03:52.815] - Load 139264/404956 {"progress":34}
    [12:03:52.867] - Load 141312/404956 {"progress":34}
    [12:03:52.918] - Load 143360/404956 {"progress":35}
    [12:03:52.969] - Load 145408/404956 {"progress":35}
    [12:03:53.021] - Load 147456/404956 {"progress":36}
    [12:03:53.072] - Load 149504/404956 {"progress":36}
    [12:03:53.124] - Load 151552/404956 {"progress":37}
    [12:03:53.175] - Load 153600/404956 {"progress":37}
    [12:03:53.226] - Load 155648/404956 {"progress":38}
    [12:03:53.278] - Load 157696/404956 {"progress":38}
    [12:03:53.329] - Load 159744/404956 {"progress":39}
    [12:03:53.380] - Load 161792/404956 {"progress":39}
    [12:03:53.432] - Load 163840/404956 {"progress":40}
    [12:03:53.483] - Load 165888/404956 {"progress":40}
    [12:03:53.534] - Load 167936/404956 {"progress":41}
    [12:03:53.586] - Load 169984/404956 {"progress":41}
    [12:03:53.638] - Load 172032/404956 {"progress":42}
    [12:03:53.690] - Load 174080/404956 {"progress":42}
    [12:03:53.741] - Load 176128/404956 {"progress":43}
    [12:03:53.792] - Load 178176/404956 {"progress":43}
    [12:03:53.844] - Load 180224/404956 {"progress":44}
    [12:03:53.895] - Load 182272/404956 {"progress":45}
    [12:03:53.946] - Load 184320/404956 {"progress":45}
    [12:03:53.998] - Load 186368/404956 {"progress":46}
    [12:03:54.050] - Load 188416/404956 {"progress":46}
    [12:03:54.102] - Load 190464/404956 {"progress":47}
    [12:03:54.153] - Load 192512/404956 {"progress":47}
    [12:03:54.205] - Load 194560/404956 {"progress":48}
    [12:03:54.257] - Load 196608/404956 {"progress":48}
    [12:03:54.308] - Load 198656/404956 {"progress":49}
    [12:03:54.360] - Load 200704/404956 {"progress":49}
    [12:03:54.411] - Load 202752/404956 {"progress":50}
    [12:03:54.462] - Load 204800/404956 {"progress":50}
    [12:03:54.514] - Load 206848/404956 {"progress":51}
    [12:03:54.565] - Load 208896/404956 {"progress":51}
    [12:03:54.617] - Load 210944/404956 {"progress":52}
    [12:03:54.668] - Load 212992/404956 {"progress":52}
    [12:03:54.719] - Load 215040/404956 {"progress":53}
    [12:03:54.770] - Load 217088/404956 {"progress":53}
    [12:03:54.821] - Load 219136/404956 {"progress":54}
    [12:03:54.873] - Load 221184/404956 {"progress":54}
    [12:03:54.924] - Load 223232/404956 {"progress":55}
    [12:03:54.976] - Load 225280/404956 {"progress":55}
    [12:03:55.027] - Load 227328/404956 {"progress":56}
    [12:03:55.079] - Load 229376/404956 {"progress":56}
    [12:03:55.130] - Load 231424/404956 {"progress":57}
    [12:03:55.181] - Load 233472/404956 {"progress":57}
    [12:03:55.233] - Load 235520/404956 {"progress":58}
    [12:03:55.285] - Load 237568/404956 {"progress":58}
    [12:03:55.337] - Load 239616/404956 {"progress":59}
    [12:03:55.389] - Load 241664/404956 {"progress":59}
    [12:03:55.441] - Load 243712/404956 {"progress":60}
    [12:03:55.492] - Load 245760/404956 {"progress":60}
    [12:03:55.543] - Load 247808/404956 {"progress":61}
    [12:03:55.594] - Load 249856/404956 {"progress":61}
    [12:03:55.646] - Load 251904/404956 {"progress":62}
    [12:03:55.697] - Load 253952/404956 {"progress":62}
    [12:03:55.749] - Load 256000/404956 {"progress":63}
    [12:03:55.800] - Load 258048/404956 {"progress":63}
    [12:03:55.851] - Load 260096/404956 {"progress":64}
    [12:03:55.903] - Load 262144/404956 {"progress":64}
    [12:03:55.954] - Load 264192/404956 {"progress":65}
    [12:03:56.005] - Load 266240/404956 {"progress":65}
    [12:03:56.057] - Load 268288/404956 {"progress":66}
    [12:03:56.108] - Load 270336/404956 {"progress":66}
    [12:03:56.159] - Load 272384/404956 {"progress":67}
    [12:03:56.210] - Load 274432/404956 {"progress":67}
    [12:03:56.261] - Load 276480/404956 {"progress":68}
    [12:03:56.313] - Load 278528/404956 {"progress":68}
    [12:03:56.365] - Load 280576/404956 {"progress":69}
    [12:03:56.416] - Load 282624/404956 {"progress":69}
    [12:03:56.467] - Load 284672/404956 {"progress":70}
    [12:03:56.518] - Load 286720/404956 {"progress":70}
    [12:03:56.569] - Load 288768/404956 {"progress":71}
    [12:03:56.621] - Load 290816/404956 {"progress":71}
    [12:03:56.672] - Load 292864/404956 {"progress":72}
    [12:03:56.724] - Load 294912/404956 {"progress":72}
    [12:03:56.776] - Load 296960/404956 {"progress":73}
    [12:03:56.827] - Load 299008/404956 {"progress":73}
    [12:03:56.879] - Load 301056/404956 {"progress":74}
    [12:03:56.930] - Load 303104/404956 {"progress":74}
    [12:03:56.982] - Load 305152/404956 {"progress":75}
    [12:03:57.034] - Load 307200/404956 {"progress":75}
    [12:03:57.085] - Load 309248/404956 {"progress":76}
    [12:03:57.137] - Load 311296/404956 {"progress":76}
    [12:03:57.188] - Load 313344/404956 {"progress":77}
    [12:03:57.240] - Load 315392/404956 {"progress":77}
    [12:03:57.291] - Load 317440/404956 {"progress":78}
    [12:03:57.342] - Load 319488/404956 {"progress":78}
    [12:03:57.394] - Load 321536/404956 {"progress":79}
    [12:03:57.445] - Load 323584/404956 {"progress":79}
    [12:03:57.496] - Load 325632/404956 {"progress":80}
    [12:03:57.548] - Load 327680/404956 {"progress":80}
    [12:03:57.599] - Load 329728/404956 {"progress":81}
    [12:03:57.650] - Load 331776/404956 {"progress":81}
    [12:03:57.702] - Load 333824/404956 {"progress":82}
    [12:03:57.753] - Load 335872/404956 {"progress":82}
    [12:03:57.804] - Load 337920/404956 {"progress":83}
    [12:03:57.856] - Load 339968/404956 {"progress":83}
    [12:03:57.907] - Load 342016/404956 {"progress":84}
    [12:03:57.958] - Load 344064/404956 {"progress":84}
    [12:03:58.009] - Load 346112/404956 {"progress":85}
    [12:03:58.060] - Load 348160/404956 {"progress":85}
    [12:03:58.112] - Load 350208/404956 {"progress":86}
    [12:03:58.163] - Load 352256/404956 {"progress":86}
    [12:03:58.215] - Load 354304/404956 {"progress":87}
    [12:03:58.266] - Load 356352/404956 {"progress":87}
    [12:03:58.318] - Load 358400/404956 {"progress":88}
    [12:03:58.369] - Load 360448/404956 {"progress":89}
    [12:03:58.421] - Load 362496/404956 {"progress":89}
    [12:03:58.473] - Load 364544/404956 {"progress":90}
    [12:03:58.524] - Load 366592/404956 {"progress":90}
    [12:03:58.575] - Load 368640/404956 {"progress":91}
    [12:03:58.627] - Load 370688/404956 {"progress":91}
    [12:03:58.678] - Load 372736/404956 {"progress":92}
    [12:03:58.729] - Load 374784/404956 {"progress":92}
    [12:03:58.780] - Load 376832/404956 {"progress":93}
    [12:03:58.832] - Load 378880/404956 {"progress":93}
    [12:03:58.883] - Load 380928/404956 {"progress":94}
    [12:03:58.935] - Load 382976/404956 {"progress":94}
    [12:03:58.986] - Load 385024/404956 {"progress":95}
    [12:03:59.037] - Load 387072/404956 {"progress":95}
    [12:03:59.089] - Load 389120/404956 {"progress":96}
    [12:03:59.140] - Load 391168/404956 {"progress":96}
    [12:03:59.191] - Load 393216/404956 {"progress":97}
    [12:03:59.242] - Load 395264/404956 {"progress":97}
    [12:03:59.293] - Load 397312/404956 {"progress":98}
    [12:03:59.345] - Load 399360/404956 {"progress":98}
    [12:03:59.396] - Load 401408/404956 {"progress":99}
    [12:03:59.447] - Load 403456/404956 {"progress":99}
    [12:03:59.486] - Load 404956/404956 {"progress":100}
    [12:03:59.487] - Load 404956/404956 {"progress":100}
    [12:03:59.487] - Write check
    [12:03:59.510] - Flash load time cost(ms): 10534.602294921875
    [12:03:59.510] - Finished
    [12:03:59.516] - Sha caled by host: bfd83ad54b0375e9d3a0e63cbae2805b331a4278af5e3ecb92d84c06fe71fcb4
    [12:03:59.517] - xip mode Verify
    [12:03:59.730] - Read Sha256/761136
    [12:03:59.731] - Flash xip readsha time cost(ms): 211.01220703125
    [12:03:59.731] - Finished
    [12:03:59.734] - Sha caled by dev: bfd83ad54b0375e9d3a0e63cbae2805b331a4278af5e3ecb92d84c06fe71fcb4
    [12:03:59.735] - Verify success
    [12:03:59.737] - Program Finished
    [12:03:59.737] - All time cost(ms): 17279.98828125
    [12:03:59.840] - close interface
    [12:03:59.841] - [All Success]
    

  • #402 20994509
    pa66
    Level 3  
    Hi,
    today I have flashed magic home rgb controller with BL602. Flashing was okay, AP is okay. If I set my own network and password, I do not see the device in Fritzbox. Also I do not see this device with a network analycer app.
    Also I have try to change Mac adress before changing network.
    I have also set option erase chip...same problem.

    I used OpenBL602_1.17.494.bin with devcube 1.4.8 and also with 1.8.9

    Any idea whats the problem?

    best regards
  • #403 20994571
    Zhekos555
    Level 10  
    I had the same problem with bl-xt02 modules, just not booting up, was asking here but didn't get the answer. External power supply was used, flashed different sw and chip worked. So the problem with openbeken.
  • #404 20994679
    pa66
    Level 3  
    now Device is in APMode..if I press Log in devcube I get:

    {"ErrorCode": "0001","ErrorMsg":"BFLB EFLASH LOADER SHAKEHAND FAIL"}
    [19:34:42.688] - Shake hand redo
    [19:34:43.236] - FL4d69 unknown
    [19:34:43.236] - Not ack OK
    [19:34:43.236] - FL4d69 unknown
    [19:34:43.236] - Read log
    [19:34:43.236] - Read Fail

    Edit: btw If I try to search Network nothing happens...so I always try to fill in manually my network.
  • #405 20994783
    divadiow
    Level 34  
    I can't say at all what's happening to your devices, but I've had my fair share of BL602s seem to flash successfully but not booting and then other problems besides. I've killed a couple. I have spent HOURS going round and round with the HANDSHAKE and EFUSE errors you get on BLDevCube when connections aren't right.

    My last two have been perfect using BLDC 1.8.9 since:

    -soldering short cables to GND and VCC to external PSU (I use pogo probes for all other connections)
    -rx/tx on short cables directly to USB-TTL
    -wago connectors joining common grounds and VCC to BL602
    -dispending with the breadboard so less breaks/variations in the resistance from point to point
    -tried bumping up the voltage slightly. one was flashed at 3.4v and the other at 3.5

    hope one or a couple of those points helps shift your efforts into success. (but voltages you try are at your own risk ;))
  • #406 20997238
    pa66
    Level 3  
    Hi,

    I have short cables directly to USB-TTL and 10k resistor.
    Also I have tried extern Power suply and Power from USB-TLL (3,3V)
    Both flashing is successful and i get Access Point. But after I enter wifi nothing happens. (access point is closing).

    Chip is BL602L20

    Should I send any logs? If yes, I need instuction how to ;-)

    Edit: Today I have tried to flash with another Laptop (win10). same result.

    Screenshot of the OpenBL602 software interface showing a boot error message.

    Always I get boot is incomplete.
  • #407 20999415
    pa66
    Level 3  
    This I see in Dev Cube

    
    [11:11:20.515] - ========= Interface is Uart =========
    [11:11:20.515] - eflash loader bin is eflash_loader_40m.bin
    [11:11:20.531] - ========= chip flash id: ef4015 =========
    [11:11:20.531] - create partition.bin, pt_new is True
    [11:11:20.546] - fw_boot_head_gen xtal: 40M
    [11:11:20.562] - Create bootheader using C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini
    [11:11:20.562] - Updating data according to <C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [11:11:20.562] - Created file len:176
    [11:11:20.568] - Create efuse using C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini
    [11:11:20.568] - Updating data according to <C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [11:11:20.568] - Created file len:128
    [11:11:20.584] - ========= sp image create =========
    [11:11:20.584] - Image hash is b'82774d2795142e27c487eb6c5ed47209d8152ee223778545a0f8db88d9b26904'
    [11:11:20.584] - Hash ignored
    [11:11:20.584] - Header crc ignored
    [11:11:20.584] - Write flash img
    [11:11:20.600] - Encrypt efuse data
    [11:11:20.615] - fw_boot_head_gen xtal: 40M
    [11:11:20.615] - Create bootheader using C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini
    [11:11:20.615] - Updating data according to <C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
    [11:11:20.615] - Created file len:176
    [11:11:20.631] - Create efuse using C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini
    [11:11:20.631] - Updating data according to <C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\efuse_bootheader_cfg.ini[EFUSE_CFG]>
    [11:11:20.631] - Created file len:128
    [11:11:20.647] - ========= sp image create =========
    [11:11:20.662] - Image hash is b'16eed6811a6c200419a2b64ca1bb7feff72846530d044b827cf5c9128e71aea3'
    [11:11:20.662] - Header crc: b'01875122'
    [11:11:20.662] - Write flash img
    [11:11:20.669] - Encrypt efuse data
    [11:11:20.669] - FW Header is 176, 3920 still needed
    [11:11:20.684] - FW OTA bin header is Done. Len is 4096
    [11:11:20.785] - BL60X_OTA_Ver1.0
    [11:11:20.901] - FW OTA bin is Done. Len is 760816
    [11:11:21.487] - OTA XZ file len = 405176
    [11:11:21.487] - Partiton len = 557056
    [11:11:21.487] - BL60X_OTA_Ver1.0
    [11:11:21.556] - FW OTA xz is Done
    [11:11:21.556] - ========= eflash loader config =========
    [11:11:21.568] - Image offset = 8192
    [11:11:21.629] - =========C:/Users/ak/Downloads/BouffaloLabDevCube-v1.8.9/chips/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts ——> C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602/device_tree/ro_params.dtb=========
    [11:11:21.876] - True
    [11:11:21.891] - Version: eflash_loader_v2.5.0
    [11:11:21.891] - Program Start
    [11:11:21.891] - ========= eflash loader cmd arguments =========
    [11:11:21.891] - Config file: C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\eflash_loader/eflash_loader_cfg.ini
    [11:11:21.891] - serial port is COM13
    [11:11:21.891] - cpu_reset=False
    [11:11:21.891] - chiptype: bl602
    [11:11:21.891] - ========= Interface is uart =========
    [11:11:21.891] - com speed: 500000
    [11:11:21.891] - Eflash load helper file: C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\eflash_loader/eflash_loader_40m.bin
    [11:11:21.891] - ========= load eflash_loader.bin =========
    [11:11:21.891] - Load eflash_loader.bin via uart
    [11:11:21.891] - ========= image load =========
    [11:11:22.161] - Not ack OK
    [11:11:22.161] - FL
    [11:11:22.161] - result: FL
    [11:11:22.446] - tx rx and power off, press the machine!
    [11:11:22.446] - cutoff time is 0.1
    [11:11:22.562] - power on tx and rx
    [11:11:23.427] - reset cnt: 0, reset hold: 0.005, shake hand delay: 0.1
    [11:11:23.427] - clean buf
    [11:11:23.433] - send sync
    [11:11:23.649] - ack is 4f4b
    [11:11:23.696] - shake hand success
    [11:11:23.712] - get_boot_info
    [11:11:23.712] - data read is b'010000000000000003000000352e004cb97c1b00'
    [11:11:23.712] - ========= chipid: 7cb94c002e35 =========
    [11:11:23.712] - last boot info: None
    [11:11:23.712] - sign is 0 encrypt is 0
    [11:11:23.712] - segcnt is 1
    [11:11:23.712] - segdata_len is 38592
    [11:11:23.796] - 4080/38592
    [11:11:23.881] - 8160/38592
    [11:11:23.965] - 12240/38592
    [11:11:24.050] - 16320/38592
    [11:11:24.134] - 20400/38592
    [11:11:24.228] - 24480/38592
    [11:11:24.313] - 28560/38592
    [11:11:24.398] - 32640/38592
    [11:11:24.482] - 36720/38592
    [11:11:24.513] - 38592/38592
    [11:11:24.513] - Run img
    [11:11:24.629] - Load helper bin time cost(ms): 2737.735107421875
    [11:11:24.752] - Flash load shake hand
    [11:11:24.767] - default set DTR high
    [11:11:24.883] - clean buf
    [11:11:24.883] - send sync
    [11:11:25.083] - ack is 4f4b
    [11:11:25.130] - Read mac addr
    [11:11:25.130] - macaddr: 352e004cb97c
    [11:11:25.130] - flash set para
    [11:11:25.130] - ========= flash read jedec ID =========
    [11:11:25.136] - Read flash jedec ID
    [11:11:25.136] - flash jedec id: ef401580
    [11:11:25.136] - Finished
    [11:11:25.136] - get flash size: 0x00200000
    [11:11:25.136] - Program operation
    [11:11:25.136] - ========= flash chip erase all =========
    [11:11:26.154] - erase pending
    [11:11:27.157] - erase pending
    [11:11:28.175] - erase pending
    [11:11:29.177] - erase pending
    [11:11:29.741] - Chip erase time cost(ms): 4604.44189453125
    [11:11:29.747] - Dealing Index 0
    [11:11:29.747] - ========= programming C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\whole_img_boot2.bin to 0x00000000
    [11:11:29.747] - ========= flash load =========
    [11:11:29.747] - decompress write rx timeout: 24.576
    [11:11:29.778] - decompress flash load 24148
    [11:11:29.825] - Load 2048/24148 {"progress":8}
    [11:11:29.863] - Load 4096/24148 {"progress":16}
    [11:11:29.910] - Load 6144/24148 {"progress":25}
    [11:11:29.947] - Load 8192/24148 {"progress":33}
    [11:11:29.994] - Load 10240/24148 {"progress":42}
    [11:11:30.041] - Load 12288/24148 {"progress":50}
    [11:11:30.079] - Load 14336/24148 {"progress":59}
    [11:11:30.125] - Load 16384/24148 {"progress":67}
    [11:11:30.163] - Load 18432/24148 {"progress":76}
    [11:11:30.210] - Load 20480/24148 {"progress":84}
    [11:11:30.263] - Load 22528/24148 {"progress":93}
    [11:11:30.294] - Load 24148/24148 {"progress":100}
    [11:11:30.294] - Load 24148/24148 {"progress":100}
    [11:11:30.294] - Write check
    [11:11:30.310] - Flash load time cost(ms): 563.206787109375
    [11:11:30.310] - Finished
    [11:11:30.310] - Sha caled by host: 91ebf43fea177ef04e297343e8a39c2bafb533af6d2c935a74bc4c91acb4ad5e
    [11:11:30.310] - xip mode Verify
    [11:11:30.341] - Read Sha256/47872
    [11:11:30.341] - Flash xip readsha time cost(ms): 15.62060546875
    [11:11:30.341] - Finished
    [11:11:30.341] - Sha caled by dev: 91ebf43fea177ef04e297343e8a39c2bafb533af6d2c935a74bc4c91acb4ad5e
    [11:11:30.341] - Verify success
    [11:11:30.348] - Dealing Index 1
    [11:11:30.348] - ========= programming chips\bl602\partition\partition.bin to 0x0000E000
    [11:11:30.348] - ========= flash load =========
    [11:11:30.363] - Load 272/272 {"progress":100}
    [11:11:30.363] - Load 272/272 {"progress":100}
    [11:11:30.363] - Write check
    [11:11:30.363] - Flash load time cost(ms): 15.627685546875
    [11:11:30.363] - Finished
    [11:11:30.363] - Sha caled by host: fd6af18fc4aaf2807277cac767ca19d12af7b55f5ecbb8902ef28bc2430524aa
    [11:11:30.363] - xip mode Verify
    [11:11:30.363] - Read Sha256/272
    [11:11:30.363] - Flash xip readsha time cost(ms): 0.0
    [11:11:30.363] - Finished
    [11:11:30.379] - Sha caled by dev: fd6af18fc4aaf2807277cac767ca19d12af7b55f5ecbb8902ef28bc2430524aa
    [11:11:30.379] - Verify success
    [11:11:30.379] - Dealing Index 2
    [11:11:30.379] - ========= programming chips\bl602\partition\partition.bin to 0x0000F000
    [11:11:30.379] - ========= flash load =========
    [11:11:30.395] - Load 272/272 {"progress":100}
    [11:11:30.395] - Load 272/272 {"progress":100}
    [11:11:30.395] - Write check
    [11:11:30.395] - Flash load time cost(ms): 15.708984375
    [11:11:30.395] - Finished
    [11:11:30.395] - Sha caled by host: fd6af18fc4aaf2807277cac767ca19d12af7b55f5ecbb8902ef28bc2430524aa
    [11:11:30.395] - xip mode Verify
    [11:11:30.410] - Read Sha256/272
    [11:11:30.410] - Flash xip readsha time cost(ms): 15.556884765625
    [11:11:30.410] - Finished
    [11:11:30.410] - Sha caled by dev: fd6af18fc4aaf2807277cac767ca19d12af7b55f5ecbb8902ef28bc2430524aa
    [11:11:30.410] - Verify success
    [11:11:30.410] - Dealing Index 3
    [11:11:30.410] - ========= programming C:\Users\ak\Downloads\BouffaloLabDevCube-v1.8.9\chips\bl602\img_create_iot\whole_img.bin to 0x00010000
    [11:11:30.410] - ========= flash load =========
    [11:11:30.410] - decompress write rx timeout: 24.576
    [11:11:30.844] - decompress flash load 405176
    [11:11:30.894] - Load 2048/405176 {"progress":0}
    [11:11:30.935] - Load 4096/405176 {"progress":1}
    [11:11:30.966] - Load 6144/405176 {"progress":1}
    [11:11:31.020] - Load 8192/405176 {"progress":2}
    [11:11:31.067] - Load 10240/405176 {"progress":2}
    [11:11:31.105] - Load 12288/405176 {"progress":3}
    [11:11:31.152] - Load 14336/405176 {"progress":3}
    [11:11:31.199] - Load 16384/405176 {"progress":4}
    [11:11:31.237] - Load 18432/405176 {"progress":4}
    [11:11:31.283] - Load 20480/405176 {"progress":5}
    [11:11:31.328] - Load 22528/405176 {"progress":5}
    [11:11:31.367] - Load 24576/405176 {"progress":6}
    [11:11:31.418] - Load 26624/405176 {"progress":6}
    [11:11:31.462] - Load 28672/405176 {"progress":7}
    [11:11:31.504] - Load 30720/405176 {"progress":7}
    [11:11:31.544] - Load 32768/405176 {"progress":8}
    [11:11:31.591] - Load 34816/405176 {"progress":8}
    [11:11:31.637] - Load 36864/405176 {"progress":9}
    [11:11:31.675] - Load 38912/405176 {"progress":9}
    [11:11:31.722] - Load 40960/405176 {"progress":10}
    [11:11:31.760] - Load 43008/405176 {"progress":10}
    [11:11:31.807] - Load 45056/405176 {"progress":11}
    [11:11:31.844] - Load 47104/405176 {"progress":11}
    [11:11:31.891] - Load 49152/405176 {"progress":12}
    [11:11:31.944] - Load 51200/405176 {"progress":12}
    [11:11:31.976] - Load 53248/405176 {"progress":13}
    [11:11:32.022] - Load 55296/405176 {"progress":13}
    [11:11:32.060] - Load 57344/405176 {"progress":14}
    [11:11:32.107] - Load 59392/405176 {"progress":14}
    [11:11:32.160] - Load 61440/405176 {"progress":15}
    [11:11:32.192] - Load 63488/405176 {"progress":15}
    [11:11:32.245] - Load 65536/405176 {"progress":16}
    [11:11:32.292] - Load 67584/405176 {"progress":16}
    [11:11:32.323] - Load 69632/405176 {"progress":17}
    [11:11:32.377] - Load 71680/405176 {"progress":17}
    [11:11:32.424] - Load 73728/405176 {"progress":18}
    [11:11:32.461] - Load 75776/405176 {"progress":18}
    [11:11:32.508] - Load 77824/405176 {"progress":19}
    [11:11:32.546] - Load 79872/405176 {"progress":19}
    [11:11:32.593] - Load 81920/405176 {"progress":20}
    [11:11:32.640] - Load 83968/405176 {"progress":20}
    [11:11:32.677] - Load 86016/405176 {"progress":21}
    [11:11:32.724] - Load 88064/405176 {"progress":21}
    [11:11:32.777] - Load 90112/405176 {"progress":22}
    [11:11:32.809] - Load 92160/405176 {"progress":22}
    [11:11:32.862] - Load 94208/405176 {"progress":23}
    [11:11:32.909] - Load 96256/405176 {"progress":23}
    [11:11:32.946] - Load 98304/405176 {"progress":24}
    [11:11:32.993] - Load 100352/405176 {"progress":24}
    [11:11:33.040] - Load 102400/405176 {"progress":25}
    [11:11:33.078] - Load 104448/405176 {"progress":25}
    [11:11:33.125] - Load 106496/405176 {"progress":26}
    [11:11:33.162] - Load 108544/405176 {"progress":26}
    [11:11:33.209] - Load 110592/405176 {"progress":27}
    [11:11:33.246] - Load 112640/405176 {"progress":27}
    [11:11:33.293] - Load 114688/405176 {"progress":28}
    [11:11:33.346] - Load 116736/405176 {"progress":28}
    [11:11:33.378] - Load 118784/405176 {"progress":29}
    [11:11:33.425] - Load 120832/405176 {"progress":29}
    [11:11:33.478] - Load 122880/405176 {"progress":30}
    [11:11:33.509] - Load 124928/405176 {"progress":30}
    [11:11:33.562] - Load 126976/405176 {"progress":31}
    [11:11:33.609] - Load 129024/405176 {"progress":31}
    [11:11:33.646] - Load 131072/405176 {"progress":32}
    [11:11:33.693] - Load 133120/405176 {"progress":32}
    [11:11:33.740] - Load 135168/405176 {"progress":33}
    [11:11:33.778] - Load 137216/405176 {"progress":33}
    [11:11:33.825] - Load 139264/405176 {"progress":34}
    [11:11:33.862] - Load 141312/405176 {"progress":34}
    [11:11:33.909] - Load 143360/405176 {"progress":35}
    [11:11:33.962] - Load 145408/405176 {"progress":35}
    [11:11:33.993] - Load 147456/405176 {"progress":36}
    [11:11:34.046] - Load 149504/405176 {"progress":36}
    [11:11:34.093] - Load 151552/405176 {"progress":37}
    [11:11:34.124] - Load 153600/405176 {"progress":37}
    [11:11:34.178] - Load 155648/405176 {"progress":38}
    [11:11:34.209] - Load 157696/405176 {"progress":38}
    [11:11:34.262] - Load 159744/405176 {"progress":39}
    [11:11:34.309] - Load 161792/405176 {"progress":39}
    [11:11:34.347] - Load 163840/405176 {"progress":40}
    [11:11:34.394] - Load 165888/405176 {"progress":40}
    [11:11:34.441] - Load 167936/405176 {"progress":41}
    [11:11:34.478] - Load 169984/405176 {"progress":41}
    [11:11:34.525] - Load 172032/405176 {"progress":42}
    [11:11:34.562] - Load 174080/405176 {"progress":42}
    [11:11:34.609] - Load 176128/405176 {"progress":43}
    [11:11:34.663] - Load 178176/405176 {"progress":43}
    [11:11:34.694] - Load 180224/405176 {"progress":44}
    [11:11:34.747] - Load 182272/405176 {"progress":44}
    [11:11:34.794] - Load 184320/405176 {"progress":45}
    [11:11:34.826] - Load 186368/405176 {"progress":45}
    [11:11:34.879] - Load 188416/405176 {"progress":46}
    [11:11:34.926] - Load 190464/405176 {"progress":47}
    [11:11:34.964] - Load 192512/405176 {"progress":47}
    [11:11:35.011] - Load 194560/405176 {"progress":48}
    [11:11:35.048] - Load 196608/405176 {"progress":48}
    [11:11:35.095] - Load 198656/405176 {"progress":49}
    [11:11:35.142] - Load 200704/405176 {"progress":49}
    [11:11:35.180] - Load 202752/405176 {"progress":50}
    [11:11:35.227] - Load 204800/405176 {"progress":50}
    [11:11:35.264] - Load 206848/405176 {"progress":51}
    [11:11:35.311] - Load 208896/405176 {"progress":51}
    [11:11:35.359] - Load 210944/405176 {"progress":52}
    [11:11:35.401] - Load 212992/405176 {"progress":52}
    [11:11:35.447] - Load 215040/405176 {"progress":53}
    [11:11:35.485] - Load 217088/405176 {"progress":53}
    [11:11:35.532] - Load 219136/405176 {"progress":54}
    [11:11:35.570] - Load 221184/405176 {"progress":54}
    [11:11:35.617] - Load 223232/405176 {"progress":55}
    [11:11:35.664] - Load 225280/405176 {"progress":55}
    [11:11:35.702] - Load 227328/405176 {"progress":56}
    [11:11:35.749] - Load 229376/405176 {"progress":56}
    [11:11:35.802] - Load 231424/405176 {"progress":57}
    [11:11:35.833] - Load 233472/405176 {"progress":57}
    [11:11:35.887] - Load 235520/405176 {"progress":58}
    [11:11:35.918] - Load 237568/405176 {"progress":58}
    [11:11:35.971] - Load 239616/405176 {"progress":59}
    [11:11:36.018] - Load 241664/405176 {"progress":59}
    [11:11:36.049] - Load 243712/405176 {"progress":60}
    [11:11:36.103] - Load 245760/405176 {"progress":60}
    [11:11:36.149] - Load 247808/405176 {"progress":61}
    [11:11:36.187] - Load 249856/405176 {"progress":61}
    [11:11:36.234] - Load 251904/405176 {"progress":62}
    [11:11:36.272] - Load 253952/405176 {"progress":62}
    [11:11:36.318] - Load 256000/405176 {"progress":63}
    [11:11:36.365] - Load 258048/405176 {"progress":63}
    [11:11:36.403] - Load 260096/405176 {"progress":64}
    [11:11:36.450] - Load 262144/405176 {"progress":64}
    [11:11:36.488] - Load 264192/405176 {"progress":65}
    [11:11:36.535] - Load 266240/405176 {"progress":65}
    [11:11:36.573] - Load 268288/405176 {"progress":66}
    [11:11:36.620] - Load 270336/405176 {"progress":66}
    [11:11:36.667] - Load 272384/405176 {"progress":67}
    [11:11:36.704] - Load 274432/405176 {"progress":67}
    [11:11:36.751] - Load 276480/405176 {"progress":68}
    [11:11:36.789] - Load 278528/405176 {"progress":68}
    [11:11:36.835] - Load 280576/405176 {"progress":69}
    [11:11:36.889] - Load 282624/405176 {"progress":69}
    [11:11:36.920] - Load 284672/405176 {"progress":70}
    [11:11:36.973] - Load 286720/405176 {"progress":70}
    [11:11:37.021] - Load 288768/405176 {"progress":71}
    [11:11:37.052] - Load 290816/405176 {"progress":71}
    [11:11:37.105] - Load 292864/405176 {"progress":72}
    [11:11:37.152] - Load 294912/405176 {"progress":72}
    [11:11:37.190] - Load 296960/405176 {"progress":73}
    [11:11:37.237] - Load 299008/405176 {"progress":73}
    [11:11:37.274] - Load 301056/405176 {"progress":74}
    [11:11:37.321] - Load 303104/405176 {"progress":74}
    [11:11:37.368] - Load 305152/405176 {"progress":75}
    [11:11:37.406] - Load 307200/405176 {"progress":75}
    [11:11:37.453] - Load 309248/405176 {"progress":76}
    [11:11:37.491] - Load 311296/405176 {"progress":76}
    [11:11:37.537] - Load 313344/405176 {"progress":77}
    [11:11:37.575] - Load 315392/405176 {"progress":77}
    [11:11:37.622] - Load 317440/405176 {"progress":78}
    [11:11:37.675] - Load 319488/405176 {"progress":78}
    [11:11:37.706] - Load 321536/405176 {"progress":79}
    [11:11:37.753] - Load 323584/405176 {"progress":79}
    [11:11:37.791] - Load 325632/405176 {"progress":80}
    [11:11:37.838] - Load 327680/405176 {"progress":80}
    [11:11:37.891] - Load 329728/405176 {"progress":81}
    [11:11:37.922] - Load 331776/405176 {"progress":81}
    [11:11:37.975] - Load 333824/405176 {"progress":82}
    [11:11:38.022] - Load 335872/405176 {"progress":82}
    [11:11:38.054] - Load 337920/405176 {"progress":83}
    [11:11:38.107] - Load 339968/405176 {"progress":83}
    [11:11:38.154] - Load 342016/405176 {"progress":84}
    [11:11:38.191] - Load 344064/405176 {"progress":84}
    [11:11:38.238] - Load 346112/405176 {"progress":85}
    [11:11:38.276] - Load 348160/405176 {"progress":85}
    [11:11:38.322] - Load 350208/405176 {"progress":86}
    [11:11:38.376] - Load 352256/405176 {"progress":86}
    [11:11:38.407] - Load 354304/405176 {"progress":87}
    [11:11:38.454] - Load 356352/405176 {"progress":87}
    [11:11:38.507] - Load 358400/405176 {"progress":88}
    [11:11:38.539] - Load 360448/405176 {"progress":88}
    [11:11:38.592] - Load 362496/405176 {"progress":89}
    [11:11:38.639] - Load 364544/405176 {"progress":89}
    [11:11:38.676] - Load 366592/405176 {"progress":90}
    [11:11:38.723] - Load 368640/405176 {"progress":90}
    [11:11:38.755] - Load 370688/405176 {"progress":91}
    [11:11:38.808] - Load 372736/405176 {"progress":91}
    [11:11:38.855] - Load 374784/405176 {"progress":92}
    [11:11:38.892] - Load 376832/405176 {"progress":93}
    [11:11:38.939] - Load 378880/405176 {"progress":93}
    [11:11:38.977] - Load 380928/405176 {"progress":94}
    [11:11:39.024] - Load 382976/405176 {"progress":94}
    [11:11:39.071] - Load 385024/405176 {"progress":95}
    [11:11:39.108] - Load 387072/405176 {"progress":95}
    [11:11:39.155] - Load 389120/405176 {"progress":96}
    [11:11:39.193] - Load 391168/405176 {"progress":96}
    [11:11:39.240] - Load 393216/405176 {"progress":97}
    [11:11:39.277] - Load 395264/405176 {"progress":97}
    [11:11:39.324] - Load 397312/405176 {"progress":98}
    [11:11:39.377] - Load 399360/405176 {"progress":98}
    [11:11:39.409] - Load 401408/405176 {"progress":99}
    [11:11:39.456] - Load 403456/405176 {"progress":99}
    [11:11:39.493] - Load 405176/405176 {"progress":100}
    [11:11:39.493] - Load 405176/405176 {"progress":100}
    [11:11:39.493] - Write check
    [11:11:39.524] - Flash load time cost(ms): 9114.286376953125
    [11:11:39.540] - Finished
    [11:11:39.540] - Sha caled by host: 669d9ff97c68c57fc944c7c4530ac938bcaf20131da5638996bd93a08499385d
    [11:11:39.540] - xip mode Verify
    [11:11:39.756] - Read Sha256/760816
    [11:11:39.756] - Flash xip readsha time cost(ms): 216.021484375
    [11:11:39.756] - Finished
    [11:11:39.756] - Sha caled by dev: 669d9ff97c68c57fc944c7c4530ac938bcaf20131da5638996bd93a08499385d
    [11:11:39.756] - Verify success
    [11:11:39.756] - Dealing Index 4
    [11:11:39.756] - ========= programming chips\bl602\device_tree\ro_params.dtb to 0x001F8000
    [11:11:39.756] - ========= flash load =========
    [11:11:39.756] - decompress write rx timeout: 24.576
    [11:11:39.778] - decompress flash load 1584
    [11:11:39.810] - Load 1584/1584 {"progress":100}
    [11:11:39.810] - Load 1584/1584 {"progress":100}
    [11:11:39.810] - Write check
    [11:11:39.825] - Flash load time cost(ms): 69.203125
    [11:11:39.841] - Finished
    [11:11:39.841] - Sha caled by host: 2030ce2a98174d1e1bc02905472a5c55ff0df9d7274c49efd787982af2430e58
    [11:11:39.841] - xip mode Verify
    [11:11:39.841] - Read Sha256/5982
    [11:11:39.841] - Flash xip readsha time cost(ms): 0.0
    [11:11:39.841] - Finished
    [11:11:39.841] - Sha caled by dev: 2030ce2a98174d1e1bc02905472a5c55ff0df9d7274c49efd787982af2430e58
    [11:11:39.841] - Verify success
    [11:11:39.841] - Program Finished
    [11:11:39.841] - All time cost(ms): 17949.369140625
    [11:11:39.957] - close interface
    [11:11:39.957] - [All Success]
    
  • #408 20999419
    divadiow
    Level 34  
    What is the boot log output of OBK as you try to join the AP? Does the bl602 reboot as soon as you do?
  • #409 20999427
    p.kaczmarek2
    Moderator Smart Home
    @pa66 we just had a similiar issue in other topic and it turned out that user had some kind of strange WEP security instead of a classic WPA2 or how it was called on the router. In general, the first thing I would suggest is to try with another router.
    Helpful post? Buy me a coffee.
  • #410 20999471
    pa66
    Level 3  
    this is showen if i press log after flashing
    [12:00:33.076] - Flash load shake hand
    [12:00:33.229] - default set DTR high
    [12:00:33.345] - clean buf
    [12:00:33.345] - send sync
    [12:00:33.561] - ack is 4f4b
    [12:00:33.645] - Read log
    [12:00:33.645] - log:
    [12:00:33.645] - ========================================================
    [12:00:33.645] - system clock=160M
    MCU SDK:8962397a97ccbf1c278a7ca3b44f935a8b7331df
    BSP Driver:ebefe355c985f313446ff4d1c16d966838128ce0
    BSP Common:53a909df50503d5716ebda7a9412933a775c3c82
    Xtal=4
    flash pin=0
    Flash detect:801540ef
    Flash ID=1540ef
    F80M
    QE
    BDR: 500000
    C
    RMA
    JID
    CE
    CW
    Simple Malloc 1192
    Simple Malloc 28452
    Simple Malloc 32768
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    Simple Free 4203e3cc
    Simple Free 420374a8
    Simple Free 42037000
    WC
    xip
    burst wrap
    XRSha
    exit
    W
    WC
    xip
    burst wrap
    XRSha
    exit
    W
    WC
    xip
    burst wrap
    XRSha
    exit
    CW
    Simple Malloc 1192
    Simple Malloc 28452
    Simple Malloc 32768
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    CW
    Simple Free 4203e3cc
    Simple Free 420374a8
    Simple Free 42037000
    WC
    xip
    burst wrap
    XRSha
    exit
    CW
    Simple Malloc 1192
    Simple Malloc 28452
    Simple Malloc 32768
    Simple Free 4203e3cc
    Simple Free 420374a8
    Simple Free 42037000
    WC
    xip
    burst wrap
    XRSha
    exit
    return
    return
    BBDR: 500000
    C
    RL
    [12:00:33.730] - ========================================================
    [12:00:33.730] - Finished


    after sucessfull flashing I stop power. after restart there is this log as follow
    [12:05:28.189] - Flash load shake hand
    [12:05:28.327] - default set DTR high
    [12:05:28.443] - clean buf
    [12:05:28.458] - send sync
    [12:05:28.559] - ack is
    [12:05:28.559] - retry
    [12:05:28.559] - default set DTR high
    [12:05:28.674] - clean buf
    [12:05:28.674] - send sync
    [12:05:28.790] - ack is
    [12:05:28.790] - retry
    [12:05:28.790] - ErrorCode: 0001, ErrorMsg: BFLB EFLASH LOADER SHAKEHAND FAIL
    [12:05:28.790] - Shake hand redo
    [12:05:29.392] - FL34a9 unknown
    [12:05:29.392] - Not ack OK
    [12:05:29.392] - FL34a9 unknown
    [12:05:29.392] - Read log
    [12:05:29.407] - Read Fail


    also i tried hotspot via Handy... same problem, so i do not think it is a problem with router. but I will test without wpa2 wep

    Edit: I have tried without security in Fritzbox....yes now Bouffalolab-BL602-002e35 is in Wlan
    At Fritzbox 7590 AX you can select
    - WPA2+WPA3 --> not working
    - WPA2(CCMP) --> working
  • #411 21008424
    divadiow
    Level 34  
    just to add to the public record that this is the boot log of OBK flashed to a BL602 4mb dev board (http://www.ai-thinker.com/pro_view-113.html). powered by 5V USB-C. Flashed first time using BLDC 1.8.9, as you'd expect for a dev board. flash ID c8401680. perhaps useful to know what the log output from a BL602 NOT in a freed Tuya IOT device

    Code: Text
    Log in, to see the code


    on-board RGB LED tested fine with

    "3": "PWM;3",
    "14": "PWM;1",
    "17": "PWM;2"

    BL602 AI-Thinker development board with a connected USB-C cable.

    Screenshot of the OpenBL602_43C90001 interface with PWM slider and Wi-Fi information.

    Added after 55 [minutes]:

    tell you what though, it's still a bit finicky. I did OTA to latest OBK and the AP didn't come back up. board was not boot looping.

    flashed again/erased/flashed but still no AP. flashed using BLDC 1.4.8 and now AP again. Maybe the key is to get it straight onto a network on first boot? Not sure why reflashing wouldn't wipe it clean though. or why 1.4.8 is any different.
  • #412 21029310
    Raufaser
    Level 10  
    >>20969494

    I go the same device from aliexpress.
    WiFi LED controller with a QR code and specifications on the casing.

    That is how it is originally wired:
    PCB with electronic components, a capacitor, and wires.

    Better views of the PCB front and back:
    Close-up of a PCB with various electronic components. Close-up of the back side of a printed circuit board with markings.

    And a close up of the chip.

    Close-up of a PCB with F68C20 chip and electronic components.

    Flashed es BL602 without problems with Buffalo Lab Dev Cube 1.8.9

    But somehow my device acts weird. I connect it to a 10V DC power supply. Without doing anything it heats up pretty quickly above 70C

    Screenshot of a device interface indicating a high internal temperature of 71.2°C.

    This is what is see at the output on my scope:
    Tasmota replacement for BL602, programming, pairing with Home Assistant, now with OTA working!

    Where does that come from? It is not my power supply. That is true 10V DC.

    10V DC is what i get when i turn the dimmer on at 100%:

    Tasmota replacement for BL602, programming, pairing with Home Assistant, now with OTA working!

    At 50% i get this:
    Tasmota replacement for BL602, programming, pairing with Home Assistant, now with OTA working!

    At 0% this is what my scope shows:
    Tasmota replacement for BL602, programming, pairing with Home Assistant, now with OTA working!

    Any ideas?
  • #413 21032456
    killah78
    Level 1  
    Hi,
    I have the same issue like pa66 has. So I flashed and AP is ok, but it won't connect to the wifi. I also use a Fritzbox router. When I change WPA2 + WPA3 encryption to WPA2 only it's working fine.
    Is that a software thing, that can be fixed? All my other mini smart switches have a BK7231N and connect fine with WPA2+3 setting. And don'T know yet if I want to stick with WPA2 only mode.

    Second question: how can I show the boot log? When I tried with putty with 2m baudrate I got strange charcters only. Tried some other baudrates, but always showed rubbish.

    Third: I purchased the mini switches with the plan to implantate an ESP, wasn't aware of the OpenBK, but it's a great Tasmota replacement for those devices with the bk or bl chip. Really great work! Thank you!. :-)
  • #414 21040960
    divadiow
    Level 34  
    divadiow wrote:
    @mjleonard @p.kaczmarek2 did you ever find a solution for "bl_romfs.c: 146] romfs magic is NOT correct"?


    I hadn't realised that actually this error (?) is seen in the boot log of an untouched Tuya factory fw output, before OBK goes anywhere near it.

    https://www.elektroda.com/rtvforum/topic4024917-30.html#21040727

    So, does this make it part of the bootloader? either way, nothing to do with OBK.

    I've been harping on about this error for ages! 😳

    Added after 4 [minutes]:

    killah78 wrote:
    Is that a software thing, that can be fixed? All my other mini smart switches have a BK7231N and connect fine with WPA2+3 setting. And don'T know yet if I want to stick with WPA2 only mode.


    it can be fixed probably with newer SDK wifi driver updates, but I don't have the time or expertise currently. Not sure who else does.

    killah78 wrote:
    Second question: how can I show the boot log? When I tried with putty with 2m baudrate I got strange charcters only. Tried some other baudrates, but always showed rubbish.


    I mostly use the UART log display of BL Dev Cube itself for this. It seems better at interpreting characters than Putty for the BL602s

    User interface of software for programming a microcontroller with UART log.
  • #415 21055300
    Maniac2002
    Level 6  
    Hallo,

    ich habe ein Problem mit dem WLAN:
    Mein Schlüssel isst 26-stellig. Kann es Sein, dass im Firmwarefile die Länge beschränkt ist?
    Es funktioniert leider kein Login ins WLAN.
    Bei WLAN's mit einem kürzeren Passwort funktioniert es einwandfrei.
    Kann das vielleicht jemand anpassen, ich möchte ungerne mein WLAN-Passwart ändern.

    Vielen Dank & grüße
    Maniac2002
  • ADVERTISEMENT
  • #416 21055486
    ElektroTechnikus
    Level 8  
    Weiß jetzt nicht, ob ich "Firmwarefile" richtig intepretiere, aber meine OBK-Dinger laufen in einem WLAN mit 62-stelligem WLAN-Schlüssel/-Passwort

    Du hast nicht zufällig den Zugang auf "bekannte Geräte" beschränkt?
  • #417 21055817
    Maniac2002
    Level 6  
    Hallo,

    in der FritzBox sind keine Beschränkungen eingestellt.
    es handelt sich um einen BL602 Chip. Bei allen anderen Chips funktioniert das WLAN ohne Probleme.
    Man kann sich auch die verfügbaren WLAN's nicht ansehen, da steht nur TODO.
    Das WLAN-Name ist 8-steööig, alles große Buchstaben und das Passwort besteht aus 26 Zahlen.

    Hat vielleicht jemand eine Lösung parat?

    Viele Grüße
  • #418 21072238
    ChrizZz
    Level 5  
    Does someone else facing issues with non-responding chips? I have 2 flashed chips - which were used after another at the same place - but both are almost not responding. The place they were used doesn't have the best wifi connection, therefore they might have some dropouts. But even with power off / on and also trying to reset the chip doesn't work. There is a quick connection for a few seconds but after that they are off. I just took 1 flashing the newest firmware (1.17.571) with UART and the issue is still there - just available for maybe 1 min. The logs show:
    Info:MAIN:Main_Init_Before_Delay
    Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 6 changes count.
    Error:CMD:lfs is absent
    Info:GEN:PIN_SetupPins pins have been set up.
    Info:MAIN:Main_Init_Before_Delay done
    Info:MAIN:Main_Init_Delay
    Info:MAIN:Main_Init_Delay done
    Info:MAIN:Main_Init_After_Delay
    Info:MAIN:Using SSID [secret]
    Info:MAIN:Using Pass [secret]
    Info:MQTT:MQTT_RegisterCallback called for bT obl4C21A8FF/ subT obl4C21A8FF/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT bl602s/ subT bl602s/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obl4C21A8FF/ subT cmnd/obl4C21A8FF/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/bl602s/ subT cmnd/bl602s/+
    Info:MQTT:MQTT_RegisterCallback called for bT obl4C21A8FF/ subT obl4C21A8FF/+/get
    Error:CMD:LFS_ReadFile: lfs is absent
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    Info:MAIN:Time 1, idle 0/s, free 106728, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 2, idle 0/s, free 106728, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 3, idle 0/s, free 106728, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 4, idle 0/s, free 106728, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 5, idle 0/s, free 106728, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1
    Info:MAIN:Time 6, idle 0/s, free 104688, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:MAIN:Time 7, idle 0/s, free 104688, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 8, idle 0/s, free 104688, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 9, idle 0/s, free 106688, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
    Info:MAIN:Time 10, idle 0/s, free 106688, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 11, idle 0/s, free 106400, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 3/21 
    Info:MQTT:mqtt_userName secret
    mqtt_pass secret
    mqtt_clientID secret
    mqtt_host secret:secret
    Info:MAIN:Time 12, idle 0/s, free 106688, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:mqtt_connection_cb: Successfully connected
    Info:MQTT:mqtt_subscribed to obl4C21A8FF/+/set
    Info:MQTT:mqtt_subscribed to bl602s/+/set
    Info:MQTT:mqtt_subscribed to cmnd/obl4C21A8FF/+
    Info:MQTT:mqtt_subscribed to cmnd/bl602s/+
    Info:MQTT:mqtt_subscribed to obl4C21A8FF/+/get
    Info:CMD:[WebApp Cmd 'loglevel 3' Result] OK
    Info:MQTT:Publishing val obl4C21A8FF to obl4C21A8FF/host retain=0
    Info:MAIN:Time 13, idle 0/s, free 95424, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 4/21 
    Info:MQTT:Publishing val OpenBL602 1.17.571 May  3 2024 21:03:30 to obl4C21A8FF/build retain=0
    Info:MAIN:Time 14, idle 0/s, free 106672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val 7CB94C21A8FF to obl4C21A8FF/mac retain=0
    Info:MAIN:Time 15, idle 0/s, free 104136, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/21 
    Info:MQTT:Publishing val EasyBox-202971 to obl4C21A8FF/ssid retain=0
    Info:MAIN:Time 16, idle 0/s, free 106672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val 2 to obl4C21A8FF/sockets retain=0
    Info:MAIN:Time 17, idle 0/s, free 106672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val -53 to obl4C21A8FF/rssi retain=0
    Info:MAIN:Time 18, idle 0/s, free 106400, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/21 
    Info:MQTT:Publishing val 18 to obl4C21A8FF/uptime retain=0
    Info:MAIN:Time 19, idle 0/s, free 106672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val 106672 to obl4C21A8FF/freeheap retain=0
    Info:MAIN:Time 20, idle 0/s, free 106672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val 192.168.2.161 to obl4C21A8FF/ip retain=0
    Info:MAIN:Time 21, idle 0/s, free 106672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val 255 to obl4C21A8FF/led_enableAll/get retain=0
    Info:MAIN:Time 22, idle 0/s, free 106584, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic obl4C21A8FF/led_enableAll/get
    Info:MQTT:Publishing val -1 to obl4C21A8FF/led_dimmer/get retain=0
    Info:MAIN:Time 23, idle 0/s, free 106496, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic obl4C21A8FF/led_dimmer/get
    Info:MAIN:Time 24, idle 0/s, free 106496, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 25, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 26, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 27, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 28, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 29, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 30, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 31, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 32, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 33, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 34, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 35, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 36, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 37, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 38, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 39, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 40, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
     val 2 to obl4C21A8FF/sockets retain=0
    Info:MAIN:Time 17, idle 0/s, free 106688, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val -54 to obl4C21A8FF/rssi retain=0
    Info:MAIN:Time 18, idle 0/s, free 106688, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val 18 to obl4C21A8FF/uptime retain=0
    Info:MAIN:Time 19, idle 0/s, free 106688, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val 106688 to obl4C21A8FF/freeheap retain=0
    Info:MAIN:Time 20, idle 0/s, free 106688, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val 192.168.2.161 to obl4C21A8FF/ip retain=0
    Info:MAIN:Time 21, idle 0/s, free 106688, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:Publishing val 255 to obl4C21A8FF/led_enableAll/get retain=0
    Info:MAIN:Time 22, idle 0/s, free 106600, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic obl4C21A8FF/led_enableAll/get
    Info:MQTT:Publishing val -1 to obl4C21A8FF/led_dimmer/get retain=0
    Info:MAIN:Time 23, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic obl4C21A8FF/led_dimmer/get
    Info:MAIN:Time 24, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 25, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 26, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 27, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 28, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 29, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 30, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 31, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 32, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 33, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 34, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 35, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 36, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 37, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 38, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 39, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 40, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 41, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 42, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 43, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 44, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 45, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 46, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 47, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 48, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 49, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 50, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 51, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 52, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 53, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 54, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 55, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 56, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 57, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 58, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 59, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 60, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 61, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 62, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 63, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 64, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 65, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 66, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 67, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 68, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 69, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
    Info:MAIN:Time 70, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 71, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 72, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 73, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 74, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 75, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 76, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 77, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 78, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 79, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 80, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 81, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 82, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 83, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 84, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 85, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 86, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 87, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 88, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 89, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 90, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 91, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 92, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 93, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 94, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 95, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 96, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 97, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 98, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 99, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 100, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 101, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 102, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 103, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 104, idle 0/s, free 106224, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 105, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 106, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 107, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 108, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 109, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 110, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 111, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 112, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 113, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 114, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 115, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 116, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 117, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 118, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 119, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 120, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 121, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 122, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 123, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 124, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 125, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 126, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 127, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 128, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 129, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 130, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 131, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 132, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 133, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 134, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 135, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 136, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 137, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 138, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 139, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 140, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 141, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 142, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 143, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 144, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 145, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 146, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 147, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 148, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 149, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 150, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 151, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 152, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 153, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 154, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 155, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 156, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 157, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 158, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 159, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 160, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 161, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 162, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 163, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 164, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 165, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 166, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Ping 1, socks 2/21 
    Info:MAIN:Time 172, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 173, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 174, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 175, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 176, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 177, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 178, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 179, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 180, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 181, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 182, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 183, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 184, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 185, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 186, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 187, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 188, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 189, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 190, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 191, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 192, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 193, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 194, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 195, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 196, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 197, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 198, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 199, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 200, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 201, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 202, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 203, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 204, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 205, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 206, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 207, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 208, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 209, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 210, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 211, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 212, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 213, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 214, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 215, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 216, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 217, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 218, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 219, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 220, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Ping 1, socks 2/21 
    Info:MAIN:Time 226, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 227, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 228, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 229, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 230, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 231, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 232, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 233, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 234, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 235, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 236, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 237, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 238, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 239, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 240, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 241, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 242, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 243, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 244, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 245, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 246, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 247, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 248, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 249, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 250, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 251, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 252, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 253, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 254, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 255, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 256, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 257, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 258, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 259, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 260, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 261, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 262, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 263, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 264, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 265, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 266, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 267, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 268, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 269, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 270, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 271, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 272, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 273, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 274, idle 0/s, free 100888, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/21 
    Info:MAIN:Time 275, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 276, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 277, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 278, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 279, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 280, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 281, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 282, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 283, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 284, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 285, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    Info:MAIN:Time 286, idle 0/s, free 106512, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 2/21 
    


    Is it possible that it is running out of storage space? Should I try to flash the firmware and wiping everything before? In case - how do I do it? Chip Erase = True in BLDevCube.exe?
  • #419 21072629
    stefan68
    Level 3  
    I wanted to flash a Sonoff MiniR3 with the BL602 chip.
    After flashing with the current Bouffalo Lab Dev Cube 1.8.9
    and rebooting, the device falls into a boot loop and shows the error

    [ 21][ERROR : bl_romfs.c: 146] romfs magic is NOT correct

    Screenshot of Bouffalo Lab Dev Cube 1.8.9 software showing device flashing configuration and an error message.
  • #420 21072686
    divadiow
    Level 34  
    stefan68 wrote:
    the device falls into a boot loop and shows the error


    are you powering by USB-TTL or external PSU still at this point? I've had BL602 boot loop because of this but then is fine on normal device power.

    stefan68 wrote:
    romfs magic is NOT correct


    I don't believe this is anything to be concerned about. I've the same in at least 3 factory firmware boot log outputs - before OpenBeken touches the device. My realisation is only a few posts above https://www.elektroda.com/rtvforum/topic3889041-390.html#21040960

    Colorful screenshot of a log output showing errors related to romfs files.

Topic summary

The discussion centers on a custom Tasmota-like firmware replacement for the BL602 platform by Bouffalo Lab, enabling integration with Home Assistant via MQTT. Key topics include flashing the firmware using USB to UART converters, SDK compilation, and device pairing. Users report successful flashing on MagicHome LED controllers (RGB, RGBW, single color) and Sonoff devices, with detailed guidance on GPIO pin identification and configuration for PWM and relay functions. MQTT integration supports commands for color, dimmer, hue, saturation, and device control, with ongoing improvements to MQTT topic naming, discovery, and feedback reporting. Challenges addressed include MQTT buffer limitations causing device instability, startup behavior with LED blinking, and the absence of OTA updates for BL602 (unlike Beken platforms). The firmware supports saving and restoring channel states, configurable MQTT reporting flags, and plans for Alexa Hue emulation. Users share troubleshooting steps for flashing errors, network connectivity, and device crashes, with developer responses including bug fixes, feature additions, and testing requests. The project emphasizes open-source collaboration, aiming to free IoT devices from manufacturer servers, enhance privacy, and unify multi-vendor ecosystems under a single firmware solution.
Summary generated by the language model.
ADVERTISEMENT