Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - CAN on i.MX6Q SABRE Lite: Page 1 of 5 (5 Items)
   
CAN on i.MX6Q SABRE Lite  
Hi,

I'm trying to get the CAN interface to work on the i.MX6Q SABRE Lite from Boundary Devices.

Should I be able to do it using the Freescale i.MX6Q Sabre Lite Board BSP?

First of all, according to the user guide of this BSP, the CAN driver is named dev-can-mx6x, but the BSP only has 
something called dev-can-mx35 (are these compatible?).

In addition, this driver does not have execution permissions on the resulting default image. After I fixed that, the 
driver crashes:

Process 790564 (dev-can-mx35) terminated SIGBUS code=3 fltno=5 ip=0106d0f8(/usr/lib/ldqnx.so.2@__generic_memset+0x58) 
mapaddr=0006d0f8. ref=28001080
Bus error (core dumped)

Which seems to be from here:

// Clear the mailbox memory if there is no mini-driver
	if(!(devinit->flags & INIT_FLAGS_MDRIVER_INIT) || mdriver_intr == -1)
		memset(devinfo->canmsg, 0, RINGO_CAN_MEM_SIZE_FLEXCAN);

(from driver.c)

Can anyone please help?

Thanks!