logo elektroda
logo elektroda
X
logo elektroda

Cozylife DS-1211AN 3Gang Touch Switch: 1MB BL602L10 [XT-BL12][DT-BL12] - Images, Firmware & Boot

divadiow 5580 132
ADVERTISEMENT
  • ADVERTISEMENT
  • #122 21642558
    insmod
    Level 29  
    >>21642397
    If 1mb build works on 2mb, then just add CONFIG_BL602_USE_1M_FLASH define directly in sdk. One less job for workflow that way.
  • ADVERTISEMENT
  • #123 21642574
    divadiow
    Level 37  
    Hmm yeh I guess. Will check when home. I think it works fine on 2mb from memory. I wonder what the ACTUAL difference is with CONFIG_BL602_USE_1M_FLASH and if it's use on 2mb+ has any downsides
  • #124 21642580
    insmod
    Level 29  
    >>21642574
    It compiles and uses some specific read/write/erase functions, instead of using ROM ones.
    Actually, there is no need to open a pull in SDK. Just add -DCONF_BL602_USE_1M_FLASH=1 define to CFLAGS in bouffalo.mk in app.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #127 21643058
    insmod
    Level 29  
    >>21643038
    Hmm, it seems that cflags are not exported to global level?
  • #128 21643060
    divadiow
    Level 37  
    trying USER_ https://github.com/divadiow/OpenBK7231T_App/commit/d490f1dac9484f8f0e62228ec20a3a7c1415dae0

    but maybe you already know if this will make any difference

    Added after 3 [minutes]:

    nope. no effect

    Added after 2 [minutes]:

    trying
    Code: Text
    Log in, to see the code


    Added after 7 [minutes]:

    nope.

    could modify SDK I guess, but preference is to keep SDK pure so it can be updated in future without fear of losing changes?
  • #129 21646003
    divadiow
    Level 37  
    insmod wrote:
    Enabled 1M config by default (it works fine on 4mb module).


    thanks.
    bl602_ir_9f263cba4454
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/17263341611

    1mb module. miegapele 1mb toml

    first boot:
    Spoiler:
    Starting bl602 now....
    Booting BL602 Chip...
    ██████╗ ██╗ ██████╗ ██████╗ ██████╗
    ██╔══██╗██║ ██╔════╝ ██╔═████╗╚════██╗
    ██████╔╝██║ ███████╗ ██║██╔██║ █████╔╝
    ██╔══██╗██║ ██╔═══██╗████╔╝██║██╔═══╝
    ██████╔╝███████╗╚██████╔╝╚██████╔╝███████╗
    ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚══════╝


    ------------------------------------------------------------
    RISC-V Core Feature:RV32-ACFIMX
    Build Version: release_bl_iot_sdk_1.6.39-238-gf5ba0a7ee
    Build Date: Aug 27 2025
    Build Time: 09:54:04
    ------------------------------------------------------------

    blog init set power on level 2, 2, 2.
    [IRQ] Clearing and Disable all the pending IRQ...
    [ 0][INFO: hal_boot2.c: 282] [HAL] [BOOT2] Active Partition[0] consumed 596 Bytes
    [ 0][INFO: hal_boot2.c: 82] ======= PtTable_Config @0x4200f524=======
    [ 0][INFO: hal_boot2.c: 83] magicCode 0x54504642; version 0x0000; entryCnt 4; age 0; crc32 0x944BE888
    [ 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 0x00000000 0x000d7000 0x00000000 0
    [ 0][INFO: hal_boot2.c: 91] [01] 03 0 0 media 0x000e7000 0x00000000 0x00002000 0x00000000 0
    [ 0][INFO: hal_boot2.c: 91] [02] 04 0 0 PSM 0x000e9000 0x00000000 0x00008000 0x00000000 0
    [ 0][INFO: hal_boot2.c: 91] [03] 07 0 0 factory 0x000f1000 0x00000000 0x00007000 0x00000000 0
    [ 0][INFO: bl_flash.c: 391] ======= FlashCfg magiccode @0x42049c18=======
    [ 0][INFO: bl_flash.c: 392] mid 0xC2
    [ 0][INFO: bl_flash.c: 393] clkDelay 0x1
    [ 0][INFO: bl_flash.c: 394] clkInvert 0x1
    [ 0][INFO: bl_flash.c: 395] sector size 4KBytes
    [ 0][INFO: bl_flash.c: 396] page size 256Bytes
    [ 0][INFO: bl_flash.c: 397] ---------------------------------------------------------------
    [ 0][INFO: hal_board.c:1249] [MAIN] [BOARD] [FLASH] addr from partition is 000f1000, ret is 0
    [ 0][INFO: hal_board.c:1257] [MAIN] [BOARD] [XIP] addr from partition is 230e0000, 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
    Read slot:0
    [ 0][INFO: hal_board.c: 187] Set MAC addrress C4:D7:FD:43:90:45
    [ 0][INFO: hal_board.c: 955] country_code : 86
    [ 0][INFO: hal_board.c: 342] xtal_mode is MF
    Read slot:0
    [ 0][INFO: hal_board.c: 374] get xtal from M ready 29 29 1 60 60
    [ 0][INFO: hal_board.c: 846] pwr_table_11b :20 20 20 18
    [ 0][INFO: hal_board.c: 860] pwr_table_11g :18 18 18 18 18 18 14 14
    [ 0][INFO: hal_board.c: 878] pwr_table_11n :18 18 18 18 18 16 14 14
    No written slot found
    [ 0][BUF: hal_board.c: 606] 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    [ 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
    [OS] Starting aos_loop_proc task...
    [OS] Starting OS Scheduler...
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name PSM
    id 0
    offset 0x000e9000(954368)
    size 0x00008000(32Kbytes)
    xip_addr 0x230d8000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [EF] Found Valid PSM partition, XIP Addr 230d8000, flash addr 000e9000, size 32768
    ENV AREA SIZE 32768, SECTOR NUM 8
    *default_env_size = 0x00000001
    ENV start address is 0x00000000, size is 32768 bytes.
    Warning: Sector header check failed. Format this sector (0x00000000).
    Warning: Sector header check failed. Format this sector (0x00001000).
    Warning: Sector header check failed. Format this sector (0x00002000).
    Warning: Sector header check failed. Format this sector (0x00003000).
    Warning: Sector header check failed. Format this sector (0x00004000).
    Warning: Sector header check failed. Format this sector (0x00005000).
    Warning: Sector header check failed. Format this sector (0x00006000).
    Warning: Sector header check failed. Format this sector (0x00007000).
    Warning: All sector header check failed. Set it to default.
    [ 890][WARN : bl_mtd.c: 205] addr@0x23097a20 is xip flash, size 10
    [ 890][WARN : bl_mtd.c: 205] addr@0x230b0bec is xip flash, size 1
    EasyFlash V4.0.99 is initialize success.
    You can get the latest version on https://github.com/armink/EasyFlash .
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name media
    id 0
    offset 0x000e7000(946176)
    size 0x00002000(8Kbytes)
    xip_addr 0x230d6000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [ 901][ERROR : bl_romfs.c: 158] romfs magic is NOT correct
    [ 903][INFO : hosal_adc.c: 459] offset = 2228
    [ 903][INFO : hosal_adc.c: 233] ADC freq: 284Hz. div:6
    [OS] Starting proc_mian_entry task...
    [OS] Starting TCP/IP Stack...
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name PSM
    id 0
    offset 0x000e9000(954368)
    size 0x00008000(32Kbytes)
    xip_addr 0x230d8000
    [MTD] <<<<<< H xip_addr 0x230d8000
    anlde info End <<<<<<
    [EF] Found Valid PSM partition, XIP Addr 230d8000, flash addr 000e9000, size 32768
    ENV AREA SIZE 32768, SECTOR NUM 8
    *default_env_size = 0x00000001
    EasyFlash V4.0.99 is initialize success.
    You can get the latest version on https://github.com/armink/EasyFlash .
    Start Wi-Fi fw @966ms
    1th channel,lo_vco_freq_cw=135
    2th channel,lo_vco_freq_cw=134
    3th channel,lo_vco_freq_cw=133
    4th channel,lo_vco_freq_cw=132
    5th channel,lo_vco_freq_cw=131
    6th channel,lo_vco_freq_cw=130
    7th channel,lo_vco_freq_cw=128
    8th channel,lo_vco_freq_cw=127
    9th channel,lo_vco_freq_cw=126
    10th channel,lo_vco_freq_cw=125
    11th channel,lo_vco_freq_cw=124
    12th channel,lo_vco_freq_cw=123
    13th channel,lo_vco_freq_cw=122
    14th channel,lo_vco_freq_cw=121
    15th channel,lo_vco_freq_cw=119
    16th channel,lo_vco_freq_cw=118
    17th channel,lo_vco_freq_cw=117
    18th channel,lo_vco_freq_cw=116
    19th channel,lo_vco_freq_cw=115
    20th channel,lo_vco_freq_cw=114
    21th channel,lo_vco_freq_cw=113
    0th channel,vco_idac_cw=12
    1th channel,vco_idac_cw=11
    2th channel,vco_idac_cw=11
    3th channel,vco_idac_cw=11
    4th channel,vco_idac_cw=11
    5th channel,vco_idac_cw=11
    6th channel,vco_idac_cw=11
    7th channel,vco_idac_cw=11
    8th channel,vco_idac_cw=10
    9th channel,vco_idac_cw=10
    10th channel,vco_idac_cw=10
    11th channel,vco_idac_cw=10
    12th channel,vco_idac_cw=10
    13th channel,vco_idac_cw=10
    14th channel,vco_idac_cw=10
    15th channel,vco_idac_cw=10
    16th channel,vco_idac_cw=10
    17th channel,vco_idac_cw=10
    18th channel,vco_idac_cw=10
    19th channel,vco_idac_cw=10
    20th channel,vco_idac_cw=10
    LO locked 9 126
    rosdac_i_gc3=35
    rosdac_i_gc2=35
    rosdac_i_gc1=35
    rosdac_i_gc0=35
    rosdac_q_gc3=32
    rosdac_q_gc2=32
    rosdac_q_gc1=32
    rosdac_q_gc0=32
    rbb_cap1_fc_i=17,rbb_cap2_fc_i=17,rbb_cap1_fc_q=17,rbb_cap2_fc_q=17
    new rbb_cap1_fc_i=41,rbb_cap2_fc_i=41,rbb_cap1_fc_q=41,rbb_cap2_fc_q=41
    LO locked 9 126
    amp=128,step=32,adc_mean_i=29
    amp=160,step=16,adc_mean_i=48
    amp=176,step=8,adc_mean_i=59
    amp=184,step=4,adc_mean_i=65
    amp=188,step=2,adc_mean_i=67
    amp=190,step=1,adc_mean_i=69
    amp=191,step=0,adc_mean_i=70
    tmx_cs=0, tmxcs_pwr_avg=16484, tmxcs_pwr_avg>>10=16
    tmx_cs=1, tmxcs_pwr_avg=23045, tmxcs_pwr_avg>>10=22
    tmx_cs=2, tmxcs_pwr_avg=32777, tmxcs_pwr_avg>>10=32
    tmx_cs=3, tmxcs_pwr_avg=45828, tmxcs_pwr_avg>>10=44
    tmx_cs=4, tmxcs_pwr_avg=59836, tmxcs_pwr_avg>>10=58
    tmx_cs=5, tmxcs_pwr_avg=71258, tmxcs_pwr_avg>>10=69
    tmx_cs=6, tmxcs_pwr_avg=71602, tmxcs_pwr_avg>>10=69
    tmx_cs=7, tmxcs_pwr_avg=61015, tmxcs_pwr_avg>>10=59
    tmx_cs_max=6, tmxcs_pwr_max=71602, tmxcs_pwr_max>>10=69
    amp=256,step=64,adc_mean_i=-9
    amp=320,step=32,adc_mean_i=102
    amp=352,step=16,adc_mean_i=169
    amp=368,step=8,adc_mean_i=204
    tosdac_i=33,tosdac_q=33,tx_iq_gain_comp=1034,tx_iq_phase_comp=-11
    tosdac_i=33,tosdac_q=32,tx_iq_gain_comp=1038,tx_iq_phase_comp=-7
    tosdac_i=32,tosdac_q=32,tx_iq_gain_comp=1030,tx_iq_phase_comp=-10
    tosdac_i=33,tosdac_q=35,tx_iq_gain_comp=1028,tx_iq_phase_comp=-11
    tosdac_i=30,tosdac_q=38,tx_iq_gain_comp=1027,tx_iq_phase_comp=-11
    tosdac_i=33,tosdac_q=35,tx_iq_gain_comp=1031,tx_iq_phase_comp=-13
    tosdac_i=30,tosdac_q=30,tx_iq_gain_comp=1030,tx_iq_phase_comp=-8
    tosdac_i=29,tosdac_q=29,tx_iq_gain_comp=1020,tx_iq_phase_comp=-12
    [WF] [KEY] [CFG] nVAP is 2, endidx 12, startidx 8
    td_init
    td_reset idx=0
    td_reset idx=1
    Start Wi-Fi fw is Done @1043ms
    [APP] [EVT] INIT DONE 986


    [BL] Initi Wi-Fi with MAC #### C4:D7:FD:43:90:45 ####
    hostname: OpenBL602_fd439045
    [WF] country code CN used, num of channel 13
    -----------------------------------------------------
    [IPC] [TX] Low level size 204, driver size 100, total size 304
    Enable BMX IRQ
    [WF] [KEY] [CFG] nVAP is 2, endidx 12, startidx 8
    td_init
    td_reset idx=0
    td_reset idx=1
    [version] lmac 5.4.0.0
    [version] version_machw_1 000055FB
    [version] version_machw_2 000001B3
    [version] version_phy_1 00822111
    [version] version_phy_2 00000000
    [version] features 001089DF
    [ME] HT supp 1, VHT supp 0
    [WF][SM] reload tsen
    [WF][SM] Exiting ifaceDown state
    [WF][SM] State Action ###ifaceDown### --->>> ###idle###
    [WF][SM] Entering idle state
    [APP] [EVT] MGMR DONE 1003, now 1062ms
    OpenBL602, version bl602_ir_9f263cba4454
    Entering initLog()...
    Commands registered!
    initLog() done!
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name PSM
    id 0
    offset 0x000e9000(954368)
    size 0x00008000(32Kbytes)
    xip_addr 0x230d8000
    [MTD] <<<<<< Hanlde info End <<<<<<
    [EF] Found Valid PSM partition, XIP Addr 230d8000, flash addr 000e9000, size 32768
    ENV AREA SIZE 32768, SECTOR NUM 8
    *default_env_size = 0x00000001
    EasyFlash V4.0.99 is initialize success.
    You can get the latest version on https://github.com/armink/EasyFlash .
    [ 1493][WARN : bl_mtd.c: 205] addr@0x230a1f10 is xip flash, size 8
    [ 1509][WARN : bl_mtd.c: 205] addr@0x230a1dec is xip flash, size 7
    [MTD] >>>>>> Hanlde info Dump >>>>>>
    name media
    id 0
    offset 0x000e7000(946176)
    size 0x00002000(8Kbytes)
    xip_addr 0x230d6000
    [MTD] <<<<<< Hanlde info End <<<<<<
    Main_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    Info:MAIN:Main_Init_Before_Delay
    Warn:CFG:CFG_InitAndLoad: Config crc or ident mismatch. Default config will be loaded.
    Info:CFG:CFG_SetDefaultLEDCorrectionTable: setting defaults
    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 []
    Info:MAIN:Using Pass []
    Error:HTTP:Created HTTP SV thread with (stack=2048)
    Info:MQTT:MQTT_RegisterCallback called for bT oblFD439045/ subT oblFD439045/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT bl602s/ subT bl602s/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/oblFD439045/ subT cmnd/oblFD439045/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/bl602s/ subT cmnd/bl602s/+
    Info:MQTT:MQTT_RegisterCallback called for bT oblFD439045/ subT oblFD439045/+/get
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Error:CMD:LFS_ReadFile: lfs is absent
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    [ 2552][WARN : bl_mtd.c: 205] addr@0x230a1dec is xip flash, size 7
    Info:MAIN:Time 1, idle 0/s, free 107952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 2, idle 0/s, free 107952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 3, idle 0/s, free 107952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 4, idle 0/s, free 107952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    [lwip] netif status callback
    IP: 192.168.11.1
    MK: 255.255.255.0
    GW: 0.0.0.0
    [WF] MM_ADD_IF_REQ Sending: AP
    td_start idx=0
    [WF] MM_ADD_IF_REQ Done
    [WF] vif_index from LAMC is 0
    [lwip] netif status callback
    IP: 192.168.4.1
    MK: 255.255.255.0
    GW: 0.0.0.0
    [DHCP] ip_start: [192.168.4.2]
    [DHCP] ip_start: [192.168.4.254]
    [WF][SM] start AP with ssid OpenBL602_FD439045;
    [WF][SM] pwd ;
    [WF][SM] channel 1;
    [WF] APM_START_REQ Sending with vif_index 0
    [WF] received APM Start apm_start_req_handler:74
    [WF] return with other handler
    [WF] APM_START_REQ Done
    [WF] status is 00
    [WF] vif_idx is 00
    [WF] ch_idx is 00
    [WF] bcmc_idx is 05
    [WF][SM] stateGlobalGuard_AP: AP iface has started!
    Info:MAIN:Time 5, idle 0/s, free 107952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks [APP] [EVT] Unknown code 11, 6596
    2/21
    [ 7601][WARN : bl_mtd.c: 205] addr@0x230a1f10 is xip flash, size 8
    Info:MAIN:Time 6, idle 0/s, free 107640, 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 107640, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 8, idle 0/s, free 107640, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 9, idle 0/s, free 107640, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 10, idle 0/s, free 107640, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 11, idle 0/s, free 107640, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 12, idle 0/s, free 107640, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 13, idle 0/s, free 107640, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 14, idle 0/s, free 107640, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
    Info:MAIN:Time 15, idle 0/s, free 107640, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21


    DS1820 and CHT8310 OK

    OpenBL602 web interface showing sensor temperature, humidity, and diagnostics
  • Helpful post
    #130 21726256
    divadiow
    Level 37  
    divadiow wrote:
    ffs 👿. lol. that's the end of that 1mb module now. tried old fake Prolific TTL that must been labelled wrong (I think I remember it killing something before - BINNED NOW) and now she's pulling an unhealthy load and burning hot. good excuse to order another CozyLife DS-1211AN


    yay but, cozylife-1 vs dead one = cozylife-3. hope it's 1mb still.

    PCB board with ESP8266 Wi-Fi module and various electronic components WiFi and Bluetooth communication module XT-BL12 on a green PCB Black rectangular touch panel with a centered circle, covered in protective film Green box with product label DS-1211AN-BLACK-01 and barcode
  • #131 21798424
    vinibali
    Level 8  
    Are we already using 1 MB as the default flash size? I couldn't figure out where can I find the latest binaries for BL602L10.
  • #132 21798426
    divadiow
    Level 37  
    the release for 2mb now works on 1mb too, so you should just be able to flash standard OpenBL602

Topic summary

The discussion focuses on the Cozylife DS-1211AN 3-gang touch wall switch featuring a 1MB BL602L10 Wi-Fi and BLE module, manufactured by Shenzhen Dianling Intelligent Technology Co Ltd. The main challenge is adapting OpenBeken/OpenBL602 firmware, which typically targets 2MB flash BL602 chips, to the 1MB flash variant, as standard builds and tools like OpenBeken do not natively support 1MB BL602L10 devices. Key technical issues include flash memory partitioning, bootloader compatibility, EasyFlash storage initialization, and power supply stability affecting boot loops and Wi-Fi connectivity.

Significant progress was made by creating and testing custom partition table (TOML) files tailored for 1MB flash layouts, notably the partition_cfg_1M_miegapele.toml, which allocates appropriate sizes for firmware, media, PSM, and factory partitions. Firmware builds with specific SDK configurations (e.g., CONFIG_BL602_USE_1M_FLASH and CONFIG_BL602_USE_ROM_DRIVER enabled) successfully boot and run on the 1MB BL602L10, including OpenBK7231T_App builds from GitHub pull requests #1532 and #1534.

Power supply quality and wiring (shorter VCC and ground cables, decoupling capacitors) were critical for stable operation, as the module exhibited boot looping and Wi-Fi instability when powered inadequately or with noisy sources. The GPIO17 pin usage and UART download mode resistor requirements were also discussed for module replacement or debugging.

Wi-Fi connection issues were partially resolved by adjusting router PMF (Protected Management Frames) settings and using simpler passwords. The firmware supports AP mode and basic Wi-Fi functions, though some web API endpoints (e.g., /api/lfs) may be incomplete. The community shared detailed boot logs, flash memory dumps, and PCB images to aid development and testing.

Overall, the topic demonstrates successful adaptation of OpenBL602 firmware to the 1MB BL602L10 module in the Cozylife DS-1211AN switch, with custom partitioning, SDK flags, and power considerations enabling stable boot and Wi-Fi operation, while highlighting ongoing challenges in full feature support and stability.
Summary generated by the language model.
ADVERTISEMENT