Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/usb_2m/output/eeprom.dat	(revision 4119)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/usb_2m/output/eeprom.dat	(working copy)
@@ -2,52 +2,60 @@
 02
 aa
 55
-ce
 02
+03
 c2
 84
 00
-0c
+0e
 c0
 00
 00
-18
+25
 c0
 0a
 80
-54
+61
 c0
 0b
 80
-30
+3d
 c0
 0c
 00
-14
+21
 c0
 17
 80
-3a
+47
 c0
 18
 00
-21
+2e
 c0
 18
 80
-1d
+2a
 c0
 1a
 80
-b2
+bf
 c0
 61
 80
-3f
+4c
 c0
 71
 80
-4f
+5c
+c0
+72
+00
+16
+c0
+72
+80
+1c
 20
 20
 3a
@@ -59,31 +67,75 @@
 c0
 1a
 00
-5a
+67
 c0
 23
 80
-8d
+9a
 c0
 24
 80
-93
+a0
 c0
 26
 80
-6f
+7c
 c0
 27
 80
-25
+32
 c0
 28
 00
-64
+71
 20
 20
 3a
 8a
+79
+3f
+80
+2d
+79
+3f
+80
+2f
+70
+89
+01
+01
+70
+89
+20
+80
+70
+89
+30
+02
+20
+60
+00
+00
+79
+3f
+80
+32
+70
+89
+01
+01
+70
+89
+20
+80
+70
+89
+30
+02
+20
+60
+00
+00
 70
 8a
 75
@@ -163,7 +215,7 @@
 20
 40
 00
-29
+36
 20
 20
 4a
@@ -203,11 +255,11 @@
 c0
 55
 80
-34
+41
 c0
 59
 00
-37
+44
 20
 20
 39
@@ -327,7 +379,7 @@
 c2
 80
 80
-52
+5f
 20
 20
 3c
@@ -415,7 +467,7 @@
 20
 40
 00
-68
+75
 20
 20
 4b
@@ -587,7 +639,7 @@
 c0
 7f
 80
-a8
+b5
 20
 60
 00
@@ -599,7 +651,7 @@
 c0
 00
 80
-98
+a5
 c0
 01
 4a
@@ -607,7 +659,7 @@
 c0
 7f
 80
-a6
+b3
 20
 20
 4a
@@ -643,7 +695,7 @@
 c0
 00
 80
-a1
+ae
 20
 20
 4a
@@ -675,7 +727,7 @@
 20
 20
 00
-a8
+b5
 6f
 e0
 c5
@@ -683,11 +735,11 @@
 c0
 00
 80
-ac
+b9
 c0
 01
 00
-af
+bc
 20
 60
 00
@@ -720,8 +772,8 @@
 20
 51
 40
-f1
-57
+ec
+f3
 aa
 55
 40
@@ -756,7 +808,7 @@
 00
 00
 00
-08
+38
 00
 00
 00
@@ -1035,7 +1087,7 @@
 aa
 aa
 55
-a2
+d2
 45
-bc
-9d
+1c
+46
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/usb_2m/output/program.lis	(revision 4119)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/usb_2m/output/program.lis	(working copy)
@@ -1,240 +1,257 @@
               include "bt_format "
               org 0x0000
