Index: format/app_mouse.format
===================================================================
--- /1121s/branch/mouse/AI_Project/mouse_public_24g/format/app_mouse.format	(revision 4374)
+++ /1121s/branch/mouse/AI_Project/mouse_public_24g/format/app_mouse.format	(working copy)
@@ -446,16 +446,16 @@
 1 mem_mouse_tx_dpi_state
 2 mem_mouse_version
 6 mem_mouse_sn_mac
-4 mem_mouse_code
-20 mem_mouse_temp_buff
+2 mem_mouse_code
+16 mem_mouse_temp_buff
 1 mem_mouse_delay_send_info_timer
 1 mem_mouse_m_key_press_flag
 1 mem_mouse_m_key_press_count
 //code store
 2 mem_otp_offset_code
 2 mem_otp_offset_code_end
-4 mem_mouse_code_last
-4 mem_mouse_code_temp
+2 mem_mouse_code_last
+2 mem_mouse_code_temp
 
 )
 
Index: output/memmap.format
===================================================================
--- /1121s/branch/mouse/AI_Project/mouse_public_24g/output/memmap.format	(revision 4374)
+++ /1121s/branch/mouse/AI_Project/mouse_public_24g/output/memmap.format	(working copy)
@@ -1983,98 +1983,98 @@
 0x4b28 mem_mouse_version
 0x4b2a mem_mouse_sn_mac
 0x4b30 mem_mouse_code
