Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/USB_64K/output/eeprom.dat	(revision 4803)
+++ /YC1308AF/branch/mouse/YDN_Project/USB_64K/output/eeprom.dat	(working copy)
@@ -2,44 +2,48 @@
 02
 aa
 55
-8e
+aa
 05
 c2
 84
 00
-0a
+0b
+c0
+00
+00
+14
 c0
 41
 80
-39
+47
 c0
 42
 80
-40
+4e
 c0
 45
 00
-4e
+5c
 c0
 45
 80
-54
+62
 c0
 46
 00
-93
+a1
 c0
 56
 80
-13
+20
 c0
 5d
 00
-61
+6f
 c0
 5d
 80
-63
+71
 20
 20
 13
@@ -47,39 +51,91 @@
 c0
 15
 01
-53
+5a
 c0
 46
 00
-b9
+c7
 c0
 47
 00
-bd
+cb
 c0
 49
 80
-cd
+db
 c0
 53
 80
-a8
+b6
 c0
 70
 00
-d3
+e1
 c0
 72
 00
-e4
+f2
 c0
 73
 01
-1c
+2a
 20
 20
 13
 7e
+20
+80
+00
+00
+20
+40
+00
+17
+20
+20
+08
+04
+20
+75
+80
+00
+20
+40
+5c
+b7
+20
+40
+5c
+c0
+20
+40
+5c
+c6
+20
+40
+5c
+cb
+20
+40
+5c
+d1
+20
+40
+5c
+d5
+20
+40
+61
+50
+20
+20
+36
+a7
+24
+55
+81
+55
 70
 41
 82
@@ -91,7 +147,7 @@
 58
 00
 00
-20
+2e
 67
 e1
 49
@@ -99,7 +155,7 @@
 58
 00
 00
-24
+32
 67
 e1
 48
@@ -123,7 +179,7 @@
 58
 00
 00
-32
+40
 67
 e1
 48
@@ -155,7 +211,7 @@
 c0
 00
 00
-29
+37
 c0
 00
 b6
@@ -163,7 +219,7 @@
 c0
 07
 80
-84
+92
 20
 60
 00
@@ -199,11 +255,11 @@
 20
 40
 00
-b1
+bf
 20
 20
 00
-2a
+38
 6f
 e0
 c9
@@ -211,7 +267,7 @@
 c0
 02
 00
-35
+43
 20
 20
 37
@@ -227,11 +283,11 @@
 20
 40
 00
-ae
+bc
 20
 20
 00
-34
+42
 70
 89
 00
@@ -267,7 +323,7 @@
 24
 3a
 00
-49
+57
 20
 40
 4d
@@ -323,7 +379,7 @@
 24
 3a
 00
-51
+5f
 20
 20
 12
@@ -379,7 +435,7 @@
 20
 40
 00
-88
+96
 20
 40
 62
@@ -395,7 +451,7 @@
 20
 40
 00
-5f
+6d
 20
 20
 37
@@ -415,7 +471,7 @@
 20
 40
 00
-68
+76
 20
 20
 37
@@ -427,11 +483,11 @@
 20
 40
 00
-6b
+79
 20
 20
 00
-77
+85
 6f
 e0
 c9
@@ -547,7 +603,7 @@
 20
 20
 00
-85
+93
 6f
 e0
 c8
@@ -555,7 +611,7 @@
 c0
 07
 80
-8c
+9a
 70
 49
 40
@@ -639,7 +695,7 @@
 20
 40
 00
-8e
+9c
 1f
 e6
 7e
@@ -663,7 +719,7 @@
 24
 20
 80
-a6
+b4
 58
 00
 00
@@ -775,7 +831,7 @@
 c0
 00
 00
-c2
+d0
 20
 20
 7a
@@ -799,7 +855,7 @@
 c0
 00
 80
-c8
+d6
 20
 20
 7a
@@ -811,7 +867,7 @@
 c0
 04
 80
-cb
+d9
 20
 20
 7a
@@ -923,15 +979,15 @@
 c0
 55
 00
-e9
+f7
 c0
 2a
-80
-f3
+81
+01
 c0
 11
 01
-03
+11
 20
 20
 23
@@ -943,11 +999,11 @@
 c0
 00
 80
-ed
+fb
 c0
 01
 00
-f0
+fe
 20
 60
 00
@@ -982,8 +1038,8 @@
 5e
 20
 3a
-00
-f9
+01
+07
 6f
 e2
 48
@@ -1006,12 +1062,12 @@
 98
 c0
 00
-80
-fd
+81
+0b
 c0
 01
 01
-00
+0e
 20
 60
 00
@@ -1047,7 +1103,7 @@
 20
 3a
 01
-09
+17
 6f
 e2
 48
@@ -1071,11 +1127,11 @@
 c0
 00
 81
-0d
+1b
 c0
 01
 01
-15
+23
 20
 60
 00
@@ -1095,7 +1151,7 @@
 c0
 01
 01
-12
+20
 20
 60
 00
@@ -1127,7 +1183,7 @@
 c0
 80
 01
-1a
+28
 20
 60
 00
@@ -1155,7 +1211,7 @@
 20
 40
 01
-2b
+39
 6f
 e0
 c8
@@ -1223,11 +1279,11 @@
 20
 40
 01
-60
+67
 20
 40
 01
-33
+41
 20
 20
 23
@@ -1259,11 +1315,11 @@
 20
 40
 01
-42
+50
 20
 40
-36
-d0
+01
+55
 6f
 e0
 89
@@ -1287,79 +1343,51 @@
 c0
 ad
 01
-38
+46
 20
 20
 5e
 29
-df
 20
+40
+5e
+3b
+d8
+40
 00
 01
 da
 20
 48
 f5
-d8
+da
 40
 00
-2a
+00
 20
 20
-01
-46
+5e
+6b
 20
 40
+5e
+42
+d8
+40
+00
 01
-48
-20
-20
-5f
-13
+da
 20
+48
+f5
+da
 40
-5f
-2a
-70
-80
-47
-80
-6f
-f0
-8a
-0b
-79
-3f
-fe
-05
-79
-20
-7e
-03
-67
-f0
-8a
-0b
-20
 00
 00
-18
-79
-20
-7e
-04
-67
-f0
-8a
-0b
 20
-00
-01
-f4
 20
-60
-00
-00
+5e
+79
 6f
 f0
 8a
@@ -1424,15 +1452,15 @@
 20
 23
 d6
-02
-3b
+66
+fa
 aa
 55
 40
 00
 00
 40
-00
+01
 00
 00
 00
@@ -1545,13 +1573,29 @@
 7b
 41
 14
+aa
+55
+0a
+00
+7b
+44
+80
+1f
+00
+20
+ee
+00
+00
+0f
+00
+00
 55
 aa
 aa
 55
-9b
-0e
-2c
+20
+12
+a5
 8b
 ff
 ff
@@ -8144,49 +8188,5 @@
 ff
 ff
 ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-94
