**** BEGIN LOGGING AT Mon Nov 17 03:00:00 2014 Nov 17 04:17:22 Hi All.. Nov 17 04:17:53 A potential user of beagleboard.. Nov 17 04:17:59 Need some advice.. Nov 17 04:18:29 Don't. next question?! :p Nov 17 04:18:57 nvm Nov 17 04:19:16 Hi Veremit.. Nov 17 04:19:35 Are you a common user..? Nov 17 04:19:41 Or a moderator..? Nov 17 04:19:52 I'm just common :D Nov 17 04:20:06 Oh okie cool.. Nov 17 04:20:12 mods have an @ Nov 17 04:20:37 So, veremit, do you own a beagleboard..? Nov 17 04:20:42 I do Nov 17 04:20:57 runs a few bits and bobs here Nov 17 04:20:59 Any idea on how's the after sales support works..? Nov 17 04:21:09 ha. Nov 17 04:21:12 hahaha. Nov 17 04:21:14 what are you looking for? Nov 17 04:21:23 after-sales support. Nov 17 04:21:25 the 'support' is online and what limited help is here. Nov 17 04:21:42 but this isn't a production unit. Nov 17 04:21:49 there is no 'support contract' Nov 17 04:22:35 okie.. Nov 17 04:23:01 I know it's a community owned by TI.. Nov 17 04:23:07 in fact.. you're mostly on your own .. unless you believe your board has a fault, and needs to be RMA'd Nov 17 04:23:12 But who does supply the board..? Nov 17 04:23:34 offical beagleboards are made by CircuitCo in US Nov 17 04:23:39 What's the RMA about..? Nov 17 04:23:51 beagle-approved are made by Element14/farnell Nov 17 04:24:24 perhaps you should explore http://beagleboard.org a little .. :) Nov 17 04:24:43 Sure.. Nov 17 04:25:11 I did notice there are few channels to download the sourcecode for Android.. Nov 17 04:25:47 Are you a android based user..? Nov 17 04:25:55 linux only Nov 17 04:26:40 Oh okie, any idea which is the correct channel to get the Android sourcecodes, especially the new ones (KitKat)..? Nov 17 04:27:07 :) Nov 17 04:28:06 http://elinux.org/Beagleboard:Android as a starting point Nov 17 04:28:30 http://2net.co.uk/tutorial/android-4.4-beaglebone also Nov 17 04:29:18 or http://2net.co.uk/tutorial/android-4.4-beaglebone-update Nov 17 04:30:21 good luck ! :) Nov 17 04:44:24 Thanks.. Nov 17 04:50:23 aaand sleeptyme .. nite all Nov 17 07:57:18 good morning Nov 17 08:00:42 Guys I am new to embedded linux and the BBB, but maybe you can help me to solve a basic task. I've got an acceleroemter connected via i2c to the BBB, I just want to sample data and the corresponding timestamp and save this into a file onto the micro sd card. Everything works fine but there are timing problems. When I plot my data there are strange jumps so acceleroemter data does not fit to the actual timestamp. Even if I set the samp Nov 17 08:01:39 motzer: well, firstly you need to fix your irc client so it doesn't send overlong messages that get cut off Nov 17 08:01:40 any code snippets ideas or standard solutions ? I think this is a basic problem - collect data via sensor and log them. But google does not help me at all Nov 17 08:02:39 i stopped at .."10Hz" cause I do not want to send something overlong Nov 17 08:02:47 define "strange jumps" Nov 17 08:03:27 motzer: your first message stopped at "even if I set the samp" Nov 17 08:03:56 @ honestly okay i just wrote "even if i set the sample rate down to 10 Hz" Nov 17 08:04:33 @av500 : the plot ist not monoton it seems that an accelerometer value e.g of 5seconds is plottet at an earliere time stamp value Nov 17 08:05:10 it looks like a little kid draws the plot and sometimes it goes backwards Nov 17 08:05:48 your timestamps are monotone, right? Nov 17 08:05:57 how do you obtain the timestamps? Nov 17 08:06:05 It think it is something with timing problems dring the save operation onto the sd card and nearly simultaniouse data acquisition Nov 17 08:06:06 also, have a pic of that plot online? Nov 17 08:06:20 yes give me a minute I will upload one Nov 17 08:06:28 well, you have a lot of RAM, does it get better if you just save to memory? Nov 17 08:06:35 and not to SD Nov 17 08:06:36 for a test Nov 17 08:08:33 give me a second i just make a new plot and up it somwhere Nov 17 08:11:48 http://img4web.com/view/TT6X5Q Nov 17 08:12:33 you can see the main course but these "drawbacks" are wrong Nov 17 08:13:09 i get the time via clock_gettime Nov 17 08:13:27 CLOCK_REALTIME with seconds and nanoseconds as output Nov 17 08:15:13 motzer: could it be this? http://stackoverflow.com/a/20483739/2648865 Nov 17 08:17:18 tbr that is really the first hint after a long time =) i did not call in question these functions Nov 17 08:17:52 because I thought such system kernel stuff should be "good" enough for my purpose Nov 17 08:18:39 I'm sure it is, you still need to use things correctly though. Nov 17 08:18:56 thank you very much tbr I will check it out and is really a logic way to use the function Nov 17 08:19:09 and that nses is set back to 0 after every second Nov 17 08:19:30 i try it and give feedback ;-) Nov 17 08:22:35 motzer: your timestamps should not be non-monotonic Nov 17 08:22:42 so I would say you do something wrong Nov 17 08:24:51 is CLOCK_REALTIME not the right way for this task ? maybe CLOCK_MONOTONIC is the right way ? Nov 17 08:26:35 sorry disconnect Nov 17 08:27:15 dont know what cam through bevor I was kicked out - So what do you use to realize a timestamp on the beaglebone under linux ? Nov 17 08:27:50 this isn't particularly specific to the BBB Nov 17 08:28:18 I usually use localtime() Nov 17 08:28:24 it is more about the requirements of your timestamping and the answer is probably in the documentation of that function you are using Nov 17 08:28:54 logging time in very small increments is nothing new on linux Nov 17 08:29:59 yes okay Humpelstilzchen but seconds as max resolution is not enough for sampling my accelerometer I would be happy with 10Hz or even better if possible Nov 17 08:30:26 motzer_2: I use CLOCK_MONOTONIC Nov 17 08:30:40 motzer_2: you should definitely use clock_monotonic instead of _realtime Nov 17 08:30:41 tbr so there is no easy going standard way just use this time variable and go on you have to make some workaround - ClOCK_MONOTONIC will be my next try Nov 17 08:31:07 av500: honestly okay I will have a look at it Nov 17 08:31:08 motzer_2: I use CLOCK_MONOTONIC and I convert it down to milliseconds Nov 17 08:31:24 why workaround? it's about reading and understanding documentation and matching it to your requirements. Nov 17 08:31:33 motzer_2: gettimeofday? Nov 17 08:32:44 Humpelstilzchen: maybe here is the same problem like with CLOCK_REALTIME Nov 17 08:33:56 motzer_2: Have you checked man timerfd_create? Nov 17 08:37:36 Humpelstilzchen: sounds good I will check both - first I try clock_monotonic in my code an if there are still problems I try a timer file Nov 17 08:38:05 thanks until now enough ideas and help for me to go on and try again some stuff =) Nov 17 08:38:20 motzer_2: the reference to the man page was for the difference in clocks Nov 17 08:46:29 hi Nov 17 08:46:31 Humpelstilzchen: which reference ? Nov 17 08:47:17 so with CLOCK_MONOTONIC i get the same issue without adjusting my code I thing you have to handle the reset of nanoseconds in some way Nov 17 09:28:04 hi everyone Nov 17 09:29:25 I have a question concerning the SYS_RESETn signal of the beaglebone black. Nov 17 09:29:33 It is said "Do not drive any external signals into the I/O pins until after the SYS_RESETn signal is HI (3.3V)." Nov 17 09:29:34 so ask Nov 17 09:30:03 My quesition is : If I drive a signal to 0V, is it ok or not ? Nov 17 09:30:14 no. Nov 17 09:30:15 Or it has to be in high impedance ? Nov 17 09:30:23 yes Nov 17 09:30:31 ok thks :) Nov 17 09:30:38 can u tell me the reason for that ? Nov 17 09:30:45 the BBB needs to set up its I/Os ? Nov 17 09:31:34 its the CPU itself Nov 17 09:31:49 yes, the IO Port Controllers need to be initialised to a safe default state before it is safe to connect any signals to it. Nov 17 09:31:50 so you would need to ask the TI silicon desing team Nov 17 09:32:09 most likely nothing bad will happen, but it "could" happen Nov 17 09:32:12 so better safe than sorry Nov 17 09:32:19 a connection to ground can cause a short or overcurrent just as well as a connection to some high voltage Nov 17 09:32:39 if something happens, you cannot blame TI as they told you not to Nov 17 09:32:41 av500: having used a couple of arm-based MCUs... pads can and do blow out Nov 17 09:32:46 sire Nov 17 09:32:48 sure Nov 17 09:33:07 even if you think you're doing everything correctly Nov 17 09:33:17 OTOH I am touching prototype PCBs for years with my bear hands and nothing happened :) Nov 17 09:33:25 *g* Nov 17 09:33:30 :) Nov 17 09:33:34 ok thks Nov 17 09:33:37 av500: what does the bear think of that? Nov 17 09:33:42 well, I dropped one once and that killed a BGA ball Nov 17 09:33:51 stupid BGA Nov 17 09:34:48 I should actually consider that in the design of the system I'm building... Nov 17 09:34:51 * av500 is also driving 3.3V serial into 1.8 UARTs for years Nov 17 09:35:01 do not drive it low either Nov 17 09:35:17 even with a serial resistance ? Nov 17 09:35:23 no Nov 17 09:35:28 I don't see what is the issue with that Nov 17 09:35:38 =/ Nov 17 09:35:42 if you have a signal, qualify it with a tristate buffer using the sys reset line Nov 17 09:35:49 av500 try to drive 5V Nov 17 09:35:58 easier to drop that in then to debug why things don't work. Nov 17 09:36:05 serial R might work too Nov 17 09:36:13 if thats ok with your rise times Nov 17 09:36:17 yes I was thinking of doing that, but wanted to be sure Nov 17 09:36:25 woglinde: send me a board Nov 17 09:36:32 there are plenty of fast buffers Nov 17 09:36:34 no I will leave now Nov 17 09:36:44 thks everyone ! Nov 17 09:36:54 cheap insurance Nov 17 09:37:02 have a nice day Nov 17 09:37:03 grandpas: also, there is a difference between making a commercial board Nov 17 09:37:10 and making a one-off hobby schematic Nov 17 09:37:21 one should always design properly Nov 17 09:37:28 no excuse for half-ass crap ever Nov 17 09:37:30 lalalala Nov 17 09:37:34 I cannot hear you Nov 17 09:37:44 now fixing a prototype at the last second...that's a different story :D Nov 17 09:37:46 ...or making one that has to tolerate completely unbuffered vibrations/shocks from driving on an asphalt circuit... Nov 17 09:38:04 we used to use spring-loaded fuse casings Nov 17 09:38:31 and then wondered why the damn thing turned off every time we drove over the same spot on the course Nov 17 09:38:35 is that why the Gen8's had "interesting" behaviors? :D heheh Nov 17 09:38:44 ds2: :) Nov 17 09:39:08 ds2: ALL the wirse bridges Nov 17 09:39:11 wire* Nov 17 09:39:37 design is different from implementation Nov 17 09:40:03 "if you have to be sloppy, be sloppy during implementation, not design"? Nov 17 09:40:08 if you cut corners at the design state, you might are cutting out options later Nov 17 09:40:37 it's far easier to leave a component out and bridge it than it is to bodge it in without a spot for it on the board Nov 17 09:40:38 something like that. you will make mistakes, design in ways to fix them ;) Nov 17 09:43:11 most of the inputs in the stuff I'm working on drives an optocoupler and the optocoupler drives the input pad Nov 17 09:43:26 would be fairly easy to put the reset line in front of that Nov 17 09:47:22 thanks guys it works now I use CLOCK_MONOTONIC_RAW and just handel the issue that nanoseconds get reseted every second but the digits do not last so there seems to be a jump back but in reality there is no jump =) Nov 17 09:48:10 yes... of course nanoseconds get reset every second Nov 17 09:48:27 the time is seconds + nanoseconds Nov 17 09:49:15 what do you mean by jump Nov 17 14:28:53 Hello :) Nov 17 14:29:10 I have a assive problem with the BeagleBone Black (Rev C) Nov 17 14:29:23 (sorry for my poor English) i'm french Nov 17 14:30:10 i have update the BBB to Debian Jessie, and i don't have capemgr folders.... Nov 17 14:30:52 like /sys/devices/bone_capemgr.9/ Nov 17 14:31:42 so i cannot use the Mikrobus Cape... Nov 17 14:35:47 you can still use capes Nov 17 14:36:02 you just need to create a new DT file that includes your cape stuff Nov 17 14:36:13 this is also the generic linux way of using DT for now Nov 17 14:36:28 av500: do you have a tutorial for create a DT for MikrobusCape ? Nov 17 14:36:34 or just a DT :) Nov 17 14:36:54 (thank you for your answer) Nov 17 14:37:18 no Nov 17 14:37:23 but google knows about DT Nov 17 14:38:24 ok thanks :) Nov 17 14:44:27 av500: a DT file have an extension like .dts or .dtbo ? Nov 17 14:44:52 .dts Nov 17 14:45:27 ok thanks hitlin37 Nov 17 14:47:34 the b in dtb is for binary Nov 17 14:52:38 and o is for octal? Nov 17 14:56:12 more likely "o"verlay Nov 17 14:56:41 "o"h Nov 17 18:19:22 I am looking for a way to live stream captured data from a rlt-sdr to a local server. My BBB is running ubuntu 14.04. Any ideas? Nov 17 18:19:52 kamileon: tried rtp_tcp? Nov 17 18:20:10 rtl_tcp Nov 17 18:21:17 no I havent Nov 17 20:14:20 dt's are nontrivial Nov 17 20:14:38 though i found this helpful http://www.youtube.com/watch?v=m_NyYEBxfn8 Nov 17 20:16:00 so, is cape manager officially dead now? Nov 17 20:16:29 is current best practices that changes shouldn't be made at runtime, everything needs to be in compiled dt's and rebooted? i'm not clear on the status. Nov 17 21:02:05 hi vvu Nov 17 21:02:28 best to chat here or in a channel on google chrome. Nov 17 21:02:41 * jkridner wonders what channel google chrome is discussed. Nov 17 21:02:58 have no clue about that Nov 17 21:03:12 when i look into it I was at https://developer.chrome.com/apps/usb#method-requestAccess Nov 17 21:03:22 but they changed this as I can see, maybe we have access now Nov 17 21:05:23 I read that function was only for Chromebooks. Nov 17 21:05:37 yes, maybe now they included it into all platforms Nov 17 21:05:40 right now, my app (https://github.com/jadonk/beagleboot) doesn't get any devices. :( Nov 17 21:06:04 their device-info app finds several, but not the Bone's boot ROM. Nov 17 21:06:28 device-info app (https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/usb/device-info) also doesn't find several other devices, like the built-in webcam on my macbook air. Nov 17 21:06:59 jkridner: that is what i was saying, some devices are taken by the OS and chrome does not let you get them back from the OS Nov 17 21:07:03 I'm not sure if it matters if is part of the background app or an active page (don't know terminology) Nov 17 21:07:12 oh. :( Nov 17 21:07:23 it does not matter, anyway chrome uses libusb in the background Nov 17 21:08:06 so that is why I was saying to use NaCl, we just implement everything in C using libusb and make the connections to the js in the webpage Nov 17 21:11:13 k. I was looking forward to just implementing everything in .js :-) Nov 17 21:11:50 nop Nov 17 21:12:06 just a bit of js but again moar C Nov 17 21:13:53 * vvu hates multiplatform stuff Nov 17 21:15:06 jkridner: can you add me as a colaborator to the repo and I will start the NaCl work Nov 17 21:15:26 why not just fork and send pull requests? Nov 17 21:15:44 dat tru Nov 17 21:16:44 vvu: like the Cryptolib NaCl ? Nov 17 21:17:06 * jbdatko is curious Nov 17 21:17:46 jbdatko: nop, https://support.google.com/chrome/answer/1647344?hl=en Nov 17 21:18:09 Oh, native client… was all excited there for a second Nov 17 21:18:30 * jbdatko goes back to his regularly scheduled programming Nov 17 21:49:05 vvu: I'm checking out some of the stuff at https://gist.github.com/davidkelley/9002267 and preparing a post to https://groups.google.com/a/chromium.org/forum/#!newtopic/chromium-os-dev Nov 17 21:50:08 vvu: make sure you have https://github.com/jadonk/beagleboot/commit/9db5e5dd9d00b3828212be2429276a03ff23c630 Nov 17 21:51:19 any news on the Arduino tre yet jkridner? Nov 17 21:51:27 nope Nov 17 21:51:48 thats gonna be very cool Nov 17 21:51:58 is there any timeline besides "Soon"(tm0 Nov 17 21:52:00 (tm) Nov 17 22:55:08 Hi, is there any image with Ubuntu GUI for XM? Nov 17 22:55:32 would it be too slow? Nov 17 22:57:21 the XM is not a desktop pc Nov 17 22:58:09 slow yes, available probably, up to date, dunno Nov 17 22:59:09 the xM at least had hardware video support something the bbb doesn't have Nov 17 23:01:26 I was evaluating the possibility of using it like a portable device for slide presentations Nov 17 23:01:53 it's probably not a good idea Nov 17 23:03:45 get a cheap laptop or tablet :) Nov 17 23:03:49 there are probably better devices for that, cheaper if you're not prototyping something Nov 17 23:04:27 yes, that was the first idea Nov 17 23:04:49 I'll probaly use the XM to host a simple website Nov 17 23:05:31 selling it would probably be not a reasonable deal Nov 17 23:06:01 since it is much expensive and worst than the Black Nov 17 23:09:59 ok, thanks Nov 17 23:38:01 clear Nov 17 23:38:15 hello Nov 17 23:56:44 jkridner: so no luck with usb api :( Nov 18 00:09:21 yeah, guess this just isn't possible to do reasonably. so irritated. Nov 18 00:14:56 jkridner: yep...now i am not even sure nacl works fully Nov 18 00:27:49 * jkridner wants to kick the ROM code developers. Nov 18 00:32:17 jkridner: well you have @ti.com email :) can argue there a bit Nov 18 00:33:13 uh, as an intern, didn't you get an @ti.com e-mail? Nov 18 00:33:25 yeah but was canceled at the end Nov 18 00:33:29 guess you don't feel so inclined to kick them? Nov 18 00:33:47 i was inclied to kick people from code composer studio more than those ROM peeps **** ENDING LOGGING AT Tue Nov 18 02:59:59 2014