更新P档

This commit is contained in:
sunbeam0529 2025-05-08 19:03:56 +08:00
parent 2ff30e9e7d
commit 72bcdbcd91
7 changed files with 2771 additions and 2843 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,88 +1,17 @@
QualityReport
2025年4月30日 14:01:30
2025年5月8日 19:02:38
------ Start build(ECU_APP, DefaultBuild) ------
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe DataFlash\r_pfdl.c rscan_driver\RL78_RCAN.c rscan_driver\r_rl78_can_drv.c rscan_driver\r_rl78_can_irq.c r_systeminit.c r_main.c r_cg_wdt_user.c r_cg_wdt.c r_cg_timer_user.c r_cg_timer.c r_cg_port_user.c r_cg_port.c r_cg_cgc_user.c r_cg_cgc.c r_cg_adc_user.c r_cg_adc.c sys\VectorTable.c CanNw\CanNw.c CanNw\CanNwConfig.c diagnose\Dcm_App.c diagnose\Dcm_App_Cfg.c diagnose\Dcm_Cfg.c diagnose\Dcm_DID.c diagnose\Dcm_DID_Cfg.c diagnose\Dcm_Key.c diagnose\extern.c diagnose\CanIf\CanIf.c diagnose\CanIf\CanIf_Cfg.c diagnose\CanTp\CanTp_Cfg.c diagnose\CanTrcv\CanTrcv.c diagnose\CanTrcv\CanTrcv_Cfg.c diagnose\DTC\DCM_DTC.c diagnose\Dcm.c diagnose\CanTp\CanTp.c user\appTask.c user\can_user.c user\hwCtrl.c user\CRC.c -cpu=S3 -obj_path=DefaultBuild "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10BGG.DVF" -g -g_line -I diagnose\DTC -I diagnose\CanTrcv -I sys -I . -I rscan_driver -I diagnose -I DataFlash -I CanNw -I diagnose\CanTp -I diagnose\CanIf -I user -D DEBUG1 -c -msg_lang=english
DataFlash\r_pfdl.c(107):W0520188:Enumerated type mixed with another type
DataFlash\r_pfdl.c(137):W0520188:Enumerated type mixed with another type
DataFlash\r_pfdl.c(162):W0520188:Enumerated type mixed with another type
DataFlash\r_pfdl.c(166):W0520940:Missing return statement at end of non-void function "WriteDataflash"
DataFlash\r_pfdl.c(248):W0520188:Enumerated type mixed with another type
DataFlash\r_pfdl.c(254):W0520188:Enumerated type mixed with another type
DataFlash\r_pfdl.c(262):W0520188:Enumerated type mixed with another type
DataFlash\r_pfdl.c(292):W0520513:A value of type "uint32_t __near" cannot be assigned to an entity of type "volatile uint8_t *"
rscan_driver\r_rl78_can_drv.c(846):W0523076:Function declarations should have prototype
r_cg_timer_user.c(142):W0520167:Argument of type "uint16_t __near *" is incompatible with parameter of type "unsigned int *__near"
diagnose\Dcm_App.c(296):W0520549:Variable "DcmResetDelay" is used before its value is set
diagnose\Dcm_App.c(320):W0520177:Variable "ResetDelayCnt" was declared but never referenced
diagnose\Dcm_App.c(470):W0520177:Variable "ResetDelayCnt" was declared but never referenced
diagnose\Dcm_App.c(899):W0520549:Variable "LeDcm_u_Result" is used before its value is set
diagnose\Dcm_App.c(966):W0520549:Variable "LeDcm_u_Result" is used before its value is set
diagnose\Dcm_App.c(917):W0520177:Variable "LaDcm_u_TempBuffer" was declared but never referenced
diagnose\Dcm_App.c(1281):W0520940:Missing return statement at end of non-void function "MngDcm_RoutineF001Start"
diagnose\Dcm_App.c(1285):W0520940:Missing return statement at end of non-void function "MngDcm_RoutineF001Stop"
diagnose\Dcm_App.c(1289):W0520940:Missing return statement at end of non-void function "MngDcm_RoutineF001Result"
diagnose\Dcm_App.c(1559):W0520177:Variable "temp" was declared but never referenced
diagnose\Dcm_App.c(1906):W0520549:Variable "LeDcm_u_FinallyResult" is used before its value is set
diagnose\Dcm_App.c(1840):W0520177:Variable "LeDcm_u_dataFomatldentifier" was declared but never referenced
diagnose\Dcm_App.c(1841):W0520177:Variable "LeDcm_u_addressAndLengthFomatldentifier" was declared but never referenced
diagnose\Dcm_App.c(1842):W0520177:Variable "LeDcm_w_Address" was declared but never referenced
diagnose\Dcm_App.c(1843):W0520177:Variable "LeDcm_w_DataLength" was declared but never referenced
diagnose\Dcm_App.c(1844):W0520177:Variable "LeDcm_u_SidIndex" was declared but never referenced
diagnose\Dcm_App.c(1845):W0520177:Variable "LeDcm_u_SecurityAccessCheckResult" was declared but never referenced
diagnose\Dcm_App.c(1846):W0520177:Variable "LaDcm_u_TempBuffer" was declared but never referenced
diagnose\Dcm_App.c(2010):W0520549:Variable "LeDcm_u_FinallyResult" is used before its value is set
diagnose\Dcm_App.c(1926):W0520177:Variable "LeDcm_w_SingleTransmitDataCount" was declared but never referenced
diagnose\Dcm_App.c(1927):W0520177:Variable "LeDcm_u_BlockSequenceCount" was declared but never referenced
diagnose\Dcm_App.c(1928):W0520177:Variable "LeDcm_u_BlockExpect" was declared but never referenced
diagnose\Dcm_App.c(1929):W0520177:Variable "LaDcm_u_TempBuffer" was declared but never referenced
diagnose\Dcm_App.c(60):W0520177:Variable "CeDcm_w_SecurityAccessFBLMask" was declared but never referenced
diagnose\Dcm_App.c(63):W0520177:Variable "SeDcm_w_DownLoadDataLength" was declared but never referenced
diagnose\Dcm_App.c(64):W0520177:Variable "SeDcm_w_TransmitDataCount" was declared but never referenced
diagnose\Dcm_App.c(65):W0520177:Variable "SeDcm_u_BlockSequenceCountSts" was declared but never referenced
diagnose\Dcm_App.c(66):W0520177:Variable "CaDcm_w_SingleAllowDateLength" was declared but never referenced
diagnose\Dcm_App.c(71):W0520177:Variable "SeDcm_u_RidF001Sts" was declared but never referenced
diagnose\Dcm_Cfg.c(83):W0520144:A value of type "uint8 (__far *)(void)" cannot be used to initialize an entity of type "SubDealfunc"
diagnose\Dcm_Cfg.c(84):W0520144:A value of type "uint8 (__far *)(void)" cannot be used to initialize an entity of type "SubDealfunc"
diagnose\Dcm_Cfg.c(87):W0520144:A value of type "uint8 (__far *)(void)" cannot be used to initialize an entity of type "SubDealfunc"
diagnose\Dcm_Cfg.c(1157):W0520940:Missing return statement at end of non-void function "MngDcm_ReadMemoryDataService"
diagnose\Dcm_Cfg.c(1179):W0520167:Argument of type "const TsDcm_h_WithParaSubCheckType __near *" is incompatible with parameter of type "const TsDcm_h_SubCheckType __far *__near"
diagnose\Dcm_Cfg.c(1199):W0520167:Argument of type "const TsDcm_h_WithParaSubCheckType __near *" is incompatible with parameter of type "const TsDcm_h_SubCheckType __far *__near"
diagnose\Dcm_Cfg.c(1240):W0520167:Argument of type "const TsDcm_h_WithParaSubCheckType __near *" is incompatible with parameter of type "const TsDcm_h_SubCheckType __far *__near"
diagnose\Dcm_Cfg.c(1259):W0520167:Argument of type "const TsDcm_h_WithParaSubCheckType __near *" is incompatible with parameter of type "const TsDcm_h_SubCheckType __far *__near"
diagnose\Dcm_Cfg.c(1294):W0520177:Variable "i" was declared but never referenced
diagnose\Dcm_Cfg.c(1304):W0520177:Variable "LeDcm_u_CollectDataPost" was declared but never referenced
diagnose\Dcm_Cfg.c(1597):W0520177:Variable "LeDcm_u_DLCheckResult" was declared but never referenced
diagnose\Dcm_Cfg.c(1603):W0520177:Variable "LeDcm_u_CollectDataPost" was declared but never referenced
diagnose\Dcm_Cfg.c(509):W0520177:Function "MngDcm_2AReadDidCheckDL" was declared but never referenced
diagnose\Dcm_Cfg.c(551):W0520177:Function "MngDcm_IoDidCheckDL" was declared but never referenced
diagnose\Dcm_Key.c(76):W0520177:Variable "key_test" was declared but never referenced
diagnose\Dcm_Key.c(108):W0520940:Missing return statement at end of non-void function "GENERIC_ALGORITHM"
diagnose\CanIf\CanIf.c(299):W0520550:Variable "temp" was set but never used
diagnose\CanIf\CanIf.c(389):W0520188:Enumerated type mixed with another type
diagnose\CanIf\CanIf.c(20):W0520550:Variable "TsCanIf_h_TxQueue" was set but never used
diagnose\CanIf\CanIf_Cfg.c(33):W0520009:Nested comment is not allowed
diagnose\CanIf\CanIf_Cfg.c(43):W0520009:Nested comment is not allowed
diagnose\DTC\DCM_DTC.c(111):W0520167:Argument of type "uint32 __near *" is incompatible with parameter of type "unsigned char *__near"
diagnose\DTC\DCM_DTC.c(175):W0520167:Argument of type "uint8 __near (*)[2]" is incompatible with parameter of type "unsigned char *__near"
diagnose\DTC\DCM_DTC.c(166):W0520177:Variable "DtcSnapshotRecord" was declared but never referenced
diagnose\DTC\DCM_DTC.c(780):W0520167:Argument of type "uint8 __near (*)[28]" is incompatible with parameter of type "unsigned char *__near"
diagnose\DTC\DCM_DTC.c(97):W0520177:Function "ChkDiagVolt" was declared but never referenced
diagnose\DTC\DCM_DTC.c(107):W0520177:Function "GetLastSnapshotRecordNum" was declared but never referenced
diagnose\Dcm.c(69):W0520550:Variable "LeDcm_u_FinallyResult" was set but never used
diagnose\CanTp\CanTp.c(192):W0520069:Integer conversion resulted in truncation
diagnose\CanTp\CanTp.c(786):W0520188:Enumerated type mixed with another type
user\appTask.c(48):W0520177:Variable "err_counter" was declared but never referenced
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe cstart.asm stkinit.asm -cpu=S3 -obj_path=DefaultBuild "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10BGG.DVF" -g -c -msg_lang=english
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe diagnose\extern.c -cpu=S3 -obj_path=DefaultBuild "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10BGG.DVF" -g -g_line -I diagnose\DTC -I diagnose\CanTrcv -I sys -I . -I rscan_driver -I diagnose -I DataFlash -I CanNw -I diagnose\CanTp -I diagnose\CanIf -I user -D DEBUG1 -c -msg_lang=english
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\rlink.exe -subcommand=DefaultBuild\ECU_APP.clnk
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
RAMDATA SECTION: 00000bed Byte(s)
ROMDATA SECTION: 000006fd Byte(s)
PROGRAM SECTION: 00004f0a Byte(s)
PROGRAM SECTION: 00004f09 Byte(s)
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
Renesas Optimizing Linker Completed
------ Build ended(Error:0, Warning:73)(ECU_APP, DefaultBuild) ------
------ Build ended(Error:0, Warning:3)(ECU_APP, DefaultBuild) ------
--- CommandFile 1 ---
DefaultBuild\ECU_APP.clnk :
@ -167,9 +96,9 @@ DefaultBuild\ECU_APP.clnk :
--- SHA1 hash value of output files ---
F:\work\LYFJDB\CODE\ECU_APP\DefaultBuild\ECU_APP.abs: 39d7816aba54d3989156da3d1181342037f89597
F:\work\LYFJDB\CODE\ECU_APP\OutPut\ECU_APP.mot: e2a242b0357e2b2dc263694970a8e5309c73fe42
F:\work\LYFJDB\CODE\ECU_APP\output\ECU_APP.S19: 9a5c84ca377ddc2cb9ec22dd7b25bd5e860cc5bd
F:\work\LYFJDB\CODE\ECU_APP\DefaultBuild\ECU_APP.abs: 234ce0e88704db197ff647d5b3d2bab3a9e2baad
F:\work\LYFJDB\CODE\ECU_APP\OutPut\ECU_APP.mot: 9bac45d57cf06531fd328847477a13291dcd4f67
F:\work\LYFJDB\CODE\ECU_APP\output\ECU_APP.S19: 6c1c5dabb5041d8efede3a9bf52f92428e487e84
--- System Information ---
@ -197,11 +126,11 @@ F:\work\LYFJDB\CODE\ECU_APP\output\ECU_APP.S19: 9a5c84ca377ddc2cb9ec22dd7b25bd5e
C:\Program Files (x86)\Renesas Electronics\CS+\CC
*Memory Usage
*Private Working Set
178 MB
220 MB
*Number of GDI Objects
2116
2147
*Number of USER Objects
1184
1177
*Opened Files
6 editors, 6 files, 61 KB

