Index: output/eeprom.dat
===================================================================
--- /1306ac/branch/mouse/mouse_public/output/eeprom.dat	(revision 353)
+++ /1306ac/branch/mouse/mouse_public/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-66
+8e
 05
 c2
 84
@@ -11,43 +11,43 @@
 c0
 1e
 80
-c2
+c3
 c0
 23
 00
-c9
+d3
 c0
 26
 00
-d4
+de
 c0
 27
 00
-e3
+ed
 c0
 29
+01
 00
-f6
 c0
 2d
 00
-42
+43
 c0
 2f
 00
-2d
+2e
 c0
 2f
 80
-31
+32
 c0
 38
 00
-0f
+10
 c0
 71
 80
-bd
+be
 20
 20
 3a
@@ -55,7 +55,11 @@
 c0
 2c
 80
-74
+75
+c0
+30
+80
+ca
 c1
 7f
 80
@@ -75,7 +79,7 @@
 20
 40
 00
-19
+1a
 20
 40
 57
@@ -99,7 +103,7 @@
 20
 40
 00
-35
+36
 20
 20
 52
@@ -119,11 +123,11 @@
 20
 40
 01
-2f
+39
 20
 40
 01
-47
+51
 d8
 40
 00
@@ -155,7 +159,7 @@
 20
 22
 80
-2b
+2c
 20
 40
 5b
@@ -219,7 +223,7 @@
 58
 00
 00
-48
+49
 67
 e1
 45
@@ -227,7 +231,7 @@
 58
 00
 00
-3a
+3b
 67
 e1
 45
@@ -287,7 +291,7 @@
 24
 5a
 00
-40
+41
 20
 20
 5e
@@ -331,7 +335,7 @@
 24
 22
 80
-57
+58
 68
 49
 45
@@ -343,7 +347,7 @@
 20
 22
 80
-68
+69
 6f
 e2
 48
@@ -351,7 +355,7 @@
 20
 3a
 00
-68
+69
 68
 4a
 49
@@ -363,7 +367,7 @@
 20
 20
 80
-6f
+70
 6f
 e2
 48
@@ -387,7 +391,7 @@
 24
 21
 00
-6b
+6c
 6f
 e1
 c5
@@ -431,7 +435,7 @@
 20
 20
 00
-66
+67
 18
 46
 04
@@ -447,7 +451,7 @@
 20
 20
 00
-66
+67
 df
 ff
 ff
@@ -467,7 +471,7 @@
 20
 20
 00
-5c
+5d
 20
 40
 4c
@@ -475,11 +479,11 @@
 24
 34
 00
-78
+79
 20
 40
 00
-89
+8a
 20
 20
 4c
@@ -491,7 +495,7 @@
 20
 5a
 00
-7b
+7c
 20
 20
 4d
@@ -551,7 +555,7 @@
 20
 20
 00
-76
+77
 58
 00
 00
@@ -571,11 +575,11 @@
 24
 2c
 00
-94
+95
 24
 37
 80
-94
+95
 20
 40
 4c
@@ -583,7 +587,7 @@
 20
 40
 00
-92
+93
 20
 20
 4c
@@ -591,7 +595,7 @@
 20
 40
 00
-a3
+a4
 20
 20
 5d
@@ -655,7 +659,7 @@
 20
 20
 00
-8c
+8d
 6f
 e0
 c9
@@ -767,7 +771,7 @@
 c2
 80
 80
-c0
+c1
 20
 20
 3c
@@ -780,14 +784,14 @@
 20
 3c
 e9
-70
-80
-70
-80
 20
 40
 53
 39
+70
+80
+70
+80
 6f
 e0
 80
@@ -808,6 +812,42 @@
 20
 5a
 f0
+78
+34
+7c
+00
+20
+40
+3b
+1b
+6f
+e1
+c0
+be
+20
+3a
+74
+ca
+6f
+e0
+c0
+94
+20
+3a
+74
+ca
+6f
+e0
+c8
+99
+24
+7a
+00
+00
+20
+20
+4d
+1c
 1a
 62
 7e
@@ -859,7 +899,7 @@
 c0
 1e
 00
-d7
+e1
 20
 20
 59
@@ -967,7 +1007,7 @@
 20
 40
 00
-f2
+fc
 20
 20
 5a
@@ -999,7 +1039,7 @@
 20
 40
 01
-0d
+17
 df
 e0
 07
@@ -1011,7 +1051,7 @@
 20
 40
 01
-53
+5d
 6f
 e2
 49
@@ -1019,7 +1059,7 @@
 20
 3a
 01
-05
+0f
 67
 e2
 49
@@ -1046,8 +1086,8 @@
 00
 20
 20
-00
-fb
+01
+05
 6f
 e2
 49
@@ -1091,7 +1131,7 @@
 20
 40
 01
-3b
+45
 6f
 e0
 c9
@@ -1099,7 +1139,7 @@
 20
 3a
 01
-19
+23
 67
 e0
 c9
@@ -1127,7 +1167,7 @@
 20
 20
 01
-0f
+19
 6f
 e0
 c9
@@ -1139,7 +1179,7 @@
 20
 3a
 01
-22
+2c
 6f
 e0
 c6
@@ -1207,7 +1247,7 @@
 20
 22
 81
-1e
+28
 1a
 40
 a5
@@ -1215,7 +1255,7 @@
 20
 20
 01
-1e
+28
 df
 e0
 07
@@ -1227,7 +1267,7 @@
 20
 40
 01
-3b
+45
 6f
 e0
 c9
@@ -1235,7 +1275,7 @@
 20
 3a
 01
-3e
+48
 67
 e0
 c9
@@ -1255,7 +1295,7 @@
 24
 21
 01
-3e
+48
 1a
 42
 7e
@@ -1263,7 +1303,7 @@
 20
 20
 01
-31
+3b
 d8
 40
 00
@@ -1291,7 +1331,7 @@
 20
 3a
 01
-44
+4e
 1f
 f1
 fe
@@ -1299,7 +1339,7 @@
 20
 20
 01
-45
+4f
 1a
 62
 7e
@@ -1323,7 +1363,7 @@
 20
 40
 01
-53
+5d
 6f
 e2
 49
@@ -1331,7 +1371,7 @@
 20
 3a
 01
-56
+60
 67
 e2
 49
@@ -1351,7 +1391,7 @@
 24
 21
 01
-56
+60
 1a
 42
 7e
@@ -1359,7 +1399,7 @@
 20
 20
 01
-49
+53
 d8
 40
 00
@@ -1384,8 +1424,8 @@
 60
 00
 00
-54
-04
+ac
+6a
 aa
 55
 06
@@ -1428,11 +1468,12 @@
 08
 aa
 55
-01
+02
 00
 2b
 40
 02
+02
 aa
 55
 02
@@ -1592,10 +1633,11 @@
 94
 aa
 55
-21
+22
 00
-b3
+b2
 45
+20
 01
 06
 03
@@ -1890,7 +1932,7 @@
 aa
 aa
 55
-4d
+70
 95
-91
-7d
+4a
+d4
Index: output/program.lis
===================================================================
--- /1306ac/branch/mouse/mouse_public/output/program.lis	(revision 353)
+++ /1306ac/branch/mouse/mouse_public/output/program.lis	(working copy)
@@ -1,468 +1,480 @@
               include "bt_format "
               org 0x0000
 0000 c284000c bbit1 8 ,pf_patch_ext 
