[beagleboard] Re: Beaglebone Green - Experience and Notes

2017-10-10 Thread Chris M


>  several months later.
>
> I have let this sit for too long.  I don't remember all the steps taken to 
> get the robot running.
> using the i/o direct from  the beaglebone green input/output seems to fry 
> the board randomly. i had bought some optoisolators but never used them.. 
> too large.  The beagel bone io is problematic many cannot be used or mapped 
> correctly.
> Starting over.
>
> 1) update and upgrade apt get.
>
> # apt-get update
> # apt-get upgrade
>
>
> 2) found a copy of the robot python files not sure what version they are. 
> copied zip file into cloud 9 directory. (see attached)
>
> # apt-get install unzip
> # apt-get install zip
> # unzip example.zip
>
The main program is app.py (i think)
First run says flask-socket i/o not installed.
3) install flask socket io
get the latest pip version
# pip install --upgrade pip
install socketio (fast install)

# pip install flask-socketio


 Second run attempt askes for gevent
4) install gevent
# pip install gevent (takes several minutes)
 

> third run needs v4l2capture
>
5) install v4l2capture

installing v4l2capture

# git clone https://github.com/philips/libv4l
# cd libv4l
# make
#make install

install  v4l2capture

git clone https://github.com/gebart/python-v4l2capture 

python-v4l2capture uses distutils.
To build: ./setup.py build
To build and install: ./setup.py install

Now it runs... not sure if everything works, but the camera is sending 
video.

 

>
>
>
>
>
>
> On Sunday, November 13, 2016 at 4:09:06 PM UTC-6, Chris M wrote:
>>
>> Some thoughts and findings as I begin to learn the BBG (Beaglebone Green) 
>>
>

-- 
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/dbcacdb1-fc3d-4c3f-8d67-b820dfa40016%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Adafruit_BBIO and ErrorCodes/Seth

2017-10-10 Thread Mala Dies
Yes Sir,

Seth here. That issue that I closed has to do with power and not software.

Seth

P.S. I am sorry to drag you through everything. 

On Tuesday, October 10, 2017 at 10:48:53 PM UTC-5, Drew Fustini wrote:
>
> On Tue, Oct 10, 2017 at 10:09 PM, Mala Dies  > wrote: 
> > If you are pay attention Mr. Drew, LOOK online at the site where I was 
> > "complaining" and not remembering. 
>
> I am not sure that I understand. 
>
> Are you referring to issue #168? 
>
> I see that you have closed it: 
> https://github.com/adafruit/adafruit-beaglebone-io-python/issues/168 
>
>
> thanks, 
> drew 
>

-- 
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/46ee2683-e4ac-4098-ba82-3c1767048387%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Idle power consumption of Pocket Beagle?

2017-10-10 Thread Alan Corey
About half a watt.  Measured a couple days ago with a Drok.  Posted to 
debian-arm but from memory 0.1 amps.  The only load test I could think of 
(with no software installed) was to cd / then ls -lR and that ran about 
0.23 amps.

On Tuesday, October 10, 2017 at 1:14:06 PM UTC-4, mal...@gmail.com wrote:
>
> What is typical idle power consumption of Pocket Beagle?
>

-- 
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/01adee30-788d-4450-9b1f-35368bb37fa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Adafruit_BBIO and ErrorCodes/Seth

2017-10-10 Thread Drew Fustini
On Tue, Oct 10, 2017 at 10:09 PM, Mala Dies  wrote:
> If you are pay attention Mr. Drew, LOOK online at the site where I was
> "complaining" and not remembering.

I am not sure that I understand.

Are you referring to issue #168?

I see that you have closed it:
https://github.com/adafruit/adafruit-beaglebone-io-python/issues/168


thanks,
drew

-- 
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/CAEf4M_CDoubPJpGF0zteapCH1nCe8u8vvKLig1LQUvJkDnHO2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: The Grean-Bean and NodeJS on BBB/Seth

2017-10-10 Thread Mala Dies
Hello...thank you.

Seth

On Tuesday, October 10, 2017 at 10:23:58 PM UTC-5, Jason Kridner wrote:
>
>
>
> On Mon, Oct 9, 2017 at 2:34 PM Mala Dies  
> wrote:
>
>> Hello Sir,
>>
>> Seth here. Mr. Jason, I do not currently have any of the listed machines 
>> they have available but I am on the market for a new machine soon, e.g. 
>> fridge or other appliance. 
>>
>> With this in mind, I went a step back to see where FirstBuild got their 
>> listing for the Green-Bean. GE supposedly promoted this product and have 
>> some info. for their APIs. 
>>
>> I went to https://github.com/GEMakers/green-bean and found the API 
>> reference I need but I am unable to listen to the info. on the page from 
>> GEMakers on GitHub.com. It seems I cannot get GIT installed using npm for 
>> some reason. Is this the proper dialog for our forum?
>>
>
> Not so much. Sounds like either a git/github question or a GE question. 
> Anyway, since this thread is running, I'd just let you know that 'git' is 
> already installed on most BeagleBone Debian image and wouldn't ever be 
> something installed via npm. 'git' is used for folks developing the module 
> itself, generally, and the module gets uploaded to npmjs.com:
>
> https://www.npmjs.com/package/green-bean 
>
> So, just do: 'npm install green-been'
>  
>
>>
>> Seth
>>
>> P.S. I am asking because I would like to use the APIs when I receive the 
>> new appliance that will have Green-Bean compatibility. 
>>
>> On Sunday, October 8, 2017 at 8:12:05 PM UTC-5, Jason Kridner wrote:
>>
>>> On Sun, Oct 8, 2017 at 9:42 AM Mala Dies  wrote:
>>>
 Hello,

 I have paired a Green-Bean, located at FirstBuild.com, with the BBB. It 
 was as easy as a USB connection. Yea! Green-Bean has a GitHub.com page and 
 is located here: https://github.com/FirstBuild/green-bean. I will keep 
 people informed on what transpires.

 Seth

 P.S. @Jason, this is some more NodeJS stuff that may interest you. 

>>>
>>> Very cool. Got to give a workshop at FirstBuild and hope to see more use 
>>> of BeagleBone.  
>>> -- 
>>> https://beagleboard.org/about
>>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/832053c2-98cf-4001-9b9b-4140300d99de%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> https://beagleboard.org/about
>

-- 
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/af3ac476-6a5e-48d7-b8f0-d76a01b1a0f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: The Grean-Bean and NodeJS on BBB/Seth

2017-10-10 Thread Jason Kridner
On Mon, Oct 9, 2017 at 2:34 PM Mala Dies  wrote:

> Hello Sir,
>
> Seth here. Mr. Jason, I do not currently have any of the listed machines
> they have available but I am on the market for a new machine soon, e.g.
> fridge or other appliance.
>
> With this in mind, I went a step back to see where FirstBuild got their
> listing for the Green-Bean. GE supposedly promoted this product and have
> some info. for their APIs.
>
> I went to https://github.com/GEMakers/green-bean and found the API
> reference I need but I am unable to listen to the info. on the page from
> GEMakers on GitHub.com. It seems I cannot get GIT installed using npm for
> some reason. Is this the proper dialog for our forum?
>

Not so much. Sounds like either a git/github question or a GE question.
Anyway, since this thread is running, I'd just let you know that 'git' is
already installed on most BeagleBone Debian image and wouldn't ever be
something installed via npm. 'git' is used for folks developing the module
itself, generally, and the module gets uploaded to npmjs.com:

https://www.npmjs.com/package/green-bean

So, just do: 'npm install green-been'


>
> Seth
>
> P.S. I am asking because I would like to use the APIs when I receive the
> new appliance that will have Green-Bean compatibility.
>
> On Sunday, October 8, 2017 at 8:12:05 PM UTC-5, Jason Kridner wrote:
>
>> On Sun, Oct 8, 2017 at 9:42 AM Mala Dies  wrote:
>>
>>> Hello,
>>>
>>> I have paired a Green-Bean, located at FirstBuild.com, with the BBB. It
>>> was as easy as a USB connection. Yea! Green-Bean has a GitHub.com page and
>>> is located here: https://github.com/FirstBuild/green-bean. I will keep
>>> people informed on what transpires.
>>>
>>> Seth
>>>
>>> P.S. @Jason, this is some more NodeJS stuff that may interest you.
>>>
>>
>> Very cool. Got to give a workshop at FirstBuild and hope to see more use
>> of BeagleBone.
>> --
>> https://beagleboard.org/about
>>
> --
> 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/832053c2-98cf-4001-9b9b-4140300d99de%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
https://beagleboard.org/about

-- 
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/CA%2BT6QPnMz%3Da9D1GTuZLxX07v00GhCFfq%2BtMdZyG6YCy%2BRrwZcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Adafruit_BBIO and ErrorCodes/Seth

2017-10-10 Thread Mala Dies
If you are pay attention Mr. Drew, LOOK online at the site where I was 
"complaining" and not remembering.

Sorry sir.

Seth

P.S. Thank you for the support.

