Re: [beagleboard] Re: How to Send email via Beaglebone Black?

2016-09-20 Thread William Hermans
If you google "how to linux email command line" You'll see you do not need anything special to send emails from Linux . . . On Mon, Sep 19, 2016 at 10:37 PM, Hồng Quân Nguyễn wrote: > > I use mailgun.com to send email. It provides HTTP API. > > Here is a part of my code (I use Python and "reques

[beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread Hồng Quân Nguyễn
Hi, Is there any way to configure logic level for PWM on BeagleBone Black/Green? I want that in duty cycle, the level of pinout is 0V, instead of 3.3V. I'm using Debian 8 with kernel 4.1. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are

[beagleboard] Re: BBB doesn't boot after inserting uSD card having linux, even after pressing the S2 button for long

2016-09-20 Thread Viswadeep Sarangi
Hi Dennis, {That's alright, I am just glad I am getting help from you that's all as I have given up on the documents in the forum already} As my BBB isn't booting anymore, my PC isn't able to read the contents of BBB anymore. (As usual, as soon as I power my BBB, the USR0 and USR1 get lit and

Re: [beagleboard] Re: BBB doesn't boot after inserting uSD card having linux, even after pressing the S2 button for long

2016-09-20 Thread Viswadeep Sarangi
Hi William, I couldn't find anything in the uEnv.txt having uname. I am attaching the uEnv.txt file here again for reference. The BBB currently has a flashed Ubuntu image from : https://rcn-ee.com/rootfs/2016-09-09/flasher/BBB-eMMC-flasher-ubuntu-16.04.1-console-armhf-2016-09-09-2gb.img.xz And

Re: [beagleboard] Re: Microchip mcp2515, can over spi, not working. Wrong device tree overlay?

2016-09-20 Thread Laurits Telle Riple
After chatting in the IRC channel with Matthijs I was encouraged to not use overlays, and just make my own dtb. I have tried that now, but it doesn't seem to work properly. I've enabled spi0 and spi1. And used the spi_loopback to see that my dtb was working, then i expanded it by adding a cloc

Re: [beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread evilwulfie
you are not making sense. pwm pin low - 0v high = 3.3 v On 9/20/2016 1:48 AM, Hồng Quân Nguyễn wrote: > Hi, > > Is there any way to configure logic level for PWM on BeagleBone > Black/Green? I want that in duty cycle, the level of pinout is 0V, > instead of 3.3V. > > I'm using Debian 8 with ker

Re: [beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread Nguyễn Hồng Quân
What I want is, after "reset", the servo motor is supposed to be off, the pin is 3.3V, and when PWM starts, the servo is supposed to be started, the pin is 0V. On Tue, Sep 20, 2016 at 8:40 PM, evilwulfie wrote: you are not making sense. > > pwm pin low - 0v high = 3.3 v > > > -- Quân *

Re: [beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 9:06 AM, Nguyễn Hồng Quân wrote: > What I want is, after "reset", the servo motor is supposed to be off, the > pin is 3.3V, and when PWM starts, the servo is supposed to be started, > the pin is 0V. > > Stick an inverter in there. Regards, -- Robert Nelson https://rcn-e

Re: [beagleboard] Trying to run the ADC from the PRU

2016-09-20 Thread Phil
On Thursday, September 15, 2016 at 4:36:19 PM UTC-5, William Hermans wrote: > > The PRU hads to access the ADC through the L3_interconnect bus too . . . > so the control register for the L3_interconnect must also be enabled. > > That makes sense... But the TRM seems not to disclose the location

Re: [beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread evilwulfie
you will need an external inverting buffer On 9/20/2016 7:06 AM, Nguyễn Hồng Quân wrote: > What I want is, after "reset", the servo motor is supposed to be off, > the pin is 3.3V, and when PWM starts, the servo is supposed to be > started, the pin is 0V. > > On Tue, Sep 20, 2016 at 8:40 PM, ev

Re: [beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread Nguyễn Hồng Quân
Hi Robert, So there is no way to config the pin? I want the pin to be 0V when PWM is working, because I want to reduce the power drain from my BeagleBone board to feed the PWM pin. It is similar to why we have GPIO at 0V to turn on the LED. On Tue, Sep 20, 2016 at 9:20 PM, Robert Nelson wrote:

Re: [beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread Gerald Coley
Read the datasheet. It will tell you the state of the pin after reset, before the SW has run. Gerald On Tue, Sep 20, 2016 at 9:29 AM, evilwulfie wrote: > > > > you will need an external inverting buffer > > > > On 9/20/2016 7:06 AM, Nguyễn Hồng Quân wrote: > > What I want is, after "reset", the

Re: [beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread Nguyễn Hồng Quân
On Tue, Sep 20, 2016 at 9:50 PM, Gerald Coley wrote: > > Read the datasheet. It will tell you the state of the pin after reset, > before the SW has run.. > I don't really care the status in short moment. The reason behind my question is: " ​I want the pin to be 0V when PWM is working, because I

Re: [beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread Gerald Coley
Do a PDF search for the pin number. Gerald On Tue, Sep 20, 2016 at 10:02 AM, Nguyễn Hồng Quân wrote: > > > On Tue, Sep 20, 2016 at 9:50 PM, Gerald Coley > wrote: > >> >> Read the datasheet. It will tell you the state of the pin after reset, >> before the SW has run.. >> > > I don't really car

Re: [beagleboard] Logic level for PWM, kernel 4.1?

2016-09-20 Thread Graham
If you don't care about the initial state and when Linux is booting, why don't you just invert the duty cycle in software? That would effectively invert the pin polarity. --- Graham == On Tuesday, September 20, 2016 at 10:07:21 AM UTC-5, Gerald wrote: > > Do a PDF search for the pin number. >

[beagleboard] Re: BBGW cloud9 support Node js V6.4?

2016-09-20 Thread Pochao Huang
work thank you,Robert ^_^ Pochao Huang於 2016年9月19日星期一 UTC+8下午4時49分53秒寫道: > > BBGW cloud9 support Node js V6.4? > > When I update node to V6.4, Clound9 terminal is not working > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

Re: [beagleboard] Re: BBGW cloud9 support Node js V6.4?

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 11:09 AM, Pochao Huang wrote: > work > > thank you,Robert > > ^_^ > PS, i just pushed an update built against v6.6.0, so you should see the upgrade come across: sudo apt-get update ; sudo apt-get upgrade cloud9: 3.1.2374+git20160430 -> 3.1.3088+git20160915 Regards, --

Re: [beagleboard] Trying to run the ADC from the PRU

2016-09-20 Thread William Hermans
> > OTOH, I am still wondering if my kernel isn't the root cause. It seems > clear that other people have been able to get ADC control from the PRU, but > with 3.8 or 4.1 kernels. I could revert to an older kernel version, but > that feels like the wrong approach. I have also been looking at the II

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread Dave Lynch
That image is not working for me either. If I am following this, there is an issue where the eMMC is being partitioned as if it is 4G instead of 2G correct ? If I just modify the sfdisk portion of the Flash script will that correct this ? > -- For more options, visit http://beagleboard.or

Re: [beagleboard] Re: BBB doesn't boot after inserting uSD card having linux, even after pressing the S2 button for long

2016-09-20 Thread William Hermans
zImage is the old way Robert *used* to build kernels. As in . . . http://www.embeddedhobbyist.com/2013/07/beaglebone-black-usb-boot/ Look towards the bottom where I discuss mkimage. But anyway that post I made way back in july 2013, and it's very outdated. It's not how things are done any more. Bu

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread William Hermans
> > That image is not working for me either. > > If I am following this, there is an issue where the eMMC is being > partitioned as if it is 4G instead of 2G correct ? > > If I just modify the sfdisk portion of the Flash script will that correct this ? It's a little more complex than that. 1) sfd

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread William Hermans
https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSDcard Granted . . . sudo sfdisk ${DISK} <<-__EOF__ *4M*,,L,* __EOF__ Thats different form what I remember. I thought that was supposed to be 1M ? On Tue, Sep 20, 2016 at 10:13 AM, William Hermans wrote: > That

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 12:05 PM, Dave Lynch wrote: > That image is not working for me either. > > If I am following this, there is an issue where the eMMC is being > partitioned as if it is 4G instead of 2G correct ? > > If I just modify the sfdisk portion of the Flash script will that correct >

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread William Hermans
BBB-blank-debian-8.5-console-armhf-2016-06-19-2gb.img.xz That's the image I've been using. It's worked on an Element14 RevC, and an Element14 BBG. I haven't tried on my A5A. . . On Tue, Sep 20, 2016 at 10:17 AM, Robert Nelson wrote: > On Tue, Sep 20, 2016 at 12:05 PM, Dave Lynch wrote: > > Tha

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread William Hermans
err, so in a pinch or just outright one could use that image, and upgrade the kernel if need be later. Through APT. Assuming that image would work for the OP here . . . On Tue, Sep 20, 2016 at 10:28 AM, William Hermans wrote: > BBB-blank-debian-8.5-console-armhf-2016-06-19-2gb.img.xz > > That's

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 12:17 PM, Robert Nelson wrote: > On Tue, Sep 20, 2016 at 12:05 PM, Dave Lynch wrote: >> That image is not working for me either. >> >> If I am following this, there is an issue where the eMMC is being >> partitioned as if it is 4G instead of 2G correct ? >> >> If I just mo

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 12:32 PM, Robert Nelson wrote: > On Tue, Sep 20, 2016 at 12:17 PM, Robert Nelson > wrote: >> On Tue, Sep 20, 2016 at 12:05 PM, Dave Lynch wrote: >>> That image is not working for me either. >>> >>> If I am following this, there is an issue where the eMMC is being >>> par

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 12:38 PM, Robert Nelson wrote: > On Tue, Sep 20, 2016 at 12:32 PM, Robert Nelson > wrote: >> On Tue, Sep 20, 2016 at 12:17 PM, Robert Nelson >> wrote: >>> On Tue, Sep 20, 2016 at 12:05 PM, Dave Lynch wrote: That image is not working for me either. If I a

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 12:48 PM, Robert Nelson wrote: > On Tue, Sep 20, 2016 at 12:38 PM, Robert Nelson > wrote: >> On Tue, Sep 20, 2016 at 12:32 PM, Robert Nelson >> wrote: >>> On Tue, Sep 20, 2016 at 12:17 PM, Robert Nelson >>> wrote: On Tue, Sep 20, 2016 at 12:05 PM, Dave Lynch wro

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 1:16 PM, cory cauvier wrote: > Hello Nelson, > > I am currently trying to get the one wire working with a beaglebone. I have > done various paths but can't seem to get any to work. Would you be able to > direct me to a webpage that works for the beaglebone using the laste

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread cory cauvier
Hello Nelson, I am currently trying to get the one wire working with a beaglebone. I have done various paths but can't seem to get any to work. Would you be able to direct me to a webpage that works for the beaglebone using the lastest kernel and a ds18B20? Thanks, Cory On Saturday, August

Re: [beagleboard] 2016 09 09 BBB eMMC Flasher image fails to boot eMMC after powerdown

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 1:17 PM, Robert Nelson wrote: > On Tue, Sep 20, 2016 at 12:48 PM, Robert Nelson > wrote: >> On Tue, Sep 20, 2016 at 12:38 PM, Robert Nelson >> wrote: >>> On Tue, Sep 20, 2016 at 12:32 PM, Robert Nelson >>> wrote: On Tue, Sep 20, 2016 at 12:17 PM, Robert Nelson

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread cory cauvier
just got the newest version now I'm looking to do your next step. I don't follow your disable cape_unversal=enable (open /boot/uEnv.txt) Are you asking me to remove the # from this? I also don't have disable cape_unversal=enable tHanks, Cory On Tuesday, September 20, 2016 at 3:23:29 PM UTC-

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread William Hermans
cmdline=coherent_pool=1M quiet *cape_universal=enable* Remove, the bolded text. Or better yet, copy that line. Remove that text, then comment out the original line. On Tue, Sep 20, 2016 at 12:00 PM, cory cauvier wrote: > just got the newest version now I'm looking to do your next step. I don't

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread William Hermans
One more thing. make sure all other cmdline= lines are also commented out. As the last line will likely override previous lines. On Tue, Sep 20, 2016 at 12:05 PM, William Hermans wrote: > cmdline=coherent_pool=1M quiet > > *cape_universal=enable* > Remove, the bolded text. Or better yet, copy th

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread cory cauvier
thanks found it onto the next step On Tuesday, September 20, 2016 at 4:08:59 PM UTC-3, William Hermans wrote: > > One more thing. make sure all other cmdline= lines are also commented > out. As the last line will likely override previous lines. > > On Tue, Sep 20, 2016 at 12:05 PM, William Herman

Re: [beagleboard] Re: Grove temperature sensor on Beaglebone Black

2016-09-20 Thread Jason Kridner
There is an I2C Grove ADC module. That's generally how they expect you to use the analog modules with SeeedStudio BeagleBone Green. On Thu, Sep 15, 2016 at 1:54 PM Siddharth Amaravadi < siddharth.amarav...@gmail.com> wrote: > Thank you for the information Dennis. Along with the image the program

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread cory cauvier
hello William, Robert said to follow the steps on the like he sent me for github. It sends me to his code do I don't quite follow? Do I go back to the main page on overlays and do all the steps? Thanks, Cory On Tuesday, September 20, 2016 at 4:08:59 PM UTC-3, William Hermans wrote: > > On

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 2:45 PM, cory cauvier wrote: > hello William, > > Robert said to follow the steps on the like he sent me for github. It sends > me to his code do I don't quite follow? Do I go back to the main page on > overlays and do all the steps? Did you disable cape_universal=enable

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread cory cauvier
thanks robert. I did what william said. I removed the bold text in his reply. I did the wget as well as the bin bash. What is suppose to happen after I run bin/bash? thanks, Cory On Tuesday, September 20, 2016 at 4:48:45 PM UTC-3, RobertCNelson wrote: > > On Tue, Sep 20, 2016 at 2:45 PM,

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread William Hermans
It'll load the w1( one wire ) driver module if not already loaded, then it'll get the temperature from the device every 5 seconds. It'll also load the BB-W1-P9.12 device tree file. I'd assume you'd need to edit this file, or change the overlay file to be loaded if you need to use a different pin.

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread William Hermans
if [ ! -f /sys/bus/w1/devices/28-*/w1_slave ] ; then modprobe w1-gpio echo 'BB-W1-P9.12' > /sys/devices/platform/bone_capemgr/slots sleep 1 fi That pretty much mean if file /sys/bus/w1/devices/28-*/w1_slave exists -> modprobe w1-gpio -> load the BB-W1-P9.12 file into capema

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread Robert Nelson
On Tue, Sep 20, 2016 at 3:05 PM, cory cauvier wrote: > thanks robert. I did what william said. I removed the bold text in his > reply. I did the wget as well as the bin bash. What is suppose to happen > after I run bin/bash? You have the hardware.. dmesg and look under: /sys/bus/w1/devices

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread William Hermans
> > That pretty much mean if file /sys/bus/w1/devices/28-*/w1_slave exists -> > modprobe > w1-gpio -> load the BB-W1-P9.12 file into capemanager > then of course -> sleep for 1 second. > If file DOESNT exist. Sorry I missed the exclamation mark there initially. which is boolean NOT. On Tue, Sep

Re: [beagleboard] Compilation fails with dtsi file not found.

2016-09-20 Thread cory cauvier
thanks guys, I got messages when i hit demsg just need to play around a bit and learn what's going on. You guys saved me so much time. Thank,s Cory On Tuesday, September 20, 2016 at 5:17:29 PM UTC-3, William Hermans wrote: > > That pretty much mean if file /sys/bus/w1/devices/28-*/w1_slave

[beagleboard] Re: Getting Errors When Deploying Device Tree Overlays

2016-09-20 Thread Randy Canegaly
I am past this problem. On another forum, cape-universaln and usage of config-pin was explained to me. cape-universaln is an overlay that provides a way to configure pins without writing overlays. There is good information on this at beaglebone-universal-io

Re: [beagleboard] Re: BBGW cloud9 support Node js V6.4?

2016-09-20 Thread Pochao Huang
Hi Robert, Is bonescript need to reinstall too? RobertCNelson於 2016年9月21日星期三 UTC+8上午12時12分54秒寫道: > > On Tue, Sep 20, 2016 at 11:09 AM, Pochao Huang > wrote: > > work > > > > thank you,Robert > > > > ^_^ > > > > PS, i just pushed an update built against v6.6.0, so you should see > the up