In source file : Just_test_and_debug.c   check whether the memory-allocation for structure pointer variable can succeed in allocating.
In source file : Just_test_and_debug.c   check whether the memory-allocation for structure pointer variable can succeed in allocating.

Remove the original old code :
#if 0
	#include "heap_memory_area.h"
	extern int __sysheap[SIZEOF_HEAP>>2];
	extern size_t __sizeof_sysheap;
#endif

and test the memory-allocation for structure pointer variable pSwith :
PST_Access_Ctrl_SwitchRelayMatrix pSwitch  = (PST_Access_Ctrl_SwitchRelayMatrix)malloc(sizeof(ST_Access_Ctrl_SwitchRelayMatrix));

typedef struct Access_Control_SwitchRelayMatrix
{
	BYTE byteBoardID;
	DWORD dwSwitch_Relay_CHn;
	E_SWITCH_STATE eOpen_Close_State;
}
ST_Access_Ctrl_SwitchRelayMatrix, *PST_Access_Ctrl_SwitchRelayMatrix;

It proved that it can succeeded in allocation memory space for structure pointer variable, and executing correctly.

Now, this bug had been killed.

TimXhHuang/Renesas_uPD70F3376_DCU_Controller,TimXhHuang/Renesas_uPD70F3376_DCU_Controller