**** BEGIN LOGGING AT Thu Apr 24 02:59:58 2014 Apr 24 04:05:22 Hello all... I have a question regarding a startup issue with my BBB (Rev A6) ... Anyone can help? Apr 24 04:06:31 is anyone here?? Apr 24 04:06:34 Hello? Apr 24 04:07:31 Hi all Apr 24 04:07:41 Anyone here?? Apr 24 04:19:07 Hola Apr 24 04:19:34 if you stay longer than a minute... Apr 24 04:21:14 hi tbr Apr 24 04:21:28 are you there? Apr 24 04:24:55 Hello World?? Any human alive?? Apr 24 04:25:30 xwqwew: we're here, just talk/ask a question Apr 24 04:26:27 hi MLM ... I can't get my beaglebone to power on... I see the blue PWR light on; but none of the USB lights are on and my computer can't read the device. Apr 24 04:26:51 I tried everything... pressed the power button for several seconds, and the reset button; and both again...and reflashed my sd card... nothing works!! Apr 24 04:26:53 :( Apr 24 04:27:17 any solution for me? Apr 24 04:29:50 ???? Apr 24 04:30:07 you might have to wait longer than a few minutes for a response... Apr 24 04:30:56 xwqwew: was this a setup that broke, or have you never gotten it to work? Apr 24 04:31:14 when you say wait longer ... do you mean holding the power button or just having it plugged in? Apr 24 04:31:30 I got it to work with Ubuntu 13.10 installed as well. Apr 24 04:32:05 The Ubuntu did crash, but based on what I read online, it said I need to power that using a 2A DC power supply and not the 500mA power from the computer USB Apr 24 04:32:12 xwqwew: wait longer in here for an answer Apr 24 04:32:15 but now, it just won't load anything Apr 24 04:32:25 oh .. lol :) Apr 24 04:32:44 we arent paid workers or anything, just users trying to help other users Apr 24 04:33:04 some times you just have to wait till the right person who knows whats wrong answers you.... Apr 24 04:33:13 I understand ... I was just thinking its probably too late and most people would be asleep Apr 24 04:33:22 2pm here Apr 24 04:33:36 12:30 am here ... Apr 24 04:33:54 do you possibly have an answer Dan? Apr 24 04:34:43 i have some questions, was it/is it still working from the usb 500ma? and is your 2a supply 5v? Apr 24 04:35:30 i tried both 500mA usb on laptop and a 1.5A/5V supply Apr 24 04:35:47 the thing just shows the blue pwr light, but the USB 0 - 3 don't light up Apr 24 04:36:36 no idea then sorry Apr 24 04:36:44 but im only new to BBB's as well Apr 24 04:37:09 oh okay...thanks for trying... i'll make another attempt in the morning and hope some BBB fairy will come and fix the issue ... Apr 24 04:37:30 but if not, thats 45$ wasted for a nice pcb :( Apr 24 04:38:14 the 1.5a supply, was that just over the usb or the barrel connector? Apr 24 04:38:23 over the USB Apr 24 04:38:48 ok, still no idea then Apr 24 04:39:21 what if i said barrel connector? Did you have any idea for that? Apr 24 04:39:41 well i would have said did you check the polarity before using it Apr 24 04:40:01 caus not all barrel connectors are the pos and negs the right way around Apr 24 04:40:12 oh .. i did not know that either. Apr 24 04:40:25 Sorry; not much of an electrical engineering person... just trying to get my hands dirty with this Apr 24 04:40:39 but if it was using usb rather than the barrel connector you probably not have to worry about that Apr 24 04:40:47 maybe i should have listened to the pros and purchased an arduino... this doesn't seem to work Apr 24 04:40:58 yea im far from any sort of expert, i just know some basics Apr 24 04:41:27 Thanks for trying Dan... i'll check again tomorrow and see if anyone in the US morning can help me out Apr 24 04:41:35 "pros" said to get an arduino? hmmm.... Apr 24 04:42:32 I don't know...there is this senior in my school; he is like an arduino guru ... Apr 24 04:42:54 i asked about the Pi or beagle and he said... its best to stick with arduino Apr 24 04:43:05 arduino/BBB/raspberry pi's are different tools for different jobs Apr 24 04:43:32 tehy each have there strengths and uses which the others dont Apr 24 04:43:35 Certainly. Apr 24 04:43:38 I know... i got BBB because you can install linux on it... but you can't on arduino Apr 24 04:44:13 but.... in this case.... your just as likely to have had exactly the same issue no matter which of the things you used Apr 24 04:44:22 plus there are too many I/o ports so I Can make use of them for something...arduino has only 12 or something Apr 24 04:44:36 either you blew your BBB up, or its got a fault... which is just as likely with any of them Apr 24 04:44:58 I blew up my BBB? Apr 24 04:45:05 well... you might have Apr 24 04:45:15 *could have Apr 24 04:45:28 if you used tthe wrong power for example Apr 24 04:45:28 How could I ? electrostatic discharge? I don't remember that happening Apr 24 04:45:47 accidently plugged a 12v 1a supply rather than a 5v for example Apr 24 04:45:57 yea discharge as well Apr 24 04:46:12 no i checked the thing...it says 5V...unless these chinese products say 5V and actually power a lot more Apr 24 04:46:14 i mean.... until you work out why yours isnt working your not going to know why it isnt currently working Apr 24 04:46:46 im not saying that WAS the problem... just that it could have been one of the 1000000's of possibilitys Apr 24 04:47:13 I see.... Apr 24 04:47:15 i dont have it in front of me or know exactly what you did, so all i can do is take wild guesses at this point Apr 24 04:47:20 lets just hope it fixes itself in the morning Apr 24 04:47:48 I hate spending $50 for an fancy but useless pcb Apr 24 04:47:51 but my point is... your just as likely to have had this issue no matter which board you used, you cant just say "i should have used an xxxxxxxx board instead" Apr 24 04:48:03 sparkfun gives those out for like 1$ in their crap pile Apr 24 04:48:21 how to test a BBB - use Linux, plug it in using USB only Apr 24 04:48:42 lights should blink, and it should just work Apr 24 04:48:57 i see your point.... i said arduino maybe better because my friend never had issues with it...but you are right; i could just be unlucky with the supply or my own actions Apr 24 04:49:14 listen to me ^^^ Apr 24 04:49:23 yea what he said ^^^ Apr 24 04:49:25 BobCat.. when i plug it in...only the PWR light turns on...the computer doesn't even identify a USB plugged in...all other lights remain off Apr 24 04:49:44 and you have no sd card in it? Apr 24 04:49:51 might just be a corrupted uboot partition Apr 24 04:49:55 I have an uSD card with Ubuntu installed Apr 24 04:50:00 remove it Apr 24 04:50:07 take that card out and try ^^^^ Apr 24 04:50:14 okay... give me a second Apr 24 04:50:46 if that doesn't work, you might try getting an image to flash it. Apr 24 04:50:56 nope...still doesnt work Apr 24 04:51:12 i tried flashing a new image earlier too... it just doesnt load Apr 24 04:51:15 you removed the usd and replugged it? Apr 24 04:51:47 lsusb on the host and see if it is detected Apr 24 04:52:21 i am using it with windows machine and windows does not detect presence of anything on the usb Apr 24 04:52:30 do not use windows Apr 24 04:52:56 use a live cd of ubuntu Apr 24 04:52:58 i could use my virtualbox Apr 24 04:53:04 or almost any other distro Apr 24 04:53:10 use a live cd Apr 24 04:53:23 you need to make sure the problem is not the host os Apr 24 04:53:30 and linux is bulletproof Apr 24 04:53:45 i also have a mac at work ...so i can try that tomorrow? Apr 24 04:53:57 do you think that'll work? Apr 24 04:54:08 no, use an ubuntu live cd, boot your pc with it, plug in the bbb Apr 24 04:54:29 this is the most effective way to see if the bbb is alive Apr 24 04:54:55 anything else is a waste of time, trust me, I have wasted time before Apr 24 04:55:26 okay thanks...whats the command -- lsusb? Apr 24 04:55:53 yes, run that before and after you plug it in, you will see it appear Apr 24 04:56:32 i'll try that tomorrow morning..its 1am here so i'll head to bed now... but one thing still isn't clear with this though Apr 24 04:56:50 EST zoner! Apr 24 04:56:51 why are the other lights not lighting up whether i'm connected to windows, or a USB power supply that is not a computer Apr 24 04:57:04 yes EST zoner :) Apr 24 04:57:08 the power may be undervolt Apr 24 04:57:18 5V @ 1.5A ? Apr 24 04:57:27 a recent PC will be right Apr 24 04:57:51 also make sure the buttons aren't stuck Apr 24 04:57:52 mine is a recent PC and last night i had it working with Ubuntu desktop installed ... so i'm saying this was working... Apr 24 04:58:03 something happened in 14 hours... Apr 24 04:58:15 ubuntu on the host or the bbb? Apr 24 04:58:29 bbb --- host = Windows Apr 24 04:58:56 i mean ubuntu installed on bbb Apr 24 04:59:08 on the uSD or emmc? Apr 24 04:59:51 i used the instructions on the website ... it was installed on uSD but it gets flashed on the emmc Apr 24 05:00:43 the buttons are definitely not stuck... i can press them and hear the clicks :) tiny button; loud clicks Apr 24 05:01:55 the good news is you can't brick it, the bad news is it might be slightly harmed but fixable Apr 24 05:02:33 okay... you'll have to explain to this dumb person in more details :) Apr 24 05:02:42 get a fresh copy of debian and put that on the usd Apr 24 05:03:05 well, the complicated way to talk to the board is not for noobs Apr 24 05:03:34 try everything else first Apr 24 05:03:38 every expert was a noob once... Apr 24 05:03:51 Time to learn stuff! :) Apr 24 05:04:11 and buy adapters Apr 24 05:04:26 okay... i'll try the things you asked and see you tomorrow...hopefully it works; and i'll get a DC barrel connector tomorrow as well Apr 24 05:04:49 the usb power is safest, no polarity guessing Apr 24 05:04:57 thanks for your help.... Apr 24 05:05:03 np, see you Apr 24 05:05:14 oh yes; I'll make sure i check the barrel on the multimeter before plugging it in Apr 24 05:05:34 thanks...take care...cya Apr 24 05:44:14 hi - have any one encontered a problem - can't input anything to bbb on UART0? Rx/Tx are wired. Apr 24 06:09:57 i am trying to connect beaglebone black through usb,but it is not connecting. Can you give me any solution on this? Apr 24 06:14:11 i am trying to connect beaglebone black using usb,but it is not connecting.Can you give me any solution on this? Apr 24 06:14:30 it is powered on but not connected. Apr 24 06:14:59 monali: which operating system is on the PC that you are connecting the BBB to? Apr 24 06:15:14 on windows 7 Apr 24 06:15:25 did you install the drivers? Apr 24 06:15:35 i have installed drivers for it Apr 24 06:15:49 what operating system are you running on the BBB? Apr 24 06:16:15 angstrom Apr 24 06:17:21 are the leds blinking? Apr 24 06:17:22 does a new network interface apperead? Apr 24 06:17:56 yes Apr 24 06:18:12 yes blinking or yes network? Apr 24 06:18:37 leds are blinking Apr 24 06:18:55 and new network also appeared Apr 24 06:19:11 you should ssh with putty to bbb adress then Apr 24 06:19:28 i tried to ping Apr 24 06:19:33 and you will have access Apr 24 06:19:48 but it is not connecting through putty also Apr 24 06:19:59 you might need to configure that network interface manually Apr 24 06:20:58 afaik it is autoconfigured Apr 24 06:21:03 firewall? Apr 24 06:21:31 maquefel: you never know. checking interface status would be my next step. firewall is also a good lead. Apr 24 06:22:06 especially with corporate computers firewalls tend to be a total pain in the behind Apr 24 06:23:34 i have kept option as dynamic ip,and it works Apr 24 06:23:42 thank you Apr 24 06:24:35 now tho knows why i can't input anything via UART0 ? Apr 24 06:28:55 maquefel: "can't input"? Apr 24 06:30:14 yep i have connected via minicom Apr 24 06:30:33 maquefel: do a loopback test first Apr 24 06:30:35 and can't "input" anything or it doesn't reacts Apr 24 06:30:49 bur does output into console Apr 24 06:30:55 *but Apr 24 06:31:11 good idea - ty Apr 24 06:31:12 and what do you have connected to the BBB exactly? Apr 24 06:31:24 moxa miniport e3 Apr 24 06:32:01 ethernet to Serial TTL adapter Apr 24 06:33:13 which pins? setup peripheral accordingly? set muxing accordingly? Apr 24 06:33:28 J4, J5 Apr 24 06:33:58 115200N8, not sure about mux - used default image Apr 24 06:34:35 TTL sounds bad, that's probably 5V. the input is rated up to 3.3V Apr 24 06:34:39 j4/j5? Apr 24 06:34:41 GND from common PSU Apr 24 06:35:01 ah, you mean j1/1,4,5 Apr 24 06:35:03 so do loopback test Apr 24 06:35:05 yep =) Apr 24 06:35:16 trying now the loop test Apr 24 06:35:51 well the boot output is supposed to go there. like tbr said - make sure you only have 3,3v, not 5v. otherwise it will not work/break the board. Apr 24 06:37:13 boot output is goind well Apr 24 06:37:21 i just can't input anything Apr 24 06:37:37 so, how's the loop test going? Apr 24 06:37:47 then you probably already broke the input circuitry by applying 5v Apr 24 06:37:58 may be Apr 24 06:38:05 where is my crate of bbb Apr 24 06:38:09 how to share internet with bbb? Apr 24 06:38:29 buy level shifter, attach, make sure it's muxed, try next uart, Apr 24 06:38:43 monali: you mean over the USB network? Apr 24 06:38:54 or the ethernet port Apr 24 06:39:46 over usb Apr 24 06:40:44 set up internet connection sharing on your host pc. make sure that the network address doesn't change from what it is now. then configure a default route on the BBB through your PC. Apr 24 06:41:03 or just connect a network cable Apr 24 06:42:31 correct Apr 24 06:42:32 because internet connection sharing over a dhcp'ed interface over usb on windows is not something thats beaten into shape in two minutes, and it's actually not really our field of expertise. Apr 24 06:42:43 correct Apr 24 06:42:54 and we won't hand-hold people through setting that up Apr 24 06:43:12 but we can headbang, if you feel like Apr 24 06:43:27 so metäl! Apr 24 06:44:41 if the iron curtain was to separate democracy from socialism, the metal curtain shall separate real music from miley cyrus. Apr 24 06:51:33 burn burn burn Apr 24 06:51:46 LetoThe2nd: looks like you are correct Apr 24 06:51:59 applied 5V to 3.3V input Apr 24 06:52:46 another bbb bites the dust, but it is still alive Apr 24 07:08:11 anyone used the framebuffer "fbi" command with bbb programatically in c? if so, how do you prevent from multiple instances running after multiple calls? Apr 24 07:18:49 you wait for the program to stop executing Apr 24 07:39:53 brianj: heh Apr 24 07:40:04 normally you create a lock file, and if it exists you don't run another. Apr 24 07:46:25 spikebike: thanks for that input. are you familiar with the fbi program? Apr 24 07:47:01 nope Apr 24 07:48:04 nope the ttl level is 3.3 V Apr 24 07:48:11 loopback works Apr 24 07:48:25 may be i accidentally burned the input Apr 24 07:48:31 well, the reason i ask is that it's used like "fbi image.jpg" to put an image on the framebuffer Apr 24 07:48:48 and then it keeps running and doesn't exit Apr 24 07:49:34 ideally, i'd like to make multiple calls to it for sending different images at different times, but i definitely don't want to have a bunch of instances running Apr 24 07:50:35 what might you suggest for getting it to stop running? Apr 24 07:50:44 well I guess you could kill the old one before stating a new one, if there's no way to get it to quit Apr 24 07:51:33 from what i understand, it's typically used on the command line and the user can quit by using certain key presses Apr 24 07:51:42 but in a program, that won't work Apr 24 07:52:41 what does fbi do? Apr 24 07:53:04 try killall -1 fbi Apr 24 07:53:48 KotH: it sends an image to the framebuffer (i.e. monitor) Apr 24 07:54:12 brianj: why dont you do that yourself in your c prog? Apr 24 07:54:17 spikebike: i was thinking of the kill approach, but it just seems so "brute force" like Apr 24 07:54:27 brianj: can't be that difficult to do? especially if you have fbi's source to use as example Apr 24 07:55:03 does fbi --help fbi -? or man fbi mention anything? Apr 24 07:55:57 KotH: yeah, i was just hoping to get it done super quick with a simple call. going direct takes a lot more work :) Apr 24 07:56:18 depends on what your goal is :) Apr 24 07:56:31 spikebike: no, the man page is pretty targeted to using it in the traditional cl way Apr 24 07:56:44 brianj: but using c is usually anything but "super quick" Apr 24 07:56:58 killall should work fine Apr 24 07:57:12 unless there's code that needs to run to gracefully shutdown the display Apr 24 07:57:35 yeah, good points Apr 24 07:57:55 thanks to the both of you. i'll give that a try Apr 24 07:58:12 take care! Apr 24 08:17:24 yeaahhhhhhhhhhh! Apr 24 08:17:32 i managed the chipsee cape working Apr 24 08:22:47 hey, any home of BBB availability improving? Apr 24 08:27:18 spikebike: it's still, place order, receive device after a few weeks. Apr 24 09:31:42 hi guys i need some help with creating a dts file. I have gotten through specifying the pins that i want to use in my testing with the beaglebone black. I am just unsure of how the fragments section work and how the reference the pins set in the exclusive pins section. what does the target refer to and is the status necessary? I have seen it done different ways from looking at the dts for capes. I just want to use 2 pwm pins, uart2 pins, i2c1 and about 12 Apr 24 09:31:42 gpio pins for output Apr 24 09:33:02 where are the kernel headers for the BeagleBone Black Angstrom and Debian images available? Apr 24 09:33:23 (I think kernel headers would depend only on the kernel version however) Apr 24 09:38:57 Abhishek_: for debian they are available now i think Apr 24 09:39:16 these is a script from cnelson that u need to run Apr 24 09:40:14 Abhishek_: http://rcn-ee.net/deb/ Apr 24 09:40:19 check here for the version you have Apr 24 09:41:03 I think the wheezy one should apply for the Debian image? Apr 24 09:42:02 do a uname -r to see which bone you have Apr 24 09:42:28 wheezy armhf i think u need Apr 24 09:42:44 i know that 2-3 weeks ago the latest kernel was smth like bone-6 Apr 24 09:43:01 but it got updated Apr 24 09:51:06 mine comes out to be 3.8.13-bone43 (I'm using the 31st March Image) Apr 24 09:53:33 search there for this folder it should be Apr 24 09:54:18 it it, found it. Thanks! Apr 24 09:54:39 *is. I just switched to 14.04 LTS, was using Win8 till now Apr 24 10:00:56 Abhishek_: 14.04 on your desktop or BBB? Apr 24 10:01:27 desktop Apr 24 10:07:32 vvu|Log: I would need headers for my desktop for cross compilation, the headers package seems to be for BBB Apr 24 10:30:21 Abhishek_: in that case i don't really have a clue Apr 24 10:30:44 never tried to CC kernel modules Apr 24 10:31:17 painful Apr 24 10:31:26 not like the BBB isn't fast enough to compile Apr 24 10:48:49 how to run image on sd card only ?? Apr 24 10:50:58 How can I run the image on sd card only using beaglebone black ? Apr 24 12:18:48 All. Working on a project sensing temperature with an AM2302/DHT22. This project requires temperature detection over 20M from the BBB. I'm using dhe DHT22_Beagle code base and I'm seeing crazy unpredictable readings. Any suggestions? Apr 24 12:22:18 Berns: im probably not much help, i have just bought a dht22 but not played with it yet, im using ds1820's tho and have been for a couple of years over about 20m lengths of cat5 network cable Apr 24 12:22:55 seems to be working well for me Apr 24 12:23:12 Berns: too long cable with too much capacitance? Apr 24 12:23:26 Berns: trying to read out too fast? Apr 24 12:23:37 Berns: have you connected an oscilloscope and measured the signal? Apr 24 12:25:53 ugh at non clockd signals lol Apr 24 12:26:41 dht22 has one of the ugliest electrical interfaces known to men Apr 24 12:26:48 but it was cheap :) Apr 24 12:26:56 srs Apr 24 12:27:10 but so many i2c modules Apr 24 12:27:15 thatll do humidity and temp Apr 24 12:27:30 are there that many? Apr 24 12:27:40 i only know about the sht's that are readily available Apr 24 12:27:50 nyt-: like what? i really only wanted humidity but that was all i could really find Apr 24 12:27:55 others might be quite hard to get, if you dont want to buy a full reel Apr 24 12:28:07 Dan1: there is always the SHT21 :) Apr 24 12:28:11 sht15 too Apr 24 12:28:15 Dan1: just costs a fortune, compared to the DHT22 Apr 24 12:28:28 am2315 Apr 24 12:29:00 hm that wasnt the one i just had open Apr 24 12:29:20 KotH: well i guess thats the other thing, its not overly important to me so i dont want to spend more than a hand full of bucks on it.... its most just because i can that i want to log it Apr 24 12:29:30 HIH6130 Apr 24 12:29:44 but im certainly open to any suggestions Apr 24 12:29:53 https://www.sparkfun.com/products/12064 Apr 24 12:30:06 humidity and temp for $16 with i2c Apr 24 12:30:22 i2c is cake Apr 24 12:32:57 its getting late to get my brain around it all 2nite, have bookmarked the links tho and will check it out in the next few days, thanks guys :) Apr 24 12:36:17 still dht22 is pretty easy unless you have some other issue going on Apr 24 12:39:27 well i already have one here sitting next to me so ill give that a try anyway, and like i said its not overly important to me. water quality measurements are much more important.... but its just one more thing i can do caus i can do it :) Apr 24 12:41:02 nyt: Even when I had the AM2302 on the breadboard, it was still only about 20% accurate. Prob are some other things goin on. Apr 24 12:42:05 are they calibrated? Apr 24 12:42:14 Dunno. Apr 24 12:42:16 or do you need to adjust reading Apr 24 12:42:48 AM2302 output calibrated digital signal. It applys exclusive digital-signal-collecting-technique and humidity Apr 24 12:42:48 sensing technology, assuring its reliability and stability. Its sensing elements is connected with 8-bit single-chip Apr 24 12:42:48 computer. Apr 24 12:42:48 Every sensor of this model is temperature compensated and calibrated in accurate calibration chamber and the Apr 24 12:42:49 calibration-coefficient is saved in type of programme in OTP memory, when the sensor is detecting, it will cite Apr 24 12:42:50 coefficient from memory. Apr 24 12:43:18 if your timing is off you'll get messed up readings Apr 24 12:44:19 They're new from factory. I'm assuming they're calibrated. I think it's more timing related. Readings seem like the bits are shifted and like every 3-4 readings I get a good 8bit stream Apr 24 12:45:35 Timing on the breadboard seems to be challenging enough. I added a 6ft cable and readings became unreliable again. Apr 24 12:45:45 hm Apr 24 12:45:50 god that interface is so ugly Apr 24 12:46:09 What's the best way to sync timings w/o a scope? (haven't had a scope in lotsa years) Apr 24 12:46:12 70us for a 1, 28us for a 0.... why not just hold low for a 0 Apr 24 12:46:13 * nyt- sighs Apr 24 12:46:23 so ugly Apr 24 12:46:48 nyt-: the protocol must be self timed, you need enough transistions to sync Apr 24 12:46:54 agreed. I'll look at the I2C module you suggested above, but I'm already in for $60 on AM2302 chips... Apr 24 12:47:58 well it starts signalling every bit with 50us of low Apr 24 12:49:21 hmmm. I'll check the sensing loop again to see if it's watching that closely. I recall the code "looking for low", but I don't remember how the code does it. Apr 24 12:50:25 Gotta run. Thanks for the help! Will check back later. Apr 24 12:50:40 i'd just set edge triggers and compare time between them Apr 24 12:50:41 easy enough Apr 24 12:52:47 check time between rising and falling and you have your bit Apr 24 12:53:06 set time on a rising edge, compare with time on falling Apr 24 13:38:41 hi Apr 24 13:39:24 how to solve connect refused using ssh to BBB ? I am using a mac Apr 24 13:40:58 I use ssh 192.168.1.106 -l root Apr 24 13:44:01 connection refused means either sshd is not running or you are using the wrong ip Apr 24 13:45:55 KotH : I am using a DHCP with a manual address 192.168.1.106 Apr 24 13:46:17 dhcp and manual address sound wrong Apr 24 13:46:31 use a serial console to see what the bbb is actually doing Apr 24 13:48:07 Koth : sry for that question, but how can I use the serial console??? Apr 24 13:48:35 JR_: google for "BBB serial console" Apr 24 13:50:03 Koth : I found it but I don't have that cable, is there is any other ways ??? Apr 24 13:50:13 JR_: buy one Apr 24 13:50:31 JR_: or use an MAX232 or similar and connect to your PC$ Apr 24 18:00:12 Hi, anyone with experience manufacturing the BBB? Apr 24 18:07:36 Gmae: hehe only a few people can answer that Apr 24 18:07:45 Gmae: what is it you want to know? Apr 24 18:08:40 prpplague: I want to integrate the BBB in my product Apr 24 18:08:59 Gmae: bbb is not approved for integration into a product Apr 24 18:09:28 prpplague: why is it Apr 24 18:09:29 Gmae: if you want to use BBB in a product you will need to get a custom version that does not have a beagleboard logo Apr 24 18:09:56 prpplague: yes well I want to use the piece of OH Apr 24 18:10:07 piece of OH? Apr 24 18:10:17 prpplague: Open Hardware Apr 24 18:10:42 Gmae: you can use it for whatever you want, but you take on the risk Apr 24 18:10:45 Gmae: http://elinux.org/Beagleboard:BeagleBoneBlack#Terms_of_Use Apr 24 18:10:59 Gmae: supply and functionality of the BBB can not be guaranteed for OEM usage Apr 24 18:11:25 prpplague: yes of course I don't want anyone to give me any guarantee Apr 24 18:11:50 prpplague: I just want to talk to someone who already produced it so I can avoid risks Apr 24 18:12:15 prpplague: I already manufacture products but BBB is for the more complex by far Apr 24 18:13:29 Gmae: well if you are making it yourself, then that is up to you Apr 24 18:13:37 Gmae: all of the files are out there for you to make it Apr 24 18:14:04 prpplague: yes but from what I have heard it's not as simple as that, there may be some tricks Apr 24 18:14:09 prpplague: some in and outs Apr 24 18:14:15 Gmae: plenty of them Apr 24 18:14:44 prpplague: blueprints are great but... reality os not that easy Apr 24 18:14:58 Gmae: indeed Apr 24 18:15:30 Gmae: maybe contact special computing, they may be willing to help for free Apr 24 18:16:01 I have been talking to Gerald Coley but he's a busy man! Apr 24 18:16:17 indeed Apr 24 18:16:28 I'll be away from keyboard Apr 24 18:16:45 maesitos at gmail.com Apr 24 18:16:57 if you would know someone! Apr 24 18:18:45 Gmae: well there are only three companies that are making bbb style products, circuitco (which i work for), Embest (element14), and special computing Apr 24 18:20:36 prpplague: I'm back I wasn't that away from keyboard hehe Apr 24 18:20:45 prpplague: can you elaborate a bit more on that? Apr 24 18:25:50 Gmae: are you wanting to speak with someone who has manufactured a BBB or just anyone who has experience with AM335x? Apr 24 18:26:42 prpplague: I would be happy if I find someone who already manufactured a PCB as complex as the BBB Apr 24 18:28:01 prpplague: in my company we have only manufactured amplifiers and some designs with an Atmel ATmega328 Apr 24 18:28:52 Gmae: yea, then i would suggest speaking to embest (element14) or special computing Apr 24 18:29:54 the BBB is not that hard to manufacture Apr 24 18:30:20 ds2: do you have any experience? Apr 24 18:30:32 Gmae: yes, I just finish working with a BBB based project Apr 24 18:30:44 we changed the PCB, and removed the unwanted crap Apr 24 18:31:24 ds2: what is it different from manufacturing a PCB with ATmega328 Apr 24 18:31:42 Gmae: Not that different. try not to use too much paste Apr 24 18:32:22 ds2: well I won't do it myself since I don't own the necessary machines I use to order the PCB's and assembly to China Apr 24 18:32:47 Gmae: PCBs from china I can understand but assemby in china doesn't always make sense Apr 24 18:33:05 ds2: where instead? Apr 24 18:33:13 where are you geographically? Apr 24 18:33:17 (I assume you are not in china) Apr 24 18:33:23 ds2: Spain - Europe Apr 24 18:34:01 Gmae: Oh... not familiar with the local vendors... we did our mfg in the US Apr 24 18:34:32 the BBB is relatively easy... the BBC/BBX is a different animal Apr 24 18:34:33 ds2: Well I could easily deal with vendors in USA... DHL Express is like magic Apr 24 18:34:47 ds2, how much for a bbb-like-clone per unit (which volume did you have?) Apr 24 18:35:00 Gmae: the issue with china is transit cost for lower volume Apr 24 18:35:25 ds2: I would need 1500 2000 units a year Apr 24 18:35:36 c10ud: it depends... I am on the engineering side. the price is something you need to negotiate with your CM Apr 24 18:36:04 Gmae: shipping can get you in trouble for small volumes like that...hence the no china comment Apr 24 18:36:34 Gmae: do you need the BBB as is or modified? Apr 24 18:36:40 ds2: as is Apr 24 18:37:03 Gmae: talk to a local CM then Apr 24 18:37:51 ds2: what does CM stands for? I'm sorry I'm not a native speaker :( Apr 24 18:37:58 Gmae: Contract Manufacture Apr 24 18:38:18 you bring plans there and ask them to build it. Apr 24 18:38:42 ds2: so like what I call 'my suppliers in CHina' but locally Apr 24 18:39:07 Gmae: yep. local is good if there are problems. you can go over and have a chat with the guys :) Apr 24 18:39:41 ds2: I can have a negotiation they won't refuuuuuse Apr 24 18:39:48 :) Apr 24 18:40:17 the BBB is not a very hard board to build Apr 24 18:40:26 ds2: to tell you the truth I've read a lot of nightmares online Apr 24 18:40:37 ds2: and I'm a bit scared Apr 24 18:40:40 Gmae: it is all about managing your suppliers Apr 24 18:41:42 Gmae: if all you want is a non-branded beaglebone black, you can already purchase that directly from circuitco Apr 24 18:42:10 prpplague: is circuitco willing to do it? Apr 24 18:42:23 Gmae: we do it all day long Apr 24 18:42:28 prpplague: what's the lead time on that? Apr 24 18:42:36 52WK? ;) Apr 24 18:42:56 prpplague: 52 weeks? Apr 24 18:43:35 * ds2 puts away the gasoline can and walks away ;) Apr 24 18:44:49 ds2: hehe Apr 24 18:45:10 Gmae: you'll have to talk to sales, but it certainly isn't 52 weeks, hehe Apr 24 18:45:49 Gmae: sales@circuitco.com Apr 24 18:45:58 prpplague: yeah it may be a good idea Apr 24 18:46:22 prpplague: do you know if it's possible to make a small modification like for example removing the ethernet conector Apr 24 18:49:41 ds2: what did you really meant when you mentioned BBC/BBX Apr 24 18:50:04 ds2: what board do you refer to? Apr 24 18:50:14 Beagle Board Classic, Beagle Board xM Apr 24 18:50:29 they both involve POP assembly with a 0.4mm BGA Apr 24 18:51:20 Gmae: yes you can do customizations Apr 24 18:53:14 ds2: the nightmares I have heard I think are related to the xM model Apr 24 18:54:07 interesting Apr 24 18:54:16 the xM isn't THAT complex Apr 24 18:54:21 it is just troublesome Apr 24 18:54:33 ds2: I see Apr 24 18:54:43 and you need find a competant CM... I have had that chip taken out and replaced as part of qualifying the CM I use Apr 24 18:54:50 ds2: I tell you now I feel better Apr 24 18:55:08 Gmae: as long as the people doing it are competant, it should be fine Apr 24 18:55:27 these kind of things get built by the millions everyday...they are the phones, etc Apr 24 18:55:29 ds2: I'm more interested on BBB Apr 24 18:55:48 if it is that complicated and unreliable, everyone will be going out of business Apr 24 18:56:31 ds2: yeah that's what I though... I'm a human like the BBB producers, I could handle the hardware too.... Apr 24 18:57:14 ds2: sometimes the barriers are more sociological Apr 24 18:59:38 ds2: psychological... any way Apr 24 19:03:25 *nod* Apr 24 21:17:42 so im a good portion through writing a dts file that will allocate some 20 odd pins. I have been slowly figuring out the dts and wanted to know what a target of <&ocp>; meant. most of the other targets seem to relate directly to the pins but i am not sure what that means Apr 24 21:22:48 think its gpio Apr 24 21:22:51 root@beaglebone:/lib/firmware# grep ocp *.dts Apr 24 21:22:51 bspm_P9_17_f-00A0.dts: target = <&ocp>; Apr 24 21:22:51 bspm_P9_18_f-00A0.dts: target = <&ocp>; Apr 24 21:22:58 only files i see it in Apr 24 21:24:48 ok. the last part i am confused about is the different targets i see being used for pwm Apr 24 21:25:19 2 pwm pins are ecap Apr 24 21:25:23 extended capabilities Apr 24 21:25:31 deluxe247: ocp stands for on-chip peripherals, and is the driver that creates the sysfs interfaces in /sys/devices/ocp.*/ Apr 24 21:26:10 latest deb images have the gpio devices for p9_17 and p9_18 swapped it seems Apr 24 21:26:16 http://bugs.elinux.org/issues/81 Apr 24 21:27:09 so what would these targets be? <&epwmss0>; where can I find these targets etc? I havent found good concise information about creating a device tree overlay for a noob anyway. Adafruits is greatly lacking Apr 24 21:27:59 this is helpful: https://github.com/derekmolloy/boneDeviceTree Apr 24 21:28:15 specifically this file: https://github.com/derekmolloy/boneDeviceTree/blob/master/DTSource3.8.13/am33xx.dtsi Apr 24 21:33:07 alexanderhiam, thanks the last one is definitely useful. I was referencing the bacone cape and noticed that the have fragments for ecap0, epwmss0, epwmss1, ehpwm1 and use two pwm pins in the overlay Apr 24 21:33:36 for pwm do i need to use epwmss0/epwmss1 as those are the targets that throw me off Apr 24 21:33:54 ss stands for subsystem Apr 24 21:34:18 I am using a total of 4 pwm pins so where would i find out what subsystem needs to be used? Apr 24 21:34:26 so to use ehpwm1 you need to enable epwmss1 Apr 24 21:34:31 by the numbering Apr 24 21:34:42 which pins? Apr 24 21:35:47 deluxe247: is this for a cape? Apr 24 21:38:34 no its not i disabled hdmi so im using p8. 40 & 41 for pwm and p9. 14 and 16 this is for me learning to use sensors etc with the beaglebone black Apr 24 21:39:31 alexanderhiam: "ocp stands for on-chip peripherals" .. how confusing, given that on the hardware side the same abbreviation is used for Open Core Protocol (one of the bus protocols used a lot to interface peripherals to interconnects) Apr 24 21:40:18 thought it was the OCP from Robocop? Apr 24 21:40:37 hehe Apr 24 21:40:50 well now you got me second guessing myself... Apr 24 21:40:56 :P Apr 24 21:41:53 alexanderhiam: well, some random google hits seem to agree with you Apr 24 21:42:17 or maybe someone retconned it and it spread Apr 24 21:42:33 could be Apr 24 21:42:40 I like it though! Apr 24 21:44:15 where can i find what ewpm subsystem i should be using for x pwm pin? Apr 24 21:44:41 the TRM of course Apr 24 21:45:01 you gotta look at which pwm signals are on those pins Apr 24 21:45:16 thanks for the help so far guys. I checked in the srm so that was obviously the wrong place Apr 24 21:45:18 then consult the TRM ;) Apr 24 21:46:00 start with the TRM Apr 24 21:46:09 cuz the 2 subsystems have different properties that you might care about Apr 24 21:46:15 understand then choose Apr 24 21:46:28 you mean ecap vs ehrpwm? Apr 24 21:48:22 deluxe247: I believe the pins you mentioned are all ehrpwm pins Apr 24 21:48:52 alexanderhiam, so the subsystem target isnt necessary? Apr 24 21:49:39 it is, I just mean, like ds2 said, make sure the ehrpwm ss will work for what you're doing (vs the ecap ss) Apr 24 21:49:40 I was able to find the srm but the trm i cannot seem to find on the elinux site Apr 24 21:49:55 gotya Apr 24 21:50:43 elinux.org/images/6/65/Spruh73c.pdf Apr 24 21:51:07 get it from the TI site Apr 24 21:51:12 use authoritative sources! Apr 24 21:53:14 well, spruh73c was useful to have when TI hadn't released the full PRU docs yet :P Apr 24 21:53:50 yeah, it has pretty good PRU docs in there Apr 24 21:54:44 (it is an official TI document btw) Apr 24 21:55:12 yes but an old version, and since they've now released the PRU docs separately it is probably better to use the latest version Apr 24 21:55:39 no way, I'll never give up my Spruh73c! Apr 24 21:56:02 well I wouldn't delete it, my habit is to keep all versions of TI docs I download Apr 24 21:56:35 actually, I have seen any newer versions yet... Apr 24 21:56:43 current is j I think Apr 24 21:58:26 though along with fixes/improvements they removed the connID assignment section in the interconnect chapter... too bad if you want to interpret interconnect errors I guess :P Apr 24 22:00:36 weird Apr 24 22:01:00 but even though the PRU chapter is gone, spruh73j is 135 pages longer than spruh73c, so they must have added plenty of other stuff Apr 24 22:02:13 oh good, it really felt too short before Apr 24 22:02:40 don't worry, there are probably thousands of pages more that haven't been released to the public Apr 24 22:13:47 still, the size simply reflects the complexity of the chip... I'd rather have more documentation than less (see e.g. what little public docs are available for the SoC on the raspberry pi) Apr 24 22:14:05 oh absolutely Apr 24 22:16:14 btw, based on browsing around a bit in the kernel I do strongly suspect ocp was originally meant to refer to open core protocol and interconnects that use it, but I guess someone realized that a. the actual protocol used is of little to no relevance to linux b. the actual protocol used isn't always ocp and came up with the expansion "on-chip peripherals" instead Apr 24 22:18:26 huh Apr 24 22:18:48 worked out pretty well Apr 24 22:19:12 ocp was native to the Sonics interconnects used on OMAP2/3, but I don't think the same is true for Arteris FlexNoC which is used as L3 interconnect since OMAP4 Apr 24 22:19:46 (L4 interconnects are still Sonics S3220 afaik) Apr 24 22:20:08 ah Apr 24 22:20:08 hm Apr 24 22:20:08 *Sonics 3220 Apr 24 22:20:33 so a revised legacy akronym Apr 24 22:21:41 yeah, it was never quite appropriate, but the term OCP is misused in various places anyway Apr 24 22:21:54 like omap3.dtsi has a few comments /* OCP compliant interrupt */ Apr 24 22:22:05 I'm pretty sure OCP is quite silent on the subject of interrupts Apr 24 22:24:37 and therefore easy to be compliant with ;) Apr 24 22:24:41 hehehe Apr 24 22:26:17 sonics has one useful benefit though... you can read a complete map of which address ranges correspond to which targets out of the interconnect config registers Apr 24 22:27:15 well that's pretty handy Apr 24 22:27:50 so that should still work for the L4 interconnects Apr 24 22:27:57 haven't tried it yet Apr 24 22:30:14 (that would be the first 2 KB of each interconnect, at 0x44C00000 for L4_WKUP, 0x48000000 for L4_PER, 0x4A000000 for L4_FAST) Apr 24 22:31:46 I suppose it should: "The L4 interconnect is based on a fully native OCP infrastructure" Apr 24 22:32:28 that sentence doesn't really mean anything, other than "we use OCP as protocol to connect stuff" Apr 24 22:33:23 OCP just describes the protocol between initiator and target (typically cpu -> interconnect and interconnect -> peripheral) Apr 24 22:34:47 and it's heavily parameterized, so it's more like: cpu/peripheral documents their socket in a formal spec, the interconnect generator produces the appropriate glue to interface it Apr 24 22:35:31 * alexanderhiam reads a bit more about Sonics3220 Apr 24 22:37:25 ok, the lines between the different parts are looking less fuzzy to me now Apr 24 22:37:50 the memory map in the TRM actually still lists the interconnect register blocks for L4_WKUP and L4_FAST, though it labels them "Reserved" for L4_PER Apr 24 22:38:09 there are questions we do not ask Apr 24 22:38:41 you can find actual register maps for example in the omap3 or omap4 TRM Apr 24 22:39:30 zmatt: do you work with the OMAP4 parts? Apr 24 22:40:08 (btw, the 4KB "Reserved" block after each peripheral on an L4 interconnect is its "target agent", no idea why they chose not to document that for the am335x) Apr 24 22:41:39 ds2: no, but I noticed that the OMAPs, being flagship products, tend to have much better documentation than other parts, and a considerable part of it is also applicable to other chips Apr 24 22:41:45 I'm working with a dm8148 Apr 24 22:42:09 entire subsystems of it are poorly documented or simply undocumented Apr 24 22:42:56 which is TI's way of saying "we don't support that subsystem (except for high-tier customers)" but it's still annoying :P Apr 24 22:47:26 (and it doesn't help that I have a very strong desire to *understand* the stuff I'm working with) Apr 24 22:53:26 still, TI isn't that good at keeping secrets... if you look around, you can find a lot of info Apr 24 22:54:54 my most prized possessions being a register map of ICEPick, and the magic incantation to enable access to the cortex-m3 in the Security Subsystem on the dm814x ;) Apr 24 22:58:43 * alexanderhiam starts hunting for TI secrets Apr 24 22:59:55 if you find out how OCP-WP works, let me know ;) Apr 24 23:03:50 lot of undocumented peripherals on the am335x, based on how many 4KB blocks labeled "Reserved" the memory map has.... but many of those could be disabled though, given how few bits are set in the DEV_FEATURES register Apr 24 23:04:33 though I haven't yet seen any part corresponding to a more feature-enabled version of the same die ... Apr 24 23:04:49 oh good point Apr 24 23:05:16 seen any docs on DEV_FEATURE? Apr 24 23:05:23 just what's in the TRM Apr 24 23:05:35 nothing on the remaining bits Apr 24 23:05:44 oh oops, just found that Apr 24 23:16:05 I did notice one really odd thing though Apr 24 23:16:19 the am335x boundary scan files refer to it as Apr 24 23:16:19 what's that? Apr 24 23:16:21 TI F781962A Fixed & Floating Point DSP Apr 24 23:16:31 oh Apr 24 23:16:52 I'd consider it a copy-paste error, though that partcode it all over the bdsl file, and remains so in the latest revision Apr 24 23:16:57 for both packages Apr 24 23:17:09 nothing whatsoever can be found on that partcode on the internet Apr 24 23:17:24 or even what series it could possibly refer to Apr 24 23:17:44 or it could be they just don't work Apr 24 23:17:52 odd copy-paste error then Apr 24 23:18:56 ds2: could be yes Apr 24 23:20:02 oh yeah, it's in the docs in the AM3359 bsdl file Apr 24 23:20:12 would be a big "oops" though, if the subarctic die contains a non-functional dsp Apr 24 23:22:29 but many other am-parts do have dsp-enabled counterparts so it makes some sense Apr 24 23:28:22 doesn't make the partcode any less mysterious though :P Apr 25 00:31:02 * nyt- yawns Apr 25 02:55:53 Hi. I've been playing with the latest debian image (3.8.13-bone47) and need to compile a driver for a usb wifi device. I'm not sure where to obtain the headers for this version of the kernel, however? Apr 25 02:59:50 apt-get install perhaps? **** ENDING LOGGING AT Fri Apr 25 02:59:58 2014