[16:04:22.654] - Starting bl602 now.... Booting BL602 Chip... 鈻堚枅鈻堚枅鈻堚枅鈺 鈻堚枅鈺 鈻堚枅鈻堚枅鈻堚枅鈺 鈻堚枅鈻堚枅鈻堚枅鈺 鈻堚枅鈻堚枅鈻堚枅鈺 鈻堚枅鈺斺晲鈺愨枅鈻堚晽鈻堚枅鈺 鈻堚枅鈺斺晲鈺愨晲鈺愨暆 鈻堚枅鈺斺晲鈻堚枅鈻堚枅鈺椻暁鈺愨晲鈺愨晲鈻堚枅鈺 鈻堚枅鈻堚枅鈻堚枅鈺斺暆鈻堚枅鈺 鈻堚枅鈻堚枅鈻堚枅鈻堚晽 鈻堚枅鈺戔枅鈻堚晹鈻堚枅鈺 鈻堚枅鈻堚枅鈻堚晹鈺 鈻堚枅鈺斺晲鈺愨枅鈻堚晽鈻堚枅鈺 鈻堚枅鈺斺晲鈺愨晲鈻堚枅鈺椻枅鈻堚枅鈻堚晹鈺濃枅鈻堚晳鈻堚枅鈺斺晲鈺愨晲鈺 鈻堚枅鈻堚枅鈻堚枅鈺斺暆鈻堚枅鈻堚枅鈻堚枅鈻堚晽鈺氣枅鈻堚枅鈻堚枅鈻堚晹鈺濃暁鈻堚枅鈻堚枅鈻堚枅鈺斺暆鈻堚枅鈻堚枅鈻堚枅鈻堚晽 鈺氣晲鈺愨晲鈺愨晲鈺 鈺氣晲鈺愨晲鈺愨晲鈺愨暆 鈺氣晲鈺愨晲鈺愨晲鈺 鈺氣晲鈺愨晲鈺愨晲鈺 鈺氣晲鈺愨晲鈺愨晲鈺愨暆 ------------------------------------------------------------ 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: Jan 23 2025 Build Time: 22:16:07 Boot Reason: BL_RST_POWER_OFF ------------------------------------------------------------ Heap 126912@0x42023040, 5888@0x4204a900 Boot2 consumed 82ms blog init set power on level 2, 2, 2. [IRQ] Clearing and Disable all the pending IRQ... ------------------TRNG TEST--------------------------------- **********TRNG TEST rand[7abf0330]************** **********TRNG TEST rand[6e5d33a0]************** ------------------------------------------------------------ [ 0][INFO : hal_boot2.c: 285] [HAL] [BOOT2] Active Partition[0] consumed 596 Bytes [ 0][INFO : hal_boot2.c: 82] ======= PtTable_Config @0x4200f0b4======= [ 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 0x000d8000 0x000c8000 0x00088000 0 [ 0][INFO : hal_boot2.c: 91] [01] 02 0 0 mfg 0x00160000 0x00000000 0x00032000 0x00000000 0 [ 0][INFO : hal_boot2.c: 91] [02] 03 0 0 media 0x00192000 0x00000000 0x00057000 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:29:8B:56:25 [ 0][INFO : hal_board.c: 955] country_code : 86 [ 0][INFO : hal_board.c: 323] xtal_mode length 2 [ 0][INFO : hal_board.c: 327] xtal_mode is MF [ 0][INFO : hal_board.c: 251] xtal dtb in DEC :36 36 0 60 60 [ 0][INFO : hal_board.c: 986] channel_div_table : [ 0][BUF: hal_board.c: 987] c4 4e ec 1e cb b7 fc 1e d2 20 0d 1f d8 89 1d 1f df f2 2d 1f e5 5b 3e 1f ec c4 4e 1f f2 2d 5f 1f f9 96 6f 1f 00 00 80 1f 06 69 90 1f 0d d2 a0 1f 13 3b [ 0][BUF: hal_board.c: 987] b1 1f 89 9d d8 1f f8 81 1f 20 [ 0][INFO : hal_board.c: 997] channel_cnt_table : [ 0][BUF: hal_board.c: 998] 8a a7 e3 a7 3c a8 95 a8 ed a8 46 a9 9f a9 f8 a9 51 aa aa aa 03 ab 5c ab b5 ab 8a ac 4d 46 00 00 84 dd 09 23 b0 2f 02 42 00 d0 09 23 00 d0 09 23 00 d0 [ 0][BUF: hal_board.c: 998] 09 23 00 d0 09 23 [ 0][INFO : hal_board.c:1006] lo_fcal_div : 1387 [ 0][INFO : hal_board.c:1025] pwr_table_11b :20 20 20 18 [ 0][INFO : hal_board.c:1045] pwr_table_11g :18 18 18 18 18 18 14 14 [ 0][INFO : hal_board.c:1065] pwr_table_11n :1 18 18 18 18 16 14 14 [ 0][INFO : hal_board.c: 523] pwr_mode length 2 [ 0][INFO : hal_board.c: 527] pwr_mode is bf [ 0][INFO : hal_board.c: 415] pwr_offset from dtb: [ 0][BUF: hal_board.c: 416] 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a [ 0][INFO : hal_board.c: 421] pwr_offset from dtb (rebase on 10): [ 0][BUF: hal_board.c: 504] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [ 0][INFO : hal_board.c:1086] 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,170,160,140,120, [ 0][INFO : hal_board.c: 795] Tchannel_os_low:200,190,180,160,130, [ 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 65035 [OS] Starting OS Scheduler... [BL] [SEC] TRNG Handler === 32 task inited ====== loop dump ====== bitmap_evt 0 bitmap_msg 0 --->>> timer list: 32 task: task[31] : SYS [built-in] evt handler 0x2306ab62, msg handler 0x2306ab32, 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. EasyFlash V4.0.99 is initialize success . You can get the latest version on https://github.com/armink/EasyFlash . [ 57][INFO : hal_uart.c: 364] uart[0] rx_buf_size 512, tx_buf_size 512 [ 58][INFO : hal_uart.c: 379] uart[0] cts status = disable lentmp = 7 [ 59][INFO : hal_uart.c: 379] uart[0] rts status = disable lentmp = 7 [ 59][INFO : hal_uart.c: 402] id = 0, tx = 16, rx = 7, cts = 255, rts = 255 baudrate = 2000000. [ 60][INFO : hal_uart.c: 410] bl_uart_init 0 ok. [ 60][INFO : hal_uart.c: 411] bl_uart_init 0 baudrate = 2000000 ok. [ 62][INFO : hal_uart.c: 364] uart[1] rx_buf_size 512, tx_buf_size 512 [ 63][INFO : hal_uart.c: 379] uart[1] cts status = disable lentmp = 7 [ 64][INFO : hal_uart.c: 379] uart[1] rts status = disable lentmp = 7 [ 64][INFO : hal_uart.c: 402] id = 1, tx = 4, rx = 3, cts = 255, rts = 255 baudrate = 115200. [ 65][INFO : hal_uart.c: 410] bl_uart_init 1 ok. [ 65][INFO : hal_uart.c: 411] bl_uart_init 1 baudrate = 115200 ok. [ 66][INFO : hal_gpio.c: 202] [HAL] [GPIO] Max num is 40 [ 67][INFO : hal_gpio.c: 177] New CONF: GPIO05: feature 0, active 1, mode 0, time 100 [ 67][INFO : loopset_led.c: 75] [LED] New Trigger: PIN 5, active level Lo, type Blink [ 68][INFO : hal_gpio.c: 115] [gpio1] status = disable [ 69][ERROR : hal_gpio.c: 216] gpio1: unvalid GPIO config [ 69][ERROR : hal_gpio.c: 130] gpio2: unvalid GPIO config button [ 70][ERROR : hal_gpio.c: 216] gpio2: unvalid GPIO config [ 70][INFO : hal_gpio.c: 106] gpio3 NOT found [MTD] >>>>>> Hanlde info Dump >>>>>> name media id 0 offset 0x00192000(1646592) size 0x00057000(348Kbytes) xip_addr 0x23181000 [MTD] <<<<<< Hanlde info End <<<<<< [ 72][ERROR : bl_romfs.c: 146] romfs magic is NOT correct Start Wi-Fi fw @198ms 1th channel,lo_vco_freq_cw=149 2th channel,lo_vco_freq_cw=147 3th channel,lo_vco_freq_cw=146 4th channel,lo_vco_freq_cw=145 5th channel,lo_vco_freq_cw=143 6th channel,lo_vco_freq_cw=142 7th channel,lo_vco_freq_cw=141 8th channel,lo_vco_freq_cw=140 9th channel,lo_vco_freq_cw=139 10th channel,lo_vco_freq_cw=137 11th channel,lo_vco_freq_cw=136 12th channel,lo_vco_freq_cw=135 13th channel,lo_vco_freq_cw=134 14th channel,lo_vco_freq_cw=132 15th channel,lo_vco_freq_cw=131 16th channel,lo_vco_freq_cw=130 17th channel,lo_vco_freq_cw=129 18th channel,lo_vco_freq_cw=128 19th channel,lo_vco_freq_cw=127 20th channel,lo_vco_freq_cw=125 21th channel,lo_vco_freq_cw=124 0th channel,vco_idac_cw=9 1th channel,vco_idac_cw=8 2th channel,vco_idac_cw=8 3th channel,vco_idac_cw=8 4th channel,vco_idac_cw=7 5th channel,vco_idac_cw=7 6th channel,vco_idac_cw=7 7th channel,vco_idac_cw=7 8th channel,vco_idac_cw=7 9th channel,vco_idac_cw=7 10th channel,vco_idac_cw=8 11th channel,vco_idac_cw=7 12th channel,vco_idac_cw=7 13th channel,vco_idac_cw=7 14th channel,vco_idac_cw=7 15th channel,vco_idac_cw=7 16th channel,vco_idac_cw=7 17th channel,vco_idac_cw=7 18th channel,vco_idac_cw=7 19th channel,vco_idac_cw=7 20th channel,vco_idac_cw=7 LO locked 9 137 rosdac_i_gc3=33 rosdac_i_gc2=33 rosdac_i_gc1=33 rosdac_i_gc0=33 rosdac_q_gc3=32 rosdac_q_gc2=32 rosdac_q_gc1=32 rosdac_q_gc0=32 rbb_cap1_fc_i=26,rbb_cap2_fc_i=26,rbb_cap1_fc_q=27,rbb_cap2_fc_q=27 new rbb_cap1_fc_i=50,rbb_cap2_fc_i=50,rbb_cap1_fc_q=50,rbb_cap2_fc_q=50 LO locked 9 137 amp=128,step=32,adc_mean_i=110 tmx_cs=0, tmxcs_pwr_avg=27130, tmxcs_pwr_avg>>10=26 tmx_cs=1, tmxcs_pwr_avg=34945, tmxcs_pwr_avg>>10=34 tmx_cs=2, tmxcs_pwr_avg=46224, tmxcs_pwr_avg>>10=45 tmx_cs=3, tmxcs_pwr_avg=61997, tmxcs_pwr_avg>>10=60 tmx_cs=4, tmxcs_pwr_avg=83736, tmxcs_pwr_avg>>10=81 tmx_cs=5, tmxcs_pwr_avg=112563, tmxcs_pwr_avg>>10=109 tmx_cs=6, tmxcs_pwr_avg=143698, tmxcs_pwr_avg>>10=140 tmx_cs=7, mxcs_pwr_avg=162017, tmxcs_pwr_avg>>10=158 tmx_cs_max=7, tmxcs_pwr_max=162017, tmxcs_pwr_max>>10=158 amp=256,step=64,adc_mean_i=511 amp=192,step=32,adc_mean_i=171 amp=224,step=16,adc_mean_i=373 amp=208,step=8,adc_mean_i=268 tosdac_i=19,tosdac_q=31,tx_iq_gain_comp=1056,tx_iq_phase_comp=-8 amp=256,step=64,adc_mean_i=511 amp=192,step=32,adc_mean_i=273 tosdac_i=18,tosdac_q=29,tx_iq_gain_comp=1053,tx_iq_phase_comp=-3 amp=256,step=64,adc_mean_i=402 amp=192,step=32,adc_mean_i=237 tosdac_i=25,tosdac_q=28,tx_iq_gain_comp=1056,tx_iq_phase_comp=-6 amp=272,step=68,adc_mean_i=511 amp=204,step=34,adc_mean_i=511 amp=170,step=17,adc_mean_i=318 tosdac_i=26,tosdac_q=29,tx_iq_gain_comp=1045,tx_iq_phase_comp=-6 amp=224,step=56,adc_mean_i=511 amp=168,step=28,adc_mean_i=397 amp=140,step=14,adc_mean_i=284 tosdac_i=27,tosdac_q=29,tx_iq_gain_comp=1048,tx_iq_phase_comp=-5 amp=272,step=68,adc_mean_i=511 amp=204,step=34,adc_mean_i=402 amp=170,step=17,adc_mean_i=287 tosdac_i=27,tosdac_q=27,tx_iq_gain_comp=1048,tx_iq_phase_comp=-6 amp=288,step=72,adc_mean_i=511 amp=216,step=36,adc_mean_i=368 amp=180,step=18,adc_mean_i=263 tosdac_i=24,tosdac_q=25,tx_iq_gain_comp=1041,tx_iq_phase_comp=-7 amp=304,step=76,adc_mean_i=511 amp=228,step=38,adc_mean_i=404 amp=190,step=19,adc_mean_i=289 tosdac_i=24,tosdac_q=25,tx_iq_gain_comp=1050,tx_iq_phase_comp=-14 [WF] [KEY] [CFG] nVAP is 2, endidx 10 startidx 8 ------ set default key 0x42021aa8, key ptr 0x00000000 ------ set default key 0x42021e80, key ptr 0x00000000 歵d_init 歵d_reset idx=0 歵d_reset idx=1 Start Wi-Fi fw is Done @274ms [APP] [EVT] INIT DONE 149 [BL] Initi Wi-Fi with MAC #### AC:D8:29:8B:56:25 #### hostname: Bouffalolab_BL602-8b5625 [WF] country code CN used, num of channel 13 ----------------------------------------------------- [IPC] [TX] Low level size 204, driver size 92, total size 296 Enable BMX IRQ [WF] [KEY] [CFG] nVAP is 2, endidx 10, startidx 8 ------ set default key 0x42021aa8, key ptr 0x00000000 ------ set default key 0x42021e80, key ptr 0x00000000 歵d_init 歵d_reset idx=0 歵d_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 000089DF [ME] HT supp 1, VHT supp 0 [WF] country code CN used, num of channel 13 [WF][SM] reload tsen [WF][SM] Exiting ifaceDown state [WF][SM] State Action ###ifaceDown### --->>> ###idle### [WF][SM] Entering idle state [APP] [EVT] MGMR DONE 163, now 289ms ---------STA enable [lwip] netif status callback IP: 0.0.0.0 MK: 0.0.0.0 GW: 0.0.0.0 [APP] [WIFI] [T] 164 [APP] Get STA 0x4201d4b4 from Wi-Fi Mgmr, pmk ptr 0x4201388c, ssid ptr 0x42013868, password 0x420138d0 [APP] Empty Config [APP] Try to set the following ENV with psm_set command, then reboot [APP] NOTE: conf_ap_pmk MUST be psm_unset when conf is changed [APP] env: conf_ap_ssid [APP] env: conf_ap_psk [APP] env(optinal): conf_ap_pmk [16:04:23.187] - Entering initLog()... Commands registered! initLog() done! [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 EasyFlash V4.0.99 is initialize success . You can get the latest version on https://github.com/armink/EasyFlash . [ 701][WARN : bl_mtd.c: 201] addr@0x230a2f3c is xip flash, size 8 [MTD] >>>>>> Hanlde info Dump >>>>>> name media id 0 offset 0x00192000(1646592) size 0x00057000(348Kbytes) xip_addr 0x23181000 [MTD] <<<<<< Hanlde info End <<<<<< Main_Init_Before_Delay done Main_Init_Delay Main_Init_Delay done Current task sp data: RA:23093b08, mstatus:80007880 A0:00000130 A1:00000000 A2:00000000 A3:00000000 A4:4201d820 A5:00001000 A6:00001000 A7:000000d6 T0:2308c490 T1:4200f9ec T2:ffffffff T3:00000001 T4:0000000a T5:00000000 T6:00003330 S0:4200e9cc S1:00000120 S2:4200e438 S3:4200e9cc S4:00000ed0 S5:00001001 S6:00000000 S7:00000000 S8:00000000 S9:4201d484 S10:4200f644 S11:a5a5a5a5 Exception Entry--->>> mcause 38000007, mepc 23093828, mtval 00000004 Exception code: 7 msg: Store/AMO access fault