int main()
{
if(WDGEN)
KickDog();
CsmUnlock();
InitSysCtrl();
if(FLASHRUN)
{ //Caution: modify the FLASHRUN value if want to run in flash
extern unsigned int ramfuncs_loadstart;
extern unsigned int ramfuncs_loadend;
extern unsigned int ramfuncs_runstart;