Re: [beagleboard] usb0 as a simple serial program interface

2017-05-15 Thread walter harms
Am 13.05.2017 21:00, schrieb ashwal.harel via BeagleBoard: > I'm using BBB can I change usb0 (client mode usb ) to show my product CLI > interface rather then linux console? > yes, there are basically 2 ways. 1. with password. create an useraccount and use .profile to start you program 2. red

Re: [beagleboard] Re: I²C reads on broken out bus #1 always return 0

2017-05-15 Thread 'Torsten K.' via BeagleBoard
Hi again, this morning, I connected another IMU unit (Polulu AltIMU10 v5) in parallel to the motor controller on I²C bus #1. It works flawlessly and I can read the ID of the accel/gyro unit using i2cget: tkurbad@beaglebone:~/projects/mipSIE/python3$ i2cget -y 1 0x6b 0x0f 0x69 However, I still

Re: [beagleboard] Re: I²C reads on broken out bus #1 always return 0

2017-05-15 Thread Graham
Torsten: OK. That makes more sense. If it is a PIC misbehaving, I would re-program it first, then make sure you have good bypass capacitor to ground, with short leads, on the power input pin to the ground pin on the PIC. Good luck. --- Graham == On Monday, May 15, 2017 at 3:59:03 AM UTC-5

[beagleboard] Re: Can´t echo to slotsfile

2017-05-15 Thread Beagle Boner
Thanks for your response guys, i figgured out that you have to be root to echo into the slotsfile, sudo with debian user is not enough. Just in case someone else has the same issue: When you write an overlay for your custom cape, you have to include it over /etc/defaut/capemgr, NOT via /boot/u

Re: [beagleboard] Re: Can´t echo to slotsfile

2017-05-15 Thread Robert Nelson
On Mon, May 15, 2017 at 8:19 AM, Beagle Boner wrote: > Thanks for your response guys, > > i figgured out that you have to be root to echo into the slotsfile, sudo > with debian user is not enough. That's incorrect, and stated in my previous email sudo echo "something" > "somewhere" doesn't work

[beagleboard] Using RTC

2017-05-15 Thread ph . fouquet
Hi I try to use the RCT's SoC but it din't look like work. I'm using the command : "hwclock -D" and I have a message : hwclock from util-linux 2.25.2 Using the /dev interface to the clock. Assuming hardware clock is kept in UTC time. Waiting for clock tick... select() to /dev/rtc to wait for clo

[beagleboard] Use UART4 and HDMI Simultaneously

2017-05-15 Thread rj-ib-23
Hello All I understand that The CTS and RTS pins of UART 4 are used in the HDMI Virtual Cape. I wanted to check if it is possible to use UART 4 TX and Rx pins only and also the HDMI Cape simultaneously. I donto have any requirement for the CTS and RTS pins. Will it be possible to customize the

[beagleboard] Using BBBW as Bluetooth SPP device

2017-05-15 Thread fgimbert
Hello! I'm using BBB for a few years now and they are great and I'm fan of these! With BBB, I used to add a external Bluetooth module and to interact with it through a serial port. A mobile application connects to the BBB (the BBB is the salve and waits for connection). With BBBW, I hope to be

Re: [beagleboard] Use UART4 and HDMI Simultaneously

2017-05-15 Thread Robert Nelson
On Mon, May 15, 2017 at 5:58 AM, rj-ib-23 wrote: > Hello All > > I understand that The CTS and RTS pins of UART 4 are used in the HDMI > Virtual Cape. I wanted to check if it is possible to use UART 4 TX and Rx > pins only and also the HDMI Cape simultaneously. I donto have any > requirement for t

[beagleboard] Node-red serial port & Digital I/O control question

2017-05-15 Thread Michael Dalby
Hi All I wondered if somebody can help. I am trying to get a simple serial port to work with Node-Red on a beagleBone Black running Debian 8.7 The raw install of Debian 8.7 for BBB gives me a pre-installed version of Node-red (V0.15.2). This Node-Red image for BBB has a digital I/O library in