On Monday, October 2, 2017 at 7:33:16 PM UTC-5, Mala Dies wrote:
>
> Okay Sir,
>
> I will check it out soon.
>
> Seth
>
> On Monday, October 2, 2017 at 6:06:04 PM UTC-5, Drew Fustini wrote:
>>
>> Hi, it looks like you also raised this issue on github: 
>> https://github.com/adafruit/adafruit-beaglebone-io-python/issues/168 
>>
>> I prefer to continue the conversation inside that issue and have replied 
>> there. 
>>
>> thanks, 
>> drew 
>>
>> On Mon, Oct 2, 2017 at 3:39 PM, Mala Dies  wrote: 
>> > Hello, 
>> > 
>> > I noticed that PWM, P8_13, on the BBBW is having issues with the 
>> > Adafruit_BBIO framework. I have this software I found within a book I 
>> > purchased, "Getting Started with BeagleBone" (Richardson 2014). Anyway, 
>> The 
>> > software works without me using PWM but I would like to use PWM to make 
>> a 
>> > LED go bright to dim just by using the web page format found via Flask 
>> (a 
>> > Python Module). The error I incurred while running this software was 
>> this 
>> > and only this: RuntimeError: Problem with a sysfs file. 
>> > 
>> > So, here is the software: 
>> > 
>> > from flask import Flask, render_template 
>> > app = Flask(__name__) 
>> > import Adafruit_BBIO.GPIO as GPIO 
>> > import Adafruit_BBIO.PWM as PWM 
>> > 
>> > PWM.start("P8_13", 0.0) 
>> > 
>> > @app.route("/") 
>> > def hello(): 
>> > if GPIO.input(P8_11): 
>> > doorStatus = "open" 
>> > else: 
>> > doorStatus = "closed" 
>> > templateData = { 
>> > 'doorStatus': doorStatus, 
>> > } 
>> > return render_template('main-door.html', **templateData) 
>> > 
>> > @app.route('/ledLevel/') 
>> > def pin_state(level): 
>> > PWM.set_duty_cycle("P8_13", float(level)) 
>> > return "LED level set to " + "." 
>> > 
>> > if __name__ == "__main__": 
>> > app.run(host='192.168.7.2', port=5000, debug=True) 
>> > 
>> > So, please give advice or if you are using Adafruit_BBIO, please allow 
>> me 
>> > some "behind-the-scenes" look at the software to change to get things 
>> > "cracking." 
>> > 
>> > Seth 
>> > 
>> > P.S. I am sure there is a cure. Direct me to the software and I can 
>> start on 
>> > it. I found a link to the sourceforge items and software. Is this where 
>> I 
>> > should begin? 
>> > 
>> > -- 
>> > 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...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> > 
>> https://groups.google.com/d/msgid/beagleboard/a1177a92-8161-40bb-ac4d-1d75b6f63d78%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/58e42073-ec66-4c54-b443-75b30bb1dce3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: ENC28J60 Click on PocketBeagle

2017-10-10 Thread Graham
The MAC address on this ETH-WIZ is unstable.

The original MAC address was the same Saturday through Tuesday, through 
many reboots and different image installations.

I updated the kernel tonight, and after rebooting, the ETH-WIZ appeared to 
stop working, but it turns out the MAC address had changed, so the PB was 
assigned a different IP address.

I then did another reboot, and it came up on a third MAC address (and 
another IP address assigned by the router.)

Another few reboots and a few power cycles, and it has not changed again, 
yet.

None of the three MAC addresses had a legitimate OUI.

So there is a random number generator somewhere making up MAC addresses 
(which is a violation of sorts of the MAC address assignment process.)
And so far, I have not figured out what triggers it.

So far, I have seen (as seen in 'ifconfig' and confirmed as being used on 
the network by the router)
*86:37:73:45:44:E9  *
*62:C0:73:03:5E:AD*
*FE:7F:41:5A:31:F9*

This is weird. None of the three are in legitimate block assignments.

--- Graham



On Tuesday, October 10, 2017 at 9:33:16 AM UTC-5, Graham wrote:
>
> The ETH-WIZ locked up overnight running at 48 MHz SPI-Clock.
>
> I moved it down to 24 MHz and rebooted.  I'll let it run for the rest of 
> the week.
>
> --- Graham
>
> ==
>
>>
>>

-- 
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/9232c62e-a1c6-4984-8d86-5d0ab7d18fdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [beagleboard] Modifying BeagleBone Black Boot Code to Eliminate Power Button

2017-10-10 Thread Gerald Coley
Boot ROM code is already in the processor. Nothing to flash.

BBB already powers up when power is applied. Power button is for power shutdown.

If you are doing  a custom board, it might be a good idea to review the System 
Reference Manual to get a better understanding of how the board works to help 
with your design.

https://github.com/beagleboard/beaglebone-black/wiki/System-Reference-Manual


Gerald



From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Joe Kleespies
Sent: Tuesday, October 10, 2017 6:00 PM
To: BeagleBoard 
Subject: [beagleboard] Modifying BeagleBone Black Boot Code to Eliminate Power 
Button

Hey All,

We're in the process of making a custom version of the BeagleBone Black. 
Because this is a custom board, I assume that some sort of boot code needs to 
be flashed to the processor ROM, which handles initial booting of the processor 
before passing control to an image in eMMC or SD. Does anyone know where this 
primary boot code for the BeagleBone Black can be found and how it is flashed 
to the processor?

Also, in our application, we don't want a power button. We'd like the board to 
begin booting as soon as power is applied on either the AC or USB inputs of the 
PMIC. I assume that, by default, the BeagleBone Black boot code reads the INT 
register on the PMIC and asserts the PMIC_PWR_EN line only when it reads a set 
PB INT bit. We'd like to modify this code such that the processor asserts 
PMIC_PWR_EN when it reads the AC or USB INT bits.

Does anyone know where the boot code can be found and where it should be 
modified to suit this application?

Thanks in advance,

Joe
--
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/c42a0da2-6d77-44c8-96a0-a49e103d5ec3%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/454d9e8335e14f9e913fce748d497f02%40winhexbeus11.winus.mail.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Announcing $25 PocketBeagle

2017-10-10 Thread Robert Nelson
On Tue, Oct 10, 2017 at 7:39 PM, Andy Bushnell  wrote:
> I went back to the beagleboard.org to down load the image and it still has
> the one I was using?  Is there another place I should look?

Andy, use:

https://rcn-ee.net/rootfs/bb.org/testing/2017-10-10/stretch-iot/bone-debian-9.2-iot-armhf-2017-10-10-4gb.img.xz

Use etcher.io to write it to a sd card:

https://etcher.io/

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/CAOCHtYhzwB%2BkkMmXcfpJPEZPVPkEWYD9PUXGpWJ5174yu2%3Duug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Modifying BeagleBone Black Boot Code to Eliminate Power Button

2017-10-10 Thread Joe Kleespies
Hey All,

We're in the process of making a custom version of the BeagleBone Black. 
Because this is a custom board, I assume that some sort of boot code needs 
to be flashed to the processor ROM, which handles initial booting of the 
processor before passing control to an image in eMMC or SD. Does anyone 
know where this primary boot code for the BeagleBone Black can be found and 
how it is flashed to the processor?

Also, in our application, we don't want a power button. We'd like the board 
to begin booting as soon as power is applied on either the AC or USB inputs 
of the PMIC. I assume that, by default, the BeagleBone Black boot code 
reads the INT register on the PMIC and asserts the PMIC_PWR_EN line only 
when it reads a set PB INT bit. We'd like to modify this code such that the 
processor asserts PMIC_PWR_EN when it reads the AC or USB INT bits.

Does anyone know where the boot code can be found and where it should be 
modified to suit this application?

Thanks in advance,

Joe

-- 
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/c42a0da2-6d77-44c8-96a0-a49e103d5ec3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Announcing $25 PocketBeagle

2017-10-10 Thread Andy Bushnell
I went back to the beagleboard.org to down load the image and it still has
the one I was using?  Is there another place I should look?

Thanks
Andy


On Tue, Oct 3, 2017 at 7:58 PM, Graham  wrote:

> Andy:
>
> The following is an outline of what to do to connect a PocketBeagle to the
> internet via the USB cable to a Windows 10 desktop which is connected to
> the Internet via hardwire Ethernet.
>
> ~~~
> Ethernet over USB Tether Gadget
> ~~~
>
> This is to connect a PocketBeagle to the Internet through the USB
> connection to a Windows 10 desktop, which is connected by hardwire Ethernet
> to the Internet.
>
> I used 'Etcher' to load a fresh copy of the latest 'stretch' version of
> Debian 9.1 onto the Pocketbone.
> bone-debian-9.1-iot-armhf-2017-10-01-4gb.img
>
> Plug the PocketBeagle into an open USB port on your Windows 10 desktop
>
> The four LEDs should start blinking, and after about a minute or so, a new
> USB serial device should appear in Device Manager\Ports(COM), and a new
> Remote NDIS Compatible Device should appear in Device Manager\Network
> Adaptors
>
> Also, a new Ethernet interface will appear in Control Panel\Network and
> Internet\Network Connections.
> It will be described as "Unidentified Network", Remote NDIS Compatible
> Device
>
> Use Putty to connect to the new COM port
> log into the PocketBeagle
>
> now type
> sudo /sbin/route add default gw 192.168.7.1
>
> Now, on the Windows 10 desktop,
> go to and open your primary Ethernet interface:
>  Ethernet\Properties\Sharing\
> Check the two sharing boxes.
> Enter the name of the new NDIS Device interface into the box. [In my case
> it was Ethernet 2 ]
> Click 'OK' and exit the interface box
>
> Now open the Unidentified Network\NDIS Device
> interface\Properties\Internet Protocol Version 4\Properties
> Click 'Use the following IP address'
> Enter 192.168.7.1 as the IP address
> Enter 255.255.255.0 as the Subnet Mask
>
> Click 'Use the following DNS server addresses'
> Enter 8.8.8.8 as the Preferred DNS server.
> Click 'OK' and 'Close' to exit
>
> Now go to the PocketBeagle command line on Putty
> sudo nano /etc/resolv.conf
> down-arrow to get past the comment line
> enter 'nameserver 8.8.8.8'   [without the quotes]
> enter 
> enter , then 'Y',  to exit[without the quotes]
>
> The Ethernet tether gadget should be operational.
> To test, type 'ping google.com' in the command line. [without the quotes]
> It should run and see the ping replies.
> type  to abort.
>
> You should now have internet access and can
> sudo apt-get update
>
> The two entries in the PockBeagle are not persistent, so after any reboot,
> you will have to repeat the two entries in the PocketBeagle to get the
> internet tether gadget running again.
>
>
> There is more information here ...
> https://www.digikey.com/en/maker/blogs/how-to-connect-a-
> beaglebone-black-to-the-internet-using-usb/cdf66181b3a5436e9ad730e4ed4cf9
> ee
>
> ==
>
> --
> 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/JtOGZb-FH2A/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/9f6b9e7a-75f4-4800-bd07-2dfc65970e21%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMaO1peUgw7S%2B5ONwCreBSCBzW5vWM1qco5WaHNGgX_tz5z3PA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Announcing $25 PocketBeagle