-0x4b34 mem_mouse_temp_buff
-0x4b48 mem_mouse_delay_send_info_timer
-0x4b49 mem_mouse_m_key_press_flag
-0x4b4a mem_mouse_m_key_press_count
-0x4b4b mem_otp_offset_code
-0x4b4d mem_otp_offset_code_end
-0x4b4f mem_mouse_code_last
-0x4b53 mem_mouse_code_temp
-0x4b57 mem_24g_txpayload_buf
-0x4b67 mem_release_data_from_receiver_enable
-0x4b68 mem_release_data_from_transmiter_enable
-0x4b69 mem_flippen_key0_gpio
-0x4b6a mem_flippen_key1_gpio
-0x4b6b mem_flippen_key2_gpio
-0x4b6c mem_flippen_key3_gpio
-0x4b6d mem_flippen_key4_gpio
-0x4b6e mem_flippen_key5_gpio
-0x4b6f mem_flippen_key6_gpio
-0x4b70 mem_flippen_key7_gpio
-0x4b71 mem_flippen_key0_press_status
-0x4b72 mem_flippen_key1_press_status
-0x4b73 mem_flippen_key2_press_status
-0x4b74 mem_flippen_key3_press_status
-0x4b75 mem_flippen_key4_press_status
-0x4b76 mem_flippen_key5_press_status
-0x4b77 mem_flippen_key6_press_status
-0x4b78 mem_flippen_key7_press_status
-0x4b79 mem_key_press_data
-0x4b79 mem_key_pageup_data
-0x4b82 mem_key_pagedown_data
-0x4b8b mem_key_shift_f5_data
-0x4b94 mem_key_esc_data
-0x4b9d mem_key_b_data
-0x4ba6 mem_key_tab
-0x4baf mem_key_enter
-0x4bb8 mem_key_alt_tab
-0x4bc1 mem_key_alt_f4
-0x4bca mem_key_play_pause
-0x4bd3 mem_key_vol_up
-0x4bdc mem_key_vol_down
-0x4be5 mem_standard_key_release
-0x4bee mem_system_ctrl_key_release
-0x4bf7 mem_media_key_release
-0x4c00 mem_key0_long_press_flag
-0x4c01 mem_key1_long_press_flag
-0x4c02 mem_key2_long_press_flag
-0x4c03 mem_key3_long_press_flag
-0x4c04 mem_key4_long_press_flag
-0x4c05 mem_key0_long_press_event
-0x4c06 mem_key1_long_press_event
-0x4c07 mem_key2_long_press_event
-0x4c08 mem_key3_long_press_event
-0x4c09 mem_key4_long_press_event
-0x4c0a mem_key0_short_press_flag
-0x4c0b mem_key1_short_press_flag
-0x4c0c mem_key2_short_press_flag
-0x4c0d mem_key3_short_press_flag
-0x4c0e mem_key4_short_press_flag
-0x4c0f mem_key0_press_timer_count
-0x4c10 mem_key1_press_timer_count
-0x4c11 mem_key2_press_timer_count
-0x4c12 mem_key3_press_timer_count
-0x4c13 mem_key4_press_timer_count
-0x4c14 mem_combination_key_down_flag
-0x4c15 mem_combination_key_longpress_flag
-0x4c16 mem_key_disable_timer
-0x4c17 mem_24g_calculate_package_id_disable
-0x4c18 mem_24g_package_id_abandon_flag
-0x4c19 mem_24g_package_id
-0x4c1a mem_key_state
-0x4c1b mem_key_press_state
-0x4c1c mem_poweron_first_blank_data_enable
-0x4c1d mem_flippen_no_data_timeout
-0x4c1f mem_flippen_start_pair_no_data_timeout
-0x4c21 mem_key_longpress_timer_init
-0x4c23 mem_key_longpress_timer
-0x4c25 mem_low_voltage_led_blink_flag
-0x4c26 mem_low_voltage_led_blink_start_timer
-0x4c27 mem_poweron_led_blink_flag
-0x4c28 mem_24g_pair_enable_flag
-0x4c29 mem_24g_ch_work
-0x4c2a mem_24g_pair_key_down_flag
-0x4c2b mem_24g_pairing_stop_flag
-0x4c2c mem_longpress_24g_enter_hibernate_flag
-0x4c2d mem_g24_connected_state
-0x4c2e mem_g24_pairing_stop_flag
-0x4c2f mem_send_package_before_check
-0x4c30 mem_le_conn_rcv_new
-0x4c31 mem_le_conn_first_rcv
-0x4c32 mem_le_check_retransmit_flag
-0x4c33 mem_le_retransmit_cnt
-0x4c34 mem_le_check_retransmit_discon_flag
+0x4b32 mem_mouse_temp_buff
+0x4b42 mem_mouse_delay_send_info_timer
+0x4b43 mem_mouse_m_key_press_flag
+0x4b44 mem_mouse_m_key_press_count
+0x4b45 mem_otp_offset_code
+0x4b47 mem_otp_offset_code_end
+0x4b49 mem_mouse_code_last
+0x4b4b mem_mouse_code_temp
+0x4b4d mem_24g_txpayload_buf
+0x4b5d mem_release_data_from_receiver_enable
+0x4b5e mem_release_data_from_transmiter_enable
+0x4b5f mem_flippen_key0_gpio
+0x4b60 mem_flippen_key1_gpio
+0x4b61 mem_flippen_key2_gpio
+0x4b62 mem_flippen_key3_gpio
+0x4b63 mem_flippen_key4_gpio
+0x4b64 mem_flippen_key5_gpio
+0x4b65 mem_flippen_key6_gpio
+0x4b66 mem_flippen_key7_gpio
+0x4b67 mem_flippen_key0_press_status
+0x4b68 mem_flippen_key1_press_status
+0x4b69 mem_flippen_key2_press_status
+0x4b6a mem_flippen_key3_press_status
+0x4b6b mem_flippen_key4_press_status
+0x4b6c mem_flippen_key5_press_status
+0x4b6d mem_flippen_key6_press_status
+0x4b6e mem_flippen_key7_press_status
+0x4b6f mem_key_press_data
+0x4b6f mem_key_pageup_data
+0x4b78 mem_key_pagedown_data
+0x4b81 mem_key_shift_f5_data
+0x4b8a mem_key_esc_data
+0x4b93 mem_key_b_data
+0x4b9c mem_key_tab
+0x4ba5 mem_key_enter
+0x4bae mem_key_alt_tab
+0x4bb7 mem_key_alt_f4
+0x4bc0 mem_key_play_pause
+0x4bc9 mem_key_vol_up
+0x4bd2 mem_key_vol_down
+0x4bdb mem_standard_key_release
+0x4be4 mem_system_ctrl_key_release
+0x4bed mem_media_key_release
+0x4bf6 mem_key0_long_press_flag
+0x4bf7 mem_key1_long_press_flag
+0x4bf8 mem_key2_long_press_flag
+0x4bf9 mem_key3_long_press_flag
+0x4bfa mem_key4_long_press_flag
+0x4bfb mem_key0_long_press_event
+0x4bfc mem_key1_long_press_event
+0x4bfd mem_key2_long_press_event
+0x4bfe mem_key3_long_press_event
+0x4bff mem_key4_long_press_event
+0x4c00 mem_key0_short_press_flag
+0x4c01 mem_key1_short_press_flag
+0x4c02 mem_key2_short_press_flag
+0x4c03 mem_key3_short_press_flag
+0x4c04 mem_key4_short_press_flag
+0x4c05 mem_key0_press_timer_count
+0x4c06 mem_key1_press_timer_count
+0x4c07 mem_key2_press_timer_count
+0x4c08 mem_key3_press_timer_count
+0x4c09 mem_key4_press_timer_count
+0x4c0a mem_combination_key_down_flag
+0x4c0b mem_combination_key_longpress_flag
+0x4c0c mem_key_disable_timer
+0x4c0d mem_24g_calculate_package_id_disable
+0x4c0e mem_24g_package_id_abandon_flag
+0x4c0f mem_24g_package_id
+0x4c10 mem_key_state
+0x4c11 mem_key_press_state
+0x4c12 mem_poweron_first_blank_data_enable
+0x4c13 mem_flippen_no_data_timeout
+0x4c15 mem_flippen_start_pair_no_data_timeout
+0x4c17 mem_key_longpress_timer_init
+0x4c19 mem_key_longpress_timer
+0x4c1b mem_low_voltage_led_blink_flag
+0x4c1c mem_low_voltage_led_blink_start_timer
+0x4c1d mem_poweron_led_blink_flag
+0x4c1e mem_24g_pair_enable_flag
+0x4c1f mem_24g_ch_work
+0x4c20 mem_24g_pair_key_down_flag
+0x4c21 mem_24g_pairing_stop_flag
+0x4c22 mem_longpress_24g_enter_hibernate_flag
+0x4c23 mem_g24_connected_state
+0x4c24 mem_g24_pairing_stop_flag
+0x4c25 mem_send_package_before_check
+0x4c26 mem_le_conn_rcv_new
+0x4c27 mem_le_conn_first_rcv
+0x4c28 mem_le_check_retransmit_flag
+0x4c29 mem_le_retransmit_cnt
+0x4c2a mem_le_check_retransmit_discon_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/AI_Project/mouse_public_24g/output/otp.dat	(revision 4374)
+++ /1121s/branch/mouse/AI_Project/mouse_public_24g/output/otp.dat	(working copy)
@@ -455,7 +455,7 @@
 7d
 b3
 c3
-19
+13
 8d
 66
 9d
@@ -588,7 +588,7 @@
 e4
 71
 cc
-0d
+0b
 93
 a4
 f6
@@ -596,7 +596,7 @@
 de
 1a
 65
-23
+25
 c6
 a6
 36
@@ -604,7 +604,7 @@
 32
 13
 af
-d9
+db
 85
 44
 cb
@@ -612,7 +612,7 @@
 31
 71
 89
-a5
+a3
 8c
 e6
 e0
@@ -620,7 +620,7 @@
 46
 d6
 45
-e8
+ee
 62
 15
 77
@@ -628,23 +628,23 @@
 40
 e1
 57
-e1
+e3
 a1
-23
+20
 60
 ea
 ec
-e3
+e0
 28
-fa
+84
 b5
 16
 ae
-37
+29
 02
 99
 8a
-f7
+f1
 c5
 ca
 01
@@ -706,11 +706,11 @@
 a5
 6e
 32
-bd
+be
 28
 18
 19
-3f
+3c
 ad
 20
 c0
@@ -736,10 +736,10 @@
 cb
 78
 0c
-2a
+2c
 30
 73
-41
+47
 41
 0c
 ce
@@ -748,7 +748,7 @@
 8f
 d7
 a3
-43
+45
 63
 d7
 08
@@ -796,7 +796,7 @@
 af
 60
 3c
-a9
+af
 9b
 4d
 cf
@@ -804,7 +804,7 @@
 db
 6d
 e9
-46
+40
 12
 e0
 cc
@@ -812,7 +812,7 @@
 00
 16
 4d
-bf
+b9
 6e
 c0
 75
@@ -864,7 +864,7 @@
 a3
 6c
 36
-9c
+9a
 b0
 58
 8d
@@ -872,7 +872,7 @@
 36
 1d
 c6
-5a
+5c
 3e
 f7
 59
@@ -880,7 +880,7 @@
 8a
 a4
 41
-b3
+b1
 aa
 af
 2e
@@ -888,7 +888,7 @@
 50
 ef
 cd
-d3
+d5
 3c
 66
 f1
@@ -948,7 +948,7 @@
 ff
 02
 c1
-2d
+2b
 05
 83
 7b
@@ -956,7 +956,7 @@
 3a
 f4
 3c
-dc
+da
 79
 db
 5c
@@ -964,7 +964,7 @@
 57
 1a
 db
-46
+40
 c8
 19
 51
@@ -1000,7 +1000,7 @@
 5a
 35
 14
-f5
+f3
 94
 94
 2a
@@ -2859,7 +2859,7 @@
 79
 e0
 1b
-84
+8e
 0e
 91
 2d
@@ -3240,7 +3240,7 @@
 d4
 29
 a5
-80
+8e
 5f
 2d
 77
@@ -3250,25 +3250,25 @@
 42
 6b
 38
-ad
 ae
-20
+ae
+38
 c5
 14
 89
 51
 07
-56
+55
 18
-f2
+f4
 e9
 0e
 1e
-77
+71
 de
 b8
 dc
-b5
+bf
 0c
 82
 21
@@ -3288,21 +3288,21 @@
 9b
 85
 e4
-72
+74
 69
 4a
 8a
-ec
+f4
 93
 92
 0c
 34
 63
-fa
+f9
 8a
-a4
+a2
 89
-f9
+fa
 f5
 1e
 f0
@@ -3588,7 +3588,7 @@
 f9
 34
 50
-9f
+95
 0d
 a7
 66
@@ -3632,7 +3632,7 @@
 2c
 ab
 b4
-f7
+fd
 07
 d0
 22
@@ -3640,7 +3640,7 @@
 13
 5b
 71
-b0
+be
 6e
 ef
 b9
@@ -3839,7 +3839,7 @@
 4a
 26
 c7
-f0
+fa
 52
 f5
 76
@@ -3871,7 +3871,7 @@
 dc
 ce
 de
-f1
+fb
 ae
 ea
 3b
@@ -4868,18 +4868,18 @@
 eb
 cd
 25
-db
+d1
 e6
 9e
 91
 d6
 0b
 3c
-f0
+fa
 a6
 13
 76
-a1
+af
 2c
 f4
 bb
@@ -4888,14 +4888,14 @@
 bf
 51
 ff
-81
+8b
 98
 a9
 56
 22
 ae
 98
-64
+6e
 98
 c4
 7e
@@ -5077,8 +5077,8 @@
 9e
 fd
 2f
-b4
-f5
+04
+0b
 e7
 4b
 74
@@ -5815,7 +5815,7 @@
 55
 04
 00
-4b
+45
 4b
 0d
 1f
@@ -6321,8 +6321,8 @@
 aa
 aa
 55
-d2
+cc
 48
-d3
-10
+15
+b8
 20
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/AI_Project/mouse_public_24g/output/program.lis	(revision 4374)
+++ /1121s/branch/mouse/AI_Project/mouse_public_24g/output/program.lis	(working copy)
@@ -130,7 +130,7 @@
 0069 20600000 rtn 
 
 p_mouse_wakeup_24g_from_long_sleep:
-006a 704b480a jam 10 ,mem_mouse_delay_send_info_timer 
+006a 704b420a jam 10 ,mem_mouse_delay_send_info_timer 
 006b 20206001 branch mouse_wakeup_24g_from_long_sleep 
 
 p_g24_txdata_prep:
@@ -181,21 +181,21 @@
 p_g24_send_rf_device_info_check:
 0089 6fe0c589 fetch 1 ,mem_24g_data_type 
 008a 79207e06 set1 data_device_info ,pdata 
-008b 67e0cb34 store 1 ,mem_mouse_temp_buff 
+008b 67e0cb32 store 1 ,mem_mouse_temp_buff 
 008c 6fe34b2a fetch 6 ,mem_mouse_sn_mac 
-008d 67e34b35 store 6 ,mem_mouse_temp_buff + 1 
+008d 67e34b33 store 6 ,mem_mouse_temp_buff + 1 
 008e 6fe0c690 fetch 1 ,mem_mouse_dpi 
-008f 67e0cb3b store 1 ,mem_mouse_temp_buff + 7 
+008f 67e0cb39 store 1 ,mem_mouse_temp_buff + 7 
 0090 6fe0cb27 fetch 1 ,mem_mouse_tx_dpi_state 
-0091 67e0cb3c store 1 ,mem_mouse_temp_buff + 8 
+0091 67e0cb3a store 1 ,mem_mouse_temp_buff + 8 
 0092 6fe0c7bd fetch 1 ,mem_le_battery_level_percentage 
-0093 67e0cb3d store 1 ,mem_mouse_temp_buff + 9 
+0093 67e0cb3b store 1 ,mem_mouse_temp_buff + 9 
 0094 6fe14b28 fetch 2 ,mem_mouse_version 
-0095 67e14b3e store 2 ,mem_mouse_temp_buff + 10 
-0096 6fe24b30 fetch 4 ,mem_mouse_code 
-0097 67e24b40 store 4 ,mem_mouse_temp_buff + 12 
-0098 d8400010 arg 16 ,temp 
-0099 da204b34 arg mem_mouse_temp_buff ,rega 
+0095 67e14b3c store 2 ,mem_mouse_temp_buff + 10 
+0096 6fe14b30 fetch 2 ,mem_mouse_code 
+0097 67e14b3e store 2 ,mem_mouse_temp_buff + 12 
+0098 d840000e arg 14 ,temp 
+0099 da204b32 arg mem_mouse_temp_buff ,rega 
 009a 202000f4 branch p_g24_send_rf_other_data 
 
 p_g24_only_send_device_info:
@@ -213,8 +213,8 @@
 00a6 67e0c522 store 1 ,mem_24g_txbuf + 9 
 00a7 6fe14b28 fetch 2 ,mem_mouse_version 
 00a8 67e14523 store 2 ,mem_24g_txbuf + 10 
-00a9 6fe24b30 fetch 4 ,mem_mouse_code 
-00aa 67e24525 store 4 ,mem_24g_txbuf + 12 
+00a9 6fe14b30 fetch 2 ,mem_mouse_code 
+00aa 67e14525 store 2 ,mem_24g_txbuf + 12 
 00ab 20600000 rtn 
 
 p_g24_send_http_info_check:
@@ -224,10 +224,10 @@
 p_g24_send_rf_http_info:
 00ae 6fe0c589 fetch 1 ,mem_24g_data_type 
 00af 79207e04 set1 data_http ,pdata 
-00b0 67e0cb34 store 1 ,mem_mouse_temp_buff 
-00b1 704b35ff jam 0xff ,mem_mouse_temp_buff + 1 
+00b0 67e0cb32 store 1 ,mem_mouse_temp_buff 
+00b1 704b33ff jam 0xff ,mem_mouse_temp_buff + 1 
 00b2 d8400002 arg 2 ,temp 
-00b3 da204b34 arg mem_mouse_temp_buff ,rega 
+00b3 da204b32 arg mem_mouse_temp_buff ,rega 
 00b4 202000f4 branch p_g24_send_rf_other_data 
 
 p_g24_only_send_http_info:
@@ -245,11 +245,11 @@
 p_g24_send_rf_app_info:
 00bd 6fe0c589 fetch 1 ,mem_24g_data_type 
 00be 79207e03 set1 data_app ,pdata 
-00bf 67e0cb34 store 1 ,mem_mouse_temp_buff 
+00bf 67e0cb32 store 1 ,mem_mouse_temp_buff 
 00c0 6fe0cb27 fetch 1 ,mem_mouse_tx_dpi_state 
-00c1 67e0cb35 store 1 ,mem_mouse_temp_buff + 1 
+00c1 67e0cb33 store 1 ,mem_mouse_temp_buff + 1 
 00c2 d8400002 arg 2 ,temp 
-00c3 da204b34 arg mem_mouse_temp_buff ,rega 
+00c3 da204b32 arg mem_mouse_temp_buff ,rega 
 00c4 202000f4 branch p_g24_send_rf_other_data 
 
 p_g24_only_send_app_info:
@@ -268,13 +268,13 @@
 p_g24_send_dpi_info:
 00ce 6fe0c589 fetch 1 ,mem_24g_data_type 
 00cf 79207e05 set1 data_dpi ,pdata 
-00d0 67e0cb34 store 1 ,mem_mouse_temp_buff 
+00d0 67e0cb32 store 1 ,mem_mouse_temp_buff 
 00d1 6fe0c690 fetch 1 ,mem_mouse_dpi 
-00d2 67e0cb35 store 1 ,mem_mouse_temp_buff + 1 
+00d2 67e0cb33 store 1 ,mem_mouse_temp_buff + 1 
 00d3 6fe0cb27 fetch 1 ,mem_mouse_tx_dpi_state 
-00d4 67e0cb36 store 1 ,mem_mouse_temp_buff + 2 
+00d4 67e0cb34 store 1 ,mem_mouse_temp_buff + 2 
 00d5 d8400003 arg 3 ,temp 
-00d6 da204b34 arg mem_mouse_temp_buff ,rega 
+00d6 da204b32 arg mem_mouse_temp_buff ,rega 
 00d7 202000f4 branch p_g24_send_rf_other_data 
 
 p_g24_only_send_dpi_info:
@@ -295,11 +295,11 @@
 p_g24_send_battery_info:
 00e3 6fe0c589 fetch 1 ,mem_24g_data_type 
 00e4 79207e07 set1 data_battery ,pdata 
-00e5 67e0cb34 store 1 ,mem_mouse_temp_buff 
+00e5 67e0cb32 store 1 ,mem_mouse_temp_buff 
 00e6 6fe0c7bd fetch 1 ,mem_le_battery_level_percentage 
-00e7 67e0cb35 store 1 ,mem_mouse_temp_buff + 1 
+00e7 67e0cb33 store 1 ,mem_mouse_temp_buff + 1 
 00e8 d8400002 arg 2 ,temp 
-00e9 da204b34 arg mem_mouse_temp_buff ,rega 
+00e9 da204b32 arg mem_mouse_temp_buff ,rega 
 00ea 202000f4 branch p_g24_send_rf_other_data 
 
 p_g24_only_send_battery_info:
@@ -312,7 +312,7 @@
 00f1 20600000 rtn 
 
 p_mouse_temp_buff_clear:
-00f2 d8a04b34 arg mem_mouse_temp_buff ,contw 
+00f2 d8a04b32 arg mem_mouse_temp_buff ,contw 
 00f3 20207c99 branch memset0_16 
 
 p_g24_send_rf_other_data:
@@ -927,7 +927,7 @@
 
 p_mouse_param_init:
 02c2 2040543b call mouse_param_common_init 
-02c3 704b4800 jam 0 ,mem_mouse_delay_send_info_timer 
+02c3 704b4200 jam 0 ,mem_mouse_delay_send_info_timer 
 02c4 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
 02c5 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
 02c6 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
@@ -1058,29 +1058,29 @@
 0321 20205daa branch mouse_otp_load_app_initflag 
 
 p_mouse_read_otp_code:
-0322 6a414b4b fetchr regb ,2 ,mem_otp_offset_code 
+0322 6a414b45 fetchr regb ,2 ,mem_otp_offset_code 
 0323 1a422600 copy regb ,regc 
 
 p_mouse_read_otp_code_loop:
 0324 2040032e call p_mouse_read_otp_code_common 
-0325 6fe24b53 fetch 4 ,mem_mouse_code_temp 
+0325 6fe14b4b fetch 2 ,mem_mouse_code_temp 
 0326 203a0331 branch p_mouse_code_load ,blank 
-0327 67e24b4f store 4 ,mem_mouse_code_last 
-0328 1a60a604 increase 4 ,regc 
-0329 6fe14b4d fetch 2 ,mem_otp_offset_code_end 
+0327 67e14b49 store 2 ,mem_mouse_code_last 
+0328 1a60a602 increase 2 ,regc 
+0329 6fe14b47 fetch 2 ,mem_otp_offset_code_end 
 032a 9a667c00 isub regc ,null 
 032b 24210331 nbranch p_mouse_code_load ,positive 
 032c 1a622400 copy regc ,regb 
 032d 20200324 branch p_mouse_read_otp_code_loop 
 
 p_mouse_read_otp_code_common:
-032e df200004 arg 4 ,loopcnt 
-032f da204b53 arg mem_mouse_code_temp ,rega 
+032e df200002 arg 2 ,loopcnt 
+032f da204b4b arg mem_mouse_code_temp ,rega 
 0330 20206b74 branch otp_read_data 
 
 p_mouse_code_load:
-0331 6fe24b4f fetch 4 ,mem_mouse_code_last 
-0332 67e24b30 store 4 ,mem_mouse_code 
+0331 6fe14b49 fetch 2 ,mem_mouse_code_last 
+0332 67e14b30 store 2 ,mem_mouse_code 
 0333 20600000 rtn 
 
 p_mouse_app_initflag_check:
@@ -1175,7 +1175,7 @@
 0378 20205b8f branch mouse_bb_event_timer_next 
 
 p_mouse_send_device_info_timer:
-0379 da604b48 arg mem_mouse_delay_send_info_timer ,regc 
+0379 da604b42 arg mem_mouse_delay_send_info_timer ,regc 
 037a da40007b arg p_g24_send_device_info_enable ,regb 
 037b 202042e0 branch timer_single_step 
 
@@ -1192,9 +1192,9 @@
 0383 20200084 branch p_g24_send_app_info_enable 
 
 p_mouse_m_key_long_press_timer:
-0384 6fe0cb49 fetch 1 ,mem_mouse_m_key_press_flag 
+0384 6fe0cb43 fetch 1 ,mem_mouse_m_key_press_flag 
 0385 207a0000 rtn blank 
-0386 da604b4a arg mem_mouse_m_key_press_count ,regc 
+0386 da604b44 arg mem_mouse_m_key_press_count ,regc 
 0387 da40007e arg p_g24_send_http_info_enable ,regb 
 0388 202042e0 branch timer_single_step 
 
@@ -1266,7 +1266,7 @@
 03b5 70477d00 jam 0 ,mem_mouse_long_mult_flag 
 03b6 7045fc00 jam 0 ,mem_24g_conn_sm 
 03b7 7045e200 jam 0 ,mem_24g_reconn_type 
-03b8 704b480a jam 10 ,mem_mouse_delay_send_info_timer 
+03b8 704b420a jam 10 ,mem_mouse_delay_send_info_timer 
 03b9 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
 03ba 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
 03bb 98467c00 isub temp ,null 
@@ -1276,7 +1276,7 @@
 
 p_mouse_24g_pairing_complete:
 03bf 204003c2 call p_mouse_fetch_normal_tx_power 
