Index: output/eeprom.dat
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/eeprom.dat	(revision 5239)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/eeprom.dat	(working copy)
@@ -71,7 +71,7 @@
 46
 87
 60
-21
+20
 14
 ba
 2a
@@ -83,15 +83,15 @@
 28
 21
 8b
-a1
+a6
 8a
 57
 8e
-1d
+1e
 8e
 63
 9c
-dd
+de
 ba
 97
 15
@@ -107,7 +107,7 @@
 09
 4d
 44
-8f
+8e
 12
 cb
 df
@@ -119,11 +119,11 @@
 a5
 73
 0f
-74
+77
 4f
 06
 24
-4a
+4d
 88
 20
 17
@@ -671,7 +671,7 @@
 4b
 e9
 3d
-be
+bd
 15
 59
 22
@@ -1197,807 +1197,807 @@
 b3
 83
 af
-0a
-5b
-98
+4a
+7b
+c6
 e3
 70
-0b
-a7
+1b
+0d
 48
-2c
-29
-c3
+3b
+a9
+a1
 b4
-b2
-5e
-37
-26
-93
-62
-78
-3f
+85
+ef
+55
 69
-51
-56
-73
-21
-9b
-60
+13
+a7
+82
+70
+b3
 a6
-fb
-39
-7c
-9a
-bf
-5e
-0b
-ea
-b2
-f1
-7b
-8b
-10
-0f
-11
-32
-62
+ad
+3c
+fa
+ec
+96
+d6
+fa
+82
+8a
+e2
+be
+e5
+fd
+a2
+bc
+4a
+85
+cb
+1f
+34
+e1
+9d
+80
+23
+d4
 67
-1e
-87
-a4
-e0
-a9
+86
+54
+f8
 15
 bc
-0a
-0c
-8d
-8c
-f9
-5b
-54
-9e
-22
-69
-43
-9f
-7a
+8a
 76
-0f
-04
-bc
-f2
-f5
-60
-c8
-94
-92
-6f
-40
-bc
-77
-2b
+8d
 8c
-34
-27
-3b
+7e
+3e
+1b
+5e
+d7
+41
+08
+05
+bd
+24
+0b
+3e
+bd
+b4
+ba
+c4
+8e
+dd
+3e
+0b
+87
+b2
+db
+4b
+ca
 2d
-f3
-bf
-c8
-f1
+6c
+a1
+eb
+ea
+f4
+53
+b7
+17
+b4
+cc
+8d
+46
+d2
+fd
+12
 02
+d1
+fc
+ed
+3a
+c7
+2c
+2b
+a3
+29
+e6
+95
+36
+de
+e2
+40
 c4
-cd
-35
+9b
+72
+4f
+d6
+da
+ed
+ff
+50
+2b
+b3
+61
+69
+bb
 52
-aa
-fc
-aa
-16
-d9
-fd
-6d
-39
-6a
-4e
+22
+8b
+17
+41
+1b
+3d
+90
+63
+53
+ab
+ef
 db
-fa
-cb
-24
-95
-2c
-91
-43
-30
-a8
-eb
 73
-f7
-ee
-a2
-ec
-47
-68
-6c
+6f
+39
+06
+63
+46
+89
+79
+cf
 72
-11
-45
-43
-92
-14
-92
-ef
-e1
-67
-c0
-94
-59
-2f
-5a
-eb
-e1
-27
 b8
-39
-66
-6e
-77
-c6
-bd
-d1
-9a
-14
-f1
-c7
+0b
+36
+18
+e2
+8e
+78
+b2
 4e
-49
-d8
-08
-f2
-49
-65
+cd
 db
-52
-23
-de
-7c
-45
-5d
+72
+d4
+78
+c6
 7d
-0c
-61
-57
-11
-e9
-44
-e3
-ff
-7c
+e1
+1a
+46
+14
+6b
+70
+5b
+30
+9b
+f7
+3e
+93
+0e
 8a
-01
-22
 9d
-b2
-c7
-d4
-ba
-5c
+92
+68
+36
+fd
+3b
 cf
-96
-97
-87
+90
+17
+bc
 57
-c6
-bd
-6b
-7f
-7b
-0a
-65
-9e
-50
-6f
-e7
+c5
+71
+49
+d0
+9c
+01
+03
+31
+ba
+9f
+90
 02
-66
+63
 08
 29
-bd
-49
+5d
+26
+86
 b0
-df
-88
-b5
-46
-9f
-55
-2e
-0a
-c0
+c7
+35
+80
+87
+fa
+cd
+fa
+b7
 10
+30
 37
-b7
 dc
-ce
-ce
-2c
+2e
+aa
+9a
+46
+f9
+8a
+fb
 29
-b6
+70
+30
 0a
-3d
-31
-df
-d1
-7a
-01
+76
 54
-82
+81
 0c
 45
-a6
-94
-7f
-2f
-20
-72
+46
+f6
+c9
+40
+c6
+81
 9a
 74
-a1
-da
-c4
-1c
-aa
-d6
-98
-41
-32
-19
-76
-a5
-88
-61
-9b
-0f
+47
+09
+8b
+3a
+ae
+e2
+d7
+67
+79
+8d
+b1
+9e
+97
 c6
-65
-96
-e1
 67
-cc
-41
-2f
-a4
-bf
-28
-63
-73
-54
-36
-25
-c9
 34
-ca
-f2
-39
+92
+78
+f4
+5b
+2c
+72
 5f
-01
-fa
-81
-b2
-c1
-bd
-d6
-68
-4e
+9b
+08
+51
+6e
+00
 df
-da
-94
-14
-9a
-22
-0e
-06
-ad
-84
-27
-69
-21
-07
-80
-31
-dc
-55
-db
-87
-f4
-13
-8e
-8e
+be
+f0
+60
+82
+ee
+54
+05
+3d
+25
+0b
+a8
+ce
+16
 d5
-ef
+3d
+7b
+00
+88
+a3
+da
+95
+94
+9b
+c0
+a3
+5e
+19
+84
+47
+63
+68
+48
+20
+a7
+f2
+f8
+bb
+c3
+d5
+b9
+46
+ca
+66
+e8
+81
+e6
+c4
+69
+89
+dd
 29
-e5
-a9
+81
+e1
+29
+2e
+15
+4b
+51
+fa
 9e
-28
-e5
-75
-7e
-40
+e3
+37
+a0
 11
-72
-1a
+10
+d0
 e3
-52
-90
-99
+a0
 4b
-34
-f7
-e6
-b0
-e8
-82
-5f
-eb
-57
-84
-52
-7d
+6f
+e5
+5d
+d5
+6e
+e7
+c3
+a1
+a3
+4d
+0f
+aa
+ea
+48
+e7
+be
+d7
+50
+0e
+d0
+fa
+cf
 6d
-b1
-c4
-09
-a0
-18
-f8
-0a
-d2
-2a
-18
-1e
-ef
-32
-19
-75
-9c
-ac
-c7
-86
-ab
-08
+e3
+0b
+0e
 ff
-cb
-98
-44
-fd
+ab
+de
+1f
+07
+d7
+c6
 b7
-b6
-50
 e9
-d8
-5e
-64
+b8
+1b
+5b
 b0
-4b
-14
-33
+5e
+e6
+39
 4f
 a4
-6c
-b9
+20
+16
 94
-6f
-04
-69
+7a
+84
+09
 41
 5d
 d6
-92
+3e
 93
 2e
-e8
-d2
+f7
+5e
 39
-af
-f8
-c2
+9a
+2a
+a2
 c6
-ac
-7f
-ae
+99
+fe
+3d
 48
-0a
-cb
-9c
-03
+6a
+87
+10
+4c
+22
 e2
-69
-dc
+bc
+f0
+32
+c1
+f6
+a9
+3e
+28
+86
+cb
+37
+0c
+1a
+27
+15
+80
+d8
+38
+de
+46
+4a
 5e
-52
-07
-8e
 07
-5a
-6f
-88
-60
-de
-4b
-14
-c3
-38
-81
-31
-77
-1a
-00
-ae
-f5
-e5
-10
-e0
-00
-d1
-d9
-ce
-d5
-5a
-b1
-7d
+57
+ee
+b4
+91
+af
+6b
+d5
+50
+5f
+d8
 d6
 e1
-4e
+4c
 c8
 b4
 91
-d5
+d8
 9e
-86
-c9
-3f
+d6
+e5
+a8
 d3
 44
-9d
-52
-6f
+bd
+08
+b2
 ca
 74
-9c
-10
+be
+57
 74
 22
-bf
-c1
+88
+80
 49
 e0
-83
-ea
+9d
+03
 75
 69
-a2
-eb
+a4
+be
 16
 e8
 96
-ad
+72
 2f
 bc
-a7
-8c
+a8
+21
 f4
 b2
-0b
-e6
-ec
-79
-c4
-38
-53
-fa
-1a
-6e
-cb
-c8
-58
-3d
-ee
-04
-13
-4a
-2a
-6c
-0f
-17
-84
-65
-88
-79
-34
-c8
-7f
-f6
-1d
-17
-9a
-45
-75
-70
-39
-b5
-c0
-03
-d4
-6a
-96
-de
-ee
-85
+1c
+b1
+a3
+dd
+cc
+74
+f8
+18
+5d
+60
+2f
+8e
+59
 90
-0c
-c3
-83
-5e
-ed
-6d
-09
+a1
+b4
+9e
+e5
 22
-ee
-04
-08
-b0
-01
-16
-2b
-54
+7c
+45
+63
+27
+86
+ce
+0c
+d0
+8b
+a4
+34
 19
-07
-87
-09
-83
-42
-24
-41
-c3
-4a
-3c
-68
-2a
-a0
 23
-c0
-d8
-ba
-dc
-4b
-64
-1c
-ac
-67
-91
 c1
-a5
-ef
-da
-7d
-0c
-02
-00
-45
-1e
-9f
-60
-e0
-d1
-83
-95
-0d
-a4
-07
-86
-6f
-5f
-c0
-b3
-55
-26
-42
-07
-17
+87
+71
+44
+76
+93
+c4
+37
+9b
+4c
+92
+8a
 b5
+3f
+df
+c8
+df
+37
 f5
-ca
+0f
+2a
+07
+c6
+a8
+05
+bd
+ff
+a1
+d1
+eb
+fa
+54
+c1
+f1
+e8
+6e
+43
+e0
+41
 c3
-d7
-03
-ba
-5f
-cd
-be
-01
-98
-66
-2e
-31
-94
-b0
-b7
-71
+33
+0f
 68
-45
-28
-fb
-bb
-98
-49
-f4
-59
-08
-b3
-d4
-59
+4a
+d9
+1d
 88
-24
-94
-bb
-bb
-10
-1c
-52
-0b
-59
-a1
+b0
+77
+8e
+03
+6c
+be
+da
+2f
+99
+63
 d3
+a7
+d2
+fe
+91
+4a
 08
-87
-cc
-f8
+c6
 83
-43
-96
+d7
+68
+42
+aa
+87
+f5
+e2
+86
+4c
 46
-10
+28
+ea
+6e
+7e
+93
+50
+f3
+6c
+61
+ef
+f5
+cc
+21
 8d
-47
-0f
-13
-01
+03
+b6
+5d
+cc
+ee
+2d
+0e
+67
+61
+b1
+52
+c6
+f8
+b1
+f5
+96
+67
+3b
+2c
+ab
+06
 6e
-c0
-bd
-31
-5b
-2f
-24
+95
+9e
+e3
+e2
+cf
+88
+74
+f8
+76
+20
+5f
+dc
+cf
+e6
+f7
+ec
+15
+7e
 29
+90
+f4
+a5
 0c
-ae
-74
-a7
-62
-13
-7d
-1d
-ae
-d7
+5d
+4b
+ed
+dd
+31
+99
+cf
+1e
+c2
+9b
+25
+9f
+bb
+63
+bc
+98
+40
+b6
 75
