[beagleboard] Re: Beaglebone keeps shutting down when trying to drive a motor

2014-05-11 Thread Uncle Joe
Well, I've overcome the problem. I was using a GPIO as GND to the ESC. This 
was convenient since those pins are next to each other. Once I used true 
GND, then the problem went away.

But why would using a GPIO as a GND cause a shutdown? I know it will 
restrict the amount of current sinked due to having to flow through an 
extra FET.


On Saturday, May 10, 2014 9:38:55 PM UTC-7, Uncle Joe wrote:

 Help, I'm struggling to drive a simple ESC and brushless motor combination 
 with the Beaglebone. I've already spent 1/2 a day figuring out the right 
 arming sequence (caused by a +- 0.01 ms error in timing).

 But once I arm the ESC, the Beaglebone shuts off immediately. Most of the 
 time, it shuts off right when it starts spinning up. Sometimes it even 
 shuts off on one of the beeps the motor makes indicating the ESC is arming.

 Here's my setup:
 Revolver Stubby motor
 ||
 ||
 850W PSU  =12V=  ESC   ===3.3V=== BeagleBone

 The PSU is an Antec 850 high current gamer. I've disabled over-current, 
 over-voltage, and under-voltage protection on it, so the power draw can be 
 alot (enough to make the lights flicker when the motor starts).


 The BeagleBone is powered by USB and should be buffered against surges 
 caused by the motor PSU.
 What could be the problem?




-- 
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] path of least resistance to Debian

2014-05-11 Thread John Syn

From:  William Hermans yyrk...@gmail.com
Reply-To:  beagleboard@googlegroups.com
Date:  Saturday, May 10, 2014 at 8:08 PM
To:  beagleboard@googlegroups.com
Subject:  Re: [beagleboard] path of least resistance to Debian

 Well John, this is why people like me research hardware to use with various
 OSes, and distro's Unlike Windows that can almost have any hardware tossed at
 it ( whether it works well or not ), Linux, or specifically Debian in this
 case can be very finicky.
Windows, really? Talking about a flaky OS and let¹s not talk about all those
patches that I have to wait 5 or 15 minutes every day when I boot and then
when I shutdown and all those reboots for upgrades. Windows is a piece of
crap, period. I only use windows because some of the tools I use only run on
Windows, but if I could ditch it, I would.

I use OSX and everything just works. One of these days I¹m going to get the
Linaro ARM cross compiler working and then I¹ll ditch Ubuntu as well.
 
 
 I dont recall what the topic was of the Video, but if you search youtube for
 Linus torvalds + F*** nVidia . . . Yeah lets just say you might be mildly
 amused. nVidia in the past and probably still does not play nice with the open
 source community.
I changed from ATI because of driver issues and nVidia open source driver
works find with Ubuntu.
 
 
 As far as the older kernel goes. Debian is known to move slower and more
 purposeful when compared to other distro;s.  And as a result is generally
 very, very stable. However, because of this, also generally you need to pay
 attention to supported hardware.
