已解决! 转到解答。
Hello
The message is generated because the function gCan_TxIntHandler, which is an interrupt function is not allocated in non banked memory.
In Banked memory model all interrupt functions should be allocated in a __NEAR_SEG code Section.
Place following pragma prior to your interrupt function implementation:
#ifndef __SMALL__
#pragma CODE_SEG __NEAR_SEG NON_BANKED
#endif
Place following pragma after the function implementation
#ifndef __SMALL__
#pragma CODE_SEG DEFAULT
#endif
I hope this helps.
CrasyCat