[beagleboard] Re: CAN1 does not work BBB

2019-09-26 Thread debounce
What CAN transceiver are you using?  Have you verified your transceiver 
works?

On Thursday, September 26, 2019 at 2:08:44 PM UTC-7, 
hanswu...@googlemail.com wrote:
>
> Hello,
> I have a problem with the CAN1 interface on my Beaglebone Black. 
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> [sudo] password for debian:
> git:/opt/scripts/:[8f20cac93cbbec2ab705333a543903287ff9e7d4]
> eeprom:[A335BNLT00C02017BBBK05D5]
> model:[TI_AM335x_BeagleBone_Black]
> dogtag:[BeagleBoard.org Debian Image 2018-10-07]
> bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 
> 2019.04-2-gbb4af0f   50f]:[location: dd MBR]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
> 2019.04-2-gbb4af0f50f]:[l   ocation: dd MBR]
> UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
> UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-14-TI-00A0]
> UBOOT: Loaded Overlay:[BB-ADC-00A0]
> UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
> UBOOT: Loaded Overlay:[BB-CAN1-00A0]
> UBOOT: Loaded Overlay:[BB-I2C2-00A0]
> UBOOT: Loaded Overlay:[BB-NHDMI-TDA998x-00A0]
> UBOOT: Loaded Overlay:[BB-SPIDEV0-00A0]
> kernel:[4.14.108-ti-r118]
> nodejs:[v6.17.0]
> /boot/uEnv.txt Settings:
> uboot_overlay_options:[enable_uboot_overlays=1]
>
> uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV0-00A0.dtbo]
> uboot_overlay_options:[uboot_overlay_addr5=/lib/firmware/BB-I2C2-00A0.dtbo]
> uboot_overlay_options:[uboot_overlay_addr6=/lib/firmware/BB-CAN1-00A0.dtbo
> ]
> uboot_overlay_options:[disable_uboot_overlay_audio=1]
> uboot_overlay_options:[disable_uboot_overlay_wireless=1]
> uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-
>   
>  00A0.dtbo]
> uboot_overlay_options:[enable_uboot_cape_universal=1]
> pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
> ]
> pkg:[bb-cape-overlays]:[4.4.20190922.0-0rcnee0~stretch+20190922]
> pkg:[bb-wl18xx-firmware]:[1.20190227.1-0rcnee0~stretch+20190227]
> pkg:[kmod]:[23-2rcnee1~stretch+20171005]
> pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~stretch+20190327]
> pkg:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217]
> groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
> plugdev us   ers systemd-journal i2c bluetooth netdev cloud9ide gpio pwm 
> eqep admin spi tisdkweston-launch xenomai autologin]
> cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
> root=/dev/m   mcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
> net.ifnames=0 quiet]
> dmesg | grep remote
> [1.244859] remoteproc remoteproc0: wkup_m3 is available
> [1.464098] remoteproc remoteproc0: powering up wkup_m3
> [1.464219] remoteproc remoteproc0: Booting fw image 
> am335x-pm-firmware.elf,size 217168
> [1.468443] remoteproc remoteproc0: remote processor wkup_m3 is now up
> [   10.159438] remoteproc remoteproc1: 4a334000.pru is available
> [   10.179638] remoteproc remoteproc2: 4a338000.pru is available
> dmesg | grep pru
> [   10.135980] pruss 4a30.pruss: creating PRU cores and other child 
> platformdevices
> [   10.159438] remoteproc remoteproc1: 4a334000.pru is available
> [   10.159565] pru-rproc 4a334000.pru: PRU rproc node 
> /ocp/pruss_soc_bus@4a32600   4/pruss@0/pru@34000 probed successfully
> [   10.179638] remoteproc remoteproc2: 4a338000.pru is available
> [   10.179757] pru-rproc 4a338000.pru: PRU rproc node 
> /ocp/pruss_soc_bus@4a32600   4/pruss@0/pru@38000 probed successfully
> dmesg | grep pinctrl-single
> [0.943534] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 
> size 568
> dmesg | grep gpio-of-helper
> [0.955505] gpio-of-helper ocp:cape-universal: ready
> lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> END
>
>
>
> debian@beaglebone:~$ cat 
> /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins
> ...
> pin 96 (PIN96): 481d.can (GPIO UNCLAIMED) function pinmux_dcan1_pins 
> group pinmux_dcan1_pins
> pin 97 (PIN97): 481d.can (GPIO UNCLAIMED) function pinmux_dcan1_pins 
> group pinmux_dcan1_pins
> ...
>
>
> debian@beaglebone:~$ sudo ip link set can1 up type can bitrate 125000
>
> everythings fine with no Error or Warning.
>
> and then i try:
> debian@beaglebone:~$ cansend can1 07f#4004 
> Nothing happens at the CAN bus
>
>
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ ip -details -statistics link show can1
> 3: can1:  mtu 16 qdisc pfifo_fast state DOWN 
> mode DEFAULT   group default qlen 10
> link/can  promiscuity 0
> can state BUS-OFF (berr-counter tx 248 rx 0) restart-ms 0
>   bitrate 125000 sample-point 0.875
>   tq 500 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
>   c_can: tseg1 2..16 tseg2 1..8 sjw 1..4 brp 1..1024 brp-inc 1
>   clock 

