Skip navigation.
Home
The QNX Community Portal

View topic - CAN driver on Karo TX9DL

Page 1 of 1

CAN driver on Karo TX9DL

PostPosted: Wed Jun 29, 2016 11:33 am
by djidji
Hello,

I have problem with dev-can-mx6x on Karo TX9DL, when I try to start the CAN1 he crashes the card, while the CAN0 starts, but by using it with a CANCASE (from VECTOR) and CANalyzer, I do not get the frames either in transmission nor reception.

Re: CAN driver on Karo TX9DL

PostPosted: Wed Jun 29, 2016 12:28 pm
by nico04
Where does your CAN driver come from ?

Re: CAN driver on Karo TX9DL

PostPosted: Thu Jun 30, 2016 10:25 am
by djidji
it comes from the provider of qnx, but it is a generic driver

Re: CAN driver on Karo TX9DL

PostPosted: Thu Jun 30, 2016 12:05 pm
by nico04
You need a driver made for i.MX6 (I assume you mean TX6DL and not TX9DL).
You also need a BSP made for the TX6DL board.
What do you mean by "the provider of qnx" ?

Re: CAN driver on Karo TX9DL

PostPosted: Mon Jul 04, 2016 9:51 am
by djidji
I maked a mistake when I wrote, It's TX6DL not TX9DL.

The provider is SITRE( he provide a basic BSP), I don't a BSP of the TX6DL, I have just a basic bsp for the imx6 named "dev-can-mx6x"

Re: CAN driver on Karo TX9DL

PostPosted: Mon Jul 04, 2016 12:41 pm
by nico04
SITRE is the official BSP provider for TX6 boards.
They should have provided you with a BSP specific to TX6DL board.
The CAN driver is specific to i.MX6 processors not to a board.

Re: CAN driver on Karo TX9DL

PostPosted: Wed Jul 06, 2016 7:20 am
by djidji
The BPS provided is a basic BSP, I know that the can driver is specific for imx6, but it doesn't work, I changed the base address and know it don't crash for can0 but still not receiving can frames when I send from the CANCASE, it makes error.

Re: CAN driver on Karo TX9DL

PostPosted: Wed Jul 06, 2016 7:33 am
by nico04
What do you call a basic BSP ?
Is it provided by SITRE ?

Re: CAN driver on Karo TX9DL

PostPosted: Wed Jul 06, 2016 9:12 am
by djidji
Yes it's provided by SITRE.

The guys of SITRE who sold us the BSP call that a basic BSP, it's named "dev-can-mx6x" but the base address for example are not correct to imx6 hence the crash if can1, in the code it's called ringo board i don't know what's this ringo board.

Re: CAN driver on Karo TX9DL

PostPosted: Wed Jul 06, 2016 2:30 pm
by nico04
If SITRE provided both the BSP and the CAN driver, it's up to them to provide you with support on this topic. You paid for it.

Re: CAN driver on Karo TX9DL

PostPosted: Fri Jul 08, 2016 7:40 am
by djidji
SITRE provided a basic BSP with others drivers like gpio, usb,., but not the CAN driver, just in the BSP we can find a CAN driver provided by QNX I think, so for others drivers we paid for, but forthe CAN driver no, it's not developped by them.

Re: CAN driver on Karo TX9DL

PostPosted: Fri Jul 08, 2016 8:56 am
by nico04
You must use :
- dev-can-mx35 can0 with CAN1
- dev-can-mx35 can1 with CAN2

Do you have the source code of BSP ?