prj_sci_cfg/inc/, Sci_Timer.cfg updated
MainControl_cfg.c
brings error: not defined.
/* e_TIMER_MCtrlLatchReleaseTime */ TIMER_ID_MCtrlLatchReleaseTime ,
/* e_TIMER_MCtrlLatchReleaseTime */ TIMER_ID_MCtrlLatchStateTransDelayTime,
};
18:12 updated
automaticmoveControl_Para.cfg
MainControl_Para.cfg
MainControl_MainFsm.c
MotorGroupB_cfg.c
Parameter_cfg.c
PowerManager_cfg.c
16:25
1. in MainControl_LatchFsm.c
static void MainFsm_LatchOpening_Entry(void)
{
mb_LatchReleaseRequest = TRUE;
2. in MCtrl_LatchFsm_Idl()
if( TRUE == mb_LatchReleaseRequest)
{ MainLatchFsm.FsmStateNext = FSM_LATCH_RELEASE; }
2019/4/28--15:26
after MCtrl_HandleHmiRequest()
in MainControlFSM(&MainLatchFsm)
state not changed.
what trig it change?
Discovery:
port_cfg.h
witti:
#define PORT_CONFIG_PIN_E0_USAGE PORT_CONFIG_GPIO_OUT
magna:
#define PORT_CONFIG_PIN_E0_USAGE PORT_CONFIG_ALT1_OUT
in m_pot_bsw_cfg, Dlt_sci.c:
SIU.PCR[PORT_C_PIN_8].R = PORT_CONFIG_ALT1_OUT; /* SW_DEB_TX */
SIU.PCR[PORT_C_PIN_9].R = PORT_CONFIG_GPIO_IN; /* SW_DEB_RX */
sci_buscontrol.h
#define SCI_USE_BSW_NWK_Write_LatchPosStatus
Sci_IoHwAbMapping.cfg
PWM_CHANNEL_CFG ( E_BSW_PWO_MOTOR_B , BSWIF_PWM_MOTOR_B )
Sci_Constraints_cfg_If.h
#define DIA_ERROR_RESULT_LATCH_MSK_SPARE_TimeoutRelease (0x01)
#define DIA_ERROR_RESULT_LATCH_MSK_SPARE_TimeoutHomeShort (0x02)
#define DIA_ERROR_RESULT_LATCH_MSK_SPARE_TimeoutHomeOpen (0x04)
#define DIA_ERROR_RESULT_LATCH_MSK_SPARE_OverCurrent (0x08)
Sci_Bsw_Nwk_If.h
typedef enum
{
E_BSW_NWK_SIG_LATCH_POS_INVALID,
E_BSW_NWK_SIG_LATCH_POS_SECONDARY,
E_BSW_NWK_SIG_LATCH_POS_PRIMARY,
E_BSW_NWK_SIG_LATCH_POS_OPEN
}BswNwk_LatchPosStsT;
2019/4/26--15:09
BusControl.c
update:
#if 0 // ZXQ
static void Bco_UpdatePTG_SecondaryPosition(void)
debugged into
Constraint.c , runConstraints_Check
SCI_Read_applDiagnosis_ErrorResults
SCI_Read_Environment_EnvErrorFlags
ColdRead:
1. pwm.c
EMIOS_CHANNEL_PWM_MOTOR_B_UC initialization
Pwm_FrequencySweepRandom
2. emios_cfg.c
emios_cfg.h