**** BEGIN LOGGING AT Tue Jul 21 02:59:58 2015 Jul 21 06:02:34 I try to geht USB HID gadgets with configfs running on a BBB with Debian wheezy but if i try to "sudo modprobe g_hid" I always get "ERROR: could not insert 'g_hid': No such device" Jul 21 06:07:22 andy1978: you'd need to unload g_multi first, have you done that? also the module might need options passed along Jul 21 06:08:43 tbr: Yes, I've disabled g_multi first. Let me figure out the optiuons Jul 21 06:18:00 tbr: "modinfo g_hid" tells me, that there are some parm like idVendor, idProduct and so on. But even If I set all of them I get "No such device" Jul 21 06:18:52 hm Jul 21 06:19:01 * tbr never used g_hid specifically Jul 21 06:21:40 this seems to have some hints: https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt Jul 21 06:38:56 hi Jul 21 06:47:24 So I just fried my bbb while I was desoldering and replacing a relay on a pcb that the bbb was connected to. Nothing was powered. Could the energy from the soldering iron somehow have fried my board? Jul 21 06:50:07 endoped: ESD? Jul 21 06:50:31 endoped: Killing some CMOS parts with Electrostatic discharge is always an option... Jul 21 06:50:44 Can that be generated just from heat? Jul 21 06:50:47 no Jul 21 06:52:44 I was being fairly careful about esd, andy other ideas? It was working fine before I desoldered and replaced the relay. Then after doing that, it won't turn on at all. Jul 21 06:53:02 perhaps you made a short circuit? Jul 21 06:53:25 would that matter if nothing was powered? Jul 21 06:53:35 you may measure resistance between the suply and gnd Jul 21 06:53:59 no, perhaps you soldered a short circuit and it's still present Jul 21 06:54:14 did you try powering bbb without anything other than power source connected to it? Jul 21 06:55:12 i did not get? Jul 21 06:55:14 srry Jul 21 06:55:38 yeah, doesn't work. the power light blinks briefly, then no life Jul 21 13:26:33 is it possible to fry a bbb by applying too much heat to the 5V pin? Jul 21 13:31:20 endoped: without specifying "too much" more precisely - of course. Jul 21 13:33:05 well it was an 800 F solder iron and i was desoldering a part on a pcb that the bbb was connected to. Jul 21 13:35:48 the only pin on the bbb that would have taken the heat would have been 5V pin Jul 21 13:36:02 well the simple question is: does it still work Jul 21 13:38:09 nope Jul 21 13:38:14 oh Jul 21 13:38:26 what was it soldered to, exactly? Jul 21 13:38:33 the power light briefly blinks when i apply power Jul 21 13:38:41 but then its a brick Jul 21 13:39:04 where is the 5v pin on a bbb? in the serial header? or did you previously desolder the 5v jack Jul 21 13:39:06 a custom made pcb that interfaces with the bbb Jul 21 13:39:10 ouch :( i abuse my bbw all the time and she still comes back for more Jul 21 13:39:52 or did you have a male pin plugged into the female cape headers and that was what you were soldering on Jul 21 13:41:57 i had the 5Vdd plugged into the pcb, and I was desoldering and replacing a relay on the pcb...nothing was powered but there was an electrical connection from the pad i was soldering to the 5Vdd pin on the bbb Jul 21 13:42:48 what kind of soldering iron did you use? it wasn't one of those cold-heat ones was it Jul 21 13:43:36 no, its a weller 4037s Jul 21 13:43:41 i mean i think the answer is no. you really shouldn't have been putting enough heat into it to do that Jul 21 13:43:51 but obviously it's not Jul 21 13:44:25 purely in the interests of science, do you have a picture of this setup? Jul 21 13:51:36 how do i upload a pic in here? Jul 21 13:56:57 use one of the image pastebin sites Jul 21 14:43:51 endoped: How do you drive your relay? Jul 21 14:44:12 endoped: Directly from a Port pin or with a transistor between? Jul 21 14:44:22 do you have a diode across the coil? Jul 21 14:44:37 (or a RC snubber)? Jul 21 14:45:22 perhaps you've damaged the beaglebone this way... Jul 21 15:33:27 andy1978: sorry I was away from my desk. I'm driving the relay directly from the 5Vdd pin, with a transistor, in series with a 1k ohm, on the gnd side of the relay. I'm using a gpio pin on the bbb to control the base of the transistor Jul 21 15:34:16 Also, I don't have a diode across the coil, but it's worked perfectly for weeks on a bread board Jul 21 15:59:25 endoped: no diode = you will kill the transistor. if not the after the first use, then over time Jul 21 16:00:09 endoped: and if the the transistor starts conducting the wrong way, you might kill your BBB as well Jul 21 16:02:17 endoped: also, 425°C is a damn lot for soldering. you dont use that normally..actually you dont want to Jul 21 16:03:20 endoped: normal soldering heat is between 200 and 250C, depending on how well your heat is conducted away you can increase that up to 300 or 350. you shouldnt go much higher than that, as you risk burning stuff Jul 21 16:03:30 endoped: also thermal stress is known to kill electronics Jul 21 16:06:05 thank you for all that info. i don't have a way to control my iron temp, it just plugs into the wall. I want to build a workstation and put a dimmer switch in there, but i havent had time to do so yet. Jul 21 16:07:28 are flyback diodes always required? Jul 21 16:08:31 I have 1 kohm on the negative side of the coil...i'm going to try to upload a pic of the schematic...one sec Jul 21 16:08:55 yes, always Jul 21 16:09:55 if you dont, then the voltage over the coil goes up to several -100V until the overvoltage causes a breakthrough in the transistor Jul 21 16:10:12 (on switch off, that is) Jul 21 16:13:56 here's the schematic http://pasteboard.co/27Xjq9B2.png Jul 21 16:14:00 brb Jul 21 16:15:14 so the pcb is already fabbed. but i can solder a flyback across the pins on the bottom side of the board. do you see any other faults. hardware and circuit design is definitely not my field. Jul 21 16:16:35 BBB_GEN_MAIN and BBB_GEN_STRTR are outputs....BBB_GEN_ON is an input Jul 21 16:16:47 the other connections connect to a generator Jul 21 16:17:52 STRTR turns on the starter through the 3621, the ssrs control the main signal on the gen and the genOn input to the bbb. Jul 21 16:18:09 endoped: what is R32 for? Jul 21 16:19:27 well, i thought it was to provide a load for the 5V to dissipate over Jul 21 16:19:53 when i didn't have it in place, it would trigger interrupts in another part of the system Jul 21 16:20:13 but now I'm thinking it might just be because i didnt have a flyback Jul 21 16:20:41 the relais is rated for a certain voltage. the coil resistance is such that it has the right current flowing trough at that voltage Jul 21 16:21:10 unless you use the relais at some different voltage than it is rated for, you don't need that resistor (or rather it might cause the circuit to fail) Jul 21 16:21:17 also R27 is too large Jul 21 16:21:45 and yes, solder a diode over the pins of the relay Jul 21 16:22:28 and, please, get your self a copy of tietze&schenk and of "the circuit designers companion" Jul 21 16:22:49 and remove R32 as well? I'm using a relay rated at 5V Jul 21 16:24:55 then yes Jul 21 16:25:27 Bookmarked the book as well, I'll definitely add it to my library when i can Jul 21 16:25:37 get both Jul 21 16:26:02 okay, i didn't see the second one...i'll check that out too Jul 21 16:26:33 what's a good size for the base resistor? Jul 21 16:33:46 calculate it Jul 21 16:34:39 you know how much I_C you have, you know the minimum \beta, you know what V_BE is, you know what the minimum drive voltage of the BBB GPIO pin is Jul 21 16:35:59 you should make the resistor such, that I_C can be something between 2 times normal-operation-current and one half of maximum rated current of the transistor Jul 21 17:01:07 okay, bare with me a bit...I_C is the current flowing into the collector? But I don't understand how to calculate it. I checked the data sheet but it didn't list the /beta. V_BE is (i think) easy....3.3V, right? Is the minimum drive voltage 3.3V, as well...I can't find anything about it in the srm. Jul 21 17:05:42 \beta = current amplification, often abreviated h_fe in datasheets Jul 21 17:05:56 V_BE is _not_ 3.3V Jul 21 17:06:08 if it is, something is wrong with your transistor Jul 21 17:06:23 or replace the transistor with a FET, much simpler Jul 21 17:06:31 not really Jul 21 17:06:52 you still have to design it correlty Jul 21 17:07:14 and with a FET you get the problem that R_DS_on is quite high unless you are well above V_th Jul 21 17:07:18 at least no need to calculate current aplifications or base currents Jul 21 17:07:34 no, but you still need to calculate maximum current and limit it somehow Jul 21 17:07:47 sure Jul 21 17:08:00 beside: that's not even 5min on a sheet of paper Jul 21 17:08:11 you just need to understand how a transistor (or a FET for that matter) works Jul 21 17:08:38 https://en.wikipedia.org/wiki/Bipolar_junction_transistor <- quite good explanation Jul 21 17:09:51 adj: also, with the FET you get the problem that V_GS has usually an absolute maximum rating of somewhere in the order of 20V Jul 21 17:10:05 adj: that's a voltage that is reatched by simply touching the gate pin Jul 21 17:10:25 adj: soldering a FET without damaging it is an art not many people know Jul 21 17:12:59 that was interesting, thanks Jul 21 17:13:24 * KotH really needs to do some basic electronics for software people Jul 21 17:13:50 but anyways, there are lot's of fine FETs for switching small currents like these relays Jul 21 17:16:46 i've never cared too much for any current amplification calculations (estimations) when doing simple switching Jul 21 18:20:35 I actually got the Graphics SDK demos to compile \o/ MagicLantern was definitely worth the effort, the other three aren't that interesting Jul 21 18:22:00 adj: well, i usualyl dont care either Jul 21 18:22:19 adj: some simple "yeah.. about that values looks right" is usually what i do Jul 21 18:22:38 adj: but for that you need to calculate it once, so you know what affects what Jul 21 18:23:51 pretty fancy 3d graphics at 1280x1024 resolution... Jul 21 18:23:53 * zmatt is pleased Jul 21 18:29:26 still an off-by-one error somewhere... rightmost column of the screen ends up wrapped at the left, and the screen occasionally blinks, but hey it's a start Jul 21 18:34:30 Thank you for all your help, I really appreciate it. but the thing is that I've bitten off way more than I can chew on this project. I was paid (pathetically) to write the software, designing the hardware was tacked on at the end when it became apparent that no one else could. There's no money left in the project to even pay me for this....and I still haven't made rent for this month....I don't have time to be trying to learn how a bj Jul 21 18:34:36 Will 500 ohms work at the base? Jul 21 18:36:07 I hate being that guy who just asks, but I've spent an hour reading about bjt analysis and i feel no where closer to understanding than when I started. Jul 21 18:37:45 It also doesn't help that I'm kind of freaking out about frying a bbb that I can't afford to replace...and I have to finish this entire project by the end of the month. Jul 21 18:48:16 breathe Jul 21 18:48:25 stress rarely gets the job done better or faster Jul 21 18:53:47 thanks zmatt, i know that, but this project has pushed me to a breaking point. anyway, i felt stupid after asking/saying that and have been doing some more reading. I think i'm getting it. coil resistance is 500 ohm, so I_C is 10mA.../beta (@ 10mA Ic and 1 Vce) is 100.... Jul 21 18:55:23 so i can get Ib to be 10/100 = 0.1 mA... Jul 21 19:02:01 endoped you short a bbb? Jul 21 19:03:13 I mean do you need one? Jul 21 19:03:48 I can always use an extra ;) Jul 21 19:06:05 no, not shorted...but definitely fried somehow. I was desoldering and replacing the 3621 (http://pasteboard.co/27Xjq9B2.png) while the pcb was still plugged into the bbb. nothing was powered, but i was using a really hot iron and I think that's what did it. Jul 21 19:06:47 I definitely need one and i need to get my circuit correct too....hence, the stress. Jul 21 19:08:25 I can give up one of mine I bought a couple for evaluation purposes, and they unfortunately didn't make the cut (mostly due to the 16 bit color depth) :( Jul 21 19:10:01 thurgood: 24-bit color is possible, just not with the on-board HDMI framer Jul 21 19:10:44 yeah, we decided to go with strictly off the shelf components for the next project Jul 21 19:10:54 wow, really? I mean, i'm sorry they didn't work for you, but really? that would alleviate an entire layer of stress, as I really have no way to come up with $60 to order one in the next week. Jul 21 19:11:10 (or well, it's not the framer's fault either, the pcb traces just aren't there) Jul 21 19:12:05 sure, endoped, just pm me your contact info Jul 21 19:12:56 thurgood: I actually just got the a demo of the 3D graphics accelerator working (sort of) and I'm quite impressed... especially considering the am335x isn't really made for graphics-heavy applications Jul 21 19:13:24 I still have one for personal use if I give one up Jul 21 19:14:19 yeah, the bbb is 3d is is roughly equivalent to the xM board Jul 21 19:14:56 wow, I don't even know how to thank you. how do I send a pm in here? Jul 21 19:14:57 hah, I wondered "hmm, is there some way to grab a screenshot from the framebuffer?" ... Jul 21 19:15:00 cat /dev/fb0 > screen.raw Jul 21 19:15:01 duh Jul 21 19:15:11 that one was too easy Jul 21 19:16:08 depends on your client... /msg thurgood ought to work try it without personal info first Jul 21 19:18:14 Did that work? Jul 21 19:18:21 yes Jul 21 19:20:50 alrighty, I'll send that out probably tomorrow Jul 21 19:21:05 Thank you so much! Jul 21 19:21:24 no worries Jul 21 19:50:51 hi guys how do i go about compiling a dtb with a overlay added to it? Jul 21 20:43:03 hello Jul 21 20:43:33 is someone there? Jul 21 20:43:51 probably a few people Jul 21 20:44:48 yes probably but i want to know about beagle bone black issue Jul 21 20:45:19 can't answer if you don't ask a question Jul 21 20:46:29 i've been trying to work with the wacthdog Jul 21 20:48:01 in bash , when i executed a while loop to open the file /dev/watchdog the beagle bone black doesn;t restart Jul 21 20:48:45 the script that i have executed is : Jul 21 20:49:18 use pastebin for scripts please Jul 21 20:49:28 ok Jul 21 20:56:59 http://pastebin.com/iSgnMEdy Jul 21 20:58:07 that is my code Jul 21 21:00:10 and my question is what is the best way or procedure to start the watchdog? Jul 21 21:00:46 what are you expecting this script to do? Jul 21 21:01:31 loos like just an infinite loop of single zeros on every line Jul 21 21:01:35 looks Jul 21 21:04:10 well i'm expecting this script opens the watchdog file after that write a /n character to the watchdog file Jul 21 21:05:02 the only way to interrupt the while is remove the sd card from the slot attached in the black Jul 21 21:06:50 when that occurs i assume the while loop doesn't write anymore to watchdog file and then restart the beagle bone Jul 21 23:58:39 Hello Everyone. I have a quick question. I wrote a EEProm File Generator for the BBB. I would like to share it and get feedback. What's the best way to do that? Jul 22 00:01:41 Staying in channel more than two minutes would help. Jul 22 00:14:57 ha. Jul 22 01:20:25 Hi, would you please tell me the operating temperature range of the BBB board? Jul 22 01:48:25 Jason___: Did you check the operating temperatures of the various chips on it? My guess is, not being made from automotive components, the range is 0-40C. Jul 22 01:49:47 Hi - I'm trying to access BBB via USB from a Linux host. I tried pinging the IP and I get TTL exceeded errors. I can see RNDIS gadget in lsusb. I can access it from Windows on the same machine so things on the BBB side seem to be okay. Any ideas where I might need to look from here? Jul 22 01:53:43 Hi, I didn't find the info about the operating temperature of BBB board. the TI chip's temperature is about -20 to 85 Jul 22 01:55:29 Can I use it for temperature from -20 to 60 degrees? Jul 22 01:58:38 and another question about the LCD interface, the data line is 16 bits. usually the RGB interface is 18 or 24 bits, How is the 16bit data lines used for R, G abd B? thank you very much. Jul 22 02:55:19 Hi Jul 22 02:55:23 everbody **** ENDING LOGGING AT Wed Jul 22 02:59:59 2015