-52
+d2
+ac
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/USB_64K/output/program.lis	(revision 4803)
+++ /YC1308AF/branch/mouse/YDN_Project/USB_64K/output/program.lis	(working copy)
@@ -1,490 +1,499 @@
               include "bt_format "
               org 0x0000
-0000 c284000a bbit1 8 ,pf_patch_ext 
-0001 c0418039 beq patch10_3 ,p_set_sync_on 
-0002 c0428040 beq patch10_5 ,p_rf_rx_enable 
-0003 c045004e beq patch11_2 ,p_txon_next 
-0004 c0458054 beq patch11_3 ,p_initialize_radio_cont 
-0005 c0460093 beq patch11_4 ,p_save_rssi 
-0006 c0568013 beq patch15_5 ,p_app_init 
-0007 c05d0061 beq patch17_2 ,p_dongle_usb_dispatch 
-0008 c05d8063 beq patch17_3 ,p_dongle_work_mode_auto 
-0009 2020137e branch loop 
+0000 c284000b bbit1 8 ,pf_patch_ext 
+0001 c0000014 beq patch00_0 ,p_soft_reset 
+0002 c0418047 beq patch10_3 ,p_set_sync_on 
+0003 c042804e beq patch10_5 ,p_rf_rx_enable 
+0004 c045005c beq patch11_2 ,p_txon_next 
+0005 c0458062 beq patch11_3 ,p_initialize_radio_cont 
+0006 c04600a1 beq patch11_4 ,p_save_rssi 
+0007 c0568020 beq patch15_5 ,p_app_init 
+0008 c05d006f beq patch17_2 ,p_dongle_usb_dispatch 
+0009 c05d8071 beq patch17_3 ,p_dongle_work_mode_auto 
+000a 2020137e branch loop 
 
 pf_patch_ext:
-000a c0150153 beq patch25_2 ,p_efuse_vdd_off 
-000b c04600b9 beq patch31_4 ,p_usb_init 
-000c c04700bd beq patch31_6 ,p_usb_class_type 
-000d c04980cd beq patch32_3 ,p_usb_tx 
-000e c05380a8 beq patch34_7 ,p_le_enable 
-000f c07000d3 beq patch3c_0 ,p_g24_receive_skip_end 
-0010 c07200e4 beq patch3c_4 ,p_g24_bind_data_parse_next 
-0011 c073011c beq patch3c_6 ,p_g24_bind_mode_auto 
-0012 2020137e branch loop 
+000b c015015a beq patch25_2 ,p_efuse_vdd_off 
+000c c04600c7 beq patch31_4 ,p_usb_init 
+000d c04700cb beq patch31_6 ,p_usb_class_type 
+000e c04980db beq patch32_3 ,p_usb_tx 
+000f c05380b6 beq patch34_7 ,p_le_enable 
+0010 c07000e1 beq patch3c_0 ,p_g24_receive_skip_end 
+0011 c07200f2 beq patch3c_4 ,p_g24_bind_data_parse_next 
+0012 c073012a beq patch3c_6 ,p_g24_bind_mode_auto 
+0013 2020137e branch loop 
+
+p_soft_reset:
+0014 20800000 clear_stack 
+0015 20400017 call p_app_param_init 
+0016 20200804 branch soft_reset + 3 
+
+p_app_param_init:
+0017 20758000 rtn wake 
+0018 20405cb7 call app_read_efuse_sys_config 
+0019 20405cc0 call app_read_efuse_dig_aon_vsel 
+001a 20405cc6 call app_read_efuse_syn_afc_cfg1 
+001b 20405ccb call app_read_efuse_rf_ldo_cfg1 
+001c 20405cd1 call app_read_efuse_rc_cal 
+001d 20405cd5 call app_read_efuse_agc 
+001e 20406150 call adc_init_data 
+001f 202036a7 branch dongle_default_init + 2 
 
 p_app_init:
 
 p_dongle_init:
-0013 7041823a jam 0x3a ,mem_lpm_ctrl3 
-0014 20401554 call lpm_write_sel_vdd 
-0015 58000020 setarg p_g24_bind_continue_timer 
-0016 67e14952 store 2 ,mem_cb_24g_bind_continue 
-0017 58000024 setarg p_dongle_dispatch 
-0018 67e1488d store 2 ,mem_cb_24g_receive_process 
-0019 5800379c setarg dongle_g24_mouse 
-001a 67e14891 store 2 ,mem_cb_24g_data_device1 
-001b 580037ad setarg dongle_g24_kb 
-001c 67e14893 store 2 ,mem_cb_24g_data_device2 
-001d 58000032 setarg p_dongle_ackpayload_prep 
-001e 67e1488f store 2 ,mem_cb_24g_ackpayload 
-001f 202036a2 branch dongle_init + 8 
+0020 24558155 ncall p_dongle_read_kb_bind_status ,wake 
+0021 7041823a jam 0x3a ,mem_lpm_ctrl3 
+0022 20401554 call lpm_write_sel_vdd 
+0023 5800002e setarg p_g24_bind_continue_timer 
+0024 67e14952 store 2 ,mem_cb_24g_bind_continue 
+0025 58000032 setarg p_dongle_dispatch 
+0026 67e1488d store 2 ,mem_cb_24g_receive_process 
+0027 5800379c setarg dongle_g24_mouse 
+0028 67e14891 store 2 ,mem_cb_24g_data_device1 
+0029 580037ad setarg dongle_g24_kb 
+002a 67e14893 store 2 ,mem_cb_24g_data_device2 
+002b 58000040 setarg p_dongle_ackpayload_prep 
+002c 67e1488f store 2 ,mem_cb_24g_ackpayload 
+002d 202036a2 branch dongle_init + 8 
 
 p_g24_bind_continue_timer:
-0020 6fe0c950 fetch 1 ,mem_g24_bind_success 
-0021 247a0000 nrtn blank 
-0022 70495001 jam 1 ,mem_g24_bind_success 
-0023 202023ca branch g24_binding_dvc1_living 
+002e 6fe0c950 fetch 1 ,mem_g24_bind_success 
+002f 247a0000 nrtn blank 
+0030 70495001 jam 1 ,mem_g24_bind_success 
+0031 202023ca branch g24_binding_dvc1_living 
 
 p_dongle_dispatch:
-0024 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
-0025 c0000029 beq 0x00 ,p_dongle_auto_bind 
-0026 c000b6fd beq 0x01 ,dongle_pc_bind 
-0027 c0078084 beq 0x0f ,p_dongle_all_powerful 
-0028 20600000 rtn 
+0032 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+0033 c0000037 beq 0x00 ,p_dongle_auto_bind 
+0034 c000b6fd beq 0x01 ,dongle_pc_bind 
+0035 c0078092 beq 0x0f ,p_dongle_all_powerful 
+0036 20600000 rtn 
 
 p_dongle_auto_bind:
-0029 2040243a call g24_mode_switch_init 
+0037 2040243a call g24_mode_switch_init 
 
 p_dongle_auto_bind_loop:
-002a 2040243e call g24_mode_switch_bind_work 
-002b 20402464 call g24_mode_switch_bind_search 
-002c 2040376b call dongle_work_mode_auto 
-002d 2040249c call g24_bind_mode_auto 
-002e 204024b9 call g24_search_mode_auto 
-002f 2040372f call dongle_usb_dispatch 
-0030 204000b1 call p_timer_check 
-0031 2020002a branch p_dongle_auto_bind_loop 
+0038 2040243e call g24_mode_switch_bind_work 
+0039 20402464 call g24_mode_switch_bind_search 
+003a 2040376b call dongle_work_mode_auto 
+003b 2040249c call g24_bind_mode_auto 
+003c 204024b9 call g24_search_mode_auto 
+003d 2040372f call dongle_usb_dispatch 
+003e 204000bf call p_timer_check 
+003f 20200038 branch p_dongle_auto_bind_loop 
 
 p_dongle_ackpayload_prep:
-0032 6fe0c94f fetch 1 ,mem_g24_bind_step 
-0033 c0020035 beq 4 ,p_g24_bind_dvc1_exit 
+0040 6fe0c94f fetch 1 ,mem_g24_bind_step 
+0041 c0020043 beq 4 ,p_g24_bind_dvc1_exit 
 
 p_dongle_ackpayload_prep_end:
-0034 20203773 branch dongle_ackpayload_prep 
+0042 20203773 branch dongle_ackpayload_prep 
 
 p_g24_bind_dvc1_exit:
-0035 7048c301 jam dongle_bind ,mem_24g_work_mode 
-0036 70495101 jam 1 ,mem_g24_bind_continue_enable 
-0037 204000ae call p_timer_init 
-0038 20200034 branch p_dongle_ackpayload_prep_end 
+0043 7048c301 jam dongle_bind ,mem_24g_work_mode 
+0044 70495101 jam 1 ,mem_g24_bind_continue_enable 
+0045 204000bc call p_timer_init 
+0046 20200042 branch p_dongle_ackpayload_prep_end 
 
 p_set_sync_on:
-0039 70890005 jam 0x5 ,modem_en 
-003a 20000002 nop 2 
-003b 70890000 jam 0x0 ,modem_en 
-003c 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-003d c0841164 bne xtal_16m ,set_sync_on_24m 
+0047 70890005 jam 0x5 ,modem_en 
+0048 20000002 nop 2 
+0049 70890000 jam 0x0 ,modem_en 
+004a 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+004b c0841164 bne xtal_16m ,set_sync_on_24m 
 
 p_set_sync_on_16m:
-003e 708a8729 jam 0x29 ,core_syn_afc_cfg1 
-003f 20201179 branch set_sync_on_16m 
+004c 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+004d 20201179 branch set_sync_on_16m 
 
 p_rf_rx_enable:
-0040 6fe0c940 fetch 1 ,mem_soft_agc_en 
-0041 243a0049 nbranch p_rf_rx_enable_soft_agc ,blank 
-0042 20404d05 call rf_debug_rx_gpio_high 
-0043 d8c041eb arg mem_gain_table ,contr 
-0044 98c08c00 iadd contr ,contr 
-0045 efe08006 ifetch 1 ,contr 
-0046 67f08961 store 1 ,core_rf_rx_gain_fix 
-0047 7089602e jam 0x2e ,core_rf_rx_agc_ctrl 
-0048 202011af branch rf_rx_enable_no_soft_agc_next 
+004e 6fe0c940 fetch 1 ,mem_soft_agc_en 
+004f 243a0057 nbranch p_rf_rx_enable_soft_agc ,blank 
+0050 20404d05 call rf_debug_rx_gpio_high 
+0051 d8c041eb arg mem_gain_table ,contr 
+0052 98c08c00 iadd contr ,contr 
+0053 efe08006 ifetch 1 ,contr 
+0054 67f08961 store 1 ,core_rf_rx_gain_fix 
+0055 7089602e jam 0x2e ,core_rf_rx_agc_ctrl 
+0056 202011af branch rf_rx_enable_no_soft_agc_next 
 
 p_rf_rx_enable_soft_agc:
-0049 6ff08960 fetch 1 ,core_rf_rx_agc_ctrl 
-004a 1fe1fe01 or pdata ,0x01 ,pdata 
-004b 67f08960 store 1 ,core_rf_rx_agc_ctrl 
-004c 70896108 jam 0x08 ,core_rf_rx_gain_fix 
-004d 202011af branch rf_rx_enable_no_soft_agc_next 
+0057 6ff08960 fetch 1 ,core_rf_rx_agc_ctrl 
+0058 1fe1fe01 or pdata ,0x01 ,pdata 
+0059 67f08960 store 1 ,core_rf_rx_agc_ctrl 
+005a 70896108 jam 0x08 ,core_rf_rx_gain_fix 
+005b 202011af branch rf_rx_enable_no_soft_agc_next 
 
 p_txon_next:
-004e 6fe0c940 fetch 1 ,mem_soft_agc_en 
-004f 243a0051 nbranch p_set_tx_power_f20db ,blank 
-0050 20201237 branch set_tx_power_10db 
+005c 6fe0c940 fetch 1 ,mem_soft_agc_en 
+005d 243a005f nbranch p_set_tx_power_f20db ,blank 
+005e 20201237 branch set_tx_power_10db 
 
 p_set_tx_power_f20db:
-0051 708a3953 jam 0x53 ,core_tx_pwr_ctrl0 
-0052 708a3a01 jam 0x01 ,core_tx_pwr_ctrl1 
-0053 20201226 branch set_rf_ldo_cfg89 
+005f 708a3953 jam 0x53 ,core_tx_pwr_ctrl0 
+0060 708a3a01 jam 0x01 ,core_tx_pwr_ctrl1 
+0061 20201226 branch set_rf_ldo_cfg89 
 
 p_initialize_radio_cont:
-0054 7041eaff jam 0xff ,mem_gain_fix 
-0055 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-0056 70892140 jam 0x40 ,0x8921 
-0057 70486702 jam 0x02 ,mem_24g_rx_phy 
-0058 70486802 jam 0x02 ,mem_24g_tx_phy 
-0059 70487a01 jam 0x01 ,mem_24g_disable_fec1 
-005a 7048bc1e jam 0x1e ,mem_24g_hop_interval 
-005b 7048d701 jam 1 ,mem_24g_b_s_mode_switch_disable 
-005c 20401252 call initialize_radio_cont + 1 
-005d 20400088 call p_g24_fast_conn_mode_check 
-005e 204062a4 call wdt_set_enable 
+0062 7041eaff jam 0xff ,mem_gain_fix 
+0063 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+0064 70892140 jam 0x40 ,0x8921 
+0065 70486702 jam 0x02 ,mem_24g_rx_phy 
+0066 70486802 jam 0x02 ,mem_24g_tx_phy 
+0067 70487a01 jam 0x01 ,mem_24g_disable_fec1 
+0068 7048bc1e jam 0x1e ,mem_24g_hop_interval 
+0069 7048d701 jam 1 ,mem_24g_b_s_mode_switch_disable 
+006a 20401252 call initialize_radio_cont + 1 
+006b 20400096 call p_g24_fast_conn_mode_check 
+006c 204062a4 call wdt_set_enable 
 
 p_wdt_kick:
-005f 5800007d setarg 125 
-0060 20206295 branch wdt_init_config 
+006d 5800007d setarg 125 
+006e 20206295 branch wdt_init_config 
 
 p_dongle_usb_dispatch:
-0061 2040005f call p_wdt_kick 
-0062 20203730 branch dongle_usb_dispatch + 1 
+006f 2040006d call p_wdt_kick 
+0070 20203730 branch dongle_usb_dispatch + 1 
 
 p_dongle_work_mode_auto:
-0063 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
-0064 c1800000 rtnne dongle_work 
-0065 20402497 call g24_work_mode_start 
-0066 20400068 call p_dongle_g24_blank_data_process 
-0067 20203770 branch dongle_work_mode_auto + 5 
+0071 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+0072 c1800000 rtnne dongle_work 
+0073 20402497 call g24_work_mode_start 
+0074 20400076 call p_dongle_g24_blank_data_process 
+0075 20203770 branch dongle_work_mode_auto + 5 
 
 p_dongle_g24_blank_data_process:
-0068 20403705 call dongle_g24_ms_blank_data 
-0069 2040006b call p_dongle_g24_kb_blank_data 
-006a 20200077 branch p_dongle_g24_kb_mul_blank_data 
+0076 20403705 call dongle_g24_ms_blank_data 
+0077 20400079 call p_dongle_g24_kb_blank_data 
+0078 20200085 branch p_dongle_g24_kb_mul_blank_data 
 
 p_dongle_g24_kb_blank_data:
-006b 6fe0c912 fetch 1 ,mem_dg_kb_blank_data_enable 
-006c 207a0000 rtn blank 
-006d d8e0000e arg timer_kb_blank ,queue 
-006e 20407de9 call timer_check 
-006f 247a0000 nrtn blank 
-0070 70491200 jam 0 ,mem_dg_kb_blank_data_enable 
-0071 d8a00c0f arg mem_usb_kb_data ,contw 
-0072 df200002 arg 2 ,loopcnt 
-0073 20407d8c call memset0 
-0074 6fe40c0f fetch 8 ,mem_usb_kb_data 
-0075 67e448fe store 8 ,mem_dg_kb_data_last_data 
-0076 2020371d branch dongle_usb_tx_kb_data 
+0079 6fe0c912 fetch 1 ,mem_dg_kb_blank_data_enable 
+007a 207a0000 rtn blank 
+007b d8e0000e arg timer_kb_blank ,queue 
+007c 20407de9 call timer_check 
+007d 247a0000 nrtn blank 
+007e 70491200 jam 0 ,mem_dg_kb_blank_data_enable 
+007f d8a00c0f arg mem_usb_kb_data ,contw 
+0080 df200002 arg 2 ,loopcnt 
+0081 20407d8c call memset0 
+0082 6fe40c0f fetch 8 ,mem_usb_kb_data 
+0083 67e448fe store 8 ,mem_dg_kb_data_last_data 
+0084 2020371d branch dongle_usb_tx_kb_data 
 
 p_dongle_g24_kb_mul_blank_data:
-0077 6fe0c913 fetch 1 ,mem_dg_kb_mul_blank_data_enable 
-0078 207a0000 rtn blank 
-0079 d8e0000c arg timer_kb_mul_blank ,queue 
-007a 20407de9 call timer_check 
-007b 247a0000 nrtn blank 
-007c 70491300 jam 0 ,mem_dg_kb_mul_blank_data_enable 
-007d d8a00c1f arg mem_usb_kb_multikey ,contw 
-007e df200002 arg 2 ,loopcnt 
-007f 20407d8c call memset0 
-0080 700c1f03 jam kb_multikey_report_id ,mem_usb_kb_multikey 
-0081 6fe18c1f fetch 3 ,mem_usb_kb_multikey 
-0082 67e1c909 store 3 ,mem_dg_kb_multikey_last_data 
-0083 2020372d branch dongle_usb_tx_multikey_data 
+0085 6fe0c913 fetch 1 ,mem_dg_kb_mul_blank_data_enable 
+0086 207a0000 rtn blank 
+0087 d8e0000c arg timer_kb_mul_blank ,queue 
+0088 20407de9 call timer_check 
+0089 247a0000 nrtn blank 
+008a 70491300 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+008b d8a00c1f arg mem_usb_kb_multikey ,contw 
+008c df200002 arg 2 ,loopcnt 
+008d 20407d8c call memset0 
+008e 700c1f03 jam kb_multikey_report_id ,mem_usb_kb_multikey 
+008f 6fe18c1f fetch 3 ,mem_usb_kb_multikey 
+0090 67e1c909 store 3 ,mem_dg_kb_multikey_last_data 
+0091 2020372d branch dongle_usb_tx_multikey_data 
 
 p_dongle_all_powerful:
-0084 20402493 call g24_switch_work_mode 
+0092 20402493 call g24_switch_work_mode 
 
 p_dongle_all_powerful_loop:
-0085 2040376b call dongle_work_mode_auto 
-0086 2040372f call dongle_usb_dispatch 
-0087 20200085 branch p_dongle_all_powerful_loop 
+0093 2040376b call dongle_work_mode_auto 
+0094 2040372f call dongle_usb_dispatch 
+0095 20200093 branch p_dongle_all_powerful_loop 
 
 p_g24_fast_conn_mode_check:
-0088 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
-0089 c007808c beq 0x0f ,p_soft_agc_en_true 
+0096 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+0097 c007809a beq 0x0f ,p_soft_agc_en_true 
 
 p_soft_agc_en_false:
-008a 70494000 jam 0 ,mem_soft_agc_en 
-008b 20600000 rtn 
+0098 70494000 jam 0 ,mem_soft_agc_en 
+0099 20600000 rtn 
 
 p_soft_agc_en_true:
-008c 70494001 jam 1 ,mem_soft_agc_en 
-008d 20600000 rtn 
+009a 70494001 jam 1 ,mem_soft_agc_en 
+009b 20600000 rtn 
 
 p_byte_sign_extern:
-008e 2feffe07 isolate1 7 ,pdata 
-008f 24608000 nrtn true 
-0090 d840ff00 arg 0xff00 ,temp 
-0091 9841fe00 ior temp ,pdata 
-0092 20600000 rtn 
+009c 2feffe07 isolate1 7 ,pdata 
+009d 24608000 nrtn true 
+009e d840ff00 arg 0xff00 ,temp 
+009f 9841fe00 ior temp ,pdata 
+00a0 20600000 rtn 
 
 p_save_rssi:
-0093 6ff089a2 fetch 1 ,modem_nb_pow 
-0094 2feffe06 isolate1 6 ,pdata 
-0095 7920fe07 setflag true ,7 ,pdata 
-0096 67e0c1e9 store 1 ,mem_modem_rssi 
-0097 6ff089a3 fetch 1 ,modem_gain 
-0098 1fe1040f and pdata ,0x0f ,temp 
-0099 18438400 lshift temp ,temp 
-009a 1ff1fe00 rshift4 pdata ,pdata 
-009b 98408400 iadd temp ,temp 
-009c 184fa203 mul32 temp ,3 ,rega 
-009d 6fe0c1e9 fetch 1 ,mem_modem_rssi 
-009e 2040008e call p_byte_sign_extern 
-009f 1fe67e00 sub pdata ,0 ,pdata 
-00a0 9a20fe00 iadd rega ,pdata 
-00a1 1fe0fff7 increase -9 ,pdata 
-00a2 1fe17fff and pdata ,0x1ff ,pdata 
-00a3 2feffe08 isolate1 8 ,pdata 
-00a4 242080a6 nbranch p_save_rssi_store ,true 
-00a5 58000000 setarg 0 
+00a1 6ff089a2 fetch 1 ,modem_nb_pow 
+00a2 2feffe06 isolate1 6 ,pdata 
+00a3 7920fe07 setflag true ,7 ,pdata 
+00a4 67e0c1e9 store 1 ,mem_modem_rssi 
+00a5 6ff089a3 fetch 1 ,modem_gain 
+00a6 1fe1040f and pdata ,0x0f ,temp 
+00a7 18438400 lshift temp ,temp 
+00a8 1ff1fe00 rshift4 pdata ,pdata 
+00a9 98408400 iadd temp ,temp 
+00aa 184fa203 mul32 temp ,3 ,rega 
+00ab 6fe0c1e9 fetch 1 ,mem_modem_rssi 
+00ac 2040009c call p_byte_sign_extern 
+00ad 1fe67e00 sub pdata ,0 ,pdata 
+00ae 9a20fe00 iadd rega ,pdata 
+00af 1fe0fff7 increase -9 ,pdata 
+00b0 1fe17fff and pdata ,0x1ff ,pdata 
+00b1 2feffe08 isolate1 8 ,pdata 
+00b2 242080b4 nbranch p_save_rssi_store ,true 
+00b3 58000000 setarg 0 
 
 p_save_rssi_store:
-00a6 67e08154 store 1 ,mem_rssi_hex 
-00a7 20201293 branch rssi_hex2dec 
+00b4 67e08154 store 1 ,mem_rssi_hex 
+00b5 20201293 branch rssi_hex2dec 
 
 p_le_enable:
-00a8 20401652 call le_enable + 1 
-00a9 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-00aa 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
-00ab 1fe1fe0f or pdata ,0x0f ,pdata 
-00ac 67f08a43 store 1 ,core_syn_cal_ctrl 
-00ad 20600000 rtn 
+00b6 20401652 call le_enable + 1 
+00b7 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+00b8 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
+00b9 1fe1fe0f or pdata ,0x0f ,pdata 
+00ba 67f08a43 store 1 ,core_syn_cal_ctrl 
+00bb 20600000 rtn 
 
 p_timer_init:
-00ae d8e0000d arg 13 ,queue 
-00af 58000050 setarg 80 
-00b0 20207ddb branch timer_init 
+00bc d8e0000d arg 13 ,queue 
+00bd 58000050 setarg 80 
+00be 20207ddb branch timer_init 
 
 p_timer_check:
-00b1 6fe0c951 fetch 1 ,mem_g24_bind_continue_enable 
-00b2 207a0000 rtn blank 
-00b3 d8e0000d arg 13 ,queue 
-00b4 20407de9 call timer_check 
-00b5 247a0000 nrtn blank 
-00b6 70495100 jam 0 ,mem_g24_bind_continue_enable 
-00b7 6fe14952 fetch 2 ,mem_cb_24g_bind_continue 
-00b8 20207e7a branch callback_func 
+00bf 6fe0c951 fetch 1 ,mem_g24_bind_continue_enable 
+00c0 207a0000 rtn blank 
+00c1 d8e0000d arg 13 ,queue 
+00c2 20407de9 call timer_check 
+00c3 247a0000 nrtn blank 
+00c4 70495100 jam 0 ,mem_g24_bind_continue_enable 
+00c5 6fe14952 fetch 2 ,mem_cb_24g_bind_continue 
+00c6 20207e7a branch callback_func 
 
 p_usb_init:
-00b9 20406e5e call enable_authrom 
-00ba 20407a27 call usb_init_param 
-00bb 700aa803 jam 0x03 ,mem_devicedesc + 17 
-00bc 20207a0b branch usb_init_next 
+00c7 20406e5e call enable_authrom 
+00c8 20407a27 call usb_init_param 
+00c9 700aa803 jam 0x03 ,mem_devicedesc + 17 
+00ca 20207a0b branch usb_init_next 
 
 p_usb_class_type:
-00bd 793f8023 set0 mark_isstr ,mark 
-00be 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-00bf 1fe17e80 and_into 0x80 ,pdata 
-00c0 c00000c2 beq out_device ,p_usb_out_device 
-00c1 20207aa1 branch usb_class_type + 4 
+00cb 793f8023 set0 mark_isstr ,mark 
+00cc 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+00cd 1fe17e80 and_into 0x80 ,pdata 
+00ce c00000d0 beq out_device ,p_usb_out_device 
+00cf 20207aa1 branch usb_class_type + 4 
 
 p_usb_out_device:
-00c2 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-00c3 1ff1fe00 rshift4 pdata ,pdata 
-00c4 1fe37e00 rshift pdata ,pdata 
-00c5 1fe17e03 and_into 0x03 ,pdata 
-00c6 c00080c8 beq class_req ,p_usb_out_class_req 
-00c7 20207ab4 branch usb_out_device + 4 
+00d0 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+00d1 1ff1fe00 rshift4 pdata ,pdata 
+00d2 1fe37e00 rshift pdata ,pdata 
+00d3 1fe17e03 and_into 0x03 ,pdata 
+00d4 c00080d6 beq class_req ,p_usb_out_class_req 
+00d5 20207ab4 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-00c8 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-00c9 c00480cb beq set_report ,p_usb_set_report 
-00ca 20207acd branch usb_out_class_req + 1 
+00d6 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+00d7 c00480d9 beq set_report ,p_usb_set_report 
+00d8 20207acd branch usb_out_class_req + 1 
 
 p_usb_set_report:
-00cb 20003a98 nop 15000 
-00cc 20207c4a branch usb_set_report 
+00d9 20003a98 nop 15000 
+00da 20207c4a branch usb_set_report 
 
 p_usb_tx:
-00cd 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
-00ce 207a0000 rtn blank 
-00cf 6ff08c24 fetch 1 ,core_usb_txbusy 
-00d0 1fe17e0f and_into 0x0f ,pdata 
-00d1 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
-00d2 20207ccc branch usb_tx + 3 
+00db 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+00dc 207a0000 rtn blank 
+00dd 6ff08c24 fetch 1 ,core_usb_txbusy 
+00de 1fe17e0f and_into 0x0f ,pdata 
+00df 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+00e0 20207ccc branch usb_tx + 3 
 
 p_g24_receive_skip_end:
-00d3 6fe0c868 fetch 1 ,mem_24g_tx_phy 
-00d4 20401637 call le_enable_phy_by_pdata 
-00d5 6fe2483f fetch 4 ,mem_24g_addr 
-00d6 98001200 iforce access 
-00d7 20402181 call g24_prep 
-00d8 2040115d call set_sync_on 
-00d9 6848c83d fetcht 1 ,mem_24g_ch 
-00da 708a3d12 jam 0x12 ,core_syn_top_ctrl 
-00db 60488017 storet 1 ,mem_last_freq 
-00dc 1840a202 add temp ,2 ,rega 
-00dd 204011c6 call rf_tx_write_freq 
-00de 204023e3 call g24_ackpayload_prep 
-00df 20402247 call g24_transmit_prep 
-00e0 2000012c nop 300 
-00e1 20401207 call txon 
-00e2 204021ff call g24_transmit + 7 
-00e3 202021d6 branch g24_receive_skip_end 
+00e1 6fe0c868 fetch 1 ,mem_24g_tx_phy 
+00e2 20401637 call le_enable_phy_by_pdata 
+00e3 6fe2483f fetch 4 ,mem_24g_addr 
+00e4 98001200 iforce access 
+00e5 20402181 call g24_prep 
+00e6 2040115d call set_sync_on 
+00e7 6848c83d fetcht 1 ,mem_24g_ch 
+00e8 708a3d12 jam 0x12 ,core_syn_top_ctrl 
+00e9 60488017 storet 1 ,mem_last_freq 
+00ea 1840a202 add temp ,2 ,rega 
+00eb 204011c6 call rf_tx_write_freq 
+00ec 204023e3 call g24_ackpayload_prep 
+00ed 20402247 call g24_transmit_prep 
+00ee 2000012c nop 300 
+00ef 20401207 call txon 
+00f0 204021ff call g24_transmit + 7 
+00f1 202021d6 branch g24_receive_skip_end 
 
 p_g24_bind_data_parse_next:
-00e4 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
-00e5 c05500e9 beq datatype_bind ,p_g24_bind_first_step 
-00e6 c02a80f3 beq datatype_config ,p_g24_bind_second_step 
-00e7 c0110103 beq datatype_ok ,p_g24_bind_third_step 
-00e8 20202370 branch g24_bind_data_parse_next + 4 
+00f2 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
+00f3 c05500f7 beq datatype_bind ,p_g24_bind_first_step 
+00f4 c02a8101 beq datatype_config ,p_g24_bind_second_step 
+00f5 c0110111 beq datatype_ok ,p_g24_bind_third_step 
+00f6 20202370 branch g24_bind_data_parse_next + 4 
 
 p_g24_bind_first_step:
-00e9 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-00ea c00080ed beq datatype_device1 ,p_g24_bind_first_step_device1 
-00eb c00100f0 beq datatype_device2 ,p_g24_bind_first_step_device2 
-00ec 20600000 rtn 
+00f7 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+00f8 c00080fb beq datatype_device1 ,p_g24_bind_first_step_device1 
+00f9 c00100fe beq datatype_device2 ,p_g24_bind_first_step_device2 
+00fa 20600000 rtn 
 
 p_g24_bind_first_step_device1:
-00ed 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-00ee 247a0000 nrtn blank 
-00ef 20202376 branch g24_bind_first_step_device1 
+00fb 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+00fc 247a0000 nrtn blank 
+00fd 20202376 branch g24_bind_first_step_device1 
 
 p_g24_bind_first_step_device2:
-00f0 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-00f1 247a0000 nrtn blank 
-00f2 2020237c branch g24_bind_first_step_device2 
+00fe 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+00ff 247a0000 nrtn blank 
+0100 2020237c branch g24_bind_first_step_device2 
 
 p_g24_bind_second_step:
-00f3 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-00f4 203a00f9 branch p_g24_bind_second_step_skip ,blank 
-00f5 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
-00f6 684a40a8 fetcht 4 ,mem_lap 
-00f7 98467c00 isub temp ,null 
-00f8 24628000 nrtn zero 
+0101 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+0102 203a0107 branch p_g24_bind_second_step_skip ,blank 
+0103 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+0104 684a40a8 fetcht 4 ,mem_lap 
+0105 98467c00 isub temp ,null 
+0106 24628000 nrtn zero 
 
 p_g24_bind_second_step_skip:
-00f9 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-00fa c00080fd beq datatype_device1 ,p_g24_bind_second_step_device1 
-00fb c0010100 beq datatype_device2 ,p_g24_bind_second_step_device2 
-00fc 20600000 rtn 
+0107 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+0108 c000810b beq datatype_device1 ,p_g24_bind_second_step_device1 
+0109 c001010e beq datatype_device2 ,p_g24_bind_second_step_device2 
+010a 20600000 rtn 
 
 p_g24_bind_second_step_device1:
-00fd 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-00fe 247a0000 nrtn blank 
-00ff 20202389 branch g24_bind_second_step_device1 
+010b 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+010c 247a0000 nrtn blank 
+010d 20202389 branch g24_bind_second_step_device1 
 
 p_g24_bind_second_step_device2:
-0100 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-0101 247a0000 nrtn blank 
-0102 20202394 branch g24_bind_second_step_device2 
+010e 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+010f 247a0000 nrtn blank 
+0110 20202394 branch g24_bind_second_step_device2 
 
 p_g24_bind_third_step:
-0103 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-0104 203a0109 branch p_g24_bind_third_step_skip ,blank 
-0105 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
-0106 684a48d9 fetcht 4 ,mem_24g_transmitter_addr 
-0107 98467c00 isub temp ,null 
-0108 24628000 nrtn zero 
+0111 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+0112 203a0117 branch p_g24_bind_third_step_skip ,blank 
+0113 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+0114 684a48d9 fetcht 4 ,mem_24g_transmitter_addr 
+0115 98467c00 isub temp ,null 
+0116 24628000 nrtn zero 
 
 p_g24_bind_third_step_skip:
-0109 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-010a c000810d beq datatype_device1 ,p_g24_bind_third_step_device1 
-010b c0010115 beq datatype_device2 ,p_g24_bind_third_step_device2 
-010c 20600000 rtn 
+0117 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+0118 c000811b beq datatype_device1 ,p_g24_bind_third_step_device1 
+0119 c0010123 beq datatype_device2 ,p_g24_bind_third_step_device2 
+011a 20600000 rtn 
 
 p_g24_bind_third_step_device1:
-010d 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-010e 247a0000 nrtn blank 
-010f 6fe0c882 fetch 1 ,mem_24g_device1_bind_step 
-0110 c0010112 beq 2 ,p_g24_bind_dvc1_step_success 
-0111 20600000 rtn 
+011b 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+011c 247a0000 nrtn blank 
+011d 6fe0c882 fetch 1 ,mem_24g_device1_bind_step 
+011e c0010120 beq 2 ,p_g24_bind_dvc1_step_success 
+011f 20600000 rtn 
 
 p_g24_bind_dvc1_step_success:
-0112 70494f04 jam 4 ,mem_g24_bind_step 
-0113 70494101 jam 1 ,mem_24g_mouse_bind_enable 
-0114 202023aa branch g24_bind_dvc1_step_success + 1 
+0120 70494f04 jam 4 ,mem_g24_bind_step 
+0121 70494101 jam 1 ,mem_24g_mouse_bind_enable 
+0122 202023aa branch g24_bind_dvc1_step_success + 1 
 
 p_g24_bind_third_step_device2:
-0115 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-0116 247a0000 nrtn blank 
-0117 6fe0c883 fetch 1 ,mem_24g_device2_bind_step 
-0118 c080011a bne 0 ,p_g24_bind_dvc2_step_success 
-0119 20600000 rtn 
+0123 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+0124 247a0000 nrtn blank 
+0125 6fe0c883 fetch 1 ,mem_24g_device2_bind_step 
+0126 c0800128 bne 0 ,p_g24_bind_dvc2_step_success 
+0127 20600000 rtn 
 
 p_g24_bind_dvc2_step_success:
-011a 70494201 jam 1 ,mem_24g_keyboard_bind_enable 
-011b 202023b4 branch g24_bind_dvc2_step_success 
+0128 70494201 jam 1 ,mem_24g_keyboard_bind_enable 
+0129 202023b4 branch g24_bind_dvc2_step_success 
 
 p_g24_bind_mode_auto:
-011c 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
-011d c1808000 rtnne dongle_bind 
-011e 2040234b call g24_bind_init 
-011f 2040012b call p_g24_bind_data_process 
-0120 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
-0121 247a0000 nrtn blank 
-0122 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
-0123 207a0000 rtn blank 
-0124 6fe0c950 fetch 1 ,mem_g24_bind_success 
-0125 207a0000 rtn blank 
-0126 70494f00 jam 0 ,mem_g24_bind_step 
-0127 7048c000 jam 0 ,mem_24g_mode_switch 
-0128 20402493 call g24_switch_work_mode 
-0129 20402436 call g24_enable_nodata_timer 
-012a 202022b2 branch g24_timer_init 
+012a 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+012b c1808000 rtnne dongle_bind 
+012c 2040234b call g24_bind_init 
+012d 20400139 call p_g24_bind_data_process 
+012e 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+012f 247a0000 nrtn blank 
+0130 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
+0131 207a0000 rtn blank 
+0132 6fe0c950 fetch 1 ,mem_g24_bind_success 
+0133 207a0000 rtn blank 
+0134 70494f00 jam 0 ,mem_g24_bind_step 
+0135 7048c000 jam 0 ,mem_24g_mode_switch 
+0136 20402493 call g24_switch_work_mode 
+0137 20402436 call g24_enable_nodata_timer 
+0138 202022b2 branch g24_timer_init 
 
 p_g24_bind_data_process:
-012b 204023fa call g24_rx_interrupt_clear 
-012c 20402187 call g24_receive_packet 
-012d 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
-012e 20402367 call g24_bind_data_parse 
+0139 204023fa call g24_rx_interrupt_clear 
+013a 20402187 call g24_receive_packet 
+013b 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
+013c 20402367 call g24_bind_data_parse 
 
 p_g24_bind_data_process_next:
-012f 2040242c call g24_transmit_ack 
-0130 20400160 call p_g24_bind_device_status_check 
-0131 20400133 call p_dongle_kb_bind_soft_reset 
-0132 20202360 branch g24_bind_data_process + 7 
+013d 2040242c call g24_transmit_ack 
+013e 20400167 call p_g24_bind_device_status_check 
+013f 20400141 call p_dongle_kb_bind_soft_reset 
+0140 20202360 branch g24_bind_data_process + 7 
 
 p_dongle_kb_bind_soft_reset:
-0133 6fe0c09a fetch 1 ,mem_device_option 
-0134 c1820000 rtnne dvc_op_dongle 
-0135 6fe0c93e fetch 1 ,mem_dg_kb_bind_success 
-0136 207a0000 rtn blank 
-0137 70096400 jam 0 ,mem_temp 
-
-p_dongle_wirte_efuse_bind_status:
-0138 7048f55a jam dongle_kb_bind_success ,mem_dg_kb_bind_flag 
-0139 20400142 call p_dongle_write_kb_bind_status 
-013a 204036d0 call dongle_read_kb_bind_status 
-013b 6fe08964 fetch 1 ,mem_temp 
-013c 1fe0fe01 increase 1 ,pdata 
-013d 67e08964 store 1 ,mem_temp 
-013e c07fde29 beq 0xff ,soft_reset_chip 
-013f 6fe0c8f5 fetch 1 ,mem_dg_kb_bind_flag 
-0140 c0ad0138 bne dongle_kb_bind_success ,p_dongle_wirte_efuse_bind_status 
-0141 20205e29 branch soft_reset_chip 
+0141 6fe0c09a fetch 1 ,mem_device_option 
+0142 c1820000 rtnne dvc_op_dongle 
+0143 6fe0c93e fetch 1 ,mem_dg_kb_bind_success 
+0144 207a0000 rtn blank 
+0145 70096400 jam 0 ,mem_temp 
+
+p_dongle_wirte_eeprom_bind_status:
+0146 7048f55a jam dongle_kb_bind_success ,mem_dg_kb_bind_flag 
+0147 20400150 call p_dongle_write_kb_bind_status 
+0148 20400155 call p_dongle_read_kb_bind_status 
+0149 6fe08964 fetch 1 ,mem_temp 
+014a 1fe0fe01 increase 1 ,pdata 
+014b 67e08964 store 1 ,mem_temp 
+014c c07fde29 beq 0xff ,soft_reset_chip 
+014d 6fe0c8f5 fetch 1 ,mem_dg_kb_bind_flag 
+014e c0ad0146 bne dongle_kb_bind_success ,p_dongle_wirte_eeprom_bind_status 
+014f 20205e29 branch soft_reset_chip 
 
 p_dongle_write_kb_bind_status:
-0142 df200001 arg 1 ,loopcnt 
-0143 da2048f5 arg mem_dg_kb_bind_flag ,rega 
-0144 d840002a arg dongle_kb_bind_efuse_offect ,temp 
-0145 20200146 branch p_efuse_program 
-
-p_efuse_program:
-0146 20400148 call p_efuse_vdd_fsource_on 
-0147 20205f13 branch efuse_program + 1 
-
-p_efuse_vdd_fsource_on:
-0148 20405f2a call efuse_lna_pa_ldo_on 
-0149 70804780 jam 0x80 ,core_efuse_ctrl 
-014a 6ff08a0b fetch 1 ,core_rf_ldo_en1 
-014b 793ffe05 set0 5 ,pdata 
-014c 79207e03 set1 3 ,pdata 
-014d 67f08a0b store 1 ,core_rf_ldo_en1 
-014e 20000018 nop 24 
-014f 79207e04 set1 4 ,pdata 
-0150 67f08a0b store 1 ,core_rf_ldo_en1 
-0151 200001f4 nop 500 
-0152 20600000 rtn 
+0150 20405e3b call iicd_init_pin 
+0151 d8400001 arg 1 ,temp 
+0152 da2048f5 arg mem_dg_kb_bind_flag ,rega 
+0153 da400000 arg dongle_kb_bind_eeprom_offect ,regb 
+0154 20205e6b branch iicd_write_protect_eep_data 
+
+p_dongle_read_kb_bind_status:
+0155 20405e42 call iicd_read_init_pin 
+0156 d8400001 arg 1 ,temp 
+0157 da2048f5 arg mem_dg_kb_bind_flag ,rega 
+0158 da400000 arg dongle_kb_bind_eeprom_offect ,regb 
+0159 20205e79 branch iicd_read_eep_data 
 
 p_efuse_vdd_off:
-0153 6ff08a0b fetch 1 ,core_rf_ldo_en1 
-0154 793ffe05 set0 5 ,pdata 
-0155 793ffe04 set0 4 ,pdata 
-0156 793ffe00 set0 0 ,pdata 
-0157 67f08a0b store 1 ,core_rf_ldo_en1 
-0158 20000018 nop 24 
-0159 793ffe03 set0 3 ,pdata 
-015a 67f08a0b store 1 ,core_rf_ldo_en1 
-015b 200000c8 nop 200 
-015c 6ff08a0a fetch 1 ,core_rf_ldo_en0 
-015d 793ffe01 set0 1 ,pdata 
-015e 67f08a0a store 1 ,core_rf_ldo_en0 
-015f 20205f27 branch efuse_pa_vdd_recover 
+015a 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+015b 793ffe05 set0 5 ,pdata 
+015c 793ffe04 set0 4 ,pdata 
+015d 793ffe00 set0 0 ,pdata 
+015e 67f08a0b store 1 ,core_rf_ldo_en1 
+015f 20000018 nop 24 
+0160 793ffe03 set0 3 ,pdata 
+0161 67f08a0b store 1 ,core_rf_ldo_en1 
+0162 200000c8 nop 200 
+0163 6ff08a0a fetch 1 ,core_rf_ldo_en0 
+0164 793ffe01 set0 1 ,pdata 
+0165 67f08a0a store 1 ,core_rf_ldo_en0 
+0166 20205f27 branch efuse_pa_vdd_recover 
 
 p_g24_bind_device_status_check:
-0160 6fe0c950 fetch 1 ,mem_g24_bind_success 
-0161 207a0000 rtn blank 
-0162 202023d6 branch g24_bind_device_status_check 
+0167 6fe0c950 fetch 1 ,mem_g24_bind_success 
+0168 207a0000 rtn blank 
+0169 202023d6 branch g24_bind_device_status_check 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/USB_64K/program/patch.prog	(revision 4803)
+++ /YC1308AF/branch/mouse/YDN_Project/USB_64K/program/patch.prog	(working copy)
@@ -2,6 +2,7 @@
 //define UART_LOG
 
 	bbit1 8,pf_patch_ext
+	beq patch00_0,p_soft_reset
 	beq patch10_3,p_set_sync_on
 	beq patch10_5,p_rf_rx_enable
 	beq patch11_2,p_txon_next
@@ -27,8 +28,25 @@
 	beq patch3c_6,p_g24_bind_mode_auto
 	branch loop
 
+p_soft_reset:
+	clear_stack
+	call p_app_param_init
+	branch soft_reset+3
+
+p_app_param_init:
+	rtn wake
+	call app_read_efuse_sys_config
+	call app_read_efuse_dig_aon_vsel
+	call app_read_efuse_syn_afc_cfg1
+	call app_read_efuse_rf_ldo_cfg1
+	call app_read_efuse_rc_cal
+	call app_read_efuse_agc
+	call adc_init_data
+	branch dongle_default_init+2
+
 p_app_init:
 p_dongle_init:
+	ncall p_dongle_read_kb_bind_status,wake
 	jam 0x3a,mem_lpm_ctrl3
 	call lpm_write_sel_vdd
 ifdef UART_LOG
@@ -470,19 +488,34 @@
 	fetch 1,mem_dg_kb_bind_success
 	rtn blank
 	jam 0,mem_temp
-p_dongle_wirte_efuse_bind_status:	
+p_dongle_wirte_eeprom_bind_status:	
 	jam DONGLE_KB_BIND_SUCCESS,mem_dg_kb_bind_flag
 	call p_dongle_write_kb_bind_status
-	call dongle_read_kb_bind_status
+	call p_dongle_read_kb_bind_status
 	fetch 1,mem_temp
 	increase 1,pdata
 	store 1,mem_temp
 	beq 0xff,soft_reset_chip
 	fetch 1,mem_dg_kb_bind_flag
-	bne DONGLE_KB_BIND_SUCCESS,p_dongle_wirte_efuse_bind_status
+	bne DONGLE_KB_BIND_SUCCESS,p_dongle_wirte_eeprom_bind_status
 	branch soft_reset_chip
 
 p_dongle_write_kb_bind_status:
+	call iicd_init_pin
+	arg 1,temp
+	arg mem_dg_kb_bind_flag,rega
+	arg DONGLE_KB_BIND_EEPROM_OFFECT,regb
+	branch iicd_write_protect_eep_data
+
+p_dongle_read_kb_bind_status:
+	call iicd_read_init_pin
+	arg 1,temp
+	arg mem_dg_kb_bind_flag,rega
+	arg DONGLE_KB_BIND_EEPROM_OFFECT,regb
+	branch iicd_read_eep_data
+
+/*
+p_dongle_write_kb_bind_status:
 	arg 1,loopcnt
 	arg mem_dg_kb_bind_flag,rega
 	arg DONGLE_KB_BIND_EFUSE_OFFECT,temp
@@ -505,7 +538,7 @@
 	store 1,core_rf_ldo_en1
 	nop 500
 	rtn
-
+*/
 p_efuse_vdd_off:
 	fetch 1,core_rf_ldo_en1
 	set0 5,pdata
Index: sched/dongle.dat
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/USB_64K/sched/dongle.dat	(revision 4803)
+++ /YC1308AF/branch/mouse/YDN_Project/USB_64K/sched/dongle.dat	(working copy)
@@ -60,7 +60,7 @@
 mem_device_option:04
 mem_lpm_ctrim:14		#xtal offset
 
-
+mem_eeprom_base:80 1f		//2keeprom:f0 00
 
 #log log log log log log log log log log log
 
