beagleboard

SSH Beaglebone via ethernet port or Host USB

ぐ巨炮叔叔 提交于 2019-12-02 02:48:07
I am still new to Beagle-bone black and was having fun until the USB device jack through which I used to SSH accidentally detached from the Beagle-Bone black. I am having a hard time getting the USB device jack (USB mini A/B type) soldered back to its place. That has forced me to look for other options to SSH device listed below. 1.) Ethernet cable. I tried to SSH at the default address 192.168.7.2 and port 22 by connecting a LAN cable from my PC to Beagle-Bone but it didn't work. Any inputs on this would be really helpful. 2.) USB device. I though haven't tried to SSH by connecting a Male USB

ARM v5 shared library (ftd2xx) on ARM v7 platform - hard vs soft float issue

岁酱吖の 提交于 2019-11-29 04:39:54
I need to run a program that uses ftd2xx on my BeagleBoard xM rev C running Ubuntu 12.04. I am trying to use the ARM library libftd2xx.so provided here . libFTDI is not an option. The difference that I noticed comes from running readelf -hA on libftd2xx.so vs other libraries on the BeagleBoard that work. The arch-specific section gives OS name as "ARM926EF-S" for ftd2xx instead of "7-A" for other libraries and CPU_arch as "v5TEJ" instead of "v7". I'm assuming this means that the library is meant for the ARM v5 instruction set, and the BeagleBoard is running ARM v7. Is there some way to get

How do I convert a floating point C code to fixed point?

心已入冬 提交于 2019-11-28 19:41:22
I have a C code which uses doubles. I want to be able to run the code on a DSP ( TMS320 ). But the DSP doesn't support doubles, only fixed-point numbers. What is the best way to convert the code into fixed-point? Is there a good C library for fixed-point numbers (implemented as integers)? TI provides a fixed-point library called "IQmath": http://focus.ti.com/lit/sw/sprc990/sprc990.pdf Converting involves analyzing your current code - for each variable you need to know what range it can hold, and what precision it needs. Then you can decide which type to store it in. IQMath provides types from

set-up X11 Forwarding over ssh

和自甴很熟 提交于 2019-11-28 19:35:23
I'm attempting to set up x11 forwarding to monitor video on an embedded robotics platform yet I cannot seem to get the board to generate graphical output. I'm running Arch Linux on a Beagleboard xM wired directly over ethernet (though, I plan to use WiFi in the future). When I try to set the DISPLAY variable it will accept it but when I attempt to run an x11 application is says: (Object:287): Gtk-WARNING **: cannot open display: [displaynamehere] obviously [displaynamehere] was whatever I tried to set as the display, yet no display location seemed to work. What's weird is that whenever I

Creating a Gatt Server?

青春壹個敷衍的年華 提交于 2019-11-28 17:55:45
I have a wider range question here, so if someone could point me to a doc or article that could explain this, that would suffice. Needless to say, a days worth of googling has gotten me nowhere, and I could use a helping hand. I am connecting to a BeagleBoard with BlueZ 5.9, and my intent is to: Create a Gatt server, Load it up with some writeable attributes, and Advertise that server to connect to an android device. I've created the Android app that will connect and operate as the central, rendering 3 basically complete. I don't know how the commands - the literal things to type - to initiate

Beagleboard bare metal programming

半腔热情 提交于 2019-11-28 15:59:58
I just got my BeagleBoard-Xm and I'm wondering if there is any detailed step by step tutorials on how to get a very simple bare metal software running on the hardware? The reason I ask is I want to deeply understand how the hardware architecture works, everything from the bootloader, linkers, interrupts, exceptions, MMU etc. I figured the best way is to get a simple hello world program to execute on the beagleboard xm without an OS. Nothing advanced, just start up the board and get a "hello world" output on the screen. thats it! The next step would be getting an tiny OS to run, that can

Configuring Pins Mode Beaglebone

妖精的绣舞 提交于 2019-11-28 10:25:46
In the beagleboard or beaglebone are different modes to work the pin. With the previous kernel they are located in /sys/kernel/debug/omap_mux. Do u know with the last Kernel where are those files? I found many of the examples provided at hipstercircuits to be a bit overwhelming; especially if you're just looking to adjust the pins to mode 7. If anyone reading this is having the same issue, the following link may help: http://bbbadventures.blogspot.ca/2013/06/pinmuxing.html It provides the most basic template. Should the link above break, here's the snippet provided (with a few tweaks for

How to run custom kernel on beaglebone?

我的梦境 提交于 2019-11-28 02:17:43
I am starting kernel or operating system programming for beaglebone with TI - AM3359 SoC. I have written an assembly program to write some characters to the serial interface (just to start off with) and i want to run this as kernel on beaglebone, just like linux kernel. what is the linking address for my program? and How to boot it from u-boot by default? I don't want to get into u boot programming and want to use the available u-boot which came with angstrom distribution along with the BBone. Any help is appreciated. Thanks I have written an assembly program to write some characters to the

Compile GCC with Code Sourcery

99封情书 提交于 2019-11-28 00:29:21
Is it possible to compile native GCC for ARM (host == target == ARM) using Code Sourcery G++? If it is not possible, could I use crosstool-NG to build the cross-compile and then using this one for compiling the native ARM GCC? Thank you, Edit: as to why: I'm creating my own distro for beagleboard ... CodeSourcery provides prebuilt toolchains only for Linux/x86 and Windows (see "Host System Requirements" here ). If you want a native ARM-hosted toolchain, you should be able to build one using a cross-compiler. If you want a prebuilt one, you can try some of the existing ARM distros such as

How do I convert a floating point C code to fixed point?

大兔子大兔子 提交于 2019-11-27 20:36:09
问题 I have a C code which uses doubles. I want to be able to run the code on a DSP (TMS320). But the DSP doesn't support doubles, only fixed-point numbers. What is the best way to convert the code into fixed-point? Is there a good C library for fixed-point numbers (implemented as integers)? 回答1: TI provides a fixed-point library called "IQmath": http://focus.ti.com/lit/sw/sprc990/sprc990.pdf Converting involves analyzing your current code - for each variable you need to know what range it can