Re: [beagleboard] Troubleshooting GPIOs (some can't be written)

2016-04-05 Thread Rick Mann
> On Apr 5, 2016, at 21:18 , Dennis Lee Bieber wrote: > > On Tue, 5 Apr 2016 18:46:21 -0700, Rick Mann > declaimed the following: > >> I'm having some trouble getting my GPIOs to behave as I'd like. I don't know >> if my overlay is causing problems, or something else (it's here: >> http://pa

Re: [beagleboard] Finding GPIO3_21 on the BBB schematic

2016-04-05 Thread Rick Mann
> On Apr 5, 2016, at 21:04 , John Syne wrote: > > You are correct. The caption on P3 is incorrect. McASP0 is connected to R167, > U5 Pin A14 and P9 Pin 25 Thanks, John! -- Rick Mann rm...@latencyzero.com -- For more options, visit http://beagleboard.org/discuss --- You received this mess

[beagleboard] Re: Finding GPIO3_21 on the BBB schematic

2016-04-05 Thread Graham
I am not sure exactly which signal you are chasing. A good reference for which signals are routed to which pins under which modes is Molloy's Header Charts: http://exploringbeaglebone.com/chapter6/#BeagleBone_BlackHeaderCharts Download the P8 and P9 header charts. They also give you a good idea

Re: [beagleboard] Finding GPIO3_21 on the BBB schematic

2016-04-05 Thread John Syne
You are correct. The caption on P3 is incorrect. McASP0 is connected to R167, U5 Pin A14 and P9 Pin 25 Regards, John > On Apr 5, 2016, at 7:14 PM, Rick Mann wrote: > > I'm looking at a schematic dated Mar 21, 2014, rev C. I'm trying to find > where the McASP0 external clock generator, on p

[beagleboard] Finding GPIO3_21 on the BBB schematic

2016-04-05 Thread Rick Mann
I'm looking at a schematic dated Mar 21, 2014, rev C. I'm trying to find where the McASP0 external clock generator, on page 3, goes. It references pp. 6, 10, and 11, but I can only find it on p.4 (which references only p. 11), and p. 11, P9 header, pin 25 (which references only p. 4). -- Rick

[beagleboard] Troubleshooting GPIOs (some can't be written)

2016-04-05 Thread Rick Mann
I'm having some trouble getting my GPIOs to behave as I'd like. I don't know if my overlay is causing problems, or something else (it's here: http://pastebin.com/JqE4emX3). But right now, I can't use sysfs to write a value to a GPIO: # echo 115 > /sys/class/gpio/export # echo out > /sys/class/g

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread William Hermans
> > *It seems likely that I'm just doing something wrong, some simple thing > and perhaps I simply cannot read and write from Python to my text file, but > that seems crazy.* > The thought that you're doing something wrong did cross my mind, but I usually try to give a person a benefit of the doub

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
Thanks William but although I have done some C programming and have read and written files in C, I don't know how to get C running on the Beaglebone. Hopefully I haven't painted myself in a corner but my Python program is running well otherwise. I am doing some Fuzzy Logic control for a paint f

Re: [beagleboard] PRU configure and basic test not working

2016-04-05 Thread John Syne
That should read > With TI attempting to mainline all it’s driver code we don’t expect to see > many of the problems like your in the future Regards, John > On Apr 5, 2016, at 5:41 PM, John Syne wrote: > > So if you cannot do it, then you want another volunteer to do for you? We are > all

Re: [beagleboard] PRU configure and basic test not working

2016-04-05 Thread John Syne
So if you cannot do it, then you want another volunteer to do for you? We are all in the same boat as you, and we all do our part, but simply complaining about the situation without first trying to improve the situation isn’t helpful. Previously, you mentioned Raspberry Pi, which for the most

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread William Hermans
Sorry I should have added this o my last post. In C you check the file descriptor "object" for -1, and if -1 you check errno, which should be a value indicating which error you're getting. Another thing you can check, even before trying something with C, is dmesg | tail, and see if any errors crop

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread William Hermans
John, the only other thign I can think of which may be a possibility. Is that your eMMC might perhaps be in read only mode ? Which does not explain the no error message thing, but why don't you try to write a simple C app to do the same and see what happens ? On Tue, Apr 5, 2016 at 5:20 PM, John B

Re: [beagleboard] PRU configure and basic test not working

2016-04-05 Thread William Hermans
> > *But fact of the matter, unless Robert or Jason come in with an answer, > there usually isn't one.* > So you're saying only Robert and Jason know how to setup and use the PRU ? I know that's wrong. I can tell you what the deal is with me however. When I come on, and say I could perhaps write

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
I made a new folder /home/baker and then changed my write open() command to f = open('/home/baker/MyFile.txt', w) and the read open command to f = open('/home/baker/MyFile.txt', w) but still am not able to create and write to the MyFile.txt. Now the getcwd() command tells me that the cwd is /ho

Re: [beagleboard] PRU configure and basic test not working

2016-04-05 Thread Wally Bkg
I understand this. I'm only stating my observations. Kind of hard to "step up" and document something if the instructions won't work after another release or two. If I find an answer I follow up so that a Google search that finds the problem might also find my solution (if any). But fact of

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
Thanks Paul. getcwd() tells me that my cwd is /home/debian/Desktop when I use f = open('MyFile.txt', w). I am using Try/Except and not getting an exception with the open() statement. Perhaps I can't write a text file to the Desktop, but it seems like it should give me an error message. John O

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread Paul Wolfson
python >>> import os >>> os.getcwd() 'home/pwolfson' >>> - Paul Wolfson, Ph.D., TX LPI, #A17473 Dallas Legal Technology 3402 Oak Grove Avenue, Suite 300-A Dallas, Texas 75204-2353 *214-257-0984 (Tel)214-838-7220 (Fax)Send me an email. * --

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread William Hermans
> > *That's what I figured William. As far as I can tell, I am doing the open > and write and read like I have with C and as described in > https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files >

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
That's what I figured William. As far as I can tell, I am doing the open and write and read like I have with C and as described in https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files. However, I am not getting any error message when I do the open for writing and do the

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread William Hermans
I'm not a python developer, but actually have done this many times in C. So I can tell you this with certainty. This is done no different than it is done on any Linux system. The point here is that you should go out and find any good python tutorial, that covers writing to a file, and follow it.

Re: [beagleboard] Audio cap & Linux version 4.1.3-ti-r6.2

2016-04-05 Thread Rick Mann
I'm actually at this state now, too (kernel 4.4.6 r7), but I haven't looked into making sure the ALSA (asound) config is correct yet. > On Apr 5, 2016, at 01:40 , fannylarra...@gmail.com wrote: > > Hey, did you manage to make it work? > I have beaglebone ubuntu 4.1.18-ti-r56. > > if I put BB-

Re: [beagleboard] How do I add eMMC to am335x-boneblack-audio.dts and rebuild?

2016-04-05 Thread Rick Mann
> On Apr 5, 2016, at 06:00 , Robert Nelson wrote: > > On Tue, Apr 5, 2016 at 4:41 AM, Roderick Mann wrote: >> >>> On Apr 5, 2016, at 02:13 , Rick Mann wrote: >>> >>> I know how to make overlay dtbs, but I'm not sure how to make base dtbs. >>> I'm also not sure what entries I need to add to

[beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
I want to store a little data on the eMMC from my Python code. My program is not getting errors when I try to write a very short data file but it doesn't actually seem to write it as I cannot read it back. I am using f = open('MyFile.txt', w) or f = open('/home/debian/Desktop/MyFile.txt', w) or

[beagleboard] Re: Can't acces official wiki page

2016-04-05 Thread Rob van Schelven
Your Welcome ;) Op dinsdag 5 april 2016 10:11:00 UTC+2 schreef Rob van Schelven: > > @Beaglebone > > Clicking the link "official wiki page > " at > https://beagleboard.org/latest-images shows a message about an invalid > certificate. When

Re: [beagleboard] Ada on the BeagleBone Black

2016-04-05 Thread William Hermans
Additionally, how does one duplicate your development system ? An experienced developer will probably be able to figure this out even if they had no prior experience with Ada's toolset. But an inexperienced developer is going to run into hurdle, after hurdle, until they become frustrated, and just

Re: [beagleboard] PRU configure and basic test not working

2016-04-05 Thread William Hermans
I think one of the problems is that there are now too many variables for getting a consistent working "platform" for the PRU's. We have two Debian releases - Wheezy and Jessies We have too many possible kernels to work with. And we have uio_pruss, or remoteproc / rpmsg. Me, I'm not super experien

Re: [beagleboard] Can't acces official wiki page

2016-04-05 Thread Bill Traynor
On Tue, Apr 5, 2016 at 2:46 PM, Robert Nelson wrote: > > > On Tue, Apr 5, 2016 at 3:11 AM, Rob van Schelven wrote: >> >> @Beaglebone >> >> Clicking the link "official wiki page " at >> https://beagleboard.org/latest-images shows a message about an invalid >> certificate. When continue i end up o

[beagleboard] Re: problem replicape delta printer, z-probing

2016-04-05 Thread pieter . koorts
I am also going through my Replicape Delta setup. Slow but getting results. One thing to note is that your bed probe will always be the opposite of the top end-stops. So if your top end-stops are connected and configured for CCW (counter-clock-wise) then your bed probe will be CW (clock-wise). I

Re: [beagleboard] Ada on the BeagleBone Black

2016-04-05 Thread William Hermans
So here is a suggestion / comment. Perhaps write a short blog, or additional readme.md that comments on which files are for what purpose( a few are hard to tell ). Then a blog perhaps for walking through one of the source files from a beginners point of view. Here is why. Myself, I'm a very experi

Re: [beagleboard] Can't acces official wiki page

2016-04-05 Thread Robert Nelson
On Tue, Apr 5, 2016 at 3:11 AM, Rob van Schelven wrote: > @Beaglebone > > Clicking the link "official wiki page > " at > https://beagleboard.org/latest-images shows a message about an invalid > certificate. When continue i end up on a page s

[beagleboard] Re: Can't acces official wiki page

2016-04-05 Thread Graham
Try a different browser. Google is your friend: Google: What is the difference between Jessie and Wheezy --- Graham == On Tuesday, April 5, 2016 at 3:11:00 AM UTC-5, Rob van Schelven wrote: > > @Beaglebone > > Clicking the link "official wiki page >

Re: [beagleboard] Re: BBB/G prices constantly rising

2016-04-05 Thread Chris
It'll be a minimum 6 layer board with multiple rev's to work out the kinks. Probably around $500 a pop. And lot's of time spent getting high speed signal traces put down correctly, dense BGA signal routing, dealing with distributors and inventory, spec'ing parts, populating the board with 04

[beagleboard] Ada on the BeagleBone Black

2016-04-05 Thread brentseidel
I have been doing some Ada programming on the BeagleBone Black using gnat and gnat-gps from the Debian repository. One of the things that I've been doing is developing a library of routines to access various bits of the board's I/O. The source is available at https://github.com/BrentSeidel/BB

Re: [beagleboard] PRU configure and basic test not working

2016-04-05 Thread John Syne
Here is what you need to understand about people on this list. There are no “developers" on this list. No one on this mailing list is paid by BeagleBoard. We are all volunteers, including Robert Nelson. If you have a problem with Documentation, then why don’t you create it so others can learn. I

[beagleboard] Re: PRU configure and basic test not working

2016-04-05 Thread Wally Bkg
I think the output of uname -a for your kernel version is more helpful than the Debian version which is running when it comes to overlays, modules, and Beaglebone hardware specific issues. I'm subscribing to this thread, as you are doing what I've planned to do in the not too distant future,

[beagleboard] Re: PRU configure and basic test not working

2016-04-05 Thread Le Costaouec Vincent
I forgot to indicate the release on which I'm working on : # lsb_release -da Distributor ID:Debian Description:Debian GNU/Linux 8.3 (jessie) Release:8.3 Codename:jessie Is anyone have already work on the PRU on this kernel version ? Thanks by advance. Regards. Vincent Le mar

Re: [beagleboard] Re: BBB/G prices constantly rising

2016-04-05 Thread evilwulfie
If you try to build your own it will cost you a magnitude greater more then just buying one Gerald has got the cost down on the current bones by building them in large quantitys. but good luck. On 4/5/2016 1:58 AM, Daniel Escasa wrote: > Schematics are available online. Are those sufficient to

[beagleboard] PRUSS: No Children Error - prussdrv_open() failed

2016-04-05 Thread frank brewer
I saw others also had this problem at 4.1.x kernel as well, but seems like it is fixed with a patch. However I still get this problem, could you please help me? debian@arm:~/test$ sudo ./testLED prussdrv_open() failed debian@arm:~/test$ dmesg | grep -i pru [ 209.806504] bone_capemgr bone_ca

Re: [beagleboard] How do I add eMMC to am335x-boneblack-audio.dts and rebuild?

2016-04-05 Thread Robert Nelson
On Tue, Apr 5, 2016 at 4:41 AM, Roderick Mann wrote: > >> On Apr 5, 2016, at 02:13 , Rick Mann wrote: >> >> I know how to make overlay dtbs, but I'm not sure how to make base dtbs. I'm >> also not sure what entries I need to add to enable the eMMC. >> >> Tips appreciated! > > I found dtb-rebuild

Re: [beagleboard] Audio cap & Linux version 4.1.3-ti-r6.2

2016-04-05 Thread fannylarradet
Hey, did you manage to make it work? I have beaglebone ubuntu 4.1.18-ti-r56. if I put BB-BONE-AUDI-00A0-02.dts from https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BONE-AUDI-02-00A0.dts my cape is not detected but if i put this device tree: http://elinux.org/BBB_Audio_Cap

Re: [beagleboard] enable ADC in device tree

2016-04-05 Thread lucas
Robert, thank you very much. Works like charm now. To get it work with the device tree builder I added the following at the bottome of "am335x-boneblack-overlay.dts" &tscadc { status = "okay"; adc { ti,adc-channels = <0 1 2 3 4 5 6>; }; }; Now I can get the adc values as you described: cat

Re: [beagleboard] How do I add eMMC to am335x-boneblack-audio.dts and rebuild?

2016-04-05 Thread Roderick Mann
> On Apr 5, 2016, at 02:13 , Rick Mann wrote: > > I know how to make overlay dtbs, but I'm not sure how to make base dtbs. I'm > also not sure what entries I need to add to enable the eMMC. > > Tips appreciated! I found dtb-rebuilder, and tried to take the .dts audio file from the bb-linux K

[beagleboard] PRU configure and basic test not working

2016-04-05 Thread Le Costaouec Vincent
Hello, I'm currently trying to configure and use the PRU of the BBB. So I've tried two different method to do so however, with none of them I get succeed and I don't really understand why. 1) First method (from Derek Molloy book) : http://exploringbeaglebone.com/chapter13/ So I have tried to

[beagleboard] How do I add eMMC to am335x-boneblack-audio.dts and rebuild?

2016-04-05 Thread Rick Mann
I know how to make overlay dtbs, but I'm not sure how to make base dtbs. I'm also not sure what entries I need to add to enable the eMMC. Tips appreciated! -- Rick Mann rm...@latencyzero.com -- For more options, visit http://beagleboard.org/discuss --- You received this message because you

[beagleboard] Re: BBB/G prices constantly rising

2016-04-05 Thread Daniel Escasa
Schematics are available online. Are those sufficient to build your own? I was checking on Arduino resources and got Paperduino (http://paperduino.eu/doku.php) envy :) It should be possible to build your own Beagle, shouldn't it? -- For more options, visit http://beagleboard.org/discuss --- Y

[beagleboard] Can't acces official wiki page

2016-04-05 Thread Rob van Schelven
@Beaglebone Clicking the link "official wiki page " at https://beagleboard.org/latest-images shows a message about an invalid certificate. When continue i end up on a page saying: " Forbidden You don't have permission to access /Beaglebo

[beagleboard] Re: Development setup

2016-04-05 Thread Rob van Schelven
Thanks all for the valuable information. This should give me a quick start. I am familiar with GCC and played around with Qt Creator on Linux.. I will download the IO libs and see if i can talk to some connected io devices. A lot of reading ahead of me ;) Thanks!! Op maandag 4 april 2016 21:40