Re: [beagleboard] Re: I²C reads on broken out bus #1 always return 0

2017-05-15 Thread 'Torsten K.' via BeagleBoard
Hi Graham, just for reference: The guys who built the motor controller confirmed that they are having trouble with newer kernels on the Raspberry PI, too. https://www.piborg.org/node/2428 They say it's probably a timing issue. And with all the information I collected so far I must assume they

[beagleboard] Re: Development with Eclipse and Remote Debugging

2017-05-15 Thread Clark Sann
I don't yet have a BB but I am doing cross compilation for the RPi. I don't need to chmod and I don't see any reference to chmod on the instructions you linked to ([2]). On my Debian VM I can create the source, compile, copy it to the RPi and execute it from the terminalall in Eclipse. I don

Re: [beagleboard] Use UART4 and HDMI Simultaneously

2017-05-15 Thread Roopak Jada
Thanks Robert, I actually enabled the BB-UART 4 in the uEnv.txt and the HDMI stopped working. Are the CATS,RTS enabled by default ? How do I check which dto is being used ? On May 15, 2017 7:59 PM, "Robert Nelson" wrote: > On Mon, May 15, 2017 at 5:58 AM, rj-ib-23 > wrote: > > Hello All > > >

Re: [beagleboard] Use UART4 and HDMI Simultaneously

2017-05-15 Thread Robert Nelson
On Mon, May 15, 2017 at 11:14 AM, Roopak Jada wrote: > Thanks Robert, > > I actually enabled the BB-UART 4 in the uEnv.txt and the HDMI stopped > working. Are the CATS,RTS enabled by default ? How do I check which dto is > being used ? Well the RTS is in a separate overlay: https://github.com/be

Re: [beagleboard] Re: I²C reads on broken out bus #1 always return 0

2017-05-15 Thread Graham Haddock
What part number PIC? --- Graham == On Mon, May 15, 2017 at 9:36 AM, 'Torsten K.' via BeagleBoard < beagleboard@googlegroups.com> wrote: > Hi Graham, > > just for reference: The guys who built the motor controller confirmed that > they are having trouble with newer kernels on the Raspberry PI, t

Re: [beagleboard] Re: I²C reads on broken out bus #1 always return 0

2017-05-15 Thread Graham Haddock
When they say drop the clock speed on the bus, I am sure they mean to drop it down to 50kbps or 10 kbps, and see if it starts working. As a diagnostic, that would be strong indication of a timing problem in the PIC software. If they are using the PIC hardware peripheral, then it is totally I2C com

Re: [beagleboard] Re: I²C reads on broken out bus #1 always return 0

2017-05-15 Thread 'Torsten K.' via BeagleBoard
Hi Graham, Am Montag, 15. Mai 2017 18:39:10 UTC+2 schrieb Graham: > > When they say drop the clock speed on the bus, I am sure they mean to drop > it down to 50kbps or 10 kbps, and see if it starts working. > As a diagnostic, that would be strong indication of a timing problem in > the PIC softw

[beagleboard] Re: Development with Eclipse and Remote Debugging

2017-05-15 Thread Mark A. Yoder
Clark: A lot has happened in 7 years. I've moved from Eclipse on the host to running Cloud 9 on the Bone. It's as easy as pointing the browser on your host to http://192.168.7.2:3000 and Cloud 9 appears. The Bone is fast enough for the small (and some not so small) compiles that I do. My f

Re: [beagleboard] Re: Development with Eclipse and Remote Debugging

2017-05-15 Thread William Hermans
There are many way to build a development environment. Me, I just compile on the beaglebone directly, and if I need anything "big" compiled, I have an ODROID XU4 - Octa core 2G ram. I've only ever needed to use a debugger once, and not for these platforms. If I did however, I'd use gdb, and perhap

