I have downloaded the SC_CAN module off github and have tried to run the XC1A_Firmware demo to just make sure everything is working.
After the firmware is loaded and running, I open my CAN software on the computer and try to send it a packet. The XMOS halts with a ET_ECALL on CanLLC thread. I don't know where to go from here, I am not sure what ET_ECALL means or how to fix it. Anyone run into this before?
Issues with SC_CAN with XC-1A
-
- Newbie
- Posts: 1
- Joined: Mon Jul 30, 2012 3:31 pm
All exceptions that can be raised are outline in the system specification document:
http://www.xmos.com/published/xmos-xs1- ... ion=latest
ET_ECALL is usually an array out of bounds exception. I have personally never used CAN, so I'm not sure, but I have had to edit the XMOS provided libraries on occasion. Try stepping through the thread to see where an out of bounds exception can occur, and add your own checks to prevent the thread from completely halting.
http://www.xmos.com/published/xmos-xs1- ... ion=latest
ET_ECALL is usually an array out of bounds exception. I have personally never used CAN, so I'm not sure, but I have had to edit the XMOS provided libraries on occasion. Try stepping through the thread to see where an out of bounds exception can occur, and add your own checks to prevent the thread from completely halting.