Commit 854cc4da authored by hu's avatar hu

调整过压保护编译不过问题。

parent 5eab9da6
......@@ -232,7 +232,6 @@ primaryTarget=v800_standalone.tgt
-notda
-preprocess_assembly_files
-registermode=22
-reserve_r2
-object_dir=.\obj
-o project.out
-kanji=utf8
......@@ -261,6 +260,10 @@ primaryTarget=v800_standalone.tgt
-I..\source\Application\APP\Data_DrivingSupport
-I..\source\Application\APP\Data_Voltmeter
-I..\source\Application\APP\Data_WET
-rh850_4bytewordoffset
-reserve_r2
-DPlatform_32Bit
-Ogeneral
.\group\Application.gpj
.\group\Driver.gpj
.\group\Graphic.gpj
......
......@@ -356,7 +356,7 @@ Power_Status_t Power_Stay_Protect(void)
//CAN_SET_NM_SEND(1u);
CAN_TX_SetEnable(0);
/*一定周期调用2ms*/
//Gen_TimeDelay(2000u, 50u);
Gen_TimeDelay(2000u, 50u);
DoCAN_Communication_Service( );
UDS_Server_Application_Service( );
UDS_10ms_Service( );
......
......@@ -56,7 +56,7 @@ CONSTANTS
MEMORY
{
//#if (WITHOUT_BOOT)
iROM_0 : ORIGIN = 0x00000000, LENGTH = 5120k
iROM_0 : ORIGIN = 0x00000000, LENGTH = 4096k
//#else
//iROM_0 : ORIGIN = 0x00200400, LENGTH = 2048k
//#endif
......@@ -81,7 +81,7 @@ SECTIONS
.text align(4) :>. /* program code area */
.rozdata :>. /* constant datas in ZDA area */
.rozdata align(4) :>. /* constant datas in ZDA area */
.robase align(4) :>. /* initialize textpointer TP for SDA addressing */
.rosdata align(4) :>. /* constant datas in SDA area */
.rodata align(4) :>. /* constant datas in normal area */
......@@ -91,11 +91,11 @@ SECTIONS
.secinfo align(4) :>. /* ghs internal (runtime library) */
.syscall align(4) :>. /* ghs internal (linker) */
.romdata ROM(.data) :>. /* constant data to initialize variables (copied to RAM at startup)*/
.romzdata ROM(.zdata) :>. /* constant data to initialize variables in ZDA area (copied to RAM at startup)*/
.romsdata ROM(.sdata) :>. /* constant data to initialize variables in SDA area (copied to RAM at startup)*/
.romtdata ROM(.tdata) :>. /* constant data to initialize variables in TDA area (copied to RAM at startup)*/
.ROM.ramfunc ROM(.ramfunc) :>. /* program code to be copied to RAM (copied to RAM at startup) */
.romdata ROM(.data) align(4) :>. /* constant data to initialize variables (copied to RAM at startup)*/
.romzdata ROM(.zdata) align(4) :>. /* constant data to initialize variables in ZDA area (copied to RAM at startup)*/
.romsdata ROM(.sdata) align(4) :>. /* constant data to initialize variables in SDA area (copied to RAM at startup)*/
.romtdata ROM(.tdata) align(4) :>. /* constant data to initialize variables in TDA area (copied to RAM at startup)*/
.ROM.ramfunc ROM(.ramfunc) align(4) :>. /* program code to be copied to RAM (copied to RAM at startup) */
/* Renesas FDL Program code sections */
......@@ -103,7 +103,7 @@ SECTIONS
.R_FDL_Const align(4) :>. /* FDL constants in ROM */
/* Start of internal RAM area (iRAM) */
.data :>iRAM_0 /* initialized data */
.data align(4) :>iRAM_0 /* initialized data */
.bss align(4) :>. /* zero initialized data*/
//.sdabase align(4) :>. /* initialize globalpointer GP for SDA addressing */
......@@ -114,9 +114,9 @@ SECTIONS
.zdata align(4) :>. /* initialized data in ZDA area*/
.zbss align(4) :>. /* zero initialized data in ZDA area*/
.tdata align(4) MAX_SIZE(0x0100) :>. /* initialized and zero-initialized data in TDA area */
.tdata align(4) MAX_SIZE(0x0400) :>. /* initialized and zero-initialized data in TDA area */
.ramfunc align(4) :>. /* program code in RAM area */
.stack align(4) pad(0x4000) :>. /* definition of stack size */
.stack align(4) pad(0x8000) :>. /* definition of stack size */
/* Renesas FDL data sections */
......
......@@ -123,16 +123,16 @@ void Sys_Run_Mode_Pseudo_Real_Time_Tasks(void)
------------------------------------------------------------------------------*/
void Sys_Run_Mode_2ms_Tasks(void)
{
uint16_t m16_FrameCnt;
uint32_t m32_FrameCnt;
UDS_KL15_init();
Analog_Signal_Conv_Service();
Sys_Status_Update_Service();
Common_Input_Para();
m16_FrameCnt = Common_GetHMI_StartAnimationFrameCnt();
m16_FrameCnt = m16_FrameCnt / 4u;
m32_FrameCnt = Common_GetHMI_StartAnimationFrameCnt();
m32_FrameCnt = m32_FrameCnt / 4u;
if (m16_FrameCnt >= FRAMECNTFLAG)
if (m32_FrameCnt >= FRAMECNTFLAG)
{
Gauges_Time_Xms_Count(2);
}
......@@ -303,9 +303,8 @@ void Sys_Sleep_Mode_Tasks(void)
------------------------------------------------------------------------------*/
void Sys_Exact_50us_Tasks(void)
{
static uint16_t PerCounter = 0u;
//GenDelay_Tick();
static uint32_t PerCounter = 0u;
GenDelay_Tick();
Sys_Rolling();
COM_NM_Process();
COM_TX_Process();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment