Address+=4;
Data = Sys.LdAct;
Data <<=8;
Data |= Sys.LdActT;
Data <<=8;
Data |= Sys.LdVar;
FLASHStatus = FLASH_ProgramWord(Address, Data);
Address+=4;
Data = Sys.In;
Data <<=8;
Data |= Sys.Bps;
Data <<=8;
Data |= Sys.InT;
FLASHStatus = FLASH_ProgramWord(Address, Data);
Address+=4;
Data = Sys.Un;
Data <<=8;
Data |= Sys.UlT;
Data <<=8;
Data |= Sys.ChT;
Data <<=8;
Data |= Sys.ChT_H;
FLASHStatus = FLASH_ProgramWord(Address, Data);
Address+=4;
Data = Sys.Addr[0];
Data <<=16;
Data |= Sys.Addr[1];
FLASHStatus = FLASH_ProgramWord(Address, Data);
Address+=4;
Data = Sys.Uh;
Data <<=16;
Data |= Sys.Ul;
FLASHStatus = FLASH_ProgramWord(Address,Data);
Address+=4;
Data = Sys.Uh;
Data <<=16;
Data |= Sys.Ul;
FLASHStatus = FLASH_ProgramWord(Address,Data);
for(i=0;i<100;i++) {
Address+=4;
Data = ErrData[i].ErrTime.Sec;
Data <<=8;
Data |= ErrData[i].ErrTime.Min;
Data <<=8;
Data |= ErrData[i].ErrTime.Hour;
Data <<=8;
Data |= ErrData[i].ErrTime.Day;
FLASHStatus = FLASH_ProgramWord(Address,Data);
Address+=4;
Data = ErrData[i].ErrTime.Week;
Data <<=8;
Data |= ErrData[i].ErrTime.Month;
Data <<=8;
Data |= ErrData[i].ErrTime.Year;
Data <<=8;
Data = ErrData[i].ErrType;
FLASHStatus = FLASH_ProgramWord(Address,Data);
Address+=4;
Data = ErrData[i].ErrVar;
FLASHStatus = FLASH_ProgramWord(Address,Data);
}