Re: [beagleboard] CAN1 does not work BBB

2019-09-26 Thread Jacob J. Morales Argumedo
Did you try using config-pin instead of the overlay?

See my post regarding a similar issue i had and see if it helps you:
https://groups.google.com/forum/#!msg/beagleboard/uCzaLNgAJks/-4OJkhgDBgAJ

On Thu, Sep 26, 2019 at 2:08 PM hanswurst663 via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Hello,
> I have a problem with the CAN1 interface on my Beaglebone Black.
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> [sudo] password for debian:
> git:/opt/scripts/:[8f20cac93cbbec2ab705333a543903287ff9e7d4]
> eeprom:[A335BNLT00C02017BBBK05D5]
> model:[TI_AM335x_BeagleBone_Black]
> dogtag:[BeagleBoard.org Debian Image 2018-10-07]
> bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
> 2019.04-2-gbb4af0f   50f]:[location: dd MBR]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
> 2019.04-2-gbb4af0f50f]:[l   ocation: dd MBR]
> UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
> UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-14-TI-00A0]
> UBOOT: Loaded Overlay:[BB-ADC-00A0]
> UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
> UBOOT: Loaded Overlay:[BB-CAN1-00A0]
> UBOOT: Loaded Overlay:[BB-I2C2-00A0]
> UBOOT: Loaded Overlay:[BB-NHDMI-TDA998x-00A0]
> UBOOT: Loaded Overlay:[BB-SPIDEV0-00A0]
> kernel:[4.14.108-ti-r118]
> nodejs:[v6.17.0]
> /boot/uEnv.txt Settings:
> uboot_overlay_options:[enable_uboot_overlays=1]
>
> uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV0-00A0.dtbo]
> uboot_overlay_options:[uboot_overlay_addr5=/lib/firmware/BB-I2C2-00A0.dtbo]
> uboot_overlay_options:[uboot_overlay_addr6=/lib/firmware/BB-CAN1-00A0.dtbo
> ]
> uboot_overlay_options:[disable_uboot_overlay_audio=1]
> uboot_overlay_options:[disable_uboot_overlay_wireless=1]
> uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-
>  00A0.dtbo]
> uboot_overlay_options:[enable_uboot_cape_universal=1]
> pkg check: to individually upgrade run: [sudo apt install --only-upgrade
> ]
> pkg:[bb-cape-overlays]:[4.4.20190922.0-0rcnee0~stretch+20190922]
> pkg:[bb-wl18xx-firmware]:[1.20190227.1-0rcnee0~stretch+20190227]
> pkg:[kmod]:[23-2rcnee1~stretch+20171005]
> pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~stretch+20190327]
> pkg:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217]
> groups:[debian : debian adm kmem dialout cdrom floppy audio dip video
> plugdev us   ers systemd-journal i2c bluetooth netdev cloud9ide gpio pwm
> eqep admin spi tisdkweston-launch xenomai autologin]
> cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1
> root=/dev/m   mcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M
> net.ifnames=0 quiet]
> dmesg | grep remote
> [1.244859] remoteproc remoteproc0: wkup_m3 is available
> [1.464098] remoteproc remoteproc0: powering up wkup_m3
> [1.464219] remoteproc remoteproc0: Booting fw image
> am335x-pm-firmware.elf,size 217168
> [1.468443] remoteproc remoteproc0: remote processor wkup_m3 is now up
> [   10.159438] remoteproc remoteproc1: 4a334000.pru is available
> [   10.179638] remoteproc remoteproc2: 4a338000.pru is available
> dmesg | grep pru
> [   10.135980] pruss 4a30.pruss: creating PRU cores and other child
> platformdevices
> [   10.159438] remoteproc remoteproc1: 4a334000.pru is available
> [   10.159565] pru-rproc 4a334000.pru: PRU rproc node
> /ocp/pruss_soc_bus@4a32600   4/pruss@0/pru@34000 probed successfully
> [   10.179638] remoteproc remoteproc2: 4a338000.pru is available
> [   10.179757] pru-rproc 4a338000.pru: PRU rproc node
> /ocp/pruss_soc_bus@4a32600   4/pruss@0/pru@38000 probed successfully
> dmesg | grep pinctrl-single
> [0.943534] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800
> size 568
> dmesg | grep gpio-of-helper
> [0.955505] gpio-of-helper ocp:cape-universal: ready
> lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> END
>
>
>
> debian@beaglebone:~$ cat
> /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins
> ...
> pin 96 (PIN96): 481d.can (GPIO UNCLAIMED) function pinmux_dcan1_pins
> group pinmux_dcan1_pins
> pin 97 (PIN97): 481d.can (GPIO UNCLAIMED) function pinmux_dcan1_pins
> group pinmux_dcan1_pins
> ...
>
>
> debian@beaglebone:~$ sudo ip link set can1 up type can bitrate 125000
>
> everythings fine with no Error or Warning.
>
> and then i try:
> debian@beaglebone:~$ cansend can1 07f#4004
> Nothing happens at the CAN bus
>
>
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ ip -details -statistics link show can1
> 3: can1:  mtu 16 qdisc pfifo_fast state DOWN
> mode DEFAULT   group default qlen 10
> link/can  promiscuity 0
> can state BUS-OFF (berr-counter tx 248 rx 0) restart-ms 0
>   bitrate 125000 sample-point 0.875
>   tq 500 prop-seg 6 phase-seg1 7 

