**** BEGIN LOGGING AT Fri Mar 08 02:59:56 2019 Mar 08 12:55:02 hello there Mar 08 12:55:18 i am looking for a description of the testpoints of thwe beagle bone green wireless Mar 08 12:55:22 looking for testpoint 17 Mar 08 14:01:06 m Mar 08 15:00:44 while connecting bbb through usb , bbb is getting power Mar 08 15:01:30 yes Mar 08 15:01:33 sorry while connecting bbb through usb , bbb is not getting power Mar 08 15:02:06 does the bbb need the additional barrel jack? Mar 08 15:03:57 earlier it was working properly but later while using it suddenly went off Mar 08 15:04:33 now it is not taking power neither from usb nor from a 5v adapter Mar 08 15:05:00 i.e through the barrel jack Mar 08 15:05:44 please help!!! Mar 08 15:12:00 can anyone tell why beaglebone black does not take power Mar 08 15:12:07 hi Navneet Mar 08 15:12:23 I had a bbb that did the same Mar 08 15:12:34 so I made my teacher buy a new one Mar 08 15:12:37 and he was very angry Mar 08 15:12:57 you maybe shorted it Mar 08 15:13:02 what was the reason Mar 08 15:13:06 do you have like a macbook or any computer with a metal case ? Mar 08 15:13:17 short-cirtui I guess Mar 08 15:13:42 no i had kept in on bakelite sheet so no chance of shortin Mar 08 15:16:52 earlier it was working fine but while it was connected to a motor driver it, faced network abort a couple of times then later bbb got disconnected from pc Mar 08 15:17:44 we change motor driver later, it did work for sometime then again showed network abort and nbow we are not able to turn it on Mar 08 15:18:19 can anyone please help in this case Mar 08 15:18:25 PLEASEEE Mar 08 15:18:34 MAWKKKKK Mar 08 15:18:53 Navneet: how much are you willing to pay? Mar 08 15:19:32 anything for getting it repaired Mar 08 15:20:47 70€ and you get a new BBB Mar 08 15:20:50 there, problem solved Mar 08 15:21:19 ma chud Mar 08 15:21:39 don't chud me chud....whatever that means Mar 08 15:21:59 what's a chud Mar 08 15:22:34 look, you don't have a clue what you are doing, you bricked your board, you don't provide any information how you did it or even what you are doing right now. yet, you expect someone to spend a considerable amount of time fixing your problem Mar 08 15:22:44 i'm sorry, but life does not work that way! Mar 08 15:23:15 go to your boss and tell him you need a new board Mar 08 15:23:25 from what you describe you did something wrong with whatever is your motor driver Navneet Mar 08 15:23:41 you may not have shorted the apparent pads and pins but you may have done a wrong electrical connection Mar 08 15:23:45 which may be even worse Mar 08 15:24:12 i dont know where i have gone wrong Mar 08 15:24:13 a fried board is a fried board, there is no better or worse of it Mar 08 15:24:35 because all the connections were working earlier Mar 08 15:24:50 it may work for some time then stop working Mar 08 15:24:52 but later after some time its not getting power Mar 08 15:24:54 Navneet: just think, if you don't know what you did wrong, how shall we know what you did wrong, when we do not even know what you did at all Mar 08 15:25:12 for instance a component may slowly heat to high temperatures then burn or desolder or whatever Mar 08 15:25:19 you have 4830984309843094839 ways of frying a board Mar 08 15:25:33 earlier also it was kept on the same place while it was running and later at the same place while it was not catching power Mar 08 15:25:36 mawk: it's more likely some pin that got some voltage that it wasnt supposed to get Mar 08 15:25:49 okay Mar 08 15:25:52 mawk: or a connection missing Mar 08 15:26:10 mawk: or a meteorite hit it Mar 08 15:26:12 lol Mar 08 15:26:13 or whatever Mar 08 15:26:19 but it showed me network abort Mar 08 15:26:27 we fucking don't know and cannot without knowing in detail what mister Navneet did Mar 08 15:26:45 ok.. enough shouting at users for today Mar 08 15:26:48 bye Mar 08 15:26:58 what you want me to detailing i know this much ony Mar 08 15:28:18 thanks for your kind help and sorry if i annoyed you Mar 08 15:29:01 oh.. at least you are polite Mar 08 15:29:03 thank you for that! Mar 08 15:29:22 ok bye Mar 08 15:29:29 your network abort thing is a sign of pre-failure like any other Mar 08 15:29:32 uh Mar 08 15:29:33 lol Mar 08 15:30:06 he needs to get someone local with clue Mar 08 15:30:10 no way to help him remotely Mar 08 15:33:31 anyways, anyone has experience with the beaglebone green wireless? Mar 08 16:04:07 what is your question lastaid ? Mar 08 16:10:49 i am trying to get swaa162a running Mar 08 16:11:25 i finally have internet, the documentation is slightly fragmented and its sometimes hard to find something beagle bone green wireless specific Mar 08 16:12:58 http://www.ti.com/lit/an/swaa162a/swaa162a.pdf Mar 08 16:13:00 this ? Mar 08 16:14:50 yes Mar 08 16:15:21 hardware setup should be ok, given that i correctly guessed TP17 (GPIO11 on WL8) Mar 08 16:42:27 I have a IR remote control from an arduino starter kit: https://imagebin.ca/v/4ZV44UrXlesJ I have to start a bash script when a remote control button is pressed , is it possible to achieve this with beaglebone ? Mar 08 18:04:07 Hey team, I'm trying to turn on my SPI pins on my BeagleBoard. I flashed my BB w/ the latest version of linux. So I'm editing the uEnv.txt file, however it's not working. Any advice or resources? Mar 08 18:04:34 how did you edit it ? Mar 08 18:04:50 The uEnv.txt file? Mar 08 18:04:52 yes Mar 08 18:05:03 you don't have the /dev/spidevX.Y ? how did you conclude that SPI doesn't work ? Mar 08 18:05:25 under /dev/ I do have spidev1.0, 1.1, 2.0, and 2.1. Mar 08 18:05:32 yeah so it works Mar 08 18:05:59 I'm running a C Program that I found online, that I assumed would work and output some numbers through the SPI. It's giving me 0s as output, which the developer specified as "not working" Mar 08 18:06:08 So I'm running under the assumption that the C Program works Mar 08 18:06:15 can I see it ? Mar 08 18:06:32 Could I link website here to the program? Mar 08 18:06:36 yes Mar 08 18:06:48 http://embedded-basics.blogspot.com/2014/10/enabling-spi0-on-beaglebone-black.html Mar 08 18:07:04 The comment block that start with "SPI Testing Utility" in the C Program Mar 08 18:07:10 is the program that I'm running Mar 08 18:08:14 yeah it's using spidev as intended Mar 08 18:09:08 under /dev/, I do see spidevX.Y. does it work the same as the USB-UART interface? Mar 08 18:09:19 no, SPI is a bit special Mar 08 18:09:20 e.g. I can "echo test > /dev/spidev1.0" Mar 08 18:09:22 no Mar 08 18:09:28 well you can, yes Mar 08 18:09:30 and send the word test through the SPI port? Mar 08 18:09:34 yes Mar 08 18:09:39 you can do that, but only for testing with a scope Mar 08 18:09:48 otherwise you better be setting up the SPI parameters before Mar 08 18:09:51 What do you mean by testing with a scope? Mar 08 18:10:02 you look at the MOSI pin output for instance Mar 08 18:10:04 with an oscilloscope Mar 08 18:10:25 otherwise if you have a precise timing and SPI mode you need to ensure they are set up correctly Mar 08 18:11:32 In terms of a configuration, I have 3 wires setup right now: SPI1_D0, SPI1_D1, and SPI1_CLK Mar 08 18:11:38 Is that all that is needed? Mar 08 18:12:04 you need to connect the ground too Mar 08 18:12:07 and the chip select Mar 08 18:12:16 so 4 wires for SPI + a ground wire Mar 08 18:15:44 What does CS (Chip Select) do? Mar 08 18:15:51 Does that determine the transfer speed? Mar 08 18:15:54 it tells the other party when he can start to read Mar 08 18:15:55 no Mar 08 18:16:06 the transfer speed it asserted by the master device, through its clock Mar 08 18:16:19 chip select is to wake up the other party and tell it a transfer is coming Mar 08 18:21:48 If i have spidev1.0, 1.1, 2.0, and 2.1. Does that mean both SPI0 and SPI1 are active? Mar 08 18:33:05 yes Anthony__ Mar 08 18:33:20 spidev1.0 is chipselect0 of SPI0, spidev2.0 is chipselect0 of SPI1, and so on Mar 08 18:33:45 so use the correct chipselect of the correct SPI pins Mar 08 18:57:10 don't forget to configure the pins with config-pin Mar 08 20:19:48 isn't it what the overlay does already zmatt ? Mar 08 20:20:24 he's using an overlay? I missed that Mar 08 20:21:45 it sounds like he tried (So I'm editing the uEnv.txt file, however it's not working.) but he probably followed ancient instructions that have no effect on today's images Mar 08 20:22:16 reading all-zero on MISO is consistent with no pinmux having been setup Mar 08 20:23:12 Anthony__: to clarify: on current images you don't need to change anything in /boot/uEnv.txt, you can configure pin mode at runtime using the config-pin utility Mar 08 20:25:37 yeah he did that Mar 08 20:26:11 using an overlay is also an option, then you'd set e.g. uboot_overlay_addr4=/lib/firmware/BB-SPIDEV1-00A0.dtbo (or BB-SPIDEV1A1-00A0.dtbo, depending on the desired pinmux) Mar 08 20:26:22 but also there's the universal cape which enables spidev by default no ? Mar 08 20:26:28 also if you want to use SPI1 you need to disable hdmi audio by uncommenting disable_uboot_overlay_audio=1 Mar 08 20:27:14 mawk: universal overlay is enabled by default yes, that's why he had spidev devices for both chip selects of both spi peripherals Mar 08 20:28:28 but you do still need to setup pinmux (e.g. using config-pin) to use those Mar 08 20:29:30 ah Mar 08 20:29:32 right Mar 08 20:29:47 but the pin function 0 on the SPI0 pins is SPI Mar 08 20:29:58 pins don't default to pin function 0 Mar 08 20:30:00 so somethings at some point changes the pin function away from spi ? Mar 08 20:30:01 ah Mar 08 20:30:03 I see Mar 08 20:30:32 pins default to gpio (unless configured differently by the bootloader) Mar 08 20:31:23 and the hardware default isn't that important anyway, when using the universal overlay the default pinmux is simply whatever the pinmux labeled "default" for a pin is in DT Mar 08 20:31:46 for the BBB that's gpio except for the cape i2c bus Mar 08 20:32:00 like on the rpi Mar 08 20:32:05 i2c bus for capes/hats Mar 08 20:32:19 yeah, though you can reconfigure those pins too Mar 08 20:32:50 i was just watching a jason video on the pocketbeagle .. * still watching / listening * can you use the cortex-m3 just like the prus? Mar 08 20:35:08 not really. the cortex-m3 is located in the wakeup domain and is typically just used for certain power management tasks. you could do without that and put your own firmware on it, or merge your own stuff into the normal firmware (the source code is public), but it has very little ram and quite limited system access Mar 08 20:39:26 it has 24KB of ram (for code + data), and only access to the peripherals on the L4WK interconnect (prcm, control module, timers 0-1, gpio 0, uart 0, i2c 0, adc/tsc, watchdog, rtc, system trace port) Mar 08 20:40:15 brb Mar 08 21:09:12 thanks zmatt Mar 08 22:44:38 USB to jack works now...bots! Mar 08 22:46:09 Now back to configuration of the motors. For some reason, I am receiving negative feedback from the directions of which the motors are programmed to move. Mar 08 22:47:33 Could be some bad connections only or some could be a couple of badly placed leads. Mar 08 22:48:00 Time will tell. Mar 08 22:48:10 MotorCape! Mar 09 01:38:50 W/ four motors all at 100% duty w/ PWM w/ Adafruit_BBIO.PWM as PWM and w/ the MotorCape, why is it that two motors are going in one direction on one side of my bot and the other side has the motors going in the opposite direction? Mar 09 01:38:50 ... Mar 09 01:39:11 Could it be that my GPIO pins are high instead of low or vice versa? Mar 09 01:56:50 Just saying. On one of BBBW boards, the pinmux file is found and on the other one, the one w/ the MotorCape, the pinmux file for the GPIO pins are not found (none of them). Mar 09 01:57:09 Off to config-pin! Mar 09 01:59:16 config-pin is not working on my board w/ and w/out sudo. Mar 09 02:04:48 https://pastebin.com/Tm6DGr19 is some software that shows what the pins should understand on direction. Enjoy! Mar 09 02:04:54 It may help but probably not. Mar 09 02:06:01 Is there a way to reset config-pin? Mar 09 02:06:08 w/out a new image? Mar 09 02:06:38 brb Mar 09 02:16:13 any ideas? Mar 09 02:30:33 New ideas and a new image time! Sorry, I cannot wait. I have to try other routes. Mar 09 02:35:00 set_: ehh, aren't the motors simply all going the same way? if you have two motors on the left of an rc car and two on the right, you actually need those spinning in opposite directions to make the car move forward (rather than turning in place) Mar 09 02:35:21 regardless, if they're not going the direction you want them to when you command them to go "forward", just swap the leads of the motor? Mar 09 02:36:16 also, your link doesn't work Mar 09 02:36:23 "This is a private paste." Mar 09 02:39:21 Hey! Mar 09 02:39:33 Oh. Mar 09 02:39:37 Sorry. Mar 09 02:39:44 Please hold. Mar 09 02:40:54 https://pastebin.com/x3h0TpwG is the idea basically. It is from your help and some other ideas I found online. Mar 09 02:41:07 And from a book. Mar 09 02:41:21 All mashed up and ready for "show and tell." Mar 09 02:41:40 I am just worried about the forward for now. Mar 09 02:41:45 The rest will change in time. Mar 09 02:42:47 So, front left and back left on the bot go forward. It is the opposite on the front/back right side. Mar 09 02:42:59 Yea. I guess I could do that. Mar 09 02:43:08 I could change the leads, too. Mar 09 02:43:46 ... Mar 09 02:44:16 Dang it. I already put the bot together. More mechanical! No! Mar 09 02:44:39 Oh well, I guess. I will just use the soldering iron again. Anyway, thank you. Mar 09 02:45:09 ... Mar 09 02:45:20 zmatt: Something is wrong w/ config-pin on the board. I think. Mar 09 02:46:05 I mean you can reverse the polarity in software just as easily if swapping the leads in hardware is inconvenient Mar 09 02:46:08 what do you mean? Mar 09 02:46:09 Nope. It is only on Linux distros that the config-pin cmd does not work. Mar 09 02:46:16 I know. Mar 09 02:46:19 ??? Mar 09 02:46:48 Get this idea. Mar 09 02:47:09 I should need to keep saying this but: please give the actual error Mar 09 02:47:15 I could not use config-pin on the Linux Ubuntu machine w/ the BBBW plugged in but it works well in PuTTY on WIn. Mar 09 02:47:21 Oh. Mar 09 02:47:22 ehm Mar 09 02:47:23 Please hold. Mar 09 02:47:44 were you trying to do config-pin on the linux machine itself instead of on the bbb? :P Mar 09 02:47:49 No. Mar 09 02:48:17 I would have to sign in again w/ this BBBW to see the actual error. Mar 09 02:48:20 Please hold. Mar 09 02:48:33 Do you have an extra 30 minutes or are you busy for tonight? Mar 09 02:49:21 I maen, I'll probably be here for some time still Mar 09 02:49:49 Okay. Do not worry about it. I am going to try and change some stuff on the bot before messing w/ the software again. Mar 09 02:49:50 ... Mar 09 02:49:53 I will try again later. Mar 09 02:50:28 Changing the leads will work. I just thought it was something odd. Mar 09 02:50:48 but, you seem to be talking about two different issues? Mar 09 02:51:07 Well. I have to control this bot via HTML page online from a distance. Mar 09 02:51:17 WiFi! Mar 09 02:51:36 okay, what on earth does that have to do with the other two things you've been talking about? Mar 09 02:51:50 I was just giving some background on the bot. Mar 09 02:52:06 (by which I mean some vague unspecified problem with config-pin, and the direction of the motors) Mar 09 02:52:23 Yea. Those things all have to do w/ this bot. Mar 09 02:52:32 I'll see if I can extend my class to be able to easily specify a polarity for the motors Mar 09 02:52:40 Except, that config-pin utility issue was odd to me. Mar 09 02:52:44 Do not worry about it. Mar 09 02:52:56 I do not need another class. It is okay. Mar 09 02:53:24 so next time, make a pastebin of whatever weird issue Mar 09 02:53:30 Okay. Good idea. Mar 09 02:53:46 I will do it again soon. So, the pastebin will be here in the chat soon. Mar 09 02:53:54 Not tonight. Mar 09 02:54:15 most likely tomorrow or Sun. Mar 09 02:54:43 You know. It could be that me updating the kernel fixed the issue. Mar 09 02:55:12 I had not rebooted the machine yet. I booted it on another computer, though. Mar 09 02:55:29 updating the kernel? to what? Mar 09 02:55:47 ti-r95 Mar 09 02:56:06 so i've had my BBB sitting in the drawer since probably 2013? I was letting the whole BB eco system percolate ... I guess it has been long enough. Are there anything roadblocks I should know about getting the latest stuff (assuming debian) going on one of the original 2GB emmc flash? Mar 09 02:56:07 4.14.94-ti-r95 Mar 09 02:56:33 Rickta59: yeah, it doesn't fit :D Mar 09 02:56:44 aside from that Mar 09 02:56:45 SD Card! Mar 09 02:56:48 Rickta59: at least the iot and lxqt images don't Mar 09 02:56:51 the console image is fine Mar 09 02:56:57 yeah that is all i ever used Mar 09 02:57:11 gadget or serial console Mar 09 02:57:31 does the console image set up the usb gadget? I'm not actually sure Mar 09 02:57:38 Yes. Mar 09 02:57:40 it has been so long Mar 09 02:57:42 I guess it might Mar 09 02:57:50 i stole the sd card i had setup for an rpi Mar 09 02:58:14 would I be better off just snagging a pocketbeagle? Mar 09 02:58:39 (there is actually also a way to flash a BBB without needing an sd card => https://github.com/ravikp7/node-beagle-boot ) Mar 09 02:58:46 better for what? Mar 09 02:58:54 * main goal is to spend some time learning the pru Mar 09 02:58:59 a pocketbeagle is a strict subset of the functionality of a BBB, even an old one Mar 09 02:59:07 possibly 3d printer controller Mar 09 02:59:18 klipper style Mar 09 02:59:20 pocketbeagle has less I/O, no ethernet, no eMMC Mar 09 02:59:34 ah .. no ethernet .. that is stopper Mar 09 02:59:43 * would want to provide a web server Mar 09 03:00:02 3d printer also sounds like you might need a fair bit of pins Mar 09 03:00:10 not that many Mar 09 03:00:17 certainly less than the 80 it has Mar 09 03:00:31 40 would be plenty **** ENDING LOGGING AT Sat Mar 09 03:00:34 2019