+8f
+2e
+8b
+7c
+22
+4f
+92
+9a
 68
 46
 b4
-60
+7a
 42
-db
-eb
-88
-51
-84
-66
-70
+da
+62
+e4
+16
+24
+f0
+a2
 b2
 89
-2b
-ba
+70
+19
 76
 8b
-9c
-e5
+c4
+3a
 a6
 1a
-71
-12
+7b
+e7
 7f
 3d
-b5
-8c
-d3
-c2
-be
-e0
-5e
-a7
-d4
+d1
+0a
+8b
+d7
+75
+a5
+06
+d2
+7b
+f5
+df
+39
+e2
+4e
 78
-90
-f9
-7d
-54
-08
 de
-c3
-8a
-4d
-8d
-49
-5e
-96
-ff
-1f
-35
-a0
-af
 f1
+1c
+35
+8d
+7b
+c8
+30
+95
+d3
+a2
+11
+69
+66
 40
-9d
-00
-88
+82
+ac
 d3
-2f
-14
+49
+64
+8e
+2c
 e0
-7a
-1f
-66
-a0
-24
+4b
+50
+3a
+25
 0c
 d2
-68
-5d
-21
-f9
-66
-ee
-5c
+6b
+42
+71
+d5
+ff
+f0
+a6
 92
-62
-b7
+2e
+2e
 8f
-9a
-0c
-3e
-90
-e2
-29
-cb
-df
-66
-e3
-d2
+ba
+28
+87
+6a
+82
+76
+be
+8f
+c6
+96
+82
 25
-59
-30
-f3
-50
-ec
-f2
-37
-6d
-ef
-1d
-ea
-ce
-ce
+98
+3a
+fa
+78
+ad
+b1
+88
+52
+1e
+16
+19
+89
+5f
 af
-87
-51
-68
+c7
+8c
+63
 a9
 e7
-80
-86
+ba
+b1
 d5
 d5
 04
@@ -2435,7 +2435,7 @@
 00
 a2
 45
-a0
+28
 05
 aa
 55
@@ -3757,10 +3757,10 @@
 aa
 aa
 55
-ed
+75
 bc
-30
-da
+a1
+02
 ff
 ff
 ff
Index: output/flash.dat
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/flash.dat	(revision 5239)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/flash.dat	(working copy)
@@ -71,7 +71,7 @@
 46
 87
 60
-21
+20
 14
 ba
 2a
@@ -83,15 +83,15 @@
 28
 21
 8b
-a1
+a6
 8a
 57
 8e
-1d
+1e
 8e
 63
 9c
-dd
+de
 ba
 97
 15
@@ -107,7 +107,7 @@
 09
 4d
 44
-8f
+8e
 12
 cb
 df
@@ -119,11 +119,11 @@
 a5
 73
 0f
-74
+77
 4f
 06
 24
-4a
+4d
 88
 20
 17
@@ -671,7 +671,7 @@
 4b
 e9
 3d
-be
+bd
 15
 59
 22
@@ -1197,807 +1197,807 @@
 b3
 83
 af
-0a
-5b
-98
+4a
+7b
+c6
 e3
 70
-0b
-a7
+1b
+0d
 48
-2c
-29
-c3
+3b
+a9
+a1
 b4
-b2
-5e
-37
-26
-93
-62
-78
-3f
+85
+ef
+55
 69
-51
-56
-73
-21
-9b
-60
+13
+a7
+82
+70
+b3
 a6
-fb
-39
-7c
-9a
-bf
-5e
-0b
-ea
-b2
-f1
-7b
-8b
-10
-0f
-11
-32
-62
+ad
+3c
+fa
+ec
+96
+d6
+fa
+82
+8a
+e2
+be
+e5
+fd
+a2
+bc
+4a
+85
+cb
+1f
+34
+e1
+9d
+80
+23
+d4
 67
-1e
-87
-a4
-e0
-a9
+86
+54
+f8
 15
 bc
-0a
-0c
-8d
-8c
-f9
-5b
-54
-9e
-22
-69
-43
-9f
-7a
+8a
 76
-0f
-04
-bc
-f2
-f5
-60
-c8
-94
-92
-6f
-40
-bc
-77
-2b
+8d
 8c
-34
-27
-3b
+7e
+3e
+1b
+5e
+d7
+41
+08
+05
+bd
+24
+0b
+3e
+bd
+b4
+ba
+c4
+8e
+dd
+3e
+0b
+87
+b2
+db
+4b
+ca
 2d
-f3
-bf
-c8
-f1
+6c
+a1
+eb
+ea
+f4
+53
+b7
+17
+b4
+cc
+8d
+46
+d2
+fd
+12
 02
+d1
+fc
+ed
+3a
+c7
+2c
+2b
+a3
+29
+e6
+95
+36
+de
+e2
+40
 c4
-cd
-35
+9b
+72
+4f
+d6
+da
+ed
+ff
+50
+2b
+b3
+61
+69
+bb
 52
-aa
-fc
-aa
-16
-d9
-fd
-6d
-39
-6a
-4e
+22
+8b
+17
+41
+1b
+3d
+90
+63
+53
+ab
+ef
 db
-fa
-cb
-24
-95
-2c
-91
-43
-30
-a8
-eb
 73
-f7
-ee
-a2
-ec
-47
-68
-6c
+6f
+39
+06
+63
+46
+89
+79
+cf
 72
-11
-45
-43
-92
-14
-92
-ef
-e1
-67
-c0
-94
-59
-2f
-5a
-eb
-e1
-27
 b8
-39
-66
-6e
-77
-c6
-bd
-d1
-9a
-14
-f1
-c7
+0b
+36
+18
+e2
+8e
+78
+b2
 4e
-49
-d8
-08
-f2
-49
-65
+cd
 db
-52
-23
-de
-7c
-45
-5d
+72
+d4
+78
+c6
 7d
-0c
-61
-57
-11
-e9
-44
-e3
-ff
-7c
+e1
+1a
+46
+14
+6b
+70
+5b
+30
+9b
+f7
+3e
+93
+0e
 8a
-01
-22
 9d
-b2
-c7
-d4
-ba
-5c
+92
+68
+36
+fd
+3b
 cf
-96
-97
-87
+90
+17
+bc
 57
-c6
-bd
-6b
-7f
-7b
-0a
-65
-9e
-50
-6f
-e7
+c5
+71
+49
+d0
+9c
+01
+03
+31
+ba
+9f
+90
 02
-66
+63
 08
 29
-bd
-49
+5d
+26
+86
 b0
-df
-88
-b5
-46
-9f
-55
-2e
-0a
-c0
+c7
+35
+80
+87
+fa
+cd
+fa
+b7
 10
+30
 37
-b7
 dc
-ce
-ce
-2c
+2e
+aa
+9a
+46
+f9
+8a
+fb
 29
-b6
+70
+30
 0a
-3d
-31
-df
-d1
-7a
-01
+76
 54
-82
+81
 0c
 45
-a6
-94
-7f
-2f
-20
-72
+46
+f6
+c9
+40
+c6
+81
 9a
 74
-a1
-da
-c4
-1c
-aa
-d6
-98
-41
-32
-19
-76
-a5
-88
-61
-9b
-0f
+47
+09
+8b
+3a
+ae
+e2
+d7
+67
+79
+8d
+b1
+9e
+97
 c6
-65
-96
-e1
 67
-cc
-41
-2f
-a4
-bf
-28
-63
-73
-54
-36
-25
-c9
 34
-ca
-f2
-39
+92
+78
+f4
+5b
+2c
+72
 5f
-01
-fa
-81
-b2
-c1
-bd
-d6
-68
-4e
+9b
+08
+51
+6e
+00
 df
-da
-94
-14
-9a
-22
-0e
-06
-ad
-84
-27
-69
-21
-07
-80
-31
-dc
-55
-db
-87
-f4
-13
-8e
-8e
+be
+f0
+60
+82
+ee
+54
+05
+3d
+25
+0b
+a8
+ce
+16
 d5
-ef
+3d
+7b
+00
+88
+a3
+da
+95
+94
+9b
+c0
+a3
+5e
+19
+84
+47
+63
+68
+48
+20
+a7
+f2
+f8
+bb
+c3
+d5
+b9
+46
+ca
+66
+e8
+81
+e6
+c4
+69
+89
+dd
 29
-e5
-a9
+81
+e1
+29
+2e
+15
+4b
+51
+fa
 9e
-28
-e5
-75
-7e
-40
+e3
+37
+a0
 11
-72
-1a
+10
+d0
 e3
-52
-90
-99
+a0
 4b
-34
-f7
-e6
-b0
-e8
-82
-5f
-eb
-57
-84
-52
-7d
+6f
+e5
+5d
+d5
+6e
+e7
+c3
+a1
+a3
+4d
+0f
+aa
+ea
+48
+e7
+be
+d7
+50
+0e
+d0
+fa
+cf
 6d
-b1
-c4
-09
-a0
-18
-f8
-0a
-d2
-2a
-18
-1e
-ef
-32
-19
-75
-9c
-ac
-c7
-86
-ab
-08
+e3
+0b
+0e
 ff
-cb
-98
-44
-fd
+ab
+de
+1f
+07
+d7
+c6
 b7
-b6
-50
 e9
-d8
-5e
-64
+b8
+1b
+5b
 b0
-4b
-14
-33
+5e
+e6
+39
 4f
 a4
-6c
-b9
+20
+16
 94
-6f
-04
-69
+7a
+84
+09
 41
 5d
 d6
-92
+3e
 93
 2e
-e8
-d2
+f7
+5e
 39
-af
-f8
-c2
+9a
+2a
+a2
 c6
-ac
-7f
-ae
+99
+fe
+3d
 48
-0a
-cb
-9c
-03
+6a
+87
+10
+4c
+22
 e2
-69
-dc
+bc
+f0
+32
+c1
+f6
+a9
+3e
+28
+86
+cb
+37
+0c
+1a
+27
+15
+80
+d8
+38
+de
+46
+4a
 5e
-52
-07
-8e
 07
-5a
-6f
-88
-60
-de
-4b
-14
-c3
-38
-81
-31
-77
-1a
-00
-ae
-f5
-e5
-10
-e0
-00
-d1
-d9
-ce
-d5
-5a
-b1
-7d
+57
+ee
+b4
+91
+af
+6b
+d5
+50
+5f
+d8
 d6
 e1
-4e
+4c
 c8
 b4
 91
-d5
+d8
 9e
-86
-c9
-3f
+d6
+e5
+a8
 d3
 44
-9d
-52
-6f
+bd
+08
+b2
 ca
 74
-9c
-10
+be
+57
 74
 22
-bf
-c1
+88
+80
 49
 e0
-83
-ea
+9d
+03
 75
 69
-a2
-eb
+a4
+be
 16
 e8
 96
-ad
+72
 2f
 bc
-a7
-8c
+a8
+21
 f4
 b2
-0b
-e6
-ec
-79
-c4
-38
-53
-fa
-1a
-6e
-cb
-c8
-58
-3d
-ee
-04
-13
-4a
-2a
-6c
-0f
-17
-84
-65
-88
-79
-34
-c8
-7f
-f6
-1d
-17
-9a
-45
-75
-70
-39
-b5
-c0
-03
-d4
-6a
-96
-de
-ee
-85
+1c
+b1
+a3
+dd
+cc
+74
+f8
+18
+5d
+60
+2f
+8e
+59
 90
-0c
-c3
-83
-5e
-ed
-6d
-09
+a1
+b4
+9e
+e5
 22
-ee
-04
-08
-b0
-01
-16
-2b
-54
+7c
+45
+63
+27
+86
+ce
+0c
+d0
+8b
+a4
+34
 19
-07
-87
-09
-83
-42
-24
-41
-c3
-4a
-3c
-68
-2a
-a0
 23
-c0
-d8
-ba
-dc
-4b
-64
-1c
-ac
-67
-91
 c1
