Hi, I am new to this group. Following is a code I tried from Derek Malloy's
videos, to read the gpio pin values. When I run this program I get
"Segmentation fault". I can't make out how it happens. Can anybody help me
out?
#include
#include
#define MAX 128
int readButton(int);
int main()
{
Yes "%s" was the culprit. Changed to "%c".
Thank you all, I didn't expect this huge participation in this forum.
On Sunday, 16 March 2014 22:16:17 UTC+5:30, Dave Hylands wrote:
>
> Hi,
>
>
> On Sun, Mar 16, 2014 at 8:52 AM, milkyway
> > wrote:
&
The proble was %s, %c works perfect.
Thank you all
On Sunday, 16 March 2014 21:22:13 UTC+5:30, milkyway wrote:
>
> Hi, I am new to this group. Following is a code I tried from Derek
> Malloy's videos, to read the gpio pin values. When I run this program I get
> "Segmen
Hi,
I am using BeagleBoard Rev C3, running ubuntu 11.10.
# uname -a
Linux localhost.localdomain 3.0.0-12-omap #20-Ubuntu Fri Oct 7 14:58:13 UTC
2011 armv7l armv7l armv7l GNU/Linux
My serial connection is me giving junk characters, so I set up the ssh
through usb0. But the problem is, in order t
I am new to beagle baord. I have a doubt here. Please help.
In the following line
pinconf[0x217c/4] = pinconf[0x217c/4] & 0x | 0x0004; //
gpio_149
Why do you need the division inside the pinconf array for indexing?
On Wednesday, 7 December 2011 20:26:08 UTC+5:30, dl4mea wrote:
>
>
he address is in bytes and pinconf is an array of integers, which are
> 4 bytes long.
>
> j.
>
>
> On Wed, Apr 2, 2014 at 8:02 AM, milkyway >
> wrote:
> > I am new to beagle baord. I have a doubt here. Please help.
> >
> > In the following
Got it. Here it says
--
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...@goog
>
> On Thu, Apr 3, 2014 at 5:24 AM, milkyway >
> wrote:
> > Thanks. In the following line it has been chosen 0x0004 to write in
> to
> > the configuration register.
> > pinconf[0x217c/4] = pinconf[0x217c/4] & 0x | 0x0004; //
> > gpio
Hi Mark,
It would be helpful if you could share the code to get PWM correctly?
On Tuesday, 26 July 2011 00:32:53 UTC+5:30, Mark A. Yoder wrote:
>
> I've gotten PWM running on the Beagle [1], but I'm only seeing about 4MHz
> out. It could be the ringing caused by my poor wiring is masking the
>
Hello everyone,
I have been using my BBB without any problem for quite a long time. But,
suddenly the BBB stopped booting up from eMMC. When I connect the board via
USB, the power LED lits, and all the 4 user leds turns on for a few seconds
and goes off, except the LED_0, it is doing its heart
I am using BeagleBoard Rev C3 running Ubuntu 11.04. I need to use an i2c
sensor, for my project. By default, i2c-2 channel is disable by the OS,
which is available in the expansion header. Is it possible to use the i2c-2
channel without recompiling the kernel? Please give me your suggestions.
Hi
> I am using BeagleBoard Rev C3 runnign Ubuntu. I need to rebuild the kernel
> in order to enable the i2c-2 channel. So I did the following changes to
> 'arch/arm/mach-omap2/board-omap3beagle.c' file.
>
a) in omap3_beagle_i2c_init(), added:
omap_register_i2c_bus(2, 400, NULL, 0);
b) in bo
I installed ubuntu 13.10 for my BeagleBoard Rev-C3 and I am not able to
connect the board to internet
But when I tried to compile on c-program
ubuntu@arm:~$ gcc test.c
-bash: gcc: command not found
which gcc gives no result.
ubuntu@arm:~$ which gcc
ubuntu@arm:~$
A search for gcc gives
ubu
>
> On Wed, May 28, 2014 at 8:14 AM, milkyway >
> wrote:
> > I installed ubuntu 13.10 for my BeagleBoard Rev-C3 and I am not able to
> > connect the board to internet
> >
> > But when I tried to compile on c-program
> >
> > ubuntu@arm:~$ gcc tes
14 matches
Mail list logo