no message
This commit is contained in:
parent
0ed08a8452
commit
7cceb654c9
236
MCUCore.uvopt
236
MCUCore.uvopt
|
@ -73,7 +73,7 @@
|
||||||
<OPTFL>
|
<OPTFL>
|
||||||
<tvExp>1</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<IsCurrentTarget>1</IsCurrentTarget>
|
<IsCurrentTarget>0</IsCurrentTarget>
|
||||||
</OPTFL>
|
</OPTFL>
|
||||||
<CpuCode>0</CpuCode>
|
<CpuCode>0</CpuCode>
|
||||||
<DllOpt>
|
<DllOpt>
|
||||||
|
@ -937,7 +937,7 @@
|
||||||
<OPTFL>
|
<OPTFL>
|
||||||
<tvExp>1</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<IsCurrentTarget>0</IsCurrentTarget>
|
<IsCurrentTarget>1</IsCurrentTarget>
|
||||||
</OPTFL>
|
</OPTFL>
|
||||||
<CpuCode>0</CpuCode>
|
<CpuCode>0</CpuCode>
|
||||||
<DllOpt>
|
<DllOpt>
|
||||||
|
@ -1532,10 +1532,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>14</ColumnNumber>
|
<ColumnNumber>17</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>31</TopLine>
|
<TopLine>92</TopLine>
|
||||||
<CurrentLine>61</CurrentLine>
|
<CurrentLine>92</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_app\Main.c</PathWithFileName>
|
<PathWithFileName>.\code_app\Main.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Main.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Main.c</FilenameWithoutPath>
|
||||||
|
@ -1546,10 +1546,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5</ColumnNumber>
|
<ColumnNumber>11</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>520</TopLine>
|
<TopLine>542</TopLine>
|
||||||
<CurrentLine>538</CurrentLine>
|
<CurrentLine>568</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_app\Initial.c</PathWithFileName>
|
<PathWithFileName>.\code_app\Initial.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Initial.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Initial.c</FilenameWithoutPath>
|
||||||
|
@ -1616,10 +1616,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>18</ColumnNumber>
|
<ColumnNumber>56</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>1774</TopLine>
|
<TopLine>1918</TopLine>
|
||||||
<CurrentLine>1798</CurrentLine>
|
<CurrentLine>1943</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_app\UartApp.c</PathWithFileName>
|
<PathWithFileName>.\code_app\UartApp.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>UartApp.c</FilenameWithoutPath>
|
<FilenameWithoutPath>UartApp.c</FilenameWithoutPath>
|
||||||
|
@ -1665,10 +1665,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>9</ColumnNumber>
|
<ColumnNumber>77</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>304</TopLine>
|
<TopLine>193</TopLine>
|
||||||
<CurrentLine>304</CurrentLine>
|
<CurrentLine>193</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\AFE.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\AFE.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>AFE.c</FilenameWithoutPath>
|
<FilenameWithoutPath>AFE.c</FilenameWithoutPath>
|
||||||
|
@ -1681,7 +1681,7 @@
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>20</TopLine>
|
<TopLine>32</TopLine>
|
||||||
<CurrentLine>32</CurrentLine>
|
<CurrentLine>32</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Balance.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Balance.c</PathWithFileName>
|
||||||
|
@ -1693,10 +1693,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>49</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>50</TopLine>
|
<TopLine>238</TopLine>
|
||||||
<CurrentLine>76</CurrentLine>
|
<CurrentLine>256</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Calculate.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Calculate.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Calculate.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Calculate.c</FilenameWithoutPath>
|
||||||
|
@ -1707,10 +1707,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>31</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>79</TopLine>
|
<TopLine>130</TopLine>
|
||||||
<CurrentLine>80</CurrentLine>
|
<CurrentLine>131</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Calibrate.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Calibrate.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Calibrate.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Calibrate.c</FilenameWithoutPath>
|
||||||
|
@ -1777,10 +1777,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5266323</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>53104136</TopLine>
|
<TopLine>208</TopLine>
|
||||||
<CurrentLine>17768312</CurrentLine>
|
<CurrentLine>208</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\McuFlash.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\McuFlash.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>McuFlash.c</FilenameWithoutPath>
|
<FilenameWithoutPath>McuFlash.c</FilenameWithoutPath>
|
||||||
|
@ -1821,7 +1821,7 @@
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>170</TopLine>
|
<TopLine>176</TopLine>
|
||||||
<CurrentLine>176</CurrentLine>
|
<CurrentLine>176</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\PorSelfTest.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\PorSelfTest.c</PathWithFileName>
|
||||||
|
@ -1833,10 +1833,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>34</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>431</TopLine>
|
<TopLine>400</TopLine>
|
||||||
<CurrentLine>455</CurrentLine>
|
<CurrentLine>406</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Protect.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Protect.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Protect.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Protect.c</FilenameWithoutPath>
|
||||||
|
@ -1929,7 +1929,7 @@
|
||||||
|
|
||||||
<Group>
|
<Group>
|
||||||
<GroupName>Gasguage</GroupName>
|
<GroupName>Gasguage</GroupName>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<cbSel>0</cbSel>
|
<cbSel>0</cbSel>
|
||||||
<File>
|
<File>
|
||||||
|
@ -1938,10 +1938,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5266323</ColumnNumber>
|
<ColumnNumber>57</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>1</TopLine>
|
<TopLine>200</TopLine>
|
||||||
<CurrentLine>1</CurrentLine>
|
<CurrentLine>207</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_gasguage\GasGaugeInter_V4_13.c</PathWithFileName>
|
<PathWithFileName>.\code_gasguage\GasGaugeInter_V4_13.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>GasGaugeInter_V4_13.c</FilenameWithoutPath>
|
<FilenameWithoutPath>GasGaugeInter_V4_13.c</FilenameWithoutPath>
|
||||||
|
@ -2008,10 +2008,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>46</ColumnNumber>
|
<ColumnNumber>34</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>115</TopLine>
|
<TopLine>136</TopLine>
|
||||||
<CurrentLine>142</CurrentLine>
|
<CurrentLine>136</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_dataflash\DataFlash.c</PathWithFileName>
|
<PathWithFileName>.\code_dataflash\DataFlash.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>DataFlash.c</FilenameWithoutPath>
|
<FilenameWithoutPath>DataFlash.c</FilenameWithoutPath>
|
||||||
|
@ -2466,6 +2466,32 @@
|
||||||
</File>
|
</File>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
<AlienFiles>
|
||||||
|
<PathWithFilename>E:\Y\keil\ZDBMS\ZDBMS\CODE_GASGUAGE\GASGAUGEV4_13.H</PathWithFilename>
|
||||||
|
<TopLine>107</TopLine>
|
||||||
|
<CurrentLine>107</CurrentLine>
|
||||||
|
<Constant>0</Constant>
|
||||||
|
<WindowPosition>
|
||||||
|
<length>0</length>
|
||||||
|
<flags>0</flags>
|
||||||
|
<showCmd>0</showCmd>
|
||||||
|
<MinPosition>
|
||||||
|
<xPos>0</xPos>
|
||||||
|
<yPos>0</yPos>
|
||||||
|
</MinPosition>
|
||||||
|
<MaxPosition>
|
||||||
|
<xPos>0</xPos>
|
||||||
|
<yPos>0</yPos>
|
||||||
|
</MaxPosition>
|
||||||
|
<NormalPosition>
|
||||||
|
<Top>0</Top>
|
||||||
|
<Left>0</Left>
|
||||||
|
<Right>0</Right>
|
||||||
|
<Bottom>0</Bottom>
|
||||||
|
</NormalPosition>
|
||||||
|
</WindowPosition>
|
||||||
|
</AlienFiles>
|
||||||
|
|
||||||
<WinLayout>
|
<WinLayout>
|
||||||
<sActiveDebugView>Default</sActiveDebugView>
|
<sActiveDebugView>Default</sActiveDebugView>
|
||||||
<iActiveDebugViewLocation>1</iActiveDebugViewLocation>
|
<iActiveDebugViewLocation>1</iActiveDebugViewLocation>
|
||||||
|
@ -3807,32 +3833,92 @@
|
||||||
<ActiveMDIGroup>0</ActiveMDIGroup>
|
<ActiveMDIGroup>0</ActiveMDIGroup>
|
||||||
<MDIGroup>
|
<MDIGroup>
|
||||||
<Size>100</Size>
|
<Size>100</Size>
|
||||||
<ActiveTab>2</ActiveTab>
|
<ActiveTab>0</ActiveTab>
|
||||||
<Documents>
|
<Documents>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_dataflash\DataFlash.c</Name>
|
||||||
|
<ColumnNumber>34</ColumnNumber>
|
||||||
|
<TopLine>136</TopLine>
|
||||||
|
<CurrentLine>136</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\McuFlash.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>208</TopLine>
|
||||||
|
<CurrentLine>208</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_app\UartApp.c</Name>
|
||||||
|
<ColumnNumber>56</ColumnNumber>
|
||||||
|
<TopLine>1918</TopLine>
|
||||||
|
<CurrentLine>1943</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_app\Main.c</Name>
|
||||||
|
<ColumnNumber>17</ColumnNumber>
|
||||||
|
<TopLine>92</TopLine>
|
||||||
|
<CurrentLine>92</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\Protect.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>400</TopLine>
|
||||||
|
<CurrentLine>406</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\Balance.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>32</TopLine>
|
||||||
|
<CurrentLine>32</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\Calculate.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>238</TopLine>
|
||||||
|
<CurrentLine>256</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_app\Initial.c</Name>
|
||||||
|
<ColumnNumber>11</ColumnNumber>
|
||||||
|
<TopLine>542</TopLine>
|
||||||
|
<CurrentLine>568</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\PorSelfTest.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>176</TopLine>
|
||||||
|
<CurrentLine>176</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\Calibrate.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>130</TopLine>
|
||||||
|
<CurrentLine>131</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\AFE.c</Name>
|
||||||
|
<ColumnNumber>77</ColumnNumber>
|
||||||
|
<TopLine>193</TopLine>
|
||||||
|
<CurrentLine>193</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_gasguage\GasGaugeInter_V4_13.c</Name>
|
||||||
|
<ColumnNumber>57</ColumnNumber>
|
||||||
|
<TopLine>200</TopLine>
|
||||||
|
<CurrentLine>207</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\CODE_GASGUAGE\GASGAUGEV4_13.H</Name>
|
||||||
|
<ColumnNumber>58</ColumnNumber>
|
||||||
|
<TopLine>107</TopLine>
|
||||||
|
<CurrentLine>107</CurrentLine>
|
||||||
|
</Doc>
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>\Y\KEIL\ZDBMS\ZDBMS\HEADER_APP\MEMORY.H</Name>
|
<Name>\Y\KEIL\ZDBMS\ZDBMS\HEADER_APP\MEMORY.H</Name>
|
||||||
<ColumnNumber>48</ColumnNumber>
|
<ColumnNumber>48</ColumnNumber>
|
||||||
<TopLine>100</TopLine>
|
<TopLine>100</TopLine>
|
||||||
<CurrentLine>115</CurrentLine>
|
<CurrentLine>115</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>.\code_app\Main.c</Name>
|
|
||||||
<ColumnNumber>14</ColumnNumber>
|
|
||||||
<TopLine>31</TopLine>
|
|
||||||
<CurrentLine>61</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
|
||||||
<Name>.\code_dataflash\DataFlash.c</Name>
|
|
||||||
<ColumnNumber>46</ColumnNumber>
|
|
||||||
<TopLine>115</TopLine>
|
|
||||||
<CurrentLine>142</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\Protect.c</Name>
|
|
||||||
<ColumnNumber>34</ColumnNumber>
|
|
||||||
<TopLine>431</TopLine>
|
|
||||||
<CurrentLine>455</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_app\Memory.c</Name>
|
<Name>.\code_app\Memory.c</Name>
|
||||||
<ColumnNumber>0</ColumnNumber>
|
<ColumnNumber>0</ColumnNumber>
|
||||||
|
@ -3905,18 +3991,6 @@
|
||||||
<TopLine>336</TopLine>
|
<TopLine>336</TopLine>
|
||||||
<CurrentLine>362</CurrentLine>
|
<CurrentLine>362</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\Calculate.c</Name>
|
|
||||||
<ColumnNumber>49</ColumnNumber>
|
|
||||||
<TopLine>50</TopLine>
|
|
||||||
<CurrentLine>76</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\Calibrate.c</Name>
|
|
||||||
<ColumnNumber>31</ColumnNumber>
|
|
||||||
<TopLine>79</TopLine>
|
|
||||||
<CurrentLine>80</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_drv\ExtE2PRom.c</Name>
|
<Name>.\code_drv\ExtE2PRom.c</Name>
|
||||||
<ColumnNumber>13</ColumnNumber>
|
<ColumnNumber>13</ColumnNumber>
|
||||||
|
@ -3929,48 +4003,18 @@
|
||||||
<TopLine>101</TopLine>
|
<TopLine>101</TopLine>
|
||||||
<CurrentLine>127</CurrentLine>
|
<CurrentLine>127</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>.\code_app\Initial.c</Name>
|
|
||||||
<ColumnNumber>5</ColumnNumber>
|
|
||||||
<TopLine>520</TopLine>
|
|
||||||
<CurrentLine>538</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_drv\TWI.c</Name>
|
<Name>.\code_drv\TWI.c</Name>
|
||||||
<ColumnNumber>45</ColumnNumber>
|
<ColumnNumber>45</ColumnNumber>
|
||||||
<TopLine>121</TopLine>
|
<TopLine>121</TopLine>
|
||||||
<CurrentLine>121</CurrentLine>
|
<CurrentLine>121</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\AFE.c</Name>
|
|
||||||
<ColumnNumber>9</ColumnNumber>
|
|
||||||
<TopLine>304</TopLine>
|
|
||||||
<CurrentLine>304</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\Balance.c</Name>
|
|
||||||
<ColumnNumber>5</ColumnNumber>
|
|
||||||
<TopLine>20</TopLine>
|
|
||||||
<CurrentLine>32</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\HEADER_DRV\UART.H</Name>
|
<Name>.\HEADER_DRV\UART.H</Name>
|
||||||
<ColumnNumber>56</ColumnNumber>
|
<ColumnNumber>56</ColumnNumber>
|
||||||
<TopLine>1</TopLine>
|
<TopLine>1</TopLine>
|
||||||
<CurrentLine>18</CurrentLine>
|
<CurrentLine>18</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>.\code_app\UartApp.c</Name>
|
|
||||||
<ColumnNumber>18</ColumnNumber>
|
|
||||||
<TopLine>1774</TopLine>
|
|
||||||
<CurrentLine>1798</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\PorSelfTest.c</Name>
|
|
||||||
<ColumnNumber>5</ColumnNumber>
|
|
||||||
<TopLine>170</TopLine>
|
|
||||||
<CurrentLine>176</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\HEADER_DRV\PORSELFTEST.H</Name>
|
<Name>.\HEADER_DRV\PORSELFTEST.H</Name>
|
||||||
<ColumnNumber>22</ColumnNumber>
|
<ColumnNumber>22</ColumnNumber>
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
<OPTFL>
|
<OPTFL>
|
||||||
<tvExp>1</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<IsCurrentTarget>1</IsCurrentTarget>
|
<IsCurrentTarget>0</IsCurrentTarget>
|
||||||
</OPTFL>
|
</OPTFL>
|
||||||
<CpuCode>0</CpuCode>
|
<CpuCode>0</CpuCode>
|
||||||
<DllOpt>
|
<DllOpt>
|
||||||
|
@ -937,7 +937,7 @@
|
||||||
<OPTFL>
|
<OPTFL>
|
||||||
<tvExp>1</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<IsCurrentTarget>0</IsCurrentTarget>
|
<IsCurrentTarget>1</IsCurrentTarget>
|
||||||
</OPTFL>
|
</OPTFL>
|
||||||
<CpuCode>0</CpuCode>
|
<CpuCode>0</CpuCode>
|
||||||
<DllOpt>
|
<DllOpt>
|
||||||
|
@ -1532,10 +1532,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>22</ColumnNumber>
|
<ColumnNumber>17</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>32</TopLine>
|
<TopLine>92</TopLine>
|
||||||
<CurrentLine>42</CurrentLine>
|
<CurrentLine>92</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_app\Main.c</PathWithFileName>
|
<PathWithFileName>.\code_app\Main.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Main.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Main.c</FilenameWithoutPath>
|
||||||
|
@ -1546,10 +1546,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5</ColumnNumber>
|
<ColumnNumber>11</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>520</TopLine>
|
<TopLine>537</TopLine>
|
||||||
<CurrentLine>538</CurrentLine>
|
<CurrentLine>568</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_app\Initial.c</PathWithFileName>
|
<PathWithFileName>.\code_app\Initial.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Initial.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Initial.c</FilenameWithoutPath>
|
||||||
|
@ -1604,7 +1604,7 @@
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>8</ColumnNumber>
|
<ColumnNumber>8</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>54</TopLine>
|
<TopLine>63</TopLine>
|
||||||
<CurrentLine>89</CurrentLine>
|
<CurrentLine>89</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_app\LowPower.c</PathWithFileName>
|
<PathWithFileName>.\code_app\LowPower.c</PathWithFileName>
|
||||||
|
@ -1616,10 +1616,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>18</ColumnNumber>
|
<ColumnNumber>56</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>1774</TopLine>
|
<TopLine>1918</TopLine>
|
||||||
<CurrentLine>1798</CurrentLine>
|
<CurrentLine>1943</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_app\UartApp.c</PathWithFileName>
|
<PathWithFileName>.\code_app\UartApp.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>UartApp.c</FilenameWithoutPath>
|
<FilenameWithoutPath>UartApp.c</FilenameWithoutPath>
|
||||||
|
@ -1665,10 +1665,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>9</ColumnNumber>
|
<ColumnNumber>77</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>304</TopLine>
|
<TopLine>193</TopLine>
|
||||||
<CurrentLine>304</CurrentLine>
|
<CurrentLine>193</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\AFE.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\AFE.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>AFE.c</FilenameWithoutPath>
|
<FilenameWithoutPath>AFE.c</FilenameWithoutPath>
|
||||||
|
@ -1681,7 +1681,7 @@
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>20</TopLine>
|
<TopLine>32</TopLine>
|
||||||
<CurrentLine>32</CurrentLine>
|
<CurrentLine>32</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Balance.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Balance.c</PathWithFileName>
|
||||||
|
@ -1693,10 +1693,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>49</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>46</TopLine>
|
<TopLine>238</TopLine>
|
||||||
<CurrentLine>76</CurrentLine>
|
<CurrentLine>256</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Calculate.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Calculate.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Calculate.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Calculate.c</FilenameWithoutPath>
|
||||||
|
@ -1707,10 +1707,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>31</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>79</TopLine>
|
<TopLine>130</TopLine>
|
||||||
<CurrentLine>80</CurrentLine>
|
<CurrentLine>131</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Calibrate.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Calibrate.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Calibrate.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Calibrate.c</FilenameWithoutPath>
|
||||||
|
@ -1777,10 +1777,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5266323</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>53104136</TopLine>
|
<TopLine>208</TopLine>
|
||||||
<CurrentLine>17768312</CurrentLine>
|
<CurrentLine>208</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\McuFlash.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\McuFlash.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>McuFlash.c</FilenameWithoutPath>
|
<FilenameWithoutPath>McuFlash.c</FilenameWithoutPath>
|
||||||
|
@ -1821,7 +1821,7 @@
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>170</TopLine>
|
<TopLine>176</TopLine>
|
||||||
<CurrentLine>176</CurrentLine>
|
<CurrentLine>176</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\PorSelfTest.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\PorSelfTest.c</PathWithFileName>
|
||||||
|
@ -1835,8 +1835,8 @@
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>316</TopLine>
|
<TopLine>400</TopLine>
|
||||||
<CurrentLine>316</CurrentLine>
|
<CurrentLine>406</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Protect.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Protect.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>Protect.c</FilenameWithoutPath>
|
<FilenameWithoutPath>Protect.c</FilenameWithoutPath>
|
||||||
|
@ -1877,7 +1877,7 @@
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>21</ColumnNumber>
|
<ColumnNumber>21</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>97</TopLine>
|
<TopLine>101</TopLine>
|
||||||
<CurrentLine>127</CurrentLine>
|
<CurrentLine>127</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Uart.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Uart.c</PathWithFileName>
|
||||||
|
@ -1891,7 +1891,7 @@
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>54</ColumnNumber>
|
<ColumnNumber>54</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>330</TopLine>
|
<TopLine>336</TopLine>
|
||||||
<CurrentLine>362</CurrentLine>
|
<CurrentLine>362</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_drv\Thermistor.c</PathWithFileName>
|
<PathWithFileName>.\code_drv\Thermistor.c</PathWithFileName>
|
||||||
|
@ -1929,7 +1929,7 @@
|
||||||
|
|
||||||
<Group>
|
<Group>
|
||||||
<GroupName>Gasguage</GroupName>
|
<GroupName>Gasguage</GroupName>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<cbSel>0</cbSel>
|
<cbSel>0</cbSel>
|
||||||
<File>
|
<File>
|
||||||
|
@ -1938,10 +1938,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>5266323</ColumnNumber>
|
<ColumnNumber>57</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>1</TopLine>
|
<TopLine>200</TopLine>
|
||||||
<CurrentLine>1</CurrentLine>
|
<CurrentLine>207</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_gasguage\GasGaugeInter_V4_13.c</PathWithFileName>
|
<PathWithFileName>.\code_gasguage\GasGaugeInter_V4_13.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>GasGaugeInter_V4_13.c</FilenameWithoutPath>
|
<FilenameWithoutPath>GasGaugeInter_V4_13.c</FilenameWithoutPath>
|
||||||
|
@ -2008,10 +2008,10 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<Focus>0</Focus>
|
<Focus>0</Focus>
|
||||||
<ColumnNumber>29</ColumnNumber>
|
<ColumnNumber>34</ColumnNumber>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<TopLine>7</TopLine>
|
<TopLine>118</TopLine>
|
||||||
<CurrentLine>36</CurrentLine>
|
<CurrentLine>132</CurrentLine>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>.\code_dataflash\DataFlash.c</PathWithFileName>
|
<PathWithFileName>.\code_dataflash\DataFlash.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>DataFlash.c</FilenameWithoutPath>
|
<FilenameWithoutPath>DataFlash.c</FilenameWithoutPath>
|
||||||
|
@ -2466,6 +2466,32 @@
|
||||||
</File>
|
</File>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
<AlienFiles>
|
||||||
|
<PathWithFilename>E:\Y\keil\ZDBMS\ZDBMS\CODE_GASGUAGE\GASGAUGEV4_13.H</PathWithFilename>
|
||||||
|
<TopLine>107</TopLine>
|
||||||
|
<CurrentLine>107</CurrentLine>
|
||||||
|
<Constant>0</Constant>
|
||||||
|
<WindowPosition>
|
||||||
|
<length>0</length>
|
||||||
|
<flags>0</flags>
|
||||||
|
<showCmd>0</showCmd>
|
||||||
|
<MinPosition>
|
||||||
|
<xPos>0</xPos>
|
||||||
|
<yPos>0</yPos>
|
||||||
|
</MinPosition>
|
||||||
|
<MaxPosition>
|
||||||
|
<xPos>0</xPos>
|
||||||
|
<yPos>0</yPos>
|
||||||
|
</MaxPosition>
|
||||||
|
<NormalPosition>
|
||||||
|
<Top>0</Top>
|
||||||
|
<Left>0</Left>
|
||||||
|
<Right>0</Right>
|
||||||
|
<Bottom>0</Bottom>
|
||||||
|
</NormalPosition>
|
||||||
|
</WindowPosition>
|
||||||
|
</AlienFiles>
|
||||||
|
|
||||||
<WinLayout>
|
<WinLayout>
|
||||||
<sActiveDebugView>Default</sActiveDebugView>
|
<sActiveDebugView>Default</sActiveDebugView>
|
||||||
<iActiveDebugViewLocation>1</iActiveDebugViewLocation>
|
<iActiveDebugViewLocation>1</iActiveDebugViewLocation>
|
||||||
|
@ -3810,22 +3836,88 @@
|
||||||
<ActiveTab>0</ActiveTab>
|
<ActiveTab>0</ActiveTab>
|
||||||
<Documents>
|
<Documents>
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_app\Main.c</Name>
|
<Name>.\code_dataflash\DataFlash.c</Name>
|
||||||
<ColumnNumber>22</ColumnNumber>
|
<ColumnNumber>34</ColumnNumber>
|
||||||
<TopLine>32</TopLine>
|
<TopLine>118</TopLine>
|
||||||
<CurrentLine>42</CurrentLine>
|
<CurrentLine>132</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_dataflash\DataFlash.c</Name>
|
<Name>.\code_drv\McuFlash.c</Name>
|
||||||
<ColumnNumber>29</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<TopLine>7</TopLine>
|
<TopLine>208</TopLine>
|
||||||
<CurrentLine>36</CurrentLine>
|
<CurrentLine>208</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_app\UartApp.c</Name>
|
||||||
|
<ColumnNumber>56</ColumnNumber>
|
||||||
|
<TopLine>1918</TopLine>
|
||||||
|
<CurrentLine>1943</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_app\Main.c</Name>
|
||||||
|
<ColumnNumber>17</ColumnNumber>
|
||||||
|
<TopLine>92</TopLine>
|
||||||
|
<CurrentLine>92</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_drv\Protect.c</Name>
|
<Name>.\code_drv\Protect.c</Name>
|
||||||
<ColumnNumber>5</ColumnNumber>
|
<ColumnNumber>5</ColumnNumber>
|
||||||
<TopLine>316</TopLine>
|
<TopLine>400</TopLine>
|
||||||
<CurrentLine>316</CurrentLine>
|
<CurrentLine>406</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\Balance.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>32</TopLine>
|
||||||
|
<CurrentLine>32</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\Calculate.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>238</TopLine>
|
||||||
|
<CurrentLine>256</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_app\Initial.c</Name>
|
||||||
|
<ColumnNumber>11</ColumnNumber>
|
||||||
|
<TopLine>537</TopLine>
|
||||||
|
<CurrentLine>568</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\PorSelfTest.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>176</TopLine>
|
||||||
|
<CurrentLine>176</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\Calibrate.c</Name>
|
||||||
|
<ColumnNumber>5</ColumnNumber>
|
||||||
|
<TopLine>130</TopLine>
|
||||||
|
<CurrentLine>131</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_drv\AFE.c</Name>
|
||||||
|
<ColumnNumber>77</ColumnNumber>
|
||||||
|
<TopLine>193</TopLine>
|
||||||
|
<CurrentLine>193</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\code_gasguage\GasGaugeInter_V4_13.c</Name>
|
||||||
|
<ColumnNumber>57</ColumnNumber>
|
||||||
|
<TopLine>200</TopLine>
|
||||||
|
<CurrentLine>207</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>.\CODE_GASGUAGE\GASGAUGEV4_13.H</Name>
|
||||||
|
<ColumnNumber>58</ColumnNumber>
|
||||||
|
<TopLine>107</TopLine>
|
||||||
|
<CurrentLine>107</CurrentLine>
|
||||||
|
</Doc>
|
||||||
|
<Doc>
|
||||||
|
<Name>\Y\KEIL\ZDBMS\ZDBMS\HEADER_APP\MEMORY.H</Name>
|
||||||
|
<ColumnNumber>48</ColumnNumber>
|
||||||
|
<TopLine>100</TopLine>
|
||||||
|
<CurrentLine>115</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_app\Memory.c</Name>
|
<Name>.\code_app\Memory.c</Name>
|
||||||
|
@ -3835,9 +3927,9 @@
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\HEADER_DRV\PROTECT.H</Name>
|
<Name>.\HEADER_DRV\PROTECT.H</Name>
|
||||||
<ColumnNumber>5266242</ColumnNumber>
|
<ColumnNumber>18</ColumnNumber>
|
||||||
<TopLine>1</TopLine>
|
<TopLine>1</TopLine>
|
||||||
<CurrentLine>1</CurrentLine>
|
<CurrentLine>18</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\HEADER_DRV\EXTE2PROM.H</Name>
|
<Name>.\HEADER_DRV\EXTE2PROM.H</Name>
|
||||||
|
@ -3869,12 +3961,6 @@
|
||||||
<TopLine>128</TopLine>
|
<TopLine>128</TopLine>
|
||||||
<CurrentLine>128</CurrentLine>
|
<CurrentLine>128</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>\Y\KEIL\ZDBMS\ZDBMS\HEADER_APP\MEMORY.H</Name>
|
|
||||||
<ColumnNumber>0</ColumnNumber>
|
|
||||||
<TopLine>1</TopLine>
|
|
||||||
<CurrentLine>18</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\header_app\Main.h</Name>
|
<Name>.\header_app\Main.h</Name>
|
||||||
<ColumnNumber>28</ColumnNumber>
|
<ColumnNumber>28</ColumnNumber>
|
||||||
|
@ -3902,21 +3988,9 @@
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_drv\Thermistor.c</Name>
|
<Name>.\code_drv\Thermistor.c</Name>
|
||||||
<ColumnNumber>54</ColumnNumber>
|
<ColumnNumber>54</ColumnNumber>
|
||||||
<TopLine>330</TopLine>
|
<TopLine>336</TopLine>
|
||||||
<CurrentLine>362</CurrentLine>
|
<CurrentLine>362</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\Calculate.c</Name>
|
|
||||||
<ColumnNumber>49</ColumnNumber>
|
|
||||||
<TopLine>46</TopLine>
|
|
||||||
<CurrentLine>76</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\Calibrate.c</Name>
|
|
||||||
<ColumnNumber>31</ColumnNumber>
|
|
||||||
<TopLine>79</TopLine>
|
|
||||||
<CurrentLine>80</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_drv\ExtE2PRom.c</Name>
|
<Name>.\code_drv\ExtE2PRom.c</Name>
|
||||||
<ColumnNumber>13</ColumnNumber>
|
<ColumnNumber>13</ColumnNumber>
|
||||||
|
@ -3926,51 +4000,21 @@
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_drv\Uart.c</Name>
|
<Name>.\code_drv\Uart.c</Name>
|
||||||
<ColumnNumber>21</ColumnNumber>
|
<ColumnNumber>21</ColumnNumber>
|
||||||
<TopLine>97</TopLine>
|
<TopLine>101</TopLine>
|
||||||
<CurrentLine>127</CurrentLine>
|
<CurrentLine>127</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>.\code_app\Initial.c</Name>
|
|
||||||
<ColumnNumber>5</ColumnNumber>
|
|
||||||
<TopLine>520</TopLine>
|
|
||||||
<CurrentLine>538</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_drv\TWI.c</Name>
|
<Name>.\code_drv\TWI.c</Name>
|
||||||
<ColumnNumber>45</ColumnNumber>
|
<ColumnNumber>45</ColumnNumber>
|
||||||
<TopLine>121</TopLine>
|
<TopLine>121</TopLine>
|
||||||
<CurrentLine>121</CurrentLine>
|
<CurrentLine>121</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\AFE.c</Name>
|
|
||||||
<ColumnNumber>9</ColumnNumber>
|
|
||||||
<TopLine>304</TopLine>
|
|
||||||
<CurrentLine>304</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\Balance.c</Name>
|
|
||||||
<ColumnNumber>5</ColumnNumber>
|
|
||||||
<TopLine>20</TopLine>
|
|
||||||
<CurrentLine>32</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\HEADER_DRV\UART.H</Name>
|
<Name>.\HEADER_DRV\UART.H</Name>
|
||||||
<ColumnNumber>56</ColumnNumber>
|
<ColumnNumber>56</ColumnNumber>
|
||||||
<TopLine>1</TopLine>
|
<TopLine>1</TopLine>
|
||||||
<CurrentLine>18</CurrentLine>
|
<CurrentLine>18</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
<Doc>
|
|
||||||
<Name>.\code_app\UartApp.c</Name>
|
|
||||||
<ColumnNumber>18</ColumnNumber>
|
|
||||||
<TopLine>1774</TopLine>
|
|
||||||
<CurrentLine>1798</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
|
||||||
<Name>.\code_drv\PorSelfTest.c</Name>
|
|
||||||
<ColumnNumber>5</ColumnNumber>
|
|
||||||
<TopLine>170</TopLine>
|
|
||||||
<CurrentLine>176</CurrentLine>
|
|
||||||
</Doc>
|
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\HEADER_DRV\PORSELFTEST.H</Name>
|
<Name>.\HEADER_DRV\PORSELFTEST.H</Name>
|
||||||
<ColumnNumber>22</ColumnNumber>
|
<ColumnNumber>22</ColumnNumber>
|
||||||
|
@ -4010,7 +4054,7 @@
|
||||||
<Doc>
|
<Doc>
|
||||||
<Name>.\code_app\LowPower.c</Name>
|
<Name>.\code_app\LowPower.c</Name>
|
||||||
<ColumnNumber>8</ColumnNumber>
|
<ColumnNumber>8</ColumnNumber>
|
||||||
<TopLine>54</TopLine>
|
<TopLine>63</TopLine>
|
||||||
<CurrentLine>89</CurrentLine>
|
<CurrentLine>89</CurrentLine>
|
||||||
</Doc>
|
</Doc>
|
||||||
</Documents>
|
</Documents>
|
||||||
|
|
|
@ -48,42 +48,43 @@ V0.0 2014/09/10 Preliminary
|
||||||
// </h>
|
// </h>
|
||||||
|
|
||||||
// <h>OCV电压(mV)
|
// <h>OCV电压(mV)
|
||||||
|
// 0%2.620
|
||||||
// <o>10%容量对应电压
|
// <o>10%容量对应电压
|
||||||
#define _E2_VOC10 3200 //U16 xdata VOC10
|
#define _E2_VOC10 3150 //U16 xdata VOC10
|
||||||
// <o>20%容量对应电压
|
// <o>20%容量对应电压
|
||||||
#define _E2_VOC20 3400 //U16 xdata VOC10
|
#define _E2_VOC20 3200 //U16 xdata VOC10
|
||||||
// <o>30%容量对应电压
|
// <o>30%容量对应电压
|
||||||
#define _E2_VOC30 3550 //U16 xdata VOC10
|
#define _E2_VOC30 3245 //U16 xdata VOC10
|
||||||
// <o>40%容量对应电压
|
// <o>40%容量对应电压
|
||||||
#define _E2_VOC40 3700 //U16 xdata VOC10
|
#define _E2_VOC40 3290 //U16 xdata VOC10
|
||||||
// <o>50%容量对应电压
|
// <o>50%容量对应电压
|
||||||
#define _E2_VOC50 3800 //U16 xdata VOC10
|
#define _E2_VOC50 3335 //U16 xdata VOC10
|
||||||
// <o>60%容量对应电压
|
// <o>60%容量对应电压
|
||||||
#define _E2_VOC60 3900 //U16 xdata VOC10
|
#define _E2_VOC60 3380 //U16 xdata VOC10
|
||||||
// <o>70%容量对应电压
|
// <o>70%容量对应电压
|
||||||
#define _E2_VOC70 4000 //U16 xdata VOC10
|
#define _E2_VOC70 3425 //U16 xdata VOC10
|
||||||
// <o>80%容量对应电压
|
// <o>80%容量对应电压
|
||||||
#define _E2_VOC80 4100 //U16 xdata VOC10
|
#define _E2_VOC80 3470 //U16 xdata VOC10
|
||||||
// <o>90%容量对应电压
|
// <o>90%容量对应电压
|
||||||
#define _E2_VOC90 4150 //U16 xdata VOC10
|
#define _E2_VOC90 3515 //U16 xdata VOC10
|
||||||
// <o>100%容量对应电压
|
// <o>100%容量对应电压
|
||||||
#define _E2_VOC100 4200 //U16 xdata VOC10
|
#define _E2_VOC100 3560 //U16 xdata VOC10
|
||||||
// </h>
|
// </h>
|
||||||
|
|
||||||
// <h>延时参数及预留容量参数
|
// <h>延时参数及预留容量参数
|
||||||
// <o>设计容量(mAh)
|
// <o>设计容量(mAh)
|
||||||
#define _E2_ulDesignCapacity 4000 //U32 xdata E2ulDesignCapacity
|
#define _E2_ulDesignCapacity 7200 //U32 xdata E2ulDesignCapacity
|
||||||
// <o>满充容量(mAh)
|
// <o>满充容量(mAh)
|
||||||
#define _E2_ulFCC 4000 //U32 xdata E2ulFCC
|
#define _E2_ulFCC 6500 //U32 xdata E2ulFCC
|
||||||
// <o>循环次数更新阈值
|
// <o>循环次数更新阈值
|
||||||
#define _E2_ulCycleThreshold 3000 // U32 xdata E2ulCycleThreshold
|
#define _E2_ulCycleThreshold 6000 // U32 xdata E2ulCycleThreshold
|
||||||
// <o>循环次数
|
// <o>循环次数
|
||||||
#define _E2_uiCycleCount 0 // U16 xdata E2uiCycleCount
|
#define _E2_uiCycleCount 0 // U16 xdata E2uiCycleCount
|
||||||
// <o>容量学习温度
|
// <o>容量学习温度
|
||||||
#define _E2_uiLearnLowTempe 2881 // U16 xdata E2uiLearnLowTempe
|
#define _E2_uiLearnLowTempe 2881 // U16 xdata E2uiLearnLowTempe
|
||||||
#define _E2_Reserve 0 // U16 xdata E2Reserve 预留占位
|
#define _E2_Reserve 0 // U16 xdata E2Reserve 预留占位
|
||||||
// <o>充放电检测阈值
|
// <o>充放电检测阈值
|
||||||
#define _E2_siDfilterCur 100 // U16 xdata E2siDfilterCur
|
#define _E2_siDfilterCur 50 // U16 xdata E2siDfilterCur
|
||||||
// <o>低功耗检测延时
|
// <o>低功耗检测延时
|
||||||
#define _E2_ucLowPowerDeley 20 // U16 xdata E2ucLowPowerDeley
|
#define _E2_ucLowPowerDeley 20 // U16 xdata E2ucLowPowerDeley
|
||||||
// <o>充电备份检测延时
|
// <o>充电备份检测延时
|
||||||
|
@ -104,9 +105,9 @@ V0.0 2014/09/10 Preliminary
|
||||||
// <o>设备ID<0x00-0xff>
|
// <o>设备ID<0x00-0xff>
|
||||||
#define _E2_ID 0x00 // U8 xdata ID
|
#define _E2_ID 0x00 // U8 xdata ID
|
||||||
// <s.12>制造商名称
|
// <s.12>制造商名称
|
||||||
#define _E2_MNFName "sinowealth" // U8 xdata MNFName[12]
|
#define _E2_MNFName "Cerlink" // U8 xdata MNFName[12]
|
||||||
// <o> 生产日期(exp:0x20230404=2023.04.04)<0x00000000-0xffffffff>
|
// <o> 生产日期(exp:0x20230404=2023.04.04)<0x00000000-0xffffffff>
|
||||||
#define _E2_MNFDate 0x20231222 // U32 xdata MNFDate
|
#define _E2_MNFDate 0x20250212 // U32 xdata MNFDate
|
||||||
// <o>序列号<0x0000-0xffff>
|
// <o>序列号<0x0000-0xffff>
|
||||||
#define _E2_SerialNum 0x0000 // U16 xdata SerialNum
|
#define _E2_SerialNum 0x0000 // U16 xdata SerialNum
|
||||||
// <s.12>设备名称
|
// <s.12>设备名称
|
||||||
|
@ -120,31 +121,31 @@ V0.0 2014/09/10 Preliminary
|
||||||
|
|
||||||
// <h>充电参数(SubClassID=0x02 length=18)
|
// <h>充电参数(SubClassID=0x02 length=18)
|
||||||
// <o>过压保护阈值
|
// <o>过压保护阈值
|
||||||
#define _E2_uiOVvol 4250 // U16 xdata E2uiOVvol
|
#define _E2_uiOVvol 3600 // U16 xdata E2uiOVvol
|
||||||
// <o>过压保护恢复阈值
|
// <o>过压保护恢复阈值
|
||||||
#define _E2_uiOVRvol 4150 // U16 xdata E2uiOVRvol
|
#define _E2_uiOVRvol 3400 // U16 xdata E2uiOVRvol
|
||||||
// <o>过压保护延时
|
// <o>过压保护延时S
|
||||||
#define _E2_ucDelayOV 2 // U8 xdata E2ucDelayOV
|
#define _E2_ucDelayOV 2 // U8 xdata E2ucDelayOV
|
||||||
// <o>过压保护恢复延时
|
// <o>过压保护恢复延时S
|
||||||
#define _E2_ucDelayOVR 2 // U8 xdata E2ucDelayOVR
|
#define _E2_ucDelayOVR 2 // U8 xdata E2ucDelayOVR
|
||||||
// <o>充电截止电压(mV)
|
// <o>充电截止电压(mV)
|
||||||
#define _E2_uiChgEndVol 4160 // U16 xdata E2uiChgEndVol
|
#define _E2_uiChgEndVol 3500 // U16 xdata E2uiChgEndVol
|
||||||
// <o>充电截止电流(mA)
|
// <o>充电截止电流(mA)
|
||||||
#define _E2_siChgEndCurr 100 // S16 xdata E2siChgEndCurr
|
#define _E2_siChgEndCurr 100 // S16 xdata E2siChgEndCurr
|
||||||
// <o>充电截止延时(S)
|
// <o>充电截止延时(S)
|
||||||
#define _E2_ucChgEndDelay 5 // U8 xdata E2ucChgEndDelay
|
#define _E2_ucChgEndDelay 5 // U8 xdata E2ucChgEndDelay
|
||||||
// <o>充电过流保护阈值
|
// <o>充电过流保护阈值
|
||||||
#define _E2_slOCCvol 3000 // U32 xdata E2slOCCvol
|
#define _E2_slOCCvol 25000 // U32 xdata E2slOCCvol
|
||||||
// <o>充电过流保护延时
|
// <o>充电过流保护延时S
|
||||||
#define _E2_ucDelayOCC 2 // U8 xdata E2ucDelayOCC
|
#define _E2_ucDelayOCC 2 // U8 xdata E2ucDelayOCC
|
||||||
// <o>充电过流保护恢复延时
|
// <o>充电过流保护恢复延时S
|
||||||
#define _E2_ucDelayOCCR 2 // U8 xdata E2ucDelayOCCR
|
#define _E2_ucDelayOCCR 60 // U8 xdata E2ucDelayOCCR
|
||||||
#define _E2_ucRamCheckFlg2 _RAM_CHECK_DATA // U8 xdata E2ucRamCheckFlg2
|
#define _E2_ucRamCheckFlg2 _RAM_CHECK_DATA // U8 xdata E2ucRamCheckFlg2
|
||||||
// </h>
|
// </h>
|
||||||
|
|
||||||
// <h>放电参数(SubClassID=0x03 length=21)
|
// <h>放电参数(SubClassID=0x03 length=21)
|
||||||
// <o>欠压保护电压
|
// <o>欠压保护电压
|
||||||
#define _E2_uiUVvol 2700 // U16 xdata E2uiUVvol
|
#define _E2_uiUVvol 2600 // U16 xdata E2uiUVvol
|
||||||
// <o>欠压保护恢复电压
|
// <o>欠压保护恢复电压
|
||||||
#define _E2_uiUVRvol 3000 // U16 xdata E2uiUVRvol
|
#define _E2_uiUVRvol 3000 // U16 xdata E2uiUVRvol
|
||||||
// <o>欠压保护延时
|
// <o>欠压保护延时
|
||||||
|
@ -154,14 +155,14 @@ V0.0 2014/09/10 Preliminary
|
||||||
// <o>放电截止延时(S)
|
// <o>放电截止延时(S)
|
||||||
#define _E2_ucDsgEndDelay 5 // U8 xdata E2ucDsgEndDelay
|
#define _E2_ucDsgEndDelay 5 // U8 xdata E2ucDsgEndDelay
|
||||||
// <o>放电截止电压(mV)
|
// <o>放电截止电压(mV)
|
||||||
#define _E2_uiDsgEndVol 2900 // U16 xdata E2uiDsgEndVol
|
#define _E2_uiDsgEndVol 2700 // U16 xdata E2uiDsgEndVol
|
||||||
// <o>放电过流1保护阈值
|
// <o>放电过流1保护阈值
|
||||||
#define _E2_uiOCDvol -20000 //U32 xdata E2uiOCDvol
|
#define _E2_uiOCDvol -20000 //U32 xdata E2uiOCDvol
|
||||||
// <o>放电过流1保护延时
|
// <o>放电过流1保护延时s
|
||||||
#define _E2_ucDelayOCD 2 //U8 xdata E2ucDelayOCD
|
#define _E2_ucDelayOCD 2 //U8 xdata E2ucDelayOCD
|
||||||
// <o>放电过流2保护阈值
|
// <o>放电过流2保护阈值
|
||||||
#define _E2_slOCD2vol -40000 // S32 xdata E2slOCD2vol
|
#define _E2_slOCD2vol -40000 // S32 xdata E2slOCD2vol
|
||||||
// <o>放电过流2保护延时
|
// <o>放电过流2保护延时125mS
|
||||||
#define _E2_ucDelayOCD2 2 //U8 xdata E2ucDelayOCD2
|
#define _E2_ucDelayOCD2 2 //U8 xdata E2ucDelayOCD2
|
||||||
// <o>负载移除检测延时
|
// <o>负载移除检测延时
|
||||||
#define _E2_ucDelayLoadR 4 //U8 xdata E2ucDelayLoadR
|
#define _E2_ucDelayLoadR 4 //U8 xdata E2ucDelayLoadR
|
||||||
|
@ -180,13 +181,13 @@ V0.0 2014/09/10 Preliminary
|
||||||
|
|
||||||
// <h>充电温度保护参数(SubClassID=0x06 length=11)
|
// <h>充电温度保护参数(SubClassID=0x06 length=11)
|
||||||
// <o>充电高温保护温度(_E2_TempOTC=保护温度*10+2731)
|
// <o>充电高温保护温度(_E2_TempOTC=保护温度*10+2731)
|
||||||
#define _E2_TempOTC 3231 // U16 xdata TempOTC
|
#define _E2_TempOTC 3431 // U16 xdata TempOTC
|
||||||
// <o>充电高温保护释放温度(_E2_TempOTCR=释放温度*10+2731)
|
// <o>充电高温保护释放温度(_E2_TempOTCR=释放温度*10+2731)
|
||||||
#define _E2_TempOTCR 3181 // U16 xdata TempOTCR
|
#define _E2_TempOTCR 3331 // U16 xdata TempOTCR
|
||||||
// <o>充电低温保护温度(_E2_TempUTC=保护温度*10+2731)
|
// <o>充电低温保护温度(_E2_TempUTC=保护温度*10+2731)
|
||||||
#define _E2_TempUTC 2731 // U16 xdata TempUTC
|
#define _E2_TempUTC 2531 // U16 xdata TempUTC
|
||||||
// <o>充电低温保护释放温度(_E2_TempUTCR=释放温度*10+2731)
|
// <o>充电低温保护释放温度(_E2_TempUTCR=释放温度*10+2731)
|
||||||
#define _E2_TempUTCR 2781 // U16 xdata TempUTCR
|
#define _E2_TempUTCR 2631 // U16 xdata TempUTCR
|
||||||
// <o>温度保护延时(s)
|
// <o>温度保护延时(s)
|
||||||
#define _E2_DelayOTC 3 // U8 xdata DelayOTC
|
#define _E2_DelayOTC 3 // U8 xdata DelayOTC
|
||||||
// <o>温度保护释放延时(s)
|
// <o>温度保护释放延时(s)
|
||||||
|
@ -198,19 +199,19 @@ V0.0 2014/09/10 Preliminary
|
||||||
// <o>放电高温保护温度(_E2_TempOTC=保护温度*10+2731)
|
// <o>放电高温保护温度(_E2_TempOTC=保护温度*10+2731)
|
||||||
#define _E2_TempOTD 3431 // U16 xdata TempOTD
|
#define _E2_TempOTD 3431 // U16 xdata TempOTD
|
||||||
// <o>放电高温保护释放温度(_E2_TempOTCR=释放温度*10+2731)
|
// <o>放电高温保护释放温度(_E2_TempOTCR=释放温度*10+2731)
|
||||||
#define _E2_TempOTDR 3281 // U16 xdata TempOTDR
|
#define _E2_TempOTDR 3331 // U16 xdata TempOTDR
|
||||||
// <o>放电低温保护温度(_E2_TempUTC=保护温度*10+2731)
|
// <o>放电低温保护温度(_E2_TempUTC=保护温度*10+2731)
|
||||||
#define _E2_TempUTD 2631 // U16 xdata TempUTD
|
#define _E2_TempUTD 2531 // U16 xdata TempUTD
|
||||||
// <o>放电低温保护释放温度(_E2_TempUTCR=释放温度*10+2731)
|
// <o>放电低温保护释放温度(_E2_TempUTCR=释放温度*10+2731)
|
||||||
#define _E2_TempUTDR 2681 // U16 xdata TempUTDR
|
#define _E2_TempUTDR 2631 // U16 xdata TempUTDR
|
||||||
#define _E2_ucRamCheckFlg7 _RAM_CHECK_DATA // U8 xdata E2ucRamCheckFlg6
|
#define _E2_ucRamCheckFlg7 _RAM_CHECK_DATA // U8 xdata E2ucRamCheckFlg6
|
||||||
// </h>
|
// </h>
|
||||||
|
|
||||||
// <h>平衡参数(SubClassID=0x08 length=8)
|
// <h>平衡参数(SubClassID=0x08 length=8)
|
||||||
// <o>平衡电压(mV)
|
// <o>平衡电压(mV)
|
||||||
#define _E2_BalanceVol 4180 // U16 xdata BalanceVol
|
#define _E2_BalanceVol 3000 // U16 xdata BalanceVol
|
||||||
// <o>平衡压差(mV)
|
// <o>平衡压差(mV)
|
||||||
#define _E2_BalanceVolDiff 20 // U16 xdata BalanceVolDiff
|
#define _E2_BalanceVolDiff 10 // U16 xdata BalanceVolDiff
|
||||||
// <o>平衡电流(mA)
|
// <o>平衡电流(mA)
|
||||||
#define _E2_BalCurrent 100 // S16 xdata BalCurrent
|
#define _E2_BalCurrent 100 // S16 xdata BalCurrent
|
||||||
// <o>平衡检测延时(S)
|
// <o>平衡检测延时(S)
|
||||||
|
@ -246,9 +247,9 @@ V0.0 2014/09/10 Preliminary
|
||||||
// <o>电压校准增益
|
// <o>电压校准增益
|
||||||
#define _E2_uiVPackGain 2594 // U16 xdata E2uiVPackGain
|
#define _E2_uiVPackGain 2594 // U16 xdata E2uiVPackGain
|
||||||
// <o>电流校准增益
|
// <o>电流校准增益
|
||||||
#define _E2_siCadcGain -82 // S16 xdata E2siCadcGain
|
#define _E2_siCadcGain -89 // S16 xdata E2siCadcGain
|
||||||
// <o>电流零漂
|
// <o>电流零漂
|
||||||
#define _E2_siCadcOffset 1 // S16 xdata E2siCadcOffset
|
#define _E2_siCadcOffset 4 // S16 xdata E2siCadcOffset
|
||||||
// <o>外部温度零漂(TS0)
|
// <o>外部温度零漂(TS0)
|
||||||
#define _E2_siTS0Offset 0 // S16 xdata E2siTS0Offset
|
#define _E2_siTS0Offset 0 // S16 xdata E2siTS0Offset
|
||||||
// <o>外部温度零漂(TS1)
|
// <o>外部温度零漂(TS1)
|
||||||
|
|
|
@ -173,31 +173,31 @@ void GasGaugeVarIn(void)
|
||||||
E2ui_CYCLECOUNTC = 400;
|
E2ui_CYCLECOUNTC = 400;
|
||||||
E2uiUpdateCycleCount = 75;
|
E2uiUpdateCycleCount = 75;
|
||||||
|
|
||||||
//
|
|
||||||
// if( bOV )
|
if( bOV )
|
||||||
// {
|
{
|
||||||
// E2ucSOC = 100;
|
E2ucSOC = 100;
|
||||||
// E2ulDfRC = E2ulFCC;
|
E2ulDfRC = E2ulFCC;
|
||||||
//
|
|
||||||
// Info_uiRSOC = 100;
|
Info_uiRSOC = 100;
|
||||||
// Info_ulRC = E2ulFCC;
|
Info_ulRC = E2ulFCC;
|
||||||
//
|
|
||||||
// Info.uiRSOC = 100;
|
Info.uiRSOC = 100;
|
||||||
// Info.ulRC = E2ulFCC;
|
Info.ulRC = E2ulFCC;
|
||||||
// }
|
}
|
||||||
//
|
|
||||||
//
|
|
||||||
// if( bUV )
|
if( bUV )
|
||||||
// {
|
{
|
||||||
// E2ucSOC = 0;
|
E2ucSOC = 0;
|
||||||
// E2ulDfRC = 0;
|
E2ulDfRC = 0;
|
||||||
//
|
|
||||||
// Info_uiRSOC = 0;
|
Info_uiRSOC = 0;
|
||||||
// Info_ulRC = 0;
|
Info_ulRC = 0;
|
||||||
//
|
|
||||||
// Info.uiRSOC = 0;
|
Info.uiRSOC = 0;
|
||||||
// Info.ulRC = 0;
|
Info.ulRC = 0;
|
||||||
// }
|
}
|
||||||
//}
|
//}
|
||||||
// bAFE_SC = bSC;
|
// bAFE_SC = bSC;
|
||||||
}
|
}
|
||||||
|
@ -223,30 +223,30 @@ void GasGaugeVarOut(void)
|
||||||
bFD = E2ucDsgEndFlg;
|
bFD = E2ucDsgEndFlg;
|
||||||
EA = eabak;
|
EA = eabak;
|
||||||
|
|
||||||
// if( bOV )
|
if( bOV )
|
||||||
// {
|
{
|
||||||
// E2ucSOC = 100;
|
E2ucSOC = 100;
|
||||||
// E2ulDfRC = E2ulFCC;
|
E2ulDfRC = E2ulFCC;
|
||||||
//
|
|
||||||
// Info_uiRSOC = 100;
|
Info_uiRSOC = 100;
|
||||||
// Info_ulRC = E2ulFCC;
|
Info_ulRC = E2ulFCC;
|
||||||
//
|
|
||||||
// Info.uiRSOC = 100;
|
Info.uiRSOC = 100;
|
||||||
// Info.ulRC = E2ulFCC;
|
Info.ulRC = E2ulFCC;
|
||||||
// }
|
}
|
||||||
//
|
|
||||||
//
|
|
||||||
// if( bUV )
|
if( bUV )
|
||||||
// {
|
{
|
||||||
// E2ucSOC = 0;
|
E2ucSOC = 0;
|
||||||
// E2ulDfRC = 0;
|
E2ulDfRC = 0;
|
||||||
//
|
|
||||||
// Info_uiRSOC = 0;
|
Info_uiRSOC = 0;
|
||||||
// Info_ulRC = 0;
|
Info_ulRC = 0;
|
||||||
//
|
|
||||||
// Info.uiRSOC = 0;
|
Info.uiRSOC = 0;
|
||||||
// Info.ulRC = 0;
|
Info.ulRC = 0;
|
||||||
// }
|
}
|
||||||
//}
|
//}
|
||||||
// bAFE_SC = bSC;
|
// bAFE_SC = bSC;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 AFE 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 AFE 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE AFE
|
C51 COMPILER V9.01, COMPILATION OF MODULE AFE
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 3 ucAfeI2CErrDelayCnt = TIME_1S_5S;
|
50 3 ucAfeI2CErrDelayCnt = TIME_1S_5S;
|
||||||
51 3 }
|
51 3 }
|
||||||
52 2 }
|
52 2 }
|
||||||
C51 COMPILER V9.01 AFE 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 AFE 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
53 1 else
|
53 1 else
|
||||||
54 1 {
|
54 1 {
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 2 }
|
112 2 }
|
||||||
113 1 bAfeI2CRWErrFlg = !Result; //标记通讯是否正常
|
113 1 bAfeI2CRWErrFlg = !Result; //标记通讯是否正常
|
||||||
114 1
|
114 1
|
||||||
C51 COMPILER V9.01 AFE 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 AFE 02/13/2025 10:07:27 PAGE 3
|
||||||
|
|
||||||
115 1 return Result;
|
115 1 return Result;
|
||||||
116 1 }
|
116 1 }
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
174 3 AFEWriteReg(AFE_SCONF1, 1, ®.AFESCONF1);
|
174 3 AFEWriteReg(AFE_SCONF1, 1, ®.AFESCONF1);
|
||||||
175 3 }
|
175 3 }
|
||||||
176 2 }
|
176 2 }
|
||||||
C51 COMPILER V9.01 AFE 02/11/2025 15:43:03 PAGE 4
|
C51 COMPILER V9.01 AFE 02/13/2025 10:07:27 PAGE 4
|
||||||
|
|
||||||
177 1 }
|
177 1 }
|
||||||
178
|
178
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
233 1 {
|
233 1 {
|
||||||
234 2 if( AFEWriteReg(AFE_INT_EN, 11, ®.AFEINTEN))
|
234 2 if( AFEWriteReg(AFE_INT_EN, 11, ®.AFEINTEN))
|
||||||
235 2 {
|
235 2 {
|
||||||
C51 COMPILER V9.01 AFE 02/11/2025 15:43:03 PAGE 5
|
C51 COMPILER V9.01 AFE 02/13/2025 10:07:27 PAGE 5
|
||||||
|
|
||||||
236 3 for(i=3; i<=11; i=i+2)
|
236 3 for(i=3; i<=11; i=i+2)
|
||||||
237 3 {
|
237 3 {
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
295 2
|
295 2
|
||||||
296 2 if((REG.AFEFLAG2&0x04) != 0) //判断FLAG2的bit2是否为1,如为1则表示AFE发生过LVR,需<EFBC8C>
|
296 2 if((REG.AFEFLAG2&0x04) != 0) //判断FLAG2的bit2是否为1,如为1则表示AFE发生过LVR,需<EFBC8C>
|
||||||
-<2D>匦鲁跏蓟疉FE寄存器
|
-<2D>匦鲁跏蓟疉FE寄存器
|
||||||
C51 COMPILER V9.01 AFE 02/11/2025 15:43:03 PAGE 6
|
C51 COMPILER V9.01 AFE 02/13/2025 10:07:27 PAGE 6
|
||||||
|
|
||||||
297 2 {
|
297 2 {
|
||||||
298 3 AFEInit();
|
298 3 AFEInit();
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
356 void AFEEnterPD(void)
|
356 void AFEEnterPD(void)
|
||||||
357 {
|
357 {
|
||||||
358 1 REG.AFESCONF10 = 0x33;
|
358 1 REG.AFESCONF10 = 0x33;
|
||||||
C51 COMPILER V9.01 AFE 02/11/2025 15:43:03 PAGE 7
|
C51 COMPILER V9.01 AFE 02/13/2025 10:07:27 PAGE 7
|
||||||
|
|
||||||
359 1 if(AFEWriteReg(AFE_SCONF10, 1, ®.AFESCONF10))
|
359 1 if(AFEWriteReg(AFE_SCONF10, 1, ®.AFESCONF10))
|
||||||
360 1 {
|
360 1 {
|
||||||
|
@ -446,7 +446,7 @@ line level source
|
||||||
418 * 参 数: BalChTemp:平衡对应的CELL,如果全部为0,则关闭平衡
|
418 * 参 数: BalChTemp:平衡对应的CELL,如果全部为0,则关闭平衡
|
||||||
419 * 返回值: 无
|
419 * 返回值: 无
|
||||||
420 * 描 述: 开启和关闭平衡
|
420 * 描 述: 开启和关闭平衡
|
||||||
C51 COMPILER V9.01 AFE 02/11/2025 15:43:03 PAGE 8
|
C51 COMPILER V9.01 AFE 02/13/2025 10:07:27 PAGE 8
|
||||||
|
|
||||||
421 *************************************************************************************************/
|
421 *************************************************************************************************/
|
||||||
422 void AfeBalCtl(U16 BalChTemp)
|
422 void AfeBalCtl(U16 BalChTemp)
|
||||||
|
@ -510,7 +510,7 @@ line level source
|
||||||
480 {
|
480 {
|
||||||
481 1 REG.AFESCONF3 &= ~0xe0;
|
481 1 REG.AFESCONF3 &= ~0xe0;
|
||||||
482 1 AFEWriteReg(AFE_SCONF3, 1, ®.AFESCONF3);
|
482 1 AFEWriteReg(AFE_SCONF3, 1, ®.AFESCONF3);
|
||||||
C51 COMPILER V9.01 AFE 02/11/2025 15:43:03 PAGE 9
|
C51 COMPILER V9.01 AFE 02/13/2025 10:07:27 PAGE 9
|
||||||
|
|
||||||
483 1 }
|
483 1 }
|
||||||
484
|
484
|
||||||
|
|
BIN
output/AFE.obj
BIN
output/AFE.obj
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 BALANCE 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 BALANCE 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE BALANCE
|
C51 COMPILER V9.01, COMPILATION OF MODULE BALANCE
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
47 4 }
|
47 4 }
|
||||||
48 3 else
|
48 3 else
|
||||||
49 3 {
|
49 3 {
|
||||||
C51 COMPILER V9.01 BALANCE 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 BALANCE 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
50 4 if(((uiCellVmax>E2uiBalanceVol) && (uiCellVmax-uiCellVmin)>=E2uiBalanceVolDiff) && (Info.slCurr>=E2
|
50 4 if(((uiCellVmax>E2uiBalanceVol) && (uiCellVmax-uiCellVmin)>=E2uiBalanceVolDiff) && (Info.slCurr>=E2
|
||||||
-siBalCurrent))
|
-siBalCurrent))
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
107 5 bCTOValidFlg = 0;
|
107 5 bCTOValidFlg = 0;
|
||||||
108 5 ucCtoCnt = 0;
|
108 5 ucCtoCnt = 0;
|
||||||
109 5 }
|
109 5 }
|
||||||
C51 COMPILER V9.01 BALANCE 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 BALANCE 02/13/2025 10:07:27 PAGE 3
|
||||||
|
|
||||||
110 4 }
|
110 4 }
|
||||||
111 3 }
|
111 3 }
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
168 3 AfeBalCtl(BalChTemp); //¿ªÆôƽºâ
|
168 3 AfeBalCtl(BalChTemp); //¿ªÆôƽºâ
|
||||||
169 3 ucBalanceStep = BALANCE_START;
|
169 3 ucBalanceStep = BALANCE_START;
|
||||||
170 3 bBalancingFlg = 1;
|
170 3 bBalancingFlg = 1;
|
||||||
C51 COMPILER V9.01 BALANCE 02/11/2025 15:43:03 PAGE 4
|
C51 COMPILER V9.01 BALANCE 02/13/2025 10:07:27 PAGE 4
|
||||||
|
|
||||||
171 3 }
|
171 3 }
|
||||||
172 2 break;
|
172 2 break;
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
230 4 uiBalanceChannel = 0x03ff;
|
230 4 uiBalanceChannel = 0x03ff;
|
||||||
231 4 }
|
231 4 }
|
||||||
232 3 }
|
232 3 }
|
||||||
C51 COMPILER V9.01 BALANCE 02/11/2025 15:43:03 PAGE 5
|
C51 COMPILER V9.01 BALANCE 02/13/2025 10:07:27 PAGE 5
|
||||||
|
|
||||||
233 2 }
|
233 2 }
|
||||||
234 1 }
|
234 1 }
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 BOOTAPP 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 BOOTAPP 02/13/2025 10:07:29 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE BOOTAPP
|
C51 COMPILER V9.01, COMPILATION OF MODULE BOOTAPP
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 BOOTIAP 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 BOOTIAP 02/13/2025 10:07:29 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE BOOTIAP
|
C51 COMPILER V9.01, COMPILATION OF MODULE BOOTIAP
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 0x25,0xF5,0x24,0xF5,0x23,0xE4,0xF5,0x0F,0x30,0x01,0x5E,0x25,0x26,0xF5,0x0E,0xE5, //02D0
|
50 0x25,0xF5,0x24,0xF5,0x23,0xE4,0xF5,0x0F,0x30,0x01,0x5E,0x25,0x26,0xF5,0x0E,0xE5, //02D0
|
||||||
51 0x25,0x34,0x10,0xF5,0x0D,0xE4,0x35,0x24,0xF5,0x0C,0xE4,0x35,0x23,0xF5,0x0B,0xE4, //02E0
|
51 0x25,0x34,0x10,0xF5,0x0D,0xE4,0x35,0x24,0xF5,0x0C,0xE4,0x35,0x23,0xF5,0x0B,0xE4, //02E0
|
||||||
52 0x25,0x2A,0xFF,0xE5,0x29,0x34,0x0C,0xFE,0xE4,0x35,0x28,0xFD,0xE4,0x35,0x27,0xFC, //02F0
|
52 0x25,0x2A,0xFF,0xE5,0x29,0x34,0x0C,0xFE,0xE4,0x35,0x28,0xFD,0xE4,0x35,0x27,0xFC, //02F0
|
||||||
C51 COMPILER V9.01 BOOTIAP 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 BOOTIAP 02/13/2025 10:07:29 PAGE 2
|
||||||
|
|
||||||
53 0xAB,0x0E,0xAA,0x0D,0xA9,0x0C,0xA8,0x0B,0xC3,0x12,0x07,0x18,0x40,0x40,0xE4,0x25, //0300
|
53 0xAB,0x0E,0xAA,0x0D,0xA9,0x0C,0xA8,0x0B,0xC3,0x12,0x07,0x18,0x40,0x40,0xE4,0x25, //0300
|
||||||
54 0x2A,0xFB,0xE5,0x29,0x34,0x0C,0xFA,0xE4,0x35,0x28,0xF9,0xE4,0x35,0x27,0xF8,0xC3, //0310
|
54 0x2A,0xFB,0xE5,0x29,0x34,0x0C,0xFA,0xE4,0x35,0x28,0xF9,0xE4,0x35,0x27,0xF8,0xC3, //0310
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 0x40,0x04,0xEB,0x99,0xFB,0x0F,0xD8,0xE5,0xE4,0xF9,0xFA,0x22,0x78,0x18,0xEF,0x2F, //06B0
|
112 0x40,0x04,0xEB,0x99,0xFB,0x0F,0xD8,0xE5,0xE4,0xF9,0xFA,0x22,0x78,0x18,0xEF,0x2F, //06B0
|
||||||
113 0xFF,0xEE,0x33,0xFE,0xED,0x33,0xFD,0xEC,0x33,0xFC,0xC9,0x33,0xC9,0x10,0xD7,0x05, //06C0
|
113 0xFF,0xEE,0x33,0xFE,0xED,0x33,0xFD,0xEC,0x33,0xFC,0xC9,0x33,0xC9,0x10,0xD7,0x05, //06C0
|
||||||
114 0x9B,0xE9,0x9A,0x40,0x07,0xEC,0x9B,0xFC,0xE9,0x9A,0xF9,0x0F,0xD8,0xE0,0xE4,0xC9, //06D0
|
114 0x9B,0xE9,0x9A,0x40,0x07,0xEC,0x9B,0xFC,0xE9,0x9A,0xF9,0x0F,0xD8,0xE0,0xE4,0xC9, //06D0
|
||||||
C51 COMPILER V9.01 BOOTIAP 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 BOOTIAP 02/13/2025 10:07:29 PAGE 3
|
||||||
|
|
||||||
115 0xFA,0xE4,0xCC,0xFB,0x22,0x75,0xF0,0x10,0xEF,0x2F,0xFF,0xEE,0x33,0xFE,0xED,0x33, //06E0
|
115 0xFA,0xE4,0xCC,0xFB,0x22,0x75,0xF0,0x10,0xEF,0x2F,0xFF,0xEE,0x33,0xFE,0xED,0x33, //06E0
|
||||||
116 0xFD,0xCC,0x33,0xCC,0xC8,0x33,0xC8,0x10,0xD7,0x07,0x9B,0xEC,0x9A,0xE8,0x99,0x40, //06F0
|
116 0xFD,0xCC,0x33,0xCC,0xC8,0x33,0xC8,0x10,0xD7,0x07,0x9B,0xEC,0x9A,0xE8,0x99,0x40, //06F0
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
174 0x25,0x2B,0xF5,0x82,0xE4,0x34,0x02,0xF5,0x83,0xE0,0xF5,0x99,0x22,0xE4,0xF5,0x2B, //0A90
|
174 0x25,0x2B,0xF5,0x82,0xE4,0x34,0x02,0xF5,0x83,0xE0,0xF5,0x99,0x22,0xE4,0xF5,0x2B, //0A90
|
||||||
175 0x90,0x02,0x02,0xE0,0xFD,0x24,0x08,0xF5,0x82,0xE4,0x34,0x02,0xF5,0x83,0xE0,0xFE, //0AA0
|
175 0x90,0x02,0x02,0xE0,0xFD,0x24,0x08,0xF5,0x82,0xE4,0x34,0x02,0xF5,0x83,0xE0,0xFE, //0AA0
|
||||||
176 0x74,0x07,0x2D,0xF5,0x82,0xE4,0x34,0x02,0xF5,0x83,0xE0,0x7C,0x00,0x24,0x00,0xFF, //0AB0
|
176 0x74,0x07,0x2D,0xF5,0x82,0xE4,0x34,0x02,0xF5,0x83,0xE0,0x7C,0x00,0x24,0x00,0xFF, //0AB0
|
||||||
C51 COMPILER V9.01 BOOTIAP 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 BOOTIAP 02/13/2025 10:07:29 PAGE 4
|
||||||
|
|
||||||
177 0xEC,0x3E,0xFE,0xEF,0x65,0x32,0x70,0x03,0xEE,0x65,0x31,0x60,0x03,0x43,0x22,0x80, //0AC0
|
177 0xEC,0x3E,0xFE,0xEF,0x65,0x32,0x70,0x03,0xEE,0x65,0x31,0x60,0x03,0x43,0x22,0x80, //0AC0
|
||||||
178 0xE5,0x22,0x60,0x06,0x90,0x02,0x06,0xF0,0x80,0x38,0x90,0x02,0x05,0xE0,0xFE,0xB4, //0AD0
|
178 0xE5,0x22,0x60,0x06,0x90,0x02,0x06,0xF0,0x80,0x38,0x90,0x02,0x05,0xE0,0xFE,0xB4, //0AD0
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
236 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0E70
|
236 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0E70
|
||||||
237 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0E80
|
237 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0E80
|
||||||
238 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0E90
|
238 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0E90
|
||||||
C51 COMPILER V9.01 BOOTIAP 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 BOOTIAP 02/13/2025 10:07:29 PAGE 5
|
||||||
|
|
||||||
239 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0EA0
|
239 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0EA0
|
||||||
240 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0EB0
|
240 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //0EB0
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 CALCULATE 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 CALCULATE 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE CALCULATE
|
C51 COMPILER V9.01, COMPILATION OF MODULE CALCULATE
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
49 2 if(Tempcalcu > NTC103AT[i])
|
49 2 if(Tempcalcu > NTC103AT[i])
|
||||||
50 2 {
|
50 2 {
|
||||||
51 3 for(i=ucTempeMiddle-1; i>=0; i--)
|
51 3 for(i=ucTempeMiddle-1; i>=0; i--)
|
||||||
C51 COMPILER V9.01 CALCULATE 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 CALCULATE 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
52 3 {
|
52 3 {
|
||||||
53 4 if(Tempcalcu <= NTC103AT[i]) //NTC103AT[i+1]<resis<NTC103AT[i]
|
53 4 if(Tempcalcu <= NTC103AT[i]) //NTC103AT[i+1]<resis<NTC103AT[i]
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
111 2 }
|
111 2 }
|
||||||
112 1 if(!AFEReadReg(AFE_TS2H, 2, (U8 xdata *)&AFE.uiTS[1]))
|
112 1 if(!AFEReadReg(AFE_TS2H, 2, (U8 xdata *)&AFE.uiTS[1]))
|
||||||
113 1 {
|
113 1 {
|
||||||
C51 COMPILER V9.01 CALCULATE 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 CALCULATE 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
114 2 Result = 0;
|
114 2 Result = 0;
|
||||||
115 2 }
|
115 2 }
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
IrqUart2Dis();
|
IrqUart2Dis();
|
||||||
#endif
|
#endif
|
||||||
175 2 Info.uiICTempe[0] = TempeData;
|
175 2 Info.uiICTempe[0] = TempeData;
|
||||||
C51 COMPILER V9.01 CALCULATE 02/11/2025 15:43:03 PAGE 4
|
C51 COMPILER V9.01 CALCULATE 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
176 2
|
176 2
|
||||||
177 2 #if (UART0_DEFINE != 0)
|
177 2 #if (UART0_DEFINE != 0)
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
235 3
|
235 3
|
||||||
236 3 if(TempeData < uiTempeMin)
|
236 3 if(TempeData < uiTempeMin)
|
||||||
237 3 {
|
237 3 {
|
||||||
C51 COMPILER V9.01 CALCULATE 02/11/2025 15:43:03 PAGE 5
|
C51 COMPILER V9.01 CALCULATE 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
238 4 uiTempeMin = TempeData;
|
238 4 uiTempeMin = TempeData;
|
||||||
239 4 }
|
239 4 }
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
IrqUart2En(); //初始化UART2中断使能,根据具体使用UART模块来进行选择
|
IrqUart2En(); //初始化UART2中断使能,根据具体使用UART模块来进行选择
|
||||||
#endif
|
#endif
|
||||||
299 4 TempPackVol += TempCellVol;
|
299 4 TempPackVol += TempCellVol;
|
||||||
C51 COMPILER V9.01 CALCULATE 02/11/2025 15:43:03 PAGE 6
|
C51 COMPILER V9.01 CALCULATE 02/13/2025 10:07:28 PAGE 6
|
||||||
|
|
||||||
300 4 }
|
300 4 }
|
||||||
301 3 }
|
301 3 }
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
359 3 siCadcTempOffset = siCurTempOffset[1][i];
|
359 3 siCadcTempOffset = siCurTempOffset[1][i];
|
||||||
360 3 break;
|
360 3 break;
|
||||||
361 3 }
|
361 3 }
|
||||||
C51 COMPILER V9.01 CALCULATE 02/11/2025 15:43:03 PAGE 7
|
C51 COMPILER V9.01 CALCULATE 02/13/2025 10:07:28 PAGE 7
|
||||||
|
|
||||||
362 2 }
|
362 2 }
|
||||||
363 1 return siCadcTempOffset;
|
363 1 return siCadcTempOffset;
|
||||||
|
@ -446,7 +446,7 @@ line level source
|
||||||
IrqUart2En(); //初始化UART2中断使能,根据具体使用UART模块来进行选择
|
IrqUart2En(); //初始化UART2中断使能,根据具体使用UART模块来进行选择
|
||||||
#endif
|
#endif
|
||||||
423 3 }
|
423 3 }
|
||||||
C51 COMPILER V9.01 CALCULATE 02/11/2025 15:43:03 PAGE 8
|
C51 COMPILER V9.01 CALCULATE 02/13/2025 10:07:28 PAGE 8
|
||||||
|
|
||||||
424 2 }
|
424 2 }
|
||||||
425 1 else if(slCadcCurAverage > E2siDfilterCur)
|
425 1 else if(slCadcCurAverage > E2siDfilterCur)
|
||||||
|
@ -510,7 +510,7 @@ line level source
|
||||||
483 *************************************************************************************************/
|
483 *************************************************************************************************/
|
||||||
484 void AFEInfoProcess(void)
|
484 void AFEInfoProcess(void)
|
||||||
485 {
|
485 {
|
||||||
C51 COMPILER V9.01 CALCULATE 02/11/2025 15:43:03 PAGE 9
|
C51 COMPILER V9.01 CALCULATE 02/13/2025 10:07:28 PAGE 9
|
||||||
|
|
||||||
486 1 AFERdFlg();
|
486 1 AFERdFlg();
|
||||||
487 1
|
487 1
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 CALIBRATE 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 CALIBRATE 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE CALIBRATE
|
C51 COMPILER V9.01, COMPILATION OF MODULE CALIBRATE
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 1 TempGain = (S32)CALICUR*(AFE.siCurr-E2siCadcOffset)/slExtCur;
|
50 1 TempGain = (S32)CALICUR*(AFE.siCurr-E2siCadcOffset)/slExtCur;
|
||||||
51 1 if(TempGain != 0)
|
51 1 if(TempGain != 0)
|
||||||
52 1 {
|
52 1 {
|
||||||
C51 COMPILER V9.01 CALIBRATE 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 CALIBRATE 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
53 2 E2siCadcGain = TempGain;
|
53 2 E2siCadcGain = TempGain;
|
||||||
54 2 }
|
54 2 }
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 1 RTC.Month = ucExtRTC[4];
|
112 1 RTC.Month = ucExtRTC[4];
|
||||||
113 1 RTC.Year = ucExtRTC[5];
|
113 1 RTC.Year = ucExtRTC[5];
|
||||||
114 1 RTC.Week = ucExtRTC[6];
|
114 1 RTC.Week = ucExtRTC[6];
|
||||||
C51 COMPILER V9.01 CALIBRATE 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 CALIBRATE 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
115 1
|
115 1
|
||||||
116 1 RTCModifyTime(&RTC);
|
116 1 RTCModifyTime(&RTC);
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
174
|
174
|
||||||
175
|
175
|
||||||
|
|
||||||
C51 COMPILER V9.01 CALIBRATE 02/11/2025 15:43:03 PAGE 4
|
C51 COMPILER V9.01 CALIBRATE 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
|
|
||||||
MODULE INFORMATION: STATIC OVERLAYABLE
|
MODULE INFORMATION: STATIC OVERLAYABLE
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 CHARGERLOAD 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 CHARGERLOAD 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE CHARGERLOAD
|
C51 COMPILER V9.01, COMPILATION OF MODULE CHARGERLOAD
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 4 bOCD2 = 0;
|
50 4 bOCD2 = 0;
|
||||||
51 4 if(bAFE_SC)
|
51 4 if(bAFE_SC)
|
||||||
52 4 {
|
52 4 {
|
||||||
C51 COMPILER V9.01 CHARGERLOAD 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 CHARGERLOAD 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
53 5 bAFE_SC = 0;
|
53 5 bAFE_SC = 0;
|
||||||
54 5 AFEClrFlg(); //헌뇜똬쨌괏빱깃羚
|
54 5 AFEClrFlg(); //헌뇜똬쨌괏빱깃羚
|
||||||
|
|
Binary file not shown.
1272
output/DataFlash.lst
1272
output/DataFlash.lst
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
output/Eeprom
BIN
output/Eeprom
Binary file not shown.
|
@ -1,16 +1,16 @@
|
||||||
:100000003F010C800D480DDE0E740ED80F3C0FA082
|
:100000003F010C4E0C800CAD0CDA0D070D340D6168
|
||||||
:1000100010041036106800000FA000000FA00000B0
|
:100010000D8E0DBB0DE800001C20000019640000CF
|
||||||
:100020000BB800000B410000006414010064055A85
|
:10002000177000000B410000003214010064055AF3
|
||||||
:10003000021501300073696E6F7765616C7468003A
|
:1000300002150130004365726C696E6B00000000B0
|
||||||
:100040000020231222000053483339463030330059
|
:100040000020250212000053483339463030330077
|
||||||
:100050000000004C494F4E0000000000000000006E
|
:100050000000004C494F4E0000000000000000006E
|
||||||
:10006000005A109A10360202104000640500000B7E
|
:10006000005A0E100D4802020DAC0064050000613C
|
||||||
:10007000B802025A0A8C0BB802020B5405FFFFB1FA
|
:10007000A8023C5A0A280BB802020A8C05FFFFB1FD
|
||||||
:10008000E002FFFF63C002045A0FA01E465A0C9FF5
|
:10008000E002FFFF63C002045A0FA01E465A0D672C
|
||||||
:100090000C6D0AAB0ADD03035A0D670CD10A470A3F
|
:100090000D0309E30A4703035A0D670D0309E30A39
|
||||||
:1000A000795A105400140064025A6400000BB8FF1F
|
:1000A000475A0BB8000A0064025A6400000BB8FFFC
|
||||||
:1000B000FFEC78000000000000005A7411305A0A6A
|
:1000B000FFEC78000000000000005A7411305A0A6A
|
||||||
:1000C00022FFAE000100000000005A000000000006
|
:1000C00022FFA7000400000000005A00000000000A
|
||||||
:1000D0000000000000000000000000000000000020
|
:1000D0000000000000000000000000000000000020
|
||||||
:1000E0000000000000000000000000000000000010
|
:1000E0000000000000000000000000000000000010
|
||||||
:1000F0000000000000000000000000000000000000
|
:1000F0000000000000000000000000000000000000
|
||||||
|
@ -30,19 +30,19 @@
|
||||||
:1001D000000000000000000000000000000000001F
|
:1001D000000000000000000000000000000000001F
|
||||||
:1001E000000000000000000000000000000000000F
|
:1001E000000000000000000000000000000000000F
|
||||||
:1001F00000000000000000000000000000005AA500
|
:1001F00000000000000000000000000000005AA500
|
||||||
:100200003F010C800D480DDE0E740ED80F3C0FA080
|
:100200003F010C4E0C800CAD0CDA0D070D340D6166
|
||||||
:1002100010041036106800000FA000000FA00000AE
|
:100210000D8E0DBB0DE800001C20000019640000CD
|
||||||
:100220000BB800000B410000006414010064055A83
|
:10022000177000000B410000003214010064055AF1
|
||||||
:10023000021501300073696E6F7765616C74680038
|
:1002300002150130004365726C696E6B00000000AE
|
||||||
:100240000020231222000053483339463030330057
|
:100240000020250212000053483339463030330075
|
||||||
:100250000000004C494F4E0000000000000000006C
|
:100250000000004C494F4E0000000000000000006C
|
||||||
:10026000005A109A10360202104000640500000B7C
|
:10026000005A0E100D4802020DAC0064050000613A
|
||||||
:10027000B802025A0A8C0BB802020B5405FFFFB1F8
|
:10027000A8023C5A0A280BB802020A8C05FFFFB1FB
|
||||||
:10028000E002FFFF63C002045A0FA01E465A0C9FF3
|
:10028000E002FFFF63C002045A0FA01E465A0D672A
|
||||||
:100290000C6D0AAB0ADD03035A0D670CD10A470A3D
|
:100290000D0309E30A4703035A0D670D0309E30A37
|
||||||
:1002A000795A105400140064025A6400000BB8FF1D
|
:1002A000475A0BB8000A0064025A6400000BB8FFFA
|
||||||
:1002B000FFEC78000000000000005A7411305A0A68
|
:1002B000FFEC78000000000000005A7411305A0A68
|
||||||
:1002C00022FFAE000100000000005A000000000004
|
:1002C00022FFA7000400000000005A000000000008
|
||||||
:1002D000000000000000000000000000000000001E
|
:1002D000000000000000000000000000000000001E
|
||||||
:1002E000000000000000000000000000000000000E
|
:1002E000000000000000000000000000000000000E
|
||||||
:1002F00000000000000000000000000000000000FE
|
:1002F00000000000000000000000000000000000FE
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
BL51 BANKED LINKER/LOCATER V6.22 02/11/2025 15:43:01 PAGE 1
|
BL51 BANKED LINKER/LOCATER V6.22 02/13/2025 10:09:51 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
|
BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
Build target 'EEPROM'
|
<html>
|
||||||
compiling DataFlash.c...
|
<body>
|
||||||
linking...
|
<pre>
|
||||||
*** WARNING L10: CANNOT DETERMINE ROOT SEGMENT
|
<h1>µVision Build Log</h1>
|
||||||
Program Size: data=0.0 xdata=0 code=1024
|
<h2>Project:</h2>
|
||||||
creating hex file from ".\output\Eeprom"...
|
E:\Y\keil\ZDBMS\ZDBMS\MCUCore.uvproj
|
||||||
".\output\Eeprom" - 0 Error(s), 1 Warning(s).
|
Project File Date: 01/23/2025
|
||||||
|
|
||||||
|
<h2>Output:</h2>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE EXTE2PROM
|
C51 COMPILER V9.01, COMPILATION OF MODULE EXTE2PROM
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
49 3 if(++ucE2PTwiRWErrDelayCnt >= TIME_1S_5S)
|
49 3 if(++ucE2PTwiRWErrDelayCnt >= TIME_1S_5S)
|
||||||
50 3 {
|
50 3 {
|
||||||
51 4 bE2PRErr = 1;
|
51 4 bE2PRErr = 1;
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
52 4 ucE2PTwiRWErrDelayCnt = TIME_1S_5S;
|
52 4 ucE2PTwiRWErrDelayCnt = TIME_1S_5S;
|
||||||
53 4 }
|
53 4 }
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
111 1 if(!bE2PRErr)
|
111 1 if(!bE2PRErr)
|
||||||
112 1 {
|
112 1 {
|
||||||
113 2 for(i=0; i<5; i++)
|
113 2 for(i=0; i<5; i++)
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
114 2 {
|
114 2 {
|
||||||
115 3 #ifdef TWI_Hardware_Module
|
115 3 #ifdef TWI_Hardware_Module
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
173 1
|
173 1
|
||||||
174 1 Result = E2PRomRead(E2PROM_BOOT_ADDR, 8, RdBuf);
|
174 1 Result = E2PRomRead(E2PROM_BOOT_ADDR, 8, RdBuf);
|
||||||
175 1
|
175 1
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
176 1 RdBuf[2] = RdBuf[0]+RdBuf[1];
|
176 1 RdBuf[2] = RdBuf[0]+RdBuf[1];
|
||||||
177 1 RdBuf[6] = RdBuf[4]+RdBuf[5];
|
177 1 RdBuf[6] = RdBuf[4]+RdBuf[5];
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
235 1 WrBuf[5] = WrBuf[1];
|
235 1 WrBuf[5] = WrBuf[1];
|
||||||
236 1 WrBuf[7] = WrBuf[3];
|
236 1 WrBuf[7] = WrBuf[3];
|
||||||
237 1
|
237 1
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
238 1 E2PRomWrite(E2PROM_BOOT_ADDR, 8, WrBuf);
|
238 1 E2PRomWrite(E2PROM_BOOT_ADDR, 8, WrBuf);
|
||||||
239 1 }
|
239 1 }
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
297 2 }
|
297 2 }
|
||||||
298 1
|
298 1
|
||||||
299 1 E2PRomBKBoot();
|
299 1 E2PRomBKBoot();
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 6
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 6
|
||||||
|
|
||||||
300 1 }
|
300 1 }
|
||||||
301
|
301
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
356 * 函数名: UartRdRTC
|
356 * 函数名: UartRdRTC
|
||||||
357 * 参 数: 无
|
357 * 参 数: 无
|
||||||
358 * 返回值: 无
|
358 * 返回值: 无
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 7
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 7
|
||||||
|
|
||||||
359 * 描 述: 读取RTC时间:秒、分、时、日、月、年,并返回给UART
|
359 * 描 述: 读取RTC时间:秒、分、时、日、月、年,并返回给UART
|
||||||
360 *************************************************************************************************/
|
360 *************************************************************************************************/
|
||||||
|
@ -446,7 +446,7 @@ line level source
|
||||||
418 2 {
|
418 2 {
|
||||||
419 3 bE2PErase = 0;
|
419 3 bE2PErase = 0;
|
||||||
420 3 E2PRomErase();
|
420 3 E2PRomErase();
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 8
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 8
|
||||||
|
|
||||||
421 3 }
|
421 3 }
|
||||||
422 2
|
422 2
|
||||||
|
@ -510,7 +510,7 @@ line level source
|
||||||
480 3 }
|
480 3 }
|
||||||
481 2
|
481 2
|
||||||
482 2 if(bE2PBKDsgEnd)
|
482 2 if(bE2PBKDsgEnd)
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 9
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 9
|
||||||
|
|
||||||
483 2 {
|
483 2 {
|
||||||
484 3 bE2PBKDsgEnd = 0;
|
484 3 bE2PBKDsgEnd = 0;
|
||||||
|
@ -574,7 +574,7 @@ line level source
|
||||||
542 3 {
|
542 3 {
|
||||||
543 4 RTCReadTime(&RTC);
|
543 4 RTCReadTime(&RTC);
|
||||||
544 4 MemoryCopy((U8 xdata *)&RTC, ucRTCBuf, 7);
|
544 4 MemoryCopy((U8 xdata *)&RTC, ucRTCBuf, 7);
|
||||||
C51 COMPILER V9.01 EXTE2PROM 02/11/2025 15:43:04 PAGE 10
|
C51 COMPILER V9.01 EXTE2PROM 02/13/2025 10:07:28 PAGE 10
|
||||||
|
|
||||||
545 4 }
|
545 4 }
|
||||||
546 3
|
546 3
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE GASGAUGEINTER_V4_13
|
C51 COMPILER V9.01, COMPILATION OF MODULE GASGAUGEINTER_V4_13
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
48 //U32 xdata E2ulCycleThreshold; //循环次数更新阈值,变量类型:U32 xdata(输入)
|
48 //U32 xdata E2ulCycleThreshold; //循环次数更新阈值,变量类型:U32 xdata(输入)
|
||||||
49 //U32 xdata E2ulCycleThresholdCount;//循环电量计数,变量类型:U32 xdata(输入\输出存入E2)
|
49 //U32 xdata E2ulCycleThresholdCount;//循环电量计数,变量类型:U32 xdata(输入\输出存入E2)
|
||||||
50 //U16 xdata E2uiCycleCount; //循环次数,变量类型:U16 xdata(输入\输出存入E2)
|
50 //U16 xdata E2uiCycleCount; //循环次数,变量类型:U16 xdata(输入\输出存入E2)
|
||||||
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
51 //U16 xdata E2uiLastCCount; //上次更新容量时的循环次数 ,变量类型:U16 xdata(输入\输出存入E2)
|
51 //U16 xdata E2uiLastCCount; //上次更新容量时的循环次数 ,变量类型:U16 xdata(输入\输出存入E2)
|
||||||
52 //S16 xdata E2siDfilterCur; //零电流窗口,变量类型:S16 xdata(输入)
|
52 //S16 xdata E2siDfilterCur; //零电流窗口,变量类型:S16 xdata(输入)
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
101 U16 data uiCellVminG; //当前电压最低的电芯电压,变量类型:U16 data(输入)
|
101 U16 data uiCellVminG; //当前电压最低的电芯电压,变量类型:U16 data(输入)
|
||||||
102 //U8 data ucCellNum; //电芯串数,变量类型:U8 data(输入)
|
102 //U8 data ucCellNum; //电芯串数,变量类型:U8 data(输入)
|
||||||
103 //S32 xdata slCadcCurAverage; //用于库伦积分的平均电流(主控充放电回路),变量类型:S32 xdata(输入)
|
103 //S32 xdata slCadcCurAverage; //用于库伦积分的平均电流(主控充放电回路),变量类型:S32 xdata(输入)
|
||||||
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
104 S32 xdata slAdcCur2; //用于库伦积分的平均电流(辅控放电回路,如没有可以恒为0),变量类型:S32 xdata(输<EFBC88>
|
104 S32 xdata slAdcCur2; //用于库伦积分的平均电流(辅控放电回路,如没有可以恒为0),变量类型:S32 xdata(输<EFBC88>
|
||||||
-耄<>
|
-耄<>
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
162 1
|
162 1
|
||||||
163 1 E2ucFccUpdatePercent = 30;
|
163 1 E2ucFccUpdatePercent = 30;
|
||||||
164 1 E2uiChgEndTemp = (15*10 + 2731);
|
164 1 E2uiChgEndTemp = (15*10 + 2731);
|
||||||
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
165 1 E2uiDsgEndTemp = (15*10 + 2731);
|
165 1 E2uiDsgEndTemp = (15*10 + 2731);
|
||||||
166 1
|
166 1
|
||||||
|
@ -203,31 +203,31 @@ line level source
|
||||||
173 1 E2ui_CYCLECOUNTC = 400;
|
173 1 E2ui_CYCLECOUNTC = 400;
|
||||||
174 1 E2uiUpdateCycleCount = 75;
|
174 1 E2uiUpdateCycleCount = 75;
|
||||||
175 1
|
175 1
|
||||||
176 1 //
|
176 1
|
||||||
177 1 // if( bOV )
|
177 1 if( bOV )
|
||||||
178 1 // {
|
178 1 {
|
||||||
179 1 // E2ucSOC = 100;
|
179 2 E2ucSOC = 100;
|
||||||
180 1 // E2ulDfRC = E2ulFCC;
|
180 2 E2ulDfRC = E2ulFCC;
|
||||||
181 1 //
|
181 2
|
||||||
182 1 // Info_uiRSOC = 100;
|
182 2 Info_uiRSOC = 100;
|
||||||
183 1 // Info_ulRC = E2ulFCC;
|
183 2 Info_ulRC = E2ulFCC;
|
||||||
184 1 //
|
184 2
|
||||||
185 1 // Info.uiRSOC = 100;
|
185 2 Info.uiRSOC = 100;
|
||||||
186 1 // Info.ulRC = E2ulFCC;
|
186 2 Info.ulRC = E2ulFCC;
|
||||||
187 1 // }
|
187 2 }
|
||||||
188 1 //
|
188 1
|
||||||
189 1 //
|
189 1
|
||||||
190 1 // if( bUV )
|
190 1 if( bUV )
|
||||||
191 1 // {
|
191 1 {
|
||||||
192 1 // E2ucSOC = 0;
|
192 2 E2ucSOC = 0;
|
||||||
193 1 // E2ulDfRC = 0;
|
193 2 E2ulDfRC = 0;
|
||||||
194 1 //
|
194 2
|
||||||
195 1 // Info_uiRSOC = 0;
|
195 2 Info_uiRSOC = 0;
|
||||||
196 1 // Info_ulRC = 0;
|
196 2 Info_ulRC = 0;
|
||||||
197 1 //
|
197 2
|
||||||
198 1 // Info.uiRSOC = 0;
|
198 2 Info.uiRSOC = 0;
|
||||||
199 1 // Info.ulRC = 0;
|
199 2 Info.ulRC = 0;
|
||||||
200 1 // }
|
200 2 }
|
||||||
201 1 //}
|
201 1 //}
|
||||||
202 1 // bAFE_SC = bSC;
|
202 1 // bAFE_SC = bSC;
|
||||||
203 1 }
|
203 1 }
|
||||||
|
@ -253,39 +253,39 @@ line level source
|
||||||
223 1 bFD = E2ucDsgEndFlg;
|
223 1 bFD = E2ucDsgEndFlg;
|
||||||
224 1 EA = eabak;
|
224 1 EA = eabak;
|
||||||
225 1
|
225 1
|
||||||
226 1 // if( bOV )
|
226 1 if( bOV )
|
||||||
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 GASGAUGEINTER_V4_13 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
227 1 // {
|
227 1 {
|
||||||
228 1 // E2ucSOC = 100;
|
228 2 E2ucSOC = 100;
|
||||||
229 1 // E2ulDfRC = E2ulFCC;
|
229 2 E2ulDfRC = E2ulFCC;
|
||||||
230 1 //
|
230 2
|
||||||
231 1 // Info_uiRSOC = 100;
|
231 2 Info_uiRSOC = 100;
|
||||||
232 1 // Info_ulRC = E2ulFCC;
|
232 2 Info_ulRC = E2ulFCC;
|
||||||
233 1 //
|
233 2
|
||||||
234 1 // Info.uiRSOC = 100;
|
234 2 Info.uiRSOC = 100;
|
||||||
235 1 // Info.ulRC = E2ulFCC;
|
235 2 Info.ulRC = E2ulFCC;
|
||||||
236 1 // }
|
236 2 }
|
||||||
237 1 //
|
237 1
|
||||||
238 1 //
|
238 1
|
||||||
239 1 // if( bUV )
|
239 1 if( bUV )
|
||||||
240 1 // {
|
240 1 {
|
||||||
241 1 // E2ucSOC = 0;
|
241 2 E2ucSOC = 0;
|
||||||
242 1 // E2ulDfRC = 0;
|
242 2 E2ulDfRC = 0;
|
||||||
243 1 //
|
243 2
|
||||||
244 1 // Info_uiRSOC = 0;
|
244 2 Info_uiRSOC = 0;
|
||||||
245 1 // Info_ulRC = 0;
|
245 2 Info_ulRC = 0;
|
||||||
246 1 //
|
246 2
|
||||||
247 1 // Info.uiRSOC = 0;
|
247 2 Info.uiRSOC = 0;
|
||||||
248 1 // Info.ulRC = 0;
|
248 2 Info.ulRC = 0;
|
||||||
249 1 // }
|
249 2 }
|
||||||
250 1 //}
|
250 1 //}
|
||||||
251 1 // bAFE_SC = bSC;
|
251 1 // bAFE_SC = bSC;
|
||||||
252 1 }
|
252 1 }
|
||||||
|
|
||||||
|
|
||||||
MODULE INFORMATION: STATIC OVERLAYABLE
|
MODULE INFORMATION: STATIC OVERLAYABLE
|
||||||
CODE SIZE = 534 ----
|
CODE SIZE = 764 ----
|
||||||
CONSTANT SIZE = ---- ----
|
CONSTANT SIZE = ---- ----
|
||||||
XDATA SIZE = 103 ----
|
XDATA SIZE = 103 ----
|
||||||
PDATA SIZE = ---- ----
|
PDATA SIZE = ---- ----
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE INITIAL
|
C51 COMPILER V9.01, COMPILATION OF MODULE INITIAL
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 2 }
|
50 2 }
|
||||||
51 1 else if(McuFlashCheckFlg(MCUFLASH_BK2_FLG_ADDR))
|
51 1 else if(McuFlashCheckFlg(MCUFLASH_BK2_FLG_ADDR))
|
||||||
52 1 {
|
52 1 {
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
53 2 McuFlashRead(MCUFLASH_BK2_ADDR, XRAM_MAP_ADDR, 512);
|
53 2 McuFlashRead(MCUFLASH_BK2_ADDR, XRAM_MAP_ADDR, 512);
|
||||||
54 2 McuFlashWrite(MCUFLASH_BK1_ADDR, XRAM_MAP_ADDR); //更新备份区1
|
54 2 McuFlashWrite(MCUFLASH_BK1_ADDR, XRAM_MAP_ADDR); //更新备份区1
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
111 1 }
|
111 1 }
|
||||||
112
|
112
|
||||||
113
|
113
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 3
|
||||||
|
|
||||||
114 /*************************************************************************************************
|
114 /*************************************************************************************************
|
||||||
115 * 函数名: InitGPIO
|
115 * 函数名: InitGPIO
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
- IO状态:P2.[7,6,5,4,3,2,1,0]有效
|
- IO状态:P2.[7,6,5,4,3,2,1,0]有效
|
||||||
156 P2.7CR[1], P2.6CR[0], P2.5CR[1], P2.4CR[1], P2.3CR[1], P2.2CR[0], P2.1CR[1], P2.0CR[1], P2CR = 0xB
|
156 P2.7CR[1], P2.6CR[0], P2.5CR[1], P2.4CR[1], P2.3CR[1], P2.2CR[0], P2.1CR[1], P2.0CR[1], P2CR = 0xB
|
||||||
-B; IO方向:P2.[7,6,5,4,3,2,1,0]有效,1输出,0输入
|
-B; IO方向:P2.[7,6,5,4,3,2,1,0]有效,1输出,0输入
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 4
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 4
|
||||||
|
|
||||||
157 P2.7PC[0], P2.6PC[1], P2.5PC[0], P2.4PC[0], P2.3PC[0], P2.2PC[1], P2.1PC[1], P2.0PC[1], P2PCR = 0x
|
157 P2.7PC[0], P2.6PC[1], P2.5PC[0], P2.4PC[0], P2.3PC[0], P2.2PC[1], P2.1PC[1], P2.0PC[1], P2PCR = 0x
|
||||||
-46; 内部上拉:1开启,0关闭
|
-46; 内部上拉:1开启,0关闭
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
211 1 #if (UART0_DEFINE == 6)
|
211 1 #if (UART0_DEFINE == 6)
|
||||||
P0 |= 0xC0;
|
P0 |= 0xC0;
|
||||||
P0PCR |= 0x40;
|
P0PCR |= 0x40;
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 5
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 5
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
215 1
|
215 1
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
273 1 #if (UART0_DEFINE == 17)
|
273 1 #if (UART0_DEFINE == 17)
|
||||||
P0 |= 0x80;
|
P0 |= 0x80;
|
||||||
P2 |= 0x20;
|
P2 |= 0x20;
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 6
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 6
|
||||||
|
|
||||||
P0PCR |= 0x80;
|
P0PCR |= 0x80;
|
||||||
#endif
|
#endif
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
P0 |= 0x02;
|
P0 |= 0x02;
|
||||||
P2 |= 0x20;
|
P2 |= 0x20;
|
||||||
P2PCR |= 0x20;
|
P2PCR |= 0x20;
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 7
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 7
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
339 1
|
339 1
|
||||||
|
@ -446,7 +446,7 @@ line level source
|
||||||
397 1 #if (UART1_DEFINE == 9)
|
397 1 #if (UART1_DEFINE == 9)
|
||||||
P1 |= 0x02;
|
P1 |= 0x02;
|
||||||
P2 |= 0x40;
|
P2 |= 0x40;
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 8
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 8
|
||||||
|
|
||||||
P2PCR |= 0x40;
|
P2PCR |= 0x40;
|
||||||
#endif
|
#endif
|
||||||
|
@ -510,7 +510,7 @@ line level source
|
||||||
#endif
|
#endif
|
||||||
460 1
|
460 1
|
||||||
461 1 #if (UART1_DEFINE == 20)
|
461 1 #if (UART1_DEFINE == 20)
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 9
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 9
|
||||||
|
|
||||||
P3 |= 0x10;
|
P3 |= 0x10;
|
||||||
P2 |= 0x80;
|
P2 |= 0x80;
|
||||||
|
@ -574,7 +574,7 @@ line level source
|
||||||
P2 |= 0xC0;
|
P2 |= 0xC0;
|
||||||
P2PCR |= 0x40;
|
P2PCR |= 0x40;
|
||||||
#endif
|
#endif
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 10
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 10
|
||||||
|
|
||||||
524 1
|
524 1
|
||||||
525 1 //UART2相关IO配置,当前demo板此串口做LED灯显示功能,不支持串口通讯,故demo板配置为不使能uart2串口功能
|
525 1 //UART2相关IO配置,当前demo板此串口做LED灯显示功能,不支持串口通讯,故demo板配置为不使能uart2串口功能
|
||||||
|
@ -638,7 +638,7 @@ line level source
|
||||||
583 2 {
|
583 2 {
|
||||||
584 3 bRTCErr = 1; //外置RTC模块出错
|
584 3 bRTCErr = 1; //外置RTC模块出错
|
||||||
585 3 }
|
585 3 }
|
||||||
C51 COMPILER V9.01 INITIAL 02/11/2025 15:43:03 PAGE 11
|
C51 COMPILER V9.01 INITIAL 02/13/2025 10:07:27 PAGE 11
|
||||||
|
|
||||||
586 2 }
|
586 2 }
|
||||||
587 1
|
587 1
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 INTERRUPT 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 INTERRUPT 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE INTERRUPT
|
C51 COMPILER V9.01, COMPILATION OF MODULE INTERRUPT
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 2 IF45 = 0;
|
50 2 IF45 = 0;
|
||||||
51 2 InterruptINT4App(0x20);
|
51 2 InterruptINT4App(0x20);
|
||||||
52 2 }
|
52 2 }
|
||||||
C51 COMPILER V9.01 INTERRUPT 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 INTERRUPT 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
53 1 if(IF46)
|
53 1 if(IF46)
|
||||||
54 1 {
|
54 1 {
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 INTERRUPTAPP 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 INTERRUPTAPP 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE INTERRUPTAPP
|
C51 COMPILER V9.01, COMPILATION OF MODULE INTERRUPTAPP
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 *************************************************************************************************/
|
50 *************************************************************************************************/
|
||||||
51 void InterruptTimer3App(void)
|
51 void InterruptTimer3App(void)
|
||||||
52 {
|
52 {
|
||||||
C51 COMPILER V9.01 INTERRUPTAPP 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 INTERRUPTAPP 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
53 1
|
53 1
|
||||||
54 1 bTimer5msFlg = 1; //5ms标志为预留标志
|
54 1 bTimer5msFlg = 1; //5ms标志为预留标志
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 KEYAPP 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 KEYAPP 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE KEYAPP
|
C51 COMPILER V9.01, COMPILATION OF MODULE KEYAPP
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 1 {
|
50 1 {
|
||||||
51 2 bSlowDischarge = 0;
|
51 2 bSlowDischarge = 0;
|
||||||
52 2 bMidDischarge = 0;
|
52 2 bMidDischarge = 0;
|
||||||
C51 COMPILER V9.01 KEYAPP 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 KEYAPP 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
53 2 bFastDischarge = 0;
|
53 2 bFastDischarge = 0;
|
||||||
54 2 }
|
54 2 }
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 KEYSCAN 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 KEYSCAN 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE KEYSCAN
|
C51 COMPILER V9.01, COMPILATION OF MODULE KEYSCAN
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 2 else if(!KEY_2_IO_RD)
|
50 2 else if(!KEY_2_IO_RD)
|
||||||
51 2 {
|
51 2 {
|
||||||
52 3 ucKeyValueBK = KEYVAL_2; //按键按下后,获取新键值
|
52 3 ucKeyValueBK = KEYVAL_2; //按键按下后,获取新键值
|
||||||
C51 COMPILER V9.01 KEYSCAN 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 KEYSCAN 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
53 3 }
|
53 3 }
|
||||||
54 2 #endif
|
54 2 #endif
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
103 4 if(uiKeyValidCnt == KEY_L_TIME) //当按下时间达到长按滤波时间时,认为此按键为长按键
|
103 4 if(uiKeyValidCnt == KEY_L_TIME) //当按下时间达到长按滤波时间时,认为此按键为长按键
|
||||||
104 4 {
|
104 4 {
|
||||||
105 5 ucKeyValue = ucKeyOldValue | KEY_STATE_L;
|
105 5 ucKeyValue = ucKeyOldValue | KEY_STATE_L;
|
||||||
C51 COMPILER V9.01 KEYSCAN 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 KEYSCAN 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
106 5 bKeyFlg = 1;
|
106 5 bKeyFlg = 1;
|
||||||
107 5 }
|
107 5 }
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 LED 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 LED 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE LED
|
C51 COMPILER V9.01, COMPILATION OF MODULE LED
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
51
|
51
|
||||||
52
|
52
|
||||||
53 /*************************************************************************************************
|
53 /*************************************************************************************************
|
||||||
C51 COMPILER V9.01 LED 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 LED 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
54 * 函数名: LedAutoOff
|
54 * 函数名: LedAutoOff
|
||||||
55 * 参 数: 无
|
55 * 参 数: 无
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
113 2 if(LedDisNum == 0)
|
113 2 if(LedDisNum == 0)
|
||||||
114 2 {
|
114 2 {
|
||||||
115 3 // LEDAllOff();
|
115 3 // LEDAllOff();
|
||||||
C51 COMPILER V9.01 LED 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 LED 02/13/2025 10:07:27 PAGE 3
|
||||||
|
|
||||||
116 3 }
|
116 3 }
|
||||||
117 2 if(LedDisNum == 1)
|
117 2 if(LedDisNum == 1)
|
||||||
|
|
BIN
output/Led.obj
BIN
output/Led.obj
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 LOWPOWER 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 LOWPOWER 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE LOWPOWER
|
C51 COMPILER V9.01, COMPILATION OF MODULE LOWPOWER
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 2 ucSleepTimerCnt = 0;
|
50 2 ucSleepTimerCnt = 0;
|
||||||
51 2 ucPDTimerCnt = 0;
|
51 2 ucPDTimerCnt = 0;
|
||||||
52 2 ucUart0TimeoutCnt = 0;
|
52 2 ucUart0TimeoutCnt = 0;
|
||||||
C51 COMPILER V9.01 LOWPOWER 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 LOWPOWER 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
53 2 ucUart1TimeoutCnt = 0;
|
53 2 ucUart1TimeoutCnt = 0;
|
||||||
54 2 ucUart2TimeoutCnt = 0;
|
54 2 ucUart2TimeoutCnt = 0;
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 1 #if (UART1_DEFINE != 0)
|
112 1 #if (UART1_DEFINE != 0)
|
||||||
IrqUart1Dis();
|
IrqUart1Dis();
|
||||||
#endif
|
#endif
|
||||||
C51 COMPILER V9.01 LOWPOWER 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 LOWPOWER 02/13/2025 10:07:27 PAGE 3
|
||||||
|
|
||||||
115 1 #if (UART2_DEFINE != 0)
|
115 1 #if (UART2_DEFINE != 0)
|
||||||
IrqUart2Dis();
|
IrqUart2Dis();
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
170 6 bSleepFlg = 1;
|
170 6 bSleepFlg = 1;
|
||||||
171 6 }
|
171 6 }
|
||||||
172 5 }
|
172 5 }
|
||||||
C51 COMPILER V9.01 LOWPOWER 02/11/2025 15:43:03 PAGE 4
|
C51 COMPILER V9.01 LOWPOWER 02/13/2025 10:07:27 PAGE 4
|
||||||
|
|
||||||
173 4 else
|
173 4 else
|
||||||
174 4 {
|
174 4 {
|
||||||
|
@ -254,7 +254,7 @@ MODULE INFORMATION: STATIC OVERLAYABLE
|
||||||
XDATA SIZE = 3 ----
|
XDATA SIZE = 3 ----
|
||||||
PDATA SIZE = ---- ----
|
PDATA SIZE = ---- ----
|
||||||
DATA SIZE = ---- ----
|
DATA SIZE = ---- ----
|
||||||
C51 COMPILER V9.01 LOWPOWER 02/11/2025 15:43:03 PAGE 5
|
C51 COMPILER V9.01 LOWPOWER 02/13/2025 10:07:27 PAGE 5
|
||||||
|
|
||||||
IDATA SIZE = ---- ----
|
IDATA SIZE = ---- ----
|
||||||
BIT SIZE = 4 ----
|
BIT SIZE = 4 ----
|
||||||
|
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,70 +0,0 @@
|
||||||
Build target 'McuFlash_Load'
|
|
||||||
compiling Main.c...
|
|
||||||
compiling Initial.c...
|
|
||||||
compiling InterruptApp.c...
|
|
||||||
compiling Led.c...
|
|
||||||
compiling KeyApp.c...
|
|
||||||
compiling LowPower.c...
|
|
||||||
compiling UartApp.c...
|
|
||||||
compiling Memory.c...
|
|
||||||
compiling AFE.c...
|
|
||||||
compiling Balance.c...
|
|
||||||
compiling Calculate.c...
|
|
||||||
compiling Calibrate.c...
|
|
||||||
compiling ChargerLoad.c...
|
|
||||||
compiling ExtE2PRom.c...
|
|
||||||
compiling Interrupt.c...
|
|
||||||
compiling KeyScan.c...
|
|
||||||
compiling McuFlash.c...
|
|
||||||
compiling McuLib.c...
|
|
||||||
CODE_DRV\MCULIB.C(20): warning C280: 'ClkSource': unreferenced local variable
|
|
||||||
CODE_DRV\MCULIB.C(84): warning C280: 'SysClock': unreferenced local variable
|
|
||||||
compiling MosCtrl.c...
|
|
||||||
compiling PorSelfTest.c...
|
|
||||||
compiling Protect.c...
|
|
||||||
compiling RTC.c...
|
|
||||||
compiling TWI.c...
|
|
||||||
compiling Uart.c...
|
|
||||||
compiling Thermistor.c...
|
|
||||||
compiling TwiIO.c...
|
|
||||||
assembling STARTUP.A51...
|
|
||||||
compiling GasGaugeInter_V4_13.c...
|
|
||||||
compiling BootApp.c...
|
|
||||||
compiling BootIAP.c...
|
|
||||||
linking...
|
|
||||||
*** WARNING L15: MULTIPLE CALL TO SEGMENT
|
|
||||||
SEGMENT: ?PR?_MCUCLOCKSET?MCULIB
|
|
||||||
CALLER1: ?PR?INTERRUPTINT4?INTERRUPT
|
|
||||||
CALLER2: ?C_C51STARTUP
|
|
||||||
Program Size: data=151.4 xdata=1529 code=29770
|
|
||||||
creating hex file from ".\output\MCUCore_Load"...
|
|
||||||
".\output\MCUCore_Load" - 0 Error(s), 3 Warning(s).
|
|
||||||
Load "E:\\Y\\keil\\ZDBMS\\ZDBMS\\output\\MCUCore_Load"
|
|
||||||
Refresh WriteMode error.
|
|
||||||
error time at 2025-02-11 15:43:07.
|
|
||||||
*** Error:Flash Erase failed.
|
|
||||||
Load "E:\\Y\\keil\\ZDBMS\\ZDBMS\\output\\MCUCore_Load"
|
|
||||||
Refresh WriteMode error.
|
|
||||||
error time at 2025-02-11 15:43:14.
|
|
||||||
*** Error:Flash Erase failed.
|
|
||||||
Load "E:\\Y\\keil\\ZDBMS\\ZDBMS\\output\\MCUCore_Load"
|
|
||||||
Refresh WriteMode error.
|
|
||||||
error time at 2025-02-11 15:43:23.
|
|
||||||
*** Error:Flash Erase failed.
|
|
||||||
Load "E:\\Y\\keil\\ZDBMS\\ZDBMS\\output\\MCUCore_Load"
|
|
||||||
Refresh WriteMode error.
|
|
||||||
error time at 2025-02-11 15:43:29.
|
|
||||||
*** Error:Flash Erase failed.
|
|
||||||
Load "E:\\Y\\keil\\ZDBMS\\ZDBMS\\output\\MCUCore_Load"
|
|
||||||
Flash Erase Done.
|
|
||||||
ISP size=0, E2PROM size=1024;
|
|
||||||
Main Size=64512Bytes; E2PROM Size=1024Bytes;
|
|
||||||
The Code CheckSum is 3315H
|
|
||||||
Code Write Done: 29776 bytes programmed.
|
|
||||||
Code Option Write Done.
|
|
||||||
Code Verify Done: 29776 bytes verified.
|
|
||||||
Code Option Verify Done
|
|
||||||
Code Security Write Done.
|
|
||||||
Code Security Verify Done
|
|
||||||
Update EEprom Done
|
|
||||||
elaspe time 4016 ms
|
|
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 MAIN 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 MAIN 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE MAIN
|
C51 COMPILER V9.01, COMPILATION OF MODULE MAIN
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
51 3 ProtectProcess(); //电压、电流、温度保护
|
51 3 ProtectProcess(); //电压、电流、温度保护
|
||||||
52 3
|
52 3
|
||||||
53 3 PorSelfTest(); //第一次上电保护检测(延时较短,暂定50mS一次检测)
|
53 3 PorSelfTest(); //第一次上电保护检测(延时较短,暂定50mS一次检测)
|
||||||
C51 COMPILER V9.01 MAIN 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 MAIN 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
54 3
|
54 3
|
||||||
55 3 LoadCheck(); //检测负载是否释放
|
55 3 LoadCheck(); //检测负载是否释放
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 4 }
|
112 4 }
|
||||||
113 3
|
113 3
|
||||||
114 3 McuFlashWrWaitCheck(); //检测是否需要更新参数到MCU Flash
|
114 3 McuFlashWrWaitCheck(); //检测是否需要更新参数到MCU Flash
|
||||||
C51 COMPILER V9.01 MAIN 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 MAIN 02/13/2025 10:07:27 PAGE 3
|
||||||
|
|
||||||
115 3
|
115 3
|
||||||
116 3 E2PRomBKCheck(); //备份EEPROM
|
116 3 E2PRomBKCheck(); //备份EEPROM
|
||||||
|
|
BIN
output/Main.obj
BIN
output/Main.obj
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 MCUFLASH 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 MCUFLASH 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE MCUFLASH
|
C51 COMPILER V9.01, COMPILATION OF MODULE MCUFLASH
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50
|
50
|
||||||
51
|
51
|
||||||
52 /*************************************************************************************************
|
52 /*************************************************************************************************
|
||||||
C51 COMPILER V9.01 MCUFLASH 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 MCUFLASH 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
53 * 函数名: McuFlashBlankCheck
|
53 * 函数名: McuFlashBlankCheck
|
||||||
54 * 参 数: McuFlashAddr:起始地址
|
54 * 参 数: McuFlashAddr:起始地址
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 1
|
112 1
|
||||||
113 1 for(i=0; i<MCUFLASH_SECTOR_SIZE; i++)
|
113 1 for(i=0; i<MCUFLASH_SECTOR_SIZE; i++)
|
||||||
114 1 {
|
114 1 {
|
||||||
C51 COMPILER V9.01 MCUFLASH 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 MCUFLASH 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
115 2 IB_OFFSET = McuFlashAddr+i;
|
115 2 IB_OFFSET = McuFlashAddr+i;
|
||||||
116 2 XPAGE = (McuFlashAddr+i)>>8;
|
116 2 XPAGE = (McuFlashAddr+i)>>8;
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
174 3.将XRAM数据写入
|
174 3.将XRAM数据写入
|
||||||
175 4.校验XRAM和MCU Flash区数据是否一致
|
175 4.校验XRAM和MCU Flash区数据是否一致
|
||||||
176 *************************************************************************************************/
|
176 *************************************************************************************************/
|
||||||
C51 COMPILER V9.01 MCUFLASH 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 MCUFLASH 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
177 BOOL McuFlashWrite(U16 McuFlashAddr, U16 XramAddr)
|
177 BOOL McuFlashWrite(U16 McuFlashAddr, U16 XramAddr)
|
||||||
178 {
|
178 {
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
236
|
236
|
||||||
237
|
237
|
||||||
238 /*************************************************************************************************
|
238 /*************************************************************************************************
|
||||||
C51 COMPILER V9.01 MCUFLASH 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 MCUFLASH 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
239 * 函数名: McuFlashProcess
|
239 * 函数名: McuFlashProcess
|
||||||
240 * 参 数: 无
|
240 * 参 数: 无
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
298 2 }
|
298 2 }
|
||||||
299 1 }
|
299 1 }
|
||||||
300
|
300
|
||||||
C51 COMPILER V9.01 MCUFLASH 02/11/2025 15:43:04 PAGE 6
|
C51 COMPILER V9.01 MCUFLASH 02/13/2025 10:07:28 PAGE 6
|
||||||
|
|
||||||
301
|
301
|
||||||
302 /*************************************************************************************************
|
302 /*************************************************************************************************
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
359 1 McuFlashEn();
|
359 1 McuFlashEn();
|
||||||
360 1 if(CWORD[McuFlashAddr/2] == 0x5AA5)
|
360 1 if(CWORD[McuFlashAddr/2] == 0x5AA5)
|
||||||
361 1 {
|
361 1 {
|
||||||
C51 COMPILER V9.01 MCUFLASH 02/11/2025 15:43:04 PAGE 7
|
C51 COMPILER V9.01 MCUFLASH 02/13/2025 10:07:28 PAGE 7
|
||||||
|
|
||||||
362 2 Result = 1;
|
362 2 Result = 1;
|
||||||
363 2 }
|
363 2 }
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 MCULIB 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 MCULIB 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE MCULIB
|
C51 COMPILER V9.01, COMPILATION OF MODULE MCULIB
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
49 1 // TempVal = 0x10000 - (U32)128*XmS/256;
|
49 1 // TempVal = 0x10000 - (U32)128*XmS/256;
|
||||||
50 1 // }
|
50 1 // }
|
||||||
51 1 // }
|
51 1 // }
|
||||||
C51 COMPILER V9.01 MCULIB 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 MCULIB 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
52 1 // else if(ClkSource == TIM_CLK_24MHz)
|
52 1 // else if(ClkSource == TIM_CLK_24MHz)
|
||||||
53 1 // {
|
53 1 // {
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
109
|
109
|
||||||
110 /*************************************************************************************************
|
110 /*************************************************************************************************
|
||||||
111 * 函数名: McuPWM0Set、McuPWM1Set、McuPWM2Set
|
111 * 函数名: McuPWM0Set、McuPWM1Set、McuPWM2Set
|
||||||
C51 COMPILER V9.01 MCULIB 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 MCULIB 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
112 * 参 数: PwmFreq:PWM的频率Hz;DutyRatio:PWM的高电平占空比
|
112 * 参 数: PwmFreq:PWM的频率Hz;DutyRatio:PWM的高电平占空比
|
||||||
113 * 返回值: 无
|
113 * 返回值: 无
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
168 1 {
|
168 1 {
|
||||||
169 2 Tcnt = 1670/4;
|
169 2 Tcnt = 1670/4;
|
||||||
170 2 }
|
170 2 }
|
||||||
C51 COMPILER V9.01 MCULIB 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 MCULIB 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
171 1 else //2MHz
|
171 1 else //2MHz
|
||||||
172 1 {
|
172 1 {
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
230 1 || (E2ucRamCheckFlg9 != RAM_CHECK_DATA)
|
230 1 || (E2ucRamCheckFlg9 != RAM_CHECK_DATA)
|
||||||
231 1 || (E2ucRamCheckFlgA != RAM_CHECK_DATA)
|
231 1 || (E2ucRamCheckFlgA != RAM_CHECK_DATA)
|
||||||
232 1 || (E2ucRamCheckFlgB != RAM_CHECK_DATA)
|
232 1 || (E2ucRamCheckFlgB != RAM_CHECK_DATA)
|
||||||
C51 COMPILER V9.01 MCULIB 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 MCULIB 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
233 1 || (E2uiCheckFlag != 0x5AA5))
|
233 1 || (E2uiCheckFlag != 0x5AA5))
|
||||||
234 1 {
|
234 1 {
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
292 1 PCON |= 0x01;
|
292 1 PCON |= 0x01;
|
||||||
293 1 _nop_();
|
293 1 _nop_();
|
||||||
294 1 _nop_();
|
294 1 _nop_();
|
||||||
C51 COMPILER V9.01 MCULIB 02/11/2025 15:43:04 PAGE 6
|
C51 COMPILER V9.01 MCULIB 02/13/2025 10:07:28 PAGE 6
|
||||||
|
|
||||||
295 1 _nop_();
|
295 1 _nop_();
|
||||||
296 1 _nop_();
|
296 1 _nop_();
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 MEMORY 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 MEMORY 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE MEMORY
|
C51 COMPILER V9.01, COMPILATION OF MODULE MEMORY
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 sbit bOV = uiBatStatus^8;
|
50 sbit bOV = uiBatStatus^8;
|
||||||
51 sbit bUV = uiBatStatus^9;
|
51 sbit bUV = uiBatStatus^9;
|
||||||
52 sbit bOCC = uiBatStatus^10;
|
52 sbit bOCC = uiBatStatus^10;
|
||||||
C51 COMPILER V9.01 MEMORY 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 MEMORY 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
53 sbit bOCD1 = uiBatStatus^11;
|
53 sbit bOCD1 = uiBatStatus^11;
|
||||||
54 sbit bOCD2 = uiBatStatus^12;
|
54 sbit bOCD2 = uiBatStatus^12;
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 U8 xdata E2ucOCCDelay _at_ CHG_PARA_MAP_ADDR+15;
|
112 U8 xdata E2ucOCCDelay _at_ CHG_PARA_MAP_ADDR+15;
|
||||||
113 U8 xdata E2ucOCCRDelay _at_ CHG_PARA_MAP_ADDR+16;
|
113 U8 xdata E2ucOCCRDelay _at_ CHG_PARA_MAP_ADDR+16;
|
||||||
114 U8 xdata E2ucRamCheckFlg2 _at_ CHG_PARA_MAP_ADDR+17;
|
114 U8 xdata E2ucRamCheckFlg2 _at_ CHG_PARA_MAP_ADDR+17;
|
||||||
C51 COMPILER V9.01 MEMORY 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 MEMORY 02/13/2025 10:07:27 PAGE 3
|
||||||
|
|
||||||
115
|
115
|
||||||
116 //放电参数区开始 SubClassID=0x03 langth=21
|
116 //放电参数区开始 SubClassID=0x03 langth=21
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
174 U16 xdata E2uiAFEOVvol _at_ AFE_PARA_MAP_ADDR+1;
|
174 U16 xdata E2uiAFEOVvol _at_ AFE_PARA_MAP_ADDR+1;
|
||||||
175 U8 xdata E2ucRamCheckFlgA _at_ AFE_PARA_MAP_ADDR+3;
|
175 U8 xdata E2ucRamCheckFlgA _at_ AFE_PARA_MAP_ADDR+3;
|
||||||
176
|
176
|
||||||
C51 COMPILER V9.01 MEMORY 02/11/2025 15:43:03 PAGE 4
|
C51 COMPILER V9.01 MEMORY 02/13/2025 10:07:27 PAGE 4
|
||||||
|
|
||||||
177 //校准参数区开始 SubClassID=0x0B langth=12
|
177 //校准参数区开始 SubClassID=0x0B langth=12
|
||||||
178 U16 xdata E2uiVPackGain _at_ CALI_PARA_MAP_ADDR;
|
178 U16 xdata E2uiVPackGain _at_ CALI_PARA_MAP_ADDR;
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 MOSCTRL 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 MOSCTRL 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE MOSCTRL
|
C51 COMPILER V9.01, COMPILATION OF MODULE MOSCTRL
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
49 2 }
|
49 2 }
|
||||||
50 1
|
50 1
|
||||||
51 1 if(bOCD1 || bOCD2 || bAFE_SC) //放电过流时,如果OCPM配置为1,则关闭充电MOS
|
51 1 if(bOCD1 || bOCD2 || bAFE_SC) //放电过流时,如果OCPM配置为1,则关闭充电MOS
|
||||||
C51 COMPILER V9.01 MOSCTRL 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 MOSCTRL 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
52 1 {
|
52 1 {
|
||||||
53 2 bCHGMOS = 0;
|
53 2 bCHGMOS = 0;
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 PORSELFTEST 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 PORSELFTEST 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE PORSELFTEST
|
C51 COMPILER V9.01, COMPILATION OF MODULE PORSELFTEST
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 2 if(uiCellVmin < E2uiUVvol)
|
50 2 if(uiCellVmin < E2uiUVvol)
|
||||||
51 2 {
|
51 2 {
|
||||||
52 3 if(++uiUVDelayCnt >= TIME_50mS_50mS)
|
52 3 if(++uiUVDelayCnt >= TIME_50mS_50mS)
|
||||||
C51 COMPILER V9.01 PORSELFTEST 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 PORSELFTEST 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
53 3 {
|
53 3 {
|
||||||
54 4 bUV = 1;
|
54 4 bUV = 1;
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 3 uiUTCDelayCnt = 0;
|
112 3 uiUTCDelayCnt = 0;
|
||||||
113 3 }
|
113 3 }
|
||||||
114 2 }
|
114 2 }
|
||||||
C51 COMPILER V9.01 PORSELFTEST 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 PORSELFTEST 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
115 1 }
|
115 1 }
|
||||||
116
|
116
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
174 * 描 述: 第一次上电时的自检,持续100mS,上电自检最快完成时间为50mS
|
174 * 描 述: 第一次上电时的自检,持续100mS,上电自检最快完成时间为50mS
|
||||||
175 *************************************************************************************************/
|
175 *************************************************************************************************/
|
||||||
176 void PorSelfTest(void)
|
176 void PorSelfTest(void)
|
||||||
C51 COMPILER V9.01 PORSELFTEST 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 PORSELFTEST 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
177 {
|
177 {
|
||||||
178 1 if(bPorSelfTestFlg)
|
178 1 if(bPorSelfTestFlg)
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 PROTECT 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 PROTECT 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE PROTECT
|
C51 COMPILER V9.01, COMPILATION OF MODULE PROTECT
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
48 4 bOVLock = 0;
|
48 4 bOVLock = 0;
|
||||||
49 4 uiOVDelayCnt = 0;
|
49 4 uiOVDelayCnt = 0;
|
||||||
50 4 uiOVRDelayCnt = 0;
|
50 4 uiOVRDelayCnt = 0;
|
||||||
C51 COMPILER V9.01 PROTECT 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 PROTECT 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
51 4 }
|
51 4 }
|
||||||
52 3 }
|
52 3 }
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
110 2 }
|
110 2 }
|
||||||
111 1 else if(!bUVLock)
|
111 1 else if(!bUVLock)
|
||||||
112 1 {
|
112 1 {
|
||||||
C51 COMPILER V9.01 PROTECT 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 PROTECT 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
113 2 if(uiCellVmin > E2uiUVRvol)
|
113 2 if(uiCellVmin > E2uiUVRvol)
|
||||||
114 2 {
|
114 2 {
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
172 2 else if(uiTempeMax > E2uiTempOTC)
|
172 2 else if(uiTempeMax > E2uiTempOTC)
|
||||||
173 2 {
|
173 2 {
|
||||||
174 3 uiOTCRDelayCnt = 0;
|
174 3 uiOTCRDelayCnt = 0;
|
||||||
C51 COMPILER V9.01 PROTECT 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 PROTECT 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
175 3 }
|
175 3 }
|
||||||
176 2 }
|
176 2 }
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
234 2 {
|
234 2 {
|
||||||
235 3 if(++uiOTDDelayCnt >= TEMPE_DELAY_CNT)
|
235 3 if(++uiOTDDelayCnt >= TEMPE_DELAY_CNT)
|
||||||
236 3 {
|
236 3 {
|
||||||
C51 COMPILER V9.01 PROTECT 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 PROTECT 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
237 4 bOTD = 1;
|
237 4 bOTD = 1;
|
||||||
238 4 uiOTDDelayCnt = 0;
|
238 4 uiOTDDelayCnt = 0;
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
296 4 bUTD = 0;
|
296 4 bUTD = 0;
|
||||||
297 4 uiUTDDelayCnt = 0;
|
297 4 uiUTDDelayCnt = 0;
|
||||||
298 4 uiUTDRDelayCnt = 0;
|
298 4 uiUTDRDelayCnt = 0;
|
||||||
C51 COMPILER V9.01 PROTECT 02/11/2025 15:43:04 PAGE 6
|
C51 COMPILER V9.01 PROTECT 02/13/2025 10:07:28 PAGE 6
|
||||||
|
|
||||||
299 4 }
|
299 4 }
|
||||||
300 3 }
|
300 3 }
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
358 3 }
|
358 3 }
|
||||||
359 2 else if(!bLoadChkingFlg)
|
359 2 else if(!bLoadChkingFlg)
|
||||||
360 2 {
|
360 2 {
|
||||||
C51 COMPILER V9.01 PROTECT 02/11/2025 15:43:04 PAGE 7
|
C51 COMPILER V9.01 PROTECT 02/13/2025 10:07:28 PAGE 7
|
||||||
|
|
||||||
361 3 if(uiOCD1DelayCnt > 0)
|
361 3 if(uiOCD1DelayCnt > 0)
|
||||||
362 3 {
|
362 3 {
|
||||||
|
@ -446,7 +446,7 @@ line level source
|
||||||
420 2 ProtectOCD2(); //·Åµç¹ýÁ÷2±£»¤
|
420 2 ProtectOCD2(); //·Åµç¹ýÁ÷2±£»¤
|
||||||
421 2 }
|
421 2 }
|
||||||
422 1 }
|
422 1 }
|
||||||
C51 COMPILER V9.01 PROTECT 02/11/2025 15:43:04 PAGE 8
|
C51 COMPILER V9.01 PROTECT 02/13/2025 10:07:28 PAGE 8
|
||||||
|
|
||||||
423
|
423
|
||||||
424
|
424
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 RTC 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 RTC 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE RTC
|
C51 COMPILER V9.01, COMPILATION OF MODULE RTC
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
51 1 BOOL Result = 0;
|
51 1 BOOL Result = 0;
|
||||||
52 1 U8 i;
|
52 1 U8 i;
|
||||||
53 1
|
53 1
|
||||||
C51 COMPILER V9.01 RTC 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 RTC 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
54 1 if(!bRTCErr)
|
54 1 if(!bRTCErr)
|
||||||
55 1 {
|
55 1 {
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
113 1 return Result;
|
113 1 return Result;
|
||||||
114 1 }
|
114 1 }
|
||||||
115
|
115
|
||||||
C51 COMPILER V9.01 RTC 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 RTC 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
116 /*************************************************************************************************
|
116 /*************************************************************************************************
|
||||||
117 * 函数名: RTCReadTime
|
117 * 函数名: RTCReadTime
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
172
|
172
|
||||||
173 /*************************************************************************************************
|
173 /*************************************************************************************************
|
||||||
174 * 函数名: RTCModifyTime
|
174 * 函数名: RTCModifyTime
|
||||||
C51 COMPILER V9.01 RTC 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 RTC 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
175 * 参 数: RTC:将RTC参数传递进来,进行RTC更新
|
175 * 参 数: RTC:将RTC参数传递进来,进行RTC更新
|
||||||
176 * 返回值: 无
|
176 * 返回值: 无
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
232 2 }
|
232 2 }
|
||||||
233 1
|
233 1
|
||||||
234 1 MemoryCopy(rtcbuf, (U8 xdata *)RtcInitVal, 7); //从E2读出的时间或出厂时间先放到RTC时间寄存器
|
234 1 MemoryCopy(rtcbuf, (U8 xdata *)RtcInitVal, 7); //从E2读出的时间或出厂时间先放到RTC时间寄存器
|
||||||
C51 COMPILER V9.01 RTC 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 RTC 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
-中存起来
|
-中存起来
|
||||||
235 1 Result = RTCReadTime((RTC_VAR xdata *)RtcInitVal);
|
235 1 Result = RTCReadTime((RTC_VAR xdata *)RtcInitVal);
|
||||||
|
|
BIN
output/RTC.obj
BIN
output/RTC.obj
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
A51 MACRO ASSEMBLER STARTUP 02/11/2025 15:43:04 PAGE 1
|
A51 MACRO ASSEMBLER STARTUP 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
MACRO ASSEMBLER A51 V8.02
|
MACRO ASSEMBLER A51 V8.02
|
||||||
|
@ -48,7 +48,7 @@ LOC OBJ LINE SOURCE
|
||||||
001C 00 37 NOP
|
001C 00 37 NOP
|
||||||
001D 020000 F 38 LJMP ?C_START
|
001D 020000 F 38 LJMP ?C_START
|
||||||
39 END
|
39 END
|
||||||
A51 MACRO ASSEMBLER STARTUP 02/11/2025 15:43:04 PAGE 2
|
A51 MACRO ASSEMBLER STARTUP 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
SYMBOL TABLE LISTING
|
SYMBOL TABLE LISTING
|
||||||
------ ----- -------
|
------ ----- -------
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 TWI 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 TWI 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE TWI
|
C51 COMPILER V9.01, COMPILATION OF MODULE TWI
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
51
|
51
|
||||||
52
|
52
|
||||||
53 /*************************************************************************************************
|
53 /*************************************************************************************************
|
||||||
C51 COMPILER V9.01 TWI 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 TWI 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
54 * 函数名: TWICheckStatus
|
54 * 函数名: TWICheckStatus
|
||||||
55 * 参 数: Status:当前TWI的状态
|
55 * 参 数: Status:当前TWI的状态
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 2 HTimeoutChk();
|
112 2 HTimeoutChk();
|
||||||
113 2 TWICON = 0x60; //Start
|
113 2 TWICON = 0x60; //Start
|
||||||
114 2 if((!TWICheckStatus(0x08))&&(!TWICheckStatus(0x10)))
|
114 2 if((!TWICheckStatus(0x08))&&(!TWICheckStatus(0x10)))
|
||||||
C51 COMPILER V9.01 TWI 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 TWI 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
115 2 {
|
115 2 {
|
||||||
116 3 Result = 0;
|
116 3 Result = 0;
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
174 5 goto WrErr;
|
174 5 goto WrErr;
|
||||||
175 5 }
|
175 5 }
|
||||||
176 4 WrBuf++;
|
176 4 WrBuf++;
|
||||||
C51 COMPILER V9.01 TWI 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 TWI 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
177 4 }
|
177 4 }
|
||||||
178 3 }
|
178 3 }
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
236 2 {
|
236 2 {
|
||||||
237 3 Result = 0;
|
237 3 Result = 0;
|
||||||
238 3 goto RdErr;
|
238 3 goto RdErr;
|
||||||
C51 COMPILER V9.01 TWI 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 TWI 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
239 3 }
|
239 3 }
|
||||||
240 2
|
240 2
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
298 5 TWICheckStatus(0x50);
|
298 5 TWICheckStatus(0x50);
|
||||||
299 5 }
|
299 5 }
|
||||||
300 4 *RdBuf = TWIDAT;
|
300 4 *RdBuf = TWIDAT;
|
||||||
C51 COMPILER V9.01 TWI 02/11/2025 15:43:04 PAGE 6
|
C51 COMPILER V9.01 TWI 02/13/2025 10:07:28 PAGE 6
|
||||||
|
|
||||||
301 4 RdBuf++;
|
301 4 RdBuf++;
|
||||||
302 4 }
|
302 4 }
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
360 // TWIBR = (24000/TWI_FREQ_KHz-16)/2/1; //配置发送波特率,禁止总线超时判断,f=fsys/(16+2*CR*TWI
|
360 // TWIBR = (24000/TWI_FREQ_KHz-16)/2/1; //配置发送波特率,禁止总线超时判断,f=fsys/(16+2*CR*TWI
|
||||||
-BR)=24MHz/(16+2*16*TWIBR)=**KHz
|
-BR)=24MHz/(16+2*16*TWIBR)=**KHz
|
||||||
361 // TWISTA = 0x06; //16分频
|
361 // TWISTA = 0x06; //16分频
|
||||||
C51 COMPILER V9.01 TWI 02/11/2025 15:43:04 PAGE 7
|
C51 COMPILER V9.01 TWI 02/13/2025 10:07:28 PAGE 7
|
||||||
|
|
||||||
362 // TWICON = 0x40; //ENTWI ,禁止高电平超时
|
362 // TWICON = 0x40; //ENTWI ,禁止高电平超时
|
||||||
363 // TWTFREE = 0xff; //最大超时配置
|
363 // TWTFREE = 0xff; //最大超时配置
|
||||||
|
@ -446,7 +446,7 @@ line level source
|
||||||
419 // TWISTA = 0x00;
|
419 // TWISTA = 0x00;
|
||||||
420 // break;
|
420 // break;
|
||||||
421 //
|
421 //
|
||||||
C51 COMPILER V9.01 TWI 02/11/2025 15:43:04 PAGE 8
|
C51 COMPILER V9.01 TWI 02/13/2025 10:07:28 PAGE 8
|
||||||
|
|
||||||
422 // case 2:
|
422 // case 2:
|
||||||
423 // TWISTA = 0x02;
|
423 // TWISTA = 0x02;
|
||||||
|
|
BIN
output/TWI.obj
BIN
output/TWI.obj
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 THERMISTOR 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 THERMISTOR 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE THERMISTOR
|
C51 COMPILER V9.01, COMPILATION OF MODULE THERMISTOR
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
6777, //-20
|
6777, //-20
|
||||||
6447, //-19
|
6447, //-19
|
||||||
6136, //-18
|
6136, //-18
|
||||||
C51 COMPILER V9.01 THERMISTOR 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 THERMISTOR 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
5842, //-17
|
5842, //-17
|
||||||
5564, //-16
|
5564, //-16
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
543, //42
|
543, //42
|
||||||
525, //43
|
525, //43
|
||||||
508, //44
|
508, //44
|
||||||
C51 COMPILER V9.01 THERMISTOR 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 THERMISTOR 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
491, //45
|
491, //45
|
||||||
474, //46
|
474, //46
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
88, //104
|
88, //104
|
||||||
86, //105
|
86, //105
|
||||||
83, //106
|
83, //106
|
||||||
C51 COMPILER V9.01 THERMISTOR 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 THERMISTOR 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
81, //107
|
81, //107
|
||||||
79, //108
|
79, //108
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
4512, //-06
|
4512, //-06
|
||||||
4277, //-05
|
4277, //-05
|
||||||
4056, //-04
|
4056, //-04
|
||||||
C51 COMPILER V9.01 THERMISTOR 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 THERMISTOR 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
3848, //-03
|
3848, //-03
|
||||||
3652, //-02
|
3652, //-02
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
287, //56
|
287, //56
|
||||||
276, //57
|
276, //57
|
||||||
266, //58
|
266, //58
|
||||||
C51 COMPILER V9.01 THERMISTOR 02/11/2025 15:43:04 PAGE 6
|
C51 COMPILER V9.01 THERMISTOR 02/13/2025 10:07:28 PAGE 6
|
||||||
|
|
||||||
257, //59
|
257, //59
|
||||||
248, //60
|
248, //60
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
#elif RT_TABLE == NTC_SL
|
#elif RT_TABLE == NTC_SL
|
||||||
361 U16 code NTC103AT[NTC103AT_ARRAY_LEN]=
|
361 U16 code NTC103AT[NTC103AT_ARRAY_LEN]=
|
||||||
362 { //温度为索引-20
|
362 { //温度为索引-20
|
||||||
C51 COMPILER V9.01 THERMISTOR 02/11/2025 15:43:04 PAGE 7
|
C51 COMPILER V9.01 THERMISTOR 02/13/2025 10:07:28 PAGE 7
|
||||||
|
|
||||||
363 // -20℃~100℃共121个温度点,索引0~120
|
363 // -20℃~100℃共121个温度点,索引0~120
|
||||||
364 9534, 9006, 8510, 8044, 7607, 7196, 6809, 6445, 6103, 5780, //-20~-11
|
364 9534, 9006, 8510, 8044, 7607, 7196, 6809, 6445, 6103, 5780, //-20~-11
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 TWIIO 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 TWIIO 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE TWIIO
|
C51 COMPILER V9.01, COMPILATION OF MODULE TWIIO
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
{
|
{
|
||||||
U8 i;
|
U8 i;
|
||||||
for(i=0; i<13; i++)
|
for(i=0; i<13; i++)
|
||||||
C51 COMPILER V9.01 TWIIO 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 TWIIO 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
if(TWI_RD_CLK)
|
if(TWI_RD_CLK)
|
||||||
{
|
{
|
||||||
result = 1;
|
result = 1;
|
||||||
C51 COMPILER V9.01 TWIIO 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 TWIIO 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
TWI_DAT_HIGH;
|
TWI_DAT_HIGH;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
C51 COMPILER V9.01 TWIIO 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 TWIIO 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
{
|
{
|
||||||
TWI_DAT_LOW;
|
TWI_DAT_LOW;
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
{
|
{
|
||||||
TWI_DAT_LOW;
|
TWI_DAT_LOW;
|
||||||
}
|
}
|
||||||
C51 COMPILER V9.01 TWIIO 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 TWIIO 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
if(!TwiSendData(SlaveID, 1)) //Send Slave E2ucID
|
if(!TwiSendData(SlaveID, 1)) //Send Slave E2ucID
|
||||||
{
|
{
|
||||||
goto WrErr;
|
goto WrErr;
|
||||||
C51 COMPILER V9.01 TWIIO 02/11/2025 15:43:04 PAGE 6
|
C51 COMPILER V9.01 TWIIO 02/13/2025 10:07:28 PAGE 6
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
TempBuf[0] = SlaveID;
|
TempBuf[0] = SlaveID;
|
||||||
TempBuf[1] = (U8)RdAddr;
|
TempBuf[1] = (U8)RdAddr;
|
||||||
// TempBuf[2] = Length;
|
// TempBuf[2] = Length;
|
||||||
C51 COMPILER V9.01 TWIIO 02/11/2025 15:43:04 PAGE 7
|
C51 COMPILER V9.01 TWIIO 02/13/2025 10:07:28 PAGE 7
|
||||||
|
|
||||||
TempBuf[2] = SlaveID | 0x01;
|
TempBuf[2] = SlaveID | 0x01;
|
||||||
|
|
||||||
|
@ -446,7 +446,7 @@ line level source
|
||||||
*RdBuf = TempBuf[3+i];
|
*RdBuf = TempBuf[3+i];
|
||||||
RdBuf++;
|
RdBuf++;
|
||||||
}
|
}
|
||||||
C51 COMPILER V9.01 TWIIO 02/11/2025 15:43:04 PAGE 8
|
C51 COMPILER V9.01 TWIIO 02/13/2025 10:07:28 PAGE 8
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
BIN
output/TwiIO.obj
BIN
output/TwiIO.obj
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 UART 02/11/2025 15:43:04 PAGE 1
|
C51 COMPILER V9.01 UART 02/13/2025 10:07:28 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE UART
|
C51 COMPILER V9.01, COMPILATION OF MODULE UART
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
#elif UART0_DEFINE == 15
|
#elif UART0_DEFINE == 15
|
||||||
UART0CR = 0x14;
|
UART0CR = 0x14;
|
||||||
#elif UART0_DEFINE == 16
|
#elif UART0_DEFINE == 16
|
||||||
C51 COMPILER V9.01 UART 02/11/2025 15:43:04 PAGE 2
|
C51 COMPILER V9.01 UART 02/13/2025 10:07:28 PAGE 2
|
||||||
|
|
||||||
UART0CR = 0x25;
|
UART0CR = 0x25;
|
||||||
#elif UART0_DEFINE == 17
|
#elif UART0_DEFINE == 17
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
110 void InterruptUART0(void) interrupt 4
|
110 void InterruptUART0(void) interrupt 4
|
||||||
111 {
|
111 {
|
||||||
112 1 U8 xdata RxData;
|
112 1 U8 xdata RxData;
|
||||||
C51 COMPILER V9.01 UART 02/11/2025 15:43:04 PAGE 3
|
C51 COMPILER V9.01 UART 02/13/2025 10:07:28 PAGE 3
|
||||||
|
|
||||||
113 1
|
113 1
|
||||||
114 1 _push_(INSCON);
|
114 1 _push_(INSCON);
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
UART1CR = 0x14;
|
UART1CR = 0x14;
|
||||||
#elif UART1_DEFINE == 13
|
#elif UART1_DEFINE == 13
|
||||||
UART1CR = 0x54;
|
UART1CR = 0x54;
|
||||||
C51 COMPILER V9.01 UART 02/11/2025 15:43:04 PAGE 4
|
C51 COMPILER V9.01 UART 02/13/2025 10:07:28 PAGE 4
|
||||||
|
|
||||||
#elif UART1_DEFINE == 14
|
#elif UART1_DEFINE == 14
|
||||||
UART1CR = 0x24;
|
UART1CR = 0x24;
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
* 描 述: UART1接收和发送中断服务程序
|
* 描 述: UART1接收和发送中断服务程序
|
||||||
InterruptUart1AppRx(RxData),调用APP层的接收中断处理函数
|
InterruptUart1AppRx(RxData),调用APP层的接收中断处理函数
|
||||||
InterruptUart1AppTx(),调用APP层的发送中断处理函数
|
InterruptUart1AppTx(),调用APP层的发送中断处理函数
|
||||||
C51 COMPILER V9.01 UART 02/11/2025 15:43:04 PAGE 5
|
C51 COMPILER V9.01 UART 02/13/2025 10:07:28 PAGE 5
|
||||||
|
|
||||||
*************************************************************************************************/
|
*************************************************************************************************/
|
||||||
void InterruptUart1(void) interrupt 15
|
void InterruptUart1(void) interrupt 15
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
{
|
{
|
||||||
U8 xdata RxData;
|
U8 xdata RxData;
|
||||||
|
|
||||||
C51 COMPILER V9.01 UART 02/11/2025 15:43:04 PAGE 6
|
C51 COMPILER V9.01 UART 02/13/2025 10:07:28 PAGE 6
|
||||||
|
|
||||||
_push_(INSCON);
|
_push_(INSCON);
|
||||||
McuBank1Sel();
|
McuBank1Sel();
|
||||||
|
|
BIN
output/Uart.obj
BIN
output/Uart.obj
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 1
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 1
|
||||||
|
|
||||||
|
|
||||||
C51 COMPILER V9.01, COMPILATION OF MODULE UARTAPP
|
C51 COMPILER V9.01, COMPILATION OF MODULE UARTAPP
|
||||||
|
@ -62,7 +62,7 @@ line level source
|
||||||
50 Others: NULL
|
50 Others: NULL
|
||||||
51 *******************************************************************************/
|
51 *******************************************************************************/
|
||||||
52 U16 code Page1WrRdFuncTable[18]=
|
52 U16 code Page1WrRdFuncTable[18]=
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 2
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 2
|
||||||
|
|
||||||
53 {
|
53 {
|
||||||
54 SYS_PARA_MAP_ADDR, //SubClassID 0x00
|
54 SYS_PARA_MAP_ADDR, //SubClassID 0x00
|
||||||
|
@ -126,7 +126,7 @@ line level source
|
||||||
112 1 if(ucUart0Buf[2] == 0x00) //Testing equipment is properly
|
112 1 if(ucUart0Buf[2] == 0x00) //Testing equipment is properly
|
||||||
113 1 {
|
113 1 {
|
||||||
114 2 Uart0SendAck();
|
114 2 Uart0SendAck();
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 3
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 3
|
||||||
|
|
||||||
115 2 }
|
115 2 }
|
||||||
116 1 else
|
116 1 else
|
||||||
|
@ -190,7 +190,7 @@ line level source
|
||||||
174 1 if(ucUart0Buf[3+ucUart0Buf[UART_LENGTH]] == CRC8cal(&ucUart0Buf, ucUart0Buf[UART_LENGTH]+3))
|
174 1 if(ucUart0Buf[3+ucUart0Buf[UART_LENGTH]] == CRC8cal(&ucUart0Buf, ucUart0Buf[UART_LENGTH]+3))
|
||||||
175 1 {
|
175 1 {
|
||||||
176 2 for(i=0; i<ucUart0Buf[UART_LENGTH]; i++)
|
176 2 for(i=0; i<ucUart0Buf[UART_LENGTH]; i++)
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 4
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 4
|
||||||
|
|
||||||
177 2 {
|
177 2 {
|
||||||
178 3 McuWDTClear();
|
178 3 McuWDTClear();
|
||||||
|
@ -254,7 +254,7 @@ line level source
|
||||||
if(ucUart2Buf[3+ucUart2Buf[UART_LENGTH]] == CRC8cal(&ucUart2Buf, ucUart2Buf[UART_LENGTH]+3))
|
if(ucUart2Buf[3+ucUart2Buf[UART_LENGTH]] == CRC8cal(&ucUart2Buf, ucUart2Buf[UART_LENGTH]+3))
|
||||||
{
|
{
|
||||||
for(i=0; i<ucUart2Buf[UART_LENGTH]; i++)
|
for(i=0; i<ucUart2Buf[UART_LENGTH]; i++)
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 5
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 5
|
||||||
|
|
||||||
{
|
{
|
||||||
McuWDTClear();
|
McuWDTClear();
|
||||||
|
@ -318,7 +318,7 @@ line level source
|
||||||
for(i=0; i<ucUart1Buf[UART_LENGTH]; i++)
|
for(i=0; i<ucUart1Buf[UART_LENGTH]; i++)
|
||||||
{
|
{
|
||||||
McuWDTClear();
|
McuWDTClear();
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 6
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 6
|
||||||
|
|
||||||
ucUart1Buf[3+i] = *ptr;
|
ucUart1Buf[3+i] = *ptr;
|
||||||
ptr++;
|
ptr++;
|
||||||
|
@ -382,7 +382,7 @@ line level source
|
||||||
360 2 }
|
360 2 }
|
||||||
361 1 else
|
361 1 else
|
||||||
362 1 {
|
362 1 {
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 7
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 7
|
||||||
|
|
||||||
363 2 Uart0SendNack();
|
363 2 Uart0SendNack();
|
||||||
364 2 }
|
364 2 }
|
||||||
|
@ -446,7 +446,7 @@ line level source
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 8
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 8
|
||||||
|
|
||||||
Uart2SendNack();
|
Uart2SendNack();
|
||||||
}
|
}
|
||||||
|
@ -510,7 +510,7 @@ line level source
|
||||||
{
|
{
|
||||||
if(ucUart2Buf[3+ucUart2Buf[UART_LENGTH]] == CRC8cal(&ucUart2Buf, ucUart2Buf[UART_LENGTH]+3))
|
if(ucUart2Buf[3+ucUart2Buf[UART_LENGTH]] == CRC8cal(&ucUart2Buf, ucUart2Buf[UART_LENGTH]+3))
|
||||||
{
|
{
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 9
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 9
|
||||||
|
|
||||||
ucSubClassID=ucUart2Buf[3];
|
ucSubClassID=ucUart2Buf[3];
|
||||||
|
|
||||||
|
@ -574,7 +574,7 @@ line level source
|
||||||
546 2 Uart0ReadInfo((U8 xdata *)&Info.uiICTempe[1]);
|
546 2 Uart0ReadInfo((U8 xdata *)&Info.uiICTempe[1]);
|
||||||
547 2 break;
|
547 2 break;
|
||||||
548 2
|
548 2
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 10
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 10
|
||||||
|
|
||||||
549 2 case FULL_CHG_CAP:
|
549 2 case FULL_CHG_CAP:
|
||||||
550 2 Uart0ReadInfo((U8 xdata *)&Info.ulFCC);
|
550 2 Uart0ReadInfo((U8 xdata *)&Info.ulFCC);
|
||||||
|
@ -638,7 +638,7 @@ line level source
|
||||||
/*************************************************************************************************
|
/*************************************************************************************************
|
||||||
* 函数名: Uart0RdCmdProcess
|
* 函数名: Uart0RdCmdProcess
|
||||||
* 参 数: 无
|
* 参 数: 无
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 11
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 11
|
||||||
|
|
||||||
* 返回值: 无
|
* 返回值: 无
|
||||||
* 描 述: UART读命令处理函数
|
* 描 述: UART读命令处理函数
|
||||||
|
@ -702,7 +702,7 @@ line level source
|
||||||
Uart1ReadInfo((U8 xdata *)&Info.uiCycleCount);
|
Uart1ReadInfo((U8 xdata *)&Info.uiCycleCount);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 12
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 12
|
||||||
|
|
||||||
case PACK_STATUS:
|
case PACK_STATUS:
|
||||||
Uart1ReadInfo((U8 xdata *)&Info.uiPackStatus);
|
Uart1ReadInfo((U8 xdata *)&Info.uiPackStatus);
|
||||||
|
@ -766,7 +766,7 @@ line level source
|
||||||
case CELL5:
|
case CELL5:
|
||||||
case CELL6:
|
case CELL6:
|
||||||
case CELL7:
|
case CELL7:
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 13
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 13
|
||||||
|
|
||||||
case CELL8:
|
case CELL8:
|
||||||
case CELL9:
|
case CELL9:
|
||||||
|
@ -830,7 +830,7 @@ line level source
|
||||||
Uart2ReadInfo((U8 xdata *)&Info.uiManuCommand);
|
Uart2ReadInfo((U8 xdata *)&Info.uiManuCommand);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 14
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 14
|
||||||
|
|
||||||
default: //read extern EEPRom data
|
default: //read extern EEPRom data
|
||||||
if(ucUart2Buf[UART_LENGTH] >= 128)
|
if(ucUart2Buf[UART_LENGTH] >= 128)
|
||||||
|
@ -894,7 +894,7 @@ line level source
|
||||||
* 函数名: Uart1CaliCurrent
|
* 函数名: Uart1CaliCurrent
|
||||||
* 参 数: 无
|
* 参 数: 无
|
||||||
* 返回值: 无
|
* 返回值: 无
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 15
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 15
|
||||||
|
|
||||||
* 描 述: UART1通讯发送校准总电压的数据
|
* 描 述: UART1通讯发送校准总电压的数据
|
||||||
*************************************************************************************************/
|
*************************************************************************************************/
|
||||||
|
@ -958,7 +958,7 @@ line level source
|
||||||
918 * 函数名: Uart0CaliCurrent、Uart0CaliCurOffset
|
918 * 函数名: Uart0CaliCurrent、Uart0CaliCurOffset
|
||||||
919 * 参 数: 无
|
919 * 参 数: 无
|
||||||
920 * 返回值: 无
|
920 * 返回值: 无
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 16
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 16
|
||||||
|
|
||||||
921 * 描 述: UART0通讯发送校准电流采集增益&Offset的数据
|
921 * 描 述: UART0通讯发送校准电流采集增益&Offset的数据
|
||||||
922 *************************************************************************************************/
|
922 *************************************************************************************************/
|
||||||
|
@ -1022,7 +1022,7 @@ line level source
|
||||||
| ((U32)ucUart1Buf[6]);
|
| ((U32)ucUart1Buf[6]);
|
||||||
|
|
||||||
if((!AFE.siCurr) || (!slExtCur))
|
if((!AFE.siCurr) || (!slExtCur))
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 17
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 17
|
||||||
|
|
||||||
{
|
{
|
||||||
Uart1SendNack();
|
Uart1SendNack();
|
||||||
|
@ -1086,7 +1086,7 @@ line level source
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 18
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 18
|
||||||
|
|
||||||
Uart2SendNack();
|
Uart2SendNack();
|
||||||
}
|
}
|
||||||
|
@ -1150,7 +1150,7 @@ line level source
|
||||||
1104 1 }
|
1104 1 }
|
||||||
1105 #endif
|
1105 #endif
|
||||||
1106
|
1106
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 19
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 19
|
||||||
|
|
||||||
1107 #if (UART1_DEFINE != 0)
|
1107 #if (UART1_DEFINE != 0)
|
||||||
/*************************************************************************************************
|
/*************************************************************************************************
|
||||||
|
@ -1214,7 +1214,7 @@ line level source
|
||||||
{
|
{
|
||||||
Uart2SendNack();
|
Uart2SendNack();
|
||||||
}
|
}
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 20
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 20
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1278,7 +1278,7 @@ line level source
|
||||||
if(ucUart1Buf[3+ucUart1Buf[UART_LENGTH]] == CRC8cal(&ucUart1Buf, ucUart1Buf[UART_LENGTH]+3))
|
if(ucUart1Buf[3+ucUart1Buf[UART_LENGTH]] == CRC8cal(&ucUart1Buf, ucUart1Buf[UART_LENGTH]+3))
|
||||||
{
|
{
|
||||||
for(i=0; i<7; i++)
|
for(i=0; i<7; i++)
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 21
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 21
|
||||||
|
|
||||||
{
|
{
|
||||||
ucExtRTC[i] = ucUart1Buf[3+i];
|
ucExtRTC[i] = ucUart1Buf[3+i];
|
||||||
|
@ -1342,7 +1342,7 @@ line level source
|
||||||
1290 2 break;
|
1290 2 break;
|
||||||
1291 2 case CALI_CUR_COMMAND:
|
1291 2 case CALI_CUR_COMMAND:
|
||||||
1292 2 Uart0CaliCurrent();
|
1292 2 Uart0CaliCurrent();
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 22
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 22
|
||||||
|
|
||||||
1293 2 break;
|
1293 2 break;
|
||||||
1294 2 case CALI_VOL_COMMAND:
|
1294 2 case CALI_VOL_COMMAND:
|
||||||
|
@ -1406,7 +1406,7 @@ line level source
|
||||||
break;
|
break;
|
||||||
case CALI_CUR_COMMAND:
|
case CALI_CUR_COMMAND:
|
||||||
Uart1CaliCurrent();
|
Uart1CaliCurrent();
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 23
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 23
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case CALI_VOL_COMMAND:
|
case CALI_VOL_COMMAND:
|
||||||
|
@ -1470,7 +1470,7 @@ line level source
|
||||||
break;
|
break;
|
||||||
case CALI_CUR_COMMAND:
|
case CALI_CUR_COMMAND:
|
||||||
Uart2CaliCurrent();
|
Uart2CaliCurrent();
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 24
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 24
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case CALI_VOL_COMMAND:
|
case CALI_VOL_COMMAND:
|
||||||
|
@ -1534,7 +1534,7 @@ line level source
|
||||||
1476 3 }
|
1476 3 }
|
||||||
1477 2 else
|
1477 2 else
|
||||||
1478 2 {
|
1478 2 {
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 25
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 25
|
||||||
|
|
||||||
1479 3 uiReceCheckSum = 0; //帧头判断正确
|
1479 3 uiReceCheckSum = 0; //帧头判断正确
|
||||||
1480 3 ucUartErrCode = 0;
|
1480 3 ucUartErrCode = 0;
|
||||||
|
@ -1598,7 +1598,7 @@ line level source
|
||||||
1538 3
|
1538 3
|
||||||
1539 3 Uart0SendAck();
|
1539 3 Uart0SendAck();
|
||||||
1540 3 }
|
1540 3 }
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 26
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 26
|
||||||
|
|
||||||
1541 2 }
|
1541 2 }
|
||||||
1542 1 }
|
1542 1 }
|
||||||
|
@ -1662,7 +1662,7 @@ line level source
|
||||||
if(ucUartErrCode != 0) //如果有错误代码则不执行命令处理
|
if(ucUartErrCode != 0) //如果有错误代码则不执行命令处理
|
||||||
{
|
{
|
||||||
ucUart1Buf[INDEXES] = ucUartErrCode;
|
ucUart1Buf[INDEXES] = ucUartErrCode;
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 27
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 27
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1726,7 +1726,7 @@ line level source
|
||||||
}
|
}
|
||||||
if(ucUart2BufPT == (TARGET+1)) //检查ID
|
if(ucUart2BufPT == (TARGET+1)) //检查ID
|
||||||
{
|
{
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 28
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 28
|
||||||
|
|
||||||
if(ucUart2Buf[TARGET] != IAP_BMSID)
|
if(ucUart2Buf[TARGET] != IAP_BMSID)
|
||||||
{
|
{
|
||||||
|
@ -1790,7 +1790,7 @@ line level source
|
||||||
1724 ucUart0Buf[1]--CMD No.
|
1724 ucUart0Buf[1]--CMD No.
|
||||||
1725 ucUart0Buf[2]--Offset
|
1725 ucUart0Buf[2]--Offset
|
||||||
1726 ucUart0Buf[3]--Data Length
|
1726 ucUart0Buf[3]--Data Length
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 29
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 29
|
||||||
|
|
||||||
1727 ucUart0Buf[4...]--Data
|
1727 ucUart0Buf[4...]--Data
|
||||||
1728 *************************************************************************************************/
|
1728 *************************************************************************************************/
|
||||||
|
@ -1854,7 +1854,7 @@ line level source
|
||||||
1785
|
1785
|
||||||
1786 /*************************************************************************************************
|
1786 /*************************************************************************************************
|
||||||
1787 * 函数名: InterruptUart0AppTx
|
1787 * 函数名: InterruptUart0AppTx
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 30
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 30
|
||||||
|
|
||||||
1788 * 参 数: 无
|
1788 * 参 数: 无
|
||||||
1789 * 返回值: 无
|
1789 * 返回值: 无
|
||||||
|
@ -1918,7 +1918,7 @@ line level source
|
||||||
1845 1 {
|
1845 1 {
|
||||||
1846 2 ucUart0TimeoutCnt = 0;
|
1846 2 ucUart0TimeoutCnt = 0;
|
||||||
1847 2 ucUart0BufPT = 0;
|
1847 2 ucUart0BufPT = 0;
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 31
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 31
|
||||||
|
|
||||||
1848 2 Uart0RxEn(); //UART允许接收数据
|
1848 2 Uart0RxEn(); //UART允许接收数据
|
||||||
1849 2 }
|
1849 2 }
|
||||||
|
@ -1982,7 +1982,7 @@ line level source
|
||||||
{
|
{
|
||||||
Uart1WrCmdProcess(); //Write the command peocess
|
Uart1WrCmdProcess(); //Write the command peocess
|
||||||
bUart1WriteFlg = 0; //PC write MCU communiaction over
|
bUart1WriteFlg = 0; //PC write MCU communiaction over
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 32
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 32
|
||||||
|
|
||||||
ucUart1BufPT = 0;
|
ucUart1BufPT = 0;
|
||||||
}
|
}
|
||||||
|
@ -2046,7 +2046,7 @@ line level source
|
||||||
|
|
||||||
ucSleepTimerCnt = 0; //UART正常通讯会清零低功耗计数,UART复位计数
|
ucSleepTimerCnt = 0; //UART正常通讯会清零低功耗计数,UART复位计数
|
||||||
ucPDTimerCnt = 0;
|
ucPDTimerCnt = 0;
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 33
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 33
|
||||||
|
|
||||||
ucUart1TimeoutCnt = 0;
|
ucUart1TimeoutCnt = 0;
|
||||||
}
|
}
|
||||||
|
@ -2110,7 +2110,7 @@ line level source
|
||||||
else if(ucUart2Buf[HEARD1] != 0x5A) //判断是否为IAP/ISP的起始帧
|
else if(ucUart2Buf[HEARD1] != 0x5A) //判断是否为IAP/ISP的起始帧
|
||||||
{
|
{
|
||||||
ucUart2BufPT = 0; //如果帧头错误,则复位指针
|
ucUart2BufPT = 0; //如果帧头错误,则复位指针
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 34
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 34
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2174,7 +2174,7 @@ line level source
|
||||||
else if((ucUart2BufPT==0) || (ucUart2BufPT>=ucUart2Buf[UART_LENGTH]+3))
|
else if((ucUart2BufPT==0) || (ucUart2BufPT>=ucUart2Buf[UART_LENGTH]+3))
|
||||||
{
|
{
|
||||||
Uart2RxEn(); //UART允许接收数据
|
Uart2RxEn(); //UART允许接收数据
|
||||||
C51 COMPILER V9.01 UARTAPP 02/11/2025 15:43:03 PAGE 35
|
C51 COMPILER V9.01 UARTAPP 02/13/2025 10:07:27 PAGE 35
|
||||||
|
|
||||||
ucUart2BufPT = 0;
|
ucUart2BufPT = 0;
|
||||||
bUart2ReadFlg = 0;
|
bUart2ReadFlg = 0;
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue