**** BEGIN LOGGING AT Sat May 05 03:00:04 2018 May 05 03:26:18 Are there other people using the L298 and BBB to communicate for the purpose of motor function? May 05 03:29:11 doing polls again? May 05 03:32:42 sort of. May 05 03:33:02 zmatt: What are you doing w/ the BBB these days? May 05 03:34:46 I dealt w/ the fellow. He directed me in a direction that might prove valuable w/ this L298, dual H-Bridge. May 05 03:34:52 ... May 05 03:35:12 Anyway...I need to brush my feet. May 05 03:35:14 teeth. May 05 03:35:22 I need to get ready. May 05 03:35:26 Big nights! May 05 03:35:29 ... May 05 03:35:31 w/ the BBB! May 05 04:11:10 zmatt: What are you doing? May 05 04:14:43 good evening May 05 04:16:21 kremmy-krem, kremlin! May 05 04:17:02 kremlin: I am doing things. I am messing w/ a L298 board (dual H-Bridge) w/ the BBB. May 05 04:20:23 set_: very cool May 05 04:20:26 how is that going May 05 04:20:46 Miserable! May 05 04:21:00 oh? :) May 05 04:21:17 I got my ideas, which are lacking, versus some other persons' ideas and the direction. May 05 04:21:26 I am trying. May 05 04:21:56 Are you a software mastermind? May 05 04:22:11 i've written some drivers for the BBB for openbsd fwiw May 05 04:22:32 Coolness. May 05 04:22:39 Any double H-bridges? May 05 04:23:22 double = dual May 05 04:23:57 what about em May 05 04:24:14 Any drivers for dual, H-Bridge workings? May 05 04:26:12 no, i did the LCD controller and PRU May 05 04:26:24 Dang. That sounds too difficult. May 05 04:26:34 I am the motor guy who knows little. May 05 04:26:56 i see May 05 04:27:00 Yep. May 05 04:27:09 well this is a great great platform for learning these things May 05 04:27:17 I know. I have been using it for years. May 05 04:27:24 <<<<< slow motion May 05 04:27:31 slow but steady May 05 04:27:34 Yep! May 05 04:46:35 ... May 05 04:48:10 I just typed up some new software. Who thinks it will work? Here: https://pastebin.com/8wKjexEx and more to come! May 05 04:49:32 For concerned eyes, this is not what the director told me to do. I am in test mode right now. May 05 04:57:10 neat May 05 04:57:11 gl May 05 04:58:40 Nope. Did not work. Just for the record. May 05 05:17:25 Okay... May 05 05:17:31 One motors is a geaux! May 05 05:17:49 One direction and at full capacity. Yikes! That thing woke up me! May 05 06:13:44 Gotcha...the motor have Turneth! May 05 06:15:09 hooray May 05 06:15:18 Yep. Do you want to see the software? May 05 06:15:25 sure May 05 06:15:29 It is messy and not good. Okay. May 05 06:15:33 Hold please. May 05 06:17:02 Most of this does nothing but it was fun to type it out! Oh and here: https://pastebin.com/vNjUniAt. May 05 06:17:20 One way motors! May 05 06:19:21 neat neat May 05 06:19:31 just for fun, here is the driver i wrote for the LCD module: http://ce.gl/tipru/amdisplay/current/ May 05 06:19:37 Okay. Cool. May 05 06:21:25 I looked. It seems you have one of those "outdated" sites w/out "fancy" colors. May 05 06:21:31 Hahaha. May 05 06:21:43 I cannot read everything but thank you for showing me. May 05 06:25:49 set_: uhh, I still haven't seen any code from you that even remotely looks like it's doing anything other than doing a one-time setup of some gpios and then going into an infinite loops that just prints something May 05 06:26:46 also why are you assigning the result of GPIO.output() to variables? it returns None May 05 06:28:22 Oh. May 05 06:28:39 I am just a novice that tests and does the whole trial and error. I read, too. May 05 06:28:54 But...reading gets in the way of lack of knowledge. May 05 06:29:33 Now...I know. May 05 06:29:48 GPIO.output() to variables returns None! May 05 06:33:55 so...I should use GPIO.output(5000) instead of GPIO.output("xx.xx", 5000)? May 05 06:34:50 ?! May 05 06:34:53 what May 05 06:35:11 Sorry. May 05 06:35:18 I must have misunderstood you. May 05 06:35:39 Oh. I got you. Sorry. May 05 06:36:03 int is not var. May 05 06:36:06 Sorry. May 05 06:36:14 ??? May 05 06:37:33 Haahahaha. I am just wrong. Sorry. May 05 06:38:22 GPIO.output("P9_22", GPIO.HIGH) sets that gpio high, passing GPIO.LOW instead sets it low May 05 06:38:32 Okay. May 05 06:38:44 I got you now. May 05 06:38:53 So, what would you do? May 05 06:39:04 Neither or both? May 05 06:39:12 what? May 05 06:39:35 I am not getting your idea. I know you know more on this subject. I am not confronting you. May 05 06:39:52 I just do not get your view, i.e. which I am sure is more educated. May 05 06:39:54 my "idea" ? what are you talking about? May 05 06:40:14 Okay. May 05 06:40:15 ... May 05 06:40:39 GPIO.output("P9_22", GPIO.HIGH) is there to start my motor Driver. May 05 06:40:54 I have to make it go low then high, right? May 05 06:41:27 uhh May 05 06:41:48 zmatt: I can only speak on what i Have done and not on your knowledge. SHoot! May 05 06:43:28 which pin is connected to what on the l298 ? May 05 06:44:04 Oh. I have three pins attached to the L298, e.g. P9.21, P9.22, and P9.12. May 05 06:44:40 Okay. May 05 06:44:51 P9.21 = EnA May 05 06:44:57 P9.22 = ln1 May 05 06:45:07 P9.12 = ln2 May 05 06:45:10 ... May 05 06:45:11 Sorry. May 05 06:46:03 ok May 05 06:47:57 then P9.21 needs to be HIGH to drive the motor (forward, reverse, or stop) May 05 06:48:08 Okay. May 05 06:48:14 if P9.21 is LOW then the motor is undriven / free-running May 05 06:48:20 Oh. May 05 06:48:35 So, forget low on P9.21. Got it. May 05 06:58:18 hi May 05 06:59:30 set_: https://pastebin.com/PYQ9wkeZ forward/reverse may be swapped of course depending on how the motor is wired and what is considered to be "forward" May 05 06:59:56 got it. Hold. I will go and look at it. May 05 07:00:51 I will try it. If it is correct, that is way smarter than what I was doing. May 05 07:01:28 That is a good test, too. May 05 07:01:42 I can see things go, reverse, stop, and cease. May 05 07:02:06 There are even breaks in b/t the requests. May 05 07:05:11 https://pastebin.com/XUFztuau might also be an illustrative example May 05 07:05:19 to see the difference between disabling and stopping May 05 07:07:18 I see the idea now. I will test it. Be back in two shakes of a lamb hoof. May 05 07:09:12 Well hell, hombre. That done worked-ed-ed well. May 05 07:09:14 Sheesh. May 05 07:09:28 My software is a bunch of garbage. May 05 07:09:46 I guess my software was meant for something completely different. May 05 07:10:15 ... May 05 07:10:35 I guess my search for complication has dwindled down to nothingness. May 05 07:10:42 https://pastebin.com/8KRVMmbf May 05 07:10:49 You have conquered it easily. May 05 07:11:00 anyway, I gotto go now May 05 07:11:28 Good. Quit it. May 05 07:11:39 Man, you are making me look terribly awful. May 05 07:11:41 Ha! May 05 07:11:45 See you later, zmatt. May 05 07:11:48 Thank you. May 05 07:15:50 hello revanh. May 05 07:20:45 up, up, and otay! May 05 10:23:09 Hi, did something change to the default distro of the BBB? May 05 10:23:35 Because after reflashing and updating the prussdrv won't work anymore May 05 12:42:29 Found it May 05 12:42:41 apt-get upgrade installs a blacklist file for uio_pruss May 05 12:42:44 is this a bug? May 05 13:08:13 bou4: huh, that definitely shouldn't happen May 05 13:08:21 there's no reason to ever blacklist it May 05 13:08:29 which package is doing this? May 05 13:08:47 roboticscape May 05 13:09:08 bug report it May 05 13:09:24 also just remove that package May 05 13:09:54 https://imgur.com/a/kDO6xCO May 05 13:11:02 oops May 05 13:11:14 ? May 05 13:11:38 https://imgur.com/a/kDO6xCO May 05 13:11:39 proof May 05 13:12:14 I don't see anyone doubting you, also I'm not getting any image at that link May 05 13:12:42 Where can i bug report it? May 05 13:13:27 https://github.com/StrawsonDesign/Robotics_Cape_Installer/ maybe? May 05 13:13:45 regardless, you're not using it so just apt-get purge the package May 05 13:13:53 https://github.com/StrawsonDesign/Robotics_Cape_Installer/blob/64768ad98d9a049ef943809953c0cc8d39c61f81/pru_firmware/pruss-blacklist.conf May 05 13:14:13 But I think it shouldn't be in the default installation of Debian May 05 13:15:21 I don't think it should normally cause any trouble... but it definitely shouldn't be blacklisting uio-pruss May 05 13:16:08 I will place an issue May 05 13:20:52 there is almost never a good reason to blacklist a module May 05 13:34:17 not for all users at least May 05 13:34:34 in general May 05 13:34:48 especially not for me, as i spent a good amount of time trying to figure out why my program stopped working May 05 13:35:02 the kernel normally picks the right modules to load May 05 13:54:26 bou4: I contacted rcn, he agrees it shouldn't be needed. it'll get fixed May 05 13:58:25 thanks! May 05 14:57:09 besides, for some reason the certificate for rcn-ee.com is not trusted in the update-kernel script May 05 15:17:29 fixed it May 05 15:17:48 you need to upgrade all packages before executing update-kernel.sh May 05 15:49:46 zmatt: can i have your program again that can read the mcasp registers? May 05 15:49:53 i want to check if the pru does what i ask it to do May 05 16:04:01 https://liktaanjeneus.nl/asp-monitor.tar.xz May 05 16:05:23 cool, py-uio worked straight away on the beagleboard-x15 May 05 16:07:19 is the source for asp-monitor available? May 05 16:07:35 no, I'm not sure I can release it May 05 16:07:45 oh, ok, no problem May 05 16:07:58 but I don't understand what the output means May 05 16:08:03 what is xHCF rHCF d0123? May 05 16:08:41 x/r are the transmit/receive sections, H = hclk, C = clk, F = fs May 05 16:08:46 d0123 are the data lines May 05 16:09:29 and x--c---- r--c---- May 05 16:09:50 there are no clocks running, so that might influence the output May 05 16:10:06 i don't have the equipment at home to drive the codec May 05 16:12:08 so, on the line below xHCF rHCF d0123 is shows the actual pin activity. here's the legend: https://pastebin.com/raw/XTKEqWZ1 May 05 16:12:40 the x--c---- r--c---- are pending interrupt/status bits of the transmit/receive sections May 05 16:13:23 I think May 05 16:13:26 or wait May 05 16:13:54 can you pastebin the full output you're seeing? May 05 16:16:54 https://pastebin.com/mJEhTHPn May 05 16:17:03 The receive section has changed, because my code works May 05 16:17:33 ah so they were in fact uppercase... I was already confused why it didn't match my source code May 05 16:19:04 but yeah it's showing that no clocks are working May 05 16:19:21 also mcasp is still held in functional reset (all GBLCTL bits are cleared) May 05 16:19:49 also it doesn't seem to have been configured yet May 05 16:20:27 correct! May 05 16:22:03 https://github.com/thomasfaingnaert/scriptable-guitar-pedal/blob/pru/pru/main.p May 05 16:22:08 this is what I am doing May 05 16:31:14 well at least asp-monitor is reporting that the receive section is 2 slots * 32 bits May 05 16:33:43 my way of defining all registers takes a lot of lines May 05 16:33:50 but i think it's very readable May 05 16:37:52 yup May 05 16:42:19 i have my doubts about the AHCLKR register May 05 16:42:39 aren't you using mcasp in slave mode? (codec is master) May 05 16:42:44 correct May 05 16:42:55 so i don't know how to configure that register May 05 16:43:02 internal is fine May 05 16:43:10 it needs *some* clock but it doesn't matter much what May 05 16:43:28 so not the master clock the codec is upplying? May 05 16:43:32 +s May 05 16:43:50 also, keep in mind that if you configure the receive section synchronous to the transmit section, only hclkx/clkx/fsx are relevant, not hclkr/clkr/fsr May 05 16:44:09 there's no need to connect the master clock from the codec to mcasp at all, it has no use for it May 05 16:45:05 (when mcasp is slave for clk and fs) May 05 16:49:43 is this only in this specific that it has no use for it? May 05 16:56:15 what register does actually set the sample rate? May 05 17:09:46 a May 05 17:25:01 its only use of hclk is to produce clk when it is clk-master May 05 17:25:31 (and it can monitor hclk frequency to detect clock failure, but this is rarely used) May 05 17:25:51 when it's in slave mode there isn't any configuration for the sample rate May 05 17:27:06 whatever sample rate is used by the codec, that's the rate at which mcasp will be producing/consuming data May 05 17:27:13 but it has no reason to know or care what that rate is May 05 17:27:21 anyway, afk for a bit May 05 17:45:19 are there images that can be used to emulate the beagle bone board with qemu May 05 17:54:06 you can probably emulate the ARM core well enough, but everything elseā€¦ May 05 17:54:27 for right now i am trying to ssh communication May 05 17:54:38 i am trying out ssh communcation May 05 17:55:00 and something called visualgdb May 05 17:55:39 any ARMv7 linux image should work for that May 05 17:59:12 cool May 05 17:59:51 this image is based on some distro or something unique to itsefl May 05 18:04:20 can beagle have an rtos placed on it May 05 18:04:47 hardware runs software, yes May 05 18:04:56 film at 11 May 05 18:05:44 god May 05 18:06:02 LetoThe2nd: black_13 is calling you! May 05 18:06:25 you're not mentat May 05 18:06:33 no May 05 18:06:41 i need more caffiene or spice May 05 18:08:02 there is a specific way to package up linux or an rtos so that it can be flashed to the beagle May 05 18:08:13 i googled and didn't immediately find May 05 18:08:36 basically if all you want to do is play around and debug non-hardware specific ARMv7 software, then install debian or ubuntu or whatever you want in a qemu arm VM May 05 18:08:59 StarterWare is a peripheral support library for RTOSes on Beagle. May 05 18:09:07 thanks May 05 18:09:46 the TRM explains how the BBB boots up... until uboot is loaded May 05 18:09:52 the rest is in the uboot documentation May 05 18:12:08 https://cdn-shop.adafruit.com/datasheets/BBB_SRM.pdf being the trm May 05 18:12:19 no, that's the SRM May 05 18:12:45 spruhz6j.pdf May 05 18:13:09 gah, that's for the x15 soc May 05 18:13:24 ETOOMANYSOCKS May 05 18:13:26 i may have that one May 05 18:13:35 friend gave me some old boards May 05 18:13:38 spruh73p.pdf May 05 18:13:44 about 2/3 years old May 05 18:14:08 last letter increments for versioning May 05 18:14:35 ok. May 05 18:16:11 great resource if you want to dig into the specific hardware capabilities May 05 18:56:09 zmatt: Do I have your permission to use your software to start a GitHub.com repo under my account? May 05 18:56:15 e.g. from last night? May 05 18:56:56 in time, I will change it but for now...I want to set up a repo and get things cracking. May 05 18:57:20 I put the license under GPL3.0 and I will give you credit as usual. May 05 18:57:22 What say you? May 05 18:58:01 ... May 05 18:58:40 I put the BBB up too. Is there a specific way I need to inform people of the BBB and the variations? May 05 18:58:47 esp. on GitHub.com? May 05 18:59:15 brb May 05 19:03:53 https://github.com/silver2row/flack is the repo I am going to make over this L298 motor driver, the BBB, and Adafruit_BBIO. May 05 19:03:54 ... May 05 19:04:01 What do you think so far? May 05 19:18:00 set_: you don't need to credit a trivial example from me May 05 19:20:58 Okay. May 05 19:21:20 I am going to set it up and get things going now. May 05 22:52:27 hello May 05 22:52:45 I cant install beaglebone black drivers on windows 10 May 05 22:53:05 can anyone help? May 05 23:04:15 think again: why do you need drivers for the beaglebone black? The only situation I can imagine is that u connect it with usb to your pc. And then u want to have access to the memory. this is the poorest way, because you will struggle with windows until you or windows will die. whatever comes first. May 05 23:27:15 beaglebonblack: no drivers are needed on windows 10 May 05 23:27:38 beaglebonblack: as long as the beaglebone is running not-too-ancient firmware (which you can ensure by reflashing it with the latest firmware) May 05 23:27:50 kilroi_off: ehh what? May 05 23:28:43 kilroi_off: he's probably just talking about the usb networking "driver" the beaglebone used to need May 05 23:28:56 (by "driver" I mean a signed ini file telling windows to use its own fucking driver) May 06 00:01:03 Hello! May 06 00:01:46 zmatt: I am going to try and set up more software for the motors soon. That start helped a lot. May 06 00:01:58 Has anybody here used Bela? May 06 00:04:38 how do you determine the hard ware version of beagle you have May 06 00:04:55 uname -r and/or cat /etc/dogtag May 06 00:05:17 uname -a works too. May 06 00:05:39 Oops. May 06 00:05:49 Sorry. I read that wrong. May 06 00:05:52 Again. May 06 00:06:00 the sticker! May 06 00:06:10 there is a sticker May 06 00:06:20 Yep. May 06 00:06:27 On the side of the GPIO pins. May 06 00:06:46 3814bbbk1364 c May 06 00:07:05 Oh. Do you have a Rev. C? May 06 00:07:15 is that bad May 06 00:07:18 No! May 06 00:07:36 It is not bad. May 06 00:08:10 I have a Rev. C and Rev. A5x. May 06 00:08:24 and the second 40052413010080061629 May 06 00:08:36 has a QRC code May 06 00:08:36 The Rev. C is the newest of the BBBs. May 06 00:08:41 Dang. May 06 00:08:49 I just have a barcode. May 06 00:09:16 I think you have a Rev. C. May 06 00:09:29 i have bricked the rev c. version May 06 00:09:37 Mine says 3465346346346 A5C. May 06 00:09:40 Nope. May 06 00:09:47 Just install the new image. May 06 00:09:59 Or...did you drop it in water? May 06 00:10:06 i.e. while it was plugged in? May 06 00:10:32 no i monkeyed with the image May 06 00:10:55 i cant putty into the image May 06 00:11:42 Oh. Hey. Try bbb.io/latest-images and grab the latest image, use etcher to write it to your sd card, and plug the sd card in the BBB and apply power. May 06 00:12:12 ... May 06 00:12:36 did you type debian as the user and temppwd as the password. May 06 00:12:36 ? May 06 00:13:17 set_: so easy that a dummy like me could do it May 06 00:13:45 Oh...I tried many examples before. I have failed and tried again. May 06 00:14:16 black_13: What monkeying around did you do? May 06 00:15:09 I opened a portal to another dimension and let things from the other place come over May 06 00:15:27 Oh...in that case! Try a new image! May 06 00:16:42 they will make us worship the old ways May 06 00:17:49 Hey black_13: Serious...try a new image and then come back later. I think I hut my toe! May 06 00:18:35 Or stay and wait. May 06 00:18:36 ... May 06 00:18:40 Maybe someone will help out. May 06 00:22:20 set_: actually it seems to be working May 06 00:23:04 Ya Boy! May 06 01:32:31 set_ don't hut your toe it sounds strange. May 06 01:42:45 I know it sounds odd but try to say it once. May 06 01:43:43 GenTooMan: Hello! I got zmatt to give out some frankly, nice advice. May 06 01:43:48 "for a change!" May 06 01:43:51 Just joking. May 06 01:44:13 ... May 06 01:46:11 cough, hack, yum... May 06 01:46:18 brb May 06 02:26:04 jkridner[m]: hah, cool... it seems the EVEs are functional on my x15, presumably since it has the mysterious "AM5729" part on it **** ENDING LOGGING AT Sun May 06 03:00:01 2018