-0000 c284000c bbit1 8 ,pf_patch_ext 
-0001 c0000018 beq patch00_0 ,p_soft_reset 
-0002 c00a8054 beq patch02_5 ,p_set_freq_tx 
-0003 c00b8030 beq patch02_7 ,p_txon_next 
-0004 c00c0014 beq patch03_0 ,p_initialize_radio_cont 
-0005 c017803a beq patch05_7 ,p_dongle_default_init 
-0006 c0180021 beq patch06_0 ,p_dongle_read_kb_bind_status 
-0007 c018801d beq patch06_1 ,p_dongle_write_kb_bind_status 
-0008 c01a80b2 beq patch06_5 ,p_dongle_usb_dispatch 
-0009 c061803f beq patch18_3 ,p_usb_init 
-000a c071804f beq patch1c_3 ,p_le_enable_phy_by_pdata 
-000b 20203a8a branch assert 
+0000 c284000e bbit1 8 ,pf_patch_ext 
+0001 c0000025 beq patch00_0 ,p_soft_reset 
+0002 c00a8061 beq patch02_5 ,p_set_freq_tx 
+0003 c00b803d beq patch02_7 ,p_txon_next 
+0004 c00c0021 beq patch03_0 ,p_initialize_radio_cont 
+0005 c0178047 beq patch05_7 ,p_dongle_default_init 
+0006 c018002e beq patch06_0 ,p_dongle_read_kb_bind_status 
+0007 c018802a beq patch06_1 ,p_dongle_write_kb_bind_status 
+0008 c01a80bf beq patch06_5 ,p_dongle_usb_dispatch 
+0009 c061804c beq patch18_3 ,p_usb_init 
+000a c071805c beq patch1c_3 ,p_le_enable_phy_by_pdata 
+000b c0720016 beq patch1c_4 ,p_le_enable 
+000c c072801c beq patch1c_5 ,p_le_disable 
+000d 20203a8a branch assert 
 
 pf_patch_ext:
-000c c17f8000 rtneq patch3f_7 
-000d c01a005a beq patch26_4 ,p_g24_receive_skip_end 
-000e c023808d beq patch28_7 ,p_g24_bind_data_parse_next 
-000f c0248093 beq patch29_1 ,p_g24_receive_packet_start_next 
-0010 c026806f beq patch29_5 ,p_g24_mode_switch_bind_search 
-0011 c0278025 beq patch29_7 ,p_g24_bind_mode_auto 
-0012 c0280064 beq patch2a_0 ,p_g24_search_mode_auto 
-0013 20203a8a branch assert 
+000e c17f8000 rtneq patch3f_7 
+000f c01a0067 beq patch26_4 ,p_g24_receive_skip_end 
+0010 c023809a beq patch28_7 ,p_g24_bind_data_parse_next 
+0011 c02480a0 beq patch29_1 ,p_g24_receive_packet_start_next 
+0012 c026807c beq patch29_5 ,p_g24_mode_switch_bind_search 
+0013 c0278032 beq patch29_7 ,p_g24_bind_mode_auto 
+0014 c0280071 beq patch2a_0 ,p_g24_search_mode_auto 
+0015 20203a8a branch assert 
+
+p_le_enable:
+0016 793f802d set0 mark_ble_2m ,mark 
+0017 793f802f set0 mark_ble_lr ,mark 
+0018 70890101 jam 0x01 ,0x8901 
+0019 70892080 jam 0x80 ,0x8920 
+001a 70893002 jam 0x02 ,0x8930 
+001b 20600000 rtn 
+
+p_le_disable:
+001c 793f8032 set0 mark_ble_encryption ,mark 
+001d 70890101 jam 0x01 ,0x8901 
+001e 70892080 jam 0x80 ,0x8920 
+001f 70893002 jam 0x02 ,0x8930 
+0020 20600000 rtn 
 
 p_initialize_radio_cont:
-0014 708a7503 jam 0x03 ,core_rx_lna_cfg3 
-0015 708a8500 jam 0 ,core_syn_loopdiv_dsm_cfg 
-0016 70896f10 jam 0x10 ,0x896f 
-0017 20203a1e branch initialize_radio_cont + 1 
+0021 708a7503 jam 0x03 ,core_rx_lna_cfg3 
+0022 708a8500 jam 0 ,core_syn_loopdiv_dsm_cfg 
+0023 70896f10 jam 0x10 ,0x896f 
+0024 20203a1e branch initialize_radio_cont + 1 
 
 p_soft_reset:
