Issues with SC_CAN with XC-1A

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
iankellogg
Newbie
Posts: 1
Joined: Mon Jul 30, 2012 3:31 pm

Issues with SC_CAN with XC-1A

Post by iankellogg »

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?


User avatar
rp181
Respected Member
Posts: 395
Joined: Tue May 18, 2010 12:25 am
Contact:

Post by rp181 »

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.
Post Reply