**** BEGIN LOGGING AT Thu May 19 02:59:59 2016 May 19 05:00:22 nerdboy: you know, it could be worth it to see if it's feasible to use the change in wavelength instead of time of flight. May 19 05:06:15 if it's possible to measure the wavelength well enough - and generate it regularly enough - it seems like it should work. wouldn't need to worry about clocks, nor knowing the speed of sound rather well May 19 05:07:53 how steady is the oscillator and how fast can you digitize the signal? May 19 05:08:39 got a scope you can use when you have a transducer? May 19 05:08:55 unfortunately not May 19 05:09:14 you'd need to digitize both tx/rx at the same time May 19 05:10:51 yeah, that doesn't seem like much of a problem though May 19 05:11:15 do ffts and compare peaks i guess May 19 05:55:40 er, it doesn't actually get me out from under the speed of sound though, does it May 19 06:25:21 nope May 19 06:45:45 at least naively it seems like it might be reasonable on the oscillator front. digikey has a number of 32kHz ones with errors at +-5 ppm. off the cuff calcs throw that kind of error in the thousandths of a m/s range May 19 07:46:23 Random aside catching up with meeting yesterday - remember on licensing you can add licence options at any time as long as you have agreement from all copyright holders (so don't worry if you mess up initial choices ;) May 19 15:55:41 hey bradfa,are you there? May 19 18:09:02 hey foreverska! are you there? May 19 18:09:47 hey mdp! Are you there? May 19 18:10:19 hi chanakya_vc May 19 18:10:57 mdp, hey! I am having a lot of problems with TI CCS. May 19 18:11:13 mdp,Could you suggest any other alternative? May 19 18:11:28 hrm, I would recommend avoiding CCS and using command line tools May 19 18:12:26 mdp,Ohh like what?Zeekhuge had once told me about something called PRU code generation tools. May 19 18:13:17 But I have no idea whatsoever about it. I haven't gotten my dev environment set up till now :( May 19 18:14:21 Hey ZeekHuge ! May 19 18:14:33 Hey chanakya_vc ! how was your exam ? May 19 18:14:38 chanakya_vc: download at http://software-dl.ti.com/codegen/non-esd/downloads/download.htm#PRU May 19 18:15:15 It was good.Electromagnetics. I did screw up a bit on one of the Maxwells equation though ;) May 19 18:15:24 okay mdp May 19 18:15:32 Zeekhuge ^^ May 19 18:16:25 So mdp,I download the one for ARM-A8? and then scp it? May 19 18:16:30 chanakya_vc: E&M class? May 19 18:16:34 Okay cool ! as i remember, the notations just change May 19 18:16:35 To BBB? May 19 18:16:46 chanakya_vc: you'll want the Linux version to run on your host..normally May 19 18:17:15 the ARM version is if you want to build and deploy from the beaglebone May 19 18:17:52 ds2, Yes. One of the toughest subjects I have known in my engineering course so far. But I love it the most.Just pure unadulterated mathematics :) May 19 18:18:09 Okay mdp,I will get the linux version May 19 18:18:36 also, the manuals are linked there..grab a copy of both assembler/compiler for reference May 19 18:18:42 and rest is mostly some v. good application of the basic principles that we have already learned in 12th May 19 18:18:53 chanakya_vc: heh... what dept is this class under? I had to take that class under Physics (Required by school) and under EE (required by major) May 19 18:19:15 Yea I tried to use CCS to debug pru yesterday after work. Nearly had an aneurism. May 19 18:19:34 we are both from the Electronics and telecommunication dept. May 19 18:19:38 ds2: ^^ May 19 18:19:53 somewhat similar to EE I guess May 19 18:19:56 For me it is just communications : ) : ) May 19 18:20:30 and I never had classes on processor buses, I just learned that from working on 8051 it. May 19 18:21:16 ZeekHuge: lucky.... I wish the depts talked to each other. one dept wanted to use MKS units, the other wanted to use CGS units and the equations looked different :/ May 19 18:21:28 ds2,Zeekhuge, Yes. Infact it is a subset of EE I guess. I have courses of Electrical engineering like DC machines and Induction motor and what not. May 19 18:21:33 ZeekHuge: gotcha... will keep that in mind when explaining stuff May 19 18:22:11 foreverska, You do understand my pain : ) : ) May 19 18:22:17 joys of school.... May 19 18:22:34 ds2,You majored in EE? May 19 18:22:36 CCS to debug? May 19 18:22:39 eeeek... May 19 18:22:48 chanakya_vc: yep May 19 18:22:57 ds2: just a random question, can a completed GSoC project contribute us much in getting a college for Masters there ? May 19 18:23:11 lol yea chanakya_vc, I got a Pru cape so I could follow along at home but CCS is way too tough to use. May 19 18:23:36 if you could comment on that .. May 19 18:23:40 ds2 ,To start with coding with PRU.Been struggling with it forever. It is veryy difficult to use. May 19 18:23:57 ZeekHuge: I donno... I'd guess it depends on dept/school May 19 18:24:20 and same about internships ? May 19 18:24:21 ds2,Zeekhuge,I think it would. May 19 18:24:29 chanakya_vc: IMO - commandline maybe easier May 19 18:24:44 *Both me and Zeekhuge want to pursue masters from us May 19 18:24:45 chanakya_vc: I used a logic analyzer to debug my previous PRU work May 19 18:25:04 <--- not a GUI person. chanakya_vc, you will need to decided for yourself if GUI is helpful or not May 19 18:25:23 chanakya_vc: I think only TI FAEs use CCS May 19 18:25:24 and the developers May 19 18:25:51 I'm sure they have the guy who wrote it on staff to teach them how to use it though. May 19 18:25:59 ZeekHuge: I cna see it being useful for internship... schools seems to like more theory then practice (FWIW - I didn't go for a masters. wanted more practical aspects May 19 18:26:26 chanakya_vc: why dont you follow https://github.com/ZeekHuge/PRU-framework ? May 19 18:26:43 mdp, Ohh. I just got a logic analyzer .Haven't used it .I will require some help setting up sigrok. May 19 18:26:45 It had some bugs, but i guess i removed them... though they were trivial May 19 18:26:58 to upload your code to pru. May 19 18:27:12 ZeekHuge, Isn't it the thing in python? May 19 18:27:20 not at all ! May 19 18:27:28 I have to look at it. May 19 18:27:30 it completely C May 19 18:27:35 *its May 19 18:27:58 even for the firmware. May 19 18:28:09 ds2, I am a command line guy too.Atleast trying to be one.The beauty of Linux is in the terminal. May 19 18:28:11 chanakya_vc: hi, sorry I missed you earlier May 19 18:28:14 * bradfa reads scroll back May 19 18:28:31 terminal = beauty + power May 19 18:28:37 chanakya_vc: let us know how that goes...many of us use sigrok around here and can help if needed May 19 18:28:39 Hi anybody has any ideas of porting the pru kernel driver for 4.1? May 19 18:28:44 more of the power side . May 19 18:28:58 Hey bradfa,Just talking about how useless TI CCS is and exploring other options. May 19 18:29:29 okay mdp,I will definitely let you know! Thanks for your help! May 19 18:30:02 sigrok is wonderful - even if you can't get half the stuff to work; the other half is flexible enough that you can feed it to a script to get what you need May 19 18:30:38 +1 May 19 18:30:48 ZeekHuge, So this is essentially the Pru code generation thing you were talking about earlier? May 19 18:31:14 generation + uploading . May 19 18:31:25 chanakya_vc, ZeekHuge - you guys have seen the PRU labs, right? May 19 18:31:25 oh ! what kernel version ? May 19 18:31:35 I have ! May 19 18:31:41 long time ago. May 19 18:31:48 about 2-3 months May 19 18:32:13 ds2, Pru labs use CCS, and I am finding it very difficult to comprehend. May 19 18:32:19 : ) : ) May 19 18:32:34 I didnt find the steps there very useful, but the description was definitely useful. May 19 18:33:06 Zeekhuge, Okay so you wrote this yourself or cloned it from somewhere? May 19 18:33:16 chanakya_vc: hmmm? they have makefiles you can run from the commandline May 19 18:33:21 I am referring to the code, not the slides May 19 18:33:27 chanakya_vc: ok, seems like you have a direction to try now, good luck :) May 19 18:33:40 it was 2015 SoC project. May 19 18:33:51 by shubhangi May 19 18:34:14 bradfa, Okay. I will ping you again if I run into some trouble : ) : ) May 19 18:34:48 ds2, I am talking about this link:http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs May 19 18:35:47 Zeekhuge this is for coding on the linux machine or directly on the BBB? May 19 18:36:09 chanakya_vc: yes - and I am talking about the code that refers to - git://git.ti.com/pru-software-support-package/pru-software-support May 19 18:36:10 -package.git May 19 18:36:49 labs/lab_5/solution/PRU_Halt/Makefile May 19 18:36:52 for example May 19 18:37:15 the Makefile will let you run them without CCS. I have used this to play with rpmsg w/o CCS May 19 18:37:54 the pru code generated on your system as well as on BBB, I guess, but I would go for BBB. May 19 18:38:31 chanakya_vc - look at http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs#Using_the_Provided_Makefile_2 May 19 18:38:35 and yes, pru support package is a requirement for this framework too. May 19 18:40:10 btw ds2 , what VKS module ? May 19 18:40:16 *whats May 19 18:43:16 ds2, Thanks for that link, will go through it.Essentially it is using the PRU code generation tools right? May 19 18:43:41 Zeekhuge, VKS from pdp7 fb update? May 19 18:43:59 yes. May 19 18:45:07 Zeekhuge,take a look at the link that ds2 has given me and please tell if it is the same thing you have been talking about? May 19 18:45:15 yes May 19 18:45:39 ZeekHuge: look at the blog :D May 19 18:46:00 Okay ds2. Will look through that file. Hopefully will get the code running. May 19 18:46:39 But someone must tell TI to simply things a little ;( .It is so confusing and difficult. May 19 18:46:40 Sure :) also, whats the sense of Hi-z output pin ? May 19 18:47:55 chanakya_vc: what are you trying to do ? upload code on pru ? or compile code for pru ? May 19 18:48:28 Trying for both actually. Achieved success in neither May 19 18:48:59 The first step is to compile the code now :| May 19 18:49:06 ZeekHuge, ^^ May 19 18:49:31 lunch...bbl May 19 18:49:49 okay, then, as far as i remember, those TI pages are using TI's kernel and if possibly it does not have rpmsg compiles along. May 19 18:50:10 so, I just went through it, as its interesting. May 19 18:51:51 to compile code, what i did is, simply used the clpru (c pru compiler) and lnkpru ( linker ) using command line. May 19 18:51:54 chanakya_vc: ^^ May 19 18:52:00 Zeekhuge Are you going to be here for some more time or feeling sleepy yet? May 19 18:52:16 Because I might need your help :P :P May 19 18:52:27 I have practical exam tomorrow and it was a long day today. May 19 18:52:39 you should start atleast May 19 18:52:43 go on .. May 19 18:52:50 I'll be here as long as i can. May 19 18:53:04 Okay No problem, let me download all the stuff today. May 19 18:53:11 and, if its really that difficult, I should write a blog on it. May 19 18:53:14 probably May 19 18:53:18 Will take your help tomorrow :P May 19 18:53:26 you should you know May 19 18:53:51 clpru and lnkpru come along in this software package itself? May 19 18:53:56 Zeekhuge^^ May 19 18:54:54 nope, with the pru code generation tools : http://software-dl.ti.com/codegen/non-esd/downloads/download.htm#PRU May 19 18:54:55 ZeekHuge, Now if I download the version for ARM,i would just need to scp it right?To the BBB and ./the file? May 19 18:55:06 http://software-dl.ti.com/codegen/non-esd/downloads/download.htm#PRU May 19 18:55:12 Ohh May 19 18:55:23 ZeekHuge, the same link :P May 19 18:55:30 :) May 19 18:56:26 ZeekHuge, So i just download the ARM version scp it and I am good to go? May 19 18:56:49 for installing it May 19 18:57:00 ARM version for BBB right ? May 19 18:57:12 chanakya_vc: ^^ May 19 18:57:32 Yes May 19 18:57:53 ZeekHuge, ^^ May 19 18:58:23 chanakya_vc: yep. That would be right. May 19 18:58:52 Okay. And any place where I can find a basic example on how to code using it? May 19 18:58:58 ZeekHuge, ^^ May 19 18:59:36 wait.. you are COMPILE and LINK using it. not code. May 19 18:59:57 Yes I got it.It is like gcc right? May 19 19:00:03 yep May 19 19:00:03 ZeekHuge, ^^ May 19 19:00:34 and how to use them https://github.com/ZeekHuge/PRU-framework/blob/master/firmware/src/Makefile May 19 19:00:47 this makefile can help. May 19 19:01:06 So the code that they have compiled in CCS,that would not change right?I mean the one for blinking a led May 19 19:01:11 ZeekHuge, ^^ May 19 19:01:41 No, code remains same. It C in those CSS tutorials , right ? May 19 19:01:55 Yes May 19 19:02:22 han to, it remains same. May 19 19:02:43 ZeekHuge, Also this makefile essentially is just doing linking and compiling right?I mean it would change for code to code right? May 19 19:03:14 This is the one for the project by shubhangi? May 19 19:03:18 yes, and then placing the output to their right location May 19 19:03:23 yep ! May 19 19:03:45 I made some trivial corrections though May 19 19:03:51 Okay so I need to learn how to write a makefile for the PRU code now :P May 19 19:04:09 Shouldn't be a difficult task I guess :P May 19 19:04:14 ZeekHuge, ^^ May 19 19:04:24 no need, you need just need to learn how to read it. And then execute command on terminal. May 19 19:04:47 command on terminal would just be make?? May 19 19:05:45 ZeekHuge, ^^ May 19 19:06:17 ahh .. What i am saying is, its not necessary to learn writing a make file. But you still need to understand it, and once you have understood what the makefile is doing, you can execute the command manually on the terminal. May 19 19:06:33 Okay Got it. May 19 19:06:51 I do get on people's nerves with my questions:P :P May 19 19:06:58 ZeekHuge, Thanks May 19 19:07:29 Its completely fine :) May 19 19:07:49 We are all learning something here :) May 19 19:09:24 ZeekHuge, Yes. I believe so too. But I guess I am the most inexperienced of all seven of us so :P May 19 19:10:11 ZeekHuge, I heard of BeagleBone for the first time in January mid this year :P So I have to learn a lot May 19 19:10:42 ahh .. if you blv so, then you are lucky, you are learning the most . May 19 19:12:33 ZeekHuge, Thanks a lot. Best of luck for your exams for tomorrow!! I have a three day break b4 the next one on monday. May 19 19:12:55 when are you two done with exams? May 19 19:13:12 Thank you ! Whats the next exam ? May 19 19:13:22 Mine are finishing on the 27 Wormo May 19 19:14:04 ZeekHuge, Network analysis. May 19 19:14:43 Wormo: Hey ! mine practicals are on 20th, 25th and on 26th last. May 19 19:14:54 20th = tomorrow. May 19 19:15:11 so one more week after this, and both of you are done with school for the summer May 19 19:15:16 chanakya_vc: Cool !thats a difficult have ! good luck. May 19 19:15:17 that's pretty good May 19 19:15:29 yep ! May 19 19:15:48 Wormo,yep. May 19 19:16:06 ZeekHuge, Yes that's why such a long break too :P May 19 19:16:22 :) May 19 19:17:49 okay so .. May 19 19:18:11 Wormo: I am going through these two docs : http://cds.linear.com/docs/en/datasheet/223876fa.pdf May 19 19:18:13 and May 19 19:18:19 http://cds.linear.com/docs/en/demo-board-manual/dc782A.pdf May 19 19:19:30 cool, I am about to head out but will be back online in an hour or so May 19 19:19:52 okay :) If i am up by then :) May 19 19:20:21 ah getting to be about end of day -- then I'll see you tomorrow probably May 19 19:24:14 Hey foreverska Do you also use these PRU code generation tools? May 19 19:25:25 Last PRU development I did I just had a PRU assembly compiler May 19 19:27:19 Ohh.Probably those are merged in this package along with rproc and stuff May 19 19:27:30 foreverska, ^^ May 19 19:28:27 Lets hope. Although I don't image you plan to do the I2C code in assembly. May 19 19:30:15 I would be writing the firmware in assembly.I mean that's what I have thought so far?What would you suggest? May 19 19:30:47 foreverska, ^^ May 19 19:31:14 Oh, I just thought people had all together switched to writing the PRUs in C. Good for you. I like assembly on the PRUs. Helps me count cycles. May 19 19:34:46 foreverska, Ohh okay :P Though I am not very good with assembly May 19 19:35:40 foreverska, Ohh okay I won't be doing it in assembly but embedded C so sorry May 19 19:36:37 That's fine. C compilers are usually better at optimizing code than someone programming by hand. May 19 19:37:05 foreverska,Yes I got carried away a little :P May 19 19:37:54 foreverska, Anyway on a totally unrelated note,are you on fb by any chance? May 19 19:39:37 I am but I really cut back on it. I basically only keep it around for the benifit of my family. May 19 19:40:04 Feeling sleepy now .. good night ! May 19 19:40:26 ZeekHuge, Gn and thanks once again May 19 19:40:51 No problem, try it and let me know if it helps you. May 19 19:42:11 foreverska, Ohh. I thought that you were and sent a friend request but then I got worried that I might have sent it to another person.So I asked.Please do check if you have got one :P May 19 19:43:32 Oh I think i saw this awhile back but it didn't click when I read it who it was. May 19 19:44:20 Ohh my irc nick doesn't match my name so .but the vc at the end do stand for my initials :P May 19 19:44:59 foreverska, ^^Thanks for confirming. May 19 19:45:04 yup May 19 19:47:04 foreverska, Anyway I will let you know as to what happens with my struggles with compiling and uploading my code on the PRU . May 19 19:48:11 The manual method was much easier for me. Especially with the PRU wrapper that was posted in here awhile ago, it should be cake. May 19 19:51:24 foreverska, Okay. I will look into that.Exams are a huge hindrance. I am unable to give time to coding at all these days. May 19 19:53:29 I never studied for exams personally but then again my grades showed it. May 19 19:57:31 foreverska, Haha.Parents are super worried about marks.So I cannot score low.Though I am also not at the top of my class either. May 19 19:59:16 Marks are pretty important for graduate admissions.Some of my seniors are at Stanford and they were toppers throughout so :( May 19 20:00:34 Ah, yea you have plans of masters, short of that D is for Diploma. lol Stanford is a rough school, their sophmore assignments were my schools' May 19 20:00:48 senior work. About the time I gave up on my school. May 19 20:05:18 Stanford is a dream.Definitely the best in the world. I am hoping that GSOC will help me on the way :P May 19 20:05:45 Anyway foreverska Got to sleep. Bye and thanks : ) : ) May 19 20:06:53 Yea, Stanford is the only degree I put any weight on. To me everyone is graded on their personal projects. But anyhow, see ya man. **** ENDING LOGGING AT Fri May 20 02:59:58 2016