**** BEGIN LOGGING AT Tue Aug 15 03:00:02 2017 Aug 15 04:41:33 hey Aug 15 04:43:30 hey hey hey Aug 15 04:44:40 where to start documentation Aug 15 04:45:28 I have completed multi axis with lm-35 using arduino Aug 15 04:45:38 for testing delay measurement Aug 15 04:46:08 what should be the rate of sampling ?? Aug 15 05:07:54 as fast as needed,,, too fast and not enough processing Aug 15 05:08:04 too slow and you lose resolution Aug 15 05:13:03 and I currently in c program for capturing, delays for 2 sec , and then enables pwm, and collects 2400 samples for each channel, and Aug 15 05:14:35 but since the sampling data is in byte , I first make hexdump in python and then store them in array Aug 15 05:15:11 is there more obvious way that I might be missing here, like a method where I may not have to do hexdump Aug 15 05:33:54 hexdump? Aug 15 05:35:10 the samples transferred from PRU to main memory is in binary form Aug 15 05:37:40 right Aug 15 05:37:47 so how are you reading it in your C code? Aug 15 06:24:14 it gets stored in buffer, in binary form, the transfer is done using function Aug 15 06:24:15 memcpy , that copies the data from location specified, this is the reason I think may be it is in binary form Aug 15 06:25:21 okay. Aug 15 06:25:29 why not cast it to the right type Aug 15 06:25:47 let's assume your buffer is unsigned char *buf; Aug 15 06:26:18 Assuming it is suitably aligned, you can read it as 16 bit by doing something like (unsigned short *)buf Aug 15 06:26:41 or as 32bit - (unsigned int *)buf Aug 15 06:28:12 and since we are talking abt alignment here, in python program , I had to discard first byte as always as many times I observed it caused the samples to be reverse, hence messing up the values Aug 15 06:28:31 but now I guess with bytes there might not be such prob Aug 15 06:28:42 as memcpy stores data byte by byte Aug 15 06:35:43 *nod* all it takes is one lost byte to do that Aug 15 06:37:20 you can also do something with unions Aug 15 14:13:20 ravikp7: how's progress the last couple of days? Aug 15 14:15:28 jkridner: the app can now perform flashing with decompressed image, I tested it on linux and OSX Aug 15 14:15:43 decompressed or compressed? Aug 15 14:17:20 jkridner: uncompressed .img image Aug 15 14:19:18 jkridner: you can try it https://github.com/ravikp7/BeagleBoot Aug 15 14:20:26 jkridner: just need to add support for Windows, complete settings, about page and fix some bugs Aug 15 14:23:55 jkridner: etcher team don't provide standalone module for image-stream for now, so can't get it working for compressed images for now. only possible after etcher-sdk release Aug 15 14:25:28 jkridner: I've used the two modules provided by etcher the drivelist and etcher-image-write Aug 15 14:25:56 jkridner: sudo-prompt works fine in the app Aug 15 14:27:09 jkridner: I run an ipc server from the main app process, fork a script from it which self elevates itself by starting a new elevated process and run an ipc client Aug 15 14:28:31 jkridner: The ipc server from main process sends the script to run to the ipc client running in the elevated process Aug 15 14:29:16 jkridner: the scripts that need elevation are lib/usbMassStorage.js and lib/imageWrite.js Aug 15 14:29:50 jkridner: the script that self elevates itself is lib/elevate.js Aug 15 14:31:03 jkidner: the ipc server runs from src/app/components/mainPage.js , will be shifting it to main parent component to fix a bug related to UI Aug 15 14:34:19 jkridner: the ipc client from elevated script spwans the script asked by server and sends its stdout and stderr to the server, which reflects it into the UI Aug 15 14:37:03 the image write is twice as fast in linux than OSX, took 30 min on linux and 1 hr on mac, will report this to etcher team Aug 15 16:05:43 I thought Aug 15 16:05:52 I thought you'd already had decompressed iages working. Aug 15 16:36:22 jkridner: just had a chat with etcher developer, he suggested to use an unmaintained image-stream module https://github.com/resin-io-modules/etcher-image-stream for now, trying that if it works for our case, won't take long to add Aug 15 16:36:39 cool Aug 15 17:12:12 thetransformerr[: not sure what hours you tend to be here, nerdboy was kind of vague Aug 15 17:13:33 hi !! can I get back to you around 6:00 am(IST) or 6 pm around your time Aug 15 17:13:51 hm how about later? Aug 15 17:14:35 sorry jus for today, I would be available at any time you say Aug 15 17:14:52 and discuss our final progress and goals stuff Aug 15 17:15:02 so just for today not available 10ish? Aug 15 17:15:50 I'll be at work still @ 6 Aug 15 17:16:41 yeah of course any time you say except today which is going to be over for me in 1 hour and 15 minutes I guess Aug 15 17:16:47 you could drop me a quick email at 6 and then meet up this time tomorrow (not sure if I'll get online in time for much of the official meeting) Aug 15 17:17:27 maybe based on the email I'll know what to look at tonight, and give you feedback... Aug 15 17:17:31 okk as you say , thnks again Aug 15 17:17:53 welcome, ttyl Aug 15 17:52:09 jkridner: app can now flash compressed images also :) Aug 15 17:52:19 sweet! Aug 15 17:52:36 next step in that regards, stream from https://beagleboard.org/latest-images. :-) Aug 15 17:54:15 sure :) Aug 15 17:59:52 jkridner: if you get time, please take a look into changing the usb configs for spl. So that we can get windows support as well Aug 15 18:00:33 k, I'll put that above some of my demo and library work, but after some of this testing work. **** ENDING LOGGING AT Wed Aug 16 03:00:00 2017