**** BEGIN LOGGING AT Mon Mar 05 03:00:03 2018 Mar 05 05:10:41 AIN7 ADC read help in BBBW Mar 05 07:36:10 such an excellent example on how to ask a clear question Mar 05 12:05:25 Can anyone point to a standard 6-pin ftdi cable pinout? Mar 05 12:05:58 I think my cable is default wired for arduino so I'll need to change it Mar 05 12:08:29 nixuser: I think the arduino pinout and the beagleboard one are both the same as the "default" FTDI pinout (except perhaps for the DTR/CTS/whatever handshaking pin) Mar 05 12:10:36 ah, pin 1 is the red cable for me Mar 05 12:12:11 from the looks of it, pin 1 should be the black cable.. I have from the sellers page red 5v, black gnd, white rxd, green txd, yellow RTS, blue CTS (in that order) Mar 05 12:19:32 I've been using the sparkfun beefy 3 with my BBG, which has GND/CTS/3V3/TX/RX/DTR (I think that's pin 1 to 6, but could be reversed) Mar 05 12:20:15 ah, thanks.. I'll try that pinout then Mar 05 12:49:58 sweet, that's working :) Mar 05 12:50:28 thanks a lot :) this pinout configuring thing is very new stuff to me Mar 05 13:40:55 nixuser: I'm pretty sure arduino-layout is compatible with beaglebone... your cable's pin order sounds really weird Mar 05 13:43:22 yeah arduino is same as standard ftdi, except it has a DTR signal instead of an RTS signal (although presumably it'll often be connected to RTS anyway and controlled by software): https://cdn.sparkfun.com/assets/learn_tutorials/4/6/6/FTDI_Arduino.png Mar 05 13:56:59 Odd, perhaps the cable maker is just dumb.. says "for arduino" Mar 05 13:57:14 in any case, changing the pins worked out Mar 05 13:59:15 nixuser: The weirdest stuff on ebay says "for Arduino", just to draw buyers. I think I saw a hairdryer "for Arduino" once... Mar 05 13:59:36 haha Mar 05 13:59:56 well yeah I guess you could have a low voltage usb hair dryer.. Mar 05 14:33:32 nixuser: From the #arduino factoid list: levelconverter is http://husstechlabs.com/wp-content/uploads/2010/09/Level-shifter.jpg and also https://cdn-shop.adafruit.com/datasheets/AN10441.pdf Mar 05 14:48:09 uhh, how is this relevant for nixuser ? Mar 05 14:49:32 also, bidirectional level-shifters are kinda icky Mar 05 14:49:48 W00ps, that was in response to a question in #raspberrypi, seems my head mixed stuff up :-) Mar 05 14:50:44 there are also dedicated level shifters for this, reduces component count and may have other benefits Mar 05 16:13:25 Hello all, I have a BBB A5A board and a 32x64 RGB LED Matrix (P2.5-16S-V1.0) with 2 HUB75 headers. I want to connect and control from the BBB. Mar 05 16:14:08 I have found many tutorials of connection diagrams but none have been for the BBB specifically. I don't want to risk connecting it up wrong Mar 05 16:15:14 Using the ribbon cable from the HUB75, what are the pins within the P9 Header are to be used? Mar 05 16:16:01 kasinec: that is mostly up to the software you intend to use Mar 05 16:16:19 I am using cloud9 to code Mar 05 16:17:22 if you just intend to use gpios to control the led matrix (even though I have doubts about whether that will give a pleasing result), then I'm pretty sure I already gave sufficient information last time you asked this question Mar 05 16:17:43 if not, please ask for clarification instead of remaining silent and then asking exactly the same question some time later Mar 05 16:24:10 for reference, here is what I said last time -> https://pastebin.com/HAXx5hpL Mar 05 16:26:25 note that since these led strips are apparently designed for 5v signalling, using 3.3v signals might not work optimally (e.g. it might limit the max clock frequency), although if it works with the rpi (which uses 3.3v i/o too) then it should also work with the beaglebone Mar 05 16:27:59 be sure to use an adequate power supply for the led panel btw Mar 05 16:28:12 I was thinking that I would use the gpios to prove out the concept. The HUB75 pins on the back side of the LED matrix are not identified but I can figure them out, what pins do I connect them to on the board? I have found many templates or overlays for the P8 and P9 headers but I am confused because there are many for expansion and i2c and serial UARTs Mar 05 16:28:48 most pins are multi-purpose, i.e. they can be figured to various functions in addition to using them as gpio Mar 05 16:28:56 most of them default to gpio however Mar 05 16:29:31 like I said, some are configured to special purpose by default, but in most cases this can be disabled Mar 05 16:30:09 my show-pins script is an easy way to check which pins are available for gpios use in whatever configuration your system is right now Mar 05 16:30:16 *gpio use] Mar 05 16:31:18 I am hoping for a straight forward connection diagram. I was also going to use script from Limor Fried/Ladyada & Phil Burgess Mar 05 16:31:45 if you're going to use an existing script, then it probably has assumptions about which pin to use for which purpose Mar 05 16:31:51 so then you should follow whatever the script expects Mar 05 16:32:11 if you're going to write your own software, it really doesn't matter whatsoever which pins you use as long as they're available for gpio use Mar 05 16:36:44 if you want high performance from the led matrix, you may want to look at something like https://trmm.net/LEDscape Mar 05 16:37:27 oh ew, a fair bit of info on that site seems quite old though Mar 05 16:40:55 the code that I have mentioned have three files, RGBnatrixPanel.cpp, RGBmatrixPanel.h and gamma.h do I run them through the cloud9 or is there some driver that I would need? Mar 05 16:41:51 I've never used cloud9, and I can't guess from filenames what dependencies the code might have Mar 05 16:43:37 I will look at the github for the LEDscape. I am sorry for the questions and lack of knowledge, regarding coding and scripts Mar 05 16:47:22 no worries, nobody is born with that knowledge Mar 05 16:51:55 zmatt, if I don't use cloud9 what editor is best and simplest to use? Mar 05 16:57:49 I'm not really the right person to ask, I use vim which is generally not regarded as being "simplest to use" Mar 05 17:01:49 "/lib/ld-linux-armhf.so.3: No such file or directory" I am getting this error when executing the binary. Anybody knows about this? Mar 05 17:05:07 zmatt: do not worry about my Motor Bridge Cape issues. I am going to downgrade to Adafruit_BBIO 1.0.3 and run software using their older library. Mar 05 17:05:08 ... Mar 05 17:05:14 Sorry to harass you over all this mess. Mar 05 19:18:33 Hello, I am not sure if this is the right place to ask.But I am trying seek help with developing BBB as a host to program ARM M0+ processors. Is there a guide on any article that provide info on how to make BBB program other devices? Mar 05 19:20:12 ann: any guide or article on doing that from a linux platform should suffice, because thats what the BBB is in that context. Mar 05 19:20:33 that will probably depend on the actual processors too Mar 05 19:21:27 unless its something highly specific, any generic jtag/swd knowledge should apply Mar 05 19:23:30 ann: look at the openocd stuf Mar 05 19:23:33 stuff Mar 05 19:23:42 see if there is a driver for GPIO Mar 05 19:25:50 I wonder how useful the PRU could be to get timings right, etc. Mar 05 19:26:48 these are all synchronous protocols where the controller is the clock master, so getting the timing "right" is trivial Mar 05 19:26:53 getting it efficient is not Mar 05 19:27:08 pru could definitely help with that Mar 05 19:27:35 but unless the microcontroller is powered from the 3.3v of the beaglebone, you'd still need some glue logic to safely interface them Mar 05 19:29:25 that can be as simple as an opendrain/collector setup on each line Mar 05 19:29:51 I didn't say it necessarily required *complicated* glue logic Mar 05 19:29:56 :D Mar 05 19:30:04 in the i'd say, more than enough pointers for $TINKERING/HOMEWORK project :-P Mar 05 19:31:30 Thank you all for the thoughts Mar 05 19:31:38 although I think open drain might not work well at high frequencies? Mar 05 19:32:02 anyway for jtag a simple level shifter would suffice, swd is a bit trickier since it has a bidirectional line Mar 05 19:32:04 no one ever asked for a HIGH speed SWD interface ;) Mar 05 19:32:48 M0 is mostly SWD, IIRC Mar 05 19:32:55 The target device is FRDM-KV11Z that has openSDA on it Mar 05 19:33:17 We could program using micro USB Mar 05 19:34:22 3 GPIOs with a few transistors should suffice for a simple SWD (non optimal)...openocd has most of the pieces Mar 05 19:34:47 if your board has an integrated programmer via microUSB then the beaglebone is literally Just A Linux System Mar 05 19:34:50 wait, that's a dev-board Mar 05 19:34:59 exactly Mar 05 19:35:27 Yeah, Thats a dev board. Mar 05 19:41:16 or you can talk the JLink guys into selling you a PRU implementation of JLink ;) Mar 05 19:41:17 * ds2 ducks Mar 05 19:42:54 I still have a pru implementation of swd on my to-do list Mar 05 19:47:04 heh... that was a GSoC project Mar 05 19:47:31 hmm? Mar 05 19:50:24 Does anyone know the location for the expansion connectors from the center of the board ? I am designing an addon board for the BBx15 and I need the dimensions. Mar 05 19:51:30 i remeber all pcb files to be available .. and i further assume with dimensions too Mar 05 19:52:49 I couldn't find the dimensions. Do the PCB files open in Allegro? Mar 05 19:54:34 worse case, gerbv Mar 06 00:51:19 zmatt: If you are listening and if you did not read my other message, good. Mar 06 00:51:20 ... Mar 06 00:51:23 i will type it again. Mar 06 00:52:00 I am downgrading to Adafruit_BBIO 1.0.3. I am not going to use that version 1.0.10 for now to see if it works well. Mar 06 01:04:54 u-boot overlays can be found where? I want to add some to my uEnv.txt file. Please! Mar 06 01:19:39 Does this page on GitHub work for our BBBs on 4.9.x: github.com/beagleboard/bb.org-overlays? Mar 06 01:20:34 And what about: github.com/silver2row/bb.org-overlays/tree/master/src/arm? Mar 06 01:20:36 ... Mar 06 01:20:46 Are these still relevant? Mar 06 01:22:43 ... Mar 06 01:22:50 <<<< smoking but thinking Mar 06 01:36:37 <<<<<< testing Mar 06 01:40:40 don't worry smoke is still in your mind. Mar 06 01:41:01 Hey GenTooMan: Hello! Mar 06 01:41:13 Just bbb.io fumes. That is all. Mar 06 01:41:49 I almost changed the I2C library from Adafruit to work w/ this damn Motor Bridge Cape. Mar 06 01:43:06 did python-smbus update to a newer version or something? Mar 06 01:43:21 ... Mar 06 01:43:58 It is funny, the damn software runs while the error shows. I get Error accessing xxxx: Check your I2C address but my software still runs while the error shows. Mar 06 01:44:24 Of course it's actually mocking you, didn't you know that? Mar 06 01:44:47 Nope. Not yet. I will overcome and then I can say, "I did overcame." Mar 06 01:44:54 Ha! Mar 06 01:47:33 ... Mar 06 01:48:00 GenTooMan: Are you still making marks? Are you still making the updates to that schematic? Mar 06 01:52:18 ... Mar 06 01:52:28 maybe something changed in the python-smbus library. Mar 06 01:52:32 I might have to go back. Mar 06 01:52:44 To the past. Yes...back to the past. Mar 06 01:58:37 suggestion on how to keep your sanity? Mar 06 01:58:45 Well partially keep your sanity. Mar 06 01:59:22 I suggest you use subversion to maintain your projects so you can revert. When you get a version working you tag it so you have a named working version. Mar 06 02:06:06 Okay. Mar 06 02:06:26 These are not my software examples. Someone else wrote these examples/libraries. Mar 06 02:06:59 ... Mar 06 02:07:27 I am just trying to make them work w/ the infamous MBC, motorbridagecape if you are nasty. Mar 06 02:07:36 Sorry. Mar 06 02:07:56 GenTooMan: I will do that, though. Mar 06 02:08:02 Thank you. Mar 06 02:26:46 Subversion allows you to keep your work somewhere else too (same with git) and you can then get it back. You should do regular commits. If you use windows use tortoise SVN and you can make a repository on your machine update to that etc. Mar 06 02:30:13 Okay. Mar 06 02:30:38 I need permission from these people first. I know about all that GPL and Apache and etc... Mar 06 02:30:48 Well...sort of. I would rather have permission. Mar 06 02:34:11 I see well I suggest you read up on it some then https://tortoisesvn.net/ https://codex.wordpress.org/Using_Subversion, branching allows you to make copies of your base SW so for example you have MC then you need to branch it to test something so you make MC 0.1.0 when you have something you want to tag so that you can go make to it you make MC 0.1.1 (tag 1 of 0.1.0) etc. It's not complicated just takes some discipline Mar 06 02:39:54 Okay... Mar 06 02:39:55 ... Mar 06 02:40:14 I thought using GitHub.com would be easier. I got used to it over time. Mar 06 02:40:47 I just do not use it unless I am copying or cloning onto my machine. I sometimes watch and make someone else's repo mine. Mar 06 02:40:48 ... Mar 06 02:40:55 I try not to but people make some interesting stuff. Mar 06 02:41:07 if you have git hub access and know how to manage things with that. all you need to do is follow the same logic. Mar 06 02:41:22 I got that...it works. Mar 06 02:41:32 I have files on this 'puter too. Mar 06 02:42:07 ... Mar 06 02:42:17 It's not about the tool but what you do. So you commit what you have (or whatever the git equivalent) and make tags of things that work. If you have something you can release you give that leading 0 an increment. Mar 06 02:42:38 I have not branched out to set up something on my own. I am still clueless but gaining momentum. Mar 06 02:43:28 GenTooMan: This is set_ by the way. Mar 06 02:43:40 I changed names and reset my system. Mar 06 02:43:41 I would play with the tools and see how you can store your work and recover it safely. I would try with test stuff. And yeah I could tell :D Mar 06 02:43:51 Oh. Mar 06 02:43:55 Yea boy! Mar 06 02:44:07 Okay...seriously. I will try. Mar 06 02:44:14 Later...much later. Mar 06 02:44:29 If you have a serious project you want to keep that's the way to do it :D Mar 06 02:44:35 Not today, not tomorrow, but later. Mar 06 02:44:38 Okay. Good idea. Mar 06 02:44:44 I am tired of harassing people anyway. Mar 06 02:45:22 I have been reaching out blindly trying to get permission to have specific software for the hardware I hold. Mar 06 02:45:29 ... Mar 06 02:45:37 They license says yes but I think no. Mar 06 02:45:43 So, I ask anyway. Mar 06 02:46:04 They = The Mar 06 02:48:24 Ah. Well many things can change in a moments notice. You might consider SW that is floating around to drive PWM outputs from the BBB as something to look at to use for motor control. Mar 06 02:50:39 Okay. Mar 06 02:50:54 You are right. People change things to suit their needs w/out thinking of the general public. Mar 06 02:51:03 It is okay but someone needs a damn newsletter. Mar 06 02:51:51 I am off to smoke. Mar 06 02:51:53 Right the "beagle tossed salad" blog. It's starts with Let Us. Mar 06 02:52:07 Be back or be gone...who knows? Mar 06 02:52:12 ...yep. Mar 06 02:52:30 I think the saying is, "It ain't easy being cheesy. Mar 06 02:54:28 GenTooMan: pwm outputs won't help him much since he's using a motor driver cape whose outputs are controlled by a microcontroller that talks to the bbb, rather than being controlled directly by the bbb itself Mar 06 02:57:48 Yea...this thing has its own processor. Mar 06 02:57:55 I should have mentioned that idea. Mar 06 02:59:31 well...w/ Adafruit_BBIO v1.0.3, I changed the Adafruit_I2C.py library and almost have the error completely gone. Mar 06 02:59:49 I need to figure out what cause this extra four lines of error while my software runs. **** ENDING LOGGING AT Tue Mar 06 03:00:02 2018