2017-10-10 Thread Andy Bushnell
Still doesn't work.  But I noticed my image is 9/21/17.  Older than yours.
Do you think that could be the problem.  I'll give it a try.
Thanks Graham
Andy


On Tue, Oct 3, 2017 at 7:58 PM, Graham  wrote:

> Andy:
>
> The following is an outline of what to do to connect a PocketBeagle to the
> internet via the USB cable to a Windows 10 desktop which is connected to
> the Internet via hardwire Ethernet.
>
> ~~~
> Ethernet over USB Tether Gadget
> ~~~
>
> This is to connect a PocketBeagle to the Internet through the USB
> connection to a Windows 10 desktop, which is connected by hardwire Ethernet
> to the Internet.
>
> I used 'Etcher' to load a fresh copy of the latest 'stretch' version of
> Debian 9.1 onto the Pocketbone.
> bone-debian-9.1-iot-armhf-2017-10-01-4gb.img
>
> Plug the PocketBeagle into an open USB port on your Windows 10 desktop
>
> The four LEDs should start blinking, and after about a minute or so, a new
> USB serial device should appear in Device Manager\Ports(COM), and a new
> Remote NDIS Compatible Device should appear in Device Manager\Network
> Adaptors
>
> Also, a new Ethernet interface will appear in Control Panel\Network and
> Internet\Network Connections.
> It will be described as "Unidentified Network", Remote NDIS Compatible
> Device
>
> Use Putty to connect to the new COM port
> log into the PocketBeagle
>
> now type
> sudo /sbin/route add default gw 192.168.7.1
>
> Now, on the Windows 10 desktop,
> go to and open your primary Ethernet interface:
>  Ethernet\Properties\Sharing\
> Check the two sharing boxes.
> Enter the name of the new NDIS Device interface into the box. [In my case
> it was Ethernet 2 ]
> Click 'OK' and exit the interface box
>
> Now open the Unidentified Network\NDIS Device
> interface\Properties\Internet Protocol Version 4\Properties
> Click 'Use the following IP address'
> Enter 192.168.7.1 as the IP address
> Enter 255.255.255.0 as the Subnet Mask
>
> Click 'Use the following DNS server addresses'
> Enter 8.8.8.8 as the Preferred DNS server.
> Click 'OK' and 'Close' to exit
>
> Now go to the PocketBeagle command line on Putty
> sudo nano /etc/resolv.conf
> down-arrow to get past the comment line
> enter 'nameserver 8.8.8.8'   [without the quotes]
> enter 
> enter , then 'Y',  to exit[without the quotes]
>
> The Ethernet tether gadget should be operational.
> To test, type 'ping google.com' in the command line. [without the quotes]
> It should run and see the ping replies.
> type  to abort.
>
> You should now have internet access and can
> sudo apt-get update
>
> The two entries in the PockBeagle are not persistent, so after any reboot,
> you will have to repeat the two entries in the PocketBeagle to get the
> internet tether gadget running again.
>
>
> There is more information here ...
> https://www.digikey.com/en/maker/blogs/how-to-connect-a-
> beaglebone-black-to-the-internet-using-usb/cdf66181b3a5436e9ad730e4ed4cf9
> ee
>
> ==
>
> --
> 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/JtOGZb-FH2A/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/9f6b9e7a-75f4-4800-bd07-2dfc65970e21%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMaO1pcUE-MxR8BuKBw06hwz46zzNw38kxkpYhiWpjX2598o%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Serial Baudrates

2017-10-10 Thread Paul Van den Bergh



Hi folks,

Finally, I succeeded in resolving this problem:

struct termios2 settings;

m_fdSerial = open(m_pDevice.c_str(), O_RDWR | O_NOCTTY);
if(m_fdSerial < 0)
{
//TODO Daemon has no terminals, use syslog
perror("open");
}

int r = ioctl(m_fdSerial, TCGETS2, );
if(r)
{
perror("ioctl");
}

settings.c_ispeed = settings.c_ospeed = 62500;
settings.c_cflag &= ~CBAUD;
settings.c_cflag |= BOTHER;

r = ioctl(m_fdSerial, TCSETS2, );
if(r)
{
perror("ioctl");
}

while(1)
{
write(m_fdSerial, "U", 1);
}

Running this code an the BBB (after enabling the uart1 overlay) gives this 
output:



This is exactly what was needed. ;)

-- 
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/ed39af0a-0a4f-4469-9756-65b790db57bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eagle Library for the PocketBeagle to create Expansion Boards

2017-10-10 Thread Dan Brown
I don't have an account on github.  I don't have any issue with the library 
being made available there.  Make things alot easier for people to find I'd 
think!  Make sure to upload the second (smaller) version.

