Actions

BeagleBone

From PROBOTIX :: wiki

Revision as of 07:29, 13 September 2013 by Admin (Talk | contribs)

BeagleBone Black

Getting Started

BeagleBone Black Info

Bone 101

Working with Git

http://alistapart.com/article/get-started-with-git

http://git-scm.com/book/ch2-5.html

http://nvie.com/posts/a-successful-git-branching-model/

Working with Device Trees

http://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree/device-tree-overlays

https://docs.google.com/document/d/17P54kZkZO_-JtTjrFuVz-Cp_RMMg7GB_8W9JK9sLKfA/pub

http://blog.inbedded.net/blog/2013/06/02/beaglebone-black-and-lcd-equals-fun/

pins.txt

https://github.com/selsinork/beaglebone-black-pinmux/blob/master/pinmux.ods

Programmable Realtime Unit (PRU)

http://blog.boxysean.com/2012/08/12/first-steps-with-the-beaglebone-pru/

C++ Programming

http://circuitco.com/support/index.php?title=C/C%2B%2B_Programming

Machine Kit

https://github.com/cdsteinkuehler/MachineKit

http://bb-lcnc.blogspot.com/2013/07/adding-homelimit-switches.html

> > # P9.31 GPIO3_14 > setp [PRUCONF](DRIVER).stepgen.00.steppin 0x8E > > What does that mean? Where is 0x8E coming from?

The value above is given meaning by the PRU code, which uses the kernel numbering scheme, but offset by one so that 0x00 (the default value for all HAL signals) means don't do anything. The details are:

GPIO Pin Value: value = 32 * ( <GPIO_bank> + 1 ) + bit

PRU Direct Output Bits: value = 32 * (4 + 1 ) + bit = 160 + bit = 0xA0 + bit

So 0x8E = 142 = (32 * 4) + 14 = GPIO bank 3, bit 14




BeagleBone Black Dimensions

sudo -A su -c "echo BB-BLACK-LCNC-PBX-BB > /sys/devices/bone_capemgr.*/slots"

cat /sys/devices/bone_capemgr*/slots

sudo vim /boot/uboot/uEnv.txt

echo BB-BLACK-LCNC-PBX-BB >/sys/devices/bone_capemgr*/slots

watch --differences dmesg | tail

tail -f /var/log/messages