-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAN1 doesn't work in BBB #158
Comments
@Gregarieitor, that's expected..
The can pins need loading, do you have a bus connected, do you have a termination resistor? Please include the output of: sudo /opt/scripts/tools/version.sh Regards, |
Sorry, It is the first time that I work with the Beagle. The output of sudo /opt/scripts/tools/version.sh: root@beaglebone:/# /opt/scripts/tools/version.shgit:/opt/scripts/:[109f74fb87e6034ae1a8971a244064a8d5e090a5] I have connected a tja1040 transceiver to its resitor to canalyzer which is read, but it doesn't show any message. I don't know what I can be doing wrong. Thanks for helping. |
@Gregarieitor , sorry for the delay. The software side of the BBB looks fine, so It should be working. That just leaves your hardware connections. Sorry i don't have the hardware in my posession at the moment to test this. I'll have to look into my junk box.. (You need this to be connected to a real network with devices, not just anaylsers..) Regards, |
Thank you very much for your help, |
I have a comms cape and run into a similar issue:
I've tried so far:
and /enabledisabling emmc, video, audio, wireless, adc. Also using a different ISO (newer/older debian version) doesn't help.
Edit, I have a 2nd device connected to the BUS, and 2 120ohm resistors between CAN_L and CAN_H on the Comms board. |
When you load a specific overlay, such as can1, those pins are no longer available thru config-pin. Which cape do you have installed on the board? |
Ah, okay. So using the overlay should already provide me with the CAN1? I have the BBORG_COMMS connected to the BBB. So I guess that Loaded overlay is enough and I can comment out the BB-CAN1 again? |
The BBORG_COMMS cape should have an eeprom, so you don't need to specify anything to load can1: https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BBORG_COMMS-00A2.dts Are you not getting the "can" device under "sudo ifconfig -a"? Regards, |
thx. that's it. I was trying to follow the steps at https://github.com/beagleboard/capes/tree/master/beaglebone/Comms and didn't check if it was already under |
That page is a little out of date.. if u-boot didn't pick up the overlay, then you could use those directions to enable it with no overlay.. |
Hi, I have an issue with my beaglebone. I have tried both BB-CAN1 overlay and the cape-universal overlay, but I cannot see any transmissions on P9.24 and P9.26, when I load BB-CAN1 and I try to verify the pins I get the following error.
root@beaglebone:/# config-pin -q P9.24
P9_24 pinmux file not found!
Cannot read pinmux file: /sys/devices/platform/ocp/ocp*P9_24_pinmux/state
And my /boot/uEnv.txt:
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=4.14.108-ti-r113
#uuid=
#dtb=
###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/.dtbo
#uboot_overlay_addr1=/lib/firmware/.dtbo
#uboot_overlay_addr2=/lib/firmware/.dtbo
#uboot_overlay_addr3=/lib/firmware/.dtbo
###Additional custom capes
uboot_overlay_addr4=/lib/firmware/BB-CAN1-00A0.dtbo
#uboot_overlay_addr5=/lib/firmware/.dtbo
#uboot_overlay_addr6=/lib/firmware/.dtbo
#uboot_overlay_addr7=/lib/firmware/.dtbo
###Custom Cape
#dtb_overlay=/lib/firmware/.dtbo
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_rproc (4.14.x-ti kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
###pru_rproc (4.19.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo
###pru_uio (4.4.x-ti, 4.14.x-ti, 4.19.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###Cape Universal Enable
enable_uboot_cape_universal=1
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###U-Boot fdt tweaks... (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###
cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet
If you have any suggestion, I don't understand what's wrong in my configuration.
Thanks
The text was updated successfully, but these errors were encountered: