Re: [beagleboard] Re: Problems with CAN in BBB

2015-06-08 Thread Bruno Luiz
I don't know... I use the capemgr and it is loading the cape (or, at least,
is what the dmesg log is showing). This dtb is already on the BBB images or
I have to use some tool to generate it?

On Wed, Jun 3, 2015 at 2:48 PM, Aaron Clarke a...@aaronclarke.com wrote:

 Do you have a line dtb=am335x-boneblack-can1.dtb in uEnv.txt?
 That was a problem for me, I am working on a project with almost the same
 setup.

 Aaron

 On Monday, June 1, 2015 at 3:00:50 PM UTC-4, Bruno Luiz wrote:

 I am working with a BeagleBone Black rev C for a project using CAN. I am
 using the CBB-Serial-r02 cape because we need the UART features too. The
 problem is that CAN is not working. I did a lot of things to test it on a
 3.8-rt kernel from RobertCNelson (which is only PREEMPT), but it didn't
 worked at all. Some things that I did:

 0) Installed the latest Debian Image
 1) Always modprobe the can modules (can, can-dev, can-raw)
 2) Compiled and installed canutils, always using the cangen can0 to
 test the can output
 3) Always run ip link set can0 up type can bitrate 125000; ifconfig can0
 up to activate can0
 4) Installed the CBB-Serial-r02 dtbs from the official repository, even
 that the debian image that I used already includes it
 5) Test the output with an osciloscope. I did the same test with an EzDSP
 28335 and it worked, so it is not a problem with this part of the method
 6) I tried to do a candump can0 with the DSP generating random data, but
 the candump didn't show any data

 I recompiled 3.14 kernel using the dtb-rebuilder (instructions on this
 tutorial:
 https://groups.google.com/d/msg/beagleboard/_9u1B6ZkgCU/K2ARgwfC490J)
 and enabling the DCAN1 (because DCAN0 disables the I2C used for capemgr)
 and it didn't worked too.

 Well, I ran out of options here. Some one is having problems with the rev
 C and CAN too or that is some problem with my method?

  --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups BeagleBoard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/beagleboard/sFod3a7eLX0/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Bruno Luiz da Silva - *http://brunoluiz.net http://brunoluiz.net*
Desenvolvedor de software @ *CES/CERTI
http://www.certi.org.br/pt/ces-servicos*
Co-fundador @ NeoViz (*http://neoviz.com.br* http://neoviz.com.br/)
Desenvolvedor Web freelance
Celular: (48) 9621-1021 | Skype: brnluiz

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Problems with CAN in BBB

2015-06-08 Thread Bruno Luiz
Hi... I tried it and I posted the logs 
here: https://groups.google.com/forum/#!category-topic/beagleboard/n5lkTW8R3Xo

Probably I have some issue with the candump thing

On Sunday, June 7, 2015 at 3:52:17 PM UTC-3, micha...@googlemail.com wrote:


 Hey Bruno,

 regarding your Step 3) Try ip link set can0 up type can bitrate 125000 
 listen-only off. 
 After this Step send some CAN Messages to the Controller and enter 
 ifconfig in the console window. Please tell me, if you can see the can0 
 device. Did the device read any messages (RX entry)

 Kind regards,
 Michael 

 Am Montag, 1. Juni 2015 21:00:50 UTC+2 schrieb Bruno Luiz:

 I am working with a BeagleBone Black rev C for a project using CAN. I am 
 using the CBB-Serial-r02 cape because we need the UART features too. The 
 problem is that CAN is not working. I did a lot of things to test it on a 
 3.8-rt kernel from RobertCNelson (which is only PREEMPT), but it didn't 
 worked at all. Some things that I did:

 0) Installed the latest Debian Image
 1) Always modprobe the can modules (can, can-dev, can-raw)
 2) Compiled and installed canutils, always using the cangen can0 to 
 test the can output
 3) Always run ip link set can0 up type can bitrate 125000; ifconfig can0 
 up to activate can0
 4) Installed the CBB-Serial-r02 dtbs from the official repository, even 
 that the debian image that I used already includes it
 5) Test the output with an osciloscope. I did the same test with an EzDSP 
 28335 and it worked, so it is not a problem with this part of the method
 6) I tried to do a candump can0 with the DSP generating random data, but 
 the candump didn't show any data

 I recompiled 3.14 kernel using the dtb-rebuilder (instructions on this 
 tutorial: 
 https://groups.google.com/d/msg/beagleboard/_9u1B6ZkgCU/K2ARgwfC490J) 
 and enabling the DCAN1 (because DCAN0 disables the I2C used for capemgr) 
 and it didn't worked too.

 Well, I ran out of options here. Some one is having problems with the rev 
 C and CAN too or that is some problem with my method?



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Problems with CAN in BBB

2015-06-07 Thread micha151189

Hey Bruno,

regarding your Step 3) Try ip link set can0 up type can bitrate 125000 
listen-only off. 
After this Step send some CAN Messages to the Controller and enter ifconfig 
in the console window. Please tell me, if you can see the can0 device. Did 
the device read any messages (RX entry)

Kind regards,
Michael 

