i have a ringbuffer in shared data segment so both cpu and XGATE can access it :
unsigned char in;
unsigned char out;
unsigned int buffered;
unsigned int timerOvrFl;
unsigned char data;
In the cpu code the instruction
works fine, but when i try the same on XGATE i get a error popup:
Internal Error #601in c:\......\ccpp.cpp while compiling xgate.cxgate, please report to freescale.
a workaround is :
but since timing is critical i cant afford the extra operation.
I´m using version 4.5 and a 9S12XDP512
Does anyone know a solution?