-0018 20800000 clear_stack 
-0019 6fe240cc fetch 4 ,mem_lpm_ctrl3 
-001a 67f2004c store 4 ,core_lpm_reg 
-001b 20403c16 call lpm_write_ctrl3 
-001c 20203803 branch soft_reset + 2 
+0025 20800000 clear_stack 
+0026 6fe240cc fetch 4 ,mem_lpm_ctrl3 
+0027 67f2004c store 4 ,core_lpm_reg 
+0028 20403c16 call lpm_write_ctrl3 
+0029 20203803 branch soft_reset + 2 
 
 p_dongle_write_kb_bind_status:
-001d df200001 arg 1 ,loopcnt 
-001e da204593 arg mem_dg_kb_bind_flag ,rega 
-001f dfe00fcd arg dongle_kb_bind_otp_offect ,pdata 
-0020 20206883 branch otp_write 
+002a df200001 arg 1 ,loopcnt 
+002b da204593 arg mem_dg_kb_bind_flag ,rega 
+002c dfe00fcd arg dongle_kb_bind_otp_offect ,pdata 
+002d 20206883 branch otp_write 
 
 p_dongle_read_kb_bind_status:
-0021 58000fcd setarg dongle_kb_bind_otp_offect 
-0022 da204593 arg mem_dg_kb_bind_flag ,rega 
-0023 d8400001 arg 1 ,temp 
-0024 202068c5 branch otpd_read_data_with_pwr_operation 
+002e 58000fcd setarg dongle_kb_bind_otp_offect 
+002f da204593 arg mem_dg_kb_bind_flag ,rega 
+0030 d8400001 arg 1 ,temp 
+0031 202068c5 branch otpd_read_data_with_pwr_operation 
 
 p_g24_bind_mode_auto:
-0025 6fe0c561 fetch 1 ,mem_24g_work_mode 
-0026 c1808000 rtnne dongle_bind 
-0027 20400029 call p_g24_bind_init 
-0028 20204ae3 branch g24_bind_mode_auto + 4 
+0032 6fe0c561 fetch 1 ,mem_24g_work_mode 
+0033 c1808000 rtnne dongle_bind 
+0034 20400036 call p_g24_bind_init 
+0035 20204ae3 branch g24_bind_mode_auto + 4 
 
 p_g24_bind_init:
-0029 6fe0c560 fetch 1 ,mem_24g_mode_init 
-002a c3808000 rtnbit1 dongle_bind 
-002b 79207e01 set1 dongle_bind ,pdata 
-002c 67e0c560 store 1 ,mem_24g_mode_init 
-002d 58000000 setarg 0 
-002e 67e1c51e store 3 ,mem_24g_device1_bind_step 
-002f 20204980 branch g24_bind_init + 8 
+0036 6fe0c560 fetch 1 ,mem_24g_mode_init 
+0037 c3808000 rtnbit1 dongle_bind 
+0038 79207e01 set1 dongle_bind ,pdata 
+0039 67e0c560 store 1 ,mem_24g_mode_init 
+003a 58000000 setarg 0 
+003b 67e1c51e store 3 ,mem_24g_device1_bind_step 
+003c 20204980 branch g24_bind_init + 8 
 
 p_txon_next:
-0030 6fe0c116 fetch 1 ,mem_tx_power 
-0031 c0558034 beq tx_power_f47db ,p_set_tx_power_f47db 
-0032 c0590037 beq tx_power_f50db ,p_set_tx_power_f50db 
-0033 202039e3 branch txon_next 
+003d 6fe0c116 fetch 1 ,mem_tx_power 
+003e c0558041 beq tx_power_f47db ,p_set_tx_power_f47db 
+003f c0590044 beq tx_power_f50db ,p_set_tx_power_f50db 
+0040 202039e3 branch txon_next 
 
 p_set_tx_power_f47db:
-0034 708a3943 jam 0x43 ,core_tx_pwr_ctrl0 
-0035 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
-0036 202039ef branch set_rf_ldo_cfg89 
+0041 708a3943 jam 0x43 ,core_tx_pwr_ctrl0 
+0042 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+0043 202039ef branch set_rf_ldo_cfg89 
 
 p_set_tx_power_f50db:
-0037 708a3942 jam 0x42 ,core_tx_pwr_ctrl0 
-0038 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
-0039 202039ef branch set_rf_ldo_cfg89 
+0044 708a3942 jam 0x42 ,core_tx_pwr_ctrl0 
+0045 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+0046 202039ef branch set_rf_ldo_cfg89 
 
 p_dongle_default_init:
-003a 204050c4 call dongle_default_init + 1 
-003b 6fe0c5e0 fetch 1 ,mem_24g_pair_tx_power_init 
-003c 67e0c51c store 1 ,mem_24g_pair_tx_power 
-003d 70451501 jam on ,mem_24g_disable_fec1 
-003e 202048fd branch g24_enable_2m 
+0047 204050c4 call dongle_default_init + 1 
+0048 6fe0c5e0 fetch 1 ,mem_24g_pair_tx_power_init 
+0049 67e0c51c store 1 ,mem_24g_pair_tx_power 
+004a 70451501 jam on ,mem_24g_disable_fec1 
+004b 202048fd branch g24_enable_2m 
 
 p_usb_init:
-003f 20406eb3 call enable_authrom 
-0040 20407056 call usb_init_param 
-0041 708c0000 jam 0x00 ,core_usb_config 
-0042 20002710 nop 10000 
-0043 708c1800 jam 0x00 ,core_usb_trig 
-0044 6ff10050 fetch 2 ,core_clkoff 
-0045 793ffe0a set0 clock_off_usb ,pdata 
-0046 67f10050 store 2 ,core_clkoff 
-0047 708c1100 jam 0x00 ,core_usb_hmode 
-0048 708c003c jam 0x3c ,core_usb_config 
-0049 58000d00 setarg mem_usb_rxbuf_new 
-004a 67f10c03 store 2 ,core_usb_rx_saddr 
-004b 67f10c07 store 2 ,core_usb_rxptr 
-004c 58000d44 setarg mem_usb_rxbuf_new_end 
-004d 67f10c05 store 2 ,core_usb_rx_eaddr 
-004e 2020704f branch usb_init + 16 
+004c 20406eb3 call enable_authrom 
+004d 20407056 call usb_init_param 
+004e 708c0000 jam 0x00 ,core_usb_config 
+004f 20002710 nop 10000 
+0050 708c1800 jam 0x00 ,core_usb_trig 
+0051 6ff10050 fetch 2 ,core_clkoff 
+0052 793ffe0a set0 clock_off_usb ,pdata 
+0053 67f10050 store 2 ,core_clkoff 
+0054 708c1100 jam 0x00 ,core_usb_hmode 
+0055 708c003c jam 0x3c ,core_usb_config 
+0056 58000d00 setarg mem_usb_rxbuf_new 
+0057 67f10c03 store 2 ,core_usb_rx_saddr 
+0058 67f10c07 store 2 ,core_usb_rxptr 
+0059 58000d44 setarg mem_usb_rxbuf_new_end 
+005a 67f10c05 store 2 ,core_usb_rx_eaddr 
+005b 2020704f branch usb_init + 16 
 
 p_le_enable_phy_by_pdata:
-004f 18427e00 copy temp ,pdata 
-0050 c2808052 bbit1 bit_le_2m_phy ,p_le_enable_2m 
-0051 20203ce3 branch le_enable_phy_by_pdata + 3 
+005c 18427e00 copy temp ,pdata 
+005d c280805f bbit1 bit_le_2m_phy ,p_le_enable_2m 
+005e 20203ce3 branch le_enable_phy_by_pdata + 3 
 
 p_le_enable_2m:
-0052 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-0053 20203ce9 branch le_enable_2m 
+005f 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+0060 20203ce9 branch le_enable_2m 
 
 p_set_freq_tx:
-0054 708a3d12 jam 0x12 ,core_syn_top_ctrl 
-0055 60488008 storet 1 ,mem_last_freq 
-0056 1840a202 add temp ,2 ,rega 
-0057 2040398e call rf_tx_write_freq 
-0058 20000258 nop 600 
-0059 202039cf branch txon 
+0061 708a3d12 jam 0x12 ,core_syn_top_ctrl 
+0062 60488008 storet 1 ,mem_last_freq 
+0063 1840a202 add temp ,2 ,rega 
+0064 2040398e call rf_tx_write_freq 
+0065 20000258 nop 600 
+0066 202039cf branch txon 
 
 p_g24_receive_skip_end:
-005a 6fe0c5b3 fetch 1 ,mem_dg_sys_config 
-005b c30047de bbit0 dg_enable_new_revision ,g24_receive_skip_end + 1 
-005c 7837fc00 enable user3 
-005d 2000012c nop 300 
-005e 6fe0c443 fetch 1 ,mem_24g_rxbuf + 1 
-005f 79207e00 set1 bit_ack_24g ,pdata 
-0060 67e0c443 store 1 ,mem_24g_rxbuf + 1 
-0061 20404a20 call g24_ackpayload_prep 
-0062 2040485e call g24_transmit_prep 
-0063 2020480e branch g24_transmit 
+0067 6fe0c5b3 fetch 1 ,mem_dg_sys_config 
+0068 c30047de bbit0 dg_enable_new_revision ,g24_receive_skip_end + 1 
+0069 7837fc00 enable user3 
+006a 2000012c nop 300 
+006b 6fe0c443 fetch 1 ,mem_24g_rxbuf + 1 
+006c 79207e00 set1 bit_ack_24g ,pdata 
+006d 67e0c443 store 1 ,mem_24g_rxbuf + 1 
+006e 20404a20 call g24_ackpayload_prep 
+006f 2040485e call g24_transmit_prep 
+0070 2020480e branch g24_transmit 
 
 p_g24_search_mode_auto:
-0064 6fe0c561 fetch 1 ,mem_24g_work_mode 
-0065 c1838000 rtnne dongle_search 
-0066 20400068 call p_g24_search_mode_init 
-0067 20204b00 branch g24_search_mode_auto + 4 
+0071 6fe0c561 fetch 1 ,mem_24g_work_mode 
+0072 c1838000 rtnne dongle_search 
+0073 20400075 call p_g24_search_mode_init 
+0074 20204b00 branch g24_search_mode_auto + 4 
 
 p_g24_search_mode_init:
-0068 6fe0c560 fetch 1 ,mem_24g_mode_init 
-0069 c3838000 rtnbit1 dongle_search 
-006a 79207e07 set1 dongle_search ,pdata 
-006b 67e0c560 store 1 ,mem_24g_mode_init 
-006c 6fe0c56e fetch 1 ,mem_tx_power_temp 
-006d 67e0c116 store 1 ,mem_tx_power 
-006e 20204af0 branch g24_search_mode_init + 4 
+0075 6fe0c560 fetch 1 ,mem_24g_mode_init 
+0076 c3838000 rtnbit1 dongle_search 
+0077 79207e07 set1 dongle_search ,pdata 
+0078 67e0c560 store 1 ,mem_24g_mode_init 
+0079 6fe0c56e fetch 1 ,mem_tx_power_temp 
+007a 67e0c116 store 1 ,mem_tx_power 
+007b 20204af0 branch g24_search_mode_init + 4 
 
 p_g24_mode_switch_bind_search:
-006f 6fe0c561 fetch 1 ,mem_24g_work_mode 
-0070 c1000000 rtneq dongle_work 
-0071 6fe0c575 fetch 1 ,mem_24g_b_s_mode_switch_disable 
-0072 247a0000 nrtn blank 
-0073 6fe0c573 fetch 1 ,mem_24g_mode_b_s_switch_exit 
-0074 247a0000 nrtn blank 
-0075 6fe0c56f fetch 1 ,mem_24g_mode_b_s_switch 
-0076 207a0000 rtn blank 
-0077 6fe0c51e fetch 1 ,mem_24g_device1_bind_step 
-0078 c1800000 rtnne 0 
-0079 6fe0c51f fetch 1 ,mem_24g_device2_bind_step 
-007a c1800000 rtnne 0 
-007b 6fe0c576 fetch 1 ,mem_24g_bind_device_living 
-007c 2fe00603 compare 3 ,pdata ,3 
-007d 2020cac1 branch g24_mode_b_s_switch_exit ,true 
-007e 204048be call g24_timer_check 
-007f 24740000 nrtn user 
-0080 6fe14571 fetch 2 ,mem_24g_mode_b_s_switch_cnt 
-0081 1fe0fe01 increase 1 ,pdata 
-0082 67e14571 store 2 ,mem_24g_mode_b_s_switch_cnt 
-0083 d84007d0 arg 0x7d0 ,temp 
-0084 98467c00 isub temp ,null 
-0085 20214ac1 branch g24_mode_b_s_switch_exit ,positive 
-0086 6fe0c574 fetch 1 ,mem_24g_b_s_time_slice 
-0087 1fe0fe01 increase 1 ,pdata 
-0088 1fe17e01 and_into 1 ,pdata 
-0089 67e0c574 store 1 ,mem_24g_b_s_time_slice 
-008a c0004b88 beq 0 ,g24_search_mode_enable 
-008b c000c975 beq 1 ,g24_bind_mode_enable 
-008c 20600000 rtn 
+007c 6fe0c561 fetch 1 ,mem_24g_work_mode 
+007d c1000000 rtneq dongle_work 
+007e 6fe0c575 fetch 1 ,mem_24g_b_s_mode_switch_disable 
+007f 247a0000 nrtn blank 
+0080 6fe0c573 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+0081 247a0000 nrtn blank 
+0082 6fe0c56f fetch 1 ,mem_24g_mode_b_s_switch 
+0083 207a0000 rtn blank 
+0084 6fe0c51e fetch 1 ,mem_24g_device1_bind_step 
+0085 c1800000 rtnne 0 
+0086 6fe0c51f fetch 1 ,mem_24g_device2_bind_step 
+0087 c1800000 rtnne 0 
+0088 6fe0c576 fetch 1 ,mem_24g_bind_device_living 
+0089 2fe00603 compare 3 ,pdata ,3 
+008a 2020cac1 branch g24_mode_b_s_switch_exit ,true 
+008b 204048be call g24_timer_check 
+008c 24740000 nrtn user 
+008d 6fe14571 fetch 2 ,mem_24g_mode_b_s_switch_cnt 
+008e 1fe0fe01 increase 1 ,pdata 
+008f 67e14571 store 2 ,mem_24g_mode_b_s_switch_cnt 
+0090 d84007d0 arg 0x7d0 ,temp 
+0091 98467c00 isub temp ,null 
+0092 20214ac1 branch g24_mode_b_s_switch_exit ,positive 
+0093 6fe0c574 fetch 1 ,mem_24g_b_s_time_slice 
+0094 1fe0fe01 increase 1 ,pdata 
+0095 1fe17e01 and_into 1 ,pdata 
+0096 67e0c574 store 1 ,mem_24g_b_s_time_slice 
+0097 c0004b88 beq 0 ,g24_search_mode_enable 
+0098 c000c975 beq 1 ,g24_bind_mode_enable 
+0099 20600000 rtn 
 
 p_g24_bind_data_parse_next:
-008d 6fe0c535 fetch 1 ,mem_24g_rxdata_temp + 2 
-008e c05549a2 beq datatype_bind ,g24_bind_first_step 
-008f c02ac9b3 beq datatype_config ,g24_bind_second_step 
-0090 c01149d4 beq datatype_ok ,g24_bind_third_step 
-0091 c07f80a8 beq datatype_attemp ,p_g24_data_attemp 
-0092 20600000 rtn 
+009a 6fe0c535 fetch 1 ,mem_24g_rxdata_temp + 2 
+009b c05549a2 beq datatype_bind ,g24_bind_first_step 
+009c c02ac9b3 beq datatype_config ,g24_bind_second_step 
+009d c01149d4 beq datatype_ok ,g24_bind_third_step 
+009e c07f80b5 beq datatype_attemp ,p_g24_data_attemp 
+009f 20600000 rtn 
 
 p_g24_receive_packet_start_next:
-0093 6fe0c535 fetch 1 ,mem_24g_rxdata_temp + 2 
-0094 c0008098 beq datatype_device1 ,p_g24_data_device1 
-0095 c0014a4e beq datatype_device2 ,g24_data_device2 
-0096 c07f80a6 beq datatype_attemp ,p_g24_data_receive_attemp 
-0097 20204a39 branch g24_rx_interrupt_clear 
+00a0 6fe0c535 fetch 1 ,mem_24g_rxdata_temp + 2 
+00a1 c00080a5 beq datatype_device1 ,p_g24_data_device1 
+00a2 c0014a4e beq datatype_device2 ,g24_data_device2 
+00a3 c07f80b3 beq datatype_attemp ,p_g24_data_receive_attemp 
+00a4 20204a39 branch g24_rx_interrupt_clear 
 
 p_g24_data_device1:
-0098 20404a08 call g24_binding_dvc1_living 
-0099 20404ba2 call g24_ch_timer_reinit 
-009a 6fe0c555 fetch 1 ,mem_24g_abort_packet 
-009b 6848c533 fetcht 1 ,mem_24g_rxdata_temp 
-009c 284ffe03 isolate1 bit_abort ,temp 
-009d 7920fe00 setflag true ,0 ,pdata 
-009e 67e0c555 store 1 ,mem_24g_abort_packet 
-009f c00080a1 beq 1 ,p_g24_data_attemp_device1_abort 
-00a0 20204a47 branch g24_data_device1 + 8 
+00a5 20404a08 call g24_binding_dvc1_living 
+00a6 20404ba2 call g24_ch_timer_reinit 
+00a7 6fe0c555 fetch 1 ,mem_24g_abort_packet 
+00a8 6848c533 fetcht 1 ,mem_24g_rxdata_temp 
+00a9 284ffe03 isolate1 bit_abort ,temp 
+00aa 7920fe00 setflag true ,0 ,pdata 
+00ab 67e0c555 store 1 ,mem_24g_abort_packet 
+00ac c00080ae beq 1 ,p_g24_data_attemp_device1_abort 
+00ad 20204a47 branch g24_data_device1 + 8 
 
 p_g24_data_attemp_device1_abort:
-00a1 6fe0c529 fetch 1 ,mem_24g_device1_bind_disable 
-00a2 247a0000 nrtn blank 
-00a3 70452901 jam 1 ,mem_24g_device1_bind_disable 
-00a4 6fe2453d fetch 4 ,mem_24g_rxdata_temp + 10 
-00a5 20204c14 branch g24_store_device1_addr 
+00ae 6fe0c529 fetch 1 ,mem_24g_device1_bind_disable 
+00af 247a0000 nrtn blank 
+00b0 70452901 jam 1 ,mem_24g_device1_bind_disable 
+00b1 6fe2453d fetch 4 ,mem_24g_rxdata_temp + 10 
+00b2 20204c14 branch g24_store_device1_addr 
 
 p_g24_data_receive_attemp:
-00a6 20404a16 call g24_bind_device_status 
-00a7 202000a8 branch p_g24_data_attemp 
+00b3 20404a16 call g24_bind_device_status 
+00b4 202000b5 branch p_g24_data_attemp 
 
 p_g24_data_attemp:
-00a8 6fe0c536 fetch 1 ,mem_24g_rxdata_temp + 3 
-00a9 c00080ac beq datatype_device1 ,p_g24_data_attemp_device1 
-00aa c00100af beq datatype_device2 ,p_g24_data_attemp_device2 
-00ab 20600000 rtn 
+00b5 6fe0c536 fetch 1 ,mem_24g_rxdata_temp + 3 
+00b6 c00080b9 beq datatype_device1 ,p_g24_data_attemp_device1 
+00b7 c00100bc beq datatype_device2 ,p_g24_data_attemp_device2 
+00b8 20600000 rtn 
 
 p_g24_data_attemp_device1:
-00ac 6fe0c529 fetch 1 ,mem_24g_device1_bind_disable 
-00ad 247a0000 nrtn blank 
-00ae 20204c12 branch g24_data_attemp_device1 
+00b9 6fe0c529 fetch 1 ,mem_24g_device1_bind_disable 
+00ba 247a0000 nrtn blank 
+00bb 20204c12 branch g24_data_attemp_device1 
 
 p_g24_data_attemp_device2:
-00af 6fe0c52a fetch 1 ,mem_24g_device2_bind_disable 
-00b0 247a0000 nrtn blank 
-00b1 20204c16 branch g24_data_attemp_device2 
+00bc 6fe0c52a fetch 1 ,mem_24g_device2_bind_disable 
+00bd 247a0000 nrtn blank 
+00be 20204c16 branch g24_data_attemp_device2 
 
 p_dongle_usb_dispatch:
-00b2 20205140 branch dongle_usb_dispatch + 1 
+00bf 20205140 branch dongle_usb_dispatch + 1 
               org 0x3800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/usb_2m/program/patch.prog	(revision 4119)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/usb_2m/program/patch.prog	(working copy)
@@ -12,6 +12,8 @@
 	beq patch06_5,p_dongle_usb_dispatch
 	beq patch18_3,p_usb_init
 	beq patch1c_3,p_le_enable_phy_by_pdata
+	beq patch1c_4,p_le_enable
+	beq patch1c_5,p_le_disable
 	branch assert
 	
 pf_patch_ext:
@@ -25,6 +27,22 @@
 	beq patch2a_0,p_g24_search_mode_auto	
 	branch assert
 
+p_le_enable:
+	set0 mark_ble_2M,mark
+	set0 mark_ble_lr,mark
+	jam 0x01,0x8901
+	jam 0x80,0x8920
+	jam 0x02,0x8930
+	rtn
+
+
+p_le_disable:
+	set0 mark_ble_encryption,mark
+	jam 0x01,0x8901
+	jam 0x80,0x8920
+	jam 0x02,0x8930
+	rtn
+
 p_initialize_radio_cont:
 	jam 0x03,core_rx_lna_cfg3
 	jam 0,core_syn_loopdiv_dsm_cfg
Index: sched/1306.dat
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/usb_2m/sched/1306.dat	(revision 4119)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/usb_2m/sched/1306.dat	(working copy)
@@ -1,6 +1,6 @@
 
 #mem_gpio_wakeup_low:00 20 00 00 00 00 00 00
-mem_lpm_config:88 0b ca	#4khz	#myself 0d
+mem_lpm_config:88 0b ca	#4khz	#myself 03/0d
 mem_lpm_xtalcnt:35 3f 0c 33 03
 mem_rc_cal:d3
 mem_rf_ldo_cfg1:20
@@ -26,8 +26,8 @@
 
 
 #bit7:0 means disable rf debug function
-#mem_rf_debug_rx_gpio:85
-#mem_rf_debug_tx_gpio:86
+#mem_rf_debug_rx_gpio:84
+#mem_rf_debug_tx_gpio:84
 
 
 