Am Montag, 1. Juni 2015 21:00:50 UTC+2 schrieb Bruno Luiz:

 I am working with a BeagleBone Black rev C for a project using CAN. I am 
 using the CBB-Serial-r02 cape because we need the UART features too. The 
 problem is that CAN is not working. I did a lot of things to test it on a 
 3.8-rt kernel from RobertCNelson (which is only PREEMPT), but it didn't 
 worked at all. Some things that I did:

 0) Installed the latest Debian Image
 1) Always modprobe the can modules (can, can-dev, can-raw)
 2) Compiled and installed canutils, always using the cangen can0 to test 
 the can output
 3) Always run ip link set can0 up type can bitrate 125000; ifconfig can0 
 up to activate can0
 4) Installed the CBB-Serial-r02 dtbs from the official repository, even 
 that the debian image that I used already includes it
 5) Test the output with an osciloscope. I did the same test with an EzDSP 
 28335 and it worked, so it is not a problem with this part of the method
 6) I tried to do a candump can0 with the DSP generating random data, but 
 the candump didn't show any data

 I recompiled 3.14 kernel using the dtb-rebuilder (instructions on this 
 tutorial: 
 https://groups.google.com/d/msg/beagleboard/_9u1B6ZkgCU/K2ARgwfC490J) and 
 enabling the DCAN1 (because DCAN0 disables the I2C used for capemgr) and it 
 didn't worked too.

 Well, I ran out of options here. Some one is having problems with the rev 
 C and CAN too or that is some problem with my method?


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Problems with CAN in BBB

2015-06-03 Thread William Hermans
That shouldnt apply to the logic supply serial cape. It has an eeprom, and
uses a different device tree blob. Which is included with every beagleboard
debian image I've tested so far . . .

On Wed, Jun 3, 2015 at 10:48 AM, Aaron Clarke a...@aaronclarke.com wrote:

 Do you have a line dtb=am335x-boneblack-can1.dtb in uEnv.txt?
 That was a problem for me, I am working on a project with almost the same
 setup.

 Aaron

 On Monday, June 1, 2015 at 3:00:50 PM UTC-4, Bruno Luiz wrote:

 I am working with a BeagleBone Black rev C for a project using CAN. I am
 using the CBB-Serial-r02 cape because we need the UART features too. The
 problem is that CAN is not working. I did a lot of things to test it on a
 3.8-rt kernel from RobertCNelson (which is only PREEMPT), but it didn't
 worked at all. Some things that I did:

 0) Installed the latest Debian Image
 1) Always modprobe the can modules (can, can-dev, can-raw)
 2) Compiled and installed canutils, always using the cangen can0 to
 test the can output
 3) Always run ip link set can0 up type can bitrate 125000; ifconfig can0
 up to activate can0
 4) Installed the CBB-Serial-r02 dtbs from the official repository, even
 that the debian image that I used already includes it
 5) Test the output with an osciloscope. I did the same test with an EzDSP
 28335 and it worked, so it is not a problem with this part of the method
 6) I tried to do a candump can0 with the DSP generating random data, but
 the candump didn't show any data

 I recompiled 3.14 kernel using the dtb-rebuilder (instructions on this
 tutorial:
 https://groups.google.com/d/msg/beagleboard/_9u1B6ZkgCU/K2ARgwfC490J)
 and enabling the DCAN1 (because DCAN0 disables the I2C used for capemgr)
 and it didn't worked too.

 Well, I ran out of options here. Some one is having problems with the rev
 C and CAN too or that is some problem with my method?

  --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Problems with CAN in BBB

2015-06-03 Thread Aaron Clarke
Do you have a line dtb=am335x-boneblack-can1.dtb in uEnv.txt?
That was a problem for me, I am working on a project with almost the same 
setup.  

Aaron

On Monday, June 1, 2015 at 3:00:50 PM UTC-4, Bruno Luiz wrote:

 I am working with a BeagleBone Black rev C for a project using CAN. I am 
 using the CBB-Serial-r02 cape because we need the UART features too. The 
 problem is that CAN is not working. I did a lot of things to test it on a 
 3.8-rt kernel from RobertCNelson (which is only PREEMPT), but it didn't 
 worked at all. Some things that I did:

 0) Installed the latest Debian Image
 1) Always modprobe the can modules (can, can-dev, can-raw)
 2) Compiled and installed canutils, always using the cangen can0 to test 
 the can output
 3) Always run ip link set can0 up type can bitrate 125000; ifconfig can0 
 up to activate can0
 4) Installed the CBB-Serial-r02 dtbs from the official repository, even 
 that the debian image that I used already includes it
 5) Test the output with an osciloscope. I did the same test with an EzDSP 
 28335 and it worked, so it is not a problem with this part of the method
 6) I tried to do a candump can0 with the DSP generating random data, but 
 the candump didn't show any data

 I recompiled 3.14 kernel using the dtb-rebuilder (instructions on this 
 tutorial: 
 https://groups.google.com/d/msg/beagleboard/_9u1B6ZkgCU/K2ARgwfC490J) and 
 enabling the DCAN1 (because DCAN0 disables the I2C used for capemgr) and it 
 didn't worked too.

 Well, I ran out of options here. Some one is having problems with the rev 
 C and CAN too or that is some problem with my method?


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.