2008-08-06 08:07:08 Startup of CAN bus driver
Miquel Soler i Mir (SPAIN)
Message: 60033
Hello.
I had a problem when I start the can driver. I'm using CM-BF537E from bluetechnix and 2008R1-RC8.
To test the CAN I'm using a sniffer (PCAN) from Peak systems and datalogger from 2D-datarecording. The PCAN show me in the computer all the CAN messages and the 2D logger send me CAN data. All these devices are tested and working 100 % fine.
To test the can bus I'm using the added program
The driver works in some case and not work in other cases.
1.- CASE #1:
Start the board.
Load the driver by modprobe
./can (start the program)
connect the 2D logger
It's working fine
2.- CASE #2:
Start the board and 2D logger
Load the driver
Start the program
I'ts not working, nothing received
3.- CASE #3:
Start the board and 2D logger and PCAN
Load the driver
Start the program
It's working fine.
4.- CASE #4:
Start the board and 2D logger
Load the driver
Connect the PCAN sniffer
Start the program
It's working fine.
The problem is when I configure the can driver and there are some CAN nodes sending information without any other device ACK this information.
Can somebody help me with this.
Thanks.
Miquel Soler i Mir
cantr.c
TranslateQuoteReplyEditDelete
2008-08-06 12:46:28 Re: Startup of CAN bus driver
Robin Getz (UNITED STATES)
Message: 60049
Miguel:
There are some CAN issues which require a something "good" to be on the bus, otherwise you never receive an ACK, your message retransmits n times, and your controller thinks it is broken - and turns itself off.
I'll need to poke into things to see how this is handled in the Blackfin driver.
-Robin