ÿcustom 0x0
flash init 0
Boot2 start:Jan 17 2024,10:46:48
Group=1,CPU Count=1
ver:6.6.1
user_fw
Active PT:0,Age 0
MFG not found
entry ID 0 found
pass param addr 42049c00,len 4
pass param addr 42049c04,len 164
pass param addr 42049ca8,len 92
Boot start
Media boot main
R header from 10000
Cal hash addr 0x11000,len 789440
Hash Success
ps_mode 0,efuse hbn_check_sign 0
group[0] offset 11000 ,core[0] offset 0 bootentry 23000000
Counter value=87
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: Feb 14 2025
Build Time: 18:04:22
------------------------------------------------------------
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 @0x4200f2c0=======
[ 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 0x001e7000 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 0xEF
[ 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 18:B9:05:C3:20:ED
[ 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.
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 0x001e7000(1994752)
size 0x00002000(8Kbytes)
xip_addr 0x231d6000
[MTD] <<<<<< Hanlde info End <<<<<<
[ 53][ERROR : bl_romfs.c: 158] romfs magic is NOT correct
[ 214][INFO : hosal_adc.c: 459] offset = 2210
[ 214][INFO : hosal_adc.c: 233] ADC freq: 284Hz. div:6
[OS] Starting proc_mian_entry task...
[OS] Starting TCP/IP Stack...
-------------------->>>>>>>> LWIP tcp_port 61886
[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 .
Start Wi-Fi fw @254ms
1th channel,lo_vco_freq_cw=160
2th channel,lo_vco_freq_cw=159
3th channel,lo_vco_freq_cw=157
4th channel,lo_vco_freq_cw=156
5th channel,lo_vco_freq_cw=155
6th channel,lo_vco_freq_cw=153
7th channel,lo_vco_freq_cw=152
8th channel,lo_vco_freq_cw=151
9th channel,lo_vco_freq_cw=149
10th channel,lo_vco_freq_cw=148
11th channel,lo_vco_freq_cw=147
12th channel,lo_vco_freq_cw=146
13th channel,lo_vco_freq_cw=144
14th channel,lo_vco_freq_cw=143
15th channel,lo_vco_freq_cw=142
16h channel,lo_vco_freq_cw=140
17h channel,lo_vco_freq_cw=139
18th channel,lo_vco_freq_cw=138
19th channel,lo_vco_freq_cw=136
20th channel,lo_vco_freq_cw=135
21th channel,lo_vco_freq_cw=134
0th channel,vco_idac_cw=12
1th channel,vco_idac_cw=12
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=11
9th channel,vco_idac_cw=11
10th channel,vco_idac_cw=11
11th channel,vco_idac_cw=11
12th channel,vco_idac_cw=11
13th channel,vco_idac_cw=11
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 149
rosdac_i_gc3=31
rosdac_i_gc2=31
rosdac_i_gc1=31
rosdac_i_gc0=31
rosdac_q_gc3=26
rosdac_q_gc2=26
rosdac_q_gc1=26
rosdac_q_gc0=26
rbb_cap1_fc_i=24,rbb_cap2_fc_i=24,rbb_cap1_fc_q=26,rbb_cap2_fc_q=26
new rbb_cap1_fc_i=48,rbb_cap2_fc_i=48,rbb_cap1_fc_q=48,rbb_cap2_fc_q=48
LO locked 9 149
amp=128,step=32,adc_mean_i=127
tmx_cs=0, tmxcs_pwr_avg=42725, tmxcs_pwr_avg>>10=41
tmx_cs=1, tmxcs_pwr_avg=51300, tmxcs_pwr_avg>>10=50
tmx_cs=2, tmxcs_pwr_avg=62433, tmxcs_pwr_avg>>10=60
tmx_cs=3, tmxcs_pwr_avg=78488, tmxcs_pwr_avg>>10=76
tmx_cs=4, tmxcs_pwr_avg=100050, tmxcs_pwr_avg>>10=97
tmx_cs=5, tmxcs_pwr_avg=130471, tmxcs_pwr_avg>>10=127
tmx_cs=6, tmxcs_pwr_avg=168201, tmxcs_pwr_avg>>10=164
tmx_cs=7, tmxcs_pwr_avg=204732, tmxcs_pwr_avg>>10=199
tmx_cs_max=7, tmxcs_pwr_max=204732, tmxcs_pwr_max>>10=199
amp=256,step=64,adc_mean_i=511
amp=192,step=32,adc_mean_i=485
amp=160,step=16,adc_mean_i=321
amp=144,step=8,adc_mean_i=232
tosdac_i=21,tosdac_q=42,tx_iq_gain_comp=1036,tx_iq_phase_comp=-3
tosdac_i=19,tosdac_q=44,tx_iq_gain_comp=1035,tx_iq_phase_comp=0
tosdac_i=23,tosdac_q=45,tx_iq_gain_comp=1046,tx_iq_phase_comp=7
tosdac_i=24,tosdac_q=42,tx_iq_gain_comp=1034,tx_iq_phase_comp=3
tosdac_i=24,tosdac_q=43,tx_iq_gain_comp=1032,tx_iq_phase_comp=-1
tosdac_i=21,tosdac_q=42,tx_iq_gain_comp=1020,tx_iq_phase_comp=-8
tosdac_i=23,tosdac_q=48,tx_iq_gain_comp=1026,tx_iq_phase_comp=0
tosdac_i=22,tosdac_q=48,tx_iq_gain_comp=1026,tx_iq_phase_comp=6
[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 @328ms
[APP] [EVT] INIT DONE 293
[BL] Initi Wi-Fi with MAC #### 18:B9:05:C3:20:ED ####
hostname: OpenBL602_05c320ed
[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 306, now 342ms
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 .
[ 857][WARN : bl_mtd.c: 205] addr@0x230a1d58 is xip flash, size 8
[MTD] >>>>>> Hanlde info Dump >>>>>>
name media
id 0
offset 0x001e7000(1994752)
size 0x00002000(8Kbytes)
xip_addr 0x231d6000
[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: Correct config has been loaded with 2 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 [OpenWrt]
Info:MAIN:Using Pass [labasrytas<>__]
Info:MQTT:MQTT_RegisterCallback called for bT obl05C320ED/ subT obl05C320ED/+/set
Info:MQTT:MQTT_RegisterCallback called for bT bl602s/ subT bl602s/+/set
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obl05C320ED/ subT cmnd/obl05C320ED/+
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/bl602s/ subT cmnd/bl602s/+
Info:MQTT:MQTT_RegisterCallback called for bT obl05C320ED/ subT obl05C320ED/+/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
Info:MAIN:Time 1, idle 0/s, free 113928, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 2, idle 0/s, free 113928, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 3, idle 0/s, free 113928, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 4, idle 0/s, free 113928, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
---------STA enable
[lwip] netif status callback
IP: 0.0.0.0
MK: 0.0.0.0
GW: 0.0.0.0
[WF][SM] currentState is idle
[WF] MM_ADD_IF_REQ Sending: STA
td_start idx=0
[WF] MM_ADD_IF_REQ Done
[WF] vif_index from LAMC is 0
[WF][SM] Exiting idle state
[WF][SM] Action Connect
ssid OpenWrt
ssid len 7
passphr xxx
passphr len 14
psk yyy
psk len 64
band 0
freq 0
bssid 00:00:00:00:00:00
dhcp status: true
flags: 512
[WF][PF] Adding and Using profile, idx is @0
[WF][SM] State Action ###idle### --->>> ###connecting###
connecting using vif_idx 0
===start sm_get_bss_params===
bssid[0] = 0xffff
bssid[1] = 0xffff
bssid[2] = 0xffff
search ssid = OpenWrt
result ssid index = -1
===end sm_get_bss_params===
[WF][SM] Entering connecting state
Info:MAIN:Time 5, idle 0/s, free 113928, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Registered for wifi c[APP] [EVT] Connecting 6399
[APP] [EVT] Connecting 6399
hanges
Info:MAIN:Connecting to SSID [OpenWrt]
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1
[ 7403][WARN : bl_mtd.c: 205] addr@0x230a1d58 is xip flash, size 8
Info:MAIN:Time 6, idle 0/s, free 111768, 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 111768, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
===start sm_get_bss_params===
bssid[0] = 0xffff
bssid[1] = 0xffff
bssid[2] = 0xffff
search ssid = OpenWrt
result ssid index = 0
===end sm_get_bss_params===
--- OPT rxu_mgmt_ind is detected
Info:MAIN:Time 8, idle 0/s, free 112752, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
ind ix 0x42027d94, chan_ctxt is 0x4201915c
[RX] Connection Status
[RX] status_code 0
[RX] reason_code 0
[RX] connect result: sm connect ind ok
[RX] MAC 10:7B:44:EC:5D:98
[RX] vif_idx 0
[RX] ap_idx 0
[RX] ch_idx 0
[RX] qos 1
[RX] acm 0
[RX] assoc_req_ie_len 78
[RX] assoc_rsp_ie_len 98
[RX] aid 0
[RX] band 0
[RX] center_freq 2412
[RX] width 0
[RX] center_freq1 2412
[RX] center_freq2 0
[RX] tlv_ptr first 0x00000000
[WF][SM] Exiting connecting state
[WF][SM] State Action ###connecting### --->>> ###wifiConnected_ipObtaining###
[WF][PF] Getting profile by index, idx is @0
[WF][SM] Entering wifiConnected_ipObtaining state
[WF][SM] DHCP Starting...0x4201b53c
[SYS] Memory left is 113792 Bytes
[APP] [EVT] connected 9480
[APP] [EVT] connected 9481
Info:MAIN:Time 9, idle 0/s, free 113792, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
-----------------> AABA Request:
A-MSDU: Permitted
Block Ack Policy: Immediate Block Ack
TID: 7
Number of Buffers: 64
-----------------> AABA Response:
A-MSDU: Not Permitted
Block Ack Policy: Immediate Block Ack
TID: 7
Number of Buffers: 8
ssn: 0
timeout: 0
tid 7
IP:192.168.1.242
MASK: 255.255.255.0
Gateway: 192.168.1.1
Info:MAIN:Time 10, idle 0/s, free 113792, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
[lwip] netif status callback
IP: 192.168.1.242
MK: 255.255.255.0
GW: 192.168.1.1
[WF][SM] Exiting wifiConnected_ipObtaining state
[WF][SM] State Action ###wifiConnected_ipObtaining### --->>> ###wifiConnected_IPOK###
[WF][SM] Entering wifiConnected_IPOK state
[APP] [EVT] GOT IP 12220
[SYS] Memory left is 113888 Bytes
[APP] [EVT] GOT IP 12220
[SYS] Memory left is 113888 Bytes
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4