<zmatt> if it's hanging and never throwing an error then try/catch can't help since there's nothing to catch
m-atoms has quit [Ping timeout: 272 seconds]
thinkfat has joined #beagle
thinkfat_ has quit [Ping timeout: 256 seconds]
mattb0ne has quit [Remote host closed the connection]
starblue has joined #beagle
starblue3 has quit [Ping timeout: 256 seconds]
RossSchulman[m] has quit [Read error: Connection reset by peer]
shoragan[m] has quit [Write error: Connection reset by peer]
mvaittin has quit [Remote host closed the connection]
jkridner[m] has quit [Write error: Connection reset by peer]
shoragan[m] has joined #beagle
mvaittin has joined #beagle
RossSchulman[m] has joined #beagle
jkridner[m] has joined #beagle
shoragan[m] has quit [Quit: node-irc says goodbye]
RossSchulman[m] has quit [Quit: node-irc says goodbye]
jkridner[m] has quit [Quit: node-irc says goodbye]
mvaittin has quit [Quit: node-irc says goodbye]
buzzmarshall has quit [Quit: Konversation terminated!]
<GenTooMan> sounds like something a watch dog timer might be useful for.
set_ has quit [Quit: I thought I saw a puddy-cat...]
vigneshr has joined #beagle
rob_w has joined #beagle
LetoThe2nd has joined #beagle
otisolsen70 has joined #beagle
shoragan[m] has joined #beagle
mvaittin has joined #beagle
jkridner[m] has joined #beagle
RossSchulman[m] has joined #beagle
shoragan[m] has quit [Quit: Client limit exceeded: 20000]
RossSchulman[m] has quit [Quit: Client limit exceeded: 20000]
jkridner[m] has quit [Quit: Client limit exceeded: 20000]
mvaittin has quit [Quit: Client limit exceeded: 20000]
shoragan[m] has joined #beagle
jkridner[m] has joined #beagle
mvaittin has joined #beagle
RossSchulman[m] has joined #beagle
RossSchulman[m] has quit [Quit: Client limit exceeded: 20000]
jkridner[m] has quit [Quit: Client limit exceeded: 20000]
mvaittin has quit [Quit: Client limit exceeded: 20000]
shoragan[m] has quit [Write error: Connection reset by peer]
shoragan[m] has joined #beagle
RossSchulman[m] has joined #beagle
jkridner[m] has joined #beagle
mvaittin has joined #beagle
aswin has joined #beagle
RossSchulman[m] has quit [Remote host closed the connection]
mvaittin has quit [Remote host closed the connection]
shoragan[m] has quit [Read error: Connection reset by peer]
jkridner[m] has quit [Read error: Connection reset by peer]
Shadyman has quit [Quit: Leaving.]
M-blaise has quit [Quit: WeeChat 2.8]
<zmatt> that won't help you understand why your code is hanging :P
shoragan[m] has joined #beagle
mvaittin has joined #beagle
RossSchulman[m] has joined #beagle
jkridner[m] has joined #beagle
set_ has joined #beagle
charlie5 has quit [Ping timeout: 268 seconds]
aswin has quit [Ping timeout: 252 seconds]
charlie5 has joined #beagle
xet7 has quit [Quit: Leaving]
akaWolf has quit [Ping timeout: 268 seconds]
aswin has joined #beagle
akaWolf has joined #beagle
florian has joined #beagle
akaWolf has quit [Ping timeout: 258 seconds]
akaWolf has joined #beagle
aswin has quit [Quit: Lost terminal]
<GenTooMan> per discussion with safety minded people, your code hanging and the unit rebooting isn't a problem your code hanging and the system not resetting is a problem.
<GenTooMan> that is the system needs/wants to recover
rob_w has quit [Quit: Leaving]
buzzmarshall has joined #beagle
<mru> if in doubt, reboot
otisolsen70 has quit [Quit: Leaving]
GenTooMan has quit [Remote host closed the connection]
GenTooMan has joined #beagle
Guest71 has joined #beagle
<Guest71> Hi
<Guest71> I would like to know..few things on how to power up the wireless BBB revC board,
<Guest71> I would like to power the board with DC barrel jack using 5V and also connect it to my laptop for coding through microUSB cable..
<Guest71> Will it be fine, if I provide both the power inputs simultaneously?
<mru> yes, that's fine
<Guest71> Thank you very much.. Is there a way to take the DC barrel jack pins to DC power supply pins in the PCB board?
<zmatt> Guest71: the DC barrel jack also connects directly to expansion header pins, if that's what you mean
<zmatt> so you can power the beaglebone via the expansion headers instead of using the DC barrel jack
<zmatt> use P9.01+P9.02 = gnd, P9.05+P9.06 = +5V
<zmatt> see also the P9 overview of my pins spreadsheet: https://goo.gl/Jkcg0w#gid=1775283126
Guest37 has joined #beagle
<Guest37> in begale bone green, wifi gets locked , can someone help?
<Guest71> Thank you ver much zmatt, Appreciate your help. I will try it now..
<zmatt> Guest71: (using both ground pins and both 5V pins is recommended, for both redundancy and because the theoretical max current exceeds the per-pin max current capacity of the expansion header)
<Guest71> you mean that, I do have to connect my power source +ve pin to both P9.05 and P9.06 pins?
<zmatt> Guest37: what do you mean with "gets locked" ? and are you talking about client mode (bbg connected to a wifi network) or access point mode (laptop connected to wifi network created by bbg)
<Guest71> not just for single P9.05 pin?
<zmatt> Guest71: officially yes, though for prototyping you can generally get away with just a single pin
<Guest71> Ok,will try it out..Appreciate it..
<zmatt> it depends also a bit on what you're doing with the beaglebone... like, if you have a usb device connected to the beaglebone that draws the max allowed current (500 mA) and have high cpu load, continuous network traffic, continuous eMMC/SD access, hdmi video enabled... that all adds up
<Guest71> Yes, I do work with some sensors stuff and use quiet bit of power from board
<Guest71> I would try with both the pins then
<zmatt> if the total current may exceed 1A then you should definitely use both 5V pins and at least two ground pins
<Guest37> connected to a wifi network
<zmatt> f
<Guest71> Sure, that helps a lot
<zmatt> for comparison an idle beaglebone with network connected but nothing else is around 0.25A or so
<Guest37> that answer was for me or guest71
<Guest37> i think he had power issue..
<zmatt> for you
<zmatt> eh
<zmatt> argh
<zmatt> why are both of you called Guest ... pick a name :P
<zmatt> you can change your name with /nick followed by your desired name (as long as it's not in use)
<Guest37> sure. will do.. started working on beagle bone now so new here.
<zmatt> Guest71: 100% cpu load and reading from eMMC shows 0.4A
<zmatt> Guest37: with "wifi gets locked" do you mean the connection drops and doesn't reconnect?
<Guest37> yes.
<zmatt> does the beaglebone otherwise still seem to be operational? can you still connect to it via usb?
Guest37 has quit [Quit: Client closed]
<zmatt> also, I don't know if the bbgw is shipped with the antennas rotated inward over the pcb (like the BBBW is) but make sure they're rotated to point away from the board, like https://beagleboard.org/static/images/BBGW_vertical.png though ideally with a bit more distance between the antennas (e.g. point them out diagonally) for optimal reception
<zmatt> also, if you have stuff connected to the P9/P8 expansion headers, be sure to leave the following pins alone: P8.11-18, P8.26, P9.12, and P9.41 since the BBGW (obnoxiously) occupies these for use by the wifi/bt chip
<zmatt> (for a detailed pin comparison between the BBB, BBBW, and BBGW, see https://pastebin.com/Fi8Vh0n5 )
Guest37 has joined #beagle
<zmatt> oh he left
<Guest71> Hi
<Guest71> I do have some similar questions on power..but more related to voltage and current levels on individual pin
<Guest71> When I see the reset pin, it seems, it is the P9.10 and I would like to make my own button out of it.. would you recommnd using any resistor for connecting this pin
<Guest71> ?
<Guest71> currently, I am connecting one pin of my button to P9.10 (reset pin) and another pin to GND pin
<Guest71> Appreciate any suggestions
<zmatt> just a button between the reset pin and ground is fine, that's what the beaglebone's own reset button does
<zmatt> as for voltages and currents: digital I/O is 3.3V logic, the analog inputs are max 1.8V
<zmatt> try to avoid drawing excessive current from digital outputs, like max 4 mA or something
<Guest37> beaglebone connects to wifi but cant ping internet
<Guest37> cant ping google.com
LetoThe2nd has quit [Quit: Connection closed for inactivity]
<zmatt> Guest71: see the Elec tab of my pins spreadsheet for a summary of some electrical specs, see the AM3358 datasheet for more detailed specs and absolute maximum ratings
bhagwat has joined #beagle
<zmatt> Guest37: please use pastebin.com (or other paste service of your choice) to share the output of the following commands:
<zmatt> connmanctl state
<zmatt> ip addr
<zmatt> ip route
Guest71 is now known as ABD
<zmatt> cat /etc/resolv.conf
<zmatt> ... I think that should do
<ABD> that makes sense..aand you almost gave me my second question answer too
<bhagwat> root@beaglebone:~# connmanctl state
<bhagwat> State = online
<bhagwat> OfflineMode = False
<bhagwat> SessionMode = False
<zmatt> bhagwat: don't paste into the chat!
<zmatt> like I said, use a paste service like pastebin.com
<zmatt> and share the link here
<bhagwat> ok
<zmatt> also you don't need to be root for any of this
<ABD> I am currently making a switch that would make digital pin to go make 1 and 0, i.e., in my program, I want to read 0 when I turn OFF the switch and vice versa
<zmatt> ABD: that would be the "active high" configuration in this: http://inside.mines.edu/~coulston/courses/EENG383/lecture/img/button.jpg
<ABD> I am currently connecting P8.7 with 1k-Ohm resistor in series to one of the switch Pin, and other switch pin goes to 3.3V pin
<zmatt> ABD: not much reason to have a resistor in series with the switch, unless you're afraid of accidently configuring the pin as output in software and want to protect the beaglebone against that
<ABD> Oh..the circuit you send is bit different than, what I was doing
<ABD> What is RA1 and RA0? are these the digital pins?
<zmatt> ABD: instead of having an external pull-down resistor like shown in the image you may be able to rely on internal pull-down in the processor (most pins have configurable pull-up/down, some are default pull-up others are default pull-down), though the internal pulls are quite weak and some pins have caveats so it may be better to just use external pull-down
<zmatt> yeah this is just a random image from the internet, not specifically for the beaglebone, so RA0/1 are presumably what the gpios are called here
<Guest37> @zmatt can you check our pastebin link? Bhagwat and myself are a team
<zmatt> there's definitely something wonky going on with your wifi
<zmatt> the 0.0.0.0 nameserver entry is not normal
<zmatt> you configured your wifi connection via connmanctl ?
<zmatt> wait
<zmatt> what
vagrantc has joined #beagle
<zmatt> oh righ
<bhagwat> configured via start.html
<bhagwat> verified using connmanctl it was showing already connected.
<zmatt> I was confused by Generated by Connectoin Manager" but that's just the full name of connman... I'm not used to seeing it be called anything other than "connman"
<zmatt> oh you're using the old BBGW custom image... I don't really know anything about it
<zmatt> isn't it ancient? what does "cat /etc/dogtag" say?
<ABD> Ok Thank you, and my third question is, when I am using PWM pins P9.14, it is kind of having some issues with cleaning the pins. DO you have a better way to clean these pin, once the program has been executed?
<zmatt> bhagwat: anyway, it looks like either your DHCP server is misbehaving or connman is misbehaving
<bhagwat> BeagleBoard.org Debian Image 2016-06-14
<zmatt> i.e. really ancient
<bhagwat> tried with latest flasher image, but it is asking for beaglebone wifi password
<bhagwat> so connected using UART on latest flasher image..and tried to ping to google.com but same error..
<zmatt> for the wifi access point? default is "BeagleBone"
<bhagwat> yes..
<zmatt> (the access point can be configured in /etc/default/bb-wl18xx )
<zmatt> if the current image has the same problem I'm guessing your DHCP server is actually handing out this nonsense information
<zmatt> lemme see if there's an easy way to verify this
Guest37 is now known as ArtiShah
<bhagwat> I had entered wlan0 information in /etc/network/interfaces and assigned static IP.. but it was not connecting.
<zmatt> don't do that
<zmatt> /etc/network/interface must not be used for any interfaces managed by connman
<zmatt> it will fight you
<zmatt> it looks like you can manually configure the nameserver list via connmanctl
<bhagwat> yes, had reverted back /etc/network/interface as it was not working.
<bhagwat> ok. what options to use using connmanctl to set nameserver?
<zmatt> connmanctl config SERVICE nameservers 192.168.0.1
<zmatt> where SERVICE is the name of your wifi connection, shown by "connmanctl services" (in the right column)
<zmatt> also, maybe fix your DHCP server ;P
<bhagwat> let me check..
<bhagwat> working now.. @zmatt https://pastebin.com/7Yw00N24
<bhagwat> thanks a ton.
<bhagwat> finally i can run apt-get update now..
<zmatt> note that this is of course just an ugly workaround... the proper fix is fixing the DHCP server on your network... it's handing out nonsense
<zmatt> are you not experiencing problems on any other devices? like slow dns resolution?
<bhagwat> i have connected to the router
<bhagwat> no problem with other devices.
<zmatt> the router is evidently telling the beaglebone that the nameservers are "0.0.0.0" and "192.168.0.1" ... while the first of those is obviously wrong
<bhagwat> beaglebone shows up in networks , can ping to other devices from beaglebone
<zmatt> so maybe double-check your router configuration to see if there's a nameserver config field somewhere that erroneously has 0.0.0.0 in it
<bhagwat> ok.. thanks a lot.
<zmatt> it does seem like connman is making the problem worse
<ArtiShah> thanks a lot zmatt
<zmatt> it "helpfully" added a route to 0.0.0.0, presumably with the reasoning that if the router is saying that that's the nameserver then the router should know how to reach it
<bhagwat> yes, thought so and tried to do network setting manually..
<zmatt> so that's causing a long timeout on attempting to ask 0.0.0.0 for dns queries
florian has quit [Quit: Ex-Chat]
<zmatt> while other devices that don't use connman probably immediately find out 0.0.0.0 isn't reachable and therefore try to the next dns server in the list
<zmatt> thus hiding the problem
<bhagwat> got it.. thanks..
<zmatt> (connman kinda sucks imho)
<ArtiShah> thanks.. we will contact you again in case of any other issue.. but you have solved an issue which would have taken long time to solve .
<zmatt> btw it's probably a good idea to use the latest image instead of one from 2016
<bhagwat> sure..
<ArtiShah> agreed.
<ArtiShah> for the latest image of linux
<bhagwat> do you know latest image wifi (beaglebone) password?
<zmatt> I already answered that earlier:
<zmatt> 18:39 <@zmatt> for the wifi access point? default is "BeagleBone"
<bhagwat> oh ok..
<bhagwat> i tried with beaglebone
<zmatt> capitalization matters
<bhagwat> got it..will try tomorrow..as it took almost one hour to get new image
<zmatt> oof
<ArtiShah> thanks
ArtiShah has quit [Quit: Client closed]
<bhagwat> may i know your linkedin profile zmatt
<zmatt> I don't use linkedin
ABD has quit [Quit: Ping timeout (120 seconds)]
bhagwat has quit [Quit: Client closed]
MrAureliusR has quit [Quit: ZNC - https://znc.in]
MrAureliusR has joined #beagle
buzzmarshall has quit [Remote host closed the connection]
ft has quit [Ping timeout: 240 seconds]
ft has joined #beagle
ft has quit [Ping timeout: 252 seconds]
Shadyman has joined #beagle
oshfan has joined #beagle
<oshfan> hello all
<GenTooMan> all says hello
<oshfan> Can anyone tell me if all Beaglebone Black capes are OSH? I can't seem to find a satisfactory answer online. I get that the actual boards are open-source hardware, does that include the peripherals? Seems a bit weird if not...
<vagrantc> almost certainly not
<vagrantc> the capes are produced by arbitrary parties, who may develop them however they wish
<oshfan> Wow that's an assertive answer, I got that 4d screen cape, and I was just hoping it was pretty interference-proof as far as Wifi, backdoors etc go: https://www.amazon.co.uk/SeeedStudio-Beaglebone-Display-Source-BOOOLE/dp/B01FXNIX16
<oshfan> Thanks for the preliminary answer vagrantc
<vagrantc> i mean, some probably are potentially open hardware, but there's no way to require that they be
<vagrantc> the beaglebone black provides a standard interface that people can implement more-or-less whatever
<vagrantc> and some might be well intentioned but not provide enough to really call them open
<oshfan> Can I ask how the Bone community is doing in general? What do people use them for these days? I haven't used mine for like, 4 or so years, but I do like them just for coding stuff. Are they outdated now? Or eternally beloved?
<oshfan> They certainly haven't fallen in price much since I was hoovering up SoC boards, but I went over to the Orange Pi since it was quadcore and suited me just as well for programming stuff.
<vagrantc> don't have much to say there, but have to head out, hopefully someone can chime in! :)
* vagrantc waves
vagrantc has quit [Quit: leaving]
<oshfan> Nice chap.
<oshfan> That screen cape btw had some nasty issues, I had to use it in command line as the startx-type interface had a weird 'pointer shoots to the corner and jams the board' problem, which the company in Australia refused to accept without me spending the price of the board to send it to them for repair.
<oshfan> Anyways, said my bit. Nice to see plenty of people in here after all those wasted years. Adios amigos
oshfan has quit [Quit: Client closed]
<zmatt> okay, vim's regex engine has some really weird bugs involving backreferences to a capture group that ends in a newline
ft has joined #beagle
buzzmarshall has joined #beagle
lucascastro has quit [Remote host closed the connection]
lucas_ has joined #beagle