**** BEGIN LOGGING AT Mon Mar 02 02:59:58 2015 Mar 02 05:43:52 hello.. is jkridner there ? Mar 02 05:43:59 I mean is he active ?? Mar 02 05:44:02 now.. Mar 02 06:27:44 hi all. Is there any GSOC meet is going on? Mar 02 06:45:03 May I know the possibilities of BoneScript web pages with live-running examples and documentation this time Mar 02 07:08:49 will anyone review my PR ? Mar 02 13:30:26 hi kiran4399 Mar 02 13:30:36 hi alexanderhiam, geekswine_ Mar 02 13:30:53 alexanderhiam: haven't looked yet. Mar 02 13:31:11 hiii Mar 02 13:32:48 so i have a question that wiring framework is all just about dividing the tasks among different files or its something more ?? Mar 02 13:33:10 Hi jkridner... Mar 02 13:33:23 Wanted to talk to about a project I like very much... Mar 02 13:33:56 files like wiring_digital, wiring_analog, etc...different files for different tasks... Mar 02 13:34:38 kiran4399: please talk. Mar 02 13:34:59 Program PRU using high-level scripting languages Mar 02 13:35:13 So I have been doing lot of research this week.. Mar 02 13:35:23 I could'nt reach you before .. Mar 02 13:35:55 So I went through the code which matt wrote.. Mar 02 13:35:59 did you e-mail me? Mar 02 13:36:12 kiran4399: put out as much info as you can. Mar 02 13:36:46 Last year I worked on a project which involved interfacing sensors with BBB .. so I am familiar with PRU.. Mar 02 13:37:10 Also I understood the project which Chris made.. Mar 02 13:37:14 i.e. Botspeak.. Mar 02 13:37:39 I also went through node.js library .. Mar 02 13:38:04 So basically PRUduino is all about integrating these 3 things together.. Mar 02 13:38:41 Seriously last year when I did my project.. Mar 02 13:39:07 I was very uncomfortable with logging into BBB.. Mar 02 13:39:14 enabling PRU with modprobe.. Mar 02 13:39:35 and so on.. Mar 02 13:39:39 Doing device tree stuff.. Mar 02 13:39:46 The same idea struck to me last year.. Mar 02 13:40:42 So brief sketch of the project which I think is... Mar 02 13:41:57 PRUduino is a project which devolops the ability of a host running on different operating systems like Windows, linux or macos to directly talk to the Beaglebone black.So this is a kind of virtual machine which is there as an interface between the interpretor is running on the host computer and is sending the requests which the user gives through it. So basically in this project is about building a vm through which a user can Mar 02 13:42:29 kiran4399: the first part is getting the PRU accessing all the other peripherals. Mar 02 13:44:04 Well, In this case PRU is enabled on BBB and we have to interface it with LED arrays, servo and stepper motors, GPIOs, buttons, simple LCD's... right ?? Mar 02 13:44:42 and then when you connect BBB with the computer... The user can talk to BBB via bonescript.. Mar 02 13:45:29 I hope I am going in right direction .. If not please correct me :-) Mar 02 13:53:25 kiran4399: that is all correct.... Mar 02 13:53:40 and scripts can be off-loaded to the PRUs. Mar 02 13:54:05 kiran4399: have you looked at noduino? Mar 02 13:54:11 yes... Mar 02 13:54:40 So can you please get me started ?? :-D Mar 02 13:57:00 kiran4399: do you already have a BeagleBone Black? Mar 02 13:57:08 best way to start is to build StarterWare for PRU. Mar 02 13:57:40 Yes.. Got a new one today !!! Mar 02 13:58:43 you mean the starterware which TI has ?? Mar 02 14:04:07 kiran4399: yes. Mar 02 14:04:29 my current Makefile is at https://gist.github.com/jadonk/a6432fde48408e72fdd7 Mar 02 14:07:35 Can you explain me why we need to build a starterware for PRU ? Mar 02 14:07:58 because it has code for accessing peripherals like PWM, ADC, etc. Mar 02 14:08:05 Oh.. Mar 02 14:08:11 ok.. Mar 02 14:08:18 if you want to write it clean-room, that's fine, but a lot more work in my estimation. Mar 02 14:09:05 Then I'll go by your plan :-) Mar 02 14:10:21 So how can I test it with my BBB once I write it ?? Mar 02 14:17:19 a potentiometer on the ADC might be a good place to start. Mar 02 14:17:31 hii jkridner Mar 02 14:17:33 since last 3-4 i have been understanding the working of energia library by seeing verbose of compiling and uploading result Mar 02 14:17:41 the libpruio project might also be a good place to examine. Mar 02 14:17:53 so after comparing core library files of Energia and arduino i came up with this.. Mar 02 14:18:13 first thing which I think is need to make wiring_digital.c, wiring_analog.c and similar basic .c files for utilizing arduino like libraries on BBB.. Mar 02 14:18:21 second thing to make Arduino.h library which will have all the definitions of the files. Mar 02 14:19:13 can u plss see if am i approaching in right direction and what new things needed to be added to my research work ?? Mar 02 14:27:09 its abt the project "Library_of_Arduino-compatible_functions_for_StarterWare" Mar 02 14:27:47 in which i am very interested to work with... Mar 02 14:33:44 geekswine_: are you putting your project up on github? Mar 02 14:34:11 noo..i haven't done it yet.. Mar 02 14:34:26 its just the approach which i am thinking.. Mar 02 14:34:34 so should I ?? Mar 02 14:37:10 4 hours, 23 minutes remaining to announce accepted organizations :) Mar 02 14:37:17 +1 to that Mar 02 14:42:19 udara28: yeah, waiting nervously. Mar 02 14:42:39 geekswine_: yeah, getting things up on github makes it easier to talk about. Mar 02 14:42:48 also shows me you know how to use github. Mar 02 14:52:42 jkridner : "Program PRU using high-level scripting languages" => PRU Speak, no? Mar 02 15:02:19 karki: yeah, but a firmata-like BotSpeak implementation could be a good starting point. Mar 02 15:03:03 jkridenr : That would be straight forward enough Mar 02 15:03:12 just generate a bot speak command Mar 02 15:03:18 and execute it Mar 02 15:03:32 karki :i went through your userspace lib codes...think i have a decent understanding of the code and python :)...also have understood the driver(sysfs/upcall/downcall) and g ot it up and running Mar 02 15:03:55 jkridner : pwm.set(ch, duty) => "SET PWM[ch], Duty" Mar 02 15:04:07 apaar : great! Mar 02 15:04:48 how about giving a firmata like interface for pru-speak Mar 02 15:04:53 nice Mar 02 15:05:00 like the one I have mentioned above Mar 02 15:05:18 you will better understand the build and test cycles Mar 02 15:06:16 will look into it :) Mar 02 15:06:27 * karki says ping (tag) me if you need me; goes off to do some other work Mar 02 15:06:57 karki : had a few more doubts regarding the driver.... Mar 02 15:07:09 mail me Mar 02 15:07:24 sure Mar 02 15:09:53 jkridner: sry for late..busy with professor's work.. Mar 02 15:10:20 so am i thinking in right direction or need to change something ?? Mar 02 15:10:55 the approach and new thing that can help me !! Mar 02 15:19:24 and i'll put project as soon as i am completed with something related to project on github !!! Mar 02 15:34:39 hI again jason !! Mar 02 15:35:14 So we were talking about programming pru in high level language... Mar 02 15:37:43 So you mean to say that by using starterware libraries we can allow PRU-ICSS module communicate with other modules in CPU.. Mar 02 15:41:03 Program PRU using high-level scripting languages is not the same as PRU speak right?? Mar 02 15:41:23 I guess it is an extension of that... Mar 02 15:41:26 Am I right ?? Mar 02 15:42:09 its a work over that Mar 02 15:42:53 honestly though I'd like a solid driver before any other work is done on the PRU Mar 02 15:43:02 I believe Abhishek_ would agree Mar 02 15:43:58 Yes.. It is more than that I agree... Mar 02 15:44:16 Did you checkout PRUduino in jason's github ? Mar 02 15:44:22 yes Mar 02 15:44:35 I worked on a lot of this last summer Mar 02 15:44:56 I also went through your PRUspeak.. Mar 02 15:45:33 I just want make sure I am going in right direction... Mar 02 15:46:47 What is the difference between PRU speak, PRU duino and Bot speak ? Mar 02 15:47:10 PRU duino -> PRU Speak -> Bot Speak Mar 02 15:47:19 thats the dependency graph Mar 02 15:47:26 Bot Speak is a language Mar 02 15:47:38 PRU Speak is an implementation of Bot Speak for the PRU Mar 02 15:47:49 PRU duino is a high level API for the PRU Mar 02 15:48:01 in python/node/etc Mar 02 15:49:09 Did you model any communication protocol in PRU speak ?? Mar 02 15:49:13 like TCP/IP, USB etc.. ? Mar 02 15:49:29 I mean from the computer to BBB ? Mar 02 15:50:33 no Mar 02 15:50:48 you can log in to BBB as you like Mar 02 15:50:56 on the BBB there is a TCP port open Mar 02 15:51:10 and a filesystem interface Mar 02 15:51:24 FIFO @ /dev/pruspeak Mar 02 15:51:36 so those are two ways to use it Mar 02 15:53:14 So PRU speak is only for logging into BBB and controlling it using Botspeak commands from the BBB itself .. Right ?? Mar 02 16:00:47 karki, yep a good driver is Priority 0 Mar 02 16:01:20 kiran4399 : yes Mar 02 16:01:42 I have no idea what you mean though Mar 02 16:02:02 what is that solid driver for PRU ?? Mar 02 16:02:02 :L Mar 02 16:02:20 I mean is there no driver for PRU in BBB ? Mar 02 16:02:23 current driver is gas, we need solid Mar 02 16:02:38 there is Mar 02 16:03:03 have you looked at the project (atleast the readme) Mar 02 16:04:01 which one PRU duino ?? Mar 02 16:04:04 Abhishek_ can explain more about this SOLID driver Mar 02 16:04:11 no pru-speak Mar 02 16:04:22 PRU duino is not even a implemented project yet Mar 02 16:43:00 So for PRUduino can we build it on top of PRUspeak ?? Mar 02 16:49:09 The clock is ticking .... 2 hours and 12 minutes... !!! Can't wait to see Beagleboard.org in GSOC'15 !!! Mar 02 16:51:14 yeah kiran4399 !!! Mar 02 16:52:57 is karki, abhishek or Jason there ?? Mar 02 16:56:16 you have to build on it Mar 02 16:56:57 use the irc nicks of the people you want to ping Mar 02 16:57:07 jason and abhishek are not irc nicks Mar 02 16:58:17 Oops sorry... Mar 02 17:00:47 kiran4399: You'll have to swallow 3000+ lines of code of pru_rproc.c first Mar 02 17:03:50 can you please tell me the link to the source ? Mar 02 17:53:37 karki... there ?? Mar 02 17:53:45 what Mar 02 17:55:13 so is it that when we implement PRUduino... in a specific language say javascript i.e. node.js... It has to communicate with PRUspeak or BOTspeak ? Mar 02 17:56:52 did you read about pru-speak Mar 02 17:57:55 Yes. Mar 02 17:58:08 like properly Mar 02 17:58:25 cause it looks like you haven't understood Mar 02 17:59:00 BotSpeak is a language specification; PRU Speak is an implementation of bot speak Mar 02 17:59:32 so communicate with "BOTspeak" does not make sense Mar 02 18:00:14 all the language specific api has to do is write to the socket on which pru-speak listens Mar 02 18:00:15 Oh.. Thanks I got that.. Mar 02 18:00:21 write bot speak commands Mar 02 18:00:48 OK.. Mar 02 18:04:21 I'll go thorough it once again.. :-) Mar 02 18:13:50 one more thing.. What is an INTC module ? Mar 02 18:14:19 karki :got the tcp part(writing to port 6060 and executing a command) of it working do i use lex to process the input or just simple string manipulation(it will be easier as the number of commands are only a handfull) Mar 02 18:16:36 wait Mar 02 18:16:44 string manipulation for what? Mar 02 18:16:48 lex for what? Mar 02 18:16:57 apaar_ Mar 02 18:17:57 had you not told me to implement a part of the firmata interface on pruspeak... Mar 02 18:18:46 ah Mar 02 18:18:56 you don't need no lex Mar 02 18:19:27 and do well to remember that I said firmata interface Mar 02 18:19:32 that is the interface only Mar 02 18:19:45 internally you will be generating BS commands Mar 02 18:19:53 and writing to the port Mar 02 18:20:31 so pwm.write('3', 50) ==> "SET PWM[3], 50" Mar 02 18:20:41 and will be written to the tcp port Mar 02 18:20:45 yep exactly that i will generate bs command and write it to the tcp port...i have the writing up and am working on generating the commands Mar 02 18:20:55 it's simple string templates Mar 02 18:21:06 search "python string templates" Mar 02 18:21:17 all you need to to fill values in the templates Mar 02 18:21:29 thanks ...will look into it :) Mar 02 18:21:32 and do a sanity check before generating the command Mar 02 18:21:51 On a scale of 1 to 5, i consider the task 1 Mar 02 18:21:58 in complexity Mar 02 18:22:15 so you should have a working hack pretty soon Mar 02 18:22:30 gpio, pwm by the end of the week seems good Mar 02 18:22:53 I could use it at my talk @ FOSS Asia :) Mar 02 18:23:14 nice Mar 02 18:52:17 7 minutes left! Mar 02 18:53:45 nail-biting !!! Mar 02 18:54:57 <_av500_> yay, we are in!!!! Mar 02 18:55:31 <_av500_> at least that mail says so :) Mar 02 18:55:41 <_av500_> Congratulations! Mar 02 18:55:42 <_av500_> Your Organization Application for BeagleBoard.org to Google Summer of Code 2015 has been accepted. Mar 02 18:55:53 woohoo! Mar 02 18:56:15 sweet! ;) Mar 02 18:56:52 now the real work begins. ;) Mar 02 18:58:50 congos !!! Mar 02 19:00:30 http://www.google-melange.com/gsoc/org2/google/gsoc2015/beagleboard :) Mar 02 19:02:06 :) Mar 02 19:05:20 awesome!! Mar 02 19:16:58 let the mentor recruiting commence! Mar 02 19:22:03 <_av500_> I just recruited one Mar 02 19:22:07 <_av500_> karki: welcome :) Mar 02 19:22:22 _av500_ : Thank you :) Mar 02 19:25:04 congooo !!! :D Mar 02 19:30:07 is melange open to requesting connections now that the orgs are announced? Mar 02 19:37:48 <_av500_> ds2: it is Mar 02 19:37:56 <_av500_> go sign up Mar 02 19:46:13 Hi, I have recebe a invite to BeagleBoard.org GSoC IRC meeting, I have a question about the time line of the meting, I am from GMT lisbon, what is the timezone of the meting? Mar 02 19:50:14 do we have to re-register as mentors on melange? Mar 02 19:51:04 alexanderhiam : you don't have to re-register with melange, but you do need to apply to bb.org Mar 02 19:51:21 it seems I have to create a new mentor profile first Mar 02 19:51:32 again o.O Mar 02 19:52:02 I have register in the google groups and send a message to the group Mar 02 19:52:06 yup, now I can connect Mar 02 19:52:20 av500: got my request on melange ? Mar 02 19:52:35 of the event, yes Mar 02 19:52:58 <_av500_> vvu: acked Mar 02 19:54:15 * alexanderhiam has submitted his connection request Mar 02 19:54:23 <_av500_> acked Mar 02 19:54:33 sorry guys I am not understanding what is happened here... I have just send a message to the google groups of the BeagleBoard to ask information about GSOC2015 Mar 02 19:54:39 you're fast! Mar 02 20:01:17 * vvu is looking forward to seeing new proposals :) Mar 02 20:57:59 it's almost 3:00am here, and I'm barely sleepy :p Mar 02 20:58:08 must be the GSoC excitement ;) Mar 02 21:07:49 also some other hardware in gsoc https://www.google-melange.com/gsoc/org2/google/gsoc2015/minnowboard Mar 02 21:14:17 <_av500_> hw is taking over the world Mar 02 21:36:49 done Mar 02 21:37:05 <_av500_> done Mar 02 21:38:39 is the beagleboard-gsoc list going to be run in the same way as before? Mar 03 02:53:50 hello can anyone tell me where to find blinkled.o in the starterware for BBB ? **** ENDING LOGGING AT Tue Mar 03 02:59:58 2015