Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/FD_Project/USB_16M/output/eeprom.dat	(revision 3811)
+++ /YC1308AF/branch/mouse/FD_Project/USB_16M/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ae
+e6
 00
 c2
 84
@@ -11,7 +11,7 @@
 c0
 41
 80
-08
+16
 c0
 45
 12
@@ -19,23 +19,79 @@
 c0
 45
 80
-0d
+1b
 20
 20
 13
 7e
 c0
+15
+00
+09
+c0
 47
 00
-15
+23
 c0
 49
 80
-25
+33
 20
 20
 13
 7e
+6f
+f0
+8a
+0b
+79
+3f
+fe
+05
+79
+3f
+fe
+04
+79
+3f
+fe
+00
+67
+f0
+8a
+0b
+20
+00
+00
+18
+79
+3f
+fe
+03
+67
+f0
+8a
+0b
+20
+00
+00
+c8
+6f
+f0
+8a
+0a
+79
+3f
+fe
+01
+67
+f0
+8a
+0a
+20
+20
+5f
+27
 70
 89
 00
@@ -103,7 +159,7 @@
 c0
 00
 00
-1a
+28
 20
 20
 7a
@@ -127,7 +183,7 @@
 c0
 00
 80
-20
+2e
 20
 20
 7a
@@ -139,7 +195,7 @@
 c0
 04
 80
-23
+31
 20
 20
 7a
@@ -176,8 +232,8 @@
 20
 7c
 cc
-09
-84
+65
+d5
 aa
 55
 01
@@ -227,5 +283,11 @@
 7b
 41
 10
-96
-c8
+55
+aa
+aa
+55
+cf
+0b
+aa
+82
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/FD_Project/USB_16M/output/program.lis	(revision 3811)
+++ /YC1308AF/branch/mouse/FD_Project/USB_16M/output/program.lis	(working copy)
@@ -1,64 +1,80 @@
               include "bt_format "
               org 0x0000
 0000 c2840005 bbit1 8 ,pf_patch_ext 
-0001 c0418008 beq patch10_3 ,p_set_sync_on 
+0001 c0418016 beq patch10_3 ,p_set_sync_on 
 0002 c0451237 beq patch11_2 ,set_tx_power_10db 
-0003 c045800d beq patch11_3 ,p_initialize_radio_cont 
+0003 c045801b beq patch11_3 ,p_initialize_radio_cont 
 0004 2020137e branch loop 
 
 pf_patch_ext:
-0005 c0470015 beq patch31_6 ,p_usb_class_type 
-0006 c0498025 beq patch32_3 ,p_usb_tx 
-0007 2020137e branch loop 
+0005 c0150009 beq patch25_2 ,p_efuse_vdd_off 
+0006 c0470023 beq patch31_6 ,p_usb_class_type 
+0007 c0498033 beq patch32_3 ,p_usb_tx 
+0008 2020137e branch loop 
+
+p_efuse_vdd_off:
+0009 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+000a 793ffe05 set0 5 ,pdata 
+000b 793ffe04 set0 4 ,pdata 
+000c 793ffe00 set0 0 ,pdata 
+000d 67f08a0b store 1 ,core_rf_ldo_en1 
+000e 20000018 nop 24 
+000f 793ffe03 set0 3 ,pdata 
+0010 67f08a0b store 1 ,core_rf_ldo_en1 
+0011 200000c8 nop 200 
+0012 6ff08a0a fetch 1 ,core_rf_ldo_en0 
+0013 793ffe01 set0 1 ,pdata 
+0014 67f08a0a store 1 ,core_rf_ldo_en0 
+0015 20205f27 branch efuse_pa_vdd_recover 
 
 p_set_sync_on:
-0008 70890005 jam 0x5 ,modem_en 
-0009 20000002 nop 2 
-000a 70890000 jam 0x0 ,modem_en 
-000b 708a8729 jam 0x29 ,core_syn_afc_cfg1 
-000c 20201161 branch set_sync_on + 4 
+0016 70890005 jam 0x5 ,modem_en 
+0017 20000002 nop 2 
+0018 70890000 jam 0x0 ,modem_en 
+0019 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+001a 20201161 branch set_sync_on + 4 
 
 p_initialize_radio_cont:
-000d 7041eaff jam 0xff ,mem_gain_fix 
-000e 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-000f 70892140 jam 0x40 ,0x8921 
-0010 70486702 jam 0x02 ,mem_24g_rx_phy 
-0011 70486802 jam 0x02 ,mem_24g_tx_phy 
-0012 7048bc1e jam 0x1e ,mem_24g_hop_interval 
-0013 7048d701 jam 1 ,mem_24g_b_s_mode_switch_disable 
-0014 20201252 branch initialize_radio_cont + 1 
+001b 7041eaff jam 0xff ,mem_gain_fix 
+001c 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+001d 70892140 jam 0x40 ,0x8921 
+001e 70486702 jam 0x02 ,mem_24g_rx_phy 
+001f 70486802 jam 0x02 ,mem_24g_tx_phy 
+0020 7048bc1e jam 0x1e ,mem_24g_hop_interval 
+0021 7048d701 jam 1 ,mem_24g_b_s_mode_switch_disable 
+0022 20201252 branch initialize_radio_cont + 1 
 
 p_usb_class_type:
-0015 793f8023 set0 mark_isstr ,mark 
-0016 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-0017 1fe17e80 and_into 0x80 ,pdata 
-0018 c000001a beq out_device ,p_usb_out_device 
-0019 20207aa1 branch usb_class_type + 4 
+0023 793f8023 set0 mark_isstr ,mark 
+0024 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+0025 1fe17e80 and_into 0x80 ,pdata 
+0026 c0000028 beq out_device ,p_usb_out_device 
+0027 20207aa1 branch usb_class_type + 4 
 
 p_usb_out_device:
-001a 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-001b 1ff1fe00 rshift4 pdata ,pdata 
-001c 1fe37e00 rshift pdata ,pdata 
-001d 1fe17e03 and_into 0x03 ,pdata 
-001e c0008020 beq class_req ,p_usb_out_class_req 
-001f 20207ab4 branch usb_out_device + 4 
+0028 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+0029 1ff1fe00 rshift4 pdata ,pdata 
+002a 1fe37e00 rshift pdata ,pdata 
+002b 1fe17e03 and_into 0x03 ,pdata 
+002c c000802e beq class_req ,p_usb_out_class_req 
+002d 20207ab4 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-0020 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-0021 c0048023 beq set_report ,p_usb_set_report 
-0022 20207acd branch usb_out_class_req + 1 
+002e 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+002f c0048031 beq set_report ,p_usb_set_report 
+0030 20207acd branch usb_out_class_req + 1 
 
 p_usb_set_report:
-0023 20003a98 nop 15000 
-0024 20207c4a branch usb_set_report 
+0031 20003a98 nop 15000 
+0032 20207c4a branch usb_set_report 
 
 p_usb_tx:
-0025 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
-0026 207a0000 rtn blank 
-0027 6ff08c24 fetch 1 ,core_usb_txbusy 
-0028 1fe17e0f and_into 0x0f ,pdata 
-0029 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
-002a 20207ccc branch usb_tx + 3 
+0033 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+0034 207a0000 rtn blank 
+0035 6ff08c24 fetch 1 ,core_usb_txbusy 
+0036 1fe17e0f and_into 0x0f ,pdata 
+0037 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+0038 20207ccc branch usb_tx + 3 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/FD_Project/USB_16M/program/patch.prog	(revision 3811)
+++ /YC1308AF/branch/mouse/FD_Project/USB_16M/program/patch.prog	(working copy)
@@ -6,10 +6,26 @@
 	branch loop
 
 pf_patch_ext:
+	beq patch25_2,p_efuse_vdd_off
 	beq patch31_6,p_usb_class_type
 	beq patch32_3,p_usb_tx
 	branch loop
 
+p_efuse_vdd_off:
+	fetch 1,core_rf_ldo_en1
+	set0 5,pdata
+	set0 4,pdata
+	set0 0,pdata
+	store 1,core_rf_ldo_en1
+	nop 24
+	set0 3,pdata
+	store 1,core_rf_ldo_en1
+	nop 200
+	fetch 1,core_rf_ldo_en0
+	set0 1,pdata
+	store 1,core_rf_ldo_en0
+	branch efuse_pa_vdd_recover
+
 p_set_sync_on:
 	jam 0x5,modem_en
 	nop 2
