合盖检测关机

This commit is contained in:
hu-jiafeng 2025-07-14 09:29:18 +08:00
parent c6697fc81e
commit 1f4ba7838a
20 changed files with 20108 additions and 17741 deletions

View File

@ -41,6 +41,7 @@ static beken_timer_t timer_poweroff;
static beken_timer_t timer_bind; static beken_timer_t timer_bind;
static beken_timer_t timer_idle; static beken_timer_t timer_idle;
static beken_timer_t timer_battery_refresh ; static beken_timer_t timer_battery_refresh ;
//static beken_timer_t timer_charge_hell ;
int start_bind_detect = 0; int start_bind_detect = 0;
int hall_key_down_count = 0; int hall_key_down_count = 0;
@ -201,8 +202,6 @@ void temperature_adv_callback(recv_adv_t *r_ind)
bk_printf("same : %s \r\n",str_current); bk_printf("same : %s \r\n",str_current);
} }
//int i; //int i;
//for (i = 0; i < r_ind->data_len; i++) //for (i = 0; i < r_ind->data_len; i++)
//{ //{
@ -381,18 +380,27 @@ UINT32 usb_power_is_pluged(void)
reg = sctrl_analog_get((SCTRL_BASE + 0x21*4)); reg = sctrl_analog_get((SCTRL_BASE + 0x21*4));
return (reg & (1 << 21)); return (reg & (1 << 21));
} }
void box_poweroff_timeout_callback(void *arg);
void timer_check_device_run_callback(void *arg){ void timer_check_device_run_callback(void *arg){
uint16_t reg_charge = CHARGE_REG0X2_CHARGE_X_STA_GET(0); uint16_t reg_charge = CHARGE_REG0X2_CHARGE_X_STA_GET(0);
int hall = bk_gpio_input(BLE_TEMPERATURE_HALL_DETECT_PIN);
//未接入充电 5376 接入充电 38144 //未接入充电 5376 接入充电 38144
if(reg_charge == 5376){ if(reg_charge == 5376){
box_info.charge_state = 0; box_info.charge_state = 0;
}else{ }else{
box_info.charge_state = 1; box_info.charge_state = 1;
for(int i = 0; i < 5; i++){ //1秒内处于合盖状态就关机
if(hall){
rt_kprintf("usb_power_is_pluged reg:%d state:%d hall:%d\r\n", reg_charge, box_info.charge_state, box_info.hall_state);
return;
}
rt_thread_mdelay(200);
}
box_poweroff_timeout_callback(NULL);
} }
// box_info.charge_state = 0; // box_info.charge_state = 0;
rt_kprintf("usb_power_is_pluged reg:%d state:%d\r\n", reg_charge, box_info.charge_state); rt_kprintf("usb_power_is_pluged reg:%d state:%d hall:%d\r\n", reg_charge, box_info.charge_state, box_info.hall_state);
//合盖状态接入充电 ---> 关机 //合盖状态接入充电 ---> 关机
// if (box_info.hall_state == 0) // if (box_info.hall_state == 0)
@ -515,6 +523,7 @@ static void box_adc_detect_callback(int new_mv, void *user_data)
// if(box_battery_percent < 0){ // if(box_battery_percent < 0){
// box_battery_percent = 0; // box_battery_percent = 0;
// } // }
rt_kprintf("battery_calc --> percent:%d\n",box_battery_percent); rt_kprintf("battery_calc --> percent:%d\n",box_battery_percent);
adc_obj_stop(&box_batt_adc); adc_obj_stop(&box_batt_adc);
} }
@ -875,26 +884,24 @@ void box_show_ble_device_info(app_temperature_info_t *temperature_info){
OLED_ShowString(22,0+5,(u8 *)"30%",24,1); OLED_ShowString(22,0+5,(u8 *)"30%",24,1);
rt_thread_mdelay(1500); rt_thread_mdelay(1500);
} }
//充电合盖关闭外设 //充电合盖关闭外设(拉跨)
void charge_sleep_on(int on) { void charge_sleep_on(int on) {
rt_kprintf("oled_is_on:%d\r\n", oled_is_on);
if (oled_is_on != on) { if (oled_is_on != on) {
oled_is_on = on; oled_is_on = on;
if (on){ if (on){
OLED_DisPlay_On(); bk_reboot();
voice_player_mute(1);
wifi_init();
belon_ble_scan_start();
rt_thread_mdelay(100);
belon_ble_start_adv();
}else{ }else{
OLED_DisPlay_Off();//屏幕 OLED_DisPlay_Off();//屏幕
voice_player_mute(0); //声音 voice_player_mute(0); //声音
rtos_stop_timer(&timer_detect);
bk_wlan_stop(BK_STATION); //WIFI bk_wlan_stop(BK_STATION); //WIFI
belon_ble_scan_stop(); //蓝牙扫描 belon_ble_scan_stop(); //蓝牙扫描
belon_ble_deinit_adv(); //蓝牙广播 belon_ble_deinit_adv(); //蓝牙广播
} }
} }
} }
//深度睡眠,没啥卵用
void deep_sleep(){ void deep_sleep(){
rt_kprintf("box enter deep sleep!!!\r\n"); rt_kprintf("box enter deep sleep!!!\r\n");
voice_player_mute(0); voice_player_mute(0);
@ -919,11 +926,8 @@ void box_poweroff_timeout_callback(void *arg){
rtos_stop_timer(&timer_poweroff); rtos_stop_timer(&timer_poweroff);
//paho_mqtt_stop(&client); //paho_mqtt_stop(&client);
if (box_info.charge_state) { if (box_info.charge_state) {
oled_is_on = 0; oled_is_on = 1;
OLED_DisPlay_Off(); charge_sleep_on(0);
voice_player_mute(0);
//deep_sleep();
//charge_sleep_on(0);
//return; //return;
} }
bk_gpio_config_output(BLE_TEMPERATURE_BOX_POWER_CTR); bk_gpio_config_output(BLE_TEMPERATURE_BOX_POWER_CTR);
@ -1026,9 +1030,7 @@ void timer_hall_detect_callback(void *arg){
rtos_stop_timer(&timer_poweroff); rtos_stop_timer(&timer_poweroff);
} }
if(!oled_is_on){ //充电时开盖复位设备 if(!oled_is_on){ //充电时开盖复位设备
bk_reboot(); charge_sleep_on(1);
//rt_thread_mdelay(3000);
//charge_sleep_on(1);
} }
// 只有在5秒内且开关盖次数达到5才进入绑定 // 只有在5秒内且开关盖次数达到5才进入绑定
if(start_bind_detect && hall_key_down_count == 5 && (now_tick - hall_first_down_tick <= HALL_BIND_WINDOW_MS)){ if(start_bind_detect && hall_key_down_count == 5 && (now_tick - hall_first_down_tick <= HALL_BIND_WINDOW_MS)){
@ -1374,6 +1376,9 @@ void temperature_init(void){
rtos_init_timer(&timer_detect, BLE_TEMPERATURE_DETECT_DEVICE_INTERVAL, timer_check_device_run_callback, NULL); rtos_init_timer(&timer_detect, BLE_TEMPERATURE_DETECT_DEVICE_INTERVAL, timer_check_device_run_callback, NULL);
rtos_start_timer(&timer_detect); rtos_start_timer(&timer_detect);
// rtos_init_timer(&timer_charge_hell, 300000, timer_charge_hell, NULL);
// rtos_start_timer(&timer_charge_hell);
charger_module_enable(0); charger_module_enable(0);
//sctrl_ctrl(CMD_SCTRL_USB_CHARGE_STOP, 0); //sctrl_ctrl(CMD_SCTRL_USB_CHARGE_STOP, 0);
voice_player_mute(1); voice_player_mute(1);

View File

@ -20,6 +20,7 @@
#endif #endif
#include "kernel_mem.h" #include "kernel_mem.h"
/** /**
* iT12 * iT12
*/ */
@ -84,9 +85,9 @@
*/ */
#define BLE_TEMPERATURE_HALL_DETECT_INTERVAL 50 //ms #define BLE_TEMPERATURE_HALL_DETECT_INTERVAL 50 //ms
/** /**
* 15s 广 * 25s 广
*/ */
#define BLE_TEMPERATURE_IDLE_MODE_TIMEOUT 15000 //ms #define BLE_TEMPERATURE_IDLE_MODE_TIMEOUT 25000 //ms
/** /**
* easyflah KEY * easyflah KEY

View File

@ -735,7 +735,7 @@ static void ble(int argc, char **argv)
struct scan_param scan_info; struct scan_param scan_info;
scan_info.channel_map = 7; scan_info.channel_map = 7;
scan_info.interval = 100; scan_info.interval = 100;
scan_info.window = 30; scan_info.window = 60;
actv_idx = app_ble_get_idle_actv_idx_handle(SCAN_ACTV); actv_idx = app_ble_get_idle_actv_idx_handle(SCAN_ACTV);
bk_ble_scan_start(actv_idx, &scan_info, ble_cmd_cb); bk_ble_scan_start(actv_idx, &scan_info, ble_cmd_cb);
} }
@ -894,7 +894,7 @@ void belon_ble_init_scan() {
struct scan_param scan_info; struct scan_param scan_info;
scan_info.channel_map = 7; scan_info.channel_map = 7;
scan_info.interval = 100; scan_info.interval = 100;
scan_info.window = 40; //window大小越接近interval 广播包漏掉的越少,但耗能更高 scan_info.window = 80; //window大小越接近interval 广播包漏掉的越少,但耗能更高
actv_idx = app_ble_get_idle_actv_idx_handle(SCAN_ACTV); actv_idx = app_ble_get_idle_actv_idx_handle(SCAN_ACTV);
bk_printf("actv_idx_scan : (%d) \r\n",actv_idx); bk_printf("actv_idx_scan : (%d) \r\n",actv_idx);

View File

@ -2,6 +2,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>
#define MAX_SIZE 50 #define MAX_SIZE 20
void opous_encoder_start(); void opous_encoder_start();

View File

@ -2,7 +2,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>
#define MAX_SIZE 50 #define MAX_SIZE 20
typedef struct { typedef struct {
int data[MAX_SIZE]; // 存储数据的数组 int data[MAX_SIZE]; // 存储数据的数组

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<key name="Software"> <key name="Software">
<key name="ConEmu"> <key name="ConEmu">
<key name=".Vanilla" modified="2025-06-20 17:09:40" build="180206"> <key name=".Vanilla" modified="2025-07-11 16:37:39" build="180206">
<value name="StartType" type="hex" data="02"/> <value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/> <value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/> <value name="StartTasksFile" type="string" data=""/>
@ -259,8 +259,8 @@
<value name="Cascaded" type="hex" data="01"/> <value name="Cascaded" type="hex" data="01"/>
<value name="IntegralSize" type="hex" data="00"/> <value name="IntegralSize" type="hex" data="00"/>
<value name="WindowMode" type="dword" data="0000051f"/> <value name="WindowMode" type="dword" data="0000051f"/>
<value name="ConWnd X" type="long" data="661"/> <value name="ConWnd X" type="long" data="748"/>
<value name="ConWnd Y" type="long" data="250"/> <value name="ConWnd Y" type="long" data="71"/>
<value name="LastMonitor" type="string" data="0,0,1920,1030"/> <value name="LastMonitor" type="string" data="0,0,1920,1030"/>
<value name="ConWnd Width" type="dword" data="00000075"/> <value name="ConWnd Width" type="dword" data="00000075"/>
<value name="ConWnd Height" type="dword" data="0000001a"/> <value name="ConWnd Height" type="dword" data="0000001a"/>

View File

@ -312,3 +312,29 @@ scons -c
cd .. cd ..
cd beken_rtt_sdk_release-SDK_3.0.76 cd beken_rtt_sdk_release-SDK_3.0.76
scons --beken=bk7252n -j32 scons --beken=bk7252n -j32
cd beken_rtt_sdk_release-SDK_3.0.76
scons --beken=bk7252n -j32
scons -c
cd //
cd ..
cd beken_rtt_sdk_release-SDK_3.0.76
scons --beken=bk7252n -j32
cd ..
cd beken_rtt_sdk_release-SDK_3.0.76
scons --beken=bk7252n -j32
cd ..
cd beken_rtt_sdk_release-SDK_3.0.76
scons --beken=bk7252n -j32
cd beken_rtt_sdk_release-SDK_3.0.76
scons --beken=bk7252n -j32
scons -c
cd //
cd ..
cd beken_rtt_sdk_release-SDK_3.0.76
scons --beken=bk7252n -j32
cd ..
cd beken_rtt_sdk_release-SDK_3.0.76
scons --beken=bk7252n -j32
cd ..
cd beken_rtt_sdk_release-SDK_3.0.76
scons --beken=bk7252n -j32

View File

@ -4864,3 +4864,726 @@
\__,_|\___/|_| |_|\___| \__,_|\___/|_| |_|\___|
{All Finished Successfully} {All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-23 11:06:59.041 Current port : COM14 + BaudRate : 115200 connect success
2025-06-23 11:06:59.042 do_reset_signal
2025-06-23 11:06:59.042 Getting Bus...
2025-06-23 11:06:59.817 Gotten Bus...
2025-06-23 11:07:01.638 do_reset_signal
2025-06-23 11:07:01.638 Getting Bus...
2025-06-23 11:07:01.638 Getting Bus...
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-23 11:08:46.698 Current port : COM14 + BaudRate : 115200 connect success
2025-06-23 11:08:46.698 do_reset_signal
2025-06-23 11:08:46.698 Getting Bus...
2025-06-23 11:08:47.993 Getting Bus...
2025-06-23 11:08:49.435 Gotten Bus...
2025-06-23 11:08:49.482 Got ChipId: 0x7252a
2025-06-23 11:08:49.482 Current Chip is : BK7252N
2025-06-23 11:08:49.514 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-23 11:08:49.514 Got FLashMID: 0x1560eb
2025-06-23 11:08:49.546 Current baudrate : 2000000 success
2025-06-23 11:08:49.546 Unprotecting Flash
2025-06-23 11:08:49.642 Unprotected Flash ->pass
2025-06-23 11:08:49.642 [ 0 ] file_startAddr : 0x00000000
2025-06-23 11:08:49.643 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin
2025-06-23 11:08:49.643 [ 0 ] file_length : 0x132000 (1224 KB)
2025-06-23 11:08:49.643 [ 0 ] file_crc : 0x72bcf166
2025-06-23 11:08:49.643 Begin EraseFlash
2025-06-23 11:08:49.643 Start 4K Erase
2025-06-23 11:08:49.643 End 4K Erase
2025-06-23 11:08:49.643 Start 64K Erase
2025-06-23 11:08:49.978 End 64K Erase
2025-06-23 11:08:49.978 EraseFlash ->pass
2025-06-23 11:08:49.981 [ 0 ] Begin write to flash...
2025-06-23 11:09:03.838 WriteFlash ->pass
2025-06-23 11:09:03.934 Enprotect pass
2025-06-23 11:09:03.934 Boot_Reboot
2025-06-23 11:09:04.368 Total Test Time : 14.932 s
2025-06-23 11:09:04.368 Writing Flash OK
2025-06-23 11:09:04.368
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-23 11:50:14.172 Current port : COM14 + BaudRate : 115200 connect failed
2025-06-23 11:50:14.172 Connect device fail!
2025-06-23 11:50:14.183 Total Test Time : 0.000 s
2025-06-23 11:50:14.183 Writing Flash Failed, code 0
2025-06-23 11:50:14.183
==============================================================
(warning)
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-23 11:50:23.070 Current port : COM14 + BaudRate : 115200 connect success
2025-06-23 11:50:23.070 do_reset_signal
2025-06-23 11:50:23.070 Getting Bus...
2025-06-23 11:50:24.369 Getting Bus...
2025-06-23 11:50:25.878 Gotten Bus...
2025-06-23 11:50:25.926 Got ChipId: 0x7252a
2025-06-23 11:50:25.926 Current Chip is : BK7252N
2025-06-23 11:50:25.958 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-23 11:50:25.958 Got FLashMID: 0x1560eb
2025-06-23 11:50:25.990 Current baudrate : 2000000 success
2025-06-23 11:50:25.990 Unprotecting Flash
2025-06-23 11:50:26.085 Unprotected Flash ->pass
2025-06-23 11:50:26.086 [ 0 ] file_startAddr : 0x00000000
2025-06-23 11:50:26.086 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin
2025-06-23 11:50:26.086 [ 0 ] file_length : 0x132000 (1224 KB)
2025-06-23 11:50:26.086 [ 0 ] file_crc : 0xec658db5
2025-06-23 11:50:26.086 Begin EraseFlash
2025-06-23 11:50:26.086 Start 4K Erase
2025-06-23 11:50:26.086 End 4K Erase
2025-06-23 11:50:26.086 Start 64K Erase
2025-06-23 11:50:26.421 End 64K Erase
2025-06-23 11:50:26.421 EraseFlash ->pass
2025-06-23 11:50:26.424 [ 0 ] Begin write to flash...
2025-06-23 11:50:40.282 WriteFlash ->pass
2025-06-23 11:50:40.378 Enprotect pass
2025-06-23 11:50:40.378 Boot_Reboot
2025-06-23 11:50:40.812 Total Test Time : 14.933 s
2025-06-23 11:50:40.812 Writing Flash OK
2025-06-23 11:50:40.812
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-24 10:33:05.126 Current port : COM14 + BaudRate : 115200 connect failed
2025-06-24 10:33:05.127 Connect device fail!
2025-06-24 10:33:05.138 Total Test Time : 0.000 s
2025-06-24 10:33:05.138 Writing Flash Failed, code 0
2025-06-24 10:33:05.138
==============================================================
(warning)
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-24 10:33:13.596 Current port : COM14 + BaudRate : 115200 connect success
2025-06-24 10:33:13.596 do_reset_signal
2025-06-24 10:33:13.596 Getting Bus...
2025-06-24 10:33:14.906 Getting Bus...
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-24 10:33:38.404 Current port : COM14 + BaudRate : 115200 connect success
2025-06-24 10:33:38.404 do_reset_signal
2025-06-24 10:33:38.404 Getting Bus...
2025-06-24 10:33:39.392 Gotten Bus...
2025-06-24 10:33:39.440 Got ChipId: 0x7252a
2025-06-24 10:33:39.440 Current Chip is : BK7252N
2025-06-24 10:33:39.471 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 05 00 3c 00 6b ff
2025-06-24 10:33:39.472 Got FLashMID: 0x1560eb
2025-06-24 10:33:39.504 Current baudrate : 2000000 success
2025-06-24 10:33:39.504 Unprotecting Flash
2025-06-24 10:33:39.599 Unprotected Flash ->pass
2025-06-24 10:33:39.599 [ 0 ] file_startAddr : 0x00000000
2025-06-24 10:33:39.599 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin
2025-06-24 10:33:39.600 [ 0 ] file_length : 0x132000 (1224 KB)
2025-06-24 10:33:39.600 [ 0 ] file_crc : 0xec658db5
2025-06-24 10:33:39.600 Begin EraseFlash
2025-06-24 10:33:39.600 Start 4K Erase
2025-06-24 10:33:39.600 End 4K Erase
2025-06-24 10:33:39.600 Start 64K Erase
2025-06-24 10:33:39.935 End 64K Erase
2025-06-24 10:33:39.935 EraseFlash ->pass
2025-06-24 10:33:39.938 [ 0 ] Begin write to flash...
2025-06-24 10:33:53.797 WriteFlash ->pass
2025-06-24 10:33:53.892 Enprotect pass
2025-06-24 10:33:53.892 Boot_Reboot
2025-06-24 10:33:54.326 Total Test Time : 14.934 s
2025-06-24 10:33:54.326 Writing Flash OK
2025-06-24 10:33:54.326
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-24 10:47:18.098 Current port : COM14 + BaudRate : 115200 connect success
2025-06-24 10:47:18.098 do_reset_signal
2025-06-24 10:47:18.098 Getting Bus...
2025-06-24 10:47:19.409 Getting Bus...
2025-06-24 10:47:20.141 Gotten Bus...
2025-06-24 10:47:20.188 Got ChipId: 0x7252a
2025-06-24 10:47:20.188 Current Chip is : BK7252N
2025-06-24 10:47:20.220 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-24 10:47:20.220 Got FLashMID: 0x1560eb
2025-06-24 10:47:20.252 Current baudrate : 2000000 success
2025-06-24 10:47:20.252 Unprotecting Flash
2025-06-24 10:47:20.348 Unprotected Flash ->pass
2025-06-24 10:47:20.348 [ 0 ] file_startAddr : 0x00000000
2025-06-24 10:47:20.348 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin
2025-06-24 10:47:20.348 [ 0 ] file_length : 0x132000 (1224 KB)
2025-06-24 10:47:20.348 [ 0 ] file_crc : 0xcb12d13e
2025-06-24 10:47:20.348 Begin EraseFlash
2025-06-24 10:47:20.348 Start 4K Erase
2025-06-24 10:47:20.348 End 4K Erase
2025-06-24 10:47:20.348 Start 64K Erase
2025-06-24 10:47:20.684 End 64K Erase
2025-06-24 10:47:20.684 EraseFlash ->pass
2025-06-24 10:47:20.687 [ 0 ] Begin write to flash...
2025-06-24 10:47:34.545 WriteFlash ->pass
2025-06-24 10:47:34.641 Enprotect pass
2025-06-24 10:47:34.641 Boot_Reboot
2025-06-24 10:47:35.074 Total Test Time : 14.932 s
2025-06-24 10:47:35.074 Writing Flash OK
2025-06-24 10:47:35.074
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-24 10:56:07.542 Current port : COM14 + BaudRate : 115200 connect success
2025-06-24 10:56:07.542 do_reset_signal
2025-06-24 10:56:07.542 Getting Bus...
2025-06-24 10:56:08.852 Getting Bus...
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-24 10:56:16.908 Current port : COM14 + BaudRate : 115200 connect success
2025-06-24 10:56:16.908 do_reset_signal
2025-06-24 10:56:16.908 Getting Bus...
2025-06-24 10:56:18.219 Getting Bus...
2025-06-24 10:56:29.053 Gotten Bus...
2025-06-24 10:56:29.101 Got ChipId: 0x7252a
2025-06-24 10:56:29.101 Current Chip is : BK7252N
2025-06-24 10:56:29.133 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-24 10:56:29.133 Got FLashMID: 0x1560eb
2025-06-24 10:56:29.165 Current baudrate : 2000000 success
2025-06-24 10:56:29.165 Unprotecting Flash
2025-06-24 10:56:29.260 Unprotected Flash ->pass
2025-06-24 10:56:29.260 [ 0 ] file_startAddr : 0x00000000
2025-06-24 10:56:29.260 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin
2025-06-24 10:56:29.260 [ 0 ] file_length : 0x132000 (1224 KB)
2025-06-24 10:56:29.260 [ 0 ] file_crc : 0x69dc1232
2025-06-24 10:56:29.260 Begin EraseFlash
2025-06-24 10:56:29.261 Start 4K Erase
2025-06-24 10:56:29.261 End 4K Erase
2025-06-24 10:56:29.261 Start 64K Erase
2025-06-24 10:56:29.596 End 64K Erase
2025-06-24 10:56:29.596 EraseFlash ->pass
2025-06-24 10:56:29.599 [ 0 ] Begin write to flash...
2025-06-24 10:56:43.457 WriteFlash ->pass
2025-06-24 10:56:43.553 Enprotect pass
2025-06-24 10:56:43.553 Boot_Reboot
2025-06-24 10:56:43.987 Total Test Time : 14.933 s
2025-06-24 10:56:43.987 Writing Flash OK
2025-06-24 10:56:43.987
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-24 16:18:44.716 Current port : COM14 + BaudRate : 115200 connect success
2025-06-24 16:18:44.717 do_reset_signal
2025-06-24 16:18:44.717 Getting Bus...
2025-06-24 16:18:45.691 Gotten Bus...
2025-06-24 16:18:45.739 Got ChipId: 0x7252a
2025-06-24 16:18:45.739 Current Chip is : BK7252N
2025-06-24 16:18:45.771 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-24 16:18:45.771 Got FLashMID: 0x1560eb
2025-06-24 16:18:45.803 Current baudrate : 2000000 success
2025-06-24 16:18:45.803 Unprotecting Flash
2025-06-24 16:18:45.898 Unprotected Flash ->pass
2025-06-24 16:18:45.900 [ 0 ] file_startAddr : 0x00000000
2025-06-24 16:18:45.900 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin
2025-06-24 16:18:45.900 [ 0 ] file_length : 0x132000 (1224 KB)
2025-06-24 16:18:45.900 [ 0 ] file_crc : 0x501a4fe1
2025-06-24 16:18:45.900 Begin EraseFlash
2025-06-24 16:18:45.900 Start 4K Erase
2025-06-24 16:18:45.900 End 4K Erase
2025-06-24 16:18:45.900 Start 64K Erase
2025-06-24 16:18:46.235 End 64K Erase
2025-06-24 16:18:46.235 EraseFlash ->pass
2025-06-24 16:18:46.238 [ 0 ] Begin write to flash...
2025-06-24 16:19:00.095 WriteFlash ->pass
2025-06-24 16:19:00.192 Enprotect pass
2025-06-24 16:19:00.192 Boot_Reboot
2025-06-24 16:19:00.625 Total Test Time : 14.933 s
2025-06-24 16:19:00.625 Writing Flash OK
2025-06-24 16:19:00.625
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin@0x0-0x36900 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-25 15:53:32.072 Current port : COM14 + BaudRate : 115200 connect success
2025-06-25 15:53:32.073 do_reset_signal
2025-06-25 15:53:32.073 Getting Bus...
2025-06-25 15:53:33.383 Getting Bus...
2025-06-25 15:53:48.385 LinkCheck Timeout
2025-06-25 15:53:48.385 do_reset_signal
2025-06-25 15:53:48.385 BL2 Getting Bus...
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 1000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin@0x0-0x36900 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-25 15:54:15.611 Current port : COM14 + BaudRate : 115200 connect success
2025-06-25 15:54:15.611 do_reset_signal
2025-06-25 15:54:15.611 Getting Bus...
2025-06-25 15:54:16.923 Getting Bus...
2025-06-25 15:54:31.924 LinkCheck Timeout
2025-06-25 15:54:31.924 do_reset_signal
2025-06-25 15:54:31.924 BL2 Getting Bus...
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe read -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin@0x0-0x36900 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-25 15:54:43.740 start Read thread.
2025-06-25 15:54:43.935 Current port : COM14 + BaudRate : 115200 connect success
2025-06-25 15:54:43.935 do_reset_signal
2025-06-25 15:54:43.935 Getting Bus...
2025-06-25 15:54:45.246 Getting Bus...
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin@0x0-0x36900 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-26 09:06:32.431 Current port : COM14 + BaudRate : 115200 connect success
2025-06-26 09:06:32.431 do_reset_signal
2025-06-26 09:06:32.431 Getting Bus...
2025-06-26 09:06:33.742 Getting Bus...
2025-06-26 09:06:34.473 Gotten Bus...
2025-06-26 09:06:34.520 Got ChipId: 0x7252a
2025-06-26 09:06:34.520 Current Chip is : BK7252N
2025-06-26 09:06:34.552 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-26 09:06:34.552 Got FLashMID: 0x1560eb
2025-06-26 09:06:34.924 [ 0 ] Read the last not aligned 4K data, align startAddr : 0x00036000
2025-06-26 09:06:34.924 Read successfully
2025-06-26 09:06:34.956 Current baudrate : 2000000 success
2025-06-26 09:06:34.956 Unprotecting Flash
2025-06-26 09:06:35.052 Unprotected Flash ->pass
2025-06-26 09:06:35.052 [ 0 ] file_startAddr : 0x00000000
2025-06-26 09:06:35.052 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin
2025-06-26 09:06:35.052 [ 0 ] file_length : 0x36900 (218 KB)
2025-06-26 09:06:35.052 [ 0 ] file_crc : 0x7f9e8733
2025-06-26 09:06:35.052 Begin EraseFlash
2025-06-26 09:06:35.052 Start 4K Erase
2025-06-26 09:06:35.052 End 4K Erase
2025-06-26 09:06:35.052 Start 64K Erase
2025-06-26 09:06:35.196 End 64K Erase
2025-06-26 09:06:35.196 Handling file end
2025-06-26 09:06:35.260 Last 4K CRC_Verify ->pass
2025-06-26 09:06:35.260 Handled file end
2025-06-26 09:06:35.260 EraseFlash ->pass
2025-06-26 09:06:35.263 [ 0 ] Begin write to flash...
2025-06-26 09:06:37.898 CheckCRC ->fail ,Address = 0x00036000
2025-06-26 09:06:37.962 WriteFlash ->pass
2025-06-26 09:06:38.058 Enprotect pass
2025-06-26 09:06:38.058 Boot_Reboot
2025-06-26 09:06:38.491 Total Test Time : 4.017 s
2025-06-26 09:06:38.491 Writing Flash OK
2025-06-26 09:06:38.491
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe read -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin@0x0-0x36900 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-26 09:07:16.249 start Read thread.
2025-06-26 09:07:16.440 Current port : COM14 + BaudRate : 115200 connect success
2025-06-26 09:07:16.440 do_reset_signal
2025-06-26 09:07:16.440 Getting Bus...
2025-06-26 09:07:17.740 Getting Bus...
2025-06-26 09:07:26.118 Gotten Bus...
2025-06-26 09:07:26.245 Got ChipId: 0x7252a
2025-06-26 09:07:26.245 Current Chip is : BK7252N
2025-06-26 09:07:26.277 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-26 09:07:26.277 Got FLashMID: 0x1560eb
2025-06-26 09:07:26.309 Current baudrate : 2000000 success
2025-06-26 09:07:26.309 [ 0 ] file_startAddr : 0x00000000
2025-06-26 09:07:26.309 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin
2025-06-26 09:07:26.309 [ 0 ] file_length : 0x36900 (218 KB)
2025-06-26 09:07:26.309 [ 0 ] file_crc : 0x7f9e8733
2025-06-26 09:07:26.309 Begin ReadFlash...
2025-06-26 09:07:26.784 Getting Bus...
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin@0x0-0x36900 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-26 09:07:39.464 Current port : COM14 + BaudRate : 115200 connect success
2025-06-26 09:07:39.464 do_reset_signal
2025-06-26 09:07:39.464 Getting Bus...
2025-06-26 09:07:40.769 Getting Bus...
2025-06-26 09:07:46.358 Gotten Bus...
2025-06-26 09:07:46.406 Got ChipId: 0x7252a
2025-06-26 09:07:46.406 Current Chip is : BK7252N
2025-06-26 09:07:46.438 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-26 09:07:46.438 Got FLashMID: 0x1560eb
2025-06-26 09:07:46.810 [ 0 ] Read the last not aligned 4K data, align startAddr : 0x00036000
2025-06-26 09:07:46.810 Read successfully
2025-06-26 09:07:46.841 Current baudrate : 2000000 success
2025-06-26 09:07:46.841 Unprotecting Flash
2025-06-26 09:07:46.937 Unprotected Flash ->pass
2025-06-26 09:07:46.937 [ 0 ] file_startAddr : 0x00000000
2025-06-26 09:07:46.937 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin
2025-06-26 09:07:46.937 [ 0 ] file_length : 0x36900 (218 KB)
2025-06-26 09:07:46.938 [ 0 ] file_crc : 0x7f9e8733
2025-06-26 09:07:46.938 Begin EraseFlash
2025-06-26 09:07:46.938 Start 4K Erase
2025-06-26 09:07:46.938 End 4K Erase
2025-06-26 09:07:46.938 Start 64K Erase
2025-06-26 09:07:47.081 End 64K Erase
2025-06-26 09:07:47.081 Handling file end
2025-06-26 09:07:47.145 Last 4K CRC_Verify ->pass
2025-06-26 09:07:47.145 Handled file end
2025-06-26 09:07:47.145 EraseFlash ->pass
2025-06-26 09:07:47.148 [ 0 ] Begin write to flash...
2025-06-26 09:07:49.783 WriteFlash ->pass
2025-06-26 09:07:49.879 Enprotect pass
2025-06-26 09:07:49.879 Boot_Reboot
2025-06-26 09:07:50.314 Total Test Time : 3.955 s
2025-06-26 09:07:50.314 Writing Flash OK
2025-06-26 09:07:50.314
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe erase -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT12/fw-AC63_BT_SDK/cpu/bd19/tools/ota.bin@0x0-0x36900 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-26 09:08:07.251 start download thread.
2025-06-26 09:08:07.439 Current port : COM14 + BaudRate : 115200 connect success
2025-06-26 09:08:07.439 do_reset_signal
2025-06-26 09:08:07.439 Getting Bus...
2025-06-26 09:08:08.170 Gotten Bus...
2025-06-26 09:08:08.217 Got ChipId: 0x7252a
2025-06-26 09:08:08.217 Current Chip is : BK7252N
2025-06-26 09:08:08.249 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-26 09:08:08.249 Got FLashMID: 0x1560eb
2025-06-26 09:08:08.620 [ 0 ] Read the last not aligned 4K data, align startAddr : 0x00036000
2025-06-26 09:08:08.620 Read successfully
2025-06-26 09:08:08.652 Current baudrate : 2000000 success
2025-06-26 09:08:08.668 Got FLashMID: 0x1560eb
2025-06-26 09:08:08.668 Unprotecting Flash
2025-06-26 09:08:08.764 Unprotected Flash ->pass
2025-06-26 09:08:08.764 Begin EraseFlash
2025-06-26 09:08:08.764 Start 4K Erase
2025-06-26 09:08:08.764 End 4K Erase
2025-06-26 09:08:08.764 Start 64K Erase
2025-06-26 09:08:08.908 End 64K Erase
2025-06-26 09:08:08.908 Handling file end
2025-06-26 09:08:08.972 Last 4K CRC_Verify ->pass
2025-06-26 09:08:08.972 Handled file end
2025-06-26 09:08:08.972 EraseFlash ->pass
2025-06-26 09:08:09.005 Boot_Reboot
2025-06-26 09:08:09.439 Total Test Time : 1.265 s
2025-06-26 09:08:09.439 Erasing Flash OK
2025-06-26 09:08:09.439
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-06-26 09:09:24.458 Current port : COM14 + BaudRate : 115200 connect success
2025-06-26 09:09:24.458 do_reset_signal
2025-06-26 09:09:24.458 Getting Bus...
2025-06-26 09:09:24.670 Gotten Bus...
2025-06-26 09:09:24.797 Got ChipId: 0x7252a
2025-06-26 09:09:24.797 Current Chip is : BK7252N
2025-06-26 09:09:24.830 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-06-26 09:09:24.830 Got FLashMID: 0x1560eb
2025-06-26 09:09:24.862 Current baudrate : 2000000 success
2025-06-26 09:09:24.862 Unprotecting Flash
2025-06-26 09:09:24.893 Unprotected Flash ->pass
2025-06-26 09:09:24.894 [ 0 ] file_startAddr : 0x00000000
2025-06-26 09:09:24.894 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin
2025-06-26 09:09:24.894 [ 0 ] file_length : 0x132000 (1224 KB)
2025-06-26 09:09:24.894 [ 0 ] file_crc : 0x7867ed21
2025-06-26 09:09:24.894 Begin EraseFlash
2025-06-26 09:09:24.894 Start 4K Erase
2025-06-26 09:09:24.894 End 4K Erase
2025-06-26 09:09:24.894 Start 64K Erase
2025-06-26 09:09:25.229 End 64K Erase
2025-06-26 09:09:25.229 EraseFlash ->pass
2025-06-26 09:09:25.232 [ 0 ] Begin write to flash...
2025-06-26 09:09:39.090 WriteFlash ->pass
2025-06-26 09:09:39.185 Enprotect pass
2025-06-26 09:09:39.185 Boot_Reboot
2025-06-26 09:09:39.620 Total Test Time : 14.950 s
2025-06-26 09:09:39.620 Writing Flash OK
2025-06-26 09:09:39.620
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/IT18-1.0.0.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-07-08 08:41:35.191 Current port : COM14 + BaudRate : 115200 connect success
2025-07-08 08:41:35.191 do_reset_signal
2025-07-08 08:41:35.191 Getting Bus...
2025-07-08 08:41:36.483 Getting Bus...
2025-07-08 08:41:37.606 Gotten Bus...
2025-07-08 08:41:37.654 Got ChipId: 0x7252a
2025-07-08 08:41:37.654 Current Chip is : BK7252N
2025-07-08 08:41:37.686 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-07-08 08:41:37.686 Got FLashMID: 0x1560eb
2025-07-08 08:41:37.718 Current baudrate : 2000000 success
2025-07-08 08:41:37.718 Unprotecting Flash
2025-07-08 08:41:37.814 Unprotected Flash ->pass
2025-07-08 08:41:37.814 [ 0 ] file_startAddr : 0x00000000
2025-07-08 08:41:37.814 [ 0 ] file_path : C:/Users/hjf/Desktop/IT18-1.0.0.bin
2025-07-08 08:41:37.814 [ 0 ] file_length : 0x132000 (1224 KB)
2025-07-08 08:41:37.814 [ 0 ] file_crc : 0x7867ed21
2025-07-08 08:41:37.814 Begin EraseFlash
2025-07-08 08:41:37.814 Start 4K Erase
2025-07-08 08:41:37.814 End 4K Erase
2025-07-08 08:41:37.814 Start 64K Erase
2025-07-08 08:41:38.150 End 64K Erase
2025-07-08 08:41:38.150 EraseFlash ->pass
2025-07-08 08:41:38.153 [ 0 ] Begin write to flash...
2025-07-08 08:41:52.011 WriteFlash ->pass
2025-07-08 08:41:52.107 Enprotect pass
2025-07-08 08:41:52.107 Boot_Reboot
2025-07-08 08:41:52.542 Total Test Time : 14.936 s
2025-07-08 08:41:52.542 Writing Flash OK
2025-07-08 08:41:52.542
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 14 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-07-09 11:09:40.456 Current port : COM14 + BaudRate : 115200 connect success
2025-07-09 11:09:40.458 do_reset_signal
2025-07-09 11:09:40.458 Getting Bus...
2025-07-09 11:09:41.771 Getting Bus...
2025-07-09 11:09:41.982 Gotten Bus...
2025-07-09 11:09:42.110 Got ChipId: 0x7252a
2025-07-09 11:09:42.110 Current Chip is : BK7252N
2025-07-09 11:09:42.141 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 06 00 80 00 d4 ff
2025-07-09 11:09:42.141 Got FLashMID: 0x1560eb
2025-07-09 11:09:42.174 Current baudrate : 2000000 success
2025-07-09 11:09:42.174 Unprotecting Flash
2025-07-09 11:09:42.270 Unprotected Flash ->pass
2025-07-09 11:09:42.270 [ 0 ] file_startAddr : 0x00000000
2025-07-09 11:09:42.270 [ 0 ] file_path : C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin
2025-07-09 11:09:42.270 [ 0 ] file_length : 0x132000 (1224 KB)
2025-07-09 11:09:42.270 [ 0 ] file_crc : 0x7cc09418
2025-07-09 11:09:42.270 Begin EraseFlash
2025-07-09 11:09:42.270 Start 4K Erase
2025-07-09 11:09:42.270 End 4K Erase
2025-07-09 11:09:42.270 Start 64K Erase
2025-07-09 11:09:42.606 End 64K Erase
2025-07-09 11:09:42.606 EraseFlash ->pass
2025-07-09 11:09:42.609 [ 0 ] Begin write to flash...
2025-07-09 11:09:56.467 WriteFlash ->pass
2025-07-09 11:09:56.562 Enprotect pass
2025-07-09 11:09:56.562 Boot_Reboot
2025-07-09 11:09:56.997 Total Test Time : 15.015 s
2025-07-09 11:09:56.997 Writing Flash OK
2025-07-09 11:09:56.997
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}

View File

@ -7691,3 +7691,115 @@
\__,_|\___/|_| |_|\___| \__,_|\___/|_| |_|\___|
{All Finished Successfully} {All Finished Successfully}
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 15 -b 2000000 --uart-type CH340 --mainBin-multi C:/Users/hjf/Desktop/IT18-1.0.0.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-07-08 09:28:49.474 Current port : COM15 + BaudRate : 115200 connect success
2025-07-08 09:28:49.474 do_reset_signal
2025-07-08 09:28:49.474 Getting Bus...
2025-07-08 09:28:50.501 Getting Bus...
2025-07-08 09:28:52.729 Gotten Bus...
2025-07-08 09:28:52.741 Got ChipId: 0x7252a
2025-07-08 09:28:52.741 Current Chip is : BK7252N
2025-07-08 09:28:52.854 rxf-uid : 4b 37 32 35 32 4e 5f 31 2e 30 2e 31 34 0d 0a 52
2025-07-08 09:28:52.854 Got FLashMID: 0x1560eb
2025-07-08 09:28:53.255 BEKEN_SWDL_SetBR fail
2025-07-08 09:28:53.255 get_chip_info fail!
2025-07-08 09:28:53.266 Total Test Time : 0.536 s
2025-07-08 09:28:53.299 Boot_Reboot
2025-07-08 09:28:53.359 Writing Flash Failed, code 0
2025-07-08 09:28:53.359
==============================================================
(warning)
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 15 -b 2000000 --uart-type CH340 --mainBin-multi C:/Users/hjf/Desktop/IT18-1.0.0.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-07-08 09:28:56.068 Current port : COM15 + BaudRate : 115200 connect success
2025-07-08 09:28:56.068 do_reset_signal
2025-07-08 09:28:56.068 Getting Bus...
2025-07-08 09:28:57.066 Gotten Bus...
2025-07-08 09:28:57.174 Got ChipId: 0x7252a
2025-07-08 09:28:57.174 Current Chip is : BK7252N
2025-07-08 09:28:57.185 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 05 00 bc 00 94 ff
2025-07-08 09:28:57.185 Got FLashMID: 0x1560eb
2025-07-08 09:28:57.213 Current baudrate : 2000000 success
2025-07-08 09:28:57.213 Unprotecting Flash
2025-07-08 09:28:57.216 Unprotected Flash ->pass
2025-07-08 09:28:57.217 [ 0 ] file_startAddr : 0x00000000
2025-07-08 09:28:57.217 [ 0 ] file_path : C:/Users/hjf/Desktop/IT18-1.0.0.bin
2025-07-08 09:28:57.217 [ 0 ] file_length : 0x132000 (1224 KB)
2025-07-08 09:28:57.217 [ 0 ] file_crc : 0x7867ed21
2025-07-08 09:28:57.217 Begin EraseFlash
2025-07-08 09:28:57.217 Start 4K Erase
2025-07-08 09:28:57.217 End 4K Erase
2025-07-08 09:28:57.217 Start 64K Erase
2025-07-08 09:29:00.352 do_reset_signal
2025-07-08 09:29:00.352 Getting Bus...
2025-07-08 09:29:00.352 Getting Bus...
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 15 -b 2000000 --uart-type CH340 --mainBin-multi C:/Users/hjf/Desktop/IT18-1.0.0.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-07-08 09:29:01.202 Current port : COM15 + BaudRate : 115200 connect success
2025-07-08 09:29:01.202 do_reset_signal
2025-07-08 09:29:01.202 Getting Bus...
2025-07-08 09:29:01.408 Gotten Bus...
2025-07-08 09:29:01.517 Got ChipId: 0x7252a
2025-07-08 09:29:01.517 Current Chip is : BK7252N
2025-07-08 09:29:01.527 rxf-uid : 43 31 30 34 35 38 33 2e 30 30 05 00 bc 00 94 ff
2025-07-08 09:29:01.527 Got FLashMID: 0x1560eb
2025-07-08 09:29:01.555 Current baudrate : 2000000 success
2025-07-08 09:29:01.555 Unprotecting Flash
2025-07-08 09:29:01.558 Unprotected Flash ->pass
2025-07-08 09:29:01.558 [ 0 ] file_startAddr : 0x00000000
2025-07-08 09:29:01.558 [ 0 ] file_path : C:/Users/hjf/Desktop/IT18-1.0.0.bin
2025-07-08 09:29:01.558 [ 0 ] file_length : 0x132000 (1224 KB)
2025-07-08 09:29:01.558 [ 0 ] file_crc : 0x7867ed21
2025-07-08 09:29:01.558 Begin EraseFlash
2025-07-08 09:29:01.558 Start 4K Erase
2025-07-08 09:29:01.559 End 4K Erase
2025-07-08 09:29:01.559 Start 64K Erase
2025-07-08 09:29:01.806 End 64K Erase
2025-07-08 09:29:01.806 EraseFlash ->pass
2025-07-08 09:29:01.809 [ 0 ] Begin write to flash...
2025-07-08 09:29:14.040 WriteFlash ->pass
2025-07-08 09:29:14.070 Enprotect pass
2025-07-08 09:29:14.070 Boot_Reboot
2025-07-08 09:29:14.110 Total Test Time : 12.701 s
2025-07-08 09:29:14.110 Writing Flash OK
2025-07-08 09:29:14.110
==============================================================
_ (done)
| |
__| | ___ _ __ ___
/ _ |/ _ \| _ \ / _ \
| (_| | (_) | | | | __/
\__,_|\___/|_| |_|\___|
{All Finished Successfully}

View File

@ -144,3 +144,31 @@
__/ | __/ |
|___/ |___/
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 6 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/IT18-1.0.0.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-07-03 16:48:18.858 Current port : COM6 + BaudRate : 115200 connect failed
2025-07-03 16:48:18.858 Connect device fail!
2025-07-03 16:48:18.869 Total Test Time : 0.000 s
2025-07-03 16:48:18.869 Writing Flash Failed, code 0
2025-07-03 16:48:18.869
==============================================================
(warning)
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 6 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41

View File

@ -11,3 +11,25 @@
2025-06-16 17:10:18.947 LinkCheck Timeout 2025-06-16 17:10:18.947 LinkCheck Timeout
2025-06-16 17:10:18.947 do_reset_signal 2025-06-16 17:10:18.947 do_reset_signal
2025-06-16 17:10:18.947 BL2 Getting Bus... 2025-06-16 17:10:18.947 BL2 Getting Bus...
=====================================================================
cmdline: |C:/Users/hjf/Desktop/temperature_iT18/tool/BEKEN_BKFIL_V2.1.11.15_20241119/BEKEN_BKFIL_V2.1.11.15_20241119/bk_loader.exe download -p 7 -b 2000000 --uart-type OTHER --mainBin-multi C:/Users/hjf/Desktop/IT18-1.0.0.bin@0x0-0x132000 --reboot 0 --fast-link 1 |
bk_loader version 2.1.11.15: build @Nov 14 2024 19:17:41
2025-07-08 08:39:49.022 Current port : COM7 + BaudRate : 115200 connect failed
2025-07-08 08:39:49.023 Connect device fail!
2025-07-08 08:39:49.034 Total Test Time : 0.000 s
2025-07-08 08:39:49.034 Writing Flash Failed, code 0
2025-07-08 08:39:49.034
==============================================================
(warning)
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/

View File

@ -1,8 +1,8 @@
[Application] [Application]
Theme=蓝色 Theme=蓝色扁平
latest_version= latest_version=
Language=0 Language=0
UartPort=14 UartPort=10
UartPort_selected=true UartPort_selected=true
Baudrate=2000000 Baudrate=2000000
Origin_EXE= Origin_EXE=
@ -12,7 +12,7 @@ BinFileCheckState="true;"
BinFilePath="C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin;" BinFilePath="C:/Users/hjf/Desktop/temperature_iT18/beken_rtt_sdk_release-SDK_3.0.76/out/all_2M.1220.bin;"
BinFileStartAddress="0;" BinFileStartAddress="0;"
BinFileLength="0x132000;" BinFileLength="0x132000;"
BinFileCRC="0xaf69866a;" BinFileCRC="0x7cc09418;"
[Common] [Common]
Device_ID_0=11 Device_ID_0=11
@ -20,7 +20,7 @@ Device_ID_1=22
Device_ID_2=33 Device_ID_2=33
Device_ID_3=44 Device_ID_3=44
Device_ID_4=0a Device_ID_4=0a
Device_ID_5=29 Device_ID_5=4f
Device_ID_address=0x001e0024 Device_ID_address=0x001e0024
Device_ID_length=6 Device_ID_length=6
Device_ID_auto_rolling=true Device_ID_auto_rolling=true