Re: [beagleboard] BeagleBone AI supported cameras

2019-09-26 Thread Robert Forsyth
I think there are screw holes in the heatsink for a 25 mm 1 inch fan, but 
no fan power socket, so no speed control.

On Friday, 27 September 2019 02:51:44 UTC+1, Andy Laberge wrote:
>
> I run a fan on my X15 from power on and it stays cool. I just received my 
> BBAI and I will build a fan support for it 
> also. I believe running cool gives quicker and better results.
>
> Andy
>
> On Thu, Sep 26, 2019 at 2:09 PM Dobrin Alexiev  > wrote:
>
>> I bought one BeagleBone AI board to experiment with in my free time. 
>>
>> I am thinking of running the demo described in: 
>> https://beagleboard.org/p/175809/tidl-on-beaglebone-ai-1ee263
>>
>>  
>>
>> I have two questions: 
>>
>> 1.  The demo uses the camera “Logitech HD Pro Webcam, C920, 1080p Lens”. 
>> Do I need to get exactly that camera? If no, is there a list of supported 
>> cameras for Beagle Bone AI and what do I need to change to use an 
>> alternative camera?
>>
>> 2. At the demo the board is setup with a fan. Is the fan optional at 23 
>> C ambient temperature, or when the demo is running the board definitely 
>> needs it?
>>
>>  
>>
>> Thanks in advance.
>>
>> Dobrin
>>
>> -- 
>> 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 beagl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/c4412a8c-a236-47db-8d39-6705a22c1942%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/42e1aaf6-0d71-4e24-9532-3de3da0f1477%40googlegroups.com.


Re: [beagleboard] BeagleBone AI supported cameras

2019-09-26 Thread Andy Laberge
I run a fan on my X15 from power on and it stays cool. I just received my
BBAI and I will build a fan support for it
also. I believe running cool gives quicker and better results.

Andy

On Thu, Sep 26, 2019 at 2:09 PM Dobrin Alexiev 
wrote:

> I bought one BeagleBone AI board to experiment with in my free time.
>
> I am thinking of running the demo described in:
> https://beagleboard.org/p/175809/tidl-on-beaglebone-ai-1ee263
>
>
>
> I have two questions:
>
> 1.  The demo uses the camera “Logitech HD Pro Webcam, C920, 1080p Lens”.
> Do I need to get exactly that camera? If no, is there a list of supported
> cameras for Beagle Bone AI and what do I need to change to use an
> alternative camera?
>
> 2. At the demo the board is setup with a fan. Is the fan optional at 23 C
> ambient temperature, or when the demo is running the board definitely needs
> it?
>
>
>
> Thanks in advance.
>
> Dobrin
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/c4412a8c-a236-47db-8d39-6705a22c1942%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAEqAPB-VwiMA6mohp8YS-3AiMH_A2mFuRySK8056HX869v-tpg%40mail.gmail.com.


[beagleboard] Re: BB AI Voltages.

2019-09-26 Thread Jason Kridner


On Thursday, September 26, 2019 at 5:09:06 PM UTC-4, 
andrew.ca...@iosaudio.co.uk wrote:
>
> Hi Guys, 
>
> I am having some strange things going on with voltage levels and voltage 
> drop. 
>
> First I noticed issues when powered from my MacPro, If I loaded the cpu 
> then the board could reboot, it could also get in a state where it needed 
> multiple reboots to get started. 
>
> So I connected up to a 2.5A USB supply and this issue goes away. 
>
> Another issue I am seeing though is I am only getting 4.6V on SYS_5V. I 
> have connected a BBB to the same supply and see 5V on SYS_5V. 
>
> Also under cpu load SYS_5V drops to 4.3V. 
>
> When powered from the MacPro SYS_5V is 4.3V and drops to 4V under load and 
> reboots. I tested a BBB connected to the MacPro and only get 4.7V on 
> SYS_5V. 
>

This much drop on SYS_5V is certainly unexpected. Do you have some kind of 
load on it or just the probe?

BeagleBone AI should peak out about 1.8A (9W) under full 
processor/memory/flash load (including DSPs/EVEs/etc.). I don't know what 
your MacPro is outputing. 5W (1A) is much more typical.

I find something like 
https://www.amazon.com/Satechi-USB-C-Power-Tester-Multimeter/dp/B01MT8MC3N/ to 
be really useful for monitoring the current consumption and voltage.

Which port of your MacPro are you using and is it actively connected to a 
power source (not just battery)?
 

>
> Also when connected to the power supply VDD_5V is only 2.16V. 
>

On BeagleBone AI, VDD_5V is input-to-BeagleBone-only, so the voltage really 
isn't of interest.
 

>
> Has anyone got any idea what might be going on here? 
>
> Many thanks 
>
> Andy 
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/00530837-903f-4622-b62f-c4258b2df8cf%40googlegroups.com.


[beagleboard] Re: Overlays as with BeagleBone Black

2019-09-26 Thread jks2
On Thursday, 26 September 2019 21:30:05 UTC+12, Bert Buchholz wrote:
>
> My question: How do I enable peripherals like CAN and UART (with or 
> without overlays, it doesn't matter to me)?
>

I'm in the middle of trying this to get spidev/spi2 to work: 
https://www.elinux.org/EBC_Exercise_41_Pin_Muxing_for_the_AI

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/eb94cbce-c2a3-4cc3-b280-56bad8d4f4d4%40googlegroups.com.


[beagleboard] BeagleBone AI - Severe thermal issues

2019-09-26 Thread Michael Zoran
 I just got my BeagleBone AI today from mouser, and I'm noticing severe 
thermal issues even when the BeagleBone isn't doing much.
/sys/class/thermal is reporting over 100C within 10 minutes of the power 
being connected. 
At which point the safety features kick in and the power to the device gets 
shut off.

Is this normal???  Does the BeagleBone AI require a fan to be usable at all?

Also of interest is the free command is showing only 512MB of RAM instead 
of the 1GB it should. 
And the /proc file system is showing that a very generic device tree is 
being used.

This is an AI directly out of the box using only the preinstalled 
software.   I'm waiting for the serial debug cable to arrive that I ordered 
today
before I try reinstalling everything and maybe try lowering the clock speed.

Just thought this would be useful to other people.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c736941f-25e5-4c1a-b6f5-f43de0ce04cc%40googlegroups.com.


[beagleboard] BeagleBone AI supported cameras

2019-09-26 Thread Dobrin Alexiev


I bought one BeagleBone AI board to experiment with in my free time. 

I am thinking of running the demo described in: 
https://beagleboard.org/p/175809/tidl-on-beaglebone-ai-1ee263

 

I have two questions: 

1.  The demo uses the camera “Logitech HD Pro Webcam, C920, 1080p Lens”. Do 
I need to get exactly that camera? If no, is there a list of supported 
cameras for Beagle Bone AI and what do I need to change to use an 
alternative camera?

2. At the demo the board is setup with a fan. Is the fan optional at 23 C 
ambient temperature, or when the demo is running the board definitely needs 
it?

 

Thanks in advance.

Dobrin

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c4412a8c-a236-47db-8d39-6705a22c1942%40googlegroups.com.


[beagleboard] BeagleBone AI Overheat after SW Upgrade

2019-09-26 Thread Robert Forsyth

Received AI yesterday (23-Sep-2019)

Followed the tethered start up

Connected to internet and upgraded.

After reboot and after a few minutes syslog produced a console message from 
kernel about critical temperature reached (80 C) and shutting down.

Any idea which linux image I should use?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e215cbe0-e714-4392-8439-f9d9f81836f5%40googlegroups.com.


[beagleboard] Simcard or SMS module

2019-09-26 Thread z . momeneh5731
Hello! i want to use of beagle bone black in my smart home project, i want 
to send sms from an android application to a simcard or sms module that 
connected to beagle bone, but i don't know sms module for this, is there 
any simcard or sms module for this usage? 
Thanks!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/03e0463e-8c8a-4418-bb28-222476b367a4%40googlegroups.com.


[beagleboard] BB AI Voltages.

2019-09-26 Thread andrew . capon
Hi Guys,

I am having some strange things going on with voltage levels and voltage drop.

First I noticed issues when powered from my MacPro, If I loaded the cpu then 
the board could reboot, it could also get in a state where it needed multiple 
reboots to get started.

So I connected up to a 2.5A USB supply and this issue goes away.

Another issue I am seeing though is I am only getting 4.6V on SYS_5V. I have 
connected a BBB to the same supply and see 5V on SYS_5V.

Also under cpu load SYS_5V drops to 4.3V.

When powered from the MacPro SYS_5V is 4.3V and drops to 4V under load and 
reboots. I tested a BBB connected to the MacPro and only get 4.7V on SYS_5V.

Also when connected to the power supply VDD_5V is only 2.16V.

Has anyone got any idea what might be going on here?

Many thanks

Andy

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ee7c7fad-d0e6-4386-bbdf-805ff3795d7b%40googlegroups.com.


[beagleboard] Re: BBAI runs extremely hot

2019-09-26 Thread Myrick Monroe
I had the same thermal problem and my board shut down by itself. I was able 
to solve this problem by placing an 80mm fan on top of the board. This fan 
has the usual 3 wires and I connected the red wire to 5V Sys (P9-7) and the 
black to GND in P9-1. The entire board now runs cool to the touch.  

On Wednesday, September 25, 2019 at 6:51:41 PM UTC-5, Paul Richards wrote:
>
> I got 2 BeagleBone AI's from Mouser and started working with them today.
>
> Both of my boards boot and run with the 08-03 build.
>
> I haven't done anything to modify the contents of the filesystem, I merely 
> booted and connected via Cloud9.
>
> On both boards, the main CPU heat sink and the Kingston RAM module 
> immediately 
> heat up and run incredibly hot.  I measured >80C on the CPU and >90C on 
> the RAM module with my IR thermometer.
>
> System load looked fine, nothing was running away and stealing all the CPU.
>
> We intend to use these in lieu of BeagleBone Black modules for a project 
> in the Keck telescopes and if they normally run this hot, it will never 
> work.
>
> S/N range is 4000167 1301 003491 1933
>
>
> Is my experience atypical?  What temperature should these boards nominally 
> run at?
>
>
>
> Paul
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/0e2e4bf2-a8bf-4783-92d8-96a3ba77fe1b%40googlegroups.com.


[beagleboard] Re: BBAI runs extremely hot

2019-09-26 Thread antiwriter via BeagleBoard
Looks similar to me. Updated to latest images and get:

 kernel:[  709.540231] thermal thermal_zone0: critical temperature reached (
80 C), shutting down



On Wednesday, September 25, 2019 at 4:51:41 PM UTC-7, Paul Richards wrote:
>
> I got 2 BeagleBone AI's from Mouser and started working with them today.
>
> Both of my boards boot and run with the 08-03 build.
>
> I haven't done anything to modify the contents of the filesystem, I merely 
> booted and connected via Cloud9.
>
> On both boards, the main CPU heat sink and the Kingston RAM module 
> immediately 
> heat up and run incredibly hot.  I measured >80C on the CPU and >90C on 
> the RAM module with my IR thermometer.
>
> System load looked fine, nothing was running away and stealing all the CPU.
>
> We intend to use these in lieu of BeagleBone Black modules for a project 
> in the Keck telescopes and if they normally run this hot, it will never 
> work.
>
> S/N range is 4000167 1301 003491 1933
>
>
> Is my experience atypical?  What temperature should these boards nominally 
> run at?
>
>
>
> Paul
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/93b19e93-cfd3-4962-b0f0-3c4b06200ed5%40googlegroups.com.


[beagleboard] CAN1 does not work BBB

2019-09-26 Thread hanswurst663 via BeagleBoard
Hello,
I have a problem with the CAN1 interface on my Beaglebone Black. 

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
[sudo] password for debian:
git:/opt/scripts/:[8f20cac93cbbec2ab705333a543903287ff9e7d4]
eeprom:[A335BNLT00C02017BBBK05D5]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-10-07]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 
2019.04-2-gbb4af0f   50f]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2019.04-2-gbb4af0f50f]:[l   ocation: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-14-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
UBOOT: Loaded Overlay:[BB-CAN1-00A0]
UBOOT: Loaded Overlay:[BB-I2C2-00A0]
UBOOT: Loaded Overlay:[BB-NHDMI-TDA998x-00A0]
UBOOT: Loaded Overlay:[BB-SPIDEV0-00A0]
kernel:[4.14.108-ti-r118]
nodejs:[v6.17.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV0-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr5=/lib/firmware/BB-I2C2-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr6=/lib/firmware/BB-CAN1-00A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_wireless=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-
  
 00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
]
pkg:[bb-cape-overlays]:[4.4.20190922.0-0rcnee0~stretch+20190922]
pkg:[bb-wl18xx-firmware]:[1.20190227.1-0rcnee0~stretch+20190227]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~stretch+20190327]
pkg:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
plugdev us   ers systemd-journal i2c bluetooth netdev cloud9ide gpio pwm 
eqep admin spi tisdkweston-launch xenomai autologin]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
root=/dev/m   mcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
net.ifnames=0 quiet]
dmesg | grep remote
[1.244859] remoteproc remoteproc0: wkup_m3 is available
[1.464098] remoteproc remoteproc0: powering up wkup_m3
[1.464219] remoteproc remoteproc0: Booting fw image 
am335x-pm-firmware.elf,size 217168
[1.468443] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   10.159438] remoteproc remoteproc1: 4a334000.pru is available
[   10.179638] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[   10.135980] pruss 4a30.pruss: creating PRU cores and other child 
platformdevices
[   10.159438] remoteproc remoteproc1: 4a334000.pru is available
[   10.159565] pru-rproc 4a334000.pru: PRU rproc node 
/ocp/pruss_soc_bus@4a32600   4/pruss@0/pru@34000 probed successfully
[   10.179638] remoteproc remoteproc2: 4a338000.pru is available
[   10.179757] pru-rproc 4a338000.pru: PRU rproc node 
/ocp/pruss_soc_bus@4a32600   4/pruss@0/pru@38000 probed successfully
dmesg | grep pinctrl-single
[0.943534] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 
568
dmesg | grep gpio-of-helper
[0.955505] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END



debian@beaglebone:~$ cat 
/sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins
...
pin 96 (PIN96): 481d.can (GPIO UNCLAIMED) function pinmux_dcan1_pins 
group pinmux_dcan1_pins
pin 97 (PIN97): 481d.can (GPIO UNCLAIMED) function pinmux_dcan1_pins 
group pinmux_dcan1_pins
...


debian@beaglebone:~$ sudo ip link set can1 up type can bitrate 125000

everythings fine with no Error or Warning.

and then i try:
debian@beaglebone:~$ cansend can1 07f#4004 
Nothing happens at the CAN bus


debian@beaglebone:~$ cansend can1 07f#4004
debian@beaglebone:~$ cansend can1 07f#4004
debian@beaglebone:~$ cansend can1 07f#4004
debian@beaglebone:~$ cansend can1 07f#4004
debian@beaglebone:~$ cansend can1 07f#4004
debian@beaglebone:~$ ip -details -statistics link show can1
3: can1:  mtu 16 qdisc pfifo_fast state DOWN mode 
DEFAULT   group default qlen 10
link/can  promiscuity 0
can state BUS-OFF (berr-counter tx 248 rx 0) restart-ms 0
  bitrate 125000 sample-point 0.875
  tq 500 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
  c_can: tseg1 2..16 tseg2 1..8 sjw 1..4 brp 1..1024 brp-inc 1
  clock 2400
  re-started bus-errors arbit-lost error-warn error-pass bus-off
  0  0  0  1  1  1
 numtxque  ues 1 numrxqueues 1 gso_max_size 65536 
gso_max_segs 65535
RX: bytes  packets  errors  dropped overrun mcast
24 30   0   0   0
TX: bytes  packets  errors 

Re: [beagleboard] Re: Overlays as with BeagleBone Black

2019-09-26 Thread Robert Nelson
On Thu, Sep 26, 2019 at 4:01 PM Bert Buchholz  wrote:
>
> On Thursday, 26 September 2019 11:53:27 UTC+2, jks wrote:
>>
>> I'm in the middle of trying this to get spidev/spi2 to work: 
>> https://www.elinux.org/EBC_Exercise_41_Pin_Muxing_for_the_AI
>
>
> Thanks, that looks like it might work. I am a bit surprised though, that 
> after the relative ease of use of config-pin and overlays, we should now be 
> back at having to compile DTBs ourselves. I assume (hope) this is just 
> temporary and in the future, there will be simpler solutions again.

Sadly, with the AM5, we can't do the pinmux from userspace.. (hardware
bugs)...  Everything must be done early..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYhps2SrjhjyCb%3DsTOVQUA8bgyoHh-WWTwrtUX%2BxD9ZdaA%40mail.gmail.com.


[beagleboard] Re: Overlays as with BeagleBone Black

2019-09-26 Thread Bert Buchholz
On Thursday, 26 September 2019 11:53:27 UTC+2, jks wrote:
>
> I'm in the middle of trying this to get spidev/spi2 to work: 
> https://www.elinux.org/EBC_Exercise_41_Pin_Muxing_for_the_AI
>

Thanks, that looks like it might work. I am a bit surprised though, that 
after the relative ease of use of config-pin and overlays, we should now be 
back at having to compile DTBs ourselves. I assume (hope) this is just 
temporary and in the future, there will be simpler solutions again.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/b26e1261-9050-4561-945d-70b6452e1255%40googlegroups.com.


Re: [beagleboard] cameras supported by BeagleBone AI TIDL demo

2019-09-26 Thread Robert Nelson
On Thu, Sep 26, 2019 at 9:19 AM Dobrin Alexiev  wrote:
>
> I am thinking of running the BeagleBone AI TIDL classification demo described 
> in: https://beagleboard.org/p/175809/tidl-on-beaglebone-ai-1ee263
>
>
>
> Two questions:
>
> 1.  The demo uses the camera “Logitech HD Pro Webcam, C920, 1080p Lens”. Do I 
> need to get exactly that camera? If no, is there a list of supported cameras 
> for Beagle Bone AI and what do I need to change to use an alternative camera?

It should work with any UVC, that's just one Jason has tested with..
If you look into the demo source code, i believe there is a frame
resize done, as the ti-tidl layer needs a specific frame size for
optimal stuff..

On the other hand, i think it would be useful to crowdsouce, which
camera's work and at what framerates, so if you have a usb/uvc camera
today, give a it a test. ;)

>
> 2. At the demo the board is setup with a fan. Is the fan optional or when the 
> demo is running the board definitely needs it?

That's coming asap..

Regards,


--
Robert Nelson
https://rcn-ee.com/

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgQ4ZOEAdrB1MLWmph-TwWYAiKmJsq2tOu4BmeWTepGEg%40mail.gmail.com.


[beagleboard] cameras supported by BeagleBone AI TIDL demo

2019-09-26 Thread Dobrin Alexiev


I am thinking of running the BeagleBone AI TIDL classification demo 
described in: https://beagleboard.org/p/175809/tidl-on-beaglebone-ai-1ee263

 

Two questions:

1.  The demo uses the camera “Logitech HD Pro Webcam, C920, 1080p Lens”. Do 
I need to get exactly that camera? If no, is there a list of supported 
cameras for Beagle Bone AI and what do I need to change to use an 
alternative camera?

2. At the demo the board is setup with a fan. Is the fan optional or when 
the demo is running the board definitely needs it?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/39415502-2728-489f-b227-1fc54b79a14e%40googlegroups.com.


[beagleboard] missing command in upgrade instructions?

2019-09-26 Thread jks
The AI upgrade page asks for feedback (https://beagleboard.org/upgrade), so 
here's mine. Is there a command missing in the "update distribution 
components" section? After the "sudo apt update" you need a "sudo apt 
upgrade" (or dist-upgrade) to actually get and install the new packages, 
no? An "apt update" alone only refreshes the package index. When I did a 
dist-upgrade it worked as shown. All the other steps worked fine.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/721d6d5f-9c71-4631-b6bf-eaa042104d44%40googlegroups.com.


[beagleboard] Re: BBAI runs extremely hot

2019-09-26 Thread jks
Connecting with ssh I found that out-of-the-box if I ran top or htop the 
lxqt-panel process was taking a consistent 5% of one of the cores. After 
updating it increased to 9% (lol). A "killall lxqt-panel" put a stop to 
that and idle time returned to 99%. The GUI stuff shouldn't even be running 
without a valid HDMI HDID, right? Can't wait to get a console image working 
and leave all that GUI junk behind..

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d1bc367e-79c1-4250-ad8f-dad87ddecdc3%40googlegroups.com.


[beagleboard] Re: Overlays as with BeagleBone Black

2019-09-26 Thread jks
On Thursday, 26 September 2019 21:30:05 UTC+12, Bert Buchholz wrote:
>
> My question: How do I enable peripherals like CAN and UART (with or 
> without overlays, it doesn't matter to me)?
>

I'm in the middle of trying this to get spidev/spi2 to work: 
https://www.elinux.org/EBC_Exercise_41_Pin_Muxing_for_the_AI

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/25adbabf-1dd9-41ec-b60d-f806c6a161b1%40googlegroups.com.


[beagleboard] Overlays as with BeagleBone Black

2019-09-26 Thread Bert Buchholz
On the BeagleBone Black, I used the overlays defined in /boot/uEnv.txt to 
enable CAN and some UARTs and to disable several things like HDMI etc. Now 
I received my BBAI a few days ago where the whole overlay setup has been 
removed from uEnv.txt.

I then went ahead and tried to use the config-pin tool but for any pin I 
tried (I even tried to set some to GPIO) it errored out (I can't look up 
the error right now but could tomorrow, if it matters).

My question: How do I enable peripherals like CAN and UART (with or without 
overlays, it doesn't matter to me)?

I used the Debian 9.9 LXQT image 
(https://debian.beagleboard.org/images/am57xx-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz)

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/908c6c05-6625-43ed-9051-bc3cd8084107%40googlegroups.com.


Re: [beagleboard] realtime kernel

2019-09-26 Thread Bas de Bruijn


On Tuesday, September 24, 2019 at 9:23:16 PM UTC+2, RobertCNelson wrote:
>
> On Tue, Sep 24, 2019 at 2:03 PM Bas de Bruijn  > wrote: 
> > 
> > Hi, 
> > 
> > I received my BB AI yesterday, and when I arranged a proper USB-C cable 
> and Raspberry PI adapter I was discovering the board today. Nice and snappy 
> compared to the BB Black and co, like the X15 :) 
> > After playing around (coming days) I'm planing to install some programs 
> I use on the BB Black to try out. So I'd like to know if there are there 
> any known RT kernels to (not) work? 
>
> This one should work, it's the same kernel as the default install but 
> with the RealTime patch applied and enabled.. 
>
> cd /opt/scripts/tools/ 
> sudo ./update_kernel.sh --ti-rt-channel --lts-4_14 
>

Hi Robert, Installing was no problem, however I have trouble connecting to 
the board via SSH. After a power down, Cloud9 works, connecting via the 
debug connector works up to a point..

When connected via cloud9 I can create new terminals, but finding out about 
the network (ip addr) for example hangs the (remote/debug) terminal.

I've got a gist here with the serial debug output during startup: 
https://gist.github.com/luminize/9c747b83bbda4c589a0b516edb122b96
dmesg further periodically shows this:

[  242.872671] INFO: task systemd-udevd:494 blocked for more than 120 
seconds.
[  242.88]   Tainted: GW  O4.14.108-ti-rt-r118 #1
[  242.886639] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
[  242.894547] systemd-udevd   D0   494327 0x0101
[  242.894610] [] (__schedule) from [] 
(schedule+0x64/0x108)
[  242.894644] [] (schedule) from [] 
(__rt_mutex_slowlock+0xf8/0x184)
[  242.894678] [] (__rt_mutex_slowlock) from [] 
(rt_mutex_slowlock_locked+0xe4/0x2e0)
[  242.894712] [] (rt_mutex_slowlock_locked) from [] 
(rt_mutex_slowlock.constprop.11+0x78/0xbc)
[  242.894746] [] (rt_mutex_slowlock.constprop.11) from 
[] (__rt_mutex_lock_state+0x9c/0xc4)
[  242.894780] [] (__rt_mutex_lock_state) from [] 
(_mutex_lock+0x1c/0x20)
[  242.894810] [] (_mutex_lock) from [] 
(rtnl_lock+0x20/0x24)
[  242.894841] [] (rtnl_lock) from [] 
(dev_ioctl+0x774/0xa28)
[  242.894875] [] (dev_ioctl) from [] 
(sock_ioctl+0x180/0x300)
[  242.894907] [] (sock_ioctl) from [] 
(do_vfs_ioctl+0xc0/0x94c)
[  242.894936] [] (do_vfs_ioctl) from [] 
(SyS_ioctl+0x7c/0x8c)
[  242.894968] [] (SyS_ioctl) from [] 
(__sys_trace_return+0x0/0x10)

Best,
Bas

 

>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/86e84e58-346a-4fd3-b976-a01230aa0828%40googlegroups.com.