-0001 c01e80c2 beq patch07_5 ,p_mouse_setgpio_hibernate 
-0002 c02300c9 beq patch08_6 ,p_mouse_3io6key_check 
-0003 c02600d4 beq patch09_4 ,p_mouse_priority_bb_event 
-0004 c02700e3 beq patch09_6 ,p_mouse_bb_event_timer 
-0005 c02900f6 beq patch0a_2 ,p_mouse_store_device_info 
-0006 c02d0042 beq patch0b_2 ,p_mouse_24g_package_data 
-0007 c02f002d beq patch0b_6 ,p_mouse_ui_led_off_static 
-0008 c02f8031 beq patch0b_7 ,p_mouse_ui_led_on_static 
-0009 c038000f beq patch0e_0 ,p_app_init 
-000a c07180bd beq patch1c_3 ,p_le_enable_phy_by_pdata 
+0001 c01e80c3 beq patch07_5 ,p_mouse_setgpio_hibernate 
+0002 c02300d3 beq patch08_6 ,p_mouse_3io6key_check 
+0003 c02600de beq patch09_4 ,p_mouse_priority_bb_event 
+0004 c02700ed beq patch09_6 ,p_mouse_bb_event_timer 
+0005 c0290100 beq patch0a_2 ,p_mouse_store_device_info 
+0006 c02d0043 beq patch0b_2 ,p_mouse_24g_package_data 
+0007 c02f002e beq patch0b_6 ,p_mouse_ui_led_off_static 
+0008 c02f8032 beq patch0b_7 ,p_mouse_ui_led_on_static 
+0009 c0380010 beq patch0e_0 ,p_app_init 
+000a c07180be beq patch1c_3 ,p_le_enable_phy_by_pdata 
 000b 20203a8a branch assert 
 
 pf_patch_ext:
-000c c02c8074 beq patch2b_1 ,p_g24_transmit_no_interrupt 
-000d c17f8000 rtneq patch3f_7 
-000e 20203a8a branch assert 
+000c c02c8075 beq patch2b_1 ,p_g24_transmit_no_interrupt 
+000d c03080ca beq patch2c_1 ,p_g24_lpm_wait 
+000e c17f8000 rtneq patch3f_7 
+000f 20203a8a branch assert 
 
 p_app_init:
 
 p_mouse_init:
-000f 70808073 jam 0x73 ,core_spid_ctrl 
-0010 20406eb3 call enable_authrom 
-0011 20400019 call p_mouse_setting_config 
-0012 204057a0 call mouse_init_sunt 
-0013 20758000 rtn wake 
-0014 204059bd call mouse_le_name_load 
-0015 2040562e call mouse_dpi_config 
-0016 20405cc5 call mouse_drawing_optima_init 
-0017 20400035 call p_mouse_cb_fuction 
-0018 20205234 branch mouse_init + 8 
+0010 70808073 jam 0x73 ,core_spid_ctrl 
+0011 20406eb3 call enable_authrom 
+0012 2040001a call p_mouse_setting_config 
+0013 204057a0 call mouse_init_sunt 
+0014 20758000 rtn wake 
+0015 204059bd call mouse_le_name_load 
+0016 2040562e call mouse_dpi_config 
+0017 20405cc5 call mouse_drawing_optima_init 
+0018 20400036 call p_mouse_cb_fuction 
+0019 20205234 branch mouse_init + 8 
 
 p_mouse_setting_config:
-0019 20758000 rtn wake 
-001a 2040525e call mouse_setting_config 
-001b c40b8000 rtnbit0 mouse_enable_otp 
+001a 20758000 rtn wake 
+001b 2040525e call mouse_setting_config 
+001c c40b8000 rtnbit0 mouse_enable_otp 
 
 p_mouse_load_otp_info_check:
-001c 2040012f call p_mouse_read_otp_dpi 
-001d 20400147 call p_mouse_read_otp_24g_addr 
+001d 20400139 call p_mouse_read_otp_dpi 
+001e 20400151 call p_mouse_read_otp_24g_addr 
 
 p_mouse_otp_load_app_initflag:
-001e d8400002 arg 2 ,temp 
-001f dfe007ee arg otp_offset_app_initlag ,pdata 
-0020 da20463d arg mem_store_flag ,rega 
-0021 204068c5 call otpd_read_data_with_pwr_operation 
-0022 6fe1463d fetch 2 ,mem_store_flag 
-0023 d840aa55 arg eeprom_init_flag ,temp 
-0024 98467c00 isub temp ,null 
-0025 2022802b branch p_mouse_load_device_info ,zero 
-0026 20405b76 call mouse_app_initflag_check + 4 
+001f d8400002 arg 2 ,temp 
+0020 dfe007ee arg otp_offset_app_initlag ,pdata 
+0021 da20463d arg mem_store_flag ,rega 
+0022 204068c5 call otpd_read_data_with_pwr_operation 
+0023 6fe1463d fetch 2 ,mem_store_flag 
+0024 d840aa55 arg eeprom_init_flag ,temp 
+0025 98467c00 isub temp ,null 
+0026 2022802c branch p_mouse_load_device_info ,zero 
+0027 20405b76 call mouse_app_initflag_check + 4 
 
 p_mouse_otp_store_app_initflag:
-0027 df200002 arg 2 ,loopcnt 
-0028 da20463d arg mem_store_flag ,rega 
-0029 dfe007ee arg otp_offset_app_initlag ,pdata 
-002a 20206883 branch otp_write 
+0028 df200002 arg 2 ,loopcnt 
+0029 da20463d arg mem_store_flag ,rega 
+002a dfe007ee arg otp_offset_app_initlag ,pdata 
+002b 20206883 branch otp_write 
 
 p_mouse_load_device_info:
-002b 7045e500 jam mode_24g_device ,mem_device_flag 
-002c 20205b81 branch mouse_load_device_info + 1 
+002c 7045e500 jam mode_24g_device ,mem_device_flag 
+002d 20205b81 branch mouse_load_device_info + 1 
 
 p_mouse_ui_led_off_static:
-002d 18427e00 copy temp ,pdata 
-002e 207a0000 rtn blank 
-002f c17f8000 rtneq gpio_disable 
-0030 20205f23 branch mouse_ui_led_off_static + 1 
+002e 18427e00 copy temp ,pdata 
+002f 207a0000 rtn blank 
+0030 c17f8000 rtneq gpio_disable 
+0031 20205f23 branch mouse_ui_led_off_static + 1 
 
 p_mouse_ui_led_on_static:
-0031 18427e00 copy temp ,pdata 
-0032 207a0000 rtn blank 
-0033 c17f8000 rtneq gpio_disable 
-0034 20205f30 branch mouse_ui_led_on_static + 1 
+0032 18427e00 copy temp ,pdata 
+0033 207a0000 rtn blank 
+0034 c17f8000 rtneq gpio_disable 
+0035 20205f30 branch mouse_ui_led_on_static + 1 
 
 p_mouse_cb_fuction:
-0035 58000048 setarg p_mouse_24g_short_sleep 
-0036 67e14543 store 2 ,mem_cb_24g_transmit_short_sleep 
-0037 5800003a setarg p_mouse_24g_long_sleep 
-0038 67e14545 store 2 ,mem_cb_24g_transmit_long_sleep 
-0039 2020523d branch mouse_cb_fuction + 4 
+0036 58000049 setarg p_mouse_24g_short_sleep 
+0037 67e14543 store 2 ,mem_cb_24g_transmit_short_sleep 
+0038 5800003b setarg p_mouse_24g_long_sleep 
+0039 67e14545 store 2 ,mem_cb_24g_transmit_long_sleep 
+003a 2020523d branch mouse_cb_fuction + 4 
 
 p_mouse_24g_long_sleep:
-003a 20404d15 call g24_lpm_wait 
-003b 24740000 nrtn user 
-003c 6fe0c863 fetch 1 ,mem_24g_device_led_status 
-003d 247a0000 nrtn blank 
-003e 70490501 jam 1 ,mem_mouse_24g_long_sleep_flag 
-003f 20205fa6 branch mouse_24g_long_sleep + 4 
+003b 20404d15 call g24_lpm_wait 
+003c 24740000 nrtn user 
+003d 6fe0c863 fetch 1 ,mem_24g_device_led_status 
+003e 247a0000 nrtn blank 
+003f 70490501 jam 1 ,mem_mouse_24g_long_sleep_flag 
+0040 20205fa6 branch mouse_24g_long_sleep + 4 
 
 p_mouse_24g_short_sleep_clear_wake:
-0040 204074e0 call clear_wake 
-0041 20203c18 branch lpm_write_gpio_wakeup 
+0041 204074e0 call clear_wake 
+0042 20203c18 branch lpm_write_gpio_wakeup 
 
 p_mouse_24g_package_data:
-0042 2040549b call mouse_motion 
-0043 24740000 nrtn user 
-0044 6fe0c905 fetch 1 ,mem_mouse_24g_long_sleep_flag 
-0045 70490500 jam 0 ,mem_mouse_24g_long_sleep_flag 
-0046 245a0040 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-0047 20205e35 branch mouse_24g_package_data + 4 
+0043 2040549b call mouse_motion 
+0044 24740000 nrtn user 
+0045 6fe0c905 fetch 1 ,mem_mouse_24g_long_sleep_flag 
+0046 70490500 jam 0 ,mem_mouse_24g_long_sleep_flag 
+0047 245a0041 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+0048 20205e35 branch mouse_24g_package_data + 4 
 
 p_mouse_24g_short_sleep:
-0048 6fe0c904 fetch 1 ,mem_mouse_sleep_deal_type 
-0049 203a4c75 branch g24_short_sleep ,blank 
-004a 20404d15 call g24_lpm_wait 
-004b 24740000 nrtn user 
-004c 6fe0c863 fetch 1 ,mem_24g_device_led_status 
-004d 247a0000 nrtn blank 
-004e 6fe0c8fb fetch 1 ,mem_mouse_24g_sleep_miss 
-004f 7048fb00 jam 0 ,mem_mouse_24g_sleep_miss 
-0050 1fe67c00 sub pdata ,0 ,null 
-0051 24228057 nbranch p_mouse_24g_short_sleep_last_miss ,zero 
-0052 6849456d fetcht 2 ,mem_24g_retransmit 
-0053 18467c00 sub temp ,0 ,null 
-0054 20228068 branch p_mouse_24g_short_sleep_default ,zero 
-0055 6fe248f0 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
-0056 203a0068 branch p_mouse_24g_short_sleep_default ,blank 
+0049 6fe0c904 fetch 1 ,mem_mouse_sleep_deal_type 
+004a 203a4c75 branch g24_short_sleep ,blank 
+004b 20404d15 call g24_lpm_wait 
+004c 24740000 nrtn user 
+004d 6fe0c863 fetch 1 ,mem_24g_device_led_status 
+004e 247a0000 nrtn blank 
+004f 6fe0c8fb fetch 1 ,mem_mouse_24g_sleep_miss 
+0050 7048fb00 jam 0 ,mem_mouse_24g_sleep_miss 
+0051 1fe67c00 sub pdata ,0 ,null 
+0052 24228058 nbranch p_mouse_24g_short_sleep_last_miss ,zero 
+0053 6849456d fetcht 2 ,mem_24g_retransmit 
+0054 18467c00 sub temp ,0 ,null 
+0055 20228069 branch p_mouse_24g_short_sleep_default ,zero 
+0056 6fe248f0 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
+0057 203a0069 branch p_mouse_24g_short_sleep_default ,blank 
 
 p_mouse_24g_short_sleep_last_miss:
-0057 684a4900 fetcht 4 ,mem_mouse_24g_sleep_miss_temp 
-0058 284ffe1f isolate1 31 ,temp 
-0059 2020806f branch p_mouse_24g_sub_miss_temp ,true 
-005a 6fe248f0 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
-005b 9840fe00 iadd temp ,pdata 
+0058 684a4900 fetcht 4 ,mem_mouse_24g_sleep_miss_temp 
+0059 284ffe1f isolate1 31 ,temp 
+005a 20208070 branch p_mouse_24g_sub_miss_temp ,true 
+005b 6fe248f0 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
+005c 9840fe00 iadd temp ,pdata 
 
 p_mouse_24g_short_sleep_notify:
-005c 684a48da fetcht 4 ,mem_mouse_24g_tsniff 
-005d 98460400 isub temp ,temp 
-005e 604a4900 storet 4 ,mem_mouse_24g_sleep_miss_temp 
-005f 2421006b nbranch p_mouse_24g_short_sleep_long ,positive 
-0060 6fe1c553 fetch 3 ,mem_24g_short_sleep_set 
-0061 98467e00 isub temp ,pdata 
-0062 24215fda nbranch mouse_24g_short_sleep_2 ,positive 
-0063 d8400600 arg 0x600 ,temp 
-0064 98467c00 isub temp ,null 
-0065 24215fda nbranch mouse_24g_short_sleep_2 ,positive 
+005d 684a48da fetcht 4 ,mem_mouse_24g_tsniff 
+005e 98460400 isub temp ,temp 
+005f 604a4900 storet 4 ,mem_mouse_24g_sleep_miss_temp 
+0060 2421006c nbranch p_mouse_24g_short_sleep_long ,positive 
+0061 6fe1c553 fetch 3 ,mem_24g_short_sleep_set 
+0062 98467e00 isub temp ,pdata 
+0063 24215fda nbranch mouse_24g_short_sleep_2 ,positive 
+0064 d8400600 arg 0x600 ,temp 
+0065 98467c00 isub temp ,null 
+0066 24215fda nbranch mouse_24g_short_sleep_2 ,positive 
 
 p_mouse_24g_short_sleep2:
-0066 7048fafa jam 250 ,mem_mouse_24g_tx_time_offset 
-0067 20205fc9 branch mouse_24g_short_sleep3 
+0067 7048fafa jam 250 ,mem_mouse_24g_tx_time_offset 
+0068 20205fc9 branch mouse_24g_short_sleep3 
 
 p_mouse_24g_short_sleep_default:
-0068 20405fd3 call mouse_24g_miss_temp_clear 
-0069 6fe1c553 fetch 3 ,mem_24g_short_sleep_set 
-006a 20200066 branch p_mouse_24g_short_sleep2 
+0069 20405fd3 call mouse_24g_miss_temp_clear 
+006a 6fe1c553 fetch 3 ,mem_24g_short_sleep_set 
+006b 20200067 branch p_mouse_24g_short_sleep2 
 
 p_mouse_24g_short_sleep_long:
-006b 18460400 sub temp ,0 ,temp 
-006c 6fe1c553 fetch 3 ,mem_24g_short_sleep_set 
-006d 9840fe00 iadd temp ,pdata 
-006e 20200066 branch p_mouse_24g_short_sleep2 
+006c 18460400 sub temp ,0 ,temp 
+006d 6fe1c553 fetch 3 ,mem_24g_short_sleep_set 
+006e 9840fe00 iadd temp ,pdata 
+006f 20200067 branch p_mouse_24g_short_sleep2 
 
 p_mouse_24g_sub_miss_temp:
-006f dfffffff arg -1 ,pdata 
-0070 98465e00 isub temp ,regext 
-0071 6fe248f0 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
-0072 9de67e00 isub regext ,pdata 
-0073 2020005c branch p_mouse_24g_short_sleep_notify 
+0070 dfffffff arg -1 ,pdata 
+0071 98465e00 isub temp ,regext 
+0072 6fe248f0 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
+0073 9de67e00 isub regext ,pdata 
+0074 2020005d branch p_mouse_24g_short_sleep_notify 
 
 p_g24_transmit_no_interrupt:
-0074 20404c84 call g24_txdata_prep 
-0075 24340078 nbranch p_g24_nodata_transmit ,user 
+0075 20404c84 call g24_txdata_prep 
+0076 24340079 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-0076 20400089 call p_g24_transmit_process 
-0077 20204c6c branch g24_transmit_start + 1 
+0077 2040008a call p_g24_transmit_process 
+0078 20204c6c branch g24_transmit_start + 1 
 
 p_g24_nodata_transmit:
-0078 6fe0c54d fetch 1 ,mem_24g_abort_pac 
-0079 205a007b call p_g24_send_abort_packet ,blank 
-007a 20204d02 branch g24_nodata_transmit + 2 
+0079 6fe0c54d fetch 1 ,mem_24g_abort_pac 
+007a 205a007c call p_g24_send_abort_packet ,blank 
+007b 20204d02 branch g24_nodata_transmit + 2 
 
 p_g24_send_abort_packet:
-007b 7044d401 jam type_ms ,mem_24g_data_type 
-007c 70454d01 jam 1 ,mem_24g_abort_pac 
-007d 20404c95 call g24_transmit_rf_ctrl_clear 
-007e 67e0c464 store 1 ,mem_24g_txbuf 
-007f 58000000 setarg 0 
-0080 67e3c465 store 7 ,mem_24g_txbuf + 1 
-0081 6fe2454f fetch 4 ,mem_24g_device_addr 
-0082 67e2446c store 4 ,mem_24g_txbuf + 8 
-0083 7044d30c jam 12 ,mem_24g_datalen 
-0084 6fe0c4d4 fetch 1 ,mem_24g_data_type 
-0085 79207e03 set1 bit_abort ,pdata 
-0086 67e0c4d4 store 1 ,mem_24g_data_type 
-0087 2040485e call g24_transmit_prep 
-0088 20200076 branch p_g24_transmit_start 
+007c 7044d401 jam type_ms ,mem_24g_data_type 
+007d 70454d01 jam 1 ,mem_24g_abort_pac 
+007e 20404c95 call g24_transmit_rf_ctrl_clear 
+007f 67e0c464 store 1 ,mem_24g_txbuf 
+0080 58000000 setarg 0 
+0081 67e3c465 store 7 ,mem_24g_txbuf + 1 
+0082 6fe2454f fetch 4 ,mem_24g_device_addr 
+0083 67e2446c store 4 ,mem_24g_txbuf + 8 
+0084 7044d30c jam 12 ,mem_24g_datalen 
+0085 6fe0c4d4 fetch 1 ,mem_24g_data_type 
+0086 79207e03 set1 bit_abort ,pdata 
+0087 67e0c4d4 store 1 ,mem_24g_data_type 
+0088 2040485e call g24_transmit_prep 
+0089 20200077 branch p_g24_transmit_start 
 
 p_g24_transmit_process:
-0089 58000000 setarg 0 
-008a 67e0c54c store 1 ,mem_24g_retry 
-008b 67e1456d store 2 ,mem_24g_retransmit 
+008a 58000000 setarg 0 
+008b 67e0c54c store 1 ,mem_24g_retry 
+008c 67e1456d store 2 ,mem_24g_retransmit 
 
 p_g24_transmit_loop:
-008c 20404cb0 call g24_transmit_receive_ack 
-008d 242c0094 nbranch p_g24_retransmit ,sync 
-008e 24378094 nbranch p_g24_retransmit ,user3 
-008f 20404ccf call g24_ackpayload_parse 
-0090 20400092 call p_mouse_24g_transmit_callback 
-0091 20204ca5 branch g24_transmit_no_ack 
+008d 20404cb0 call g24_transmit_receive_ack 
+008e 242c0095 nbranch p_g24_retransmit ,sync 
+008f 24378095 nbranch p_g24_retransmit ,user3 
+0090 20404ccf call g24_ackpayload_parse 
+0091 20400093 call p_mouse_24g_transmit_callback 
+0092 20204ca5 branch g24_transmit_no_ack 
 
 p_mouse_24g_transmit_callback:
-0092 204000a3 call p_mouse_24g_send_time_check 
-0093 20205d8b branch mouse_wakeup_24g 
+0093 204000a4 call p_mouse_24g_send_time_check 
+0094 20205d8b branch mouse_wakeup_24g 
 
 p_g24_retransmit:
-0094 6fe0c77f fetch 1 ,mem_mouse_need_soft_reset 
-0095 247a0000 nrtn blank 
-0096 20405bf7 call mouse_select_device_by_pb_button 
+0095 6fe0c77f fetch 1 ,mem_mouse_need_soft_reset 
+0096 247a0000 nrtn blank 
+0097 20405bf7 call mouse_select_device_by_pb_button 
 
 p_g24_retransmit0:
-0097 6fe0c54d fetch 1 ,mem_24g_abort_pac 
-0098 247a0000 nrtn blank 
-0099 6fe14549 fetch 2 ,mem_24g_txfail_cnt 
-009a 1fe0fe01 increase 1 ,pdata 
-009b 67e14549 store 2 ,mem_24g_txfail_cnt 
-009c 6fe0c54a fetch 1 ,mem_24g_txfail_cnt + 1 
-009d c2824cd7 bbit1 4 ,g24_tx_attempt_fail 
-009e 20404cdd call g24_transmit_hop_process 
-009f 6fe1456d fetch 2 ,mem_24g_retransmit 
-00a0 1fe0fe01 increase 1 ,pdata 
-00a1 67e1456d store 2 ,mem_24g_retransmit 
-00a2 2020008c branch p_g24_transmit_loop 
+0098 6fe0c54d fetch 1 ,mem_24g_abort_pac 
+0099 247a0000 nrtn blank 
+009a 6fe14549 fetch 2 ,mem_24g_txfail_cnt 
+009b 1fe0fe01 increase 1 ,pdata 
+009c 67e14549 store 2 ,mem_24g_txfail_cnt 
+009d 6fe0c54a fetch 1 ,mem_24g_txfail_cnt + 1 
+009e c2824cd7 bbit1 4 ,g24_tx_attempt_fail 
+009f 20404cdd call g24_transmit_hop_process 
+00a0 6fe1456d fetch 2 ,mem_24g_retransmit 
+00a1 1fe0fe01 increase 1 ,pdata 
+00a2 67e1456d store 2 ,mem_24g_retransmit 
+00a3 2020008d branch p_g24_transmit_loop 
 
 p_mouse_24g_send_time_check:
-00a3 6fe0c904 fetch 1 ,mem_mouse_sleep_deal_type 
-00a4 207a0000 rtn blank 
-00a5 6fe0c563 fetch 1 ,mem_24g_transmit_by_interrupt 
-00a6 c000e020 beq g24_tx_timer_int_enable ,mouse_24g_send_timer_first 
-00a7 6fe0c8e9 fetch 1 ,mem_mouse_24g_tx_count 
-00a8 203a6020 branch mouse_24g_send_timer_first ,blank 
-00a9 1b227e00 copy clkn ,pdata 
-00aa 684b48ea fetcht 6 ,mem_mouse_24g_tx_time_last 
-00ab 67e348ea store 6 ,mem_mouse_24g_tx_time_last 
-00ac 2040744f call clk_diff_rt 
-00ad 67e248f0 store 4 ,mem_mouse_24g_tx_time_last_delt 
-00ae 6fe0c8fb fetch 1 ,mem_mouse_24g_sleep_miss 
-00af 247a0000 nrtn blank 
-00b0 6fe1456d fetch 2 ,mem_24g_retransmit 
-00b1 247a0000 nrtn blank 
-00b2 6fe24900 fetch 4 ,mem_mouse_24g_sleep_miss_temp 
-00b3 247a0000 nrtn blank 
-00b4 6fe248f0 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
-00b5 684a48da fetcht 4 ,mem_mouse_24g_tsniff 
-00b6 18438400 lshift temp ,temp 
-00b7 98467c00 isub temp ,null 
-00b8 20216024 branch mouse_24g_send_time_long_wake ,positive 
-00b9 7048fad2 jam 210 ,mem_mouse_24g_tx_time_offset 
-00ba 20405fee call mouse_24g_send_time_check_1 
-00bb 7048fafa jam 250 ,mem_mouse_24g_tx_time_offset 
-00bc 20600000 rtn 
+00a4 6fe0c904 fetch 1 ,mem_mouse_sleep_deal_type 
+00a5 207a0000 rtn blank 
+00a6 6fe0c563 fetch 1 ,mem_24g_transmit_by_interrupt 
+00a7 c000e020 beq g24_tx_timer_int_enable ,mouse_24g_send_timer_first 
+00a8 6fe0c8e9 fetch 1 ,mem_mouse_24g_tx_count 
+00a9 203a6020 branch mouse_24g_send_timer_first ,blank 
+00aa 1b227e00 copy clkn ,pdata 
+00ab 684b48ea fetcht 6 ,mem_mouse_24g_tx_time_last 
+00ac 67e348ea store 6 ,mem_mouse_24g_tx_time_last 
+00ad 2040744f call clk_diff_rt 
+00ae 67e248f0 store 4 ,mem_mouse_24g_tx_time_last_delt 
+00af 6fe0c8fb fetch 1 ,mem_mouse_24g_sleep_miss 
+00b0 247a0000 nrtn blank 
+00b1 6fe1456d fetch 2 ,mem_24g_retransmit 
+00b2 247a0000 nrtn blank 
+00b3 6fe24900 fetch 4 ,mem_mouse_24g_sleep_miss_temp 
+00b4 247a0000 nrtn blank 
+00b5 6fe248f0 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
+00b6 684a48da fetcht 4 ,mem_mouse_24g_tsniff 
+00b7 18438400 lshift temp ,temp 
+00b8 98467c00 isub temp ,null 
+00b9 20216024 branch mouse_24g_send_time_long_wake ,positive 
+00ba 7048fad2 jam 210 ,mem_mouse_24g_tx_time_offset 
+00bb 20405fee call mouse_24g_send_time_check_1 
+00bc 7048fafa jam 250 ,mem_mouse_24g_tx_time_offset 
+00bd 20600000 rtn 
 
 p_le_enable_phy_by_pdata:
-00bd 18427e00 copy temp ,pdata 
-00be c28080c0 bbit1 bit_le_2m_phy ,p_le_enable_2m 
-00bf 20203ce3 branch le_enable_phy_by_pdata + 3 
+00be 18427e00 copy temp ,pdata 
+00bf c28080c1 bbit1 bit_le_2m_phy ,p_le_enable_2m 
+00c0 20203ce3 branch le_enable_phy_by_pdata + 3 
 
 p_le_enable_2m:
-00c0 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-00c1 20203ce9 branch le_enable_2m 
+00c1 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+00c2 20203ce9 branch le_enable_2m 
 
 p_mouse_setgpio_hibernate:
-00c2 70807080 jam 0x80 ,0x8070 
 00c3 20405339 call mouse_setgpio_hibernate + 1 
-00c4 6fe08017 fetch 1 ,mem_gpio_wakeup_low + 1 
-00c5 79207e05 set1 5 ,pdata 
-00c6 67e08017 store 1 ,mem_gpio_wakeup_low + 1 
-00c7 20403c18 call lpm_write_gpio_wakeup 
-00c8 20205af0 branch mouse_1io2led_all_off 
+00c4 70807080 jam 0x80 ,0x8070 
+00c5 6fe08017 fetch 1 ,mem_gpio_wakeup_low + 1 
+00c6 79207e05 set1 5 ,pdata 
+00c7 67e08017 store 1 ,mem_gpio_wakeup_low + 1 
+00c8 20403c18 call lpm_write_gpio_wakeup 
+00c9 20205af0 branch mouse_1io2led_all_off 
+
+p_g24_lpm_wait:
+00ca 78347c00 enable user 
+00cb 20403b1b call lpo_calibration 
+00cc 6fe1c0be fetch 3 ,mem_clks_per_lpo 
+00cd 203a74ca branch disable_user ,blank 
+00ce 6fe0c094 fetch 1 ,mem_lpm_mode 
+00cf 203a74ca branch disable_user ,blank 
+00d0 6fe0c899 fetch 1 ,mem_sensor_shutdown_flag 
+00d1 247a0000 nrtn blank 
+00d2 20204d1c branch g24_lpm_wait_next 
 
 p_mouse_3io6key_check:
-00c9 1a627e00 copy regc ,pdata 
-00ca 67e0c850 store 1 ,mem_mouse_key_status 
-00cb 1fe3fe00 lshift pdata ,pdata 
-00cc 1fe22400 copy pdata ,regb 
-00cd 18422600 copy temp ,regc 
-00ce 2040547b call mouse_gpio_config_input_pd 
-00cf 1a620400 copy regc ,temp 
-00d0 20406b85 call gpio_get_bit 
-00d1 7d20a400 nsetflag true ,0 ,regb 
-00d2 20405753 call mouse_check_press 
-00d3 2020573f branch mouse_check_key_connect_gnd_1 
+00d3 1a627e00 copy regc ,pdata 
+00d4 67e0c850 store 1 ,mem_mouse_key_status 
+00d5 1fe3fe00 lshift pdata ,pdata 
+00d6 1fe22400 copy pdata ,regb 
+00d7 18422600 copy temp ,regc 
+00d8 2040547b call mouse_gpio_config_input_pd 
+00d9 1a620400 copy regc ,temp 
+00da 20406b85 call gpio_get_bit 
+00db 7d20a400 nsetflag true ,0 ,regb 
+00dc 20405753 call mouse_check_press 
+00dd 2020573f branch mouse_check_key_connect_gnd_1 
 
 p_mouse_priority_bb_event:
-00d4 1a627e00 copy regc ,pdata 
-00d5 c01e00d7 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00d6 20205914 branch mouse_priority_bb_event + 2 
+00de 1a627e00 copy regc ,pdata 
+00df c01e00e1 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00e0 20205914 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_success:
-00d7 6fe244da fetch 4 ,mem_24g_addr 
-00d8 67e24533 store 4 ,mem_24g_receiver_addr 
-00d9 67e24640 store 4 ,mem_mouse_24g_addr 
-00da 20404bce call g24_ch_syncword_crc8_init 
-00db 20405e1b call mouse_device_poweron_led_config 
-00dc 20405aa9 call mouse_no_data_timer_init 
-00dd 204058c4 call mouse_init_sensor_reset 
-00de 70476800 jam 0 ,mem_mouse_long_mult_flag 
-00df 70454700 jam 0 ,mem_24g_conn_sm 
-00e0 70452d00 jam 0 ,mem_24g_reconn_type 
-00e1 684a4533 fetcht 4 ,mem_24g_receiver_addr 
-00e2 20205e17 branch mouse_24g_attempt_success + 11 
+00e1 6fe244da fetch 4 ,mem_24g_addr 
+00e2 67e24533 store 4 ,mem_24g_receiver_addr 
+00e3 67e24640 store 4 ,mem_mouse_24g_addr 
+00e4 20404bce call g24_ch_syncword_crc8_init 
+00e5 20405e1b call mouse_device_poweron_led_config 
+00e6 20405aa9 call mouse_no_data_timer_init 
+00e7 204058c4 call mouse_init_sensor_reset 
+00e8 70476800 jam 0 ,mem_mouse_long_mult_flag 
+00e9 70454700 jam 0 ,mem_24g_conn_sm 
+00ea 70452d00 jam 0 ,mem_24g_reconn_type 
+00eb 684a4533 fetcht 4 ,mem_24g_receiver_addr 
+00ec 20205e17 branch mouse_24g_attempt_success + 11 
 
 p_mouse_bb_event_timer:
-00e3 204053c6 call mouse_adc_read 
-00e4 20405f47 call mouse_low_voltage_led_timer 
-00e5 20404907 call g24_pair_timeout_timer 
-00e6 20404ba5 call g24_reconn_timeout_timer 
-00e7 20405d6b call mouse_24g_long_sleep_param_update_timer 
-00e8 20405e9a call mouse_device_poweron_timer 
-00e9 20405ecb call mouse_dpi_led_blink_delay_timer 
-00ea 20405ac1 call mouse_led_multi_timer 
-00eb 20405af3 call mouse_logo_led_on_timer 
-00ec 2040561c call mouse_dpi_key_check_long_press 
-00ed 20405a36 call mouse_bt_discovery_check 
-00ee 20405a46 call mouse_commbination_key_process 
-00ef 20405a69 call mouse_check_discovery_timeout_timer 
-00f0 204000f2 call p_mouse_check_direct_timeout_timer 
-00f1 20205a2d branch mouse_bb_event_timer + 15 
+00ed 204053c6 call mouse_adc_read 
+00ee 20405f47 call mouse_low_voltage_led_timer 
+00ef 20404907 call g24_pair_timeout_timer 
+00f0 20404ba5 call g24_reconn_timeout_timer 
+00f1 20405d6b call mouse_24g_long_sleep_param_update_timer 
+00f2 20405e9a call mouse_device_poweron_timer 
+00f3 20405ecb call mouse_dpi_led_blink_delay_timer 
+00f4 20405ac1 call mouse_led_multi_timer 
+00f5 20405af3 call mouse_logo_led_on_timer 
+00f6 2040561c call mouse_dpi_key_check_long_press 
+00f7 20405a36 call mouse_bt_discovery_check 
+00f8 20405a46 call mouse_commbination_key_process 
+00f9 20405a69 call mouse_check_discovery_timeout_timer 
+00fa 204000fc call p_mouse_check_direct_timeout_timer 
+00fb 20205a2d branch mouse_bb_event_timer + 15 
 
 p_mouse_check_direct_timeout_timer:
-00f2 da604831 arg mem_mouse_direct_timer ,regc 
-00f3 da405a74 arg mouse_check_direct_timeout ,regb 
-00f4 20404dcc call timer_single_step 
-00f5 20205a71 branch mouse_check_direct_timeout_timer + 3 
+00fc da604831 arg mem_mouse_direct_timer ,regc 
+00fd da405a74 arg mouse_check_direct_timeout ,regb 
+00fe 20404dcc call timer_single_step 
+00ff 20205a71 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_store_device_info:
-00f6 20405b90 call mouse_store_device_info + 1 
-00f7 c40b8000 rtnbit0 mouse_enable_otp 
+0100 20405b90 call mouse_store_device_info + 1 
+0101 c40b8000 rtnbit0 mouse_enable_otp 
 
 p_mouse_store_otp_device_info:
-00f8 2040010d call p_mouse_otp_store_dpi 
+0102 20400117 call p_mouse_otp_store_dpi 
 
 p_mouse_otp_store_24g_addr:
-00f9 dfe00790 arg otp_offset_24g_addr ,pdata 
-00fa 1fe22400 copy pdata ,regb 
+0103 dfe00790 arg otp_offset_24g_addr ,pdata 
+0104 1fe22400 copy pdata ,regb 
 
 p_mouse_otp_store_24g_addr_loop:
-00fb 20400153 call p_mouse_read_otp_24g_addr_common 
-00fc 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
-00fd 203a0105 branch p_mouse_24g_addr_store ,blank 
-00fe 67e24909 store 4 ,mem_mouse_24g_addr_last 
-00ff 1a40a404 increase 4 ,regb 
-0100 dfe007cf arg otp_offset_24g_addr_end ,pdata 
-0101 9a467c00 isub regb ,null 
-0102 24610000 nrtn positive 
-0103 1a427e00 copy regb ,pdata 
-0104 202000fb branch p_mouse_otp_store_24g_addr_loop 
+0105 2040015d call p_mouse_read_otp_24g_addr_common 
+0106 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
+0107 203a010f branch p_mouse_24g_addr_store ,blank 
+0108 67e24909 store 4 ,mem_mouse_24g_addr_last 
+0109 1a40a404 increase 4 ,regb 
+010a dfe007cf arg otp_offset_24g_addr_end ,pdata 
+010b 9a467c00 isub regb ,null 
+010c 24610000 nrtn positive 
+010d 1a427e00 copy regb ,pdata 
+010e 20200105 branch p_mouse_otp_store_24g_addr_loop 
 
 p_mouse_24g_addr_store:
-0105 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
-0106 684a4640 fetcht 4 ,mem_mouse_24g_addr 
-0107 98467c00 isub temp ,null 
-0108 20628000 rtn zero 
-0109 df200004 arg 4 ,loopcnt 
-010a da204640 arg mem_mouse_24g_addr ,rega 
-010b 1a427e00 copy regb ,pdata 
-010c 20206883 branch otp_write 
+010f 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
+0110 684a4640 fetcht 4 ,mem_mouse_24g_addr 
+0111 98467c00 isub temp ,null 
+0112 20628000 rtn zero 
+0113 df200004 arg 4 ,loopcnt 
+0114 da204640 arg mem_mouse_24g_addr ,rega 
+0115 1a427e00 copy regb ,pdata 
+0116 20206883 branch otp_write 
 
 p_mouse_otp_store_dpi:
-010d dfe00760 arg otp_offset_dpi ,pdata 
-010e 1fe22400 copy pdata ,regb 
+0117 dfe00760 arg otp_offset_dpi ,pdata 
+0118 1fe22400 copy pdata ,regb 
 
 p_mouse_otp_store_dpi_loop:
-010f 2040013b call p_mouse_read_otp_dpi_common 
-0110 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
-0111 203a0119 branch p_mouse_dpi_store ,blank 
-0112 67e0c906 store 1 ,mem_mouse_dpi_last 
-0113 1a40a401 increase 1 ,regb 
-0114 dfe0078f arg otp_offset_dpi_end ,pdata 
-0115 9a467c00 isub regb ,null 
-0116 24610000 nrtn positive 
-0117 1a427e00 copy regb ,pdata 
-0118 2020010f branch p_mouse_otp_store_dpi_loop 
+0119 20400145 call p_mouse_read_otp_dpi_common 
+011a 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
+011b 203a0123 branch p_mouse_dpi_store ,blank 
+011c 67e0c906 store 1 ,mem_mouse_dpi_last 
+011d 1a40a401 increase 1 ,regb 
+011e dfe0078f arg otp_offset_dpi_end ,pdata 
+011f 9a467c00 isub regb ,null 
+0120 24610000 nrtn positive 
+0121 1a427e00 copy regb ,pdata 
+0122 20200119 branch p_mouse_otp_store_dpi_loop 
 
 p_mouse_dpi_store:
-0119 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
-011a 1fe17ef0 and pdata ,0xf0 ,pdata 
-011b 203a0122 branch p_mouse_dpi_store_next ,blank 
-011c 6fe0c63f fetch 1 ,mem_mouse_dpi 
-011d 67e0c908 store 1 ,mem_mouse_otp_dpi_value 
+0123 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
+0124 1fe17ef0 and pdata ,0xf0 ,pdata 
+0125 203a012c branch p_mouse_dpi_store_next ,blank 
+0126 6fe0c63f fetch 1 ,mem_mouse_dpi 
+0127 67e0c908 store 1 ,mem_mouse_otp_dpi_value 
 
 p_mouse_dpi_store_end:
-011e df200001 arg 1 ,loopcnt 
-011f 1a427e00 copy regb ,pdata 
-0120 da204908 arg mem_mouse_otp_dpi_value ,rega 
-0121 20206883 branch otp_write 
+0128 df200001 arg 1 ,loopcnt 
+0129 1a427e00 copy regb ,pdata 
+012a da204908 arg mem_mouse_otp_dpi_value ,rega 
+012b 20206883 branch otp_write 
 
 p_mouse_dpi_store_next:
-0122 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
-0123 6848c63f fetcht 1 ,mem_mouse_dpi 
-0124 98467c00 isub temp ,null 
-0125 20628000 rtn zero 
-0126 18520400 lshift4 temp ,temp 
-0127 9840fe00 iadd temp ,pdata 
-0128 67e0c908 store 1 ,mem_mouse_otp_dpi_value 
-0129 1a427e00 copy regb ,pdata 
-012a d8400760 arg otp_offset_dpi ,temp 
-012b 98467c00 isub temp ,null 
-012c 2022811e branch p_mouse_dpi_store_end ,zero 
-012d 1a40a5ff increase -1 ,regb 
-012e 2020011e branch p_mouse_dpi_store_end 
+012c 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
+012d 6848c63f fetcht 1 ,mem_mouse_dpi 
+012e 98467c00 isub temp ,null 
+012f 20628000 rtn zero 
+0130 18520400 lshift4 temp ,temp 
+0131 9840fe00 iadd temp ,pdata 
+0132 67e0c908 store 1 ,mem_mouse_otp_dpi_value 
+0133 1a427e00 copy regb ,pdata 
+0134 d8400760 arg otp_offset_dpi ,temp 
+0135 98467c00 isub temp ,null 
+0136 20228128 branch p_mouse_dpi_store_end ,zero 
+0137 1a40a5ff increase -1 ,regb 
+0138 20200128 branch p_mouse_dpi_store_end 
 
 p_mouse_read_otp_dpi:
-012f dfe00760 arg otp_offset_dpi ,pdata 
-0130 1fe22400 copy pdata ,regb 
+0139 dfe00760 arg otp_offset_dpi ,pdata 
+013a 1fe22400 copy pdata ,regb 
 
 p_mouse_read_otp_dpi_loop:
-0131 2040013b call p_mouse_read_otp_dpi_common 
-0132 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
-0133 203a013e branch p_mouse_dpi_load ,blank 
-0134 67e0c906 store 1 ,mem_mouse_dpi_last 
-0135 1a40a401 increase 1 ,regb 
-0136 dfe0078f arg otp_offset_dpi_end ,pdata 
-0137 9a467c00 isub regb ,null 
-0138 2421013e nbranch p_mouse_dpi_load ,positive 
-0139 1a427e00 copy regb ,pdata 
-013a 20200131 branch p_mouse_read_otp_dpi_loop 
+013b 20400145 call p_mouse_read_otp_dpi_common 
+013c 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
+013d 203a0148 branch p_mouse_dpi_load ,blank 
+013e 67e0c906 store 1 ,mem_mouse_dpi_last 
+013f 1a40a401 increase 1 ,regb 
+0140 dfe0078f arg otp_offset_dpi_end ,pdata 
+0141 9a467c00 isub regb ,null 
+0142 24210148 nbranch p_mouse_dpi_load ,positive 
+0143 1a427e00 copy regb ,pdata 
+0144 2020013b branch p_mouse_read_otp_dpi_loop 
 
 p_mouse_read_otp_dpi_common:
-013b d8400001 arg 1 ,temp 
-013c da204907 arg mem_mouse_dpi_temp ,rega 
-013d 202068c5 branch otpd_read_data_with_pwr_operation 
+0145 d8400001 arg 1 ,temp 
+0146 da204907 arg mem_mouse_dpi_temp ,rega 
+0147 202068c5 branch otpd_read_data_with_pwr_operation 
 
 p_mouse_dpi_load:
-013e 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
-013f 1fe22600 copy pdata ,regc 
-0140 1fe17ef0 and pdata ,0xf0 ,pdata 
-0141 203a0144 branch p_mouse_dpi_load_next ,blank 
-0142 1ff1fe00 rshift4 pdata ,pdata 
-0143 20200145 branch p_mouse_dpi_load_end 
+0148 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
+0149 1fe22600 copy pdata ,regc 
+014a 1fe17ef0 and pdata ,0xf0 ,pdata 
+014b 203a014e branch p_mouse_dpi_load_next ,blank 
+014c 1ff1fe00 rshift4 pdata ,pdata 
+014d 2020014f branch p_mouse_dpi_load_end 
 
 p_mouse_dpi_load_next:
-0144 1a627e00 copy regc ,pdata 
+014e 1a627e00 copy regc ,pdata 
 
 p_mouse_dpi_load_end:
-0145 67e0c63f store 1 ,mem_mouse_dpi 
-0146 20600000 rtn 
+014f 67e0c63f store 1 ,mem_mouse_dpi 
+0150 20600000 rtn 
 
 p_mouse_read_otp_24g_addr:
-0147 dfe00790 arg otp_offset_24g_addr ,pdata 
-0148 1fe22400 copy pdata ,regb 
+0151 dfe00790 arg otp_offset_24g_addr ,pdata 
+0152 1fe22400 copy pdata ,regb 
 
 p_mouse_read_otp_24g_addr_loop:
-0149 20400153 call p_mouse_read_otp_24g_addr_common 
-014a 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
-014b 203a0156 branch p_mouse_24g_addr_load ,blank 
-014c 67e24909 store 4 ,mem_mouse_24g_addr_last 
-014d 1a40a404 increase 4 ,regb 
-014e dfe007cf arg otp_offset_24g_addr_end ,pdata 
-014f 9a467c00 isub regb ,null 
-0150 24210156 nbranch p_mouse_24g_addr_load ,positive 
-0151 1a427e00 copy regb ,pdata 
-0152 20200149 branch p_mouse_read_otp_24g_addr_loop 
+0153 2040015d call p_mouse_read_otp_24g_addr_common 
+0154 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
+0155 203a0160 branch p_mouse_24g_addr_load ,blank 
+0156 67e24909 store 4 ,mem_mouse_24g_addr_last 
+0157 1a40a404 increase 4 ,regb 
+0158 dfe007cf arg otp_offset_24g_addr_end ,pdata 
+0159 9a467c00 isub regb ,null 
+015a 24210160 nbranch p_mouse_24g_addr_load ,positive 
+015b 1a427e00 copy regb ,pdata 
+015c 20200153 branch p_mouse_read_otp_24g_addr_loop 
 
 p_mouse_read_otp_24g_addr_common:
-0153 d8400004 arg 4 ,temp 
-0154 da20490d arg mem_mouse_24g_addr_temp ,rega 
-0155 202068c5 branch otpd_read_data_with_pwr_operation 
+015d d8400004 arg 4 ,temp 
+015e da20490d arg mem_mouse_24g_addr_temp ,rega 
+015f 202068c5 branch otpd_read_data_with_pwr_operation 
 
 p_mouse_24g_addr_load:
-0156 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
-0157 67e24640 store 4 ,mem_mouse_24g_addr 
-0158 20600000 rtn 
+0160 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
+0161 67e24640 store 4 ,mem_mouse_24g_addr 
+0162 20600000 rtn 
               org 0x3800
 
 start:
@@ -7556,6 +7568,8 @@
 4d19 203a74ca branch disable_user ,blank 
 4d1a 6fe0c094 fetch 1 ,mem_lpm_mode 
 4d1b 203a74ca branch disable_user ,blank 
+
+g24_lpm_wait_next:
 4d1c 6fe0c563 fetch 1 ,mem_24g_transmit_by_interrupt 
 4d1d c000f4ca beq g24_tx_timer_int_enable ,disable_user 
 4d1e 20600000 rtn 
Index: program/g24_protocol_stack/24g_transmitter.prog
===================================================================
--- /1306ac/branch/mouse/mouse_public/program/g24_protocol_stack/24g_transmitter.prog	(revision 353)
+++ /1306ac/branch/mouse/mouse_public/program/g24_protocol_stack/24g_transmitter.prog	(working copy)
@@ -290,6 +290,7 @@
 	branch disable_user,blank
 	fetch 1,mem_lpm_mode
 	branch disable_user,blank
+g24_lpm_wait_next:
 	fetch 1,mem_24g_transmit_by_interrupt
 	beq G24_TX_TIMER_INT_ENABLE,disable_user
 	rtn
Index: program/patch.prog
===================================================================
--- /1306ac/branch/mouse/mouse_public/program/patch.prog	(revision 353)
+++ /1306ac/branch/mouse/mouse_public/program/patch.prog	(working copy)
@@ -22,6 +22,7 @@
 ifdef G24_NEW_REVISION
 	beq patch2b_1,p_g24_transmit_no_interrupt
 endif
+	beq patch2c_1,p_g24_lpm_wait
 	rtneq patch3f_7
 	branch assert
 
@@ -317,14 +318,27 @@
 	branch le_enable_2M
 	
 p_mouse_setgpio_hibernate:
-	jam 0x80,0x8070					//if gpio0 unused,need it
 	call mouse_setgpio_hibernate+1
+	jam 0x80,0x8070
 	fetch 1,mem_gpio_wakeup_low+1	//enable ice wakeup
 	set1 5,pdata
 	store 1,mem_gpio_wakeup_low+1
 	call lpm_write_gpio_wakeup
 	branch mouse_1io2led_all_off
 
+
+p_g24_lpm_wait:
+	enable user
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	branch disable_user,blank
+	fetch 1,mem_lpm_mode
+	branch disable_user,blank
+	fetch 1,mem_sensor_shutdown_flag
+	nrtn blank
+	branch g24_lpm_wait_next
+
+
 p_mouse_3io6key_check:
 	copy regc,pdata
 	store 1,mem_mouse_key_status
Index: sched/1306.dat
===================================================================
--- /1306ac/branch/mouse/mouse_public/sched/1306.dat	(revision 353)
+++ /1306ac/branch/mouse/mouse_public/sched/1306.dat	(working copy)
@@ -21,7 +21,7 @@
 
 mem_load_check_sum:5a
 mem_mouse_no_data_timeout:70 17   #10mins
-mem_mouse_enable_flag:00	#00:win+d	40:ctrl+alt+a	80:ac home	c0:key_play
+mem_mouse_enable_flag:20	#20:win+d	60:ctrl+alt+a	a0:ac home	d0:key_play
 
 #mem_flash_base:00 50 00
 #mem_eeprom_base:80 1f
Index: sched/mouse_basic.dat
===================================================================
--- /1306ac/branch/mouse/mouse_public/sched/mouse_basic.dat	(revision 353)
+++ /1306ac/branch/mouse/mouse_public/sched/mouse_basic.dat	(working copy)
@@ -7,7 +7,7 @@
 mem_patch0b:c4
 mem_patch0e:01
 mem_patch1c:08
-
+mem_patch2c:02
 
 
 mem_mouse_flag:
Index: sched/mouse_enhanced.dat
===================================================================
--- /1306ac/branch/mouse/mouse_public/sched/mouse_enhanced.dat	(revision 353)
+++ /1306ac/branch/mouse/mouse_public/sched/mouse_enhanced.dat	(working copy)
@@ -8,6 +8,7 @@
 mem_patch0e:01
 mem_patch1c:08
 mem_patch2b:02
+mem_patch2c:02
 
 
 