Dan

On Sunday, October 8, 2017 at 7:27:03 PM UTC-4, Jason Kridner wrote:
>
>
>
> On Wednesday, October 4, 2017 at 1:01:19 AM UTC-6, hns wrote:
>>
>> Works fine and is very useful.
>>
>> Thanks again!
>>
>
> If this is meant for sharing, how about posting a pull request to 
> https://github.com/beagleboard/pocketbeagle? We could put these in an 
> reasonably named subdirectory. A couple of other folks did very similar 
> things and we should try to save folks some effort.
>  
>
>>
>> -- hns
>>
>>

-- 
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/827b098b-7af8-460d-ac24-63922f894ee0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Adding a USB Port to PocketBeagle

2017-10-10 Thread Dan Brown
On the expansion connectors, the +5V from the built-in USB port is 
connected to the pins labeled VOUT on the back.  GND labels ground pins. 

On Saturday, October 7, 2017 at 3:05:43 PM UTC-4, Andy Bushnell wrote:
>
> Which pins are to +5 and gnd?  
>
> 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/931b44e5-6abb-4214-af6c-2cabf14ee0d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Adding a USB Port to PocketBeagle

2017-10-10 Thread Dan Brown
On the expansion connectors, the +5V from the built-in UBS port is 
connected to the pins labeled VOUT on the back.  GND labels ground pins. 

On Saturday, October 7, 2017 at 3:05:43 PM UTC-4, Andy Bushnell wrote:
>
> Which pins are to +5 and gnd?  
>
> 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/86ee9d3e-80df-491e-a557-49044bfd0f6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Serial Baudrates

2017-10-10 Thread Paul Van den Bergh
*Going to insane concepts now: *

I am faced with this situation just because I need to communicate with an 
AVR device running @ 10MHz.  This 10MHz is required to produce RS485 
signals @ 62500 baud.  However, at a clock rate of 10MHz I'm unable to 
generate 'standard' baud-rates as they are available in Linux.  I can't 
change the RS485 baud rate (Products on the market).  Furthermore my 
prototype pcb's are on the way...

(see also http://www.avrfreaks.net/forum/avr-usart-baudrates#comment-2292516
)

-- 
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/e74c103f-5562-4e7b-a3b1-28ffc0a4cbee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Serial Baudrates

2017-10-10 Thread William Hermans
On Tue, Oct 10, 2017 at 9:04 AM, Paul Van den Bergh 
wrote:

> Hi all,
>
> I'm implementing an interface to a commercial product that communicates
> over an asynchronous interface at 62500 Baud.  Looking at the 
> files on the BBB I cannot find this setting.  Is it at all possible to set
> up a u(s)art to communicate at this speed?  Is it possible with ioctl()?
> Where can I find more info on the later ?
>
> Thanks for your replies.
>

Read Peter Hurley's second post. From he link below. He he wrote / linked
code that will do any baud rate. A gist on github I believe it is. Then
it's just a gcc -Wall  -o 

https://groups.google.com/forum/#!searchin/beagleboard/serial$20baud$20rate$205760|sort:relevance/beagleboard/GC0rKe6rM0g/13c1ngXF7owJ

-- 
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/CALHSORovyobKCNkc-DVVj7gEMuqBv%2BkzjB5cnAS6X6ozTcgOGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Serial Baudrates

2017-10-10 Thread Paul Van den Bergh
Hi Denis,

Thanks for your reaction.

In  the same baudrates as in your post are mentioned.  However, 
after googling about the topic I'm now investigating in the ioctl() 
function.  For the moment I have this in my code:

/*
 * XpressNetInterface.cpp
 *
 *  Created on: Oct 9, 2017
 *  Author: paul
 */

#include "XpressNetInterface.h"

#include 
#include 
#include 
#include 
#include 

//#include 
#include 

namespace DCC_V3
{
...
XpressNetInterface::XpressNetInterface(const char* pDevice)
: m_pDevice(pDevice)
{
struct termios2 settings;

m_fdSerial = open(m_pDevice.c_str(), O_RDWR | O_NOCTTY);
if(m_fdSerial < 0)
{
//TODO Daemon has no terminals, use syslog
perror("open");
}

int r = ioctl(m_fdSerial, TCGETS2, );
if(r)
{
perror("ioctl");
}

settings.c_ispeed = settings.c_ospeed = 62500;
settings.c_cflag &= ~CBAUD;
settings.c_cflag |= BOTHER;

r = ioctl(m_fdSerial, TCSETS2, );
if(r)
{
perror("ioctl");
}

m_fdStop = eventfd(0, 0);
m_thread = thread([this]
{
threadFunc();
});

}

...
}

This compiles without errors or warnings.  But before I can test it I have 
to investigate in the "never ending story of device tree overlays".

BTW I cannot use one of the PRUSS processors because they are both used for 
other purposes.