View File

@ -31,7 +31,7 @@ __far const unsigned char SW_VERSION[]={
'2' , //AC_SW_VERSION_04
'.' , //AC_SW_VERSION_05
'0' , //AC_SW_VERSION_06
'0' , //AC_SW_VERSION_07
'1' , //AC_SW_VERSION_07
' ' , //AC_SW_VERSION_08
' ' , //AC_SW_VERSION_09
' ' , //AC_SW_VERSION_10

File diff suppressed because it is too large Load Diff

View File

@ -107,8 +107,8 @@ S3090000A5D4F84030888D
S3150000A5D8CBF820FEFC82AE003676E530EEF0EF04CE
S3150000A5E8CC0000A747DFF93620FE3020FEEF04CC6A
S3150000A5F80000A747DFF94100326600EF08B31149AA
S3150000A608E4F44810E5F643DFF44100320000EF08B1
S3150000A618B311494AF54820FEF643DFF4FC87AE003D
S3150000A608E2F44810E5F643DFF44100320000EF08B3
S3150000A618B3114948F54820FEF643DFF4FC87AE003F
S3150000A628F6EFFED730F401BF5CF032ACF0E1FCED9A
S3150000A638AC00AFACF0444107DD0544DF07DF2C442E
S3150000A648DF07DF1240B5F03EDF0C40B6F080DF06CC
@ -118,7 +118,7 @@ S3150000A678FC448000DE0DE599E5E15FB5F09FA2E5B3
S3150000A688E59BE513446501DF12364DE531850C542B
S3150000A6980832B4F03084F0ECBAF100D7D7D7345882
S3150000A6A803A9085CEF08B9D700D761FCE584E5EC97
S30D0000A6B85FAF00D7EC5FF40070
S30D0000A6B85FAF00D7EC5EF40071
S3150000A6C0C116F645DD094900009BA3A7B5EFF3C007
S3060000A6D0D7AC
S3150000A6D27100900016BF04088C019F0108E503086B
@ -954,7 +954,7 @@ S3150000DAA0DD0073C4C56399E1C2D7C15106FC5BDDD5
S3150000DAB00073C4C56399E1C2D7C15107FC5BDD00A1
S3150000DAC073C4C56399E1C2D7E1D7E1D7E1D7E1D7FE
S3150000DAD0E1D7E1D7E1D7E1D7E1D7E1D7E1D7E1D780
S3150000DAE0E1D7E1D7E1D7E1D7E1D7E1D7E1D7FC9B91
S3150000DAE0E1D7E1D7E1D7E1D7E1D7E1D7E1D7FC9A92
S3150000DAF0F400E1D7E1D7FCB4F100E1D7E1D714F1A6
S3150000DB0073318E05168B1831E583634C08DFF251AD
S3150000DB1005FC2ADF007253083031E5FCC3DD00D175
@ -1256,14 +1256,14 @@ S3150000ED80DD3491DD1791DD1E91F19803DD069802C1
S3150000ED909800EF2A98029800510AEF22C8020AF159
S3150000EDA098039800EF18C8030AF1EFE2C80005EFD0
S3150000EDB008C80007EF03C8000AF1980398024F4AF3
S3150000EDC0E5E061E3F0F19801F1FCE0F30088004F23
S3150000EDC0E5E061E3F0F19801F1FCDFF30088004F24
S3150000EDD04AE561D303E19801E19800880170E1FCFE
S3150000EDE0E0F30088024F4AE561C303F19800C0C111
S3150000EDF05102FCE0F30088034F4AE5E061E3F0517D
S3150000EE0003FCE0F3008F4AE5819F4AE54C0A61C89E
S3150000EE10F54AE51004D7E1FCD5F3009F70F0F1FC4C
S3150000EE20D5F3009F6FF05102FCD5F3009F71F051AE
S3150000EE3003FCD5F3009F72F0D73670F0511F5F7C4C
S3150000EDE0DFF30088024F4AE561C303F19800C0C112
S3150000EDF05102FCDFF30088034F4AE5E061E3F0517E
S3150000EE0003FCDFF3008F4AE5819F4AE54C0A61C89F
S3150000EE10F54AE51004D7E1FCD4F3009F70F0F1FC4D
S3150000EE20D4F3009F6FF05102FCD4F3009F71F051B0
S3150000EE3003FCD4F3009F72F0D73670F0511F5F7C4D
S3150000EE40F07184366FF071D97184367DF071813638
S3150000EE5071F071843672F071E9718471F99F7CF0FA
S3150000EE60D7D7D7D72024E6C1AEF8040400B80234B9
@ -1291,7 +1291,7 @@ S3150000EFB0FE250030E803BF66F08F68F04C05DE04DE
S3150000EFC0819F68F0D7D568F0DD0AAF66F0F7436138
S3150000EFD0F8F568F0F552E5D7345003F789718B9947
S3150000EFE00089718A99AF0C0343DD04F6BF0C035404
S3150000EFF004A9085CFC08B9D7C7F1FC51F400143227
S3150000EFF004A9085CFC08B9D7C7F1FC50F400143228
S3150000F0001D01CEFB01316C31AE03BF74F0153254D5
S3150000F0106FCEFB0114C0C3316CA80031AEB8001529
S3150000F02031AE031404BC0216BF76F0A8001261D8F4
@ -1350,36 +1350,36 @@ S3150000F360E50163FE9BFFEF2CD2DF2988005002D611
S3150000F37012796EE5440000DF178800730962E59193
S3150000F380DF058800FE84FF8800731962E500EF043C
S3150000F390B1786EE588008198004C04DF9EC0D7D115
S3150000F3A0DD1591DD1B91DD1E91DF0A5103FEA100E3
S3150000F3B0441400DC14F1D78D06313A5C017C01D788
S3150000F3C08D06312AEFF5E1EFE45102FE830044E9B0
S3150000F3D003E13C00D74C04DE05730962E5D7F1D79B
S3150000F3E0C1D1DD0E91DD1B91DD2891DD2F91DD333D
S3150000F3F0C0D7D0502061F8F051DF5B0161689D01F4
S3150000F400C0C1D0504061F8F051BF5B0161689D01F9
S3150000F410EFDED0508061F8F0517FEFEED0E0DF27CD
S3150000F420F0EF24D0DF065A01DFF0EF056A01205025
S3150000F4304051BF5B0161689D018800D1DF055A011B
S3150000F4407FEFDD6A0180E051FE5B0361089D03EFFB
S3150000F4509F4C04DE085002D61279D6F0D7F6D78E26
S3150000F46031D1DD0D91DD1591DD1D91DD25CE31000A
S3150000F470D730D6F0FCFEB100CE3101D730D8F0FC43
S3150000F480FEB100CE3102D730DAF0FCFEB100CE314B
S3150000F49003D730DCF0FCFEB100EFD214CA0000D76F
S3150000F4A01653FF62318EA104FFFF1463DD17500867
S3150000F4B07D7261017362317504637CB8739063DF9A
S3150000F4C0F0A715EFE27CFFD71653FF62318EA10439
S3150000F4D0FFFF1463DD0A7D73A709D8A47315EFEF48
S3080000F4E07CFFD7D1
S3150000F4E400000000000000003200C8007856341204
S3150000F4F411121314222431333536377F727173781F
S3150000F5047E00112233445566778899AABBCCDDEE7A
S3150000F514FF000000000000000000000000030300DC
S3150000F52432000000D00701030000000000000000C4
S3150000F53400000000000000000000000000000000C1
S30B0000F544000000000000BB
S3150000F3A0DD1591DD1A91DD1D91DF0A5103FEA000E6
S3150000F3B0441400DC13F1D78D06313A5C01EF03E10A
S3150000F3C05B067C01D7E1EFE55102FE830044E903C9
S3150000F3D0E13C00D74C04DE05730962E5D7F1D7C1DD
S3150000F3E0D1DD0E91DD1B91DD2891DD2F91DD33C03E
S3150000F3F0D7D0502061F8F051DF5B0161689D01C0F4
S3150000F400C1D0504061F8F051BF5B0161689D01EFCA
S3150000F410DED0508061F8F0517FEFEED0E0DF27F0CC
S3150000F420EF24D0DF065A01DFF0EF056A01205040D5
S3150000F43051BF5B0161689D018800D1DF055A017FDC
S3150000F440EFDD6A0180E051FE5B0361089D03EF9FDB
S3150000F4504C04DE085002D61279D6F0D7F6D78E3194
S3150000F460D1DD0D91DD1591DD1D91DD25CE3100D764
S3150000F47030D6F0FCFEB100CE3101D730D8F0FCFE1C
S3150000F480B100CE3102D730DAF0FCFEB100CE310346
S3150000F490D730DCF0FCFEB100EFD214CA0000D7165C
S3150000F4A053FF62318EA104FFFF1463DD1750087D00
S3150000F4B07261017362317504637CB8739063DFF027
S3150000F4C0A715EFE27CFFD71653FF62318EA104FF2A
S3150000F4D0FF1463DD0A7D73A709D8A47315EFEF7CCB
S3070000F4E0FFD74E
S3150000F4E200000000000000003200C8007856341206
S3150000F4F211121314222431333536377F7271737821
S3150000F5027E00112233445566778899AABBCCDDEE7C
S3150000F512FF000000000000000000000000030300DE
S3150000F52232000000D00701030000000000000000C6
S3150000F53200000000000000000000000000000000C3
S30B0000F542000000000000BD
S31500019C0048573031303020202020202020202020AD
S31500019C1030312E30322E303020202020203032308C
S31500019C1030312E30322E303120202020203032308B
S31200019C20312020202020202020202020207F
S30900019FF0AA5555AA68
S9030000FC

View File

@ -14,7 +14,7 @@
#define O_IND6_CTRL P12_bit.no0
#define I_SW_LOCK_IN P6_bit.no3
#define I_SW_L_IN P6_bit.no2
#define I_SW_P_IN P6_bit.no0
#define I_SW_RE1 P6_bit.no0
#define I_SW_RE2 P6_bit.no1

View File

@ -107,7 +107,7 @@ uint8_t GetIOState(uint8_t keyno)
case SIGID_SW_LOCK_IN:
return I_SW_LOCK_IN==0?1:0;
case SIGID_SW_P_IN:
return I_SW_L_IN==0?1:0;
return I_SW_P_IN==0?1:0;
case SIGID_SW_ShiftGaresPlus:
return (getAdval(ADCH_HALL_F)<20 && getAdval(ADCH_HALL_N)>1000)?1:0;
case SIGID_SW_ShiftGaresMinus: