Browse Source

1. 新增退出保护时300ms不跑状态机

2. 端口状态改变时4秒关保护,是为了兼容GT5手机反灌电压
3. 休眠模式不关FB2,是为了给A口供5.15V电
master
Jipeng.tang 3 weeks ago
parent
commit
c44442a873
  1. 4
      PD_CPS8860_A1_CPS_Common_Demo/ac_project/code/inc/config.h
  2. 1
      PD_CPS8860_A1_CPS_Common_Demo/ac_project/code/inc/customized.h
  3. 2
      PD_CPS8860_A1_CPS_Common_Demo/ac_project/code/src/comp_protection.c
  4. 17
      PD_CPS8860_A1_CPS_Common_Demo/ac_project/code/src/customized.c
  5. BIN
      PD_CPS8860_A1_CPS_Common_Demo/ac_project/project/Objects/CPS8860_anker_9196.axf
  6. 56
      PD_CPS8860_A1_CPS_Common_Demo/ac_project/project/Objects/CPS8860_anker_9196.build_log.htm
  7. 14
      PD_CPS8860_A1_CPS_Common_Demo/ac_project/project/Objects/CPS8860_anker_9196.htm
  8. 114
      PD_CPS8860_A1_CPS_Common_Demo/ac_project/project/Objects/cps8860_Target 1.dep
  9. 38
      PD_CPS8860_A1_CPS_Common_Demo/common/app/src/app_spec.c
  10. 5
      PD_CPS8860_A1_CPS_Common_Demo/common/app/src/cps8860_it.c
  11. 1
      PD_CPS8860_A1_CPS_Common_Demo/common/rom_inc/comp/comp_config.h

4
PD_CPS8860_A1_CPS_Common_Demo/ac_project/code/inc/config.h

@ -87,8 +87,8 @@ extern uint16_t system_1s_cnt;
#define I2C_DC_SUPPORT 0
/****************project inforamtion MTP ADDR:0x100000C0*******************/
#define SOFT_WARE_VERISION_H 0x00
#define SOFT_WARE_VERISION_L 0x09
#define SOFT_WARE_VERISION_H 0x01
#define SOFT_WARE_VERISION_L 0x00
#define CUSTOM_ID 0xA1
#define PROJECT_ID 0x60
/**********************���칦�ܺ궨��************************************/

1
PD_CPS8860_A1_CPS_Common_Demo/ac_project/code/inc/customized.h

@ -128,6 +128,7 @@ typedef struct
bool protection_off_flag[2];
bool protect_en; //保护是否使能
volatile uint16_t protection_exit_cnt; // 退出保护后计数
#if HUAWEI_MATEBOOK_X
uint16_t matebook_cnt_3s[2];

2
PD_CPS8860_A1_CPS_Common_Demo/ac_project/code/src/comp_protection.c

@ -563,6 +563,8 @@ static void comp_protection_exit(uint8_t port, protection_param_s *protection_pa
typec_reset(port, &g_app_protocol_param[port].pd_param);
#endif
protection_param->protection_flag = false;
user_app.protection_exit_cnt = DELAY_300MS;
}
/**

17
PD_CPS8860_A1_CPS_Common_Demo/ac_project/code/src/customized.c

@ -754,6 +754,14 @@ void adapter_state_check(void)
type_c2_state = user_app.type_c2_connect;
usba_state = usba_online_state;
// 从保护状态退出时, 等300ms后再去走状态机
// 1. 保护的端口还在, 跑状态机的话, pdo和mos都会去切, 导致没问题的端口不停的发新的src_cap
// 2. 得防止保护退出后typec_reset 后 调用 app_protocol_reset 会把插入标志位给清了
if(user_app.protection_exit_cnt)
{
return;
}
if(type_c1_state && !type_c2_state && !usba_state)
{
user_app.adapter_state = C1_INSER;
@ -834,8 +842,8 @@ void adapter_state_check(void)
// 每次切换gate2和gate3的时候, 关闭2秒保护, 2秒后且在ready状态再打开
comp_powerout_protect_en(TYPEC_PORT0, false);
comp_powerout_protect_en(TYPEC_PORT1, false);
user_app.protection_off_2s[TYPEC_PORT0] = DELAY_2S;
user_app.protection_off_2s[TYPEC_PORT1] = DELAY_2S;
user_app.protection_off_2s[TYPEC_PORT0] = DELAY_4S;
user_app.protection_off_2s[TYPEC_PORT1] = DELAY_4S;
user_app.protection_off_flag[TYPEC_PORT0] = true;
user_app.protection_off_flag[TYPEC_PORT1] = true;
#endif
@ -1197,10 +1205,11 @@ void adapter_state_check(void)
}
}
log_info("adapter_state:%d port0:%d port1:%d\n",
log_info("adapter_state:%d port0:%d port1:%d usba:%d\n",
user_app.adapter_state,
need_send_cap_flag[TYPEC_PORT0],
need_send_cap_flag[TYPEC_PORT1]);
need_send_cap_flag[TYPEC_PORT1],
usba_state);
user_app.last_adapter_state = user_app.adapter_state;
}

BIN
PD_CPS8860_A1_CPS_Common_Demo/ac_project/project/Objects/CPS8860_anker_9196.axf

Binary file not shown.

56
PD_CPS8860_A1_CPS_Common_Demo/ac_project/project/Objects/CPS8860_anker_9196.build_log.htm

@ -30,24 +30,6 @@ Rebuild target 'Target 1'
assembling startup_CMSDK_CM0.s...
compiling adapter_antifake.c...
compiling system_CMSDK_CM0.c...
compiling cps8860_it.c...
compiling comp_auto_zero.c...
compiling comp_dac.c...
..\code\src\comp_dac.c(311): warning: #177-D: variable "temp" was declared but never referenced
uint32_t temp[TYPEC_PORT_MAX + 1] = {0};
..\code\src\comp_dac.c: 1 warning, 0 errors
compiling comp_discharge.c...
compiling comp_primary_side.c...
compiling port0_customized.c...
compiling main.c...
compiling app_spec.c...
..\..\common\app\src\app_spec.c(177): warning: #177-D: variable "umask_val" was declared but never referenced
uint32_t umask_val = 0;
..\..\common\app\src\app_spec.c: 1 warning, 0 errors
compiling comp_protection.c...
compiling comp_adc.c...
compiling port1_customized.c...
compiling comp_powerout.c...
compiling customized.c...
..\code\src\customized.c(26): warning: #188-D: enumerated type mixed with another type
adapter_info_s g_adapter_info = {0};
@ -55,20 +37,38 @@ compiling customized.c...
user_app_s user_app = {0};
..\code\src\customized.c(175): warning: #177-D: function "path_scp_mode_exit_action" was declared but never referenced
static void path_scp_mode_exit_action(uint8_t port, scp_param_s *scp_param)
..\code\src\customized.c(1540): warning: #177-D: function "comp_ccloop_enable" was declared but never referenced
..\code\src\customized.c(1549): warning: #177-D: function "comp_ccloop_enable" was declared but never referenced
static void comp_ccloop_enable(uint8_t port)
..\code\src\customized.c: 4 warnings, 0 errors
compiling comp_primary_side.c...
compiling comp_auto_zero.c...
compiling port0_customized.c...
compiling comp_powerout.c...
compiling cps8860_it.c...
compiling main.c...
compiling comp_discharge.c...
compiling app_spec.c...
..\..\common\app\src\app_spec.c(177): warning: #177-D: variable "umask_val" was declared but never referenced
uint32_t umask_val = 0;
..\..\common\app\src\app_spec.c: 1 warning, 0 errors
compiling comp_adc.c...
compiling port1_customized.c...
compiling comp_dac.c...
..\code\src\comp_dac.c(311): warning: #177-D: variable "temp" was declared but never referenced
uint32_t temp[TYPEC_PORT_MAX + 1] = {0};
..\code\src\comp_dac.c: 1 warning, 0 errors
compiling comp_protection.c...
compiling dpdn_protocol.c...
compiling qc_scp_protocol.c...
compiling ufcs_protocol.c...
compiling pd_protocol.c...
..\..\common\comp\protocol\pd_protocol\src\pd_protocol.c(827): warning: #550-D: variable "pd_hw_uvdm_header" was set but never used
pd_hw_uvdm_header_u pd_hw_uvdm_header = {0};
..\..\common\comp\protocol\pd_protocol\src\pd_protocol.c(275): warning: #177-D: function "pd_analog_set" was declared but never referenced
static void pd_analog_set(uint8_t port)
..\..\common\comp\protocol\pd_protocol\src\pd_protocol.c: 2 warnings, 0 errors
compiling ufcs_protocol.c...
linking...
Program Size: Code=12638 RO-data=1910 RW-data=60 ZI-data=3864
Program Size: Code=12630 RO-data=1910 RW-data=60 ZI-data=3872
FromELF: creating hex file...
After Build - User command #1: .\CPS8860.bat
C:\Users\TJP\Desktop\GIT_TEST\CPS8860_9196_70W\Anker_9196_CPS8860\PD_CPS8860_A1_CPS_Common_Demo\ac_project\project>set Project_Name=CPS8860_anker_9196
@ -80,8 +80,8 @@ C:\Users\TJP\Desktop\GIT_TEST\CPS8860_9196_70W\Anker_9196_CPS8860\PD_CPS8860_A1_
未改变 code\src\comp_primary_side.c
未改变 code\src\comp_protection.c
未改变 code\src\customized.c
¸ñʽ»¯ code\src\port0_customized.c
¸ñʽ»¯ code\src\port1_customized.c
δ¸Ä±ä code\src\port0_customized.c
δ¸Ä±ä code\src\port1_customized.c
------------------------------------------------------------
目录 ..\*.h
------------------------------------------------------------
@ -116,11 +116,11 @@ out_type : expected out file type
'd' output binary file(.bin)
[out_file_name_without_postfix] : Option: out file name without postfix.
----------------------------------------------------------------------
input code size: 14,608 [14.266K]
app size: 3914 ; CRC: E913
input code size: 14,600 [14.258K]
app size: 390C ; CRC: F832
out code size : 14,612 [14.270K]
create file: .\output\CPS8860_anker_9196_A1_60_V0.9_CRCD375.hex success!
out code size : 14,604 [14.262K]
create file: .\output\CPS8860_anker_9196_A1_60_V1.0_CRC3A39.hex success!
C:\Users\TJP\Desktop\GIT_TEST\CPS8860_9196_70W\Anker_9196_CPS8860\PD_CPS8860_A1_CPS_Common_Demo\ac_project\project>move /Y .\CPS8860_anker_9196_*.hex .\output
存在一个重名文件,或是找不到文件。
".\Objects\CPS8860_anker_9196.axf" - 0 Error(s), 8 Warning(s).
@ -136,7 +136,7 @@ Package Vendor: ARM
D:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include
<h2>Collection of Component Files used:</h2>
Build Time Elapsed: 00:00:06
Build Time Elapsed: 00:00:07
</pre>
</body>
</html>

14
PD_CPS8860_A1_CPS_Common_Demo/ac_project/project/Objects/CPS8860_anker_9196.htm

@ -3,7 +3,7 @@
<title>Static Call Graph - [.\Objects\CPS8860_anker_9196.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image .\Objects\CPS8860_anker_9196.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Mon Jul 28 16:32:59 2025
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Mon Aug 11 18:45:37 2025
<BR><P>
<H3>Maximum Stack Usage = 312 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
@ -574,7 +574,7 @@ Global Symbols
<P><STRONG><a name="[38]"></a>Sha256Handle</STRONG> (Thumb, 4 bytes, Stack size 0 bytes, adapter_antifake.o(i.Sha256Handle))
<BR>[Address Reference Count : 1]<UL><LI> qc_scp_protocol.o(.constdata)
</UL>
<P><STRONG><a name="[5]"></a>SysTick_Handler</STRONG> (Thumb, 62 bytes, Stack size 8 bytes, cps8860_it.o(i.SysTick_Handler))
<P><STRONG><a name="[5]"></a>SysTick_Handler</STRONG> (Thumb, 74 bytes, Stack size 8 bytes, cps8860_it.o(i.SysTick_Handler))
<BR><BR>[Stack]<UL><LI>Max Depth = 204<LI>Call Chain = SysTick_Handler &rArr; comp_protection_run &rArr; comp_protection_monitor &rArr; comp_adc_get_vin12 &rArr; comp_adc_vin_vol_channel_coeff
</UL>
<BR>[Calls]<UL><LI><a href="#[62]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;comp_protection_run
@ -602,7 +602,7 @@ Global Symbols
<P><STRONG><a name="[f9]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[66]"></a>adapter_state_check</STRONG> (Thumb, 854 bytes, Stack size 32 bytes, customized.o(i.adapter_state_check))
<P><STRONG><a name="[66]"></a>adapter_state_check</STRONG> (Thumb, 846 bytes, Stack size 32 bytes, customized.o(i.adapter_state_check))
<BR><BR>[Stack]<UL><LI>Max Depth = 280<LI>Call Chain = adapter_state_check &rArr; wait_c2_ready &rArr; pd_phy_open_vbus &rArr; adapter_state_check (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[71]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;charge_protocol_reset
@ -810,7 +810,7 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[26]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SystemInit
</UL>
<P><STRONG><a name="[93]"></a>comp_dac_close_vbus</STRONG> (Thumb, 78 bytes, Stack size 16 bytes, comp_dac.o(i.comp_dac_close_vbus))
<P><STRONG><a name="[93]"></a>comp_dac_close_vbus</STRONG> (Thumb, 70 bytes, Stack size 16 bytes, comp_dac.o(i.comp_dac_close_vbus))
<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = comp_dac_close_vbus
</UL>
<BR>[Calls]<UL><LI><a href="#[6c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;gate3_control
@ -1037,7 +1037,7 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[62]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;comp_protection_run
</UL>
<P><STRONG><a name="[62]"></a>comp_protection_run</STRONG> (Thumb, 158 bytes, Stack size 24 bytes, comp_protection.o(i.comp_protection_run))
<P><STRONG><a name="[62]"></a>comp_protection_run</STRONG> (Thumb, 168 bytes, Stack size 24 bytes, comp_protection.o(i.comp_protection_run))
<BR><BR>[Stack]<UL><LI>Max Depth = 196<LI>Call Chain = comp_protection_run &rArr; comp_protection_monitor &rArr; comp_adc_get_vin12 &rArr; comp_adc_vin_vol_channel_coeff
</UL>
<BR>[Calls]<UL><LI><a href="#[6b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;app_protocol_reset
@ -1660,9 +1660,7 @@ Local Symbols
<BR>[Called By]<UL><LI><a href="#[61]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;periodic_work
</UL>
<P><STRONG><a name="[29]"></a>app_sleep_mode</STRONG> (Thumb, 136 bytes, Stack size 8 bytes, app_spec.o(i.app_sleep_mode))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = app_sleep_mode
</UL>
<P><STRONG><a name="[29]"></a>app_sleep_mode</STRONG> (Thumb, 124 bytes, Stack size 0 bytes, app_spec.o(i.app_sleep_mode))
<BR>[Address Reference Count : 1]<UL><LI> app_spec.o(.constdata)
</UL>
<P><STRONG><a name="[8f]"></a>comp_dac_cc_2dcdc_fb</STRONG> (Thumb, 202 bytes, Stack size 40 bytes, comp_dac.o(i.comp_dac_cc_2dcdc_fb))

114
PD_CPS8860_A1_CPS_Common_Demo/ac_project/project/Objects/cps8860_Target 1.dep

@ -7,7 +7,7 @@ I (..\..\common\cmsis\ARM\inc\core_cm0.h)(0x6805B2C1)
I (..\..\common\cmsis\ARM\inc\core_cmInstr.h)(0x6805B2C1)
I (..\..\common\cmsis\ARM\inc\core_cmFunc.h)(0x6805B2C1)
I (..\..\common\reg_def\system_CMSDK_CM0.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\cmsis\ARM\inc\core_comm.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E2EB2)
I (D:\Keil_v5\ARM\ARMCC\include\stdbool.h)(0x5E8E2EB2)
@ -57,7 +57,7 @@ I (..\..\common\rom_inc\drv\drv_scp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_vfcp_phy.h)(0x6805B2C1)
I (..\..\common\reg_def\vfcp_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -66,9 +66,9 @@ I (..\..\common\comp\comp\inc\comp_trim.h)(0x6805B2C1)
F (..\..\common\cmsis\ARM\startup_CMSDK_CM0.s)(0x6805B2C1)(--cpu Cortex-M0 --li -g --apcs=interwork --pd "__MICROLIB SETA 1" -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include --pd "__UVISION_VERSION SETA 533" --pd "ARMCM0 SETA 1" --list .\listings\startup_cmsdk_cm0.lst --xref -o .\objects\startup_cmsdk_cm0.o --depend .\objects\startup_cmsdk_cm0.d)
F (..\..\common\app\src\adapter_antifake.c)(0x6805B2C1)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\adapter_antifake.o --omf_browse .\objects\adapter_antifake.crf --depend .\objects\adapter_antifake.d)
I (..\..\common\app\inc\adapter_antifake.h)(0x6805B2C1)
F (..\..\common\app\src\app_spec.c)(0x686DC4D3)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\app_spec.o --omf_browse .\objects\app_spec.crf --depend .\objects\app_spec.d)
F (..\..\common\app\src\app_spec.c)(0x688C87BB)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\app_spec.o --omf_browse .\objects\app_spec.crf --depend .\objects\app_spec.d)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\cmsis\ARM\inc\core_comm.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E2EB2)
I (D:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E2EB2)
@ -127,8 +127,8 @@ I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -182,7 +182,7 @@ I (..\code\inc\port1_customized.h)(0x686CB3DD)
I (..\..\common\comp\protocol\dndp_protocol\inc\dpdn_protocol.h)(0x6805B2C1)
I (..\..\common\comp\protocol\ufcs_protocol\inc\ufcs_protocol.h)(0x6805B2C1)
I (..\code\inc\comp_protection.h)(0x687A2544)
F (..\..\common\app\src\cps8860_it.c)(0x68872EC8)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\cps8860_it.o --omf_browse .\objects\cps8860_it.crf --depend .\objects\cps8860_it.d)
F (..\..\common\app\src\cps8860_it.c)(0x6896A5F1)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\cps8860_it.o --omf_browse .\objects\cps8860_it.crf --depend .\objects\cps8860_it.d)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
I (..\..\common\cmsis\ARM\inc\core_comm.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E2EB2)
@ -200,7 +200,7 @@ I (D:\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E2EB2)
I (..\..\common\reg_def\clkctrl_define.h)(0x6805B2C1)
I (..\..\common\reg_def\sysctrl_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_delay.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\drv\drv_comm.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_gpio.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_analog.h)(0x6805B2C1)
@ -243,11 +243,11 @@ I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\comp\comp\inc\comp_trim.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_dma.h)(0x6805B2C1)
I (..\..\common\rom_inc\protocol\bc.h)(0x6805B2C1)
@ -300,7 +300,7 @@ I (..\..\common\comp\protocol\ufcs_protocol\inc\ufcs_protocol.h)(0x6805B2C1)
I (..\code\inc\comp_protection.h)(0x687A2544)
F (..\..\common\app\src\main.c)(0x686F6A2A)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\main.o --omf_browse .\objects\main.crf --depend .\objects\main.d)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\cmsis\ARM\inc\core_comm.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E2EB2)
I (D:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E2EB2)
@ -359,8 +359,8 @@ I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -413,8 +413,8 @@ I (..\..\common\rom_inc\comp\comp_i2c.h)(0x6805B2C1)
I (..\code\inc\port1_customized.h)(0x686CB3DD)
I (..\..\common\comp\protocol\dndp_protocol\inc\dpdn_protocol.h)(0x6805B2C1)
I (..\..\common\comp\protocol\ufcs_protocol\inc\ufcs_protocol.h)(0x6805B2C1)
F (..\code\src\customized.c)(0x687E12A0)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\customized.o --omf_browse .\objects\customized.crf --depend .\objects\customized.d)
I (..\code\inc\customized.h)(0x687E1159)
F (..\code\src\customized.c)(0x6899C971)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\customized.o --omf_browse .\objects\customized.crf --depend .\objects\customized.d)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\cmsis\ARM\inc\core_comm.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E2EB2)
I (D:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E2EB2)
@ -473,8 +473,8 @@ I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -590,8 +590,8 @@ I (..\code\inc\common.h)(0x6805B2C1)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -639,7 +639,7 @@ I (..\..\common\comp\protocol\tfcp_protocol\inc\tfcp_prl.h)(0x6805B2C1)
I (..\..\common\comp\protocol\tfcp_protocol\inc\tfcp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_i2c.h)(0x6805B2C1)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\code\inc\comp_primary_side.h)(0x6805B2C1)
I (..\code\inc\port1_customized.h)(0x686CB3DD)
I (..\..\common\comp\protocol\dndp_protocol\inc\dpdn_protocol.h)(0x6805B2C1)
@ -705,8 +705,8 @@ I (..\code\inc\common.h)(0x6805B2C1)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -754,13 +754,13 @@ I (..\..\common\comp\protocol\tfcp_protocol\inc\tfcp_prl.h)(0x6805B2C1)
I (..\..\common\comp\protocol\tfcp_protocol\inc\tfcp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_i2c.h)(0x6805B2C1)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\code\inc\comp_primary_side.h)(0x6805B2C1)
I (..\code\inc\port0_customized.h)(0x6805B2C1)
I (..\..\common\comp\protocol\dndp_protocol\inc\dpdn_protocol.h)(0x6805B2C1)
I (..\..\common\comp\protocol\ufcs_protocol\inc\ufcs_protocol.h)(0x6805B2C1)
F (..\code\inc\config.h)(0x68873496)()
F (..\code\src\comp_dac.c)(0x687715D6)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\comp_dac.o --omf_browse .\objects\comp_dac.crf --depend .\objects\comp_dac.d)
F (..\code\inc\config.h)(0x6899C986)()
F (..\code\src\comp_dac.c)(0x6887367E)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\comp_dac.o --omf_browse .\objects\comp_dac.crf --depend .\objects\comp_dac.d)
I (..\..\common\comp\comp\inc\comp_dac.h)(0x68088E16)
I (..\..\common\cmsis\ARM\inc\core_comm.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E2EB2)
@ -818,13 +818,13 @@ I (..\..\common\rom_inc\drv\drv_vfcp_phy.h)(0x6805B2C1)
I (..\..\common\reg_def\vfcp_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_trim.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
@ -932,8 +932,8 @@ I (..\..\common\rom_inc\drv\drv_scp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_vfcp_phy.h)(0x6805B2C1)
I (..\..\common\reg_def\vfcp_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -942,7 +942,7 @@ I (..\..\common\comp\comp\inc\comp_trim.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_discharge.h)(0x6805B2C1)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_dma.h)(0x6805B2C1)
@ -1049,13 +1049,13 @@ I (..\..\common\rom_inc\drv\drv_scp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_vfcp_phy.h)(0x6805B2C1)
I (..\..\common\reg_def\vfcp_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
@ -1167,8 +1167,8 @@ I (..\..\common\reg_def\vfcp_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -1260,14 +1260,14 @@ I (..\..\common\rom_inc\drv\drv_scp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_vfcp_phy.h)(0x6805B2C1)
I (..\..\common\reg_def\vfcp_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_trim.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_auto_zero.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_dma.h)(0x6805B2C1)
@ -1316,7 +1316,7 @@ I (..\..\common\comp\protocol\tfcp_protocol\inc\tfcp_prl.h)(0x6805B2C1)
I (..\..\common\comp\protocol\tfcp_protocol\inc\tfcp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_i2c.h)(0x6805B2C1)
I (..\code\inc\port1_customized.h)(0x686CB3DD)
F (..\code\src\comp_protection.c)(0x68771E04)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\comp_protection.o --omf_browse .\objects\comp_protection.crf --depend .\objects\comp_protection.d)
F (..\code\src\comp_protection.c)(0x6899C9A0)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\comp_protection.o --omf_browse .\objects\comp_protection.crf --depend .\objects\comp_protection.d)
I (..\code\inc\comp_protection.h)(0x687A2544)
I (..\..\common\cmsis\ARM\inc\core_comm.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E2EB2)
@ -1373,8 +1373,8 @@ I (..\..\common\rom_inc\drv\drv_scp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_vfcp_phy.h)(0x6805B2C1)
I (..\..\common\reg_def\vfcp_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -1384,7 +1384,7 @@ I (..\..\common\comp\comp\inc\comp_powerout.h)(0x6866314B)
I (..\..\common\comp\comp\inc\comp_dac.h)(0x68088E16)
I (..\..\common\comp\comp\inc\comp_discharge.h)(0x6805B2C1)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_dma.h)(0x6805B2C1)
@ -1489,8 +1489,8 @@ I (..\..\common\rom_inc\drv\drv_scp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_vfcp_phy.h)(0x6805B2C1)
I (..\..\common\reg_def\vfcp_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -1559,8 +1559,8 @@ I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -1607,7 +1607,7 @@ I (..\..\common\comp\protocol\tfcp_protocol\inc\tfcp_prl.h)(0x6805B2C1)
I (..\..\common\comp\protocol\tfcp_protocol\inc\tfcp_phy.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_i2c.h)(0x6805B2C1)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\code\inc\comp_primary_side.h)(0x6805B2C1)
I (..\code\inc\port0_customized.h)(0x6805B2C1)
I (..\code\inc\common.h)(0x6805B2C1)
@ -1616,7 +1616,7 @@ I (..\..\common\rom_inc\protocol\task_pd_epr.h)(0x6805B2C1)
I (..\code\inc\port1_customized.h)(0x686CB3DD)
F (..\..\common\comp\protocol\qc_scp_protocol\src\qc_scp_protocol.c)(0x6837BE08)(--c99 --gnu -c --cpu Cortex-M0 -D__MICROLIB --li -g -O2 --apcs=interwork --split_sections -I ..\..\common\cmsis\ARM\inc -I ..\..\common\cmsis\ARM -I ..\..\common\reg_def -I ..\..\common\rom_inc -I ..\..\common\rom_inc\drv -I ..\..\common\rom_inc\comp -I ..\..\common\rom_inc\protocol -I ..\..\common\comp\comp\inc -I ..\..\common\comp\protocol\dndp_protocol\inc -I ..\..\common\comp\protocol\pd_protocol\inc -I ..\..\common\comp\protocol\qc_scp_protocol\inc -I ..\..\common\comp\protocol\tfcp_protocol\inc -I ..\..\common\comp\protocol\ufcs_protocol\inc -I ..\..\common\comp\protocol\vfcp_protocol\inc -I ..\..\common\app\inc -I ..\code\inc --gnu -ID:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0\Include -ID:\Keil_v5\ARM\CMSIS\Include -D__UVISION_VERSION="533" -DARMCM0 -o .\objects\qc_scp_protocol.o --omf_browse .\objects\qc_scp_protocol.crf --depend .\objects\qc_scp_protocol.d)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\cmsis\ARM\inc\core_comm.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E2EB2)
I (D:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E2EB2)
@ -1675,8 +1675,8 @@ I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -1794,7 +1794,7 @@ I (..\..\common\rom_inc\protocol\task_pd_prl_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\protocol\task_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
I (..\..\common\rom_inc\protocol\task_pd_phy_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\protocol\task_pd_pe_define.h)(0x6805B2C1)
@ -1805,14 +1805,14 @@ I (..\..\common\rom_inc\protocol\task_pd_prl_func.h)(0x6805B2C1)
I (..\..\common\rom_inc\protocol\task_pd_pe_func.h)(0x6805B2C1)
I (..\..\common\rom_inc\protocol\task_pd_epr.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_powerout.h)(0x6866314B)
I (..\code\inc\config.h)(0x68873496)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\comp\comp\inc\comp_dac.h)(0x68088E16)
I (..\..\common\comp\comp\inc\comp_trim.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_discharge.h)(0x6805B2C1)
I (..\..\common\app\inc\pd_apple.h)(0x6805B2C1)
I (..\..\common\rom_inc\protocol\task_pd_apple.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\rom_inc.h)(0x6805B2C1)
I (..\..\common\rom_inc\protocol\bc.h)(0x6805B2C1)
@ -1905,8 +1905,8 @@ I (..\..\common\rom_inc\drv\drv_vfcp_phy.h)(0x6805B2C1)
I (..\..\common\reg_def\vfcp_define.h)(0x6805B2C1)
I (..\..\common\rom_inc\drv\drv_ufcs_phy.h)(0x6805B2C1)
I (..\..\common\comp\comp\inc\comp_adc.h)(0x6805B2C1)
I (..\code\inc\config.h)(0x68873496)
I (..\..\common\rom_inc\comp\comp_config.h)(0x688734A6)
I (..\code\inc\config.h)(0x6899C986)
I (..\..\common\rom_inc\comp\comp_config.h)(0x6899C96E)
I (..\..\common\rom_inc\comp\comp_uart.h)(0x6805B2C1)
I (D:\Keil_v5\ARM\ARMCC\include\stdarg.h)(0x5E8E2EB2)
I (..\..\common\rom_inc\comp\comp_clock.h)(0x6805B2C1)
@ -1945,7 +1945,7 @@ I (..\..\common\comp\comp\inc\comp_powerout.h)(0x6866314B)
I (..\..\common\comp\comp\inc\comp_dac.h)(0x68088E16)
I (..\..\common\comp\comp\inc\comp_discharge.h)(0x6805B2C1)
I (..\..\common\app\inc\app_spec.h)(0x6805B2C1)
I (..\code\inc\customized.h)(0x687E1159)
I (..\code\inc\customized.h)(0x6896A592)
I (..\..\common\comp\protocol\qc_scp_protocol\inc\qc_scp_protocol.h)(0x6805B2C1)
I (..\..\common\rom_inc\protocol\scp_reg_info.h)(0x6805B2C1)
I (..\..\common\app\inc\adapter_antifake.h)(0x6805B2C1)

38
PD_CPS8860_A1_CPS_Common_Demo/common/app/src/app_spec.c

@ -195,25 +195,33 @@ static void app_sleep_mode(uint8_t port)
log_info("sleep init enter\n");
/*Close the simulated register*/
*(uint32_t *)0x4000F884 = 0x00;
*(uint32_t *)0x4000F888 = 0x00;
*(uint32_t *)0x4000F848 = 0x00;
*(uint32_t *)0x40008800 = 0x00;
*(uint32_t *)0x4000F818 = 0x00;
*(uint32_t *)0x4000F81C = 0x00;
*(uint32_t *)0x4000F884 = 0x00; // GATE1_BASE
*(uint32_t *)0x4000F888 = 0x00; // GATE2_BASE
*(uint32_t *)0x4000F848 = 0x00; // VD_BASE
*(uint32_t *)0x40008800 = 0x00; // CFG_BASE
*(uint32_t *)0x4000F818 = 0x00; // CS1_BASE
*(uint32_t *)0x4000F81C = 0x00; // CS2_BASE
*(uint32_t *)0x4000F8BC = 0x00;
*(uint32_t *)0x4000F8B4 = 0x00;
*(uint32_t *)0x4000F8BC = 0x00; // FB1_FB_BASE
*(uint32_t *)0x4000F8B4 = 0x00; // FB1_BASE
*(uint32_t *)0x4000F8C8 = 0x00;
*(uint32_t *)0x4000F8C0 = 0x00;
// *(uint32_t *)0x4000F8C8 = 0x00; // FB2_FB_BASE
// *(uint32_t *)0x4000F8C0 = 0x00; // FB2_BASE
*(uint32_t *)0x4000F8B8 = 0x00;
*(uint32_t *)0x4000F8C4 = 0x00;
*(uint32_t *)0x4000F800 = 0x00;
*(uint32_t *)0x4000F8B8 = 0x00; // FB1_FBCV_BASE
// *(uint32_t *)0x4000F8C4 = 0x00; // FB2_FBCV_BASE
*(uint32_t *)0x4000F800 = 0x00; // PROT_BASE
*(uint32_t *)0x4000F804 = 0x00; // DPDN1_BASE
*(uint32_t *)0x4000F808 = 0x00; // DPDN2_BASE
// 进休眠后电压会稍微降一点,A口需要电压高点。
// 所以抬高到5.2V,并且要防止powerout状态机
// __disable_irq();
// comp_set_vol(TYPEC_PORT1, VOLTAGE_5P2V);
// drv_delay_ms(20); // 等升压完毕
// __enable_irq(); // 是靠中断唤醒,所以要再次打开
*(uint32_t *)0x4000F804 = 0x00;
*(uint32_t *)0x4000F808 = 0x00;
/*enter sleep mode*/
drv_clkctrl_sys_ctrl_mask_set(0x04);

5
PD_CPS8860_A1_CPS_Common_Demo/common/app/src/cps8860_it.c

@ -43,6 +43,11 @@ void SysTick_Handler(void)
}
#endif
if( user_app.protection_exit_cnt )
{
user_app.protection_exit_cnt--;
}
#if PROTECTION_SUPPORT
#ifdef ACDC_2DCDC_2FB
comp_protection_vin_check(&g_protection_param);

1
PD_CPS8860_A1_CPS_Common_Demo/common/rom_inc/comp/comp_config.h

@ -187,6 +187,7 @@
#define DELAY_1050MS 1050
#define DELAY_1P5S 1500
#define DELAY_3S 3000
#define DELAY_4S 4000
#define DELAY_5S 5000
#define DELAY_10S 10000
#define DELAY_5500MS 5500

Loading…
Cancel
Save