Index: do.bat
===================================================================
--- /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/do.bat	(revision 3320)
+++ /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/do.bat	(working copy)
@@ -93,9 +93,9 @@
 echo create auth rom
 perl ../util/mergepatch.pl mouse_ble_att_list usb_kbdata_vendor_define usb_kbdata usb_msdata usb_devicedata usb_confdata ble_shutter_gatt_list ble_shutter_key_value_list ble_car_att_list sha256 
 perl ../util/romcrc.pl romcode.rom
-perl  ../util/mergepatch.pl otp
-
-
+perl ../util/mergepatch.pl otp
+perl ../util/otpcheck.pl 
+echo.
 if "%device_option%" equ "mouse" (
 cd ..\output
 copy eeprom.dat ..\util\eeprom.dat
Index: format/app_mouse.format
===================================================================
--- /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/format/app_mouse.format	(revision 3320)
+++ /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/format/app_mouse.format	(working copy)
@@ -541,6 +541,7 @@
 1 mem_le_check_retransmit_flag
 1 mem_le_retransmit_cnt
 1 mem_le_check_retransmit_discon_flag
+1 mem_mouse_logo_enable_flag
 )
 
 (
Index: output/memmap.format
===================================================================
--- /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/output/memmap.format	(revision 3320)
+++ /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/output/memmap.format	(working copy)
@@ -2059,6 +2059,7 @@
 0x4bfe mem_le_check_retransmit_flag
 0x4bff mem_le_retransmit_cnt
 0x4c00 mem_le_check_retransmit_discon_flag
+0x4c01 mem_mouse_logo_enable_flag
 0x462d mem_remote_car_hard_soft_switch
 0x462e mem_remote_car_queue_each_size
 0x462f mem_remote_car_queue_length
Index: output/otp.dat
===================================================================
--- /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/output/otp.dat	(revision 3320)
+++ /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/output/otp.dat	(working copy)
@@ -27,8 +27,8 @@
 1e
 aa
 55
-80
-15
+f0
+14
 4e
 06
 a3
@@ -96,43 +96,43 @@
 04
 56
 2b
-1c
+41
 35
 54
 53
-d7
+fc
 fb
 fd
 f2
 e9
 61
 63
-fb
-03
+fa
+e6
 9a
 2e
-62
-53
+63
+8e
 f7
 df
+42
 43
-a6
 ca
 93
 eb
-5d
+b6
 f6
 fd
 fe
-85
+a0
 0d
 b9
 88
-7c
+5f
 50
 83
 9c
-41
+6c
 6f
 31
 58
@@ -140,43 +140,43 @@
 f3
 0e
 9d
-a9
+c1
 2b
 50
 d1
-5c
+71
 9d
 89
 54
-44
+66
 6a
 da
 4e
-ed
+ea
 8b
 0d
-8a
-09
+8b
+f6
 9b
 d7
 9e
-50
+64
 79
 d1
 10
-70
+5d
 28
 2c
 69
-5e
+21
 bc
 c1
 63
-5a
+71
 41
 13
-9f
-bb
+9e
+5c
 ad
 68
 84
@@ -240,7 +240,7 @@
 c6
 bb
 24
-3c
+e1
 2f
 89
 a7
@@ -996,7 +996,7 @@
 09
 26
 5e
-69
+4c
 a2
 b5
 3e
@@ -2012,7 +2012,7 @@
 8b
 e4
 81
-91
+fa
 7f
 0c
 eb
@@ -2096,7 +2096,7 @@
 1b
 fb
 9c
-e4
+cf
 8e
 fc
 18
@@ -2869,270 +2869,270 @@
 08
 f7
 d2
-4c
-68
-0b
+53
+c4
 cb
-88
+8b
+80
 05
-25
-99
+2e
+df
+7a
+10
+c7
+f6
 72
-14
-4a
-e2
-d9
-7d
-b6
-5f
-41
-35
-3e
-66
+93
+f1
+4c
+a5
+7f
+3c
+b3
 b8
 02
-8f
-9f
+d3
+0a
 a6
 e4
-47
-18
+44
+ef
 3d
 7a
-c2
-9e
+9d
+cc
 89
 e3
 0f
-1e
+2b
 8b
 4f
 ad
-f6
+fd
 e4
 d2
 a4
-4f
-be
-1e
-c7
-3b
+78
 be
-70
-35
-d6
-80
-e7
-19
-bf
-8c
-82
-e6
-0a
-a7
-7a
-34
-40
-c1
+7e
+98
+7e
+f1
+b4
+2f
+6f
+2b
+16
+5e
+ac
+68
+d7
+e2
+d8
+e8
+da
+f6
+8b
+c9
 ce
-35
-07
-64
-3e
-9a
-a9
-25
-72
-45
-45
-c2
-f2
-52
+39
+67
+23
+be
 50
-73
-d2
-ce
-1e
+af
+6a
+f6
 02
-dc
-98
-1a
-69
-87
-49
-d8
+56
+6f
+89
 48
-d5
-3f
-40
-76
-1b
-28
-f9
-2b
+92
+91
 6d
-32
-17
+ce
+03
+4d
+1d
+83
+58
 de
-17
-88
-c6
+26
+a5
+03
+08
+d3
+e9
+15
+ce
+7f
+d7
+a1
+6b
+06
+f7
+dd
+9e
+1e
+92
+d4
 17
 06
 12
-e5
-8a
-68
-23
-6c
-c5
-42
-fa
-ff
-68
-1f
-ac
-d7
-d3
-57
-d1
+f5
+f2
+28
 6e
-a3
-e7
+c2
 fa
 a3
-e1
-7f
-19
-a6
-2f
-e8
-66
-8d
-06
-17
-63
-71
-76
-68
+ad
+48
+60
+1e
+20
+44
+9c
+97
+46
+a2
+ec
+27
+61
+0f
+91
+79
+a3
+c0
 10
-ef
+2c
+98
+69
+39
+d3
+9d
+90
+49
+ac
+ee
+07
 b5
-32
-9c
-1f
-19
-77
-d5
+71
+1e
+f2
+49
+50
+b3
 59
-5b
-ee
-61
+0b
+c8
+07
 eb
-bb
-1d
-38
-6e
-8c
-3c
-1b
-4c
-1e
-87
+f4
 9d
-69
-42
-3f
-77
-a0
+fe
+08
+22
 dc
-04
-f8
-90
-b3
-1f
-ea
-e9
-a2
-99
-82
-e9
-1a
-20
-f8
-05
-ef
-2b
-cb
+dd
+2a
+b5
+c6
+d4
+97
+32
+3c
+18
+5e
+e6
 06
-09
-2c
-7b
-3e
+80
+ad
+fc
+be
+fd
+34
+ed
+42
+c9
+f5
+5d
 fb
-99
-00
-8f
-e5
-76
-f2
-1d
-8d
+b3
+26
+92
+aa
+24
+da
 7c
-ba
-ee
+ad
+97
+3c
+0e
+1e
+36
+8f
+5b
+31
+8c
+e1
+b3
 3f
-ba
-fe
-d0
-dd
-08
-d0
-cc
-98
+9c
+13
+05
+f8
+d8
+22
+92
+c9
+9b
+e1
+90
 b5
-5d
-cf
-38
-bd
-d0
-23
-2e
-ae
-c4
-e7
+52
+84
+7f
+3c
 96
-ea
-a9
-05
-c5
-f3
-2e
+b6
+61
+2a
+83
+f4
+3d
+04
+ee
+16
+21
+b9
 2d
+29
 e3
 80
 ad
-3d
+31
 4d
-48
-e5
-81
-69
-46
-fd
-4c
+28
+ba
+49
 26
-d3
-47
-1a
-ee
+86
+67
+eb
+88
+33
+81
+7c
+ef
 5b
-09
-8b
+8a
+bb
 d7
-fa
-e0
-9e
+fb
+60
+ea
 9b
 e9
 93
@@ -3373,2166 +3373,2022 @@
 b2
 68
 f1
-a5
-ca
-bd
-2f
-bd
-3c
-88
-89
+ef
+cb
+f7
+a3
+87
+3e
+ad
+00
 b4
 a4
-fd
-56
-bd
-60
-36
-1d
-83
-9e
-68
-8d
-a9
-80
-3a
-cb
-8a
-a1
-3d
-af
-45
-3e
-35
-fa
-13
-fc
-b5
-11
-06
-f9
+a0
+09
+f2
+a3
+23
+40
+cc
+40
+2c
+ce
+0a
+64
+f3
+0c
+ff
+21
+5d
+39
+ea
+df
+20
+96
+49
+99
+ca
+5f
+02
+f8
 ac
 2d
-82
-59
-86
+e8
+7d
+32
 6a
 4a
-e4
-31
-8b
+a4
+32
+cd
 b2
-73
-f2
-fd
+74
 fc
-9b
-e7
-85
-e5
-5e
-2f
-47
-25
-8d
-de
-e8
-65
-9b
-7e
-67
-e8
-e7
-26
-2e
 29
-f0
-52
-15
-18
-58
-58
-62
-62
-2b
-1a
-69
-3e
-d4
-e3
-26
-8c
-92
-f4
-8b
 50
-5e
-1d
+da
+a1
+fe
+b9
+1f
+d3
+47
+6f
+ae
+17
+12
+a0
 f9
-10
+58
+61
+12
 87
-98
+3e
+04
+5c
+72
+bf
+c1
+18
+42
+30
+78
+25
+8b
+d0
+34
+04
+f4
+46
+81
+c3
+33
+be
+2b
+ea
+18
+3d
+69
+5b
 02
-20
-97
-59
+df
+11
+fe
+f2
+fd
 79
-44
-b5
-56
-1a
-b9
-1d
-90
-bf
-61
-cb
-57
-ac
+0b
 75
-79
-d2
-91
-e7
-f7
-e4
+93
+df
+16
+fd
+05
+f8
 be
-fa
-a1
-98
+29
+2a
+3e
+75
+23
+d1
 f8
-57
-dd
-df
-df
-71
-21
+f8
+51
+b2
+2e
+fa
+81
+9b
+8f
+5f
+d9
+51
+19
+6a
+0b
 af
-6e
-e7
-be
-6b
+6f
+39
+db
+cf
 f3
-4a
-b0
+fa
+d1
 2a
-02
-b9
-ae
-d9
-59
-24
-f4
-77
-f8
+2d
+83
+cc
+94
+1c
+6c
+fc
+e0
+7a
 f2
 69
-18
-ad
+17
+e9
 2e
-20
+5a
 4d
-6f
-d0
-31
-7f
-a0
-c6
-5f
-6e
-3c
-3e
-89
-22
-e0
-81
-d1
-6a
+6b
+2f
+97
+ca
+73
+fc
+5d
+48
+3d
+4e
+9a
+15
+1c
+83
+f7
+e8
 95
-fb
-08
-28
-31
+b8
+89
+e1
+e4
 0e
 08
-b1
+eb
+b9
+0c
+7c
+c8
+06
 b9
-44
-15
-82
-95
-4e
-64
-bd
-fd
-54
-f8
-d2
-81
-8e
-9b
-1c
-9d
-c3
-84
 c2
-eb
-b3
+08
+2e
+6b
+3b
+2f
+14
+b4
+c1
+b8
 1f
-6e
-21
-d6
+8c
+44
+07
+1e
+52
+df
+6d
+aa
+ae
 96
-3d
-a7
-fc
+0a
 74
+03
+34
 1b
-d6
-cd
-85
-42
-00
-f5
-da
-37
-02
 d7
-dc
-c5
-ba
-2c
-5f
-4d
-2c
+b8
+03
+21
+13
+ed
+65
+7d
+57
+98
+1c
+68
+99
+85
+17
+84
+ff
+22
 8d
-6d
-73
-3a
+36
+2a
 08
-42
+62
+df
+5a
+fe
+8a
+4e
+8b
 dc
-d1
-09
-2f
-74
-e5
-94
-b0
-fb
-12
-66
-42
-56
+99
+3d
+f4
+e1
+f6
+54
 36
-08
-e0
-58
+b4
+c2
+26
 33
-24
-ab
-b6
-6b
-3d
-c8
-5c
-7a
-a1
-72
-73
-00
 2c
+a8
+3d
+65
+40
+49
+64
+14
 e9
-c5
-da
-92
-7e
-83
-1d
-0f
-35
+5b
 3a
-2f
-76
-41
-c9
-a4
-fc
-9f
-e2
-67
-9a
-18
-0c
-dc
-8d
-bf
-a4
-4c
-13
-86
-f1
-74
-49
-ac
-ee
-6d
-cb
-96
-54
+fa
+94
 ef
-68
-34
-18
+ba
 53
-c8
-6d
-86
+92
 7c
-b6
-e9
-5e
-98
-9a
-f5
-f4
-ea
-88
-46
-d9
-47
-bb
-a0
-33
-5d
-8a
-e5
-97
-6b
+5a
 f8
-24
-a9
-14
 7a
-81
-bc
-fc
-f4
-46
-06
-65
-53
-e9
-67
-16
-71
-c9
-d9
-56
-bc
-65
-e0
-2a
-ec
-1a
+b1
+da
+c3
+94
+fe
+c9
+52
+52
+ff
+24
+01
+44
+f8
+f2
+da
+6d
+df
+27
+c3
+5c
+02
+b6
+67
+e4
+d0
+ab
+90
+c3
+95
+d3
+9f
+c6
+d7
+5e
+3d
+6f
+8e
+47
+32
+56
+88
+5d
+04
+d5
+71
 b3
+f9
+23
+a4
+9f
+29
+0b
+0b
 75
-61
-4f
-99
-20
+b9
+32
+e3
+b4
+6f
+fc
+06
+75
+5e
+35
+22
+fd
+bc
+b3
+85
+1c
+a8
+1c
+69
+a1
+70
+de
+2a
+1c
+b3
+f4
+4e
+a6
+cc
+1b
+bf
+ce
+0d
+22
+ce
+5f
+48
 16
 84
 8c
 6b
-23
-54
-05
-3e
-4c
-f0
-1c
-df
+5b
+57
+bc
+50
+0b
+73
+5a
+a4
 77
-d2
-f0
-fc
+f2
+f3
+36
 95
 8b
-f2
-26
+90
+cd
 38
-9f
-58
-c5
+ff
+57
+64
+14
+42
+f5
 5b
-e6
-b1
-f0
-a2
-da
-9e
-01
-7a
-74
-71
-16
-cd
-f2
-89
-1c
-9f
-3d
-e3
-32
-1e
-7b
-63
-79
-6c
-17
-61
-17
-b0
-23
-63
-4c
-b1
-fa
-51
-c3
-9d
-c8
-67
-a9
-31
-45
+40
+05
+fc
+1d
 35
+d4
+d6
+6e
+2c
+b2
+8a
+a7
+7f
+7d
 60
+6a
+fe
+3a
+52
+45
+6c
+37
+54
+26
+ff
+80
+7a
+f9
+f6
+59
+4b
+4e
+d2
+6b
+7a
+6c
+76
+e6
+2c
+75
 65
-13
-9f
-ee
-8a
-d7
-30
-1f
-2e
-6f
-0a
-21
-b6
-ca
+33
+c4
+3d
 c5
-f1
+74
+2d
+8b
+69
+cc
+10
+d9
+f9
+69
+d8
+6e
 e5
-58
-4c
-58
-4c
+38
+14
 13
-54
-f5
-25
-19
-e2
-4a
-8e
-6c
-b8
-5a
-ba
-d4
-86
-51
-70
-12
-9f
-ef
-7b
-45
-0a
-3b
-e4
-93
-4c
-e2
-e2
-fc
-b9
-f2
-51
-07
-15
-87
+03
+b7
+10
+2b
 c1
-19
-cb
-d8
-9e
-f5
+38
 b9
-a4
-a5
-f8
-12
-9a
-93
+d2
+39
+6c
 74
-f9
-71
-d7
-4b
-48
+59
+ba
+ee
+d9
+55
 70
-0d
-7c
-96
-2f
+72
+a2
+b5
 34
 e1
+4e
+95
+06
+27
+47
+71
+4f
+87
+7c
+2b
+b1
 67
-af
-35
+96
+46
+6e
+f8
+00
+64
+7f
+15
+39
+a4
+10
+7b
+5a
+9e
+2e
+d7
+bc
+dd
+98
+88
+48
+4b
+1a
+d7
+ab
+40
+7b
+61
+ab
 ae
-7d
-f4
+23
+0d
+02
+8c
 53
-04
-1b
-88
-db
-ad
-ca
-96
-04
-31
-8a
-da
-8d
+07
+91
+fc
+74
+4e
+e9
+57
+43
+b2
+cc
+a1
+77
 45
-99
-75
-0b
+d3
+70
+f1
 58
-5c
-03
-9f
-0c
-74
-a4
+05
+0d
 9f
-6b
-47
-f8
-c9
+6c
+57
+09
+65
+4b
+55
+bb
+33
 05
-9c
-31
+fe
+f1
 ae
-14
-49
-85
-01
-b9
-76
-11
-b1
-c5
-90
-a7
-29
-33
-47
-af
+74
+6a
+d4
+4e
+19
+de
+64
+f6
+65
+53
+8c
+79
+34
+3a
+59
 71
-6f
-44
-ad
+4f
+76
+23
 2a
 5c
-ad
-80
+c1
+5c
 ee
-d8
-f3
-5f
-41
-e9
-7b
+b8
+f0
+99
 7b
-28
-ae
-f7
-3e
-63
-05
-23
-87
 cb
-89
-7a
-71
-03
-78
-e1
-59
+52
+57
+c8
+ce
+af
+4e
 83
-e6
-88
-c4
-94
-9f
-23
-cb
-98
-70
-5e
-44
-c6
-1d
-e7
-e0
-2f
-5c
-9e
-a2
-60
-1d
-fe
-ac
-51
-a8
-c1
+4f
 fb
-3b
-79
-b3
-6c
+dc
+2b
+d0
+22
+5d
+e3
+26
+be
+86
+63
+ba
+57
+39
+74
+c2
+7c
+04
+78
+3a
+06
+7f
+c6
+7d
+e6
+d8
+57
+1c
+9d
 46
-5a
-16
-15
-de
-83
-a2
-cc
+27
+df
+ee
+c9
+ab
 e8
-bf
+d1
+2e
+8e
+d9
+2e
+16
+a6
+7a
+d7
+13
+74
+ab
+a1
+a6
+12
+df
 cf
-ad
+a2
 8e
-d2
-05
-c6
-97
-8d
-62
-f7
-48
+b2
+1d
+c9
+88
+25
+ef
+99
+40
 d0
-a2
-94
-6b
-7a
-3a
-30
+a9
+a8
+7c
+dd
+8c
+ce
 71
-85
-0e
-92
+c5
+54
+64
 2e
 0c
-77
-bf
-91
-38
-02
+76
+a4
+74
+3d
+82
 de
-dc
-bd
-00
+c3
+17
+c3
 47
-a2
-e1
-a3
-21
+f6
+d1
+a6
+3f
 65
-43
-a2
-0c
-9c
-73
-4a
-0a
-bb
-c7
-6e
-49
-b9
-2b
-5b
-a1
-5e
-0e
-98
-49
-4b
-02
-7c
-a9
-2b
-15
-5b
-87
 63
-41
-5a
-f1
-9c
-74
-a9
-6b
-c2
-1d
-e1
-bb
-22
-2d
-d2
-c1
-6a
-71
-7f
-cd
-20
-9e
-ad
-fc
-1c
-21
-96
-cd
-ba
-a7
-ba
 fa
-e5
-14
-12
-0b
-6b
-10
-f0
-e7
-02
+84
+de
+52
 34
-45
+0d
+b4
+6f
+6f
+52
+46
 8d
-90
-9e
-6e
-88
-07
-5d
+ed
+a4
+26
+2c
+1b
+bf
+5c
+a8
+25
+68
+7b
+32
+cf
+87
+61
+61
+11
+e9
+29
+d0
+b8
+82
+20
 b0
-5b
-a5
-6e
+20
+a1
+da
+2d
+8b
+2b
+2a
+18
+61
+05
 5a
-2f
-34
-28
-82
-aa
-4b
-41
+b5
+91
+29
+ac
+46
+50
+dd
 0a
+e4
+68
+ef
+05
+4d
+3f
+c7
+8b
+4e
+af
+ad
+ad
+c9
+82
+23
+92
+00
+ee
+cd
+e7
+77
+ef
+26
+ea
+af
+43
+03
+ae
+a8
+c0
+56
+43
+43
+89
+8c
+6b
+1f
+64
+1b
 32
-54
-de
-40
-c8
-7d
-84
-a2
-44
+24
+3e
+f0
 80
-21
-be
-ab
-ac
-ba
+a0
+ee
+09
+b3
+12
+bb
+6a
+d9
+1d
+5f
 33
-7e
-dd
-07
-0f
-97
 32
-99
-fb
-fa
-92
-d0
-8e
-20
-3e
-42
-5c
+f9
 f5
+d8
+8d
+7a
+8f
+aa
+36
+40
+d2
+e1
 24
-9a
-5a
-d1
+98
+d7
+bd
 68
-4e
-14
-28
-23
-df
-58
-48
-17
-af
-2f
-83
-7d
+2e
+7b
+84
+6c
 7f
-f5
-eb
+ce
+47
+13
+95
+4e
+0d
+2d
+75
+ab
+99
 a8
-fe
-1b
-a7
-a5
-ad
-bf
+f3
+63
+b9
 f5
-ed
-db
-dc
+88
+43
+f5
+c5
+9e
+3e
 78
-b0
-dd
-00
-3a
-a3
-93
-91
-63
 b8
-17
-d5
+df
+8f
+d6
+ac
+39
+1e
+82
+78
+51
+a9
 72
+7a
+13
+58
+a9
+05
+1c
 3d
-90
-9f
-69
-55
-1b
+02
+a6
+ac
+6f
+7c
+27
 ad
-1c
-5e
-cc
-0f
-38
-68
-09
+72
+3a
+9a
+63
+1f
 31
-37
-78
-ce
-fb
-aa
+69
+8b
 de
-2b
-14
 5c
-58
-3c
-ed
-1f
-02
-4f
-77
-0e
-b1
-2c
-7e
-ea
-ab
-f9
-aa
-5b
-ca
-08
-fa
-a6
-79
-f5
-c9
-a1
-e4
-7e
-84
-a8
-a8
-f3
-59
-48
-d8
-d7
-08
-b0
-c2
-28
-0d
-7e
+5f
+95
+6e
 8d
-f1
-fe
-0d
-f3
-30
-7e
-c0
-05
-b3
-a8
-0b
-96
-d5
-ea
-93
-59
-70
-46
-b2
-c3
-ce
-9e
-fe
-7b
-e0
+42
+26
+55
+cd
+e1
+2b
+b8
+f4
+b4
+50
+34
+21
+2b
+48
+53
+6d
+36
+55
+54
+da
+af
+a5
+98
+b5
+05
+90
+18
+82
+38
+f5
+d7
+fa
+6d
+c9
+ca
+ba
 8f
-ce
-ef
-15
-c0
-bd
-92
-73
-3b
-78
-79
-e9
-ab
-49
-ad
-ad
-11
-61
-0a
+70
+38
 cb
-c1
-41
-06
-f2
+bc
+f0
+d6
+d6
+75
+b6
+91
+1b
+74
+0a
+b5
+9d
+5b
+69
+96
+34
+8c
+0e
+32
+9c
+30
+3b
+9e
+b1
+a8
+d4
 d1
-98
+ae
+8d
+d4
+9c
+f2
+3e
+2b
+db
+95
+a5
+ab
+10
+e3
+e9
+94
+94
+42
 49
+52
 4a
-64
-a8
+88
+a9
+0a
+e5
+7f
 e0
 a4
-e6
-15
-2e
+dc
 7e
-55
-ef
 2e
-aa
-b5
+7f
+4e
+ee
+7e
+cf
 1d
+8c
+4e
+c2
+a6
+be
+e5
+7a
+08
+db
 51
-63
-03
-ad
-49
-87
-2d
-6a
-fb
-ae
-a9
-fa
-cc
-66
-14
-97
-f2
-0a
-57
-45
-14
-c7
+6e
+8c
+47
+74
+00
+6c
+b8
+bd
+8c
+90
+56
+f6
+18
 1c
 a1
-dd
-9e
-d9
-53
-01
-36
+92
+5e
+7f
+77
+e1
+76
 85
-8f
+82
 4a
 12
-26
-83
-de
-72
-e3
-b7
-eb
-fe
-e2
-8e
-60
-19
-e3
-90
-7d
-99
-44
-9e
+12
+96
+91
+d2
 7d
-00
-9a
-69
-bf
-8a
-f2
-02
-a0
-76
-ee
-ed
-c2
-e1
-6d
-6d
-6d
-bc
-67
-7b
-7c
-c5
-3b
-d5
-0f
-54
-5f
-c9
-38
-49
-c8
-e8
-f0
-5a
-84
-5a
+1c
+ac
+2a
+27
 85
-a2
-58
-ff
-c5
-d5
-01
-3e
-c9
-a7
-68
-0b
-96
-b8
-14
-af
-9e
-6a
-22
-8a
-20
-56
-06
-df
-f6
-85
-b9
-2e
-0d
-6f
-18
-3d
-8a
-d8
-01
-b0
-db
-56
-47
-9c
-23
-d7
-20
-34
-2e
-33
-66
-ab
-ce
-a4
-b7
-d3
-9e
-e6
-c0
-ff
-96
-09
-fd
-d4
-45
-b3
-c8
-f7
-47
-b4
-65
-d1
-0f
-26
-69
-2e
-9f
-bc
-29
-11
-21
-85
-bf
-76
-ee
-76
-fc
-25
-4d
-05
-19
-7e
-11
-e9
-50
-c6
-1b
-4c
-53
-e8
-70
-cf
-9e
-3a
-51
-87
-e4
-f1
-eb
-2d
-14
-c2
-44
-52
-39
-d8
-fc
-44
-ef
-76
-bf
-be
-6d
-22
-ec
-d7
-08
-4f
-93
-ee
-2b
-8b
-56
-03
-de
-f8
-96
-3a
-02
-4c
-e6
-fb
-b8
-ff
-56
-b4
-a3
-4d
-15
-0f
-52
-16
-07
-84
-cb
-d7
-a6
-71
-47
-28
-ea
-01
-6e
-7e
-fb
-0e
-8b
-46
-3d
-24
-72
-c6
-bd
-b2
-82
-06
-74
-89
-c2
-46
-a2
-d4
-c3
-6e
-f9
-35
-d3
-13
-60
-9e
-5a
-ce
-be
-1c
-02
-b1
-2f
-1a
-40
-a1
-80
-7e
-45
-af
-d4
-56
-b2
-97
-3a
-08
-e5
-7f
-c8
-00
-8e
-cd
-d2
-0e
-d2
-a0
-22
-f7
-23
-b2
-01
-2d
-0d
-cc
-15
-ba
-58
-f3
-20
-aa
-af
-b5
-08
-81
-c0
-3a
-f2
-3e
-7f
-ff
-7c
-a5
-12
-4f
-df
-a3
-e6
-56
-70
-ed
-5f
-0e
-81
-fc
-bf
-e1
-b7
-18
-05
-f7
-6b
-6c
-7b
-85
-ed
-4a
-ac
-b0
-11
-af
-8b
-76
-23
-67
-c5
-9b
-22
-28
-1f
-d2
-f2
-61
-35
-55
-00
-fd
-80
-93
-09
-68
-3b
-89
-b5
-5b
-bc
-29
-4a
-19
-de
-0e
-3d
-64
-9c
-1a
-d7
-a7
-fb
-4a
-67
-1f
-49
-29
-08
-2c
-d2
-8e
-43
-8e
-51
-67
-19
-34
-b8
-0b
-a9
-9c
-aa
-21
-3a
-1f
-d5
-3a
-89
-a7
-d6
-4c
-74
-63
-62
-00
-ce
-7a
-45
-58
-b2
-5c
-28
-28
-9b
-1e
-d3
-b4
-b5
-1b
-a3
-f1
-38
-ee
-09
-dc
-fd
-98
-ea
-da
-16
-b5
-52
-31
-5f
-25
-8c
-65
-10
-f5
-f6
-2c
-59
-aa
-bd
-85
-07
-d1
-7e
-0c
-c9
-2e
-9b
-13
-d2
-d1
-5d
-3e
-dc
-da
 30
-6e
-5c
-60
-50
-0f
-63
-ec
-dd
-54
-ee
-e3
-01
-b1
-46
-5f
-69
-c4
-7e
-2a
-fa
-b7
-9a
-ec
-fc
-39
-a4
-6d
-8f
-88
-e6
-a4
-93
-d2
-5b
-57
-ed
-44
-a5
-ae
-eb
-32
-f4
-9b
-f1
-67
-f4
-c5
-34
-c8
-d3
-33
-91
-5e
-ae
-94
-51
-99
-c0
-44
-72
-c9
-5b
-c7
-80
-bb
-c4
-52
-c5
-35
-c1
-91
-2f
-8d
-bd
-ec
-bf
-2e
-76
-1b
-12
-98
-45
-1b
-e2
-2b
-85
-a0
-0c
-26
-89
-3c
-66
-9e
-f3
-c0
-67
-85
-0c
-eb
-5c
-72
-83
-6d
-07
-79
-d7
-68
 7f
-61
-60
+e5
 86
-0b
-a3
-44
-ea
-66
-73
-dd
+32
+38
+07
+fc
+75
 01
-8c
-aa
-4a
-fe
-31
-02
-16
-cc
-2c
-25
-f5
-20
+17
+cd
+0e
+cf
+90
+03
+ef
+b6
+1d
+d9
 89
-47
-b0
-0c
+3b
 f4
+f9
+c2
+5c
+c2
+fe
+9c
+87
 e5
-99
-9e
-bb
+25
+ef
+74
+df
+ae
+97
+ac
+0b
+a4
+13
+72
+04
+25
 ca
-4e
-85
-66
-40
 06
-4b
-e5
-ca
-26
+7e
+79
+27
+0a
+51
+c6
+2b
+0b
+0c
+38
+d9
+7c
+33
+de
+33
+13
+63
+19
+67
+97
 23
-e6
-1a
-84
-74
-18
-cc
-24
-55
-ac
-1e
+22
+a6
+80
+39
 25
-1a
-3e
-ba
-a8
-d8
-c2
-5c
-8c
-83
-c3
+0d
+0f
+55
+a3
+c5
+7c
+42
 ff
+38
+69
+79
+a4
+23
+d3
+a0
+3c
+2a
+27
+86
+f2
+81
+04
+11
 82
-a3
+2f
+df
+26
 fe
+c6
+6f
+fd
+ba
+f0
+77
+8f
+e4
+f4
+e2
+72
+8d
+a5
+e4
+cf
+3e
+9f
+dc
+29
+2c
+6e
+21
 ae
-31
-e9
-25
-08
-22
-f7
-85
-9b
+a4
+43
+09
+33
+6f
 02
-4f
 9f
-8b
-1d
-a0
-5f
-bd
-14
-d6
-77
-51
-62
-5a
-99
-fe
-30
+df
+18
+be
+09
+9f
+94
+5c
+8c
+c1
+2d
+70
+af
+92
+49
+1e
+57
+a7
+8d
 59
-45
+fe
+a4
+1c
+44
 53
-b4
-b6
-db
-84
-c3
-f1
-6d
-64
-bf
-2d
-0f
-05
-d3
-b3
-fc
-7e
-ba
-5a
-00
-58
-55
 b7
-c6
-a4
-85
-e9
-ea
+8d
+84
+47
+8c
 a8
-e8
-9e
-f3
-8f
-fe
-35
-b0
-40
-ae
 a0
-b2
+1b
+49
+77
+0c
+88
+b9
+0b
+dc
+2e
+bb
+23
+f9
+e3
+78
+d6
 96
-39
-b7
-90
-12
-1f
-90
-e7
 3a
-16
-8f
-c9
-e3
-4f
+01
+a2
+ae
+93
+7a
+ea
+23
+32
+9a
+5e
+b1
+e7
+7b
+44
+38
+27
+54
+42
 99
-34
-ef
-dc
-94
-cb
+d3
+37
+84
+d2
+77
+28
+19
+b4
+aa
+99
+e4
+e5
+de
+72
+ac
+bd
+d2
+8c
+c3
+29
+e9
+04
+48
+a2
+d4
+e2
+f9
+f9
 55
+8e
+bb
+60
+fe
+32
+1b
+f5
+8c
+45
+a2
+cb
+4e
+76
+1f
+cf
+de
+87
+65
+35
+09
+04
+8c
+12
+4e
+b1
+80
 75
-30
+c4
+8e
+db
+c5
+a5
+a5
 bb
-9e
 6a
-e7
-3e
-1b
-9e
-d2
-a8
+df
+e5
+fb
+01
+2d
+53
+d0
+15
 ba
-5d
-21
+0a
+b1
+6f
+0a
+32
+3e
+40
 b3
+06
+6e
+bd
+9e
+da
+29
+73
+0d
+12
+4f
+df
 c3
-78
-92
-43
-ab
-99
-98
-a1
-1c
-17
-7a
-ea
-96
+d0
+5a
+70
+e9
+de
+50
 63
-2c
-a0
-b4
-a5
-5b
-54
-f4
+29
+30
 7c
-4e
-ac
-fb
+b0
+b0
+0a
+d9
+54
+ce
+08
+2e
+5a
+ea
+6a
+f1
 f1
+90
 5a
-44
-16
-be
-c3
-68
-80
-a2
-f8
-aa
-10
+56
+23
+07
+f2
+4f
+6d
+88
+db
+9f
+f2
+01
+38
+f1
+ae
+26
+46
+da
+33
+4a
+13
+88
+f6
+cf
+75
+51
+3a
 1a
-a2
-14
+e7
+72
+52
 c1
-b5
+c4
+1a
 eb
-de
-6d
-30
-1e
-e8
-ad
-f4
-1c
-ea
-a5
+bf
+d9
+e1
+28
+bb
+5b
+8b
+d1
+45
+d2
+2f
+0c
+2e
+f6
+ed
+40
+2e
+7c
+bd
+a9
+9c
+f7
+bf
+3a
 1f
+ec
+b1
+c6
+07
+26
+a1
+91
+e8
+e2
+00
+81
+da
+b4
+9b
+b2
+66
+2c
+80
+a4
+de
+1a
+50
+8a
+fb
+64
+8c
+07
+0a
 09
-f8
-e4
-65
-e9
-f5
-f3
-b5
-d7
-bc
-11
+ca
+ba
 5a
+b0
+be
+16
+95
+56
+b2
+5f
+45
+d4
+e8
+5f
+51
+b5
+97
+bd
+ff
+eb
+2c
+ac
+86
+3c
+e2
+c9
+2e
+f1
+58
+9a
 d9
-8d
-78
-14
-f9
-47
-bc
-68
-24
-47
-05
-30
-f2
-19
-25
-dd
-03
-f3
-21
+9f
+dc
+94
 d2
-23
-6b
-a8
+98
+e7
+13
+c0
+f8
+b1
+2b
+e4
+42
+4d
+a6
+8b
+92
+5e
+0e
+57
+fa
+35
+86
+2a
+94
+44
+9e
 8c
+77
+4e
+a4
+0d
+b0
 2c
-ae
-de
-81
-8e
-a5
 e6
-d9
-55
-57
-46
-6b
-79
-dd
-a5
-63
-50
-bb
-8a
-b3
-73
-29
-0f
-61
-ce
-11
-c9
-79
-76
-ad
-a2
-09
+a4
 95
+64
+5b
+37
+e7
+1d
+0b
 75
+2d
+68
+f4
+9b
+c9
+91
+b8
+f9
+f2
+92
+9c
+f3
+03
+93
 fe
-f5
-27
-a9
-48
-21
+93
 74
-5f
-73
-7a
-af
-af
-3f
-40
-7e
+c1
+24
+06
+2f
+46
+f4
+3b
+1e
+6e
 c7
-e7
-43
-e3
-8b
-f6
+75
 c5
-91
-09
-33
-e0
-5d
-8f
-11
-5a
-a4
-32
+36
 8e
-91
+51
+bf
+b3
+b9
+96
+86
+7f
+39
+bb
+de
 0a
-73
-eb
-ef
-33
-4a
+a5
+17
+06
+40
+ca
 60
+93
+20
+38
 8a
-84
-8c
-cb
-3b
-8e
+b1
+95
+46
+40
+ea
+f3
+0c
+b1
+05
+e7
+f3
+6d
+3c
+a6
+71
+08
+b8
+1c
+57
+66
+c2
+f4
+a4
+cf
+b8
+d8
+dd
 61
+d1
+fa
+4a
 9e
+69
+70
+16
+c8
+ad
+6f
+f1
+4a
+0d
+90
+1b
+5b
+b6
+63
+99
+9e
+d1
+cd
+4a
 a5
-f4
+e2
+9b
+36
+03
+23
+90
+26
+23
+e1
+0c
+2c
+90
+87
+c3
+24
+55
+a3
+84
 22
+b2
+31
+b7
+49
+9e
+ac
+ba
+88
+83
 4a
-d7
-27
+03
+82
+c3
+a4
+cb
+31
+e9
 40
-ad
-e7
-d9
-73
-d6
-e4
-e7
-46
-83
-0a
-e0
-5e
-81
-3c
-36
-65
-0e
-da
-f9
+e3
+6d
+57
+12
+77
+aa
+01
+5d
+32
+1d
+c0
+66
+00
+13
+7e
+77
+9b
+82
+7a
+9b
+3d
+d0
+19
+cb
+7e
+b4
+af
+d5
+a3
+c3
 e8
-84
-39
-f9
-6b
-ce
-17
-66
+63
+d9
+5f
 61
-b9
-d8
-71
-c3
-b7
-d0
-5e
-4f
-18
-1a
-1e
+0b
+ef
+9c
+73
 6c
+7b
+5a
+1c
+5d
+53
 1a
+77
+6f
+dc
+2a
+25
+a8
+d6
+08
+be
+ae
 24
-aa
-18
-81
-fa
-ef
-c3
-52
-35
-44
-ea
-06
-45
-34
-a0
-97
+4e
 7c
-16
-d7
-5f
-01
-d8
+63
+bd
+b4
+c1
+fc
+65
+d9
+96
 4d
-2b
+75
+50
+10
+23
+1a
+8f
+0f
+c9
+e1
+00
+59
+9c
+94
+44
+91
+4f
+a7
+75
 30
-d8
-b6
-33
-92
-8c
+83
 4a
-05
-1c
-35
-ef
-c4
-67
-c9
-d2
-ea
-df
-03
-80
+12
+a7
+64
+70
+d1
+12
+0f
+cf
+c5
+5e
+37
+37
+30
+fa
+e4
+de
+c1
+8c
+b3
+fa
+6b
+1a
+6a
+96
+5c
+cf
+e8
+f3
 a5
-9c
-00
-56
-2e
-3e
-c2
-a4
-32
-09
-88
-87
+5b
 39
-c5
-b7
-2f
-75
-71
-c4
-8a
+dd
+e4
+e2
+f5
+27
+f1
+3a
+77
+dd
+f1
+63
+f6
+90
+43
+be
+fc
+02
+1a
+c2
+15
+e8
+b5
+eb
+de
+68
+30
+7e
+df
+9d
+bb
+bc
+7b
+be
 b0
-79
-25
-61
-1e
-9a
-6d
 ef
-60
-ae
-35
-13
-3a
+34
+6b
+61
+f3
+fa
+d9
+b5
+d7
+b3
+03
+be
+e3
+82
+55
+f4
+b9
+c8
+41
+88
+65
 15
+70
+d0
+d3
+99
+f3
+8d
+2a
+8a
+21
+cd
+8a
+d8
+ff
+3c
+63
+d0
+cf
+be
 4c
-88
-8b
-0b
-d1
-ae
-09
-52
-1b
-b8
+e0
+c4
+de
+fd
+57
+92
+c4
 99
+1e
+fb
+3b
+16
+42
+91
 53
-6a
-e2
-e9
-c4
-d2
-c7
-46
+50
+a9
+0d
+ce
+2f
+52
+96
+c1
+50
+d1
+a2
+71
+b7
+f0
+d9
+bd
 4f
-cc
-47
-bb
-fd
-67
-e3
-26
-7d
 0e
-9e
-73
-cb
-29
-e3
-a3
-45
-50
-fb
-21
-45
-ff
-ae
 21
-9b
-43
-ff
-b6
-13
-67
+16
+94
+99
 30
-28
-89
-1b
-21
-b4
-5c
 c2
 c9
-84
-c1
-be
+b2
+13
+38
+5c
+42
+cf
+43
+83
+bd
+21
+bd
+d1
 0c
-c7
-f5
-71
-7c
-3b
-2b
-85
-27
+08
+e0
+5d
+b9
+d8
+4a
+b8
+88
+cb
+a6
+ea
+b5
+a3
+10
 96
+7e
+27
+8a
+e6
+5f
+ec
+43
+ce
+36
+f8
+a5
+94
+4e
+81
+9f
+2f
+d1
+af
+a8
+79
+e3
+83
 5c
-f6
-ad
+e1
+6c
+94
+0a
+82
+de
+80
+3c
+56
+36
+37
+da
+99
+b5
+d5
+76
+59
+a7
 7c
-68
-8b
-2d
-a5
+13
+1c
+3c
+e8
 97
-49
-99
-46
-80
-a3
+b1
+5d
+d0
+d4
+24
+12
+76
+1a
+1e
+31
+a5
+24
+ca
+4a
+56
+c0
+8e
+ea
+ed
+65
+2d
+c4
+f5
+2f
+3c
+a4
+9d
+2c
+7f
+fb
+a9
+04
+7b
+17
+3a
+78
 b0
+27
+8e
+e7
+2d
+f2
+50
+a4
+53
+c4
+3b
+32
+68
+57
+ae
 b0
-eb
-9f
-13
-84
-64
-2e
-b2
-af
+e3
 46
-05
-b6
-88
-b0
-1d
-b3
-c9
-5f
 ed
-72
-c9
-18
-55
-c2
-39
-d4
-05
-c9
-44
+04
+46
+2a
+2e
 aa
 55
 40
@@ -5614,8 +5470,8 @@
 12
 00
 22
-01
-29
+00
+69
 1b
 aa
 55
@@ -5860,7 +5716,7 @@
 00
 1f
 4b
-05
+ff
 aa
 55
 06
@@ -6815,8 +6671,8 @@
 aa
 aa
 55
-65
-59
-f7
-52
+9e
+5a
+d4
+e4
 20
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/output/program.lis	(revision 3320)
+++ /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/output/program.lis	(working copy)
@@ -16,27 +16,27 @@
 000d c03502a3 beq patch0d_2 ,p_mouse_default_init 
 000e c0360253 beq patch0d_4 ,p_mouse_param_init 
 000f c03682a7 beq patch0d_5 ,p_mouse_sensor_set_angle 
-0010 c0370463 beq patch0d_6 ,p_mouse_start_work 
-0011 c03984ac beq patch0e_3 ,p_mouse_setgpio_hibernate 
+0010 c037043e beq patch0d_6 ,p_mouse_start_work 
+0011 c0398487 beq patch0e_3 ,p_mouse_setgpio_hibernate 
 0012 c03a0204 beq patch0e_4 ,p_mouse_lpm_before_common 
-0013 c03d051f beq patch0f_2 ,p_mouse_motion 
-0014 c03e0503 beq patch0f_4 ,p_mouse_setting_dpi 
-0015 c03e8505 beq patch0f_5 ,p_mouse_setting_sensor_type 
-0016 c03f8498 beq patch0f_7 ,p_mouse_3io6key_check 
-0017 c04084e5 beq patch10_1 ,p_mouse_init_sensor 
-0018 c04203a4 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
-0019 c04283fb beq patch10_5 ,p_mouse_priority_bb_event 
+0013 c03d04fa beq patch0f_2 ,p_mouse_motion 
+0014 c03e04de beq patch0f_4 ,p_mouse_setting_dpi 
+0015 c03e84e0 beq patch0f_5 ,p_mouse_setting_sensor_type 
+0016 c03f8473 beq patch0f_7 ,p_mouse_3io6key_check 
+0017 c04084c0 beq patch10_1 ,p_mouse_init_sensor 
+0018 c0420387 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
+0019 c04283d6 beq patch10_5 ,p_mouse_priority_bb_event 
 001a c04301d9 beq patch10_6 ,p_mouse_le 
-001b c04383cb beq patch10_7 ,p_mouse_bb_event_timer 
-001c c04403f9 beq patch11_0 ,p_mouse_start_discovery 
-001d c04503b6 beq patch11_2 ,p_mouse_store_remote_bdaddr 
-001e c04582db beq patch11_3 ,p_mouse_app_initflag_check 
-001f c04602ff beq patch11_4 ,p_mouse_store_device_info 
-0020 c0468364 beq patch11_5 ,p_mouse_store_dpi_info_check 
-0021 c047047b beq patch11_6 ,p_mouse_idle 
-0022 c04804d2 beq patch12_0 ,p_mouse_check_select_device_by_switch 
-0023 c04b04bc beq patch12_6 ,p_mouse_24g_package_data 
-0024 c04c050e beq patch13_0 ,p_mouse_dpi_led_blink_init 
+001b c04383a3 beq patch10_7 ,p_mouse_bb_event_timer 
+001c c04403d4 beq patch11_0 ,p_mouse_start_discovery 
+001d c0450394 beq patch11_2 ,p_mouse_store_remote_bdaddr 
+001e c04582dc beq patch11_3 ,p_mouse_app_initflag_check 
+001f c0460300 beq patch11_4 ,p_mouse_store_device_info 
+0020 c0468350 beq patch11_5 ,p_mouse_store_dpi_info_check 
+0021 c0470456 beq patch11_6 ,p_mouse_idle 
+0022 c04804ad beq patch12_0 ,p_mouse_check_select_device_by_switch 
+0023 c04b0497 beq patch12_6 ,p_mouse_24g_package_data 
+0024 c04c04e9 beq patch13_0 ,p_mouse_dpi_led_blink_init 
 0025 c062822e beq patch18_5 ,p_otp_read_data 
 0026 c06a81f8 beq patch1a_5 ,p_gpio_set_wake_by_current_state 
 0027 c06b01f1 beq patch1a_6 ,p_gpio_set_wake 
@@ -54,7 +54,7 @@
 0031 c02681ad beq patch29_5 ,p_le_init_adv 
 0032 c0480231 beq patch32_0 ,p_g24_reconn_dispatch 
 0033 c0490248 beq patch32_2 ,p_g24_reconn_device_fail 
-0034 c04b04a3 beq patch32_6 ,p_g24_short_sleep 
+0034 c04b047e beq patch32_6 ,p_g24_short_sleep 
 0035 c04d00e8 beq patch33_2 ,p_mouse_g24_retransmit 
 0036 c04e8100 beq patch33_5 ,p_g24_transmit_hop_process 
 0037 c04f8266 beq patch33_7 ,p_power_ctrl_start 
@@ -281,7 +281,7 @@
 00ee 20407cef call timer_check 
 00ef 247a0000 nrtn blank 
 00f0 204000f3 call p_mouse_retransmit_mouse_key_check 
-00f1 2040047f call p_mouse_dpi_check_retransmit 
+00f1 2040045a call p_mouse_dpi_check_retransmit 
 00f2 20206102 branch mouse_g24_retransmit_event_set + 1 
 
 p_mouse_retransmit_mouse_key_check:
@@ -613,7 +613,7 @@
 01ec 20405ab2 call mouse_check_125hz 
 01ed 24740000 nrtn user 
 01ee 20405abc call mouse_current_mult_update 
-01ef 204004c8 call p_mouse_data_xy_release 
+01ef 204004a3 call p_mouse_data_xy_release 
 01f0 20205b37 branch mouse_le_next + 12 
 
 p_gpio_set_wake:
@@ -650,7 +650,7 @@
 0203 202023e2 branch lpm_write_wait 
 
 p_mouse_lpm_before_common:
-0204 204004a8 call p_clear_wake 
+0204 20400483 call p_clear_wake 
 0205 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
 0206 2040550d call mouse_lpm_before_common + 1 
 0207 204054f9 call mouse_gpio_pd_idle 
@@ -928,100 +928,100 @@
 02c5 20600000 rtn 
 
 p_mouse_load_device_info_check:
-02c6 6fe0c141 fetch 1 ,mem_tx_power 
-02c7 67e0ca07 store 1 ,mem_normal_tx_power 
-02c8 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02c9 c40a0000 rtnbit0 mouse_enable_otp 
+02c6 704c0101 jam 1 ,mem_mouse_logo_enable_flag 
+02c7 6fe0c141 fetch 1 ,mem_tx_power 
+02c8 67e0ca07 store 1 ,mem_normal_tx_power 
+02c9 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02ca c40a0000 rtnbit0 mouse_enable_otp 
 
 p_mouse_load_otp_info_check:
-02ca 204002d5 call p_mouse_device_flag_temp_store 
-02cb 20405e43 call mouse_read_otp_dpi 
-02cc 20405db4 call mouse_read_otp_device_flag 
-02cd 204002e6 call p_mouse_device_flag_check 
-02ce 204002d2 call p_mouse_select_device_by_switch_check 
-02cf 204002d8 call p_mouse_read_otp_device_info 
-02d0 204002ee call p_mouse_read_otp_le_addr_increase_count_info 
-02d1 20205daa branch mouse_otp_load_app_initflag 
+02cb 204002d6 call p_mouse_device_flag_temp_store 
+02cc 20405e43 call mouse_read_otp_dpi 
+02cd 20405db4 call mouse_read_otp_device_flag 
+02ce 204002e7 call p_mouse_device_flag_check 
+02cf 204002d3 call p_mouse_select_device_by_switch_check 
+02d0 204002d9 call p_mouse_read_otp_device_info 
+02d1 204002ef call p_mouse_read_otp_le_addr_increase_count_info 
+02d2 20205daa branch mouse_otp_load_app_initflag 
 
 p_mouse_select_device_by_switch_check:
-02d2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02d3 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-02d4 204004d2 call p_mouse_check_select_device_by_switch 
+02d3 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02d4 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+02d5 204004ad call p_mouse_check_select_device_by_switch 
 
 p_mouse_device_flag_temp_store:
-02d5 6fe0c666 fetch 1 ,mem_device_flag 
-02d6 67e0ca06 store 1 ,mem_mouse_device_flag_temp 
-02d7 20600000 rtn 
+02d6 6fe0c666 fetch 1 ,mem_device_flag 
+02d7 67e0ca06 store 1 ,mem_mouse_device_flag_temp 
+02d8 20600000 rtn 
 
 p_mouse_read_otp_device_info:
-02d8 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02d9 c29f5dd1 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_read_otp_le_device1 
-02da 20205dcc branch mouse_read_otp_device_info 
+02d9 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02da c29f5dd1 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_read_otp_le_device1 
+02db 20205dcc branch mouse_read_otp_device_info 
 
 p_mouse_app_initflag_check:
-02db 6fe1468e fetch 2 ,mem_store_flag 
-02dc d840aa55 arg eeprom_init_flag ,temp 
-02dd 98467c00 isub temp ,null 
-02de 20228358 branch p_mouse_load_device_info ,zero 
-02df 6049468e storet 2 ,mem_store_flag 
-02e0 20405c9c call mouse_ble_init_address 
-02e1 20405c8c call mouse_load_default_dpi 
-02e2 58001122 setarg 0x1122 
-02e3 67e14695 store 2 ,mem_random_addr_increase_count 
+02dc 6fe1468e fetch 2 ,mem_store_flag 
+02dd d840aa55 arg eeprom_init_flag ,temp 
+02de 98467c00 isub temp ,null 
+02df 20228344 branch p_mouse_load_device_info ,zero 
+02e0 6049468e storet 2 ,mem_store_flag 
+02e1 20405c9c call mouse_ble_init_address 
+02e2 20405c8c call mouse_load_default_dpi 
+02e3 58001122 setarg 0x1122 
+02e4 67e14695 store 2 ,mem_random_addr_increase_count 
 
 p_mouse_device_flag_temp_load:
-02e4 6fe0ca06 fetch 1 ,mem_mouse_device_flag_temp 
-02e5 20205dca branch mouse_device_flag_load_end 
+02e5 6fe0ca06 fetch 1 ,mem_mouse_device_flag_temp 
+02e6 20205dca branch mouse_device_flag_load_end 
 
 p_mouse_device_flag_check:
-02e6 6fe0c666 fetch 1 ,mem_device_flag 
-02e7 1fe67c00 sub pdata ,0 ,null 
-02e8 202282e4 branch p_mouse_device_flag_temp_load ,zero 
-02e9 1fe67c04 sub pdata ,4 ,null 
-02ea 202282ec branch p_mouse_24g_init ,zero 
-02eb 20610000 rtn positive 
+02e7 6fe0c666 fetch 1 ,mem_device_flag 
+02e8 1fe67c00 sub pdata ,0 ,null 
+02e9 202282e5 branch p_mouse_device_flag_temp_load ,zero 
+02ea 1fe67c04 sub pdata ,4 ,null 
+02eb 202282ed branch p_mouse_24g_init ,zero 
+02ec 20610000 rtn positive 
 
 p_mouse_24g_init:
-02ec 70466600 jam mode_24g_device ,mem_device_flag 
-02ed 20600000 rtn 
+02ed 70466600 jam mode_24g_device ,mem_device_flag 
+02ee 20600000 rtn 
 
 p_mouse_read_otp_le_addr_increase_count_info:
-02ee 6fe0c666 fetch 1 ,mem_device_flag 
-02ef c1000000 rtneq mode_24g_device 
-02f0 6a4149fe fetchr regb ,2 ,mem_otp_offset_le_addr_increase_count 
-02f1 1a422600 copy regb ,regc 
+02ef 6fe0c666 fetch 1 ,mem_device_flag 
+02f0 c1000000 rtneq mode_24g_device 
+02f1 6a4149fe fetchr regb ,2 ,mem_otp_offset_le_addr_increase_count 
+02f2 1a422600 copy regb ,regc 
 
 p_mouse_read_otp_le_addr_increase_count_loop:
-02f2 20405e3d call mouse_read_otp_le_addr_increase_count_common 
-02f3 6fe149e0 fetch 2 ,mem_random_addr_increase_count_temp 
-02f4 203a02fc branch p_mouse_le_addr_increase_count_load ,blank 
-02f5 67e149de store 2 ,mem_random_addr_increase_count_last 
-02f6 1a60a602 increase 2 ,regc 
-02f7 6fe14a00 fetch 2 ,mem_otp_offset_le_addr_increase_count_end 
-02f8 9a667c00 isub regc ,null 
-02f9 242102fc nbranch p_mouse_le_addr_increase_count_load ,positive 
-02fa 1a622400 copy regc ,regb 
-02fb 202002f2 branch p_mouse_read_otp_le_addr_increase_count_loop 
+02f3 20405e3d call mouse_read_otp_le_addr_increase_count_common 
+02f4 6fe149e0 fetch 2 ,mem_random_addr_increase_count_temp 
+02f5 203a02fd branch p_mouse_le_addr_increase_count_load ,blank 
+02f6 67e149de store 2 ,mem_random_addr_increase_count_last 
+02f7 1a60a602 increase 2 ,regc 
+02f8 6fe14a00 fetch 2 ,mem_otp_offset_le_addr_increase_count_end 
+02f9 9a667c00 isub regc ,null 
+02fa 242102fd nbranch p_mouse_le_addr_increase_count_load ,positive 
+02fb 1a622400 copy regc ,regb 
+02fc 202002f3 branch p_mouse_read_otp_le_addr_increase_count_loop 
 
 p_mouse_le_addr_increase_count_load:
-02fc 6fe149de fetch 2 ,mem_random_addr_increase_count_last 
-02fd 67e14695 store 2 ,mem_random_addr_increase_count 
-02fe 20600000 rtn 
+02fd 6fe149de fetch 2 ,mem_random_addr_increase_count_last 
+02fe 67e14695 store 2 ,mem_random_addr_increase_count 
+02ff 20600000 rtn 
 
 p_mouse_store_device_info:
-02ff 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0300 c40a0000 rtnbit0 mouse_enable_otp 
+0300 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0301 c40a0000 rtnbit0 mouse_enable_otp 
 
 p_mouse_store_otp_device_info:
-0301 20400304 call p_mouse_write_otp_locall_addr 
-0302 20400309 call p_mouse_write_otp_device_flag 
-0303 20205cc1 branch mouse_store_otp_device_info + 1 
+0302 20400305 call p_mouse_write_otp_locall_addr 
+0303 20400309 call p_mouse_write_otp_device_flag 
+0304 20205cc1 branch mouse_store_otp_device_info + 1 
 
 p_mouse_write_otp_locall_addr:
-0304 6fe0c666 fetch 1 ,mem_device_flag 
-0305 c1000000 rtneq mode_24g_device 
-0306 c0008330 beq mode_bt_device1 ,p_mouse_write_otp_le_locall_addr1 
-0307 c0010344 beq mode_bt_device2 ,p_mouse_write_otp_le_locall_addr2 
+0305 6fe0c666 fetch 1 ,mem_device_flag 
+0306 c1000000 rtneq mode_24g_device 
+0307 c0008330 beq mode_bt_device1 ,p_mouse_write_otp_le_locall_addr1 
 0308 20600000 rtn 
 
 p_mouse_write_otp_device_flag:
@@ -1101,759 +1101,714 @@
 0342 1a622400 copy regc ,regb 
 0343 20206b45 branch otp_write 
 
-p_mouse_write_otp_le_locall_addr2:
-0344 6a4149f6 fetchr regb ,2 ,mem_otp_offset_le_locall_addr2 
-0345 1a422600 copy regb ,regc 
-
-p_mouse_write_otp_le_locall_addr2_loop:
-0346 20405e17 call mouse_read_otp_le_locall_addr2_common 
-0347 6fe349cd fetch 6 ,mem_mouse_le_locall_addr2_temp 
-0348 203a0350 branch p_mouse_le_local_addr2_store ,blank 
-0349 67e349c7 store 6 ,mem_mouse_le_locall_addr2_last 
-034a 1a60a606 increase 6 ,regc 
-034b 6fe149f8 fetch 2 ,mem_otp_offset_le_locall_addr2_end 
-034c 9a667c00 isub regc ,null 
-034d 24610000 nrtn positive 
-034e 1a622400 copy regc ,regb 
-034f 20200346 branch p_mouse_write_otp_le_locall_addr2_loop 
-
-p_mouse_le_local_addr2_store:
-0350 6fe349c7 fetch 6 ,mem_mouse_le_locall_addr2_last 
-0351 684b467b fetcht 6 ,mem_device2_locall_addr 
-0352 98467c00 isub temp ,null 
-0353 20628000 rtn zero 
-0354 df200006 arg 6 ,loopcnt 
-0355 da20467b arg mem_device2_locall_addr ,rega 
-0356 1a622400 copy regc ,regb 
-0357 20206b45 branch otp_write 
-
 p_mouse_load_device_info:
-0358 2040038e call p_mouse_le_locall_addr_init_check 
-0359 204003a6 call p_mouse_select_reconn_device 
-035a 2040035c call p_mouse_otp_load_dpi 
-035b 20205c90 branch mouse_load_device_info + 1 
+0344 2040037a call p_mouse_le_locall_addr_init_check 
+0345 20400389 call p_mouse_select_reconn_device 
+0346 20400348 call p_mouse_otp_load_dpi 
+0347 20205c90 branch mouse_load_device_info + 1 
 
 p_mouse_otp_load_dpi:
-035c 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-035d c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
-035e 6fe0c690 fetch 1 ,mem_mouse_dpi 
-035f c0005c94 beq 0 ,mouse_otp_load_dpi 
-0360 c0030362 beq 6 ,p_mouse_dpi_reinit 
-0361 20600000 rtn 
+0348 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0349 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
+034a 6fe0c690 fetch 1 ,mem_mouse_dpi 
+034b c0005c94 beq 0 ,mouse_otp_load_dpi 
+034c c003034e beq 6 ,p_mouse_dpi_reinit 
+034d 20600000 rtn 
 
 p_mouse_dpi_reinit:
-0362 70469000 jam mouse_dpi_level1 ,mem_mouse_dpi 
-0363 20600000 rtn 
+034e 70469000 jam mouse_dpi_level1 ,mem_mouse_dpi 
+034f 20600000 rtn 
 
 p_mouse_store_dpi_info_check:
-0364 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0365 c40a0000 rtnbit0 mouse_enable_otp 
+0350 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0351 c40a0000 rtnbit0 mouse_enable_otp 
 
 p_mouse_store_otp_dpi:
-0366 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
-0367 6a4149fa fetchr regb ,2 ,mem_otp_offset_dpi 
-0368 1a422600 copy regb ,regc 
+0352 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
+0353 6a4149fa fetchr regb ,2 ,mem_otp_offset_dpi 
+0354 1a422600 copy regb ,regc 
 
 p_mouse_otp_store_dpi_loop:
-0369 20405e51 call mouse_read_otp_dpi_common 
-036a 6fe0c9d4 fetch 1 ,mem_mouse_dpi_temp 
-036b 203a0373 branch p_mouse_otp_dpi_store ,blank 
-036c 67e0c9d3 store 1 ,mem_mouse_dpi_last 
-036d 1a60a601 increase 1 ,regc 
-036e 6fe149fc fetch 2 ,mem_otp_offset_dpi_end 
-036f 9a667c00 isub regc ,null 
-0370 24610000 nrtn positive 
-0371 1a622400 copy regc ,regb 
-0372 20200369 branch p_mouse_otp_store_dpi_loop 
+0355 20405e51 call mouse_read_otp_dpi_common 
+0356 6fe0c9d4 fetch 1 ,mem_mouse_dpi_temp 
+0357 203a035f branch p_mouse_otp_dpi_store ,blank 
+0358 67e0c9d3 store 1 ,mem_mouse_dpi_last 
+0359 1a60a601 increase 1 ,regc 
+035a 6fe149fc fetch 2 ,mem_otp_offset_dpi_end 
+035b 9a667c00 isub regc ,null 
+035c 24610000 nrtn positive 
+035d 1a622400 copy regc ,regb 
+035e 20200355 branch p_mouse_otp_store_dpi_loop 
 
 p_mouse_otp_dpi_store:
-0373 6fe0c9d3 fetch 1 ,mem_mouse_dpi_last 
-0374 1fe17ef0 and pdata ,0xf0 ,pdata 
-0375 203a037d branch p_mouse_dpi_store_last_check ,blank 
-0376 6fe0c690 fetch 1 ,mem_mouse_dpi 
-0377 2040038b call p_mouse_dpi_otp_store_judge 
-0378 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
+035f 6fe0c9d3 fetch 1 ,mem_mouse_dpi_last 
+0360 1fe17ef0 and pdata ,0xf0 ,pdata 
+0361 203a0369 branch p_mouse_dpi_store_last_check ,blank 
+0362 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0363 20400377 call p_mouse_dpi_otp_store_judge 
+0364 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
 
 p_mouse_dpi_store_end:
-0379 df200001 arg 1 ,loopcnt 
-037a 1a622400 copy regc ,regb 
-037b da2049d5 arg mem_mouse_otp_dpi_value ,rega 
-037c 20206b45 branch otp_write 
+0365 df200001 arg 1 ,loopcnt 
+0366 1a622400 copy regc ,regb 
+0367 da2049d5 arg mem_mouse_otp_dpi_value ,rega 
+0368 20206b45 branch otp_write 
 
 p_mouse_dpi_store_last_check:
-037d 6848c9d3 fetcht 1 ,mem_mouse_dpi_last 
-037e 6fe0c690 fetch 1 ,mem_mouse_dpi 
-037f 2040038b call p_mouse_dpi_otp_store_judge 
-0380 98467c00 isub temp ,null 
-0381 20628000 rtn zero 
-0382 1ff27e00 lshift4 pdata ,pdata 
-0383 9840fe00 iadd temp ,pdata 
-0384 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
-0385 1a627e00 copy regc ,pdata 
-0386 684949fa fetcht 2 ,mem_otp_offset_dpi 
-0387 98467c00 isub temp ,null 
-0388 20228379 branch p_mouse_dpi_store_end ,zero 
-0389 1a60a7ff increase -1 ,regc 
-038a 20200379 branch p_mouse_dpi_store_end 
+0369 6848c9d3 fetcht 1 ,mem_mouse_dpi_last 
+036a 6fe0c690 fetch 1 ,mem_mouse_dpi 
+036b 20400377 call p_mouse_dpi_otp_store_judge 
+036c 98467c00 isub temp ,null 
+036d 20628000 rtn zero 
+036e 1ff27e00 lshift4 pdata ,pdata 
+036f 9840fe00 iadd temp ,pdata 
+0370 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
+0371 1a627e00 copy regc ,pdata 
+0372 684949fa fetcht 2 ,mem_otp_offset_dpi 
+0373 98467c00 isub temp ,null 
+0374 20228365 branch p_mouse_dpi_store_end ,zero 
+0375 1a60a7ff increase -1 ,regc 
+0376 20200365 branch p_mouse_dpi_store_end 
 
 p_mouse_dpi_otp_store_judge:
-038b c1800000 rtnne mouse_dpi_level1 
-038c 1fe0fe06 increase 6 ,pdata 
-038d 20600000 rtn 
+0377 c1800000 rtnne mouse_dpi_level1 
+0378 1fe0fe06 increase 6 ,pdata 
+0379 20600000 rtn 
 
 p_mouse_le_locall_addr_init_check:
-038e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-038f c29f0395 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_le_addr1_init_check 
-0390 6fe0c666 fetch 1 ,mem_device_flag 
-0391 c1000000 rtneq mode_24g_device 
-0392 c0008395 beq mode_bt_device1 ,p_mouse_le_addr1_init_check 
-0393 c001039c beq mode_bt_device2 ,p_mouse_le_addr2_init_check 
-0394 20600000 rtn 
+037a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+037b c29f0380 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_le_addr1_init_check 
+037c 6fe0c666 fetch 1 ,mem_device_flag 
+037d c1000000 rtneq mode_24g_device 
+037e c0008380 beq mode_bt_device1 ,p_mouse_le_addr1_init_check 
+037f 20600000 rtn 
 
 p_mouse_le_addr1_init_check:
-0395 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0396 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
-0397 98467c00 isub temp ,null 
-0398 24628000 nrtn zero 
-0399 6fe342db fetch 6 ,mem_le_lap 
-039a 67e3466e store 6 ,mem_device1_locall_addr 
-039b 20600000 rtn 
-
-p_mouse_le_addr2_init_check:
-039c 6fe3467b fetch 6 ,mem_device2_locall_addr 
-039d 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
-039e 98467c00 isub temp ,null 
-039f 24628000 nrtn zero 
-03a0 6fe342db fetch 6 ,mem_le_lap 
-03a1 1fe0ff00 add pdata ,0x0100 ,pdata 
-03a2 67e3467b store 6 ,mem_device2_locall_addr 
-03a3 20600000 rtn 
+0380 6fe3466e fetch 6 ,mem_device1_locall_addr 
+0381 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
+0382 98467c00 isub temp ,null 
+0383 24628000 nrtn zero 
+0384 6fe342db fetch 6 ,mem_le_lap 
+0385 67e3466e store 6 ,mem_device1_locall_addr 
+0386 20600000 rtn 
 
 p_mouse_buletooth_fast_conn_end:
-03a4 204003a6 call p_mouse_select_reconn_device 
-03a5 20205a9c branch mouse_buletooth_fast_conn_end + 2 
+0387 20400389 call p_mouse_select_reconn_device 
+0388 20205a9c branch mouse_buletooth_fast_conn_end + 2 
 
 p_mouse_select_reconn_device:
-03a6 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03a7 c29f03ad bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_load_le_device1 
+0389 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+038a c29f038f bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_load_le_device1 
 
 p_mouse_select_reconn_device_start:
-03a8 6fe0c666 fetch 1 ,mem_device_flag 
-03a9 c1000000 rtneq mode_24g_device 
-03aa c00083ad beq mode_bt_device1 ,p_mouse_load_le_device1 
-03ab c00103b2 beq mode_bt_device2 ,p_mouse_load_le_device2 
-03ac 20600000 rtn 
+038b 6fe0c666 fetch 1 ,mem_device_flag 
+038c c1000000 rtneq mode_24g_device 
+038d c000838f beq mode_bt_device1 ,p_mouse_load_le_device1 
+038e 20600000 rtn 
 
 p_mouse_load_le_device1:
-03ad 6fe34668 fetch 6 ,mem_device1_addr 
-03ae 67e34116 store 6 ,mem_hci_plap 
-03af 6fe3466e fetch 6 ,mem_device1_locall_addr 
+038f 6fe34668 fetch 6 ,mem_device1_addr 
+0390 67e34116 store 6 ,mem_hci_plap 
+0391 6fe3466e fetch 6 ,mem_device1_locall_addr 
 
 p_mouse_le_lap_store:
-03b0 67e342db store 6 ,mem_le_lap 
-03b1 20600000 rtn 
-
-p_mouse_load_le_device2:
-03b2 6fe34675 fetch 6 ,mem_device2_addr 
-03b3 67e34116 store 6 ,mem_hci_plap 
-03b4 6fe3467b fetch 6 ,mem_device2_locall_addr 
-03b5 202003b0 branch p_mouse_le_lap_store 
+0392 67e342db store 6 ,mem_le_lap 
+0393 20600000 rtn 
 
 p_mouse_store_remote_bdaddr:
-03b6 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03b7 c4010000 rtnbit0 mouse_store_eeprom_flag 
-03b8 d8e00002 arg mouse_store_eeprom_flag ,queue 
-03b9 20405f04 call mouse_disable_function_flag 
-03ba 20405c4a call mouse_check_device_addr 
-03bb 204003bd call p_mouse_before_store_reconn_info 
-03bc 20205ca3 branch mouse_store_device_info_delay 
+0394 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0395 c4010000 rtnbit0 mouse_store_eeprom_flag 
+0396 d8e00002 arg mouse_store_eeprom_flag ,queue 
+0397 20405f04 call mouse_disable_function_flag 
+0398 20405c4a call mouse_check_device_addr 
+0399 2040039b call p_mouse_before_store_reconn_info 
+039a 20205ca3 branch mouse_store_device_info_delay 
 
 p_mouse_before_store_reconn_info:
-03bd 6fe0c666 fetch 1 ,mem_device_flag 
-03be c00083c1 beq mode_bt_device1 ,p_mouse_store_le_device1 
-03bf c00103c6 beq mode_bt_device2 ,p_mouse_store_le_device2 
-03c0 20600000 rtn 
+039b 6fe0c666 fetch 1 ,mem_device_flag 
+039c c000839e beq mode_bt_device1 ,p_mouse_store_le_device1 
+039d 20600000 rtn 
 
 p_mouse_store_le_device1:
-03c1 6fe30178 fetch 6 ,mem_le_plap 
-03c2 67e34668 store 6 ,mem_device1_addr 
-03c3 6fe342db fetch 6 ,mem_le_lap 
-03c4 67e3466e store 6 ,mem_device1_locall_addr 
-03c5 20600000 rtn 
-
-p_mouse_store_le_device2:
-03c6 6fe30178 fetch 6 ,mem_le_plap 
-03c7 67e34675 store 6 ,mem_device2_addr 
-03c8 6fe342db fetch 6 ,mem_le_lap 
-03c9 67e3467b store 6 ,mem_device2_locall_addr 
-03ca 20600000 rtn 
+039e 6fe30178 fetch 6 ,mem_le_plap 
+039f 67e34668 store 6 ,mem_device1_addr 
+03a0 6fe342db fetch 6 ,mem_le_lap 
+03a1 67e3466e store 6 ,mem_device1_locall_addr 
+03a2 20600000 rtn 
 
 p_mouse_bb_event_timer:
-03cb 204003e1 call p_mouse_le_send_conn_param_update_timer 
-03cc 2040614d call mouse_low_voltage_led_timer 
-03cd 2040553d call mouse_adc_read 
-03ce 20406110 call mouse_logo_led_on_timer 
-03cf 204061b1 call mouse_led_multi_timer 
-03d0 2040611e call mouse_dpi_led_blink_delay_timer 
-03d1 204003eb call p_mouse_commbination_dpi_check_timer 
-03d2 204000f5 call p_mouse_check_mouse_key_long_press 
-03d3 2040328e call g24_pair_timeout_timer 
-03d4 20403531 call g24_reconn_timeout_timer 
-03d5 20405fdd call mouse_24g_long_sleep_param_update_timer 
-03d6 2040572c call mouse_dpi_key_check_long_press 
-03d7 20405b9b call mouse_bt_discovery_check 
-03d8 20405bab call mouse_commbination_key_process 
-03d9 20405bce call mouse_check_discovery_timeout_timer 
-03da 20405bd3 call mouse_check_direct_timeout_timer 
-03db 20405be1 call mouse_le_enable_att_list_timer 
-03dc 20405bee call mouse_le_battery_updata_timer 
-03dd 20405be4 call mouse_le_send_smp_security_request_timer 
-03de 20405bfb call mouse_check_reconnect_delay_long_sleep 
-03df 204003e4 call p_mouse_current_mult_update_timer 
-03e0 20205b98 branch mouse_bb_event_timer_next 
+03a3 204003ca call p_mouse_le_send_conn_param_update_timer 
+03a4 2040614d call mouse_low_voltage_led_timer 
+03a5 2040553d call mouse_adc_read 
+03a6 204003b8 call p_mouse_logo_led_on_timer 
+03a7 204061b1 call mouse_led_multi_timer 
+03a8 2040611e call mouse_dpi_led_blink_delay_timer 
+03a9 204003bb call p_mouse_dpi_key_check_long_press 
+03aa 204000f5 call p_mouse_check_mouse_key_long_press 
+03ab 2040328e call g24_pair_timeout_timer 
+03ac 20403531 call g24_reconn_timeout_timer 
+03ad 20405fdd call mouse_24g_long_sleep_param_update_timer 
+03ae 20405b9b call mouse_bt_discovery_check 
+03af 20405bab call mouse_commbination_key_process 
+03b0 20405bce call mouse_check_discovery_timeout_timer 
+03b1 20405bd3 call mouse_check_direct_timeout_timer 
+03b2 20405be1 call mouse_le_enable_att_list_timer 
+03b3 20405bee call mouse_le_battery_updata_timer 
+03b4 20405be4 call mouse_le_send_smp_security_request_timer 
+03b5 20405bfb call mouse_check_reconnect_delay_long_sleep 
+03b6 204003cd call p_mouse_current_mult_update_timer 
+03b7 20205b98 branch mouse_bb_event_timer_next 
+
+p_mouse_logo_led_on_timer:
+03b8 6fe0cc01 fetch 1 ,mem_mouse_logo_enable_flag 
+03b9 207a0000 rtn blank 
+03ba 20206110 branch mouse_logo_led_on_timer 
+
+p_mouse_dpi_key_check_long_press:
+03bb 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03bc c2945730 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
+03bd c29b03bf bbit1 mouse_enable_dpi_key_long_press_disconvery ,p_mouse_dpi_long_control_logo 
+03be 20600000 rtn 
+
+p_mouse_dpi_long_control_logo:
+03bf 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+03c0 c1808000 rtnne dpi_button_state_down 
+03c1 da60497c arg mem_bt_discovery_count ,regc 
+03c2 da4003c4 arg p_mouse_long_dpi_control_logo_handle ,regb 
+03c3 202042e0 branch timer_single_step 
+
+p_mouse_long_dpi_control_logo_handle:
+03c4 70487b01 jam 1 ,mem_mouse_dpi_long_press_flag 
+03c5 6fe0cc01 fetch 1 ,mem_mouse_logo_enable_flag 
+03c6 79407e00 setflip 0 ,pdata 
+03c7 67e0cc01 store 1 ,mem_mouse_logo_enable_flag 
+03c8 c000611a beq 0 ,mouse_logo_led_off 
+03c9 20600000 rtn 
 
 p_mouse_le_send_conn_param_update_timer:
-03e1 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-03e2 da405aef arg mouse_updata_le_param ,regb 
-03e3 202042e0 branch timer_single_step 
+03ca da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+03cb da405aef arg mouse_updata_le_param ,regb 
+03cc 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_update_timer:
-03e4 da60477e arg mem_mouse_current_mult_timer ,regc 
-03e5 da4003e7 arg p_mouse_current_mult_reinit ,regb 
-03e6 202042e0 branch timer_single_step 
+03cd da60477e arg mem_mouse_current_mult_timer ,regc 
+03ce da4003d0 arg p_mouse_current_mult_reinit ,regb 
+03cf 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_reinit:
-03e7 6fe0c96b fetch 1 ,mem_lpm_mult_init 
-03e8 67e0c0c0 store 1 ,mem_lpm_mult 
-03e9 70477d03 jam 3 ,mem_mouse_long_mult_flag 
-03ea 20600000 rtn 
-
-p_mouse_commbination_dpi_check_timer:
-03eb 6fe0cb1f fetch 1 ,mem_mouse_commbination_key_dpi 
-03ec c17f8000 rtneq gpio_disable 
-03ed 6fe0c701 fetch 1 ,mem_mouse_multi_led_powon_timer 
-03ee 247a0000 nrtn blank 
-03ef 20405888 call mouse_check_key_gpio 
-03f0 1a217e07 and rega ,0x07 ,pdata 
-03f1 6848cb1f fetcht 1 ,mem_mouse_commbination_key_dpi 
-03f2 98467c00 isub temp ,null 
-03f3 202283f6 branch p_mouse_commbination_dpi_check ,zero 
-03f4 704b1e01 jam 1 ,mem_commbination_dpi_timer 
-03f5 20600000 rtn 
-
-p_mouse_commbination_dpi_check:
-03f6 da604b1e arg mem_commbination_dpi_timer ,regc 
-03f7 da4056fa arg mouse_dpi_process + 3 ,regb 
-03f8 202042e0 branch timer_single_step 
+03d0 6fe0c96b fetch 1 ,mem_lpm_mult_init 
+03d1 67e0c0c0 store 1 ,mem_lpm_mult 
+03d2 70477d03 jam 3 ,mem_mouse_long_mult_flag 
+03d3 20600000 rtn 
 
 p_mouse_start_discovery:
-03f9 204059ed call mouse_sensor_powerdown 
-03fa 20205c1b branch mouse_start_discovery + 1 
+03d4 204059ed call mouse_sensor_powerdown 
+03d5 20205c1b branch mouse_start_discovery + 1 
 
 p_mouse_priority_bb_event:
-03fb 1a627e00 copy regc ,pdata 
-03fc c0200410 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-03fd c00a8415 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-03fe c0190407 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-03ff c01e0431 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0400 c01c8441 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0401 c01d0446 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0402 c00a0404 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0403 20205ac3 branch mouse_priority_bb_event + 2 
+03d6 1a627e00 copy regc ,pdata 
+03d7 c02003eb beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+03d8 c00a83f0 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+03d9 c01903e2 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+03da c01e040c beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+03db c01c841c beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+03dc c01d0421 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+03dd c00a03df beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+03de 20205ac3 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-0404 58000000 setarg 0 
-0405 67e24bfd store 4 ,mem_le_conn_first_rcv 
-0406 20205ad0 branch mouse_le_bb_event_connected 
+03df 58000000 setarg 0 
+03e0 67e24bfd store 4 ,mem_le_conn_first_rcv 
+03e1 20205ad0 branch mouse_le_bb_event_connected 
 
 p_mouse_le_ll_start_encryt:
-0407 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-0408 c000840b beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0409 70484414 jam 20 ,mem_le_start_encrypt_timer 
-040a 2020040d branch p_mouse_le_ll_reconn_start_encryt_new 
+03e2 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+03e3 c00083e6 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+03e4 70484414 jam 20 ,mem_le_start_encrypt_timer 
+03e5 202003e8 branch p_mouse_le_ll_reconn_start_encryt_new 
 
 p_mouse_le_ll_reconn_start_encryt:
-040b 20405aef call mouse_updata_le_param 
-040c 70484405 jam 5 ,mem_le_start_encrypt_timer 
+03e6 20405aef call mouse_updata_le_param 
+03e7 70484405 jam 5 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_reconn_start_encryt_new:
-040d 6fe0cbfc fetch 1 ,mem_le_conn_rcv_new 
-040e 67e0cbfd store 1 ,mem_le_conn_first_rcv 
-040f 20205af6 branch mouse_le_ll_enable_start_enc_flag 
+03e8 6fe0cbfc fetch 1 ,mem_le_conn_rcv_new 
+03e9 67e0cbfd store 1 ,mem_le_conn_first_rcv 
+03ea 20205af6 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0410 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
-0411 247a0000 nrtn blank 
-0412 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
-0413 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-0414 20600000 rtn 
+03eb 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
+03ec 247a0000 nrtn blank 
+03ed 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
+03ee 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+03ef 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-0415 58000000 setarg 0 
-0416 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
-0417 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-0418 58000000 setarg 0 
-0419 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
-041a 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
-041b d8400006 arg le_interval_7_5ms ,temp 
-041c 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-041d c28d841f bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
-041e d8400007 arg le_interval_8_75ms ,temp 
+03f0 58000000 setarg 0 
+03f1 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
+03f2 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+03f3 58000000 setarg 0 
+03f4 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
+03f5 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
+03f6 d8400006 arg le_interval_7_5ms ,temp 
+03f7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03f8 c28d83fa bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
+03f9 d8400007 arg le_interval_8_75ms ,temp 
 
 p_mouse_le_bb_disconnected_next:
-041f 604942d3 storet 2 ,mem_le_interval_min 
-0420 604942d5 storet 2 ,mem_le_interval_min + 2 
-0421 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-0422 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
-0423 204029cb call le_clr_config_more_data 
+03fa 604942d3 storet 2 ,mem_le_interval_min 
+03fb 604942d5 storet 2 ,mem_le_interval_min + 2 
+03fc 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+03fd 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
+03fe 204029cb call le_clr_config_more_data 
 
 p_mouse_bb_disconnected:
-0424 20405b7b call mouse_bb_discon_clear_stack 
-0425 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-0426 c2838428 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
-0427 20205b79 branch mouse_bb_disconnected + 3 
+03ff 20405b7b call mouse_bb_discon_clear_stack 
+0400 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0401 c2838403 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
+0402 20205b79 branch mouse_bb_disconnected + 3 
 
 p_mouse4_0_event_bb_disconn:
-0428 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-0429 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-042a 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-042b 1fe17e03 and pdata ,0x03 ,pdata 
-042c 20405b21 call mouse_le_clean_connect_flag 
-042d c081d4a9 bne 0x03 ,mouse_start_reconnect 
-042e 6fe0cc00 fetch 1 ,mem_le_check_retransmit_discon_flag 
-042f 243a54a9 nbranch mouse_start_reconnect ,blank 
-0430 202054cd branch mouse_app_enter_hibernate 
+0403 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0404 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0405 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+0406 1fe17e03 and pdata ,0x03 ,pdata 
+0407 20405b21 call mouse_le_clean_connect_flag 
+0408 c081d4a9 bne 0x03 ,mouse_start_reconnect 
+0409 6fe0cc00 fetch 1 ,mem_le_check_retransmit_discon_flag 
+040a 243a54a9 nbranch mouse_start_reconnect ,blank 
+040b 202054cd branch mouse_app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-0431 6fe2458f fetch 4 ,mem_24g_addr 
-0432 67e245e8 store 4 ,mem_24g_receiver_addr 
-0433 67e24691 store 4 ,mem_mouse_24g_addr 
-0434 2040355a call g24_ch_syncword_crc8_init 
-0435 20405c0b call mouse_no_data_timer_init 
-0436 2040618e call mouse_device_poweron_led_config 
-0437 20405a73 call mouse_init_sensor_reset 
-0438 70477d00 jam 0 ,mem_mouse_long_mult_flag 
-0439 7045fc00 jam 0 ,mem_24g_conn_sm 
-043a 7045e200 jam 0 ,mem_24g_reconn_type 
-043b 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
-043c 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-043d 98467c00 isub temp ,null 
-043e 20628000 rtn zero 
-043f 20400443 call p_mouse_fetch_normal_tx_power 
-0440 20206042 branch mouse_24g_first_store_reconn_info 
+040c 6fe2458f fetch 4 ,mem_24g_addr 
+040d 67e245e8 store 4 ,mem_24g_receiver_addr 
+040e 67e24691 store 4 ,mem_mouse_24g_addr 
+040f 2040355a call g24_ch_syncword_crc8_init 
+0410 20405c0b call mouse_no_data_timer_init 
+0411 2040618e call mouse_device_poweron_led_config 
+0412 20405a73 call mouse_init_sensor_reset 
+0413 70477d00 jam 0 ,mem_mouse_long_mult_flag 
+0414 7045fc00 jam 0 ,mem_24g_conn_sm 
+0415 7045e200 jam 0 ,mem_24g_reconn_type 
+0416 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+0417 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+0418 98467c00 isub temp ,null 
+0419 20628000 rtn zero 
+041a 2040041e call p_mouse_fetch_normal_tx_power 
+041b 20206042 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_pairing_complete:
-0441 20400443 call p_mouse_fetch_normal_tx_power 
-0442 20206084 branch mouse_24g_pairing_complete 
+041c 2040041e call p_mouse_fetch_normal_tx_power 
+041d 20206084 branch mouse_24g_pairing_complete 
 
 p_mouse_fetch_normal_tx_power:
-0443 6fe0ca07 fetch 1 ,mem_normal_tx_power 
-0444 67e0c141 store 1 ,mem_tx_power 
-0445 20206016 branch mouse_soft_agc_disable 
+041e 6fe0ca07 fetch 1 ,mem_normal_tx_power 
+041f 67e0c141 store 1 ,mem_tx_power 
+0420 20206016 branch mouse_soft_agc_disable 
 
 p_mouse_24g_attempt_fail:
-0446 20400443 call p_mouse_fetch_normal_tx_power 
-0447 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
-0448 c1008000 rtneq dpi_button_state_down 
-0449 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
-044a 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
-044b 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
-044c c0028458 beq pair_and_receiver ,p_mouse_24g_auto_pair_attempt_fail 
-044d c0008450 beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
-044e c001845f beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-044f 20206055 branch mouse_24g_attempt_fail + 2 
+0421 2040041e call p_mouse_fetch_normal_tx_power 
+0422 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+0423 c1008000 rtneq dpi_button_state_down 
+0424 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
+0425 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
+0426 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+0427 c0028433 beq pair_and_receiver ,p_mouse_24g_auto_pair_attempt_fail 
+0428 c000842b beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
+0429 c001843a beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+042a 20206055 branch mouse_24g_attempt_fail + 2 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0450 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0451 c29f0454 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0452 c2980454 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-0453 20206062 branch mouse_24g_fast_conn_attempt_fail + 3 
+042b 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+042c c29f042f bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+042d c298042f bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+042e 20206062 branch mouse_24g_fast_conn_attempt_fail + 3 
 
 p_mouse_24g_start_auto_pair:
-0454 6fe145d6 fetch 2 ,mem_24g_pair_timeout_init 
-0455 67e145de store 2 ,mem_24g_reconn_timeout 
-0456 7045e205 jam pair_and_receiver ,mem_24g_reconn_type 
-0457 20203534 branch g24_reconn_start 
+042f 6fe145d6 fetch 2 ,mem_24g_pair_timeout_init 
+0430 67e145de store 2 ,mem_24g_reconn_timeout 
+0431 7045e205 jam pair_and_receiver ,mem_24g_reconn_type 
+0432 20203534 branch g24_reconn_start 
 
 p_mouse_24g_auto_pair_attempt_fail:
-0458 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0459 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-045a 6fe0c71b fetch 1 ,mem_device_number 
-045b c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+0433 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0434 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0435 6fe0c71b fetch 1 ,mem_device_number 
+0436 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_first_bluetooth_reconnect:
-045c 20406018 call mouse_24g_stop 
-045d 70466601 jam mode_bt_device1 ,mem_device_flag 
-045e 20205491 branch mouse_le_fast_conn_judge 
+0437 20406018 call mouse_24g_stop 
+0438 70466601 jam mode_bt_device1 ,mem_device_flag 
+0439 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse_reconn_dongle_attempt_fail:
-045f 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0460 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-0461 c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
-0462 20200454 branch p_mouse_24g_start_auto_pair 
+043a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+043b c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+043c c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
+043d 2020042f branch p_mouse_24g_start_auto_pair 
 
 p_mouse_start_work:
-0463 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0464 c29f0468 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
-0465 6fe0c666 fetch 1 ,mem_device_flag 
-0466 c0000473 beq mode_24g_device ,p_mouse_24g_start_mode 
-0467 20205491 branch mouse_le_fast_conn_judge 
+043e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+043f c29f0443 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
+0440 6fe0c666 fetch 1 ,mem_device_flag 
+0441 c000044e beq mode_24g_device ,p_mouse_24g_start_mode 
+0442 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse_24g_first_start_auto_pair_mode:
-0468 204054ac call mouse_wakeup_from_power_check 
-0469 2034046f branch p_mouse_24g_first_start_reconn ,user 
+0443 204054ac call mouse_wakeup_from_power_check 
+0444 2034044a branch p_mouse_24g_first_start_reconn ,user 
 
 p_mouse_24g_reconn_general_dongle:
-046a 70466600 jam mode_24g_device ,mem_device_flag 
-046b 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-046c 67e145de store 2 ,mem_24g_reconn_timeout 
-046d 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-046e 20203534 branch g24_reconn_start 
+0445 70466600 jam mode_24g_device ,mem_device_flag 
+0446 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0447 67e145de store 2 ,mem_24g_reconn_timeout 
+0448 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+0449 20203534 branch g24_reconn_start 
 
 p_mouse_24g_first_start_reconn:
-046f 6fe0c666 fetch 1 ,mem_device_flag 
-0470 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
-0471 20405aa8 call mouse_bluetooth_fast_conn_disable 
-0472 2020045c branch p_mouse_24g_first_bluetooth_reconnect 
+044a 6fe0c666 fetch 1 ,mem_device_flag 
+044b c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+044c 20405aa8 call mouse_bluetooth_fast_conn_disable 
+044d 20200437 branch p_mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_start_mode:
-0473 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0474 c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-0475 20406195 call mouse_device_24g_pair_led_config 
-0476 204054ac call mouse_wakeup_from_power_check 
-0477 20346067 branch mouse_24g_reconn_dongle_start ,user 
-0478 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0479 c298046a bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
-047a 20206023 branch mouse_24g_start_mode + 7 
+044e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+044f c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0450 20406195 call mouse_device_24g_pair_led_config 
+0451 204054ac call mouse_wakeup_from_power_check 
+0452 20346067 branch mouse_24g_reconn_dongle_start ,user 
+0453 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0454 c2980445 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+0455 20206023 branch mouse_24g_start_mode + 7 
 
 p_mouse_idle:
-047b 2040620e call mouse_low_voltage_led_no_enter_lpm 
-047c 204078aa call ui_check_paring_button 
-047d 20400481 call p_mouse_dpi_check 
-047e 20205e61 branch mouse_idle + 4 
+0456 2040620e call mouse_low_voltage_led_no_enter_lpm 
+0457 204078aa call ui_check_paring_button 
+0458 2040045c call p_mouse_dpi_check 
+0459 20205e61 branch mouse_idle + 4 
 
 p_mouse_dpi_check_retransmit:
-047f 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0480 c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
+045a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+045b c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
 
 p_mouse_dpi_check:
-0481 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-0482 c17f8000 rtneq gpio_disable 
-0483 704654ff jam 0xff ,mem_matrix_public_gpio 
-0484 da200000 arg 0 ,rega 
-0485 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
-0486 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-0487 2040048e call p_mouse_dpi_key_check 
-0488 204056c1 call mouse_dpi_check_next 
-0489 6fe0cb22 fetch 1 ,mem_mouse_martix_flag 
-048a 207a0000 rtn blank 
-048b 6fe0cb21 fetch 1 ,mem_mouse_martix_temp_gpio 
-048c 67e0c654 store 1 ,mem_matrix_public_gpio 
-048d 202058df branch mouse_matrix_public_gpio_reset 
+045c 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+045d c17f8000 rtneq gpio_disable 
+045e 704654ff jam 0xff ,mem_matrix_public_gpio 
+045f da200000 arg 0 ,rega 
+0460 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
+0461 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0462 20400469 call p_mouse_dpi_key_check 
+0463 204056c1 call mouse_dpi_check_next 
+0464 6fe0cb22 fetch 1 ,mem_mouse_martix_flag 
+0465 207a0000 rtn blank 
+0466 6fe0cb21 fetch 1 ,mem_mouse_martix_temp_gpio 
+0467 67e0c654 store 1 ,mem_matrix_public_gpio 
+0468 202058df branch mouse_matrix_public_gpio_reset 
 
 p_mouse_dpi_key_check:
-048e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-048f c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-0490 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
-0491 1fe22600 copy pdata ,regc 
-0492 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
-0493 c07f8495 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-0494 202056ce branch mouse_dpi_key_check_next 
+0469 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+046a c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+046b 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
+046c 1fe22600 copy pdata ,regc 
+046d 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
+046e c07f8470 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+046f 202056ce branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-0495 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-0496 20405946 call mouse_gpio_config_output_low 
-0497 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0470 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+0471 20405946 call mouse_gpio_config_output_low 
+0472 6848c649 fetcht 1 ,mem_dpi_button_gpio 
 
 p_mouse_3io6key_check:
-0498 1a627e00 copy regc ,pdata 
-0499 67e0c978 store 1 ,mem_mouse_key_status 
-049a 1fe3fe00 lshift pdata ,pdata 
-049b 1fe22400 copy pdata ,regb 
-049c 18422600 copy temp ,regc 
-049d 204055b1 call mouse_gpio_config_input_pd 
-049e 1a620400 copy regc ,temp 
-049f 20406ee6 call gpio_get_bit 
-04a0 7d20a400 nsetflag true ,0 ,regb 
-04a1 2040593d call mouse_check_press 
-04a2 20205929 branch mouse_check_key_connect_gnd_1 
+0473 1a627e00 copy regc ,pdata 
+0474 67e0c978 store 1 ,mem_mouse_key_status 
+0475 1fe3fe00 lshift pdata ,pdata 
+0476 1fe22400 copy pdata ,regb 
+0477 18422600 copy temp ,regc 
+0478 204055b1 call mouse_gpio_config_input_pd 
+0479 1a620400 copy regc ,temp 
+047a 20406ee6 call gpio_get_bit 
+047b 7d20a400 nsetflag true ,0 ,regb 
+047c 2040593d call mouse_check_press 
+047d 20205929 branch mouse_check_key_connect_gnd_1 
 
 p_g24_short_sleep:
-04a3 204036b4 call g24_lpm_wait 
-04a4 24740000 nrtn user 
-04a5 204036be call g24_setgpio_lpm_before 
-04a6 204004a8 call p_clear_wake 
-04a7 2020361b branch g24_short_sleep + 5 
+047e 204036b4 call g24_lpm_wait 
+047f 24740000 nrtn user 
+0480 204036be call g24_setgpio_lpm_before 
+0481 20400483 call p_clear_wake 
+0482 2020361b branch g24_short_sleep + 5 
 
 p_clear_wake:
-04a8 58000000 setarg 0 
-04a9 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-04aa 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
-04ab 20600000 rtn 
+0483 58000000 setarg 0 
+0484 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+0485 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
+0486 20600000 rtn 
 
 p_mouse_setgpio_hibernate:
-04ac 20405a92 call mouse_set_sdio_high 
-04ad 204004a8 call p_clear_wake 
-04ae 204056a9 call mouse_before_hibernate_wheel_gpio_set 
-04af 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-04b0 20406ef7 call gpio_out_active 
-04b1 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-04b2 20406ed3 call gpio_clr_wake 
-04b3 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
-04b4 20405943 call mouse_gpio_config_output_high 
-04b5 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04b6 204055ab call mouse_gpio_set_pupd_by_input 
-04b7 d8400015 arg 21 ,temp 
-04b8 204055b5 call mouse_gpio_config_input_pu 
-04b9 2040611a call mouse_logo_led_off 
-04ba 20400204 call p_mouse_lpm_before_common 
-04bb 202054e2 branch mouse_setgpio_hibernate_next 
+0487 20405a92 call mouse_set_sdio_high 
+0488 20400483 call p_clear_wake 
+0489 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+048a 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+048b 20406ef7 call gpio_out_active 
+048c 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+048d 20406ed3 call gpio_clr_wake 
+048e 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
+048f 20405943 call mouse_gpio_config_output_high 
+0490 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0491 204055ab call mouse_gpio_set_pupd_by_input 
+0492 d8400015 arg 21 ,temp 
+0493 204055b5 call mouse_gpio_config_input_pu 
+0494 2040611a call mouse_logo_led_off 
+0495 20400204 call p_mouse_lpm_before_common 
+0496 202054e2 branch mouse_setgpio_hibernate_next 
 
 p_mouse_24g_package_data:
-04bc c6930000 rtnmark0 mark_24g 
-04bd 20405601 call mouse_motion 
-04be 24740000 nrtn user 
-04bf 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
-04c0 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-04c1 245a04d0 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-04c2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-04c3 c30b04c6 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-04c4 6fe0c96c fetch 1 ,mem_customer_key 
-04c5 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
+0497 c6930000 rtnmark0 mark_24g 
+0498 20405601 call mouse_motion 
+0499 24740000 nrtn user 
+049a 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
+049b 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+049c 245a04ab ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+049d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+049e c30b04a1 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+049f 6fe0c96c fetch 1 ,mem_customer_key 
+04a0 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-04c6 204004c8 call p_mouse_data_xy_release 
-04c7 202060a2 branch mouse_24g_mouse_package_data + 1 
+04a1 204004a3 call p_mouse_data_xy_release 
+04a2 202060a2 branch mouse_24g_mouse_package_data + 1 
 
 p_mouse_data_xy_release:
-04c8 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-04c9 c1ff8000 rtnne gpio_disable 
-04ca 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
-04cb 207a0000 rtn blank 
-04cc 1fe0ffff increase -1 ,pdata 
-04cd 67e0c77d store 1 ,mem_mouse_long_mult_flag 
-04ce 58000000 setarg 0 
-04cf 20205a7a branch mouse_data_xy_release + 6 
+04a3 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+04a4 c1ff8000 rtnne gpio_disable 
+04a5 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
+04a6 207a0000 rtn blank 
+04a7 1fe0ffff increase -1 ,pdata 
+04a8 67e0c77d store 1 ,mem_mouse_long_mult_flag 
+04a9 58000000 setarg 0 
+04aa 20205a7a branch mouse_data_xy_release + 6 
 
 p_mouse_24g_short_sleep_clear_wake:
-04d0 204004a8 call p_clear_wake 
-04d1 2020021f branch p_lpm_write_gpio_wakeup 
+04ab 20400483 call p_clear_wake 
+04ac 2020021f branch p_lpm_write_gpio_wakeup 
 
 p_mouse_check_select_device_by_switch:
-04d2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-04d3 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-04d4 c31f84df bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
+04ad 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04ae c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+04af c31f84ba bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
 
 p_mouse_switch_gpio_connect_vin_check:
-04d5 204004e1 call p_mouse_switch_gpio_pd_set 
-04d6 204004db call p_mouse_switch_gpio_connect_vin 
+04b0 204004bc call p_mouse_switch_gpio_pd_set 
+04b1 204004b6 call p_mouse_switch_gpio_connect_vin 
 
 p_mouse_switch_gpio_pu_set:
-04d7 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04d8 20406ef3 call gpio_out_inactive 
-04d9 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04da 202055b5 branch mouse_gpio_config_input_pu 
+04b2 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04b3 20406ef3 call gpio_out_inactive 
+04b4 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04b5 202055b5 branch mouse_gpio_config_input_pu 
 
 p_mouse_switch_gpio_connect_vin:
-04db 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04dc 20406ee6 call gpio_get_bit 
-04dd 2420dec2 nbranch mouse_check_select_24g_device ,true 
-04de 20205ebe branch mouse_select_btdevice 
+04b6 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04b7 20406ee6 call gpio_get_bit 
+04b8 2420dec2 nbranch mouse_check_select_24g_device ,true 
+04b9 20205ebe branch mouse_select_btdevice 
 
 p_mouse_switch_gpio_connect_gnd:
-04df 204004d7 call p_mouse_switch_gpio_pu_set 
-04e0 20405ebb call mouse_switch_gpio_connect_gnd 
+04ba 204004b2 call p_mouse_switch_gpio_pu_set 
+04bb 20405ebb call mouse_switch_gpio_connect_gnd 
 
 p_mouse_switch_gpio_pd_set:
-04e1 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04e2 20406ef7 call gpio_out_active 
-04e3 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04e4 202055b1 branch mouse_gpio_config_input_pd 
+04bc 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04bd 20406ef7 call gpio_out_active 
+04be 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04bf 202055b1 branch mouse_gpio_config_input_pd 
 
 p_mouse_init_sensor:
-04e5 20405958 call mouse_read_sensor_id 
-04e6 c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
-04e7 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
-04e8 c02c04ea beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-04e9 20205952 branch mouse_init_sensor + 5 
+04c0 20405958 call mouse_read_sensor_id 
+04c1 c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+04c2 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
+04c3 c02c04c5 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+04c4 20205952 branch mouse_init_sensor + 5 
 
 p_mouse_ka8g2_id2_judge:
-04ea 204059e7 call mouse_sensor_poweron 
-04eb 6fe0c85a fetch 1 ,mem_sensor_id2 
-04ec c02c84ee beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
-04ed 2020595f branch mouse_init_p32xx_id2_judge 
+04c5 204059e7 call mouse_sensor_poweron 
+04c6 6fe0c85a fetch 1 ,mem_sensor_id2 
+04c7 c02c84c9 beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
+04c8 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_init_param:
-04ee 7049570b jam ka8g2 ,mem_config_sensor_type 
-04ef da604a0b arg mem_sensor_ka8g2_init_new ,regc 
-04f0 20205995 branch mouse_sensor_wr_seq 
+04c9 7049570b jam ka8g2 ,mem_config_sensor_type 
+04ca da604a0b arg mem_sensor_ka8g2_init_new ,regc 
+04cb 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_check_sensor_data:
-04f1 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
-04f2 c1800000 rtnne flash_sm_no_buys 
-04f3 6fe0c957 fetch 1 ,mem_config_sensor_type 
-04f4 c00584f6 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
-04f5 202059f8 branch mouse_check_sensor_data + 2 
+04cc 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
+04cd c1800000 rtnne flash_sm_no_buys 
+04ce 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04cf c00584d1 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
+04d0 202059f8 branch mouse_check_sensor_data + 2 
 
 p_mouse_pka8g2_sensor_motion:
-04f6 20405a6d call mouse_clear_sensor_data 
-04f7 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-04f8 c07f84fc beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
-04f9 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
-04fa 20406ee6 call gpio_get_bit 
-04fb 24608000 nrtn true 
+04d1 20405a6d call mouse_clear_sensor_data 
+04d2 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+04d3 c07f84d7 beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
+04d4 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
+04d5 20406ee6 call gpio_get_bit 
+04d6 24608000 nrtn true 
 
 p_mouse_pka8g2_sensor_motion_1:
-04fc 58000000 setarg pan_reg_pid_l 
-04fd 204069e5 call twspi_read 
-04fe c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
-04ff 20205a2f branch mouse_p3212_sensor_motion_2 
+04d7 58000000 setarg pan_reg_pid_l 
+04d8 204069e5 call twspi_read 
+04d9 c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
+04da 20205a2f branch mouse_p3212_sensor_motion_2 
 
 p_mouse_setting_dpi_4_level:
-0500 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0501 c1060000 rtneq s201x 
-0502 2020573e branch mouse_setting_dpi_4_level 
+04db 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04dc c1060000 rtneq s201x 
+04dd 2020573e branch mouse_setting_dpi_4_level 
 
 p_mouse_setting_dpi:
-0503 20400500 call p_mouse_setting_dpi_4_level 
-0504 2040613c call mouse_dpi_led_blink_delay + 2 
+04de 204004db call p_mouse_setting_dpi_4_level 
+04df 2040613c call mouse_dpi_led_blink_delay + 2 
 
 p_mouse_setting_sensor_type:
-0505 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0506 c0060508 beq s201x ,p_mouse_seting_s201_dpi 
-0507 2020574a branch mouse_setting_sensor_type + 3 
+04e0 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04e1 c00604e3 beq s201x ,p_mouse_seting_s201_dpi 
+04e2 2020574a branch mouse_setting_sensor_type + 3 
 
 p_mouse_seting_s201_dpi:
-0508 6fe0c690 fetch 1 ,mem_mouse_dpi 
-0509 c0005772 beq mouse_dpi_level1 ,mouse_set_s201_dpi_1 
-050a c000d775 beq mouse_dpi_level2 ,mouse_set_s201_dpi_2 
-050b c0015778 beq mouse_dpi_level3 ,mouse_set_s201_dpi_3 
-050c c001d77b beq mouse_dpi_level4 ,mouse_set_s201_dpi_4 
-050d 20600000 rtn 
+04e3 6fe0c690 fetch 1 ,mem_mouse_dpi 
+04e4 c0005772 beq mouse_dpi_level1 ,mouse_set_s201_dpi_1 
+04e5 c000d775 beq mouse_dpi_level2 ,mouse_set_s201_dpi_2 
+04e6 c0015778 beq mouse_dpi_level3 ,mouse_set_s201_dpi_3 
+04e7 c001d77b beq mouse_dpi_level4 ,mouse_set_s201_dpi_4 
+04e8 20600000 rtn 
 
 p_mouse_dpi_led_blink_init:
-050e 6fe0c957 fetch 1 ,mem_config_sensor_type 
-050f c0060511 beq s201x ,p_mouse_dpi_level_4_set 
-0510 20206122 branch mouse_dpi_led_blink_init + 1 
+04e9 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04ea c00604ec beq s201x ,p_mouse_dpi_level_4_set 
+04eb 20206122 branch mouse_dpi_led_blink_init + 1 
 
 p_mouse_dpi_level_4_set:
-0511 6fe0c690 fetch 1 ,mem_mouse_dpi 
-0512 c0000519 beq mouse_dpi_level1 ,p_mouse_level_set_2 
-0513 c000851b beq mouse_dpi_level2 ,p_mouse_level_set_3 
-0514 c001051d beq mouse_dpi_level3 ,p_mouse_level_set_4 
-0515 c0018517 beq mouse_dpi_level4 ,p_mouse_level_set_1 
-0516 20600000 rtn 
+04ec 6fe0c690 fetch 1 ,mem_mouse_dpi 
+04ed c00004f4 beq mouse_dpi_level1 ,p_mouse_level_set_2 
+04ee c00084f6 beq mouse_dpi_level2 ,p_mouse_level_set_3 
+04ef c00104f8 beq mouse_dpi_level3 ,p_mouse_level_set_4 
+04f0 c00184f2 beq mouse_dpi_level4 ,p_mouse_level_set_1 
+04f1 20600000 rtn 
 
 p_mouse_level_set_1:
-0517 58000002 setarg 2 
-0518 2020612c branch mouse_dpi_blink_count_set 
+04f2 58000002 setarg 2 
+04f3 2020612c branch mouse_dpi_blink_count_set 
 
 p_mouse_level_set_2:
-0519 58000004 setarg 4 
-051a 2020612c branch mouse_dpi_blink_count_set 
+04f4 58000004 setarg 4 
+04f5 2020612c branch mouse_dpi_blink_count_set 
 
 p_mouse_level_set_3:
-051b 58000006 setarg 6 
-051c 2020612c branch mouse_dpi_blink_count_set 
+04f6 58000006 setarg 6 
+04f7 2020612c branch mouse_dpi_blink_count_set 
 
 p_mouse_level_set_4:
-051d 58000008 setarg 8 
-051e 2020612c branch mouse_dpi_blink_count_set 
+04f8 58000008 setarg 8 
+04f9 2020612c branch mouse_dpi_blink_count_set 
 
 p_mouse_motion:
-051f 78547c00 disable user 
-0520 58000000 setarg 0 
-0521 67e34847 store 6 ,mem_mouse_x 
-0522 204004f1 call p_mouse_check_sensor_data 
-0523 58000089 setarg 0x0089 
-0524 204069e4 call twspi_write 
-0525 20405747 call mouse_setting_sensor_type 
-0526 20405612 call mouse_zwheel 
-0527 20405617 call mouse_t_zwheel 
-0528 2040052a call p_mouse_key 
-0529 2020560c branch mouse_motion + 11 
+04fa 78547c00 disable user 
+04fb 58000000 setarg 0 
+04fc 67e34847 store 6 ,mem_mouse_x 
+04fd 204004cc call p_mouse_check_sensor_data 
+04fe 58000089 setarg 0x0089 
+04ff 204069e4 call twspi_write 
+0500 20405747 call mouse_setting_sensor_type 
+0501 20405612 call mouse_zwheel 
+0502 20405617 call mouse_t_zwheel 
+0503 20400505 call p_mouse_key 
+0504 2020560c branch mouse_motion + 11 
 
 p_mouse_key:
-052a 2040584c call mouse_check_firekey_gpio 
-052b 6fe0c987 fetch 1 ,mem_fire_key_flag 
-052c 243a5860 nbranch fire_key_press ,blank 
-052d 6fe0c982 fetch 1 ,mem_fire_key_status 
-052e 243a585f nbranch fire_key_process ,blank 
-052f 20405888 call mouse_check_key_gpio 
-0530 20400532 call p_mouse_ghost_key_check 
-0531 202057ad branch mouse_key + 7 
+0505 2040584c call mouse_check_firekey_gpio 
+0506 6fe0c987 fetch 1 ,mem_fire_key_flag 
+0507 243a5860 nbranch fire_key_press ,blank 
+0508 6fe0c982 fetch 1 ,mem_fire_key_status 
+0509 243a585f nbranch fire_key_process ,blank 
+050a 20405888 call mouse_check_key_gpio 
+050b 2040050d call p_mouse_ghost_key_check 
+050c 202057ad branch mouse_key + 7 
 
 p_mouse_ghost_key_check:
-0532 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
-0533 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
-0534 70497b00 jam 0 ,mem_mouse_ghost_flag 
-0535 1fe22400 copy pdata ,regb 
-0536 6848c644 fetcht 1 ,mem_lbutton_gpio 
-0537 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-0538 98467c00 isub temp ,null 
-0539 20228544 branch p_mouse_matrix_ghost_key_l_bk ,zero 
-053a 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-053b 98467c00 isub temp ,null 
-053c 2022854a branch p_mouse_matrix_ghost_key_l_fw ,zero 
-053d 6848c645 fetcht 1 ,mem_mbutton_gpio 
-053e 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-053f 98467c00 isub temp ,null 
-0540 20228553 branch p_mouse_ghost_key_mbk_rfw ,zero 
+050d 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
+050e 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
+050f 70497b00 jam 0 ,mem_mouse_ghost_flag 
+0510 1fe22400 copy pdata ,regb 
+0511 6848c644 fetcht 1 ,mem_lbutton_gpio 
+0512 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+0513 98467c00 isub temp ,null 
+0514 2022851f branch p_mouse_matrix_ghost_key_l_bk ,zero 
+0515 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+0516 98467c00 isub temp ,null 
+0517 20228525 branch p_mouse_matrix_ghost_key_l_fw ,zero 
+0518 6848c645 fetcht 1 ,mem_mbutton_gpio 
+0519 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+051a 98467c00 isub temp ,null 
+051b 2022852e branch p_mouse_ghost_key_mbk_rfw ,zero 
 
 p_mouse_ghost_key_mfw_rbk:
-0541 204057fb call mouse_ghost_key_check_m_fw 
+051c 204057fb call mouse_ghost_key_check_m_fw 
 
 p_mouse_ghost_key_rbk:
-0542 20400558 call p_mouse_ghost_key_check_r_bk 
-0543 202057e5 branch mouse_ghost_key_check_next 
+051d 20400533 call p_mouse_ghost_key_check_r_bk 
+051e 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_matrix_ghost_key_l_bk:
-0544 6848c645 fetcht 1 ,mem_mbutton_gpio 
-0545 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-0546 98467c00 isub temp ,null 
-0547 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
+051f 6848c645 fetcht 1 ,mem_mbutton_gpio 
+0520 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+0521 98467c00 isub temp ,null 
+0522 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
 
 p_mouse_ghost_key_lbk_rfw:
-0548 204057ef call mouse_ghost_key_check_l_bk 
-0549 20200554 branch p_mouse_ghost_key_rfw 
+0523 204057ef call mouse_ghost_key_check_l_bk 
+0524 2020052f branch p_mouse_ghost_key_rfw 
 
 p_mouse_matrix_ghost_key_l_fw:
-054a 6848c645 fetcht 1 ,mem_mbutton_gpio 
-054b 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-054c 98467c00 isub temp ,null 
-054d 20228550 branch p_mouse_ghost_key_lfw_mbk ,zero 
+0525 6848c645 fetcht 1 ,mem_mbutton_gpio 
+0526 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+0527 98467c00 isub temp ,null 
+0528 2022852b branch p_mouse_ghost_key_lfw_mbk ,zero 
 
 p_mouse_ghost_key_lfw_rbk:
-054e 2040055a call p_mouse_ghost_key_check_l_fw 
-054f 20200542 branch p_mouse_ghost_key_rbk 
+0529 20400535 call p_mouse_ghost_key_check_l_fw 
+052a 2020051d branch p_mouse_ghost_key_rbk 
 
 p_mouse_ghost_key_lfw_mbk:
-0550 2040055a call p_mouse_ghost_key_check_l_fw 
-0551 20400556 call p_mouse_ghost_key_check_m_bk 
-0552 202057e5 branch mouse_ghost_key_check_next 
+052b 20400535 call p_mouse_ghost_key_check_l_fw 
+052c 20400531 call p_mouse_ghost_key_check_m_bk 
+052d 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_mbk_rfw:
-0553 20400556 call p_mouse_ghost_key_check_m_bk 
+052e 20400531 call p_mouse_ghost_key_check_m_bk 
 
 p_mouse_ghost_key_rfw:
-0554 2040055c call p_mouse_ghost_key_check_r_fw 
-0555 202057e5 branch mouse_ghost_key_check_next 
+052f 20400537 call p_mouse_ghost_key_check_r_fw 
+0530 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_check_m_bk:
-0556 1a417e12 and regb ,mouse_m_bk_button ,pdata 
-0557 202057f3 branch mouse_ghost_key_check_m_bk + 1 
+0531 1a417e12 and regb ,mouse_m_bk_button ,pdata 
+0532 202057f3 branch mouse_ghost_key_check_m_bk + 1 
 
 p_mouse_ghost_key_check_r_bk:
-0558 1a417e0a and regb ,mouse_r_bk_button ,pdata 
-0559 202057f6 branch mouse_ghost_key_check_r_bk + 1 
+0533 1a417e0a and regb ,mouse_r_bk_button ,pdata 
+0534 202057f6 branch mouse_ghost_key_check_r_bk + 1 
 
 p_mouse_ghost_key_check_l_fw:
-055a 1a417e11 and regb ,mouse_l_fw_button ,pdata 
-055b 202057f9 branch mouse_ghost_key_check_l_fw + 1 
+0535 1a417e11 and regb ,mouse_l_fw_button ,pdata 
+0536 202057f9 branch mouse_ghost_key_check_l_fw + 1 
 
 p_mouse_ghost_key_check_r_fw:
-055c 1a417e12 and regb ,mouse_r_fw_button ,pdata 
-055d 202057ff branch mouse_ghost_key_check_r_fw + 1 
+0537 1a417e12 and regb ,mouse_r_fw_button ,pdata 
+0538 202057ff branch mouse_ghost_key_check_r_fw + 1 
               org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/program/patch.prog	(revision 3320)
+++ /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/program/patch.prog	(working copy)
@@ -6,7 +6,7 @@
 //define ADC_1121SB
 //define ADC_1121SB_1V8_MODE
 //define XTAL_CALP_SET
-define COMMBINATION_DPI
+// define COMMBINATION_DPI
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
@@ -1023,6 +1023,7 @@
 endif
 
 p_mouse_load_device_info_check:
+	jam 1,mem_mouse_logo_enable_flag
 	fetch 1,mem_tx_power
 	store 1,mem_normal_tx_power
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
@@ -1126,7 +1127,7 @@
 	fetch 1,mem_device_flag
 	rtneq MODE_24G_DEVICE
 	beq MODE_BT_DEVICE1,p_mouse_write_otp_le_locall_addr1
-	beq MODE_BT_DEVICE2,p_mouse_write_otp_le_locall_addr2
+	// beq MODE_BT_DEVICE2,p_mouse_write_otp_le_locall_addr2
 	rtn
 
 p_mouse_write_otp_device_flag:
@@ -1209,30 +1210,30 @@
 	copy regc,regb
 	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
 
-p_mouse_write_otp_le_locall_addr2:
-	fetchr regb,2,mem_otp_offset_le_locall_addr2
-	copy regb,regc
-p_mouse_write_otp_le_locall_addr2_loop:
-	call mouse_read_otp_le_locall_addr2_common
-	fetch 6,mem_mouse_le_locall_addr2_temp
-	branch p_mouse_le_local_addr2_store,blank	
-	store 6,mem_mouse_le_locall_addr2_last
-	increase 6,regc
-	fetch 2,mem_otp_offset_le_locall_addr2_end
-	isub regc,null
-	nrtn positive	//if read end,retention last value
-	copy regc,regb
-	branch p_mouse_write_otp_le_locall_addr2_loop
-
-p_mouse_le_local_addr2_store:
-	fetch 6,mem_mouse_le_locall_addr2_last
-	fetcht 6,mem_device2_locall_addr
-	isub temp,null
-	rtn zero
-	arg 6,loopcnt
-	arg mem_device2_locall_addr,rega
-	copy regc,regb
-	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
+// p_mouse_write_otp_le_locall_addr2:
+// 	fetchr regb,2,mem_otp_offset_le_locall_addr2
+// 	copy regb,regc
+// p_mouse_write_otp_le_locall_addr2_loop:
+// 	call mouse_read_otp_le_locall_addr2_common
+// 	fetch 6,mem_mouse_le_locall_addr2_temp
+// 	branch p_mouse_le_local_addr2_store,blank	
+// 	store 6,mem_mouse_le_locall_addr2_last
+// 	increase 6,regc
+// 	fetch 2,mem_otp_offset_le_locall_addr2_end
+// 	isub regc,null
+// 	nrtn positive	//if read end,retention last value
+// 	copy regc,regb
+// 	branch p_mouse_write_otp_le_locall_addr2_loop
+
+// p_mouse_le_local_addr2_store:
+// 	fetch 6,mem_mouse_le_locall_addr2_last
+// 	fetcht 6,mem_device2_locall_addr
+// 	isub temp,null
+// 	rtn zero
+// 	arg 6,loopcnt
+// 	arg mem_device2_locall_addr,rega
+// 	copy regc,regb
+// 	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
 
 /**************store le local addr end**********/
 
@@ -1321,7 +1322,7 @@
 	fetch 1,mem_device_flag
 	rtneq MODE_24G_DEVICE
 	beq MODE_BT_DEVICE1,p_mouse_le_addr1_init_check
-	beq MODE_BT_DEVICE2,p_mouse_le_addr2_init_check
+	// beq MODE_BT_DEVICE2,p_mouse_le_addr2_init_check
 	rtn
 
 p_mouse_le_addr1_init_check:
@@ -1333,15 +1334,15 @@
 	store 6,mem_device1_locall_addr
 	rtn
 
-p_mouse_le_addr2_init_check:
-	fetch 6,mem_device2_locall_addr
-	fetcht 6,mem_mouse_compare_addr
-	isub temp,null
-	nrtn zero
-	fetch 6,mem_le_lap
-	add pdata,0x0100,pdata
-	store 6,mem_device2_locall_addr
-	rtn
+// p_mouse_le_addr2_init_check:
+// 	fetch 6,mem_device2_locall_addr
+// 	fetcht 6,mem_mouse_compare_addr
+// 	isub temp,null
+// 	nrtn zero
+// 	fetch 6,mem_le_lap
+// 	add pdata,0x0100,pdata
+// 	store 6,mem_device2_locall_addr
+// 	rtn
 
 p_mouse_buletooth_fast_conn_end:
 	call p_mouse_select_reconn_device
@@ -1355,7 +1356,7 @@
 	fetch 1,mem_device_flag
 	rtneq MODE_24G_DEVICE
 	beq MODE_BT_DEVICE1,p_mouse_load_le_device1
-	beq MODE_BT_DEVICE2,p_mouse_load_le_device2
+	// beq MODE_BT_DEVICE2,p_mouse_load_le_device2
 	rtn
 	
 p_mouse_load_le_device1:
@@ -1368,13 +1369,13 @@
 	store 6,mem_le_lap
 	rtn
 
-p_mouse_load_le_device2:
-	fetch 6,mem_device2_addr
-	store 6,mem_hci_plap
-//	arg mem_le_ltk,contw
-//	call memcpy16
-	fetch 6,mem_device2_locall_addr
-	branch p_mouse_le_lap_store
+// p_mouse_load_le_device2:
+// 	fetch 6,mem_device2_addr
+// 	store 6,mem_hci_plap
+// //	arg mem_le_ltk,contw
+// //	call memcpy16
+// 	fetch 6,mem_device2_locall_addr
+// 	branch p_mouse_le_lap_store
 
 p_mouse_store_remote_bdaddr:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
@@ -1389,7 +1390,7 @@
 p_mouse_before_store_reconn_info:
 	fetch 1,mem_device_flag
 	beq MODE_BT_DEVICE1,p_mouse_store_le_device1
-	beq MODE_BT_DEVICE2,p_mouse_store_le_device2
+	// beq MODE_BT_DEVICE2,p_mouse_store_le_device2
 	rtn
 
 p_mouse_store_le_device1:
@@ -1399,12 +1400,12 @@
 	store 6,mem_device1_locall_addr
 	rtn
 
-p_mouse_store_le_device2:
-	fetch 6,mem_le_plap
-	store 6,mem_device2_addr
-	fetch 6,mem_le_lap
-	store 6,mem_device2_locall_addr
-	rtn
+// p_mouse_store_le_device2:
+// 	fetch 6,mem_le_plap
+// 	store 6,mem_device2_addr
+// 	fetch 6,mem_le_lap
+// 	store 6,mem_device2_locall_addr
+// 	rtn
 
 
 p_mouse_bb_event_timer:
@@ -1412,9 +1413,10 @@
 	call mouse_low_voltage_led_timer
 	call mouse_adc_read
 	//led
-	call mouse_logo_led_on_timer
+	call p_mouse_logo_led_on_timer
 	call mouse_led_multi_timer
 	call mouse_dpi_led_blink_delay_timer
+	call p_mouse_dpi_key_check_long_press
 ifdef COMMBINATION_DPI
 	call p_mouse_commbination_dpi_check_timer
 endif
@@ -1424,7 +1426,7 @@
 	call g24_reconn_timeout_timer
 	call mouse_24g_long_sleep_param_update_timer
 	//poll
-	call mouse_dpi_key_check_long_press
+	// call mouse_dpi_key_check_long_press
 	call mouse_bt_discovery_check
 	call mouse_commbination_key_process
 	call mouse_check_discovery_timeout_timer
@@ -1438,6 +1440,30 @@
 	call p_mouse_current_mult_update_timer
 	branch mouse_bb_event_timer_next
 	
+p_mouse_logo_led_on_timer:
+	fetch 1,mem_mouse_logo_enable_flag
+	rtn blank
+	branch mouse_logo_led_on_timer
+
+p_mouse_dpi_key_check_long_press:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON,mouse_select_device_by_dpi_button
+	bbit1 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY,p_mouse_DPI_long_control_logo
+	rtn
+p_mouse_DPI_long_control_logo:
+	fetch 1,mem_mouse_dpi_button_state
+	rtnne DPI_BUTTON_STATE_DOWN	
+	arg mem_bt_discovery_count,regc
+	arg p_mouse_long_dpi_control_logo_handle,regb
+	branch timer_single_step
+p_mouse_long_dpi_control_logo_handle:
+	jam 1,mem_mouse_dpi_long_press_flag
+	fetch 1,mem_mouse_logo_enable_flag
+	setflip 0,pdata
+	store 1,mem_mouse_logo_enable_flag
+	beq 0,mouse_logo_led_off
+	rtn
+
 p_mouse_le_send_conn_param_update_timer:
 	arg mem_mouse_le_send_conn_param_update_timer,regc
 	arg mouse_updata_le_param,regb
Index: sched/mouse.dat
===================================================================
--- /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/sched/mouse.dat	(revision 3320)
+++ /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/sched/mouse.dat	(working copy)
@@ -61,7 +61,7 @@
 #bit5 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
 #bit6 MOUSE_ENABLE_FIRE_KEY_CONNECT_GND
 #bit7 MOUSE_ENABLE_CUSTOMER_KEY_CONNECT_VIN_OR_MATRIX
-01
+00
 
 #mouse flag byte7
 #bit0 MOUSE_ENABLE_AUTO_24G_PARING
@@ -72,7 +72,7 @@
 #bit5 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
 #bit6 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
 #bit7 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
-29
+69
 
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
@@ -174,7 +174,7 @@
 #bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
 mem_mouse_commbination_key_24g:03
 mem_mouse_commbination_key_bt:07
-mem_mouse_commbination_key_dpi:05
+mem_mouse_commbination_key_dpi:ff#05
 
 mem_mouse_compare_addr:00 00 00 00 00 00#ff ff ff ff ff ff 		#otp/flash=0	eeprom=ff
 
Index: util/otpcheck.pl
===================================================================
--- /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/util/otpcheck.pl	(nonexistent)
+++ /1121s/branch/mouse/MZ_Project/1m/mouse_public_1M_wk8/util/otpcheck.pl	(working copy)
@@ -0,0 +1,76 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+use File::Spec;  
+# 获取当前脚本的目录路径
+my $current_dir = File::Spec->rel2abs('.');
+my $parent_dir = File::Spec->catdir($current_dir, '..');  # 获取上一级目录
+
+# 指定要搜索的文件名
+my $filename = File::Spec->catfile($parent_dir, 'output', 'otp.dat');
+# 打开文件进行读取
+open(my $fh, '<',$filename) or die "无法打开文件 '$filename':$!";
+
+# 读取整个文件到数组中
+my @file_content = <$fh>;
+chomp @file_content;  # 移除每行的换行符
+
+# 关闭文件句柄
+close($fh);
+
+# 初始化变量
+my $found = 0;
+my $otp_end_address = 0;
+# 循环遍历文件内容，每次移动一个字节
+for my $start (0 ..$#file_content - 3) {
+    # 提取从当前起始位置开始的四个字节
+    my $chunk = join('', @file_content[$start .. $start + 3]);
+    
+    # 检查这四个字节是否匹配指定的字符串
+    if ($chunk eq '55aaaa55') {
+        $otp_end_address = $start +9;
+        # print "After adding 9 to the start position: $start\n";
+        $found = 1;
+    }
+}
+
+# 如果找到了 "55aaaa55"，则继续处理 sched.rom 文件
+if ($found) {
+    my $sched_filename = File::Spec->catfile($parent_dir, 'output', 'sched.rom');
+    # 打开文件进行读取
+    open(my $sched_fh, '<',$sched_filename) or die "无法打开文件 '$sched_filename'$!";
+    # 读取整个文件到字符串中
+    my $sched_content = do { local$/; <$sched_fh> };
+    chomp $sched_content;  # 移除字符串末尾的换行符
+    # print "sched_content: $sched_content\n";
+    # 关闭文件句柄
+    close($sched_fh);
+    # 在 sched_content 中查找 "mem_otp_offset_dpi:"
+    my $sched_position = index($sched_content, 'mem_otp_offset_dpi:');
+    # 如果找到了 "mem_otp_offset_dpi:"
+    if ($sched_position != -1) {
+        # 获取 "mem_otp_offset_dpi:" 后面的两个字节
+        my $five_bytes_with_spaces = substr($sched_content, $sched_position + length("mem_otp_offset_dpi:"), 5);
+        $five_bytes_with_spaces =~ s/ //g;  # 移除空格
+        my $five_bytes =$five_bytes_with_spaces;
+        # 字节颠倒
+        my $reversed_bytes = substr($five_bytes, 2, 2) . substr($five_bytes, 0, 2);
+        my $decimal_value = hex($reversed_bytes);
+        # 打印找到的字符串位置信息以及后面跟随的两个字节
+        print "Original otp dpi store start little-endian bytes: $five_bytes\n";
+        print "Reversed (big-endian) bytes:  $decimal_value\n";
+        print "otp end bytes:  $otp_end_address\n";
+        if($decimal_value>$otp_end_address)
+        {
+            print"otp check done";
+        }
+        else
+        {
+            die "系统错误：在文件 '$sched_filename' 中找不到字符串 'mem_otp_offset_dpi:'\n";
+        }
+    } else {
+        print "String 'mem_otp_offset_dpi:' not found in file '$sched_filename'.\n";
+    }
+}
+
+
