[beagleboard] Re: SSH'ing to BeagleBone Black via usb gadget takes ages

2016-01-19 Thread Markus Huber
Hi, 

I have a similar problem. I have two BBB with different OS, one is 


Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l 
GNU/Linux

and the other one is

Linux beaglebone 3.8.13-bone79 #1 SMP Tue Oct 13 20:44:55 UTC 2015 armv7l 
GNU/Linux

the first one connects perfectly fine with ssh anytime, the second one 
sometimes doesn't connect, then when I press the reset button and it 
reboots, it works fine again. 

In general, once I am connected and I do a "sudo reboot" I can't connect 
anymore and have to manually reset it in order to get it to work again. 

Is there any way to fix that? Update drivers? Any ideas?

Am Freitag, 16. Oktober 2015 01:17:09 UTC-7 schrieb bremenpl:
>
> Hello there,
> On my BeagleBone Black I am using the console Debian image version:
> Linux beaglebone 4.1.9-ti-r20 #1 SMP PREEMPT Fri Oct 2 05:35:56 UTC 2015 
> armv7l GNU/Linux
>
> When trying to connect to the board via ssh using the usb ethernet gadget 
> it takes ages, and sometimes it doesnt even work- just hangs and I have to 
> ctrl+c. When I am lucky and i do get connected, its really buggy. Letters 
> are appearing in the console after a while. Connecting through standard 
> ethernet connector works flawlesly.
> Is there a way to fix this? I would apreciate all help!
>

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


Re: [beagleboard] Re: /sys/device/bone_capemgr* doesn't exist on fresh image

2016-01-19 Thread Robert Nelson
On Tue, Jan 19, 2016 at 2:19 PM, Harry Arends Fotografie
 wrote:
> Now i got a new error:
>
> root@beaglebone:/opt/scripts/tools# git pull
> Updating a4d0fe2..2be47e9
> error: Your local changes to the following files would be overwritten by 
> merge:
> tools/beaglebone-black-eMMC-flasher.sh
> Please, commit your changes or stash them before you can merge.
> Aborting
>
> I am new to this so

git reset HEAD --hard
git pull

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


Re: [beagleboard] Question regarding UART

2016-01-19 Thread Davide Picchi
Which programming language would be the best to write uart applications in
C++, Python, or Java?

This question doesn't make any sense. There is not a better programming
language than another.Not absolutely. From your question I can understand
that you are pretty new in the world of programming. Specially for embedded
devices. Maybe you want to use the BBB and not be one day an expert in
informatics. In this case you can start which any language you want, but
most probably you'll find confortable with Python.
In this case you have tons of tutorial about using USART. But...if you
don't have any experience in programming language it will be very hard for
you to adapt tutorials to your needs.

Is it possible to send data between the uarts without them being physically
connected?

Do you mean through a wireless connections? Of course...take a look at Xbee
Module or eNIC Nitro. The latter is a modified version of an Arduino. Both
are really easy to configure and to use.

2016-01-19 19:04 GMT+01:00 Michael Williams :

> I have a few questions regarding the UARTs on the Beaglebone Black & Green.
>
> What is a good resource for writing programs for the uarts? Which
> programming language would be the best to write uart applications in C++,
> Python, or Java?
>
> Is it possible to send data between the uarts without them being
> physically connected?
>
> Thank you in advance for your help.
>
> Mike
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [beagleboard] Question regarding UART

2016-01-19 Thread William Hermans
>
>
> *What is a good resource for writing programs for the uarts? Which
programming language would be the best to write uart applications in C++,
Python, or Java?*


Google. Seriously.

>
> *Is it possible to send data between the uarts without them being
physically connected? *


No . . . and yes. No, they must be connected in order to communicate with
one another. Yes, in that there is wireless UART through bluetooth. I do
not know much about though other than it exists, but you can find serial to
bluetooth adapters on ebay all day long for ~$3 USD each.

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


RE: [beagleboard] Re: /sys/device/bone_capemgr* doesn't exist on fresh image

2016-01-19 Thread Harry Arends Fotografie
Now i got a new error:

root@beaglebone:/opt/scripts/tools# git pull
Updating a4d0fe2..2be47e9
error: Your local changes to the following files would be overwritten by merge:
tools/beaglebone-black-eMMC-flasher.sh
Please, commit your changes or stash them before you can merge.
Aborting

I am new to this so

-Oorspronkelijk bericht-
Van: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] Namens 
Robert Nelson
Verzonden: dinsdag 19 januari 2016 20:37
Aan: Beagle Board
Onderwerp: Re: [beagleboard] Re: /sys/device/bone_capemgr* doesn't exist on 
fresh image

On Tue, Jan 19, 2016 at 1:33 PM, Harry H. Arends  
wrote:
> I tryed to update using this: sudo ./update_kernel.sh --bone-rt-kernel 
> --lts but got this as reaction:
> root@beaglebone:/opt/scripts/tools# sudo ./update_kernel.sh 
> --bone-rt-kernel --lts
> --2016-01-19 19:27:20--  
> http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp
> Resolving rcn-ee.net (rcn-ee.net)... 45.33.2.10,
> 2600:3c00::f03c:91ff:fe37:6ad5
> Connecting to rcn-ee.net (rcn-ee.net)|45.33.2.10|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2016-01-19 19:27:21 ERROR 404: Not Found

update the repo:

cd  /opt/scripts/tools/

git pull

btw, no reason for "sudo" if your are logged in as root..

Regards,

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

--
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/IpZuVHS3aEs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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


Re: [beagleboard] OSX el Capitan breaks HoRNDIS?

2016-01-19 Thread Josh Beam
Thanks for the tips Heath. I installed the drivers, connected both a)
external power and b) the USB from the BBB to my Mac (running 10.11.1),
restarted the Mac, and still can't SSH. Weird, I guess I'll just keep
trying to troubleshoot.

On Mon, Jan 18, 2016 at 12:11 PM, Heath Raftery  wrote:

> Joshua,
>
> Yes, it definitely worked for me on 10.11.1, but I later realised it
> probably had more to do with the restart than the system upgrade. I think
> even restarting the BBB was enough to stop it working, until the next
> reboot of 10.11.1. If you have a power supply and an ethernet port handy,
> then using that ought to be a much easier and more reliable method. If I
> were you, I’d focus on getting that working so you’re not thwarted by funky
> USB tethering shenanigans.
>
> Heath
>
> On 19 Jan 2016, at 6:53 AM, joshua.a.b...@gmail.com wrote:
>
> Hey Heath, I am running 10.11.1 on one laptop, and 10.11.2 on another
> laptop. I connected my BBB via USB, installed the drivers, attempted to SSH
> and was unable to connect. I also tried connecting via ethernet and using
> an external power supply, but for some reason I was not able to connect
> that way either.
>
> From your message it looks like you were able to get it to work on
> 10.11.1? Are you able to SSH via network over USB now?
>
> If all else fails, I have a WiFi dongle coming in the mail today that I am
> going to try...
>
> On Saturday, October 24, 2015 at 2:55:06 PM UTC-7, Heath Raftery wrote:
>>
>> On Sunday, October 25, 2015 at 6:34:18 AM UTC+11, Heath Raftery wrote:
>>>
>>> On Wednesday, October 21, 2015 at 2:17:44 AM UTC+11, RobertCNelson wrote:


 http://nyus.joshuawise.com/HoRNDIS-rel8pre1.pkg


>>> Anyone get this version to work? There's certainly progress since the
>>> kext now happily loads. But nothing happens when I plug the Beaglebone in.
>>> In particular, nothing appears in System Preferences -> Network, and
>>> there's no response from 192.168.7.2. Is there another step to turn
>>> "tethering" on in the Beaglebone?
>>>
>>> Answering my own question: there's nothing more to do, except upgrade to
>> 10.11.1. Then it all just works!
>>
>
> --
> 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/sp3_x1k5WP8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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/sp3_x1k5WP8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


[beagleboard] BeagleSNES does not recognize USB gamepad connected to native BBB usb

2016-01-19 Thread Wagner Gomes
Hello, I have a BBB beaglesnes with perfectly installed, but my problem 
when connecting the USB gamepad in native BBB connector it is not 
recognized.
What should I change the code to stop using GPIO and direct use native USB 
connection? Thus able to use my generic USB gamepad that is recognized by 
the PC without any problems?

Thanks,
Wagner Gomes

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


[beagleboard] Re: Beaglebone Quadcopter!

2016-01-19 Thread epul13 . 02
hye Mike MCDonald
 I would like to know what is the name of the board that you connect with 
BBB..the green one board..
I hope you will reply my email..thank you..

On Tuesday, May 13, 2014 at 8:11:10 AM UTC+8, Mike McDonald wrote:
>
> Hey guys,
>
> A group of Rose-Hulman students have been hard at work this past year 
> building a Beaglebone Quadcopter with these goals in mind:
>
> 1. Low cost ($100-150 w/o Beaglebone)
> 2. Fully open source (Cape, Frame, and all control software) on our Github 
> 
> .
> 3. Easy to assembly and repair (we estimate it will take 1-2 hours to 
> assemble and get ready to fly)
> 4. Durable and easy to fly (currently supports USB game controller 
> control, though we initially tested using a USB RC controller, though it's 
> also possible to eventually use a cell phone as a controller) with a 10 
> minute flight time
> 5. Sensor packed: 9-Axis (MPU 9150), Altimeter (BMP 180), Ultrasonic 
> Rangefinder (HC SR04), Battery Gas Gauge (MAX 17044), and CMOS Camera 
> (OV7670).
>
> The Quadcopter is flown via WiFi and Bluetooth (though streaming video 
> doesn't yet work over Bluetooth) from a host computer (you need somewhere 
> to view the streaming video from). Additionally, we're using a Debian image 
> and have added Xenomai for better real time performance. We're also using 
> both PRU's: one for real time motor control and one for the camera. With 
> the quadcopter software running, we've still got 80+% of the CPU free for 
> other processing (OpenCV, etc.).
>
> We're currently using a PID control scheme, but we may be switching to a 
> sweet state variable feedback system (or getting a senior design group next 
> year to do it).
>
> So, we want some feedback from you guys on the following:
>
>1. 
> *Would you buy one of these Quadcopters? *
>2. 
> *Is our price point reasonable? Is this something worth selling ourselves 
>or would this be a good kickstarter project? *
>3. *Are there any other features you think are critical (wouldn't buy 
>without it)?*
>
> If you want to dive deeper into our design:
>
>1. *How does the software look (particularly the PRU to C interface)? 
>Would you be willing to maintain it, or update it to State Variable?*
>2. *How does the PCB look? Are there any flaws you see? Would you want 
>to add or remove any other sensors?*
>3. *How does the mechanical design (Quadcopter frame) look? Is it 
>aesthetically pleasing? Easy to build (if you have a laser cutter, give it 
>a try and let us know)? Easy to fix when broken?*
>
> Here are some pictures:
>
>
> 
>
>
> 
>
>
> 
>
>
> 
>
> Videos are available on here 
> (and on the 
> github 
> ).
>  
> Our best video is probably here 
> ,
>  
> as it shows it both flying as well as the streaming video.
>
> If you guys have any questions, respond here or email me back.
>
> 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Unable to complete initial START.htm

2016-01-19 Thread Robert Nelson
On Tue, Jan 19, 2016 at 12:05 PM, canis  wrote:
> Hello All,
>
>
> New to BBB- trying to access my first board.
>
>
> I've attached a Beaglebone  Black to a MacBook Pro using the USB cord that
> accompanied the board.  The computer sees the board and I can begin the
> "START.htm" sequence, but I cannot advance beyond "Step 2: Install Drivers".
> The "Network" & "Serial" drivers are downloaded, but no checkmark appears
> next to the step.  Skipping ahead to "Step 3: Browse the web server on
> board" (select: http://192.168.7.2) initiates a "connecting" process, but
> eventually the message "The connection has timed out" appears.
>
>
>
> I've also begun the "Start" sequence on an HP Pavillion.  Upon selecting
> both the 64 bit installer and the 32 bit installer, the following message
> appears: "The signature of BONE_64.exe is corrupt or invalid."

old image = expired windows cert.

https://github.com/beagleboard/beaglebone-getting-started/tree/master/Drivers/Windows

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


[beagleboard] Re: PCB Layout questions for BBB

2016-01-19 Thread Travis Estep
More to the point here, I suggest absolutely no changes to the DDR section 
unless you and your software guy know what you're doing. Any changes to these 
traces will require changes to the DDR timing in the BBB software. 

No offense, but if you want to mod this board as a learning experience, then by 
all means, have at it. That's what I have been doing. Nearly 20 spins of the 
board later, my changes are starting to work (I am a software guy trying to 
break into the hardware world).

Judging by the questions you are asking, I don't think it's realistic to expect 
your first run of boards to actually function as expected. And I don't know if 
you have seen the price of 6 layer boards in small runs, but they are NOT 
cheap. And don't order a ton of boards for your first run. You will be throwing 
them away when you figure out that they don't work. If you are trying to build 
a serious project on a limited budget, enlist the help of someone who really 
knows what they are doing. If you are simply trying to learn, be prepared to 
bust out some serious cash for this very expensive journey.

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


[beagleboard] Question regarding UART

2016-01-19 Thread Michael Williams
I have a few questions regarding the UARTs on the Beaglebone Black & Green.

What is a good resource for writing programs for the uarts? Which 
programming language would be the best to write uart applications in C++, 
Python, or Java?

Is it possible to send data between the uarts without them being physically 
connected?  

Thank you in advance for your help.

Mike

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


Re: [beagleboard] Re: /sys/device/bone_capemgr* doesn't exist on fresh image

2016-01-19 Thread Robert Nelson
On Tue, Jan 19, 2016 at 1:33 PM, Harry H. Arends
 wrote:
> I tryed to update using this: sudo ./update_kernel.sh --bone-rt-kernel --lts
> but got this as reaction:
> root@beaglebone:/opt/scripts/tools# sudo ./update_kernel.sh --bone-rt-kernel
> --lts
> --2016-01-19 19:27:20--  http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp
> Resolving rcn-ee.net (rcn-ee.net)... 45.33.2.10,
> 2600:3c00::f03c:91ff:fe37:6ad5
> Connecting to rcn-ee.net (rcn-ee.net)|45.33.2.10|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2016-01-19 19:27:21 ERROR 404: Not Found

