Hi everybody:
My product is experiencing a problem: My code has a struct,like "typedef struct {
INT32U canid;
INT8U rxCode;
INT8U IDE; //
INT8U RTR; //
INT8U DLC; //
INT8U Data[8]; //
//INT8U res; //
}CAN_MSG_T; And I have define a can rx buf and tx buf to recv / trans the data from can int, when THIS struct has "INT8U res" ,the code run OK, but, when NOT, it will RUN AWAY, I dont know why ,does anybody Encounter similar problems?? How CAN I DEBUG IT to fix it? I USED codewarrior is too old to debug any question, I JUST only PRINT LOG TO UART to watch current mcu stat.