beagleboneblack

Running simple winforms application on Mono for ARM

≡放荡痞女 提交于 2019-12-29 08:32:12
问题 I am currently trying to set up an environment in which I can create winform applications with Visual Studio 2013 that I then want to put on an ARM v7 BeagleBone Black with an attached touchscreen where they are supposed to run with Mono. In order to do so, I took a Ubuntu 14.10 AMD64 system and created a cross-compile environment with the BeagleBone Black's toolchain and scratchbox2. I verified that the toolchain an sb2 work correctly by compiling some native test programs with it, they do

Executing a script on startup using BeagleBone Black

拜拜、爱过 提交于 2019-12-29 04:24:45
问题 I have an a.out which I want to run when my BeagleBone boots up. It is actually a socket server which I want to start as soon as the BeagleBone powers up. I tried to put this in /etc/init.d , but it didn't help. I wrote a shell script to run this executable but even that did not help. What can I do to make a script run as soon as it boots up? 回答1: It took me quite some time to figure this out, but with lots of research, I finally found what I was looking for. Compile the required code. Create

Error while unmounting mmcblk1p1 on beaglebone black - during repartitioning and formatting

久未见 提交于 2019-12-25 19:09:48
问题 Hi I'm a newbie of embeded linux. I'm following this tutorial (https://e2e.ti.com/support/embedded/linux/f/354/t/398780?Script-to-Erase-Emmc-independently-Beagle-Bone-Black) for flashing my linux system to beaglebone eMMC. But I have an error: umount: can't umount /dev/mmcblk1p1: Invalid argument This is my cmd : Disk /dev/mmcblk1: 3825 MB, 3825205248 bytes 4 heads, 16 sectors/track, 116736 cylinders Units = cylinders of 64 * 512 = 32768 bytes Device Boot Start End Blocks Id System /dev

Changing the static IP of Beagle Bone Black USB0 [closed]

两盒软妹~` 提交于 2019-12-25 07:42:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . My goal is to change the IP address of USB0 . The Beagle Bone Black run Debian. I tryed to change /etc/network/interfaces such that default address is 192.168.7.3 instead of 192.168.7.2 as this: iface usb0 inet static address 192.168.7.3 netmask 255.255.255.0 network 192.168.7.0 gateway 192.168.7.1 After running

Adafruit_BBIO.ADC.setup() on ubuntu 16.04.1 error

孤街浪徒 提交于 2019-12-25 04:12:18
问题 I installed the Adafruit_BBIO module on my BBB (I downloaded it from github and installed manually). The GPIO works just fine but when I try to use the ADC I get an error as follows: import Adafruit_BBIO.ADC as ADC ADC.setup() The error: Traceback (most recent call last): File "<stdin>", line 1, in <module> RuntimeError: Unable to setup ADC system. Possible causes are: - A cape with a conflicting pin mapping is loaded - A device tree object is loaded that uses the same name for a fragment:

beaglebone GPIO3_13 (aka GPIO109) not exposed on P8 or P9?

陌路散爱 提交于 2019-12-24 19:23:03
问题 I have run into some problem controlling usb1' power. as I investigated from "https://e2e.ti.com/support/arm/sitara_arm/f/791/t/270060" It tells me that GPIO3_13 controls usb1_drvvbus pin, which controls the usb power. I understand that there is software method to change the voltage of this pin. My question is that where is GPIO3_13 located on P8 or P9 expansion bays? I cannot find it on any diagrams. Is it purposefully not exposed anywhere? 回答1: You can control USB1 power from software on

Integrate readings from a 3 axis Gyroscope?

狂风中的少年 提交于 2019-12-24 17:26:24
问题 So I have written a program in C to print values of 3 axis gyro at a very high data rate. The values are instantaneous values of angular speed that rise on movement and fall if the device is still. I need it to hold the high values and come back to zero when returned to position. If I integrate the values over a fixed sample time, would I achieve this? How do I go about integrating? I am a beginner in C programming. Thank you 回答1: Angular velocity is: ω = Δφ/Δt = (φ n − φ n−1 )/(t n − t n−1 )

Root permission to configure UART1 in Beaglebone [closed]

北战南征 提交于 2019-12-24 14:16:38
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I use a Beaglebone black, which runs on Android, in a project I work. I need to use UART1. As I understand I have to configure the MODE of UART1. It must be MODE0. I can do it via adb with these command: echo 20 > /sys/kernel/debug/omap_mux/uart1_rxd echo 0 > /sys/kernel/debug/omap_mux/uart1_txd Everything works

how to compile blacklib (c++)

时光怂恿深爱的人放手 提交于 2019-12-24 11:54:01
问题 I am running a beaglebone and want to write a program to sample the ADC. I am trying to use the blacklib (http://blacklib.yigityuce.com/index.html) from here. I cloned the git: https://github.com/yigityuce/BlackLib and tried to compile the example with g++ exampleAndTiming.cpp -std=c++11 This however gives me a ton of errors like these: In file included from exampleAndTiming.cpp:33:0: exampleAndTiming/exampleAndTiming_GPIO.h: In function 'void exampleAndTiming_GPIO()': exampleAndTiming

BeagleBone boot to Qt app with touch screen

无人久伴 提交于 2019-12-24 01:47:17
问题 As many other person, I want to have a Qt application that run directly when the BeagleBone Black boot. Using the answers from other topics like these: Beaglebone Boot to Qt App ; Start QT Application on bootup on an Embedded Linux Device (Beaglebone Black) I have a BeagleBone Black revC with Angstrom 2012-09-12. I achieved to get my application to start on boot with the following service setup: "autoShow.service" [Unit] Description=Autorun Qt app ConditionFileIsExecutable=/home/root