Skip navigation.
Home
The QNX Community Portal

View topic - CAN driver on Karo TX9DL

CAN driver on Karo TX9DL

For discussion of realtime and/or embedded programming.

CAN driver on Karo TX9DL

Postby djidji » Wed Jun 29, 2016 11:33 am

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.
djidji
Active Member
 
Posts: 22
Joined: Tue Jun 28, 2016 1:17 pm

Re: CAN driver on Karo TX9DL

Postby nico04 » Wed Jun 29, 2016 12:28 pm

Where does your CAN driver come from ?
nico04
Active Member
 
Posts: 81
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: CAN driver on Karo TX9DL

Postby djidji » Thu Jun 30, 2016 10:25 am

it comes from the provider of qnx, but it is a generic driver
djidji
Active Member
 
Posts: 22
Joined: Tue Jun 28, 2016 1:17 pm

Re: CAN driver on Karo TX9DL

Postby nico04 » Thu Jun 30, 2016 12:05 pm

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" ?
nico04
Active Member
 
Posts: 81
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: CAN driver on Karo TX9DL

Postby djidji » Mon Jul 04, 2016 9:51 am

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"
djidji
Active Member
 
Posts: 22
Joined: Tue Jun 28, 2016 1:17 pm

Re: CAN driver on Karo TX9DL

Postby nico04 » Mon Jul 04, 2016 12:41 pm

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.
nico04
Active Member
 
Posts: 81
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: CAN driver on Karo TX9DL

Postby djidji » Wed Jul 06, 2016 7:20 am

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.
djidji
Active Member
 
Posts: 22
Joined: Tue Jun 28, 2016 1:17 pm

Re: CAN driver on Karo TX9DL

Postby nico04 » Wed Jul 06, 2016 7:33 am

What do you call a basic BSP ?
Is it provided by SITRE ?
nico04
Active Member
 
Posts: 81
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: CAN driver on Karo TX9DL

Postby djidji » Wed Jul 06, 2016 9:12 am

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.
djidji
Active Member
 
Posts: 22
Joined: Tue Jun 28, 2016 1:17 pm

Re: CAN driver on Karo TX9DL

Postby nico04 » Wed Jul 06, 2016 2:30 pm

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.
nico04
Active Member
 
Posts: 81
Joined: Wed Sep 29, 2010 9:59 am
Location: France

Re: CAN driver on Karo TX9DL

Postby djidji » Fri Jul 08, 2016 7:40 am

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.
djidji
Active Member
 
Posts: 22
Joined: Tue Jun 28, 2016 1:17 pm

Re: CAN driver on Karo TX9DL

Postby nico04 » Fri Jul 08, 2016 8:56 am

You must use :
- dev-can-mx35 can0 with CAN1
- dev-can-mx35 can1 with CAN2

Do you have the source code of BSP ?
nico04
Active Member
 
Posts: 81
Joined: Wed Sep 29, 2010 9:59 am
Location: France


Return to Realtime and Embedded

Who is online

Users browsing this forum: No registered users and 1 guest

cron