Hi all,
I am using the Xgate CAN driver library. I modified the receive interrupt function, could someone please tell me what is the limit of lines that i can write for the interrupt function. I found that if i increase the number of lines of interrupt the behavior seems to be significantly different. The debugger does not break in the interrupt but the variables in the interrupt increase. please help.
Number of XGATE code lines is not limited. From XGATE you can access up to 30k of flash and up to 32k of RAM. XGATE code may run from both flash and RAM. Is your CW license OK? Don't you get message about 512 bytes of XGATE code limit? If not, then perhaps some XGATE error is triggered and code just doesn't run - of course you'll have problems catching this in debugger. Hard to give better advice without looking at code.
No i am not saying about the complete Xgate code iam only saying about the interrupt function like CAN receive interrupt funciton, how big it can be so that it does not block the new messages.
Single XGATE interrupt function can take all availbale XGATE code space.