**** BEGIN LOGGING AT Sun Apr 05 02:59:58 2015 Apr 05 03:01:10 anyone with a CSR account? Apr 05 03:01:23 trying to find spi docs for the CSR8630 Apr 05 03:01:25 :/ Apr 05 03:35:56 Hey, sorry about that! If you're still out there, I got it figured out. It was not the power supply, but the microSD card. I bought a fresh one, re-imaged it with the same image, and was able to boot without a kernel panic. Thanks for your help earlier GenTooMan Apr 05 05:52:03 Anyone out there familiar with BTLE? I've got a BT Dongle (That supports LE) and I need to read advertisement packets, and my Google-fu is failing me Apr 05 05:52:52 And the sensor I was given has basically no documentation Apr 05 05:54:12 Amperture: hcitool should help Apr 05 05:54:48 hcitool lescan Apr 05 05:54:48 I've gotten as far as turning on hcidump while running hcitool scan Apr 05 05:54:54 Sorry lescan Apr 05 05:55:11 I think I'm getting packet reads. Apr 05 05:55:55 Problem is I'm looking at standard Advertisement Packet protocol online Apr 05 05:56:00 i don't think so. those are the beacons that are there around you. Apr 05 05:56:01 and these packets don't quite look like that Apr 05 05:56:32 lescan only gives me one MAC address Apr 05 05:56:42 wrote a blog post some days ago : http://blog.revealinghour.in/bluetooh-low-energy/2014/06/05/bluetooth-low-energy-on-beaglebone-black/ Apr 05 05:56:45 Which is very clearly the device I'm testing Apr 05 05:57:18 once you get that you have to use gattool Apr 05 05:57:23 gatttool Apr 05 05:58:10 What little documentation I read about the sensor is that there is no need for actual connection, they output the data on advertisement Apr 05 05:58:48 Amperture: so it's using the iBeacon 'mode' so to speak Apr 05 05:58:59 I believe so. Apr 05 05:59:25 The module is designed to be read by a provided app on android and iOS. Apr 05 06:01:44 Amperture: http://stackoverflow.com/questions/21733228/can-raspberrypi-with-ble-dongle-detect-ibeacons the answer on this so post should do the trick. the sensor values will be transmitted using the major and minor values (which are basically the user editable values) Apr 05 06:02:17 apart from that it'll have the transmission power, RSSI, etc. but those things are read only (obv) Apr 05 06:02:41 hcitool --duplicates Apr 05 06:02:50 that may be exactly what I'm looking for Apr 05 06:02:53 hang on Apr 05 06:03:39 Boom, okay Apr 05 06:03:44 constant read Apr 05 06:05:09 Huh, that's interesting Apr 05 06:05:37 I just noticed that the device is sending its own MAC addr as a packet Apr 05 06:05:42 err, IN the packet Apr 05 06:05:44 but backwards Apr 05 06:06:19 that's ibeacon for you Apr 05 06:06:38 http://stackoverflow.com/questions/18906988/what-is-the-ibeacon-bluetooth-profile Apr 05 06:06:53 Amperture: if it follows the exact ibeacon format, that's how it should be Apr 05 06:08:49 Alright, potty break, then back to work, I think you may have set me on the path, anujdeshpande, thanks for your time, though I may be coming back soon Apr 05 06:09:28 * anujdeshpande will wait for his thanks-for-helping beer Apr 05 06:26:39 Looks like there's supposed to be 6 bytes before the MAC Apr 05 06:27:06 on proper iBeacons, but there's 7 on this device Apr 05 08:10:32 Hello Apr 05 08:10:42 hi Apr 05 08:10:49 I need help writing a bonescript program to read data from a sensor Apr 05 08:10:58 heh... i need help too :P Apr 05 08:11:20 The sensor is an Allen Bradley RightSight sensor that detects proximity of an object Apr 05 08:11:34 except i need help with figuring out how to deal with the mux setting for the GPIO ports written in C code.. Apr 05 08:11:53 I have it attached to a PWM port, but now I am stuck in trying to read data from it Apr 05 08:12:03 I tried using Cloud IDE with a program but nothing happens Apr 05 08:12:51 mmm... dont the PWM ports just output? Woudlnt you need to connect the input part up to a different port...? Apr 05 08:14:12 Oh, yes. But how do I go about doing that? Apr 05 08:14:38 why do you have a sensor hooked up to a PWM port...? I thought those were for outputting pwm signals... dont you need something like a 5v out to power the sensor and then the input from the sensor comming into a different port? Apr 05 08:15:35 ahh... well i'm not familiar with the specific sensor you are using but isnt there some sort of connection manual stating which wires are for power and which are for sending data to your BBB? Apr 05 08:16:39 Well, the connector is of a servo type so it has red, black, and white. I attached the red and black ones to a an external battery and I have the white one currently connected to a PWM. Where should I connect it for input? Apr 05 08:17:29 oh goodnes... you probably want to get your hands on a breadboard and some electronic components... the BBB has pretty specific voltage and current limits on its ports... Apr 05 08:17:51 3.3v is the max in I think and about 6mA is the max current in Apr 05 08:18:20 the board CAN power stuff itself though, it may need the ac adaptor to be hooked up though, dunno if the usb can power enough Apr 05 08:18:38 http://exploringbeaglebone.com/ <- the book by that guy is really good and goes into a lot of this in detial Apr 05 08:18:41 *detail Apr 05 08:19:28 um... the pwm pin can probably be set to BE a GPIO port, and then it just need to be set to the "in" direction but you need to fiddle with the MUX settings. Apr 05 08:19:36 I believe mode 7 is the gpio mode Apr 05 08:19:38 I am using a breadboard. To clarify, the actual sensor is being powered by the battery. The board is connected and powered by USB. The board is connected to the sensor via a PWM port. Apr 05 08:20:57 my groupmate is the one who did all of the electronics for our project so I'm not too familiar with the wiring... Apr 05 08:21:29 first you'd need to figure out the signal characteristics of that sensor of yours Apr 05 08:21:45 does the signal go high or low, or does it need a pullup, etc Apr 05 08:22:40 Um, I'm not quite sure. This is my first time using a sensor. Here's the datasheet for it: http://ab.rockwellautomation.com/Sensors-Switches/General-Purpose-Photoelectric-Sensors/RightSight-Sensors Apr 05 08:23:00 Where can I find the signal characteristic of the sensor? Apr 05 08:24:01 is anyone able to point me to some info regarding setting the pin mux settings in a C code program? Apr 05 08:25:24 http://literature.rockwellautomation.com/idc/groups/literature/documents/in/42ef-in003_-en-p.pdf Apr 05 08:29:13 Also, does anyone have a link or other info regarding accessing the GPIO ports in C without needing to open and read from each file? need to deal with quadrature encoders and the file method seems really clunky... Apr 05 08:29:53 sodajet: you'll have to learn some bits about electronics. we can't hand hold you through everything. Apr 05 08:30:18 sodajet: I'd suggest to take a multimeter and measure what the sensor does on its output pins Apr 05 08:51:54 Wasn't able to detect a consistent voltage on the output pins Apr 05 08:54:26 from your sensor? Apr 05 08:54:46 thats probably because a changing voltage is what produces the signal you are sensing... Apr 05 08:55:13 that probably means you need to hook it up as an analog input to be able to read in the actual voltage Apr 05 08:55:43 take a look at the beaglebone's system reference manual Apr 05 08:56:04 and be super careful never to exceed 1.8V on the ADC pins Apr 05 08:56:49 hello Apr 05 08:56:53 hi Apr 05 08:57:00 lo Apr 05 08:57:19 does anyone have problems with Mageia Linux ? Apr 05 08:57:30 only ever used Debian Apr 05 08:57:40 so.. no, never had problems with that XD Apr 05 08:58:09 SnyperBunny: thank you, i think i will use Debian or parabola Apr 05 08:58:52 you dont happen to know how to set the beaglebone's pin mux setting using a C program do you...? Apr 05 09:15:24 i just love our TI publishes Datasheets and then removes sections Apr 05 10:03:51 mrpackethead: is it better than not publishing at all, though? Apr 05 10:27:03 how to clean gpio used? thank you Apr 05 10:47:15 can every gpio works like pwm as in raspberry pi? thank you Apr 05 10:49:57 not every gpio. For details read the SystemReferenceManual Apr 05 10:58:56 tbr: yep i read it i know where pwm is found , but there is no tech to work with other gpio as pwm Apr 05 11:47:42 tbr: here? Apr 05 11:47:58 I have debian 8.0 by RCN-ee on my BBB Apr 05 11:48:27 I can't connect to it via a ethernet over usb, but I do see a ttyACM0 device Apr 05 11:48:49 I tried to minicom/ckermet to that device and see no login Apr 05 11:49:21 I guess I will connect a screen and keyboard and debug my program Apr 05 11:49:45 nivw: which OS do you have in your Computer? Apr 05 11:49:54 ubuntu 14.10 Apr 05 11:50:13 I will then enable the ethernet over usb gdget Apr 05 11:50:31 but this ttyACM0 should have worked.... Apr 05 11:52:03 no idea Apr 05 11:52:05 nivw: i have the same issue with magiea , but after doing ifconfid ethx up , it worked Apr 05 11:52:12 Mageia* Apr 05 11:52:46 many have asked about this here, I only recently have this issue Apr 05 11:53:48 jamesaxl: run lsusb on your computer.do you see your BBB ? Apr 05 11:53:53 I don't Apr 05 11:54:03 hey guys I was wondering if there are any good tutorials or resources on using pwm with the 3.14.33 kernel now that the device tree overlays have changed Apr 05 11:54:38 nivw: of course i can see it, have tried the shell script ? Apr 05 11:55:07 how will a shell script cause the BBB to appear in lsubs? Apr 05 11:55:11 how will a shell script cause the BBB to appear in lsusb? Apr 05 12:21:15 nivw: then i do not know about you issue, try another OS , if it works you have to complain In unbuntu bugs page Apr 05 12:21:50 which shell script do you mean? Apr 05 12:31:57 nivw: mkudevrule.sh Apr 05 12:33:09 this script is only helpfull in case the BBB is serving ethernet over USB Apr 05 12:33:29 has anyone been using pwm and gpio with the latest 3.14.33 kernel? I can not find any solid information to help me get pwm and gpio going Apr 05 12:33:55 it mobprode ftdi_sio is lsusb senses the BBB connected Apr 05 12:35:46 s/is/if/ Apr 05 12:48:00 yay florain Apr 05 12:48:23 can you help me with connecting to ttyACM0 deom my ubuntu laptop to the BBB? Apr 05 12:48:54 lsusb does not show the BBB, but dmesg does show ttyACM0 appear when I plug the BBB Apr 05 12:49:23 is gpio 21 pwm ? Apr 05 13:42:17 i wonder why gpio 42 does not work with servo motor in opposition 14 and 22 work well Apr 05 13:53:33 Hello, default booting off of sd card for BBB, I was trying to go through many forums, but have not found any info how to actually do that. Is out there some info how to do that? Mostly people are cryptic about it on forums. Attempt to search for answers is pretty nicely interfering with replacing image on eMMC from SD card... Apr 05 13:57:59 i feel sad angey gpio 42 does not work as pwm Apr 05 13:58:04 again* Apr 05 14:16:15 i am a newbie in kernel programming..but really interested in h/w s/w interface..how should i start kernel programming with BBB ??? Apr 05 14:16:42 like a newbie task or how to go through bugs that will help in familiarizing !! Apr 05 14:18:14 i went through the bugs tracker in http://elinux.org/Beagleboard:Main_Page but didn't get much :( Apr 05 14:27:26 vine: do you have the debug UART wired up? Apr 05 14:28:05 tbr: do u mean usb-serial cable ?? Apr 05 14:28:15 i have it .. Apr 05 14:31:57 vine: yes, that's important if you plan to work with the kernel Apr 05 14:33:09 so how should i start ?? can u help me with this ?? plss !! Apr 05 14:33:44 have you successfully built a kernel for the BBB yet? Apr 05 14:38:10 i went through the process..so its getting ready :) ... Apr 05 14:38:47 meanwhile i thought that i should ask here for further process.. Apr 05 14:42:19 you could consider the eudyptula challenge, if you are interested in contributing to kernel.org Apr 05 14:45:05 tbr: i tried to mail at "eudyptula-challenge.org" Apr 05 14:45:21 but it shows that there is some problem with this :( Apr 05 14:47:50 says that email address is not recognized ...:/ Apr 05 14:54:15 sounds like you typed it wrong Apr 05 14:54:23 it worked for me a while ago Apr 05 14:54:38 tbr: my mistake..got it done :) Apr 05 14:54:46 thanx :) Apr 05 15:49:55 hi guys i noticed that when i attemtped to boot one of my beaglebone blacks it has a kernel panic on a microsd card that works fine on the other. is this a bootloader issue? Apr 05 16:00:21 what sort of panic? are you using uboot from emmc or from sd? Apr 05 16:13:31 tbr, im booting from microsd i only assume uboot could be the difference. this is a beaglebone black that ethernet suddenly stopped working on as well. not sure if that has any bearing Apr 05 16:14:23 mistawright: are you 100% sure that it's uboot from sd-card and not the emmc uboot that finds the sd-card? Apr 05 16:16:09 tbr, I was wondering if that was the case as well. Could i boot into the emmc and update u-boot? not sure if there is script in /opt to update the uboot Apr 05 16:16:56 mistawright: try by forcing boot off sd. hold down the button and then attach power to the board Apr 05 16:19:55 tbr, ive tried that as well thinking forcing it would fix the issue. I can try to get the output from screen as it boots. Apr 05 16:24:18 tbr, this is what happens when i attempt to boot Apr 05 16:25:18 http://pastebin.com/rhfyNuZs Apr 05 16:33:47 mistawright: it blows up with an davinci_mdio error, that's consistent with you saying ethernet is broken. Apr 05 16:35:06 im not sure what caused the ethernet to stop working after working fine for ages. after flashing the emmc about a week ago i started to have to issues Apr 05 16:35:23 i flashed the ubuntu 14.04.2 console img to the emmc Apr 05 16:36:46 try reflashing the emmc with a known good debian image? (not that it should matter) Apr 05 16:37:53 thats what i have been trying to do. maybe i need to use an older image. i tried with debian images and get that issue with the failed boot Apr 05 16:38:29 try powering up with boot button? Apr 05 16:39:08 im updating the emmc kernel now hoping that the uenv update may help. will try with another emmc image once its updated Apr 05 16:39:08 mistawright: out of curiosity, cco or e14 board? Apr 05 16:39:18 circuitco Apr 05 16:39:53 i didn't have a serial console up, but flashing wasn't working for me trying to go back to older u-boot (angstrom flash) after updating Apr 05 16:43:31 no such luck with the kernel update. looks like this board could be dedicated to ardupilot. espicially with the messed up ethernet port at this point Apr 05 17:59:41 i begin to discover beaglebone black :) Apr 05 18:00:12 node file.js is better then nodejs file.js :) Apr 05 18:22:08 Hi guys Apr 05 18:22:40 the prussdrv in the github is out of date (doesn't have prussdrv_start_irqthread) so I downloaded the source from the TI svn. Do I also have to build the kernel module from that svn? Apr 05 18:23:21 I am trying to compile kernel for BBB and getting this error make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage-dtb.am335x-boneblack LOADADDR=0x80008000 -j4 . i got the following error make: *** No rule to make target `uImage-dtb.am335x-boneblack'. Stop. Apr 05 18:23:52 any solution will be helpful Apr 05 18:33:25 manish: where'd you get that compile line from? that target doesn't seem to make much sense Apr 05 18:33:50 uImage is kinda outdated anyhow? Apr 05 18:36:48 zmatt : Thanks for response, I got the answer. I am following this link http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel Apr 05 18:37:27 zmatt : earliar link was this http://elinux.org/Building_BBB_Kernel Apr 05 18:38:00 is there any benefit to switching from angstrom to debian (other than that is what they are shipping now?) Apr 05 18:38:41 manish: I don't see what you typed in the first link... Apr 05 18:39:32 manish: nor in the second Apr 05 18:39:49 oh right, the second does, weird Apr 05 18:40:24 maybe that's a legacy concatenated kernel+dtb image? Apr 05 18:40:30 zmatt : I was following second link but now following the first one that solved my problem Apr 05 18:41:05 I don't understand why they build an uImage rather than zImage though Apr 05 18:41:53 ah, that's why, hm Apr 05 18:43:00 the rcn-ee build script builds a zImage, but has instructions in comments on how to build uImage "if you really really want a uImage" Apr 05 18:49:53 lol, someone on E2E who wants to capture a 200 MHz signal via GPIO Apr 05 18:52:41 ah, older u-boot requires uImage (used with "bootm" command), newer u-boot also supports zImage (with "bootz" command) Apr 05 18:54:16 yes Apr 05 20:05:07 I'm having a heck of a time getting GPIO to the PRU. I am using this DTO: http://pastebin.com/NXCXszvR -- here are the slots: http://pastebin.com/QS2xS5WN -- here is my ASM: http://pastebin.com/G8Bg47xK -- and the ARM C: http://pastebin.com/SgrYaadv --- whether p8-11 is attached to DGND or 3.3v, I still see "execution done!". If i make the jump in the ASM unconditional, then I don't see that message. Apr 05 20:07:41 Please consider the asm line changed to: QBBS TODO, r30, 15 with no effect Apr 05 21:06:06 does anyone know what is required for me to run a qt application on bb black. i can't figure out exactly what I need to install. running debian (no x) and everytime i sftp over the test program, i can't figure out how to test it Apr 05 21:08:18 i though i needed a qt5-embedded package, but apt-cache and apt-get can't find or install this, and trying to execute fails "cannot execute binary file" Apr 05 21:09:47 i think this is close to what i need: https://forum.qt.io/topic/43418/problem-cross-compiling-qt-for-beaglebone-black-running-debian/2, but i'm too new to be able to take that information and put it to work. Apr 05 21:38:38 Hi, anybody who knows how to set booting from sd card as default? Apr 05 21:46:36 <_av500_> kill MLO on the emmc Apr 05 21:46:44 <_av500_> and it will revert to SD Apr 05 21:46:52 <_av500_> or tape the button down Apr 05 22:17:06 the boot button is tested only during power up, so during reset it would still load from eMMC? Apr 05 22:17:40 I presume, that deleting MLO file is avoiding this issue, right? Apr 05 22:57:18 what's the preferred kernel for best usb/network performance? Apr 05 22:57:48 For a BBB, that is. Apr 05 23:05:37 anyone know of a gui development tutorial using debian? I can't seem to get the tools set up (Qt is what i've been trying for 2 days now, without any luck) Apr 05 23:56:56 i wonder , why doesn't pwm 42 work sometimes ? Apr 06 00:19:25 i ran my problem , it took 1 min to makeservo motor work, i am using pwm 9_42 but with 9_14 worked well Apr 06 01:50:31 can someone help me with installing the NTP software on the debian wheezy image for the beaglebone black? Apr 06 01:51:03 There seem to be issues with the network-manager dependencies that an 'apt-get -f install' cannot resolve **** ENDING LOGGING AT Mon Apr 06 02:59:58 2015