You are right about this, Debian is rock solid. I did try the testing repo
and that looks pretty stable as well. My only hesitation is that I¹m not
that familiar with all the repos I need and I don¹t have the time to
research this right now.
 
 
 
 On Sat, May 10, 2014 at 2:59 PM, John Syn john3...@gmail.com wrote:
 
 From:  William Hermans yyrk...@gmail.com
 Reply-To:  beagleboard@googlegroups.com
 Date:  Saturday, May 10, 2014 at 12:39 AM
 
 To:  beagleboard@googlegroups.com
 Subject:  Re: [beagleboard] path of least resistance to Debian
 
 I can not disagree more with John on this last point. If you need a support
 system for Debian, use Debian as the support system. Also, stay away from
 using X, and Window managers if you can help it.
 I wasn¹t suggesting that anyone use Ubuntu for development, I was just
 describing my own setup. BTW, I did try Debian Wheezy and it didn¹t go very
 well. First my Nvidia GTX670 didn¹t work with the open source driver given
 that I have 3 x 30 inch Dell monitors. I was somewhat surprised that Debian
 is still using Linux Kernel V3.2 and I had to hunt around for so many
 repositories to get just the basic tools I need. I¹m no fan of Ubuntu, but
 for now it does the job for me and I¹m familiar with it. One more thing,
 developing on Windows is a nightmare given NTFS which is case insensitive.
 
 Regards,
 John
 
 
 Cross compiling from Windows does work, I've had this working since early
 on, but for most ( some ? ) people this is probably less than optimal.
 Definitely if you're using OSX as your desktop.
 
 
 On Fri, May 9, 2014 at 9:51 PM, John Syn john3...@gmail.com wrote:
 
 From:  Brian Lloyd br...@lloyd.com
 Reply-To:  beagleboard@googlegroups.com
 Date:  Friday, May 9, 2014 at 6:51 PM
 To:  beagleboard@googlegroups.com
 Subject:  Re: [beagleboard] path of least resistance to Debian
 
 On Fri, May 9, 2014 at 5:42 PM, William Hermans yyrk...@gmail.com wrote:
 #1 Personally I would run from a uSD card to make sure it is what you
 want. Plus it doesnt hurt to run from the sd card, unless you do not have
 a uSD card + sd card adapter, and do not care to spend money on this.
 
 I have a 16GB uSD card to run from. Just wondering what the pros and cons
 are. Seems that the cons are worry that the eMMC will reach its write
 limit. I don't think that will be an issue for my application as I intend
 to use the BBB as an embedded system. (See below.)
  
 
 #2 I'll defer to someone else, as I am not a MAC person.
 
 Mac is just FreeBSD once you are in the shell (for the most part). There
 are worse places to be. ;-)
 There are some incompatibilities with OSX, but if you use ³MacPort² or
 ³HomeBrew² or ³Fink² to get the GNU tool versions. Since the GNU version
 are the same as Debian or Ubuntu, the same instructions will work on Mac.
  
 
 #3 NO idea where you got this impression. All the instructions I've seen
 are *NIX based, and I *DO* personally run Windows for my own desktop
 environment.
 
 I couldn't find any instructions other than for doing it from Windows
 until I was pointed to the Adafruit site.
  
 
 #4 You would have to boot up via uSD to write out the eMMC I believe.
  
 I now have Debian running from the uSD card and it is working just peachy.
 Attempts to copy the eMMC version to the eMMC didn't work but I only want
 that as a backup to the uSD. Eventually I will probably want to run from
 eMMC when 

[beagleboard] BeagleBoard-xm does not show captured image

2014-05-11 Thread Shanal Beedkar
Hi,
I am designing system to detect Eye blink using OpenCV on Beagle board 
xm.code can execute efficiently on laptop but unable to show web cam's 
output on screen.
It can print text message (mentioned in code )on terminal. but unable to 
show as input video string. 
can any body please help me?
 *Is *problem  with my code or with my board ?
and How can I solve it?
 

-- 
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: Beaglebone keeps shutting down when trying to drive a motor

2014-05-11 Thread Przemek Klosowski
It all depends on what the ESC current is. The current spec for GPIO
is not a suggestion, but an absolute maximum value; if you exceed it,
all bets are off (reset is actually a polite thing to do---permanent
pin buffer damage can also happen, as well as wider damage to the
chip).

On Sun, May 11, 2014 at 2:32 AM, Uncle Joe yzhang1...@gmail.com wrote:
 Well, I've overcome the problem. I was using a GPIO as GND to the ESC. This
 was convenient since those pins are next to each other. Once I used true
 GND, then the problem went away.

 But why would using a GPIO as a GND cause a shutdown? I know it will
 restrict the amount of current sinked due to having to flow through an extra
 FET.


 On Saturday, May 10, 2014 9:38:55 PM UTC-7, Uncle Joe wrote:

 Help, I'm struggling to drive a simple ESC and brushless motor combination
 with the Beaglebone. I've already spent 1/2 a day figuring out the right
 arming sequence (caused by a +- 0.01 ms error in timing).

 But once I arm the ESC, the Beaglebone shuts off immediately. Most of the
 time, it shuts off right when it starts spinning up. Sometimes it even shuts
 off on one of the beeps the motor makes indicating the ESC is arming.

 Here's my setup:
 Revolver Stubby motor
 ||
 ||
 850W PSU  =12V=  ESC   ===3.3V=== BeagleBone

 The PSU is an Antec 850 high current gamer. I've disabled over-current,
 over-voltage, and under-voltage protection on it, so the power draw can be
 alot (enough to make the lights flicker when the motor starts).


 The BeagleBone is powered by USB and should be buffered against surges
 caused by the motor PSU.
 What could be the problem?


 --
 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] Audio Cape and Debian

2014-05-11 Thread erg
Well, what ever I did, I fixed when I only disabled BB-BONELT-HDM  (rather 
than both).

Things are working well now.  Thanks so much for the help.



On Saturday, May 10, 2014 6:28:42 PM UTC-4, john3909 wrote:


 From: erg edros...@gmail.com javascript:
 Reply-To: beagl...@googlegroups.com javascript:
 Date: Saturday, May 10, 2014 at 11:08 AM
 To: beagl...@googlegroups.com javascript:
 Subject: Re: [beagleboard] Audio Cape and Debian

 getting closer but not quite there.

 To get the version information  lsb_release -a  return 
 root@beaglebone:~# lsb_release -a
 No LSB modules are available.
 Distributor ID: Debian
 Description:Debian GNU/Linux 7.4 (wheezy)
 Release:7.4
 Codename:   wheezy



 Step 1 copy the audio device tree overlay (source) to  /lib/firmware
 Step 2 copile the device tree overlay - good instructions here 
 https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree?view=all#compiling-an-overlay
dtc -O dtb -o  BB-BONE-AUDI-02-00A0.dtbo  -b 0 -@ 
 BB-BONE-AUDI-02-00A0.dts

 Step 3 export SLOTS=/sys/devices/bone_capemgr.*/slots
 echo BB-BONE-AUDI-02  $SLOTS   
 This will produce an error
 -bash: echo: write error: File exists
 
 issue the command dmesg to see what kind of error this causes

  
 666.089997] bone-capemgr bone_capemgr.9: slot #7: 'Override Board 
 Name,00A0,Override Manuf,BB-BONE-AUDI-02'
 [  666.090265] bone-capemgr bone_capemgr.9: slot #7: Requesting part 
 number/version based 'BB-BONE-AUDI-02-00A0.dtbo
 [  666.090319] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware 
 'BB-BONE-AUDI-02-00A0.dtbo' for board-name 'Override Board Name', version 
 '00A0'
 [  666.097465] bone-capemgr bone_capemgr.9: slot #7: dtbo 
 'BB-BONE-AUDI-02-00A0.dtbo' loaded; converting to live tree
 [  666.098183] bone-capemgr bone_capemgr.9: slot #7: BB-BONE-AUDI-02 
 conflict P9.31 (#5:BB-BONELT-HDMI)
 [  666.107973] bone-capemgr bone_capemgr.9: slot #7: Failed verification




 This error state there is a conflict with BB-BONELT-HDMI  

 need to disable that 

 nano /boot/uboot/uEnv.txt
 optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN

 Remove the # from in front of this line

 Audio now works

 BUT

 *The sd card is no longer there.  *

 What I would really like is for the SD card AND audio to work.

 BTW, you only need to disable BB-BONELT-HDMI. BB-BONELT-HDMIN will not 
 conflict with your audio cape. I can only imagine that you must have some 
 typo in uEnv.txt, because nothing you did will affect the SDCard. Maybe you 
 should recreate your SDCard and update the uEnv.txt file on the boot 
 partition of the SDCard. 

 Regards,
 John



 Again - thanks for the help, 

 On Saturday, May 10, 2014 1:09:10 AM UTC-4, john3909 wrote:


 From: erg edros...@gmail.com
 Reply-To: beagl...@googlegroups.com
 Date: Friday, May 9, 2014 at 5:29 PM
 To: beagl...@googlegroups.com
 Subject: Re: [beagleboard] Audio Cape and Debian

 I appreciate the response - but how in the world do you install a device 
 tree?  Been searching all over the place and find billions of references to 
 how to compile one, but struggling with what to do with the one that is 
 already compiled.  

 Also - the very limited docs seem to indicate this is already installed  

 The current Debian images have the required patches and will play audio 
 normally.


 there are zero other docs to help someone that just wants to use this 
 rather than become a linux guru.  

 Since you did not specify your kernel version, it is hard to respond. 
 However, assuming you are using V3.8.13, do the following:

 Make sure the compiled BB-BONE-AUDI-02-00A0.dtbo file is installed under 
 the /firmware folder

 export SLOTS=/sys/devices/bone_capemgr.*/slots
 echo BB-BONE-AUDI-02  $SLOTS

 If you want to enable the Audio DT permanently, add it to your uEnv.txt 
 file. 

 Regards,
 John



 On Thursday, May 8, 2014 10:40:19 PM UTC-4, john3909 wrote:


 From: erg edros...@gmail.com
 Reply-To: beagl...@googlegroups.com
 Date: Thursday, May 8, 2014 at 5:26 PM
 To: beagl...@googlegroups.com
 Subject: [beagleboard] Audio Cape and Debian

 I know little of linux and not that up on audio, but in the process of 
 building an app that uses both.  (Java app that works fine in windows).  

 I just bought the audio cape and a bit surprised at the lack of any docs 
 or links to how-to.  In fact, not really sure which is the mic in and 
 headphone out.

 I'm sure this thing works, but not sure what I need to do to get it 
 working.

 Ive tried aplay, alsa, alsamixer and nothing seems to know the board is 
 present. Using debian for the beagle board


 Is there some kind of configuration that is needed to make this work? 
 Or, is there any docs for this board (Rev B) that explain what needs to be 
 done?

 Appreciate any help.

 aplay -vv  file.wav   Seems to do something, but no audio from either of 
 the ports.


 What kernel version are you using?

 You need to 

[beagleboard] Re: Bone VDD_3V3EXP Disable Issues

2014-05-11 Thread Darren McInnes


On Friday, January 31, 2014 4:34:51 AM UTC+11, Brad Andersen wrote:

 An update:

 For the A6 (Beaglebone Black) version, I connected U4 pin 1 (enable) back 
 to VDD_3V3AUX (same as A5C).  It now shuts down correctly while on 
 battery.  This was verified on two A6 BBB.

 The mystery is what causes the VDD_3V3A to hang up on the A6 version when 
 shutting down while on battery.


Brad,

Thank you for this post. I thought I was going madder than usual when the 
production units wouldn't turn off but the prototypes did!

all it required was lifting pin 1 of U4 and soldering a wire-wrap wire to 
the power led anode (side furthest from the edge of the board)

you have as they say saved my bacon

Best Wishes,

Darren

-- 
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: Audio Cape and Debian

2014-05-11 Thread Luís Costa
Hi,

where did you buy it? How much did it cost?

Cheers

On Friday, May 9, 2014 1:26:27 AM UTC+1, erg wrote:

 I know little of linux and not that up on audio, but in the process of 
 building an app that uses both.  (Java app that works fine in windows).  

 I just bought the audio cape and a bit surprised at the lack of any docs 
 or links to how-to.  In fact, not really sure which is the mic in and 
 headphone out.

 I'm sure this thing works, but not sure what I need to do to get it 
 working.

 Ive tried aplay, alsa, alsamixer and nothing seems to know the board is 
 present. Using debian for the beagle board


 Is there some kind of configuration that is needed to make this work? Or, 
 is there any docs for this board (Rev B) that explain what needs to be done?

 Appreciate any help.

 aplay -vv  file.wav   Seems to do something, but no audio from either of 
 the ports.


 thx

 e


-- 
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] Power switch for Beaglebone?

2014-05-11 Thread Grant
Is there a simple passive switch I can put between the Beaglebone
White and its power supply so I can switch it on and off without
unplugging it?

- Grant

-- 
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] BeagleBoard Data Acquisition Platform

2014-05-11 Thread sa_Penguin
Aah now I see. Using multiple channels to search for signals buried in 
noise.
Like the phase array of antennas used in the WERA radar system: 
http://www.aslenv.com/WERA.html

Whereas my own desires are based on the Red Pitaya: http://redpitaya.com
A lovely bit of kit, if you can spare $500+ and don't mind Yet Another ARM 
Processor [built into the FPGA chip]...

For more modest requirements, this should be do-able as an extension to the 
Beaglebone series.
A quick check of TI's selection table found the 
ADS4145http://www.ti.com/product/ads4145and ADS4245 [1 and 2 channel version, 
125M, 14-bit]. 
Analog Devices have the 
AD9648-125http://www.analog.com/en/analog-to-digital-converters/ad-converters/ad9648/products/product.html,
 
and Linear Technology have the 
LTC2145-14http://www.linear.com/product/LTC2145-14. 
 
Feel free to look them up if you're curious about how they work: I consider 
much of that magic smoke

As for WHY I want one - primarily, RF signal analysis. 120 Msample/sec lets 
you grab from DC to 30MHz, with simple filtering.
You can also monitor FM bands [88-108MHz] which fall in the 2nd Nyquist 
sample zone and get reflected down to 12 - 32 MHz
Oh, and amateur radio and weather satellites, in the band 140 - 150 MHz, 
can be under sampled at 25 - 30MHz.
   
Not to mention being able to cover 40MHz of bandwidth, such as WiFi, by 
adding a mixer / downconverter. 

It's all Software Defined Radio, or SDR. There are $20 USB dongles, but 
they lack the frequency range and bandwidth I'm talking about.

Regards,

-- Alan [SA-Penguin]

-- 
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] Power switch for Beaglebone?

2014-05-11 Thread William Pretty Security
Like a FET or a Solid State Relay ??

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book


-Original Message-
From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Grant
Sent: Sunday, May 11, 2014 11:18 AM
To: beagleboard@googlegroups.com
Subject: [beagleboard] Power switch for Beaglebone?

Is there a simple passive switch I can put between the Beaglebone White and its 
power supply so I can switch it on and off without unplugging it?

- Grant

--
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.


-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4577 / Virus Database: 3931/7474 - Release Date: 05/11/14

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4577 / Virus Database: 3931/7433 - Release Date: 05/02/14 
Internal Virus Database is out of date.

-- 
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] Power switch for Beaglebone?

2014-05-11 Thread Grant
 Like a FET or a Solid State Relay ??

 http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book


I'm not sure.  I'm just looking for a small component I can plug
between the Beaglebone and power cable without any soldering.

- Grant


 Is there a simple passive switch I can put between the Beaglebone White and 
 its power supply so I can switch it on and off without unplugging it?

 - Grant

-- 
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: How to find DDR physical address for passing data to/from pruss?

2014-05-11 Thread ags
A shortened version of this question, which I really want to understand for 
this specific project and as general learning for use of Linux in embedded 
systems:

What is the correct way to correctly use memory in userspace to access 
registers and memory used by device drivers (specifically the PRU in this 
case)?

Is the example provided correct, both the app_loader helper code and/or 
the example applications? They seem to be inconsistent with one another?

-- 
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] help remove virtual terminals in debian

2014-05-11 Thread Maxim Podbereznyy
Hi!

I use Beagleboard with installed bare Debian from RCN. My main application
is in Qt and it works as expected but the virtual terminal is very
disturbing. When the system boots I can see a number of annoying messages
on a display and that is why I want to remove virtual terminal forever. I
tried Ubuntu nano and Debian and everywhere virtual terminals exist. Please
advise something

-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

-- 
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] help remove virtual terminals in debian

2014-05-11 Thread Robert Nelson
On Sun, May 11, 2014 at 2:36 PM, Maxim Podbereznyy lisar...@gmail.com wrote:
 Hi!

 I use Beagleboard with installed bare Debian from RCN. My main application
 is in Qt and it works as expected but the virtual terminal is very
 disturbing. When the system boots I can see a number of annoying messages on
 a display and that is why I want to remove virtual terminal forever. I tried
 Ubuntu nano and Debian and everywhere virtual terminals exist. Please advise
 something

First start by adding quiet to your bootargs, along with removing
the console=ttyXYZ reference, should quiet down your terminal.

Regards,

-- 
Robert Nelson
http://www.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] help remove virtual terminals in debian

2014-05-11 Thread Maxim Podbereznyy
Robert,

I don't want to remove the console (I think removing console=ttyXY from
bootargs will break the console at all), just the virtual terminals

have just tried to add quiet and got rid off the system boot log and the
fancy virtual terminal on the display still appears. I need to remove all
text from the display, just GUI is needed on it


2014-05-11 23:38 GMT+04:00 Robert Nelson robertcnel...@gmail.com:

 On Sun, May 11, 2014 at 2:36 PM, Maxim Podbereznyy lisar...@gmail.com
 wrote:
  Hi!
 
  I use Beagleboard with installed bare Debian from RCN. My main
 application
  is in Qt and it works as expected but the virtual terminal is very
  disturbing. When the system boots I can see a number of annoying
 messages on
  a display and that is why I want to remove virtual terminal forever. I
 tried
  Ubuntu nano and Debian and everywhere virtual terminals exist. Please
 advise
  something

 First start by adding quiet to your bootargs, along with removing
 the console=ttyXYZ reference, should quiet down your terminal.

 Regards,

 --
 Robert Nelson
 http://www.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.




-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

-- 
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] help remove virtual terminals in debian

2014-05-11 Thread Robert Nelson
On Sun, May 11, 2014 at 2:46 PM, Maxim Podbereznyy lisar...@gmail.com wrote:
 Robert,

 I don't want to remove the console (I think removing console=ttyXY from
 bootargs will break the console at all), just the virtual terminals

 have just tried to add quiet and got rid off the system boot log and the
 fancy virtual terminal on the display still appears. I need to remove all
 text from the display, just GUI is needed on it

You it should be safe to remove console=tty0 then you won't get any
boot text on your lcd/dvi screen

Regards,

-- 
Robert Nelson
http://www.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] help remove virtual terminals in debian

2014-05-11 Thread Maxim Podbereznyy
here is the cmdline:
console=ttyO2,115200n8 quiet root=/dev/mmcblk0p2 ro rootfstype=ext4
rootwait fixrtc dvimode=hd720

what should I remove?


2014-05-11 23:48 GMT+04:00 Robert Nelson robertcnel...@gmail.com:

 On Sun, May 11, 2014 at 2:46 PM, Maxim Podbereznyy lisar...@gmail.com
 wrote:
  Robert,
 
  I don't want to remove the console (I think removing console=ttyXY from
  bootargs will break the console at all), just the virtual terminals
 
  have just tried to add quiet and got rid off the system boot log and
 the
  fancy virtual terminal on the display still appears. I need to remove all
  text from the display, just GUI is needed on it

 You it should be safe to remove console=tty0 then you won't get any
 boot text on your lcd/dvi screen

 Regards,

 --
 Robert Nelson
 http://www.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.




-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

-- 
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] help remove virtual terminals in debian

2014-05-11 Thread Maxim Podbereznyy
done!

https://help.ubuntu.com/community/RemoveTTY



2014-05-12 0:04 GMT+04:00 Maxim Podbereznyy lisar...@gmail.com:

 here is the cmdline:
 console=ttyO2,115200n8 quiet root=/dev/mmcblk0p2 ro rootfstype=ext4
 rootwait fixrtc dvimode=hd720

 what should I remove?


 2014-05-11 23:48 GMT+04:00 Robert Nelson robertcnel...@gmail.com:

 On Sun, May 11, 2014 at 2:46 PM, Maxim Podbereznyy lisar...@gmail.com
 wrote:
  Robert,
 
  I don't want to remove the console (I think removing console=ttyXY
 from
  bootargs will break the console at all), just the virtual terminals
 
  have just tried to add quiet and got rid off the system boot log and
 the
  fancy virtual terminal on the display still appears. I need to remove
 all
  text from the display, just GUI is needed on it

 You it should be safe to remove console=tty0 then you won't get any
 boot text on your lcd/dvi screen

 Regards,

 --
 Robert Nelson
 http://www.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.




 --
 LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
 Company - http://www.linkedin.com/company/mentorel
 Facebook - https://www.facebook.com/mentorel.company




-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

-- 
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: Beginner PRU Issue

2014-05-11 Thread foreverska
You have responded to this at a fortuitous time.  I JUST got it working on 
an example code.
- I edited the device tree turning on the PRUSS system and turning off the 
status lights
- modprobe uio_pruss
- sudo ./[program name]
and boom it started blinking just as it should.  Now it doesn't exit 
properly and I will have to play with the clear_event() to see if that's 
the root but I'm very happy with it right this second.

On Sunday, May 11, 2014 3:38:36 PM UTC-5, CEB wrote:

 It stopped segfaulting when I sudoed the program so I copied in the whole 
 code.  The compiler complains that there aren't enough parameters for 
 prussdrv_pru_clear_event.  The header does have two parameters but all 
 other TI documentation only has one.  If I just throw a zero as the second 
 parameter it will run but does nothing because who knows what I'm doing. 


 - show quoted text -
 In several examples I see:prussdrv_pru_clear_event (PRU_EVTOUT_0, 
 PRU0_ARM_INTERRUPT);

 I'm trying to get a feel for this too.  Maybe this will 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.