update the repo:

cd  /opt/scripts/tools/

git pull

btw, no reason for "sudo" if your are logged in as root..

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


[beagleboard] Re: /sys/device/bone_capemgr* doesn't exist on fresh image

2016-01-19 Thread Harry H. Arends
I tryed to update using this: sudo ./update_kernel.sh --bone-rt-kernel --lts
but got this as reaction:
root@beaglebone:/opt/scripts/tools# sudo ./update_kernel.sh 
--bone-rt-kernel --lts
--2016-01-19 19:27:20--  http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp
Resolving rcn-ee.net (rcn-ee.net)... 45.33.2.10, 2600:3c00::f03c:91ff:fe37:
6ad5
Connecting to rcn-ee.net (rcn-ee.net)|45.33.2.10|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-01-19 19:27:21 ERROR 404: Not Found


Anny suggestions?

Harry

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


[beagleboard] Unable to complete initial START.htm

2016-01-19 Thread canis
 

Hello All,


New to BBB- trying to access my first board.


I've attached a Beaglebone  Black to a MacBook Pro using the USB cord that 
accompanied the board.  The computer sees the board and I can begin the 
"START.htm" sequence, but I cannot advance beyond "Step 2: Install 
Drivers".  The "Network" & "Serial" drivers are downloaded, but no 
checkmark appears next to the step.  Skipping ahead to "Step 3: Browse the 
web server on board" (select: http://192.168.7.2) initiates a "connecting" 
process, but eventually the message "The connection has timed out" appears.

 

I've also begun the "Start" sequence on an HP Pavillion.  Upon selecting 
both the 64 bit installer and the 32 bit installer, the following message 
appears: "The signature of BONE_64.exe is corrupt or invalid."

 

In both cases (Mac & PC) all 5 blue LEDs light up on plugging in the USB.

The USB has been switched out- same results.

Any suggestions would be VERY MUCH appreciated.

 

Regards,

canis

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


Re: [beagleboard] Question regarding UART

2016-01-19 Thread William Hermans
BY the way, "which language?" is subjective, and something you need to
answer for yourself. Me ? I prefer C, but I always prefer C.

On Tue, Jan 19, 2016 at 12:39 PM, William Hermans  wrote:

>
>> *What is a good resource for writing programs for the uarts? Which
> programming language would be the best to write uart applications in C++,
> Python, or Java?*
>
>
> Google. Seriously.
>
>>
>> *Is it possible to send data between the uarts without them being
> physically connected? *
>
>
> No . . . and yes. No, they must be connected in order to communicate with
> one another. Yes, in that there is wireless UART through bluetooth. I do
> not know much about though other than it exists, but you can find serial to
> bluetooth adapters on ebay all day long for ~$3 USD each.
>
>

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


Re: [beagleboard] bone_capemgr.* - no such file or directory (Debian 8.2 2015-11-12)

2016-01-19 Thread Robert Nelson
On Tue, Jan 19, 2016 at 5:54 PM, Robert Hurd  wrote:
> I upgraded my BeagleBone Black image for Debian 8.2, 2015-11-12.
>
> When trying to view which overlays are enabled:
>
> cd /sys/devices/bone_capemgr.*
>
> I get the following error
>
> bash: cd: /sys/devices/bone_capemgr.*: No such file or directory
>
> This used to work out of the box on my older Debian image.
>
> Can anyone explain why this may be?
> I'm trying to get the PWM on P9_21 to work.
>
> When I execute a python script using the Adafruit tutorial:
>
> import Adafruit_BBIO.PWM as PWM
> import time

If you are going to use adafruit's lib, downgrade the kernel:

sudo apt-get update
sudo apt-get install linux-image-3.8.13-bone79
sudo reboot

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


Re: [beagleboard] Question regarding UART

2016-01-19 Thread William Hermans
>
> *This question doesn't make any sense. There is not a better programming
> language than another.Not absolutely. From your question I can understand
> that you are pretty new in the world of programming. Specially for embedded
> devices. Maybe you want to use the BBB and not be one day an expert in
> informatics. In this case you can start which any language you want, but
> most probably you'll find confortable with Python.*
> *In this case you have tons of tutorial about using USART. But...if you
> don't have any experience in programming language it will be very hard for
> you to adapt tutorials to your needs.*
>

The question is valid, and makes perfect sense. However the answer is
largely subject to opinion.

So, in Linux, a serial device generally presents it's self as a file
object. Like so many other devices in Linux. What this means is that any
language that has libraries, or APIs for handling files can be used to
communicate over serial. Also, since maximum theoretical communication
speed for UART is around 3Mbit / s(reliable ), having the fastest language
such as C, or C++ in play does not matter so much. For this one small
aspect, at any rate. However, if the application does much more than just
some form of serial communication + storing data. C / C++ might be a good
idea.