Op dinsdag 10 oktober 2017 19:13:30 UTC+2 schreef Dennis Lee Bieber:
>
> On Tue, 10 Oct 2017 09:04:48 -0700 (PDT), Paul Van den Bergh 
>  declaimed the 
> following: 
>
> >Hi all, 
> > 
> >I'm implementing an interface to a commercial product that communicates 
> >over an asynchronous interface at 62500 Baud.  Looking at the  
> >files on the BBB I cannot find this setting.  Is it at all possible to 
> set 
> >up a u(s)art to communicate at this speed?  Is it possible with ioctl()? 
>   
> >Where can I find more info on the later ? 
> > 
> The TI Technical Reference Manual for the SoC used by the BBB. 
> (Page 
> 4320 of SPRUH73P http://www.ti.com/lit/ug/spruh73p/spruh73p.pdf 
>
> Baud rateOver samplingDivisorError (%) 
> 300161
> 0 
>
> 600165000 
>0 
>
> 12001625000 
>
> 24001612500 
>
> 480016625 
>0 
>
> 960016313 
>0.16 
>
> 1440016208
> 0.16 
>
> 1920016156
> 0.16 
>
> 2880016104
> 0.16 
>
> 384001678 
>0.16 
>
> 576001652 
>0.16 
>
> 1152001626
> 0.16 
>
> 2304001613
> 0.16 
>
> 460800138 
>0.16 
>
> 921600134 
>0.16 
>
> 1843200132
> 0.16 
>
> 300161
> 0 
>
> 3686400131
> 0.16 
>
>
>
> No 62500... No MIDI 31250 either  
>
> It might be possible to program one of the PRUs to emulate a UART 
> at 
> the needed speed. (Unless I stuffed a few too many zeros in it, I'm coming 
> up with over 3000 PRU instructions per bit ) 
> -- 
> Wulfraed Dennis Lee Bieber AF6VN 
> wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.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/8e489e71-873f-4eb2-9b9f-6e30ecbb1102%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Idle power consumption of Pocket Beagle?

2017-10-10 Thread malaire
What is typical idle power consumption of Pocket Beagle?

-- 
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/056d8532-1255-40a0-9ea8-19cac6d3cf3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] How to boot bb kernel 4.4 in beaglebone black

2017-10-10 Thread Mrigendra Chaubey
I have booted kernel 3.8 but not able to boot kernel 4.4.

uEnv.txt

*console=ttyS0,115200n8*
*netargs=setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro 
rootfstype=ext4 rootwait debug earlyprintk mem=256M*
*netboot=echo Booting from Network ...; setenv autoload no ; load mmc 0:1 
${loadaddr} uImage ; load mmc 0:1 ${fdtaddr} am335x-boneblack.dtb ; run 
netargs ; bootm ${loadaddr} - ${fdtaddr}*

with these, I am able to boot kernel 3.8
Now I am using same uboot.img and uEnv.txt and just replacing dtb and 
uImage for 4.4
Kernel 4.4 taken from here
uenvcmd=run netboothttps://github.com/beagleboard/linux

uboot logs

*U-Boot SPL 2016.07 (Jul 19 2016 - 00:02:40)*
*Trying to boot from MMC1*
*MMC partition switch failed*
 Warning - MMC partition switch failed, using default environment*

*reading u-boot.img*
*reading u-boot.img*


*U-Boot 2016.07 (Jul 19 2016 - 00:02:40 +0530)*

*   Watchdog enabled*
*I2C:   ready*
*DRAM:  512 MiB*
*MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1*
 Warning - bad CRC, using default environment*

*Net:not set. Validating first E-fuse MAC*
*cpsw, usb_ether*
*Press SPACE to abort autoboot in 2 seconds*
*switch to partitions #0, OK*
*mmc0 is current device*
*Scanning mmc 0:1...*
*switch to partitions #0, OK*
*mmc0 is current device*
*SD/MMC found on device 0*
*switch to partitions #0, OK*
*mmc0 is current device*
*SD/MMC found on device 0*
*reading boot.scr*
*** Unable to read file boot.scr ***
*reading uEnv.txt*
*351 bytes read in 3 ms (114.3 KiB/s)*
*Loaded env from uEnv.txt*
*Importing environment from mmc0 ...*
*Running uenvcmd ...*
*Booting from Network ...*
*reading uImage*
*8715288 bytes read in 493 ms (16.9 MiB/s)*
*reading am335x-boneblack.dtb*
*56891 bytes read in 9 ms (6 MiB/s)*
*## Booting kernel from Legacy Image at 8200 ...*
*   Image Name:   Linux-4.4.90*
*   Created:  2017-10-07  15:26:28 UTC*
*   Image Type:   ARM Linux Kernel Image (uncompressed)*
*   Data Size:8715224 Bytes = 8.3 MiB*
*   Load Address: 80008000*
*   Entry Point:  80008000*
*   Verifying Checksum ... OK*
*## Flattened Device Tree blob at 8800*
*   Booting using the fdt blob at 0x8800*
*   Loading Kernel Image ... OK*
*   Loading Device Tree to 8ffef000, end 8e3a ... OK*

*Starting kernel ...*

I am booting with SD card.