[beagleboard] Re: Audio Cape and Debian

2014-05-11 Thread erg
I got mine from 
http://boardzoo.com/index.php/new-products/bone-audio.html#.U2_-VFd7_uw  
boardzoo.com  Cost $29.95  

Few other notes:

I will likely need to modify this board to include an audio amp to drive a 
speaker and an on-board mic.  

I tried to play audio directly from Java - don't think it's gonna work 
without some indepth knowledge of the Linux and the Java audio.  My most 
likely solution will be to simply execute an external program (most likely 
madplay). 
aplay will only play wav files, I would rather use mp3 due to space.

I've installed maplay using 
 apt-get install madplay
(i've tried mpg123 - but didn't seem to work and did not want to fight that 
battle 

Good luck.  I know very little of Linux, so this was a bit frustrating form 
me, I hope my notes help 
I'm not entirely sure yet, but think I will execute (from Java) lame to 
record.  






On Sunday, May 11, 2014 11:06:25 AM UTC-4, Luís Costa wrote:

 Hi,

 where did you buy it? How much did it cost?

 Cheers

 On Friday, May 9, 2014 1:26:27 AM UTC+1, erg wrote:

 I know little of linux and not that up on audio, but in the process of 
 building an app that uses both.  (Java app that works fine in windows).  

 I just bought the audio cape and a bit surprised at the lack of any docs 
 or links to how-to.  In fact, not really sure which is the mic in and 
 headphone out.

 I'm sure this thing works, but not sure what I need to do to get it 
 working.

 Ive tried aplay, alsa, alsamixer and nothing seems to know the board is 
 present. Using debian for the beagle board


 Is there some kind of configuration that is needed to make this work? Or, 
 is there any docs for this board (Rev B) that explain what needs to be done?

 Appreciate any help.

 aplay -vv  file.wav   Seems to do something, but no audio from either of 
 the ports.


 thx

 e



-- 
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: path of least resistance to Debian

2014-05-11 Thread Bruce Ferjulian
Question_1: I personally like to run from the MicroSD. The eMMC is there if 
something goes wrong on the MicroSD and I need a quick edit on the MicroSD 
to get back running. An 8GB MicroSD card is very inexpensive these days and 
it's easier to just pop the MicroSD in a reader and ( dd if=/dev/MyMicroSD 
of=/MyBackup.img ) to create a backup or duplicate cards using DD in the 
reverse direction from my backup.

One note. Just to keep the MicroSD from writing too much when I am running, 
I placed this mountpoint in the [ /etc/fstab ] and write all my web stuff 
there. This way all my frequently written stuff goes there, it's temporary 
anyway but written frequently and ram is a good place for it.

tmpfs /ramfstmpfs defaults,size=20m 0 0


-Bruce-


On Friday, May 9, 2014 6:28:28 PM UTC-4, Brian Lloyd wrote:

 I am fairly certain that this has been answered but I have spent the last 
 two hours perusing the Wiki, the website, and the forums looking for a 
 definitive path to move my BBB from Angstrom to Debian. I am left with some 
 questions which I am pretty certain someone has already answered but I 
 still need pointers.

1. Is it better to run Debian from MicroSD or from the eMMC?
2. My native OS environment is MacOS. I have decompressed both Debian 
images on my Mac. For the MicroSD it seems the easy way to write the image 
is with dd using a 512-byte blocksize (one sector), right?
3. Is there a way to write the eMMC image from MacOS? I'd rather not 
have to boot up Windows if I can avoid it. (After all, we are trying to 
 run 
linux and having to run Windows in order to do maintenance on a Linux 
system just seems ... wrong.)
4. Is there a way to write the eMMC image from the running BBB? Seems 
that maybe I get it running from MicroSD and then rewrite the eMMC. 

 Thank you.

 Brian



-- 
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: Audio Cape and Debian

2014-05-11 Thread John Syn


From:  erg edross15...@gmail.com
Reply-To:  beagleboard@googlegroups.com
Date:  Sunday, May 11, 2014 at 3:58 PM
To:  beagleboard@googlegroups.com
Subject:  [beagleboard] Re: Audio Cape and Debian

 I got mine from 
 http://boardzoo.com/index.php/new-products/bone-audio.html#.U2_-VFd7_uw
 boardzoo.com  Cost $29.95
 
 Few other notes:
 
 I will likely need to modify this board to include an audio amp to drive a
 speaker and an on-board mic.
Use amixer to modify the volume. Start with arecord and aplay to confirm
that your audio is working before using java.

If you have a microphone, play music from say your iPhone or Android device.
arecord -r 44100 -c 1 -f S16_LE -t wav -vv -d 25 example.wav
aplay example.wav

Regards,
John 
 
 
 I tried to play audio directly from Java - don't think it's gonna work without
 some indepth knowledge of the Linux and the Java audio.  My most likely
 solution will be to simply execute an external program (most likely madplay).
 aplay will only play wav files, I would rather use mp3 due to space.
 
 I've installed maplay using
  apt-get install madplay
 (i've tried mpg123 - but didn't seem to work and did not want to fight that
 battle 
 
 Good luck.  I know very little of Linux, so this was a bit frustrating form
 me, I hope my notes help
 I'm not entirely sure yet, but think I will execute (from Java) lame to
 record.  
 
 
 
 
 
 
 On Sunday, May 11, 2014 11:06:25 AM UTC-4, Luís Costa wrote:
 Hi,
 
 where did you buy it? How much did it cost?
 
 Cheers
 
 On Friday, May 9, 2014 1:26:27 AM UTC+1, erg wrote:
 I know little of linux and not that up on audio, but in the process of
 building an app that uses both.  (Java app that works fine in windows).
 
 I just bought the audio cape and a bit surprised at the lack of any docs or
 links to how-to.  In fact, not really sure which is the mic in and headphone
 out.
 
 I'm sure this thing works, but not sure what I need to do to get it working.
 
 Ive tried aplay, alsa, alsamixer and nothing seems to know the board is
 present. Using debian for the beagle board
 
 
 Is there some kind of configuration that is needed to make this work? Or, is
 there any docs for this board (Rev B) that explain what needs to be done?
 
 Appreciate any help.
 
 aplay -vv  file.wav   Seems to do something, but no audio from either of the
 ports.
 
 
 thx
 
 e
 
 -- 
 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] Beaglebone Camera Selection

2014-05-11 Thread Jameel Khan
Hey guys, 

New here. I am currently doing my final project at university and cannot 
decide on a camera to use. The camera is to be used to navigate the robot 
and detect blocks red, green, and blue. The previous person to work on the 
project sourced the following camera and I am currently debating whether or 
not to use 
it. 
http://store.linksprite.com/linksprite-jpeg-color-camera-serial-uart-interface-ttl-level/

My question is really should I be going with a TTL level serial 
communication camera or would it be easier/better to go with a usb camera 
like most people have with their robots. 

Cheers in advance,

Jameel 


-- 
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] BeagleBoard Data Acquisition Platform

2014-05-11 Thread Przemek Klosowski
On Sun, May 11, 2014 at 11:33 AM, sa_Penguin soupi...@gmail.com wrote:

 As for WHY I want one - primarily, RF signal analysis. 120 Msample/sec lets
 you grab from DC to 30MHz, with simple filtering.
 You can also monitor FM bands [88-108MHz] which fall in the 2nd Nyquist
 sample zone and get reflected down to 12 - 32 MHz
 Oh, and amateur radio and weather satellites, in the band 140 - 150 MHz, can
 be under sampled at 25 - 30MHz.

 Not to mention being able to cover 40MHz of bandwidth, such as WiFi, by
 adding a mixer / downconverter.

 It's all Software Defined Radio, or SDR. There are $20 USB dongles, but
 they lack the frequency range and bandwidth I'm talking about.

The dongles typically do 60MHz-1700MHz--I doubt that you'll do better
by hooking an ADC to the BBB. The dongles do it by having a front-end
tuner and specialized signal processor.

-- 
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: Atlantic Canada Timezone

2014-05-11 Thread DLF
In Debian, I find it inside 
usr/share/zoneinfo/Canada/



On Sunday, 11 May 2014 00:53:46 UTC+2, mike rankin wrote:

 I'm having trouble finding the Atlantic Canada Timezone for setting up the 
 time being pulled over ethernet from the instructions at: 
 http://www.circuidipity.com/getting-started-with-beaglebone-black.html
 Inside usr/share/zoneinfo/ I cannot find the Atlantic timezone.


-- 
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.