-03c0 704b480a jam 10 ,mem_mouse_delay_send_info_timer 
+03c0 704b420a jam 10 ,mem_mouse_delay_send_info_timer 
 03c1 20206084 branch mouse_24g_pairing_complete 
 
 p_mouse_fetch_normal_tx_power:
@@ -1617,16 +1617,16 @@
 04b8 c28104be bbit1 mouse_m_key ,p_mouse_m_key_press 
 
 p_mouse_m_key_release:
-04b9 6fe0cb49 fetch 1 ,mem_mouse_m_key_press_flag 
+04b9 6fe0cb43 fetch 1 ,mem_mouse_m_key_press_flag 
 04ba 207a0000 rtn blank 
-04bb 704b4900 jam 0 ,mem_mouse_m_key_press_flag 
-04bc 704b4a1e jam 30 ,mem_mouse_m_key_press_count 
+04bb 704b4300 jam 0 ,mem_mouse_m_key_press_flag 
+04bc 704b441e jam 30 ,mem_mouse_m_key_press_count 
 04bd 20600000 rtn 
 
 p_mouse_m_key_press:
-04be 6fe0cb49 fetch 1 ,mem_mouse_m_key_press_flag 
+04be 6fe0cb43 fetch 1 ,mem_mouse_m_key_press_flag 
 04bf 247a0000 nrtn blank 
-04c0 704b4901 jam 1 ,mem_mouse_m_key_press_flag 
+04c0 704b4301 jam 1 ,mem_mouse_m_key_press_flag 
 04c1 20600000 rtn 
 
 p_mouse_ghost_key_check:
Index: program/patch.prog
===================================================================
--- /1121s/branch/mouse/AI_Project/mouse_public_24g/program/patch.prog	(revision 4374)
+++ /1121s/branch/mouse/AI_Project/mouse_public_24g/program/patch.prog	(working copy)
@@ -218,9 +218,9 @@
 	store 1,mem_mouse_temp_buff+9
 	fetch 2,mem_mouse_version
 	store 2,mem_mouse_temp_buff+10
-	fetch 4,mem_mouse_code
-	store 4,mem_mouse_temp_buff+12
-	arg 16,temp
+	fetch 2,mem_mouse_code
+	store 2,mem_mouse_temp_buff+12
+	arg 14,temp
 	arg mem_mouse_temp_buff,rega
 	branch p_g24_send_rf_other_data
 	
@@ -240,8 +240,8 @@
 	store 1,mem_24g_txbuf+9
 	fetch 2,mem_mouse_version
 	store 2,mem_24g_txbuf+10
-	fetch 4,mem_mouse_code
-	store 4,mem_24g_txbuf+12
+	fetch 2,mem_mouse_code
+	store 2,mem_24g_txbuf+12
 	rtn
 
 //================== http info tx=================//
@@ -1240,10 +1240,10 @@
 	copy regb,regc
 p_mouse_read_otp_code_loop:
 	call p_mouse_read_otp_code_common
-	fetch 4,mem_mouse_code_temp
+	fetch 2,mem_mouse_code_temp
 	branch p_mouse_code_load,blank	
-	store 4,mem_mouse_code_last
-	increase 4,regc
+	store 2,mem_mouse_code_last
+	increase 2,regc
 	fetch 2,mem_otp_offset_code_end
 	isub regc,null
 	nbranch p_mouse_code_load,positive	//if read end,retention last value
@@ -1251,13 +1251,13 @@
 	branch p_mouse_read_otp_code_loop
 
 p_mouse_read_otp_code_common:
-	arg 4,loopcnt
+	arg 2,loopcnt
 	arg mem_mouse_code_temp,rega
 	branch otp_read_data				/* regb=otp address, rega points to data, loopcnt is count */
 	
 p_mouse_code_load:
-	fetch 4,mem_mouse_code_last
-	store 4,mem_mouse_code
+	fetch 2,mem_mouse_code_last
+	store 2,mem_mouse_code
 	rtn	
 
 p_mouse_app_initflag_check:
