[beagleboard] Re: Connecting a flow sensor directly to BBB

2015-04-03 Thread Brandon I
Looks like there's a 1 wire driver that you can use: http://webshed.org/wiki/RaspberryPI_DS1820#Software On Thursday, April 2, 2015 at 7:13:51 PM UTC-7, Geoffrey Carson wrote: I am trying to connect a flow sensor directly to my BBB revC running Ubuntu trusty. I Have Strangebrew Elsinore up

Re: [beagleboard] Re: Seriously Confused

2014-11-06 Thread Brandon I
have left :-) On Wednesday, November 5, 2014 4:24:01 PM UTC-6, Brandon I wrote: https://github.com/adafruit/adafruit-beaglebone-io-python/ blob/master/source/c_adc.c The adc source for bbio should be useful. Keep in mind that these sysfs interfaces are incredibly slow compared to memory

[beagleboard] Re: Seriously Confused

2014-11-05 Thread Brandon I
https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/source/c_adc.c The adc source for bbio should be useful. Keep in mind that these sysfs interfaces are incredibly slow compared to memory poking since each operation requires opening, reading/writing and closing the file.

Re: [beagleboard] Re: color ball tracking with opencv on BBB

2014-10-30 Thread Brandon I
Seems like a lot of work! Use an indirect internet connection to your beaglebone using the USB to your computer, then set up a bridge between your internet and the USB connection. On Wed, Oct 29, 2014 at 11:47 PM, Lingesh Waran radhaling...@gmail.com wrote: Hi all...I want to perform Image

[beagleboard] how to gate input GPIO during powerup? also BBB SRM problems

2014-10-15 Thread Brandon I
For the external source, if your BB loses power, then you'll be powering it up through the esd does in the pin connected to that external power source. It probably won't survive. A general rule is to never apply voltage to a devices pin unless that device is powered up, unless it is in the

[beagleboard] Running Python on PC to simulate Beaglebone Python

2014-10-11 Thread Brandon I
Use one of the many remote python libraries. Rpyc could do it. Have the code accessible from a shared drive, use module reload, and run the functions and play with the objects as if they were local. -- For more options, visit http://beagleboard.org/discuss --- You received this message

[beagleboard] PRU Assembly Questiony.

2014-10-11 Thread Brandon I
All pru GPIO are accessible via a single register, so it's one tick,just like any other register (two for loading a 32 bit immediate value). Arm GPIO are never accessible in a single tick since there way outside the Pru and have to go over the OCP bus. See

[beagleboard] Re: Read register or memory location

2014-10-03 Thread Brandon I
If you just want to poke around, you can compile devmem2: http://free-electrons.com/pub/mirror/devmem2.c If you want proper high speed access, see the devmem2 source, or do the equivalent in python http://www.alexanderhiam.com/tutorials/beaglebone-io-using-python-mmap/, or any other language

[beagleboard] Re: BBB MultiCast

2014-09-16 Thread Brandon I
First google result seems useful: http://stackoverflow.com/questions/16374670/why-i-can-not-disable-multicast-request On Tuesday, September 16, 2014 7:14:10 AM UTC-7, Mickae1 wrote: I've tried to deactivate the Multicast with : ifconfig eth0 -multicast But when i check with this command, I

Re: [beagleboard] Re: registering asynchronous events on kernel thread in user space

2014-09-11 Thread Brandon I
know that a new data has arrived. Then hoe to synchronize the kernel space and user-space if there are to share a data ? Thanks... On Thursday, September 11, 2014 2:26:15 AM UTC+5:30, Brandon I wrote: pseudo-interrupt from user space There's nothing pseudo about it. Again, any usual

Re: [beagleboard] Re: color ball tracking with opencv on BBB

2014-09-11 Thread Brandon I
* Regards, John What am I doing wrong? Jan On Wednesday, 10 September 2014 12:52:11 UTC+10, Brandon I wrote: And, here are some compile flags you'll want to include/force: http://www.eliteraspberries.com/blog/2013/09/cflags-for-numerical- computing-on-the-beaglebone-black.html On Tue

Re: [beagleboard] Re: registering asynchronous events on kernel thread in user space

2014-09-10 Thread Brandon I
pseudo-interrupt from user space There's nothing pseudo about it. Again, any usual way to have a userspace application respond to an interrupt will be the exact same. The kernel will block the userspace process until the interrupt is seen. The only real alternative is burning up the cpu with

[beagleboard] Re: registering asynchronous events on kernel thread in user space

2014-09-09 Thread Brandon I
See UIO: https://www.kernel.org/doc/htmldocs/uio-howto/ The uio_pruss.c driver that comes with the pru package is a good example. I have written a kernel module that registers interrupts on the rising edge on a GPIO pin and want to relay this message to user space. The sysfs gpio interface

[beagleboard] Re: color ball tracking with opencv on BBB

2014-09-09 Thread Brandon I
You're desktop PC is 10 times faster than the Beaglebone processor. This may help: How to Achieve 30 fps with BeagleBone Black http://blog.lemoneerlabs.com/3rdParty/Darling_BBB_30fps_DRAFT.html On Monday, September 8, 2014 6:03:58 PM UTC-7, janszyma...@gmail.com wrote: Hi, I need to

Re: [beagleboard] Is it possible to command a beaglebone black over Ethernet.

2014-09-09 Thread Brandon I
Ethernet will work without any configuration if you have dhcp on your network. If not, you'll have to configure a static ip. If you do have dhcp (you probably do) you can just change the hostname ( https://wiki.debian.org/HowTo/ChangeHostname) to something nice, then use that instead of an ip

Re: [beagleboard] Is it possible to command a beaglebone black over Ethernet.

2014-09-09 Thread Brandon I
I saw the link to the reference, but I didn't see an answer to his question. On Tue, Sep 9, 2014 at 2:47 PM, William Hermans yyrk...@gmail.com wrote: Brandon, I guess you did not look at the link I gave. It covers every aspect of configuring an eth device on Debian. That is when using /etc

Re: [beagleboard] Re: color ball tracking with opencv on BBB

2014-09-09 Thread Brandon I
I'm not sure that newer open cv can be compiled on the raspberry or beaglebone due to the limited ram. You'll probably have to cross compile. On Tue, Sep 9, 2014 at 5:56 PM, janszymanski12...@gmail.com wrote: Thanks for that link, it is very usefull. In a meantime my attempt to install a newer

Re: [beagleboard] Re: registering asynchronous events on kernel thread in user space

2014-09-09 Thread Brandon I
prag.in...@gmail.com wrote: Hi Brandon I read through the link, very informative thanks.I can create a thread to do the polling and signal me when its ready. But how to really write an ISR in arm. I see a lot of guides but they say that it will work in Intel processors but they are not sure about

Re: [beagleboard] Re: color ball tracking with opencv on BBB

2014-09-09 Thread Brandon I
And, here are some compile flags you'll want to include/force: http://www.eliteraspberries.com/blog/2013/09/cflags-for-numerical-computing-on-the-beaglebone-black.html On Tue, Sep 9, 2014 at 7:16 PM, Brandon I brandon.ir...@gmail.com wrote: I'm not sure that newer open cv can be compiled

Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ?

2014-09-04 Thread Brandon I
than they are :-) But i'm very thankful for your help so far ;-) Am Mittwoch, 3. September 2014 22:00:16 UTC+2 schrieb Brandon I: halfbrain, I forgot to mention, you should tie the eMMC cmd and clock pins low on P8.20 and P8.21, as suggested by the wiki: http://elinux.org

Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ?

2014-09-03 Thread Brandon I
halfbrain, If you're using angstrom or debian, you can disable the emmc by adding this to the optargs in uEnv.txt on the usb mass storage partition: capemgr.disable_partno=BB-BONE-EMMC-2G If you're not using hdmi, you can free up those too:

Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ?

2014-09-03 Thread Brandon I
halfbrain, I forgot to mention, you should tie the eMMC cmd and clock pins low on P8.20 and P8.21, as suggested by the wiki: http://elinux.org/Beagleboard:BeagleBoneBlack#Onboard_eMMC On Wednesday, September 3, 2014 12:58:09 PM UTC-7, Brandon I wrote: halfbrain, If you're using angstrom

Re: [beagleboard] Tri-state GPIOs?

2014-08-27 Thread Brandon I
As a side note, you can also emulate open drain. Set the pin output state to 0, then enable/disable the output driver. And, for performance, writing to the gpio registers rather than doing file operations with sysfs is 30 times faster. And, pin muxing (pullups/down and input receiver enable

Re: [beagleboard] Setting the Bitrate of I2C2 on the Beaglebone Black

2014-08-14 Thread Brandon I
I think this can only mean that a device isn't responding to the address you're providing. Did you set the i2c device address to the same value used with i2ctest? On Thu, Aug 14, 2014 at 10:09 AM, Akhil Panyamparambil akhilpana...@gmail.com wrote: Hi all. Can you guys help me.I am using

Re: [beagleboard] Re: i wanna 8bit gpio control

2014-08-13 Thread Brandon I
). Do you know of a way to disable the sysfs interface / claim those pins as being in use so that you can safely manipulate the mmap either through software or a device tree overlay? Thanks for your help. On Tuesday, July 29, 2014 3:09:08 PM UTC-4, Brandon I wrote: That's still one bit control

Re: [beagleboard] Re: PRU FAQ 2013-05-15

2014-08-13 Thread Brandon I
You have to enable the ocp master port (section 10.1.2) to access main memory. Here's an explanation http://nomel.tumblr.com/post/30006622413/beaglebone-tutorial-accessing-main-memory-from-the-pru . And, the resulting code is (if you want to do it in the pru): // clear STANDBY_INIT bit in

Re: [beagleboard] long term BBB based art installation

2014-08-04 Thread Brandon I
unexecutable as bash script and become interrupted as binary? know what causing that? i've roughly put my latest configuration in https://github.com/mpinner/Active --matt On Tue, Jul 29, 2014 at 1:19 PM, Brandon I brandon.ir...@gmail.com wrote: Don't forget, read only mount! Flash has limited

Re: [beagleboard] Re: Maximum current on GPIO?

2014-07-31 Thread Brandon I
configuration, will be limited to what the pin can handle. On Wed, Jul 30, 2014 at 10:37 PM, serge.ns...@gmail.com wrote: On Thursday, July 31, 2014 12:39:42 AM UTC+6, Brandon I wrote: The gpio are push pull/pseudo open drain, so there's a transistor/switch going from 3.3V to the pin,... At boot

Re: [beagleboard] Re: Maximum current on GPIO?

2014-07-30 Thread Brandon I
The gpio are push pull/pseudo open drain, so there's a transistor/switch going from 3.3V to the pin, and a transistor going from ground to the pin. When you set the pin high, you're turning on only the transistor to 3.3V, so it's sourcing the current from 3.3V, through the transistor, out of the

Re: [beagleboard] Re: Maximum current on GPIO?

2014-07-29 Thread Brandon I
Source 6mA, sink 8mA, with the following pins limited to sourcing 4mA: P9_19 gpio0[13] · P9_20 gpio0[12] · P9_24 gpio0[15] · P9_26 gpio0[14] · P9_41 gpio0[20] · P9_42 gpio0[7] On Monday, July 28, 2014 7:24:52 AM UTC-7, Gerald wrote: 6mA. No.

[beagleboard] Re: i wanna 8bit gpio control

2014-07-29 Thread Brandon I
That's still one bit control. There's going to be some unknown time between the bits that will depend on cpu usage. For true 8 bit, you need to use mmap to get a pointer to the gpio control block and modify the registers directly. Each gpio block has 32 pins, and each gpio block has a set and

Re: [beagleboard] long term BBB based art installation

2014-07-29 Thread Brandon I
Don't forget, read only mount! Flash has limited writes and is can easily be corrupted/damaged from power failure. On Tuesday, July 29, 2014 9:02:52 AM UTC-7, Ben Gamari wrote: Matt Pinner mpi...@gmail.com javascript: writes: tldr: can i run a BBB for three years? Sure! I'm about

[beagleboard] Re: C Code to send UDP packets using Ethernet

2014-07-17 Thread Brandon I
There's nothing Beaglebone about this question, really. Just google send udp packets c posix. On Thursday, July 17, 2014 3:46:18 AM UTC-7, msc.a.f...@googlemail.com wrote: Hi everyone, I am new with the Beaglebone black and I would like to make a little program in C to send UDP packets

Re: [beagleboard] Re: PRU Pin Mux

2014-06-22 Thread Brandon I
I don't believe the reads/writes to the GPIO registers would have worked without the OCP master being enabled. Thanks, I'll check out the library to see what magic is missing from that code. On Jun 21, 2014 8:20 AM, TJF jeli.freih...@gmail.com wrote: A miss click and a miss post ... The PRUSS

Re: [beagleboard] Re: PRU Pin Mux

2014-06-21 Thread Brandon I
// readback LBBO b, a, 0, 4 // gpio off mov b, 0x4000 mov a, 0x44E07190 SBBO b, a, 0, 4 // readback LBBO b, a, 0, 4 On Monday, May 19, 2014 2:36:51 PM UTC-7, Charles Steinkuehler wrote: On 5/19/2014 4:06 PM, Brandon I wrote: The pin mux registers require privileged memory access, which is why

Re: [beagleboard] Re: PRU Pin Mux

2014-06-21 Thread Brandon I
match! r1 is now 0x5!* You had me excited, even though I'd tested this before, and have read in multiple places that it's not possible. :( --Brandon On Saturday, June 21, 2014 1:24:32 AM UTC-7, Brandon I wrote: You have 100% full control over anything the PRU can access. This pru code seems

[beagleboard] Re: changing the triggers of gpio pins

2014-06-20 Thread Brandon I
If you want to use the triggers provided by the led interface, use the led interface. The pin will go high or low voltage with the led interface or gpio interface. GPIO is for general purpose io, so it's not going to have fancy patterns or anything, just on, off, in, out. On Tuesday, June

[beagleboard] Re: Raw device on I2C bus

2014-06-17 Thread Brandon I
The first result https://github.com/kelly/node-i2c for i2c with bonescript refers to node-i2c. That link has some examples. There are many good tutorials on i2c. Your transactions will contain a device address and some number of bytes to read or write. What those bytes are is specific to each

Re: [beagleboard] SD Card containing OS and apps dead after three months use

2014-06-13 Thread Brandon I
at 8:37 AM, Fred Basset fredbasset1...@gmail.com wrote: Brandon, I'm curious as to how you calculated a lifetime of 2 yrs for the 16Gb card with 2Gb free? On Thu, Jun 12, 2014 at 11:55 AM, Brandon I brandon.ir...@gmail.com wrote: With a 16Gb card, you'll most likely get about 2 years use

[beagleboard] Re: Two BBBs on same host's USB

2014-06-12 Thread Brandon I
I'm not sure you're ending up with a sane network configuration using the same subnet mask for each, but did you change the udhcpd config file to give the host a different ip for each usb connection? The host gets its ip from the beaglebone's dhcp server. I say not sane, because the

Re: [beagleboard] SD Card containing OS and apps dead after three months use

2014-06-12 Thread Brandon I
With a 16Gb card, you'll most likely get about 2 years use before the card fails, assuming you had 2gb free on your failing cards card, the 16Gb card has the same number of writes until failure for the memory blocks, and the same disk activity. This assumes that you're have a perfect power

Re: [beagleboard] Using GPIO's as SPI

2014-06-05 Thread Brandon I
but you can't run the clock much faster than 1 KHz using a user-space program under Linux. Not true at all! You can get over 3MHz just fine with mmap to the gpio registers. If you try to open and close a file each gpio toggle, like the insanely inefficient sysfs interface, then yeah...you'll

Re: [beagleboard] Beaglebone Black libraries for GPIO access in C/C++?

2014-06-04 Thread Brandon I
Two other features of going low level with mmap: Open drain output: By controlling the output enable registers, you can do open drain by setting the output to drive 0, then enable output to pull low, disable output to for high (with external pullup or internal through pin muxing).

Re: [beagleboard] Re: PRU FAQ 2013-05-15

2014-06-03 Thread Brandon I
And a quick google search pru ethercat am335x provides a nice overview: http://www.ti.com/lit/wp/spry187c/spry187c.pdf On Tue, Jun 3, 2014 at 6:05 AM, Gerald Coley ger...@beagleboard.org wrote: That is all covered in the datasheet for the processor. http://www.ti.com/product/am3358 Gerald

Re: [beagleboard] Can the BBB get damaged due to a hard power down?

2014-05-28 Thread Brandon I
For the damage question, yes, with all flash media, if you're not using a read only mount: http://cseweb.ucsd.edu/~swanson/papers/DAC2011PowerCut.pdf Btw, you're crazy if you're not using a read only mount (or guaranteeing no writes) for the rootfs of an appliance. ;) On Tuesday, May 27, 2014

Re: [beagleboard] Re: PRU FAQ 2013-05-15

2014-05-27 Thread Brandon I
You can access all regular gpio, but those will be slower than the one tick pru gpio access. Check out the PRU documentation at https://github.com/beagleboard/am335x_pru_package , it explains how to use R30 and R31, section 5.2.2. Here's an explanation on accessing main memory from the pru:

Re: [beagleboard] 4G eMMC Durability?

2014-05-22 Thread Brandon I
MLC NAND enables around 10k write cycles SLC NAND enables more than 100k write cycles. And, of course, these are the number of cycles for whole erase blockshttp://en.wikipedia.org/wiki/Flash_memory#Block_erasure. If you write one byte and flush the operation to your flash disk, you're

Re: [beagleboard] User LED forward to GPIO

2014-05-09 Thread Brandon I
I use this: https://github.com/nomel/beaglebone/tree/master/led-header Makes setting up leds super easy. On Thursday, May 8, 2014 9:35:31 AM UTC-7, Charles Steinkuehler wrote: The way these systems are configured, I don't know if you can do what you want without generating a custom device

Re: [beagleboard] Debian images

2014-05-05 Thread Brandon I
In all seriousness, is there a donation link you could post so we could send you some thanks? On Sunday, May 4, 2014 10:56:40 AM UTC-7, RobertCNelson wrote: On May 4, 2014 4:43 AM, Timbo tim...@gmail.com javascript: wrote: Thanks for the info, Robert, and thanks for making these images,

Re: [beagleboard] power up using +5 volt jack

2014-05-02 Thread Brandon I
The beaglebone had a power up issue. Rev A6A fixed it: From the wikihttp://www.elinux.org/Beagleboard:BeagleBoneBlack#Revision_A6A : Changed C24 to a 2.2uF capacitor. This extends the reset signal to solve an issue where some boards would not boot on power up. I have around 40 beaglebones

[beagleboard] Re: What went wrong

2014-04-10 Thread Brandon I
This is incorrect. There's nothing wrong with applying power through USB and VDD_5V (DC plug) at the same time, from the reference manual: The selection of either the 5VDC or the USB as the power source is handled internally to the TPS65217C and automatically switches to 5VDC power if both

[beagleboard] Re: python gui?

2014-04-09 Thread Brandon I
Could always use python as a web back end and render the gui in the browser. ;) On Wednesday, April 9, 2014 3:28:56 AM UTC-7, Eric Palmer wrote: In my day job I erite backend code. Not gui stuff. I'm building a large robot and will use a BBB and display for data display and more. I

[beagleboard] Re: I2C2: Bad address, without checking

2014-03-31 Thread Brandon I
Do you have a pullup on the i2c line? On Monday, March 31, 2014 1:59:46 AM UTC-7, Rafael Fiebig-Bindner wrote: Hi community, I am currently trying to access a temperature sensor via I2C. The problem is whenever I want to send data I get the error message: Bad address, but the BBB

Re: [beagleboard] Re: eMMC data corruption due to power removal?

2014-03-27 Thread Brandon I
That's because your phone uses a sane filesystems that takes into account this use case and isn't writing constantly (write one byte, the disk writes a whole erase block). This doesn't protect you from eventual disk corruption. The wear leveling bad-block type tables will eventually corrupt/run

[beagleboard] Re: First one, then two, then three....

2014-03-27 Thread Brandon I
The only thing I wish for is the ability to change I2C bus speeds on the fly. You can do anything with a kernel module and some memory pokes. ;) On Thursday, March 27, 2014 2:47:10 AM UTC-7, Richard-tx wrote: I bought a BBB about 3 weeks ago. Was impressed enough that I bought two more.

Re: [beagleboard] Re: eMMC data corruption due to power removal?

2014-03-27 Thread Brandon I
Rh, my earlier reply was to you, and that link shows that it is now a problem with androids use of ext4. On Thu, Mar 27, 2014 at 4:55 PM, rh_ richard_hubb...@lavabit.com wrote: On Thu, 27 Mar 2014 13:41:24 -0500 Charles Steinkuehler char...@steinkuehler.net wrote: On 3/27/2014 12:26 PM,