-- 
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/0e2fa2ab-b8c4-4d91-addc-1aab28e6a2fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Serial Baudrates

2017-10-10 Thread Paul Van den Bergh
Hi all,

I'm implementing an interface to a commercial product that communicates 
over an asynchronous interface at 62500 Baud.  Looking at the  
files on the BBB I cannot find this setting.  Is it at all possible to set 
up a u(s)art to communicate at this speed?  Is it possible with ioctl()?  
Where can I find more info on the later ?

Thanks for your replies. 

-- 
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/4b7f4332-554b-42e0-b761-1a390a2f9074%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BBB usb0 RNDIS ethernet connection does not configure correctly, cannot connect through SSH over USB

2017-10-10 Thread DarkHelmet
I'm having a longstanding issue with using the SSH connection over the USB 
RNDIS ethernet interface; it works at first but after a while I lose the 
network connection. Here's what I've observed so far:

The network is shown as up on the BBB 
[root@bbb]~$ ifconfig
eth0  Link encap:Ethernet  HWaddr b0:d5:cc:f6:a1:f2
  inet addr:192.168.1.29  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::b2d5:ccff:fef6:a1f2/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:114 errors:0 dropped:0 overruns:0 frame:0
  TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:10056 (9.8 KiB)  TX bytes:1332 (1.3 KiB)
  Interrupt:175

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:65536  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb0  Link encap:Ethernet  HWaddr b0:d5:cc:f6:a1:f0
  inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
  inet6 addr: fe80::b2d5:ccff:fef6:a1f0/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:136 errors:0 dropped:0 overruns:0 frame:0
  TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:14692 (14.3 KiB)  TX bytes:1356 (1.3 KiB)


However, if I check ifstate it is not listed:

[root@bbb]~$ cat /run/network/ifstate
lo=lo
eth0=eth0


When trying to bring it back down/up by force, RTNETLINK complains

[root@bbb]~$ ifdown usb0
ifdown: interface usb0 not configured
[root@bbb]~$ ifup --force usb0

RTNETLINK answers: File exists
Failed to bring up usb0.


But the /etc/network/interfaces show the usb0 configured
[root@bbb]~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.252
network 192.168.7.0
gateway 192.168.7.1
auto eth0
iface eth0 inet dhcp


and from dmesg, the g_ether module loads correctly
[   23.579423] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[   23.579434] g_ether gadget: g_ether ready
[   23.823800] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   23.991528] g_ether gadget: high-speed config #2: RNDIS
[   23.991792] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready


>From the PC the network is discovered but no gateway/ip address/etc.. is 
configured (see network details screenshot)

Where can I go from here? The usb0 network *seems *to be up but the 
underlying setup fails at some unknown point. Rebooting the BBB does not 
fix the issue, only "fix" so far is to reflash the BBB with a fresh image.

This issue has happened on many different BBB v.C. I am running 
the bone-debian-8.4-console-armhf-2016-05-13-2gb.img precompiled image with 
a slight modification to the DTS to disable an i2c that was interfering 
with some of my overlays. Any pointers are grealty appreciated!

-- 
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/75f636f1-4327-4979-a21e-5344db4327ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] PRU

2017-10-10 Thread Rick Reynolds
This github is great for getting started with the PRUs. Cuts right to the chase 
and provides examples for all the required files.

Thanks Jason.

-- 
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/9970245b-fadc-42cf-ac8c-e31321469d61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: ENC28J60 Click on PocketBeagle

2017-10-10 Thread Graham
The ETH-WIZ locked up overnight running at 48 MHz SPI-Clock.

I moved it down to 24 MHz and rebooted.  I'll let it run for the rest of 
the week.

--- Graham

==

>
>

-- 
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/b0dcc2f6-5f75-4e49-9e97-5b1a5355f66b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: serial RS232 detect signal Break condiction

2017-10-10 Thread fang1457737815


在 2013年6月26日星期三 UTC+8上午1:11:19,maui写道:
>
> Hi, 
> I'd like to know if it would be possible to detect with BBB RS232 the 
> signal Break condiction [which is caused by sending continuous Spacing 
> values (no Start or Stop bits)].
> I would need to syncronize my communication on a break received from 
> external device on serial port...
> I would need, in alternative, a way to detect a framing error...
>
> any help would be appreciate...
> thank you
> Maui
>
> Break condition 
> A "break condition" occurs when the receiver input is at the "space" level 
> for longer than some duration of time, typically, for more than a character 
> time. This is not necessarily an error, but appears to the receiver as a 
> character of all zero bits with a framing error.
>

-- 
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/90c33ad0-9d40-4a9a-8585-3e9eac0ee7ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: serial RS232 detect signal Break condiction

2017-10-10 Thread fang1457737815
Hi , I have recently encountered the same problem, another pc is sensbreak,
 I have set the BRKINT flag, and set ttyUSB0 to controlling tty 
successfully, but ttyUSB0's program still didnt receive the SIGINT signal

-- 
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/60b1e1e9-697d-4a43-8633-b926a3c33b24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.