-a5
-ef
-da
-7d
-0c
-02
-00
-45
-1e
-9f
-60
-e0
-d1
-83
-95
-0d
-a4
-07
-86
-6f
-5f
-c0
-b3
-55
-26
-42
-07
-17
+87
+71
+44
+76
+93
+c4
+37
+9b
+4c
+92
+8a
 b5
+3f
+df
+c8
+df
+37
 f5
-ca
+0f
+2a
+07
+c6
+a8
+05
+bd
+ff
+a1
+d1
+eb
+fa
+54
+c1
+f1
+e8
+6e
+43
+e0
+41
 c3
-d7
-03
-ba
-5f
-cd
-be
-01
-98
-66
-2e
-31
-94
-b0
-b7
-71
+33
+0f
 68
-45
-28
-fb
-bb
-98
-49
-f4
-59
-08
-b3
-d4
-59
+4a
+d9
+1d
 88
-24
-94
-bb
-bb
-10
-1c
-52
-0b
-59
-a1
+b0
+77
+8e
+03
+6c
+be
+da
+2f
+99
+63
 d3
+a7
+d2
+fe
+91
+4a
 08
-87
-cc
-f8
+c6
 83
-43
-96
+d7
+68
+42
+aa
+87
+f5
+e2
+86
+4c
 46
-10
+28
+ea
+6e
+7e
+93
+50
+f3
+6c
+61
+ef
+f5
+cc
+21
 8d
-47
-0f
-13
-01
+03
+b6
+5d
+cc
+ee
+2d
+0e
+67
+61
+b1
+52
+c6
+f8
+b1
+f5
+96
+67
+3b
+2c
+ab
+06
 6e
-c0
-bd
-31
-5b
-2f
-24
+95
+9e
+e3
+e2
+cf
+88
+74
+f8
+76
+20
+5f
+dc
+cf
+e6
+f7
+ec
+15
+7e
 29
+90
+f4
+a5
 0c
-ae
-74
-a7
-62
-13
-7d
-1d
-ae
-d7
+5d
+4b
+ed
+dd
+31
+99
+cf
+1e
+c2
+9b
+25
+9f
+bb
+63
+bc
+98
+40
+b6
 75
+8f
+2e
+8b
+7c
+22
+4f
+92
+9a
 68
 46
 b4
-60
+7a
 42
-db
-eb
-88
-51
-84
-66
-70
+da
+62
+e4
+16
+24
+f0
+a2
 b2
 89
-2b
-ba
+70
+19
 76
 8b
-9c
-e5
+c4
+3a
 a6
 1a
-71
-12
+7b
+e7
 7f
 3d
-b5
-8c
-d3
-c2
-be
-e0
-5e
-a7
-d4
+d1
+0a
+8b
+d7
+75
+a5
+06
+d2
+7b
+f5
+df
+39
+e2
+4e
 78
-90
-f9
-7d
-54
-08
 de
-c3
-8a
-4d
-8d
-49
-5e
-96
-ff
-1f
-35
-a0
-af
 f1
+1c
+35
+8d
+7b
+c8
+30
+95
+d3
+a2
+11
+69
+66
 40
-9d
-00
-88
+82
+ac
 d3
-2f
-14
+49
+64
+8e
+2c
 e0
-7a
-1f
-66
-a0
-24
+4b
+50
+3a
+25
 0c
 d2
-68
-5d
-21
-f9
-66
-ee
-5c
+6b
+42
+71
+d5
+ff
+f0
+a6
 92
-62
-b7
+2e
+2e
 8f
-9a
-0c
-3e
-90
-e2
-29
-cb
-df
-66
-e3
-d2
+ba
+28
+87
+6a
+82
+76
+be
+8f
+c6
+96
+82
 25
-59
-30
-f3
-50
-ec
-f2
-37
-6d
-ef
-1d
-ea
-ce
-ce
+98
+3a
+fa
+78
+ad
+b1
+88
+52
+1e
+16
+19
+89
+5f
 af
-87
-51
-68
+c7
+8c
+63
 a9
 e7
-80
-86
+ba
+b1
 d5
 d5
 04
@@ -2435,7 +2435,7 @@
 00
 a2
 45
-a0
+28
 05
 aa
 55
@@ -3757,10 +3757,10 @@
 aa
 aa
 55
-ed
+75
 bc
-30
-da
+a1
+02
 ff
 ff
 ff
Index: output/otp.dat
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/otp.dat	(revision 5239)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/otp.dat	(working copy)
@@ -80,7 +80,7 @@
 46
 87
 60
-21
+20
 14
 ba
 2a
@@ -92,15 +92,15 @@
 28
 21
 8b
-a1
+a6
 8a
 57
 8e
-1d
+1e
 8e
 63
 9c
-dd
+de
 ba
 97
 15
@@ -116,7 +116,7 @@
 09
 4d
 44
-8f
+8e
 12
 cb
 df
@@ -128,11 +128,11 @@
 a5
 73
 0f
-74
+77
 4f
 06
 24
-4a
+4d
 88
 20
 17
@@ -680,7 +680,7 @@
 4b
 e9
 3d
-be
+bd
 15
 59
 22
@@ -1206,807 +1206,807 @@
 b3
 83
 af
-0a
-5b
-98
+4a
+7b
+c6
 e3
 70
-0b
-a7
+1b
+0d
 48
-2c
-29
-c3
+3b
+a9
+a1
 b4
-b2
-5e
-37
-26
-93
-62
-78
-3f
+85
+ef
+55
 69
-51
-56
-73
-21
-9b
-60
+13
+a7
+82
+70
+b3
 a6
-fb
-39
-7c
-9a
-bf
-5e
-0b
-ea
-b2
-f1
-7b
-8b
-10
-0f
-11
-32
-62
+ad
+3c
+fa
+ec
+96
+d6
+fa
+82
+8a
+e2
+be
+e5
+fd
+a2
+bc
+4a
+85
+cb
+1f
+34
+e1
+9d
+80
+23
+d4
 67
-1e
-87
-a4
-e0
-a9
+86
+54
+f8
 15
 bc
-0a
-0c
-8d
-8c
-f9
-5b
-54
-9e
-22
-69
-43
-9f
-7a
+8a
 76
-0f
-04
-bc
-f2
-f5
-60
-c8
-94
-92
-6f
-40
-bc
-77
-2b
+8d
 8c
-34
-27
-3b
+7e
+3e
+1b
+5e
+d7
+41
+08
+05
+bd
+24
+0b
+3e
+bd
+b4
+ba
+c4
+8e
+dd
+3e
+0b
+87
+b2
+db
+4b
+ca
 2d
-f3
-bf
-c8
-f1
+6c
+a1
+eb
+ea
+f4
+53
+b7
+17
+b4
+cc
+8d
+46
+d2
+fd
+12
 02
+d1
+fc
+ed
+3a
+c7
+2c
+2b
+a3
+29
+e6
+95
+36
+de
+e2
+40
 c4
-cd
-35
+9b
+72
+4f
+d6
+da
+ed
+ff
+50
+2b
+b3
+61
+69
+bb
 52
-aa
-fc
-aa
-16
-d9
-fd
-6d
-39
-6a
-4e
+22
+8b
+17
+41
+1b
+3d
+90
+63
+53
+ab
+ef
 db
-fa
-cb
-24
-95
-2c
-91
-43
-30
-a8
-eb
 73
-f7
-ee
-a2
-ec
-47
-68
-6c
+6f
+39
+06
+63
+46
+89
+79
+cf
 72
-11
-45
-43
-92
-14
-92
-ef
-e1
-67
-c0
-94
-59
-2f
-5a
-eb
-e1
-27
 b8
-39
-66
-6e
-77
-c6
-bd
-d1
-9a
-14
-f1
-c7
+0b
+36
+18
+e2
+8e
+78
+b2
 4e
-49
-d8
-08
-f2
-49
-65
+cd
 db
-52
-23
-de
-7c
-45
-5d
+72
+d4
+78
+c6
 7d
-0c
-61
-57
-11
-e9
-44
-e3
-ff
-7c
+e1
+1a
+46
+14
+6b
+70
+5b
+30
+9b
+f7
+3e
+93
+0e
 8a
-01
-22
 9d
-b2
-c7
-d4
-ba
-5c
+92
+68
+36
+fd
+3b
 cf
-96
-97
-87
+90
+17
+bc
 57
-c6
-bd
-6b
-7f
-7b
-0a
-65
-9e
-50
-6f
-e7
+c5
+71
+49
+d0
+9c
+01
+03
+31
+ba
+9f
+90
 02
-66
+63
 08
 29
-bd
-49
+5d
+26
+86
 b0
-df
-88
-b5
-46
-9f
-55
-2e
-0a
-c0
+c7
+35
+80
+87
+fa
+cd
+fa
+b7
 10
+30
 37
-b7
 dc
-ce
-ce
-2c
+2e
+aa
+9a
+46
+f9
+8a
+fb
 29
-b6
+70
+30
 0a
-3d
-31
-df
-d1
-7a
-01
+76
 54
-82
+81
 0c
 45
-a6
-94
-7f
-2f
-20
-72
+46
+f6
+c9
+40
+c6
+81
 9a
 74
-a1
-da
-c4
-1c
-aa
-d6
-98
-41
-32
-19
-76
-a5
-88
-61
-9b
-0f
+47
+09
+8b
+3a
+ae
+e2
+d7
+67
+79
+8d
+b1
+9e
+97
 c6
-65
-96
-e1
 67
-cc
-41
-2f
-a4
-bf
-28
-63
-73
-54
-36
-25
-c9
 34
-ca
-f2
-39
+92
+78
+f4
+5b
+2c
+72
 5f
-01
-fa
-81
-b2
-c1
-bd
-d6
-68
-4e
+9b
+08
+51
+6e
+00
 df
-da
-94
-14
-9a
-22
-0e
-06
-ad
-84
-27
-69
-21
-07
-80
-31
-dc
-55
-db
-87
-f4
-13
-8e
-8e
+be
+f0
+60
+82
+ee
+54
+05
+3d
+25
+0b
+a8
+ce
+16
 d5
-ef
+3d
+7b
+00
+88
+a3
+da
+95
+94
+9b
+c0
+a3
+5e
+19
+84
+47
+63
+68
+48
+20
+a7
+f2
+f8
+bb
+c3
+d5
+b9
+46
+ca
+66
+e8
+81
+e6
+c4
+69
+89
+dd
 29
-e5
-a9
+81
+e1
+29
+2e
+15
+4b
+51
+fa
 9e
-28
-e5
-75
-7e
-40
+e3
+37
+a0
 11
-72
-1a
+10
+d0
 e3
-52
-90
-99
+a0
 4b
-34
-f7
-e6
-b0
-e8
-82
-5f
-eb
-57
-84
-52
-7d
+6f
+e5
+5d
+d5
+6e
+e7
+c3
+a1
+a3
+4d
+0f
+aa
+ea
+48
+e7
+be
+d7
+50
+0e
+d0
+fa
+cf
 6d
-b1
-c4
-09
-a0
-18
-f8
-0a
-d2
-2a
-18
-1e
-ef
-32
-19
-75
-9c
-ac
-c7
-86
-ab
-08
+e3
+0b
+0e
 ff
-cb
-98
-44
-fd
+ab
+de
+1f
+07
+d7
+c6
 b7
-b6
-50
 e9
-d8
-5e
-64
+b8
+1b
+5b
 b0
-4b
-14
-33
+5e
+e6
+39
 4f
 a4
-6c
-b9
+20
+16
 94
-6f
-04
-69
+7a
+84
+09
 41
 5d
 d6
-92
+3e
 93
 2e
-e8
-d2
+f7
+5e
 39
-af
-f8
-c2
+9a
+2a
+a2
 c6
-ac
-7f
-ae
+99
+fe
+3d
 48
-0a
-cb
-9c
-03
+6a
+87
+10
+4c
+22
 e2
-69
-dc
+bc
+f0
+32
+c1
+f6
+a9
+3e
+28
+86
+cb
+37
+0c
+1a
+27
+15
+80
+d8
+38
+de
+46
+4a
 5e
-52
-07
-8e
 07
-5a
-6f
-88
-60
-de
-4b
-14
-c3
-38
-81
-31
-77
-1a
-00
-ae
-f5
-e5
-10
-e0
-00
-d1
-d9
-ce
-d5
-5a
-b1
-7d
+57
+ee
+b4
+91
+af
+6b
+d5
+50
+5f
+d8
 d6
 e1
-4e
+4c
 c8
 b4
 91
-d5
+d8
 9e
-86
-c9
-3f
+d6
+e5
+a8
 d3
 44
-9d
-52
-6f
+bd
+08
+b2
 ca
 74
-9c
-10
+be
+57
 74
 22
-bf
-c1
+88
+80
 49
 e0
-83
-ea
+9d
+03
 75
 69
-a2
-eb
+a4
+be
 16
 e8
 96
-ad
+72
 2f
 bc
-a7
-8c
+a8
+21
 f4
 b2
-0b
-e6
-ec
-79
-c4
-38
-53
-fa
-1a
-6e
-cb
-c8
-58
-3d
-ee
-04
-13
-4a
-2a
-6c
-0f
-17
-84
-65
-88
-79
-34
-c8
-7f
-f6
-1d
-17
-9a
-45
-75
-70
-39
-b5
-c0
-03
-d4
-6a
-96
-de
-ee
-85
+1c
+b1
+a3
+dd
+cc
+74
+f8
+18
+5d
+60
+2f
+8e
+59
 90
-0c
-c3
-83
-5e
-ed
-6d
-09
+a1
+b4
+9e
+e5
 22
-ee
-04
-08
-b0
-01
-16
-2b
-54
+7c
+45
+63
+27
+86
+ce
+0c
+d0
+8b
+a4
+34
 19
-07
-87
-09
-83
-42
-24
-41
-c3
-4a
-3c
-68
-2a
-a0
 23
-c0
-d8
-ba
-dc
-4b
-64
-1c
-ac
-67
-91
 c1
-a5
-ef
-da
-7d
-0c
-02
-00
-45
-1e
-9f
-60
-e0
-d1
-83
-95
-0d
-a4
-07
-86
-6f
-5f
-c0
-b3
-55
-26
-42
-07
-17
+87
+71
+44
+76
+93
+c4
+37
+9b
+4c
+92
+8a
 b5
+3f
+df
+c8
+df
+37
 f5
-ca
+0f
+2a
+07
+c6
+a8
+05
+bd
+ff
+a1
+d1
+eb
+fa
+54
+c1
+f1
+e8
+6e
+43
+e0
+41
 c3
-d7
-03
-ba
-5f
-cd
-be
-01
-98
-66
-2e
-31
-94
-b0
-b7
-71
+33
+0f
 68
-45
-28
-fb
-bb
-98
-49
-f4
-59
-08
-b3
-d4
-59
+4a
+d9
+1d
 88
-24
-94
-bb
-bb
-10
-1c
-52
-0b
-59
-a1
+b0
+77
+8e
+03
+6c
+be
+da
+2f
+99
+63
 d3
+a7
+d2
+fe
+91
+4a
 08
-87
-cc
-f8
+c6
 83
-43
-96
+d7
+68
+42
+aa
+87
+f5
+e2
+86
+4c
 46
-10
+28
+ea
+6e
+7e
+93
+50
+f3
+6c
+61
+ef
+f5
+cc
+21
 8d
-47
-0f
-13
-01
+03
+b6
+5d
+cc
+ee
+2d
+0e
+67
+61
+b1
+52
+c6
+f8
+b1
+f5
+96
+67
+3b
+2c
+ab
+06
 6e
-c0
-bd
-31
-5b
-2f
-24
+95
+9e
+e3
+e2
+cf
+88
+74
+f8
+76
+20
+5f
+dc
+cf
+e6
+f7
+ec
+15
+7e
 29
+90
+f4
+a5
 0c
-ae
-74
-a7
-62
-13
-7d
-1d
-ae
-d7
+5d
+4b
+ed
+dd
+31
+99
+cf
+1e
+c2
+9b
+25
+9f
+bb
+63
+bc
+98
+40
+b6
 75
+8f
+2e
+8b
+7c
+22
+4f
+92
+9a
 68
 46
 b4
-60
+7a
 42
-db
-eb
-88
-51
-84
-66
-70
+da
+62
+e4
+16
+24
+f0
+a2
 b2
 89
-2b
-ba
+70
+19
 76
 8b
-9c
-e5
+c4
+3a
 a6
 1a
-71
-12
+7b
+e7
 7f
 3d
-b5
-8c
-d3
-c2
-be
-e0
-5e
-a7
-d4
+d1
+0a
+8b
+d7
+75
+a5
+06
+d2
+7b
+f5
+df
+39
+e2
+4e
 78
-90
-f9
-7d
-54
-08
 de
-c3
-8a
-4d
-8d
-49
-5e
-96
-ff
-1f
-35
-a0
-af
 f1
+1c
+35
+8d
+7b
+c8
+30
+95
+d3
+a2
+11
+69
+66
 40
-9d
-00
-88
+82
+ac
 d3
-2f
-14
+49
+64
+8e
+2c
 e0
-7a
-1f
-66
-a0
-24
+4b
+50
+3a
+25
 0c
 d2
-68
-5d
-21
-f9
-66
-ee
-5c
+6b
+42
+71
+d5
+ff
+f0
+a6
 92
-62
-b7
+2e
+2e
 8f
-9a
-0c
-3e
-90
-e2
-29
-cb
-df
-66
-e3
-d2
+ba
+28
+87
+6a
+82
+76
+be
+8f
+c6
+96
+82
 25
-59
-30
-f3
-50
-ec
-f2
-37
-6d
-ef
-1d
-ea
-ce
-ce
+98
+3a
+fa
+78
+ad
+b1
+88
+52
+1e
+16
+19
+89
+5f
 af
-87
-51
-68
+c7
+8c
+63
 a9
 e7
-80
-86
+ba
+b1
 d5
 d5
 04
@@ -2444,7 +2444,7 @@
 00
 a2
 45
-a0
+28
 05
 aa
 55
@@ -3766,8 +3766,8 @@
 aa
 aa
 55
-ed
+75
 bc
-30
-da
+a1
+02
 24
Index: output/program.lis
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/program.lis	(revision 5239)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/program.lis	(working copy)
@@ -12,22 +12,22 @@
 0009 c048803f beq patch12_1 ,p_mouse_le_parse_att 
 000a c04800e7 beq patch12_0 ,p_mouse_le 
 000b c04980a1 beq patch12_3 ,p_mouse_bb_event_timer 
-000c c04d019a beq patch13_2 ,p_mouse_idle 
+000c c04d019b beq patch13_2 ,p_mouse_idle 
 000d c0518095 beq patch14_3 ,p_mouse_24g_hibernate_set 
 000e c052009b beq patch14_4 ,p_mouse_wakeup_24g 
-000f c0528163 beq patch14_5 ,p_mouse_24g_package_data 
-0010 c05781b5 beq patch15_7 ,p_mouse_usb_interface_check 
-0011 c0678185 beq patch19_7 ,p_app_init 
+000f c0528164 beq patch14_5 ,p_mouse_24g_package_data 
+0010 c05781b6 beq patch15_7 ,p_mouse_usb_interface_check 
+0011 c0678186 beq patch19_7 ,p_app_init 
 0012 c075001c beq patch1d_2 ,p_otp_read_data 
 0013 2020233e branch assert 
 
 pf_patch_ext:
 0014 c04c00f9 beq patch33_0 ,p_g24_dispatch 
-0015 c05f812a beq patch37_7 ,p_g24_reconn_device_fail 
+0015 c05f812b beq patch37_7 ,p_g24_reconn_device_fail 
 0016 c0630109 beq patch38_6 ,p_g24_transmit_loop 
 0017 c064011d beq patch39_0 ,p_g24_transmit_receive_ack 
-0018 c0648135 beq patch39_1 ,p_g24_retransmit 
-0019 c066014b beq patch39_4 ,p_g24_transmit_hop_process 
+0018 c0648136 beq patch39_1 ,p_g24_retransmit 
+0019 c066014c beq patch39_4 ,p_g24_transmit_hop_process 
 001a c17f8000 rtneq patch3f_7 
 001b 2020233e branch assert 
 
@@ -218,7 +218,7 @@
 
 p_mouse_bb_event_timer:
 00a1 204000be call p_mouse_le_send_conn_param_update_timer 
-00a2 204001e5 call p_mouse_delay_enter_lpm_timer 
+00a2 204001e6 call p_mouse_delay_enter_lpm_timer 
 00a3 20405a29 call mouse_low_voltage_led_timer 
 00a4 20404ea5 call mouse_adc_read 
 00a5 204059f2 call mouse_logo_led_on_timer 
@@ -394,265 +394,266 @@
 0123 98001200 iforce access 
 0124 68488008 fetcht 1 ,mem_last_freq 
 0125 20402173 call set_freq_rx 
-0126 204021aa call rf_rx_enable 
-0127 20403100 call g24_receive_rxon 
-0128 2057b162 call g24_end_of_packet ,user3 
-0129 20600000 rtn 
+0126 200001f4 nop 500 
+0127 204021aa call rf_rx_enable 
+0128 20403100 call g24_receive_rxon 
+0129 2057b162 call g24_end_of_packet ,user3 
+012a 20600000 rtn 
 
 p_g24_reconn_device_fail:
-012a 6fe0c5fa fetch 1 ,mem_24g_fast_conn_enable 
-012b 203a3201 branch g24_ch ,blank 
-012c 6fe145f7 fetch 2 ,mem_24g_reconn_count 
-012d 1fe0fe01 increase 1 ,pdata 
-012e 67e145f7 store 2 ,mem_24g_reconn_count 
-012f 2feffe09 isolate1 9 ,pdata 
-0130 6fe0c5f9 fetch 1 ,mem_24g_reconn_type 
-0131 c0028133 beq pair_and_receiver ,p_g24_reconn_pair_and_receiver 
-0132 20203565 branch g24_reconn_device_fail + 7 
+012b 6fe0c5fa fetch 1 ,mem_24g_fast_conn_enable 
+012c 203a3201 branch g24_ch ,blank 
+012d 6fe145f7 fetch 2 ,mem_24g_reconn_count 
+012e 1fe0fe01 increase 1 ,pdata 
+012f 67e145f7 store 2 ,mem_24g_reconn_count 
+0130 2feffe09 isolate1 9 ,pdata 
+0131 6fe0c5f9 fetch 1 ,mem_24g_reconn_type 
+0132 c0028134 beq pair_and_receiver ,p_g24_reconn_pair_and_receiver 
+0133 20203565 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_pair_and_receiver:
-0133 2020b51f branch g24_reconn_receiver_addr ,true 
-0134 2020327a branch g24_pair_init_param 
+0134 2020b51f branch g24_reconn_receiver_addr ,true 
+0135 2020327a branch g24_pair_init_param 
 
 p_g24_retransmit:
 
 p_mouse_g24_retransmit:
-0135 6fe0c752 fetch 1 ,mem_device_need_soft_reset 
-0136 247a0000 nrtn blank 
-0137 20400146 call p_mouse_g24_retransmit_100ms_timer 
-0138 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
-0139 c3808000 rtnbit1 mouse_24g_pairing_flag 
+0136 6fe0c752 fetch 1 ,mem_device_need_soft_reset 
+0137 247a0000 nrtn blank 
+0138 20400147 call p_mouse_g24_retransmit_100ms_timer 
+0139 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
+013a c3808000 rtnbit1 mouse_24g_pairing_flag 
 
 p_g24_retransmit0:
-013a 6fe0c619 fetch 1 ,mem_24g_abort_pac 
-013b 247a0000 nrtn blank 
-013c 6fe14615 fetch 2 ,mem_24g_txfail_cnt 
-013d 1fe0fe01 increase 1 ,pdata 
-013e 67e14615 store 2 ,mem_24g_txfail_cnt 
-013f 6fe0c616 fetch 1 ,mem_24g_txfail_cnt + 1 
-0140 c282364f bbit1 4 ,g24_tx_attempt_fail 
-0141 20403655 call g24_transmit_hop_process 
-0142 6fe14639 fetch 2 ,mem_24g_retransmit 
-0143 1fe0fe01 increase 1 ,pdata 
-0144 67e14639 store 2 ,mem_24g_retransmit 
-0145 20203615 branch g24_transmit_loop 
+013b 6fe0c619 fetch 1 ,mem_24g_abort_pac 
+013c 247a0000 nrtn blank 
+013d 6fe14615 fetch 2 ,mem_24g_txfail_cnt 
+013e 1fe0fe01 increase 1 ,pdata 
+013f 67e14615 store 2 ,mem_24g_txfail_cnt 
+0140 6fe0c616 fetch 1 ,mem_24g_txfail_cnt + 1 
+0141 c282364f bbit1 4 ,g24_tx_attempt_fail 
+0142 20403655 call g24_transmit_hop_process 
+0143 6fe14639 fetch 2 ,mem_24g_retransmit 
+0144 1fe0fe01 increase 1 ,pdata 
+0145 67e14639 store 2 ,mem_24g_retransmit 
+0146 20203615 branch g24_transmit_loop 
 
 p_mouse_g24_retransmit_100ms_timer:
-0146 d8e0000c arg 12 ,queue 
-0147 20407cf1 call timer_check 
-0148 247a0000 nrtn blank 
-0149 204054d7 call mouse_commbination_key_process 
-014a 202059e6 branch mouse_g24_retransmit_100ms_timer_next 
+0147 d8e0000c arg 12 ,queue 
+0148 20407cf1 call timer_check 
+0149 247a0000 nrtn blank 
+014a 204054d7 call mouse_commbination_key_process 
+014b 202059e6 branch mouse_g24_retransmit_100ms_timer_next 
 
 p_g24_transmit_hop_process:
-014b 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
-014c c31eb658 bbit0 mouse_enable_24g_2m_phy ,g24_transmit_hop_process_next 
+014c 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
+014d c31eb658 bbit0 mouse_enable_24g_2m_phy ,g24_transmit_hop_process_next 
 
 p_mouse_g24_transmit_hop_process_new:
-014d 6848c618 fetcht 1 ,mem_24g_retry 
-014e 6fe0c638 fetch 1 ,mem_24g_fast_hop_count 
-014f 98467c00 isub temp ,null 
-0150 24213675 nbranch g24_tx_fast_hop ,positive 
-0151 18408401 increase 1 ,temp 
-0152 6048c618 storet 1 ,mem_24g_retry 
-0153 6fe0c638 fetch 1 ,mem_24g_fast_hop_count 
-0154 c002815f beq 5 ,p_g24_transmit_hop_process_1ms 
-0155 c004015b beq 8 ,p_g24_transmit_hop_process_2ms 
-0156 c007cd7e beq 15 ,mouse_g24_transmit_hop_process_4ms 
-0157 6fe0c618 fetch 1 ,mem_24g_retry 
-0158 c00a366f beq 20 ,g24_hop_ch_disable 
-0159 c00f366f beq 30 ,g24_hop_ch_disable 
-015a 20600000 rtn 
+014e 6848c618 fetcht 1 ,mem_24g_retry 
+014f 6fe0c638 fetch 1 ,mem_24g_fast_hop_count 
+0150 98467c00 isub temp ,null 
+0151 24213675 nbranch g24_tx_fast_hop ,positive 
+0152 18408401 increase 1 ,temp 
+0153 6048c618 storet 1 ,mem_24g_retry 
+0154 6fe0c638 fetch 1 ,mem_24g_fast_hop_count 
+0155 c0028160 beq 5 ,p_g24_transmit_hop_process_1ms 
+0156 c004015c beq 8 ,p_g24_transmit_hop_process_2ms 
+0157 c007cd7e beq 15 ,mouse_g24_transmit_hop_process_4ms 
+0158 6fe0c618 fetch 1 ,mem_24g_retry 
+0159 c00a366f beq 20 ,g24_hop_ch_disable 
+015a c00f366f beq 30 ,g24_hop_ch_disable 
+015b 20600000 rtn 
 
 p_g24_transmit_hop_process_2ms:
-015b 6fe0c618 fetch 1 ,mem_24g_retry 
-015c c003366f beq 6 ,g24_hop_ch_disable 
-015d c004b66f beq 9 ,g24_hop_ch_disable 
-015e 20600000 rtn 
+015c 6fe0c618 fetch 1 ,mem_24g_retry 
+015d c003366f beq 6 ,g24_hop_ch_disable 
+015e c004b66f beq 9 ,g24_hop_ch_disable 
+015f 20600000 rtn 
 
 p_g24_transmit_hop_process_1ms:
-015f 6fe0c618 fetch 1 ,mem_24g_retry 
-0160 c001b66f beq 3 ,g24_hop_ch_disable 
-0161 c002b66f beq 5 ,g24_hop_ch_disable 
-0162 20600000 rtn 
+0160 6fe0c618 fetch 1 ,mem_24g_retry 
+0161 c001b66f beq 3 ,g24_hop_ch_disable 
+0162 c002b66f beq 5 ,g24_hop_ch_disable 
+0163 20600000 rtn 
 
 p_mouse_24g_package_data:
-0163 c6930000 rtnmark0 mark_24g 
-0164 20404f26 call mouse_motion 
-0165 24740000 nrtn user 
-0166 6fe0c73b fetch 1 ,mem_mouse_24g_long_sleep_flag 
-0167 70473b00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-0168 245a59ba ncall mouse_24g_short_sleep_clear_wake ,blank 
-0169 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
-016a c30a016d bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-016b 6fe0c72b fetch 1 ,mem_customer_key 
-016c 243a59dc nbranch mouse_24g_keyboard_package_data ,blank 
+0164 c6930000 rtnmark0 mark_24g 
+0165 20404f26 call mouse_motion 
+0166 24740000 nrtn user 
+0167 6fe0c73b fetch 1 ,mem_mouse_24g_long_sleep_flag 
+0168 70473b00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+0169 245a59ba ncall mouse_24g_short_sleep_clear_wake ,blank 
+016a 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
+016b c30a016e bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+016c 6fe0c72b fetch 1 ,mem_customer_key 
+016d 243a59dc nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-016d 2040538e call mouse_data_xy_release 
-016e 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
-016f c28c8172 bbit1 mouse_enable_24g_500hz ,p_mouse_24g_mouse_package_data_by_interrupt 
-0170 c28d0172 bbit1 mouse_enable_24g_1000 ,p_mouse_24g_mouse_package_data_by_interrupt 
-0171 202059c7 branch mouse_24g_mouse_package_data 
+016e 2040538e call mouse_data_xy_release 
+016f 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
+0170 c28c8173 bbit1 mouse_enable_24g_500hz ,p_mouse_24g_mouse_package_data_by_interrupt 
+0171 c28d0173 bbit1 mouse_enable_24g_1000 ,p_mouse_24g_mouse_package_data_by_interrupt 
+0172 202059c7 branch mouse_24g_mouse_package_data 
 
 p_mouse_24g_mouse_package_data_by_interrupt:
-0172 2040538e call mouse_data_xy_release 
-0173 6fe0c5a0 fetch 1 ,mem_24g_data_type 
-0174 c2808181 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
-0175 6848c531 fetcht 1 ,mem_24g_txbuf + 1 
-0176 6fe0c65c fetch 1 ,mem_mouse_key 
-0177 9841fe00 ior temp ,pdata 
-0178 67e0c65c store 1 ,mem_mouse_key 
-0179 6848c536 fetcht 1 ,mem_24g_txbuf + 6 
-017a 6fe0c661 fetch 1 ,mem_mouse_z 
-017b 9840fe00 iadd temp ,pdata 
-017c 67e0c661 store 1 ,mem_mouse_z 
-017d 6848c537 fetcht 1 ,mem_24g_txbuf + 7 
-017e 6fe0c662 fetch 1 ,mem_mouse_tz 
-017f 9840fe00 iadd temp ,pdata 
-0180 67e0c662 store 1 ,mem_mouse_tz 
+0173 2040538e call mouse_data_xy_release 
+0174 6fe0c5a0 fetch 1 ,mem_24g_data_type 
+0175 c2808182 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+0176 6848c531 fetcht 1 ,mem_24g_txbuf + 1 
+0177 6fe0c65c fetch 1 ,mem_mouse_key 
+0178 9841fe00 ior temp ,pdata 
+0179 67e0c65c store 1 ,mem_mouse_key 
+017a 6848c536 fetcht 1 ,mem_24g_txbuf + 6 
+017b 6fe0c661 fetch 1 ,mem_mouse_z 
+017c 9840fe00 iadd temp ,pdata 
+017d 67e0c661 store 1 ,mem_mouse_z 
+017e 6848c537 fetcht 1 ,mem_24g_txbuf + 7 
+017f 6fe0c662 fetch 1 ,mem_mouse_tz 
+0180 9840fe00 iadd temp ,pdata 
+0181 67e0c662 store 1 ,mem_mouse_tz 
 
 p_mouse_24g_mouse_package_data_now:
-0181 7045a001 jam type_ms ,mem_24g_data_type 
-0182 da200007 arg 7 ,rega 
-0183 da40465c arg mem_mouse_key ,regb 
-0184 202036bb branch g24_transmit_by_interrupt_enable 
+0182 7045a001 jam type_ms ,mem_24g_data_type 
+0183 da200007 arg 7 ,rega 
+0184 da40465c arg mem_mouse_key ,regb 
+0185 202036bb branch g24_transmit_by_interrupt_enable 
 
 p_app_init:
 
 p_mouse_init:
-0185 20407384 call enable_authrom 
-0186 2055818e call p_mouse_24g_1000_halfslot_set ,wake 
-0187 2055cd20 call mouse_wake_gpio_set ,wake 
-0188 20404d40 call mouse_setting_config 
-0189 20404dec call mouse_le_name_modify 
-018a 20405260 call mouse_init_sunt 
-018b 20758000 rtn wake 
-018c 20400193 call p_mouse_usb_check_enable 
-018d 20204d18 branch mouse_init + 7 
+0186 20407384 call enable_authrom 
+0187 2055818f call p_mouse_24g_1000_halfslot_set ,wake 
+0188 2055cd20 call mouse_wake_gpio_set ,wake 
+0189 20404d40 call mouse_setting_config 
+018a 20404dec call mouse_le_name_modify 
+018b 20405260 call mouse_init_sunt 
+018c 20758000 rtn wake 
+018d 20400194 call p_mouse_usb_check_enable 
+018e 20204d18 branch mouse_init + 7 
 
 p_mouse_24g_1000_halfslot_set:
-018e 6fe0c678 fetch 1 ,mem_device_flag 
-018f c1800000 rtnne mode_24g_device 
-0190 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
-0191 c40d0000 rtnbit0 mouse_enable_24g_1000 
-0192 202001e9 branch p_select_system_clk_12m_common 
+018f 6fe0c678 fetch 1 ,mem_device_flag 
+0190 c1800000 rtnne mode_24g_device 
+0191 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
+0192 c40d0000 rtnbit0 mouse_enable_24g_1000 
+0193 202001ea branch p_select_system_clk_12m_common 
 
 p_mouse_usb_check_enable:
-0193 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
-0194 c4060000 rtnbit0 mouse_enable_usb 
-0195 704676a5 jam usb_interface_remove ,mem_usb_vdd_status 
-0196 704c9800 jam off ,mem_usb_mode_enable 
-0197 704c9a00 jam 0 ,mem_mouse_reinit_mode_flag 
-0198 704c9700 jam 0 ,mem_usb_sof_zero_cntl 
-0199 20600000 rtn 
+0194 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
+0195 c4060000 rtnbit0 mouse_enable_usb 
+0196 704676a5 jam usb_interface_remove ,mem_usb_vdd_status 
+0197 704c9800 jam off ,mem_usb_mode_enable 
+0198 704c9a00 jam 0 ,mem_mouse_reinit_mode_flag 
+0199 704c9700 jam 0 ,mem_usb_sof_zero_cntl 
+019a 20600000 rtn 
 
 p_mouse_idle:
-019a 20405add call mouse_low_voltage_led_no_enter_lpm 
-019b 2040789a call ui_check_paring_button 
-019c 20404fdb call mouse_dpi_check 
-019d 20405132 call mouse_dpi_another_gpio_check 
-019e 20405767 call mouse_select_device_check 
-019f 204057b8 call mouse_check_select_device_by_switch 
-01a0 20405815 call mouse_bt_button_check 
-01a1 20404f42 call mouse_wheel_check 
-01a2 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
-01a3 c4060000 rtnbit0 mouse_enable_usb 
-01a4 204001ad call p_mouse_usb_isr 
+019b 20405add call mouse_low_voltage_led_no_enter_lpm 
+019c 2040789a call ui_check_paring_button 
+019d 20404fdb call mouse_dpi_check 
+019e 20405132 call mouse_dpi_another_gpio_check 
+019f 20405767 call mouse_select_device_check 
+01a0 204057b8 call mouse_check_select_device_by_switch 
+01a1 20405815 call mouse_bt_button_check 
+01a2 20404f42 call mouse_wheel_check 
+01a3 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
+01a4 c4060000 rtnbit0 mouse_enable_usb 
+01a5 204001ae call p_mouse_usb_isr 
 
 p_mouse_usb_mode:
-01a5 6ff08c01 fetch 1 ,core_usb_addr 
-01a6 67e0c675 store 1 ,mem_usb_addr 
-01a7 c4038000 rtnbit0 7 
-01a8 20405bc2 call mouse_usb_timer_check 
-01a9 24740000 nrtn user 
-01aa 20404f26 call mouse_motion 
-01ab 24740000 nrtn user 
-01ac 20205bba branch mouse_push_data_to_usb 
+01a6 6ff08c01 fetch 1 ,core_usb_addr 
+01a7 67e0c675 store 1 ,mem_usb_addr 
+01a8 c4038000 rtnbit0 7 
+01a9 20405bc2 call mouse_usb_timer_check 
+01aa 24740000 nrtn user 
+01ab 20404f26 call mouse_motion 
+01ac 24740000 nrtn user 
+01ad 20205bba branch mouse_push_data_to_usb 
 
 p_mouse_usb_isr:
-01ad 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
-01ae c4060000 rtnbit0 mouse_enable_usb 
-01af 204001b5 call p_mouse_usb_interface_check 
-01b0 6fe0c676 fetch 1 ,mem_usb_vdd_status 
-01b1 c1ad0000 rtnne usb_interface_insert 
-01b2 204001c4 call p_mouse_usb_mode_enum_init 
-01b3 204078f6 call usb_isr 
-01b4 202001c8 branch p_mouse_usb_enum_check 
+01ae 6fe4470e fetch mouse_flag_len ,mem_mouse_flag 
+01af c4060000 rtnbit0 mouse_enable_usb 
+01b0 204001b6 call p_mouse_usb_interface_check 
+01b1 6fe0c676 fetch 1 ,mem_usb_vdd_status 
+01b2 c1ad0000 rtnne usb_interface_insert 
+01b3 204001c5 call p_mouse_usb_mode_enum_init 
+01b4 204078f6 call usb_isr 
+01b5 202001c9 branch p_mouse_usb_enum_check 
 
 p_mouse_usb_interface_check:
-01b5 6848cc9b fetcht 1 ,mem_mouse_usb_offline_check_gpio 
-01b6 20406eed call gpio_out_inactive 
-01b7 6848cc9b fetcht 1 ,mem_mouse_usb_offline_check_gpio 
-01b8 20404f06 call device_gpio_config_input_pd 
-01b9 6848cc9b fetcht 1 ,mem_mouse_usb_offline_check_gpio 
-01ba 20406ee0 call gpio_get_bit 
-01bb 242081c2 nbranch p_mouse_usb_mode_disable ,true 
+01b6 6848cc9b fetcht 1 ,mem_mouse_usb_offline_check_gpio 
+01b7 20406eed call gpio_out_inactive 
+01b8 6848cc9b fetcht 1 ,mem_mouse_usb_offline_check_gpio 
+01b9 20404f06 call device_gpio_config_input_pd 
+01ba 6848cc9b fetcht 1 ,mem_mouse_usb_offline_check_gpio 
+01bb 20406ee0 call gpio_get_bit 
+01bc 242081c3 nbranch p_mouse_usb_mode_disable ,true 
 
 p_mouse_enum_usb_mode:
-01bc 6fe0c676 fetch 1 ,mem_usb_vdd_status 
-01bd c12d0000 rtneq usb_interface_insert 
-01be 7046765a jam usb_interface_insert ,mem_usb_vdd_status 
-01bf 70409400 jam 0 ,mem_lpm_mode 
-01c0 704c9601 jam 1 ,mem_usb_enum_flag 
-01c1 20600000 rtn 
+01bd 6fe0c676 fetch 1 ,mem_usb_vdd_status 
+01be c12d0000 rtneq usb_interface_insert 
+01bf 7046765a jam usb_interface_insert ,mem_usb_vdd_status 
+01c0 70409400 jam 0 ,mem_lpm_mode 
+01c1 704c9601 jam 1 ,mem_usb_enum_flag 
+01c2 20600000 rtn 
 
 p_mouse_usb_mode_disable:
-01c2 6fe0c676 fetch 1 ,mem_usb_vdd_status 
-01c3 20205ba5 branch mouse_usb_mode_disable + 1 
+01c3 6fe0c676 fetch 1 ,mem_usb_vdd_status 
+01c4 20205ba5 branch mouse_usb_mode_disable + 1 
 
 p_mouse_usb_mode_enum_init:
-01c4 6fe0cc96 fetch 1 ,mem_usb_enum_flag 
-01c5 207a0000 rtn blank 
-01c6 704c9600 jam 0 ,mem_usb_enum_flag 
-01c7 20205b9b branch mouse_usb_mode_enable_next 
+01c5 6fe0cc96 fetch 1 ,mem_usb_enum_flag 
+01c6 207a0000 rtn blank 
+01c7 704c9600 jam 0 ,mem_usb_enum_flag 
+01c8 20205b9b branch mouse_usb_mode_enable_next 
 
 p_mouse_usb_enum_check:
-01c8 6fe0c676 fetch 1 ,mem_usb_vdd_status 
-01c9 c1ad0000 rtnne usb_interface_insert 
-01ca 6ff10c26 fetch 2 ,core_usb_sof_cnt 
-01cb 203a01db branch p_mouse_reinit_previous_mode_check ,blank 
-01cc 704c9700 jam 0 ,mem_usb_sof_zero_cntl 
-01cd 6fe0cc98 fetch 1 ,mem_usb_mode_enable 
-01ce c1008000 rtneq on 
-01cf 704c9801 jam on ,mem_usb_mode_enable 
-01d0 58000000 setarg 0 
-01d1 67e145ef store 2 ,mem_24g_pair_timeout 
-01d2 67e145f5 store 2 ,mem_24g_reconn_timeout 
-01d3 67e0cc99 store 1 ,mem_mouse_delay_enter_lpm_count 
-01d4 20405a4b call mouse_device_multi_led_parm_init 
-01d5 204001e8 call p_select_system_clk_12m_dpll 
-01d6 20405936 call mouse_24g_stop 
-01d7 204053c3 call mouse_stop_bluetooth_mode 
-01d8 20403745 call app_evt_button_long_pressed 
-01d9 7855fc00 disable wake 
-01da 2020538d branch mouse_init_sensor_reset 
+01c9 6fe0c676 fetch 1 ,mem_usb_vdd_status 
+01ca c1ad0000 rtnne usb_interface_insert 
+01cb 6ff10c26 fetch 2 ,core_usb_sof_cnt 
+01cc 203a01dc branch p_mouse_reinit_previous_mode_check ,blank 
+01cd 704c9700 jam 0 ,mem_usb_sof_zero_cntl 
+01ce 6fe0cc98 fetch 1 ,mem_usb_mode_enable 
+01cf c1008000 rtneq on 
+01d0 704c9801 jam on ,mem_usb_mode_enable 
+01d1 58000000 setarg 0 
+01d2 67e145ef store 2 ,mem_24g_pair_timeout 
+01d3 67e145f5 store 2 ,mem_24g_reconn_timeout 
+01d4 67e0cc99 store 1 ,mem_mouse_delay_enter_lpm_count 
+01d5 20405a4b call mouse_device_multi_led_parm_init 
+01d6 204001e9 call p_select_system_clk_12m_dpll 
+01d7 20405936 call mouse_24g_stop 
+01d8 204053c3 call mouse_stop_bluetooth_mode 
+01d9 20403745 call app_evt_button_long_pressed 
+01da 7855fc00 disable wake 
+01db 2020538d branch mouse_init_sensor_reset 
 
 p_mouse_reinit_previous_mode_check:
-01db 6fe0cc97 fetch 1 ,mem_usb_sof_zero_cntl 
-01dc 1fe0fe01 increase 1 ,pdata 
-01dd 67e0cc97 store 1 ,mem_usb_sof_zero_cntl 
-01de c18a0000 rtnne 20 
-01df 704c9700 jam 0 ,mem_usb_sof_zero_cntl 
-01e0 6fe0cc9a fetch 1 ,mem_mouse_reinit_mode_flag 
-01e1 247a0000 nrtn blank 
-01e2 704c9a01 jam 1 ,mem_mouse_reinit_mode_flag 
-01e3 704c991e jam 30 ,mem_mouse_delay_enter_lpm_count 
-01e4 20600000 rtn 
+01dc 6fe0cc97 fetch 1 ,mem_usb_sof_zero_cntl 
+01dd 1fe0fe01 increase 1 ,pdata 
+01de 67e0cc97 store 1 ,mem_usb_sof_zero_cntl 
+01df c18a0000 rtnne 20 
+01e0 704c9700 jam 0 ,mem_usb_sof_zero_cntl 
+01e1 6fe0cc9a fetch 1 ,mem_mouse_reinit_mode_flag 
+01e2 247a0000 nrtn blank 
+01e3 704c9a01 jam 1 ,mem_mouse_reinit_mode_flag 
+01e4 704c991e jam 30 ,mem_mouse_delay_enter_lpm_count 
+01e5 20600000 rtn 
 
 p_mouse_delay_enter_lpm_timer:
-01e5 da604c99 arg mem_mouse_delay_enter_lpm_count ,regc 
-01e6 da406820 arg hid_device_enable_lpm ,regb 
-01e7 20203755 branch timer_single_step 
+01e6 da604c99 arg mem_mouse_delay_enter_lpm_count ,regc 
+01e7 da406820 arg hid_device_enable_lpm ,regb 
+01e8 20203755 branch timer_single_step 
 
 p_select_system_clk_12m_dpll:
-01e8 70804205 jam clksel_dpll ,core_clksel 
+01e9 70804205 jam clksel_dpll ,core_clksel 
 
 p_select_system_clk_12m_common:
-01e9 7041480c jam system_clk_12m ,mem_system_clk 
-01ea 58000bb3 setarg 2995 
-01eb 67f10040 store 2 ,core_halfslot 
-01ec 20600000 rtn 
+01ea 7041480c jam system_clk_12m ,mem_system_clk 
+01eb 58000bb3 setarg 2995 
+01ec 67f10040 store 2 ,core_halfslot 
+01ed 20600000 rtn 
               org 0x2000
 
 start:
Index: output/ramcode.rom
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/ramcode.rom	(revision 5239)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/ramcode.rom	(working copy)
@@ -10,20 +10,20 @@
 c048803f
 c04800e7
 c04980a1
-c04d019a
+c04d019b
 c0518095
 c052009b
-c0528163
-c05781b5
-c0678185
+c0528164
+c05781b6
+c0678186
 c075001c
 2020233e
 c04c00f9
-c05f812a
+c05f812b
 c0630109
 c064011d
-c0648135
-c066014b
+c0648136
+c066014c
 c17f8000
 2020233e
 20406b28
@@ -160,7 +160,7 @@
 20400087
 2020591b
 204000be
-204001e5
+204001e6
 20405a29
 20404ea5
 204059f2
@@ -292,6 +292,7 @@
 98001200
 68488008
 20402173
+200001f4
 204021aa
 20403100
 2057b162
@@ -303,13 +304,13 @@
 67e145f7
 2feffe09
 6fe0c5f9
-c0028133
+c0028134
 20203565
 2020b51f
 2020327a
 6fe0c752
 247a0000
-20400146
+20400147
 6fe4470e
 c3808000
 6fe0c619
@@ -338,8 +339,8 @@
 18408401
 6048c618
 6fe0c638
-c002815f
-c004015b
+c0028160
+c004015c
 c007cd7e
 6fe0c618
 c00a366f
@@ -360,17 +361,17 @@
 70473b00
 245a59ba
 6fe4470e
-c30a016d
+c30a016e
 6fe0c72b
 243a59dc
 2040538e
 6fe4470e
-c28c8172
-c28d0172
+c28c8173
+c28d0173
 202059c7
 2040538e
 6fe0c5a0
-c2808181
+c2808182
 6848c531
 6fe0c65c
 9841fe00
@@ -388,19 +389,19 @@
 da40465c
 202036bb
 20407384
-2055818e
+2055818f
 2055cd20
 20404d40
 20404dec
 20405260
 20758000
-20400193
+20400194
 20204d18
 6fe0c678
 c1800000
 6fe4470e
 c40d0000
-202001e9
+202001ea
 6fe4470e
 c4060000
 704676a5
@@ -418,7 +419,7 @@
 20404f42
 6fe4470e
 c4060000
-204001ad
+204001ae
 6ff08c01
 67e0c675
 c4038000
@@ -429,19 +430,19 @@
 20205bba
 6fe4470e
 c4060000
-204001b5
+204001b6
 6fe0c676
 c1ad0000
-204001c4
+204001c5
 204078f6
-202001c8
+202001c9
 6848cc9b
 20406eed
 6848cc9b
 20404f06
 6848cc9b
 20406ee0
-242081c2
+242081c3
 6fe0c676
 c12d0000
 7046765a
@@ -457,7 +458,7 @@
 6fe0c676
 c1ad0000
 6ff10c26
-203a01db
+203a01dc
 704c9700
 6fe0cc98
 c1008000
@@ -467,7 +468,7 @@
 67e145f5
 67e0cc99
 20405a4b
-204001e8
+204001e9
 20405936
 204053c3
 20403745
Index: output/romcode.rom
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/romcode.rom	(revision 5189)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/romcode.rom	(working copy)
@@ -24316,7 +24316,46 @@
 19038026
 03802a00
 01951075
-12c00081
+00c00081
+#0x02系统控制28个系统功能的触发状态（1字节）#0x01鼠标85键状态（1字节）+X/Y轴（4字节）+滚轮（2字节）+水平滚轮（1字节）#报告ID功能类型总长度（字节）核心数据内容00
+00#0x03扩展多媒体指令316位扩展多媒体功能值（2字节）#0x05多媒体按键424个多媒体按键的按下状态（3字节）#0xBA厂商自定义3231字节自定义数据（输入/输出方向通用）
+#0902//Usage(Mouse)具体功能：鼠标#0501//UsagePage(GenericDesktop)功能类别：通用桌面设备#//1.鼠标功能集合（ReportID=1）：5键+X/Y轴+滚轮+水平滚轮00
+#A100//Collection(Physical)开始物理集合（描述物理操作部件）#0901//Usage(Pointer)子功能：指针#8501//ReportId(1)报告ID=1（区分其他报告）#A101//Collection(Application)开始应用集合（封装鼠标功能）
+#1901//UsageMinimum(Button1)起始按键：1（左键）#0509//UsagePage(Button)功能类别：按键#//5个鼠标按键（左键~侧键2）00
+#9505//ReportCount(5)共5个按键#2501//LogicalMaximum(1)状态：1=按下#1500//LogicalMinimum(0)状态：0=释放#2905//UsageMaximum(Button5)结束按键：5（侧键2）
+#//3位填充（凑满1字节）00#8102//Input(Data,Absolute)输入：5位按键数据（1=按下）#7501//ReportSize(1)每个按键占1位
+00#8101//Input(Constant)输入：填充位（无意义）#7503//ReportSize(3)3位填充#9501//ReportCount(1)1组填充
+#0931//Usage(Y)Y轴位移#0930//Usage(X)X轴位移#0501//UsagePage(GenericDesktop)回到通用桌面类别#//X/Y轴位移（16位，相对值，范围±2047）
+#9502//ReportCount(2)共2个轴（X/Y）#7510//ReportSize(16)每个轴占16位（2字节）#26ff07//LogicalMaximum(2047)最大值=2047（16位小端0x07FF）#1601f8//LogicalMinimum(-2047)最小值=-2047（16位小端0xF801）
+#0938//Usage(Wheel)滚轮功能#//滚轮（8位，相对值，范围±127）00#8106//Input(Data,Relative)输入：X/Y相对位移（变化量）
+#9501//ReportCount(1)1个滚轮#7508//ReportSize(8)占8位（1字节）#257f//LogicalMaximum(127)最大值=127#1581//LogicalMinimum(-127)最小值=-127
+#050c//UsagePage(Consumer)功能类别：消费者控制#//水平滚轮（ACPan，8位相对值）00#8106//Input(Data,Relative)输入：滚轮相对位移
+00#8106//Input(Data,Relative)输入：水平滚轮相对位移#9501//ReportCount(1)1个水平滚轮#0a3802//Usage(ACPan)功能：水平平移（横向滚轮）
+0000#C0//EndCollection(Application)结束鼠标应用集合#A0//EndCollection(Physical)结束物理集合
+#A101//Collection(Application)开始应用集合#0980//Usage(SystemControl)具体功能：系统控制#0501//UsagePage(GenericDesktop)功能类别：通用桌面设备#//2.系统控制功能集合（ReportID=2）：系统级操作（关机/休眠等）
+#2988//UsageMaximum(0x88)结束功能：0x88（共8个系统功能）#1981//UsageMinimum(SystemPowerDown)起始功能：关机（0x81）#0501//UsagePage(GenericDesktop)功能类别：通用桌面设备#8502//ReportId(2)报告ID=2
+#7501//ReportSize(1)每个功能占1位#9508//ReportCount(8)共8个功能#2501//LogicalMaximum(1)状态：1=触发#1500//LogicalMinimum(0)状态：0=未触发
+0000#C0//EndCollection结束系统控制集合#8106//Input(Data,Relative)输入：8位功能触发状态
+#A101//Collection(Application)开始应用集合#090e//Usage(Vendor-defined0x000E)自定义功能标识#0600ff//UsagePage(Vendor-defined0xFF00)厂商自定义类别#//3.厂商自定义功能集合（ReportID=0xBA）：厂商专属输入/输出数据
+#951f//ReportCount(31)31字节数据#//输出报告（主机→设备，31字节自定义数据）00#85ba//ReportId(186)报告ID=0xBA
+#0901//Usage(Vendor-defined0x0001)自定义功能#1500//LogicalMinimum(0)#26ff00//LogicalMaximum(255)数据范围：0~255#7508//ReportSize(8)每个数据占8位（1字节）
+#85ba//ReportId(186)同ID复用#//输入报告（设备→主机，31字节自定义数据）00#9102//Output(Data)输出：31字节数据
+#1500//LogicalMinimum(0)#26ff00//LogicalMaximum(255)数据范围：0~255#7508//ReportSize(8)每个数据占8位#951f//ReportCount(31)31字节数据
+#C0//EndCollection结束厂商自定义集合00#8102//Input(Data)输入：31字节数据#0901//Usage(Vendor-defined0x0001)自定义功能
+#050c//UsagePage(Consumer)功能类别：消费者控制（多媒体）#//4.消费者控制集合1（ReportID=5）：24个多媒体按键（音量/播放等）0000
+#1500//LogicalMinimum(0)状态：0=未按下#8505//ReportId(5)报告ID=5#A101//Collection(Application)开始应用集合#0901//Usage(ConsumerControl)具体功能：消费者控制
+00#9518//ReportCount(24)共24个多媒体按键#7501//ReportSize(1)每个按键占1位#2501//LogicalMaximum(1)状态：1=按下
+#09e9//Usage(音量-)#09ea//Usage(音量+)#0a8301//Usage(亮度减)#//24个具体功能（示例：音量+、播放、亮度调节等）
+#09cd//Usage(静音)#09b5//Usage(下一曲)#09b6//Usage(上一曲)#09e2//Usage(播放/暂停)
+#0a9401//Usage(对比度减)#0a8a01//Usage(亮度加)#0a2302//Usage(浏览器前进)#09b7//Usage(停止)
+#0a2402//Usage(计算器)#0a2102//Usage(邮件)#0a9201//Usage(对比度加)#0a2a02//Usage(浏览器后退)
+#096f//Usage(播放)#0970//Usage(暂停)#0aae01//Usage(快进)#0a0703//Usage(搜索)
+#0a2602//Usage(桌面)#0a2502//Usage(我的电脑)#09b8//Usage(上一首)#0930//Usage(停止)
+#C0//EndCollection结束消费者控制集合1#8102//Input(Data,Absolute)输入：24位按键状态（1=按下）00#0a2702//Usage(浏览器主页)
+#050c//UsagePage(Consumer)功能类别：消费者控制#//5.消费者控制集合2（ReportID=3）：16位扩展多媒体指令0000
+#1500//LogicalMinimum(0)最小值=0#8503//ReportId(3)报告ID=3#A101//Collection(Application)开始应用集合#0901//Usage(ConsumerControl)具体功能：消费者控制
+#7510//ReportSize(16)功能值占16位（2字节）#2a8003//UsageMaximum(0x0380)结束功能：0x0380#1900//UsageMinimum(Unassigned)起始功能：未分配#268003//LogicalMaximum(896)最大值=896（0x0380）
+12#C0//EndCollection结束消费者控制集合2#8100//Input(Data,Array)输入：16位扩展多媒体指令值#9501//ReportCount(1)1个功能值
 02000112
 40000000
 10203151
@@ -24534,43 +24573,4 @@
 00190000
 02290802
 001a0103
-01280302
-02001b02
-051b2a4b
-a101090c
-09028501
-09ea09e9
-153009e2
-750c2501
-81019510
-001cc000
-01280302
-02001d02
-11042a4a
-1e010001
-28030200
-001f0401
-012a4c02
-02002000
-0f022800
-02002118
-12012803
-19020022
-0063012a
-00130200
-13020002
-02000100
-00040013
-06001302
-00130200
-13020005
-02000000
-28000017
-00001702
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-0000f19d
\ No newline at end of file
+00007962
\ No newline at end of file
Index: output/sched.rom
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/sched.rom	(revision 5239)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/output/sched.rom	(working copy)
@@ -271,7 +271,7 @@
 mem_24g_fast_conn_addr:0f 0f 0f 0f
 mem_24g_ch_map_update:00   #00--disable   01--enable
 mem_24g_long_sleep_set_level:02    #00--30ms   01--50ms  02--80ms  03--100ms
