AnsweredAssumed Answered

Accessing variables from X- Gate

Question asked by Nycil Paul on Oct 19, 2010
Latest reply on Oct 20, 2010 by Nycil Paul

Hello All,

Am using an S12Xep100 processor. I  want to do a certain functionality on the Xgate processor to relieve the main CPU off its load. I have declared a structure which has two members one an unsigned char and another an unsigned long int(declared in the Xgate.h file). In one of the ISRs in the Xgate(written in the .cxgate file) I want to update the values of the members in the structure. The value of the unsigned char is updated ok, but the value of the unsigned int is not updated and thus an illegal breakpoint comes when debugging the true time simulator.

 

Please Help.

Thanks in Advance

 

struct mystruct{

unsigned char var1;

unsigned long int var2;

}; this is my  structure.

Outcomes