For communication over serial, and data visualization though, even
Javascript can be used ( Nodejs ), and in fact it's been proven time, and
time again. That Nodejs is often more performant when compared to most
scripting languages. But gain, I digress. Performance is very possibly a
minor concern here . . .

On Tue, Jan 19, 2016 at 2:23 PM, Davide Picchi  wrote:

> Which programming language would be the best to write uart applications in
> C++, Python, or Java?
>
> This question doesn't make any sense. There is not a better programming
> language than another.Not absolutely. From your question I can understand
> that you are pretty new in the world of programming. Specially for embedded
> devices. Maybe you want to use the BBB and not be one day an expert in
> informatics. In this case you can start which any language you want, but
> most probably you'll find confortable with Python.
> In this case you have tons of tutorial about using USART. But...if you
> don't have any experience in programming language it will be very hard for
> you to adapt tutorials to your needs.
>
> Is it possible to send data between the uarts without them being
> physically connected?
>
> Do you mean through a wireless connections? Of course...take a look at
> Xbee Module or eNIC Nitro. The latter is a modified version of an Arduino.
> Both are really easy to configure and to use.
>
> 2016-01-19 19:04 GMT+01:00 Michael Williams :
>
>> I have a few questions regarding the UARTs on the Beaglebone Black &
>> Green.
>>
>> What is a good resource for writing programs for the uarts? Which
>> programming language would be the best to write uart applications in C++,
>> Python, or Java?
>>
>> Is it possible to send data between the uarts without them being
>> physically connected?
>>
>> Thank you in advance for your help.
>>
>> Mike
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [beagleboard] bone_capemgr.* - no such file or directory (Debian 8.2 2015-11-12)

2016-01-19 Thread William Hermans
>
> *If you are going to use adafruit's lib, downgrade the kernel:*
>
> * sudo apt-get update*
> * sudo apt-get install linux-image-3.8.13-bone79*
> * sudo reboot*
>


Or, port the software, and share with everyone ;)

On Tue, Jan 19, 2016 at 4:56 PM, Robert Nelson 
wrote:

> On Tue, Jan 19, 2016 at 5:54 PM, Robert Hurd 
> wrote:
> > I upgraded my BeagleBone Black image for Debian 8.2, 2015-11-12.
> >
> > When trying to view which overlays are enabled:
> >
> > cd /sys/devices/bone_capemgr.*
> >
> > I get the following error
> >
> > bash: cd: /sys/devices/bone_capemgr.*: No such file or directory
> >
> > This used to work out of the box on my older Debian image.
> >
> > Can anyone explain why this may be?
> > I'm trying to get the PWM on P9_21 to work.
> >
> > When I execute a python script using the Adafruit tutorial:
> >
> > import Adafruit_BBIO.PWM as PWM
> > import time
>
> If you are going to use adafruit's lib, downgrade the kernel:
>
> sudo apt-get update
> sudo apt-get install linux-image-3.8.13-bone79
> sudo reboot
>
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

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


[beagleboard] cannot install cmake on Linux beaglebone 4.1.12-ti-r29 yet installs on Ubuntu 15.04

2016-01-19 Thread Dean
 

cannot install cmake on Linux beaglebone 4.1.12-ti-r29


crico@crico-X555LAB:~$ ssh dean@192.168.7.2

Debian GNU/Linux 8


BeagleBoard.org Debian Image 2015-11-12


Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian


default username:password is [debian:temppwd]


dean@192.168.7.2's password: 

Last login: Tue Jan 19 19:44:39 2016 from 192.168.7.1

dean@beaglebone:~$ sudo apt-get install cmake

[sudo] password for dean: 

Reading package lists... Done

Building dependency tree 

Reading state information... Done

Package cmake is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source


E: Package 'cmake' has no installation candidate

dean@beaglebone:~$ 

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


Re: [beagleboard] cannot install cmake on Linux beaglebone 4.1.12-ti-r29 yet installs on Ubuntu 15.04

2016-01-19 Thread Robert Nelson
On Tue, Jan 19, 2016 at 7:04 PM, Dean  wrote:
> cannot install cmake on Linux beaglebone 4.1.12-ti-r29
>
>
> crico@crico-X555LAB:~$ ssh dean@192.168.7.2
>
> Debian GNU/Linux 8
>
>
> BeagleBoard.org Debian Image 2015-11-12
>
>
> Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
>
>
> default username:password is [debian:temppwd]
>
>
> dean@192.168.7.2's password:
>
> Last login: Tue Jan 19 19:44:39 2016 from 192.168.7.1
>
> dean@beaglebone:~$ sudo apt-get install cmake
>
> [sudo] password for dean:
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> Package cmake is not available, but is referred to by another package.

update your apt cache:

"sudo apt-get update"

sudo apt-get install cmake

if it still doesn't work, then 'you' changed something...

https://packages.debian.org/search?searchon=contents=cmake=exactfilename=stable=any

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


Re: [beagleboard] cannot install cmake on Linux beaglebone 4.1.12-ti-r29 yet installs on Ubuntu 15.04

2016-01-19 Thread Dean
The more I learn the more I realize how little I know. Robert, thanks for 
coming through on this. Problem solved.


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


Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-19 Thread William Hermans
>
> *Why do you think it's wrong? The point of LD_LIBRARY_PATH is to*
> * collect all the places you might have shared libs, whether system or*
> * application or private.*
>

Because it's wrong. *LD_LIBRARY_PATH *is executation time, not link time.
Link time is *-L /path/to/lib*( gcc / g++ )

http://unix.stackexchange.com/questions/168340/where-is-ld-library-path-how-do-i-set-the-ld-library-path-env-variable

On Mon, Jan 18, 2016 at 9:00 PM, Dean  wrote:

> All said something else is going on here. libEBBLibrary.so is definitely
> there yet it does not take. I should mention that namespace std is being
> used to make updates on code easier. See code listed below.
>
>
> root@beaglebone:~/exploringBB/chp09/LCDcharacter# export
> LD_LIBRARY_PATH="~/exploringBB/library/libEBBLibrary.so:$LD_LIBRARY_PATH"
>
> root@beaglebone:~/exploringBB/chp09/LCDcharacter# ./LCDApp
>
> ./LCDApp: error while loading shared libraries: libEBBLibrary.so: cannot
> open shared object file: No such file or directory
>
> root@beaglebone:~/exploringBB/chp09/LCDcharacter# cd ../../library
>
> root@beaglebone:~/exploringBB/library# ls
>
> CMakeLists.txt README build bus display docs example gpio libEBBLibrary.a
> libEBBLibrary.so motor network sensor
>
> root@beaglebone:~/exploringBB/library#
>
>
> Here is the code ...
>
>
> #include 
> #include 
> #include 
> #include "display/LCDCharacterDisplay.h"
> using namespace std;
> using namespace exploringBB;
>
> int main(){
>cout << "Starting EBB LCD Character Display Example" << endl;
>SPIDevice *busDevice = new SPIDevice(2,0); //Using second SPI bus (both
> loaded)
>busDevice->setSpeed(100);  // Have access to SPI Device object
>ostringstream s;   // Using this to combine text and
> int data
>LCDCharacterDisplay display(busDevice, 16, 2); // Construct 16x2 LCD
> Display
>display.clear();   // Clear the character LCD module
>display.home();// Move the cursor to the (0,0)
> position
>display.print("EBB by D. Molloy"); // String to display on the first row
>for(int x=0; x<=1; x++){   // Do this 10,000 times
>   s.str("");  // clear the ostringstream object s
>   display.setCursorPosition(1,3); // move the cursor to second row
>   s << "X=" << x; // construct a string that has an
> int value
>   display.print(s.str()); // print the string X=*** on the LCD
> module
>}
>cout << "End of EBB LCD Character Display Example" << endl;
> }
>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


[beagleboard] PCB Layout questions for BBB

2016-01-19 Thread Rob
Hi All,

I'm currently modifying RevC / PCB Rev B6 for integration into a custom 
design. I have a few questions if others could provide input.
The design is imported into Altium, and I feel there may be some missed PCB 
settings during the import.

*1. Layer Stackup + Copper thickness* - Are there any details on the layer 
stackup + copper used? I would imagine this could impact some of he high 
speed / memory interfaces etc..


*2. Minimum track width *- The following nets have 3.75mil tracks vs most 
other nets with 4.75mil thickness.
HDMI_Tx(x) lines.
DDR_DQS(n)(x) lines
DDR_CLK lines

Is there any issues using these thicknesses with standard 4/4 PCM 
Manufacturing processes. Or does this require specialised manufacturing. 
Would making these lines 4+mil have much effect on signal integrity ?


*3. Wedge shaped pad connects* - On some tracks, the pad connections have a 
wedge shape meeting the track as shown below. I haven't seen this before, 
what is the reason for this ? 




*4. Any other advice ?*
Has anyone done this before ? Are there any traps or other gotchas I Need 
to be looking out for ?

Thanks in advance for your help.
Rob.

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


[beagleboard] PCB Layout questions for BBB

2016-01-19 Thread Travis Estep
To your first question, I'm not sure about the stackup. Maybe Gerald can weigh 
in. 

As for the trace/space tolerances, each manufacturer is different. Some will 
not even attempt to print the boards, but some will try with the understanding 
that as you get away from their minimum specs, the yield also goes down. For 
example, if they specify a minimum trace/space of 4/4, but you need 3/3, they 
may print it, but you may see something like 4 of every 10 boards are unusable. 
And they won't replace those boards. You took the chance on your own free will 
knowing that you weren't within spec. So you may need to order 40% more boards 
than you need just to have enough to fulfill your needs.

The "wedges" you see are called teardrops. Some people use them when connecting 
to vias/pads as a stress relief. It prevents the traces from breaking away from 
the pads so easily. They are not essential, but do help more than you'd think.

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


[beagleboard] RE: [U-Boot] [PATCH] At start of autoboot check, flush any pending RX bytes

2016-01-19 Thread Craig McQueen
> Tom Rini wrote:
> 
> On Mon, Jan 11, 2016 at 09:59:18AM -0700, Simon Glass wrote:
> > Hi Craig,
> >
> > On 20 December 2015 at 19:07, Craig McQueen
> >  wrote:
> > > This is to avoid the boot sequence halting due to initial "junk"
> > > received on serial input.
> > >
> > > Signed-off-by: Craig McQueen 
> > > ---
> > > I have found that on the BeagleBone Black, U-Boot occasionally halts
> > > at the U-Boot prompt at boot-up, whether power-up, warm external
> > > reset or software reset. I have seen other people report the same issue.
> > >
> > > This seems to be due to U-Boot receiving "junk" data on the serial
> > > console. The BeagleBone Black has a pull-down resistor which was
> > > apparently added to try to mitigate this issue, but it doesn't
> > > entirely fix it.
> >
> > I wonder if this can be fixed for that board only?
> 
> No, and it's not -exactly- a that board only problem.  It's a HW design issue
> that can show up elsewhere too.  I _think_ however in this case the answer
> would be to migrate to perhaps CONFIG_AUTOBOOT_KEYED_CTRLC as that's
> one of the reason various other boards use that set of options.
> 
> I would suggest bringing this up on the beaglebone list to see what the
> various people that ship and support these boards think, thanks!

Other options such as CONFIG_AUTOBOOT_KEYED_CTRLC sound like a work-around of 
the problem, rather than a fix of the root-cause. But maybe that's just my 
opinion. Simon Glass' suggestion (clear out the UART input buffer when the 
driver is probed) sounded reasonable, but I haven't tried it.

I think BeagleBone Black definitely needs _some_ sort of fix -- currently BBB 
can randomly fail to boot, which isn't good. If my patch isn't wanted, then 
please implement a suitable alternative.

It could be worth checking the UART's error flags (break, framing error, parity 
error, etc), and ignoring a byte with any error. But it looks as though the 
U-Boot code would need more extensive changes to support that.

On what BeagleBone list do you suggest this should be brought up?

-- 
Craig McQueen

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


[beagleboard] BeagleBone Black Industrial 4G compliant BBB logo?

2016-01-19 Thread kgkytoaioo


 

 

Hi, ALL

I found some BeagleBoard.

That is BeagleBone Black Industrial 4G provided by elemnt14 as below:

 

-element14 BeagleBone Black Industrial 4G 

http://www.element14.com/community/docs/DOC-78671/l/element14-beaglebone-black-industrial-4g



 

So, I have some questions:

1)Does element14 compliant the BeagleBoard Compliant Logo?

2)Does the "BeagleBone Black Industrial 4G" acquire BeagleBoard Compliant 
and certification?

 

In product folder of element14, it describes that the board has compliant:

- BeagleBoard.org compatible product

 

 

Is it correct?

 

-Current "beagleboard compliant" logo licensee(s):

Element14 BeagleBone Black

http://beagleboard.org/logo

 

best regards,

kytkg

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


[beagleboard] Where is prussdrv_start_irqthread?

2016-01-19 Thread hllpc
Hello everyone,

in the PRU Linux Application Loader API Guide 
there
 
is a reference to the function prussdrv_start_irqthread, but I can't find 
it in prussdrv.h or prussdrv.c!

Am I missing something?
Regards

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


Re: [beagleboard] PCB Layout questions for BBB

2016-01-19 Thread Gerald Coley
PCB shops wil always modify the Gerber files to fit their processes to
yield the desire impedance. Therefore the stack ups vary slightly from shop
to shop.

The specified stack up is in the files supplied.

Terardrops are used for added robustness on connector pins that may be
stressed during use.

Gerald


On Tue, Jan 19, 2016 at 7:45 AM, Travis Estep  wrote:

> To your first question, I'm not sure about the stackup. Maybe Gerald can
> weigh in.
>
> As for the trace/space tolerances, each manufacturer is different. Some
> will not even attempt to print the boards, but some will try with the
> understanding that as you get away from their minimum specs, the yield also
> goes down. For example, if they specify a minimum trace/space of 4/4, but
> you need 3/3, they may print it, but you may see something like 4 of every
> 10 boards are unusable. And they won't replace those boards. You took the
> chance on your own free will knowing that you weren't within spec. So you
> may need to order 40% more boards than you need just to have enough to
> fulfill your needs.
>
> The "wedges" you see are called teardrops. Some people use them when
> connecting to vias/pads as a stress relief. It prevents the traces from
> breaking away from the pads so easily. They are not essential, but do help
> more than you'd think.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Gerald

ger...@beagleboard.org
http://beagleboard.org/

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


[beagleboard] Re: PCB Layout questions for BBB

2016-01-19 Thread CEinTX
Rob,

1) There is a FAB layer in the gerbers that shows the stackup used. The 
stackup will vary with the board shop used - based on their processes and 
the board material you specify and its dielectric constant.
2) This again can vary depending on the board shop - dielectric constant 
and trace thickness contribute to width for controlled impedance traces. 
For differential - gap is also important.
3) As stated, teardrops can be used for added strength, they can also be 
used to limit breakout to the trace - so as tolerances in drilling vary, 
the hole won't break the connection to the
   trace - annular ring also comes into play with this - if you have 
enough annular ring, you won't need to have teardrops to aid in breakout to 
the trace - or in general.
4) Yes, I modified the design - there are plenty of places for traps and 
gotchas. Depends on how much you are varying the design.
  Be mindful of plane breaks and high speed signals when rerouting 
traces. To reduce noise, make sure your signals have return/ground paths 
that can follow closely to the trace.
  Be mindful of length matching on your high speed interfaces. On your 
prototypes, put current sense resistors inline with each power rail to aid 
in debug of power issues - can remove later.
  Try not to modify the DDR3 routing if possible - it works - only 
modify what you need for process variation on the pcb build.
  That's all I can think of for now.
 
Good Luck with your design.
Matt


On Tuesday, January 19, 2016 at 7:01:11 AM UTC-6, Rob wrote:
>
> Hi All,
>
> I'm currently modifying RevC / PCB Rev B6 for integration into a custom 
> design. I have a few questions if others could provide input.
> The design is imported into Altium, and I feel there may be some missed 
> PCB settings during the import.
>
> *1. Layer Stackup + Copper thickness* - Are there any details on the 
> layer stackup + copper used? I would imagine this could impact some of he 
> high speed / memory interfaces etc..
>
>
> *2. Minimum track width *- The following nets have 3.75mil tracks vs most 
> other nets with 4.75mil thickness.
> HDMI_Tx(x) lines.
> DDR_DQS(n)(x) lines
> DDR_CLK lines
>
> Is there any issues using these thicknesses with standard 4/4 PCM 
> Manufacturing processes. Or does this require specialised manufacturing. 
> Would making these lines 4+mil have much effect on signal integrity ?
>
>
> *3. Wedge shaped pad connects* - On some tracks, the pad connections have 
> a wedge shape meeting the track as shown below. I haven't seen this before, 
> what is the reason for this ? 
>
>
> 
>
>
> *4. Any other advice ?*
> Has anyone done this before ? Are there any traps or other gotchas I Need 
> to be looking out for ?
>
> Thanks in advance for your help.
> Rob.
>

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


Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-19 Thread Dean

I now know what is going on, but I'll be damned if I know how to resolve 
it. Prior to adding #include  the usleep function would not take. 
Hopefully a coding guru might be able to help me out on this one as I am 
novice when it comes to coding.

http://stackoverflow.com/questions/34184743/kernel-compiles-but-wont-link-with-unistd-h-reference


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


[beagleboard] UART connection question

2016-01-19 Thread Michael Williams
I have a few questions regarding the UARTs on the Beaglebone Black & Green.

What is a good resource for writing programs for the uarts? Which 
programming language would be the best to write uart applications in C++, 
Python, or Java?

Is it possible to send data between the uarts without them being physically 
connected?  

Thank you in advance for your help.

Mike


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


Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-19 Thread Dean

It turns out that #include is not required. I was using the 
usleep function earlier. Regardless the end result is the same. No go. 
Everything would indicate that although it compiles and builds it fails to 
come through on the link. Back to reading.

root@beaglebone:~/exploringBB/chp09/LCDcharacter# ls
LCDAppLCDApp.cpp  build  build_static
root@beaglebone:~/exploringBB/chp09/LCDcharacter# sudo sh -c "echo 
BB-SPIDEV1 > $SLOTS"
root@beaglebone:~/exploringBB/chp09/LCDcharacter# cat $SLOTS|grep SPI
 4: P-O-L-   0 Override Board Name,00A0,Override Manuf,BB-SPIDEV1
root@beaglebone:~/exploringBB/chp09/LCDcharacter# ./build
root@beaglebone:~/exploringBB/chp09/LCDcharacter# ./LCDApp
./LCDApp: error while loading shared libraries: libEBBLibrary.so: cannot 
open shared object file: No such file or directory
root@beaglebone:~/exploringBB/chp09/LCDcharacter# 


>

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