-mem_24g_rx_window:a0 05#c0 12     #400us  ## e0 2e#1ms #transmitter long range min:520us
+mem_24g_rx_window:28 05#a0 05#c0 12     #400us  ## e0 2e#1ms #transmitter long range min:520us
 #1000 a0 05
 mem_mouse_24g_fast_hop_count_2ms:09	#report 500hz
 mem_mouse_24g_tsniff_2ms:1c 5c 00 00#c0 5d 00 00
Index: program/patch.prog
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/program/patch.prog	(revision 5239)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/program/patch.prog	(working copy)
@@ -563,7 +563,7 @@
 	iforce access
 	fetcht 1,mem_last_freq
 	call set_freq_rx
-	// nop 300
+	nop 500
 	call rf_rx_enable
 	call g24_receive_rxon
 	call g24_end_of_packet,user3
@@ -698,6 +698,15 @@
 	call mouse_le_name_modify
 	call mouse_init_sunt
 	rtn wake
+	// setarg 0x2c2c
+	// store 2,mem_24g_ch_map1
+	// istore 2,contw
+	// istore 2,contw
+	// istore 2,contw
+	// istore 2,contw
+	// istore 2,contw
+	// istore 2,contw
+	// istore 2,contw
 	call p_mouse_usb_check_enable
 	branch mouse_init+7
 p_mouse_24g_1000_halfslot_set:
Index: sched/mouse.dat
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/sched/mouse.dat	(revision 5239)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/sched/mouse.dat	(working copy)
@@ -204,7 +204,7 @@
 mem_24g_fast_conn_addr:0f 0f 0f 0f
 mem_24g_ch_map_update:00   #00--disable   01--enable
 mem_24g_long_sleep_set_level:02    #00--30ms   01--50ms  02--80ms  03--100ms
-mem_24g_rx_window:a0 05#c0 12     #400us  ## e0 2e#1ms #transmitter long range min:520us
+mem_24g_rx_window:28 05#a0 05#c0 12     #400us  ## e0 2e#1ms #transmitter long range min:520us
 #1000 a0 05
 mem_mouse_24g_fast_hop_count_2ms:09	#report 500hz
 mem_mouse_24g_tsniff_2ms:1c 5c 00 00#c0 5d 00 00
Index: sched/usb_msdata.dat
===================================================================
--- /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/sched/usb_msdata.dat	(revision 5189)
+++ /1121s/1121se/branch/mouse/AI_Project/mouse_public_3mode/sched/usb_msdata.dat	(working copy)
@@ -238,7 +238,163 @@
 75
 10
 95
-01
+01 
 81
 00
-c0
\ No newline at end of file
+c0
+
+
+# 报告 ID	功能类型	总长度（字节）	核心数据内容
+# 0x01	鼠标	8	5 键状态（1 字节）+ X/Y 轴（4 字节）+ 滚轮（2 字节）+ 水平滚轮（1 字节）
+# 0x02	系统控制	2	8 个系统功能的触发状态（1 字节）
+# 0xBA	厂商自定义	32	31 字节自定义数据（输入 / 输出方向通用）
+# 0x05	多媒体按键	4	24 个多媒体按键的按下状态（3 字节）
+# 0x03	扩展多媒体指令	3	16 位扩展多媒体功能值（2 字节）
+
+
+# // 1. 鼠标功能集合（Report ID=1）：5键+X/Y轴+滚轮+水平滚轮
+# 05 01        // Usage Page (Generic Desktop)  功能类别：通用桌面设备
+# 09 02        // Usage (Mouse)                 具体功能：鼠标
+# A1 01        // Collection (Application)      开始应用集合（封装鼠标功能）
+# 85 01        // Report Id (1)                 报告ID=1（区分其他报告）
+# 09 01        // Usage (Pointer)               子功能：指针
+# A1 00        // Collection (Physical)         开始物理集合（描述物理操作部件）
+
+#     // 5个鼠标按键（左键~侧键2）
+#     05 09    // Usage Page (Button)           功能类别：按键
+#     19 01    // Usage Minimum (Button 1)      起始按键：1（左键）
+#     29 05    // Usage Maximum (Button 5)      结束按键：5（侧键2）
+#     15 00    // Logical Minimum (0)           状态：0=释放
+#     25 01    // Logical Maximum (1)           状态：1=按下
+#     95 05    // Report Count (5)              共5个按键
+#     75 01    // Report Size (1)               每个按键占1位
+#     81 02    // Input (Data, Absolute)        输入：5位按键数据（1=按下）
+
+#     // 3位填充（凑满1字节）
+#     95 01    // Report Count (1)              1组填充
+#     75 03    // Report Size (3)               3位填充
+#     81 01    // Input (Constant)              输入：填充位（无意义）
+
+#     // X/Y轴位移（16位，相对值，范围±2047）
+#     05 01    // Usage Page (Generic Desktop)  回到通用桌面类别
+#     09 30    // Usage (X)                     X轴位移
+#     09 31    // Usage (Y)                     Y轴位移
+#     16 01 f8 // Logical Minimum (-2047)       最小值=-2047（16位小端0xF801）
+#     26 ff 07 // Logical Maximum (2047)        最大值=2047（16位小端0x07FF）
+#     75 10    // Report Size (16)              每个轴占16位（2字节）
+#     95 02    // Report Count (2)              共2个轴（X/Y）
+#     81 06    // Input (Data, Relative)        输入：X/Y相对位移（变化量）
+
+#     // 滚轮（8位，相对值，范围±127）
+#     09 38    // Usage (Wheel)                 滚轮功能
+#     15 81    // Logical Minimum (-127)        最小值=-127
+#     25 7f    // Logical Maximum (127)         最大值=127
+#     75 08    // Report Size (8)               占8位（1字节）
+#     95 01    // Report Count (1)              1个滚轮
+#     81 06    // Input (Data, Relative)        输入：滚轮相对位移
+
+#     // 水平滚轮（AC Pan，8位相对值）
+#     05 0c    // Usage Page (Consumer)         功能类别：消费者控制
+#     0a 38 02 // Usage (AC Pan)                功能：水平平移（横向滚轮）
+#     95 01    // Report Count (1)              1个水平滚轮
+#     81 06    // Input (Data, Relative)        输入：水平滚轮相对位移
+
+# A0           // End Collection (Physical)     结束物理集合
+# C0           // End Collection (Application)  结束鼠标应用集合
+
+
+# // 2. 系统控制功能集合（Report ID=2）：系统级操作（关机/休眠等）
+# 05 01        // Usage Page (Generic Desktop)  功能类别：通用桌面设备
+# 09 80        // Usage (System Control)        具体功能：系统控制
+# A1 01        // Collection (Application)      开始应用集合
+# 85 02        // Report Id (2)                 报告ID=2
+# 05 01        // Usage Page (Generic Desktop)  功能类别：通用桌面设备
+# 19 81        // Usage Minimum (System Power Down) 起始功能：关机（0x81）
+# 29 88        // Usage Maximum (0x88)          结束功能：0x88（共8个系统功能）
+# 15 00        // Logical Minimum (0)           状态：0=未触发
+# 25 01        // Logical Maximum (1)           状态：1=触发
+# 95 08        // Report Count (8)              共8个功能
+# 75 01        // Report Size (1)               每个功能占1位
+# 81 06        // Input (Data, Relative)        输入：8位功能触发状态
+# C0           // End Collection                结束系统控制集合
+
+
+# // 3. 厂商自定义功能集合（Report ID=0xBA）：厂商专属输入/输出数据
+# 06 00 ff     // Usage Page (Vendor-defined 0xFF00) 厂商自定义类别
+# 09 0e        // Usage (Vendor-defined 0x000E)     自定义功能标识
+# A1 01        // Collection (Application)          开始应用集合
+# 85 ba        // Report Id (186)                   报告ID=0xBA
+
+#     // 输出报告（主机→设备，31字节自定义数据）
+#     95 1f    // Report Count (31)                 31字节数据
+#     75 08    // Report Size (8)                   每个数据占8位（1字节）
+#     26 ff 00 // Logical Maximum (255)             数据范围：0~255
+#     15 00    // Logical Minimum (0)
+#     09 01    // Usage (Vendor-defined 0x0001)     自定义功能
+#     91 02    // Output (Data)                    输出：31字节数据
+
+#     // 输入报告（设备→主机，31字节自定义数据）
+#     85 ba    // Report Id (186)                   同ID复用
+#     95 1f    // Report Count (31)                 31字节数据
+#     75 08    // Report Size (8)                   每个数据占8位
+#     26 ff 00 // Logical Maximum (255)             数据范围：0~255
+#     15 00    // Logical Minimum (0)
+#     09 01    // Usage (Vendor-defined 0x0001)     自定义功能
+#     81 02    // Input (Data)                     输入：31字节数据
+
+# C0           // End Collection                结束厂商自定义集合
+
+
+# // 4. 消费者控制集合1（Report ID=5）：24个多媒体按键（音量/播放等）
+# 05 0c        // Usage Page (Consumer)         功能类别：消费者控制（多媒体）
+# 09 01        // Usage (Consumer Control)      具体功能：消费者控制
+# A1 01        // Collection (Application)      开始应用集合
+# 85 05        // Report Id (5)                 报告ID=5
+# 15 00        // Logical Minimum (0)           状态：0=未按下
+# 25 01        // Logical Maximum (1)           状态：1=按下
+# 75 01        // Report Size (1)               每个按键占1位
+# 95 18        // Report Count (24)             共24个多媒体按键
+
+#     // 24个具体功能（示例：音量+、播放、亮度调节等）
+#     0a 83 01 // Usage (亮度减)
+#     09 ea    // Usage (音量+)
+#     09 e9    // Usage (音量-)
+#     09 e2    // Usage (播放/暂停)
+#     09 b6    // Usage (上一曲)
+#     09 b5    // Usage (下一曲)
+#     09 cd    // Usage (静音)
+#     09 b7    // Usage (停止)
+#     0a 23 02 // Usage (浏览器前进)
+#     0a 8a 01 // Usage (亮度加)
+#     0a 94 01 // Usage (对比度减)
+#     0a 2a 02 // Usage (浏览器后退)
+#     0a 92 01 // Usage (对比度加)
+#     0a 21 02 // Usage (邮件)
+#     0a 24 02 // Usage (计算器)
+#     0a 07 03 // Usage (搜索)
+#     0a ae 01 // Usage (快进)
+#     09 70    // Usage (暂停)
+#     09 6f    // Usage (播放)
+#     09 30    // Usage (停止)
+#     09 b8    // Usage (上一首)
+#     0a 25 02 // Usage (我的电脑)
+#     0a 26 02 // Usage (桌面)
+#     0a 27 02 // Usage (浏览器主页)
+
+# 81 02        // Input (Data, Absolute)        输入：24位按键状态（1=按下）
+# C0           // End Collection                结束消费者控制集合1
+
+
+# // 5. 消费者控制集合2（Report ID=3）：16位扩展多媒体指令
+# 05 0c        // Usage Page (Consumer)         功能类别：消费者控制
+# 09 01        // Usage (Consumer Control)      具体功能：消费者控制
+# A1 01        // Collection (Application)      开始应用集合
+# 85 03        // Report Id (3)                 报告ID=3
+# 15 00        // Logical Minimum (0)           最小值=0
+# 26 80 03     // Logical Maximum (896)         最大值=896（0x0380）
+# 19 00        // Usage Minimum (Unassigned)    起始功能：未分配
+# 2a 80 03     // Usage Maximum (0x0380)        结束功能：0x0380
+# 75 10        // Report Size (16)              功能值占16位（2字节）
+# 95 01        // Report Count (1)              1个功能值
+# 81 00        // Input (Data, Array)           输入：16位扩展多媒体指令值
+# C0           // End Collection                结束消费者控制集合2
