2012-01-27 00:54 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-27 01:12 xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware 2012-01-27 01:31 qwebirc47082 [qwebirc47082!4766dbba@gateway/web/freenode/ip.71.102.219.186] has joined #qi-hardware 2012-01-27 01:34 reading the backlog, interesting to see the effort to identify USB mice that work ok w MM1. How much work will it take to improve USB driver so this hand matching is not required? 2012-01-27 01:56 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-27 01:56 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-27 02:38 it will always be required. you'll just get fewer problem cases :) 2012-01-27 02:41 think of it more as of a regression test: we want to be sure the things that work keep on working. that's why it's good to keep track of them. 2012-01-27 02:48 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-27 03:03 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-27 03:19 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-27 03:52 wpwrak with great respect do you think PC makers need to test random USB mice against their new builds? The answer is "no" they have USB ports that meet the standard. 2012-01-27 04:17 well, if you give us one of those fancy test systems ... :) 2012-01-27 04:20 or you can help with the work towards getting linux to run properly. that would also solve a number of usb issues. 2012-01-27 04:24 don't have a usb tester ? no chip design or kernel hacking skills either ? no problem. a modest donation of only a few 100 kUSD would bring us a lot closer to being able to focus the next year or so on polishing things without the need to have anything that can actually be sold 2012-01-27 04:34 xiangfu [xiangfu!~xiangfu@123.114.251.251] has joined #qi-hardware 2012-01-27 04:54 wpwrak you speak with great eloquence sir. one hopes most mice past the test. this problem will solve itself in any case. move along folks, nothing to see here. ;) 2012-01-27 05:22 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-27 06:50 xiangfu [xiangfu!~user@123.114.251.251] has joined #qi-hardware 2012-01-27 07:08 wpwrak: USB zeszer? no problem, I'm sure I could use the one on the desk of my colleague on weekend. Missing any hw to test though 2012-01-27 07:09 s/zeszer/tester/ 2012-01-27 07:09 DocScrutinizer meant: "wpwrak: USB tester? no problem, I'm sure I could use the one on the desk of my colleague on weekend. Missing any hw to test though" 2012-01-27 07:10 btw it's a cheesy little plastic box almost as ugly and cheapish as the Lauterbach ;-D 2012-01-27 07:16 meanwhile: it's kinda nice we see a new user of either N900 or GTA02 every other week lately. You could almost say open phone idea slowly gains a microscopic momentum again 2012-01-27 07:18 * DocScrutinizer makes mental note to start watching a few ebay auctions on weekend, to get his spare spare N900 2012-01-27 07:19 also a few keymats (they are really suffering from wear and tear) 2012-01-27 07:46 jluis [jluis!~jpddb@83.247.136.72] has joined #qi-hardware 2012-01-27 08:05 DocScrutinizer: rather shop 6110... still real phones 2012-01-27 08:06 meh 2012-01-27 08:07 I'm indeed missing a "real phone" since all my 5pcs 6210 burnt down in that apartment fire before I joined OM 2012-01-27 08:08 but I'd rather buy some osmocom-bb compatible Cxxx than 6210. I guess I'll get a few 6210 again as gifts over time 2012-01-27 08:08 DocScrutinizer: hrhr 2012-01-27 08:09 i am still using my moto v3i 2012-01-27 08:09 ooh, actually there's still my "original" 6210 that served me right for almost 10 years 2012-01-27 08:09 just the battery is dead now 2012-01-27 08:10 * DocScrutinizer killed that battery by not recharging it for >12 months :-S 2012-01-27 08:11 reminds me.. i should charge the moko stuff from time to time again 2012-01-27 08:11 yeah, same here. Again 6 months since I last did 2012-01-27 08:12 * DocScrutinizer considers building a long term Li battery maintenance rack 2012-01-27 08:13 with a hundred slots with adjustable contacts 2012-01-27 08:13 i guess a cheap third market charger and a lot of relays would be enough 2012-01-27 08:13 well, not relays, too expensive. MOSFETs 2012-01-27 08:14 too fishy to get the charging logic not confused :) 2012-01-27 08:14 meh, what logic ;-D 2012-01-27 08:14 thermistor etc 2012-01-27 08:15 aaah, no way 2012-01-27 08:15 CC/CV 2012-01-27 08:15 i dont like unattended charging without thermistors anymore 2012-01-27 08:15 I.E a stabilized digitally controlled PSU with a series resistor 2012-01-27 08:16 I'll build the thermistorsa into the rack's slots 2012-01-27 08:16 well.. holler if you have something working 2012-01-27 08:16 :nod: 2012-01-27 08:16 i guess printing the battery holders with a 3d printer will be easy 2012-01-27 08:17 as in mill board, solder pogo/spring loaded connector, screw printed plastic frame on top or so 2012-01-27 08:17 the contacts and slots are the worst of the whle thing 2012-01-27 08:19 jekhor [jekhor!~jek@leased-line-46-53-195-130.telecom.by] has joined #qi-hardware 2012-01-27 08:20 considering I want it to be universal, mechanically 2012-01-27 08:21 well... swap holder depending on type/series 2012-01-27 08:22 thought about getting 2 or 3 basically different universal holder designs 2012-01-27 08:22 or using Lego ;-D 2012-01-27 08:23 design em in openscad, send me the file 2012-01-27 08:23 k 2012-01-27 08:24 Artyom [Artyom!~chatzilla@h6.net58.bmstu.ru] has joined #qi-hardware 2012-01-27 08:26 Hello everyone! Have anyone seen this blog: http://danstrother.com/category/fpgas/ 2012-01-27 08:27 Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware 2012-01-27 08:28 Looks interesting. (At least for me). Especially untraditional SATA connector and cable usage for transfering high LVDS signals 2012-01-27 08:29 umm 2012-01-27 08:57 DocScrutinizer [DocScrutinizer!~halley@openmoko/engineers/joerg] has joined #qi-hardware 2012-01-27 08:57 mstevens [mstevens!~mstevens@ceres.etla.org] has joined #qi-hardware 2012-01-27 08:57 mstevens [mstevens!~mstevens@fsf/member/pdpc.active.mstevens] has joined #qi-hardware 2012-01-27 09:14 xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware 2012-01-27 09:16 Campus Sebastian: http://t.co/4EzeXhGw @mkroberson @Tiffany_Qi_T2K @qihardware ( 162825944871075841@campusl6 - 56s ago via web ) 2012-01-27 09:19 Artyom: thanks a lot for the link! 2012-01-27 09:25 Artyom: if you find any interesting blogs, feeds, projects - especially if they are not in the Qi planet yet - please post here 2012-01-27 09:25 ok ;) 2012-01-27 09:27 DocScrutinizer: (usb tester) hmm, conformance tester or just protocol analyzer ? the latter are more common. there's some windows usb compliance test that's reasonably popular. not entirely sure what it entails. i read often of people referring to it, but nobody actually having used it ;-) 2012-01-27 09:28 DocScrutinizer: (charger with hundreds of slots) we don't know what burnt down your last apartment but we have an idea what will burn down the current one ;-) 2012-01-27 09:54 xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware 2012-01-27 09:55 xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware 2012-01-27 10:30 dvdk [dvdk!~dvdkhlng@g225033008.adsl.alicedsl.de] has joined #qi-hardware 2012-01-27 10:52 xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware 2012-01-27 10:56 fossrox [fossrox!~fossrox@unaffiliated/fossrox] has joined #qi-hardware 2012-01-27 11:01 antoniodariush [antoniodariush!~antonioda@nat-sta-smtc2.tvu.ac.uk] has joined #qi-hardware 2012-01-27 11:05 jivs [jivs!~jivs@nat-sta-smtc2.tvu.ac.uk] has joined #qi-hardware 2012-01-27 11:11 mstevens [mstevens!~mstevens@fsf/member/pdpc.active.mstevens] has joined #qi-hardware 2012-01-27 11:49 [commit] Xiangfu Liu: update nanonote daily build folder name and url (master) http://qi-hw.com/p/openwrt-packages/c36a307 2012-01-27 11:49 jirkab [jirkab!~root@pclph406g.vsb.cz] has joined #qi-hardware 2012-01-27 12:08 jekhor [jekhor!~jek@mx2.promwad.com] has joined #qi-hardware 2012-01-27 12:53 Ayla [Ayla!~paul@254.135.123.78.rev.sfr.net] has joined #qi-hardware 2012-01-27 13:18 antoniodariush [antoniodariush!~antonioda@nat-sta-smtc2.tvu.ac.uk] has joined #qi-hardware 2012-01-27 13:43 wolfspra1l [wolfspra1l!~wolfsprau@p5B0AD3D2.dip.t-dialin.net] has joined #qi-hardware 2012-01-27 14:13 antoniodariush [antoniodariush!~antonioda@nat-sta-smtc2.tvu.ac.uk] has joined #qi-hardware 2012-01-27 14:55 Pinguins Móveis: Pinguins Móveis 24x7 já saiu! http://t.co/A8NShcjv ▸ Principais notícias de hoje via @motorola_br @diariodoandroid @paulobrien @qihardware ( 162911276647989249@pinguinsmoveis - 54s ago via Paper.li ) 2012-01-27 15:25 woakas [woakas!~woakas@pcsp174-30.supercabletv.net.co] has joined #qi-hardware 2012-01-27 15:37 Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware 2012-01-27 15:38 paroneayea [paroneayea!~user@fsf/member/paroneayea] has joined #qi-hardware 2012-01-27 15:41 wut 2012-01-27 15:43 B_Lizzard [B_Lizzard!~havoc@athedsl-428276.home.otenet.gr] has joined #qi-hardware 2012-01-27 15:43 whitequark: btw got the money 2012-01-27 15:43 thx 2012-01-27 15:45 well, it's my bad that half a year has passed... 2012-01-27 15:46 not that i needed the money anyways :) btw how did you route the payment via wolfspraul? 2012-01-27 15:47 * dvdk closed down his paypal account before christmas, BTW 2012-01-27 15:48 he uses some credit card processing service, and while I do not have an actual credit card, I have an account in a Russian virtual money service Qiwi (not sure how this is actually called in English), I was able to transfer the money to him 2012-01-27 15:49 (qiwi) you have a "virtual wallet" which can you place money into with a terminal (think deposit-only ATM), which they have all over the city in almost impossible quantities 2012-01-27 15:50 then you can pay on the websites which support this system directly or through gateways 2012-01-27 15:50 interesting: the virtual wallet thing. who needs physical credit carts anyways? 2012-01-27 15:50 s/carts/cards 2012-01-27 15:50 dvdk meant: "interesting: the virtual wallet thing. who needs physical credit cards anyways?" 2012-01-27 15:50 recently, they've added a virtual credit card service. you click a button, then pay $0.3 and instantly get a virtual credit card number 2012-01-27 15:50 easily disposable 2012-01-27 15:51 uh, even disposable. hmm, maybe there's something special about using credit cards with russian websites :) 2012-01-27 15:51 that's Visa btw, and every e-shop I ever bought something in accepted it 2012-01-27 15:51 eve digikey (sic!) 2012-01-27 15:51 s,eve,even, 2012-01-27 15:52 even more recently, they've added a plastic card service, which is still linked to the "virtual wallet" 2012-01-27 15:52 so you can retrieve your money back from the system 2012-01-27 15:52 (it _was_ possible before, but it was quite hard -- you were required to go to a special center -- and inconvenient) 2012-01-27 15:53 and now you can use any ATM (they'll collect 1.5% through) 2012-01-27 15:53 ah, one more thing 2012-01-27 15:53 losinggeneration [losinggeneration!~quassel@71-34-161-176.desm.qwest.net] has joined #qi-hardware 2012-01-27 15:53 you actually need exactly one thing to register a Qiwi wallet -- a working mobile phone number 2012-01-27 15:53 no paperwork, no passport scans, it's instant and practically anonymous 2012-01-27 15:53 sounds very convenient 2012-01-27 15:54 you need to provide _some_ name and address when registering Visa cards, but they do not actually attempt to verify that 2012-01-27 15:54 woakas [woakas!~woakas@pcsp174-30.supercabletv.net.co] has joined #qi-hardware 2012-01-27 15:54 I wonder which kinds of fraud can you commit with that and how long will it live the way it is 2012-01-27 15:54 but yes 2012-01-27 15:54 it is incredibly convenient 2012-01-27 15:55 there are some limits, like most payments are limited by $500 a time (not Visa ones, through) 2012-01-27 15:55 still very godo 2012-01-27 15:55 s,godo,good, 2012-01-27 15:55 crappy ssh link :/ 2012-01-27 16:00 am I correct that there exists a working combination of software and hardware at #qi that implements a 802.15.4 WPAN, and that this combination is Ben+(whatever that atrf thingy was called) ? 2012-01-27 16:04 for certain defintions of working ;) 2012-01-27 16:04 but i don't know the details 2012-01-27 16:04 wpwrak is the person you want to talk to 2012-01-27 16:19 woakas [woakas!~woakas@pcsp174-30.supercabletv.net.co] has joined #qi-hardware 2012-01-27 16:39 the web knows everything :) http://downloads.qi-hardware.com/people/werner/wpan/web/ 2012-01-27 16:42 wpwrak: ok, that's fine for me. Where can I buy two atbens, atusb and a NN? Preferably in a single package delivered by something like fedex. 2012-01-27 16:42 (where) I've seen the discussion about current state of tuxbrain above, hence the question 2012-01-27 16:44 btw, this link is dead: http://downloads.qi-hardware.com/people/werner/wpan/web/zoom.html 2012-01-27 16:44 emeb [emeb!~ericb@ip72-223-81-94.ph.ph.cox.net] has joined #qi-hardware 2012-01-27 16:45 (buy) hmm, i'd still try tuxbrain. else, maybe pulster. 2012-01-27 16:47 hm 2012-01-27 16:48 pulster is significantly more expensive than tuxbrain 2012-01-27 17:02 wpwrak: do you know if XBee's are free hardware? 2012-01-27 17:10 seems only the interface boards, but not the xbee itself 2012-01-27 17:13 aha. 2012-01-27 17:13 (zoom.html) fixed. thanks ! 2012-01-27 17:13 so I'll go buy that stuff, and then explain what I want to do with it 2012-01-27 17:13 hehe, ok :) 2012-01-27 17:14 [commit] Werner Almesberger: web/Makefile: also upload zoom.html (reported by Peter Zotov) (master) http://qi-hw.com/p/ben-wpan/a642bfa 2012-01-27 17:14 [commit] Werner Almesberger: Merge branch 'master' of projects.qi-hardware.com:ben-wpan (master) http://qi-hw.com/p/ben-wpan/762d33c 2012-01-27 17:24 antgreen [antgreen!~user@70.50.65.30] has joined #qi-hardware 2012-01-27 18:07 re 2012-01-27 18:11 Que hay en mi Cesta? 2012-01-27 18:11 Tu Cesta de la Compra esta vacia! 2012-01-27 18:11 I don't know what this means, but I hope that it is "your payment was successful" 2012-01-27 18:14 hehe 2012-01-27 18:15 looks more like "your shopping cart is empty" 2012-01-27 18:16 it means: "what's in my shopping cart ?" "your shopping cart is empty!" 2012-01-27 18:25 ah yes, fine then 2012-01-27 18:25 okay 2012-01-27 18:26 I think I've already told what do I want to do: a home automation system implemented as a wireless network of simple specialized devices on a common platform 2012-01-27 18:27 Bruce Perens says "Qi is interesting, but will be important if they ever manage to break out of being a nerds-only product." 2012-01-27 18:27 src http://lwn.net/Articles/475742/#Comments 2012-01-27 18:27 fair enough Bruce, only that you miss the fun of being part of it :-) 2012-01-27 18:27 oh, nice 2012-01-27 18:28 expect nerd part ;) 2012-01-27 18:28 roh [roh!~roh@yamato.hyte.de] has joined #qi-hardware 2012-01-27 18:28 larsc [larsc!~lars@eisbaer.ursus-maritimus.org] has joined #qi-hardware 2012-01-27 18:28 zumbi [zumbi!~zumbi@77.224.206.23] has joined #qi-hardware 2012-01-27 18:28 AwAyla [AwAyla!~paul@254.135.123.78.rev.sfr.net] has joined #qi-hardware 2012-01-27 18:28 uwe_ [uwe_!~uwe_@dslb-088-066-186-052.pools.arcor-ip.net] has joined #qi-hardware 2012-01-27 18:28 panda|x201 [panda|x201!~hzhang@221.219.114.76] has joined #qi-hardware 2012-01-27 18:28 I can understand the sentiment though, products need to become more polished, easier to use. 2012-01-27 18:29 losinggeneration [losinggeneration!~quassel@71-34-161-176.desm.qwest.net] has joined #qi-hardware 2012-01-27 18:30 paroneayea [paroneayea!~user@fsf/member/paroneayea] has joined #qi-hardware 2012-01-27 18:30 >Arduino has some down sides. It does not use a 32-bit processor, so it cannot run complex software (like Linux, for example) 2012-01-27 18:30 ahem 2012-01-27 18:31 whitequark: (home automation) sounds great :) i have such idea pending, too. never moved beyond general ideas, though. 2012-01-27 18:31 >Bruce waved around a DSO Quad, a pocket-sized digital storage oscilloscope. <...> one does not need a large corporation to create compelling mobile products 2012-01-27 18:31 wolfspra1l: all press is good press ;-) 2012-01-27 18:31 while the statement about large corporations is valid, DSO Quad isn't the best example... 2012-01-27 18:31 and the statement about arduino and 32-bit cpus is just stupid 2012-01-27 18:31 that's not really press, he did not mention Qi in his talk, but aware of it like most serious foss people 2012-01-27 18:32 Google sent me a free 75 EUR adwords coupon, nice. I will use it for Milkymist 2012-01-27 18:32 I will try things like video synthesizer, instrument, reconfigurable computer 2012-01-27 18:33 ha, adwords words race :) 2012-01-27 18:34 wpwrak: (home automation) I'll continue on that 2012-01-27 18:34 funny. ads on that article on lwn: rambus and "global IP law group" 2012-01-27 18:34 whitequark: check mirko work around light control using 433mhz tranceivers, prerry interesting 2012-01-27 18:35 oh I don't expect much good, but I've never used adwords and if they send me this free coupon, I'll throw it right back, why not 2012-01-27 18:35 or may be he also have some others plans, since the wireless network is almost ready to be implmented with more appliances i guess 2012-01-27 18:35 interesting fusion of "very" and "pretty". is there "prey" in there as well ? :) 2012-01-27 18:35 I currently want to do basically three types of devices. First is basically a SSR, possibly with current measurement. I will use it to control light and wall sockets. 2012-01-27 18:36 whitequark: how do the devices get power ? 2012-01-27 18:37 Second is a sensor acting as a switch. It may have more applications than I currently think of, but basically it's a replacement for a convenient switch. Why "sensor"? I think I want to try two variants, first as a conventional mechanical switch and second as a sensor one, by several reasons. Second one is more promising for me 2012-01-27 18:38 (power) I'm currently exploring how hard it is to get power from the 220V grid which is already there 2012-01-27 18:38 good :) 2012-01-27 18:39 power supplies are harder than I thought 2012-01-27 18:39 yes ;-) 2012-01-27 18:39 do you have any experience on that? 2012-01-27 18:39 particularly if you don't have a lot of room and need more than 1-2 mA 2012-01-27 18:39 exactly 2012-01-27 18:39 no. that's why my project didn't move 2012-01-27 18:40 and at the moment, I cannot say that I know how to do it... 2012-01-27 18:40 especially to make it safe and efficient 2012-01-27 18:41 (I'll finish on the device types) Third is an environment sensor. Humidity (to detect bathroom floods), gas, smoke etc. Some of them may very well be self-powered. I am quite sure that with right components and firmware a 3V lithium battery can last for months, if not years 2012-01-27 18:41 what i'm looking for is: 1) user terminal (button, some indicators) 2) triac to switch lamps. must work with CFL. 2012-01-27 18:42 well, I basically want the same 2012-01-27 18:42 the terminals would go where the light switches are. the triacs could either be on the same board (since the cables pass there anyway, most of the time), or go next to the lamps 2012-01-27 18:43 i also want the terminal to be able to alert me when someone presses the doorbell or such 2012-01-27 18:43 yeah 2012-01-27 18:44 (env sensor) yeah, that one can stay passive and maybe just ping the central once a day to indicate that it's still alive 2012-01-27 18:44 yes 2012-01-27 18:44 for phy/mac layer, I'll use 802.15.14 and I hope I find some upper level protocol to not reinvent the wheel 2012-01-27 18:45 the network must be point-to-point 2012-01-27 18:45 if I have two separate nodes with switch and a triac, the switch node should directly turn on the triac 2012-01-27 18:45 not relying on some central server 2012-01-27 18:45 you probably need a mesh. but protocol issues are easy to solve. (well, from my pov :) 2012-01-27 18:46 yes, I don't see that as a hard task 2012-01-27 18:46 just the one which needs to be done right 2012-01-27 18:47 (switch to triac) yup. sitting in the dark when the pc crashes sucks ;-) 2012-01-27 18:47 then, I want a control panel on which I could see the plan of entire network, sensor states, and maybe have more controls on the overall system 2012-01-27 18:47 like "switch to the 'owner absent' mode", etc. 2012-01-27 18:47 you could use a ben for that 2012-01-27 18:48 probably cheaper than building from parts 2012-01-27 18:48 actually, I want to get a device with touchscreen and hang it on a wall 2012-01-27 18:48 cost issues are not that significant for me anymore, as I've found a good job 2012-01-27 18:48 touchscreen is trickier 2012-01-27 18:49 ;-)) 2012-01-27 18:49 I could buy an ipad, if only it wasn't an Apple anal probe 2012-01-27 18:49 some cheap chinese android tablet would work perfectly 2012-01-27 18:49 ditch android and use framebuffer 2012-01-27 18:50 you can find one for less than $100 2012-01-27 18:50 that's cheaper than ben afaik :D 2012-01-27 18:50 (pad < USD 100) hmm, not here :-( 2012-01-27 18:52 http://www.dealextreme.com/p/7-touch-screen-tft-lcd-google-android-1-6-tablet-pc-w-wifi-camera-via-wm8505-arm926-44080 2012-01-27 18:53 it is exceptionally crappy as a tablet, but would work perfectly for this purpose 2012-01-27 18:53 it even has a capacitive sensor display 2012-01-27 18:53 AwAyla [AwAyla!~paul@254.135.123.78.rev.sfr.net] has joined #qi-hardware 2012-01-27 18:54 naw, don't think so. one of the comments says "no multitouch" 2012-01-27 18:55 http://www.dealextreme.com/p/8-touch-screen-lcd-google-android-2-2-tablet-pc-w-wifi-camera-tf-arm-v5-299mhz-71147 2012-01-27 18:55 cap is usually around 2x the price of resistive 2012-01-27 18:55 hm 2012-01-27 18:55 well, maybe 2012-01-27 18:55 I don't need multitouch here anyway, I think 2012-01-27 18:56 yeah, that would be a tad excessive ;-) 2012-01-27 18:58 at last, I want to have a piece software to configure the entire network: generate a config for terminals, OTA firmware for sensors, upload it, etc. I hope to reuse some FOSS SCADA system here, but I'm not sure if that will work. 2012-01-27 18:58 of course, I prefer the whole stack to be as free as possible: only OSS and OSHW. 2012-01-27 18:59 I won't trust some proprietary system to take control of my home 2012-01-27 18:59 \o/ 30 lines of code today, first time in this ugly environment and also first time after 12 months. And only one missing ; then it 'just worked' 2012-01-27 19:01 ;-)) 2012-01-27 19:01 wpwrak: on the hardware part, I think this will work the best: 1) a power supply as a separate block, yet to be found 2) a radio module aka atben with the SD part cut off and replaced by a pinhead 3) a customized mainboard 2012-01-27 19:02 mainboard will be based on STM32. Sorry Arduino fans, STM32 has significantly better power and cost efficiency. 2012-01-27 19:03 I've seen an example when a single low-power STM32V was displaying a counter on monochrome glass LCD display for several hours 2012-01-27 19:03 it was powered by an apple 2012-01-27 19:03 not that cupertino company, but a fruit 2012-01-27 19:03 you know, copper and zinc electrodes 2012-01-27 19:14 (stm32) power doesn't matter. your supply needs to be able to provide a few mA anyway. 2012-01-27 19:14 jekhor [jekhor!~jek@leased-line-46-53-195-130.telecom.by] has joined #qi-hardware 2012-01-27 19:15 (rf) once the thing matures, you can also just integrate the RF circuit into your design. 2012-01-27 19:15 the power supply is the tricky bit ;-) 2012-01-27 19:16 also, you probably want to be able to squeeze this into the little boxes in the wall that currently contain the light switches, right ? about 5 x 10 cm 2012-01-27 19:18 mstevens [mstevens!~mstevens@fsf/member/pdpc.active.mstevens] has joined #qi-hardware 2012-01-27 19:20 wpwrak: (power) it does matter for standalone sensors. anyway, STM32 is a vastly better controller than any ATmega. 2012-01-27 19:20 (rf) that can be tricky. I have no equipment to work with RF and it's still too expensive for me AFAIK 2012-01-27 19:21 (little boxes) yes 2012-01-27 19:21 (the power supply) yes. I'll ask a quesion on StackExchange.EE, and I'll try to find a ready one 2012-01-27 19:22 if I could find one that is made with accessible components (no custom transformers, etc.), I think that I can reverse-engineer it. Not sure how sensible is this, through, but at least it may give me some ideas 2012-01-27 19:23 those little boxes are round here 2012-01-27 19:24 here too 2012-01-27 19:26 the RF module is very small. STM32's are also not known for their large cases. power supply is the worst part 2012-01-27 19:29 yes, power and shielding effects should be the worst bits 2012-01-27 19:41 I wonder what maximal current do we need 2012-01-27 19:41 certainly no more than 50mA 2012-01-27 19:41 @3.3V 2012-01-27 19:42 5mA should be enough for CPU; RF part is in range of 12mA if I remember that correctly 2012-01-27 19:42 there is also SSR and leds 2012-01-27 20:09 B_Lizzard [B_Lizzard!~havoc@athedsl-428276.home.otenet.gr] has joined #qi-hardware 2012-01-27 20:09 whitequark: vastly better depends on what you wanna do. 2012-01-27 20:13 e.g. if you need precise bitbang timing, arm usually is worse than avr due to a muxed io bus (no full cpu core speed io possible on arm) 2012-01-27 20:16 so there is no 'cpu a is better than cpu b'. it _always_ depends on the specific usecase what is more reasonable and what not. 2012-01-27 20:21 hey that's why we work on Milkymist 2012-01-27 20:22 because I fully agree with roh, and in all the thousands of exciting embedded computing products we will want to have in the future, it will only be true even more 2012-01-27 20:22 you pick a CPU for a project, you start working, and inevitable one day will be the 'big oh day' 2012-01-27 20:23 then it gets interesting :-) 2012-01-27 20:23 hey wolfspra1 2012-01-27 20:23 l 2012-01-27 20:23 ;-) 2012-01-27 20:24 hi! 2012-01-27 20:42 roh: hm, interesting 2012-01-27 20:43 anyway, I only meant "vastly" in the context of this project, and not as a general statement 2012-01-27 20:44 * roh doesnt like generalisations on technology. there is always 'the right kind' for 'the right problem' .. but not one tech. which is solves all kinds of problems. 2012-01-27 20:44 (milkymist) and you'll never get a custom PWM that's as precise as one you synthesize in an FPGA ;-) 2012-01-27 20:45 (through I do think that they are generally better than AVRs in most of the cases where AVRs are used, _if_ you ignore: a) compatibility b) absence of ARMs in DIP c) as you've noted, precise bitbanging d) maybe more, but not much.) 2012-01-27 20:45 (besides, best of luck finding a device with a combined pwm and led matrix controller :) 2012-01-27 20:45 i dont like arm because the io is usually much more crappy 2012-01-27 20:45 define "io" ? 2012-01-27 20:45 i really like the avr io banks. 2012-01-27 20:45 io. gpio, usarts, etc.. everything NOT a cpu core 2012-01-27 20:46 well, then you should definitely take a look at stm32 2012-01-27 20:46 arm has _really_ crappy ones. 2012-01-27 20:46 also stm. 2012-01-27 20:46 hm 2012-01-27 20:46 stm sucks even more when it comes to pricing and packages. 2012-01-27 20:46 what do you not like in STM IO? 2012-01-27 20:47 i usually use arm when its 'grown up'., means arm9, arm11 cores WITH mmu. 2012-01-27 20:47 if i dont need an mmu, i dont need a such fast cpu usually. 2012-01-27 20:48 Greer [Greer!~greer@gateway/tor-sasl/greer] has joined #qi-hardware 2012-01-27 20:48 (pricing) I'm not sure about %countrynamehere%, but here in Russia I know a real company which assembles, locally, atmega-based devices. And Atmel pricing sucks a whole lot compared to STM in practically every place you can get both kinds of controllers here. 2012-01-27 20:48 like 3 times more 2012-01-27 20:48 means i use arm when i need a full fledged os and i can run linux on the cpu. smaller stuff i usually always solve with avr stuff.. 2012-01-27 20:49 pigs seem to be pretty cheap. if you can stand the smell :) 2012-01-27 20:49 wpwrak: do you hate STM too? 2012-01-27 20:49 around here a phillips i2c io expander is more expensive than a avr cpu which can do the same and much more. 2012-01-27 20:49 i haev no opinion on STM. haven't looked at them for a while 2012-01-27 20:49 so guess what people use to get more gpio from i2c? not a pcfxxx chip 2012-01-27 20:49 roh: I still want to hear what's so wrong with stm ios 2012-01-27 20:50 wpwrak: well.. same as the lpc stuff.. boring small arm cpus with 'another io paradigm again' 2012-01-27 20:50 ARMs used to have overly picky power supply requirements. but maybe this has changed. 2012-01-27 20:50 because I worked with both stms and atmels, and I don't quite understand your point 2012-01-27 20:50 whitequark: whats wrong? with arm? usually the manufacturer mostly. even atmel fails on arm. 2012-01-27 20:51 e.g. initial bootloader. its a _mess_ 2012-01-27 20:51 wpwrak: (arms) atmels can work with 12V Vcc, heating like an iron. I don't really need that modus operandi, so again, I'm fine with stm 2012-01-27 20:51 fwiw, i'm not too fond of avr either. too many legacy quirks for my taste. 2012-01-27 20:51 roh: not generally with ARM, of course. LPCxxxx's are quite crappy 2012-01-27 20:51 roh: I want to know what's particularly wrong with STM compared to atmels. 2012-01-27 20:52 regardless if you look at SAM-BA, broken dfu implementations, crappy shit emulating fat-fs on usb on lpc or whatever. 2012-01-27 20:52 whitequark: i was more thinking of variable supplies like a battery 2012-01-27 20:52 whitequark: i havent seen a single decent small arm cpu. 2012-01-27 20:52 and i have them all around. 2012-01-27 20:52 whitequark: and many arms even need separate core and i/o. but again, maybe they fixed this for the embedded ones. 2012-01-27 20:53 wpwrak: stm32f only needs a single 3.3v supply 2012-01-27 20:53 roh: all that looks like software problems :) 2012-01-27 20:53 whitequark: does it have to be exactly 3.3 V ? or can it be, say, 5 V ? 2012-01-27 20:53 the 'magic' of avr is their extemely good io, and that they are extremely easy to get up and running (in sw as well hw). 2012-01-27 20:54 roh: if you have problems with that, just write your own bootloader. you'd do that on AVR anyway. 2012-01-27 20:54 wpwrak: no. it would be sw but the arm bootloaders are in a ROM page they map into their memory on boot depending on the bootmode pins 2012-01-27 20:54 whitequark: people do that. i just use cpus which NOT make me puke on trying to boot. 2012-01-27 20:54 wpwrak: it works on 2.0 to 3.6V 2012-01-27 20:54 i think their magic is that they have a decent free toolchain ... and that they're popular ;-) 2012-01-27 20:55 wpwrak: that too. 2012-01-27 20:55 without gcc you basically cannot sell a mcu. 2012-01-27 20:55 ah.. and 5V tolerance is a must for some projects. 2012-01-27 20:55 well, sdcc is an option ... it's tolerable 2012-01-27 20:55 roh: (gcc) of course that's why we have billions of PIC8 in the world. wait, pic8 has no gcc. 2012-01-27 20:56 roh, wpwrak: almost all I/Os are 5V tolerant 2012-01-27 20:56 whitequark: i am not talking about boring industry projects. i am talking about creative people like here. 2012-01-27 20:56 whitequark: 2.0 V is good. that means that you can probably use CR2032 cells 2012-01-27 20:56 whitequark: just stop argumenting. you cannot persuade people that way. 2012-01-27 20:57 roh: you sound like a troll, actually 2012-01-27 20:57 a bad bootloader is definitely a reason not to use a particular chip, yes 2012-01-27 20:57 knives ! we need knives ! :) 2012-01-27 20:57 and apart from that you have not mentioned any facts. 2012-01-27 20:58 whitequark: i do electronics for >15 years now. i speak from experience. and the latter isnt always nice. 2012-01-27 20:58 and, through that may sound strange, I'm still interested in what do you say. For example, I will recall your words about bitbanging when I'll encounter it 2012-01-27 20:58 sure 2012-01-27 20:59 then, can you say what exactly is wrong with the io? 2012-01-27 20:59 I'm genuinely interested 2012-01-27 20:59 whitequark: well.. i am not interrested in aguing with you. 2012-01-27 20:59 and mostly: arm io is muxed. so i CAN NOT wiggle pins on 1/2 cpuclock like i can do on a avr. 2012-01-27 21:00 and thats only one thing. 2012-01-27 21:00 on ti or lpc arm i dont like the register layout because its annoying to program simple stuff with it and has lots of side-effects (and or masking which eats cycles) 2012-01-27 21:00 yeah, you've already said that, and I never argued with that. any others? 2012-01-27 21:01 some machines have registers for bitwise operations.. which suck again if you need some bits switching sync. which is NOT POSSIBLE on muxed/banked io. 2012-01-27 21:01 means .. arm CAN NOT do some of the stuff i do a lot with avr chips very easily 2012-01-27 21:02 the completely broken bootloader situation is the next thing. 2012-01-27 21:03 then you usually need multiple voltages, external clocks, complex pll boot procedures and bad documented details to get stuff working even if you get code executing... why? because manufs are really braindead when it comes to documentation and open tools. 2012-01-27 21:04 when i need to use a different tool to flash 2 different arm cpus from the same manuf. that manuf FAILED. 2012-01-27 21:05 roh: btw, i have my doubts about your bit-banging argument. remember that i even got reasonably precise video out of MIPS, with caches, mmu, etc. ? i doubt arm is worse. and yes, you have to work harder than on an avr to get this right. but that's the cost of having a fast cpu. 2012-01-27 21:05 and that i cannot switch code from one arm cpu to another easily because every manuf used different io blocks. thats just plain stupid and breaks all portability. 2012-01-27 21:06 wpwrak: arm only works when you run it at siginificantly higher clocks than avr. 2012-01-27 21:06 roh: you cannot switch several bits with one I/O instruction on AVR without explicit read-modify-write 2012-01-27 21:07 which is what you have anyway. of course, if the clock was as slow as avr, all the things needed for optimizing speed would just be obstacles 2012-01-27 21:07 whitequark: i can do a read-modify-write in the same time an arm on the same clock does half that on banked io. 2012-01-27 21:07 roh: can't you just load your own boot loader into your SAM ? 2012-01-27 21:07 wpwrak: yes and no. 2012-01-27 21:08 the romloader is rom. 2012-01-27 21:08 nothing to flash there 2012-01-27 21:08 and you cannot implement bootloader-like functionality in flash ? 2012-01-27 21:08 only if you have a part with internal flash 2012-01-27 21:08 that's just the same on avr 2012-01-27 21:09 internal flash would seem the norm in this class of devices 2012-01-27 21:09 whitequark: true. but there you get fucking working tools. not broken garbage from the manuf. 2012-01-27 21:09 wpwrak: some try using serial flash now. also sdcards etc. 2012-01-27 21:09 roh: are you using an atmel-provided DFU on avr ? 2012-01-27 21:09 and booting from such stuff works by romloader 2012-01-27 21:10 wpwrak: no. i do not use usb usually. 2012-01-27 21:10 very few of my devices get usb ports at all. 2012-01-27 21:10 roh: which avr do you use that has no internal flash and boots from external serial flash ? 2012-01-27 21:10 so why do you need DFU then, if you don't have USB ? 2012-01-27 21:10 all avr have internal flash. i was talking about arm stuff. 2012-01-27 21:11 wpwrak: when i get forced to use a proprietary mode via serial or usb by a manuf, i rather like a standard way like dfu. 2012-01-27 21:11 for devices where you use an avr, would there be only arm-based choices that require external flash ? 2012-01-27 21:11 on avr nobody forces me to use the serial or usb. i an happily develop via isp 2012-01-27 21:11 isp seems to be out of the arm comfort zone nowadays... 2012-01-27 21:11 do the SAMs have no other way of flashing than USB ? 2012-01-27 21:12 its either fully blown jtag with endless pins, or broken loaders. 2012-01-27 21:12 i've heard of something called JTAG 2012-01-27 21:12 yeah :) 2012-01-27 21:12 roh: if you do not want to look at stm32 due to your belief or anything, then fine. I have actually used chips from these series. I co-authored a FOSS flashing tool for the entire line. It does not need multiple voltages, it has internal oscillator, its PLL init is not complex and well-documented, and the docs are roughly the same quality as for AVRs. I'm curious about the real details of bitbanging stuff, so I will look into that and pos 2012-01-27 21:13 documentation is mostly only explaining the broken serial or usb loaders. not jtag, not speaking of working gpl toolchains to do jtag properly with affordable tools NOT supplied from the mcu vendor 2012-01-27 21:13 (flashing tool) this "flashing tool" is an in-circuit debugger, which (also) supports flashing through gdb. 2012-01-27 21:13 all FOSS, and not broken. 2012-01-27 21:13 whitequark: your line got truncated by the evil ircd... 2012-01-27 21:13 roh: i guess we'll have to wait and see what happens when whitequark hits the point of wanting to load his first hello.c :) 2012-01-27 21:14 whitequark: the point is: i am happy with avr for what i do with avr. when its 'a bigger task than the avr can handle' then one can use 2 or more avr very easily. for anything which needs a display or networking i just use a fully blown linux on a grown up arm cpu. 2012-01-27 21:14 whitequark: i dont see avr as 'mcu' only anymore. its 'programmable io part' for me. 2012-01-27 21:14 wpwrak: http://github.com/whitequark/stlink. go ahead with your sarcasm. 2012-01-27 21:15 i do keyboard debouncing and preprocessing on there if neccessary. leaving the memory load heavy stuff to a real arm cpu. 2012-01-27 21:16 if you ask me. arm7 isnt needed anymore. 2012-01-27 21:16 roh: your approach works well until you want to make an UAV (an actual task I've attempted). you either need to stack avrs one on another, or just use a chip with hw multiplier and fast 32-bit arithmetics. 2012-01-27 21:16 and stm32 is cortex-m3 and not arm7. 2012-01-27 21:16 whitequark: a uav has more than one cpu core and not only a simple arm7 2012-01-27 21:17 or cortex m3 2012-01-27 21:17 from my pov thats not an improvement 2012-01-27 21:17 cortex m is the same as arm7 to me. not better. just new name. marketing. 2012-01-27 21:18 lindi-_: thanks 2012-01-27 21:18 that line was truncated. <...> I'm curious about the real details of bitbanging stuff, so I will look into that and post the actual result. I have not looked into serial bootloader, SWD and JTAG are standard interfaces where you have FOSS tools to work with the chip, so I won't comment on the internal boot either. SWD is 2-wire by the way. 2012-01-27 21:19 whitequark: so.. thanks for the links, but you CAN NOT win this by argument, simply because there is nothing to win. 2012-01-27 21:19 the mcu market IS full of 'duplicated usecases' 2012-01-27 21:20 and cortex Mx has to fight against avr. i dont need to have one win over the other. 2012-01-27 21:20 avr was there before and i know it quite well and whats possible with it and what not. THATS the real gain. its like the 8086 for the mcu possie. 2012-01-27 21:21 when we get up to processing power demands of avr32 or cortexA8, A9, the picture changes. 2012-01-27 21:21 I'm not trying to convince you that STM32 is better than AVRs (through I do state that myself), but I can't stand to see someone saying clearly false statements. (Yes, that whole "someone in internet is wrong" thing). 2012-01-27 21:21 that reminds me, can you suggest any good software for using JTAG and ARM? I've used only openocd and it seems somewhat unfinished 2012-01-27 21:21 then it may be more feasible to use an arm cpu (as i would) 2012-01-27 21:22 maybe I'd need to configure it more or something 2012-01-27 21:22 but for example it can not read physical addresses if MMU is enabled 2012-01-27 21:22 whitequark: i am not saing one is better than the other. i am saying that there is more than 'i got the same features 10 years late, please all switch to arm now' 2012-01-27 21:22 avr killed the pic for the most part of the market here. remember that. 2012-01-27 21:22 (sorry to hijack the thread so to speak..) 2012-01-27 21:23 lindi-_: openocd is it. 2012-01-27 21:23 roh: (avr killed pic) for good 2012-01-27 21:23 I heard different things about pic, through. I.e. that it still is in every small consumer device like tv remotes or car keys. Not sure about that. 2012-01-27 21:24 lindi-_: for jtag in general, i find urjtag considerably better than openocd. but i don't know it implements the specific features you need. 2012-01-27 21:24 whitequark: pics are nowadays nearly extinct 2012-01-27 21:24 whitequark: atleast compared to avr, small arm and 8051 cores 2012-01-27 21:24 the latter ones having the majority afaik 2012-01-27 21:24 roh: nice to hear that. that's an arch worse than 8086. 2012-01-27 21:25 8051 i really not like. 2012-01-27 21:25 I was unfortunate enough to begin my mcu programming experiments with pic. it was awful. 2012-01-27 21:25 but its really cheap and chinese companies use it afaik without any licensing 2012-01-27 21:25 roh: pics exinct ? you wish :) 2012-01-27 21:25 wpwrak: for the majority of stuff.. yes. i see >8 avrs for one pic 2012-01-27 21:25 and about a dozend 8051 2012-01-27 21:26 thats the ratio in commodity hw 2012-01-27 21:26 every usb device usually has atleast one 8051 2012-01-27 21:26 yeah, 8051 still rule the world :) 2012-01-27 21:26 roh: I'm not "everyone switch to ARMs now!!111", but more "let's not ignore cortex-m3 where it's better than avr." anyway. 2012-01-27 21:27 wpwrak: currently debugging openmoko suspend issue 2012-01-27 21:27 roh: how do you determine which cores are present in commodity hw? if we mean those small consumer devices with epoxy blobs and so on 2012-01-27 21:27 I suppose that by 8051s in USB HW you mean Cypress chips, right? 2012-01-27 21:27 whitequark: the reason i seems ignored is that its difficult to learn about mcu when you get confused by manufs all the time 2012-01-27 21:27 ther is just no continuity in arm mcu. 2012-01-27 21:27 wpwrak: http://lindi.iki.fi/lindi/openmoko/crash/README seems to be a useful approach but it doesn't give me registers so I need to use JTAG too 2012-01-27 21:28 not in the io, not in the loaders. nothing besides the asm (and that nobody gives a shit, they all use compilers from c or higher) 2012-01-27 21:29 so learning about programming and hardware and mcu is much easier on avr. everything has a history and can be easily explained, is portable easily between basically ALL 8bit avr cpus from the forst at90s1200 to the lastest avr8u and similar stuff 2012-01-27 21:29 lindi-_: phew ... may be tricky :) 2012-01-27 21:29 whitequark: documentation tells you a lot about included cores 2012-01-27 21:30 whitequark: arm is simply not used because it costs money. 2012-01-27 21:30 lindi-_: i use jtag mainly for flashing these days. on milkymist. there, gdb runs over serial, so we don't need to use jtag for it 2012-01-27 21:30 wpwrak: gdb over serial means you are using kgdb? 2012-01-27 21:31 lindi-_: no, just regular gdb with a little gdb stub in the FPGA. don't know exactly how it works. but it does quite well ;-) 2012-01-27 21:31 roh: that's when you have it. may I ask what job do you have so you examine lots of such devices routinely? 2012-01-27 21:32 wpwrak: fpga. ok that won't help me then :/ 2012-01-27 21:32 i am a freelancer 2012-01-27 21:32 the job depends on the customer, but i also to custom reverse-engineering 2012-01-27 21:32 e.g. flash dumping for embedded devices etc 2012-01-27 21:33 wpwrak: urjtag can not be used to single step or set breakpoints? 2012-01-27 21:33 roh: aha, I understand now 2012-01-27 21:33 even a usb hub has a mcu embedded ;=) 2012-01-27 21:33 lindi-_: afaik, not easily. at least not for arm. 2012-01-27 21:33 also 8051 usually 2012-01-27 21:33 yeah I know 2012-01-27 21:33 8051s are everywhere 2012-01-27 21:34 lindi-_: it's more for the boundary scan / flash / etc. kind of stuff. it can be extended, though. so there could be more features. 2012-01-27 21:34 I wonder how much of these little cores are embedded in my notebook 2012-01-27 21:34 5? 10? 2012-01-27 21:34 lemme see if there's anything new ... 2012-01-27 21:34 wpwrak: right. 2012-01-27 21:34 what's nice about urjtag is that it's just one program. not some quirky client-server thing. 2012-01-27 21:34 whitequark: i guess a common notebook has something between 1 and 4 dozend cpus inside 2012-01-27 21:35 wpwrak: the problem is that while gdb + openocd works it is not very elegant for debugging linux since gdb does not understand anything about linux threads for example 2012-01-27 21:35 roh: yeah, I've expected something like that 2012-01-27 21:35 currently I have one bug where I just seem to always be in some interrupt handler if I halt the cpu at regular intervals and check where it is 2012-01-27 21:36 and I'd love to see what the other threads are waiting for 2012-01-27 21:37 lindi-_: a case for printk debugging ? :) 2012-01-27 21:37 roh: (learning) absolutely. I myself learned that on AVRs, and they're very good for that purpose. Then, it took me a few days to get up and running on stm32. I don't see that as a problem. 2012-01-27 21:37 wpwrak: that's very painful :( 2012-01-27 21:37 they have quite similar peripherals and so on. 2012-01-27 21:38 lindi-_: what about kgdb? is it applicable in your case? 2012-01-27 21:39 (urjtag) still only blackfin and xilinx (for "fancy" features) 2012-01-27 21:40 wpwrak: not sure 2012-01-27 21:40 wpwrak: it relies on interrupts to work at least 2012-01-27 21:40 whitequark: dont get me wrong.. but when sombody asks me what stuff to use for mcu and cpu on a openhw project i'll tell them avr for the small stuff, arm for the big 2012-01-27 21:40 google has written some FIQ based debugging system afaik, that should work even when interrupts are disabled 2012-01-27 21:40 arm for the linux, avr for stuff like power rail management etc. 2012-01-27 21:41 roh: I understand your reasons 2012-01-27 21:41 simply because that way one can piggyback on a much bigger userbase which actually CAN tamper with stuff without destroying it 2012-01-27 21:42 didnt gta02 use fiqs also for pwm, hdq and more evil stuff? 2012-01-27 21:42 roh: yep 2012-01-27 21:42 i remember andy green hacking that up 2012-01-27 21:42 yep, that stuff is still being forward ported: complete list of things we still need on top of mainline is at http://wiki.openmoko.org/wiki/Kernel/Upstreaming 2012-01-27 21:43 for me it's usually a question of the hardware feature set. with the provisio that tools must be open source. very often, this narrows down your choices rather quickly. 2012-01-27 21:43 wpwrak: ack 2012-01-27 21:43 roh: but I'd say that if someone asks that, then he/she does not have enough experience to work with Arduino+shields on AVR and preassembled boards and peripherals from some particular vendor for ARM 2012-01-27 21:44 and it is probably the correct answer in both cases, and I'd say the same too 2012-01-27 21:44 question of usebase and how to intregrate people 2012-01-27 21:48 roh: if you are not learning and/or blindly copy-pasteing snippets in a fancy IDE, then the only major advantage of a big userbase is that all weird corner cases which bite you painfully are already discovered 2012-01-27 21:48 from my pov: when a system needs an ide to be understandable, you failed 2012-01-27 21:48 roh: that was about Arduino. 2012-01-27 21:48 arduino i do.. by using makefiles and vim 2012-01-27 21:49 I just don't use them--I'm fine with plain atmegas 2012-01-27 21:49 that way i solve my problems in a way i can have less experienced people be able to replicate my results. 2012-01-27 21:49 by .. well.. i dont care if they use the ide or not. they get a pde file with pinout commments 2012-01-27 21:51 I have an opinion here--that a lot of people tend to disagree with--that if you can not understand C, then you don't need embedded programming, and if you cannot draw schematics by hand, then you don't need EE 2012-01-27 21:52 (by "understanding C" I do not mean some of its worst features, but rather some very basic things like pointers and such.) 2012-01-27 21:52 because if you don't understand pointers, then a blinker is the most complex thing you can do 2012-01-27 21:53 or you may be able to successfully combine high-level blocks someone did for you, but you will utterly fail when the whole thing will stop working by some reason 2012-01-27 21:53 its not only about understanding. its about makeing sure people do not stand still 2012-01-27 21:54 hm? 2012-01-27 21:54 if you get the learning curve flat, and not too steep. everyone can do it. 2012-01-27 21:54 if the learning curve is very steep, only very few people will like it. the rest will be frustrated and annoyed. 2012-01-27 21:56 even if you have a flat learning curve, a huge amount of people will never actually learn more than, say, 10% of thing. at least that's my observation 2012-01-27 21:57 yeah. maybe. but thats 10% more than nothing 2012-01-27 21:59 they will never manage to do any of the actual work. that's what is wrong with the whole Arduino (and Python) ecosystems, I think. 2012-01-27 21:59 you've displayed that quite well 2012-01-27 22:00 there you are wrong 2012-01-27 22:00 if you have an arduino, then every problem seems like it needs a shield. if one arduino is not enough, then let's stack three of them 2012-01-27 22:00 i know people who before arduino were convinced they are too stupid for mcu and electronics, programming etc. 2012-01-27 22:01 but arduino made the start so easy that they developed fun hacking on stuff, even writing libs and so on. 2012-01-27 22:01 fun is a much better motivator than money or anything else 2012-01-27 22:02 especially electronics guys who can't program yet can use it as a huge booster to get started 2012-01-27 22:02 it is not bad that it lowers the barrier. it _is_ bad that it makes people think that everything in the world can be done with a certain amount of arduinos 2012-01-27 22:02 I'm not that good in hardware, so I will show you a very real example from software. 2012-01-27 22:02 they understand all the parts etc. but the sw barrier is lowered and removed and they can explore step by step 2012-01-27 22:03 somebody who thinks everything in the world can be done with a certain amount of arduinos is plain stupid. havent heard that before 2012-01-27 22:03 there's Ubuntu and it is good and stuff. And it has some of its core components written in Python, presumably because the author of them was a "Python programmer" and no one bothered to step in and stop him. 2012-01-27 22:03 and then Ubuntu work_ed_ (that was in 2009, I think they fixed that long ago. But it was so for a year or like that) way faster after I've added * * * * * killall -9 python in my crontab. 2012-01-27 22:04 bbl. need to run (fetch food) 2012-01-27 22:05 so with arduinos. they're an excellent learning tool -- I myself recommend them each time, but hell it is so wrong to think that world ends on arduinos, or on a particular kind of MCU used in arduino, or in a particular form-factor of Arduino shield 2012-01-27 22:05 and still this mindset is surprisingly prevalent in arduino-related world 2012-01-27 22:07 there, they go and put three avrs where one STM32 would suffice and you still will have some room (yes, that UAV. this is the project which my high school teacher currently leads. I know the hardware requirements, and I know for sure that it could fit in one STM32. And still...) 2012-01-27 22:08 we just bought some 30 arduino mega 2560 boards and ethernet shields for to replace custom ISA cards :) 2012-01-27 22:08 (need a lot of spares so that we can stick to this solution for the next 10-15 years) 2012-01-27 22:08 hm 2012-01-27 22:09 do you connect arduinos to ISA slots? 2012-01-27 22:09 or what? 2012-01-27 22:09 no, the previous solution was based on ISA cards 2012-01-27 22:09 what did the ISA cards do? 2012-01-27 22:09 now that ISA is getting quite obsolete it's time to port the system to new hardware 2012-01-27 22:09 some kind of industrial automation? 2012-01-27 22:10 sort of, I work in a radio observatory 2012-01-27 22:11 ADC, PWM generation, plain digital IO to hundreds of little switches here and there 2012-01-27 22:13 we are also looking at ethercat enabled motors make everything just talk ethernet/ethercat 2012-01-27 22:14 lindi-_: if the tiny bandwidth the avr ethernet solutions provide is sufficient for you, then it's fine 2012-01-27 22:14 apart from ethernet, that's what atmel shines at 2012-01-27 22:15 whitequark: yeah the protocol used by the ethernet shields is kind of inefficient 2012-01-27 22:15 you need to send four bytes over SPI per every payload byte 2012-01-27 22:15 but since everything is modular like this we might be able to upgrade in the next 10 years :) 2012-01-27 22:16 if it is not, I personally would go with this premade board (http://olimex.com/dev/stm32-p107.html, 40 euro/part, 1st link in Google. there may be better ones.) or made my custom ones. the latter would even be cheaper. 2012-01-27 22:16 currently there's some industrial x86 box that has some PCI-ISA bridge where we see lockups when the temperature drops below 17 C 2012-01-27 22:17 whitequark: the problem is that people need to be able to understand and debug these in the future too 2012-01-27 22:19 whitequark: we do have a custom board that adds more accurate ADC chip to the arduino as a non-standard shield 2012-01-27 22:19 (so we can have both ethernet shield and our ADC shield at the same time) 2012-01-27 22:21 lindi-_: it depends on the kind of people which will need to work on the system. if that's someone who has several years of experience with EE, then it will not be hard, provided you'll make all of the documentation available. if that would be a side job of someone whose main task is something sky-related, then you have a problem anyway 2012-01-27 22:24 whitequark: as usual we are understaffed of course 2012-01-27 22:25 the ISA cards had some PLD chips that could only be programmed by running some ancient version of windows, I think AVR is a lot better in this regard :) 2012-01-27 22:25 quite definitely 2012-01-27 22:25 and nobody knew about version control so you never knew which version they actually ran 2012-01-27 22:26 your problem isn't within the hardware then, and it cannot be solved by different kind of hardware--only postponed 2012-01-27 22:26 anyways, this decision was definitely not easy. we did explore many alternatives like fpgas 2012-01-27 22:27 (hides from wpwrak) fpgas are not the right thing for this imo 2012-01-27 22:27 whitequark: I guess windows just was hostile towards version control use in the 1990s 2012-01-27 22:27 uh 2012-01-27 22:27 so it wasn't maintained for the last 10 years? 2012-01-27 22:27 correct :) 2012-01-27 22:28 I think there were maybe two bugfixes 2012-01-27 22:29 well, if you will hit the ceiling on ethernet bandwidth, then you will be an unfortunate example for my words. if not, you were lucky. 2012-01-27 22:30 most of the stuff doesn't really require much bandwidth, the ADC stuff is the largest challenge but I think we did the math and benchmarks 2012-01-27 22:32 it's ethernet anyway, so if the network is heterogenous, you'll be able to replace underperforming nodes with something different 2012-01-27 22:35 yep 2012-01-27 22:52 http://www.sciencedaily.com/releases/2012/01/120126100639.htm 2012-01-27 22:52 if this wasn't in Science, I'd say that it is april fool's joke 2012-01-27 23:11 i sense that there will be enormous demand for this in russia :) 2012-01-27 23:13 you sense it right 2012-01-27 23:13 unfortunately 2012-01-27 23:15 why ? it will improve the health of the population. great reduction of back pain from carrying those heavy low-grade vodka bottles. with the graphene-enhanced high-grade vodka, the bottles will be much lighter and easier to carry around. 2012-01-27 23:15 kinda like mobile phones got smaller with time ;-) 2012-01-27 23:18 heh. 2012-01-27 23:44 lindi-_: just do a "push *" as the first few cmds in your wd-irq 2012-01-27 23:45 this way you should get all the registers in your memory dump 2012-01-27 23:46 Greer [Greer!~greer@gateway/tor-sasl/greer] has quit [#qi-hardware] 2012-01-27 23:47 or did I miss something? 2012-01-27 23:49 DocScrutinizer: I have no wd irq 2012-01-27 23:49 err, what else does wd then? simple hard reset? 2012-01-27 23:49 DocScrutinizer: reset 2012-01-27 23:50 ooomph 2012-01-27 23:50 I think the hardware could also generate an interrupt 2012-01-27 23:50 but interrupts are disabled according to openocd 2012-01-27 23:50 we're still talking GTA02? 2012-01-27 23:50 yep 2012-01-27 23:51 fsckng samsung SoC 2012-01-27 23:51 there's a task in "R" state, it is in svc mode and asm_do_IRQ gets called a few times per second 2012-01-27 23:51 openocd unfortunately seems so incomplete that I'm not sure what to trust 2012-01-27 23:52 DocScrutinizer: I guess it could be configured to generate an FIQ too 2012-01-27 23:54 I guess I could put my two jtag boards to use so that I can compare both working and non-working states :) 2012-01-27 23:54 I was assuming that IRQ handler would run in irq mode and not svc mode 2012-01-27 23:54 anyway if you got problems with GTA02 IRQ, check the rotten braindead IRQ service code 2012-01-27 23:54 it's about the most fsckdup code I've ever seen 2012-01-27 23:54 I doubt I have the time to understand that fully 2012-01-27 23:55 enabling edge IRQ on both edges, then reading in the GPIO(!!!) to determine the current state and compare to a sored value to see what to do 2012-01-27 23:56 WAAAAAAAAAAHH!!!!