Re: [beagleboard] eMMC data corruption due to power removal?

2014-03-26 Thread Brandon I
Here's a good read: http://www.embeddedarm.com/about/resource.php?item=459 I had a lng discussion about this with a colleague of mine after we started seeing boards die. Basically you're eventually doomed unless you mount the whole disk as read only since the wear leveling algorithms

[beagleboard] Re: Kernel headers for Linux beaglebone 3.13.6-bone8

2014-03-25 Thread Brandon I
For Angstrom, you can install the kernel-dev and kernel-headers packages. This will be enough to compile kernel modules. There have been times in the past where the packages where out of sync with the actual kernel being used. Not sure what the current state is. Check the stable branch...lol,

[beagleboard] Re: Encouragement for the disencouraged

2014-03-25 Thread Brandon I
My only real issue that I have no idea what the Angstrom is really capable of and what really comes with it. I think the biggest hurdle for people is they have some embedded mindset with talk of processors and whatnot. Think of this as it is, a resource limited general purpose Linux computer

Re: [beagleboard] Re: BBB PRU input test

2014-03-11 Thread Brandon I
() # Close the file No way to read the P9_24 PIN From BBB using PRUSS May be the *WBS *does no work as I think . a week working on that and still nothing. El martes, 11 de marzo de 2014 00:40:04 UTC-3, Brandon I escribió: When I do an interruput up or down the ASM keeps waiting

[beagleboard] Re: BBB PRU input test

2014-03-10 Thread Brandon I
Along with what the others have described, since you're the arm processor gpio rather than a pru gpio, meaning you're going all the way out to system memory, you have to connect the pru to system memory. Here's an example of accessing system memory with the pru:

Re: [beagleboard] Re: BBB PRU input test

2014-03-10 Thread Brandon I
[ 706.738323] pruss_uio 4a30.pruss: pins are not configured from the driver [ 706.765286] bone-capemgr bone_capemgr.9: slot #7: Applied #3 overlays. El lunes, 10 de marzo de 2014 20:10:55 UTC-3, Brandon I escribió: Along with what the others have described, since you're the arm

Re: [beagleboard] Re: problem with creating a kernel module program for angstrom os

2014-03-08 Thread Brandon I
to date.* [1] what should i do to get my modules to work with?? On Saturday, 8 March 2014 02:42:31 UTC+5:30, Brandon I wrote: dmesg will give you more details. This usually means you compiled the kernel modules against a different build of the kernel. So, the kernel source you used didn't match

Re: [beagleboard] Re: problem with creating a kernel module program for angstrom os

2014-03-08 Thread Brandon I
Missed first line on that copy paste. Should be KERNELDIR := /usr/src/kernel On Sat, Mar 8, 2014 at 1:21 AM, Brandon I brandon.ir...@gmail.com wrote: Just a regular kernel type makefile. For examlpe, here's mine for a file phyaccess.c BEAGLEBONE_PROJ=/systems/Projects/beaglebone/workspace

Re: [beagleboard] Re: problem with creating a kernel module program for angstrom os

2014-03-08 Thread Brandon I
?title=Compiling_the_kernel will this link help me to insert also to create a modules without fail .. can you suggest your opinion..pls.. regards siva On Saturday, 8 March 2014 14:52:49 UTC+5:30, Brandon I wrote: Missed first line on that copy paste. Should be KERNELDIR := /usr

[beagleboard] Re: problem with creating a kernel module program for angstrom os

2014-03-07 Thread Brandon I
dmesg will give you more details. This usually means you compiled the kernel modules against a different build of the kernel. So, the kernel source you used didn't match what was on the beaglebone. You can install the kernel-headers and kernel-dev packages and build directly on the

Re: [beagleboard] Re: Writing 8-bit data to GPIO pins - does one have to do it a bit at a time?

2014-03-07 Thread Brandon I
of the concept is somewhat new, and there are many misconceptions. On Fri, Mar 7, 2014 at 2:02 PM, John Syn john3...@gmail.com wrote: From: Brandon I brandon.ir...@gmail.com Reply-To: beagleboard@googlegroups.com Date: Friday, March 7, 2014 at 1:27 PM To: beagleboard@googlegroups.com Cc: c

Re: [beagleboard] Need 16 GPIOs Next to each other on P8

2014-03-05 Thread Brandon I
Provided, you don't interfere with their settings during power up as they are also the boot pins. He's saying you shouldn't interfere with their state at boot. No driving, pullup, or pull down on any of these pins (besides the those that configure the sysboot setting on the board). Relays

Re: [beagleboard] How are the production BBB images built?

2014-02-28 Thread Brandon I
Maybe we can become free from SD cards in the near future for BBB development. Doesn't uboot support network boot already? On Thursday, February 27, 2014 11:29:23 PM UTC-8, jhg...@gmail.com wrote: Robert, Have you resolved any of these mysteries in the mean time? I got into this by

[beagleboard] Re: How to turn on/off GPIOs in BBB

2014-02-17 Thread Brandon I
Pad control registers can only be changed in kernel space. You could write a kernel driver or do it the right way and use device tree. See https://github.com/nomel/beaglebone/tree/master/gpio-header If you don't want to use it directly, you can use the generated files as an example. -- For

Re: [beagleboard] Beaglebone Black backordered everywhere

2014-01-28 Thread Brandon I
At arrow, I just asked, and they have an old A53 datasheet up, so the guy told me it was a rev A5B. Are the arrow boards A6A? On Monday, January 27, 2014 4:38:26 PM UTC-8, smith.wi...@gmail.com wrote: On Monday, January 27, 2014 2:18:04 PM UTC-5, Gerald wrote: Arrow is showing 500 boards in

[beagleboard] Re: PRU I/O

2014-01-22 Thread Brandon I
Here's mine: /dts-v1/; / { compatible = ti,beaglebone, ti,beaglebone-black; part-number = AQ-PRU-MDIO; exclusive-use = P8.43, P8.44, P8.45, P8.46, P8.39, P8.40, P8.41, P8.42, P8.27, P8.28, P8.29, P8.30, pru1; fragment@0 { target = 0xdeadbeef; __overlay__ { pinmux_pru_mdio_pins {

Re: [beagleboard] Re: PRU FAQ 2013-05-15

2014-01-21 Thread Brandon I
In the pru, R31 is for input, so in that table you're looking for pin pr1_pru1_pru_r31_8. That's on P8.27, which is used by the HDMI framer. If you *need* to use this pin, instructions on disabling the hdmi framer can be found by searching this group. Of course you'll have to enable the receiver,

[beagleboard] Re: bitcoin mining on BBB

2014-01-20 Thread Brandon I
What he means by that is, it'll cost you more in electricity to mine (with a crud cpu setup) than to just buy some with cash from an exchange. On Saturday, January 18, 2014 8:57:19 AM UTC-8, Michael Mullin wrote: I'm sure you can tweak cgminer to re-enable CPU based mining... But that

Re: [beagleboard] Forbidden pins on P8 and P9

2014-01-14 Thread Brandon I
And, you shouldn't rely on the pull up/down pins that are there now since they could change with the next beaglebone (as they did between the black and white). You can make them high impedance at boot by using something like a bilateral switch enabled with 3V3_EXP. On Tuesday, January 14, 2014

[beagleboard] Re: Has anybody tested the new Graphics SDK which should enable SGX on kernel 3.12?

2013-12-11 Thread Brandon I
I think everyone (that isn'in the group would On Wednesday, December 11, 2013 4:32:42 AM UTC-8, Giuseppe Iellamo wrote: Thank you this is a very good news for me! When I'll finish with RT part I'll try QT5 on BBB... Giuseppe Il giorno mercoledì 11 dicembre 2013 00:05:04 UTC+1, Daniel

[beagleboard] Re: Has anybody tested the new Graphics SDK which should enable SGX on kernel 3.12?

2013-12-11 Thread Brandon I
I think everyone in the group (who isn't headless) would love to see some benchmark results! On Wednesday, December 11, 2013 4:32:42 AM UTC-8, Giuseppe Iellamo wrote: Thank you this is a very good news for me! When I'll finish with RT part I'll try QT5 on BBB... Giuseppe Il giorno

[beagleboard] Re: Program for making sinewaves in real time with Analog inputs (any language)

2013-11-27 Thread Brandon I
Google beaglebone black adc for a bunch of examples. On Tuesday, November 26, 2013 9:24:14 PM UTC-8, Zain Dar wrote: Hi, just like in the title, I'm trying to make a program code for making sinewaves that work with the analog pins when I have analog accelerometers connected to it. Is there

Re: [beagleboard] gpio.h No such file or directory error

2013-11-25 Thread Brandon I
All of the gpio registers have dedicated set and clear registers so you don't have to do read-modify-write operations. There wont be an issue with collisions between separate gpio bits if you're just setting or reading pin states. On Sunday, November 24, 2013 11:13:21 PM UTC-8, rod calabio

[beagleboard] Re: Is there a way to access the UART registers

2013-11-23 Thread Brandon I
You can find the memory offsets for the uart control, and then the offsets for the specific registers in that reference manual. From there, you can use an mmap to the registers in your program/script or use the devmem2 command to read/write the registers directly. *mmap example with gpio

Re: [beagleboard] Re: Setting the Bitrate of I2C2 on the Beaglebone Black

2013-11-20 Thread Brandon I
You don't need the kernel source. You can convert the compiled device tree blob to the text version, edit it, and the convert it back to the binary using dtc: # backup the original .dtb cp /boot/am335x-boneblack.dtb /boot/am335x-boneblack.dtb.orig # generate the dts from the dtb dtc -I dtb -O

[beagleboard] Re: Program C++ through putty using VI (Library installations needed?)

2013-11-12 Thread Brandon I
I was wondering if it is possible to write a c/c++ code in vi through SSH on Putty and then generate an output file and run directly on the beaglebone? I tried the simple helloworld.c program and it worked. I have a network share set up, accessible by the beaglebone. I also have the

Re: [beagleboard] beagleboneblack don't restart after power fluctuation.

2013-11-05 Thread Brandon I
I've connected beagleboneblack to my car power supply with 24V to 5V step down. 24V power supply in a car? If this means you're this from the accessories circuit, you're doomed. Accessories are turned off while the car is being started, and a cap won't be enough to power the beaglebone, since

Re: [beagleboard] beagleboneblack don't restart after power fluctuation.

2013-11-05 Thread Brandon I
, 2013 9:30 PM, Brandon I brandon.ir...@gmail.com wrote: I've connected beagleboneblack to my car power supply with 24V to 5V step down. 24V power supply in a car? If this means you're this from the accessories circuit, you're doomed. Accessories are turned off while the car is being started

[beagleboard] Re: Fast boot, no-GUI distro?

2013-10-07 Thread Brandon I
You can build angstrom without the gui. For some pre built images, check out the angstrom rootfs image at http://downloads.angstrom-distribution.org/demo/beaglebone/ On Monday, October 7, 2013 12:34:13 AM UTC-7, Rick M wrote: Hi. I'm getting started with my BBB, having done previous

Re: [beagleboard] Device Tree Overlay ? why do we need it?

2013-10-06 Thread Brandon I
2. Why is a DT used to define the HDMI Because this is a system-on-chip. The HDMI, gpio, gpu, pruss, etc are all peripherals of the cpu that are located on the chip, but still separate from the cpu. 3. If you just want to get gpio or leds working quickly, check out this post:

Re: [beagleboard] Re: PRU FAQ 2013-05-15

2013-10-02 Thread Brandon I
and a lot of the pins are shared with the LCD/HDMI interface. Which can be made available by disabling the hdmi framer by adding the following to uEnv.txt on the fat32 partition: capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN On Wed, Oct 2, 2013 at 1:03 PM, Charles Steinkuehler

[beagleboard] Re: opkg upgrade=WARNING: could not open /lib/modules/3.8.13/modules.order: No such file or directory

2013-09-26 Thread Brandon I
http://imgur.com/6W5zcb0.jpg On Wednesday, September 25, 2013 12:20:49 PM UTC-7, Steve French wrote: Hello! New to BBB, but lovin it so far...got two of them working on the same network...more to come... 1) So, I used this image BBB-eMMC-flasher-2013.09.04.img 2) In order for me to do a