Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/USB_64K/output/eeprom.dat	(revision 1654)
+++ /YC1308AF/branch/mouse/YDN_Project/USB_64K/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-c6
+ca
 04
 c2
 84
@@ -27,7 +27,7 @@
 c0
 46
 00
-8f
+90
 c0
 56
 80
@@ -35,11 +35,11 @@
 c0
 5d
 00
-5d
+5e
 c0
 5d
 80
-5f
+60
 20
 20
 13
@@ -47,31 +47,31 @@
 c0
 46
 00
-b5
+b6
 c0
 47
 00
-b9
+ba
 c0
 49
 80
-c9
+ca
 c0
 53
 80
-a4
+a5
 c0
 70
 00
-cf
+d0
 c0
 72
 00
-e0
+e1
 c0
 73
 01
-18
+19
 20
 20
 13
@@ -151,7 +151,7 @@
 c0
 07
 80
-80
+81
 20
 60
 00
@@ -187,7 +187,7 @@
 20
 40
 00
-ad
+ae
 20
 20
 00
@@ -215,7 +215,7 @@
 20
 40
 00
-aa
+ab
 20
 20
 00
@@ -356,6 +356,10 @@
 48
 bc
 1e
+70
+48
+d7
+01
 20
 40
 12
@@ -363,7 +367,7 @@
 20
 40
 00
-84
+85
 20
 40
 62
@@ -379,7 +383,7 @@
 20
 40
 00
-5b
+5c
 20
 20
 37
@@ -399,7 +403,7 @@
 20
 40
 00
-64
+65
 20
 20
 37
@@ -411,11 +415,11 @@
 20
 40
 00
-67
+68
 20
 20
 00
-73
+74
 6f
 e0
 c9
@@ -531,7 +535,7 @@
 20
 20
 00
-81
+82
 6f
 e0
 c8
@@ -539,7 +543,7 @@
 c0
 07
 80
-88
+89
 70
 49
 40
@@ -623,7 +627,7 @@
 20
 40
 00
-8a
+8b
 1f
 e6
 7e
@@ -647,7 +651,7 @@
 24
 20
 80
-a2
+a3
 58
 00
 00
@@ -759,7 +763,7 @@
 c0
 00
 00
-be
+bf
 20
 20
 7a
@@ -783,7 +787,7 @@
 c0
 00
 80
-c4
+c5
 20
 20
 7a
@@ -795,7 +799,7 @@
 c0
 04
 80
-c7
+c8
 20
 20
 7a
@@ -907,15 +911,15 @@
 c0
 55
 00
-e5
+e6
 c0
 2a
 80
-ef
+f0
 c0
 11
+01
 00
-ff
 20
 20
 23
@@ -927,11 +931,11 @@
 c0
 00
 80
-e9
+ea
 c0
 01
 00
-ec
+ed
 20
 60
 00
@@ -967,7 +971,7 @@
 20
 3a
 00
-f5
+f6
 6f
 e2
 48
@@ -991,11 +995,11 @@
 c0
 00
 80
-f9
+fa
 c0
 01
 00
-fc
+fd
 20
 60
 00
@@ -1031,7 +1035,7 @@
 20
 3a
 01
-05
+06
 6f
 e2
 48
@@ -1055,11 +1059,11 @@
 c0
 00
 81
-09
+0a
 c0
 01
 01
-11
+12
 20
 60
 00
@@ -1079,7 +1083,7 @@
 c0
 01
 01
-0e
+0f
 20
 60
 00
@@ -1111,7 +1115,7 @@
 c0
 80
 01
-16
+17
 20
 60
 00
@@ -1139,7 +1143,7 @@
 20
 40
 01
-27
+28
 6f
 e0
 c8
@@ -1207,7 +1211,7 @@
 20
 40
 01
-2e
+2f
 20
 20
 23
@@ -1224,8 +1228,8 @@
 20
 23
 d6
-ea
-c9
+fb
+31
 aa
 55
 40
@@ -1351,12 +1355,8 @@
 55
 93
 0e
