[beagleboard] Re: GPIO dev/mem (mmap) on Beaglebone

2014-06-16 Thread jstampfl
I cannot get this mmap to work. I think you left out a few steps. For example what is the overlay you used for the DT? On Friday, December 6, 2013 7:48:18 AM UTC+8, anuv...@gmail.com wrote: check this out: http://chiragnagpal.github.io/examples.html I have explained how to use /dev/mmap

[beagleboard] Re: where is omap! Beagle Bone Black rev C [HMC5883L 3-axis digital compass help]

2014-06-16 Thread jstampfl
Look at HMC5883L, C programming on the Adafruit BBB forum On Sunday, June 15, 2014 9:25:45 AM UTC+8, Swazoo Claybon wrote: So I have been trying to interface a digital compass (Sainsmart 3-Axis Digital Compass IC HMC5883L)*. *In order to do so I have been learning about I2C devices and

[beagleboard] Re: GPIO dev/mem (mmap) on Beaglebone

2014-06-16 Thread jstampfl
Now working. Just operator error. Plugged into the wrong header. I will share what I have: overlay file Modified from BB-GPIOHELP-00A0.dts for just P9.12. * * Copyright (C) 2013 Pantelis Antoniou pa...@antoniou-consulting.com * * This program is free software; you can redistribute it and/or

[beagleboard] Re: RFC: Universal Device Tree

2014-06-29 Thread jstampfl
Comment on PRUSS support: in the Current (just downloaded June 30): /* P9_30 (ZCZ ball D12) */ (...) P9_30_pruout_pin: pinmux_P9_30_pruout_pin { pinctrl-single,pins = 0x198 0x25; }; /* Mode 5, Pull-Down, RxActive */ P9_30_pruin_pin:

[beagleboard] debian-7.5-console-armhf-2014-07-06.tar.xz

2014-07-10 Thread jstampfl
Looking at the directions to install: I am not sure where to copy this download to begin the install. I have a rev A5 BBB with the standard Angstrom software and a 8GB SD card with the ...7.5-2014-5-14... release installed. I want to leave the Angstrom in place and install the 07-06 Debian on

Re: [beagleboard] debian-7.5-console-armhf-2014-07-06.tar.xz

2014-07-11 Thread jstampfl
Ok, use -dtb beaglebone (but that has the wrong conf_board setting. Also, I am not clear if I should copy the download to the Debian release on my SD card and execute there. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

[beagleboard] CYCLE counter to time pulse w/ HC-SR04

2014-07-12 Thread jstampfl
Here is an example of using the PRUSS cycle counter to time a pulse. Files at: github.org/jstampfl/Prutimer here is the PRUSS code: / pt.p // To get the echo pulse on pin P8 15. // assemble: pasm -v3 -b pt.p (could be pasm_2 if you follow directions .setcallreg r29.w0 // Going to use r31

[beagleboard] PRUSS uart to read from ADAFRUIT Ultimate GPS

2014-07-15 Thread jstampfl
Example of reading data with PRUSS Uart. Full code at: https://github.com/jstampfl/Pruuart / pu.p V1 // Use PRUSS uart to read data from ADAFRUIT Ultimate GPS // reads data to nl, put in buffer and signal linux side. .setcallreg r2.w0 // Going to use r31 for interrupt .origin 0 .entrypoint TB

[beagleboard] PRUSS Uart write function added

2014-07-15 Thread jstampfl
Code at: https://github.com/jstampfl/Pruuart -- 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

[beagleboard] Re: PRUSS uart to read from ADAFRUIT Ultimate GPS

2014-07-15 Thread jstampfl
PRUSS Uart write function added. -- 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] Re: question about uart

2014-07-17 Thread jstampfl
Go to the Adafruit forum and search for Ultimate GPS, C programming example to connect the Adafruit GPS to the BBB -- 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

[beagleboard] 2014-07-16/lxde/bone-debian-7.6-lxde-armhf-2014-07-16-4gb - devicetree not loading

2014-07-18 Thread jstampfl
From ID.txt: BeagleBoard.org BeagleBone Debian Image 2014-07-16 I am unable to load .dtbo files: I have installed on 8GB microSDcard, modified the uEnv.txt file to boot from the SDcard. Hardware: BBB A5 from dmesg: [ 0.00] Kernel command line: console=tty0 console=ttyO0,115200n8

Re: [beagleboard] 2014-07-16/lxde/bone-debian-7.6-lxde-armhf-2014-07-16-4gb - devicetree not loading

2014-07-18 Thread jstampfl
thanks, works great. I think this is better than editing the uEnv.txt file. Thanks for all your good work. -- 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

Re: [beagleboard] eMMC pins on P8 question about section 8.1.2 of Rev C.1 reference manual

2014-07-18 Thread jstampfl
GPIO1_[0-5] show up as mode 1 in the pins file. -- 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

Re: [beagleboard] eMMC pins on P8 question about section 8.1.2 of Rev C.1 reference manual

2014-07-18 Thread jstampfl
From the BBB wiki page: Onboard HDMI The onboard HDMI driver uses the LCD pins. They are still connected to the expansion header, but in some cases, they could cause an LCD cape to have some noise issues unless the cape has a buffer. A buffer should take care of this issue. If you want to

[beagleboard] Re: Are there any PRU scratch pad examples (or source) out there?

2014-07-19 Thread jstampfl
Kent: 1. Can you share some code showing PRU0 - PRU1 interrupts? 2. Did you get the XIN/XOUT transfers between PRUs to work, can you share the code? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups

[beagleboard] PRU Uart read using Rx interrupt

2014-07-21 Thread jstampfl
I have modified my earlier read program to use interrupts from the PRU Uart to the PRU. See the Code at:https://github.com/jstampfl/PruUart_Int The program for the PRU depends on the C program to do some of the initialization of the PRU interrupts. The PRU code initializes the Uart Rx

[beagleboard] PRU IEP Timer to time pulse from HC-SR04

2014-07-22 Thread jstampfl
This example repeats the Prutimer example that used the cycle counter. This example uses the IEP timer. Code at: https://github.com/jstampfl/Prutimer_IEP / pi.p // To get the echo pulse on pin P8 15. // assemble: pasm -v3 -b pt.p(could be pasm_2 if you follow directions

[beagleboard] PRU IEP interrupt example

2014-07-24 Thread jstampfl
Full code at: https://github.com/jstampfl/PruIEP_Int Also for example of using PRU IEP see: https://github.com/cdsteinkuehler/linuxcnc/blob/MachineKit-ubc/configs/ARM/PRU-Debugger/pruexample.p Here is the p code: //iepx.p - set up IEP interrupt on CMP0 hitting compare value

[beagleboard] Re: PRU IEP interrupt example

2014-07-25 Thread jstampfl
Added example using two compare match interrupts to toggle the pin. CMP0 match sends interrupt and resets the counter. CMP1 match sends an interrupt. Full code at: https://github.com/jstampfl/PruIEP_Int -- For more options, visit http://beagleboard.org/discuss --- You received

[beagleboard] PRU eCAP timer with interrupt example

2014-08-01 Thread jstampfl
The example is similar to the IEP example. Uses the local eCAP timer. https://github.com/jstampfl/PruECAP_Int The PRU local timers are: the Cycle counter. The IEP timer and the eCAP timer. The IEP and eCAP timers have compare registers and can generate various interrupts. -- For more

Re: [beagleboard] customize cap-universal-00A0.dts

2014-08-08 Thread jstampfl
I have prepared cape-univ-hdmi-00A0.dts , but I don't know how to indicate that it is available. ie. a git push request? It is in my local copy of beaglebone-universal-io. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

[beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread jstampfl
You said you couldn't add the microSD card - did you follow the instructions at: http://elinux.org/Beagleboard:MicroSD_As_Extra_Storage Actually, you can format the microSD card on another machine (I used windows xp). Then put the uEnv.txt file in partition 0. I you just formated the 32GB as

Re: [beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread jstampfl
Check your mount options. -- 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] 3.8.13-bone64 dd_mpu: 925 -- 1325 mV at 1100 mV

2014-09-09 Thread jstampfl
I am unable to connect from my PC to the BBB via USB. Using the 2MG Console, running on SDcard. Noticed the power from dmesg. [0.00] Linux version 3.8.13-bone64 (root@a5-imx6q-wandboard-2gb) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Thu Aug 21 21:24:58 UTC 2014 [0.00]

[beagleboard] Re: Beagle Bone Black PRU Cape

2014-09-11 Thread jstampfl
More info at: http://www.ti.com/lit/ug/tidu426/tidu426.pdf -- 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

[beagleboard] BBB A6 B running slow, C ok

2014-09-11 Thread jstampfl
From dmesg: A6 - Debian bone 60 - vdd-mpu 1100 mV, Bogomips 545 B - Debian bone 60 - vdd-mpu 1100 mV, Bogomips 545 C - Debian bone 60 - vdd-mpu 1325 mV, Bogomips 993 Also: A6 - Angstrom 3.8.13 - vdd-mpu 1100 mV, Bogomips 545 B - Angstrom 3.8.13 - vdd-mpu 1100 mV, Bogomips 545 C -