[beagleboard] mpg123 1.20.1 crashes getting sample rate (FORMAT command)

2017-05-15 Thread ags
I am building an interface to mpg123 from another application using the Remote command interface. I have observed that if the FORMAT command is issued to get the audio sample rate (e.g. 44100) after a file is loaded but before starting playback, the mpg123 process will crash when playback is st

[beagleboard] Re: Explanation of PRU Programming in C

2017-05-15 Thread Clark Sann
Hi Joseph Nice writeup. You did a good job of explaining a complex topic...at least it seems complex to me. I have however found a possible error. Shouldn't you be referring to the DEFAULT_INC value rather than the CMP_INC value in your description? -- For more options, visit http://beagleboa

[beagleboard] Re: I2S Audio on the BBB

2017-05-15 Thread ags
I'm also interested as I have a project where I will interface directly to the I2S/McASP interface. Did you figure it out? On Tuesday, January 3, 2017 at 8:57:29 AM UTC-8, Graham wrote: > > I spent most of the weekend down in the rabbit-hole, trying to get a > CircuitCo Rev_B Audio cape to work,

Re: [beagleboard] Re: Explanation of PRU Programming in C

2017-05-15 Thread William Hermans
Also very glad you chose to demonstrate this using UIO, instead of remote_proc. On Mon, May 15, 2017 at 6:26 PM, William Hermans wrote: > > > On Wed, Apr 26, 2017 at 1:02 AM, Joseph Heller > wrote: > >> Updated link: http://catch22.eu/beaglebone/beaglebone-pru-c/ >> > > I may have mentioned thi

Re: [beagleboard] Re: Explanation of PRU Programming in C

2017-05-15 Thread William Hermans
On Wed, Apr 26, 2017 at 1:02 AM, Joseph Heller wrote: > Updated link: http://catch22.eu/beaglebone/beaglebone-pru-c/ > I may have mentioned this before, but I think blinking a USR LED would be far more useful. Nothing to hook up, and worry about blowing the pins on the processor, etc. However, t

Re: [beagleboard] How to start gathering CAN frames using candump from within browser

2017-05-15 Thread William Hermans
Well, here is a guide that I wrote a bit over a year and a half ago, which I had forgotten: http://www.embeddedhobbyist.com/2015/09/linux-can-development/ I'm not sure how useful that would be for your overall application, but it'll show you how to setup the socketCAN can-utils stuff. On Sun, May

[beagleboard] Re: I2S Audio on the BBB

2017-05-15 Thread Graham
Yes, I was able to get a CircuitCo Rev.B Audio cape running, using the I2S/McASP interface. I'll write it up for you, if you are interested. If you are going to use a different CODEC or other device on the I2S/McASP interface, you will need to see if a driver already exists for it, or if it fits

[beagleboard] Re: Realtek USB Wifi problems

2017-05-15 Thread 'Barry Day' via BeagleBoard
On Sunday, May 14, 2017 at 5:02:47 AM UTC+10, acheesehead wrote: > > I have a BBB running Angstrom 3.8.13. I have a Realtek USB Wifi, lsusb > shows > Bus 002 Device 004: ID 0bda:818b Realtek Semiconductor Corp. > > > That's an 8192eu, not an 8192cu -- For more options, visit http://beagleboar

[beagleboard] Re: watchdog messages clutter up serial console

2017-05-15 Thread 'Barry Day' via BeagleBoard
Try raising your console log level. I usually have my set to - # echo 3 4 1 7 > /proc/sys/kernel/printk -- 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 a

[beagleboard] Re: Explanation of PRU Programming in C

2017-05-15 Thread Joseph Heller
On Tuesday, May 16, 2017 at 1:01:55 AM UTC+2, Clark Sann wrote: > > Hi Joseph > > Nice writeup. You did a good job of explaining a complex topic...at least > it seems complex to me. I have however found a possible error. > > Shouldn't you be referring to the DEFAULT_INC value rather than the > CM