-a9
-06
-ff
-ff
-ff
-ff
+89
+9b
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-c8
-23
+1d
+42
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/USB_64K/output/program.lis	(revision 1654)
+++ /YC1308AF/branch/mouse/YDN_Project/USB_64K/output/program.lis	(working copy)
@@ -5,20 +5,20 @@
 0002 c042803d beq patch10_5 ,p_rf_rx_enable 
 0003 c045004b beq patch11_2 ,p_txon_next 
 0004 c0458051 beq patch11_3 ,p_initialize_radio_cont 
-0005 c046008f beq patch11_4 ,p_save_rssi 
+0005 c0460090 beq patch11_4 ,p_save_rssi 
 0006 c0568012 beq patch15_5 ,p_app_init 
-0007 c05d005d beq patch17_2 ,p_dongle_usb_dispatch 
-0008 c05d805f beq patch17_3 ,p_dongle_work_mode_auto 
+0007 c05d005e beq patch17_2 ,p_dongle_usb_dispatch 
+0008 c05d8060 beq patch17_3 ,p_dongle_work_mode_auto 
 0009 2020137e branch loop 
 
 pf_patch_ext:
-000a c04600b5 beq patch31_4 ,p_usb_init 
-000b c04700b9 beq patch31_6 ,p_usb_class_type 
-000c c04980c9 beq patch32_3 ,p_usb_tx 
-000d c05380a4 beq patch34_7 ,p_le_enable 
-000e c07000cf beq patch3c_0 ,p_g24_receive_skip_end 
-000f c07200e0 beq patch3c_4 ,p_g24_bind_data_parse_next 
-0010 c0730118 beq patch3c_6 ,p_g24_bind_mode_auto 
+000a c04600b6 beq patch31_4 ,p_usb_init 
+000b c04700ba beq patch31_6 ,p_usb_class_type 
+000c c04980ca beq patch32_3 ,p_usb_tx 
+000d c05380a5 beq patch34_7 ,p_le_enable 
+000e c07000d0 beq patch3c_0 ,p_g24_receive_skip_end 
+000f c07200e1 beq patch3c_4 ,p_g24_bind_data_parse_next 
+0010 c0730119 beq patch3c_6 ,p_g24_bind_mode_auto 
 0011 2020137e branch loop 
 
 p_app_init:
@@ -46,7 +46,7 @@
 0021 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
 0022 c0000026 beq 0x00 ,p_dongle_auto_bind 
 0023 c000b6fd beq 0x01 ,dongle_pc_bind 
-0024 c0078080 beq 0x0f ,p_dongle_all_powerful 
+0024 c0078081 beq 0x0f ,p_dongle_all_powerful 
 0025 20600000 rtn 
 
 p_dongle_auto_bind:
@@ -59,7 +59,7 @@
 002a 2040249c call g24_bind_mode_auto 
 002b 204024b9 call g24_search_mode_auto 
 002c 2040372f call dongle_usb_dispatch 
-002d 204000ad call p_timer_check 
+002d 204000ae call p_timer_check 
 002e 20200027 branch p_dongle_auto_bind_loop 
 
 p_dongle_ackpayload_prep:
@@ -72,7 +72,7 @@
 p_g24_bind_dvc1_exit:
 0032 7048c301 jam dongle_bind ,mem_24g_work_mode 
 0033 70495101 jam 1 ,mem_g24_bind_continue_enable 
-0034 204000aa call p_timer_init 
+0034 204000ab call p_timer_init 
 0035 20200031 branch p_dongle_ackpayload_prep_end 
 
 p_set_sync_on:
@@ -122,307 +122,308 @@
 0055 70486802 jam 0x02 ,mem_24g_tx_phy 
 0056 70487a01 jam 0x01 ,mem_24g_disable_fec1 
 0057 7048bc1e jam 0x1e ,mem_24g_hop_interval 
-0058 20401252 call initialize_radio_cont + 1 
-0059 20400084 call p_g24_fast_conn_mode_check 
-005a 204062a4 call wdt_set_enable 
+0058 7048d701 jam 1 ,mem_24g_b_s_mode_switch_disable 
+0059 20401252 call initialize_radio_cont + 1 
+005a 20400085 call p_g24_fast_conn_mode_check 
+005b 204062a4 call wdt_set_enable 
 
 p_wdt_kick:
-005b 5800007d setarg 125 
-005c 20206295 branch wdt_init_config 
+005c 5800007d setarg 125 
+005d 20206295 branch wdt_init_config 
 
 p_dongle_usb_dispatch:
-005d 2040005b call p_wdt_kick 
-005e 20203730 branch dongle_usb_dispatch + 1 
+005e 2040005c call p_wdt_kick 
+005f 20203730 branch dongle_usb_dispatch + 1 
 
 p_dongle_work_mode_auto:
-005f 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
-0060 c1800000 rtnne dongle_work 
-0061 20402497 call g24_work_mode_start 
-0062 20400064 call p_dongle_g24_blank_data_process 
-0063 20203770 branch dongle_work_mode_auto + 5 
+0060 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+0061 c1800000 rtnne dongle_work 
+0062 20402497 call g24_work_mode_start 
+0063 20400065 call p_dongle_g24_blank_data_process 
+0064 20203770 branch dongle_work_mode_auto + 5 
 
 p_dongle_g24_blank_data_process:
-0064 20403705 call dongle_g24_ms_blank_data 
-0065 20400067 call p_dongle_g24_kb_blank_data 
-0066 20200073 branch p_dongle_g24_kb_mul_blank_data 
+0065 20403705 call dongle_g24_ms_blank_data 
+0066 20400068 call p_dongle_g24_kb_blank_data 
+0067 20200074 branch p_dongle_g24_kb_mul_blank_data 
 
 p_dongle_g24_kb_blank_data:
-0067 6fe0c912 fetch 1 ,mem_dg_kb_blank_data_enable 
-0068 207a0000 rtn blank 
-0069 d8e0000e arg timer_kb_blank ,queue 
-006a 20407de9 call timer_check 
-006b 247a0000 nrtn blank 
-006c 70491200 jam 0 ,mem_dg_kb_blank_data_enable 
-006d d8a00c0f arg mem_usb_kb_data ,contw 
-006e df200002 arg 2 ,loopcnt 
-006f 20407d8c call memset0 
-0070 6fe40c0f fetch 8 ,mem_usb_kb_data 
-0071 67e448fe store 8 ,mem_dg_kb_data_last_data 
-0072 2020371d branch dongle_usb_tx_kb_data 
+0068 6fe0c912 fetch 1 ,mem_dg_kb_blank_data_enable 
+0069 207a0000 rtn blank 
+006a d8e0000e arg timer_kb_blank ,queue 
+006b 20407de9 call timer_check 
+006c 247a0000 nrtn blank 
+006d 70491200 jam 0 ,mem_dg_kb_blank_data_enable 
+006e d8a00c0f arg mem_usb_kb_data ,contw 
+006f df200002 arg 2 ,loopcnt 
+0070 20407d8c call memset0 
+0071 6fe40c0f fetch 8 ,mem_usb_kb_data 
+0072 67e448fe store 8 ,mem_dg_kb_data_last_data 
+0073 2020371d branch dongle_usb_tx_kb_data 
 
 p_dongle_g24_kb_mul_blank_data:
-0073 6fe0c913 fetch 1 ,mem_dg_kb_mul_blank_data_enable 
-0074 207a0000 rtn blank 
-0075 d8e0000c arg timer_kb_mul_blank ,queue 
-0076 20407de9 call timer_check 
-0077 247a0000 nrtn blank 
-0078 70491300 jam 0 ,mem_dg_kb_mul_blank_data_enable 
-0079 d8a00c1f arg mem_usb_kb_multikey ,contw 
-007a df200002 arg 2 ,loopcnt 
-007b 20407d8c call memset0 
-007c 700c1f03 jam kb_multikey_report_id ,mem_usb_kb_multikey 
-007d 6fe18c1f fetch 3 ,mem_usb_kb_multikey 
-007e 67e1c909 store 3 ,mem_dg_kb_multikey_last_data 
-007f 2020372d branch dongle_usb_tx_multikey_data 
+0074 6fe0c913 fetch 1 ,mem_dg_kb_mul_blank_data_enable 
+0075 207a0000 rtn blank 
+0076 d8e0000c arg timer_kb_mul_blank ,queue 
+0077 20407de9 call timer_check 
+0078 247a0000 nrtn blank 
+0079 70491300 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+007a d8a00c1f arg mem_usb_kb_multikey ,contw 
+007b df200002 arg 2 ,loopcnt 
+007c 20407d8c call memset0 
+007d 700c1f03 jam kb_multikey_report_id ,mem_usb_kb_multikey 
+007e 6fe18c1f fetch 3 ,mem_usb_kb_multikey 
+007f 67e1c909 store 3 ,mem_dg_kb_multikey_last_data 
+0080 2020372d branch dongle_usb_tx_multikey_data 
 
 p_dongle_all_powerful:
-0080 20402493 call g24_switch_work_mode 
+0081 20402493 call g24_switch_work_mode 
 
 p_dongle_all_powerful_loop:
-0081 2040376b call dongle_work_mode_auto 
-0082 2040372f call dongle_usb_dispatch 
-0083 20200081 branch p_dongle_all_powerful_loop 
+0082 2040376b call dongle_work_mode_auto 
+0083 2040372f call dongle_usb_dispatch 
+0084 20200082 branch p_dongle_all_powerful_loop 
 
 p_g24_fast_conn_mode_check:
-0084 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
-0085 c0078088 beq 0x0f ,p_soft_agc_en_true 
+0085 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+0086 c0078089 beq 0x0f ,p_soft_agc_en_true 
 
 p_soft_agc_en_false:
-0086 70494000 jam 0 ,mem_soft_agc_en 
-0087 20600000 rtn 
+0087 70494000 jam 0 ,mem_soft_agc_en 
+0088 20600000 rtn 
 
 p_soft_agc_en_true:
-0088 70494001 jam 1 ,mem_soft_agc_en 
-0089 20600000 rtn 
+0089 70494001 jam 1 ,mem_soft_agc_en 
+008a 20600000 rtn 
 
 p_byte_sign_extern:
-008a 2feffe07 isolate1 7 ,pdata 
-008b 24608000 nrtn true 
-008c d840ff00 arg 0xff00 ,temp 
-008d 9841fe00 ior temp ,pdata 
-008e 20600000 rtn 
+008b 2feffe07 isolate1 7 ,pdata 
+008c 24608000 nrtn true 
+008d d840ff00 arg 0xff00 ,temp 
+008e 9841fe00 ior temp ,pdata 
+008f 20600000 rtn 
 
 p_save_rssi:
-008f 6ff089a2 fetch 1 ,modem_nb_pow 
-0090 2feffe06 isolate1 6 ,pdata 
-0091 7920fe07 setflag true ,7 ,pdata 
-0092 67e0c1e9 store 1 ,mem_modem_rssi 
-0093 6ff089a3 fetch 1 ,modem_gain 
-0094 1fe1040f and pdata ,0x0f ,temp 
-0095 18438400 lshift temp ,temp 
-0096 1ff1fe00 rshift4 pdata ,pdata 
-0097 98408400 iadd temp ,temp 
-0098 184fa203 mul32 temp ,3 ,rega 
-0099 6fe0c1e9 fetch 1 ,mem_modem_rssi 
-009a 2040008a call p_byte_sign_extern 
-009b 1fe67e00 sub pdata ,0 ,pdata 
-009c 9a20fe00 iadd rega ,pdata 
-009d 1fe0fff7 increase -9 ,pdata 
-009e 1fe17fff and pdata ,0x1ff ,pdata 
-009f 2feffe08 isolate1 8 ,pdata 
-00a0 242080a2 nbranch p_save_rssi_store ,true 
-00a1 58000000 setarg 0 
+0090 6ff089a2 fetch 1 ,modem_nb_pow 
+0091 2feffe06 isolate1 6 ,pdata 
+0092 7920fe07 setflag true ,7 ,pdata 
+0093 67e0c1e9 store 1 ,mem_modem_rssi 
+0094 6ff089a3 fetch 1 ,modem_gain 
+0095 1fe1040f and pdata ,0x0f ,temp 
+0096 18438400 lshift temp ,temp 
+0097 1ff1fe00 rshift4 pdata ,pdata 
+0098 98408400 iadd temp ,temp 
+0099 184fa203 mul32 temp ,3 ,rega 
+009a 6fe0c1e9 fetch 1 ,mem_modem_rssi 
+009b 2040008b call p_byte_sign_extern 
+009c 1fe67e00 sub pdata ,0 ,pdata 
+009d 9a20fe00 iadd rega ,pdata 
+009e 1fe0fff7 increase -9 ,pdata 
+009f 1fe17fff and pdata ,0x1ff ,pdata 
+00a0 2feffe08 isolate1 8 ,pdata 
+00a1 242080a3 nbranch p_save_rssi_store ,true 
+00a2 58000000 setarg 0 
 
 p_save_rssi_store:
-00a2 67e08154 store 1 ,mem_rssi_hex 
-00a3 20201293 branch rssi_hex2dec 
+00a3 67e08154 store 1 ,mem_rssi_hex 
+00a4 20201293 branch rssi_hex2dec 
 
 p_le_enable:
-00a4 20401652 call le_enable + 1 
-00a5 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-00a6 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
-00a7 1fe1fe0f or pdata ,0x0f ,pdata 
-00a8 67f08a43 store 1 ,core_syn_cal_ctrl 
-00a9 20600000 rtn 
+00a5 20401652 call le_enable + 1 
+00a6 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+00a7 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
+00a8 1fe1fe0f or pdata ,0x0f ,pdata 
+00a9 67f08a43 store 1 ,core_syn_cal_ctrl 
+00aa 20600000 rtn 
 
 p_timer_init:
-00aa d8e0000d arg 13 ,queue 
-00ab 58000050 setarg 80 
-00ac 20207ddb branch timer_init 
+00ab d8e0000d arg 13 ,queue 
+00ac 58000050 setarg 80 
+00ad 20207ddb branch timer_init 
 
 p_timer_check:
-00ad 6fe0c951 fetch 1 ,mem_g24_bind_continue_enable 
-00ae 207a0000 rtn blank 
-00af d8e0000d arg 13 ,queue 
-00b0 20407de9 call timer_check 
-00b1 247a0000 nrtn blank 
-00b2 70495100 jam 0 ,mem_g24_bind_continue_enable 
-00b3 6fe14952 fetch 2 ,mem_cb_24g_bind_continue 
-00b4 20207e7a branch callback_func 
+00ae 6fe0c951 fetch 1 ,mem_g24_bind_continue_enable 
+00af 207a0000 rtn blank 
+00b0 d8e0000d arg 13 ,queue 
+00b1 20407de9 call timer_check 
+00b2 247a0000 nrtn blank 
+00b3 70495100 jam 0 ,mem_g24_bind_continue_enable 
+00b4 6fe14952 fetch 2 ,mem_cb_24g_bind_continue 
+00b5 20207e7a branch callback_func 
 
 p_usb_init:
-00b5 20406e5e call enable_authrom 
-00b6 20407a27 call usb_init_param 
-00b7 700aa803 jam 0x03 ,mem_devicedesc + 17 
-00b8 20207a0b branch usb_init_next 
+00b6 20406e5e call enable_authrom 
+00b7 20407a27 call usb_init_param 
+00b8 700aa803 jam 0x03 ,mem_devicedesc + 17 
+00b9 20207a0b branch usb_init_next 
 
 p_usb_class_type:
-00b9 793f8023 set0 mark_isstr ,mark 
-00ba 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-00bb 1fe17e80 and_into 0x80 ,pdata 
-00bc c00000be beq out_device ,p_usb_out_device 
-00bd 20207aa1 branch usb_class_type + 4 
+00ba 793f8023 set0 mark_isstr ,mark 
+00bb 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+00bc 1fe17e80 and_into 0x80 ,pdata 
+00bd c00000bf beq out_device ,p_usb_out_device 
+00be 20207aa1 branch usb_class_type + 4 
 
 p_usb_out_device:
-00be 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-00bf 1ff1fe00 rshift4 pdata ,pdata 
-00c0 1fe37e00 rshift pdata ,pdata 
-00c1 1fe17e03 and_into 0x03 ,pdata 
-00c2 c00080c4 beq class_req ,p_usb_out_class_req 
-00c3 20207ab4 branch usb_out_device + 4 
+00bf 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+00c0 1ff1fe00 rshift4 pdata ,pdata 
+00c1 1fe37e00 rshift pdata ,pdata 
+00c2 1fe17e03 and_into 0x03 ,pdata 
+00c3 c00080c5 beq class_req ,p_usb_out_class_req 
+00c4 20207ab4 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-00c4 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-00c5 c00480c7 beq set_report ,p_usb_set_report 
-00c6 20207acd branch usb_out_class_req + 1 
+00c5 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+00c6 c00480c8 beq set_report ,p_usb_set_report 
+00c7 20207acd branch usb_out_class_req + 1 
 
 p_usb_set_report:
-00c7 20003a98 nop 15000 
-00c8 20207c4a branch usb_set_report 
+00c8 20003a98 nop 15000 
+00c9 20207c4a branch usb_set_report 
 
 p_usb_tx:
-00c9 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
-00ca 207a0000 rtn blank 
-00cb 6ff08c24 fetch 1 ,core_usb_txbusy 
-00cc 1fe17e0f and_into 0x0f ,pdata 
-00cd 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
-00ce 20207ccc branch usb_tx + 3 
+00ca 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+00cb 207a0000 rtn blank 
+00cc 6ff08c24 fetch 1 ,core_usb_txbusy 
+00cd 1fe17e0f and_into 0x0f ,pdata 
+00ce 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+00cf 20207ccc branch usb_tx + 3 
 
 p_g24_receive_skip_end:
-00cf 6fe0c868 fetch 1 ,mem_24g_tx_phy 
-00d0 20401637 call le_enable_phy_by_pdata 
-00d1 6fe2483f fetch 4 ,mem_24g_addr 
-00d2 98001200 iforce access 
-00d3 20402181 call g24_prep 
-00d4 2040115d call set_sync_on 
-00d5 6848c83d fetcht 1 ,mem_24g_ch 
-00d6 708a3d12 jam 0x12 ,core_syn_top_ctrl 
-00d7 60488017 storet 1 ,mem_last_freq 
-00d8 1840a202 add temp ,2 ,rega 
-00d9 204011c6 call rf_tx_write_freq 
-00da 20401207 call txon 
-00db 20000064 nop 100 
-00dc 204023e3 call g24_ackpayload_prep 
-00dd 20402247 call g24_transmit_prep 
-00de 204021ff call g24_transmit + 7 
-00df 202021d6 branch g24_receive_skip_end 
+00d0 6fe0c868 fetch 1 ,mem_24g_tx_phy 
+00d1 20401637 call le_enable_phy_by_pdata 
+00d2 6fe2483f fetch 4 ,mem_24g_addr 
+00d3 98001200 iforce access 
+00d4 20402181 call g24_prep 
+00d5 2040115d call set_sync_on 
+00d6 6848c83d fetcht 1 ,mem_24g_ch 
+00d7 708a3d12 jam 0x12 ,core_syn_top_ctrl 
+00d8 60488017 storet 1 ,mem_last_freq 
+00d9 1840a202 add temp ,2 ,rega 
+00da 204011c6 call rf_tx_write_freq 
+00db 20401207 call txon 
+00dc 20000064 nop 100 
+00dd 204023e3 call g24_ackpayload_prep 
+00de 20402247 call g24_transmit_prep 
+00df 204021ff call g24_transmit + 7 
+00e0 202021d6 branch g24_receive_skip_end 
 
 p_g24_bind_data_parse_next:
-00e0 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
-00e1 c05500e5 beq datatype_bind ,p_g24_bind_first_step 
-00e2 c02a80ef beq datatype_config ,p_g24_bind_second_step 
-00e3 c01100ff beq datatype_ok ,p_g24_bind_third_step 
-00e4 20202370 branch g24_bind_data_parse_next + 4 
+00e1 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
+00e2 c05500e6 beq datatype_bind ,p_g24_bind_first_step 
+00e3 c02a80f0 beq datatype_config ,p_g24_bind_second_step 
+00e4 c0110100 beq datatype_ok ,p_g24_bind_third_step 
+00e5 20202370 branch g24_bind_data_parse_next + 4 
 
 p_g24_bind_first_step:
-00e5 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-00e6 c00080e9 beq datatype_device1 ,p_g24_bind_first_step_device1 
-00e7 c00100ec beq datatype_device2 ,p_g24_bind_first_step_device2 
-00e8 20600000 rtn 
+00e6 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+00e7 c00080ea beq datatype_device1 ,p_g24_bind_first_step_device1 
+00e8 c00100ed beq datatype_device2 ,p_g24_bind_first_step_device2 
+00e9 20600000 rtn 
 
 p_g24_bind_first_step_device1:
-00e9 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-00ea 247a0000 nrtn blank 
-00eb 20202376 branch g24_bind_first_step_device1 
+00ea 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+00eb 247a0000 nrtn blank 
+00ec 20202376 branch g24_bind_first_step_device1 
 
 p_g24_bind_first_step_device2:
-00ec 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-00ed 247a0000 nrtn blank 
-00ee 2020237c branch g24_bind_first_step_device2 
+00ed 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+00ee 247a0000 nrtn blank 
+00ef 2020237c branch g24_bind_first_step_device2 
 
 p_g24_bind_second_step:
-00ef 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-00f0 203a00f5 branch p_g24_bind_second_step_skip ,blank 
-00f1 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
-00f2 684a40a8 fetcht 4 ,mem_lap 
-00f3 98467c00 isub temp ,null 
-00f4 24628000 nrtn zero 
+00f0 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+00f1 203a00f6 branch p_g24_bind_second_step_skip ,blank 
+00f2 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+00f3 684a40a8 fetcht 4 ,mem_lap 
+00f4 98467c00 isub temp ,null 
+00f5 24628000 nrtn zero 
 
 p_g24_bind_second_step_skip:
-00f5 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-00f6 c00080f9 beq datatype_device1 ,p_g24_bind_second_step_device1 
-00f7 c00100fc beq datatype_device2 ,p_g24_bind_second_step_device2 
-00f8 20600000 rtn 
+00f6 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+00f7 c00080fa beq datatype_device1 ,p_g24_bind_second_step_device1 
+00f8 c00100fd beq datatype_device2 ,p_g24_bind_second_step_device2 
+00f9 20600000 rtn 
 
 p_g24_bind_second_step_device1:
-00f9 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-00fa 247a0000 nrtn blank 
-00fb 20202389 branch g24_bind_second_step_device1 
+00fa 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+00fb 247a0000 nrtn blank 
+00fc 20202389 branch g24_bind_second_step_device1 
 
 p_g24_bind_second_step_device2:
-00fc 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-00fd 247a0000 nrtn blank 
-00fe 20202394 branch g24_bind_second_step_device2 
+00fd 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+00fe 247a0000 nrtn blank 
+00ff 20202394 branch g24_bind_second_step_device2 
 
 p_g24_bind_third_step:
-00ff 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-0100 203a0105 branch p_g24_bind_third_step_skip ,blank 
-0101 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
-0102 684a48d9 fetcht 4 ,mem_24g_transmitter_addr 
-0103 98467c00 isub temp ,null 
-0104 24628000 nrtn zero 
+0100 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+0101 203a0106 branch p_g24_bind_third_step_skip ,blank 
+0102 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+0103 684a48d9 fetcht 4 ,mem_24g_transmitter_addr 
+0104 98467c00 isub temp ,null 
+0105 24628000 nrtn zero 
 
 p_g24_bind_third_step_skip:
-0105 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-0106 c0008109 beq datatype_device1 ,p_g24_bind_third_step_device1 
-0107 c0010111 beq datatype_device2 ,p_g24_bind_third_step_device2 
-0108 20600000 rtn 
+0106 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+0107 c000810a beq datatype_device1 ,p_g24_bind_third_step_device1 
+0108 c0010112 beq datatype_device2 ,p_g24_bind_third_step_device2 
+0109 20600000 rtn 
 
 p_g24_bind_third_step_device1:
-0109 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-010a 247a0000 nrtn blank 
-010b 6fe0c882 fetch 1 ,mem_24g_device1_bind_step 
-010c c001010e beq 2 ,p_g24_bind_dvc1_step_success 
-010d 20600000 rtn 
+010a 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+010b 247a0000 nrtn blank 
+010c 6fe0c882 fetch 1 ,mem_24g_device1_bind_step 
+010d c001010f beq 2 ,p_g24_bind_dvc1_step_success 
+010e 20600000 rtn 
 
 p_g24_bind_dvc1_step_success:
-010e 70494f04 jam 4 ,mem_g24_bind_step 
-010f 70494101 jam 1 ,mem_24g_mouse_bind_enable 
-0110 202023aa branch g24_bind_dvc1_step_success + 1 
+010f 70494f04 jam 4 ,mem_g24_bind_step 
+0110 70494101 jam 1 ,mem_24g_mouse_bind_enable 
+0111 202023aa branch g24_bind_dvc1_step_success + 1 
 
 p_g24_bind_third_step_device2:
-0111 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-0112 247a0000 nrtn blank 
-0113 6fe0c883 fetch 1 ,mem_24g_device2_bind_step 
-0114 c0800116 bne 0 ,p_g24_bind_dvc2_step_success 
-0115 20600000 rtn 
+0112 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+0113 247a0000 nrtn blank 
+0114 6fe0c883 fetch 1 ,mem_24g_device2_bind_step 
+0115 c0800117 bne 0 ,p_g24_bind_dvc2_step_success 
+0116 20600000 rtn 
 
 p_g24_bind_dvc2_step_success:
-0116 70494201 jam 1 ,mem_24g_keyboard_bind_enable 
-0117 202023b4 branch g24_bind_dvc2_step_success 
+0117 70494201 jam 1 ,mem_24g_keyboard_bind_enable 
+0118 202023b4 branch g24_bind_dvc2_step_success 
 
 p_g24_bind_mode_auto:
-0118 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
-0119 c1808000 rtnne dongle_bind 
-011a 2040234b call g24_bind_init 
-011b 20400127 call p_g24_bind_data_process 
-011c 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
-011d 247a0000 nrtn blank 
-011e 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
-011f 207a0000 rtn blank 
-0120 6fe0c950 fetch 1 ,mem_g24_bind_success 
-0121 207a0000 rtn blank 
-0122 70494f00 jam 0 ,mem_g24_bind_step 
-0123 7048c000 jam 0 ,mem_24g_mode_switch 
-0124 20402493 call g24_switch_work_mode 
-0125 20402436 call g24_enable_nodata_timer 
-0126 202022b2 branch g24_timer_init 
+0119 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+011a c1808000 rtnne dongle_bind 
+011b 2040234b call g24_bind_init 
+011c 20400128 call p_g24_bind_data_process 
+011d 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+011e 247a0000 nrtn blank 
+011f 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
+0120 207a0000 rtn blank 
+0121 6fe0c950 fetch 1 ,mem_g24_bind_success 
+0122 207a0000 rtn blank 
+0123 70494f00 jam 0 ,mem_g24_bind_step 
+0124 7048c000 jam 0 ,mem_24g_mode_switch 
+0125 20402493 call g24_switch_work_mode 
+0126 20402436 call g24_enable_nodata_timer 
+0127 202022b2 branch g24_timer_init 
 
 p_g24_bind_data_process:
-0127 204023fa call g24_rx_interrupt_clear 
-0128 20402187 call g24_receive_packet 
-0129 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
-012a 20402367 call g24_bind_data_parse 
+0128 204023fa call g24_rx_interrupt_clear 
+0129 20402187 call g24_receive_packet 
+012a 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
+012b 20402367 call g24_bind_data_parse 
 
 p_g24_bind_data_process_next:
-012b 2040242c call g24_transmit_ack 
-012c 2040012e call p_g24_bind_device_status_check 
-012d 2020235f branch g24_bind_data_process + 6 
+012c 2040242c call g24_transmit_ack 
+012d 2040012f call p_g24_bind_device_status_check 
+012e 2020235f branch g24_bind_data_process + 6 
 
 p_g24_bind_device_status_check:
-012e 6fe0c950 fetch 1 ,mem_g24_bind_success 
-012f 207a0000 rtn blank 
-0130 202023d6 branch g24_bind_device_status_check 
+012f 6fe0c950 fetch 1 ,mem_g24_bind_success 
+0130 207a0000 rtn blank 
+0131 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 1654)
+++ /YC1308AF/branch/mouse/YDN_Project/USB_64K/program/patch.prog	(working copy)
@@ -140,7 +140,7 @@
 	jam 0x1e,mem_24g_hop_interval
 
 	//disable mode switch
-	//jam 1,mem_24g_B_S_mode_switch_disable
+	jam 1,mem_24g_B_S_mode_switch_disable
 	
 	call initialize_radio_cont+1
 
