--- Log opened Sat Dec 01 00:00:28 2012 2012-12-01T00:02:07 -!- barthess [~barthess@185.6.25.125] has quit [Quit: Leaving.] 2012-12-01T00:02:33 < cdh> karlp - you need to make sure to enable the clock to the backup domain (RCC_APB1ENR_PWREN) and disable backup domain write protection (PWR_CR_DBP) 2012-12-01T00:03:20 < emeb> oooh - didn't know about backup write prot. 2012-12-01T00:03:56 < cdh> I'm not 100% positive it's needed, but I see it in my code which does have the RTC working. 2012-12-01T00:13:23 -!- Laurenceb_ [~Laurence@host86-178-5-134.range86-178.btcentralplus.com] has joined ##stm32 2012-12-01T00:13:27 < Laurenceb_> suppp 2012-12-01T00:16:46 < Laurenceb_> so ive been asked to up datalogging to 5Ksps 2012-12-01T00:17:24 < Laurenceb_> this will result in 20TB of data from users... 2012-12-01T00:17:30 < zyp> ok 2012-12-01T00:17:45 < Laurenceb_> buying 4TB drives... 2012-12-01T00:18:18 < ds2> what are you logging? 2012-12-01T00:18:27 < Laurenceb_> sparkfun 9dof boards 2012-12-01T00:18:39 < Laurenceb_> and now lsm330d sensors to up the sample rate 2012-12-01T00:19:02 < Laurenceb_> strapped in multiple positions inside commercial vehicles 2012-12-01T00:19:53 < Laurenceb_> for health and safety vibration / yaw rate etc monitoring 2012-12-01T00:20:36 < ds2> ohhh 2012-12-01T00:20:43 < Laurenceb_> boring work with tons of data :P 2012-12-01T00:20:48 < ds2> is this all going into matlab eventually? 2012-12-01T00:20:50 < zyp> 5ksps? do the sensors even have the kind of bandwidth to justify that? 2012-12-01T00:21:35 < Laurenceb_> lsm330d will do it 2012-12-01T00:21:42 < Laurenceb_> it has a khz or so 2012-12-01T00:22:31 < ds2> is there a typo in the data sheet 2012-12-01T00:22:51 < ds2> Normal (1.344KHz)/Low power mode (5.376KHz) 2012-12-01T00:23:26 < Laurenceb_> low power is 8bit adc 2012-12-01T00:23:28 < Laurenceb_> so faster 2012-12-01T00:24:05 < ds2> Ohhh that's what is done on that part 2012-12-01T00:24:25 < zyp> more like low precision mode 2012-12-01T00:24:38 < ds2> most parts they crank down the sample rate 2012-12-01T00:25:27 < ds2> Laurenceb_: you wouldn't happen to know the P/N for the compass/gyro/accel part from ST, would you? 2012-12-01T00:26:38 < zyp> which one? 2012-12-01T00:27:24 < ds2> the booth monkey at a trade show said ST has a combo part but I can't see on it on the web site 2012-12-01T00:27:24 < zyp> LSM330? 2012-12-01T00:27:28 < Laurenceb_> lsm333d 2012-12-01T00:27:36 < Laurenceb_> not avaliable 2012-12-01T00:27:54 < ds2> oh 2012-12-01T00:28:05 < ds2> they said it'll be available later in the year (this was around Mar/Apr) 2012-12-01T00:31:00 < zyp> is this just another case of stuffing several dies into one package? 2012-12-01T00:31:21 < zyp> looks like accel/mag is one die and gyro is one 2012-12-01T00:32:00 < zyp> smells like they grabbed a die from a tilt compensated compass and threw on a gyro :p 2012-12-01T00:33:23 < ds2> it is still better then the LSM303DLH 2012-12-01T00:33:33 < ds2> with 2 seperate power rails and 2 buses 2012-12-01T00:34:13 < zyp> huh? 2012-12-01T00:34:24 < zyp> there is seperate SDO_G and SDO_AM lines 2012-12-01T00:34:28 < zyp> also CS_ 2012-12-01T00:35:37 < ds2> that's for SPI 2012-12-01T00:35:41 < ds2> I2C is unified (kind of) 2012-12-01T00:35:52 < ds2> take a look at the LSM303DLH (not LSM303DLHC) 2012-12-01T00:35:57 < ds2> it is much worse 2012-12-01T00:36:11 < zyp> sure, but DLH is old 2012-12-01T00:36:21 < Laurenceb_> its accel specs are better 2012-12-01T00:36:30 < ds2> who's spec is better? 2012-12-01T00:36:34 < Laurenceb_> DLH 2012-12-01T00:36:38 < zyp> I've used LSM303DLM in my own design 2012-12-01T00:36:41 < Laurenceb_> lower temperature drift 2012-12-01T00:36:41 < ds2> Oh I see 2012-12-01T00:36:49 < zyp> but anyway 2012-12-01T00:37:00 < Laurenceb_> invensense are slowly catching up with their accels 2012-12-01T00:37:12 < ds2> wish invensense would document their stuff better 2012-12-01T00:37:26 < zyp> the advantage of having everything in one package like that is not so huge 2012-12-01T00:37:40 < ds2> it makes layout a little bit easier 2012-12-01T00:38:03 < zyp> but you have to compromise on specs instead of selecting the best of each 2012-12-01T00:38:46 < ds2> for some sensors, the compromise is only paper. the layout can offset a better sensor (i.e. compasses) 2012-12-01T00:39:40 < zyp> well, consider that the LGA-28 is pretty huge 2012-12-01T00:39:51 < zyp> you can put two square chips in the same area :p 2012-12-01T00:40:36 < ds2> depends 2012-12-01T00:40:43 < ds2> if you go by the freescale notes, you can't 2012-12-01T00:40:51 < ds2> they want a clearance area around their mags 2012-12-01T00:40:58 < ds2> blah 2012-12-01T00:41:00 < ds2> accels I mean 2012-12-01T00:41:12 < zyp> why? 2012-12-01T00:41:36 < ds2> something about keeping down stresses 2012-12-01T00:41:44 < ds2> they also call out constraints on vias too 2012-12-01T00:41:44 < zyp> I'd understand it for mags, but not accels 2012-12-01T00:42:16 < ds2> no one else mentions those so I donno what to make of it... it was for a customer so followed their notes to the letter 2012-12-01T00:47:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 260 seconds] 2012-12-01T01:03:19 -!- Posterdati [~antani@host45-237-dynamic.6-87-r.retail.telecomitalia.it] has quit [Excess Flood] 2012-12-01T01:03:43 -!- Posterdati [~antani@host45-237-dynamic.6-87-r.retail.telecomitalia.it] has joined ##stm32 2012-12-01T01:18:56 < karlp> cdh: yeah, I have that, I'll double check the bit masks and so on, it must be something like that. 2012-12-01T01:19:13 < karlp> kinda wish it faulted when you accessed an unclocked periph like the stellaris does 2012-12-01T01:24:35 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: This computer has gone to sleep] 2012-12-01T01:33:49 -!- dekar [~dekar@212.255.17.245] has joined ##stm32 2012-12-01T01:33:52 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-01T01:43:40 < zyp> stellaris doesn't do it for all peripherals 2012-12-01T01:44:36 < zyp> hmm 2012-12-01T01:44:46 < zyp> stm32 reference manual is being unclear again 2012-12-01T01:55:00 < Laurenceb_> no changes there 2012-12-01T01:57:27 < cdh> karlp: Yeah, I agree. I've been burned by the same before. 2012-12-01T02:10:41 < dongs> everyone signed up for free f3discovery already right 2012-12-01T02:10:50 < zyp> where? 2012-12-01T02:11:12 < dongs> http://www.st.com/internet/evalboard/product/254044.jsp 2012-12-01T02:11:16 < dongs> its geolocated just like last time 2012-12-01T02:11:23 < zyp> yeah, no free for me 2012-12-01T02:11:24 < dongs> if youre in u..s IP it will gie you a 'sign up for free shit' 2012-12-01T02:11:28 < dongs> like for F4disco etc. 2012-12-01T02:11:34 < zyp> doesn't matter, got one already 2012-12-01T02:11:53 < dongs> ill take one if they're paying :) 2012-12-01T02:12:14 < dongs> they expired my old account off samplecenter 2012-12-01T02:12:17 < zyp> they are not shipping it to me, and then it's irrelevant :p 2012-12-01T02:12:20 < dongs> assholes, i had to re-register again 2012-12-01T02:20:58 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2012-12-01T02:21:04 < zyp> I wonder if the ethernet core is as bad as the usb core, considering both are synopsys stuff 2012-12-01T02:21:51 < ds2> if this goes through, I need to find someone to swap it with a F4 board 2012-12-01T02:22:15 < dongs> you mean the freeshit? 2012-12-01T02:22:23 < ds2> yes 2012-12-01T02:22:25 < dongs> i had no issues getting free f4disco 2012-12-01T02:22:29 < zyp> why not just buy a F4 board? it's dirt cheap 2012-12-01T02:22:37 < ds2> how? 2012-12-01T02:22:44 < zyp> any distributor? 2012-12-01T02:22:46 < ds2> this would be my 3rd f3disco 2012-12-01T02:22:59 < ds2> zyp: no, I mean gettingone free... 2012-12-01T02:23:08 < zyp> too late for that 2012-12-01T02:23:13 < zyp> I guess 2012-12-01T02:23:17 < ds2> i figure 2012-12-01T02:23:26 < ds2> hence willing to trade a new for an old board ;) 2012-12-01T02:23:53 < ds2> the f3disco doesn't pin out the fsmc stuff, right? 2012-12-01T02:24:21 < zyp> well, you better find somebody locally then, otherwise you'll waste all you save on shipping :p 2012-12-01T02:24:29 < ds2> yep 2012-12-01T02:37:33 < Laurenceb_> I wonder if the ethernet core is as bad as the usb core, considering both are synopsys stuff 2012-12-01T02:37:36 < Laurenceb_> ^on F4 ? 2012-12-01T02:41:28 < zyp> yes 2012-12-01T02:41:57 < zyp> was thinking about getting some variation from usb, so I'm thinking about doing some ethernet trolling this weekend 2012-12-01T02:43:08 < zyp> ethernet by itself should be thinner than core usb, so it shouldn't be too hard to get going 2012-12-01T02:44:17 < Laurenceb_> that reminds me... 2012-12-01T02:44:24 < Laurenceb_> about wifi time stamping 2012-12-01T02:44:55 < Laurenceb_> anyone know a documented low power wifi chip? 2012-12-01T02:45:06 < Laurenceb_> rl3050 looks veyr nice, but ~1.5W 2012-12-01T02:45:19 < zyp> wifi is not a low power rf protocol :p 2012-12-01T02:45:27 < Laurenceb_> maybe some of the atheros stuff.. but does anyone make a more basic PHY thats documented? 2012-12-01T02:45:43 < zyp> no idea 2012-12-01T02:45:45 < Laurenceb_> ive seen some heaviliy NDA ST stuff that was 35ma @ 3.3v 2012-12-01T02:46:01 < Laurenceb_> on 9mm ^2 module 2012-12-01T02:46:04 < zyp> :p 2012-12-01T02:46:04 < Laurenceb_> so its doable 2012-12-01T02:46:23 < Laurenceb_> (phy only, with stm32 driver code) 2012-12-01T02:46:23 < zyp> just get a NDA then :p 2012-12-01T02:46:27 < Laurenceb_> hehe true 2012-12-01T02:46:45 < zyp> hmm 2012-12-01T02:46:51 < zyp> I'm also interested in doing wifi later 2012-12-01T02:46:53 < Laurenceb_> also out you can do totally passive ranging 2012-12-01T02:47:06 < Laurenceb_> *i worked out that 2012-12-01T02:47:22 < Laurenceb_> but sending a load of pings around the network 2012-12-01T02:47:24 < ds2> is that the STE stuff? 2012-12-01T02:47:30 < Laurenceb_> yes iirc 2012-12-01T02:47:41 < zyp> I've got an idea for a future project that needs network connectivity 2012-12-01T02:47:41 < ds2> those get sold as modules 2012-12-01T02:47:46 < Laurenceb_> i know 2012-12-01T02:47:52 < Laurenceb_> thats what i was talking about 2012-12-01T02:48:15 < zyp> but I'll prototype it on cabled ethernet first, then port it to wifi later 2012-12-01T02:48:15 < Laurenceb_> ds2: know anything more about them? do they have an arm core built in, or is it mor elow level? 2012-12-01T02:48:28 < Laurenceb_> wifi is very similar to ethernet 2012-12-01T02:48:32 < Laurenceb_> CSMA based 2012-12-01T02:48:37 < zyp> of course it is, it's wireless ethernet. 2012-12-01T02:48:51 < ds2> Laurenceb_: Not really... that project was put on hold for business reasons about a year ago 2012-12-01T02:49:10 < ds2> I have modules somewhere 2012-12-01T02:49:17 < zyp> ds2, got any relation to STE? 2012-12-01T02:49:26 < ds2> zyp: nope 2012-12-01T02:49:36 < ds2> zyp: actually, what do you mean? 2012-12-01T02:49:48 < ds2> I don't work for STE..that's what I was trying to answer with that nope 2012-12-01T02:50:58 < zyp> I was just wondering about those modules 2012-12-01T02:51:20 < ds2> I forgot who made the modules but it was aSTE chip, IIRC 2012-12-01T02:51:28 < Laurenceb_> i was wondering about position determination for workplace "safety" 2012-12-01T02:51:35 < zyp> ah, maks sense 2012-12-01T02:51:39 < zyp> makes* 2012-12-01T02:51:40 < Laurenceb_> ie tracking workers using wifi data 2012-12-01T02:52:40 < ds2> what modulation is wifi? 2012-12-01T02:52:49 < zyp> I'm of the impression that STE is mostly dealing with volume customers, so that would be the module manufacturer 2012-12-01T02:53:00 < zyp> DSSS or OFDM, IIRC 2012-12-01T02:53:02 < ds2> i wonder if you can use one of those CC chips to grab raw data 2012-12-01T02:53:32 < zyp> yeah, 802.11b is DSSS, other modes are OFDM 2012-12-01T02:53:36 < ds2> kind of like what the ubertooth folks are doing for BT 2012-12-01T02:53:51 < ds2> oh OFDM seems specific to WiFi 2012-12-01T02:53:54 < zyp> I doubt the CC chips have the bandwidth 2012-12-01T02:53:58 < zyp> no, it's not 2012-12-01T02:54:11 < zyp> OFDM is just nice for high bandwidth stuff 2012-12-01T02:54:24 < ds2> what other protocol uses OFDM? 2012-12-01T02:54:43 < zyp> DVB, ADSL and lots of other stuff 2012-12-01T02:54:53 < ds2> oh 2012-12-01T02:55:14 < ds2> always a SDR using a 2.4GHz tuner... 2012-12-01T02:56:10 < zyp> OFDM is basicly a method to split a single channel into lots of subchannels 2012-12-01T02:56:24 < dongs> on air/cable tv is ofdm too 2012-12-01T02:56:47 < zyp> and then you can select subchannel modulation as suited for that particular frequency 2012-12-01T02:56:50 < ds2> dongs: DVB-T? or ATSC? 2012-12-01T02:58:58 < zyp> ds2, I suggest reading the wikipedia article on OFDM if you want to know more 2012-12-01T02:59:19 < ds2> 'k 2012-12-01T02:59:40 < zyp> «OFDM may be viewed as using many slowly modulated narrowband signals rather than one rapidly modulated wideband signal.» 2012-12-01T03:06:04 < Laurenceb_> what modulation is wifi? 2012-12-01T03:06:18 < Laurenceb_> answer: virtually every type of modulation invented 2012-12-01T03:06:22 < Laurenceb_> depending on the mode 2012-12-01T03:06:38 < zyp> well, yeah 2012-12-01T03:06:43 < Laurenceb_> thats why using a SDR grabber is a massive pita 2012-12-01T03:06:47 < zyp> :p 2012-12-01T03:06:53 < Laurenceb_> better to use an off the shelf unit 2012-12-01T03:07:02 < Laurenceb_> then you can use it to send back the data too 2012-12-01T03:07:08 < Laurenceb_> and its cheap 2012-12-01T03:07:52 < Laurenceb_> this: www.tkn.tu-berlin.de/fileadmin/fg112/Papers/hoene_paper2.pdf 2012-12-01T03:09:57 < zyp> Laurenceb_, some years ago I heard talk about access points that used RTT to determine distance to filter out unwanted node 2012-12-01T03:10:45 < zyp> so you could set a max distance, and then it would disallow your neighbors to use your wlan because they are too far away 2012-12-01T03:11:10 < zyp> but I don't think I've ever seen a product with that feature :p 2012-12-01T03:11:45 < ds2> Ohhh OFDM.. Ortho FDM... that isn't exactly a modulation 2012-12-01T03:12:02 < ds2> it is in the LTE stuff, isn't it 2012-12-01T03:12:07 < zyp> yep 2012-12-01T03:12:25 < zyp> virtually any modern high capacity protocol 2012-12-01T03:20:54 -!- Laurenceb_ [~Laurence@host86-178-5-134.range86-178.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2012-12-01T03:36:00 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-245-48.clienti.tiscali.it] has joined ##stm32 2012-12-01T03:39:34 < emeb> Good evening modulators 2012-12-01T03:39:58 < zyp> :) 2012-12-01T03:40:15 * emeb reads the log 2012-12-01T03:40:36 * ds2 multiples some more 2012-12-01T03:41:00 < dongs> isnt analog tv shutdown in america 2012-12-01T03:41:04 < emeb> yep 2012-12-01T03:41:09 < emeb> for a few years now 2012-12-01T03:41:30 < emeb> some small local translators still run NTSC, but most markets are all ATSC now 2012-12-01T03:47:32 < zyp> hmm 2012-12-01T03:47:46 < zyp> MDIO was simple 2012-12-01T03:49:55 < BrainDamage> emeb: do you add digital postprocessing filters to randomly alter color masks on the streams for nostagic pourposes? 2012-12-01T03:50:44 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2012-12-01T03:53:02 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-01T03:55:54 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-01T04:01:47 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-01T04:12:44 < emeb> BrainDamage: lol 2012-12-01T04:13:11 < emeb> "Honey - tonight let's watch Letterman in sepia!" 2012-12-01T04:17:19 -!- flop [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2012-12-01T04:22:38 < flop> Anyone has used I2C on the stm32? 2012-12-01T04:23:03 < emeb> yeah - lots of us. most end up cursing at it. :) 2012-12-01T04:23:06 < dongs> haha 2012-12-01T04:23:11 < flop> Why so? 2012-12-01T04:23:13 < dongs> yeah, who hasnt 2012-12-01T04:23:21 < dongs> well, if you gonna ask to ask, noone will answer you :) 2012-12-01T04:23:43 < emeb> it's... idiosyncratic. 2012-12-01T04:23:45 < flop> I hope not ending up cursing it as well 2012-12-01T04:23:58 < emeb> depends on what you want to do with it. 2012-12-01T04:24:14 < flop> Implementing a master and slave device 2012-12-01T04:24:19 < flop> Both. 2012-12-01T04:24:34 < zyp> hey, my i2c code works pretty reliably, I didn't curse too much when I wrote it :p 2012-12-01T04:24:46 < upgrdman> i've only used spi. excuse the ignorance, but how can i2c be idiosyncratic? 2012-12-01T04:24:57 < emeb> zyp: you're special. :) 2012-12-01T04:25:00 < flop> zyp: any chance to have at it? 2012-12-01T04:25:12 < flop> a look 2012-12-01T04:25:15 < zyp> flop, http://cgit.jvnv.net/laks/tree/i2c/ 2012-12-01T04:25:24 < flop> thanks 2012-12-01T04:26:37 < zyp> it's a while since I touched it, and I'm planning to give it an overhaul at some point in the future 2012-12-01T04:26:46 < zyp> but it seems to be working pretty reliably as it is 2012-12-01T04:27:00 < flop> ok 2012-12-01T04:28:41 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-01T04:28:45 < flop> zyp: what compiler is it written for? 2012-12-01T04:29:16 < zyp> I'm using gcc 2012-12-01T04:30:56 < zyp> also, you probably don't want to cut/paste it as is, as it ties into the rest of my library 2012-12-01T04:31:13 < zyp> which you probably don't want to use 2012-12-01T04:31:16 < emeb> upgrdman: i2c on the STM32 requires some fairly close coupling between the CPU and I2C peripheral. 2012-12-01T04:31:38 < upgrdman> ? 2012-12-01T04:31:53 < emeb> the processor hast to have a fairly complex state machine to guide the flow of data, and writing that code isn't easy. 2012-12-01T04:32:00 < dongs> flop: here's de-gayified version of zyps code http://bcas.tv/paste/results/wvos1347.html 2012-12-01T04:32:36 < emeb> plus, if you get an interrupt in the middle of the I2C transaction it can throw off the timing - this causes people a lot of headaches. 2012-12-01T04:32:46 < emeb> and the ST library & example code isn't the best. 2012-12-01T04:33:11 < upgrdman> o ok 2012-12-01T04:33:59 < dongs> emeb: did you see, they are including that CPAL shit with F3 stdperiph lib 2012-12-01T04:34:14 < dongs> STM32F30x_DSP_StdPeriph_Lib_V1.0.0\Libraries\STM32F30x_I2C_CPAL_Driver 2012-12-01T04:34:24 < emeb> dongs: no - didn't notice that. 2012-12-01T04:34:24 < zyp> cpal? 2012-12-01T04:34:36 < dongs> zyp: some I2C driver with not less than 5 levels of abstraction 2012-12-01T04:34:48 < dongs> stm32f30x_i2c_cpal.c is 77mbytes 2012-12-01T04:34:49 < dongs> err 2012-12-01T04:34:49 < zyp> I saw the F3 I2C peripheral were different 2012-12-01T04:34:49 < dongs> kbytes 2012-12-01T04:35:14 < zyp> so I'll probably overhaul my I2C code when I add support for F3 to it 2012-12-01T04:35:28 < zyp> or rather, write a new but api-compatible driver for F3 :p 2012-12-01T04:36:01 < zyp> now that I have my nifty logging class, I can log what is going on in the ISRs and stuff 2012-12-01T04:36:10 < flop> dongs: I saw some while(busy) in your code. Isn't that a waste of processor cycles? 2012-12-01T04:36:33 < zyp> depends if you have something else to do 2012-12-01T04:36:46 < dongs> flop, sure, same as in zyps code. 2012-12-01T04:37:03 < zyp> in my code I do while(busy) { Thread::yield(); }, but dongs doesn't have multithreading 2012-12-01T04:37:23 < dongs> right 2012-12-01T04:37:49 < zyp> if you don't have anything to do, you could execute wfi inside the loop to put the cpu to sleep until next interrupt 2012-12-01T04:38:08 < zyp> it's not going to go non-busy until another interrupt has been processed anyway 2012-12-01T04:38:32 < dongs> http://i.imgur.com/FiwN7.png wtf is this? 2012-12-01T04:38:37 < dongs> so sense just goes to voit? 2012-12-01T04:38:38 < dongs> voit 2012-12-01T04:38:40 < dongs> VOUT wtf 2012-12-01T04:38:59 < zyp> yes, close to load 2012-12-01T04:39:12 < dongs> whats hte point? 2012-12-01T04:39:14 < zyp> so you compensate for loss in the line between regulator and load 2012-12-01T04:39:15 < emeb> dongs: that way the sense doesn't include the IR drop of the main power wire 2012-12-01T04:39:16 < BrainDamage> it's to compensate voltage drop on the wires 2012-12-01T04:39:37 < zyp> sense is almost no current, so the return drop is almost 0 2012-12-01T04:39:47 < dongs> oic 2012-12-01T04:39:52 < dongs> so cna i run it through a thin trace or wat 2012-12-01T04:39:56 < zyp> yes 2012-12-01T04:40:28 < zyp> also pretty irrelevant if your power trace is beefy enough to not have a considerable drop 2012-12-01T04:40:37 < dongs> right 2012-12-01T04:40:42 < zyp> like if you're dumping it directly into a vcc plane 2012-12-01T04:40:59 < emeb> really only make sense for power supplies driving long wires to the load. 2012-12-01T04:41:05 < zyp> yeah 2012-12-01T04:41:10 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-01T04:41:15 < emeb> like in a large piece of equipment. 2012-12-01T04:41:29 < zyp> atx psus commonly have sense wires going back from the motherboard connector 2012-12-01T04:42:00 < Oldboy> they do ? 2012-12-01T04:42:26 < dongs> the green sense wire, right? 2012-12-01T04:42:29 < dongs> pin 16 or someshit. 2012-12-01T04:42:30 < zyp> not all, but a fair amount of them, I'd say 2012-12-01T04:42:31 < zyp> no 2012-12-01T04:42:42 < dongs> thats the only sense shit i know of on atx 2012-12-01T04:42:55 < zyp> they are usually same color as the voltage they are sensing 2012-12-01T04:42:59 < zyp> but thinner 2012-12-01T04:43:01 < dongs> oh. 2012-12-01T04:43:12 < zyp> goes to same connection point as one of the main wires 2012-12-01T04:44:08 < zyp> http://www.xbitlabs.com/images/other/psu-voltmodding/orvire.jpg <- like here 2012-12-01T04:45:08 < emeb> DK pushed back the ship date on those 3.2x5.0 TCX crystals to 12-20. Looks like I'm going to get the other ones at 2x the cost. 2012-12-01T04:45:19 < zyp> I've seen people hack it to modify the output voltage 2012-12-01T04:47:05 < zyp> emeb, can you really afford it? :p 2012-12-01T04:47:13 < Oldboy> lol. i see a lot of potential for disaster. 2012-12-01T04:47:18 < Oldboy> if one of those sense wires breaks. 2012-12-01T04:47:20 < emeb> zyp: it'll be a squeaker. 2012-12-01T04:47:22 < ds2> Hmmmm does SWDIO really need a 100K pull up? don't see it on ST's boards but their manual mentions it 2012-12-01T04:47:30 < dongs> no 2012-12-01T04:47:33 < zyp> no 2012-12-01T04:47:37 < emeb> ds2: I've never used it. 2012-12-01T04:47:37 < dongs> i never used any pullup on swd 2012-12-01T04:47:50 < ds2> ok... 2012-12-01T04:48:12 < dongs> is your stuff BSD'ing? 2012-12-01T04:48:12 < zyp> I believe there already is an internal pullup 2012-12-01T04:48:23 < dongs> if power stuff works you should at least see it over swd 2012-12-01T04:48:46 < ds2> no... just going through the manual since i need to wait out traffic before I get back home to the boards 2012-12-01T04:51:32 < dongs> http://i.ebayimg.com/t/4-Channels-5V-Relay-Module-for-Arduino-ARM-PIC-AVR-DSP-aii-/00/s/NTAwWDUwMA==/$T2eC16FHJF0E9nmFQW7mBQi0(9GB9Q~~60_12.JPG 2012-12-01T04:51:46 < dongs> clearly this is what you need 2012-12-01T04:52:16 < zyp> I think what I need is sleep 2012-12-01T04:52:25 * emeb was looking at all the arduino stuff for sale on sainsmart.com 2012-12-01T04:52:53 < dongs> http://www.ebay.com/itm/300749445346 10 bucks 2012-12-01T04:52:56 < dongs> damn. 2012-12-01T04:52:57 < zyp> these damn fridays always turn into late night coding 2012-12-01T04:53:29 < emeb> http://www.sainsmart.com/module/lcd-module/sainsmart-3-2-tft-lcd-display-touch-panel-pcb-adapter-sd-slot-for-arduino-2560.html 2012-12-01T04:53:45 < dongs> too expensive 2012-12-01T04:53:49 < dongs> waveshare has same shit for less 2012-12-01T04:54:43 < emeb> no kidding 2012-12-01T04:55:10 < emeb> http://www.wvshare.com/product/2.2inch-320x240-Touch-LCD-A.htm 2012-12-01T04:55:27 < dongs> http://www.wvshare.com/product/3.2inch-320x240-Touch-LCD-A.htm 2012-12-01T04:55:30 < dongs> yes 2012-12-01T04:55:40 < dongs> ohh, 2.2 is cute 2012-12-01T04:55:44 < dongs> havent seen that must be new 2012-12-01T04:55:54 < zyp> I got the 3.2 with my kit 2012-12-01T04:55:54 < dongs> will grab it next tiem im getting shit from them 2012-12-01T04:56:10 < zyp> haven't bothered playing with it yet 2012-12-01T04:56:33 < emeb> I've got a bunch of adafruit spi LCD displays but have only tried the canned demos. 2012-12-01T04:56:49 < zyp> maybe I'll write a fractal shader when I get around to playing with the fpu 2012-12-01T04:56:54 < emeb> want to try hooking them to my F3 & F4 boards. 2012-12-01T04:58:30 < dongs> wow nice fpc connector on that lcd 2012-12-01T05:00:12 < emeb> how so? 2012-12-01T05:01:02 < emeb> nice that they bring out the full 16-bit parallel ifc. 2012-12-01T05:01:18 < dongs> duno, look at hte back side pic. it looks like that expensive hirose shit i got on my DP panel 2012-12-01T05:01:36 < emeb> yeah - looking. Seems nice. 2012-12-01T05:01:40 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-01T05:01:57 < emeb> but the yellow header makes my eyes hurt. :) 2012-12-01T05:02:18 -!- l4cr0ss [~lacro$$@174.34.166.171] has joined ##stm32 2012-12-01T05:02:23 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-01T05:11:13 < upgrdman> what hirose shit? where 2012-12-01T05:11:36 < emeb> http://www.wvshare.com/img/devkit/LCD/2.2inch-320x240-Touch-LCD-A/2.2inch-320x240-Touch-LCD-A-3.jpg 2012-12-01T05:13:52 < upgrdman> those ribbon connectors? 2012-12-01T05:14:00 < dongs> pretty crazy they can afford to make the stuff $12 and still make a profit 2012-12-01T05:14:00 < dongs> heh 2012-12-01T05:14:14 < emeb> no kidding 2012-12-01T05:14:33 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-01T05:16:25 < upgrdman> $12 sounds about right to me. cell phone lcds of much high quality are often available for < $10. 2012-12-01T05:17:56 < dongs> oh sure. 2012-12-01T05:22:04 < emeb> mounted on an easily used breakout, with touch controller? 2012-12-01T05:22:18 < upgrdman> cheap to do in a third world country 2012-12-01T05:33:24 -!- nopcode_ is now known as nopcode 2012-12-01T05:35:03 -!- emeb [~ericb@ip72-201-79-123.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-01T05:44:40 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has joined ##stm32 2012-12-01T05:45:27 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-01T05:46:40 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Client Quit] 2012-12-01T05:55:29 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-245-48.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-01T05:55:37 < emeb_mac> lol MS http://www.pcmag.com/article2/0,2817,2412729,00.asp 2012-12-01T05:56:21 < zippe> emeb_mac: you saw their "we sold 40 million win8 licenses" post? 2012-12-01T05:56:33 < zippe> And then Thurrot noting that win7 sells 20 million a month 2012-12-01T05:56:37 < emeb_mac> zippe: no 2012-12-01T05:56:40 < zippe> ouche 2012-12-01T05:56:45 < emeb_mac> heh 2012-12-01T05:57:09 < zippe> http://www.windowsitpro.com/article/paul-thurrotts-wininfo/windows-8-sales-good-bad-ugly-144888 2012-12-01T05:59:52 < emeb_mac> will be interesting to see if the big UI shift in Win8 scares people away. 2012-12-01T06:00:04 < dongs> paul thorott? isnt that ladyaids bf 2012-12-01T06:06:10 < zyp> hmm, windows 8 has a more sane price than windows 7 2012-12-01T06:06:18 < zyp> maybe I'll even pay for it then 2012-12-01T06:06:58 < zyp> at some point in time when I decide I want windows 8 2012-12-01T06:07:16 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 248 seconds] 2012-12-01T06:13:35 < emeb_mac> Hmmm... $70. That is cheaper. 2012-12-01T06:14:25 < zyp> still a lot for something I'll rarely use 2012-12-01T06:20:01 -!- |sark [~|sark@p54B62897.dip.t-dialin.net] has joined ##stm32 2012-12-01T06:25:56 -!- |sark [~|sark@p54B62897.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 2012-12-01T06:32:02 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-01T06:32:08 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-01T06:32:44 < dongs> timecops business partner DICK created kicad 2012-12-01T06:32:45 < dongs> dont talk shit about it 2012-12-01T06:32:45 < dongs> you can rearrange the letters to spell "A dick" 2012-12-01T06:38:35 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-01T06:42:09 < dongs> http://i.imgur.com/5xybL.png shitty power supply done lets hope it works 2012-12-01T06:42:59 < dongs> and parts already ordered so you cant screw me over again by buying them all :p 2012-12-01T06:43:12 < gxti> ... again? 2012-12-01T06:44:53 < emeb_mac> dongs: what's that PS for? 2012-12-01T06:47:41 < dongs> plugs on top of that 4channel shitboard 2012-12-01T06:47:53 < dongs> so its for that 2012-12-01T06:48:05 < emeb_mac> ah - workstuff (TM) 2012-12-01T06:50:58 < dongs> i could almost route it all on single layer 2012-12-01T06:51:06 < dongs> onyl 2 traces on teh back 2012-12-01T06:51:23 < ds2> can you really save money with a 1 sided board thesedays? 2012-12-01T06:51:32 < dongs> yeah 2012-12-01T06:51:38 < dongs> that brown paper board shit with single layer 2012-12-01T06:51:40 < dongs> is filth cheap 2012-12-01T06:51:45 < emeb_mac> blech 2012-12-01T06:51:49 < ds2> ohhh not fr4 2012-12-01T06:51:53 < dongs> ya 2012-12-01T06:52:09 < emeb_mac> Radio Shack phenolic 2012-12-01T06:52:11 < dongs> i remember quoting some for a user,, it only really makes sense if youre ordering like 5000+ though 2012-12-01T06:52:12 < ds2> is that even allowed by UL anymore? 2012-12-01T06:52:15 < dongs> yeah phenolic 2012-12-01T06:52:23 < dongs> ds2: of course it is, a lot of power supplies still use that shit 2012-12-01T06:52:29 < ds2> ohhh 2012-12-01T06:53:17 < dongs> its cheaper per area as well, so you can use it as transport instead of FPC cables between modules 2012-12-01T06:53:19 < ds2> maybe I am thinking of something else... 2012-12-01T06:53:26 < ds2> the stuff that was used in tube era 2012-12-01T06:54:19 < dongs> no, that was it 2012-12-01T06:54:51 < dongs> k bbl, dongs 2012-12-01T06:54:59 < emeb_mac> l8r 2012-12-01T07:26:11 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-01T07:51:43 -!- l4cr0ss [~lacro$$@174.34.166.171] has quit [Quit: l4cr0ss] 2012-12-01T07:56:40 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2012-12-01T08:01:54 -!- Oldboy is now known as Susanna 2012-12-01T08:03:34 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-01T08:46:39 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-01T09:07:30 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-01T09:11:35 < dongs> http://www.hardkernel.com/renewal_2011/products/prdt_info.php?g_code=G135341359084 2012-12-01T09:11:38 < dongs> awesome 2012-12-01T09:13:16 < ds2> YES! STLink utility sees the chip 2012-12-01T09:13:20 < ds2> it is not still born! 2012-12-01T09:14:10 < emeb_mac> congrats 2012-12-01T09:14:20 < dongs> after that you just gotta deal wiht lunix 2012-12-01T09:14:27 < emeb_mac> ow 2012-12-01T09:14:35 < ds2> that is the easy part ;) 2012-12-01T09:14:46 < ds2> u-boot is the ickier part 2012-12-01T09:14:56 < ds2> now to find a way to flash a dfu file onto it 2012-12-01T09:16:44 < ds2> dumb question - what address does execution start? 2012-12-01T09:16:50 < ds2> 0x0800 0000? 2012-12-01T09:16:54 < emeb_mac> yep 2012-12-01T09:17:00 < ds2> Ohhhhhhh 2012-12-01T09:17:16 < dongs> i would just dick around pre-lunix 2012-12-01T09:17:22 < ds2> so I have a DFuSE enablement firmware 2012-12-01T09:17:29 < ds2> trying to understand the ST App notes 2012-12-01T09:17:34 < dongs> play with gpio/etc 2012-12-01T09:17:49 < ds2> crap... 2012-12-01T09:17:53 < emeb_mac> ? 2012-12-01T09:17:59 < ds2> USB depends on the xtal frequency, doesn't it? 2012-12-01T09:18:03 < emeb_mac> yup 2012-12-01T09:18:07 < zippe> No, execution starts at 0 2012-12-01T09:18:11 < ds2> ouch 2012-12-01T09:18:18 < ds2> so I can't use the reference stuff from ST 2012-12-01T09:18:20 < emeb_mac> he's right 2012-12-01T09:18:28 < dongs> why not? 2012-12-01T09:18:30 < ds2> but what's at address 0? 2012-12-01T09:18:31 < emeb_mac> 08000000 is start of flash 2012-12-01T09:18:44 < dongs> what reference shit from st are you talking about anyway 2012-12-01T09:18:46 < zippe> Or more specifically, the stack and initial instruction pointer are fetched from 0 and 4 respectively 2012-12-01T09:18:47 < dongs> all their stuff has sores 2012-12-01T09:18:49 < ds2> cuz the ST app note wants me to flash a bootloader to let me download over USB 2012-12-01T09:18:52 < ds2> an3012.zip 2012-12-01T09:18:58 < ds2> the uCLinux appnote 2012-12-01T09:18:59 < dongs> um why are you even bothering with that 2012-12-01T09:19:00 < dongs> you have SWD 2012-12-01T09:19:09 < dongs> who cares about usb loading 2012-12-01T09:19:10 < ds2> cuz I want to flash it with a known good file 2012-12-01T09:19:22 < zippe> Depending on the boot0/boot1 pins, the flash *may* be mapped at 0 2012-12-01T09:19:36 < zippe> ds2: You don't need to flash anything to download over USB 2012-12-01T09:19:42 < zippe> You can just pull boot0 high 2012-12-01T09:19:51 < emeb_mac> on a 103? 2012-12-01T09:20:07 < zippe> emeb_mac: AFAIK it has the ROM bootloader, same as all the others 2012-12-01T09:20:21 < emeb_mac> yeah, but does it do usb dfu? 2012-12-01T09:20:26 < ds2> ohhhh it is aliased to 0? I am going by the 10x reference which shows flash at 0x0800 0000 2012-12-01T09:20:42 < zippe> emeb_mac: if not, I don't know what my Maple board thinks it's doing 2012-12-01T09:20:56 < zippe> ds2: yes, depending on boot0/boot1 it may alias to 0 2012-12-01T09:21:12 < zippe> ds2: if boot0 is high, the system ROM aliases to 0 instead and you enter the ST bootloader 2012-12-01T09:21:36 < zippe> ds2: you can also pull boot0 low and boot1 high and boot from RAM 2012-12-01T09:21:50 < zippe> or maybe it's the other way around, I forget 2012-12-01T09:22:30 < zippe> (sorry, distracted here) 2012-12-01T09:22:32 < ds2> I assume .dfu files are just the binaries + a header to tell it what address? 2012-12-01T09:22:50 < zippe> ds2: basically, yes 2012-12-01T09:22:59 < dongs> you are not seriously loading some prebuilt ST USB bootloader are you? 2012-12-01T09:23:02 < zippe> ds2: I think there's a trailer as well 2012-12-01T09:23:15 < ds2> dongs: I am trying to use the appnote to sanity test it 2012-12-01T09:23:40 < dongs> write up a testcase to check FSMC + GPIO + USB + wahtever, it woudl take less than troubleshooting what hte feuck is wrong with ST binaries 2012-12-01T09:23:44 < ds2> zippe: the .zip file mentions a .bin file that "was used to generate the dfu" so I assume if I flash that over swd, I am doing the same as dfu 2012-12-01T09:24:07 < dongs> no, swd has nothing to do with dfu. you can control the processor from it 2012-12-01T09:24:13 < dongs> and debug, etc. and usb is just for fucking around. 2012-12-01T09:24:13 < zippe> I'm not certain that I would use "sanity" and "ST reference code" in the same though 2012-12-01T09:24:18 < dongs> haha 2012-12-01T09:24:31 < zippe> ds2: flash the .bin file? yes 2012-12-01T09:24:37 < ds2> zippe: am I wrong in assuming stuff posted should do something? 2012-12-01T09:25:19 < ds2> it is quicker for me to try to flash their stuff.. if that doesn't worry, I'll see about writing something 2012-12-01T09:25:31 < dongs> you hooked up you stuff in same way STM3210E-EVAL did? 2012-12-01T09:25:31 < ds2> it isn't like I can destory the board by flashing their stuff :D 2012-12-01T09:25:35 < ds2> yep 2012-12-01T09:25:43 < dongs> well then I guess you could. 2012-12-01T09:25:45 < dongs> what crystal is on it? 2012-12-01T09:25:51 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-01T09:25:57 < ds2> 16MHz that you recommended instead of the 12MHz 2012-12-01T09:26:07 < ds2> so I assume USB will be broq but I should get junk over the uart 2012-12-01T09:26:16 < dongs> they had 16 on evalboard? 2012-12-01T09:26:21 < dongs> i thought they're usually 8 or 25 2012-12-01T09:26:25 < dongs> on st evals 2012-12-01T09:26:37 < ds2> let me check the bom 2012-12-01T09:26:49 < dongs> 12, 16, 25 are all available in 3225 2012-12-01T09:26:55 < dongs> which is what you chose I think. 2012-12-01T09:26:59 < ds2> oops 2012-12-01T09:27:16 < ds2> 12MHz is what you recommended...and what I have 2012-12-01T09:27:20 < dongs> all of those can drive usb, but youll need to rebuild 2012-12-01T09:27:22 < dongs> yes, that will work 2012-12-01T09:27:28 < dongs> but not with binaries. 2012-12-01T09:27:38 < ds2> what would happen? UART gives me trash? 2012-12-01T09:27:45 < dongs> no, it will all work fine 2012-12-01T09:27:46 -!- alexn [~alexn@dslb-094-216-056-043.pools.arcor-ip.net] has joined ##stm32 2012-12-01T09:27:48 < dongs> just be overclocked a bit 2012-12-01T09:27:50 < dongs> and USB wont work 2012-12-01T09:27:52 < dongs> UART will though. 2012-12-01T09:27:54 < ds2> ah 2012-12-01T09:28:01 < ds2> I haven't wired up USB to my break out anyways 2012-12-01T09:28:54 < dongs> the appnote mentions flash loader demonstrator 2012-12-01T09:29:02 < dongs> and kerne_bootloader shit 2012-12-01T09:29:09 < dongs> that doesnt use usb does it 2012-12-01T09:29:11 < dongs> so that should work. 2012-12-01T09:29:15 < emeb_mac> zippe: from AN2606: "The bootloader embedded in STM32F10xxx devices supports only one interface: the USART1." 2012-12-01T09:29:39 < emeb_mac> section 4.1 for the f101/2/3 2012-12-01T09:30:09 < dongs> ya, the kernel loader stuff only uses usart 2012-12-01T09:30:16 < dongs> and flashloader. 2012-12-01T09:30:39 < ds2> but it says dfuse 2012-12-01T09:30:58 < dongs> the 12k kernel bootloader shit enables USB peripheral looks like 2012-12-01T09:31:01 < dongs> there's sores for that right? 2012-12-01T09:31:05 < dongs> youll need to rebuild for 12mhz. 2012-12-01T09:31:15 < ds2> dfuse is the st USB downloader 2012-12-01T09:31:22 < dongs> thats second step. 2012-12-01T09:31:29 < dongs> section 5.1.3 in an3012 2012-12-01T09:31:38 < dongs> you need to get the first bootloader over serial, with flash loader demonstrator 2012-12-01T09:31:40 < dongs> (or swd) 2012-12-01T09:32:16 < ds2> hmmmm this is not good 2012-12-01T09:33:14 < dongs> i forget, waht did you have for external flash on your stuff 2012-12-01T09:33:20 < dongs> nand? or spi? 2012-12-01T09:33:23 < ds2> PSRAM 2012-12-01T09:33:29 < dongs> no, i mean besides ram 2012-12-01T09:33:31 < dongs> for lunix 2012-12-01T09:33:32 < dongs> SD card? 2012-12-01T09:33:32 < ds2> uSD for flash 2012-12-01T09:33:42 < ds2> yeah 2012-12-01T09:33:53 < ds2> that's fine... I expect linux to crash while mounting root 2012-12-01T09:34:29 < dongs> if you are really dying to test with lunix, just extract .hex from dfu and load it over usart bootloader 2012-12-01T09:34:38 < ds2> they have a bin file 2012-12-01T09:34:40 < ds2> xipImage.bin 2012-12-01T09:34:43 < ds2> that sounds like the kernel 2012-12-01T09:36:20 < zippe> huh, weird. I was sure that I'd used dfu-util on the Maple before 2012-12-01T09:36:36 < dongs> maple usb bootloader istn even dfu compliant 2012-12-01T09:36:37 < dongs> so i doubt it. 2012-12-01T09:36:46 < zippe> No, using the boot0 pull 2012-12-01T09:36:50 < zippe> But obviously not 2012-12-01T09:36:51 < dongs> no wai. 2012-12-01T09:37:16 < zippe> Ah well, you forget something new every day 2012-12-01T09:37:25 < emeb_mac> ;) 2012-12-01T09:37:35 < ds2> that hex file is just a downloader, isn't it? 2012-12-01T09:37:37 < emeb_mac> it's a long way down. 2012-12-01T09:37:44 < dongs> http://bcas.tv/paste/results/Mbsim414.html < one liner in system_stm32f10x.c to get USB over 12MHz working. 2012-12-01T09:37:47 < emeb_mac> time for zzzz 2012-12-01T09:37:49 < ds2> it isn't there to setup the PSRAM, etc, correct? 2012-12-01T09:37:49 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-01T09:38:02 < dongs> ds2: it sounds like it sets up USB at least 2012-12-01T09:38:05 < dongs> perhaps psram too. 2012-12-01T09:38:13 < ds2> oh 2012-12-01T09:38:30 < dongs> there is sores for that, right? 2012-12-01T09:38:33 < ds2> let me try it again since the first time the stlink flaked 2012-12-01T09:42:38 < dongs> hm, im gonna look at an3012 sores. if they really have a working dfu bootloader in there.. 2012-12-01T09:44:06 < dongs> http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/an3012.zip that looks awfully small 2012-12-01T09:44:24 < dongs> wtf 2012-12-01T09:44:26 < dongs> no sores 2012-12-01T09:46:11 < ds2> it is under NDA 2012-12-01T09:47:09 < dongs> how much ram is on your stm 2012-12-01T09:47:11 < dongs> 40k? 2012-12-01T09:47:14 < ds2> hmmm nothing... okay, was so hoping it'd "just work"... got to do it the real way 2012-12-01T09:47:16 < dongs> sram 2012-12-01T09:47:27 < ds2> this is a ZG... so I think it is like 96K? 2012-12-01T09:47:36 < ds2> this is the XL device w/1M flash 2012-12-01T09:51:14 < dongs> sramya 2012-12-01T09:51:16 < dongs> yeah 2012-12-01T09:51:18 < dongs> this sets up sram 2012-12-01T09:51:25 < dongs> at 0x64000000 or somethign 2012-12-01T09:51:42 < dongs> aNoinitrdRootMt DCB "noinitrd root=mtd1 ro rootfstype=jffs2 init=/linuxrc console=tty" 2012-12-01T09:53:53 < ds2> AH, i SEE THE PROBLEM 2012-12-01T09:54:18 < ds2> seems like it 2012-12-01T09:54:45 < ds2> the full PDF indicated I need to flash that .bin file at 0x08003000 2012-12-01T09:56:47 < dongs> what's on GPIO_G Pin_8? 2012-12-01T09:57:52 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-01T09:58:27 < dongs> hmm i need to improve my STM32 IDA scripts. 2012-12-01T09:58:29 < ds2> G8? 2012-12-01T09:58:32 < dongs> i am missing a lot of stuff 2012-12-01T09:58:32 < dongs> ya 2012-12-01T09:58:36 < dongs> GPIOG.8 2012-12-01T09:58:56 < ds2> I ahve nothing on there 2012-12-01T09:58:57 < dongs> i didnt even have mappings for GPIO above E since all i ever used to RE was _MD stuff 2012-12-01T09:59:02 < ds2> let me find the EVAL schematics 2012-12-01T09:59:09 < dongs> that kernel bootloader hex dicks with that pin immediatsely on startup 2012-12-01T09:59:16 < ds2> wonder if it is a LED 2012-12-01T10:03:04 < ds2> G.8 is a button 2012-12-01T10:03:08 < ds2> should be an input 2012-12-01T10:03:09 < dongs> ah 2012-12-01T10:03:19 < ds2> "User button" is the label 2012-12-01T10:03:40 < dongs> k so it was probably just checking it hihg/low watever 2012-12-01T10:03:59 < dongs> if the button was pushed... 2012-12-01T10:04:06 < dongs> it inits nand/blah 2012-12-01T10:04:12 < dongs> sub_800268C("platform Initialisation finished jumping to kernel.\r\n"); 2012-12-01T10:04:14 < dongs> and does that 2012-12-01T10:04:18 < dongs> otherwise.. 2012-12-01T10:04:57 < dongs> hm hard to tell cuz i dont have any of advanced peripherals mapped. 2012-12-01T10:05:29 < ds2> let me try to reflash 2012-12-01T10:05:47 < dongs> it reads GPIOG.IDR 2012-12-01T10:05:50 < dongs> & 0x100 2012-12-01T10:05:53 < dongs> (pin8) 2012-12-01T10:06:05 < dongs> if its high, returns 1, otherwise, returns 0 2012-12-01T10:06:23 < dongs> should be high if its NC though 2012-12-01T10:06:27 < dongs> if it was setup as IPU 2012-12-01T10:09:18 < alexn> dongs: does i understand this correctly. you're trying to run linux on an stm32 2012-12-01T10:09:26 < dongs> not me 2012-12-01T10:09:29 < dongs> just looking at ds2's stuff. 2012-12-01T10:11:17 < alexn> with uclinux?. i'am also interested. 2012-12-01T10:12:07 < ds2> heh 2012-12-01T10:12:17 < ds2> trying to get that going on my board 2012-12-01T10:12:24 < alexn> hi ds2 2012-12-01T10:12:41 < ds2> hi alexn 2012-12-01T10:12:53 < alexn> which board do you have?. 2012-12-01T10:13:01 < ds2> I built my own 2012-12-01T10:13:54 < alexn> ok. thats cool. can you give me some data. stm32f4 ? 2012-12-01T10:14:03 < ds2> f103 2012-12-01T10:14:07 < ds2> wanted the smaller package 2012-12-01T10:14:27 < alexn> can i see a pic 2012-12-01T10:14:30 < alexn> ;-) 2012-12-01T10:14:42 < ds2> when I get around to making it, sure 2012-12-01T10:15:12 < alexn> were you get the linux kernel? 2012-12-01T10:15:35 < ds2> ST app note, ansomething 2012-12-01T10:15:48 < alexn> really? 2012-12-01T10:16:25 < ds2> yep 2012-12-01T10:16:28 < ds2> let find it 2012-12-01T10:16:59 < ds2> an3013 2012-12-01T10:17:45 < jpa-> any info on the flash & ram requirements? 2012-12-01T10:18:35 < ds2> not sure yet 2012-12-01T10:18:40 < ds2> I have 8M on my board 2012-12-01T10:18:43 < ds2> Hmmmm no output 2012-12-01T10:18:51 < ds2> but current is 55mA 2012-12-01T10:19:18 < jpa-> hmm can't find AN3013.. ST's site sucks 2012-12-01T10:19:30 < ds2> sorry typo 2012-12-01T10:19:33 < ds2> an3012 2012-12-01T10:19:35 < ds2> blah 2012-12-01T10:22:07 < jpa-> ah, nice 2012-12-01T10:22:56 < jpa-> yeah, looks like 8MB should be plenty 2012-12-01T10:23:53 < ds2> this isn't working... I'll troubleshoot it later.. nothing coming out of UART 2012-12-01T10:24:06 < ds2> guess I should setup open OCD 2012-12-01T10:44:32 < flop> does stm32 support external memory addressing? 2012-12-01T11:16:00 < baird> Yep. Look up FSMC. 2012-12-01T11:22:32 -!- flop [63f431a9@gateway/web/freenode/ip.99.244.49.169] has quit [Ping timeout: 245 seconds] 2012-12-01T11:25:19 -!- gurgalof [~gurgalof@dhcp-236-121.nomad.chalmers.se] has joined ##stm32 2012-12-01T11:31:30 -!- flop [4231ff42@gateway/web/freenode/ip.66.49.255.66] has joined ##stm32 2012-12-01T11:45:38 -!- Netsplit *.net <-> *.split quits: GargantuaSauce_, esden 2012-12-01T11:48:03 -!- Netsplit over, joins: esden, GargantuaSauce_ 2012-12-01T12:13:01 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-01T12:26:18 -!- flop [4231ff42@gateway/web/freenode/ip.66.49.255.66] has quit [Ping timeout: 245 seconds] 2012-12-01T12:38:10 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-01T12:43:29 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-01T12:43:30 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-01T12:43:30 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-01T12:43:33 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-01T12:53:09 -!- Susanna [myircshell@gateway/shell/sh3lls.net/x-nyvcoblxcvmutxpq] has quit [Quit: leaving] 2012-12-01T12:53:19 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-saziljvxgwihqjmv] has joined ##stm32 2012-12-01T13:00:09 < dongs> soft> Take up to 30 photos per second with this high-speed camera application! 2012-12-01T13:00:11 < dongs> soft> Amazing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111111111111111111 2012-12-01T13:01:00 <+Steffanx> ok... 2012-12-01T13:01:27 <+Steffanx> When you retweet you should link to the original message dongs :P 2012-12-01T13:01:43 < dongs> this is the original message 2012-12-01T13:08:51 <+dekar> ds2, AN3012: http://dekar.wc3edit.net/st%20website/ 2012-12-01T13:09:18 < dongs> wqta 2012-12-01T13:09:52 <+dekar> also the html: http://dekar.wc3edit.net/st%20website/STM32%20(ARM%20Cortex%20M3)%20-%2032-bit%20Microcontrollers%20-%20Technical%20Literature%20and%20Support%20Files.html 2012-12-01T13:10:57 < dongs> is that the cache of old st website 2012-12-01T13:11:04 <+Steffanx> ugly website :D 2012-12-01T13:11:05 < dongs> before it became homosexual 2012-12-01T13:11:13 < dongs> Steffanx: at least it was fucking usable 2012-12-01T13:11:16 <+Steffanx> TRue 2012-12-01T13:11:21 <+Steffanx> but it looks like a website from 2000 2012-12-01T13:13:27 <+dekar> I made this mirror quite a while ago and it now gets a ton of traffic 2012-12-01T13:13:45 < dongs> lol 2012-12-01T13:13:51 < dongs> fill it with ads 2012-12-01T13:14:22 <+Steffanx> dongs .. not everything has to be commercial 2012-12-01T13:14:31 <+Steffanx> *dong4 2012-12-01T13:14:32 <+Steffanx> $ 2012-12-01T13:22:24 <+dekar> last month the virtual com port driver had over 2000 downloads 2012-12-01T13:22:50 -!- daku is now known as DaKu 2012-12-01T13:24:52 <+dekar> http://www.google.com/#q=site:my.st.com+dekar&hl=en&safe=off&tbo=d&filter=0&bav=on.2,or.r_gc.r_pw.r_qf.&fp=c5e25338c63d6017&bpcl=39314241&biw=1280&bih=661 2012-12-01T13:25:05 <+dekar> st forum loves the mirror XD 2012-12-01T13:25:14 <+Steffanx> only 56 2012-12-01T13:26:04 <+Steffanx> I never understand why people visit that website 2012-12-01T13:26:11 <+Steffanx> It's inclear as hell 2012-12-01T13:26:13 <+Steffanx> *un 2012-12-01T13:26:14 < dongs> my.st.com? 2012-12-01T13:26:16 <+Steffanx> Yeah 2012-12-01T13:26:24 <+Steffanx> The search engine fails terribly 2012-12-01T13:26:27 < dongs> lol 2012-12-01T13:26:37 < dongs> its fucking terrible even without search engine 2012-12-01T13:26:43 < dongs> whatever dumb forum engine they're using fails hard 2012-12-01T13:27:05 < dongs> must be some awesome closed source frontpage forum server 2012-12-01T13:28:02 < dongs> unk_42420060 = result 2012-12-01T13:28:02 < dongs> wtf? 2012-12-01T13:28:11 < dongs> whats at 0x4242:0000 on stm32? 2012-12-01T13:30:55 <+Steffanx> It looks like some SharePoint crap dongs 2012-12-01T13:31:03 < dongs> ya thats what i meant 2012-12-01T13:31:04 < dongs> sharepoint 2012-12-01T13:31:08 < dongs> sorry, confused it wiht frontpage 2012-12-01T13:31:15 <+Steffanx> frontpage LOL 2012-12-01T13:31:23 < dongs> i'd say they're equally amazing 2012-12-01T13:31:34 <+Steffanx> ( too bad there is probably no one who can't say he didn't use it once ) 2012-12-01T13:46:03 < dongs> https://events.ccc.de/congress/2012/wiki/Arduino_For_Total_Newbies_Workshop 2012-12-01T13:46:06 < dongs> zyp is attending 2012-12-01T13:46:23 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-01T13:46:58 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Client Quit] 2012-12-01T13:48:02 < dongs> https://events.ccc.de/congress/2012/wiki/images/3/38/Arduinos_For_Total_Newbies_workshop.jpg 2012-12-01T13:49:13 <+Steffanx> A fancy computer club without a valid certificate .. 2012-12-01T13:49:36 <+Steffanx> or at least .. a one you probably cant trust 2012-12-01T13:50:11 <+Steffanx> Hey, you are there too dongs 2012-12-01T13:50:41 <+Steffanx> http://www.naffets.nl/share//Arduinos_For_Total_Newbies_workshop.jpg_%282000%C3%971328%29-20121201-125034.jpg 2012-12-01T14:07:19 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-01T14:23:12 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2012-12-01T14:42:07 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-245-48.clienti.tiscali.it] has joined ##stm32 2012-12-01T15:17:38 < dongs> http://www.hardkernel.com/renewal_2011/products/prdt_info.php?g_code=G135341370451 hmm apparently people can install win8rt on this? 2012-12-01T15:18:58 -!- DaKu is now known as daku 2012-12-01T15:21:25 < dongs> Windows RT PCs are built for fun, life on the go, and getting things done. They are sleek and thin, have truly extraordinary battery life, and are all touch-enabled. 2012-12-01T15:22:14 < baird> "but.. I live in a basement!" 2012-12-01T15:31:34 < dongs> australia has basements? 2012-12-01T15:32:17 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-01T15:35:32 -!- Laurenceb_ [~Laurence@host86-178-5-134.range86-178.btcentralplus.com] has joined ##stm32 2012-12-01T15:40:06 < baird> Wishing I had one at this place-- it would be nice and cool.... Daily temperature was 43C, temperature now at ~1am is 30C 2012-12-01T15:43:53 < dongs> heh 2012-12-01T15:44:26 < baird> One thing I don't have to wish for any longer is a VIC-20 :D .. It's got a hardware issue, one of the 2114 1024x4 sram chips flakes out when it warms up. 2012-12-01T15:48:07 < dongs> isnt tarduino more powerful than a vic20 2012-12-01T15:49:40 < baird> Fuck no. 2012-12-01T15:52:40 < baird> 66 key keyboard, 3.5kB RAM, 1 MHz CPU, parallel port, serial bus port, processor bus expansion interface.. Preferred by shotas world-wide over in 1982: https://secure.flickr.com/photos/chris_j_b/885460566/ 2012-12-01T15:53:11 < dongs> lulz 2012-12-01T15:55:36 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-01T15:57:07 < dongs> why does that guy have same initials as you 2012-12-01T15:57:30 < baird> Ha, actually the keyboard is a simple 8x8 matrix deal-- would be neat to have a pile of them.. 2012-12-01T15:58:11 < dongs> oh it is you 2012-12-01T15:59:15 < BrainDamage> impossibru, there's no furry loli in the bedsheets 2012-12-01T15:59:56 < dongs> you only see that if you subscribe to flickr PLUS 2012-12-01T16:01:04 < baird> I was hot for that blue girl in Ulysses 31 at the time. :/ 2012-12-01T16:22:00 -!- claude is now known as Claude 2012-12-01T16:23:11 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has joined ##stm32 2012-12-01T16:43:30 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-01T16:55:42 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-01T16:58:58 -!- sourcebox [~sourcebox@static-87-79-70-47.netcologne.de] has joined ##stm32 2012-12-01T17:28:56 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-01T17:28:57 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-01T17:28:57 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-01T17:28:59 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-01T17:28:59 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-140.pptp.stw-bonn.de] has joined ##stm32 2012-12-01T17:33:22 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has joined ##stm32 2012-12-01T17:37:48 <+dekar> dongs, where does it say that board runs winRT? does it even have an EFI? 2012-12-01T18:09:56 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-01T18:34:19 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-01T18:39:25 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-01T18:49:34 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has joined ##stm32 2012-12-01T18:55:13 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-01T18:58:05 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-01T19:00:51 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Client Quit] 2012-12-01T19:03:28 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-01T19:06:31 -!- dekar_ [~dekar@212.255.17.245] has joined ##stm32 2012-12-01T19:06:34 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-01T19:09:12 -!- dekar [~dekar@212.255.17.245] has quit [Ping timeout: 264 seconds] 2012-12-01T19:11:34 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-01T19:39:43 -!- alexn [~alexn@dslb-094-216-056-043.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-01T19:39:55 < karlp> re low power wifi, there's new broadcom chips that were claiming some absurdly low power. not as low as zigbee, but only marginally more. 2012-12-01T20:08:15 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has joined ##stm32 2012-12-01T20:09:33 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-01T20:11:44 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has quit [Client Quit] 2012-12-01T20:38:08 < Laurenceb_> karlp: yeah but id need documentation... 2012-12-01T20:38:15 < Laurenceb_> or at least linux drivers 2012-12-01T20:56:54 <+Steffanx> define absurdly low karlp :) 2012-12-01T20:57:33 <+Steffanx> Even the nr24somethingsomething uses > 10mA in receive mode :( 2012-12-01T20:57:39 <+Steffanx> *nrf 2012-12-01T21:32:51 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has joined ##stm32 2012-12-01T21:37:35 < karlp> Steffanx: nrf24 isn't wifi, it's just 2.4gig 2012-12-01T21:37:46 <+Steffanx> Yes yes i know 2012-12-01T21:37:53 < karlp> I'll try and find the paper I read it in, don't have it handy, might be bookmarked on the work computer. 2012-12-01T21:38:10 < karlp> but, broadcom, so no linux drivers, and forget about getting parts unles you're ordering 10k plus or so 2012-12-01T21:38:30 < karlp> fuck you guys were duglega with the chatz overnight 2012-12-01T21:38:32 <+Steffanx> zigbee isn't wifi either, so I just mention something else 'low' power that still uses a little too much for some applications 2012-12-01T21:39:09 < karlp> I was implying that bringing wifi power rates down to zigbee power rates is absurdly low for wifi 2012-12-01T21:39:11 < ds2> nrf51 2012-12-01T21:39:18 < karlp> not that it was as low as you could go without wires... 2012-12-01T21:39:21 <+Steffanx> No 24l01+ or something 2012-12-01T21:39:34 < ds2> the 51 has a m0 on there for mucking with 2012-12-01T21:39:51 < ds2> suppose to do what the nrf24's can do and more 2012-12-01T21:41:37 <+Steffanx> Oh lol. Why they call it nrf51? When i read that i think they added a 8051 2012-12-01T21:41:52 < karlp> yeah, I was checking for that too :) 2012-12-01T21:41:58 <+Steffanx> but that's the nRF24LU1 2012-12-01T21:42:36 <+Steffanx> 530nA - 8k RAM retention not that bad 2012-12-01T21:42:48 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-01T21:45:42 < ds2> they can be total idiots in naming things... all I care is does it do the job :D 2012-12-01T21:46:26 <+Steffanx> You used it? 2012-12-01T21:47:09 < ds2> no, I went to their seminar 2012-12-01T21:47:12 < ds2> it is a new chip 2012-12-01T21:47:20 < ds2> and it can load ble firmware 2012-12-01T21:47:36 < ds2> was looking for a BLE chip 2012-12-01T21:47:44 < karlp> blue tooth low energy? 2012-12-01T21:47:49 < ds2> yeah 2012-12-01T21:47:52 < karlp> too many acronyms here sometimes. 2012-12-01T21:47:59 < ds2> or bluetooth smart in marketing-ese 2012-12-01T21:48:02 < karlp> what was this "STE" module you were talking about? 2012-12-01T21:48:08 < karlp> st-ericsson? or somethign else? 2012-12-01T21:48:12 < ds2> yes 2012-12-01T21:49:07 <+Steffanx> lol @ how you have to download the reference manual 2012-12-01T21:49:29 < ds2> for the nrf51 or? 2012-12-01T21:49:32 <+Steffanx> Yes 2012-12-01T21:49:37 < ds2> nordic wants you to register to get manuals 2012-12-01T21:49:44 <+Steffanx> Register, add product to "my products". Click download, and click the manual. 2012-12-01T21:49:57 < ds2> I just had to register 2012-12-01T21:50:13 <+Steffanx> me too 2012-12-01T21:50:13 < ds2> Oh I know why that's all I had to do... got a code for the dev kit from the seminar 2012-12-01T21:50:21 < ds2> so that probally just added that automatically 2012-12-01T21:50:42 < ds2> bbl, lunch 2012-12-01T21:50:53 <+Steffanx> have fun 2012-12-01T22:34:29 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-245-48.clienti.tiscali.it] has quit [Ping timeout: 244 seconds] 2012-12-01T22:41:29 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-112.clienti.tiscali.it] has joined ##stm32 2012-12-01T22:50:00 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has joined ##stm32 2012-12-01T22:56:21 -!- Claude is now known as claude 2012-12-01T23:26:35 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-12-01T23:31:35 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 260 seconds] 2012-12-01T23:38:18 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-01T23:40:42 < zyp> hmm, first time I'm finding my 40 MHz rigol to be too slow 2012-12-01T23:40:57 < zyp> I'm trying to look at the RMII signals running at 50 MHz :p 2012-12-01T23:41:08 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-140.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2012-12-01T23:44:52 < BrainDamage> hack it to 100? :P 2012-12-01T23:45:25 < zyp> mine is older than the hackable 50MHz one 2012-12-01T23:45:38 < zyp> I bought this quite a few years ago 2012-12-01T23:47:24 < zyp> or, I haven't really cared to check 2012-12-01T23:47:29 < zyp> this is a DS1042C --- Day changed Sun Dec 02 2012 2012-12-02T00:08:23 < zippe> Huh, so very annoying 2012-12-02T00:08:27 < zyp> hmm, I see incoming packets from PHY over RMII 2012-12-02T00:08:36 < zyp> but I'm not getting MAC to pick them up 2012-12-02T00:31:40 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has quit [Ping timeout: 246 seconds] 2012-12-02T00:33:00 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-1.pptp.stw-bonn.de] has joined ##stm32 2012-12-02T00:33:15 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-112.clienti.tiscali.it] has quit [Read error: Operation timed out] 2012-12-02T00:33:16 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-1.pptp.stw-bonn.de] has quit [Client Quit] 2012-12-02T00:33:58 < zyp> looks like it might be coupled with DMA engine, so receiver aren't enabled until DMA is ready 2012-12-02T00:35:13 <+Steffanx> No USB anymore? :) 2012-12-02T00:35:26 < zyp> need some variation :) 2012-12-02T00:35:27 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-02T00:35:59 < zyp> maybe I'll hook it together and make a CDC EEM demo later 2012-12-02T00:37:01 -!- sourcebox [~sourcebox@static-87-79-70-47.netcologne.de] has quit [Remote host closed the connection] 2012-12-02T00:37:25 < zyp> also, CDC EEM documentation has the best illustrations of any USB spec 2012-12-02T00:37:30 < zyp> with forklifts and shit 2012-12-02T00:37:34 < zyp> http://www.usb.org/developers/devclass_docs/CDC_EEM10.pdf 2012-12-02T00:38:06 <+Steffanx> LOL 2012-12-02T00:38:26 <+Steffanx> Even some fancy stretched cars 2012-12-02T00:39:01 < zyp> but still not better than the magic carpet spec in HID ;) 2012-12-02T00:40:16 < Laurenceb_> hmm maybe i should have a go at USB RTC 2012-12-02T00:40:23 < Laurenceb_> using ethernet to get the time 2012-12-02T00:40:57 < zyp> huh? 2012-12-02T00:41:29 < zyp> what do you mean? 2012-12-02T00:41:29 < Laurenceb_> setting RTC in a user friendly way is hard 2012-12-02T00:41:43 < zyp> run NTP over usb networking? 2012-12-02T00:41:46 < Laurenceb_> the real time clock - how to set it to system time 2012-12-02T00:41:47 < Laurenceb_> yes 2012-12-02T00:41:57 < zyp> not going to work in a userfriendly way 2012-12-02T00:42:07 < Laurenceb_> hmm probably not 2012-12-02T00:42:40 < zyp> normal computers won't just route out traffic coming from the usb network interface 2012-12-02T00:42:54 < zyp> and they don't usually run any services you can query for time either 2012-12-02T00:43:44 < Laurenceb_> atm user has to save a blank file 2012-12-02T00:43:51 < Laurenceb_> over MSC 2012-12-02T00:44:08 < zyp> and that's a pretty nasty hack you're doing there IMO :p 2012-12-02T00:44:41 < Laurenceb_> well it works, and is relatively user friendly 2012-12-02T00:49:32 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-229-175.clienti.tiscali.it] has joined ##stm32 2012-12-02T00:54:12 -!- alexn [~alexn@94.216.56.43] has joined ##stm32 2012-12-02T01:05:12 -!- gurgalof [~gurgalof@dhcp-236-121.nomad.chalmers.se] has quit [Quit: Leaving] 2012-12-02T01:18:35 -!- alexn [~alexn@94.216.56.43] has quit [Remote host closed the connection] 2012-12-02T01:19:33 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-02T01:37:54 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: This computer has gone to sleep] 2012-12-02T01:47:08 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2012-12-02T01:54:50 < zyp> success: http://paste.jvnv.net/view/ulTG0 2012-12-02T01:55:03 < zyp> time to get dma going so I can store frames instead of lose them :p 2012-12-02T02:06:41 < rlc> congratulation! 2012-12-02T02:14:28 < zyp> :) 2012-12-02T02:18:24 < dongs> ethernuts 2012-12-02T02:33:10 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T02:44:25 < Laurenceb_> hi fergusnoble_ 2012-12-02T02:44:46 < fergusnoble_> hi Laurenceb_ 2012-12-02T02:44:49 < gxti> blurg, need to work on my own ethernet stuff 2012-12-02T02:44:53 < fergusnoble_> hows it going? 2012-12-02T02:45:00 < Laurenceb_> not so bad thanx 2012-12-02T02:45:02 < zyp> gxti, for what? 2012-12-02T02:45:04 < gxti> something is dropping outgoing frames i think and it takes 1.5 seconds or more to recover each time 2012-12-02T02:45:15 < Laurenceb_> should complete my PhD in a few months 2012-12-02T02:45:32 < Laurenceb_> still working in Cali? 2012-12-02T02:45:41 < zyp> gxti, which code are you using for handling the ethernet peripheral? 2012-12-02T02:45:53 < gxti> zyp: chibios and lwip 2012-12-02T02:46:02 < zyp> ah 2012-12-02T02:53:54 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has joined ##stm32 2012-12-02T02:53:55 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has quit [Changing host] 2012-12-02T02:53:55 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-02T03:13:22 -!- gurgalof [~gurgalof@80.216.122.131] has joined ##stm32 2012-12-02T03:17:40 < dongs> ok who killed the chats 2012-12-02T03:18:14 < zyp> dongs, the lack of anything interesting to talk about 2012-12-02T03:18:21 < dongs> yea 2012-12-02T03:28:45 -!- mervaka [~mervaka@mervaka.co.uk] has joined ##stm32 2012-12-02T03:32:13 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-02T03:41:31 < ds2> is my debugger broken? it always shows PC = 0x00000000 2012-12-02T03:41:45 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-02T03:42:48 < zyp> yes. 2012-12-02T03:44:28 < ds2> what's a known useable debugger (assembly is fine)? 2012-12-02T03:44:31 -!- Laurenceb_ [~Laurence@host86-178-5-134.range86-178.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-12-02T03:45:01 < ds2> hmmm no.. doesn't seem like it 2012-12-02T03:45:16 < ds2> cuz the on board F3 seems to work right with this debugger 2012-12-02T03:45:41 < zippe> ds2: not sure what you're asking specifically 2012-12-02T03:46:03 < zippe> ds2: are you looking for a monitor, or something that talks to a probe, or… ? 2012-12-02T03:46:07 < ds2> zippe: software to dump say... the PC and memory on a F103 connected via a STLink/V2 2012-12-02T03:46:18 < zippe> ds2: on what host? 2012-12-02T03:46:23 < ds2> yes. 2012-12-02T03:46:44 < zippe> ? 2012-12-02T03:46:52 < ds2> ???? 2012-12-02T03:47:03 < zippe> "on what host"? 2012-12-02T03:47:12 < ds2> oh what 2012-12-02T03:47:16 < dongs> if you have to ask, the answer is probably not lunix 2012-12-02T03:47:23 < ds2> Linux x86; Windows XP 2012-12-02T03:47:30 < ds2> any of those would be fine right now 2012-12-02T03:47:47 < zippe> which toolchain are you using? 2012-12-02T03:47:55 < ds2> why does that matter? 2012-12-02T03:48:02 < ds2> I just want to dump memory and registers 2012-12-02T03:48:14 < ds2> I don't care at this point about symbols, sources, etc 2012-12-02T03:48:22 < ds2> but FWIW, Codesourcery 2012-12-02T03:48:28 < zippe> Ok, so CS should include gdb 2012-12-02T03:48:40 < ds2> okay 2012-12-02T03:48:45 < zippe> On Windows, I think that ST have a gdbserver that will talk to the stlink 2012-12-02T03:48:49 < ds2> let me start again 2012-12-02T03:49:00 < ds2> cuz we are going in circles 2012-12-02T03:49:04 < zippe> On a posix system, you'd use texane/stlink off github as a bridge 2012-12-02T03:49:06 < dongs> zippe, hes not even compiling shit. hes loading some prebuilt stuff. 2012-12-02T03:49:11 < zippe> Yes, I understand 2012-12-02T03:49:33 < ds2> I have the st-utils stuff setup against the ST Link/V2 on a STM32F3Discovery board wired to my own board. 2012-12-02T03:49:40 < zippe> On both Windows and Linux, at least, recent versions of openocd will talk to the stlink. 2012-12-02T03:49:42 < ds2> gdb against that shows a PC = 0x00000000 2012-12-02T03:49:44 < zippe> You may have to build from sources. 2012-12-02T03:49:57 < ds2> so either st-util is broke or I have a real problem 2012-12-02T03:49:57 < dongs> ds2, you already spent more time trying to debug fail with binaries than it would take you to write some test code 2012-12-02T03:50:12 < ds2> dongs: from what I am seeing, it doesn't matter 2012-12-02T03:50:16 < zippe> ds2: it's almost certain that you have a configuration problem in there somewhere 2012-12-02T03:50:21 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has joined ##stm32 2012-12-02T03:50:24 < ds2> cuz if PC is really stuck in 0x0, my flashing failed 2012-12-02T03:50:28 < zippe> ds2: I was merely answering your questions 2012-12-02T03:50:51 < ds2> ok... nevermind then. I am apparently completely unable to ask proper questions. 2012-12-02T03:51:07 < zippe> No, your questions were fine 2012-12-02T03:51:12 < zippe> I just needed more information 2012-12-02T03:51:23 < zippe> However, *now* you tell me you have something set up already 2012-12-02T03:51:24 < zyp> ds2, grab the st-link software for windows and try that 2012-12-02T03:51:27 < zippe> so why don't we just debug it? 2012-12-02T03:51:31 < zippe> rather than going in circles 2012-12-02T03:51:37 < zippe> What does 'i r' show? 2012-12-02T03:52:18 < zippe> In particular, what's in xpsr? 2012-12-02T03:52:22 < ds2> zyp: that doesn't give me the registers... I used that to try to flash it 2012-12-02T03:53:12 < ds2> it seems to do sane stuff against the on board F3.. let me switch it back. one sec 2012-12-02T03:53:19 < zyp> ds2, sure it does 2012-12-02T03:54:03 < ds2> zyp: oh? the commandline or GUI? 2012-12-02T03:54:21 < zyp> I mean the windows gui software provided from ST 2012-12-02T03:54:22 < zippe> ds2: ^^^ ? 2012-12-02T03:54:59 < ds2> zippe: i r... all 0's except: 2012-12-02T03:55:00 < ds2> pc 0x0 0 2012-12-02T03:55:01 < ds2> fps 0xaddeadde 2917051870 2012-12-02T03:55:01 < ds2> cpsr 0x0 0 2012-12-02T03:55:58 < ds2> what concerns me is x/16 0 gives me 0x0000 0016 over and over again 2012-12-02T03:56:00 < ds2> as if the flashing failed 2012-12-02T03:56:24 < zippe> Ok, so nothing is going to work while your debugger is calling it 'cpsr' 2012-12-02T03:56:45 < zippe> gtry 2012-12-02T03:56:48 < zippe> er, ret 2012-12-02T03:56:52 < zippe> one more time 2012-12-02T03:56:57 < zippe> set debug remote 1 2012-12-02T03:57:14 < zippe> x/x 0x08000000 2012-12-02T03:57:31 < zippe> Sending packet: $m8000000,4#25...Ack 2012-12-02T03:57:31 < zippe> Packet received: 00000220 2012-12-02T03:57:31 < zippe> 0x8000000: 0x20020000 2012-12-02T03:57:39 < ds2> ok 2012-12-02T03:57:55 < zippe> then 2012-12-02T03:57:56 < zippe> i r 2012-12-02T03:58:16 < zippe> actually, you probably have registers cached, so use 'flushregs' instead 2012-12-02T03:58:58 < ds2> ok 2012-12-02T03:59:02 < ds2> what concerns me is i see: 2012-12-02T03:59:04 < ds2> Sending packet: $p19#da...putpkt: Junk: cpsr 2012-12-02T03:59:08 < ds2> when I first did the i r 2012-12-02T03:59:17 < ds2> it is as if I have a mismatch of gdbserver and gdb? 2012-12-02T03:59:35 < zippe> Yup, that's believable 2012-12-02T03:59:41 < zyp> which gdb version? 2012-12-02T03:59:53 < zippe> flushregs should be using $g 2012-12-02T03:59:53 < zippe> Sending packet: $g#67...Ack 2012-12-02T03:59:54 < zippe> Packet received: e9ce0108c37200087d16611d000000002b000000c372000804bc0020535b000804bc002000000000d8a500200000000097120000d4bb0020d9d8000814cf01082b000041d4bb00200000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2012-12-02T04:00:12 < ds2> gister cache flushed. 2012-12-02T04:00:12 < ds2> Sending packet: $g#67...putpkt: Junk: 2012-12-02T04:00:12 < ds2> Ack 2012-12-02T04:00:12 < ds2> Packet received: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2012-12-02T04:00:16 < ds2> I get that for flushreg 2012-12-02T04:00:49 < ds2> gdb version 6.8.50.20081022-cvs 2012-12-02T04:00:55 < zyp> that's horribly old 2012-12-02T04:00:56 < ds2> I donno how to determine gdbserver version 2012-12-02T04:01:25 < ds2> zyp: does any ARM gdb work or do I need to have it enabled for the cortex-M stuff? 2012-12-02T04:01:39 < zippe> ds2: you'll need one with v7m support 2012-12-02T04:01:56 < zippe> ds2: but current CS should include that 2012-12-02T04:02:08 < ds2> what's the commandline to dump what support it has enabled? 2012-12-02T04:02:11 < zippe> The Junk comment in the remote logs says that your gdbserver is bogus 2012-12-02T04:02:24 < ds2> ahhhhh okay 2012-12-02T04:02:35 < ds2> thanks. that probally confirms a mismatch 2012-12-02T04:02:40 < ds2> let me find a newer CS 2012-12-02T04:02:42 < zippe> try 'show arch' 2012-12-02T04:02:49 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T04:03:16 < zippe> But if I had to guess, the stub you're using may not have sent the target XML 2012-12-02T04:03:40 < zyp> my guess is that gdb is too old to receive target xml 2012-12-02T04:03:46 < zippe> also 'show tdesc filename' 2012-12-02T04:03:59 < zyp> I seem to recall to have to upgrade gdb to get that working 2012-12-02T04:04:57 < dongs> http://edition.cnn.com/2012/12/01/world/asia/japan-tunnel/index.html 2012-12-02T04:05:03 < zyp> and that you are using a gdb from 2008 supports that suspicion 2012-12-02T04:05:23 < ds2> this is cs 2009 2012-12-02T04:05:37 < zyp> it says october 2008 in the version number :p 2012-12-02T04:06:21 < zippe> oh gross 2012-12-02T04:06:37 < zyp> also, why are you using an outdated version of codesourcery instead of the latest version of https://launchpad.net/gcc-arm-embedded/ ? 2012-12-02T04:06:43 < zippe> You might want to switch to ARM's own gcc toolchain 2012-12-02T04:06:56 < zippe> jinx 2012-12-02T04:07:04 < ds2> let me grab the launchpad one 2012-12-02T04:07:21 < ds2> there are other obscure reasons... like I happen to have it 2012-12-02T04:07:27 < ds2> I normally work on cortex-A's 2012-12-02T04:08:56 < zippe> Which still doesn't explain using CS vs. e.g. Linaro's bits. 8) 2012-12-02T04:15:54 < ds2> zyp: thanks... found the option 'MCU core'... looks like I am stuck in the ST crap 2012-12-02T04:16:05 < ds2> guess I'll setup a tool chain and generate stuff 2012-12-02T04:20:41 < ds2> zippe: the new toolchain gives me saner results 2012-12-02T04:22:48 < ds2> can I configure the FSMC over gdb? 2012-12-02T04:23:42 < zyp> you can perform any memory access from gdb, so there is no reason that wouldn't be possible 2012-12-02T04:24:35 < ds2> cool... guess that is the next step 2012-12-02T04:24:55 < ds2> on these parts is there an explicit pinmux or does enabling a block take care of it? 2012-12-02T04:25:16 < zyp> which part are you using? 2012-12-02T04:25:28 < ds2> f103 2012-12-02T04:25:52 < zyp> then you just have to set the pins in AF mode 2012-12-02T04:26:07 < dongs> set pins to AF, enable the block 2012-12-02T04:26:17 < zyp> also, mind the AF remaps if you are using functions that have several optional pins 2012-12-02T04:26:35 < ds2> oh 2012-12-02T04:26:43 < ds2> okay, sounds like I need a few hours on the manual 2012-12-02T04:26:48 < zyp> it's a bit shitty, all the newer families have an explicit mux 2012-12-02T04:27:34 < ds2> that seems a bit like the smaller stuff. IIRC the msp430 is like that 2012-12-02T04:30:48 < zyp> well, you still have a mux to choose between GPIO and AF mode 2012-12-02T04:30:52 < zyp> but not which AF mode 2012-12-02T04:31:26 < ds2> oh 2012-12-02T04:31:38 < zyp> I believe both dongs and Laurenceb have had headaches from trying to use two peripherals that wanted to use the same pin 2012-12-02T04:33:06 < ds2> oh 2012-12-02T04:33:46 < zyp> I haven't, but that's just because I've not worked much with F1 :) 2012-12-02T04:34:06 < ds2> heh 2012-12-02T04:34:11 < zyp> and I'd be reluctant about choosing F1 for a design because of that 2012-12-02T04:34:43 < ds2> it just doesn't seem that bad 2012-12-02T04:35:52 < zyp> with all the newer families improving in different directions, there is almost no reason to pick F1 anymore 2012-12-02T04:35:53 < gxti> i did have that bite me once but i'm still relatively new to stm32 2012-12-02T04:36:32 < zyp> I think F0 is cheaper, L1 consumes less power, F3 shouldn't be significantly more expensive, and F4 packs a lot more power 2012-12-02T04:36:42 < zyp> (and F2 is F4's little brother) 2012-12-02T04:37:19 < zyp> but I guess F1 still holds the title of cheapest chip with usb support 2012-12-02T04:37:35 < ds2> except F1 is still smaller 2012-12-02T04:37:43 < zyp> not smaller than F3? 2012-12-02T04:37:49 < zyp> or F0 2012-12-02T04:37:57 < ds2> yes, smaller then F3 2012-12-02T04:38:04 < ds2> there is no BGA144 available for the F3 2012-12-02T04:38:08 < ds2> otherwise, I'd have gone with F3/F4 2012-12-02T04:38:21 < zyp> BGA144, small? 2012-12-02T04:38:22 < ds2> it is like BGA200 or something big to get the FSMC 2012-12-02T04:38:33 < ds2> for FSMC, enabled options, it is small 2012-12-02T04:38:37 < ds2> otherwise it is QFP144 2012-12-02T04:39:08 < zyp> when you said small I thought you were talking about QFP48 :p 2012-12-02T04:39:18 < ds2> if QFP48 had FSMC.... 2012-12-02T04:39:57 < gxti> i'd love to use the BGA packages but i don't have a process available to me that could make good use of it 2012-12-02T04:40:30 < ds2> process? 2012-12-02T04:40:41 < gxti> PCB fab 2012-12-02T04:40:46 < ds2> Oh 2012-12-02T04:40:48 < ds2> that is a pain 2012-12-02T04:49:33 < rlc> gxti: which fab do you use? 2012-12-02T04:49:47 < gxti> oshpark.com 2012-12-02T04:50:01 < gxti> not my job, just a hobby 2012-12-02T04:50:38 < emeb_mac> i've got a design done with and F105 that I'm considering migrating to F373 2012-12-02T04:51:31 < rlc> gxti: how is that process not good enough for bga? 2012-12-02T04:51:50 < gxti> it is technically possible to put a 1mm bga on 6/6 but not using all the pads 2012-12-02T04:52:33 < rlc> yes I suppose 2012-12-02T04:53:19 < gxti> i occasionally try to put together a AM1707 board then lose interest halfway through routing the dram 2012-12-02T04:53:51 < zyp> the problem with oshpark is minimum via diameter 2012-12-02T04:53:52 < rlc> what process do you wish to use? 2012-12-02T04:54:05 < zyp> you can't put two vias 1mm apart and still route a trace between them 2012-12-02T04:54:25 < zyp> which further limits how many signals you can route out from a bga 2012-12-02T04:54:52 < rlc> can you run the traces on different layers? 2012-12-02T04:55:13 < zyp> http://bin.jvnv.net/f/G5Pt4.png <- this for instance wouldn't be compliant with oshpark's via specs 2012-12-02T04:56:08 < zyp> otherwise I might have had it done there 2012-12-02T04:57:29 < rlc> they don't do blind/buried vias? 2012-12-02T04:57:37 < zyp> ha, no 2012-12-02T04:57:46 < ds2> heheh 2012-12-02T04:58:02 < rlc> ah 2012-12-02T04:58:07 < rlc> that's why 2012-12-02T04:59:00 < gxti> there's not much demand for the 4 layer order as it is, i wonder if raising the costs but getting better specs would actually increase demand 2012-12-02T04:59:15 < zyp> blind/buried vias are way more expensive, since boards have to be drilled and plated in multiple passes 2012-12-02T04:59:43 < zyp> and I don't know about demand 2012-12-02T04:59:50 < zyp> I've done a four layer board there before 2012-12-02T05:00:15 < zyp> http://bin.jvnv.net/f/g17eb.JPG 2012-12-02T05:00:44 < emeb_mac> me too: http://ebrombaugh.studionebula.com/embedded/bcc/index.html 2012-12-02T05:01:44 < emeb_mac> turnaround time for a 4l board from them is a lot faster than BatchPCB 2012-12-02T05:02:08 < gxti> the turn time is great but it's only a monthly thing and still doesn't fill up 2012-12-02T05:02:13 < zyp> I was a bit disappointed by the silk removal script though, makes it look crap :p 2012-12-02T05:02:28 < gxti> there's one going out on monday, trying to finish up another ethernet board 2012-12-02T05:02:36 < gxti> this one for time nerd stuff 2012-12-02T05:04:38 < emeb_mac> I should have some of the BMP2 boards from them next week. 2012-12-02T05:04:57 < emeb_mac> just got the notice last night 2012-12-02T05:06:46 < emeb_mac> zyp: nice routes on the LPC43xx board 2012-12-02T05:07:22 < zyp> :) 2012-12-02T05:08:49 < emeb_mac> should be fun to build w/ the bga. You planning to do it with your reflow oven? 2012-12-02T05:09:10 < zyp> do I have any better option? :p 2012-12-02T05:09:28 < zyp> bga fun is the whole purpose :p 2012-12-02T05:09:56 < emeb_mac> not unless you know someone with a full line to do it for you. 2012-12-02T05:11:32 < zyp> I know of a local company with a full line, but I don't think they would do it :p 2012-12-02T05:12:58 < zyp> we got a walk around there when I still was a student 2012-12-02T05:13:18 < zyp> also, one of the guys I did my thesis with got hired there 2012-12-02T05:13:36 < zyp> but we haven't really kept in touch 2012-12-02T05:17:29 < emeb_mac> the reflow wouldn't bother me too much, but I'd be concerned about getting the balls/pads aligned. 2012-12-02T05:17:53 < zyp> I'm not 2012-12-02T05:18:19 < zyp> 1mm pitch should be way easier to align than some of the QFN packages I've worked with before 2012-12-02T05:18:34 < zyp> and I've never had any misaligned QFN packages 2012-12-02T05:19:20 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-02T05:19:49 < gxti> i wonder if i can get away with soldering QFN without paste. don't really want to buy a stencil just for this board, only did it last time because i had 3 designs that i could submit together. 2012-12-02T05:20:03 < gxti> either that or maybe use the old stencil just for the QFN 2012-12-02T05:20:27 < zyp> I reworked a board once 2012-12-02T05:20:41 < zyp> I just applied solder to the pads, put the chip on and hotaired it 2012-12-02T05:21:00 < gxti> that's what i've done for crystals/oscillators before but those aren't exactly fine pitch 2012-12-02T05:21:27 < gxti> well, i don't have hot air, but i know i can just hit it from the side with a soldering iron 2012-12-02T05:21:34 < gxti> should really get a hot air station 2012-12-02T05:21:40 < zyp> the one I reworked was a dlm303dlm 2012-12-02T05:21:43 < zyp> uh 2012-12-02T05:21:45 < zyp> lsm303dlm 2012-12-02T05:22:19 < zyp> 0.55mm pitch LGA-28 2012-12-02T05:22:27 < gxti> also this time i will actually set the solder mask expansion correctly, been effectively having no solder mask on fine pitch stuff in the last 2012-12-02T05:22:30 < gxti> past* 2012-12-02T05:23:09 < zyp> anyway, the trick is to have the pads on the board produde out from the chip 2012-12-02T05:23:31 < gxti> yep 2012-12-02T05:23:33 < zyp> then it should be easy to do with an iron 2012-12-02T05:23:48 < zyp> I used a shitty premade footprint for the LGA-28 2012-12-02T05:23:58 < zyp> I'm not going to do that error again 2012-12-02T05:24:30 < dongs> eagled 2012-12-02T05:25:18 < zyp> lack of good premade footprints is not an issue unique to eagle, is it? :p 2012-12-02T05:26:14 < dongs> of course its not, but amount of fucktards using it taking sparkfail "library" as gospel truth is pretty high. 2012-12-02T05:26:34 < zyp> :) 2012-12-02T05:26:38 < gxti> i generally trust the altium library 2012-12-02T05:26:51 < gxti> i did not trust the kicad libs at all 2012-12-02T05:27:12 < dongs> Did you know? If you rearrange letters in 'Kicad" you get 'A dick". 2012-12-02T05:27:26 < gxti> if you rearrange the letters in "dongs" you get "dongs" 2012-12-02T05:29:32 < zyp> I don't really care too much about coarse parts, that's pretty hard to fuck up, but I'm paying extra attention to getting the fine pitch stuff right now 2012-12-02T05:31:33 < zyp> and usb connectors, after ripping off several on a previous design I did 2012-12-02T05:34:02 < dongs> thats cuz youre using shit ones 2012-12-02T05:34:11 < zyp> used 2012-12-02T05:34:25 < dongs> http://www.kcna.co.jp/item/2012/201211/news29/20121129-20ee.html 2012-12-02T05:34:26 < zyp> also shit footprint 2012-12-02T05:34:39 < zyp> (from sparkfun library) 2012-12-02T05:34:45 < HTT-Bird> zyp: why use SMT USB connectors? 2012-12-02T05:35:01 < HTT-Bird> you shouldn't be able to rip a PTH one out of the board without some pretty extreme measures *sigh* 2012-12-02T05:35:37 < zyp> HTT-Bird, the ones I'm using now have tabs going into holes 2012-12-02T05:35:46 < HTT-Bird> ah 2012-12-02T05:35:47 < HTT-Bird> wow 2012-12-02T05:35:57 < zyp> haven't ripped off any of those 2012-12-02T05:36:04 < dongs> it was a bit hard to reflow a displayport connector that was like this 2012-12-02T05:36:44 < zyp> the tabs are not long enough to protude out of the board on the other side 2012-12-02T05:37:35 < zyp> they are similar to the AB connector used on the F4 discovery 2012-12-02T05:39:41 < zyp> I followed the recommended footprint, which wanted both pads underneath the shield, pads for tabs on sides and four holes for the tabs going into the board 2012-12-02T05:40:29 < zyp> and for some reason it wanted two seperate tabs underneath instead of one large 2012-12-02T05:40:51 < zyp> http://bin.jvnv.net/f/G5Pt4.png <- so that's why the usb footprint got four holes and four pads, in addition to the five signal pads :p 2012-12-02T05:42:13 < zyp> http://bin.jvnv.net/f/9B678.jpg <- and the ones I ripped off only had two pads for some pathethic small tabs on the sides 2012-12-02T05:42:23 < zyp> (lower right corner of each board) 2012-12-02T05:45:02 < gxti> the one i'm using now is like that, no mechanical issues so far 2012-12-02T05:45:43 < dongs> Top demographics 2012-12-02T05:45:43 < dongs> Male, 35-44 years Male, 45-54 years Male, 55-64 years 2012-12-02T05:46:35 < gxti> dongs: visitor list to your apartment? 2012-12-02T05:46:40 < dongs> yes 2012-12-02T06:21:35 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T06:23:04 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-229-175.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-02T06:29:36 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2012-12-02T06:31:09 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-02T06:31:15 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-02T06:32:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-02T06:45:05 < emeb_mac> comment on a youtube video: "I had pants when I hit play, dunno what happened to them." 2012-12-02T06:45:10 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-02T06:46:16 < rlc> Is there a minimum via copper ring diameter generally? I'm not sure if that information is mentionned in the DFM document. 2012-12-02T06:47:04 < gxti> 'annular ring' is the usual spec, it's the minimum additional radius past the hole itself 2012-12-02T06:47:15 < zyp> yep 2012-12-02T06:47:23 < rlc> Ah ok 2012-12-02T06:47:27 < gxti> e.g. 7 mil annular with 13 mil drill means 13 + 2*7 = 27 mil copper diameter 2012-12-02T06:47:32 < zyp> yep 2012-12-02T06:48:08 < rlc> which is quite big 2012-12-02T06:48:32 < gxti> yes, that is the oshpark minimum unfortunately 2012-12-02T06:48:51 < zyp> and if you then have trace and space at 6 mil, you get a minimum interval of via/trace/via of 27 + 3*6 = 45 mil 2012-12-02T06:48:57 < zyp> which is >1mm 2012-12-02T06:49:14 < gxti> which means no bga fun times 2012-12-02T06:53:57 < gxti> 10 mil drills and 5/5 should do it, right? 10 + 14 + 15 = 39 mils or 0.9906 mm 2012-12-02T06:54:09 < zyp> yep 2012-12-02T06:54:37 < zyp> I've designed my board for 10 mil drills, 5 mil annular ring and 6/6 2012-12-02T06:54:54 < gxti> still the 7 mil annular, mind 2012-12-02T06:55:02 < gxti> but it just barely squeaks by 2012-12-02T06:55:07 < rlc> what is 5/5 notation? 2012-12-02T06:55:16 < zyp> trace/space 2012-12-02T06:55:17 < gxti> track width and clearance, in mils 2012-12-02T06:55:22 < rlc> Ah ok 2012-12-02T06:56:30 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-02T07:08:02 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-02T07:15:53 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T07:20:58 -!- gurgalof [~gurgalof@80.216.122.131] has quit [Ping timeout: 245 seconds] 2012-12-02T07:40:58 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-02T08:18:04 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-02T08:57:26 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-saziljvxgwihqjmv] has quit [Quit: leaving] 2012-12-02T08:57:50 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-inxvlsmhgtzlorrg] has joined ##stm32 2012-12-02T10:00:23 -!- alexn [~alexn@dslb-094-216-054-038.pools.arcor-ip.net] has joined ##stm32 2012-12-02T10:03:05 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T10:05:19 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Client Quit] 2012-12-02T10:20:31 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T10:38:05 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-02T10:38:41 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Client Quit] 2012-12-02T10:40:02 -!- alexn [~alexn@dslb-094-216-054-038.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-02T10:50:48 -!- claude is now known as Claude 2012-12-02T11:02:50 -!- alexn [~alexn@dslb-094-216-054-038.pools.arcor-ip.net] has joined ##stm32 2012-12-02T11:14:36 -!- alexn [~alexn@dslb-094-216-054-038.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-02T11:15:16 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-02T11:19:44 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-02T11:23:50 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T11:23:57 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Client Quit] 2012-12-02T11:51:05 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-02T12:09:38 -!- Devilholk [~banned@5.150.201.147] has quit [Quit: Major network reconfiguration - I might return if things go well] 2012-12-02T12:30:08 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-02T12:33:05 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T12:42:00 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Quit: my exit] 2012-12-02T12:49:41 -!- daku is now known as DaKu 2012-12-02T12:51:24 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-02T13:56:04 -!- BrainDamage [~BrainDama@78.12.229.175] has joined ##stm32 2012-12-02T13:57:37 -!- ja2 [~marcus@81.227.198.108] has joined ##stm32 2012-12-02T14:18:35 < mervaka> hey guys, anyone about? 2012-12-02T14:19:19 < dongs> just me 2012-12-02T14:21:18 < mervaka> :p 2012-12-02T14:21:25 < mervaka> do you have much experience with DMA? 2012-12-02T14:21:52 < mervaka> i'm trying to set DMA1 up with I2S 2012-12-02T14:22:04 < mervaka> not sure whether I should be using double buffering or not. 2012-12-02T14:22:07 < zyp> good morning 2012-12-02T14:22:09 < dongs> ive done it with SPI and USART 2012-12-02T14:22:16 < dongs> that depends on what youre doing wiht the data. 2012-12-02T14:22:22 < zyp> which chip family? 2012-12-02T14:22:25 < dongs> doublebuffering will help you processo ne buffer while DMA sends out another. 2012-12-02T14:22:28 < mervaka> STM32F4 2012-12-02T14:22:34 < dongs> zyp, sounds like F4, F1 doesn't do doublebuffer dma does it? 2012-12-02T14:22:43 < zyp> probably not 2012-12-02T14:22:54 < zyp> my audio stuff is using DMA with I2S on F4 2012-12-02T14:23:20 < zyp> http://cgit.jvnv.net/laks_demo/tree/main.cpp?h=usb_audio <- here if you want a look 2012-12-02T14:23:40 < zyp> I'm currently just using a single buffer in circular mode 2012-12-02T14:24:28 < mervaka> i gather I2S definitely requires a circular buffer 2012-12-02T14:24:38 < zyp> but I'm not syncing buffer input and buffer output, so they collide once in a while 2012-12-02T14:24:57 < mervaka> oh right i see now 2012-12-02T14:25:03 < mervaka> so it's for synchronisation 2012-12-02T14:25:15 < zyp> double buffer mode might be easier to sync up 2012-12-02T14:25:30 < zyp> or something 2012-12-02T14:26:34 < zyp> are you outputting or inputting audio? 2012-12-02T14:27:42 < mervaka> both 2012-12-02T14:27:54 < mervaka> using both I2S peripherals in full duplex 2012-12-02T14:28:14 < zyp> what do you do with it? 2012-12-02T14:28:19 < mervaka> audio mixer 2012-12-02T14:28:40 < zyp> ah, right, so everything is going to be clocked off the same clock? 2012-12-02T14:28:41 < mervaka> at least, a proof of concept. 2012-12-02T14:28:48 < mervaka> in theory, yes 2012-12-02T14:29:06 < mervaka> i'm not quite sure how i'm doing that yet though.. haha 2012-12-02T14:29:23 < zyp> then I think double buffer mode would be the best 2012-12-02T14:29:26 < mervaka> i've set the DACs and ADCs both to slave 2012-12-02T14:30:13 < mervaka> so the uc has control ultimately 2012-12-02T14:30:28 < mervaka> is there a way to sync DMA reads/writes to the peripheral? 2012-12-02T14:30:30 < zyp> wait for a full input buffer, then process it while the other buffer fills, then set it as the next output buffer 2012-12-02T14:30:51 < dongs> zyp, thats what doublebuffer mode does, automatically 2012-12-02T14:30:56 < mervaka> or is that done when i read/write to DMA? 2012-12-02T14:30:57 < dongs> you give it both buffer addresses and it auto-swaps 2012-12-02T14:31:06 < zyp> dongs, well, duh 2012-12-02T14:31:22 < dongs> well, they way youre saying is like he has to manually swap 2012-12-02T14:31:30 < zyp> dongs, the point is that even in double buffer mode you can swap the inactive buffer 2012-12-02T14:31:57 < dongs> i guess, but less copying shit around if you just operate ON the buffer 2012-12-02T14:32:47 < mervaka> would you guys recommend using the peripheral library, or is that a massive waste of my time? 2012-12-02T14:32:55 < mervaka> it looks pretty bulky 2012-12-02T14:32:57 < dongs> it is awesome. 2012-12-02T14:32:58 < zyp> depends on who you ask 2012-12-02T14:33:04 < zyp> dongs like it, I don't 2012-12-02T14:33:16 < dongs> massive waste of time would be manually poking magic numbers into registers 2012-12-02T14:33:44 < dongs> DICKS->CR1 = 0x27a69 << 2 | dongs; 2012-12-02T14:33:51 < dongs> with no comments around it. 2012-12-02T14:33:57 < dongs> so next guy looking at your shit gonna be like 'wat' 2012-12-02T14:34:24 < mervaka> true 2012-12-02T14:34:56 < mervaka> I guess for purposes of examination I need readable code. 2012-12-02T14:35:35 < zyp> but on the other hand, the registers are nicely documented in the reference manual, compared to a function call like set_dicks(BANANA, dongs) 2012-12-02T14:36:07 < mervaka> yeah 2012-12-02T14:36:21 < mervaka> i found an old F3 peripheral library manual 2012-12-02T14:36:32 < mervaka> but it doesn't all tally up to F4 2012-12-02T14:36:43 < karlp> old f3? 2012-12-02T14:36:44 < dongs> have you tried going to st.com 2012-12-02T14:36:46 < dongs> ... ? 2012-12-02T14:36:51 < mervaka> yeah 2012-12-02T14:36:55 < mervaka> i think 2012-12-02T14:36:56 < mervaka> haha 2012-12-02T14:37:11 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has joined ##stm32 2012-12-02T14:37:31 < zyp> I don't feel like digging around to find out what a library calls the enable bit for a certain feature when I can just look up which bit I need to set in the reference manual 2012-12-02T14:37:54 -!- emeb_mac [~ericb@ip72-201-79-123.ph.ph.cox.net] has quit [Client Quit] 2012-12-02T14:39:43 < dongs> one bit is ok, but shit like gpio config etc 2012-12-02T14:40:08 < zyp> what about gpio config? 2012-12-02T14:40:16 < zyp> I have gpio fully abstracted 2012-12-02T14:40:43 < dongs> heh 2012-12-02T14:40:59 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-02T14:41:20 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2012-12-02T14:41:21 < zyp> you can't come here, read one of my code snippet, and then claim you don't understand how the gpios get configured? 2012-12-02T14:42:08 -!- baird [~cjb@121.44.140.86] has joined ##stm32 2012-12-02T14:47:38 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T14:48:41 < dongs> hm gpio looks cleaner than stdlib :) 2012-12-02T14:49:27 < dongs> how come you dont have set_type and shit made for f1 2012-12-02T14:51:08 < zyp> F1 maps options to registers in a different way 2012-12-02T14:51:52 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-02T14:52:05 < zyp> I'm going to replace all the different set_-functions with a configure() that takes all kinds of options and puts them in the right registers automatically 2012-12-02T14:53:22 < mervaka> right, uh 2012-12-02T14:53:28 < mervaka> how do i debug DMA? :s 2012-12-02T14:54:15 < dongs> with a debugger. 2012-12-02T14:55:03 < zyp> and maybe a logic analyzer 2012-12-02T14:55:31 < mervaka> well i have a scope. would i have to look at the i2s output? 2012-12-02T14:55:40 < dongs> clock I guess? 2012-12-02T14:55:42 < dongs> and bits.. 2012-12-02T14:56:03 < dongs> its pretty easy to debug and step through and see if dma is turning on or not... 2012-12-02T14:56:10 < zyp> or just hook up the audio and see if it sounds horrible :) 2012-12-02T14:56:10 < dongs> well, at least for me it is. 2012-12-02T14:56:17 < mervaka> heh 2012-12-02T14:56:19 < dongs> i can just bring up the i2S peripheral info window in debugger, as well as DMA stuff... 2012-12-02T14:56:26 < dongs> can see which chanenl is on , what registers are waht etc. 2012-12-02T14:56:28 < mervaka> audio isn't a possibility yet. board is still being built. 2012-12-02T14:56:36 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-02T14:57:14 < mervaka> that's true. i just wasn't sure whether most of it would just be meaningless as i stepped through 2012-12-02T14:57:28 < dongs> before it fires off it will be meaningful. 2012-12-02T14:57:56 < dongs> you can setup scope/logic analyzer trigger for the other stuff. 2012-12-02T14:58:30 < zyp> it's a bit meaningless to debug flow that way 2012-12-02T14:59:34 < zyp> when I'm debugging stuff that needs to respond, I tend to just log stuff and review it afterwards 2012-12-02T15:00:10 < zyp> like usb, device needs to respond before host hits a timeout and gets angry :p 2012-12-02T15:01:30 < dongs> angry hosts 2012-12-02T15:02:04 < zyp> yeah, it gets all «hey, what the fuck are you doing? answer me!» 2012-12-02T15:02:17 < zyp> «no? well, fuck you then! *bus reset*» 2012-12-02T15:05:02 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T15:06:13 < mervaka> is it a bad idea to use a multidimensional array to index all my buffers? 2012-12-02T15:06:43 < mervaka> ie, Buffer[peripheral][buffernumber][buffersize] 2012-12-02T15:07:20 < mervaka> or should i create separate variables for the buffers 2012-12-02T15:07:32 < zyp> why would it be a bad idea? 2012-12-02T15:07:52 < mervaka> i dont think it is, but i'm not sure how inefficiently it would compile 2012-12-02T15:08:05 < zyp> heh 2012-12-02T15:08:42 < zyp> a multidimentional array is just a huge array sliced into sections with indexing calculated by the compiler for you 2012-12-02T15:08:43 < mervaka> ie, would it have to look up the indexes each time? 2012-12-02T15:09:01 < zyp> no, it's not like pointers to pointers 2012-12-02T15:09:20 < mervaka> ah ok cool 2012-12-02T15:27:16 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-02T15:28:05 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T15:30:43 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-02T15:30:43 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-02T15:30:43 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-02T15:30:45 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-02T15:31:33 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Client Quit] 2012-12-02T15:33:19 -!- alexn [~alexn@dslb-094-216-054-038.pools.arcor-ip.net] has joined ##stm32 2012-12-02T15:36:37 <+Steffanx> Hey ds2 i know it's early, but it's time to wake up 2012-12-02T15:37:09 <+Steffanx> You said you went to a talk about that nrf51.. they said anything about when it'll be available? 2012-12-02T15:37:10 * jpa- wakes up 2012-12-02T15:39:21 <+Steffanx> Good afternoon sir jpa- 2012-12-02T15:44:40 <+Steffanx> Hmm why they call the errata "Product Anomaly Notification" ?! 2012-12-02T15:46:14 < jpa-> because it's not like they made errors 2012-12-02T15:47:02 < jpa-> it should be called "Funny Behaviour Guid" 2012-12-02T15:47:05 < jpa-> *Guide 2012-12-02T15:48:01 <+Steffanx> No, it looks more like a "We fucked it up" document 2012-12-02T15:48:04 <+Steffanx> "Reading the STATE register in the RADIO always returns 0." 2012-12-02T15:48:31 -!- Laurenceb_ [~Laurence@host86-178-5-134.range86-178.btcentralplus.com] has joined ##stm32 2012-12-02T15:48:58 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-02T16:02:59 < zyp> :p 2012-12-02T16:03:27 < zyp> I read through the nrf51 RM once 2012-12-02T16:04:18 <+Steffanx> ... 2012-12-02T16:04:43 < dongs> narf 2012-12-02T16:05:32 < mervaka> when i'm using double buffering, I guess i want to handle the transfer complete interrupt? 2012-12-02T16:05:53 < mervaka> not a lot of point in handling a half complete one is there? 2012-12-02T16:09:01 < jpa-> there is 2012-12-02T16:09:16 < jpa-> atleast if you are using the circular mode to implement double buffering 2012-12-02T16:09:32 < mervaka> really? 2012-12-02T16:09:36 < jpa-> then you get HTIF when buffer 1 is full, and TCIF when buffer 2 is full 2012-12-02T16:09:44 < mervaka> oh i see 2012-12-02T16:10:06 < mervaka> i thought TC would come up for both 2012-12-02T16:10:13 < mervaka> maybe i need to RTFM 2012-12-02T16:11:14 < jpa-> double-buffering is just a fancy name for CIRC + HTIF 2012-12-02T16:11:55 < mervaka> yeah 2012-12-02T16:12:05 < mervaka> but don't i need to allocate two buffers? :p 2012-12-02T16:12:23 < jpa-> just one double-sized one :) 2012-12-02T16:12:38 < jpa-> (i don't think it is possible to use two separate buffers) 2012-12-02T16:12:57 < mervaka> i have two memory address pointers to write to 2012-12-02T16:13:11 -!- Claude is now known as claude 2012-12-02T16:13:14 < jpa-> huh, you do? which processor is this? 2012-12-02T16:13:34 < mervaka> STM32F4 2012-12-02T16:14:01 < jpa-> let's see.. most of my dma stuff has been with F1 2012-12-02T16:14:10 < mervaka> or am i supposed to use two pointers within the same buffer? 2012-12-02T16:14:22 < mervaka> and offset them by half the buffer size 2012-12-02T16:14:57 < jpa-> ok, looks like it is different than what i was talking about 2012-12-02T16:15:38 < jpa-> probably just TCIF + two pointers for STM32F4, just like you were thinking 2012-12-02T16:15:47 < jpa-> sorry for the confusion :P 2012-12-02T16:16:00 < mervaka> aha :p 2012-12-02T16:16:22 < mervaka> i was thinking otherwise of using HT with single circ 2012-12-02T16:16:30 < mervaka> but then that's just the idea of single buffering 2012-12-02T16:17:10 < jpa-> well single-buffering with HTIF or double-buffering with TCIF, there is not much difference if you are not going to change the memory pointers on the fly 2012-12-02T16:17:58 < mervaka> well the guys were saying earlier it helps keep things in sync 2012-12-02T16:18:18 < jpa-> in sync how? 2012-12-02T16:18:22 < mervaka> which is desireable, as i'm writing to I2S 2012-12-02T16:18:50 < mervaka> as in, one pointer can never overtake the other 2012-12-02T16:18:58 < mervaka> at least not for long 2012-12-02T16:18:59 < mervaka> :p 2012-12-02T16:20:53 < jpa-> huh? 2012-12-02T16:20:59 < mervaka> as in 2012-12-02T16:21:07 < mervaka> oh i dont know 2012-12-02T16:21:11 < mervaka> :P 2012-12-02T16:21:52 < jpa-> i have been doing quite much realtime streaming using the circular mode on F1.. never saw the need for separate buffers 2012-12-02T16:22:20 < mervaka> ok 2012-12-02T16:22:37 < mervaka> my project has parallel data streams 2012-12-02T16:22:45 < mervaka> ideally i'd like to keep them in sync 2012-12-02T16:23:36 < jpa-> if you trigger the DMA from the same source (or otherwise at same rate), they should stay in sync 2012-12-02T16:23:50 < mervaka> ok 2012-12-02T16:24:29 < mervaka> i guess there's just two ways of doing the same thing here? 2012-12-02T16:25:05 < mervaka> either through single buffers every half or two buffers every full 2012-12-02T16:25:30 < mervaka> though as you say double buffering has advantages 2012-12-02T16:26:24 < jpa-> i think double buffering has probably been introduced so that one can switch the memory pointer on the fly.. for example if there was a queue of memory blocks you want to send 2012-12-02T16:26:39 < mervaka> yeah 2012-12-02T16:26:55 < mervaka> i'll just have a static signal path 2012-12-02T16:27:07 < mervaka> adc to some dsp to dac 2012-12-02T16:27:51 < mervaka> only catch is that there's multiple peripherals i need to keep in sync, and i'll be making outputs as summation of inputs 2012-12-02T16:27:54 < mervaka> audio mixer :) 2012-12-02T16:33:29 -!- fergusnoble_ [~fnoble@27.3.151.87] has joined ##stm32 2012-12-02T16:51:01 -!- baird [~cjb@121.44.140.86] has quit [Quit: Konversation terminated!] 2012-12-02T16:55:30 < dongs> found Laurenceb_ scambiz http://www.sky-probe.com/products.html 2012-12-02T16:57:15 <+Steffanx> scam .. 2012-12-02T17:25:24 < dongs> utterly ghetto 2012-12-02T17:25:27 < dongs> who the fuck filmed that shit 2012-12-02T17:25:30 < dongs> looks terrible 2012-12-02T17:25:41 <+Steffanx> it was you dongs, it was you 2012-12-02T17:26:47 < dongs> is that your ejwtube account 2012-12-02T17:26:59 < dongs> if so, >aspie< sounds about right in your username 2012-12-02T17:28:38 <+Steffanx> I always wonder if dongs is really like this or if it's just I'm safe behind my computer so i can say/do what i want 2012-12-02T17:29:05 < dongs> what 2012-12-02T17:29:34 <+Steffanx> I wonder if this is your second life 2012-12-02T17:29:44 -!- claude is now known as Claude 2012-12-02T17:29:48 <+Steffanx> (you probably understand that better :P ) 2012-12-02T17:30:03 < gxti> hard to call 2012-12-02T17:35:52 < mervaka> hmm 2012-12-02T17:36:39 < mervaka> how does the DMA controller and peripheral know how often to make transfers? 2012-12-02T17:37:32 < jpa-> each DMA stream has associated DMA request signal 2012-12-02T17:37:44 < jpa-> the request can come from the peripheral, or from e.g. a timer 2012-12-02T17:37:50 < mervaka> oh ok, so the peripheral requests it 2012-12-02T17:39:15 < mervaka> is that something I set up myself i take it ? 2012-12-02T17:40:13 < gxti> mervaka: depends on the peripheral 2012-12-02T17:40:18 < mervaka> oh hang on, this is what the channel mux is for? 2012-12-02T17:41:48 < mervaka> trying to figure out why my IRQ isn't being handled.. 2012-12-02T17:43:35 < dongs> did you enable it in nvic? 2012-12-02T17:43:42 < dongs> did you enable _IT flag in the DMA controller? 2012-12-02T17:43:43 < dongs> etc. 2012-12-02T17:44:48 < mervaka> yes, and yes 2012-12-02T17:45:11 < jpa-> mervaka: check if the DMA CNDTR is changing; that tells you if the DMA is getting triggered or not 2012-12-02T17:45:21 < mervaka> ok 2012-12-02T17:48:54 < mervaka> no :( 2012-12-02T17:49:04 < mervaka> sits at 0x0040 2012-12-02T17:49:33 < mervaka> which is the full size 2012-12-02T17:49:54 < mervaka> by the way 2012-12-02T17:49:57 < mervaka> i'm using the FIFO. 2012-12-02T17:50:06 < mervaka> i'm writing in half words to the peripheral 2012-12-02T17:50:23 < mervaka> is that 64 full words? 2012-12-02T17:50:41 < mervaka> then the fifo makes 128 writes etc 2012-12-02T17:50:57 < gxti> you still haven't said what the peripheral is 2012-12-02T17:51:03 < mervaka> SPI2 2012-12-02T17:51:06 < mervaka> sorry 2012-12-02T17:51:10 < mervaka> in I2S mode 2012-12-02T17:51:39 < jpa-> mervaka: it depends on what your memory item size is in the DMA config; you probably want to have 16 bit for both memory and peripheral 2012-12-02T17:51:48 < jpa-> and then just use uint16_t array in C 2012-12-02T17:51:55 < mervaka> really? 2012-12-02T17:52:04 < jpa-> why not? 2012-12-02T17:52:15 < mervaka> my data is 24 bit, padded to 32 2012-12-02T17:52:47 < jpa-> ok, well it doesn't know if your C array is really uint32_t :) 2012-12-02T17:52:51 < jpa-> just mind your endianess 2012-12-02T17:52:57 < mervaka> that's true 2012-12-02T17:53:14 < zyp> SPI_DR is only 16 bits wide 2012-12-02T17:53:28 < mervaka> yeah 2012-12-02T17:53:29 < zyp> so you still have to have DMA write 16 bits at a time 2012-12-02T17:53:38 < mervaka> that's why i'm doing half word writes 2012-12-02T17:53:59 < jpa-> if you have memory size = 32 bits, it will just drop off the high word IIRC 2012-12-02T17:54:07 < zyp> yep 2012-12-02T17:55:09 < mervaka> but isnt the fifo supposed to do that work for me? 2012-12-02T17:55:16 < zyp> what fifo? 2012-12-02T17:55:25 < mervaka> in the DMA controller 2012-12-02T17:55:28 < jpa-> the F4 DMA fifo 2012-12-02T17:55:41 < mervaka> ie 2012-12-02T17:55:57 < mervaka> one sample is lets say 32 bits wide 2012-12-02T17:56:04 < mervaka> i make my buffer 32 bits wide 2012-12-02T17:56:21 < mervaka> so int32_t 2012-12-02T17:56:42 < zyp> sure, what you configure it to in C is irrelevant for the DMA controller 2012-12-02T17:56:57 < mervaka> then the DMA reads full words and the FIFO reads it in half words 2012-12-02T17:57:02 < zyp> but you still have to configure both PSIZE and MSIZE to 16 bits in the dma controller 2012-12-02T17:57:46 < mervaka> which i think i'm doing 2012-12-02T17:57:59 < mervaka> so PSIZE is 01 2012-12-02T17:58:01 < zyp> what's the problem? 2012-12-02T17:58:06 < mervaka> and MSIZE is 10 2012-12-02T17:58:26 < mervaka> i'm not getting any IRQ triggers 2012-12-02T17:58:28 < zyp> 01 is 16-bit, 10 is 30-bit 2012-12-02T17:58:33 < jpa-> apparently F4 DMA is again different than F1 in this respect 2012-12-02T17:58:40 < jpa-> so MSIZE = 32, PSIZE = 16 might work 2012-12-02T17:58:41 < zyp> also, that's irrelevant for your problem 2012-12-02T17:59:03 < jpa-> but yeah, irrelevant for the immediate problem 2012-12-02T17:59:42 -!- fergusnoble_ [~fnoble@27.3.151.87] has quit [Quit: fergusnoble_] 2012-12-02T18:00:20 < zyp> if you are not getting dma requests, you need to check this: did you enable the dma channel? did you select the correct channel for the peripheral? did you select the correct stream for the peripheral? did you enable dma request generation in the peripheral? 2012-12-02T18:01:34 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-02T18:01:37 < mervaka> stream 4, channel 0 2012-12-02T18:01:45 < mervaka> which is SPI2_TX 2012-12-02T18:02:59 < mervaka> S4CR has flags TCIE and HTIE and EN high 2012-12-02T18:03:45 < zyp> what about SPI2_CR2? do you set TXDMAEN? 2012-12-02T18:04:22 < mervaka> oh crap 2012-12-02T18:04:23 < mervaka> haha 2012-12-02T18:04:26 < mervaka> that'll be it 2012-12-02T18:13:02 < dongs> heh 2012-12-02T18:13:17 < mervaka> yes 2012-12-02T18:13:26 < mervaka> my scope suddenly lit up with very stable signals :D 2012-12-02T18:14:22 < mervaka> thanks guys 2012-12-02T18:14:31 < mervaka> i'll see where i can take it from here 2012-12-02T18:14:38 < mervaka> really need to get my hardware finished :/ 2012-12-02T18:52:56 < dongs> https://youtube.com/watch?v=RT-1DU33xIk da fuq 2012-12-02T18:59:29 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Remote host closed the connection] 2012-12-02T19:03:56 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-02T19:19:50 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has joined ##stm32 2012-12-02T19:19:51 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has quit [Changing host] 2012-12-02T19:19:51 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-02T19:19:58 < mervaka> nice 2012-12-02T19:20:24 < mervaka> i can see that MCK and SCK are continuous instead of stoppey-startey like they were in straight interrupt driven mode 2012-12-02T19:20:48 < mervaka> and I can see SD counting up :D 2012-12-02T19:22:53 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 256 seconds] 2012-12-02T19:32:36 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-02T19:39:57 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-02T19:59:27 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: Connection reset by peer] 2012-12-02T19:59:55 -!- Thorn [~Thorn@2.94.121.78] has joined ##stm32 2012-12-02T19:59:55 -!- Thorn [~Thorn@2.94.121.78] has quit [Changing host] 2012-12-02T19:59:55 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-02T20:14:11 -!- Erlkoenig [~erlkoenig@pptp-212-201-74-100.pptp.stw-bonn.de] has joined ##stm32 2012-12-02T20:22:33 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-02T20:37:49 -!- Claude is now known as claude 2012-12-02T21:37:24 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 264 seconds] 2012-12-02T21:40:13 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-02T21:45:11 < ds2> 7 2012-12-02T21:46:55 <+Steffanx> 6 2012-12-02T21:48:07 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 265 seconds] 2012-12-02T21:59:34 < ds2> Hmmm 2012-12-02T21:59:47 < ds2> the FSMC is clocked by the high speed xtal, isn't it? 2012-12-02T22:00:00 < jpa-> HCLK 2012-12-02T22:00:12 < ds2> where is HCLK from? 2012-12-02T22:00:27 < jpa-> where ever the core clock comes from 2012-12-02T22:00:30 < ds2> (still slowly digesting the stm32 cloking) 2012-12-02T22:00:33 < ds2> Ah 2012-12-02T22:00:42 < ds2> so I am probally overclocking my memory 2012-12-02T22:00:56 < jpa-> synchronous or asynchronous memory? 2012-12-02T22:01:03 < ds2> PSRAM, async 2012-12-02T22:01:17 < jpa-> for async, just adjust the wait states (DATAST, ADDST etc.) 2012-12-02T22:01:40 < ds2> *nod* I am trying to use some sample binary 2012-12-02T22:01:54 < mervaka> how long have you guys been using these architectures for? you seem to know everything inside and out :P 2012-12-02T22:01:56 < ds2> time to get cracking with some coding 2012-12-02T22:02:30 < jpa-> mervaka: 2 years 2012-12-02T22:02:36 < mervaka> :p 2012-12-02T22:03:00 < mervaka> i'm hurriedly learning it from scratch for my individual project 2012-12-02T22:03:00 < ds2> anyone here use the gcc toolchain? 2012-12-02T22:03:09 < mervaka> MDK here 2012-12-02T22:03:36 < mervaka> though I'd like to learn gcc once uni pressures are off 2012-12-02T22:03:39 < ds2> trying to figure out how much hw setup does the crt0 do in the toolchain (vs what I have to do in main) 2012-12-02T22:05:03 < cdh> ds2: I use gcc, but don't use crt0 at all.My reset handler just copies the .data section and zeros the bss section, then calls main() 2012-12-02T22:05:31 < ds2> cdh: reset handler? 2012-12-02T22:06:18 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-02T22:06:37 < cdh> ds2: You are are talking stm32, right? You need to have a vector of exception handlers at 0. 2012-12-02T22:06:43 < TitanMKD> hi 2012-12-02T22:07:01 < mervaka> sup 2012-12-02T22:07:01 < ds2> yes, stm32 2012-12-02T22:07:02 < jpa-> ds2: crt0 usually doesn't do any HW init 2012-12-02T22:07:26 < ds2> ah okay 2012-12-02T22:07:43 < jpa-> and yeah, most people seem to use their own reset handlers (or the ones that come with chibios etc.) 2012-12-02T22:07:55 < ds2> but it will do enough so I can start writing to registers in main()? or do I need to throw in a .S file to setup things for main? 2012-12-02T22:08:13 < ds2> stacks, etc 2012-12-02T22:08:34 < jpa-> stack pointer is setup already from the vector table 2012-12-02T22:08:53 -!- ja2 [~marcus@81.227.198.108] has quit [Ping timeout: 245 seconds] 2012-12-02T22:08:54 < jpa-> crt0 basically initializes global variables and does nothing else 2012-12-02T22:09:11 < ds2> Ohh so if I assume all statics/globals are corrupt, I don't need to do anything? 2012-12-02T22:09:34 < ds2> the crt0 I ahve used on other arch has to setup stack and write to time critical registers (i.e. write within first 64 cycles and they become readonly) 2012-12-02T22:09:38 < jpa-> you don't really need any assembler code even for a reset handler 2012-12-02T22:09:59 < jpa-> ds2: ah, i don't think STM32 has any such registers 2012-12-02T22:10:26 < cdh> ds2: I agree with jpa - no HW init is needed. 2012-12-02T22:10:33 < ds2> 'k 2012-12-02T22:11:16 < ds2> any chance there is a ready to go gcc template for say... hello world or flip a gpio? (ready to go - .c file, linker script, and Makefile) 2012-12-02T22:11:22 < jpa-> many 2012-12-02T22:11:30 < jpa-> but what is good, difficult to tell :) 2012-12-02T22:11:42 < jpa-> libopencm3 has some 2012-12-02T22:11:49 < ds2> hmmm i must not be looking at the right places... I see IAR stuff, I see eclipse stuff.... 2012-12-02T22:11:52 < ds2> okay 2012-12-02T22:12:37 < jpa-> but that's for libopencm3 anyway, if you rather want to use the stdperiph or stm32fxxx.h, better look at something else 2012-12-02T22:13:18 < jpa-> http://stm32.izua.ro/wiki/Beginner_FAQ#How_to_get_started.3F lists some, i started with http://gostm32.blogspot.fi/2010/09/blinky-ii.html 2012-12-02T22:14:00 < zyp> I also looked at that one when I started out 2012-12-02T22:15:03 < ds2> interesting... searches didn't turn up stuff like that 2012-12-02T22:15:10 < ds2> <-- has a strong dislike for gui's 2012-12-02T22:15:25 < ds2> reading it. thanks, jpa- 2012-12-02T22:17:55 < ds2> hmm no license on blinky 2012-12-02T22:18:36 < jpa-> it's very basic, it's not like you would keep any significant amount of code from it 2012-12-02T22:18:43 < zyp> :p 2012-12-02T22:18:56 < ds2> wasn't there a tempest about the ST linker scripts at one point? 2012-12-02T22:18:58 < mervaka> zomg lawsuit 2012-12-02T22:19:02 < ds2> how it can only be used with their tools 2012-12-02T22:19:51 < jpa-> ds2: not about linker scripts but about stm32fxxx.h, they can only be used with their processors 2012-12-02T22:19:54 < gxti> chibios startup code is good 2012-12-02T22:19:59 < jpa-> ergo, GPL-incompatible 2012-12-02T22:20:03 < jpa-> no-one seems to care 2012-12-02T22:20:14 < gxti> no assembler required 2012-12-02T22:20:41 < gxti> and stdperiph comes with startup for a few different toolchains, the one they call 'ride' is gcc-based 2012-12-02T22:22:39 < ds2> ah 2012-12-02T22:23:02 < ds2> what does GPL mean for embedded anyways 2012-12-02T22:23:24 < ds2> esp for v2 2012-12-02T22:23:41 < jpa-> v2: give source v3: give source and means to install 2012-12-02T22:24:17 < zyp> well, if you ship a device flashed with some software, you are pretty much shipping that software 2012-12-02T22:25:13 < ds2> yes but where do you draw the line on the gpl infection 2012-12-02T22:25:41 < ds2> the fact that a device is flashed with it at ship time... does that mean we have illegally turned ST ROM into a GPL'ed code? 2012-12-02T22:26:06 < ds2> it isn't the provide source part but rather the other aspects like what does it infect 2012-12-02T22:26:07 < gxti> ROM? 2012-12-02T22:26:17 < ds2> there is a bootloader on there 2012-12-02T22:26:31 < jpa-> ds2: the bootloader doesn't quite link into the GPL'd code 2012-12-02T22:26:33 < gxti> yeah i seriously doubt anyone would consider that relevant 2012-12-02T22:27:01 < gxti> its only relationship to the user code is a single jump instruction 2012-12-02T22:27:27 < jpa-> and the jump instruction is dynamic anyway, the PC gives the address to jump to :P 2012-12-02T22:27:52 < ds2> there been some arguments that packaging it tightly together can infect 2012-12-02T22:28:07 < gxti> on the other hand, any and all libraries you use in your code are probably statically linked, and while there's some fuziness to whether dynamic linking is infectious, it's much less fuzzy for static linking 2012-12-02T22:28:12 < gxti> especially when you're compiling it yourself 2012-12-02T22:28:25 < ds2> anyways... thanks for the pointer to blinky. it is exactly what I was looking for. need to get food. 2012-12-02T22:28:53 < ds2> gxti: yes... and dynamic linking on an embedded device..esp. one that doesn't necessarily have a filesytem.... 2012-12-02T22:30:51 < jpa-> IMO most difficult thing is figuring out what GPL means for well-defined kernel interfaces on embedded devices 2012-12-02T22:31:39 < jpa-> because e.g. on linux, calling the kernel doesn't infect GPL on your code; but on embedded, they are in same memory space and same flash 2012-12-02T22:36:09 < prog> GPL is a cancer 2012-12-02T22:36:33 < jpa-> depends on which side you are on 2012-12-02T22:36:47 < jpa-> it's a means to an end 2012-12-02T22:37:19 < prog> sure. if you're infected you know you're already dead so you don't care... if you're not yet infected... well it depends 2012-12-02T22:37:32 < prog> it's like having sex with someone you know she has aids 2012-12-02T22:37:52 < prog> you must be a inconscient 2012-12-02T22:38:35 < jpa-> gpl kills now? 2012-12-02T22:38:47 < gxti> it is literally AIDS 2012-12-02T22:38:51 < gxti> also hitler 2012-12-02T22:38:55 < gxti> (no) 2012-12-02T22:39:12 < Bird|lappy> GPL is good for figuring out just how flexible (or not) someone's license-compliance processes and systems actually are 2012-12-02T22:40:31 < Bird|lappy> if you are doing license compliance properly (and have a development workflow that isn't made of pure WTF), the GPL is no harder to handle than any proprietary license, and probably somewhat easier 2012-12-02T22:42:45 < prog> yep. especially for the military ;) 2012-12-02T22:46:14 < jpa-> if you are working for military on a $1 million budget and buying propietary libraries, it is doubtful you would even look at the GPL alternatives 2012-12-02T22:46:44 < prog> absolutely. the military is an "extreme" example. 2012-12-02T22:47:16 < prog> between the GPL and the militaru there's a whole gradient of businesses that spend millions in R&D and don't want the concurrents to just copy the fruits of their efforts 2012-12-02T22:49:02 < jpa-> sure, and consequently they should not use GPL stuff 2012-12-02T22:49:11 < prog> +1 2012-12-02T22:49:35 < jpa-> there are also a lot of companies that don't want to pay royalties, and therefore they should not use per-unit licensed propietary libraries 2012-12-02T22:50:19 < Bird|lappy> prog, OTOH, not all military apps are uber-sensitive either 2012-12-02T22:50:38 < prog> sure. 2012-12-02T22:50:54 < Bird|lappy> so it really depends on the application at hand :) 2012-12-02T22:50:56 < jpa-> and for military apps, distributing the source to the buyers of the stealth fighter might not actually be that bad 2012-12-02T22:51:07 < prog> we're in a channel for the embedded stuff based on STM32 2012-12-02T22:51:17 < jpa-> so? 2012-12-02T22:51:39 < Bird|lappy> jpa-, you have a point there. even for heavy commercial stuff, customers still may want the source code 2012-12-02T22:51:57 < prog> if ever the military choose to develop something for the STM32, I have serious doubts it won't be something critical 2012-12-02T22:52:19 < ds2> the stm32 is officially a french product, isn't it? 2012-12-02T22:52:20 < jpa-> prog: why? 2012-12-02T22:52:49 < Bird|lappy> and in any case, putting the startup code under a MIT license (for instance) can be done to accommodate all sides 2012-12-02T22:53:49 < prog> jpa-: the STM32 is clearly crafted for real-time very specialized embedded stuff.. 2012-12-02T22:54:19 < gxti> what 2012-12-02T22:54:38 < prog> am I in the wrong channel? 2012-12-02T22:54:39 < jpa-> prog: hah, or it can control a toaster or a led blinker 2012-12-02T22:54:56 < prog> a $5000 toaster :-) 2012-12-02T22:54:57 < prog> why not 2012-12-02T22:55:03 < jpa-> a $50 toaster 2012-12-02T22:55:08 < gxti> the cheapest ones cost $3 or less 2012-12-02T22:55:12 < prog> again why not 2012-12-02T22:55:23 < gxti> prog: you said 'very specialized' 2012-12-02T22:55:30 < gxti> prog: i see nothing very specialized about STM32 2012-12-02T22:55:44 < Bird|lappy> hehe, maybe its the coffeemaker controller on a military transport aircraft that's in passenger service? 2012-12-02T22:55:47 < gxti> it is a wide array of 32-bit microcontrollers, some of which have particular features 2012-12-02T22:55:49 < prog> not the STM32, the final gadget you'll build around it 2012-12-02T22:56:03 < Bird|lappy> (shlepping GIs and such not :) 2012-12-02T22:56:03 < jpa-> prog: very specialized doesn't mean very sensitive 2012-12-02T22:56:09 < prog> true. 2012-12-02T22:56:15 < jpa-> a led blinker is very specialized.. at blinking leds 2012-12-02T22:56:25 < Bird|lappy> jpa-, exactly. see the example of the coffeemaker controller 2012-12-02T22:56:43 < prog> again, I took two extremes to demonstrate the existence of a whole gradient of sensitiveness and specialization 2012-12-02T22:56:49 < Bird|lappy> exactly. 2012-12-02T22:56:50 < prog> you pick what you want from it 2012-12-02T22:57:13 < gxti> this discussion is boring, i'm going back to designing stuff ;p 2012-12-02T22:57:15 < prog> I just don't recommend using GPL for serious stuff 2012-12-02T22:57:27 < jpa-> what is serious in your opinion? 2012-12-02T22:57:37 < jpa-> linux kernel is not serious? :) 2012-12-02T22:57:52 < prog> more in the rocket side of the gradient ;) 2012-12-02T22:58:04 < jpa-> gpl makes rockets fail? 2012-12-02T22:58:24 < prog> yeah! 2012-12-02T22:58:38 < jpa-> you have weird definitions for some words such as 'specialized' and 'serious' 2012-12-02T22:58:55 < gxti> he's french 2012-12-02T22:59:01 < gxti> he has a lot of weird definitions 2012-12-02T22:59:14 < jpa-> ah, he's one of those who thinks ducks say "coin" 2012-12-02T22:59:19 < jpa-> explains a lot 2012-12-02T22:59:22 < prog> apollo 13 failed because of GPL 2012-12-02T22:59:48 < prog> you're racist :( 2012-12-02T22:59:56 < jpa-> french are a race? 2012-12-02T23:00:02 < jpa-> explains even more 2012-12-02T23:00:26 < prog> you guys need a better subject to laugh in. 2012-12-02T23:01:03 < jpa-> i'm laughing in my home, but it is not the subject of my laughter 2012-12-02T23:01:14 < jpa-> ok enough is enough, sleep time :) 2012-12-02T23:02:54 -!- barthess [~barthess@77.67.236.90] has joined ##stm32 2012-12-02T23:18:09 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-02T23:28:27 -!- alexn [~alexn@dslb-094-216-054-038.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-02T23:57:50 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 --- Day changed Mon Dec 03 2012 2012-12-03T00:04:21 -!- barthess [~barthess@77.67.236.90] has quit [Quit: Leaving.] 2012-12-03T00:16:44 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-03T00:17:57 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-03T00:19:54 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2012-12-03T00:23:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-03T00:41:38 -!- BrainDamage [~BrainDama@78.12.229.175] has quit [Quit: Leaving.] 2012-12-03T00:43:16 -!- DaKu is now known as daku 2012-12-03T01:20:41 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-03T01:45:36 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-03T02:07:54 -!- Laurenceb_ [~Laurence@host86-178-5-134.range86-178.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2012-12-03T02:42:38 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-03T02:58:41 -!- Erlkoenig [~erlkoenig@pptp-212-201-74-100.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2012-12-03T03:20:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2012-12-03T03:24:53 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-03T03:25:14 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-03T03:26:04 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Client Quit] 2012-12-03T03:26:21 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-03T03:26:34 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-03T03:46:20 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-03T04:03:07 -!- ohama [ohama@92.240.248.100] has quit [Remote host closed the connection] 2012-12-03T04:15:30 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-229-175.clienti.tiscali.it] has joined ##stm32 2012-12-03T06:04:13 < dongs> laWL 2012-12-03T06:05:08 -!- NonaSuomy is now known as TeknoJuce 2012-12-03T06:05:25 < dongs> LATEST VCR PLAYER 2012-12-03T06:09:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2012-12-03T06:19:00 < rlc> How much you bought them? 2012-12-03T06:21:28 < dongs> that indian in square glasses is pretty cute 2012-12-03T06:22:07 < BrainDamage> attn dongs https://www.youtube.com/watch?v=5Rp4V3Sj5jE 2012-12-03T06:22:18 < dongs> BrainDamage: old 2012-12-03T06:22:21 < dongs> seen weeks ago 2012-12-03T06:22:32 < BrainDamage> sorry, was new to me :/ 2012-12-03T06:25:15 < dongs> https://youtube.com/watch?v=6BkVc8mVUmI#t=535s 2012-12-03T06:25:21 < dongs> WHAT I HAVE HERE IS ARDWINO RASPBERRY PI 2012-12-03T06:29:56 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-03T06:30:02 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-03T06:47:02 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-229-175.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-03T06:47:57 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-03T06:52:44 < upgrdman> dongs: lol. why... just why. 2012-12-03T06:53:16 < dongs> SO YOU COULD HOOKUP A GPS SHIELD!@!11 2012-12-03T06:53:24 < dongs> (i think he acutalyl said that) 2012-12-03T06:53:28 < upgrdman> !!!1!!!111!!!!11!!!!! 2012-12-03T07:02:47 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2012-12-03T07:06:30 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-03T07:06:30 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-03T07:06:30 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-03T07:06:54 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Client Quit] 2012-12-03T07:07:52 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-03T07:07:52 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-03T07:07:52 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-03T07:22:33 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-03T07:42:21 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-03T08:18:00 < baird> It's most definitely the year of the arduino raspberry pi desktop. 2012-12-03T08:18:04 < baird> !! 2012-12-03T08:21:31 < baird> I get the feeling the rest of this channel doesn't share my enthusiasm.. 2012-12-03T08:52:26 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-03T08:55:36 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-03T09:25:00 -!- alexn [~alexn@dslb-094-216-062-002.pools.arcor-ip.net] has joined ##stm32 2012-12-03T09:38:02 -!- ohama [~ohama@92.240.248.100] has joined ##stm32 2012-12-03T09:46:24 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 260 seconds] 2012-12-03T09:47:48 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2012-12-03T09:55:56 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-03T10:16:11 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-03T10:16:11 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-03T10:16:11 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-03T10:27:17 -!- Posterdati [~antani@host45-237-dynamic.6-87-r.retail.telecomitalia.it] has quit [Ping timeout: 256 seconds] 2012-12-03T10:40:28 -!- bcsllc-steve [~steve@ip68-105-49-117.no.no.cox.net] has quit [Read error: Connection reset by peer] 2012-12-03T10:40:50 -!- bcsllc-steve [~steve@ip68-105-49-117.no.no.cox.net] has joined ##stm32 2012-12-03T11:06:55 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-03T11:22:57 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-03T11:46:34 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-inxvlsmhgtzlorrg] has quit [Quit: leaving] 2012-12-03T11:46:49 -!- Laurenceb_ [~Laurence@86.178.5.134] has joined ##stm32 2012-12-03T11:47:21 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-fcnulioccbmogylj] has joined ##stm32 2012-12-03T11:48:51 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-fcnulioccbmogylj] has quit [Client Quit] 2012-12-03T11:49:40 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-aailkwnmzbdfaqrk] has joined ##stm32 2012-12-03T12:12:29 -!- Steffanx [~Steffanx@client-201-100.flexnet2.rug.nl] has joined ##stm32 2012-12-03T12:12:30 -!- Steffanx [~Steffanx@client-201-100.flexnet2.rug.nl] has quit [Changing host] 2012-12-03T12:12:30 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-03T12:12:34 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-03T12:14:43 -!- Laurenceb_ [~Laurence@86.178.5.134] has quit [Ping timeout: 245 seconds] 2012-12-03T12:22:38 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-03T12:24:15 < dongs> http://i.imgur.com/tY9dB.jpg 2012-12-03T12:24:17 < dongs> digikey delivers 2012-12-03T12:25:53 < zyp> ha 2012-12-03T12:26:06 < zyp> I bet you really needed that resistor 2012-12-03T12:26:40 < zyp> reminds me of the smps chips I got for my F4 board 2012-12-03T12:26:52 < zyp> arrived as a bag of individually bagged chips 2012-12-03T12:28:08 < dongs> murata smps shits look prety cool 2012-12-03T12:28:38 < dongs> it uses 0201 passives :/ 2012-12-03T12:30:03 < zyp> modules? 2012-12-03T12:30:21 < dongs> ya 2012-12-03T12:31:06 < dongs> http://i.imgur.com/nR8hK.jpg 2012-12-03T12:31:10 < dongs> 12Vin 3A 2012-12-03T12:32:18 < PaulFertser> Hi! I have a GPIO pin set to output 1 in push-pull mode and when i switch from sysclk source MSI to PLL i observe a glitch on the pin with a 'scope. Does anyone know why? 2012-12-03T12:32:32 < zyp> dongs, looks pretty nice 2012-12-03T12:33:03 < zyp> PaulFertser, which chip? MSI sounds like L1? 2012-12-03T12:33:24 <+Steffanx> vout = adjustable dongs ? 2012-12-03T12:33:43 < PaulFertser> zyp: yes, it is STM32L152 2012-12-03T12:34:27 < zyp> which board? who designed it? 2012-12-03T12:36:28 < dongs> Steffanx: yeah 2012-12-03T12:36:35 < dongs> 0.5 to ?? adjustable 2012-12-03T12:37:23 < PaulFertser> zyp: my coworker 2012-12-03T12:37:40 < zyp> PaulFertser, I suspect bad decoupling causing a drop in vcc due to the sudden load increase 2012-12-03T12:38:34 < zyp> try scoping the vcc input along with the output and see if it's consistent 2012-12-03T12:40:04 < PaulFertser> zyp: hm, that's a valid theory, thanks, will check. 2012-12-03T12:40:35 < PaulFertser> Though the PLL is already running, i observe the glitch only if i actually switch sysclk to it, but not if i do not. 2012-12-03T12:41:14 < zyp> well, the load increase would be due to the change in cpu frequency, not the pll itself 2012-12-03T12:51:22 < dongs> new crossworks 2.3.0 2012-12-03T12:51:24 < dongs> lets see whats new 2012-12-03T12:56:02 < PaulFertser> zyp: guess you're right, thanks a lot! 2012-12-03T12:56:20 -!- carp3 [~chatzilla@31.56.114.76] has joined ##stm32 2012-12-03T12:57:29 < carp3> Hi, for normal operation in STM32F407 i should tie BOOT0 and BOOT1 to Ground? ( to load internal flash memory program ) 2012-12-03T12:58:59 < dongs> check the boot modes appnote 2012-12-03T12:59:12 < dongs> AN2606 i think 2012-12-03T13:00:16 < carp3> i should use this mode ? X 0 User Flash memory ,User Flash memory is selected as the boot space 2012-12-03T13:01:09 < dongs> yes. 2012-12-03T13:01:41 < dongs> if you dont ever plan to use usart/usb bootloaders and always program by SWD or have your own bootloader, then you can just permanently tie it. 2012-12-03T13:01:48 < dongs> otherwise, make a jumper / pads or something 2012-12-03T13:03:15 < carp3> i actually made a mistake and tied them to VCC in my PCB. now i have to cut some traces . 2012-12-03T13:05:20 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has joined ##stm32 2012-12-03T13:13:36 < PaulFertser> zyp: it was a multi-meter measuring uA power consumption, meh. 2012-12-03T13:13:55 < karlp> PaulFertser: the meter was causing the glitch? 2012-12-03T13:14:06 < PaulFertser> karlp: yes, by increasing R of the voltage source. 2012-12-03T13:18:08 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-03T13:23:26 < Thorn> hello 2012-12-03T13:23:44 < zyp> PaulFertser, glad you figured it out 2012-12-03T13:23:45 < Thorn> what tools do you use to design front panels? 2012-12-03T13:24:04 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-12-03T13:24:41 < PaulFertser> zyp: it was you, big thanks! :) 2012-12-03T13:32:55 -!- moritz1 [~mmueller@cohen.emsp.tu-berlin.de] has joined ##stm32 2012-12-03T13:54:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-03T14:02:55 < dongs> http://bcas.tv/paste/results/pUmvje50.html 2012-12-03T14:02:57 < dongs> amazing code 2012-12-03T14:03:56 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2012-12-03T14:04:06 < Thorn> c++ has standard keywords true and false, doesn't it 2012-12-03T14:05:17 < zyp> yes 2012-12-03T14:10:59 < Thorn> you can't check for those with #ifdef (unless you do #ifdef __cplusplus) 2012-12-03T14:25:41 < zyp> also true 2012-12-03T14:31:09 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-03T14:36:46 < Thorn> there's a rumor that russia may abandon its WCIT proposals 2012-12-03T14:47:28 -!- PaulFertser [paul@paulfertser.info] has quit [Read error: Connection reset by peer] 2012-12-03T15:04:18 < Laurenceb> http://hackaday.com/2012/12/03/inventing-networking-protocols-for-dozens-of-arduinos/ 2012-12-03T15:13:47 < baird> gah, token-ring style. Better would be something like Nadanet like the Applecrate uses. Also, bootstrapping/programming? 2012-12-03T15:14:03 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-03T15:14:03 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-03T15:14:03 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-03T15:14:06 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-03T15:14:45 <+Steffanx> nu 2012-12-03T15:21:23 -!- carp3 [~chatzilla@31.56.114.76] has quit [Ping timeout: 245 seconds] 2012-12-03T15:29:16 < Laurenceb> http://www.theregister.co.uk/2012/12/03/parents_name_children_after_apple_products/ 2012-12-03T15:33:39 <+Steffanx> You always read news that actually isn't news? 2012-12-03T15:48:34 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-03T15:48:34 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-03T15:48:34 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-03T15:51:56 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-03T15:52:25 < Laurenceb> http://www.youtube.com/watch?v=YbAhPqsLHmo 2012-12-03T15:53:52 -!- dekar_ [~dekar@212.255.17.245] has quit [Quit: This computer has gone to sleep] 2012-12-03T15:54:54 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-229-175.clienti.tiscali.it] has joined ##stm32 2012-12-03T15:59:31 < baird> It's long be realised that you don't invite OpenBSD developers to Poker night. 2012-12-03T16:07:20 <+Steffanx> …. 2012-12-03T16:11:09 -!- carp3 [~chatzilla@31.56.72.54] has joined ##stm32 2012-12-03T16:11:15 -!- carp3 [~chatzilla@31.56.72.54] has quit [Client Quit] 2012-12-03T16:15:45 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 260 seconds] 2012-12-03T16:16:27 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-03T16:25:36 < zyp> I think ssds are pretty interesting already 2012-12-03T16:26:15 < baird> write speeds still suck. 2012-12-03T16:26:33 < karlp> who cares? 2012-12-03T16:26:42 < zyp> oh, yeah 2012-12-03T16:26:45 < karlp> read's more interesting for most people 2012-12-03T16:27:12 < zyp> my ssd only writes a few hundred megabytes per second, it's so awful! :( 2012-12-03T16:27:46 < baird> The write limit will still be there 10+ years from now. It'll hit performance of future machines just like magnetic media did. 2012-12-03T16:28:16 <+Steffanx> Yeah, it sucks ass zyp 2012-12-03T16:28:34 <+Steffanx> The speed of my SSD is limited by my SATA interface … slow SSD :( 2012-12-03T16:28:45 < zyp> the significant benefit of ssds are not the actual read/write speeds, it's the lack of any performance hit from seek times 2012-12-03T16:29:04 < baird> pretty-much why I got into them. 2012-12-03T16:29:39 < baird> "2009.. and still average seeks are 7 ms.." 2012-12-03T16:31:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-03T16:32:10 < jpa-> large write operations aren't that common, and short writes are easily handled by caches 2012-12-03T16:32:38 < jpa-> just need to have barrier support on all levels so that it doesn't need to wait for the write before going forwards with filesystem operations 2012-12-03T16:37:47 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-03T16:39:42 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-229-175.clienti.tiscali.it] has quit [Read error: No route to host] 2012-12-03T16:40:43 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 246 seconds] 2012-12-03T16:41:58 -!- BrainDamage [~BrainDama@78.12.229.175] has joined ##stm32 2012-12-03T17:25:49 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Quit: No Ping reply in 180 seconds.] 2012-12-03T17:26:18 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-03T17:32:46 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-03T17:35:16 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-03T17:49:29 -!- dekar [~dekar@studpool-wlan-74-153.fs.fbi.h-da.de] has joined ##stm32 2012-12-03T17:49:31 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-03T17:51:48 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 248 seconds] 2012-12-03T17:53:09 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-03T18:15:15 -!- barthess [~barthess@77.67.219.220] has joined ##stm32 2012-12-03T18:34:34 -!- dekar [~dekar@studpool-wlan-74-153.fs.fbi.h-da.de] has quit [Quit: This computer has gone to sleep] 2012-12-03T18:40:40 <+Steffanx> From who was that arm board you mentioned a few times zyp ? 2012-12-03T18:41:38 <+Steffanx> Hardkernel/odroid? It seems that have a new one 2012-12-03T18:44:55 < zyp> I know, we talked about it a few days ago 2012-12-03T18:49:17 -!- Reggie__ [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-03T18:50:58 -!- Netsplit *.net <-> *.split quits: ReggieUK 2012-12-03T18:54:00 -!- Reggie__ is now known as ReggieUK 2012-12-03T18:56:08 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Excess Flood] 2012-12-03T18:56:26 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-03T19:03:32 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-03T19:05:06 <+Steffanx> ok ok 2012-12-03T19:16:11 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-03T19:23:24 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2012-12-03T19:27:56 -!- moritz1 [~mmueller@cohen.emsp.tu-berlin.de] has quit [Ping timeout: 255 seconds] 2012-12-03T19:29:33 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-03T19:30:26 -!- prog [prog@bornbrilliant.org] has left ##stm32 [] 2012-12-03T19:46:41 -!- claude is now known as Claude 2012-12-03T19:59:36 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 264 seconds] 2012-12-03T20:00:43 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-03T20:06:08 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-03T20:37:40 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-03T21:10:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-03T21:10:46 < TitanMKD> hello 2012-12-03T21:16:59 -!- dekar [~dekar@drms-590ce00c.pool.mediaWays.net] has joined ##stm32 2012-12-03T21:17:02 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-03T21:26:04 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-12-03T21:33:04 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Quit: my exit] 2012-12-03T21:35:25 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-03T21:45:51 -!- daku is now known as DaKu 2012-12-03T21:54:14 -!- dekar [~dekar@drms-590ce00c.pool.mediaWays.net] has quit [Quit: This computer has gone to sleep] 2012-12-03T22:11:25 -!- Laurenceb_ [~Laurence@86.135.135.60] has joined ##stm32 2012-12-03T22:12:51 -!- Claude is now known as claude 2012-12-03T22:41:04 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 260 seconds] 2012-12-03T22:47:23 -!- barthess [~barthess@77.67.219.220] has quit [Quit: Leaving.] 2012-12-03T22:50:29 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-03T23:06:20 -!- alexn [~alexn@dslb-094-216-062-002.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-03T23:10:55 < Laurenceb_> http://www.hardkernel.com/renewal_2011/products/prdt_info.php?g_code=G135341370451&tab_idx=2 2012-12-03T23:11:06 < Laurenceb_> looks nice.. pity about the massive header 2012-12-03T23:16:29 <+Steffanx> header? 2012-12-03T23:18:42 < Laurenceb_> the ethernet /2xusb connector 2012-12-03T23:18:45 < Laurenceb_> massively high 2012-12-03T23:20:19 <+Steffanx> Like that had a choice .. 2012-12-03T23:24:40 -!- DaKu is now known as daku 2012-12-03T23:25:23 -!- daku is now known as DaKu 2012-12-03T23:26:54 -!- DaKu is now known as daku 2012-12-03T23:27:02 <+Steffanx> So how would you've solved it Laurenceb_? 2012-12-03T23:27:04 <+Steffanx> Larger board? 2012-12-03T23:27:10 <+Steffanx> no connectors at all? 2012-12-03T23:27:16 -!- daku is now known as DaKu 2012-12-03T23:27:58 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has quit [Ping timeout: 245 seconds] 2012-12-03T23:41:00 < Laurenceb_> heh fair enough 2012-12-03T23:41:14 * Laurenceb_ is trying to work out how to use usb wifi dongles with stm32 2012-12-03T23:41:18 < Laurenceb_> if its even possible 2012-12-03T23:41:29 < Laurenceb_> a lot of the linux drivers seem to be binaries 2012-12-03T23:43:34 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-03T23:46:04 < zyp> grab some that are supported by openbsd 2012-12-03T23:46:16 < zyp> I believe openbsd have a strict «no binary blobs» policy 2012-12-03T23:47:12 < Laurenceb_> ok 2012-12-03T23:47:23 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-03T23:47:24 -!- BrainDamage [~BrainDama@78.12.229.175] has quit [Disconnected by services] 2012-12-03T23:49:25 < karlp> cdh: have you got any other rtc code? 2012-12-03T23:49:30 < karlp> I'm still stuck here: https://github.com/karlp/libopencm3/blob/l1/examples/stm32/l1/stm32l-discovery/button-irq-printf-lowpower/main.c#L130 2012-12-03T23:49:37 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-03T23:49:43 < karlp> I can see that I write the INIT flag, but it never sets the INITF flag 2012-12-03T23:50:14 < karlp> I'm comparing the stdperiph lib cdoe and mine and I can't see anything it does substantially differently yet 2012-12-03T23:50:26 < karlp> it uses bitbanding for some of the flag writes, but that shouldn't matter 2012-12-03T23:52:54 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2012-12-03T23:56:07 < karlp> the only thing that confuses me is that it says it takes 2 RTCCLK cycles, but the st code doesn't enable the clock to it until later. 2012-12-03T23:56:53 < zyp> if I had some L1 support in my stuff, I'd whip up some RTC code to test whatever you are having troubles with 2012-12-03T23:57:12 < karlp> I'd be happy for f4 code too, it's the same periph. 2012-12-03T23:57:18 < zyp> ah, ok 2012-12-03T23:57:32 < zyp> then I can have a go at it 2012-12-03T23:58:03 < karlp> or f2, f3, f0... :) 2012-12-03T23:58:36 < zyp> already got F4 hooked up and ready :p 2012-12-03T23:58:52 < zyp> from the ethernet stuff I were doing during the weekend --- Day changed Tue Dec 04 2012 2012-12-04T00:00:53 < karlp> never mind, just got it. 2012-12-04T00:00:58 < karlp> bizarre. 2012-12-04T00:01:14 < karlp> I have to ad an extra rtc clock on, that the stdperiph code doesn't seem to need. 2012-12-04T00:01:30 < karlp> it must be doing it somewhere that I didn't see 2012-12-04T00:01:57 < zyp> huh? 2012-12-04T00:02:26 < karlp> the st example code doesn't do "RCC_CSR |= RCC_CSR_RTCEN;" until the end, 2012-12-04T00:02:41 < karlp> but if you don't do it before, it doesn't have a clock to run from. 2012-12-04T00:02:50 < karlp> so it must be doing it somewhere, I just can't see where they do it. 2012-12-04T00:03:13 < karlp> but it's working now for me at least, damn thing. 2012-12-04T00:03:26 < zyp> oh well, then I won't bother :p 2012-12-04T00:03:32 < karlp> thanks for the offer :) 2012-12-04T00:04:58 < karlp> http://pastebay.net/1160465 2012-12-04T00:05:16 < zyp> nice 2012-12-04T00:11:52 < zyp> bit shame it's always kept as a tuple 2012-12-04T00:13:02 < karlp> yeah, BCD only. 2012-12-04T00:13:13 < karlp> would be kinda nice to have more reg with just runnign seconds. 2012-12-04T00:13:17 < karlp> f1 has running seconds only. 2012-12-04T00:13:39 < zyp> yeah 2012-12-04T00:14:24 < zyp> it's easier to just do all calculations with seconds and convert it to display format when needed 2012-12-04T00:14:27 < zyp> but oh well 2012-12-04T00:15:25 < karlp> I truly don't see how any of the examples work. 2012-12-04T00:15:42 < karlp> none of them enable the rtc clock until after they've tried to init and set the time. 2012-12-04T00:29:19 -!- upgrdman_ [429f3cfe@blender/artist/upgrdman] has joined ##stm32 2012-12-04T00:30:17 < Laurenceb_> http://www.openbsd.org/images/puffy52.gif 2012-12-04T00:31:05 < Thorn> http://www.youtube.com/watch?v=TUcO1iEuFj4 2012-12-04T00:39:42 -!- dekar [~dekar@212.255.17.245] has joined ##stm32 2012-12-04T00:39:46 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-04T00:41:05 -!- dekar_ [~dekar@212.255.17.245] has joined ##stm32 2012-12-04T00:41:08 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-04T00:43:24 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-04T00:44:04 -!- dekar [~dekar@212.255.17.245] has quit [Ping timeout: 248 seconds] 2012-12-04T01:02:47 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-04T01:04:27 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-04T01:05:47 -!- DaKu is now known as daku 2012-12-04T01:07:35 -!- fishhead is now known as i8086 2012-12-04T01:21:34 -!- upgrdman_ [429f3cfe@blender/artist/upgrdman] has quit [Quit: Page closed] 2012-12-04T01:38:44 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-04T01:41:18 < Laurenceb_> http://lxr.free-electrons.com/source/drivers/net/wireless/ath/ath5k/base.c?v=2.6.36#L1948 2012-12-04T01:41:33 < Laurenceb_> ^ nice - usb wifi with timestamp support 2012-12-04T01:41:59 < dongs> blogstamp 2012-12-04T01:42:03 < Laurenceb_> heh 2012-12-04T01:43:04 < dongs> nasty lunix driver code 2012-12-04T01:43:10 < Laurenceb_> i dunno if itd be stupid to try porting 2012-12-04T01:43:24 < dongs> isnt that chip some giant BGA 2012-12-04T01:43:56 < Laurenceb_> who cares 2012-12-04T01:44:01 < Laurenceb_> buy the dongle 2012-12-04T01:44:05 < dongs> oh. 2012-12-04T01:44:11 < dongs> and use with stm32 usb? 2012-12-04T01:44:41 < Laurenceb_> yes 2012-12-04T01:48:01 -!- emeb [~ericb@8.2.215.2] has joined ##stm32 2012-12-04T01:59:21 < Laurenceb_> this is for a passive wifi sniffer 2012-12-04T01:59:28 < Laurenceb_> that works out position from the timing 2012-12-04T01:59:50 < Laurenceb_> looks like it could be reasonable power using the usb stuff, like 30ma or something in sniff mode 2012-12-04T02:00:09 < Laurenceb_> but if it needed wifi for sending the data back, then linux has the networking support 2012-12-04T02:00:19 < Laurenceb_> and full drivers that are feasible to port.. 2012-12-04T02:06:03 < dongs> lunix drivers, aww YEAAAAAAAAAAAAA 2012-12-04T02:06:46 < ds2> doesn't the ath chips require purchase of a SDK for like $20K? 2012-12-04T02:10:13 * Laurenceb_ zzz 2012-12-04T02:10:19 < Laurenceb_> ds2: not all of them it seems 2012-12-04T02:10:24 < Laurenceb_> sleep time.. 2012-12-04T02:12:37 < ds2> Ooooooh 2012-12-04T02:12:46 < ds2> if you can buy it.... 2012-12-04T02:13:39 < emeb> buy what? 2012-12-04T02:14:43 -!- Laurenceb_ [~Laurence@86.135.135.60] has quit [Ping timeout: 245 seconds] 2012-12-04T02:16:55 < dongs> i think he was talking just buying the dongle and using lunix drivers as reference. 2012-12-04T02:17:16 < emeb> ewww 2012-12-04T02:17:37 * emeb has looked at linux network drivers. 2012-12-04T02:18:07 < emeb> although I guess it'd be better than trying to build it from scratch... 2012-12-04T02:19:11 < ds2> oh 2012-12-04T02:21:31 < emeb> I thought most of the binary blobs for wifi dongles were firmware for the on-chip processors in the dongles. The actual USB <-> OS interfaces are usually wide-open source. 2012-12-04T02:21:34 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 260 seconds] 2012-12-04T02:22:42 < emeb> IOW, the blobs would work even if you were driving it with an STM32 in host/OTG mode. You'd just download it on powerup and then go with your driver code. 2012-12-04T02:26:00 < dongs> yeah 2012-12-04T02:26:16 < dongs> might need some external flash for the blobs though 2012-12-04T02:26:19 < dongs> some of that shit is several megs each 2012-12-04T02:27:22 < emeb> true. I assume you'd but that on a uSD or something. 2012-12-04T02:27:25 < ds2> SDIO 2012-12-04T02:28:23 < emeb> yeah - there are some tiny wifi modules that are in sdio format. Damned expensive compared to USB tho 2012-12-04T02:32:07 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-04T02:51:36 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2012-12-04T02:59:45 -!- emeb [~ericb@8.2.215.2] has quit [Quit: Leaving.] 2012-12-04T03:16:28 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-04T03:16:55 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-04T03:21:48 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-aailkwnmzbdfaqrk] has quit [Ping timeout: 245 seconds] 2012-12-04T03:22:39 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-oxmdxgmcrbwhspzo] has joined ##stm32 2012-12-04T03:27:16 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-oxmdxgmcrbwhspzo] has quit [Ping timeout: 248 seconds] 2012-12-04T04:48:40 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2012-12-04T04:51:02 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-04T05:08:36 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2012-12-04T05:18:34 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-vogxdbhgzzhsxrzk] has joined ##stm32 2012-12-04T05:24:09 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2012-12-04T05:29:08 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-04T05:31:17 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-04T05:35:27 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-12-04T05:35:33 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 245 seconds] 2012-12-04T05:36:40 < DLPeterson> does anybody have example code of how to relocate the vector table from flash to SRAM? 2012-12-04T05:39:29 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-04T06:28:59 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-04T06:29:09 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-04T06:36:14 < zippe> DLPeterson: assuming you have a new vector table in RAM already, just write the address to the NVIC register 2012-12-04T06:45:08 < DLPeterson> how do create a new vector table? Just create an array of void (*)(void) of the appropriate size? 2012-12-04T06:49:02 < dongs> +1 2012-12-04T06:49:21 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-04T06:52:51 < DLPeterson> ok. are there any special requirements on the memory used for the vector table, like alignment? 2012-12-04T06:56:51 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-04T07:00:10 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 246 seconds] 2012-12-04T07:04:05 -!- CheBuzz_Home is now known as CheBuzz 2012-12-04T07:15:46 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-12-04T07:15:58 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 245 seconds] 2012-12-04T07:34:11 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-04T07:36:57 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-04T07:43:02 < baird> retrobrite ftw: http://i.imgur.com/l8q6E.jpg 2012-12-04T07:44:24 < baird> GOOD IDEA I WAS JUST ABOUT TO THROW IT ON THE BONFIRE 2012-12-04T07:44:37 < baird> The retardants are still inside the bulk of the plastic 2012-12-04T07:52:16 < baird> There's 7 billion of them. Noone ever misses a few. 2012-12-04T07:57:08 < baird> The biggest PITA with some machines like this is the GALs. 2012-12-04T07:58:25 < nopcode> how many polys/s 2012-12-04T07:58:39 < nopcode> j/k :P 2012-12-04T07:59:10 < nopcode> hm 2012-12-04T07:59:19 < nopcode> can you get a whole 386 in vhdl/verilog 2012-12-04T07:59:20 < nopcode> for fpga 2012-12-04T07:59:22 < nopcode> ? 2012-12-04T08:09:15 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-04T08:09:15 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-04T08:09:15 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-04T08:11:27 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-04T08:12:40 < zippe> DLPeterson: none beyond what's specified in the documentation 2012-12-04T08:35:30 < cdh> karlp: I have a lot of RTC code which works well, but in the end may not use any of it. As zyp noted, it's easier to manipulate time as seconds and then only convert it when it needs to be displayed. I have a 64-bit cycle counter implemented now which gives me a nice high resolution time source, so a lot of the code I did for the RTC is going to be scrapped, except for one specific system... 2012-12-04T08:35:32 < cdh> ...use where I have vbat when the main power is off. Did you get your RTC working? 2012-12-04T08:36:14 < cdh> karlp: If not, I can put up some of my init code (I'm also using the STM32F4) 2012-12-04T08:48:12 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 264 seconds] 2012-12-04T08:51:09 -!- claude is now known as Claude 2012-12-04T09:02:40 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-04T09:03:52 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-04T09:03:52 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-04T09:03:52 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-04T09:04:50 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2012-12-04T09:07:29 -!- Claude is now known as claude 2012-12-04T09:19:43 -!- Thorn [~Thorn@2.94.121.78] has joined ##stm32 2012-12-04T09:19:43 -!- Thorn [~Thorn@2.94.121.78] has quit [Changing host] 2012-12-04T09:19:43 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-04T09:27:20 < dongs> hmm strange smels out of my chinaspecial reflow oven 2012-12-04T09:27:48 < dongs> it better not be trying to T962 itself 2012-12-04T09:48:29 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-04T09:49:26 < zyp> heh 2012-12-04T09:59:27 < baird> The first time it's been used? Needing degassing? 2012-12-04T10:00:24 < dongs> no ive had it for a few years 2012-12-04T10:00:32 < dongs> seems ok i dunno 2012-12-04T10:00:41 < dongs> maybe something landed on the heating elements 2012-12-04T10:04:37 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-04T10:07:54 < jpa-> bah, impossible to find a nice small C++ matrix library that works 1) without full STL, locales and all that crap 2) without exceptions and RTTI 2012-12-04T10:08:51 -!- alexn [~alexn@dslb-094-216-043-043.pools.arcor-ip.net] has joined ##stm32 2012-12-04T10:22:22 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-04T10:24:25 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-04T10:44:33 -!- Laurenceb_ [~Laurence@host86-135-135-60.range86-135.btcentralplus.com] has joined ##stm32 2012-12-04T10:45:40 -!- Oldboy is now known as _old_ 2012-12-04T11:02:11 -!- Laurenceb_ [~Laurence@host86-135-135-60.range86-135.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-12-04T11:12:10 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-04T11:12:24 < zippe> jpa-: how small, how complete? 2012-12-04T11:20:04 < dongs> there's matrix shit in CMSIS right? 2012-12-04T11:20:31 < jpa-> zippe: so that it fits on STM32F4 nicely; just basic stuff like matrix inversion, qr decompositions etc.; only need matrices up to 10x10 or so 2012-12-04T11:20:35 < jpa-> dongs: emphasis on 'shit' 2012-12-04T11:20:49 < jpa-> dongs: it has a function to multiply matrices. that's about it 2012-12-04T11:20:55 < dongs> only 10,10 no problem. 2012-12-04T11:21:53 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Remote host closed the connection] 2012-12-04T11:23:25 < zippe> jpa-: sounds like cribbing from eigen would be your best bet 2012-12-04T11:23:46 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-12-04T11:23:48 < jpa-> so far tried: armadillo, eigen, boost ublas, mtl2, mtl4, aml++ they all depend on a full STL implementation to be able to compile at all 2012-12-04T11:24:34 < jpa-> google is full of one-man simple matrix library projects, but wading through them all is impossible 2012-12-04T11:26:20 < jpa-> so far techsoft matcl seems the most promising, but even it uses exceptions 2012-12-04T11:36:20 -!- moritz1 [~mmueller@cohen.emsp.tu-berlin.de] has joined ##stm32 2012-12-04T11:49:14 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-04T12:20:53 < jpa-> has anyone used C++ exceptions on stm32? 2012-12-04T12:21:06 < jpa-> (or other cortex-m3/4) 2012-12-04T12:21:51 < dongs> attn baird http://www.stuff.co.nz/motoring/8032600/Motorcycling-journo-gets-ride-wrong 2012-12-04T12:32:02 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-04T12:32:12 < Laurenceb> "just basic stuff like matrix inversion" 2012-12-04T12:32:14 < Laurenceb> lol 2012-12-04T12:33:20 < baird> dongs: would've broken the bollard if he was on a Postie. 2012-12-04T12:33:22 < Laurenceb> inversion is a pita 2012-12-04T12:34:14 < baird> And luckily, wearing a helmet... The back of his head smacked into the edge of the boat.. 2012-12-04T12:36:40 < dongs> Laurenceb: i ordered 2 2.4ghz yagis from chian 2012-12-04T12:36:47 < dongs> http://i.imgur.com/3JSu9.jpg 2012-12-04T12:36:50 < dongs> 9.80$/antenna 2012-12-04T12:36:50 < dongs> lo 2012-12-04T12:37:02 < dongs> i think the RG58 and SMA connector would have been more expensive from digikey 2012-12-04T12:37:14 < dongs> also: free shipping 2012-12-04T12:38:47 < zyp> I have a couple of those 2012-12-04T12:39:07 < dongs> i need to do like 300meters point to point link to give some faggot free internets 2012-12-04T12:39:14 < zyp> yeah 2012-12-04T12:39:29 < zyp> I was testing one of mine once 2012-12-04T12:39:31 < dongs> i got some PoE wifi bridges from few years ago, those should work perfectly 2012-12-04T12:39:59 < zyp> I hooked one up at home to some random shitty ap I had, and went outside with my laptop 2012-12-04T12:40:07 < qyx_> i would never use 2.4G again with cheap antennas here 2012-12-04T12:40:12 < zyp> got a nice connection >300m away 2012-12-04T12:40:48 < dongs> this is basically open area, some bushes in teh way but im not worried 2012-12-04T12:40:57 < dongs> can see one place from another. 2012-12-04T12:40:59 < zyp> the only thing that prevented me from going further was that I didn't have line of sight anymore 2012-12-04T12:41:03 < dongs> and noone else around using wifi, so also no problem 2012-12-04T12:41:14 < zyp> so yeah, a point to point link over 300m with those is no problem 2012-12-04T12:43:25 < Laurenceb> i need to try this wifi packet sniffing trick 2012-12-04T12:43:29 < Laurenceb> but first... 2012-12-04T12:43:35 < Laurenceb> some tard stole all my epoxy 2012-12-04T12:43:37 < Laurenceb> WTF 2012-12-04T12:43:46 < Laurenceb> epic rage 2012-12-04T12:44:11 < zyp> cool story bro 2012-12-04T12:46:10 < karlp> tell it again you say? why certainly? 2012-12-04T12:46:16 < karlp> 10:43 < Laurenceb> i need to try this wifi packet sniffing trick 2012-12-04T12:46:16 < karlp> 10:43 < Laurenceb> but first... 2012-12-04T12:46:16 < karlp> 10:43 < Laurenceb> some tard stole all my epoxy 2012-12-04T12:46:16 < karlp> 10:43 < Laurenceb> WTF 2012-12-04T12:46:16 < karlp> 10:43 < Laurenceb> epic rage 2012-12-04T12:46:30 < Laurenceb> lulwut 2012-12-04T12:46:42 < dongs> mmm, rage 2012-12-04T12:46:51 < Laurenceb> maybe i should rap about it 2012-12-04T12:47:38 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Ping timeout: 250 seconds] 2012-12-04T12:49:08 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-04T12:55:14 < dongs> Laurenceb: http://i.imgur.com/8Z5JH.jpg 2012-12-04T13:04:25 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2012-12-04T13:05:39 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-04T13:06:33 < jpa-> Laurenceb: well if it would have a direct linear equation solving, even better; but even just inversion would be enough for the precision requirements of this task 2012-12-04T13:24:11 < Laurenceb> http://www.theregister.co.uk/2012/12/04/spears_flight/ 2012-12-04T13:32:10 -!- _old_ is now known as Oldboy 2012-12-04T13:59:27 < dongs> did they fail it 2012-12-04T14:00:07 < zyp> depends on what would count as a fail 2012-12-04T14:00:17 < zyp> at least they lost the payload 2012-12-04T14:00:17 < dongs> i see pics of laurenceb in there 2012-12-04T14:06:21 < dongs> was that a gopro1 or 2 2012-12-04T14:19:18 < baird> Is it /wrong/ to want to put your dick inside Sadaam Hussein? http://blog.livedoor.jp/geek/archives/51372454.html 2012-12-04T14:20:40 < baird> (yeah, that'll make zlog more interesting..) 2012-12-04T14:22:40 < Laurenceb> what the fuu 2012-12-04T14:22:49 < Laurenceb> needs nsfw warning 2012-12-04T14:32:26 < Laurenceb> http://pastebin.com/auzktkKJ 2012-12-04T14:32:37 < baird> A link offered with the phrase "put your dick inside" might /not/ be NSFW? .. -_- 2012-12-04T14:46:48 < dongs> i dont see anything nsfw there 2012-12-04T14:54:14 < Laurenceb> its a little too loli for work 2012-12-04T15:18:39 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] 2012-12-04T15:55:48 -!- |sark [~|sark@109.235.51.202] has quit [Read error: Connection reset by peer] 2012-12-04T16:06:48 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2012-12-04T16:07:01 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-04T16:09:59 < Oldboy> i don't see saddam there 2012-12-04T16:15:04 < Laurenceb> http://www.raspberrypi.org/wp-content/uploads/2012/12/8228143155_50dc36eed9_b.jpg 2012-12-04T16:15:14 < Laurenceb> typical rpi user on the left there 2012-12-04T16:16:19 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-04T16:18:36 < baird> Two fine examples on the right, as well. "You must have a bald patch to get into computer for teenagers." 2012-12-04T16:23:05 < dongs> hahaaaa 2012-12-04T16:24:16 < dongs> i wonder how many have assburgers... 2012-12-04T16:25:34 < Laurenceb> fun fact - london hackspace is next door to the assburgers society 2012-12-04T16:31:10 < Laurenceb> http://bcmon.blogspot.co.uk/2012/09/working-monitor-mode-on-nexus-one.html 2012-12-04T16:37:33 < baird> Still no grrls, real or otherwise, at the local RPi meetup. :/ 2012-12-04T16:42:06 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-04T16:47:42 < Laurenceb> could send this dude http://www.youtube.com/watch?v=MCEjCHb_-Qg 2012-12-04T16:47:44 < baird> Also, they're wanting a $8 door charge to cover the cost of ordered pizza :[ .. "Okay, going into Sydney, to a 'club' on Sussex St, with only men..." "lol, that's at that City Steam place, rite?" 2012-12-04T16:49:56 < baird> disabling youtube autoplay ftw 2012-12-04T16:55:11 < dongs> haha 2012-12-04T16:55:14 < dongs> is that hackkitten 2012-12-04T16:55:33 < Laurenceb> probably 2012-12-04T16:56:01 < Laurenceb> but hackitten fails 2012-12-04T16:56:10 < Laurenceb> that guy at least partially succeeds 2012-12-04T16:57:00 < dongs> ... 2012-12-04T16:57:01 < baird> Any more of those kinds of videos in your Favourites list? 2012-12-04T16:57:14 < Laurenceb> lo 2012-12-04T16:57:49 < dongs> https://youtube.com/watch?v=HDBX0V7Vy_4 such a manly voice 2012-12-04T16:58:46 < dongs> > yep.. the audio just got messed up when i uploaded this. video for some reason 2012-12-04T16:58:47 < dongs> lollllllllllllllll 2012-12-04T16:59:10 < Laurenceb> its a trapppp 2012-12-04T16:59:30 < dongs> https://youtube.com/watch?v=KacRJ4JkrIE this wins. 2012-12-04T16:59:34 < dongs> even if its a trap. 2012-12-04T17:01:46 < dongs> Laurenceb: status of fapping 2012-12-04T17:03:11 -!- Thorn [~Thorn@2.94.121.78] has joined ##stm32 2012-12-04T17:03:12 -!- Thorn [~Thorn@2.94.121.78] has quit [Changing host] 2012-12-04T17:03:12 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-04T17:03:16 < dongs> retweeting to hackkitten 2012-12-04T17:09:43 < dongs> https://youtube.com/watch?v=ap_D3PxnQl0 was in related videos 2012-12-04T17:09:47 < dongs> about the speed of my machine 2012-12-04T17:11:34 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-04T17:11:37 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-04T17:11:44 < dongs> Steffanx missed all the trap fun 2012-12-04T17:11:51 <+Steffanx> Good 2012-12-04T17:13:35 <+Steffanx> I've no idea what you're talking about so i actually didn't miss anything 2012-12-04T17:13:39 <+Steffanx> *don't 2012-12-04T17:14:19 < dongs> typical laurenceb link followed by mindless clicking of 'related videos 2012-12-04T17:14:22 < dongs> and one thing leads to another... 2012-12-04T17:14:35 < dongs> https://youtube.com/watch?v=ap_D3PxnQl0 and i end up at a picknplace machine video 2012-12-04T17:14:36 <+Steffanx> blaxter-ratio ++ 2012-12-04T17:15:21 < zyp> Steffanx, you wouldn't have missed anything anyway 2012-12-04T17:16:14 <+Steffanx> So no need to say: 2012-12-04T17:16:16 <+Steffanx> zlog help me 2012-12-04T17:16:17 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-12-04.html 2012-12-04T17:17:13 <+Steffanx> Google finally indexed "blaxter ratio" 2012-12-04T17:18:20 < BrainDamage> now you only need to make a meme out of it 2012-12-04T17:19:28 <+Steffanx> Have a photo of Laurence for me ? :) 2012-12-04T17:21:44 < BrainDamage> mmm 2012-12-04T17:21:53 < BrainDamage> I recall him posting here, lemme dig the logs 2012-12-04T17:21:56 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2012-12-04T17:23:01 <+Steffanx> We need dongs and his gang for this 2012-12-04T17:23:05 <+Steffanx> The experts in memes 2012-12-04T17:25:48 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-04T17:44:37 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2012-12-04T17:44:43 < a2cypher> Hi folks. 2012-12-04T17:45:45 < a2cypher> I have an embedded C program that very occasionally takes a branch to someplace that is not program memory (and crashes). What can cause this and what is the best way to debug ? Note, that for whatever reason this is not picked up by the chip as a hard fault, so I have no error registers. 2012-12-04T17:47:58 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-04T17:48:42 < jpa-> aha, uSTL author says that his library is only for desktop systems and he will not accept patches targetting embedded systems 2012-12-04T17:49:41 < a2cypher> jpa-: any ideas how to debug my branch problem ? 2012-12-04T17:50:05 < jpa-> a2cypher: display /i $pc and stepi in gdb 2012-12-04T17:50:33 < jpa-> if you can repeat it, that is 2012-12-04T17:50:36 <+Steffanx> He has a good reason for it jpa- ? 2012-12-04T17:50:43 < a2cypher> problem is that it may take an hour for me to hit the problem when running at full speed. Would be forever if I had to step 2012-12-04T17:50:50 < jpa-> Steffanx: well, he considers that embedded systems are a dying breed :) 2012-12-04T17:51:03 < a2cypher> lol wut.. embedded systems are the future! 2012-12-04T17:51:04 <+Steffanx> uh :S 2012-12-04T17:51:23 < jpa-> http://sourceforge.net/tracker/?func=detail&aid=3592407&group_id=76798&atid=548300 2012-12-04T17:51:45 < a2cypher> I wonder if I can set it up to trap bad jumps somehow 2012-12-04T17:52:24 < a2cypher> how do I print a stack trace in gdb ? 2012-12-04T17:52:51 < jpa-> a2cypher: backtrace 2012-12-04T17:53:06 < jpa-> a2cypher: if it jumps to non-existing memory, it should cause a hardfault 2012-12-04T17:53:35 < a2cypher> it doesnt seem to.. program counter just says that it is in strange place and it doesnt really seem to ever execute or proceed. just stops 2012-12-04T17:54:02 < a2cypher> I'll see if I can get it to happen again and then maybe I can try the backtrace to see if anything interesting is there. 2012-12-04T17:54:43 < jpa-> what strange place? is it always the same? 2012-12-04T17:55:00 < jpa-> also check p /x $sp to see if stack pointer is valid 2012-12-04T17:57:15 < a2cypher> it's 0x100..... 2012-12-04T17:57:23 < a2cypher> I dont have the exact location written down 2012-12-04T17:57:30 < jpa-> on F4? 2012-12-04T17:58:00 < jpa-> that's CCM ram.. strange that it would be jumping there, but it is valid memory so it won't hardfault until it hits an invalid instruction 2012-12-04T17:58:39 < zyp> don't jump to conclusions 2012-12-04T17:58:50 < a2cypher> its not a stm32 2012-12-04T17:58:57 < zyp> what if leading zeros got truncated? 2012-12-04T17:59:07 < jpa-> zyp: true 2012-12-04T17:59:15 < a2cypher> it is a cortex m4 though. 2012-12-04T17:59:45 < a2cypher> speak of the devil. it just happened 2012-12-04T17:59:58 < a2cypher> 0x0100514a 2012-12-04T18:00:24 < jpa-> a2cypher: do you have a memory map for the device you are using? 2012-12-04T18:00:49 < karlp> jpa-: weird, comments like "This is especially painful to former DOS assembly programmers like myself, who fret endlessly when the size of the executable crosses the magic 64k boundary, forgetting that nobody cares about memory anymore." make it seem odd to reject anything embedded. 2012-12-04T18:00:51 < zyp> memory layout is chip specific, so we can't tell anything from an addr without knowing it 2012-12-04T18:01:00 < a2cypher> yeah. I do. let me take a quick look 2012-12-04T18:01:29 < jpa-> karlp: he values lightweight programs, but he also values code quality 2012-12-04T18:01:48 < a2cypher> hrm.. it is in ROM. 2012-12-04T18:02:05 < a2cypher> I am using ROM functions, so maybe I should disable those and try and get it to happen agian. 2012-12-04T18:02:29 < jpa-> a2cypher: so what does backtrace give? 2012-12-04T18:02:48 < jpa-> and also try 'disassemble' to see what it is doing 2012-12-04T18:03:15 < a2cypher> apparently it is in ROM_UARTCharGet 2012-12-04T18:03:28 < a2cypher> maybe something else is the matter and it is running correctly. 2012-12-04T18:03:56 < a2cypher> how do I tell gdb to dissasemble current location ? 2012-12-04T18:05:11 < jpa-> disassemble $pc-16,+64 might work (start, length) 2012-12-04T18:07:00 < zyp> a2cypher, how does it crash? hardfault? 2012-12-04T18:07:35 < a2cypher> no.. it just doesnt respond 2012-12-04T18:07:55 < a2cypher> I think it might just be waiting for input without acknowledging last input. 2012-12-04T18:08:20 < a2cypher> I'll let you know if I figure out the problem 2012-12-04T18:54:05 < a2cypher> yup. I feel like an idiot. it wasnt crashed, just waiting. Looks like for whatever reason the ack message was never sent to the computer so both were sitting there waiting for the other to send something. 2012-12-04T18:54:37 < dongs> sup dongs 2012-12-04T18:54:42 < dongs> 2am, im assburgering it up 2012-12-04T18:54:54 < zyp> ok 2012-12-04T18:55:12 < zyp> I'm trying to decide what to waste my afternoon on 2012-12-04T18:55:29 < dongs> write me software i2c slave with callbacks, and ill paypal you 50bucks 2012-12-04T18:55:55 < dongs> yes, i am that lazy. 2012-12-04T18:55:57 < zyp> software? like fully bitbanged? 2012-12-04T18:56:00 < dongs> yeah 2012-12-04T18:56:23 < zyp> exti allowed? 2012-12-04T18:56:34 < dongs> sure, or even input capture 2012-12-04T18:56:48 < dongs> er, timer capture shit wahtever its called 2012-12-04T18:56:50 < Laurenceb> software i2c?! 2012-12-04T18:56:57 < dongs> yaman! 2012-12-04T18:56:57 < Laurenceb> truly epic fail 2012-12-04T18:57:10 < Laurenceb> thats like failing whilst you fail 2012-12-04T18:57:11 < zyp> input capture sounds useless, since everything is triggering off scl anyway 2012-12-04T18:57:33 < zyp> you just need to sample sda at the scl edges and feed it into a state machine 2012-12-04T18:58:25 < dongs> well, im too lazy to figure all that out. as long as i have callbacks at every state (i.e. start received, stop received, data exchange , bla bla,, its fine. 2012-12-04T18:58:40 < dongs> i talked to dekar about this few months ago 2012-12-04T18:59:35 < Laurenceb> http://mictoboy.co.uk/other/attack.jpg 2012-12-04T18:59:39 < dongs> also i will be listening on all i2c addresses 2012-12-04T18:59:49 < dongs> but i want capability to ack/nack any given address 2012-12-04T19:00:26 < dongs> so that's the callback stuff. i.e. i get a start + address and i don't want to answer it at this point of time, i'll nak it. 2012-12-04T19:00:39 < a2cypher> nak 2012-12-04T19:00:44 < jpa-> nak 2012-12-04T19:00:49 < dongs> pretty easy shit if you know what im doing, im lazy though :) 2012-12-04T19:01:01 < zyp> yeah, sounds pretty easy 2012-12-04T19:01:17 < a2cypher> dongs: probably would take as long to write as it would to explain exactly what you need. 2012-12-04T19:01:24 < dongs> a2cypher: i dont doubt it 2012-12-04T19:01:32 < dongs> but im about to sleep, and zyp's got plenty of time :) 2012-12-04T19:01:37 < Laurenceb> http://www.b3tards.com/u/e0da2df6b340ce98c16b/micto.jpg 2012-12-04T19:01:41 < zyp> hah 2012-12-04T19:01:57 < a2cypher> wtf Laurenceb 2012-12-04T19:01:59 < dongs> is this wife-behind-your-shoulder-safe link 2012-12-04T19:02:04 < a2cypher> yesx 2012-12-04T19:02:12 < Laurenceb> waifu 2012-12-04T19:02:42 < dongs> http://www.theregister.co.uk/2012/12/04/iphone_student_fails_job_interview/ 2012-12-04T19:02:43 < dongs> lulz 2012-12-04T19:04:02 < a2cypher> lol. shoulda bought a galaxy s instead. 2012-12-04T19:09:06 -!- mode/##stm32 [+o Steffanx] by ChanServ 2012-12-04T19:09:09 -!- Laurenceb was kicked from ##stm32 by Steffanx [Laurenceb] 2012-12-04T19:09:17 -!- mode/##stm32 [-o Steffanx] by ChanServ 2012-12-04T19:09:31 <+Steffanx> Always wanted to do that once. 2012-12-04T19:09:48 < zyp> should do it more often 2012-12-04T19:09:48 <+Steffanx> Gives me a good feeling for at least a few days 2012-12-04T19:10:21 < zyp> how much would I need to bribe you to get that privilege? :p 2012-12-04T19:10:48 <+Steffanx> Not much 2012-12-04T19:11:54 -!- barthess [~barthess@178.154.54.151] has joined ##stm32 2012-12-04T19:12:01 <+Steffanx> It is possible to kick one using chanserv so he doesn't know it was me, but have no idea how 2012-12-04T19:12:32 -!- mode/##stm32 [+o Steffanx] by ChanServ 2012-12-04T19:12:43 -!- mode/##stm32 [+o zyp] by Steffanx 2012-12-04T19:12:48 -!- mode/##stm32 [-o Steffanx] by ChanServ 2012-12-04T19:12:52 <+Steffanx> Now you feel good zyp ? :) 2012-12-04T19:12:53 <@zyp> heh 2012-12-04T19:13:22 -!- mode/##stm32 [-o zyp] by zyp 2012-12-04T19:14:00 <+Steffanx> lol @ laurenceb .. he has no auto-rejoin 2012-12-04T19:14:00 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2012-12-04T19:14:13 < dongs> try /inviting him 2012-12-04T19:14:17 < dongs> some clients will autojoin on invite. 2012-12-04T19:14:46 -!- mode/##stm32 [+o Steffanx] by ChanServ 2012-12-04T19:14:55 -!- mode/##stm32 [-o Steffanx] by ChanServ 2012-12-04T19:14:55 <+Steffanx> No :P 2012-12-04T19:14:56 < dongs> no luck, eh? 2012-12-04T19:14:57 < dongs> fail. 2012-12-04T19:14:58 <+Steffanx> fail client 2012-12-04T19:15:17 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2012-12-04T19:15:22 < dongs> wat 2012-12-04T19:15:22 < Laurenceb> lulwut 2012-12-04T19:15:26 < dongs> ^ trolled 2012-12-04T19:15:33 < Laurenceb> * You have been kicked from ##stm32 by Steffanx (Laurenceb) 2012-12-04T19:15:52 <+Steffanx> Get a proper client with auto-rejoin and/or join on invite Laurenceb :P 2012-12-04T19:16:48 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-04T19:18:27 < dongs> well, tiem to bed 2012-12-04T19:18:51 <+Steffanx> gn 2012-12-04T19:18:58 <+Steffanx> Wife calls huh? :P 2012-12-04T19:19:48 < Laurenceb> waifu calls 2012-12-04T19:20:14 < Laurenceb> http://i3.ytimg.com/vi/nbYXvSKjP98/hqdefault.jpg 2012-12-04T19:26:54 -!- alexn [~alexn@dslb-094-216-043-043.pools.arcor-ip.net] has quit [Ping timeout: 256 seconds] 2012-12-04T19:27:03 -!- alexn [~alexn@dslb-178-010-238-074.pools.arcor-ip.net] has joined ##stm32 2012-12-04T19:39:36 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-04T19:42:57 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-04T19:48:58 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-04T20:13:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-04T20:14:06 < TitanMKD> hi 2012-12-04T20:17:53 < zyp> http://bin.jvnv.net/f/Nkxqp.png <- starting to look good 2012-12-04T20:19:06 < jpa-> what's the connector in the middle left? 2012-12-04T20:19:14 < zyp> usb 2012-12-04T20:19:37 < jpa-> looks strange 2012-12-04T20:20:42 < zyp> four holes for tabs going into the board, two pads for tabs sticking out to the sides and two tabs underneath the shroud 2012-12-04T20:21:01 < zyp> datasheet recommended two seperate tabs under instead of one large, don't ask me why 2012-12-04T20:21:25 < zyp> or suggested is maybe a more precise word 2012-12-04T20:22:12 < TitanMKD> zyp hehe it's the famous LPC4330 2012-12-04T20:22:35 < TitanMKD> it seems very good 2012-12-04T20:22:40 < jpa-> why arent't capacitors on the crystal connected to anything? 2012-12-04T20:22:44 < zyp> I made that footprint for my F4 board, and it fit pretty damn good, I'll tell you :p 2012-12-04T20:24:53 < TitanMKD> zyp where is the bottom layer ;) 2012-12-04T20:25:02 < zyp> on the bottom side of the board, of course 2012-12-04T20:29:06 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2012-12-04T20:29:12 < zyp> http://bin.jvnv.net/f/8Ufse.png 2012-12-04T20:32:28 < jpa-> where is the middle side of the board! 2012-12-04T20:32:40 < Oldboy> zyp: nice images. what did you make them with ? 2012-12-04T20:32:47 < zyp> gerbv 2012-12-04T20:33:28 < jpa-> huh, need to try that sometime 2012-12-04T20:33:40 < jpa-> a lot nicer looking than what the kicad's gerber viewer gives 2012-12-04T20:39:11 < zyp> http://bin.jvnv.net/f/gEXSk.png <- inner layers are pretty boring 2012-12-04T20:39:15 < zyp> just holes and planes 2012-12-04T20:42:35 < jpa-> as it should be :) 2012-12-04T20:43:07 < jpa-> it's always lovely to see a 4-layer board, all nice and clean and with a board-wide trace running across the ground plane :) 2012-12-04T20:43:20 < zyp> :p 2012-12-04T20:44:06 < zyp> http://bin.jvnv.net/f/yuaYu.png <- i had some nice traces in the middle of my vcc plane once 2012-12-04T20:45:14 < zyp> vcc plane and signal layer are inner layers there 2012-12-04T20:46:21 < zyp> also got i2c running in same layer as vcc plane :p 2012-12-04T20:47:59 < zyp> hmm, I wonder what the specs I designed to was 2012-12-04T20:50:08 < zyp> hmm, I have DRC rules set to 6/6 for traces, but all traces are 10 mil 2012-12-04T20:50:24 < zyp> and vias are set to 12/28 2012-12-04T20:51:01 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-04T20:52:49 -!- daku is now known as DaKu 2012-12-04T21:03:21 -!- moritz1 [~mmueller@cohen.emsp.tu-berlin.de] has quit [Ping timeout: 265 seconds] 2012-12-04T21:13:40 <+Steffanx> How you do an antenna like that in EAGLE zyp? Or is isn't 100% accoring to the specs? 2012-12-04T21:16:46 < zyp> hmm? 2012-12-04T21:17:15 < zyp> I drawed the antenna as a normal footprint 2012-12-04T21:17:32 <+Steffanx> Yes ok, but in EAGLE it not that easy to do measurements of traces 2012-12-04T21:17:56 < zyp> of course it is, you are working on a grid. 2012-12-04T21:18:58 <+Steffanx> Yes, but still 2012-12-04T21:19:00 < jpa-> or you can draw it as a polygon 2012-12-04T21:29:23 < mervaka> sup guys 2012-12-04T21:31:32 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-04T21:31:44 < TeknoJuce> has any one built anything for n00bs for the platform yet? 2012-12-04T21:32:00 < zyp> like the maple? 2012-12-04T21:32:11 < TeknoJuce> yes 2012-12-04T21:32:15 < mervaka> Blinky? 2012-12-04T21:32:32 < mervaka> :p 2012-12-04T21:32:37 < TeknoJuce> last time I tried to use this board I needed like 300$ software 2012-12-04T21:32:59 < TeknoJuce> and it was extreamly complex to figure out anything with it 2012-12-04T21:33:06 < jpa-> i have used STM32 for two years now and never needed to purchase any software 2012-12-04T21:33:30 < TeknoJuce> any chance you had that same luck with windows as well? 2012-12-04T21:33:38 < mervaka> uVision debugger makes me want to stab my eyes out with a rusty fork 2012-12-04T21:33:41 < jpa-> yes 2012-12-04T21:34:06 < TeknoJuce> jpa- can you enlighten me what your setup is like? 2012-12-04T21:34:09 < jpa-> though, i didn't get openocd working on windows so i took the gdbserver out from atollic free version 2012-12-04T21:34:26 < mervaka> excuse my ignorance, but as soon as there's a problem with your interrupts, it falls dead. 2012-12-04T21:34:27 < jpa-> TeknoJuce: launchpad arm toolchain, editor 2012-12-04T21:34:54 < TeknoJuce> what language do you program it in c? 2012-12-04T21:34:59 < jpa-> C and C++ 2012-12-04T21:35:21 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Quit: my exit] 2012-12-04T21:35:26 < TeknoJuce> has anyone did a basterdization like arduino port for it? 2012-12-04T21:35:32 < TeknoJuce> or is that maple 2012-12-04T21:35:35 < jpa-> it is 2012-12-04T21:38:14 < TeknoJuce> so by chance do you have a n00bish friendly setup url that I can direct makerspace people to for their jump down the rabbit hole? 2012-12-04T21:38:30 < jpa-> no 2012-12-04T21:38:31 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 255 seconds] 2012-12-04T21:38:57 < TeknoJuce> :/ oh well maybe another year. 2012-12-04T21:39:18 < zyp> sometimes I wish my stuff were mature and stable and nice, because then I would recommend it when people asks questions like that :p 2012-12-04T21:39:47 < TeknoJuce> whats your stuff zyp? 2012-12-04T21:40:02 < jpa-> laks 2012-12-04T21:40:21 < jpa-> TeknoJuce: there may be such an url, but i haven't bothered searching 2012-12-04T21:40:31 < jpa-> i have no need for newbie tutorials myself 2012-12-04T21:41:27 < zyp> TeknoJuce, http://cgit.jvnv.net/laks_demo/tree/ <- you can have a look at the different branches here to see how I'm using it 2012-12-04T21:41:35 < TeknoJuce> just thought you would see X random url passing through these parts that may have triggered some sort of accedental click where when you saw it, said to yourself woah this would be good for the n00bs, etc. 2012-12-04T21:42:04 < jpa-> TeknoJuce: the maple surely has their own tutorials, if you want to go that route 2012-12-04T21:42:23 < zyp> I'm designing it to avoid all sorts of bullshit to start and maintain a project 2012-12-04T21:42:26 < jpa-> otherwise it's a quite rough ride anyway, there are so many options on how to write software for STM32 2012-12-04T21:43:31 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-04T21:43:35 < zyp> but it's not very complete yet, and still fairly experimental, so I can't go around and recommend it to everyone 2012-12-04T21:44:06 -!- barthess [~barthess@178.154.54.151] has quit [Quit: Leaving.] 2012-12-04T21:44:35 < TeknoJuce> even though rough would you recommend that route for doing workshops on the device like the discovery f0 / f3 to the hackerspace that prob has yet to even touch an arduino 2012-12-04T21:45:00 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Client Quit] 2012-12-04T21:45:01 < TeknoJuce> that would possible be happy with just seeing a blinky light etc 2012-12-04T21:45:45 < TeknoJuce> I will follow your project zyp. 2012-12-04T21:47:37 < jpa-> TeknoJuce: could just use arduino anyway 2012-12-04T21:48:38 -!- Laurenceb_ [~Laurence@host86-146-188-63.range86-146.btcentralplus.com] has joined ##stm32 2012-12-04T21:49:01 < jpa-> surely you can hold "introduction to programming" classes with haskell if you want to, but i wouldn't recommend it :) 2012-12-04T21:50:26 < TeknoJuce> going to attempt to get something of a workshop of just getting the device up and running with something like the hello world of circuits blinky lights sorta thing then what ever they want to do after that point is up to them 2012-12-04T21:52:24 < TeknoJuce> we have a ton of f0/f3 they are just free workshops we enjoy doing for the members or public to gain insterest in maker culture. 2012-12-04T21:52:49 < jpa-> ok, so you have the boards; that's an ok reason :) 2012-12-04T21:53:46 < TeknoJuce> I just like things that are different to expand peoples minds a bit to the outsides of their comfort levels 2012-12-04T21:53:54 < jpa-> is the target audience familiar with programming? 2012-12-04T21:54:46 < TeknoJuce> haha that sounds like fun audio stuff is usually a hit. 2012-12-04T21:55:27 < mervaka> there's a good audio example for the F4 2012-12-04T21:55:35 < mervaka> if somewhat hard to follow :/ 2012-12-04T21:55:44 < jpa-> pitch shifting on the F3 might be fun 2012-12-04T21:56:27 < jpa-> (e.g. having a ready made firmware and they can wire it up and change a few parameters or something) 2012-12-04T21:57:07 < TeknoJuce> jpa it's usually 50/50 we will have some people that just want figure out the setup process ususally the computer engineers of the group and then other to throw them into the pool ( the actual hardcore programmers of the group) 2012-12-04T22:00:46 < mervaka> :/ 2012-12-04T22:01:17 < TeknoJuce> also how are you supposed to deal with dual pinheaders on both sides of these breakout boards 2012-12-04T22:01:33 < jpa-> take old ide cables 2012-12-04T22:01:36 < TeknoJuce> strip ide cables? 2012-12-04T22:02:50 < TeknoJuce> ok thats what I was using on the Altera de1 fpga http://www.terasic.com.tw/cgi-bin/page/archive.pl?No=83 but it was actually like an ide port on it for the i/o 2012-12-04T22:05:27 < TeknoJuce> https://twitter.com/WessleeT/status/274589982461669376/photo/1 2012-12-04T22:08:10 < TeknoJuce> sorry my mistake we have the f3&f4 http://hackaday.com/2012/11/15/in-depth-comparison-at-stm32-f3-and-f4-discovery-boards/ 2012-12-04T22:15:12 < TeknoJuce> well thanks jpa- / flyback I will maybe check out how to get maple loaded onto these boards for some common ground let me know if you get any further with you project flyback. I am always lurkin' 2012-12-04T22:15:34 < TeknoJuce> which one? 2012-12-04T22:17:40 < TeknoJuce> like heres how you do a blinky light... now... build a fright train. kinda thing? 2012-12-04T22:18:25 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-04T22:21:38 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2012-12-04T22:45:24 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-04T23:19:56 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-04T23:43:45 -!- alexn [~alexn@dslb-178-010-238-074.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-04T23:47:11 -!- os-app92 [~ftw@172.122.193.77.rev.sfr.net] has joined ##stm32 2012-12-04T23:50:55 < Laurenceb_> * flylite sets ban on *!*@gateway/tor* 2012-12-04T23:50:57 < Laurenceb_> i lolled 2012-12-04T23:51:08 < Laurenceb_> openpilot is just getting silly 2012-12-04T23:52:15 <+Steffanx> Or just sick of the many tor abusers? 2012-12-04T23:53:49 < Laurenceb_> but thats what tor is for 2012-12-04T23:54:05 < Laurenceb_> /jk 2012-12-04T23:54:43 <+Steffanx> Yeah, dont understand why you don't use tor --- Day changed Wed Dec 05 2012 2012-12-05T00:04:42 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-05T00:17:02 <+dekar_> Laurenceb_, openpilot looks pretty epic to me 2012-12-05T00:17:15 <+dekar_> bazillion sensors and gps :) 2012-12-05T00:17:37 <+dekar_> also two way RF communications 2012-12-05T00:26:52 -!- DaKu is now known as daku 2012-12-05T00:31:35 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Ping timeout: 252 seconds] 2012-12-05T00:36:43 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-05T00:47:33 -!- os-app92 [~ftw@172.122.193.77.rev.sfr.net] has quit [Quit: Hi, I am Franz.] 2012-12-05T00:47:49 < zyp> http://bin.jvnv.net/f/PBlKW.png - almost done now 2012-12-05T00:48:02 < zyp> some silk adjustment and some more gnd vias left 2012-12-05T00:55:47 < Laurenceb_> zyp: nice 2012-12-05T00:56:34 < zyp> hmm, I've forgot to hook up usb gnd 2012-12-05T00:56:36 < zyp> :p 2012-12-05T00:57:49 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 260 seconds] 2012-12-05T01:15:25 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 256 seconds] 2012-12-05T01:20:13 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Remote host closed the connection] 2012-12-05T01:20:36 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-05T01:24:50 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-05T01:31:39 -!- Laurenceb_ [~Laurence@host86-146-188-63.range86-146.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2012-12-05T01:39:19 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-05T01:54:48 < dongs> sup blogs 2012-12-05T01:55:01 < dongs> oo 2012-12-05T01:55:03 < dongs> nice 3d rendering zyp 2012-12-05T02:00:43 < zyp> http://bin.jvnv.net/f/k13k7.png <- updated again 2012-12-05T02:00:52 < zyp> pretty much done by now 2012-12-05T02:01:54 < zyp> I'll probably finish it tomorrow 2012-12-05T02:02:09 < zyp> need to look over the schematic, then throw out a bunch of gnd vias 2012-12-05T02:02:33 < zyp> and I also should have a pad A1 indicator on the BGA silk :p 2012-12-05T02:02:58 < zyp> and maybe hook the tab on the LDO to a plane 2012-12-05T02:09:46 < dongs> isnt the tab = gnd 2012-12-05T02:10:01 < dongs> hm yeah A1 would be helpful 2012-12-05T02:10:52 < zyp> yes, but tab is not hooked to gnd currently 2012-12-05T02:11:04 < zyp> and it should probably be for better heat dissipation 2012-12-05T02:11:49 < dongs> whats the trace on usbpower 2012-12-05T02:11:51 < dongs> err pads 2012-12-05T02:11:52 < dongs> fuse/ 2012-12-05T02:12:01 < dongs> before going to smd cap 2012-12-05T02:12:12 < zyp> just a solder bridge 2012-12-05T02:12:44 < zyp> because I can't be assed to fuck with diodes or transistors or shit to control when current can flow in either direction 2012-12-05T02:12:52 < dongs> hehs 2012-12-05T02:13:45 < zyp> I'll short it when I want to power from usb or power stuff through usb in host mode if I ever get to that, and otherwise leave it open 2012-12-05T02:14:28 < zyp> hmm 2012-12-05T02:15:23 < zyp> when I think about it, a fet acts as a diode in reverse direction, so I could use a fet to turn on power to usb, and when it's not on, power would flow from usb if present :p 2012-12-05T02:15:41 < zyp> but oh well, it's not like it matters 2012-12-05T02:15:51 < zyp> I'll probably short it and leave it in bus powered mode anyway 2012-12-05T02:18:36 -!- a2cypher [~cypher@50.71.197.222] has joined ##stm32 2012-12-05T02:20:49 < zyp> hmm 2012-12-05T02:20:57 < zyp> wonder if the usb lines need the 22ohm resistors 2012-12-05T02:21:08 < zyp> I can't remember having checked that 2012-12-05T02:28:05 < dongs> pullup is internal? 2012-12-05T02:28:32 < zyp> haven't checked that either, but I would assume so, considering it's OTG 2012-12-05T02:29:18 < zyp> yep 2012-12-05T02:29:49 < zyp> internal pullups on both D+ and D- 2012-12-05T02:30:04 < zyp> oh, and «Do not add an external series resistor.» 2012-12-05T02:30:11 < zyp> so everything is fine there 2012-12-05T02:33:55 < zyp> it's apparently EHCI compliant in host mode 2012-12-05T02:33:59 < zyp> API wise 2012-12-05T02:34:23 < dongs> mebbe you can run lunix on it. 2012-12-05T02:35:05 < zyp> I'm just thinking that if I ever write a host stack, it'll probably be portable since it's EHCI 2012-12-05T02:36:49 < zyp> heh 2012-12-05T02:37:12 < zyp> it's apparently able to adjust the framerate in host mode 2012-12-05T02:37:38 < zyp> proposed usage is for I2S 2012-12-05T02:37:59 < zyp> so you can tune it to match usb framerate to I2S speed 2012-12-05T02:38:23 < zyp> shame that's not going to work in device mode :p 2012-12-05T02:40:24 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 264 seconds] 2012-12-05T03:11:13 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-05T03:11:13 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-05T03:11:13 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-05T03:23:55 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-05T03:42:48 < dongs> Forword current 2012-12-05T03:55:01 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 245 seconds] 2012-12-05T04:33:10 < baird> flyback: http://macrochan.org/view.php?u=ZQA2DQ37UAAST6V55P3M3HICBQTBLGUN 2012-12-05T04:35:00 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 264 seconds] 2012-12-05T04:50:25 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-05T05:05:42 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-05T05:25:13 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-05T05:29:12 -!- a2cypher [~cypher@50.71.197.222] has quit [Read error: Connection reset by peer] 2012-12-05T06:04:57 < gxti> as long as you keep complaining you're probably still alive (good advice in general) 2012-12-05T06:14:49 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has joined ##stm32 2012-12-05T06:27:58 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-05T06:28:05 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-05T06:45:03 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-05T06:48:19 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has quit [Quit: Leaving.] 2012-12-05T06:48:25 -!- emeb1 [~ericb@cpe-173-175-93-247.stx.res.rr.com] has joined ##stm32 2012-12-05T06:55:44 -!- emeb1 [~ericb@cpe-173-175-93-247.stx.res.rr.com] has quit [Quit: Leaving.] 2012-12-05T06:55:48 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has joined ##stm32 2012-12-05T07:03:07 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has quit [Quit: Leaving.] 2012-12-05T07:05:13 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-05T07:05:35 < dongs> hmm ,cocks 2012-12-05T07:05:38 < dongs> this lcd is not doing jack shit 2012-12-05T07:25:03 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 260 seconds] 2012-12-05T07:25:38 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Ping timeout: 250 seconds] 2012-12-05T07:32:59 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2012-12-05T07:46:11 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Ping timeout: 265 seconds] 2012-12-05T07:49:36 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2012-12-05T08:09:33 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Ping timeout: 244 seconds] 2012-12-05T08:16:45 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2012-12-05T08:37:54 -!- bcsllc-steve [~steve@ip68-105-49-117.no.no.cox.net] has quit [Ping timeout: 252 seconds] 2012-12-05T08:53:03 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-05T09:14:57 -!- GargantuaSauce_ [~sauce@blk-222-208-237.eastlink.ca] has quit [Quit: sauce] 2012-12-05T09:15:14 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2012-12-05T09:56:36 < dongs> http://i.imgur.com/PGJDn.png 2012-12-05T09:56:39 < dongs> this looks legit right? 2012-12-05T09:57:13 < zyp> legit how? 2012-12-05T09:57:27 < zyp> spi? 2012-12-05T09:57:29 < dongs> data on rising edge 2012-12-05T09:57:29 < dongs> yeah 2012-12-05T09:57:41 < dongs> CLK/SI/A0/NSS pins 2012-12-05T09:57:55 < dongs> the fucking LCD isnt doin shit 2012-12-05T09:58:32 < zyp> looks sane 2012-12-05T09:58:44 < dongs> HMm 2012-12-05T09:58:56 < zyp> if you got clock polarity and phase right 2012-12-05T10:02:42 < dongs> what hte fuck now my jlink shit doesnt connect 2012-12-05T10:03:32 < dongs> k there it goes 2012-12-05T10:07:50 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-05T10:09:01 < dongs> http://i.imgur.com/vDpvJ.png 2012-12-05T10:10:19 < dongs> http://i.imgur.com/D3j14.png CPOL_High, CPHA_2EDge 2012-12-05T10:10:53 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-05T10:10:53 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-05T10:10:53 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-05T10:13:49 < dongs> hmm wtrf 2012-12-05T10:14:10 < dongs> i also get weiiiiiiiird fucking divide by zero / assert failed shtis 2012-12-05T10:14:13 < dongs> in random places 2012-12-05T10:14:48 < cdh> dongs: About 9MHz? Not that it matters much, but why is NSS held low for so long before and after clocking bits? 2012-12-05T10:15:19 < dongs> 9mhz. no reason for nss. thats just how it is 2012-12-05T10:16:01 < dongs> thats how long it takes to do a GPIO_ResetBits(GPIO_SPI, PIN_SPI_NCS) call :) 2012-12-05T10:16:14 < zyp> probably because periphlib is fucking full of overhead 2012-12-05T10:16:19 < dongs> ^^^^^ this 2012-12-05T10:16:35 < dongs> its like tarduino SetPinMode() but in 32bits! 2012-12-05T10:16:49 < dongs> which one is high, BRR or BSRR 2012-12-05T10:17:12 < zyp> both are low, BSRR is high too 2012-12-05T10:17:28 < cdh> heh heh. Awesome. Isn't there a mode where the STM32 SPI master can control NSS? 2012-12-05T10:17:31 < zyp> upper 16-bits of BSRR is an alias of BRR 2012-12-05T10:17:43 < dongs> cdh, im not worried about that 2012-12-05T10:17:47 < zyp> and the S in BSRR means «set» 2012-12-05T10:17:49 < dongs> lcd isnt displaying jack shit 2012-12-05T10:18:02 < dongs> so the problem is probably not NSS being too slo :) 2012-12-05T10:18:12 < zyp> nah, shouldn't be a problem 2012-12-05T10:18:17 < cdh> Yeah, understood. Should be no problem holding NSS longer than needed as far as I understand SPI. 2012-12-05T10:18:54 < zyp> dongs, you have clock polarity wrong 2012-12-05T10:18:58 < cdh> Did you try slowing down to, say 1 MHz? 2012-12-05T10:19:04 < dongs> zyp, in which screenshot 2012-12-05T10:19:08 < dongs> 1st or 2nd 2012-12-05T10:19:13 < zyp> ah, first 2012-12-05T10:19:15 < dongs> < dongs> http://i.imgur.com/vDpvJ.png 2012-12-05T10:19:15 < dongs> < dongs> http://i.imgur.com/D3j14.png CPOL_High, CPHA_2EDge 2012-12-05T10:19:16 < dongs> this is now 2012-12-05T10:19:18 < zyp> didn't open second until now 2012-12-05T10:19:59 < zyp> ok, second screenshot looks correct 2012-12-05T10:21:03 < zyp> your clock is on the border of too high 2012-12-05T10:21:38 < zyp> try lowering the frequency 2012-12-05T10:22:54 < dongs> you sure? 125ns *period* 2012-12-05T10:23:00 < dongs> and 1 is 220ns 2012-12-05T10:23:06 < dongs> if anything, its twice as slow as it should be 2012-12-05T10:23:09 < zyp> ah, right 2012-12-05T10:23:49 < zyp> so, are you actually sending the right data then? 2012-12-05T10:23:57 < dongs> pretty sure 2012-12-05T10:24:05 < dongs> im using bullshit sample from seeedstudio where i got the lcd :) 2012-12-05T10:24:22 < zyp> maybe that's the problem? :p 2012-12-05T10:25:35 < dongs> http://www.seeedstudio.com/depot/serial-graphic-lcd-12864-st756567-ctrl-black-and-white-p-287.html 2012-12-05T10:25:43 < dongs> http://www.seeedstudio.com/depot/images/product/s0042501(LM6059B,serial%20example).c 2012-12-05T10:26:58 < cdh> The SPI master can order bits most significant bit first or least significant bit first (LSBFIRST). MSB first is most common. 2012-12-05T10:27:53 < zyp> dongs, I note that CS is not de-asserted between the bytes in that example 2012-12-05T10:28:21 < zyp> it's possible that the lcd resets it's state machine when CS is deasserted 2012-12-05T10:28:34 < dongs> wth 2012-12-05T10:29:33 < cdh> SdCmd pulls CS low at every byte, doesn't it? 2012-12-05T10:30:35 < zyp> oh, wait, fuck 2012-12-05T10:30:43 < zyp> I didn't see it's bitbanged SPI 2012-12-05T10:30:45 < dongs> http://i.imgur.com/bPbyA.png haha, using BRR/BSRR 2012-12-05T10:31:14 < dongs> hm actually t hats bad comparison cause i slowed hte clock way hte fuck down too 2012-12-05T10:31:17 < dongs> but still, a bit faster 2012-12-05T10:31:25 < dongs> 1.2us vs 940ns 2012-12-05T10:34:02 < cdh> Are you sure SCL/CLK is not inverted? The datasheet shows transitions of SI are allowed when SCL is low. That implies to me that when idle, SCL should be low. 2012-12-05T10:34:28 < zyp> huh? 2012-12-05T10:34:46 < cdh> Maybe as soon as NSS goes low, since CLK is high, the device thinks you are clocking the first bit 2012-12-05T10:34:49 < zyp> SI is sampled on the rising edge, meaning transitions should happen around the falling edge 2012-12-05T10:34:52 < zyp> and that is correct 2012-12-05T10:35:19 < zyp> when you are dealing with clocks high/low doesn't matter, rising/falling does 2012-12-05T10:37:09 < cdh> Sorry, I'm just going off the snippit of the datasheet dongs posted. tsds is min 38 ns, which means to me SI should not be transitioning at the rising edge, but at least 38 ns prior. 2012-12-05T10:37:43 < zyp> cdh, yes 2012-12-05T10:38:00 < zyp> and transitioning at the falling edge is as far away from the rising edge as it gets 2012-12-05T10:38:43 < zyp> dongs, maybe a dumb question, but are you handling the RES signal, and are JP1 and JP2 set correctly? 2012-12-05T10:38:53 < dongs> yeah 2012-12-05T10:39:03 < dongs> JP1 is shorted 2012-12-05T10:39:05 < cdh> zyp: I see that now. Sorry, I totally blew that. 2012-12-05T10:39:13 < zyp> dongs, ah, that's wrong 2012-12-05T10:39:14 < dongs> oh waht the fuck 2012-12-05T10:39:23 < dongs> i read that part of datasheet 2012-12-05T10:39:35 < dongs> then unshorted the one that was shorted 2012-12-05T10:39:39 < dongs> and shorted JP1 2012-12-05T10:39:48 < zyp> JP2 is the one that should be shorted :p 2012-12-05T10:39:58 < dongs> retard mode ON 2012-12-05T10:41:10 < zyp> it happens, so sometimes it pays to check the most dumbest things 2012-12-05T10:41:28 < dongs> no, i DID check it 2012-12-05T10:41:37 < dongs> i think the (default) part is what threw me off 2012-12-05T10:41:50 < dongs> i assumed the current solder blob was default (wahtever position it was) 2012-12-05T10:41:51 < dongs> and swapped htem 2012-12-05T10:42:35 < dongs> cocks 2012-12-05T10:42:38 < dongs> i got shit on screen 2012-12-05T10:42:49 < dongs> yep 2012-12-05T10:43:04 < cdh> sweet! 2012-12-05T10:44:14 < dongs> http://i.imgur.com/mXyjr.jpg 2012-12-05T10:45:05 < zyp> nice size on that breakout 2012-12-05T10:45:24 < dongs> that mine, not emebs. his is wider 2012-12-05T10:45:35 < zyp> that's what I figured 2012-12-05T10:45:54 < zyp> is that the one with usb to uart converter? 2012-12-05T10:46:16 < dongs> ya 2012-12-05T10:46:47 < dongs> Common output mode select= reverse 2012-12-05T10:46:50 < dongs> i thi nk i need to turn this part off 2012-12-05T10:48:04 < dongs> oh wait maybe thats flip shit 2012-12-05T10:48:07 < baird> Cool, a Japanese LCD that reads right -> left 2012-12-05T10:48:22 < zyp> you mean arabic 2012-12-05T10:48:47 < zyp> japanese is not an RTL language 2012-12-05T10:49:01 < dongs> success. 2012-12-05T10:51:05 < dongs> FUCKING IMGURRRRRRRRRRRRRRRRRRRR 2012-12-05T10:52:09 < dongs> http://i.imgur.com/fSJn4.jpg 404? 2012-12-05T10:52:28 < zyp> yes 2012-12-05T10:52:45 < zyp> that happened earlier too, but then it appeared after reloading 2012-12-05T10:52:49 < dongs> worthless. now i have to email teh fucking pic to myself 2012-12-05T10:54:32 < dongs> http://i.minus.com/jIk3bBkbuznJw.jpg there i fixed it. 2012-12-05T10:56:47 < jpa-> hmm, 20kB flash use for exception handling in c++ in a fairly large application.. not too bad 2012-12-05T11:23:19 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2012-12-05T11:25:44 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2012-12-05T11:31:56 -!- alexn [~alexn@dslb-188-110-052-203.pools.arcor-ip.net] has joined ##stm32 2012-12-05T11:36:43 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 255 seconds] 2012-12-05T11:38:37 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-12-05T11:40:24 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2012-12-05T11:40:35 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2012-12-05T11:43:41 < karlp> zyp: what's with the mix of letters and numbers for the ports on the top section of your bga board? 2012-12-05T11:44:09 < zyp> it's how LPC4300 pins are named 2012-12-05T11:44:55 < zyp> they are grouped in groups 0-F with various numbers of pins in each group 2012-12-05T11:45:10 < zyp> IIRC the smallest group contains two pins and the largest contains 21 2012-12-05T11:45:51 < zyp> and gpio controls are mapped across those, but in a completely different order, so it's pretty insane :p 2012-12-05T11:59:49 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Ping timeout: 246 seconds] 2012-12-05T12:04:34 < dongs> hm shitty chinese code bugs bitmaps in release build 2012-12-05T12:06:45 < dongs> .. sometimes 2012-12-05T12:11:03 < dongs> http://jp.mouser.com/ProductDetail/Atmel/ATSHA204-TH-DA-T/?qs=sGAEpiMZZMteY%252blXHTQ5JPEgc5hlb5NJ man this is so cheap it makes me wanna buy some just to fuck a r ound wiht 2012-12-05T12:13:01 -!- alexn [~alexn@dslb-188-110-052-203.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-05T12:15:24 < karlp> huh, that's about as cheap as the microchip eui48 eeproms we're using 2012-12-05T12:15:59 < dongs> but you get an AWESOME rng 2012-12-05T12:16:01 < dongs> and sha256 2012-12-05T12:16:14 < dongs> and unique number generator 2012-12-05T12:16:16 < dongs> that is GUARANTEED 2012-12-05T12:16:23 < dongs> to be unique across ALL DEVICES CREATED 2012-12-05T12:16:36 < karlp> chip features a wide array of defensive mechanisms specifically designed to prevent physical attacks on the chip itself 2012-12-05T12:17:31 < dongs> karlp: The Atmel ATSHA204 can generate high-quality random numbers and employ them for any purpose, including as part of the crypto protocols of this device. Because each 256-bit random number is guaranteed to be unique from all numbers ever generated on this or any other device, 2012-12-05T12:20:53 < karlp> moah bits 2012-12-05T12:21:58 < dongs> more bits than you can shake a stick at 2012-12-05T12:36:07 -!- Laurenceb_ [~Laurence@host86-178-4-254.range86-178.btcentralplus.com] has joined ##stm32 2012-12-05T12:41:16 < jpa-> bah, why is everything always so difficult :( 2012-12-05T12:42:12 < dongs> blame lunix 2012-12-05T12:42:51 < jpa-> linux would make it so easy 2012-12-05T12:42:57 < jpa-> the lack of linux is the problem 2012-12-05T12:43:07 < dongs> haha 2012-12-05T12:44:31 < karlp> are you sureyou don't just need more xml? 2012-12-05T12:44:37 < karlp> more xml normally solves problems 2012-12-05T12:44:45 < jpa-> no 2012-12-05T12:44:58 < jpa-> without linux if i try to use xml i'll just get into yet another dependency hell 2012-12-05T12:45:03 < jpa-> it's linux what i need 2012-12-05T12:46:53 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-05T12:47:23 < dongs> not more xml, but more uml. 2012-12-05T12:47:32 < karlp> ooh, even better! 2012-12-05T12:48:35 < karlp> regexs maybe? http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 2012-12-05T12:52:21 < jpa-> i think i'll add more lua 2012-12-05T12:52:22 < Laurenceb_> what are you trying to do? 2012-12-05T12:52:28 < jpa-> Laurenceb_: everything 2012-12-05T12:52:33 < jpa-> and it's not working 2012-12-05T12:52:47 < jpa-> it doesn't compile therefore it doesn't work 2012-12-05T12:52:56 < Laurenceb_> lol 2012-12-05T12:53:08 < Laurenceb_> embedded code? 2012-12-05T12:53:31 < jpa-> it all started when i needed just some nice simple small C++ matrix library.. and now a week later i have come to conclusion that everything i have done is utter crap 2012-12-05T12:53:35 < Laurenceb_> or something with xml? 2012-12-05T12:53:39 < Laurenceb_> ah 2012-12-05T12:54:20 * Laurenceb_ is trying to write some scripts to convert gps data to distances along individual roads 2012-12-05T12:54:24 < Laurenceb_> this is not fun either 2012-12-05T12:54:33 < jpa-> i have hacked libstdc++ so that i can use .. but nothing else really works; i am using nuttx nxwidgets, but in reality it's all crap too.. even crap feels like crap today! 2012-12-05T12:58:24 * Laurenceb_ bbl 2012-12-05T13:03:06 -!- Laurenceb_ [~Laurence@host86-178-4-254.range86-178.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-05T13:04:43 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-05T13:09:10 -!- moritz1 [~mmueller@cohen.emsp.tu-berlin.de] has joined ##stm32 2012-12-05T13:13:12 -!- dekar_ [~dekar@212.255.17.245] has quit [Quit: Leaving] 2012-12-05T13:13:35 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-05T13:13:36 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-05T13:27:40 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-05T13:45:51 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-05T13:48:04 < dongs> ardwino 2012-12-05T13:52:46 < baird> retrobritein: http://i.imgur.com/3jKac.jpg 2012-12-05T13:53:59 <+Steffanx> Still ugly :P 2012-12-05T13:57:07 <+Steffanx> You mean ardwhiner dongs 2012-12-05T13:59:40 < zyp> *yawn* 2012-12-05T13:59:50 <+Steffanx> Good morning 2012-12-05T13:59:58 <+Steffanx> Afternoon actually 2012-12-05T13:59:59 < zyp> yeah, sure 2012-12-05T14:00:07 <+Steffanx> Yep, very sure 2012-12-05T14:00:15 < dongs> zyp, how goes softi2c 2012-12-05T14:00:26 < baird> It's like I only just spent $2200 on a new Apple product just yesterday... http://i.imgur.com/Y66vt.jpg :) 2012-12-05T14:00:39 < zyp> dongs, haven't done anything yet 2012-12-05T14:00:40 <+Steffanx> You are !@#$%ˆ& sick baird 2012-12-05T14:00:49 <+Steffanx> WASTE OF MONEY 2012-12-05T14:01:35 < dongs> https://youtube.com/watch?v=_nLLECY6m_Q lulz. 2012-12-05T14:01:49 <+Steffanx> No, just no. Had enough of that song 2012-12-05T14:01:55 < baird> So... $4300 for an IBM-5150 PC, w/ 128kB wasn't a waste of monies at the time... 2012-12-05T14:02:23 <+Steffanx> At the time, no.. now yes :P 2012-12-05T14:02:42 < baird> Oddly, the difference in the keycaps isn't visible to the eye. 2012-12-05T14:05:32 < baird> beb, going to play Karateka on my new gamen rig. 2012-12-05T14:07:33 <+Steffanx> w00t 2012-12-05T14:07:41 <+Steffanx> prince of persia is next? 2012-12-05T14:10:34 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-05T14:11:55 <+Steffanx> You really paid 2.2k for it baird ? 2012-12-05T14:13:06 < baird> Hell no. I think that one was bought for $50 (with a stack of extras--dual drive, printer, etc) back in 2000. 2012-12-05T14:14:06 <+Steffanx> Ah, ok :) 2012-12-05T14:14:15 < baird> Until last year, I had two non-platinum IIe's, one was found on the kerbside, and the other came with the $50 lot above. Gave both away to 6502'ers 2012-12-05T14:14:29 < dongs> http://i.imgur.com/WNmzP.png america 2012-12-05T14:14:58 <+Steffanx> The yankees aren't used to the metric system :) 2012-12-05T14:20:38 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-05T14:22:01 -!- alexn [~alexn@dslb-188-110-052-203.pools.arcor-ip.net] has joined ##stm32 2012-12-05T14:28:17 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2012-12-05T14:28:28 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-05T14:36:12 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 264 seconds] 2012-12-05T14:38:51 -!- alexn_ [~alexn@dslb-088-066-250-140.pools.arcor-ip.net] has joined ##stm32 2012-12-05T14:39:12 -!- alexn [~alexn@dslb-188-110-052-203.pools.arcor-ip.net] has quit [Ping timeout: 264 seconds] 2012-12-05T14:41:14 < Laurenceb> http://www.bbc.co.uk/news/uk-20610197 2012-12-05T14:41:17 < Laurenceb> epic lol 2012-12-05T14:42:47 <+Steffanx> Sure 2012-12-05T14:43:23 <+Steffanx> For someone who actually cares about this bs it's maybe funny 2012-12-05T14:52:31 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2012-12-05T14:56:25 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-05T15:02:02 < baird> Probably that Kyle Pedolands guy at 2Day again.. 2012-12-05T15:10:12 < Laurenceb> http://pastebin.com/KquL8gre 2012-12-05T15:10:33 < dongs> what faggotry language is this 2012-12-05T15:10:40 < dongs> manlab 2012-12-05T15:10:45 < Laurenceb> lol 2012-12-05T15:11:21 < Laurenceb> it tells you what road you are on 2012-12-05T15:12:29 < dongs> are youfor real 2012-12-05T15:12:46 < Laurenceb> ya 2012-12-05T15:13:18 < Laurenceb> ghetto satnav 2012-12-05T15:14:10 < dongs> Laurenceb: i heard you caused SPEARS to fail into the ocean 2012-12-05T15:15:31 <+Steffanx> you need a language that forces you to use more spaces Laurenceb 2012-12-05T15:15:35 < zyp> I heard he went out and farted, causing unexpected winds 2012-12-05T15:16:22 <+Steffanx> He first asked someone to pull his finger 2012-12-05T15:24:24 < dongs> https://youtube.com/watch?v=o8VZX4sHn-4 wat 2012-12-05T15:26:46 <+Steffanx> uh what dongs? 2012-12-05T15:27:07 <+Steffanx> The two on both side of the video are scary 2012-12-05T15:27:12 <+Steffanx> *sides 2012-12-05T15:29:46 < Laurenceb> lilly allen?! 2012-12-05T15:29:53 < Laurenceb> do not care 2012-12-05T15:38:20 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 250 seconds] 2012-12-05T15:39:05 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-05T15:42:00 < jpa-> hmm lua is not very memory efficient 2012-12-05T15:42:25 < baird> https://www.youtube.com/watch?v=F7BY7l3cbNo#t=1m35s better wat 2012-12-05T15:43:07 <+Steffanx> isn't "known" jpa- ? 2012-12-05T15:43:37 < jpa-> maybe 2012-12-05T15:44:08 <+Steffanx> maybe :) 2012-12-05T15:44:11 < jpa-> but 20kB ram for a hello world is not good, or then my test is not valid 2012-12-05T15:46:04 < baird> https://www.youtube.com/watch?v=6-JfIduytVs .. I made the attempt to have this go memetic when the duckroll/rickroll thing was getting started. Failed. :/ 2012-12-05T15:48:20 < karlp> Laurenceb: is that using OSM data? 2012-12-05T15:48:59 < Laurenceb> yes 2012-12-05T15:50:14 < karlp> oh, duh, it even has osm server in it. 2012-12-05T15:50:20 < karlp> I was looking at the k/v attribute names 2012-12-05T15:51:42 < jpa-> http://hackaday.com/2012/12/04/simplifying-fabrication-of-soft-robots/ that's one weird looking dildo 2012-12-05T15:52:13 < Laurenceb> karlp: probably nicer in pytohn or something 2012-12-05T15:52:20 < karlp> duh 2012-12-05T15:52:47 < Laurenceb> i used matlab as its part of a big matlab project im working on 2012-12-05T16:01:29 <+Steffanx> I bet you can already find something like that on a random market in japan jpa- 2012-12-05T16:01:55 < jpa-> i bet you did, Steffanx 2012-12-05T16:02:22 <+Steffanx> Sometimes you act like a 5 year old jpa- 2012-12-05T16:06:22 < jpa-> thanks, i value my young looks 2012-12-05T16:09:51 <+Steffanx> looks .. i didn't say ANYTHING about your looks 2012-12-05T16:11:09 < jpa-> yeah but you were thinking about them, right? 2012-12-05T16:12:16 <+Steffanx> Can't you go to some 4chan channel? 2012-12-05T16:12:18 -!- a2cypher [~cypher@50.71.197.222] has joined ##stm32 2012-12-05T16:13:42 < jpa-> i thought i am on one; this has a similarly strange combination of letters and numbers on the channel name? 2012-12-05T16:14:38 < dongs> haha at first comment 2012-12-05T16:15:17 <+Steffanx> scroll back issues dongs? 2012-12-05T16:16:40 < dongs> no, i was *gasp* busy 2012-12-05T16:27:24 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-05T16:35:12 < Laurenceb> work?! crazy 2012-12-05T16:40:01 < dongs> this TS3DV621 thing is fucking idiotic 2012-12-05T16:40:13 < dongs> it has A/B lanes mixed between each o ther.... 2012-12-05T16:40:29 < dongs> like LANEA+ LANEB+ LANEA- LANEB- 2012-12-05T16:40:31 < dongs> on adjacent pins 2012-12-05T16:40:36 < dongs> hwo the FUCK do they expect people to route this hsit 2012-12-05T16:41:07 < dongs> i should see if they have an example layout for this fucking thing 2012-12-05T16:41:14 < zyp> heh 2012-12-05T16:41:23 < dongs> of course they dont 2012-12-05T16:42:31 < zyp> that's some weird qfn 2012-12-05T16:44:04 < dongs> http://i.imgur.com/63K62.png 2012-12-05T16:44:14 < dongs> this is how it has the A/B lanes routed... 2012-12-05T16:44:32 < zyp> yeah, I see it from the datasheet 2012-12-05T16:44:46 < dongs> that makes no fucking sense. 2012-12-05T16:45:36 < zyp> well, it probably simplifies internal layout, by keeping the two lines you mux between adjacent to each other 2012-12-05T16:45:59 < dongs> oh sure, but how do I route this trash then? 2012-12-05T16:46:06 < dongs> A on top and B on bottom? 2012-12-05T16:46:25 < zyp> it's probably intended for multilayer boards 2012-12-05T16:46:38 < dongs> this is 4 layer, of course 2012-12-05T16:46:58 < dongs> but that means i'd need solid ground plane on both L2 and L3 2012-12-05T16:47:01 < dongs> for this shit 2012-12-05T16:47:03 < dongs> for trace impedance 2012-12-05T16:47:09 < zyp> yeah, that's what I was about to comment 2012-12-05T16:47:52 < zyp> so, this being 4 layer, does it mean you can panel my shit along with it? :p 2012-12-05T16:48:46 < dongs> oh sure, itll be a while before this is done though. its the hdmi>dp + backlight + mcu + ??? for the highres monitor 2012-12-05T16:49:00 < dongs> and ive been assburgering all week and not getting any of it done 2012-12-05T16:50:35 < zyp> I found out I can use all four outputs from my nvidia card at the same time, so I'm a bit tempted to get one of those displays now 2012-12-05T16:50:47 < dongs> teehee 2012-12-05T16:51:23 < zyp> also, I found out that either my graphics card or my monitor (dell u2711) doesn't appear to support HDMI 1.3 2012-12-05T16:51:33 < zyp> because it won't run more than 1920x1080 over HDMI 2012-12-05T16:51:50 <+Steffanx> Poor you? 2012-12-05T16:52:08 < zyp> not really, it works fine with DP or dual link DVI 2012-12-05T16:52:32 -!- a2cypher [~cypher@50.71.197.222] has quit [Quit: Leaving.] 2012-12-05T16:52:45 < zyp> I'm just a bit curious about where the limitation is 2012-12-05T16:53:58 < dongs> haha.. 2012-12-05T16:54:03 < dongs> i clicked on bookmark for imgur on my shit 2012-12-05T16:54:07 < zyp> http://bin.jvnv.net/f/s5Gsa.png <- here's with it connected to both DVI, DP and HDMI at the same time, in addition to my second display running 1050x1680 2012-12-05T16:54:10 < dongs> and it redirected me to api.pinterest.com 2012-12-05T16:54:15 < dongs> with some kinda bullshit json spam on it 2012-12-05T16:54:36 < zyp> leftmost is HDMI 2012-12-05T16:55:04 < dongs> imgur is losing SO much of my business. 2012-12-05T16:55:05 < dongs> what the he ll. 2012-12-05T16:55:14 < dongs> http://i.minus.com/j2Mgpcuo5HmDH.png zyp, somethin liek this? 2012-12-05T16:55:40 < zyp> I guess 2012-12-05T16:56:32 < zyp> I bet it's nice on six layer boards, running A on L1 and B on L3, with ground on L2 2012-12-05T16:56:44 <+Steffanx> 3 different screen sizes .. yikes :P 2012-12-05T16:56:52 <+Steffanx> or evne 4? 2012-12-05T16:57:28 < zyp> Steffanx, considering it's the same screen connected three times, it's a bit stupid :p 2012-12-05T16:57:52 < zyp> I just wanted to test that I could use all outputs simultanously 2012-12-05T16:58:19 < zyp> which I couldn't before a recent driver upgrade 2012-12-05T16:58:50 -!- daku is now known as DaKu 2012-12-05T17:00:03 -!- alexn_ [~alexn@dslb-088-066-250-140.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-05T17:08:18 < Laurenceb> http://i.imgur.com/InrRZ.jpg 2012-12-05T17:08:20 < Laurenceb> stepper tiem 2012-12-05T17:09:15 < dongs> haha what is that 2012-12-05T17:09:26 < dongs> dicknplace without spaces? 2012-12-05T17:09:41 < Laurenceb> its a "probe" 2012-12-05T17:09:56 < Laurenceb> people put their arm into the bottom 2012-12-05T17:10:02 < Laurenceb> and get probed 2012-12-05T17:10:53 < Laurenceb> its measured infrared absorption versus pressure 2012-12-05T17:11:07 < dongs> looks blogtastic 2012-12-05T17:11:11 < Laurenceb> *measures 2012-12-05T17:11:17 < dongs> heh wtf, this board im looking at uses 3 shitty 8051 MCUs 2012-12-05T17:11:46 < dongs> C8051F305, C8051T606 2012-12-05T17:11:57 < Laurenceb> sounds like the work of tom66 2012-12-05T17:12:08 < dongs> and some oddball chink one 2012-12-05T17:12:23 < dongs> WT6702F 2012-12-05T17:14:32 < dongs> digikey is failing to search.......... 2012-12-05T17:15:44 < dongs> Internal Server Error - Read 2012-12-05T17:15:44 < dongs> The server encountered an internal error or misconfiguration and was unable to complete your request. 2012-12-05T17:15:47 < dongs> lunix eerrors 2012-12-05T17:17:19 < jpa-> X-Powered-By: ASP.NET 2012-12-05T17:17:29 < jpa-> pretty cool that ASP.NET runs on lunix now 2012-12-05T17:19:58 -!- alexn_ [~alexn@dslb-088-066-250-140.pools.arcor-ip.net] has joined ##stm32 2012-12-05T17:20:16 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2012-12-05T17:21:44 < dongs> fucking atmel docs are worthless 2012-12-05T17:22:11 < dongs> no mention if "All supplied parts are preprogramed with a default USB bootloader" means its something in ROM or they just preload a ghetto DFU bootloader into flash 2012-12-05T17:25:24 < dongs> is digikey broken for nayone else??? 2012-12-05T17:26:09 < zyp> are you thinking 32U4 or something? 2012-12-05T17:26:15 < dongs> yeas 2012-12-05T17:26:29 < zyp> I've worked with 32U4, it ships with a bootloader in flash, so you can replace it if you want 2012-12-05T17:26:35 < dongs> haha.. 2012-12-05T17:26:41 < zyp> it occupies some kilobytes at the top 2012-12-05T17:26:43 < dongs> what the fuck, atmel? 2012-12-05T17:26:44 < dongs> yeah 2012-12-05T17:26:52 < zyp> it's quite nice, honestly 2012-12-05T17:27:19 < zyp> because you can choose to boot either that or bottom of the flash with the hwb pin, similar to boot0 on stm32 2012-12-05T17:27:42 < zyp> so you don't need to do bootloader selection in software 2012-12-05T17:27:57 < dongs> right, but the fact that if you trash the bootloader youre fucked 2012-12-05T17:28:05 < dongs> and need tarduino-isp 2012-12-05T17:28:17 < dongs> where on stm32, you can boot into rom bootloader. 2012-12-05T17:28:51 < zyp> but the ability to replace it can be nice 2012-12-05T17:29:07 < dongs> well, you can replace a bootloader on stm32. 2012-12-05T17:29:10 < dongs> by like, writing your own. 2012-12-05T17:29:16 < dongs> but you stll have hardware fallback. 2012-12-05T17:29:38 < zyp> yeah, but then you get no nice hardware-supported way of choosing it 2012-12-05T17:29:52 < zyp> oh well 2012-12-05T17:29:53 < mansfeld> if you write your own, does it replace the st one or does it to a different memory area? 2012-12-05T17:30:01 < zyp> the latter case 2012-12-05T17:30:05 < zyp> you can't overwrite the st one 2012-12-05T17:30:12 < mansfeld> thanks 2012-12-05T17:30:32 < dongs> zyp, sure you do 2012-12-05T17:30:37 < dongs> boot1 high = hardware bootloader 2012-12-05T17:30:45 < dongs> boot1 whatever = your own written shit 2012-12-05T17:31:31 < zyp> huh? isn't boot0,boot1 like 0,x = flash, 1,1 = bootloader and 1,0 = sram? 2012-12-05T17:31:35 < zyp> or something like that 2012-12-05T17:33:25 < dongs> and? 2012-12-05T17:33:26 < mansfeld> 11 = embedded SRAM, 01 = system memory, x0 = user flash, according to AN2606 (so I suppose yes?) 2012-12-05T17:33:40 < dongs> zyp, point is, you can switch between ROM and your own bootloader 2012-12-05T17:33:42 < dongs> by boot1. 2012-12-05T17:33:52 < jpa-> not really, unless you reload the bootloader in ram every time 2012-12-05T17:33:57 < mansfeld> ok, but you can't overwrite the system bootloader, you put yours elsewhere in flash? 2012-12-05T17:33:57 < Laurenceb> ASPIE.NET 2012-12-05T17:34:04 < zyp> dongs, not as far as I understand it 2012-12-05T17:34:06 < dongs> mansfeld: yeah, it goes in flash 2012-12-05T17:34:09 < mansfeld> k 2012-12-05T17:34:10 < dongs> zyp: huh? 2012-12-05T17:34:26 < zyp> or wait 2012-12-05T17:34:26 < dongs> zyp, your flash bootloader is at 8000000 or whatever, then your app is at 8003000 2012-12-05T17:34:33 < zyp> well, yeah 2012-12-05T17:34:34 < dongs> rom bootloader is 2012-12-05T17:34:42 < dongs> when you boot from flash, you boot to your bootloader. 2012-12-05T17:34:46 < zyp> I see what you are saying 2012-12-05T17:34:58 < dongs> when you boot from ROM, it goes to the shit ST wrote. 2012-12-05T17:35:03 < dongs> so, thats switching it. 2012-12-05T17:35:06 < zyp> what you can't is skip the bootloader in flash 2012-12-05T17:35:11 < dongs> sure you can 2012-12-05T17:35:21 < dongs> it runs and skips 2012-12-05T17:35:25 < dongs> based on .wahtever condition. 2012-12-05T17:35:30 < zyp> that's not skipping :p 2012-12-05T17:35:31 < dongs> i.e. like openpilot HID bootloader shite. 2012-12-05T17:35:34 < dongs> yes it is. 2012-12-05T17:35:34 < zyp> but sure 2012-12-05T17:35:54 < zyp> also, it requires shit to be linked to start past the bootloader 2012-12-05T17:36:01 < dongs> right. 2012-12-05T17:36:22 < dongs> i still havent dicked with that so i have no idea what kinda implications this has on debugging. 2012-12-05T17:36:22 < zyp> the nice part about the avr way is that the bootloader is located at the top of flash, so it doesn't require any changes to normal code 2012-12-05T17:36:48 < dongs> zyp, and if you flash bootloader only and normal code is blank, it goes to bootloader anyway 2012-12-05T17:36:51 < dongs> since FF = nop 2012-12-05T17:43:58 < dongs> this backlight circuit is annoying 2012-12-05T17:46:24 -!- DaKu is now known as daku 2012-12-05T17:58:48 -!- daku is now known as DaKu 2012-12-05T18:13:15 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-05T18:14:03 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2012-12-05T18:24:54 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 260 seconds] 2012-12-05T18:25:10 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2012-12-05T18:25:46 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2012-12-05T18:26:08 -!- CheBuzz is now known as Guest79845 2012-12-05T18:59:27 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-05T19:17:15 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-05T19:21:41 -!- upgrdman_ [429f3cfe@blender/artist/upgrdman] has joined ##stm32 2012-12-05T19:24:36 -!- barthess [~barthess@5.100.200.122] has joined ##stm32 2012-12-05T19:31:43 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-05T19:47:08 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-05T19:50:29 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2012-12-05T20:09:05 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-05T20:16:13 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-05T20:21:32 -!- DaKu is now known as daku 2012-12-05T20:27:26 -!- moritz1 [~mmueller@cohen.emsp.tu-berlin.de] has quit [Ping timeout: 265 seconds] 2012-12-05T20:32:41 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-05T20:37:55 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-05T20:56:10 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-05T20:57:39 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-05T21:35:16 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-12-05T21:47:11 -!- Laurenceb_ [~Laurence@host86-178-4-254.range86-178.btcentralplus.com] has joined ##stm32 2012-12-05T22:04:04 -!- Laurenceb_ [~Laurence@host86-178-4-254.range86-178.btcentralplus.com] has quit [Read error: Connection timed out] 2012-12-05T22:04:44 -!- Laurenceb_ [~Laurence@host31-54-179-84.range31-54.btcentralplus.com] has joined ##stm32 2012-12-05T22:09:42 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2012-12-05T22:50:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-05T22:56:38 -!- barthess [~barthess@5.100.200.122] has quit [Quit: Leaving.] 2012-12-05T23:26:31 -!- dekar [~dekar@212.255.17.245] has joined ##stm32 2012-12-05T23:26:35 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-05T23:43:54 < karlp> whee, we're getting better, rtc wakeup interrupts working first time 2012-12-05T23:44:14 < ds2> so no more late projects? :D 2012-12-05T23:48:16 < karlp> depends what late is meant to mean :) 2012-12-05T23:50:37 < karlp> now it's the button press timing, and then some power saving games --- Day changed Thu Dec 06 2012 2012-12-06T00:09:14 < jpa-> interesting read http://www.adafruit.com/blog/2012/12/05/how-we-built-a-super-nintendo-out-of-a-wireless-keyboard-sifteo-sifteo/ especially the custom VM on STM32 2012-12-06T00:10:29 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-06T00:30:04 -!- alexn_ [~alexn@dslb-088-066-250-140.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-06T00:32:15 <+dekar> jpa-, I was thinking about doing exactly that myself 2012-12-06T00:32:40 <+dekar> NaCl fascinated me when I read their paper 2012-12-06T00:34:28 < ds2> salt? 2012-12-06T00:37:04 < zyp> native client? 2012-12-06T00:37:45 < jpa-> i wonder if there is any smart way to filter repeated packets when the host is querying both the hub and the device.. http://koti.kapsi.fi/jpa/stuff/pix/usb_repeats.png 2012-12-06T00:38:09 < zyp> just filter on addr 2012-12-06T00:38:32 < zyp> that's what I do in the total phase software 2012-12-06T00:38:43 < jpa-> maybe, but that requires user interaction 2012-12-06T00:38:49 < zyp> sure 2012-12-06T00:38:58 < zyp> but otherwise it would pick up all sorts of shit 2012-12-06T00:39:01 < jpa-> i'd prefer it to be smart by default 2012-12-06T00:39:08 < zyp> smart how? 2012-12-06T00:39:23 < jpa-> i.e. sensible traces, not much shit 2012-12-06T00:39:28 < zyp> if you sniff a busy bus, you'll get a lot of traffic to different addrs there 2012-12-06T00:39:33 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Ping timeout: 252 seconds] 2012-12-06T00:40:06 < jpa-> but i guess if it is a hub port and not the whole hub, it should be only the single device on the port? 2012-12-06T00:40:17 < jpa-> or do usb hubs pass all traffic to all ports? 2012-12-06T00:40:21 < zyp> most hubs just broadcast all outgoing FS traffic to all FS devices 2012-12-06T00:40:29 < jpa-> aha 2012-12-06T00:40:35 < zyp> so you get all outwards FS traffic 2012-12-06T00:41:23 < jpa-> ok, filtering by address then :) 2012-12-06T00:41:38 < zyp> please allow filtering by a list of addrs then 2012-12-06T00:42:04 < zyp> I usually filter by «0, 15» or whatever addr it normally gets assigned 2012-12-06T00:42:05 < jpa-> maybe i'll add a mode "filter by the previous set address received" 2012-12-06T00:42:19 < zyp> that's possible 2012-12-06T00:42:21 < jpa-> in addition to filter by address range 2012-12-06T00:42:27 < zyp> start with 0, then follow the set address 2012-12-06T00:42:45 < zyp> doesn't work if you attach after enumeration though :p 2012-12-06T00:42:57 < jpa-> yep, that's why address range is important also :) 2012-12-06T00:44:00 < zyp> and if you observe an enumeration on a different port, you'll get a set address setup packet from the host, but not the zero length data in status packet from the device 2012-12-06T00:44:20 < jpa-> if i had infinite buffer, it would be quite trivial to just let the user select the filter after the trace is complete.. but i don't, so useless packets fill up the memory quickly 2012-12-06T00:44:28 < zyp> yeah 2012-12-06T00:44:54 < zyp> I must say I kinda doubt the usefulness of it :p 2012-12-06T00:45:25 < zyp> but it's probably nice for debugging the enumeration itself, since that's not much data back and forth 2012-12-06T00:46:05 < jpa-> usefulness of short traces? 2012-12-06T00:46:11 < zyp> yeah 2012-12-06T00:46:41 < jpa-> i hope it will be useful in the hobbyist kind of devices 2012-12-06T00:47:13 < zyp> aren't my stuff hobbyist? :) 2012-12-06T00:47:18 < jpa-> should be quite enough to debug the typical USB CDC problems etc. 2012-12-06T00:47:47 < zippe> for that sort of thing, host-side tracing is usually enough 2012-12-06T00:47:50 < jpa-> well even to you, it would probably be useful if you didn't have any other usb analyzer :P 2012-12-06T00:48:13 < zippe> There are host-side tracers for most interesting systems 2012-12-06T00:48:39 < zippe> And for anything else, get a beagle 2012-12-06T00:48:42 < jpa-> zippe: often yeah, but it seems that when things go wrong the host side traces are sometimes a bit distant from the actual situation on the wire 2012-12-06T00:48:59 < zippe> The cheap beagles are very cheap 2012-12-06T00:49:23 < zippe> And the software sucks less than I expected 2012-12-06T00:49:42 < jpa-> aren't they like $500? 2012-12-06T00:49:50 < zyp> $475, apparently 2012-12-06T00:50:27 < zippe> $400 even on their website; I've seen them 20% off at times 2012-12-06T00:50:35 < zippe> Compared to the alternatives, that's a bargain 2012-12-06T00:50:58 < zyp> and I agree that the software is good 2012-12-06T00:51:17 < zyp> though, I haven't tried any alternatives except wireshark in usb mode 2012-12-06T00:51:27 < zyp> and that's pretty horrible 2012-12-06T00:51:32 < zippe> I've used the catc/lecroy stuff 2012-12-06T00:51:38 < zippe> it did not make me very happy 2012-12-06T00:51:39 < jpa-> $200 for dso quad and it does other stuff also ,) (but yeah, i agree that anything i might manage is on a totally different level than beagle) 2012-12-06T00:51:57 < zippe> the dso is embarrassingly bad 2012-12-06T00:52:13 < jpa-> is not, for a device of that size 2012-12-06T00:52:50 < zippe> That's like saying that HIV isn't that bad, for a virus. 2012-12-06T00:53:14 < zippe> If the size is the reason it sucks, then it should be bigger. 2012-12-06T00:53:16 <+Steffanx> Why people compare everything with HIV/AIDS? 2012-12-06T00:53:29 < zippe> It's an easy point of reference. Like the Nazis. 2012-12-06T00:53:30 < jpa-> zippe: what if i want a pocket-sized scope? 2012-12-06T00:53:52 < zippe> jpa-: Then you're stuck with an embarrassingly bad pocket-sized scope 2012-12-06T00:54:05 < zippe> My point is that it sucks as a scope. 2012-12-06T00:54:20 < jpa-> zippe: it handles all I2C, SPI, audio stuff i might ever want to throw at it 2012-12-06T00:54:36 < zippe> The frontend sucks, the software is bad, the UI is bad 2012-12-06T00:55:00 <+Steffanx> Now you insulted jpa- :P 2012-12-06T00:55:14 < zippe> From a user's perspective, your confidence that what's on the screen corresponds in any meaningful way to what's on the wire is very low 2012-12-06T00:55:21 < jpa-> frontend is not *that* bad, original software sucks but who cares if you enjoy writing your own :) 2012-12-06T00:55:37 < zippe> If I wanted to write software for a scope, I wouldn't be buying a pocket-sized scope 2012-12-06T00:55:45 < jpa-> ok, what would you buy? 2012-12-06T00:55:52 < zippe> It might be a fun hacking project, but it's a bad *tool* 2012-12-06T00:56:08 < jpa-> i don't think there are many scopes that are open source 2012-12-06T00:56:25 < zippe> I don't care about open source, I want to look at signals on a wire 2012-12-06T00:56:38 < jpa-> zippe: then don't think of it as an oscilloscope 2012-12-06T00:56:53 < jpa-> think of it as a portable programmable measure-something-thing 2012-12-06T00:57:03 < ds2> why not just move the device to a less busy port? 2012-12-06T00:57:13 < jpa-> ds2: every port will have a hub 2012-12-06T00:57:24 < zyp> not necessarily 2012-12-06T00:57:32 < ds2> no 2012-12-06T00:57:37 < ds2> it must have a ROOT hub 2012-12-06T00:57:42 < ds2> but everything else is optional 2012-12-06T00:57:58 < ds2> i just use a different port and don't have this problem 2012-12-06T00:58:12 < zyp> and if you are running a single FS device off a HS hub, it will be the only device on that particular TT, so likely you would only see that device's traffic 2012-12-06T00:58:19 < jpa-> ah, apparently yeah; i thought it was the root hub but it isn't 2012-12-06T00:58:21 < zippe> jpa-: That doesn't help; if it's not an oscilloscope, I don't want it 8) 2012-12-06T00:58:31 < ds2> yep 2012-12-06T00:58:42 < jpa-> zippe: ok, but i want it and i'm not embarrassed at all :) 2012-12-06T00:59:00 < zippe> jpa-: and as for what I'd buy; I have a Rigol for basic stuff, and one of the 2G/s cards in an HP16500 mainframe when I need to get silly 2012-12-06T00:59:19 <+Steffanx> A Rigol.. chinese crap etc, blabla :P 2012-12-06T00:59:29 < jpa-> zippe: and does either of those do usb analyzing? :P 2012-12-06T00:59:44 < zippe> jpa-: no, I use a beagle for that, because the software actually works 2012-12-06T00:59:53 < ds2> there aren't that many cases u really need a usb analyzer 2012-12-06T01:00:09 < zyp> ds2, but damn it's nice to have one 2012-12-06T01:00:15 < zippe> zyp: amen 2012-12-06T01:00:19 < jpa-> zippe: yeah, you are rich :) 2012-12-06T01:00:50 < ds2> zyp: yes... that is why I have that.. but it is also why I only have a beagle12 2012-12-06T01:03:38 < jpa-> zippe: but anyway, i think it is stupid that you need to buy $5000 worth of equipment when the $500 rigol could handle most of it if it just had the software 2012-12-06T01:04:17 < ds2> jpa-: the hantek ones run linux 2012-12-06T01:04:37 < Laurenceb_> zippe-H-bomb? 2012-12-06T01:04:58 < Laurenceb_> http://www.albinoblacksheep.com/flash/demented 2012-12-06T01:05:02 < jpa-> ds2: do they provide necessary information to write your own software & FPGA code? 2012-12-06T01:05:30 < zippe> jpa-: Not excessively so. It's more that tools pay for themselves. 2012-12-06T01:06:15 < zyp> as long as you use them for paid work, and not hobby stuff :p 2012-12-06T01:06:17 < jpa-> zippe: maybe if you are a self-employed professional; it's not likely that my hobbies would pay for themselves, and the tools i have at work are at work 2012-12-06T01:06:25 < zippe> No, even then. 2012-12-06T01:06:49 < zippe> If I want my hobbies to be fun, I can either enjoy making tools, or pay for tools so I can enjoy doing something else. 2012-12-06T01:07:03 < ds2> jpa-: no 2012-12-06T01:07:10 < zippe> If you wanted to play golf, would you buy a set of decent clubs, or would you resign yourself to learning how to make golf clubs from scratch? 2012-12-06T01:07:27 < zyp> hmm 2012-12-06T01:07:35 < jpa-> ds2: too bad 2012-12-06T01:07:44 < zippe> (see, not aids, not nazis… though i hate golf) 2012-12-06T01:08:02 <+Steffanx> If i wanted to play golf i would buy me just a set of clubs 2012-12-06T01:08:10 <+Steffanx> Good for the job, but not state of the art 2012-12-06T01:08:13 < zyp> I just realized that I've probably used way more money on photo equipment than electronics equipment 2012-12-06T01:08:21 < Laurenceb_> if i wanted to play golf id just join my colleagues 2012-12-06T01:08:26 < Laurenceb_> every day 2012-12-06T01:08:31 <+Steffanx> And you don't really use it zyp ? 2012-12-06T01:08:34 < Laurenceb_> all day 2012-12-06T01:08:46 < zyp> Steffanx, except for when I do 2012-12-06T01:09:01 <+Steffanx> 1 time/year? 2012-12-06T01:09:11 < jpa-> zippe: but if i want a pocket-sized device that can do a decent job of SPI/I2C/USB/USART etc. analysis and basic analog stuff also, there is nothing i could buy 2012-12-06T01:09:25 < zippe> jpa-: yup. Sucks, eh? no cure for cancer either 2012-12-06T01:09:35 < jpa-> nope, doesn't suck 2012-12-06T01:09:40 < jpa-> i'll just make one out of dso quad 2012-12-06T01:09:47 < jpa-> then cancer will be cured for ever 2012-12-06T01:09:53 < jpa-> but sleep time -> 2012-12-06T01:09:58 <+Steffanx> Have fun 2012-12-06T01:09:58 < zippe> But then you aren't working on your original project, you've recursed 2012-12-06T01:10:05 <+Steffanx> Say Hi to your wife jpa- 2012-12-06T01:10:09 < jpa-> zippe: i did not have an original project 2012-12-06T01:10:18 < jpa-> :D 2012-12-06T01:10:19 <+Steffanx> Say your "Hi from my IRC buddy" 2012-12-06T01:10:24 <+Steffanx> *-your 2012-12-06T01:12:41 < zyp> Steffanx, I used it in japan to shoot some videos of my friends crashing down a grassy hill on some rolling thing: https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-snc6/191165_4035976650036_320530184_o.jpg 2012-12-06T01:12:55 <+Steffanx> facebook.. 2012-12-06T01:13:13 < zyp> well, yeah, because I can't take pics of myself 2012-12-06T01:13:49 < zyp> oh, except the mirror trick of course 2012-12-06T01:13:53 < zyp> http://bin.jvnv.net/f/oOJTH.JPG 2012-12-06T01:14:39 <+Steffanx> You're getting bald mr zyp 2012-12-06T01:18:40 < zyp> if you say so 2012-12-06T01:19:12 <+Steffanx> zlog 2012-12-06T01:19:13 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-12-05.html 2012-12-06T01:19:17 <+Steffanx> Yes, i did 2012-12-06T01:19:22 < zyp> ok 2012-12-06T01:25:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-06T01:26:47 -!- upgrdman_ [429f3cfe@blender/artist/upgrdman] has quit [Quit: Page closed] 2012-12-06T01:51:06 -!- Laurenceb_ [~Laurence@host31-54-179-84.range31-54.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-06T01:54:12 -!- a2cypher [~cypher@50.71.197.222] has joined ##stm32 2012-12-06T02:03:51 -!- l4cr0ss [~lacro$$@174.34.185.251] has joined ##stm32 2012-12-06T02:03:54 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-06T03:09:36 -!- l4cr0ss [~lacro$$@174.34.185.251] has quit [Quit: l4cr0ss] 2012-12-06T03:10:09 -!- l4cr0ss [~lacro$$@174.34.185.251] has joined ##stm32 2012-12-06T03:10:31 -!- l4cr0ss [~lacro$$@174.34.185.251] has quit [Client Quit] 2012-12-06T03:10:50 -!- l4cr0ss [~lacro$$@174.34.185.251] has joined ##stm32 2012-12-06T03:18:40 -!- l4cr0ss [~lacro$$@174.34.185.251] has quit [Quit: l4cr0ss] 2012-12-06T03:19:01 -!- l4cr0ss [~lacro$$@174.34.185.251] has joined ##stm32 2012-12-06T03:45:28 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 244 seconds] 2012-12-06T03:46:41 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-06T03:49:59 -!- grummund [~user@unaffiliated/grummund] has quit [Read error: Operation timed out] 2012-12-06T03:51:49 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-06T04:06:23 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 260 seconds] 2012-12-06T04:13:52 < dongs> sup 2012-12-06T04:13:56 < dongs> slept until 11am, good shit. 2012-12-06T04:28:54 < dongs> dong shakes 2012-12-06T05:05:11 -!- l4cr0ss [~lacro$$@174.34.185.251] has quit [Quit: l4cr0ss] 2012-12-06T05:06:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-06T05:11:47 -!- l4cr0ss [~lacro$$@174.34.185.251] has joined ##stm32 2012-12-06T05:39:45 -!- Guest79845 [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2012-12-06T05:40:36 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2012-12-06T05:48:06 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2012-12-06T05:51:04 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2012-12-06T05:51:26 -!- CheBuzz is now known as Guest47354 2012-12-06T05:53:21 -!- Guest47354 is now known as CheBuzz_Home 2012-12-06T06:09:55 -!- CheBuzz_Home [~CheBuzz@76.164.192.124] has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0] 2012-12-06T06:19:34 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 240 seconds] 2012-12-06T06:20:51 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-06T06:25:02 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-06T06:25:48 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 252 seconds] 2012-12-06T06:26:58 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-06T06:27:06 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-06T06:35:11 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-06T06:58:19 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2012-12-06T06:58:46 -!- a2cypher [~cypher@50.71.197.222] has quit [Quit: Leaving.] 2012-12-06T07:09:02 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has joined ##stm32 2012-12-06T07:10:59 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has quit [Client Quit] 2012-12-06T07:11:13 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has joined ##stm32 2012-12-06T07:13:14 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has quit [Client Quit] 2012-12-06T07:13:20 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has joined ##stm32 2012-12-06T07:28:03 -!- emeb [~ericb@cpe-173-175-93-247.stx.res.rr.com] has quit [Quit: Leaving.] 2012-12-06T07:29:55 -!- l4cr0ss [~lacro$$@174.34.185.251] has quit [Quit: l4cr0ss] 2012-12-06T07:31:39 -!- l4cr0ss [~lacro$$@75-143-86-16.dhcp.aubn.al.charter.com] has joined ##stm32 2012-12-06T07:32:00 -!- l4cr0ss [~lacro$$@75-143-86-16.dhcp.aubn.al.charter.com] has quit [Client Quit] 2012-12-06T07:35:09 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-06T07:44:38 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Ping timeout: 252 seconds] 2012-12-06T08:26:54 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-06T08:35:57 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-06T08:39:50 < baird> Hmm. There was a Kickstarter for the Z180 CP/M "P112" kits.. which actually met the funding goal. But then the guy got burnt from KS taking their cut, so now he has to do some out-of-band funding to finish the project. 2012-12-06T08:44:36 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 248 seconds] 2012-12-06T08:45:34 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2012-12-06T08:46:26 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-06T08:53:06 -!- claude is now known as Claude 2012-12-06T08:53:51 -!- alexn [~alexn@dslb-178-002-028-055.pools.arcor-ip.net] has joined ##stm32 2012-12-06T08:55:02 < zippe> I heard about the project 2012-12-06T08:55:18 < zippe> Perhaps I'm glad I didn't order one? 2012-12-06T08:57:54 < baird> He's pricing has gone up too. This round's kits are US$200. Mine was $160. 2012-12-06T09:00:58 < baird> Obviously he didn't put it up enough.. 2012-12-06T09:07:34 < baird> What I'd like to see is a mass-production run of the P112 IDE interface-- they're currently done as one-offs by a guy, and cost like $90. P112 + IDE + Uzi180 = usable SysV Unix on a Z180. :) 2012-12-06T09:12:19 < dongs> could it possibly be because noone gives a fuck 2012-12-06T09:16:49 < baird> Matrix Revolutions? No. 2012-12-06T09:17:53 < dongs> RIP mcafee 2012-12-06T09:19:08 < baird> Which goes to show, you should always pay bribes in the 3rd World. 2012-12-06T09:23:03 < baird> Fuck MST. "/Everyone/ on the Internet says we're funny!" 2012-12-06T09:23:11 < dongs> yeah 2012-12-06T09:23:13 < dongs> totally unfunny shit 2012-12-06T09:28:57 < baird> Latest news about McAfee-- he's going to get a free 30 day trail. :) 2012-12-06T09:29:14 < dongs> yeah, old joke is old 2012-12-06T09:29:36 -!- alexn [~alexn@dslb-178-002-028-055.pools.arcor-ip.net] has quit [Remote host closed the connection] 2012-12-06T09:29:42 -!- Claude is now known as claude 2012-12-06T09:30:40 < zippe> More amusing is that the Vice guys fucked him over 2012-12-06T09:30:44 < zippe> That was priceless 2012-12-06T09:35:12 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-06T09:35:13 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-06T09:35:13 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-06T09:35:16 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-06T09:42:33 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2012-12-06T09:43:09 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-06T09:54:34 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-06T09:56:34 <+Steffanx> Good morning/evening 2012-12-06T09:57:09 <+Steffanx> Yeah, Want one 2012-12-06T10:19:39 -!- Netsplit *.net <-> *.split quits: Posterdati, gxti, claude 2012-12-06T10:19:43 -!- Netsplit over, joins: gxti 2012-12-06T10:20:02 -!- Netsplit over, joins: claude, Posterdati 2012-12-06T10:34:05 < baird> Woo. The Raspberry Pi /Supercomputer/ cluster just complied Linux in 59m42s --the one hour barrier has been broken. :D 2012-12-06T10:34:19 < dongs> lawl 2012-12-06T10:34:25 < dongs> was that due to addition of several 512meg memory models? 2012-12-06T10:34:31 <+Steffanx> How many? And clocked at 1GHz? 2012-12-06T10:35:03 < baird> One more, so a 6-node cluster. I didn't have a spare SDcard to bring up the 7th. 2012-12-06T10:36:03 <+Steffanx> What kind of sw you use for that? 2012-12-06T10:36:55 < dongs> probably just usual distcc crap 2012-12-06T10:36:57 < baird> the same distcc as before. Seperate system images on each node (had tried it with netboot) 2012-12-06T10:37:04 <+Steffanx> oh, distcc of course :) 2012-12-06T10:37:07 < dongs> dickcc 2012-12-06T10:37:21 <+Steffanx> Never compiled a kernel myself, how fast a 'normal' pc does it? 2012-12-06T10:37:36 <+Steffanx> Oh, i did it once, but don't remember how fast/slow it was 2012-12-06T10:37:52 <+Steffanx> Yes yes, we know you dislike open sores dong$ 2012-12-06T10:38:33 < baird> This was with a stock .config, which includes a crapload of useless modules (~600) that I never include on my other system kernel compiles, so hard to tell. 2012-12-06T10:39:17 <+Steffanx> Heh, this reminds me of when i was in #avr32 2012-12-06T10:39:24 < baird> At one point, I had a system that could compile its kernel (module-less, only necessary devices) in just under 3 minutes. That was back in the linux-2.0 days, though. 2012-12-06T10:39:27 <+Steffanx> where this guy was porting debian to AVR32 2012-12-06T10:39:44 <+Steffanx> I think he stopped the project.. ap7000 is dead anyway 2012-12-06T10:40:12 <+Steffanx> A guy who worked/works for atmel had a shitload of AVR32 boards running for it :) 2012-12-06T10:41:08 < baird> I think the usual kernel compiles on the Lemote take about 25 minutes. I would guess a 'decent' machine would do it in around 10. 2012-12-06T10:41:11 <+Steffanx> He probably didn't use distrcc though 2012-12-06T10:43:29 < baird> It used to be that a (beowulf) cluster of 486 machines used to be a /big deal/.. :) 2012-12-06T10:43:48 <+Steffanx> The good old times 2012-12-06T10:45:08 < baird> I did try to distcc with that 32MB ARM NAS I was playing with recently-- PITA trying to handle the different EABI systems. 2012-12-06T10:46:15 < baird> Steffanx: back when they judges machines not by the FPS they got in gayems, but in how many concurrent human users it could take.. 2012-12-06T10:46:41 < baird> OH MY GOD THERE ARE FOUR GIRLS LOGGED INTO THIS COMPUTER! 2012-12-06T10:47:05 < dongs> four girls, 1 cup?? 2012-12-06T10:49:05 < baird> four girls, 1 cpu, ..about about 35 guys. :P 2012-12-06T10:52:53 < dongs> oh fuck 2012-12-06T10:52:58 < dongs> yahoo messenger public chatrooms will shut down on december 14 2012 2012-12-06T10:53:07 < dongs> wehre am I gonna troll muslims after that :( 2012-12-06T10:54:00 <+Steffanx> The middle east 2012-12-06T10:55:07 <+Steffanx> You are crazy, but probably not that crazy :P 2012-12-06T11:01:12 < zyp> baird, ten minutes on a «decent» machine? 2012-12-06T11:01:22 < zyp> doesn't sound like your standards are exactly high 2012-12-06T11:02:25 <+Steffanx> 3 minutes? 2012-12-06T11:02:34 < dongs> http://i.imgur.com/k48XW.gif ok what the hell 2012-12-06T11:03:27 <+Steffanx> Yes … :S 2012-12-06T11:05:15 <+Steffanx> How fast your fancy super fast pc does it zyp ? 2012-12-06T11:05:39 < dongs> why would anyone have lunix on anything newer than a 386 2012-12-06T11:05:43 < dongs> its not like it would ever use all the features. 2012-12-06T11:06:22 <+Steffanx> Why all i read is: blabla bla bla bla bla blabla? 2012-12-06T11:07:08 < zyp> Steffanx, I would need to test to give you an answer to that 2012-12-06T11:23:19 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-06T11:37:46 <+Steffanx> zyp test completed? 2012-12-06T11:38:56 < zyp> huh? no, I'm at work :p 2012-12-06T11:39:32 < dongs> i bet zyp and dekar are both conspiring against me and will deliver i2c slave code at same time then both demand payment 2012-12-06T11:39:40 * karlp laughs 2012-12-06T11:39:42 < karlp> right, right... 2012-12-06T11:40:30 -!- Irssi: ##stm32: Total of 59 nicks [1 ops, 0 halfops, 2 voices, 56 normal] 2012-12-06T11:40:47 < jpa-> in fact, i'm pretty sure all 57 people on this channel will deliver you i2c slave code at the same moment 2012-12-06T11:41:46 < dongs> :( 2012-12-06T11:42:11 <+Steffanx> The moment is ∞ seconds from now? 2012-12-06T11:42:25 <+Steffanx> *that 2012-12-06T11:42:39 < jpa-> yes 2012-12-06T11:43:54 <+Steffanx> So, said hi from your irc buddy to your wife yesterday jpa- ? 2012-12-06T11:44:50 < jpa-> did not 2012-12-06T11:44:57 < jpa-> i don't want you hitting on her! 2012-12-06T11:45:02 <+Steffanx> I'll never forgive you 2012-12-06T11:45:33 <+Steffanx> I wonder if you also act like that when a random stranger says hi to her :P 2012-12-06T11:45:49 <+Steffanx> She doesn't know you have a IRC buddy uh? 2012-12-06T11:47:17 < dongs> holy shiet im gonna be rich off jewtube. total estimated earnings: $1.24 2012-12-06T11:47:41 <+Steffanx> jewtube .. earning money. What are you talking about dong$? 2012-12-06T11:50:06 < jpa-> if you upload a video and one hundred million dongs watch it, you get a dollar 2012-12-06T11:50:11 < jpa-> from the advertisements 2012-12-06T11:50:14 <+Steffanx> w00t 2012-12-06T11:50:24 < dongs> yesh 2012-12-06T11:50:31 < dongs> except my highest watched video is only like 1000 views 2012-12-06T11:50:38 < dongs> no wonder all these fucking faggots keep blagging about shit 2012-12-06T11:50:43 <+Steffanx> Spam more links here 2012-12-06T11:50:46 < dongs> yeah 2012-12-06T11:50:58 < dongs> im gonna post more of my irrelevant RC shit on hobbyking 2012-12-06T11:51:04 < dongs> i linked a led flashing video there couple days ago 2012-12-06T11:51:06 < dongs> and it already got 500+ views 2012-12-06T11:51:21 < zyp> I've been thinking a bit about this slave i2c shit, and it seems pretty straight forward, except for detecting stop/repeat start conditions 2012-12-06T11:51:49 < dongs> that part is important. the dumb protocol will address another device WITHOUT sending stop to the previous one 2012-12-06T11:52:08 -!- Laurenceb_ [~Laurence@host86-174-23-125.range86-174.btcentralplus.com] has joined ##stm32 2012-12-06T11:52:12 < dongs> start addr crap restart addr crap restart addr crap stop 2012-12-06T11:52:12 <+Steffanx> You shouldnt do that 2012-12-06T11:52:19 < dongs> no shit, not my choice thou 2012-12-06T11:52:26 < dongs> also: crap = variable length 2012-12-06T11:52:28 <+Steffanx> Make it yours 2012-12-06T11:52:55 <+Steffanx> Say: "fuck it" to your client 2012-12-06T11:52:57 < zyp> dongs, well, stop vs repeat start doesn't matter much, they are equally hard to detect 2012-12-06T11:53:14 < jpa-> what's hard about them? 2012-12-06T11:53:30 < dongs> been awhlie since i looked at i2c lowlevel. 2012-12-06T11:53:42 < dongs> lets check the greate wikipedo 2012-12-06T11:54:02 < dongs> sda pulled low while scl stays high 2012-12-06T11:54:08 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-06T11:54:10 < dongs> cant you just exti both things and trigger shit from there? 2012-12-06T11:54:15 <+Steffanx> Aren't you banned from that website? 2012-12-06T11:54:27 < dongs> from editing, yes 2012-12-06T11:54:29 < zyp> jpa-, while everything else is triggered off scl, start/stop/repeat start are signalled by sda transitions while scl remains high 2012-12-06T11:56:03 < dongs> zyp so why cant you just have another exti interrupt for SDA as well? 2012-12-06T11:56:27 < jpa-> yeah 2012-12-06T11:56:50 < Laurenceb_> dongs banned for trolling?! never 2012-12-06T11:57:42 <+Steffanx> Read his wikipedia page Laurenceb_ 2012-12-06T11:58:04 < Laurenceb_> where? 2012-12-06T11:58:51 <+Steffanx> http://en.wikipedia.org/wiki/User:Timecop :P 2012-12-06T11:59:28 < zyp> dongs, the problem is not detecting sda transitions, the complex part is distinguishing them from actual data going on sda 2012-12-06T11:59:34 < dongs> zyp, right 2012-12-06T11:59:59 < zyp> that's why I didn't say anything about detecting a start being hard 2012-12-06T12:00:14 < zyp> but detecting a stop or repeat start when you are in the write phase is a bit hard 2012-12-06T12:00:50 < zyp> hmm 2012-12-06T12:01:40 < zyp> maybe I should use input capture to measure the time between the transitions 2012-12-06T12:01:54 < zyp> not sure if that would be any easier 2012-12-06T12:02:03 < jpa-> zyp: just check SCL level when SDA changes? 2012-12-06T12:02:30 < jpa-> I2C only goes up to 400kHz anyway, so interrupt latency should not be that critical 2012-12-06T12:02:56 < zyp> hmm 2012-12-06T12:03:07 < zyp> actually, that might be possible 2012-12-06T12:04:33 < zyp> since data transitions always should happen on the negative edge of scl, scl should always be low when you trigger on a data transition 2012-12-06T12:04:43 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-06T12:05:02 < zyp> and always high when you trigger on a start/repeat start/stop condition 2012-12-06T12:05:14 < jpa-> yes, that's how it's supposed to be 2012-12-06T12:06:10 < zyp> right, should be easy then 2012-12-06T12:06:18 < dongs> bit is clocked in on low>high transition of scl? 2012-12-06T12:06:26 < zyp> yes 2012-12-06T12:06:39 < dongs> great 2012-12-06T12:07:23 < zyp> maybe I'll start writing up something then 2012-12-06T12:07:29 < zyp> I assume you want it in C? 2012-12-06T12:07:34 < dongs> yea, not c++11 please 2012-12-06T12:07:37 < zyp> :p 2012-12-06T12:07:42 < Laurenceb_> write it in matlab 2012-12-06T12:07:47 < dongs> manlab 2012-12-06T12:08:04 < Laurenceb_> thats a tv program in the uk 2012-12-06T12:08:32 < Laurenceb_> or ruby on rails 2012-12-06T12:08:45 < dongs> ruby on rails sounds great. 2012-12-06T12:09:17 * Laurenceb_ bbl 2012-12-06T12:13:54 -!- Laurenceb_ [~Laurence@host86-174-23-125.range86-174.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-06T12:15:36 < ntfreak> just wondering if anyone here is using stm32l ? 2012-12-06T12:15:38 < zyp> dongs, http://paste.jvnv.net/view/jKWmi <- some API like this then? 2012-12-06T12:15:42 < zyp> ntfreak, karlp is 2012-12-06T12:16:04 < ntfreak> thanks 2012-12-06T12:16:31 < dongs> zyp, looks ok, am i gonna have a callback on start? 2012-12-06T12:16:33 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-06T12:16:38 < karlp> ntfreak: what's up? 2012-12-06T12:16:58 < zyp> dongs, what do you need start for? you get callback on received addr 2012-12-06T12:17:02 < jpa-> ntfreak: i have used it 2012-12-06T12:17:20 < zyp> then return true in addr_cb if you are interested in handling that addr, false if not 2012-12-06T12:17:27 < ntfreak> karlp: had any issues programming an erased device, eg. erase device - reset - then try and program using a loader, it hard faults 2012-12-06T12:17:33 < dongs> < dongs> start addr crap1 crap2 restart addr crap1 restart addr crap1 crap2 crap3 stop 2012-12-06T12:17:42 < dongs> zyp: oh, ok 2012-12-06T12:17:51 < dongs> so i'll have callback on each addr, even if I dont get stop, right? 2012-12-06T12:18:06 < karlp> not that I've noticed, but I can't say I've honestly ever tried, 2012-12-06T12:18:09 < karlp> at least, not deliberately 2012-12-06T12:18:18 < zyp> addr always follow a start, so I don't see why you are interested in the start itself 2012-12-06T12:18:33 < karlp> I probably did when I was first working on stlink, but it just works for the most part now. 2012-12-06T12:18:35 < dongs> ok, sure 2012-12-06T12:18:45 < dongs> when i get addr cb, 2012-12-06T12:18:48 < dongs> can I reject it? 2012-12-06T12:18:52 < ntfreak> just tested using openocd and texane, both behave the same. if i add exception handlers to the ram loader and catch the hard fault my loader works 2012-12-06T12:18:54 < dongs> i guess thats the bool for ? 2012-12-06T12:18:56 < zyp> by returning false 2012-12-06T12:18:58 < zyp> yes 2012-12-06T12:19:00 < dongs> right ok 2012-12-06T12:19:16 < zyp> then it ignores everything after the addr until next stop/repeat start 2012-12-06T12:19:37 < dongs> well, if I nak it, the master shouldnt be sending shit to me, right 2012-12-06T12:19:50 < karlp> ntfreak: what's the hardfault from? 2012-12-06T12:20:05 < zyp> dongs, other devices on the bus may ack it 2012-12-06T12:20:13 < ntfreak> the errata mentined something about this, but not quite. If the device is programmed all is ok. 2012-12-06T12:20:27 < dongs> zyp, oh. hm right 2012-12-06T12:20:29 < dongs> ok, sure. 2012-12-06T12:20:34 * karlp shrugs. I'm using stlink to reprogram my l1 disco board all the time 2012-12-06T12:20:41 < zyp> I think this should be a pretty sane API 2012-12-06T12:21:04 < karlp> though to be honest, I'm not on texane top of tree, I don't track texane very closely, he tends to accept less than fully tested patches at times 2012-12-06T12:21:21 < dongs> but, its opensauce! 2012-12-06T12:21:33 < karlp> dongs: sure, which is why I have my own version that I use 2012-12-06T12:21:38 < dongs> :) 2012-12-06T12:22:07 < karlp> ntfreak: I'm not doing much with the standby/low power modes right now though 2012-12-06T12:22:18 < dongs> ntfreak: any news on sdram? 2012-12-06T12:22:36 -!- moritz1 [~mmueller@cohen.emsp.tu-berlin.de] has joined ##stm32 2012-12-06T12:24:47 < ntfreak> just tested two stm32l-discovery boards (rev X) silicon and they behave the same. 2012-12-06T12:24:47 < ntfreak> Too reproduce erase target, hard reset or cycle power and then try and reprogram. 2012-12-06T12:26:47 < ntfreak> dongsbeen tols it is not supported on the new F4 parts - this may well mean it is present. sdram is still planed for the newer 4x9 parts 2012-12-06T12:29:17 < ntfreak> infact it has nothing todo with programming, if i try and run any ram loader on an erased stm32l it fails with a Hard Fault. 2012-12-06T12:29:17 < ntfreak> Like i say if i add exception handling to the loader then i can catch the Hard Fault and all works as expected. 2012-12-06T12:30:00 < jpa-> why would you erase the device anyway? 2012-12-06T12:30:01 < karlp> what's causing the hardfault though? 2012-12-06T12:30:25 < karlp> I take it this is causing your problems on factory fresh devices? 2012-12-06T12:31:08 < ntfreak> karlp: correct 2012-12-06T12:31:45 < karlp> yeah, I'm still just playing with l1, only boards made have been with f1 2012-12-06T12:32:21 < ntfreak> If i do not use a ram loader and drop back to slow memory writes then i can program the flash. 2012-12-06T12:32:31 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-06T12:32:46 < baird> haha, retrobrite works fantastically on sneakers-near-to-death: http://i.imgur.com/46p9A.jpg 2012-12-06T12:33:06 < zyp> ntfreak, do you need a ram loader on L1? 2012-12-06T12:33:28 < ntfreak> only for speed 2012-12-06T12:33:58 < zyp> why? on L1 you don't have to check any flag between word writes 2012-12-06T12:34:27 < zyp> since L1 stalls the bus while flash is busy writing 2012-12-06T12:36:09 < ntfreak> still quicker using a loader, we also use a async loader that we keep running 2012-12-06T12:37:40 < zyp> why is writing to sram quicker than writing to flash, when you don't have to do anything between the writes anyway? 2012-12-06T12:42:28 < ntfreak> I will have to run some tests, however the issue still effects all ram loaders that we use. 2012-12-06T12:42:54 < ntfreak> not just for programming 2012-12-06T12:44:04 < dongs> I²C is appropriate for peripherals where simplicity and low manufacturing cost are more important than speed. Common applications of the I²C bus are: 2012-12-06T12:52:53 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-06T12:58:10 -!- alexn [~alexn@dslb-178-002-028-055.pools.arcor-ip.net] has joined ##stm32 2012-12-06T13:04:08 < Oldboy> unicode is not appropriate on irc 2012-12-06T13:05:21 < zyp> sure it is, unless you are using a client from 1997 2012-12-06T13:06:12 < baird> VIC20s, always appropriate: http://i.imgur.com/c4xHV.jpg (final result from the retrobriting) 2012-12-06T13:09:33 < jpa-> i wonder if it was so bright even when new? 2012-12-06T13:10:29 < baird> Yep, to my memory, it was.. 2012-12-06T13:11:39 < baird> The next thing to do is take a decent 'product shot', and upload it to Wikipedia, and get rid of that FrankenVic whose photo is there at the moment. 2012-12-06T13:13:02 < jpa-> looks same to me.. how is it different? 2012-12-06T13:14:16 < baird> It's got a Commodore64 keyboard. 2012-12-06T13:14:43 < baird> They were practucally the same, and interchangeable, however the colours were different. 2012-12-06T13:15:07 < baird> The yellow/grey function keys being the most noticable difference 2012-12-06T13:15:07 < ntfreak> zyp: stm32l word programming only seems to only stall if running from same bank 2012-12-06T13:17:53 < zyp> no. 2012-12-06T13:20:20 < ntfreak> zyp: is that no and is my tests are incorrect? 2012-12-06T13:21:35 < zyp> ntfreak, I added L1 support to blackmagic probe some weeks ago: https://github.com/zyp/blackmagic/commit/faa43fdc 2012-12-06T13:21:47 < zyp> I'm not doing any explicit wait between words, and it works fine 2012-12-06T13:22:23 < zyp> as far as I've tested, at least 2012-12-06T13:23:34 < ntfreak> zyp: strange, failing for me unless i check busy bit 2012-12-06T13:35:37 < dongs> you got chinese L1's 2012-12-06T13:41:00 < dongs> baird: whats wrong wiht http://upload.wikimedia.org/wikipedia/commons/3/39/CBMVIC20P8.jpg 2012-12-06T13:41:22 < dongs> it looks pretty much same as your shit 2012-12-06T13:41:59 < baird> dongs: Commodore64 keyboard; grey function keys 2012-12-06T13:42:31 < dongs> wut 2012-12-06T13:44:07 < baird> Real VICs have yellow function keys. The owner of the above swapped a newer keyboard in. Someone is Spreading Lies on Wikipedia. 2012-12-06T13:44:41 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-06T13:45:35 < dongs> ah 2012-12-06T13:45:36 < dongs> lawl 2012-12-06T13:47:26 < baird> Obviously, some Gen-Y retrocomputer fgt, and not a real VIC20 owner. 2012-12-06T13:53:25 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-06T13:57:10 < baird> That'a assuming I haven 2012-12-06T13:57:29 < baird> That'a assuming I haven't been banned for posting links to Assange's 1990s criminal convictions.. 2012-12-06T14:24:29 < ntfreak> zyp: still not stalling for me when using word writes, first couple of words seem to write ok then fails until the next 128word page. 2012-12-06T14:24:29 < ntfreak> using direct page writes is ok but overall slower due to usb latency, back to sorting loader out. 2012-12-06T14:32:07 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-06T14:44:00 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2012-12-06T14:44:28 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-06T14:52:17 <+Steffanx> I'll change the photo for you baird 2012-12-06T14:52:19 <+Steffanx> :P 2012-12-06T14:58:45 < Laurenceb> http://answers.yahoo.com/question/index?qid=20120526082255AAsqBJj 2012-12-06T14:59:32 < jpa-> oh crap, she posted on yahoo? 2012-12-06T15:00:06 <+Steffanx> Laurenceb, when you'll post something funny again? 2012-12-06T15:01:21 <+Steffanx> It's like 9999999 of the 1000 questios are there are troll questions 2012-12-06T15:02:40 < dongs> > Lol,I don't get why this question is in the Engineering section. 2012-12-06T15:02:42 < dongs> ha hah ha 2012-12-06T15:03:02 < baird> A True Gunzel. 2012-12-06T15:03:39 < baird> (https://en.wiktionary.org/wiki/gunzel) 2012-12-06T15:04:18 <+Steffanx> Australian slag .. 2012-12-06T15:04:20 <+Steffanx> ng 2012-12-06T15:08:31 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2012-12-06T15:08:41 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-06T15:18:26 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 265 seconds] 2012-12-06T15:18:49 -!- dekar [~dekar@212.255.17.245] has quit [Quit: This computer has gone to sleep] 2012-12-06T15:18:57 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-06T15:21:29 -!- moritz1 [~mmueller@cohen.emsp.tu-berlin.de] has left ##stm32 [] 2012-12-06T15:24:42 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2012-12-06T15:25:49 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-06T15:28:29 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-06T15:32:26 < Laurenceb> http://s4.b3ta.com/host/creative/67887/1354573473/KateandWilliambaby.gif 2012-12-06T15:32:29 < Laurenceb> epic lol 2012-12-06T15:36:23 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-06T15:36:42 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2012-12-06T15:37:24 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-06T15:44:46 < karlp> epic?! 2012-12-06T15:45:14 < jpa-> british humor 2012-12-06T15:49:33 < karlp> british humour ;) 2012-12-06T15:52:21 < dongs> more like gay humour 2012-12-06T15:52:41 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-06T15:52:43 < jpa-> isn't humour supposed to be gay? 2012-12-06T15:59:36 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2012-12-06T16:00:14 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-06T16:07:58 -!- gxti [~gxti@ada.partiallystapled.com] has quit [Read error: Operation timed out] 2012-12-06T16:11:24 -!- gxti [~gxti@ada.partiallystapled.com] has joined ##stm32 2012-12-06T16:19:39 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 244 seconds] 2012-12-06T16:20:37 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-06T16:27:52 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-06T16:46:52 -!- a2cypher [~cypher@50.71.197.222] has joined ##stm32 2012-12-06T17:21:11 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-06T17:25:59 -!- dekar [~dekar@studpool-wlan-74-82.fs.fbi.h-da.de] has joined ##stm32 2012-12-06T17:26:03 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-06T17:30:28 -!- a2cypher [~cypher@50.71.197.222] has quit [Quit: Leaving.] 2012-12-06T17:40:27 < Laurenceb> http://pastebin.com/y34EsFz7 2012-12-06T17:40:40 < Laurenceb> does that look sane for timer1, channel2 in toggle mode of f4? 2012-12-06T17:40:47 < Laurenceb> *on 2012-12-06T17:41:16 < dongs> Laurenceb: do you need any rfm22b modules 2012-12-06T17:41:23 < dongs> err 2012-12-06T17:41:23 < dongs> rfm23bp 2012-12-06T17:41:24 < Laurenceb> no thanks 2012-12-06T17:41:26 < dongs> the high power shits 2012-12-06T17:41:35 < Laurenceb> i have si4432 chips 2012-12-06T17:41:39 < dongs> ^ fgt 2012-12-06T17:41:40 < Laurenceb> and custom boards 2012-12-06T17:41:41 < jpa-> Laurenceb: i assume you have already set the GPIO mode somewhere else? 2012-12-06T17:41:42 < Laurenceb> heh 2012-12-06T17:41:45 < Laurenceb> yes 2012-12-06T17:42:08 < Laurenceb> oh wait 2012-12-06T17:42:15 < Laurenceb> TIM1->CCMR1|=0x0030|TIM_CCMR1_OC2PE; 2012-12-06T17:42:20 < jpa-> and hmm, should ARR be 4999? 2012-12-06T17:42:24 < Laurenceb> TIM1->CCMR1|=0x3000|TIM_CCMR1_OC2PE; 2012-12-06T17:42:27 < jpa-> or do i remember wrong 2012-12-06T17:42:33 < Laurenceb> probably, yes 2012-12-06T17:42:40 < jpa-> and PSC probably also 83 2012-12-06T17:42:48 < Laurenceb> i have ccmr1 wrong? 2012-12-06T17:44:01 < jpa-> yeah 0x3000| seems correct 2012-12-06T17:45:03 < Laurenceb> trying... 2012-12-06T17:45:06 < karlp> hmm, what to get from digikey 2012-12-06T17:45:19 < jpa-> parts, duh 2012-12-06T17:45:29 < karlp> yeah, just trying to hop on an order from work, 2012-12-06T17:45:34 < karlp> not sure I actually need anything right now though 2012-12-06T17:45:55 < dongs> order reels of caps. 2012-12-06T17:45:59 < dongs> or f3discovery 2012-12-06T17:46:32 < karlp> f3 is one idea, but I've barely touched the f4 or f0 boards I already have. 2012-12-06T17:46:35 < Laurenceb> hmm something not working... 2012-12-06T17:46:42 < Laurenceb> time to get scope out 2012-12-06T17:46:56 < karlp> and stupid digikey won't ship me any 802.15.4 radios, so not sure what else to play with 2012-12-06T17:47:04 < Laurenceb> my stepper driver is running, but its not turning 2012-12-06T18:06:23 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-06T18:07:06 -!- a2cypher [~cypher@mail.krausglobal.com] has joined ##stm32 2012-12-06T18:18:16 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-06T18:23:35 -!- dekar [~dekar@studpool-wlan-74-82.fs.fbi.h-da.de] has quit [Quit: This computer has gone to sleep] 2012-12-06T18:39:13 < Laurenceb> hmf nothin on tim1ch2 2012-12-06T18:39:17 < Laurenceb> *nothing 2012-12-06T18:39:33 < jpa-> is the timer count running? 2012-12-06T18:39:34 < Laurenceb> tim1->cnt is incrementing nicely 2012-12-06T18:39:36 < Laurenceb> yes 2012-12-06T18:40:10 < jpa-> ah, but you enable preload 2012-12-06T18:40:12 < jpa-> hmm.. 2012-12-06T18:40:19 < jpa-> but yeah, it should start working after 1 cycle 2012-12-06T18:40:22 < Laurenceb> yes 2012-12-06T18:40:28 < Laurenceb> its overflowing correctly 2012-12-06T18:40:44 < Laurenceb> i see short pulses on the output 2012-12-06T18:40:55 < Laurenceb> going to take a closer look with a better scope 2012-12-06T18:42:04 < Laurenceb> nah its noise 2012-12-06T18:42:24 < Laurenceb> odd- same code works using chibios pwm functions 2012-12-06T18:42:36 < dongs> > chibios 2012-12-06T18:42:41 < dongs> why you still use that shit mang 2012-12-06T18:42:51 < dongs> speaking of failure, where the fuck is tecto 2012-12-06T18:42:54 < dongs> Tectu: 2012-12-06T18:43:50 < dongs> he h asnt blogged anything in weeks 2012-12-06T18:43:57 < dongs> is he shatting only in #chibios now? 2012-12-06T18:43:57 < jpa-> chibios is actually quite awesome 2012-12-06T18:44:08 < dongs> jpa-: i hate shit that forces their hal on me 2012-12-06T18:44:35 < zyp> it doesn't 2012-12-06T18:44:40 < dongs> sure it does 2012-12-06T18:44:42 < Laurenceb> im not using the hal 2012-12-06T18:44:50 < dongs> < Laurenceb> odd- same code works using chibios pwm functions 2012-12-06T18:44:53 < Laurenceb> but now its failing for some reason.. 2012-12-06T18:44:54 < jpa-> it does not 2012-12-06T18:45:00 < Laurenceb> it works with the hal code 2012-12-06T18:45:07 < dongs> well if youre not using the hal you might as well just use CoOS then 2012-12-06T18:45:12 < jpa-> :D 2012-12-06T18:45:19 < Laurenceb> im using _some_ of the hal 2012-12-06T18:45:30 < Laurenceb> hal does not support toggle mode output 2012-12-06T18:45:39 < Laurenceb> but neither does my code... 2012-12-06T18:45:41 < Laurenceb> grrr 2012-12-06T18:46:18 < Laurenceb> http://pastebin.com/yMDHsF95 2012-12-06T18:46:24 < Laurenceb> ok, does that look sane? 2012-12-06T18:46:39 < Laurenceb> my board.h seems to be fine, works ok with chibios hal 2012-12-06T18:46:46 < Laurenceb> must be my timer code 2012-12-06T18:47:40 < Laurenceb> maybe CCR2 needs to be larger for it to trigger? 2012-12-06T18:47:56 < jpa-> should not have to be 2012-12-06T18:48:27 < Laurenceb> same code works with pwm2 and pwm1 modes 2012-12-06T18:48:52 < Laurenceb> hmm.. but i havent tried it on the advenced timers before 2012-12-06T18:49:16 < Laurenceb> i copied over timer2/3/5 code and swapped pwm2/1 for toggle mode 2012-12-06T18:49:39 < Laurenceb> something is clearly wrong 2012-12-06T18:49:55 < jpa-> setting CCER after CR1 seems a bit out of the ordinary, but apparently it should work also 2012-12-06T18:50:57 < dongs> Laurenceb: missing a bunch of spaces 2012-12-06T18:50:58 < dongs> again 2012-12-06T18:51:10 < dongs> why arent you using stdperiphlib? 2012-12-06T18:51:40 < Laurenceb> cuz theres too much mess in there 2012-12-06T18:51:47 < Laurenceb> but yeah i might try it 2012-12-06T18:51:48 < dongs> pfft 2012-12-06T18:51:53 < jpa-> that's poorly documented crap 2012-12-06T18:51:56 < dongs> so TIM1->PSC = 83 makes total sense?? 2012-12-06T18:52:01 < jpa-> it does 2012-12-06T18:52:07 < dongs> not to me 2012-12-06T18:52:12 < dongs> is it some bitmask of shit? 2012-12-06T18:52:13 < jpa-> then you haven't read the manual 2012-12-06T18:52:15 < jpa-> no 2012-12-06T18:52:17 < jpa-> it's just a divider 2012-12-06T18:52:18 < dongs> prescaler? 2012-12-06T18:52:31 < jpa-> yes 2012-12-06T18:53:41 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2012-12-06T18:53:48 < Laurenceb> ill tyr larger compare register and swapping CCER/CEN order 2012-12-06T18:55:53 < Laurenceb> nothing :( 2012-12-06T18:56:58 < jpa-> so try the PWM mode on that timer, etc. 2012-12-06T18:58:07 < dongs> http://www.digikey.com/product-detail/en/796136-1/A99327CT-ND/1926016 this is pretty expensive shit, isnt there a better holder that just slides the battery in 2012-12-06T18:58:12 < dongs> like metal thing 2012-12-06T18:58:45 < jpa-> like the ones on every cheap device out there? 2012-12-06T18:58:48 < dongs> ya 2012-12-06T18:59:05 < dongs> any idea on partnum? 2012-12-06T19:00:01 < jpa-> uh, isn't it trivial to find? http://www.digikey.com/product-detail/en/BAT-HLD-001/BAT-HLD-001-ND/1577235 this is one 2012-12-06T19:00:17 < jpa-> that "Battery Holders, Clips, Contacts" category has atleast a dozen 2012-12-06T19:00:21 < dongs> lulz 2012-12-06T19:00:29 < dongs> is 20mm regular shit? 2012-12-06T19:00:33 < dongs> like CR2032 or wahtever 2012-12-06T19:00:47 < jpa-> yes 2012-12-06T19:03:26 < Laurenceb> ok wtf 2012-12-06T19:03:34 < Laurenceb> chibios hal code works nicely 2012-12-06T19:03:46 < Laurenceb> but my code from timers2/3/5 fails epically on timers1 and 8 2012-12-06T19:03:54 -!- a2cypher [~cypher@mail.krausglobal.com] has quit [Read error: No route to host] 2012-12-06T19:03:56 < Laurenceb> whats changed... ? 2012-12-06T19:04:20 < Laurenceb> something else i need to configure? 2012-12-06T19:05:10 < Laurenceb> oh, table 71 2012-12-06T19:05:17 < Laurenceb> why so complex O_o 2012-12-06T19:07:24 < jpa-> what table is that for you? for me it is WWDG register map :) 2012-12-06T19:08:37 < dongs> isnt tim1/8 advanced timers with a bunch of trash 2012-12-06T19:08:41 < dongs> and 3,5,8 etc blah 2012-12-06T19:08:45 < dongs> Laurenceb: you need to enable PWM outputs 2012-12-06T19:08:47 < dongs> on 1/8 2012-12-06T19:08:51 < dongs> but dont need to on otherrs 2012-12-06T19:08:54 < Laurenceb> TIM1->BDTR|=TIM_BDTR_MOE; 2012-12-06T19:08:56 < Laurenceb> i think 2012-12-06T19:08:58 < dongs> yea that 2012-12-06T19:09:00 < dongs> BDTR 2012-12-06T19:09:06 < Laurenceb> trying.. 2012-12-06T19:10:05 < Laurenceb> works XD 2012-12-06T19:10:43 < Laurenceb> http://pastebin.com/ZVCH8MPt 2012-12-06T19:11:09 < dongs> im awesome. 2012-12-06T19:11:20 < jpa-> you are. 2012-12-06T19:11:21 < Laurenceb> thanx for the help 2012-12-06T19:11:27 < zyp> dongs, what are you still doing up? 2012-12-06T19:11:33 < dongs> zyp, good fucking question 2012-12-06T19:11:37 < dongs> assburgering all over the place. 2012-12-06T19:11:53 < zyp> I got some i2c shit written up 2012-12-06T19:11:59 < zyp> need to actually test it though 2012-12-06T19:13:25 < dongs> nice 2012-12-06T19:14:17 < dongs> i can give you some testcases. 2012-12-06T19:14:24 < dongs> shit like writing variable length crap to random set of addresses 2012-12-06T19:14:27 < dongs> without stops in between 2012-12-06T19:15:12 < dongs> < dongs> start addr1 crap1 crap2 restart addr10 crap1 restart addr3 crap1 crap2 crap3 restart addr2 crap1 stop 2012-12-06T19:15:16 < dongs> this sorta shit. 2012-12-06T19:15:27 < zyp> that shouldn't be a problem 2012-12-06T19:16:23 < dongs> also... 2012-12-06T19:16:27 < dongs> reads from nonexistent addresses 2012-12-06T19:16:33 < dongs> how do you handle read callback? 2012-12-06T19:16:50 < Laurenceb> void assburgerz(void) 2012-12-06T19:17:41 < dongs> typedef uint8_t (*read_cb_t)(); 2012-12-06T19:17:46 < zyp> http://paste.jvnv.net/view/xkpRw <- addr is handled like this 2012-12-06T19:17:48 < dongs> i return nubmer of bytes + buffer? 2012-12-06T19:19:14 < zyp> no, you return a single byte 2012-12-06T19:19:33 < dongs> so im called for each byte? but how do you know the length of reply? 2012-12-06T19:19:57 < zyp> last byte is NAK-ed by host 2012-12-06T19:20:10 < dongs> host=master? 2012-12-06T19:20:15 < zyp> yes, master 2012-12-06T19:20:33 < zyp> I've been doing too much usb lately :p 2012-12-06T19:20:55 < dongs> hm, so master specifies read length? 2012-12-06T19:21:21 < zyp> yes, host is supposed to nak the last byte received from device 2012-12-06T19:21:30 < dongs> so when it naks the last shit it means dont send me more stuff. 2012-12-06T19:21:30 < dongs> ok. 2012-12-06T19:21:32 < dongs> makes sense. 2012-12-06T19:21:57 < zyp> so I'm going to handle it by moving into «ignore» state when that happens 2012-12-06T19:22:12 < zyp> I've got five states; idle, addr, read, write, ignore 2012-12-06T19:22:31 < dongs> when you get last byte w/nak, whats the next possible thing that can happen? 2012-12-06T19:22:34 < dongs> stop or restart, rgiht? 2012-12-06T19:22:44 < zyp> in theory, yes 2012-12-06T19:23:09 < zyp> a stop will move you from ignore to idle state, and a repeat start would move you to addr again 2012-12-06T19:23:32 < dongs> ok. 2012-12-06T19:24:20 < dongs> to handle something like a typical repeat start + subadress read, I get a write callback at addr + get written subaddress, whcih i cache, then I get repeat start + same address again for read + x bytes of read callback, whcih i fill wiht data from that subaddress. 2012-12-06T19:24:27 < zyp> hmm, I'm not sure both idle and ignore is required, behavior is pretty much the same in either case so I could probably combine them 2012-12-06T19:24:59 < zyp> yes, that sounds about right 2012-12-06T19:25:28 < zyp> adding a normal register-like interface should be easy to add onto this shit 2012-12-06T19:25:47 < dongs> right, the client code can h andle that shit, no need to bloat up i2c stuff with that 2012-12-06T19:25:59 < zyp> exactly, it's a seperate layer 2012-12-06T19:26:29 < Laurenceb> http://www.quickmeme.com/Autistic-Kid/popular/1/?upcoming 2012-12-06T19:26:36 < Laurenceb> meanwhile in the life of flyback 2012-12-06T19:26:38 -!- dekar [~dekar@212.255.17.245] has joined ##stm32 2012-12-06T19:26:40 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-06T19:26:57 < dongs> i found a hat here that made me look almsot exactly like scumbag steve 2012-12-06T19:29:36 < Laurenceb> shiiiiittt 2012-12-06T19:29:42 < Laurenceb> stepper motors are loud 2012-12-06T19:29:49 < dongs> ur doin it wrong 2012-12-06T19:30:37 < Laurenceb> horrible buzzing 2012-12-06T19:31:39 < dongs> flyback: pics or it didnt happen 2012-12-06T19:32:03 < dongs> k im gonna sleep, its like 2.30am 2012-12-06T19:32:14 <+Steffanx> Seriously stop giving us useless information flyback 2012-12-06T19:32:41 < dongs> steppers in my dicknplace are pretty quiet 2012-12-06T19:32:57 < Laurenceb> i think i worked out the issue 2012-12-06T19:33:12 < Laurenceb> i put current limiting on the allegro driver to a low value 2012-12-06T19:33:20 < Laurenceb> its skipping steps 2012-12-06T19:33:23 <+Steffanx> Oh, i don't click on his links anymore flyback :P 2012-12-06T19:33:27 < Laurenceb> or at least almst skipping 2012-12-06T19:34:13 < Laurenceb> trolls trolling trolls 2012-12-06T19:34:52 <+Steffanx> Enough details 2012-12-06T19:35:00 <+Steffanx> Actually too many 2012-12-06T19:37:13 < dongs> fucking ghetto garbage 2012-12-06T19:39:51 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-12-06T19:47:20 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-06T19:50:21 < Laurenceb> nice - running ok with 1.5A current 2012-12-06T19:55:04 < Laurenceb> still noisy, but im not using acceleration yet 2012-12-06T19:55:20 < Laurenceb> tends to make unhealthy noises when it switches direction suddenly 2012-12-06T20:00:07 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-06T20:02:30 -!- daku is now known as DaKu 2012-12-06T20:06:37 < Laurenceb> this is very odd 2012-12-06T20:06:45 < Laurenceb> it runs massively smoother at higher speeds 2012-12-06T20:06:58 < Laurenceb> in fact the faster it goes the smoother it is 2012-12-06T20:07:06 < Laurenceb> maybe ill ask on #reprap 2012-12-06T20:08:29 < karlp> it's to remind you that going slow is for losers 2012-12-06T20:10:06 < Laurenceb> heh 2012-12-06T20:10:39 < Laurenceb> i remeber reading something about the allegro current limiter going wrong at low step speeds 2012-12-06T20:11:43 -!- Oldboy_ [myircshell@gateway/shell/sh3lls.net/x-vlrorcrzargrjsrs] has joined ##stm32 2012-12-06T20:11:52 -!- Oldboy_ [myircshell@gateway/shell/sh3lls.net/x-vlrorcrzargrjsrs] has left ##stm32 [] 2012-12-06T20:13:44 -!- barthess [~barthess@178.154.52.121] has joined ##stm32 2012-12-06T21:13:36 < zyp> hmm, fuck 2012-12-06T21:14:09 < zyp> I found a pad on the lpc4300 I hadn't connected 2012-12-06T21:14:38 < jpa-> was it an important one? 2012-12-06T21:14:49 < zyp> dbgen, so yes :) 2012-12-06T21:16:07 < jpa-> nah, your code is perfect on the first run 2012-12-06T21:17:08 < zyp> I can just wire it high, so it shouldn't be too hard to hook up, but it's just over a bunch of traces so I can't fit a via, and I've got signals running around it in top layer too, so I can't just route it away either 2012-12-06T21:42:08 < zyp> http://bin.jvnv.net/f/QrEZ3.png 2012-12-06T21:44:03 < TitanMKD> zyp woo nice 2012-12-06T21:45:29 < TitanMKD> zyp i'm afraid by decoupling capacitor 2012-12-06T21:45:54 < TitanMKD> it seem you missed some on center of the BGA 2012-12-06T21:46:05 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2012-12-06T21:46:12 < TitanMKD> or maybe it's on the other side 2012-12-06T21:46:15 < karlp> it is. 2012-12-06T21:46:18 < karlp> we've been over this before. 2012-12-06T21:46:23 < karlp> he answered you then too :) 2012-12-06T21:46:26 < zyp> hmm? 2012-12-06T21:46:58 < zyp> karlp is right, except it's not on the other side 2012-12-06T21:47:24 < zyp> the decoupling capacitors are the ones that are only hooked to planes 2012-12-06T21:47:26 < TitanMKD> I have a BGA LPC4330 routed and it has some capacitor on center 2012-12-06T21:47:35 < TitanMKD> let me check again ;) 2012-12-06T21:48:15 < zyp> there are no seperate capacitor pins for decoupling of internal regulator like stm32f4 has 2012-12-06T21:51:18 < TitanMKD> there's at least 1 decoupling capacitor on the center 2012-12-06T21:51:33 < zyp> wtf is center? 2012-12-06T21:51:51 < jpa-> under the bga :) 2012-12-06T21:52:01 < jpa-> you need a very small capacitor 2012-12-06T21:52:05 < TitanMKD> to be as close as possible of the pin ;) 2012-12-06T21:52:55 < TitanMKD> i doubt decoupling capacitor are very good at more than 5mm of the power pad 2012-12-06T21:55:44 < zyp> I doubt you pulled that number from anywhere but thin air 2012-12-06T21:57:08 < TitanMKD> especially for high speed MCU i doubt it's very good to have cap so far 2012-12-06T21:57:16 < zyp> http://bin.jvnv.net/f/oyp1v.png <- bottom of the board looks like this 2012-12-06T21:57:40 < TitanMKD> just check trace length from power pin to decoupling capacitor 2012-12-06T21:57:49 < TitanMKD> they shall be 2mm or less 2012-12-06T21:57:57 < zyp> says who? 2012-12-06T22:00:19 < TitanMKD> also i have 9 decoupling capacitor 100nF 2012-12-06T22:00:49 < TitanMKD> i count only 6 for your design 2012-12-06T22:05:38 < zyp> and? 2012-12-06T22:06:05 < TitanMKD> nothing except you will have maybe more noise 2012-12-06T22:09:14 < zyp> or maybe less? do you consider the fact that this is a four layer board with planes for gnd and vcc? my design has a much lower impedance on the power distribution than yours 2012-12-06T22:14:22 < TitanMKD> ha yes 4 layers i was thinkg it was only 2 layers 2012-12-06T22:15:32 < zyp> yeah, because all the vias that are not connected to anything on the bottom layer are just there for fun :) 2012-12-06T22:16:56 < TitanMKD> yes for heat ;) 2012-12-06T22:17:07 < zyp> and I'm sure the layer number didn't give it away either :p 2012-12-06T22:17:16 < TitanMKD> as LPC43xx generate heat when you set the both core M0+M4 @ 204MHz ;) 2012-12-06T22:18:01 < TitanMKD> ha yes i have not mentionned the layer number 4 on back ;) 2012-12-06T22:20:39 < zyp> http://bin.jvnv.net/f/QJtiY.png 2012-12-06T22:36:18 < TitanMKD> zyp where do you plan to manufacture the PCB ? and for which price ? 2012-12-06T22:38:19 < zyp> I was planning to let dongs handle that part 2012-12-06T22:38:27 < zyp> no idea on price, I haven't been quoted one 2012-12-06T22:40:18 < TitanMKD> could be interesting to test Itead 4 layers PCB ;) 2012-12-06T22:42:44 < zyp> I'm not very interested in testing itead. 2012-12-06T22:43:36 -!- upgrdman_ [429f3cfe@blender/artist/upgrdman] has joined ##stm32 2012-12-06T22:56:18 < Tectu> <-sBNC> [Thu December 06 2012 17:42:54]: dongs (1000@l212168.ppp.asahi-net.or.jp) (##stm32): Tectu: 2012-12-06T22:56:22 < Tectu> dongs, yes? 2012-12-06T22:58:10 -!- os-app92 [~ftw@172.122.193.77.rev.sfr.net] has joined ##stm32 2012-12-06T22:59:00 < zyp> I think he was just missing you 2012-12-06T23:00:24 -!- Laurenceb_ [~Laurence@host86-174-23-125.range86-174.btcentralplus.com] has joined ##stm32 2012-12-06T23:00:30 < Laurenceb_> http://www.tonyrocks.com/wp-content/ruby.png 2012-12-06T23:04:56 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-06T23:07:16 -!- barthess [~barthess@178.154.52.121] has quit [Quit: Leaving.] 2012-12-06T23:17:34 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-06T23:35:48 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 248 seconds] 2012-12-06T23:36:50 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-06T23:41:08 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 255 seconds] 2012-12-06T23:42:08 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-06T23:52:15 -!- alexn [~alexn@dslb-178-002-028-055.pools.arcor-ip.net] has quit [Remote host closed the connection] --- Day changed Fri Dec 07 2012 2012-12-07T00:06:50 -!- os-app92 [~ftw@172.122.193.77.rev.sfr.net] has quit [Quit: Hi, I am Franz.] 2012-12-07T01:10:07 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-07T01:15:41 -!- DaKu is now known as daku 2012-12-07T01:18:03 -!- claude [sbnc@h1682708.stratoserver.net] has quit [Ping timeout: 260 seconds] 2012-12-07T01:18:41 -!- claude [sbnc@h1682708.stratoserver.net] has joined ##stm32 2012-12-07T01:20:18 -!- upgrdman_ [429f3cfe@blender/artist/upgrdman] has quit [Quit: Page closed] 2012-12-07T01:30:12 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2012-12-07T02:11:43 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-07T02:17:31 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-07T02:18:42 -!- Laurenceb_ [~Laurence@host86-174-23-125.range86-174.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-07T02:28:04 < dongs> sup dicks 2012-12-07T02:28:07 < dongs> it guying it up 2012-12-07T02:28:27 < dongs> 05:40 < TitanMKD> could be interesting to test Itead 4 layers PCB ;) 2012-12-07T02:28:27 < dongs> 05:42 < zyp> I'm not very interested in testing itead. 2012-12-07T02:28:29 < dongs> haha 2012-12-07T02:28:35 < dongs> i can just see it 2012-12-07T02:28:45 < dongs> 4 layer with holes drilled by 13 years old chinese girls 2012-12-07T02:28:45 < zyp> all drills off 2012-12-07T02:28:47 < dongs> yeah 2012-12-07T02:28:48 < zyp> :p 2012-12-07T02:29:11 < dongs> mask / stencil registration all off, too 2012-12-07T02:29:21 < dongs> ugh 2012-12-07T02:29:33 < zyp> yeah, that's probably even a larger problem 2012-12-07T02:29:45 < dongs> this faggot messages me,, "do you know where to get phone parts not officially from HTC. since youre into electronics, i thought you'd know!!" 2012-12-07T02:29:53 < dongs> yeah bullshit phone wank parts = totally electronics 2012-12-07T02:29:54 < dongs> rage. 2012-12-07T02:30:18 < zyp> give him some random passives, say «here you go» 2012-12-07T02:34:59 < zyp> anyway, time for sleep 2012-12-07T02:50:23 < dongs> ya rite. hows i2c? figurd out a way to test? 2012-12-07T02:59:29 < dongs> holy shit attn zyp/tectu/other jap loving peoples http://www.reddit.com/r/bestof/comments/14dvtn/tofutofu_explains_the_bleakness_facing_the/ 2012-12-07T03:12:19 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Read error: No route to host] 2012-12-07T04:05:10 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-07T04:17:30 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 260 seconds] 2012-12-07T04:23:04 < dongs> oh! 2012-12-07T04:23:09 < dongs> zyp: beep, i think 4 layer order incoming soon 2012-12-07T04:24:00 < dongs> better have your shit done 2012-12-07T04:27:00 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Ping timeout: 248 seconds] 2012-12-07T04:36:03 < dongs> * flyback is making his data recovery/arching of his entire online life of 10-20 yrs 2012-12-07T04:36:07 < dongs> man, thats a lot of cp 2012-12-07T04:39:08 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-07T04:39:09 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-07T04:39:09 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-07T05:14:12 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2012-12-07T05:23:42 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-07T05:57:54 -!- ReadError [readerror@ec2-50-19-189-163.compute-1.amazonaws.com] has joined ##stm32 2012-12-07T05:58:17 -!- englishman [~englishma@199.180.97.18] has joined ##stm32 2012-12-07T06:00:57 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-07T06:10:17 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-07T06:15:37 -!- l4cr0ss [~lacro$$@174.34.185.251] has joined ##stm32 2012-12-07T06:17:46 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 252 seconds] 2012-12-07T06:20:16 -!- l4cr0ss [~lacro$$@174.34.185.251] has quit [Client Quit] 2012-12-07T06:20:38 -!- l4cr0ss [~lacro$$@174.34.185.251] has joined ##stm32 2012-12-07T06:26:02 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-07T06:26:08 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-07T07:09:43 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-07T07:16:15 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2012-12-07T07:19:36 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-07T07:32:57 < Oldboy> flyback: stop spamming CP! 2012-12-07T07:33:09 < dongs> clicking 2012-12-07T07:34:28 < dongs> cool 2012-12-07T07:39:10 < ReadError> jkbh 2012-12-07T07:40:10 -!- l4cr0ss [~lacro$$@174.34.185.251] has quit [Quit: l4cr0ss] 2012-12-07T07:41:15 < baird> FUCCEN NOT SAVED 2012-12-07T07:52:10 < baird> Saw Skyfall the other day. First half: good; second half: shit. Although it did give a bit to think about, "Bitches learn about Consequences.." 2012-12-07T07:52:40 < dongs> since im in japan i wont get to see it until bd gets pirated 2012-12-07T07:52:53 < dongs> and even then it probably wont make it into local theaters 2012-12-07T07:54:33 < GargantuaSauce> i think the franchise is getting prettttty tired 2012-12-07T07:57:07 < baird> That's why I thought the first part was an improvement. But then it obviously had its change of writer, and all the cliche Bond tropes were dumped in. 2012-12-07T08:00:32 < baird> His fucking a sex-slave living in perpetual fear. Ewwwwwwwww. 2012-12-07T08:11:20 -!- dekar [~dekar@212.255.17.245] has quit [Quit: This computer has gone to sleep] 2012-12-07T08:20:46 < baird> So I walked into an Electronics retail store (altronics.com.au), and they're all sold out of 74LS04 hex inverters. :I 2012-12-07T08:21:35 < dongs> raped 2012-12-07T08:21:54 < dongs> i got a bunch here 2012-12-07T08:21:57 < dongs> if that makes you feel any better :) 2012-12-07T08:23:05 < baird> I can probably find one, or at least something TTL-compatible, from an old board underneath the house.. 2012-12-07T08:29:01 < dongs> assburgering again 2012-12-07T08:29:02 < dongs> ugh 2012-12-07T08:29:06 < dongs> im turning into a flyback 2012-12-07T08:33:30 < GargantuaSauce> I noticed that 4093s are 13 cents each at mouser so I bought a hundred just for the fuck of it 2012-12-07T08:33:49 < GargantuaSauce> now I just need to drum up the motivation to do a really retarded project with them 2012-12-07T08:34:05 < GargantuaSauce> speaking of sperging out :) 2012-12-07T08:34:10 < dongs> http://www.ebay.ca/itm/160615219971 the only thing canadians are good at, scamming 2012-12-07T08:34:45 < GargantuaSauce> unless that is a canadian living in france, i don't get it 2012-12-07T08:35:14 < dongs> isnt that basically same shit 2012-12-07T08:35:54 < GargantuaSauce> just like you are basically living in new zealand, maybe 2012-12-07T08:36:46 < dongs> and just like im basically jewish african american. 2012-12-07T08:39:14 < GargantuaSauce> i have no response to that 2012-12-07T08:46:40 < dongs> https://youtube.com/watch?v=K7dcSr04G8s 2012-12-07T09:14:50 < zippe> dongs: so annoying when your test program has the font scaling set to "extra super verysmall" 2012-12-07T09:15:11 < zippe> Your init sequence not so good for this display. Must have been for your other one? 2012-12-07T09:15:53 < dongs> the one inside #if 0? 2012-12-07T09:16:05 < dongs> #if 0 = frsky, #else = mine 2012-12-07T09:18:25 < zippe> Yeah, I made the mistake of assuming that "mine" meant "my code with their display" 2012-12-07T09:21:04 < dongs> sorry :( 2012-12-07T09:23:25 < baird> :/ ... https://www.youtube.com/watch?v=EYq9M_o5BaE 2012-12-07T09:25:55 < zippe> It's all good and educational 2012-12-07T09:26:02 < zippe> Their sequence contains magic test commands 2012-12-07T09:26:57 < dongs> ya? 2012-12-07T09:27:17 < dongs> it seemed to s omewhat match stuff in STP76wahtever, but slightly different 2012-12-07T09:27:22 < dongs> different enough not to init my lcd 2012-12-07T09:27:24 < dongs> with that sequence 2012-12-07T09:30:57 < zyp> dongs, nice, how soon? 2012-12-07T09:31:38 < dongs> zyp, maybe within 24h, i dont know. i heard somethin on the phone about a customer asking for 4l drc rules 2012-12-07T09:31:58 < dongs> and a proto order, not panel 2012-12-07T09:32:27 < zyp> I was planning on finishing it tonight anyway 2012-12-07T09:33:19 < zyp> http://bin.jvnv.net/f/QrEZ3.png <- apart from gnd vias, I don't think there's much left to fix 2012-12-07T09:33:34 < dongs> well, get to it :) 2012-12-07T09:34:11 < zyp> it'll have to wait until I'm home from work :p 2012-12-07T09:39:08 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-07T09:41:36 < zippe> zyp: would you be finished with the laks SPI code then too? 8) 2012-12-07T09:41:59 < zyp> I dunno about that :p 2012-12-07T09:49:34 < zippe> awww 2012-12-07T10:11:56 < dongs> this guy is doing some hardcore stuff 2012-12-07T10:11:57 < dongs> 0.5mm pitch bga 2012-12-07T10:14:10 < zyp> sounds pretty high-spec then 2012-12-07T10:21:04 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-07T10:21:05 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-07T10:21:05 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-07T10:27:57 -!- dekar [~dekar@dslb-188-107-194-015.pools.arcor-ip.net] has joined ##stm32 2012-12-07T10:28:01 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-07T10:43:53 -!- Laurenceb_ [~Laurence@host86-174-23-125.range86-174.btcentralplus.com] has joined ##stm32 2012-12-07T10:46:34 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Remote host closed the connection] 2012-12-07T10:46:56 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2012-12-07T10:50:01 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-07T11:03:16 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 248 seconds] 2012-12-07T11:03:42 -!- Laurenceb_ [~Laurence@host86-174-23-125.range86-174.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-07T11:09:52 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-07T11:28:14 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-12-07T11:35:13 < pelrun> argh, can't seem to get this chip to talk to me 2012-12-07T11:35:40 < pelrun> get 1ba01477 from st-util and thats about it 2012-12-07T11:40:49 < dongs> mag 7.3 earthquake, RIP dongs 2012-12-07T11:41:25 < baird> Go outside and drown for us. 2012-12-07T11:42:03 < pelrun> okay, so 1ba01477 is the core id for the VL chips 2012-12-07T11:42:55 < pelrun> must be getting that from *somewhere* 2012-12-07T11:43:49 < pelrun> it's just returning 0 for the chip id 2012-12-07T11:44:33 < pelrun> maybe this chip is toast 2012-12-07T11:45:22 < pelrun> also lets punch the asshole at ST who put two identical looking pin 1 markers on opposite corners of this chip 2012-12-07T12:15:15 < zyp> that's always fun figuring out 2012-12-07T12:17:28 < dongs> what 2012-12-07T12:17:30 < dongs> what chip is that 2012-12-07T12:18:54 < zyp> http://bin.jvnv.net/f/sTW8U.JPG <- this F4, for example 2012-12-07T12:19:08 < zyp> they are not identical, but not far off 2012-12-07T12:23:36 < dongs> top left is pin1 2012-12-07T12:23:44 < dongs> i can tell even by a shitty photo 2012-12-07T12:25:02 < dongs> the marker pin 1 is shinier / rounder on bottom 2012-12-07T12:25:30 < zyp> yes, it's curved, the other is flat 2012-12-07T12:26:27 < Laurenceb> but how are you supposed to know that 2012-12-07T12:27:22 < dongs> skills. 2012-12-07T12:29:21 < Laurenceb> turns out stepper motors seem to have a resonant frequency 2012-12-07T12:29:30 < Laurenceb> my motor was resonating at low speeds 2012-12-07T12:29:38 < Laurenceb> runs smoothly at higher step rates 2012-12-07T12:32:06 < Laurenceb> it seems the core has an angular resonant frequency 2012-12-07T12:32:12 < zyp> probably just because you are driving them with more power than required, so it speeds up during the step and then gets slowed down again until next step 2012-12-07T12:32:17 < Laurenceb> due to the way its held by the coil current 2012-12-07T12:32:28 < Laurenceb> yes, put simply 2012-12-07T12:33:01 < Laurenceb> the coil current is there all the time due to the constant current drive 2012-12-07T12:33:22 < zyp> but the current should vary with speed/load 2012-12-07T12:33:26 < Laurenceb> so the moment of inertia of the core and the force from the stator current acts like a mass/spring 2012-12-07T12:33:34 < pelrun> ugh, looks like putting that chip in backwards fried it 2012-12-07T12:33:36 < Laurenceb> constant current drive 2012-12-07T12:33:44 < pelrun> a second one was recognised instantly 2012-12-07T12:33:45 < Laurenceb> pelrun: you think? 2012-12-07T12:34:04 < zyp> not surprising 2012-12-07T12:34:05 < Laurenceb> power backwards freis chip?! whod have thunk it 2012-12-07T12:34:24 < pelrun> considering how the power pins are laid out, actually, it could potentially have survived 2012-12-07T12:34:50 < Laurenceb> interestingly my allegro driver is only warm 2012-12-07T12:35:05 < Laurenceb> the tarduino noobs are constantly setting them on fire 2012-12-07T12:35:17 < dongs> must be the amazing tarduino 8bit pwm 2012-12-07T12:35:57 < Laurenceb> looks like the resonance shouldnt be an issue anyway, as it takes quite a few steps to build up 2012-12-07T12:36:17 < Laurenceb> and im using fast slewed step rate 2012-12-07T12:36:25 < pelrun> note: I didn't backwards power the chip, I got confused by the bullshit pin 1 marking and put the chip itself in 180 degrees rotated 2012-12-07T12:36:32 < Laurenceb> ah 2012-12-07T12:36:33 < pelrun> power and ground pins still line up 2012-12-07T12:53:47 < Laurenceb> http://www.youtube.com/watch?v=Qig-LVW1yb4 2012-12-07T12:58:58 < pelrun> how on earth did they miss that? 2012-12-07T13:16:40 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-07T13:18:50 < Laurenceb> http://pastebin.com/YywWq5ny 2012-12-07T13:18:53 < Laurenceb> im the boss 2012-12-07T13:19:13 < Laurenceb> also now you can find where im working :P 2012-12-07T13:19:45 < Laurenceb> - binary search road classifier that runs off gps data from my vehicle logger 2012-12-07T13:39:48 < dongs> pelrun: what 2012-12-07T13:39:55 < dongs> < pelrun> power and ground pins still line up 2012-12-07T13:41:16 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-07T13:44:05 < pelrun> sort of 2012-12-07T13:46:09 < pelrun> 64tqfp - power is on the far end of each row of pins, ground is next to it. rotate 90deg and another power/ground pair take the place of the original 2012-12-07T13:46:41 < dongs> neat 2012-12-07T13:46:53 < pelrun> obviously not neat enough, the chip did fry 2012-12-07T13:46:58 < dongs> the future of chips you can rotate in any direction to use is near 2012-12-07T13:47:11 < dongs> you know how each chip has 4 sides? 2012-12-07T13:47:23 < dongs> ive managed to find out waht happens 3 out of 4 times when y ou put it on wrong side 2012-12-07T13:47:29 < pelrun> haha 2012-12-07T13:47:33 < dongs> i mean what happens in 3 different directions 2012-12-07T13:47:43 < pelrun> yeah, I understood you 2012-12-07T13:47:56 < dongs> its kinda cool 2012-12-07T13:47:58 < pelrun> so much for being able to identify the pin 1 marking, huh? 2012-12-07T13:48:14 < dongs> stm32 was c orrect, but HMC5883 mag chip was rotated 2012-12-07T13:48:21 < dongs> so one direction, it doesn't detect, but doesnt do anything bad 2012-12-07T13:48:27 < dongs> another direction, it actualyl fries stm32 I2C bus 2012-12-07T13:48:36 < dongs> and 3rd direction, it heats the fuck up out of everything 2012-12-07T13:59:23 < karlp> dongs: mad farming? http://www.youtube.com/watch?v=gEJHrmliVQw 2012-12-07T14:00:12 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Ping timeout: 264 seconds] 2012-12-07T14:02:01 < pelrun> urk 2012-12-07T14:04:43 < dongs> karlp: old 2012-12-07T14:05:13 < karlp> new2me 2012-12-07T14:05:36 < dongs> just as funny though 2012-12-07T14:06:36 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-07T14:08:43 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-07T14:09:01 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has joined ##stm32 2012-12-07T14:09:01 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has quit [Changing host] 2012-12-07T14:09:02 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-07T14:18:52 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-07T14:19:59 < Laurenceb> lol @ #dongspilot 2012-12-07T14:20:07 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-07T14:21:17 < dongs> lol 2012-12-07T14:21:27 < dongs> Laurenceb: so you would never use RFM modules? 2012-12-07T14:21:31 < dongs> even if they were cheap? 2012-12-07T14:21:56 < Laurenceb> nope 2012-12-07T14:22:10 < Laurenceb> easy to solder up a custom board with better specs 2012-12-07T14:32:02 < dongs> http://i.imgur.com/lNJ4s.jpg powersupplies are doen 2012-12-07T14:32:10 < dongs> test commence this weekend 2012-12-07T14:32:46 < Laurenceb> pic?! 2012-12-07T14:33:23 < dongs> top is not my shit 2012-12-07T14:33:23 < dongs> bottom 3 are mine 2012-12-07T15:23:51 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2012-12-07T15:27:44 < dongle> useless fucking garbage shit feenode 2012-12-07T15:29:49 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-07T15:34:33 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-07T15:34:33 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-07T15:34:33 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-07T15:34:33 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-07T15:34:34 -!- l4cr0ss [~lacro$$@174.34.166.171] has joined ##stm32 2012-12-07T15:34:44 -!- l4cr0ss [~lacro$$@174.34.166.171] has quit [Client Quit] 2012-12-07T15:35:56 -!- daku is now known as DaKu 2012-12-07T15:39:04 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 265 seconds] 2012-12-07T15:39:23 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-07T15:44:16 < dongs> attn Laurenceb http://www.reddit.com/r/bestof/comments/14dvtn/tofutofu_explains_the_bleakness_facing_the/c7cb3zb 2012-12-07T15:44:25 <+Steffanx> nu 2012-12-07T15:49:38 * Laurenceb is testing his route classifier 2012-12-07T15:50:15 < Laurenceb> just tested another journey, google says 64.1miles, mine says 64.36 2012-12-07T15:50:20 < Laurenceb> im happy with that 2012-12-07T15:51:15 < Laurenceb> http://pastebin.com/4pBVZ0pZ 2012-12-07T15:51:26 < dongs> today i learned: https://en.wikipedia.org/wiki/Nikah_mut%E2%80%98ah 2012-12-07T15:51:50 < Laurenceb> haha nice 2012-12-07T15:52:34 < Laurenceb> "useful in the case where a man had to travel away from home" 2012-12-07T15:52:36 < Laurenceb> rofl 2012-12-07T15:54:05 < dongs> im fucking moving to pakistan 2012-12-07T15:54:49 < Laurenceb> you got that the wrong way around 2012-12-07T15:56:26 < dongs> And there is no sin for you in what ye do by mutual agreement after the duty (hath been done). Lo! Allah is ever Knower, Wise. 2012-12-07T15:56:41 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-07T15:58:29 < dongs> It might also be seen as a cover for legalized prostitution, as the nikahu l-Mut'ah can last for as little as half an hour, and the woman receives financial compensation. In accordance with the Quran she must wait three months (iddah) before the next contract 2012-12-07T15:59:23 < dongs> win 2012-12-07T16:00:40 < baird> Confused about the intent of the "except to your wives or what your right hands possess" part... 2012-12-07T16:01:22 < dongs> haha 2012-12-07T16:05:55 < Laurenceb> http://www.google.co.uk/trends/explore#q=google%2B%2C%20facebook&cmpt=q 2012-12-07T16:05:59 < Laurenceb> epic fail 2012-12-07T16:13:10 < dongs> Laurenceb: better one http://www.google.co.uk/trends/explore#q=google%2B%2C%20facebook%2C%20orkut&cmpt=q 2012-12-07T16:15:06 <+Steffanx> Hmm, this says NOTHING 2012-12-07T16:15:41 <+Steffanx> Only facebook users are stupid enough to google for facebook on google. g+ users don't have to google g+ because it's on the homepage or they are smart enough to go to plus.google.com 2012-12-07T16:15:48 <+Steffanx> -google somewhere 2012-12-07T16:16:11 < dongs> also true. 2012-12-07T16:16:19 < dongs> every retard who uses fecesbook that I know 2012-12-07T16:16:24 < dongs> googles 'fb' 2012-12-07T16:16:24 < dongs> to get to it. 2012-12-07T16:16:49 < Oldboy> true. retarded g+ and facebook users 2012-12-07T16:17:08 <+Steffanx> Says our grumpy old man 2012-12-07T16:18:02 < Oldboy> In my day if you wanted to 'friend' someone, you walked 10 miles uphill to his house to do so. and you didn't tell him that you 'like'd him. 2012-12-07T16:18:11 < Oldboy> *in the snow 2012-12-07T16:18:20 <+Steffanx> Whoa, the good old times 2012-12-07T16:18:54 < karlp> then you walked up hill home again too amirite? 2012-12-07T16:19:12 <+Steffanx> :D :D 2012-12-07T16:19:59 <+Steffanx> I never did any of that 2012-12-07T16:20:23 <+Steffanx> No hills here ( and no snow most of the time ) 2012-12-07T16:21:27 < baird> It took my housemate a day to notice... http://i.imgur.com/ftoE8.jpg 2012-12-07T16:22:35 <+Steffanx> It'll take me 1000 years to give a shit :P 2012-12-07T16:23:18 <+Steffanx> Hmm, I shouldn't behave like flyback. Sorry 2012-12-07T16:23:22 < baird> brb, posting it to reddit 2012-12-07T16:24:00 <+Steffanx> Don't forget to don't remove the exif data 2012-12-07T16:24:32 < baird> fucking gimp. it used too... 2012-12-07T16:24:45 < Oldboy> imgur does it for you. 2012-12-07T16:26:35 < baird> So you can't stalk hotties' GPS positions? Sucks. 2012-12-07T16:27:17 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-07T16:27:30 <+Steffanx> I bet when they didn't remove it you'll end up with Laurenceb a-like guys 999 out of 100 times when you visit the 'girls' 2012-12-07T16:27:44 -!- DaKu is now known as daku 2012-12-07T16:27:45 < BrainDamage> bah, it's actually snowing here 2012-12-07T16:27:49 < BrainDamage> and I'm on a hill 2012-12-07T16:27:53 <+Steffanx> Isn't that nice? 2012-12-07T16:28:41 < BrainDamage> depends, if it'll make a wet slush, no 2012-12-07T16:28:43 <+Steffanx> Time to wax your snowboard 2012-12-07T16:34:43 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-07T16:38:18 < BrainDamage> blogging https://www.youtube.com/watch?v=7t96m2ynKw0 2012-12-07T16:42:42 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Quit: Leaving] 2012-12-07T16:45:22 < Laurenceb> you're not failing that hard, but damn you're close 2012-12-07T16:46:35 < BrainDamage> it's even too easy with Laurenceb 2012-12-07T16:46:54 < baird> You can 2012-12-07T16:47:54 < baird> You can always count on rms to get down with the common freetard. 2012-12-07T16:49:38 < baird> Severed cables on Curiosity? http://mars.jpl.nasa.gov/msl-raw-images/msss/00118/mcam/0118ML0732032000E1_DXXX.jpg 2012-12-07T16:51:41 < Laurenceb> probably umbilical 2012-12-07T16:57:38 < dongs> https://youtube.com/watch?v=hJahvgdidzg retweeting 2012-12-07T16:59:30 <+Steffanx> Uhm.. what it's it? 2012-12-07T16:59:36 <+Steffanx> Terrible quality 2012-12-07T16:59:38 <+Steffanx> Weird japanese guy 2012-12-07T17:00:05 <+Steffanx> or is it korean? 2012-12-07T17:00:46 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-07T17:00:47 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 255 seconds] 2012-12-07T17:01:02 <+Steffanx> WTF did i just watch? 2012-12-07T17:01:44 < baird> My VIC20 has better vidya than that. 2012-12-07T17:04:21 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-07T17:08:05 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-07T17:10:55 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 255 seconds] 2012-12-07T17:14:12 < Laurenceb> grrr 2012-12-07T17:14:42 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-07T17:14:48 < Laurenceb> chibios GPT being weird 2012-12-07T17:14:59 < Laurenceb> https://github.com/Laurenceb/Chibi-Spectro/blob/master/threads/EKF_Pressure.c#L200 2012-12-07T17:15:21 < Laurenceb> looks sane? 2012-12-07T17:19:02 < dongs> dont you have a copy of indent.exe 2012-12-07T17:19:10 < dongs> so you can sanitize your shit before submitting it 2012-12-07T17:19:21 < dongs> indent -kr -l400 -nut cocks.c 2012-12-07T17:19:34 <+Steffanx> dongs, please give some more info about the video you linked 2012-12-07T17:19:47 < dongs> Steffanx: some jap playing quake while quakin' 2012-12-07T17:19:57 <+Steffanx> Aaah 2012-12-07T17:19:59 <+Steffanx> :D 2012-12-07T17:20:26 <+Steffanx> I thought it was a guy on a train/car playing a game 2012-12-07T17:20:49 < dongs> yeah the noise in background is the shit shaking 2012-12-07T17:21:23 <+Steffanx> socoke whatever he says all the time :P 2012-12-07T17:22:15 < dongs> new jewtube interface makes me want to fucking stab 2012-12-07T17:22:27 <+Steffanx> What's wrong? 2012-12-07T17:22:35 < dongs> you dont notice anything different? 2012-12-07T17:22:40 < baird> pixiv is fucking things up at the moment, too. 2012-12-07T17:22:52 <+Steffanx> I do, it's very empty 2012-12-07T17:23:28 <+Steffanx> It's more about the video now, instead of other crap 2012-12-07T17:24:23 <+Steffanx> btw since when quake looks like that dongs? 2012-12-07T17:27:10 < dongs> no idea 2012-12-07T17:27:11 < dongs> i dont gayme 2012-12-07T17:27:32 <+Steffanx> Yes you do 2012-12-07T17:28:04 < jpa-> gayme gayyou gaysteffanx 2012-12-07T17:28:26 <+Steffanx> Yes, gaijpa 2012-12-07T17:29:20 <+Steffanx> Don't you get tired of yourself sometimes, jpa- ? 2012-12-07T17:29:41 < jpa-> i do 2012-12-07T17:29:51 <+Steffanx> Understandable 2012-12-07T17:30:01 < jpa-> in fact i'm quite sad person outside of irc 2012-12-07T17:30:08 < jpa-> it's my only escape from the reality 2012-12-07T17:30:15 <+Steffanx> Second life ftw 2012-12-07T17:30:34 <+Steffanx> Isn't that the reason why irc still exists? 2012-12-07T17:30:58 < jpa-> to keep me happy? probably. 2012-12-07T17:31:47 <+Steffanx> Too escape from reality ... 2012-12-07T17:33:37 < baird> Second flaybackness warning. You'll be kicked on the third. 2012-12-07T17:34:24 <+Steffanx> Facts don't lie, baird 2012-12-07T17:39:12 < Laurenceb> http://mrdoob.com/lab/javascript/effects/ie6/ 2012-12-07T17:40:13 <+Steffanx> hehe 2012-12-07T17:40:21 -!- dekar [~dekar@dslb-188-107-194-015.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-12-07T17:50:01 < zyp> dongs, nice video 2012-12-07T17:51:26 < dongs> we aim to please 2012-12-07T17:51:41 < dongs> status of i2c testing? 50bux is standin by 2012-12-07T18:07:27 < zyp> not yet, maybe tonight after I've finished the gerbers 2012-12-07T18:08:12 < zyp> then you can put the 50bux towards whatever I'm going to owe you for boards and shit 2012-12-07T18:16:46 < Laurenceb> how do i read address of a pointer from gdb? 2012-12-07T18:17:02 < Laurenceb> p Pot_sample 2012-12-07T18:17:02 < Laurenceb> $36 = {0} 2012-12-07T18:17:12 < Laurenceb> ^ i want the address of Pot_sample 2012-12-07T18:22:04 < dongs> &cocks? 2012-12-07T18:25:41 < Laurenceb> what the fuuuu 2012-12-07T18:25:43 < Laurenceb> adc2callback_pot (adcp=0x2000a3b0, buffer=0x2000b3a6, n=1) 2012-12-07T18:26:44 < Laurenceb> oh thats correct 2012-12-07T18:26:45 < Laurenceb> nvm 2012-12-07T18:31:51 < Laurenceb> its getting data, but its centered on 2800 2012-12-07T18:32:03 < Laurenceb> and wont change value as i slew the pin voltage 2012-12-07T18:33:05 < Laurenceb> gpio config is the same as other stuff that works... 2012-12-07T18:33:07 < dongs> http://bcas.tv/paste/results/25NPzl37.html holy shit i wrote some laurenceb-style code 2012-12-07T18:33:26 -!- daku is now known as DaKu 2012-12-07T18:43:59 -!- DaKu is now known as daku 2012-12-07T18:56:08 -!- claude is now known as Claude 2012-12-07T19:00:34 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-07T19:04:17 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-07T19:06:58 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-07T19:10:34 < TitanMKD> hello 2012-12-07T19:14:24 < Laurenceb> lol 2012-12-07T19:14:30 < Laurenceb> first chibios fail 2012-12-07T19:14:34 < Laurenceb> http://chibios.sourceforge.net/html/dot_inline_dotgraph_7.png 2012-12-07T19:14:53 < Laurenceb> question: if callback called halfway through a non circular transfer? 2012-12-07T19:14:59 < Laurenceb> *is 2012-12-07T19:16:23 < Laurenceb> http://www.bbc.co.uk/news/uk-20645838 <- in b4 dongs 2012-12-07T19:19:21 <+Steffanx> Hmm, that sucks Laurenceb ... 2012-12-07T19:19:54 < Laurenceb> first confirmed victim of bairds friends 2012-12-07T19:20:03 < dongs> i dont even understand what the fuck that article says 2012-12-07T19:20:05 < dongs> and im not ESL 2012-12-07T19:20:29 <+Steffanx> dongs didn't see the previous article? 2012-12-07T19:20:31 < dongs> no 2012-12-07T19:20:45 < dongs> i dont udnerstand this duke and dutchess shit 2012-12-07T19:20:47 < Laurenceb> there was some epic phone trolling 2012-12-07T19:20:58 < Laurenceb> she got trolled 2012-12-07T19:21:14 < dongs> and? 2012-12-07T19:21:18 < dongs> sauce plz 2012-12-07T19:21:56 < dongs> ok, clicked on related stories 2012-12-07T19:21:57 < dongs> reading 2012-12-07T19:23:42 < dongs> still dont get it 2012-12-07T19:23:46 < dongs> so why did she die? 2012-12-07T19:23:55 < Laurenceb> suicide 2012-12-07T19:24:05 < dongs> wut 2012-12-07T19:24:18 < Laurenceb> you should know 2012-12-07T19:24:28 -!- Claude is now known as claude 2012-12-07T19:24:34 < Laurenceb> i bet lots of your victims went the same way :P 2012-12-07T19:25:34 < dongs> the only brit newspaper i can read is theregister 2012-12-07T19:25:46 < dongs> all this other shit is writtne in some fucked up english that makes my brain hurt 2012-12-07T19:25:49 < zyp> only brit newspaper worth reading 2012-12-07T19:25:56 < Laurenceb> heh 2012-12-07T19:26:10 < dongs> probably true 2012-12-07T19:33:23 < zippe> well, bollocks. Now I think I've killed it. 2012-12-07T19:34:41 < dongs> sup? 2012-12-07T19:34:48 < dongs> whatcha killed 2012-12-07T19:34:57 < dongs> lcd? 2012-12-07T19:35:05 < Laurenceb> jewz 2012-12-07T19:36:58 < zippe> dongs: for some weird reason I suddenly started having to set the column start address to 4 2012-12-07T19:37:13 < zippe> otherwise I get 4 columns of trash on the LHS of the display that I don't remember seeing before 2012-12-07T19:37:20 < dongs> hurm 2012-12-07T19:37:26 < zippe> Almost like I confused it greatly 2012-12-07T19:38:00 < dongs> can you load a hex? 2012-12-07T19:38:06 < dongs> i can give you their shit rebuilt 2012-12-07T19:38:16 < zippe> mm, I believe so 2012-12-07T19:38:16 < dongs> to see if its hw or coad 2012-12-07T19:38:24 < dongs> well i might have a .elf too 2012-12-07T19:41:18 < zippe> Huh, that's right, the display is upside down 2012-12-07T19:41:25 < dongs> crossworks not having the most basic code navigation is fucking idiotic 2012-12-07T19:41:35 < zippe> So the shift is actually required to get stuff onto the display 2012-12-07T19:42:16 < zippe> Because it's a 128x64 display on a 132x64 controller 2012-12-07T19:42:21 < dongs> right 2012-12-07T19:42:28 < dongs> 132x72 i think acutally 2012-12-07T19:42:31 < dongs> or whatever datasheet says 2012-12-07T19:42:33 < dongs> some oddball nubmer 2012-12-07T19:42:36 < zippe> 65 2012-12-07T19:43:07 < zippe> so maybe it's just that I'm flipping it using the wrong command? 2012-12-07T19:43:22 < dongs> flip using the mirror bit? 2012-12-07T19:44:05 < zippe> The ADC bit, yes 2012-12-07T19:46:33 < dongs> zippe: ^ elf+hex 2012-12-07T19:47:01 < dongs> i'd be curious if it works, i put my mods under #ifdef in all places i could remember 2012-12-07T19:47:46 < zippe> ta 2012-12-07T19:49:18 < zippe> Doesn't boot 2012-12-07T19:49:52 < dongs> ya, hm, it doesnt boot here either, but runs inside debugger 2012-12-07T19:49:57 < dongs> wonder if its some crossworks faggotry 2012-12-07T19:51:37 < dongs> if i load + F5 it in debugger it works.. 2012-12-07T19:51:52 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2012-12-07T19:54:09 < zippe> Hmm, well, partly I am an idiot 2012-12-07T19:54:15 < zippe> And partly this thing is just wired bass ackwards. 2012-12-07T19:54:37 < zippe> Now I get to use my 'favorite' interview question 2012-12-07T19:59:48 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Read error: No route to host] 2012-12-07T20:00:47 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-07T20:01:11 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-07T20:02:14 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-07T20:08:05 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-07T20:15:43 < dongs> news for laurenceb http://www.nydailynews.com/news/crime/incestuous-father-daughter-pair-arrested-sex-obscenity-charges-article-1.1214145 2012-12-07T20:16:40 -!- dekar [~dekar@212.255.17.245] has joined ##stm32 2012-12-07T20:16:41 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-07T20:30:08 -!- barthess [~barthess@178.154.20.172] has joined ##stm32 2012-12-07T20:44:45 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2012-12-07T21:19:01 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-07T21:53:19 -!- alexn__ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-07T21:56:28 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 244 seconds] 2012-12-07T22:05:37 -!- Netsplit *.net <-> *.split quits: zyp, ReggieUK, Rious, mervaka, Vutral 2012-12-07T22:07:42 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-07T22:09:36 -!- alexn__ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 265 seconds] 2012-12-07T22:10:59 -!- Netsplit over, joins: Vutral, mervaka, ReggieUK, zyp, Rious 2012-12-07T22:27:40 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-07T22:29:18 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2012-12-07T22:30:17 -!- Laurenceb_ [~Laurence@host81-151-161-84.range81-151.btcentralplus.com] has joined ##stm32 2012-12-07T22:31:34 < Laurenceb_> " GCC example project: https://github.com/EliasOenal/TNT_Example (Blinky light" 2012-12-07T22:31:38 < Laurenceb_> noooo 2012-12-07T22:31:43 < Laurenceb_> well as long as they arent blue 2012-12-07T22:34:27 < BrainDamage> now make a demo board in arduino form factor 2012-12-07T22:35:19 < zyp> you mean the maple? 2012-12-07T22:38:15 <+Steffanx> No, laurduino 2012-12-07T22:38:59 < zyp> like arduino, with double the useless? 2012-12-07T22:39:33 <+Steffanx> Yep and no spaces 2012-12-07T22:39:51 <+Steffanx> Blaxter ratio increasing hardware 2012-12-07T22:44:16 < jpa-> comes with malfunctioning timers included 2012-12-07T22:45:05 < BrainDamage> and a fried adc pin 2012-12-07T22:46:28 < jpa-> it can do GPS in software and measure your blood sugar levels, but it will not do PWM 2012-12-07T22:48:38 < Laurenceb_> epic troll battle 2012-12-07T23:10:13 -!- DLPeterson_ [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2012-12-07T23:10:45 -!- DLPeterson_ [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Client Quit] 2012-12-07T23:35:08 -!- barthess [~barthess@178.154.20.172] has quit [Quit: Leaving.] 2012-12-07T23:54:19 < zyp> hmm, if I'm counting this correctly I'm breaking out exactly 100 signals from the lpc4300 2012-12-07T23:55:03 -!- daku is now known as DaKu 2012-12-07T23:55:41 < zyp> in addition to those I'm hooking up 44 other pads to vcc/gnd planes 2012-12-07T23:56:16 < ds2> 144 pin package? 2012-12-07T23:56:23 < zyp> bga256 2012-12-07T23:56:37 < ds2> oh... the other ones are just floating? 2012-12-07T23:57:05 < zyp> http://bin.jvnv.net/f/eaiEM.png <- I think I'm pretty much done with it now 2012-12-07T23:58:09 < ds2> what pitch is that? 2012-12-07T23:58:17 < zyp> on the bga? 1mm 2012-12-07T23:58:29 < ds2> ah, no wonder you have so much room around the via 2012-12-07T23:58:32 < ds2> how big is the via drill? 2012-12-07T23:58:37 < zyp> 10mil 2012-12-07T23:58:47 < ds2> so lucky 2012-12-07T23:58:53 < ds2> you get to use the cheap standard processes --- Day changed Sat Dec 08 2012 2012-12-08T00:02:13 < zyp> :p 2012-12-08T00:04:26 < qyx_> zyp: seems good, i started to do lcp3130 in fbga180 2012-12-08T00:04:53 < zyp> I just wonder if I've overlooked or forgot anything now 2012-12-08T00:04:56 < qyx_> i will see if the local pcb factory can manufacture that 2012-12-08T00:05:09 < ds2> is the lpc4300 the one with the SDRAM controller? 2012-12-08T00:05:12 < zyp> yes 2012-12-08T00:05:21 < ds2> and are you putting in SDRAM? 2012-12-08T00:05:23 < zyp> the diagonal chip is sdram 2012-12-08T00:05:32 < ds2> Ohhh 2012-12-08T00:05:36 < ds2> what's the use for this board? 2012-12-08T00:05:47 < zyp> gain experience with bga :p 2012-12-08T00:05:58 < zyp> both design and assembly :p 2012-12-08T00:06:05 < ds2> oh 2012-12-08T00:06:06 < zyp> design was not that bad :p 2012-12-08T00:06:08 < ds2> how much SDRAM is there? 2012-12-08T00:06:28 < zyp> I think the largest chips you get in that form factor is 32MB 2012-12-08T00:06:47 < ds2> that is megaBYTE right? 2012-12-08T00:06:52 < zyp> yes 2012-12-08T00:07:03 < ds2> x32? 2012-12-08T00:07:13 < zyp> 16Mx16 2012-12-08T00:07:30 < ds2> how many are you making? 2012-12-08T00:07:30 <+Steffanx> Why you don't go something bga-ish for the SDRAM as well zyp ? 2012-12-08T00:08:00 < zyp> ds2, no idea 2012-12-08T00:08:23 < ds2> zyp: might be interested in buying a few if you are interested 2012-12-08T00:08:34 < ds2> seems like a usable platform for uCLinux 2012-12-08T00:08:39 < zyp> assembled ones? 2012-12-08T00:08:51 < ds2> u hand assembling or? 2012-12-08T00:08:55 < zyp> yes 2012-12-08T00:09:06 < ds2> oh... that sounds painful.. ideally, assembled, yes 2012-12-08T00:09:31 < ds2> otherwise, a few PCBs might also be of interest 2012-12-08T00:10:30 < TitanMKD> zyp i'm interested too ;) As i have 2 LPC4330 BGA 256 2012-12-08T00:10:46 < TitanMKD> I can also save an other but i will need reballing so i will avoid ;) 2012-12-08T00:10:47 < ds2> are you frying pan assembly or oven? 2012-12-08T00:10:51 < zyp> oven 2012-12-08T00:11:29 < TitanMKD> zyp it seems you forgot the SPIFI chipset too 2012-12-08T00:11:31 < ds2> that does seem small enough to try out a toaster oven assembly method 2012-12-08T00:11:40 < TitanMKD> maybe you plan only LPC43xx with flash version embedded 2012-12-08T00:11:48 < zyp> TitanMKD, correct 2012-12-08T00:11:50 < ds2> zyp: what layout sw? 2012-12-08T00:11:51 < TitanMKD> but warning it's not the best ;) 2012-12-08T00:11:58 < zyp> ds2, eagle :p 2012-12-08T00:12:01 < TitanMKD> less memory and slower 2012-12-08T00:12:02 < ds2> and how many layers? 2012-12-08T00:12:04 < zyp> 4 2012-12-08T00:12:16 < ds2> eagle + or eagle standard? 2012-12-08T00:12:21 < zyp> TitanMKD, slower? 2012-12-08T00:12:30 < TitanMKD> yes internal flash is not really 0 waitstate 2012-12-08T00:12:46 < TitanMKD> or only for little loop using the "cache" 2012-12-08T00:12:54 <+Steffanx> "eagle :P" embarrassed ? 2012-12-08T00:12:56 <+Steffanx> :P 2012-12-08T00:12:57 < zyp> ds2, hobbyist license 2012-12-08T00:13:09 < ds2> Ohhh the special case 2012-12-08T00:13:16 < ds2> so technically, I cannot buy boards from you :D 2012-12-08T00:13:41 < qyx_> technically, you can be given some 2012-12-08T00:13:46 < TitanMKD> zyp for best performance all must run from internal RAM and data shall be in other segment than code to have really obtain store/load in 1 cycle 2012-12-08T00:13:50 < zyp> well, I'm not interested in earning money on them either, but I don't mind parting with some at cost 2012-12-08T00:13:57 <+Steffanx> incl. increased shipping costs qyx_ ? :) 2012-12-08T00:14:12 < qyx_> and technically, you can give zyp money.. for nothing 2012-12-08T00:14:18 <+Steffanx> :) 2012-12-08T00:16:08 < ds2> ah 2012-12-08T00:16:24 < ds2> I use eagle myself 2012-12-08T00:16:37 < ds2> zyp: okay, I wouldn't mind helping to 'defray costs' :) 2012-12-08T00:27:25 < zyp> hmm, the lpc4300 flash is slower than the stm32f4 flash 2012-12-08T00:27:47 < zyp> f4 flash handles up to 30 MHz, lpc flash handles up to 21 MHz 2012-12-08T00:29:21 < zyp> hmm, I can't find anything about lpc flash width either 2012-12-08T00:31:25 < zyp> f4 flash is 128B wide, so even at 30MHz it loads four words per cycle, giving equivalent performance to a word-wide flash running at 120MHz for accesses that are predicted and prefetched 2012-12-08T00:31:51 < zyp> I can't find anything about that in lpc documentation 2012-12-08T00:32:02 < TitanMKD> yes there's just nothing ;) 2012-12-08T00:32:23 < zyp> well, they have those so-called «flash accelerators» 2012-12-08T00:32:39 < TitanMKD> yes but IIRC it is just a cache like on SPIFI 2012-12-08T00:32:49 < TitanMKD> so just 256bytes of cache for I&D 2012-12-08T00:32:53 < zyp> but they don't tell much about it, except configuration register, which is just wait state setting 2012-12-08T00:33:22 < TitanMKD> it is why i tell you avoid flash version and keep spifi ;) 2012-12-08T00:33:41 < TitanMKD> and especially you double the internal sram on non flash version 2012-12-08T00:33:57 < zyp> TitanMKD, but what's the datapath width between flash and cache? 2012-12-08T00:34:07 < TitanMKD> it's not specified 2012-12-08T00:34:30 < TitanMKD> but i doubt it's efficient as in STM32F4 with 128b ... 2012-12-08T00:35:10 < zyp> well, I don't base my decisions on what you doubt :p 2012-12-08T00:35:13 < TitanMKD> it's like SGPIO SSREG they never say the latency to read such reg is 8cycles in best case 2012-12-08T00:35:38 < TitanMKD> so you can NEVER achieve the theoric speed of 102MHz on 16SGPIO 2012-12-08T00:36:07 < TitanMKD> as 8cycles*16REG = 128cycles just to retrieve the data !! 2012-12-08T00:36:08 < zyp> well, you probably just have unrealistic expectations there :p 2012-12-08T00:36:32 < TitanMKD> i have tested them 2012-12-08T00:37:00 < TitanMKD> even from M0 core it is even worse as M0 take even more cycle for load/store ;) 2012-12-08T00:37:42 < TitanMKD> also avoid to use it as raw digital signal generator the signal output are awfull with overshoot up to 5V instead of 3.3V ! 2012-12-08T00:38:05 < TitanMKD> and it is not in ERRATA !! 2012-12-08T00:38:21 < TitanMKD> such overshoot just kill CPLD/FPGA !! 2012-12-08T00:39:13 < TitanMKD> look here if you do not believe me 2012-12-08T00:39:14 < TitanMKD> https://github.com/TitanMKD/hackrf/blob/master/doc/LPC4330_SGPIO_SignalGenerator_Measurements.pdf 2012-12-08T00:39:49 < zyp> you've been over this before 2012-12-08T00:39:49 < TitanMKD> i love also the undershoot up to -2.08V !! 2012-12-08T00:40:08 < TitanMKD> and overshoot max 7.12V !! 2012-12-08T00:40:47 < Laurenceb_> i blame lead inductance 2012-12-08T00:40:57 < TitanMKD> zyp it is just to prevent you to add some resistor(cheap RC filter) on such signals ;) 2012-12-08T00:40:57 < zyp> yeah 2012-12-08T00:41:01 < Laurenceb_> or scope coax impedance mismatch 2012-12-08T00:41:09 < TitanMKD> no it's confirmed by NXP too 2012-12-08T00:41:15 < TitanMKD> with their own measurement 2012-12-08T00:41:40 < TitanMKD> nothing is related to my scope measurement 2012-12-08T00:41:42 < zyp> this looks to me as a normal phenomen of the analog properties of a digital signal, not really anything to be very surprised over 2012-12-08T00:41:58 < TitanMKD> zyp i never see such stuff on STM32F4 2012-12-08T00:42:07 < TitanMKD> not with overshoot of 7V !! 2012-12-08T00:42:17 < TitanMKD> in worst case 3.3V is 3.6V 2012-12-08T00:42:26 < Laurenceb_> i always use an impedanc ematching network on high speed stuff 2012-12-08T00:42:31 < Laurenceb_> i doubt that is real 2012-12-08T00:42:44 < zyp> well, the screenshots are from a cheap rigol :p 2012-12-08T00:42:47 < zyp> go figure 2012-12-08T00:43:02 < TitanMKD> and why the 102MHz is good ;) 2012-12-08T00:43:07 <+Steffanx> "no it's confirmed by NXP too" .. no more info about that TitanMKD ? 2012-12-08T00:43:11 < ds2> how much slower is sdram compared to their flash? 2012-12-08T00:43:35 < TitanMKD> Steffanx confirmed by some internal test they have done with very expensive scope 2012-12-08T00:43:38 < zyp> ds2, hard to say when we don't know how fast their flash is :p 2012-12-08T00:43:53 <+Steffanx> ok, but no details TitanMKD ? 2012-12-08T00:44:04 < zyp> but I'm inclined to guess that it's quite possible that sdram is faster than flash 2012-12-08T00:44:10 < TitanMKD> even if my scope could have some error like the max 7V overshoot is maybe 6.5V ;) 2012-12-08T00:44:24 <+Steffanx> Should bring NXP a visit.. it's not that far away from me :P 2012-12-08T00:44:25 < ds2> do they at least say how wide is their flash? (x16 or x32) 2012-12-08T00:44:39 < zyp> no, that's what I just complained about :p 2012-12-08T00:44:58 < TitanMKD> look hackrf hw on all SGPIO there's some resistor ;) 2012-12-08T00:45:01 < ds2> 'word' doesn't stick out 2012-12-08T00:45:04 < TitanMKD> it's not for fun 2012-12-08T00:45:11 < ds2> hazards of speed reading IRC logs 2012-12-08T00:45:18 < TitanMKD> it's to avoid killing the CPLD which is not 5V compliant ! 2012-12-08T00:45:19 < zyp> :) 2012-12-08T00:45:55 < TitanMKD> the best is a RC filter but requires more components .. 2012-12-08T00:46:19 < TitanMKD> even with a buffer this c***t happen 2012-12-08T00:46:34 -!- Laurenceb__ [~Laurence@host86-173-193-197.range86-173.btcentralplus.com] has joined ##stm32 2012-12-08T00:46:38 < Laurenceb__> but thats not saying it can it wont cause some damage in worst case 2012-12-08T00:46:38 < TitanMKD> it seems the buffer i use does not filter the glitch and clean the signal out 2012-12-08T00:46:42 < Laurenceb__> i always use an impedanc ematching network on high speed stuff 2012-12-08T00:46:48 < Laurenceb__> arg 2012-12-08T00:47:10 < TitanMKD> for me 6MHz is not really high speed ;) 2012-12-08T00:47:37 < ds2> so you are not building on plugable breadboards... 2012-12-08T00:48:17 < zyp> Laurenceb__, by the way, what's the model of your scope? 2012-12-08T00:48:35 < TitanMKD> like you can see 6MHz signal shall be from 0 to 3.3V and it is from -1.84V to +5.04V => VPP 6.88V !! 2012-12-08T00:48:57 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-12-08T00:49:18 -!- Laurenceb_ [~Laurence@host81-151-161-84.range81-151.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-08T00:50:13 < zyp> TitanMKD, except that measuring the voltage of a transient like that is not very reliable, so the resulting voltage is an utterly worthless number 2012-12-08T00:51:13 < TitanMKD> even with a resistor i see it ;) 2012-12-08T00:51:25 < TitanMKD> and also connected to something else like CPLD 2012-12-08T00:51:46 < TitanMKD> as it should attenuate because of impedance of CPLD input ... 2012-12-08T00:52:39 <+Steffanx> nxp should release some official documents. That will help you convince zyp, TitanMKD :P 2012-12-08T00:52:48 < TitanMKD> i just want to prevent you before you will be disappointed ;) 2012-12-08T00:53:20 < TitanMKD> anyway it's a very good hw when you know the limitations/problems ;) 2012-12-08T00:54:34 < TitanMKD> in fact it's due to the fact those pins used for SGPIO are also used for SDR and they have high strength to be drived at up to 200MHz 2012-12-08T00:54:46 < TitanMKD> SDR=>EMC 2012-12-08T00:55:20 < TitanMKD> it's why at 102Mhz the signal is clean but the border effect is on slower frequency 2012-12-08T00:56:21 < zyp> no, it's not 2012-12-08T00:56:46 < zyp> it's because your cheap scope can't measure that high frequencies. 2012-12-08T00:57:09 < TitanMKD> haha measure it yourself in that case 2012-12-08T00:57:11 < Laurenceb__> zyp: tectronix 2012-12-08T00:57:12 < Laurenceb__> http://www.tek.com/oscilloscope/mso4000-dpo4000 2012-12-08T00:57:16 < Laurenceb__> older version of that 2012-12-08T00:57:21 < zyp> right 2012-12-08T00:57:22 < Laurenceb__> with compact flash and usb 2012-12-08T00:57:25 < Laurenceb__> not 2x usb 2012-12-08T00:57:51 < Laurenceb__> 1GHz, 10Msample 2012-12-08T00:57:51 < zyp> I think the one I've used a bit at work is a MSO4054 2012-12-08T00:58:09 < Laurenceb__> i think that mine... 2012-12-08T00:58:12 < Laurenceb__> at home atm 2012-12-08T00:58:16 < Laurenceb__> * that is 2012-12-08T00:58:33 < Laurenceb__> 4045 seems familiar 2012-12-08T00:58:41 < zyp> ah, maybe it was 4045 2012-12-08T00:59:48 < Laurenceb__> the firmware upgrade helped a lot 2012-12-08T01:00:10 < Laurenceb__> but fft was screwed up 2012-12-08T01:00:26 < Laurenceb__> have to enter it using the equation editor to avoid silly windowing 2012-12-08T01:02:35 < Laurenceb__> the 50 ohm input is nice, but the noise floor is too high to make a good spectrum analyser 2012-12-08T01:03:09 < mervaka> silly windowing? :/ 2012-12-08T01:03:10 < Laurenceb__> guess i could stick an antenni on the front and use the 10Msample buffer as an RF grabber 2012-12-08T01:03:15 < Laurenceb__> havent tried that yet 2012-12-08T01:03:28 < Laurenceb__> mervaka: you cant scroll down to the noise floor 2012-12-08T01:03:34 < Laurenceb__> it has a 20dB holdoff 2012-12-08T01:03:37 < mervaka> oh 2012-12-08T01:04:45 < mervaka> my scope has a choice between blackmann and hanning 2012-12-08T01:06:26 < ds2> or just get a spec an 2012-12-08T01:06:40 < mervaka> because everyone has that sort of money.. :/ 2012-12-08T01:07:04 < TitanMKD> mervaka and mine the cheap DS1102E has Rectangle/Hanning/Hamming/Blackman 2012-12-08T01:07:21 < mervaka> mine's just a DSO with FFT 2012-12-08T01:07:26 < mervaka> nothing serious 2012-12-08T01:07:40 < ds2> the old ones aren't that steep 2012-12-08T01:07:52 < ds2> but if it is purely a hobby thing.... 2012-12-08T01:08:09 < TitanMKD> ds2 like mine it's my personal scope for hobby 2012-12-08T01:08:09 < mervaka> the uni still has an old HP one 2012-12-08T01:08:18 < mervaka> bleedy massive 2012-12-08T01:08:29 < ds2> tube based? 2012-12-08T01:08:32 < mervaka> think so 2012-12-08T01:08:39 < ds2> those should be coming up cheap 2012-12-08T01:08:40 < mervaka> certainly CRO 2012-12-08T01:08:46 < ds2> this one actually says HP, right? 2012-12-08T01:08:49 < mervaka> yeah 2012-12-08T01:08:56 < mervaka> on wheels 2012-12-08T01:09:03 < mervaka> well, its own trolley 2012-12-08T01:09:09 < TitanMKD> anyway i used some Tek and Lecroy and I really like my Rigol which is very good for the price ;) 2012-12-08T01:09:29 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 255 seconds] 2012-12-08T01:10:01 < zyp> I recently tried looking at RMII with my rigol, it was utterly useless :p 2012-12-08T01:10:34 < zyp> completely impossible to get a sane reading 2012-12-08T01:10:46 < zyp> which is, well, expected 2012-12-08T01:10:54 < ds2> anyone tried the hanteks? 2012-12-08T01:10:57 < TitanMKD> anyway anything above 50Mhz is a bit too much for rigol and only 1GSPS ;) 2012-12-08T01:11:12 < zyp> TitanMKD, yes, and RMII is 50MHz 2012-12-08T01:11:17 < ds2> for some stuff, an analog scope is nicer 2012-12-08T01:11:27 < zyp> flyback, remap? 2012-12-08T01:11:40 < zyp> no. 2012-12-08T01:11:55 < TitanMKD> zyp yes to have good measure @ 50MHz and with only 20points it is not a must 2012-12-08T01:11:56 < zyp> vector tables is something completely different 2012-12-08T01:12:09 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-08T01:12:28 < zyp> the remapping stuff is that peripherals can be assigned to several different pins 2012-12-08T01:12:45 < zyp> which is possible, but probably not as useful as you hope 2012-12-08T01:13:22 < TitanMKD> flyback choose F4 for that on LQFP64 it has only 2 pins not +5V tolerant ;) 2012-12-08T01:14:04 < TitanMKD> it's true for the price F0 shall be more interesting 2012-12-08T01:14:28 < mervaka> couple of pins on the F4 i think have lower current limits 2012-12-08T01:14:35 < mervaka> on port C i think? 2012-12-08T01:15:04 < TitanMKD> flyback hmm expensive for a F0 when you see F4 is 10US$ 2012-12-08T01:15:20 < zyp> mervaka, correct 2012-12-08T01:15:40 < zyp> the pins that are hooked up to backup domain have lower current tolerance 2012-12-08T01:16:04 < TitanMKD> flyback and M4+FPU really kill the M0 core as M4 is about 4time faster and even more when using DSP and at same freq 2012-12-08T01:16:33 < zyp> TitanMKD, yeah, I'm sure FPU and DSP is soo useful for eeprom programming. 2012-12-08T01:17:14 < TitanMKD> zyp hehe yes for such basic task it does not really requires a M4 but think you can do more than just programming an eeprom with it ;) 2012-12-08T01:17:28 < TitanMKD> flyback yes the M0+ seems a very good alternative 2012-12-08T01:17:50 < zyp> yeah, let's compute mandelbrot fractals when we're not busy programming eeproms! 2012-12-08T01:18:59 < TitanMKD> flyback you need to drive a Nandflash or something like that when you speak about parallel bus flash ? 2012-12-08T01:19:12 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-08T01:19:12 < TitanMKD> ha ok nor 2012-12-08T01:20:06 < TitanMKD> in that case there's cheaper MCU for that 2012-12-08T01:20:15 < TitanMKD> like TI or NXP ones 2012-12-08T01:20:49 < TitanMKD> LPC800 could be great for that 2012-12-08T01:20:59 < TitanMKD> as it have all pin reconfigurable like you want 2012-12-08T01:21:14 < TitanMKD> and it's a M0+ 2012-12-08T01:21:49 < TitanMKD> anyway LPC800 is really new and only available as samples IIRC 2012-12-08T01:32:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-08T01:44:04 <+Steffanx> nah flyback .. you made him leave 2012-12-08T01:45:05 <+Steffanx> :P 2012-12-08T01:54:29 -!- DaKu is now known as daku 2012-12-08T01:59:52 < Laurenceb__> https://www.sparkfun.com/products/11608 2012-12-08T02:07:24 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-08T02:14:26 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 252 seconds] 2012-12-08T02:18:37 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-08T02:18:49 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-08T02:23:06 < zyp> dongs, morning 2012-12-08T02:23:22 < dongs> yo. status of status. 2012-12-08T02:23:50 < zyp> http://bin.jvnv.net/f/eaiEM.png <- what do you think about this? did I forget anything? :p 2012-12-08T02:24:31 < dongs> via next to every ground.. doesnt look too bad 2012-12-08T02:25:04 < zyp> hang on, I'll zip up the gerbers, so you can have a look and see if they are sane 2012-12-08T02:25:11 < dongs> ok 2012-12-08T02:25:26 < dongs> whats the fill>trace spacing 2012-12-08T02:25:33 < dongs> 5mil? 2012-12-08T02:26:25 < zyp> http://bin.jvnv.net/f/c8twQ.zip 2012-12-08T02:26:27 < zyp> 6/6 2012-12-08T02:26:32 < zyp> and vias are 10/20 2012-12-08T02:26:35 < Laurenceb__> http://imgur.com/gallery/1UUBJ 2012-12-08T02:26:44 < zyp> and DRC doesn't complain 2012-12-08T02:27:41 < dongs> ok, ill pass this over for check and lets see if that dude with 0.5bga proto is submitting ornot 2012-12-08T02:28:03 < Laurenceb__> http://imagebin.org/238469 2012-12-08T02:28:09 < Laurenceb__> ill troll with that board 2012-12-08T02:28:32 < dongs> isnt that old 2012-12-08T02:28:34 < dongs> troll who 2012-12-08T02:29:06 < Laurenceb__> you 2012-12-08T02:29:14 < dongs> zyp 2012-12-08T02:29:24 < dongs> layer 3 is just solid? 2012-12-08T02:29:32 < dongs> vcc plane? 2012-12-08T02:29:46 < zyp> layer 2 is gnd and layer 3 is vcc, yes 2012-12-08T02:30:27 < dongs> .tst = stencil? 2012-12-08T02:30:32 < dongs> or wait no .tcr is 2012-12-08T02:30:42 < dongs> if so, why do you have stencil openings on USB connector holes 2012-12-08T02:30:46 < zyp> cr is stencil, st is mask and sl is silk 2012-12-08T02:30:56 < zyp> because I'm going to reflow it 2012-12-08T02:31:09 < dongs> paste on holes? 2012-12-08T02:31:14 < zyp> sure 2012-12-08T02:31:21 < dongs> that cant end well 2012-12-08T02:31:24 < Laurenceb__> heh 2012-12-08T02:31:34 < zyp> I figure kapton on the bottom should work well 2012-12-08T02:31:36 < Laurenceb__> isnt it supposed to work if you solder stop over them? 2012-12-08T02:31:40 < Laurenceb__> - the vias 2012-12-08T02:32:22 < dongs> also: lol @ eagle exporting holes as lines 2012-12-08T02:32:33 < zyp> on F4 board I didn't have paste openings for the usb holes 2012-12-08T02:33:09 < dongs> what about those top right pads 2012-12-08T02:33:14 < dongs> are tehy jumpers? 2012-12-08T02:33:14 < Laurenceb__> annddd eurocom is bankrupt 2012-12-08T02:33:14 < zyp> well, I just drawed the paste openings as polygons over the holes :p 2012-12-08T02:33:15 < Laurenceb__> http://en.wikipedia.org/wiki/Eurocom 2012-12-08T02:33:19 < zyp> no, they are leds 2012-12-08T02:33:21 < zyp> and resistors 2012-12-08T02:33:22 < dongs> ah ok 2012-12-08T02:33:41 < Laurenceb__> looks my neighbour is out of a job 2012-12-08T02:33:48 < dongs> your en ext 2012-12-08T02:33:59 < dongs> or rather, you are next 2012-12-08T02:34:20 < dongs> zyp: k, looks sane here 2012-12-08T02:34:32 < dongs> will put it through when stuff happens 2012-12-08T02:34:38 < zyp> good 2012-12-08T02:35:02 < zyp> on the first F4 board I made I tried soldering the holes with iron after reflowing the board 2012-12-08T02:35:15 < zyp> it was fucking impossible to get enough heat for that :p 2012-12-08T02:35:24 < dongs> ha, what shitty iron you got 2012-12-08T02:35:32 < dongs> i do those through-hole USBs with my regulat work iron 2012-12-08T02:35:44 < dongs> the legs go all the way to the bototm of the board right?> 2012-12-08T02:36:08 < zyp> no, they are only 1mm or so 2012-12-08T02:36:15 * Laurenceb__ uses a bloakcjack bk6000 2012-12-08T02:36:21 < Laurenceb__> *blackjack 2012-12-08T02:37:08 < Laurenceb__> http://www.circuitspecialists.eu/soldering/blackjack-solderwerks/bk-5050-blackjack-hot-air-rework-digital-station-70w-iron 2012-12-08T02:37:13 < Laurenceb__> basically that 2012-12-08T02:37:28 < Laurenceb__> powerful enough to reflow most stuff with a large head on the end 2012-12-08T02:37:49 < zyp> on the second and third F4 boards I just added some paste to the holes by hand after stencilling 2012-12-08T02:37:59 < zyp> that worked fine 2012-12-08T02:38:15 < zyp> so I figure I might as well just have paste openings for them 2012-12-08T02:38:39 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-08T02:39:03 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-08T02:41:31 < dongs> mkay 2012-12-08T02:41:57 < dongs> i2c status? 2012-12-08T02:42:46 < zyp> still untested, still missing read 2012-12-08T02:43:03 < zyp> I can give you the current code if you want to hook it up and test addr/write 2012-12-08T02:43:12 < ds2> 0.5bga?! holy crap 2012-12-08T02:44:14 < zyp> dongs, http://paste.jvnv.net/view/9Hw48 2012-12-08T02:46:44 < Laurenceb__> https://www.sparkfun.com/products/11608 <- looks nice as a simple dev board 2012-12-08T02:47:06 < zyp> nice as in horrible? :p 2012-12-08T02:47:08 <+Steffanx> déjà vu 2012-12-08T02:47:33 < dongs> isnt that older than shit 2012-12-08T02:47:38 < Laurenceb__> not with F4 2012-12-08T02:47:40 < zyp> ah, F4 2012-12-08T02:47:52 < dongs> what teh FUCK 2012-12-08T02:47:54 < zyp> oh, with phy and microsd 2012-12-08T02:47:56 < dongs> with ENC28J ?? 2012-12-08T02:48:05 < zyp> wat 2012-12-08T02:48:07 < dongs> isnt that some trash SPI ethernet 2012-12-08T02:48:10 < zyp> not phy, actual mac? 2012-12-08T02:48:14 <+Steffanx> 10mbit lol 2012-12-08T02:48:26 < dongs> must be the lolshield compatibility 2012-12-08T02:48:37 < ds2> yes, PoS SPI eithernet 2012-12-08T02:48:49 < zyp> ok, then I'm back to horrible 2012-12-08T02:48:58 < Laurenceb__> oh i didnt spot that 2012-12-08T02:48:59 <+Steffanx> Yeah, why on earth .... 2012-12-08T02:48:59 < Laurenceb__> wtf 2012-12-08T02:49:05 < Laurenceb__> thats epic fail 2012-12-08T02:49:06 < dongs> > duino 2012-12-08T02:49:10 < dongs> 'nuff said 2012-12-08T02:49:16 < ds2> isn't there ethernet on the F4? 2012-12-08T02:49:20 < Laurenceb__> yes 2012-12-08T02:49:20 < dongs> yes 2012-12-08T02:49:20 < zyp> there is 2012-12-08T02:49:24 < Laurenceb__> thats why its fail 2012-12-08T02:49:29 < ds2> ...major wtf 2012-12-08T02:49:32 < zyp> I've been working with F4 ethernet 2012-12-08T02:49:37 < dongs> and what a giant fucking crystal for 25mhz 2012-12-08T02:49:43 < ds2> does the F4 need a full PHY or just magnetics? 2012-12-08T02:49:45 < zyp> got reception working last weekend or so 2012-12-08T02:49:49 < zyp> full phy 2012-12-08T02:49:57 * Laurenceb__ zzz 2012-12-08T02:49:59 < zyp> it only has MII/RMII 2012-12-08T02:50:18 <+Steffanx> gn Laurenceb__ 2012-12-08T02:50:23 <+Steffanx> I'll join you in dreamland 2012-12-08T02:50:27 < dongs> he already /ragequit 2012-12-08T02:50:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-08T02:50:51 < dongs> by yanking yet another through-hole ethernet socket out of his glossy-white iMac 2012-12-08T02:51:29 < dongs> i guess im testing this in keil 2012-12-08T02:51:35 < zyp> I yanked a power outlet off the wall the other day 2012-12-08T02:51:39 < dongs> yeah? 2012-12-08T02:51:48 < zyp> 2012-12-08T02:51:48 < dongs> must be shitty eurosocket 2012-12-08T02:52:02 < dongs> what do they use in norgay? round w/2 round pins for 220V? 2012-12-08T02:52:13 < zyp> yes 2012-12-08T02:52:22 < zyp> well, they call it 230V nowadays 2012-12-08T02:52:31 < dongs> schuko or something 2012-12-08T02:52:37 < zyp> yeah 2012-12-08T02:53:41 < ds2> @ 50Hz or 60? 2012-12-08T02:53:45 < zyp> I got so much shit with the US/japanese kind of plugs that I have a strip with those outlets on my desk now 2012-12-08T02:53:48 < zyp> 50 2012-12-08T02:54:08 < ds2> where are you? 2012-12-08T02:54:12 < zyp> norway 2012-12-08T02:54:18 < ds2> Ah 2012-12-08T02:54:42 -!- Laurenceb__ [~Laurence@host86-173-193-197.range86-173.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-08T02:54:49 < zyp> I was going to pick up some long strips when I was in japan, but I almost forgot it 2012-12-08T02:55:08 < dongs> no problem a quick trip to akikebara and you can have more power cords than you wil lever use 2012-12-08T02:55:18 < dongs> infact thats all you can get tehre, since the place has been deader than *BSD for nearly a decade 2012-12-08T02:55:27 < zyp> and the only shit I found when I were doing the last minute shopping the night before I went home had overvoltage protection :p 2012-12-08T02:55:43 < zyp> I don't think that would be a success on 230V 2012-12-08T02:56:07 < zyp> but it's okay, I'll try to remember it next time 2012-12-08T02:56:34 < zyp> I'm also going to pick up more of these usb hubs with switches, because they are fucking nice 2012-12-08T02:56:39 < ds2> akikebera is no longer the hot electronics place I read about? 2012-12-08T02:57:08 < zyp> I bought stm32ldiscovery in akihabara 2012-12-08T02:57:32 < zyp> they also had vl and f4, but I already have f4 and don't want vl 2012-12-08T02:59:06 < ds2> if that is the case, it goes off the list of places to visit in .jp if I ever go there 2012-12-08T02:59:38 < zyp> well, I dunno 2012-12-08T02:59:40 < dongs> ds2: no, its utterly worthless 2012-12-08T02:59:57 < ds2> thanks for the update 2012-12-08T02:59:58 < dongs> unless your definition of "hot electronics place" is overpriced consumer goods and through-hole parts, yeah sure 2012-12-08T03:00:28 < ds2> i heard you can get very small mobile electronics there 2012-12-08T03:00:36 < ds2> i.e. stuff they consider too small for average american fingers 2012-12-08T03:00:42 < dongs> like what? all same shit you can get from delayextreme for 1/5 the price 2012-12-08T03:00:57 < zyp> yeah 2012-12-08T03:01:03 < ds2> like the last Linux Zaurus 2012-12-08T03:01:07 < dongs> pfft 2012-12-08T03:01:15 < ds2> that was many years ago 2012-12-08T03:01:25 < zyp> a huge part of akihabara is like delayextreme, except without the delay since you can pick shit up right there 2012-12-08T03:01:25 < ds2> or those tiny UMPCs back when they were only in the jp market 2012-12-08T03:02:19 < zyp> the stores for used shit can have some nice deals though 2012-12-08T03:02:50 < dongs> dunno man. went there few months ago couldnt even find smt 0805 resistors 2012-12-08T03:02:53 < dongs> never mind anything smaller 2012-12-08T03:03:04 < ds2> did they at least have 1206's? 2012-12-08T03:03:07 < dongs> no 2012-12-08T03:03:08 < dongs> smt only 2012-12-08T03:03:09 < dongs> err 2012-12-08T03:03:10 < dongs> dip only 2012-12-08T03:03:24 < dongs> axial resistors etc. 2012-12-08T03:03:28 < dongs> completely worthless. 2012-12-08T03:03:32 < ds2> yuck 2012-12-08T03:03:47 < ds2> I can see sneezing being a problem at 0805 or smaller 2012-12-08T03:03:51 < zyp> https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-snc6/191165_4035976650036_320530184_o.jpg <- I picked up this lens 2012-12-08T03:04:01 < zyp> for pretty cheap, compared to what it cost new 2012-12-08T03:04:25 < mervaka> even 1206 with a nasty cough is a ballache. did that today 2012-12-08T03:04:26 < mervaka> :/ 2012-12-08T03:04:37 < ds2> zyp: how many mm? 2012-12-08T03:04:52 < ds2> 1206 headache? those are gigantic 2012-12-08T03:04:54 < zyp> it's the canon 70-200/2.8 2012-12-08T03:05:02 < zyp> (old IS variant) 2012-12-08T03:05:04 < dongs> i think i have that somewehre 2012-12-08T03:05:06 < ds2> if you ever did 1/8w through hole resistors, 1206's are about the same 2012-12-08T03:05:10 < dongs> in alaska 2012-12-08T03:05:25 < qyx_> zyp: how did you get that nice colours in eagle? 2012-12-08T03:05:46 < zyp> pic is from gerbv, from gerbers generated by eagle 2012-12-08T03:05:56 < qyx_> ah 2012-12-08T03:07:18 < zyp> I just inverted the mask layer, so the holes in the mask are actually rendered as holes, and set the layer semi-transparent so the cu layer underneath is visible through 2012-12-08T03:07:20 < ds2> zyp: which CAM job are you using? 2012-12-08T03:07:33 < zyp> custom 2012-12-08T03:07:42 < zyp> well, I just customized the default 4layer one 2012-12-08T03:07:47 < zyp> for the layers I use 2012-12-08T03:08:00 < ds2> ohh that explains the different file extensions 2012-12-08T03:08:15 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2012-12-08T03:08:25 < zyp> yeah, the default extensions didn't make very much sense 2012-12-08T03:08:57 < ds2> they make sense after you deal with it for a while :/ 2012-12-08T03:09:02 < dongs> the merging guy a lways bitches about eagle outputs from japs 2012-12-08T03:09:12 < dongs> will see if he will bitch about this shit 2012-12-08T03:09:29 < zyp> really, «component side» and «solder side» 2012-12-08T03:09:37 < zyp> that's pretty outdated terms 2012-12-08T03:09:45 < ds2> dongs: how loud was the bitching with my stuff? 2012-12-08T03:09:51 < dongs> ds2, zero 2012-12-08T03:10:03 < ds2> dongs: I used pure eagle to generate them 2012-12-08T03:10:16 < dongs> but some of the shit ive seen submitted with eagle was horrible 2012-12-08T03:10:24 < dongs> people manage to fuck a lot of shit up somehow 2012-12-08T03:10:29 < ds2> oh.. could be the CAM jobs they used 2012-12-08T03:10:49 < ds2> I tweak the CAM jobs based on what I get back from the DRC checks fab uses provide online 2012-12-08T03:11:04 < zyp> I'm pretty sure people would manage to fuck shit up regardless of the tool they use 2012-12-08T03:11:13 < dongs> we only have standard 4 layer drc shit for eagle, not the high spec shit 2012-12-08T03:11:23 < dongs> figures the people doing high spec stuff have a clue 2012-12-08T03:12:21 < ds2> the part the annoys me with fab houses is they seem to all way the inside layers different (mirrored vs not mirrored) 2012-12-08T03:12:38 < dongs> well, thats what the merge guys job is to figure out 2012-12-08T03:12:48 < ds2> Ohhh 2012-12-08T03:13:25 < ds2> some cheap places fully automate it and just kicks if back 2012-12-08T03:15:35 < zyp> the layer indicator I put on this board should make it pretty obvious what goes where, how 2012-12-08T03:16:38 < dongs> ya i like those 2012-12-08T03:16:45 < dongs> youcan shine a strong light through it and see all the layers 2012-12-08T03:16:47 < zyp> it's the first time I've had enough space to spare to fit one :p 2012-12-08T03:16:49 < dongs> though i usually do it in line 2012-12-08T03:16:53 < dongs> like 1 2 3 4 2012-12-08T03:16:58 < zyp> yeah 2012-12-08T03:17:13 < zyp> I've seen both variants on other boards 2012-12-08T03:18:00 < zyp> six layer boards usually have it in 3x2 2012-12-08T03:26:09 < ds2> 2012-12-08T03:26:41 < dongs> +1, insightful 2012-12-08T03:39:09 < ds2> DOH.. should have brought out MCO to a test point 2012-12-08T03:41:15 < dongs> just run a timer at known prescaler and probe that 2012-12-08T03:41:23 < dongs> if you got any output compare pins open 2012-12-08T03:41:44 < dongs> but your shit is just 72mhz,* 12mhz xtal, so its just pll*6 2012-12-08T03:41:46 < ds2> ah good point...think I brought some of them out as GPIOs for other stuff 2012-12-08T03:41:54 < ds2> it is all for debugging/sanity checking 2012-12-08T03:42:03 < ds2> I am scrubing the manual 2012-12-08T03:42:13 < dongs> got a led blinking at least? 2012-12-08T03:42:33 < ds2> no, I have guest visiting for the next week so I can't do any real stuff til they leave 2012-12-08T03:42:44 < dongs> do y ou ahve the sores for th eir lunix stuff under ND?A 2012-12-08T03:42:48 < dongs> or you just know they have it 2012-12-08T03:42:54 < ds2> reading manuals as I wait to head over to the airport 2012-12-08T03:43:09 < ds2> the Linux stuff itself is open...I have that. it is the bootloader that is under NDA 2012-12-08T03:43:31 < ds2> going to just rewrite that crap... looks to be simple. setup fsmc, and a few clocks and I should be good 2012-12-08T03:43:59 < ds2> I think the reason their appnote didn't work is the PSRAM might be overclocked with the 12MHz xtal 2012-12-08T03:44:55 < dongs> oh, psram clock is also derived from xtal? 2012-12-08T03:45:04 < ds2> I think that is the way they have it setup 2012-12-08T03:45:10 < dongs> i would have expected it to be based off sysclk 2012-12-08T03:45:13 < dongs> + some prescaler 2012-12-08T03:45:18 < dongs> seems silly to do it off crystal 2012-12-08T03:45:21 < ds2> all I know it is looping in their bootloader before I ran out of time 2012-12-08T03:45:26 < dongs> mkay 2012-12-08T03:45:37 < ds2> think their code might also be trying to do USB stuff hence the xtal guess 2012-12-08T03:46:02 < ds2> got a friend who is also interested helping mess with it 2012-12-08T03:47:52 < zyp> what are you messing with? 2012-12-08T03:48:05 < ds2> uCLinux on a F103 board 2012-12-08T03:49:07 < zyp> which bootloader NDA stuff? 2012-12-08T03:49:36 < ds2> the bootloader in the ST app note for uCLinux, an3012 2012-12-08T03:50:53 < zyp> oh 2012-12-08T04:01:15 < dongs> i took apart my old jap cellphone, CDMA/qualcomm stuff 2012-12-08T04:01:22 < dongs> every BGA/CSP has epoxy around it 2012-12-08T04:01:28 < dongs> gluing it t o the board 2012-12-08T04:02:08 < zyp> underfill 2012-12-08T04:02:28 < dongs> for wat? 2012-12-08T04:02:31 < dongs> to stop hax0rs? 2012-12-08T04:03:23 < zyp> or just for mechanical strength? cellphones get subjected to a lot of abuse, and you don't want the chips popping of the boards :p 2012-12-08T04:03:33 < dongs> maybe gopro should take note 2012-12-08T04:05:10 < ds2> it also helps if there is a lot of thermal cycling, IIRC 2012-12-08T04:05:18 < zyp> yep 2012-12-08T04:05:30 < zyp> because of different expansion rates of different materials 2012-12-08T04:05:56 < dongs> it seems the PM7540 power management shit is still used 2012-12-08T04:06:07 < dongs> that thing's got 5 dc/dc converters on it 2012-12-08T04:06:11 < dongs> and about as many LDOs 2012-12-08T04:06:26 < dongs> all the voltages you will ever need 2012-12-08T04:06:51 < dongs> yamaha YMU802B has a huge piece of pcb 2012-12-08T04:07:00 < dongs> i guess synthesized ringtones are super important 2012-12-08T04:07:13 < zyp> we have some similar stuff 2012-12-08T04:08:26 < zyp> to the mentioned PMIC 2012-12-08T04:09:52 < zyp> I was once working on some issue that got tracked down to a bad PMIC configuration 2012-12-08T04:10:01 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 244 seconds] 2012-12-08T04:13:04 < zyp> was some older generation stuff, so the chip was basicly a complete PMIC for a featurephone that just got reused for just the 3G chipset in a smartphone 2012-12-08T04:13:33 < ds2> some PMICs can be scary... a wrong I2C write and you destroy a board 2012-12-08T04:13:35 < zyp> I think it even had amplifiers for mic and speaker in the same chip 2012-12-08T04:13:55 < zyp> and a bunch of other shit that was no longer relevant 2012-12-08T04:14:15 < dongs> not to lunix failing? 2012-12-08T04:14:34 < dongs> zyp, so does that qualcomm shit 2012-12-08T04:14:42 < dongs> mic vbias voltage and shit 2012-12-08T04:14:48 < zyp> ah 2012-12-08T04:14:57 < zyp> probably very comparable then 2012-12-08T04:16:26 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-12-08T04:17:07 < ds2> those are common features 2012-12-08T04:17:10 < ds2> the TI PMICs are like that 2012-12-08T04:19:25 < zyp> the most fun part was the fact that the power on signal was pulses to toggle, so one pulse to turn on, one long pulse to turn off, like a power button works :p 2012-12-08T04:20:28 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has quit [Ping timeout: 245 seconds] 2012-12-08T04:22:51 < zyp> that led to some fun issues when the PMIC was acting up so the driver couldn't properly determine whether it was actually on or off 2012-12-08T04:24:14 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 252 seconds] 2012-12-08T04:24:48 < ds2> why not stick a divider on one of the PMIC outputs and feed that to a GPIO? 2012-12-08T04:26:17 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-08T04:26:31 < zyp> there is a signal to report back when it's on, but I think it was floating or something, due to the erroneous configuration 2012-12-08T04:26:51 < ds2> oh 2012-12-08T04:27:28 < ds2> why do I a feeling that one of those modules you are talking about is in a board I am working on :( 2012-12-08T04:27:57 -!- mrcan_ [~mrcan@78.173.204.22] has joined ##stm32 2012-12-08T04:27:57 -!- mrcan_ [~mrcan@78.173.204.22] has quit [Changing host] 2012-12-08T04:27:57 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-08T04:28:06 < ds2> your description of the PMIC sounds exactly like the power on sequence 2012-12-08T04:28:23 < zyp> which module are on your board? 2012-12-08T04:28:42 < ds2> a STE 3G module, IIRC 2012-12-08T04:29:04 < zyp> which one? :p 2012-12-08T04:29:18 < ds2> the power on for that requires me basically simulating a power button push but I had to watch the line or it will turn itself off again 2012-12-08T04:29:39 < ds2> I don't have the schematics/BOM in front of me. it is certified for the US GSM market 2012-12-08T04:29:49 < ds2> around maybe 5cm x 5cm, I think 2012-12-08T04:30:20 < ds2> has a serial port for debugging and a USB port for data/control 2012-12-08T04:32:03 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 276 seconds] 2012-12-08T04:34:11 < zyp> well, I don't know anything about standalone modules, I've only worked with smartphone solutions 2012-12-08T04:34:31 < ds2> oh 2012-12-08T04:34:54 < ds2> the hw was done by the customer. i just had to get sw going 2012-12-08T04:38:37 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 2012-12-08T04:39:02 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-08T04:47:06 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-08T05:03:03 < zippe> Sweet. m2tk integrated 2012-12-08T05:15:01 < dongs> cool 2012-12-08T05:21:07 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Quit: Ex-Chat] 2012-12-08T05:23:25 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2012-12-08T05:32:51 < zippe> Of course, it's all GPLtastic which makes me sad 2012-12-08T05:33:06 < zippe> But nobody else seems to have a decent free forms library for bitmap display 2012-12-08T05:34:23 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-08T05:36:14 < dongs> haha 2012-12-08T05:36:15 < dongs> poor zippe. 2012-12-08T05:36:18 < dongs> please open the sauce 2012-12-08T06:10:14 < zippe> Poor me? I guess; gpl3 not very "open" 2012-12-08T06:25:08 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-08T06:25:17 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-08T06:26:38 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-08T06:35:00 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-08T06:44:29 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2012-12-08T06:44:55 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-08T06:49:57 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-08T06:57:36 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-08T07:03:00 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 250 seconds] 2012-12-08T07:03:53 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-08T07:11:06 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-08T07:12:48 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2012-12-08T07:44:29 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-08T07:50:21 < emeb_mac> back again. Did I miss anything? 2012-12-08T07:51:47 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 255 seconds] 2012-12-08T07:53:55 < Oldboy> just some nudes of dongs 2012-12-08T07:55:10 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has joined ##stm32 2012-12-08T07:55:10 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has quit [Changing host] 2012-12-08T07:55:10 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-08T08:08:48 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-08T08:21:56 < dongs> flyback: i feel like you today. i desoldered a mobile phoen pcb http://i.imgur.com/z8sI4.jpg 2012-12-08T08:21:57 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2012-12-08T08:25:48 < dongs> yeah, was mega useless. 2012-12-08T08:32:00 < dongs> what the fuck 2012-12-08T08:32:07 < dongs> my LCR meter uses GP23A 12V battery 2012-12-08T08:32:12 < dongs> its like a short version of AA 2012-12-08T08:32:17 < dongs> i wonder whrre the fuck i mgonna get that here 2012-12-08T08:40:43 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-08T09:49:41 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-08T10:11:24 < baird> Gonna enjoy me some vic20 tetris.. http://dpaste.org/k4GkK/ (written in ?1987) 2012-12-08T10:13:33 < zippe> dongs: you may not want to know this, but that's quite a popular battery for various sex toys 2012-12-08T10:13:50 < zippe> … so you should be able to get one from a vending machine, right? 2012-12-08T10:14:11 < jpa-> it's a very common battery 2012-12-08T10:14:39 < jpa-> small and short, like it should be 2012-12-08T10:15:07 < zippe> I hate doing UI design 2012-12-08T10:15:13 < zippe> The fonts are always wrong 2012-12-08T10:15:14 < zippe> ALWAYS 2012-12-08T10:17:55 < jpa-> how so? just use the default font :) 2012-12-08T10:18:43 < zippe> what default? This is a bitmapped display 8) 2012-12-08T10:19:29 < jpa-> :) 2012-12-08T10:20:06 < jpa-> being used to antialiased fonts, 1-bit bitmap fonts look quite annoying :/ 2012-12-08T10:20:57 < zippe> 8) 2012-12-08T10:21:05 < zippe> Grr, what m2 needs is a flexible space 2012-12-08T10:21:36 < jpa-> m2? 2012-12-08T10:22:08 < zippe> http://code.google.com/p/m2tklib/ 2012-12-08T10:22:32 < jpa-> nice 2012-12-08T10:22:54 < zippe> Building the UI tree can be a bit hairy 2012-12-08T10:26:28 < dongs> zippe: lo 2012-12-08T10:26:51 < dongs> zippe: any pics of progress so far 2012-12-08T10:32:49 < zippe> It's not very interesting, but yeah, in a sec 2012-12-08T10:35:15 < dongs> of course this shit will be using nuttx right? 2012-12-08T10:35:56 < jpa-> what is zippe building? 2012-12-08T10:36:21 < dongs> http://lab.westernwillow.com/sites/default/files/styles/logo_image_page/public/component-images/FLD-02image002.jpg 2012-12-08T10:36:24 < dongs> this 2012-12-08T10:38:08 < zippe> https://www.icloud.com/photostream/#A25oqs3qmK0au 2012-12-08T10:38:52 < dongs> cool, wth is the long fpc? 2012-12-08T10:38:57 < dongs> thats not inside the lcd right 2012-12-08T10:39:04 < zippe> Nono, that's just the debug connector 2012-12-08T10:39:20 < dongs> huh really? debugsocket is fpc? 2012-12-08T10:39:38 < zippe> no, those are flat board-to-board 0.1" jumpers 2012-12-08T10:39:51 < zippe> The debug is 0.050, so I just wedged two in staggered 2012-12-08T10:39:55 < dongs> OH 2012-12-08T10:40:00 < dongs> fucking apple trash unzoomed the pic 2012-12-08T10:40:06 < dongs> so all i saw was gray stuff coming from lcd 2012-12-08T10:40:18 < dongs> and not the smaller board with buttons 2012-12-08T10:40:23 < zippe> Must be your browser 2012-12-08T10:41:41 < zippe> In the end all I ended up using was reset and boot0 2012-12-08T10:41:56 < zippe> I could have just monkeyed them onto the case; I may still 2012-12-08T10:42:31 < zippe> Nothing apart from some insanity involving vtable setup vs. constructors has been even remotely undebuggable. 2012-12-08T10:45:49 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2012-12-08T10:47:54 < dongs> i wonder why my shit doesnt boot on fld outside debugger 2012-12-08T10:48:00 < dongs> must be some crap i forgot to turn off in crossworks 2012-12-08T10:50:13 < dongs> http://www.ebay.com/itm/330838954789 haha 2012-12-08T10:55:42 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-08T11:42:45 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-08T11:56:22 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-08T11:57:03 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-08T12:24:42 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-08T12:45:55 < dongs> lets see what shitty EXTI i have available for this i2c stuff 2012-12-08T12:50:15 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-08T12:53:31 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-08T12:53:31 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-08T12:53:31 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-08T12:53:34 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-08T12:53:37 <+Steffanx> nu 2012-12-08T12:55:27 < jpa-> hi 2012-12-08T12:55:36 < dongs> no u 2012-12-08T12:55:50 < dongs> no u nvic.NVIC_IRQChannel = EXTI9_5_IRQn | EXTI15_10_IRQn; 2012-12-08T12:55:50 <+Steffanx> Yes, goodmorning 2012-12-08T12:55:53 < dongs> is this goonna work? 2012-12-08T12:57:02 < jpa-> what is NVIC_IRQChannel? i don't remember it 2012-12-08T12:57:15 < dongs> NVIC_InitTypeDef 2012-12-08T12:57:26 < dongs> just enables interrupt mask or wahetver 2012-12-08T12:57:30 < dongs> i guess it'll prob work 2012-12-08T12:57:34 < jpa-> ah, stdperiphlib 2012-12-08T12:57:38 < dongs> yessir 2012-12-08T12:57:40 < dongs> good stuff. 2012-12-08T13:06:07 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has quit [Ping timeout: 260 seconds] 2012-12-08T13:13:18 <+Steffanx> joke of the day 2012-12-08T13:15:37 < dongs> it doesnt work. 2012-12-08T13:15:40 < dongs> had to do 2 separate ones. 2012-12-08T13:23:40 <+Steffanx> Isn't it nice you have to TRY to know that? :) 2012-12-08T13:24:38 <+Steffanx> I mean.. it looks ok to do what you did, but apparently it's not :) 2012-12-08T13:46:51 < jpa-> well no, it doesnt :) 2012-12-08T13:46:57 < jpa-> IRQn is a number not a bitmask 2012-12-08T13:51:02 <+Steffanx> oh, yeah true 2012-12-08T14:26:37 < dongs> hm now i have no idea what im supposed to do for set_sda and set_scl 2012-12-08T14:26:48 < dongs> i have to change port to output, opendrain but for how long? 2012-12-08T14:27:00 < dongs> until next transition of scl? 2012-12-08T14:31:12 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-08T14:34:19 < jpa-> dongs: you can make it output, opendrain for ever 2012-12-08T14:34:32 < dongs> oh? 2012-12-08T14:34:36 < jpa-> when opendrain output is set to '1' it works as input also 2012-12-08T14:34:39 < dongs> and I can still check it for input? 2012-12-08T14:34:39 < dongs> ok 2012-12-08T14:34:44 < dongs> great 2012-12-08T14:34:46 < dongs> that helps. 2012-12-08T14:35:16 < dongs> but it doesnt work :) 2012-12-08T14:36:40 < dongs> oh, set to 1 hmm 2012-12-08T14:36:42 < dongs> so i have to make it high first? 2012-12-08T14:37:07 < dongs> right, taht worked 2012-12-08T14:37:08 < dongs> hmm 2012-12-08T14:41:52 < jpa-> not sure what zyp's code will think about SDA EXTI when you are writing to it 2012-12-08T14:43:20 < dongs> its kinda working 2012-12-08T14:43:24 < dongs> its acking one addres :) 2012-12-08T14:44:08 < dongs> well, not anymore 2012-12-08T14:44:11 <+Steffanx> heh 2012-12-08T14:47:06 < dongs> hmm 2012-12-08T14:52:36 < dongs> i guess its time to wait for zyp then 2012-12-08T14:53:31 < dongs> i wonder if his state machine breaks because of reads which arent implemented yet 2012-12-08T14:54:21 < jpa-> yay my 3d printed plate arrived http://koti.kapsi.fi/jpa/stuff/pix/ankkaetu.jpg 2012-12-08T14:54:52 <+Steffanx> Duck for Laurenceb ? 2012-12-08T14:56:47 < jpa-> no for my sister 2012-12-08T14:57:27 <+Steffanx> 3d printered where? 2012-12-08T14:57:38 <+Steffanx> It looks better than the average crap a random printer produces 2012-12-08T14:58:00 < jpa-> shapeways 2012-12-08T14:58:09 < jpa-> ceramics of course, not plastic 2012-12-08T15:00:12 <+Steffanx> Hmm, price in cm2 ?! 2012-12-08T15:01:58 < jpa-> clay is cheap 2012-12-08T15:02:00 < jpa-> glazing is not 2012-12-08T15:02:08 < jpa-> hence, price is by surface area 2012-12-08T15:05:38 < BrainDamage> duck for Laurenceb would be more like https://thoughtpantry.files.wordpress.com/2011/11/070713_duck_0.jpg 2012-12-08T15:08:04 < dongs> hm 2012-12-08T15:08:20 < dongs> i never get even into addr_cb 2012-12-08T15:08:20 < dongs> so i think something else is more fundamentally broken 2012-12-08T15:08:45 <+Steffanx> zyp fucked up? :P 2012-12-08T15:08:50 < dongs> possibly 2012-12-08T15:09:00 < jpa-> ask for refund 2012-12-08T15:09:08 < dongs> not ruling out my fuckup though 2012-12-08T15:09:10 < dongs> he hasnt been paid yet since it doesnt work yet :) 2012-12-08T15:11:24 -!- daku is now known as DaKu 2012-12-08T15:17:12 < zyp> it's not supposed to be fully working yet either :p 2012-12-08T15:17:26 < zyp> got the code? 2012-12-08T15:22:21 < dongs> y 2012-12-08T15:22:33 < dongs> http://bcas.tv/paste/results/ICTRAQ94.html 2012-12-08T15:23:12 < dongs> had to gay it up a bit 2012-12-08T15:23:12 < dongs> since you were c++ing it up 2012-12-08T15:23:12 < dongs> func() = fail 2012-12-08T15:23:34 < dongs> oh, i started on replacing hardcoded pin names with #define 2012-12-08T15:23:40 < dongs> should prob paste it after im done with that :p 2012-12-08T15:24:11 < zyp> what does digitalToggle() in the irq handlers do? 2012-12-08T15:24:29 < dongs> just ODR ^ 2012-12-08T15:24:34 < dongs> it blinks leds 2012-12-08T15:24:37 < dongs> too slow? 2012-12-08T15:24:44 < zyp> ah, I didn't see it was leds 2012-12-08T15:24:52 < zyp> ok then 2012-12-08T15:26:53 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-08T15:27:45 < dongs> oh 2012-12-08T15:27:47 < dongs> my triggering 2012-12-08T15:27:49 < dongs> is on rising 2012-12-08T15:27:57 < zyp> you need to trigger on both 2012-12-08T15:27:57 < dongs> for both 2012-12-08T15:27:57 < dongs> should it be both edges? 2012-12-08T15:28:09 < zyp> at least scl 2012-12-08T15:28:25 < zyp> sda is only using rising, at least so far 2012-12-08T15:29:15 < dongs> ok no diference there 2012-12-08T15:29:37 < zyp> do you have LA traces of it? 2012-12-08T15:29:53 < dongs> yes 2012-12-08T15:29:55 < dongs> they look same 2012-12-08T15:29:58 < dongs> whether board is running or nto 2012-12-08T15:30:17 < dongs> sec lemme try breakpoint in addr cb with dual edge trigger shit 2012-12-08T15:30:19 < zyp> oh, so no ack on addr at all? 2012-12-08T15:31:03 < dongs> ya its actually hitting addr this time 2012-12-08T15:31:03 < dongs> thats improvement 2012-12-08T15:31:09 < dongs> seems so 2012-12-08T15:31:40 < dongs> all i ahve in addr_cb as y ou can see is jsut return true 2012-12-08T15:31:40 < dongs> for now i just ack on all 2012-12-08T15:31:51 < zyp> yes, that's fine 2012-12-08T15:32:16 < zyp> hmm, how does the LA trace with breakpoint in addr_cb look? 2012-12-08T15:32:31 < zyp> does it stretch scl as long as you're halted in addr? 2012-12-08T15:32:46 < dongs> lemme see if i can get it to do that 2012-12-08T15:34:10 < dongs> hmm 2012-12-08T15:34:19 < dongs> the scl got stretched after byte write 2012-12-08T15:34:21 < dongs> not after addr 2012-12-08T15:34:31 < zyp> wat 2012-12-08T15:34:36 < zyp> got a picture? 2012-12-08T15:34:38 < dongs> piccing sec 2012-12-08T15:34:55 < dongs> http://i.imgur.com/IsFyk.png 2012-12-08T15:35:28 < zyp> sounds like the start condition shit might be unreliable and fucks up the state 2012-12-08T15:36:05 < dongs> i dont have your leet logging class, so I can't confirm/deny :) 2012-12-08T15:36:13 < dongs> i coudl blink leds / gpio though 2012-12-08T15:36:29 < zyp> oh, sorry, sda change also needs to trigger on goth directions 2012-12-08T15:36:30 < dongs> on state changes 2012-12-08T15:36:32 < dongs> and add that as another la signa 2012-12-08T15:36:34 < zyp> both* 2012-12-08T15:36:34 < dongs> yes, i know 2012-12-08T15:36:38 < dongs> i did that already 2012-12-08T15:36:41 < zyp> ok 2012-12-08T15:36:48 < dongs> exti.EXTI_Trigger = EXTI_Trigger_Rising_Falling; 2012-12-08T15:37:28 < dongs> i just did that, and i reuse same exti.* struct for sda and scl 2012-12-08T15:38:42 < zyp> ok, sounds fine 2012-12-08T15:39:10 < zyp> hmm 2012-12-08T15:39:18 < zyp> wtf is going on with clock 2012-12-08T15:42:34 < zyp> almost looks like you are servicing the irqs too slow 2012-12-08T15:43:22 < dongs> ill take out led_blink 2012-12-08T15:43:28 < zyp> hmm 2012-12-08T15:43:49 < zyp> add two more gpios, and set them along with scl and sda 2012-12-08T15:44:00 < zyp> so they reflect when the slave is driving scl and sda 2012-12-08T15:44:08 < dongs> ok 2012-12-08T15:44:27 < dongs> i could also get rid of the EXTI_GetStatus shite 2012-12-08T15:44:31 < zyp> then it'll make a bit more sense who is doing what on the bit 2012-12-08T15:44:32 < dongs> i just looked at it in stdperiphlib 2012-12-08T15:44:36 < dongs> its like a buttload of code 2012-12-08T15:45:00 < dongs> anyway k ill do this first 2012-12-08T15:45:46 < dongs> PB6, PB7. 2012-12-08T15:46:34 < dongs> what d o you want to do on it? 2012-12-08T15:46:38 < dongs> just mirror state of set_sda/scl? 2012-12-08T15:46:41 < zyp> yes 2012-12-08T15:46:43 < dongs> kk 2012-12-08T15:46:58 < zyp> so just init them to pushpull and set them to 1 2012-12-08T15:48:20 < dongs> done, hooking up0 more la leads 2012-12-08T15:49:15 < dongs> huh wtf 2012-12-08T15:51:44 < dongs> the pins are not doing shit 2012-12-08T15:52:26 < zyp> how does the trace look now? 2012-12-08T15:52:29 < dongs> they're laways high 2012-12-08T15:52:53 < zyp> but the normal scl, does it have a short pulse in the end like previous? 2012-12-08T15:53:22 < dongs> http://bcas.tv/paste/results/DiFRb481.html 2012-12-08T15:53:27 < dongs> did i fuck anything obvious up? 2012-12-08T15:53:48 < dongle> no 2012-12-08T15:54:38 < zyp> do you still get into addr_cb? 2012-12-08T15:54:40 < dongle> im never hitting set_sda or set_scl 2012-12-08T15:54:51 < dongle> nope 2012-12-08T15:54:59 < zyp> then it's right 2012-12-08T15:55:01 < dongle> not since changing exti to edge-triggered 2012-12-08T15:55:10 < dongle> dual-edge 2012-12-08T15:55:26 < zyp> the first set_scl() is called right before calling callback, and the first set_sda() is called right after 2012-12-08T15:56:10 < zyp> hmm, I'm not sure about the exti stuff, I haven't worked with exti before 2012-12-08T15:56:20 < zyp> but let's try this: 2012-12-08T15:57:29 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2012-12-08T15:57:37 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-08T15:57:51 < dongle> hmm now its not getting into addr_cb regardless 2012-12-08T15:59:47 < zyp> http://paste.jvnv.net/view/Xwqj3 <- drop the exti stuff, try this 2012-12-08T15:59:53 < zyp> oh, wait 2012-12-08T16:00:03 < zyp> http://paste.jvnv.net/view/G69Mx <- this 2012-12-08T16:00:36 < zyp> hmm, no, forget about the else part as well 2012-12-08T16:00:49 < zyp> http://paste.jvnv.net/view/gXvHL 2012-12-08T16:01:06 < zyp> also assumes SDA_GPIO == SCL_GPIO, but that works for now 2012-12-08T16:01:06 < dongle> ok. 2012-12-08T16:01:10 < dongle> right 2012-12-08T16:03:23 < dongle> i dont see any tdifference 2012-12-08T16:05:22 < dongle> gonan try another i2c master 2012-12-08T16:09:54 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-08T16:16:17 < dongle> kk 2012-12-08T16:16:46 < dongle> lets see 2012-12-08T16:18:24 < dongle> hmmm 2012-12-08T16:19:02 < dongle> http://i.imgur.com/DPe7K.png 2012-12-08T16:32:43 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-08T16:37:06 < zyp> that looks sane 2012-12-08T16:37:18 < zyp> it's acking addrs and writes correctly 2012-12-08T16:37:26 < dongle> but if I use another master 2012-12-08T16:37:32 < dongle> it sends shit nonstop 2012-12-08T16:37:40 < dongle> i think if your code starts up in teh middle of a transfer 2012-12-08T16:37:42 < dongle> it gets confused as shit 2012-12-08T16:37:48 < dongle> and then doesnt do antyhting 2012-12-08T16:38:12 < zyp> that's quite possible 2012-12-08T16:42:44 < zyp> but ok, according to the trace it seems like the stuff that should be working is working 2012-12-08T16:43:22 < dongle> hm 2012-12-08T16:43:52 < dongle> maybe i should hookup that usbee clone shit since it has unlimited buffer 2012-12-08T16:44:00 < dongle> i cant cap more than 6 seconds wiht my good LA 2012-12-08T16:44:09 <+Steffanx> closed sores 2012-12-08T16:44:23 < dongle> no, more like limited sram on board 2012-12-08T16:57:26 < dongle> will have to dickbug more tomorrow. i think i better sleep 2012-12-08T16:57:33 < dongle> seems to work for one-off cases 2012-12-08T16:57:42 <+Steffanx> gn 2012-12-08T16:57:45 < jpa-> dongle: why doesn't it do RLE encoding? 2012-12-08T16:57:59 <+Steffanx> closes sores.. :P 2012-12-08T16:58:03 < jpa-> indeed 2012-12-08T16:58:33 < jpa-> i don't understand why there still exist logic analyzers without RLE encoding 2012-12-08T16:59:25 <+Steffanx> The open sores one.. that openlogic bench (or whatever it was) didn't support it for a long time either 2012-12-08T16:59:57 < jpa-> yeah, i don't understand that either 2012-12-08T17:00:00 < dongle> the opensores one doesnt do 4ghz sampling 2012-12-08T17:00:10 <+Steffanx> Who needs 4GHZ sampling?!?! 2012-12-08T17:00:27 < jpa-> what good is 4ghz sampling if you can only capture 100 ns? :P 2012-12-08T17:00:32 < dongle> when i need it, its available 2012-12-08T17:00:34 < dongle> :) 2012-12-08T17:00:38 <+Steffanx> :D 2012-12-08T17:00:55 <+Steffanx> dongle has viagra.. it's available when he needs it 2012-12-08T17:01:46 * jpa- plugs in the dongle 2012-12-08T17:02:28 <+Steffanx> Don't forget the firewall 2012-12-08T17:03:03 < jpa-> it's not like there are any viruses in dongle 2012-12-08T17:03:55 <+Steffanx> Hmm, you are confident enough to try out? 2012-12-08T17:04:47 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-08T17:04:50 < jpa-> sure, my lunix is virus proof 2012-12-08T17:08:13 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-08T17:11:43 < zyp> I wouldn't mind a LA with 4 GHz sampling and limited buffer as long as it has decent trigger options so I can fit what I need to into that buffer 2012-12-08T17:12:23 < dongle> yeah. 2012-12-08T17:12:26 < dongle> exactlyt 2012-12-08T17:13:29 < dongle> and this shit has level, external, sequence, comparison, width, and several hardware bus triggers 2012-12-08T17:14:21 < dongle> whyt htre ufck im still up 2012-12-08T17:14:23 < dongle> bbl 2012-12-08T17:16:54 -!- gurgalof [~gurgalof@dhcp-232-238.nomad.chalmers.se] has joined ##stm32 2012-12-08T17:23:19 -!- Laurenceb__ [~Laurence@host86-140-224-238.range86-140.btcentralplus.com] has joined ##stm32 2012-12-08T17:25:03 < Laurenceb__> "Sphero's New Augmented Reality App Allows You to Walk a Beaver Around Your House " 2012-12-08T17:25:06 < Laurenceb__> i lolled 2012-12-08T17:26:24 < Laurenceb__> also looks like from openpilot is in the invensense email 2012-12-08T17:29:58 <+Steffanx> ...? 2012-12-08T17:32:39 < Laurenceb__> http://www.scantec-shop.com/mpu-9150.html?___store=english&___from_store=default 2012-12-08T17:33:22 < dongs> i had to wake up for this faggotry. 2012-12-08T17:33:25 < dongs> that shit's $17 direct from invensense. 2012-12-08T17:34:02 < dongs> < Laurenceb__> http://www.scamtec-shop.com/mpu-9150.html?___store=english&___from_store=default 2012-12-08T17:34:05 <+Steffanx> lol wake up :P 2012-12-08T17:34:06 < dongs> ^ FTFY 2012-12-08T17:34:35 < Laurenceb__> invensense show it as no stock 2012-12-08T17:34:48 < dongs> wasnt the case yesterday 2012-12-08T17:35:21 < dongs> maybe your pals from scamtec bought them all 2012-12-08T17:37:19 < dongs> k, back to zzz 2012-12-08T17:37:31 <+Steffanx> hmm, for how many did you sell this other one? 2012-12-08T17:37:40 <+Steffanx> mpu6050, dongs ? 2012-12-08T17:37:54 <+Steffanx> it bet is was more than 15$ :P 2012-12-08T17:39:41 < dongs> in my scamshoppe? ~11bucks 2012-12-08T17:39:44 < dongs> i'm not a faggot 2012-12-08T17:40:05 <+Steffanx> Yeah, don't remember the name of your shop though 2012-12-08T17:40:20 < dongs> https://www.google.com/search?q=dong's+shop 2012-12-08T17:40:41 <+Steffanx> Was already googleing 2012-12-08T17:40:42 <+Steffanx> -e 2012-12-08T17:42:13 <+Steffanx> google doesn't know 2012-12-08T17:43:18 < dongs> https://www.google.com/search?q=mpu6050+900+jpy not too bad. 2012-12-08T17:43:31 <+Steffanx> Ah, there it is 2012-12-08T18:55:35 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Ping timeout: 244 seconds] 2012-12-08T19:39:01 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-08T19:55:37 < Laurenceb__> http://i.imgur.com/ZePV6.png 2012-12-08T20:04:32 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-08T20:04:40 <+Steffanx> I see a component from the sparkfun lib Laurenceb__ 2012-12-08T20:05:18 < Laurenceb__> i see epic via fail 2012-12-08T20:05:20 < Laurenceb__> not my pcb 2012-12-08T20:05:30 <+Steffanx> I see more fails 2012-12-08T20:07:18 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-08T20:09:41 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-08T20:10:25 < Laurenceb__> board of failure 2012-12-08T20:10:57 -!- |sark [~|sark@109.235.51.202] has quit [Read error: No route to host] 2012-12-08T20:12:40 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-08T20:14:42 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-08T20:15:32 < Laurenceb__> http://hackaday.com/2012/06/14/embedded-linux-meets-arduino-with-the-rascal-micro/ 2012-12-08T20:23:34 <+Steffanx> YAY @ using the relatively old AT91SAM9G20 2012-12-08T20:24:20 <+Steffanx> oh, it's from 2010, thought it was older 2012-12-08T20:26:18 < TitanMKD> Steffanx ARM926 is old and crappy ;) 2012-12-08T20:26:58 < TitanMKD> even at 400MHz it runs slower than a M4@200MHz and power consumption is maybe 3 or 4 time more 2012-12-08T20:31:26 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2012-12-08T21:14:15 -!- DaKu is now known as daku 2012-12-08T21:46:57 -!- barthess [~barthess@5.100.217.235] has joined ##stm32 2012-12-08T21:52:48 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2012-12-08T21:56:31 < zippe> TitanMKD: but, it has an MMU 2012-12-08T21:56:52 < zippe> dongs: just to prove I'm stupid, I ported my working code to run on the FY20AP with an I2C display. 2012-12-08T21:58:12 <+Steffanx> To prove you're stupid :D :D 2012-12-08T21:58:31 < qyx_> http://i.imgur.com/9xZdu.jpg 2012-12-08T21:58:36 < qyx_> i have also produced some fails today 2012-12-08T21:59:53 <+Steffanx> Yeah, AVR 2012-12-08T22:00:28 < qyx_> for this purpose it is ok 2012-12-08T22:00:47 <+Steffanx> Not much wrong with AVRs of course :) 2012-12-08T22:01:51 < qyx_> but that tpl9202 seems to be nice chip 2012-12-08T22:02:06 < qyx_> 8 channel spi low-side relay driver with spi interface 2012-12-08T22:02:18 < qyx_> and ldo 2012-12-08T22:14:02 -!- daku is now known as DaKu 2012-12-08T22:58:39 < zippe> flyback: http://www.youtube.com/watch?v=e1BLzf4kWFM&feature=plcp 2012-12-08T23:14:07 <+Steffanx> Hmm, why that music sounds like some random tunes mixed together flyback ? 2012-12-08T23:16:13 <+Steffanx> Not sure if it's even mixed. Maybe it's not more than a few parallel 'lines' in one 2012-12-08T23:17:12 <+Steffanx> Conclusion: it sucks :P 2012-12-08T23:22:54 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 240 seconds] 2012-12-08T23:25:55 -!- Tectu is now known as tectu 2012-12-08T23:36:44 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-08T23:39:58 -!- DaKu is now known as daku 2012-12-08T23:46:41 < karlp> anyone here used a uCurrent? or know a similar device? 2012-12-08T23:46:54 -!- barthess [~barthess@5.100.217.235] has quit [Ping timeout: 240 seconds] 2012-12-08T23:48:33 < TitanMKD> karlp me too i'm interested in it 2012-12-08T23:58:25 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] --- Day changed Sun Dec 09 2012 2012-12-09T00:29:59 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2012-12-09T00:41:02 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-09T00:50:49 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2012-12-09T01:00:15 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-09T01:00:15 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-09T01:00:16 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-09T01:00:19 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-09T01:00:35 <+Steffanx> karlp, i have a ucurrent. Cant say much about it because my dmm sucks ass 2012-12-09T01:02:14 <+Steffanx> Should get me a better one, and not some chinese crap 2012-12-09T01:04:54 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-09T01:10:49 -!- tectu is now known as Tectu 2012-12-09T01:15:47 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-09T01:35:29 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-09T01:36:38 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-09T01:40:31 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-09T02:33:17 -!- gurgalof [~gurgalof@dhcp-232-238.nomad.chalmers.se] has quit [Quit: Leaving] 2012-12-09T02:37:52 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Read error: No route to host] 2012-12-09T02:40:02 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-09T02:40:03 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Client Quit] 2012-12-09T02:53:53 < dongs> dongs 2012-12-09T02:54:42 -!- Laurenceb__ [~Laurence@host86-140-224-238.range86-140.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-09T03:00:24 < dongs> rofl 2012-12-09T03:00:30 < dongs> updating google listing for some scambiz i own 2012-12-09T03:00:46 < dongs> under 'travel' category they have 'love hotels' 2012-12-09T03:07:13 < emeb> Dongs' hotel of loooove. 2012-12-09T03:09:39 < emeb> what do you call it when you're so far behind on your RSS feed reader that you just give up and clear it to start fresh? 2012-12-09T03:14:45 -!- Netsplit *.net <-> *.split quits: |sark, grummund 2012-12-09T03:15:12 -!- Netsplit over, joins: |sark 2012-12-09T03:15:48 -!- Netsplit over, joins: grummund 2012-12-09T03:20:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 265 seconds] 2012-12-09T03:21:28 < dongs> rss? wtf is that 2012-12-09T03:22:13 < emeb> Really Simple Syndication - when news websites publish little headlines that you can aggregate in a reader to quickly scan. 2012-12-09T03:22:25 < emeb> eg google reader. 2012-12-09T03:31:02 < dongs> i just read thereg so i guess i dont have any use for this kinda shit 2012-12-09T03:31:23 < emeb> probably not. 2012-12-09T03:32:25 < emeb> I've got ~20 news & blogs I read so it helps filter out just the stuff I'm interested in. 2012-12-09T03:33:14 < zyp> emeb, been away? haven't seen you around lately 2012-12-09T03:33:15 < dongs> i just posted a new blogpost on lunix.tv 2012-12-09T03:33:27 < emeb> zyp: yeah - was out of town for a week. 2012-12-09T03:33:53 < zyp> :) 2012-12-09T03:34:23 < emeb> driving hither and yon through the back-woods of Texas. Yeee-haw. 2012-12-09T03:34:31 < dongs> zyp, any idea what could be breaking your shit if it runs while i2c is active? 2012-12-09T03:35:10 < zyp> unsure, ideally it should remain idle until the next (repeat) start is detected 2012-12-09T03:35:19 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-09T03:35:47 < dongs> what will it do if I try the usual i2c unstuck scenarioo of clocking stuff out on scl, while not touching sda 2012-12-09T03:35:50 < dongs> does it care? 2012-12-09T03:36:08 < zyp> it shouldn't 2012-12-09T03:36:40 < emeb> < Jenny-uk> but i wanted it to work in ubuntu too 2012-12-09T03:37:51 < zyp> but it relies on sda not being changed while clock is high 2012-12-09T03:38:05 < zyp> so if it misdetects that, it might fuck up 2012-12-09T03:41:08 < dongs> emeb: unsurprisingly, thats the most read blog entry 2012-12-09T03:41:16 < dongs> i suspect nova-s whatever the fuck is still unsupported. 2012-12-09T03:42:00 < zyp> emeb, http://bin.jvnv.net/f/eaiEM.png <- I finished up this while you were away 2012-12-09T03:42:02 < emeb> funny how many people just don't understand that linux drivers are not a priority for mfgs, and community drivers are hit/miss. 2012-12-09T03:42:18 < emeb> zyp: purty! 2012-12-09T03:42:38 < zyp> yeah, I'm pretty happy with how it turned out 2012-12-09T03:42:48 < zyp> http://bin.jvnv.net/f/Uby5B.png <- bottom 2012-12-09T03:43:27 < dongs> is that gerbv misaligning pours 2012-12-09T03:43:27 < emeb> looks like it's got a good chance of working. :) 2012-12-09T03:43:29 < dongs> or are they really fucked 2012-12-09T03:43:39 < zyp> just gerbv, I assume 2012-12-09T03:43:41 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-09T03:43:52 < zyp> pixel rounding, I guess 2012-12-09T03:44:08 < emeb> what 2012-12-09T03:44:14 < emeb> 's misaligned? 2012-12-09T03:45:07 < zyp> some of the pads looks a bit misaligned, but I think it's just the renderer rounding to the closest pixel or something 2012-12-09T03:45:37 < emeb> oh - some of the clearances aren't symmetrical. Yeah - I've seen that in gerbv sometimes. 2012-12-09T03:46:52 < emeb> the RMII and SDIO are pin-compatible with Waveshare, right? 2012-12-09T03:47:02 < zyp> yes, that's the point 2012-12-09T03:47:09 < zyp> I2S too 2012-12-09T03:47:34 < zyp> and despite the silk, the intention is female headers 2012-12-09T03:47:40 < dongs> heh 2012-12-09T03:47:50 < dongs> reusing waveshare! 2012-12-09T03:47:51 < emeb> yeah - just noticing that the ws boards are pins. 2012-12-09T03:47:54 < zyp> I just couldn't be assed to fix footprints reflecting that 2012-12-09T03:48:16 < zyp> so I just grabbed the default 90 degree header stuff from eagle lib 2012-12-09T03:48:32 < dongs> fail. 2012-12-09T03:48:41 < zyp> it's not like it's visible when the header is mounted anyway :p 2012-12-09T03:49:06 < emeb> damn - ws has a butt-load of boards. cheap too. 2012-12-09T03:49:12 < zyp> yeah 2012-12-09T03:49:17 < zyp> pretty neat stuff 2012-12-09T03:49:24 < dongs> next time im ordering cp2012 from them im gonna grab that 2" TFT 2012-12-09T03:49:27 < dongs> for $13 or wahtever it is 2012-12-09T03:49:45 < emeb> that one looks like fun. 2012-12-09T03:49:54 < emeb> for certain values of fun. 2012-12-09T03:50:14 < zyp> I started playing with ethernet on my waveshare F4 board last weekend 2012-12-09T03:50:45 < emeb> oooh - camera boards. $10 2012-12-09T03:50:46 < zyp> got reception sort-of working 2012-12-09T03:50:56 < zyp> yeah, I got one of those included with my kit 2012-12-09T03:51:01 < zyp> haven't had time to play with that yet 2012-12-09T03:53:01 < emeb> the dp83848 ethernet board? 2012-12-09T03:55:51 < zyp> yep 2012-12-09T03:56:02 < zyp> just a phy, so it's using the internal mac 2012-12-09T03:56:11 < emeb> natch' 2012-12-09T03:56:20 < zyp> and the phy is configured correctly by default, so it doesn't really need any setup 2012-12-09T03:56:40 < emeb> nice 2012-12-09T03:59:21 < zyp> http://paste.jvnv.net/view/dOyBU <- currently I'm cheating and just polling the dma descriptor though :p 2012-12-09T04:05:48 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-09T04:08:41 < dongs> lost framez 2012-12-09T04:08:50 < dongs> zyp: is rblog c++11 2012-12-09T04:09:16 < dongs> lawl, template 2012-12-09T04:09:23 < dongs> ffuuuuuuuuuu 2012-12-09T04:11:15 < zyp> you can easily make a C equivalent 2012-12-09T04:11:44 < zyp> it's just about stuffing string pointers and arguments into an array 2012-12-09T04:12:32 < zyp> you might need some macro magic to make the number of arguments configurable, but you might as well just hardcode it 2012-12-09T04:17:12 < emeb> just completed DK order for BMP2 parts. Should have boards from OSHpark on Monday. 2012-12-09T04:19:23 < emeb> switching to mac... 2012-12-09T04:19:28 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-09T04:34:23 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-09T04:47:47 < dongs> my shit arrived yet? 2012-12-09T04:49:12 < zyp> dongs, by the way, how much am I going to owe you for the shit I want? 2012-12-09T04:49:56 < dongs> zyp, i dont know yet. 2012-12-09T04:49:59 < emeb_mac> dongs: did you send me stuff? 2012-12-09T04:51:03 < zyp> dongs, I assume you have leftovers of the simple eDP adapter board, I kinda want one of those too 2012-12-09T04:51:09 < dongs> emeb_mac: didnt you want bmp breakouts + that other shit 2012-12-09T04:51:18 < dongs> zyp: hm yeah, i do. many infact 2012-12-09T04:51:31 < emeb_mac> dongs: yes. but you didn't mention that you'd sent it. 2012-12-09T04:51:43 < emeb_mac> and I've been away so the mail is held until Mon. 2012-12-09T04:51:43 < zyp> emeb_mac, probably because you've been away :p 2012-12-09T04:51:45 < dongs> emeb_mac: usually when i say "im sending it" it means its out same day 2012-12-09T04:52:01 < emeb_mac> dongs: thx - u rock. 2012-12-09T04:52:37 < emeb_mac> so I still owe you $$ for this and the AfroLED boards. 2012-12-09T04:55:38 < dongs> indeed 2012-12-09T05:06:34 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-09T05:10:21 < dongs> Hmm 2012-12-09T05:22:33 < emeb_mac> pondering? 2012-12-09T05:28:30 < dongs> yea, lots of shit to do but dont feel like doing it 2012-12-09T05:29:35 < emeb_mac> weekends. blow 'em off. 2012-12-09T05:35:10 < dongs> Operating Systems Supported 2012-12-09T05:35:14 < dongs> 450 Watt or greater power 2012-12-09T05:35:24 < dongs> I wonder what operating system is "450watt or greater' 2012-12-09T05:35:40 < dongs> trying to shop for a cheap vga with dual displayport, proving to be quite a challenge 2012-12-09T05:36:14 < zyp> unless you're willing to consider ati, or what? 2012-12-09T05:36:23 < dongs> well ati is the only choice 2012-12-09T05:36:28 < zyp> ah 2012-12-09T05:36:29 < dongs> but all their dual dp cards are fucking monsters 2012-12-09T05:36:58 < dongs> http://www.newegg.com/Product/Product.aspx?Item=N82E16814196049 there's also this 2012-12-09T05:37:19 < dongs> but all ATI shit can do 4k over dp 2012-12-09T05:37:23 < dongs> this is 2k max 2012-12-09T05:37:36 < zyp> because of number of lanes? 2012-12-09T05:37:45 < dongs> no they're all 4 lanes 2012-12-09T05:37:49 < dongs> but I think ati can do HBR or wahtever shit 2012-12-09T05:37:52 < dongs> 5.something gbps 2012-12-09T05:37:54 < dongs> per lane 2012-12-09T05:38:09 < dongs> its not anything ill need now, but I think the crapple 2880x panels use that 2012-12-09T05:38:16 < dongs> and that wouldnt work with that card. 2012-12-09T05:38:40 < dongs> gayvidia seems pretty dead for displayport 2012-12-09T05:38:48 < dongs> HP has 2 cards with dual, thats it 2012-12-09T05:38:59 < dongs> yet every ati card has it 2012-12-09T05:41:38 < zyp> well, the market for DP is not exactly huge 2012-12-09T05:42:10 < zyp> most displays with DP input will usually also have DVI 2012-12-09T05:42:20 < dongs> not anything > 2k 2012-12-09T05:42:39 < zyp> of course it does 2012-12-09T05:42:42 < zyp> dual link DVI 2012-12-09T05:43:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-09T05:43:18 < zyp> I'm running 2560x1440 over that here 2012-12-09T05:43:18 < dongs> also every ati shit with minidp is fucking double-slot sized 2012-12-09T05:43:47 < zyp> flyback, shut up. 2012-12-09T05:44:42 < zyp> dongs, so really, any consumer display will have DVI, and possibly DP in addition 2012-12-09T05:45:01 < zyp> so DVI is a larger market, and then it makes sense to cater to that 2012-12-09T05:45:41 < zyp> flyback, sorry, I don't follow? 2012-12-09T05:46:29 < zyp> vga is as dead as crt displays 2012-12-09T05:46:37 < zyp> (or should be) 2012-12-09T05:47:09 < zyp> exactly 2012-12-09T05:48:22 < zyp> well, I'm younger than you, but still old enough to have owned several crt monitors with vga inputs :p 2012-12-09T06:06:44 < dongs> why dont they just send digital over VGA connector and revive it 2012-12-09T06:07:10 < zippe> dongs: VGA connector can't support the bandwidth 2012-12-09T06:07:23 < zippe> dongs: Also, it's way, way too f'ing big 2012-12-09T06:08:36 < zyp> and then you have the number of pins 2012-12-09T06:10:35 < zyp> unless you limit the number of lanes or extra stuff, and removing lanes will further increase the bandwidth requirement on the rest 2012-12-09T06:11:05 < emeb_mac> DE-15 is so 1987 2012-12-09T06:11:25 < zyp> not sure size is an argument compared to dvi :p 2012-12-09T06:13:09 < emeb_mac> hdmi isn't too awful 2012-12-09T06:15:08 < dongs> http://www.newegg.com/Product/Product.aspx?Item=N82E16814500216 ugh. so tempting, free duke nukem. 2012-12-09T06:15:53 < dongs> terrible setup for triple displays though. 2012-12-09T06:16:05 < dongs> k bbl napping 2012-12-09T06:16:23 < zippe> Ok, this is painful 2012-12-09T06:16:23 < zippe> http://ruggedcircuits.com/html/ancp01.html 2012-12-09T06:16:24 < zippe> http://ruggedcircuits.com/html/ancp01.html 2012-12-09T06:16:25 < zyp> doesn't 500-generation only support two displays at once? 2012-12-09T06:16:42 < zyp> that was the main reason I bought a 600-generation card 2012-12-09T06:23:51 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-09T06:23:58 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-09T06:38:49 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-09T06:44:04 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2012-12-09T06:51:05 < Oldboy> that can be arranged ... 2012-12-09T06:57:12 < gxti> if the previous 83,556 times he claimed to be leaving for a long time, and failed to do so, are any indication... maybe not 2012-12-09T06:58:53 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-09T07:18:21 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-09T07:27:17 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-09T07:40:11 < dongs> any nap that ends in sex0r is not a waste of time, i guess. 2012-12-09T08:06:26 < dongs> hmm wehre the fuck i put my 2811 chips 2012-12-09T08:06:30 < dongs> was gonna make moar rgb leds :( 2012-12-09T08:08:56 < dongs> i have a bag called led crap that has 2801's but not 2811s 2012-12-09T08:08:57 < dongs> hmm 2012-12-09T08:10:55 < dongs> they're both rgb. 2012-12-09T08:10:58 < dongs> one is onewire one is spi 2012-12-09T08:14:06 < dongs> one weire 2012-12-09T08:14:07 < dongs> wire 2012-12-09T08:18:08 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-09T08:36:27 < dongs> http://timecop.mine.nu/hotpixel/ web 2.0 2012-12-09T08:39:16 < dongs> too bad emeb went to sleep 2012-12-09T08:39:55 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-09T08:41:52 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-09T08:46:58 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-09T08:50:00 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2012-12-09T08:51:00 -!- l4cr0ss [~lacro$$@173.234.56.35] has joined ##stm32 2012-12-09T09:35:58 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 255 seconds] 2012-12-09T10:01:28 < dongs> http://i.imgur.com/ZGqZA.jpg fresh out of the ov en 2012-12-09T10:01:34 < dongs> ^ atn flyback 2012-12-09T10:04:34 < Oldboy> wtf is that ? 2012-12-09T10:04:38 -!- l4cr0ss [~lacro$$@173.234.56.35] has quit [Quit: l4cr0ss] 2012-12-09T10:04:56 < Oldboy> blinky lights for your bedroom ? 2012-12-09T10:05:11 < Oldboy> I can see that. what is the purpose of it 2012-12-09T10:05:34 < Oldboy> addressable, dimmable, blinky lights for his bedroom. 2012-12-09T10:06:14 < Oldboy> you know you can buy LEDs with the chip built in 2012-12-09T10:06:34 < ds2> the ws chip? 2012-12-09T10:06:36 < Oldboy> flyback: for those days when you have a 10$ hooker over ? 2012-12-09T10:07:03 < Oldboy> start saving your lunch money 2012-12-09T10:07:43 < Oldboy> there's no sex in heaven 2012-12-09T10:12:46 < baird> He's one of the Virgins that Islamic terrorists are promised when they get to Heaven. 2012-12-09T10:13:28 < baird> LOOKIN FORWARD TO THAT! 2012-12-09T10:14:45 < dongs> haha 2012-12-09T10:19:16 < dongs> flyback: http://i.imgur.com/V9KNS.jpg 4ch driver for that shit. i can blink 4096 leds with that 2012-12-09T10:33:12 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-09T10:39:15 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-09T10:41:58 < Oldboy> why is the SD card socket backwards ? 2012-12-09T10:42:23 < Oldboy> or does it just look like that ? 2012-12-09T10:42:50 < Oldboy> hmm. it just looks like that. 2012-12-09T10:43:19 < Oldboy> what goes on the SD card ? 2012-12-09T10:44:33 < dongs> anything 2012-12-09T10:44:36 < dongs> like channel data. 2012-12-09T10:45:20 < jpa-> like porn videos so that he can have the room lighting match the video 2012-12-09T10:49:32 < dongs> yea, 2012-12-09T10:56:10 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-09T11:00:40 < baird> The demo firmware for the 64x64/4096 screen must be an animated spincock. 2012-12-09T11:01:00 < dongs> totally 2012-12-09T11:01:05 < dongs> spin.gif you mean? 2012-12-09T11:01:53 < baird> http://www.khakain.com/archdeco/vault/wartime/blackknight/AESraid_files/spincock.gif 2012-12-09T11:02:16 < dongs> nah thats usless 2012-12-09T11:02:40 < dongs> http://pbx.mine.nu/artwork/spin.gif this is what you want 2012-12-09T11:05:47 < baird> spincock.gif was a classic early 4chan prank-- some guy had like a 3rd of MySpace users hotlinking to a kwooooot kittie picture on his server. Soon taken care of-- thousands of teenage girls had a shock the next day.. 2012-12-09T11:07:33 < baird> Especially those who used it as a page background. 2012-12-09T11:09:31 < dongs> lmfao 2012-12-09T11:09:33 < dongs> yeah 2012-12-09T11:12:31 < Oldboy> dongs: (old but good) http://youtube.googleapis.com/v/KFP-bKnA9Qs 2012-12-09T11:12:52 < Oldboy> wtf 2012-12-09T11:12:56 < Oldboy> its censored 2012-12-09T11:32:04 < dongs> http://www.jwz.org/images/22.jpg of course, its on jwz's site. 2012-12-09T12:24:43 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-09T12:31:18 -!- daku is now known as DaKu 2012-12-09T12:32:38 < dongs> huh 2012-12-09T12:32:44 < dongs> how can i make a timer go low wwhen I disable it 2012-12-09T12:32:51 < dongs> regardless of what the stop state was 2012-12-09T12:32:55 < dongs> just pulling gpio low doesnt work? 2012-12-09T12:33:53 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-09T12:34:10 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has joined ##stm32 2012-12-09T12:35:17 < dongs> disable = stop 2012-12-09T12:36:44 < jpa-> you can change the gpio to non-AFI, or then you can just change the timer registers 2012-12-09T12:36:57 < dongs> um, non-af shit sounds liek a lot of work 2012-12-09T12:37:00 < dongs> waht can i change in timer? 2012-12-09T12:37:10 < jpa-> the capture/compare mode atleast 2012-12-09T12:37:16 < jpa-> IIRC there was some "constant" mode 2012-12-09T12:37:17 < dongs> hmm.. 2012-12-09T12:37:22 < jpa-> or then you can change the CNT 2012-12-09T12:37:25 < dongs> the timer is stopped though 2012-12-09T12:37:28 < dongs> so it should be just low 2012-12-09T12:37:39 < dongs> but it randomly goes high or low depending when i stop it 2012-12-09T12:37:47 < jpa-> it is whatever it was left in when the timer stopped 2012-12-09T12:37:49 < jpa-> just like it should 2012-12-09T12:38:11 < jpa-> setting CNT after stopping it is probably the simplest solution 2012-12-09T12:38:29 < dongs> after? not befrore? 2012-12-09T12:38:44 < jpa-> well if you set it before, it may change before you stop it 2012-12-09T12:39:08 < dongs> ok taht fixed it 2012-12-09T12:39:11 < jpa-> if you set it after, it's ok; if it was already low, nothing changes; if it was high, it goes low when you set CNT 2012-12-09T12:39:55 < jpa-> yet another way could be to stop the timer by setting one-pulse-mode; then it will automatically stop the next time it rolls over 2012-12-09T12:40:31 < dongs> ok, gonna look into that 2012-12-09T13:26:20 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-09T13:33:59 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-09T13:46:36 < dongs> power supply of doom assembled 2012-12-09T13:52:26 -!- jef79m [~jef79m@124-171-23-66.dyn.iinet.net.au] has joined ##stm32 2012-12-09T14:04:09 < dongs> and, it doesnt work, woot. 2012-12-09T14:09:55 < dongs> bullshit fucking LGA packages 2012-12-09T14:11:57 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2012-12-09T14:17:03 < dongs> hmm what the hell 2012-12-09T14:18:57 < dongs> after i stop timer it clocks out 4 more pulses 2012-12-09T14:26:21 -!- Tectu is now known as tectu 2012-12-09T14:27:05 -!- jef79m is now known as jef79m_lurking 2012-12-09T14:31:58 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-09T14:31:58 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-09T14:31:58 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-09T14:32:01 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-09T14:32:28 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Client Quit] 2012-12-09T14:33:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-09T14:33:13 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-09T15:01:05 < dongs> damn 2012-12-09T15:01:12 < dongs> stm32 was actually struggling to drive WS2811 at 800kHz 2012-12-09T15:01:22 < dongs> i had to build in release mode 2012-12-09T15:01:24 < dongs> i will have to figure out how to do DMA for timer 2012-12-09T15:05:17 -!- tectu is now known as Tectu 2012-12-09T15:05:41 -!- jef79m_lurking is now known as jef79m 2012-12-09T15:10:31 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-09T15:25:21 < dongs> https://youtube.com/watch?v=knJWK7gcZOY need to figure out how to DMA though. 2012-12-09T15:27:45 -!- jef79m is now known as jef79m_lurking 2012-12-09T15:27:45 < zyp> nice desk 2012-12-09T15:28:21 < dongs> heh 2012-12-09T15:34:29 < dongs> still no luck with i2c. but i duno what im doing. waiting for you to fix :) 2012-12-09T15:34:56 < zyp> yeah, I'll have a look later 2012-12-09T15:35:02 < zyp> eating breakfast now 2012-12-09T15:36:12 < dongs> yeah, no worries. 2012-12-09T15:36:16 < dongs> i gotta figure out waht i cocked up on this supply 2012-12-09T15:36:30 < dongs> but since the murata modules are fucking LGA i gotta redo the pcb. 2012-12-09T15:36:39 < dongs> it draws 150mA at idle, so theres obiosuly something shorted 2012-12-09T15:36:53 < dongs> and if I raise current > 9V it starts drawing a lot mroe 2012-12-09T15:36:59 < dongs> so somethin is def fucked 2012-12-09T15:37:29 < dongs> http://i.imgur.com/G9fRk.jpg this trash. 2012-12-09T15:37:43 < dongs> gonna redo the landpattern to use those side pads... 2012-12-09T15:51:28 -!- Laurenceb__ [~Laurence@host86-140-224-238.range86-140.btcentralplus.com] has joined ##stm32 2012-12-09T15:54:28 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-09T16:16:46 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-09T16:32:59 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-09T16:39:57 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-09T17:04:01 < dongs> hmm 2012-12-09T17:04:11 < dongs> attn emeb_mac < dongs> http://timecop.mine.nu/hotpixel/ web 2.0 2012-12-09T17:04:18 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-09T17:05:04 < emeb_mac> cute 2012-12-09T17:05:28 < emeb_mac> for building bitmaps to an 8x8 RGB display 2012-12-09T17:05:32 < dongs> yeah 2012-12-09T17:05:35 < dongs> nyancat time. 2012-12-09T17:05:59 < emeb_mac> needs JPG/GIF/PNG import. :P 2012-12-09T17:11:05 <+Steffanx> awful music dongs 2012-12-09T17:12:51 < dongs> i liked it 2012-12-09T17:16:57 < emeb_mac> dongs: did you just do that little USB/SD/I2C board for driving chains of WS2811 chips? 2012-12-09T17:17:30 < dongs> sure 2012-12-09T17:17:45 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-09T17:17:50 < emeb_mac> nice 2012-12-09T17:18:15 < dongs> cause,, i needed to levelshift 3.3V to 5V 2012-12-09T17:18:23 < dongs> so i figured while i was doing that, i might as well add other crap 2012-12-09T17:19:59 < emeb_mac> separate reg for the SD socket? 2012-12-09T17:28:03 * emeb_mac watches the video of the dongscave 2012-12-09T17:29:15 < dongs> yes, i learned SD can use up to 100mA 2012-12-09T17:29:37 < emeb_mac> wow - did not know that. 2012-12-09T17:29:59 < dongs> The power consumption of microSD cards varies by manufacturer, but is in the range of 66–330 mW (20–100 mA at a supply voltage of 3.3 V). Specifications from TwinMos technologies list a maximum of 149 mW (45 mA) during transfer. Toshiba, on the other hand, lists 264–330 mW (80–100 mA). 2012-12-09T17:30:06 < jpa-> and also they can have a few microfarads of internal capacitance, so there are large spikes when you insert a card 2012-12-09T17:32:37 < emeb_mac> when I used uSD on my own modules I never hot-swapped them. 2012-12-09T17:33:43 < emeb_mac> something wrong with the numbers in that quote above - 66330mW @3.3V is ~20A. Doubt that. 2012-12-09T17:34:09 < dongs> your irc client fucks up the unicode crap ive got in it 2012-12-09T17:34:11 < dongs> 66-330mW 2012-12-09T17:34:14 < dongs> 20-100mA 2012-12-09T17:34:19 < dongs> 264-330mW 2012-12-09T17:34:21 < dongs> 80-100mA 2012-12-09T17:34:23 < emeb_mac> ah 2012-12-09T17:34:51 < dongs> http://images.4chan.org/wsg/src/1353211415504.gif 2012-12-09T17:34:52 < dongs> haha 2012-12-09T17:35:29 < emeb_mac> special disc drive with automatic alignment robot built in 2012-12-09T17:37:53 < zyp> I think the SD specs limit how much current a card can draw in different modes, so the host and card can negotiate a mode that they both support 2012-12-09T17:38:23 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-09T17:43:24 < emeb_mac> http://arstechnica.com/science/2012/11/nand-flash-gets-baked-lives-longer/ 2012-12-09T17:43:45 * emeb_mac waits for SD that gets toasty 2012-12-09T17:44:56 < dongs> emeb_mac: whats better to do first, convert 48k to 44k or 24bit to 16bit 2012-12-09T17:45:05 < dongs> im thinking 48>44 then bits 2012-12-09T17:45:11 < zyp> agreed 2012-12-09T17:45:12 < emeb_mac> dongs: correct 2012-12-09T17:45:17 < jpa-> yeah 2012-12-09T18:22:11 < dongs> wow, no chats 2012-12-09T18:27:02 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-09T18:29:04 < emeb_mac> everyone is asleep 2012-12-09T18:31:17 < zyp> I'm not 2012-12-09T18:31:28 < zyp> I just don't have something interesting to blog about 2012-12-09T18:33:28 * emeb_mac is still catching up on RSS 2012-12-09T18:35:07 < emeb_mac> zyp: when/where you getting that LCP board fabbed? 2012-12-09T18:36:26 < zyp> well, I'm waiting for dongs to answer that :p 2012-12-09T18:37:13 < dongs> workin on it. 2012-12-09T18:39:09 < dongs> did you hear, i ran into STM32 being too slow to drive these bars unless i started compiling wiht -O and optimized shift out 2012-12-09T18:39:14 < dongs> at 800kHz that is 2012-12-09T18:39:46 < emeb_mac> hmm - what's -O on Keil mean 2012-12-09T18:40:01 < dongs> i used to do rgbOUT[i] = (rgb[i >> 3] & (1 << (7 - (i & 7)))) ? BIT1 : BIT0; in the TIM update ISR, to calculate value for next bit width, but that was way too slow 2012-12-09T18:40:21 < zyp> dongs, did you use optimization for that i2c stuff? :p 2012-12-09T18:40:34 < dongs> zyp: no i always do debug/no optimization build 2012-12-09T18:40:46 < dongs> but now that i cache the stuff... is hould probably use DMA 2012-12-09T18:40:58 < zyp> maybe that's why it was messing up, try with 2012-12-09T18:41:00 < dongs> then i dont even need timer update ISR at all 2012-12-09T18:41:30 < dongs> just setup DMA for 24*16bits, and tell it to run timer + output those pulses, then stop timer @ dma TC 2012-12-09T18:41:33 < dongs> zyp, really? 2012-12-09T18:41:34 < dongs> why would it 2012-12-09T18:41:36 < dongs> too slow? 2012-12-09T18:42:01 < zyp> well, according to one of those traces you had, it seemed like that might be the case 2012-12-09T18:42:59 < dongs> mkay 2012-12-09T18:43:11 < emeb_mac> on gcc I've seen up to 3:1 speed difference between opt / no opt. 2012-12-09T18:43:24 < dongs> well, thats gcc 2012-12-09T18:43:32 < emeb_mac> :P 2012-12-09T18:43:50 < dongs> anyway, i dont have it setup on the desk this time. cleared it out for ledcrap + powersupply disappointment 2012-12-09T18:44:06 < zyp> well, compiling without optimizations basically means «be as inefficient as you want» 2012-12-09T18:44:27 < emeb_mac> wonder what went wrong w/ those switchers 2012-12-09T18:44:39 < dongs> dunno, shit's shorted 2012-12-09T18:44:54 < dongs> it could be the bullshit LGA pattern too. 2012-12-09T18:45:10 < zyp> dongs, no worries, just try it next time you're dicking with that 2012-12-09T18:45:13 < dongs> i shouldnt have listened to the datasheet and used the castle vias on the edges instead 2012-12-09T18:45:43 < dongs> its still missing read thats required anyway 2012-12-09T18:46:24 < zyp> yep 2012-12-09T18:50:54 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has joined ##stm32 2012-12-09T18:53:55 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-09T18:57:11 < emeb_mac> "Windows 8 : Christmas gift for someone you hate." 2012-12-09T18:57:38 < jpa-> why? 2012-12-09T18:57:59 < zyp> because you can no longer press start to stop your computer 2012-12-09T18:58:10 < dongs> maybe some lunix dudes reasoning 2012-12-09T18:58:21 < dongs> windows 8 is fucking amazing 2012-12-09T18:59:13 < emeb_mac> http://blogs.law.harvard.edu/philg/2012/12/05/christmas-gift-for-someone-you-hate-windows-8/ 2012-12-09T19:01:42 < dongs> looks like a bullshit rant 2012-12-09T19:02:49 < emeb_mac> some folks fear change 2012-12-09T19:03:18 < jpa-> that dude has to be blind or something 2012-12-09T19:03:25 < emeb_mac> UI differences are no big deal in my book. Adapt or die. 2012-12-09T19:03:27 < jpa-> http://cdn3.mos.techradar.futurecdn.net//art/tablets/Microsoft/Surface/Press/Microsoft%20Surface%20with%20Windows%208%20Pro-580-100.jpg the windows logo at bottom is a button 2012-12-09T19:03:45 < jpa-> it.. surprise surprise, takes you to the home screen 2012-12-09T19:08:21 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-09T19:50:44 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 248 seconds] 2012-12-09T20:38:10 <+Steffanx> Some people don't like surpries jpa- 2012-12-09T20:56:16 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-243-93.clienti.tiscali.it] has quit [Ping timeout: 250 seconds] 2012-12-09T20:56:23 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-221-176.clienti.tiscali.it] has joined ##stm32 2012-12-09T21:15:21 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-221-176.clienti.tiscali.it] has quit [Read error: No route to host] 2012-12-09T21:17:21 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-221-176.clienti.tiscali.it] has joined ##stm32 2012-12-09T21:35:26 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-09T22:07:54 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-09T22:22:04 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has quit [Ping timeout: 250 seconds] 2012-12-09T22:28:04 -!- Laurenceb__ is now known as Laurenceb_ 2012-12-09T23:06:45 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-09T23:07:29 -!- barthess [~barthess@5.100.213.129] has joined ##stm32 2012-12-09T23:11:36 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 264 seconds] 2012-12-09T23:14:40 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-09T23:23:13 -!- barthess [~barthess@5.100.213.129] has quit [Quit: Leaving.] 2012-12-09T23:23:39 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-09T23:25:48 -!- barthess [~barthess@5.100.213.129] has joined ##stm32 2012-12-09T23:31:28 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 265 seconds] 2012-12-09T23:40:03 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-09T23:42:12 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-09T23:48:22 < emeb_mac> such a cheery outlook. 2012-12-09T23:51:04 < Laurenceb_> lol homeland 2012-12-09T23:51:20 < Laurenceb_> they hacked a bluetooth pacemaker and killed the vice president 2012-12-09T23:55:13 < emeb_mac> uh huh. 2012-12-09T23:55:50 < emeb_mac> cause everyone knows that medical equipment mfgs were born yesterday. 2012-12-09T23:58:06 < emeb_mac> although that thing about hotel card-key locks being hacked w/ an arduino makes you wonder. --- Day changed Mon Dec 10 2012 2012-12-10T00:06:56 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-10T00:07:42 < baird> lol @ the dongscave: https://www.youtube.com/watch?v=knJWK7gcZOY 2012-12-10T00:08:01 < zyp> old 2012-12-10T00:08:10 -!- barthess [~barthess@5.100.213.129] has quit [Quit: Leaving.] 2012-12-10T00:09:50 < gxti> no you 2012-12-10T00:17:32 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-10T00:21:06 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2012-12-10T00:23:37 <+Steffanx> nu, gxti 2012-12-10T00:26:51 < emeb_mac> xi, Steffanx 2012-12-10T00:29:06 <+Steffanx> Why no one used CSI-ish deblurring technics yet, to get the address from the package in this video: 2012-12-10T00:29:08 <+Steffanx> https://www.youtube.com/watch?v=riPYrzXb2PA&list=UUHq-5fr8fGEsntnNDdJ_ohQ&index=5 2012-12-10T00:30:12 <+Steffanx> So we can all visit dongs when we want to 2012-12-10T00:30:28 < zyp> you wanna know where he lives? 2012-12-10T00:30:42 <+Steffanx> To troll him? Sure! 2012-12-10T00:31:24 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Remote host closed the connection] 2012-12-10T00:31:53 < zyp> http://i.imgur.com/pDXmv.jpg <- then just compare his quadrotor surveillance pic with https://maps.google.com/?ll=32.505242,130.305029&spn=0.003542,0.006968&t=h&z=18 2012-12-10T00:32:18 <+Steffanx> Hmm, he 2012-12-10T00:32:42 <+Steffanx> Who here used his detective skillz? 2012-12-10T00:33:41 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-10T00:33:52 -!- barthess [~barthess@77.67.245.108] has joined ##stm32 2012-12-10T00:34:21 -!- barthess [~barthess@77.67.245.108] has quit [Client Quit] 2012-12-10T00:34:33 < zyp> IIRC I just checked the location of that fireworks festival he posted a video of once 2012-12-10T00:35:01 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-10T00:35:05 < zyp> sazanami festa or whatever it was called 2012-12-10T00:36:11 <+Steffanx> My revenge will be sweet 2012-12-10T00:37:39 < gxti> this would be too easy https://www.youtube.com/watch?v=qkXtMqmPFTg&list=UUHq-5fr8fGEsntnNDdJ_ohQ&index=8 2012-12-10T00:37:46 < gxti> but the lat/lon on screen is not even close 2012-12-10T00:37:57 <+Steffanx> heh 2012-12-10T00:38:10 < gxti> sudan! 2012-12-10T00:38:11 < zyp> oh yeah, 1234567 3456789 2012-12-10T00:38:31 < gxti> haha, how did i not notice that 2012-12-10T00:38:35 < gxti> must be hungry 2012-12-10T00:38:37 <+Steffanx> Shit happens 2012-12-10T00:39:12 < Thorn> are quadcopters his main occupation? 2012-12-10T00:39:23 < Thorn> except trolling that is 2012-12-10T00:39:50 <+Steffanx> I think so 2012-12-10T00:40:05 <+Steffanx> And LED strips 2012-12-10T00:40:12 <+Steffanx> *bar 2012-12-10T00:42:00 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-10T00:42:40 < gxti> sounds like a good job 2012-12-10T00:43:44 < zyp> I forgot what his company was called, but they are doing a bunch of tv stuff 2012-12-10T00:44:38 <+Steffanx> TV stuff.. they still do that? 2012-12-10T00:44:40 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-10T00:45:16 < zyp> http://www.hikarisoft.com/products.en.html 2012-12-10T00:45:22 < emeb_mac> ##stm32 - dongstalkers 2012-12-10T00:45:34 <+Steffanx> He deserved that for what he has done to use 2012-12-10T00:45:35 <+Steffanx> -e 2012-12-10T00:48:02 < zyp> I'm not stalking, I'm just accumulating information as I talk to people :p 2012-12-10T00:48:10 < zyp> who of you guys are next? :p 2012-12-10T00:48:33 <+Steffanx> You.. 2012-12-10T00:49:02 <+Steffanx> Or didn't i already stalk you a long time ago, when i was bored? 2012-12-10T00:49:21 < zyp> dunno 2012-12-10T00:49:37 < Thorn> I need to put a ds18b20 into a 120°C max room with possible condensation. I assume sealing it in some kind of metal tube is necessary? 2012-12-10T00:49:41 <+Steffanx> Yeah, I do remember :P 2012-12-10T00:49:46 <+Steffanx> And you didn't care 2012-12-10T00:49:56 < zyp> Steffanx, that sounds about right :p 2012-12-10T00:50:31 <+Steffanx> iirc it was an old phone number anyway :P 2012-12-10T00:50:39 <+Steffanx> At least, that's what you said 2012-12-10T00:51:26 < zyp> ah, you were going by dns information 2012-12-10T00:51:36 < zyp> which I haven't updated since I moved 2012-12-10T00:51:55 <+Steffanx> And your name in some address book 2012-12-10T00:52:09 <+Steffanx> *phone book 2012-12-10T00:53:31 -!- jef79m_lurking is now known as jef79m 2012-12-10T00:55:15 <+Steffanx> but yeah, was kinda useless P 2012-12-10T00:55:16 <+Steffanx> :P 2012-12-10T00:55:37 < gxti> Thorn: sounds reasonable 2012-12-10T00:58:17 < emeb_mac> Thorn: why metal? why not just goop it with some silicone and shove it in some heatshrink? 2012-12-10T00:58:37 < Thorn> dunno, thermal conductivity? 2012-12-10T00:59:41 < Thorn> someone suggested copper pipe used for air conditioners to me 2012-12-10T00:59:47 < emeb_mac> if the total mass is small then conductivity won't matter much. 2012-12-10T01:00:23 < emeb_mac> depends on how fast you expect the temperature to change I guess. 2012-12-10T01:02:23 < dongs> blogs 2012-12-10T01:02:29 < Laurenceb_> http://www.hikarisoft.com/products.en.html#prod2 2012-12-10T01:02:33 < Laurenceb_> linux support?!" 2012-12-10T01:02:41 <+Steffanx> open sores .. for free 2012-12-10T01:07:29 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-10T01:28:42 < Laurenceb_> http://t-filter.appspot.com/fir/index.html 2012-12-10T01:30:02 < baird> "hikarisoft"... sounds like the kind of computer company name a kid in the 1980s thinks up 2012-12-10T01:33:56 < Laurenceb_> sounds like suicide software 2012-12-10T01:36:59 -!- grummund [~user@unaffiliated/grummund] has left ##stm32 [] 2012-12-10T01:44:27 < dongs> http://www.blu-ray.com/movies/Osombie-Blu-ray/55930/#Review 2012-12-10T01:44:27 < dongs> lo 2012-12-10T01:44:38 < dongs> zyp, isnt the shit you pasted public knowledge 2012-12-10T01:44:45 < dongs> its ev en linked from about page of scamshoppe 2012-12-10T01:45:41 < baird> lol truckdrivers: https://www.youtube.com/user/yovo68/ 2012-12-10T01:45:53 < dongs> mega old 2012-12-10T01:48:21 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-10T01:54:06 -!- Laurenceb_ [~Laurence@host86-140-224-238.range86-140.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-10T02:00:51 < Thorn> btw, has anyone used 1-wire devices with long cables (~30m)? or is it better to do a 1-wire/CAN converter instead? 2012-12-10T02:02:28 < zyp> dongs, huh? 2012-12-10T02:03:08 < dongs> zyp: company info/office address 2012-12-10T02:03:53 < zyp> dunno 2012-12-10T02:04:25 < zyp> I just remember checking that sazanami festa stuff once 2012-12-10T02:05:01 < zyp> https://www.youtube.com/watch?v=Rh8CgwY0moA <- this shit 2012-12-10T02:05:07 < dongs> rite 2012-12-10T02:07:10 -!- DaKu is now known as daku 2012-12-10T02:42:30 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 250 seconds] 2012-12-10T03:31:17 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has joined ##stm32 2012-12-10T03:31:17 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-221-176.clienti.tiscali.it] has quit [Disconnected by services] 2012-12-10T04:58:15 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 2012-12-10T05:27:18 < emeb_mac> a chat-free zone. 2012-12-10T05:28:06 < dongs> no shit, where the hell are the chats 2012-12-10T05:28:44 < gxti> i eated them 2012-12-10T05:29:11 < emeb_mac> *urp* 2012-12-10T05:30:15 < emeb_mac> lol virus drones: http://diydrones.com/profiles/blogs/report-from-the-dronegames-formerly-drone-olympics 2012-12-10T05:31:44 < dongs> what the fck 2012-12-10T05:31:47 < dongs> why are tehy all on macfags 2012-12-10T05:32:28 < gxti> shh, it'll be ok 2012-12-10T05:34:18 < emeb_mac> cause macs are >cool<. That's what all the good guys on 24 used. 2012-12-10T05:47:32 < dongs> http://au.element14.com/multicomp/mc34453/header-r-angle-smt-8way/dp/1578207?Ntt=157-8207 2012-12-10T05:47:35 < dongs> waht a fucktarded connector 2012-12-10T05:47:38 < dongs> is this a molex clone? 2012-12-10T05:47:41 < dongs> cuz i never heard of multicomp 2012-12-10T05:51:27 < dongs> oh, i got stencils for bmp+ shit already.. ishould try to see if i can put it together today 2012-12-10T06:01:25 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-10T06:05:34 < emeb_mac> cool. 2012-12-10T06:06:04 < emeb_mac> I'll probably have boards tomorrow & the rest of the parts Thurs. 2012-12-10T06:06:55 < dongs> still raged about power supply shit so i think i need to solve that first 2012-12-10T06:12:13 < emeb_mac> too bad you can't x-ray to see where the short is. 2012-12-10T06:12:31 < dongs> i can 2012-12-10T06:12:35 < dongs> but its probably under the fucking coil 2012-12-10T06:12:38 < dongs> so itll look like shit anyway 2012-12-10T06:12:40 < dongs> i wil ltry anyways though 2012-12-10T06:12:43 < dongs> cause im pissed enough 2012-12-10T06:13:38 < emeb_mac> you think it's on all 3 modules? 2012-12-10T06:14:23 < dongs> unsure 2012-12-10T06:14:40 < dongs> packign some stuff hten gonna xray this one and see 2012-12-10T06:14:51 < emeb_mac> take 'em off 1-at-time and see if it goes away? 2012-12-10T06:15:00 < dongs> cant, tehy're fucking LGA 2012-12-10T06:15:06 < dongs> all the solder is udnerneath 2012-12-10T06:15:10 < dongs> its pcb to pcb with some pads 2012-12-10T06:15:13 < emeb_mac> hot air won't work? 2012-12-10T06:15:16 < dongs> i never had much luck with that kinda package 2012-12-10T06:15:22 < dongs> not without trashing everything around it, no 2012-12-10T06:15:28 < emeb_mac> meh 2012-12-10T06:15:36 < dongs> anyway gonna xray and see whta the fuck is up 2012-12-10T06:15:39 < dongs> bbl 2012-12-10T06:22:38 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-10T06:22:46 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-10T06:23:58 -!- l4cr0ss [~lacro$$@72.37.242.3] has joined ##stm32 2012-12-10T06:33:39 < dongs> k lets see waht teh fuck is up 2012-12-10T06:33:42 < dongs> doesnt look good though 2012-12-10T06:33:45 < dongs> coil covers all the shit 2012-12-10T06:35:15 -!- jef79m is now known as jef79m_lurking 2012-12-10T06:36:53 < dongs> http://i.imgur.com/My6RY.jpg at least you can see wirebonding on the LDOs. 2012-12-10T06:37:05 < dongs> shits useless. 2012-12-10T06:37:10 < dongs> coil covers too much area 2012-12-10T06:37:17 < dongs> that was like 4 seconds exposure 2012-12-10T06:37:26 < emeb_mac> totally washed out 2012-12-10T06:37:30 < dongs> yeah. 2012-12-10T06:37:37 < dongs> but i dont see any shorts, either 2012-12-10T06:37:42 < dongs> not obivous ones anyway. 2012-12-10T06:38:03 < emeb_mac> hmmm - any components on the back side? 2012-12-10T06:38:09 < dongs> nope 2012-12-10T06:38:19 < emeb_mac> hotplate to pop the LGA off? 2012-12-10T06:38:25 < dongs> oh sure and then what? 2012-12-10T06:38:31 < dongs> i could just hotair it from the back 2012-12-10T06:38:36 < emeb_mac> yup 2012-12-10T06:38:58 < emeb_mac> take them off one at a time & see if the short goes away. 2012-12-10T06:43:21 -!- jef79m_lurking is now known as jef79m 2012-12-10T06:45:23 < dongs> anyway the LDO looks cool 2012-12-10T06:50:01 < emeb_mac> yep 2012-12-10T06:57:15 -!- jef79m is now known as jef79m_lurking 2012-12-10T07:25:18 < emeb_mac> lol - gps hax0r: http://users.ece.cmu.edu/~dbrumley/courses/18487-f12/readings/Nov28_GPS.pdf 2012-12-10T07:25:40 -!- mrcan__ [~mrcan@78.173.215.98] has joined ##stm32 2012-12-10T07:25:40 -!- mrcan__ [~mrcan@78.173.215.98] has quit [Changing host] 2012-12-10T07:25:40 -!- mrcan__ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-10T07:26:03 < emeb_mac> of course they did all their testing hard-wired. How could this work w/ broadcast w/o self-interfering? 2012-12-10T07:29:06 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 255 seconds] 2012-12-10T07:33:06 -!- l4cr0ss [~lacro$$@72.37.242.3] has quit [Quit: l4cr0ss] 2012-12-10T07:38:50 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-10T07:40:12 < dongs> http://i.imgur.com/pQT0l.jpg lo 2012-12-10T07:46:18 < emeb_mac> eek! 2012-12-10T07:46:51 < dongs> too much luniex 2012-12-10T07:47:19 < emeb_mac> eats away ur brainz 2012-12-10T07:52:11 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-10T07:55:18 < dongs> hmm 2012-12-10T07:55:31 -!- l4cr0ss [~lacro$$@174.34.166.171] has joined ##stm32 2012-12-10T07:57:42 < gurgalof> looks kinda like my comp while working... 2012-12-10T08:00:29 < dongs> i guess you dont work much 2012-12-10T08:01:35 < gurgalof> schh not that loud 2012-12-10T08:01:52 < dongs> hmm, power supply still dead. 2012-12-10T08:02:16 < dongs> doesnt make sense why it wouldnt work 2012-12-10T08:04:24 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-10T08:04:51 < emeb_mac> what did you change? 2012-12-10T08:05:21 < dongs> i had that powergood shit on 1.8V that I thought might be unconnected so i went back to ignoring pg and it still does same shit 2012-12-10T08:05:43 < dongs> if I run it at 7.3V, it draws ~700mA and CV/CC kicks in and voltage drops to ~4V 2012-12-10T08:06:24 < emeb_mac> blech 2012-12-10T08:07:12 < emeb_mac> what's the pn on those modules? 2012-12-10T08:07:36 < dongs> 811-2072-1-ND 811-2212-1-ND 2012-12-10T08:07:54 -!- mrcan__ [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 264 seconds] 2012-12-10T08:08:11 < dongs> i will try to hotair off the 12V one. 2012-12-10T08:08:22 < dongs> not holding my breath though 2012-12-10T08:09:30 < emeb_mac> heh : "Featuring inspectable Land Grid Array (iLGA) format" 2012-12-10T08:10:10 < dongs> what 2012-12-10T08:10:15 < dongs> inspect my fucking balls 2012-12-10T08:10:24 < dongs> how do they inspect those? 2012-12-10T08:11:23 < emeb_mac> my point. 2012-12-10T08:13:25 -!- l4cr0ss [~lacro$$@174.34.166.171] has quit [Quit: l4cr0ss] 2012-12-10T08:15:03 < dongs> well fucking lol 2012-12-10T08:15:28 < dongs> heating hte trash form teh back , guess what came off?? 2012-12-10T08:16:20 < dongs> the coil :\ 2012-12-10T08:16:44 < dongs> i guess i can now inspect it. 2012-12-10T08:16:50 < emeb_mac> lol 2012-12-10T08:17:02 < emeb_mac> did you grab it by the coil or by the board? 2012-12-10T08:17:11 < dongs> no i just bumped it 2012-12-10T08:17:15 < emeb_mac> oop 2012-12-10T08:17:17 < dongs> upside down. 2012-12-10T08:17:25 < emeb_mac> dropped off... 2012-12-10T08:21:00 < dongs> well, i got it off 2012-12-10T08:21:04 < dongs> i dont see how it coudl have shorted anything 2012-12-10T08:21:06 < dongs> the joints look perfect. 2012-12-10T08:21:26 < dongs> no overflow of crap between pads etc. 2012-12-10T08:21:32 < dongs> i dont usually fuck up this kinda stuff though 2012-12-10T08:22:45 < emeb_mac> solder bridges are the only thing I could think of. 2012-12-10T08:22:54 < emeb_mac> so is the short still there? 2012-12-10T08:24:06 < emeb_mac> googling - haven't found any info on how they think you should inspect those things. 2012-12-10T08:25:25 < emeb_mac> you don't happen to have an IR heat camera do you? 2012-12-10T08:26:10 < emeb_mac> (since you've got x-ray it's not out of the range of possibilities) 2012-12-10T08:26:46 < dongs> well cocks 2012-12-10T08:26:48 < dongs> 12V is out 2012-12-10T08:26:52 < dongs> 3.3V converter is outputting 5.1V 2012-12-10T08:26:57 < dongs> from 5.4V in 2012-12-10T08:27:00 < dongs> so t heres def something fucked 2012-12-10T08:27:30 < emeb_mac> you have any loads on those smps? 2012-12-10T08:27:42 < dongs> just the vregs. 2012-12-10T08:27:49 < emeb_mac> should be enough 2012-12-10T08:28:01 < emeb_mac> sometimes smps go out of regulation w/o loads. 2012-12-10T08:28:17 < dongs> All models regulate within specifi cation and are stable under no load to full 2012-12-10T08:28:17 < dongs> load conditions. Operation under no load might however slightly increase 2012-12-10T08:28:18 < dongs> output ripple and noise. 2012-12-10T08:28:20 < dongs> irrelevant though 2012-12-10T08:30:29 -!- mrcan_ [~mrcan@78.173.252.82] has joined ##stm32 2012-12-10T08:30:29 -!- mrcan_ [~mrcan@78.173.252.82] has quit [Changing host] 2012-12-10T08:30:29 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-10T08:33:14 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 240 seconds] 2012-12-10T08:35:35 < dongs> i just shorted sense to vout 2012-12-10T08:35:59 < dongs> i mean to use this hsit. 2012-12-10T08:36:02 < dongs> soit should just work. 2012-12-10T08:44:45 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-10T08:45:32 < emeb_mac> sense to vout should work. 2012-12-10T08:45:40 < emeb_mac> how did you set up the trim? 2012-12-10T08:48:21 < dongs> just trim>gnd 2012-12-10T08:49:15 < dongs> wtf... its shorted even out of circuit 2012-12-10T08:49:29 < dongs> i.e. vin>gnd w/trim connected and shit => 700mA draw 2012-12-10T08:51:44 < emeb_mac> the module alone, or board w/o module? 2012-12-10T08:51:55 < dongs> module. 2012-12-10T08:52:03 < emeb_mac> dafuq? 2012-12-10T08:52:14 < dongs> i wired it up like page1 of datasheet 2012-12-10T08:52:24 < emeb_mac> bad module? 2012-12-10T08:53:05 < dongs> no idea.. 2012-12-10T08:53:11 < dongs> ON/off logic is Negative on this one so 2012-12-10T08:53:27 < dongs> so onoff should go to gnd right 2012-12-10T08:54:09 < dongs> but it shouldtn fucking draw 700mA in any state anyway 2012-12-10T08:54:12 < dongs> especially wihtout load. 2012-12-10T08:54:40 < emeb_mac> on/off -> gnd should be "on" 2012-12-10T08:54:54 < emeb_mac> and it shouldn't draw that much 2012-12-10T08:54:57 < dongs> right. 2012-12-10T08:55:05 < dongs> it shouldnt draw that much either on or off anyway. 2012-12-10T08:55:25 < emeb_mac> yeah 2012-12-10T08:56:16 < emeb_mac> got any others laying around you could try stand-alone? 2012-12-10T08:58:16 < emeb_mac> mmmm... tasty tasty bleach 2012-12-10T09:04:06 < emeb_mac> zzzzzz 2012-12-10T09:04:26 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-10T09:07:01 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2012-12-10T09:12:53 < Oldboy> Anime is what Japanese perverts watch, right ? 2012-12-10T09:15:06 < dongs> yes 2012-12-10T09:18:18 < dongs> http://www.foxnews.com/us/2012/12/09/police-say-oregon-boys-ages-7-and-11-used-loaded-gun-to-attempt-to-carjack-rob/ 2012-12-10T09:18:22 < dongs> america 2012-12-10T09:28:58 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-10T10:13:17 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-10T10:13:20 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-10T10:15:13 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-10T10:17:32 <+Steffanx> zzzz 2012-12-10T10:19:15 < zyp> good morning, Steffanx 2012-12-10T10:19:34 <+Steffanx> Yeah, 9am is way too early for normal people 2012-12-10T10:20:17 <+Steffanx> Especially when you go to sleep ~1AM and wake up at 7 :P 2012-12-10T10:22:36 < baird> Lightweight. I went to sleep at 3pm and woke up just now (~7:30pm) 2012-12-10T10:23:15 <+Steffanx> Oh, it was 1PM of course 2012-12-10T10:23:16 <+Steffanx> :P 2012-12-10T10:23:22 <+Steffanx> ohm no 2012-12-10T10:23:30 <+Steffanx> !@#$ american standard 2012-12-10T10:34:53 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-10T10:37:54 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 264 seconds] 2012-12-10T10:43:23 -!- Laurenceb_ [~Laurence@host86-140-224-238.range86-140.btcentralplus.com] has joined ##stm32 2012-12-10T11:01:11 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has joined ##stm32 2012-12-10T11:02:30 -!- Laurenceb_ [~Laurence@host86-140-224-238.range86-140.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-10T11:09:55 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-10T11:17:19 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-10T11:36:00 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 276 seconds] 2012-12-10T11:37:08 -!- englishman [~englishma@199.180.97.18] has quit [Read error: Connection reset by peer] 2012-12-10T11:37:30 -!- englishman [~englishma@199.180.97.18] has joined ##stm32 2012-12-10T11:56:21 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-10T12:08:21 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-10T12:29:08 -!- jaeckel_ [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-12-10T12:34:03 -!- Netsplit *.net <-> *.split quits: jaeckel 2012-12-10T12:36:06 < dongs> deadchats 2012-12-10T12:36:42 < dongs> InterlockedRapeAndPillage() 2012-12-10T12:39:20 < Laurenceb> http://www.bbc.co.uk/news/technology-20445632 2012-12-10T12:39:31 < Laurenceb> so you have to be 1337 2012-12-10T12:39:37 < dongs> lo 2012-12-10T12:49:32 < Laurenceb> anyone tried running libflac on stm32? 2012-12-10T12:51:43 < Laurenceb> http://www.barryrudolph.com/dogs/catwash.html 2012-12-10T12:53:10 < dongs> > flac 2012-12-10T12:53:11 < dongs> no. 2012-12-10T12:53:12 < dongs> just say no. 2012-12-10T12:56:12 < dongs> http://i.imgur.com/Vv7YA.jpg amazewheel is comin together. attn jaeckel_ 2012-12-10T12:56:14 < dongs> err 2012-12-10T12:56:27 < dongs> attn jef79m_lurking ^ 2012-12-10T12:56:31 < dongs> fucking gay tabcomplet 2012-12-10T12:58:11 < Laurenceb> heh i have some of those frsky receivers 2012-12-10T12:58:27 < Laurenceb> that looks like an avr 2012-12-10T12:58:38 < dongs> where, on esc? 2012-12-10T12:58:44 < dongs> yea avrturd 2012-12-10T12:59:15 < Laurenceb> im going to try running libflac on stm32 2012-12-10T12:59:19 < jaeckel_> hey dongs... don't wake me up pls... i'm at work ;) 2012-12-10T12:59:21 < dongs> why? 2012-12-10T12:59:26 < dongs> jaeckel_: lol rite sry. 2012-12-10T12:59:30 < Laurenceb> hes sleeping at work 2012-12-10T12:59:55 -!- jaeckel_ is now known as jaeckel 2012-12-10T13:04:29 < Laurenceb> looks like this has been done 2012-12-10T13:04:37 < Laurenceb> but its 700Kb of thumb2 2012-12-10T13:04:40 < Laurenceb> ewwww 2012-12-10T13:06:28 < dongs> haha 2012-12-10T13:07:14 < Laurenceb> apparently you can strip out embedded graphics, lyrics, artist etc 2012-12-10T13:07:21 < Laurenceb> and decoder is 40kb 2012-12-10T13:07:35 < Laurenceb> but encoder is going to be larger 2012-12-10T13:07:52 < Laurenceb> i was thinking for storing data on my logger 2012-12-10T13:08:22 < karlp> you're now recording acell + audio ALL THE TIME? 2012-12-10T13:08:31 < Laurenceb> yes 2012-12-10T13:08:35 < dongs> porn sounds? 2012-12-10T13:08:41 < Laurenceb> audio, 9dof imu and gps 2012-12-10T13:08:53 < Laurenceb> accel is sampled at 1.344ksps 2012-12-10T13:08:53 < dongs> wtf is this for again? 2012-12-10T13:09:01 < Laurenceb> vehicle fleet monitoring 2012-12-10T13:09:40 < Laurenceb> a kind of black box for each vehicle 2012-12-10T13:11:14 < dongs> Laurenceb: add wifi and dcmi and japs will buy it in droves as portable toilet recorders 2012-12-10T13:11:21 < Laurenceb> lol 2012-12-10T13:14:07 < Laurenceb> hmm looks like it needs quite a lot of ram too 2012-12-10T13:14:19 < Laurenceb> its been done on connectivity line F1 2012-12-10T13:14:30 < Laurenceb> but it doesnt look easy on f103 2012-12-10T13:14:35 < Laurenceb> i might us eWAV 2012-12-10T13:16:17 < dongs> lol lazy fuck 2012-12-10T13:17:31 < dongs> I cany copypaste this code easily so i just wont use i t 2012-12-10T13:17:43 < Laurenceb> heh 2012-12-10T13:19:01 < Laurenceb> http://code.google.com/p/stm32radio/source/browse/trunk/stm32radio_examples/examples/5_media_flac/Flac/flac.c?spec=svn94&r=94 2012-12-10T13:19:06 < Laurenceb> decode there 2012-12-10T13:20:23 < dongs> Laurenceb: did you see my ninja LGA inspection http://i.imgur.com/My6RY.jpg 2012-12-10T13:21:00 < Laurenceb> that would end up being 21KB of ram for my system 2012-12-10T13:21:15 < Laurenceb> dentistry xray? 2012-12-10T13:21:31 < Laurenceb> looks flac uses excessive memory 2012-12-10T13:21:37 < dongs> cuz its opensauce 2012-12-10T13:21:59 < dongs> ya rockcocks doesnt run on anything with < 1meg ram 2012-12-10T13:22:00 < dongs> i think 2012-12-10T13:22:15 < Laurenceb> yeah but they have their own flac lib 2012-12-10T13:22:19 < Laurenceb> thats only 20KB 2012-12-10T13:22:28 < Laurenceb> on CM3 2012-12-10T13:22:34 < Laurenceb> but.. decode only :( 2012-12-10T13:22:45 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-10T13:26:25 < Laurenceb> i think its wav tiem 2012-12-10T13:26:36 < Laurenceb> i have wav code written for avr 2012-12-10T13:35:14 < Laurenceb> https://groups.google.com/forum/?fromgroups=#!topic/ukhas/z5b7YAPSohs 2012-12-10T13:35:23 < Laurenceb> "** obviously attenuated to 10mW erp for flight." 2012-12-10T13:35:26 < Laurenceb> i lolled 2012-12-10T13:45:41 < karlp> is 10mW a legal limit? (that is routinely ignored?) 2012-12-10T13:46:45 < Laurenceb> yes 2012-12-10T13:54:50 < Laurenceb> lol i killed chibios 2012-12-10T13:55:02 < Laurenceb> read the wrong sort of mailbox from an isr 2012-12-10T13:57:39 -!- jef79m_lurking is now known as jef79m 2012-12-10T14:25:50 -!- jef79m is now known as jef79m_lurking 2012-12-10T14:36:51 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has joined ##stm32 2012-12-10T14:40:41 < dongs> about aidsfruit: 2012-12-10T14:40:41 < dongs> > let's put 3-4 pieces of shit together and call it success 2012-12-10T14:40:41 < dongs> > the next time some lunatic american decides to wipe out a classroom of kids with an uzi, they should reconsider and go 2012-12-10T14:40:44 < dongs> > hunting down these fucking tools who are polluting the gene pool with nonsense 2012-12-10T14:45:12 < baird> Meh. Who'll miss a classroom full of american kids. 2012-12-10T14:45:20 < dongs> noone 2012-12-10T14:46:39 < dongs> http://www.theregister.co.uk/2012/12/10/tor_admin/ 2012-12-10T14:46:39 < dongs> lawl 2012-12-10T14:47:49 < karlp> not much fun when the lawz just come and sieze everything in sight. 2012-12-10T14:48:13 < karlp> "you might use this, we're gonna take it all, just in case, hope we don't accidentally break anything whiel we're trying to make you look bad" 2012-12-10T14:48:16 < dongs> fag was a smoker, not a big loss 2012-12-10T14:50:18 < karlp> right. same for anyone taking more than 2 ibuprofen a week I guess 2012-12-10T15:00:07 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-10T15:00:32 < dongs> http://www.google.com/hostednews/afp/article/ALeqM5i9rLtza04k2niYafG0LjfJJUn42A?docId%3DCNG.a40dde863e604dfcc7dcfdfbcfbc2ba4.401 awesome trolling 2012-12-10T15:06:43 < baird> Current mcu project is making a commodore disk drive emulator. Needed 5v tolerant I/O, and not being ridiculously big.. ended up choosing an Arduino Pro Mini. :/ 2012-12-10T15:07:51 < zyp> ok 2012-12-10T15:07:55 < dongs> ... 2012-12-10T15:08:20 < dongs> SiLabs cortex-m stuff is 5V tolerant and you can also run its I/O at 5V 2012-12-10T15:08:56 < baird> Same with the disco boards that're piling up here. 2012-12-10T15:09:10 < dongs> you cant ahve them output 5V though. 2012-12-10T15:16:08 < baird> The IEC bus uses inverted wired-OR style signalling, and the TTL side of the hardware is 74LS based, so the full 5V isn't really needed. The input level was the concern. 2012-12-10T15:17:17 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2012-12-10T15:18:08 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-10T15:25:23 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 255 seconds] 2012-12-10T15:26:11 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-10T15:33:22 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-10T15:45:22 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-10T16:16:52 < dongs> http://industrial.panasonic.com/www-data/pdf/ATK0000/ATK0000CE28.pdf japan cant fucking write datasheets worth a fuck 2012-12-10T16:17:03 < dongs> 6x6mm square tactile button, "recommended pads" extend 10mm outside the case 2012-12-10T16:17:29 < dongs> i can only guess the 3.2mm pad width is actually 1.6mm 2012-12-10T16:19:56 < zyp> «with J-bent terminals» 2012-12-10T16:20:06 < zyp> so it extends outside to make contact with the side, I guess 2012-12-10T16:20:15 < dongs> not by 10mm 2012-12-10T16:20:25 < zyp> 10mm? 2012-12-10T16:20:36 < dongs> look at PWM land pattern 2012-12-10T16:20:59 < dongs> 3.2+3.6+3.2 2012-12-10T16:20:59 < dongs> thats 10mm 2012-12-10T16:21:58 < zyp> yes, and package is 6.6mm, so that's 1.7mm outside on either side 2012-12-10T16:22:21 < dongs> thats a lot. 2012-12-10T16:23:13 < dongs> http://i.imgur.com/xkDFG.png 2012-12-10T16:23:21 < dongs> "only 1.7mm" 2012-12-10T16:23:29 < zyp> :p 2012-12-10T16:23:45 < zyp> well, I dunno 2012-12-10T16:24:42 < dongs> im pretty sure they cocked up the 3.2 2012-12-10T16:24:42 < dongs> and it should be 1.6 2012-12-10T16:24:42 < dongs> cause then it looks sane 2012-12-10T16:24:42 < dongs> and only 8.4mm wide 2012-12-10T16:24:46 < zyp> maybe it's to get more solder paste, which will then climb up along the side of the J-thing during reflow 2012-12-10T16:25:40 < dongs> i dunno man 2012-12-10T16:26:57 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-10T16:29:58 < Laurenceb> dongs is such a troll 2012-12-10T16:30:46 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-10T16:32:10 < Laurenceb> even hates smokers 2012-12-10T16:32:21 < dongs> yeah smokers deserve hating 2012-12-10T16:32:39 < dongs> i feel so fucking dirty 2012-12-10T16:32:45 < dongs> 2 of my current projects rae tarduino-based' 2012-12-10T16:33:48 < Laurenceb> lulwut 2012-12-10T16:34:14 < Laurenceb> smoking is fun for trolling the man 2012-12-10T16:34:45 < dongs> noe 2012-12-10T16:40:37 < emeb_mac> *yawn* 2012-12-10T16:40:48 < zyp> well said 2012-12-10T16:41:07 < zyp> dongs, status on lpc shit? 2012-12-10T16:41:13 < emeb_mac> dongs is using arduino? the apocalyse is nigh. 2012-12-10T16:41:37 < gxti> lpc? 2012-12-10T16:41:49 < emeb_mac> linear predictive coding 2012-12-10T16:41:55 < gxti> k never mind 2012-12-10T16:42:03 < emeb_mac> either that, or NXP ARM processors. 2012-12-10T16:42:16 < gxti> yes that's more likely 2012-12-10T16:43:34 < Laurenceb> dongs is using arduino, working for a company that supports linux, and his trolling is inconsistent and random 2012-12-10T16:43:37 < Laurenceb> hes going mad 2012-12-10T16:44:11 < gxti> as long as he doesn't whine about it, whatevs 2012-12-10T16:44:12 < zyp> what's next? you starting to make shit that actually works? 2012-12-10T16:44:20 < gxti> psh 2012-12-10T16:44:25 < gxti> working is incidental 2012-12-10T16:44:26 < zyp> and with spaces! 2012-12-10T16:53:56 < emeb_mac> whoneedsspaces? 2012-12-10T16:54:22 < gxti> people programming in whitespace 2012-12-10T16:54:52 < gxti> but not perl 2012-12-10T16:55:07 < gxti> in fact i think it's a syntax error to use whitespace. 2012-12-10T16:55:57 < BrainDamage> everytime I see a perl script I am tempted to run an enthropy test to see if it is as random as it looks 2012-12-10T16:56:06 < BrainDamage> it's like interpreted line noise 2012-12-10T17:00:01 < emeb_mac> "there's more than one way to do it" 2012-12-10T17:00:36 < emeb_mac> every time I want to program in perl I need the camel book open on my lap. and I've been using it for 10+ years. 2012-12-10T17:00:41 < emeb_mac> not an intuitive language. 2012-12-10T17:02:53 -!- daku is now known as DaKu 2012-12-10T17:05:08 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-10T17:08:25 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-10T17:08:25 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-10T17:08:25 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-10T17:08:28 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-10T17:08:30 <+Steffanx> nu 2012-12-10T17:08:31 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-10T17:09:41 < emeb_mac> xi 2012-12-10T17:09:51 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2012-12-10T17:11:32 < BrainDamage> Steffanx: ν 2012-12-10T17:16:07 <+Steffanx> :) 2012-12-10T17:17:43 < Laurenceb> http://www.youtube.com/watch?feature=player_embedded&v=rO2TR_8jXPc 2012-12-10T17:18:42 < emeb_mac> +1 for newspaper holder 2012-12-10T17:19:54 < ja2> I love it. I need to build one. Now. 2012-12-10T17:19:56 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-10T17:21:47 <+Steffanx> Best link you EVER posted Laurenceb 2012-12-10T17:22:41 * emeb_mac senses sarcasm 2012-12-10T17:22:58 <+Steffanx> No, your sensor fails this time 2012-12-10T17:23:36 < emeb_mac> better get it to the sarcasm detector repairman. 2012-12-10T17:24:01 <+Steffanx> It's amazing to see a parrot drive a 'car' :D 2012-12-10T17:28:09 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-10T17:30:38 < jpa-> just a few days ago we saw dogs drive cars :) 2012-12-10T17:35:05 <+Steffanx> Monkey jpa- drives a car too? 2012-12-10T17:35:51 < jpa-> no he does not 2012-12-10T17:35:57 < jpa-> he is not as smart as parrots 2012-12-10T17:36:32 <+Steffanx> me neither 2012-12-10T17:37:54 <+Steffanx> Why drive a car when a parrot or dog can do it for you? 2012-12-10T17:38:33 < jpa-> my wife drives for me :) 2012-12-10T17:39:02 * gxti waits for someone to say "old" 2012-12-10T17:39:04 <+Steffanx> Is your wife the parrot or the dog? 2012-12-10T17:40:32 < gxti> as seems to be the tradition here anytime anyone posts any link, ever 2012-12-10T17:41:26 < jpa-> Steffanx: she's kind of pretty, so i guess the parrot 2012-12-10T17:41:57 <+Steffanx> That's only when the video is older than a month gxti 2012-12-10T17:42:02 <+Steffanx> or maybe two weeks 2012-12-10T17:42:55 < dongs> zyp, mergepal just came back from china and overloaded with aids. still waiting for something to panel with though. so, no status. 2012-12-10T17:43:10 < gxti> false, "old" may be posted in response to any link 2012-12-10T17:43:25 < zyp> ok 2012-12-10T17:44:14 < dongs> most hobbyists only order 2L shit and most company 4L is only full FR4 panels, such is life. 2012-12-10T17:44:43 <+Steffanx> And life is hard 2012-12-10T17:45:00 < dongs> waiting for that dude who called asking about 0.5mm bga to callback/submit stuff, thats the only one that I'm expecting at the moment. 2012-12-10T17:46:14 < dongs> k bedtime 2012-12-10T17:46:19 < dongs> finished routing tarduino proj#1 2012-12-10T17:51:38 <+Steffanx> gn 2012-12-10T17:53:43 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-10T17:58:23 < Laurenceb> need photos 2012-12-10T18:02:12 <+Steffanx> Too late 2012-12-10T18:04:22 < emeb> it's never too late 2012-12-10T18:04:55 -!- scrts [~quassel@unaffiliated/scrts] has quit [Ping timeout: 246 seconds] 2012-12-10T18:05:00 <+Steffanx> Maybe it is 2012-12-10T18:05:13 < emeb> too late to tell 2012-12-10T18:05:25 < Tectu> jpa-, you use ghdl with gtkwave, right? 2012-12-10T18:05:33 <+Steffanx> Zombies still don't exists and if they do they still have to get the skillz to take photos 2012-12-10T18:05:37 <+Steffanx> -s 2012-12-10T18:05:49 < jpa-> Tectu: yes 2012-12-10T18:06:02 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2012-12-10T18:06:05 < Tectu> jpa-, can I see your Makefile? 2012-12-10T18:06:34 < jpa-> https://github.com/PetteriAimonen/dso-quad-usb-analyzer/blob/master/fpga/Makefile here is one 2012-12-10T18:07:09 < jpa-> but when i want to see the signals i run the testbenches manually like ./tb_fifo --wave=foo.ghw ; gtkwave foo.ghw 2012-12-10T18:09:33 < Tectu> jpa-, am I right that GHDL is only for checking and simulation, not for actual synthesis and compilation? 2012-12-10T18:10:11 < jpa-> yeah 2012-12-10T18:10:26 < jpa-> (though it does compile the files for simulation, but yeah) 2012-12-10T18:13:00 < emeb> fwiw - I use Modelsim AE (Altera Edition). It's free, runs on Win or Linux and works for generic VHDL designs. 2012-12-10T18:13:40 < emeb> Just don't try to simulate designs with other mfgs pre-compiled libraries and it works fine. 2012-12-10T18:13:47 < Laurenceb> #define DBGMCU_APB1_FZ_DBG_TIM1_STOP ((uint32_t)0x00000001) 2012-12-10T18:13:52 < Laurenceb> ^lol 2012-12-10T18:14:01 < Laurenceb> tim1 is on apb2 on f4 2012-12-10T18:14:03 < emeb> that saved a lot of typing. 2012-12-10T18:14:07 < jpa-> emeb: have you figured out the command line interface so that you can easily run all testbenches automatically? 2012-12-10T18:15:07 < emeb> jpa-: you can invoke all the VHDL steps from the command line - compile, load, simulate, etc. just as from within vsim. 2012-12-10T18:15:23 < emeb> but I generally use "do" files within the vsim gui. 2012-12-10T18:15:26 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2012-12-10T18:15:40 < jpa-> yeah.. i never bothered to figure it out, ghdl seemed so much easier (and seems to give better error messages also) 2012-12-10T18:15:54 < Tectu> thank you jpa-, I'll take a look at this stuff 2012-12-10T18:16:11 < Tectu> just to be clear here: Am I allowed to copy and use parts of your makefile? 2012-12-10T18:16:18 < emeb> I looked at ghdl two years ago when getting started. Never got too far before my colleagues standardized on Modelsim. 2012-12-10T18:16:45 < jpa-> Tectu: sure sure, not much there 2012-12-10T18:16:51 <+Steffanx> I never heard of GHDL before :D 2012-12-10T18:17:03 < jpa-> emeb: modelsim is 100x faster, though :) 2012-12-10T18:17:55 < emeb> jpa-: yes - it screams, and the waveform viewer is quite good too. 2012-12-10T18:18:44 <+Steffanx> quite .. so it can be better? 2012-12-10T18:19:01 <+Steffanx> As in, it doesn't read your mind yet? 2012-12-10T18:19:04 < emeb> there's always room for improvement 2012-12-10T18:19:05 < Tectu> jpa-, ghdl seems to be quite big, it's compiling for like 15 minutes now 2012-12-10T18:19:09 < Tectu> aaand finished :D 2012-12-10T18:19:17 < jpa-> Tectu: i think it uses parts of gcc or something 2012-12-10T18:19:23 < Tectu> jpa-, gcc-ada 2012-12-10T18:19:29 < Tectu> since VHDL is based on ada 2012-12-10T18:19:44 < Tectu> the package for my OS (Arch linux) is 28.38MiB 2012-12-10T18:19:54 < emeb> that's tiny 2012-12-10T18:20:00 < jpa-> hmm, i wonder what freehdl is about 2012-12-10T18:20:14 <+Steffanx> That's excl. dependencies Tectu :P 2012-12-10T18:20:15 < Tectu> never heard of that before 2012-12-10T18:20:22 < Tectu> Steffanx, I know? 2012-12-10T18:21:19 <+Steffanx> Don't know? 2012-12-10T18:21:27 < Tectu> what's happening, Steffanx ? :D 2012-12-10T18:22:21 <+Steffanx> Whaaa 2012-12-10T18:22:34 <+Steffanx> ( /me continues conversation is reverse order ) 2012-12-10T18:22:46 < Tectu> :D 2012-12-10T18:22:55 < Tectu> jpa-, is $(GHDL_ARGS) somehow missing there? 2012-12-10T18:23:34 < jpa-> Tectu: well i haven't defined anything for that file, so it is empty 2012-12-10T18:24:28 < Tectu> oh, you can make emtpy variables which haven't even been defined in makefiles? 2012-12-10T18:24:30 < Tectu> didn't know 2012-12-10T18:24:31 < Tectu> sorry then :D 2012-12-10T18:27:14 < Thorn> http://researcher.ibm.com/researcher/view_project.php?id=2757 2012-12-10T18:27:14 < Tectu> hmm, seems like it does have trouble with libraries... (syntax check) file/board/DE_70_top.vhd:3:10: primary unit "std_logic_unsigned" not found in library "ieee" 2012-12-10T18:30:13 < jpa-> aaaargh 2012-12-10T18:30:22 < jpa-> don't use std_logic_arith 2012-12-10T18:30:23 < jpa-> ever 2012-12-10T18:31:06 < jpa-> use numeric_std 2012-12-10T18:47:08 < Tectu> jpa-, hmm 2012-12-10T18:47:15 < Tectu> jpa-, is that usual or just personal opinion? 2012-12-10T18:47:22 < jpa-> usual 2012-12-10T18:47:48 < jpa-> std_logic_unsigned makes it impossible or very difficult to use signed & unsigned in same file, and it is somewhat non-standard also 2012-12-10T18:49:49 < Tectu> jpa-, but wait, I don't get it 2012-12-10T18:50:07 < Tectu> quartus dosen't have problems using std_logic_unsigned 2012-12-10T18:50:21 < Tectu> how comes that ghdl does? 2012-12-10T18:50:24 < Tectu> it's the same library, no? 2012-12-10T18:51:10 < jpa-> each vhdl simulator comes with its own version of the standard libraries, of course 2012-12-10T18:51:32 < jpa-> the standard ones are very much compatible 2012-12-10T18:51:47 < jpa-> but std_logic_arith is non-standard 2012-12-10T18:51:58 < Tectu> where do you see std_logic_arith? 2012-12-10T18:52:00 < Tectu> it claims about std_logic_unsigned 2012-12-10T18:54:02 < Tectu> jpa-, it basically claims about this line: use IEEE.std_logic_UNSIGNED.ALL; 2012-12-10T18:54:17 < Tectu> I don't iknow yet about these IEEE libraries... how exactly can I fix this issue? 2012-12-10T19:01:24 <+Steffanx> Arh.. don't post things like that here 2012-12-10T19:01:28 <+Steffanx> Gives me nightmares 2012-12-10T19:02:06 < jpa-> Tectu: std_logic_unsigned is part of std_logic_arith; and AFAIK if you really wanted to use that shit, you should use std_logic_arith; first 2012-12-10T19:02:32 < jpa-> http://vhdlguru.blogspot.fi/2010/03/why-library-numericstd-is-preferred.html etc. 2012-12-10T19:03:38 < jpa-> maybe also http://vhdlguru.blogspot.fi/2010/03/migrating-from-stdlogicvector-to.html 2012-12-10T19:09:45 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-10T19:12:42 < jpa-> Tectu: and just because vhdl is case-insensitive doesn't mean you should randomly use upper and lower case :) 2012-12-10T19:22:22 < Tectu> jpa-, you think it's a case problem? 2012-12-10T19:22:54 < jpa-> no 2012-12-10T19:23:04 < jpa-> i just think IEEE.std_logic_UNSIGNED.ALL looks stupid 2012-12-10T19:23:39 < zyp> IeEe.StD_lOgIc_UnSiGnEd.AlL 2012-12-10T19:25:06 < jpa-> even that looks better ,) 2012-12-10T19:37:22 < Tectu> is it' «The driver hasn't been ported yet.» or «The driver hasen't been ported yet.» ? :x 2012-12-10T19:38:03 < jpa-> hasn't 2012-12-10T19:38:24 < Tectu> thanks 2012-12-10T19:38:34 * Tectu is doing a lot off topic here today, eh? 2012-12-10T19:39:56 < zyp> when are we ever on topic? :p 2012-12-10T19:40:00 <+Steffanx> Hmm, i see you have no idea what we normally talk about 2012-12-10T19:40:11 <+Steffanx> <= mr offtopic.. for sure 2012-12-10T19:40:17 <+Steffanx> and Laurenceb of course 2012-12-10T19:40:31 < zyp> Steffanx, you should start doing some stm32 stuff 2012-12-10T19:40:43 < BrainDamage> bah, I'm not even acknowledged here as blabber 2012-12-10T19:40:47 <+Steffanx> Nah, that takes more time that say a few things here 2012-12-10T19:41:39 <+Steffanx> and time is something i don't have 2012-12-10T19:45:21 < emeb> off-topic is our topic 2012-12-10T19:46:00 < Tectu> please update the topic. 2012-12-10T19:47:15 <+Steffanx> No, not everyone has to know 2012-12-10T19:47:45 < BrainDamage> then people wouldn't be lure here with the false promise of a topical channel 2012-12-10T19:47:50 < BrainDamage> lured* 2012-12-10T19:48:33 < Oldboy> freenode already has a social channel 2012-12-10T19:48:38 < Oldboy> ##electronics 2012-12-10T19:48:53 < BrainDamage> I think you mean antisocial 2012-12-10T19:48:55 < gxti> or antisocial depending on who's around 2012-12-10T19:49:02 < gxti> horr 2012-12-10T19:49:05 < gxti> hurr* 2012-12-10T19:50:39 < jpa-> we have flyback here also 2012-12-10T19:50:44 -!- Irssi: ##stm32: Total of 68 nicks [1 ops, 0 halfops, 2 voices, 65 normal] 2012-12-10T19:51:35 < jpa-> though i have him ignored so i don't know how much he assaults people here 2012-12-10T19:52:16 < zyp> he doesn't, he just goes on about shit nobody cares about 2012-12-10T19:52:41 < jpa-> good 2012-12-10T19:52:42 -!- barthess [~barthess@178.154.69.149] has joined ##stm32 2012-12-10T19:52:57 < jpa-> it's very annoying when his trolling drives good people away from a channel 2012-12-10T19:53:26 < gxti> i tried repeatedly to get across that for that channel to be useful it needed active moderation 2012-12-10T19:53:29 < gxti> oh well 2012-12-10T19:53:41 < Tectu> who's flyblack? 2012-12-10T19:53:54 < jpa-> we have izua, he comes and moderates once every few months ,) 2012-12-10T19:54:21 < gxti> nothing strenuous, just someone to yell at the aspies 2012-12-10T19:54:30 <+Steffanx> BrainDamage, ##c is antisocial 2012-12-10T19:54:34 < zyp> haven't seen izua around lately 2012-12-10T19:54:40 < gxti> all the ##language channels are terrible 2012-12-10T19:54:43 < zyp> I wonder if he ever got the board I sent him 2012-12-10T19:54:46 < gxti> the big ones at least 2012-12-10T19:54:50 < jpa-> ##vhdl is not that bad 2012-12-10T19:55:11 <+Steffanx> jpa- don't forget me.. i use my power sometimes :P 2012-12-10T19:55:13 < jpa-> but obviously any ##language channel gets plenty of newbies 2012-12-10T19:55:19 < jpa-> Steffanx: when was the last time? 2012-12-10T19:55:26 <+Steffanx> Uhm, last week? 2012-12-10T19:55:29 <+Steffanx> I kicked Laurenceb :P 2012-12-10T19:55:34 < jpa-> yeah, right. 2012-12-10T19:55:58 <+Steffanx> ? 2012-12-10T19:56:23 < zyp> I can testify as a witness that it did actually happen 2012-12-10T19:56:56 <+Steffanx> Don't remember why 2012-12-10T19:57:24 < zyp> because you were bored 2012-12-10T19:57:31 * emeb doesn't know what "kicked" means in IRC context. 2012-12-10T19:57:45 <+Steffanx> ok 2012-12-10T19:57:49 < Oldboy> this is just too tempting 2012-12-10T19:58:04 <+Steffanx> me neither emeb 2012-12-10T19:58:50 < emeb> so it's not just me showing my n00b. 2012-12-10T19:59:11 < emeb> but rather more general cluelessness. 2012-12-10T19:59:19 < Oldboy> my what a pretty n00b you have emeb 2012-12-10T19:59:37 < emeb> stop looking at my n00b Oldboy 2012-12-10T19:59:48 <+Steffanx> How's it with our mr ex-president btw Oldboy ? 2012-12-10T19:59:58 < Oldboy> stop creeping on me 2012-12-10T20:00:14 <+Steffanx> You like it 2012-12-10T20:09:01 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2012-12-10T20:09:53 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-12-10T20:32:33 < zyp> maybe time to do some usb again 2012-12-10T20:32:40 < emeb> \o/ 2012-12-10T20:33:02 < zyp> I should see if I can solve the fifo issue I found 2012-12-10T20:33:10 < emeb> fifo issue? 2012-12-10T20:34:41 < zyp> rxfifo randomly gets corrupted during MSC read 2012-12-10T20:35:04 < emeb> blame it on hardware. 2012-12-10T20:35:41 < zyp> well, I have some suspicions I want to check out 2012-12-10T20:52:23 < zyp> problem is readily reproduceable at least 2012-12-10T20:53:10 < emeb> yay - no heisenbugs 2012-12-10T21:07:57 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-10T21:15:27 -!- claude is now known as Claude 2012-12-10T21:21:32 < zyp> hmm, my changes doesn't seem to make a difference 2012-12-10T21:22:34 < emeb> tough bug to smash 2012-12-10T21:23:01 < zyp> yeah 2012-12-10T21:23:08 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-10T21:25:03 < emeb> possible it's DMA setup from some other periph? 2012-12-10T21:25:11 < emeb> I've seen that before. 2012-12-10T21:25:26 < zyp> no DMA enabled anywhere 2012-12-10T21:25:39 < zyp> cpu should be the only active master 2012-12-10T21:25:45 < emeb> so it's either the USB hardware, or some other part of you code. 2012-12-10T21:25:55 < jpa-> or race condition somewhere 2012-12-10T21:26:42 < zyp> well, I assume the hardware is fine, so it's probably me doing something somewhere that the hardware doesn't like 2012-12-10T21:27:26 < TitanMKD> warning sometimes during USB test my PC stopped the USB port ;) 2012-12-10T21:27:35 < TitanMKD> and it requires a reboot 2012-12-10T21:27:47 < TitanMKD> or change USB port ... 2012-12-10T21:28:09 < zyp> TitanMKD, please don't try to be helpful, you are not :) 2012-12-10T21:28:44 < TitanMKD> its just after even the plug event was not detected anymore and I was thinking USB was dead 2012-12-10T21:29:06 < zyp> I have this hooked up to a hardware usb analyzer, so I know for sure that the host is not the problem here 2012-12-10T21:29:15 < TitanMKD> ha ok ;) 2012-12-10T21:29:34 < zyp> this is a way deeper problem than «doesn't work» 2012-12-10T21:29:59 < TitanMKD> your problem is on which MCU ? 2012-12-10T21:30:06 < zyp> F4 2012-12-10T21:30:39 < TitanMKD> have you tested Chibios USB code it work pretty well for basic stuff 2012-12-10T21:30:56 < TitanMKD> at least for simple USB CDC 2012-12-10T21:31:04 -!- Claude is now known as claude 2012-12-10T21:31:13 < zyp> just please don't try to be helpful, you are being irrelevant :p 2012-12-10T21:32:00 < zyp> http://bin.jvnv.net/f/07v1X.png <- here's what is happening 2012-12-10T21:33:06 < zyp> that's the end of a mass storage read (64B packets), then a 13B status packet, and after that my stack goes on to receive next packet and crashes due to garbage in the rxfifo 2012-12-10T21:33:35 < zyp> meanwhile the host sends a new command (31B packet), but doesn't get any replies since the device crashed, thus the IN-NAKs 2012-12-10T21:34:39 < TitanMKD> if you are using DMA warning about DMA alignement size in buffer 2012-12-10T21:34:48 < TitanMKD> as there's an errata about that in F4 2012-12-10T21:34:54 < zyp> I'm not using DMA. 2012-12-10T21:35:12 < TitanMKD> ha ok no dma just polling 2012-12-10T21:35:12 < zyp> and everything is 32bit aligned anyway 2012-12-10T21:36:31 < TitanMKD> why the stack crash because of garbage in rxfifo ? 2012-12-10T21:36:39 < jpa-> zyp: so how random is this? 2012-12-10T21:37:29 < zyp> happens within a few seconds of trying to play a video file from this device 2012-12-10T21:37:36 < TitanMKD> the best is maybe to add watchpoint on the end of buffer 2012-12-10T21:38:06 < zyp> buffer? 2012-12-10T21:38:06 < jpa-> TitanMKD: the rxfifo on F4 is not that simple i'm afraid 2012-12-10T21:38:18 < TitanMKD> just isolate the buffer using MPU 2012-12-10T21:38:20 < jpa-> and this bug is probably something neither of us can help with :D 2012-12-10T21:38:32 < TitanMKD> if their is an access out of buffer exception happen 2012-12-10T21:38:45 < zyp> TitanMKD, the fifo buffer is internal to the usb module, it's not memory mapped 2012-12-10T21:39:02 < TitanMKD> i was thinking it was in your buffer ok 2012-12-10T21:39:08 < zyp> and watchpoints/mpu only affects cpu accesses anyway, not hardware accesses 2012-12-10T21:40:11 < zyp> what I'm thinking about doing is adding a check for rxfifo level while responding to the write and triggering a breakpoint from code 2012-12-10T21:40:36 < TitanMKD> and which type of crash it does ? 2012-12-10T21:40:45 < zyp> huh? 2012-12-10T21:41:05 < TitanMKD> yes when you receive the 31bytes and timeout ... 2012-12-10T21:41:21 < TitanMKD> your embedded code is in exception handler ? 2012-12-10T21:41:24 < zyp> ah, it varies a bit depending on the garbage 2012-12-10T21:42:24 < zyp> http://cgit.jvnv.net/laks/tree/usb/dwc_otg.h#n20 <- the garbage is read from GRXSTSP here 2012-12-10T21:43:06 < zyp> which is supposed to contain length and endpoint number for the received packet 2012-12-10T21:43:29 < zyp> so it usually goes on to access some invalid memory and hardfault 2012-12-10T21:43:57 < TitanMKD> ha status returned is buggy 2012-12-10T21:44:14 < zyp> yes, because status is stored in the fifo along with the packet itself 2012-12-10T21:44:22 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has quit [Ping timeout: 246 seconds] 2012-12-10T21:45:01 < TitanMKD> are you sure of the code of your class 2012-12-10T21:45:26 < TitanMKD> maybe there is an overflow and uint32_t status = otg.reg.GRXSTSP => does not read in otg.reg.GRXSTSP but in an other addr and return garbage 2012-12-10T21:45:27 < zyp> sure of what? 2012-12-10T21:45:39 < zyp> heh 2012-12-10T21:45:45 < TitanMKD> yes ;) 2012-12-10T21:45:49 < zyp> now you're being irrelevant again. 2012-12-10T21:46:01 < TitanMKD> like the code is overwritten because of buffer overflow 2012-12-10T21:46:07 < TitanMKD> i already see that 2012-12-10T21:46:30 < TitanMKD> and with C++ class i imagine the code is a real mess 2012-12-10T21:46:42 < TitanMKD> with tons of pointers everywhere 2012-12-10T21:46:49 < zyp> now you're being very irrelevant. 2012-12-10T21:47:10 < TitanMKD> for driver i will really avoid C++ ;) 2012-12-10T21:47:14 < zyp> ok 2012-12-10T21:47:19 < jpa-> great for you :) 2012-12-10T21:47:24 < TitanMKD> at least to know the mapping 2012-12-10T21:47:48 <+Steffanx> :D 2012-12-10T21:48:02 < TitanMKD> send me the .elf with debug symbols to check 2012-12-10T21:48:10 < TitanMKD> maybe it's a C++ bug ;) 2012-12-10T21:48:27 < zyp> heh, check what? 2012-12-10T21:48:29 < TitanMKD> Advise is NEVER do C++ for critical stuff ;) 2012-12-10T21:48:44 <+Steffanx> /kick TitanMKD :P 2012-12-10T21:48:52 < TitanMKD> 2nd Advise DRIVER shall be always C code ;) 2012-12-10T21:49:06 < jpa-> TitanMKD: cargo cult much? 2012-12-10T21:49:09 < TitanMKD> imagine your setup_buff overflow what happen ? 2012-12-10T21:49:47 < jpa-> in fact drivers are an excellent place for C++, because they map reasonably to objects and also have a lot of internal state 2012-12-10T21:49:52 < TitanMKD> you have allocated it in STACK ;) 2012-12-10T21:49:55 < zyp> TitanMKD, but the fifo is managed by verilog code and not C++ code, so you have to blame verilog! 2012-12-10T21:50:21 < TitanMKD> but maybe it's not related to F4 HW at all 2012-12-10T21:50:24 < jpa-> TitanMKD: i bet he actually allocates the USB_otg object statically 2012-12-10T21:50:28 < zyp> TitanMKD, no, it's allocated from .bss 2012-12-10T21:50:34 < zyp> sorry, .data 2012-12-10T21:50:36 < TitanMKD> ha bss is better 2012-12-10T21:50:56 < TitanMKD> are you sure the stack does not grow slowly until this bug appear ? 2012-12-10T21:51:03 < zyp> yes 2012-12-10T21:51:24 < TitanMKD> last option is no C++ bug and HW bug in F4 ;) 2012-12-10T21:51:45 < TitanMKD> maybe add some delay between each packet to check if the error still happen 2012-12-10T21:51:46 < jpa-> the sound of zyp grinding his teeth.. i can hear it all the way here! 2012-12-10T21:51:54 < zyp> :p 2012-12-10T21:52:04 < TitanMKD> I solved a bug on I2C on PIC18F like that ;) 2012-12-10T21:52:09 < zyp> hmm 2012-12-10T21:52:15 < TitanMKD> adding 1 nop solved the IRQ crash ;) 2012-12-10T21:52:30 < zyp> that was actually a worthwhile idea 2012-12-10T21:52:38 -!- mode/##stm32 [+o zyp] by ChanServ 2012-12-10T21:52:41 < TitanMKD> because the code was too fast ;) (coded in ASM ;) 2012-12-10T21:52:42 <@zyp> but it's going to absolutely thrash performance 2012-12-10T21:52:54 < TitanMKD> just add small delay to check if that fix ;) 2012-12-10T21:53:26 <@zyp> how small, and where? :p 2012-12-10T21:53:30 < TitanMKD> maybe you enter in race conditions because of internal FIFO on tight timing 2012-12-10T21:54:09 < TitanMKD> just some "nop" (like 10) in write & read 2012-12-10T21:54:51 < TitanMKD> does your code work on a simple STM32F4 Discovery ? 2012-12-10T21:54:58 < TitanMKD> as i could test it myself 2012-12-10T21:55:26 <@zyp> it needs an SD card 2012-12-10T21:56:20 <@zyp> so if you have a way to hook that up, it should work 2012-12-10T21:57:00 < TitanMKD> hmm will be better with USB massstorage 2012-12-10T21:57:11 <@zyp> huh? 2012-12-10T21:57:27 < TitanMKD> yes as i have no SD card on STM32F4 discovery 2012-12-10T21:57:30 <@zyp> this is mass storage. 2012-12-10T21:57:37 < TitanMKD> will need to mount something 2012-12-10T21:57:54 <@zyp> it's pretty much an SD card reader :p 2012-12-10T21:58:00 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has joined ##stm32 2012-12-10T21:58:05 < TitanMKD> yes but your code does not manage it 2012-12-10T21:58:13 <@zyp> manage what? 2012-12-10T21:59:08 < TitanMKD> your code read data from SDcard and write them to USb massstorage ? 2012-12-10T21:59:17 <@zyp> yes. 2012-12-10T21:59:30 <@zyp> that's the whole point. 2012-12-10T21:59:38 < TitanMKD> maybe it can be modified to simulate the SDCard 2012-12-10T22:00:12 < TitanMKD> just writing data with a fixed conf 2012-12-10T22:01:00 < TitanMKD> if you have time to modify it to simulate a little file embedded in F4 internal flash it will be a must to test on STM32F4 Discovery without modification 2012-12-10T22:01:30 < jpa-> i find it unlikely that independent testing would help :) 2012-12-10T22:01:34 <@zyp> well, the thing is that little files seems to work fine :p 2012-12-10T22:01:49 < TitanMKD> or a big file like 100KB ? 2012-12-10T22:01:58 < TitanMKD> there's 2MB of flash IIRC in F4 2012-12-10T22:02:07 < jpa-> emulating reads full of zeroes would allow a simple dd test, though 2012-12-10T22:02:20 <@zyp> true enough 2012-12-10T22:02:23 < TitanMKD> yes or just 0 values yes 2012-12-10T22:02:30 < TitanMKD> in a little buffer 2012-12-10T22:02:32 < jpa-> (or counter values, for sector number) 2012-12-10T22:03:13 < TitanMKD> the aim is just to reproduce the crash easily and without any external hw latency ... 2012-12-10T22:03:26 < TitanMKD> as SDcard is really random the access is not always the same 2012-12-10T22:03:29 <@zyp> http://cgit.jvnv.net/laks_demo/tree/main.cpp?h=temp_usb_msc <- go ahead and try if you want 2012-12-10T22:03:31 -!- Laurenceb_ [~Laurence@host86-143-4-133.range86-143.btcentralplus.com] has joined ##stm32 2012-12-10T22:04:00 < TitanMKD> grr i really hate such stuff (9 << 4) | (0 << 1) | (1 << 0); 2012-12-10T22:04:13 <@zyp> ok 2012-12-10T22:04:14 < TitanMKD> #define are good for that with some little comments ;) 2012-12-10T22:04:22 < TitanMKD> and using BIT def ;) 2012-12-10T22:04:28 <@zyp> no, define is horrible for that 2012-12-10T22:04:33 < jpa-> it's fine if you have the reference manual open on another screen 2012-12-10T22:04:36 <@zyp> if you need to name shit like that, use enums 2012-12-10T22:05:03 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-10T22:05:12 < TitanMKD> yes or enum but for ORed value define is better 2012-12-10T22:05:19 <+Steffanx> TitanMKD, when you adding ;) i keep thinking you are not serious 2012-12-10T22:05:20 < jpa-> IMO even just 0x12431234 is fine for more complex stuff, because writing it out would be 10x longer 2012-12-10T22:05:27 <+Steffanx> *keep adding 2012-12-10T22:05:36 < jpa-> Steffanx: i keep hoping that he is not serious 2012-12-10T22:05:40 <+Steffanx> :D 2012-12-10T22:06:51 < TitanMKD> anyway i think to easily solve this problem as i really doubt it's HW related you need to simplify the code to obtain the crash 2012-12-10T22:07:27 < jpa-> the 10 basic debugging techniques zyp never knew about! 2012-12-10T22:07:44 < emeb> how did he ever get this far. 2012-12-10T22:08:00 < TitanMKD> a trace will be a must by tracing all bus write/read access in addition to code execution trace 2012-12-10T22:08:16 <@zyp> TitanMKD, ok, then prove it by simplifying the code and reproduce the crash on your side, while I continue with what I'm doing 2012-12-10T22:08:55 < piele> quit 2012-12-10T22:08:58 -!- piele [~Unknown@bakzeil.creativeserver.net] has quit [Quit: leaving] 2012-12-10T22:09:39 <+Steffanx> ( bye ) 2012-12-10T22:09:42 <@zyp> TitanMKD, by the way, did you catch the part about the fifo memory not being accessible by anything else but the usb core? how can the problem be anywhere else than the usb core then? :) 2012-12-10T22:12:03 < TitanMKD> maybe a side effect of SDIO with USB ;) 2012-12-10T22:12:30 <@zyp> hmm 2012-12-10T22:12:40 < jpa-> zyp: you are probably aware about the errata entry? "Data in RxFIFO is overwritten when all channels are disabled simultaneously" 2012-12-10T22:13:38 -!- barthess [~barthess@178.154.69.149] has quit [Quit: Leaving.] 2012-12-10T22:13:39 <@zyp> yes, but it's not relevant 2012-12-10T22:13:53 < jpa-> ok, i suspected so :) 2012-12-10T22:14:30 <@zyp> and I think that only applies to host mode 2012-12-10T22:14:42 < TitanMKD> zyp what happen if your read again otg.reg.GRXSTSP when the status is trashed ? 2012-12-10T22:15:28 <@zyp> jpa-, either way, there is no way the rx fifo are getting full 2012-12-10T22:15:48 <@zyp> it's already way huger than it needs to be 2012-12-10T22:16:29 <@zyp> and it should be empty 2012-12-10T22:16:45 <@zyp> hmm, no 2012-12-10T22:16:49 <@zyp> it should not 2012-12-10T22:17:14 <@zyp> it should contain a single valid status word 2012-12-10T22:18:06 <@zyp> anyway, I tried adding a 1ms delay between packets 2012-12-10T22:18:24 <@zyp> besides slowing down the transfer rate to <64kB/s, it didn't do shit 2012-12-10T22:19:51 < jpa-> so how long did it take to crash? 2012-12-10T22:20:14 < jpa-> considering the packet rate dropped so much, i would expect much longer 2012-12-10T22:20:23 -!- rlc_ [63ed50cf@gateway/web/freenode/ip.99.237.80.207] has joined ##stm32 2012-12-10T22:20:33 < jpa-> otherwise it may in fact be a deterministic bug after all 2012-12-10T22:20:43 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-10T22:20:52 < jpa-> (which rules out a bunch of causes and points to others) 2012-12-10T22:20:53 <@zyp> longer in time, about the same amount of read commands 2012-12-10T22:21:04 < jpa-> ok :/ 2012-12-10T22:21:21 < rlc_> I'm having problem with the I2C library. 2012-12-10T22:21:42 < jpa-> *the* I2C library? stdperiph? 2012-12-10T22:22:16 < rlc_> On the stm32f4 discovery board 2012-12-10T22:22:35 < rlc_> I included stm32f4xx_I2C.h 2012-12-10T22:22:40 < jpa-> so stdperiph 2012-12-10T22:22:47 * jpa- runs away 2012-12-10T22:23:19 < TitanMKD> as workaround you could also detect the invalid status and remove all data from the buffer 2012-12-10T22:23:20 < rlc_> and added the file stm32f4xx.I2C.c in the project 2012-12-10T22:23:38 < rlc_> but I'm getting this message 2012-12-10T22:23:39 < TitanMKD> but anyway if the status is random maybe it's not detectable :( 2012-12-10T22:23:47 < rlc_> Warning[Pe223]: function "RCC_APB1PeriphClockCmd" declared implicitly C:\Users\Alex\Desktop\STM32F4 Discovery - I2C Master Test\main.c 9 2012-12-10T22:24:03 <@zyp> jpa-, compare http://bin.jvnv.net/f/Lf5xQ.png with http://bin.jvnv.net/f/2zCGY.png 2012-12-10T22:24:11 <@zyp> that's with and without delay, respectively 2012-12-10T22:24:30 <@zyp> as evident by the timestamps :) 2012-12-10T22:24:53 < TitanMKD> have you tested a check of OTG_FS_GINTSTS before to read GRXSTSP ? 2012-12-10T22:25:03 < TitanMKD> as maybe it is a spurious IRQ ... 2012-12-10T22:25:12 < TitanMKD> it's why you read invalid data 2012-12-10T22:25:14 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-12-10T22:25:32 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-10T22:25:37 < rlc_> Did I forget to add something? 2012-12-10T22:25:37 <@zyp> TitanMKD, of course, it's only reading GRXSTSP if the RXFLVL bit in GINTSTS is set 2012-12-10T22:27:17 < TitanMKD> ha yes 2012-12-10T22:28:19 < TitanMKD> and maybe a race condition on the reg GINTSTS ? 2012-12-10T22:28:46 < TitanMKD> try to read it 3 times and if 3 sucessives values are same keep the value for example ;) 2012-12-10T22:28:52 <@zyp> no, that's not possible 2012-12-10T22:28:54 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-10T22:29:27 <@zyp> anyway, what happened to you going to test my code? 2012-12-10T22:30:01 <@zyp> if you have any suggestions, please download my code and test them yourself 2012-12-10T22:30:15 < TitanMKD> i'm ready if you give me ready to test as i have no time to rewrite all the stuff ... 2012-12-10T22:32:15 <@zyp> you don't have to rewrite anything, you can just comment out the content in SD_driver::enable(), SD_driver::read_block() and SD_driver::write_block() 2012-12-10T22:32:31 <@zyp> or just put a return in the top so they don't do anything 2012-12-10T22:33:12 <@zyp> then all reads will just read whatever random contents are present in sd_buf 2012-12-10T22:34:03 <@zyp> if you don't have time to even do that, you're not going to have time to solve this problem :p 2012-12-10T22:34:05 < TitanMKD> and where is the whole makefile ;) 2012-12-10T22:34:24 < TitanMKD> i speak about something ready to use 2012-12-10T22:34:59 <+Steffanx> scons 2012-12-10T22:35:04 <@zyp> I don't use outdated stuff like that, the makefile is replaced by the sconstruct that's found in the same repo :p 2012-12-10T22:35:05 < TitanMKD> when i see all this C++ i'm not really confident in the whole project especially C++11 !! 2012-12-10T22:35:10 < TitanMKD> which is really beta 2012-12-10T22:35:38 <@zyp> I'm so beta, I used C++11 before it was cool! 2012-12-10T22:35:39 < TitanMKD> the question is why to use class just to declare some variables !! 2012-12-10T22:35:51 < TitanMKD> C++ have really no interest in driver ! 2012-12-10T22:36:06 <+Steffanx> déjà vu 2012-12-10T22:36:08 < TitanMKD> how many instance of RCC you will build ;) 2012-12-10T22:36:26 <@zyp> ok, I'll just go ahead and rewrite everything to PHP 2012-12-10T22:36:28 <+Steffanx> I? 1.. you 2900 2012-12-10T22:36:47 < TitanMKD> C++ is good for windows or high level stuff not for embedded stuff ;) 2012-12-10T22:37:31 <@zyp> ok, I'll bite; why? 2012-12-10T22:40:11 < TitanMKD> and why to rewrite STANDARD makefile in a python stuff 2012-12-10T22:40:44 <+Steffanx> because we all love Guido van Rossum 2012-12-10T22:42:40 <@zyp> TitanMKD, if you are not interested in coming with well founded arguments for why what I'm doing is dumb, I am not interested in continuing this conversation 2012-12-10T22:46:46 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-10T22:47:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-10T22:56:29 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has left ##stm32 ["Leaving"] 2012-12-10T22:57:43 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has joined ##stm32 2012-12-10T23:00:30 < baird> Who was it whinging about trying to get a small C++ runtime a few days ago? 2012-12-10T23:05:29 < emeb> what's the problem? zyp's C++ programs have a smaller footprint than most of my StdPeriph stuff. 2012-12-10T23:06:00 < Tectu> jpa-, can I ask you a ghdl related question? 2012-12-10T23:07:10 <@zyp> emeb, he's probably refering to jpa- talking about getting a small STL 2012-12-10T23:07:51 -!- jef79m_lurking is now known as jef79m 2012-12-10T23:08:41 < emeb> zyp: sounds like a chore. 2012-12-10T23:09:16 <+Steffanx> baird, we have zlog :) 2012-12-10T23:09:30 <@zyp> ok, now this is getting interesting 2012-12-10T23:09:58 <@zyp> found out that I'm getting some problems earlier, that go masked because they are harmless 2012-12-10T23:10:40 <@zyp> http://paste.jvnv.net/view/XjOwj 2012-12-10T23:12:07 <@zyp> http://bin.jvnv.net/f/yslxP.png <- and matching trace 2012-12-10T23:15:36 <@zyp> ooh 2012-12-10T23:16:00 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-10T23:16:12 <@zyp> 5121 RXFLVL = 0x10, GRXSTSR = 0x860001 00000010 00860001 2012-12-10T23:16:15 <@zyp> 5121 Writing, ep=1, len=64 00000001 00000040 2012-12-10T23:16:18 <@zyp> 5121 RXFLVL = 0x10, GRXSTSR = 0x0 00000010 00000000 2012-12-10T23:16:21 <@zyp> 5121 RXFLVL set but garbage in GRXSTSR! 00000000 00000000 2012-12-10T23:16:29 <@zyp> the first line there is valid, the third line should be equal 2012-12-10T23:17:35 <@zyp> so the data present in rxfifo is somehow being corrupted at some point during writing of the packet 2012-12-10T23:17:42 <@zyp> (writing to txfifo) 2012-12-10T23:20:45 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Quit: my exit] 2012-12-10T23:22:31 < emeb> dongsboards and OSHpark arrived simultaneously. 2012-12-10T23:26:24 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-10T23:29:24 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2012-12-10T23:42:24 <@zyp> this behavior now seem to be fully deterministic, I just don't know what is causing it 2012-12-10T23:43:06 <@zyp> but the most suspicious part is that it happens on the first 64B (MPS) write 2012-12-10T23:46:15 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has quit [Quit: Leaving.] 2012-12-10T23:52:55 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-10T23:57:11 -!- jef79m is now known as jef79m_lurking --- Day changed Tue Dec 11 2012 2012-12-11T00:04:48 -!- rlc_ [63ed50cf@gateway/web/freenode/ip.99.237.80.207] has quit [Quit: Page closed] 2012-12-11T00:24:29 -!- DaKu is now known as daku 2012-12-11T00:26:03 < karlp> personally I have more of an issue with titanmkd's decrees on the one true gospel of everything. 2012-12-11T00:28:58 < karlp> more importantly, what have I forgotten on this? http://uploads.oshpark.com/uploads/project/top_image/HTVOsxyB/large_i.png 2012-12-11T00:29:14 < karlp> I should probably make some text bigger 2012-12-11T00:32:25 < karlp> hmm, might put some jumpers for measuring current too... 2012-12-11T00:38:12 < emeb> what's it for? 2012-12-11T00:39:04 < karlp> wireless sense node 2012-12-11T00:39:15 < karlp> two headphone jack pobes, and a local temp/humi sensor 2012-12-11T00:39:54 < karlp> size is for a 2xAA battery case on the back 2012-12-11T00:40:45 < karlp> U2 is a mrf24j40 module 2012-12-11T00:41:49 < Tectu> I guess many peopel here use gtkwave? 2012-12-11T00:42:18 < Tectu> is there a way to store the current "profile"? As in when I have arranged my signals etc, so I can open it later on again without needing to arrange them all again? 2012-12-11T00:45:12 < karlp> thanks for the rubber duck debugging :) (I'll improve the silk and add an easier way to measure current) 2012-12-11T00:45:50 < karlp> hey emeb I take it you use more "serious" connectors than 3.5mm stereo headphone scokets on your stuff? 2012-12-11T00:46:07 < emeb> karlp: "serious"? 2012-12-11T00:46:10 < karlp> I've gone back and forth a bit on those, with some different footprints. 2012-12-11T00:46:24 < emeb> my dev boards use plain smd 3.5mm jacks 2012-12-11T00:46:31 < karlp> oh, 2012-12-11T00:46:40 < karlp> you're euro rack stuff, what does it use? 2012-12-11T00:46:47 < karlp> 1/4" mono jacks? 2012-12-11T00:47:01 < emeb> oh - the production stuff is genuine 1/4" thru-hole 2012-12-11T00:47:09 < emeb> for 5U format 2012-12-11T00:47:09 < karlp> right. 2012-12-11T00:47:16 < karlp> these aren't even audio 2012-12-11T00:47:22 < emeb> and euro is 3.5mm thru-hole 2012-12-11T00:49:02 < emeb> dongsboards vs OSHpark: http://i.imgur.com/IZDYh.jpg 2012-12-11T00:49:41 <@zyp> nice 2012-12-11T00:50:04 < emeb> the silk on dongs' stuff is smoother 2012-12-11T00:50:15 <+Steffanx> That's "just it"? 2012-12-11T00:50:31 < emeb> OSHpark has a strange diagonal raster on it too. 2012-12-11T00:51:14 <+Steffanx> And green > purple :) 2012-12-11T00:51:29 -!- jef79m_lurking is now known as jef79m 2012-12-11T00:52:33 <+Steffanx> It it me or are the pads on the osh one smaller? 2012-12-11T00:52:54 < emeb> shouldn't be - exact same gerbers 2012-12-11T00:52:59 <@zyp> just you 2012-12-11T00:53:02 < emeb> unless they did some kinda post-processing. 2012-12-11T00:54:13 < emeb> should have parts to finish those up on Thurs. 2012-12-11T00:57:33 -!- jef79m is now known as jef79m_lurking 2012-12-11T01:00:29 <@zyp> by the way, what's the price of F3 compared to F1? 2012-12-11T01:01:00 <@zyp> would the price be a compelling reason to still choose F1 for new designs if one didn't need the FPU? 2012-12-11T01:01:21 -!- mode/##stm32 [-o zyp] by zyp 2012-12-11T01:01:21 <+Steffanx> emeb, i've seen some very fucked up pcb from oshpark, which included fuckup pads 2012-12-11T01:01:33 <+Steffanx> pcbs 2012-12-11T01:01:41 < Laurenceb_> zyp has ops?! 2012-12-11T01:01:43 < emeb> Steffanx: :O 2012-12-11T01:01:45 < Laurenceb_> uh oh 2012-12-11T01:01:51 < zyp> dunno, I apparently had 2012-12-11T01:02:09 <+Steffanx> *sssh* 2012-12-11T01:03:16 <+Steffanx> but i think they solved that issues, so no worries emeb :P 2012-12-11T01:03:50 < emeb> zyp: stm32f373cc = $6.28 @ DK, stm32F103cb = $6.78 @ DK 2012-12-11T01:04:25 < emeb> F3 has fpu, more SRAM, costs $0.50 less 2012-12-11T01:04:32 < zyp> and sane GPIO 2012-12-11T01:04:33 < zyp> :p 2012-12-11T01:04:35 < ds2> is that the same package? 2012-12-11T01:04:38 < emeb> yep 2012-12-11T01:04:47 < emeb> 48lqpf 2012-12-11T01:04:55 < zyp> the first c is 48-pin 2012-12-11T01:04:56 < emeb> lysdexia 2012-12-11T01:05:07 < ds2> is the F3 available with 1M Flash and FSMC in a 1cm x 1cm package? :D 2012-12-11T01:05:13 < emeb> I wish 2012-12-11T01:05:17 < zyp> *yawn* 2012-12-11T01:05:17 < emeb> but no 2012-12-11T01:05:22 < ds2> F1 is 2012-12-11T01:05:25 <+Steffanx> 1M Flash who needs that? :P 2012-12-11T01:05:35 <+Steffanx> You only get to that when you use C++ 2012-12-11T01:05:42 < zyp> oh yeah 2012-12-11T01:05:43 <+Steffanx> And C++ shouldn't be used for that 2012-12-11T01:06:09 < emeb> apparently C++ is deprecated for embedded. 2012-12-11T01:06:21 <+Steffanx> embedded is deprecated .. 2012-12-11T01:06:35 <+Steffanx> I mean the low hw stuff 2012-12-11T01:06:38 < zyp> my msc stuff has apparently grown to over 10k flash now 2012-12-11T01:06:39 <+Steffanx> stm32 etc. that is 2012-12-11T01:06:44 < zyp> it's even closer to 11k than 10k 2012-12-11T01:06:48 < zyp> I better port it to C 2012-12-11T01:07:40 < emeb> that'll fix it 2012-12-11T01:07:49 < emeb> use StdPeriph for best results 2012-12-11T01:08:34 <+Steffanx> And you need sw floating point stuff 2012-12-11T01:08:39 < zyp> :) 2012-12-11T01:09:31 < emeb> and libc 2012-12-11T01:09:52 <+Steffanx> btw what happened here emeb ? http://www.naffets.nl/share//a-20121211-000941.jpg 2012-12-11T01:10:20 < emeb> that must be reflections 2012-12-11T01:10:21 <+Steffanx> http://www.naffets.nl/share//a-20121211-001007.jpg (without the crappy compression) 2012-12-11T01:10:51 < emeb> holding the camera parallel to the surface of the boards 2012-12-11T01:12:34 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2012-12-11T01:15:46 < zyp> you need to get some figures so you can jump on the trend dongs started 2012-12-11T01:16:03 < emeb> whut? 2012-12-11T01:16:22 <+Steffanx> You mean: wat? 2012-12-11T01:16:38 < emeb> what figures? what trend? 2012-12-11T01:17:37 < zyp> http://abusemark.com/store/images/stm32_dev.jpg <- dongs posted this once 2012-12-11T01:17:46 <+Steffanx> :D 2012-12-11T01:17:54 < zyp> http://bin.jvnv.net/f/xlA5N.JPG <- and I answered with this 2012-12-11T01:17:58 < zyp> now it's your turn 2012-12-11T01:18:44 <+Steffanx> It has to be something very American, so you only choice is something with a hamburger 2012-12-11T01:18:53 <+Steffanx> *your 2012-12-11T01:21:35 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-11T01:22:54 < emeb> Steffanx ragequits 2012-12-11T01:23:06 < emeb> zyp: how about this: http://i.imgur.com/qGaGP.jpg 2012-12-11T01:23:23 < zyp> :D 2012-12-11T01:37:30 -!- jef79m_lurking is now known as jef79m 2012-12-11T01:46:54 -!- Laurenceb_ [~Laurence@host86-143-4-133.range86-143.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2012-12-11T01:55:39 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-11T01:56:51 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-11T01:58:15 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Client Quit] 2012-12-11T02:00:39 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-11T02:05:44 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-11T02:21:14 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 240 seconds] 2012-12-11T02:31:16 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-11T02:32:47 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 260 seconds] 2012-12-11T02:34:25 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-11T03:24:21 < dongs> haha 2012-12-11T03:25:19 < emeb> good morning dongs 2012-12-11T03:26:12 < emeb> dongs - got boards today http://i.imgur.com/IZDYh.jpg 2012-12-11T03:27:36 < dongs> < emeb> dongsboards vs OSHpark: http://i.imgur.com/IZDYh.jpg 2012-12-11T03:27:49 < emeb> yup 2012-12-11T03:27:52 < dongs> so poorly focused 2012-12-11T03:28:14 < emeb> bad light - slow shutter 2012-12-11T03:28:38 < dongs> ya 2012-12-11T03:28:43 < dongs> i forgot to tell them to make USB hole oval 2012-12-11T03:28:54 < emeb> np - works fine as-is 2012-12-11T03:29:01 < dongs> ya it does, but ugly :) 2012-12-11T03:29:09 < emeb> whatevs. :) 2012-12-11T03:55:42 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 250 seconds] 2012-12-11T03:57:39 < ds2> anyone know what's the URL for zyp's USB stuff? 2012-12-11T03:57:51 < dongs> should be somewehrei n laks, right 2012-12-11T03:57:57 < dongs> http://cgit.jvnv.net/laks/ 2012-12-11T03:57:59 < dongs> or somewhere around there 2012-12-11T03:58:12 < ds2> ok, thanks 2012-12-11T04:03:38 < ds2> yikes C++ 2012-12-11T04:04:00 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 2012-12-11T04:04:16 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-11T04:12:27 < dongs> lo 2012-12-11T04:12:41 < dongs> not only yikes C ++, yikes C++11 or some other shit noone elses uses 2012-12-11T04:13:38 < ds2> seems like it 2012-12-11T04:13:53 < ds2> seems like only free sample USB HID code is from ST 2012-12-11T04:14:11 < dongs> ive played with keil USB lib, seems to be pretty easy 2012-12-11T04:14:22 < dongs> keil-only of course. 2012-12-11T04:14:36 < ds2> prefer GCC toolchain 2012-12-11T04:23:22 < emeb> dongs: ds2: zyps laks stuff actually doesn't _need_ C++11 - works fine with gcc 4.6 if you disable the checks for 11. 2012-12-11T04:23:32 < dongs> http://www.ebay.com/itm/300811570785 anyoen want a new phone 2012-12-11T04:23:38 < dongs> emeb: sure sure. 2012-12-11T04:24:02 < emeb> smokin' deal on that HTC 2012-12-11T04:25:55 < ds2> anyone looked at nbuttx? 2012-12-11T04:26:27 < dongs> im sure zippe did 2012-12-11T04:27:06 < ds2> smells a lot like linux 2012-12-11T04:28:30 < emeb> someone here uses nuttx - jpa-? 2012-12-11T04:28:57 < emeb> on that digital scope project or something. 2012-12-11T04:29:05 < ds2> i'll ask again when my line is not saturated with a huge downloand 2012-12-11T04:29:39 < emeb> ask again when the europeans are awake. 2012-12-11T04:30:20 < ds2> I am lagging by about 30second 2012-12-11T04:30:39 < emeb> yeow 2012-12-11T04:31:40 < dongs> fuck breaking pin headers in teh cold suckssssssssssss 2012-12-11T04:33:00 < ds2> cloning android source 2012-12-11T04:34:31 < emeb> dongs: hurts, or do they get brittle? 2012-12-11T04:35:02 < dongs> hurts. these are kinda hard to break, i need to do a cut in one side to start it 2012-12-11T04:35:04 < dongs> but still difficult 2012-12-11T04:36:01 < dongs> its the last of these though 2012-12-11T04:36:06 < dongs> the china bags i got snap super easy 2012-12-11T04:36:12 < dongs> http://i.imgur.com/WjnUu.jpg :D 2012-12-11T04:36:36 < emeb> that's a lot of headers 2012-12-11T04:38:34 < ds2> q! 2012-12-11T04:38:58 < emeb> r@ 2012-12-11T04:45:45 < emeb> seen these? http://dsp-sys.de/pdf/XynergyXS.pdf 2012-12-11T04:48:50 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-11T04:51:18 < dongs> cute 2012-12-11T04:53:31 < dongs> nice, ddr via fsmc 2012-12-11T04:53:49 < dongs> you could probably run rockbox on that. 2012-12-11T05:08:15 < emeb> dongs: probably could. I'll bet they charge more for that board than a rockbox-compatible mp3 player though. 2012-12-11T05:09:39 < dongs> well duh 2012-12-11T05:10:12 < emeb> I've been thinking about doing an STM32F4xx + FPGA + SDRAM board for giggles though. 2012-12-11T05:10:39 < dongs> how the fuck do large video walls handle all the bandwidth 2012-12-11T05:11:46 < emeb> scaling & offsetting a single video source, outputting multiple streams to all the monitors? 2012-12-11T05:12:01 < dongs> sure 2012-12-11T05:12:49 < dongs> what does this though 2012-12-11T05:13:14 < emeb> custom FPGA solutions? 2012-12-11T05:13:39 < emeb> You can get HDMI outputs on most FPGAs these days, and scaling/offsetting is easily done. 2012-12-11T05:15:43 < dongs> im talking led based shit. 2012-12-11T05:15:50 < dongs> where theres like 102034204 of 16x16 or 16x32 led blocks 2012-12-11T05:15:55 < emeb> jumbo-trons 2012-12-11T05:16:50 < emeb> the info on adafruit's site for their bit RGB array suggests it's supposed to be driven by FPGAs too. 2012-12-11T05:17:42 < emeb> http://adafruit.com/products/420 : "Keep in mind that these displays are designed to be driven by FPGAs or other high speed processor" 2012-12-11T05:17:53 < emeb> for whatever that's worth. 2012-12-11T05:18:05 < dongs> well thats just because 99.9% of visitors to aisdfruit have never heard of anything besides tarduino 2012-12-11T05:18:13 < emeb> lol 2012-12-11T05:18:24 < emeb> and FPGA sounds hi-tec 2012-12-11T05:19:10 < emeb> you tell me - you're the one with all the video experience. :) 2012-12-11T05:20:35 < emeb> wouldn't surprise me if the big display mfgs have custom ASICs that they use for driving those arrays. They sell enough of the damn things what with all the electronic billboards around the world. 2012-12-11T05:21:00 < dongs> yea but last broadcast expo i went to, video wall pricing started at 100k+ 2012-12-11T05:21:23 < emeb> plenty of room in that budget for a custom chip design or two. 2012-12-11T05:22:29 < emeb> here you go: http://e2e.ti.com/group/universityprogram/students/m/students_repository/664650.aspx 2012-12-11T05:22:31 < emeb> beagleboard. 2012-12-11T05:22:45 < dongs> lol wuuuuuuuuuuut 2012-12-11T05:22:49 < dongs> thats a lunix solution right there 2012-12-11T05:22:51 < emeb> not commercial though 2012-12-11T05:23:08 < emeb> kinda coarse rez too. 2012-12-11T05:23:16 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-11T05:26:33 < dongs> the fact that tehy used a $5 driver IC instead of $0.5 chinese driver shows theese guys arent srs 2012-12-11T05:26:53 < emeb> heh 2012-12-11T05:27:17 < emeb> that one you used on AfroLED is pretty nice. 2012-12-11T05:27:42 < dongs> does it scale though 2012-12-11T05:38:03 < emeb> you'd need one for every 4 columns. 2012-12-11T05:38:26 < emeb> and probably can't do more than 16 rows or so, so not good for huge displays. 2012-12-11T05:44:48 < dongs> well huge dispalys are made in blocks 2012-12-11T05:45:02 < dongs> i guess a 16x32 block is not entirely impossible with these 2012-12-11T05:45:14 < dongs> 1/16 drive, and like 16 driver ICs for the 32*3 side 2012-12-11T05:45:24 < dongs> or wait, its 12 channel right? 2012-12-11T05:45:33 < dongs> so only 8 drivers 2012-12-11T05:45:54 < emeb> 12-chl can drive 4 columns of RGB 2012-12-11T05:46:40 < emeb> but all of those 16x32 blocks I've seen have their own drivers built-in 2012-12-11T05:47:13 < emeb> you just send them a clocked data stream. Not sure how they handle brightness tho 2012-12-11T05:48:19 < emeb> http://www.hobbypcb.com/blog/item/3-16x32-rgb-led-matrix-technical-details.html 2012-12-11T05:48:48 < dongs> haha 2012-12-11T05:48:52 < dongs> thats the aids FPGA_driven ones 2012-12-11T05:49:13 < emeb> yup 2012-12-11T05:49:17 < dongs> no pwm 2012-12-11T05:49:57 < emeb> you can do pseudo pwm by sending multiple refreshes with different data on each one. 2012-12-11T05:50:04 < dongs> right.. 2012-12-11T05:50:06 < dongs> ghetto 2012-12-11T05:50:16 < dongs> when pwm drivers are chceap i dont think its worth the effort 2012-12-11T05:50:41 < dongs> my count is correct right? for 16x32 with afroled drivers? 2012-12-11T05:50:51 < dongs> 1/16 duty, and 32*3/12 = 8 drivers 2012-12-11T05:50:58 < dongs> so it would be same as that panel exccept with proper PWM 2012-12-11T05:51:37 < emeb> 8 drivers, 4 columns/driver = 32 columns. Yep 2012-12-11T05:52:43 < emeb> so 8x my9221 + 2x hct138 + 16x PFETs 2012-12-11T05:53:51 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-11T06:01:28 < emeb> see this? http://www.youtube.com/watch?feature=player_embedded&v=sbdvrfwr6Sg 2012-12-11T06:02:39 < dongs> lol 2012-12-11T06:03:01 < emeb> those strip reels just use ws2811, right? 2012-12-11T06:03:05 < dongs> eys 2012-12-11T06:03:20 < dongs> well dunno about those 2012-12-11T06:03:21 < dongs> those look lame 2012-12-11T06:03:26 < dongs> the 5050 rgb w/built in 2811 is awesome thou 2012-12-11T06:03:33 < emeb> update rate for a long strip probably pretty slow 2012-12-11T06:03:38 < dongs> no 2012-12-11T06:03:45 < dongs> you can do 30fps at 1024 pixels 2012-12-11T06:03:49 < dongs> at 800kHz updat.e 2012-12-11T06:03:53 < emeb> not bad 2012-12-11T06:07:12 < dongs> so theoretically i could just string these 5050 2811 bars t ogether into a panel 2012-12-11T06:07:15 < dongs> and not care 2012-12-11T06:07:35 < emeb> depending on what spacing you wanted. 2012-12-11T06:07:45 < dongs> thers the 60led/meter stuff 2012-12-11T06:08:26 < dongs> http://www.alibaba.com/product-gs/643389933/4m_60leds_m_with_60pcs_WS2811.html trash like this 2012-12-11T06:08:37 < dongs> so 16mm spacing 2012-12-11T06:10:38 < emeb> and AfroLED are about 7.5mm, so about 1/2 the resolution of those 8x8 modules. 2012-12-11T06:11:28 < dongs> ya but they're not flexible :D 2012-12-11T06:12:17 < emeb> flexible means you can roll it up in a bundle to move it around. 2012-12-11T06:13:14 < dongs> ya. 2012-12-11T06:14:49 < emeb> that little driver board you made can run 4 chains 2012-12-11T06:15:04 < dongs> yea, 8 actually 2012-12-11T06:15:07 < dongs> since in 800kHz mode its 1024 leds 2012-12-11T06:15:13 < dongs> so 2 16x32 panels per line 2012-12-11T06:16:40 < emeb> does it handle 800kHz on all 4 simultaneously? 2012-12-11T06:16:57 < dongs> well, i havent tried. i already ran into timing issues with stm32 doing it the dumb way 2012-12-11T06:17:13 < dongs> i will need to use DMA 2012-12-11T06:17:18 < emeb> yeah - seems like getting the timing down solid could be a chore 2012-12-11T06:17:19 < dongs> to clock out 24 bits 2012-12-11T06:17:25 < dongs> well, im using pwm 2012-12-11T06:17:32 < dongs> if I do DMA on the CCRx register 2012-12-11T06:17:39 < dongs> i can easily output 24 bits without any cpu work 2012-12-11T06:17:46 < emeb> nice 2012-12-11T06:18:03 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2012-12-11T06:18:14 < emeb> I was thinking just throw a cheap FPGA or CPLD at it. :) 2012-12-11T06:18:33 < emeb> but if the timers in the STM can do it w/o too much hassle. \o/ 2012-12-11T06:19:09 < dongs> well it can definitely do one channel 2012-12-11T06:19:30 < emeb> what size array you shooting for? 2012-12-11T06:19:48 < rlc> I'm trying to create a project for first time in IAR. Do I need to add that startup_stm32f4xx.s file in the project? 2012-12-11T06:19:49 < dongs> you mean what size of 16x32? i dunno. there wont be panel communication. just a sync signal 2012-12-11T06:20:14 < emeb> how many 16x32 blocks? 2012-12-11T06:21:21 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-11T06:21:22 < dongs> lots 2012-12-11T06:21:27 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-11T06:22:52 < emeb> so since you can only do 2 16x32 per 800kHz chain you'll need a lot of parallel channels. 2012-12-11T06:23:05 < dongs> no 2012-12-11T06:24:04 < dongs> each panel only cares about itself 2012-12-11T06:24:15 < emeb> ah. 2012-12-11T06:24:25 < emeb> so it'll have local cpu 2012-12-11T06:24:27 < dongs> there's a 'sync' signal 2012-12-11T06:24:27 < dongs> yeah 2012-12-11T06:24:30 < dongs> + sd 2012-12-11T06:24:36 < dongs> probably exactly the shit i have made already 2012-12-11T06:24:40 < dongs> i just hook those up into the panel 2012-12-11T06:25:12 < emeb> load many sd cards with data for each panel and then broadcast a signal to have them flip pages? 2012-12-11T06:25:18 < dongs> yeah. 2012-12-11T06:25:22 < emeb> cute 2012-12-11T06:25:29 < dongs> possibly looking into some low-speed protocol to remotely load cards 2012-12-11T06:25:44 < dongs> so they dont have to be pulled out. 2012-12-11T06:25:54 < emeb> *nod* 2012-12-11T06:26:20 < emeb> in that case, use spi flash instead of SD? 2012-12-11T06:26:23 < emeb> cheaper? 2012-12-11T06:26:38 < dongs> i doubt SD is more expensive 2012-12-11T06:29:37 < emeb> each 16x32 panel needs 512x24 = 1.5kB/page. So a 4GB SD can store ~26 hours of 30fps data. 2012-12-11T06:34:08 < emeb> looks like about the largest spi flash that DK stocks is a 8Mx8 which is only 3min of 30fps. for about $3 2012-12-11T06:34:19 < dongs> well, its convenience too 2012-12-11T06:34:26 < dongs> what hte ufck is spi flash, but people know what SD is. 2012-12-11T06:34:52 < emeb> eh - if you're loading it remotely doesn't really matter what you're storing it on. 2012-12-11T06:35:28 < emeb> and it's gonna take furever to load even a fraction of a 4GB card remotely over some serial link 2012-12-11T06:46:45 < emeb> bbiab 2012-12-11T06:46:48 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-11T06:55:13 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/] 2012-12-11T07:00:59 -!- jef79m is now known as jef79m_lurking 2012-12-11T07:13:17 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-11T07:16:37 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2012-12-11T07:21:06 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2012-12-11T07:22:23 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-11T07:29:46 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 250 seconds] 2012-12-11T07:31:28 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2012-12-11T07:49:51 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-11T07:51:33 < emeb_mac> dongs: did you ever get your power supply shorts figured out? 2012-12-11T07:52:15 < rlc> join ##electronics 2012-12-11T07:52:15 < dongs> nope 2012-12-11T07:52:19 < dongs> something is fucked 2012-12-11T07:52:41 < dongs> unless I blew the module when desoldering it 2012-12-11T07:52:48 < dongs> but the short / current draw is excatly same as it is on pcb 2012-12-11T07:52:53 < dongs> so i doubt that was it 2012-12-11T07:52:59 < emeb_mac> in the modules, not on your board 2012-12-11T07:53:01 < dongs> its wired up correctly to the best of my understanding of the datasheet. 2012-12-11T07:53:26 < emeb_mac> yeah - read the ds. shouldn't be rocket surgery. 2012-12-11T07:55:20 < emeb_mac> (as in "I read the ds" and agree) 2012-12-11T07:55:59 < dongs> right. 2012-12-11T07:56:16 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has joined ##stm32 2012-12-11T07:56:16 < dongs> and when it got desoldered, there was no way there could have been shorts under it. 2012-12-11T07:56:36 < dongs> the solder was nowhere near the pad edges and it properly reflowed all over the pad. 2012-12-11T07:56:48 < dongs> so i have no fucking idea whats up. 2012-12-11T07:57:04 < dongs> I have another brand new module I can hook up to wires 2012-12-11T07:57:18 < dongs> but why would the 1st one not work. 2012-12-11T07:58:16 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-11T07:59:30 < emeb_mac> hosed during reflow? 2012-12-11T07:59:39 < emeb_mac> seems unlikely 2012-12-11T08:24:59 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has quit [Ping timeout: 260 seconds] 2012-12-11T08:26:02 < emeb_mac> it's too bad the I2S ports on the F3 don't do full duplex. 2012-12-11T08:51:29 < jpa-> emeb_mac: yeah, i use nuttx; not with dso quad but in a work project 2012-12-11T08:51:58 < emeb_mac> jpa-: almost right 2012-12-11T08:52:00 < jpa-> ds2: ^ 2012-12-11T08:52:42 < emeb_mac> jpa-: would you use it on non-work stuff? 2012-12-11T08:53:12 < jpa-> sure, probably more there 2012-12-11T08:53:26 < jpa-> turns out it is not that rock solid that i would choose it for a work project again 2012-12-11T08:53:55 < jpa-> great potential, but bugs here and there; often easy to fix though 2012-12-11T08:57:14 < emeb_mac> too bad about the bugs. are they fundamental or more just porting to STM issues? 2012-12-11T08:57:32 < jpa-> nah, more like not tested enough 2012-12-11T08:57:39 < jpa-> the design is good in most places 2012-12-11T08:58:05 < jpa-> though i have been using the graphics system quite extensively, most of the bugs i've found have been there 2012-12-11T09:07:38 < dongs> https://youtube.com/watch?v=GElYzhyzgAY 2012-12-11T09:10:24 < emeb_mac> diakon stroking for fun & profit. 2012-12-11T09:11:10 < dongs> mmmm. sexy daikon. 2012-12-11T09:16:07 -!- dekar_ [~dekar@212.255.238.78] has joined ##stm32 2012-12-11T09:16:10 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-11T09:17:24 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-11T09:19:15 -!- dekar [~dekar@212.255.17.245] has quit [Ping timeout: 260 seconds] 2012-12-11T09:28:44 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has joined ##stm32 2012-12-11T09:29:00 < Tectu> jpa-, why do you choose --wave=foo.ghw over -vcd=foo.vcd? 2012-12-11T09:29:31 < dongs> gtkwave, haha 2012-12-11T09:30:40 < Tectu> hello dongs. 2012-12-11T09:31:11 < dongs> hi ^_^ 2012-12-11T09:31:45 < Tectu> kawaii 2012-12-11T09:33:22 < jpa-> Tectu: because the ghw format appears to work faster with large files (it's a binary format after all, while vcd is text) 2012-12-11T09:34:00 < Tectu> jpa-, okay 2012-12-11T09:34:09 < Tectu> can I ask you one more question related to the usage of gtkwave? 2012-12-11T09:36:01 < Tectu> when you open the .ghw, you have to add the signals so they appear in the window. Can you save that somehow so when you open it again, they are still there? Isn't it possible to make some kind of project profile so even when you have a new waveform, they appear automatically in the right order? 2012-12-11T09:38:57 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2012-12-11T09:41:58 -!- jef79m_lurking is now known as jef79m 2012-12-11T09:43:27 < emeb_mac> zzzzz 2012-12-11T09:43:30 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-11T10:00:39 < zyp> *yawn* 2012-12-11T10:04:15 < dongs> dongzzzzzzzz 2012-12-11T10:08:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 244 seconds] 2012-12-11T10:08:40 < dongs> attn zyp http://elecontest.com/entrylist/113 2012-12-11T10:13:21 < zyp> «how to put shit all over your tools and stuff» 2012-12-11T10:13:44 < dongs> http://japan.renesas.com/media/products/promotion/gr/gr_sakura02.jpg 2012-12-11T10:13:46 < dongs> do want. 2012-12-11T10:14:20 < zyp> was wondering about that, what chip is it? 2012-12-11T10:14:31 < dongs> some RX cpu I guess 2012-12-11T10:14:35 < dongs> RX63 maybe 2012-12-11T10:14:37 < dongs> useless jap shit 2012-12-11T10:14:48 < dongs> http://hk.renesas.com/products/mpumcu/rx/rx600/rx63n_631/index.jsp 2012-12-11T10:15:19 < zyp> I see ethernet socket and phy, so I guess internal mac 2012-12-11T10:17:24 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-11T10:19:31 < jpa-> Tectu: i don't know if it is possible; i just use the "reload" button when i have rerun the testbench 2012-12-11T10:19:59 < dongs> http://jp.rs-online.com/web/generalDisplay.html?id=promotions/gadget_renesas#.UMbsC4NlmDM 2012-12-11T10:20:08 < dongs> zyp: apparently RX63N has FPU 2012-12-11T10:20:14 < dongs> but its not cortex, its some bullshit custom cpu 2012-12-11T10:20:28 < zyp> yeah 2012-12-11T10:20:52 < zyp> doesn't look too bad apart from the fact that it's not arm 2012-12-11T10:21:58 < dongs> and not arduino compatble 2012-12-11T10:22:09 < dongs> pretty much a deal breaker there. 2012-12-11T10:22:59 < dongs> http://japan.renesas.com/media/products/promotion/gr/gr_systemconfig_large.jpg wtf 2012-12-11T10:23:00 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-11T10:23:06 < dongs> sounds like the tarduino shit is mbed-like 2012-12-11T10:23:11 < dongs> online compile 2012-12-11T10:23:39 < dongs> k wahttever i just want pink solder mask 2012-12-11T10:23:46 < zyp> :p 2012-12-11T10:26:05 -!- jef79m is now known as jef79m_lurking 2012-12-11T10:26:24 < dongs> 2 megs of zero-wait flash 2012-12-11T10:26:36 < dongs> how many wait states are on F4 @ 168mhz? 2012-12-11T10:26:38 < dongs> like 3 or 4? 2012-12-11T10:28:48 < dongs> PLBG0176GA-A (176-pin LFBGA, 13 x 13mm 0.8mm pitch) 2012-12-11T10:28:51 < dongs> nice solderable bga 2012-12-11T10:29:06 < zyp> 5 2012-12-11T10:29:32 < zyp> flash runs at max 30 MHz 2012-12-11T10:31:17 < zyp> but since it's 128-bit wide, that's normally not a problem 2012-12-11T10:36:46 < jpa-> and it has cache also 2012-12-11T10:37:21 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-11T10:40:20 < Tectu> that works well, thanks jpa- 2012-12-11T10:41:51 -!- jef79m_lurking is now known as jef79m 2012-12-11T10:43:50 -!- Laurenceb_ [~Laurence@host86-143-4-133.range86-143.btcentralplus.com] has joined ##stm32 2012-12-11T10:44:42 -!- jef79m is now known as jef79m_lurking 2012-12-11T10:47:51 < dongs> blogulenceB 2012-12-11T10:49:57 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 255 seconds] 2012-12-11T10:52:12 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-11T10:53:24 < zyp> oh fuck 2012-12-11T10:55:09 < zyp> ok, I figured out why my rxfifo is getting trashed 2012-12-11T10:55:52 < zyp> and I don't understand why I didn't spot this earlier 2012-12-11T10:56:47 < zyp> I've been checking the FIFO configuration several times 2012-12-11T10:57:48 < zyp> and I didn't spot until now that I've fucking swapped the offset and size of them 2012-12-11T10:58:01 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-11T10:59:00 < zyp> so I got a 0x40 words large rxfifo, a 0x40 words large txfifo0 starting 0x10 words into the rxfifo and a 0x50 words large txfifo1 also starting 0x10 words into the rxfifo 2012-12-11T11:00:58 -!- jef79m_lurking is now known as jef79m 2012-12-11T11:01:24 < zyp> that probably also explains the spurious issue I've seen on my audio stuff that I didn't track down 2012-12-11T11:02:34 -!- Laurenceb_ [~Laurence@host86-143-4-133.range86-143.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2012-12-11T11:12:21 -!- jef79m is now known as jef79m_lurking 2012-12-11T11:12:24 < dongs> http://i00.i.aliimg.com/wsphoto/v0/656764514_2/Receiving-card-for-LS-Q3-LED-MediaPlayer-for-full-color-LED-display.jpg 2012-12-11T11:12:25 -!- jef79m_lurking is now known as jef79m 2012-12-11T11:12:41 < dongs> 45 bucks for that. 2012-12-11T11:12:52 < mansfeld> Hi, I'm having a bit of trouble getting the UART to work on an STM32L, does anyone have a good example of code that works that I can use to compare mine to? 2012-12-11T11:13:05 < dongs> is that dual ethernet, spartan6 FPGA, some SDRAM 2012-12-11T11:13:35 < zyp> dongs, nice 2012-12-11T11:13:42 < mansfeld> right now, the TX pin stays high until I do the GPIO_PinAFConfig(), then it goes low and stays low... 2012-12-11T11:13:47 < dongs> mansfeld: http://code.google.com/p/afrodevices/source/browse/trunk/baseflight/src/drv_uart.c this c ode works on f103, i dont think uart on 32L is THAT much diff? 2012-12-11T11:14:14 < mansfeld> dongs: it seems like there's just a few functions that are different, but I'll take a look 2012-12-11T11:15:32 < zyp> mansfeld, tx is supposed to be high at idle, so there can't be that many things wrong 2012-12-11T11:16:01 < zyp> that it's responding to PinAFConfig means GPIO block is clocked, so that's one less thing to check 2012-12-11T11:16:36 < zyp> things you should check: pin set to AF mode? pin set to the correct AF number? UART block clocked? UART transmitter enabled? 2012-12-11T11:16:58 < mansfeld> zyp: I did configure the pin to AF, PP, pull-up high, and clocked to 10MHz 2012-12-11T11:17:14 < zyp> you don't need to enable any pull-up in PP mode 2012-12-11T11:17:21 < zyp> that's just wasteful 2012-12-11T11:17:29 < mansfeld> oh yeah, duh 2012-12-11T11:17:40 < zyp> but otherwise it sounds ok 2012-12-11T11:17:51 < zyp> and you set the correct AF number too? 2012-12-11T11:17:53 < mansfeld> PinAFConfig is set to GPIOA, Pin 9, GPIO_AF_USART1 2012-12-11T11:18:52 < zyp> that's probably right, if USART1_TX is indeed on PA9 2012-12-11T11:19:21 < dongs> 32L also has sane gpio? 2012-12-11T11:19:24 < zyp> yes 2012-12-11T11:19:26 < mansfeld> yes, I just checked again :) 2012-12-11T11:19:36 < zyp> dongs, I think everything but F1 do 2012-12-11T11:19:45 < dongs> lo 2012-12-11T11:20:32 < mansfeld> if I'm just using polling for now, I don't need to enable USART interrupts, right? 2012-12-11T11:20:45 < zyp> right 2012-12-11T11:21:00 < zyp> in any case, it should be high when idle 2012-12-11T11:21:33 < zyp> so if GPIO configuration is correct, you either forgot to enable USART1 block or turn on the transmitter 2012-12-11T11:21:48 < mansfeld> are there any clocks I should have enabled besides APB2Periph_USART1 and AHBPeriph_GPIOA? 2012-12-11T11:22:03 < zyp> not that I know of 2012-12-11T11:22:40 < zyp> hmm, unless L1 has some options to run UARTs from different clocks than the cpu, I seem to recall something like that 2012-12-11T11:22:51 < zyp> karlp would probably know, he has been working with L1 2012-12-11T11:23:13 < mansfeld> oh 2012-12-11T11:23:20 < karlp> for doing uart? 2012-12-11T11:23:23 < karlp> sorry, just got in. 2012-12-11T11:23:36 < karlp> there's example uart code in libopencm3, even in master. 2012-12-11T11:23:47 -!- jef79m is now known as jef79m_lurking 2012-12-11T11:23:53 < karlp> to behonest, I've only used it in tx only mode though 2012-12-11T11:24:14 < karlp> but there were no tricks especially for uart on l1 vs f1 2012-12-11T11:24:55 -!- jef79m_lurking is now known as jef79m 2012-12-11T11:25:02 < jpa-> zyp: nice that you found your bug; strange that it took so long to hit it because it sounds like a quite major one :) 2012-12-11T11:25:56 < mansfeld> thanks karlp, I'll have a look at libopencm3 2012-12-11T11:26:17 < karlp> https://github.com/libopencm3/libopencm3/blob/master/examples/stm32/l1/stm32l-discovery/button-irq-printf/main.c 2012-12-11T11:26:51 < karlp> also, for stdperiph, https://github.com/karlp/kkstm32_base/blob/master/example/32l_usart_exti_adc/main.c 2012-12-11T11:27:01 < karlp> but I don't maintain those stdperiph examples of mine anymore. 2012-12-11T11:27:23 < mansfeld> ah, thanks, that's more useful since I'm using srdperiph for now 2012-12-11T11:27:45 < zyp> jpa-, usually new packets doesn't arrive while I'm transmitting packets 2012-12-11T11:27:51 < mansfeld> is libopencm3 stable enough to use instead of the std lib? 2012-12-11T11:28:27 < jpa-> should be, the std_lib is not that great either 2012-12-11T11:28:46 < jpa-> but mind the license if you are interested in commercial stuff 2012-12-11T11:29:55 < zyp> jpa-, so usually the only thing that gets overwritten is the single status word telling that a transfer has been finished 2012-12-11T11:31:21 < zyp> which has a 3/4 probability of being in the overlapping part of the rxfifo, and if I'm writing a single 64B packet it has a 3/5 probability of overwriting that part 2012-12-11T11:32:13 < zyp> and furthermore the garbage that gets written has a 13/16 probability of getting a type that will just be ignored 2012-12-11T11:32:39 < zyp> assuming a uniform distribution of garbage, which is also not the case 2012-12-11T11:33:05 < zyp> a lot of the packets contain lots of zero bytes, which is one of the ignored types 2012-12-11T11:34:33 < zyp> that's why it didn't start causing readily observable problems until I started transferring lots of actual data 2012-12-11T11:35:53 < zyp> I were testing earlier with dd-ing a bunch of data from /dev/zero to the card and then reading it back, without these problems, probably owing to the fact that overwriting with 0 usually doesn't cause any harm 2012-12-11T11:39:28 < mansfeld> oh maaan, I was using GPIO_Pin_9 instead of GPIO_PinSource_9 without realizing they were completely different values... thanks for your help guys! 2012-12-11T11:39:31 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-11T11:41:25 < zyp> :) 2012-12-11T11:42:27 < zyp> so it turned out being one of the four things I told you to check ;) 2012-12-11T11:43:10 < Tectu> hmm... fpga needs A LOT more resources than software development... 2012-12-11T11:43:29 < zyp> except you didn't set the pin to wrong AF, you set a wrong pin to the correct AF ;) 2012-12-11T11:43:54 < zyp> Tectu, resources? 2012-12-11T11:44:08 < Tectu> zyp, host PC resources for compilation, simulation etc 2012-12-11T11:44:16 < zyp> you mean synthesis? 2012-12-11T11:45:22 < Tectu> yes, and routing and fitting etc 2012-12-11T11:45:44 < zyp> isn't most of the time spent on optimization, trying to find the best way to do something? 2012-12-11T11:46:07 < zyp> so it's a bit similar to video encoding in that regard; the more computing resources you can throw at it, the better the results will be 2012-12-11T11:46:44 < zyp> but yeah 2012-12-11T11:47:07 < zyp> HDL stuff easily gets way more complex than software 2012-12-11T11:48:17 < Tectu> yes, and my altera quartus seems only to use one processor 2012-12-11T11:49:12 < zyp> http://xkcd.com/303/ <- then you get to use this excuse 2012-12-11T11:50:29 < Tectu> :) 2012-12-11T11:51:19 < Tectu> changing only one line of code, wait 5 minutes to see that it still dosen't work.. 2012-12-11T11:51:31 < Tectu> why dosen't it use incremental building like any other sane language? 2012-12-11T11:51:44 < Tectu> I mean this isn't dependend on the fact that it's hardware and not software? 2012-12-11T11:53:04 < Thorn> Tectu: license restrictions 2012-12-11T11:53:22 < Tectu> Thorn, which aspect? 2012-12-11T11:53:31 < Tectu> the single core comupting or the incremental thing? 2012-12-11T11:53:37 < Thorn> both I think 2012-12-11T11:53:53 < Thorn> I believe synplify pro that comes with Lattice tools doesn't have those restrictions 2012-12-11T11:54:13 < Thorn> (but you obviously can't synthesize for altera chips with it) 2012-12-11T11:54:45 < Tectu> :D 2012-12-11T11:55:02 < Tectu> I guess I don't have to check if I can afford a proper license of the altera software :D 2012-12-11T11:56:35 < zyp> I remember pirating xilinx software once, because the free version would only run on 32-bit windows, and I had 64-bit 2012-12-11T11:56:57 < Tectu> bad zyp, very bad zyp! :o 2012-12-11T11:57:17 < zyp> yeah, I was so horrible. 2012-12-11T11:57:28 < jpa-> Tectu: yeah, Thorn is correct, the free versions are very limited in compilation speed 2012-12-11T11:57:47 < Tectu> that's sad 2012-12-11T11:57:55 < Tectu> hmm, not as expensive as I thought: http://www.altera.com/buy/software/buy-software.html 2012-12-11T11:58:05 < Tectu> jpa-, do you have a pro version? 2012-12-11T11:58:18 < Thorn> there're cracks for quartus too, not sure about latest versions though 2012-12-11T11:58:23 < jpa-> Tectu: of course not 2012-12-11T11:58:45 < Tectu> Thorn, tbb? 2012-12-11T11:58:52 < scrts> quartus cracks changing only 3 bytes inside one DLL 2012-12-11T11:58:58 < scrts> what's the point of buying it then? :) 2012-12-11T11:59:13 < Tectu> scrts, and linux? 2012-12-11T11:59:18 < jpa-> scrts: that's $1000 per byte! 2012-12-11T11:59:20 < Thorn> some of them also remove some modelsim restrictions 2012-12-11T11:59:36 < scrts> I don't use linux :) 2012-12-11T11:59:42 < Thorn> that thing is flexlm protected iirc, so no 3-byte hacks 2012-12-11T12:00:02 < jpa-> Tectu: but usually you should design testbenches so that even before synthetizing you can be pretty sure your design works 2012-12-11T12:00:27 < Tectu> jpa-, you are correct 2012-12-11T12:00:36 < Tectu> but flashing real LEDs is still cooler :) 2012-12-11T12:00:46 < Thorn> yeah, voodoo programming doesn't work well with fpgas, you should first make sure it simulates correctly. 2012-12-11T12:01:53 < Tectu> okay 2012-12-11T12:01:54 < zyp> I remember my prof weren't very happy when I didn't simulate my design first for a uni project we did 2012-12-11T12:02:11 < Tectu> zyp, how comes? two days synthesis time? 2012-12-11T12:02:11 < jpa-> huh, never expected that this loop could take over 1µs on 168MHz STM32F4: http://paste.dy.fi/2wE/plain 2012-12-11T12:02:17 < jpa-> (values are integers) 2012-12-11T12:02:20 < zyp> «but it already works, why would I need to simulate it?» 2012-12-11T12:02:43 < zyp> jpa-, so over 168 cycles per iteration? 2012-12-11T12:02:53 < jpa-> over 168 cycles total 2012-12-11T12:02:55 < Tectu> zyp, badass 2012-12-11T12:02:57 < jpa-> (3 iterations) 2012-12-11T12:03:02 < zyp> ah, right 2012-12-11T12:03:10 < zyp> that sounds terribly inefficient 2012-12-11T12:03:18 < zyp> any volatiles? 2012-12-11T12:03:27 < jpa-> nope 2012-12-11T12:03:37 < jpa-> though i have gcc -Os, but even so 2012-12-11T12:03:55 < zyp> it's just nine loads and stores… 2012-12-11T12:04:15 < zyp> what if you manually unroll it? 2012-12-11T12:04:32 < jpa-> http://paste.dy.fi/XHM/plain disassembler doesn't look that bad 2012-12-11T12:04:40 -!- jef79m is now known as jef79m_lurking 2012-12-11T12:05:02 < jpa-> yeah i know it's probably pretty easy to speed up (in fact i think i can get rid of that copy altogether), just very surprising that it seems to take so long 2012-12-11T12:06:01 < Tectu> the nice thing about quartus only using single core is that I can synthesize and generate simulation wave forms at the same time 2012-12-11T12:06:09 < Tectu> even if it's a little bit non-sense 2012-12-11T12:06:37 < zyp> jpa-, is stuff stored in flash or ram? 2012-12-11T12:07:09 < jpa-> zyp: xvals, yvals, zvals are in CCM ram, *p is in normal ram 2012-12-11T12:07:29 < zyp> and what's this about DMA? is DMA still running and causing bus contention? 2012-12-11T12:07:50 < jpa-> yes.. hmm 2012-12-11T12:07:57 < jpa-> that's actually a very good point 2012-12-11T12:08:41 < jpa-> but ADC is sampling at just 900kHz, so there shouldn't be so many transfers 2012-12-11T12:10:02 < jpa-> after lunch i'll check exact cycle count at various points.. maybe that will give more information 2012-12-11T12:12:00 < jpa-> sram access should have 0 waitstates, right? 2012-12-11T12:13:16 < Thorn> if the bus is free 2012-12-11T12:20:04 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-11T12:20:17 < Tectu> jpa-, why exactly do you use ghdl instead of the quartus II simulator? 2012-12-11T12:23:43 < Thorn> you can get a multilanguage Active-HDL from lattice for free btw. 2012-12-11T12:24:06 < Thorn> I haven't seen free multilanguage sims anywhere else yet 2012-12-11T12:24:13 < Tectu> Thorn, I guess my understanding of the FPGA/HDL world is currently to low to understand what you're trying to tell me :x 2012-12-11T12:24:44 < Thorn> multilanguage = allows both verilog and vhdl in the same project 2012-12-11T12:25:02 < Thorn> if you like opencores.org it may become significant 2012-12-11T12:25:11 < Thorn> or even if you don't 2012-12-11T12:25:33 < zyp> isn't the xilinx stuff also multilanguage? 2012-12-11T12:26:31 < Thorn> never used it. do they have their own sim? 2012-12-11T12:26:39 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2012-12-11T12:27:10 < Tectu> I've been told that nobody should use verilog 2012-12-11T12:27:39 < zyp> what if I tell you nobody should use vhdl? 2012-12-11T12:27:48 < zyp> then you are left without anything to use. 2012-12-11T12:27:54 < Thorn> use systemverilog 2012-12-11T12:34:06 < jpa-> Tectu: prefer open-source when possible 2012-12-11T12:34:28 < Tectu> jpa-, are there also open source net viewers which show you "the shematics"? 2012-12-11T12:34:31 < jpa-> also, i write code for more than just altera FPGA's, no need to learn a new simulator for every fpga 2012-12-11T12:34:38 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-11T12:34:49 < zyp> I find verilog to have a far more pleasant syntax than vhdl 2012-12-11T12:34:51 < jpa-> Tectu: that's a synthesis thing, and there aren't much open source synthesis tools 2012-12-11T12:35:03 < Tectu> okay 2012-12-11T12:35:31 < jpa-> zyp: funny, for me it is exactly the opposite 2012-12-11T12:35:42 < zyp> but it's more a case of vhdl being bad than verilog being good, really 2012-12-11T12:35:58 < jpa-> though if one looks at e.g. opencores, all the code you see is very badly written, be it verilog or vhdl 2012-12-11T12:38:12 < zyp> jpa-, do you also prefer ada over C? :p 2012-12-11T12:40:32 < jpa-> i do think that ada has some nice properties 2012-12-11T12:40:47 < jpa-> but they don't quite compete in the same space anyway 2012-12-11T12:44:03 < jpa-> hmm, 12 instructions, 33 cycles per iteration 2012-12-11T12:46:31 < zyp> do you have instruction cache enabled? 2012-12-11T12:47:34 < jpa-> yes 2012-12-11T12:49:02 < jpa-> except wtf 2012-12-11T12:49:27 < jpa-> FLASH_ACR = 0x00000705 ..... 2012-12-11T12:49:50 < jpa-> ah 2012-12-11T12:49:53 < jpa-> yeah enabled 2012-12-11T12:50:05 < jpa-> silly me reading the value wrong 2012-12-11T12:51:18 < jpa-> anyway the whole ISR takes 1188 cycles (7µs).. i want it to execute every 10µs :P 2012-12-11T12:51:37 < jpa-> time to find out how to use dwt 2012-12-11T12:53:28 < karlp> what's dwt? 2012-12-11T12:59:52 < Thorn> dongs world tour? 2012-12-11T13:01:38 < karlp> delicious wild things 2012-12-11T13:08:22 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Remote host closed the connection] 2012-12-11T13:09:38 < jpa-> karlp: debug watchpoint and trace unit.. which also counts statistics about memory access etc. 2012-12-11T13:09:57 < karlp> ahh, yeah. 2012-12-11T13:09:59 < Tectu> jpa-, when you add a new vhdl file, where do you list it? (The same as when you add in the file hirarchy of quartus) 2012-12-11T13:10:07 < Tectu> I compile with quartus_sh --flow 2012-12-11T13:10:11 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-11T13:11:59 < dongs> sup? 2012-12-11T13:14:41 < jpa-> Tectu: uh? 2012-12-11T13:21:15 < jpa-> http://stm32.izua.ro/wiki/DWT_unit made a gdb macro file to use it easily 2012-12-11T13:25:55 < zyp> dongs, http://paste.jvnv.net/view/LuDGs <- now also with read 2012-12-11T13:26:17 < dongs> ohh. cool. 2012-12-11T13:26:24 < dongs> im gonna take a bath then setup i2c stuff again 2012-12-11T13:26:27 < dongs> and see if -O3 will help it 2012-12-11T13:27:20 < zyp> oh, wait, I messed up ACK polarity :p 2012-12-11T13:28:13 < zyp> http://paste.jvnv.net/view/YFhE6 <- there, now it should be right 2012-12-11T13:29:05 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-11T13:33:01 < karlp> jpa-: oh, cool gdb macros! 2012-12-11T13:38:14 < jpa-> heh, -O1 -> -O2 brought 438 cycles down to 247 cycles 2012-12-11T13:46:55 < karlp> -O1 is only for working around compiler bugs isn't it? 2012-12-11T13:50:08 < zyp> jpa-, neat 2012-12-11T13:52:35 < jpa-> karlp: it's nice for debugging also 2012-12-11T13:58:39 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has joined ##stm32 2012-12-11T14:22:33 < dongs> ordered my newpc parts. xeon E3 1265Lv2, BOXDH77DF, that HP gayforce with DPx2+DVI, 16gig mem, some random kingston ssd 2012-12-11T14:23:20 < zyp> enjoy your free duke nukem 2012-12-11T14:23:24 < dongs> haha 2012-12-11T14:23:25 < dongs> yes. 2012-12-11T14:23:35 < dongs> no actualyl that one didnt come wiht free duke nukem :( 2012-12-11T14:23:40 < dongs> i thikn that was some ATI shite. 2012-12-11T14:23:52 < zyp> http://www.newegg.com/Product/Product.aspx?Item=N82E16814500216 2012-12-11T14:24:00 < dongs> ya not that 2012-12-11T14:24:06 < zyp> that's 560 2012-12-11T14:24:09 < dongs> http://www.newegg.com/Product/Product.aspx?Item=N82E16814196049 2012-12-11T14:24:10 < dongs> got this 2012-12-11T14:24:17 < dongs> fuck this d ouble-sided crap 2012-12-11T14:24:22 < dongs> er double-wide 2012-12-11T14:24:35 < zyp> ah 2012-12-11T14:24:57 < zyp> does 630 support running all three outputs at once? 2012-12-11T14:25:19 < dongs> unsure, I will find out. the description even at HP site is very vague 2012-12-11T14:25:39 < dongs> can I run onboard intel gfx AND pci-e card at same time? 2012-12-11T14:25:50 < zyp> depends 2012-12-11T14:26:00 < zyp> there is some new shit that's supposed to make that possible 2012-12-11T14:26:14 < zyp> my new computer apparently supports that, but I haven't cared to check 2012-12-11T14:28:39 < dongs> http://en.wikipedia.org/wiki/GeForce_600_Series 2012-12-11T14:28:51 < dongs> apparently 630 is fairly new 2012-12-11T14:28:51 < dongs> cant be worse htan my current GT240 2012-12-11T14:28:56 < dongs> i dont gayme so I dont need top of hte line 500W guzzling shit 2012-12-11T14:29:02 < dongs> i think that card is 90-ishW max 2012-12-11T14:29:09 < zyp> yeah 2012-12-11T14:29:12 < dongs> so during ircing it'll hopefully use less than 10-20W 2012-12-11T14:29:47 < dongs> and its pcie3.0 whatever that means. 2012-12-11T14:29:49 < dongs> but higher is better, i sure 2012-12-11T14:30:20 < zyp> double the datarate of 2.0, IIRC 2012-12-11T14:30:21 < dongs> oih, 50W tdp 2012-12-11T14:30:26 < dongs> great 2012-12-11T14:31:17 < zyp> hmm 2012-12-11T14:31:24 < zyp> mine is apparently 170W tdp 2012-12-11T14:32:30 < zyp> but that's fine 2012-12-11T14:33:40 < zyp> how much power my computer draws is pretty irrelevant as long as I still have to use more power for heating 2012-12-11T14:33:50 < dongs> haha 2012-12-11T14:34:14 < dongs> my shit is at 100W while ircing 2012-12-11T14:34:19 < dongs> gotta get rid of that 2012-12-11T14:34:28 < dongs> i wanna be at around 25W or so hopefully with this new shit 2012-12-11T14:35:09 < dongs> i wonder why this card has so much ram 2012-12-11T14:35:18 < dongs> hopefully for 3 simultaneous displays :) 2012-12-11T14:36:20 < zyp> hmm, your cpu seems to be the xeon variant of 3770T 2012-12-11T14:36:25 < dongs> yes 2012-12-11T14:36:34 < dongs> same price, but T would come witout cooler etc. 2012-12-11T14:36:53 < dongs> since i ts some OEM shit. 2012-12-11T14:36:57 < dongs> i had a choice either that or the xeon. 2012-12-11T14:37:16 < Laurenceb> sup 2012-12-11T14:37:40 < zyp> looks pretty decent 2012-12-11T14:38:18 < Laurenceb> so, someone is now doing a masters on how to put together CE documentation 2012-12-11T14:38:34 < Laurenceb> using my datalogger documentation 2012-12-11T14:38:40 < Laurenceb> you couldnt make this shit up 2012-12-11T14:38:56 < dongs> considering the documentation comes from you.. 2012-12-11T14:38:57 < dongs> yeah 2012-12-11T14:39:10 < dongs> you almost need a masters degree just to read through all the text without spaces 2012-12-11T14:39:15 < Laurenceb> lol 2012-12-11T14:40:22 < dongs> i wonder how truthful the GK107 reference is on wikipedo 2012-12-11T14:40:31 < dongs> googling it other sources claim 630 is based on GF108 2012-12-11T14:40:58 < dongs> oh, oem vs other shit 2012-12-11T14:40:59 < zyp> there are several 630s listed 2012-12-11T14:41:02 < zyp> yep 2012-12-11T14:41:11 < zyp> dell is probably OEM? 2012-12-11T14:41:14 < dongs> but.. only OEM one lists 2gb as memory 2012-12-11T14:41:26 < zyp> so then you get the good one 2012-12-11T14:41:44 < zyp> sorry, HP, not dell 2012-12-11T14:41:45 < dongs> dell=hp 2012-12-11T14:41:45 < dongs> yeah 2012-12-11T14:41:57 < zyp> same shit, different name 2012-12-11T14:42:16 < dongs> The OEM GT 630 was a Kepler GK107 card, so this rules out getting a Kepler based GT 630 retail card any time in the near future. 2012-12-11T14:42:23 < dongs> whawtever that means. still cant find any info on 3 monitors. 2012-12-11T14:42:29 < dongs> why hte fuck is that so hard to just list somewhere. 2012-12-11T14:43:08 < zyp> it even says kepler in the description 2012-12-11T14:43:18 < zyp> GF108 is fermi 2012-12-11T14:45:10 < dongs> We tested triple-monitor Surround and had no trouble playing DiRT 3 at 5760x1080 using the lowest detail setting. 2012-12-11T14:45:31 < dongs> this is a 640 though. 2012-12-11T14:45:34 < dongs> but same chipset...? 2012-12-11T14:46:16 < dongs> 15W at idle 2012-12-11T14:47:29 < dongs> well a bunch of pl acesa re reporting triple monitors using filthy analog outputs 2012-12-11T14:47:36 < dongs> so hopefully it'll do digital ones as well 2012-12-11T14:47:42 < dongs> http://www.pcper.com/files/imagecache/article_max_width/review/2012-06-11/06_0.jpg < eww 2012-12-11T14:47:52 < dongs> 2 of the most useless connectors for 2012 2012-12-11T14:48:50 < zyp> :p 2012-12-11T14:51:04 < dongs> http://www.newegg.com/Product/Product.aspx?Item=N82E16814130795 coulda saved $10 on a double-sized monster 2012-12-11T14:51:39 < zyp> yeah, without DP 2012-12-11T14:51:45 < dongs> right 2012-12-11T14:52:00 < zyp> weren't the point to get that? 2012-12-11T14:52:22 < dongs> so if I can use onboard intel shite at same time 2012-12-11T14:52:26 < dongs> i will have 3 DP outputs :) 2012-12-11T15:11:10 < dongs> ok, apparently chipset supports up to 4 displays: "Simultaneously drive 4 independent displays at any given time to expand your viewing perspective and increase productivity." 2012-12-11T15:11:21 < dongs> so looks like im good to go on that one 2012-12-11T15:11:38 < dongs> http://www.geforce.com/hardware/desktop-gpus/geforce-gt-630-oem/features 2012-12-11T15:49:24 -!- daku is now known as DaKu 2012-12-11T16:06:49 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-11T16:20:39 < zyp> dongs, did you test i2c stuff? 2012-12-11T16:21:35 < dongs> just finsihed fapping with family trash, about to set it up again 2012-12-11T16:23:26 < dongs> ooo 2012-12-11T16:24:07 < dongs> http://bcas.tv/paste/results/cfhLLy30.html > end of year chink clearance deals 2012-12-11T16:24:11 < dongs> should I grab anything from here? 2012-12-11T16:25:34 < dongs> Agilent/HP 8753ES 300Khz 6Ghz Network Analyzer this looks nice 2012-12-11T16:26:06 < zyp> woah, cheap 2012-12-11T16:26:36 < dongs> this is TWD 2012-12-11T16:26:38 < dongs> still cheap 2012-12-11T16:26:42 < dongs> that 8ghz analyzer is like $3.8k 2012-12-11T16:27:23 < dongs> all obsolete shit BUT probably better than my E4402B 2012-12-11T16:27:45 < zyp> ah, I was assuming jpy 2012-12-11T16:27:56 < dongs> http://www.ebay.com/itm/Anritsu-MS2602A-Spectrum-Analyzer-100-Hz-8-5-GHz-/220699981338 2012-12-11T16:28:16 < zyp> in twd everything is three times as expensive :p 2012-12-11T16:28:22 < dongs> heh 2012-12-11T16:28:50 < dongs> http://www.home.agilent.com/en/pd-1000002824%3Aepsg%3Apro-pn-E4433B/esg-d-series-digital-rf-signal-generator-4-ghz 2012-12-11T16:29:00 < dongs> hmm,, can I do TV with this if I feed it appropriately formatted I/Q? 2012-12-11T16:29:19 < dongs> sounds like I can even do satellite, with 35mhz bandwidth? 2012-12-11T16:29:39 < dongs> o man this is old trash 2012-12-11T16:29:42 < dongs> ~2004 2012-12-11T16:31:28 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-11T16:31:46 < dongs> k useless. time to setup i2c 2012-12-11T16:32:59 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-11T16:33:03 < dongs> should I use it in IRQ mode? 2012-12-11T16:33:06 < dongs> or the same while(1) thign 2012-12-11T16:33:53 < zyp> which one were working with that other master? 2012-12-11T16:34:21 < dongs> either one 2012-12-11T16:34:46 < dongs> bool scl = get_scl(); bool sda = get_sda(); 2012-12-11T16:34:47 < dongs> ugh 2012-12-11T16:34:50 < dongs> this is a fail 2012-12-11T16:34:51 < dongs> in C 2012-12-11T16:35:54 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-11T16:36:28 < zyp> valid C99 2012-12-11T16:36:35 < dongs> not valid C 2012-12-11T16:36:42 < zyp> C99 is C 2012-12-11T16:36:51 < dongs> declaring shit in the middle of function is laziness 2012-12-11T16:36:56 < emeb_mac> morninks 2012-12-11T16:37:03 < zyp> C99 has been C for around 13 years or so 2012-12-11T16:37:15 < zyp> not my fault your compiler vendor isn't keeping up 2012-12-11T16:37:36 < emeb_mac> oh snap! 2012-12-11T16:40:26 < dongs> what the hell 2012-12-11T16:40:39 < dongs> zyp, which 'address' do you do, 7bit or 8bit 2012-12-11T16:41:03 < zyp> 8-bit, leaving rw-bit in 2012-12-11T16:41:36 < zyp> so you can decide if you want it or not based on whether it's a read or a write if you want 2012-12-11T16:42:06 < zyp> hmm 2012-12-11T16:42:20 < zyp> ah 2012-12-11T16:42:23 < zyp> it's all wrong 2012-12-11T16:42:28 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 248 seconds] 2012-12-11T16:42:29 < zyp> no, wait, it's not 2012-12-11T16:42:35 < dongs> http://i.imgur.com/rZdTn.png 2012-12-11T16:43:56 < zyp> are you still always returning true in addr_cb? 2012-12-11T16:44:08 < dongs> oh i see waht you mean 2012-12-11T16:44:11 < dongs> cuz it has the bit 2012-12-11T16:44:32 < dongs> ok now it acks 2012-12-11T16:44:40 < dongs> but read_cb i have it return -x69 2012-12-11T16:44:40 < dongs> but that never happens 2012-12-11T16:45:09 < zyp> hmm, how does the trace look? 2012-12-11T16:45:40 < dongs> http://i.imgur.com/5rs1c.png 2012-12-11T16:46:30 < zyp> ok, hang on 2012-12-11T16:47:09 < zyp> figured it out 2012-12-11T16:47:28 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-11T16:47:39 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-11T16:48:54 < zyp> http://paste.jvnv.net/view/mHzLv 2012-12-11T16:49:04 < zyp> fix in «call addr cb» block 2012-12-11T16:49:12 < zyp> I were clearing data before reading rw bit from it 2012-12-11T16:49:37 < dongs> meh, fix the bool sda/scl thing for next paste 2012-12-11T16:49:40 < dongs> so i can just copypaste it 2012-12-11T16:50:08 < zyp> ok 2012-12-11T16:50:42 < dongs> nice! 2012-12-11T16:50:44 < dongs> works 2012-12-11T16:51:09 < zyp> great 2012-12-11T16:51:17 < dongs> http://i.imgur.com/74L0y.png 2012-12-11T16:51:54 < zyp> wtf is up with scl on that master? 2012-12-11T16:51:59 < dongs> yeah h eh 2012-12-11T16:52:01 < dongs> its software 2012-12-11T16:52:36 < dongs> long buffer read also wokrs 2012-12-11T16:56:20 < zyp> so I guess the question that remains is whether it works on that other master 2012-12-11T16:56:27 < dongs> right 2012-12-11T16:56:32 < dongs> setting that up, sec 2012-12-11T16:56:39 < dongs> http://i.imgur.com/vTdXd.png this is long buffer read 2012-12-11T16:56:40 < dongs> seems OK. 2012-12-11T16:56:45 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-11T16:57:06 < zyp> yes, looks fine 2012-12-11T16:57:40 < zyp> you can see when it's calling callbacks based on when it's stretching scl 2012-12-11T16:58:12 < dongs> kk. lets see what it does with ghettomaster 2012-12-11T16:58:22 < dongs> might have to bring out the dumb saleae clone for capping that one 2012-12-11T17:00:27 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has quit [Ping timeout: 255 seconds] 2012-12-11T17:01:29 < dongs> nope 2012-12-11T17:01:30 < dongs> nothing 2012-12-11T17:01:30 < dongs> hmm 2012-12-11T17:01:33 < dongs> what the hell 2012-12-11T17:01:39 < dongs> o right O3 2012-12-11T17:03:09 < Thorn> I need to switch ~220V, <0.1A, what do I use? (preferably something semiconductor, don't want a Chinese relay) 2012-12-11T17:03:54 < zyp> AC? 2012-12-11T17:04:02 < Thorn> yes 2012-12-11T17:04:03 < zyp> i.e. normal european mains? 2012-12-11T17:04:07 < Thorn> yes 2012-12-11T17:04:09 < dongs> just use a random ebay SSR? 2012-12-11T17:04:13 < dongs> they're liek $5 2012-12-11T17:04:37 < Thorn> are they much better than random ebay electromechanical relays? 2012-12-11T17:04:42 < zyp> SSRs are nice 2012-12-11T17:04:43 < zyp> yes 2012-12-11T17:04:45 < Thorn> wrt reliability 2012-12-11T17:04:54 < Thorn> okay will look at those thanks 2012-12-11T17:04:58 < dongs> http://www.ebay.com/itm/120770546762 2012-12-11T17:04:59 < dongs> this shit 2012-12-11T17:05:10 < dongs> hkiron might have htem cheaper 2012-12-11T17:05:35 < dongs> they have 5/10 packs for almost nothing 2012-12-11T17:05:40 < zyp> I'm using something like that for power to the speakers that I have hooked up to my tv 2012-12-11T17:06:26 < zyp> and then I just power it from the dumb usb port on the tv, so they go on when the tv goes on 2012-12-11T17:07:57 < dongs> haha 2012-12-11T17:10:02 < dongs> ok hm 2012-12-11T17:10:04 < dongs> shit stil lcrashes 2012-12-11T17:10:07 < dongs> and does nothign 2012-12-11T17:10:15 < dongs> time for saleae 2012-12-11T17:10:18 < dongs> so i can log it from start 2012-12-11T17:10:21 < zyp> crashes, or just doesn't do anything? 2012-12-11T17:11:08 < dongs> doesnt do anythign 2012-12-11T17:11:51 < zyp> do you get anything at all if you trigger on the extra scl/sda lines? 2012-12-11T17:12:28 < dongs> huh 2012-12-11T17:12:31 < dongs> yeah thats what i just tried 2012-12-11T17:12:45 < zyp> sounds like it can't find a start condition then 2012-12-11T17:12:46 < dongs> sec 2012-12-11T17:13:19 < dongs> http://i.imgur.com/DsU8g.png 2012-12-11T17:13:37 < karlp> Thorn: what about http://www.digikey.com/product-detail/en/CPC1025NTR/CLA234CT-ND/1212845 2012-12-11T17:13:42 < karlp> if you really only need low currents 2012-12-11T17:14:07 < dongs> ha 2012-12-11T17:14:20 < karlp> clare has a whole line of them with different on resistances if that matters 2012-12-11T17:15:22 < Thorn> 1.2VDC control voltage sounds nice 2012-12-11T17:15:35 < zyp> dongs, looks like it's too slow 2012-12-11T17:15:56 < dongs> rlly? 2012-12-11T17:15:59 < dongs> thats evne -O3 2012-12-11T17:16:11 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-11T17:16:50 < zyp> look at when it's outputting data 2012-12-11T17:17:01 < dongs> like a clock later? 2012-12-11T17:17:12 < dongs> btw this is not the FIRST read. 2012-12-11T17:17:14 < karlp> panasonic makes some with a range of current loads too, AQ-H, rated to 600V 2012-12-11T17:17:17 < dongs> this is after ike ~20 transactions 2012-12-11T17:17:24 < dongs> where it naks all 2012-12-11T17:17:26 < dongs> and doesnt do anythign 2012-12-11T17:17:28 < zyp> that doesn't matter 2012-12-11T17:17:46 < dongs> are you saying 200kHz i2c is too slow? 2012-12-11T17:17:48 < dongs> err too fast 2012-12-11T17:18:02 < dongs> for a 72mhz micro 2012-12-11T17:18:56 < dongs> hmm 2012-12-11T17:19:01 < dongs> 5us is 359 clock cycles 2012-12-11T17:19:03 < dongs> @ 72mhz 2012-12-11T17:19:20 < zyp> yes 2012-12-11T17:19:24 < dongs> thats not a lot @_@ 2012-12-11T17:19:50 < zyp> and you have to process it in half that, since you process both positive and negative edges 2012-12-11T17:22:42 < dongs> hmmm 2012-12-11T17:22:44 < dongs> -O doesnt matter 2012-12-11T17:22:50 < dongs> it responds exactly same slow 2012-12-11T17:22:56 < dongs> are you sure some other shit isnt trippin it up? 2012-12-11T17:24:06 < zyp> unsure 2012-12-11T17:25:05 -!- Netsplit *.net <-> *.split quits: scrts, tkoskine 2012-12-11T17:25:30 < zyp> try adding another gpio, setting it high when start is detected and low when you go to idle or ignore mode 2012-12-11T17:26:10 -!- Netsplit over, joins: scrts, tkoskine 2012-12-11T17:28:49 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-11T17:30:58 -!- Netsplit *.net <-> *.split quits: scrts, tkoskine 2012-12-11T17:31:54 < dongs> hmm 2012-12-11T17:32:00 < dongs> ok 2012-12-11T17:32:08 -!- Netsplit over, joins: scrts, tkoskine 2012-12-11T17:32:11 < dongs> or ill just reuse the SDA One 2012-12-11T17:32:14 < dongs> since its not interesting 2012-12-11T17:32:16 < dongs> (mirror2) 2012-12-11T17:33:11 < dongs> // got start condition 2012-12-11T17:33:12 < dongs> here? 2012-12-11T17:35:49 < dongs> um 2012-12-11T17:35:51 < dongs> it looks ok? 2012-12-11T17:35:54 < dongs> it finds start... 2012-12-11T17:36:28 < dongs> http://i.imgur.com/E8bRS.png 2012-12-11T17:40:05 -!- dan2003 [~quassel@213.123.193.101] has joined ##stm32 2012-12-11T17:40:29 < Laurenceb> i2c is fun 2012-12-11T17:40:33 < Laurenceb> amirite? 2012-12-11T17:40:36 < dongs> urite 2012-12-11T17:40:50 < dongs> but i think you meant 2012-12-11T17:40:53 < dongs> < Laurenceb> i2c is gay 2012-12-11T17:41:51 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-11T17:42:04 < dongs> fucking chinks 2012-12-11T17:42:13 < dongs> included a mini B cable with the saleae clone.. 2012-12-11T17:42:25 < dongs> socket on clone: the huge square shit 2012-12-11T17:42:36 < emeb> lol 2012-12-11T17:42:57 < emeb> I've had bad luck w/ freebie USB cables from chinese sources. 2012-12-11T17:43:17 < emeb> the ones DX sends with cheap USB/Serial dongles don't work at all. 2012-12-11T17:47:19 < dongs> zyp: any idea w/start sense stuff? 2012-12-11T17:49:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-11T17:49:51 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-11T17:49:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-11T17:49:54 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-11T17:50:37 < dongs> usbeeDX.. unsigned installer.. 2012-12-11T17:50:44 < dongs> great.. you'd think for $1k they're charging it they'd be signing it 2012-12-11T17:51:57 <+Steffanx> Like that signing crap is necessary :P 2012-12-11T17:52:14 < dongs> ,,,. 2012-12-11T17:52:56 < dongs> Note: The USBee Suite download DOES NOT include the drivers. You MUST download and install the USBee software in the USBee DX, USBee AX, USBee ZX, BusBee, or USBee SX sections below to get the USB drivers for your device. Then you can download the USBee Suite that will run on top of those drivers. 2012-12-11T17:53:02 < dongs> what hte fuck does htis mean 2012-12-11T17:54:02 <+Steffanx> Download the USBee software, install, download usb suite, install suite 2012-12-11T17:54:25 <+Steffanx> but now i sound like captain obvious 2012-12-11T17:54:27 < emeb> don't try to _download_ before you have the drivers installed - that way lies madness. 2012-12-11T17:54:37 < dongs> there is no link to drivers. 2012-12-11T17:54:39 < dongs> anywhere. 2012-12-11T17:54:44 < dongs> i already installed some usbeeDX suite shit 2012-12-11T17:54:48 < dongs> fucking bullshit 2012-12-11T17:54:51 < dongs> im glad i only paid $80 for hte clone 2012-12-11T17:55:27 < dongs> looks like this shit has a I2C master in it too 2012-12-11T17:55:30 < dongs> that might be handy 2012-12-11T17:58:10 < emeb> damn - those USBee things are $$$ 2012-12-11T17:59:17 < emeb> wonder what they do that you can't do w/ a saleae? 2012-12-11T17:59:36 < dongs> apparently nothign 2012-12-11T17:59:39 < dongs> cuz i cant even find a fucking driver 2012-12-11T17:59:43 < dongs> i installed both suite 2012-12-11T17:59:45 < dongs> and usbee DX pod shit 2012-12-11T17:59:48 < dongs> neither includes drivers 2012-12-11T17:59:50 < dongs> fucking failware 2012-12-11T18:00:11 < emeb> did you get this: http://www.usbee.com/dxswa.zip 2012-12-11T18:00:15 < dongs> yes 2012-12-11T18:00:17 < dongs> and the other one 2012-12-11T18:00:53 < emeb> and windows didn't ask for drivers when you plugged it in? 2012-12-11T18:01:03 < dongs> of course it did, both unknown devices 2012-12-11T18:01:16 < dongs> they didnt preload drivers into driver cache, but they're not in the insdtall directory either 2012-12-11T18:02:30 < dongs> ugh what he ufck is this shit 2012-12-11T18:03:36 < zyp> dongs, I bet it's triggering on sda but doesn't service it until scl has went high again, and therefore misinterprets it as a stop condition 2012-12-11T18:03:58 < dongs> so, > too slow reason? 2012-12-11T18:04:19 < zyp> I can't see any other reason 2012-12-11T18:04:23 < dongs> hmm. 2012-12-11T18:04:25 < dongs> overclock time 2012-12-11T18:04:52 < zyp> hmm 2012-12-11T18:05:01 < zyp> time to test my usb fix 2012-12-11T18:05:37 < dongs> reofl 2012-12-11T18:05:38 < dongs> it works 2012-12-11T18:05:46 < emeb> what'd you do? 2012-12-11T18:05:50 < dongs> 128mhz 2012-12-11T18:06:03 < emeb> overclocker 2012-12-11T18:07:58 < zyp> ok, confirmed that I'm dumb, usb now works 2012-12-11T18:08:19 < gxti> dongs: better break out the liquid cooling 2012-12-11T18:09:28 < zyp> http://bin.jvnv.net/f/mD2Gp.png 2012-12-11T18:11:07 < emeb> so it was just the buffer size/offset thing? 2012-12-11T18:11:34 < Laurenceb> what the hell are you making? 2012-12-11T18:11:36 < zyp> yes 2012-12-11T18:11:51 < dongs> ha 2012-12-11T18:11:55 < dongs> zyp: , it works all 2012-12-11T18:11:56 < Laurenceb> zyp: lulz 2012-12-11T18:11:59 < Laurenceb> too slowww 2012-12-11T18:12:13 < dongs> at 128mhz 2012-12-11T18:12:13 < dongs> hmm 2012-12-11T18:12:18 < Laurenceb> let me know when you get sustained 825KB/s 2012-12-11T18:12:28 < Laurenceb> dongs: why the fast i2c? 2012-12-11T18:12:42 < dongs> wat 2012-12-11T18:12:49 < dongs> no im doing software i2c >slave< 2012-12-11T18:12:51 < Laurenceb> oh 2012-12-11T18:13:01 < Laurenceb> for leds? 2012-12-11T18:13:02 < dongs> or rather, zyp is doing it, and im testing 2012-12-11T18:13:04 < dongs> haha no 2012-12-11T18:13:14 < dongs> but it seems 2012-12-11T18:13:19 < dongs> stm32 is too slow at 72mhz 2012-12-11T18:13:23 < dongs> to do 200khz i2c slave 2012-12-11T18:13:25 < Laurenceb> wtf for? 2012-12-11T18:13:28 < Laurenceb> lol 2012-12-11T18:13:29 < dongs> or zyps code sucks :p 2012-12-11T18:13:30 -!- gurgalof [~gurgalof@dhcp-238-121.nomad.chalmers.se] has joined ##stm32 2012-12-11T18:13:30 < Laurenceb> wut 2012-12-11T18:13:38 < zyp> dongs, or your compiler :p 2012-12-11T18:13:46 < Laurenceb> do you use any hardware? 2012-12-11T18:13:51 < Laurenceb> or just gpio 2012-12-11T18:13:54 < dongs> zyp, no way 2012-12-11T18:13:54 < dongs> gpio 2012-12-11T18:13:58 < Laurenceb> eww 2012-12-11T18:14:07 < gxti> why are you doing bitbang 2012-12-11T18:14:09 < Laurenceb> wtf 2012-12-11T18:14:13 < gxti> bitbang is for chumps 2012-12-11T18:14:17 < Laurenceb> how can i possibly be to slow 2012-12-11T18:14:19 < emeb> bitbanging so hard it's NSFW 2012-12-11T18:14:22 < dongs> i did 128mhz = works 100% 2012-12-11T18:14:29 < dongs> pll*16 2012-12-11T18:14:32 < dongs> i did *9 = no go 2012-12-11T18:14:37 < dongs> 14 = marginal 2012-12-11T18:14:40 < dongs> sometimes works sometimes doenst 2012-12-11T18:14:48 < dongs> this is with -O3 -Otime 2012-12-11T18:15:05 < dongs> Laurenceb: 200kHz is 5us 2012-12-11T18:15:06 < gxti> what about -Os? 2012-12-11T18:15:09 < dongs> thats ~350 cycles 2012-12-11T18:15:10 < Laurenceb> 360clk/cycle 2012-12-11T18:15:11 < Laurenceb> wtf 2012-12-11T18:15:12 < dongs> gxti: this is not gcc 2012-12-11T18:15:19 < gxti> lame 2012-12-11T18:15:22 < dongs> Laurenceb: but i think you have to reply in 1/2 that 2012-12-11T18:15:28 < Laurenceb> oh 2012-12-11T18:15:31 < dongs> gxti: dont worry, im sure the code is much faster htan gcc can everp roduce. 2012-12-11T18:15:39 < gxti> k 2012-12-11T18:15:42 < Laurenceb> well work out beforehand if you have to reply 2012-12-11T18:15:44 <+Steffanx> gxti, he prefers closed sores 2012-12-11T18:15:46 < zyp> Laurenceb, 825 KB/s? sounds easy to beat 2012-12-11T18:15:58 < Laurenceb> on spi sd 2012-12-11T18:16:01 < Laurenceb> to usb 2012-12-11T18:16:07 < jpa-> easy to beat by 10%? :P 2012-12-11T18:16:14 <+Steffanx> 0.1 2012-12-11T18:16:22 < dongs> that macfag app probably measures in KIBIBYTES 2012-12-11T18:16:23 < Laurenceb> % 2012-12-11T18:16:37 < gxti> Steffanx: ubi pus, ibi evacua 2012-12-11T18:16:38 < dongs> or whatever is the faggot measuremetn where 1000 = 1K 2012-12-11T18:16:48 < jpa-> readahead for the SD access would probably be an improvement 2012-12-11T18:16:52 < zyp> I'm doing >1MB/s over USB, the only problem is that it's waiting every eight packets for another block from the slow SDSC card :p 2012-12-11T18:16:52 < gxti> dongs: other way around, kibibytes are 1024 2012-12-11T18:17:00 < dongs> gxti: yea whatever, same shit 2012-12-11T18:17:06 <+Steffanx> I don't speak that language, sorry gxti 2012-12-11T18:17:21 < dongs> well, fuck 2012-12-11T18:17:27 < dongs> overclocking is kinda lame 2012-12-11T18:17:36 < gxti> to the maxxxx 2012-12-11T18:17:47 < dongs> i mean its only 72>128mhz 2012-12-11T18:17:55 < gxti> MAXXXXX 2012-12-11T18:17:57 < dongs> but still. 2012-12-11T18:18:04 < dongs> i had shit running at 144 before. 2012-12-11T18:18:10 < gxti> 4ghz on air 2012-12-11T18:18:10 < dongs> with 12mhz xtal. 2012-12-11T18:18:25 -!- L00NG [~longxk@110.52.157.65] has joined ##stm32 2012-12-11T18:20:17 < dongs> well, zyp, since it works, time to get paid, but then we gotta figure out how to run it at 72mhz :) 2012-12-11T18:20:22 < dongs> msg me your infos 2012-12-11T18:21:27 < zyp> just subtract it from whatever I'm gonna owe you for the boards and stencils I want 2012-12-11T18:22:25 < dongs> haha 2012-12-11T18:22:27 < dongs> hmm, ok better numbers 2012-12-11T18:22:30 < dongs> pll*11 = marginal 2012-12-11T18:22:32 < dongs> *12 = stable 2012-12-11T18:23:19 < dongs> whats the time critical part? 2012-12-11T18:23:22 < dongs> that fucks it up 2012-12-11T18:23:37 < dongs> the ack? 2012-12-11T18:25:22 < emeb> dongs: that email you gave me good for paypal? 2012-12-11T18:25:24 < zyp> the entire thing is pretty time critical 2012-12-11T18:25:42 < dongs> hmm 2012-12-11T18:25:56 -!- L00NG [~longxk@110.52.157.65] has quit [Quit: 离开] 2012-12-11T18:26:18 < zyp> but it could probably be rewritten a fair bit to optimize it 2012-12-11T18:26:36 < zyp> and maybe add more clock stretching 2012-12-11T18:26:38 < dongs> i think shit like get_* can be inlined 2012-12-11T18:26:49 < dongs> i dont think the master supports clock stretch 2012-12-11T18:26:58 < dongs> even if it did, shouldnt use it 2012-12-11T18:28:02 < zyp> then you'd better not take too much time in the callbacks :p 2012-12-11T18:28:23 < zyp> what is this for? what are you going to emulate? 2012-12-11T18:28:32 < dongs> ya thats not problem 2012-12-11T18:31:55 < dongs> seems to be working ok i guess.. 2012-12-11T18:32:17 < dongs> at 128 2012-12-11T18:34:30 < dongs> ill start implementing protocol and see how that works out 2012-12-11T18:34:42 < dongs> .. after sleep. 2012-12-11T18:37:19 < dongs> btw, 11:23 < dongs> http://www.ebay.com/itm/300811570785 anyoen want a new phone | http://bcas.tv/paste/results/H7KtBe40.html 2012-12-11T18:43:07 < zyp> ha 2012-12-11T18:43:07 < emeb> trolled 2012-12-11T18:47:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-11T18:52:34 < dongs> for 4.odd k i would have taken the offer. 2012-12-11T18:52:44 < dongs> even first class to tokyo from u.s. is less than that. 2012-12-11T18:54:40 < zyp> yeah 2012-12-11T18:55:14 < emeb> perhaps they suspected a ruse 2012-12-11T18:55:31 < zyp> the tickets to japan I bought for my next trip were $850 round-trip from norway 2012-12-11T18:55:38 < dongs> fuck YOU 2012-12-11T18:55:51 < emeb> that's cheap 2012-12-11T18:55:54 < dongs> no shit 2012-12-11T18:55:59 < zyp> that's why I bought them 2012-12-11T18:56:20 < dongs> thats about how much it'd cost me to fly to tokyo if I went to the airport right now and got on next flight 2012-12-11T18:56:44 < dongs> on jal or some other dumbfuck overpriced airline 2012-12-11T18:56:47 <+Steffanx> and that's something you want to do? 2012-12-11T18:56:47 < emeb> airfare is black magic 2012-12-11T18:56:49 < zyp> the ones for this summer were $1100 round-trip 2012-12-11T18:56:58 < dongs> rage. 2012-12-11T18:57:09 < emeb> zyp: why you going to JP so much? 2012-12-11T18:57:17 <+Steffanx> much lol 2012-12-11T18:57:32 < emeb> to buy anime figurines 2012-12-11T18:57:35 < dongs> he's checking on his used panty vending machines 2012-12-11T18:57:40 < zyp> emeb, why not? :) 2012-12-11T18:57:40 < dongs> that he runs there. 2012-12-11T18:57:51 < zyp> heh 2012-12-11T18:57:53 < emeb> zyp: you make a valid point 2012-12-11T18:57:57 <+Steffanx> I bet you tried his panties dongs 2012-12-11T18:58:01 < dongs> hmm i think exti way stopped working 2012-12-11T18:59:06 < dongs> o no it works 2012-12-11T18:59:13 < emeb> a rift in the time-space continuum has caused exti to be invalid. 2012-12-11T18:59:36 < zyp> I think exti way has more overhead, due to interrupt entry/exit 2012-12-11T19:00:00 < dongs> exti way doesnt work < pll816 2012-12-11T19:00:01 < dongs> yep 2012-12-11T19:00:11 < dongs> at 128 it works, below that = no go 2012-12-11T19:02:05 < zyp> loop way can probably be made significantly faster by combining loop and changed-functions in one block, removing unnecessary get_* calls 2012-12-11T19:02:29 < zyp> and unnecessary checks/branches 2012-12-11T19:06:44 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2012-12-11T19:13:40 <+Steffanx> Hmm, when Titan joins to say interrupts are THA way to go.. polling is bad etc. ? :) 2012-12-11T19:13:47 <+Steffanx> *;) 2012-12-11T19:14:58 < zyp> :p 2012-12-11T19:15:54 < dongs> k gonna run this overnight at 128mhz and see if it'll burn the house down 2012-12-11T19:16:18 <+Steffanx> gn 2012-12-11T19:16:30 <+Steffanx> When you quit your house burnt down? 2012-12-11T19:16:35 <+Steffanx> *have a timeout 2012-12-11T19:17:05 <+Steffanx> burned or whatever 2012-12-11T19:17:56 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has joined ##stm32 2012-12-11T19:26:04 < karlp> who owns this bcas.tv place? 2012-12-11T19:26:35 < karlp> bcas is somet japan tv thing, but that's all I can find out 2012-12-11T19:26:47 < zyp> I guess it's one of dongs' domains 2012-12-11T19:26:54 <+Steffanx> Yeah me too 2012-12-11T19:27:06 < zyp> maybe leftover from some earlier project 2012-12-11T19:27:09 < karlp> no ads, but no "toss this paste in a few minutes/days" option 2012-12-11T19:27:44 <+Steffanx> Dongs is the only one who uses it :) 2012-12-11T19:28:31 < karlp> pastebay let's you ahve subdomains magically 2012-12-11T19:29:13 <+Steffanx> It's from dongs: http://bcas.tv/paste/results/remove.php?p=xToE9w26&t=311450e6e52f5a054684d77d559bda3ed6ba1f8b :P 2012-12-11T19:29:23 < karlp> http://loldongs.pastebay.net/ 2012-12-11T19:29:37 < karlp> Steffanx: hehe 2012-12-11T19:29:59 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Read error: Operation timed out] 2012-12-11T19:30:26 < karlp> also, diffs: http://loldongs.pastebay.net/pastebay.php?diff=1163105 2012-12-11T19:31:30 < zyp> I prefer paste.jvnv.net :p 2012-12-11T19:32:34 <+Steffanx> like it matters 2012-12-11T19:32:49 <+Steffanx> Except for that you own the db 2012-12-11T19:33:36 < zyp> I think we made it because we got fed up with all the bullshit on other pastebins 2012-12-11T19:34:02 <+Steffanx> You mean the shitload of ads? 2012-12-11T19:38:08 < karlp> well, thereðs also fedpaste/ubuntupaste debpaste and so on and so on... 2012-12-11T19:38:14 < karlp> which all have way less ads 2012-12-11T19:38:16 < karlp> if any 2012-12-11T19:38:56 < zyp> but were they around three years ago? 2012-12-11T19:40:41 < karlp> I have zero cares :) 2012-12-11T19:40:57 * Steffanx gives karlp a care 2012-12-11T19:41:15 < karlp> pagekite file name.blah.pagekite.me and it's served straight off your local disk.. 2012-12-11T19:44:20 < zyp> I tend to just use «python -m SimpleHTTPServer» for serving up local stuff 2012-12-11T19:44:38 < karlp> pagekite goes through nat gateways 2012-12-11T19:44:48 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Remote host closed the connection] 2012-12-11T19:44:48 < karlp> I use python's simple server for local stuff too. 2012-12-11T19:44:55 < zyp> that's not a concern for me, I'm not behind NAT 2012-12-11T19:45:13 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-11T19:45:14 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-11T19:46:09 < zyp> I realized that I don't really have any reason to use NAT when my ISP happily assigns me several IPs 2012-12-11T19:46:39 <+Steffanx> me neither 2012-12-11T19:47:26 < zyp> and this alix thing I was using as a router became a bottleneck when my ISP increased their speeds 2012-12-11T19:48:02 <+Steffanx> Increased to > 100mbit? 2012-12-11T19:48:11 < zyp> no, 70 2012-12-11T19:48:49 < zyp> but I only get 40-50 through the alix 2012-12-11T19:49:06 <+Steffanx> Here we've finally 10 times what we had before 2012-12-11T19:49:17 <+Steffanx> So 40 and no longer 'slowish' 4mbit 2012-12-11T19:49:28 < zyp> :) 2012-12-11T19:49:41 <+Steffanx> Different isp :) 2012-12-11T19:50:11 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-11T19:55:47 < emeb> so what, you're machines are wide open to the evil net? 2012-12-11T19:58:33 < zyp> should that be a point of concern? 2012-12-11T20:00:17 -!- dan2003 [~quassel@213.123.193.101] has quit [Ping timeout: 252 seconds] 2012-12-11T20:02:37 < emeb> nah - if you've got good firewalls then why worry 2012-12-11T20:03:30 < emeb> just remembering when I had an ssh port open to the wide world - looking at how many times / day someone tried to get into it. 2012-12-11T20:04:37 < zyp> I usually make it a point to always have ssh ports open on all my machines 2012-12-11T20:05:11 < emeb> it's handy 2012-12-11T20:05:45 < emeb> behind my router I do too, and since I'm rarely away from behind my router it's not an issue. 2012-12-11T20:06:08 < zyp> well, it's not like my passwords are weak enough to worry about that 2012-12-11T20:06:45 < zyp> and sshd itself is probably one of the most secure services you can run :p 2012-12-11T20:07:54 < gxti> i move publically reachable ssh to a nonstandard port just to keep the bots from spamming my logfiles 2012-12-11T20:09:37 < emeb> does that work? wouldn't portscanning kind of eliminate the benefit? 2012-12-11T20:09:40 < karlp> just don't log it :) 2012-12-11T20:09:47 < cdh> If you're using sshd on Linux, check out sshdfilter. It'll watch your logs and if it sees signs of a bot attach, it'll use iptables to block that site. The amount of time is configurable. Mine is set to 3 days. 2012-12-11T20:10:00 < emeb> karlp: la la la la I can't hear youuuuu... 2012-12-11T20:12:22 < emeb> zyp: I'd like to try your usb/sd stuff out on my stm32f4 + codec board. Is it just in laks demo? 2012-12-11T20:12:33 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-11T20:12:45 < zyp> emeb, hang on 2012-12-11T20:13:04 < emeb> sure 2012-12-11T20:13:24 < emeb> I've got this board w/ USB & uSD on it that I've never tried. Time to see if they work. 2012-12-11T20:13:39 < emeb> Sounds like your code is the shortest path to that. 2012-12-11T20:13:45 < zyp> there, grab the temp_usb_msc branch 2012-12-11T20:14:24 < zyp> dunno if SDHC currently works, I'm running with SDSC now 2012-12-11T20:14:42 < zyp> and it's hardcoded to report 1 GiB 2012-12-11T20:17:10 < zyp> hmm, it just played through the entire video file I was testing with without any problems 2012-12-11T20:17:15 < emeb> cool. got it - I'll try it out later. 2012-12-11T20:18:42 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-11T20:20:00 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-11T20:20:55 < emeb> probably need to tweak the gpio for my boards routing, but otherwise shouldn't be too hard to do... 2012-12-11T20:21:21 < zyp> yeah, I'm not using anything except OTG_FS and SDIO 2012-12-11T20:21:31 < zyp> and OTG_FS has only one mapping :p 2012-12-11T20:22:29 < zyp> and for SDIO you'll find sdio_pins in the top of the file 2012-12-11T20:22:38 < emeb> great. 2012-12-11T20:22:40 < zyp> just change the names in that list if required 2012-12-11T20:23:09 < emeb> my board uses a 68-pin part, not whatever your waveshare has. 2012-12-11T20:23:23 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Client Quit] 2012-12-11T20:23:33 < zyp> 64, I assume? 2012-12-11T20:23:45 < zyp> well, I'm using PC8-12 and PD2 2012-12-11T20:24:03 < zyp> they are available on 64qfp 2012-12-11T20:24:16 < emeb> yeah - here: http://ebrombaugh.studionebula.com/synth/stm32f4_codec/stm32f4_codec_pg1.pdf 2012-12-11T20:24:44 < emeb> pc8-12 too 2012-12-11T20:25:10 < emeb> 8MHz xtal - same as ws? 2012-12-11T20:25:17 < zyp> yep 2012-12-11T20:25:31 < emeb> good - won't have to futz with the clock setup 2012-12-11T20:26:09 < zyp> I don't think I have anything that's not running from an 8MHz clock 2012-12-11T20:26:29 < emeb> I've got both SPI and SDIO hooked to the uSD socket, but the SPI pins should be hi-z unless your code does something with them. 2012-12-11T20:26:55 < zyp> I'm not touching any other pins, so that's probably fine 2012-12-11T20:27:07 < emeb> any LED status? 2012-12-11T20:27:14 < zyp> no 2012-12-11T20:27:47 < zyp> I prefer logging stuff internally rather than blinking leds :) 2012-12-11T20:27:47 < emeb> sounds like it should "just work" except for tweaking the scons stuff for gcc 4.6 2012-12-11T20:28:01 < zyp> yep 2012-12-11T20:28:23 * emeb likes blinking leds 2012-12-11T20:28:33 < zyp> I suggest booting without usb connected, halting and checking sd_rblog to check if the card was detected and enumerated properly 2012-12-11T20:28:47 < emeb> good idea 2012-12-11T20:29:12 < jpa-> your chip has its own blog? :D 2012-12-11T20:29:39 < emeb> I want to subscribe to its RSS feed 2012-12-11T20:29:44 < zyp> jpa-, two of them :p 2012-12-11T20:29:46 < zyp> http://paste.jvnv.net/view/ZR6T7 2012-12-11T20:32:13 < zyp> if you see any STA=0x4 it means command is timing out, that's not a good sign :p 2012-12-11T20:32:44 < emeb> hmmm... 2012-12-11T20:32:45 < zyp> and if it is, you'll probably get stuck in the CMD55, CMD41 loop 2012-12-11T20:32:59 < emeb> fixed -std=c++0x & ran scons. got this: 2012-12-11T20:33:13 < emeb> main.cpp:465:5: error: 'class Pin' has no member named 'set_speed' 2012-12-11T20:33:25 < zyp> git submodule update 2012-12-11T20:34:02 < zyp> which will not like your build_rules changes, of course :p 2012-12-11T20:34:09 < emeb> heh 2012-12-11T20:34:47 < emeb> better 2012-12-11T20:35:29 < emeb> funny - did git submodule update before switching to the temp_msc branch. 2012-12-11T20:36:06 < zyp> you need to run update after checking out a revision to get the submodule revision that's referred to in that revision 2012-12-11T20:36:13 < emeb> makes sense 2012-12-11T20:36:45 < zyp> yeah, and after you get used to it, it's pretty pleasant to work with 2012-12-11T20:38:07 * emeb is still in the "getting used to it" phase 2012-12-11T20:38:41 < zyp> I assume you're not too old to learn something new? :p 2012-12-11T20:38:52 < emeb> I hope to never be that old 2012-12-11T20:39:48 < zyp> hmm 2012-12-11T20:40:43 < zyp> https://launchpad.net/gcc-arm-embedded/+milestone/4.7-2012-q4-major <- if it weren't for this I'd fix the build_rules to work fine with 4.6 2012-12-11T20:41:30 < zyp> it just seems pointless when 4.7 will be readily available for anyone in a few weeks 2012-12-11T20:45:01 < emeb> hmm... Program received signal SIGSEGV, Segmentation fault 2012-12-11T20:47:22 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-11T20:47:27 < emeb> ok - reloaded and it runs w/o segfault. 2012-12-11T20:47:41 < emeb> how to view the log w/o python again? 2012-12-11T20:48:20 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-11T20:48:30 < emeb> ah - print sd_rblog 2012-12-11T20:49:16 < emeb> yep - stuck in 55/41 loop 2012-12-11T21:03:02 < emeb> does the same thing w/ no card in the slot. So must be something wrong with my HW. :( 2012-12-11T21:04:19 < zyp> or my SDSC handling 2012-12-11T21:04:25 < zyp> SDHC* 2012-12-11T21:04:36 < zyp> how large is the card you are testing with? 2012-12-11T21:04:51 < emeb> 4GB. Just the first thing I grabbed. 2012-12-11T21:04:59 < zyp> so SDHC 2012-12-11T21:05:02 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-11T21:05:09 < zyp> let me try with SDHC here 2012-12-11T21:05:12 < emeb> I'll see if I've got a smaller one around. 2012-12-11T21:05:28 <+Steffanx> Everyone has one of this 32mb cards :P 2012-12-11T21:05:37 <+Steffanx> *those 2012-12-11T21:05:38 < zyp> not in micro 2012-12-11T21:05:46 <+Steffanx> oh, micro :( 2012-12-11T21:06:39 < gxti> SD low capacity, 640K and below 2012-12-11T21:07:10 < emeb> hmm. Used a 1GB card and same result 2012-12-11T21:07:38 < zyp> my sdhc card here is enumerating, it's just not reliably being read 2012-12-11T21:08:23 < emeb> double check my circuit 2012-12-11T21:09:10 < zyp> you should get past ACMD41 (CMD55, CMD41) with just clock and cmd hooked up 2012-12-11T21:09:15 <+Steffanx> C++ .. 2012-12-11T21:09:20 <+Steffanx> nvm ignore me :P 2012-12-11T21:12:54 < emeb> tried other board & same result. 2012-12-11T21:13:09 < emeb> likely not just simple soldering issue... 2012-12-11T21:13:37 < zyp> well, my code is not exactly stable :p 2012-12-11T21:14:08 < emeb> we'll converge... 2012-12-11T21:14:58 < zyp> oh, wait 2012-12-11T21:15:33 < zyp> hmm, no 2012-12-11T21:17:54 < emeb> checking continuity vs sd pinout & STM32 pins 2012-12-11T21:20:05 -!- rlc_ [63ed50cf@gateway/web/freenode/ip.99.237.80.207] has joined ##stm32 2012-12-11T21:20:21 < zyp> try commenting out lines 89 and 94 in main.cpp (the do and while statements) and try again 2012-12-11T21:20:50 < zyp> so the beginning of sd_rblog doesn't get overwritten 2012-12-11T21:21:01 < rlc_> hi, any worked with the standard pheripheral library? 2012-12-11T21:21:07 < zyp> then pastebin the contents of it, so I can have a look 2012-12-11T21:23:00 < zyp> rlc_, some use it, some avoid it 2012-12-11T21:23:01 < emeb> http://pastebin.com/cVpVMQzm 2012-12-11T21:23:11 < zyp> rlc_, I suggest you just state your question/problem 2012-12-11T21:23:41 < rlc_> I'm having trouble to find where to locate this function: RCC_AHBPeriphClockCmd() 2012-12-11T21:23:56 < jpa-> grep -r RCC_AHBPeriphClockCmd your_lib_dir 2012-12-11T21:24:12 < rlc_> I'm using IAR 2012-12-11T21:24:19 <+Steffanx> windows jpa- :P 2012-12-11T21:24:31 < jpa-> well use the windows explorer search functionality 2012-12-11T21:24:46 < rlc_> ok, will try 2012-12-11T21:24:48 < emeb> watch the puppy wag its tail 2012-12-11T21:25:56 < zyp> emeb, hmm, something is working 2012-12-11T21:26:03 < emeb> Oh? 2012-12-11T21:26:07 <+Steffanx> google told me it's here https://github.com/Laurenceb/STM32-Logger/blob/master/lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_rcc.c :P 2012-12-11T21:26:27 < zyp> emeb, it's just a bit hard to read the log like that, can't you get a better gdb? :p 2012-12-11T21:26:28 <+Steffanx> ^^ almost the first hit when you search for "RCC_AHBPeriphClockCmd github" :) 2012-12-11T21:26:34 < jpa-> all your functions are belong to Laurenceb 2012-12-11T21:26:54 < emeb> zyp: that's the linux toolchain from launchpad - no python. 2012-12-11T21:27:01 < zyp> not true 2012-12-11T21:27:06 < emeb> I guess I'd have to recompile? 2012-12-11T21:27:07 < zyp> mine has python 2012-12-11T21:27:22 < zyp> hmm, maybe it's detected during compile time 2012-12-11T21:27:39 < zyp> because the one I compiled got python support 2012-12-11T21:27:40 < rlc_> mmm, I'm using stm32f4 discovery board, so I don't have stm32f10x_rcc.c 2012-12-11T21:28:00 < zyp> rlc_, then you probably have stm32f40x_rcc.c instead 2012-12-11T21:28:03 < emeb> zyp: yeah - I downloaded binaries 2012-12-11T21:28:15 < rlc_> zyp: : yep, but it's not there 2012-12-11T21:28:15 < zyp> ah 2012-12-11T21:28:39 < zyp> emeb, well, you can just compile the gdb by itself 2012-12-11T21:28:40 < jpa-> rlc_: so do you have the other stm32f40x_*.c stuff? 2012-12-11T21:28:46 < zyp> you don't need to compile the rest of the toolchain 2012-12-11T21:29:15 < emeb> zyp: Good idea. I'll grab the "sores" and give that a shot later. 2012-12-11T21:29:22 < emeb> what did you see in the ugly log? 2012-12-11T21:30:16 < zyp> I see some commands returning what looks like sane values, and then it attempts a data transfer but fails due to mismatching 1bit/4bit mode 2012-12-11T21:30:24 < zyp> probably fails to set the card to 4bit mode 2012-12-11T21:30:24 < rlc_> jpa-: I searched everywhere. I think that function does not exist. But it's been mentionned at top of I2C source code 2012-12-11T21:31:39 < zyp> hmm, maybe the card doesn't support the mode I want to run it in 2012-12-11T21:33:13 < jpa-> rlc_: i assume you have http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f4_dsp_stdperiph_lib.zip ? 2012-12-11T21:33:17 < emeb> rlc_: looking at my F4xx stdperiph and see the same thing. function is mentioned but never declared. 2012-12-11T21:33:49 < emeb> Aha 2012-12-11T21:33:53 < rlc_> emeb: yes 2012-12-11T21:33:58 < emeb> F4 has more than 1 AHB 2012-12-11T21:34:06 < emeb> so you need AHB1 or AHB2 2012-12-11T21:34:17 < rlc_> jpa-: no, I have the f4 discovery firmware demo installed 2012-12-11T21:34:35 < jpa-> yeah, RCC_AHB1PeriphClockCmd RCC_AHB2PeriphClockCmd 2012-12-11T21:34:42 < rlc_> emeb: ah, so there's a mistake in the comment then 2012-12-11T21:34:53 < emeb> yup 2012-12-11T21:35:03 < emeb> probably leftover from some smaller part 2012-12-11T21:35:22 < jpa-> what, stdperiph has a misleading comment? never! 2012-12-11T21:35:25 < rlc_> How do I know which AHB do I use for I2C number 1? 2012-12-11T21:35:54 < emeb> look in stm32f4xx.h and see which bus it's declared under 2012-12-11T21:35:59 < Thorn> reference manual 2012-12-11T21:36:20 < emeb> or that 2012-12-11T21:36:41 < rlc_> jpa-: yep it's misleading, should be written RCC_AHBxPeriphClockCmd() instead 2012-12-11T21:40:55 < zyp> huh 2012-12-11T21:41:02 < zyp> emeb, your log looks weird :p 2012-12-11T21:41:22 < emeb> oh? 2012-12-11T21:41:27 <+Steffanx> The result of your code looks weird :) 2012-12-11T21:42:17 -!- scrts [~quassel@unaffiliated/scrts] has quit [Read error: Connection reset by peer] 2012-12-11T21:42:24 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2012-12-11T21:43:02 < zyp> all the commands apparently return a response, but RESP1 always reads as 0 2012-12-11T21:45:03 < emeb> RESP1 is one of the status registers? 2012-12-11T21:45:26 < zyp> it's the one that holds the command response 2012-12-11T21:45:44 < emeb> so it's like the line isn't hooked up or something 2012-12-11T21:45:57 < emeb> I assume that comes back on the CMD bit 2012-12-11T21:45:58 < zyp> no, response is returned on CMD line 2012-12-11T21:46:00 < zyp> yes 2012-12-11T21:46:14 < zyp> and peripheral claims that crc check passed 2012-12-11T21:46:29 < emeb> and crc is on the response? 2012-12-11T21:46:35 < zyp> yes 2012-12-11T21:46:39 < zyp> you don't happen to have a LA to hook up? 2012-12-11T21:46:48 < emeb> not handy 2012-12-11T21:47:18 < zyp> hmm, I'll check the SD spec 2012-12-11T21:47:28 < zyp> maybe your card is trying to tell me something 2012-12-11T21:47:33 < emeb> ok - still checking my schematic 2012-12-11T21:47:49 < zyp> I looked over it, schematic looks fine 2012-12-11T21:49:30 < emeb> need to make sure I got the footprint for the sd socket right. 2012-12-11T21:56:48 < emeb> zyp: forget about it - looks like I've got pins 1-8 on the footprint reversed. 2012-12-11T21:57:46 < zyp> ah 2012-12-11T21:58:35 < zyp> that's probably not good :p 2012-12-11T21:58:46 < emeb> ya think? :P 2012-12-11T21:59:28 -!- scrts [~quassel@unaffiliated/scrts] has quit [Read error: Connection reset by peer] 2012-12-11T21:59:34 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2012-12-11T21:59:52 * emeb wonders if it's worth spinning this board to fix that... 2012-12-11T22:00:10 <+Steffanx> Yes it is 2012-12-11T22:00:30 < emeb> Steffanx: because...? 2012-12-11T22:00:31 < zyp> can't you just mount the socket backwards? :p 2012-12-11T22:00:49 <+Steffanx> You didn't ask for a reason, emeb :P 2012-12-11T22:01:17 < emeb> "emeb: Steffanx: because...?" <-- yes I did 2012-12-11T22:01:44 <+Steffanx> Why i started this discussion… ignore me (again) 2012-12-11T22:02:33 < emeb> Actually, I could improve the analog power supply filtering to the codec too... Maybe put on a separate regulator to quiet down some noise that's leaking in from the MCU. 2012-12-11T22:03:34 < emeb> Probably should test out the USB too just to check everything. 2012-12-11T22:03:54 < zyp> haven't you already tested the cdc demo? 2012-12-11T22:04:04 < zyp> or was that just F3? 2012-12-11T22:04:11 < emeb> zyp: right - just on the F3 2012-12-11T22:04:20 < zyp> ah 2012-12-11T22:05:05 < zyp> hmm, I guess you could even try audio demo, but that would probably require adaption to your codec chip 2012-12-11T22:05:35 < emeb> I already know the audio works. Developed a bunch of effects on it already. 2012-12-11T22:06:01 < zyp> but a usb sound card is much more fun than acm echo :p 2012-12-11T22:06:26 < emeb> oic 2012-12-11T22:06:38 < emeb> yeah - acm echo would be a lot easier. 2012-12-11T22:07:32 < emeb> could put a proper JTAG header on too. 2012-12-11T22:07:57 < emeb> but that would probably scare off all the folks who want to use it with a Discovery board for SWD. 2012-12-11T22:08:34 < emeb> zyp: thanks for the help on this. 2012-12-11T22:08:57 < zyp> no problem 2012-12-11T22:09:10 < gxti> i need to try JTAG again now that i have swd working. might work better. 2012-12-11T22:09:22 < zyp> I just like seeing my core run on stuff :) 2012-12-11T22:09:39 < emeb> I'll try the acm loop in a while and let you know. 2012-12-11T22:09:40 < gxti> probably busblaster is still a crap adapter but it's just ft2232, not sure why that would be worse than others 2012-12-11T22:24:50 -!- Laurenceb_ [~Laurence@host86-178-5-207.range86-178.btcentralplus.com] has joined ##stm32 2012-12-11T22:25:35 < emeb> heh - just made a list of things to change on that board - almost a dozen things that could be improved... 2012-12-11T22:26:37 < zyp> so if you actually have a use for it, doing a respin is starting to seem worthwhile 2012-12-11T22:30:43 < emeb> Yeah - there are some things I'd still like to try with it. 2012-12-11T22:31:31 < emeb> Of course, it'll piss-off the other people who have built boards already. :P 2012-12-11T22:32:36 -!- ja2 [~marcus@81-227-198-108-no234.tbcn.telia.com] has quit [Ping timeout: 264 seconds] 2012-12-11T22:35:20 -!- jef79m_lurking is now known as jef79m 2012-12-11T22:41:21 < emeb> usb_cdc_acm works on my board. 2012-12-11T22:41:28 < emeb> zyp: ^ 2012-12-11T22:42:27 < zyp> yeah 2012-12-11T22:42:59 < zyp> with only three signals, it's a bit hard getting that wrong :p 2012-12-11T22:43:09 < emeb> snap! 2012-12-11T22:43:33 < zyp> esp. when you don't have the external resistor that you can mess up and hook to d- instead of d+ 2012-12-11T22:43:42 < emeb> double snap! 2012-12-11T22:43:52 < zyp> :) 2012-12-11T22:44:01 * emeb nurses his wounded pride 2012-12-11T22:44:31 < emeb> starting to seem like I've got a quality control issue. 2012-12-11T22:45:02 < zyp> don't we all? 2012-12-11T22:47:57 -!- jef79m is now known as jef79m_lurking 2012-12-11T22:55:08 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Read error: Connection reset by peer] 2012-12-11T22:55:27 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-11T22:59:42 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2012-12-11T23:12:32 -!- jef79m_lurking is now known as jef79m 2012-12-11T23:14:35 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-11T23:27:12 -!- jef79m is now known as jef79m_lurking 2012-12-11T23:32:11 -!- jef79m_lurking is now known as jef79m 2012-12-11T23:42:05 -!- barthess [~barthess@5.100.204.0] has joined ##stm32 2012-12-11T23:42:40 -!- jef79m is now known as jef79m_lurking 2012-12-11T23:49:36 -!- jef79m_lurking is now known as jef79m --- Day changed Wed Dec 12 2012 2012-12-12T00:02:08 -!- jef79m is now known as jef79m_lurking 2012-12-12T00:04:33 -!- jef79m_lurking is now known as jef79m 2012-12-12T00:13:54 -!- barthess [~barthess@5.100.204.0] has quit [Ping timeout: 264 seconds] 2012-12-12T00:14:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-12T00:17:25 < emeb> jef79m comes and goes 2012-12-12T00:19:14 < jef79m> Yeah. Phone client times out. 2012-12-12T00:22:12 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 248 seconds] 2012-12-12T00:23:52 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-12T00:26:40 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-12T00:28:37 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-12T00:30:14 -!- barthess [~barthess@5.100.193.119] has joined ##stm32 2012-12-12T00:30:33 < mervaka> crazy question: can i put a union inside a bitfield? (which in turn is within another union) 2012-12-12T00:31:11 < zyp> wtf 2012-12-12T00:31:12 < zyp> :p 2012-12-12T00:31:14 < mervaka> :p 2012-12-12T00:31:17 < mervaka> basically 2012-12-12T00:31:24 < mervaka> i have a bitfield 2012-12-12T00:31:33 < mervaka> where 4 of the bits are GPO 2012-12-12T00:31:51 < mervaka> and i want to address them either as individual bits or as a nibble 2012-12-12T00:32:08 < mervaka> or shall i just do a straight nibble? 2012-12-12T00:32:23 < zyp> IMO using bitfields at all is a bad idea 2012-12-12T00:32:31 < mervaka> really? 2012-12-12T00:32:39 < zyp> well, IMO 2012-12-12T00:33:01 < mervaka> just wondering what your preference is based on :) 2012-12-12T00:33:42 < mervaka> i'm learning other people's habits and their justifications still 2012-12-12T00:34:07 < zyp> I've yet to see a convincing argument for using bitfields and the advantages doesn't seem to outweigh the disadvantages to the point where they are worth considering at all 2012-12-12T00:34:52 < mervaka> well, i've got a control word to push out via SPI 2012-12-12T00:35:28 < mervaka> and i just thought i could address things as a struct rather than doing masking etc to make the code more readable 2012-12-12T00:35:48 < mervaka> and make the initial assumption that the compiler does that anyway 2012-12-12T00:37:21 < zyp> ah, that's a bit different from using bitfields for peripheral registers 2012-12-12T00:37:35 < mervaka> yeah 2012-12-12T00:37:53 < mervaka> got an external chip with simple SPI control 2012-12-12T00:38:27 < mervaka> so i'd address what i wanted to change using the struct, then push the word out using the word part of the union 2012-12-12T00:38:42 < zyp> not sure it actually helps readability though 2012-12-12T00:39:18 < mervaka> hmm 2012-12-12T00:39:30 < mervaka> in other news, my DAC is all up and working \o/ 2012-12-12T00:40:00 < mervaka> differential output etc 2012-12-12T00:40:08 < zyp> especially not when you start talking about unions and whatnot, for changing between bits and nibbles 2012-12-12T00:40:26 < mervaka> true 2012-12-12T00:40:36 < mervaka> i might just stick to unsigned GPO:4; 2012-12-12T00:40:39 < mervaka> nibble :p 2012-12-12T00:41:01 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-12T00:45:36 -!- jef79m is now known as jef79m_lurking 2012-12-12T00:46:35 -!- jef79m_lurking is now known as jef79m 2012-12-12T00:49:39 -!- barthess [~barthess@5.100.193.119] has quit [Quit: Leaving.] 2012-12-12T00:56:17 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2012-12-12T00:57:29 < DLPeterson> does anybody here have a GNU linker script example that loads to SRAM instead of Flash? 2012-12-12T00:57:56 < zyp> loads how? 2012-12-12T00:57:59 < DLPeterson> I'd like to get RAM builds going so I don't burn out my flash and so the load time is faster. 2012-12-12T00:58:25 < emeb> hmmm... what's the flash endurance of STM32 parts? 2012-12-12T00:58:29 < emeb> 10k? 2012-12-12T00:58:31 < DLPeterson> 10k 2012-12-12T00:58:47 < emeb> anticipating coding up a lot of bugs are we? :) 2012-12-12T00:58:48 < zyp> good luck wearing out that :) 2012-12-12T00:58:56 < DLPeterson> it is mostly about iteration time. 2012-12-12T00:59:44 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-12T00:59:49 < zyp> are you sure loading ram would be significantly faster? 2012-12-12T01:00:14 < zyp> if your bottleneck is the data rate over swd/jtag, it won't help much 2012-12-12T01:00:23 < emeb> I think that the stlink-texane repo has an LED flash demo with an SRAM load build. 2012-12-12T01:00:27 < DLPeterson> I have a friend who does it using IAR and he says it is way better for development, it just makes loading the program a whole lot quicker 2012-12-12T01:01:07 < mervaka> would like to do ram builds myself, but uVision dubugger doesnt seem to connect in RAM mode :/ 2012-12-12T01:01:10 < DLPeterson> zyp, I could be wrong but I was under the impression that writing to flash was the bottleneck. 2012-12-12T01:02:41 < emeb> guess it's not there. Don't remember where I saw that. 2012-12-12T01:02:47 -!- DaKu is now known as daku 2012-12-12T01:02:58 < zyp> emeb, karlp removed them because they were horrible 2012-12-12T01:03:33 < DLPeterson> does anybody here use IAR on a regular basis? 2012-12-12T01:04:03 * mervaka uses MDK/uVision, on a love/hate basis. 2012-12-12T01:04:15 < zyp> DLPeterson, I'm just wondering what you are doing for flashing time to matter at all 2012-12-12T01:04:21 < DLPeterson> I think it is just a matter of a different linker script, but there might be a little bit of difference in the startup code and it would need to be conditionally compiled 2012-12-12T01:04:34 < zyp> that's right 2012-12-12T01:04:49 < zyp> you don't want to copy .data when it's already in ram 2012-12-12T01:05:09 < zyp> but that can easily be set in the linker script by setting start = end for that 2012-12-12T01:05:16 < DLPeterson> zyp, I am loading a ~30kb binary. If it isn't faster then so be it. I want to know how to do it regardless. 2012-12-12T01:05:38 < zyp> you just have to modify the sections in the linker script 2012-12-12T01:05:47 < zyp> at the end where it says > flash, modify it to say > ram 2012-12-12T01:05:53 < zyp> or whatever you called your memory segments 2012-12-12T01:06:07 < zyp> and then figure out how to disable .data copying 2012-12-12T01:06:36 < DLPeterson> zyp, yeah, disabling the .data copying part is slightly trickier I think. 2012-12-12T01:06:42 < zyp> and 30kb should still be <1s with a decent debugger 2012-12-12T01:07:12 < DLPeterson> I know what needs to be done conceptually. I was hoping somebody had an example that they know works so that I could look at it. 2012-12-12T01:07:37 < zyp> there is no universal example, linker script and startup code goes hand in hand 2012-12-12T01:07:50 < zyp> show me your linker script and I'll show you what to change 2012-12-12T01:08:28 < DLPeterson> https://github.com/hazelnusse/robot.bicycle/blob/master/STM32F407xG_ram_vectors.ld 2012-12-12T01:09:13 < DLPeterson> i'm also relocating the vector table from flash to ram, in case that matters. 2012-12-12T01:10:48 < zyp> http://paste.jvnv.net/view/p25uy <- something like this 2012-12-12T01:11:18 < DLPeterson> zyp, is https://www.olimex.com/Products/ARM/JTAG/ARM-USB-TINY-H/ a "decent debugger"? 2012-12-12T01:11:20 < zyp> unsure about that ram_startup thing, you might have to disable copying for that too, but I'm not sure what is doing it 2012-12-12T01:12:20 < DLPeterson> zyp, if you want to swap out interrupt handlers at runtime, the vector table needs to be in ram. 2012-12-12T01:12:37 < zyp> DLPeterson, ftdi bitbanging can hardly be called decent 2012-12-12T01:12:48 -!- jef79m is now known as jef79m_lurking 2012-12-12T01:12:53 < DLPeterson> and then you change SCB->VTOR to point to your ram vector table. 2012-12-12T01:13:13 < DLPeterson> zyp, I don't know what you mean. What debugger do you use? 2012-12-12T01:13:16 < zyp> sure, but when you load it in ram, it's already there 2012-12-12T01:13:40 < zyp> http://www.blacksphere.co.nz/main/blackmagic <- I'm using this 2012-12-12T01:14:09 < DLPeterson> zyp, right. But you don't want to load two vector tables to ram in that case, which means the flash vector table probably needs to be removed 2012-12-12T01:14:17 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-12T01:14:32 < zyp> DLPeterson, did you see my paste? 2012-12-12T01:14:33 < DLPeterson> line 44-47 of my linker script 2012-12-12T01:14:45 < zyp> I already moved the «flash vector table» to ram 2012-12-12T01:15:03 < zyp> so you should rather remove the code that creates another in ram 2012-12-12T01:15:07 < zyp> when you already have one 2012-12-12T01:15:50 < DLPeterson> zyp, ok, then my ram_startup needs to be removed and the code that relocates the vector table needs to also removed, right? 2012-12-12T01:15:58 < zyp> pretty much 2012-12-12T01:16:34 < DLPeterson> zyp, do you use blackmagic with openocd+gdb, or some other tools? 2012-12-12T01:16:55 < zyp> it contains it's own internal gdbserver, so I just connect gdb directly 2012-12-12T01:17:42 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-12T01:18:24 < DLPeterson> zyp, huh, that is cool. Does it support the FPU registers of the Cortex-M4 chips? 2012-12-12T01:18:40 < zyp> of course 2012-12-12T01:18:42 < DLPeterson> zyp, and what version of gdb do you use with it? 2012-12-12T01:18:46 < zyp> 7.4 2012-12-12T01:18:54 < DLPeterson> will it work with later versions? 2012-12-12T01:19:00 < zyp> 7.4 is the latest 2012-12-12T01:19:05 < zyp> also works with 7.3 2012-12-12T01:19:06 < DLPeterson> no, 7.5.1 is. 2012-12-12T01:19:10 < zyp> oh 2012-12-12T01:19:27 < zyp> well, I haven't tried, but I don't see any reason why it wouldn't 2012-12-12T01:19:49 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-12T01:19:51 < DLPeterson> I presume if the gdbserver protocal change from gdb versions it might cause problems but presumably you can update the firmware on the blackmagic? 2012-12-12T01:20:03 < zyp> yes, it's opensource 2012-12-12T01:21:41 < DLPeterson> zyp, is there a name for that type of debugger? i.e., one that doesn't need OpenOCD but implements a gdbserver? 2012-12-12T01:22:01 < zyp> no idea 2012-12-12T01:22:03 < DLPeterson> and are there other competing ones that you know about? 2012-12-12T01:22:09 < zyp> gdb-compatible? :p 2012-12-12T01:23:00 < DLPeterson> so it is pretty much only for the STM32 chips, right? 2012-12-12T01:23:05 < zyp> well, I think segger talked about adding internal gdb server to the jlink pro, but that's a completely different price range 2012-12-12T01:23:38 < zyp> nah, should work nicely with pretty much any cortex-m 2012-12-12T01:23:55 < DLPeterson> have you used it with a cortex-m4? 2012-12-12T01:24:13 < zyp> I've used it with both stm32f3, stm32f4 and lm4f, so yes 2012-12-12T01:24:16 < emeb> according to the website it works w/ STM32, LM3S and LPC11xx for sure. 2012-12-12T01:24:56 < zyp> lm4f is lm3s compatible, so I just modified the firmware to add the chip-id for recognition 2012-12-12T01:25:30 < zyp> and I also added chip-ids for stm32f0 and f3, in addition to writing flashing routines for stm32l1 2012-12-12T01:26:15 < zyp> any cortex-m chip that's not from a recognized family will be treated as a generic cortex-m, so you can debug but not flash 2012-12-12T01:26:28 < zyp> since flashing routines are chip family specific 2012-12-12T01:29:06 < DLPeterson> cool. So it seems like the main difference between blackmagic and OpenOCD + somedebugcable is that openocd is implementing the gdbserver and it is running on your machine, where as blackmagic implements on the adapter. 2012-12-12T01:29:25 < zyp> that's right 2012-12-12T01:30:06 -!- Laurenceb_ [~Laurence@host86-178-5-207.range86-178.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-12T01:30:06 < zyp> so you get rid of the entire hassle of having to maintain the middleman 2012-12-12T01:31:00 < zyp> and it works reliably and reasonably fast 2012-12-12T01:31:50 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-12T01:32:59 < DLPeterson> cool. have you tried the openocd+debug cable route before? 2012-12-12T01:33:18 < zyp> yes 2012-12-12T01:33:29 < zyp> I started out that way 2012-12-12T01:33:43 < zyp> openocd and some random ftdi-thing 2012-12-12T01:33:55 < DLPeterson> so you levelled up to the blackmagic then :) 2012-12-12T01:34:21 < emeb> DLPeterson: there's also stlink which implements a gdbserver for the STLINK interface on the Discovery boards. 2012-12-12T01:34:26 < zyp> then I found st-link on the stm32f4discovery board to be an improvement 2012-12-12T01:34:40 < zyp> with the texane/stlink middleware instead of openocd 2012-12-12T01:34:55 < emeb> a bit buggy though 2012-12-12T01:34:58 < zyp> before I got tired of that and bought a blackmagic 2012-12-12T01:35:08 < emeb> (no offense to the folks here who help maintain it) 2012-12-12T01:35:32 < DLPeterson> zyp, have you used SWD with blackmagic? 2012-12-12T01:35:37 * emeb is also a satisfied blackmagic user 2012-12-12T01:35:39 < zyp> I also bought a clone jlink, but I managed to brick that before I ever got to use it for anything, so I can't say anything about how well that works 2012-12-12T01:36:13 < zyp> but the fact that jlink middleware doesn't run on OS X is reason enough that I don't really want to use it 2012-12-12T01:36:21 < emeb> DLPeterson: I only use the blackmagic with SWD 2012-12-12T01:36:37 < zyp> I usually use blackmagic with SWD 2012-12-12T01:37:01 < zyp> in the benchmark I've done, SWD is slightly faster, and fewer wires to hook up 2012-12-12T01:37:04 < DLPeterson> emeb, are you working with your own boards or with dev boards that have the standard 20-pin jtag header? 2012-12-12T01:37:26 < zyp> in addition to leaving open the possibility for SWO, should you want to use that 2012-12-12T01:37:39 < emeb> DLPeterson: I work with my own boards and an adapter from the mini-10pin header to the 6-pin Discovery style SWD connector. 2012-12-12T01:37:44 < DLPeterson> zyp, emeb yeah, I've read SWD is supposed to be an improvement. OpenOCD doesn't work with SWD as far as I know. 2012-12-12T01:37:59 < zyp> openocd work with swd with some adapters 2012-12-12T01:38:05 < zyp> ah, right 2012-12-12T01:38:07 < zyp> now I remember 2012-12-12T01:38:25 < zyp> I switched from openocd to stlink because I needed SWD :) 2012-12-12T01:38:39 < emeb> didn't they add stlink to openocd in the latest release? 2012-12-12T01:38:43 < zyp> yes 2012-12-12T01:38:55 * emeb wants to try that at some point. 2012-12-12T01:38:58 < zyp> but I don't want to switch back :p 2012-12-12T01:39:08 < emeb> but bmp works fine so I have no motivation. :) 2012-12-12T01:41:20 < zyp> I'm using the mini-10pin on my own boards: http://bin.jvnv.net/f/yQGUT.JPG, the normal 20pin with other devboards: http://bin.jvnv.net/f/ldMgR.JPG, and flywires with boards that have neither: http://bin.jvnv.net/f/UWX2Z.JPG 2012-12-12T01:41:48 < zyp> I've got the old kind of BMP, and modified the board to have both 20pin and mini-10pin 2012-12-12T01:46:24 < DLPeterson> zyp, emeb thanks for the tips about blackmagic, I think I'll probably get one. 2012-12-12T01:46:52 < zyp> http://bin.jvnv.net/f/9kGPA.JPG <- hookups like this is why I got tired of using the stlink on the discovery board :p 2012-12-12T01:47:50 < emeb> DLPeterson: I think you'll be happy with it. Be aware though - the firmware that came pre-loaded on mine was a bit old. 2012-12-12T01:48:13 < emeb> Worked much better after I grabbed the latest from github and updated it. 2012-12-12T01:48:29 < DLPeterson> is it easy to flash the firmware? 2012-12-12T01:48:32 < zyp> yes 2012-12-12T01:48:39 < DLPeterson> I'm cloning it now to make sure I can build it. 2012-12-12T01:48:42 < zyp> it has a DFU bootloader 2012-12-12T01:49:02 < emeb> look in the HACKING textfile for details on how to update. 2012-12-12T01:50:07 < zyp> http://bin.jvnv.net/f/jfdTk.JPG <- oh, here's from the old days with ftdi and openocd 2012-12-12T01:50:59 -!- jef79m_lurking is now known as jef79m 2012-12-12T01:52:01 < zyp> http://bin.jvnv.net/f/J7cZJ.jpg <- and from before that, when I just used the mbed as a serial converter to flash through the serial rom bootloader :D 2012-12-12T01:52:38 < DLPeterson> zyp, cool pics, thanks. So the new bmp doesn't have the 20-pin header so I'd need some sort of adapter cable or board modification to be able to work with boards that have the 20-pin header? 2012-12-12T01:52:50 < zyp> yes 2012-12-12T01:52:54 < dongs> <+Steffanx> It's from dongs: http://bcas.tv/paste/results/remove.php?p=xToE9w26&t=311450e6e52f5a054684d77d559bda3ed6ba1f8b :P 2012-12-12T01:52:57 < dongs> haha 2012-12-12T01:53:01 < dongs> zyp: overnight, no i2c errors. 2012-12-12T01:53:05 < zyp> nice 2012-12-12T01:53:14 < emeb> didn't burn down the house I guess 2012-12-12T01:53:18 < dongs> yea 2012-12-12T01:53:27 < emeb> chip even warm? 2012-12-12T01:53:39 < dongs> the chip isnt warm.. i dunno how bad is it to make it run at 128mhz for normal use? haha. 2012-12-12T01:53:45 < DLPeterson> zyp, I've got the same o-scope as you I think. 2012-12-12T01:53:48 < dongs> but its also like 0C in my fucking office 2012-12-12T01:53:49 < dongs> thanks to japan 2012-12-12T01:53:56 < zyp> DLPeterson, nah, mine is older 2012-12-12T01:54:00 < emeb> heaters are for wimps 2012-12-12T01:54:36 < emeb> dongs: you need computers with higher power dissipation to keep warm. 2012-12-12T01:54:41 < emeb> like zyp 2012-12-12T01:54:42 < DLPeterson> zyp, I've got a Rigol DS1102CD 2012-12-12T01:55:12 < zyp> and I got a DS1042C 2012-12-12T01:57:01 < DLPeterson> zyp, its about 4 years old and has the logic probe. I got it for $300 2012-12-12T01:57:06 < zyp> which is older than the hackable ones everybody seems to have noadays 2012-12-12T01:57:14 < zyp> hmm 2012-12-12T01:57:18 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-12T01:57:30 < zyp> it's over four years since I got mine 2012-12-12T01:57:32 < zyp> :p 2012-12-12T01:57:34 * emeb still has an analog scope - 60MHz Tek 2213 2012-12-12T01:58:48 < zyp> mine doesn't see much use nowadays 2012-12-12T01:59:09 < zyp> I'm mostly doing digital stuff, for which a logic analyzer is much better suited 2012-12-12T01:59:11 < emeb> I use mine a lot - great for watching ISR duty cycle traces. 2012-12-12T01:59:38 < emeb> an analog synthesizer waveforms of course. :) 2012-12-12T02:00:16 < zyp> I tried looking at RMII refclock once, since my LA is too slow to handle 50MHz 2012-12-12T02:00:24 < emeb> owche! 2012-12-12T02:00:31 < zyp> but then again, my scope is also too slow to make sense of 50MHz 2012-12-12T02:00:40 < emeb> double owche! 2012-12-12T02:01:05 < emeb> If I was to spend $$ on a digital scope I'd not get less than 150MHz BW. 2012-12-12T02:01:09 < zyp> I'd probably want a faster LA before I get a better scope though 2012-12-12T02:02:01 < DLPeterson> zyp, do you have a recommended mini-jtag to standard-jtag converter? 2012-12-12T02:02:17 < zyp> the cheapest you can find? 2012-12-12T02:02:42 < zyp> it's just a pcb with two headers, or something like that, so it's not like it matter much :p 2012-12-12T02:03:25 < emeb> heh - could probably shear off the MCU section of the bmp2 board to make converters. 2012-12-12T02:03:33 < zyp> :p 2012-12-12T02:03:45 < DLPeterson> they want $25 for this: 2012-12-12T02:03:49 < DLPeterson> http://www.digikey.com/product-search/en?mpart=JLINK-ARM-AD&vendor=622 2012-12-12T02:03:54 < DLPeterson> seems like a rip 2012-12-12T02:04:09 < zyp> emeb, or contribute back the design ;) 2012-12-12T02:04:28 < emeb> zyp: after I test it I will 2012-12-12T02:05:13 < zyp> I'm looking forward to get mine, it'll be nicer for hooking up flywires 2012-12-12T02:05:32 < zyp> tough, I've already learned the positions of the signals I need on the 20pin header :p 2012-12-12T02:05:32 < DLPeterson> aha: 2012-12-12T02:05:36 < DLPeterson> http://www.thaieasyelec.net/index.php/ARM/miniJTAG-to-JTAG-Converter/p_221.html 2012-12-12T02:05:39 < DLPeterson> $2.50 :) 2012-12-12T02:05:56 < emeb> that's what we're talking about 2012-12-12T02:06:21 < emeb> but you need the opposite sex 2012-12-12T02:06:29 < zyp> not really 2012-12-12T02:06:35 < zyp> depends on which end he puts it on 2012-12-12T02:06:40 < emeb> twss 2012-12-12T02:06:45 < zyp> that one would go at the BMP end 2012-12-12T02:06:55 < emeb> true 2012-12-12T02:06:59 < zyp> but I would prefer one to go at the target end though 2012-12-12T02:07:19 < zyp> the 20pin is much more sturdy, so I would prefer to have that plugged into the board, and ribbon on mini 2012-12-12T02:07:32 < emeb> yup 2012-12-12T02:08:06 < zyp> but it's probably not a huge problem if you are careful 2012-12-12T02:08:11 < emeb> hard to tell but that doesn't look like it's keyed. 2012-12-12T02:08:30 < zyp> probably not 2012-12-12T02:08:34 < dongs> olimex has a nice one 2012-12-12T02:08:34 < DLPeterson> so the miniJTAG doesn't have a TRST pin, or is that the same as the RESET pin? 2012-12-12T02:08:50 < zyp> trst is not used anyway 2012-12-12T02:09:02 < zyp> so it doesn't matter 2012-12-12T02:09:03 < dongs> https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/ < DLPeterson 2012-12-12T02:09:23 < DLPeterson> dongs, thanks 2012-12-12T02:09:33 < dongs> i prefer this kind cuz.. it has the ribbon cable 2012-12-12T02:09:39 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-12T02:09:44 < zyp> hmm 2012-12-12T02:09:47 < dongs> i dont really see how you can keep that one off thaiplace in-circuit without breaking something by accident 2012-12-12T02:09:57 < dongs> 20pin ribbon cable is heavy + not as bendy 2012-12-12T02:10:26 < zyp> dongs, you wouldn't mind sending me the boards and stencils you have for me if lpc is gonna take a while? 2012-12-12T02:10:54 < dongs> zyp, sure. of course, by murphy it'll get submitted the moment boards leave here. 2012-12-12T02:10:57 < dongs> :p 2012-12-12T02:11:01 < zyp> :p 2012-12-12T02:11:09 < dongs> how many did you want? 5/ea of bmp+373 + stencils for them? 2012-12-12T02:11:18 < zyp> how many do you have? 2012-12-12T02:11:41 < dongs> i have that many + some for me 2012-12-12T02:11:58 < dongs> which i havent even touched yet, heh 2012-12-12T02:12:04 -!- gurgalof [~gurgalof@dhcp-238-121.nomad.chalmers.se] has quit [Quit: Leaving] 2012-12-12T02:12:30 < zyp> then 5 sounds fine 2012-12-12T02:13:01 < zyp> and stencils 2012-12-12T02:13:47 < zyp> and maybe also dp to edp since you probably have leftovers of that 2012-12-12T02:13:54 < dongs> hm it seems i have more bmp boards than 373ws 2012-12-12T02:14:02 < dongs> weird supposed to be same qty maybe the etest-rejected some 2012-12-12T02:14:25 < emeb> probably my fault. :P 2012-12-12T02:14:33 < dongs> yea, i blame gEDA 2012-12-12T02:14:39 < zyp> but edp is not that important, I'm not gonna get a panel this side of christmas :p 2012-12-12T02:16:07 < zyp> hopefully I'll have time to assemble some before I go on christmas vacation, I'm planning to bring along some stuff to play with when I get bored 2012-12-12T02:16:20 < emeb> some vacation. :) 2012-12-12T02:16:31 < zyp> just visiting family 2012-12-12T02:17:06 < dongs> yes, edp is fine. but - how are you gonna solder the awesome 0.3mm pitch fpc connector on it/ 2012-12-12T02:17:21 < zyp> no idea, how did you do it? :p 2012-12-12T02:17:26 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 255 seconds] 2012-12-12T02:17:27 < dongs> stencil, of course 2012-12-12T02:17:41 < emeb> drag solder! the answer to everything. 2012-12-12T02:17:45 < dongs> haha. plz 2012-12-12T02:18:07 < emeb> first you put on women's clothes, then turn on the soldering iron... 2012-12-12T02:18:16 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-12T02:18:28 < zyp> dongs, you can solder it for me, or just let it be until next time you're sending me shit :p 2012-12-12T02:18:47 * emeb wonders what edp is 2012-12-12T02:18:55 < dongs> either way is fine with me. 2012-12-12T02:18:56 < zyp> embedded displayport 2012-12-12T02:19:00 < dongs> msg me your info (agian) 2012-12-12T02:19:05 < dongs> ill put it intodays outgoing junk 2012-12-12T02:19:14 < emeb> ah - the awesome retina board. 2012-12-12T02:19:15 < zyp> then I'll be happy to get one presoldered 2012-12-12T02:19:41 < dongs> ok np 2012-12-12T02:19:49 < dongs> by then I might have one wiht built in backlight + power supply driver 2012-12-12T02:20:08 < dongs> ive been assburgering 2012-12-12T02:20:19 < dongs> and not getting that designed at all 2012-12-12T02:25:39 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-12T02:32:15 < dongs> zyp, packed into todays mail queue. 2012-12-12T02:32:22 < zyp> great 2012-12-12T02:33:03 < zyp> then I'll start looking at getting parts for them tomorrow 2012-12-12T02:33:57 < zyp> if I order tomorrow I'll probably have them friday or monday 2012-12-12T02:35:06 < zyp> I dunno how fast the boards will arrive, but hopefully I'll have time to assemble them before I leave on saturday next week 2012-12-12T02:37:19 < emeb> zyp: you got the boms for those? 2012-12-12T02:37:30 < zyp> yes, I just looked at them 2012-12-12T02:37:42 < zyp> I assume the ones that are posted are updated 2012-12-12T02:37:46 < emeb> yep 2012-12-12T02:38:06 < zyp> I hope those buttons are available at digikey 2012-12-12T02:38:16 < emeb> hmmm... 2012-12-12T02:38:17 < zyp> I don't want to make two orders just to get them 2012-12-12T02:38:32 < emeb> last I checked they were non-stock @ DK 2012-12-12T02:38:50 < emeb> which is weird since that's where I originally got them 2012-12-12T02:38:53 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2012-12-12T02:39:10 < zyp> http://www.digikey.com/product-detail/en/KMR211GLFS/401-1426-6-ND/1642538 <- this? 2012-12-12T02:39:27 < zyp> hmm, no 2012-12-12T02:39:44 < emeb> those are slightly different 2012-12-12T02:40:07 < zyp> oh well, I'll check it tomorrow 2012-12-12T02:41:19 < emeb> zyp: this -> http://www.digikey.com/product-detail/en/KMR241NG%20ULC%20LFS/CKN10285CT-ND/2296966 2012-12-12T02:41:27 < emeb> it's mouser that doesn't stock them. 2012-12-12T02:41:29 < zyp> ah, great 2012-12-12T02:41:53 < emeb> and they have the right xtals now too. 2012-12-12T02:42:29 < zyp> and both stm32s are stocked 2012-12-12T02:42:43 < emeb> xtal: http://www.digikey.com/product-detail/en/7A-8.000MAAJ-T/887-1448-1-ND/2627016 2012-12-12T02:43:22 < zyp> that shows as non stocked here 2012-12-12T02:44:00 < emeb> and qty 0 here. wild - they just shipped me 10x yesterday 2012-12-12T02:44:33 < emeb> someone must have snapped them all up. 2012-12-12T02:45:27 < zyp> http://www.digikey.com/product-detail/en/7A-8.000MAAE-T/887-1740-1-ND/3518790 <- this should work, I assume 2012-12-12T02:45:36 < zyp> a bit lower load capacitance, but otherwise equal 2012-12-12T02:45:43 < emeb> yeah 2012-12-12T02:46:14 < emeb> or this: http://www.digikey.com/product-detail/en/ABM3-8.000MHZ-D2Y-T/535-10630-1-ND/2344632 2012-12-12T02:46:27 < zyp> that's more expensive :p 2012-12-12T02:46:39 < emeb> deja vu 2012-12-12T02:47:08 < zyp> but yeah, I'll just get the cheapest ones in stock that'll work 2012-12-12T02:47:15 < zyp> hmm 2012-12-12T02:47:27 < zyp> I also need to make a BOM for the lpc board 2012-12-12T02:48:03 < zyp> should be fine ordering parts now, since the design is done 2012-12-12T02:50:36 < emeb> which lpc43 was that? 2012-12-12T02:51:50 < zyp> http://www.digikey.com/product-detail/en/LPC4357FET256,551/568-9603-ND/3477068 <- probably this 2012-12-12T02:51:54 < zyp> heh, 3 in stock 2012-12-12T02:52:28 < dongs> better order quickl 2012-12-12T02:52:53 < zyp> it's the only kind with flash in stock 2012-12-12T02:53:03 < zyp> oh well 2012-12-12T02:53:09 < dongs> ah, others are flashless? 2012-12-12T02:53:19 < zyp> the other ones in stock, at least 2012-12-12T02:54:39 < zyp> footprint would be compatible anyway, but I don't have anything on the board that they can boot from 2012-12-12T02:54:52 < emeb> ulp. 2012-12-12T02:55:00 < zyp> except usb 2012-12-12T02:55:08 < emeb> thought it might be nice to put a little spi flash footprint on that board... 2012-12-12T02:55:25 < zyp> if I understand it correctly they can bootload from usb 2012-12-12T02:55:43 < emeb> can it boot from SD? 2012-12-12T02:55:50 < zyp> not that I know 2012-12-12T02:55:56 < emeb> bummer 2012-12-12T02:56:18 < zyp> but you could of course do a first stage bootloader in flash or something and have that load from SD 2012-12-12T02:56:28 < dongs> first stage lunix 2012-12-12T02:56:31 < emeb> of course. if you had flash :P 2012-12-12T02:56:37 < zyp> :p 2012-12-12T02:56:44 < zyp> oh well 2012-12-12T02:57:25 < zyp> the way of choosing boot source was annoying, so I didn't bother hooking up all that 2012-12-12T02:57:31 < emeb> add spi flash! quickly! there's no time! (Liam Neeson voice) 2012-12-12T02:57:55 < zyp> nah, I'm putting lpc4357 on it anyway 2012-12-12T02:58:01 < emeb> heh 2012-12-12T02:58:29 < zyp> mouser has 108 in stock, so worst case i'm ordering from there :p 2012-12-12T02:58:59 < zyp> they also has both stm32s in stock 2012-12-12T02:59:14 < zyp> and I can probably get the rest there too 2012-12-12T02:59:22 < emeb> yep 2012-12-12T02:59:27 < emeb> dinner - bbiaw 2012-12-12T02:59:45 < zyp> and sleep here, as soon as I manage to get out of the chair :) 2012-12-12T02:59:48 < dongs> breaking news 2012-12-12T02:59:55 < dongs> best korea just launched a missile to okinawa 2012-12-12T03:02:41 < emeb> srsly? 2012-12-12T03:02:56 < zyp> they have been preparing for a while 2012-12-12T03:02:59 < zyp> http://www.yomiuri.co.jp/dy/world/T121124003077.htm 2012-12-12T03:04:34 < zyp> «earth observation satellite» :p 2012-12-12T03:09:32 < dongs> ha 2012-12-12T03:15:40 -!- |sark [~|sark@109.235.51.202] has quit [Read error: Operation timed out] 2012-12-12T03:21:54 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-12T03:30:59 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-12T03:53:40 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-12T04:00:38 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has joined ##stm32 2012-12-12T04:00:38 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has quit [Changing host] 2012-12-12T04:00:38 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-12T04:05:57 < emeb> spamming the list of guys who bought my stm32f4 + codec board to see if they care about fixing the uSD socket. 2012-12-12T04:19:10 < dongs> bloggin 2012-12-12T04:19:14 < dongs> need to dicknplace a bunch of shit today. 2012-12-12T04:19:17 < dongs> dont feel like it. 2012-12-12T04:19:30 < emeb> wastin' time 2012-12-12T04:21:26 < dongs> havent even started on backlight driver pcb 2012-12-12T04:21:29 < dongs> assburgering to the max 2012-12-12T04:22:18 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 264 seconds] 2012-12-12T04:22:39 < emeb> same here - should be writing some code for an audio effect. can't get into it. 2012-12-12T04:24:28 < emeb> maybe solder up one of these F3 breakouts. got everything but the 8MHz xtal 2012-12-12T04:28:23 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has quit [Ping timeout: 245 seconds] 2012-12-12T04:41:28 < dongs> how the fuck did this avoid my youtube unfucker 2012-12-12T04:42:50 < dongs> no i dont 2012-12-12T04:59:42 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-12T04:59:42 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-12T04:59:42 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-12T05:37:21 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-12T05:40:58 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-12T06:11:31 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-12T06:20:10 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-12T06:20:19 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-12T06:32:52 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-12T06:54:52 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-12T07:01:34 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 250 seconds] 2012-12-12T07:16:18 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-12T07:22:56 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-12T07:33:50 < emeb_mac> crickets 2012-12-12T07:42:24 -!- jef79m is now known as jef79m_lurking 2012-12-12T07:42:54 < dongs> yerp. heading out cuz someone's bitching some shit in a remote office is beeping. 2012-12-12T07:44:57 < emeb_mac> fieldwork! 2012-12-12T07:49:10 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Ping timeout: 252 seconds] 2012-12-12T07:57:26 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-12T08:25:51 -!- claude is now known as Claude 2012-12-12T08:40:06 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2012-12-12T09:12:04 -!- dekar_ [~dekar@212.255.238.78] has quit [Ping timeout: 244 seconds] 2012-12-12T09:31:45 -!- Claude is now known as claude 2012-12-12T09:32:32 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-12T09:32:54 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-12T09:53:58 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-vogxdbhgzzhsxrzk] has quit [Quit: leaving] 2012-12-12T09:54:07 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-ckjzygccjeqqkivn] has joined ##stm32 2012-12-12T09:54:40 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-ckjzygccjeqqkivn] has quit [Client Quit] 2012-12-12T09:54:49 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-12T09:54:50 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-12T09:54:50 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-12T09:54:50 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-vdinvjqszmcadaxs] has joined ##stm32 2012-12-12T10:23:23 -!- rlc_ [63ed50cf@gateway/web/freenode/ip.99.237.80.207] has quit [Ping timeout: 245 seconds] 2012-12-12T10:35:56 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-12T10:44:36 < zyp> *yawn* 2012-12-12T10:58:36 < dongs> zyp: 4l confirmed 2012-12-12T10:58:43 < dongs> and I ordered stencil for it as well with some other stuff that was going in 2012-12-12T11:03:24 < zyp> great 2012-12-12T11:09:27 < Thorn> what do I use to power a microcontroller device from mains? <5W @ ~9...12V I think 2012-12-12T11:10:05 < dongs> wut? 2012-12-12T11:10:17 < dongs> use like a premade switching power supply thingy? 2012-12-12T11:10:32 < Thorn> like a Mean Well thingy? 2012-12-12T11:10:44 < dongs> y 2012-12-12T11:10:47 < Thorn> (what a confidence-inspiring name) 2012-12-12T11:11:08 < dongs> i was just pricing some shit like that few weeks ago 2012-12-12T11:11:21 < dongs> 50x70mm, like 2A or something,, was around 25 bucks 2012-12-12T11:11:30 < dongs> 90..240V > 12V DC 2012-12-12T11:13:07 < dongs> they have lower current/smaller shit too. 2012-12-12T11:14:07 < Thorn> ti.com still haven't fixed their search? 2012-12-12T11:29:15 < dongs> unsure 2012-12-12T11:31:41 < Thorn> that was a rhetorical question. 2012-12-12T11:31:48 < Thorn> found PM-05-12 for ~$10 2012-12-12T11:31:53 < Thorn> 1 in stock 2012-12-12T11:34:11 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-12T11:34:33 < zyp> hmm, should I get 32MB SDRAM for $3 or 64MB for $20? :p 2012-12-12T11:35:04 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Read error: Connection reset by peer] 2012-12-12T11:35:33 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-12T11:36:30 < Thorn> nope, PS-05-15 is better. it's not pcb mount 2012-12-12T11:37:14 -!- jef79m_lurking is now known as jef79m 2012-12-12T11:38:07 < zyp> hmm, going with 32MB for $3, it's not like I require more for anything 2012-12-12T11:43:58 < karlp> emeb's gone? 2012-12-12T11:44:21 < karlp> oh, well the SRAM led blinking didn't work if the board hadn't been flashed with proper vectors earlier, it was truly a broken example of running from sram 2012-12-12T11:46:35 < zyp> he's usually asleep this time of the day 2012-12-12T11:47:49 < Thorn> I've seen a EEPROM led blinker in a magazine recently (no mcu, bios eeprom programmed in a pc motherboard), but no SRAM led blinking yet 2012-12-12T11:50:36 < zyp> heh 2012-12-12T11:57:12 < dongs> bloggity 2012-12-12T12:00:39 < karlp> Thorn: how much do they want for that ps-05-15? 2012-12-12T12:01:30 < dongs> meanwell shit? 2012-12-12T12:02:13 < dongs> PM-05-12 looks good 2012-12-12T12:02:25 < dongs> mouser shiould have htem 2012-12-12T12:02:30 -!- jef79m is now known as jef79m_lurking 2012-12-12T12:02:39 < dongs> ~$25 bucks looks like 2012-12-12T12:03:48 < dongs> https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-snc6/182395_573136449379420_294593589_n.jpg vtec kicked in yo 2012-12-12T12:13:20 < dongs> placing an order for 10 F303CCT6... 2012-12-12T12:13:28 < dongs> what are chances shit will actually ship on dec 16 as promised? 2012-12-12T12:13:29 < dongs> riiight. 2012-12-12T12:20:48 < dongs> flydong 2012-12-12T12:20:55 < zyp> heh, I almost ordered an LDO with the wrong pinout 2012-12-12T12:21:17 < dongs> i always choose a pinout that every chink has copied 2012-12-12T12:21:34 < dongs> some silly american makers move shit around 2012-12-12T12:21:43 < zyp> there are apparently two popular ones for sot223 2012-12-12T12:21:53 < dongs> 3 pin? 2012-12-12T12:22:06 < zyp> some are gnd out in, some are in gnd out 2012-12-12T12:22:12 < zyp> yes 2012-12-12T12:22:45 < zyp> my board is designed for the in gnd out variant 2012-12-12T12:22:59 < zyp> MCP1825S looks nice enough 2012-12-12T12:23:06 < dongs> in IN GND OUT the tab is also gnd right 2012-12-12T12:23:35 < dongs> it is cuz i remember seeing that on your layout. 2012-12-12T12:23:39 < zyp> tab is same as middle pin in both cases 2012-12-12T12:23:43 < zyp> so yes 2012-12-12T12:29:49 -!- Laurenceb_ [~Laurence@host86-178-5-207.range86-178.btcentralplus.com] has joined ##stm32 2012-12-12T12:30:47 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-12T12:31:43 -!- jef79m_lurking is now known as jef79m 2012-12-12T12:33:30 < karlp> zyp: do you need 500mA? if 250mA is ok, mcp1702 is cheaper, and ~100 times less quiescant current. (also a cent or two cheaper) 2012-12-12T12:34:08 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Client Quit] 2012-12-12T12:34:24 < dongs> Ive used 1702 2012-12-12T12:34:53 < dongs> until i switched to richtek 2012-12-12T12:34:56 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-12T12:37:07 < zyp> I don't know what I need, I haven't done the math, so I just go by the rule that more power available is better 2012-12-12T12:37:56 < zyp> does quiescent current matter much? 2012-12-12T12:38:12 < karlp> maybe? 2012-12-12T12:38:25 < karlp> 120uA all the time vs 3uA all the time? 2012-12-12T12:38:29 < karlp> depends on your app 2012-12-12T12:38:52 < zyp> it's just for the lpc4300 board 2012-12-12T12:39:37 < zyp> which will power both the lpc4300 and sdram, and extra shit like SD card and ethernet PHY 2012-12-12T12:39:43 < karlp> yeah, well iQ won't really matter much there will it :) 2012-12-12T12:39:57 < karlp> and you're probably going to need more thean 250mA too... :) 2012-12-12T12:40:06 < karlp> the second the ethernet turns on at least 2012-12-12T12:40:17 < zyp> that's what I suspect 2012-12-12T12:40:24 < zyp> maybe I should check the datasheets 2012-12-12T12:40:37 < karlp> nah, just pick a power supply first, hope it all works out :) 2012-12-12T12:40:48 < dongs> emailed murata fags about the failware power supply. 2012-12-12T12:41:07 < karlp> dongs/anyone, what is the difference between a dc/dc controller and a dc/dc converter?! 2012-12-12T12:41:12 < karlp> I've never understood this 2012-12-12T12:41:25 < dongs> um 2012-12-12T12:41:34 < dongs> converter usually has most shit needed internal 2012-12-12T12:41:36 < dongs> fet + crap 2012-12-12T12:41:47 < dongs> controller.. controls shit,, most of it is external, needs a shitton of components to work 2012-12-12T12:42:02 < dongs> controlelr can also be setup in like 32423 different topologys 2012-12-12T12:42:09 < dongs> sepic/buck/blah/wahtever. 2012-12-12T12:42:26 < karlp> ahh, right, thanks formaking that a thousand times simpler than most manuf websites 2012-12-12T12:42:27 < zyp> controllers are for huge currents where it makes sense to have external transistor banks 2012-12-12T12:42:44 < dongs> you can still have a converter w/external fet(s). 2012-12-12T12:43:08 < dongs> i think the main diff is configurability 2012-12-12T12:43:48 < zyp> hmm, looks like sdram will draw up to 80 mA for burst operations 2012-12-12T12:44:44 < dongs> oh noez 2012-12-12T12:44:51 < dongs> isnt there a LM1117 2012-12-12T12:44:59 < Laurenceb_> http://i.imgur.com/qhrab.png 2012-12-12T12:44:59 < dongs> why are you using silly regs 2012-12-12T12:45:26 < dongs> http://www.digikey.com/product-detail/en/LM1117MPX-3.3%2FNOPB/LM1117MPX-3.3%2FNOPBCT-ND/1010516 2012-12-12T12:45:28 < dongs> done 2012-12-12T12:45:44 < dongs> which means you fucked up 2012-12-12T12:45:51 < dongs> because thats the most common pinout 2012-12-12T12:46:53 < zyp> lpc datasheet just says «tbd» on all the current ratings 2012-12-12T12:46:58 < dongs> haha 2012-12-12T12:47:00 < zyp> so that's not very helpful :p 2012-12-12T12:47:12 < dongs> why not look waht ldo the olimex/whoevers use 2012-12-12T12:47:15 < dongs> on exisitnbg boards 2012-12-12T12:47:23 < zyp> doesn't matter 2012-12-12T12:47:45 < karlp> dongs: what's the motivation for richtek? cheaper? availability? 2012-12-12T12:49:53 < dongs> karlp: a reel of them is like.. 70 bucks 2012-12-12T12:50:01 < dongs> thats 3k 2012-12-12T12:53:14 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-12T12:59:16 -!- Laurenceb_ [~Laurence@host86-178-5-207.range86-178.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2012-12-12T13:00:33 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-12T13:00:33 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-12T13:00:34 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-12T13:00:34 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-12T13:06:15 <+Steffanx> g'afternoon 2012-12-12T13:09:00 -!- jef79m is now known as jef79m_lurking 2012-12-12T13:35:11 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-12T13:41:42 < dongs> https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn1/s480x480/12716_429326420455703_1833126852_n.jpg 2012-12-12T13:41:47 < dongs> apparently electronics joke 2012-12-12T13:42:00 < zyp> also way old 2012-12-12T13:43:21 < dongs> dixus4 is 200km away 2012-12-12T13:43:25 < dongs> might arrive tomorow. 2012-12-12T13:43:29 < dongs> evening. 2012-12-12T13:43:48 < zyp> mine is supposed to be sent on 16. 2012-12-12T13:44:47 < dongs> when did you oreder> 2012-12-12T13:45:40 < zyp> a while ago, but no norwegian stores got it in stock yet 2012-12-12T13:51:25 < Thorn> wtf, lpc1766 is almost twice as expensive as stm32f103vc 2012-12-12T13:53:22 < dongs> thats cuz noone uses that hsit 2012-12-12T13:53:26 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has joined ##stm32 2012-12-12T13:53:31 < LongChair> hello eveyone 2012-12-12T13:53:38 < LongChair> everyone :) 2012-12-12T13:53:59 < LongChair> I am experiencing some memory trouble, malloc returning a null pointer 2012-12-12T13:54:23 < LongChair> I would like to check what is the available heap remaining in the code 2012-12-12T13:54:33 < LongChair> is there any standard fucntion for this ? 2012-12-12T13:54:45 < dongs> write your own malloc() wrapper? 2012-12-12T13:54:57 < dongs> or configure heap size n whatever you use 2012-12-12T13:55:45 < LongChair> what do you mean by configure Heap size n ? 2012-12-12T13:56:11 < Thorn> what malloc are you using? from what library? 2012-12-12T13:56:27 < LongChair> i got the regular arm gcc 2012-12-12T13:57:13 < Thorn> newlib then 2012-12-12T13:57:29 < LongChair> yeah maybe .. to be honnest i didn't really check 2012-12-12T13:57:54 < LongChair> a rought estimation would make me think that I should have enought ram 2012-12-12T13:58:12 < LongChair> but it's not the case obviously because malloc will at some point return a null pointer 2012-12-12T13:58:57 < LongChair> so I think either that my heap is not as big as expected or that there is something eating memory which i have overlooked 2012-12-12T13:59:17 < dongs> n=in 2012-12-12T13:59:32 < dongs> why are you mallocing so much shit anyway 2012-12-12T13:59:33 < LongChair> so was wondering if there was a way to diagnose what's the heap size at startup and monitor it's available size during program executio nto find out 2012-12-12T13:59:46 < dongs> yeah, by writing your own malloc 2012-12-12T13:59:48 < dongs> its not THAT hard. 2012-12-12T13:59:58 < Thorn> mars rover coding standards disallow dynamic memory allocation except when creating tasks 2012-12-12T14:00:01 < dongs> plus you can put stuff in CCM or wahtever areas you want it to be in 2012-12-12T14:00:10 < Thorn> methinks that is a good idea 2012-12-12T14:00:22 < dongs> ya. 2012-12-12T14:00:39 < LongChair> so there is not heap Stat function available in newlib ? 2012-12-12T14:01:32 < karlp> it's right beside the teethwhitening routines 2012-12-12T14:04:46 < LongChair> there is somehting wierd in my setup 2012-12-12T14:05:05 < LongChair> as far as i have understood, you need to add some stubs for newlib 2012-12-12T14:05:11 < LongChair> like _sbrk 2012-12-12T14:05:11 < Thorn> if you use newlib, you probably implemented _sbrk() or whatever yourself, no? 2012-12-12T14:05:19 < LongChair> yes 2012-12-12T14:05:20 < Thorn> yes. 2012-12-12T14:05:32 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 244 seconds] 2012-12-12T14:05:34 < Thorn> so you manage the high water pointer yourself. 2012-12-12T14:05:43 < LongChair> and it seems that I am not getting into it .. even though i have memory issues 2012-12-12T14:05:45 < Thorn> or whatever it's called 2012-12-12T14:06:03 < Thorn> when it comes too close to the end of the stack, panic 2012-12-12T14:06:26 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-12T14:06:27 < Thorn> that my understanding anyway 2012-12-12T14:06:55 < LongChair> yeah but i should get into it at some point and it's not 2012-12-12T14:07:08 < Thorn> it's not called? 2012-12-12T14:07:26 < LongChair> no 2012-12-12T14:10:29 < Thorn> http://balau82.wordpress.com/2010/12/16/using-newlib-in-arm-bare-metal-programs/ , search for /* Heap and stack collision */ 2012-12-12T14:10:51 < Thorn> if your stub code is similar, this is where you detect an out-of-memory situation 2012-12-12T14:11:30 < dongs> The last link has been flagged by IRC NANNY as "Possibly Unsuitable". Please find your parent(s) first and have them check the content before opening. [this channel protected by IrCNaNNY by SafeSoft v1.0b] 2012-12-12T14:12:54 < Thorn> sorry dongs, it was meant for the grown-ups 2012-12-12T14:13:41 < dongs> haha 2012-12-12T14:17:30 < zyp> hmm, emeb is not loading his crystals enough 2012-12-12T14:19:19 < zyp> when he's using the same crystals on both boars and specify 8pf in one BOM and 18pf in the other, something seems a bit weird 2012-12-12T14:21:04 < zyp> esp. when the listed crystals should be both loaded with 33pf or so 2012-12-12T14:22:18 < LongChair> thorn : well maybe you can gimme one more hint :) here is my linker file : 2012-12-12T14:22:19 < LongChair> http://pastebin.com/iiCTT3Xg 2012-12-12T14:22:22 < zyp> probably not going to matter 2012-12-12T14:23:03 < LongChair> on the first allocation inside my program, the _end address is already at 0x20003410 2012-12-12T14:23:26 < LongChair> where the chip has 20k ram, which means max adress is at 0x20005000 2012-12-12T14:23:28 < zyp> it's not like he's generating a microwave RF carrier from it, so it's not that important that the frequency is correct 2012-12-12T14:23:41 < LongChair> i have reserved 1024 bytes from the top of the ram for stack 2012-12-12T14:24:08 < LongChair> _ebss is at 0x20000f00 2012-12-12T14:24:33 < LongChair> which means something is taking the space between 0x20000f00 and 0x20003410 that is 9k of ram 2012-12-12T14:24:44 < LongChair> how can i figure what is taking so much space ? 2012-12-12T14:25:23 < dongs> zyp: i use 18pf for 8-12mhz. 2012-12-12T14:25:35 < dongs> https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-ash4/483569_10151169806947233_1702924714_n.jpg 2012-12-12T14:25:42 < Thorn> what do you mean from the top, where's your stack then? 2012-12-12T14:26:26 < zyp> dongs, frequency doesn't matter, the important part is the C_L value listed in the crystal datasheet 2012-12-12T14:26:36 < LongChair> stack should be starting at 0x20005000 downwards .. i have given 1024 bytes for stack as mentionned in linker file 2012-12-12T14:26:55 < zyp> the load capacitors should be around twice as large as the C_L value 2012-12-12T14:27:12 < dongs> zyp, yeah but there are standard-ish values for that based on frequency. 2012-12-12T14:27:14 < zyp> maybe a little less to account for trace capacitance 2012-12-12T14:27:34 < zyp> well, the crystals emeb selected have 18pf C_L 2012-12-12T14:27:35 < dongs> the rule of thumb is about like this: 47pf for 1MHz to 4MHz... 33pf for 4MHz to 12MHz or so, 22pf for 12MHz to 25MHz 2012-12-12T14:27:42 < zyp> so I'm going to load them with 33pf 2012-12-12T14:28:12 < dongs> ill just use 18pF that i have in my "crystal caps" drawer. 2012-12-12T14:28:36 < Thorn> can you tell if this loading is right or not using a scope? 2012-12-12T14:28:46 < zyp> I loaded the crystal for the nrf chip on my uni project board wrong 2012-12-12T14:29:06 < zyp> resulted in a 0.015% error or so 2012-12-12T14:29:58 < zyp> and 0.015% of 2.4 GHz is 0.4 MHz, that's a lot when you're doing RF with a channel width of 1 MHz 2012-12-12T14:30:25 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has joined ##stm32 2012-12-12T14:30:54 < zyp> http://bin.jvnv.net/f/xNmrm.JPG 2012-12-12T14:34:34 < Thorn> this looks like a $$$ spectrum analyzer rather than a scope 2012-12-12T14:34:52 < zyp> yes 2012-12-12T14:35:12 < dongs> rhode&schwarz shit 2012-12-12T14:35:46 < BrainDamage> zyp: is it yours? 2012-12-12T14:35:54 < dongs> starts at 50k 2012-12-12T14:35:54 < dongs> can prob reach half a mil with all modules in. 2012-12-12T14:36:16 < zyp> BrainDamage, no, belonged to uni 2012-12-12T14:37:12 < dongs> he probably borrowed it from work. 2012-12-12T14:37:12 < dongs> and/or school 2012-12-12T14:37:43 < zyp> as I said, I did that project when I was in uni 2012-12-12T14:49:23 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2012-12-12T14:50:12 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-12T14:50:13 < dongle> man... fucking feenode 2012-12-12T15:01:14 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 240 seconds] 2012-12-12T15:03:57 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-12T15:11:08 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-12T15:21:56 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2012-12-12T15:22:45 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-12T15:27:14 -!- BusError [~michel@host86-129-47-226.range86-129.btcentralplus.com] has quit [Ping timeout: 240 seconds] 2012-12-12T15:27:42 -!- BusError [~michel@host86-129-47-226.range86-129.btcentralplus.com] has joined ##stm32 2012-12-12T15:30:31 -!- carp3 [~carp3@198.143.159.146] has joined ##stm32 2012-12-12T15:31:29 < carp3> Hi, if i use ADC in triple mode , can i switch between input channel quickly ? 2012-12-12T15:31:42 < carp3> channels* 2012-12-12T15:33:40 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2012-12-12T15:34:12 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-12T15:44:44 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Ping timeout: 244 seconds] 2012-12-12T15:46:28 -!- carp3_ [~carp3@31.56.113.0] has joined ##stm32 2012-12-12T15:49:54 -!- carp3 [~carp3@198.143.159.146] has quit [Ping timeout: 244 seconds] 2012-12-12T15:50:36 < zyp> hmm, I think I got all the passives and everything for all the boards now 2012-12-12T16:00:08 < Thorn> is that a project you're doing with dongs? 2012-12-12T16:01:12 < dongs> i think hes just getting boards from me. 2012-12-12T16:01:24 < dongs> btw zyp, theres gonna be a bunch of them.. what hte fuck do you wanna do with them? 2012-12-12T16:02:24 < Thorn> what do they do? 2012-12-12T16:03:11 < dongs> LPC M4/M0 breakout 2012-12-12T16:06:48 < dongs> more awesome rcgroups soldering http://i1263.photobucket.com/albums/ii621/witespy3/20121211_115247.jpg 2012-12-12T16:07:03 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-12T16:07:20 < Laurenceb> lol 2012-12-12T16:07:29 -!- carp3_ [~carp3@31.56.113.0] has quit [Remote host closed the connection] 2012-12-12T16:07:31 < Thorn> is this a final board design? 2012-12-12T16:07:38 < dongs> yeah sure. 2012-12-12T16:07:43 < dongs> its just your standard chink tarduino breakout. 2012-12-12T16:07:43 < Thorn> nice 2012-12-12T16:10:26 < zyp> dongs, dunno, if they work and can be used for something cool, I might get more parts and assemble more 2012-12-12T16:10:45 < Thorn> where is a 3mm led pattern in diptrace. 2012-12-12T16:10:56 < dongs> kk 2012-12-12T16:11:06 < dongs> make it. 2012-12-12T16:11:07 < zyp> I just ordered parts 2012-12-12T16:11:14 < dongs> its so fuckign easy. 2012-12-12T16:11:23 < zyp> got the last three LPC4357 from digikey, so I'll have parts for three 2012-12-12T16:11:28 < dongs> haha 2012-12-12T16:13:31 < Thorn> ANDDE 2012-12-12T16:13:49 < Thorn> and probably CATHDDE 2012-12-12T16:14:20 < zyp> resistors are fucking cheap, by the way, so I just bought a bunch of 5k reels 2012-12-12T16:14:55 < dongs> lol 2012-12-12T16:15:13 < dongs> yageo reels of 1% shit are like basically nothing 2012-12-12T16:15:32 < dongs> http://www.digikey.com/product-detail/en/RC0603FR-0710KL/311-10.0KHRTR-ND/726880 2012-12-12T16:15:45 < dongs> just got some of those, im running low on 10k reel 2012-12-12T16:16:07 < emeb_mac> wow 2012-12-12T16:16:29 < emeb_mac> 5k for $9 - that is cheap 2012-12-12T16:16:52 < zyp> I got the 5% shit of the same 2012-12-12T16:16:58 < zyp> was a bit cheaper 2012-12-12T16:17:00 < dongle> i dont even bother with 5% 2012-12-12T16:17:05 < dongle> no need to stock both types 2012-12-12T16:17:14 < zyp> well, I'm not stocking 1% :p 2012-12-12T16:17:19 < zyp> but fair point 2012-12-12T16:17:49 < dongle> the price difference is irrelevant enough, all the assemblers I know only carry 1% stuff regardless of what design specs 2012-12-12T16:17:58 < gxti> i don't use enough to get reels but i always get 100 count 1% every time 2012-12-12T16:18:11 < dongle> i mean, it'd pobably cost you extra to specifically have 5% stuff mounted. 2012-12-12T16:18:46 < Thorn> I'm ordering a reel of 0.1uF 0603. wonder how many will be left when I die 2012-12-12T16:18:56 < dongle> wanna know the cheapest 0.1uf reel? 2012-12-12T16:18:56 < gxti> although i have a reel of 1K because i needed 100 :p 2012-12-12T16:18:58 < zyp> I didn't think about the tolerance, I just ordered the cheapest reel, because tolerance doesn't fucking matter for generic pullups and shit like it'll be used for 2012-12-12T16:19:04 < gxti> need 1, buy 100. need 100, buy 5000 2012-12-12T16:20:30 < zyp> I got a real of 0.1uf as well 2012-12-12T16:20:31 < zyp> reel 2012-12-12T16:20:40 < gxti> yes, me too 2012-12-12T16:20:49 < gxti> starting to make a dent in it 2012-12-12T16:21:05 < dongle> http://www.digikey.com/product-detail/en/GRM188R71C104KA01D/490-1532-2-ND/587060 cheapest 0.1uf reel 2012-12-12T16:21:33 < gxti> might as well get 50V 2012-12-12T16:22:01 < Thorn> 50V = less dissipation loss iirc 2012-12-12T16:22:22 < Thorn> = better decoupling 2012-12-12T16:22:23 < gxti> 50V X7R goes with everything 2012-12-12T16:22:46 < Thorn> looks like 3mm and 5mm leds have the same pitch. 2012-12-12T16:22:56 < dongle> what the hell is a 3 and 5mm led 2012-12-12T16:23:01 < dongle> are you talkin like DIP stuff 2012-12-12T16:23:17 < Thorn> yes 2012-12-12T16:23:27 < Thorn> I'm doing a device with a case 2012-12-12T16:23:47 < dongle> gxti: 50V is double the price. 2012-12-12T16:23:48 < dongle> http://www.digikey.com/product-detail/en/GRM188R71H104KA93D/490-1519-2-ND/587143 2012-12-12T16:23:57 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-12T16:24:11 < Thorn> and looks like that pitch is 2.54mm 2012-12-12T16:24:33 < Thorn> (found experimentally, with a sample size of 2) 2012-12-12T16:24:51 < dongle> http://www.digikey.com/product-detail/en/CC0603KRX7R9BB104/311-1344-2-ND/2103082 hmm this is not bad 2012-12-12T16:25:10 < dongle> saved for next 0.1uf reel order. 2012-12-12T16:26:48 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-12T16:30:22 < dongs> lol zyp did buy hte last of LPCs 2012-12-12T16:30:41 < zyp> of course I did, I just said so :p 2012-12-12T16:31:14 < dongs> i was googling earlier today 2012-12-12T16:31:27 < dongs> apparently my GT240 (shit card I got now) has 56gbps bandwidth while the new shit is only liek 23gbps 2012-12-12T16:31:31 < dongs> i wonder if I care 2012-12-12T16:31:47 < dongs> is that a gaymer stat? or does that matter when showing full-screen irc windows 2012-12-12T16:32:15 < zyp> no idea 2012-12-12T16:34:56 < Thorn> that matters if your app uses a whole lot of textures and other buffer objects (opengl term) 2012-12-12T16:35:09 < dongs> i use opengl mode in dicktrace 2012-12-12T16:35:27 < gxti> dongle: i think that's what i bought 2012-12-12T16:35:33 < gxti> but yeah, not twice the price 2012-12-12T16:35:34 < Thorn> does it flash all the time btw? 2012-12-12T16:35:38 < dongs> Thorn: flash? 2012-12-12T16:35:42 < dongs> no, its mega smooth 2012-12-12T16:36:11 < dongs> it will flash if your design is huge and it switches to GDI 2012-12-12T16:36:19 < Thorn> the schematics/pcb window flashes a lot e.g. when moving stuff 2012-12-12T16:36:21 < dongs> go view->graphics mode 2012-12-12T16:36:27 < dongs> and make sure you arent in gdi 2012-12-12T16:36:47 < gxti> you can render your IRC in super high dpi mode ololol 2012-12-12T16:37:00 < dongs> gxti: thats the plan 2012-12-12T16:37:09 < dongs> thats why I got a card with 3 digital outputs 2012-12-12T16:37:12 < zyp> emeb_mac, you missed the part when I complained about your crystal loading caps not having sane values :p 2012-12-12T16:37:12 < dongs> so I can irc while I irc. 2012-12-12T16:37:26 < dongs> ah, i thought there was something we discussed while he was gone 2012-12-12T16:38:03 < zyp> 13:17:30 < zyp> hmm, emeb is not loading his crystals enough 2012-12-12T16:38:03 < zyp> 13:19:19 < zyp> when he's using the same crystals on both boars and specify 8pf in one BOM and 18pf in the other, something seems a bit weird 2012-12-12T16:38:06 < zyp> 13:21:04 < zyp> esp. when the listed crystals should be both loaded with 33pf or so 2012-12-12T16:38:18 < emeb_mac> zyp: lol. I don't pay too much attention to that - I've got cut tape of some small pf value that I use for everything. 2012-12-12T16:38:24 < emeb_mac> never had any problems with it so far. 2012-12-12T16:38:32 < dongs> sounds like my "crystal caps" drawer. 2012-12-12T16:38:44 < dongs> it used to be random, then I just started filling it with 18pF. 2012-12-12T16:38:47 < emeb_mac> pretty much 2012-12-12T16:38:56 < zyp> they are probably running a few hundred ppms too fast :p 2012-12-12T16:39:01 < emeb_mac> I think I've been using some 15pf that I bought years ago 2012-12-12T16:39:30 < Thorn> select 4 leds in dicktrace, change pattern. it only changes on the 3rd led. 2012-12-12T16:39:56 < dongs> Thorn: tthre's a box for choosing apply to 2012-12-12T16:40:02 < dongs> similar pattern/similar component/selected or wahtever. 2012-12-12T16:40:05 < dongs> not_hard. 2012-12-12T16:40:09 < zyp> it usually doesn't matter much, but wrong crystal loading fucked up some RF stuff for me once, and I've paid attention since 2012-12-12T16:40:34 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-12T16:41:19 < emeb_mac> if you want to get really persnickety about it then there's a series resistor that is often recommended too. 2012-12-12T16:41:44 < dongs> i think STM has both that and parallel resistor on chip. 2012-12-12T16:41:47 < Thorn> stupid anyway. 2012-12-12T16:41:54 < zyp> I mean, I missed by 0.4MHz at 2.4 GHz, and that's a bit harmful when channel width is 1 MHz :) 2012-12-12T16:42:13 < emeb_mac> 400kHz is nothing to sneeze at. 2012-12-12T16:42:23 < zyp> I think I was using 15pf loads on that 2012-12-12T16:42:29 < dongs> you were doing it wrong 2012-12-12T16:42:30 < zyp> so I just stacked another on top of each 2012-12-12T16:42:32 < dongs> shoulda used a tcxo 2012-12-12T16:42:44 < gxti> i do some calculations with each new crystal but i still have no evidence i'm doing anything right 2012-12-12T16:42:44 < dongs> if it was that important :) 2012-12-12T16:42:45 < emeb_mac> and they should have been... ? 2012-12-12T16:42:49 < gxti> haven't failed yet though 2012-12-12T16:42:58 < gxti> and i really have no idea about the series resistor :p 2012-12-12T16:43:03 < zyp> ~30 I guess 2012-12-12T16:43:59 < zyp> I think we used a week to debug that issue before we realized what caused it 2012-12-12T16:44:03 < emeb_mac> thing is that pin / pad / trace parasitics can be upwards of 2-3pf 2012-12-12T16:44:07 < zyp> because almost everything worked fine 2012-12-12T16:44:09 < emeb_mac> so 8pf or 15pf is kinda in the noise. 2012-12-12T16:45:06 < emeb_mac> it's called "experience". 2012-12-12T16:45:07 < zyp> our nodes could communicate fine with other nodes based on nRF chipset, and receive from nodes based on TI chipset, but TI chipset were not able to receive from our nodes 2012-12-12T16:45:35 < zyp> so nRF is apparently more tolerant of frequency deviations 2012-12-12T16:45:49 < zyp> our nodes were also using nRF chips 2012-12-12T16:46:07 < emeb_mac> yep - depends on what architecture they use for the demod. 2012-12-12T16:46:25 < emeb_mac> and how they have the parameters tuned. 2012-12-12T16:47:10 < gxti> zyp: wrong frequency or something more insidious? 2012-12-12T16:47:21 < dongs> way to miss the entire convo 2012-12-12T16:47:38 < gxti> shut your cakehole 2012-12-12T16:47:43 < dongs> ^_^ 2012-12-12T16:47:44 < Laurenceb> http://www.b3tards.com/u/51a157c5c221a434ebc5/wogansnowman2.gif 2012-12-12T16:47:49 < zyp> gxti, too little loading, causing crystal to run 0.015% too fast 2012-12-12T16:47:55 < zyp> or so 2012-12-12T16:48:00 < dongs> Laurenceb: http://witespyquad.gostorego.com/speed-controllers/reflashed-esc-with-rapidesc-fw-for-multirotor.html 2012-12-12T16:48:01 < gxti> k 2012-12-12T16:48:18 < gxti> just making sure there wasn't some other sort of problem you could get from wrong loading, other than failing to start obviously 2012-12-12T16:48:31 < Laurenceb> lulwut 2012-12-12T16:48:39 < zyp> emeb_mac, I've accounted for trace capacitance 2012-12-12T16:48:41 < dongs> Laurenceb: scroll down incase you havent yet 2012-12-12T16:48:42 < Laurenceb> how did you manage that one 2012-12-12T16:48:51 < dongs> Laurenceb: the fucktard linekd to an iamge off my site 2012-12-12T16:48:59 < Laurenceb> ah 2012-12-12T16:49:52 < zyp> emeb_mac, the loading caps should be about twice the C_L value listed for the crystal, so 18pf caps should have 36pf loading, I picked 33pf to account for traces and pads 2012-12-12T16:50:02 < zyp> 18pf crystals* 2012-12-12T16:55:25 < emeb_mac> zyp: huh. guess I'd have to give that more thought than I have at this point. 2012-12-12T16:59:29 < dongs> http://bcas.tv/paste/results/Yaxr0o42.html 2012-12-12T16:59:34 < Tectu> dongs 2012-12-12T16:59:40 < dongs> ordered something with 5 days processing, got ^ in reply 2012-12-12T16:59:46 < dongs> Tectu: sup my kawaii friend 2012-12-12T17:00:19 < Tectu> nawt much, haw bawt you? 2012-12-12T17:00:29 < Tectu> ^___^ 2012-12-12T17:01:06 < Laurenceb> http://img.myconfinedspace.com/wp-content/uploads/2011/09/Holy-Shit-that-is-so-fucking-kawaii.jpg 2012-12-12T17:01:24 < dongs> funny level: tectu 2012-12-12T17:07:07 < dongs> attn baird http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter 2012-12-12T17:07:58 < emeb_mac> saw that 2012-12-12T17:08:43 < emeb_mac> bet they've got harmonics like crazy 2012-12-12T17:09:55 < zyp> «… but since the PI is very fast …» 2012-12-12T17:15:39 < emeb_mac> lol - audio sample rate set with a busy-wait loop. 2012-12-12T17:16:56 < emeb_mac> no - actually depends on total time around data loop. No control whatsoever. 2012-12-12T17:17:47 < karlp> doesn't matter, heard sounds? 2012-12-12T17:17:57 < emeb_mac> this falls into the "singing dog" category. 2012-12-12T17:18:18 < emeb_mac> doesn't sound good, just amusing it works at all. 2012-12-12T17:21:10 < dongs> blame lunix. 2012-12-12T17:21:37 < emeb_mac> blame broadcom 2012-12-12T17:22:20 < gxti> blame canada? 2012-12-12T17:22:31 < emeb_mac> heh - got an email yesterday from a guy at broadcom asking about my F4+codec board. 2012-12-12T17:23:44 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-12T17:24:19 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2012-12-12T17:28:25 < dongs> http://wiki.bitcraze.se/projects:crazyflie:index man these trolls STILL havent delivered anything 2012-12-12T17:30:44 < Tectu> «Note, code quality is: Completely Hacked Together» 2012-12-12T17:31:50 < dongs> http://www51.honeywell.com/aero/common/documents/myaerospacecatalog-documents/Defense_Brochures-documents/HMC5983_3_Axis_Compass_IC.pdf huh what is this 2012-12-12T17:32:17 < dongs> holy shit, a SPI mag 2012-12-12T17:36:56 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has quit [Quit: When the chips are down, well, the buffalo is empty] 2012-12-12T17:38:37 < dongs> and double ODR of 5883 2012-12-12T17:39:28 < zyp> so you can get double the amount of useless data, ten times as fast? 2012-12-12T17:40:48 < dongs> hey, its tEMPERATURE COMPESATED! 2012-12-12T17:45:07 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-12T17:47:18 -!- dekar [~dekar@212.255.235.250] has joined ##stm32 2012-12-12T17:47:21 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-12T17:47:40 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-12T17:50:41 < dongs> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=743aa456c1834f76982af44e8b71d1a0b2a82e21 2012-12-12T17:50:47 < dongs> terrible news for everyone still running lunix 2012-12-12T17:52:13 < Thorn> how come you're following linux kernel development. 2012-12-12T17:53:30 < gxti> also not terrible news 2012-12-12T17:56:46 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-12T17:57:28 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 252 seconds] 2012-12-12T18:00:23 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-12T18:01:22 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-12T18:10:47 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-12T18:11:27 < emeb> hmm.. DK order should arrive today. 2012-12-12T18:12:00 < emeb> can finish building the F3 breakout & start on BMP2. 2012-12-12T18:18:31 < zyp> :) 2012-12-12T18:20:06 < emeb> zyp: did a bit of reading up on loading caps. Understand that better now. 2012-12-12T18:21:12 < emeb> checked out the xtal on the previous F3 breakout on my analyzer. 2012-12-12T18:22:16 < zyp> any measurable error? 2012-12-12T18:22:27 < emeb> despite the loading being about 1/2 of what it should be the frequency was 37Hz off, or about 3.7ppm 2012-12-12T18:22:45 < zyp> if you can trust the analyzer :) 2012-12-12T18:23:27 < emeb> Yeah - about 6 years since it's been calibrated. 2012-12-12T18:24:39 < emeb> and it's a spectrum analyzer with 1kHz min RBW, so the peak was, shall we say rather broad. 2012-12-12T18:26:01 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-12T18:33:04 < gxti> i need a frequency counter... i built a 10mhz GPS reference but i have nothing to plug it into 2012-12-12T18:33:54 < emeb> I've got an ancient HP out in the garage. 2012-12-12T18:33:56 < gxti> the only counter i have is my cheap instek scope which is ... not great 2012-12-12T18:34:02 < emeb> I think it has nixie tubes! 2012-12-12T18:34:37 < emeb> good up to 18GHz, but it's been years since I turned it on. 2012-12-12T18:34:44 < zyp> :) 2012-12-12T18:35:01 < Laurenceb> http://linux.slashdot.org/comments.pl?sid=3311475&cid=42260825 2012-12-12T18:35:01 < gxti> almost bought one a few months ago but i forgot to check the auction before it expired 2012-12-12T18:35:04 < gxti> probably for the best 2012-12-12T18:35:05 < Laurenceb> typical slashdotter 2012-12-12T18:59:25 -!- rlc [63ed50cf@gateway/web/freenode/ip.99.237.80.207] has joined ##stm32 2012-12-12T18:59:38 < rlc> what does APB stand for? 2012-12-12T19:00:28 < zyp> advanced peripheral bus 2012-12-12T19:01:22 < Laurenceb> isnt it AMBA bus? 2012-12-12T19:01:26 < zyp> yep 2012-12-12T19:01:32 < zyp> http://en.wikipedia.org/wiki/Advanced_Microcontroller_Bus_Architecture 2012-12-12T19:04:08 < rlc> ok thanks. Could not find the definition in the datasheet, but was guessing it was that 2012-12-12T19:10:44 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2012-12-12T19:12:45 < zyp> heh, digikey mailed me 2012-12-12T19:12:48 < zyp> «Due to the value of your order it appears to exceed the normal usage for an individual.» 2012-12-12T19:13:38 < Laurenceb> lol 2012-12-12T19:13:50 < Laurenceb> whats the value? 2012-12-12T19:13:57 < zyp> $400 or so 2012-12-12T19:18:23 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-12T19:25:19 < karlp> stupid datasheets. "adc has up to 16 external channels" only actually has 10. 2012-12-12T19:25:29 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-12T19:25:45 < jpa-> datasheet is up to 100% correct 2012-12-12T19:27:48 < emeb> zyp: so what does DK want you to do? Set up a business acct or something? 2012-12-12T19:29:11 < jpa-> i have heard that getting DK business account actually approved can be quite tricky.. faxing and snailmailing lot of documents back and forth 2012-12-12T19:29:33 < zyp> no, I think they were just confirming that the information was correct, considering that I put my work as shipping addr 2012-12-12T19:29:43 < zyp> (because I'm never home when the shipments arrive) 2012-12-12T19:33:43 < emeb> heh - microcontroller shop got hacked. 2012-12-12T19:35:16 < Laurenceb> http://microcontrollershop.com/ 2012-12-12T19:35:20 < Laurenceb> looks unhacked to me 2012-12-12T19:35:31 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-12T19:35:33 < gxti> better give them your CC number to make sure 2012-12-12T19:35:37 < zyp> database leak 2012-12-12T19:36:06 < Laurenceb> http://microcontrollershop.com/default.php?cPath=113 2012-12-12T19:36:08 < emeb> email, phone # and hashed pw were taken 2012-12-12T19:36:10 < Laurenceb> lol oldschool 2012-12-12T19:36:16 < Laurenceb> st-five 2012-12-12T19:37:37 < Laurenceb> failboggz 2012-12-12T19:37:38 < Laurenceb> http://s.gullipics.com/image/4/2/h/5yvn3b-jhexp7-mtrf/IMG6308.jpeg 2012-12-12T19:38:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-12T19:38:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-12T19:38:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-12T19:38:53 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-12T19:39:04 < emeb> all that needs now is an rpi 2012-12-12T19:39:28 -!- barthess [~barthess@77.67.221.238] has joined ##stm32 2012-12-12T19:40:08 <+Steffanx> lo 2012-12-12T19:40:31 < emeb> hel 2012-12-12T19:45:54 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Read error: Operation timed out] 2012-12-12T19:49:11 <+Steffanx> :) 2012-12-12T19:56:27 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2012-12-12T20:10:55 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-12-12T20:28:47 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2012-12-12T20:29:12 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-12T20:35:04 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-12T20:35:40 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-12T20:39:41 -!- barthess [~barthess@77.67.221.238] has quit [Quit: Leaving.] 2012-12-12T20:46:35 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-12T20:47:32 -!- daku is now known as DaKu 2012-12-12T21:01:44 -!- rlc [63ed50cf@gateway/web/freenode/ip.99.237.80.207] has quit [Quit: Page closed] 2012-12-12T21:08:28 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2012-12-12T21:19:16 -!- Laurenceb_ [~Laurence@host86-178-234-198.range86-178.btcentralplus.com] has joined ##stm32 2012-12-12T21:25:53 -!- neuro-sys [~neuro@unaffiliated/neurosys/x-283974] has joined ##stm32 2012-12-12T21:45:35 < ds2> anyone looked at the efm32 stuff? 2012-12-12T21:46:22 < emeb> someone here was pretty excited about it a few months back but I haven't heard much since. 2012-12-12T21:46:38 < ds2> is it that much lower power compared to the stm32? 2012-12-12T21:46:52 <+Steffanx> wasn't that some sort of wireless thingy emeb ? 2012-12-12T21:47:45 < emeb> ds2: It looked like it might be, but the peripherals were more limited and clock speeds were lower 2012-12-12T21:47:53 < emeb> Steffanx: don't recall 2012-12-12T21:47:56 < ds2> oh 2012-12-12T21:48:09 < ds2> Staffanx: are you confusing this with the nordic M0 stuff? 2012-12-12T21:48:35 <+Steffanx> No, but i'm not 100% sure 2012-12-12T21:48:52 <+Steffanx> http://www.energymicro.com/products/ no "radios" :) 2012-12-12T21:49:11 <+Steffanx> *no, 2012-12-12T21:51:19 < zyp> efr4d is the ones with radios 2012-12-12T21:52:59 <+Steffanx> Yes 2012-12-12T21:56:28 < emeb> zyp: DK parts arrived. 2012-12-12T21:56:44 < zyp> they just shipped mine 2012-12-12T21:56:55 < emeb> looks like the row spacing on the 20-pin JTAG connector I specified is wider than the board thickness 2012-12-12T21:56:56 < ds2> the efr4d? 2012-12-12T21:57:40 < zyp> emeb, that's normal 2012-12-12T21:57:47 < zyp> probably not too much to make it unsolderable? 2012-12-12T21:58:33 < emeb> zyp: no - the metal is fairly thin & flexible, so they can be bent down to the board. 2012-12-12T21:58:45 < zyp> just solder one side first, then bend down the pins on the other side afterwards 2012-12-12T21:58:50 < emeb> yup 2012-12-12T22:01:49 <+Steffanx> Yes, ds2 :) 2012-12-12T22:02:26 < emeb> zyp: first experience with the fully shrouded mini-10 header. 2012-12-12T22:02:52 < zyp> how do you like it? 2012-12-12T22:03:00 < emeb> it's hard to pull the cable *out* of that by hand w/o torquing on the ribbon cable. 2012-12-12T22:04:13 < zyp> is that a huge concern? 2012-12-12T22:04:13 < emeb> the smaller header w/o the enclosed ends that Blackmagic used on the BMPM is better for removal. 2012-12-12T22:05:02 < emeb> not huge. 2012-12-12T22:05:20 < zyp> cables are easier to replace than connectors, so I don't mind more wear on the cable in exchange for better protection of the connector 2012-12-12T22:05:58 < emeb> there's that. 2012-12-12T22:06:23 < emeb> also - could glue a little tab on the cable strain-relief to make it easier to grab. 2012-12-12T22:07:27 < zyp> I once had some ribbon cables that had a plastic ribbon wrapped around the strain relief, so you could just pull that 2012-12-12T22:08:01 < zyp> I think it was some IDE cables, back in those days 2012-12-12T22:08:05 < emeb> I've seen that too 2012-12-12T22:08:25 <+Steffanx> Yeah, the good old ide cables :D 2012-12-12T22:09:40 <+Steffanx> The time where they actually thought about design/usability/durability *kuch* 2012-12-12T22:11:10 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-12T22:17:14 * Laurenceb_ cant be bothered to read scrollback 2012-12-12T22:17:19 < Laurenceb_> lexipcb? 2012-12-12T22:17:23 < Laurenceb_> *flexi 2012-12-12T22:24:33 <+Steffanx> no 2012-12-12T22:32:32 < emeb> well.... 8MHz xtal on the F373 doesn't help USB bootloader work 2012-12-12T22:33:22 < emeb> starting to wonder if there's actually a USB DFU bootloader in the F3 series. 2012-12-12T22:33:33 < zyp> sure is 2012-12-12T22:33:42 < zyp> worked for me on discovery board 2012-12-12T22:34:14 < emeb> but that's an F303, not an F373 right? 2012-12-12T22:34:36 < zyp> correct 2012-12-12T22:36:05 < emeb> it's probably because I used the wrong loading caps. :P 2012-12-12T22:36:21 < zyp> :p 2012-12-12T22:37:06 < ds2> is there also a series resistor required? 2012-12-12T22:37:28 < zyp> usb itself works fine, we've checked that before 2012-12-12T22:38:03 < emeb> acm loopback works 2012-12-12T22:38:17 < emeb> after I changed the PLL setting back to the 8MHz value 2012-12-12T22:38:31 < emeb> the new PFET pullup ckt seems OK 2012-12-12T22:39:55 < zyp> :) 2012-12-12T22:41:41 < emeb> probably should try adding code to release/assert the pullup on reset. 2012-12-12T22:41:58 < emeb> that could go into the main.cpp in the laks demo, right? 2012-12-12T22:42:03 < zyp> sure 2012-12-12T22:42:28 < emeb> that way I wouldn't have to keep plugging/unplugging things. :P 2012-12-12T22:42:31 -!- jef79m_lurking is now known as jef79m 2012-12-12T22:42:46 < zyp> just configure it as output, assert it, sleep for a while then de-assert it again 2012-12-12T22:42:57 < emeb> yup 2012-12-12T22:44:10 < zyp> it's probably a good idea to wait until after usb.init() to de-assert it again 2012-12-12T22:44:29 < ds2> are the boot pins sane? 2012-12-12T22:46:07 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 265 seconds] 2012-12-12T22:46:25 < emeb> F3 only has boot0 2012-12-12T22:46:38 < emeb> and I've got a pulldown + jumper on it to test 2012-12-12T22:46:49 < ds2> oh 2012-12-12T22:46:51 < emeb> boot1 is controlled by an internal register 2012-12-12T22:47:28 < ds2> does it require quiet usarts? 2012-12-12T22:47:42 < ds2> the F1 suggests that if there is noise on them, it may latch on to the wrong one 2012-12-12T22:50:06 < emeb> interesting point. 2012-12-12T22:50:19 < emeb> I'm not doing anything on the usart inputs, but they are floating. 2012-12-12T22:50:39 < ds2> think ST"s notes say it shouldn't be floating 2012-12-12T22:50:44 < emeb> zyp: did you do anything special on the usart inputs when you tested USB DFU boot on your F3 disco? 2012-12-12T22:50:49 < zyp> no 2012-12-12T22:51:03 < emeb> hmmm 2012-12-12T22:51:07 < zyp> I just pulled boot0 high and reset it 2012-12-12T22:51:19 < emeb> someone didn't define pins for GPIOF. :) 2012-12-12T22:51:47 < zyp> I wonder who that someone is :D 2012-12-12T22:52:13 < emeb> just copy/paste & change the name? 2012-12-12T22:52:26 < zyp> should work fine 2012-12-12T22:53:00 < zyp> reason I only have A-D is that they are the only ones that I have GPIOx for for all families 2012-12-12T22:53:12 < zyp> adding more causes compilation errors 2012-12-12T22:53:46 < zyp> and I'll rather just avoid adding them like that at all, and just generate them with GPIOx[n] instead 2012-12-12T22:53:51 < emeb> syntax for sleep()? 2012-12-12T22:54:03 < zyp> Time::sleep(5) for 5ms 2012-12-12T22:54:29 < emeb> missing the Time:: 2012-12-12T22:55:15 < zyp> you need 2012-12-12T22:55:25 < zyp> but you should have that? 2012-12-12T22:56:14 < zyp> hmm, got you, I just read too fast :p 2012-12-12T22:58:40 < emeb> compiled, loaded but doesn't seem to be tweaking the PF6 pin. 2012-12-12T22:59:19 < zyp> RCC? :) 2012-12-12T22:59:32 < emeb> yup 2012-12-12T23:00:10 < emeb> http://pastebin.com/HfFYxL3s 2012-12-12T23:01:01 < emeb> line 46, 145, 148, 150, 151, 180 2012-12-12T23:02:03 < emeb> bbiab 2012-12-12T23:04:37 < zyp> I can't see anything strikingly wrong 2012-12-12T23:04:51 < zyp> I suggest looking at GPIOF object in gdb 2012-12-12T23:05:37 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2012-12-12T23:11:17 < emeb> oh wait - it works 2012-12-12T23:11:33 < emeb> bmp didn't run after loading 2012-12-12T23:12:17 < emeb> sweet - hitting reset button restarts it. 2012-12-12T23:19:20 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2012-12-12T23:19:43 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-12T23:19:57 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2012-12-12T23:35:50 -!- neuro-sys [~neuro@unaffiliated/neurosys/x-283974] has quit [Quit: |] 2012-12-12T23:38:33 < zyp> hmm, I think I'm beating Laurenceb_ on speed now 2012-12-12T23:39:14 < zyp> «Duration: 0:00.016.156.933 Transferred length: 131072 bytes (~7.737 MBps)» 2012-12-12T23:39:31 < emeb> what was it before? 2012-12-12T23:39:36 < Laurenceb_> nice 2012-12-12T23:39:39 < zyp> this is with SDHC card 2012-12-12T23:39:44 < zyp> SDSC card is still slow 2012-12-12T23:39:53 < Laurenceb_> with spi? 2012-12-12T23:40:20 < zyp> around 650 KB/s with SDSC card 2012-12-12T23:40:25 < Laurenceb_> interesting 2012-12-12T23:40:31 < Laurenceb_> but thats from the usb debugger 2012-12-12T23:40:38 < Laurenceb_> ? 2012-12-12T23:40:39 < zyp> yes 2012-12-12T23:41:10 < Laurenceb_> i was timing large reads to /media 2012-12-12T23:41:21 < zyp> unfortunately it's not stable enough for that 2012-12-12T23:41:27 < Laurenceb_> heh 2012-12-12T23:41:48 < Laurenceb_> interleaving usb and spi? 2012-12-12T23:41:50 < zyp> my SD driver doesn't handle errors, and both cards gets stuck because of that now :p 2012-12-12T23:42:02 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-12T23:42:06 < zyp> yes 2012-12-12T23:42:19 < Laurenceb_> and 18mhz spi? 2012-12-12T23:42:32 < zyp> and in case it weren't obvious from the seven megabytes per second, I'm running HS now 2012-12-12T23:42:49 < Laurenceb_> i was getting ~900 sometimes 2012-12-12T23:42:56 < Laurenceb_> but average was 825K 2012-12-12T23:43:01 < Laurenceb_> with a hub it slows down 2012-12-12T23:44:50 < zyp> hmm, I'm apparently running 12MHz SDIO 2012-12-12T23:45:18 < Laurenceb_> wut 2012-12-12T23:45:24 < Laurenceb_> using spi bus?! 2012-12-12T23:45:35 < zyp> of course not 2012-12-12T23:45:47 < zyp> you are the only one talking about SPI here 2012-12-12T23:54:16 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 265 seconds] 2012-12-12T23:57:38 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 --- Day changed Thu Dec 13 2012 2012-12-13T00:04:47 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-13T00:11:30 -!- jef79m is now known as jef79m_lurking 2012-12-13T00:14:38 -!- jef79m_lurking is now known as jef79m 2012-12-13T00:15:40 < ds2> anyone tried getting 1.8V stm32's? 2012-12-13T00:32:20 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-13T00:44:11 -!- DaKu is now known as daku 2012-12-13T00:44:45 < Laurenceb_> what do you mean? 2012-12-13T00:44:57 < Laurenceb_> F4 runs on 1.8v 2012-12-13T00:45:04 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-13T00:45:14 < ds2> according to ST, it is a special option 2012-12-13T00:45:21 < ds2> maybe that is F1/F2/F3 only? 2012-12-13T00:45:27 < Laurenceb_> wut 2012-12-13T00:45:34 < karlp> you mean 1.8v external? 2012-12-13T00:45:35 < ds2> ability to run from 1.8V 2012-12-13T00:45:43 < karlp> Laurenceb_: they are all 1.8v internal, 2012-12-13T00:45:47 < ds2> yes, externally power it from a 1.8V source 2012-12-13T00:45:48 < Laurenceb_> no 2012-12-13T00:45:53 < Laurenceb_> all 1.2v internal 2012-12-13T00:45:54 < ds2> except for analog 2012-12-13T00:46:08 < ds2> pure digital stuff, w/only a 1.8V source 2012-12-13T00:46:21 < Laurenceb_> aiui all F4 can do that 2012-12-13T00:46:29 < Laurenceb_> i think everything can in fact... 2012-12-13T00:46:43 < ds2> the F1 normal spec calls for 2.0V as min. 2012-12-13T00:46:59 < Laurenceb_> oh yeah 2012-12-13T00:47:11 < ds2> and I think the F3 mentions 1.8V is a special order option (this is per their seminar) 2012-12-13T00:47:54 < Laurenceb_> yes 2012-12-13T00:48:17 < ds2> is that option available to mere mortals w/o a billion unit/year consumption? 2012-12-13T00:48:29 < Laurenceb_> looks like you need F4 2012-12-13T00:48:49 < Laurenceb_> i dont know :P 2012-12-13T00:48:58 < Laurenceb_> atm only a couple of F3s are avaliable 2012-12-13T00:49:02 < ds2> the F4 is physically too large compared to the F1 2012-12-13T00:49:16 < ds2> F3/F4 are physically large 2012-12-13T00:49:23 < Laurenceb_> yes 2012-12-13T00:51:17 < ds2> tempted play with the EFM32 stuff... 1.85V min VCC 2012-12-13T00:51:44 < Laurenceb_> well you could use 2.0v 2012-12-13T00:52:03 < ds2> I am looking at power options with 2x AA's 2012-12-13T00:52:15 < ds2> 2.0v would be tight if they are alkalines 2012-12-13T00:52:28 < ds2> otherwise boosts will be required 2012-12-13T00:52:51 < Laurenceb_> running directly off batteries is a little nasty 2012-12-13T00:53:05 < ds2> any specifics? 2012-12-13T00:53:08 < Laurenceb_> oh - ldo? 2012-12-13T00:53:30 < ds2> trying to avoid LDOs... 2xAA's is within the specified power range 2012-12-13T00:53:37 < Laurenceb_> http://www.stefanv.com/electronics/using_nimh/nimh_vs_alkaline.gif 2012-12-13T00:53:44 < ds2> Li Ion would require an LDO 2012-12-13T00:53:47 < Laurenceb_> thats a bit nasty 2012-12-13T00:53:54 < Laurenceb_> i guess ok if its digital 2012-12-13T00:54:00 < ds2> yeah, all digital 2012-12-13T00:54:20 < ds2> NiMH would work...kinda but the charging for NiMH gets messy 2012-12-13T00:54:27 < Laurenceb_> you only lose ~10% with alkaline 2012-12-13T00:54:37 < Laurenceb_> make that 20% 2012-12-13T00:54:54 < ds2> with a cut off at 1V? 2012-12-13T00:54:59 < ds2> or the 0.7V cut off? 2012-12-13T00:55:25 < Laurenceb_> at 1v 2012-12-13T00:55:27 < ds2> I see what you are saying.. cut off at 1V 2012-12-13T00:55:27 < Laurenceb_> so 2v total 2012-12-13T00:55:44 < Laurenceb_> ok i tried to be more accurate with that graph - got ~14% 2012-12-13T00:56:00 < ds2> *nod* but the charging of NiMH can get icky 2012-12-13T00:56:07 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-13T00:56:44 < [7]> ds2: depends on how fast you need to charge 2012-12-13T00:56:54 < karlp> get a nice reliable efficient step up? 2012-12-13T00:57:04 < karlp> or are you hoping to avoid any regulator at all? 2012-12-13T00:57:17 < ds2> [7]: don't I have to have a temperature detect to terminate charge properly? or you suggesting indefinite trickle? 2012-12-13T00:57:23 < ds2> karlp: trying to avoid a regulator 2012-12-13T00:57:44 < karlp> fair enough, I need 3v3 for a sensor, so stuck a boost on 2012-12-13T00:57:51 < [7]> ds2: if you can accept 20h charging time, indefinite trickle is a valid solution 2012-12-13T00:57:52 < zyp> some guys at work were running a lipo in parallel with a benchtop power supply for some stuff last week 2012-12-13T00:58:03 < ds2> there seems to be a lot of 1.8V sensors around 2012-12-13T00:58:15 < ds2> [7]: doesn't that reduce the life of the cells? 2012-12-13T00:58:26 < Laurenceb_> a lot of sensors take 1.8v digital and >2v analogue 2012-12-13T00:58:33 < ds2> zyp: how big was the blast crater? 2012-12-13T00:58:40 < [7]> ds2: shouldn't do all that much harm if the trickle current is low enough, like 0.05C 2012-12-13T00:58:49 < zyp> I almost expected lipo fire when one of the guys figured he wanted more voltage and turned up the power supply, suddenly increasing the load by 2A 2012-12-13T00:58:53 < ds2> the ones i see seem to be pure 1.8V (used with the bigger chips like OMAPs, etc) 2012-12-13T00:59:15 < ds2> [7]: ah. I see 2012-12-13T00:59:18 < [7]> zyp: I've done that before, and it's also a valid solution if done right :P 2012-12-13T00:59:22 <+Steffanx> You didn't link them some nice videos on youtube zyp ? 2012-12-13T00:59:40 < zyp> :p 2012-12-13T00:59:55 < ds2> zyp: I wonder if the protection circuitry tripped 2012-12-13T01:00:23 < Laurenceb_> hmm i guess on way that msp430/avr is nicer is 1.8v 2012-12-13T01:00:26 < zyp> nah, it probably handles 2A fine 2012-12-13T01:00:42 < Laurenceb_> ive been meaning to try overvolt/undervolt the stm32f4 core voltage 2012-12-13T01:01:00 < ds2> on paper the EFM32's seems to do ~1.8V 2012-12-13T01:01:02 < Laurenceb_> as the vcap pins are available 2012-12-13T01:01:26 < ds2> so far the only complaint is a lack of detail docs on the EFM32 site 2012-12-13T01:06:04 < emeb> hmmm 2012-12-13T01:06:23 < emeb> tried tying down various USART_RX pins during boot. still no DFU joy. 2012-12-13T01:07:10 < ds2> emeb: can you get DFU to work over the UART? 2012-12-13T01:07:30 < emeb> I suppose I could try 2012-12-13T01:07:33 < emeb> haven't yet tho 2012-12-13T01:07:45 < ds2> that should confirm the boot0 setup 2012-12-13T01:07:57 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-13T01:08:05 < emeb> interestingly enough I never see the xtal startup when in boot mode 2012-12-13T01:08:12 < Laurenceb_> http://www.satflare.com/track.html?q=38853#MAP 2012-12-13T01:10:16 < emeb> heh - was out looking for meteors a few months back and saw a really bright sat flare. 2012-12-13T01:11:45 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-13T01:13:49 < Laurenceb_> ill have to have a look for that 2012-12-13T01:13:56 < Laurenceb_> if i can get outside 2012-12-13T01:18:43 < Laurenceb_> without freezing 2012-12-13T01:23:03 < baird> I wrote software for visually tracking satellites a looong time ago.. http://hunter.apana.org.au/~cjb/Code/predict1.shar 2012-12-13T01:23:54 < zyp> reminds me of my days in space tech school 2012-12-13T01:24:07 < baird> I used it to watch Mir come down. :) 2012-12-13T01:24:34 < baird> ...and then the Yanks went all NATIONAL SECRETS on the satellite TLE data. :/ 2012-12-13T01:25:58 < zyp> I remember we learned how to use the telemetry station by locking onto and tracking weather sats 2012-12-13T01:25:59 < baird> As an indicator of how old the code is, there's remarks about the best compiler options when building for systems without an FPU. :) 2012-12-13T01:30:56 < ds2> Hmmmm apparently the EFM32 cannot start at 1.8V 2012-12-13T01:32:39 < zyp> did anyone mention L1? 2012-12-13T01:32:59 < zyp> I believe L1 will run on 1.65V 2012-12-13T01:33:49 < zyp> ah, yes 2012-12-13T01:33:55 < zyp> «The ultra-low-power STM32L15xxx operates from a 1.8 to 3.6 V power supply (down to 2012-12-13T01:33:58 < zyp> 1.65 V at power down) with BOR and from a 1.65 to 3.6 V power supply without BOR option. » 2012-12-13T01:53:34 < emeb> anyone know what serial boot mode does - does it send out anything on TX? 2012-12-13T01:53:50 < emeb> or just look for activity on RX? 2012-12-13T01:53:57 < ds2> it looks for activity on RX 2012-12-13T01:54:00 < ds2> uses that to autobaud 2012-12-13T01:54:07 < emeb> meh 2012-12-13T01:54:12 < ds2> you will need a client to get it to do stuff 2012-12-13T01:54:17 < emeb> figures 2012-12-13T01:54:25 < ds2> went through that a week or two ago :D 2012-12-13T01:55:03 < emeb> AN2606 doesn't have anything about F3 yet, so it's anyone's guess which of the many USART?_RX pins it watches. 2012-12-13T01:55:15 < ds2> there is a Linux tool to talk to it 2012-12-13T01:55:35 < ds2> USART1 seems to be common 2012-12-13T01:57:18 < emeb> no doubt. USART1_RX appears at 3 possible locations on a 48-pin F373. :) 2012-12-13T01:57:32 < ds2> Oh.. it is a very flexible mux I see :D 2012-12-13T01:57:48 < ds2> _RX is inputs... why not wire them up together in parallel? 2012-12-13T01:58:13 < ds2> how sw compatible is F3 and F4 for basic boot up stuff? (i.e. is clocks configured the same way) 2012-12-13T01:58:19 < emeb> eh - not hard to move a jumper around. Then you have to watch to see which _TX pin starts talking. 2012-12-13T01:58:28 < ds2> trying to see if I can try out nuttx out of the box with the f4discovery config 2012-12-13T01:58:37 < ds2> oh right...there is a _TX side...oops ;) 2012-12-13T01:58:57 < ds2> emeb: actually, why not try out the DFU USB stuff on the F3discovery? 2012-12-13T01:59:11 < emeb> zyp already did - it works. 2012-12-13T01:59:24 < emeb> but that's an F303 2012-12-13T01:59:24 < ds2> ah.. so 373 vs 303 is the only difference? 2012-12-13T01:59:32 < emeb> AFAIK 2012-12-13T02:00:07 < ds2> hmmm 2012-12-13T02:00:24 < ds2> what about trying to find out which USART is doing DFU on the Discovery? 2012-12-13T02:00:55 < emeb> yeah - could do that. 2012-12-13T02:01:21 < emeb> also thinking about looking at the flash option register to make sure the nBoot1 bit is really a '1' like they say. 2012-12-13T02:01:37 < emeb> could probably do that with gdb 2012-12-13T02:02:12 < ds2> are all 3 possible pins for the USARTs considered to be primary on the F3? 2012-12-13T02:02:28 < emeb> dunno 2012-12-13T02:04:17 < zyp> I bet it's using PA9 and PA10 2012-12-13T02:05:00 < zyp> and also PD5/PD6 2012-12-13T02:05:37 < zyp> ah, pins are named differently 2012-12-13T02:05:43 < emeb> yup 2012-12-13T02:05:55 < zyp> did you figure out the GPIOF stuff? 2012-12-13T02:06:02 < emeb> yeah 2012-12-13T02:06:05 < emeb> works great 2012-12-13T02:06:17 < zyp> nice, what was wrong? 2012-12-13T02:06:29 < emeb> nothing wrong with it - bmpm didnt run after loading for some reason. 2012-12-13T02:06:34 < zyp> oh 2012-12-13T02:06:35 < emeb> just hit run and it worked 2012-12-13T02:06:51 < emeb> so pfet pullup ckt is a go 2012-12-13T02:07:13 < emeb> no idea why olimex et al use that complicated 2 transistor 8 resistor circuit. 2012-12-13T02:08:08 < zyp> hmm 2012-12-13T02:08:36 < zyp> wrt. to dfu, did you plug in usb before resetting the board? 2012-12-13T02:08:40 < zyp> I guess it's bus powered? 2012-12-13T02:09:51 < emeb> it is bus powered 2012-12-13T02:10:05 < zyp> right, so PA10 is always high 2012-12-13T02:10:16 < zyp> so it shouldn't mistake that for uart activity 2012-12-13T02:11:29 < emeb> I've got it pulled low, but yeah 2012-12-13T02:12:02 < zyp> vbus_sens is not pulled low when vbus is present? 2012-12-13T02:13:09 < emeb> ummm - which vbus_sens would that be? 2012-12-13T02:14:01 < Laurenceb_> theres python code for usart upload 2012-12-13T02:14:30 < zyp> emeb, your schematic shows PA10 connected to vbus through R8 2012-12-13T02:15:15 < emeb> zyp: yeah, but that's a gimme for this board - probably not used by the DFU code 2012-12-13T02:15:34 < zyp> but PA10 is UART1_RX 2012-12-13T02:15:52 < zyp> which would indicate uart boot if low 2012-12-13T02:16:09 < emeb> I've tried it both ways - letting VBUS pull it up, or hard short to ground. neither works. 2012-12-13T02:16:10 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2012-12-13T02:16:42 < emeb> why would low force uart boot anyway? 2012-12-13T02:16:56 < emeb> doesnt boot mode autobaud for a special char? 2012-12-13T02:17:29 < zyp> ah, sorry, you are right 2012-12-13T02:17:34 < dongs> sup blogs 2012-12-13T02:17:37 < zyp> it says «must be kept high or low» 2012-12-13T02:17:41 < emeb> yep 2012-12-13T02:17:43 < emeb> sup dongs 2012-12-13T02:17:43 < zyp> so either would be fine 2012-12-13T02:18:16 < emeb> dongs: f3 breakout working, but still no usb dfu boot 2012-12-13T02:18:23 < dongs> hmm 2012-12-13T02:18:25 < dongs> even at 8mhz? 2012-12-13T02:18:30 < emeb> right 2012-12-13T02:18:39 < dongs> i bet cuz y ou fucked with pullup 2012-12-13T02:18:49 < dongs> tried making it go to vcc always? 2012-12-13T02:18:55 < dongs> 1.5k 2012-12-13T02:19:04 < zyp> dongs, it's fine 2012-12-13T02:19:10 < dongs> rly? 2012-12-13T02:19:17 < zyp> it works with other usb stuff 2012-12-13T02:19:21 < dongs> zyp, why would dfu require an additional gpio to pullu p to vcc 2012-12-13T02:19:24 < emeb> yeah - pfet pullup ckt works fine. 2012-12-13T02:19:33 < dongs> or wait,s its up by default right 2012-12-13T02:19:35 < dongs> when its in high Z? 2012-12-13T02:19:36 < emeb> right 2012-12-13T02:19:38 < dongs> kk 2012-12-13T02:19:39 < zyp> yep 2012-12-13T02:19:59 < zyp> hmm 2012-12-13T02:20:02 < dongs> this guy found my image.. and linked to another one off my site... http://witespyquad.gostorego.com/speed-controllers/reflashed-esc-with-rapidesc-fw-for-multirotor.html so i had to fix it.. again 2012-12-13T02:20:10 < emeb> modified zyps acm demo to toggle the pfet - that works too. 2012-12-13T02:20:29 * emeb not clicking 2012-12-13T02:20:41 < emeb> made that mistake this morning :P 2012-12-13T02:20:56 < dongs> no, its not so bad this time 2012-12-13T02:21:00 < dongs> i mspainted some stuff. 2012-12-13T02:21:08 < zyp> nice 2012-12-13T02:21:25 < emeb> so colorful 2012-12-13T02:22:59 < zyp> emeb, what's the contents of FLASH.OBR? 2012-12-13T02:23:16 < zyp> you should be able to print it directly from gdb just by name 2012-12-13T02:23:20 < Laurenceb_> my F3discovery plays nicely with dfu-util 2012-12-13T02:23:28 < emeb> zyp: was about to look. got gdb up now 2012-12-13T02:23:32 < dongs> it would be really fucking nice if they would just update the boot appnote 2012-12-13T02:23:34 < dongs> wiht F3 info 2012-12-13T02:23:35 < Laurenceb_> and its got 8mhz mco clk 2012-12-13T02:23:37 < emeb> oh - don't need the hex addr? 2012-12-13T02:23:38 < dongs> then we wouldnt have to FUckign Guess 2012-12-13T02:23:53 < Laurenceb_> also recognised by winxp 2012-12-13T02:23:56 < zyp> emeb, no, register structure should be visible in gdb 2012-12-13T02:24:03 < Laurenceb_> not that i run winxp on any of my machines 2012-12-13T02:24:06 < zyp> since it's used for setting waitstates :p 2012-12-13T02:24:30 < ds2> emeb: transistor as in bipolar stuff? 2012-12-13T02:24:37 * Laurenceb_ zzz 2012-12-13T02:25:08 < emeb> ds2: what? 2012-12-13T02:25:19 < emeb> you mean the olimex thing I mentioned? 2012-12-13T02:25:52 < ds2> emeb: yeah. 2012-12-13T02:27:24 < emeb> ds2: look at the schematic for various olimex boards w/ USB - they've got a fairly complex USB pullup control ckt. 2012-12-13T02:28:01 < emeb> with several bipolar transistors and a bunch of resistors. Can't figure out why it needs to be so hard. mine is just a pfet and 2 resistors. 2012-12-13T02:28:43 < ds2> some people are afraid of FETs 2012-12-13T02:28:51 < zyp> emeb, what does the register read? 2012-12-13T02:29:39 -!- Laurenceb_ [~Laurence@host86-178-234-198.range86-178.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2012-12-13T02:29:49 < ds2> worked with an engineer that was saying... FETs are troublesome (he didn't know how to bleed charge off the gate to turn it off) 2012-12-13T02:30:17 < emeb> *eyeroll* 2012-12-13T02:30:46 < emeb> zyp: tried "print FLASH.OBR" and it complained no such 2012-12-13T02:30:57 < emeb> so trying to find name of structure 2012-12-13T02:31:15 < zyp> break flash_init 2012-12-13T02:31:17 < zyp> run 2012-12-13T02:31:21 < zyp> p/x FLASH.OBR 2012-12-13T02:33:29 < emeb> hmm... never halts. 2012-12-13T02:33:46 < emeb> do I have flash_init? 2012-12-13T02:34:09 < zyp> yes, it's executed from rcc_init, which is executed from entry() 2012-12-13T02:34:28 < zyp> well, just include rcc/flash.h in main, and it will be visible there too 2012-12-13T02:34:32 < zyp> :p 2012-12-13T02:35:49 < zyp> my gdb didn't have any problems finding it, even though I'm halted in main translation unit 2012-12-13T02:36:24 < zyp> but then I'm also able to break in flash_init 2012-12-13T02:37:07 < emeb> d'oh - had the boot jumper on :P 2012-12-13T02:37:46 < emeb> print FLASH.OBR -> $1 = 4294967040 2012-12-13T02:37:52 < zyp> hex please 2012-12-13T02:37:57 < emeb> yeah 2012-12-13T02:38:19 < zyp> 0xffffff00 2012-12-13T02:38:25 < emeb> yup 2012-12-13T02:38:28 < zyp> so boot1 is correct 2012-12-13T02:38:31 < emeb> right 2012-12-13T02:39:14 < emeb> guess I should try the uart boot app 2012-12-13T02:39:50 < emeb> that's probably already in the bmp source right? 2012-12-13T02:40:25 < dongs> wut 2012-12-13T02:40:30 < dongs> just connect uart to usb>serial 2012-12-13T02:40:34 < dongs> wai you need bmp for 2012-12-13T02:40:46 < ds2> level shift maybe 2012-12-13T02:40:59 < ds2> don't think the pins are +/-15V tolerant ;) 2012-12-13T02:41:00 < emeb> dongs: I need a lunix serial boot app. :) 2012-12-13T02:41:03 < dongs> pretty sure uarts on all stm32 are 5V tolerant 2012-12-13T02:41:16 < emeb> ds2: I've got an ftdi usb->serial w/ 3.3V I/O 2012-12-13T02:41:24 < dongs> emeb: stm32flash etc 2012-12-13T02:41:45 < dongs> plus you beter just use windows 2012-12-13T02:41:50 < dongs> probably nothign supports F3 uart bootloader 2012-12-13T02:41:54 < dongs> except thier flash loader demonstrator 2012-12-13T02:42:07 < ds2> emeb:those 'smart' cables? 2012-12-13T02:42:38 < emeb> dongs: noted - I'll fire up the winders box... 2012-12-13T02:42:57 < emeb> ds2: nah - just an adafruit "ftdi friend" 2012-12-13T02:43:07 < zyp> I would assume that it use the same protocol as the other chips 2012-12-13T02:48:14 < mervaka> hmm 2012-12-13T02:48:27 < mervaka> what threshold do the pins read a high value? 2012-12-13T02:48:45 < mervaka> just realised my dac's throwing out 1v, strangely 2012-12-13T02:48:53 < mervaka> bit worried.. 2012-12-13T02:49:49 < dongs> in datasheet. 2012-12-13T02:49:53 < mervaka> should be VDD*0.8, which is 3.3*0.8=2.64 2012-12-13T02:53:00 < mervaka> can only see max ratings in there so far.. :/ 2012-12-13T02:54:43 < mervaka> ah got it. not in the electrical characteristics section :s 2012-12-13T02:57:25 < emeb> dongs: my google-fu is fail. what's the official serial bootloader app for windows? 2012-12-13T02:58:46 < dongs> http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelectorPage&doctype=st_software_rsrc&SubClassID=1169 2012-12-13T02:58:59 < dongs> http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/SW_DEMO/stm32-stm8_flash_loader_demo.zip 2012-12-13T03:00:33 < emeb> got it - ty 2012-12-13T03:01:43 < dongs> and zyp, tehy do have a uart appnote for F3 only 2012-12-13T03:01:49 < dongs> so i presume that means something did change 2012-12-13T03:01:56 < dongs> http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f3xx_iap_using_usart.zip 2012-12-13T03:02:11 < dongs> o wait, thats maybe just actual bootloader shit 2012-12-13T03:02:13 < dongs> not rom loader 2012-12-13T03:04:32 < emeb> no - it's got the bootloader stuff in it. 2012-12-13T03:04:45 < emeb> lets me choose a port, waits, gives up. 2012-12-13T03:04:55 < emeb> dinner - bbiab. 2012-12-13T03:04:55 < dongs> flash laoder demo? 2012-12-13T03:04:59 < emeb> yeag 2012-12-13T03:17:56 -!- jaeckel_ [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-12-13T03:18:16 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Ping timeout: 264 seconds] 2012-12-13T03:18:17 -!- englishman [~englishma@199.180.97.18] has quit [Ping timeout: 264 seconds] 2012-12-13T03:18:17 -!- amitofu [~str@cannabis.dataforce.net] has quit [Ping timeout: 264 seconds] 2012-12-13T03:19:13 -!- englishman [~englishma@199.180.97.18] has joined ##stm32 2012-12-13T03:25:07 < baird> Just done a heap of soldering of enamelled wire with the iron at 430C... now I learned why they have fume exhausts. :P 2012-12-13T03:30:58 < emeb> well - uart boot on PA10/PA11 doesn't do anything... 2012-12-13T03:31:17 < dongs> is that USART1? 2012-12-13T03:31:37 < dongs> are you shorting boot0, powering it up, releasing short, doing bootloader shit 2012-12-13T03:32:41 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2012-12-13T03:34:27 < emeb> dongs: does bootloader not start until the boot pin is released? 2012-12-13T03:34:39 < dongs> no, it starts whenever its pow ered up 2012-12-13T03:34:42 < dongs> you can release pin after. 2012-12-13T03:34:49 < emeb> so why release short? 2012-12-13T03:35:14 < emeb> (I just leave the jumper in place) 2012-12-13T03:35:38 < dongs> shrug 2012-12-13T03:35:40 < dongs> should still work 2012-12-13T03:35:42 < dongs> i guess. 2012-12-13T03:35:47 < dongs> is parity set to Even 2012-12-13T03:35:49 < dongs> in bootloaderdemo 2012-12-13T03:35:49 < emeb> k 2012-12-13T03:35:56 < dongs> should be 8E1 2012-12-13T03:35:56 < emeb> yes 2012-12-13T03:35:57 < dongs> and any baud 2012-12-13T03:36:00 < dongs> hurm. 2012-12-13T03:36:10 < dongs> is this windows inside lunix 2012-12-13T03:36:12 < dongs> or a real machine 2012-12-13T03:36:13 < emeb> PB6/PB7 no workee either 2012-12-13T03:36:18 < emeb> Win7 2012-12-13T03:36:19 < dongs> well, only usart1 owrks 2012-12-13T03:36:29 < dongs> and not alt version of it 2012-12-13T03:36:31 < emeb> PB6/PB7 is USART1 2012-12-13T03:36:33 < dongs> which one is usart1? 2012-12-13T03:36:33 < dongs> ok 2012-12-13T03:36:36 < dongs> thats the one you shold be d oing 2012-12-13T03:36:38 < ds2> leaving jumper in place works for me 2012-12-13T03:36:49 < emeb> PA10/PA11 is also USART1 2012-12-13T03:37:02 < emeb> who knows which is the right mux... 2012-12-13T03:37:07 < dongs> the default one 2012-12-13T03:37:12 < dongs> alt assignment doesnt work 2012-12-13T03:37:19 < dongs> default pin is in datasheet. 2012-12-13T03:37:26 < emeb> looking.. 2012-12-13T03:37:43 < dongs> The boot loader is located in system memory. It is used to reprogram the Flash memory by 2012-12-13T03:37:46 < dongs> using USART1, USART2 or USB. 2012-12-13T03:37:47 < dongs> i guess they improived things 2012-12-13T03:38:27 < dongs> what the fuuuuuuuuuuck 2012-12-13T03:38:32 < dongs> they dont list default altenrative function? 2012-12-13T03:38:49 < emeb> :) 2012-12-13T03:38:53 < emeb> just noticed that too 2012-12-13T03:39:07 < dongs> they REALLY need to update the bootloader appnote. 2012-12-13T03:39:10 < emeb> and there's like 4-bit mux selects, so 15 choices. 2012-12-13T03:42:18 < emeb> correction - only 2 possible USART1 pinsets - PA10/PA11 and PB6/PB7. Neither seem to work. 2012-12-13T03:44:03 < ds2> sure your notion of TX/RX is consistant with ur cable? 2012-12-13T03:44:09 < ds2> i had that problem for a while 2012-12-13T03:44:20 < emeb> I suppose I could swap them... 2012-12-13T03:44:32 < ds2> disconnect them 2012-12-13T03:44:35 < ds2> hook them up to a scope 2012-12-13T03:44:44 < ds2> do something like 'yes > /dev/ttyUSB0' 2012-12-13T03:44:49 < ds2> see which one is really the output 2012-12-13T03:45:05 < emeb> Oh - I've got a scope on the lines out of the usb/serial thingy - I can see the data coming out. 2012-12-13T03:45:18 < emeb> just no response from the STM 2012-12-13T03:45:32 < ds2> and is the data coming out going into the RX on the STM? 2012-12-13T03:45:37 < ds2> or going into the TX line? 2012-12-13T03:47:09 < emeb> I've got the data out of the ftdi -> into the RX line 2012-12-13T03:47:37 < ds2> and it is the right voltage level compared to the VCC? 2012-12-13T03:47:50 < ds2> i.e it isn't driving with 1.8V levels and your stm side is at 3.3V 2012-12-13T03:48:30 < emeb> both 3.3V 2012-12-13T03:50:20 < ds2> and you are using the reset button or power cycle? 2012-12-13T03:50:27 < emeb> reset 2012-12-13T03:50:41 < ds2> try power cycle... I found my reset button to be wanting 2012-12-13T03:52:11 < emeb> ok PA10/PA11 is working 2012-12-13T03:52:27 < emeb> had jtag plugged in and that was blocking it somehow 2012-12-13T03:54:12 < emeb> reset works fine 2012-12-13T03:54:52 < ds2> u are using a full jtag? not swd? 2012-12-13T03:55:52 < emeb> bmpm - swd 2012-12-13T03:56:07 < emeb> but jtag cable is same. 2012-12-13T03:56:09 < ds2> hmmmm wonder if that is my problem with reset 2012-12-13T03:57:45 < emeb> so - what did we learn? USART1 PA10/PA11 bootloader works, but USB DFU still doesn't 2012-12-13T03:58:06 < emeb> makes me wonder if the F373 doesn't handle USB DFU. 2012-12-13T03:58:07 < ds2> USB DFU don't work even w/o the BMPM? 2012-12-13T03:58:12 < emeb> no 2012-12-13T03:58:25 < emeb> windows, or linux 2012-12-13T03:58:57 < ds2> is ur vbus sensing the same as the discovery? 2012-12-13T03:59:13 < emeb> discovery doesn't have vbus sensing on its USB 2012-12-13T03:59:54 < ds2> is all ur USART's RX pulled down or high? 2012-12-13T04:01:00 < emeb> I tried that earlier w/o effect. Currently nothing hooked up except PA10/PA11 2012-12-13T04:01:29 < emeb> spose I should fine out which USART2 pins it uses... 2012-12-13T04:01:39 < emeb> and nail those down too. 2012-12-13T04:03:32 < emeb> not PA2/PA3 2012-12-13T04:05:48 < emeb> not PB3/PB4 either. odd 2012-12-13T04:05:49 < dongs> cool, usart works? 2012-12-13T04:06:01 < emeb> dongs: yes - on PA10/PA11 2012-12-13T04:06:06 < emeb> USART1 2012-12-13T04:06:16 < emeb> haven't found USART2 tho 2012-12-13T04:09:01 < ds2> maybe they screwed up and put the F1 ROM in? 2012-12-13T04:09:11 < emeb> yeah - that's what I'm wondering 2012-12-13T04:09:30 < ds2> but even teh F1 ROM supports USART2 2012-12-13T04:09:38 < emeb> there's that 2012-12-13T04:10:59 < emeb> I suppose an ambitious nerd could dump the system ROM & disassemble. :P 2012-12-13T04:12:15 < ds2> actually 2012-12-13T04:12:25 < emeb> I know I'm in trouble when I google "stm32f373 bootloader" and my own page comes up as #1 hit. :) 2012-12-13T04:12:25 < ds2> you can issue DFU commands to find out the version and features it supports 2012-12-13T04:12:50 < emeb> well - if DFU worked... 2012-12-13T04:12:56 < ds2> it did on USART1 2012-12-13T04:13:12 < emeb> Oh - not USB DFU, but USART bootloader. 2012-12-13T04:13:37 < ds2> but it is the same ROM 2012-12-13T04:13:43 < ds2> ask it what DFU version it has on there 2012-12-13T04:15:11 < emeb> PID 0432 BID 5.0 Version 3.1 2012-12-13T04:16:13 < ds2> is that the same as the working USB one? 2012-12-13T04:17:31 < emeb> got me - I haven't tried that. 2012-12-13T04:17:38 < ds2> no discovery handy? 2012-12-13T04:17:59 < emeb> yeah. need to figure out how to strap the BOOT0 pin though... 2012-12-13T04:18:08 < ds2> birdies were hinting there might be bugs in some revs of the chip 2012-12-13T04:18:38 < emeb> birdies are cagey 2012-12-13T04:18:50 < emeb> this appears to be rev B from the pkg marking 2012-12-13T04:19:41 < dongs> < emeb> I suppose an ambitious nerd could dump the system ROM & disassemble. :P 2012-12-13T04:19:45 < dongs> pretty sure its not readable 2012-12-13T04:19:48 < dongs> but you can go ahead and t ry 2012-12-13T04:20:07 < ds2> dongs: nitric acid + scanning electron microscope ;) 2012-12-13T04:22:13 < dongs> rumor has it "ROM" on these is just flash w/lockbits 2012-12-13T04:26:29 < emeb> yeah - RM suggests "programmed during factory test" 2012-12-13T04:27:11 < dongs> ST could certainly do mask rom, they're experts in that w/smartcards ;) 2012-12-13T04:27:26 < dongs> but they could fix i2c isntead 2012-12-13T04:31:49 < emeb> so the PID means nothing to me, but the BID format described in AN2606 says 0xXY where X maps to some set of capabilities and Y is a version. BID = 5.1 and X = 5 isn't defined in the appnote 2012-12-13T04:32:06 < dongs> yes, cuz its not been updated. 2012-12-13T04:32:12 < emeb> grumble 2012-12-13T04:40:31 < emeb> http://www.guardian.co.uk/world/2012/dec/12/spain-woman-cocaine-breast-implants?CMP=twt_gu 2012-12-13T04:41:46 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-13T04:41:48 * emeb is so distracted by bootloader stupidity that he has gone OT 2012-12-13T04:56:46 < emeb> strapped the boot0 on my F3 discovery and plugged in - USB DFU came right up. 2012-12-13T05:04:22 < emeb> interestingly though, serial bootloader on the F3 disco doesn't seem to work on PA10/PA11 2012-12-13T05:07:02 < emeb> aha - works on PA9/PA10 2012-12-13T05:07:36 < emeb> PID 0422 BID 4.1 Version 3.1 2012-12-13T05:07:53 < emeb> so - very different from the 373 bootloader 2012-12-13T05:08:05 < dongs> Heh 2012-12-13T05:08:26 < dongs> lo l@ F373 DFU shit coming up with your site first 2012-12-13T05:08:46 < emeb> yeah. When I'm the authority you know things are bad. 2012-12-13T05:09:47 < emeb> I should probably put some stuff on that page w/ details we found here. :) 2012-12-13T05:10:15 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-13T05:11:43 < emeb> are the ST forums any use at all? Would there be any benefit to pinging there about this? 2012-12-13T05:12:08 < dongs> if you can figure out how to post... 2012-12-13T05:12:13 < dongs> i dont think anyone uses them cuz of dumbfuck UI 2012-12-13T05:12:16 < dongs> but you can try. 2012-12-13T05:12:41 < emeb> I'll give it a shot after I get my shit together... 2012-12-13T05:30:19 < emeb> assembled F3 breakout: http://i.imgur.com/7SAYo.jpg 2012-12-13T05:32:47 < dongs> rofl apparently the satellite best korea put into space is out of control 2012-12-13T05:32:56 < emeb> shocked! 2012-12-13T05:34:56 < gxti> dat QFP 2012-12-13T05:46:01 < emeb> ?? 2012-12-13T05:49:31 < gxti> just appreciating your soldering 2012-12-13T05:50:20 < emeb> the lqfp48 is slightly mis-registered, but not enough to cause problems. 2012-12-13T05:51:07 < gxti> i botched the paste mask for qfp and ssop on my last project, 'bridging' would be an understatement 2012-12-13T05:51:27 < emeb> heh. this is drag solder. took me less than a minute to do all 4 sides. 2012-12-13T05:51:55 < gxti> yeah, i had a few designs that used the same paste settings so for one i just swabbed the paste off and hand soldered 2012-12-13T05:52:15 < gxti> had a billion passives on it so i still saved time 2012-12-13T05:53:09 < emeb> haven't tried stencil/paste yet. 2012-12-13T05:54:55 < emeb> updated page for the f3 breakout: http://ebrombaugh.studionebula.com/embedded/stm32f373breakout/index.html 2012-12-13T05:55:07 < emeb> with moaning about bootloader. :P 2012-12-13T06:01:53 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has quit [Ping timeout: 252 seconds] 2012-12-13T06:07:40 < emeb> Put a question in to the STM32 forum: https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32F373%20Bootloader&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FAllItems%2Easpx¤tviews=0 2012-12-13T06:07:46 < dongs> nice url 2012-12-13T06:07:54 < emeb> no kidding. 2012-12-13T06:09:49 < dongs> lets see how many minutes until clive1 answers 2012-12-13T06:10:34 < emeb> oh - is he mr know-it-all on that forum? 2012-12-13T06:13:56 < emeb> Well - now that's out of the way. Time to build up the BMP2. 2012-12-13T06:14:09 < emeb> probably get to that tomorrow. 2012-12-13T06:14:26 < emeb> too late for soldering. 2012-12-13T06:15:56 < dongs> dear fucking $deity. 2012-12-13T06:15:59 < dongs> talking to some chink on skype 2012-12-13T06:16:03 < dongs> about product they sell 2012-12-13T06:16:08 < dongs> "just send me the fucking manual" 2012-12-13T06:16:14 < dongs> chink: sorry, will email you later. 2012-12-13T06:16:19 < dongs> me: why? chink: I need ot make the manual 2012-12-13T06:16:27 < dongs> ......... 2012-12-13T06:16:35 < dongs> i'm like, am I your first customer for this shit 2012-12-13T06:17:12 < emeb> yay! 2012-12-13T06:17:20 < emeb> you get rev 0.0 2012-12-13T06:17:34 < emeb> default beta test site. 2012-12-13T06:18:58 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-13T06:19:04 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-13T06:20:52 < dongs> no response from murata about the power supply shit.. 2012-12-13T06:20:55 < dongs> thinking of donging up their jp office 2012-12-13T06:22:05 < emeb> like that graffiti pic the other day... 2012-12-13T06:22:48 < emeb> http://laughingsquid.com/this-wall-used-to-have-art-on-it/ 2012-12-13T06:23:41 < dongs> cocks are good 2012-12-13T06:23:49 < dongs> told the chink they just lost thousands of dollars in sales, 2012-12-13T06:23:53 < dongs> im sure he doesnt care 2012-12-13T06:24:04 < dongs> just hilarious how a company can pretend to be selling shit and have zero docs 2012-12-13T06:24:21 < emeb> rectal/cranial inversion 2012-12-13T06:24:35 < emeb> it's ok - dollars aren't worth much these days. 2012-12-13T06:29:25 < emeb> bbl 2012-12-13T06:29:29 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-13T06:36:09 < dongs> Full_backup_06_17_2011\FAGGOT\algos\my_implementation\build\my_impl\my_impl.vcproj.ST.FAGGOT.user 2012-12-13T06:40:53 < baird> Cool about Naughty Korea satellite-- tumbling satellites are best satellites when observing them. :) 2012-12-13T06:41:09 < dongs> ya hilarious 2012-12-13T06:41:57 < baird> Might be what I need: http://www.n2yo.com/satellite/?s=39026 2012-12-13T06:43:45 < baird> Nuts, it doesn't look like the sat rises about the horizon.. :/ 2012-12-13T06:49:43 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-13T07:15:48 < dongs> "Press the + icon to go to the Sticker Shop. Check out our huge range of fabulous." 2012-12-13T07:18:37 -!- jef79m is now known as jef79m_lurking 2012-12-13T07:26:31 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-13T07:28:23 < dongs> had better luck with murata on the phone 2012-12-13T07:28:29 < dongs> sent them over schematic / layout to see if i dicked somethin up 2012-12-13T07:34:40 < emeb_mac> cool 2012-12-13T07:35:10 < emeb_mac> have you tried wiring up one of the other modules by itself? 2012-12-13T07:35:40 < dongs> no, since its my last one 2012-12-13T07:35:44 < dongs> i'll wait for them to see what they say 2012-12-13T07:35:48 < dongs> i ordered a couple more with my F303 order 2012-12-13T07:35:53 < dongs> that may or may not show up soon 2012-12-13T07:36:02 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-13T07:36:05 < dongs> i am sure its not the pcb, so it must be the way its hooked up 2012-12-13T07:36:37 < dongs> btw, apparently the iLGA "inspectable" shit is that you can poke a continuity tester into the sides of the board 2012-12-13T07:36:43 < dongs> since it escapes all the pads on the outside 2012-12-13T07:36:59 < emeb_mac> ah - the castle vias 2012-12-13T07:37:04 < dongs> ya 2012-12-13T07:37:21 < dongs> not really sure how that helps but whatevs 2012-12-13T07:37:29 < emeb_mac> I guess that's kinda inspectable, for certain meanings of "inspect" 2012-12-13T07:38:47 < emeb_mac> "yo! buddy! inspect _THIS_!" 2012-12-13T07:39:56 < emeb_mac> softcover for Nexus 7 tab in gray sold out. Only kawaii blue and pink available. 2012-12-13T07:40:15 < baird> Ugh. 0.156" edge connectors. So 1970s. http://i.imgur.com/iPKGo.jpg 2012-12-13T07:40:51 < dongs> well, just "inspected" mine 2012-12-13T07:40:55 < dongs> none of hte pads are shorted 2012-12-13T07:40:58 < dongs> on other 2 mounted ones 2012-12-13T07:41:01 < dongs> so its def not the soldering. 2012-12-13T07:41:04 < emeb_mac> not surprising. 2012-12-13T07:41:04 < dongs> FUCK MURATA; MURATA SUX; MURATA IS DYING; MURATA IS DEAD TO ME; MURATA HIT WTC 2012-12-13T07:41:11 < emeb_mac> lol 2012-12-13T07:41:30 < emeb_mac> baird: that a vic-20? 2012-12-13T07:41:32 < dongs> oh and the guy on the phone was like 2012-12-13T07:41:35 < dongs> where did you buy from 2012-12-13T07:41:38 < dongs> im like digikey, wheere else 2012-12-13T07:41:42 < baird> emeb_mac: well spotted. 2012-12-13T07:41:49 < dongs> then i went off into a rant about how even if i wanted to buy this shit in japan 2012-12-13T07:41:53 < dongs> none of the distributors would have stock 2012-12-13T07:41:58 < dongs> and if they did, it would be 2-3x the price of shit on digikey 2012-12-13T07:42:02 < dongs> jap agreed. 2012-12-13T07:42:15 < baird> emeb_mac: 36kB NVRAM expansion. \(^_^)/ 2012-12-13T07:42:21 < dongs> haha 2012-12-13T07:42:49 < emeb_mac> dongs: you and your countrymen should rise up and demand local sales. 2012-12-13T07:43:18 < emeb_mac> at reasonable rates. see how far that flies. 2012-12-13T07:43:42 < baird> Considering the cartels charging on Japanese meat and rice, probably not the best idea.. 2012-12-13T07:44:39 < emeb_mac> what's that called - keiretsu? 2012-12-13T07:46:19 < dongs> north korean satellite: https://youtube.com/watch?v=AjUaPUVZs90 2012-12-13T07:47:39 < emeb_mac> RUN AWAY!!!!! 2012-12-13T07:49:17 < emeb_mac> funny how it takes them a second to realize what happened and beat it. 2012-12-13T07:49:57 < baird> I wanted to see then 'disable' the mortar by shooting at it.. 2012-12-13T08:00:07 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-13T08:01:12 < emeb_mac> baird: looking at that pic of the vic-20 - see all the chips with the MOS marking. Takes me back 2012-12-13T08:01:43 < Thorn> http://news.cnet.com/8301-13578_3-57558887-38/u.n-summit-rejects-u.s-europe-hands-off-the-internet-plea/ 2012-12-13T08:02:37 < emeb_mac> yay - we need those conservative countries to set some standards around the joint. 2012-12-13T08:02:57 < Thorn> https://twitter.com/sgdickinson 2012-12-13T08:03:03 < emeb_mac> maybe they can get rid of pr0n and goatse.cx 2012-12-13T08:20:06 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-13T08:21:28 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 256 seconds] 2012-12-13T08:28:41 -!- jef79m_lurking is now known as jef79m 2012-12-13T08:30:44 < dongs> haha. zyp, 20 of your shittyboards incoming. 2012-12-13T08:30:49 < dongs> shit better work. 2012-12-13T08:33:19 < emeb_mac> 20! 2012-12-13T08:37:05 < emeb_mac> ncopters + paintball = ? https://www.youtube.com/watch?feature=player_embedded&v=Jplh7uatr-E#! 2012-12-13T08:37:22 < emeb_mac> "old" in 3... 2... 1... 2012-12-13T08:41:25 -!- jef79m is now known as jef79m_lurking 2012-12-13T08:49:30 -!- jef79m_lurking is now known as jef79m 2012-12-13T08:50:57 < dongs> flyback-: fuckoff, jewbinstein is (c) (tm) dongs 2012-12-13T08:54:21 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-13T08:55:29 < dongs> ive done business with jewbinstein, hes ok 2012-12-13T08:55:33 < dongs> other htan prices. 2012-12-13T09:00:09 < dongs> you could wrap it around your dong 2012-12-13T09:00:14 < dongs> and hookup the ends to a lipo battery 2012-12-13T09:00:15 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2012-12-13T09:00:28 < dongs> ever tried that?? 2012-12-13T09:00:32 < dongs> i did that by mistake once 2012-12-13T09:00:36 < dongs> when desoldering contacts 2012-12-13T09:01:00 < dongs> I was unsoldering shit that chinks permanently attached to SLA battery terminals 2012-12-13T09:01:05 < dongs> so I could redo them as plugs 2012-12-13T09:01:08 < dongs> was using braid 2012-12-13T09:01:22 < dongs> far away connector was hard to reach, so I accidentally ran it across the other connector 2012-12-13T09:01:29 < dongs> shit fuckin instantly self-vaporized 2012-12-13T09:01:33 < dongs> poof 2012-12-13T09:03:53 < Oldboy> wait. 2012-12-13T09:04:02 < Oldboy> you didn't change your underwear ? 2012-12-13T09:04:53 < Oldboy> that's disgusting. 2012-12-13T09:08:39 < emeb_mac> heh - saw that last night. awesome movie 2012-12-13T09:10:26 -!- jef79m is now known as jef79m_lurking 2012-12-13T09:20:36 < dongs> haha, starshit troopers. the dumbest movie of 21st century, by far 2012-12-13T09:20:39 < dongs> or was it still 20th 2012-12-13T09:20:45 < dongs> whatever.. so dumb. 2012-12-13T09:21:19 < emeb_mac> dongs: 1997 2012-12-13T09:21:26 < dongs> must be 20th then. 2012-12-13T09:21:33 < dongs> still, doesnt make hte movie any less shit. 2012-12-13T09:21:45 < emeb_mac> awesome 2012-12-13T09:22:01 < dongs> hi, I have hover spaceships and awesome technology but I go land on a planet and fight some bugs with mechanical weapons 2012-12-13T09:22:10 < dongs> how do I made sense. 2012-12-13T09:22:41 < emeb_mac> you're not getting the satire 2012-12-13T09:22:54 < emeb_mac> it's over-the-top. 2012-12-13T09:23:02 < emeb_mac> just like Robocop 2012-12-13T09:23:04 < baird> Blame the retarded source material. Verhoeven at least made it awesomely stupid. 2012-12-13T09:23:07 < dongs> SATIRE?!??!?!?!?!?!? 2012-12-13T09:23:15 < emeb_mac> duh! 2012-12-13T09:23:15 < dongs> whaaaaaaaaaaat teh fuck 2012-12-13T09:23:26 < dongs> that movie was 110% unfunny 2012-12-13T09:23:30 < dongs> there was zero satire 2012-12-13T09:24:25 < baird> Robocop 2 and 3 were shit. The original movie kicked the shit into the Ronnie Raygun bullshit 2012-12-13T09:26:08 < baird> "..the Star Wars Peace Orbital Platform..." 2012-12-13T09:26:18 < emeb_mac> "please put down your weapon. you have 20 seconds to comply" 2012-12-13T09:26:44 < baird> Robocop2 prototypes: "I look like a shit Anime mecha! Kill me!" 2012-12-13T09:27:46 < baird> It's back! Big is back, because bigger is better than ever! 6000 SUX: An American Tradition! [8.2 MPG]” 2012-12-13T09:28:22 < baird> SUX was off by one character.. 2012-12-13T09:28:30 < emeb_mac> "I'd buy that for a dollar!" 2012-12-13T09:29:31 -!- dekar_ [~dekar@212.255.253.156] has joined ##stm32 2012-12-13T09:29:34 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-13T09:30:31 < baird> "The Strategic Defense Peace Platform... 2012-12-13T09:31:07 < baird> "The Strategic Defense Peace Platform... misfired today during routine tests ... of the people known dead at this hour are two former U.S. Presidents..." 2012-12-13T09:32:08 < baird> Saw the revisioned Robocop costume. /They saved the arm!/ .. Faggots. 2012-12-13T09:33:02 -!- dekar [~dekar@212.255.235.250] has quit [Ping timeout: 255 seconds] 2012-12-13T09:39:00 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-13T09:39:22 < emeb_mac> haha japan: http://pinktentacle.com/2011/03/decorated-gas-tanks/ 2012-12-13T09:41:14 < dongs> loldongs 2012-12-13T09:41:16 < baird> lol @ watermelon 2012-12-13T09:43:41 < dongs> hmm.. 2.2nF vs 220nF 2012-12-13T09:43:47 < dongs> as a chargepump cap, what would that affect 2012-12-13T09:43:48 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-13T09:44:27 < dongs> http://www.huffingtonpost.com/2012/12/03/chinese-wankathon_n_2232063.html attn flyback- 2012-12-13T10:05:29 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-13T10:12:55 < dongs> pics or it didnt happen 2012-12-13T10:35:33 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2012-12-13T11:12:53 < dongs> http://www.ironwoodelectronics.com/press/PressReleasePhotos/C10049a_highres.jpg pretty cool 2012-12-13T11:21:53 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-vdinvjqszmcadaxs] has quit [Quit: leaving] 2012-12-13T11:22:03 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-lqxnnvigwutsigog] has joined ##stm32 2012-12-13T11:23:07 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-lqxnnvigwutsigog] has quit [Client Quit] 2012-12-13T11:23:14 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-sonzffdqqanjorud] has joined ##stm32 2012-12-13T11:28:18 < dongs> so apparently a bunch of south korea citizens are pissed that best korea succeeded in getting something into space 2012-12-13T11:28:24 < dongs> all SK launches are done by someone else :) 2012-12-13T11:35:43 -!- Laurenceb_ [~Laurence@host86-178-234-198.range86-178.btcentralplus.com] has joined ##stm32 2012-12-13T11:37:07 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-13T12:04:37 < Laurenceb_> http://www.ebay.co.uk/itm/REFLOW-REWORK-WAVE-OVEN-BGA-SMD-LOTEN-LOTSTATION-LOTKOLBEN-1500-WATT-e8-/200692399336?_trksid=p3284.m263&_trkparms=algo%3DSIC%26its%3DI%26itu%3DUCI%252BIA%252BUA%252BIEW%252BFICS%252BUFI%26otn%3D21%26pmod%3D220975033146%26ps%3D54 2012-12-13T12:04:47 < Laurenceb_> Humanized science and technology exquisite article 2012-12-13T12:04:49 < Laurenceb_> nice 2012-12-13T12:11:41 < dongs> Laurenceb_: haha thats the T962 2012-12-13T12:12:12 < zyp> the large variant, apparently 2012-12-13T12:14:43 -!- Laurenceb_ [~Laurence@host86-178-234-198.range86-178.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2012-12-13T12:18:22 < zyp> hmm, F3 I2C lets you choose how many bits of the addr to match in slave mode 2012-12-13T12:18:34 < dongs> does it matter? 2012-12-13T12:18:36 < zyp> so you can actually wildcard and accept all addrs 2012-12-13T12:18:40 < dongs> you still cant reject 2012-12-13T12:18:44 < zyp> yeah 2012-12-13T12:18:44 < dongs> yes but you cant NAK the ones you dont want 2012-12-13T12:19:39 < dongs> apparently on silabs sim3u i2c peripheral you can actually reject an address 2012-12-13T12:21:18 < dongs> zyp, how are peripherals on that LPC 2012-12-13T12:21:26 < dongs> pwm, timers, etc 2012-12-13T12:21:30 < dongs> are they retarded? 2012-12-13T12:22:15 < zyp> I haven't looked at timers yet 2012-12-13T12:22:33 < dongs> ST timers/pwm are pretty awesome 2012-12-13T12:22:51 < dongs> I remember looking at timers on old atmel sam7 shit and it was fucking nasty 2012-12-13T12:23:31 < dongs> fuckin great. apparently dlls built on vs2012 no longer work in XP 2012-12-13T12:23:39 < dongs> without downloading some bullshit Visual Studio XP targeting pack 2012-12-13T12:25:47 < zyp> timers looks pretty similar to stm32 2012-12-13T12:26:11 < zyp> 32-bit counter, four capture/compare channels 2012-12-13T12:26:25 < dongs> yeah but how many timers? 2012-12-13T12:26:28 < zyp> actually, it looks like capture and compare is independent, so you have four of each 2012-12-13T12:26:30 < dongs> STM has like ~15 of them 2012-12-13T12:27:21 < dongs> zyp, can each individual capture run at differente period? 2012-12-13T12:27:40 < dongs> or compare whichever 2012-12-13T12:27:44 < dongs> thats one thing that pisses me off about stm 2012-12-13T12:27:56 < zyp> probably not 2012-12-13T12:28:02 < zyp> it's linked to the counter, after all 2012-12-13T12:28:11 < zyp> different period = different timer 2012-12-13T12:28:20 < zyp> there are four of these 2012-12-13T12:28:23 < zyp> all 32-bit 2012-12-13T12:29:05 < zyp> there also this SCT thing, that I'm not sure how works 2012-12-13T12:29:45 < zyp> the SCT seems to be a very flexible timer with lots of capture and compare options 2012-12-13T12:30:27 < zyp> oh, and it can be linked with the normal timers too 2012-12-13T12:31:07 < zyp> and then you have the SGPIO stuff which seems pretty nice 2012-12-13T12:37:03 < dongs> why the fuck are NXP appnotes in .zip files 2012-12-13T12:37:09 < dongs> i dont wanna download that shit just to read 2012-12-13T12:39:12 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 244 seconds] 2012-12-13T12:39:14 < dongs> 2 highspeed usb? 2012-12-13T12:39:17 < zyp> yes 2012-12-13T12:39:26 < zyp> but only one internal HS PHY 2012-12-13T12:39:38 < dongs> did you connect SWO 2012-12-13T12:39:41 < dongs> to the debug header? 2012-12-13T12:39:42 < dongs> on your shit 2012-12-13T12:39:44 < zyp> and one internal FS, with possibility to use external with ULPI 2012-12-13T12:39:49 < zyp> yes, I hooked up full jtag 2012-12-13T12:39:52 < dongs> oh, gay 2012-12-13T12:39:56 < dongs> so no highspeed without phy? 2012-12-13T12:39:59 < zyp> apparently the M0 is only available in jtag mode 2012-12-13T12:40:29 < zyp> one highspeed and one fullspeed without external phy 2012-12-13T12:40:53 < dongs> One High-speed USB 2.0 Host/Device/OTG interface with DMA support and 2012-12-13T12:40:54 < dongs> on-chip high-speed PHY. 2012-12-13T12:40:55 < dongs> hm ok 2012-12-13T12:40:59 < zyp> yep 2012-12-13T12:41:05 < dongs> so you hooked up teh HS one? 2012-12-13T12:41:05 < zyp> I only hooked up that one 2012-12-13T12:41:08 < dongs> right. 2012-12-13T12:41:29 < dongs> mm, smartcard uart too. 2012-12-13T12:41:55 < dongs> only one spi? weird 2012-12-13T12:42:15 < zyp> no 2012-12-13T12:42:24 < dongs> One SPI controller. 2012-12-13T12:42:28 < zyp> the two SSP-things also supports SPI 2012-12-13T12:42:33 < dongs> o ok. 2012-12-13T12:42:55 < zyp> The SSP is a Synchronous Serial Port (SSP) controller capable of operation on a SPI, 2012-12-13T12:42:58 < zyp> 4-wire SSI, or Microwire bus. 2012-12-13T12:43:07 < zyp> not sure why it has both that and seperate SPI 2012-12-13T12:43:15 < dongs> only 8 EXTI levels 2012-12-13T12:43:34 < dongs> but more flexible 2012-12-13T12:43:40 < dongs> any pin > exti 2012-12-13T12:43:46 < zyp> yeah 2012-12-13T12:43:55 < dongs> Two GPIO group interrupt modules enable an interrupt based on a programmable 2012-12-13T12:43:55 < zyp> and then you have that entire event router thing 2012-12-13T12:43:55 < dongs> pattern of input states of a group of GPIO pins. 2012-12-13T12:43:57 < dongs> huh that is neat 2012-12-13T12:44:04 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-13T12:44:40 < dongs> ah, i knew there was a catch 2012-12-13T12:44:42 < dongs> ADC sucks dick 2012-12-13T12:44:43 < zyp> I just read over that SCT thing, which sounds like an insanely flexible timer 2012-12-13T12:44:45 < dongs> 400ksps 2012-12-13T12:45:07 < zyp> oh well 2012-12-13T12:45:19 < zyp> I didn't hook up any analog pins 2012-12-13T12:45:23 < dongs> heh 2012-12-13T12:45:40 < zyp> I'm not interested in the ADC, so I don't care about that :p 2012-12-13T12:45:57 < dongs> im dying to run lunix on this 2012-12-13T12:46:06 < zyp> not really 2012-12-13T12:46:19 < zyp> but somebody else here talked about that 2012-12-13T12:46:38 < dongs> has LCD 2012-12-13T12:46:42 < dongs> igueess you didnt hook that up either? 2012-12-13T12:47:09 < zyp> nah 2012-12-13T12:47:18 < dongs> how you gonna run X on it 2012-12-13T12:47:47 < zyp> well, I have ethernet, and X11 is a network protocol :p 2012-12-13T12:48:27 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-sonzffdqqanjorud] has quit [Quit: leaving] 2012-12-13T12:49:07 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-vbsopvmnmbkbvsdu] has joined ##stm32 2012-12-13T12:58:47 -!- jef79m_lurking is now known as jef79m 2012-12-13T13:24:33 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-13T13:24:33 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-13T13:24:33 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-13T13:24:33 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-13T13:33:52 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: No route to host] 2012-12-13T13:34:59 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-13T13:37:00 < zyp> oh 2012-12-13T13:37:10 < zyp> looks like lpc4300 is using synopsys ethernet 2012-12-13T13:37:16 < zyp> i.e. same ethernet block as F4 2012-12-13T13:38:06 < zyp> ethernet block register map looks equal 2012-12-13T13:41:28 -!- jef79m is now known as jef79m_lurking 2012-12-13T13:47:08 -!- jef79m_lurking is now known as jef79m 2012-12-13T13:47:45 < baird> lol, North Korea is using Windows 7 .. Also: http://heavens-above.com/orbit.aspx?satid=39026 2012-12-13T13:49:08 < Laurenceb> http://www.infinitepowersolutions.com/products.html 2012-12-13T13:49:10 < dongs> has it crashed yet 2012-12-13T13:49:18 < Laurenceb> i thought they used red star 2012-12-13T13:49:27 <+Steffanx> obvious joke is not obvious baird ? 2012-12-13T13:50:15 < dongs> Laurenceb: 2.2mAh capacity? 2012-12-13T13:50:19 < dongs> with 90mA current... 2012-12-13T13:50:19 < Laurenceb> hehe 2012-12-13T13:50:23 < dongs> that means... ?? 2012-12-13T13:50:32 < Laurenceb> very short life 2012-12-13T13:50:37 < dongs> if you draw 90mA its only good for liek 10 seconds? 2012-12-13T13:50:59 < Laurenceb> Mass: 125 mg 2012-12-13T13:51:00 < Laurenceb> nice 2012-12-13T13:51:12 < baird> http://heavens-above.com is tracking the sat now.. Feel free to calculate for your location. :) 2012-12-13T13:51:54 <+Steffanx> So who/what told you it uses win7 baird ? 2012-12-13T13:53:52 < baird> http://forum.nasaspaceflight.com/index.php?topic=2966.msg991133#msg991133 2012-12-13T13:54:33 < Laurenceb> http://blog.energymicro.com/2012/12/12/make-a-slim-watch-with-arm-cortex-m3-efm32/ 2012-12-13T13:54:42 < Laurenceb> i spot sparkfun wobbly headers 2012-12-13T13:55:34 < dongs> eagle PCB??? 2012-12-13T13:55:38 < dongs> what a bunmch of faggots 2012-12-13T13:55:50 < dongs> HEY 2012-12-13T13:55:53 < dongs> they stole my 2012-12-13T13:55:54 <+Steffanx> blabla blabla bla 2012-12-13T13:55:57 < dongs> upsidw down chip mounting shit 2012-12-13T13:56:07 < dongs> waht the fucksdfldskjg 2012-12-13T13:56:42 <+Steffanx> :D :D 2012-12-13T13:57:48 < baird> http://getpebble.com/ ... ham, that actually delivered. 2012-12-13T13:57:51 < baird> *ha 2012-12-13T14:01:53 < jpa-> wait, it delivered? just a few days it was said it would now make it for xmas 2012-12-13T14:02:26 < jpa-> while ham is a traditional christmas food also 2012-12-13T14:02:41 < Laurenceb> looks like the sharp lcd the efm guys are using is very low power 2012-12-13T14:03:01 < Laurenceb> http://www.sharpmemorylcd.com/ 2012-12-13T14:10:28 < Laurenceb> http://www.sharpmemorylcd.com/resources/LS013B4DN04_Application_Info.pdf 2012-12-13T14:10:40 < Laurenceb> 2 uA 2012-12-13T14:12:07 < dongs> isnt that useless shit 2012-12-13T14:12:43 < jpa-> depends on how much it costs 2012-12-13T14:12:52 < dongs> not on digikey, so not interested 2012-12-13T14:13:19 < dongs> 'pixel stripe array' 2012-12-13T14:13:25 -!- jef79m is now known as jef79m_lurking 2012-12-13T14:14:17 <+Steffanx> *dong$key 2012-12-13T14:22:21 < Laurenceb> http://uk.mouser.com/ProductDetail/Sharp-Microelectronics/LS013B4DN04/?qs=sGAEpiMZZMvkC18yXH9iIo8vuzx883GtGNaaWcqY8Ec= 2012-12-13T14:23:39 <+Steffanx> "expensive shit" 2012-12-13T14:24:11 < jpa-> not bad 2012-12-13T14:24:34 < jpa-> not the cheapest, but still ok for the power consumption 2012-12-13T14:24:50 <+Steffanx> 17,03 euro excl. fat is too expensive imho 2012-12-13T14:24:51 < Laurenceb> they should make one with a solar cell built into the back 2012-12-13T14:24:59 <+Steffanx> *vat 2012-12-13T14:25:10 < jpa-> Steffanx: i don't want fat on my screen! 2012-12-13T14:25:51 <+Steffanx> v f .. too close together on my keyboard :P 2012-12-13T14:25:52 < jpa-> Steffanx: but compare it to eink prices, because the power usage is similar 2012-12-13T14:27:53 <+Steffanx> mouser gives me no eink prices 2012-12-13T14:28:32 < jpa-> try catster 2012-12-13T14:29:45 <+Steffanx> "Here kitty kitty! Catster, is for anyone that shares their life with a cat" not even going to click on that link 2012-12-13T14:32:32 < Oldboy> facebook for cats ? 2012-12-13T14:32:34 < Laurenceb> litter box confessions?! 2012-12-13T14:35:15 < Laurenceb> http://www.flickr.com/photos/osr/8228742344/in/set-72157632143418874 2012-12-13T14:40:01 < baird> Ah, that's from a TRS Model 100-- I've actually had that 'dead bug' layout shown to me as an example. "Hey, have a look at this..." 2012-12-13T14:41:06 < zyp> I seem to recall having seen that before 2012-12-13T14:41:16 < baird> Kicking myself for not getting a NEC8201 when I had the chance. 2012-12-13T14:42:34 <+Steffanx> Sure because you like old crap in your room? :P 2012-12-13T14:44:01 < baird> Did 'Year 10 Work Experience' at a Newspaper's maintenance and repair (..and computer) department, and I got to play with a 8201 for the two weeks, and was given the offer to buy it for $400.. I had the money, but at the time didn't think it was worth it for a BASIC machine with 32kB 2012-12-13T14:45:11 <+Steffanx> It's funny to play with, but i really don't have to own one 2012-12-13T14:46:36 < baird> The Model 100 and 8201s were must-haves for reporters at the time, and the repair department was repairing and modding them for extra ram. One of the guys there was writing a upload submission system on a Tandy 1000 in Turbo Pascal.. 2012-12-13T14:47:14 < baird> My housemate has a AlphaSmart Neo, which is kinda the modern-day equivalent. 2012-12-13T14:47:53 < Laurenceb> hehe "turbo" 2012-12-13T14:49:52 < baird> TURBO BUTTAN 2012-12-13T14:50:39 <+Steffanx> I guess you have to me > 40yo to appriciate crap like that :P 2012-12-13T14:50:41 <+Steffanx> be 2012-12-13T14:51:03 <+Steffanx> hmm, appriciate is not the right word 2012-12-13T14:51:35 < baird> Babby wants his Nintendo desktop 2012-12-13T14:51:50 <+Steffanx> Who's babby? 2012-12-13T14:55:49 < dongs> probably another baird gf 2012-12-13T14:57:16 < Thorn> is there a catch when powering a switch mode converter from a switch mode converter? (e,g. ac-/dc -> dc/dc buck) 2012-12-13T15:03:04 <+Steffanx> I think he ignores everyone but himself dongs :P 2012-12-13T15:07:18 < karlp> too much chatz 2012-12-13T15:07:26 < karlp> takes too long to catch up these days. 2012-12-13T15:07:37 < dongs> Thorn: i was gonna do that and didnt bother checking if it matters or not. 2012-12-13T15:11:46 < Thorn> especially when the ac/dc is that mean well thingy 2012-12-13T15:12:17 < dongs> yeah 2012-12-13T15:12:20 < dongs> same thing I was gonna do. 2012-12-13T15:12:34 < dongs> but my board t hat does 12V > further down is busted 2012-12-13T15:12:37 < dongs> so I couldnt test :) 2012-12-13T15:12:51 < karlp> might need a resistor to ground in between to get enough load to keep stage1 operational? 2012-12-13T15:13:07 < dongs> did meanwell shit say it needed a minload? 2012-12-13T15:13:13 < dongs> most dont 2012-12-13T15:13:59 < Thorn> no. current range: 0 ... xA 2012-12-13T15:14:13 < Thorn> (from the extensive 2-page datasheet) 2012-12-13T15:15:18 < Thorn> INRUSH CURRENT (Typ.): COLD START 30A/230VAC 2012-12-13T15:15:50 < Thorn> that thing may trigger circuit breakers 2012-12-13T15:17:00 < karlp> depends how long it lasts, but I wouldn't expect it to, 2012-12-13T15:17:14 < karlp> they'd have a hard time selling a device for what, 1amp? that tripped 16amp breakers when it was plugged in. 2012-12-13T15:17:35 < karlp> breakers are allowed to go x% over for Y ms and be required _not_ to trip. 2012-12-13T15:17:44 < Thorn> 1amp? the one I'm choosing is 350mA @15V output 2012-12-13T15:17:55 < karlp> I was hoping that 1amp was more than what you'd chosen :) 2012-12-13T15:18:06 < karlp> I couldn't remember the load from yesterday you'd chosen. 2012-12-13T15:18:28 < Thorn> if breakers are type C hopefully they won't trigger 2012-12-13T15:18:37 < karlp> still, who'd buy a 350ma/15v supply that tripped 16amp breakers when they were plugged in? 2012-12-13T15:18:44 < dongs> karlp: he had some tiny 1A shit 2012-12-13T15:19:13 < dongs> there's no way that shit would draw 30A on startup 2012-12-13T15:20:14 < Thorn> the datasheet says so 2012-12-13T15:20:59 < karlp> is there any table in the datasheet beside counting the pinmappings to see how many external adc inputs are available? 2012-12-13T15:21:07 < karlp> the datasheet only talks about the total number, 2012-12-13T15:21:09 < Thorn> when you designed a stm32f1 circuit last time, did you add a 4.7uF decoupling cap as per datasheet? 2012-12-13T15:21:16 < karlp> but that differs between 48/64/xx pin packages 2012-12-13T15:22:41 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Remote host closed the connection] 2012-12-13T15:23:03 < Thorn> for the f103, all of them from 48 to 144 and bga_whatever need it 2012-12-13T15:25:23 -!- dekar_ [~dekar@212.255.253.156] has quit [Quit: This computer has gone to sleep] 2012-12-13T15:26:12 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-13T15:31:56 < karlp> hehe freescale will ship to montenegro, but not iceland 2012-12-13T15:32:10 < Thorn> http://news.cnet.com/8301-1023_3-57558819-93/exclusive-itu-failed-says-former-policy-chief/ 2012-12-13T15:34:47 <+Steffanx> What's new anyway? People with power want to regulate EVERYTHING 2012-12-13T15:44:11 < dongs> zyp, 4l shit getting paneled right now. no last minute fuckups right 2012-12-13T15:44:37 < zyp> haven't spotted any 2012-12-13T15:44:55 < dongs> ly1 = top, etc right 2012-12-13T15:44:59 < zyp> yes 2012-12-13T15:45:55 < dongs> http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/CD00245351.pdf this is curious 2012-12-13T15:47:58 < Thorn> wth is STP16DP05. never heard of it 2012-12-13T15:48:22 < Oldboy> sounds like a mosfet 2012-12-13T15:48:36 < Thorn> Low voltage 16-bit constant current LED sink driver with outputs error detection 2012-12-13T15:50:13 < zyp> sounds like pretty much every other led driver 2012-12-13T15:53:37 < karlp> huh, kinetis m4 parts are sold with and without the fpu 2012-12-13T15:55:38 < dongs> um 2012-12-13T15:55:40 < dongs> i think all without. 2012-12-13T15:55:42 < zyp> are they selling any with now? 2012-12-13T15:56:35 < zyp> last time I checked you could only get them without 2012-12-13T15:57:36 < dongs> thats what i thoguht 2012-12-13T15:57:38 < karlp> oh, just looking at the ordering code explanations 2012-12-13T15:57:55 < karlp> looking for parts with 12 or more adc inputs, 2012-12-13T15:58:00 < karlp> L1 matches, f303 matches, 2012-12-13T15:58:15 < karlp> kinetis k10 too, 2012-12-13T16:00:21 <+Steffanx> That document looks like the result of a report of a random student/intern :P 2012-12-13T16:00:34 <+Steffanx> -of 2012-12-13T16:00:54 <+Steffanx> arh, it's hard to generate correct sentences 2012-12-13T16:02:29 < dongs> what doucmnet 2012-12-13T16:02:46 < dongs> the ST shit? 2012-12-13T16:03:21 <+Steffanx> Yes 2012-12-13T16:05:40 -!- dekar [~dekar@studpool-wlan-75-244.fs.fbi.h-da.de] has joined ##stm32 2012-12-13T16:05:43 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-13T16:07:27 < dongs> so zyp when are you switching to dicktrace 2012-12-13T16:07:56 < Thorn> don't 2012-12-13T16:08:02 < Thorn> switch to altium instead 2012-12-13T16:09:18 < dongs> haha plz 2012-12-13T16:09:23 < dongs> he needs to be able to afford it 2012-12-13T16:09:26 < dongs> legitimately 2012-12-13T16:09:52 < dongs> thorn, link to shit you've designed in altium 2012-12-13T16:10:01 <+Steffanx> dicktrace only runs on os x in WINE 2012-12-13T16:10:03 <+Steffanx> which is UGLY 2012-12-13T16:10:16 < dongs> sorry about that. your OS must be shit :) 2012-12-13T16:10:36 <+Steffanx> Sure 2012-12-13T16:10:51 < dongs> i'm sure windows users think the same about macos. 2012-12-13T16:10:57 < dongs> which is fully unusable from keyboard, etc 2012-12-13T16:10:57 <+Steffanx> http://www.diptrace.com/download.php compare the sized :D :D 2012-12-13T16:11:02 <+Steffanx> s 2012-12-13T16:11:14 <+Steffanx> 60 vs 293mb :D 2012-12-13T16:11:25 <+Steffanx> *MB 2012-12-13T16:11:32 < dongs> right, it has winelib or osme other shit 2012-12-13T16:11:36 < dongs> I know some lunix tool that uses it in wine 2012-12-13T16:11:40 < dongs> supposedly it works pretty well there. 2012-12-13T16:11:42 <+Steffanx> oh, but it includes everything 2012-12-13T16:15:14 <+Steffanx> http://www.naffets.nl/share//X11-20121213-151501.png works good, but integrates awful 2012-12-13T16:15:25 <+Steffanx> ^^ in WINE 2012-12-13T16:16:57 < dongs> well yeah 2012-12-13T16:17:04 < dongs> i'd say macos UI is much more awful 2012-12-13T16:17:06 < dongs> :) 2012-12-13T16:17:32 < dongs> im surprised winefags figured out how to draw win95 window decorations 2012-12-13T16:17:39 <+Steffanx> That's your opinion, but when an app doesn't integrate very well, it sucks even more 2012-12-13T16:17:41 < dongs> last time I tried wine, it was drawing win3.11 titlebars/buttons 2012-12-13T16:18:13 < dongs> Steffanx: define "integrate"? 2012-12-13T16:18:20 < dongs> you want the menue in the top of macfag stuff? 2012-12-13T16:18:28 <+Steffanx> For example 2012-12-13T16:18:41 <+Steffanx> but it's probably WINE that fails, not dicktrace 2012-12-13T16:18:48 <+Steffanx> only one icon in the doc for all windows 2012-12-13T16:18:49 < dongs> right. 2012-12-13T16:18:57 <+Steffanx> window switching doesnt work etc. 2012-12-13T16:18:58 < dongs> wehat tehy should do is stop fucking coding that shit in delphi 2012-12-13T16:19:01 < dongs> and rewrite it in QT 2012-12-13T16:19:13 <+Steffanx> Can't "ALT+tab" to another window 2012-12-13T16:19:17 < dongs> im sure that would make the UI 100x less filthy than it is now 2012-12-13T16:19:34 <+Steffanx> because all runs in a signle xquartz 'screen' 2012-12-13T16:19:52 <+Steffanx> They shouldn't write it in QT, but in Qt :P 2012-12-13T16:20:05 <+Steffanx> Or write it using Qt 2012-12-13T16:20:18 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-13T16:20:20 < dongs> whatever. yo uget the idea. 2012-12-13T16:20:27 < dongs> emeb_mac is the expert on that stuff. 2012-12-13T16:20:29 <+Steffanx> QT is QuickTime, every (ex-)macfag knows that 2012-12-13T16:20:40 <+Steffanx> And iirc you are an ex-macfag 2012-12-13T16:20:45 < dongs> o'rly? 2012-12-13T16:20:47 < zyp> yawn 2012-12-13T16:20:48 < dongs> never. 2012-12-13T16:20:56 < emeb_mac> someone mentioned me? 2012-12-13T16:20:59 <+Steffanx> You had an Apple device iirc 2012-12-13T16:21:08 < zyp> now you're just arguing about irrelevant shit. 2012-12-13T16:21:12 <+Steffanx> It was a gift, but that doesn't matter 2012-12-13T16:21:18 < dongs> well, cuz you didnt answer my question, zyp. 2012-12-13T16:21:29 < zyp> I'm pretending to work 2012-12-13T16:21:33 < dongs> zyp, how does around 50 bucks sound for all the crap that went your way so far + lpc + stencils. 2012-12-13T16:21:41 <+Steffanx> I just told him why you shouldn't use dicktrace zyp :P 2012-12-13T16:22:18 <+Steffanx> And isn't most crap we 'discuss' here irrelevant? 2012-12-13T16:22:24 < zyp> dongs, is that before or after subtracting the 50 bucks for the i2c shit? 2012-12-13T16:22:25 <+Steffanx> irrelevant to something else 2012-12-13T16:22:28 < dongs> Steffanx: only when Laurenceb is in discussion 2012-12-13T16:22:30 < dongs> zyp: haha 2012-12-13T16:22:52 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-13T16:23:16 < emeb_mac> no answer on the stm32 forum. 2012-12-13T16:23:23 <+Steffanx> About what? 2012-12-13T16:23:25 < dongs> emeb_mac: with only 10 views, im not shocked 2012-12-13T16:23:27 <+Steffanx> *on 2012-12-13T16:23:36 <+Steffanx> zlog 2012-12-13T16:23:36 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-12-13.html 2012-12-13T16:23:36 < dongs> 3 of them was me 2012-12-13T16:23:52 -!- dekar [~dekar@studpool-wlan-75-244.fs.fbi.h-da.de] has quit [Quit: This computer has gone to sleep] 2012-12-13T16:24:08 < dongs> Steffanx: look for e2e 2012-12-13T16:24:23 < zyp> dongs, how should I interpret «haha»? :p 2012-12-13T16:24:46 < emeb_mac> no one cares about F3 :( 2012-12-13T16:24:56 < dongs> zyp: self-trolled. disregard, i suck cocks. 2012-12-13T16:25:23 < zyp> right, so we are even? 2012-12-13T16:25:28 < dongs> correct 2012-12-13T16:25:31 < zyp> great 2012-12-13T16:25:46 < dongs> but you owe me an assembled lpc board, assuming it works :) 2012-12-13T16:26:05 < dongs> plus ill keep a bunch here incase you decide to do something with them later on. 2012-12-13T16:26:18 < dongs> 20 boards is pretty heavy. 2012-12-13T16:27:09 < zyp> fair enough 2012-12-13T16:27:48 < dongs> stored in 16C / 20% RH dry cabinet! 2012-12-13T16:27:49 * emeb_mac knows diddly about wine, QT, etc. 2012-12-13T16:28:31 < emeb_mac> so no scrubbing needed before stenciling? 2012-12-13T16:28:45 < zyp> scrubbing? 2012-12-13T16:29:22 < dongs> well, enig doesnt oxidize, hasl shit will oxidize eventually anyway. 2012-12-13T16:29:28 <+Steffanx> I wonder how many people actually use QT on a mac emeb_mac :P 2012-12-13T16:30:17 < zyp> the framework or the standalone player? 2012-12-13T16:30:32 < emeb_mac> :) 2012-12-13T16:30:33 < zyp> the framework is pretty integrated in most video stuff 2012-12-13T16:31:07 < dongs> isnt quacktime default player for * on macfag 2012-12-13T16:31:10 <+Steffanx> The player, Qt is the framework :P 2012-12-13T16:31:28 < zyp> Steffanx, no, I'm talking about the quicktime framework. 2012-12-13T16:31:34 <+Steffanx> oh, ok :) 2012-12-13T16:31:40 < dongs> http://digitechbytes.com/wp-content/uploads/2012/10/quicktime-player.jpg thjis shit 2012-12-13T16:31:45 < dongs> so fucking ugly + useless 2012-12-13T16:31:47 < zyp> which may, ironically enough, be used by Qt 2012-12-13T16:31:53 <+Steffanx> QTKit :) 2012-12-13T16:32:16 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-13T16:32:32 < zyp> Qt Phonon will utilize whatever media framework is provided by the OS you compile for, which is gstreamer on linux and quicktime on OS X 2012-12-13T16:32:36 <+Steffanx> That's not what it looks like nowadays dong$ 2012-12-13T16:33:42 <+Steffanx> By default it doesn't understand what an MKV is, so .. yeah it's useless :) 2012-12-13T16:33:47 <+Steffanx> *know 2012-12-13T16:34:11 < zyp> neither does directshow on windows 2012-12-13T16:34:26 <+Steffanx> People use that? 2012-12-13T16:34:27 <+Steffanx> :) 2012-12-13T16:34:29 < zyp> or did that change in the latest windows versions? I haven't checked recently 2012-12-13T16:34:47 <+Steffanx> Linux has it's issues with 'non-open' codec as well 2012-12-13T16:34:51 <+Steffanx> codecs 2012-12-13T16:34:57 <+Steffanx> or containers 2012-12-13T16:35:10 < dongs> i remember reading about gstreamer 2012-12-13T16:35:14 < dongs> and how it sounded like a total joke 2012-12-13T16:35:16 <+Steffanx> So now we discussed all OS's, neext :) 2012-12-13T16:35:19 < dongs> of course, the dumbest shit gets accepted into lunix 2012-12-13T16:35:39 < Laurenceb> http://www.grimmemennesker.dk/data/media/2/cant_afford_me.jpg 2012-12-13T16:36:11 <+Steffanx> photostop + 10000 reposted == … 2012-12-13T16:36:13 < zyp> I'm not sure I want to open a picture from «ugly people .dk» 2012-12-13T16:36:31 < Laurenceb> dongs waifu > http://i.imgur.com/YePeU.jpg 2012-12-13T16:36:47 < dongs> awesome 2012-12-13T16:36:49 <+Steffanx> uuh.. ok Laurenceb :S :S 2012-12-13T16:37:04 <+Steffanx> I actually told myself never to click on links you post again :( 2012-12-13T16:37:55 < zyp> emeb_mac, I saw your picture of the assembled F3 board, looks great 2012-12-13T16:37:56 < dongs> haha 2012-12-13T16:38:04 < dongs> that was on dongspcb as well 2012-12-13T16:38:04 < Thorn> install NetNanny like dongs 2012-12-13T16:38:13 < emeb_mac> zyp: ty 2012-12-13T16:39:00 < emeb_mac> dongs: yep. pcb looks good, but there's a couple scratches in the soldermask. 2012-12-13T16:39:28 < Laurenceb> http://ebrombaugh.studionebula.com/embedded/stm32f373breakout/f3_breakout_v04_sm.jpg 2012-12-13T16:39:30 < dongs> probably from packaging, no/ 2012-12-13T16:39:32 < Laurenceb> whats Q1 for? 2012-12-13T16:39:36 < dongs> Laurenceb: usb pullup 2012-12-13T16:39:41 < emeb_mac> dongs: prolly 2012-12-13T16:39:43 < dongs> emeb_mac: since I dindt indivudually wrap the shit 2012-12-13T16:39:45 < Laurenceb> ah 2012-12-13T16:40:36 < emeb_mac> zyp: did you see all the moaning about bootloader? 2012-12-13T16:40:48 < zyp> yes, I read through it 2012-12-13T16:41:16 < Laurenceb> on f3? 2012-12-13T16:41:20 < emeb_mac> yes 2012-12-13T16:41:32 < emeb_mac> so far only USART1 works on F373 2012-12-13T16:41:40 < emeb_mac> no USB DFU in evidence 2012-12-13T16:41:41 < zyp> so it's different from F30x, and until ST release any documentation, we don't know if DFU is supposed to be supported and what the requirements for using DFU are 2012-12-13T16:42:19 < emeb_mac> yep & bootloader version / capability codes are different from f30x 2012-12-13T16:42:37 < Laurenceb> i see 2012-12-13T16:42:59 < Laurenceb> anyone tried the 100lqfp F30x yet? 2012-12-13T16:43:07 < emeb_mac> but, jtag / swd works fine, so who cares. 2012-12-13T16:43:10 < Laurenceb> not the f3discoverys ES one 2012-12-13T16:43:13 < Laurenceb> heh 2012-12-13T16:43:39 < dongs> Laurenceb: i ordered one 2012-12-13T16:43:40 < Laurenceb> im planning to stick f303 on dataloggers so firmware upgrade is easier 2012-12-13T16:43:41 < dongs> it came ES 2012-12-13T16:43:42 < Laurenceb> cool 2012-12-13T16:43:45 < Laurenceb> oh lol 2012-12-13T16:43:47 < dongs> yea 2012-12-13T16:43:57 < dongs> lulz 2012-12-13T16:44:22 < Laurenceb> http://img102.imageshack.us/img102/9269/n73310016619052919727xd7.jpg 2012-12-13T16:44:25 < zyp> «I'm too dumb to flash a DFU bootloader, so I'm buying one that ships with DFU bootloader» 2012-12-13T16:44:30 < Laurenceb> hehe 2012-12-13T16:45:13 * emeb_mac doesn't want to know what sites Laurenceb hangs out on to find all that stuff. 2012-12-13T16:45:20 < Laurenceb> ebaums world 2012-12-13T16:45:39 * emeb_mac blacklists that site 2012-12-13T16:45:40 < dongs> what hte fuck is going on in the last pic 2012-12-13T16:45:59 < dongs> k, bedtime 2012-12-13T16:46:04 < dongs> picking up dixus4 tomrorw morning 2012-12-13T16:46:15 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-13T16:46:21 < emeb_mac> time for brekkie 2012-12-13T16:46:31 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-13T16:46:55 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2012-12-13T16:47:41 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has joined ##stm32 2012-12-13T16:48:26 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has quit [Disconnected by services] 2012-12-13T16:48:27 -!- Nutter` [Nutter@64-46-18-151.dyn.novuscom.net] has joined ##stm32 2012-12-13T16:50:14 -!- dekar [~dekar@2001:41b8:9bf:fe74:1df:52fa:f8b0:d49] has joined ##stm32 2012-12-13T16:50:17 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-13T16:55:39 -!- dekar [~dekar@2001:41b8:9bf:fe74:1df:52fa:f8b0:d49] has quit [Quit: Leaving] 2012-12-13T16:59:11 < Thorn> f3discovery comes with sample chips? 2012-12-13T17:00:31 < Thorn> as in engineering sample 2012-12-13T17:07:10 < karlp> apparently, that's what most people have claimed 2012-12-13T17:07:26 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-13T17:07:31 < karlp> possibly they were manually sorted so only working ones were mounted though. (hopefully) 2012-12-13T17:11:39 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-13T17:13:02 <+Steffanx> :D 2012-12-13T17:15:52 < Thorn> is it known if all of them have ES or only first ones? 2012-12-13T17:16:15 < emeb> why does anyone care? 2012-12-13T17:17:01 < Thorn> http://www.livescience.com/25447-stretchy-material-electronic-clothes.html 2012-12-13T17:18:17 < emeb> so you can get that shiny vinyl catsuit with LEDs embedded in it... 2012-12-13T17:21:50 <+Steffanx> emeb, doesn't like sexy suits 2012-12-13T17:30:33 < mansfeld> so... I'm having another problem with my UART on the STM32L... I can send characters but I can't seem to read anything 2012-12-13T17:31:32 < Tectu> jpa-, around? 2012-12-13T17:31:40 < mansfeld> if I send something just before reading (wait for FLAG_RXNE, then USART_ReceiveData), I read either zeroes or 0x7F 2012-12-13T17:32:10 < mansfeld> if I don't send anything, the micro just stays stuck waiting for the flag. Where should I start looking to fix this? 2012-12-13T17:34:16 < jpa-> Tectu: going to bike in snow 2012-12-13T17:34:41 <+Steffanx> I can go bike in the snow too, but there is only a few mm here :P 2012-12-13T17:34:42 < Tectu> jpa-, enjoy 2012-12-13T17:34:54 < Tectu> jpa-, I use the * operator in a testbench, ghdl: file/signalgenerator/tb_signalgenerator.vhd:124:124: no function declarations for operator "*" 2012-12-13T17:35:05 < Tectu> do I nee to link it to GHDL somehow, the library? it works with modelsim 2012-12-13T17:35:23 < Tectu> doing use ieee.math_real.all; 2012-12-13T17:49:01 < Laurenceb> http://dfu-util.gnumonks.org/dfuse.html 2012-12-13T17:53:34 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has joined ##stm32 2012-12-13T18:03:47 < Laurenceb> i thought dfu was built into windoze? 2012-12-13T18:10:11 <+Steffanx> Only when the wind blows, Laurenceb 2012-12-13T18:17:45 < jpa-> Tectu: * operator for what types? 2012-12-13T18:22:28 < Laurenceb> http://www.patentgenius.com/patent/8226395.html 2012-12-13T18:22:30 < Laurenceb> lolling 2012-12-13T18:22:39 < zyp> http://i.imgur.com/pqSlk.jpg 2012-12-13T18:22:40 < Laurenceb> "open source hardware" 2012-12-13T18:23:03 < Laurenceb> haha 2012-12-13T18:24:57 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2012-12-13T18:29:18 <+Steffanx> Could be dong$, Laurenceb :P 2012-12-13T18:29:47 <+Steffanx> * i mean: z yp 2012-12-13T18:29:49 <+Steffanx> -space 2012-12-13T18:30:11 < Laurenceb> its the guy who runs makerbot and instructables 2012-12-13T18:32:59 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-13T18:33:14 < Laurenceb> http://forums.reprap.org/read.php?1,155484 2012-12-13T18:33:16 < Laurenceb> i lolled 2012-12-13T19:11:08 < Laurenceb> p Setpoint 2012-12-13T19:11:08 < Laurenceb> $114 = -nan(0x7fffff) 2012-12-13T19:11:08 < Laurenceb> (gdb) p/x Setpoint 2012-12-13T19:11:08 < Laurenceb> $115 = 0x0 2012-12-13T19:11:10 < Laurenceb> huh 2012-12-13T19:14:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2012-12-13T19:14:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-13T19:16:28 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-165.clienti.tiscali.it] has quit [Disconnected by services] 2012-12-13T19:16:28 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has joined ##stm32 2012-12-13T19:16:41 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Ping timeout: 245 seconds] 2012-12-13T19:26:33 -!- claude is now known as Claude 2012-12-13T19:26:36 < emeb> hmmm... 2012-12-13T19:26:49 < emeb> stash of 10uf 0805 caps missing... 2012-12-13T19:28:02 < Laurenceb> i think gdb is being silly 2012-12-13T19:28:11 < Laurenceb> using pointer tricks i get 0xffffffff 2012-12-13T19:28:16 < Laurenceb> which makes sense 2012-12-13T19:28:20 < Laurenceb> "Transfer rate: 41 KB/sec" 2012-12-13T19:28:29 < Laurenceb> what the fuuu texane 2012-12-13T19:30:05 < zyp> emeb, assembled bmp2 yet? 2012-12-13T19:39:34 < karlp> not instructables laurance, that's autodesk 2012-12-13T19:44:13 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-13T20:03:51 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-13T20:04:10 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has quit [Remote host closed the connection] 2012-12-13T20:29:19 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2012-12-13T20:49:20 <+Steffanx> zzz 2012-12-13T20:49:48 < zyp> Steffanx is bored, hurry! entertain him! 2012-12-13T20:49:58 <+Steffanx> No, i'm not 2012-12-13T20:50:32 <+Steffanx> I'm a hard working student remember? :P 2012-12-13T20:50:41 < zyp> no, you are a lazy slob :p 2012-12-13T20:50:49 < zyp> well, I guess that's the same 2012-12-13T20:51:18 <+Steffanx> No, I actually work 'pretty' hard sometimes 2012-12-13T20:52:44 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-13T21:13:31 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-13T21:22:54 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-13T21:32:30 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-13T21:42:24 -!- daku is now known as DaKu 2012-12-13T21:54:16 < emeb> zyp: getting started on bmp2. 2012-12-13T21:54:21 < zyp> :) 2012-12-13T21:54:24 < jpa-> http://makezineblog.files.wordpress.com/2012/12/alamode-03.jpg now you can put an xbee module on your shield on an arduino on a rpi 2012-12-13T21:54:48 < zyp> no thanks 2012-12-13T21:55:55 <+Steffanx> An xbee on a rpi.. ok, but THAT?! 2012-12-13T21:56:45 <+Steffanx> Where is the arduino btw jpa- ? 2012-12-13T21:56:46 < jpa-> i bet someone will stack the arduino ethernet shield on that 2012-12-13T21:56:52 <+Steffanx> Sure that's an arduino? 2012-12-13T21:56:54 < jpa-> 2nd from bottom 2012-12-13T21:57:01 < jpa-> yes 2012-12-13T21:57:28 <+Steffanx> Special rpi arduino? 2012-12-13T21:57:33 < jpa-> yeah http://makezineblog.files.wordpress.com/2012/12/alamode-01.jpg 2012-12-13T21:57:43 <+Steffanx> Ah :) 2012-12-13T21:58:15 <+Steffanx> Arduino.. 'all' people think it's bad, but actually is not more than a AVR on a pcb + a logo 2012-12-13T21:58:52 <+Steffanx> Hmm, this one has no arduino logo ?! 2012-12-13T22:02:14 < jpa-> why would it? 2012-12-13T22:04:16 <+Steffanx> Otherwise it's not an arduino 2012-12-13T22:04:52 <+Steffanx> Arduino™ etc. :) 2012-12-13T22:06:09 <+Steffanx> Btw.. did your parrot like the biking in the snow too jpa- ? 2012-12-13T22:06:39 < jpa-> she wasn't with me (i was biking home from work) 2012-12-13T22:07:08 <+Steffanx> Much snow in coldish finland? 2012-12-13T22:09:18 < jpa-> 15 cm or so 2012-12-13T22:10:06 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-13T22:10:31 <+Steffanx> Yay 2012-12-13T22:10:37 <+Steffanx> Better than the few mm here :) 2012-12-13T22:12:21 < zyp> it's been snowing a lot here too 2012-12-13T22:12:27 < zyp> I like it 2012-12-13T22:12:43 < jpa-> snow is better than winter without snow 2012-12-13T22:12:46 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 2012-12-13T22:12:47 < zyp> yeah 2012-12-13T22:12:48 < jpa-> but i still like summer the best 2012-12-13T22:13:19 < zyp> and when my car is covered by snow, I just have to brush off the snow, not scrape ice of the windows, so I prefer it snowing :p 2012-12-13T22:18:19 -!- DaKu is now known as daku 2012-12-13T22:23:06 <+Steffanx> Never have that issue :) 2012-12-13T22:23:29 <+Steffanx> Oh, I do.. have to scrape the ice of my saddle sometimes 2012-12-13T22:23:33 < zyp> not having a car doesn't help 2012-12-13T22:23:35 < zyp> :p 2012-12-13T22:24:47 < zyp> if I were living closer to work I would consider walking instead of digging out the car every day 2012-12-13T22:33:54 -!- esden_ [esden@repl.esden.net] has joined ##stm32 2012-12-13T22:34:48 -!- Netsplit *.net <-> *.split quits: esden 2012-12-13T22:34:54 -!- esden_ is now known as esden 2012-12-13T22:37:30 -!- Nutter` is now known as Nutter 2012-12-13T22:39:53 -!- Claude is now known as claude 2012-12-13T22:41:42 -!- gurgalof_ [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-13T22:42:27 -!- dongs_ [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-13T22:43:19 -!- nopcode_ [~nop@sushi.unix-ag.uni-kl.de] has joined ##stm32 2012-12-13T22:43:35 < Thorn> some serious shit has hit the fan at the WCIT 2012-12-13T22:45:05 < Thorn> http://www.washingtonpost.com/world/national-security/us-refuses-to-back-un-treaty-saying-it-endorses-restricting-the-internet/2012/12/13/ba497952-4548-11e2-8e70-e1993528222d_story.html 2012-12-13T22:45:17 -!- Oldboy_ [myircshell@gateway/shell/sh3lls.net/x-ynafjiezhhocdvfz] has joined ##stm32 2012-12-13T22:45:48 -!- jef79m_lurking is now known as jef79m 2012-12-13T22:47:34 -!- Netsplit *.net <-> *.split quits: Oldboy, dongs, gurgalof, nopcode 2012-12-13T22:52:57 <+Steffanx> jpa-, i think you appeared in one of my dream last night 2012-12-13T22:53:03 <+Steffanx> You looked like this: http://www.toonpool.com/user/997/files/pirate_parrot_talk_more_1544285.jpg 2012-12-13T23:03:39 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-13T23:04:07 -!- jef79m is now known as jef79m_lurking 2012-12-13T23:16:57 < emeb> zyp: bmp2 built. loaded firmware butit's segfaulting @ addr 0. thoughts? 2012-12-13T23:20:49 < zyp> load bootloader first 2012-12-13T23:21:14 < zyp> or, also 2012-12-13T23:21:27 < zyp> bootloader needs to be present since it always runs first 2012-12-13T23:21:58 < emeb> zyp: aha 2012-12-13T23:22:32 < zyp> main firmware starts at 0x8002000, so without bootloader there is nothing to execute at 0x8000000 2012-12-13T23:23:37 < emeb> that was it 2012-12-13T23:23:43 < emeb> happy blinky lights now 2012-12-13T23:23:48 < zyp> :) 2012-12-13T23:23:54 < emeb> and ttyACM2 shows up on USB 2012-12-13T23:24:00 < zyp> great 2012-12-13T23:24:12 < emeb> now to see if it works w/ gdb... 2012-12-13T23:30:33 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 245 seconds] 2012-12-13T23:30:50 < emeb> yep. mini 10-pin to the f373 works fine 2012-12-13T23:35:04 < zyp> did you get the 20-pin right? 2012-12-13T23:39:55 < emeb> just soldered it on 2012-12-13T23:41:53 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2012-12-13T23:41:54 < emeb> hmmm.... 2012-12-13T23:42:05 < emeb> do I even have a board that uses the 20-pin? 2012-12-13T23:42:15 < zyp> your F1 board? 2012-12-13T23:42:26 < emeb> don't have an F1 2012-12-13T23:42:40 < emeb> have that F100 breakout tho... 2012-12-13T23:42:41 < zyp> http://ebrombaugh.studionebula.com/embedded/stm32breakout/index.html <- thinking about this 2012-12-13T23:42:54 < emeb> yeah that 2012-12-13T23:43:05 < zyp> but that's not 20pin? 2012-12-13T23:43:10 < zyp> I count 16 2012-12-13T23:44:28 < emeb> yeah - didn't include the last 4 just to keep width down - they're not used anyway 2012-12-13T23:44:30 < DLPeterson> zyp, have you used blackmagic with an RTOS? 2012-12-13T23:45:37 < zyp> depends on whether you'd count my stuff as an RTOS or not, why? 2012-12-13T23:46:12 < DLPeterson> i was wondering how it works when debugging multithreaded embedded applications 2012-12-13T23:46:54 < zyp> it's not threading-aware 2012-12-13T23:47:13 < DLPeterson> ok 2012-12-13T23:48:31 < zyp> which is natural, since threading support is very OS dependant 2012-12-13T23:49:15 < emeb> looks like the 20-pin works 2012-12-13T23:49:42 < emeb> but BMP firmware doesn't know about the STM32F100 series parts apparently. 2012-12-13T23:49:49 < emeb> calls it 'medium density' 2012-12-13T23:50:14 < zyp> if it calls it medium density, it's recognized as stm32 at least :p 2012-12-13T23:50:18 < emeb> yes 2012-12-13T23:51:06 < zyp> https://github.com/gsmcmullin/blackmagic/blob/master/src/stm32f1.c#L154 <- it doesn't really discriminate much 2012-12-13T23:51:26 < emeb> aha 2012-12-13T23:51:38 < emeb> and the 6-pin Discovery-style SWD works too. 2012-12-13T23:52:29 < emeb> so - witness the power of this fully-operational battle-sta^H^H^H^H^H^H^H^H^H debugger 2012-12-13T23:52:37 < zyp> :) 2012-12-13T23:53:17 < zyp> that's great 2012-12-13T23:54:03 < zyp> I wonder when I'll have my boards 2012-12-13T23:54:06 < emeb> yep. need to scrub the flux off and take some pix 2012-12-13T23:54:28 < zyp> parts are in route to be delivered tomorrow, as I expected 2012-12-13T23:54:44 < zyp> apparently arrived in germany a few hours ago 2012-12-13T23:59:06 < emeb> dongsboards are anyone's guess 2012-12-13T23:59:37 < zyp> it's usually fast, so I'm hoping I'll get them not too late next week --- Day changed Fri Dec 14 2012 2012-12-14T00:03:04 < emeb> chunka-chunka (uploading to imgur...) 2012-12-14T00:06:17 < emeb> bmp2 -> http://i.imgur.com/PpLzy.jpg 2012-12-14T00:06:32 < emeb> still a little fluxy 2012-12-14T00:09:07 < emeb> I should build another one with the OSHpark board so I have one in each color 2012-12-14T00:19:24 < zyp> :) 2012-12-14T00:20:43 < emeb> zyp: you had a patch to the bmp firmware to all it to work w/ the Mac OS USB stack? 2012-12-14T00:21:07 < emeb> I'd like to load that into my new one 2012-12-14T00:21:13 < zyp> I just helped some guy with it on another channel 2012-12-14T00:21:26 < zyp> if you are talking about non-IAD 2012-12-14T00:21:31 < emeb> right 2012-12-14T00:21:34 < zyp> http://paste.jvnv.net/view/siCP2 2012-12-14T00:21:50 < emeb> ty 2012-12-14T00:35:13 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-14T00:40:53 < emeb> yay - bmp2 works in Mac. also, bmp DFU bootloader works. 2012-12-14T00:41:42 < zyp> :) 2012-12-14T00:42:17 < emeb> hmmm... what next? 2012-12-14T00:44:01 < emeb> zyp: what's up with that 8-digit hex value that MacOS tacks onto the cu.usbmodem device name? 2012-12-14T00:44:11 < emeb> Is that persistent for a given device? 2012-12-14T00:44:40 < zyp> yes 2012-12-14T00:45:03 < zyp> it's determined from the serial reported in the device descriptor 2012-12-14T00:45:14 < zyp> which BMP calculates from the chip id 2012-12-14T00:45:29 < emeb> nifty 2012-12-14T00:47:19 < emeb> zyp: another dumb question - the laks_demo usb_cdc_acm demo code works in linux, but doesn't seem to show up on the Mac. wtf? 2012-12-14T00:48:00 < zyp> almost same reason IAD doesn't work 2012-12-14T00:48:20 < emeb> aha. something about the descriptors that the acm uses 2012-12-14T00:48:39 < zyp> found out that OS X 10.6 doesn't like CDC devices with bDeviceClass = 0 when we were testing earlier today 2012-12-14T00:48:56 < emeb> picky OS 2012-12-14T00:49:06 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-14T00:49:55 < zyp> just change dev_desc to: auto dev_desc = device_desc(0x200, 2, 0, 0, 64, 0x1234, 0x5678, 0, 0, 0, 0, 1); 2012-12-14T00:49:59 < zyp> and I think it should be fine 2012-12-14T00:51:48 < zyp> also, since it doesn't report a serial, it gets the name from the location you plug it in instead 2012-12-14T00:52:10 < Tectu> jpa-, do you use the altera libraries with GHDL? 2012-12-14T00:52:13 < zyp> so the name would be persistent for a particular port, but if you plug it in elsewhere it will get another 2012-12-14T00:52:36 < Tectu> for example, I use a memory component of the altera lib - works with modelsim, but GHDL not because it dosen't know the implementation of it 2012-12-14T00:54:38 * emeb needs to figure out how to turn off the modem-manager service in F17 2012-12-14T00:55:01 < emeb> always camps out on my ttyACMx ports for a minute or so when they're first plugged in. 2012-12-14T00:55:42 < zyp> F17? 2012-12-14T00:56:52 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2012-12-14T00:57:28 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-14T00:57:33 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Client Quit] 2012-12-14T00:58:09 < emeb> Fedora17 2012-12-14T00:58:25 < emeb> changing that 0 -> 2 worked on MacOS. 2012-12-14T00:59:10 < karlp> yum remove modem-manager. 2012-12-14T00:59:16 < zyp> figured it would 2012-12-14T00:59:17 < karlp> who the hell uses modems these days anyway? 2012-12-14T00:59:56 < emeb> hmm... site I'm looking at says network mgr depends on modem mgr 2012-12-14T01:00:00 < karlp> don't go looking for the bug reports on why it does the things it does, you'll find very angry people very strongly attached to making sure that a modem can be plugged in and probed with AT commands. 2012-12-14T01:00:03 < emeb> so can't uninstall it. 2012-12-14T01:00:13 < karlp> I may hav eblack listed stuff actually. 2012-12-14T01:00:15 < zyp> http://bin.jvnv.net/f/HJZlS.png <- OS X seems to think I'm using a whole lot of modems 2012-12-14T01:00:27 < karlp> if I remember I'll look at what I did on my work system tomorrow morning for you. 2012-12-14T01:00:40 < karlp> actually, I may have run into that with net-mgr too, 2012-12-14T01:00:57 < karlp> I have vauge memories of finding some udev stuff to say, "skip all modem bullshit for these usb vids" 2012-12-14T01:01:37 < emeb> yeah - looks like blacklist is the only option 2012-12-14T01:01:49 < emeb> or, upgrade to F18 2012-12-14T01:01:59 < emeb> which allows modem mgr to be skipped 2012-12-14T01:02:35 < karlp> work machine is ok as is for now :) 2012-12-14T01:02:47 < karlp> home machine could do with an upgrade though, ubuntu 10.04 is getting a little long in the tooth 2012-12-14T01:03:18 < emeb> zyp: what app generated that list? 2012-12-14T01:03:41 < zyp> istat menus 2012-12-14T01:04:00 < emeb> probably a 10.8 thing 2012-12-14T01:04:07 < zyp> third party thing 2012-12-14T01:04:12 < emeb> ah 2012-12-14T01:04:19 < zyp> I've probably been using it since 10.5 2012-12-14T01:04:28 < emeb> nice. freeware? 2012-12-14T01:04:43 < zyp> I seem to recall I paid for it 2012-12-14T01:05:03 < emeb> yup 2012-12-14T01:06:54 < emeb> $16 2012-12-14T01:09:10 < emeb> karlp: ModemManager blacklist -> /lib/udev/rules.d/77-mm-usb-device-blacklist.rules 2012-12-14T01:13:58 -!- Laurenceb_ [~Laurence@host81-159-189-227.range81-159.btcentralplus.com] has joined ##stm32 2012-12-14T01:17:38 -!- jef79m_lurking is now known as jef79m 2012-12-14T01:32:54 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-14T01:33:00 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-14T01:33:16 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has joined ##stm32 2012-12-14T01:43:46 -!- Laurenceb_ [~Laurence@host81-159-189-227.range81-159.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-12-14T01:44:30 < dongs_> suuuuuuup 2012-12-14T01:44:42 -!- dongs_ is now known as dongs 2012-12-14T01:48:08 <+Steffanx> Tha sky bro 2012-12-14T01:48:23 < emeb> uh-oh. dongs has an underscore 2012-12-14T01:48:34 <+Steffanx> Not anymore 2012-12-14T01:48:51 < emeb> dongs: behold -> bmp2 -> http://i.imgur.com/PpLzy.jpg 2012-12-14T01:49:01 < emeb> linty / fluxy goodness 2012-12-14T01:49:13 <+Steffanx> it's huge :P 2012-12-14T01:49:33 < emeb> bwahahaha - and I'll take over the world with it. 2012-12-14T01:49:51 < dongs> heh 2012-12-14T01:59:29 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-14T02:04:33 < karlp> emeb: excellent, I won't look up how I did it tomorrow then :) 2012-12-14T02:05:09 < emeb> karlp: thanks for the lead - pretty easy to do. 2012-12-14T02:16:22 < dongs> how much bandwidth is in crapple thunderbolt? 2012-12-14T02:16:25 < dongs> > 16xpcie? 2012-12-14T02:16:48 < dongs> http://imgur.com/a/ACIQ8 2012-12-14T02:16:54 < dongs> all that, for wowfags. 2012-12-14T02:17:21 < zyp> thunderbolt is 4x pcie 2012-12-14T02:17:29 < dongs> fail. 2012-12-14T02:18:47 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 255 seconds] 2012-12-14T02:27:02 < dongs> whaa 2012-12-14T02:27:07 < dongs> why do i care bout this 2012-12-14T02:33:43 < emeb> I've got one of those HC05 things 2012-12-14T02:33:51 < emeb> haven't done anything with it yet. 2012-12-14T02:43:16 * emeb wonders how many different chinese vendors are building those HC05 modules 2012-12-14T02:47:14 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-14T02:50:05 < dongs> emeb: yeah, hundreds 2012-12-14T02:50:09 < dongs> that CSR-based shit 2012-12-14T02:50:17 < dongs> they're all beating each other by a couple cents 2012-12-14T02:56:49 < emeb> dongs: race to the bottom 2012-12-14T02:57:25 < dongs> nice link, fagboy 2012-12-14T02:58:23 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Ping timeout: 255 seconds] 2012-12-14T03:04:22 < emeb> flyback-: thx for links - hadn't seen the full DS on that before. 2012-12-14T03:05:57 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has quit [Ping timeout: 265 seconds] 2012-12-14T03:25:30 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-14T03:35:52 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-14T03:36:05 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-14T03:40:09 < DLPeterson> anybody here have experience with using the EXTI to trigger interrupts from external pins? 2012-12-14T03:40:28 < dongs> i've done it in a few projects 2012-12-14T03:40:33 < dongs> pretty easy stuff, wahts the question? 2012-12-14T03:41:03 < DLPeterson> dongs, well, I'm able to get a software interrupt to trigger my ISR, but no matter what I try, a rising edge on the physical pin isn't doing it. 2012-12-14T03:41:35 < dongs> you've done GPIO_EXTILineConfig + EXTI_Init ? 2012-12-14T03:41:51 < dongs> and of course enabled it in nVIC 2012-12-14T03:42:14 < DLPeterson> i've enabled the GPIO, SYSCFG, set the pin to input mode floating, enabled it in nVIC, enabled it in EXTI->IMR and EXTI->EMR 2012-12-14T03:42:44 < dongs> have you done anything with AFIO->EXTICR ? 2012-12-14T03:42:49 < DLPeterson> and in SYSCFG->EXTICR[2] (I am using PF11) 2012-12-14T03:43:07 < DLPeterson> umm, no, not with AFIO->EXTICR 2012-12-14T03:43:28 < DLPeterson> I am using a STM32F4, I'm not sure it has the AFIO like the F1 series 2012-12-14T03:43:35 < dongs> oh, crap right. 2012-12-14T03:43:40 < dongs> lemme look at my F4 exti code then 2012-12-14T03:44:04 < DLPeterson> k, thanks 2012-12-14T03:44:30 < DLPeterson> I've been looking at the example in the peripheral library, and I don't see what I'm missing. 2012-12-14T03:45:32 < dongs> ok looks same basically 2012-12-14T03:45:42 < dongs> on f1 its AFIO->EXTICR on F4 its SYSCFG as you're doing 2012-12-14T03:46:07 < dongs> so you're enabling exti11, connecting t o line11, and using the ISR that matches line11, right? 2012-12-14T03:46:54 < DLPeterson> yeah 2012-12-14T03:47:28 < DLPeterson> when I do EXTI->SWIER = (1 << 11); and set a breakpoint in my ISR, it gets called 2012-12-14T03:47:36 < dongs> oh 2012-12-14T03:47:42 < DLPeterson> so I think I have the nVIC configured 2012-12-14T03:47:45 < DLPeterson> correctly 2012-12-14T03:47:51 < dongs> what about EXTI->RTSR/FTSR 2012-12-14T03:47:55 < dongs> the rise/fall triggeres 2012-12-14T03:48:08 < dongs> you wanna set the bit for whatever line you wanna trigger on 2012-12-14T03:48:10 < DLPeterson> yeah, I've got those both as: EXTI->IMR = EXTI->EMR = (1 << 11); 2012-12-14T03:48:40 < dongs> thats IMR, im talking about the rise/fall register 2012-12-14T03:48:41 < DLPeterson> oh, and RTSR/FTSR to: EXTI->RTSR = EXTI->FTSR = (1 << 11); 2012-12-14T03:48:44 < DLPeterson> yeah 2012-12-14T03:48:44 < dongs> ok. 2012-12-14T03:48:58 < dongs> dunno, looks fine then. 2012-12-14T03:48:59 < DLPeterson> so it should trigger on a rising or falling edge 2012-12-14T03:49:02 < dongs> yes. 2012-12-14T03:49:27 < DLPeterson> hmm. I've scoped the pin and can see the rising and falling edges going to it, but my ISR isn't getting called 2012-12-14T03:49:30 < DLPeterson> hm.. 2012-12-14T03:50:46 < dongs> did you set hte exti mode bits 2012-12-14T03:51:01 < dongs> o wait, interrupt is 0 by default 2012-12-14T03:51:10 < dongs> so you dont need to set it 2012-12-14T03:53:51 < DLPeterson> which mode bits are you talking about? 2012-12-14T03:57:01 < dongs> interrupt or event mode. 2012-12-14T03:57:05 < dongs> never mind, interrupt is default 2012-12-14T03:59:00 < DLPeterson> I don't understand the difference between interrupt and events, do you? 2012-12-14T03:59:00 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-14T03:59:48 < DLPeterson> both can trigger an "exception" and cause an ISR to run, correct? 2012-12-14T04:00:08 < dongs> no, i only used interrupts, so I dont know either 2012-12-14T04:00:20 < dongs> but im using stdlib where shit "just works" 2012-12-14T04:02:10 < DLPeterson> yeah, i used to use the stdlib, but i ended up just directly banging on registers for the most part. 2012-12-14T04:02:15 < dongs> hmm 2012-12-14T04:02:22 < dongs> wait, EXTI->IMR = EXTI->EMR = (1 << 11); 2012-12-14T04:02:31 < dongs> in stdperiph lib, they clear both first 2012-12-14T04:02:37 < dongs> &= ~line; 2012-12-14T04:02:40 < DLPeterson> hmm 2012-12-14T04:02:55 < dongs> but then, if mode is interrupt, they only set IMR 2012-12-14T04:02:56 < dongs> not EMR 2012-12-14T04:03:07 < dongs> if mode is event, they set EMR. 2012-12-14T04:04:48 < DLPeterson> yeah, from the RM it seems like I only need the IMR bit set 2012-12-14T04:04:54 < dongs> right 2012-12-14T04:05:58 < dongs> you're generating the ISR with SWIER right? 2012-12-14T04:06:26 < dongs> and: are you clearing the status in ISR? 2012-12-14T04:07:11 < dongs> EXTI->PR = 1<11; 2012-12-14T04:08:11 < gxti> avoid doing a = b = 123 where and a and b are both SFRs 2012-12-14T04:08:22 < gxti> depending on the compiler you might shoot yourself in the foot 2012-12-14T04:13:04 < dongs> well, obviosuly gcc 2012-12-14T04:13:13 < dongs> so self-foot-shooting is implied. 2012-12-14T04:13:32 < dongs> anyone using a real compiler wouldn't be dicking with registers directly, anyway :) 2012-12-14T04:14:24 < gxti> what? 2012-12-14T04:14:49 < dongs> i mean, people dont wanna use stdlib cuz its not "freetard" enough, right? 2012-12-14T04:14:58 < dongs> like im using armcc compiler, and I dont give a fuck if i use stdlib or not 2012-12-14T04:15:07 < gxti> what does the compiler have to do with that 2012-12-14T04:28:32 < emeb_mac> http://www.youtube.com/watch?feature=player_embedded&v=gCgV-FnEcGQ 2012-12-14T04:29:14 < gxti> *crickets* 2012-12-14T04:45:10 < emeb_mac> chirp... chirp... chirp... 2012-12-14T04:48:25 < dongs> the last one is cool 2012-12-14T04:51:09 < dongs> youre still shopping for capton tape? 2012-12-14T05:00:40 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-14T05:01:41 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 255 seconds] 2012-12-14T05:02:42 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-14T05:06:27 < dongs> im not clickong all that hsit 2012-12-14T05:10:58 -!- baird [~cjb@ppp121-44-140-86.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-14T05:24:03 -!- jef79m is now known as jef79m_lurking 2012-12-14T05:43:32 -!- dongs is now known as _dongs 2012-12-14T05:49:01 -!- betovar [~Adium@adsl-98-64-169-248.mia.bellsouth.net] has joined ##stm32 2012-12-14T05:52:44 < Oldboy_> flyback-: you should help kids get /into/ trouble, not keep them out of it. 2012-12-14T06:15:28 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-14T06:18:00 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-14T06:18:09 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-14T06:18:12 < DLPeterson> dongs, i figured out my problem, I had EXTI and NVIC all configured fine, it was some other stupid thing where I needed to make a shared static variable volatile 2012-12-14T06:18:50 < DLPeterson> I basically setup my ISR, and then want to wait until it has been triggered N times, then disable the ISR. 2012-12-14T06:19:49 < DLPeterson> the counter was a static global in the same source file and if it wasn't declared volatile, then for some reason incrementing it in the ISR didn't work. 2012-12-14T06:20:10 < DLPeterson> once I made it volatile it works like a charm and my isr disables after being triggered N times. 2012-12-14T06:22:42 < emeb_mac> volatile - source of subtle bugs 2012-12-14T06:23:45 < DLPeterson> yeah, seriously 2012-12-14T06:25:34 < _dongs> sounds like lack of debugging 2012-12-14T06:25:47 < _dongs> with a proper debugger y ou coulda just set n hits breakpoint and you'd have been done hours ago 2012-12-14T06:26:12 < _dongs> printf and forget, the arduino way. 2012-12-14T06:26:52 < emeb_mac> debuggers are for sissies 2012-12-14T06:27:08 < emeb_mac> real men use stone knives and bearskins 2012-12-14T06:42:12 < DLPeterson> _dongs, I'm not sure what the hell you are talking about. 2012-12-14T06:42:34 < _dongs> DLPeterson: your problem seemed to have been due to the way you were trying to breakpoint on stuff, by dicking with a var inside ISR 2012-12-14T06:42:45 < _dongs> (you shoulda known it needs to be volatile to be updated inside irq, anyway) 2012-12-14T06:43:01 < _dongs> so you mean you never actualyl set a breakpoint inside the isr, to confirm that it was getting hit or not? 2012-12-14T06:43:12 < _dongs> its like a 5 second operation in any debugger worth a shit. 2012-12-14T06:43:15 < DLPeterson> _dongs, you mean, I should have been born with that knowledge? Or endowed with it somehow? 2012-12-14T06:43:39 < _dongs> well, if its the first time you encounter this, youre excused. 2012-12-14T06:43:47 < DLPeterson> I did set a breakpoint in the isr. and it wasn't getting triggered. 2012-12-14T06:43:49 < _dongs> but in general, its common knowledge for embedded stuff 2012-12-14T06:43:51 < _dongs> DLPeterson: why? 2012-12-14T06:43:55 < _dongs> is your debugger broken? 2012-12-14T06:44:03 < _dongs> the way you explained it, it should have been triggered. 2012-12-14T06:44:09 < _dongs> or did you set it after your non-volatile var checks? 2012-12-14T06:44:13 < DLPeterson> common knowledge, ah.. thanks that is super helpful. 2012-12-14T06:44:48 < DLPeterson> I'll just go back to my inferior tools and won't bother you anymore. Sorry for the trouble. 2012-12-14T06:50:54 < DLPeterson> I'm glad you've excused me. I feel better. 2012-12-14T07:23:36 < emeb_mac> ##stm32 - making people feel better since 2011-10-21 2012-12-14T07:30:48 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-14T07:39:50 < DLPeterson> :) 2012-12-14T07:46:32 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 255 seconds] 2012-12-14T07:46:43 * DLPeterson is drinking Teufelweizen and feels much better 2012-12-14T07:49:56 * emeb_mac is a big fan of *weizen 2012-12-14T07:59:00 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-14T08:02:09 -!- jef79m_lurking is now known as jef79m 2012-12-14T08:03:21 -!- claude is now known as Claude 2012-12-14T08:09:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-14T08:27:29 < jpa-> Tectu: just copy the memory component vhdl from the altera dirs to somewhere and it should work 2012-12-14T08:28:02 < jpa-> i have used the memory component that way, haven't tried anything else 2012-12-14T08:30:19 -!- jef79m is now known as jef79m_lurking 2012-12-14T08:48:09 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2012-12-14T09:07:41 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-14T09:09:50 -!- jef79m_lurking is now known as jef79m 2012-12-14T09:10:25 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-14T09:12:11 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2012-12-14T09:17:27 -!- Claude is now known as claude 2012-12-14T09:20:34 -!- jef79m is now known as jef79m_lurking 2012-12-14T09:20:43 -!- betovar [~Adium@adsl-98-64-169-248.mia.bellsouth.net] has left ##stm32 [] 2012-12-14T09:22:39 -!- jef79m_lurking is now known as jef79m 2012-12-14T09:33:03 < emeb_mac> so quiet 2012-12-14T09:33:34 * ds2 sounds airhorns and fog horns 2012-12-14T09:33:50 < emeb_mac> much better 2012-12-14T09:34:53 < ds2> hmmm the EFM32's are a mix bag... apparently lower power then the stm32 but lacking in other areas 2012-12-14T09:35:31 < emeb_mac> that lines up with what I remember 2012-12-14T09:36:13 < ds2> their equiv to the FSMC seems pretty primative 2012-12-14T09:36:18 < ds2> and no SDIO controller either 2012-12-14T09:37:07 < ds2> emeb_mac: have you looked at how low is it practical to reduce the power down on the stm32? 2012-12-14T09:37:29 < zyp> you mean voltage? 2012-12-14T09:37:45 < zyp> L1 is your best bet, it is supposed to run at down to 1.65V 2012-12-14T09:38:22 < ds2> no, power 2012-12-14T09:38:37 < emeb_mac> time for bed zzzzz 2012-12-14T09:38:38 < zyp> well, L1 is your best bet for low power too 2012-12-14T09:38:41 < ds2> for a given voltage, how practical is it to bring down the power consumption to sub mA range 2012-12-14T09:38:47 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-14T09:38:51 < ds2> unfortunately, L1 isn't an option 2012-12-14T09:39:19 < ds2> trying to get a feel of the F1's real power management (vs the datasheet idealized numbers) 2012-12-14T09:39:29 < ds2> need FSMC, and lots of flash 2012-12-14T09:39:30 < zyp> what is the application and which power consumption is important? 2012-12-14T09:39:44 < zyp> max power consumed in bursts or average power consumed? 2012-12-14T09:39:52 < ds2> mobile battery power device 2012-12-14T09:39:58 < ds2> average...bursts are fine 2012-12-14T09:40:14 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Read error: Operation timed out] 2012-12-14T09:40:24 < ds2> so I guess... idle power reduction since I cannot do anything about the peak bursts anyways 2012-12-14T09:40:36 < zyp> then you want good sleep modes and efficient execution so it can go back to sleep as soon as possible 2012-12-14T09:41:01 < zyp> I wouldn't be surprised if F4 would be a good fit 2012-12-14T09:41:20 < zyp> or are you still going on about package size? 2012-12-14T09:41:43 < ds2> yes, package size is still a thing 2012-12-14T09:42:15 < ds2> what does the F4 bring to the game if I don't care about FPU? 2012-12-14T09:49:29 -!- jef79m is now known as jef79m_lurking 2012-12-14T09:51:41 -!- jef79m_lurking is now known as jef79m 2012-12-14T09:54:39 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-14T09:54:50 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-14T09:59:45 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-14T10:00:38 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has joined ##stm32 2012-12-14T10:02:29 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has quit [Client Quit] 2012-12-14T10:02:53 -!- jef79m is now known as jef79m_lurking 2012-12-14T10:04:03 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-14T10:08:03 < jpa-> ds2: some F1 peripherals (atleast GPIO) are a bit lame 2012-12-14T10:08:38 < ds2> jpa-: lame in what way? 2012-12-14T10:08:47 < jpa-> no alternate function id selection 2012-12-14T10:09:06 < jpa-> so if you enable two peripherals and they use the same pins, you can't select which peripheral gets the pin 2012-12-14T10:09:30 < jpa-> so something useless like SPI NSS can block something important 2012-12-14T10:09:30 -!- jef79m_lurking is now known as jef79m 2012-12-14T10:10:02 < ds2> Oh like that 2012-12-14T10:10:05 < jpa-> also DMA is more advanced on F4, though the F1 one is perfectly ok 2012-12-14T10:10:34 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-14T10:10:38 < jpa-> (on the other hand, usb support for the F4 is less common, because it is a more complex usb core) 2012-12-14T10:11:31 < ds2> hmmmm 2012-12-14T10:11:42 < ds2> F3 is almost the same as the F4, right? 2012-12-14T10:26:50 -!- jef79m is now known as jef79m_lurking 2012-12-14T10:27:17 -!- jef79m_lurking is now known as jef79m 2012-12-14T10:32:06 < Thorn> f3 usb core is the same as in f102/f103 for example 2012-12-14T10:34:01 * cdh is using both cores of F4 in FS mode as peripheral 2012-12-14T10:35:19 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-14T10:35:20 < _dongs> got my uCurrent thingy. 2012-12-14T10:35:25 < _dongs> now i can measure some nanoamps 2012-12-14T10:49:44 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2012-12-14T10:50:40 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-14T10:52:28 -!- jef79m is now known as jef79m_lurking 2012-12-14T11:07:42 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2012-12-14T11:07:43 -!- gurgalof_ [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-14T11:07:58 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-14T11:13:18 -!- dekar [~dekar@dslb-088-068-018-060.pools.arcor-ip.net] has joined ##stm32 2012-12-14T11:13:21 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-14T11:38:53 < karlp> ds2: don't the high density L1 (the new parts) have the fsmc? 2012-12-14T11:39:09 < karlp> also, they're up to 384k flash or something, isn't that "lots" ? 2012-12-14T11:48:59 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-14T11:50:05 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-14T11:50:35 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-14T11:51:38 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 2012-12-14T11:53:03 -!- jef79m_lurking is now known as jef79m 2012-12-14T11:55:12 -!- Laurenceb_ [~Laurence@host86-136-117-227.range86-136.btcentralplus.com] has joined ##stm32 2012-12-14T12:10:34 < jpa-> too bad that the DWT sleep cycle count register is only 8 bits 2012-12-14T12:11:00 < jpa-> i wonder if there is any easy way to measure processor usage so that it includes also time spent in interrupts 2012-12-14T12:15:38 < jpa-> busy loop in idle task might work, but i'd really want to put it into sleep 2012-12-14T12:15:59 -!- Laurenceb_ [~Laurence@host86-136-117-227.range86-136.btcentralplus.com] has quit [Ping timeout: 244 seconds] 2012-12-14T12:17:53 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-14T12:18:13 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-14T12:19:34 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-12-14T12:20:14 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 260 seconds] 2012-12-14T12:24:57 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has joined ##stm32 2012-12-14T12:33:17 < _dongs> http://www.apple.com/support/systemstatus/ now you can safely check your gaylevel 2012-12-14T12:35:24 < _dongs> attn baird http://www.google.com/patents/US5443036 2012-12-14T12:39:37 < Thorn> FLASHLIGHT AMUSEMENT DEVICE 2012-12-14T12:40:01 < Thorn> is that the one sold under the name Fleshlight? 2012-12-14T12:43:23 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 255 seconds] 2012-12-14T12:44:12 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-14T12:54:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-14T13:11:06 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-14T13:11:08 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2012-12-14T13:11:23 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has joined ##stm32 2012-12-14T13:13:18 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 250 seconds] 2012-12-14T13:23:28 -!- jef79m is now known as jef79m_lurking 2012-12-14T13:40:06 -!- Oldboy_ is now known as Oldboy 2012-12-14T13:48:56 < Oldboy> How does one amuse a flashight ? 2012-12-14T13:58:42 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-14T14:05:04 < _dongs> bedtime. 2012-12-14T14:05:10 -!- _dongs is now known as dongs 2012-12-14T14:05:20 < zyp> that's early 2012-12-14T14:12:55 < Laurenceb> wonder if there is a fleshlight patent 2012-12-14T14:13:40 < Laurenceb> http://www.google.com/patents?vid=5782818 2012-12-14T14:13:47 < Laurenceb> that'll be a yes 2012-12-14T15:04:56 -!- gurgalof [~gurgalof@dhcp-233-245.nomad.chalmers.se] has joined ##stm32 2012-12-14T15:07:54 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-14T15:07:55 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-14T15:07:55 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-14T15:11:38 < Laurenceb> thats very interesting actually 2012-12-14T15:11:59 < Laurenceb> interesting biocompatible elastomers 2012-12-14T15:12:14 < Laurenceb> i might buy some fleshlights "for science" 2012-12-14T15:12:45 < Thorn> http://www.bbc.co.uk/news/science-environment-20629671 2012-12-14T15:12:58 < Laurenceb> bullshit 2012-12-14T15:13:04 < Laurenceb> i tried it yesterday 2012-12-14T15:13:12 < Laurenceb> works nicely with pc connected mics 2012-12-14T15:13:28 < Laurenceb> not on a galaxy s3 i tried 2012-12-14T15:13:33 < Laurenceb> theres no hum 2012-12-14T15:14:06 < Thorn> http://www.ece.umd.edu/~ravig/Research.html 2012-12-14T15:15:16 < Laurenceb> oh 2012-12-14T15:15:22 < Laurenceb> "that gets embedded in videos recorded in indoor lighting" 2012-12-14T15:15:24 < Laurenceb> bbc fail 2012-12-14T15:15:37 < Laurenceb> they made it sound like audio 2012-12-14T15:15:50 < Laurenceb> yeah might work with video 2012-12-14T15:16:12 < Laurenceb> i grabbed some network frequency data and a 120second interval is quite pseudorandom 2012-12-14T15:20:20 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-14T15:34:22 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-14T15:38:24 < qyx_> http://i.imgur.com/yK8XW.jpg 2012-12-14T15:38:38 < qyx_> final ethtemp with chibios 2012-12-14T15:39:59 < zyp> neat 2012-12-14T15:40:02 < zyp> what's that for? 2012-12-14T15:40:29 < qyx_> server room temp monitoring for zabbix 2012-12-14T15:41:06 < zyp> stm32 decoupling seems to be a bit poor 2012-12-14T15:41:17 < qyx_> it is on the bottom side 2012-12-14T15:41:22 < zyp> ah 2012-12-14T15:41:32 < qyx_> around ~20 capacitors for all chips 2012-12-14T15:41:40 < zyp> that sounds reasonable 2012-12-14T15:41:47 < qyx_> directly under stm32 2012-12-14T15:41:53 < qyx_> and micrel phy and other 2012-12-14T15:42:00 < zyp> what's the stuff on the left side? 2012-12-14T15:42:10 < zyp> the two huge shrouds 2012-12-14T15:42:19 < qyx_> ah, 4P4C modular connectors 2012-12-14T15:42:22 < qyx_> rj-9 2012-12-14T15:42:36 < qyx_> one for rs232 and the othre for i2c mcp9808 sensor 2012-12-14T15:42:41 < zyp> ah 2012-12-14T15:42:58 < Thorn> what dc/dc chip have you used? 2012-12-14T15:43:19 < qyx_> only one will be populated actually, it can be used also as a eth->rs232 2012-12-14T15:43:36 < zyp> ground plane seem to be well stitched as well 2012-12-14T15:43:52 < qyx_> Thorn: st L5973D 2012-12-14T15:44:34 < Thorn> that rings a bell. in fact that's what I'm using 2012-12-14T15:46:53 < Thorn> why a 22uH inductor? I'm using 15uH 2012-12-14T15:47:18 < Thorn> although it's probably going to be in DCM anyway 2012-12-14T15:49:03 -!- ntfreak_ is now known as ntfreak 2012-12-14T15:49:13 < Laurenceb> can it run from power over ethernet? 2012-12-14T15:49:37 < qyx_> i already had some, its not so big difference 2012-12-14T15:49:57 < qyx_> Laurenceb: i only tested it with simple passive poe injector 2012-12-14T15:50:57 < Laurenceb> i see 2012-12-14T15:53:35 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-14T15:56:04 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-14T16:16:29 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has joined ##stm32 2012-12-14T16:16:33 < LongChair> hello 2012-12-14T16:16:57 < LongChair> I 'm experiencing something strange with some usart irq 2012-12-14T16:17:26 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2012-12-14T16:17:30 < LongChair> My usart i linked to a RC Receiver which is constantly sending data 2012-12-14T16:18:01 < LongChair> I have configured the usart and the IRQs, 2012-12-14T16:18:08 < LongChair> I get inside the IRQ 2012-12-14T16:18:31 < LongChair> but when i check the IRQ flags .. getITStatus on RXNE will not return that there is data 2012-12-14T16:18:47 < LongChair> actually I have tested all the available flags, but none of the stdlib are set 2012-12-14T16:21:49 < Thorn> you can't have a usart interrupt without any of the flags set 2012-12-14T16:23:33 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-14T16:25:03 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-14T16:29:41 < LongChair> that's what i thought 2012-12-14T16:51:56 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-14T16:53:02 < LongChair> there is somethign starnge though .. i start to get some interrupts with RXNE 2012-12-14T16:53:25 < LongChair> then after a couple ms ... i still get inside the interrupt but can't find why 2012-12-14T16:53:48 < LongChair> i Test with GetItStatus : USART_IT_RXNE 2012-12-14T16:53:55 < LongChair> USART_IT_PE 2012-12-14T16:54:49 < LongChair> USART_IT_TC, USART_IT_IDLE, USART_IT_LBD, USART_IT_CTS, USART_IT_ERR, USART_IT_ORE, USART_IT_FE , USART_IT_NE, USART_IT_TXE and none seems to be set 2012-12-14T16:54:58 < LongChair> I have configured only RXNE btw 2012-12-14T16:57:07 < Thorn> are you clearing the flag in the interrupt? iirc just reading they byte is enough 2012-12-14T16:57:23 < Thorn> *the byte 2012-12-14T16:57:52 -!- daku is now known as DaKu 2012-12-14T16:57:54 < LongChair> i don't clear any flag, but I ready the byte yeah 2012-12-14T16:57:59 < LongChair> read 2012-12-14T16:59:02 < zyp> reading the byte will clear the flag 2012-12-14T17:00:08 < LongChair> then i don't get what's going on 2012-12-14T17:00:41 < zyp> you're doing something wrong 2012-12-14T17:01:44 < LongChair> probably 2012-12-14T17:10:51 < LongChair> when i use USART_ITConfig(RXUSART, USART_IT_RXNE, ENABLE); and only this flag may i get inside the interrupt by anything else than RXNE ? 2012-12-14T17:11:32 < Thorn> no (but other flags can be set when you're there) 2012-12-14T17:13:39 < LongChair> hmmmz 2012-12-14T17:13:49 < LongChair> this minimal code will make the same issue : http://pastebin.com/b2nYkAh7 2012-12-14T17:14:09 < LongChair> if i breakpoint inside the USART_ReceiveData(RXUSART); 2012-12-14T17:14:35 < LongChair> i'll get there a couple times .. and then ITQ will be called, but i stop on none of the flags .. that is insane 2012-12-14T17:14:43 < LongChair> IRQ 2012-12-14T17:35:33 < zyp> hmm, I wonder what happened with today's UPS delivery 2012-12-14T17:35:48 < zyp> tracking still says «On Vehicle for Delivery Today» 2012-12-14T17:39:08 < zyp> oh well, it's not like I need the parts when I don't have the boards they are going on yet 2012-12-14T17:40:27 < LongChair> erm ... my code seems to be working under keil ... how come this be a problem with gcc ? would there be any known issue ? 2012-12-14T17:40:47 < zyp> pastebin your code please 2012-12-14T17:41:14 < LongChair> hard to paste bin all of it 2012-12-14T17:41:20 < Laurenceb> #ifdef GCC 2012-12-14T17:41:25 < Laurenceb> while(1); 2012-12-14T17:41:26 < LongChair> i'll try to paste some functions 2012-12-14T17:41:27 < Laurenceb> #endif 2012-12-14T17:41:29 < zyp> pastebin the interesting part of it 2012-12-14T17:41:32 < zyp> i.e. the ISR 2012-12-14T17:41:37 < zyp> and the config part 2012-12-14T17:41:46 < zyp> and the data structures used by the ISR 2012-12-14T17:41:57 < LongChair> ok i'll first post the init code 2012-12-14T17:43:17 < LongChair> here is the init code functions : http://pastebin.com/Khfpwneq 2012-12-14T17:43:31 < LongChair> entry point is RXBUS_Initialize 2012-12-14T17:44:28 < Thorn> no AFIO? 2012-12-14T17:44:29 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-14T17:44:32 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-14T17:44:51 < LongChair> well USART1 is used on regular pins .. there is no need for AFIO or ? 2012-12-14T17:45:53 < LongChair> here is the very simplfied ISR handler http://pastebin.com/KGTQxUU6 2012-12-14T17:46:09 < Thorn> there is, you need to clock AFIO, and pin modes should reflect the fact that the pins are used by a peripheral 2012-12-14T17:46:34 < zyp> no 2012-12-14T17:46:52 < zyp> setting RX pin as input on F1 is perfectly valid 2012-12-14T17:47:05 < zyp> AF mode on F1 is only used for outputs 2012-12-14T17:47:28 < zyp> but yes, AFIO should still be clocked, I think 2012-12-14T17:47:59 < Thorn> well GPIO_Mode_Out_PP for the tx pin is certainly incorrect 2012-12-14T17:48:23 < zyp> it's not the tx pin. 2012-12-14T17:48:24 < Thorn> I'm looking over my old F1 code and I'm using GPIO_Mode_IN_FLOATING for the rx pin 2012-12-14T17:48:33 < LongChair> the behaviour i get is that i will get onto the USART_receiveData a couple times .. and then the RXNEflags will no be set anymore .. i keep getting the IRQ calls but no flag is set 2012-12-14T17:48:43 < LongChair> it's not TX pin 2012-12-14T17:48:51 < LongChair> this pin is used to drive a XOR Gate 2012-12-14T17:49:03 < LongChair> to invert the RX signal for some type of RX 2012-12-14T17:49:15 < zyp> :) 2012-12-14T17:49:20 < zyp> I figured it was for that 2012-12-14T17:49:29 < LongChair> zyp : you know futaba huh ? :p 2012-12-14T17:49:38 < Thorn> ok I see, should've read next 3 lines 2012-12-14T17:49:44 < zyp> no 2012-12-14T17:50:12 < zyp> LongChair, so, how do you know no flag is set? 2012-12-14T17:51:02 < LongChair> because when i breakpoint into ISR on the first line, ISR is called .. then i step inside IS and none of the GetITStatus will be true 2012-12-14T17:51:54 < LongChair> i should get only inside the RXNE status check .. it doesn't step inside ... but i will not get inside any of the other status check either 2012-12-14T17:52:38 < LongChair> doesn't make sens as IRQ should come from RXNE because that's yhe ony IRQ which is supposed to be flagged 2012-12-14T17:52:54 < LongChair> damn sorry for the typing .. i need a new keyboard :p 2012-12-14T17:53:17 < zyp> are you sure your breakpoint gets set to the correct point in the code? 2012-12-14T17:53:48 < LongChair> uh well i dunno ... i can see it on the right line in eclipse 2012-12-14T17:54:36 < LongChair> and when i set it on usart_receive before starting the debug it will stop .. then i press F5 for resume .. most of the time it will never get back into the If with RXNE check 2012-12-14T17:54:54 < LongChair> will keep on getting inside the ISR though 2012-12-14T17:55:43 < LongChair> I ported my project from keil to gcc a wekk ago because i was hitting the 32k limit ... 2012-12-14T17:55:52 < LongChair> but seems this code works fine in keil still 2012-12-14T17:55:57 < LongChair> that is wierd 2012-12-14T17:56:43 < zyp> hmm 2012-12-14T17:56:59 < zyp> I can't imagine any reason why the compiler should make a difference in that regard 2012-12-14T17:58:10 < LongChair> i have commented out almost all the code in the project .. so bascially all gets called is this RX_Initialize function 2012-12-14T17:58:12 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-14T17:58:21 < LongChair> and then main is running while(1); 2012-12-14T17:58:37 < LongChair> all it should have to do is hanfdling the ISR from USART 2012-12-14T17:58:57 < emeb> zyp: which reflow oven did you get? 2012-12-14T17:59:04 < zyp> T962 2012-12-14T17:59:48 < emeb> thx - got a buddy who's in the market 2012-12-14T17:59:58 < emeb> "asking for a friend" :) 2012-12-14T18:08:49 < LongChair> zyp : what version of gcc are you using ? 2012-12-14T18:11:27 < zyp> usually 4.7.1 2012-12-14T18:12:03 < LongChair> i think i have 4.6.1 2012-12-14T18:12:14 < zyp> should be equally fine 2012-12-14T18:12:19 < LongChair> maybe i have something wrong in my setup 2012-12-14T18:12:35 < LongChair> i have used an installer with binaries for win32 2012-12-14T18:12:48 < LongChair> and runnign eclipse on top of it 2012-12-14T18:13:09 < LongChair> I was looking for a dev environment allowing me to go over 32k 2012-12-14T18:13:23 < LongChair> there was either gcc + eclipse or cocoox i think 2012-12-14T18:13:40 < Thorn> bad linker script? 2012-12-14T18:13:44 < LongChair> maybe 2012-12-14T18:13:50 < zyp> unlikely 2012-12-14T18:14:32 < LongChair> do you think it would be worth trying coocox ? 2012-12-14T18:14:39 < zyp> let's review what we know; 2012-12-14T18:14:53 < zyp> program compiles and runs without faulting 2012-12-14T18:15:05 < zyp> uart interrupt is sometimes triggered correctly 2012-12-14T18:15:14 < zyp> uart interrupt is sometimes triggered when it should not 2012-12-14T18:15:19 < zyp> right? 2012-12-14T18:15:26 < LongChair> almost 2012-12-14T18:15:44 < zyp> please correct me 2012-12-14T18:15:48 < LongChair> i wouldn't say it's sometimes trigered when it should not, rx is sending data contuously 2012-12-14T18:15:56 < LongChair> so interrupts should come 2012-12-14T18:16:01 < zyp> right, but rxne flag is not set 2012-12-14T18:16:06 < LongChair> right 2012-12-14T18:16:45 < zyp> I'm also pretty sure that we can rule out any hardware error here, since it works with keil 2012-12-14T18:17:25 < LongChair> yes 2012-12-14T18:17:40 < LongChair> which makes me think something is banzored in my toolchain 2012-12-14T18:18:02 < zyp> so this means that uart either is misconfigured, your ISR (or functions called by it) are doing something wrong, or you are misinterpreting your debugging 2012-12-14T18:18:31 < zyp> and the toolchain should not influence this part 2012-12-14T18:18:36 < LongChair> okay let's take each oen of these theories 2012-12-14T18:18:38 < zyp> so I find that unlikely 2012-12-14T18:18:53 < LongChair> if it is misconfigured , why is it working under keil ? 2012-12-14T18:19:14 < Thorn> is the interrupt even called? are you sure the cpu doesn't hardfault instead? 2012-12-14T18:19:16 < LongChair> the code for the ISR is minimal has i have pasted .. right now there is no code except status check 2012-12-14T18:20:02 < LongChair> well when i put a breakpoint at the first line oif the ISR on the GetITStatusLine it stops 2012-12-14T18:20:13 < LongChair> so i'd says that the interrupt is called 2012-12-14T18:20:26 < zyp> LongChair, what I suggest doing is checking the register values directly 2012-12-14T18:20:33 < zyp> do you have a gdb command line available? 2012-12-14T18:21:32 < LongChair> not use to it .... but i guess yes if it can be ran from win32 command line 2012-12-14T18:21:48 < zyp> doesn't eclipse provide you with one? 2012-12-14T18:22:07 < LongChair> could be ... never used it .. lemme see 2012-12-14T18:22:24 -!- dekar [~dekar@dslb-088-068-018-060.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-12-14T18:22:31 < zyp> are you using openocd? 2012-12-14T18:22:43 < LongChair> yes 2012-12-14T18:22:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 260 seconds] 2012-12-14T18:22:54 < zyp> ok 2012-12-14T18:23:12 < LongChair> i have a console for gdb 2012-12-14T18:23:16 < zyp> good 2012-12-14T18:23:41 < LongChair> to gibe you one more detail 2012-12-14T18:24:21 < LongChair> if i start the program runnign on the board it will run .. then after a bunch of secodns i put a breakpoint on the usart_receive function .. it will stop 2012-12-14T18:24:37 < LongChair> if i dont remove the vreakpoint and just hit F5 (resume) 2012-12-14T18:24:47 < LongChair> it should run up to next ISR 2012-12-14T18:24:54 < zyp> yes 2012-12-14T18:24:57 < LongChair> usually it runs once 2012-12-14T18:25:10 < zyp> but ok, let's try this gdb console 2012-12-14T18:25:15 < LongChair> but usually after i hit once or twice F5, it will not get back into it 2012-12-14T18:25:20 < LongChair> ok lets try 2012-12-14T18:25:33 < LongChair> you'll need to help me :) 2012-12-14T18:25:36 < zyp> let's clean up first, do «delete breakpoints» 2012-12-14T18:25:43 < LongChair> ok 2012-12-14T18:25:47 < zyp> then «break USART1_IRQHandler» 2012-12-14T18:25:56 < zyp> then «run» 2012-12-14T18:26:49 < LongChair> I start from a stopped state ? 2012-12-14T18:27:03 < zyp> shouldn't matter 2012-12-14T18:27:10 < zyp> run should restart the program from the beginning 2012-12-14T18:27:28 < zyp> if the run command aren't available, just restart as usual 2012-12-14T18:27:53 < zyp> you should then hit the breakpoint set by the break command, which would then be exactly at the start of the ISR 2012-12-14T18:28:25 < LongChair> I type this in the console window while the program is running ? 2012-12-14T18:28:34 < zyp> sure 2012-12-14T18:28:36 < zyp> just try it 2012-12-14T18:29:08 < zyp> I have no idea if eclipse debugger console work exactly like plain gdb, so we'll just have to try :p 2012-12-14T18:29:16 < LongChair> hehe 2012-12-14T18:29:22 < LongChair> well it doesn't seem to do anything 2012-12-14T18:29:29 < LongChair> i'm probably not in the proper window 2012-12-14T18:29:52 < zyp> maybe you need to stop the program first 2012-12-14T18:33:09 < LongChair> jeez ... i'll need to dig into the doc i guess 2012-12-14T18:33:24 < LongChair> i can type it into the console but doesnt seem to do anything 2012-12-14T18:34:29 < zyp> ok, I have no idea about how eclipse work, so I can't help you with that 2012-12-14T18:34:41 < zyp> I prefer plain commandline gdb 2012-12-14T18:36:54 < LongChair> ok i'll try to figure out how this works and come back to you :) 2012-12-14T18:45:24 < emeb> still no answer re F373 bootloader on STM32 forum. *shocked* 2012-12-14T18:54:12 < Thorn> is it an extremely bad idea to run signal traces under an smps inductor (non-toroidal)? 2012-12-14T18:54:35 < emeb> depends on what the signals are 2012-12-14T18:55:16 < emeb> I once tested radiated mag fields around an on-board sm regulator... 2012-12-14T18:55:30 < Thorn> ~0.01 Hz but important ones (switch big expensive equipment) 2012-12-14T18:55:39 < emeb> clipped the GND lead of a scope probe to the tip and waved it around the board. 2012-12-14T18:56:02 < emeb> could definitely see lots of pulses at the switch rate even 4-5" away 2012-12-14T18:56:26 < Thorn> what was the frequency? 2012-12-14T18:56:46 < emeb> This was a 250kHz + switching rate 2012-12-14T18:56:56 < Thorn> same here 2012-12-14T18:57:17 < emeb> what type of signals do you have? Slow, but analog / logic / ??? 2012-12-14T18:57:40 < Thorn> logic 2012-12-14T18:57:55 < emeb> what levels? 1.8V / 3.3V / 5V? 2012-12-14T18:58:33 < Thorn> 3.3V to transistor base -> SSR -> contactor -> BFE 2012-12-14T18:59:46 < emeb> OK - so current mode. Probably not too sensitive to induced noise. 2012-12-14T19:00:06 < emeb> I'd imagine it's not going to be a big deal. 2012-12-14T19:01:47 < emeb> to be extra safe you might put some sort of load / divider at the transistor base to add extra immunity to induced noise. 2012-12-14T19:02:01 < emeb> but that's probably overkill. 2012-12-14T19:02:17 < Thorn> these are RETs so they have builtin pulldowns (10K iirc) 2012-12-14T19:04:05 < emeb> what's the load on the collector / emitter side? 2012-12-14T19:04:49 < Thorn> low side switching of 5V to SSR. (emitters to gnd) 2012-12-14T19:05:16 < emeb> any idea what current is required to turn on the SSR? 2012-12-14T19:06:50 < Thorn> relevant circuit http://i.imgur.com/OH3EZ.png 2012-12-14T19:06:53 < zyp> a few milliamps I would imagine, you are probably pretty much driving the led of an optocoupler 2012-12-14T19:07:09 < emeb> yeah - opto is what I was assuming. 2012-12-14T19:07:35 < Thorn> datasheet says: Vin=4...32V, drop-out voltage 1VDC 2012-12-14T19:07:54 < Thorn> ah there it is. 5...12mA 2012-12-14T19:08:21 < Thorn> even Chinese datasheets can be useful 2012-12-14T19:09:16 < emeb> so w/ normal hfe of transistor ~150, you'd need about 50uA current at the base to turn on the SSR if there were no load. 2012-12-14T19:10:19 < emeb> but with 10k resistor you need ~70uA to get beyond the base turn-on. 2012-12-14T19:10:39 < emeb> hmmm.... 2012-12-14T19:11:31 < Thorn> I could also turn pulldowns in the microcontroller for the sake of paranoia 2012-12-14T19:11:38 < Thorn> *turn on 2012-12-14T19:11:52 < emeb> yeah - the lower the overall impedance the better off you are. 2012-12-14T19:12:10 < emeb> bleeds off any current noise. 2012-12-14T19:13:21 < emeb> on-chip pulldowns are pretty weak tho - usually 10k - 100k IIRC 2012-12-14T19:13:32 -!- barthess [~barthess@5.100.202.243] has joined ##stm32 2012-12-14T19:13:39 < Laurenceb> yes 2012-12-14T19:13:42 < Laurenceb> around 50k 2012-12-14T19:13:53 < emeb> is this board built already, or still in layout? 2012-12-14T19:14:39 < zyp> I was debugging a fun issue at work today 2012-12-14T19:14:39 < Thorn> laying it out atm 2012-12-14T19:14:51 < zyp> some signal weren't getting pulled down properly 2012-12-14T19:15:07 < emeb> how many layers on the board? 2012-12-14T19:15:37 < Thorn> 2, bottom should be a pretty good ground plane though 2012-12-14T19:16:07 < emeb> ah - so these signals are on the top layer, between the component and the ground plane? 2012-12-14T19:16:11 < zyp> it was low at first, then in use for a while, but when it went from high to hi-z, it only dropped to 1.6V (1.8V logic) 2012-12-14T19:16:36 < Thorn> yes 2012-12-14T19:16:39 < emeb> zyp: what was it driving? 2012-12-14T19:16:50 < emeb> Thorn: doesn't sound great. 2012-12-14T19:17:09 < zyp> emeb, GPIO input on a SoC on a devboard 2012-12-14T19:17:28 < emeb> zyp: so pretty hi impedance load. 2012-12-14T19:17:39 < zyp> yes, but pulldown enabled in the SoC 2012-12-14T19:17:53 < emeb> odd. did you figure it out? 2012-12-14T19:17:59 < zyp> yes 2012-12-14T19:18:36 < zyp> was a led hanging on this signal, driven through a buffer 2012-12-14T19:19:03 < zyp> which I didn't consider first, because the buffer input shouldn't affect the signal, right? 2012-12-14T19:19:17 < zyp> wrong, it had bus hold circuitry on the inputs :p 2012-12-14T19:20:24 < zyp> which apparently was significantly stronger than the pulldown 2012-12-14T19:20:49 < emeb> that's not typical. can't blame you for not spotting that right away. 2012-12-14T19:21:22 < Thorn> well. I can simply swap the dc/dc and this block around, will result in shorter traces and less interference nearby 2012-12-14T19:21:22 < emeb> so drive the signal low before going hi-z? 2012-12-14T19:21:37 < zyp> nah, we just disconnected the buffer 2012-12-14T19:22:01 < zyp> we're not interested in the leds, we just needed the signal towards the SoC 2012-12-14T19:32:18 < Thorn> yes that seems like a good change, thanks 2012-12-14T19:36:32 < emeb> Thorn: good idea. 2012-12-14T19:37:00 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has quit [Remote host closed the connection] 2012-12-14T19:40:21 < Thorn> what's a good poison to put into beer? I'd like to meet diptrace developers to express my appreciation sometime 2012-12-14T19:41:45 < emeb> what'd DT do to you? 2012-12-14T19:44:13 < Thorn> when you move components with routed traces to something else, it results in a pasta factory explosion 2012-12-14T19:45:21 < emeb> ugh. routing goes to hell. 2012-12-14T19:45:38 < emeb> pretty much inexcusable in a layout tool. 2012-12-14T19:46:52 < Thorn> resulting traces could probably win some prize in an abstract art contest. 2012-12-14T19:49:58 < emeb> do you have grid turned on? 2012-12-14T19:50:27 < Thorn> grid doesn't really affect it 2012-12-14T19:52:21 < emeb> sometimes turning grid off before moving objects helps if it tries to snap. 2012-12-14T19:52:44 < emeb> (in general, not specifically for diptrace) 2012-12-14T19:53:59 < Thorn> the problem is, some points of the traces run away in all 4 directions when you move things, so it creates very long self-intersecting traces with lots of new segments 2012-12-14T19:54:35 < emeb> freaky! 2012-12-14T19:55:13 < Thorn> I'll do a screenshot if I manage to get a sufficiently weird looking effect 2012-12-14T19:56:46 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-14T20:01:55 < Thorn> something like this (before/after) http://i.imgur.com/4BTLb.png 2012-12-14T20:05:59 < emeb> huh - so it looks like just the traces that crossed the boundary of the moved block got mangled? 2012-12-14T20:06:28 < Thorn> yes pretty much 2012-12-14T20:07:24 < emeb> that's not so bad - those traces would have to be edited after moving anyway. 2012-12-14T20:09:09 < Thorn> well I've seen it do worse things. not really sure what influences it, but I think horizontal/vertical segments aren't mangled nearly as much as diagonal ones 2012-12-14T20:11:02 < Thorn> it also depends on what segments get selected when you select components to move 2012-12-14T20:17:05 < emeb> hmmm - nearby closeout store selling andorrhoid craplets for $70 2012-12-14T20:22:43 < zyp> allwinner trash 2012-12-14T20:27:00 < Oldboy> allwinner is not good ? 2012-12-14T20:27:02 < emeb> no doubt 2012-12-14T20:29:39 < zyp> good is relative 2012-12-14T20:30:23 < zyp> it's cheap, and compared to the broadcom chip on rpi it stands pretty well 2012-12-14T20:30:43 < zyp> cpu-wise it's certainly more powerful 2012-12-14T20:30:59 < zyp> but I don't have any basys to compare gpus 2012-12-14T20:31:51 < zyp> but compared to modern socs with quad-A9, it's trash 2012-12-14T20:33:35 < emeb> definitely stripped-down. 2012-12-14T20:35:03 < zyp> three years ago it might have been able 2012-12-14T20:35:07 < zyp> to compete 2012-12-14T20:43:21 < zyp> hmm 2012-12-14T20:43:36 < zyp> wonder if I should do CDC EEM or ECM during the weekedn 2012-12-14T20:47:17 < emeb> got an ethernet for your waveshare? 2012-12-14T20:47:22 < zyp> sure 2012-12-14T20:47:46 < zyp> I got reception working last time I was playing with it 2012-12-14T20:47:46 < emeb> cool 2012-12-14T20:48:22 < zyp> http://cgit.jvnv.net/laks_demo/tree/main.cpp <- it receives ethernet frames and passes them on to handle_ethernet() 2012-12-14T20:49:10 < zyp> and as I discovered yesterday, LPC is using the same ethernet core 2012-12-14T20:49:28 < emeb> oh - nice! 2012-12-14T20:49:29 < zyp> so if I put some work into a driver I'll be able to reuse it on lpc4300 2012-12-14T20:50:16 < Thorn> I seem to recall lpc17xx uses a non-synopsys ethernet core 2012-12-14T20:53:27 < zyp> possibly, haven't looked at that 2012-12-14T20:53:39 < zyp> I can take a look 2012-12-14T20:54:52 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2012-12-14T20:55:16 < zyp> it's different from the one in lpc4300 2012-12-14T20:56:25 < zyp> though 2012-12-14T20:56:54 < zyp> lpc4300 user manual doesn't mention anywhere that the ethernet core is licensed from synopsys 2012-12-14T20:57:09 < emeb> shhhh - sekrit! 2012-12-14T20:57:39 < zyp> so it might very well be a different synopsys core 2012-12-14T21:00:48 < emeb> but the register interface looks the same as the STM32F4? 2012-12-14T21:01:56 < zyp> on lpc4300 yes 2012-12-14T21:02:06 < zyp> it's exactly the same 2012-12-14T21:02:51 < zyp> sans the MMC block, it's documented in F4 RM but not LPC4300 RM, so it's probably omitted 2012-12-14T21:03:12 < zyp> I think it's mainly statistic counters in that block, so it's probably optional 2012-12-14T21:05:47 < zyp> http://bin.jvnv.net/f/AQCEN.png 2012-12-14T21:10:58 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-12-14T21:18:43 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-14T21:18:43 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-14T21:18:43 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-14T21:18:46 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-14T21:18:50 <+Steffanx> bo 2012-12-14T21:20:09 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-14T21:20:15 -!- dekar [~dekar@212.255.245.151] has joined ##stm32 2012-12-14T21:20:18 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-14T21:21:25 < emeb> derek 2012-12-14T21:23:55 <+Steffanx> Who's that? 2012-12-14T21:24:12 * emeb shakes cane. 2012-12-14T21:24:59 < Thorn> http://www.technologyreview.com/view/508826/quantum-imaging-technique-heralds-unjammable-aircraft-detection/ 2012-12-14T21:25:10 < emeb> "10" probably came out before Steffanx was born. 2012-12-14T21:26:07 <+Steffanx> unjammable .. unjammable or just unjammable for now Thorn ? 2012-12-14T21:26:13 <+Steffanx> ( didn't read the article :P ) 2012-12-14T21:27:05 <+Steffanx> Depends who what and who "10" is and when it came out, emeb 2012-12-14T21:27:45 < Thorn> btw, there's an image processing course in Jan and a DSP course in Feb on coursera 2012-12-14T21:27:52 <+Steffanx> 1979.. yeah probably older than most of the lurkers in here 2012-12-14T21:28:12 < emeb> Steffanx: http://lmgtfy.com/?q=bo+derek+10 2012-12-14T21:28:32 < emeb> too slow... 2012-12-14T21:30:02 <+Steffanx> yeah 2012-12-14T21:47:05 < Thorn> https://www.coursera.org/course/mosfet 2012-12-14T21:51:29 <+Steffanx> :) 2012-12-14T21:52:44 < emeb> those courses free? 2012-12-14T21:53:18 < Thorn> yes they are 2012-12-14T21:53:39 < Thorn> this one seems too advanced for most people though 2012-12-14T21:53:46 < emeb> taking it? 2012-12-14T21:54:16 < Thorn> date isn't announced yet 2012-12-14T21:55:03 < emeb> fairly good selection of topics in EE 2012-12-14T21:56:02 < emeb> DSP course looks like it covers most of the important stuff. 2012-12-14T21:57:26 < Thorn> I'm currently trying to find time for crypto, algorithms and intro to astronomy courses. homeworks can take a lot of time 2012-12-14T21:57:38 < emeb> no doubt. 2012-12-14T21:58:23 < emeb> Just talked to one of my old bosses - he's got a job at Lowell Observatory (where Pluto was discovered) working on setting up a remotely operated scope. 2012-12-14T21:59:18 < Thorn> nice 2012-12-14T22:03:00 -!- LongChair [~IceChat77@82.231.128.23] has joined ##stm32 2012-12-14T22:04:07 -!- LongChair [~IceChat77@82.231.128.23] has quit [Client Quit] 2012-12-14T22:18:40 -!- LongChair [~IceChat77@82.231.128.23] has joined ##stm32 2012-12-14T22:19:04 < LongChair> is anyone here using coocox ? 2012-12-14T22:21:29 < emeb> LongChair: I've got a project that's being done in CooCox. 2012-12-14T22:23:01 < LongChair> I am new to Coocox and something is strange .. when you drag a folder containing source to the projet tree, it will prompt you what you want to do. Linking fils works ok, but copy will not work 2012-12-14T22:23:33 < emeb> Hmmm - that's UI functionality I don't get too worried about. 2012-12-14T22:23:45 < emeb> I just copy files into the folder w/ Explorer. 2012-12-14T22:24:27 < LongChair> yes but how do you get the folder come into Coocox then ? 2012-12-14T22:24:50 < LongChair> in eclipse copy works and will create the folder .. wierd it's not working here 2012-12-14T22:25:17 < emeb> typically I create a folder in Explorer, copy files into it, the start a new project in CooCox which points to that folder, then add files. 2012-12-14T22:25:57 < LongChair> yeah ... i just wanted this to get a bit sorted :) 2012-12-14T22:26:00 < emeb> CooCox is _based_ on Eclipse, but they've stripped it way down. 2012-12-14T22:26:13 < jpa-> blame dongs 2012-12-14T22:26:20 < emeb> good idea 2012-12-14T22:26:22 < LongChair> i have a bunch of subdirs and would have been nice if it had kept the same structure :p 2012-12-14T22:26:40 < emeb> Oh well - do it their way or find another tool :) 2012-12-14T22:28:27 -!- Laurenceb_ [~Laurence@host86-143-55-227.range86-143.btcentralplus.com] has joined ##stm32 2012-12-14T22:29:19 -!- barthess [~barthess@5.100.202.243] has quit [Quit: Leaving.] 2012-12-14T22:34:08 -!- Bird|ghosted [~Birdz0r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2012-12-14T22:34:08 -!- Bird|ghosted [~Birdz0r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2012-12-14T22:34:08 -!- Bird|ghosted [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2012-12-14T22:35:29 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has quit [Ping timeout: 265 seconds] 2012-12-14T22:39:02 < emeb> I've had a couple people ask about doing USB Audio class I/O apps on my STM32F4 + Codec board lately. 2012-12-14T22:39:19 < emeb> I pointed them at laks_demo's usb_audio branch. 2012-12-14T22:49:28 -!- Netsplit *.net <-> *.split quits: Nutter 2012-12-14T22:52:32 < Thorn> poor kitty https://s3.amazonaws.com/coursera/topics/qcomp/small-icon.hover.png 2012-12-14T22:53:42 < emeb> can't say I've ever considered doing math / geometry on cats. 2012-12-14T23:11:14 < LongChair> erm ... I have integrated USB FS library into my project and for some reason it's giving lots of error on types ... 2012-12-14T23:14:57 < emeb> did you include stdint.h? 2012-12-14T23:15:46 < Thorn> I vaguely remember some problems like that 2012-12-14T23:15:59 < Thorn> found comment in my code: // usb_type.h must be included before LOL 2012-12-14T23:16:35 < Thorn> apparently they redefined true and false 2012-12-14T23:16:42 < Thorn> or something 2012-12-14T23:16:57 < LongChair> wyes that's one problem 2012-12-14T23:17:48 < Thorn> no, they redefined type bool 2012-12-14T23:17:51 < LongChair> also for some reason if there are some include files from USF FS lib in the include path it's screwing up some other defines like assery_param 2012-12-14T23:18:00 < LongChair> asset_param 2012-12-14T23:22:04 < Laurenceb_> heh 2012-12-14T23:22:08 < Laurenceb_> ive had those issues 2012-12-14T23:22:26 < LongChair> how did you get around ? :) 2012-12-14T23:25:01 < Laurenceb_> rewrite usb_type 2012-12-14T23:33:18 -!- jef79m_lurking is now known as jef79m 2012-12-14T23:39:30 < zyp> emeb, nice 2012-12-14T23:39:42 < zyp> maybe I should clean it up a bit 2012-12-14T23:39:50 < zyp> and fix the sync stuff 2012-12-14T23:41:29 < emeb> zyp: it would be interesting to see how best to handle that. 2012-12-14T23:41:52 < emeb> does the the audio demo benefit from the fix to the fifo length/offset you found? 2012-12-14T23:42:02 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-14T23:42:30 < LongChair> are there any windows installers available for arm gcc 4.7 ? 2012-12-14T23:42:31 < zyp> I suspect that's the reason for the bugs my usb guy found when he torture tested it 2012-12-14T23:42:37 < LongChair> i found it up to 4.6 2012-12-14T23:43:50 < zyp> in practice it's quite unlikely that it would have to send data, most of the control commands are outbound 2012-12-14T23:44:03 < zyp> so pretty much all activity are on the rxfifo 2012-12-14T23:44:05 < emeb> I wonder if the sync issue would require some sort of buffer-full sensitive resampler 2012-12-14T23:44:16 < zyp> well 2012-12-14T23:44:28 < zyp> we have two ways to solve it 2012-12-14T23:44:40 < zyp> either sync to host rate, or make host sync to our rate 2012-12-14T23:45:15 < emeb> is it possible to slave the host to the audio rate? 2012-12-14T23:45:42 < zyp> we don't have a finetuneable clock source, so we can't just sync to host rate, so we would have to do some kind of resampling to do that, and we don't really want to do that 2012-12-14T23:46:06 < zyp> so making the host sync to us seems as the best option 2012-12-14T23:46:30 < emeb> yes 2012-12-14T23:46:44 < zyp> there seems to be a mechanism to do that, but I'm not sure how well supported it is in practice 2012-12-14T23:47:06 < emeb> All it needs is some sort of upstream msg saying "back off" 2012-12-14T23:47:12 < zyp> yes 2012-12-14T23:47:45 < zyp> I believe it's using an isochronous IN endpoint to feed back how big packages we want 2012-12-14T23:48:20 < zyp> so we just need to ask for smaller or larger packages based on our buffer status 2012-12-14T23:50:30 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has joined ##stm32 2012-12-14T23:52:52 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 248 seconds] 2012-12-14T23:55:42 -!- jef79m is now known as jef79m_lurking 2012-12-14T23:56:24 -!- jef79m_lurking is now known as jef79m 2012-12-14T23:57:02 < zyp> heh 2012-12-14T23:57:18 < zyp> attempted delivery for my digikey packet: 21:52 2012-12-14T23:58:02 < zyp> first time UPS have tried delivering a packet after I've went home from work 2012-12-14T23:58:32 < zyp> and also first time I tried having it sent to work instead of home :p --- Day changed Sat Dec 15 2012 2012-12-15T00:01:28 < Laurenceb_> http://www.youtube.com/watch?feature=player_embedded&v=byPQcTj1LC0 2012-12-15T00:01:32 < Laurenceb_> what nerd fap to 2012-12-15T00:03:40 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-15T00:06:55 -!- jef79m is now known as jef79m_lurking 2012-12-15T00:10:55 < emeb> wtf UPS? Delivering to a business so late? 2012-12-15T00:11:26 -!- CoolBear [~hightower@ti0069a380-0800.bb.online.no] has joined ##stm32 2012-12-15T00:11:58 < emeb> Oh well - you don't have boards yet. 2012-12-15T00:13:29 < emeb> love the pink hair 2012-12-15T00:15:49 < emeb> "I see digital audio as divided into three quality levels: low quality is everything less than 105 dB dynamic range (16-18 bit conversion and processing), mid quality is 106-115 dB dynamic range (less expensive 24 bit converters, 24 bit processing), and high quality 116 dB and greater dynamic range with either 24 bit fixed point or 32 bit floating point processing." 2012-12-15T00:16:15 < emeb> With standards like that I bet that guy lives a life of bitter disappointment. 2012-12-15T00:17:08 < zyp> :p 2012-12-15T00:18:44 < emeb> anyone know what kind of processor is used on the Parrot AR.Drone 2012-12-15T00:21:56 < Laurenceb_> some arm7/9 or something 2012-12-15T00:21:59 < Laurenceb_> SOC 2012-12-15T00:27:57 < emeb> Probably Allwinner or Broadcom. :P 2012-12-15T00:28:45 < zyp> heh 2012-12-15T00:34:20 < Laurenceb_> ARM9/11 2012-12-15T00:35:00 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-15T00:37:54 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 264 seconds] 2012-12-15T00:38:02 < LongChair> ok I have another wierd question 2012-12-15T00:38:23 < LongChair> i must have something really screwed up somewhere 2012-12-15T00:38:57 < LongChair> now activating the Usart Interrupt flag will not allow the debugger to step in on the next instruction :S 2012-12-15T00:39:44 < zyp> sounds like your debugger is full of shit 2012-12-15T00:39:53 < LongChair> indeed 2012-12-15T00:40:02 < LongChair> any shit remover available ? :p 2012-12-15T00:40:39 < LongChair> im using gcc 4.6 binaries though 2012-12-15T00:40:46 < LongChair> it's not the latest but still 2012-12-15T00:40:55 < LongChair> that's the last installer available i think 2012-12-15T00:41:25 < zyp> that part should be fine, I'm guessing openocd and/or eclipse is the culprit 2012-12-15T00:41:44 < LongChair> i have installed coocox since this aft 2012-12-15T00:41:54 < LongChair> i expect it to bring a new eclipse / openocd 2012-12-15T00:41:59 < LongChair> I have the same behaviour 2012-12-15T00:42:49 < LongChair> see this function : http://pastebin.com/xBFGdLMW 2012-12-15T00:43:15 < LongChair> if i run it like this .. it wont step over the TIME_GetTiming line 2012-12-15T00:43:25 < LongChair> unless i remove the USART_ITConfig(RXUSART, USART_IT_RXNE, ENABLE); line 2012-12-15T00:44:17 < zyp> oh, by the way, are you still stuck with the idea that you are debugging source code? 2012-12-15T00:44:34 < zyp> which optimization level are you compiling with? 2012-12-15T00:45:11 < LongChair> -O0 2012-12-15T00:45:25 < zyp> huh, really 2012-12-15T00:45:37 < LongChair> yeah still in the same source code 2012-12-15T00:45:42 < LongChair> this is insane 2012-12-15T00:46:06 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-15T00:46:07 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Read error: Connection reset by peer] 2012-12-15T00:46:59 < LongChair> i'm not sure what to do except taking this code out into another project 2012-12-15T00:50:45 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 244 seconds] 2012-12-15T00:54:25 -!- DaKu is now known as daku 2012-12-15T00:58:31 < LongChair> Zyp : still here ? 2012-12-15T00:58:48 < zyp> yes 2012-12-15T00:58:48 < LongChair> ok I have exported the code into another smaller project 2012-12-15T00:58:54 < LongChair> it's minimal 2012-12-15T00:58:59 < LongChair> and giving me the same issue 2012-12-15T00:59:03 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-15T00:59:07 < LongChair> lemme pastebin the code 2012-12-15T00:59:28 < zyp> I'm a bit busy now 2012-12-15T00:59:33 < zyp> hmm 2012-12-15T00:59:51 < LongChair> oh sorry :) 2012-12-15T00:59:51 < zyp> emeb, does the latest version of usb_audio branch work for you, doesn't seem to work for me 2012-12-15T01:02:50 < zyp> hmm, looks like the volume adjustment stuff are creating problems 2012-12-15T01:02:57 < zyp> version before I added that works 2012-12-15T01:10:32 < emeb> zyp: haven't tried it lately. 2012-12-15T01:10:34 < zyp> ah, found the problem 2012-12-15T01:10:51 < zyp> last time I was working on that, I was working on my laptop 2012-12-15T01:10:58 < zyp> where the fix was sitting, uncommitted :p 2012-12-15T01:12:08 < emeb> oop 2012-12-15T01:12:19 < emeb> great having so many machines to work on. 2012-12-15T01:12:27 < emeb> I sometimes have the same problems. 2012-12-15T01:13:02 < zyp> I was visiting a friend for a weekend, I was attempting to get him help me work on laks :p 2012-12-15T01:13:13 < emeb> did he? 2012-12-15T01:13:25 < zyp> well, he's the one who broke the demo :p 2012-12-15T01:13:41 < emeb> I have had friends like that. Good beta testers. 2012-12-15T01:13:57 < zyp> well, he moved the reset gpio config around 2012-12-15T01:14:11 < zyp> to a point where he's trying to do it before the gpio clocks are enabled :p 2012-12-15T01:14:36 < emeb> derp 2012-12-15T01:14:37 < zyp> can't blame him though, he's not very experienced with embedded 2012-12-15T01:15:23 < zyp> and therefore it's not very obvious that you can't do stuff requiring peripheral clocks in global constructors, because they run before main is executed 2012-12-15T01:15:48 < emeb> *nod* 2012-12-15T01:17:19 < emeb> last time I ran the audio demo it was from a binary you built 2012-12-15T01:17:37 < zyp> ah, yeah 2012-12-15T01:17:41 < emeb> that was before we figured out that 4.6 works w/ laks if you change the Cstd 2012-12-15T01:17:49 < zyp> I remember 2012-12-15T01:18:11 < emeb> I'm going to try building it now. I'll probably need to tweak it so that it can talk to my Wolfson codec. 2012-12-15T01:18:48 < zyp> you should be able to just replace the DAC class 2012-12-15T01:18:56 < emeb> OK - I'll look at that. 2012-12-15T01:19:16 < emeb> Does your codec have an I2C control port? 2012-12-15T01:19:26 < zyp> yes 2012-12-15T01:19:26 < emeb> If not then I'll have a bit of work to get that going. 2012-12-15T01:19:30 < emeb> Ah ok 2012-12-15T01:20:24 < zyp> gonna push a couple of commits in a few minutes 2012-12-15T01:20:31 < emeb> OK 2012-12-15T01:20:38 < zyp> upgrading to newest laks and fixing the gpio bug 2012-12-15T01:21:54 < zyp> there 2012-12-15T01:25:07 < emeb> hmmm - there was some sort of floating pt compiler arg needed too. 2012-12-15T01:25:21 < emeb> getting an error about VFP register args 2012-12-15T01:25:31 < zyp> just disable floating point 2012-12-15T01:25:42 < zyp> since I don't have fpu support yet 2012-12-15T01:25:49 < emeb> right 2012-12-15T01:26:04 < dongs> sup dongs 2012-12-15T01:26:14 < emeb> 'lo dongs 2012-12-15T01:26:34 < dongs> bloggin on blogs. 2012-12-15T01:26:57 < emeb> irking on ircs 2012-12-15T01:28:13 < emeb> zyp: just commented out the env.Append(CCFLAGS = ' -mhard-float') thing in build_rules - seems to build now 2012-12-15T01:29:19 < zyp> I'm gonna clean up that and put in the proper fpu flags, as well as add fpu support, it's on my list of stuff I hope to get done during christmas 2012-12-15T01:29:35 < emeb> man knows how to live. :) 2012-12-15T01:30:27 < zyp> it's a project I enjoy doing, I just need more time and motivation for everything I want to do with it :) 2012-12-15T01:31:54 < emeb> I hear that 2012-12-15T01:34:59 < emeb> Oh - forgot that this was targeted at the F4 Disco. 2012-12-15T01:35:15 < emeb> hence the cs43L22 DAC 2012-12-15T01:35:38 < zyp> which one are you using? 2012-12-15T01:36:19 < emeb> Well I'll start out just getting it working on the Disco, but at some point I may try it on the WM8731 that I use on my board 2012-12-15T01:36:51 < emeb> it's actually a bit simpler than the cs43l22 - I2C is write only 2012-12-15T01:37:08 < gxti> it should be pretty easy to make a boost converter using stm32 pwm, right? i want to make a 24V battery charger 2012-12-15T01:37:40 < emeb> just PWM output & resistive divider to ADC input for feedback? 2012-12-15T01:38:08 < gxti> that's my understanding. all the smps stuff i've done before was with a special-purpose controller ic. 2012-12-15T01:38:33 < emeb> probably the biggest challenge will be getting stable control laws for closing the loop. 2012-12-15T01:38:37 < gxti> but i want to do fancy stuff like report charge status over some sort of bus 2012-12-15T01:39:46 < gxti> oh yeah, and a current shunt. will have to be high-side i think. 2012-12-15T01:40:12 < emeb> eww - that could be fun. 2012-12-15T01:40:27 < gxti> there should be ICs for that. 2012-12-15T01:40:35 < gxti> not horribly expensive ones, i mean 2012-12-15T01:40:44 < emeb> maybe 2012-12-15T01:40:59 < emeb> haven't looked at power stuff in a long time. 2012-12-15T01:41:44 < emeb> did like that Nixie clock AVR project some guy did with the AVR driving the 170V smps. 2012-12-15T01:42:24 < zyp> hmm 2012-12-15T01:43:08 < zyp> looking at the usb documentation this rate feedback stuff seems pretty normal 2012-12-15T01:43:17 < zyp> so I suspect it would be well supported 2012-12-15T01:43:36 < emeb> oh good. 2012-12-15T01:43:48 < zyp> I just need to figure out the math here, and then I'll make a test 2012-12-15T01:44:29 < emeb> I did some work with dedicated USB Audio class codecs a while back and most of them slave the sample rate to the USB clock. 2012-12-15T01:44:50 < zyp> yeah 2012-12-15T01:45:02 < gxti> yep no problem: http://www.digikey.com/product-detail/en/INA271AIDR/296-21650-1-ND/1531104 2012-12-15T01:45:04 < zyp> there are three synchronisation models described here 2012-12-15T01:45:11 < emeb> so likely they wouldn't need the rate feedback. 2012-12-15T01:45:18 < gxti> -16V to 80V shunt amp for $1.30 2012-12-15T01:45:55 < zyp> one where the devices follow the usb clock, one where the sink follows the rate of the source and one where the sink provides feedback to control the rate of the source 2012-12-15T01:46:37 < emeb> hopefully most OSes audio drivers support the latter 2012-12-15T01:46:40 < gxti> emeb: i have an "async" DAC that has its own clock and it underruns all the damn time if i use it with a regular PC :[ 2012-12-15T01:46:44 < zyp> so usb spec supports all sync models, it's just a matter of how well it's supported in practice 2012-12-15T01:46:51 < emeb> gxti: blech 2012-12-15T01:47:15 < gxti> i ended up using a AMD geode board i had lying around and putting mpd on it, i think i like it better this way anyway 2012-12-15T01:47:18 < zyp> gxti, any chance to grab me a dump of the descriptors of that? 2012-12-15T01:47:20 < gxti> still occasionally does weird things 2012-12-15T01:47:20 < emeb> what is it supposed to be used with if not a regular PC 2012-12-15T01:47:36 < gxti> emeb: well, could be linux's fault i guess 2012-12-15T01:47:36 < zyp> gxti, I'd like to see how it's using usb 2012-12-15T01:47:43 < gxti> zyp: tell me how to find out 2012-12-15T01:47:47 < zyp> lsusb -v 2012-12-15T01:48:51 < gxti> zyp: http://pastebin.com/vRFc0BQV 2012-12-15T01:50:53 < emeb> this? http://audioengineusa.com/Store/Audioengine-D1#.UMu7Rs9QD8g 2012-12-15T01:51:02 < gxti> yes 2012-12-15T01:51:27 < emeb> wow - crazy expensive for something that runs glitchy. 2012-12-15T01:51:44 < emeb> blame it on lunix :) 2012-12-15T01:52:11 < zyp> ah, it's adaptive 2012-12-15T01:52:29 < zyp> EP 2 IN is the feedback signal 2012-12-15T01:52:39 < gxti> it was to replace a $300 DAC i bought probably 5 years ago, that was only 48khz 16bit 2012-12-15T01:52:43 < gxti> that started flaking out 2012-12-15T01:52:51 < gxti> amazing how quickly DACs have dropped in price 2012-12-15T01:53:17 < zyp> maybe it's glitchy because host driver doesn't support the adaptive rate stuff 2012-12-15T01:53:27 < emeb> that's what I'm concerned about 2012-12-15T01:53:45 < gxti> yes, it's almost certainly a driver issue 2012-12-15T01:54:07 < gxti> but i'm not going to listen to my music just because of that 2012-12-15T01:54:10 < emeb> have you tried it on other OSes? 2012-12-15T01:54:15 < gxti> err, listen on windows 2012-12-15T01:54:30 < zyp> could be interesting to see traces of the traffic 2012-12-15T01:54:58 < emeb> zyp: send gxti a USB analyzer to grab some samples. :P 2012-12-15T01:55:13 < zyp> :p 2012-12-15T01:55:22 < gxti> whatever is wrong, it's CPU sensitive 2012-12-15T01:55:30 < emeb> orly? 2012-12-15T01:55:30 < zyp> really? 2012-12-15T01:55:36 < zyp> that sounds weird 2012-12-15T01:55:37 < gxti> i couldn't watch movies at all because it was 99% underrun 2012-12-15T01:56:09 < emeb> but the movies sound OK if you redirect audio to the onboard DAC? 2012-12-15T01:56:10 < gxti> whereas listening to music it works most of the time but then i scroll a PDF and it blows my eardrums 2012-12-15T01:57:06 < gxti> yeah, onboard works fine and conventional usb dacs work fine. had two over the past 8 years or so, never any issue like that. 2012-12-15T01:57:12 < zyp> that sounds more like shitty scheduling on host 2012-12-15T01:57:20 < emeb> yeah 2012-12-15T01:57:33 < emeb> blame it on lunix. (tm) 2012-12-15T01:57:37 < zyp> :p 2012-12-15T01:57:37 < gxti> nope 2012-12-15T01:58:12 < emeb> (disclaimer: I use linux about 80% of the time) 2012-12-15T02:00:11 -!- LongChair [~IceChat77@82.231.128.23] has quit [Ping timeout: 260 seconds] 2012-12-15T02:18:25 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-15T02:19:21 * emeb is building a purple BMP2 2012-12-15T02:29:32 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-15T02:30:28 < zyp> hmm 2012-12-15T02:30:53 < zyp> I tried adding descriptors for feedback endpoint, but it doesn't seem to get read by the host 2012-12-15T02:32:22 < zyp> oh, wait, maybe I'm just dumb 2012-12-15T02:35:00 < zyp> nah 2012-12-15T02:38:15 -!- gurgalof [~gurgalof@dhcp-233-245.nomad.chalmers.se] has quit [Quit: Leaving] 2012-12-15T02:44:10 < zyp> wonder if I'm doing something wrong, or host just ignores feedback stuff 2012-12-15T02:47:02 < emeb> what do you see? 2012-12-15T02:47:10 < zyp> see? 2012-12-15T02:47:15 < zyp> nothing different from before 2012-12-15T02:47:17 < emeb> hear? 2012-12-15T02:47:30 < emeb> so you still have periodic clicks? 2012-12-15T02:47:41 < emeb> does your log flag the buffer wraps? 2012-12-15T02:47:56 < zyp> well, I haven't put sensible information into the feedback endpoint yet 2012-12-15T02:48:04 < zyp> problem is that host isn't reading it at all 2012-12-15T02:48:24 < emeb> oh. dumb question - how can you tell the host isn't reading? 2012-12-15T02:48:44 < zyp> because usb is a master oriented protocol? :p 2012-12-15T02:49:07 < emeb> so the host has to ask for the data you're trying to send... 2012-12-15T02:49:16 < zyp> yes, by sending IN tokens 2012-12-15T02:49:37 < emeb> does that apply on isochronous flow too? 2012-12-15T02:50:02 < zyp> I'm not 100% sure, as I've never done isochronous in before 2012-12-15T02:50:23 < emeb> would be interesting to have a device that did it. 2012-12-15T02:51:10 < zyp> I don't think I have any usb mics or cams 2012-12-15T02:51:18 < emeb> you mentioned 3 types of audio flow control earlier. I assume most are type 1 where rates are locked to USB clock. 2012-12-15T02:51:26 < emeb> do those types do isochronous in? 2012-12-15T02:51:44 < zyp> well, for input channels 2012-12-15T02:51:53 < zyp> that's why I'm mentioning mic 2012-12-15T02:51:56 < emeb> yeah. 2012-12-15T02:52:28 < emeb> I've got a couple different types of USB audio devices here, but unfortunately no analyzer to look at what they do. 2012-12-15T02:53:14 < zyp> doesn't really help anyway 2012-12-15T02:53:26 < emeb> one of these for example -> http://dx.com/p/usb-to-audio-crystal-blue-sound-card-9723 2012-12-15T02:54:19 < emeb> the finest in audio quality :P 2012-12-15T02:54:49 < gxti> i like the stupid mascot thing in the top doing the gangnam style dance. 2012-12-15T02:55:18 < emeb> it's a thing. 2012-12-15T02:58:54 < zyp> got it 2012-12-15T02:59:02 < zyp> I was indeed dumb 2012-12-15T02:59:44 < zyp> forgot the simplest thing of them all 2012-12-15T03:00:04 < zyp> updating interface descriptor to indicate two endpoints instead of one. 2012-12-15T03:00:13 < emeb> oop 2012-12-15T03:00:20 < emeb> so is it reading now? 2012-12-15T03:00:23 < zyp> yes 2012-12-15T03:00:36 < emeb> sweet 2012-12-15T03:02:50 < zyp> well, attempting to at least 2012-12-15T03:03:43 < emeb> because you're not actually putting anything in it yet... 2012-12-15T03:04:02 < zyp> I'm putting three bytes of zero data into it. 2012-12-15T03:04:12 < zyp> but it's not getting anything 2012-12-15T03:04:45 < dongs> http://www.imgur.com/gGAHM.jpeg feel like stabbing. what moron thought this was a good idea 2012-12-15T03:04:48 < zyp> http://bin.jvnv.net/f/EkChn.png 2012-12-15T03:06:41 < emeb> In, In, In 2012-12-15T03:06:48 -!- Laurenceb_ [~Laurence@host86-143-55-227.range86-143.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2012-12-15T03:06:54 < emeb> dongs: what's going on there that you didn't like? 2012-12-15T03:07:43 < dongs> death to tablet fags 2012-12-15T03:08:41 < emeb> get used to it. the wave of the (dumb) future. 2012-12-15T03:09:37 < dongs> dumb is understatement 2012-12-15T03:10:11 < gxti> this is all i can think of when i see an ipad: http://www.youtube.com/watch?v=pD254JDQAJU#t=24s 2012-12-15T03:12:03 < dongs> heh 2012-12-15T03:15:19 < emeb> note to self - stop buying dual-row breakaway header strips. 2012-12-15T03:15:32 < emeb> running out of singles, rarely use the duals. 2012-12-15T03:18:03 < emeb> gah - the nokia ringtone 2012-12-15T03:18:45 < emeb> did you see the video where someone's cellphone rang that during a violin concert and the artist broke out into an improvisation on it? 2012-12-15T03:19:08 < dongs> url 2012-12-15T03:19:26 < emeb> looking... 2012-12-15T03:19:51 < emeb> http://www.youtube.com/watch?feature=player_embedded&v=uub0z8wJfhU 2012-12-15T03:21:10 < dongs> saved for when I'm home and not on 1200 baud jap cell network 2012-12-15T03:22:38 -!- ossifrage [~ossifrage@71.224.59.2] has quit [Ping timeout: 245 seconds] 2012-12-15T03:24:51 -!- baird [~cjb@ppp121-45-176-6.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-15T03:25:16 < qyx_> emeb: it was here! :D 2012-12-15T03:27:11 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2012-12-15T03:30:32 < emeb> qyx_: you're in Presov Slovakia? 2012-12-15T03:30:42 < qyx_> bratislava, slovakia 2012-12-15T03:30:48 < qyx_> presov is more on the east 2012-12-15T03:31:59 < emeb> oic - other end of the country. 2012-12-15T03:38:18 -!- Netsplit *.net <-> *.split quits: metaxa, claude, Nutter, ohama, baird, CheBuzz, +dekar, Posterdati, @ChanServ, ABLomas, (+6 more, use /NETSPLIT to show all of them) 2012-12-15T03:39:42 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 264 seconds] 2012-12-15T03:40:23 -!- Netsplit over, joins: ossifrage 2012-12-15T03:46:01 < zyp> ah, it works 2012-12-15T03:46:42 < zyp> host stack does some sanity checking on the sync value, so if you try pulling it too far, it disregards it 2012-12-15T03:47:06 < zyp> pulling it down to 47kHz works, 46kHz gets disregarded 2012-12-15T03:48:05 < emeb> cool 2012-12-15T03:48:49 < zyp> but I need to extend the stack/driver to get a sane way of sending isochronous packets 2012-12-15T03:49:49 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-15T03:49:49 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2012-12-15T03:51:43 -!- Netsplit *.net <-> *.split quits: ossifrage 2012-12-15T03:52:08 < emeb> on your end... 2012-12-15T03:54:39 -!- ChanServ [ChanServ@services.] has joined ##stm32 2012-12-15T03:54:39 -!- ServerMode/##stm32 [+o ChanServ] by lindbohm.freenode.net 2012-12-15T03:57:41 < emeb> purple BMP2 works. 2012-12-15T03:57:55 < zyp> hmm 2012-12-15T03:58:26 < zyp> need to figure out a way to calculate the feedback value from the dma status 2012-12-15T03:59:06 < zyp> it's pretty easy in theory though 2012-12-15T03:59:29 < emeb> you have read & write pointer status so you know buffer fullness? 2012-12-15T03:59:34 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-15T03:59:34 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has joined ##stm32 2012-12-15T03:59:34 -!- claude [sbnc@h1682708.stratoserver.net] has joined ##stm32 2012-12-15T04:00:20 -!- ReadError [readerror@ec2-50-19-189-163.compute-1.amazonaws.com] has joined ##stm32 2012-12-15T04:00:20 -!- SuicideFunky [~randy@vps-212-153-70-8.twenty-five.nl] has joined ##stm32 2012-12-15T04:01:47 < zyp> hmm 2012-12-15T04:02:45 < zyp> buffer emptyness is the interesting part 2012-12-15T04:03:29 -!- dekar [~dekar@212.255.245.151] has joined ##stm32 2012-12-15T04:03:29 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-ynafjiezhhocdvfz] has joined ##stm32 2012-12-15T04:03:29 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2012-12-15T04:03:29 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2012-12-15T04:03:29 -!- ServerMode/##stm32 [+v dekar] by lindbohm.freenode.net 2012-12-15T04:04:25 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has joined ##stm32 2012-12-15T04:04:55 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2012-12-15T04:05:09 -!- baird [~cjb@ppp121-45-176-6.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-15T04:05:09 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-15T04:05:09 -!- ohama [~ohama@92.240.248.100] has joined ##stm32 2012-12-15T04:05:21 < zyp> the feedback is number of samples consumed per usb frame 2012-12-15T04:06:27 < emeb> that's pretty simple 2012-12-15T04:06:42 < zyp> yep 2012-12-15T04:09:32 < zyp> a bit impractical if the host won't let me adjust too much 2012-12-15T04:09:44 < zyp> getting in sync might require some huge adjustments 2012-12-15T04:10:25 < emeb> or discard data at your end with output disabled until you've got good sync. 2012-12-15T04:10:30 < zyp> yeah 2012-12-15T04:10:39 < emeb> slight turn-on delay should be no biggie. 2012-12-15T04:11:06 < zyp> OS X is turning it off when no applications are outputting sound 2012-12-15T04:11:19 < zyp> at least my laptop with 10.6 does 2012-12-15T04:11:33 < emeb> I've seen that too 2012-12-15T04:11:42 < zyp> my workstation with 10.8 doesn't, but that might be because some application is constantly outputting nothing 2012-12-15T04:11:52 < emeb> linux turns it off when nothing is playing. 2012-12-15T04:12:13 < emeb> bmp2 x 2 -> http://imgur.com/6vVya 2012-12-15T04:12:25 < zyp> I'm currently playing videos to test, it's stopping output when I pause the player 2012-12-15T04:12:37 < emeb> ewww... 2012-12-15T04:12:44 < zyp> after writing a period og all zeros 2012-12-15T04:12:57 < zyp> that's nice since I never stop dma :p 2012-12-15T04:13:22 < emeb> oh - so you're continuously playing an empty buffer. 2012-12-15T04:13:37 < emeb> better than looping over the last audible grain. 2012-12-15T04:14:12 < zyp> lots of stuff to improve :p 2012-12-15T04:14:16 < zyp> but still a cool toy 2012-12-15T04:14:19 < emeb> hey - it's demo code. 2012-12-15T04:14:36 < emeb> "this is how you would do it, if you were going to do it" 2012-12-15T04:14:46 < zyp> yeah, which were mostly whipped up during a friday evening and saturday morning :p 2012-12-15T04:15:50 < emeb> not bad for goofing off 2012-12-15T04:16:10 < zyp> :) 2012-12-15T04:21:35 < gxti> hmm... synchronous boost converter 2012-12-15T04:21:42 < gxti> doubt i can do that with just a uC 2012-12-15T04:21:50 < emeb> why not? 2012-12-15T04:22:02 < zyp> hmm 2012-12-15T04:22:10 < zyp> I wonder if double buffer mode is usable 2012-12-15T04:22:11 < gxti> timing is much more critical compared to sync buck, i think 2012-12-15T04:22:28 < gxti> buck you just need to clamp the low side anytime the high side is off (minus dead time) 2012-12-15T04:22:41 < emeb> zyp: I've never used double buffer mode 2012-12-15T04:23:14 < emeb> gxti: oh - sync boost the other switch depends on the inductor relax time probably. 2012-12-15T04:23:15 < gxti> boost you have to shut it off right when the output voltage is about to fall through the target, like a diode going into reverse bias 2012-12-15T04:23:25 < zyp> if I could double buffer, I could just drop half the first frame and start dma from there, then aim to always have the active buffer half full when I get a new buffer in 2012-12-15T04:23:31 < gxti> there are sync boost controllers, just need to study how they work 2012-12-15T04:23:38 < gxti> it's probably something the uc can "learn" 2012-12-15T04:23:48 < zyp> I think that would be a reasonable solution 2012-12-15T04:23:54 < gxti> i'm just charging a battery, slow control loops are fine 2012-12-15T04:23:57 < gxti> no load on it 2012-12-15T04:24:05 < gxti> no transients, i mean 2012-12-15T04:24:08 < zyp> as long as I can change buffer size every time they are swapped 2012-12-15T04:24:46 < emeb> zyp: oooh - changing sizes sounds tough. I remember someone else having problems with tweaking DMA settings while it was running... 2012-12-15T04:25:35 < emeb> gxti: whee - control loops. second order / damping / resonance - yay. 2012-12-15T04:25:50 < zyp> doesn't look like it's possible 2012-12-15T04:26:00 < zyp> which pretty much makes it useless 2012-12-15T04:26:26 < zyp> but oh well, I guess a ringbuffer is fine 2012-12-15T04:27:42 < zyp> same trick still applies 2012-12-15T04:28:28 < zyp> or I could make it longer and aim to always keep the read pointer trailing by one transfer 2012-12-15T04:28:41 < emeb> you using the cpu to copy from the usb rx fifo to the i2s dma buffer? 2012-12-15T04:28:43 < zyp> I mean frame 2012-12-15T04:28:48 < zyp> yes 2012-12-15T04:29:05 < emeb> so you have absolute control on how much data is consumed. 2012-12-15T04:29:18 < zyp> from rx fifo? 2012-12-15T04:29:38 < emeb> yeah - you don't have to get the two peripherals to agree on anything short-term. 2012-12-15T04:30:17 < zyp> right 2012-12-15T04:30:22 < emeb> ie - the cpu could set up an independent buffer between the rx fifo and the i2s dma if necessary. 2012-12-15T04:30:46 < emeb> and that could be the one that takes up the slack / manages the feedback. 2012-12-15T04:30:56 < emeb> only problem is extra latency. 2012-12-15T04:30:59 < zyp> independent how? 2012-12-15T04:31:32 < emeb> usb data arrives in the rx fifo at a fixed rate 2012-12-15T04:31:45 < emeb> i2s data is consumed by the i2s dma at a fixed rate. 2012-12-15T04:32:04 < zyp> and I already have the ringbuffer in between 2012-12-15T04:32:13 < emeb> that's the one. 2012-12-15T04:32:27 < zyp> right 2012-12-15T04:32:49 < zyp> I didn't get the «could» part of your statement, since that's what I've been doing all along 2012-12-15T04:32:57 < emeb> :) 2012-12-15T04:33:01 < emeb> i'm catching up 2012-12-15T04:34:04 < zyp> but ok, keeping the write pointer one frame ahead of the read pointer in the ringbuffer sounds like the best way to go 2012-12-15T04:34:32 < zyp> because then I can just start dma on second frame received 2012-12-15T04:34:38 < emeb> yeah - that's key. It gives you some slack to work with in computing the feedback. 2012-12-15T04:34:51 < zyp> and sample dma position every time I get a new frame 2012-12-15T04:34:56 < emeb> yup. 2012-12-15T04:35:10 < emeb> otherwise you'd be too close to starvation to work effectively. 2012-12-15T04:35:30 < zyp> well, buffer size is no problem 2012-12-15T04:35:37 < emeb> no 2012-12-15T04:35:49 < zyp> I'm just thinking about implementation details, how to get this and keep this in sync 2012-12-15T04:36:26 < zyp> if one frame doesn't give me enough slack I can just increase the buffer size 2012-12-15T04:36:56 < emeb> yeah. latency is not likely to be noticeable. 2012-12-15T04:37:18 < emeb> buffers aren't deep enough to affect lip sync eg. 2012-12-15T04:37:43 < zyp> one frame is only a millisecond :p 2012-12-15T04:37:57 < emeb> not bad. 2012-12-15T04:38:20 < emeb> I think less than 5ms isn't considered an issue 2012-12-15T04:38:22 < zyp> but that's still a whole millisecond to prepare the next frame on ;) 2012-12-15T04:39:00 < zyp> the current buffer is around 5ms 2012-12-15T04:39:14 < zyp> and since it's not synced, it drifts from 0-5ms delay 2012-12-15T04:39:25 < emeb> probably more latency than that on the host side. 2012-12-15T04:39:31 < zyp> yeah 2012-12-15T04:39:52 < zyp> and you mentioned lip sync 2012-12-15T04:40:14 < zyp> display runs at 60Hz :p 2012-12-15T04:40:40 < emeb> 17 ms / frame 2012-12-15T04:41:06 < zyp> good luck spotting lip sync being 5ms off :p 2012-12-15T04:41:10 < emeb> 48 Hz for "The Hobbit" :) 2012-12-15T04:42:04 < zyp> mplayer's av-sync adjustment works with 100ms steps :p 2012-12-15T04:42:33 < emeb> not thinking this is going to be an issue... 2012-12-15T04:42:38 < zyp> nah 2012-12-15T04:42:42 < zyp> neither were I 2012-12-15T04:45:19 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 244 seconds] 2012-12-15T04:45:34 < emeb> bbiab... 2012-12-15T04:45:37 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-15T04:52:23 < baird> Sucks that wire-wrap tools and supplies aren't plentiful any longer.. Thinking of doing a small computer board with WW, but pretty-much everything will have to be ordered from overseas. 2012-12-15T04:59:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-15T05:00:39 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-15T05:01:54 < ds2> baird: don't ratshack have it? 2012-12-15T05:04:12 < emeb_mac> don't think the have radio shack in sydney 2012-12-15T05:04:45 < ds2> oh 2012-12-15T05:05:11 < ds2> thought they had it with a different name like european island country 2012-12-15T05:05:32 < emeb_mac> ah, maybe. 2012-12-15T05:05:43 < ds2> think Tandy is a name used there 2012-12-15T05:05:45 < ds2> donno about .au 2012-12-15T05:13:15 < dongs> sup 2012-12-15T05:13:40 < emeb_mac> bloggin 2012-12-15T05:13:46 < dongs> yeah i could see that 2012-12-15T05:14:15 < dongs> lotsa blog about USB audio crap :p 2012-12-15T05:14:21 < emeb_mac> yup 2012-12-15T05:25:19 < baird> emeb_mac: 'Radio Shack' is 'Tandy' here, and their local operation was bought out by Dick Smiths/Woolworths about 20 years ago... and they became a shit-tier consumer shop that sells mobile phone batteries. 2012-12-15T05:25:59 < emeb_mac> baird not too much different from our RS 2012-12-15T05:26:19 < emeb_mac> their motto: "Radio Shack - you've got questions, we've got batteries" 2012-12-15T05:26:25 < dongs> yeah, american radioshack is garbage now 2012-12-15T05:26:33 < dongs> first thing you see is prepaid cellphones 2012-12-15T05:26:34 < dongs> when yo uwalk in 2012-12-15T05:26:43 < dongs> they do sell some huge 70W soldering irons 2012-12-15T05:26:49 < dongs> and a couple sparkfun breakouts sometimes 2012-12-15T05:26:55 < emeb_mac> good for wood burning! 2012-12-15T05:27:04 < emeb_mac> they do sell some arduino stuff lately 2012-12-15T05:27:22 < baird> The Tandy brand was that discredited, Woolworths eventually closing them down or turning them into Dick Smiths stores-- which 10 years ago dumped their electronics kit & etc. lines. Retail electronics is only Jaycar and Altronics (and a few indies) now. 2012-12-15T05:27:43 < emeb_mac> sad 2012-12-15T05:28:25 < baird> Pity. Before Tandy got burned on computers, they had a much higher profile and Cred. 2012-12-15T05:29:06 < emeb_mac> one of my buddies here used to work for Tandy - designed a bunch of their products back in the 80's 2012-12-15T05:29:36 < baird> My first interaction with a computer-- December 23rd, 1979, with a TRS80 Model 3, at the Charlestown Mall Tandys. :) 2012-12-15T05:29:54 < emeb_mac> (some TRS-80 peripherals, the old BBD reverb, the Moog monosynth they sold for a while, etc) 2012-12-15T05:29:55 < baird> Maybe Model 1, considering the date.. 2012-12-15T05:30:55 < emeb_mac> hmmm 2012-12-15T05:31:26 < emeb_mac> we had a bunch of those in HS. 2012-12-15T05:31:41 < emeb_mac> also Commodore PETs 2012-12-15T05:32:07 < emeb_mac> and Model 33 ASR terminals to a state-wide timeshare system running HP BASIC. 2012-12-15T05:33:17 < baird> I only new of one owned TRS80 when I was a kid, but scored a III w/ floppies & serial in 1997 (..which eventually caught fire..) Later got a cassette III, with flakey power, but still have the motherboard. 2012-12-15T05:35:13 < baird> One of the first computer programming books I read was the TRS80 version of Dave Ahl's/Creative Computing BASIC Computer games-- so a fair lot of influence there. 2012-12-15T05:38:03 < dongs> it wasnt called Trash80 for no reason 2012-12-15T05:39:12 < emeb_mac> ya 2012-12-15T05:39:40 < emeb_mac> for a while is was pretty much all there was besides Apple ][ 2012-12-15T05:40:31 < emeb_mac> unless you wanted a huge S-100 system, or some also-ran. 2012-12-15T05:40:48 < baird> My Mum's work had a Data General Nova (?3), but 8 year-old mes weren't allowed to touch it or the terminals. :/ 2012-12-15T05:41:00 < dongs> The Model I radiated so much interference that while playing games an AM radio placed next to the computer could be used to provide sounds. laughin' out loud. 2012-12-15T05:41:52 < dongs> there was something just recently on theregister about running some old micro trash through RF chamber and shit was noisy all over hte place 2012-12-15T05:42:07 < dongs> http://www.theregister.co.uk/2012/12/13/sinclair_spectrum_fails_modern_radio_noise_tests/ 2012-12-15T05:42:09 < emeb_mac> that was before FCC class B I guess 2012-12-15T05:42:11 < baird> The Nova used to make long-distance dialup 300baud calls to DG HQ for software updates.. 2012-12-15T05:42:38 < baird> Mum said that formatting the 8" floppies took about 30 minutes each. 2012-12-15T05:42:49 < emeb_mac> yoiks! 2012-12-15T05:43:37 < dongs> http://regmedia.co.uk/2012/03/29/zx_3b.jpg 2012-12-15T05:44:35 < baird> Mum was the Head Secretary at the car dealereship, and having done FORTRAN at Uni, she was tapped to be the system manager.. 2012-12-15T05:45:29 < emeb_mac> such a deal! 2012-12-15T05:53:24 < baird> This was back in 1979. 2012-12-15T05:54:53 < baird> I think I've boasted before about an Aunt who got pushed into being a Unix system administrator in the late 1970s.. (Major Hospital, Unix used as a typesetting system.) 2012-12-15T06:16:40 < R2COM> my aunt was also some sort of system admin, but for a weird very custom Soviet local computer system for some government statistics office 2012-12-15T06:17:03 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-15T06:17:09 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-15T06:17:14 < dongs> in soviet russia, local computer systems admin you. 2012-12-15T06:17:50 < emeb_mac> ol 2012-12-15T06:17:55 < emeb_mac> =L 2012-12-15T06:17:56 < R2COM> something like that 2012-12-15T06:19:29 < emeb_mac> ...and in those days, nickles had pictures of bumblebees on 'em. Gimme five bees for a quarter you'd say... 2012-12-15T06:39:16 < baird> lol @ the fuckwits at Wired giving McAfee's location away 2012-12-15T06:39:48 < emeb_mac> like anyone cares. 2012-12-15T06:40:42 < emeb_mac> ...aaaand still no answer on the STM32 forum about the F3xx bootloader. *yawn* 2012-12-15T06:41:15 < baird> They're first like "We found McAfee! We're so awesome!" ... and then they upload a photo with the geolocation exif data still in it. 2012-12-15T06:41:33 < emeb_mac> derp 2012-12-15T06:42:27 < emeb_mac> gps data in pictures is kinda fun. 2012-12-15T06:43:08 < emeb_mac> took some pix @ the old family farm last week - it's down a twisty maze of gravel roads and hard to find on maps. pix helped. 2012-12-15T06:43:42 < baird> And according to McRambo, when it was realised, the Wired guys shat themselves and ran. 2012-12-15T06:45:50 < emeb_mac> it's a n00b mistake to make. 2012-12-15T06:47:03 < baird> Meh. Let's look forward to him doing a Boy George in a few years. 2012-12-15T06:47:20 < baird> (Herion, etc.) 2012-12-15T06:47:54 < emeb_mac> amazing how many entertainment types in the US came from CA 2012-12-15T06:48:27 < emeb_mac> blame canada! 2012-12-15T06:52:18 * emeb_mac wonders how thick the steel really is 2012-12-15T06:52:42 < emeb_mac> I've seen a lot of old dump trucks with their dumpers dented by rocks. 2012-12-15T06:52:57 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 2012-12-15T07:01:17 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-15T07:06:32 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-15T07:06:33 -!- emeb_mac_ [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-15T07:06:52 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Read error: Connection reset by peer] 2012-12-15T07:06:53 -!- emeb_mac_ is now known as emeb_mac 2012-12-15T07:22:02 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-15T07:54:37 < dongs> blogging on blogs 2012-12-15T07:55:36 < Oldboy> donging on dongs 2012-12-15T07:56:19 < Oldboy> flyback: did you /pm LoRez ? 2012-12-15T07:56:33 < Oldboy> flyback: but did you ? 2012-12-15T08:09:49 -!- jef79m_lurking is now known as jef79m 2012-12-15T08:13:49 -!- jef79m is now known as jef79m_lurking 2012-12-15T08:16:24 -!- dfletcher is now known as drgreenthumb 2012-12-15T08:16:34 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-12-15T08:16:34 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-12-15T08:37:59 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-15T08:39:55 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-15T08:41:00 -!- claude is now known as Claude 2012-12-15T08:44:10 < dongs> the stool? 2012-12-15T08:45:15 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Ping timeout: 260 seconds] 2012-12-15T08:49:28 < dongs> http://www.slunch.co.kr/data/temp/577457.jpg 2012-12-15T09:11:44 -!- baird [~cjb@ppp121-45-176-6.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-15T09:20:23 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has quit [Disconnected by services] 2012-12-15T09:20:24 -!- Nutter` [Nutter@64-46-18-151.dyn.novuscom.net] has joined ##stm32 2012-12-15T09:24:40 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 246 seconds] 2012-12-15T09:27:54 -!- dekar_ [~dekar@212.255.255.66] has joined ##stm32 2012-12-15T09:27:54 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-15T09:31:54 -!- dekar [~dekar@212.255.245.151] has quit [Ping timeout: 276 seconds] 2012-12-15T09:34:12 -!- dongs is now known as jason`_ 2012-12-15T09:34:32 -!- jason`_ is now known as dongs 2012-12-15T09:34:50 -!- dongs is now known as jason`_ 2012-12-15T09:37:30 -!- jason`_ is now known as dongs 2012-12-15T09:38:19 -!- dongs is now known as jason`_ 2012-12-15T09:38:51 -!- jason`_ is now known as dongs 2012-12-15T09:38:52 -!- dongle is now known as jason`_ 2012-12-15T09:40:58 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-15T09:44:14 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-15T09:50:16 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-15T10:10:09 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-15T10:11:16 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 250 seconds] 2012-12-15T10:23:38 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-15T10:36:53 < Thorn> http://www.nirs.org/fukushima/naiic_report.pdf <- Message from the Chairman is notable 2012-12-15T11:03:01 < dongs> https://youtube.com/watch?v=Sh-cnaJoGCw 2012-12-15T11:20:24 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-15T11:28:14 -!- daku is now known as DaKu 2012-12-15T11:44:07 -!- dongs is now known as hype 2012-12-15T11:44:33 -!- hype is now known as dongs 2012-12-15T11:44:51 -!- Nutter` is now known as Nutter 2012-12-15T12:03:24 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-15T12:48:44 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-15T12:49:19 < Thorn> lovely dicktrace 2012-12-15T12:49:38 < dongs> what now? 2012-12-15T12:49:44 < dongs> did you fuck something up? 2012-12-15T12:50:00 < Thorn> if you lay a trace unconnected on both sides it creates a new net, and I see no way to connect it to an existing net 2012-12-15T12:50:18 < dongs> just connect to existing trace w/some net and it'll ask to merge 2012-12-15T12:50:25 < dongs> when merging, it'll take the older trace net name. 2012-12-15T12:50:29 < Thorn> it doesn't 2012-12-15T12:50:34 < dongs> does. 2012-12-15T12:50:43 < dongs> refresh from schematic then 2012-12-15T12:50:52 < dongs> save first. 2012-12-15T12:50:55 < Thorn> new trace will disappear 2012-12-15T12:50:55 < dongs> it might kill the trace. 2012-12-15T12:51:02 < Thorn> it does 2012-12-15T12:51:22 < dongs> are you doing something stupid like trying to merge 2 different nets with a trace? 2012-12-15T12:52:08 < Thorn> technically yes, because this new trace is in a different (newly created) net 2012-12-15T12:52:52 < Thorn> I've no Net 14 in the schematics but this unconnected trace is in Net 14 2012-12-15T12:53:28 < Thorn> why does a layout tool create new nets anyway? just in case I deside to do circuit changes while laying out? 2012-12-15T12:53:46 < Thorn> *decide 2012-12-15T12:59:51 < dongs> why do you have a net called net14 in schematic 2012-12-15T12:59:59 < dongs> this is your first problem 2012-12-15T13:00:04 < dongs> ALL your schematic nets must be named. 2012-12-15T13:00:13 < Thorn> >I've no Net 14 in the schematics 2012-12-15T13:00:15 < dongs> and yes, i've done what you said a few times - especially when pinswapping 2012-12-15T13:00:23 < dongs> I will make new nets connecting stuff the way I want 2012-12-15T13:00:29 < dongs> then reconnect them in schematic 2012-12-15T13:00:30 < dongs> and refresh 2012-12-15T13:00:35 < dongs> then stuff is synced 2012-12-15T13:00:51 < dongs> a proper pinswap would be lovely, but this works just as well 2012-12-15T13:01:34 < Thorn> how do you name a net that connects a series resistor to a led? 2012-12-15T13:01:50 < Thorn> (not to mention why) 2012-12-15T13:01:54 < dongs> same as the net going to resistor from MCU, just add a _ or + to it 2012-12-15T13:20:15 -!- jef79m_lurking is now known as jef79m 2012-12-15T13:23:45 -!- jef79m is now known as jef79m_lurking 2012-12-15T13:32:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-15T13:32:21 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-15T13:32:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-15T13:32:24 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-15T13:40:24 -!- |sark [~|sark@109.235.51.202] has quit [Read error: Connection reset by peer] 2012-12-15T13:45:49 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-15T14:18:05 -!- DaKu is now known as daku 2012-12-15T14:29:35 -!- Claude is now known as claude 2012-12-15T14:41:30 < dongs> buying myself a VPN router so I can stop wasting time with lunex 2012-12-15T14:45:16 < Thorn> guess what the router will run 2012-12-15T14:45:23 < dongs> not lunex, which is great 2012-12-15T14:45:27 < Thorn> (unless you buy cisco) 2012-12-15T14:47:18 < dongs> the one I want isnt running anything remotely close to lunix 2012-12-15T14:47:22 -!- jef79m_lurking is now known as jef79m 2012-12-15T14:49:45 < Thorn> "An external incremental encoder can be connected directly to the MCU without external interface logic. However, comparators are normally be used to convert the encoder’s differential outputs to digital signals. This greatly increases noise immunity." 2012-12-15T14:49:54 < Thorn> what comparators. 2012-12-15T14:50:09 < dongs> "are normally be used"? 2012-12-15T14:50:14 < Thorn> what differential signals 2012-12-15T14:50:19 < dongs> is that a translateion from jap manual? 2012-12-15T14:50:47 < Thorn> this is copy/paste from RM0008 rev. 14 page 377 2012-12-15T14:51:16 < dongs> lol dongs 2012-12-15T14:53:42 < Thorn> why would I need comparators if there're like 2 switches inside which pull outputs to ground 2012-12-15T14:54:04 < dongs> so you could compare while you compare 2012-12-15T14:54:23 < Thorn> or do they mean optical encoders or something? 2012-12-15T14:56:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2012-12-15T14:57:30 < Thorn> well I guess if it's optical you will get linear behavior because a LED has some area, but why not schmitt triggers then 2012-12-15T14:58:42 -!- jef79m is now known as jef79m_lurking 2012-12-15T14:59:40 < dongs> https://youtube.com/watch?v=wevs5p35mE0 2012-12-15T14:59:44 < dongs> why so many dislikes 2012-12-15T15:15:16 <+Steffanx> because we're not all dongs 2012-12-15T15:15:37 < dongs> best korea is my next tourist destination for sure 2012-12-15T15:19:49 < Thorn> they issue tourist visas to russian citizens. some bloggers published pretty comprehensive trip reports 2012-12-15T15:36:45 < dongs> about to snag the router i want for ~$20 shipped. 2012-12-15T15:37:03 < dongs> http://www.lemoda.net/networking/rtx1000/index.html < this 2012-12-15T15:38:20 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Ping timeout: 255 seconds] 2012-12-15T15:38:36 < dongs> and done 2012-12-15T15:38:48 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-15T15:41:29 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 255 seconds] 2012-12-15T15:45:25 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-15T15:48:32 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Read error: Connection reset by peer] 2012-12-15T15:48:38 <+Steffanx> south korea maybe dongs 2012-12-15T15:48:50 < dongs> ? 2012-12-15T15:49:26 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has joined ##stm32 2012-12-15T15:50:43 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-15T15:52:26 < dongs> https://youtube.com/watch?v=wKx1aenJK08 2012-12-15T15:52:29 <+Steffanx> "best korea is my next tourist destination for sure" tat 2012-12-15T15:53:00 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 264 seconds] 2012-12-15T15:53:04 <+Steffanx> Someone with a reputation like you.. no way you get into north korea 2012-12-15T15:53:13 < dongs> Steffanx: ive already been through sk and i can go there anytime to v isit my other office 2012-12-15T15:53:28 < dongs> thus its boring 2012-12-15T15:53:28 < dongs> really? I bet I can. 2012-12-15T15:55:03 <+Steffanx> Ok, proof it by taking a photo of you and that mr dictator :) 2012-12-15T15:55:20 <+Steffanx> You are allowed to blur your head :P 2012-12-15T15:57:50 <+Steffanx> You have offices in multiple countries dongs? 2012-12-15T15:58:02 <+Steffanx> Also one in yankeeland and europe? 2012-12-15T15:58:24 < dongs> just u.s./korea/taiwan. europe sucks ass. 2012-12-15T15:59:13 <+Steffanx> Hmm, your company must be big ass, or you just like having multiple offices :) 2012-12-15T16:00:37 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Remote host closed the connection] 2012-12-15T16:01:11 < dongs> RARP is an obsolete protocol. I had a lot of trouble getting it to work on Linux and actually succeeded much better with Lew Perin's RARP server for Windows (scroll down to the bottom of the page for a download link). 2012-12-15T16:01:15 < dongs> haha 2012-12-15T16:01:31 < dongs> sad when rarp server on windows succeeds more than lunex 2012-12-15T16:02:18 < zyp> ok 2012-12-15T16:02:33 < dongs> zyp doesnt care cuz he runs macos. 2012-12-15T16:02:47 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-15T16:03:09 < zyp> hmm, good point 2012-12-15T16:03:12 < zyp> I didn't consider that 2012-12-15T16:03:38 <+Steffanx> I don't care either :D 2012-12-15T16:03:55 <+Steffanx> Or run that os too, but .. even when I didn't i didn't care 2012-12-15T16:05:00 <+Steffanx> I maybe that's just me 2012-12-15T16:05:04 <+Steffanx> *but 2012-12-15T16:11:08 < gxti> why would anyone even use rarp 2012-12-15T16:11:59 < gxti> if it doesn't work it's because nobody has cared for at least 15 years 2012-12-15T16:12:10 < dongs> bingo! 2012-12-15T16:12:14 < dongs> you mean kinda like lunix 2012-12-15T16:12:42 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-15T16:12:58 < gxti> loooool 2012-12-15T16:13:37 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Remote host closed the connection] 2012-12-15T16:14:24 < Thorn> dongs: so why do you need rarp? 2012-12-15T16:14:34 < dongs> i dont 2012-12-15T16:14:41 < dongs> i pasted the shit from that rtx1000 page. 2012-12-15T16:14:53 < dongs> the poor fuck didnt have a serial console cable I guess. 2012-12-15T16:16:26 < gxti> could also be the oldass router's fault 2012-12-15T16:16:33 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-15T16:16:47 < Thorn> and? he wanted to learn the ip address of the router using rarp? 2012-12-15T16:17:08 < dongs> no, assign it 2012-12-15T16:17:43 < dongs> under defaultsettings i dont think it has an IP, you have to connect through serial console and set it. 2012-12-15T16:18:14 < dongs> or you can boot it w/some button pressed and it'll pickup address from rarp 2012-12-15T16:19:51 < zyp> bwcause dhcp is not cool enough? 2012-12-15T16:21:38 < Thorn> I recall something about routers being disallowed to use dhcp (but I fail to see why rarp would be allowed then) 2012-12-15T16:28:43 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-15T16:48:27 < emeb_mac> morning all 2012-12-15T16:48:33 <+Steffanx> Good afternoon 2012-12-15T16:48:46 < emeb_mac> whoa, timezones. what a concept 2012-12-15T16:49:04 <+Steffanx> Jejeje 2012-12-15T16:50:04 < emeb_mac> was bedeutet "Jejeje"? 2012-12-15T16:50:58 <+Steffanx> Dunno, some spanish 'gamers' say that all the time instead if "yeah" 2012-12-15T16:52:21 < emeb_mac> Ah - spanish. say no more. :) 2012-12-15T16:52:41 <+Steffanx> Yeah :P 2012-12-15T16:53:02 <+Steffanx> emeb_mac, has a spanish phobia? 2012-12-15T16:53:20 < emeb_mac> nah - just being silly. 2012-12-15T16:53:57 < emeb_mac> yo hablo un poco de espanol. 2012-12-15T16:54:02 <+Steffanx> In this channel nothing is weird. We even have someone with a jew phobia 2012-12-15T16:54:28 * emeb_mac wonders if that's real or just trolling 2012-12-15T16:54:42 <+Steffanx> It started with trolling, now it's real 2012-12-15T16:54:49 <+Steffanx> Now it's a "way of life" 2012-12-15T17:00:46 -!- baird [~cjb@ppp121-45-176-6.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-15T17:02:06 < emeb_mac> heh - yamaha router. 2012-12-15T17:07:26 < dongs> tbhey're awesome. 2012-12-15T17:08:05 < emeb_mac> and cheap! 2012-12-15T17:08:32 <+Steffanx> And from japan.. meh 2012-12-15T17:14:04 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has quit [Remote host closed the connection] 2012-12-15T17:14:27 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2012-12-15T17:14:27 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2012-12-15T17:14:27 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-15T17:18:30 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has joined ##stm32 2012-12-15T17:26:22 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-15T17:33:15 < zyp> wtf 2012-12-15T17:35:50 < emeb_mac> que? 2012-12-15T17:35:54 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Ping timeout: 252 seconds] 2012-12-15T17:36:15 < zyp> host is behaving weird with the sync feedback 2012-12-15T17:36:28 < emeb_mac> usb audio 2012-12-15T17:37:54 < zyp> http://bin.jvnv.net/f/3pcGg.png <- for some reason it's sending garbage 2012-12-15T17:38:10 < zyp> I mean, empty frames 2012-12-15T17:38:43 <+Steffanx> os x .. :P 2012-12-15T17:39:08 <+Steffanx> Ignore my childish behaviour 2012-12-15T17:39:21 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-15T17:41:06 < emeb_mac> all those nulls 2012-12-15T17:44:25 < emeb_mac> is it normal for the lengths to vary 188,192 like that? 2012-12-15T17:45:19 < dongs> 188 and 192 sounds like mpeg2ts without and with timestamps 2012-12-15T17:45:34 < zyp> heh 2012-12-15T17:45:34 <+Steffanx> :) 2012-12-15T17:45:54 < dongs> but shit doesnt start with syncbytes so i guess its neither 2012-12-15T17:46:07 < zyp> no, it's raw audio data 2012-12-15T17:46:17 * emeb_mac remembers mpeg ts. 2012-12-15T17:46:45 < zyp> 192B/frame is 192 kB/s, corresponding to 2ch 16bit 48 kHz 2012-12-15T17:46:45 < dongs> https://youtube.com/watch?v=nzOJ7-LQFHo#t=29s this is just fucking awesome. 2012-12-15T17:47:01 < zyp> and 188B is one sample less 2012-12-15T17:47:24 <+Steffanx> You mean this is awesome dongs: https://www.youtube.com/watch?NR=1&v=Jo6dkHgT6TI&feature=fvwp 2012-12-15T17:48:16 <+Steffanx> *fucking awesome 2012-12-15T17:48:25 < dongs> close 2012-12-15T17:48:33 < dongs> but the dude is a fat fucking slob 2012-12-15T17:48:48 <+Steffanx> Average internet guy 2012-12-15T17:48:56 <+Steffanx> Ask Laurenceb 2012-12-15T17:49:17 < emeb_mac> average person period 2012-12-15T17:49:28 < emeb_mac> (outside of 3rd world) 2012-12-15T17:49:34 <+Steffanx> You have your period right know? 2012-12-15T17:49:59 < emeb_mac> I'll go with "no" 2012-12-15T17:50:00 <+Steffanx> Aw, they say you shouldnt ask things like that 2012-12-15T17:50:18 * emeb_mac notifies HR 2012-12-15T17:50:41 <+Steffanx> Human Resources? 2012-12-15T17:50:53 < emeb_mac> yes. 2012-12-15T17:53:43 <+Steffanx> Hate it when you do a new windows installation and it has to do 500 million updates 2012-12-15T17:54:56 < dongs> https://youtube.com/watch?v=j_OyHUqIIOU#t=73s more awesome 2012-12-15T17:57:01 <+Steffanx> Update one of 120 2012-12-15T17:57:05 <+Steffanx> *1 2012-12-15T17:57:45 < emeb_mac> dongs: yep - pretty cool 2012-12-15T17:58:17 <+Steffanx> And old 2012-12-15T17:58:19 < emeb_mac> love the ripples in the surface during the slo-mo impact 2012-12-15T17:58:30 < emeb_mac> yay - old! 2012-12-15T17:59:40 < dongs> oh man their inception bath tub video is awesome 2012-12-15T17:59:57 < dongs> fap fap fap 2012-12-15T18:00:34 <+Steffanx> Note to dongs: No need to watch THAT in slowmotion 2012-12-15T18:17:35 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-15T18:30:47 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-15T18:37:06 < dongs> http://support.microsoft.com/kb/261186 2012-12-15T18:39:46 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-229-75.clienti.tiscali.it] has quit [Disconnected by services] 2012-12-15T18:39:46 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has joined ##stm32 2012-12-15T18:44:05 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-15T18:45:30 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-15T18:56:23 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2012-12-15T18:57:51 < rlc> What does __IO mean when declaring a variable? 2012-12-15T18:58:48 < Thorn> maybe volatile 2012-12-15T18:59:56 < Thorn> that's from cmsis iirc, isn't it 2012-12-15T19:01:51 < rlc> I don't know. But it's used in the standard pheripheral libraries. It's not standard C. Is it a typedef? I'm trying to find documentation about it or how it is implemented but I don't know where to look 2012-12-15T19:02:05 < Thorn> it's a macro 2012-12-15T19:02:34 < Thorn> if it were a typedef you couldn't do __IO uint16_t foo; for example 2012-12-15T19:02:36 < rlc> Do you know which file contain this macro definition? I cannot find it 2012-12-15T19:02:38 < gxti> core_cm3.h 2012-12-15T19:02:55 < rlc> ok thanks 2012-12-15T19:02:56 < gxti> or equivalent for whatever lib you're using 2012-12-15T19:03:09 < gxti> it's equal to 'volatile' 2012-12-15T19:03:10 < Thorn> grep -R '#define _IO' while dongs isn't looking 2012-12-15T19:04:11 < rlc> found it! #define __IO volatile 2012-12-15T19:04:18 < rlc> Thanks guys 2012-12-15T19:32:24 -!- LongChair [~IceChat77@82.231.128.23] has joined ##stm32 2012-12-15T19:32:32 < LongChair> hello all 2012-12-15T19:33:19 < LongChair> i'd need some external eye on some code which i can't get to work as it should :) 2012-12-15T19:33:43 < LongChair> i have extracted the code in a separate project to limit the side effects of other things 2012-12-15T19:33:52 < LongChair> here is the code http://pastebin.com/GBXFM6pN 2012-12-15T19:33:58 < LongChair> here is the issue description 2012-12-15T19:34:17 < LongChair> if I send serial data on the USART with a Serial / TTL adapter 2012-12-15T19:34:31 < LongChair> I'll get first the RXNE interrupt 2012-12-15T19:35:11 < LongChair> then the ISR will be called in loop even if there is not data sent and none of the ISR flags will be set 2012-12-15T19:35:42 < LongChair> there must be something obvious in the code but i can't see it :) 2012-12-15T19:36:24 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-15T19:42:57 < Thorn> well let's start with the fact that the USART IRQ is basically (RXNE & RXNE_enable) | (other_flag & other_flag_enable) | ... 2012-12-15T19:43:09 < Thorn> there's a figure in the RM 2012-12-15T19:43:36 < Thorn> so no set flags means no interrupts. 2012-12-15T19:47:04 < LongChair> so the ISR is called with no flags when there is no data ? 2012-12-15T19:47:54 < Thorn> I'd suggest that you read USART1->SR and USART1->CR1 in the ISR and maybe output them via SPI and capture with a logic analyzer if you don't trust your debugger 2012-12-15T19:48:21 < Thorn> (register names are for f1 if that makes a difference) 2012-12-15T19:49:02 < LongChair> even if this would be a normal behaviour, if i send data on the usart, first time i get the RXNE flag 2012-12-15T19:49:12 < LongChair> then next time i'll send data .. i'll get nothing 2012-12-15T19:49:17 < LongChair> no more RXNE 2012-12-15T19:49:29 < LongChair> and i keep getting these IRQ with no flags set 2012-12-15T19:49:59 < Thorn> RXNE = receive data register not empty 2012-12-15T19:50:14 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-15T19:50:39 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-15T19:50:55 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has joined ##stm32 2012-12-15T19:50:59 < Thorn> do you have a loopback or something? that flag shouldn't be set when sending data 2012-12-15T19:51:15 < LongChair> no it's only receiving data 2012-12-15T19:51:37 < LongChair> bascially this is supposed to get data coming from a receiver 2012-12-15T19:51:42 < Thorn> ah, you mean when you send data to the mcu 2012-12-15T19:51:47 < LongChair> yes 2012-12-15T19:52:06 < LongChair> I send data from PC -> USB/FTDI-> USART 2012-12-15T19:52:09 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has joined ##stm32 2012-12-15T19:52:09 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has quit [Changing host] 2012-12-15T19:52:09 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-15T19:52:32 < LongChair> the code im using is here : http://pastebin.com/GBXFM6pN 2012-12-15T19:52:51 < LongChair> and i created the porject with Coocox running with arm gcc 4.6 2012-12-15T19:53:00 < LongChair> just blank projetc with this code 2012-12-15T19:55:24 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 264 seconds] 2012-12-15T19:56:13 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-15T20:20:52 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-15T21:40:04 -!- LongChair [~IceChat77@82.231.128.23] has quit [Ping timeout: 248 seconds] 2012-12-15T21:40:18 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-15T21:58:20 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has joined ##stm32 2012-12-15T22:07:55 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2012-12-15T22:12:02 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2012-12-15T22:19:46 < Oldboy> http://www.bunniestudios.com/blog/?p=2686 2012-12-15T22:22:47 < Thorn> what about azonenberg and his computer from scratch (including a custom cpu / gpu iirc) 2012-12-15T22:35:20 < rlc> When I was looking for the definition of uint32_t in the standard pheripheral library, I found this in the stdint.h: typedef __UINT32_T_TYPE__ uint32_t; Now I cannot find how __UINT32_T_TYPE__ is defined. Anyone know where to find how it's defined and if it is a macro or just another typedef? 2012-12-15T22:36:23 < Thorn> uint32_t is part of standard C, not ST library 2012-12-15T22:38:17 < Thorn> http://en.wikipedia.org/wiki/Stdint.h#stdint.h 2012-12-15T22:56:44 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-15T22:56:45 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-15T22:56:45 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-15T22:56:46 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-15T23:17:16 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has joined ##stm32 2012-12-15T23:17:17 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has quit [Changing host] 2012-12-15T23:17:17 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-15T23:18:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-15T23:20:23 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 265 seconds] 2012-12-15T23:21:13 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has joined ##stm32 2012-12-15T23:21:13 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has quit [Changing host] 2012-12-15T23:21:13 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-15T23:23:32 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 248 seconds] 2012-12-15T23:24:44 -!- jef79m_lurking is now known as jef79m 2012-12-15T23:33:06 <+dekar_> rlc, I think __UINT32_T_TYPE__ is an intrinsic implemented by the compiler itself 2012-12-15T23:33:35 <+dekar_> that's why it has those double underscores 2012-12-15T23:33:48 < rlc> dekar_: What does it mean? It's compiler specific? 2012-12-15T23:33:56 <+dekar_> rlc, yeah 2012-12-15T23:34:12 < zyp> does it matter? 2012-12-15T23:34:42 < rlc> dekar_: Anyway to find where it's defined in the compiler? Is there a configuration file for it where I can change the name? 2012-12-15T23:35:11 <+dekar_> rlc, depends on your compiler, probably set at compile time (hardcoded) 2012-12-15T23:35:20 < zyp> what are you attempting to do? 2012-12-15T23:35:31 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-15T23:35:44 < rlc> zyp: I'm trying to understand things 2012-12-15T23:35:52 < zyp> understand what? 2012-12-15T23:36:00 < zyp> compiler internals? 2012-12-15T23:39:38 -!- jef79m is now known as jef79m_lurking 2012-12-15T23:39:38 < rlc> zyp: to understand what is standard and what is not. I was expecting something like: typedef int uint32_t but then came across that funny name I don't know where it comes from. 2012-12-15T23:40:16 < zyp> well, where do you think int comes from? 2012-12-15T23:40:24 < gxti> are you intentionally trying to go insane? if so please don't take us with you 2012-12-15T23:41:15 < rlc> zyp: int is standard C at least, so all C compilers know what it is. 2012-12-15T23:42:02 < zyp> yeah, and then there's the part where int is different things in different compilers :p 2012-12-15T23:42:11 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 260 seconds] 2012-12-15T23:43:06 < rlc> zyp: ah, and that's why there exist the stdint.h header? 2012-12-15T23:43:27 -!- barthess [~barthess@5.100.219.33] has joined ##stm32 2012-12-15T23:43:30 < zyp> stdint.h is a C99 extension 2012-12-15T23:46:50 < rlc> When I use the standard pheripheral library, is it required to include the startup_stm32f4xx.s file? 2012-12-15T23:47:11 <+dekar_> rlc, like zyp said, int could be short or anything above it. char could be 7bit whilst int8_t is defined to be 8bit. Thus you can't define one through the other. 2012-12-15T23:48:21 <+dekar_> rlc, nope you are not required 2012-12-15T23:49:12 < rlc> ok, thanks 2012-12-15T23:50:09 < rlc> I'm just starting out with the discovery board so there are quite a lot of things for me to figure out... 2012-12-15T23:55:04 <+dekar_> rlc, in case you need a gcc example project: https://github.com/EliasOenal/TNT_Example 2012-12-15T23:56:55 < rlc> dekar_: ok thanks. Would the code work without modification if I compile it in IAR? 2012-12-15T23:59:00 <+dekar_> rlc, I hope so 2012-12-15T23:59:40 <+dekar_> I've only developed on Linux and OSX so far though, using a variety of GCC based toolchains --- Day changed Sun Dec 16 2012 2012-12-16T00:00:42 -!- barthess [~barthess@5.100.219.33] has quit [Ping timeout: 264 seconds] 2012-12-16T00:04:06 < rlc> I'm hoping to use GCC in the near future 2012-12-16T00:05:38 < rlc> But I'm worried as a beginner that debugging would be much harder 2012-12-16T00:16:33 < zyp> harder than what? 2012-12-16T00:20:58 -!- barthess [~barthess@5.100.219.191] has joined ##stm32 2012-12-16T00:26:07 < rlc> Harder than using proprietary debugging tools? 2012-12-16T00:28:48 < jpa-> gdb is not that bad 2012-12-16T00:28:51 < zyp> I wouldn't worry too much about that 2012-12-16T00:29:08 < zyp> no matter what tools you choose, the important part is learning how to use them properly 2012-12-16T00:29:19 <+Steffanx> gdb has a steep-ish learning curve imho 2012-12-16T00:30:06 < jpa-> apparently eclipse works 2012-12-16T00:30:31 < jpa-> people on ##chibios also use qt creator to debug through openocd 2012-12-16T00:30:32 < zyp> I've tried a bit of different stuff, and nowadays I just prefer plain commandline gdb 2012-12-16T00:30:40 < jpa-> they even have support for debugging chibios threads 2012-12-16T00:31:05 < zyp> jpa-, through internal chibios gdbserver? 2012-12-16T00:31:14 < zyp> or through openocd? 2012-12-16T00:31:21 < zyp> or through something else? 2012-12-16T00:31:24 < jpa-> no, through some openocd plugin that decodes the thread data 2012-12-16T00:31:36 < zyp> so it requires openocd 2012-12-16T00:31:41 < jpa-> yes 2012-12-16T00:48:48 -!- barthess [~barthess@5.100.219.191] has quit [Quit: Leaving.] 2012-12-16T00:56:10 -!- Laurenceb_ [~Laurence@host86-179-87-205.range86-179.btcentralplus.com] has joined ##stm32 2012-12-16T01:26:34 -!- scrts [~quassel@unaffiliated/scrts] has quit [Ping timeout: 240 seconds] 2012-12-16T01:29:37 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-16T01:50:16 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2012-12-16T01:59:17 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-16T02:10:40 -!- jef79m_lurking is now known as jef79m 2012-12-16T02:37:46 < Laurenceb_> anyone know what f_opendir is for in fatfs? 2012-12-16T02:38:10 < Laurenceb_> what does it do that isnt covered by f_mkdir and f_chdir 2012-12-16T02:38:43 < cdh> A guess would be for reading directory entries (filenames in the directory) 2012-12-16T02:39:17 < qyx_> Laurenceb_: directory contents traversal? 2012-12-16T02:39:59 < cdh> There's probably also a f_readdir which does along with f_opendir 2012-12-16T02:41:29 < Laurenceb_> ok 2012-12-16T02:41:34 < Laurenceb_> i kind of see 2012-12-16T02:41:59 < Laurenceb_> there is readdir 2012-12-16T02:42:25 < cdh> opendir()/readdir() are like open()/read() except for directories instead of files. 2012-12-16T02:42:35 < Laurenceb_> i see 2012-12-16T02:42:59 < Laurenceb_> so for my project i need to create a directory and then create multiple files inside 2012-12-16T02:43:16 < Laurenceb_> so mkdir followed by chdir ? 2012-12-16T02:43:35 < Laurenceb_> then open files as normal? - i have open files working already 2012-12-16T02:44:05 < cdh> Yes, I think so. You likely don't need opendir/readdir at all. 2012-12-16T02:44:33 < Laurenceb_> yeah 2012-12-16T02:44:53 < Laurenceb_> im usin rtc time for the directory name 2012-12-16T02:45:04 < Laurenceb_> so it shouln't already exist 2012-12-16T02:49:08 < Laurenceb_> ah but if i had an existing directory with the same name id need to delete all the files 2012-12-16T02:49:24 < Laurenceb_> which would require readdir etc 2012-12-16T02:49:32 < cdh> Yes, that's true. 2012-12-16T02:49:39 < Laurenceb_> so it does have a use :P 2012-12-16T02:49:47 < Laurenceb_> just not for my project 2012-12-16T03:17:26 -!- emeb [~ericb@71-36-180-224.phnx.qwest.net] has joined ##stm32 2012-12-16T03:25:07 -!- baird [~cjb@ppp121-45-176-6.lns20.syd7.internode.on.net] has quit [Ping timeout: 246 seconds] 2012-12-16T03:25:21 -!- baird [~cjb@ppp121-44-182-98.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-16T03:40:01 < baird> Hopefully that Bunnie laptop thing won't be as big a flop as the Chumby. 2012-12-16T03:46:48 -!- NonaSuomy is now known as TeknoJuce 2012-12-16T03:46:54 -!- Laurenceb_ [~Laurence@host86-179-87-205.range86-179.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-16T03:55:20 -!- emeb [~ericb@71-36-180-224.phnx.qwest.net] has left ##stm32 [] 2012-12-16T04:08:43 <+dekar_> I don't think those ARMs are fun to use, too slow for me 2012-12-16T04:09:38 < zyp> depends on what you want to do 2012-12-16T04:10:47 <+dekar_> At work we're actually developing a system using the same SoC and I ran a few basic tests, reading from SATA (Intel SSD) was only around 70MB/s 2012-12-16T04:11:54 < zyp> and that would still beat a typical non-SSD laptop disk 2012-12-16T04:12:15 <+dekar_> My guess is that it will feel like those Atom netbooks, probably worse 2012-12-16T04:12:35 < zyp> yes 2012-12-16T04:12:37 < zyp> so what? 2012-12-16T04:12:47 <+dekar_> So I don't want one 2012-12-16T04:13:25 <+dekar_> "is good enough for most day-to-day code development, email checking, browsing etc." 2012-12-16T04:13:29 <+dekar_> I doubt it 2012-12-16T04:14:16 <+dekar_> It probably will have problems playing flash videos on youtube, well if you find a flash player for ARM GNU/Linux to begin with 2012-12-16T04:16:22 < zyp> I hear android has no problems playing flash media 2012-12-16T04:17:09 < zyp> and apparently the .so is directly compatible 2012-12-16T04:18:39 <+dekar_> any link? 2012-12-16T04:18:57 <+dekar_> The .so is compatible to what? Chrome? 2012-12-16T04:19:52 < zyp> the default browser pluging API, whatever that is 2012-12-16T04:20:00 < zyp> https://groups.google.com/forum/?fromgroups=#!topic/beagleboard/ac6uE3R241g <- see here for instance 2012-12-16T04:22:36 <+dekar_> zyp, firefox only, seems to be TI specific (you have to request the evaluation flash plugin from TI), also not for production use and deprecated :/ http://www.ti.com/tool/adobeflash-a8 2012-12-16T04:22:57 < zyp> irrelevant 2012-12-16T04:23:21 <+dekar_> if you say so, I'd rather pick x86 2012-12-16T04:23:27 < zyp> but I'm not interested in arguing this bullshit now 2012-12-16T04:24:40 < zyp> I'm not interested in that laptop either, but not because of performance 2012-12-16T04:24:55 < zyp> I'm more concerned about size 2012-12-16T04:26:50 <+dekar_> he doesn't say much about the size, does he? 2012-12-16T04:27:15 <+dekar_> I'd guess it would be around 13" 2012-12-16T04:27:29 < zyp> I mean thickness and weight 2012-12-16T04:48:42 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 264 seconds] 2012-12-16T05:23:51 -!- mrnuke [~mrnuke@c-98-196-107-247.hsd1.tx.comcast.net] has joined ##stm32 2012-12-16T05:24:16 -!- mrnuke [~mrnuke@c-98-196-107-247.hsd1.tx.comcast.net] has quit [Client Quit] 2012-12-16T05:44:51 < dongs> sup bloggers 2012-12-16T05:45:14 < dongs> waht bunnie laptop thing 2012-12-16T05:45:51 < dongs> haha i./mx cpu 2012-12-16T05:49:27 < dongs> lvds, in 2012 2012-12-16T05:49:29 < dongs> gg bunnie 2012-12-16T05:53:13 < baird> but it has muh freedams 2012-12-16T05:53:52 < zyp> well, it's clear who he's aiming for, with the «rpi compatible header» :p 2012-12-16T05:54:35 < baird> There's like... two entire daughterboards for the rpi to date. 2012-12-16T05:54:56 < zyp> and both are shit, right? 2012-12-16T06:02:30 < dongs> how can you have non-shit board for something that is shit 2012-12-16T06:02:49 < baird> The Gertboard and the Arduino thing.. 2012-12-16T06:03:17 < dongs> isnt gertboard all DIP parts or some other nonsense 2012-12-16T06:03:28 < baird> There were Apple][ cards for the Macintosh. There's an example of non-shit in shit. :) 2012-12-16T06:03:57 < dongs> i guess most normal people would disagree 2012-12-16T06:05:33 < zyp> too old to be relevant anyway 2012-12-16T06:06:00 < baird> You two are too Edgy for me. 2012-12-16T06:06:03 < gxti> actually bunnie's thing and rpi are pretty much polar opposites 2012-12-16T06:06:11 < gxti> considering rpi is some one-off broadcom chip with no docs 2012-12-16T06:06:37 < zyp> opposite on what scale? 2012-12-16T06:06:56 < gxti> hackability/reproducibility of the design 2012-12-16T06:07:22 < zyp> but yes, it looks overall better thought out 2012-12-16T06:07:24 < gxti> i mean sure you can't send that shit off to batchpcb 2012-12-16T06:07:55 < gxti> it's gonna be 6+ layers with fine traces 2012-12-16T06:08:08 < dongs> you can send it to dongspcb 2012-12-16T06:08:26 < gxti> but i don't want dicks drawn on the inner layers :( 2012-12-16T06:08:33 < dongs> yeah, you gotta watch out for that 2012-12-16T06:09:09 < zyp> oh, so I'm gonna get power dicks and ground dicks now? 2012-12-16T06:09:44 < baird> Board shipments would get conficated by Customs for the importation of pornography. 2012-12-16T06:10:11 < gxti> it's japan so the dicks would have to be sufficiently pixelated 2012-12-16T06:13:54 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 264 seconds] 2012-12-16T06:19:15 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-16T06:19:24 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-16T06:38:14 -!- emeb_droid [~androirc@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-16T06:41:12 -!- emeb_droid [~androirc@ip72-201-78-226.ph.ph.cox.net] has quit [Client Quit] 2012-12-16T06:41:13 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-16T06:47:07 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-16T07:24:52 * emeb_mac is interested in bunnie's arm laptop mainly because it's got an FPGA 2012-12-16T07:26:36 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-16T07:26:59 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has joined ##stm32 2012-12-16T07:26:59 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has quit [Changing host] 2012-12-16T07:26:59 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-16T07:37:04 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-16T08:33:40 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2012-12-16T08:35:37 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-16T08:47:45 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-16T09:09:50 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-16T09:20:27 -!- Thorn [~Thorn@2.92.117.63] has joined ##stm32 2012-12-16T09:20:27 -!- Thorn [~Thorn@2.92.117.63] has quit [Changing host] 2012-12-16T09:20:27 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-16T09:26:54 -!- dekar__ [~dekar@212.255.242.85] has joined ##stm32 2012-12-16T09:26:57 -!- mode/##stm32 [+v dekar__] by ChanServ 2012-12-16T09:30:33 -!- dekar_ [~dekar@212.255.255.66] has quit [Ping timeout: 245 seconds] 2012-12-16T09:35:03 -!- jef79m is now known as jef79m_lurking 2012-12-16T09:39:13 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has quit [Ping timeout: 245 seconds] 2012-12-16T09:41:48 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-16T09:45:53 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-16T10:34:39 < dongs> bloggin on blogs 2012-12-16T10:43:33 < dongs> attn baird http://shop.desutoys.com/ProductDetails.asp?ProductCode=dt0001 2012-12-16T10:48:18 -!- jef79m_lurking is now known as jef79m 2012-12-16T10:50:29 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-16T10:53:30 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 264 seconds] 2012-12-16T10:58:04 < baird> Superold. ?2008 2012-12-16T11:00:21 < dongs> i could order it to japan for $29.99 delivered. 2012-12-16T11:05:32 < baird> The companies facebook page is filled with complaints about stuff not shipping. 2012-12-16T11:05:59 < baird> Still, give me ideas for graffiting PB all over the place while bikecamping. 2012-12-16T11:07:27 < dongs> just graffiti dicks 2012-12-16T11:07:37 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-16T11:07:44 -!- jef79m is now known as jef79m_lurking 2012-12-16T11:24:13 -!- jef79m_lurking is now known as jef79m 2012-12-16T11:52:31 -!- jef79m is now known as jef79m_lurking 2012-12-16T12:05:20 -!- jef79m_lurking is now known as jef79m 2012-12-16T12:16:04 -!- baird [~cjb@ppp121-44-182-98.lns20.syd7.internode.on.net] has quit [Ping timeout: 252 seconds] 2012-12-16T12:16:18 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-16T12:24:28 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Remote host closed the connection] 2012-12-16T12:38:32 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-16T12:40:08 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-16T12:44:58 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-16T13:10:03 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-16T13:10:03 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-16T13:10:03 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-16T13:21:13 -!- jef79m is now known as jef79m_lurking 2012-12-16T13:35:15 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-16T13:35:15 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-16T13:35:15 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-16T13:35:19 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-16T13:57:15 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-16T14:30:31 -!- daku is now known as DaKu 2012-12-16T14:42:54 -!- Laurenceb_ [~Laurence@host86-179-87-205.range86-179.btcentralplus.com] has joined ##stm32 2012-12-16T14:51:29 -!- claude is now known as Claude 2012-12-16T15:19:49 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has joined ##stm32 2012-12-16T15:25:28 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2012-12-16T15:37:59 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-16T15:38:19 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has joined ##stm32 2012-12-16T15:45:03 -!- Tzacks [~zz@89.101.122.23] has joined ##stm32 2012-12-16T15:54:49 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-16T16:01:18 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 264 seconds] 2012-12-16T16:22:43 < dongs> way to fucking go. just noticed cheap china backglight driver i wanted to use wants min 6V in 2012-12-16T16:24:37 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-16T16:25:14 < zyp> heh 2012-12-16T16:29:17 < dongs> finally got usbee shit installed 2012-12-16T16:29:25 < dongs> apparently they had a separate downlaod for 64butt stuff 2012-12-16T16:29:31 < dongs> signal generator app is worthless 2012-12-16T16:36:11 < dongs> .. 2012-12-16T16:36:24 < dongs> it blue screened my bawx. 2012-12-16T16:36:36 < dongs> to the shitheap it goes 2012-12-16T16:37:08 < zyp> woah, I thought your windows were infallible 2012-12-16T16:37:30 < dongs> yeah. 2012-12-16T16:37:34 < dongs> and this is not even their own driver 2012-12-16T16:37:37 < dongs> its cypress cyusb 2012-12-16T16:37:40 < dongs> so they managed to some how fuck it 2012-12-16T16:37:46 < dongs> these guys are total news. 2012-12-16T16:37:48 < dongs> newbs rather 2012-12-16T16:43:43 < dongs> did you demolish the toilet with your giant butt again 2012-12-16T16:44:30 < zyp> flushable wipes? 2012-12-16T16:45:04 < dongs> flyback shits in diapers 2012-12-16T16:45:28 < dongs> hoping to snag this 4 pack of jap routers for < $10 http://auctions.c.yimg.jp/f04batchimg.auctions.yahoo.co.jp/users/1/0/6/1/pc_pax_0501-imgbatch_1355219032/520x390-2012121100143.jpg 2012-12-16T16:46:13 < zyp> then you can hook up all your isdn lines 2012-12-16T16:47:16 < dongs> zyp, ISDN is the best 2012-12-16T16:47:28 < zyp> yea, I've heard 2012-12-16T16:47:51 < dongs> its not much slower than my current cell service 2012-12-16T16:47:52 < zyp> you can even use both lines at the same time for double the speed! 2012-12-16T16:48:00 < dongs> zyp, no, only 64k is flatrate. 2012-12-16T16:48:04 < dongs> double it and youre fucked 2012-12-16T16:48:10 < zyp> :p 2012-12-16T16:48:40 < dongs> allt his talk is useless unless I can actualyl buy them 2012-12-16T16:48:53 < dongs> 10mins remaining :) 2012-12-16T16:49:08 < dongs> i bet your shit would run lunix 2012-12-16T16:49:13 < dongs> and thus be utterly useless to me 2012-12-16T16:49:40 < dongs> this runs some proprietary JapOS 2012-12-16T16:49:47 < dongs> so its great 2012-12-16T16:49:56 < dongs> no fucking idea. its NotLunix(tm). 2012-12-16T16:50:01 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2012-12-16T16:50:10 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-16T16:50:19 < dongs> useless fucking shitnode. 2012-12-16T16:51:08 < zyp> probably because they are not using your awesome isdn routers 2012-12-16T16:51:16 < dongs> yeah, exactly 2012-12-16T16:52:35 < dongs> you alreadyk now what your problem is 2012-12-16T16:54:37 < dongs> gay. 2012-12-16T16:55:49 < dongs> shitty fucking yahoo auto extension when bid in last 5 minutes. 2012-12-16T16:57:24 < dongs> looks like the other jap wants it more than me 2012-12-16T16:57:27 < dongs> already > 20. 2012-12-16T17:02:20 < dongs> oh what the fuck 2012-12-16T17:06:57 < dongs> .. lunix 2012-12-16T17:07:02 < dongs> thats exactly waht im trying to avoid. 2012-12-16T17:09:22 < dongs> hey dude, i dont wanna "tweak" shit 2012-12-16T17:09:24 < dongs> I just want shit it work 2012-12-16T17:09:28 < dongs> thats why im using something that works 2012-12-16T17:09:34 < dongs> i also need to run vpn tunnels and shit. 2012-12-16T17:09:43 < dongs> i am NOT wasting hours/days/weeks of my time to set that shit up 2012-12-16T17:09:50 < dongs> this stuff can di ipsec with 3 commands in cli 2012-12-16T17:09:53 < dongs> di=do 2012-12-16T17:12:07 < zyp> http://dl.ubnt.com/datasheets/edgemax/EdgeRouter_Lite_DS.pdf <- I'm considering getting one of these 2012-12-16T17:12:42 < dongs> lunex? 2012-12-16T17:13:08 < zyp> probably 2012-12-16T17:13:13 < zyp> I don't care as long as it works 2012-12-16T17:13:22 < dongs> wellfuck this. auction is ~$30, i dont need them at this price. 2012-12-16T17:13:51 < zyp> how fast is those you are looking at? 2012-12-16T17:13:53 < dongs> i have one coming for $10 next week which is hte one I actually need 2012-12-16T17:14:01 < dongs> fast? in waht sense 2012-12-16T17:14:14 < dongs> its RTX-1000 2012-12-16T17:14:14 < zyp> how much traffic can you put through them? 2012-12-16T17:14:20 < dongs> i think 200mbit vpn throughput 2012-12-16T17:14:28 < dongs> not a worry for my ISDN though 2012-12-16T17:14:46 < Laurenceb_> trained midget professional wrestlers 2012-12-16T17:16:22 < dongs> zyp: http://jp.yamaha.com/products/network/routers/rtx1000/ check out the orignal price 2012-12-16T17:16:55 < zyp> :) 2012-12-16T17:18:10 < gxti> doesn't look very useful 2012-12-16T17:18:21 < gxti> 2002? 2012-12-16T17:18:32 < dongs> it does the job better than any lunix could do in 2012 2012-12-16T17:18:39 < gxti> no, it does not 2012-12-16T17:18:46 < dongs> yep, it does. 2012-12-16T17:18:54 < dongs> I can plug it in and have it working in 5 minutes. 2012-12-16T17:19:26 < dongs> and i dont hve to worry about packages, assholes on irc, hackers, man pages, etc ec. 2012-12-16T17:19:38 < gxti> then use pfsense and you won't 2012-12-16T17:19:49 < gxti> you're just afraid to try anything :p 2012-12-16T17:20:10 < Thorn> btw do you know about a linux bug with vpn tunnels? system can lock up hard if remote tunnel IP is the same as vpn peer IP 2012-12-16T17:20:28 < Thorn> this hasn't been fixed for many years, maybe it's still there now 2012-12-16T17:20:45 < zyp> cool story bro 2012-12-16T17:21:31 < Thorn> I've had it happen to me multiple times with openl2tpd and other packages 2012-12-16T17:22:07 < zyp> you'd better switch to windows 2012-12-16T17:22:16 < dongs> gxti: oh, my previous list of things not to worry about didnt include "updates" 2012-12-16T17:22:54 < Thorn> or rather it *will* lockup if the system tries to send traffic through the tunnel when it's closed (due to some kind of timeout) 2012-12-16T17:23:03 < gxti> yeah, you don't have to worry about updates beacuse there will never be any for that yamaha POS 2012-12-16T17:23:12 < gxti> it'll be full of holes but at least you don't have to update /s 2012-12-16T17:23:53 < dongs> gxti: um, it got an update in like 2011 if not 2012 2012-12-16T17:24:01 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-16T17:24:05 < dongs> ive used these since around 2004 and had zero issues 2012-12-16T17:24:06 < gxti> dongs: AHHHH UPDATES 2012-12-16T17:24:13 < gxti> it buuurrrrns 2012-12-16T17:24:21 < dongs> gxti: yeah, your point? 2012-12-16T17:24:29 < dongs> gxti: i load it and it runs again for a year 2012-12-16T17:25:02 < dongs> gxti: when was the last time you upgraded your ubunto from Hardly Boner to Donging Dolphin or whatever. 2012-12-16T17:25:09 < dongs> breaking every fucking shit in the process. 2012-12-16T17:25:16 < gxti> dongs: i don't use ubunnypoo, but that has nothing to do with routers 2012-12-16T17:25:25 < gxti> pfsense isn't even linux 2012-12-16T17:25:29 < dongs> i dont care 2012-12-16T17:25:48 < dongs> until there's a lunix or non-lunix I can install without breaking any previous functionality, its irrelevant 2012-12-16T17:26:01 < gxti> and you'll never find one because you will never bother trying 2012-12-16T17:26:41 < dongs> gxti, surely youre not trying to say that a hardware solution which is designed for routing stuff is inferior to some opensauce crap that I will need to maintain daily 2012-12-16T17:27:09 < dongs> do you know what was on frontpage of ipchains/iptables/wahtever lunix failwall shit for YEARS? 2012-12-16T17:27:20 < dongs> a fucking SCOREBOARD of WHO COMMITTED MORE LINES OF CODE 2012-12-16T17:27:25 < dongs> thats fucking IT 2012-12-16T17:27:33 < Thorn> iptables is actually pretty good. 2012-12-16T17:27:37 < dongs> no docs, no manual, no setup instrucitons/ fucking NOTHING 2012-12-16T17:27:45 < dongs> Thorn: yeah if your time is worthless. 2012-12-16T17:27:48 < gxti> i have no idea what you're even talking about anymore 2012-12-16T17:27:57 < dongs> gxti: lunix sucking, mostly. 2012-12-16T17:28:21 < gxti> anyway, i don't "maintain daily" my router, i could ignore it for 5 years and it'd be secure 2012-12-16T17:28:39 < gxti> but there's no point in arguing with you because you'll never learn anythign 2012-12-16T17:28:42 < zyp> this alix shit I were running vyatta on was too slow to keep up last time my ISP upgraded my connection speed 2012-12-16T17:29:43 < zyp> it kept up fine when I had a 20 Mb/s downlink 2012-12-16T17:30:00 < zyp> but I didn't see a huge increase when ISP bumped my connection to 70 Mb/s 2012-12-16T17:30:05 < zyp> until I connected around it 2012-12-16T17:32:55 < Thorn> wtf. my pcb manufacturer requires silkscreen font to be minimum 1.5mm high. this is huge 2012-12-16T17:36:23 < gxti> lol wut 2012-12-16T17:37:57 -!- Oldboy is now known as HotBabe 2012-12-16T17:38:07 -!- HotBabe is now known as HornyGirl 2012-12-16T17:38:24 < gxti> sounds 100% lefit 2012-12-16T17:38:25 < gxti> legit* 2012-12-16T17:40:42 < zyp> dongs, did you get your nexus yet? 2012-12-16T17:42:08 -!- HornyGirl is now known as ziggggy 2012-12-16T17:42:32 -!- ziggggy is now known as Oldboy 2012-12-16T17:42:53 < dongs> yeah few days ago 2012-12-16T17:44:04 < zyp> how do you like it? 2012-12-16T17:44:08 < dongs> pretty good 2012-12-16T17:44:18 < dongs> but i guess anything is better than the shitheap i had 2012-12-16T17:44:28 < dongs> a bunch of annoying shit in assdroid 4.2 but I got it disabled 2012-12-16T17:44:32 < dongs> lock widgets = dumb 2012-12-16T17:44:40 < dongs> something else that was pissing me off that I trashed 2012-12-16T17:45:25 < dongs> but this is al lsoftware stuff. hardware is fine 2012-12-16T17:45:40 < dongs> screen is real nice. 2012-12-16T17:45:42 < zyp> :) 2012-12-16T17:46:03 < zyp> mine is supposed to arrive in stock today, so hopefully I'll have it in a few days 2012-12-16T17:46:10 < gurgalof> android is shit on tablets 2012-12-16T17:46:18 < gurgalof> on phones its great 2012-12-16T17:46:35 < dongs> < gurgalof> shit tablets 2012-12-16T17:46:39 < dongs> ^ fix'd for ya. 2012-12-16T17:46:48 < gurgalof> on a tablet i want a real os like lunix 2012-12-16T17:46:59 < dongs> snort. 2012-12-16T17:47:01 < dongs> k, goin to sleep 2012-12-16T17:47:10 < dongs> flyback: no, its boring. 2012-12-16T17:47:15 < dongs> + im stupid + assburgers. 2012-12-16T17:51:16 <+Steffanx> flyback knows this channel is publicly logged? :P 2012-12-16T17:52:22 <+Steffanx> oops, nvm ?) 2012-12-16T17:52:26 <+Steffanx> :) 2012-12-16T17:52:48 <+Steffanx> English is hard sometimes :P 2012-12-16T17:55:30 < rlc> flyback: you can come back to #electronics 2012-12-16T17:55:44 <+Steffanx> Maybe he doesn;t want to 2012-12-16T18:00:27 < Thorn> so I ended up using ft232rl in a stm32-based device. hopefully it won't look too stupid. 2012-12-16T18:03:24 < dongs> Thorn: it already does, beacuse you shoulda used CP2102 2012-12-16T18:03:39 < Thorn> ... 2012-12-16T18:03:51 < dongs> why the fuck would you use a $7 chip when you can use a $1 chip instead 2012-12-16T18:03:55 < dongs> that does same thing 2012-12-16T18:04:18 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 264 seconds] 2012-12-16T18:04:32 < gxti> where is it a $1 chip? 2012-12-16T18:04:35 < gxti> i 2012-12-16T18:04:49 < gxti> i've been using MCP2200 but it's kind of wonky sometimes 2012-12-16T18:05:21 < dongs> i buy my shit from waveshare 2012-12-16T18:05:24 < dongs> its cheap ther. 2012-12-16T18:06:15 < dongs> http://www.wvshare.com/product/CP2102-GM.html ofcourse their site is ded 2012-12-16T18:06:22 < dongs> h,m no works for me 2012-12-16T18:06:36 < dongs> gxti: $1 @ 100, and i usualy buy 250-ish or so at once 2012-12-16T18:07:18 < gxti> ships from japan i presume? 2012-12-16T18:07:26 < dongs> wvshare? no they're china. 2012-12-16T18:07:47 < zyp> site works for me 2012-12-16T18:07:48 < gxti> durr, yeah 2012-12-16T18:07:58 < dongs> its a fairly standard chip for all those $3 usbserial dongles on ebay 2012-12-16T18:08:09 < gxti> yeah i'm familiar with the part's proliferation 2012-12-16T18:09:03 < gxti> although most of the ones i have are pl2303 2012-12-16T18:09:06 < zyp> they also have ft232rl for $2.6 at same qty, so $7 vs $1 is not a fair argument 2012-12-16T18:09:19 < dongs> PL2303 fucking sucks though 2012-12-16T18:09:25 < dongs> both hardware and drivers 2012-12-16T18:09:34 < zyp> but $2.6 vs $1 is still an argument 2012-12-16T18:09:48 < dongs> zyp, ueah but ftdi are just cocks. 2012-12-16T18:09:50 < dongs> so it doesnt matter 2012-12-16T18:09:52 < gxti> in quantity yes 2012-12-16T18:10:04 < dongs> preying on the tarrduino crowd 2012-12-16T18:10:08 < rlc> why not get a usb uC instead? 2012-12-16T18:10:18 < gxti> dongs: no, the tarduinos are doing it to themselves 2012-12-16T18:10:44 < zyp> ftdi have a bunch of extra features that could be useful though 2012-12-16T18:10:47 < zyp> depending on what you do 2012-12-16T18:10:56 < gxti> they've "standardized" on it just like they've "standardized" on eagle 2012-12-16T18:11:02 < dongs> heh 2012-12-16T18:11:03 < qyx_> dongs: no problem with pl2303 in my 5y old converter 2012-12-16T18:11:16 < dongs> qyx, must be using lunix 2012-12-16T18:11:21 < qyx_> yes of course 2012-12-16T18:11:27 < dongs> ^ found your problem. 2012-12-16T18:11:36 < qyx_> problem? 2012-12-16T18:11:37 < gxti> dongs: you're the one who says it fucking sucks, works great here :p 2012-12-16T18:12:03 < gxti> pl2303, cp2012, ftdi, all works quite fine no drivers no ini files no "hurr looking for drivers durr" :p 2012-12-16T18:12:34 < gxti> i'd never *buy* a pl2303 2012-12-16T18:12:46 < gxti> but the adapters i happen to have have them, and it's not like it says on the box what you're going to get 2012-12-16T18:13:36 < gxti> k 2012-12-16T18:13:37 < qyx_> lol 2012-12-16T18:13:37 < Thorn> anyway I have to order the PCBs tomorrow and they need to work first time. switching to f4 would take too much time and I already have a working device with this f1 mcu, so the pattern and half ot the schematics are tested 2012-12-16T18:13:48 < gxti> Thorn: go nuts 2012-12-16T18:15:53 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2012-12-16T18:16:28 < Thorn> I'd also like to take the opportunity to thank ST for being unable to use usb and can at the same time in stm32f103. 2012-12-16T18:16:40 < dongs> o rite 2012-12-16T18:18:17 -!- |sark [~|sark@37.247.88.155] has quit [Read error: Connection reset by peer] 2012-12-16T18:18:38 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2012-12-16T18:18:42 -!- |sark [~|sark@37.247.88.155] has quit [Read error: Connection reset by peer] 2012-12-16T18:18:59 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2012-12-16T18:18:59 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2012-12-16T18:18:59 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-16T18:19:08 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2012-12-16T18:19:12 -!- |sark [~|sark@37.247.88.155] has quit [Client Quit] 2012-12-16T18:19:56 < rlc> Thorn: what's the issue? 2012-12-16T18:22:19 < dongs> rlc, his product/project/whatever is a USB>CAN shit. 2012-12-16T18:22:37 < dongs> can/usb share same buffers on F103 2012-12-16T18:22:42 < dongs> so you cant use them at same time. 2012-12-16T18:27:40 < emeb_mac> dongs is still up? 2012-12-16T18:38:31 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Remote host closed the connection] 2012-12-16T18:41:04 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-16T18:46:59 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-16T18:53:43 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-16T19:01:50 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-16T19:04:08 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-16T19:25:41 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-16T19:27:07 <+dekar__> dongs, if one f103 isn't enough, use two :D 2012-12-16T19:28:31 < gxti> using a single f4 would be cheaper :p 2012-12-16T19:29:07 < gxti> might not be a drop-in replacement depending on the f103 footprint 2012-12-16T19:40:37 < rlc> use a microchip uc it's cheap 2012-12-16T19:40:59 < emeb> BLASPHEMY! 2012-12-16T19:43:28 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-16T19:44:39 < rlc> you cannot cut cost without giving up on something else 2012-12-16T19:48:35 < gxti> nonsense. i want everything, i want it cheap, and i want it yesterday! 2012-12-16T19:49:24 < rlc> everything come at a price! 2012-12-16T19:55:05 < Laurenceb_> i think someone is referencing tomm6 for rcgroups 2012-12-16T19:55:10 < Laurenceb_> *tom66 2012-12-16T19:57:11 * Laurenceb_ lols at scrollback 2012-12-16T19:57:19 < Laurenceb_> anti terror clown patrol 2012-12-16T20:43:03 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-16T20:54:42 * jpa- soaked his laptop in vinegar 2012-12-16T21:00:12 -!- jef79m_lurking is now known as jef79m 2012-12-16T21:01:27 * emeb is not going to ask what jpa- was doing with vinegar near his laptop 2012-12-16T21:01:42 < jpa-> transporting pickles 2012-12-16T21:01:53 < gxti> i hope you have a license for that 2012-12-16T21:02:02 < gxti> transporting pickles without a license is a serious offense 2012-12-16T21:04:28 < emeb> a) shut down b) take out battery c) disassemble d) rinse PCBs with deionized H20 e) dry thouroughly f) reassemble 2012-12-16T21:04:53 < emeb> g) hope you didn't get any acid/brine on the HD 2012-12-16T21:05:01 < emeb> (esp in the vent holes) 2012-12-16T21:09:58 < jpa-> emeb: yeah yeah, done that hours ago 2012-12-16T21:10:31 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-16T21:10:47 < jpa-> but there was already white foam coming out of the grooves in the LCD, so the prognosis is not that good 2012-12-16T21:10:55 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has joined ##stm32 2012-12-16T21:10:55 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has quit [Changing host] 2012-12-16T21:10:55 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-16T21:13:27 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-16T21:14:38 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-16T21:15:02 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has joined ##stm32 2012-12-16T21:15:03 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200120.dsl.bell.ca] has quit [Changing host] 2012-12-16T21:15:03 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-16T21:17:00 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 256 seconds] 2012-12-16T21:23:54 < emeb> oh dear 2012-12-16T21:24:16 <+Steffanx> oh oh 2012-12-16T21:24:25 < jpa-> but if it doesn 2012-12-16T21:24:48 < jpa-> t work anymore, i'll get a new new one as a christmas present to myself :) 2012-12-16T21:25:19 < emeb> http://www.youtube.com/watch?v=jHPOzQzk9Qo 2012-12-16T21:34:58 -!- jef79m is now known as jef79m_lurking 2012-12-16T21:35:13 <+Steffanx> You deserve it jpa- 2012-12-16T21:35:30 < jpa-> why?? 2012-12-16T21:35:37 <+Steffanx> dunno 2012-12-16T21:35:42 < jpa-> :( 2012-12-16T21:35:53 <+Steffanx> a new laptop i mean :P{ 2012-12-16T21:35:54 < emeb> I think he means you deserve a new laptop. 2012-12-16T21:36:02 < jpa-> :P 2012-12-16T21:36:12 < jpa-> not that fun when i have to pay for it myself 2012-12-16T21:36:31 < emeb> wonder what the white foam was. 2012-12-16T21:36:48 < emeb> something on the LCD assembly reacting with the acetic acid. 2012-12-16T21:37:00 < emeb> maybe you rinsed it off in time to prevent too much damage. 2012-12-16T21:37:03 < jpa-> emeb: i think it was vinegar reacting with aluminum or steel 2012-12-16T21:37:34 < emeb> that's not likely to result in serious problems. 2012-12-16T21:37:57 < jpa-> it did work when i took it out of the backpack (it was in suspend so i resumed it for a brief instant to see if there was any hope / any need to rinse even; display was a bit funny but i was able to shut it down cleanly) 2012-12-16T21:38:28 < jpa-> but yeah, the laptop is already 5 years old so not that bad if it breaks now 2012-12-16T21:38:59 < jpa-> in the mean time, i'm using my old laptop which is from 1999.. 2012-12-16T21:39:07 < emeb> Wow. 2012-12-16T21:39:23 < jpa-> better avoid doing any F4 work, it might get yealous of the megahertz 2012-12-16T21:39:31 < emeb> lol 2012-12-16T21:39:35 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 260 seconds] 2012-12-16T21:40:01 < jpa-> ssh is running a bit slow because the processor is quite loaded doing both SSH encryption and WPA2 encryption 2012-12-16T21:40:20 < emeb> I wonder if my '99 laptop would even run a current OS 2012-12-16T21:40:51 < jpa-> this runs xubuntu 08.10.. and it even had a hibernated session from 2010 2012-12-16T21:41:06 < jpa-> too bad that the uptime counter rolls over in old linux kernels.. 21:40:19 up -24855 days, -3:-14, 3 users, load average: 0.15, 0.32, 0.56 2012-12-16T21:41:21 < emeb> interesting that you'd been keeping it current. Mine went out to the garage years ago. 2012-12-16T21:41:39 < jpa-> "current" :) 2012-12-16T21:41:51 < emeb> for certain values of "current" 2012-12-16T21:42:01 < jpa-> but yeah, apparently i have upgraded it even after i got the new laptop 2012-12-16T21:42:34 < jpa-> not sure why.. i think my wife used this when she still wasn't my wife and was visiting here 2012-12-16T21:42:51 < emeb> the visitor's computer 2012-12-16T21:43:25 < jpa-> yeah, the one that requires explaining "you can use firefox if you want, but if it is a simple webpage you could use dillo instead" 2012-12-16T21:44:55 * emeb thinks dark thoughts about a client who asked for something difficult and probably useless 2012-12-16T21:49:56 -!- Tzacks [~zz@89.101.122.23] has quit [Quit: Tzacks] 2012-12-16T21:52:33 < Thorn> Olimex put a 20-pin debug connector on a lpc11c24 (swd only) board. 2012-12-16T21:52:47 < emeb> heh 2012-12-16T21:53:53 < emeb> oh look - Oli is doing an AM335x board. 2012-12-16T22:00:23 <+Steffanx> I was going to give a reply to that, but I don't have to hear flyback history again :P 2012-12-16T22:00:27 <+Steffanx> no offence 2012-12-16T22:02:22 < qyx_> is anyone using geda-gschem and geda-pcb? 2012-12-16T22:02:29 < emeb> qyx_: I do 2012-12-16T22:02:34 < qyx_> is it usable? 2012-12-16T22:02:49 < emeb> I think so :) 2012-12-16T22:03:02 < qyx_> ok, thx, ill try 2012-12-16T22:03:30 < emeb> It has warts, like everything. 2012-12-16T22:07:12 < rlc> am335x? Are not those BGAs only? 2012-12-16T22:07:19 < emeb> yep 2012-12-16T22:07:31 < rlc> so minimum 6 layers? 2012-12-16T22:07:38 < emeb> probly 2012-12-16T22:07:50 < rlc> $$$ 2012-12-16T22:07:59 < emeb> eh - depends on volume. 2012-12-16T22:08:12 < emeb> I wouldn't use it for a one-off personal project. 2012-12-16T22:08:16 < rlc> what kind of volume would be cost effective? 2012-12-16T22:08:26 < jpa-> qyx_: i think zyp uses it also 2012-12-16T22:08:29 < emeb> 100? 2012-12-16T22:08:36 < emeb> zyp uses eagle 2012-12-16T22:08:50 < rlc> 100 only? I thought you would say 10K 2012-12-16T22:09:23 < emeb> you don't have to get very large qty of PCBs fabbed for the costs to plummet. 2012-12-16T22:09:25 < jpa-> it would probably be ok at 20 pieces already 2012-12-16T22:09:44 < jpa-> (if you only consider manufacturing and not design costs) 2012-12-16T22:10:02 < rlc> at 100 could a board cost below $10? 2012-12-16T22:10:15 < emeb> just the PCB? easily. 2012-12-16T22:10:16 < jpa-> probably not 2012-12-16T22:10:32 < jpa-> or depends of course on the size etc. 2012-12-16T22:10:46 < rlc> I asked for a quote for 4 layers and it was $5K for 10 2012-12-16T22:10:50 < emeb> guy I work with does runs of 1-200 of 4 layer boards and they run < $5 2012-12-16T22:10:56 < rlc> so $500 each 2012-12-16T22:11:00 < jpa-> rlc: you probably asked from a bad place 2012-12-16T22:11:03 < zyp> rlc, depends who you ask 2012-12-16T22:11:29 < rlc> well, minimum was about $1700 for 10 2012-12-16T22:11:37 <+Steffanx> seeed :P 2012-12-16T22:11:40 <+Steffanx> or dong$ 2012-12-16T22:11:44 < jpa-> rlc: and anyway, oshpark does 4-layer very cheaply (though it may not be good enough for big BGAs) 2012-12-16T22:11:53 < rlc> dongs does PCB?? 2012-12-16T22:12:02 < jpa-> dongs does everything 2012-12-16T22:12:10 -!- barthess [~barthess@77.67.242.136] has joined ##stm32 2012-12-16T22:12:18 * emeb bites tongue 2012-12-16T22:12:20 < rlc> who much does he do his pcb? 2012-12-16T22:12:29 <+Steffanx> but dong$ is at own risk of course.. he can troll you when he wants to :P 2012-12-16T22:12:53 < rlc> meaning he is not honest? 2012-12-16T22:12:59 <+Steffanx> Nah, he is.. i think 2012-12-16T22:13:02 < jpa-> meaning he is not a company 2012-12-16T22:13:16 < rlc> ah, therefore no guarantee 2012-12-16T22:13:24 <+Steffanx> dong$ is a company 2012-12-16T22:13:30 <+Steffanx> but not that kind of company :P 2012-12-16T22:13:34 < zyp> http://bin.jvnv.net/f/DheuF.jpg <- I seem to recall this panel was about $500 2012-12-16T22:13:45 < zyp> through some norwegian rip-off middleman :p 2012-12-16T22:14:07 < zyp> I thought it was way overpriced, but I weren't the one paying, I only designed it 2012-12-16T22:14:12 < rlc> does he has a website? 2012-12-16T22:14:15 < zyp> (four layers) 2012-12-16T22:15:01 < rlc> zyp: so $50 each board... 2012-12-16T22:15:16 < zyp> you can't count it like that 2012-12-16T22:15:28 < zyp> getting 20 would probably not be significantly more expensive 2012-12-16T22:15:34 < zyp> it's the setup costs that gets you 2012-12-16T22:16:17 < rlc> what approximate volume would bring the cost to $5 a board? 2012-12-16T22:16:29 < zyp> rlc, what bga chip are you planning to work with? 2012-12-16T22:16:45 < rlc> stm32 2012-12-16T22:16:54 < zyp> which? 2012-12-16T22:17:13 < rlc> let me check, there's one at 0.65mm iirw 2012-12-16T22:17:17 < zyp> and why? 2012-12-16T22:17:27 < rlc> I need compactness 2012-12-16T22:17:30 < zyp> 0.65mm pitch? that's going to be expensive 2012-12-16T22:19:58 -!- NonaSuomy is now known as TeknoJuce 2012-12-16T22:20:49 < rlc> It's still better than 0.4mm 2012-12-16T22:21:27 < rlc> perhaps 0.65mm can be done without microvias 2012-12-16T22:22:13 < Thorn> what vias are needed? 0.3mm annular? 2012-12-16T22:22:28 -!- DaKu is now known as daku 2012-12-16T22:22:45 -!- daku is now known as DaKu 2012-12-16T22:23:04 < emeb> zyp: what was the pitch on the LPC4357? 2012-12-16T22:23:22 < zyp> I'm just thinking that at 0.65 you probably have to go with via in pad, which means they have to be plugged to not affect the solder joint 2012-12-16T22:23:27 < zyp> emeb, 1mm 2012-12-16T22:24:05 < emeb> right - and that was tight for via sizing. 2012-12-16T22:24:08 < zyp> I think that's around the limit for what you can do on standard spec four layer processes 2012-12-16T22:24:30 < zyp> yep, oshpark vias are not small enough for that 2012-12-16T22:28:42 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-12-16T22:29:33 < jpa-> rlc: are you sure QFN wouldn't be compact enough? 2012-12-16T22:30:04 -!- jef79m_lurking is now known as jef79m 2012-12-16T22:30:10 < zyp> good suggestion 2012-12-16T22:32:38 < zyp> for small pincounts bgas aren't that much smaller than a comparable qfn 2012-12-16T22:40:00 < jpa-> especially as 0.5mm pitch qfn is easy to route 2012-12-16T22:43:24 < zyp> yeah 2012-12-16T22:51:37 < Laurenceb_> but lqfp is even easier 2012-12-16T22:51:42 < Laurenceb_> as you can route under it 2012-12-16T22:52:30 -!- Claude is now known as claude 2012-12-16T22:52:38 < zyp> unless you need a large thermal pad for dissipation, nothing prevents you from routing under qfn 2012-12-16T22:54:17 -!- jef79m is now known as jef79m_lurking 2012-12-16T22:54:29 -!- jef79m_lurking is now known as jef79m 2012-12-16T22:59:39 < rlc> jpa-: stm32 comes in QFN? 2012-12-16T23:01:07 < rlc> Thorn: perhaps 8 mils? 2012-12-16T23:01:12 < gxti> 48 pins and below, yes 2012-12-16T23:03:05 < rlc> zyp: are plugged vias expensive? 2012-12-16T23:03:20 < zyp> dunno, never did them 2012-12-16T23:12:41 -!- flk_ [~flk@po1-84-90-249-34.netvisao.pt] has joined ##stm32 2012-12-16T23:13:07 <+Steffanx> Yes you did 2012-12-16T23:14:05 < rlc> so how much it costed? 2012-12-16T23:15:57 -!- jef79m is now known as jef79m_lurking 2012-12-16T23:17:38 < zyp> Steffanx, huh? 2012-12-16T23:30:30 -!- barthess [~barthess@77.67.242.136] has quit [Quit: Leaving.] 2012-12-16T23:34:25 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] --- Day changed Mon Dec 17 2012 2012-12-17T00:10:35 -!- SolidLiq [~solidarit@unaffiliated/solidliq] has joined ##stm32 2012-12-17T00:10:52 < SolidLiq> anyone know where to get the 25x2 female pin headers to go with the Discovery board? 2012-12-17T00:15:29 <+Steffanx> zyp :P 2012-12-17T00:15:40 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-17T00:22:08 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has quit [Ping timeout: 245 seconds] 2012-12-17T00:24:48 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has quit [Ping timeout: 264 seconds] 2012-12-17T00:25:13 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-12-17T00:25:18 -!- Tom_itx [~Tl@unaffiliated/toml/x-013812] has left ##stm32 [] 2012-12-17T00:27:13 < zyp> Steffanx, huh? 2012-12-17T00:27:26 < zyp> are you just being full of shit today? 2012-12-17T00:27:43 <+Steffanx> Sure.. i've been VERY active today 2012-12-17T00:29:20 -!- flk__ [~flk@po-217-129-155-82.netvisao.pt] has joined ##stm32 2012-12-17T00:29:20 -!- flk_ [~flk@po1-84-90-249-34.netvisao.pt] has quit [Read error: Connection reset by peer] 2012-12-17T00:35:05 < emeb> zyp: any luck with the null data you were getting from the host in your USB Audio testing? 2012-12-17T00:35:14 -!- jef79m_lurking is now known as jef79m 2012-12-17T00:37:11 < zyp> no, I didn't put much more work into it 2012-12-17T00:39:48 < emeb> seems like it might be OS dependent. 2012-12-17T00:40:12 < zyp> I suspect it's just something upstream that's underrunning because I'm suddenly requesting a lot more data than I should, because the feedback signal aren't calculated properly 2012-12-17T00:40:35 < emeb> makes sense. 2012-12-17T00:40:41 < zyp> it's just silence, so it might not be the OS, but the player providing data to the OS 2012-12-17T00:41:04 < emeb> probably need to put some sort of slew-rate limiting on the adjustment. 2012-12-17T00:41:13 < zyp> yeah 2012-12-17T00:42:08 < zyp> I tried making up some simple 1-tap FIR by doing (new + 7 * old) / 8, but it didn't really turn out much better :p 2012-12-17T00:42:24 < zyp> sorry, IIR 2012-12-17T00:42:29 < emeb> :) 2012-12-17T00:43:23 < zyp> but I think I need to improve the API of my USB driver a bit first 2012-12-17T00:43:47 < emeb> cracks starting to form? 2012-12-17T00:44:39 < zyp> it's just that I still haven't implemented a callback telling me that a packet has been sent or dropped or whatever 2012-12-17T00:44:53 < zyp> and then it's the insane frame number filtering thing of the dwc core 2012-12-17T00:45:33 < zyp> you have to manually set whether an outgoing isochronous transfer should be sent on an even or an odd frame number 2012-12-17T00:45:54 < emeb> interesting 2012-12-17T00:45:55 < Laurenceb_> lol 1 tap fir 2012-12-17T00:46:06 < Laurenceb_> this is nice 2012-12-17T00:46:08 < Laurenceb_> http://t-filter.appspot.com/fir/index.html 2012-12-17T00:47:00 < emeb> cute 2012-12-17T00:47:21 < emeb> oh look - it even gives you C source 2012-12-17T00:51:06 < emeb> heh - doesn't like it when you give it a very narrow transition band. Locks up... 2012-12-17T00:52:02 <+Steffanx> Don't break it emeb 2012-12-17T00:52:17 < emeb> couldn't help myself :) 2012-12-17T00:52:45 < emeb> think I'll stick w/ Matlab. 2012-12-17T00:54:38 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-17T00:57:53 -!- jef79m is now known as jef79m_lurking 2012-12-17T01:02:35 -!- DaKu is now known as daku 2012-12-17T01:20:32 -!- jef79m_lurking is now known as jef79m 2012-12-17T01:22:32 -!- flk__ [~flk@po-217-129-155-82.netvisao.pt] has quit [Ping timeout: 255 seconds] 2012-12-17T01:36:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-17T02:07:30 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-17T02:17:31 < dongs> sup dongs 2012-12-17T02:17:36 < dongs> advertising my pcb service i see 2012-12-17T02:18:43 < dongs> 05:10 < rlc> at 100 could a board cost below $10? 2012-12-17T02:19:05 < dongs> easily, 4l production in m^2 panel costs same as 10 protos and depending on size you can easily get > 100 boards from a panel 2012-12-17T02:23:53 -!- Laurenceb_ [~Laurence@host86-179-87-205.range86-179.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2012-12-17T02:25:53 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2012-12-17T02:46:26 -!- jef79m is now known as jef79m_lurking 2012-12-17T02:52:58 -!- jef79m_lurking is now known as jef79m 2012-12-17T03:03:42 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-17T03:35:36 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-17T04:03:06 -!- rlc_ [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2012-12-17T04:17:25 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-17T04:17:30 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Excess Flood] 2012-12-17T04:17:47 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-17T04:17:47 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has left ##stm32 [] 2012-12-17T04:18:18 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-17T04:25:14 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-17T04:30:13 < dongs> is dual nfet really the cheapest way to do level shifting for i2c 2012-12-17T04:30:17 < dongs> seems like so fucking ghetto 2012-12-17T04:30:21 < dongs> http://ics.nxp.com/support/documents/interface/pdf/an97055.pdf 2012-12-17T04:34:42 < emeb> I think TI sells a part that does basically that. 2012-12-17T04:34:57 < Bird|lappy> emeb, yeah 2012-12-17T04:35:05 < Bird|lappy> PCA9506? 2012-12-17T04:36:33 < emeb> txs0102 is the one I remember 2012-12-17T04:38:30 -!- rlc_ is now known as rlc 2012-12-17T04:46:09 < dongs> rlc, you missed all the fun. 2012-12-17T04:46:27 < dongs> 09:18 < dongs> 05:10 < rlc> at 100 could a board cost below $10? 2012-12-17T04:46:27 < dongs> 09:19 < dongs> easily, 4l production in m^2 panel costs same as 10 protos and depending on size you can easily get > 100 boards from a panel 2012-12-17T04:46:30 < rlc> dongs: copy and paste please 2012-12-17T04:47:10 < dongs> emeb: fuckin expensive 2012-12-17T04:47:19 < dongs> (txs0102 2012-12-17T04:47:58 < rlc> dongs: where are your boards from? 2012-12-17T04:48:18 < dongs> best korea. quality is best you'ev ever seen 2012-12-17T04:49:19 < rlc> dongs: how much you do 4l, say 15x8cm? 2012-12-17T04:51:27 < dongs> size doenst matter much for 4L, its the initial setup that makes it expensive. 2012-12-17T04:52:47 < dongs> i guess around 260-ish for protos which gets you 10 boards or about same for production, which gets you however many fit into a m^2 panel 2012-12-17T04:55:02 < dongs> and yeah, we can do tented vias and via in pad, and like 4/4mil rules. 2012-12-17T04:56:44 < dongs> emeb: dual n-fet stuff is so disgustingly cheap 2012-12-17T04:56:55 < dongs> like 13c/chip 2012-12-17T04:57:00 < dongs> dedicated shifters dont come close :( 2012-12-17T04:57:40 < dongs> http://www.digikey.com/product-detail/en/DMN65D8LDW-7/DMN65D8LDW-7DICT-ND/2890886 i.e shit like this 2012-12-17T04:58:45 < dongs> too small though,heh 2012-12-17T05:07:54 < rlc> dongs: sounds great! 2012-12-17T05:08:36 < rlc> dongs: the 4/4 rules is it more expensive? 2012-12-17T05:09:09 < dongs> depends, rules not so, but tented via goes to more expensive process. 2012-12-17T05:09:14 < dongs> depends on gerbers really. 2012-12-17T05:09:43 < rlc> dongs: by tented vias you mean it has solder mask on it? 2012-12-17T05:09:55 < dongs> no, like via in pad thats covered 2012-12-17T05:10:06 < dongs> i.e. for high pitch bga shit 2012-12-17T05:10:27 < dongs> sory, yeah not tented. wrong term. 2012-12-17T05:10:49 < rlc> ah, you mean plugged vias! 2012-12-17T05:10:51 < dongs> yeah 2012-12-17T05:10:52 < dongs> plugged. 2012-12-17T05:11:01 < rlc> cool!! I need that 2012-12-17T05:11:24 < rlc> dongs: you have a website? 2012-12-17T05:11:36 < dongs> rlc: all in japanese, not sure if it would be useful to you. 2012-12-17T05:11:55 < rlc> don't worry 2012-12-17T05:12:34 < rlc> dongs: are you japanese or korean? 2012-12-17T05:13:29 < dongs> no im black+jewish. though I don't see how that has any relevance :) 2012-12-17T05:14:37 < rlc> I thought if you were japanese, and living in japan why would you fab your pcbs in korea 2012-12-17T05:14:59 < dongs> because this: < rlc> I asked for a quote for 4 layers and it was $5K for 10 2012-12-17T05:15:13 < dongs> I once called a local place and asked for a quote for 2 layer protos 2012-12-17T05:15:17 < dongs> and they wanted somethin like $4k 2012-12-17T05:15:31 < dongs> was gonna call them back and ask how long of a runway I need for their private jet 2012-12-17T05:15:41 < rlc> dongs: and that place was in which country? 2012-12-17T05:15:48 < dongs> japan 2012-12-17T05:15:59 < dongs> because for $4k I would expect them to hand-deliver it to me 30 minutes after order 2012-12-17T05:16:30 < rlc> yeah, Japan is an expensive country 2012-12-17T05:18:11 < dongs> and yeah, if your vias have mask over them, thats what happens. 2012-12-17T05:18:22 < dongs> also silk can go over vias. some places cut that out. 2012-12-17T05:18:34 < dongs> like that oshpark place. 2012-12-17T05:18:49 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2012-12-17T05:18:59 < dongs> http://i.imgur.com/GEIUA.jpg and here's exampel of silk resolution :) 2012-12-17T05:19:01 < rlc> dongs: how do you ship your boards? 2012-12-17T05:19:08 < dongs> whichever 2012-12-17T05:19:28 < dongs> ems/billto whatever courier 2012-12-17T05:19:46 < dongs> ems = usps intl priority, <~1 week to u.s. 2012-12-17T05:20:08 < dongs> oh yeah, standard board time is 2-3 days, can be less for more $. 2012-12-17T05:21:09 < rlc> cool! 2012-12-17T05:21:29 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-17T05:22:03 < rlc> dongs: and what payment options do you have? 2012-12-17T05:22:49 < dongs> well local stuff does bank/etc but the usual paypal stuff works. 2012-12-17T05:22:55 < dongs> or cc via paypal etc. 2012-12-17T05:24:25 < rlc> dongs: for bgas, how small can the pad be? 2012-12-17T05:24:48 < dongs> standard min via is 10/20... i forget what the highspec one is,, 8/16? I think 2012-12-17T05:25:19 < dongs> standard rules are like 6/6 but you can squeak by with 5/5 sometimes,, highspec is like 4/4 2012-12-17T05:25:20 < rlc> 10 for drill size, 20 for via pad size? 2012-12-17T05:25:23 < dongs> yeah 2012-12-17T05:25:29 < rlc> not bad 2012-12-17T05:25:57 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-17T05:26:06 < dongs> rlc: ^ see the minspec pdc 2012-12-17T05:26:07 < dongs> pdf 2012-12-17T05:26:16 < rlc> ok, thanks 2012-12-17T05:27:27 < dongs> looks like 4/4 on 1/2oz standard spec 2012-12-17T05:27:36 < dongs> didnt know. 2012-12-17T05:28:18 < dongs> flyback: thanks for the blog update. 2012-12-17T05:29:31 < dongs> still waiting for yagis + LED floodlight + other random crap I ordered from china 2012-12-17T05:29:49 < dongs> sent on 12/3 2012-12-17T05:30:22 < dongs> http://www.ebay.com/itm/110940029416 how can you go wrong wiht shit like this 2012-12-17T05:31:19 < gxti> maybe it explodes and burns your hose down 2012-12-17T05:32:31 < rlc> what!? DC converter for 1.5 buck?? 2012-12-17T05:33:30 < rlc> dongs: stop ripping them off!! :P 2012-12-17T05:33:52 < dongs> i kno rite 2012-12-17T05:34:08 < dongs> i ordered 2 just for the hell of it 2012-12-17T05:35:29 < dongs> newsflash: natsemi sold to TI years ago 2012-12-17T05:35:35 < gxti> i guess instead of the design i just finished scheming for a 10A converter, i should consider making little modules like that 2012-12-17T05:36:14 < gxti> i don't want a free cad program flyback 2012-12-17T05:37:23 < dongs> gxti: he might inform you to bite his "canuck" 2012-12-17T05:38:29 < rlc> flyback: you meant tl2575? 2012-12-17T05:40:23 < dongs> too expensive 2012-12-17T05:45:14 < rlc> dongs: on your via datasheet, what's the darker blue rings around the vias? 2012-12-17T05:45:57 < dongs> rlc: minimum pad around hole 2012-12-17T05:46:09 < dongs> so 6 mil around wahtever min hole size you pick 2012-12-17T05:47:03 < dongs> so i think technically 10/16 is min for standard spec 2012-12-17T05:47:14 < dongs> i usually just do 10/20 2012-12-17T05:48:33 < rlc> dongs: why are there 2 dimensions for those 2 dark blue rings? 2012-12-17T05:48:45 < rlc> one is 1.5 mils the other is 8 mils 2012-12-17T05:49:01 < dongs> huh yeah good question. 2012-12-17T05:49:06 < dongs> the text is same too 2012-12-17T05:50:02 < dongs> all I knwo is you cant have a pad 1.5mil wider than the hole 2012-12-17T05:50:08 < rlc> big difference between 1.5 and 8 2012-12-17T05:50:36 < rlc> dongs: can't or can? 2012-12-17T05:50:55 < dongs> can't, the 6 mil is minimum 2012-12-17T05:51:19 < dongs> i thikn that dimension is fucked, i'd guess thats the thickness of plating or something like that 2012-12-17T05:51:30 < rlc> but why it says 1.5 mils on top right drak blue ring? 2012-12-17T05:51:40 < rlc> ah ok 2012-12-17T05:52:09 < rlc> dongs: what does the text says? 2012-12-17T05:52:27 < dongs> 'land and hole spacing' 2012-12-17T05:52:40 < dongs> lemme poke the guy who does the pcb stuff and ask what the fuck that dimension is for 2012-12-17T05:53:16 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-17T05:54:05 < rlc> ok 2012-12-17T05:56:08 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-17T05:57:53 < emeb_mac> anything fun happening? 2012-12-17T05:57:56 < dongs> nope 2012-12-17T05:58:53 < emeb_mac> boring chats are boring 2012-12-17T05:58:58 < dongs> indeed 2012-12-17T05:59:29 < emeb_mac> spent all day working on a software tweak for a client who'll probably reject it. 2012-12-17T06:00:20 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-17T06:02:46 < rlc> dongs: do you live in japan? 2012-12-17T06:02:50 < dongs> yeah 2012-12-17T06:03:08 < rlc> dongs: for how long? 2012-12-17T06:03:16 < dongs> longer than i want to know 2012-12-17T06:04:19 < dongs> oh 2012-12-17T06:04:25 < dongs> rlc, this is for nonplated holes 2012-12-17T06:04:28 < rlc> dongs: you are born there? 2012-12-17T06:04:30 < dongs> i.e. doesnt matter for you 2012-12-17T06:04:36 < dongs> the top drawing is what you want 2012-12-17T06:04:39 < dongs> the 'E" dimension 2012-12-17T06:04:44 < dongs> 4 mil over hole size. 2012-12-17T06:05:43 < dongs> rlc: how does a black jew get born in japan 2012-12-17T06:06:15 < gxti> i bet the locals love you 2012-12-17T06:07:02 < rlc> dongs: how long did it take you to learn the language? 2012-12-17T06:09:04 < dongs> rlc, it didn't. im super smart. 2012-12-17T06:09:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 244 seconds] 2012-12-17T06:11:32 < rlc> dongs: you should change your name to dongs-san 2012-12-17T06:11:49 < dongs> i'll get right on that. 2012-12-17T06:12:22 < dongs> anawy, ignore 1.5mil rule. its for 2nd drill or something. never used. and 8/6mil on left side is min space between a land pattern and a nonplated hole 2012-12-17T06:12:35 < dongs> basically same as 'H' dimension in the spec. 2012-12-17T06:14:48 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-17T06:14:54 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-17T06:15:07 < rlc> dongs: what is C and D for BGA? 2012-12-17T06:15:28 < rlc> 70uM 2012-12-17T06:15:37 < dongs> doesnt matter - see the table in lower left, 4/4 for 1/2oz, 5/5 for 1oz 2012-12-17T06:16:05 < dongs> oh, i see, the first row. 2012-12-17T06:16:12 < rlc> yeah 2012-12-17T06:16:22 < dongs> 2.8mil 2012-12-17T06:16:24 < rlc> looks like something I might need to consider 2012-12-17T06:16:40 < rlc> what are those dimensions? 2012-12-17T06:16:58 < dongs> trace width, trace space 2012-12-17T06:17:35 < rlc> you mean pad width, pad clearance? 2012-12-17T06:17:55 < dongs> second is clearance. 2012-12-17T06:18:24 < rlc> first is what? 2012-12-17T06:18:33 < dongs> 1st is trace width. pad size is i told you, 16mil min without highspec. 2012-12-17T06:18:51 < dongs> pad = via that is 2012-12-17T06:19:14 < dongs> pad you can make whatever you want but the bga will usually specify that dimension. 2012-12-17T06:20:26 < rlc> how is trace width related to bga only? 2012-12-17T06:20:34 < dongs> its not 2012-12-17T06:20:53 < dongs> 0.5bga is highspec process, so min trace/space is smaller. 2012-12-17T06:21:01 < rlc> ah 2012-12-17T06:21:17 < dongs> normal spec min space is 4 for 1/2 and 5 for 1oz. 2012-12-17T06:22:17 < rlc> and what copper weight do ther use for hose 2.8 mils traces? 2012-12-17T06:22:23 -!- jef79m is now known as jef79m_lurking 2012-12-17T06:22:46 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-17T06:23:00 < dongs> i'd guess 1/2 oz 2012-12-17T06:24:46 < rlc> dongs: and for that bga process, then minimum drill size is still 0.2mm? 2012-12-17T06:25:01 < dongs> no, smaller 2012-12-17T06:26:49 < dongs> ttp://i.imgur.com/Qrgvy.png here's 0.5mm bga w/via in pad, vias are 6/12 2012-12-17T06:27:35 < dongs> dunno waht the min is, but if you cant get by wiht 6/12 you're doin somethin wrong 2012-12-17T06:28:32 < rlc> 6/12 is pretty good spec 2012-12-17T06:39:59 < dongs> inded 2012-12-17T06:40:02 < dongs> indeed, even 2012-12-17T06:49:07 < baird> travelblogging: http://i.imgur.com/dccKO.jpg (leaving noon tomorrow for two weeks) 2012-12-17T06:49:43 < baird> The only real tech I'll have with me is a Kindle and GPS. 2012-12-17T06:52:43 < rlc> nice bike! 2012-12-17T06:54:56 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-17T06:55:35 < baird> fwiw, that ridiculously large roll on the back is a handmade swag. I do have a hiking tent, but wanted something a bit more discrete since I plan to freecamp. 2012-12-17T06:57:05 < baird> hiking tent has freaking nekomimi, too. :/ 2012-12-17T06:58:38 < rlc> nekomimi? 2012-12-17T06:59:27 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-17T06:59:33 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-17T07:00:13 < baird> 'car ears'.. think anime. 2012-12-17T07:01:57 < baird> http://i.imgur.com/Jxash.jpg 2012-12-17T07:02:01 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 246 seconds] 2012-12-17T07:03:31 < baird> (photo at the campsite in Woomera, the old Australian rocket launch facility. The town had recovered rocket bodies around as memorial exhibits. Very cool.) 2012-12-17T07:04:24 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-17T07:07:07 < baird> "Hey bro, where will me meet up at after school?" "How about next to the Jindivik?" (https://en.wikipedia.org/wiki/File:Jindivik_at_Woomera.jpg) 2012-12-17T07:12:39 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-17T07:26:08 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-17T07:29:30 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 264 seconds] 2012-12-17T08:23:52 < dongs> bloggin on blogs 2012-12-17T08:25:32 < dongs> http://i.imgur.com/0jHgd.jpg attn 2012-12-17T08:25:34 < emeb_mac> dongin on dongs 2012-12-17T08:26:17 < emeb_mac> finally - something to do with all the cat fluff 2012-12-17T08:37:19 < emeb_mac> Anyone ever used the capsense feature in the F3xx? 2012-12-17T08:55:37 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2012-12-17T09:16:36 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-12-17T09:18:07 -!- Vutral_ [~ss@p548264FA.dip.t-dialin.net] has joined ##stm32 2012-12-17T09:18:53 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-17T09:25:29 -!- dekar_ [~dekar@212.255.249.184] has joined ##stm32 2012-12-17T09:25:31 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-17T09:26:32 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-17T09:26:57 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-17T09:29:30 -!- dekar__ [~dekar@212.255.242.85] has quit [Ping timeout: 264 seconds] 2012-12-17T09:34:12 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-17T09:41:14 -!- SolidLiq [~solidarit@unaffiliated/solidliq] has quit [Ping timeout: 252 seconds] 2012-12-17T09:43:18 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 264 seconds] 2012-12-17T09:43:27 -!- Viper168_ [~Viper168@node142.18.251.72.1dial.com] has joined ##stm32 2012-12-17T09:43:27 -!- Viper168_ [~Viper168@node142.18.251.72.1dial.com] has quit [Changing host] 2012-12-17T09:43:27 -!- Viper168_ [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-17T09:44:20 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 250 seconds] 2012-12-17T09:57:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2012-12-17T10:03:52 < dongs> do you have a videoblog 2012-12-17T10:04:47 < Thorn> what the hell http://i.imgur.com/uMcCy.png 2012-12-17T10:04:58 < Thorn> lovely, lovely diptrace. 2012-12-17T10:06:37 < dongs> Thorn: you have 45" fills for copper pours? 2012-12-17T10:06:55 < Thorn> yes (and never had problems with that) 2012-12-17T10:07:03 < dongs> right click on pad, thermal setings, uncheck 'use pour settings', then choose 90" straight, apply to all pads in p[attern 2012-12-17T10:08:49 < Thorn> fixed, thanks. 2012-12-17T10:08:55 < dongs> it couldnt have "worked" before. you choose 45 degree thermals, and thats what it will do for all of htem 2012-12-17T10:09:03 < dongs> unless your ICs were at 45" 2012-12-17T10:09:26 < Thorn> but it did. 2012-12-17T10:09:32 < dongs> unlikely :) 2012-12-17T10:09:32 < Thorn> this started in 2.3 2012-12-17T10:09:33 < dongs> anyway. 2012-12-17T10:09:36 < Thorn> also DRC sometimes doesn't update (can fool you into thinking you have no errors) 2012-12-17T10:09:36 < dongs> oh. 2012-12-17T10:09:45 < dongs> online auto-drc? 2012-12-17T10:09:59 < Thorn> no, normal drc 2012-12-17T10:10:00 < dongs> works for me, I noticed a few times it tripped but for me it usually leaves errors taht no longer exist 2012-12-17T10:10:03 < dongs> not the other way around 2012-12-17T10:10:14 < dongs> i use auto so it autoupdates as i move shit. 2012-12-17T10:10:46 < dongs> bbl need to kill some children 2012-12-17T10:11:28 < Thorn> lol, one round pad has 45 deg thermals on bottom and 90 deg on top 2012-12-17T10:21:30 < jpa-> does someone know an application that can be used to use the STM32F4 built-in usb bootloader on windows? 2012-12-17T10:21:35 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-17T10:28:52 < Thorn> I have a device that normally draws <20mA, but that can increase to 100+mA when it's driving the CAN bus. Vin=15V. do I want a dc/dc converter? 2012-12-17T10:31:24 < jpa-> well, do you? 2012-12-17T10:31:33 < jpa-> it only changes the efficiency 2012-12-17T10:33:26 < Thorn> that thing is going to be small and in an enclosed box, I mainly worry about heat dissipation 2012-12-17T10:34:16 < jpa-> 1W is not that much, depending on if the box is styrofoam or aluminum 2012-12-17T10:34:42 < jpa-> but naturally DC-DC is better 2012-12-17T10:37:42 -!- BjoernC_ [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-17T10:39:02 < Thorn> it's going to be a plastic junction box, probably ~100x100mm 2012-12-17T10:39:59 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Ping timeout: 255 seconds] 2012-12-17T10:51:22 < jpa-> aha, UM0412 2012-12-17T10:58:54 < dongs> Thorn: yers 2012-12-17T11:06:32 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-17T11:32:05 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-17T11:32:05 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-17T11:32:05 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-17T11:47:45 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Quit: Rebooting...] 2012-12-17T11:54:07 -!- jef79m_lurking is now known as jef79m 2012-12-17T12:03:08 -!- BjoernC_ [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-17T12:13:42 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-17T12:31:58 -!- Laurenceb_ [~Laurence@host86-179-87-205.range86-179.btcentralplus.com] has joined ##stm32 2012-12-17T12:34:22 < Thorn> added a 2.5A dc/dc to power a 20mA circuit. 2012-12-17T12:35:53 < dongs> sweet. which one? 2012-12-17T12:36:34 < Thorn> same as always. L5973D. no time to research anything else 2012-12-17T12:37:05 < Thorn> copy/pasted from the main board 2012-12-17T12:40:59 < dongs> 19:39 < dada> dongs: where do you buy fucking sample books? 2012-12-17T12:41:28 < dongs> 19:40 < buZz> kamasutra has them 2012-12-17T12:41:28 < dongs> (talkin about resistor/cap sample books) 2012-12-17T12:42:02 < zyp> no, he clearly asked for fucking sample books 2012-12-17T12:42:04 < zyp> :p 2012-12-17T12:44:10 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-17T12:50:05 < Viper168_> lol 2012-12-17T13:04:18 -!- Laurenceb_ [~Laurence@host86-179-87-205.range86-179.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-12-17T13:38:41 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has joined ##stm32 2012-12-17T13:42:19 < Thorn> multi-file gerber export and auto copper pours using board outline. unbrlievable. 2012-12-17T13:43:17 < dongs> shit that takes a masters degree in german to figure out hwo to do in eagle, amirite? 2012-12-17T13:47:52 < Thorn> exported gerbers for all 4 boards. 2012-12-17T13:52:13 < Thorn> I'll be more than amazed if all 4 turn out to be error-free. 2012-12-17T13:52:29 -!- jef79m is now known as jef79m_lurking 2012-12-17T13:53:10 < zyp> got my parts from digikey, just need the boards now 2012-12-17T13:53:26 < dongs> should be out tomororw I think 2012-12-17T13:53:44 < zyp> probably not here before christmas anyway 2012-12-17T13:53:58 < zyp> but I'm thinking about the other boards you already shipped 2012-12-17T13:54:49 < dongs> o yeah. those too. 2012-12-17T13:54:57 < dongs> i think theres stencils in there too. 2012-12-17T13:56:13 < zyp> by the way, which surface finish is the lpc board getting? 2012-12-17T13:56:17 < dongs> enig 2012-12-17T13:56:22 < zyp> nice 2012-12-17T13:56:30 < dongs> so you better not cock it up 2012-12-17T13:56:36 < dongs> you will have all professional shit for it. 2012-12-17T13:56:49 < dongs> proper non-ghetto stencil, good finish, etc. 2012-12-17T15:03:03 < Laurenceb> eNIG 2012-12-17T15:03:11 < Laurenceb> dongs would like that 2012-12-17T15:06:41 < Laurenceb> http://en-gb.facebook.com/pages/Kevins-rapeatorium/156352411084922 2012-12-17T15:45:01 -!- Viper168 [~Viper168@node147.19.251.72.1dial.com] has joined ##stm32 2012-12-17T15:45:04 -!- Viper168 [~Viper168@node147.19.251.72.1dial.com] has quit [Changing host] 2012-12-17T15:45:04 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-17T15:47:32 -!- Viper168_ [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2012-12-17T15:50:17 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-17T15:50:18 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-17T15:50:18 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-17T15:50:20 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-17T16:03:42 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-17T16:10:06 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2012-12-17T16:33:37 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-17T16:44:33 -!- daku is now known as DaKu 2012-12-17T17:05:41 < dongs> attn baird/zyp http://i.imgur.com/i1oUc.png 2012-12-17T17:05:48 < dongs> this was such trash. 2012-12-17T17:05:55 < dongs> skipped through 5minutes then shift-del'd 2012-12-17T17:08:25 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-17T17:08:47 <+Steffanx> uhm anime crap dongs? 2012-12-17T17:08:52 < dongs> yessir 2012-12-17T17:09:01 < dongs> crap being keyword. 2012-12-17T17:09:04 <+Steffanx> You DOWNLOAD that? 2012-12-17T17:09:12 < dongs> haha no. capped off tv. 2012-12-17T17:09:38 < dongs> was queiing cars1/2 for spawns few weeks ago and saw that on epg and thought why not 2012-12-17T17:09:45 < dongs> then forgot it existed until found it today. 2012-12-17T17:12:03 < dongs> i did download eagle 6.3.0 today. 2012-12-17T17:12:12 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-17T17:12:35 < dongs> because fuckers keep sending me .sch shit made with the new xml version 2012-12-17T17:12:51 < dongs> it still sucks as usual 2012-12-17T17:13:00 < emeb_mac> heh - can't escape eagle. 2012-12-17T17:13:10 < dongs> yea, i am not using it. 2012-12-17T17:13:47 < dongs> whats the ultrasound freqeuncy thats used for distance measurement? 2012-12-17T17:13:53 < dongs> and time to flight or whatever 2012-12-17T17:13:55 < dongs> like ghz? 2012-12-17T17:14:10 < emeb_mac> Ultrasound? Isn't it like 40kHz 2012-12-17T17:14:16 < dongs> huh is it? 2012-12-17T17:14:27 < dongs> i have this weird shit with what looks liek a fucking microwave feedhorn 2012-12-17T17:14:42 < emeb_mac> on like a door opener? 2012-12-17T17:14:46 < dongs> no 2012-12-17T17:14:48 < dongs> lemme take some pix 2012-12-17T17:15:00 < BrainDamage> if it's ultrasound, 40-120kHz 2012-12-17T17:15:07 < BrainDamage> if it's radio, it's several GHz 2012-12-17T17:15:14 < BrainDamage> 10GHz is not uncommon 2012-12-17T17:15:25 < emeb_mac> yeah - 10GHz gunnplexers 2012-12-17T17:16:28 < dongs> lawd. fucking android 2012-12-17T17:16:35 < dongs> why cant it remember megapixel setting per app????????? 2012-12-17T17:16:42 < dongs> uploading 2.5meg shit to imgur 2012-12-17T17:16:53 < dongs> this is why lunix will never be on desktop 2012-12-17T17:16:55 < dongs> or anywhere relevant 2012-12-17T17:17:00 < dongs> the developers are just too fucking dumb t o think about users 2012-12-17T17:17:11 < emeb_mac> dongs: you need an iPhone. :P 2012-12-17T17:17:32 < dongs> http://i.imgur.com/NoQCN.jpg 2012-12-17T17:17:39 < dongs> what freq do you think is this shit? 2012-12-17T17:17:46 < gurgalof> andriod !=lunix 2012-12-17T17:17:47 < emeb_mac> yeah - that's a gunnplexer 2012-12-17T17:17:54 < emeb_mac> probably 10GHz 2012-12-17T17:18:32 < dongs> this can measure distance/speed? 2012-12-17T17:18:39 < emeb_mac> yep 2012-12-17T17:18:39 < BrainDamage> eyeball size looks right too, should be 7.4cm or so 2012-12-17T17:18:52 < BrainDamage> 7.5* 2012-12-17T17:19:58 < emeb_mac> basically it sends out a single-tone (or pulsed) CW and the return signal mixes in the cavity where the difference frequency can be detected. 2012-12-17T17:20:13 < dongs> http://i.imgur.com/qjvBW.jpg 2012-12-17T17:20:14 < emeb_mac> the difference frequency is proportional to speed of the target 2012-12-17T17:20:21 < dongs> some rfey crap on top side 2012-12-17T17:21:06 < BrainDamage> the box contains the high freq stuff 2012-12-17T17:21:16 < BrainDamage> the downmixing results is on normal freq 2012-12-17T17:21:46 < dongs> heh side is labeled 2012-12-17T17:21:54 < dongs> GND , -0.55V, 1.9V, IF1, IF2 2012-12-17T17:21:54 < emeb_mac> greek to me 2012-12-17T17:22:23 < dongs> so if i point that shit to my head is it gonna kill me 2012-12-17T17:22:27 < emeb_mac> nah 2012-12-17T17:22:29 < BrainDamage> emeb_mac: more like chinese or japanese :p 2012-12-17T17:22:33 < emeb_mac> power is way low. 2012-12-17T17:22:58 < BrainDamage> it'll probably have less power than wifi 2012-12-17T17:23:01 < emeb_mac> BrainDamage: ya think? :) 2012-12-17T17:23:24 < BrainDamage> emeb_mac: yeah, def no greek :p 2012-12-17T17:23:30 < dongs> so this shit is related to gunn diodes or something 2012-12-17T17:24:17 < BrainDamage> gunn diodes are often used as modulators at those freqs 2012-12-17T17:27:08 < dongs> oh haha 2012-12-17T17:27:13 < dongs> one of hte nubmers on the box is like jap fcc-like thing 2012-12-17T17:27:17 < dongs> 24.15GHz 2012-12-17T17:27:27 < dongs> 0.0027W 2012-12-17T17:30:48 < dongs> k this is useless 2012-12-17T17:30:56 < dongs> just regular radar speed detector type shit 2012-12-17T17:31:02 < dongs> shift-deling it off my desk 2012-12-17T17:32:11 < gurgalof> send it to me... 2012-12-17T17:32:39 < dongs> i dont wanna know about your 24ghz cat microwaving experiments :) 2012-12-17T17:32:57 < gurgalof> 0.0027W... 2012-12-17T17:33:08 < dongs> is that a lot? i have no idea 2012-12-17T17:33:16 < zyp> 2.7mW 2012-12-17T17:33:18 < gurgalof> thats nothing at all 2012-12-17T17:33:46 < gurgalof> wifi is 100mW, and thats still nothing 2012-12-17T17:33:54 < dongs> 4.3dBm 2012-12-17T17:34:51 < gurgalof> those things are in stores to open the doors when you walk in front of them 2012-12-17T17:35:05 < gurgalof> transmitting almost constantly 2012-12-17T17:39:53 < dongs> isnt door shit PIR 2012-12-17T17:46:22 < emeb_mac> depends 2012-12-17T17:46:34 < emeb_mac> microwave is more reliable 2012-12-17T17:46:41 < emeb_mac> less interference 2012-12-17T17:47:25 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-17T17:48:24 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2012-12-17T17:48:45 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-17T18:05:52 < Laurenceb> http://www.b3tards.com/u/43cdf6526fe4800e16bb/patcdc.gif 2012-12-17T18:07:37 < BrainDamage> not as good as http://wonder-tonic.com/geocitiesizer/ 2012-12-17T18:09:50 <+Steffanx> Postman Pat! 2012-12-17T18:10:12 < emeb> breaks out in a sweat when he sees a marital aid? 2012-12-17T18:10:42 <+Steffanx> I only know a 'weird' song about the dutch Postman Pat 2012-12-17T18:11:25 < emeb> No accounting for the Dutch. 2012-12-17T18:12:05 <+Steffanx> They know Pat in yankeeland? 2012-12-17T18:12:08 < dongs> "Raspberry Pi developer team has introduced the Pi store, a place to get software for Raspberry Pi, in collaboration with IndieCity and Velocix. The team hopes that the store will become a one-stop-shop for Raspbian Pi users. The store already has 23 major applications available for users including LibreOffice and Asterisk. 2012-12-17T18:12:13 < dongs> worthless 2012-12-17T18:13:07 < BrainDamage> store? so pay for apps that can be get at no cost? 2012-12-17T18:13:12 <+Steffanx> Yes 2012-12-17T18:13:38 <+Steffanx> We hope that the Pi Store will provide young people with a way to share their creations with a wider audience, and maybe to a make a little pocket money along the way; as well as offering commercial developers an easy way to get their software seen by the Raspberry Pi community. 2012-12-17T18:13:40 <+Steffanx> like that :) 2012-12-17T18:14:08 < dongs> here's an easy way to make your software seen by people who can actually pay for it: don't develop for freetard shit 2012-12-17T18:14:42 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-17T18:29:17 < emeb> when you put it like that it seems so simple 2012-12-17T18:30:18 -!- Bird|ghosted [~Birdz0r@unaffiliated/htt-bird] has quit [Quit: Leaving] 2012-12-17T18:30:48 < Laurenceb> s/put/troll 2012-12-17T18:31:57 < gxti> sounds pretty worthless yeah 2012-12-17T18:32:32 < gxti> (set of rpi users) & (set of users who pay for software) = (empty set) 2012-12-17T18:34:45 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2012-12-17T18:41:42 < karlp> maybe to make a little pocket money 2012-12-17T18:41:52 < karlp> yeah, cos small apps on android make money too... 2012-12-17T18:43:15 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 244 seconds] 2012-12-17T18:44:45 < Thorn> more electronics than in an electronics lab http://www.youtube.com/watch?v=su6MRe95FA8 2012-12-17T18:45:46 < emeb> JMJ has quite the collection of old synths. 2012-12-17T18:47:50 < jpa-> laptop reassembled.. got to grub one time, won't boot again 2012-12-17T18:48:03 < Thorn> all this constant knob tweaking 2012-12-17T18:48:10 < emeb> jpa-: :( 2012-12-17T18:48:26 < emeb> Thorn: that's what knobs are for! 2012-12-17T18:49:08 < emeb> also those old machines are notoriously unstable & need a lot of tuning/calibration. 2012-12-17T18:49:23 < jpa-> thinking of buying asus zenbook next 2012-12-17T18:50:16 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-17T18:50:28 < Thorn> what's that thing at 06:45 2012-12-17T18:50:53 < emeb> looks like a ribbon controller 2012-12-17T18:51:06 < emeb> basically a linear pot 2012-12-17T18:51:36 < emeb> jpa-: which one? 2012-12-17T18:52:28 < jpa-> ux31a maybe 2012-12-17T18:52:51 < emeb> looks nice 2012-12-17T18:54:10 < emeb> I used to be bothered by no optical drive 2012-12-17T18:54:13 < jpa-> a bit expensive, but on the other hand if it lasts a few years 2012-12-17T18:54:25 < emeb> yeah - you pay for the thin 2012-12-17T18:54:50 < jpa-> and the screen resolution is awesome 2012-12-17T18:55:23 < emeb> yup. about the same as the 22" monitor I've got here 2012-12-17T18:56:12 < emeb> default 128GB SSD is a bit small 2012-12-17T18:56:46 -!- barthess [~barthess@178.154.14.31] has joined ##stm32 2012-12-17T18:59:17 < jpa-> yeah, i'm considering whether the UX32VD is better, 500GB hd + 24GB ssd.. but my stuff would fit in 128GB also 2012-12-17T18:59:59 < emeb> I've got a little atom netbook w/ 32GB SSD - works great and isn't too cramped for simple stuff. 2012-12-17T19:06:17 < zyp> only disadvantage with not having an optical drive is that you can't throw it out to fit an ssd instead :p 2012-12-17T19:08:24 < emeb> :) 2012-12-17T19:31:16 < emeb> rpi store makes top headline on google news tech section. *eyeroll* 2012-12-17T19:32:59 < karlp> are you sure that's not just google tailoring the results for you? 2012-12-17T19:33:18 < emeb> you can never be sure 2012-12-17T19:33:53 < emeb> GET OUT OF MY HEAD GOOGLE! 2012-12-17T19:34:12 < Thorn> search bubble? 2012-12-17T19:37:16 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-17T19:50:30 < emeb> oh man - some really bad tuning on that JMJ video around 1:04 2012-12-17T19:50:58 < emeb> he's playing the ARP2600 and it's waaaayy off. 2012-12-17T19:53:13 < emeb> lolpi -> http://createdigitalmusic.com/2012/12/beetbox-lets-you-play-root-vegetables-latest-handmade-raspberry-pi-coolness/ 2012-12-17T19:57:03 -!- barthess [~barthess@178.154.14.31] has quit [Quit: Leaving.] 2012-12-17T19:58:11 < Thorn> is this placement of decoupling caps acceptable? (c3,4,6,9) http://i.imgur.com/FZcK2.png 2012-12-17T19:58:37 < emeb> looks good to me 2012-12-17T19:59:11 < emeb> close to the pins is the main thing so that trace inductance doesn't diminish the HF filtering capability. 2012-12-17T19:59:50 -!- mrcan_ [~mrcan@78.173.21.150] has joined ##stm32 2012-12-17T19:59:50 -!- mrcan_ [~mrcan@78.173.21.150] has quit [Changing host] 2012-12-17T19:59:50 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-17T19:59:51 < Thorn> I finally found a dedicated forum for pcb critique and similarly positioned caps resulted in comments like "long thin traces, the chip may glitch" 2012-12-17T20:00:25 < emeb> I think that's overstated. 2012-12-17T20:00:25 < Thorn> (although the board is large and maybe I looked at wrong caps...) 2012-12-17T20:02:00 < Thorn> (I finally got some rest and am now looking over what I submitted to the pcb house lol.) 2012-12-17T20:02:22 < emeb> Pro-tip: look over the layout before submitting to fab. :) 2012-12-17T20:02:54 < Thorn> I did but was too tired for that to be useful 2012-12-17T20:02:59 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 260 seconds] 2012-12-17T20:03:55 < Thorn> the upside is they accepted it and with luck it might be delivered before new year holidays 2012-12-17T20:04:13 < Thorn> (my black magic clone is in the order too) 2012-12-17T20:04:26 < emeb> cool 2012-12-17T20:04:31 < emeb> what's you're look like? 2012-12-17T20:04:40 < emeb> s/you're/yours/ 2012-12-17T20:05:28 < emeb> that layout looks like kicad. ? 2012-12-17T20:05:46 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-17T20:06:05 < Thorn> btw, on that forum people also object against connecting pads in straight lines like R6...R8 or C1-R1-R2 2012-12-17T20:06:42 < emeb> any reason for their objections? 2012-12-17T20:07:17 < Thorn> no reason given, maybe it has to do with crappy manufacturing standards they're used to or something 2012-12-17T20:08:00 < emeb> a lot of old PCB processes had problems with abutting angles of 90deg or less 2012-12-17T20:08:20 < emeb> etch would stick there due to surface tension and it could eat thru traces. 2012-12-17T20:08:28 < emeb> that's generally not a problem these days. 2012-12-17T20:09:05 < Thorn> black magic clone (did it ~2 months ago, should have updated some stuff but oh well) http://i.imgur.com/68lAa.png 2012-12-17T20:09:19 < Thorn> and this is all diptrace. 2012-12-17T20:09:26 < emeb> looks nice 2012-12-17T20:11:26 < emeb> I like the area-fills - rounded off at the vertices. Kicad does that too, but gEDA/PCB doesn't and that's hurt me a few times. 2012-12-17T20:12:02 < Thorn> 2.3 can now do polygons that follow pcb outline with configurable offset 2012-12-17T20:13:25 < emeb> interesting how the polygons are 'dimpled' near the board edge and thru-holes of PB1 & PB2. 2012-12-17T20:14:48 < Thorn> it apparently decided those bridges are too thin and wanted to disconnect them, but not quite 2012-12-17T20:14:56 < zyp> heh 2012-12-17T20:15:12 < emeb> kinda made the situation worse. 2012-12-17T20:15:17 -!- claude is now known as Claude 2012-12-17T20:18:27 < baird> lol, and so begins the era of Raspberry Pi Software Piracy. 2012-12-17T20:18:47 < emeb> sic 'em with a DMCA takedown notice. 2012-12-17T20:23:05 < gxti> free as in free can of whoop-ass 2012-12-17T20:24:51 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2012-12-17T20:29:50 < baird> Trying to stop teenagers from pirating software? Good luck with that. :) 2012-12-17T20:30:29 < baird> (All referring to the PiStore thing that was just onlined.) 2012-12-17T20:31:56 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-17T20:39:02 < Tectu> dongs, 2012-12-17T20:39:37 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 246 seconds] 2012-12-17T20:39:59 < emeb> likely dreaming in dongland. 2012-12-17T20:41:07 < Tectu> you jelly? 2012-12-17T20:43:14 < emeb> wat? 2012-12-17T20:43:40 -!- Claude is now known as claude 2012-12-17T20:45:48 -!- claude is now known as Claude 2012-12-17T20:45:52 -!- jef79m_lurking is now known as jef79m 2012-12-17T20:55:13 < baird> Curled up next to his Dongalina 2012-12-17T20:56:57 -!- jef79m is now known as jef79m_lurking 2012-12-17T21:16:01 <+Steffanx> I wonder if she knows about this second life 2012-12-17T21:21:24 < BrainDamage> more like, I wonder if she knows she's his girlfriend 2012-12-17T21:34:35 <+Steffanx> :P 2012-12-17T21:48:48 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2012-12-17T21:53:50 -!- jef79m_lurking is now known as jef79m 2012-12-17T22:04:09 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 265 seconds] 2012-12-17T22:04:38 -!- jef79m is now known as jef79m_lurking 2012-12-17T22:15:09 < jpa-> bah, apparently 32 bits ubuntu won't install on EFI systems.. too bad it doesn't warn about it before first boot 2012-12-17T22:22:19 <+Steffanx> 64 bit does work? 2012-12-17T22:24:51 -!- gurgalof [~gurgalof@dhcp-237-179.nomad.chalmers.se] has joined ##stm32 2012-12-17T22:31:59 < jpa-> should work 2012-12-17T22:32:08 < jpa-> installing it now 2012-12-17T22:32:24 < jpa-> installation itself is quite fast on the ssd, but dowloading the image tok time 2012-12-17T22:34:10 < jpa-> then the difficult choice between kde, gnome3 and unity 2012-12-17T22:35:59 < gxti> if you want to avoid the UX weenies, xfce is decent 2012-12-17T22:37:37 < jpa-> uh, that was confusing 2012-12-17T22:37:52 < jpa-> selected "ubuntu" in grub.. waited 2 seconds.. it was in the logic screen 2012-12-17T22:51:23 -!- DaKu is now known as daku 2012-12-17T22:59:13 -!- daku is now known as DaKu 2012-12-17T23:02:02 <+Steffanx> got yourself a new laptop jpa- ? 2012-12-17T23:03:10 <+Steffanx> or do you have to wait on santa? 2012-12-17T23:14:01 < jpa-> got new 2012-12-17T23:17:08 <+Steffanx> oh, early christmas :) 2012-12-17T23:20:57 < jpa-> yeah 2012-12-17T23:28:27 -!- os-app92 [~ftw@172.122.193.77.rev.sfr.net] has joined ##stm32 2012-12-17T23:29:20 -!- os-app92 [~ftw@172.122.193.77.rev.sfr.net] has quit [Client Quit] 2012-12-17T23:32:37 -!- Claude is now known as claude 2012-12-17T23:45:03 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-17T23:55:48 -!- DaKu is now known as daku --- Day changed Tue Dec 18 2012 2012-12-18T00:01:50 < emeb> jpa-: what'd you end up getting? 2012-12-18T00:36:58 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-18T00:50:41 < karlp> whee, pcbs ordered. 2012-12-18T00:50:59 < karlp> there's a very slim chance of having something to play with over the holidays 2012-12-18T00:51:15 < zyp> nice, for which project? 2012-12-18T00:51:35 < karlp> f1/l1 802.15.4 battery sense node. 2012-12-18T00:51:45 < karlp> experiments really. 2012-12-18T00:51:59 < karlp> replacing my broken old node that watched the temperature in the brew kettle 2012-12-18T00:52:17 < karlp> time to move some of the code off the disco board and onto a pcb 2012-12-18T00:52:34 < karlp> move a project towards thecompleted list instead of the broken dreams list :) 2012-12-18T00:53:35 < zyp> :) 2012-12-18T00:53:56 < zyp> a guy that actually finish projects! 2012-12-18T00:54:05 < karlp> http://uploads.oshpark.com/uploads/project/top_image/WWnCr3iC/i.png 2012-12-18T00:54:07 < karlp> maybe. 2012-12-18T00:54:11 < karlp> haven't finished the code yet :) 2012-12-18T00:54:20 < zyp> oh, then it doesn't count :p 2012-12-18T00:54:23 < karlp> and working on the power down stuff will probably take forever 2012-12-18T00:54:43 < zyp> all my projects tend to be pretty open-ended code wise 2012-12-18T00:55:04 < karlp> this one has to get to a certain point to be useful, then code changes to determine how often to change the batteries :) 2012-12-18T00:55:21 < karlp> but the useful level code is mostly done. 2012-12-18T00:55:59 < zyp> but then again I mostly do projects because I want to learn something, not because I have a use for the finished thing 2012-12-18T00:57:37 < karlp> well, I'm trying both. 2012-12-18T00:57:44 < karlp> useful would have been just fixing the old one. 2012-12-18T00:57:55 < karlp> it was probably just bad soldering on the bodged up headphone socket... 2012-12-18T00:58:41 < Thorn> I found you learn much more when you have a real problem to solve. including things that are important but not fascinating to you, so you wouldn't bother with them for fun 2012-12-18T00:59:26 < karlp> I think you need both :) 2012-12-18T00:59:31 < karlp> but yeah, I would agree with that. 2012-12-18T00:59:58 < zyp> I don't have real problems to solve, just constructed ones :) 2012-12-18T01:00:14 < zyp> which also are pretty open-ended 2012-12-18T01:02:57 < zyp> I should probably go back and put some more time into quadrotor stuff 2012-12-18T01:06:28 < emeb> I was wondering if that was going anywhere. 2012-12-18T01:06:38 < BrainDamage> ofc not, it's a quadrotor 2012-12-18T01:07:47 * karlp giggles 2012-12-18T01:07:57 < karlp> but it will be a quadrotor with a usb soundcard! 2012-12-18T01:07:57 < emeb> you mean it always has to come back. kinda like a boomerang 2012-12-18T01:08:46 < emeb> a quadrotor with audio that talks to you. "Clear the area" or other such messages. 2012-12-18T01:12:02 < baird> Fake up a Huey copter noise effect. "choooof chooof chooof.." 2012-12-18T01:13:32 < zyp> well, no, I haven't done anything with it since I split laks into a seperate project 2012-12-18T01:14:07 < zyp> I was working on some usb stuff, and figured I needed more experience with usb, so I started implementing some classes just for the experience 2012-12-18T01:34:39 -!- jef79m_lurking is now known as jef79m 2012-12-18T01:55:14 < ds2> wow Ge is expensive stuff 2012-12-18T01:57:14 -!- jef79m is now known as jef79m_lurking 2012-12-18T02:02:15 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-18T02:27:36 < baird> Going riding.. Be back in something like a fortnight. 2012-12-18T02:27:44 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-18T02:30:33 -!- gurgalof [~gurgalof@dhcp-237-179.nomad.chalmers.se] has quit [Quit: Leaving] 2012-12-18T02:38:06 < emeb> ds2: what form of Ge are you talking about? 2012-12-18T02:48:29 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2012-12-18T02:51:17 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-18T03:06:54 < emeb> Here's something for the old timers: http://mikestirling.co.uk/bbc-micro-on-an-fpga/ 2012-12-18T03:12:09 < dongs> < Thorn> it apparently decided those bridges are too thin and wanted to disconnect them, but not quite 2012-12-18T03:12:22 < dongs> your top/bottom copper pours have different board outline spacing 2012-12-18T03:12:46 < dongs> perhaps even different clearance 2012-12-18T03:12:46 < emeb> dongs: -> http://i.imgur.com/vjA6v.jpg 2012-12-18T03:12:55 < dongs> haha 2012-12-18T03:14:01 -!- xata [c3b6c2de@gateway/web/freenode/ip.195.182.194.222] has joined ##stm32 2012-12-18T03:14:36 < xata> hello. how do i detect pin 1 on my stm32f103r6t6a in lqfp64? 2012-12-18T03:14:48 < xata> there is now info in datasheet i saw 2012-12-18T03:15:09 < emeb> try it all 4 ways and stick with the one that works? 2012-12-18T03:15:25 < emeb> just kidding. 2012-12-18T03:15:41 < emeb> there should be a little dimple marked on the package near the pin 1 corner. 2012-12-18T03:15:55 -!- _BJFreeman [~bjfree@8.sub-75-233-41.myvzw.com] has joined ##stm32 2012-12-18T03:15:57 < xata> emeb: there is two of them ^C 2012-12-18T03:16:04 < dongs> http://www.lolduino.com/ lol'd 2012-12-18T03:16:13 < xata> *:C 2012-12-18T03:16:16 < emeb> xata: the smaller one is the _real_ one. 2012-12-18T03:16:21 < dongs> xata: the real pin1 is rounded 2012-12-18T03:16:37 < xata> oh 2012-12-18T03:17:04 < xata> so just that ARM is upside-down 2012-12-18T03:17:14 < dongs> no 2012-12-18T03:17:47 < dongs> well, i dunno, bottom left with text showing up "correct" should be pin1. 2012-12-18T03:17:55 < dongs> that hole is also kinda concave? or something vs the o ther one being flat 2012-12-18T03:17:59 < dongs> flat = not pin1 marker. 2012-12-18T03:18:36 < xata> dongs: but there is one that is round and flat and one that is round, smaller and like a cup (sorry for language, i dont'know english word for this) 2012-12-18T03:18:52 < emeb> the small one that's like a cup is the real one 2012-12-18T03:19:10 < dongs> xata: the last one is pin1 2012-12-18T03:19:37 < xata> emeb: dongs oh, i understood now. maybe the text was printed upside-down. china. thank you. 2012-12-18T03:19:44 < dongs> hmm. 2012-12-18T03:19:47 < dongs> unlikely 2012-12-18T03:20:05 < emeb> it's weird - the 48-pin pkg has just one mark and the 100-pin pkg has just one mark, but the 64-pin pkg has two. lame. 2012-12-18T03:20:24 < dongs> trying to find my -discovery board 2012-12-18T03:20:26 < dongs> with 64pin 2012-12-18T03:21:02 < xata> i could make a photo, but it is 03:20 here, and my family will not like this 2012-12-18T03:21:40 < dongs> found the F0discovery 2012-12-18T03:21:46 < emeb> yep - that's got it 2012-12-18T03:21:46 < _BJFreeman> on the f4 discovery there is only one dot 2012-12-18T03:21:57 < emeb> f4 disco is a 100-pin 2012-12-18T03:22:03 < dongs> the smaller, concave dot (pin1) is bottom left when looking at text 2012-12-18T03:22:12 < dongs> i dont think I ever seen a chip wehre pin1 was opposite of text writings 2012-12-18T03:22:20 < dongs> f0disdco is 64pin 2012-12-18T03:22:32 < dongs> STM32F051R8T6 2012-12-18T03:22:40 < emeb> http://www.st.com/jp/com/MULTIMEDIA_RESOURCES/IMAGE/BOARD_PHOTO/stm32f0discovery.jpg 2012-12-18T03:22:42 < dongs> by opposite i mean upsidwdown 2012-12-18T03:23:14 < emeb> see the white dot on the silkscreen & how it aligns with the text & small dimple. 2012-12-18T03:23:36 < dongs> xata: are you saying the chip you got, smaller dot is wsehre the 'arm' text is/ 2012-12-18T03:23:48 < dongs> maybe you got a famous chinese blank chip hax 2012-12-18T03:24:09 < emeb> counterfeit STM32? 2012-12-18T03:24:40 < xata> dongs: emeb no, it is right like on the photo, my fault. thanks again for all this interest 2012-12-18T03:24:47 < dongs> coo 2012-12-18T03:26:15 < xata> so now i have to go sleep. bye. 2012-12-18T03:26:20 -!- xata [c3b6c2de@gateway/web/freenode/ip.195.182.194.222] has left ##stm32 [] 2012-12-18T03:28:44 < dongs> so yeah.. dec16passed.. 2012-12-18T03:28:56 < emeb> significance ? 2012-12-18T03:28:57 < dongs> still 0 cct6 instock.. 2012-12-18T03:29:05 < dongs> 12/16/2012 - Delivery Date Past Due 2012-12-18T03:29:05 < dongs> lawl. 2012-12-18T03:29:14 < emeb> heh - they did that to me on the xtals too 2012-12-18T03:29:49 < dongs> allrite time to get busy and dicknplace some shit 2012-12-18T03:30:11 < emeb> whee 2012-12-18T03:30:37 < emeb> dongs: which cct6 you looking for? 2012-12-18T03:31:59 < dongs> f303cct6 2012-12-18T03:32:32 < emeb> bums 2012-12-18T03:33:25 < emeb> ran into a strange situation w/ DK where they still listed something as out of stock from the order page, but they had hundreds of parts if you did a search for them. 2012-12-18T03:34:23 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has quit [Ping timeout: 244 seconds] 2012-12-18T03:41:09 < dongs> so good when this shit assembles a panel without me having to fuck with it. 2012-12-18T03:42:04 < emeb> did it "just work"? 2012-12-18T03:42:15 < dongs> yea apparently i set it up for this job few days ago 2012-12-18T03:42:18 < dongs> so i just had to push start. 2012-12-18T03:42:36 < emeb> nice 2012-12-18T03:44:02 < dongs> bad news is happyhardcore radio i usually listen to is playing some bullshit dance mixes right now 2012-12-18T03:44:05 < dongs> rage. 2012-12-18T03:45:49 < dongs> http://www.icbase.com/PSEN/Product.aspx?X_ProId=51249 apparently these chinamen have F303CCT6 2012-12-18T03:46:28 < emeb> nice price too - about $3 less than DK qty1 2012-12-18T03:46:48 < dongs> gonna shat up "peggy" 2012-12-18T03:46:56 < dongs> whose real name is probably xiu xan xye someshit or other 2012-12-18T03:47:53 < emeb> lots of Xs in those names 2012-12-18T03:49:33 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2012-12-18T03:54:31 < dongs> Peggy said:(10:53:46) 2012-12-18T03:54:32 < dongs> OK, please wait for a moment, I'll check 2012-12-18T03:56:21 -!- SolidLiq [~solidarit@173-23-250-226.client.mchsi.com] has joined ##stm32 2012-12-18T03:56:21 -!- SolidLiq [~solidarit@173-23-250-226.client.mchsi.com] has quit [Changing host] 2012-12-18T03:56:21 -!- SolidLiq [~solidarit@unaffiliated/solidliq] has joined ##stm32 2012-12-18T03:57:25 < emeb> hmmm... 2012-12-18T03:57:48 < emeb> could tweak the schematic & layout of the F373 board slightly for F303 2012-12-18T03:58:02 < emeb> some power pins, etc not the same, but most is. 2012-12-18T03:58:38 * emeb would like to try out that high-speed ADC. 2012-12-18T04:00:21 < dongs> well, my F103 board would work with F303.. 2012-12-18T04:00:24 < dongs> part of the reason I want them.. 2012-12-18T04:00:42 < emeb> ah - simple. 2012-12-18T04:03:21 < dongs> looks liek they have a tray incoming 2012-12-18T04:03:24 < dongs> i might just pickup whole thing 2012-12-18T04:03:44 -!- SolidLiq [~solidarit@unaffiliated/solidliq] has quit [Quit: Leaving] 2012-12-18T04:03:57 < emeb> heh - corner the market and TAKE OVER THE WORLD!!!111!1 2012-12-18T04:04:01 < dongs> yeah 2012-12-18T04:04:48 < emeb> how many in a tray? 2012-12-18T04:05:03 < dongs> 250 i guess, since they're using same 48lqpf trays 2012-12-18T04:05:35 < emeb> not bad. $900 worth of nice MCUs. 2012-12-18T04:06:39 < dongs> blown more on more useless shit, no problem. 2012-12-18T04:06:46 < dongs> still have a tray of those f ucking marvell sheeva cpus. 2012-12-18T04:06:53 < emeb> ugh. 2012-12-18T04:07:06 < emeb> lunix in a wall-wart. 2012-12-18T04:07:26 < dongs> as bad as it sounds. 2012-12-18T04:07:32 < emeb> prone to spontaneous combustion IIRC 2012-12-18T04:07:55 < emeb> idiots forgot about heat sinking or something. 2012-12-18T04:08:41 < emeb> you'd use the F303s for your RC nav boards or something? 2012-12-18T04:09:12 < dongs> nah, maybe some led shit or just dicking around. no particular use atm 2012-12-18T04:09:12 * emeb needs to stop saying "or something" 2012-12-18T04:09:21 < dongs> ledshit could use faster comparators for overcurrent trip stuff. 2012-12-18T04:09:34 < dongs> now its done w/adc and analog watchdog 2012-12-18T04:09:46 < emeb> heh - FPU for faster LED displays. :) 2012-12-18T04:09:49 < dongs> yeaman 2012-12-18T04:11:44 < emeb> gotta tell you - it's really nice having an FPU available. Was doing some software mods yesterday and it made things really easy. 2012-12-18T04:12:19 < emeb> instead of fooling around with fixed point math & pre-computed lookup tables - just do it in floating pt. 2012-12-18T04:13:16 < ds2> emeb: metal 2012-12-18T04:13:40 < emeb> ds2: wow - what use you have for raw Germanium? 2012-12-18T04:13:52 < ds2> emeb: FTIR lens 2012-12-18T04:14:08 < emeb> oho - is IR transparent kinda like Si? 2012-12-18T04:14:13 < ds2> more Si 2012-12-18T04:14:22 < ds2> Si cuts off around maybe 3um 2012-12-18T04:14:27 < ds2> Ge is transparent beyond 10um 2012-12-18T04:14:34 < ds2> more so then Si I mean 2012-12-18T04:14:39 < emeb> yeah 2012-12-18T04:14:45 -!- englishman [~englishma@199.180.97.18] has quit [Read error: Connection reset by peer] 2012-12-18T04:15:09 -!- englishman [~englishma@199.180.97.18] has joined ##stm32 2012-12-18T04:15:45 < dongs> ;p;wat 2012-12-18T04:15:49 < dongs> lolwat 2012-12-18T04:16:04 < dongs> what topic continuation is that? 2012-12-18T04:16:15 < emeb> from a few hours ago 2012-12-18T04:16:35 < emeb> ds2 is working on a deep IR imager (a few weeks back) 2012-12-18T04:16:47 < ds2> <-- has a long RTT 2012-12-18T04:29:46 -!- bjfreeman [~bjfree@229.sub-75-233-122.myvzw.com] has joined ##stm32 2012-12-18T04:30:59 -!- _BJFreeman [~bjfree@8.sub-75-233-41.myvzw.com] has quit [Ping timeout: 255 seconds] 2012-12-18T04:31:26 -!- Viper168 [~Viper168@node117.18.251.72.1dial.com] has joined ##stm32 2012-12-18T04:31:26 -!- Viper168 [~Viper168@node117.18.251.72.1dial.com] has quit [Changing host] 2012-12-18T04:31:26 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-18T04:45:18 < Viper168> ah good luck 2012-12-18T04:45:50 < Viper168> I'm figuring out my strategy to get with this chick who rear ended me driving tonight 2012-12-18T04:45:58 < Viper168> so fucking cute 2012-12-18T04:46:03 < Viper168> rawr 2012-12-18T04:46:39 < Viper168> offered up her number wanting to talk instead of just dealing with insurance if we do, but the damage is so minor I don't think we will probably file any claim 2012-12-18T04:46:46 < pelrun> "you rear ended me, lemme rear end you back?" 2012-12-18T04:47:19 < Viper168> haha 2012-12-18T04:48:04 < Viper168> I'll likely just slip in some compliments and try to figure out how I'm going to initiate further contact 2012-12-18T04:48:05 < dongs> gonna get psycho'd 2012-12-18T04:48:32 < Viper168> she definitely seemed into me though 2012-12-18T04:49:12 < emeb> just trying to sweet-talk you out of filing. :) 2012-12-18T04:50:04 < Viper168> she wasn't that outright 2012-12-18T04:50:10 < Viper168> it was more shy 2012-12-18T04:50:30 < Viper168> if she were manipulating she'd likely have been more aggressive about it 2012-12-18T04:52:17 < emeb> don't listen to us - we're all being too cynical. 2012-12-18T05:00:42 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-18T05:00:43 -!- gurgalof_ [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-18T05:03:23 < dongs> hmm both my ws2811 leds and some other fedex shit I had queued are late 2012-12-18T05:04:49 < bjfreeman> holiday shipping this is the busiest week 2012-12-18T05:06:06 -!- bjfreeman [~bjfree@229.sub-75-233-122.myvzw.com] has quit [] 2012-12-18T05:08:10 < dongs> and its here. 2012-12-18T05:08:28 < ds2> gozilla? 2012-12-18T05:08:47 < dongs> no , fedex + leds 2012-12-18T05:09:37 < emeb> dongs: finally got in the 6-pin 0.1" receptacles for the other side of AfroLED. Need to build up the other boards. 2012-12-18T05:09:47 < emeb> and try chaining. 2012-12-18T05:10:36 < dongs> cool 2012-12-18T05:10:43 < dongs> i got enough of these led strips to build up a 16x32 display 2012-12-18T05:11:21 < emeb> massive chain of WS2811s 2012-12-18T05:11:34 < dongs> yeah 2012-12-18T05:11:38 < dongs> still gotta finish assembling some other stuff though 2012-12-18T05:11:41 < emeb> bring watts 2012-12-18T05:11:53 < dongs> yeah, my 40led bar draws 1A @ 5V 2012-12-18T05:11:56 < dongs> pretty crazy shiet 2012-12-18T05:12:38 < emeb> hey everyone - rave at dongs' place when he gets that built. 2012-12-18T05:13:51 < dongs> 64 pixel/meter 2012-12-18T05:13:57 < dongs> so its gonna be kinda big 2012-12-18T05:14:12 < emeb> put it outside - your neighbors will love it. 2012-12-18T05:14:20 < dongs> apparently my ledguy has software that will output animation/video/pic/whatever, to any pixel layout 2012-12-18T05:14:33 < dongs> so i will just zigzag it 2012-12-18T05:14:41 < emeb> cool 2012-12-18T05:14:43 < dongs> and have him generate some data in that format 2012-12-18T05:19:22 < qyx_> some intelligent way of generating mosfet gate drive voltage from 30VDC? 2012-12-18T05:22:53 < dongs> a gate driver? 2012-12-18T05:23:03 < dongs> or the usual transistor + diode + cap shit? 2012-12-18T05:24:51 < qyx_> yes but need to get around 12V for that 2012-12-18T05:25:04 < qyx_> and it has to be optically isolated 2012-12-18T05:25:14 < qyx_> considering simple linear regulator from 30V->12V 2012-12-18T05:25:35 < qyx_> but not sure if it is good idea 2012-12-18T05:26:12 < dongs> what over voltage do you have? 2012-12-18T05:26:17 < dongs> got 3-5V? 2012-12-18T05:26:29 < dongs> if y ou got 5V-ish a chargepump voltage doubler would work 2012-12-18T05:27:14 < qyx_> the problem is that i need to get that on "high voltage" side of optocouplers, on the other side i have 5V 2012-12-18T05:27:26 < qyx_> but not usable as it is behind optocouplers 2012-12-18T05:28:37 < qyx_> the driving freq will be near DC, no high currents needed.. maybe zener&resistor&cap would work also 2012-12-18T05:36:40 < qyx_> hm, or optocoupler with photovoltaic output 2012-12-18T05:39:58 -!- gurgalof_ [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-18T05:51:05 < dongs> Hot stock of STB75NF75T4, MC74HC245ADTR2G! 2012-12-18T05:51:32 < dongs> i wonder how much those fets are 2012-12-18T05:51:37 < dongs> they're 1.6$ at digikey @1000 2012-12-18T05:51:39 < dongs> guessing < 50c 2012-12-18T05:54:16 < dongs> haha they have MILLIONS on stock 2012-12-18T05:54:17 < dongs> jesus. 2012-12-18T05:55:09 < emeb> dongs: From Ishkur's Guide to Electronic Music - "Happy Hardocre islike the spoiled little sibling 2012-12-18T05:55:09 < emeb> of the Hardcore family, who got all the breaks, all the looks all the 2012-12-18T05:55:09 < emeb> money, all the chicks and all the successes of life without 2012-12-18T05:55:09 < emeb> having to work for it. Just about despised by every other genre, 2012-12-18T05:55:09 < emeb> Happy Hardcore is the most popular Hardcore music of all, with its 2012-12-18T05:55:10 < emeb> signature chipmunk vocals and silly sing-along anthems and shameless 2012-12-18T05:55:10 < emeb> hug-a-thon optimism that pisses everybody off to no end. This is the core 2012-12-18T05:55:11 < emeb> realm of the candy ravers. Some of the stuff feels so godawfully childish 2012-12-18T05:55:11 < emeb> that I feel like a pedophile just listening to it, but its not all bad. 2012-12-18T05:55:12 < emeb> Truth be known: ALL the world's Happy Hardcore is made by only 12 guys, 2012-12-18T05:55:12 < emeb> who have more pseudonyms than a shark has teeth, and who churn it out at 2012-12-18T05:55:13 < emeb> such a feverish pace that you'd almost think that there's probably a 2012-12-18T05:55:13 < emeb> program that makes it for them. Just randomize the key values, get Sugar 2012-12-18T05:55:14 < emeb> from YTV to sing the lyrics, and away you go." 2012-12-18T05:55:21 < dongs> w h o a spam 2012-12-18T05:55:47 < dongs> LOL @ copypasta 2012-12-18T05:55:51 < emeb> yep 2012-12-18T05:56:32 < dongs> not bad. those fets are 60c/piece in reel 2012-12-18T05:56:45 < dongs> if I was making some ESCs I suppose that would be handy 2012-12-18T05:59:06 < dongs> only few days to christmas, you arent gonna do it 2012-12-18T06:00:02 < qyx_> 3 days to eow 2012-12-18T06:01:58 < qyx_> i was about to ask if it is the one you showed us last time 2012-12-18T06:04:52 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-18T06:09:50 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-18T06:13:43 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-18T06:13:51 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-18T06:31:12 < emeb_mac> lol - George Takei playing an old moonshiner hillbilly on Hawaii Five-O 2012-12-18T06:31:29 < dongs> http://i.imgur.com/NPWAe.jpg 2012-12-18T06:31:56 < gxti> just once i want a board bringup to not involve 4 hours figuring out why the damn uart doesn't work 2012-12-18T06:31:56 < emeb_mac> you got a reel! 2012-12-18T06:32:08 < gxti> FFS it's the same chip as the last project, running the same chibios stack :| 2012-12-18T06:32:25 < emeb_mac> chibios <- there's your problem. :P 2012-12-18T06:32:37 < gxti> thanks for your valuable input 2012-12-18T06:32:43 * emeb_mac has been listening to dongs too long 2012-12-18T06:32:51 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-18T06:32:59 < gurgalof> whats wrong with chibios? 2012-12-18T06:33:00 < ds2> you got be using Linux! 2012-12-18T06:33:10 < emeb_mac> nothing. just trolling 2012-12-18T06:33:12 < gxti> your opinion is valuable to us, please hold 2012-12-18T06:33:26 < emeb_mac> lol 2012-12-18T06:34:29 < emeb_mac> gxti: so did you figure out the uart or still working it? 2012-12-18T06:34:40 < gxti> still working on it. i can blink an LED at least. 2012-12-18T06:34:55 < emeb_mac> which chip? 2012-12-18T06:34:59 < gxti> F107 2012-12-18T06:36:21 < qyx_> chibi & f107? 2012-12-18T06:37:05 * emeb_mac finds that every board bringup is back to square 1, no matter how much it has in common with prior designs. 2012-12-18T06:37:46 < gxti> the smoothest bringup for a single mcu was a pic12 that was being used as a fancy clock divider 2012-12-18T06:38:06 < gxti> i took somebody else's code that was for a larger pic16 or sth, fixed the assembler and pin mapping, programmed it, worked first shot 2012-12-18T06:38:08 < emeb_mac> heh - difficulty proportional to complexity of the MCU 2012-12-18T06:38:19 < ds2> pics are painful 2012-12-18T06:38:27 < ds2> 430's are more trivial 2012-12-18T06:38:42 < emeb_mac> They're easy to use but very limiting. 2012-12-18T06:39:07 < ds2> problem with PICs (and AVRs) is the 23490328742394723894289374923798237 different programmers 2012-12-18T06:39:23 < emeb_mac> choose one & stick with it. 2012-12-18T06:39:30 < gxti> funny, i've only got one. not very good at debugging, but i've yet to meet a pic it couldn't program. 2012-12-18T06:39:30 < ds2> I wish 2012-12-18T06:39:41 < ds2> each new pic demands an new and incompatible programmer 2012-12-18T06:39:49 < ds2> so right now, I refuse to touch PICs and AVRs 2012-12-18T06:39:52 < qyx_> nearly all avrs have isp which can be emulated using mpsse on ft232 2012-12-18T06:39:58 < rlc> pic painful?? they are easy to use 2012-12-18T06:40:02 < ds2> you are using new ones 2012-12-18T06:40:06 < emeb_mac> hmm... I've got an ICD3 that's worked for everything I've used it with. 2012-12-18T06:40:09 < qyx_> actually i use the same programmer for stm32 also 2012-12-18T06:40:09 < ds2> the old ones are different 2012-12-18T06:40:15 < ds2> i.e. the 16F84 2012-12-18T06:40:16 < gxti> yes, ease of use and glacial evolution are the redeeming values of the PIC line 2012-12-18T06:40:19 < qyx_> i have only one 2012-12-18T06:40:36 < rlc> pickit3 will program any pic as well 2012-12-18T06:40:39 < emeb_mac> 16f84? do they even sell those still? 2012-12-18T06:41:06 < ds2> unless they give out pickit3's, it is irrelevant 2012-12-18T06:41:14 < gxti> ... 2012-12-18T06:41:16 < ds2> at least with the 430's TI gives out the programmers like candy 2012-12-18T06:41:52 < rlc> the pickit 3 is cheap enough 2012-12-18T06:42:03 < gurgalof> and on stm32's you dont even need a programmer, just use the builtin bootloader 2012-12-18T06:42:03 < ds2> cheaper then say the old com84's? 2012-12-18T06:42:20 < gxti> funny, it doesn't look very homosexual. or happy. 2012-12-18T06:42:27 < gxti> it's a red box with a usb connector. 2012-12-18T06:42:33 < rlc> flyback: not as good as picikit2 but will do the job 2012-12-18T06:42:47 < ds2> at least the really old stuff used a standard 27xx programmer/eraser 2012-12-18T06:43:14 < emeb_mac> oh lord. ancient stuff. 2012-12-18T06:43:35 < ds2> one got to start somewhere :D 2012-12-18T06:43:59 < rlc> flyback: you want to do msp430, arm, etc etc? why not do them? 2012-12-18T06:44:09 < gxti> ok 2012-12-18T06:44:15 < gxti> don't care 2012-12-18T06:45:00 < rlc> flyback: did you start up on your stm32 ? 2012-12-18T06:45:34 < dongs> fucking hell. 2012-12-18T06:45:50 < dongs> entire reel is made up of 32 pixel bars 2012-12-18T06:45:55 < dongs> SOLDERED TOGETHER 2012-12-18T06:46:12 < dongs> i fucking TOLD the god damn chinks IM MAKING A FUCKING 32x16 DISPLAY OUT OF THESE. 2012-12-18T06:46:22 < rlc> flyback: did you program anything on it? 2012-12-18T06:46:22 < dongs> "YES WERE FIRST FACTORY, WE MAKE THESE" 2012-12-18T06:46:28 < ds2> don't they sell those WS8xx chips as a light strand? 2012-12-18T06:46:41 < dongs> FFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU 2012-12-18T06:48:16 < emeb_mac> dongs: what's the problem? 2012-12-18T06:48:46 < emeb_mac> you were going to cut them into 32 sections anyway 2012-12-18T06:48:57 < dongs> emeb_mac: NO FUCKING SHIT. 2012-12-18T06:49:03 < dongs> but they're sodlered on top of each other 2012-12-18T06:49:06 < dongs> in a realyl fuckign gay way 2012-12-18T06:49:09 < dongs> thats hard to desolder 2012-12-18T06:49:18 < emeb_mac> ah - messed up 2012-12-18T06:49:58 < rlc> dongs: is that the reel you posted earlier? 2012-12-18T06:50:14 < dongs> yes., 2012-12-18T06:50:32 < rlc> How man leds are there? 2012-12-18T06:50:36 < rlc> many 2012-12-18T06:50:39 < qyx_> at least you have something to play with during xmas 2012-12-18T06:50:42 < dongs> 256 per reel I guess. 2012-12-18T07:05:47 < dongs> fuck this. 2012-12-18T07:05:49 < dongs> shits goin back to china 2012-12-18T07:05:53 < dongs> they'll send me individual strips 2012-12-18T07:05:56 < dongs> not worth my time 2012-12-18T07:28:52 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-18T07:48:04 -!- englishman [~englishma@199.180.97.18] has quit [Ping timeout: 244 seconds] 2012-12-18T08:03:04 -!- englishman [~englishma@199.180.97.18] has joined ##stm32 2012-12-18T08:20:32 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2012-12-18T08:23:51 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-18T08:24:29 < zippe> *grumble* 2012-12-18T08:24:32 < zippe> So much for paying for tools 2012-12-18T08:29:22 < emeb_mac> zippe: what tools? 2012-12-18T08:29:57 < emeb_mac> oop 2012-12-18T08:36:50 < dongs> wat 2012-12-18T08:37:00 < dongs> paying for tools is what I end up doing most of hte time 2012-12-18T08:37:11 < dongs> and they never deliver shit properly 2012-12-18T08:37:28 < dongs> i sunk something like 20-30k into bullshit faggots to do fpga jobs and they all failed 2012-12-18T08:37:44 < dongs> and i cant be arsed to learn that shit myself 2012-12-18T08:38:28 < emeb_mac> whatcha trying to do w/ fpgas? 2012-12-18T08:41:19 < zippe> emeb_mac: in this case, bitscope 2012-12-18T08:41:20 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-18T08:42:17 < emeb_mac> that tiny USB analog/digital capture thingy? 2012-12-18T08:43:12 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Ping timeout: 252 seconds] 2012-12-18T08:57:08 < zyp> I thought paying for tools so they actually work was your argument against opensource tools 2012-12-18T08:59:23 < zippe> mine? ha, no. 2012-12-18T08:59:36 < zyp> no, dongs 2012-12-18T09:00:36 < jpa-> emeb_mac: the zenbook ux32vd (the full hd version.. gosh, why do they have two totally different models with the same name) 2012-12-18T09:01:04 < emeb_mac> jpa-: you got that fast 2012-12-18T09:01:10 < jpa-> emeb_mac: it has 24GB ssd and 500GB hd.. i think ubuntu + home folder will fit on the SSD 2012-12-18T09:01:40 < jpa-> yeah, went to store and bought it right away.. can't be without computer for so long :) 2012-12-18T09:02:10 < emeb_mac> jpa-: probably. I've got ubuntu + home folder on a 32GB SSD uses about 60%. 2012-12-18T09:03:23 < jpa-> yeah, and i can always symlink or bind-mount individual folders to HD if they take a lot of space 2012-12-18T09:06:26 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-18T09:19:05 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Ping timeout: 244 seconds] 2012-12-18T09:20:57 -!- Vutral_ [~ss@p548264FA.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 2012-12-18T09:22:00 < ds2> what's a good reason to not waste more time in the efm32 stuff? 2012-12-18T09:22:09 -!- Laurenceb [~laurence@128.243.75.1] has joined ##stm32 2012-12-18T09:22:41 < dongs> it sucks less than nuvoton 2012-12-18T09:24:38 -!- dekar [~dekar@212.255.32.139] has joined ##stm32 2012-12-18T09:24:41 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-18T09:25:16 < ds2> isn't that a reason to spend time with them? 2012-12-18T09:25:30 < dongs> but nuvoton sucks pretty bad :) 2012-12-18T09:25:34 < dongs> i dunno, what do you need from it? 2012-12-18T09:25:38 < dongs> it didnt seem particularly amazing 2012-12-18T09:26:29 < ds2> low power 2012-12-18T09:26:33 < ds2> and uCLinux capabile 2012-12-18T09:26:36 < ds2> capable 2012-12-18T09:27:03 < ds2> it does lack some hw blocks but it looks to be easier to bring the average power down to 1mA or less 2012-12-18T09:27:24 < dongs> plz, while running lunix? 2012-12-18T09:27:32 -!- dekar_ [~dekar@212.255.249.184] has quit [Ping timeout: 255 seconds] 2012-12-18T09:28:01 < ds2> sure 2012-12-18T09:28:17 < ds2> it is doable on the bigger chips 2012-12-18T09:28:27 < ds2> the iMX gets down there... the OMAPs get down there 2012-12-18T09:28:43 < ds2> (i.e. the nearly 1 month idle of time of the kindle) 2012-12-18T09:29:30 < jpa-> for varying definitions of "running" 2012-12-18T09:30:02 < ds2> yes, very low duty cycle 2012-12-18T09:30:27 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-18T09:31:09 < emeb_mac> hmm - anyone measured stm32 current while in wfi state? 2012-12-18T09:31:34 < jpa-> emeb_mac: if the core is still running (i.e. not standby or stop modes), it isn't much less than running 2012-12-18T09:31:52 < jpa-> only 5-20% lower per my experience (on L1, F4) 2012-12-18T09:31:57 < ds2> haven't seen the code but I heard of issues (F1) for folks having problems bring down the idle current 2012-12-18T09:32:36 < emeb_mac> guess I don't know the difference between the various modes. 2012-12-18T09:33:37 < dongs> I got the uCurrent thing 2012-12-18T09:33:42 < dongs> I could measure shit down to nA steps 2012-12-18T09:33:46 < jpa-> emeb_mac: if you just do "WFI" without anything else, it just stops running instructions but all peripherals and clocks remain on.. it is very easy to use, but doesn't save much power 2012-12-18T09:34:05 < emeb_mac> jpa-: makes sense 2012-12-18T09:34:34 < jpa-> emeb_mac: if you go into standby or stop, core and in stop also most of the peripherals shut down.. so if you are waiting for an interrupt from systick or a peripheral, depending on the mode you might never get it 2012-12-18T09:34:42 < emeb_mac> I'd imagine that for really low power you'd have to get into complex stop/start state management like in linux. 2012-12-18T09:34:53 < dongs> .. like in lunix 2012-12-18T09:34:53 < dongs> haha. 2012-12-18T09:35:02 < dongs> emeb_mac: lunix has the worst power management of anything out there 2012-12-18T09:35:07 < ds2> dongs: how long of a period can you average over? 2012-12-18T09:35:08 < jpa-> emeb_mac: for really low power, you just want easy to sleep task :) 2012-12-18T09:35:28 < dongs> ds2: what do you mean? I can just log it on my scope at low sample rate or something 2012-12-18T09:35:35 < dongs> it outputs voltage based on current draw 2012-12-18T09:35:42 < jpa-> dongs: can you measure a device that takes 1µA while sleeping and 100mA when running, with a good accuracy? 2012-12-18T09:35:43 < dongs> and has 3 scale, mA/ua/NA 2012-12-18T09:35:46 < ds2> dongs: oh like that 2012-12-18T09:35:49 < dongs> yes 2012-12-18T09:36:22 < jpa-> so 100 000 dynamic range.. i bet your oscilloscope doesn't have that. 2012-12-18T09:36:25 < emeb_mac> needs a logarithmic response 2012-12-18T09:36:43 < dongs> the steps are always same 2012-12-18T09:36:48 < ds2> wouldn't a coulomb counter/accumulator be better? 2012-12-18T09:36:49 < emeb_mac> 1V/decade or something 2012-12-18T09:36:50 < dongs> 1mV per mA/uA/nA 2012-12-18T09:37:14 < jpa-> dongs: i mean, measure the average power of such a device 2012-12-18T09:37:39 < dongs> dunno, thats not wahT I got it for 2012-12-18T09:37:55 < dongs> I got it for detecting nA changes in power consumption at high speed 2012-12-18T09:38:07 < jpa-> indeed, but that is very common for the low-power low-duty devices 2012-12-18T09:38:10 < dongs> though if I remember me biching about it, its something like 100kHz bandwidth 2012-12-18T09:38:10 < emeb_mac> zzzzzz 2012-12-18T09:38:16 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-18T09:38:38 < ds2> that won't give good estimates for battery life 2012-12-18T09:39:02 < dongs> ya, not what I need it for. 2012-12-18T09:39:24 < dongs> dont cellphoens have actaul precision shunts for current draw measurement 2012-12-18T09:39:44 < dongs> so they know overall draw + some subsystems separatelyt 2012-12-18T09:40:11 < ds2> dev boards do 2012-12-18T09:40:22 < ds2> but those are complex.. multiple power rails for the SoC itself 2012-12-18T09:40:29 < ds2> voltages vary on command 2012-12-18T09:46:43 < zyp> can't you just measure average running current and average sleep current seperately, then measure running to sleep duty, and combine the measurements like that? 2012-12-18T09:49:57 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-18T09:49:58 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-18T09:49:58 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-18T10:19:21 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-18T10:19:31 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-12-18T10:25:59 < dongs> zippe: any thoughts on freescale's SPBA t hing 2012-12-18T10:26:19 < dongs> if I wanted to have several 70mhz+ SPI receivers on i.MX with eCSPI, is that possible 2012-12-18T10:26:31 < dongs> looks like a bunch of low-speed peripherals are sitting behind that so I have my doubts 2012-12-18T10:31:16 < zippe> dongs: sorry, no 411 here 2012-12-18T10:31:31 < zippe> just back from a week on Kauai, not even sure what I do for a living 2012-12-18T10:32:06 < dongs> awesp,e 2012-12-18T10:34:03 -!- Viper168_ [Viper168@node175.19.251.72.1dial.com] has joined ##stm32 2012-12-18T10:34:03 -!- Viper168_ [Viper168@node175.19.251.72.1dial.com] has quit [Changing host] 2012-12-18T10:34:03 -!- Viper168_ [Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-18T10:34:18 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2012-12-18T10:36:34 -!- jef79m_lurking is now known as jef79m 2012-12-18T10:36:37 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2012-12-18T10:52:28 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-18T10:54:33 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-12-18T11:19:24 -!- Damned_ [~Damned@78.163.16.0] has joined ##stm32 2012-12-18T11:19:55 < Damned_> can i run netbsd on a stm32f4 discovery board 2012-12-18T11:21:08 < zyp> can you run netbsd on a platform without mmu and with only 192 kB ram? 2012-12-18T11:21:42 < Damned_> but it can run with TS-7200 board 2012-12-18T11:22:22 < Damned_> im sorry 2012-12-18T11:22:25 < Damned_> its 32 mb ram 2012-12-18T11:22:33 < Damned_> lol 2012-12-18T11:22:48 < zyp> according to a simple google search, it doesn't seem to be a variant of netbsd that can run without mmu 2012-12-18T11:22:57 < Damned_> im stupid 2012-12-18T11:22:58 < Damned_> :) 2012-12-18T11:22:59 < zyp> so the answer would be no 2012-12-18T11:23:19 < zyp> and that's the largest obstacle 2012-12-18T11:23:19 < Damned_> ok 2012-12-18T11:24:34 < Damned_> thx 2012-12-18T11:24:39 < zyp> no problem 2012-12-18T11:25:54 < dongs> http://i.imgur.com/u3n1z.jpg why worry about NetBSD 2012-12-18T11:25:57 < dongs> when you have t his ^ 2012-12-18T11:27:22 < Damned_> haha. im not in america. but also here is cold 2012-12-18T11:28:17 < zyp> well, even if that weather were restricted to america, it would probably have an impact over the rest of the world too :p 2012-12-18T11:28:26 < Damned_> and im querter-nerd 2012-12-18T11:28:28 < Damned_> haha 2012-12-18T11:29:02 -!- jef79m is now known as jef79m_lurking 2012-12-18T11:29:20 < Damned_> :P 2012-12-18T11:30:15 -!- jef79m_lurking is now known as jef79m 2012-12-18T11:40:49 -!- Damned_ [~Damned@78.163.16.0] has quit [Quit: Leaving] 2012-12-18T11:43:02 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-18T11:43:42 -!- jef79m is now known as jef79m_lurking 2012-12-18T11:54:35 < karlp> emeb/jpa, when you're talking about ubuntu+home on the SSD, what do you use the spinning metal for? 2012-12-18T11:54:43 < karlp> movies/music? 2012-12-18T11:57:42 < karlp> jpa-: I saw pretty major changes between wfi and while(1), without any extra work... (but I can't find where I wrote the numbers down right now...) 2012-12-18T11:59:49 < dongs> haha, storing movies/music with lunixfs 2012-12-18T11:59:57 < dongs> cant tell if srs 2012-12-18T12:00:51 < karlp> it was something like 10mA down to 3mA, and matched the datasheet pretty well, 2012-12-18T12:02:21 -!- jef79m_lurking is now known as jef79m 2012-12-18T12:05:53 < zyp> karlp, but the difference is smaller if you have 50mA of peripherals running at the same time :p 2012-12-18T12:06:08 < dongs> nIggaAmps 2012-12-18T12:13:14 < karlp> zyp: ahh, true enough 2012-12-18T12:13:22 < karlp> I'm only working on tiny projects. 2012-12-18T12:17:30 < jpa-> karlp: mostly for digital photos & videos i have shoot 2012-12-18T12:18:11 < jpa-> karlp: yeah.. in both cases, i have had USB, ADC and other power-consuming devices running 2012-12-18T12:20:30 < zyp> the nice part about wfi is how easy it is to use 2012-12-18T12:20:43 < karlp> hmm, I have all my photos/videos under home, makes the backups a little easier 2012-12-18T12:20:48 < karlp> I guess I could work around that. 2012-12-18T12:20:55 * karlp shrugs. would need an SSD first :) 2012-12-18T12:21:20 < karlp> yeah, wfi was super easy to add in. 2012-12-18T12:22:09 < zyp> if you don't have anything to do until an interrupt has occured anyway, just do wfi 2012-12-18T12:24:03 < zyp> same for multithreading setups 2012-12-18T12:25:02 < zyp> if you are handling scheduling in an ISR and no threads are ready to run, just set SLEEPONEXIT=1 which will cause the equivalent of wfi to happen on ISR exit 2012-12-18T12:25:04 < jpa-> karlp: i have most stuff under home also, but folders like 'download' and 'digi' are actually symlinks to another drive 2012-12-18T12:25:53 < dongs> zyp, looks like im getting 2 stencils for lpc board. so maybe ill assemble it here myself. 2012-12-18T12:25:56 < zyp> that would let you still handle interrupts and go back to sleep, until a reschedule is triggered setting a thread ready 2012-12-18T12:27:11 < zyp> dongs, yeah, then you can laugh at me when you get it soldered properly and I fuck up 2012-12-18T12:27:14 < zyp> :p 2012-12-18T12:27:41 < dongs> lo 2012-12-18T12:27:44 < dongs> that is likely. 2012-12-18T12:35:56 -!- jef79m is now known as jef79m_lurking 2012-12-18T12:44:55 -!- jef79m_lurking is now known as jef79m 2012-12-18T12:48:40 < dongs> totally assburgering this afternoon 2012-12-18T12:48:47 < dongs> at least got some work done in the morning 2012-12-18T12:54:23 -!- Viper168_ [Viper168@unaffiliated/viper168] has quit [Ping timeout: 260 seconds] 2012-12-18T13:59:14 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-12-18T13:59:14 -!- jef79m is now known as jef79m_lurking 2012-12-18T14:05:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-18T14:39:28 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2012-12-18T14:39:28 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2012-12-18T14:39:28 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-18T14:44:09 < Laurenceb> ass burgerz 2012-12-18T14:45:43 < Laurenceb> http://i.imgur.com/SfPea.jpg 2012-12-18T14:49:56 < dongs> Laurenceb: wanna buy some MPU6000 from me??? 2012-12-18T14:51:30 < Laurenceb> nah 2012-12-18T14:51:39 < Laurenceb> dont have anything to use it with atm 2012-12-18T14:52:07 < Laurenceb> presently try to get new firmware release ready for vehicle monitors 2012-12-18T14:58:58 < dongs> hmm, HDD cache has been sdram for a while right? 2012-12-18T14:59:03 < dongs> looks like now its DDR2 heh 2012-12-18T14:59:21 < dongs> http://images.anandtech.com/doci/5042/_DSC5628.jpg check out that hax0r routing 2012-12-18T15:22:52 < karlp> hey Laurenceb, for vehicle monitors, why didn't you just get a cheap droid phone and do it all as an app? 2012-12-18T15:23:16 < karlp> motion sensors, sound recording, built in storage, built in battery/charging/redundant network comms... 2012-12-18T15:23:28 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2012-12-18T15:24:22 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-18T15:27:01 < Laurenceb> we need logging at several Ksps 2012-12-18T15:33:22 < Laurenceb> also we have calibrated microphones for dBA noise levels 2012-12-18T15:39:35 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-18T15:42:47 < Laurenceb> ah wonderful 2012-12-18T15:42:50 < Laurenceb> more i2c bugs 2012-12-18T15:42:52 -!- Viper168 [Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-18T15:48:00 < Laurenceb> with i could get an F303 2012-12-18T15:48:06 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2012-12-18T15:48:06 < Laurenceb> simple way to fix this 2012-12-18T15:48:45 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-18T15:48:50 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Read error: Connection reset by peer] 2012-12-18T16:00:04 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2012-12-18T16:00:27 < Laurenceb> (gdb) p/x I2C1->CR1$32 = 0x501(gdb) p/x I2C1->CR2$33 = 0x324 2012-12-18T16:00:30 < Laurenceb> funtimes 2012-12-18T16:00:38 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-18T16:02:11 < Laurenceb> need f303 already 2012-12-18T16:02:51 < Laurenceb> maybe i could try bit banged i2c... 2012-12-18T16:11:47 < Laurenceb> zyp: how did you impliment bit banged i2c? 2012-12-18T16:11:55 < Laurenceb> timer interrupt? 2012-12-18T16:13:56 < zyp> it's slave mode 2012-12-18T16:14:05 < zyp> so it just trigger of state changes 2012-12-18T16:14:11 < Laurenceb> ah 2012-12-18T16:14:18 < zyp> master is responsible for timing 2012-12-18T16:14:21 < Laurenceb> looks like this project is boomed 2012-12-18T16:14:25 < Laurenceb> *doomed 2012-12-18T16:14:39 < Laurenceb> as at higher bus speeds it locks up all the time 2012-12-18T16:14:49 < Laurenceb> seems the hardware is too buggy 2012-12-18T16:14:59 < Laurenceb> and im not going to fix it with delays 2012-12-18T16:15:15 < zyp> higher? 2012-12-18T16:15:17 < zyp> how high? 2012-12-18T16:15:23 < Laurenceb> i was using 80000 2012-12-18T16:15:26 < Laurenceb> bps 2012-12-18T16:15:34 < Laurenceb> now i need >150000 2012-12-18T16:15:55 < Laurenceb> and for some reason the speed effects the lockup conditions 2012-12-18T16:16:02 < Laurenceb> it wont start up now 2012-12-18T16:16:06 < zyp> tried scoping the lines? check that the pullups are sane 2012-12-18T16:16:11 < Laurenceb> (gdb) p/x I2C1->CR1$32 = 0x501(gdb) p/x I2C1->CR2$33 = 0x324 2012-12-18T16:16:16 < Laurenceb> they are borderline 2012-12-18T16:16:25 < Laurenceb> at 240000 is giving clear errors 2012-12-18T16:16:38 < Laurenceb> at 170000 no errors but it locks up 2012-12-18T16:17:07 < Laurenceb> its the gpio remap that screw it 2012-12-18T16:17:20 < zyp> ah, right 2012-12-18T16:17:25 < Laurenceb> after remap the i2c peripheral is locked 2012-12-18T16:17:46 < Laurenceb> i dont understand why 2012-12-18T16:17:47 < zyp> I believe I said it when you were proposing the idea that that approach was dumb 2012-12-18T16:17:52 < Laurenceb> heh 2012-12-18T16:17:57 < Laurenceb> i have no other option 2012-12-18T16:18:06 < Laurenceb> its the only CE board i have 2012-12-18T16:18:30 < zyp> get a bus switcher? 2012-12-18T16:18:33 < Laurenceb> but anyway, i dont see how this problem can occur 2012-12-18T16:18:40 < Laurenceb> then its no longer CE 2012-12-18T16:18:57 < zyp> certified excrement? 2012-12-18T16:19:00 < Laurenceb> as the lockup occurs if i turn off the i2c, switch, then turn on again 2012-12-18T16:19:00 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2012-12-18T16:19:30 < Laurenceb> its for another project 2012-12-18T16:19:40 < Laurenceb> i dont have funding to develop a new board for this 2012-12-18T16:19:49 < zyp> how many clock cycles do you have between those actions? 2012-12-18T16:20:05 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-18T16:20:07 < zyp> tried with barriers between? 2012-12-18T16:20:10 < Laurenceb> i tried some delays... 2012-12-18T16:20:17 < Laurenceb> hmm ok ill do some experiments 2012-12-18T16:21:02 < zyp> doing x before y doesn't help if x is stuck in the pipeline :p 2012-12-18T16:22:03 < Laurenceb> good point 2012-12-18T16:22:34 < Laurenceb> have to get this done by end of January :S 2012-12-18T16:24:44 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Read error: Connection reset by peer] 2012-12-18T16:25:07 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-18T16:30:09 < Laurenceb> interesting 2012-12-18T16:30:13 < Laurenceb> it sent start 2012-12-18T16:30:16 < Laurenceb> jammed at stop 2012-12-18T16:30:39 < dongs> f3 usb periphearl? 2012-12-18T16:30:50 < Laurenceb> i2c 2012-12-18T16:30:59 < Laurenceb> hmm 2012-12-18T16:31:10 < Laurenceb> jammed at a stop where it tried to remap from the isr 2012-12-18T16:31:15 < Laurenceb> might have fixed it 2012-12-18T16:31:35 < dongs> er yea i meant i2c 2012-12-18T16:31:46 < Laurenceb> k 2012-12-18T16:31:58 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-18T16:32:06 < Laurenceb> looks like the barrier made a difference 2012-12-18T16:32:15 < Laurenceb> ill need to rewrite the code properly 2012-12-18T16:32:43 < Laurenceb> it remapped, sent start, then did some transactions on the second bus, then tried to remap back and broke 2012-12-18T16:33:00 < Laurenceb> as my barrier code was too goofy 2012-12-18T16:37:50 -!- Viper168 [Viper168@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2012-12-18T16:47:22 < Laurenceb> hell yeah 2012-12-18T16:47:34 < Laurenceb> got it to connect to all sensors 2012-12-18T16:47:49 < Laurenceb> thanx for the help 2012-12-18T16:52:13 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-18T16:55:30 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-18T16:57:02 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 272 seconds] 2012-12-18T17:00:15 < Laurenceb> http://www2.b3ta.com/host/creative/36694/1355821927/bigtroubleinlittlevagina1.jpg 2012-12-18T17:07:36 -!- dan2003 [~dan@cpc13-hitc6-2-0-cust40.9-2.cable.virginmedia.com] has joined ##stm32 2012-12-18T17:07:44 < dongs> http://i.imgur.com/v064N.jpg 2012-12-18T17:07:45 < dongs> attn Laurenceb 2012-12-18T17:09:33 < Laurenceb> http://www.sickipedia.org/joke/view/1393320 2012-12-18T17:09:45 < dan2003> anybody here use the DFU example from ST? if so did you manage to build it and fit it into the space provided in their example? The example code allows for 12k for the DFU loader, but it is near 20k when built and thus erases part of itself when trying to flash application code 2012-12-18T17:10:22 < dongs> dan2003: keyword: gcc 2012-12-18T17:10:36 < dongs> I'd suspect ST's demo was built with armcc or something professional 2012-12-18T17:11:59 -!- daku is now known as DaKu 2012-12-18T17:12:14 < dan2003> hmm, ok - ill try increasing bumping up the application code address a bit 2012-12-18T17:12:29 < dongs> or try using -O3 or -Os or someshit 2012-12-18T17:12:43 < gxti> yes, make sure you're using -Os 2012-12-18T17:12:45 < dongs> there are also some non-ST bootloaders that take up less space etc 2012-12-18T17:13:02 < gxti> also holy shit dongs said something useful about gcc insert end of world joke 2012-12-18T17:13:28 < Laurenceb> lol 2012-12-18T17:13:38 < Laurenceb> link time optimisation helps too 2012-12-18T17:13:43 < dan2003> yeah tried -Os already, not much help 2012-12-18T17:13:49 < dongs> stop using shitty gcc then 2012-12-18T17:13:53 < dongs> (there's non-shitty one?) 2012-12-18T17:14:03 < Laurenceb> now hes back to normal 2012-12-18T17:14:29 < gxti> there are certainly paid versions but i can't attest to their shittitude 2012-12-18T17:14:53 < gxti> and if the vendor did anything useful to them it'd be pulled back under GPL anyway therefore they must not have 2012-12-18T17:14:59 < dan2003> id rather bump the address a bit than use a commercial one, thanks 2012-12-18T17:15:22 < dongs> you can also try this shitty version of gcc: https://launchpad.net/gcc-arm-embedded 2012-12-18T17:15:51 -!- dan2003 [~dan@cpc13-hitc6-2-0-cust40.9-2.cable.virginmedia.com] has left ##stm32 ["Ex-Chat"] 2012-12-18T17:17:37 < dongs> well that guy doesnt like to stick around 2012-12-18T17:21:11 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-18T17:23:51 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2012-12-18T17:27:11 < Oldboy> shittycc 2012-12-18T17:28:36 < zyp> 20k? for a DFU bootloader? 2012-12-18T17:34:23 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-18T17:35:04 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-18T17:40:08 < emeb> morning, crickets. 2012-12-18T17:40:17 < zyp> good afternoon 2012-12-18T17:41:03 < emeb> anything interesting happening in the wide world today? 2012-12-18T17:41:31 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 256 seconds] 2012-12-18T17:41:57 < zyp> Laurenceb apparently got something to work, for once 2012-12-18T17:42:03 < emeb> \o/ 2012-12-18T17:42:10 < zyp> but other than that I haven't heard anything groundbreaking 2012-12-18T17:42:18 < dongs> apparently by adding spaces 2012-12-18T17:42:22 < dongs> my awesome nonlunix router shipped. 2012-12-18T17:42:23 < dongs> arrives tomrow. 2012-12-18T17:42:31 < zyp> nice 2012-12-18T17:42:50 < emeb> that's the 10yo Yamaha thing? 2012-12-18T17:42:54 < dongs> well, yes 2012-12-18T17:43:03 < dongs> with ISDN, too. 2012-12-18T17:43:12 < emeb> don't make 'em like they used to apparently. 2012-12-18T17:43:18 < emeb> is ISDN a feature for you? 2012-12-18T17:43:28 < dongs> sure 2012-12-18T17:43:32 < zyp> still no sign of bmp2/f3 boards here 2012-12-18T17:43:44 < dongs> I've got a voip>ISDN converter im using here 2012-12-18T17:43:51 < emeb> zyp: but you got your parts? 2012-12-18T17:43:52 < dongs> 2x voip channels into ISDN 2012-12-18T17:44:02 < zyp> emeb, yes, they were delivered yesterday 2012-12-18T17:44:05 < dongs> also have 2x analog>ISDN 2012-12-18T17:44:16 < dongs> zyp, should be anytime i guess. takes about a week.1/2 to eurotrash. 2012-12-18T17:44:19 < dongs> for shittymail 2012-12-18T17:44:20 < emeb> wow - didn't know ISDN was still a thing. 2012-12-18T17:44:49 < dongs> im using a old jap keysystem for my house phones 2012-12-18T17:44:57 < dongs> it has isdn + 2 analog lines + 1 voip 2012-12-18T17:44:57 < emeb> that's like 128kbps or something? 2012-12-18T17:45:21 < zyp> how's wired telephony in japan these days? 2012-12-18T17:45:26 < dongs> terrible 2012-12-18T17:45:31 < dongs> new shit is fuckign expensive + unusable 2012-12-18T17:45:59 < zyp> I seem to recall japanese phone boots being marked with ISDN 2012-12-18T17:46:12 < dongs> they still do 2012-12-18T17:46:17 < dongs> every one of htem 2012-12-18T17:47:33 < karlp> I'm failing to understand what you can monitor in a car that needs several K samples per second. 2012-12-18T17:47:46 < dongs> dongs, of course 2012-12-18T17:47:49 < emeb> who's doing that? 2012-12-18T17:47:52 < dongs> Laurenceb is 2012-12-18T17:47:54 < karlp> Laurenceb: anyway, it was just an idea when you were mentioning your sound recording thing. 2012-12-18T17:48:10 < Laurenceb> kk 2012-12-18T17:48:16 < karlp> even if you just use a phone for networking/storage/ you can have your uber sense device as a usb device right? 2012-12-18T17:48:17 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-18T17:48:20 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-18T17:48:22 < emeb> jeez - is there anything Laurenceb doesn't do? 2012-12-18T17:48:30 < Laurenceb> need to looks an impact assessment etc 2012-12-18T17:48:44 < emeb> wiring up crash-test dummies? 2012-12-18T17:48:55 < Laurenceb> yes 2012-12-18T17:48:56 < karlp> let droid do all the sd writing and sound encoding and networking stuff, your usb device just does the several Ksps that you wanted. 2012-12-18T17:49:08 <+Steffanx> nu 2012-12-18T17:49:08 < karlp> I thought this was in regular ambulances? not crash time. 2012-12-18T17:49:10 < Laurenceb> hmm i guess that would work 2012-12-18T17:49:17 < Laurenceb> yes 2012-12-18T17:49:24 < karlp> anyway, just an idea. 2012-12-18T17:49:30 < Laurenceb> its regular, but we fill them with dummies 2012-12-18T17:49:34 < Laurenceb> then drive them around 2012-12-18T17:49:41 < karlp> it includes the batter, the charger, the sd card and all the other goodness that you don't won't to have to dealw tih, 2012-12-18T17:49:54 < karlp> (and it's CE...) 2012-12-18T17:49:55 < emeb> endless supply of dummies to fill ambulances with... 2012-12-18T17:50:12 < Laurenceb> yeah.. but everything works fairly painlessly 2012-12-18T17:50:15 < Laurenceb> accept i2c bus 2012-12-18T17:50:29 < karlp> well, you had been saying you were struggling with sound encoding, that's all. 2012-12-18T17:50:37 < karlp> nvm :) 2012-12-18T17:50:51 < Laurenceb> nah sound is working nicely now 2012-12-18T17:52:06 < Laurenceb> just i2c bus locking up as usual 2012-12-18T17:57:33 < karlp> man, wolfram alpha is neat. 2012-12-18T17:57:50 < karlp> discussing an exponential backoff algorithm to not generate too many emails 2012-12-18T17:58:07 < karlp> stuck a list of times that we thought sounded nice, and it spat out a nice formula for us to use. 2012-12-18T17:58:27 < karlp> http://www.wolframalpha.com/input/?i=%7B7.5%2C+15%2C+30%2C+60%2C+120%2C+240%2C+480%7D 2012-12-18T17:59:48 <+Steffanx> I even paid for wolframalpha :P 2012-12-18T17:59:55 < dongs> wat 2012-12-18T18:00:19 <+Steffanx> You have to pay to get the fancy calculations behind it, sometimes :P 2012-12-18T18:00:45 < karlp> possible sequence identification: closed form: An = 15 x 2^n-2 2012-12-18T18:00:46 < karlp> bingo! 2012-12-18T18:01:51 < zyp> I bet that would be hard to make out yourself 2012-12-18T18:02:34 < karlp> well, we'd been using 2̂^n, and I had a feeling I wanted something along teh lines of 2^n-? and probably some other factor on the front, but yeah, I would have just had to plot a bunch of them to try and zero in on it. 2012-12-18T18:03:27 < karlp> it sure does push pretty hard to get me to sign up 2012-12-18T18:03:33 < karlp> I cna't even copy text off the results page. 2012-12-18T18:05:58 <+Steffanx> I got a student license, wasn't that much anyway :) 2012-12-18T18:06:10 <+Steffanx> Good money for a lazy student :) 2012-12-18T18:07:19 < karlp> well, I could probably register, but I think it's the first time I've used it for anything more than "huh, interesting tool, I wonder what I would ever use it for" 2012-12-18T18:08:59 < dongs> i use wolframalpha all the timem 2012-12-18T18:09:08 < dongs> cuz i cant add 2+2 etc 2012-12-18T18:09:24 <+Steffanx> :) 2012-12-18T18:11:34 <+Steffanx> dongs can you make is.dongsserio.us/this?time please? 2012-12-18T18:16:35 < Laurenceb> ggrrrr 2012-12-18T18:16:43 < Laurenceb> some n00b rewrote wavread 2012-12-18T18:16:52 <+Steffanx> Too many spaces? 2012-12-18T18:16:53 < Laurenceb> so it errors with my fudged headers 2012-12-18T18:17:05 < Laurenceb> i set filesize to 0xFFFFFFFF 2012-12-18T18:17:17 < Laurenceb> previously it read filesize itself 2012-12-18T18:17:26 < Laurenceb> but now i reads the size and errors 2012-12-18T18:21:08 < emeb> that's a feature! 2012-12-18T18:21:21 <+Steffanx> or someone just didn't read the documentation 2012-12-18T18:22:23 < Laurenceb> i guess i can use f_lseek 2012-12-18T18:22:36 < Laurenceb> and seek back to the header and rewrite before closing 2012-12-18T18:30:42 -!- _BJFreeman [~bjfree@132.sub-75-196-118.myvzw.com] has joined ##stm32 2012-12-18T18:32:23 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has joined ##stm32 2012-12-18T18:45:48 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-18T19:11:05 -!- mrcan_ is now known as mrcan 2012-12-18T19:25:31 -!- _BJFreeman [~bjfree@132.sub-75-196-118.myvzw.com] has quit [] 2012-12-18T19:34:35 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 255 seconds] 2012-12-18T19:47:14 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-18T19:47:15 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-18T19:47:25 -!- _BJFreeman [~bjfree@132.sub-75-196-118.myvzw.com] has joined ##stm32 2012-12-18T20:19:53 -!- barthess [~barthess@178.154.63.135] has joined ##stm32 2012-12-18T21:22:14 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-252-251.clienti.tiscali.it] has joined ##stm32 2012-12-18T21:22:15 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-231-227.clienti.tiscali.it] has quit [Disconnected by services] 2012-12-18T21:22:44 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-252-251.clienti.tiscali.it] has quit [Client Quit] 2012-12-18T21:23:02 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-252-251.clienti.tiscali.it] has joined ##stm32 2012-12-18T22:14:28 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-18T22:22:39 -!- DaKu is now known as daku 2012-12-18T22:25:34 -!- englishman [~englishma@199.180.97.18] has quit [Read error: Connection reset by peer] 2012-12-18T22:26:06 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 250 seconds] 2012-12-18T22:32:04 -!- barthess [~barthess@178.154.63.135] has quit [Ping timeout: 272 seconds] 2012-12-18T23:13:55 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-18T23:22:06 <+Steffanx> zzzzz 2012-12-18T23:22:51 < emeb> zleepy Steffanx 2012-12-18T23:22:58 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 246 seconds] 2012-12-18T23:25:36 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-18T23:28:09 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 --- Day changed Wed Dec 19 2012 2012-12-19T00:00:34 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 250 seconds] 2012-12-19T00:37:18 -!- Laurenceb_ [~Laurence@host86-136-117-242.range86-136.btcentralplus.com] has joined ##stm32 2012-12-19T00:59:53 < Posterdati> hi 2012-12-19T01:00:12 < Posterdati> please how can I change the pwm pulse width dynamically? tx 2012-12-19T01:06:17 < emeb> you can set PWM pulse width to anything, any time just by writing the desired pulse width to the CCR register 2012-12-19T01:09:08 < Posterdati> I'd like to use st lib 2012-12-19T01:11:46 < zyp> then just call the function that performs that operation 2012-12-19T01:11:54 < Posterdati> what is it? 2012-12-19T01:12:13 < Posterdati> TIM_SetAutoreload 2012-12-19T01:12:16 < Posterdati> ? 2012-12-19T01:12:17 < zyp> no 2012-12-19T01:12:18 < emeb> use the source luke 2012-12-19T01:12:29 < Posterdati> there's no such example :( 2012-12-19T01:12:38 < zyp> read the documentation? 2012-12-19T01:12:50 < emeb> look in the source for stm32fxxxx_TIM 2012-12-19T01:12:57 < Posterdati> ,,, 2012-12-19T01:13:00 < Posterdati> ... 2012-12-19T01:13:27 < zyp> name probably contains the words compare and/or channel 2012-12-19T01:13:38 < Posterdati> ok 2012-12-19T01:13:44 < Posterdati> found 2012-12-19T01:13:47 < emeb> and probably accesses CCR, so grepping on that term might help 2012-12-19T01:13:52 < Posterdati> 1TIM_SetCompare 2012-12-19T01:13:54 < Posterdati> TIM_SetCompare1 2012-12-19T01:21:18 < Posterdati> emeb: ok, worked, tx 2012-12-19T01:22:11 < _BJFreeman> happened to me also 2012-12-19T01:22:59 < _BJFreeman> had a shipper put the right street address but different zipcode 2012-12-19T01:23:14 < dongs> holy shit 2012-12-19T01:23:24 < dongs> my raspberry pi shipped 2012-12-19T01:23:36 < dongs> from rs 2012-12-19T01:23:56 < Posterdati> rs shipped me the raspberry in 6 months 2012-12-19T01:23:58 < rlc> from where? 2012-12-19T01:24:00 < ds2> speaking of PWM... can the stm32's PWM pre-interrupt? 2012-12-19T01:24:08 < emeb> the apocalypse is upon us 2012-12-19T01:24:17 < rlc> radio scrap? 2012-12-19T01:24:25 < emeb> :) 2012-12-19T01:24:36 < dongs> Posterdati: yes i orders in august 2012-12-19T01:25:30 < emeb> dongs: what you gonna do with an rpi? 2012-12-19T01:25:35 < ds2> i.e. send an interrupt at a different capture value then the value used to toggle the gpio 2012-12-19T01:25:49 < rlc> dongs: what is rs? 2012-12-19T01:25:59 < dongs> rs components plc 2012-12-19T01:26:04 < rlc> ah 2012-12-19T01:26:07 < Posterdati> ds2: I did such a thing with a pic18f2455 2012-12-19T01:26:15 < dongs> a ghetto supplier 2012-12-19T01:26:58 < ds2> Posterdati: yes, but can the PWM block in the stm32 do it 2012-12-19T01:27:07 < Posterdati> yes 2012-12-19T01:27:28 < Posterdati> timer on stm32 has got a special function to measure a width 2012-12-19T01:27:43 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-19T01:27:57 < emeb> ds2: most stm32 timers have multiple capture/compare regs. You could use one for driving output and another generating irq 2012-12-19T01:28:13 < ds2> no... trying to see if the pwm block can pre-interrupt sw to load its next value before the current count is over 2012-12-19T01:28:32 < ds2> emeb: ah... okay 2012-12-19T01:28:57 < rlc> I might get a rpi too :) 2012-12-19T01:30:37 < dongs> ds2, it's called dma 2012-12-19T01:31:03 < dongs> unless you need to change next value 2012-12-19T01:31:21 < dongs> based on now 2012-12-19T01:31:56 < rlc> dang, shipping for rpi is $20 :/ 2012-12-19T01:31:59 < ds2> dongs: Hmmm... interesting. that'd work too 2012-12-19T01:32:11 < ds2> dongs: is that how you are controlling those WS chips ? 2012-12-19T01:32:20 < dongs> ds2, I'm gonns.. 2012-12-19T01:32:27 < dongs> yes, that 2012-12-19T01:32:45 < dongs> precalcucate in ram 2012-12-19T01:32:54 < dongs> set dma to ccr 2012-12-19T01:33:02 < dongs> let it run 2012-12-19T01:33:59 < dongs> it was too slow interrupting for each bit 2012-12-19T01:34:17 < dongs> at 800khz 2012-12-19T01:37:36 < dongs> my new phone chats window is 128x43 2012-12-19T01:37:58 < dongs> this is better than my desktop 2012-12-19T01:43:39 < emeb> verrrry tiny chars. 2012-12-19T01:44:48 < emeb> so is element 14 the only outfit selling rpi in US? 2012-12-19T01:45:15 < dongs> no idea . they didn't ship to jp 2012-12-19T01:45:28 < dongs> maybe aidsfruit sells it 2012-12-19T01:45:38 < dongs> or spark fun ? 2012-12-19T01:45:48 < emeb> adafruit bundles it with other stuff 2012-12-19T01:45:56 < emeb> but they don't sell 'em alone. 2012-12-19T01:46:30 < zyp> 00:28:13 < ds2> no... trying to see if the pwm block can pre-interrupt sw to load its next value before the current count is over 2012-12-19T01:46:33 < dongs> well to ma 2012-12-19T01:46:43 < zyp> yes, optional buffering can be enabled 2012-12-19T01:47:11 < dongs> to take full advantage of rpi you need all that other stuff too 2012-12-19T01:47:21 < zyp> ds2, so during one period you can set the values for next, without affecting the current period 2012-12-19T01:47:25 < dongs> zyp, really 2012-12-19T01:47:33 < dongs> cool 2012-12-19T01:47:51 < dongs> how does that work 2012-12-19T01:48:56 < zyp> look for preload in the reference manual 2012-12-19T01:49:26 < zyp> «The TIMx_CCRx register can be updated at any time by software to control the output waveform, provided that the preload register is not enabled (OCxPE=’0’, else TIMx_CCRx shadow register is updated only at the next update event UEV).» 2012-12-19T01:49:55 < zyp> and update event is when the timer wraps and goes back to 0 2012-12-19T01:50:01 < zyp> i.e. start of next period 2012-12-19T01:50:27 < dongs> oh, preload 2012-12-19T01:50:31 < zyp> yes 2012-12-19T01:50:39 < dongs> i always use that 2012-12-19T01:50:48 < dongs> that's not what he wanted 2012-12-19T01:50:53 < rlc> emeb: there's a shop called active electronics here but they sell the rpi more expensive 2012-12-19T01:51:02 < zyp> dongs, what did he want then? 2012-12-19T01:52:07 < zyp> the timers are pretty flexible, so they can do pretty much whatever you want to, as long as you configure them in a suitable way 2012-12-19T01:52:20 < dongs> zyp, imagine he has pwm output compare, interrupt on each completion . he wants to get interrupt for it before it actually completed. like n cycles ahead 2012-12-19T01:52:52 < dongs> to do whatever , like compute next value 2012-12-19T01:52:58 < zyp> which completion? compare match or timer wraparound? 2012-12-19T01:53:04 < dongs> match 2012-12-19T01:53:12 < zyp> and for what purpose? 2012-12-19T01:53:26 < dongs> no idea just told him to use dma 2012-12-19T01:53:36 < dongs> :p 2012-12-19T01:53:45 < Laurenceb_> attention dongs 2012-12-19T01:53:45 < zyp> how does dma help when you don't know what the problem is? 2012-12-19T01:53:46 < Laurenceb_> http://donaldclarkplanb.blogspot.co.uk/2012/05/raspberry-pi-7-reasons-why-it-wont-work.html 2012-12-19T01:54:19 < Laurenceb_> anyone here used timer one shot on F1? 2012-12-19T01:55:12 < ds2> zyp: really? Nice! 2012-12-19T01:55:24 < ds2> so I have 1/f clock cycles to screw with it 2012-12-19T01:55:38 < zyp> yes 2012-12-19T01:56:24 < zyp> if you trigger IRQ from the update event, you have the full period to handle it and set new values that will be used next period 2012-12-19T01:58:03 < dongs> Laurenceb_: Interest has largely been from ageing men who love to tinker. 2012-12-19T01:58:09 < dongs> lol mantoys 2012-12-19T02:01:49 < dongs> time to climb out of bed 2012-12-19T02:02:12 < zyp> I'm thinking more along the lines of time to climb into bed 2012-12-19T02:02:19 < dongs> lo 2012-12-19T02:03:10 < ds2> emeb: did you see the MIT class on building a S-A Radar? 2012-12-19T02:07:50 < emeb> ds2: I saw some blogs about it a while back. 2012-12-19T02:08:19 < ds2> emeb: do you think it can be simplified more 2012-12-19T02:08:20 < ds2> ? 2012-12-19T02:08:48 < dongs> blogs , authoritative sources on a topic 2012-12-19T02:09:29 < emeb> ds2: IIRC the guy was using an interferometer and collecting the mix products and post-processing in Matlab/Octave. 2012-12-19T02:09:50 < emeb> (collecting using laptop sound input) 2012-12-19T02:10:46 < ds2> yes 2012-12-19T02:11:27 < emeb> can't get much simpler than that, but I don't recall what he was using for the RF section. 2012-12-19T02:11:51 < ds2> minicircuit VCO modulated with a RAMP generator 2012-12-19T02:12:06 < emeb> ah - so chirping it. 2012-12-19T02:12:08 < ds2> that part should be able to be simplified by a single chip. 2012-12-19T02:12:10 < emeb> got a URL? 2012-12-19T02:12:15 < ds2> one sec 2012-12-19T02:12:56 < ds2> http://ocw.mit.edu/resources/res-ll-003-build-a-small-radar-system-capable-of-sensing-range-doppler-and-synthetic-aperture-radar-imaging-january-iap-2011/index.htm 2012-12-19T02:13:29 < emeb> lol - solderless bb 2012-12-19T02:13:40 < ds2> donno enough about mixers and splitters to know if it can be simplified even more 2012-12-19T02:14:07 < emeb> grabbing the d/l 2012-12-19T02:14:47 < Laurenceb_> vco ramp is an interesting technique 2012-12-19T02:15:01 < Laurenceb_> theres an awesome serbian guy somewhere 2012-12-19T02:16:45 < Laurenceb_> but i cant find the page :( 2012-12-19T02:17:16 < emeb> ds2: looking thru the lecture notes they're using all modular connectorized parts 2012-12-19T02:17:40 < emeb> probably possible to get the same functions at the component level to assemble onto a single board. 2012-12-19T02:17:50 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 265 seconds] 2012-12-19T02:17:54 < emeb> could be much more compact / cheaper. 2012-12-19T02:18:02 < emeb> with equivalent performance. 2012-12-19T02:19:31 < HTT-Bird> yeah :) of course. sounds like a nifty lab setup tho 2012-12-19T02:19:56 < emeb> eg - that connectorized VCO is 2420-2480MHz, costs about $45/ea 2012-12-19T02:20:12 < emeb> but you can buy SMD VCO modules for about 1/4 that 2012-12-19T02:20:26 < ds2> emeb: the dev boards for the CC2500 should be able to do the VCO and RAM generation 2012-12-19T02:20:51 < emeb> ds2: also true 2012-12-19T02:21:11 < ds2> it is the receive end that I don't understand enough 2012-12-19T02:21:20 < ds2> from what I can tell, the part they are using looks a lot like a TV splitter 2012-12-19T02:21:20 < emeb> ds2: nothing to it 2012-12-19T02:21:38 < ds2> then there is the question - why 2 antennas? 2012-12-19T02:21:52 < emeb> they're using a splitter to divide the LO between the TX and RX antennas 2012-12-19T02:22:15 < emeb> then mixing the RX with that as a reference. That's called "homodyne" 2012-12-19T02:22:21 < ds2> so it is just a plain old splitter? no phasing required? 2012-12-19T02:22:26 < emeb> right 2012-12-19T02:22:28 < ds2> I know what mixers do 2012-12-19T02:22:32 < ds2> Ohhhh okay 2012-12-19T02:22:34 < emeb> the RX phase is arbitrary 2012-12-19T02:22:51 < ds2> then why is there 2 antennas? 2012-12-19T02:22:52 < emeb> all you looking for is signal strength and possibly frequency shift for doppler 2012-12-19T02:23:10 < emeb> 2 antennas because otherwise the TX signal would swamp out the RX LNA 2012-12-19T02:23:18 < emeb> just isolation 2012-12-19T02:23:31 < ds2> so what you are telling me is - if I modulate the signal inside a radar (speed gun), I can get exactly the same effect? 2012-12-19T02:23:57 < emeb> you mean a single-horn gunnplexer type deal? 2012-12-19T02:24:03 < ds2> yeah 2012-12-19T02:24:20 < emeb> Hard to say if that would work to detect the return signal. 2012-12-19T02:24:39 < emeb> Gunnplexer will tell you the difference frequency, so it's useful for doppler 2012-12-19T02:24:56 < emeb> but if the target is stationary it probably won't tell you ranging. 2012-12-19T02:25:04 < ds2> then how is this different? 2012-12-19T02:25:13 < ds2> though we are also looking for dopler shifts here? 2012-12-19T02:25:31 < ds2> or is it really looking at delays on the ramp to simulate a dopler shift? 2012-12-19T02:25:31 < emeb> The RX on this is isolated from the TX so it also tells you if there is even a return signal at all 2012-12-19T02:25:35 < emeb> yes 2012-12-19T02:25:44 < ds2> ah I see 2012-12-19T02:26:07 < ds2> this whole thing reminds me of those $20 radar guns Mattel sold a while ago 2012-12-19T02:26:19 < emeb> don't recall thosse 2012-12-19T02:26:30 < ds2> it is a working radar gun 2012-12-19T02:26:47 < ds2> 10GHz, and it beats it with itself to get an audio signal which has its period measured 2012-12-19T02:26:49 < ds2> that is the speed 2012-12-19T02:27:01 < ds2> search for mattel hotwheels radar gun 2012-12-19T02:27:40 < emeb> right. Same thing as grocery-store door openers. 2012-12-19T02:27:55 < emeb> they're just looking for a beat-note that says a person is moving through the field 2012-12-19T02:28:16 < ds2> seems like a worthwhile experiment is to put a ramp generator and a resistor setup to mix the ramp with the power to the Gunn diode and then recording the audio output from the mixer 2012-12-19T02:28:20 < emeb> ie - if you approach verrrry sloooowly then the door won't see you because the beat-note is too low freq. 2012-12-19T02:28:31 < ds2> hmmm I got to try that 2012-12-19T02:28:56 < emeb> although - I have seen door openers with 2 horns. 2012-12-19T02:29:18 < emeb> those wouldn't have that problem for the same reason that this MIT thing works with stationary targets. 2012-12-19T02:29:43 < emeb> suggests that you could do SAR with a hacked up 2-horn door opener. 2012-12-19T02:30:02 < ds2> but do you know of cheap sources for a 2 horn door opener? :D 2012-12-19T02:30:15 < emeb> Time to run down to Haltek or Weird Stuff. :) 2012-12-19T02:30:41 < ds2> no more Haltek 2012-12-19T02:30:48 < ds2> or you mean Halted? 2012-12-19T02:31:00 < emeb> yeah - always got them mixed up 2012-12-19T02:31:03 < ds2> (yes, there was a Haltek) 2012-12-19T02:31:14 < ds2> didn't see any the last times I was there 2012-12-19T02:31:29 < ds2> but the MIT one seems like a fun experiment to try 2012-12-19T02:31:37 < emeb> yeah. 2012-12-19T02:31:49 < ds2> if it is just a splitter, I can use TV splitters 2012-12-19T02:31:59 < ds2> donno what to do about a cheap mixer at 2.4GHz though 2012-12-19T02:32:38 < emeb> mixers shouldn't be too tough 2012-12-19T02:32:54 < zyp> isn't splitters and mixers pretty easy to do with striplines? 2012-12-19T02:32:55 < emeb> plenty of chips for that stuff - check ADI or Maxim. 2012-12-19T02:33:12 < emeb> splitters - maybe 2012-12-19T02:33:36 < emeb> you'd need to get familiar with the old Smith chart to be sure. 2012-12-19T02:33:46 < dongs> just opened the "radar" page 2012-12-19T02:33:49 < dongs> made out of 2 pringles cans 2012-12-19T02:33:51 < ds2> isn't there a drive level thing? 2012-12-19T02:33:52 < zyp> what's the difference between a splitter and a mixer? 2012-12-19T02:33:52 < dongs> still laughing 2012-12-19T02:34:05 < ds2> a mixer mixes. a splitter splits :D 2012-12-19T02:34:20 < dongs> hookup mixer in reverse and ??? 2012-12-19T02:34:27 < emeb> zyp: splitter sends 1/2 the power to each output 2012-12-19T02:34:27 < ds2> a mixer is nonlinear and generates A+B/A-B out the output for inputs of A and B 2012-12-19T02:34:37 < ds2> where A and B are frequency values, not power 2012-12-19T02:34:46 < emeb> zyp: mixer beats two signals together and creats sum/difference products 2012-12-19T02:34:55 < zyp> well, sure 2012-12-19T02:34:58 < zyp> I mean design-wise 2012-12-19T02:35:14 < emeb> design wise a splitter is some transmission line and resistors 2012-12-19T02:35:32 < emeb> a mixer is transformers & diodes 2012-12-19T02:35:50 < emeb> or a network of transistors (see gilbert cell for example) 2012-12-19T02:36:27 < ds2> isn't the transformers needed only for balance? 2012-12-19T02:36:39 < ds2> i.e. an unbalanced mixer can be a single diode 2012-12-19T02:36:49 < emeb> ds2: there are many ways to do mixers. 2012-12-19T02:37:17 < ds2> emeb: on paper, I know I can do it with a few diodes... but in practice, I don't see that done often 2012-12-19T02:37:18 < emeb> simplest is to sum RF & LO together & run through a diode. That nonlinearity can do the mixing and you pick off the resulting current 2012-12-19T02:37:35 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-19T02:38:00 < ds2> <--- not completely versed with RF 2012-12-19T02:38:08 < emeb> but that's not very efficient - the diode-ring w/ baluns for RF & LO gives stronger IF output. 2012-12-19T02:38:22 < ds2> ah 2012-12-19T02:38:25 < emeb> which is important for sensitivity 2012-12-19T02:40:07 < emeb> ds2: an IC mixer for 2.4GHz: http://www.analog.com/en/rfif-components/mixersmultipliers/adl5363/products/product.html 2012-12-19T02:40:53 < ds2> Hmmm 2012-12-19T02:42:38 -!- _BJFreeman [~bjfree@132.sub-75-196-118.myvzw.com] has quit [] 2012-12-19T02:44:10 < emeb> and a common style VCO for SMD: http://www.rfmd.com/CS/Documents/VCO190-2420TY.pdf 2012-12-19T02:45:10 < dongs> voltage controlled dongulator 2012-12-19T02:46:26 < dongs> so do you tune those with a dac or something 2012-12-19T02:46:31 < dongs> or like pwm + r/c 2012-12-19T02:46:37 < emeb> dongs: you can do that 2012-12-19T02:46:58 < emeb> usually they're part of a PLL, so there's a phase detector & loop filter that generate the control voltage. 2012-12-19T02:47:07 < dongs> oh ok. 2012-12-19T02:48:05 < ds2> hmmm 2012-12-19T02:48:12 < emeb> and if you want to do a 2.4GHz PLL there are better ways: http://www.analog.com/en/rfif-components/pll-synthesizersvcos/adf4108/products/product.html 2012-12-19T02:48:21 < emeb> all on one chip 2012-12-19T02:48:38 < emeb> just send it SPI commands to set frequency. Sweep it with an MCU. 2012-12-19T02:49:41 < ds2> emeb: looks like someone tried it but didn't get anywhere - http://www.edparadis.com/radar/ 2012-12-19T02:50:52 < emeb> yep - little patch antennas. 2012-12-19T02:51:16 < emeb> all the microwave ckts are encased in that little metal box at the end of the waveguide. 2012-12-19T02:51:35 < dongs> i was just posting pics of some radar trash 2012-12-19T02:51:52 < emeb> yep 2012-12-19T02:51:55 < dongs> http://i.imgur.com/qjvBW.jpg this shit 2012-12-19T02:51:58 < dongs> 24.something ghz 2012-12-19T02:52:01 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-19T02:52:10 < emeb> dongs: what was that from? 2012-12-19T02:52:45 < dongs> some speed or distance detector or something i guess 2012-12-19T02:56:10 -!- Laurenceb_ [~Laurence@host86-136-117-242.range86-136.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2012-12-19T02:57:55 < ds2> hmmm this is getting more complex then I'd like 2012-12-19T02:59:58 < emeb> devil in the details :) 2012-12-19T03:00:13 < ds2> it is the receiver side that is getting complex 2012-12-19T03:00:22 < ds2> xmit can be done, IMO, with a CC2500 dev board 2012-12-19T03:02:04 < emeb> ds2: just need the lna, splitter, mixer. what's hard? 2012-12-19T03:02:12 < ds2> the physical wiring 2012-12-19T03:02:24 < ds2> stuff at 2.4GHz don't take well to random speghetti wiring like digital crap 2012-12-19T03:02:31 < emeb> true 2012-12-19T03:02:48 < emeb> that's why for rough out they like those connectorized modules. 2012-12-19T03:02:54 < emeb> but that costs extra 2012-12-19T03:02:58 < ds2> yes. 2012-12-19T03:03:17 < ds2> I wondering if Ramsey still offers that kit 2012-12-19T03:03:54 < ds2> looks like they do 2012-12-19T03:05:22 < dongs> are radars even legal in soviet america 2012-12-19T03:05:28 < dongs> after 9/11 and all teh school shootings? 2012-12-19T03:05:28 < emeb> sure 2012-12-19T03:08:13 < emeb> most police use lidar now. radar is low-tech 2012-12-19T03:08:59 < dongs> LInux raDAR? 2012-12-19T03:10:03 < emeb> no - that would be LUnix raDAR - ludar 2012-12-19T03:10:15 < dongs> haha 2012-12-19T03:10:44 < dongs> http://upload.wikimedia.org/wikipedia/commons/5/5d/Starfire_Optical_Range_-_sodium_laser.jpg 2012-12-19T03:10:50 < dongs> death ray 2012-12-19T03:14:41 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-19T03:14:41 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-252-251.clienti.tiscali.it] has quit [Disconnected by services] 2012-12-19T03:20:56 < emeb> http://pantsnotfound.com/products/caution-do-not-stare-into-laser-with-remaining-eye 2012-12-19T03:46:35 < gxti> ok so let's say i'm sick and tired of openocd not fucking working 2012-12-19T03:46:40 < gxti> who do i throw money at to make this problem go away 2012-12-19T03:48:00 < dongs> gxti: http://www.hotmcu.com/usbminijtag-jlink-ob-jtagswd-emulator-with-usb-interface-p-29.html?cPath=3_25 2012-12-19T03:48:04 < dongs> done. 2012-12-19T03:48:10 < dongs> then just use jlink / their gdb server. 2012-12-19T03:48:36 < gxti> i actually already have a busblaster, i had even worse luck with that but it was probably a software issue 2012-12-19T03:48:56 < gxti> busblaster was pretty much designed to pretend to be various vendor adapters including jlink 2012-12-19T03:49:22 < dongs> busblaster?!??@!#?$?@#?$?@#$?/ 2012-12-19T03:49:31 < dongs> get proper shit dude. 2012-12-19T03:49:36 < dongs> i had zero problems with either jlink or ulink 2012-12-19T03:49:39 < dongs> of course, I use windows. 2012-12-19T03:49:49 < gxti> at this point i don't even care 2012-12-19T03:50:09 < dongs> gxti, if you dont wanna wait for china, get jlinkedu from digikey. 2012-12-19T03:50:11 < dongs> like $70 bucks. 2012-12-19T03:50:29 < dongs> http://www.digikey.com/scripts/dksearch/dksus.dll?vendor=0&keywords=j-link+edu 2012-12-19T03:50:38 < dongs> not v endor / compiler / etc locked 2012-12-19T03:50:39 < dongs> just works. 2012-12-19T03:51:04 < dongs> they have gdbserver that works wiht eclipse and such. 2012-12-19T03:52:40 < gxti> bets on how many more hours it will take to get a uart working 2012-12-19T03:52:58 < gxti> using the exact code from my previous project on this exact chip 2012-12-19T03:53:12 < gxti> elementary school shit here 2012-12-19T03:53:35 < gxti> guess i should start over from bare metal again 2012-12-19T03:53:56 < gxti> either that or get it building in atollic so i can debug 2012-12-19T03:54:24 < dongs> eh 2012-12-19T03:54:37 < dongs> how freakin hard is uart? 2012-12-19T03:54:51 < gxti> it's not, probably chibios fucked something up 2012-12-19T03:54:55 < dongs> oh rite 2012-12-19T03:54:57 < dongs> no doubt. 2012-12-19T03:55:02 < dongs> just use CoOS and CoX. 2012-12-19T03:55:06 < gxti> gpio mode i can blink the line or whatever. put it in AF mode and it's floating, no peripheral to be seen. 2012-12-19T03:55:19 < gxti> no remaps getting in the way 2012-12-19T03:55:40 < dongs> clock enabled? 2012-12-19T03:55:42 < dongs> is this F4? 2012-12-19T03:56:04 < gxti> f1, and chibios is supposed to take care of clocks n stuff. at least, it worked on the previous project. 2012-12-19T03:56:09 < dongs> ah. 2012-12-19T03:56:14 < dongs> uart on F1 works for me. 2012-12-19T03:56:16 < dongs> polling, DMA, etc. 2012-12-19T03:57:52 < gxti> it's USART1 either way, only difference is the previous project used the remapped location 2012-12-19T03:58:03 < dongs> now youre using the default one? 2012-12-19T03:58:04 < gxti> and i don't have any other peripherals clocked 2012-12-19T03:58:08 < dongs> pA9/pa10 or something? 2012-12-19T03:58:09 < gxti> yes 2012-12-19T03:58:17 < gxti> and yes 2012-12-19T03:58:25 < dongs> ya man, should just work. 2012-12-19T03:58:28 < dongs> see if you used a proper ide 2012-12-19T03:58:32 < dongs> you could just open the usart peripheral status window 2012-12-19T03:58:39 < dongs> and you'd get prety checkboxes for stuff 2012-12-19T03:58:43 < dongs> and status register values and shit. 2012-12-19T03:58:47 < dongs> you'd be able to tell in 5 seconds whats not working 2012-12-19T03:59:18 < gxti> and right now i do 'break main' and gdb is like "you 'that means continue right ok bye' 2012-12-19T03:59:44 < gxti> i swear even basic shit like breakpoints used to work, should give up and come back in a year 2012-12-19T03:59:53 < gxti> see if their shit is screwed on straight 2012-12-19T04:00:28 < dongs> gxti, I was using gdb back in 2005/6 or something on sam7 parts. 2012-12-19T04:00:32 < dongs> it was just as fucking horrible. 2012-12-19T04:00:41 < dongs> if nothing changed in 6 years i wouldnt hold your breath for another year now. 2012-12-19T04:00:42 < gxti> it's not even gdb's fault, gdb is fine 2012-12-19T04:00:48 < gxti> ugly but fine 2012-12-19T04:00:48 < dongs> well, openocd. 2012-12-19T04:00:50 < gxti> yeah 2012-12-19T04:01:03 < dongs> just get jlink and shut up then. 2012-12-19T04:01:06 < dongs> gdbserver tehre works. 2012-12-19T04:01:07 < gxti> i mean the swd support is sort of experimental but my jtag experiences were even worse 2012-12-19T04:01:24 < gxti> it could flash the chip, 1 time in 10 2012-12-19T04:01:31 < gxti> debugging was out of the question ;p 2012-12-19T04:06:50 < dongs> my nonlunix router has arrived 2012-12-19T04:09:08 < gxti> added jlink edu to next DK order 2012-12-19T04:09:09 < gxti> because yeah 2012-12-19T04:15:27 < dongs> when you want to get work done, proper stuff is the only way to go 2012-12-19T04:16:10 < ds2> then you should be using a lauterbach 2012-12-19T04:16:12 < ds2> or a BDI 2012-12-19T04:16:27 < dongs> buying a reel of mmbt3904.. because $30 2012-12-19T04:16:56 < ds2> that much? 2012-12-19T04:17:57 < dongs> shrug. adding up to my china order for random shit 2012-12-19T04:18:05 < dongs> im almost out and i use those steadily so.. 2012-12-19T04:18:13 < dongs> last time they gave me 500 free 2012-12-19T04:18:22 < ds2> though that stuff would be like $10/5000 2012-12-19T04:18:28 < ds2> how big are those reels? 2012-12-19T04:18:31 < dongs> 3k 2012-12-19T04:18:37 < ds2> seems expensive 2012-12-19T04:18:49 < dongs> 1c/per is expensive? 2012-12-19T04:18:59 < dongs> even on dkey rejectr e els are $32 2012-12-19T04:19:05 < dongs> and dkey = no paypal 2012-12-19T04:19:12 < dongs> reject = chip outpost shit 2012-12-19T04:19:23 < ds2> must be another generic transistor that was below 1c each 2012-12-19T04:19:31 < dongs> you might be thinking shit like bc417 2012-12-19T04:19:32 < dongs> or wahtever 2012-12-19T04:19:57 < dongs> anyway not woried 2012-12-19T04:20:00 < ds2> could be... i use them for driving LEDs or other generic crap 2012-12-19T04:20:56 < dongs> even BC817 is ~$50-ish / reel 2012-12-19T04:20:59 < dongs> dunno what you use 2012-12-19T04:21:01 < dongs> tell me :) 2012-12-19T04:21:38 < dongs> these are my 'generic transsitor; reels as well 2012-12-19T04:21:42 < dongs> so they're used for wahtever 2012-12-19T04:22:28 < ds2> can't find it... I know I found some for like 0.005 each in quantity 2012-12-19T04:22:43 < ds2> closest is 0.009 2012-12-19T04:23:38 < ds2> MMBT2222's - $24.60 for 3K 2012-12-19T04:23:42 < dongs> bah, need to find my serial console cable 2012-12-19T04:24:40 < dongs> http://www.digikey.com/product-detail/en/MMBT2222ALT1G/MMBT2222ALT1GOSTR-ND/919593 2012-12-19T04:24:43 < dongs> where? 2012-12-19T04:24:46 < dongs> this is cheapest sorted by price / stock @ 3k 2012-12-19T04:24:52 < ds2> arrow 2012-12-19T04:24:56 < dongs> o 2012-12-19T04:24:57 < ds2> Fairchild 2012-12-19T04:25:06 < dongs> arrow has no concept of shipping 2012-12-19T04:25:11 < dongs> they want to charge $90 for fedex to japan 2012-12-19T04:25:15 < ds2> whoa 2012-12-19T04:25:15 < dongs> they can take that shit and shove it 2012-12-19T04:25:27 < ds2> even Newark shipping from EU to US is only $20 2012-12-19T04:25:36 < dongs> yeah newark is same shit 2012-12-19T04:25:40 < dongs> only fedex/ups to jp 2012-12-19T04:25:42 < dongs> and its > $50 for sure 2012-12-19T04:25:43 < dongs> in both cases 2012-12-19T04:25:53 < ds2> oh 2012-12-19T04:25:55 < dongs> so last time I needed some stuff only arrow had i just shipped it to u.s. and bounced itb ack to here 2012-12-19T04:27:42 < dongs> LOLWUT 2012-12-19T04:27:56 < dongs> ops nm 2012-12-19T04:28:05 < dongs> i searched STM32F303CCT6 on digieky and it showd no results 2012-12-19T04:28:11 < dongs> copypasted same texti nto google, digikey comes up first 2012-12-19T04:28:14 < dongs> searched agian, and it shows 0 stock 2012-12-19T04:28:57 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-19T04:33:05 < rlc> flyback: you got your pc fixed? 2012-12-19T04:33:28 < dongs> i know where my fucking serial cable is. its at another office : 2012-12-19T04:33:29 < dongs> :( 2012-12-19T04:33:30 < dongs> rage. 2012-12-19T04:33:37 < emeb> too many offices 2012-12-19T04:33:52 < rlc> dongs: your fault dongs :) 2012-12-19T04:34:28 < gxti> dongs: why BJTs and not FETs? 2012-12-19T04:34:30 < rlc> dongs: get one serial cable/office! 2012-12-19T04:34:40 < gxti> unless you're doing analog shiz obviously 2012-12-19T04:34:55 < dongs> gxti: have those too 2012-12-19T04:34:57 < dongs> but not out yet 2012-12-19T04:35:08 < dongs> i have some generic p/n fet thingies w/logic gate 2012-12-19T04:35:20 < gxti> i don't think i've ever actually used a discrete bjt in a design 2012-12-19T04:35:30 < emeb> lol 2012-12-19T04:35:35 < dongs> maby thets why your shit doesnt work! 2012-12-19T04:35:40 < gxti> lol no 2012-12-19T04:35:46 < rlc> not even the venerable 3904? 2012-12-19T04:35:59 < dongs> yeah i cant imagine you made anything wihtout a 3904 2012-12-19T04:36:05 < dongs> exccept maybe super hardcore digital shit 2012-12-19T04:36:13 < dongs> where you just 1:1 SoC to sdram or something. 2012-12-19T04:36:15 < dongs> and nothign else. 2012-12-19T04:36:32 < ds2> is there a good cheap fet with vthres around 1.2V? 2012-12-19T04:36:51 < rlc> 2222? 2012-12-19T04:37:00 < ds2> FET? 2012-12-19T04:37:01 < dongs> i think my generic nfets are nds356an 2012-12-19T04:37:11 < dongs> er nds355an 2012-12-19T04:37:24 < dongs> but thats just cuz i had a bunch of htem 2012-12-19T04:37:44 < rlc> sorry, I mean 7002 2012-12-19T04:37:55 < gxti> the stuff i do is pretty simple, mostly stringing digital crap together with some power and opamps sprinkled in 2012-12-19T04:37:56 < ds2> worse case for the nds355an is 2V 2012-12-19T04:38:28 < dongs> ds2: looks like its eaxctly 1.2 as yo uwanted :) 2012-12-19T04:38:39 < dongs> oh, when its hot. 2012-12-19T04:38:48 < dongs> for 1.8V io i guess? 2012-12-19T04:38:51 < ds2> yep 2012-12-19T04:38:53 < dongs> (why you need 1.2 2012-12-19T04:38:53 < dongs> k 2012-12-19T04:39:14 < ds2> they exists, it is just $$ compared to a bjt + resistor 2012-12-19T04:39:30 < dongs> hjmm, cocks. 2012-12-19T04:39:30 < ds2> 2n7002 looks nice 2012-12-19T04:39:36 < dongs> this will be hard without a serial cable 2012-12-19T04:39:47 < dongs> the rarp server for windows is like 32bit only 2012-12-19T04:39:49 < ds2> nope. 7002 worse case is 2.5V 2012-12-19T04:39:50 < dongs> cuz it installs a driver 2012-12-19T04:40:45 < rlc> and 7002 is cheap! 2012-12-19T04:41:08 < ds2> cheap don't matter if it don't work 2012-12-19T04:42:06 < rlc> ds2: with many of them you can make anything work! 2012-12-19T04:52:58 < dongs> RTX1000 Rev.7.00.16 (Thu Dec 12 14:02:52 2002) 2012-12-19T04:53:03 < dongs> woot, rarp worked. time to upgrade 2012-12-19T04:55:56 < emeb> brick in 3... 2... 1... 2012-12-19T04:56:04 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-19T04:56:30 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-19T04:56:56 < dongs> haha no 2012-12-19T04:57:00 < dongs> Update exec file receiving... Testing received file... Writing to Nonvolatile memory... 2012-12-19T04:58:26 < dongs> RTX1000 Rev.8.01.29 (Fri Apr 15 11:50:44 2011) 2012-12-19T04:58:28 < dongs> see. 2012-12-19T04:59:55 < emeb> kewl 2012-12-19T05:00:13 < emeb> firmware's not even to ancient 2012-12-19T05:00:18 < dongs> its not. 2012-12-19T05:00:20 < emeb> prolly newer than my router 2012-12-19T05:00:28 < dongs> it does more than any lunix "router" can do 2012-12-19T05:00:52 < emeb> mine's not linux - generic Linksys 2012-12-19T05:00:58 < dongs> well, isnt that lunix 2012-12-19T05:01:02 < emeb> nah 2012-12-19T05:01:16 < dongs> i haerd cicso is selling dinksys 2012-12-19T05:01:20 < emeb> not unless you install yer own firmware, which I haven't 2012-12-19T05:01:30 < emeb> yeah - saw taht 2012-12-19T05:02:27 < emeb> they were apparently shocked to discover that margins on consumer goods are lower than high-end IT gear. 2012-12-19T05:02:30 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Ping timeout: 264 seconds] 2012-12-19T05:04:08 < dongs> HEh 2012-12-19T05:13:28 < gxti> lol rarp. 2012-12-19T05:13:44 < emeb> sounds like a digestive issue 2012-12-19T05:13:48 < gxti> default static ip would have been better 2012-12-19T05:13:55 < gxti> than using some crap protocol from the 90s 2012-12-19T05:15:18 < dongs> default static IP? plz. 2012-12-19T05:15:21 < dongs> thats consumer trash. 2012-12-19T05:15:25 < dongs> this shit has proper serial console. 2012-12-19T05:15:30 < dongs> but my cable is at another office. 2012-12-19T05:16:39 < gxti> serial console is assumed, but if you have to have a default config, rarp is not it 2012-12-19T05:17:46 < dongs> took me a whole 30 seconds to set it up 2012-12-19T05:17:49 < dongs> wiht rarp 2012-12-19T05:19:57 < dongs> holllllllllyty shitttttttttt 2012-12-19T05:20:04 < dongs> getting tray of F303 2012-12-19T05:21:21 < emeb> sweeet 2012-12-19T05:21:28 < emeb> when? 2012-12-19T05:21:52 < dongs> ordering today, here end of week 2012-12-19T05:21:56 < emeb> nice 2012-12-19T05:24:56 < dongs> ugh 2012-12-19T05:24:58 < dongs> spending so much this month 2012-12-19T05:25:01 < dongs> like 5k i think 2012-12-19T05:25:23 < emeb> investment! 2012-12-19T05:25:27 < dongs> indeed 2012-12-19T05:26:00 < emeb> you'll have to figure out something to do with those F303s that has a high ROI. :) 2012-12-19T05:28:32 < dongs> i could just sell them for $6/ea. 2012-12-19T05:28:58 < emeb> that'd work - beats DK price and makes you ~$3 2012-12-19T05:29:16 < dongs> rite 2012-12-19T05:29:44 < emeb> if you build up some of your F10x breakouts w/ F303 I'd buy a few. 2012-12-19T05:58:35 < dongs> k time to power down my network 2012-12-19T06:02:58 < emeb> (disappears forever) 2012-12-19T06:04:14 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2012-12-19T06:12:24 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-19T06:12:30 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-19T06:24:07 -!- jason`_ is now known as dongle 2012-12-19T06:24:09 < dongle> lol. 2012-12-19T06:24:15 < dongle> of course all windows machiens work fine 2012-12-19T06:24:35 < emeb> back again 2012-12-19T06:24:36 < dongle> lunix cant do anything properly. 2012-12-19T06:24:53 < emeb> wtf you using linux for? 2012-12-19T06:24:58 < dongle> nothing anymotre 2012-12-19T06:25:08 < dongle> k bbl 2012-12-19T06:30:15 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-19T06:34:12 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-19T06:34:39 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-19T06:47:04 -!- jef79m_lurking is now known as jef79m 2012-12-19T07:10:18 -!- jef79m is now known as jef79m_lurking 2012-12-19T07:10:23 -!- jef79m_lurking is now known as jef79m 2012-12-19T07:17:48 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-19T07:21:54 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-12-19T07:32:44 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-12-19T07:50:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 265 seconds] 2012-12-19T07:52:14 < emeb_mac> mighty quiet here'bouts. 2012-12-19T07:53:46 < dongs> thinkin about coding that DMA stuff for leds. 2012-12-19T07:53:53 < dongs> feeling assburgery though. 2012-12-19T07:57:19 < emeb_mac> working on getting SPI going to talk to an LCD. 2012-12-19T07:57:28 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-19T08:02:01 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-19T08:03:08 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-19T08:05:41 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2012-12-19T08:11:53 -!- dongs_ is now known as dongs 2012-12-19T08:20:29 -!- jef79m is now known as jef79m_lurking 2012-12-19T08:40:00 -!- jef79m_lurking is now known as jef79m 2012-12-19T08:53:13 -!- jef79m is now known as jef79m_lurking 2012-12-19T08:57:26 < dongs> ha 2012-12-19T08:57:31 < dongs> apparently theres 303CB also 2012-12-19T08:57:35 < dongs> 128k flash 2012-12-19T08:57:40 < dongs> i wonder if its same liek CB/CC on F103 2012-12-19T08:57:45 < dongs> actually 256k with only half showing 2012-12-19T08:59:36 < emeb_mac> could be 2012-12-19T09:14:44 -!- jef79m_lurking is now known as jef79m 2012-12-19T09:17:34 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-19T09:21:29 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-19T09:22:56 -!- dekar_ [~dekar@212.255.40.30] has joined ##stm32 2012-12-19T09:22:57 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-19T09:26:51 -!- dekar [~dekar@212.255.32.139] has quit [Ping timeout: 260 seconds] 2012-12-19T09:30:08 -!- jef79m is now known as jef79m_lurking 2012-12-19T09:36:33 < dongs> Utah 6th grader brings gun to school 'for protection' in Sandy Hook aftermath, points it at classmate's head during recess: report 2012-12-19T09:36:36 < dongs> haha 2012-12-19T09:36:39 < dongs> america 2012-12-19T09:37:32 < pelrun> I'd say I'd be glad when they finally implode, except that they'd take us all down with them >:( 2012-12-19T09:37:38 -!- jef79m_lurking is now known as jef79m 2012-12-19T09:39:25 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-19T09:43:32 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-19T09:45:44 -!- _BJFreeman [~bjfree@99.sub-75-196-62.myvzw.com] has joined ##stm32 2012-12-19T09:52:16 -!- jef79m is now known as jef79m_lurking 2012-12-19T09:54:53 < Oldboy> the problem is easily solved. issue an AR15 to every schoolteacher. 2012-12-19T09:55:08 < Oldboy> that will solve the discipline issue as well. 2012-12-19T09:55:51 < Oldboy> if every classroom in that Sandy Hook school had its own AR15 this tragedy would never have happened. 2012-12-19T09:59:33 < dongs> just nuke america 2012-12-19T09:59:45 < pelrun> yeah, it'd be replaced with a whole lot of other tragedies 2012-12-19T10:01:35 < Oldboy> pelrun: but those tragedies will be tragedies that people enter into of their own free will. 2012-12-19T10:01:41 < Oldboy> its the FREEDOM that's the key. 2012-12-19T10:01:55 < pelrun> I dunno, isn't school attendance compulsory? 2012-12-19T10:02:17 < pelrun> I don't think being made to walk into a room filled with armed young shitheads is FREEDOM 2012-12-19T10:02:33 < Oldboy> then you don't understand FREEDOM. 2012-12-19T10:02:37 < pelrun> but it is that thing that americans claim is FREEDOM 2012-12-19T10:03:00 < _BJFreeman> freedom is a box you can move around it 2012-12-19T10:03:09 < _BJFreeman> some boxes are larger than others 2012-12-19T10:03:18 < pelrun> 1984 is happening, but inverted - instead of eliminating the word from the language entirely, you just repeat it so often it stops meaning anything 2012-12-19T10:03:43 < Oldboy> its like Alice in Wonderland. 2012-12-19T10:03:56 < pelrun> a bunch of insane people on acid? 2012-12-19T10:04:06 < Oldboy> something like that. 2012-12-19T10:04:26 < pelrun> as long as they stay the hell over the other side of the planet to me... 2012-12-19T10:04:27 < _BJFreeman> ah yes and there are wild indians out west 2012-12-19T10:05:10 < _BJFreeman> except now they own casinos 2012-12-19T10:05:21 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-19T10:07:59 < Oldboy> do they ? 2012-12-19T10:08:18 < Oldboy> I think there are corporations that own the Casinos. 2012-12-19T10:08:27 < Oldboy> the indians just collect rent on the land. 2012-12-19T10:08:29 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2012-12-19T10:10:28 < _BJFreeman> and emploey tribal ones 2012-12-19T10:10:29 < cdh> Depends on where. I know tribes in Michigan own their own casinos. 2012-12-19T10:10:49 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2012-12-19T10:12:42 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-19T10:13:01 < Viper168> I'm looking to get a gun soon 2012-12-19T10:13:07 < Viper168> but have to find a cheap cheap deal 2012-12-19T10:13:36 < Viper168> dunno where to find the best prices 2012-12-19T10:13:48 < Viper168> used would be ideal as it'd be cheaper 2012-12-19T10:14:14 < Viper168> and I'm not picky, it doesn't have to be too powerful, I'm an awesome shot 2012-12-19T10:14:50 < Oldboy> Viper168: try the shooter's brother. He might have some guns for sale. Cheap. 2012-12-19T10:15:00 < Viper168> :P 2012-12-19T10:15:16 < Viper168> my friend knows a rich guy with hundreds of guns 2012-12-19T10:15:28 < Viper168> who might be willing to make a trade or cut a great deal 2012-12-19T10:15:43 < Viper168> especially if I play on his beliefs about gun control 2012-12-19T10:15:56 < Viper168> and the necessity of them being in the hand sof good people 2012-12-19T10:16:10 < Viper168> etc... 2012-12-19T10:16:19 < cdh> All you need is one of his guns and then you can have hundreds of guns 2012-12-19T10:16:25 < Viper168> being rich he's less likely to care about letting something go for cheap 2012-12-19T10:16:42 < Viper168> especially for a good purpose 2012-12-19T10:17:19 < Viper168> too many fucking psychos and tweakers and assorted shitty people around 2012-12-19T10:17:47 < Viper168> I'd rather have it for peace of mind at least, better to have one and not need it than to need it and not have one 2012-12-19T10:19:00 < Viper168> the good people arming themselves not only are capable of protecting the innocents from harm, but make the criminals more fearful to take such chances 2012-12-19T10:19:16 < Viper168> you'll never remove guns from the hands of bad peoplew 2012-12-19T10:19:32 < Viper168> that's absurdly unrealistic thinking 2012-12-19T10:19:50 < Viper168> banning guns only means the criminals who have them have less to fear 2012-12-19T10:20:21 < Viper168> besides most gun crime is commited using illegally obtained weapons 2012-12-19T10:21:18 < Viper168> guns are a genie that's already out of the bottle in the US, bans will only lead to bad things 2012-12-19T10:21:34 < Viper168> including more dangerous guns considering they're illegal anyways 2012-12-19T10:22:12 < Viper168> nice rant huh? 2012-12-19T10:22:22 < Viper168> I'm a professional ranter 2012-12-19T10:22:33 < zyp> *yawn* 2012-12-19T10:22:34 < Viper168> on irc 2012-12-19T10:22:37 < Viper168> :P 2012-12-19T10:22:48 < pelrun> I dunno 2012-12-19T10:22:56 < pelrun> most bad people here don't have them 2012-12-19T10:22:57 < Oldboy> I wonder if the gun freaks have a point though. 2012-12-19T10:23:16 < Viper168> tell that to the psychopath ex friend who has pulled his gun on me twice 2012-12-19T10:23:20 < Oldboy> accidents happen. thousands of people die in car accidents every year. nobody asks for cars to be banned. 2012-12-19T10:23:26 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-19T10:23:36 < pelrun> cars are useful for more than just running over people 2012-12-19T10:23:40 < Oldboy> 20 kids shot is a very minor thing in comparis. 2012-12-19T10:23:55 < pelrun> can run over pets as well 2012-12-19T10:23:58 < Viper168> guns are useful for more than taking victims 2012-12-19T10:24:10 < Viper168> they're useful for protection innocent people 2012-12-19T10:24:14 < pelrun> yeah, can open a locked door with a gun 2012-12-19T10:24:18 < pelrun> open a beer 2012-12-19T10:24:19 < Viper168> they're useful for recreation 2012-12-19T10:24:29 < pelrun> recreating massacres 2012-12-19T10:24:30 < Viper168> target shooting is great stress relief 2012-12-19T10:24:31 < cdh> Guns are useful for more than shooting people. Don't you watch the Simpsons? Homer used his gun for all sorts of things (turning off the TV, etc). 2012-12-19T10:24:39 < pelrun> cdh: exactly! 2012-12-19T10:25:01 < pelrun> gotta empty the bath? just shoot the plug out! 2012-12-19T10:25:05 < Viper168> but the main point is being able to protect yourself 2012-12-19T10:25:08 < cdh> heh heh 2012-12-19T10:25:09 < Viper168> and others 2012-12-19T10:25:31 < pelrun> and the only reason you need to do that is because everyone else is carrying a gun 2012-12-19T10:25:44 < Viper168> and they won't stop carrying guns even if they're illegal 2012-12-19T10:25:45 < pelrun> if nobody carried guns then nobody would need one for 'protection 2012-12-19T10:25:46 < Viper168> which they are 2012-12-19T10:25:59 < Viper168> as the people that are carrying them are carrying illegal guns 2012-12-19T10:25:59 < pelrun> only because america is fucked in the head 2012-12-19T10:26:11 < Viper168> they're criminals 2012-12-19T10:26:18 < Viper168> they don't care if their gun is legal or not 2012-12-19T10:26:22 < pelrun> everywhere else seems to manage fine with gun laws and having them rarely in the hands of civilian 2012-12-19T10:26:23 < pelrun> s 2012-12-19T10:26:44 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 250 seconds] 2012-12-19T10:26:51 -!- dongs_ is now known as dongs 2012-12-19T10:26:58 < Viper168> if more good people had guns the fuckers would be more fearful and less likely to harm innocents 2012-12-19T10:27:07 < Viper168> or would be stopped much sooner 2012-12-19T10:27:11 < pelrun> yeah, the deterrent idea is bullshit 2012-12-19T10:27:13 < cdh> Viper168: I'm pro-gun, but if I found out I lived next door to you, I'd probably look to move somewhere else. I have kids and have to say that justification for owning a gun scares the crap out of me. 2012-12-19T10:27:16 < pelrun> because people are stupid 2012-12-19T10:27:44 < Viper168> I'd only use a gun if someone is presenting a serious lethal threat 2012-12-19T10:28:00 < Viper168> such as a gun or coming at you with a knife 2012-12-19T10:28:11 * pelrun tries to count the number of times he's encountered someone presenting a serious lethal threat 2012-12-19T10:28:14 < pelrun> ...zero 2012-12-19T10:28:22 < Oldboy> you live a charmed life 2012-12-19T10:28:44 < pelrun> yeah, all it takes is living in a western country that isn't the US 2012-12-19T10:30:01 < pelrun> the worst a drunk fuckwit can do is take a swing at you (or probably throw a bottle) - far easier to get out of range of those. 2012-12-19T10:30:21 -!- Viper168_ [Viper168@node3.19.251.72.1dial.com] has joined ##stm32 2012-12-19T10:30:21 -!- Viper168_ [Viper168@node3.19.251.72.1dial.com] has quit [Changing host] 2012-12-19T10:30:21 -!- Viper168_ [Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-19T10:30:27 -!- jef79m_lurking is now known as jef79m 2012-12-19T10:30:41 < Viper168_> got cut off after I said "Viper168> such as a gun or coming at you with a knife" 2012-12-19T10:30:54 < pelrun> * pelrun tries to count the number of times he's encountered someone presenting a serious lethal threat 2012-12-19T10:30:54 < pelrun> ...zero 2012-12-19T10:30:54 < pelrun> you live a charmed life 2012-12-19T10:30:54 < pelrun> yeah, all it takes is living in a western country that isn't the US 2012-12-19T10:30:54 < pelrun> the worst a drunk fuckwit can do is take a swing at you (or probably throw a bottle) - far easier to get out of range of those. 2012-12-19T10:31:05 < Viper168_> people living near me should have much less to fear than those who aren't 2012-12-19T10:31:10 < pelrun> though they wouldn't throw a bottle if there was anything in it 2012-12-19T10:32:12 < Viper168_> I live in an urban area 2012-12-19T10:32:27 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2012-12-19T10:32:29 < Viper168_> filled with thugs tweakers and orther similar sorts 2012-12-19T10:32:40 < Viper168_> and gangs not too far away 2012-12-19T10:32:47 < Viper168_> it's not to be unexpected 2012-12-19T10:33:28 < cdh> In that case, I'd move away not as so much that you scare me, but that the entire place scares me. 2012-12-19T10:33:29 < Viper168_> I'm not talking about some peachy small town where everyone kowns and is friendly with each other 2012-12-19T10:34:02 < Viper168_> I'm just looking out for the people myself and others who would be victimized by these sorts 2012-12-19T10:34:15 < Viper168_> sometimes you end up stuch in these places for financial reasons 2012-12-19T10:34:18 < Viper168_> *stuch 2012-12-19T10:34:20 < Viper168_> ctfdhfbhf 2012-12-19T10:34:23 < Viper168_> *stuck 2012-12-19T10:34:30 < Viper168_> lol 2012-12-19T10:35:03 < Viper168_> again I've had someone pull their gun on me twice 2012-12-19T10:35:04 < _BJFreeman> those that have killed in mass, have mental issues 2012-12-19T10:35:10 < Viper168_> I think I'm not out of line 2012-12-19T10:35:21 < Viper168_> I understand some of their mindset 2012-12-19T10:35:24 < _BJFreeman> so how does one evaluate those 2012-12-19T10:35:28 < Viper168_> because back when I was young 2012-12-19T10:35:48 < Viper168_> I had got carried away once I realized I could bully the bullies 2012-12-19T10:35:52 < _BJFreeman> before they do harms 2012-12-19T10:36:09 < Viper168_> eventually, after being cast aside and screwed with constantly, your humanity sort of leaves you 2012-12-19T10:36:14 < Viper168_> and all that's left is rage 2012-12-19T10:36:20 < Viper168_> and desire for revenge 2012-12-19T10:36:43 < Viper168_> luckily I developed morals and ethics before I did anythign bad 2012-12-19T10:36:52 < Viper168_> hell I don't even eat animals anymore 2012-12-19T10:37:06 < pelrun> yay more bacon for me 2012-12-19T10:37:10 < Viper168_> I'm harmless except to those who make me not so 2012-12-19T10:37:20 < cdh> Viper168: Say you go out and buy a gun. The next time your ex-friend puts his gun in your face, what are you going to do? 2012-12-19T10:37:23 < pelrun> veganism would make anyone want a gun 2012-12-19T10:37:33 < Viper168_> try to disarm her 2012-12-19T10:37:50 < pelrun> shoot her arm off you mean? XD 2012-12-19T10:38:01 < Viper168_> if that's not possible, I'll nonfatally wound her so she couldn't shoot 2012-12-19T10:38:10 < pelrun> "excuse me while I go get a bonesaw" 2012-12-19T10:38:10 < Viper168_> shoot her in the hand or arm, perhaps 2012-12-19T10:38:16 < zyp> Viper168_, you are talking about people pulling a gun on you and using that as an argument _for_ having guns? 2012-12-19T10:38:18 < Viper168_> if it came down to it 2012-12-19T10:38:34 < dongs> so zyp 2012-12-19T10:38:39 < Viper168_> zyp, the person pulling the gun didn't have a legal gun 2012-12-19T10:38:41 < pelrun> zyp: he's using it as an argument for HIM PERSONALLY having a gun 2012-12-19T10:38:43 < dongs> i snagged a tray of F303CCT6 :) 2012-12-19T10:38:55 < Viper168_> I'd have one legally 2012-12-19T10:39:16 < zyp> dongs, nice, what are you going to use them for? 2012-12-19T10:39:29 < dongs> zyp: F103 dropin replacements i guess. 2012-12-19T10:39:41 < zyp> any sign of lpc boards yet? 2012-12-19T10:39:45 < _BJFreeman> easy talk till your faced with a gun in your face 2012-12-19T10:39:59 < Viper168_> I don't see what's so wrong about being able to protect yourself if you aren't mentally ill and know when it's appropriate to use it 2012-12-19T10:40:00 < dongs> zyp, some bullshit holiday was supposed to be out today but tomrorw. 2012-12-19T10:40:01 < dongs> sorry ^^ 2012-12-19T10:40:23 < zyp> doesn't matter, I'm not going to have it until after new years anyway 2012-12-19T10:40:58 < pelrun> Viper168_, and if you were in a suburb/town/country/whatever where nobody else had guns, would you be pushing to own one for protection still? 2012-12-19T10:42:18 < zyp> Viper168_, I kind of fail to see how trying to grab my gun will help me when somebody is already pointing a gun at me, wouldn't that just increase the likelyness of me getting shot? 2012-12-19T10:42:56 < Viper168_> zyp, you pull it out before they get it pointed at you 2012-12-19T10:43:05 < pelrun> zyp: I think the idea would be that people would *already* know he had a gun, and so be less likely to start something stupid 2012-12-19T10:43:21 < Viper168_> unless they're at a distance pointing, most are terrible shots so hiding is a viable option 2012-12-19T10:43:22 < _BJFreeman> in close combat martial arts is best 2012-12-19T10:43:26 < pelrun> once you've got people pointing guns at each other, the situation is already fucked 2012-12-19T10:43:49 < Viper168_> if you see them with a gun out and getting ready to obviously shoot you you whip it out and nail them 2012-12-19T10:43:59 < cdh> zyp: Maybe not the first time if she doesn't know he has a gun. He could surprise her and shoot her arm and then bone saw it off before she has a chance to pull the trigger and put a bullet in his head.....or not. 2012-12-19T10:44:21 < Viper168_> if you can get cover and know how to shoot you can usually get them pretty quickly without getting shot 2012-12-19T10:44:31 < Viper168_> as most don't know how to shoot well 2012-12-19T10:44:47 < Viper168_> hand to hand techniquies are important too 2012-12-19T10:44:52 < Viper168_> for close range 2012-12-19T10:44:58 < Viper168_> *techniques 2012-12-19T10:45:15 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-12-19T10:45:28 < Viper168_> you can't always do something 2012-12-19T10:45:37 < Viper168_> but these guys are often too dumb to do it right 2012-12-19T10:45:44 < Viper168_> leaving you opportunity to act 2012-12-19T10:45:50 < zyp> I don't see the logic in «most people can't shoot well, so we should give them guns to defend from people with guns» 2012-12-19T10:45:51 < Viper168_> they don't train 2012-12-19T10:45:59 < Viper168_> no 2012-12-19T10:46:15 < Viper168_> people who obtain guns legally for protection should learn to shoot 2012-12-19T10:46:21 < Viper168_> and learn some other simple basics 2012-12-19T10:46:47 < zyp> and people who obtain guns for criminal acts doesn't? especially when they know everybody has guns? 2012-12-19T10:46:50 < Viper168_> but even if they don't know how to shoot well, they still have a better chance than without 2012-12-19T10:47:05 < Viper168_> zyp, no one has guns 2012-12-19T10:47:08 < Viper168_> and they know it 2012-12-19T10:47:23 < Viper168_> and they don't train 2012-12-19T10:47:28 < zyp> you are proposing that everybody should have guns, so I'm going by that. 2012-12-19T10:47:51 < Viper168_> they're usually stupid thugs and overconfident idiots from all the drugs they do 2012-12-19T10:47:57 < zyp> you can't expect that criminals wouldn't adapt to the environment 2012-12-19T10:48:06 < Viper168_> they would adapt 2012-12-19T10:48:10 < Viper168_> but it would be much harder 2012-12-19T10:48:18 < Viper168_> making it a much less atrractive option 2012-12-19T10:48:32 < Viper168_> more seeking less harmful alternatives 2012-12-19T10:48:45 < Viper168_> *attractive 2012-12-19T10:49:13 < Viper168_> it's not a fairy tale ending 2012-12-19T10:49:22 < Viper168_> but it's better than the alternative 2012-12-19T10:49:59 < zyp> what alternative? 2012-12-19T10:50:10 < Viper168_> nonviolent crime 2012-12-19T10:50:27 < Viper168_> of varying sorts 2012-12-19T10:50:42 < Viper168_> if you need a wiki artickle for nonviolent crime I could look it up for you 2012-12-19T10:51:03 < Viper168_> just ignore the bits it might have about victimless crime 2012-12-19T10:51:08 < Viper168_> :P 2012-12-19T10:51:59 < Viper168_> *article 2012-12-19T10:53:00 < Viper168_> wouldn't you agree nonviolent crime would be a better alternative? 2012-12-19T10:53:58 < Viper168_> which can also be dealt with intelligently, reducing crime overall for legal alternatives 2012-12-19T10:54:06 < Viper168_> eventually 2012-12-19T10:54:17 < Viper168_> would take quite some time 2012-12-19T10:54:23 < zyp> I didn't mean that alternative. 2012-12-19T10:54:40 < zyp> I was referring to this: 09:49:22 < Viper168_> but it's better than the alternative 2012-12-19T10:54:48 < Viper168_> oh 2012-12-19T10:54:57 < Viper168_> violent crime is the alternative 2012-12-19T10:55:02 < Viper168_> which is currently easy 2012-12-19T10:55:06 < Viper168_> and prevalent 2012-12-19T10:55:23 < Viper168_> and more harmful to innocent people 2012-12-19T10:55:45 < Viper168_> even if they don't hurt anyone physically the trauma is much greater 2012-12-19T10:55:49 < Viper168_> can lead to ptsd 2012-12-19T10:56:00 < Viper168_> which I also dealt with for many years 2012-12-19T10:56:13 < zyp> prevalent in the US, maybe 2012-12-19T10:56:14 < Viper168_> but have mostly overcome 2012-12-19T10:56:22 < Viper168_> in the US, of course 2012-12-19T10:56:31 < Viper168_> this is because guns are already out 2012-12-19T10:56:42 < Viper168_> there's no getting rid of them 2012-12-19T10:56:53 < Viper168_> and if you try only the bad people get them 2012-12-19T10:56:56 < zyp> so, guns are the problem and the only solution is more guns? 2012-12-19T10:57:07 < Viper168_> more guns in the hands of the right people 2012-12-19T10:57:22 < zyp> which translates to more guns in the hands of the wrong people 2012-12-19T10:57:24 < Viper168_> take mutually assured destruction for instance 2012-12-19T10:57:38 < zyp> sure, let's get everyone a tactical nuke instead 2012-12-19T10:57:45 < Viper168_> it has prevented any nuclear attacks since 2012-12-19T10:58:13 < Viper168_> I'm talking about secure nations with reasonable leadership and political process 2012-12-19T10:58:26 < Viper168_> even if they oppose each other 2012-12-19T10:58:49 < Viper168_> no one will use a nuke on anyone because someone or more than one nation will obliterate them 2012-12-19T10:59:05 < Viper168_> so that threat is mostly prevented 2012-12-19T10:59:39 < Viper168_> north korea for instance is troublesome, but it's still crazy for them to attack anyone 2012-12-19T10:59:46 < Viper168_> and their time may be coming up soon anyways 2012-12-19T11:00:57 < Viper168_> if they were crazy enough to use nukes though unlikely the government would be wiped out with the unfortunate casualties, though they should have never had nukes to begin with 2012-12-19T11:01:01 < Viper168_> regardless 2012-12-19T11:01:13 < Viper168_> mutually assured destruction protects us 2012-12-19T11:01:17 < Viper168_> and everyone else 2012-12-19T11:01:45 < Viper168_> similar but on smaller scale the same concept applies to guns 2012-12-19T11:02:06 < Viper168_> bothe genies are out of the bottle 2012-12-19T11:02:12 < Viper168_> *oth the 2012-12-19T11:02:16 < Viper168_> *both 2012-12-19T11:02:19 < Viper168_> stupid fingers 2012-12-19T11:02:39 < zyp> I'm just glad I'm not living in your world 2012-12-19T11:02:57 < Viper168_> there's just no way to try to get rid of guns without it causing harm 2012-12-19T11:03:07 < Viper168_> it's not that bad 2012-12-19T11:03:30 < Viper168_> but it happens enough that it's wise for people to be prepared, just in case it were to happen 2012-12-19T11:04:06 < cdh> The deterrent of mutual destruction only works if both parties reason in the same manner. A suicide bomber or someone suffering from a mental illness or meth withdrawal isn't going to care much if they die at that point. 2012-12-19T11:04:28 < Viper168_> you can bone a girl without a condom plenty, but that doesn't make it a good idea 2012-12-19T11:04:46 < Viper168_> cdh, suicide bombers don't have access to nukes 2012-12-19T11:05:26 < zyp> 10:01:45 < Viper168_> similar but on smaller scale the same concept applies to guns 2012-12-19T11:05:33 < zyp> it was a counter argument to that 2012-12-19T11:05:59 < Viper168_> oh 2012-12-19T11:06:06 < Viper168_> that's kind of silly 2012-12-19T11:06:15 < Viper168_> they're still consumed by greed 2012-12-19T11:06:29 < Viper168_> they only care about themselves, that's why they're willing to do it 2012-12-19T11:06:55 < Viper168_> the robbers, the suicide bombers are a completely different issue 2012-12-19T11:07:23 < Viper168_> the suicide bombers are also a different issue to a degree 2012-12-19T11:07:50 < Viper168_> err I mean the crazies 2012-12-19T11:08:08 < Viper168_> they might not care about dying, they usually plan on it, but that's irrelevant 2012-12-19T11:08:21 < Viper168_> someone confronting them with a gun stops them sooner 2012-12-19T11:08:26 < Viper168_> before they hurt more people 2012-12-19T11:08:37 < Viper168_> either by being shot or suicide 2012-12-19T11:08:52 < Viper168_> they also need less media coverage 2012-12-19T11:09:14 < Viper168_> so those who are into it for recognition don't see that as a reward 2012-12-19T11:10:08 < Viper168_> there was an attempted shooting recently that a guy ran to his car got his gun and stopped the dude 2012-12-19T11:20:11 -!- daku is now known as DaKu 2012-12-19T11:22:47 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-19T11:24:09 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-19T11:26:20 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2012-12-19T11:27:06 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-19T11:28:07 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 244 seconds] 2012-12-19T11:29:23 -!- DaKu is now known as daku 2012-12-19T12:00:37 < dongs> http://hackaday.com/2012/11/26/usb-keyboard-becomes-an-avr-programmer/ 2012-12-19T12:00:41 < dongs> how absolutely fucking worthless. 2012-12-19T12:02:28 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-19T12:02:28 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-19T12:02:28 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-19T12:02:29 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-19T12:02:37 < dongs> Steffanx missed a lollink. 2012-12-19T12:02:51 <+Steffanx> zlog never misses ANYTHING 2012-12-19T12:02:52 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-12-19.html 2012-12-19T12:03:13 < dongs> http://hackadaycom.files.wordpress.com/2012/12/hacked-together-nas-in-a-box.jpg?w=580&h=435 haha. 2012-12-19T12:03:29 <+Steffanx> You mean that usb keyboard thingy? 2012-12-19T12:03:32 < dongs> yeah 2012-12-19T12:03:33 <+Steffanx> OLD :P 2012-12-19T12:03:54 <+Steffanx> Nah, i have seen it before, but it was too unimportant to read it :) 2012-12-19T12:04:16 <+Steffanx> That NAS is doomed to fail. No rpi 2012-12-19T12:04:52 < dongs> yeah, totally. 2012-12-19T12:07:02 -!- daku is now known as DaKu 2012-12-19T12:08:24 <+Steffanx> me continues hobby bobbying with his rpi 2012-12-19T12:08:28 <+Steffanx> +/ 2012-12-19T12:14:33 < dongs> http://hackaday.com/2012/12/17/automated-pcb-panelization/ 2012-12-19T12:14:33 < dongs> haha 2012-12-19T12:14:36 -!- dekar_ [~dekar@212.255.40.30] has quit [Quit: This computer has gone to sleep] 2012-12-19T12:14:43 < dongs> .. or you can just use dicktrace which panelizes... 2012-12-19T12:14:48 < dongs> pretty sure so can eagle 2012-12-19T12:15:12 <+Steffanx> EAGLE probably only does that with some fancy ulp :P 2012-12-19T12:15:19 < dongs> yeah? 2012-12-19T12:15:24 < dongs> its like a menu option in dicktrace. 2012-12-19T12:15:39 <+Steffanx> Of course, EAGLE needs a fancy ULP for everything fancy 2012-12-19T12:18:07 <+Steffanx> Time to stop using the 'zip utility' i used for ages. The installer comes with too much crap nowadays :( 2012-12-19T12:18:22 < dongs> whats wrong wiht windows zip folders? 2012-12-19T12:18:34 <+Steffanx> it ONLY does zip? 2012-12-19T12:18:39 <+Steffanx> Time for something open sores 2012-12-19T12:18:39 < dongs> and? 2012-12-19T12:18:54 <+Steffanx> sometimes you download something in .rar or 7z. or you just want to extract an ,si 2012-12-19T12:18:55 <+Steffanx> msi 2012-12-19T12:19:11 < dongs> wix extracts msi. 2012-12-19T12:19:34 < dongs> http://www.youtube.com/watch?feature=player_detailpage&v=zdUdYy9foL0#t=275s haha 2012-12-19T12:20:33 < _BJFreeman> 7-zip 2012-12-19T12:20:44 <+Steffanx> No 7z :P 2012-12-19T12:20:47 < karlp> windows built in zip folders are also fucking slow 2012-12-19T12:21:16 < karlp> what's wrong with 7z Steffanx ? 2012-12-19T12:21:26 < dongs> it sucks 2012-12-19T12:21:27 -!- _BJFreeman [~bjfree@99.sub-75-196-62.myvzw.com] has quit [] 2012-12-19T12:21:30 < dongs> i only have 7za.exe 2012-12-19T12:21:36 < dongs> for when occasional freetard insists on using 7zip only 2012-12-19T12:21:40 < dongs> their GUI sucks dick 2012-12-19T12:21:44 < dongs> takes over all file extensions etc 2012-12-19T12:21:46 <+Steffanx> I didn't say anything about 7z karlp :) 2012-12-19T12:21:47 < dongs> and tries to be a file manager 2012-12-19T12:22:07 <+Steffanx> *anything bad 2012-12-19T12:23:01 < karlp> dongs, no, this is silly: http://dangerousprototypes.com/forum/viewtopic.php?f=56&t=4891 2012-12-19T12:23:16 < karlp> 10:20 <+Steffanx> No 7z :P 2012-12-19T12:23:22 < karlp> yes you did! 2012-12-19T12:24:03 <+Steffanx> That was just a reply to the brother of morgan, BJ 2012-12-19T12:32:51 < dongs> karlp: .............. 2012-12-19T12:42:05 -!- Laurenceb_ [~Laurence@host86-136-117-242.range86-136.btcentralplus.com] has joined ##stm32 2012-12-19T13:03:28 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2012-12-19T13:04:10 -!- Laurenceb_ [~Laurence@host86-136-117-242.range86-136.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2012-12-19T13:09:13 < dongs> http://www.poweranalog.com/pdf/PAM2845.pdf this looks ok for my backlight 2012-12-19T13:10:59 < zyp> looks decent enough 2012-12-19T13:43:36 -!- jef79m is now known as jef79m_lurking 2012-12-19T13:48:04 < dongs> USB is a pain because it might not be assigned the same device name any two times it is plugged in, at least not unless you feel like mucking around in udev scripts. What a pain! Is it ttyUSB0, ttyUSB1 or mayby ttyACM0 doday? Blah!!! 2012-12-19T13:48:08 < dongs> loll 2012-12-19T13:48:43 < karlp> this is why devices should always include serial numbers in their descriptors 2012-12-19T13:48:46 < pelrun> that got better 2012-12-19T13:48:55 < dongs> how about this 2012-12-19T13:48:59 < dongs> this is why people should use a real fucking OS 2012-12-19T13:49:03 < karlp> windows is no better. 2012-12-19T13:49:07 < pelrun> oh really? 2012-12-19T13:49:10 < karlp> I get com9, then com 10, then com11, then com12, then com13 2012-12-19T13:49:12 < zyp> karlp, how does serial number matter? 2012-12-19T13:49:17 < pelrun> tell me which COMx port my serial dongle is on today 2012-12-19T13:49:23 < pelrun> karlp: heh, hivemind 2012-12-19T13:49:26 < dongs> the same one its always at 2012-12-19T13:49:30 < zyp> from experience, linux always assigns first free device number 2012-12-19T13:49:31 < pelrun> nope 2012-12-19T13:49:43 < karlp> zyp: you can get other links in the dev tree that are by serial number 2012-12-19T13:49:46 < karlp> more like on osx 2012-12-19T13:50:05 < karlp> (until you run into libmodbus that only used a 16char array for serial port dev names....) 2012-12-19T13:50:06 < zyp> haven't seen any distro ship with that as a default 2012-12-19T13:50:24 < karlp> zyp: actually, they are, just that not many people use them or know about them 2012-12-19T13:50:31 < karlp> (or remember the path in sys for them 2012-12-19T13:50:36 < pelrun> I've seen udev record what device name it's attached a device to, and use it from then on whenever it's plugged back in 2012-12-19T13:51:05 < zyp> windows does indeed do this, like dongs said 2012-12-19T13:51:10 < pelrun> occasionally have to go in and delete the entries to get the numbers reassigned 2012-12-19T13:51:52 < karlp> windows is consistent for the device, if I use the same port. 2012-12-19T13:51:55 < pelrun> but at least in linux I know where to do that, unlike windows where it's hidden deep in the registry ("I've already assigned COM1-COM347, no you can't see the entries to delete them") 2012-12-19T13:52:06 < zyp> bullshit 2012-12-19T13:52:16 < zyp> it's right in the device manager 2012-12-19T13:52:17 < dongs> pelrun: what hte fuck is wrong with you, you fud spreading lunix fagt 2012-12-19T13:52:20 < dongs> iyeah what zyp said 2012-12-19T13:52:24 < dongs> its right there in device manager 2012-12-19T13:52:24 < pelrun> not for old devices 2012-12-19T13:52:26 < dongs> takes a whole 10 seconds to change 2012-12-19T13:52:39 < karlp> zyp: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A600exzB-if00-port0 2012-12-19T13:52:48 < karlp> vs /dev/ttyUSB0 2012-12-19T13:52:49 < pelrun> if the device isn't plugged in, it won't show you the COMx entry to delete it - just insists that COM1 is already used 2012-12-19T13:53:09 < dongs> pelrun: who cares 2012-12-19T13:53:32 < pelrun> haha, going from "YOU'RE FULL OF SHIT PELRUN" to "WHO CARES" as soon as point is proven 2012-12-19T13:53:37 < zyp> karlp, which distro? 2012-12-19T13:53:44 < dongs> what point? 2012-12-19T13:53:46 < karlp> that's fedora, but it works on my old ubuntu too. 2012-12-19T13:53:49 < dongs> you dont need to know what port any old devices are on 2012-12-19T13:53:57 < dongs> assign the one you have plugged in NOW into the port you want, DONE. 2012-12-19T13:54:02 < dongs> nothing else to care about 2012-12-19T13:54:07 < dongs> if you plug hte old one in, it'll be on same port, too 2012-12-19T13:54:38 < karlp> zyp: but I had to get told, it's non-obvious to go looking in other parts of the /dev tree 2012-12-19T13:57:06 < zyp> ah, right 2012-12-19T13:57:08 < zyp> /dev/serial/by-id/usb-FTDI_Quad_RS232-HS-if00-port0 2012-12-19T13:57:37 < zyp> no serial number there? 2012-12-19T13:57:52 < zyp> wonder what would happen if I had another 2012-12-19T13:57:54 < karlp> guess yours didn't provide one? 2012-12-19T13:58:08 < karlp> does lsusb show a serial? 2012-12-19T13:58:19 < zyp> ah, no 2012-12-19T13:58:23 < zyp> iSerial 0 2012-12-19T13:58:28 < karlp> on mine that path works no matter which physical port I'm plugged in to, 2012-12-19T13:58:43 < karlp> yeah, so, back to what I said in the beginning, "this is why you should always provide a serial number" :) 2012-12-19T13:58:57 < zyp> true 2012-12-19T13:59:03 < zyp> that goes anyway 2012-12-19T13:59:05 < karlp> even if it's only pseudo random and repeates every 32 devices 2012-12-19T13:59:26 < zyp> b-but, that violates usb spec! 2012-12-19T13:59:38 < zyp> usb spec says serial should be globally unique 2012-12-19T13:59:38 < karlp> and putting 0 in for all of them doesn't? 2012-12-19T14:00:07 < karlp> I'd rather somewhat random and capable of owning two devices that are different rather than 0 for everything. 2012-12-19T14:00:17 < zyp> it's not serial = 0, it's «no serial present» 2012-12-19T14:00:46 < zyp> the number is a string descriptor id, and 0 means none 2012-12-19T14:01:07 < zyp> but hang on, let me look up what the spec says about not providing a serial 2012-12-19T14:01:49 < karlp> hmm, lsusb just show's "3" for mine. 2012-12-19T14:01:55 < karlp> where's the actual serial gone?! 2012-12-19T14:02:04 < zyp> it's in string descriptor 3 :p 2012-12-19T14:03:04 < karlp> huh, needed to be root. 2012-12-19T14:03:08 < karlp> unexpected 2012-12-19T14:03:36 < zyp> well, of course, it needs to send some get_descriptor requests to get them 2012-12-19T14:04:22 < karlp> well, it showed me so much other stuff without root, that's all, anyway. 2012-12-19T14:09:53 < zyp> oh, the core usb spec doesn't impose limits on the serial number, but various classes dop 2012-12-19T14:09:56 < zyp> do* 2012-12-19T14:10:04 < karlp> yech. 2012-12-19T14:10:23 < zyp> and that's all irrelevant for the FTDI stuff since they are vendor specific 2012-12-19T14:10:44 < karlp> probably someone at the time insisted that they were not goign to pay for serial number space and had it removed 2012-12-19T14:11:13 < zyp> :p 2012-12-19T14:11:21 < karlp> huh, I'd never noticed that ftdi was vendor specific 2012-12-19T14:11:42 < karlp> is that to allow extra control pins or something vs CDC or ACM or whatever? 2012-12-19T14:12:20 < karlp> pick a class, any class, and even if there's already a class, just make up a new class! 2012-12-19T14:12:58 < zyp> well, this is the difference between ttyUSB and ttyACM 2012-12-19T14:13:24 < zyp> as far as I know, ttyACM is used for actual ACM devices, while ttyUSB is used for other vendor specific drivers 2012-12-19T14:13:44 < karlp> CDC is what, on top of ACM? 2012-12-19T14:13:53 < zyp> no, underneath 2012-12-19T14:14:04 < zyp> ACM is the serial-subclass of CDC 2012-12-19T14:14:26 < zyp> CDC also includes other subclasses like ECM and EEM, which are used for usb-ethernet 2012-12-19T14:14:43 < karlp> yeah, I was trying to figure out the motivation for those two different classes recently. 2012-12-19T14:14:58 < zyp> which ones? ECM and EEM? 2012-12-19T14:15:09 < karlp> but I think I then decided that it was like reading wikipedia, I didn't really need to know right now :) 2012-12-19T14:15:14 < zyp> not to mention rndis and NCM :p 2012-12-19T14:16:03 < zyp> I believe they hook into ethernet at different layers 2012-12-19T14:16:29 < zyp> so what's best suited depends a bit on what you are making 2012-12-19T14:19:16 < zyp> IIRC the EEM spec says that it's intended for dumb devices that doesn't do anything with the data except pass them off to an ethernet MAC, like simple usb-ethernet-adapters 2012-12-19T14:32:15 <+Steffanx> youtube 2012-12-19T14:32:18 <+Steffanx> fuck 2012-12-19T14:32:21 <+Steffanx> wrong keyboard 2012-12-19T14:33:03 < zyp> creative password 2012-12-19T14:33:19 <+Steffanx> Sure :) 2012-12-19T14:33:29 <+Steffanx> Actually i just need some sound.. soundcard fails to do something 2012-12-19T14:35:22 < zyp> you'd better upgrade to my usb soundcard, I've heard it's awesome 2012-12-19T14:35:41 <+Steffanx> I don't need a 3rd card 2012-12-19T14:35:57 < karlp> does yoru sound card come with an attached quad rotor? 2012-12-19T14:36:11 < karlp> so my sound card can hover around my head? 2012-12-19T14:36:18 <+Steffanx> No, you need four to have a quad rotor 2012-12-19T14:36:21 < karlp> surround sound mother fuckers 2012-12-19T14:38:15 <+Steffanx> Just because it's possible karlp ? 2012-12-19T14:38:22 <+Steffanx> because you can 2012-12-19T14:40:28 < Laurenceb> anyone here used the st lsm330D sensor? 2012-12-19T14:40:54 < Laurenceb> im using it in 1.344ksps accel mode, and it seems the accel is only giving me 10bit data 2012-12-19T14:41:03 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-19T14:41:07 < Laurenceb> nothing about this in the datasheet :-S 2012-12-19T14:45:48 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 264 seconds] 2012-12-19T14:46:37 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-19T14:49:13 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-19T14:51:41 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 244 seconds] 2012-12-19T14:53:51 -!- DaKu is now known as daku 2012-12-19T14:55:07 < dongs> huh 2012-12-19T14:55:28 < dongs> http://www.infotmic.com/en/products_iMAPx820.asp 2012-12-19T14:55:31 < dongs> that looks pretty cool 2012-12-19T14:56:29 -!- daku is now known as DaKu 2012-12-19T14:59:07 < dongs> https://www.youtube.com/watch?v=P2eFlVpQ3dc not bad 2012-12-19T15:02:55 < zyp> what about that soc looks cool= 2012-12-19T15:04:33 < dongs> i dunno, lots of stuff, no? 2012-12-19T15:04:54 < dongs> lots of stuff = cool 2012-12-19T15:05:16 < zyp> but what sets it apart from other socs? 2012-12-19T15:05:35 < dongs> its probably like $5 2012-12-19T15:06:31 < dongs> also GPS? 2012-12-19T15:06:32 < dongs> wtf 2012-12-19T15:08:01 < zyp> just a bunch of correlators 2012-12-19T15:08:12 < zyp> still needs external RF frontend 2012-12-19T15:09:21 -!- DaKu is now known as daku 2012-12-19T15:09:37 -!- daku is now known as DaKu 2012-12-19T15:10:47 < dongs> is that the same thing say ublox gps chips are? 2012-12-19T15:11:08 < dongs> http://www.u-blox.com/en/gps-chips.html 2012-12-19T15:11:13 < dongs> not the modules 2012-12-19T15:11:23 < zyp> unsure, possibly 2012-12-19T15:12:22 < zyp> no, they are single chip solutions 2012-12-19T15:12:53 < dongs> rf included? 2012-12-19T15:13:03 < zyp> yes 2012-12-19T15:13:24 < dongs> so wahts behind metal shield on regular ublox modules 2012-12-19T15:13:33 < dongs> like split ones 2012-12-19T15:13:50 < Laurenceb> some front end and a soc 2012-12-19T15:14:21 < Laurenceb> arm7tdmi with a ton of custom hardware acceleration 2012-12-19T15:15:29 < dongs> oh hm i thought for some reason ublox stuff was split in half by shield 2012-12-19T15:15:31 < dongs> but i guess not 2012-12-19T15:15:36 < dongs> must have been thinking some other crap 2012-12-19T15:15:40 < Laurenceb> old ublox is 2012-12-19T15:15:45 < Laurenceb> ublox4 and stuff 2012-12-19T15:15:53 < Laurenceb> they used some atmel parts for that 2012-12-19T15:15:59 < Laurenceb> now they have custom silicon 2012-12-19T15:17:29 < dongs> haha old ublox slogan 2012-12-19T15:17:33 < dongs> your position is our focus 2012-12-19T15:20:28 < dongs> eh, lea7 is out 2012-12-19T15:20:33 < dongs> bill probably scammed samples already. 2012-12-19T15:23:52 < dongs> http://hackadaycom.files.wordpress.com/2012/12/raspberry-pi-and-notebook.jpg?w=580&h=386 caption: "Raspberry Pi Hacking, Commando Style" 2012-12-19T15:25:51 -!- DaKu is now known as daku 2012-12-19T15:26:08 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2012-12-19T15:28:25 < Laurenceb> nice 2012-12-19T15:28:29 < Laurenceb> im waiting for max7 2012-12-19T15:28:57 < dongs> what good is that 2012-12-19T15:29:05 < dongs> btw, my newphone gets like 10 sats inside my house 2012-12-19T15:29:07 < dongs> crazy shit 2012-12-19T15:29:54 < Laurenceb> max7 is like 4.5ma @1.8v 2012-12-19T15:31:22 < Laurenceb> with the periodic wakeup stuff 2012-12-19T15:32:17 < Laurenceb> lol 2012-12-19T15:32:18 < Laurenceb> http://www.raspberrypi.org/ 2012-12-19T15:32:31 < Laurenceb> "the Welsh arm of the National Society for the Prevention of Cruelty to Children" 2012-12-19T15:32:32 < dongs> fuck 2012-12-19T15:32:34 < dongs> wahts new in modelA 2012-12-19T15:32:39 < dongs> my modelB just shipped yesterday 2012-12-19T15:32:48 < Laurenceb> rpi is cruelty to children 2012-12-19T15:32:52 < dongs> no shit 2012-12-19T15:32:58 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-19T15:32:59 < Laurenceb> its low power 2012-12-19T15:33:02 < Laurenceb> like 100ma 2012-12-19T15:33:15 < dongs> and? 2012-12-19T15:33:24 < Laurenceb> so.. battery power etc 2012-12-19T15:33:42 < dongs> no ethernet? 2012-12-19T15:33:43 < dongs> or wat 2012-12-19T15:33:52 < Laurenceb> no ethernet and only one usb 2012-12-19T15:34:06 < dongs> so its worthless. 2012-12-19T15:34:45 < Laurenceb> http://www.ebay.co.uk/itm/Twelve-Pis-of-Christmas-Raspberry-Pi-Model-A-Computer-/181047598420?pt=UK_Computing_Other_Computing_Networking&hash=item2a27471d54 2012-12-19T15:34:56 < dongs> yeah i saw the pic 2012-12-19T15:35:05 < dongs> looks mega useless. 2012-12-19T15:35:08 -!- daku is now known as DaKu 2012-12-19T15:35:10 < dongs> where is jtag on that shit? 2012-12-19T15:35:13 < dongs> is there a proper connector 2012-12-19T15:35:19 < dongs> or do I have to dick wiht like 5 pins off hte side 2012-12-19T15:35:32 < Laurenceb> yup 2012-12-19T15:35:51 < dongs> http://www.raspberrypi.org/archives/1929 2012-12-19T15:36:04 < dongs> Two GPIO pins have been interchanged to allow a missing debug signal (ARM_TMS) to appear on P1 pin 13. 2012-12-19T15:36:08 < dongs> oh fucksake 2012-12-19T15:36:11 < dongs> so its just random pins on the 20pin connector? 2012-12-19T15:36:56 < dongs> http://hackadaycom.files.wordpress.com/2012/12/rpi-air-quality-monitor.jpg?w=580&h=286 2012-12-19T15:36:59 < dongs> haha 2012-12-19T15:43:10 < dongs> http://www.youtube.com/watch?feature=player_embedded&v=qaiK_UoDqJw#! dualcore tarduino 2012-12-19T15:43:15 < dongs> one to do FFT one to do NTSC output 2012-12-19T15:43:23 < dongs> imagine what they could do with a proper mcu that costs 6x less 2012-12-19T15:43:36 < dongs> Laurenceb: i got a tray of stm32F303CCT6 on the way 2012-12-19T15:47:03 < Laurenceb> nice, direct from ST ? 2012-12-19T15:47:12 < dongs> direct from chinese scammers but yea 2012-12-19T15:49:26 <+Steffanx> "i got a tray of stm32F303CCT6 on the way" <> "scammers" ... 2012-12-19T15:52:20 < dongs> well 2012-12-19T15:52:29 < dongs> lets put it this way 2012-12-19T15:52:33 < dongs> i got one quote 2012-12-19T15:52:53 < dongs> they only had one tray, just arrived yesterday 2012-12-19T15:52:59 < dongs> so I said its mine, reserved it yets 2012-12-19T15:53:00 < dongs> etc 2012-12-19T15:53:11 < dongs> then I had my chinapal call them up and ask for same shit 2012-12-19T15:53:21 < dongs> suddenly: they have more in stock AND price went up by $1.something 2012-12-19T15:54:29 <+Steffanx> LOL 2012-12-19T16:00:25 < zyp> :D 2012-12-19T16:00:27 < dongs> here's some more gems from todays china purchasing 2012-12-19T16:00:27 < dongs> [10:58:05 PM] Scott Liu: but my price is the best in china 2012-12-19T16:00:28 < dongs> [10:58:12 PM] Scott Liu: because my brother own the copyright 2012-12-19T16:03:28 -!- Viper168_ [Viper168@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2012-12-19T16:06:32 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Remote host closed the connection] 2012-12-19T16:08:25 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-19T16:12:49 < gxti> what 2012-12-19T16:14:28 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 252 seconds] 2012-12-19T16:14:38 < dongs> yep 2012-12-19T16:15:22 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2012-12-19T16:15:30 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-19T16:15:33 < dongs> shitty fucking feenode fuck. 2012-12-19T16:15:51 < dongs> i even got rid of lunix on my network 2012-12-19T16:15:58 < dongs> so clearly the problem is feenode 2012-12-19T16:16:50 < zyp> maybe problem is that you have for little linux 2012-12-19T16:16:59 < zyp> too little* 2012-12-19T16:17:14 < dongs> unlikely. 2012-12-19T16:17:26 < dongle> i will have a lot of lunix tomorrow when I get shitberrypi 2012-12-19T16:17:32 < dongle> does that come wiht lunix preloaded? or wat 2012-12-19T16:17:34 < dongle> or do I need a sd card 2012-12-19T16:17:40 < zyp> need sd card 2012-12-19T16:17:49 < dongle> worthless 2012-12-19T16:17:55 < zyp> no flash on the board 2012-12-19T16:17:57 < dongle> so tehres no flash on chip at all? 2012-12-19T16:17:59 < dongle> lame. 2012-12-19T16:18:04 < dongle> how do you program it then?? 2012-12-19T16:18:25 < zyp> you put linux on an sd card and insert it? 2012-12-19T16:18:26 < dongle> if im gonna blink gpio and shit 2012-12-19T16:18:33 < dongle> no i mean not lunix 2012-12-19T16:18:39 < dongle> where do I put the code, in ram? 2012-12-19T16:19:03 < zyp> of course 2012-12-19T16:19:28 < dongle> sounds lame 2012-12-19T16:19:38 < dongle> so how does it know how to boot from SD? 2012-12-19T16:20:03 < zyp> dunno, haven't checked that part 2012-12-19T16:20:09 < dongle> heh 2012-12-19T16:20:30 < zyp> must be a small boot rom somewhere that loads and executes bootloader from sdcard 2012-12-19T16:20:43 < dongle> ok 2012-12-19T16:22:16 < zyp> also, it's not really lame, it's how pretty much everything works 2012-12-19T16:22:43 < dongle> has any retard with a pi acutally used the mipi/dsi display port thats on it 2012-12-19T16:22:47 < zyp> having memory-mapped flash that you can execute directly from doesn't really scale that far upwards 2012-12-19T16:22:49 < dongle> or are they all hooking it up to HDMI 2012-12-19T16:23:18 < zyp> just look at the cortex-m4 chips with all the flash waitstates 2012-12-19T16:24:04 < zyp> that's really on the border for where executing directly from flash is suitable 2012-12-19T16:24:22 < zyp> on everything larger than that, loading to ram and executing from there makes sense 2012-12-19T16:24:40 < dongle> well, F3 has some ram you can execute from :) 2012-12-19T16:24:44 < zyp> exactly 2012-12-19T16:24:59 < dongle> anyhow time for early sleep 2012-12-19T16:25:05 < dongle> didnt get anything done today, again, ay. 2012-12-19T16:38:02 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-19T16:38:55 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-12-19T17:11:16 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-19T17:11:16 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-19T17:11:16 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-19T17:11:19 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-19T17:14:56 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has quit [Remote host closed the connection] 2012-12-19T17:15:50 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-19T17:17:15 < karlp> doh, my mips chip is too old for luajit. 2012-12-19T17:17:17 < karlp> no fpu :( 2012-12-19T17:17:34 < zyp> does it need fpu? 2012-12-19T17:18:05 < karlp> apparently. 2012-12-19T17:18:12 < zyp> no option to have it not emit fpu instructions? 2012-12-19T17:18:34 < karlp> nope, mips sponsored the work, and they didn't feel like it. 2012-12-19T17:18:38 < zyp> ah 2012-12-19T17:18:42 < karlp> to be honest, my mips chip is too old, 2012-12-19T17:19:00 < karlp> ppc is only in 32bit mode and only bigendian too. 2012-12-19T17:19:01 < zyp> I have no knowledge about the timeline of mips chips 2012-12-19T17:19:17 < karlp> I have only fractionally more than you :) 2012-12-19T17:19:35 < karlp> but the compiler just spat out a bunch of lj_arch.h:325:2: error: #error "No support for MIPS CPUs without FPU" 2012-12-19T17:19:52 < zyp> the only experience I have with mips was when I was playing with the plasma-thing on opencores 2012-12-19T17:20:26 < karlp> well, at least I know now, no free speedups from luajit, until we get the next gen platform, and that will just run faster anyway... 2012-12-19T17:28:54 -!- enots [dimka@freelsd.net] has quit [Ping timeout: 252 seconds] 2012-12-19T17:29:35 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-19T17:30:56 -!- dekar_ [~dekar@dslb-188-107-194-019.pools.arcor-ip.net] has joined ##stm32 2012-12-19T17:31:03 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-19T17:33:13 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-19T17:37:43 < zyp> nice, got boards today 2012-12-19T17:47:08 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-19T17:47:36 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 264 seconds] 2012-12-19T17:47:58 < zyp> need to clean off my desk then so I can make room for assembling them :p 2012-12-19T17:48:35 < zyp> reflow oven probably wouldn't like being used buried under a ton of stuff 2012-12-19T17:49:20 < emeb> got yer boards? 2012-12-19T17:49:53 < zyp> yep 2012-12-19T17:50:01 < zyp> looks nice 2012-12-19T17:50:21 < emeb> :) 2012-12-19T17:51:54 < emeb> I've been considering a revised F3 breakout for the F303. Needs slightly different pinout. 2012-12-19T17:54:32 < zyp> for the bootloader? 2012-12-19T17:55:34 < emeb> The F303 has different power pins than the F373. 2012-12-19T17:55:46 -!- enots [dimka@freelsd.net] has joined ##stm32 2012-12-19T17:56:12 < zyp> I meant with regards to using F303 rather than F373 2012-12-19T17:56:35 < emeb> Ah - not specifically for the bootloader. I'm curious to try out the fast SAR ADC. 2012-12-19T17:56:54 < zyp> what about getting a discovery board? :p 2012-12-19T17:57:05 < emeb> Got one already. 2012-12-19T17:57:19 < emeb> just like building stuff. :) 2012-12-19T17:58:05 < emeb> actually - it probably would be better to just go w/ the disco for initial tests & build a board for specific purpose... 2012-12-19T17:58:44 < zyp> that's what I meant :) 2012-12-19T18:02:12 < zyp> hmm, I think I'll start by doing the bmps 2012-12-19T18:02:23 < emeb> more generally useful 2012-12-19T18:02:35 < zyp> yeah, that's what I was thinking 2012-12-19T18:04:18 * emeb reviews the log for last night 2012-12-19T18:04:39 < emeb> glad I missed out on some of those OT chats 2012-12-19T18:05:24 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-19T18:05:52 < zyp> you didn't miss anything interesting, at least 2012-12-19T18:06:02 < emeb> yep 2012-12-19T18:10:32 < zyp> hmm, you don't happen to have assembly drawings with component values written on them? 2012-12-19T18:10:48 < emeb> no - just refdes. 2012-12-19T18:24:23 < zyp> hmm, I don't like that digikey ship stuff in welded bags, mouser's zip lock bags are much nicer 2012-12-19T18:25:07 < emeb> keep scissors handy. 2012-12-19T18:27:02 < zyp> oh well, I guess I'll just have to get more reels so I don't have to care about bagged parts in the future :p 2012-12-19T18:27:46 < emeb> lol. Then you need a big cabinet to store all the reels 2012-12-19T18:28:35 * emeb has lots of plastic bags full of smaller plastic bags full of smaller plastic bags full of short sections of tape. 2012-12-19T18:29:51 < zyp> :) 2012-12-19T18:31:07 < zyp> wonder how solder paste viscosity is, considering I didn't take it out of the fridge already yesterday 2012-12-19T18:31:47 < zyp> I left it on top of a heater, so hopefully it will be okay 2012-12-19T18:32:08 < emeb> that's better than the other suggestion I had... 2012-12-19T18:32:36 < zyp> these metal stencils also looks nice 2012-12-19T18:33:23 < emeb> like a pro 2012-12-19T18:34:58 < zyp> oh, paste got pretty hot already 2012-12-19T18:35:14 < zyp> hotter than room temp :p 2012-12-19T18:35:36 < emeb> hasn't turned into soup hopefully... 2012-12-19T18:35:45 < zyp> not far from 2012-12-19T18:37:04 < emeb> mmm... tasty solder soup. 2012-12-19T18:37:09 <+Steffanx> We want a live stream zyp :P 2012-12-19T18:38:55 < zyp> hmm, great viscosity actually, stencilling seems to have turned out nice 2012-12-19T18:39:41 < emeb> time to plunk parts down 2012-12-19T18:39:54 < karlp> moah picz plz 2012-12-19T18:40:11 < emeb> smd assembly - new nerd spectator sport 2012-12-19T18:42:38 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 244 seconds] 2012-12-19T18:53:34 <+Steffanx> Too bad everyone knows who'll win emeb .. 2012-12-19T18:53:36 <+Steffanx> The chinese 2012-12-19T18:54:08 < emeb> ooooooo - those wily chinese. is there anything that they can't do faster & cheaper? 2012-12-19T18:54:31 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2012-12-19T18:55:38 <+Steffanx> porn emeb.. yankees are experts in that industry 2012-12-19T18:55:55 < emeb> gotta be good at something I guess 2012-12-19T18:59:20 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2012-12-19T18:59:51 < zyp> emeb, these leds, green marking is cathode? 2012-12-19T19:01:16 < emeb> zyp: yes 2012-12-19T19:01:30 < zyp> good 2012-12-19T19:01:34 < emeb> :) 2012-12-19T19:01:52 < emeb> and cathode is the double-line on the silk outline 2012-12-19T19:02:22 < zyp> well, it's obvious what is ground :p 2012-12-19T19:02:30 < emeb> yep 2012-12-19T19:02:59 < emeb> for some reason the red LED looks different on mine - the internal pattern is not the same as the others. 2012-12-19T19:03:16 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 250 seconds] 2012-12-19T19:03:52 < emeb> also - haven't quite figured out what D4 signifies - it rarely lights up. Certainly doesn't mean "Run" 2012-12-19T19:04:50 < zyp> ok, board in the oven 2012-12-19T19:06:01 < emeb> fingers crossed 2012-12-19T19:06:35 < zyp> should be fine 2012-12-19T19:06:52 <+Steffanx> Not that hard to look into the code, is it emeb :P 2012-12-19T19:07:01 < emeb> Steffanx: no - just lazy 2012-12-19T19:07:02 < zyp> most risky part seems to be stm32 alignment, and that always goes better than you would expect :p 2012-12-19T19:07:30 < emeb> first try or do you have to nudge it around? 2012-12-19T19:07:35 < zyp> in worst case maybe some bridging, but that would be easy to remove afterwards 2012-12-19T19:07:58 < zyp> this time I had to nudge it a bit 2012-12-19T19:08:21 < zyp> I should probably get a vacuum tool to pick up and place those 2012-12-19T19:08:48 < emeb> in my hand soldering I put down some gel flux and then nudge until it's aligned. then solder corners, then drag all sides. 2012-12-19T19:08:53 < emeb> goes pretty fast now. 2012-12-19T19:09:04 < zyp> yeah 2012-12-19T19:13:00 < emeb> new meme: "Trace CG artifacts." 2012-12-19T19:13:53 < qyx_> http://hobbybotics.files.wordpress.com/2010/10/pa300007_1024x576.png 2012-12-19T19:13:53 < qyx_> uf 2012-12-19T19:13:56 < qyx_> vias in pads 2012-12-19T19:14:18 < emeb> they'll have fun soldering that one. 2012-12-19T19:14:43 < emeb> no 2012-12-19T19:15:01 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-19T19:15:24 < zyp> that small vias in that large pads doesn't really matter 2012-12-19T19:15:56 < emeb> not a big fan of those old Nokia displays 2012-12-19T19:16:26 -!- jef79m_lurking is now known as jef79m 2012-12-19T19:16:30 < emeb> aesthetics mostly. 2012-12-19T19:16:56 < zyp> alignment turned out fine, but I got a bunch of bridges 2012-12-19T19:17:09 < emeb> get out the solder braid 2012-12-19T19:17:53 < zyp> heh, crystal doesn't sit flat 2012-12-19T19:18:27 < emeb> wonder why? too much solder? 2012-12-19T19:19:31 < zyp> probably 2012-12-19T19:21:46 < zyp> http://bin.jvnv.net/f/Dzrph.JPG 2012-12-19T19:22:57 < karlp> what's wrong with vias in pads for soldering qyx_/emeb? 2012-12-19T19:23:36 < karlp> they look minute compared to the pads... 2012-12-19T19:23:47 < zyp> exactly 2012-12-19T19:23:51 < zyp> doesn't really matter 2012-12-19T19:24:22 < emeb> zyp: nice board 2012-12-19T19:25:44 < emeb> karlp: zyp: yeah - esp for hand soldering. Just add a little more if the via wicks it up. 2012-12-19T19:26:15 < emeb> unless those vias go to gnd w/o thermals. then bring a hotter iron. 2012-12-19T19:26:36 < qyx_> karlp: nothing in vias in large pads 2012-12-19T19:26:55 < qyx_> but there are also vias in 0805 resistors.. or whatever they are 2012-12-19T19:27:30 < qyx_> they will suck half the solder from pad 2012-12-19T19:28:45 -!- jef79m is now known as jef79m_lurking 2012-12-19T19:32:38 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Remote host closed the connection] 2012-12-19T19:34:01 < zyp> emeb, why is only one side of the usb connector shield hooked to gnd? 2012-12-19T19:34:19 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-12-19T19:34:37 < emeb> zyp: no reason. just didn't 2012-12-19T19:35:05 < zyp> power led lights up like it should :) 2012-12-19T19:35:17 < zyp> just need to load some software now 2012-12-19T19:35:52 < emeb> don't forget blackmagic_dfu :) 2012-12-19T19:36:48 < zyp> that's what I'm going to load, then use that to load software :p 2012-12-19T19:37:12 < emeb> heh. showoff. I just did both w/ my original bmpm 2012-12-19T19:37:45 -!- _BJFreeman [~bjfree@226.sub-75-233-138.myvzw.com] has joined ##stm32 2012-12-19T19:38:07 < emeb> but I did prove that the dfu worked later when I patched the usb stuff for working on MacOS X 10.6 2012-12-19T19:40:33 < zyp> worked nicely 2012-12-19T19:40:47 < emeb> blinky leds now? 2012-12-19T19:40:53 < zyp> yep 2012-12-19T19:43:25 < zyp> http://bin.jvnv.net/f/wRGDl.JPG 2012-12-19T19:43:48 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 248 seconds] 2012-12-19T19:44:35 < emeb> \o/ 2012-12-19T19:44:54 * karlp cheers 2012-12-19T19:45:41 < zyp> only part I don't like is placement of uart header, it'll get in the way of shrinkwrap 2012-12-19T19:46:21 < emeb> yeah. probably could have run that out to the other end. 2012-12-19T19:46:31 < zyp> but I guess I'll just not be populating that on the ones I shrinkwrap 2012-12-19T19:48:04 < Laurenceb> http://i.imgur.com/fJUqv.png 2012-12-19T19:48:13 < Laurenceb> ^anyone seen anything like that with st gyros? 2012-12-19T19:48:17 < zyp> wonder if I should do the other four now too 2012-12-19T19:48:20 < Laurenceb> weird spiking 2012-12-19T19:48:49 < Laurenceb> it doesnt look like bit flips 2012-12-19T19:48:53 < Laurenceb> wrong size 2012-12-19T19:48:59 < Laurenceb> its very odd :S 2012-12-19T19:49:28 < emeb> strange. 2012-12-19T19:49:43 < emeb> st gyros use I2C? 2012-12-19T19:50:02 < zyp> and/or spi 2012-12-19T19:50:08 < zyp> depends on the part really 2012-12-19T19:50:21 < emeb> but not analog output 2012-12-19T19:50:30 < zyp> they probably have some analog ones too 2012-12-19T19:51:05 < zyp> hmm, wonder if I should assemble the other four now 2012-12-19T19:51:27 < Laurenceb> maybe it is bit flips 2012-12-19T19:51:27 < emeb> depends - any other use for those parts? 2012-12-19T19:51:35 < Laurenceb> i dont understand how matlab wavread works 2012-12-19T19:51:52 < zyp> no, I bought the parts just for this 2012-12-19T19:52:01 < emeb> Laurenceb: wait - how'd you get the data into a .wav format? 2012-12-19T19:52:20 < emeb> zyp: might as well forge ahead & do 'em all since you're set up. 2012-12-19T19:52:36 < Laurenceb> emeb: using some code i wrote 2012-12-19T19:52:54 < zyp> emeb, that's what I was planning to, but a break is tempting :) 2012-12-19T19:53:01 < emeb> oh yeah - that stuff you mentioned yesterday. 2012-12-19T19:53:11 < emeb> zyp: step away from the workbench 2012-12-19T19:53:31 < Laurenceb> ah 2012-12-19T19:53:38 < Laurenceb> looks like bit 7 is flipping 2012-12-19T19:53:47 < Laurenceb> probably i2c being annoying 2012-12-19T19:53:59 < Laurenceb> bbl 2012-12-19T19:55:42 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2012-12-19T19:56:49 < Posterdati> hi 2012-12-19T19:58:22 < Posterdati> please I need help on make I2C works on stm32f10x chip, this is my code: http://pastebin.com/4ibkgAJJ 2012-12-19T19:59:10 < Posterdati> if I hard reset the chip, I was able to send header data to the gyro, then nothing, I've to reset 2012-12-19T20:02:43 < karlp> does it actually get your interrupt handler or does it go into a blocking handler or something? 2012-12-19T20:03:11 < Posterdati> I'm not using irq to handle i2c 2012-12-19T20:04:23 < emeb> so where's it' hanging? 2012-12-19T20:04:40 < Posterdati> start condition timeout 2012-12-19T20:05:07 < Posterdati> I2C_EVENT_MASTER_MODE_SELECT never happens 2012-12-19T20:05:11 < Thorn> is stm32f3-discovery worth getting? 2012-12-19T20:05:28 < emeb> Thorn: it's kewl! 2012-12-19T20:05:45 < emeb> gyros, accels, ring-o-leds. 2012-12-19T20:06:22 < Thorn> weird ass debugger, no display and that ultra-stupid micro-usb. :( 2012-12-19T20:06:37 < emeb> there's that. 2012-12-19T20:07:20 < emeb> however - no micro usb on F3 disco 2012-12-19T20:07:24 < emeb> just normal mini-B 2012-12-19T20:07:51 < zyp> yep 2012-12-19T20:07:52 < karlp> micro usb is awesome! 2012-12-19T20:07:55 < Thorn> discovery is 11.65 euro in farnell. STM32F303VCT6 is 10.45(!) 2012-12-19T20:08:05 < emeb> and re: display - what are you complaining about. It's cheap! 2012-12-19T20:08:31 < zyp> ok, got all four boards pasted 2012-12-19T20:08:56 < emeb> need family photo when you're done 2012-12-19T20:09:05 < zyp> :) 2012-12-19T20:13:04 < Posterdati> it won't generate the start condition 2012-12-19T20:15:03 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Ping timeout: 260 seconds] 2012-12-19T20:24:04 < Posterdati> i2c on stm32 is a total mess, simply works very bad, never seen something like that 2012-12-19T20:25:09 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Read error: No route to host] 2012-12-19T20:29:31 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-19T20:33:30 -!- upgrdman_ [42a6d414@blender/artist/upgrdman] has joined ##stm32 2012-12-19T20:34:17 < emeb> that's been said before. 2012-12-19T20:34:56 < upgrdman_> anyone here using the IR interface of the STM32F0? Im reading RM0091 pg. 456, and it says i must enable the IR interface, but does not say where to do that. their graphic on that page shows an "IRTIM" NAND gate that presumably must be enabled, but nowhere else in the PDF does "IRTIM" appear. 2012-12-19T20:38:53 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-19T20:39:19 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-19T20:46:44 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 248 seconds] 2012-12-19T20:48:10 < zyp> and boards in oven again 2012-12-19T20:49:11 < emeb> does it fill the whole room with an aroma that takes you back to your childhood? 2012-12-19T20:49:26 -!- barthess [~barthess@178.154.88.20] has joined ##stm32 2012-12-19T20:49:33 < zyp> not sure about the childhood part :p 2012-12-19T20:49:49 < emeb> not like baking cookies then. 2012-12-19T20:56:06 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-12-19T20:57:06 < zyp> the metal stencil were easy to clean 2012-12-19T20:57:18 < zyp> compared to the kapton ones I've used before 2012-12-19T20:57:25 < emeb> huh. wonder why. 2012-12-19T20:57:26 < zyp> overall very nice to work with 2012-12-19T20:57:30 < zyp> :) 2012-12-19T20:57:36 < emeb> worth the extra $$? 2012-12-19T20:58:22 < Thorn> zyp: what tool do you use to spread paste over the boards? 2012-12-19T20:59:32 < zyp> emeb, extra? I paid way less for these boards and stencils than I would have from other sources 2012-12-19T21:00:06 < emeb> zyp: yes - because dongs. But that's not ordinarily the case. Would you fork if you were paying? 2012-12-19T21:00:23 < zyp> depends 2012-12-19T21:01:29 < zyp> hmm 2012-12-19T21:01:36 < zyp> more bridges, on all boards 2012-12-19T21:02:05 < zyp> probably because the pads are small 2012-12-19T21:02:08 < emeb> odd 2012-12-19T21:02:33 < zyp> longer pads leave more area for the solder to collect, and helps preventing bridges 2012-12-19T21:02:41 < emeb> wonder if the stencil apertures for the lqfp pads were too large? 2012-12-19T21:03:11 < zyp> Thorn, a normal putty knife 2012-12-19T21:03:34 < Thorn> metal? 2012-12-19T21:03:44 < Thorn> or rubber 2012-12-19T21:04:05 < zyp> metal 2012-12-19T21:04:32 < Thorn> it doesn't scratch anything? 2012-12-19T21:04:41 < zyp> scratch what? 2012-12-19T21:05:04 < Thorn> stencils for example 2012-12-19T21:05:23 < zyp> well, it couldn't scratch anything else than the stencil :p 2012-12-19T21:06:03 < zyp> stainless steel is pretty hard, so that's a non-issue 2012-12-19T21:06:30 < zyp> kapton not so much, but still not a huge issue 2012-12-19T21:08:42 < zyp> the one I did ten boards with is visibly used, but that's just looks 2012-12-19T21:12:05 -!- gurgalof [~gurgalof@dhcp-237-179.nomad.chalmers.se] has joined ##stm32 2012-12-19T21:12:29 < zyp> where the fuck did my braid go? 2012-12-19T21:14:28 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 248 seconds] 2012-12-19T21:14:49 <+Steffanx> i ate it 2012-12-19T21:19:26 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-19T21:21:19 -!- DaKu is now known as daku 2012-12-19T21:21:40 -!- BjoernC [~BjoernC@dyndsl-178-142-052-045.ewe-ip-backbone.de] has joined ##stm32 2012-12-19T21:26:24 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-19T21:27:48 < Posterdati> emeb: reading works, writing fails at start condition! Very strange 2012-12-19T21:30:21 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-19T21:30:21 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Client Quit] 2012-12-19T21:30:27 -!- Titan___ [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-19T21:30:37 -!- Titan___ is now known as TitanMKD 2012-12-19T21:32:34 < Posterdati> emeb: I followed what is stated at page 731 of RM008 2012-12-19T21:33:40 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-19T21:33:57 -!- Laurenceb_ [~Laurence@host86-179-249-28.range86-179.btcentralplus.com] has joined ##stm32 2012-12-19T21:39:45 < Posterdati> damned st! 2012-12-19T21:39:47 < emeb> Posterdati: yes - odd. 2012-12-19T21:40:08 < emeb> btw - I'm no expert on I2C on the STM32. Others here have more experience than I. 2012-12-19T21:40:42 < Posterdati> it worked before, I lost all the work due to an hd failure 2012-12-19T21:40:47 < emeb> All I have done is talk to a write-only codec as in the STM32F4 audio examples. 2012-12-19T21:40:58 < emeb> Posterdati: ugh - no fun. 2012-12-19T21:41:01 < Laurenceb_> hehe i2c 2012-12-19T21:41:07 < Laurenceb_> ive got issues with it atm 2012-12-19T21:41:14 < Posterdati> it's a mess 2012-12-19T21:41:20 < Laurenceb_> indeed 2012-12-19T21:41:23 < Posterdati> on atmega2560 I've got no problem 2012-12-19T21:41:25 < Laurenceb_> im getting bit flips 2012-12-19T21:41:29 < Posterdati> that's ridiculous 2012-12-19T21:41:49 < Laurenceb_> it may be poor pullups 2012-12-19T21:41:54 < Laurenceb_> im not 100% sure 2012-12-19T21:41:59 < Laurenceb_> off that its always the same bit 2012-12-19T21:42:08 < Posterdati> pullups are good on my board 2012-12-19T21:42:10 < emeb> bad timing? 2012-12-19T21:42:17 < Posterdati> 400 kHz 2012-12-19T21:42:28 < Laurenceb_> emeb: its hardware i2c 2012-12-19T21:42:29 < Posterdati> and 100 kHz too are not working 2012-12-19T21:42:42 < Laurenceb_> bad timing would suggest st hardware related 2012-12-19T21:42:48 < emeb> yeah 2012-12-19T21:42:49 < Laurenceb_> its weird 2012-12-19T21:43:03 < Laurenceb_> im reading a load of int16 values from a sensor 2012-12-19T21:43:14 < Laurenceb_> bit 8 is sometimes zero 2012-12-19T21:43:17 < emeb> scope the SCL/SDA lines - look at rise/fall times to determine if pullups OK? 2012-12-19T21:43:23 < Laurenceb_> then the value is around 0xFFFF 2012-12-19T21:43:31 < Laurenceb_> it looks a little poor 2012-12-19T21:43:42 < Laurenceb_> but i dont want to go too much lower with the pullups 2012-12-19T21:43:48 < Laurenceb_> already they are 560ohm 2012-12-19T21:43:56 < emeb> ooo - that's low 2012-12-19T21:43:57 < Laurenceb_> theres several meters of cable 2012-12-19T21:44:02 < Posterdati> too low 2012-12-19T21:44:14 < emeb> ah - long lines. ick. 2012-12-19T21:44:17 < Laurenceb_> no, it fails with larger pullups 2012-12-19T21:44:21 < Posterdati> use 10 mA reference current to design pullups 2012-12-19T21:44:32 < Laurenceb_> im not convinced its the pullups 2012-12-19T21:44:38 < Laurenceb_> as its always the same bit 2012-12-19T21:44:43 < Laurenceb_> and theres no other errors 2012-12-19T21:44:54 < Laurenceb_> about 0.1% of transactions see this error 2012-12-19T21:45:01 < emeb> heisenbug 2012-12-19T21:45:08 < Laurenceb_> 0xFFFx -> 0xFEFx 2012-12-19T21:45:21 < Laurenceb_> where x is noise 2012-12-19T21:45:53 < emeb> simple fix -> discard data points w/ bit7 = 0. :P 2012-12-19T21:46:04 < Laurenceb_> heh 2012-12-19T21:46:06 < Laurenceb_> bit 8 2012-12-19T21:46:33 < zyp> hmm 2012-12-19T21:46:42 < zyp> one of the boards won't attach over swd 2012-12-19T21:46:53 < emeb> no my fault man 2012-12-19T21:46:58 < zyp> it shows up in scan but attaching fails 2012-12-19T21:47:04 < zyp> loaded bootloaders on the other three 2012-12-19T21:47:10 < Posterdati> it keep to fail at start condition 2012-12-19T21:47:28 < Posterdati> shall I check for busy before send START? 2012-12-19T21:47:51 < emeb> oh - interesting. both SCL/SDA high @ start? 2012-12-19T21:48:16 < Laurenceb_> looking at the data, it seems bytes are getting left shifted by one bit 2012-12-19T21:48:32 < emeb> smells like timing. 2012-12-19T21:48:53 < emeb> but timing can be affected by edge speeds. 2012-12-19T21:48:58 < Laurenceb_> or something missing a clock edge 2012-12-19T21:49:06 < Laurenceb_> ill have to think what could cause that 2012-12-19T21:49:06 < emeb> yup 2012-12-19T21:49:20 < Laurenceb_> it ack was read as bit 8... 2012-12-19T21:49:33 < Laurenceb_> but master generates ack 2012-12-19T21:49:49 < Laurenceb_> but master also generates clk 2012-12-19T21:49:51 < zyp> there, must have been a bad solder or not fully removed bridge somewhere 2012-12-19T21:50:02 < zyp> worked after I touched up a few spots with the iron 2012-12-19T21:50:11 < Laurenceb_> the bga? 2012-12-19T21:50:15 < emeb> amazing how often that works. 2012-12-19T21:50:19 < zyp> no, bmp2 2012-12-19T21:50:21 < Laurenceb_> oh 2012-12-19T21:50:46 < Laurenceb_> hmm i cant see how a missed clk edge could cause my issues 2012-12-19T21:52:41 < Laurenceb_> i guess master and slave might have a timing squew 2012-12-19T21:53:11 < emeb> sda & sclk lines have symmetrical layout/length/parasitics? 2012-12-19T21:53:17 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 255 seconds] 2012-12-19T21:53:22 < Laurenceb_> yes 2012-12-19T21:54:58 < emeb> half-cycle skew @ 400kHz would be about 1000' anyway. :P 2012-12-19T21:55:04 < Laurenceb_> its a bit hard to tell whats happening as theres noise.. 2012-12-19T21:55:13 < Laurenceb_> i meant if they used different voltage levels 2012-12-19T21:55:18 < Laurenceb_> - logic 2012-12-19T21:55:32 < Laurenceb_> last byte is flipping about a lot 2012-12-19T21:55:49 < emeb> stop moving that gyro around. :) 2012-12-19T21:55:52 < Laurenceb_> actually this could be explained by the fifo i think 2012-12-19T21:56:06 < Laurenceb_> if the fifo on the lsm330d isnt locking when i read 2012-12-19T21:56:48 < Laurenceb_> im not reading as fast as i should, and its filling up and dropping samples 2012-12-19T21:56:56 < Laurenceb_> maybe it can drop a sample mid transfer 2012-12-19T21:57:38 < ds2> maybe you should use an active repeater 2012-12-19T21:58:04 < Laurenceb_> ill try it tomorrow with faster sampling 2012-12-19T21:58:11 < Laurenceb_> the accel data is fine 2012-12-19T21:58:26 < Laurenceb_> which makes me wonder if its something to do with the gyro configuration 2012-12-19T21:58:29 < emeb> huh - digital I/O on that part is 1.8V. 2012-12-19T21:58:40 < zyp> http://paste.jvnv.net/view/ohyIV 2012-12-19T21:58:51 < ds2> which gyro? 2012-12-19T21:59:03 < Laurenceb_> lsm330d 2012-12-19T21:59:04 < emeb> zyp: lotsa bmps 2012-12-19T21:59:11 < zyp> http://bin.jvnv.net/f/n71NA.JPG 2012-12-19T21:59:46 < ds2> sure it is not the gyro itself on the fritz due to a power problem? 2012-12-19T21:59:57 < emeb> you can debug 6 projects at once! 2012-12-19T22:00:05 < ds2> those things suck a lot of power (compartively) 2012-12-19T22:00:09 < Laurenceb_> maybe 2012-12-19T22:00:19 < Laurenceb_> ill try another sensor cable tomorrow 2012-12-19T22:00:31 < Laurenceb_> ive got lots of cable assemblies for fitting in vehicles 2012-12-19T22:00:34 < emeb> Laurenceb_: is that out on the end of a cable? 2012-12-19T22:01:08 < ds2> maybe it wants more bypassing given the long cable and apparent 'higher impedence power supply'? 2012-12-19T22:01:14 < emeb> +1 2012-12-19T22:01:48 < Laurenceb_> yeah 2012-12-19T22:01:56 < Laurenceb_> too late for that now 2012-12-19T22:02:07 < zyp> http://paste.jvnv.net/view/W2L8v 2012-12-19T22:02:07 < Laurenceb_> they are all potted 2012-12-19T22:02:13 < ds2> oh 2012-12-19T22:02:18 < ds2> splice in a 1F cap then? 2012-12-19T22:02:23 < zyp> pretty easy to spot the old one 2012-12-19T22:02:25 < zyp> :p 2012-12-19T22:02:32 < Laurenceb_> heh the isr will be too high 2012-12-19T22:03:10 < ds2> okay, 1F in parallel with a gross of 10uF ceramics in parallel ;) 2012-12-19T22:03:11 < Laurenceb_> *esr 2012-12-19T22:03:34 < emeb> Laurenceb_: try a shorter cable? 2012-12-19T22:03:51 < ds2> is there a local LDO on the sensor end? 2012-12-19T22:03:54 < Laurenceb_> no 2012-12-19T22:04:01 < Laurenceb_> it gets 3v3 from one end of the cable 2012-12-19T22:04:24 < emeb> looks like normal operation current for that sensor is ~6-7ma 2012-12-19T22:04:35 < emeb> shouldn't be a whole lot of IR drop on that. 2012-12-19T22:04:44 < ds2> that 6-7mA is like 95% for the gyro 2012-12-19T22:04:48 < emeb> yup 2012-12-19T22:04:56 < ds2> the accel side is an order or two of mangitude less 2012-12-19T22:05:09 < emeb> takes some juice to get that mass vibrating 2012-12-19T22:05:34 -!- barthess [~barthess@178.154.88.20] has quit [Quit: Leaving.] 2012-12-19T22:06:01 < emeb> zyp: wonder if that serial number diff is just time or also because the original one is a different pkg style. 2012-12-19T22:07:14 < zyp> I was just surprised that they were that similar, I expected it to be a hash of the unique chip id 2012-12-19T22:07:37 < Posterdati> emeb: the busy flag is on after a read :( 2012-12-19T22:07:57 < emeb> Posterdati: so the transaction isn't properly finishing. 2012-12-19T22:08:18 < emeb> is your master read routine generating the ACK/NACK? 2012-12-19T22:08:41 < emeb> zyp: bmp firmware isn't scrambling the ID when computing the serno? 2012-12-19T22:08:52 < Posterdati> emeb: this is the read http://pastebin.com/4YnmQmpG 2012-12-19T22:09:06 < zyp> emeb, they wouldn't be that similar if that were the case 2012-12-19T22:10:00 < Posterdati> should ne NACK at the successfully read? 2012-12-19T22:11:14 < Posterdati> the mems manual reports that a successful byte read ends with a NACK 2012-12-19T22:11:33 < emeb> beats me - not an I2C expert 2012-12-19T22:11:55 < zyp> yes, that's correct 2012-12-19T22:12:31 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-19T22:12:45 < zyp> when the master is reading, master is driving the acks, and they get a different meaning 2012-12-19T22:13:29 < zyp> when the master is writing and slave is reading, ack means «acknowledged, I got the byte you wrote» 2012-12-19T22:13:45 < zyp> but when the master is reading, it means «hey, prepare to give me another byte» 2012-12-19T22:13:46 < Posterdati> no way 2012-12-19T22:13:59 < zyp> so the last read should end with a nak 2012-12-19T22:14:32 < Posterdati> keeps to fail at busy flag 2012-12-19T22:15:45 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200286.dsl.bell.ca] has joined ##stm32 2012-12-19T22:15:45 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200286.dsl.bell.ca] has quit [Changing host] 2012-12-19T22:15:45 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-19T22:16:17 < Posterdati> I think a monkey designed the stm32f i2c peripheral 2012-12-19T22:16:36 < Posterdati> and a monkey wrote the fucking manual too 2012-12-19T22:18:15 -!- dekar__ [~dekar@dslb-188-107-194-019.pools.arcor-ip.net] has joined ##stm32 2012-12-19T22:18:18 -!- mode/##stm32 [+v dekar__] by ChanServ 2012-12-19T22:20:00 -!- dekar_ [~dekar@dslb-188-107-194-019.pools.arcor-ip.net] has quit [Ping timeout: 250 seconds] 2012-12-19T22:20:03 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-19T22:21:06 -!- dekar__ [~dekar@dslb-188-107-194-019.pools.arcor-ip.net] has quit [Client Quit] 2012-12-19T22:21:10 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200286.dsl.bell.ca] has joined ##stm32 2012-12-19T22:21:11 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200286.dsl.bell.ca] has quit [Changing host] 2012-12-19T22:21:11 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-19T22:22:19 < Posterdati> ok, not working 2012-12-19T22:22:29 < Posterdati> I'm going to change micro then 2012-12-19T22:23:38 < emeb> ragequit 2012-12-19T22:24:41 < Posterdati> no time to spend on a monkey-designed micro 2012-12-19T22:27:18 < ds2> you can always bitbang it 2012-12-19T22:27:25 < ds2> i2c isn't that complex of a protocol 2012-12-19T22:27:55 < upgrdman_> anyone here using the IR interface of the STM32F0? Im reading RM0091 pg. 456, and it says i must enable the IR interface, but does not say where to do that. their graphic on that page shows an "IRTIM" NAND gate that presumably must be enabled, but nowhere else in the PDF does "IRTIM" appear. 2012-12-19T22:28:59 < zyp> upgrdman_, not in RCC? 2012-12-19T22:30:05 < zyp> ah, right 2012-12-19T22:30:12 < zyp> timer channels 2012-12-19T22:32:21 < upgrdman_> well i searched the pdf, and IRTIM only appears on that page. 2012-12-19T22:32:39 < Thorn> new sourcery codebench released with gcc 4.7.2 2012-12-19T22:32:41 < upgrdman_> a quick glance in the TIM registers did not reveal anything that popped out 2012-12-19T22:32:53 < upgrdman_> i'll check rcc 2012-12-19T22:32:55 < Thorn> https://sourcery.mentor.com/GNUToolchain/release2322 2012-12-19T22:33:35 < zyp> apparently not rcc either 2012-12-19T22:33:40 < zyp> I'll dig a bit 2012-12-19T22:33:53 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200286.dsl.bell.ca] has joined ##stm32 2012-12-19T22:33:53 -!- NonaSuomy [~TeknoJuce@bas1-london15-2925200286.dsl.bell.ca] has quit [Changing host] 2012-12-19T22:33:53 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-19T22:34:11 < upgrdman_> ok thanks 2012-12-19T22:36:19 < zyp> ah 2012-12-19T22:36:36 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 248 seconds] 2012-12-19T22:36:47 < zyp> just set the right AF on the IR_OUT pin, and you should be fine 2012-12-19T22:37:52 -!- jef79m_lurking is now known as jef79m 2012-12-19T22:38:03 < zyp> it's just a single nand-gate that doesn't output anywhere if that AF isn't selected, so there is not really any need for any other sort of enable for it 2012-12-19T22:38:05 < Thorn> "60% of embedded developers use an IDE." 2012-12-19T22:38:18 < zyp> only 60%? 2012-12-19T22:38:28 < zyp> what do they count as embedded then? 2012-12-19T22:38:29 < Thorn> that's what mentor website says 2012-12-19T22:38:50 < Thorn> when you download the non-ide toolchain 2012-12-19T22:39:29 < upgrdman_> zyp: oh, ok. thanks. i'll be playing with an IR LED and phototransistor this weekend if time allows. 2012-12-19T22:46:16 < Posterdati> ds2: no way 2012-12-19T22:46:39 -!- BjoernC [~BjoernC@dyndsl-178-142-052-045.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-19T22:49:21 < Laurenceb_> Posterdati: you could try my i2c code 2012-12-19T22:49:31 < Laurenceb_> but im not convinced its 100% working atm 2012-12-19T22:49:35 < Posterdati> where is it? 2012-12-19T22:50:11 < Laurenceb_> github, search for me 2012-12-19T22:50:17 < zyp> dongs has a C port of my i2c code somewhere, it should be working 2012-12-19T22:50:41 < ds2> any C ports of your USB code? 2012-12-19T22:51:21 < emeb> heh 2012-12-19T22:51:26 < zyp> :p 2012-12-19T22:51:36 < emeb> why's everyone so afraid of C++? 2012-12-19T22:51:52 < ds2> afraid? no. disgusted? yes./ 2012-12-19T22:52:15 < emeb> fear leads to anger, anger leads to hate 2012-12-19T22:52:24 < Laurenceb_> i suspect my i2c issues are due to the way the inbuilt fifo works on lsm330d 2012-12-19T22:52:29 < upgrdman_> c++ seems overkill for an MCU, no? 2012-12-19T22:52:45 < Laurenceb_> not when you have an F4 2012-12-19T22:52:48 < upgrdman_> OOP is great for something, but ... 2012-12-19T22:52:50 < Laurenceb_> LIKE A BOSS 2012-12-19T22:53:05 < ds2> spend too much time cursing out C++ code as that is the root cause of so many problems 2012-12-19T22:53:17 < emeb> considering that I usually end up coding OOP-style features in all my C programs, I ought to be using C++ 2012-12-19T22:53:36 < ds2> C++ hides too much shit 2012-12-19T22:53:42 < zyp> upgrdman_, why? 2012-12-19T22:53:46 < emeb> depends on who's writing it. 2012-12-19T22:53:54 < ds2> you wind up chasing 20-30 stack frames to get back to a line of actual source 2012-12-19T22:54:00 < ds2> that is from the compiler 2012-12-19T22:54:09 < ds2> or blasted crap like boost 2012-12-19T22:54:20 < emeb> so don't use boost. 2012-12-19T22:54:34 < zyp> ds2, bullshit 2012-12-19T22:54:35 < ds2> and use the equiv that has been rolled into the standard? 2012-12-19T22:55:44 * emeb is sorry for starting a language fight. 2012-12-19T22:55:53 < ds2> hehehe :) 2012-12-19T22:56:08 < ds2> let's all use BASIC :D 2012-12-19T22:56:16 < emeb> that'll solve EVERYTHING! 2012-12-19T22:56:25 < Thorn> c++ isn't about OOP, it's about strong typing and templates 2012-12-19T22:56:35 < zyp> agreed 2012-12-19T22:56:42 < Thorn> nobody forces you to use virtual functions or inheritance at all 2012-12-19T22:56:44 * emeb has had enough strong typing w/ VHDL 2012-12-19T22:56:55 < Laurenceb_> bascom avr was nice 2012-12-19T22:57:01 < ds2> much rather use assembly 2012-12-19T22:57:06 < Laurenceb_> in b4 everyone rageeee 2012-12-19T22:57:06 < ds2> typing is stupid 2012-12-19T22:57:27 < emeb> there's the root of the disagreement. strong vs weak typing preference 2012-12-19T22:57:28 < zyp> also, virtual functions are no worse than structs containing function pointers 2012-12-19T22:58:04 < Thorn> try writing some php with its type conversion "rules" (or javascript for that matter, start with ==) 2012-12-19T22:58:13 -!- prog [prog@bornbrilliant.org] has joined ##stm32 2012-12-19T22:58:14 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:f077:f4c0:a77f:c0b1] has joined ##stm32 2012-12-19T22:58:31 * emeb has managed to avoid php. 2012-12-19T22:58:40 < _BJFreeman> it is hard to port to a new processor in assembly 2012-12-19T22:58:47 -!- jef79m is now known as jef79m_lurking 2012-12-19T22:58:59 < Laurenceb_> ok, think i worked out my i2c issue 2012-12-19T22:59:02 < zyp> I treat C++ as an extension to C 2012-12-19T22:59:06 < Laurenceb_> its the lsm330d fifo 2012-12-19T22:59:19 < Laurenceb_> it drops samples mid transfer if you are too slow 2012-12-19T22:59:22 < zyp> just compiling the same code as C++ instead of C doesn't add any overhead 2012-12-19T22:59:46 < ds2> Laurenceb_: is that documented? I have avoided the FIFOs for the time being 2012-12-19T22:59:53 < _BJFreeman> only use assembly in time critical function as inline calls 2012-12-19T22:59:56 < Laurenceb_> its unclear 2012-12-19T23:00:08 < zyp> and then I just pick and add the features I like, which either doesn't add any overhead at all, or adds a justifyable amount of overhead 2012-12-19T23:00:09 < Laurenceb_> its documented that it drops samples if the buffer is full 2012-12-19T23:00:16 < zyp> and probably in some cases removes overhead 2012-12-19T23:00:22 < Laurenceb_> but not if dropping is blocked during a transfer 2012-12-19T23:00:28 < Laurenceb_> seems it can drop mid transfer 2012-12-19T23:01:01 < Laurenceb_> which i mistook for bit flips in all this noisy data im looking over... 2012-12-19T23:01:21 < emeb> so either speed up the reads, or slow down the sample rate? 2012-12-19T23:01:29 < Laurenceb_> yes 2012-12-19T23:01:32 < Laurenceb_> not a huge issue 2012-12-19T23:01:43 < ds2> mid transfer as in transfer from sensor to fifo or transfer from the part to the host processor over i2c? 2012-12-19T23:01:51 < emeb> sounds easy :-/ 2012-12-19T23:01:57 < Laurenceb_> transfer over i2c 2012-12-19T23:02:42 < Laurenceb_> so i get one byte from one samples followed by a byte from another 2012-12-19T23:02:53 < Laurenceb_> giving n*256 offsets 2012-12-19T23:03:57 < ds2> what mode are you using the FIFO's in? 2012-12-19T23:04:35 < Laurenceb_> stream mode 2012-12-19T23:05:00 < ds2> ah so it will self wrap 2012-12-19T23:07:01 < Laurenceb_> but something else is being weird... 2012-12-19T23:07:11 < Laurenceb_> with -Os one of my logfiles is empty 2012-12-19T23:08:03 < Laurenceb_> https://github.com/Laurenceb/STM32InertialMonitor/blob/master/main.c#L259 2012-12-19T23:08:16 < Laurenceb_> that file is on the card, but its empty 2012-12-19T23:08:58 < Laurenceb_> wtf 2012-12-19T23:09:10 < Laurenceb_> when i try debugging to works fine... 2012-12-19T23:09:36 < zyp> if you have different behavior on different optimization levels, you are doing something dumb that the compiler optimizes out 2012-12-19T23:09:37 < emeb> shy bug - hides when you look for it. 2012-12-19T23:10:04 < zyp> either that or timing bugs 2012-12-19T23:10:39 < Laurenceb_> hmm 2012-12-19T23:11:07 < Laurenceb_> either nothing is written to the file or its filesize is set to zero 2012-12-19T23:12:33 < Laurenceb_> yet the other files are fine 2012-12-19T23:13:08 < Laurenceb_> https://github.com/Laurenceb/STM32InertialMonitor/blob/master/Util/wave.c#L8 2012-12-19T23:15:53 < karlp> zyp: dos BMP usb firmware use the stm32 unique id stuff to make a usb serial? did I read that right somewhere earlier? 2012-12-19T23:16:17 < zyp> yes 2012-12-19T23:16:59 < zyp> https://github.com/gsmcmullin/blackmagic/blob/master/src/platforms/native/cdcacm.c#L562 2012-12-19T23:17:11 < Posterdati> no way, I could not understand why after reading the i2c got trashed 2012-12-19T23:17:25 < Laurenceb_> huh 2012-12-19T23:17:52 < Posterdati> I2C_FLAG_BUSY remained on 2012-12-19T23:18:30 < Posterdati> SCL = high, SDA = low 2012-12-19T23:19:53 < zyp> sounds like you are not sending stop 2012-12-19T23:20:20 < Posterdati> oh my, but there is the instruction there 2012-12-19T23:20:25 < Laurenceb_> zyp: any idea wtf my optimiser is doing? 2012-12-19T23:21:15 < zyp> where? 2012-12-19T23:21:47 < Laurenceb_> https://github.com/Laurenceb/STM32InertialMonitor/blob/master/main.c#L217 2012-12-19T23:21:54 < Laurenceb_> maybe pre-allocation fails... 2012-12-19T23:22:23 < Posterdati> zyp: there! http://pastebin.com/LJhELTa5 2012-12-19T23:23:08 < zyp> Posterdati, you should really consider splitting your code into layers 2012-12-19T23:23:35 < Laurenceb_> ewww 2012-12-19T23:23:36 < Laurenceb_> wtf 2012-12-19T23:23:56 < Laurenceb_> Posterdati: id create some kind of sensor descriptor 2012-12-19T23:24:05 < Laurenceb_> then you feed te i2c driver a descriptor 2012-12-19T23:24:51 < zyp> hmm, actually the function is pretty sensible, apart from being in the l3gd20 class 2012-12-19T23:25:31 < zyp> but it's polling, I don't remember the trick to that 2012-12-19T23:25:42 < zyp> mine is interrupt driven 2012-12-19T23:25:57 < karlp> zyp: speaking of serials and stuff, this cp2102 is also vendor specific, and it provides a serial, but the serial is "0001" which I highly doubt to be globaly unique :) 2012-12-19T23:27:06 < Laurenceb_> yeah my code is a bit messy 2012-12-19T23:27:08 < Laurenceb_> https://github.com/Laurenceb/STM32InertialMonitor/blob/master/Sensors/amb_sensors.h 2012-12-19T23:31:37 < Posterdati> no way 2012-12-19T23:31:45 < Laurenceb_> could probably bbe c++ified 2012-12-19T23:31:51 < Posterdati> I can't let it go 2012-12-19T23:32:04 < Laurenceb_> huh? 2012-12-19T23:32:14 < Posterdati> no way it isn't working 2012-12-19T23:32:34 < Laurenceb_> yes way 2012-12-19T23:32:37 < Laurenceb_> its i2c bus 2012-12-19T23:32:39 < Laurenceb_> it never works 2012-12-19T23:33:23 < Posterdati> I didn't recall the old working code I wrote 2012-12-19T23:37:04 < zyp> emeb, 20-pin also works fine 2012-12-19T23:37:05 < zyp> http://bin.jvnv.net/f/vV9Bt.JPG 2012-12-19T23:37:55 < Laurenceb_> hawt 2012-12-19T23:38:47 < Tectu> damn, I am really confused... can somebody explain me what this does, when val1 and val2 are both uint16_t and both hold the result of an ADC conversation from an STM32? 2012-12-19T23:38:47 < Tectu> return ((val1+((1<<12)-val2))/4); 2012-12-19T23:38:58 < Tectu> I guess the ADC is 12 bit? or 10? 2012-12-19T23:38:59 < Tectu> dunno 2012-12-19T23:39:05 < Tectu> (STM32F103) 2012-12-19T23:40:07 < Posterdati> :( 2012-12-19T23:40:30 < Tectu> .__. 2012-12-19T23:41:15 < zyp> well 2012-12-19T23:41:44 < zyp> you can rearrange it to return (val1 - val2 + (1 << 12)) / 4; 2012-12-19T23:42:52 < Tectu> what is that 1 << 12 there for? 2012-12-19T23:42:54 < zyp> so it takes the difference between val1 and val2, puts it around 4096, and divides it by 4 2012-12-19T23:43:07 < Tectu> meh 2012-12-19T23:43:20 < Tectu> why don't they write it that way 2012-12-19T23:43:22 < zyp> you could also rearrange it to return (val1 - val2) / 4 + 1024; 2012-12-19T23:44:04 < zyp> which I believe still should be equivalent in terms of rounding errors and everything 2012-12-19T23:44:18 < emeb> zyp: nice 2012-12-19T23:44:31 < Tectu> well, that's Olimex code 2012-12-19T23:45:07 < zyp> Tectu, it's hard to answer why it's written in a given way when I don't know what it's supposed to do 2012-12-19T23:47:10 < Tectu> well 2012-12-19T23:52:03 < zyp> hmm 2012-12-19T23:52:37 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-19T23:53:19 < Tectu> I really don't get where they get that / 4 + 1024 from 2012-12-19T23:53:34 < Tectu> I mean why don't they just do (val1 + val2) / 2 ? 2012-12-19T23:53:40 < Tectu> that are both just two ADC readouts 2012-12-19T23:53:42 < Tectu> nothing more 2012-12-19T23:55:32 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2012-12-19T23:56:23 < zyp> I just realized how fsmc could be useful to me 2012-12-19T23:57:09 < zyp> I could put logging buffers in external sram, giving me much more room for logs than I currently have internally 2012-12-19T23:58:14 < Tectu> that's correct 2012-12-19T23:58:32 < Tectu> but since you mostly don't log within very short intervals, I guess you can also use ordinary SPI flash 2012-12-19T23:58:43 < zyp> huh? 2012-12-19T23:59:01 < zyp> now you are mistaking my stuff for something else 2012-12-19T23:59:19 < zyp> I'm talking about my debug logs, which needs to be fast 2012-12-19T23:59:54 < zyp> because I'm using it to log stuff like usb events --- Day changed Thu Dec 20 2012 2012-12-20T00:00:25 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-20T00:00:57 < zyp> when I were working on MSC stuff I ran into some issues that happened during huge transfers 2012-12-20T00:01:07 < zyp> i.e. transfers split into 2048 packets 2012-12-20T00:01:15 < zyp> and I'm logging several lines for each packet 2012-12-20T00:01:34 < zyp> and what I wanted to see was the last logged lines before that :p 2012-12-20T00:02:31 -!- ohama [~ohama@92.240.248.100] has quit [Remote host closed the connection] 2012-12-20T00:02:57 < Tectu> oh, sorry 2012-12-20T00:03:06 < Tectu> thought you want to do some temperature logger or something like that 2012-12-20T00:03:19 < Tectu> and I was curious why someone would log such data into RAM :D 2012-12-20T00:04:27 < zyp> :p 2012-12-20T00:05:58 -!- ohama [~ohama@92.240.248.100] has joined ##stm32 2012-12-20T00:13:27 < upgrdman_> anyone used a mcu to receive an IR signal? i know that one of the most common protocols just uses a carrier frequency that is 100% ASK'd with a code. how would you try to receive it? wait for logic high, start a timer at the carrier frequency, and look for a matching bit pattern? is there some better way, short of an ASIC? 2012-12-20T00:13:45 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:f077:f4c0:a77f:c0b1] has quit [Remote host closed the connection] 2012-12-20T00:14:27 < Tectu> upgrdman_, I'd go with setting it as an external interrupt, start time with that EXT and then count time 2012-12-20T00:14:27 < zyp> aren't modules complete with demodulators readily available? 2012-12-20T00:14:33 < Tectu> they are 2012-12-20T00:15:17 < zyp> Tectu, you don't need exti to count time of pulses, input capture mode is perfectly capable of doing that for you 2012-12-20T00:15:33 < upgrdman_> zyp: probably. i dont really even need to do this. the idea just popped into my head. if i wanted to keep the parts count low, and already have an mcu on the board, i would prefer not to go with an ASIC or module 2012-12-20T00:15:43 < Tectu> zyp, or that 2012-12-20T00:15:52 < Tectu> zyp, I'm currently in PIC18F mode 2012-12-20T00:15:55 < Tectu> :( 2012-12-20T00:16:19 < zyp> upgrdman_, you still need some kind of IR detector, so why not just get one with embedded demodulator? 2012-12-20T00:16:21 < Tectu> cu guys 2012-12-20T00:16:30 < zyp> doesn't affect part count 2012-12-20T00:16:46 < zyp> and price difference is probably not relevant either 2012-12-20T00:16:49 < upgrdman_> they have phototransistor with build in demod's? ok. fair enough. 2012-12-20T00:17:00 < zyp> that's why I said module 2012-12-20T00:18:44 < zyp> http://www.digikey.com/product-detail/en/TSOP38338/751-1388-ND/1768190 <- stuff like this 2012-12-20T00:18:48 < Tectu> upgrdman_, I guess every real IR receiver does have an integrated demodulator 2012-12-20T00:18:59 < Tectu> for example siemens SFH506 2012-12-20T00:19:10 < Tectu> yes, stuff like exactly that 2012-12-20T00:22:38 < upgrdman_> ok, but that still puts out a bit pattern, right? 2012-12-20T00:23:13 < upgrdman_> whats the best way to read it... timer input capture? 2012-12-20T00:23:14 < zyp> it puts out the signal that's modulated onto the 38 kHz carrier 2012-12-20T00:23:27 < zyp> so you would still probably read it with input capture 2012-12-20T00:23:33 < upgrdman_> ok 2012-12-20T00:23:52 < Tectu> zyp, what's exaclty input capture? o0 2012-12-20T00:24:05 < upgrdman_> timer to measure duration 2012-12-20T00:24:14 < zyp> yep 2012-12-20T00:24:15 < upgrdman_> between edges of a gpio pin 2012-12-20T00:24:21 < gxti> Tectu: when pulse arrives, it grabs the timer value and stores it 2012-12-20T00:24:27 < gxti> like a timestamp 2012-12-20T00:25:06 < Tectu> it's an STM32 feature or do many ARM based MCUs have that? 2012-12-20T00:25:24 < zyp> pretty much any MCU with timers has an input capture mode 2012-12-20T00:25:27 < gxti> ^ 2012-12-20T00:25:32 < Tectu> also, can you fully configure it as taking time from rising to rising, falling to falling, rising to falling and falling to rising? 2012-12-20T00:25:39 < gxti> it's pretty cheap once you have a timer, especially one with output compare (PWM) 2012-12-20T00:25:47 < zyp> Tectu, yes 2012-12-20T00:25:48 < upgrdman_> zyp: i havn't used input capture yet. would i just store the durations into an array, and compare them against codes i expect, (+/- 5% duration to account for the real world) 2012-12-20T00:25:56 < Tectu> nice 2012-12-20T00:26:30 < zyp> Tectu, http://cgit.jvnv.net/suzumebachi/tree/drivers/ppmsum.cpp <- see here for an example of using input capture to measure the length of incoming pulses 2012-12-20T00:27:11 < zyp> the irq can trigger for three possible reasons, timeout (timer finishes the entire period), rising edge and falling edge 2012-12-20T00:27:25 < Tectu> that's nice 2012-12-20T00:27:26 < gxti> speaking of which, does anyone have anything clever for measuring time between (rising) edges on two separate inputs? 2012-12-20T00:27:33 < zyp> and it's also configured to reset the timer on rising edge 2012-12-20T00:27:37 < gxti> i got something that mostly works but it "slips" an epoch sometimes 2012-12-20T00:27:47 < gxti> since the time could be much longer than the timer interval 2012-12-20T00:27:48 < Tectu> okay, g'night now :D 2012-12-20T00:28:22 < zyp> gxti, if the delta is always positive you can use the same method 2012-12-20T00:28:34 < Laurenceb_> http://www.itsjustlife.com/ 2012-12-20T00:28:36 < Laurenceb_> i lolled 2012-12-20T00:28:42 < zyp> reset timer on edge of one input, capture on the other input 2012-12-20T00:28:50 < zyp> then you get delta between first and second input 2012-12-20T00:30:35 < gxti> zyp: unfortunately the goal of the MCU is to make the pulses as simultaneous as possible so it'll be both leading and lagging 2012-12-20T00:30:40 < gxti> as it shifts around 2012-12-20T00:31:17 < gxti> so basically i made it produce a 64bit timestamp for each pulse independently and subtract, but it occasionally glitches and is +/- 65536 of what it should be 2012-12-20T00:31:27 < gxti> lazy first implementation 2012-12-20T00:31:52 < zyp> then just do a freerunning timer and capture on both, cast to signed and subtract 2012-12-20T00:32:07 < zyp> (after capturing both) 2012-12-20T00:33:10 < gxti> problem is when it comes out of reset the pulses will be > 1 timer period apart 2012-12-20T00:33:25 < zyp> just reject captures that are too far apart 2012-12-20T00:33:36 < gxti> then it'll never lock to begin with :P 2012-12-20T00:34:24 < gxti> what i have now works, i just need to flip it so that when the pulses are < 32768 ticks apart it does the simple subtraction like you say, otherwise it does the occasionally glitchy 64 bit subtract 2012-12-20T00:34:46 < gxti> since normally they're very close, only sometimes far apart 2012-12-20T00:35:53 < gxti> the problem is ordering between A) IC interrupt B) fetching IC value and C) reload interrupt -- can't be sure if the value i captured is from the previous epoch or the next one, except by guessing 2012-12-20T00:36:25 < gxti> anyway, just rambling 2012-12-20T00:37:08 < dongs> yo, cct6 in stock at dkey 2012-12-20T00:45:18 < dongs> Posterdati: dunno if anyone told you about clocking out stuck slaves before doing start . 2012-12-20T00:45:37 < Posterdati> ? 2012-12-20T00:45:51 < dongs> for your i2c problem 2012-12-20T00:47:40 < dongs> did you look at the signals when you fail to do start , is either scl or sda low or are they both high 2012-12-20T00:54:52 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-20T00:55:07 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-20T00:55:18 < Laurenceb_> does dongs have rpi? 2012-12-20T00:55:30 < Laurenceb_> im wondering if the world will end first or not 2012-12-20T00:56:14 < dongs> i will in 3 hours 2012-12-20T00:56:49 < Laurenceb_> its the end of the world 2012-12-20T00:58:25 < Laurenceb_> how slow can usart go on stm32? 2012-12-20T01:01:55 < dongs> I've used it at 10k baud 2012-12-20T01:02:51 < dongs> so at least 9600 works 2012-12-20T01:07:11 < zyp> Laurenceb_, as slow as you can divide the clock down to? 2012-12-20T01:07:17 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-20T01:07:59 < zyp> if highest divisor setting on usart is not slow enough, you could just slow down the entire bus until you're satisfied :p 2012-12-20T01:08:35 < upgrdman_> "i'm not happy with the performence. i'm going to slow it down." lol 2012-12-20T01:09:04 < Laurenceb_> 16bit prescaler? 2012-12-20T01:09:20 < zyp> yep, so busclock/64k 2012-12-20T01:09:41 < rlc> Laurenceb_: when you slow it down, you get better signal to noise ratio 2012-12-20T01:10:06 < zyp> 640baud for F4 with 42 MHz bus clock :p 2012-12-20T01:10:07 < dongs> with laurenceb it's always noise 2012-12-20T01:10:32 < dongs> zyp don't the USART run at 16x 2012-12-20T01:10:56 < dongs> for over sampling 2012-12-20T01:11:19 < zyp> yes, but you don't have to care about that part 2012-12-20T01:11:22 -!- dekar [~dekar@212.255.40.30] has joined ##stm32 2012-12-20T01:11:25 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-20T01:11:37 < zyp> the fractional stuff makes it irrelevant 2012-12-20T01:12:00 < zyp> you have four fractional bits, making up for the x16 2012-12-20T01:12:08 < dongs> mkay 2012-12-20T01:12:43 < zyp> so the value that goes into the baud rate register is busclock / baudrate 2012-12-20T01:15:07 < zyp> did you see I got the boards? http://bin.jvnv.net/f/n71NA.JPG http://bin.jvnv.net/f/vV9Bt.JPG :p 2012-12-20T01:18:33 < emeb> zyp: what did you think about those usb connectors? did the round mount holes for the shield pins cause any problems? 2012-12-20T01:18:39 < dongs> cool. saw first pic not the 2nd one 2012-12-20T01:19:00 < dongs> no, it fits fine 2012-12-20T01:19:10 < dongs> i tested with my connectors 2012-12-20T01:19:12 < zyp> emeb, no problem soldering 2012-12-20T01:19:28 < emeb> zyp: dongs: yeah - they fit fine for me 2012-12-20T01:19:47 < zyp> also, I liked that they don't protrude from the board on the back 2012-12-20T01:20:01 < emeb> yes. pretty much ideal. 2012-12-20T01:20:05 < zyp> I thought they were longer 2012-12-20T01:20:18 < emeb> very solid feel too. 2012-12-20T01:20:58 < emeb> you'd have to work pretty hard to pull that connector off the board. 2012-12-20T01:21:01 < zyp> though, I had to go search for usb cables to have enough to power all boards at the same time :p 2012-12-20T01:21:17 < dongs> heh 2012-12-20T01:21:18 < zyp> I think I've got more micro cables around than mini cables nowadays 2012-12-20T01:21:43 < dongs> Yea cuz micro sucks 2012-12-20T01:22:06 < emeb> dunno why they call it micro - it's not really any smaller 2012-12-20T01:22:25 < dongs> just shittier 2012-12-20T01:22:35 < zyp> it's way lower 2012-12-20T01:22:51 < dongs> shrug 2012-12-20T01:23:14 < zyp> the plug is almost twice as thick for mini 2012-12-20T01:23:18 < emeb> eh - looks like about 2mm or so? 2012-12-20T01:23:30 < emeb> (comparing f4 disco & bmp2 2012-12-20T01:23:48 < emeb> delta) 2012-12-20T01:24:08 < zyp> plug, not socket 2012-12-20T01:24:31 < zyp> try holding up a pair of cables next to each other 2012-12-20T01:24:35 < emeb> true. I guess that lets you have a smaller hole in the case. 2012-12-20T01:24:51 < zyp> yeah, and phone manufacturers love just that 2012-12-20T01:25:31 < emeb> harder to get junk into the hole & break things. 2012-12-20T01:25:40 < dongs> uh.. 2012-12-20T01:25:46 -!- upgrdman_ [42a6d414@blender/artist/upgrdman] has quit [Quit: Page closed] 2012-12-20T01:25:46 < emeb> errr... 2012-12-20T01:26:00 < dongs> > mini USB connector 2012-12-20T01:26:08 < dongs> > breaking things 2012-12-20T01:26:19 < dongs> micro rather 2012-12-20T01:26:40 < zyp> I fixed an external hard drive a few weeks ago 2012-12-20T01:26:42 < dongs> that garbage is designed for tearing right off pcb 2012-12-20T01:26:49 < zyp> it had a worn-out mini connector 2012-12-20T01:27:18 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2012-12-20T01:28:11 < zyp> replacing the cable is easier than replacing the connector on the board 2012-12-20T01:28:23 < emeb> I guess that's the big improvement of micro 2012-12-20T01:28:25 < zyp> and that's a real advantage 2012-12-20T01:28:31 < emeb> all the spring-loaded stuff is in the cable 2012-12-20T01:29:30 < karlp> Laurenceb_: I've used stm32 usart at 300 baud, no problems at all. 2012-12-20T01:29:54 < zyp> and I bet connector wear is a much larger concern than ripping the connector off the board, especially when the connector is sitting in an enclosed consumer product 2012-12-20T01:30:32 < emeb> there's really no reason you couldn't do a thru-hole mounted shield for a micro connector. 2012-12-20T01:30:39 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 265 seconds] 2012-12-20T01:30:43 < zyp> true 2012-12-20T01:30:48 < zyp> well 2012-12-20T01:30:59 < zyp> the one I use is just that 2012-12-20T01:31:21 < zyp> I thought you were going to say pth for signals as well 2012-12-20T01:31:41 < zyp> which I've also seen, but only for a vertical connector 2012-12-20T01:31:43 < karlp> the whole point of micro was connector wear wasn't it? 2012-12-20T01:31:55 < karlp> so the bit that wears was on the cable instead of inside phones 2012-12-20T01:32:05 < zyp> yes, and that's already been said 2012-12-20T01:34:30 < karlp> well, I thought emeb was talking about ripping it off the board. 2012-12-20T01:35:05 < karlp> never mind, I should either follow properly or not at all. :) 2012-12-20T01:35:15 < emeb> karlp: I was noting that the pth mini-b connectors dongs recommended are very sturdy. 2012-12-20T01:35:43 < zyp> no doubt about that 2012-12-20T01:35:59 < zyp> ah, the one in the external drive I mentioned was also pth 2012-12-20T01:36:10 < zyp> so albeit sturdy, they are still subject to wear :) 2012-12-20T01:36:18 < emeb> which probably made replacing it... fun. 2012-12-20T01:36:38 < zyp> I ripped it out, cut the plug off the cable and soldered it to the board 2012-12-20T01:36:55 < emeb> BFI - brute-force & ignorance. wins the day. 2012-12-20T01:37:14 < zyp> I just unsoldered the shroud and ripped it out, then took the pins one by one 2012-12-20T01:41:34 < emeb> lol - working on an aircraft transponder design. turns out detail I need are in gnu-radio. 2012-12-20T01:42:38 -!- dekar [~dekar@212.255.40.30] has quit [Quit: This computer has gone to sleep] 2012-12-20T01:44:15 -!- dekar [~dekar@212.255.40.30] has joined ##stm32 2012-12-20T01:44:18 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-20T01:46:57 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-20T01:47:10 -!- |sark [~|sark@p54B657C5.dip.t-dialin.net] has joined ##stm32 2012-12-20T01:48:46 -!- gurgalof [~gurgalof@dhcp-237-179.nomad.chalmers.se] has quit [Quit: Leaving] 2012-12-20T02:14:44 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-20T02:15:54 < karlp> hrmm, usart is glitchy on the MSI. 2012-12-20T02:16:05 < karlp> I guess it's off timing. 2012-12-20T02:16:42 < emeb> MSI? 2012-12-20T02:16:52 < karlp> "multi speed" 2012-12-20T02:16:58 < karlp> L1 thing :) 2012-12-20T02:17:26 < karlp> I would have thought at 9600 baud it would be close enough to not matter. 2012-12-20T02:17:34 < karlp> but I get garbage, at the right times.... 2012-12-20T02:17:40 < zyp> wrong assumption 2012-12-20T02:17:47 < karlp> yeah, clearly :) 2012-12-20T02:18:12 < zyp> remember that error is a percentage, so it's constant regardless of baudrate 2012-12-20T02:19:00 < karlp> the data sheet seems to imply that it's +- 0.5% after factory calibration though, 2012-12-20T02:19:42 < zyp> at higher speeds the acceptable timing error will be lower, but it will still be the same percentage of a baud 2012-12-20T02:20:26 < karlp> well, 115200 or 9600 both behave the same way, consistly garbage, but getting printed at roughtly the right speed (once a second) 2012-12-20T02:20:42 < zyp> exactly 2012-12-20T02:20:53 < karlp> yeah :) 2012-12-20T02:22:12 < karlp> so I guess I have to either clock out the MSI to see what it really is, or fiddle with the assumption in the baud rate divider calculator to try and hit it being better. 2012-12-20T02:34:49 -!- Laurenceb_ [~Laurence@host86-179-249-28.range86-179.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-12-20T02:50:44 < zyp> stop watching crap then 2012-12-20T02:51:34 < zyp> which one? 2012-12-20T02:52:49 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [Ping timeout: 265 seconds] 2012-12-20T02:53:57 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Remote host closed the connection] 2012-12-20T02:55:38 < dongs> sounds gay 2012-12-20T02:55:50 < dongs> i had some animu shit for attn: zyp but I t hink it scrolled off already 2012-12-20T02:56:23 < zyp> well, I haven't even heard of that show, so it's probably pretty shitty 2012-12-20T02:59:38 < emeb> everything zyp has heard of is not shitty? 2012-12-20T03:02:12 < zyp> I've come to believe that I've already watched pretty much everything worth watching 2012-12-20T03:07:43 -!- |sark [~|sark@p54B657C5.dip.t-dialin.net] has quit [Ping timeout: 246 seconds] 2012-12-20T03:11:18 -!- ReggieUK [ReggieUK@5aca562e.bb.sky.com] has joined ##stm32 2012-12-20T03:21:52 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-20T03:27:34 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-20T03:27:41 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Remote host closed the connection] 2012-12-20T03:27:51 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-20T03:30:35 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Quit: Ex-Chat] 2012-12-20T03:30:50 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-20T03:45:35 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-20T03:48:18 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-20T03:51:56 < dongs> haha 2012-12-20T03:55:08 < dongs> hmm 2012-12-20T03:55:19 < dongs> im not gonna be able to use DMA on more than one CCR per timer, eh 2012-12-20T03:56:27 < emeb> why not? 2012-12-20T03:56:33 < dongs> how? 2012-12-20T03:56:53 < dongs> each dma will use up one cahnnel right 2012-12-20T03:57:05 < emeb> I guess each dma chl has a limited number of possible peripherals it can talk to 2012-12-20T03:57:11 < dongs> right 2012-12-20T03:57:12 < emeb> based on the mux settings, etc 2012-12-20T03:58:22 < dongs> hmm, at least I chose correct timer for it :D 2012-12-20T03:58:27 < dongs> tim4, i can actually do 3 channels with DMA 2012-12-20T03:58:32 < dongs> ch1/2/3 2012-12-20T03:59:53 < dongs> geez why hte fuck ST docs do shit like this 2012-12-20T03:59:54 < dongs> #define TIM1_CCR3_Address 0x40012C3C 2012-12-20T04:00:02 < dongs> cant you just fucking &(TIM4->CCR4) ?!?!?! 2012-12-20T04:10:50 -!- ReggieUK [ReggieUK@5aca562e.bb.sky.com] has quit [Ping timeout: 255 seconds] 2012-12-20T04:17:12 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-20T04:17:12 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-20T04:17:12 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-20T04:21:57 < emeb> I do that all the time. I don't know why they don't in their examples. 2012-12-20T04:31:02 < dongs> yes, i do too 2012-12-20T04:31:04 < dongs> thats why im wondering 2012-12-20T04:31:07 < dongs> why they teach retarded way 2012-12-20T04:36:22 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2012-12-20T04:38:33 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-20T04:51:11 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-20T04:57:17 < dongs> TIM_TimeBaseStructure.TIM_RepetitionCounter = 2; 2012-12-20T04:57:18 < dongs> hmm 2012-12-20T04:57:22 < dongs> i dont think i ever used that 2012-12-20T04:57:36 < dongs> does that do what I think it does? 2012-12-20T05:07:43 < dongs> woohoo, hardfault 2012-12-20T05:10:35 < dongs> wtf 2012-12-20T05:13:51 < emeb> fun 2012-12-20T05:17:38 < dongs> http://i.imgur.com/dIbXB.png hmm ,looks legit 2012-12-20T05:18:10 < dongs> ah 2012-12-20T05:18:14 < dongs> maybe i need to update CC1DMA 2012-12-20T05:18:25 < dongs> right 2012-12-20T05:18:26 < dongs> oops 2012-12-20T05:18:28 < dongs> not on update but TIM_DMA_CC1 2012-12-20T05:19:09 < emeb> nice little windows into the dma and periph regs 2012-12-20T05:22:24 < dongs> well if repetitioncounter meant anything 2012-12-20T05:22:26 < dongs> its surelyt not wokring 2012-12-20T05:24:14 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2012-12-20T05:25:44 < dongs> oh man. 2012-12-20T05:26:10 < dongs> i think RS sent me 256meg asseberry pi 2012-12-20T05:27:12 < emeb> derp 2012-12-20T05:27:25 < emeb> why is the RCR register grayed out in that snapshot? 2012-12-20T05:28:02 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Quit: Ex-Chat] 2012-12-20T05:28:08 < emeb> from what I read the repetition reg is only in TIM1 & TIM8 2012-12-20T05:28:17 < dongs> this also means i got the assfucked jtag version 2012-12-20T05:28:24 < dongs> gonna return this shit. 2012-12-20T05:28:30 < emeb> (advanced timers), not available in general-purpose timers. 2012-12-20T05:29:00 < dongs> hmm weird 2012-12-20T05:29:05 < dongs> but silk is correct 2012-12-20T05:29:06 < dongs> for 100M 2012-12-20T05:32:13 < dongs> i have no fucking idea then. 2012-12-20T05:32:24 < emeb> can't tell which one you got? 2012-12-20T05:32:33 < dongs> nope 2012-12-20T05:32:39 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Ping timeout: 255 seconds] 2012-12-20T05:32:44 < emeb> does it have the ethernet connector? 2012-12-20T05:33:05 < dongs> yes 2012-12-20T05:33:06 < dongs> lol 2012-12-20T05:33:23 < dongs> but it says made i nchian 2012-12-20T05:34:51 < emeb> thought that the 256 model A didn't have the ethernet. 2012-12-20T05:34:59 < dongs> well this is B i guess 2012-12-20T05:35:00 < dongs> it says so 2012-12-20T05:35:10 < dongs> but its made in china and says (c) 2011.12 on it 2012-12-20T05:35:15 < dongs> are RS running their own production? 2012-12-20T05:35:21 < dongs> i thought all 512meg aspieberrys was made in UK 2012-12-20T05:35:27 < emeb> no idea. 2012-12-20T05:35:31 < dongs> fucking bullshit. 2012-12-20T05:35:36 < dongs> all i really care is the fucking jtag connector 2012-12-20T05:37:07 < dongs> http://img-asia.electrocomponents.com/largeimages/R7568308-01.jpg 2012-12-20T05:37:08 < dongs> the pic is wrong 2012-12-20T05:37:27 < emeb> what's different? 2012-12-20T05:38:09 < dongs> http://hexus.net/media/uploaded/2012/9/c79e9df9-1349-4bf6-93e6-e5437991f288_resized_560x389.jpg 2012-12-20T05:38:12 < dongs> mine looks like this 2012-12-20T05:39:07 < dongs> but that one says made in UK. 2012-12-20T05:39:25 < emeb> silk is different, flex cable connectors different. what else? 2012-12-20T05:39:51 < dongs> hm copyright is same 2012-12-20T05:39:54 < dongs> so maybe it is new rev board 2012-12-20T05:40:05 < dongs> apparently if it says '4G' on ddr chip thats 512meg 2012-12-20T05:40:13 < dongs> and mine is K4P4G324EB 2012-12-20T05:40:25 < dongs> 15 Oct 2012 – The memory chip is marked as follows: Samsung 231, K4P4G324EB-AGC1, GKF4979P And the 512MB Pi is made in the UK! :). 2012-12-20T05:40:28 < dongs> wtf. 2012-12-20T05:40:34 < dongs> so i got counterfeit asspieberry pi 2012-12-20T05:40:55 < emeb> inconsistent labeling. shocked! 2012-12-20T05:49:58 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 246 seconds] 2012-12-20T05:52:46 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-20T06:06:22 < dongs> what he fuck DMA never fucking stops 2012-12-20T06:06:55 -!- _BJFreeman [~bjfree@226.sub-75-233-138.myvzw.com] has quit [] 2012-12-20T06:07:03 < gxti> the DMA train has no brakes 2012-12-20T06:07:14 < dongs> oh duh 2012-12-20T06:07:18 < dongs> i never enabled dma IRQ in nvic 2012-12-20T06:07:27 < emeb> heh 2012-12-20T06:07:38 < emeb> got my LCD to initialize 2012-12-20T06:07:52 < emeb> now to clear the screen & draw something... 2012-12-20T06:10:42 < gxti> tried stlink again just to see if it works better than openocd, stepping always yields "Writing to flash memory forbidden in this context". super useful. 2012-12-20T06:11:15 < gxti> atollic seems to debug fine (still), maybe i can just run its gdb server on my windows box and point to it from loonix. honestly i don't know how gdb server stuff works. 2012-12-20T06:11:18 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-20T06:11:26 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-20T06:19:21 < emeb> gxti: what are you using for a JTAG/SWD pod? 2012-12-20T06:19:44 < gxti> f4disco 2012-12-20T06:20:29 < gxti> seems to work fine in atollic, if a little slow. just can't get any open sores tools to debug for shit. 2012-12-20T06:21:18 < emeb> pretty much the same thing I saw 2012-12-20T06:21:35 < emeb> that's why I switched over to bmp 2012-12-20T06:21:44 < gxti> i can at least flash reliably, which is better than i had with openocd jtag 2012-12-20T06:21:59 < emeb> I have heard that the on-board st-link swd is supported by newest openocd, but haven't tried it. 2012-12-20T06:22:12 < gxti> yes, i'm running from git otherwise i wouldn't have swd support 2012-12-20T06:22:18 < gxti> but it can't debug for shit 2012-12-20T06:22:29 < emeb> aha 2012-12-20T06:22:31 < gxti> ignoring breakpoints and crashing the target mostly 2012-12-20T06:22:43 < gxti> what is bmp? 2012-12-20T06:23:05 < emeb> http://www.blacksphere.co.nz/main/blackmagic 2012-12-20T06:23:14 < gxti> o rite 2012-12-20T06:23:24 < emeb> works grrrrrrreat! 2012-12-20T06:23:37 < gxti> linux host? 2012-12-20T06:23:40 < emeb> yup 2012-12-20T06:23:48 < emeb> arm-none-eabi-gdb 2012-12-20T06:24:17 < gxti> costs about the same as the jlink edu 2012-12-20T06:24:30 < gxti> anyone have both and can compare? 2012-12-20T06:25:44 < emeb> zyp: and I have a modified version based on the opensource HW design: http://bin.jvnv.net/f/n71NA.JPG 2012-12-20T06:26:11 < emeb> just supports more cable styles. 2012-12-20T06:26:48 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-20T06:26:51 < ds2> gxti: you are using a recent enough gdb w/the stlink, right? 2012-12-20T06:27:40 < gxti> using 7.2 because openocd didn't like newer. worth investigating though. 2012-12-20T06:27:45 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-20T06:28:32 < emeb> F373 breakout talking to an Adafruit 1.8" LCD - starting to work. 2012-12-20T06:29:39 < ds2> gxti: you using openocd with the STLink HW on hte discovery or are you using the STLink sw on the Discovery STLink HW? 2012-12-20T06:30:11 < gxti> hardware is a stm32f4 discovery in both cases 2012-12-20T06:30:17 < dongs> hmm wh the hell would DMA go to DMA_irqhandler right away after setup? 2012-12-20T06:30:20 < dongs> timer isn't even enabled yet 2012-12-20T06:30:24 < gxti> software is openocd from fairly recent git, and stlink from git as of 30m ago 2012-12-20T06:31:15 < gxti> as in https://github.com/texane/stlink 2012-12-20T06:32:11 < ds2> hmmm 2012-12-20T06:32:40 < ds2> that is the stlink sw I tried... after getting a newer gdb, it seems to work ok 2012-12-20T06:32:51 < gxti> compiling 7.4 now 2012-12-20T06:32:54 < ds2> but I had a F3 discovery 2012-12-20T06:33:35 < dongs> ok now I *really* dont get it 2012-12-20T06:33:43 < dongs> ST DMA sample for timer writes to TIM1_CCR3 2012-12-20T06:33:46 < dongs> using DMA1_Channel5 2012-12-20T06:34:12 < dongs> but according to rm0008 channel5 does nothing with TIM1_CH3 2012-12-20T06:37:13 < gxti> ds2: now it's broken differently hooray? 2012-12-20T06:38:12 < ds2> gxti: hmmm odd... I wonder if the F3 discovery is significantly different 2012-12-20T06:38:27 < ds2> gxti: what is the target processor? the F4? 2012-12-20T06:38:38 < gxti> although at some point the uart started working, then i flashed it with something else and it stopped working again 2012-12-20T06:38:42 < gxti> i love hardware 2012-12-20T06:38:50 < gxti> ds2: no, f107 2012-12-20T06:39:13 < ds2> gxti: you did change the jumpers, right? 2012-12-20T06:39:25 < ds2> and it is powered around 3.3/3.0 volts? 2012-12-20T06:39:28 * gxti facepalms 2012-12-20T06:39:41 < ds2> ? 2012-12-20T06:39:55 < gxti> if i didn't change the jumpers it would be sort of hard for it to flash or not-really-debug 2012-12-20T06:40:02 < gxti> because it wouldn't work at all 2012-12-20T06:40:13 < ds2> i screwed up once 2012-12-20T06:40:16 < gxti> or i guess more accurately because it would mysteriously change my chip into a f4 2012-12-20T06:40:20 < ds2> and it sort of/kind of worked for a while 2012-12-20T06:40:27 < ds2> then it went south. had to power cycle everything 2012-12-20T06:43:09 < gxti> damn, the atollic thing isn't a gdb server after all 2012-12-20T06:43:19 < dongs> the joy of opensauce 2012-12-20T06:43:48 < gxti> indeed 2012-12-20T06:43:50 < emeb> 10 ways to fail, 1 way to succeed. Finding that 1 is up to you. :P 2012-12-20T06:44:38 < dongs> apparently digidong shipped 10 of my F303s as well 2012-12-20T06:44:41 < dongs> that might be here before chinatray 2012-12-20T06:44:45 < dongs> exciting. 2012-12-20T06:44:56 < emeb> you'll have 260! 2012-12-20T06:45:30 < dongs> > However, the first DMA transfer occurs immediately after the DMA is enabled, before the first capture could occur! 2012-12-20T06:45:33 < dongs> i get same fucking problem 2012-12-20T06:45:36 < dongs> yeah 2012-12-20T06:46:08 < dongs> in other news 2012-12-20T06:46:12 < dongs> noone replied your bootloader post either 2012-12-20T06:46:17 < dongs> oh wat they did! 2012-12-20T06:46:28 < dongs> As answers to your question, I confirm that bootloader is supported in STM32F37x devices. But, if you are using the ST "DfuSe Demo" application, this one doesn't support them. 2012-12-20T06:46:31 < dongs> STM32F3xx will be included soon in AN2606 and it is expected to be available by next week. 2012-12-20T06:46:35 < dongs> With USART1, which Flash Loader version are you using? 2012-12-20T06:47:03 < dongs> 5 days rtt! 2012-12-20T06:54:07 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-20T06:56:05 < emeb> I'm using the serial flash demo 2012-12-20T07:11:07 -!- Viper168 [~Viper168@node126.19.251.72.1dial.com] has joined ##stm32 2012-12-20T07:11:08 -!- Viper168 [~Viper168@node126.19.251.72.1dial.com] has quit [Changing host] 2012-12-20T07:11:08 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-20T07:19:17 < emeb> dongs: replied on the ST forum. Nice to see that they are actually working on an update to AN2606. 2012-12-20T07:19:51 < dongs> yeah no kidding 2012-12-20T07:21:34 < emeb> So I've got SPI driving an ST7735-based LCD display. Using dumb polled control on the SPI port so it takes about 7us/byte to send data. 2012-12-20T07:21:52 < emeb> that means it takes about 1/4s to clear the screen. blech. 2012-12-20T07:22:02 < ds2> what's the resolution of that? 2012-12-20T07:22:15 < emeb> 160x128, 16bbp 2012-12-20T07:22:41 < ds2> sounds like me and a similar module by winbond on an avr 2012-12-20T07:22:48 < emeb> probably. 2012-12-20T07:23:31 < emeb> Thing is that the display buffer is 40kB - that's bigger than the memory on the F373cc, so I can't buffer an entire display. 2012-12-20T07:23:43 < ds2> how fast are you clocking the SPI port? 2012-12-20T07:24:07 < emeb> looks like it's about 5MHz 2012-12-20T07:24:25 < emeb> any faster and the display fails. 2012-12-20T07:24:42 < ds2> wow...that is a faster bus.. I was stuck with a 2MHz bus cuz it needed a different programmer to change the divider fuse on the AVR 2012-12-20T07:24:49 < ds2> and it did take about 1/4sec to clear/update 2012-12-20T07:25:00 < emeb> but the SPI transaction is only about 1/5 of the total time / byte. 2012-12-20T07:25:26 < emeb> If I could spend less time between bytes then I could make it go significantly faster. 2012-12-20T07:25:42 < emeb> Thinking about DMA buffering a line at a time for the display clear. 2012-12-20T07:25:45 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-20T07:25:48 < ds2> oh I see 2012-12-20T07:25:51 -!- mrcan_ [~mrcan@78.173.31.241] has joined ##stm32 2012-12-20T07:25:51 -!- mrcan_ [~mrcan@78.173.31.241] has quit [Changing host] 2012-12-20T07:25:51 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-20T07:26:03 < ds2> couldn't you do 1/4 of the screen at a time w/dma? 2012-12-20T07:26:09 < ds2> since this is a clear 2012-12-20T07:26:36 < emeb> maybe. 2012-12-20T07:27:15 < ds2> isn't htere a single command to clear all? 2012-12-20T07:28:09 < ds2> the winbond one also had a way to preload an address so you just ahve to work with blocks at a time 2012-12-20T07:30:07 < emeb> no clear-all command that I can see. 2012-12-20T07:30:43 < emeb> but there is a built-in address counter, so you just point to the start and send data. I'm already using that. 2012-12-20T07:30:57 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-12-20T07:31:49 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Ping timeout: 252 seconds] 2012-12-20T07:32:29 < ds2> it might be a sw reset command 2012-12-20T07:32:42 < ds2> been a few years since I looked at that. was not impressed with those SPI LCDs 2012-12-20T07:34:01 < dongs> http://www.youtube.com/watch?v=smz2cU3FfFk this is spi lcd 2012-12-20T07:34:04 < dongs> no dma 2012-12-20T07:34:07 < emeb> no - they're pretty cheesy 2012-12-20T07:34:23 < emeb> dongs: nice! 2012-12-20T07:34:24 < ds2> but apparently they are insanely cheap 2012-12-20T07:35:24 < emeb> ds2: waveshare sells 'em mounted on breakouts for ~$10 single qty. 2012-12-20T07:36:06 < ds2> sounds about right 2012-12-20T07:36:13 < ds2> screen are like $1 or less 2012-12-20T07:38:47 < ds2> emeb: does this one allow you to run it in 68K/8088 modes too? 2012-12-20T07:39:18 < emeb> ds2: yeah, but the breakout I've got doesn't bring the parallel bus out - just SPI 2012-12-20T07:40:03 < emeb> this -> http://adafruit.com/products/358 2012-12-20T07:40:06 < ds2> oh 2012-12-20T07:40:24 < ds2> sounds like the head on desk experience with the sparkfun breakouts 2012-12-20T07:40:39 < emeb> sparkfun ~= adfruit. 2012-12-20T07:41:06 < ds2> yep 2012-12-20T07:41:14 < ds2> morons doing those designs 2012-12-20T07:41:22 < emeb> shhhh. :) 2012-12-20T07:41:28 < ds2> their accel. sensor boards don't bring out the VDDIO line 2012-12-20T07:41:39 < ds2> so to use them with a 1.8V device, you got to put in level translators 2012-12-20T07:41:41 < ds2> GRRRRRR 2012-12-20T07:41:44 < emeb> Entrepreneur of the year. 2012-12-20T07:42:00 < dongs> hm this dma shit is pissing me off. 2012-12-20T07:42:50 < emeb> what's dma doing to you now? 2012-12-20T07:42:59 < dongs> nothing 2012-12-20T07:45:36 < dongs> ~ws2811. 2012-12-20T07:46:26 < ds2> you aren't using an audrino to control that? :D 2012-12-20T07:46:51 < dongs> Specifies the buffer size, in data unit, of the specified Channel. The data unit is equal to the configuration set in DMA_PeripheralDataSize 2012-12-20T07:46:56 < dongs> 'in data unit' 2012-12-20T07:47:08 < dongs> so 24 of uint16s is 24, or 48? 2012-12-20T07:47:10 < dongs> 24 right. 2012-12-20T07:48:37 < emeb> yeah - whatever size you're operating on. 2012-12-20T07:51:02 < dongs> well biggest problem is shit never stops 2012-12-20T07:51:03 < dongs> wtf 2012-12-20T07:52:20 < dongs> great 2012-12-20T07:52:24 < dongs> emeb: ^ some inspiration 2012-12-20T07:52:58 < emeb> oh - I suppose I could speed my SPI byte transfer by doing direct reg access instead of thru StdPeriph... 2012-12-20T07:53:18 < emeb> those are way cute. 2012-12-20T07:53:53 < ds2> what about bitbang them out? 2012-12-20T07:54:05 < ds2> GPIO can toggle at least that speed 2012-12-20T07:54:18 < emeb> heh 2012-12-20T07:54:36 < emeb> think I'll try to make SPI work better first. 2012-12-20T07:54:56 < emeb> likely there's a lot of fat in the StdPeriph lib routines. 2012-12-20T07:56:24 < ds2> didn't think there is a need to bother with the libraries 2012-12-20T07:56:29 < ds2> SPI is pretty straightforward 2012-12-20T07:56:53 < emeb> ds2: yep. Just that the boilerplate code I used to start with is examples from ST that uses their libs. 2012-12-20T07:57:22 < ds2> hehe 2012-12-20T07:57:23 < emeb> direct register access is a lot more efficient, both speed and size wise. 2012-12-20T07:57:38 < ds2> emeb: that reminds me of some folks I work with 2012-12-20T07:57:49 < ds2> 2-3 weeks and they still can't get USB to enumerate 2012-12-20T07:58:25 < emeb> that's a long time if you're getting paid for results. 2012-12-20T07:58:35 < ds2> yes, they are 2012-12-20T07:58:55 < emeb> kinda sad. 2012-12-20T07:59:17 < ds2> I am waiting for them to get it going so I can debug my stuff (I'm doing a Linux driver for it). 2012-12-20T07:59:40 < emeb> Not saying I could do better w/ USB - don't know enough about it. But I'd like to think I could learn it in that amount of time... 2012-12-20T07:59:48 < ds2> I just do not understand this. what they need to do is 90% done by one of the ST demos... 2012-12-20T08:00:00 < ds2> it is even shown as part of the F3 seminar 2012-12-20T08:00:07 < emeb> Oh - they've got demo code already. Lame. 2012-12-20T08:00:16 < ds2> yes!!!! 2012-12-20T08:00:31 < emeb> They need zyp to take 'em to school on STM32 USB. 2012-12-20T08:00:35 < ds2> and this is on the F3 discovery too 2012-12-20T08:00:49 < ds2> it is literally a recompile, tweak some descriptors and be done with. 2012-12-20T08:01:05 < emeb> *eyeroll* 2012-12-20T08:01:29 < ds2> it should be a USB HID device 2012-12-20T08:01:42 < ds2> and I know one of the demos is a USB HID Device to use the F3 as a joystick/mouse 2012-12-20T08:01:51 < emeb> Yeah - I've played with it. 2012-12-20T08:01:59 < emeb> Tweaked it to do my own stuff. 2012-12-20T08:02:10 < dongs> ok wtf 2012-12-20T08:02:10 < ds2> exactly 2012-12-20T08:02:17 < emeb> That was a couple of years ago on an olimex H103 board too. 2012-12-20T08:02:21 < dongs> i enable timer, of course that immediately starts running 2012-12-20T08:02:29 < dongs> but in next line i enable dma 2012-12-20T08:02:39 < dongs> .. to change CCR stuff on eahc tick 2012-12-20T08:02:39 < dongs> hmm 2012-12-20T08:02:51 < dongs> i wonder if this will even work 2012-12-20T08:03:06 < ds2> is there any cache flushing/bus waiting you need to do on the STM32's? 2012-12-20T08:03:24 < ds2> the cortex-A processors usually have those stuff 2012-12-20T08:03:37 < ds2> and some chips have parts clocked off of the 32KHz osc. 2012-12-20T08:04:31 < dongs> hm ok. enableing DMA will auto-start timer 2012-12-20T08:10:12 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 250 seconds] 2012-12-20T08:10:29 < dongs> fuck yea 2012-12-20T08:10:31 < dongs> dmain 2012-12-20T08:14:48 < dongs> a bit rough though 2012-12-20T08:14:50 < dongs> something is fucking up 2012-12-20T08:19:25 < dongs> attn zyp http://i.imgur.com/GEKhG.jpg 2012-12-20T08:21:18 < rlc> it's 2 layers? 2012-12-20T08:23:06 < emeb> ok - direct reg access has the SPI running significantly faster 2012-12-20T08:25:20 < dongs> 4 2012-12-20T08:25:20 < emeb> dongs: that's zyp's LPC4357 board? 2012-12-20T08:25:23 < dongs> yea 2012-12-20T08:25:29 < emeb> purty 2012-12-20T08:25:33 < dongs> indeedy 2012-12-20T08:25:37 < dongs> i got 2 sets of stencils as well 2012-12-20T08:25:43 < dongs> so if zyp fails to reflow ill give it a try here 2012-12-20T08:25:49 < emeb> heh 2012-12-20T08:26:03 < emeb> this'll be a fun little spectacle. :) 2012-12-20T08:26:03 < rlc> dongs: what;s the bga chip that goes on this board? 2012-12-20T08:26:11 < emeb> LPC4357 2012-12-20T08:28:18 < rlc> what's the pitch of this bga? 2012-12-20T08:28:24 < emeb> actually had to leave one of the StdPeriph calls in place - without it the SPI pumped data out too fast for the LCD. 2012-12-20T08:28:49 < emeb> rlc: 1mm 2012-12-20T08:29:00 < rlc> not bad 2012-12-20T08:29:11 < rlc> doable 2012-12-20T08:29:31 < emeb> that's the hope since zyp is assembling by hand. 2012-12-20T08:29:36 < ds2> 1mm, so you can use cheap design rules 2012-12-20T08:29:39 < emeb> (w/ paste & reflow though) 2012-12-20T08:29:50 < emeb> well, cheap_er 2012-12-20T08:29:54 < dongs> im not so lucky 2012-12-20T08:30:02 < dongs> my job this weekend/next week is some bullshit emmc breakouts 2012-12-20T08:30:09 < ds2> the jump from design rules for 1mm to 0.75mm is big 2012-12-20T08:30:35 < emeb> dongs: you remember what the rules were for that board? 2012-12-20T08:30:42 < dongs> emmc? or zyps? 2012-12-20T08:30:44 < dongs> this was standard spec 2012-12-20T08:30:51 < rlc> dongs: how much it cost to make these boards? 2012-12-20T08:30:57 < emeb> zyps 2012-12-20T08:31:12 < dongs> rlc, about what I told you before 2012-12-20T08:31:55 < rlc> dongs: mmm, I dont remember. Can you recall? 2012-12-20T08:32:05 < dongs> yes, you should pay attention 2012-12-20T08:32:20 < dongs> around 260-ish but it really depends on dimensions. and production vs prototype 2012-12-20T08:32:37 < ds2> dongs: aren't they 2L? 2012-12-20T08:32:53 < dongs> 4 2012-12-20T08:32:58 < dongs> see the little 1/2/3/4 thing in there. 2012-12-20T08:33:03 < ds2> oh 2012-12-20T08:33:25 < ds2> I've seen the bigger stuff go for sub $200 2012-12-20T08:33:32 < ds2> bigger == bigger min hole size 2012-12-20T08:33:41 < rlc> dongs: zyp boards are $200+? 2012-12-20T08:33:45 < dongs> but zyp coded some warez for me before so i let him have a discount 2012-12-20T08:34:06 < dongs> rlc, price depends on gerber/dimensions. i cant tell you a number without knowing either. 2012-12-20T08:34:26 < rlc> dongs: for an 8x6cm? 2012-12-20T08:34:37 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-20T08:35:19 < dongs> i gave you website before, you can go look. it only does multiples of 5x5, 5x10 etc, so you can guestimate the price for in between 2012-12-20T08:36:24 < rlc> ok, it was happypcb if I recall, right? 2012-12-20T08:36:35 < dongs> yeah. 2012-12-20T08:36:54 < rlc> cool. 2012-12-20T08:37:25 < rlc> I'm planning to design some monster bgas boards 2012-12-20T08:41:22 < dongs> as long as its not eagle, no problem 2012-12-20T08:41:54 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-20T08:41:57 < dongs> if our merging guy detects eagle gerbers he embeds a dong into the inner layers 2012-12-20T08:42:14 < rlc> dongs: what's the problem with eagle? 2012-12-20T08:42:22 < ds2> hehehe 2012-12-20T08:42:36 < ds2> as long as it is not used ;) 2012-12-20T08:47:12 < rlc> dongs: what's the problem with eagle? 2012-12-20T08:47:19 < dongs> its called 'trolling' geez. 2012-12-20T08:48:20 < emeb_mac> heh - built-in dongs. 2012-12-20T08:48:22 < dongs> but i dont really see eagle being used for anything serious 2012-12-20T08:48:41 < emeb_mac> zyp's in for a surprise.... 2012-12-20T08:48:47 < cdh> In one application, I'm using a F4-disco board with a bunch (15-22) of I2C buses. I'm thinking I should configure my STM32F4 I2C pins as weak internal pull-down in order to catch floating lines, but am worried a little about power consumption. 2012-12-20T08:49:19 < rlc> dongs: what cad you use? 2012-12-20T08:49:31 < cdh> Datasheet shows weak pull-down equivalent resistor is about 40k for most pins. 2012-12-20T08:49:59 < ds2> eagle is fine 2012-12-20T08:51:06 < dongs> well, lunix is "fine" too. 2012-12-20T08:51:11 < dongs> for a narrow definition of "fine" 2012-12-20T08:51:19 < emeb_mac> lol 2012-12-20T08:51:38 < cdh> Anyone have an opinion on whether it's good or bad to have internal pull-downs competing with external pull-ups 2012-12-20T08:52:27 < rlc> you want to enable both at same time? 2012-12-20T08:53:55 < emeb_mac> why would it be bad? 2012-12-20T08:54:35 < emeb_mac> pulls are by their nature designed to be dragged to either rail w/o problems. 2012-12-20T08:54:57 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-20T08:56:21 < cdh> emeb_mac: Good point. I'll do it. 2012-12-20T08:56:41 < ds2> from a power consumption point of view... 2012-12-20T08:56:58 < ds2> and a signal margin point of view... 2012-12-20T08:57:05 < cdh> ric: Yeah, configure GPIOs as input, pull-down. External pull-ups are 4.7k if I recall. 2012-12-20T08:57:10 < emeb_mac> note that if you've got internals pulling opposite externals then there's no telling where the default will end up. 2012-12-20T08:57:40 < emeb_mac> internals are fairly loosely controlled 2012-12-20T08:59:36 < cdh> emeb_mac: DS says 30k-50k for all pins except PA10 and PB12, which are 8k-15k. That is a pretty wide band, but I think acceptable so long as I don't use PA10 and PB12 2012-12-20T09:00:47 < emeb_mac> so 30-50 down, 4.7 up. 2012-12-20T09:01:29 < emeb_mac> worst case that'll pull up to about 0.91*VDD. Is that a good idea? 2012-12-20T09:02:16 < emeb_mac> actually that's best-case 2012-12-20T09:02:19 < ds2> and thresholds are defined at 0.7*VDD 2012-12-20T09:04:05 < emeb_mac> worst case it's more like 0.86*VDD 2012-12-20T09:04:32 < cdh> Hmmm. If thresholds are at 0.7*VDD, that doesn't give me a lot of margin, especially if each I2C bus has 8-10 loads... 2012-12-20T09:05:14 < emeb_mac> how does the pull-down help you again? 2012-12-20T09:05:37 < cdh> The pull-down would help me detect floating lines 2012-12-20T09:06:06 < ds2> explain 2012-12-20T09:07:35 < cdh> If the I2C bus is not connected (in this case, I'm connecting a single F4-disco by jumpers to a bunch of other boards -- the individual boards have the 4.7k pull-ups), then I'll see a logic 0 value. 2012-12-20T09:10:02 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has quit [Disconnected by services] 2012-12-20T09:10:03 -!- Nutter` [Nutter@64-46-18-151.dyn.novuscom.net] has joined ##stm32 2012-12-20T09:11:32 < cdh> If the bus is good, I'll see a logic 1 on both SDA and SCL. Logic 0 wouldn't exactly tell me I've got a disconnect -- it could be a slave hanging on to SDA because it's out of phase with the master. But SCL, shouldn't be held low for more than ~25 ms. 2012-12-20T09:13:07 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-12-20T09:13:29 < dongs> hmm now i get same trash where timer would just leave off at whenever 2012-12-20T09:13:29 < dongs> hmm 2012-12-20T09:14:32 < dongs> either high or low depending on last period 2012-12-20T09:21:30 -!- dekar_ [~dekar@212.255.249.42] has joined ##stm32 2012-12-20T09:21:33 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-20T09:21:46 < dongs> hmm,, i think im gonna have to doublebuffer 2012-12-20T09:21:53 < dongs> this isnt working the way I expected it to 2012-12-20T09:22:01 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-20T09:22:16 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-20T09:24:45 < dongs> maybe i can start precalculating in HT DMA 2012-12-20T09:25:25 -!- dekar [~dekar@212.255.40.30] has quit [Ping timeout: 252 seconds] 2012-12-20T09:25:49 < dongs> hmm taht seems retarded. 2012-12-20T09:30:06 < emeb_mac> you trying to generate the WS2811 waveform via DMA? 2012-12-20T09:30:10 < dongs> yeah. 2012-12-20T09:30:12 < dongs> i got that far 2012-12-20T09:30:16 < dongs> but its silly 2012-12-20T09:30:16 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-20T09:33:09 -!- Nutter` is now known as Nutter 2012-12-20T09:34:31 < dongs> its like its missing the fucking bits 2012-12-20T09:34:32 < dongs> wtf 2012-12-20T09:35:31 < emeb_mac> wonder if you could fake it out with SPI instead of timer/pwm. 2012-12-20T09:36:03 < emeb_mac> just send different bit patterns for 1 and 0 that match the WS timing requirments 2012-12-20T09:36:23 < dongs> i wonder if LUT for that would be worth the trouble 2012-12-20T09:37:25 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2012-12-20T09:37:28 < emeb_mac> well - time for zzzzzzz 2012-12-20T09:37:34 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-20T09:38:33 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:4a:a6a8:5a8d:7c63] has joined ##stm32 2012-12-20T09:45:24 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:4a:a6a8:5a8d:7c63] has quit [Remote host closed the connection] 2012-12-20T09:47:58 < dongs> oh what 2012-12-20T09:48:04 < dongs> i had to do DMA buffer size of >25< 2012-12-20T09:48:10 < dongs> to get it to clockout 24 thingies 2012-12-20T10:03:05 < dongs> please repaste the url 2012-12-20T10:03:14 < dongs> i forgot to load my jewtube cleansing script 2012-12-20T10:20:32 < dongs> < flyback> dongs https://youtube.com/watch?v=YGjtDpN65wk#t=142s 2012-12-20T10:20:36 < dongs> much better 2012-12-20T10:34:00 < dongs> ok getting 16.8ms/frame wiht 512pixels 2012-12-20T10:53:38 < dongs> When Freedom meet CooCox, we get a whole platform of Cortex M development for Arduino lovers and Develop Engineer! 2012-12-20T10:54:01 < zyp> *yawn* 2012-12-20T10:54:17 < zyp> dongs, saw the board pic, looks nice 2012-12-20T10:56:00 < dongs> http://i.imgur.com/PQYfN.png 2012-12-20T10:56:03 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-20T10:56:03 < dongs> someone fucked up 2012-12-20T10:56:03 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-20T10:56:03 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-20T10:56:56 < zyp> hah 2012-12-20T10:57:28 < zyp> that's worse than the time fedex were shipping my stuff paris - london - paris 2012-12-20T11:04:40 < dongs> 40 pixel bar draws 1.7A at max white 2012-12-20T11:11:50 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2012-12-20T11:34:10 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 246 seconds] 2012-12-20T11:34:17 < karlp> gxti: what's your code doing when you'restepping and get ""Writing to flash memory forbidden in this context". ? and what target? I don't think I've ever seen that... 2012-12-20T11:34:51 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-20T11:35:08 < karlp> nvm, reading logs better... 2012-12-20T11:53:59 -!- mrcan__ [~mrcan@78.173.31.241] has joined ##stm32 2012-12-20T11:53:59 -!- mrcan__ [~mrcan@78.173.31.241] has quit [Changing host] 2012-12-20T11:53:59 -!- mrcan__ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-20T11:56:08 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-12-20T11:57:44 -!- jef79m_lurking is now known as jef79m 2012-12-20T12:02:58 -!- Netsplit *.net <-> *.split quits: |sark, mrcan_, ntfreak 2012-12-20T12:17:14 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-20T12:17:14 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-20T12:17:14 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-20T12:17:17 -!- mode/##stm32 [+v Steffanx] by ChanServ --- Log closed Thu Dec 20 12:25:19 2012 --- Log opened Thu Dec 20 12:25:27 2012 2012-12-20T12:25:27 -!- jpa-_ [jpa@hilla.kapsi.fi] has joined ##stm32 2012-12-20T12:25:27 -!- Irssi: ##stm32: Total of 66 nicks [1 ops, 0 halfops, 2 voices, 63 normal] 2012-12-20T12:26:31 -!- Irssi: Join to ##stm32 was synced in 70 secs 2012-12-20T12:29:04 -!- jpa- [jpa@hilla.kapsi.fi] has quit [Ping timeout: 245 seconds] 2012-12-20T12:29:04 -!- iR0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 245 seconds] 2012-12-20T12:29:45 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 260 seconds] 2012-12-20T12:29:46 -!- mansfeld [~andrew@robopoly/watson] has quit [Ping timeout: 260 seconds] 2012-12-20T12:29:46 -!- mansfeld [~andrew@2001:1af8:4400:a013:3::12c] has joined ##stm32 2012-12-20T12:29:46 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-12-20T12:29:51 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-12-20T12:29:51 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-20T12:29:51 -!- mansfeld [~andrew@2001:1af8:4400:a013:3::12c] has quit [Changing host] 2012-12-20T12:29:52 -!- mansfeld [~andrew@robopoly/watson] has joined ##stm32 2012-12-20T12:30:20 -!- iR0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-12-20T12:32:01 -!- jef79m is now known as jef79m_lurking 2012-12-20T12:37:47 -!- _BJFreeman [~bjfree@95.sub-75-244-12.myvzw.com] has joined ##stm32 2012-12-20T12:45:20 -!- jef79m_lurking is now known as jef79m 2012-12-20T12:46:51 -!- _BJFreeman [~bjfree@95.sub-75-244-12.myvzw.com] has quit [] 2012-12-20T13:05:03 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-20T13:11:39 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 252 seconds] 2012-12-20T13:12:57 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-20T13:12:57 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-20T13:12:57 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-20T13:12:57 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-20T13:14:49 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2012-12-20T13:16:51 -!- Viper168 [~Viper168@node92.18.251.72.1dial.com] has joined ##stm32 2012-12-20T13:16:51 -!- Viper168 [~Viper168@node92.18.251.72.1dial.com] has quit [Changing host] 2012-12-20T13:16:51 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-20T13:27:39 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2012-12-20T13:55:27 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-20T14:05:04 -!- daku is now known as DaKu 2012-12-20T14:21:23 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has quit [Ping timeout: 255 seconds] 2012-12-20T14:22:05 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has joined ##stm32 2012-12-20T14:27:36 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 2012-12-20T14:28:15 -!- Oldboy [myircshell@gateway/shell/sh3lls.net/x-ynafjiezhhocdvfz] has quit [Remote host closed the connection] 2012-12-20T14:29:01 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has joined ##stm32 2012-12-20T14:34:34 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Ping timeout: 250 seconds] 2012-12-20T14:34:43 -!- jef79m is now known as jef79m_lurking 2012-12-20T14:42:21 -!- DaKu is now known as daku 2012-12-20T14:43:16 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-12-20T14:47:45 -!- daku is now known as DaKu 2012-12-20T14:49:08 -!- jef79m_lurking is now known as jef79m 2012-12-20T14:53:50 < Laurenceb> no rpi for dongs? 2012-12-20T14:54:10 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-20T14:54:56 < Laurenceb> so it wont arrive before the end of the world then? 2012-12-20T14:55:23 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-20T14:55:31 < dongs> got one 2012-12-20T14:55:36 < dongs> a really weird one too. 2012-12-20T14:56:25 < dongs> 512m but made in china 2012-12-20T14:56:25 < dongs> and with P5 connector... 2012-12-20T14:56:33 < zyp> still useless 2012-12-20T14:56:35 <+Steffanx> p5? 2012-12-20T14:56:38 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-20T14:57:06 <+Steffanx> You are useless zyp 2012-12-20T14:57:42 < dongs> zyp: agreed 2012-12-20T14:58:14 < zyp> we had a power outage lasting for over an hour here earlier today, so nobody got anything done, so I went over to chat with my usb guy just to pass time 2012-12-20T14:58:20 < dongs> zyp, im implementing protocol over your i2c shit 2012-12-20T14:58:21 < dongs> so far, so good 2012-12-20T14:58:26 < zyp> «oh, I still have your rpi» «that's okay, I haven't missed it» 2012-12-20T14:59:33 -!- jef79m is now known as jef79m_lurking 2012-12-20T15:00:11 -!- DaKu is now known as daku 2012-12-20T15:01:07 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-20T15:01:08 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Excess Flood] 2012-12-20T15:01:28 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-20T15:01:28 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Excess Flood] 2012-12-20T15:01:49 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-20T15:01:49 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Excess Flood] 2012-12-20T15:02:09 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-20T15:02:23 < dongs> cocks512x3x30x10sec.bin exciting 2012-12-20T15:04:23 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2012-12-20T15:08:29 <+Steffanx> man, i give up. This DVB-C receiver is CRAP 2012-12-20T15:08:59 < dongle> blame lunix 2012-12-20T15:09:06 <+Steffanx> windblowz 2012-12-20T15:09:20 < zyp> Steffanx, what are you trying to do? 2012-12-20T15:09:28 <+Steffanx> Getting digital TV on my pc/laptop 2012-12-20T15:09:37 < dongle> haha 2012-12-20T15:09:39 < dongle> on windows 2012-12-20T15:09:39 < dongle> ? 2012-12-20T15:10:01 <+Steffanx> Yeah 2012-12-20T15:10:08 <+Steffanx> It's someting i probably something i knew before i bought it. brand, price .. 2012-12-20T15:10:09 < dongle> whats the problem then 2012-12-20T15:10:13 < dongle> start media center 2012-12-20T15:10:14 < dongle> tune 2012-12-20T15:10:15 < dongle> done 2012-12-20T15:10:28 * zyp grabs the popcorn 2012-12-20T15:10:39 <+Steffanx> tune .. => lots of "discontuenites" 2012-12-20T15:10:50 < dongs> http://www.bbc.co.uk/newsbeat/20796067 2012-12-20T15:10:50 <+dekar_> Steffanx, blame lunix anyway 2012-12-20T15:10:58 < dongs> Steffanx: your signal is shit then 2012-12-20T15:11:11 <+Steffanx> A 7m, 4m or 1 doesn't matter. Amplifier doesn't matter either 2012-12-20T15:11:20 < Laurenceb> dongs: P5 is new for v2.0 aiui 2012-12-20T15:11:20 <+Steffanx> So i blame the crappy tuner/receiver/whatever it's called 2012-12-20T15:11:39 <+Steffanx> *a 7m, 4m or 1m coaxial cable 2012-12-20T15:11:49 <+dekar_> What are the frequencies for DVB-C? 2012-12-20T15:11:52 < dongs> Laurenceb: yes but arent all new v2.0 made in UK 2012-12-20T15:11:54 < dongs> miny says made in china 2012-12-20T15:11:57 < Laurenceb> no 2012-12-20T15:11:59 < dongs> dekar_: VHF/UHF usually 2012-12-20T15:12:02 <+dekar_> I wonder whether my DVB-T stick can pick them up 2012-12-20T15:12:08 < Laurenceb> apparently the ones shipped to japland arent 2012-12-20T15:12:12 < Laurenceb> its on the forumz 2012-12-20T15:12:15 <+Steffanx> For me it's 369->800MHz .. 2012-12-20T15:12:20 < dongs> dekar_: modulation is different 2012-12-20T15:12:30 < dongs> sounds like VHF high/UHF 2012-12-20T15:12:48 <+dekar_> dongs, sure, but modulation can be done in software 2012-12-20T15:13:31 < dongs> .. good luck 2012-12-20T15:13:41 <+Steffanx> maybe some expert wrote something for linuxheadend dekar_ :P 2012-12-20T15:13:56 <+dekar_> Steffanx, I'm on OSX -.-" 2012-12-20T15:14:03 <+Steffanx> Your proble 2012-12-20T15:14:05 <+Steffanx> m 2012-12-20T15:14:09 <+dekar_> I know 2012-12-20T15:15:39 <+Steffanx> It could be the signal dongs, but the standard ciscio crap pvr has no issues with it 2012-12-20T15:16:43 <+Steffanx> I even use drivers from another vendor because hauppauge fails to do things properly :P 2012-12-20T15:16:56 <+Steffanx> but there you see my problem: hauppauge 2012-12-20T15:17:04 <+dekar_> Windows drivers never fail 2012-12-20T15:17:28 <+dekar_> Bluescreens are just propaganda spread by lunix users, they don't exist in real life 2012-12-20T15:20:23 < dongs> so true 2012-12-20T15:20:30 <+Steffanx> Hmm, i've seen lots of them with the standard drivers :P :P 2012-12-20T15:29:34 < dongs> huh 2012-12-20T15:29:40 < dongs> QZSS is some jap GPS shit 2012-12-20T15:29:59 < dongs> http://www.st.com/internet/automotive/subclass/614.jsp got spam from ST 2012-12-20T15:30:45 < dongs> http://www.st.com/internet/evalboard/product/253360.jsp wut 2012-12-20T15:31:58 <+Steffanx> also in japland they have to find their way home dongs .. 2012-12-20T15:33:55 < Laurenceb> nice 2012-12-20T15:34:03 < Laurenceb> http://www.st.com/internet/automotive/product/253156.jsp 2012-12-20T15:34:33 < dongs> wow, is that everything? 2012-12-20T15:34:47 < Laurenceb> looks like it 2012-12-20T15:35:07 < zyp> Steffanx, to be fair, having a gps in the car I drove in japan was pretty handy 2012-12-20T15:35:10 < dongs> 20pin qfn 2012-12-20T15:35:10 < dongs> o wat 2012-12-20T15:35:15 < dongs> 1st page says qfn56 2012-12-20T15:35:24 < Laurenceb> It combines a high performance ARM946 microprocessor with embedded enhanced 2012-12-20T15:35:25 < Laurenceb> peripherals and I/O capabilities with ST next generation triple-constellation positioning 2012-12-20T15:35:25 < Laurenceb> engine. 2012-12-20T15:35:44 < dongs> order page says qfn20 2012-12-20T15:35:44 < dongs> maybe they havent figured it out 2012-12-20T15:36:39 -!- daku is now known as DaKu 2012-12-20T15:36:43 < zyp> pin diagram shows signals for all 56 connections 2012-12-20T15:37:03 < zyp> vfqfpn20 sounds like some kind of module? 2012-12-20T15:37:10 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-20T15:37:17 < Laurenceb> no current specs 2012-12-20T15:37:18 < zyp> hmm, no 2012-12-20T15:37:52 -!- dekar_ [~dekar@212.255.249.42] has quit [Quit: This computer has gone to sleep] 2012-12-20T15:38:27 < dongs> that chip looks pretty hardcore 2012-12-20T15:38:45 < dongs> i bet its all NDA and shit though 2012-12-20T15:38:49 <+Steffanx> happy hardcore 2012-12-20T15:39:03 < dongs> how do chips like this handle the non-weapon limitation? 2012-12-20T15:39:08 < dongs> firmware blob? 2012-12-20T15:40:32 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-20T15:42:48 < dongs> looks like 512m/sec and 18000m 2012-12-20T15:43:03 < dongs> Laurenceb: how does the trash you send up in baloons deal with that 2012-12-20T15:43:19 < dongs> when youre falling after baloon explodes doesnt it reach > 512m/seC? 2012-12-20T15:44:14 < karlp> rfid board looks fun and cheap 2012-12-20T15:44:19 < karlp> stm8L though. 2012-12-20T15:44:27 < dongs> nothin wrong wiht that 2012-12-20T15:44:37 < karlp> no, but it's not something I can learn as much from :) 2012-12-20T15:44:37 < dongs> periphearls are all same as stm32 2012-12-20T15:44:40 < dongs> i think 8L even has DMA 2012-12-20T15:44:42 < Laurenceb> we use ublox 2012-12-20T15:44:50 < Laurenceb> ubox is unlimited 2012-12-20T15:44:51 < dongs> Laurenceb: yes and? does it lock out @ above conditions? 2012-12-20T15:44:54 < dongs> um 2012-12-20T15:44:59 < Laurenceb> cuz its swiss 2012-12-20T15:45:06 < dongs> no its not 2012-12-20T15:45:46 < dongs> youre trolling 2012-12-20T15:45:56 < dongs> i just googled a random ublox datasheet and it says max velocity 500m/s 2012-12-20T15:46:11 < dongs> Operational Limits 2012-12-20T15:46:11 < Laurenceb> hmm 2012-12-20T15:46:13 < dongs> Dynamics 2012-12-20T15:46:13 < dongs> . 4 g 2012-12-20T15:46:13 < dongs> Altitude5 2012-12-20T15:46:13 < dongs> 50,000 m 2012-12-20T15:46:13 < dongs> Velocity5 2012-12-20T15:46:28 < Laurenceb> iirc theres ways to get round that 2012-12-20T15:46:42 < Laurenceb> using ubx commands 2012-12-20T15:46:45 < dongs> 500 m/s 2012-12-20T15:47:57 < dongs> apparently that ST GPS chip is liek $6 2012-12-20T15:48:03 < Laurenceb> at least on the liming modul;es 2012-12-20T15:48:07 < Laurenceb> nice 2012-12-20T15:48:13 < Laurenceb> need some current draw specs 2012-12-20T15:48:21 < Laurenceb> wtf 2012-12-20T15:48:32 < Laurenceb> lsm330d gyro is going at over 400sps 2012-12-20T15:48:39 < Laurenceb> when i set to 380sps 2012-12-20T15:48:56 < Laurenceb> piss poor rc oscillator maybe 2012-12-20T15:50:08 < Laurenceb> oh wait 2012-12-20T15:50:11 < Laurenceb> i fail 2012-12-20T15:50:26 < Laurenceb> at converting to hex... 2012-12-20T15:50:51 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-20T15:51:52 < dongs> no surprise.. 2012-12-20T15:54:49 < Laurenceb> actually i was right 2012-12-20T15:54:51 < Laurenceb> wtf 2012-12-20T15:55:05 < dongs> failnode 2012-12-20T15:55:08 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2012-12-20T15:55:16 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-20T15:55:26 < dongs> i dont fucking understand how this shit can fail so fucking badly. 2012-12-20T15:55:28 < Laurenceb> 0xB = 0b1011 2012-12-20T15:55:36 < dongle> 0xLaurenceb 2012-12-20T15:55:47 < Laurenceb> 10 11 380 100 2012-12-20T15:55:55 < Laurenceb> from lsm330d datasheet 2012-12-20T15:56:07 < Laurenceb> 380sps, 100hz bandwidth 2012-12-20T15:56:21 < Laurenceb> im seeing 35hz bandwidth 2012-12-20T15:56:25 -!- DaKu is now known as daku 2012-12-20T15:59:27 < dongs> http://officialmancard.com/omc/wp-content/uploads/2010/09/Girl-Beard01.jpg wut 2012-12-20T16:00:24 <+Steffanx> photoshop ftw 2012-12-20T16:00:35 <+Steffanx> i mean: crap photoshop 2012-12-20T16:04:04 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-20T16:05:37 < Laurenceb> looks like lsm330d datasheet is wrong 2012-12-20T16:12:42 <+Steffanx> and Laurenceb is right.. again 2012-12-20T16:29:18 < dongs> hm, shit 2012-12-20T16:29:31 < dongs> zyp, do I get a 'stop' callback? 2012-12-20T16:30:14 < dongs> since data written to slave is variable length 2012-12-20T16:30:18 < dongs> and I dont know what hte length actualyl IS 2012-12-20T16:30:45 < dongs> I can't process it until I get either stop or repeat start for different slave 2012-12-20T16:31:25 < dongs> hm actualyl I guess i can finalize it in addr_callback always, even on nak'd addresses 2012-12-20T16:33:59 < Laurenceb> ok, looks like lsm330d sampling is 15% faster 2012-12-20T16:34:04 < Laurenceb> than it should be 2012-12-20T16:34:13 < Laurenceb> also the stream fifo is broken 2012-12-20T16:34:22 < Laurenceb> doesnt lock register access during read 2012-12-20T16:34:54 < Laurenceb> "fifo" fifo mode is ok 2012-12-20T16:35:04 < Laurenceb> "stream" fifo is broken 2012-12-20T16:38:31 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Read error: Connection reset by peer] 2012-12-20T16:38:56 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-20T16:46:56 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-20T16:48:25 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-20T16:54:02 -!- daku is now known as DaKu 2012-12-20T17:04:20 -!- BjoernC [~BjoernC@dyndsl-178-142-053-104.ewe-ip-backbone.de] has joined ##stm32 2012-12-20T17:09:23 < dongs> k, cool, its all working 2012-12-20T17:09:35 < dongs> zyp, you rock 2012-12-20T17:09:42 < zyp> nice 2012-12-20T17:09:43 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2012-12-20T17:10:02 < dongs> not sure if I should just run chip at 128M 2012-12-20T17:10:07 < dongs> seems to work etc... 2012-12-20T17:10:08 < dongs> :) 2012-12-20T17:10:19 < zyp> are you using loop polling or exti? 2012-12-20T17:10:24 < dongs> loop 2012-12-20T17:10:35 < dongs> exti was even worse? remember 2012-12-20T17:10:38 < zyp> yep 2012-12-20T17:11:22 < zyp> and loop stuff can probably be improved considerably by merging the changed-functions into the loop itself, in case you need it faster 2012-12-20T17:12:57 < dongs> i implemented protocol but its pretty light, i dont think that added any lag 2012-12-20T17:13:06 < dongs> im still running at same speed as whe ni was just testing 2012-12-20T17:15:39 < Laurenceb> http://news.slashdot.org/story/12/12/19/2055246/most-kickstarter-projects-fail-to-deliver-on-time 2012-12-20T17:15:42 < Laurenceb> epic lol 2012-12-20T17:15:47 < dongs> duh 2012-12-20T17:16:15 < Laurenceb> is your rpi working? 2012-12-20T17:16:32 < dongs> no idea, im to lazy to find jtag pinout 2012-12-20T17:16:38 < Laurenceb> wut 2012-12-20T17:16:39 < zyp> if being useless is considered working, then it's working 2012-12-20T17:16:39 < dongs> and setup stuff for it 2012-12-20T17:16:42 < Laurenceb> just plug it in 2012-12-20T17:16:45 < dongs> into what 2012-12-20T17:16:50 < Laurenceb> power 2012-12-20T17:16:53 < dongs> it powers up, if thats what you mean 2012-12-20T17:16:58 < Laurenceb> ah 2012-12-20T17:17:11 < Laurenceb> now try 120v ac 2012-12-20T17:17:15 < dongs> cool 2012-12-20T17:17:31 < Laurenceb> apparently then you can overclock it 2012-12-20T17:17:40 < zyp> doesn't work, they only have 100V in japan 2012-12-20T17:17:47 < Laurenceb> fail 2012-12-20T17:17:54 -!- dekar [~dekar@studpool-wlan-75-120.fs.fbi.h-da.de] has joined ##stm32 2012-12-20T17:17:56 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-20T17:20:39 -!- dekar [~dekar@studpool-wlan-75-120.fs.fbi.h-da.de] has quit [Client Quit] 2012-12-20T17:23:19 < dongs> Laurenceb: do you think current draw for a particular prop/motor combo is linear 2012-12-20T17:23:42 < zyp> linear how? 2012-12-20T17:23:50 < dongs> i.e. if I know how much it draws at idle and at wot, is it just a straight line to interpolate the rest? 2012-12-20T17:23:57 < zyp> no 2012-12-20T17:24:00 < dongs> ghey 2012-12-20T17:24:18 < dongs> why not? 2012-12-20T17:24:34 < dongs> what is it then? some sorta curve? 2012-12-20T17:25:12 < zyp> well, first of all, what is throttle? 2012-12-20T17:25:30 < Laurenceb> way more complex than that 2012-12-20T17:27:24 < Laurenceb> rageee 2012-12-20T17:27:33 < dongs> zyp, like motor speed or whatever 2012-12-20T17:27:34 < Laurenceb> lsm330d gyro is still failing 2012-12-20T17:27:44 < dongs> RPM? 2012-12-20T17:27:48 < dongs> or etc. 2012-12-20T17:27:59 < dongs> but yeaf if its not linear never mind 2012-12-20T17:28:16 < dongs> oh hm the draw will also depend if its pushing something or stopped etc 2012-12-20T17:28:27 < zyp> even at a given rpm, current will vary with load 2012-12-20T17:28:30 < dongs> right 2012-12-20T17:28:35 < dongs> yeah, ok, never mind then. 2012-12-20T17:28:45 < zyp> and even for a given prop, load will vary with the movement of air around it 2012-12-20T17:29:02 < dongs> Right. 2012-12-20T17:29:34 < Laurenceb> has anyone here actually used st stuff with fifo? 2012-12-20T17:29:42 < dongs> have you looked at f3disco? 2012-12-20T17:29:46 < dongs> sample sores 2012-12-20T17:30:33 < Laurenceb> hmm 2012-12-20T17:30:41 < Laurenceb> thats not quite the same thing 2012-12-20T17:30:46 < Laurenceb> but good idea 2012-12-20T17:30:53 < Laurenceb> seems the fifo is being glitchy 2012-12-20T17:31:07 < Laurenceb> it works if you oversample it like crazy 2012-12-20T17:31:12 < Laurenceb> so its almost empty 2012-12-20T17:31:24 < Laurenceb> otherwise it updates in the middle of reads 2012-12-20T17:31:35 < Laurenceb> and screws the data 2012-12-20T17:31:42 < zyp> this just in: Laurenceb is doing something wrong 2012-12-20T17:32:15 -!- tavish [~tavish@120.56.129.112] has joined ##stm32 2012-12-20T17:32:15 -!- tavish [~tavish@120.56.129.112] has quit [Changing host] 2012-12-20T17:32:15 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-20T17:32:41 < Laurenceb> yeah but what 2012-12-20T17:32:46 < Laurenceb> theres no lock bit 2012-12-20T17:32:50 < Laurenceb> like on adxl 2012-12-20T17:34:10 < zyp> which chip were this? 2012-12-20T17:34:40 < dongs> lsm330d 2012-12-20T17:34:58 < Laurenceb> well theres BDU 2012-12-20T17:35:03 < Laurenceb> but ive set that 2012-12-20T17:35:05 < zyp> ah, the accel+gyro one 2012-12-20T17:35:17 < Laurenceb> yes 2012-12-20T17:36:31 < Laurenceb> looks like bdu is broken in fifo mode 2012-12-20T17:36:52 < zyp> why does bdu matter? 2012-12-20T17:37:18 < Laurenceb> otherwise you can read bytes from different samples 2012-12-20T17:37:23 -!- DaKu is now known as daku 2012-12-20T17:37:26 < zyp> no. 2012-12-20T17:37:26 < Laurenceb> which is what im seeing 2012-12-20T17:37:40 < zyp> not when using fifo 2012-12-20T17:37:49 < Laurenceb> hmm 2012-12-20T17:37:58 < Laurenceb> ok then ill try fifo and bdu==0 2012-12-20T17:38:01 < zyp> unless it's overrunning 2012-12-20T17:38:14 < Laurenceb> nope 2012-12-20T17:38:33 < Laurenceb> the problem disappears if i read over twice the update rate 2012-12-20T17:38:39 < zyp> how do you determine the number of samples to read? 2012-12-20T17:38:42 < Laurenceb> so nothing enters fifo 2012-12-20T17:38:50 < Laurenceb> i dont 2012-12-20T17:38:57 < Laurenceb> theres not enough time on the bus 2012-12-20T17:39:12 < Laurenceb> so i sample a little faster than the update rate 2012-12-20T17:39:13 < zyp> so why the fuck are you using fifo? 2012-12-20T17:39:26 < Laurenceb> it makes scheduling easier 2012-12-20T17:39:32 < dongs> huh waht 2012-12-20T17:39:34 < zyp> huh? how? 2012-12-20T17:39:46 < Laurenceb> so transactions are long 2012-12-20T17:39:50 < dongs> you're reading MORE often than data is available.. and y ou're using fifo... and you expect shit to.. wokr? 2012-12-20T17:40:19 < Laurenceb> it breaks if i read less often 2012-12-20T17:40:32 < dongs> stop reading it then 2012-12-20T17:40:36 < Laurenceb> ill have a play with bdu bit 2012-12-20T17:40:55 < zyp> fuck bdu, it's not relevant when you are using fifo 2012-12-20T17:41:05 < Laurenceb> hmm 2012-12-20T17:41:13 < zyp> if you are using fifo you need to read FIFO_SRC_REG to check the number of available samples in fifo 2012-12-20T17:41:20 < zyp> and then read that number of samples 2012-12-20T17:41:25 < Laurenceb> so if i read 430sps update at 370hz its still broken 2012-12-20T17:41:39 < Laurenceb> fifo will be full 2012-12-20T17:41:40 < zyp> and then you also get overrun bit and can check if that happened 2012-12-20T17:41:54 -!- daku is now known as DaKu 2012-12-20T17:42:11 < zyp> you should never allow the fifo to be full 2012-12-20T17:42:45 < Laurenceb> according to datasheet full fifo is predicable 2012-12-20T17:42:57 < Laurenceb> you can set it to lose oldest or newest samples 2012-12-20T17:43:11 < zyp> and you've set it to lose which? 2012-12-20T17:43:20 < Laurenceb> both options fail 2012-12-20T17:43:28 < Laurenceb> but losing newest will work 2012-12-20T17:43:37 < Laurenceb> if i oversample at 2x update rate 2012-12-20T17:43:38 < zyp> that's very predickable 2012-12-20T17:44:05 -!- DaKu is now known as daku 2012-12-20T17:44:05 < zyp> how can you complain about not time to read SRC_REG, and then have time to oversample 2x? 2012-12-20T17:44:15 -!- daku is now known as DaKu 2012-12-20T17:44:23 < Laurenceb> i turned down gyro sample rate 2012-12-20T17:44:46 < zyp> yes? 2012-12-20T17:44:56 < Laurenceb> and it works 2012-12-20T17:45:05 < Laurenceb> but i need the fast rate 2012-12-20T17:45:38 < zyp> even if it drops samples? 2012-12-20T17:45:41 < zyp> sounds worthless 2012-12-20T17:45:45 < Laurenceb> no 2012-12-20T17:45:53 < Laurenceb> im oversampling at the low rate 2012-12-20T17:46:16 < zyp> but you need the fast rate 2012-12-20T17:46:22 < Laurenceb> exactly 2012-12-20T17:46:28 < Laurenceb> so this isnt a solution 2012-12-20T17:46:33 < zyp> which fills up the fifo 2012-12-20T17:46:38 < zyp> which causes lost samples 2012-12-20T17:46:45 < zyp> which is acceptable? 2012-12-20T17:47:01 < Laurenceb> yes 2012-12-20T17:47:06 < Laurenceb> if they are lost cleanly 2012-12-20T17:47:27 < zyp> how can anything be lost cleanly? 2012-12-20T17:49:09 < Laurenceb> sample is lost without effecting others 2012-12-20T17:49:16 < Laurenceb> ok so BDU makes no difference 2012-12-20T17:49:31 < zyp> your projects always sounds like peeing against the wind and then complaining about getting wet 2012-12-20T17:49:41 < dongs> haha 2012-12-20T17:51:14 < Laurenceb> using fifo samples will be a pita 2012-12-20T17:51:22 < Laurenceb> as the sensors have such piss poor clocks 2012-12-20T17:51:38 < Laurenceb> ill need to dsp resample everything on the stm to avoid clock squew 2012-12-20T17:54:42 < Laurenceb> so thats not an option 2012-12-20T17:54:53 < Laurenceb> as theres too few clock cycles spare now to do that 2012-12-20T17:55:24 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-20T17:58:49 < dongs> im in ur clock, skewing it 2012-12-20T18:00:46 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2012-12-20T18:02:31 < emeb> skew u 2012-12-20T18:06:24 < dongs> haha 2012-12-20T18:28:39 -!- BjoernC [~BjoernC@dyndsl-178-142-053-104.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-20T18:28:58 -!- barthess [~barthess@178.154.77.23] has joined ##stm32 2012-12-20T18:31:06 -!- DaKu is now known as daku 2012-12-20T18:37:27 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-20T18:41:38 -!- daku is now known as DaKu 2012-12-20T18:50:10 < emeb> so it's 12-21-12 in JP now - has the world ended yet? 2012-12-20T18:50:20 < dongs> yes 2012-12-20T18:50:27 < dongs> been for like 2 hours 2012-12-20T18:50:47 < emeb> messages from dongs in the afterlife 2012-12-20T18:52:23 -!- _BJFreeman [~bjfree@28.sub-75-244-122.myvzw.com] has joined ##stm32 2012-12-20T18:52:47 -!- DaKu is now known as daku 2012-12-20T19:08:29 < zyp> hmm, wonder if I should bake the F3 boards tonight 2012-12-20T19:11:27 -!- daku is now known as DaKu 2012-12-20T19:11:49 * emeb votes yes 2012-12-20T19:14:37 < jpa-_> emeb: turns out that my old laptop came back to life also :) 2012-12-20T19:14:45 < jpa-_> but i'm still happy that i got this new one 2012-12-20T19:15:02 < emeb> jpa-_: now you have a backup 2012-12-20T19:15:16 < jpa-_> indeed, a backup that is not pentium II :) 2012-12-20T19:15:20 < emeb> was it just a matter of it drying out completely? 2012-12-20T19:15:55 < jpa-_> probably, even though i thought that a few hours in the oven @ 50°C should have tried atleast the main PCB fully 2012-12-20T19:16:07 < jpa-_> apparently not 2012-12-20T19:16:40 < jpa-_> it still seems to have some water in the keyboard, or then it was corroded by the vinegar 2012-12-20T19:17:43 < emeb> keyboards are complicated. 2012-12-20T19:18:11 < jpa-_> also they have a lot of thin films that just love to trap some water in them 2012-12-20T19:19:43 < emeb> littler rubber domes, exposed/patterned pcb traces, etc. 2012-12-20T19:19:57 < zyp> hmm, part count on F3 board is a bit lower 2012-12-20T19:20:06 < emeb> wat? 2012-12-20T19:20:14 < zyp> lower than bmp2 I mean 2012-12-20T19:20:15 < zyp> so less work 2012-12-20T19:20:30 < emeb> ah, yes 2012-12-20T19:20:44 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2012-12-20T19:21:35 < emeb> zyp: did you see that ST replied on the forum re. the F3xx info in AN2606? 2012-12-20T19:21:36 < zyp> ah, L1 is for analog 2012-12-20T19:21:41 < emeb> yes 2012-12-20T19:21:43 < zyp> no? 2012-12-20T19:21:54 < zyp> url? 2012-12-20T19:22:02 < emeb> said that updated AN2606 would be out next week. 2012-12-20T19:22:24 < zyp> ah 2012-12-20T19:22:32 < zyp> was that all? 2012-12-20T19:22:37 < emeb> pretty much. 2012-12-20T19:22:59 < emeb> I responded, but the forums aren't loading in my browser right now 2012-12-20T19:24:42 < emeb> L1 helps filter VDDA, and if you need more then pull L1 off and drive externally. 2012-12-20T19:25:39 < zyp> makes sense 2012-12-20T19:29:42 < Laurenceb> what can cause the jammed stop error on i2c? 2012-12-20T19:29:49 < emeb> Here's the forum thread: https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https%3a%2f%2fmy%2est%2ecom%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32F373%20Bootloader&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=69 2012-12-20T19:29:57 < Laurenceb> im trying to impliment fifo control, but its giving jammed stop 2012-12-20T19:30:45 < Laurenceb> i hate i2c 2012-12-20T19:32:19 < jpa-_> my jam jar doesn't have i2c :( 2012-12-20T19:32:20 < Laurenceb> runs for a few transactions then jammed stop 2012-12-20T19:33:30 < jpa-_> http://blog.makezine.com/2012/12/20/tftweet-displaying-tweets-on-an-arduino-shield-with-the-raspberry-pi/ lol, of course it should display tweets, perfect use for the hardware! 2012-12-20T19:34:50 < emeb> layers of crap piled on top of layers of crap displaying crap data. what could be more fun? 2012-12-20T19:35:29 < jpa-_> though on the bright side, i guess it didn't take much time to develop 2012-12-20T19:35:33 < Laurenceb> arggg 2012-12-20T19:35:42 < Laurenceb> how is it even possibly to debug this fail 2012-12-20T19:35:42 < emeb> they used to say Perl was the duct-tape of the internet. 2012-12-20T19:35:59 < Laurenceb> wtf 2012-12-20T19:36:00 < emeb> now it appears that Arduino is the duct-tape of the hacker world. 2012-12-20T19:36:29 < Laurenceb> is the seale logic thing any good? 2012-12-20T19:36:36 < emeb> it works 2012-12-20T19:36:41 < Laurenceb> i mean can i grab a few MB of i2c data? 2012-12-20T19:36:50 < emeb> I've used it to debug I2C in the past. 2012-12-20T19:37:02 < Laurenceb> ill order one 2012-12-20T19:37:06 < emeb> don't recall if there's a maximum record length. 2012-12-20T19:37:29 < Laurenceb> my entire life is revolving around broken i2c at the moment 2012-12-20T19:37:38 < Laurenceb> i dont care how much i have to spend to fix this 2012-12-20T19:38:06 < emeb> i2c is a pox 2012-12-20T19:38:18 < Laurenceb> ive spent months on this 2012-12-20T19:38:25 < emeb> a pimple on the backside of embedded 2012-12-20T19:38:31 < jpa-_> how many spaces have you spent? 2012-12-20T19:40:53 -!- You're now known as jpa- 2012-12-20T19:41:31 -!- gurgalof [~gurgalof@dhcp-233-068.nomad.chalmers.se] has joined ##stm32 2012-12-20T19:51:17 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-20T19:55:42 < Laurenceb> wtf 2012-12-20T19:55:49 < Laurenceb> i2c sends stop then just dies 2012-12-20T19:56:04 < Laurenceb> i managed to catch it on the scope 2012-12-20T19:56:09 < Laurenceb> it looks fine 2012-12-20T19:56:12 < Laurenceb> just a stop 2012-12-20T20:00:03 < jpa-> chibios or raw hardware? 2012-12-20T20:00:11 < Laurenceb> raw 2012-12-20T20:00:50 < Thorn> how much of the i2c weirdness has been fixed in f4/f3? 2012-12-20T20:02:16 < Laurenceb> most aiui 2012-12-20T20:03:46 < Laurenceb> runs for 200ms, nice 2012-12-20T20:05:09 < Laurenceb> this is odd - register 0x2F on lsm330d is read as 0x80 defore failure 2012-12-20T20:05:11 < Laurenceb> *before 2012-12-20T20:05:52 < Laurenceb> so fifo is full but there is no data 2012-12-20T20:05:54 < Laurenceb> odd 2012-12-20T20:18:24 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-20T20:19:30 < Laurenceb> rageeee 2012-12-20T20:19:33 < Laurenceb> fixed the i2c 2012-12-20T20:19:38 < emeb> yay? 2012-12-20T20:19:46 < Laurenceb> but the gyro still has the same glitches as before 2012-12-20T20:19:59 < zyp> christmas cookies in the oven 2012-12-20T20:20:15 < emeb> tasty F3s? 2012-12-20T20:20:24 < Laurenceb> i need some f303 2012-12-20T20:20:28 < Laurenceb> like nowwww 2012-12-20T20:20:33 < Laurenceb> fix the stupid i2c 2012-12-20T20:21:05 < emeb> 200+ in stock at DK 2012-12-20T20:21:20 < zyp> emeb, I hope they will be 2012-12-20T20:21:49 < emeb> my F3 is sitting here cycling colors on an LCD. 2012-12-20T20:21:58 < Laurenceb> http://www.digikey.co.uk/product-detail/en/STM32F303CCT6/497-13318-ND/3660423 2012-12-20T20:22:02 < Laurenceb> oh sheettttt 2012-12-20T20:22:03 < Laurenceb> nice 2012-12-20T20:22:25 < gxti> are there F3s with MAC? 2012-12-20T20:22:42 < emeb> ethernet? don't think so 2012-12-20T20:22:57 < gxti> dang. would be cool to have something bigger than f107 but smaller than f407. 2012-12-20T20:23:18 < Thorn> no there isn't an equivalent to f107 2012-12-20T20:23:29 < Thorn> "The DAC34SH84 is a very low-power, high-dynamic range, quad-channel, 16-bit digital-to-analog converter (DAC) with a sample rate as high as 1.5 GSPS." 2012-12-20T20:23:54 * Laurenceb orders f303's 2012-12-20T20:23:55 < emeb> 16-bit 1.5GSPS is handy 2012-12-20T20:27:55 < emeb> only $105/ea *choke* 2012-12-20T20:28:09 < emeb> http://www.digikey.com/product-search/en/integrated-circuits-ics/data-acquisition-digital-to-analog-converters-dac/2556292?k=DAC34SH84 2012-12-20T20:28:38 -!- Netsplit *.net <-> *.split quits: @ChanServ 2012-12-20T20:28:38 < zyp> and you only have to buy 160 of them! 2012-12-20T20:29:57 < emeb> don't hear much about the F2xx parts any longer. Thoughts? 2012-12-20T20:30:11 < zyp> slower F4 without FPU 2012-12-20T20:30:12 -!- Netsplit over, joins: @ChanServ 2012-12-20T20:30:18 < zyp> not a huge market 2012-12-20T20:30:30 < emeb> yeah - seems like they've been eclipsed. 2012-12-20T20:30:41 < zyp> you either go with F4 for performance or some of the others for price 2012-12-20T20:31:34 -!- dekar [~dekar@212.255.249.42] has joined ##stm32 2012-12-20T20:31:37 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-20T20:32:42 < zyp> some bridging on all boards today too, but except that they turned out nice 2012-12-20T20:34:18 < zyp> interestingly enough, they tend to bridge at the same point on all boards 2012-12-20T20:34:29 < cdh> Thorn: I2C works fine for me on the F4. 2012-12-20T20:34:49 < zyp> I suspect it's related to gnd pads being cooler due to gnd running down into plane 2012-12-20T20:36:24 < cdh> Laurenceb: I have a Salae and it was well worth the cost. So far, I've used to to debug I2C (on multiple boards), SPI, and even for external measurement of HSE startup time. 2012-12-20T20:36:45 < Laurenceb> cool 2012-12-20T20:36:48 < Laurenceb> ill order one 2012-12-20T20:36:56 < zyp> yeah, they are nice 2012-12-20T20:37:02 < Laurenceb> hopefully i can get a better idea of whats wrong with i2c 2012-12-20T20:37:40 < cdh> In the office, we have all three -- MacOS, Windows, and Linux. It's also nice to be able to use the same tool on all of them. 2012-12-20T20:37:40 -!- barthess [~barthess@178.154.77.23] has quit [Ping timeout: 248 seconds] 2012-12-20T20:37:50 < Laurenceb> neat 2012-12-20T20:37:52 < zyp> I'd consider the 16-input version now 2012-12-20T20:37:56 < zyp> due to 1.8V support 2012-12-20T20:38:00 < zyp> and higher speed 2012-12-20T20:38:02 < Laurenceb> well im not going to waste any more time on this 2012-12-20T20:38:04 < Laurenceb> ok 2012-12-20T20:38:15 < Laurenceb> wasted all week try to make i2c work 2012-12-20T20:38:18 < zyp> I think it does up to 100 MHz if you limit capture to three lines or so 2012-12-20T20:38:18 < Laurenceb> made 0 progress 2012-12-20T20:38:24 < cdh> I think the 16-input version also had better input protection. I only got the 8-input version. 2012-12-20T20:38:29 < zyp> same here 2012-12-20T20:38:35 -!- claude is now known as Claude 2012-12-20T20:38:57 < zyp> hmm, I've actually used the 16-input version at work a bit 2012-12-20T20:39:29 < cdh> I heard a rumor they are working on an analog version. 2012-12-20T20:40:52 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-12-20T20:50:56 * Laurenceb off 2012-12-20T20:51:03 < Laurenceb> more i2c failure tomorrow 2012-12-20T20:55:50 -!- barthess [~barthess@178.154.91.69] has joined ##stm32 2012-12-20T21:08:42 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-12-20T21:39:23 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-20T21:42:00 < Posterdati> hi 2012-12-20T21:44:02 < zyp> emeb, http://bin.jvnv.net/f/Exo6T.JPG 2012-12-20T21:45:33 <+dekar> neat 2012-12-20T21:45:52 < Posterdati> I've got problem with struct with nidified bitfield in it (arm-none-eabi toolchain from CodeSourcery) 2012-12-20T21:46:33 <+dekar> Laurenceb, i2c master on stm32? 2012-12-20T21:47:35 <+dekar> the ST lib has i2c examples that basically just work 2012-12-20T21:48:00 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-20T22:01:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-20T22:01:51 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-20T22:01:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-20T22:01:54 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-20T22:08:47 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Read error: Connection reset by peer] 2012-12-20T22:09:15 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-20T22:09:48 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 264 seconds] 2012-12-20T22:10:18 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-20T22:13:46 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 265 seconds] 2012-12-20T22:14:03 -!- barthess [~barthess@178.154.91.69] has quit [Quit: Leaving.] 2012-12-20T22:23:31 < emeb> zyp: nice looking boards 2012-12-20T22:24:01 < emeb> loaded up w/ USB_CDC_ACM from laks_demo? 2012-12-20T22:28:32 -!- Laurenceb_ [~Laurence@host86-177-214-54.range86-177.btcentralplus.com] has joined ##stm32 2012-12-20T22:29:38 < Thorn> does isolated can/rs-485 make any sense if all devices on the bus have the same power source? 2012-12-20T22:33:38 < emeb> might provide some immunity from ground loops, noise even if power source is common. 2012-12-20T22:36:22 < Thorn> what if there's only a single ground wire for both power and the bus? 2012-12-20T22:38:39 < zyp> emeb, no, I made a simple thing to blink the led 2012-12-20T22:43:12 < zyp> Thorn, isolated how? you mean with transceivers? 2012-12-20T22:44:19 < Thorn> yes, with isolated transceivers 2012-12-20T22:44:27 < zyp> isolated? 2012-12-20T22:44:31 < gxti> Thorn: when you say 'single ground wire' what precisely do you mean 2012-12-20T22:44:34 < zyp> who says the transceivers are isolated? 2012-12-20T22:44:37 < gxti> also how large physically is the system 2012-12-20T22:44:49 < Thorn> e.g. http://www.ti.com/lit/ds/symlink/iso1050.pdf 2012-12-20T22:45:04 < zyp> ah 2012-12-20T22:45:23 < gxti> isolation is good practice but if it's all inside one box or something obviously you can get away with it 2012-12-20T22:45:24 < zyp> well, no, you don't need galvanic isolation 2012-12-20T22:45:39 < zyp> most can transceivers are not 2012-12-20T22:46:20 < Thorn> no it's not in a box, it's about ~30 to 50m of wire in my current case 2012-12-20T22:46:36 < zyp> should be fine 2012-12-20T22:46:44 < gxti> Thorn: are the nodes connected to anything other than the bus cable? 2012-12-20T22:47:08 < gxti> including earthing 2012-12-20T22:47:12 < Thorn> one of the nodes has a USB interface 2012-12-20T22:47:40 < Thorn> which has ground but not Vbus connected 2012-12-20T22:48:00 < Thorn> it's powered by an isolated SMPS 2012-12-20T22:48:02 < zyp> as long as all the nodes are on a common ground, galvanic isolation on the can bus is not necessary 2012-12-20T22:48:24 < gxti> 50m isn't too much but maybe you expand it in the future 2012-12-20T22:48:32 < zyp> if you don't run a common ground, it starts making sense 2012-12-20T22:49:02 < gxti> it always makes sense imho, except for nodes that aren't even earthed to anything but the bus cable 2012-12-20T22:49:04 < Posterdati> zyp: it needs a galvanic simulation! 2012-12-20T22:50:23 < Thorn> I've seen some designs recently such as sensor cards that use isolated CAN. but I'm not sure what specific requirements there were 2012-12-20T22:50:48 < gxti> if you're not in an industrial environment or exceeding 100m it will be fine without 2012-12-20T22:51:15 < Thorn> well, the only chance for a ground loop that I see in my case is usb 2012-12-20T22:51:59 < Thorn> okay thanks. 2012-12-20T22:52:17 < gxti> as long as the usb is the only point of connection then it makes no difference. that said, it's always possible that someone accidentally earths another node. 2012-12-20T22:53:26 < Thorn> all those nodes have are ds18b20 and reed sensors on short cables 2012-12-20T22:54:27 < zyp> isn't 1-wire supposed to run for long distances alone? 2012-12-20T22:54:27 < jpa-> i would make it isolated and also somehow separate or protect the power lines.. but just because i once had my whole 1-wire network burned by a lightning :) 2012-12-20T22:54:59 < emeb> "People are posting apocalypse jokes like there's no tomorrow!" 2012-12-20T22:55:00 < Thorn> how long that network was? and was it outdoors? 2012-12-20T22:55:04 < jpa-> zyp: not that well.. 50m is already quite difficult if you rely on the pull-up based drivers 2012-12-20T22:55:17 < zyp> ah, right 2012-12-20T22:55:26 < Posterdati> does __attribute__ ((__packed__)) works on every union/structure member even if they are struct union themselves? 2012-12-20T22:55:30 < gxti> zyp: no protocol can save you from a nearby lightning strike. of course a direct hit you're fucked anyway, but if it's merely nearby then you just have to tolerate your PE shifting a few hundred volts... 2012-12-20T22:55:49 < jpa-> Thorn: indoors; the lightning came from phone line => adsl modem => network switch => server motherboard => usb port => 1-wire driver 2012-12-20T22:56:22 < jpa-> obvious first line of defence is of course phone line surge protector, but it had been burned and i had forgotten to replace it 2012-12-20T22:56:32 < jpa-> never expected to lose more than just the ADSL modem :D 2012-12-20T22:57:18 < Thorn> phone lines are supposed to have surge arrestors, don't they 2012-12-20T22:57:23 < gxti> and that's with 1.5kv+ isolation transformers in every ethernet jack :p 2012-12-20T22:57:25 < jpa-> Posterdati: i doubt it (it would break memcpy between the structure member and stand-alone structure) 2012-12-20T22:57:54 < gxti> i suppose they do a fine job of coupling differential mode surges into your delicate electronics 2012-12-20T22:58:00 < Posterdati> jpa-: so for every struct/union inside struct/union shall I use __attribute__ 2012-12-20T22:58:15 < zyp> Posterdati, correct 2012-12-20T22:58:43 < zyp> packed only applies to the space between members of current structure 2012-12-20T22:58:59 < jpa-> gxti: the lightning didn't seem to care much :D http://koti.kapsi.fi/jpa/stuff/pix/ukkosen_uhri.jpg 2012-12-20T22:59:01 < zyp> the layout of the member types are already defined and won't be affected by that 2012-12-20T22:59:11 < gxti> aww yiss 2012-12-20T23:01:31 < zyp> gxti, protocol as in physical layer spec? 2012-12-20T23:01:36 < Posterdati> jpa-, zyp: and what about nidified anonymous struct? Like: http://pastebin.com/Z3xGP1Pg 2012-12-20T23:01:50 < Posterdati> I saw that it won't work correctly 2012-12-20T23:02:26 < zyp> gxti, I'm pretty sure all fiber based physical layers won't help the strike travel between your nodes :p 2012-12-20T23:03:16 < Thorn> some optical cables have steel wire in them... 2012-12-20T23:03:40 < ds2> Hmmm 2012-12-20T23:03:49 < zyp> mine doesn't :p 2012-12-20T23:04:48 < gxti> zyp: eh, fiber vs copper is layer 0.5 ;) 2012-12-20T23:05:17 < zyp> pft 2012-12-20T23:05:46 < zyp> mac is layer two, phy is layer 1, right? 2012-12-20T23:05:54 < Laurenceb_> hello 2012-12-20T23:06:01 < zyp> and fiber vs copper would be the connection on the lower side of the phy :p 2012-12-20T23:06:03 -!- Laurenceb_ is now known as I2Cfail 2012-12-20T23:06:19 * jpa- stops I2Cfail 2012-12-20T23:07:08 < Thorn> what do I need to intarface an RTD correctly? do I need a low pass filter or something? 2012-12-20T23:07:55 < gxti> you always need a LP filter when using an ADC. 2012-12-20T23:07:57 < jpa-> preferrably atleast 1nF capacitance so that the ADC sample time doesn't have to be so long 2012-12-20T23:08:15 < gxti> other than that, a current source to drive the RTD 2012-12-20T23:09:29 < gxti> the simplest case being a resistor and the VCC driving your uC 2012-12-20T23:11:13 < Thorn> yes but a LPF can be a cap in parallel with Rfeedback or it can be a separate circuit with an op amp and stuff 2012-12-20T23:12:04 < gxti> if you don't care too much about the bandwidth of your RTD, which seems quite likely, a single-pole filter (e.g. one cap) is perfect. 2012-12-20T23:12:57 < gxti> the more overhead you have between the frequency you care about and the nyquist frequency (half the sampling rate), the less aggressive the filtering needed. 2012-12-20T23:14:13 < Thorn> well the frequency I care about can't be much more than 1Hz, the RTS has got thermal inertia after all 2012-12-20T23:14:29 < gxti> exactly 2012-12-20T23:14:33 < Thorn> and any ADC can do 100Ksps these days including builtin ones 2012-12-20T23:14:49 < gxti> so one pole is enough to roll off well before you hit your nyquist 2012-12-20T23:15:12 < gxti> and if you reduce your sample rate anyway it just means a microscopic increase in noise 2012-12-20T23:15:26 < Thorn> besides my op amp will have a small GBW 2012-12-20T23:15:49 < gxti> e.g. 100ksps for an ambient temperature sensor just to make nyquist happy would be silly 2012-12-20T23:17:09 < Thorn> (I should have added RTD support to this project of mine if not for time constraints actually) 2012-12-20T23:20:37 < Thorn> http://en.wikipedia.org/wiki/Resistance_thermometer#Wiring_configurations 2012-12-20T23:22:57 < I2Cfail> http://www.youtube.com/watch?feature=player_embedded&v=h1-hrethX4c 2012-12-20T23:24:12 < ds2> isn't there a thermal diode in the stm32? 2012-12-20T23:24:57 < gxti> for very crude measurements sure 2012-12-20T23:25:31 < gxti> in addition to not being horribly accurate it's also measuring the temperature of the cpu die, not the air 2012-12-20T23:25:32 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2012-12-20T23:25:43 < gxti> but for stuff that sleeps all the time it's workable 2012-12-20T23:26:21 < ds2> oh you actually want air temperature 2012-12-20T23:26:46 < ds2> what do people do with real air temperatures? 2012-12-20T23:27:52 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-20T23:27:52 < gxti> i don't know what he's measuring, RTDs are sort of overkill for air even 2012-12-20T23:27:58 -!- Netsplit *.net <-> *.split quits: @ChanServ 2012-12-20T23:28:19 < gxti> but there are different sorts of things one might measure the temperature of and the builtin diode is only good for diagnostics really 2012-12-20T23:28:43 < gxti> is your stm32 on fire yes/no 2012-12-20T23:29:09 < Thorn> I have an RTD intended for ventilation ducts 2012-12-20T23:29:30 < ds2> also for compensations 2012-12-20T23:30:05 <+Steffanx> Laurenceb got himself a good nick 2012-12-20T23:30:13 <+Steffanx> nvm 2012-12-20T23:30:32 < gxti> as long as your power consumption is stable 2012-12-20T23:30:36 <+Steffanx> oh, that is him 2012-12-20T23:30:54 -!- Netsplit over, joins: @ChanServ 2012-12-20T23:35:19 -!- jef79m_lurking is now known as jef79m 2012-12-20T23:44:10 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-20T23:47:44 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:b4ff:1a95:9804:64cc] has joined ##stm32 2012-12-20T23:51:45 -!- jef79m is now known as jef79m_lurking 2012-12-20T23:52:20 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2012-12-20T23:55:13 -!- jef79m_lurking is now known as jef79m 2012-12-20T23:55:24 < I2Cfail> http://uncyclopedia.wikia.com/wiki/Stephen_Hawking_ran_over_my_cat --- Day changed Fri Dec 21 2012 2012-12-21T00:03:06 -!- DaKu is now known as daku 2012-12-21T00:07:54 -!- Claude is now known as claude 2012-12-21T00:41:17 < dongs> hello trolls 2012-12-21T00:41:23 < emeb> damn cosmologists. 2012-12-21T00:41:35 < emeb> morning dongs 2012-12-21T00:41:37 < zyp> good morning, dongs 2012-12-21T00:43:18 <+Steffanx> Hi Mr japland 2012-12-21T00:44:28 < zyp> my nexus finally shipped this afternoon 2012-12-21T00:44:36 < emeb> oooo... nexus 2012-12-21T00:44:39 < dongs> cool 2012-12-21T00:44:42 < zyp> which means I don't get it before I leave 2012-12-21T00:44:48 < zyp> that's a bit dumb 2012-12-21T00:44:58 < dongs> i already dropped mine twice 2012-12-21T00:45:01 < emeb> it will sit in a box on your doorstep for someone to steal 2012-12-21T00:45:43 < emeb> dongs: did the drops do any damage? 2012-12-21T00:45:45 <+Steffanx> Lol, since when manufacturers show which ucs they have in their product in a specs. document? 2012-12-21T00:45:56 < zyp> I tried calling the store yesterday, they have same-day shipping to pick-up points in Oslo 2012-12-21T00:46:26 < zyp> «please ship it there so I can pick it up when I'm travelling through on saturday» «sorry, can't change shipping method of a committed order» 2012-12-21T00:46:34 <+Steffanx> oops 2012-12-21T00:47:04 < emeb> bureaucratic bastards 2012-12-21T00:47:34 < zyp> I figured I could cancel and re-order, but that would mean getting back at the end of the line again 2012-12-21T00:47:48 < zyp> oh, they are actually in stock now 2012-12-21T00:48:01 < emeb> buy one, send the shipped one back 2012-12-21T00:48:04 < zyp> I could buy another, have it shipped to oslo, then return the first when I get home from christmas 2012-12-21T00:48:49 <+Steffanx> lol, just to have it two weeks earlier? 2012-12-21T00:49:05 < emeb> Steffanx: turn in your nerd card. 2012-12-21T00:49:18 < zyp> seriously, I'm doing that 2012-12-21T00:49:21 <+Steffanx> Address? 2012-12-21T00:49:29 < emeb> if you don't understand the need for *shiny* then... 2012-12-21T00:49:43 <+Steffanx> Nerds don't have fancy shit 2012-12-21T00:49:51 <+Steffanx> Real needs don't have smartphone 2012-12-21T00:49:52 < emeb> nerds with jobs do. 2012-12-21T00:49:54 <+Steffanx> *nerds 2012-12-21T00:50:32 <+Steffanx> Just because their boss gives them a fancy phone emeb 2012-12-21T00:50:48 < emeb> Steffanx: there's that... 2012-12-21T00:51:20 < dongs> nexus in stock? yea right, and doesn't ship in like 9 weeks? 2012-12-21T00:56:27 < zyp> ok, ordered 2012-12-21T00:56:53 < zyp> in stock at a norwegian web-store 2012-12-21T00:57:00 < dongs> mmh 2012-12-21T00:57:25 < zyp> it should be available for pick-up in Oslo already tomorrow if they are keeping their usual schedule 2012-12-21T01:07:12 < emeb> nice 2012-12-21T01:07:41 <+Steffanx> And if they don't you have a second nexus you can't use for two weeks :D :D 2012-12-21T01:07:56 < emeb> heh 2012-12-21T01:10:34 < BrainDamage> wtf link of the day: http://i.imgur.com/nlnnf.gif 2012-12-21T01:10:40 <+Steffanx> No 2012-12-21T01:10:52 <+Steffanx> The day is only 10 minutes old 2012-12-21T01:11:13 < emeb> eh - nothing immediately awful there 2012-12-21T01:11:24 < emeb> just yer usual internet stupidity 2012-12-21T01:12:38 < emeb> Steffanx: oh btw - the world ended in your tz? 2012-12-21T01:12:54 <+Steffanx> Uhm 2012-12-21T01:13:04 <+Steffanx> http://hasthelargehadroncolliderdestroyedtheworldyet.com/ 2012-12-21T01:13:06 <+Steffanx> nope :) 2012-12-21T01:13:19 < emeb> lol 2012-12-21T01:13:36 <+Steffanx> for(alltheotherendoftheworldwebsites.com) say nope 2012-12-21T01:14:26 < emeb> wow - reality is scriptable 2012-12-21T01:14:40 <+Steffanx> IRC is reality? 2012-12-21T01:15:06 < emeb> guess not. 2012-12-21T01:16:19 < dongs> BrainDamage: lol @ furfags 2012-12-21T01:17:23 <+Steffanx> i bet you know them all 2012-12-21T01:25:27 < dongs> what's your furaffinity 2012-12-21T01:30:02 <+Steffanx> Time for the urbandictionary 2012-12-21T01:31:11 <+Steffanx> Is it safe to open the website dongs? 2012-12-21T01:31:18 <+Steffanx> *that 2012-12-21T01:32:18 <+Steffanx> Nah, don't care 2012-12-21T01:32:18 <+Steffanx> gn 2012-12-21T01:32:32 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-21T01:32:53 < dongs> lol 2012-12-21T01:33:23 < dongs> ed article on it is pretty good 2012-12-21T02:13:40 -!- gurgalof [~gurgalof@dhcp-233-068.nomad.chalmers.se] has quit [Quit: Leaving] 2012-12-21T02:22:42 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:b4ff:1a95:9804:64cc] has quit [Remote host closed the connection] 2012-12-21T02:25:48 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-21T02:27:28 < Thorn> wow there's a whole book on Microcontroller Based Temperature Monitoring and Control 2012-12-21T02:32:20 -!- I2Cfail [~Laurence@host86-177-214-54.range86-177.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2012-12-21T02:32:39 < Posterdati> hi 2012-12-21T02:33:11 < Posterdati> please I don't understand why the I2C has always SCL = high and SDA = low, resulting in a busy flag 2012-12-21T02:34:07 < dongs> i told you this before 2012-12-21T02:34:14 < dongs> clock out scl 10 times to release stuck slaves 2012-12-21T02:34:44 < dongs> http://code.google.com/p/afrodevices/source/browse/trunk/baseflight/src/drv_i2c.c#313 2012-12-21T02:36:06 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Read error: Operation timed out] 2012-12-21T02:36:54 < Posterdati> dongs: mmmh ok 2012-12-21T02:37:44 < dongs> you said this works if you power everythign down once right? 2012-12-21T02:37:57 < dongs> so youre fucking up i2c somewehre and one of your slaves keeps thinking its being addresses 2012-12-21T02:38:01 < dongs> addressed 2012-12-21T02:38:14 < dongs> so do that shit in your startup somewehre to make sure bus is clear 2012-12-21T02:38:14 < Posterdati> yes, but I can only send a read 2012-12-21T02:38:26 < dongs> yweah, youre clearly fucking something up somewehre. 2012-12-21T02:40:07 < Posterdati> the funny thing is that I do only a write, then bus stop working 2012-12-21T02:40:38 < dongs> wlel, cuz youre doing it wrong 2012-12-21T02:41:24 < Posterdati> dongs: http://pastebin.com/rTCbceKB 2012-12-21T02:41:26 < zyp> do you send stop? 2012-12-21T02:41:30 < Thorn> post a bus capture 2012-12-21T02:41:38 < zyp> if not, bus will be left active and confused 2012-12-21T02:41:56 < dongs> lol @ disableirq 2012-12-21T02:42:07 < Posterdati> why? 2012-12-21T02:42:12 < Thorn> that stop is too late, isn't it 2012-12-21T02:42:36 < Thorn> it doesn't actually have any effect 2012-12-21T02:43:38 < gxti> ok before i burn this codebase to the ground, is there a better free rtos for F1 than chibios? 2012-12-21T02:43:40 < Posterdati> any idea? 2012-12-21T02:44:16 < dongs> gxti: yessssssssssss coocox 2012-12-21T02:44:24 < dongs> chibios = kawaii useless garbage 2012-12-21T02:44:27 < Posterdati> dongs: don'y you like to disable irqs? 2012-12-21T02:45:01 < dongs> CoOS is so easy, syntax isnt retarded, and it just does RTOS-y stuff without getting in your face with bullshit HAL +etc 2012-12-21T02:45:09 < gxti> Posterdati: sending crap over i2c could take a while, if you turn off irqs then nothing will service them obv 2012-12-21T02:46:41 < Posterdati> anyway, is the writeRegister wrong? 2012-12-21T02:47:27 < dongs> dunno 2012-12-21T02:47:31 < dongs> you should try using CPAL 2012-12-21T02:47:34 < dongs> if you dont know i2c. 2012-12-21T02:47:47 < Posterdati> what is cpal? 2012-12-21T02:47:49 < dongs> http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/CD00291090.pdf 2012-12-21T02:49:04 -!- dekar_ [~dekar@212.255.242.200] has joined ##stm32 2012-12-21T02:49:07 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-21T02:49:34 < Posterdati> ok, tx but I prefer use my routines 2012-12-21T02:49:57 < dongs> well, they don't work right. 2012-12-21T02:50:17 < dongs> you can also use mine or zyps code. 2012-12-21T02:50:21 < dongs> both of those are known to work 2012-12-21T02:50:43 < gxti> i have not used i2c before on stm32 (but i will soon), however Thorn is probably right -- you have to set that stop flag BEFORE you send the last byte 2012-12-21T02:50:57 < gxti> it's not a command, it's a flag that takes effect on next write 2012-12-21T02:51:09 < Posterdati> not now, but the time I spent to understand and integrate in my code the CPAL I could make it work... I was succesfull in the past with I2C on the stm32f10x, but Ilost my sources in an hd failure 2012-12-21T02:51:23 -!- dekar [~dekar@212.255.249.42] has quit [Ping timeout: 265 seconds] 2012-12-21T02:51:33 < Thorn> 1-byte transfers. 2-byte transfers. n-byte transfers. all of these require separate handling on the stm32 i2c hardware 2012-12-21T02:51:43 < zyp> gxti, depends 2012-12-21T02:51:56 < gxti> i'll defer to people who have actually used it 2012-12-21T02:52:05 < gxti> but that's what the ref manual seems to say 2012-12-21T02:52:12 < gxti> "after the current byte transfer" 2012-12-21T02:52:30 < zyp> when reading, stop must be set before reading last byte 2012-12-21T02:52:42 < zyp> when writing stop must be set after writing last byte 2012-12-21T02:52:52 < Posterdati> is it supposed to be like I2C_GenerateSTART ? 2012-12-21T02:52:58 < gxti> k then 2012-12-21T02:53:48 < Thorn> correct. I just looked at my code 2012-12-21T02:54:17 < Posterdati> and what about NACK and ACK in reading byte? 2012-12-21T03:01:39 < zyp> same 2012-12-21T03:02:16 < Posterdati> but in write I don't care about ack/nack generation 2012-12-21T03:02:20 < zyp> http://cgit.jvnv.net/laks/tree/i2c/i2c.cpp#n39 <- see line 46 2012-12-21T03:02:34 < zyp> you unset ack at the same time as setting stop 2012-12-21T03:03:05 < Posterdati> before checking for received byte? 2012-12-21T03:04:03 < zyp> no, after 2012-12-21T03:04:17 < zyp> reading received byte happens on line 41 2012-12-21T03:04:20 < zyp> that's second last byte 2012-12-21T03:04:40 < zyp> if(reading == 1) means «if there are one more byte to read» 2012-12-21T03:05:30 < Posterdati> ok, now writing is working, I have SDA = high before the write command and SDA went high after the write execution 2012-12-21T03:05:52 < zyp> good 2012-12-21T03:06:08 < zyp> writing is easy, reading is slightly harder 2012-12-21T03:06:12 < Posterdati> yes 2012-12-21T03:06:27 < Posterdati> I put STOP at the end after the last byte sent 2012-12-21T03:06:53 < zyp> for writing? that is right 2012-12-21T03:07:18 < zyp> that's line 70 in my code 2012-12-21T03:07:59 < zyp> if writing == 0 (else block) there are no more bytes to write, and then it either performs a repeat start (if there are bytes to read) or a stop 2012-12-21T03:08:24 < dongs> so where teh fuck are aspieberrypi docs 2012-12-21T03:08:33 < dongs> is tehre even a pinout for all the gpio connectors FOR VERSION 2? 2012-12-21T03:08:38 < dongs> alli see is outdated shit lol 2012-12-21T03:09:33 < Posterdati> zyp: my read is: BUSY check -> Generate START -> MASTER_MODE_SELECT -> send 7 bit addr -> MASTER_TRANSMITTER_MODE_SELECTED -> send data -> Generate START -> MASTER_MODE_SELECTED -> disable ACK -> Generate STOP -> check for received byte and read it -> Config NACK position to current -> Reenable ACK 2012-12-21T03:12:50 < Posterdati> sorry zyp, it is wrong 2012-12-21T03:14:35 < Posterdati> zyp: START -> 7BIT ADDR (transmitter) -> send DATA -> START -> 7BIT ADDRESS (receiver) -> disable ACK -> STOP -> receive DATA -> NACK current position -> enable ACK 2012-12-21T03:14:46 < dongs> Will it run the new Windows 8 ARM version? 2012-12-21T03:14:46 < dongs> We are not partners with Microsoft, and their support would be required for porting Windows 8. 2012-12-21T03:14:51 < dongs> k, getting rid of my stonerberry. 2012-12-21T03:14:59 < dongs> that was the only potential use for it 2012-12-21T03:15:18 -!- mrcan__ [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-21T03:15:20 < Posterdati> dongs: why don't you use linux on it? 2012-12-21T03:15:26 < dongs> because lunix fucking sucks 2012-12-21T03:15:28 < emeb> here it come... 2012-12-21T03:15:51 < emeb> you could program it bare-metal 2012-12-21T03:16:09 < Posterdati> dongs if linux sucks what about windows? 2012-12-21T03:16:13 < dongs> emeb: still havent found pinout for jtag 2012-12-21T03:16:21 < dongs> surprisingly there are zero docs on it 2012-12-21T03:16:24 < emeb> dongs: figures 2012-12-21T03:16:26 < dongs> I would have expected those fucks to have a wiki wiht all info 2012-12-21T03:16:46 < emeb> Keil should come out with a devkit for it. 2012-12-21T03:17:16 < dongs> http://elinux.org/images/9/96/RpiFront.jpg ok this is what I got 2012-12-21T03:17:21 < dongs> ecxcept says made in china. 2012-12-21T03:17:37 < dongs> and 4G not 2G 2012-12-21T03:18:09 < emeb> so presumably P2 & P3 have jtag on 'em somewhere? 2012-12-21T03:18:12 < dongs> yes 2012-12-21T03:18:39 < emeb> but no schematics available? 2012-12-21T03:20:05 < dongs> http://www.raspberrypi.org/wp-content/uploads/2012/10/Raspberry-Pi-R2.0-Schematics-Issue2.2_027.pdf found 2012-12-21T03:22:00 < emeb> there it is - top right corner p4 2012-12-21T03:22:39 < dongs> lol wut 2012-12-21T03:22:42 < dongs> thre's jtag for videocore too? 2012-12-21T03:22:43 < emeb> 1 = VDD, 2 = TRST, 3 = TDI, 4 = TDO, 5 = TMS, 6 = TCLK 2012-12-21T03:22:55 < dongs> what page is that shit on i still ahvent found P4 in their retarded graphics-only schematics 2012-12-21T03:23:12 < emeb> P2 is for the BCM SoC, P3 is the LAN chip 2012-12-21T03:23:47 < emeb> Apparently the P2 JTAG port talks to both the GPU and the ARM 2012-12-21T03:24:16 < emeb> so you need a JTAG client that knows how to run the internal muxing. 2012-12-21T03:24:31 < emeb> much the same as the OMAP chips on the Beagleboard. 2012-12-21T03:24:31 < zyp> I hear jtag is designed to be chained :p 2012-12-21T03:24:53 < dongs> wait what? where the fuck do you see this in schematics 2012-12-21T03:25:02 < dongs> im on page 4 2012-12-21T03:25:03 < dongs> top right corner 2012-12-21T03:25:17 < dongs> shit labeled PH-8/001 2012-12-21T03:25:24 < zyp> also, I think I read before that videocore has seperate jtag pins 2012-12-21T03:25:26 < emeb> Yeah - that's the JTAG connection to the Broadcom chip 2012-12-21T03:25:29 < zyp> dunno about version 2012-12-21T03:25:49 < dongs> for some reason they filled the whole fucking connector with solder on my board 2012-12-21T03:25:50 < dongs> fucking cunts 2012-12-21T03:26:23 < emeb> zyp: so is there a separate JTAG connection for the ARM? 2012-12-21T03:26:33 < emeb> or is the GPU the only thing that's hooked up? 2012-12-21T03:26:34 < dongs> zippe would probably know 2012-12-21T03:27:08 < zyp> emeb, I believe I read it was seperately broken out 2012-12-21T03:27:18 < emeb> dumb 2012-12-21T03:27:34 < emeb> esp since there are no other obvious connectors on the board for an ARM JTAG 2012-12-21T03:27:54 < dongs> (ARM_TMS) to appear on P1 pin 13. 2012-12-21T03:27:54 < dongs> hmm wat 2012-12-21T03:28:34 < dongs> P1_PIN13 is like GPIO_GEN2 or someshit 2012-12-21T03:28:40 < emeb> yeah 2012-12-21T03:28:46 < zyp> maybe they are muxed with gpio like our mcus 2012-12-21T03:28:50 < emeb> that 2012-12-21T03:29:02 < dongs> the problem is 2012-12-21T03:29:05 < dongs> they're not marked in schematic. 2012-12-21T03:29:13 < dongs> and i would imagine thers no datasheet 2012-12-21T03:29:15 < dongs> for hte bcm. 2012-12-21T03:29:15 < emeb> and you can't get docs w/o NDA 2012-12-21T03:29:36 < emeb> welcome to the world of half-foss 2012-12-21T03:29:40 < emeb> kinda like half-ass 2012-12-21T03:29:46 < zyp> :) 2012-12-21T03:31:54 < zyp> oh, I talked to some people yesterday 2012-12-21T03:32:18 < zyp> they were having problems with stuff not working when rpi was plugged into tv but not powered 2012-12-21T03:32:53 < zyp> turns out they apparently load the cec line when the board is not powered, so it gets held down 2012-12-21T03:33:35 < zyp> so none of the other parts could communicate, resulting in no sound 2012-12-21T03:33:45 < zyp> because the tv couldn't turn on the receiver or something like that 2012-12-21T03:35:18 < emeb> yay 2012-12-21T03:36:16 < emeb> http://raspberrypi.stackexchange.com/questions/1437/has-anybody-tried-to-debug-using-jtag-bdm 2012-12-21T03:36:28 < dongs> saw that. 2012-12-21T03:36:41 < emeb> so it's all muxed onto the P1 GPIO connector 2012-12-21T03:37:46 < emeb> and setting the mux to JTAG is not default, so you need to run a bootloader prior to set the mux to JTAG. 2012-12-21T03:37:59 < emeb> *eyeroll* 2012-12-21T03:38:48 < dongs> what. 2012-12-21T03:39:53 < dongs> man that is idiotic 2012-12-21T03:40:02 < zyp> yes. 2012-12-21T03:42:00 < dongs> cant get the fucking solder out of last holes in P2 connector 2012-12-21T03:42:06 < dongs> but I guess since its videocore only its worwthless. 2012-12-21T03:42:36 < emeb> wonder why they even bothered with it - no one outside of BCM can use it. 2012-12-21T03:42:38 < dongs> why did they evne bother putting that shit on a header 2012-12-21T03:42:42 < dongs> yeahexactly 2012-12-21T03:43:22 < zyp> probably because it's used during production? 2012-12-21T03:43:24 < emeb> today's episode is brought to you by the words "cluster" and "fuck" 2012-12-21T03:43:55 < emeb> zyp: that's the excuse I've seen floating about the webs. 2012-12-21T03:43:59 < dongs> zyp, production for what 2012-12-21T03:44:03 < dongs> testing if chip is ded? 2012-12-21T03:44:06 < zyp> doesn't the videocore bootstrap the cpu? 2012-12-21T03:44:32 < emeb> https://github.com/dwelch67/raspberrypi/tree/master/jtagproxy 2012-12-21T03:44:33 < zyp> so I imagine it has some rom to find a bootloader and stuff it into cpu ram 2012-12-21T03:44:48 < emeb> I've heard that too. 2012-12-21T03:44:54 < dongs> emeb: yeah found taht shit 2012-12-21T03:44:56 < dongs> looks fucking useles 2012-12-21T03:44:58 < dongs> cant even reset arm 2012-12-21T03:45:03 < dongs> without having to bootload again 2012-12-21T03:45:06 < dongs> fuck this shit 2012-12-21T03:45:11 < dongs> going in the pile of "shit I will never use" 2012-12-21T03:45:17 < zyp> :p 2012-12-21T03:45:20 < emeb> at least it was cheap. 2012-12-21T03:45:22 < Posterdati> zyp: receiving n bytes on the i2c is crazy! 3 different cases as Thorn said, incredible 2012-12-21T03:45:29 < zyp> yep 2012-12-21T03:45:41 < zyp> and I handle them all perfectly 2012-12-21T03:45:53 < gxti> 3? i don't think i can count that high 2012-12-21T03:45:59 < Posterdati> zyp: a monkey should designed this i2c 2012-12-21T03:46:21 < zyp> gxti, single byte read, two byte read, >2 byte read 2012-12-21T03:46:36 < Posterdati> zyp: an atmega is much better then :) 2012-12-21T03:46:36 < gxti> 1... 2... 7... portugal... blastoff! 2012-12-21T03:47:18 < gxti> so go use one 2012-12-21T03:47:37 < Posterdati> zyp: sounds like: how many stm32 are needed to receive n bytes from i2c? 2012-12-21T03:47:49 < zyp> hmm, actually I'm not handling two byte reads seperately 2012-12-21T03:48:00 < dongs> have you tested them? :) 2012-12-21T03:48:16 < dongs> i remember having to fix 2 byte shit in laurencebs code 2012-12-21T03:48:20 < zyp> it's only required when you can't guarantee driver latency 2012-12-21T03:48:31 < dongs> its either that or I couldnt figure out and just left it 2012-12-21T03:48:53 < zyp> my code has to respond to irq before the current byte transfer is done 2012-12-21T03:48:59 < zyp> or something like that 2012-12-21T03:49:15 < zyp> I'll review the i2c code later 2012-12-21T03:49:23 < zyp> probably when I add F3 support 2012-12-21T03:50:10 < zyp> the i2c code is almost the oldest part in my entire codebase 2012-12-21T03:50:19 < zyp> apart from startup/rcc stuff 2012-12-21T03:50:35 < Posterdati> zyp: people, tx for help, I'm going to bed and restart this job tomorrow! 2012-12-21T03:51:15 < zyp> I don't think I've touched it since I ported it to F4 2012-12-21T03:51:33 < zyp> and that was a year ago or so 2012-12-21T03:53:57 < emeb> wonder if I can get dongs' rotating cube demo running on an F3. Not enough SRAM for a 128x128 screen buffer. 2012-12-21T03:54:05 < emeb> might be able to shrink it down though. 2012-12-21T03:54:33 < dongs> some russkie posted on my jewtube, google translate says something like "why you gotta wasting a M4+DSP on 3d cube, I can do same shit on a C64 2012-12-21T03:54:44 < emeb> heh 2012-12-21T03:54:49 < zyp> :p 2012-12-21T03:54:58 < dongs> https://youtube.com/watch?v=4gwAFDoSIsU 2012-12-21T03:55:00 < dongs> this 2012-12-21T03:55:00 < zyp> oh well, bedtime 2012-12-21T03:55:04 < emeb> l8r 2012-12-21T03:55:09 < zyp> well, it was bedtime hours ago 2012-12-21T03:55:18 < emeb> sleep is overrrated 2012-12-21T03:55:26 < emeb> rrrrrrrrrr 2012-12-21T03:55:29 < zyp> I didn't mind the time, and now it's 02:55 2012-12-21T03:56:01 < emeb> zyp will be draggin' at work tomorrow 2012-12-21T03:56:17 < zyp> nah, it'll be okay 2012-12-21T03:57:03 < zyp> last day this year too, that's nice :) 2012-12-21T03:57:27 < gxti> same \o/ 2012-12-21T03:57:27 < dongs> man i gotta link more of my shit to HK 2012-12-21T03:57:34 < dongs> 1200 views on my rgb matrix shit 2012-12-21T03:57:40 < dongs> monetize that shit up 2012-12-21T03:58:14 < emeb> bbiab... 2012-12-21T03:58:17 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-21T04:00:39 < jef79m> dongs: sellout. 2012-12-21T04:00:45 < dongs> teehee 2012-12-21T04:00:55 < dongs> next ill post a vid of you 3d printing 2012-12-21T04:00:59 < dongs> and steal your profitz!! 2012-12-21T04:01:16 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-21T04:08:30 < jef79m> you might as well. im not allowed to monetise. 2012-12-21T04:14:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2012-12-21T04:18:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-21T04:41:00 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-21T04:41:32 -!- R0b0t1 [~Sid@unaffiliated/r0b0t1] has joined ##stm32 2012-12-21T04:46:36 -!- R0b0t1 [~Sid@unaffiliated/r0b0t1] has quit [Quit: Leaving] 2012-12-21T04:46:52 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-12-21T04:52:13 < dongs> hmm 2012-12-21T04:52:21 < dongs> trying to map out all TIM_xx outputs on F103 2012-12-21T04:52:42 < dongs> i see re map for TIM2_CH1 and TIM2_CH2 on SWO and JTDI pins 2012-12-21T04:52:55 < dongs> does that mean if I remap it, the other 2 ends of TIM2 will also be on "remap" part? 2012-12-21T04:53:20 < dongs> seems maybe no 2012-12-21T05:00:19 < dongs> o wait, theres a non-remapped version of it too 2012-12-21T05:02:42 < gxti> lol atollic. turn on garbage collection, delete all the code. turn off garbage collection, code size limit exceeded. 2012-12-21T05:03:20 < dongs> crossworks noncommercial license is like $150 2012-12-21T05:03:28 < dongs> if you want a usable IDE that works 2012-12-21T05:03:38 < dongs> and still want to stick with gcc 2012-12-21T05:05:18 < gxti> actually never mind, i think it's not deleting all the code. it's just not flashing the chip properly before debugging or something. 2012-12-21T05:10:49 < dongs> hmm. 12 or 16mhz xtal on my next board 2012-12-21T05:10:56 < dongs> so I could overclock the shit out of it 2012-12-21T05:15:17 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-21T05:16:03 < dongs> http://25.media.tumblr.com/bdd3cf15ca15d6b2c5c97a49f964b3bf/tumblr_mf5vh4HKpK1qdlh1io1_400.gif haha 2012-12-21T05:16:20 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-21T05:17:10 < dongs> baird: !!! 2012-12-21T05:17:12 < baird> Back already! .. Cycling to Jervis Bay didn't take as long as I thought it would.. 2012-12-21T05:17:19 < dongs> i have received 512meg aspieberry pi made in china 2012-12-21T05:17:22 < baird> (4 days, instead of 7) 2012-12-21T05:19:34 < baird> Free porn show at the Jervis Bay campsite, too :P (the campers in the next site were rather noisy..) 2012-12-21T05:21:07 < emeb_mac> hmmm... 2012-12-21T05:21:19 < emeb_mac> I've got a crossworks license form like 6 years ago 2012-12-21T05:21:54 < emeb_mac> probably ought to fire that bad-boy up someday and see how it works with newer processors. 2012-12-21T05:27:07 < dongs> pretty good but ide is rather horrible 2012-12-21T05:27:10 < dongs> not even code cross reference 2012-12-21T05:27:23 < dongs> they've been saying they w ere gonna fix shit like 'goto definition/goto declaration' since ver pre 2.0 2012-12-21T05:27:28 < dongs> and its on 2.3 now and sitll broken! 2012-12-21T05:27:34 < emeb_mac> urgh 2012-12-21T05:28:15 < baird> closed sores 2012-12-21T05:28:54 < gxti> sores all around 2012-12-21T05:29:15 < emeb_mac> I didn't much care for their DRM - all the codes & signatures. 2012-12-21T05:36:10 < gxti> nifty, i can use 2 PLLs to get from 10mhz -> 72mhz 2012-12-21T05:36:19 < gxti> probably with disgustingly bad jitter 2012-12-21T05:37:52 < emeb_mac> plls in the MCU? 2012-12-21T05:38:21 < gxti> of course 2012-12-21T05:38:57 < gxti> 10 / 2 * 12 / 5 * 6 = 72, all twisty-like because of the various min/max constraints on both PLLs :| 2012-12-21T05:39:31 < emeb_mac> which STM? 2012-12-21T05:39:47 < gxti> F107, it has 3 PLLs to do audio n stuff 2012-12-21T05:39:52 < emeb_mac> yep 2012-12-21T05:39:56 < gxti> but you can also pipe PLL2 back into PLL1 2012-12-21T05:40:05 < emeb_mac> I've done some audio stuff on a 105 2012-12-21T05:40:41 < gxti> and i could also have used one of them to drive the ethernet phy 2012-12-21T05:40:58 < gxti> but didn't 2012-12-21T05:54:32 -!- _BJFreeman [~bjfree@28.sub-75-244-122.myvzw.com] has quit [Ping timeout: 250 seconds] 2012-12-21T06:07:34 -!- _BJFreeman [~bjfree@58.sub-75-244-157.myvzw.com] has joined ##stm32 2012-12-21T06:09:11 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has quit [Ping timeout: 255 seconds] 2012-12-21T06:13:31 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-21T06:13:37 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-21T06:16:00 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-21T06:17:13 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has quit [Ping timeout: 245 seconds] 2012-12-21T06:18:40 -!- olasd [~olasd@pdpc/supporter/active/olasd] has quit [Read error: Operation timed out] 2012-12-21T06:20:11 -!- Tectu [tectu@kunsmann.eu] has quit [Ping timeout: 244 seconds] 2012-12-21T06:20:54 -!- fergusnoble [fergusnobl@repl.esden.net] has quit [Ping timeout: 260 seconds] 2012-12-21T06:21:13 -!- daku [DaKu@dakus.dk] has quit [Ping timeout: 244 seconds] 2012-12-21T06:26:01 -!- fergusnoble [fergusnobl@repl.esden.net] has joined ##stm32 2012-12-21T06:27:38 -!- daku [DaKu@dakus.dk] has joined ##stm32 2012-12-21T06:28:53 -!- Tectu [tectu@kunsmann.eu] has joined ##stm32 2012-12-21T06:29:11 -!- olasd [~olasd@leibniz.olasd.eu] has joined ##stm32 2012-12-21T06:29:12 -!- olasd [~olasd@leibniz.olasd.eu] has quit [Changing host] 2012-12-21T06:29:12 -!- olasd [~olasd@pdpc/supporter/active/olasd] has joined ##stm32 2012-12-21T06:31:17 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2012-12-21T06:54:03 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 2012-12-21T06:54:20 * dongs np Decay (2012) 2012-12-21T06:54:49 < dongs> a film by Laurenceb 2012-12-21T07:01:01 < baird> "We could make a Horror Movie... about the greatest fear of 2010's Middle America..." "No, make it about zombies." 2012-12-21T07:01:37 < dongs> i need subtitrles for this shit . i cant fucking understand britfag 2012-12-21T07:04:02 < dongs> found 2012-12-21T07:07:08 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-21T07:07:25 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2012-12-21T07:08:02 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-21T07:08:57 < dongs> i didnt think i;d ever say that but amy looks pretty hot 2012-12-21T07:10:35 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-21T07:12:07 < gxti> and now for the part where *i* complain about i2c. 2012-12-21T07:12:31 < dongs> haha useless subtitles lasted for first 8 mintues of hte movue only 2012-12-21T07:19:33 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-21T07:24:04 -!- jef79m is now known as jef79m_lurking 2012-12-21T07:27:30 < gxti> k now it works, probably port config never got recompiled. atollic doesn't seem to do header deps by default. 2012-12-21T07:27:55 < ds2> loose the GUI crap 2012-12-21T07:28:14 < gxti> i would if i had a working debugger otherwise 2012-12-21T07:28:51 < ds2> odd that ur debugger don't work 2012-12-21T07:29:10 < ds2> gxti: prehaps the firmware on the stlink is old? 2012-12-21T07:29:25 < gxti> nope, atollic upgayed it for me 2012-12-21T07:29:54 < ds2> and it still don't work? 2012-12-21T07:30:06 < gxti> nooooope. with openocd it just ignores breakpoints and generally sucks ass. 2012-12-21T07:30:25 < gxti> and stlink is like that plus it also ignores requests to halt sometimes too 2012-12-21T07:30:55 < ds2> odd 2012-12-21T07:31:25 < ds2> I wonder if the ftdi based JTAGs can be used in SWD mode with openocd 2012-12-21T07:31:38 < dongs> no idea and why would y ou waste time 2012-12-21T07:31:49 < dongs> jlinkob is $15 from china or $60 for jlinkedu from digikey 2012-12-21T07:32:16 < rlc> is jlinkob any good? 2012-12-21T07:32:27 < ds2> I like to use the same tools if I can 2012-12-21T07:32:29 < gxti> well stlink seems to work ok in atollic (and probably other windongs IDEs) so that will hold me until i get something with a working linux gdbserver 2012-12-21T07:32:34 < ds2> got them for the cortex-a chips already 2012-12-21T07:32:43 < dongs> rlc: its just same as any jlink 2012-12-21T07:33:04 < rlc> gxti: what's your issue with stlink? 2012-12-21T07:33:12 < ds2> i wonder if I can really use the jlinkedu w/o violating the EULA 2012-12-21T07:33:15 < gxti> r e a d u p 2012-12-21T07:34:15 < rlc> gxti: I have never got any problems with IAR 2012-12-21T07:34:16 < ds2> what part number is the jlinkedu? jlinkedu doesn't turn up anything 2012-12-21T07:34:29 < dongs> 899-1008-ND 2012-12-21T07:35:00 -!- _BJFreeman [~bjfree@58.sub-75-244-157.myvzw.com] has quit [] 2012-12-21T07:36:53 < ds2> don't think I am allowed to use it 2012-12-21T07:38:10 < gxti> then get one of the clones :P 2012-12-21T07:38:19 < dongs> yeah then get chinese jlinkob 2012-12-21T07:38:30 < dongs> http://www.hotmcu.com/usbminijtag-jlink-ob-jtagswd-emulator-with-usb-interface-p-29.html?cPath=3_25 2012-12-21T07:38:31 < gxti> still wondering about jlink vs bmp 2012-12-21T07:38:38 < dongs> jlink works. 2012-12-21T07:38:40 < ds2> not ordering from china 2012-12-21T07:38:42 < dongs> bmp = opensauce only. 2012-12-21T07:38:49 < ds2> unless I really really have to 2012-12-21T07:38:54 < dongs> they're on ebay too 2012-12-21T07:38:55 < dongs> same stuff 2012-12-21T07:38:58 < dongs> around same price. 2012-12-21T07:39:02 < ds2> don't do ebay either 2012-12-21T07:39:18 < ds2> so that really leaves either a FTDI one or a big bucks one 2012-12-21T07:40:25 < gxti> that's true, even if bmp works i couldn't use it with closed sores stuff 2012-12-21T07:43:21 < emeb_mac> gxti: tried coocox? 2012-12-21T07:43:46 < gxti> i should 2012-12-21T07:44:37 < emeb_mac> i use it w/ st-link on my f4 disco to download & debug on a custom f4 board. works great 2012-12-21T07:45:51 < emeb_mac> haven't run into any gotchas with it yet & my client uses it too w/o issues. 2012-12-21T07:46:07 < ds2> is the f4 disco's stlink the same as the f3 disco's? 2012-12-21T07:46:19 < emeb_mac> I think they're both stlink v2 2012-12-21T07:46:43 < ds2> the f3 is crippled compare to the real stlink 2012-12-21T07:46:54 < emeb_mac> what? 2012-12-21T07:46:57 < emeb_mac> how? 2012-12-21T07:47:21 < dongs> stlink is pretty slow. 2012-12-21T07:47:29 < dongs> even in windows. 2012-12-21T07:47:33 < dongs> like 30k/sec downloads. 2012-12-21T07:47:56 < dongs> jlink in production mode flashes a full 128k chip in fraction of a second 2012-12-21T07:48:20 < ds2> no voltage detect for one 2012-12-21T07:48:31 < emeb_mac> dongs: maybe so. my code is still fairly small 2012-12-21T07:48:32 < dongs> well, real stlink is $25 2012-12-21T07:48:39 < emeb_mac> cheep! 2012-12-21T07:48:50 < ds2> does trace work on the disco stlink's? 2012-12-21T07:48:58 < emeb_mac> supposed to 2012-12-21T07:49:07 < emeb_mac> if you use the 6-pin header 2012-12-21T07:49:12 < emeb_mac> instead of just 4 2012-12-21T07:49:16 < gxti> i turned it on but i have no idea what to do with it :p 2012-12-21T07:49:24 < emeb_mac> buddy of mine got it working w/ his f4 2012-12-21T07:49:47 < ds2> oooh 2012-12-21T07:49:51 < emeb_mac> can't say that lack of voltage detect has been an issue for me 2012-12-21T07:50:00 < ds2> no 2V powered boards? 2012-12-21T07:50:07 < emeb_mac> all 3.3 so far 2012-12-21T07:50:09 < ds2> or 3.5V powered ones? 2012-12-21T07:53:43 * emeb_mac is mesmerized by random colored rectangles on his LCD 2012-12-21T07:53:48 * emeb_mac is easily amused 2012-12-21T07:53:59 < ds2> emeb_mac: what's the framerate? 2012-12-21T07:54:21 < emeb_mac> no framerate - I'm drawing direct on the display buffer. 2012-12-21T07:54:43 < emeb_mac> rectangles are generated at a pretty high rate tho 2012-12-21T07:55:07 < dongs> thats all you can do... isnt it? 2012-12-21T07:55:21 < dongs> does controller have a rectangle draw op, or do you have to fill memory 2012-12-21T07:55:29 < ds2> emeb_mac: this is the SPI LCD, right? 2012-12-21T07:55:38 < emeb_mac> ds2: yep 2012-12-21T07:55:56 < ds2> how quickly does it draw it? 2012-12-21T07:56:04 < emeb_mac> dongs: I suppose you could draw to a RAM buffer and then copy the whole thing, like your cube demo 2012-12-21T07:56:41 < emeb_mac> ds2: after I optimized the SPI last night I got it to do the whole display in about 1/10 sec. 2012-12-21T07:57:00 < ds2> make a spinning cube demo that follows the accellerometer :D 2012-12-21T07:57:01 < emeb_mac> but random rectangles are smaller so they go really fast on average. 2012-12-21T07:57:12 < ds2> emeb_mac: Ohhh nice 2012-12-21T07:57:13 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has quit [Changing host] 2012-12-21T07:57:13 -!- R0b0t1 [~Dev@unaffiliated/r0b0t1] has joined ##stm32 2012-12-21T07:57:46 < emeb_mac> ds2: spinning cube w/ accel or gyro would be cool. 2012-12-21T07:57:57 < emeb_mac> could do that on the f3disco I guess. 2012-12-21T07:58:34 < ds2> then follow up with a 3D display... 2012-12-21T07:58:38 < emeb_mac> dongs has a good demo of drawing artificial horizon on a video signal like that. 2012-12-21T07:58:56 < emeb_mac> very responsive. 2012-12-21T07:59:04 < ds2> what kind of display? 2012-12-21T07:59:14 < ds2> parallel bus using the FSMC? 2012-12-21T07:59:29 < dongs> no, ntsc overlay 2012-12-21T07:59:47 < emeb_mac> genlocked with an lm1881 2012-12-21T07:59:58 < ds2> ahhhh cheating w/HW ;) 2012-12-21T08:00:08 < ds2> using the ADC to output? 2012-12-21T08:00:37 < emeb_mac> bitbang? or spi? 2012-12-21T08:07:24 < dongs> spi 2012-12-21T08:09:34 < emeb_mac> dongs: what was the horiz resolution? 2012-12-21T08:09:36 < ds2> spi controlled DAC ? 2012-12-21T08:09:46 < dongs> emeb_mac: only did on 20k sram f103 2012-12-21T08:09:47 < ds2> internal DAC too slow? 2012-12-21T08:09:49 < dongs> so i could do 400x200 2012-12-21T08:10:00 < dongs> ds2: no, just pulling signal high/low with spi 2012-12-21T08:10:07 < ds2> oh 2012-12-21T08:10:13 < emeb_mac> so using the MOSI signal as 1-bit video 2012-12-21T08:10:29 < ds2> Ohhhhh. no grey scale 2012-12-21T08:10:33 < dongs> yea man 2012-12-21T08:10:54 < emeb_mac> either white or the background video 2012-12-21T08:11:13 < ds2> didn't the 6502 variant do color? 2012-12-21T08:11:29 < emeb_mac> what - apple ][? 2012-12-21T08:12:32 < emeb_mac> that did color by running the bit clock at a harmonic of colorburst 2012-12-21T08:12:41 < ds2> atari 2600 2012-12-21T08:12:47 < emeb_mac> so you could get color by phasing your bits right 2012-12-21T08:13:11 < emeb_mac> dunno how that worked. 2012-12-21T08:13:59 < emeb_mac> I've got an old TI9918 display I built in college that does 16 color NTSC. don't recall how that worked tho. 2012-12-21T08:14:19 < baird> I wouldn't doubt that the Internets knows, as Wozinak's designed of everything have been picked apart by his adoring fans. 2012-12-21T08:15:06 < emeb_mac> probably the 2600 video is also well documented. 2012-12-21T08:15:11 < baird> The TI used a video chip, as I recall. The Apple2 and VCS did it in TTL hardware, the VCS in software. 2012-12-21T08:15:49 < emeb_mac> baird: yeah - the 9918 is the chip I used. Based on an article in Byte magazine. 2012-12-21T08:15:53 < baird> The Stella chip in the VCS was something like only half a video chip.. the cpu had to compose the rasters & etc. 2012-12-21T08:18:51 < emeb_mac> baird: have you seen this site? http://rossum.posterous.com/ 2012-12-21T08:19:03 < emeb_mac> guy does amazing video stuff with AVRs 2012-12-21T08:19:23 < emeb_mac> displays composed on the fly with little/no buffer ram. 2012-12-21T08:19:34 < dongs> ya, old 2012-12-21T08:19:42 < dongs> on some shitty atmega644 type crap 2012-12-21T08:19:51 < dongs> i think thats like 2-4k of ram 2012-12-21T08:19:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 244 seconds] 2012-12-21T08:20:30 < emeb_mac> yep - hardware is crap. the magic is in the software. 2012-12-21T08:27:17 < dongs> haha decay was pretty gay 2012-12-21T08:28:20 < emeb_mac> watched the whole thing? 2012-12-21T08:28:26 < dongs> ya 2012-12-21T09:05:45 < baird> I found about 8 "Dead Teds" hanging from trees on the ride: http://i.imgur.com/NlTVO.jpg 2012-12-21T09:08:26 < emeb_mac> mmmm... gum trees 2012-12-21T09:15:17 < dongs> https://pbs.twimg.com/media/A-iDAVjCMAA6Zpu.png:large 2012-12-21T09:22:13 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-21T09:25:59 < emeb_mac> lol 2012-12-21T09:26:14 < emeb_mac> classic "in your face" 2012-12-21T09:30:55 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-21T09:31:30 < zippe> He was a jerk then; he's still an elitist jerk now 2012-12-21T09:33:38 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2012-12-21T09:41:08 -!- R0b0t1 [~Dev@unaffiliated/r0b0t1] has quit [Ping timeout: 248 seconds] 2012-12-21T09:43:05 -!- dekar__ [~dekar@212.255.242.200] has joined ##stm32 2012-12-21T09:43:06 -!- mode/##stm32 [+v dekar__] by ChanServ 2012-12-21T09:43:08 -!- dekar_ [~dekar@212.255.242.200] has quit [Read error: Connection reset by peer] 2012-12-21T09:46:47 < Thorn> don't all rich people think like that? 2012-12-21T09:47:12 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2012-12-21T09:47:45 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-21T09:58:52 -!- dekar_ [~dekar@212.255.246.117] has joined ##stm32 2012-12-21T09:58:54 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-21T10:00:59 -!- dekar__ [~dekar@212.255.242.200] has quit [Read error: Operation timed out] 2012-12-21T10:02:57 -!- dekar_ [~dekar@212.255.246.117] has quit [Client Quit] 2012-12-21T10:03:03 < baird> Read the Jobs bio while on the trip. He comes across as a definite 'workplace psychopath'-- and not in the 'good way' of a driven-fanatic. 'soulless eyes' 2012-12-21T10:04:35 < baird> "No, he's not really unique.. You'll find people just like him managing almost every McDonalds.." 2012-12-21T10:05:03 < dongs> sounds about right 2012-12-21T10:05:19 < dongs> where's thorn when you need him 2012-12-21T10:09:58 -!- jef79m_lurking is now known as jef79m 2012-12-21T10:10:21 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-21T10:18:46 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-21T10:35:22 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-21T10:38:30 < rlc> baird: what was Jobs after? 2012-12-21T10:40:37 -!- tavish [~tavish@120.59.164.61] has joined ##stm32 2012-12-21T10:40:37 -!- tavish [~tavish@120.59.164.61] has quit [Changing host] 2012-12-21T10:40:37 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-21T10:44:11 -!- Netsplit *.net <-> *.split quits: TheSeven, jaeckel_, zyp, mervaka, claude, gurgalof, enots, iR0b0t1, ReadError, CoolBear, (+47 more, use /NETSPLIT to show all of them) 2012-12-21T10:46:27 -!- dekar_ [~dekar@dslb-088-069-155-018.pools.arcor-ip.net] has joined ##stm32 2012-12-21T10:46:27 -!- Netsplit over, joins: @ChanServ, TheSeven, Tectu, Thorn, rlc, scrts, SuicideFunky, phantoxeD, ohama, metaxa (+35 more) 2012-12-21T10:46:27 -!- ServerMode/##stm32 [+vo dekar_ ChanServ] by hitchcock.freenode.net 2012-12-21T10:46:28 -!- Netsplit over, joins: ds2, BusError, tkoskine, jef79m, LeelooMinai, Rious, zyp, mervaka, GargantuaSauce, qyx_ (+2 more) 2012-12-21T10:52:03 < Thorn> wat 2012-12-21T10:56:25 < dongs> Thorn: whats invovled to stick a can rxtx on stm32 2012-12-21T10:56:28 < dongs> just the driver? 2012-12-21T10:56:31 < dongs> got schematic part? 2012-12-21T10:56:37 < dongs> any pullup/pulldown/etc needed? 2012-12-21T10:58:06 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-21T10:58:07 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-21T11:01:09 < Thorn> this is how I do it http://i.imgur.com/7vzia.png 2012-12-21T11:01:29 < Thorn> CAN_RX & CAN_TX go directly to the mcu 2012-12-21T11:01:58 < zyp> cute leds 2012-12-21T11:02:34 < Thorn> note that most drivers are 5V unlike this one 2012-12-21T11:02:35 < dongs> huh, why so transistor 2012-12-21T11:02:57 < Thorn> because 2012-12-21T11:02:58 < zyp> for driving leds 2012-12-21T11:03:10 < dongs> OH 2012-12-21T11:03:10 < dongs> right 2012-12-21T11:03:11 < zyp> yeah, keep in mind having to get 3.3V transceiver 2012-12-21T11:03:35 < dongs> why J9/J10 2012-12-21T11:03:41 < dongs> you wanted to pulldown but didnt? 2012-12-21T11:03:49 < zyp> optional termination 2012-12-21T11:03:58 < dongs> thats not needed if its just point to point right 2012-12-21T11:04:03 < zyp> not pulldown, 120ohm terminator 2012-12-21T11:04:06 < zyp> it is 2012-12-21T11:04:17 < dongs> it is -> needed? 2012-12-21T11:04:21 < Thorn> yes 2012-12-21T11:04:23 < zyp> there must be a 60ohm total between the lines of the bus, otherwise it will not work 2012-12-21T11:04:29 < dongs> OK. 2012-12-21T11:04:29 < zyp> so 120 in each end 2012-12-21T11:04:39 < Thorn> you need to return the bus to passive state 2012-12-21T11:04:40 < zyp> or 60 in one end if it's really short 2012-12-21T11:05:04 < dongs> very nice dicktracing Thorn 2012-12-21T11:05:25 < dongs> looks heaps more professional than that bullshit brown/green colored eagle shit people post 2012-12-21T11:06:25 < zyp> it's kind of like the pullups used in i2c, except that they pull the two lines towards each other 2012-12-21T11:07:36 < Thorn> is it dominant or recessive state btw I don't remember. the bus is driven in one state and is not in another so it needs those resistors to return to that second state 2012-12-21T11:07:44 < zyp> in i2c you have a single ended signal that's driven down to send a 0, in can you have a differential signal where one line is driven down and one line is driven up to send a 0 2012-12-21T11:08:07 < zyp> driven is dominant and represent a 0, just like in i2c 2012-12-21T11:08:20 < zyp> and pulled together is recessive and signals a 1 2012-12-21T11:09:20 < Thorn> right, that's why lower addresses win collisions 2012-12-21T11:09:26 < zyp> yep 2012-12-21T11:10:59 < Thorn> btw, the builtin driver in LPC11C2x is 5V, so the chip effectively requires two voltages. fail 2012-12-21T11:11:19 -!- Viper168_ [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-21T11:11:56 -!- _BJFreeman [~bjfree@158.sub-75-196-11.myvzw.com] has joined ##stm32 2012-12-21T11:12:51 < zyp> two voltages? 2012-12-21T11:13:09 < Thorn> 3.3V and 5V 2012-12-21T11:13:36 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 260 seconds] 2012-12-21T11:24:51 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2012-12-21T11:29:55 < dongs> ha 2012-12-21T11:30:08 < dongs> i already have a SN65HVD232D 2012-12-21T11:30:12 < dongs> in my dicktrace lib 2012-12-21T11:33:16 < dongs> why you need that Rs thing 2012-12-21T11:33:19 < dongs> my 232 doesnt have it 2012-12-21T11:33:40 < Thorn> that's the difference between them 2012-12-21T11:33:53 < Thorn> it's for slope control / sleep mode 2012-12-21T11:33:56 < dongs> right but why 2012-12-21T11:34:00 < dongs> do i care about that? 2012-12-21T11:34:29 < Thorn> probably not unless battery powered 2012-12-21T11:35:26 < dongs> is CAN_TX on your schema the pin name 2012-12-21T11:35:31 < dongs> or do you ahve to reverse it 2012-12-21T11:35:44 < dongs> i mean is CAN_TX going to like pin 33 2012-12-21T11:35:47 < Thorn> pin name 2012-12-21T11:35:55 < dongs> so tx>tx, rx>rx? ok 2012-12-21T11:36:14 < Thorn> tx->D, rx->R 2012-12-21T11:36:22 < Thorn> driver/receiver 2012-12-21T11:36:24 < zyp> you can tx->tx and rx->rx 2012-12-21T11:36:49 < zyp> depending on how it's labeled 2012-12-21T11:37:20 < dongs> wat 2012-12-21T11:37:24 < dongs> < zyp> you can tx->tx and rx->rx 2012-12-21T11:37:43 < zyp> I started writing something else first, then forgot to remove it 2012-12-21T11:38:27 < zyp> I was going to say «you can just tie Rs low», but then I got unsure 2012-12-21T11:38:45 < dongs> well, its NC on 232 part. 2012-12-21T11:38:46 < dongs> ill just do that. 2012-12-21T11:38:57 < Thorn> it's sleep mode 2012-12-21T11:39:02 < Thorn> for 230 2012-12-21T11:40:18 < zyp> ah, yes, I remembered correctly 2012-12-21T11:40:37 < zyp> tying Rs low will enable max drive strength on all the transceivers that use that pin 2012-12-21T11:40:55 < zyp> well, all the ones that I've seen 2012-12-21T11:42:50 < Thorn> seems so. I've got an error then 2012-12-21T11:55:36 < karlp> http://media.digikey.com/Photos/STMicro%20Photos/ROBOT-M24LR16E-A.jpg 2012-12-21T11:55:51 < dongs> cool rfid bro 2012-12-21T11:55:59 < karlp> indeed 2012-12-21T11:56:56 <+Steffanx> A boyfriend for dongs's anime girl 2012-12-21T11:57:16 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-21T11:57:38 < dongs> Thorn: having pin numbers on parts is nice 2012-12-21T12:02:37 -!- _BJFreeman [~bjfree@158.sub-75-196-11.myvzw.com] has quit [] 2012-12-21T12:33:46 < karlp> wat? 05:40 < gxti> that's true, even if bmp works i couldn't use it with closed sores stuff 2012-12-21T12:34:07 < karlp> why wouldn't you be able to use BMP on closed source? 2012-12-21T12:34:43 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-21T12:35:02 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-21T12:36:22 <+Steffanx> sudo make install 2012-12-21T12:36:26 <+Steffanx> arh, wrong window 2012-12-21T12:36:31 < zyp> Password: 2012-12-21T12:36:33 < Thorn> Password: 2012-12-21T12:36:46 <+Steffanx> Already entered that :) 2012-12-21T12:37:13 < zyp> that would probably be a great password :p 2012-12-21T12:37:29 <+Steffanx> Probably, yes 2012-12-21T12:42:26 -!- I2Cfail [~Laurence@host86-177-214-54.range86-177.btcentralplus.com] has joined ##stm32 2012-12-21T12:46:49 < dongs> lol 2012-12-21T12:46:56 < dongs> trollenceB is failing 2012-12-21T12:47:01 < dongs> you should try doing software i2c!! 2012-12-21T12:47:47 < zyp> with overclock! 2012-12-21T12:47:56 < dongs> ya!! 2012-12-21T12:48:19 <+Steffanx> lol @ trollenceB :D 2012-12-21T12:49:36 < jpa-> I2C chip: $5 STM32F4: $15 Failing to put it together: spaceless 2012-12-21T12:52:43 < zyp> isn't Laurenceb still using F1? 2012-12-21T12:52:51 < Thorn> f4? not f1?! 2012-12-21T12:54:54 < dongs> im using F1 2012-12-21T12:55:33 -!- jef79m is now known as jef79m_lurking 2012-12-21T13:04:20 -!- I2Cfail [~Laurence@host86-177-214-54.range86-177.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2012-12-21T13:14:11 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 245 seconds] 2012-12-21T13:16:23 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-21T13:17:48 < Posterdati> hi 2012-12-21T13:18:19 <+Steffanx> lo 2012-12-21T13:18:28 < baird> Six of the Dead Teds.. http://boards.4chan.org/n/res/425297 2012-12-21T13:18:36 <+Steffanx> 4chan.......... 2012-12-21T13:18:41 < Thorn> falling_edge() 2012-12-21T13:19:37 <+Steffanx> please say you didn't post that baird 2012-12-21T13:22:01 < Posterdati> baird: did you kill it? 2012-12-21T13:23:53 < baird> The illawarra is not a good place for pedobears. 2012-12-21T13:28:12 < baird> ..and I lol'd at this sign on a cemetary gate: http://i.imgur.com/Jd3eO.jpg 2012-12-21T13:51:51 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-21T14:19:04 -!- jef79m_lurking is now known as jef79m 2012-12-21T14:34:38 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-12-21T14:35:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-21T14:36:08 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-12-21T14:39:28 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-21T14:41:55 < karlp> off by frog error! 2012-12-21T14:42:37 < Posterdati> zyp: are you there? 2012-12-21T14:42:48 < Laurenceb> supp 2012-12-21T14:42:56 < Laurenceb> another fun fail filled day 2012-12-21T14:43:24 < Laurenceb> unfortunately i have no more ideas as to how to unfail the i2c 2012-12-21T14:44:36 < Posterdati> lol 2012-12-21T14:44:49 < Posterdati> I'm stuck in the multibyte receive code for stm32f10x 2012-12-21T14:45:04 < Laurenceb> whos code are you using? 2012-12-21T14:45:11 < Posterdati> mine 2012-12-21T14:45:30 < Laurenceb> ah 2012-12-21T14:47:19 < Laurenceb> cant help you then 2012-12-21T14:47:34 < Laurenceb> stuck == hardware lockup? 2012-12-21T14:47:48 < dongs> I barely know hwo my own code works 2012-12-21T14:48:36 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-21T14:49:09 < Posterdati> Laurenceb: no, I simply didn't understand what st wrote on RM008 from page 735 on 2012-12-21T14:49:33 < Laurenceb> oh 2012-12-21T14:49:35 < Laurenceb> lol 2012-12-21T14:49:56 < dongs> i suspect ST doesn't quite understand it either 2012-12-21T14:50:05 < Laurenceb> theres different procedures for different numbers of bytes 2012-12-21T14:50:11 < Posterdati> esyes 2012-12-21T14:50:11 < Laurenceb> but the st technique doesnt work 2012-12-21T14:50:13 < Posterdati> yes 2012-12-21T14:50:27 < Laurenceb> its rather more complex if you actually want it to work 2012-12-21T14:50:30 < Posterdati> Laurenceb: and this is driving me crazy 2012-12-21T14:50:33 < Laurenceb> me too 2012-12-21T14:50:35 < Laurenceb> :P 2012-12-21T14:50:49 < Posterdati> and forced me into blasfemy 2012-12-21T14:50:58 < Laurenceb> O_o 2012-12-21T14:51:14 < Posterdati> I was able to receive one byte and to write one/many bytes 2012-12-21T14:51:25 < Posterdati> but receiving more than one byte is a mess 2012-12-21T14:52:27 < Laurenceb> im more worried about the blasphemy 2012-12-21T14:52:34 < Laurenceb> we cant allow that 2012-12-21T14:52:39 < Posterdati> me too :( 2012-12-21T14:53:06 < Laurenceb> your imam can help you 2012-12-21T14:53:21 < Posterdati> no I'm not muslim 2012-12-21T14:53:58 < Laurenceb> but you must be autistic 2012-12-21T14:54:07 < Laurenceb> or youd realise i was trolling 2012-12-21T14:55:25 < Posterdati> no I'm not geovah witness too 2012-12-21T14:55:35 < Laurenceb> /facepalm 2012-12-21T14:55:43 < Laurenceb> laptop for dongs 2012-12-21T14:55:44 < Laurenceb> http://blog.parts-people.com/2012/12/20/mobile-raspberry-pi-computer-build-your-own-portable-rpi-to-go/ 2012-12-21T14:55:49 < dongs> sup 2012-12-21T14:55:52 < Posterdati> anyway 2012-12-21T14:56:18 < dongs> The screen is 3.5" using a 4:3 aspect ratio. It uses a composite input and is able to display a resolution of 640 x 480 pixels. 2012-12-21T14:56:21 < dongs> jesus. 2012-12-21T14:56:23 < dongs> what a fuckin moron 2012-12-21T14:56:26 < Posterdati> Laurenceb: I saw a lot of code on the web, with varying solutions 2012-12-21T14:56:32 < dongs> why not use hte fucking DSI port and put a cellphone LCD on tehre 2012-12-21T14:56:36 < dongs> with like 1280x720p 2012-12-21T14:57:02 < Posterdati> Laurenceb: what about cpal? 2012-12-21T14:57:26 < dongs> now you see pal and now you dont 2012-12-21T14:57:26 < Laurenceb> http://en.wikipedia.org/wiki/Common_Public_Attribution_License ? 2012-12-21T14:57:29 < dongs> no. 2012-12-21T14:57:40 < dongs> cmon stop trollin 2012-12-21T14:57:40 < dongs> ST's I2C layer 2012-12-21T14:57:40 < dongs> thats like 80k .c file 2012-12-21T14:57:43 < dongs> wiht 5 layers of indirection 2012-12-21T14:57:46 < Laurenceb> ewwwwww 2012-12-21T14:58:03 < Laurenceb> i c you pal, shaky that jammed stop condition 2012-12-21T14:58:35 < Posterdati> :( 2012-12-21T14:59:13 < Posterdati> dongs: memory footprint is not so bad 2012-12-21T14:59:38 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Operation timed out] 2012-12-21T15:01:10 < Laurenceb> ok so i fixed my i2c 2012-12-21T15:01:19 < Laurenceb> but the gyro is still glitching 2012-12-21T15:01:22 < Laurenceb> so much fail 2012-12-21T15:03:15 -!- jef79m is now known as jef79m_lurking 2012-12-21T15:07:38 < dongs> Posterdati: of cpal? maybe. the sores are huge lol 2012-12-21T15:07:51 < dongs> i mean if you look at zyp's i2c.c its like 100 lines of code max 2012-12-21T15:08:54 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2012-12-21T15:09:48 < Posterdati> dongs: yes, I could not even understand a line of it :) 2012-12-21T15:13:05 < Laurenceb> 19.00058 -23.00070 0.00000 2012-12-21T15:13:05 < Laurenceb> 15.00046 -20.00061 -255.00778 2012-12-21T15:13:05 < Laurenceb> 15.00046 -23.00070 -3.00009 2012-12-21T15:13:22 < Laurenceb> ^some example gyro data, which the fifo implimented correctly 2012-12-21T15:13:39 < Laurenceb> the last axis is updating during a read 2012-12-21T15:14:13 < Laurenceb> im guessing it has to be the gyro itself doing it wrong 2012-12-21T15:15:06 < dongs> have you considered using softi2c for a minute to make sure fuckup is gyro and no your shitty i2c codes 2012-12-21T15:15:41 < Posterdati> Laurenceb: I'm writing a gyro stabilizer software 2012-12-21T15:16:43 < Laurenceb> cool 2012-12-21T15:16:51 < Laurenceb> dongs: actually there is a workaround 2012-12-21T15:17:01 < Posterdati> Laurenceb: and I need to retrieve data with i2c :( 2012-12-21T15:17:14 < Laurenceb> if i read the fifo before and after i can detect if the gyro got new data during the read 2012-12-21T15:17:22 < dongs> um 2012-12-21T15:17:24 < Laurenceb> if it did i chuck the data 2012-12-21T15:17:26 < dongs> dude. 2012-12-21T15:17:35 < dongs> whatever youre doing, you gotta be do ing it wrong 2012-12-21T15:17:47 < dongs> why would fifo be so fundamentally broken 2012-12-21T15:17:48 < Laurenceb> well i cant see the problem 2012-12-21T15:17:57 < Laurenceb> i dont see this on the accel 2012-12-21T15:18:01 < dongs> i mean the whole point of it is so you dont have to do that kinda shit 2012-12-21T15:18:16 < Laurenceb> maybe st broke it 2012-12-21T15:18:31 < Laurenceb> its very clearly updating in the data 2012-12-21T15:18:35 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Quit: my exit] 2012-12-21T15:19:20 < Laurenceb> theres "holes" in the fifo data 2012-12-21T15:21:03 < Laurenceb> 0,-255,-3 2012-12-21T15:21:23 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-21T15:21:25 < Laurenceb> the most significant byte updates 2012-12-21T15:21:35 < Laurenceb> which is the last one read 2012-12-21T15:34:43 < Laurenceb> yeah fifo is def broken on the gyro 2012-12-21T15:34:48 < Laurenceb> just did some more tests 2012-12-21T15:41:01 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has quit [Ping timeout: 246 seconds] 2012-12-21T15:49:40 -!- daku is now known as DaKu 2012-12-21T15:53:35 < Posterdati> zyp: are you there? 2012-12-21T15:57:19 < Laurenceb> http://www2.b3ta.com/host/creative/5631/1208095318/cokfitespluffkill.gif 2012-12-21T15:58:25 < Posterdati> cocks fighting? 2012-12-21T16:13:53 <+Steffanx> trollenceb vs dong$ 2012-12-21T16:23:00 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-21T16:24:15 < Laurenceb> http://www.catsthatlooklikehitler.com/kitler/pics/kitler1927.jpg 2012-12-21T16:28:23 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-21T16:29:41 < Posterdati> I'm reading the RM0008 at page 734, and I'm trying to understand if I have to check for MASTER_BYTE_RECEIVED before DataN-2 and DataN-1 2012-12-21T16:29:43 < Posterdati> tx 2012-12-21T16:32:18 < Laurenceb> i cant remeber sorry 2012-12-21T16:34:27 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2012-12-21T16:52:01 < emeb_mac> g'mornin i2c failers 2012-12-21T16:52:12 <+Steffanx> 20 minutes remaining: http://billioncountdown.com/ 2012-12-21T16:52:28 < Posterdati> good morning general failer 2012-12-21T16:52:36 < emeb_mac> oh snap! 2012-12-21T16:53:29 * emeb_mac feels lucky to have avoided st i2c fail so far 2012-12-21T16:54:55 < emeb_mac> Steffanx: so does gangnam style hit 1bill at exactly the moment that the mayan calendar runs out? 2012-12-21T16:55:13 <+Steffanx> They say it does :) 2012-12-21T16:55:52 < emeb_mac> and dongs bought an rpi 2012-12-21T16:56:08 <+Steffanx> Isn't it already is his "not going to use" box? 2012-12-21T16:56:17 < emeb_mac> all the signs point to apocalypse 2012-12-21T16:56:22 < dongs> thats not quite corect - I "bought" it in august 2012-12-21T16:56:35 <+Steffanx> I bought i in may and received it somewhere end may :) 2012-12-21T16:56:58 < emeb_mac> wonder if BCM's I2C works better 2012-12-21T16:57:54 < emeb_mac> we'll never know because their JTAG is served with a generous portion of failsauce 2012-12-21T16:59:55 <+Steffanx> Some people complain way too much 2012-12-21T17:00:07 < zyp> indeed 2012-12-21T17:00:20 < dongs> zyp, did you get your dixus4 yet 2012-12-21T17:00:40 <+Steffanx> Why dongs is so into dicks? 2012-12-21T17:01:04 < zyp> dongs, kinda 2012-12-21T17:01:08 < zyp> the one I ordered yesterday is ready for pickup in Oslo now 2012-12-21T17:01:20 < dongs> :) 2012-12-21T17:01:50 < zyp> I'm getting a friend to pick it up when he's off work today, and then I'll get it from him tomorrow 2012-12-21T17:02:41 < dongs> http://i.imgur.com/dRxLv.jpg 2012-12-21T17:03:25 < Laurenceb> lol 2012-12-21T17:04:22 < emeb_mac> that's it - selling all my apple stock and throwing an apocalypse party. 2012-12-21T17:04:30 < Posterdati> zyp: no way to make the i2c works 2012-12-21T17:04:54 < zyp> works for me 2012-12-21T17:05:03 < Posterdati> lucky you 2012-12-21T17:05:47 < emeb_mac> just bitbang all the things 2012-12-21T17:06:16 < Laurenceb> im scared now 2012-12-21T17:06:17 < zyp> and quite honestly it was way less complex than getting usb working, so nowadays i2c seems like a walk in the park :) 2012-12-21T17:07:26 <+Steffanx> Without legs that's pretty hard zyp 2012-12-21T17:07:43 < emeb_mac> you insensitive clod 2012-12-21T17:08:49 <+Steffanx> I offendend someone? 2012-12-21T17:08:50 < zyp> Steffanx, yeah, sure, and implementing i2c on stm32 is pretty hard without actually having an stm32 2012-12-21T17:10:54 <+Steffanx> At least we can try to 'emulate' walking with artificial legs. Just like we can emulate the stm32 :P 2012-12-21T17:11:39 < zyp> that's the sign of a great analogy! 2012-12-21T17:11:57 -!- ntfreak_ is now known as ntfreak 2012-12-21T17:12:42 < Laurenceb> rule34? 2012-12-21T17:13:06 <+Steffanx> Sure 2012-12-21T17:15:11 -!- Viper168_ [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2012-12-21T17:17:26 < Laurenceb> hmf logic16 is expensive 2012-12-21T17:17:36 < Laurenceb> going to have to order it anyway :( 2012-12-21T17:17:37 < zyp> no, it's not 2012-12-21T17:17:49 < dongs> uh 2012-12-21T17:17:49 < Laurenceb> i guess for what it is its cheap 2012-12-21T17:17:50 < dongs> what the fuck 2012-12-21T17:17:56 < dongs> why would you get that shiti 2012-12-21T17:17:59 < Laurenceb> but still £250 2012-12-21T17:18:03 < dongs> ripoff. 2012-12-21T17:18:09 < Laurenceb> what does dongs use? 2012-12-21T17:18:18 < dongs> POKEANA 2012-12-21T17:18:21 < Laurenceb> i need to grab multiple i2c busses at once 2012-12-21T17:18:46 < Laurenceb> pokemon? 2012-12-21T17:18:54 < zyp> poke hole 2012-12-21T17:18:57 < dongs> http://www.acute.com.tw/product/la.php i use this shit. 2012-12-21T17:19:13 < gxti> dongs used ANALYZE! it's not very effective... 2012-12-21T17:20:18 < dongs> zyp: lol'd 2012-12-21T17:20:35 < dongs> the protocol decoders in this stuff are awesome 2012-12-21T17:20:51 < dongs> plus the chinks actually reply to support emails and get stuff done 2012-12-21T17:21:10 < dongs> i found a bug in their smartcard decoder, they sent me fixed shit same day 2012-12-21T17:21:18 < dongs> hten similar stuff with DMX decoder 2012-12-21T17:22:17 < zyp> how much is one of those? 2012-12-21T17:23:34 < dongs> https://youtube.com/watch?v=GEGMzQjd-dc aaahaha 2012-12-21T17:24:06 < dongs> zyp: i dunno, it was pretty rapey in jp 2012-12-21T17:24:07 < dongs> http://www.jds.co.jp/?page_id=107 2012-12-21T17:24:12 <+Steffanx> 20k viewer remaining 2012-12-21T17:24:15 < dongs> but thts just OEM'd version of that 2012-12-21T17:24:19 < dongs> travelogin thing 2012-12-21T17:27:14 <+Steffanx> lol that script totally fails 2012-12-21T17:27:23 <+Steffanx> http://billioncountdown.com/ .. back to 24 hours :D 2012-12-21T17:27:38 < Laurenceb> 9days 7 hours 2012-12-21T17:28:11 < dongs> haha now it redirects to a porn site 2012-12-21T17:28:15 <+Steffanx> YEAH 2012-12-21T17:28:17 <+Steffanx> LOLOL 2012-12-21T17:28:20 < dongs> troll'd 2012-12-21T17:28:29 <+Steffanx> it didn't for me 2012-12-21T17:29:07 < dongs> http://www.hacker-datentechnik.de/shop/article_4GHz%2520-%2520Logikanalysator%2520-%2520TL-2236-72Mbit/4GHz---Logikanalysator---TL-2236-72Mbit.html?shop_param=cid%3D19%26aid%3D4GHz%2520-%2520Logikanalysator%2520-%2520TL-2236-72Mbit%26 2012-12-21T17:29:11 < dongs> ouch 2012-12-21T17:29:50 < dongs> k bed 2012-12-21T17:30:14 <+Steffanx> g 2012-12-21T17:30:16 <+Steffanx> n 2012-12-21T17:39:04 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-21T17:39:48 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-21T17:43:54 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-21T17:52:01 < Posterdati> zyp: I find out my i2c problems, it works! 2012-12-21T17:52:07 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-21T17:53:36 < Posterdati> I like the way indians designed the stm32 i2c device, so crazy and blasfemy proned 2012-12-21T17:56:38 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-21T18:02:34 < Posterdati> zyp: anyway page 734 of RM0008 was the major help! 2012-12-21T18:04:32 < emeb> got it working, eh? 2012-12-21T18:06:19 < Posterdati> for n > 2 2012-12-21T18:06:29 < emeb> nice. 2012-12-21T18:06:50 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-21T18:27:51 < Laurenceb> http://pastebin.com/NJyKMDZk 2012-12-21T18:27:59 < Laurenceb> can anyone explain whats happening? 2012-12-21T18:28:15 < Laurenceb> you can see the array is kind of mirrored 2012-12-21T18:28:23 < zyp> tip: set print pretty on 2012-12-21T18:28:32 < Laurenceb> ok 2012-12-21T18:28:46 < Laurenceb> is there any way gdb could be screwing upo? 2012-12-21T18:29:30 < Laurenceb> seems first and last n bytes of data[n-1][..] are mirrored 2012-12-21T18:29:54 < Laurenceb> yet stepping through the code everything looks ok 2012-12-21T18:30:37 < zyp> what's the dimentions? you are doing 8 byte reads? 2012-12-21T18:30:42 < Laurenceb> yes 2012-12-21T18:30:51 < Laurenceb> well not all reads are 8 bytes 2012-12-21T18:31:11 < Laurenceb> extern volatile uint8_t Rawdata[11][8]; 2012-12-21T18:31:27 < zyp> what addrs are you reading? 2012-12-21T18:31:36 < Laurenceb> accel and gyro on lsm330d 2012-12-21T18:31:50 < zyp> sure, but what exact register addrs are you reading? 2012-12-21T18:31:51 < Laurenceb> https://github.com/Laurenceb/STM32InertialMonitor/blob/master/Sensors/amb_sensors.h 2012-12-21T18:31:58 < zyp> ok 2012-12-21T18:32:21 < Laurenceb> its looping lines 67 to 70 2012-12-21T18:32:26 < zyp> so accel 0x30 and gyro 0xd2 2012-12-21T18:32:50 < Laurenceb> yes 2012-12-21T18:33:44 < zyp> are you seeing weird behavior on both? 2012-12-21T18:33:50 < Laurenceb> yes 2012-12-21T18:33:59 < Laurenceb> accel, last byte is mirrored with byte1 2012-12-21T18:34:09 < Laurenceb> gyro, last two bytes mirror first two 2012-12-21T18:36:09 < Laurenceb> unless its a "feature" 2012-12-21T18:36:12 < Posterdati> Laurenceb: did you reset the gyro chip? 2012-12-21T18:36:20 < Laurenceb> yes 2012-12-21T18:36:22 < zyp> Laurenceb, wait, this is lsm330d? 2012-12-21T18:36:26 < Laurenceb> yes 2012-12-21T18:36:41 < Posterdati> I'm using it on an olimex stm32-h107 board 2012-12-21T18:36:42 < Laurenceb> maybe if you start reading fifo it loops 2012-12-21T18:36:47 < Laurenceb> cool 2012-12-21T18:36:55 < zyp> Laurenceb, why 0x30? 2012-12-21T18:36:57 < Posterdati> I selected stream mode 2012-12-21T18:37:00 < Laurenceb> me too 2012-12-21T18:37:01 < Posterdati> for fifo 2012-12-21T18:37:09 < Posterdati> lsm303dlhc 2012-12-21T18:37:41 < Laurenceb> zyp: due to addr pin config 2012-12-21T18:38:00 < zyp> ah, fuck, I meant register addr, not i2c addr 2012-12-21T18:38:10 < zyp> so, 0xa0 2012-12-21T18:38:16 < zyp> and 0xa8 for gyro 2012-12-21T18:38:22 < Laurenceb> ohhh 2012-12-21T18:38:26 < Laurenceb> i think it loops 2012-12-21T18:38:31 < zyp> no, a8 for both actually 2012-12-21T18:38:32 < Laurenceb> undocumented "feature" 2012-12-21T18:38:43 < zyp> a8 is correct 2012-12-21T18:38:50 < zyp> and yes, it loops 2012-12-21T18:39:01 < Laurenceb> how do you know? 2012-12-21T18:39:35 < zyp> Each time data is read from the 2012-12-21T18:39:35 < zyp> FIFO, the oldest pitch, roll and yaw data are placed in the OUT_X_L_G, OUT_X_H_G, 2012-12-21T18:39:36 < Laurenceb> hmm maybe this will fix fifo weirdness 2012-12-21T18:39:38 < zyp> OUT_Y_L_G, OUT_Y_H_G and OUT_Z_L_G, OUT_Z_H_G registers and both single read 2012-12-21T18:39:40 < zyp> and read_burst (X,Y & Z with autoincremental address) operations can be used. When data 2012-12-21T18:39:43 < zyp> included in OUT_Z_H_G is read, the system again starts to read information from addr 2012-12-21T18:39:46 < zyp> OUT_X_L _G. 2012-12-21T18:39:51 < Laurenceb> oh 2012-12-21T18:39:55 < Laurenceb> missed that thanks 2012-12-21T18:40:08 < Laurenceb> ill see if this can fix the fifo corruption 2012-12-21T18:46:32 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-21T19:03:36 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-21T19:04:35 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-21T19:05:32 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200286.dsl.bell.ca] has joined ##stm32 2012-12-21T19:05:32 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200286.dsl.bell.ca] has quit [Changing host] 2012-12-21T19:05:32 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-21T19:10:26 -!- _BJFreeman [~bjfree@155.sub-75-244-183.myvzw.com] has joined ##stm32 2012-12-21T19:21:02 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-21T19:26:59 < Laurenceb> funtimes 2012-12-21T19:27:05 < Laurenceb> more broken than ever now 2012-12-21T19:27:09 < emeb> :( 2012-12-21T19:27:20 < Laurenceb> stop jammed 2012-12-21T19:28:27 < zyp> sounds fun 2012-12-21T19:28:36 < zyp> for some reason that has never happened for me 2012-12-21T19:28:54 -!- upgrdman_ [429f3cfe@blender/artist/upgrdman] has joined ##stm32 2012-12-21T19:33:17 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-21T19:36:54 <+Steffanx> lol, zyp 2012-12-21T19:37:35 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has quit [Quit: Leaving] 2012-12-21T19:38:38 < Laurenceb> hmf im out of ideas 2012-12-21T19:38:46 < Laurenceb> tried all permutations/combinations 2012-12-21T19:39:11 < zyp> tried my code? :p 2012-12-21T19:40:16 < Laurenceb> link? 2012-12-21T19:40:26 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2012-12-21T19:47:37 -!- claude is now known as Claude 2012-12-21T19:49:12 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-21T19:53:31 < Laurenceb> well that concludes another day of fail 2012-12-21T19:53:41 < Laurenceb> some more -ive progress made on i2c 2012-12-21T19:53:47 < Laurenceb> back tomorrow i guess :P 2012-12-21T19:54:13 < emeb> Laurenceb: planning for a joyous holiday season I see 2012-12-21T19:55:12 < Laurenceb> yes 2012-12-21T19:55:22 < Laurenceb> lots of jammed stop bits for christmas 2012-12-21T19:55:52 < Laurenceb> ill probably just rewrite it for F3 2012-12-21T19:56:02 < Laurenceb> then it might stand a chance of working 2012-12-21T19:56:21 < Laurenceb> logic16 will help when it arrives 2012-12-21T19:56:32 < Laurenceb> but i can see pretty clearly that stop bit just jams 2012-12-21T19:56:50 < Laurenceb> so time for F3 i guess 2012-12-21T20:01:33 < emeb> hmmm.... why is my build not linking in libmath? 2012-12-21T20:01:52 < emeb> I have -lm, but it doesn't find sin, cos, sqrt 2012-12-21T20:10:15 < Posterdati> did you include cmath or math.h? 2012-12-21T20:13:43 < emeb> yes 2012-12-21T20:16:19 < Laurenceb> aha fixed the i2c 2012-12-21T20:16:28 < Laurenceb> needed better pull ups 2012-12-21T20:16:40 < emeb> better as in??? 2012-12-21T20:17:03 < emeb> smaller/larger/brighter colors 2012-12-21T20:17:25 < Laurenceb> smaller 2012-12-21T20:18:03 < emeb> wait - you were already at like 500ohm. what now? 2012-12-21T20:18:26 < Laurenceb> not on all the cables 2012-12-21T20:18:30 < emeb> ah 2012-12-21T20:18:36 < Laurenceb> ive put 1K on all now and it works 2012-12-21T20:18:44 < Laurenceb> but.. fifo is still glitchy :P 2012-12-21T20:18:54 < Laurenceb> so nothing has been acheived 2012-12-21T20:19:14 < emeb> not true - you have more reliable I2C phy layer 2012-12-21T20:19:56 < Laurenceb> and the fifo read is more efficient 2012-12-21T20:20:02 < Laurenceb> but its still unusable 2012-12-21T20:21:20 -!- DaKu is now known as daku 2012-12-21T20:22:44 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-21T20:22:44 < Laurenceb> going to have to try this without fifo 2012-12-21T20:23:32 < cdh> Laurenceb: When I was doing my I2C driver code (F4), I also ran into a hang state. It would act the same way with just a stop bit. It took a while to figure out, but it turned out my code wasn't waiting for the hardware to finish before hitting the I2C master with another op. 2012-12-21T20:25:15 < Laurenceb> yeah i know that one 2012-12-21T20:25:18 < Laurenceb> its documented 2012-12-21T20:29:52 < emeb> ah - linker problem solved. Needed to put -lm at the end of linker cmd line. 2012-12-21T20:34:53 < emeb> w00t - got dongs' cube demo running on F373: http://www.youtube.com/watch?v=WcvtwhCCqD0 2012-12-21T20:35:30 < gxti> kyoob 2012-12-21T20:35:53 < emeb> the blue cube 2012-12-21T20:36:24 -!- gurgalof [~gurgalof@dhcp-237-179.nomad.chalmers.se] has joined ##stm32 2012-12-21T20:37:04 -!- dekar_ [~dekar@dslb-088-069-155-018.pools.arcor-ip.net] has quit [Read error: Operation timed out] 2012-12-21T20:41:14 < Laurenceb> so has anyone here got an st sensor with fifo up and running? 2012-12-21T20:41:37 < zyp> I'm not using fifo on mine 2012-12-21T20:41:59 < Laurenceb> the fifo implementation seems to be buggy 2012-12-21T20:42:15 < Laurenceb> i'm seeing same problem on accel as on the gyro 2012-12-21T20:42:24 < zyp> yeah, always blame everythin but your code 2012-12-21T20:42:39 < Laurenceb> well ive tried three different ways to do this now 2012-12-21T20:42:50 < Laurenceb> same results every time 2012-12-21T20:42:56 < zyp> then it's not different enought 2012-12-21T20:42:59 < zyp> -t 2012-12-21T20:43:48 < Laurenceb> i can see it in gdb 2012-12-21T20:44:27 < Laurenceb> fifo jumps if a sample comes in during an i2c read 2012-12-21T20:45:01 < zyp> well 2012-12-21T20:45:21 < zyp> again, you don't check the number of samples in fifo before you read fifo? 2012-12-21T20:45:31 < Laurenceb> i do now 2012-12-21T20:45:45 < zyp> and then you only read that number of samples? 2012-12-21T20:45:52 < Laurenceb> yes 2012-12-21T20:46:04 < zyp> which is what? 2012-12-21T20:46:10 < zyp> (in practice) 2012-12-21T20:46:11 < Laurenceb> around 14 2012-12-21T20:46:23 < zyp> always? even when it's glitching? 2012-12-21T20:46:43 < Laurenceb> well it alternates between 13 and 14 2012-12-21T20:46:59 < zyp> and fifo rooms 32 or so? 2012-12-21T20:46:59 < Laurenceb> its always 13 or 14 2012-12-21T20:47:09 < Laurenceb> yes 2012-12-21T20:47:38 < zyp> hmm 2012-12-21T20:48:00 < zyp> maybe I can whip up something for the accel on F4disco, I assume that has fifo? 2012-12-21T20:49:12 < Laurenceb> nope 2012-12-21T20:49:16 < Laurenceb> but f3discovery does 2012-12-21T20:50:11 < Laurenceb> in fact i suspect f3discovery has the same gyro 2012-12-21T20:50:15 < Laurenceb> in another package 2012-12-21T20:50:45 < zyp> well, I don't support F3 I2C yet :p 2012-12-21T20:50:47 < zyp> hmm 2012-12-21T20:50:58 < zyp> but my F4 board got ST sensors 2012-12-21T20:51:06 < zyp> LSM303DLM and L3GD20 2012-12-21T20:51:15 < Laurenceb> doh 2012-12-21T20:51:22 < Laurenceb> yes the f4 gyro is the same too 2012-12-21T20:51:36 < zyp> doesn't F4 only have an accel? 2012-12-21T20:51:50 < Laurenceb> yeah 2012-12-21T20:52:02 < Laurenceb> s/f4/your board 2012-12-21T20:52:23 < Laurenceb> l3gd20 seems to be whats on lsm330d 2012-12-21T20:52:26 < zyp> ah, ok 2012-12-21T20:52:42 < Laurenceb> well ive got to catch a train 2012-12-21T20:52:47 < Laurenceb> thanx for the help 2012-12-21T20:52:52 * Laurenceb bbl 2012-12-21T20:56:24 < emeb> zyp: see the f3 cube? 2012-12-21T20:57:32 < zyp> yeah, saw it 2012-12-21T20:57:33 < zyp> neat 2012-12-21T21:06:07 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-21T21:06:49 < emeb> man - looking at the duty cycles on the demo. It spends 1.5ms computing the image and ~80ms transferring it to the display. 2012-12-21T21:07:27 < zyp> :) 2012-12-21T21:07:51 < zyp> well, it's not a very complex rendering :p 2012-12-21T21:08:09 < emeb> true. also a pretty slow display. 2012-12-21T21:08:26 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-21T21:08:28 < emeb> SPI clock is ~5MHz (7.5MHz max per data sheet) 2012-12-21T21:08:54 < emeb> and I have to space out the byte transfers to about 2.5us or the display hangs. 2012-12-21T21:09:15 < zyp> heh 2012-12-21T21:11:00 < emeb> would be interesting to see how fast that would run on one of the waveshare LCD boards w/ parallel interface. 2012-12-21T21:12:14 < zyp> let's see 2012-12-21T21:13:45 < zyp> hmm, the server waveshare are storing documentation on is slow :p 2012-12-21T21:15:19 -!- Titan___ [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-21T21:17:00 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 260 seconds] 2012-12-21T21:17:13 -!- Titan___ is now known as TitanMKD 2012-12-21T21:17:29 < zyp> looks like the chip can be written at 10MHz and read at 1MHz, if I'm reading this correctly 2012-12-21T21:17:36 < zyp> and interface is 16-bit wide 2012-12-21T21:17:50 < emeb> 16kB/buffer 2012-12-21T21:18:38 < emeb> so 16ms refresh vs ~80 for SPI 2012-12-21T21:19:53 < zyp> hmm, I assume it can be fed RGB565, so one pixel in 16 bits 2012-12-21T21:20:02 < emeb> about 5x faster. I guess that's about right given I'm writing bytes at 2.5us/ea, so 5us/word vs 1us/word on the parallel 2012-12-21T21:20:07 < emeb> oh wait 2012-12-21T21:20:11 < emeb> 10MHz write 2012-12-21T21:20:14 < emeb> so 50x faster. 2012-12-21T21:20:17 < emeb> much better 2012-12-21T21:20:23 < zyp> so 7.7ms for a full refresh, I guess 2012-12-21T21:20:41 < emeb> yeah 2012-12-21T21:21:07 < emeb> I was going by the size of my buffer, not the 320x200 capability of the wvshare part 2012-12-21T21:21:17 < zyp> 320x240 2012-12-21T21:21:38 < zyp> provided that 10MHz is actual 2012-12-21T21:21:52 < emeb> yeah - who knows. 2012-12-21T21:22:17 < zyp> it says t_cycle is 100ns for a write operation 2012-12-21T21:22:56 < zyp> ah, yes, should be achievable in bursts 2012-12-21T21:28:46 < emeb> Would probably have to hang it on the FSMC to get that speed I'd imagine. 2012-12-21T21:28:56 < emeb> so can't do it on the F3 2012-12-21T21:29:48 -!- dekar [~dekar@212.255.246.117] has joined ##stm32 2012-12-21T21:29:52 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-21T21:33:26 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-12-21T21:44:12 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-21T21:48:31 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-21T22:07:36 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has quit [Ping timeout: 256 seconds] 2012-12-21T22:11:05 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Read error: Connection reset by peer] 2012-12-21T22:11:23 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-21T22:14:58 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-21T22:18:59 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 260 seconds] 2012-12-21T22:21:30 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-21T22:23:24 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-21T22:28:37 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2012-12-21T22:28:41 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:69a6:ced6:6ae0:53ce] has joined ##stm32 2012-12-21T22:30:00 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-21T22:30:00 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-21T22:30:00 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-21T22:30:01 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-21T22:38:00 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-21T22:43:28 -!- gurgalof [~gurgalof@dhcp-237-179.nomad.chalmers.se] has quit [Quit: Leaving] 2012-12-21T22:43:39 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2012-12-21T22:44:19 -!- gurgalof [~gurgalof@dhcp-237-179.nomad.chalmers.se] has joined ##stm32 2012-12-21T22:46:37 < emeb> Oh look - a hack to run that LCD SPI faster: http://fabienroyer.wordpress.com/2011/05/29/driving-an-adafruit-st7735-tft-display-with-a-netduino/ 2012-12-21T22:47:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-21T22:47:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-21T22:50:11 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-21T22:51:55 < emeb> ST-Link V2 firmware update? Someone (gxti?) mentioned this yesterday. http://www.st.com/internet/evalboard/product/251168.jsp 2012-12-21T22:58:27 < zyp> hmm? 2012-12-21T22:59:41 < zyp> heh, not a hack 2012-12-21T22:59:56 < zyp> just «writing larger blocks than single pixels speeds it up» 2012-12-21T23:01:35 < zyp> latest stlink firmware seems to be 2.16.4, from october 2012-12-21T23:02:24 < zyp> adds fpu register support and jtag hotplug detection according to release note 2012-12-21T23:02:28 < emeb> well, hack in the sense of bypassing the CD4050 buffer. 2012-12-21T23:02:30 < zyp> in addition to some other stuff 2012-12-21T23:02:42 < zyp> ah, didn't read that part 2012-12-21T23:02:55 < emeb> allows the SPI clock to run much faster. 2012-12-21T23:08:22 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-21T23:22:47 -!- Claude is now known as claude 2012-12-21T23:24:49 < gxti> emeb: what about it? 2012-12-21T23:32:15 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:69a6:ced6:6ae0:53ce] has quit [Remote host closed the connection] 2012-12-21T23:46:39 < emeb> just noting the presence of the update on the ST website as opposed to via the atollic IDE update. 2012-12-21T23:47:25 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-21T23:49:51 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-21T23:49:51 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-21T23:49:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-21T23:49:54 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-21T23:55:47 < Posterdati> hi 2012-12-21T23:55:58 < Posterdati> how can I get the systick value? 2012-12-21T23:56:17 < zyp> STK.VAL 2012-12-21T23:57:50 < Posterdati> ? 2012-12-21T23:57:53 < Posterdati> what is it? 2012-12-21T23:59:01 < Posterdati> systick -> val --- Day changed Sat Dec 22 2012 2012-12-22T00:00:54 < _BJFreeman> do a google on stm32 STK.VAL 2012-12-22T00:03:02 < Posterdati> there's no STK_VAL in st library 2012-12-22T00:04:19 < jpa-> then just look into systicktypedef or whatever it is 2012-12-22T00:04:26 < Posterdati> found 2012-12-22T00:04:27 < jpa-> grep is your friend 2012-12-22T00:04:33 < Posterdati> Systick -> VAL 2012-12-22T00:04:42 < Posterdati> SysTick -> VAL 2012-12-22T00:07:52 <+Steffanx> grep isn't your friend where the windblowz jpa- 2012-12-22T00:10:06 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c880:5d61:2b96:cb2b] has joined ##stm32 2012-12-22T00:10:11 < jpa-> they call it findstr 2012-12-22T00:10:54 < jpa-> is Posterdati like a reverse-trollence? no-one uses spaces around -> in C 2012-12-22T00:11:19 < zyp> I use spaces around --> in C 2012-12-22T00:11:38 < zyp> like this: while(i --> 0) 2012-12-22T00:11:53 < Posterdati> I like to put spaces around -> 2012-12-22T00:12:18 < Posterdati> so sexy 2012-12-22T00:12:20 <+Steffanx> more is less 2012-12-22T00:12:22 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c880:5d61:2b96:cb2b] has quit [Remote host closed the connection] 2012-12-22T00:12:30 < jpa-> zyp: :D 2012-12-22T00:12:49 <+Steffanx> I can get you stome stuff when you want space Posterdati 2012-12-22T00:12:51 < zyp> it's the «goes to»-operatir 2012-12-22T00:12:57 < zyp> or towards 2012-12-22T00:13:05 < zyp> «while i goes towards 0» 2012-12-22T00:13:16 < jpa-> i also like to assign signals in C using foo <= 0; 2012-12-22T00:13:27 < Posterdati> this is the fuck operator 8==D 2012-12-22T00:13:37 < Posterdati> or 2012-12-22T00:13:38 <+Steffanx> Only half of it.. 2012-12-22T00:13:41 < zyp> also, I'm just joking, since I have never used it in a serious program 2012-12-22T00:13:42 < Posterdati> this is the fuck operator 8==B 2012-12-22T00:13:53 < jpa-> zyp: but i love the idea 2012-12-22T00:14:02 < zyp> it's a neat trick :) 2012-12-22T00:14:02 <+Steffanx> Nah, now it's not funny anymore zyp 2012-12-22T00:14:12 <+Steffanx> Never say you are joking when you are joking :P 2012-12-22T00:14:43 < zyp> I'm always say I'm joking when I'm dead serious 2012-12-22T00:15:04 <+Steffanx> okok 2012-12-22T00:19:22 < gxti> emeb: k 2012-12-22T00:43:55 -!- I2Cfail [~Laurence@host86-136-118-118.range86-136.btcentralplus.com] has joined ##stm32 2012-12-22T00:44:34 < I2Cfail> sup 2012-12-22T00:46:28 < Posterdati> I2Cfail: hi 2012-12-22T00:46:37 < Posterdati> I2Cfail: are you my friend? 2012-12-22T00:47:51 <+Steffanx> You are friends with trollenceb? 2012-12-22T00:48:28 < I2Cfail> maybe :P 2012-12-22T00:48:33 <+Steffanx> i mean Posterdati 2012-12-22T00:48:37 < Posterdati> because he failed the i2c too 2012-12-22T00:48:49 < emeb> we're in an I2C self-help group? 2012-12-22T00:48:57 < Posterdati> no 2012-12-22T00:49:07 < Posterdati> we are in deep trouble. 2012-12-22T00:49:19 <+Steffanx> mental or physical trouble? 2012-12-22T00:49:24 < Posterdati> both 2012-12-22T00:49:26 < emeb> follow the 12 steps. mumble the serenity prayer. 2012-12-22T00:49:44 <+Steffanx> hummmmmm, hummm, hummmmmmm 2012-12-22T00:49:53 < Posterdati> then I'dm going to see 7 of 9 ass 2012-12-22T00:50:48 < Posterdati> se's the third cocksucker of the unifucking zero 2012-12-22T00:53:18 < I2Cfail> lol 2012-12-22T00:53:25 < I2Cfail> is zyp around? 2012-12-22T00:53:36 < Posterdati> zyp of nine 2012-12-22T00:55:23 < Posterdati> borg was a tennis guy 2012-12-22T00:55:27 <+Steffanx> Posterdati received my mushrooms? 2012-12-22T00:55:35 < Posterdati> no 2012-12-22T00:55:44 <+Steffanx> Hmm, so what ARE you spacing on? 2012-12-22T00:55:53 < emeb> Star Trek 2012-12-22T00:56:01 < Posterdati> is the huge load of blasfemies 2012-12-22T00:56:06 < Posterdati> spacing? Where? 2012-12-22T00:56:18 <+Steffanx> Not in trollenceb's code 2012-12-22T00:56:40 < I2Cfail> blasfemies?! 2012-12-22T00:56:43 < I2Cfail> oh no 2012-12-22T00:56:44 <+Steffanx> Laurenceb, you should rename to trollenceb.. 2012-12-22T00:57:00 <+Steffanx> so i can tab-complete your nick 2012-12-22T00:57:11 < I2Cfail> http://www.rathergood.com/seepage 2012-12-22T00:57:43 <+Steffanx> ok .. 2012-12-22T00:58:06 < zyp> I'm currently busy 2012-12-22T00:58:06 < emeb> my favorite -> http://www.rathergood.com/moon_song 2012-12-22T00:58:15 < zyp> will probably be around in a hour or so 2012-12-22T00:58:50 <+Steffanx> I'm busy too 2012-12-22T00:59:10 < emeb> I ought to be busy but I'm wasting time 2012-12-22T00:59:29 < Posterdati> I2Cfail: flange is referred to cock flange? 2012-12-22T00:59:45 <+Steffanx> busy wasting time is busy too emeb 2012-12-22T00:59:48 < I2Cfail> zyp: did you get gyro working? 2012-12-22T01:00:12 < I2Cfail> i did some more tests 2012-12-22T01:00:15 < ds2> more gyro problems? 2012-12-22T01:00:31 < I2Cfail> it only seems to occur if the fifo has more than 2 samples 2012-12-22T01:00:52 < I2Cfail> ds2: the lsm330d gyro and accel fifos seem to be buggy 2012-12-22T01:01:26 < ds2> I2Cfail: know if you see the problem on the older discrete gyro (L3G4200)?> 2012-12-22T01:01:32 < Posterdati> https://twitter.com/HackerHuntress 2012-12-22T01:01:39 < I2Cfail> no 2012-12-22T01:01:43 < I2Cfail> i dont know 2012-12-22T01:01:57 < I2Cfail> it updates the data mid sample sometimes 2012-12-22T01:02:04 < Posterdati> I2Cfail: my DCM sucks, but on 2560 works great 2012-12-22T01:02:11 < ds2> mid sample as in between 2 bytes? 2012-12-22T01:02:18 < I2Cfail> yes 2012-12-22T01:02:35 < ds2> wouldn't be surprised...seen bugs like that elsewhere 2012-12-22T01:02:45 < ds2> how bad is it to read on DRDY and ignore the fifo? 2012-12-22T01:03:01 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-22T01:03:08 < I2Cfail> i have other sensors on the bus 2012-12-22T01:03:18 < I2Cfail> and need to sample accel at 1350sps 2012-12-22T01:03:22 < ds2> how fast are you clocking the bus at now? 2012-12-22T01:03:23 < I2Cfail> so it wont really work 2012-12-22T01:03:26 < Posterdati> it uses to have more people in the bus 2012-12-22T01:03:31 < I2Cfail> 300kbps 2012-12-22T01:03:39 < ds2> oh and you have that cable, right? 2012-12-22T01:03:58 < I2Cfail> yes 2012-12-22T01:04:16 < I2Cfail> so high speed is hard 2012-12-22T01:08:54 -!- jef79m_lurking is now known as jef79m 2012-12-22T01:12:49 < Posterdati> flyback: oh my! 2012-12-22T01:12:55 < Posterdati> flyback: electrocuted 2012-12-22T01:13:42 < ds2> you might be able to squeeze in the DRDY method 2012-12-22T01:14:13 < ds2> a quick calculation shows the bus has room for about 9 axis at that rate at that speed 2012-12-22T01:14:39 < ds2> how many axises do you have overall? 2012-12-22T01:15:02 < Posterdati> flyback: why the protection system wasn't engaged? 2012-12-22T01:16:04 -!- upgrdman_ [429f3cfe@blender/artist/upgrdman] has quit [Quit: Page closed] 2012-12-22T01:16:04 < I2Cfail> ds2: 2x 9 axis 2012-12-22T01:16:10 < zyp> I2Cfail, haven't had time to test 2012-12-22T01:16:15 < Posterdati> telephone? 100 V can't hurt people like that, it was over kilovolt 2012-12-22T01:16:18 < gxti> Posterdati: you can't save a human that comes into contact with 11kv 2012-12-22T01:16:21 < I2Cfail> then two x temperature and stuff 2012-12-22T01:16:31 < I2Cfail> but some can be samples slower 2012-12-22T01:16:50 < gxti> flyback: telephone has nothing to do with it 2012-12-22T01:17:22 < Posterdati> gxti: well the metal structure was connected to ground trough the wheels, a differential relay should have to break 2012-12-22T01:17:29 < ds2> oh DOH 2012-12-22T01:17:32 < I2Cfail> yeah 2012-12-22T01:17:37 < ds2> I2Cfail: you need more I2C buses! 2012-12-22T01:17:59 < ds2> and I thought 25 axis at 50Hz was bad :/ 2012-12-22T01:18:22 < I2Cfail> im using the i2c remap to get two busses 2012-12-22T01:18:31 < I2Cfail> but they cant be run at the same time of course 2012-12-22T01:18:36 < ds2> yep 2012-12-22T01:18:39 -!- I2Cfail is now known as Laurenceb_ 2012-12-22T01:18:43 < ds2> hence the need for the FIFO 2012-12-22T01:18:58 < ds2> why did you guys go with the dual sensor chip? 2012-12-22T01:18:59 < Posterdati> flyback: maybe 2012-12-22T01:19:15 < Laurenceb_> ds2: its for vehicle monitoring 2012-12-22T01:19:23 < Laurenceb_> needs a very small sensor board 2012-12-22T01:19:36 < Posterdati> flyback: probably they where at the end of an ill protected line 2012-12-22T01:19:37 < emeb> haha - bypassing the 4050 buffer on the Adafruit LCD got the SPI clock up to 10MHz 2012-12-22T01:19:39 < ds2> Laurenceb_: is it that tight that you can put in 3 discrete parts? 2012-12-22T01:19:51 < ds2> emeb: dev board screws over another person again :) 2012-12-22T01:20:00 < ds2> you cannot 2012-12-22T01:20:01 < emeb> ds2: yup 2012-12-22T01:20:28 < Posterdati> flyback: surely there were a differential relay there 2012-12-22T01:20:32 < emeb> that allows me to reduce the byte-to-byte timing and double the frame rate. 2012-12-22T01:20:36 < Posterdati> flyback: surely there weren't a differential relay there 2012-12-22T01:21:01 < Posterdati> lo, yes 2012-12-22T01:21:02 < ds2> emeb: so you'll have doing full 60fps, 3D graphics on there now? :D 2012-12-22T01:21:05 < Posterdati> lol, yes 2012-12-22T01:21:29 < emeb> ds2: more like 24 fps right now. Getting there though. 2012-12-22T01:21:56 < ds2> emeb: so you're up to film speeds... are you pegging the M3 at all? 2012-12-22T01:22:05 < ds2> or is that an M4 chip ur are using? 2012-12-22T01:22:26 < emeb> ds2: no! computing the image only takes about 1.5ms - 40ms for the SPI dump. 2012-12-22T01:22:57 < emeb> ds2: this is on an F3, so Cortex M4F @ 72MHz 2012-12-22T01:24:36 < Laurenceb_> http://www.i-micronews.com/upload/Rapports/Yole_STMicro_LSM330D_6-Axis_Inertial_Module.pdf_Sample.pdf 2012-12-22T01:25:30 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-22T01:32:09 < emeb> kewl - nitric acid decap. 2012-12-22T01:32:31 < Laurenceb_> https://bitbucket.org/sarcastillo/redpillkernel/src/990eb0053acb/drivers/sensor/lsm330dlc_gyro.c?at=redpill 2012-12-22T01:32:41 < Laurenceb_> ^interesting, someone wrote fifo driver code 2012-12-22T01:33:04 < emeb> any nuggets of wisdom in there? 2012-12-22T01:33:21 < Laurenceb_> some weird fifo_reset function 2012-12-22T01:33:24 < Laurenceb_> seems interesting 2012-12-22T01:33:59 < ds2> emeb: dod you see the full decap for the older parts? 2012-12-22T01:34:49 < emeb> ds2: no. linky? 2012-12-22T01:35:02 < ds2> let me find it again; I made paper print outs 2012-12-22T01:35:52 < ds2> http://www.memsjournal.com/2011/01/motion-sensing-in-the-iphone-4-mems-gyroscope.html 2012-12-22T01:36:08 < ds2> also have pictures of the accel 2012-12-22T01:37:22 < Laurenceb_> haha that code is the driver from galaxy s3 2012-12-22T01:37:45 < Laurenceb_> its got to works surely :P 2012-12-22T01:38:25 < ds2> which s3 though 2012-12-22T01:38:33 < ds2> there are at least 2 if not more versions 2012-12-22T01:38:36 < Laurenceb_> dunno 2012-12-22T01:39:10 < emeb> ds2: nice pix 2012-12-22T01:40:15 < Laurenceb_> https://bitbucket.org/sarcastillo/redpillkernel/src/990eb0053acb/drivers/sensor/lsm330dlc_gyro.c?at=redpill#cl-163 2012-12-22T01:40:17 < Laurenceb_> the hell 2012-12-22T01:40:26 < Laurenceb_> looks like they hit some fifo issues? 2012-12-22T01:40:48 < emeb> saw that. 2012-12-22T01:41:02 < emeb> "never test for an error condition you don't know how to handle" 2012-12-22T01:41:15 < Laurenceb_> heh 2012-12-22T01:41:22 < Laurenceb_> maybe it fixes the fifo 2012-12-22T01:41:37 < ds2> problem with the phone gyro driver is if you get corrupt data, who's going to notice? 2012-12-22T01:41:38 < Posterdati> Laurenceb: my i2c is now functional, but problem arises in my DCM, I copied from a working IMU project I did for 2560 2012-12-22T01:42:00 < ds2> it isn't like there are tons of gyro apps for phones 2012-12-22T01:42:05 < Laurenceb_> true 2012-12-22T01:42:15 < Laurenceb_> id hope the galaxy would work 2012-12-22T01:42:23 < Laurenceb_> looks like they put a lot of work inot this driver 2012-12-22T01:42:24 < emeb> heh 2012-12-22T01:42:27 < Laurenceb_> its massive 2012-12-22T01:42:34 < Laurenceb_> and does some weird stuff 2012-12-22T01:42:40 < emeb> as glitchy as my Sammy android is... 2012-12-22T01:42:42 < ds2> I would really like to know which S3 has that 330dlc part 2012-12-22T01:42:44 < Laurenceb_> as if they had to work around some issues... 2012-12-22T01:43:39 < Posterdati> to boldly go where no arm is gone before 2012-12-22T01:45:06 < emeb> Laurenceb_: looks like the reset the fifo every time they read it ! 2012-12-22T01:45:39 < Laurenceb_> yes rofl 2012-12-22T01:45:53 < Laurenceb_> something makes me think they hit some problems 2012-12-22T01:46:03 < emeb> lol 2012-12-22T01:46:47 < emeb> have you looked at the demo code for that part from the F3disco source? 2012-12-22T01:47:07 < Laurenceb_> yeah, it doesn use fifo 2012-12-22T01:47:10 < Laurenceb_> +t 2012-12-22T01:47:10 < ds2> doesn't that just use DRDY? 2012-12-22T01:47:13 < ds2> if even that 2012-12-22T01:47:13 < Laurenceb_> yes 2012-12-22T01:47:21 < Laurenceb_> actually i think it polls 2012-12-22T01:47:47 < ds2> i wonder how many people run the gyro as fast as you do 2012-12-22T01:47:59 < emeb> something tells me that fifo is full of "features" 2012-12-22T01:48:21 < Laurenceb_> bbl 2012-12-22T01:50:33 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-12-22T01:51:00 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has quit [Changing host] 2012-12-22T01:51:00 -!- R0b0t1 [~Dev@unaffiliated/r0b0t1] has joined ##stm32 2012-12-22T01:59:25 < Thorn> found second error on my 3 day board x_x 2012-12-22T01:59:47 < ds2> ur error or fab error? 2012-12-22T02:00:50 < Thorn> haven't received any yet 2012-12-22T02:01:21 < Thorn> fortunately both are rather easy to fix 2012-12-22T02:01:31 < ds2> oh you finding it in your layout? 2012-12-22T02:01:34 < emeb> heh - jacked up the APB1 clock rate 2x and streamlined the buffer write routine - getting ~50fps now 2012-12-22T02:12:29 <+Steffanx> no fancy video on youtube? 2012-12-22T02:12:30 < zyp> overclocked? :p 2012-12-22T02:13:05 < emeb> zyp: the F3 is still within spec. I expect that the LCD driver is working a bit outside of the limits. 2012-12-22T02:13:18 < zyp> ah 2012-12-22T02:13:40 < emeb> datasheet says min spi clock period is 66ns. I'm probably running ~50 right now. 2012-12-22T02:14:08 < zyp> 00:41:02 < emeb> "never test for an error condition you don't know how to handle" 2012-12-22T02:14:15 < zyp> sounds like my style 2012-12-22T02:15:02 < emeb> it's purely rational. 2012-12-22T02:15:06 < zyp> yep 2012-12-22T02:15:11 < emeb> don't ask questions you don't want answered. 2012-12-22T02:15:51 <+Steffanx> What's my IRC password? 2012-12-22T02:16:56 < emeb> Steffanx: no point in fancy youtube video - frame rate is faster than the video camera in my android. 2012-12-22T02:17:10 <+Steffanx> :( 2012-12-22T02:17:31 < emeb> tried it - just looks jerky. 2012-12-22T02:18:02 < Thorn> does seeedstudio do plated through slots (like for for audio or round power sockets)? 2012-12-22T02:18:44 < zyp> no 2012-12-22T02:19:34 < Thorn> what to do then 2012-12-22T02:19:38 < zyp> dongs is quite proud that his fab does them 2012-12-22T02:19:49 < zyp> or you could just go with round holes with large enough diameter 2012-12-22T02:19:51 < ds2> don't use plated through slots? 2012-12-22T02:19:52 < zyp> that's usually fine 2012-12-22T02:20:00 < Thorn> these audio sockets have 2 pins too close to each other 2012-12-22T02:20:04 <+Steffanx> http://dangerousprototypes.com/2012/06/20/how-to-crude-way-of-making-plated-slots-in-eagle/ says the do 2012-12-22T02:20:07 < Thorn> for huge round holes 2012-12-22T02:20:08 < zyp> you probably don't get any sort of slots 2012-12-22T02:20:27 <+Steffanx> "Here’s Seeed Studio’s tip on how to send them PCB file with slots." 2012-12-22T02:20:28 < zyp> use a different socket? 2012-12-22T02:20:38 < zyp> oh, ok 2012-12-22T02:20:59 < Thorn> (eagle is not a problem, dicktrace supports slots) 2012-12-22T02:21:44 <+Steffanx> It's fuckly though 2012-12-22T02:24:12 -!- gurgalof [~gurgalof@dhcp-237-179.nomad.chalmers.se] has quit [Quit: Leaving] 2012-12-22T02:25:56 < Thorn> Dear Customers, Extremely sorry for our terrible service on Fusion PCB since October. The colleague responsible on this took leave of sudden issue 2012-12-22T02:27:31 < emeb> lol - still had the F3 clock set up for 12MHz xtal, so was only running 48MHz. 2012-12-22T02:28:39 < emeb> fixed the PLL multiplier for 72MHz and now getting ~70fps. 2012-12-22T02:29:33 < zyp> :) 2012-12-22T02:30:51 < gxti> lolchina 2012-12-22T02:31:23 < emeb> that's got the SPI clock running @ 2.4x faster than spec. 2012-12-22T02:31:43 <+Steffanx> heh 2012-12-22T02:33:20 < gxti> just once i want an unhandled exception to not have already smashed the stack 2012-12-22T02:34:19 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-22T02:34:31 < zyp> that's the advantage of splitting msp from psp 2012-12-22T02:35:27 < zyp> hmm, no 2012-12-22T02:36:09 < zyp> interrupt entry will still push working regs to psp before switching to msp 2012-12-22T02:43:35 -!- R0b0t1 [~Dev@unaffiliated/r0b0t1] has quit [Ping timeout: 260 seconds] 2012-12-22T02:45:40 < gxti> damnit, my .data has random crap in it 2012-12-22T02:46:14 < zyp> random how? 2012-12-22T02:46:36 < zyp> buffer overflow overwriting important stuff? 2012-12-22T02:46:57 < gxti> i have a 'struct blah = {&something}' global, but instead of being a valid pointer it's 0xd0ffff00 2012-12-22T02:47:05 < gxti> and that seems to be the case even at the top of main() 2012-12-22T02:47:43 < gxti> but it's not zero so it's not like it's just untouched 2012-12-22T02:48:36 < zyp> care to give me a copy of the elf? 2012-12-22T02:48:46 < zyp> you can upload it to bin.jvnv.net if you need a place to put it 2012-12-22T02:49:26 < gxti> http://partiallystapled.com/~gxti/trash/2012/12/21-laureline.elf 2012-12-22T02:49:45 < gxti> probably atollic is screwing something up, i have its startup code turned off and using chibios' instead but who knows what shenanigans it's up to 2012-12-22T02:49:49 < zyp> what's the name of the struct variable? 2012-12-22T02:50:02 < gxti> lwipopt, first element 2012-12-22T02:50:09 < gxti> and mac_addr is the target 2012-12-22T02:50:21 < gxti> in bss i presume 2012-12-22T02:50:27 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-12-22T02:50:35 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has quit [Changing host] 2012-12-22T02:50:35 -!- R0b0t1 [~Dev@unaffiliated/r0b0t1] has joined ##stm32 2012-12-22T02:53:02 < zyp> .data contents looks correct 2012-12-22T02:53:51 < zyp> http://paste.jvnv.net/view/Cm8lg 2012-12-22T02:54:05 < Laurenceb_> zyp: galaxy s3 uses the lsm330 2012-12-22T02:54:09 < zyp> probably linker script vs startup code mismatch 2012-12-22T02:54:15 < Laurenceb_> https://bitbucket.org/sarcastillo/redpillkernel/src/990eb0053acb/drivers/sensor/lsm330dlc_gyro.c?at=redpill 2012-12-22T02:54:18 < Laurenceb_> ^tada 2012-12-22T02:54:28 < gxti> both are from chibios and i've used them in the past but yeah, there's not much else it could be 2012-12-22T02:54:58 < gxti> luckily it is the first thing in .data so i won't have to step very far 2012-12-22T02:55:05 < zyp> Laurenceb_, and? 2012-12-22T02:55:13 < gxti> also chibios uses 99% C for its startup code so that's nice too 2012-12-22T02:55:24 < Laurenceb_> they do some weird stuff with fifo 2012-12-22T02:55:34 < Laurenceb_> fifo_reset is called after each read 2012-12-22T02:56:37 < Laurenceb_> oh nice 2012-12-22T02:56:42 < Laurenceb_> they have calibration code 2012-12-22T02:59:35 < gxti> is _textdata supposed to be aligned? 2012-12-22T03:00:42 < zyp> doesn't strictly need to 2012-12-22T03:01:00 < zyp> uh, but it's not correct 2012-12-22T03:01:27 < zyp> ah 2012-12-22T03:01:38 < zyp> got it, spotted your bug 2012-12-22T03:02:17 < zyp> 080059ad g *ABS* 00000000 _textdata 2012-12-22T03:02:22 < zyp> 3 .data 00000014 20000400 080059b0 00010400 2**2 2012-12-22T03:02:22 < zyp> CONTENTS, ALLOC, LOAD, DATA 2012-12-22T03:02:52 < zyp> it's off by 3 2012-12-22T03:03:27 < zyp> my guess is that _textdata points to position before alignment padding 2012-12-22T03:04:01 < zyp> so you start copying the padding instead of the real data 2012-12-22T03:04:04 < gxti> http://partiallystapled.com/~gxti/trash/2012/12/21-STM32F107xB.ld 2012-12-22T03:04:32 < gxti> to my novice eyes it looks correct 2012-12-22T03:04:38 < gxti> but i am not a linker wizard 2012-12-22T03:05:03 < zyp> don't do it like that 2012-12-22T03:05:09 < gxti> i didn't write it 2012-12-22T03:05:17 < gxti> but i'd be happy to fix it 2012-12-22T03:05:30 < zyp> hang on, let me look up something 2012-12-22T03:07:39 < zyp> _textdata = LOADADDR(.text); 2012-12-22T03:07:43 < zyp> use that expression 2012-12-22T03:08:08 < zyp> then you get the real LMA directly without having to do the layout math yourself 2012-12-22T03:09:22 < zyp> sorry 2012-12-22T03:09:29 < Laurenceb_> oh 2012-12-22T03:09:32 < zyp> should be LOADADDR(.data) of course 2012-12-22T03:09:37 < Laurenceb_> samsung use fifo mode 2012-12-22T03:09:49 < Laurenceb_> and either timing or interrupts 2012-12-22T03:09:49 < zyp> I'm a bit tired, it's past 2AM here now :) 2012-12-22T03:09:57 < gxti> aha 2012-12-22T03:10:02 < Laurenceb_> so the fifo fills then stops filling 2012-12-22T03:10:10 < gxti> and i leave the .textalign, yes? 2012-12-22T03:10:10 < Laurenceb_> then its read and restarted 2012-12-22T03:10:14 < dongs> <+Steffanx> http://dangerousprototypes.com/2012/06/20/how-to-crude-way-of-making-plated-slots-in-eagle/ says the do 2012-12-22T03:10:17 < dongs> haha 2012-12-22T03:10:19 < dongs> what garbage 2012-12-22T03:10:21 < Laurenceb_> so they avoid block update issues... 2012-12-22T03:10:25 < Laurenceb_> interesting 2012-12-22T03:10:32 < Laurenceb_> wtf 2012-12-22T03:10:39 < Laurenceb_> i have loads of slots in eagle designs 2012-12-22T03:10:58 < dongs> plated oval holes? no yu dont 2012-12-22T03:11:55 < zyp> next time I'm designing something I'm gonna make plated banana-shaped holes 2012-12-22T03:12:12 < Laurenceb_> yes i do 2012-12-22T03:12:15 < Laurenceb_> its easy 2012-12-22T03:13:22 < Laurenceb_> http://i.imgur.com/MKUO7.png 2012-12-22T03:13:27 < Laurenceb_> omg slotzz 2012-12-22T03:13:35 < gxti> zyp: works, thanks a bunch 2012-12-22T03:13:40 < Thorn> I didn't get the milling layer #46 thing. is it to include instructions for the fab or what? 2012-12-22T03:13:43 < zyp> gxti, great 2012-12-22T03:14:04 < dongs> Laurenceb_: then what the fuck are those idiots talking about 2012-12-22T03:14:09 < Laurenceb_> dunno lol 2012-12-22T03:14:09 < dongs> did eagle 6.3 add slots or something 2012-12-22T03:14:13 < Laurenceb_> nope 2012-12-22T03:14:16 < Laurenceb_> they just fail 2012-12-22T03:14:29 < dongs> dangerous prototypes more like dangerous misinformation 2012-12-22T03:14:30 < ds2> user parts that don't use slots 2012-12-22T03:14:34 < ds2> use 2012-12-22T03:14:35 < gxti> zyp: interestingly the only linker script in chibios (which are all demos anyway) that uses LOADADDR is for msp430 2012-12-22T03:15:34 < gxti> ahh, and textalign seems to be empty. so maybe the garbage collection ate it. 2012-12-22T03:16:04 < zyp> ah, yes, that's quite likely 2012-12-22T03:16:09 < zyp> doesn't matter, it's useless anyway 2012-12-22T03:19:06 * Laurenceb_ zzz 2012-12-22T03:20:52 < baird> Green cockroach: http://images.4chan.org/n/src/1356127034936.jpg 2012-12-22T03:21:29 < zyp> http://bin.jvnv.net/f/W4OhR.JPG <- I raise you with a green spider 2012-12-22T03:22:11 < gxti> now to figure out why transmitting a packet causes the system to halt 2012-12-22T03:22:35 < gxti> i turned all the chibios assertions on so it's probably a bug in the lwip bindings. 2012-12-22T03:22:57 < gxti> quality software 2012-12-22T03:23:48 -!- Laurenceb_ [~Laurence@host86-136-118-118.range86-136.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-12-22T03:24:25 < dongs> > chibios 2012-12-22T03:24:27 < dongs> found y our problem 2012-12-22T03:25:07 < zyp> I'd pull out my code and laugh about how it works for me, but I currently only have ethernet reception implemented, not transmission, so I guess not in this case :) 2012-12-22T03:25:50 -!- jef79m is now known as jef79m_lurking 2012-12-22T03:27:08 < gxti> i had stuff working pretty well with a previous project that had the same f107 and phy combo but it lost packets under load 2012-12-22T03:28:21 < gxti> didn't have the assertions on either so that's probably why it worked 2012-12-22T03:29:11 < dongs> https://youtube.com/watch?v=2Sar5WT76kE might be old 2012-12-22T03:29:29 < gxti> how dare you post something that you KNOW might be old 2012-12-22T03:29:36 < gxti> somebody might have seen it already 2012-12-22T03:29:44 < gxti> you can't just take that risk 2012-12-22T03:30:40 < Thorn> MIT 6.002 is officially the best intro to circuit theory I've ever seen, better than Horowitz/Hill (available on http://edx.org/ with a free textbook) 2012-12-22T03:31:22 < emeb> dongs: see the cube running on F3? 2012-12-22T03:33:03 < dongs> < emeb> w00t - got dongs' cube demo running on F373: https://youtube.com/watch?v=WcvtwhCCqD0 2012-12-22T03:33:06 < dongs> clickin 2012-12-22T03:33:11 < emeb> yep 2012-12-22T03:33:29 < dongs> ncie 2012-12-22T03:33:41 < emeb> that was first try - running at ~12fps. Got it up to ~71fps now. 2012-12-22T03:33:54 < zyp> dongs, love the guy that's all «wtf are you doing?» 2012-12-22T03:34:00 < dongs> hehe 2012-12-22T03:34:07 < ds2> now do 2 of them at 71fps 2012-12-22T03:34:09 < ds2> so you can have 3D 2012-12-22T03:34:34 < emeb> could prolly go faster if I used DMA. 2012-12-22T03:34:40 < emeb> this is still all PIO 2012-12-22T03:34:49 < dongs> thats what I said, and I didnt touch the code since then :) 2012-12-22T03:35:11 < emeb> trouble on the F3 is that there's not enough SRAM for a full frame buffer. 2012-12-22T03:35:12 < Thorn> how do I do cutouts in pours in diptrace. 2012-12-22T03:35:22 < dongs> keep out 2012-12-22T03:35:25 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-22T03:35:36 < dongs> 'route keepout' 2012-12-22T03:36:15 < dongs> top left bar, where you have top assembly/top silk etc, do route keepout, draw a polygon 2012-12-22T03:36:37 < dongs> or if you w ant to have stuff there do polygons using paste/mask 2012-12-22T03:37:14 < ds2> heh 'Nightmare trig' 2012-12-22T03:38:41 < gxti> no 64 bytes from 172.24.0.155: icmp_req=2 ttl=255 time=1.23 ms 2012-12-22T03:38:46 < gxti> aww yisss 2012-12-22T03:39:01 < Thorn> route keepout works. thanks 2012-12-22T03:39:03 < emeb> it pings? 2012-12-22T03:39:10 < gxti> and DHCPs 2012-12-22T03:39:11 < zyp> it pongs 2012-12-22T03:39:16 < emeb> it dongs 2012-12-22T03:39:36 < gxti> and dingalings 2012-12-22T03:39:55 < gxti> most recent problem was just a boring stack overflow 2012-12-22T03:40:21 < emeb> need moar stack space 2012-12-22T03:40:23 < gxti> unfortunately the chibios eclipse plugin doesn't seem to work with atollic's debugger, or it might have been like "hey dumbass stack overflow" 2012-12-22T03:40:48 < ds2> loose the gui crap 2012-12-22T03:41:05 < zyp> or just lose the crap 2012-12-22T03:41:06 < gxti> did you miss the part where openocd can't debug for shit 2012-12-22T03:41:18 < gxti> because i've explained it probably 6 times now 2012-12-22T03:41:19 < ds2> fix openocd and submit a patch :D 2012-12-22T03:42:21 < gxti> fuck that shit 2012-12-22T03:43:30 < gxti> if anyone knows of a stlink gdbserver that works, for linux or windows, let me know 2012-12-22T03:43:52 < gxti> or for that matter swd over ft2232 would be ok too because i have this busblaster thing i can't seem to use with openocd either 2012-12-22T03:44:25 < Thorn> there's a gdbserver running on stm32 called BMP 2012-12-22T03:44:26 < ds2> I'll try to test it again but I believe it did work for me 2012-12-22T03:45:00 < gxti> i'm sure there's something super special about me that makes it fail 2012-12-22T03:45:19 < gxti> Thorn: well the tools i have are A) stlinkv2 (in a f4disco board) and B) busblaster which is a ft2232 plus cpld 2012-12-22T03:45:28 < gxti> so if the bmp gdbserver works with one of those then great 2012-12-22T03:45:53 < Thorn> it actually may because it can run on a PC host 2012-12-22T03:45:55 < gxti> if i can program the bmp whatever onto the f4disco itself that might be great too! 2012-12-22T03:46:13 < Thorn> and it may even support FTDI 2012-12-22T03:46:43 < Thorn> that should be possible also, I think someone here did that(?) 2012-12-22T03:48:01 < zyp> it's supposed to support both 2012-12-22T03:48:19 < zyp> but I think the ftdi variant is old and not well maintained 2012-12-22T03:49:00 < zyp> stlink works, but is a bit hassle to flash since you need to hook up another programmer to it to flash it 2012-12-22T03:49:32 < gxti> it's a f4disco though, i mean program the f4 chip not the stlink chip 2012-12-22T03:50:21 < gxti> probably some munging required 2012-12-22T03:51:38 < zyp> ah, yeah 2012-12-22T03:52:01 < zyp> shouldn't be too hard 2012-12-22T03:52:17 < gxti> i think i'd prefer that over ftdi, with ftdi you never know where your problems are coming from 2012-12-22T03:52:48 < zyp> platform specific code is neatly kept in it's own files, and it's based on libopencm3, which means it should not be hard to adapt to F4 2012-12-22T03:53:13 < gxti> hopefully it's at least the same peripheral 2012-12-22T03:53:15 -!- jef79m_lurking is now known as jef79m 2012-12-22T03:53:34 < Thorn> usb controller is not the same 2012-12-22T03:53:35 < zyp> largest difference would be different usb peripheral, I guess 2012-12-22T03:53:36 < gxti> but i've never actually written to anything other than f1 before so that's the limit of my knowledge 2012-12-22T03:53:41 < gxti> dang 2012-12-22T03:53:45 < zyp> but stack supports both, so that should be fine 2012-12-22T03:53:56 -!- jef79m is now known as jef79m_lurking 2012-12-22T03:56:06 < dongs> zyp, what the fuck is there t o do in tokyo 2012-12-22T03:56:07 < dongs> for a nerd 2012-12-22T03:56:10 < dongs> any recomendations. 2012-12-22T03:56:12 < dongs> i have no fucking idea 2012-12-22T03:56:17 < dongs> the place is a filthy dump last i was there. 2012-12-22T03:57:19 < Thorn> anime, meido cafes, used pantsu vending machines, did I mention anime 2012-12-22T03:58:00 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-22T03:58:02 < zyp> dongs, what kind of nerd? 2012-12-22T03:58:04 < ds2> watch for gozilla coming? 2012-12-22T03:58:10 < dongs> zyp, anything 2012-12-22T03:58:20 < dongs> a pal from crapple is there for a 18day vacation 2012-12-22T03:58:35 < dongs> i told him he'll be screaaming from boredom in18 hours 2012-12-22T04:02:33 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 276 seconds] 2012-12-22T04:03:59 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-22T04:06:21 < zyp> hmm, dunno 2012-12-22T04:06:42 -!- CheBuzz_ [~CheBuzz@76.164.192.124] has joined ##stm32 2012-12-22T04:06:57 -!- CheBuzz_ is now known as CheBuzz_Home 2012-12-22T04:07:22 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-22T04:08:12 < ds2> ~ 2012-12-22T04:08:39 < zyp> renting a car and driving away from tokyo is pretty high on my list of things I want to do next time I'm in japan 2012-12-22T04:09:19 < zyp> not that I don't like tokyo, but I feel I've seen pretty much everything already 2012-12-22T04:10:22 < zyp> except view from skytree, opened the day before we left this summer, and we didn't have time to go 2012-12-22T04:12:37 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-22T04:16:03 < zyp> I tend to enjoy some arcade games, but you have to be a pretty bad nerd to fill 18 days with that :p 2012-12-22T04:16:10 < emeb> today got xmas pkg from family in okinawa - full of strange japanese food. 2012-12-22T04:16:13 < zyp> jewbeat is quite fun 2012-12-22T04:17:07 < emeb> that sounds... politically incorrect. 2012-12-22T04:17:18 < zyp> well, they spell it jubeat 2012-12-22T04:17:42 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2012-12-22T04:17:50 < emeb> wow - fancy machine. 2012-12-22T04:17:52 < zyp> I heard they needed to change it in the american localized version, I think it got renamed to jukebeat 2012-12-22T04:18:00 < emeb> lol 2012-12-22T04:19:57 < zyp> next time I'm going with a guy I'm working with… he's into those DDR dancing games 2012-12-22T04:20:16 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-22T04:20:30 < zyp> so I'm planning to challenge him to jubeat so I can finally beat him in a rythm game (because he doesn't have any experience with it) 2012-12-22T04:20:49 < gxti> in b4 you get smoked anyway 2012-12-22T04:20:52 < baird> jewbeat! 2012-12-22T04:21:40 < zyp> gxti, my luck probably lasts for a few rounds until he figure out how to not block his vision with his hands, since the display is behind the buttons ;) 2012-12-22T04:25:39 < gxti> yeah gonna have to kick atollic to the curb, if i turn tcp on i hit the code size limit 2012-12-22T04:26:06 < gxti> i was only using it because it was the first thing i found that could stlink properly 2012-12-22T04:27:12 < gxti> 28k without tcp, limit is 32k 2012-12-22T04:27:52 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Ping timeout: 246 seconds] 2012-12-22T04:27:55 < emeb> try CooCox. 2012-12-22T04:28:08 < emeb> "Works for me" (TM) 2012-12-22T04:28:16 < gxti> does it do stlink? 2012-12-22T04:28:19 < emeb> yes 2012-12-22T04:28:23 < gxti> k 2012-12-22T04:28:27 < emeb> and no code size limits 2012-12-22T04:28:35 < gxti> it's not that i really want an IDE, although it can be handy when debugging 2012-12-22T04:28:39 < gxti> i just want a working debugger 2012-12-22T04:28:45 < emeb> debugging is fine 2012-12-22T04:28:55 < emeb> works w/ my F4 disco 2012-12-22T04:29:08 < zyp> I find plain gdb to be a perfectly capable debugger 2012-12-22T04:29:25 < gxti> nothing wrong with gdb, it's openocd that's the problem 2012-12-22T04:29:27 < emeb> yes. with a good HW interface 2012-12-22T04:30:06 < zyp> I find that I have a perfectly good hardware interface as well 2012-12-22T04:30:13 < zyp> actually, I have six of them now :D 2012-12-22T04:30:15 < gxti> well that's good for you 2012-12-22T04:30:36 < gxti> i'm hoping i can flash something that doesn't suck eggs onto the f4disco and use it until i can get a dedicated adapter. 2012-12-22T04:31:17 < zyp> well, to be fair, I were using stlink with texane gdbserver for months without huge problems or annoyances 2012-12-22T04:31:42 < emeb> you changed to bmp because... ? 2012-12-22T04:31:44 < gxti> guess i'm cursed 2012-12-22T04:32:22 < zyp> emeb, mainly because dragging around the entire discovery board just to use it as a debugger became impractical 2012-12-22T04:32:27 < emeb> gxti: I had a lot of hassles trying to use f4 disco w/ stlink gdb server. 2012-12-22T04:32:31 < zyp> especially when target boards had mini-10pin 2012-12-22T04:32:39 < emeb> zyp: so it was more of an ergonomics thing. 2012-12-22T04:32:46 < zyp> yes 2012-12-22T04:32:56 < zyp> I even considered getting a plain stlink 2012-12-22T04:33:14 < emeb> glad you didn't. :) 2012-12-22T04:33:16 < zyp> but then dongs recommended that clone jlink 2012-12-22T04:33:25 < zyp> which I bricked first time I tried actually using it 2012-12-22T04:33:41 < gxti> hurrr 2012-12-22T04:33:44 < zyp> and then somebody recommended BMP 2012-12-22T04:34:13 < emeb> ...and then you suggested it to me when my stlink was bothering me. 2012-12-22T04:34:21 < zyp> :) 2012-12-22T04:34:28 < emeb> and now we have 7x BMP2s 2012-12-22T04:35:26 < Thorn> I should have 2 BMCs soon, too. 2012-12-22T04:35:50 < zyp> so far I like the new design 2012-12-22T04:37:17 < zyp> edge connector is great, the mini-10pin being shrouded is great when it's not in use, and the stlink-style header will also be nice 2012-12-22T04:37:23 < zyp> when I get it soldered on 2012-12-22T04:38:32 < zyp> have fun 2012-12-22T04:40:17 < zyp> emeb, have you talked to gsmcmullin about contributing back the design yet? 2012-12-22T04:42:26 < emeb> zyp: no. It's on the to-do list though 2012-12-22T04:45:56 < zyp> I'd feel bad about showing off my awesome debugger, and then having to go «oh, but if you buy one you don't get all the nice connectors» 2012-12-22T04:46:00 < zyp> :p 2012-12-22T04:47:22 < emeb> heh 2012-12-22T04:56:39 < Thorn> is bmp firmware still being maintained btw? 2012-12-22T04:57:15 < emeb> yep - gsmcmullin is accepting pushes and rolling them into mainline 2012-12-22T04:57:27 < zyp> yep 2012-12-22T04:57:27 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-22T04:57:33 < emeb> zyp added some F0 and F3 stuff just recently 2012-12-22T04:57:45 < emeb> bbiab 2012-12-22T04:57:49 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-22T04:57:55 < zyp> L1 also 2012-12-22T04:58:02 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-22T04:58:09 < zyp> so all stm32 families should be supported now 2012-12-22T05:00:02 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-22T05:08:31 < Thorn> I'll probably need to add lpc17xx if it's not already there 2012-12-22T05:10:22 < zyp> there is some lpc11 and lpc43 there though 2012-12-22T05:10:30 < zyp> but I can't see lpc17 2012-12-22T05:10:51 < zippe> Time for lpc800 now 2012-12-22T05:11:06 < zyp> time for bed now, I think 2012-12-22T05:11:11 < zyp> have a good night 2012-12-22T05:11:14 < zyp> everyone 2012-12-22T05:11:34 < zyp> or day or whatever your timezone says 2012-12-22T05:15:46 < emeb_mac> l8r 2012-12-22T05:23:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-22T05:44:32 < dongs> Items where the value is placed on an intangible factor. For example, listings that offer someone's "soul" or a container that claims to have someone's "soul" are not allowed. 2012-12-22T05:44:50 < dongs> fuck, there goes my idea of listing steve jobs soul on shitbay. 2012-12-22T05:49:21 < Thorn> list his liver 2012-12-22T06:02:08 < emeb_mac> such interesting discussions 2012-12-22T06:06:35 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-22T06:08:25 -!- _BJFreeman [~bjfree@155.sub-75-244-183.myvzw.com] has quit [Ping timeout: 265 seconds] 2012-12-22T06:08:53 -!- _BJFreeman [~bjfree@185.sub-75-233-63.myvzw.com] has joined ##stm32 2012-12-22T06:10:42 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has left ##stm32 [] 2012-12-22T06:11:03 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-22T06:11:10 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-22T06:11:32 < gxti> looks like blackmagic doesn't compile against current libopencm3, the usb interface sprouted a new argument on everything 2012-12-22T06:12:15 < emeb_mac> gxti: you need to use git submodule init / sync to pull in the libopencm3 that blackmagic wants 2012-12-22T06:12:58 < gxti> oic, guess the docs haven't been updated 2012-12-22T06:13:26 < emeb_mac> yeah - install & hacking are lacking. 2012-12-22T06:15:01 < dongs> retweeting https://youtube.com/watch?v=Djc8FPHs45o 2012-12-22T06:16:06 < ds2> any chance someone knows of a cheap to very cheap EFM32 board? 2012-12-22T06:16:17 < dongs> does waveshare have something? 2012-12-22T06:16:34 < dongs> hm nope 2012-12-22T06:16:41 < gxti> emeb_mac: kthx 2012-12-22T06:16:53 < ds2> waveshare? 2012-12-22T06:16:59 < dongs> tehy dont, i just checked 2012-12-22T06:17:05 < gxti> now for the part where i port it to f4 without having any idea how it works 2012-12-22T06:17:11 < ds2> only EFM seems to have EFM boards 2012-12-22T06:17:26 < emeb_mac> gxti: good luck - haven't tried that. 2012-12-22T06:17:26 < dongs> a sign to stay the fuck away from them. 2012-12-22T06:17:40 < gxti> on the bright side, at least i'm not porting *down* 2012-12-22T06:17:40 < emeb_mac> +1 2012-12-22T06:17:55 < ds2> emeb_mac: +1 to which? 2012-12-22T06:19:13 < dongs> http://www.energymicro.com/downloads/software 2012-12-22T06:19:42 < emeb_mac> +1 to dongs comment "stay away" 2012-12-22T06:19:58 < ds2> ah 2012-12-22T06:20:07 < ds2> but they look so tempting on paper 2012-12-22T06:20:15 < gxti> indeed 2012-12-22T06:20:24 < gxti> worth trying at some point 2012-12-22T06:20:43 < ds2> but not tempting enough to blow the $80 for their official board :D 2012-12-22T06:20:55 < emeb_mac> just build your own board 2012-12-22T06:21:12 < ds2> Hmmmm 2012-12-22T06:21:16 < emeb_mac> cost / time is mouse nuts these days. 2012-12-22T06:21:34 < ds2> is there a generic SWD interface? the STLink is locked to the STM32's 2012-12-22T06:22:07 < ds2> building the board is not a problem... getting it programmed could be...apparently they don't have a ROM loader, just something in flash they ship with 2012-12-22T06:22:24 < emeb_mac> I bet that jlink works across mfg families 2012-12-22T06:22:31 < emeb_mac> but is it swd? 2012-12-22T06:22:42 < ds2> jlink isn't cheap if you want to be legit on it 2012-12-22T06:22:46 < gxti> dongs: http://www.smbc-comics.com/index.php?db=comics&id=2832 2012-12-22T06:23:00 < ds2> all the cheap jlinks are MFG locked if they are legit 2012-12-22T06:23:14 < emeb_mac> ds2: what about knockoffs? 2012-12-22T06:23:28 < emeb_mac> or are those morally incorrect? 2012-12-22T06:23:34 < ds2> emeb_mac: with jlink firmware? those are not legit 2012-12-22T06:23:48 < ds2> trying to be legit with things 2012-12-22T06:23:55 < emeb_mac> gotcha 2012-12-22T06:24:03 < gxti> wait cheap jlinks are locked? 2012-12-22T06:24:23 < ds2> if I am going to spend time on this, I might as well build the IP on a legit foundation of tools 2012-12-22T06:24:35 < ds2> gxti: cheap as in the ones from chip makers that get given away 2012-12-22T06:24:42 < gxti> oh, those 2012-12-22T06:24:56 < ds2> i.e. the Atmel ones, the NXP ones, the ADI ones, etc 2012-12-22T06:24:56 < gxti> cheap jlinks, as opposed to cheap*er* but still expensive jlink edu :p 2012-12-22T06:25:03 < zippe> ds2: yes, SWD is "generic" 2012-12-22T06:25:09 < emeb_mac> so collect 'em all :) 2012-12-22T06:25:24 < ds2> I have most of the vendor locked Jlinks already...wasting room 2012-12-22T06:25:28 < zippe> ds2: if you mean, is there a "generic" probe, then BMP is not bad 2012-12-22T06:25:41 < ds2> zippe: but the BMP's are for opensource use only, right? 2012-12-22T06:25:52 < ds2> or is it like GPLv2? 2012-12-22T06:26:16 < emeb_mac> ds2: tool shouldn't affect the license of what you develop with it. 2012-12-22T06:26:33 < emeb_mac> ie - you can develop closed source w/ gcc & gdb 2012-12-22T06:26:42 < ds2> what's the webpage on the BMP? 2012-12-22T06:26:42 < emeb_mac> so why not w/ bmp? 2012-12-22T06:27:01 < emeb_mac> http://www.blacksphere.co.nz/main/blackmagic 2012-12-22T06:27:11 < zippe> ds2: huh? BMP can be used for anything 2012-12-22T06:27:52 < ds2> zippe: so I can use it to say develop an evil close source, closed hardware DRM encoder and sell that? 2012-12-22T06:28:03 < emeb_mac> why not? 2012-12-22T06:28:05 < zippe> sure 2012-12-22T06:28:25 < gxti> GPL does not govern how you use the software 2012-12-22T06:28:43 < gxti> only how it is distributed 2012-12-22T06:28:45 < emeb_mac> only if you include their source in your product 2012-12-22T06:28:59 < ds2> I know what GPL does 2012-12-22T06:29:08 < emeb_mac> and BMP source doesn't leak into your product 2012-12-22T06:29:11 < zippe> ds2: apparently not 2012-12-22T06:29:14 < ds2> just was under the impression the BMP stuff can only be used for open stuff 2012-12-22T06:29:17 < zippe> ugh, git submodules are ass 2012-12-22T06:29:22 < ds2> i.e. more restrictive then GPL 2012-12-22T06:29:31 < ds2> if it was purely GPL, it'd be fine 2012-12-22T06:29:31 < zippe> ds2: where did you get that idea from? 2012-12-22T06:29:37 < ds2> zippe: from reading logs here :) 2012-12-22T06:30:04 < gxti> never ask a hardware developer about software licensing ;p 2012-12-22T06:30:06 < zippe> ds2: probably a bad idea 2012-12-22T06:30:21 < emeb_mac> heh - we're all full of it. :P 2012-12-22T06:30:41 < ds2> what's a website that works that sells it? 2012-12-22T06:30:47 < ds2> transition-robotics is unhappy 2012-12-22T06:31:00 < emeb_mac> http://transition-robotics.com/products/black-magic-probe-mini 2012-12-22T06:31:06 < emeb_mac> that's where I got mine 2012-12-22T06:31:22 < zippe> page works for me too 2012-12-22T06:31:24 < emeb_mac> comes up fine for me 2012-12-22T06:31:39 < zippe> or go to #libopencm3 and bug the developer 8) 2012-12-22T06:31:56 < ds2> it hands on cdn.shoppify.com for me 2012-12-22T06:32:03 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-22T06:32:06 < ds2> just want to know the price 2012-12-22T06:32:08 < zippe> You have a cookie blocker running? 2012-12-22T06:32:10 < zippe> US$60 2012-12-22T06:32:11 < ds2> nope 2012-12-22T06:32:34 < ds2> hmmm 2012-12-22T06:32:53 < ds2> think i am better off figuring out of the FTDI stuff can do SWD then 2012-12-22T06:33:09 < zippe> If you are a super cheapskate, note that the BMP firmware can be built as a host app that knows how to drive an FTDI device. 2012-12-22T06:33:17 < dongs> if you can convince me to assemble a couple of bmp2 clones emeb made you can have it for less. 2012-12-22T06:33:20 < emeb_mac> ds2: what would you use for a driver then? 2012-12-22T06:34:22 < emeb_mac> (w/ FTDI) 2012-12-22T06:34:37 < zippe> emeb_mac: if you build BMP for FTDI, it just uses libftdi 2012-12-22T06:34:46 < ds2> emeb_mac: hoping OpenOCD 2012-12-22T06:34:58 < zippe> That will give you heartburn 2012-12-22T06:35:00 < ds2> got a flyswatter already 2012-12-22T06:35:03 < emeb_mac> ah - so it runs on the host & talks thru libusb? 2012-12-22T06:35:06 < dongs> libfturdi 2012-12-22T06:35:08 < ds2> yes 2012-12-22T06:35:11 < zippe> emeb_mac: correct, easiest way to debug it 2012-12-22T06:35:18 < ds2> zippe: I have already used it on the bigger ARMs 2012-12-22T06:35:55 < emeb_mac> Hmmm... 2012-12-22T06:36:12 < emeb_mac> I've got an Olimex usb-jtag-tiny. wonder if that would work? 2012-12-22T06:36:32 < zippe> emeb_mac: yes. 2012-12-22T06:36:33 < emeb_mac> (ftdi inside) 2012-12-22T06:36:41 < zippe> emeb_mac: I used it with an Amontec JTAGKey-tiny 2012-12-22T06:36:50 < zippe> You may have to mess with the pin defines 2012-12-22T06:36:57 < emeb_mac> makes sense. 2012-12-22T06:37:06 < zippe> ds2: OpenOCD's handling of ARMv7m is surprisingly poor 2012-12-22T06:37:31 < zippe> ds2: in particular, it doesn't do anything sensible with target descriptions so you tend to run into issues with versions of GDB much newer than ~2009 or so. 2012-12-22T06:37:34 < emeb_mac> just ask gxti 2012-12-22T06:37:37 < dongs> < zippe> ds2: OpenOCD is surprisingly poor 2012-12-22T06:37:42 < dongs> ^ here you go, fix'd for ya 2012-12-22T06:38:06 < emeb_mac> openocd worked great when I was working on SAM7 2012-12-22T06:38:12 < dongs> in my short experience with opensauce debuggers on sam7 was fucking horrible 2012-12-22T06:38:14 < emeb_mac> not so great on Cortex 2012-12-22T06:38:31 < dongs> then I got a clue and switched to proper commercial shit. 2012-12-22T06:38:39 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Ping timeout: 265 seconds] 2012-12-22T06:39:07 < zippe> emeb_mac: "Cortex" is a very broad term 2012-12-22T06:39:09 < ds2> hmmm 2012-12-22T06:39:11 < zippe> You mean v6m/v7m 2012-12-22T06:39:18 < emeb_mac> zippe: yes - m3/m4 2012-12-22T06:39:20 < zippe> It works OK on v7a/v7r 2012-12-22T06:39:23 < ds2> I just need a way to program. 2012-12-22T06:39:29 < ds2> used to not having a debugger at all 2012-12-22T06:39:31 < zippe> ds2: Then use the bootloader 2012-12-22T06:39:38 < ds2> so anyh sort of debugging, even poor, is good enough 2012-12-22T06:39:40 < zippe> ds2: pull boot0 high, bingo, done. 2012-12-22T06:40:06 < ds2> zippe: no no no no... want to try out the EFM32's...they don't have a bootloader in ROM 2012-12-22T06:40:23 < zippe> ds2: then you want to be in #efm32 2012-12-22T06:40:29 < emeb_mac> why plug & pray though? gdb + bmp is so nice & easy? 2012-12-22T06:40:52 < ds2> zippe: fine. I won't talk about. enough? 2012-12-22T06:41:18 < dongs> zippe, allwhiner finally delivered some sores + docs for the crypto module 2012-12-22T06:41:20 < zippe> ds2: not what I meant, sorry. 8) 2012-12-22T06:41:27 < zippe> dongle: oh, do tell... 2012-12-22T06:41:43 < dongs> kernel sores and some headers 2012-12-22T06:41:56 < GargantuaSauce> stop saying sores 2012-12-22T06:41:58 < GargantuaSauce> the term is SAUCE 2012-12-22T06:41:58 < emeb_mac> oh - that was the one where they included the IP block but didn't document it. 2012-12-22T06:42:19 * emeb_mac prefers soars 2012-12-22T06:42:33 < zippe> GargantuaSauce: skin condition? 2012-12-22T06:42:50 < GargantuaSauce> open sauce 2012-12-22T06:42:53 < GargantuaSauce> closed sauce 2012-12-22T06:42:54 < GargantuaSauce> fucking sauce 2012-12-22T06:42:57 < GargantuaSauce> not....sores. 2012-12-22T06:43:03 < dongs> sores is the corect term 2012-12-22T06:43:11 < emeb_mac> GargantuaSores 2012-12-22T06:43:17 < dongs> http://www.fsf.org/givingguide also: this 2012-12-22T06:44:18 < GargantuaSauce> they recommend the lulzbot eh 2012-12-22T06:44:20 < GargantuaSauce> >2012 2012-12-22T06:44:25 < GargantuaSauce> >not using a bowden extruder 2012-12-22T06:46:14 < gxti> >using greentext in irc 2012-12-22T06:46:20 < gxti> #lolwut 2012-12-22T06:47:57 < GargantuaSauce> http://xn--d-bga.su/dial.gif 2012-12-22T06:48:28 < emeb_mac> oookaaaayyyy 2012-12-22T06:49:10 < gxti> not even sbahj can quell my mockery 2012-12-22T06:50:39 < GargantuaSauce> says he who made use of a hashtag 2012-12-22T06:52:28 < gxti> can't get anything past you, can i? 2012-12-22T06:54:12 < emeb_mac> the sarcasm - it burns. 2012-12-22T06:55:15 < dongs> GargantuaSauce: what the fuck is up with that domain 2012-12-22T06:55:17 < dongs> is that unicode or something 2012-12-22T06:55:20 < dongs> because it doesnt show up as that 2012-12-22T06:55:33 < GargantuaSauce> it's punycode 2012-12-22T06:55:47 < gxti> it's also the soviet union tld :p 2012-12-22T06:55:54 < GargantuaSauce> costs me 600 rubles a year 2012-12-22T06:56:03 < dongs> thats only $20 2012-12-22T06:56:09 < GargantuaSauce> yeah and it's less each time i pay :D 2012-12-22T06:56:13 < dongs> where'd you snag that 2012-12-22T06:56:18 < GargantuaSauce> nic.ru 2012-12-22T06:56:32 < dongs> lemme guess, you gotta be a communist to apply? 2012-12-22T06:57:02 < GargantuaSauce> no, you just have to give your cc# to one of several creepy russian payment services 2012-12-22T06:57:27 < GargantuaSauce> oh thanks for reminding me i have to renew 2012-12-22T06:59:35 < dongs> http://nic.ru/dns/service/en/identification.html 2012-12-22T07:00:26 < GargantuaSauce> i think they added that after i registered 2012-12-22T07:00:30 < dongs> doh 2012-12-22T07:00:50 < GargantuaSauce> all the ru-chans promptly moved to other tlds 2012-12-22T07:01:07 < GargantuaSauce> i imagine they're cracking down on internet dissent 2012-12-22T07:01:13 < dongs> haha 2012-12-22T07:01:18 < GargantuaSauce> and that's one of the vehicles 2012-12-22T07:03:05 < dongs> i guess I'll live with just lunix.tv 2012-12-22T07:03:09 < dongs> hipster enough. 2012-12-22T07:03:34 < GargantuaSauce> too bad, it's optimal for moonspeak domains 2012-12-22T07:05:20 < dongs> what is, .su? 2012-12-22T07:05:30 < dongs> i'm sure some faggot already owns de.su 2012-12-22T07:05:36 < dongs> and monetizing the shit out of it 2012-12-22T07:06:17 < dongs> https://youtube.com/watch?v=4c2JWOCHEDM 2012-12-22T07:07:09 < GargantuaSauce> hmm, it was registered and not pointing to anything when i registered dé.su but now it's an unconfigured joomla...in german! 2012-12-22T07:07:53 < dongs> oh 2012-12-22T07:07:59 < dongs> thats what xn---bga expands to. 2012-12-22T07:08:16 < dongs> my shitty fucking browser doesnt go back from xn-foo to unicode name. 2012-12-22T07:08:25 < GargantuaSauce> yeah only opera seems to 2012-12-22T07:08:26 < dongs> Herzlichen Glückwunsch, die Joomla! 2012-12-22T07:10:22 < dongs> die joomla is about right 2012-12-22T07:15:04 < qyx_> herzlich damned german, i should learn some 2012-12-22T07:15:20 < qyx_> last time i was trying to setup sharing on win8 with DE locale 2012-12-22T07:34:52 -!- R0b0t1 [~Dev@unaffiliated/r0b0t1] has quit [Ping timeout: 260 seconds] 2012-12-22T08:00:29 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-22T08:01:55 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-22T08:14:27 -!- jef79m_lurking is now known as jef79m 2012-12-22T08:26:57 -!- jef79m is now known as jef79m_lurking 2012-12-22T08:28:16 -!- jef79m_lurking is now known as jef79m 2012-12-22T08:31:27 -!- jef79m is now known as jef79m_lurking 2012-12-22T08:41:55 < dongs> http://www.kickstarter.com/projects/1411349329/picnduino-dual-microcontroller-development-platfor?ref=categor 2012-12-22T08:43:51 -!- _BJFreeman [~bjfree@185.sub-75-233-63.myvzw.com] has quit [Ping timeout: 260 seconds] 2012-12-22T08:44:53 < emeb_mac> Wow - 6 colors! 2012-12-22T08:45:11 < emeb_mac> he said, his voice heavy with sarcasm. 2012-12-22T08:45:25 < dongs> im totally making dickstarter for my stm32 breakout board. 2012-12-22T08:45:32 < dongs> it comes in "kickstarer green" 2012-12-22T08:46:54 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2012-12-22T08:47:55 < emeb_mac> lol 2012-12-22T08:53:11 < emeb_mac> and your board is presented by an attractive figurine. that's gotta be worth something. 2012-12-22T08:55:02 < R2COM> what is wonderful in that 3 chip pcb shit worth 10K I do not know 2012-12-22T09:10:30 < dongs> 1) duino in name 2012-12-22T09:10:36 < dongs> 2) Works with IPOD 2012-12-22T09:10:38 < dongs> 3) ???? 2012-12-22T09:10:48 < dongs> ^ pretty much guaranteed 10k+ funding at dickstarter 2012-12-22T09:12:06 < dongs> http://en.wikipedia.org/wiki/Alien_abduction_insurance 2012-12-22T09:12:10 < dongs> gotta get me some of that 2012-12-22T09:16:35 < emeb_mac> Of course, the burden of proof lies with the claimant. 2012-12-22T09:23:54 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2012-12-22T09:33:54 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-22T09:38:40 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-22T09:53:46 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-22T09:58:36 -!- dekar_ [~dekar@212.255.242.203] has joined ##stm32 2012-12-22T09:58:39 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-22T10:01:53 -!- dekar [~dekar@212.255.246.117] has quit [Ping timeout: 252 seconds] 2012-12-22T10:57:38 < dongs> what teh FUUUUUUUUUUUUUUUUUUCK 2012-12-22T10:58:58 < dongs> http://i.imgur.com/prH7Z.jpg 2012-12-22T10:59:41 < jpa-> what about that? 2012-12-22T10:59:49 < dongs> take a fucking look at whats in the bag 2012-12-22T10:59:55 < dongs> particularly the LOGO 2012-12-22T11:00:01 < jpa-> microchip? :) 2012-12-22T11:00:15 < dongs> holy kike 2012-12-22T11:00:26 < jpa-> but the package is correct, just solder it in 2012-12-22T11:00:48 < dongs> no its not 2012-12-22T11:01:14 < dongs> thats 44tqf[ 2012-12-22T11:02:15 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-22T11:21:10 -!- BjoernC [~BjoernC@dyndsl-178-142-050-126.ewe-ip-backbone.de] has joined ##stm32 2012-12-22T11:26:53 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-22T11:28:17 -!- BjoernC [~BjoernC@dyndsl-178-142-050-126.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-22T11:34:22 -!- claude is now known as Claude 2012-12-22T11:57:50 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-22T12:10:12 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 250 seconds] 2012-12-22T12:11:42 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-22T12:18:46 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-22T12:34:25 -!- BjoernC [~BjoernC@dyndsl-178-142-050-126.ewe-ip-backbone.de] has joined ##stm32 2012-12-22T12:50:15 -!- jef79m_lurking is now known as jef79m 2012-12-22T13:27:43 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-12-22T13:38:58 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has joined ##stm32 2012-12-22T13:43:24 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-22T13:43:27 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-22T13:48:05 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-22T13:54:30 -!- jef79m is now known as jef79m_lurking 2012-12-22T14:01:25 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has quit [Ping timeout: 244 seconds] 2012-12-22T14:05:22 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-22T14:18:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-22T14:33:26 -!- BjoernC [~BjoernC@dyndsl-178-142-050-126.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-22T14:45:30 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-22T15:11:06 -!- Laurenceb_ [~Laurence@host86-136-118-118.range86-136.btcentralplus.com] has joined ##stm32 2012-12-22T15:11:52 -!- _BJFreeman [~bjfree@111.sub-75-196-110.myvzw.com] has joined ##stm32 2012-12-22T15:18:44 < Laurenceb_> sup 2012-12-22T15:26:06 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-22T15:34:02 < dongs> Laurenceb_: http://i.imgur.com/sZRdf.jpg 2012-12-22T15:34:42 < Laurenceb_> hahahahahahahahaha 2012-12-22T15:35:06 < Laurenceb_> truly epic troll 2012-12-22T15:35:16 < dongs> best xmas present evar 2012-12-22T15:35:29 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-22T15:35:39 -!- NonaSuomy [~TeknoJuce@69.158.142.93] has joined ##stm32 2012-12-22T15:35:39 -!- NonaSuomy [~TeknoJuce@69.158.142.93] has quit [Changing host] 2012-12-22T15:35:39 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-22T15:36:03 < dongs> http://i.imgur.com/nYJgX.jpg 2012-12-22T15:36:55 < Laurenceb_> lol 2012-12-22T15:37:11 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has joined ##stm32 2012-12-22T15:37:11 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-223-159.clienti.tiscali.it] has quit [Disconnected by services] 2012-12-22T15:37:24 < Laurenceb_> were those direct from digikey? 2012-12-22T15:37:26 <+Steffanx> only funny when you've seen the movies 2012-12-22T15:37:44 <+Steffanx> luckily i'm not ruined my harry potter 2012-12-22T15:38:36 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 264 seconds] 2012-12-22T15:38:47 < Laurenceb_> https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32F373%20Bootloader&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https%3A%2F%2Fmy.st.com%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FAllItems.aspx¤tviews=97 2012-12-22T15:38:49 < Laurenceb_> eww 2012-12-22T15:38:54 < dongs> nice url 2012-12-22T15:38:58 < dongs> is that emebs blogpost? 2012-12-22T15:39:01 < Laurenceb_> looks like he is using the wrong dfu driver 2012-12-22T15:39:02 < Laurenceb_> yes 2012-12-22T15:39:17 < Laurenceb_> i used openmoko stuff and it worked first time 2012-12-22T15:39:33 < dongs> you don't need a "driver" 2012-12-22T15:39:36 < dongs> shit never enumerates at all 2012-12-22T15:39:50 < dongs> if it doenst show up on USB it doesnt matter what dfu driver/app you use 2012-12-22T15:40:02 < Laurenceb_> hmm 2012-12-22T15:40:08 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has quit [Client Quit] 2012-12-22T15:40:11 < Laurenceb_> someone is failing 2012-12-22T15:40:27 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has joined ##stm32 2012-12-22T15:40:42 < Laurenceb_> oh an2606 is out 2012-12-22T15:40:49 < dongs> new one? 2012-12-22T15:41:13 < dongs> no its not 2012-12-22T15:41:15 < dongs> still july 2012 2012-12-22T15:41:46 < Laurenceb_> yeah 2012-12-22T15:41:50 < Laurenceb_> st fail 2012-12-22T15:42:12 < dongs> https://youtube.com/watch?v=-1V6sbrTYLY 2012-12-22T15:42:43 < Laurenceb_> what the actual fuck 2012-12-22T15:43:16 < Laurenceb_> this fifo stuff is annoying 2012-12-22T15:43:28 < Laurenceb_> im not even convinced samsung have fixed it 2012-12-22T15:44:26 < Laurenceb_> they are just using fifo mode 2012-12-22T15:44:34 < Laurenceb_> guess the weird reset code might work 2012-12-22T15:47:49 < dongs> samsung? 2012-12-22T15:50:34 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-22T15:50:42 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-22T15:51:01 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-22T15:51:04 -!- Claude is now known as claude 2012-12-22T15:52:17 < Laurenceb_> https://bitbucket.org/sarcastillo/redpillkernel/src/990eb0053acb/drivers/sensor/lsm330dlc_gyro.c?at=redpill 2012-12-22T15:52:29 < Laurenceb_> they use fifo read then reset the fifo after each read 2012-12-22T15:52:50 < dongs> static int lsm330dlc_gyro_report_values\ (struct lsm330dlc_gyro_data *gyro_data) 2012-12-22T15:52:53 < dongs> what the fuck is this? 2012-12-22T15:53:00 < dongs> lunix coding rules? 2012-12-22T15:53:01 < Laurenceb_> galaxy s3 firmware 2012-12-22T15:53:03 < dongs> no more than 80 chars per line? 2012-12-22T15:53:05 < dongs> no I know THat 2012-12-22T15:53:12 < dongs> im talking about retarded newline 2012-12-22T15:53:17 < Laurenceb_> lol 2012-12-22T15:53:22 < Laurenceb_> presumably 2012-12-22T15:54:48 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2012-12-22T15:54:57 < Laurenceb_> the lsm330d teardown is interesting 2012-12-22T15:55:12 < Laurenceb_> looks like the mems are glass encapsulated 2012-12-22T15:55:19 < Laurenceb_> wonder if its a vacuum in there 2012-12-22T15:57:38 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has joined ##stm32 2012-12-22T16:26:36 -!- claude is now known as Claude 2012-12-22T16:29:32 < Laurenceb_> lol @ gmane discussion forum 2012-12-22T16:29:38 < Laurenceb_> what a load of nutters 2012-12-22T16:30:10 < Laurenceb_> ussr_legacy.... Leninism... Trotsky etc 2012-12-22T16:30:23 < dongs> holy fuck 2012-12-22T16:30:31 < Laurenceb_> i was hoping for a lsm330d driver ... 2012-12-22T16:30:32 < dongs> this just in - adafruit is a kike - http://www.adafruit.com/blog/2006/12/25/how-jews-celebrate-christmas/ 2012-12-22T16:45:58 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-22T16:49:12 < Thorn> Q: why dongs can't order FPGAs? A: he kees asking for Zyklon B instead of Cyclone II. 2012-12-22T16:50:17 <+Steffanx> :P 2012-12-22T16:51:32 < Thorn> *keeps 2012-12-22T16:53:59 < Laurenceb_> lols 2012-12-22T16:56:18 < dongs> main.c:1:0: sorry, unimplemented: -mfloat-abi=hard and VFP 2012-12-22T16:56:19 < dongs> wut? 2012-12-22T16:56:51 -!- NonaSuomy is now known as TeknoJuce 2012-12-22T16:57:53 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2012-12-22T16:58:37 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Ping timeout: 246 seconds] 2012-12-22T16:59:27 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-22T17:05:23 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-22T17:07:30 < emeb_mac> morning 2012-12-22T17:17:57 < dongs> emeb_mac: see my fail in log, lol 2012-12-22T17:18:15 < emeb_mac> you mean DK fail? MCHP instead of ST? 2012-12-22T17:18:19 < dongs> y 2012-12-22T17:18:27 < emeb_mac> idiots 2012-12-22T17:19:15 <+Steffanx> dongs is trolled 2012-12-22T17:19:18 < emeb_mac> when I ordered buffers for AfroLED they sent me something else too. 2012-12-22T17:19:37 < emeb_mac> need to teach the warehouse monkeys how to read 2012-12-22T17:20:22 < emeb_mac> seasons greetings -> https://twitter.com/ThePoke/status/282426761403322368/photo/1 2012-12-22T17:22:34 < gxti> animooted, i hope 2012-12-22T17:22:49 < Laurenceb_> lol 2012-12-22T17:23:04 < Laurenceb_> ok so i think i worked out how to unclusterfuck the lsm330d fifo 2012-12-22T17:23:10 < Laurenceb_> from the samsung code 2012-12-22T17:23:28 < Laurenceb_> you have to throw away the samples taken during read 2012-12-22T17:24:42 < emeb_mac> how do you identify those samples? 2012-12-22T17:25:18 < Laurenceb_> they set watermark interrupt 2012-12-22T17:25:44 < Laurenceb_> then read watermark number of samples 2012-12-22T17:25:53 < Laurenceb_> then reset the fifo 2012-12-22T17:26:09 < Laurenceb_> so any more samples recorded during the i2c read are lost 2012-12-22T17:26:38 < emeb_mac> aha! 2012-12-22T17:27:15 < Laurenceb_> presumably the samples are corrupted as they arrive 2012-12-22T17:27:23 < emeb_mac> hopefully your data sink is not bothered by non-uniform sampling 2012-12-22T17:27:45 < Laurenceb_> im going to resample 2012-12-22T17:27:51 < Laurenceb_> its probably doable 2012-12-22T17:28:04 < emeb_mac> or just interpolate the missing ones. 2012-12-22T17:28:07 < dongs> emeb_mac: protip for doing fullscreen in shitty limited ram: use 8bit color 2012-12-22T17:28:15 < Laurenceb_> yeah 2012-12-22T17:28:26 < emeb_mac> dongs: I am. 2012-12-22T17:28:31 < dongs> oh are you? 2012-12-22T17:28:37 < emeb_mac> 128x128x8 2012-12-22T17:28:45 < dongs> and? palette lookup? 2012-12-22T17:28:48 < emeb_mac> and convert to 16bbp while sending to spi 2012-12-22T17:28:53 < dongs> righto. 2012-12-22T17:29:26 < emeb_mac> yeah - duplicating the blue data for all 3 colors for grayscale. 2012-12-22T17:29:55 < dongs> i just pulled that project out of the dustbin and made it compile in keil 2012-12-22T17:30:02 < emeb_mac> optimized the spi writes last night - got it up to 81fps. 2012-12-22T17:30:08 < dongs> gonna clean it up and add some more bling 2012-12-22T17:30:35 < dongs> but first, i need to get laid. bbl 2012-12-22T17:30:39 < emeb_mac> if I do DMA then I might be able to get it a little faster. 2012-12-22T17:30:41 < Laurenceb_> needs to be rendered with goatse 2012-12-22T17:30:44 < emeb_mac> TMI 2012-12-22T17:30:44 < Laurenceb_> loldongs 2012-12-22T17:30:54 < dongs> emeb_mac: you'll need to pre-render one scanline in a buffer if you gonna dma 2012-12-22T17:30:56 < dongs> no point doing pixel by pixel 2012-12-22T17:31:04 < dongs> duno if its gonna be worth it 2012-12-22T17:31:07 < dongs> anyway, bbl 2012-12-22T17:31:27 < Laurenceb_> s/ anyway, bbl/ anyway, fapping 2012-12-22T17:31:34 < emeb_mac> dongs: pre-render into the full buffer, then read it out via DMA 1/4 screen at a time 2012-12-22T17:33:31 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-22T18:04:00 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-22T18:09:45 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-22T18:15:25 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2012-12-22T18:19:58 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-22T18:22:40 < zyp> if you can render faster than writing takes, just use a small circular buffer and a full dma transfer 2012-12-22T18:24:59 < emeb_mac> zyp: I can render the object much faster than writing, but rendering isn't a linear process. 2012-12-22T18:25:27 < emeb_mac> at least the way the code is currently written. 2012-12-22T18:26:11 < emeb_mac> rossum@posterous has some examples for rendering direct to raster to eliminate the frame buffer though. 2012-12-22T18:37:31 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-22T19:23:25 < Laurenceb_> does anyone know if the mems sensors use a dedicated adc for every channel? 2012-12-22T19:26:38 < emeb_mac> seems like overkill - doubt it. 2012-12-22T19:28:11 < Laurenceb_> yeah 2012-12-22T19:28:19 < Laurenceb_> im guessing they use oversampling and dsp 2012-12-22T19:28:33 < Laurenceb_> but it still doesnt explain why the fifo would be corrupted during load 2012-12-22T19:28:39 < Laurenceb_> unless the used 8bit fifo 2012-12-22T19:28:44 < Laurenceb_> and some goofy vhdl 2012-12-22T19:29:44 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-22T19:29:57 < emeb_mac> never discount the possibility of bad silicon design. 2012-12-22T19:30:55 < Laurenceb_> yeah 2012-12-22T19:31:13 < emeb_mac> would be interesting to see the internal access only errata list for that chip 2012-12-22T19:31:39 < emeb_mac> chances are good though that whoever at Samsung wrote the driver had a look at the errata. 2012-12-22T19:32:09 < Laurenceb_> yeah 2012-12-22T19:32:30 < Laurenceb_> im guessing the majority of the chips sold have gone to samsung 2012-12-22T19:33:05 < Laurenceb_> so id imagine they had some help 2012-12-22T19:33:30 < emeb_mac> how many millions of Galaxy SIII phones made? Sammy probably has some clout at ST. 2012-12-22T19:35:18 -!- Laurenceb__ [~Laurence@host86-177-210-214.range86-177.btcentralplus.com] has joined ##stm32 2012-12-22T19:37:33 < Bird|lappy> why would they have a separate, super-sekret errata list? 2012-12-22T19:37:40 -!- Laurenceb_ [~Laurence@host86-136-118-118.range86-136.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-12-22T19:38:36 < emeb_mac> Bird|lappy: most silicon vendors do. The places I've worked certainly did. 2012-12-22T19:39:11 < emeb_mac> these errata are shared with the big customers under NDA to prevent the competitors for slamming them. 2012-12-22T19:43:33 < Bird|lappy> is this for all chips, or just really big, chunky stuff (like SoCs)? 2012-12-22T19:43:56 < emeb_mac> some chips are simple enough that there aren't big errors. 2012-12-22T19:44:21 < emeb_mac> probably not a lot of errors in a 74HCT244 buffer 2012-12-22T19:44:45 < emeb_mac> but I'd bet there are significant errata lists for stuff like our STM32 chips. 2012-12-22T19:47:55 < Thorn> I wonder how much of that is relevant for users but is not published in publicly available errata 2012-12-22T19:48:49 < emeb_mac> hard to say. If it's generally relevant they'll either fix the chip or document it publicly. 2012-12-22T19:49:09 < emeb_mac> if it's a rare corner case they'll play it close. 2012-12-22T19:49:24 < Thorn> fix the chip? not ST 2012-12-22T19:50:35 < emeb_mac> you never know - how much stuff got fixed between the prototype and production runs. 2012-12-22T19:54:31 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-12-22T20:13:40 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-22T20:24:14 < Laurenceb__> well lsm330d seems pretty broken 2012-12-22T20:26:50 <+Steffanx> and you are the first one to discover that? 2012-12-22T20:28:45 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has quit [Ping timeout: 265 seconds] 2012-12-22T20:31:35 <+Steffanx> I mean, this is not the first time you blame the hardware :P 2012-12-22T20:34:01 < emeb_mac> Laurenceb__: 2012-12-22T20:34:21 < emeb_mac> did the galaxy driver approach not work? 2012-12-22T20:34:37 < Laurenceb__> havent tried it yet - havent got the hardware set up 2012-12-22T20:45:10 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-22T20:58:01 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Read error: Connection reset by peer] 2012-12-22T20:58:19 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-22T21:03:36 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 260 seconds] 2012-12-22T21:10:08 < Tectu> can anyone tell me if this might be some ChibiOS/RT macro or if it's something more globally? CPU_RESET_CYCLECOUNTER 2012-12-22T21:21:04 -!- ok9swl [~ulehla@164.70.broadband5.iol.cz] has joined ##stm32 2012-12-22T21:22:14 < ok9swl> Hello o/ 2012-12-22T21:24:18 <+Steffanx> hi 2012-12-22T21:25:12 < emeb_mac> ho 2012-12-22T21:27:01 < ok9swl> I am glad to find this channel, I am using STM32 micros at work for three years now and I am planning to try it on GNU/Linux too. 2012-12-22T21:27:35 < ok9swl> Is there a chance? :) 2012-12-22T21:28:33 < gurgalof> yes 2012-12-22T21:28:33 < gxti> not if you call it "GNU/Linux" :p 2012-12-22T21:29:04 < gurgalof> http://vedder.se/2012/07/get-started-with-stm32f4-on-ubuntu-linux/ 2012-12-22T21:29:20 < gurgalof> a great guide written by my friend 2012-12-22T21:31:40 < ok9swl> gurgalof: thank you, i will surely go through it. I just want to introduce me a little for the first time. Thank you. 2012-12-22T21:32:27 -!- Claude is now known as claude 2012-12-22T21:32:42 < gurgalof> no problem, opensource is the way to go 2012-12-22T21:41:58 -!- jef79m_lurking is now known as jef79m 2012-12-22T21:49:34 < jpa-> Tectu: it would sound like the DWT 2012-12-22T21:50:11 < jpa-> ok9swl: if you want free tools, it's actually a lot easier on linux than windows 2012-12-22T21:50:21 < zyp> but the macro would be provided by chibios 2012-12-22T21:52:59 < gxti> BLURG 2012-12-22T21:53:19 < gxti> the libopencm3 that ships with blackmagic does not have input capture on f4 2012-12-22T21:53:59 < gxti> latest git does but latest git does not work with bm of course 2012-12-22T21:54:04 < ok9swl> jpa-: yes, i can imagie that, we are using a Rainsonance Ride IDE with gcc based compiler, but their licencing politics starts to be confusing. 2012-12-22T21:54:18 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:9466:77f5:e92e:eec1] has joined ##stm32 2012-12-22T21:54:49 < emeb_mac> gxti: why you trying to build bmp for an F4? 2012-12-22T21:54:57 < gxti> because that's what i have 2012-12-22T21:55:09 < emeb_mac> buh-wut? 2012-12-22T21:55:31 < emeb_mac> you have an f4 disco right? 2012-12-22T21:55:34 < gxti> yes 2012-12-22T21:55:46 < emeb_mac> and that board has an f4 as the target 2012-12-22T21:55:52 < gxti> yes. 2012-12-22T21:56:00 < emeb_mac> but the stlink firmware runs on an F1 that's hooked to usb 2012-12-22T21:56:14 < gxti> i'm not going to flash the stlink, that's my only working programmer :p 2012-12-22T21:56:26 < emeb_mac> oh. 2012-12-22T21:56:40 < gxti> the f4 has its own usb as well 2012-12-22T21:56:43 < emeb_mac> so you're trying to set up the f4 as a second programmer 2012-12-22T21:56:59 < gxti> yes. 2012-12-22T21:57:04 < emeb_mac> gotcha. 2012-12-22T21:57:19 < gxti> probably stupid but i've got nothing more interesting to do for the next week. 2012-12-22T21:57:53 < emeb_mac> surf over to digi-key and order yourself up an F0 disco for a few $$. 2012-12-22T21:58:11 < emeb_mac> then you'll have a backup st-link that you can load with bmp 2012-12-22T21:58:15 < gxti> and wait a week for it to arrive yes, lame 2012-12-22T21:59:50 -!- jef79m is now known as jef79m_lurking 2012-12-22T22:06:42 < gxti> first compile success! not getting my hopes up though. 2012-12-22T22:09:37 < jpa-> you always have usart bootloader if you ruin your programmer :) 2012-12-22T22:11:25 < emeb_mac> wonder what you'd have to do to access the usart bootloader on the stlink half of a disco board. 2012-12-22T22:11:46 < emeb_mac> probably solder on flywires & lift the boot pin. 2012-12-22T22:12:07 < jpa-> maybe 2012-12-22T22:12:16 < gxti> i do still have the busblaster but i never got swd working on that 2012-12-22T22:12:49 < gxti> hmm, i at least got the thing to go into panic morse-code blinky mode 2012-12-22T22:12:58 < emeb_mac> good sign actually 2012-12-22T22:13:05 < gxti> it means i didn't fuck the RCC up entirely 2012-12-22T22:13:08 < gxti> just mostly 2012-12-22T22:13:42 < gxti> usb fails to enumerate but it does at least cause some reaction from the host. probably need to fix clocks or something. 2012-12-22T22:14:48 < jpa-> i wonder how stable libopencm3 usb is nowadays 2012-12-22T22:15:10 < jpa-> F4 usb, i mean 2012-12-22T22:31:02 < BrainDamage> like it on facebook 2012-12-22T22:47:33 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-22T22:50:27 -!- ok9swl [~ulehla@164.70.broadband5.iol.cz] has quit [Quit: ...-.-] 2012-12-22T22:53:04 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-22T22:53:41 < Laurenceb__> http://media.tumblr.com/tumblr_mexgpuFFdZ1qctkcl.jpg 2012-12-22T22:53:47 < Laurenceb__> dongscake 2012-12-22T22:54:25 <+Steffanx> lolcake 2012-12-22T23:08:00 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 264 seconds] 2012-12-22T23:10:09 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:9466:77f5:e92e:eec1] has quit [Remote host closed the connection] 2012-12-22T23:18:32 -!- jef79m_lurking is now known as jef79m 2012-12-22T23:22:28 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2012-12-22T23:23:32 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-22T23:26:30 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-22T23:30:05 < emeb_mac> ewwwcake 2012-12-22T23:33:50 -!- jef79m is now known as jef79m_lurking 2012-12-22T23:42:53 < gxti> feh, losing interest already 2012-12-22T23:43:23 < gxti> i can't debug the debugger because the debugger debugger is buggy 2012-12-22T23:47:09 < jpa-> maybe you could debug the debugger debugger using the debugger debugger debugger 2012-12-22T23:47:34 < gxti> or i could just throw money at the internet and do something else for a while 2012-12-22T23:49:02 < gxti> already did 2012-12-22T23:49:05 < gxti> no change 2012-12-22T23:49:55 < gxti> openocd doesn't work, texane stlink doesn't work, atollic works but then i have to use atollic 2012-12-22T23:50:28 < gxti> i'll try coocox next, i think 2012-12-22T23:50:54 < gxti> since it's dick-n-dorsed by dongs 2012-12-22T23:51:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-22T23:52:56 < emeb_mac> coocox is fine. 2012-12-22T23:54:08 < jpa-> gxti: you are on windows or what is the problem? 2012-12-22T23:54:43 < gxti> jpa-: either is available. ideally i want to have FOSS everything and use my own makefiles, but working is more important. 2012-12-22T23:55:06 < jpa-> so what is the trouble with texane stlink on linux? 2012-12-22T23:55:27 < gxti> breakpoints don't work, including ones set by stepping 2012-12-22T23:56:18 < emeb_mac> don't forget that it doesn't properly shut off DMA during flashing, so it can corrupt the code you write. 2012-12-22T23:56:52 < Laurenceb__> how do i find the location of an eagle library? 2012-12-22T23:56:59 < Laurenceb__> say i have a project im working on 2012-12-22T23:57:09 < Laurenceb__> how do i find where a library is on the system? 2012-12-22T23:57:35 < gxti> e.g. here's some basic stuff: http://pastebin.com/VGPaVBqq 2012-12-22T23:58:29 < jpa-> go happy with the reset button :) 2012-12-22T23:58:45 < gxti> wut? 2012-12-22T23:58:59 < jpa-> press reset before flashing or load, press reset after first continue, continue again --- Day changed Sun Dec 23 2012 2012-12-23T00:00:00 < jpa-> i know, it sucks that the F4 reset is broken somehow but i have been able to use it by just pressing the reset button manually instead of relying it to do it automatically 2012-12-23T00:00:12 < gxti> it's just as fucked on f1 though 2012-12-23T00:00:25 < gxti> also that didn't work, it seems the device is blank after i reset it :p 2012-12-23T00:00:33 < gxti> don't know how that works. 2012-12-23T00:00:44 < gxti> well, not blank, just fucked 2012-12-23T00:01:21 < jpa-> i guess i now understand your trouble :) 2012-12-23T00:01:31 < jpa-> been considering getting bmp for the exactly same reason 2012-12-23T00:01:57 < emeb_mac> doo eet! 2012-12-23T00:02:10 < gxti> i've had devices with similar behavior where sometimes they would only run immediately after being flashed, then i disconnected the debugger and reset and it was silent 2012-12-23T00:02:57 < gxti> are there any BM devices available for less than $60? 2012-12-23T00:03:23 < gxti> other than fabbing my own of course 2012-12-23T00:03:52 < jpa-> i would be happy to pay $60 if i didn't have to go around hunting cables and connectors after that 2012-12-23T00:04:36 < emeb_mac> dongs should start selling bmp2s 2012-12-23T00:06:04 < emeb_mac> gxti: or you can get a disco board and install bmp firmware on it. total cost < $20 2012-12-23T00:06:28 < gxti> no, i want an actual adapter :p 2012-12-23T00:06:56 < gxti> i wouldn't have any other use for a f0disco or f1disco or whatever it was, and i would need to figure out what the pinout was every time etc 2012-12-23T00:08:20 < zyp> agreed 2012-12-23T00:08:43 < zyp> you don't want to use a discovery board as a debugger for other boards in the long run 2012-12-23T00:17:36 -!- daku [DaKu@dakus.dk] has quit [Ping timeout: 264 seconds] 2012-12-23T00:20:35 < Laurenceb__> is there a way to locate a library file from eagle? 2012-12-23T00:20:48 < Laurenceb__> as in some way to find the path to the file from the gui 2012-12-23T00:23:56 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-23T00:26:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Client Quit] 2012-12-23T00:27:17 < zyp> yes 2012-12-23T00:27:41 < zyp> hmm, I misinterpreted your question 2012-12-23T00:27:48 < zyp> so strike that 2012-12-23T00:28:56 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-12-23T00:29:29 < Laurenceb__> arg 2012-12-23T00:29:44 < Laurenceb__> i think eagle copies the footprint into the project file 2012-12-23T00:29:50 < Laurenceb__> so i may have lost the footprint 2012-12-23T00:30:00 < zyp> yes 2012-12-23T00:30:08 < Laurenceb__> wonder if theres any record of where it was 2012-12-23T00:31:28 < zyp> if you mark the part, the name of the lib it came from will be shown in the status bar 2012-12-23T00:31:30 < gxti> hmm, coocox/coos doesn't seem to do the internets 2012-12-23T00:31:33 < zyp> but not path 2012-12-23T00:31:51 < gxti> granted i could bung it in there myself but meh 2012-12-23T00:32:44 -!- R0b0t1 [~Dev@64-136-219-55.dyn.everestkc.net] has quit [Changing host] 2012-12-23T00:32:44 -!- R0b0t1 [~Dev@unaffiliated/r0b0t1] has joined ##stm32 2012-12-23T00:34:35 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-23T00:38:45 < Laurenceb__> oh theres an export script 2012-12-23T00:38:49 < Laurenceb__> nvm 2012-12-23T00:38:58 < Laurenceb__> i remember what happened 2012-12-23T00:39:17 < Laurenceb__> i copied the parts of a shared drive on the lan at the place i used to work at 2012-12-23T00:41:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-23T00:51:39 -!- daku [DaKu@dakus.dk] has joined ##stm32 2012-12-23T00:56:11 -!- daku [DaKu@dakus.dk] has quit [Ping timeout: 252 seconds] 2012-12-23T00:58:59 -!- daku [DaKu@dakus.dk] has joined ##stm32 2012-12-23T01:08:31 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-23T01:15:12 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Ping timeout: 264 seconds] 2012-12-23T01:22:09 < gxti> i can't set a linker script in coide? what is this repugnant shit 2012-12-23T01:31:33 < gxti> oh well, aside from having to copy my linker script to a faraway directory and mark it readonly so it doesn't get pooped on, things seem to work 2012-12-23T01:37:07 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-23T01:37:18 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2012-12-23T02:06:17 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-23T02:07:50 < gxti> figured out how to start coocox's gdbserver but it seems to only bind localhost so i can't connect remotely, even if i put something else for 'IP' in the ini file. still promising. 2012-12-23T02:15:35 -!- daku is now known as DaKu 2012-12-23T02:16:27 -!- _BJFreeman [~bjfree@111.sub-75-196-110.myvzw.com] has quit [] 2012-12-23T02:19:56 <+Steffanx> uh flyback ? 2012-12-23T02:21:11 < gxti> uh Steffanx 2012-12-23T02:21:45 <+Steffanx> good morning gxti 2012-12-23T02:22:23 < gxti> is that a fact! 2012-12-23T02:22:45 < gxti> looks quite dark out 2012-12-23T02:22:51 <+Steffanx> Yes it is, on this part of the globe 2012-12-23T02:24:27 <+Steffanx> There is more on the globe than the US only gxti 2012-12-23T02:24:40 <+Steffanx> sometimes i get the idea yankees forget that all the time :P 2012-12-23T02:24:54 < gxti> we do it just to wind you up 2012-12-23T02:25:08 < gxti> not out of stupidity or arrogance or any such thing 2012-12-23T02:25:54 <+Steffanx> I wouldn't be so sure :) 2012-12-23T02:26:58 <+Steffanx> fyi: you should take 'everything' i say with a grain of salt 2012-12-23T02:36:03 < baird> Giving it to a kid off the bat, most likely. If he's already into ripping things apart as a self-directed hacker, a good idea. "To determine if you're worthy to receive this precious gift, tell me what interface would be used to reflash the firmware on a network router.." 2012-12-23T02:36:22 < baird> *what hardware interface 2012-12-23T02:41:42 < baird> But if he's already familar with the JTAG concept, he/she should have no problems getting the F0 to work with the usual IDEs. 2012-12-23T02:44:14 < baird> I was thinking of giving a nephew a raspberry pi for xmas.. but I haven't seen much indication that he's anything more than a normalfag with computers, in spite of wning his own laptop now. 2012-12-23T02:46:36 < dongs> https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-ash3/548641_503404646348103_1897224400_n.jpg 2012-12-23T02:46:39 < dongs> awesome cookie cutter 2012-12-23T02:50:10 <+Steffanx> Are you sick in your head dongs. I mean, not just sick, but really crazy? 2012-12-23T02:50:15 < baird> lets make some awesome buddist cookies 2012-12-23T02:50:49 <+Steffanx> Sorry, this is one of those stupid questions. 2012-12-23T02:52:30 < dongs> baird: this time its not 2012-12-23T02:53:00 < baird> When I was on the bike trip, I stopped to check out a community markets kind of thing, and one of the stalls had a WWII german helmet. Sucks to live in a country where you need to wear a bicycle helmet with an AS2063 approval sticker. :/ 2012-12-23T02:53:58 <+Steffanx> heh baird 2012-12-23T02:54:09 <+Steffanx> Can't you add the sticker yourself? 2012-12-23T02:54:11 <+Steffanx> :P 2012-12-23T02:57:17 <+Steffanx> When you talk about a bike, you mean a motor bike i guess baird ? 2012-12-23T03:01:37 < baird> No, that time, I was cycling. http://boards.4chan.org/n/res/425297 2012-12-23T03:01:54 <+Steffanx> Ah, so a bicycle :) 2012-12-23T03:01:57 < gxti> never mind re previous whinging about linker scripts in coocox, it was labelled 'scatter file' and was disabled because of a checkbox i hadn't considered might be relevant :p 2012-12-23T03:02:33 -!- jef79m_lurking is now known as jef79m 2012-12-23T03:03:51 <+Steffanx> So Arduino it's going to be flyback ? 2012-12-23T03:05:45 <+Steffanx> It's not xmas yes, so you still have some time to decide 2012-12-23T03:05:48 <+Steffanx> gn :P 2012-12-23T03:05:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-23T03:14:43 < Laurenceb__> http://media.tumblr.com/tumblr_mexgpuFFdZ1qctkcl.jpg 2012-12-23T03:14:53 < Laurenceb__> dongs bakes a cake 2012-12-23T03:28:26 < dongs> moderately ufnny 2012-12-23T03:36:50 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-23T03:39:03 < Laurenceb__> your cookie cutters were already on epic wtf 2012-12-23T03:40:11 < Laurenceb__> http://media.tumblr.com/tumblr_mf74n81WPN1qctkcl.jpg 2012-12-23T03:48:16 -!- Laurenceb__ [~Laurence@host86-177-210-214.range86-177.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-12-23T03:48:56 -!- jef79m is now known as jef79m_lurking 2012-12-23T03:54:36 < gxti> haha oh man, i forgot what geda pcb looks like 2012-12-23T03:55:48 < dongs> haha. 2012-12-23T03:55:50 < gxti> at least it performs better than kicad, not that i'm in any hurry to use either one 2012-12-23T03:56:03 < gxti> just wanted to peek at the blackmagic hw docs 2012-12-23T03:56:22 < dongs> Did you know? Kicad is an anagram for "a dick" 2012-12-23T03:56:34 < gxti> how can you pass that up, dongs? 2012-12-23T03:56:56 < dongs> also: lead kicad developer's name also happens to be dick. 2012-12-23T04:02:52 < baird> So.. software with a Dick agenda. 2012-12-23T04:04:55 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-23T04:11:03 < R0b0t1> Well to be fair phallic imagery is fairly ubiquitous. 2012-12-23T04:16:31 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-23T04:22:50 < emeb_mac> dongs: got your cube prettied up? 2012-12-23T04:30:10 < gkwhc> Hi, might anyone here have experience with DSPs? is it just like programming MCUs? 2012-12-23T04:32:44 < dongs> emeb_mac: need to assemble some emmc breakouts first :( workwork 2012-12-23T04:33:16 < emeb_mac> working on sunday. yay. :P 2012-12-23T04:33:21 < dongs> i kno rite 2012-12-23T04:33:38 < dongs> this shit looks like 0.5mm pitch or something nutty 2012-12-23T04:34:21 < emeb_mac> big fun. 2012-12-23T04:34:40 < emeb_mac> gkwhc: what kind of DSPs you talking about? 2012-12-23T04:36:53 < gkwhc> emeb_mac: im debating whether I should use the C55x DSP from TI 2012-12-23T04:37:14 < emeb_mac> depends. what's your application? 2012-12-23T04:39:35 < gkwhc> an audio recorder. after that I'd like to add audio effects and probably perform FFT to translate pitch to notes, like a tuner 2012-12-23T04:42:00 < dongs> i think emeb_mac is expert onm that 2012-12-23T04:43:38 < emeb_mac> gkwhc: you could do that with a C55x if you want to. 2012-12-23T04:43:54 < emeb_mac> bear in mind that c55x parts are... unique. 2012-12-23T04:44:40 < emeb_mac> dev tools are limited, parts are fairly expensive and they don't provide much more performance than you can get from more mainstream MCUs 2012-12-23T04:45:21 < emeb_mac> I looked at doing some projects with C55x a few years ago. I'm using STM32 now. 2012-12-23T04:45:52 < gkwhc> hm, so in this case I can possibly get away with the audio processing by using an ARM, like M3 or ARM9? 2012-12-23T04:46:40 < emeb_mac> gkwhc: I do a lot of audio using Microchip dsPIC and STM32 Cortex M3/M4F processors. 2012-12-23T04:46:48 < gkwhc> i found a fairly cheap C55, around $4. but yeah, it seems like support/resources are limited 2012-12-23T04:47:06 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-23T04:48:04 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has quit [Ping timeout: 246 seconds] 2012-12-23T04:48:41 < emeb_mac> gkwhc: are you primarily interested in learning software techniques on a devboard, or do you want to build hardware? 2012-12-23T04:49:24 < gkwhc> emeb_mac: i want to build hardware with software that works 2012-12-23T04:49:51 < gkwhc> emeb_mac: i am starting from scratch 2012-12-23T04:50:00 < emeb_mac> OK. If you were just going to use devboards then C55 is probably fine. 2012-12-23T04:50:24 < emeb_mac> if you want to build hardware it's a bit more challenging - most parts are BGA or high pincount LQFP. 2012-12-23T04:51:03 < gkwhc> yeah, ive figured that I'll need a 4 layer board 2012-12-23T04:51:27 < dongs> ugh 2012-12-23T04:51:33 < dongs> these morons did footprint for bigger size one 2012-12-23T04:51:34 < emeb_mac> I've done workable audio processing with an STM32F4 on a small 2-layer board. 2012-12-23T04:51:52 < gkwhc> emeb_mac: im just really doubtful that M3 could do the job? with a 20KB RAM? 2012-12-23T04:52:04 < emeb_mac> see this: http://ebrombaugh.studionebula.com/synth/stm32f4_codec/index.html 2012-12-23T04:52:36 < gkwhc> oh cool! 2012-12-23T04:52:40 < emeb_mac> gkwhc: yeah - I wouldn't try serious audio on smaller parts. 2012-12-23T04:53:04 < emeb_mac> but the STM32F405 has a fair amount of on-chip SRAM and decent I2S ports. 2012-12-23T04:53:43 < dongs> http://i.imgur.com/EWoBb.jpg ... 2012-12-23T04:54:18 < emeb_mac> wtf is that pkg? 2012-12-23T04:54:34 < dongs> the problem is, their footprint is for the bigger one with those roundy shits 2012-12-23T04:54:39 < dongs> so I cant use the outline to align it 2012-12-23T04:54:48 < gkwhc> oh nice, its an M4 with FPU 2012-12-23T04:54:57 < dongs> its standard emmc package 2012-12-23T04:55:00 < emeb_mac> gkwhc: yep - works great 2012-12-23T04:55:31 < gkwhc> iirc, M3s dont have MAC units, but M4s do? 2012-12-23T04:56:07 < emeb_mac> gkwhc: the M4F doesn't really have a true MAC unit like a DSP. 2012-12-23T04:56:09 < gkwhc> dongs: where do you buy eMMCs?! 2012-12-23T04:56:35 < gkwhc> emeb_mac: no? 2012-12-23T04:56:36 < emeb_mac> but it does have some good MAC instructions with large (64-bit) accumulators 2012-12-23T04:56:58 < gkwhc> i see 2012-12-23T04:57:00 < emeb_mac> so you can "fake" doing DSP stuff 2012-12-23T04:57:36 < gkwhc> i suppose one wouldnt see much difference in performing realtime FFT 2012-12-23T04:57:51 < dongs> cmsis for M4 has some dsplib in it 2012-12-23T04:57:53 < emeb_mac> a real DSP has a MAC with parallel operand buses, address units and prefetches. M4F doesn't have all that so it's a bit slower. 2012-12-23T04:57:56 < dongs> but it looks mostly obvious shit 2012-12-23T04:58:00 < baird> Pulling apart a busted iPhone4 that I found. Damn there's a serious amount of structural design inside it. 2012-12-23T04:58:14 -!- Viper168 [~Viper168@node56.19.251.72.1dial.com] has joined ##stm32 2012-12-23T04:58:14 -!- Viper168 [~Viper168@node56.19.251.72.1dial.com] has quit [Changing host] 2012-12-23T04:58:14 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-23T04:58:34 < dongs> hmm. slap it down and nope for the best 2012-12-23T04:58:42 < emeb_mac> gkwhc: I was able to do real-time 512-point FFTs on audio data with cycles to spare. 2012-12-23T04:58:43 < dongs> maybe use a black marker to mark new outlines 2012-12-23T04:59:23 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 244 seconds] 2012-12-23T04:59:41 < gkwhc> emeb_mac: can one perform FFT while recording audio? i dont see why it wouldnt be possible with DMA set up. 2012-12-23T05:00:21 < emeb_mac> gkwhc: yeah. the I2S DMA channels run in the background. CPU can compute foreground 2012-12-23T05:01:08 < emeb_mac> dongs: I used the FFTs in the cmsis libs. They work fine. 2012-12-23T05:02:03 < gkwhc> emeb_mac: i see. also, how can the amount of RAM required for FFT be estimated? 2012-12-23T05:02:54 < emeb_mac> gkwhc: depends on what kind of FFT you're doing. 2012-12-23T05:03:31 < emeb_mac> but generally not more than 2x the number of data points you're feeding it. 2012-12-23T05:04:15 < emeb_mac> I used real floating point transforms, so that's 32-bits/sample x 512 samples = 2kB. 2012-12-23T05:04:57 < gkwhc> i see 2012-12-23T05:09:57 < dongs> haha what the hell 2012-12-23T05:10:00 < dongs> JP1 in my pic 2012-12-23T05:10:08 < dongs> the right side hole is npth 2012-12-23T05:10:13 < dongs> looks like eagle fail 2012-12-23T05:10:24 < emeb_mac> lol 2012-12-23T05:15:05 < gkwhc> emeb_mac: thanks so much for the help. i'll do some more googling :) 2012-12-23T05:15:06 < dongs> this wrong outline is really gonna fuck me over. 2012-12-23T05:15:18 < dongs> gkwhc: just google straight into his store and buy the dsp board 2012-12-23T05:15:21 < emeb_mac> gkwhc: good luck 2012-12-23T05:15:21 < dongs> then you dont have to do anything 2012-12-23T05:15:58 < emeb_mac> dongs: is it just a matter of correctly aligning the part on the picknplace? 2012-12-23T05:16:00 < gkwhc> dongs: haha. i was gonna ask you, is that picture of the emmc board yours? 2012-12-23T05:16:24 < dongs> gkwhc: its a job im assembling yea 2012-12-23T05:16:34 < gkwhc> i'd really like to know where to get eMMC chips 2012-12-23T05:16:36 < dongs> emeb_mac: im not running 5 boards thorugh dicknplace 2012-12-23T05:16:44 < dongs> gkwhc: internet? or anywehre. i dunno. 2012-12-23T05:17:03 < dongs> as you can see, your biggest problem is gonna be assembling them 2012-12-23T05:17:31 < gkwhc> dongs: a while ago i looked through distributors such as mouser and digikey..didnt find any 2012-12-23T05:17:39 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-23T05:17:51 < gkwhc> hot air? 2012-12-23T05:18:51 < dongs> im gonna run one through reflow and xray and see if i should even bother making more 2012-12-23T05:19:04 < dongs> gkwhc: octopart, arrow/avnet/newark usually have it 2012-12-23T05:19:41 < emeb_mac> avnet has a few in stock (Toshiba 8GB) 2012-12-23T05:19:59 * gkwhc takes a look 2012-12-23T05:20:20 < dongs> also looks like stencils for zypboard are here 2012-12-23T05:20:24 < dongs> so i can ship the trash mondayt. 2012-12-23T05:20:38 < emeb_mac> christmas for zyp 2012-12-23T05:20:44 < dongs> more like new year 2012-12-23T05:20:48 < dongs> i dont think hes getting them in 2012 2012-12-23T05:20:57 < emeb_mac> he's not home anyway 2012-12-23T05:21:52 < gxti> he's the one with the bmp mods right? has he published the docs anywhere? 2012-12-23T05:21:59 < dongs> im gonna charge tehse assholes double 2012-12-23T05:22:01 < dongs> for wrong package footprint 2012-12-23T05:22:26 < emeb_mac> dongs: I guess you could take measurements from the emmc pkgs and the board and make a paper stencil for aligning. 2012-12-23T05:22:40 < dongs> i just used a black marker while it was upside down 2012-12-23T05:22:44 < dongs> and aligned + marked shit. 2012-12-23T05:22:51 < dongs> ghetto the shit up. 2012-12-23T05:22:58 < emeb_mac> serve 'em right 2012-12-23T05:23:06 < dongs> its in the oven then off to xray 2012-12-23T05:23:24 < emeb_mac> "whoops - you screwed up and we can't build these boards as you designed them" 2012-12-23T05:23:43 < dongs> i understand the stuff behind using universal emmc footprint but fuckers, make package outlines in silk for both 2012-12-23T05:23:47 < dongs> at least the corners 2012-12-23T05:24:05 < emeb_mac> yup 2012-12-23T05:24:49 < dongs> doesnt look too bad 2012-12-23T05:24:50 < dongs> xray time 2012-12-23T05:25:02 < emeb_mac> put on the lead underpants 2012-12-23T05:34:56 < dongs> windows on desktop-class success 2012-12-23T05:35:15 < dongs> http://i.imgur.com/gVewS.jpg 2012-12-23T05:36:31 < emeb_mac> w00t? 2012-12-23T05:36:45 < gxti> gg 2012-12-23T05:37:56 < emeb_mac> that pkg had so many spurious pads on it that it's hard to say which ones were real 2012-12-23T05:38:10 < dongs> yeah theres only like 10 connected 2012-12-23T05:38:25 < dongs> its emmc, which is like basically SDIO isnt it? 2012-12-23T05:38:30 < emeb_mac> IIRC 2012-12-23T05:41:09 < dongs> looks like 8bit data 2012-12-23T05:41:16 < dongs> since the traces are length matched on this thing 2012-12-23T05:41:33 < dongs> since when can eagle do serpentine traces? 2012-12-23T05:42:32 < emeb_mac> I counted like 29 or so pads that had traces to 'em 2012-12-23T05:42:40 < emeb_mac> including pwr/gnd 2012-12-23T05:42:45 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-23T05:43:05 < dongs> the pinout is standard 2012-12-23T05:43:10 < dongs> some jedec shit 2012-12-23T05:43:47 < emeb_mac> yep jedec emmc4.5 is the std I think 2012-12-23T05:44:22 < emeb_mac> funny all those large outer pads that don't seem to do anything. not even solder balls on them. 2012-12-23T05:45:07 < dongs> well, thats the smaller package 2012-12-23T05:45:17 < dongs> tehre's like BGA189 and BGA168 or osmeshit 2012-12-23T05:45:23 < dongs> the outline is for the bigger one 2012-12-23T05:45:31 < dongs> that does have balls for those semicircle shits 2012-12-23T05:45:50 < dongs> those side pads actually seem to be connected to shit 2012-12-23T05:45:53 < dongs> probably testing? 2012-12-23T05:46:36 < emeb_mac> could be 2012-12-23T05:48:46 < emeb_mac> http://rere.qmqm.pl/~mirq/JESD84-A44.pdf 2012-12-23T05:49:02 < emeb_mac> clk, cmd, 8-bit data, reset, power/gnd 2012-12-23T05:49:45 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-23T05:51:59 < emeb_mac> hmm. bs - that doc says emmc but it's for cards, not modules. 2012-12-23T05:59:43 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-23T06:09:45 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-23T06:09:51 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-23T06:17:00 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 250 seconds] 2012-12-23T06:39:00 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-23T06:43:17 < dongs> k time to xray the rest. but it looks ok. 2012-12-23T06:44:13 < emeb_mac> \o/ 2012-12-23T06:54:14 < dongs> yea all good 2012-12-23T07:01:23 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-23T07:21:19 < dongs> yeah so I can examine my anus from time to time 2012-12-23T07:24:02 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Remote host closed the connection] 2012-12-23T07:34:56 -!- R0b0t1 [~Dev@unaffiliated/r0b0t1] has quit [Read error: Connection reset by peer] 2012-12-23T07:36:43 < gxti> he's at work, numbnuts 2012-12-23T07:37:24 < gxti> although now i'm curious how much such things cost ;p 2012-12-23T07:39:50 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-23T07:41:23 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-23T07:43:46 < dongs> photo stuff is MUCH higher rez 2012-12-23T07:43:48 < gxti> well in that case then the answer is pretty clear 2012-12-23T07:43:54 < gxti> he can afford it because he gets paid 2012-12-23T07:43:56 < dongs> i took a film version of a board once 2012-12-23T07:44:04 < dongs> and scanned 2012-12-23T07:44:35 < dongs> http://pbx.mine.nu/random/haxray.jpg that was film version 2012-12-23T07:51:44 -!- _BJFreeman [~bjfree@63.sub-75-233-12.myvzw.com] has joined ##stm32 2012-12-23T08:14:08 -!- jef79m_lurking is now known as jef79m 2012-12-23T08:27:56 -!- jef79m is now known as jef79m_lurking 2012-12-23T08:28:39 -!- jef79m_lurking is now known as jef79m 2012-12-23T08:29:00 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-23T08:32:14 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-23T08:33:06 < gkwhc> hey emeb_mac, I was wondering, did you have to get all the stm32F405 tools/eval boards before developing the sound board? 2012-12-23T08:33:59 < emeb_mac> gkwhc: it helps to have some way to load code into it. I'd recommend an F4 Discovery board. 2012-12-23T08:34:43 < emeb_mac> and CooCox is a nice free IDE if you run windows. 2012-12-23T08:35:05 < emeb_mac> which works well with the ST-Link programmer on the F4 Discovery. 2012-12-23T08:35:35 < gkwhc> emeb_mac: thats great! im beginning to realize that real product development takes alot of investment on toolchains 2012-12-23T08:36:14 < emeb_mac> depends on what you're idea of a minimum development environment is. 2012-12-23T08:36:51 < gkwhc> hmm 2012-12-23T08:37:07 < emeb_mac> Pro tools like Keil which dongs uses cost several thousand dollars but provide a lot more detailed debugging and manufacturer support. 2012-12-23T08:37:51 < emeb_mac> Free tools like CooCox give you most of what you need, but leave some of the nice features behind. 2012-12-23T08:38:51 < gkwhc> i see. but one cant get by using pro tools without buying eval boards 2012-12-23T08:39:42 < emeb_mac> Pro tools often come with a programming pod (JTAG/SWD) - the hardware cost is minimal compared to what they charge for the software. 2012-12-23T08:39:56 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2012-12-23T08:40:22 < emeb_mac> but if you want to do anything you'll need a devboard of some sort. STM32 Discovery boards are inexpensive and easy to get from the major distributors. 2012-12-23T08:41:12 < emeb_mac> and Disco boards have the ST-Link SWD programmer built-in which can be used for programming your own targets. 2012-12-23T08:42:10 < gkwhc> cool 2012-12-23T08:42:16 < gkwhc> thanks alot! 2012-12-23T08:42:30 < emeb_mac> np 2012-12-23T08:44:51 -!- jef79m is now known as jef79m_lurking 2012-12-23T08:48:37 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-23T08:50:23 < emeb_mac> for your nightmares -> http://t.co/AJZLsjAM 2012-12-23T08:54:01 < baird> fapfapfap 2012-12-23T08:59:04 < zyp> *yawn* 2012-12-23T08:59:55 * gxti pokes gps receiver with a sharp stick 2012-12-23T09:00:05 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Remote host closed the connection] 2012-12-23T09:00:07 < dongs> a job for zyp http://blog.3dr.cc/post/38607716392/3dr-jobs-were-hiring 2012-12-23T09:01:27 < zyp> :p 2012-12-23T09:02:41 < zyp> pretty happy with the one I have 2012-12-23T09:02:54 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-23T09:03:08 < dongs> cant beat trolling on irc all day long 2012-12-23T09:03:19 < zyp> ;) 2012-12-23T09:03:29 < dongs> sounds like 3dr guys just lost all their tech people 2012-12-23T09:03:33 < dongs> and they need osmeone to blame * on 2012-12-23T09:03:37 < dongs> based on those 2 jobs descriptions 2012-12-23T09:04:03 < emeb_mac> upside is you get to live in San Diego. Or is it an upside? Hmmm... 2012-12-23T09:04:04 < dongs> and considering pretty much everyone with a clue knows how much of a scam / badnews they are, they might have trouble finding replacements. 2012-12-23T09:04:48 < zyp> emeb_mac, I'm pretty happy with living in norway 2012-12-23T09:04:58 * emeb_mac has no clue about them. what's the skinny 2012-12-23T09:05:06 < dongs> chris scamderson 2012-12-23T09:05:30 < emeb_mac> zyp: be happy with what you have to be happy with. :) 2012-12-23T09:05:58 < dongs> http://store.diydrones.com/ProductDetails.asp?ProductCode=AC-0005-01-APM25SIDE&CartID=2 wow, that is *cheap* 2012-12-23T09:06:25 < emeb_mac> err - is that just the case? 2012-12-23T09:06:29 < dongs> yes 2012-12-23T09:06:47 < zyp> heh 2012-12-23T09:08:14 < dongs> http://www.wired.com/about/2012/11/wired-editor-in-chief-chris-anderson-steps-down/ 2012-12-23T09:08:17 < dongs> haha 2012-12-23T09:09:37 < emeb_mac> is ardupilot any good? I keep hearing about it, but... AVR? 2012-12-23T09:09:51 < ABLomas> buy it and port into 32-bit CPU 2012-12-23T09:09:53 < ABLomas> :P 2012-12-23T09:10:03 < dongs> no, its garbage 2012-12-23T09:10:06 < dongs> code is garbage too 2012-12-23T09:10:18 < dongs> since its a mix of bullshit tarduino code + messy contributions from 100s of people 2012-12-23T09:10:47 < emeb_mac> underpowered hardware & too many cooks... 2012-12-23T09:11:14 < zyp> worse than mwc? 2012-12-23T09:11:21 < dongs> yeah by far 2012-12-23T09:11:38 < dongs> < emeb_mac> underpowered hardware & too many cocks 2012-12-23T09:11:39 < dongs> more like 2012-12-23T09:12:04 < emeb_mac> can't have too many c... wait, what? 2012-12-23T09:12:20 < ABLomas> "underpowered" - for what task? For simple AP? more than enough 2012-12-23T09:12:31 < dongs> underpowered for doing anything intersting 2012-12-23T09:12:44 < ABLomas> code is bad quality - agree, but ideas could be taken ;-) 2012-12-23T09:13:50 * emeb_mac waits for zyp's suzumembachi 2012-12-23T09:14:49 < zyp> good thing you are patieent 2012-12-23T09:14:54 < emeb_mac> :) 2012-12-23T09:15:35 < zyp> not fully used to touchscreen typing yet 2012-12-23T09:15:35 < emeb_mac> ncopter-curious. not in a hurry to jump in. 2012-12-23T09:15:51 < emeb_mac> ooo - nexus? 2012-12-23T09:15:53 < zyp> sitting on train to airport 2012-12-23T09:15:55 < zyp> yep 2012-12-23T09:16:06 < emeb_mac> everything you'd hoped it would be? 2012-12-23T09:16:32 < zyp> nice so far 2012-12-23T09:17:43 < dongs> zyp, try sliding on default assdroid keyboard 2012-12-23T09:36:11 -!- jef79m_lurking is now known as jef79m 2012-12-23T09:37:07 < gxti> oh good the gps works fine it's just a combination of windows questionable handling of usb serial devices and shitty old userland software for talking to the gps 2012-12-23T09:37:46 < gxti> apparently i have like 20 COM port numbers that are "in use" because i used this computer to program a bunch of mcp2200s 2012-12-23T09:37:50 < gxti> weeks ago 2012-12-23T09:38:46 < emeb_mac> yay windows. 2012-12-23T09:43:59 < dongs> incompetent admin. 2012-12-23T09:45:17 < gxti> nah 2012-12-23T09:46:41 < dongs> yes. 2012-12-23T09:47:04 < gxti> no 2012-12-23T09:47:06 < dongs> yes. 2012-12-23T09:47:10 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has quit [Remote host closed the connection] 2012-12-23T09:47:25 -!- jef79m is now known as jef79m_lurking 2012-12-23T09:50:12 < emeb_mac> zzzzz 2012-12-23T09:50:22 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-23T09:51:41 -!- jef79m_lurking is now known as jef79m 2012-12-23T09:53:44 -!- claude is now known as Claude 2012-12-23T09:57:17 -!- dekar__ [~dekar@212.255.248.119] has joined ##stm32 2012-12-23T09:57:22 -!- mode/##stm32 [+v dekar__] by ChanServ 2012-12-23T10:00:53 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2012-12-23T10:01:04 -!- dekar_ [~dekar@212.255.242.203] has quit [Ping timeout: 260 seconds] 2012-12-23T10:16:06 < _BJFreeman> gxti you don't like the NEMA 2000 spec used by GPS 2012-12-23T10:16:26 < gxti> i don't? 2012-12-23T10:16:37 < gxti> learn something new every day... 2012-12-23T10:16:47 < _BJFreeman> I feel hurt my dad and I created that 2012-12-23T10:17:25 < _BJFreeman> actully the NEMA 083 the 2000 was built on 2012-12-23T10:17:37 < dongs> i highly doubt it, since you can't even spell nmea 2012-12-23T10:17:43 < dongs> but cool trolling nevertheless. 2012-12-23T10:17:56 < dongs> +1, Tried But Failed 2012-12-23T10:18:30 < _BJFreeman> and your youth leads you to bad evaluations 2012-12-23T10:21:48 < dongs> fo sho 2012-12-23T10:22:11 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-23T10:27:01 < baird> My mother created freeze-dried strawberries. I win. 2012-12-23T10:27:27 < jef79m> my dada once helped me make a pair of stilts. that was cool. 2012-12-23T10:28:53 < baird> (she was working as a tech at the CSIRO Food tech division, when the Dept.Defence commissioned them to invent foods with freeze-drying. Freeze-dried Beer tastes like crap, much to everyone's disappointment.) 2012-12-23T10:31:34 < jef79m> baird, i thought you were shitting. thats awesome. 2012-12-23T10:36:07 < _BJFreeman> http://www.woodfreeman.com/about.html 2012-12-23T10:38:01 < dongs> i'll be impressed when I view source and you have a in there above 2012-12-23T10:38:37 < dongs> cause i can just link to http://www.whitehouse.gov/administration/president-obama 2012-12-23T10:39:18 < _BJFreeman> ask me if I care if your impressed 2012-12-23T10:40:08 < _BJFreeman> me thinks you have too much self importance 2012-12-23T10:40:22 < dongs> you're wrong, i couldn't give less shit what you think. 2012-12-23T10:40:44 < _BJFreeman> then we have a mutual admiration going 2012-12-23T10:40:49 < _BJFreeman> LOL 2012-12-23T10:51:51 -!- _BJFreeman [~bjfree@63.sub-75-233-12.myvzw.com] has quit [] 2012-12-23T10:52:46 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 246 seconds] 2012-12-23T10:57:40 < jef79m> ragequit. gxti, see what you did? 2012-12-23T10:59:43 -!- Viper168_ [Viper168@node62.18.251.72.1dial.com] has joined ##stm32 2012-12-23T10:59:43 -!- Viper168_ [Viper168@node62.18.251.72.1dial.com] has quit [Changing host] 2012-12-23T10:59:43 -!- Viper168_ [Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-23T11:02:07 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 260 seconds] 2012-12-23T11:23:37 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-23T11:34:39 -!- barthess [~barthess@178.154.41.81] has joined ##stm32 2012-12-23T11:36:44 -!- jef79m is now known as jef79m_lurking 2012-12-23T11:45:45 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2012-12-23T11:45:58 -!- jaeckel_ [~jaeckel@unaffiliated/jaeckel] has quit [Ping timeout: 246 seconds] 2012-12-23T11:48:17 -!- jef79m_lurking is now known as jef79m 2012-12-23T12:31:48 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-23T12:35:26 < dongs> haha 2012-12-23T12:56:44 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-23T13:19:31 < Thorn> wtf MLCCs http://www.maximintegrated.com/app-notes/index.mvp/id/5527 2012-12-23T13:21:33 < dongs> old 2012-12-23T13:27:49 < Thorn> so a 4.7uF cap can easily be 1uF @~15V? 2012-12-23T13:27:52 < Thorn> wtf 2012-12-23T13:31:01 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has joined ##stm32 2012-12-23T13:33:11 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-23T13:33:12 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-23T13:33:12 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-23T13:33:15 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-23T14:03:37 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-23T14:07:58 -!- DaKu [DaKu@dakus.dk] has quit [Ping timeout: 265 seconds] 2012-12-23T14:16:47 < dongs> time to play some happyhardcore and code 2012-12-23T14:19:09 <+Steffanx> DJ Paul Elstak, dongs? :P 2012-12-23T14:19:20 <+Steffanx> Hakkûhbar 2012-12-23T14:19:27 < dongs> dunno listenin to some shit called "Candy Core Vol 05" now. 2012-12-23T14:20:32 <+Steffanx> Free music ... 2012-12-23T14:20:56 <+Steffanx> Free as in totally free 2012-12-23T14:22:45 < BrainDamage> dongs http://imgur.com/gallery/N52HA 2012-12-23T14:22:52 < BrainDamage> (literally) 2012-12-23T14:23:23 < dongs> lfao 2012-12-23T14:32:44 <+Steffanx> xmas gift for dongs 2012-12-23T14:33:36 < dongs> how the fuck shouild I call a #define that toggles chip select 2012-12-23T14:34:19 < jpa-> CS_SET? 2012-12-23T14:34:27 < dongs> yeah, and unset? 2012-12-23T14:34:32 < jpa-> or clear? 2012-12-23T14:34:41 < jpa-> or toggle if it toogles 2012-12-23T14:36:24 < dongs> i think ill do blah_ENABLE; and blah_DISABLE; 2012-12-23T14:40:56 -!- jef79m is now known as jef79m_lurking 2012-12-23T14:50:00 -!- Laurenceb__ [~Laurence@host86-177-210-214.range86-177.btcentralplus.com] has joined ##stm32 2012-12-23T14:51:50 -!- ChanServ [ChanServ@services.] has quit [Killed (tomaw ())] 2012-12-23T14:51:52 -!- ChanServ [ChanServ@services.] has joined ##stm32 2012-12-23T14:51:52 -!- ServerMode/##stm32 [+o ChanServ] by services. 2012-12-23T15:11:36 -!- barthess [~barthess@178.154.41.81] has quit [Quit: Leaving.] 2012-12-23T15:24:00 -!- barthess [~barthess@178.154.3.235] has joined ##stm32 2012-12-23T15:30:09 -!- barthess [~barthess@178.154.3.235] has quit [Quit: Leaving.] 2012-12-23T15:34:12 -!- barthess [~barthess@178.154.29.85] has joined ##stm32 2012-12-23T16:16:16 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-23T16:18:59 < Laurenceb__> http://media.tumblr.com/tumblr_mekh3rwgJz1qctkcl.jpg 2012-12-23T16:19:25 <+Steffanx> ... 2012-12-23T16:19:47 <+Steffanx> Heee wooooo a thing of the WTC.. a MIRACLE 2012-12-23T16:19:57 <+Steffanx> 2012-12-23T16:20:21 <+Steffanx> Uhm, i mean: what's the special things about it Laurenceb__ ? 2012-12-23T16:20:37 < Laurenceb__> theres a plane as well 2012-12-23T16:21:29 <+Steffanx> photoshop ftw :P 2012-12-23T16:26:14 <+Steffanx> Sorry for my enthusiasm Laurenceb__ :P 2012-12-23T16:26:27 < dongs> hmm 2012-12-23T16:48:10 < dongs> hmm, wehre's emeb 2012-12-23T16:49:18 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 264 seconds] 2012-12-23T16:51:33 <+Steffanx> His mac crashed 2012-12-23T16:52:36 < dongs> haha 2012-12-23T16:53:52 <+Steffanx> At least you know how the internet works 2012-12-23T16:57:55 -!- ok9swl [~ulehla@164.70.broadband5.iol.cz] has joined ##stm32 2012-12-23T16:59:50 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-23T17:03:35 -!- barthess [~barthess@178.154.29.85] has quit [Read error: Connection reset by peer] 2012-12-23T17:03:49 -!- Viper168_ [Viper168@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2012-12-23T17:15:20 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-23T17:16:16 < dongs> emeb_mac: did you get DMA on display working? 2012-12-23T17:16:34 < emeb_mac> dongs: haven't tried yet 2012-12-23T17:17:05 < emeb_mac> got the display update code all set up for it tho 2012-12-23T17:17:19 < dongs> im trying to DMA Clear() 2012-12-23T17:17:21 < dongs> but failing 2012-12-23T17:17:22 < emeb_mac> just need to write the DMA setup 2012-12-23T17:17:54 < emeb_mac> :( 2012-12-23T17:18:17 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-23T17:18:51 < emeb_mac> dongs: how is your DMA clear() trying to work? 2012-12-23T17:19:04 < dongs> point it to uint16_t black = 0; 2012-12-23T17:19:13 < emeb_mac> w/o mem inc 2012-12-23T17:19:13 < dongs> memory_inc off, periph_inc off 2012-12-23T17:19:15 < dongs> yes. 2012-12-23T17:19:22 < dongs> ndtr = screensize 2012-12-23T17:19:34 < dongs> theoreticlaly it should work.. 2012-12-23T17:19:39 < emeb_mac> yea 2012-12-23T17:20:06 < jpa-> except if your screensize is more than ndtr can hold 2012-12-23T17:20:12 < dongs> um 2012-12-23T17:20:15 < dongs> 320*240 2012-12-23T17:20:17 < emeb_mac> small displays 2012-12-23T17:20:21 < emeb_mac> shouldn't be a prob 2012-12-23T17:20:58 < jpa-> 76800 > 65536 2012-12-23T17:20:59 < dongs> __IO uint32_t NDTR; /*!< DMA stream x number of data register 2012-12-23T17:21:17 < emeb_mac> got a scope on the clk/data lines? can you see the spi toggling? 2012-12-23T17:21:33 < dongs> yeah, was avoiding having to scope 2012-12-23T17:21:36 < jpa-> the counter is only 16 bits (according to reference manual) 2012-12-23T17:21:37 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-23T17:21:38 < dongs> looks liek no choise 2012-12-23T17:23:44 -!- Laurenceb__ [~Laurence@host86-177-210-214.range86-177.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-12-23T17:23:47 < emeb_mac> jpa- is right NTDR is 16 bit (in my F3 RM) 2012-12-23T17:23:57 < dongs> heh cocks 2012-12-23T17:24:03 < emeb_mac> gotta do it in 2 passes. 2012-12-23T17:24:20 < emeb_mac> should work on my 128x160 tho 2012-12-23T17:24:33 < jpa-> not sure if the 32 -> 16 bits translation could help.. but 2 passes is probably easier 2012-12-23T17:25:29 < emeb_mac> 16 bit... what were they thinking. :P 2012-12-23T17:26:40 < jpa-> yeah, you can't even transfer the whole RAM of the largest devices! 2012-12-23T17:28:00 < emeb_mac> haha 2012-12-23T17:34:36 < Laurenceb_> wtf eagle 2012-12-23T17:34:44 < Laurenceb_> how do i shrink a rectangle? 2012-12-23T17:34:52 < dongs> > eagle 2012-12-23T17:34:58 < Laurenceb_> ive got a rectangle thats too wide, can change the aspect ratio 2012-12-23T17:36:01 < emeb_mac> draw new rect? 2012-12-23T17:43:55 < dongs> what the fuck 2012-12-23T17:44:03 < dongs> after i do clear DMA, dispaly is all stoned 2012-12-23T17:47:19 < Laurenceb_> properties works 2012-12-23T17:48:07 < Laurenceb_> http://www.b3tards.com/u/d15f562b8161f9f2482c/card1.jpg 2012-12-23T17:54:53 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-23T17:55:29 < dongs> http://bcas.tv/paste/results/1bWDOQ67.html 2012-12-23T17:55:31 < dongs> im sure i missed somehting 2012-12-23T17:58:41 < dongs> tried both byte and other shit 2012-12-23T17:59:23 <+Steffanx> Wha, something funny Laurenceb_ :) 2012-12-23T18:03:18 < emeb_mac> lol missletoe 2012-12-23T18:03:33 < emeb_mac> dongs: can't see anything wrong with that 2012-12-23T18:03:42 < dongs> me n either. 2012-12-23T18:03:46 < dongs> which means its time to sleep 2012-12-23T18:04:12 < emeb_mac> try backing off spi clock rate? maybe too fast for poor display controller? 2012-12-23T18:04:49 < dongs> i dont even see it pulsing sck after enablign DMA 2012-12-23T18:06:33 < emeb_mac> !!! 2012-12-23T18:06:51 < dongs> weiat, now i do 2012-12-23T18:06:55 < dongs> so that part works 2012-12-23T18:06:59 < dongs> but hten display becomes stoned 2012-12-23T18:08:17 < emeb_mac> wait... 2012-12-23T18:08:41 < emeb_mac> trying to figure out what this does -> displayDMA((const uint8_t *)&BLACK, n); 2012-12-23T18:09:14 < emeb_mac> BLACK is declared as a uint8_t somewhere else? 2012-12-23T18:09:25 < dongs> ah yeah its just uint166_t blah = 0 2012-12-23T18:09:25 < emeb_mac> with value of 0? 2012-12-23T18:09:28 < dongs> yeah 2012-12-23T18:09:33 < dongs> doesnt amtter, its just zero 2012-12-23T18:09:39 < dongs> i tried both halfword and byte etc 2012-12-23T18:10:47 < emeb_mac> what wordsize is display expecting? 16bpp or 8bpp? 2012-12-23T18:10:52 < emeb_mac> (is 8bpp legal?) 2012-12-23T18:11:37 < emeb_mac> ie you're set up to send it n bytes, but if it's expecting n words then...? 2012-12-23T18:12:55 < dongs> it doesnt matter i guess 2012-12-23T18:13:00 < dongs> i think i can stop the transfer rearly 2012-12-23T18:13:19 < dongs> oh 2012-12-23T18:13:20 < dongs> hmm 2012-12-23T18:13:24 < dongs> i wonder if thats the problem 2012-12-23T18:13:40 < dongs> lemme try dmaing screen buffer 2012-12-23T18:13:41 < dongs> for rendering 2012-12-23T18:28:08 < dongs> ha 2012-12-23T18:28:12 < emeb_mac> ? 2012-12-23T18:28:13 < dongs> well it works for screne updates, sorta 2012-12-23T18:28:27 < dongs> its a lot faster, and i think that makes it tear 2012-12-23T18:30:57 < dongs> hm , fuck. 2012-12-23T18:31:03 < dongs> i think my byte order is different when doing DMA 2012-12-23T18:31:49 < emeb_mac> low endian? 2012-12-23T18:34:12 < dongs> yeah 2012-12-23T18:34:21 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-23T18:34:58 < dongs> haha, i think /2 prescaler for spi IS too fast for LCD 2012-12-23T18:35:04 < emeb_mac> yup 2012-12-23T18:35:39 < emeb_mac> I run mine @ 36MHz 2012-12-23T18:35:51 < dongs> uh? 2012-12-23T18:35:55 < dongs> SPI? 2012-12-23T18:35:59 < dongs> 20mhz was too much 2012-12-23T18:36:06 < dongs> which was /2 from F4 2012-12-23T18:37:30 < dongs> DMA_InitStructure.DMA_BufferSize = btr * 2 - 2; 2012-12-23T18:37:33 < dongs> why would I need this? 2012-12-23T18:37:34 < Laurenceb_> http://www.flickr.com/photos/16313630@N07/ 2012-12-23T18:37:39 < Laurenceb_> this guys a class 1 nerd 2012-12-23T18:37:54 < emeb_mac> yeah. thats 2.4x faster than spec but works. 2012-12-23T18:38:17 < Laurenceb_> emeb: interesting 2012-12-23T18:38:29 < Laurenceb_> i couldnt get 18mhz spi working on some of my boards 2012-12-23T18:38:33 < Laurenceb_> spi1 or 2? 2012-12-23T18:40:10 < dongs> im using spi2 2012-12-23T18:40:35 < emeb_mac> Laurenceb: spi2 on my f373 2012-12-23T18:41:18 < Laurenceb_> i see 2012-12-23T18:41:34 < dongs> i think i made the shit too fast. 2012-12-23T18:41:40 < Laurenceb_> i forget which one is which now 2012-12-23T18:41:50 < Laurenceb_> which is on the faster apb? 2012-12-23T18:41:57 < dongs> ok 24ms to update 128*128*16 2012-12-23T18:42:21 < dongs> hmm 2012-12-23T18:42:24 < dongs> thats shitty 2012-12-23T18:42:25 < emeb_mac> nice 2012-12-23T18:42:29 < dongs> no, not nice 2012-12-23T18:42:34 < dongs> thats only 41hz? 2012-12-23T18:42:38 < dongs> how the fuck are you getting 81fps: 2012-12-23T18:42:43 < emeb_mac> :) 2012-12-23T18:42:56 < emeb_mac> different display 2012-12-23T18:44:30 < emeb_mac> and I'm running it way past spec. 2012-12-23T18:44:43 < emeb_mac> rad overclocker. :P 2012-12-23T18:47:59 < dongs> hm 2012-12-23T18:48:06 < dongs> is there a way to configure DMA endian shite 2012-12-23T18:48:10 < dongs> byte order or whatever 2012-12-23T18:48:26 < gxti> Thorn: thanks for the maxim link, i'm currently trying to figure out if/how to use ceramics for a SMPS and not fail :p 2012-12-23T18:48:58 < dongs> yes, looks like it 2012-12-23T18:50:19 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-23T18:50:55 < dongs> looks like some PINC/MINC shit 2012-12-23T18:51:03 < dongs> wait no.. thats just peripheral/memory inc 2012-12-23T18:51:08 < Thorn> I have 10uF MLCCs at dc/dc inputs, too (15+V) 2012-12-23T18:52:31 < gxti> my last one was noisy as shit, both electrically (like, nearly a volt P-P) and audibly 2012-12-23T18:52:35 < gxti> slapped a tant on that mofo 2012-12-23T18:53:03 < gxti> i think i just underspec'd that one to begin with though 2012-12-23T18:53:10 < emeb_mac> you could hear it? what was the freq? 2012-12-23T18:53:36 < gxti> i can still hear it at certain input voltages :| 2012-12-23T18:53:51 < gxti> switching freq is like 75-100khz 2012-12-23T18:54:09 < emeb_mac> must be subharmonics or something. 2012-12-23T18:54:28 < emeb_mac> no one can hear 75kHz. 'cept maybe batman :P 2012-12-23T18:54:39 < Thorn> where was it? before or after the switch? 2012-12-23T18:55:06 < gxti> both, but the ones after are the noisy ones. 2012-12-23T18:55:39 < Thorn> I use electrolytics there, I think datasheet for my IC said so 2012-12-23T18:56:13 < gxti> my IC is a 34063 so the datasheet is like "do whatev, it's cool" 2012-12-23T18:56:53 < emeb_mac> dongs: any joy? 2012-12-23T18:56:54 < gxti> i also gotta figure out why the output voltage is sagging :| 2012-12-23T18:57:10 < Thorn> it's not a real smps controller, is it 2012-12-23T18:57:19 -!- Claude is now known as claude 2012-12-23T18:57:46 < dongs> datasheet is retarde 2012-12-23T18:58:25 < gxti> Thorn: why wouldn't it be? 2012-12-23T18:59:18 < emeb_mac> dongs: only way I can see to send hi byte 1st w/ DMA is to put spi in 16-bit mode. 2012-12-23T19:00:01 < emeb_mac> or else load the dma buffer with hi/lo bytes prior. 2012-12-23T19:00:09 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-23T19:00:13 < emeb_mac> (which is what I have to do on the f3) 2012-12-23T19:00:16 < Thorn> it doesn't modulate duty cycle 2012-12-23T19:00:42 < Thorn> iirc 2012-12-23T19:01:21 < dongs> anyway, I still have NO idea why i need this > DMA_InitStructure.DMA_BufferSize = btr * 2 - 2; 2012-12-23T19:01:42 < dongs> *2 i can understand but 2012-12-23T19:01:53 < dongs> input is btr = 128*128; 2012-12-23T19:02:58 * emeb_mac looks at dma dox 2012-12-23T19:03:04 < gxti> Thorn: the datasheet is not forthcoming with details, but it has to do *something* with the feedback pin 2012-12-23T19:03:04 < Thorn> http://www.eevblog.com/forum/projects/mc34063-gives-me-adc-noise-on-avr!-(/15/ (towards the end) 2012-12-23T19:03:35 < Thorn> (unfortunately one of the pictures is 404) 2012-12-23T19:04:25 < dongs> 12.5ms at 20mhz spi but im still not sure what the hell is going on 2012-12-23T19:04:33 < dongs> datasheet only specifies "minimum" clock for SPI... 2012-12-23T19:04:35 < dongs> of 100us 2012-12-23T19:04:35 < dongs> haha. 2012-12-23T19:04:37 < dongs> k, bed. 2012-12-23T19:04:48 < emeb_mac> l8r 2012-12-23T19:04:55 < emeb_mac> I'll try here too 2012-12-23T19:05:40 < gxti> i want to make a little module with castellations so i can plop down a 8-40V input and get 5v out (or 3.3 i guess but i frequently end up needing both) 2012-12-23T19:06:34 < gxti> although i could relax that to 8-30 if the right IC wandered by 2012-12-23T19:07:03 < Thorn> imnveo just about any dc/dc controller would be better in terms of output ripple than 34063 2012-12-23T19:07:15 < gxti> yeah but then i have to find them :P 2012-12-23T19:07:52 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-23T19:07:57 < gxti> i really really need to work on my digikey greasemonkey script so i can filter voltage ranges 2012-12-23T19:08:20 < gxti> but i hate javascript so much :[ 2012-12-23T19:08:49 < Thorn> www.ti.com/switcher , I use L5973D, etc. 2012-12-23T19:11:10 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-23T19:17:58 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-23T19:18:41 < gxti> yeah this is annoying, the output sags to 4.5v under load at minimum input voltage and doesn't do much better at 18V in 2012-12-23T19:19:10 < gxti> i have a gps receiver connected to that 5v output and it doesn't even operate correctly at that level 2012-12-23T19:19:17 < Thorn> try taking a waveform at the switch 2012-12-23T19:19:26 < Thorn> could be fun 2012-12-23T19:19:40 < gxti> i have, but i didn't save it 2012-12-23T19:21:42 < gxti> Thorn: how much input capacitance do you use? 2012-12-23T19:22:31 < Thorn> 10uF MLCC (which is probably much less than 10uF given the input voltage it's under) 2012-12-23T19:23:28 < gxti> that could be a problem too, i'll scrounge up a suitable alum and see if anything fun happens 2012-12-23T19:23:46 < gxti> just to get this board working 2012-12-23T19:26:13 -!- Laurenceb_ is now known as IloveISO9001 2012-12-23T19:33:45 -!- IloveISO9001 is now known as Laurenceb_ 2012-12-23T19:34:35 < Thorn> you probably shouldn't remove the ceramic one however 2012-12-23T19:34:48 < Thorn> add an electrolytic in parallel 2012-12-23T19:36:17 < gxti> what about this guy? http://www.digikey.com/product-detail/en/RT8289GSP/1028-1046-1-ND/3072324 2012-12-23T19:39:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-23T19:46:23 -!- ok9swl [~ulehla@164.70.broadband5.iol.cz] has quit [Quit: Lost terminal] 2012-12-23T19:47:09 -!- _BJFreeman [~bjfree@45.sub-75-196-4.myvzw.com] has joined ##stm32 2012-12-23T19:59:57 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-23T20:01:10 < gxti> added 47uf alum on input and now the output is at 4.8 instead of 4.5, close enough 2012-12-23T20:07:08 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-23T20:16:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-23T20:17:15 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-23T20:40:39 < emeb> haha - got DMA working on the LCD display. > 100fps 2012-12-23T20:42:05 < gxti> swag 2012-12-23T20:44:37 * emeb infers that he's just been called a douche 2012-12-23T20:45:14 < gxti> wot 2012-12-23T20:45:45 < emeb> http://www.urbandictionary.com/define.php?term=swag 2012-12-23T20:46:40 < gxti> no, it's post-ironic now 2012-12-23T20:47:12 < emeb> whew! 2012-12-23T20:57:14 < emeb> proof (as fast as my camera can go) -> http://www.youtube.com/watch?v=VRZuZSSyqlo&feature=youtu.be 2012-12-23T21:00:11 -!- jef79m_lurking is now known as jef79m 2012-12-23T21:00:17 < gxti> niiiice 2012-12-23T21:04:13 < Thorn> that board has a 0.05" connector? 2012-12-23T21:04:45 < Thorn> ah it's not a discovery 2012-12-23T21:05:38 < emeb> yeah - that's my custom F3 breakout. 2012-12-23T21:13:59 -!- barthess [~barthess@178.154.1.19] has joined ##stm32 2012-12-23T21:15:44 < gxti> it would be great if i could actually *get* any of those pretty voltage-vs-capacitance graphs 2012-12-23T21:18:30 < emeb> that richtek part looks handy 2012-12-23T21:21:28 < gxti> yeah i just went on DK under dc-dc converters, filtered by parts that would take 8-30v input, sorted by price, and skipped all the 34063s and anything skeevy looking 2012-12-23T21:21:55 < gxti> so you know, could still be skeevy. but it looks ok. 2012-12-23T21:23:12 < emeb> the only fancy external parts are the diode, inductor and output caps. 2012-12-23T21:23:20 < emeb> and those are < $1 ea 2012-12-23T21:23:48 < gxti> well, the only part savings vs the 34063 is the timing cap and current sense resistor 2012-12-23T21:23:53 < gxti> but yeah less is better 2012-12-23T21:24:04 < gxti> oh, and you gain a bootstrap cap 2012-12-23T21:25:50 < emeb> looks like output cap selection is... delicate. 2012-12-23T21:26:19 < gxti> nah 2012-12-23T21:26:45 -!- jef79m is now known as jef79m_lurking 2012-12-23T21:29:08 -!- daku [DaKu@dakus.dk] has joined ##stm32 2012-12-23T21:29:20 < emeb> here's a low ESR 47uf tant with a good voltage rating for 3.3V -> http://www.digikey.com/product-detail/en/TR3C476K010C0350/718-1772-1-ND/2260024 2012-12-23T21:29:24 < gxti> ah lovely, found it. 4.7u X5R 50V 1210 is more like 0.8u at 30V 2012-12-23T21:29:30 < gxti> so useless 2012-12-23T21:29:56 < emeb> yeah - those X5R mlccs have a nasty voltage dependence. 2012-12-23T21:30:13 -!- daku is now known as DaKu 2012-12-23T21:30:33 < gxti> i think i'm sticking to alum for the output, polymer probably 2012-12-23T21:30:48 < gxti> i'm not *so* space constrained and tant ESR isn't great 2012-12-23T21:30:53 < emeb> hmmm. 2012-12-23T21:31:01 < emeb> .35 ohm? 2012-12-23T21:31:11 < gxti> try .035 :P 2012-12-23T21:31:16 < gxti> maybe overdoing it 2012-12-23T21:31:38 < emeb> not bad for an electrolytic 2012-12-23T21:31:43 < gxti> haven't gotten that far yet, that's just what i had for the 34063 module i was going to do before today's discussion 2012-12-23T21:31:53 < emeb> who makes those? 2012-12-23T21:31:56 < gxti> http://www.digikey.com/product-detail/en/RPA1C390MCN1GS/493-3849-1-ND/2242519 2012-12-23T21:32:03 < gxti> use the search, luke 2012-12-23T21:32:17 < emeb> not bad 2012-12-23T21:32:29 < gxti> only twice the footprint :P 2012-12-23T21:32:39 < gxti> and height too 2012-12-23T21:33:50 < emeb> one of my clients works with systems where he needs to go from 12V or 15V down to 3.3V. 2012-12-23T21:34:10 < emeb> he had been using an LDO w/ an extra dropping resistor - bad efficiency, hot. 2012-12-23T21:34:11 < gxti> yeah i'm making a castellated module for doing 8-30v to 5v 2012-12-23T21:34:23 < gxti> so my stuff will run on 12v or 24v lead-acid systems 2012-12-23T21:34:46 < emeb> trying to convince him to go to smps, so he's trying it out. 2012-12-23T21:35:02 < gxti> and making a module instead of designing it in because A) i keep screwing it up and B) less work later on 2012-12-23T21:35:41 < emeb> how do you do the castellated module I/O? 2012-12-23T21:36:03 < gxti> what? 2012-12-23T21:36:22 < emeb> I assume you mean the little boards with the vias cut in half on the edges? 2012-12-23T21:36:31 < gxti> yeah 2012-12-23T21:37:02 < emeb> none of the board houses I have looked at like it when you put metal / vias close to the route outline 2012-12-23T21:37:23 < gxti> i'm using oshpark which does not technically support it but you can get away with it 2012-12-23T21:37:36 < emeb> ah - "off spec" 2012-12-23T21:39:48 < gxti> aha, found a 1210 that "only" loses 40% at 30v. getting somewhere... sort of. 2012-12-23T21:41:12 -!- barthess [~barthess@178.154.1.19] has quit [Quit: Leaving.] 2012-12-23T21:41:19 < emeb> looks like X7R is the one with the least drop-off vs voltage 2012-12-23T21:41:47 < gxti> like that maxim article said, x7r is a tempco and doesn't tell you much about voltage 2012-12-23T21:41:57 < gxti> the first x7r i looked at was just as bad as the y5v 2012-12-23T21:42:14 < emeb> ah. I was looking at the Wolfson appnote. 2012-12-23T21:42:42 < emeb> not really geared to power apps though 2012-12-23T21:46:11 < zyp> what's up? 2012-12-23T21:46:19 < gxti> not looking good, even the biggest 1210 is still -40%. guess i'll stick to alum. 2012-12-23T21:46:27 < gxti> oh, and the -40% ones are all at least $1 each :p 2012-12-23T21:46:40 < emeb> blech 2012-12-23T21:46:46 < emeb> zyp: not a lot 2012-12-23T21:46:55 < emeb> got my LCD running > 100fps w/ DMA 2012-12-23T21:46:59 < zyp> :) 2012-12-23T21:47:06 < zyp> how much over spec is that? :p 2012-12-23T21:47:11 < gxti> this is the dramatically overspecced input cap i had before: http://www.digikey.com/product-detail/en/AVEK476M50F24T-F/338-1847-1-ND/2096377 2012-12-23T21:47:25 < emeb> still 2.4x over spec, just less time wasted between bytes. 2012-12-23T21:47:32 < zyp> ah 2012-12-23T21:47:39 < gxti> no point in spending twice that on a ceramic that has less then a tenth of the capacitance 2012-12-23T21:48:12 < emeb> blech esr 2012-12-23T21:48:29 < gxti> actually that wasn't the dramatically overspecced one... must have replaced it already 2012-12-23T21:48:43 -!- barthess [~barthess@5.100.198.198] has joined ##stm32 2012-12-23T21:49:14 < Thorn> hopefully it's not counterfeit lol 2012-12-23T21:49:18 < gxti> ima go digging for a lower value but better ESR :p 2012-12-23T21:51:50 < emeb> I have a feeling that I'm refreshing the LCD buffer faster than it updates its own display. 2012-12-23T21:52:34 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 244 seconds] 2012-12-23T21:53:02 < emeb> but Adafruit didn't bring out the VSYNC or readback so I can't test for that. 2012-12-23T22:19:25 -!- jef79m_lurking is now known as jef79m 2012-12-23T22:24:09 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has quit [Read error: Connection reset by peer] 2012-12-23T22:24:14 -!- DaKu [DaKu@dakus.dk] has quit [Remote host closed the connection] 2012-12-23T22:29:47 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:e0de:629f:ca10:cde0] has joined ##stm32 2012-12-23T22:29:58 -!- DaKu [DaKu@dakus.dk] has joined ##stm32 2012-12-23T22:31:27 < gxti> input: http://www.digikey.com/product-detail/en/PCV1H120MCL2GS/493-4552-1-ND/2786849 and output: http://www.digikey.com/product-detail/en/RPS1A470MCN1GS/493-3842-1-ND/2242512 i think 2012-12-23T22:31:52 < gxti> seems odd to spend twice as much on the input as the output but that's what happens when you have a 30v input i guess 2012-12-23T22:32:02 < zyp> capacitor rocket science? 2012-12-23T22:32:58 < Thorn> we learned an ugly truth about MLCCs today. 2012-12-23T22:33:53 < zyp> which? 2012-12-23T22:34:26 < Thorn> a 4.7uF capacitor may really be a 0.33uF capacitor 2012-12-23T22:35:07 < Thorn> if you apply something like 15V to it 2012-12-23T22:35:20 < zyp> source? 2012-12-23T22:35:36 < Thorn> http://www.maximintegrated.com/app-notes/index.mvp/id/5527 2012-12-23T22:36:18 < gxti> even 6.3V ones plummet by the time it gets near the limit: http://psearch.murata.com/capacitor/product/GRM31CR60J476ME19%23.html 2012-12-23T22:38:01 < Laurenceb_> ah perfect 2012-12-23T22:38:03 < Laurenceb_> http://www.injuryobservatory.net/why_children_die.html 2012-12-23T22:38:14 < Laurenceb_> what can go on my shelf with "why planes crash" 2012-12-23T22:40:45 < emeb> colored cube! -> http://www.youtube.com/watch?v=D-Zzmh9y68g&feature=youtu.be 2012-12-23T22:44:05 < Laurenceb_> "why robots attack" 2012-12-23T22:52:45 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2012-12-23T22:53:05 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has joined ##stm32 2012-12-23T23:11:29 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has quit [Ping timeout: 256 seconds] 2012-12-23T23:19:09 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-23T23:22:45 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has joined ##stm32 2012-12-23T23:27:00 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-250-197.clienti.tiscali.it] has joined ##stm32 2012-12-23T23:27:00 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-244-3.clienti.tiscali.it] has quit [Disconnected by services] 2012-12-23T23:30:41 -!- jef79m is now known as jef79m_lurking 2012-12-23T23:36:45 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-23T23:37:11 -!- barthess [~barthess@5.100.198.198] has quit [Quit: Leaving.] 2012-12-23T23:40:24 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:e0de:629f:ca10:cde0] has quit [Remote host closed the connection] 2012-12-23T23:56:03 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 --- Day changed Mon Dec 24 2012 2012-12-24T00:00:08 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-250-197.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-24T00:00:29 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-197.clienti.tiscali.it] has joined ##stm32 2012-12-24T00:02:24 -!- jef79m_lurking is now known as jef79m 2012-12-24T00:03:29 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-24T00:10:45 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-24T00:13:07 -!- jef79m is now known as jef79m_lurking 2012-12-24T00:14:56 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2012-12-24T00:17:21 -!- jef79m_lurking is now known as jef79m 2012-12-24T00:20:40 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 260 seconds] 2012-12-24T00:21:34 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-24T00:28:59 -!- jef79m is now known as jef79m_lurking 2012-12-24T00:43:46 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-24T01:03:31 -!- DaKu is now known as daku 2012-12-24T01:11:24 -!- jef79m_lurking is now known as jef79m 2012-12-24T01:15:44 < gxti> tada http://partiallystapled.com/~gxti/circuits/2012/12/23-flexiwatt.png 2012-12-24T01:17:50 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-24T01:21:42 < gxti> unit cost at 10x is 5.25, notbad.jpg 2012-12-24T01:27:42 <+Steffanx> flexiwatt… expected some flexible pcb thiingy gxti :) 2012-12-24T01:30:12 < gkwhc> gxti: for the whole PCB with components?! 2012-12-24T01:33:55 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-24T01:48:04 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-24T01:48:04 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-24T01:48:05 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-24T01:50:56 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-24T01:53:17 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-24T01:57:11 < gxti> gkwhc: yes, there's not much there 2012-12-24T01:58:06 < gkwhc> gxti: thats true..which PCB service do you use? 2012-12-24T01:58:32 < gxti> oshpark.com 2012-12-24T02:00:06 < gkwhc> oh! from dorkbot :) 2012-12-24T02:00:50 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has joined ##stm32 2012-12-24T03:08:15 < emeb_mac> *crickets* 2012-12-24T03:17:44 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-12-24T03:18:49 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-24T03:20:19 <+Steffanx> No, there are asleep emeb_mac 2012-12-24T03:20:24 <+Steffanx> *they are 2012-12-24T03:25:56 < gxti> they froze to death 2012-12-24T03:26:02 < gxti> merry christmas 2012-12-24T03:27:09 <+Steffanx> no, crickets sleep around 2.30AM :P 2012-12-24T03:38:53 -!- jef79m is now known as jef79m_lurking 2012-12-24T03:40:23 < emeb_mac> the tale of the little cricket girl 2012-12-24T03:48:48 < dongs> dongssssssssssssss 2012-12-24T03:49:04 < dongs> apparently today is some fucking holiday 2012-12-24T03:50:27 < emeb_mac> doooooooooonnnnnnnnnnngggggggggggggsssssssssss 2012-12-24T03:53:38 < emeb_mac> dongs: got DMA going - multicolor cube @ 117fps : http://www.youtube.com/watch?v=D-Zzmh9y68g&feature=youtu.be 2012-12-24T03:54:06 < emeb_mac> but youtube resampled the video so it looks awful 2012-12-24T04:01:08 < dongs> hmm 2012-12-24T04:01:11 < dongs> whats was wrong wiht mine? 2012-12-24T04:01:15 < dongs> is F3 DMA same as F1 or F4 2012-12-24T04:03:05 < dongs> I guess youre doing DMA per scanline anyway 2012-12-24T04:03:09 < dongs> since you're doing palette? 2012-12-24T04:06:05 <+Steffanx> uh? 2012-12-24T04:06:14 <+Steffanx> Not just a day before a holiday dongs? 2012-12-24T04:06:53 < gxti> pregaming for jesus 2012-12-24T04:07:33 <+Steffanx> sake for mr d 2012-12-24T04:08:00 <+Steffanx> or however you write that in japlish 2012-12-24T04:14:57 < emeb_mac> dongs: I render into an 8bpp framebuffer, then convert 16 lines at a time to 16bpp, then DMA that to the LCD. 2012-12-24T04:15:18 < emeb_mac> and run my spi clock at 36MHz 2012-12-24T04:15:52 < emeb_mac> and while DMA is running I convert the next 16 lines, so there's very little busy-waiting. 2012-12-24T04:17:30 < dongs> shatting to digikey about my awesome F3 order. 2012-12-24T04:17:39 -!- _BJFreeman [~bjfree@45.sub-75-196-4.myvzw.com] has quit [Ping timeout: 265 seconds] 2012-12-24T04:18:05 < emeb_mac> special STM32F303s made by Microchip. 2012-12-24T04:18:11 < emeb_mac> you pay extra for those. 2012-12-24T04:20:45 < dongs> hmm 2012-12-24T04:24:01 < dongs> what controller is in your lcd? 2012-12-24T04:25:11 < emeb_mac> ST7735 2012-12-24T04:27:32 < dongs> i wonder if im really just too fast @ 20mhz 2012-12-24T04:27:39 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-24T04:27:41 < dongs> how are you DMAing? 2012-12-24T04:27:43 < dongs> byte? 2012-12-24T04:27:45 < dongs> or 16 2012-12-24T04:27:56 < emeb_mac> byte. 2012-12-24T04:28:11 < emeb_mac> when I create my dma buffer I load it msbyte first 2012-12-24T04:28:56 < dongs> yeah 2012-12-24T04:28:56 < dongs> hmm 2012-12-24T04:29:00 < dongs> i wonder what the fuck then 2012-12-24T04:29:01 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-24T04:30:09 < dongs> wanna bcas your stuff? 2012-12-24T04:30:16 < dongs> < dongs> is F3 DMA same as F1 or F4 2012-12-24T04:30:26 < emeb_mac> sure 2012-12-24T04:33:40 < dongs> fuck, 1C outside and like 5C inside this useless fucking house 2012-12-24T04:34:08 < dongs> what bothers me the most is why my DMA buffer size is 2 bytes less than 128*128 2012-12-24T04:34:17 < dongs> that cant be right 2012-12-24T04:35:02 < emeb_mac> here's my spi dma http://bcas.tv/paste/results/ctuv1F46.html 2012-12-24T04:35:14 < dongs> ok so its f1 style 2012-12-24T04:35:54 < dongs> so i ts just my controller is shit? 2012-12-24T04:37:19 < emeb_mac> here's the buffer convert & transfer http://bcas.tv/paste/results/XKNbkC41.html 2012-12-24T04:38:14 < dongs> yeah looks legit 2012-12-24T04:38:17 < dongs> i think my shit is just too slow 2012-12-24T04:38:29 < dongs> if I clock down spi to /4 i get a spinning green cube 2012-12-24T04:39:20 < dongs> .. at /8 i get same stuck cube again.. 2012-12-24T04:39:21 < dongs> what the hehll 2012-12-24T04:40:09 < dongs> might have to just toss this LCD and get waveshare one 2012-12-24T04:41:24 < emeb_mac> here's how I render the multicolor cube: http://bcas.tv/paste/results/2fDHeo16.html 2012-12-24T04:42:12 < emeb_mac> yeah - would be interesting to see how the waveshare display works. 2012-12-24T04:44:51 < dongs> what the FUCK 2012-12-24T04:45:02 < dongs> why all tehse datasheets only list MINIMUM timings 2012-12-24T04:45:25 < baird> abs(sqrt(x)) .. lol. square roots are always >0 2012-12-24T04:45:40 < baird> (at least on rational nums) 2012-12-24T04:45:41 < dongs> the NEC controller claims min timing of 15mhz 2012-12-24T04:47:00 < baird> chuck the sqrt maybe as well? 2012-12-24T04:47:23 < dongs> SSD1289 is even worse 2012-12-24T04:47:24 < dongs> 13mhz max 2012-12-24T04:49:10 -!- jef79m_lurking is now known as jef79m 2012-12-24T04:49:21 < emeb_mac> here's the one for mine: http://www.adafruit.com/datasheets/ST7735R_V0.2.pdf 2012-12-24T04:49:35 < emeb_mac> serial timing on pg 25. 2012-12-24T04:50:15 < dongs> um 2012-12-24T04:50:20 < dongs> thats same as SSD1289 2012-12-24T04:50:23 < dongs> 66ns 2012-12-24T04:50:29 < dongs> so like 15mhz 2012-12-24T04:50:34 < emeb_mac> lists min clock period TSCYCW as 66ns = 15MHz 2012-12-24T04:50:45 < emeb_mac> note min period = max frequency 2012-12-24T04:50:59 < dongs> yes 2012-12-24T04:51:08 < emeb_mac> but I'm running it about 2.5x faster than that. :P 2012-12-24T05:00:00 < dongs> this makes no fucking sense 2012-12-24T05:00:20 < emeb_mac> whuzzat? 2012-12-24T05:01:00 < dongs> at /8 prescaler dma doesnt work at all 2012-12-24T05:01:07 < dongs> i.e. if i make it slow 2012-12-24T05:01:11 < dongs> its same shit, cube just gets stuck 2012-12-24T05:02:58 < emeb_mac> dafuc? 2012-12-24T05:07:16 < emeb_mac> does it still work if you fall back to PIO instead of DMA? 2012-12-24T05:07:39 < dongs> yes 2012-12-24T05:07:59 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-197.clienti.tiscali.it] has quit [Ping timeout: 255 seconds] 2012-12-24T05:08:01 < dongs> pixel write works at any prescaler. 2012-12-24T05:08:05 < dongs> even like /16 2012-12-24T05:10:42 < emeb_mac> hmmm 2012-12-24T05:11:04 < emeb_mac> you doing 16-bit spi or 8? 2012-12-24T05:11:06 < dongs> 8 2012-12-24T05:12:39 < emeb_mac> it should be pretty simple then. 2012-12-24T05:13:44 < dongs> well, the DMA you pasted is basically copypaste of mine 2012-12-24T05:13:48 < dongs> with // Common changed for F1 2012-12-24T05:14:08 < dongs> and I definitely see the spi clock going.. 2012-12-24T05:14:48 < emeb_mac> pretty much. 2012-12-24T05:17:03 < dongs> hm 2012-12-24T05:17:08 < dongs> i think display is just failing it. 2012-12-24T05:17:58 < dongs> i did rand() in framebuffer 2012-12-24T05:18:02 < dongs> at /4 it works 2012-12-24T05:18:04 < dongs> at /2 it doesnt 2012-12-24T05:18:40 < dongs> displays once and freezes. 2012-12-24T05:19:14 < emeb_mac> strange 2012-12-24T05:19:21 < dongs> but displays fully... 2012-12-24T05:19:24 < dongs> so i have no idea wtf 2012-12-24T05:20:15 -!- jef79m is now known as jef79m_lurking 2012-12-24T05:21:29 < dongs> hmm! 2012-12-24T05:23:23 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [Ping timeout: 252 seconds] 2012-12-24T05:25:03 < emeb_mac> a clue? 2012-12-24T05:25:17 < dongs> no but I did while (1) { rand(); dma(); } and it now freezes at any prescaler 2012-12-24T05:25:35 < dongs> o wait no 2012-12-24T05:25:38 < dongs> at /16 it works 2012-12-24T05:25:57 < dongs> but not at /8 2012-12-24T05:25:59 < emeb_mac> veeerrryyy sssslloooowww 2012-12-24T05:26:19 < dongs> this doesnt make any sense 2012-12-24T05:26:21 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-24T05:27:18 < dongs> the clock shouldnt be an issue at liek 15-20mhz eihter 2012-12-24T05:27:24 < dongs> im just using regular jumper wires but so are you 2012-12-24T05:29:03 < emeb_mac> yup - nothing special 2012-12-24T05:29:14 < emeb_mac> are there any buffers on your lcd board? 2012-12-24T05:29:24 < dongs> nope 2012-12-24T05:29:39 < dongs> just lcd breakout and i made a small pcb that it plugs into cuz the pins were like 2mm pitch 2012-12-24T05:29:51 < dongs> but the spi pins are all on one side 2012-12-24T05:29:58 < dongs> so the actual traces are liek 5mm long max 2012-12-24T05:30:02 < dongs> to go from 2mm pitch to 2.54mm 2012-12-24T05:30:21 < dongs> the fact that it properly displays one entire frame 2012-12-24T05:30:22 < emeb_mac> that shouldn't cause any signal integrity problems. 2012-12-24T05:30:24 < dongs> and thren freezes 2012-12-24T05:30:26 < dongs> ... 2012-12-24T05:30:41 < emeb_mac> and PIO works at any freq. 2012-12-24T05:31:38 < dongs> now it works at /8... 2012-12-24T05:32:54 < dongs> but only if I draw /rand 2012-12-24T05:33:01 < dongs> if I draw cube, it frezees at firt face. 2012-12-24T05:33:03 < dongs> first 2012-12-24T05:38:53 < emeb_mac> I had a lot of freezes and timing sensitivities on mine until I bypassed the cmos buffer. 2012-12-24T05:39:06 < emeb_mac> but since you don't have a buffer... 2012-12-24T05:41:08 < dongs> emeb_mac: it gets weirder 2012-12-24T05:41:15 < dongs> emeb_mac: at /2 prescaler, if it let it sit for a wehile.. 2012-12-24T05:41:21 < dongs> it will sometimes randomly display cube 2012-12-24T05:41:39 < dongs> in whatever rotation position. 2012-12-24T05:41:48 < dongs> correctly rendered... 2012-12-24T05:42:27 < emeb_mac> really sounds like wonky timing. 2012-12-24T05:43:21 < dongs> to what though 2012-12-24T05:45:15 < emeb_mac> what polarity and phase are you using on the SPI port? 2012-12-24T05:45:46 < emeb_mac> I'm using HIGH / 2Edge 2012-12-24T05:45:56 < dongs> same 2012-12-24T05:45:59 < dongs> MODE3 or something 2012-12-24T05:46:22 < dongs> apparently thats enabled by having RES+CS+SCK high when resetting display 2012-12-24T05:47:51 < dongs> its the only mode this will work in, i've tried others before 2012-12-24T05:48:00 < dongs> so i dont think its expected vs received bit timing shit 2012-12-24T05:49:13 -!- Viper168 [~Viper168@node172.19.251.72.1dial.com] has joined ##stm32 2012-12-24T05:49:13 -!- Viper168 [~Viper168@node172.19.251.72.1dial.com] has quit [Changing host] 2012-12-24T05:49:13 -!- Viper168 [~Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-24T05:51:10 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-24T05:52:44 < gxti> should have gotten the 64k part... 2012-12-24T05:53:56 < gxti> where oh where has my little bss gone 2012-12-24T05:59:27 < emeb_mac> ran out of memory? 2012-12-24T06:03:06 < gxti> yes, lwip is hogging all the rams and i don't feel like tuning it down right now so i just shut all the network stuff off while i work on the fun bits 2012-12-24T06:03:25 < gxti> i'm sure i can make it work on 32k, just don't care to right now 2012-12-24T06:08:30 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-24T06:08:38 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-24T07:13:58 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-24T07:31:10 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-24T07:31:55 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-24T07:40:59 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-24T07:43:06 -!- jef79m_lurking is now known as jef79m 2012-12-24T07:53:40 -!- jef79m is now known as jef79m_lurking 2012-12-24T08:01:12 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 244 seconds] 2012-12-24T08:24:00 -!- DLPeterson_ [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-24T08:24:14 -!- DLPeterson_ [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Client Quit] 2012-12-24T08:44:46 < baird> 'Electric Imp'... Cortex in an SD-card form factor. Sounds intruging. Integrated WiFi. Hmmm, getting neater.. 'Cloud-based development with a proprietary programming language in the browser!" ELL-OH-ELL, FAILOSAURUS REX. 2012-12-24T08:49:33 < dongs> old 2012-12-24T08:49:38 < dongs> declares failure like a year ago 2012-12-24T08:51:16 < baird> Obviously the hackspace responsible for that had a bad case of cirlejerkation. 2012-12-24T09:04:56 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Operation timed out] 2012-12-24T09:05:09 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-24T09:12:11 -!- jef79m_lurking is now known as jef79m 2012-12-24T09:22:30 -!- jef79m is now known as jef79m_lurking 2012-12-24T09:45:28 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-24T09:48:59 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 256 seconds] 2012-12-24T09:49:13 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-24T09:56:17 -!- dekar_ [~dekar@212.255.244.151] has joined ##stm32 2012-12-24T09:56:20 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-24T09:57:43 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-24T09:58:01 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2012-12-24T10:00:11 -!- dekar__ [~dekar@212.255.248.119] has quit [Ping timeout: 260 seconds] 2012-12-24T10:11:24 -!- jef79m_lurking is now known as jef79m 2012-12-24T10:22:10 -!- jef79m is now known as jef79m_lurking 2012-12-24T10:36:12 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2012-12-24T10:36:29 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-24T11:04:34 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-24T11:37:00 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 265 seconds] 2012-12-24T11:37:23 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-24T11:42:41 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-24T11:46:59 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 244 seconds] 2012-12-24T11:49:02 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-24T11:50:40 -!- Viper168_ [Viper168@unaffiliated/viper168] has joined ##stm32 2012-12-24T11:52:52 -!- Viper168 [~Viper168@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2012-12-24T11:53:24 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-24T12:15:41 -!- barthess [~barthess@178.154.5.135] has joined ##stm32 2012-12-24T12:26:05 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-24T12:33:49 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-197.clienti.tiscali.it] has joined ##stm32 2012-12-24T12:45:27 -!- daku is now known as DaKu 2012-12-24T12:51:11 -!- Viper168_ is now known as Viper168 2012-12-24T12:56:24 -!- barthess [~barthess@178.154.5.135] has quit [Quit: Leaving.] 2012-12-24T12:56:40 -!- barthess [~barthess@178.154.5.135] has joined ##stm32 2012-12-24T12:56:43 -!- barthess [~barthess@178.154.5.135] has quit [Client Quit] 2012-12-24T13:04:47 -!- claude is now known as Claude 2012-12-24T13:05:44 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-24T13:06:18 -!- jef79m_lurking is now known as jef79m 2012-12-24T13:08:41 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Quit: leaving] 2012-12-24T13:30:29 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-24T13:30:29 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-24T13:30:29 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-24T13:30:32 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-24T13:50:28 -!- jef79m is now known as jef79m_lurking 2012-12-24T14:24:00 < dongs> typical 3d printer user: 2012-12-24T14:24:02 < dongs> bruno on November 10, 2011 said: 2012-12-24T14:24:02 < dongs> i sound like a geek but my sisters bf works some ware and the got a 3d printer doo eny of u know were the files r for a halo pelican 2012-12-24T14:24:19 < dongs> also: zyp, when you see this, msg me your info again so i can mail your shit out 2012-12-24T14:30:07 < baird> Urge rising to fake up a VIC20-controlled 3D Printer, and spam an Advertnet websight everywhere like Hackaday. 'Maker' will appear twice in every sentence. 2012-12-24T14:32:02 < baird> Get the housemate/landlord Belinda to wear a coloured wig and fake Henna-inked tattoos.. 2012-12-24T14:48:41 -!- barthess [~barthess@77.67.215.119] has joined ##stm32 2012-12-24T15:07:50 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-24T15:55:24 <+Steffanx> dongs really sees no use for a 3d printer? 2012-12-24T15:55:34 <+Steffanx> or just no use for the crappy ones? 2012-12-24T15:59:00 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 264 seconds] 2012-12-24T16:01:41 < zyp> dongs, messaged 2012-12-24T16:02:05 < zyp> how many boards are you shipping? 2012-12-24T16:02:46 < dongs> 3 + stencil, I am keeping like other 20-something her. 2012-12-24T16:02:47 < dongs> here 2012-12-24T16:02:59 < dongs> so you get 3 tries to fuck up, and I ihave a stencil here as well to try one 2012-12-24T16:03:32 < dongs> if it works, i can send more over 2012-12-24T16:03:38 < dongs> and if it doens,t it'll b easier to trash them here :) 2012-12-24T16:04:47 < zyp> throw in a couple more if you don't mind, I'd like to keep a bare one as well 2012-12-24T16:05:59 < dongs> kk, ill see waht i can do. shit's heavty. 2012-12-24T16:08:06 -!- barthess [~barthess@77.67.215.119] has quit [Read error: Connection reset by peer] 2012-12-24T16:21:42 < baird> Sheet metal skills need to make a comeback. 2012-12-24T16:22:21 < baird> Melly Christmasu http://img3.sankakustatic.com/wp-content/gallery/safe-misc-xv/chinese-sexy-upskirt-santa-001.jpg 2012-12-24T16:34:37 -!- barthess [~barthess@5.100.221.159] has joined ##stm32 2012-12-24T16:46:04 < dongs> haha 2012-12-24T16:46:05 < dongs> An additional binary blob might be required for the DSI port to function correctly (or function at all). When or if such a blob will be made available is unknown. 2012-12-24T16:46:59 < dongs> this shitberrypi stuff is looking more and more useles by the minute 2012-12-24T16:51:19 < Thorn> I ordered 5 lpc11c22 from Farnell. they sent me a whole tray 2012-12-24T16:53:03 < dongs> with 5 chips in it right 2012-12-24T16:53:41 < Thorn> yes :( 2012-12-24T16:53:49 < dongs> sounds normal 2012-12-24T16:54:01 < baird> How much packaging... 2012-12-24T16:54:47 < dongs> i bet it was vacuum packed and included dessicant shit too 2012-12-24T16:54:48 < Thorn> the box is almost long enough for a shotgun. 2012-12-24T16:55:39 < Thorn> got a f3 discovery and msp430 launchpad, too 2012-12-24T16:57:39 < zyp> Thorn, that's not really excessive 2012-12-24T16:58:14 < zyp> when I ordered some SMPS chips from digikey, they arrived individually bagged, in a bag, in another bag 2012-12-24T16:59:24 < dongs> yea? 2012-12-24T16:59:36 < dongs> well when I ordered some STM32F303CCT6 from digikey, I got fucking PICs instead. 2012-12-24T16:59:44 < dongs> you can't really beat that. 2012-12-24T16:59:47 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-24T16:59:59 < zyp> ha 2012-12-24T17:01:24 -!- barthess [~barthess@5.100.221.159] has quit [Quit: Leaving.] 2012-12-24T17:03:06 < Thorn> actually no dessicant. I think they list that chip as MSL 1 2012-12-24T17:03:21 < Thorn> which is strange, I haven't seen QFPs with MSL 1 before 2012-12-24T17:05:03 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-24T17:07:23 < dongs> any idea how much L1/L2 cache is on cortex -m? 2012-12-24T17:07:33 < zyp> none 2012-12-24T17:07:38 < dongs> huh really? 2012-12-24T17:07:41 < dongs> isnt there I/D cache shit 2012-12-24T17:07:48 < zyp> not in the core 2012-12-24T17:08:00 < zyp> the ART accelerator in F2/F4 adds some 2012-12-24T17:08:16 < zyp> so it's vendor-dependent 2012-12-24T17:08:41 < dongs> huh really. so no cache at all for instructions/data/ 2012-12-24T17:08:46 < dongs> every access needs to be from flash/sram? 2012-12-24T17:09:27 < dongs> whats hte point of shit like __DMB() then 2012-12-24T17:09:30 < dongs> that memory fence shit 2012-12-24T17:09:35 < dongs> istn that for flushing cache? 2012-12-24T17:09:36 < emeb_mac> morning 2012-12-24T17:09:41 < Thorn> the $4.30 launchpad includes a crystal, separately packaged 2012-12-24T17:09:53 < zyp> dongs, it's still pipelined 2012-12-24T17:09:54 < baird> A PITA, that one. 2012-12-24T17:09:56 < dongs> Thorn: ? stellaris? or msp430 2012-12-24T17:10:13 < baird> msp430, as he mentioned 2012-12-24T17:10:32 < baird> Nice little boards; work almost flawlessly with mspdebug on Linux. 2012-12-24T17:10:42 < Thorn> I forgot about the stellaris one, maybe should have ordered it too 2012-12-24T17:10:57 < emeb_mac> it has a pretty RGB LED 2012-12-24T17:11:03 < baird> There's also a FRAM MSP430 Launchpad, although about $40+ 2012-12-24T17:11:19 < zyp> I have one of those 2012-12-24T17:11:25 < Thorn> I also wanted a $25 Lattice XO2 board but they were out of stock 2012-12-24T17:11:30 < zyp> never opened, still sealed 2012-12-24T17:11:50 < baird> Same. I've been putting-off turning the FRAM LP into a 'microcomputer'. 2012-12-24T17:11:56 < emeb_mac> like collecting star wars memorabilia 2012-12-24T17:12:10 < emeb_mac> greater value if unopened. 2012-12-24T17:12:14 < dongs> stellaris has a super cool rgb led 2012-12-24T17:12:18 < dongs> its like 1x1mm or someshit 2012-12-24T17:12:20 < dongs> and fuckin bright 2012-12-24T17:12:25 < baird> Sell on Microsoft's eBay 35 years from now for big $$$ 2012-12-24T17:12:26 < zyp> cortex-m killed all my interest in msp430, so I don't really see any point in playing with it :p 2012-12-24T17:12:34 < emeb_mac> that 2012-12-24T17:13:26 < Thorn> a "10 years from a coin cell" capability is about the only real attraction 2012-12-24T17:14:23 -!- dekar_ [~dekar@212.255.244.151] has quit [Quit: This computer has gone to sleep] 2012-12-24T17:14:57 < baird> Also isn't a Harvard-arch CPU, so you can program 1980s-style. The RISC instructions actually look it, too. 2012-12-24T17:15:41 < zyp> who cares? 2012-12-24T17:15:46 < Thorn> okay the led wheel is blinking 2012-12-24T17:16:11 < zyp> cortex-m0 is von neumann, cortex-m3/4 is harvard 2012-12-24T17:16:15 < emeb_mac> f0 disco? 2012-12-24T17:16:17 < baird> zyp: all the 40+ year-olds 2012-12-24T17:16:34 < zyp> but all buses are hooked into the same memory space, so it's largely irrelevant 2012-12-24T17:17:08 < baird> Sort of an extended Harvard. 2012-12-24T17:18:12 < baird> What I wish for is an msp430 part with decked-out sram.. Usually it's like 8x more Flash/FRAM than SRAM. 2012-12-24T17:19:11 < zyp> why do you need sram when you have fram? 2012-12-24T17:19:25 < zyp> isn't fram pretty much nonvolatile sram? 2012-12-24T17:19:44 < baird> The FRAM chips aren't that cheap. 2012-12-24T17:22:09 < dongs> ffffuuuuuuuuram 2012-12-24T17:23:12 < dongs> http://www.digikey.com/product-detail/en/XMC4500-F100K1024%20AA/XMC4500-F100K1024%20AAIN-ND/3471125 2012-12-24T17:23:15 < dongs> anyone heard of these?? 2012-12-24T17:24:15 < zyp> hmm, cortex-m4 2012-12-24T17:25:47 < Thorn> coming soon coming soon coming soon coming soon coming soon coming soon coming soon 2012-12-24T17:25:52 < baird> Another 120MHz part, instead of 168. 2012-12-24T17:26:25 < zyp> looks like a competitor to F4 2012-12-24T17:26:29 < dongs> what the fuck 2012-12-24T17:26:32 < dongs> 120mA @ full power 2012-12-24T17:26:39 < dongs> 110mA in "sleep" mode 2012-12-24T17:26:41 < dongs> with peripherals disabled 2012-12-24T17:26:48 < emeb_mac> infineon is still a thing? 2012-12-24T17:27:52 < zyp> includes sdram controller 2012-12-24T17:28:07 < dongs> does it say sdram, i saw ebu shit didnt check further though 2012-12-24T17:28:44 < zyp> yes 2012-12-24T17:29:04 < dongs> serial interfaces seem a bit ghetto 2012-12-24T17:29:05 < dongs> 30mhz max 2012-12-24T17:29:33 < Thorn> 4-channel high-resolution, PWM (150 ps) 2012-12-24T17:29:42 < emeb_mac> huh - on-chip delta-sigma demod 2012-12-24T17:29:44 < Thorn> how's that for ghetto 2012-12-24T17:30:11 < zyp> 150ps is just 8MHz^-1 2012-12-24T17:30:35 < zyp> oh, wait 2012-12-24T17:30:51 -!- barthess [~barthess@5.100.221.159] has joined ##stm32 2012-12-24T17:31:00 < Thorn> 1ns^-1 = 1GHz 2012-12-24T17:31:04 < Thorn> isn't it 2012-12-24T17:31:15 < zyp> yes, 8GHz^-1 2012-12-24T17:31:23 < dongs> according to wolfram 150ps is 6.667ghz 2012-12-24T17:31:35 < dongs> there's a pll in there that can go to 570mhz 2012-12-24T17:31:36 < dongs> whatever that means 2012-12-24T17:32:58 < Thorn> what the hell is wrong with usb sockets in discovery boards. they are invariably too tight 2012-12-24T17:33:45 < emeb_mac> achoo - goes in tight 2012-12-24T17:34:22 < emeb_mac> quadrature encoder hardware 2012-12-24T17:35:24 < dongs> oh it does do sdram, just got to that 2012-12-24T17:37:18 < dongs> hmmm 2012-12-24T17:37:22 < dongs> digikey just shipped somethign to me 2012-12-24T17:37:29 < dongs> Your total cost is 6384 Yen in Japanese currency, including 0 Yen postage. 2012-12-24T17:37:30 < dongs> We have billed this to your open account with terms of Net 30 Days 2012-12-24T17:37:47 < emeb_mac> but what is it? 2012-12-24T17:37:58 < dongs> 497-13318-ND 638.40000 6384 2012-12-24T17:37:59 < dongs> IC MCU 32BIT 256KB FLASH 48LQFP 2012-12-24T17:38:08 < dongs> surely they don't mean im paying again for the shit they sent wrong last time :p 2012-12-24T17:38:10 < emeb_mac> hopefully not from MCHP this time 2012-12-24T17:38:22 < Thorn> Atmel? 2012-12-24T17:38:44 < dongs> aha 2012-12-24T17:38:47 < gxti> broadcom 2012-12-24T17:38:50 < dongs> CREDIT HAS BEEN ISSUED ON THE ORIGINAL 2012-12-24T17:38:51 < dongs> INVOICE FOR PARTS NOT RECEIVED. THE INCORRECT PARTS DO NOT NEED TO BE 2012-12-24T17:38:51 < dongs> RETURNED. PLEASE ACCEPT OUR APOLOGIES FOR THE PICKING ERROR. 2012-12-24T17:38:56 < dongs> anyone wants some microchips??? 2012-12-24T17:39:05 < emeb_mac> what part number? 2012-12-24T17:39:22 < dongs> lemme find this trash. I think it was PIC18F43J13 or something 2012-12-24T17:39:30 < emeb_mac> blech 2012-12-24T17:39:40 < emeb_mac> worthless old PIC architecture 2012-12-24T17:39:56 < dongs> ya mega usleess 2012-12-24T17:39:59 < dongs> it had USB t hough 2012-12-24T17:40:13 < dongs> huh i cant even find the bag 2012-12-24T17:40:19 < dongs> im glad they dont want them back :p 2012-12-24T17:40:43 < emeb_mac> donate to local hackerspace. 2012-12-24T17:41:02 < emeb_mac> keep 'em busy for weeks. 2012-12-24T17:41:03 < baird> OTP parts? 2012-12-24T17:41:09 < dongs> PIC18F47J13 sorry 2012-12-24T17:41:27 < dongs> http://www.digikey.com/product-detail/en/PIC18F47J13-I%2FPT/PIC18F47J13-I%2FPT-ND/2385820 this, to be specific 2012-12-24T17:41:50 < dongs> wow, 48mhz 2012-12-24T17:42:03 < gxti> not horrid, for a PIC 2012-12-24T17:42:12 < gxti> i'd prefer a PIC24 but meh :p 2012-12-24T17:42:20 < dongs> nanowat 2012-12-24T17:42:39 < dongs> it even has DMA 2012-12-24T17:42:56 < dongs> only for SPI though. 2012-12-24T17:43:23 < dongs> it must be that evil dma 2012-12-24T17:43:28 < dongs> that inserts a pause 2012-12-24T17:43:29 < dongs> between each byte 2012-12-24T17:44:20 < dongs> Although the SPI DMA module is primarily intended to be used for SPI communication purposes, the module can also be used to perform RAM to RAM copy operations. To do this, configure the module for Full-Duplex Master mode 2012-12-24T17:44:24 < dongs> operation, but assign the SDO2 output and SDI2 input functions onto the same RPn pin in the PPS module. Also assign SCK2 out and SCK2 in onto the same RPn pin (a different pin than used for SDO2 and SDI2). This will allow the module to operate in 2012-12-24T17:44:28 < dongs> Loopback mode, providing RAM copy capability. 2012-12-24T17:44:36 < dongs> looks worthless 2012-12-24T17:45:04 < zyp> haha 2012-12-24T17:46:16 < emeb_mac> hilarious - copy RAM to RAM thru the SPI port. 2012-12-24T17:46:46 < emeb_mac> Sad thing is that probably speeds things up on the old PIC. 2012-12-24T17:48:02 -!- barthess [~barthess@5.100.221.159] has quit [Quit: Leaving.] 2012-12-24T17:54:45 -!- Viper168 [Viper168@unaffiliated/viper168] has quit [Ping timeout: 265 seconds] 2012-12-24T18:02:36 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-24T18:04:14 < dongs> http://www.hobbyking.com/hobbyking/store/__31544__Turnigy_9XR_Transmitter_Mode_2_No_Module_.html 2012-12-24T18:13:48 < emeb_mac> with open sores! 2012-12-24T18:16:35 < baird> $50? A lot less that I would've expected for something like that. 2012-12-24T18:18:16 < emeb_mac> note - without rf. 2012-12-24T18:18:20 < dongs> shrug 2012-12-24T18:18:24 < dongs> existing module just fits in 2012-12-24T18:18:28 < dongs> which I have plenty of 2012-12-24T18:18:31 -!- barthess [~barthess@5.100.221.159] has joined ##stm32 2012-12-24T18:18:31 < BrainDamage> are dongs packages like this? http://imgur.com/gallery/7x8kV 2012-12-24T18:19:42 < dongs> yes 2012-12-24T18:20:29 < Thorn> scp foundation might like this 2012-12-24T18:20:30 < dongs> http://article.gmane.org/gmane.linux.kernel/1414106 aaahahahahahahha 2012-12-24T18:20:54 -!- barthess [~barthess@5.100.221.159] has quit [Client Quit] 2012-12-24T18:21:14 -!- barthess [~barthess@5.100.221.159] has joined ##stm32 2012-12-24T18:21:53 < Thorn> why. does. dongs. follow. linux. kernel. development?! 2012-12-24T18:22:32 < gxti> i bet he secretly runs linux on everything 2012-12-24T18:22:38 < gxti> and has a linus body pillow 2012-12-24T18:22:41 -!- barthess [~barthess@5.100.221.159] has quit [Client Quit] 2012-12-24T18:22:59 < emeb_mac> because linux is a master troll. 2012-12-24T18:23:00 < BrainDamage> you can dislike open sauce yet appreciate some of the nutsos in 2012-12-24T18:23:07 < BrainDamage> like linus 2012-12-24T18:23:46 -!- barthess [~barthess@5.100.221.159] has joined ##stm32 2012-12-24T18:23:55 -!- barthess [~barthess@5.100.221.159] has quit [Client Quit] 2012-12-24T18:33:55 < baird> more like dongs' short shameful secret is reading reddit 2012-12-24T18:34:27 < dongs> sorry, i am not a faggot 2012-12-24T18:35:34 < dongs> https://youtube.com/watch?v=NV6IFOVY-go attn emeb_mac more shit for you to clone 2012-12-24T18:36:58 < baird> There's was an ETI project of exactly the same thing like 25 years ago. 2012-12-24T18:37:27 < baird> Didn't need a CPU, either-- a 10 bit counter and a 6116. 2012-12-24T18:37:41 < emeb_mac> there are hundreds of things like that. 2012-12-24T18:38:51 * emeb_mac doesn't get the appeal of chiptunes 2012-12-24T18:39:10 < baird> "40 year old man reinvents the reinvented!" .. The whole chiptunes thing is small frogs in small ponds. 2012-12-24T18:39:32 < dongs> baird's favorite music style is happyhardcore 2012-12-24T18:40:57 < baird> Ocassionally you find someone who actually /knows/ who Rob Hubbard or JCH where-- and they're ripping their riffs. Meh, I'll just sidplay up the originals that sound 100x better than the post-1990 shit. 2012-12-24T18:41:30 -!- prog is now known as santa-prog 2012-12-24T18:42:15 < baird> Superlamerfaggots of my personal acquantance: https://en.wikipedia.org/wiki/Nasenbluten 2012-12-24T18:42:44 < dongs> haha 2012-12-24T18:45:20 * emeb_mac has a couple amigas mouldering in the garage. 2012-12-24T18:45:38 < baird> They were up there with the type of performance artists who think they're e-d-g-y for wearing uncooked sausages. 2012-12-24T18:46:17 < emeb_mac> that never gets old - just ask lady gaga 2012-12-24T18:46:43 < dongs> https://youtube.com/watch?v=5ONHPybwD8s sounds like the kinda shit baird would listen to 2012-12-24T18:47:29 < baird> Newlands used to play his shit in the ES computer labs. "DISPLAY=eslab10:0.0 xv -root lamer.gif" 2012-12-24T18:49:41 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2012-12-24T18:49:48 < baird> That tune actually somewhat structured. They used to bullshit about being against that. For Art. 2012-12-24T18:52:52 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-24T18:53:45 < baird> https://www.youtube.com/watch?v=pyxauqpwH2E 2012-12-24T18:55:54 < dongs> actually laughing irl 2012-12-24T18:58:40 <+Steffanx> You did.. took a photo of it? 2012-12-24T18:58:48 <+Steffanx> It's something you should remember 2012-12-24T19:00:11 < dongs> http://dxprog.com/entry/christmas-lights-extravaganza/ 2012-12-24T19:00:14 < dongs> check out the last comment 2012-12-24T19:01:53 < emeb_mac> wtf did I just watch? 2012-12-24T19:02:35 < baird> lol asking for Visual BASIC. Typical. 2012-12-24T19:06:01 < Thorn> they need *both* arduino and rpi for that? (and why mechanical relays) 2012-12-24T19:06:14 < dongs> who cares. 2012-12-24T19:06:21 < dongs> front page of makezine, guaranteed 2012-12-24T19:06:26 < dongs> arduino, check. shitberrypi, check. 2012-12-24T19:06:28 < dongs> success! 2012-12-24T19:10:35 < Thorn> >Next year, I'd like to get away from the relay board (it's loud as hell) 2012-12-24T19:10:47 < Thorn> lol 2012-12-24T19:11:17 < gxti> the sole comment is great 2012-12-24T19:11:18 < dongs> http://i.imgur.com/Glsr9.jpg oops 2012-12-24T19:11:33 < dongs> better stop swinging clubs at the office 2012-12-24T19:12:01 < Thorn> I thought it was ceiling cat's toilet 2012-12-24T19:26:07 -!- tavish [~tavish@120.56.135.171] has joined ##stm32 2012-12-24T19:26:07 -!- tavish [~tavish@120.56.135.171] has quit [Changing host] 2012-12-24T19:26:07 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-24T19:34:46 -!- Claude is now known as claude 2012-12-24T19:38:28 < gxti> mmm yes, input capture works nicely 2012-12-24T19:39:03 < gxti> still not glitch-free even though i came up with a new thing :| 2012-12-24T19:40:01 < gxti> although the error is not +/- 65536 so maybe it's the gps receiver 2012-12-24T19:40:54 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-24T20:10:11 -!- barthess [~barthess@5.100.221.159] has joined ##stm32 2012-12-24T20:16:13 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2012-12-24T20:26:50 -!- claude is now known as Claude 2012-12-24T20:31:15 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-24T20:31:16 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-24T20:31:16 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-24T20:31:16 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-24T20:31:55 -!- Claude is now known as claude 2012-12-24T20:37:37 -!- _BJFreeman [~bjfree@77.sub-75-244-54.myvzw.com] has joined ##stm32 2012-12-24T20:50:40 < jpa-> good christmas to all core peripherals! 2012-12-24T20:51:24 < zyp> :) 2012-12-24T20:52:27 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-24T20:53:51 <+Steffanx> Hmm, talking in code words jpa- ? 2012-12-24T20:57:41 < emeb_mac> have a geeky freaky christmas. 2012-12-24T21:05:07 <+Steffanx> You are way too 'western' jpa- .. why you think we all celebrate xmas? :P 2012-12-24T21:08:21 < jpa-> Steffanx: because you are west from me 2012-12-24T21:08:47 < BrainDamage> you're west from him too 2012-12-24T21:08:52 < BrainDamage> just 1 world round trip 2012-12-24T21:09:06 < BrainDamage> ( and east too ) 2012-12-24T21:09:10 <+Steffanx> The world is flat in dutchland and finnishland 2012-12-24T21:10:09 < jpa-> and one can not travel round the world anyways 2012-12-24T21:10:22 < jpa-> because the other side is just a huge pancake factory 2012-12-24T21:10:38 < emeb_mac> I thought it was turtles all the way down. 2012-12-24T21:10:47 <+Steffanx> Only in yankeeland 2012-12-24T21:11:05 <+Steffanx> They live next to the power rangers 2012-12-24T21:11:55 < jpa-> Steffanx: did you get any nice presents? 2012-12-24T21:11:56 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-24T21:12:55 < BrainDamage> I am scared to the other side, there's dongland 2012-12-24T21:13:13 < BrainDamage> ( yes, in both meanings ) 2012-12-24T21:13:28 <+Steffanx> We don't do that with xmas jpa- 2012-12-24T21:13:44 <+Steffanx> Got something nice for your parrot? 2012-12-24T21:13:56 < BrainDamage> do you inject tiny wooden shoes to your bloodstream then? 2012-12-24T21:14:13 < jpa-> :D 2012-12-24T21:14:17 <+Steffanx> Only people with Brain Damage do that 2012-12-24T21:14:45 < jpa-> strange christmas, i thought presents are the reason why it is celebrated 2012-12-24T21:16:00 <+Steffanx> Isn't that really a yankeelander thing? 2012-12-24T21:16:24 <+Steffanx> Dutchland is/was originally an christian country, so.. 2012-12-24T21:16:50 <+Steffanx> but i think nowadays many people 'celebrate' it like that 2012-12-24T21:17:20 <+Steffanx> I think most people just celebrate it with family etc. eat food together and stuff like that 2012-12-24T21:17:50 <+Steffanx> Only 19 days ago we had a day with presents and crap called: Sinterklaas 2012-12-24T21:18:08 <+Steffanx> jpa-, 2012-12-24T21:18:17 < jpa-> ah, the crazy flying dutchmen who cannot wait until christmas 2012-12-24T21:18:39 < gxti> most of them can't even fly, like a factory turkey 2012-12-24T21:20:56 < BrainDamage> does that mean that this is an resemblant pic of Steffanx https://image.guim.co.uk/sys-images/Film/Pix/gallery/2006/06/20/davyjones3.jpg ? 2012-12-24T21:21:29 < jpa-> no he is much nicer looking 2012-12-24T21:23:01 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-24T21:26:19 <+Steffanx> And you know that because 2012-12-24T21:27:55 < jpa-> because google image search gives this http://tinyurl.com/top-result-for-steffanx 2012-12-24T21:28:30 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has joined ##stm32 2012-12-24T21:29:01 <+Steffanx> w00t 2012-12-24T21:29:40 <+Steffanx> Haha, all images you find is crap posted in this channel 2012-12-24T21:29:50 <+Steffanx> like baird on a scooter 2012-12-24T21:30:10 <+Steffanx> And of course trollenceb's projects 2012-12-24T21:33:59 < emeb_mac> anybody got source I can gank for sd + fatfs on stm32? 2012-12-24T21:34:12 < emeb_mac> looked at martin thomas stuff. shudder. 2012-12-24T21:34:18 <+Steffanx> dong$ 2012-12-24T21:35:30 < emeb_mac> might be able to do straight chans fatfs + lowlevel sd from ST's eval board support code. 2012-12-24T21:36:18 < jpa-> emeb_mac: elm chan fatfs has some example for stm32 also IIRC 2012-12-24T21:36:44 < emeb_mac> jpa-: ty - will look more closely. 2012-12-24T21:36:57 < jpa-> emeb_mac: feel free to try this one also https://svn.kapsi.fi/jpa/paatti/mmc.c 2012-12-24T21:37:57 < emeb_mac> jpa-: ty! 2012-12-24T21:39:11 < jpa-> (it uses freertos semaphores for locking the dma access) 2012-12-24T21:49:57 < emeb_mac> hmmm... no visible stm32 in the chan fatfs samples. 2012-12-24T21:52:52 < jpa-> ah, it is 3rd party stuff linked from the chan page http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/arm_memcards/index.html 2012-12-24T21:53:42 < jpa-> are you looking for spi or for sdio code btw? 2012-12-24T21:53:50 < emeb_mac> spi 2012-12-24T21:54:16 < jpa-> that is abundant and quite easy :) 2012-12-24T21:54:17 < emeb_mac> heh - back to martin thomas. :P 2012-12-24T21:54:42 < emeb_mac> well, time to do some studying. 2012-12-24T21:56:40 < Thorn> >TI-RTOS is real-time operating system for Stellaris devices. 2012-12-24T21:57:05 < Thorn> why create a rtos that only works with one brand of cortex devices 2012-12-24T21:57:26 <+Steffanx> Why create one that can work with multiple brands 2012-12-24T21:57:29 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-12-24T21:57:35 <+Steffanx> ( only and only if TI made it of course ) 2012-12-24T21:58:23 <+Steffanx> You didn't expect something else from a TI product, did you Thorn ? 2012-12-24T21:58:25 < emeb_mac> because TI has a standing army of coders in India who need something to keep them busy? 2012-12-24T21:58:45 <+Steffanx> That would mean they would've made it compatible with everything emeb_mac 2012-12-24T21:59:20 < emeb_mac> no - the goal is to capture markets. compatibility doesn't encourage that. 2012-12-24T22:00:09 < emeb_mac> like apple, the goal is to provide features that will attract customers and prevent them from leaving. 2012-12-24T22:00:19 < Thorn> https://www.coursera.org/course/equinenutrition 2012-12-24T22:00:25 < emeb_mac> "first hit is free" 2012-12-24T22:00:51 < emeb_mac> how to feed your brony? 2012-12-24T22:01:04 < gxti> Thorn: courses for horses? 2012-12-24T22:02:00 <+Steffanx> gxti reading skills are excellent 2012-12-24T22:02:08 <+Steffanx> *gxti's 2012-12-24T22:02:43 < jpa-> emeb_mac: yeah i'm not sure if anyone has written high-quality code for that purpose.. the chibios driver is probably quite good, but only if you use chibios 2012-12-24T22:03:02 < gxti> Steffanx: it's a saying, although i only just now looked up what it meant ;p 2012-12-24T22:03:28 < jpa-> sd card access code is not worth spending time on, because it's not like it could cause silent data corruption or anything 2012-12-24T22:03:41 < Thorn> https://www.coursera.org/course/contraception 2012-12-24T22:03:49 < jpa-> just hack something together quickly and forget it :) 2012-12-24T22:03:50 < emeb_mac> jpa-: :) 2012-12-24T22:04:01 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Read error: Connection reset by peer] 2012-12-24T22:04:20 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-24T22:05:04 < emeb_mac> jpa-: I guess the biggest problem with sd card access code is that there are so many variations on it. 2012-12-24T22:05:20 < emeb_mac> rtos or bare metal? sdio or spi? dma or pio? etc. 2012-12-24T22:06:09 < jpa-> yeah 2012-12-24T22:09:13 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 246 seconds] 2012-12-24T22:25:23 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-24T22:26:00 -!- DaKu is now known as daku 2012-12-24T22:30:54 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-197.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-12-24T22:31:10 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-197.clienti.tiscali.it] has joined ##stm32 2012-12-24T22:36:58 -!- daku is now known as DaKu 2012-12-24T22:40:36 < emeb_mac> well, once I figured out the overall structure, the martin thomas stuff isn't so bad. 2012-12-24T22:41:06 < emeb_mac> a lot of stuff in there I don't need so I can trim it down considerably. 2012-12-24T23:41:43 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-24T23:41:44 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-24T23:49:34 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 --- Day changed Tue Dec 25 2012 2012-12-25T00:09:11 -!- barthess [~barthess@5.100.221.159] has quit [Read error: Connection reset by peer] 2012-12-25T00:10:06 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-25T00:12:36 < emeb> just realized how handy it is to have that auxiliary serial port on the BMP2 2012-12-25T00:17:03 <+Steffanx> :) 2012-12-25T00:20:17 < Laurenceb_> Thorn: not relevant to people on irc 2012-12-25T00:22:02 <+Steffanx> Uhm, Laurenceb_ ... 2012-12-25T00:22:09 <+Steffanx> ARE YOU SERIOUS? 2012-12-25T00:22:38 < zyp> he just speaks for himself 2012-12-25T00:23:35 <+Steffanx> Nah, i'm just a little confused. That sentence vs his links 2012-12-25T00:23:45 < zyp> ah 2012-12-25T00:27:10 <+Steffanx> Maybe it's just one of the withdrawal symptoms.. didn't have my daily dose of trollenceb links today 2012-12-25T00:29:36 < jpa-> emeb: i just wish it was on the same connecotr 2012-12-25T00:30:16 < emeb> jpa-: what do you mean? 2012-12-25T00:30:44 < emeb> the same type of connector as the BMPM? or have the serial I/O pins on the JTAG connector? 2012-12-25T00:31:05 < jpa-> i mean whatever connector, as long as it would have SWD and USART1 on the same connector 2012-12-25T00:31:31 < emeb> i see. 2012-12-25T00:31:43 < jpa-> (yeah yeah, SWV should substitute in many cases, but i don't know anything that supports it yet :) 2012-12-25T00:32:04 < emeb> that thought did occur to me as well. 2012-12-25T00:32:43 < emeb> a friend has used SWV / trace with Atollic and said it worked nicely. 2012-12-25T00:33:14 < emeb> and I've heard rumors that it's possible to make it work w/ Coocox, but haven't seen it myself. 2012-12-25T00:33:55 < emeb> and theoretically there are python scripts for gdb that would allow it to work w/ BMP, but I don't have a python-capable gdb yet. 2012-12-25T00:36:28 -!- barthess [~barthess@185.6.26.21] has joined ##stm32 2012-12-25T00:46:10 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2012-12-25T00:58:48 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-25T01:03:07 -!- barthess [~barthess@185.6.26.21] has quit [Quit: Leaving.] 2012-12-25T01:06:15 <+Steffanx> uhm, the scripts are there. Doesn't that make it reality instead of just a theory? 2012-12-25T01:06:20 <+Steffanx> emeb 2012-12-25T01:06:55 < emeb> Steffanx: I haven't tried it, so I can't say if it works. 2012-12-25T01:09:16 < jpa-> so there are really scripts but they only theoretically allow it to work :) 2012-12-25T01:10:50 <+Steffanx> :P 2012-12-25T01:11:11 <+Steffanx> i bet mrschuf (dont remember is nick) tested it 2012-12-25T01:11:56 <+Steffanx> gsmcmullin 2012-12-25T01:15:05 <+Steffanx> emeb, you should let your cat run over your keyboard. In theory your cat should be able to solve some quite complicated issues :P 2012-12-25T01:15:45 <+Steffanx> Maybe it can compile gdb+pyhton for you 2012-12-25T01:16:49 < emeb> Steffanx: it's been done - didn't work. 2012-12-25T01:17:05 <+Steffanx> Not yet 2012-12-25T01:18:02 < emeb> cat got bored? 2012-12-25T01:20:10 <+Steffanx> Cats don't get bored. They only got less interested 2012-12-25T01:21:33 <+Steffanx> hmm, i shouldn't say this bullcrap out loud 2012-12-25T01:21:41 < emeb> you've been hanging around atypical cats. 2012-12-25T01:22:35 <+Steffanx> Maybe the yankeelander cats are different 2012-12-25T01:22:51 <+Steffanx> Too much mcdonalds food isn't good for them 2012-12-25T01:23:04 < emeb> Yes. Our cats cultivate an air of detached indifference. 2012-12-25T01:31:17 <+Steffanx> Shit happens 2012-12-25T01:32:04 < zyp> it's a natural outcome of the digestive system 2012-12-25T01:52:01 -!- jef79m_lurking is now known as jef79m 2012-12-25T02:14:16 -!- jef79m is now known as jef79m_lurking 2012-12-25T02:39:30 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-12-25T02:46:29 < dongs> hello dongs 2012-12-25T02:51:18 < zyp> hi 2012-12-25T02:56:27 < emeb> merry DEC25 dongs 2012-12-25T02:57:40 < zyp> it's dec25 here too 2012-12-25T02:58:37 < gxti> christmas is a vestigial holiday based on solar cycles. i didn't get you anything. 2012-12-25T02:59:33 < emeb> merry DEC25 zyp :) 2012-12-25T03:00:06 < emeb> anyone have any experience using timer inputs to reset the timer count? 2012-12-25T03:00:12 < emeb> (asking for a friend - really) 2012-12-25T03:01:03 < gxti> i've been consulting the reference manual a lot in the past 24 hours so yeah i know you can use the input to trigger a reset 2012-12-25T03:01:12 < gxti> but that's not what i was doing so i can't tell you anything more useful than that 2012-12-25T03:01:31 < emeb> that's what it seems to say, but it's not clear if _any_ of the 4 input channels will work, or just ch1 2012-12-25T03:02:49 < gxti> looking at the values for SMCR TS it only mentions TI1 2012-12-25T03:03:33 < gxti> although it does have 'filtered timer input 2' 2012-12-25T03:04:45 < gxti> and you can set the filter to 'no filter', so maybe that's as good as selecting input 2 as well? who knows 2012-12-25T03:09:14 < zyp> emeb, yes, I have been using it 2012-12-25T03:10:11 < zyp> http://cgit.jvnv.net/suzumebachi/tree/drivers/ppmsum.cpp <- this code is resetting timer on one of the edges of ch1 2012-12-25T03:11:48 < dongs> yeaaaaaaaaaaaaaa 2012-12-25T03:12:00 < dongs> TIM2.WTF = 0xa87a6876d87; 2012-12-25T03:12:06 < dongs> what does it dooooooooooooooooooooooo 2012-12-25T03:12:16 < gxti> it goes ding when there's stuff 2012-12-25T03:14:48 <+Steffanx> after a ding you always get a dong gxti 2012-12-25T03:15:12 <+Steffanx> Somewhere on the globe there is a 'dings'. Just to complete 'dongs' 2012-12-25T03:15:38 < zyp> SMCR = 0x54 is the trick, it sets the TS field to 5 (trigger on TI1FP1) and SMS field to 4 (reset mode) 2012-12-25T03:16:06 < gxti> you really should use, like, macros. 2012-12-25T03:16:25 < zyp> why? 2012-12-25T03:16:46 < gxti> so humans can tell wtf your peripherals are configured to do 2012-12-25T03:17:38 < zyp> well, nowadays I would probably have written it like SMCR = (5 << 4) | (4 << 0); to signify that it's two different fields 2012-12-25T03:18:17 < gxti> that's slightly less horrifying but not as good as having a macro that labels what each field is 2012-12-25T03:18:50 < zyp> what would you have labelled them? 2012-12-25T03:19:24 < zyp> SMCR = TS_5 | SMS_4; ? 2012-12-25T03:20:08 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-25T03:20:16 < gxti> that particular one i probably would have been lazy and left it because it's all numbers not bits, but e.g. DIER should be TIM_DIER_UIE | TIM_DIER_CC1IE ... etc 2012-12-25T03:20:50 < gxti> and by some feat of magic someone already wrote a file with all those things in it, how convenient 2012-12-25T03:23:44 < zyp> I don't really see the value 2012-12-25T03:24:19 < gxti> well as long as i never have to see your code again, whatevs 2012-12-25T03:24:27 < zyp> if I'm going to need to read the reference manual to see what bits goes in which registers and what the abbreviations mean, I might as well just look up what bit numbers they have 2012-12-25T03:24:40 < gxti> it's called "maintainability" which is a nice word for making people not want to set your car on fire 2012-12-25T03:24:53 < zyp> I prefer to put my abstraction on a higher layer than that 2012-12-25T03:27:12 < zyp> you can go and have fun looking up which buses all your peripherals are connected to everytime you want to enable them, I write shit like RCC.enable(RCC.TIM2), and let the compiler figure out the rest 2012-12-25T03:28:03 < zyp> abstractions that doesn't make the work significantly easier for me is worthless and thus a waste of time 2012-12-25T03:31:11 < gxti> good thing i wasn't talking about that line then 2012-12-25T03:31:47 < zyp> yes, you were talking about a line that you said you would have left as numbers, just like me :p 2012-12-25T03:33:04 < gxti> you picked that one, not me 2012-12-25T03:33:36 < gxti> all the others i would have used a combination of preprocessor constants so i could tell at a glance what peripheral level thing it was referring to instead of just being a number 2012-12-25T03:33:44 < gxti> at least you have comments, i guess 2012-12-25T03:34:45 < dongs> < gxti> well as long as i never have to see your code again, whatevs 2012-12-25T03:34:46 < dongs> haha 2012-12-25T03:34:49 < dongs> my thoughts exactly 2012-12-25T03:35:27 < zyp> it's ok, I'm mainly writing this code to use it myself anyway 2012-12-25T03:37:48 < zyp> and really, the idea is that the abstracted API should be good enough that a user shouldn't have to look at the internals 2012-12-25T03:38:04 < gxti> lol. 2012-12-25T03:38:55 < gxti> k, writing code now 2012-12-25T03:40:02 < emeb> zyp: thx for timer reset confirmation. 2012-12-25T03:40:25 < emeb> buddy is trying to use CH2 input for reset on an F100 part and running into problems. 2012-12-25T03:40:32 < zyp> emeb, looks like inputs 1 and 2 can be used 2012-12-25T03:40:47 < zyp> TS can be set to TI2FP2 2012-12-25T03:41:11 < emeb> aha. I've been staring at the RM and haven't tried anything myself. 2012-12-25T03:41:46 < emeb> but looks like he's packed it in for the night, so NMP. 2012-12-25T03:41:51 < zyp> I'm looking at F4 RM now though, but code was originally written for F1 2012-12-25T03:42:21 < zyp> but just check the SMCR description, that's the interesting part 2012-12-25T03:42:33 < emeb> OK. 2012-12-25T03:43:49 < emeb> right - SMCR, TS field can be TI1FP1 or TI1FP2 2012-12-25T03:44:10 < emeb> seems pretty simple. 2012-12-25T03:45:16 < emeb> was good to look over that stuff - saw that timer can be used for rotary encoder input. 2012-12-25T03:45:24 < emeb> and I've got an application that may need that. 2012-12-25T03:45:50 < zyp> that sounds like a typo 2012-12-25T03:45:55 < zyp> shouldn't it be TI2FP2? 2012-12-25T03:46:01 < emeb> yeah 2012-12-25T03:46:27 < emeb> seems like the 2 is redundant. 2012-12-25T03:46:52 < zyp> look at the block diagram 2012-12-25T03:47:36 < zyp> TIx is the internal name of each channel input (TI1 also has a mux for some xor stuff) 2012-12-25T03:48:06 < zyp> and then there is some more muxing and routing before they become ICx 2012-12-25T03:48:19 < zyp> and TIxFPy is the link between TIx and ICy 2012-12-25T03:48:35 < emeb> oic 1/2 can be muxed and 3/4 can be muxed, but not 1/3, etc. 2012-12-25T03:48:40 < zyp> yes 2012-12-25T03:48:53 < zyp> so TI1FP2 is still TI1 2012-12-25T03:48:59 < zyp> and different from TI2FP2 2012-12-25T03:49:15 < zyp> so we should make sure we get that correct 2012-12-25T03:49:41 < emeb> is fp1/fp2 just rising/falling edge? 2012-12-25T03:50:33 < emeb> ok, fig 113 explains routing. 2012-12-25T03:50:58 < emeb> those timers are hairy beasts. 2012-12-25T03:51:49 < zyp> I think FP1 is polarity set according to channel 1 settings, and FP2 is polarity set according to channel 2 settings 2012-12-25T03:52:22 < emeb> yeah - extra layer of muxing 2012-12-25T03:53:14 < zyp> I'm using the method described in the PWM input mode, routing TI1 to both channel 1 and 2 2012-12-25T03:53:50 < zyp> so I get rising edges on one and falling edges on the other 2012-12-25T03:54:28 < emeb> is that for measuring RC servo drive? 2012-12-25T03:54:31 < zyp> and since I reset on one of them, I get pulse length on one channel and period on other 2012-12-25T03:54:54 < zyp> yes, I use it for capturing a series of those 2012-12-25T03:55:36 < zyp> http://bin.jvnv.net/f/R5PfV.png <- waveform looks like this 2012-12-25T03:55:53 < zyp> that's four channels, with a pause between each set 2012-12-25T03:56:09 < zyp> so I use period to find the pauses and pulse length to find the value 2012-12-25T03:56:23 < emeb> bet it's fun demuxing those. 2012-12-25T03:56:33 < zyp> pretty easy actually 2012-12-25T03:56:43 < zyp> the file I linked is the entire thing 2012-12-25T03:57:24 < emeb> wow - pretty straightforward. 2012-12-25T03:58:07 < zyp> the timeout-thing is a nice bonus 2012-12-25T04:16:08 < gxti> woop: http://pastebin.com/6AH2eQT6 2012-12-25T04:16:28 < gxti> first success \o/ 2012-12-25T04:19:51 < emeb> you have a network. 2012-12-25T04:20:27 < gxti> i have a working ntp server on a f107 :p 2012-12-25T04:20:35 < gxti> using gps as a reference 2012-12-25T04:23:13 < emeb> nice 2012-12-25T04:24:59 < dongs> lunix??? 2012-12-25T04:26:06 < gxti> i could do it again on windows if you'd prefer ;p 2012-12-25T04:26:11 < gxti> the client is unimportant 2012-12-25T04:41:59 < baird> gxti: using PPS, or just parsing NMEA 2012-12-25T04:42:03 < baird> ? 2012-12-25T04:42:19 < gxti> PPS. 2012-12-25T04:42:54 < gxti> right now it is crappy because i wanted something working fast, it's resetting a timer when the pps arrives 2012-12-25T04:43:19 < gxti> eventually it will use the pps to discipline the VCTCXO that is clocking the micro instead 2012-12-25T04:44:03 < emeb> faaaancy 2012-12-25T04:44:16 < emeb> PLL in code. 2012-12-25T04:44:17 < zyp> nice 2012-12-25T04:48:46 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-12-25T04:49:08 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-25T05:01:08 < emeb> looking at the martin thomas SD interface routines - during initialization the SPI clock speed starts out low and is increased if a card is detected. Is that necessary? 2012-12-25T05:05:13 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-12-25T05:05:53 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-25T05:07:29 < zyp> yes 2012-12-25T05:07:49 < emeb> k 2012-12-25T05:07:50 < zyp> initialization should not happen at more than 400 kHz 2012-12-25T05:08:06 < zyp> and you probably don't want to limit your data transfers to that :p 2012-12-25T05:08:13 < emeb> heh 2012-12-25T05:08:47 < zyp> well, this is for SDIO, but I assume the same applies for SPI 2012-12-25T05:11:49 < zyp> the idea is to read out which modes the card supports and instruct the card to enter a high-speed mode before increasing the clock speed 2012-12-25T05:11:58 < emeb> makes sense. 2012-12-25T05:12:14 < zyp> with SDIO the fastest modes requires 1.8V signalling 2012-12-25T05:12:23 < emeb> any idea what the max clock rate for SD @ 3.3V is? 2012-12-25T05:12:29 < emeb> (SPI) 2012-12-25T05:12:45 < zyp> I can look it up, hang on 2012-12-25T05:14:34 < emeb> depends on CSD block 2012-12-25T05:16:59 < emeb> looks like 25MHz is safe. 56MHz for some kinds of cards. 2012-12-25T05:17:40 < zyp> it says high speed mode is same as for SDIO signalling, which means max 50 MHz 2012-12-25T05:17:54 < zyp> and no support for 1.8V modes 2012-12-25T05:18:18 < emeb> ty 2012-12-25T05:18:42 < zyp> but not all cards may support it, like you say 2012-12-25T05:19:14 < emeb> SPI prescaler granularity is pretty coarse, so I get 18MHz or 36MHz at the high end. 2012-12-25T05:19:20 < emeb> Just go w/ 18. 2012-12-25T05:19:29 < zyp> yeah 2012-12-25T05:19:30 < emeb> for init it's like 148kHz. 2012-12-25T05:19:37 < zyp> fast enough 2012-12-25T05:19:53 < zyp> it's not a lot of commands before you switch 2012-12-25T05:20:11 < emeb> the martin thomas code has all kinds of detection & power up/down features that I'm skipping. 2012-12-25T05:20:23 < emeb> Assuming the card is there @ power up and never hot-swapped. 2012-12-25T05:21:49 < zyp> sounds like removing useful stuff 2012-12-25T05:22:22 < emeb> for now. easy to put back later when I've got the basics working. 2012-12-25T05:23:12 < emeb> kinda hard to implement since the socket I have now doesn't provide card detect & write protect, nor VDD switching. 2012-12-25T05:23:46 < zyp> true 2012-12-25T05:24:27 < zyp> I've ran into situations where I've had to pull out and reinsert the card to make it work again 2012-12-25T05:24:41 < emeb> bleh. 2012-12-25T05:25:01 < emeb> during testing and you needed to reset the card due to scrambled setup? 2012-12-25T05:25:11 < zyp> CMD0 doesn't seem to help when a card gets stuck in a weird state 2012-12-25T05:25:12 < zyp> yes 2012-12-25T05:25:32 < zyp> experimental code frequently manages to confuse the card :p 2012-12-25T05:25:41 < emeb> not surprising. 2012-12-25T05:26:03 < zyp> it should respond to CMD0 in any state 2012-12-25T05:26:11 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has joined ##stm32 2012-12-25T05:26:25 < zyp> oh well 2012-12-25T05:26:33 < emeb> interesting looking at the init routines here. 2012-12-25T05:26:49 < emeb> goes into a fast loop for 1s sending cmd0 until it gets a response. 2012-12-25T05:26:57 < zyp> I'll just keep in mind to include a power switch on any boards with sd-sockets I do 2012-12-25T05:27:09 < zyp> oh 2012-12-25T05:27:13 < emeb> something to think about for the future. 2012-12-25T05:27:21 < zyp> CMD0 in SDIO mode doesn't provide any response 2012-12-25T05:27:42 < emeb> some alternative for that ifc? 2012-12-25T05:27:47 < dongs> plus a vreg just for SD as well 2012-12-25T05:27:52 < dongs> ive always done that 2012-12-25T05:27:52 < zyp> yeah 2012-12-25T05:27:59 < emeb> makes sense 2012-12-25T05:28:02 < zyp> I'm thinking just a ldo vith enable-pin 2012-12-25T05:28:04 < emeb> get a switchable vreg? 2012-12-25T05:28:08 < dongs> right 2012-12-25T05:28:17 < dongs> thats waht I do, then you cna just pulse the enable pin 2012-12-25T05:28:23 < emeb> simple 2012-12-25T05:28:24 < gxti> i wonder how i can get latency down... 2.6ms round trip time through LWIP best case 2012-12-25T05:29:17 < zyp> how much of that is in mcu code? 2012-12-25T05:29:27 < gxti> dunno, haven't instrumented it yet 2012-12-25T05:29:28 < dongs> overclock it 2012-12-25T05:29:42 < gxti> MAXIMUM POWER 2012-12-25T05:30:19 < zyp> the only latency that matters for code optimization is the time from rx complete until tx start 2012-12-25T05:30:30 < zyp> the rest is outside your control 2012-12-25T05:32:47 < zyp> oh well, bedtime 2012-12-25T05:32:51 < gxti> it's probably due to context switches or something 2012-12-25T05:33:32 < gxti> using lwip in single-threaded raw mode should help but that pretty much means forging anything other than responding to ntp requests (zomg no node.js web 2.0) 2012-12-25T05:33:42 < gxti> forgoing* 2012-12-25T05:44:35 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-250-197.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 2012-12-25T05:46:55 -!- dekar [~dekar@46.115.106.70] has joined ##stm32 2012-12-25T05:46:58 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-25T06:06:01 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-25T06:07:31 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-25T06:07:35 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-25T06:07:38 -!- dekar [~dekar@46.115.106.70] has quit [Quit: Leaving] 2012-12-25T06:24:17 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-25T06:38:05 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-25T06:40:38 < gxti> asay is a crime against irc 2012-12-25T06:57:22 -!- _BJFreeman [~bjfree@77.sub-75-244-54.myvzw.com] has quit [] 2012-12-25T07:09:21 < dongs> http://www.linear.com/product/LTC6905 2012-12-25T07:13:54 < gxti> k? 2012-12-25T07:15:36 < dongs> duno was on a random CPLD evalboard 2012-12-25T07:15:40 < dongs> probably used to control clock going to it? 2012-12-25T07:20:02 < emeb_mac> weird 2012-12-25T07:20:56 < dongs> wash all that crusty jizz off of it 2012-12-25T07:21:35 < emeb_mac> i've used these before: http://www.linear.com/product/LTC6904 2012-12-25T07:22:41 < gxti> 0.5% is precision now? 2012-12-25T07:22:54 < emeb_mac> heh. 2012-12-25T07:23:05 < gxti> i guess it's effectively a noise word in product marketing 2012-12-25T07:23:13 < gxti> precision jumper wire 2012-12-25T07:23:16 < emeb_mac> it is for no external references I guess 2012-12-25T07:23:45 < dongs> is that even usb-usable precision 2012-12-25T07:23:50 < emeb_mac> no 2012-12-25T07:24:00 < gxti> so ftdi does better, in other words 2012-12-25T07:24:23 < dongs> DCXO, dong controlled xtal oscillator 2012-12-25T07:24:24 < gxti> ignoring the fact that programmable canned oscillators also exist :p 2012-12-25T07:24:33 < emeb_mac> a lot of things do better now. 2012-12-25T07:25:14 < emeb_mac> those silabs oscillators look great, but they're way $$ 2012-12-25T07:26:06 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-25T07:28:09 < emeb_mac> these -> http://www.silabs.com/Support%20Documents/TechnicalDocs/si570.pdf 2012-12-25T07:29:39 < gxti> mmmm 2012-12-25T07:30:38 < emeb_mac> last I checked they're only available in custom configurations direct from the factory and run about $70/ea 2012-12-25T07:33:45 < dongs> cool 2012-12-25T07:34:00 < dongs> recover that clock n data 2012-12-25T07:34:14 < dongs> pulls 100mA 2012-12-25T07:35:59 < emeb_mac> must be good - they suck (power) so hard. 2012-12-25T07:36:07 < dongs> yea 2012-12-25T07:36:49 < emeb_mac> a lot of amateur radio guys use those for sdr stuff - group buys etc. 2012-12-25T07:44:11 < emeb_mac> cool -> http://www.dailybreeze.com/news/ci_22256691/spacex-rocket-test-launch-successful 2012-12-25T07:46:22 < dongs> no wonder my paypal fees are so high 2012-12-25T07:47:43 < baird> Traditional Xmas Day Pizza acquired! 2012-12-25T07:48:22 < emeb_mac> does it have figgy pudding on it? 2012-12-25T08:40:39 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-25T08:59:00 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 252 seconds] 2012-12-25T09:19:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-25T09:35:32 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-25T09:50:32 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-25T10:01:20 -!- jef79m_lurking is now known as jef79m 2012-12-25T10:06:37 -!- jef79m is now known as jef79m_lurking 2012-12-25T10:14:32 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 252 seconds] 2012-12-25T10:20:17 < dongs> dongy pudding 2012-12-25T10:25:06 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-25T10:50:30 < dongs> http://i.imgur.com/Zv55R.jpg 2012-12-25T11:05:06 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-25T11:10:05 -!- claude is now known as Claude 2012-12-25T11:45:14 -!- Claude is now known as claude 2012-12-25T11:48:00 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-25T11:52:12 -!- claude is now known as Claude 2012-12-25T12:31:50 -!- barthess [~barthess@178.154.48.57] has joined ##stm32 2012-12-25T12:39:07 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2012-12-25T12:45:42 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-25T12:54:31 -!- barthess [~barthess@178.154.48.57] has quit [Quit: Leaving.] 2012-12-25T12:54:55 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Remote host closed the connection] 2012-12-25T12:59:12 -!- barthess [~barthess@178.154.2.106] has joined ##stm32 2012-12-25T13:20:38 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 255 seconds] 2012-12-25T13:25:42 -!- BjoernC [~BjoernC@dyndsl-178-142-052-162.ewe-ip-backbone.de] has joined ##stm32 2012-12-25T13:33:35 -!- BjoernC [~BjoernC@dyndsl-178-142-052-162.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-25T13:46:17 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-25T13:46:18 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-25T13:46:18 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-25T13:46:19 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-25T14:30:26 -!- barthess [~barthess@178.154.2.106] has quit [Quit: Leaving.] 2012-12-25T14:30:54 -!- barthess [~barthess@178.154.2.106] has joined ##stm32 2012-12-25T15:16:08 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-25T15:17:32 -!- barthess [~barthess@178.154.2.106] has quit [Quit: Leaving.] 2012-12-25T15:23:51 -!- _BJFreeman [~bjfree@234.sub-75-244-146.myvzw.com] has joined ##stm32 2012-12-25T15:36:45 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-25T15:54:08 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds] 2012-12-25T16:04:37 < karlp> dongs: christmas reading? 2012-12-25T16:06:49 < dongs> sure 2012-12-25T16:39:10 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-25T16:42:39 <+Steffanx> zz 2012-12-25T16:43:16 < dongs> wat 2012-12-25T16:47:20 < Thorn> http://i.imgur.com/w8abB.jpg 2012-12-25T16:50:10 < Thorn> bottom left boards are black magic clone 2012-12-25T16:51:30 < zyp> what are the other three designs? 2012-12-25T16:53:51 < dongs> looks like his can trash 2012-12-25T16:54:13 < zyp> I can see that much 2012-12-25T16:54:29 < zyp> but what are they supposed to do, apart from communicating with each other? 2012-12-25T16:54:29 < dongs> man thats a waste of panel space 2012-12-25T16:54:47 < dongs> is that eurostyle of paneling? :) 2012-12-25T16:55:12 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-25T16:55:38 < Thorn> I didn't do the panelization. 2012-12-25T16:55:51 < dongs> http://i.imgur.com/m4pkE.png abusing that smartcard socket 2012-12-25T16:56:18 < Thorn> on the left is a lpc1766 usb->rs-485+CAN interface, the other 2 are my 1st commercial design 2012-12-25T16:57:41 -!- barthess [~barthess@178.154.22.181] has joined ##stm32 2012-12-25T16:57:42 < dongs> board quality looks good 2012-12-25T16:57:55 < Thorn> it better be for $185 2012-12-25T16:57:56 < dongs> at least as far as I can tell from the crappy photo 2012-12-25T16:58:12 < dongs> woulda been cheaper at dongspcb :) 2012-12-25T16:58:22 < Thorn> do you take orders? 2012-12-25T16:58:30 < dongs> and routed/separated instead of cut tabs 2012-12-25T16:58:45 -!- tavish [~tavish@59.177.4.103] has joined ##stm32 2012-12-25T16:58:45 -!- tavish [~tavish@59.177.4.103] has quit [Changing host] 2012-12-25T16:58:45 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-25T16:58:53 < dongs> maybe for your next design :) 2012-12-25T16:59:02 < dongs> what was leadtime on those? 2012-12-25T17:02:13 < dongs> i guess ill route this smartcard shit tomrorow. lazy. 2012-12-25T17:02:28 < Thorn> I ordered them week ago 2012-12-25T17:02:33 < Thorn> *a week 2012-12-25T17:03:18 < dongs> processing here is like 2-3 days max but posting it is annoying. 2012-12-25T17:03:25 < dongs> as thats a week right there usually. 2012-12-25T17:03:47 < dongs> well, to u.s. is liek 5 biz days. shipped monday -> arrives fri 2012-12-25T17:03:59 < dongs> europe depends on how fucked up the country is 2012-12-25T17:04:25 < Thorn> mail from China/Hong Kong takes 3 weeks to arrive here "normally" if no additional delays happen 2012-12-25T17:05:03 < Thorn> (and I wish I were in Europe...) 2012-12-25T17:05:09 < dongs> haha 2012-12-25T17:05:13 < dongs> where are you tehn 2012-12-25T17:05:15 < dongs> u.s.? 2012-12-25T17:05:37 < Thorn> russia 2012-12-25T17:05:41 < dongs> o shit. 2012-12-25T17:06:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-25T17:07:05 < dongs> yea ems to russia is probably around week+1/2 or so 2012-12-25T17:07:21 < dongs> who made the boards then? local? or olimex 2012-12-25T17:08:03 < dongs> (the only europlace i know really) 2012-12-25T17:09:29 < Thorn> I heard horrible things about Russian EMS, especially in 2012. (I did order my rigol from China via EMS and it arrived pretty quickly and undamaged, it was Feb 2012) 2012-12-25T17:09:53 < Thorn> http://rezonit.ru/ 2012-12-25T17:10:23 < dongs> most people from like russia/ukraine/etc type areas buy shit here with airmail.. it generally arrives there in 2-3 weeks as you said. EMS is a bit faster, but the post here beeps about some areas if htey're out of service 2012-12-25T17:12:32 < dongs> huh. google translate must be failing 2012-12-25T17:13:00 < dongs> 'urgent' is hceaper thaan "small and medium sized' 2012-12-25T17:13:10 < dongs> and quicker as well. 2012-12-25T17:13:19 < Thorn> UPS from farnell arrived in 4 or 5 days and that's new year eve. but customs rules are pretty fucked up: $1K/month by normal mail/EMS and $200 via UPS and other similar services 2012-12-25T17:13:42 < dongs> hah 2012-12-25T17:13:45 < dongs> and then whaT? 2012-12-25T17:13:48 < Thorn> they call their prototyping service "urgent" 2012-12-25T17:14:16 < zyp> as in customs exempt? 2012-12-25T17:14:23 < zyp> or what? 2012-12-25T17:14:46 < Thorn> then you need to pay import tax which is a huge PITA (the procedure itself) 2012-12-25T17:15:02 < zyp> right, so it's the exempt limit 2012-12-25T17:15:10 < Thorn> yes 2012-12-25T17:15:24 < zyp> in norway the exempt limit is around $35 2012-12-25T17:16:45 < zyp> for mailed shit, around $1k for stuff you carry over the border yourself when returning from a travel 2012-12-25T17:16:47 < Thorn> I'm pretty sure you don't need a notarized translation of the invoice to clear the customs though 2012-12-25T17:17:19 < zyp> nah, usually you just incur 25% tax and a $20 «tax collection fee» 2012-12-25T17:17:33 < dongs> in soviet russia, tax collects you 2012-12-25T17:17:40 < zyp> which means that your $40 shipment suddenly becomes $70 2012-12-25T17:18:43 < Thorn> not nice 2012-12-25T17:20:35 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Read error: Operation timed out] 2012-12-25T17:21:04 < Thorn> I should have ordered ENIG, it would be quite cheap 2012-12-25T17:21:09 < zyp> hmm, which means that there'll be a >$100 invoice from UPS waiting for me when I get home from vacation, for the shit I recently got from digikey 2012-12-25T17:26:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-25T17:36:07 < Thorn> how do you separate boards properly btw? cutting pliers? 2012-12-25T17:38:59 < dongs> yeah just angle cutters 2012-12-25T17:41:44 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 265 seconds] 2012-12-25T17:42:46 < dongs> http://www.jaycar.com.au/productView.asp?ID=KC5361 haha attn baird 2012-12-25T17:44:27 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-25T17:46:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-25T17:54:20 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 252 seconds] 2012-12-25T17:55:22 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-25T18:04:37 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-12-25T18:11:49 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-25T18:13:16 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-25T18:34:03 -!- barthess [~barthess@178.154.22.181] has quit [Read error: Connection reset by peer] 2012-12-25T18:38:57 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-12-25T18:42:26 -!- TeknoJuce [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has joined ##stm32 2012-12-25T18:42:27 -!- TeknoJuce [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has quit [Changing host] 2012-12-25T18:42:27 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-25T18:45:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 250 seconds] 2012-12-25T18:49:05 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has joined ##stm32 2012-12-25T18:49:06 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has quit [Changing host] 2012-12-25T18:49:06 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-25T18:50:01 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-25T18:52:16 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2012-12-25T18:53:13 -!- barthess [~barthess@185.6.26.206] has joined ##stm32 2012-12-25T18:54:53 < jpa-> Thorn: i just cut deep V-grooves with a knife and snap the board in two 2012-12-25T18:56:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 260 seconds] 2012-12-25T19:05:10 -!- BrainDamage [~yaaic@217.200.185.45] has joined ##stm32 2012-12-25T19:15:27 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-12-25T19:25:32 -!- BrainDamage [~yaaic@217.200.185.45] has quit [Quit: Yaaic] 2012-12-25T19:28:49 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-25T19:33:38 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-25T19:37:00 -!- pepsi [~jbutera@c-98-213-32-190.hsd1.il.comcast.net] has joined ##stm32 2012-12-25T19:37:01 -!- pepsi [~jbutera@c-98-213-32-190.hsd1.il.comcast.net] has quit [Changing host] 2012-12-25T19:37:01 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-25T19:44:42 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-25T20:03:54 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-25T20:06:12 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2012-12-25T20:07:14 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-249-164.clienti.tiscali.it] has joined ##stm32 2012-12-25T20:07:56 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-25T20:14:26 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-25T20:17:10 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 250 seconds] 2012-12-25T20:31:08 -!- Claude is now known as claude 2012-12-25T20:34:17 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-25T20:40:23 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-12-25T20:40:31 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-12-25T20:40:31 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-12-25T20:40:36 -!- dfletcher is now known as drgreenthumb 2012-12-25T20:46:23 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-25T20:47:26 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-25T20:53:19 -!- santa-prog is now known as prog 2012-12-25T21:06:12 -!- _BJFreeman [~bjfree@234.sub-75-244-146.myvzw.com] has quit [Ping timeout: 264 seconds] 2012-12-25T21:06:30 -!- BJFreeman [~bjfree@72.sub-75-244-131.myvzw.com] has joined ##stm32 2012-12-25T21:11:19 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-25T21:12:15 -!- _BJFreeman [~bjfree@5.sub-75-196-61.myvzw.com] has joined ##stm32 2012-12-25T21:13:05 -!- _BJFreeman [~bjfree@5.sub-75-196-61.myvzw.com] has quit [Client Quit] 2012-12-25T21:14:00 -!- BJFreeman [~bjfree@72.sub-75-244-131.myvzw.com] has quit [Ping timeout: 264 seconds] 2012-12-25T21:17:20 -!- _BJFreeman [~bjfree@5.sub-75-196-61.myvzw.com] has joined ##stm32 2012-12-25T21:39:48 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-25T21:42:21 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 256 seconds] 2012-12-25T21:49:26 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2012-12-25T21:54:49 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-12-25T22:04:52 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-249-164.clienti.tiscali.it] has quit [Ping timeout: 244 seconds] 2012-12-25T22:12:47 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-249-164.clienti.tiscali.it] has joined ##stm32 2012-12-25T22:21:13 -!- pepsi_ [~jbutera@c-98-213-32-190.hsd1.il.comcast.net] has joined ##stm32 2012-12-25T22:21:13 -!- pepsi_ [~jbutera@c-98-213-32-190.hsd1.il.comcast.net] has quit [Changing host] 2012-12-25T22:21:14 -!- pepsi_ [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-25T22:22:04 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 246 seconds] 2012-12-25T22:44:59 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 252 seconds] 2012-12-25T22:48:58 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-25T22:49:23 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 260 seconds] 2012-12-25T23:00:34 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-25T23:28:35 < karlp> nice rf design... http://imgur.com/gallery/F1yGP 2012-12-25T23:28:50 < emeb> lol 2012-12-25T23:30:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-25T23:30:53 -!- barthess [~barthess@185.6.26.206] has quit [Quit: Leaving.] --- Day changed Wed Dec 26 2012 2012-12-26T00:07:45 -!- DaKu is now known as daku 2012-12-26T00:08:35 < Laurenceb_> I already retweeted it xD 2012-12-26T00:08:35 < Laurenceb_> get 2012-12-26T00:08:35 < Laurenceb_> the 2012-12-26T00:08:35 < Laurenceb_> hell outta here 2012-12-26T00:08:35 < Laurenceb_> wow 2012-12-26T00:08:35 < Laurenceb_> ? 2012-12-26T00:08:41 < Laurenceb_> genius 2012-12-26T00:11:32 < karlp> context? 2012-12-26T00:12:40 < Laurenceb_> twitter 2012-12-26T00:14:07 <+Steffanx> lol karlp 2012-12-26T00:14:49 < karlp> more awesome science: http://imgur.com/gallery/xkXlU 2012-12-26T00:15:44 <+Steffanx> Too bad it's just a gif 2012-12-26T00:16:29 < jpa-> yeah should be mng 2012-12-26T00:16:55 <+Steffanx> or just that crap format you use 2012-12-26T00:16:57 < karlp> mng? 2012-12-26T00:17:13 <+Steffanx> webm 2012-12-26T00:17:24 <+Steffanx> Multiple-image Network Graphics i guess 2012-12-26T00:19:11 <+Steffanx> So how great was xmas jpa- ? 2012-12-26T00:19:20 <+Steffanx> Had a nice diner with parrot and family? :p 2012-12-26T00:43:45 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-26T00:46:50 -!- daku is now known as DaKu 2012-12-26T00:51:48 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-26T00:53:05 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Client Quit] 2012-12-26T01:00:17 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 252 seconds] 2012-12-26T01:02:38 -!- BjoernC [~BjoernC@dyndsl-178-142-052-162.ewe-ip-backbone.de] has joined ##stm32 2012-12-26T01:08:20 < emeb> really loving how the salaea logic analyzer crashes when I enable the spi bus analyzer. 2012-12-26T01:12:23 -!- prog [prog@bornbrilliant.org] has left ##stm32 [] 2012-12-26T01:13:22 -!- jef79m_lurking is now known as jef79m 2012-12-26T01:13:47 <+Steffanx> You have to talk to dong$ when it comes to closed sores emeb 2012-12-26T01:15:30 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2012-12-26T01:15:48 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-26T01:15:48 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-26T01:15:48 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-26T01:15:51 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-26T01:23:10 < emeb> Steffanx: closed sores is _awesome_ 2012-12-26T01:23:24 <+Steffanx> yes yes, when it works 2012-12-26T01:24:03 * emeb wonders if drinking beer and debugging SD I/O routines is really a wise thing to do. 2012-12-26T01:28:27 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-249-164.clienti.tiscali.it] has quit [Ping timeout: 256 seconds] 2012-12-26T01:30:16 < zyp> :) 2012-12-26T01:30:35 < zyp> how is it working out for you? 2012-12-26T01:32:27 < emeb> zyp: a bit of progress. 2012-12-26T01:32:57 < emeb> currently it's timing out waiting for ACMD41 after finding CMD8 == 1 2012-12-26T01:33:27 < emeb> so it recognizes that it's got an SDHC card, but then... ? 2012-12-26T01:34:24 < zyp> you are using some code that is supposed to work? 2012-12-26T01:35:08 < emeb> this is a modified version of the martin thomas code - supposed to work, but I've made some changes for my system. 2012-12-26T01:35:44 -!- nopcode_ [~nop@sushi.unix-ag.uni-kl.de] has quit [Ping timeout: 260 seconds] 2012-12-26T01:36:46 <+Steffanx> Just continue your work. If the code looks sane tomorrow, it means you are not drunk yet :P 2012-12-26T01:47:41 -!- nopcode [~nop@sushi.unix-ag.uni-kl.de] has joined ##stm32 2012-12-26T02:24:22 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-12-26T02:57:33 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-26T02:59:23 -!- BjoernC [~BjoernC@dyndsl-178-142-052-162.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-26T03:03:59 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-26T03:12:57 < dongs> death to america 2012-12-26T03:33:04 <+Steffanx> uhm what dongs? 2012-12-26T03:33:23 <+Steffanx> They've stolen your xmas presents? 2012-12-26T03:33:29 -!- _BJFreeman [~bjfree@5.sub-75-196-61.myvzw.com] has quit [] 2012-12-26T03:34:53 -!- _BJFreeman [~bjfree@243.sub-75-244-163.myvzw.com] has joined ##stm32 2012-12-26T03:42:13 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-26T03:51:43 < emeb_mac> dongs is trying to get on the watch list. 2012-12-26T03:52:26 < dongs> i'm already on the watch list 2012-12-26T03:54:36 * emeb_mac sits back to digest the xmas dinner. 2012-12-26T04:02:50 <+Steffanx> dongs has his people inside FBI that told him he is on 'the list' ? 2012-12-26T04:03:12 <+Steffanx> You have an amazing network 2012-12-26T04:03:21 <+Steffanx> ( or just a good fantasy ) 2012-12-26T04:09:15 < dongs> jolly good dong 2012-12-26T04:14:45 <+Steffanx> That's how you like it? 2012-12-26T04:15:39 <+Steffanx> No, i don't want to know 2012-12-26T04:17:19 < dongs> haha, crazyflie fgts are gonna have seedstudio assemble their shit 2012-12-26T04:18:32 <+Steffanx> That sounds bad. It'll be the cause of the 3rd world war? 2012-12-26T04:18:41 < dongs> That is a good question. We are doing what we can to get the price as low as possible but it much depends on how many we can order. The more we can manufacture the lower the price will be but since we will have to pay the first batch out of our own pockets (or find an investor) we can’t make a huge amount. We will certainly do some kind of poll to get a clue of how many we should manufacture. Our latest estimates are in the $150 – $170 range but i 2012-12-26T04:18:48 < dongs> lol wuuuuuuuuuuuuut 2012-12-26T04:19:45 <+Steffanx> but i [end of message]. Don't forget about the LIMITATIONS of IRC mr dongs 2012-12-26T04:20:32 < dongs> range but it much depends on the volume. Our first batch will be around 100 V 500 pieces. 2012-12-26T04:21:57 <+Steffanx> heh 2012-12-26T04:22:20 < emeb_mac> cute little gizmo tho 2012-12-26T04:22:29 < dongs> not for $150 2012-12-26T04:22:39 < dongs> when its obvious it costs < $20 for all hardware 2012-12-26T04:22:49 < emeb_mac> true. 2012-12-26T04:23:07 < emeb_mac> looks like the motor spars are part of the PCB - seems like a bad idea. 2012-12-26T04:26:00 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-26T04:28:58 < dongs> "As it looks now the price for the full kit will be ~$150 or close to. However the motor mount problem is not yet solved and quantity will also make a difference." 2012-12-26T04:57:22 < gxti> anyone done something like this? http://pmonta.com/blog/2012/12/25/smt-stencil-cutting/ 2012-12-26T04:57:43 < dongs> garbage. 2012-12-26T04:57:47 < gxti> thanks 2012-12-26T04:58:00 < dongs> ordered that type before, completely useless for anything serious 2012-12-26T04:58:07 < gxti> how so? 2012-12-26T04:58:22 < dongs> resolution is shit, there's no way to properly stretch it across pcb, etc. 2012-12-26T04:58:37 < dongs> paste will get stuck in between burrs, forget 0.5mm pitch etc. 2012-12-26T04:59:05 < dongs> if youre doing 0.8mm pitch atmega644s with 0805 passives then that's for you. 2012-12-26T05:01:24 < gxti> i suppose burrs could be an issue but the resolution looks fine 2012-12-26T05:01:46 < gxti> aside from batch production i'm mostly interested for QFNs 2012-12-26T05:01:58 < dongs> http://www.smtstencil.co.uk/ this is where I got mine from and it was utter shit 2012-12-26T05:02:02 < dongs> i dont see how that guys process is any better 2012-12-26T05:02:09 < dongs> and the pics look "fine" on the uk site too. 2012-12-26T05:02:17 < dongs> but once you actually have it in your hand you realize how shit it is. 2012-12-26T05:02:30 < dongs> i didnt even bother making a board with the UK one it just went straight to the bin 2012-12-26T05:04:17 < gxti> stainless isn't cost-effective for me and in any case the best i can hope for is $25 for kapton from ohararp, every time, no matter how small 2012-12-26T05:04:36 < gxti> and i don't know if that would be "dongs-approved" either 2012-12-26T05:04:49 < gxti> got the job done 2012-12-26T05:05:09 < dongs> http://www.planetside.pwp.blueyonder.co.uk/stencilredbig.jpg dunno. 2012-12-26T05:05:10 < dongs> just saying. 2012-12-26T05:05:13 < dongs> it looks "nice" in pic. 2012-12-26T05:05:20 < dongs> but there's no way that would properly work in practice. 2012-12-26T05:05:28 < dongs> maybe hobby shit has different expectations of work 2012-12-26T05:05:33 < dongs> kinda like tarduino guys are fine wiht 8bit trash. 2012-12-26T05:06:45 < gxti> only the best stencils for your afrophallus 2012-12-26T05:09:12 < qyx_> anti-8bit dongs 2012-12-26T05:09:33 < gxti> he's right though, 8 bit does suck :p 2012-12-26T05:13:48 < qyx_> its like saying that classic light switches sucks because we have intelligent bus systems and domestic automation 2012-12-26T05:14:03 < qyx_> they do their simple work good 2012-12-26T05:15:41 -!- _BJFreeman [~bjfree@243.sub-75-244-163.myvzw.com] has quit [Ping timeout: 256 seconds] 2012-12-26T05:16:23 < gxti> only if the automated switch costs merely a tad more, consumes less power, and takes a fraction of the time to program :p 2012-12-26T05:19:20 < gxti> you can have your 8 bit annoyances for high-volume or specialized stuff, i'll keep 32 2012-12-26T05:30:24 < dongs> that vinyl cutter looks neat though 2012-12-26T05:30:27 < dongs> for other purposes. 2012-12-26T05:37:01 -!- pepsi [~jbutera@c-76-29-54-101.hsd1.il.comcast.net] has joined ##stm32 2012-12-26T05:37:01 -!- pepsi [~jbutera@c-76-29-54-101.hsd1.il.comcast.net] has quit [Changing host] 2012-12-26T05:37:02 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-26T05:38:42 -!- pepsi_ [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 252 seconds] 2012-12-26T05:43:32 < emeb_mac> what other purposes? 2012-12-26T05:47:31 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-26T05:48:42 -!- pepsi_ [~jbutera@c-98-213-32-190.hsd1.il.comcast.net] has joined ##stm32 2012-12-26T05:48:42 -!- pepsi_ [~jbutera@c-98-213-32-190.hsd1.il.comcast.net] has quit [Changing host] 2012-12-26T05:48:42 -!- pepsi_ [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-26T05:52:16 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 252 seconds] 2012-12-26T05:53:16 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-26T05:56:56 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2012-12-26T06:06:21 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-26T06:06:28 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-26T06:14:12 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Remote host closed the connection] 2012-12-26T06:42:43 -!- gurgalof [~gurgalof@c80-216-122-131.bredband.comhem.se] has quit [Quit: Leaving] 2012-12-26T06:53:27 < dongs> http://i.imgur.com/JxOD7.jpg 2012-12-26T06:53:28 < dongs> 7A 2012-12-26T06:54:55 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-26T06:54:55 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-26T06:54:55 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-26T06:55:50 -!- jef79m is now known as jef79m_lurking 2012-12-26T06:56:34 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-26T07:01:40 < emeb_mac> bright! 2012-12-26T07:02:40 < dongs> holy shit this thing heats my room better than a typical jp heater 2012-12-26T07:02:49 < dongs> and im only driving it half brightness 2012-12-26T07:03:08 < dongs> https://youtube.com/watch?v=PrltVip_RbU 2012-12-26T07:13:22 < upgrdman> 1w led array? 2012-12-26T07:14:04 < emeb_mac> it's HUGE 2012-12-26T07:14:13 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-26T07:15:01 < dongs> 1W? 2012-12-26T07:15:05 < emeb_mac> that's the thing about those WS chips - they're not muxed, so the duty cycle on the LEDs is a lot longer 2012-12-26T07:15:15 < emeb_mac> hence brighter, more power. 2012-12-26T07:15:26 < upgrdman> i've been looking for some led light strips that have good white light. want to mount them on the underside of a shelf, to light up a table below. so far everything i've seen in person has crap phosphors and isn't close to white. 2012-12-26T07:15:53 < dongs> yea, get proper white pixels. not RGB shit. 2012-12-26T07:15:55 < dongs> those are fine 2012-12-26T07:15:55 < emeb_mac> yeah - IKEA sells stuff like that. 2012-12-26T07:16:04 < dongs> with diffusers etc 2012-12-26T07:16:11 < dongs> otherwise regular white shit w/o diffuser is too harsh 2012-12-26T07:16:13 < upgrdman> are the ikeas good? 2012-12-26T07:16:24 < emeb_mac> They look OK to me. 2012-12-26T07:16:37 < emeb_mac> fairly reasonable price too. 2012-12-26T07:17:34 < emeb_mac> http://www.ikea.com/us/en/catalog/products/50192073/ 2012-12-26T07:18:56 < emeb_mac> dongs: you got the SD socket on that driver board working yet? 2012-12-26T07:19:24 < dongs> no i ahvent even tried. but i think its time to 2012-12-26T07:19:29 < dongs> now that everything else is working correctly 2012-12-26T07:19:40 < emeb_mac> gonna use chan fatfs? 2012-12-26T07:19:44 < dongs> yea. 2012-12-26T07:19:59 < emeb_mac> cool. I'm trying to get that working on my F3 right now. 2012-12-26T07:21:45 < dongs> https://youtube.com/watch?v=3QHizDkrFqg might be old 2012-12-26T07:24:17 < emeb_mac> might be 2012-12-26T07:27:23 < qyx_> why has the one on the left bottom corner a different color? 2012-12-26T07:28:38 < dongs> cuz i fucked up dma start or soemthing 2012-12-26T07:28:42 < dongs> and i think its the end of the buffer 2012-12-26T07:29:28 < emeb_mac> ah - you got the dma version working. 2012-12-26T07:33:29 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-26T07:54:01 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-26T07:54:40 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-26T08:06:48 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-26T08:16:59 -!- jef79m_lurking is now known as jef79m 2012-12-26T08:24:19 -!- jef79m is now known as jef79m_lurking 2012-12-26T08:25:12 -!- jef79m_lurking is now known as jef79m 2012-12-26T08:44:34 < dongs> fucking rage. 2012-12-26T08:53:09 < emeb_mac> ? 2012-12-26T09:06:09 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Quit: Ex-Chat] 2012-12-26T09:07:04 -!- LeelooMinai [~leeloo@198.84.185.212] has joined ##stm32 2012-12-26T09:08:03 < dongs> i think i found my LGA power supply problem :( 2012-12-26T09:08:06 -!- LeelooMinai [~leeloo@198.84.185.212] has quit [Client Quit] 2012-12-26T09:08:15 < emeb_mac> what was it? 2012-12-26T09:08:47 < dongs> really dumb. 2012-12-26T09:09:50 < emeb_mac> once I find a bug it usually seems dumb - in retrospect. 2012-12-26T09:10:00 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2012-12-26T09:10:12 < dongs> i dont think it was even a bug. 2012-12-26T09:10:21 < dongs> the hardware is fine 2012-12-26T09:11:50 < emeb_mac> that's good 2012-12-26T09:13:00 < dongs> anywho, i mounted 5V in module into 12V place. 2012-12-26T09:13:30 < emeb_mac> oops 2012-12-26T09:13:33 < dongs> indeed 2012-12-26T09:16:27 < dongs> i think im gonna not bother salvaging parts off that board and just assemble another one 2012-12-26T09:16:45 < dongs> maybe just ldos 2012-12-26T09:17:06 < emeb_mac> all out of modules? 2012-12-26T09:18:10 < dongs> nah got a bunch 2012-12-26T09:21:04 < emeb_mac> IIRC when you tried to pull the module off it kinda came apart. 2012-12-26T09:22:50 < emeb_mac> haha "I just received my first Raspberry Pi as a Xmas gift from great friends who know me all too well! Wow, I feel like a little kid!Now... how does one make these things ROCK? " 2012-12-26T09:32:59 < dongs> oven time 2012-12-26T09:33:05 < dongs> feeling like a real flyback/avrfreak right now 2012-12-26T09:33:47 < emeb_mac> reflow, baby. 2012-12-26T09:37:14 < dongs> avrfreak was the guy who got some free samples from microchip or something like that, some small ICs he'd never be able to do anything with 2012-12-26T09:37:22 < dongs> then he was at the bus stop waiting for a bus to go to welfare office 2012-12-26T09:37:30 < dongs> and he decided to open the sample box and see wahts inside since he was bored 2012-12-26T09:37:42 < dongs> the chips were so small , and he wanted to sneeze, so he sneezed and blew them all out of hte box 2012-12-26T09:37:48 < emeb_mac> lol 2012-12-26T09:38:11 < dongs> tru story. 2012-12-26T09:38:39 < gxti> enthralling tale 2012-12-26T09:38:57 < emeb_mac> that's what you get for opening the box at a non-esd-safe workstation. 2012-12-26T09:39:05 < emeb_mac> time for zzzz 2012-12-26T09:39:08 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-26T09:39:59 < dongs> haha 2012-12-26T09:47:11 < dongs> haha power supply wokrs 2012-12-26T09:47:19 < dongs> fffuuu 2012-12-26T09:47:33 < dongs> so pissed. 2012-12-26T10:00:38 < dongs> youre next 2012-12-26T10:06:14 < baird> "Dear Santa. I would like tickets to Linkin Park. Love, flyback." 2012-12-26T10:08:17 < dongs> http://i.imgur.com/kgqK4.jpg working power supply. yay. 2012-12-26T10:34:26 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-26T10:36:57 < dongs> fucking dicktrace 2012-12-26T10:37:52 < dongs> WHY U EXPORT IN MILS WHEN I WANTED IT IN MM 2012-12-26T10:48:44 < Thorn> dongs: why so many vias 2012-12-26T10:51:33 < dongs> just for fun incase it decides to heat up 2012-12-26T11:04:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-26T11:05:58 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-26T11:12:34 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-12-26T11:13:00 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-26T11:52:30 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-26T12:07:59 -!- _BJFreeman [~bjfree@224.sub-75-196-78.myvzw.com] has joined ##stm32 2012-12-26T12:26:47 -!- _BJFreeman [~bjfree@224.sub-75-196-78.myvzw.com] has quit [] 2012-12-26T13:01:07 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-26T13:19:22 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-26T13:56:29 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-26T13:56:30 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-26T13:56:30 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-26T13:56:33 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-26T14:47:25 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-26T14:57:47 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Remote host closed the connection] 2012-12-26T15:02:49 < Thorn> how many pF for a 8MHz crystal (stm32). 2012-12-26T15:06:00 < Thorn> http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00221665.pdf ch 6 either 10 or 20pF 2012-12-26T15:07:28 < zyp> depends on the crystal, really 2012-12-26T15:08:25 < zyp> the crystal should have a listed C_L value 2012-12-26T15:08:42 < zyp> and the caps you hook up to it should be about twice that 2012-12-26T15:09:02 < zyp> perhaps a little less to accord for the capacitance of the traces 2012-12-26T15:10:35 < zyp> the crystals I'm using have a listed C_L value of 18pF, and therefore I'm hooking it up to 33pF caps 2012-12-26T15:14:27 < zyp> or were you asking about which crystal you should pick, wrt. to the C_L value? 2012-12-26T15:16:29 < dongs> i just use random china crystals and 18pF caps. 2012-12-26T15:16:31 < dongs> never fail 2012-12-26T15:17:36 < zyp> it's not that important if a little error won't hurt 2012-12-26T15:19:54 < dongs> zyp, you heard my fail @ the power supply 2012-12-26T15:19:58 < dongs> wasted liek 2 weeks on that shit 2012-12-26T15:20:08 < dongs> was almost gonna relayout pcb with different footprints 2012-12-26T15:20:54 < zyp> yeah 2012-12-26T15:21:22 < zyp> you just swapped some of the SMPS modules? 2012-12-26T15:23:32 < dongs> :( 2012-12-26T15:23:51 < Laurenceb_> if you use the wrong cap it screws the frequency 2012-12-26T15:24:17 < Laurenceb_> i used the wrong caps on one of my datalogger RTC xtals, drifts by about 20seconds/month 2012-12-26T15:24:50 < zyp> I used the wrong caps on RF shit, was 400kHz off at 2.4 GHz 2012-12-26T15:25:55 < zyp> hmm 2012-12-26T15:26:07 < zyp> 20 seconds per month is like 8 ppm 2012-12-26T15:26:14 < zyp> is the crystal even rated to be that stable? :p 2012-12-26T15:26:28 < zyp> my error was in the range of 170 ppm or so 2012-12-26T15:26:39 < zyp> and that was with a 30ppm rated crystal 2012-12-26T15:26:44 < dongs> parts per dong 2012-12-26T15:27:07 < dongs> is that LPC still out of stock @ d key? 2012-12-26T15:27:42 < dongs> http://www.digikey.com/product-detail/en/LPC4357FET256,551/568-9603-ND/3477068 2012-12-26T15:27:43 < dongs> ha 2012-12-26T15:27:46 < dongs> did they get a tray in? 2012-12-26T15:27:58 < dongs> looks like, and NOONE BOUGHT ANY YET 2012-12-26T15:28:08 < dongs> im gonna get ONE. 2012-12-26T15:28:10 < zyp> :p 2012-12-26T15:28:20 < dongs> 'cuz i dont fail. 2012-12-26T15:28:39 < dongs> got a bom for the rest of the shit? 2012-12-26T15:28:48 < dongs> I probably have all the passives but I need the sdram and that retarded usb socket 2012-12-26T15:28:50 < Laurenceb_> wtf 2012-12-26T15:28:56 < Laurenceb_> dropbox just broke 2012-12-26T15:29:08 < dongs> welcome to the cloud, fag. 2012-12-26T15:29:13 < Laurenceb_> rageee 2012-12-26T15:29:20 < Laurenceb_> files just stopped syncing 2012-12-26T15:29:43 < dongs> first world problems. 2012-12-26T15:29:55 < Laurenceb_> how do i talk to corporate desktop land 2012-12-26T15:31:30 < Laurenceb_> interesting - the 12bit adc on F3 has differential mode 2012-12-26T15:31:43 < dongs> does it 2012-12-26T15:31:52 < zyp> dongs, usb socket is 609-4050-1-ND, sdram chips I got are W9825G6JH-6I-ND 2012-12-26T15:31:56 < Laurenceb_> yeah - its not a straight copy of F1 adc 2012-12-26T15:31:57 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-26T15:32:11 < Laurenceb_> woot dropbox is back 2012-12-26T15:32:26 < Laurenceb_> syncing 8GB of files.. they'll love me 2012-12-26T15:32:34 < dongs> um 2012-12-26T15:32:45 < dongs> zyp, did you manually type that partnum 2012-12-26T15:32:46 < dongs> for sdram 2012-12-26T15:32:48 < dongs> ahahaha 2012-12-26T15:32:52 < dongs> its export protected 2012-12-26T15:32:53 < zyp> huh? 2012-12-26T15:32:59 < dongs> not_on_jp_digikey 2012-12-26T15:33:01 < Laurenceb_> the hell 2012-12-26T15:33:25 < zyp> I just copied them from my order 2012-12-26T15:33:30 < Laurenceb_> is export protection sometime just used by manufacturers? 2012-12-26T15:34:25 < zyp> I think any 16-bit wide sdram in 54-TSOP II should fit 2012-12-26T15:34:57 < zyp> that one is the cheapest 32MB one 2012-12-26T15:36:38 < dongs> so it has to be 16Mx16 or 32Mx16 right? 2012-12-26T15:36:40 < zyp> passives should be easy, the only part where the value matters is some reference shit for the usb controller, it needs to be 12kohm 1% 2012-12-26T15:37:02 < zyp> yeah 2012-12-26T15:37:10 < dongs> ya i have 12K 1% 2012-12-26T15:37:14 < dongs> probably for a similar retarded usb controller :) 2012-12-26T15:37:53 < Laurenceb_> this the big BGA LPC? 2012-12-26T15:38:31 < dongs> yea 2012-12-26T15:39:00 < dongs> 133mhz 2012-12-26T15:39:02 < dongs> is enough? 2012-12-26T15:39:05 < dongs> or does it have to be 166 2012-12-26T15:39:07 < dongs> (i have no idea) 2012-12-26T15:39:08 < zyp> then there is a generic pullup on one of the sdram lines, since it doubles as boot selection, and series resistor for the leds, the rest of the 0603 pads are capacitors 2012-12-26T15:39:21 < zyp> crystal loading and just generic decoupling 2012-12-26T15:39:59 < dongs> oh and you got a lame crystal 2012-12-26T15:40:00 < dongs> waht mhz is that? 2012-12-26T15:40:03 < dongs> why so big 2012-12-26T15:40:21 < Laurenceb_> thats what she sadi 2012-12-26T15:40:34 < zyp> I'm gonna put 8mhz 2012-12-26T15:40:53 < dongs> hm ok the pads will do 3225 crystal i think 2012-12-26T15:41:30 < zyp> hmm, not sure I've checked the range of acceptable crystal values, I just have a bunch of them left over 2012-12-26T15:42:03 < zyp> it's some standard four-pad 3x5mm shit 2012-12-26T15:42:51 < dongs> standard is 3.2x2.5 :) 2012-12-26T15:43:14 < zyp> do you get 8mhz in that? 2012-12-26T15:43:34 < dongs> barely 2012-12-26T15:43:40 < dongs> emeb found some but its out of stock. 2012-12-26T15:43:47 < dongs> typically, no 2012-12-26T15:44:06 < dongs> does does mhz matter 2012-12-26T15:44:19 < dongs> actaully never mind 2012-12-26T15:44:22 < dongs> 133 is all i can get for sdram 2012-12-26T15:44:32 < zyp> I dunno 2012-12-26T15:44:44 < zyp> I suppose you just configure the controller accordingly 2012-12-26T15:45:00 < dongs> http://www.digikey.com/product-detail/en/MT48LC16M16A2P-6A:D%20TR/557-1223-1-ND/1531204 2012-12-26T15:45:35 < dongs> double the price, what a rip 2012-12-26T15:45:41 < zyp> yeah 2012-12-26T15:46:03 < zyp> they also have some 64M ones that are more expensive 2012-12-26T15:46:29 < dongs> a LOT more 2012-12-26T15:46:52 < zyp> but I figured that since I don't have any specific memory needs, it's better to go with cheap than largest possible 2012-12-26T15:47:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-26T15:51:29 < dongs> fuck how can that winbond shit be so cheap. 2012-12-26T15:51:34 < dongs> are those 0603 leds btw 2012-12-26T15:51:42 < dongs> hm i think i have a bag of those somwehre 2012-12-26T15:52:03 < zyp> 0805 leds 2012-12-26T15:52:16 < dongs> huh 2012-12-26T15:52:20 < dongs> the pads are small 2012-12-26T15:52:39 < zyp> larger than the 0603 resistors they are connected to 2012-12-26T15:53:04 < dongs> oh hm i see 2012-12-26T15:53:10 < dongs> it fits ok 2012-12-26T15:55:01 < dongs> whats the 0805 between USB VCC and vreg 2012-12-26T15:55:01 < dongs> bead? 2012-12-26T15:55:21 < zyp> no, just a solder bridge 2012-12-26T15:59:20 < qyx_> zyp: have you finished your kpc board? 2012-12-26T15:59:24 < qyx_> lpc 2012-12-26T16:00:03 < dongs> thats what we're discussing now. 2012-12-26T16:00:10 < dongs> i haz the boards and his are on the way. 2012-12-26T16:03:10 < qyx_> ah 2012-12-26T16:03:31 < dongs> k early bedtime 2012-12-26T16:08:09 < qyx_> gn 2012-12-26T16:09:45 * Laurenceb_ is now fabbing panels of 12 dataloggerz :D 2012-12-26T16:10:35 < Laurenceb_> gets the price down to UKP11 / board from pcbtrain 2012-12-26T16:11:17 -!- pepsi [~jbutera@c-98-213-32-190.hsd1.il.comcast.net] has joined ##stm32 2012-12-26T16:11:18 -!- pepsi [~jbutera@c-98-213-32-190.hsd1.il.comcast.net] has quit [Changing host] 2012-12-26T16:11:18 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-26T16:12:40 -!- pepsi_ [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 252 seconds] 2012-12-26T16:56:40 < Thorn> I assembled my black magic clone, connected it to st-link (discovery), st-link utility says "Core is held in reset" when I try to connect to the target (openocd apparently works), wth is that. 2012-12-26T17:04:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-26T17:12:12 < Laurenceb_> anyone know if farnell stock pigtailed usb cables? 2012-12-26T17:12:22 < Laurenceb_> usb A on one end, bare wires on other 2012-12-26T17:18:40 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-26T17:22:58 -!- tavish [~tavish@120.59.141.189] has joined ##stm32 2012-12-26T17:23:00 -!- tavish [~tavish@120.59.141.189] has quit [Changing host] 2012-12-26T17:23:00 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-26T17:24:09 < Laurenceb_> annoying 2012-12-26T17:24:21 < Laurenceb_> its cheaper to chop up cheap ebay cables 2012-12-26T17:27:07 < baird> They've got cheap micro-usb cables (~$1?) in the Raspberry Pi accessories part which I chopped up.. (but for the micro-usb connector) 2012-12-26T17:27:49 < Laurenceb_> yeah its just lame that i have to buy a standard cable then cut it up 2012-12-26T17:28:05 < Laurenceb_> i need usb A plug to hirose 2012-12-26T17:31:05 < Laurenceb_> http://www.theregister.co.uk/2012/12/26/3d_printing_xmas_gift_catalog/ 2012-12-26T17:31:08 < Laurenceb_> i lolled 2012-12-26T17:36:38 < emeb_mac> mmmm... cookies. 2012-12-26T17:37:04 < emeb_mac> excuse me - "biscuits" 2012-12-26T17:44:56 < emeb_mac> take that rpi -> http://ow.ly/gmoSB 2012-12-26T17:54:32 < baird> Ha, that $99 16-core computer on kickstarter has slipped on shipping by 6 months (May 2013, supposedly). 2012-12-26T18:00:45 < emeb_mac> *shocked* 2012-12-26T18:06:46 < Thorn> #^#%#&* 2012-12-26T18:06:57 < Thorn> reset is shorted to gnd 2012-12-26T18:08:01 < emeb_mac> that'll stop you in your tracks. 2012-12-26T18:08:06 < Thorn> st-link util was right! 2012-12-26T18:09:37 < emeb_mac> cut trace? 2012-12-26T18:17:11 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-26T18:21:52 * Laurenceb_ is getting angry with spreadsheets 2012-12-26T18:21:58 < Laurenceb_> (($Sheet1.$B$130)*($Sheet1.$N$130)) <- why is that wrong? 2012-12-26T18:22:45 -!- _BJFreeman [~bjfree@76.sub-75-233-220.myvzw.com] has joined ##stm32 2012-12-26T18:23:22 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-26T18:26:26 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-26T18:33:34 < Thorn> okay, removed solder bridge (have I ever soldered a lqfp without any?), everything seems to work after reconnecting jumper wires (bad connection?) 2012-12-26T18:33:40 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-12-26T18:34:16 < Thorn> can anyone tell me what color are the 3 LEDs on the BMP mini? 2012-12-26T18:36:31 < gxti> the schematic says green, red, yellow, yellow (D1-D4) 2012-12-26T18:37:22 < Thorn> ah, the schematics, right. thanks. 2012-12-26T18:39:27 < emeb> green for power, red for error, yellow & yellow for run/idle status. 2012-12-26T18:39:42 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-26T18:39:55 < emeb> although the exact meanings of the various yellow bright/dim/flash are somewhat nebulous 2012-12-26T18:39:57 < Thorn> well I already installed a red one for power. 2012-12-26T18:40:08 < emeb> onoes! 2012-12-26T18:40:44 < zyp> Thorn likes inventing his own conventions/standards 2012-12-26T18:41:58 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-26T18:43:55 < Thorn> so, st-link does seem to be of some use (just like you'd use internet expolrer to download a browser I guess) 2012-12-26T18:43:58 < emeb> heh - put in a 1GB card now my SD code is finding it. 2012-12-26T18:45:05 < emeb> 4GB card not tho 2012-12-26T18:45:54 < gxti> Thorn: it's working pretty well for me in coocox, it's just the opensores gdbservers that are not working 2012-12-26T18:46:04 < gxti> not extraordinarily fast or anything 2012-12-26T18:46:08 < gxti> but it works. 2012-12-26T18:47:24 < Thorn> well I just flashed my target with a blinky test via st-link using openocd and it seemed to work fine 2012-12-26T18:47:41 < Thorn> ^C/bt/c in gdb works too 2012-12-26T18:47:45 < gxti> flashing worked fine for me, it's debugging that sucked eggs 2012-12-26T18:47:56 < gxti> but it works for other people so maybe i'm cursed, as usual 2012-12-26T18:50:13 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 252 seconds] 2012-12-26T18:50:37 < qyx_> btw whats the average flash speed on F1 using stlink? 2012-12-26T18:50:55 < qyx_> i have never tried stlink 2012-12-26T18:56:58 -!- Titan___ [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-26T18:57:06 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Read error: Connection reset by peer] 2012-12-26T18:57:15 -!- Titan___ is now known as TitanMKD 2012-12-26T18:57:28 < emeb> yay - printing a directory of the 1GB card. 2012-12-26T18:59:44 < Thorn> how about one yellow and one orange 2012-12-26T18:59:45 < zyp> emeb, sounds like you're not setting the «supports high capacity» bit in the ACMD41 argument when you are enumerating it 2012-12-26T19:00:07 < emeb> zyp: interesting 2012-12-26T19:01:09 < emeb> zyp: here's the init code -> http://pastebin.com/15DHHUtQ 2012-12-26T19:02:04 < emeb> and the result for a 4GB card -> http://pastebin.com/hxXD92i0 2012-12-26T19:02:45 < emeb> and the result for a 1GB card -> http://pastebin.com/2c6rj3TA 2012-12-26T19:03:23 < zyp> wait, what 2012-12-26T19:04:18 < emeb> ? 2012-12-26T19:04:48 < zyp> 1G-card responds to CMD8 2012-12-26T19:04:59 < emeb> i know right? 2012-12-26T19:05:19 < emeb> reports sdhc 2012-12-26T19:05:41 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-26T19:06:09 < zyp> response to ACMD41 is not logged anywhere 2012-12-26T19:06:47 < emeb> true - if you don't get the "timed out" then it's kind of implied. 2012-12-26T19:08:02 < emeb> I assume that the 1UL<<30 is the "supports high capacity"? 2012-12-26T19:08:36 < zyp> yes 2012-12-26T19:08:51 < zyp> hmm 2012-12-26T19:08:57 < zyp> but you are not sending any voltage range 2012-12-26T19:09:00 < zyp> is that sane? 2012-12-26T19:09:30 < emeb> beats me - this is basically martin thomas code with my time delays and diag prints. 2012-12-26T19:10:28 < zyp> in SDIO mode you have to send supported voltage range with that, otherwise it's not going to do anything useful 2012-12-26T19:10:48 < emeb> interesting. 2012-12-26T19:11:43 < zyp> I'll see if the spec says anything about SPI mode being different 2012-12-26T19:12:01 < emeb> probably should look at the example interface routines for other architectures. 2012-12-26T19:12:17 < emeb> but this is also the same code base that Laurenceb uses in his loggers. 2012-12-26T19:14:03 < zyp> ah, it's different 2012-12-26T19:14:14 < zyp> no voltage argument to ACMD41 for SPI 2012-12-26T19:14:28 < emeb> aha, so not out to lunch there. 2012-12-26T19:14:43 < zyp> HCS is the only bit of the argument that's not reserved in SPI mode 2012-12-26T19:15:19 < emeb> I probably need to take a closer look at the logic analyzer traces for the two cards. 2012-12-26T19:16:03 < emeb> I can see that for the 4GB card the ACMD41 is responding (MISO is active) but it just cycles forever. Haven't tried to decode the exact bits though. 2012-12-26T19:16:10 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-26T19:17:04 < Thorn> okay I have a blinky magic clone. I guess it's time for the BMP firmware. 2012-12-26T19:24:57 -!- barthess [~barthess@178.154.33.247] has joined ##stm32 2012-12-26T19:38:52 < Laurenceb_> what speed is the spi? 2012-12-26T19:39:05 < Laurenceb_> i had issues with some of my boards at 18mhz 2012-12-26T19:39:08 < Laurenceb_> had to use 9 2012-12-26T19:40:19 < Thorn> caution lousy photo http://imagepaste.nullnetwork.net/viewimage.php?id=5474 2012-12-26T19:40:36 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-26T19:41:30 < emeb> Laurenceb_: interesting - I am using 18MHz. I'll try 9 2012-12-26T19:41:37 < Laurenceb_> Thorn: wtf 2012-12-26T19:41:45 < Laurenceb_> you connected SWD host to SWD host? 2012-12-26T19:41:54 < Thorn> no 2012-12-26T19:42:14 < Thorn> it's a target connection on the BMC 2012-12-26T19:42:38 < Laurenceb_> ah 2012-12-26T19:43:38 < emeb> Laurenceb_: 9MHz didn't help the 4GB card - thx anyway. 2012-12-26T19:44:14 < Laurenceb_> ive never debugged the problem 2012-12-26T19:44:26 < Laurenceb_> happened when i swapped to spi2 iirc 2012-12-26T19:44:49 < Laurenceb_> got an card error from fatfs when it tried to init at 18mhz 2012-12-26T19:45:42 < emeb> bizarre 2012-12-26T19:46:29 < Laurenceb_> it was intermittent - about 50% of the time 2012-12-26T19:46:33 < Laurenceb_> works fine at 9mhz 2012-12-26T19:47:08 < qyx_> emeb: you are using spi for sdhc and it doesnt work? 2012-12-26T19:47:48 < emeb> qyx_: using spi for SD cards and it works for a 1GB card, but not for a 4GB card. Both report SDHC. 2012-12-26T19:48:11 < qyx_> i have read somewhere that not all manufacturers/cards support that on newer cards 2012-12-26T19:48:23 < qyx_> as it is not obligatory according to some specs 2012-12-26T19:48:23 < emeb> still staring at the logic analyzer traces to figure out why. 2012-12-26T19:48:37 < emeb> qyx_: wait what? 2012-12-26T19:48:47 < emeb> not all mfgs support what? 2012-12-26T19:49:08 < qyx_> spi mode is not supported on all cards afaik 2012-12-26T19:49:32 < emeb> interesting. First I'd heard of that. 2012-12-26T19:50:42 < qyx_> i am trying to find some references 2012-12-26T19:51:47 < emeb> thx 2012-12-26T19:51:58 < qyx_> wiki says that all sd standards supports spi 2012-12-26T19:52:42 < qyx_> but for example this page http://elasticsheep.com/2010/01/reading-an-sd-card-with-an-atmega168/ 2012-12-26T19:52:49 < qyx_> According to Wikipedia, all cards must support all three modes except for micro SD where the SPI mode is optional 2012-12-26T19:53:06 < emeb> well, this is a uSD. 2012-12-26T19:53:10 < emeb> BTW - I'd like to reiterate how much I love that saleae logic analyzer crashes when parsing some SPI traces. 2012-12-26T19:53:52 < zyp> I've had it crash on linux, but not on OS X 2012-12-26T19:53:58 < emeb> this is on Win7 2012-12-26T19:54:22 < zyp> not tested that 2012-12-26T19:56:13 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-26T19:56:15 < Laurenceb_> me uses 4GB sandisk cards 2012-12-26T19:57:14 < emeb> the working 1GB card is a Transcend and the non-working 4GB card is a Patriot. 2012-12-26T19:57:35 < emeb> ie - both are random chinese barrel scrapings. 2012-12-26T20:02:10 < Laurenceb_> yeah i use sandisk for everything 2012-12-26T20:02:19 < Laurenceb_> only UKP3 for 4gb on amazon 2012-12-26T20:05:27 * Laurenceb_ is making panels http://imagebin.org/index.php?mode=image&id=240672 2012-12-26T20:10:58 < Laurenceb_> going to try reflowing 1 panel at a time 2012-12-26T20:11:19 < emeb> Laurenceb_: that PCB has one of those HC05 bluetooth modules on it? 2012-12-26T20:13:01 < Laurenceb_> emeb: RN-42 2012-12-26T20:14:02 < Laurenceb_> http://imagebin.org/index.php?mode=image&id=240673 2012-12-26T20:14:17 < qyx_> flyback: thats only copypasted from that website, it would be good to have it from some spec 2012-12-26T20:17:24 < emeb> Laurenceb_: what's the ST60-18P connector for? 2012-12-26T20:18:33 < Laurenceb_> sensors 2012-12-26T20:18:48 < Laurenceb_> breaks out i2c, spi, usart, power etc 2012-12-26T20:19:34 < Laurenceb_> it also drives pneumatics and an LED based spectrometer 2012-12-26T20:20:48 < Laurenceb_> http://imagebin.org/index.php?mode=image&id=240674 2012-12-26T20:22:01 <+Steffanx> UoN = university of what? 2012-12-26T20:22:29 <+Steffanx> And no CE in silk? :) 2012-12-26T20:23:03 < Laurenceb_> CE goes on the box 2012-12-26T20:41:12 < emeb> too bad you have to use that giant 20-pin 0.1" JTAG header. 2012-12-26T20:43:33 < emeb> Interesting - the 4GB card is failing due to an error on the CMD55 part of the ACMD41. 2012-12-26T20:58:22 -!- BJFreeman [~bjfree@104.sub-75-196-39.myvzw.com] has joined ##stm32 2012-12-26T20:58:47 -!- BJFreeman is now known as Guest16888 2012-12-26T20:59:27 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-26T20:59:43 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-26T21:01:39 -!- _BJFreeman [~bjfree@76.sub-75-233-220.myvzw.com] has quit [Ping timeout: 265 seconds] 2012-12-26T21:02:11 -!- Guest16888 [~bjfree@104.sub-75-196-39.myvzw.com] has quit [Client Quit] 2012-12-26T21:02:20 -!- _BJFreeman [~bjfree@104.sub-75-196-39.myvzw.com] has joined ##stm32 2012-12-26T21:02:47 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-26T21:03:14 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-12-26T21:05:47 -!- barthess [~barthess@178.154.33.247] has quit [Quit: Leaving.] 2012-12-26T21:31:29 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-26T21:31:54 < Laurenceb_> https://groups.google.com/forum/?fromgroups=#!topic/ukhas/l4iUBav123Q 2012-12-26T21:31:58 < Laurenceb_> facepalm 2012-12-26T21:46:29 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-26T21:49:54 < emeb> math is haaaaarrrd 2012-12-26T21:51:15 < emeb> tried a bunch of other cards - all worked including a Samsung 4GB. Just that Patriot 4GB that misbehaves. 2012-12-26T22:02:43 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 246 seconds] 2012-12-26T22:10:55 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-26T22:15:04 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 260 seconds] 2012-12-26T22:19:40 < emeb> Haha! Inserted a bit of delay between DESELECT() and SELECT() in send_cmd() and now the Patriot card works. 2012-12-26T22:33:36 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-26T22:53:04 < Laurenceb_> interesting 2012-12-26T22:54:09 < emeb> yeah 2012-12-26T22:54:29 < emeb> that patriot card needs to see a longer deselect or it gets confused. 2012-12-26T22:55:05 < Laurenceb_> maybe thats similar to what i had wrong 2012-12-26T22:55:10 < Laurenceb_> any good with linux? 2012-12-26T22:55:14 < Laurenceb_> ln /usr/local/share/octave/site-m/xmltoolbox /home/laurence/Documents/octave_xmltoolbox 2012-12-26T22:55:19 < Laurenceb_> ^why wont that work? 2012-12-26T22:55:44 < emeb> you trying to make a hard link across filesystems? 2012-12-26T22:55:51 < emeb> try adding -s option 2012-12-26T22:55:55 < emeb> for soft link 2012-12-26T22:55:58 < Laurenceb_> ok 2012-12-26T22:56:30 -!- BjoernC [~BjoernC@dyndsl-178-142-054-227.ewe-ip-backbone.de] has joined ##stm32 2012-12-26T22:58:28 < Laurenceb_> also it was the wrong way round, but it works now thanks 2012-12-26T22:58:35 < Laurenceb_> try to add xml support to octave 2012-12-26T22:58:44 < emeb> fun! 2012-12-26T22:58:59 < emeb> dongs will love this - slowed down the SPI clock to 9MHz so the SD would work more reliably and now the LCD doesn't work. 2012-12-26T22:59:19 < Laurenceb_> heh 2012-12-26T22:59:23 < emeb> wtf - slower spi clock breaks it? Yay - time for more debugging. 2012-12-26T22:59:33 < Laurenceb_> now octave can talk to openstreetmap 2012-12-26T22:59:43 < emeb> that's a good thing? :) 2012-12-26T23:00:01 < Laurenceb_> heh 2012-12-26T23:04:17 < Laurenceb_> doesnt the matrin thomas code DESELECT the SELECT on the next line? 2012-12-26T23:04:28 < Laurenceb_> *Martin 2012-12-26T23:07:11 < emeb> yes 2012-12-26T23:07:19 < emeb> I had to stick a delay between them. 2012-12-26T23:07:30 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/master/Util/fat_fs/src/sd_spi_stm32.c#L730 2012-12-26T23:07:32 < Laurenceb_> hmm 2012-12-26T23:07:38 < Laurenceb_> i should have spotted that 2012-12-26T23:07:42 < Laurenceb_> that cant be wise 2012-12-26T23:08:07 < emeb> I guess the CS toggles so fast that some cards get confused. 2012-12-26T23:08:13 < Laurenceb_> yes 2012-12-26T23:08:41 < Laurenceb_> wonder if that explains some of my issues 2012-12-26T23:09:06 < emeb> easy to try 2012-12-26T23:09:17 < Laurenceb_> yeah 2012-12-26T23:29:57 < Laurenceb_> niceeee 2012-12-26T23:30:11 < Laurenceb_> my road classifier works.. pity about osm data 2012-12-26T23:30:37 < Laurenceb_> routes(9)ans ={ index = 3068.7 name = Fosseway class = tertiary distance = 1.4489} 2012-12-26T23:31:08 < Laurenceb_> routes(10)ans ={ index = 3101.7 name = Foss Way class = trunk distance = 0.30091} 2012-12-26T23:31:15 < Laurenceb_> thats the same road ! 2012-12-26T23:31:54 < Laurenceb_> its trying to convert gps logs to route descriptions 2012-12-26T23:33:50 < Laurenceb_> to be fair almost everything else gave correct road names 2012-12-26T23:48:48 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 252 seconds] --- Day changed Thu Dec 27 2012 2012-12-27T00:06:10 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2012-12-27T00:24:30 < Laurenceb_> anyone here good with octave/matlab? 2012-12-27T00:25:12 < Laurenceb_> im wondering if there is some sort of range test function, where i can take an array of indices and another describing ranges and itll map the first array to the correct ranges 2012-12-27T00:29:00 < emeb> hmmm 2012-12-27T00:29:32 < emeb> nothing leaps to mind for that. You may have to code it from scratch. 2012-12-27T00:37:47 < Posterdati> hi 2012-12-27T00:37:53 < Posterdati> merry xmas to you all 2012-12-27T00:38:02 < Posterdati> and to 7 of nipples 2012-12-27T00:42:02 < jpa-> mm.. nipples 2012-12-27T00:47:30 <+Steffanx> don't forget the parrots Posterdati 2012-12-27T00:49:03 < Laurenceb_> emeb: yeah looks like it 2012-12-27T00:49:19 < Laurenceb_> Steffanx: don't tell RMS 2012-12-27T00:49:40 <+Steffanx> Root mean square? 2012-12-27T00:50:15 < Laurenceb_> stallman 2012-12-27T00:51:37 < gxti> i like root mean square more 2012-12-27T00:52:02 < Laurenceb_> hehe me too 2012-12-27T00:52:16 < Laurenceb_> less body odour 2012-12-27T01:01:51 <+Steffanx> And you know that because: 2012-12-27T01:01:53 <+Steffanx> 1) You shared a bed with RMS? 2012-12-27T01:02:06 <+Steffanx> 2) You believe all the internet fairy tales? 2012-12-27T01:02:34 <+Steffanx> *a) *b) 2012-12-27T01:02:39 <+Steffanx> pick correct answer 2012-12-27T01:03:59 < Posterdati> Steffanx: to talk about parrots, people these days lost a parrot around my block and they used messages on paper sheets around to try to find it :) 2012-12-27T01:04:42 <+Steffanx> :D 2012-12-27T01:07:07 < Posterdati> here the word to indicate the parrot has got two meanings: one referred to the animal and the other is use to indicate a plastic container used to let ill people to piss while laying in a bed 2012-12-27T01:08:25 < jpa-> i really hope Steffanx will not make anything out of that :) 2012-12-27T01:26:50 <+Steffanx> It has a third meaning. jpa- knows what i'm talking about Posterdati :P 2012-12-27T01:27:09 < Posterdati> good 2012-12-27T01:27:13 < emeb> ooooh - you and your inside jokes 2012-12-27T01:27:15 <+Steffanx> search the logs and you'll know 2012-12-27T01:27:51 <+Steffanx> It started when someone posted a video about that parrot on a robot/car 2012-12-27T01:28:04 <+Steffanx> Search for that and you'll know 2012-12-27T01:28:12 < emeb> so only a few weeks to search. 2012-12-27T01:30:11 <+Steffanx> only if you care to know 2012-12-27T01:30:22 * emeb doesn't care 2012-12-27T01:30:52 <+Steffanx> ok 2012-12-27T01:32:57 < emeb> SD card directory works, LCD works - now to add fonts and dump a dir to the display... 2012-12-27T01:34:55 < emeb> heh - adding chan fatfs read-only increases code size from ~15k to ~40k. 2012-12-27T01:37:41 < Laurenceb_> yeah i dont get it 2012-12-27T01:38:07 < Laurenceb_> seems theres something that bumps up the code size 2012-12-27T01:38:17 < Laurenceb_> you can get it down to ~6KB 2012-12-27T01:38:26 < emeb> wow 2012-12-27T01:38:37 < Laurenceb_> i think its character support or something that bumps it up by miles 2012-12-27T01:38:49 < Laurenceb_> investigate the config options 2012-12-27T01:38:52 < emeb> oho! don't need that crap. 2012-12-27T01:39:08 < emeb> what do they call it 'page tables' or something. 2012-12-27T01:39:14 < Laurenceb_> yes 2012-12-27T01:39:28 < Laurenceb_> its pretty complex.. theres some sort of compression you can use 2012-12-27T01:41:10 < Laurenceb_> long file names etc 2012-12-27T01:42:48 < emeb> well, LFN is turned off and I've only got code page 1 and it's still ~40k. 2012-12-27T01:43:55 < Laurenceb_> it shouldnt be 2012-12-27T01:45:52 < emeb> could be that it's pulling in necessary libc stuff that I wasn't previously using. 2012-12-27T01:46:05 < emeb> since this is a very simple test app. 2012-12-27T01:47:11 <+Steffanx> What's the plan with it emeb ? 2012-12-27T01:47:16 < Laurenceb_> http://www.youtube.com/watch?v=DjTYji93xNY 2012-12-27T01:47:20 <+Steffanx> i think you told it before, but i forgot 2012-12-27T01:47:56 <+Steffanx> fancy music Laurenceb_ 2012-12-27T01:48:38 < emeb> Steffanx: prototyping some ideas for a client who wants to be able to read audio files from SD in a device. 2012-12-27T01:48:59 <+Steffanx> oh, yes you told that before :) 2012-12-27T01:49:39 < emeb> hmmm... did I? don't remember that. Anyway - just exploration at this stage. 2012-12-27T01:50:37 < pepsi> so.. uh.. picking an M3.. choosing from NXP, Atmel, STM, and Silicon Labs... im not sure why im bothering to ask 2012-12-27T01:50:40 < pepsi> .. so i just wont 2012-12-27T01:50:49 < pepsi> sorry for the interruption.. carry on 2012-12-27T01:50:54 < dongs> emeb: hmm 2012-12-27T01:51:14 <+Steffanx> You can interrupt here almost whenever you want pepsi :) 2012-12-27T01:51:24 < pepsi> oh 2012-12-27T01:51:38 < pepsi> but this is ##stm32, so the answer would be STM 2012-12-27T01:51:43 < emeb> dongs: whazzup? 2012-12-27T01:51:45 <+Steffanx> Of course 2012-12-27T01:51:53 <+Steffanx> emeb, stupid question: Tha sky 2012-12-27T01:51:56 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Read error: Connection reset by peer] 2012-12-27T01:52:13 < dongs> < emeb> dongs will love this - slowed down the SPI clock to 9MHz so the SD would work more reliably and now the LCD doesn't 2012-12-27T01:52:15 < pepsi> Steffanx, what kind of trash can you talk about the ATSAM3S though? it looks kinda nice, with a decent selection of parts 2012-12-27T01:52:16 < dongs> work. 2012-12-27T01:52:30 < emeb> dongs: oh yeah - fixed it. 2012-12-27T01:52:35 < dongs> what was wrong? 2012-12-27T01:52:40 <+Steffanx> I can't help you with that pepsi, never tried them 2012-12-27T01:52:59 < emeb> the PIO SPI routine was de-asserting CS before the SPI transfer was complete. 2012-12-27T01:53:05 < emeb> just needed a bit of delay. 2012-12-27T01:53:10 < pepsi> :( okay, how about the NXP or SiLabs M3's? 2012-12-27T01:53:16 < dongs> hmmmm 2012-12-27T01:53:53 <+Steffanx> I don't think it REALLY matters pepsi. Just get yourself a cheap stm32Fx/Lx-discovery :P 2012-12-27T01:54:33 < pepsi> the STM32F103 stuff seems to have a bad security design, which ST obviously got flak about, because it's better in the STM32L103 2012-12-27T01:54:43 < dongs> what security design 2012-12-27T01:55:29 < pepsi> you can still poke around in JTAG mode even when code protect is on.. although they say there's no way to read, there are just too many nooks and crannies in JTAG mode 2012-12-27T01:55:31 < emeb> onoes - my golden binary codes are exposed to all the evil hax0rs. 2012-12-27T01:55:40 < dongs> kekeke 2012-12-27T01:55:50 < pepsi> id rather be able to turn off JTAG mode. period 2012-12-27T01:55:52 < dongs> emeb: my 3d gfx pal redid the rendering to use tiles 2012-12-27T01:56:03 < dongs> so now i can do fullscreen render using 240x?? tiles 2012-12-27T01:56:18 < emeb> dongs: nice 2012-12-27T01:56:20 < dongs> need to integrate teh codes though im still pissed the LCD is failing 2012-12-27T01:56:27 < dongs> also hes thinking of doing some texturing 2012-12-27T01:56:35 < emeb> faaancy 2012-12-27T01:56:47 < dongs> .. hes developing this shit on a 286 2012-12-27T01:56:56 <+Steffanx> lol 2012-12-27T01:57:01 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-27T01:57:01 < emeb> lol - the stm32 is prolly faster 2012-12-27T01:57:05 < dongs> indeed 2012-12-27T01:57:13 < pepsi> emeb, there's no reason to at least _try_ to keep prying eyes out.. we manufacture in china, which isn't the most trustworthy of places 2012-12-27T01:57:24 <+Steffanx> haha, so true pepsi 2012-12-27T01:57:29 < emeb> pepsi: I hear that. 2012-12-27T01:57:46 < dongs> so what are you gonna do? 2012-12-27T01:57:49 < dongs> send them pre-flashed chips? 2012-12-27T01:57:50 < emeb> but simple fact is _nothing_ can stop a determined adversary from getting your data. 2012-12-27T01:57:54 < pepsi> dongs, yes 2012-12-27T01:57:57 < dongs> as soon as your code is at your CM, you're fucked anyway 2012-12-27T01:58:11 < pepsi> we never send code to china 2012-12-27T01:58:15 < dongs> haha 2012-12-27T01:58:23 < dongs> ok, next question, is your shit THAT important? 2012-12-27T01:58:26 < pepsi> no 2012-12-27T01:58:57 < pepsi> but there is a very large markup, so if a chinese mfg copies it, that's bad news 2012-12-27T01:59:13 < dongs> oh well 2012-12-27T01:59:34 < pepsi> meh.. yeah.. but like i said STM32L fixed it 2012-12-27T01:59:47 < emeb> wonder if F3xx fixed it too? 2012-12-27T02:00:12 < pepsi> maybe.. i think the F103 came first, right? 2012-12-27T02:00:20 < emeb> yeah - F3 is latest 2012-12-27T02:01:02 < pepsi> im sure its fixed then.. it seemd to be confined to the first offerings of the M3 2012-12-27T02:01:25 < emeb> dongs: oh look - still no new AN2606. 2012-12-27T02:02:03 < emeb> and no further response on the forum. 2012-12-27T02:03:04 < pepsi> any hints on cost of some of the stm32's at 10k or 100k qty? 2012-12-27T02:03:05 < emeb> pepsi: It's good if things are protected from readback and JTAG can be truly disabled. 2012-12-27T02:03:54 < emeb> I recall that Microchip actually puts top-layer metal over flash memory in its PIC parts to prevent decapping and voltage probing. 2012-12-27T02:04:42 < pepsi> emeb, i think disabling JTAG really disables it forever though.. i forget now 2012-12-27T02:05:12 < pepsi> which is kind of a bummer.. i'd still like for there to be an "erase everything start over" pin or command or something 2012-12-27T02:05:31 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 265 seconds] 2012-12-27T02:05:37 < pepsi> but maybe im getting confused with other vendors' stuff 2012-12-27T02:05:42 < gxti> the risk there is that if it's not implemented properly you could cut power partway through the erase 2012-12-27T02:05:44 < Laurenceb_> emeb: fixed what? 2012-12-27T02:05:58 < gxti> but it could be implemented properly, at the cost of additional complexity 2012-12-27T02:06:11 < emeb> Laurenceb_: fixed the problem of running the LCD @ 9MHz. 2012-12-27T02:06:15 < Laurenceb_> oh 2012-12-27T02:06:23 < Laurenceb_> what using lcd driver? 2012-12-27T02:07:05 < emeb> this is a little 128x160 TFT display with ST7735R controller & ganked Adafruit driver code. 2012-12-27T02:07:17 < Laurenceb_> driven using spi? 2012-12-27T02:07:21 < emeb> yup 2012-12-27T02:07:36 < Laurenceb_> so whats the issue at 9mhz then? 2012-12-27T02:07:54 < dongs> pepsi: F103CBT6 is <$2 in qty. 2012-12-27T02:08:01 < Laurenceb_> nice 2012-12-27T02:08:13 < emeb> the SPI read/write byte routines return before the byte is sent and the CS was being de-asserted before the transfer was complete. 2012-12-27T02:08:16 < Laurenceb_> when why do i have to pay UKP6 2012-12-27T02:08:18 < Laurenceb_> sucks 2012-12-27T02:08:24 < dongs> Laurenceb_: you can always buy them from me :) 2012-12-27T02:08:34 < Laurenceb_> its ok, work projects 2012-12-27T02:08:36 < Laurenceb_> i dotn pay 2012-12-27T02:08:37 < dongs> hehe. 2012-12-27T02:08:39 < dongs> right. 2012-12-27T02:08:53 < emeb> that's purchasing's problem. 2012-12-27T02:08:53 < dongs> emeb: hmm.. but thats not the problem with my shit im sure 2012-12-27T02:09:03 < dongs> since first screen always renders, CORRECTLY 2012-12-27T02:09:06 < dongs> regardless of spi speed 2012-12-27T02:09:09 < dongs> but then it just freezes 2012-12-27T02:09:09 < emeb> dongs: no - probably not. 2012-12-27T02:09:10 < dongs> wtfsdflsfj 2012-12-27T02:09:15 < Laurenceb_> emeb: so the flag bit is set too soon? 2012-12-27T02:09:17 < dongs> and i would busywait on dma to complete 2012-12-27T02:09:24 < pepsi> dongs, okay.. i think $2 is a reasonable target price.. some higher-ups got sub $1 quotes on stuff from NXP, but after digging in, the parts they quoted are not very useful.. 1 UART, a couple timers, 4k RAM, etc... 2012-12-27T02:09:26 < dongs> so CS deassert wouldnmt matter here 2012-12-27T02:09:43 < dongs> pepsi: CBT6 is pretty good, 128K flash / 20k ram 2012-12-27T02:09:49 < emeb> Laurenceb_: I can't be sure - it might not be looking at the right flag. 2012-12-27T02:09:52 < dongs> F303CCT6 is also cheap apparently, <$3 in qty 2012-12-27T02:10:00 < Laurenceb_> sweet 2012-12-27T02:10:02 < dongs> and thats F4 + MPU + analog stuffs 2012-12-27T02:10:10 < pepsi> what does "analog stuffs" mean? 2012-12-27T02:10:16 < Laurenceb_> maybe ill make an F3 datalogger 2012-12-27T02:10:18 < dongs> opamps and pga and some other crap 2012-12-27T02:10:23 < pepsi> orly 2012-12-27T02:10:26 < dongs> yarly 2012-12-27T02:10:26 < Laurenceb_> comparators 2012-12-27T02:10:29 < dongs> o those too 2012-12-27T02:10:30 < emeb> I'm thinking no more F1 in my future. 2012-12-27T02:10:32 < Laurenceb_> 16bit adc 2012-12-27T02:10:40 < emeb> F3 is good from small stuff, F4 for big stuff. 2012-12-27T02:10:45 < Laurenceb_> yeah 2012-12-27T02:11:05 < emeb> and F3 prices are about the same as F1 2012-12-27T02:11:09 < Laurenceb_> i can make my datalogger using just F303 + BQ24090 + ldos 2012-12-27T02:11:45 < Laurenceb_> *F373 even 2012-12-27T02:11:56 < emeb> yup. 2012-12-27T02:12:06 < emeb> as long as you can get it in the LQFP48 it's good. 2012-12-27T02:12:08 < Laurenceb_> that has 32x diff gain mode with 16bit ADC 2012-12-27T02:12:29 < Laurenceb_> so can connect directly to omron pressure sensors 2012-12-27T02:12:33 < emeb> yeah - would be good to see how clean that is 2012-12-27T02:13:04 < pepsi> you guys do this for work, play, both? 2012-12-27T02:13:06 < emeb> I'd bet with decent layout and clean AVDD it would be great. 2012-12-27T02:13:11 < emeb> both 2012-12-27T02:13:16 < Laurenceb_> same here XD 2012-12-27T02:13:20 < emeb> sad lives :P 2012-12-27T02:13:44 < pepsi> ive never seen any kind of embedded firmware person who didnt have a sad life :( 2012-12-27T02:13:50 < Laurenceb_> im paid to lay with micros 2012-12-27T02:13:59 < Laurenceb_> *play 2012-12-27T02:14:01 < emeb> heh - freudian slip 2012-12-27T02:14:21 < Laurenceb_> lolz 2012-12-27T02:16:52 -!- BjoernC [~BjoernC@dyndsl-178-142-054-227.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-27T02:29:39 <+Steffanx> and with RMS, Laurenceb 2012-12-27T02:36:43 < gxti> so, clever tricks for measuring the period of a pulse-per-second signal to the (70mhz) cycle? i was thinking using two timers, a slow one that reloads just before 1 second and enables the fast one, and a fast one running at full speed to do the input capture. problem is the rev 1 hardware only has the pulse routed to a single timer input. 2012-12-27T02:37:49 < gxti> attempt #2 to kludge something together using a fast timer that increments a variable on reload, again mostly working with a kludge to fix a +70000 error that pops up sometimes (1/1000 my clock speed, wth), hoping to come up with an actually sound design this time 2012-12-27T02:38:11 < Laurenceb_> could you clock a timer of a singnal that fast? 2012-12-27T02:38:42 < gxti> what? 2012-12-27T02:39:11 < Laurenceb_> signal -> external clock input 2012-12-27T02:39:17 < Laurenceb_> not sure if that would work 2012-12-27T02:39:48 < gxti> as an input capture yes, but that's only part of the equation. at PSC = 0 it rolls over 1000 times per second. 2012-12-27T02:40:09 < gxti> and figuring out which "epoch" of the timer the capture is from is apparently tricky 2012-12-27T02:40:15 < Laurenceb_> huh 2012-12-27T02:40:27 < Laurenceb_> cant you use a divider 2012-12-27T02:40:35 < Laurenceb_> or maybe not on external clk... 2012-12-27T02:40:39 < gxti> and give up an equivalent amount of resolution yes 2012-12-27T02:40:51 < gxti> i would have to clock it at 7khz which is useless 2012-12-27T02:40:53 < Laurenceb_> ok, so slave a second timer off the first 2012-12-27T02:40:55 < gxti> 70khz* 2012-12-27T02:40:56 < Laurenceb_> using slave mode 2012-12-27T02:41:33 < Laurenceb_> you might then be able to use a third timer clocked off system clock 2012-12-27T02:41:52 < Laurenceb_> to fire off some input captures to log the frequency 2012-12-27T02:42:03 < dongs> involve a cpld 2012-12-27T02:42:05 < dongs> problem solved 2012-12-27T02:42:48 < gxti> i could yes, but trying not to bloat the price of this thing any more than it already has 2012-12-27T02:43:00 < Laurenceb_> its doable with just an stm32 2012-12-27T02:43:03 < gxti> also do cplds even have sufficient facilities to do a 32 bit input capture at 70mhz? 2012-12-27T02:43:08 < Laurenceb_> as long as you can clock off 70mhz 2012-12-27T02:43:10 < gxti> or faster preferably 2012-12-27T02:43:17 < Laurenceb_> not sure if the gpio is that fast 2012-12-27T02:43:19 < gxti> anyway, to be clear it's a single pulse per second 2012-12-27T02:43:23 < dongs> is this on F1? 2012-12-27T02:43:26 < gxti> and i'm measuring how many clock ticks elapsed 2012-12-27T02:43:26 < Laurenceb_> oh 2012-12-27T02:43:30 < Laurenceb_> oh i get it 2012-12-27T02:43:36 < Laurenceb_> then thats easy 2012-12-27T02:43:39 < gxti> dongs: yes 2012-12-27T02:43:45 < dongs> gxti: why not use cortex cycle counter 2012-12-27T02:43:50 < dongs> its 32 bit and runs at SYSCLK 2012-12-27T02:43:56 < Laurenceb_> two timers with master/slave 2012-12-27T02:44:00 < Laurenceb_> simpler 2012-12-27T02:44:03 < dongs> uh no 2012-12-27T02:44:05 < dongs> how is that simpler 2012-12-27T02:44:10 < gxti> Laurenceb_: are the input captures slaved too? 2012-12-27T02:44:11 < dongs> you got cycle counter for free 2012-12-27T02:44:13 < Laurenceb_> as you have input capture 2012-12-27T02:44:16 < gxti> dongs: how do i trigger it? 2012-12-27T02:44:21 < Laurenceb_> gxti: no 2012-12-27T02:44:23 < dongs> gxti: you dont, just read it in input capture 2012-12-27T02:44:31 < Laurenceb_> youd have to have two input captures 2012-12-27T02:44:35 < dongs> and compensate for the number of cycles it takes 2012-12-27T02:44:38 < Laurenceb_> one triggers an interrupt 2012-12-27T02:44:51 < dongs> k bbl need to pickup china warez from post office 2012-12-27T02:44:55 < Laurenceb_> that reads both registers and shoves them together as a 32bit 2012-12-27T02:45:08 < gxti> i suppose so 2012-12-27T02:45:28 < gxti> from what i've read about cortex interrupt handling it's not possible to predict the latency 100% though 2012-12-27T02:45:39 < Laurenceb_> aiui its not 2012-12-27T02:45:46 < gxti> e.g. if the IC interrupt arrives while another interrupt is starting up it will be less 2012-12-27T02:45:50 < Laurenceb_> but its almost possible with high priority 2012-12-27T02:45:55 < Laurenceb_> thats no a problem 2012-12-27T02:45:58 < Laurenceb_> using NVIC 2012-12-27T02:46:08 < Laurenceb_> but aiui bus timing etc is not predicable 2012-12-27T02:46:18 < Laurenceb_> AHB and stuff can block for a cycle or so 2012-12-27T02:46:29 < gxti> even with NVIC -- if it's *starting* an interrupt but hasn't invoked it yet, it doesn't have to do another interrupt setup 2012-12-27T02:46:34 < gxti> and it will start faster 2012-12-27T02:46:39 < Laurenceb_> aiui its not that bad 2012-12-27T02:46:41 < gxti> but yeah, not acceptable either way 2012-12-27T02:46:46 < Laurenceb_> its pretty predictable 2012-12-27T02:46:47 < gxti> i have something that works now but it glitches 2012-12-27T02:47:01 < Laurenceb_> but yeah master/slave mode is the way to do it 2012-12-27T02:47:48 < gxti> i think if i just wire the signal to both timers it'll be fine, and i can read the MSBits from the slow one and the LSBits from the fast one 2012-12-27T02:49:09 < gxti> i guess master/slave versus just setting the prescaler and triggering them both to reset on capture doesn't make a difference either 2012-12-27T03:03:59 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has joined ##stm32 2012-12-27T03:27:14 < dongs> http://i.imgur.com/guZ5Z.jpg 2012-12-27T03:27:23 < dongs> i knew there'd be a catch with a $9 yagi 2012-12-27T03:27:59 <+Steffanx> It's warez you asked for... 2012-12-27T03:28:00 < emeb> wtf - abrasion? 2012-12-27T03:28:16 < dongs> yeah i have no idea how they would do that 2012-12-27T03:28:26 < dongs> what really sucks is that cable isnt removable 2012-12-27T03:28:32 < dongs> the other end doesnt use sma connector, its just directly connected 2012-12-27T03:28:37 < gxti> all cable is removable :p 2012-12-27T03:28:39 < dongs> and the first bad cut is like 5cm away from the shit 2012-12-27T03:28:54 < dongs> gxti: my time isn't worthless 2012-12-27T03:29:01 < emeb> is it just coax? 2012-12-27T03:29:04 < dongs> sure 2012-12-27T03:29:05 <+Steffanx> Get a refund and sue them 2012-12-27T03:29:05 < dongs> RG58 2012-12-27T03:29:18 < emeb> eh - just tape it up. Probably ok 2012-12-27T03:29:33 < gxti> Steffanx: whoa there john wayne, this ain't america 2012-12-27T03:29:39 < dongs> it almost made it to the center conductor on the bigger cut. 2012-12-27T03:29:47 < emeb> ah. 2012-12-27T03:30:01 < dongs> so about half of outer shield is gone 2012-12-27T03:30:03 <+Steffanx> What you planned to use it for ? 2012-12-27T03:30:07 < emeb> get a crimp-on connector 2012-12-27T03:30:16 < dongs> 300meter point to point wifi link 2012-12-27T03:30:22 < emeb> cut the cable & put new one on. 2012-12-27T03:30:42 < dongs> emeb: the big cut is ~5cm away from antenna itself. 2012-12-27T03:30:46 < dongs> makes hte cable kinda useless. 2012-12-27T03:30:53 < dongs> plus I dont wanna deal with crimping SMA. 2012-12-27T03:31:02 < gxti> or making it water-tight 2012-12-27T03:31:16 <+Steffanx> To make a long story short: Time to order a second one? 2012-12-27T03:31:24 < dongs> or time to make them send me a second one. 2012-12-27T03:31:25 < emeb> sounds like. 2012-12-27T03:31:28 < dongs> but yeah, something like that. 2012-12-27T03:31:29 <+Steffanx> Yes, or that 2012-12-27T03:31:33 < gxti> Steffanx: didn't work the first time, better send them more money 2012-12-27T03:31:35 < gxti> ;p 2012-12-27T03:32:46 < gxti> i paid like $20 just for the cable for my gps antenna 2012-12-27T03:32:51 < gxti> and that was a cheap chinese thing too 2012-12-27T03:33:02 < gxti> 10m i think 2012-12-27T03:33:14 < gxti> the antenna was $5 on ebay and shipped from the US, got lucky there 2012-12-27T03:34:18 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-12-27T03:41:52 < gxti> no 2012-12-27T03:54:48 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 264 seconds] 2012-12-27T04:14:29 <+Steffanx> You're weird flyback, but you already knew the 2012-12-27T04:14:31 <+Steffanx> that 2012-12-27T04:17:26 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-27T04:19:48 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-27T04:55:29 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-27T04:56:56 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-27T04:57:46 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-27T05:25:22 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2012-12-27T06:00:44 -!- cdh [~chatzilla@c-71-202-99-28.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 2012-12-27T06:03:52 < emeb_mac> chatless 2012-12-27T06:04:18 < dongs> derp derp 2012-12-27T06:04:29 < dongs> im doing some outdoor activities: http://i.imgur.com/sPicJ.jpg 2012-12-27T06:04:54 < emeb_mac> cool 2012-12-27T06:05:00 < emeb_mac> how did you fix the cable? 2012-12-27T06:05:06 < dongs> i didnt 2012-12-27T06:05:11 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-27T06:05:16 < dongs> this is the nondamaged one 2012-12-27T06:05:17 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-27T06:05:25 < dongs> the other one im gonna try as-is and if it sucks ill have them send me a new one 2012-12-27T06:06:01 < emeb_mac> heatshrink or electrical tape to seal it if it does work 2012-12-27T06:06:06 < dongs> well yeah 2012-12-27T06:06:30 < emeb_mac> this for a point-to-point wifi? 2012-12-27T06:06:31 < dongs> that part is done already 2012-12-27T06:06:32 < dongs> yeah 2012-12-27T06:06:37 < emeb_mac> how far? 2012-12-27T06:06:43 < dongs> 300m 2012-12-27T06:06:53 < emeb_mac> shouldn't be a problem 2012-12-27T06:07:52 < dongs> yeah 2012-12-27T06:08:38 < dongs> i was using short stick omni on one end and i could see the ap from way the fuck out 2012-12-27T06:08:42 < dongs> so i doubt this will be a problem 2012-12-27T06:08:56 < gxti> nice 2012-12-27T06:09:32 < emeb_mac> I've heard of people getting a few km on these types of yagi-uda antennas. 2012-12-27T06:09:59 < dongs> for a total investment of ~$20 its not bad i guess. 2012-12-27T06:10:10 < dongs> got the wifi shits free from a guy who was /ragequitting a wisp 2012-12-27T06:10:13 < gxti> yeah and tens of km is doable with dishes 2012-12-27T06:10:48 < dongs> i need to figure out how much of cat5 i need and where to put POE shit etc 2012-12-27T06:14:04 -!- _BJFreeman [~bjfree@104.sub-75-196-39.myvzw.com] has quit [] 2012-12-27T06:27:27 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-27T06:29:46 < dongs> http://pastebin.com/PPhRsm6F 2012-12-27T06:30:21 < emeb_mac> lol 2012-12-27T06:30:33 < emeb_mac> nice twist at the end. 2012-12-27T06:30:52 < emeb_mac> let the fapping begin: http://www.flickr.com/photos/41732401@N08/sets/72157631983235942/ 2012-12-27T06:32:35 < ds2> Merry late Christmas everyone! 2012-12-27T06:33:38 < emeb_mac> ho ho ho ds2 2012-12-27T06:39:19 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-27T06:47:19 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-27T06:48:03 < ds2> what is this i hear about firmware to turn a F103 discovery into a BMP? 2012-12-27T06:48:37 < emeb_mac> you can turn any Fx disco with st-link into a BMP 2012-12-27T06:48:55 < gxti> yeah i sort of worked on porting to f4disco but gave up when it didn't immediately work 2012-12-27T06:49:14 < emeb_mac> the BMP firmware can be targeted to run on the little F1xx that's on-board for ST-Link. 2012-12-27T06:49:50 < ds2> Ohhhh I see 2012-12-27T06:49:58 < ds2> and that will work with any SWD device? 2012-12-27T06:50:03 < gxti> what's that latin phrase, "who programs the programmer"? ;) 2012-12-27T06:50:35 < emeb_mac> ds2: should work for any device that's explicitly supported by BMP 2012-12-27T06:50:50 < pepsi> whats bmp? 2012-12-27T06:50:55 < ds2> oh 2012-12-27T06:51:00 < ds2> that is much more restrictive 2012-12-27T06:51:11 < ds2> so close to find a solution to programming that other chip 2012-12-27T06:51:15 < emeb_mac> pepsi: http://www.blacksphere.co.nz/main/blackmagic 2012-12-27T06:52:02 < emeb_mac> ds2: the main issue is that any Cortex Mx won't necessarily have the same flash programming requirements. 2012-12-27T06:52:12 < ds2> Ohhh 2012-12-27T06:52:20 < emeb_mac> so BMP uses little flash stubs that are downloaded into the target 2012-12-27T06:52:24 < ds2> so I can use it to download to any Cortex-M's RAM? 2012-12-27T06:52:39 < emeb_mac> ds2: I would think so. 2012-12-27T06:55:24 < pepsi> wtf.. it says it supports the LM3S series.. what the hell is that? 2012-12-27T06:55:41 < emeb_mac> ds2: you still looking at the energy micro stuff? 2012-12-27T06:55:44 < ds2> Hmmmm 2012-12-27T06:55:45 < pepsi> TI doesn't have crap.. a couple M4's and then some ridiculous, expensive stuff 2012-12-27T06:55:56 < ds2> emeb_mac: yes, that 'cho[' 2012-12-27T06:56:12 < ds2> pepsi: that is luminary micro 2012-12-27T06:56:31 < ds2> chip 2012-12-27T06:56:31 < pepsi> eh? 2012-12-27T06:56:38 < pepsi> how could luminary steal TI's LM? 2012-12-27T06:56:39 < pepsi> bogus 2012-12-27T06:56:54 < ds2> people here apparently don't like that chip being mentioned 2012-12-27T06:56:56 < emeb_mac> pepsi: TI bought Luminary years ago 2012-12-27T06:57:01 < ds2> pepsi: TI bought Luminary Micro 2012-12-27T06:57:03 < pepsi> oh 2012-12-27T06:57:09 < ds2> an NSC 2012-12-27T06:57:19 < emeb_mac> ds2: nah - this channel is just a bit sarcastic sometimes. 2012-12-27T06:57:42 < ds2> I'll just refrain from talking about that. 2012-12-27T06:58:00 < emeb_mac> TI is now the the Borg - you're uniqueness will be added to our own. 2012-12-27T06:58:19 < ds2> they have loyalty surveys ;) 2012-12-27T06:58:31 < pepsi> but there is like no evidence of LM3S devices 2012-12-27T06:58:35 < pepsi> did TI buy it and kill it? 2012-12-27T06:59:28 < pepsi> there's a bunch of vaporware LM4F stuff, but that's it 2012-12-27T07:00:03 < emeb_mac> pepsi: what about this: http://www.ti.com/lsds/ti/microcontroller/arm_stellaris/overview.page?DCMP=Luminary&HQS=Other+OT+stellaris 2012-12-27T07:00:29 < pepsi> yeah just M4 and TI's uber-$$$ devices 2012-12-27T07:01:19 < pepsi> is it just me? or is it not there? 2012-12-27T07:01:23 < pepsi> but yet i found http://www.ti.com/lsds/ti/microcontroller/arm_stellaris/m3_series/overview.page 2012-12-27T07:03:29 < pepsi> i don't think i should probe any further.. if they want to hide a product line or try to convince me not to use it, i dont think any of their offerings is a good idea 2012-12-27T07:03:49 < pepsi> .. but.. weird 2012-12-27T07:11:45 < dongs> LM3S is old 2012-12-27T07:11:50 < dongs> and their specs always looked mega shit 2012-12-27T07:12:10 < dongs> Additionally, applications with the LM3S family enable full access to the industry’s strongest support ecosystem of tools, silicon, and software, and offer instruction-set compatible performance from $1 to 1 GHz. 2012-12-27T07:12:14 < dongs> what hte fuck does that even mean 2012-12-27T07:12:15 < dongs> from $1 to 1GHZ 2012-12-27T07:12:16 < dongs> ??? 2012-12-27T07:12:37 < emeb_mac> don't try to understand the mind of a marketer. 2012-12-27T07:12:47 < emeb_mac> it'll just make your brain hurt. 2012-12-27T07:13:31 < pepsi> "ecosystem" seems to be a popular marketing term lately 2012-12-27T07:14:10 < pepsi> so they6 must be cool 2012-12-27T07:15:19 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has quit [Disconnected by services] 2012-12-27T07:15:20 -!- Nutter` [Nutter@64-46-18-151.dyn.novuscom.net] has joined ##stm32 2012-12-27T07:17:01 < qyx_> speaking of ecosystem 2012-12-27T07:17:23 < qyx_> the word "sustainable" is missing here 2012-12-27T07:17:28 < pepsi> heh 2012-12-27T07:18:32 < pepsi> any other players for cheap M3 micros? Ive got Atmel, NXP, and STM on my list.. Energy Micro is out 2012-12-27T07:18:44 < pepsi> oh yeah.. SiLabs.. but they're probably a No.. although I don't know why 2012-12-27T07:18:56 < dongs> nuvoton 2012-12-27T07:19:01 < pepsi> that's a quick No 2012-12-27T07:19:02 < dongs> mega cheap shit 2012-12-27T07:19:04 < dongs> haha 2012-12-27T07:19:08 < dongs> has like zero peripherals 2012-12-27T07:19:12 < pepsi> and Chinese 2012-12-27T07:19:14 < pepsi> no thanks 2012-12-27T07:19:17 < dongs> yes so? 2012-12-27T07:19:19 < pepsi> NO 2012-12-27T07:19:27 * pepsi notes .jp 2012-12-27T07:19:28 < pepsi> :P 2012-12-27T07:19:46 < dongs> i dont like nuvoton either, but mostlycuz their hardware sucks 2012-12-27T07:19:49 < gxti> why is EM out? they look interesting but ... different 2012-12-27T07:20:09 < pepsi> too small, risky 2012-12-27T07:20:16 < qyx_> freescale and their imx? 2012-12-27T07:20:17 < gxti> ah 2012-12-27T07:20:18 < qyx_> ah, not m3 2012-12-27T07:20:20 < pepsi> and we would need the Giant Gecko stuff 2012-12-27T07:20:25 < pepsi> so $$$ 2012-12-27T07:20:30 < dongs> imx is not cortex. 2012-12-27T07:20:32 < dongs> and it sucks anyway. 2012-12-27T07:20:33 < gxti> interested in EM for RF widgets at some point but i'm making 3, not 30k 2012-12-27T07:20:58 < dongs> just buy stm32f103cbt6 like all the smart kids 2012-12-27T07:21:11 < dongs> you can overclock it to 144mhz 2012-12-27T07:21:26 < pepsi> the STM32F1 is broken.. no :P 2012-12-27T07:21:29 < pepsi> L1 is a maybe 2012-12-27T07:23:16 < gxti> these 1ms phase jumps are driving me nuts, i wonder if they're coming from the gps receiver or if i've just managed to reproduce the same bug in 3 different implementations 2012-12-27T07:24:23 < qyx_> using 1pps? 2012-12-27T07:24:55 < gxti> yes 2012-12-27T07:25:31 < qyx_> hm 2012-12-27T07:25:32 < qyx_> http://www.toshiba-components.com/microcontroller/TMPM320.html 2012-12-27T07:25:33 < qyx_> not bad 2012-12-27T07:25:46 < gxti> my first two tries were measuring the period between pulses, every once in a while one will be 1ms bigger than it should but i just kludged it to take that out 2012-12-27T07:26:10 < gxti> third try is measuring phase like a real GPSDO and the same error appears, but now because it's phase it accumulates instead of just being a blip 2012-12-27T07:27:16 < qyx_> hm, but i think that the width of the pulses is not guaranted to be the same 2012-12-27T07:27:22 < dongs> qyx_: no datasheet? contact us? fuck off, toshiba heh 2012-12-27T07:27:38 < gxti> it's a "pulse per second", the period is ... wait for it ... 1 second 2012-12-27T07:27:49 < gxti> unless you mean the actual WIDTH of the pulse which i am ignoring 2012-12-27T07:28:03 < qyx_> ah, ok, misunderstanding 2012-12-27T07:28:29 < qyx_> yes, if you measure period between rising/falling edges, that should be 1s 2012-12-27T07:31:08 < pepsi> toshiba is interesting, but too big.. im sticking to my Atmel, NXP, ST, SiLabs.. gotta check everyone out, get these guys to come in and pitch their wares and make a decision by the end of january 2012-12-27T07:31:29 < gxti> every 16-20th pulse is 1ms late, and the following pulses are also shifted (in other words, the next period is normal) 2012-12-27T07:31:43 < pepsi> thanks for everyone's help looking for non-ST mcu's! 2012-12-27T07:31:46 < gxti> it could be a sawtooth thing but 1ms is pretty big for that, will RTFM 2012-12-27T07:32:08 < qyx_> everytime the same chipset? 2012-12-27T07:34:04 < qyx_> 40kB/s from .co.jp site 2012-12-27T07:34:24 < gxti> i have 2 more of the same receiver (motorola oncore) and 1 known good one from trimble, the trimble is a pain because it uses a 2mm header and i'll have to update my code 2012-12-27T07:34:55 < gxti> going to be annoyed if these fail at timing, paid $30 for 3 which is a good deal but worthless if they don't work :p 2012-12-27T07:35:18 < gxti> could still use them for nav or something 2012-12-27T07:37:48 < ds2> iMX is cortex 2012-12-27T07:37:57 < ds2> their M3 is their Kinetics line 2012-12-27T07:38:46 < qyx_> dongs: i am just searching for the toshiba m3s on mouser and they have their datasheets available 2012-12-27T07:38:59 < ds2> Siemens also has M3's 2012-12-27T07:39:00 < qyx_> but not stocked here and 16w lead time 2012-12-27T07:42:11 < qyx_> http://www.digikey.com/product-detail/en/TMPM362F10FG/TMPM362F10FG-ND/2440697 2012-12-27T07:52:39 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-27T07:58:38 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2012-12-27T08:14:28 < gxti> i don't even know what this gps receiver *is* anymore, probably some thing motorola OEMed 2012-12-27T08:14:59 < gxti> same shape and chip layout as the receiver i thought it was but searching the part number turns up nothing and it doesn't respond to the specific commands that i would expect it to 2012-12-27T08:15:14 < gxti> maybe i can flash it with the right firmware :p 2012-12-27T08:16:21 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-27T08:16:47 < gxti> shit's so old it actually has the intel branded flash with the goofy logo, all PLCC and one QFN with the bumpers on the corners 2012-12-27T08:16:59 < gxti> err, QFP 2012-12-27T08:45:54 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2012-12-27T09:14:46 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-27T09:21:52 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-27T09:53:50 -!- Nutter` is now known as Nutter 2012-12-27T11:23:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-27T12:23:29 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-12-27T12:32:57 < dongs> I just found out why baird is into amiga and all that useless shit https://youtube.com/watch?v=Ho9TbIbtIUY 2012-12-27T12:40:18 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2012-12-27T13:01:49 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-27T13:19:14 -!- qguy [bc1aa7ec@gateway/web/freenode/ip.188.26.167.236] has joined ##stm32 2012-12-27T14:04:06 < dongs> hmm 2012-12-27T14:04:16 < dongs> what was that silly jtag socket zyp uses 2012-12-27T14:07:23 < zyp> the shrouded one? 2012-12-27T14:07:45 < zyp> footprint fits unshrouded ones as well if you hate shroud 2012-12-27T14:08:03 < dongs> eh to late just hit submit on that digikey order 2012-12-27T14:08:08 < dongs> just got more unshrouded ones 2012-12-27T14:09:37 < dongs> touchin' those balls 2012-12-27T14:09:44 < dongs> fuck, i hate when credit cards expire 2012-12-27T14:09:54 < dongs> i gotta try and remember all idiot places that have monthly billing 2012-12-27T14:15:33 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-27T14:17:14 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-27T14:17:14 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-27T14:17:14 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-27T14:17:17 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-27T14:57:15 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-27T14:58:17 -!- BrainDamage [~yaaic@151.217.203.210] has joined ##stm32 2012-12-27T15:00:20 -!- BrainDamage [~yaaic@151.217.203.210] has quit [Client Quit] 2012-12-27T15:00:45 -!- BrainDamage [~yaaic@151.217.203.210] has joined ##stm32 2012-12-27T15:04:18 -!- Gargantuasauce [~Gargantua@151.217.205.178] has joined ##stm32 2012-12-27T15:04:51 -!- BrainDamage [~yaaic@151.217.203.210] has quit [Client Quit] 2012-12-27T15:05:00 -!- BrainDamage [~yaaic@151.217.203.210] has joined ##stm32 2012-12-27T15:07:37 -!- BrainDamage [~yaaic@151.217.203.210] has quit [Client Quit] 2012-12-27T15:08:09 -!- BrainDamage [~yaaic@151.217.203.210] has joined ##stm32 2012-12-27T15:21:01 -!- BrainDamage [~yaaic@151.217.203.210] has quit [Quit: Yaaic] 2012-12-27T15:29:19 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-27T15:34:58 < dongs> trollenceB_ whats failing today 2012-12-27T15:35:50 < Laurenceb_> just general rate of progress 2012-12-27T15:36:22 < Laurenceb_> trying to get my vehicle tracking working 2012-12-27T15:36:32 < Laurenceb_> needs to be released next week 2012-12-27T15:36:33 < dongs> for some reason I read that as 'testicle tracking' 2012-12-27T15:37:53 < Laurenceb_> problem is it takes ages to debug 2012-12-27T15:38:04 < Laurenceb_> like 30 minutes to run on one journey 2012-12-27T15:38:40 < Laurenceb_> sometime rick_astley.sh gets into a loop 2012-12-27T15:42:51 <+Steffanx> You must be very addicted to trolling that you even troll yourself Laurenceb_ 2012-12-27T15:44:50 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-27T15:47:18 < dongs> http://i.imgur.com/IRq28.jpg retweeting 2012-12-27T15:47:52 <+Steffanx> Haha 2012-12-27T15:48:30 * Steffanx retweeted the retweet 2012-12-27T15:50:14 < Laurenceb_> lolz 2012-12-27T15:50:52 <+Steffanx> Looks like a perfect (late) xmas present for dongs 2012-12-27T15:59:16 -!- Gargantuasauce [~Gargantua@151.217.205.178] has quit [Read error: Operation timed out] 2012-12-27T16:00:49 -!- Count_Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2012-12-27T16:03:54 < baird> I need them as cycling pants. 2012-12-27T16:04:31 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Ping timeout: 244 seconds] 2012-12-27T16:04:48 < dongs> baird: < dongs> I just found out why baird is into amiga and all that useless shit https://youtube.com/watch?v=Ho9TbIbtIUY 2012-12-27T16:05:24 < dongs> yiff, yiff 2012-12-27T16:07:08 < baird> Couldn't get an Amiga-- parents already knew about their prediliction for porn. :/ 2012-12-27T16:09:56 < baird> Got an XT laptop instead (LCD CGA 80x25, 2x720kB, 512kB RAM). Actually glad that I did-- got into Minix, C, UUCP, etc. 2012-12-27T16:12:31 < baird> Very funny how Eric W. Schwartz' love of the Yiff destroyed his animation career. When Gateway bought the Amiga rights, they actually hired EWS to make Amy the Squirrel into a marketing thing. But then they found out about the pornography furry 'universe' Amy was apart of. 2012-12-27T16:12:47 < dongs> haha 2012-12-27T16:15:40 < baird> Another funny: his animations got him a job at a small multimedia company called 'Macromedia'.. He left after a month or so because he didn't want to work on Macs-- being a rabid Amiga fanboy. And so.. Macromedia created a product called 'Flash'.. 2012-12-27T16:17:38 < dongs> well, hes still a furry faggot. that's all 2012-12-27T16:18:31 <+Steffanx> Yet another of dongs furry friends 2012-12-27T16:18:44 < dongs> notice how baird has all teh juicy details 2012-12-27T16:18:48 < baird> And so, EWS saw nothing of the $3.4 billion dollars when Adobe bought it out.. 2012-12-27T16:19:40 <+Steffanx> If he didn't leave he probably didn't see much of it either 2012-12-27T16:20:19 < baird> I was in Furry up until ~1996, when it was still an underground/self-pub comics thing. 'Furry Animals' over wannabe Crumbs and PoorLittleGothGirl shit anyday. 2012-12-27T16:22:16 < baird> lol, Stephen Elop came from Macromedia-- he sold out the company only three months. Sounds familar... 2012-12-27T16:28:31 <+Steffanx> Nice wikipedia stories 2012-12-27T16:28:44 <+Steffanx> I wonder when they'll make wikipedia the movie 2012-12-27T16:28:48 -!- qguy [bc1aa7ec@gateway/web/freenode/ip.188.26.167.236] has quit [Ping timeout: 245 seconds] 2012-12-27T16:29:49 < baird> I'm impressed-- the N.Korean satellite was launched with Scud based technology. 2012-12-27T16:32:28 <+Steffanx> Sometimes I get the idea people think people from that country are stupid 2012-12-27T16:34:55 -!- BrainDamage [~yaaic@android-57f828f06d19f035.visitor.congress.ccc.de] has joined ##stm32 2012-12-27T16:35:30 -!- Gargantuasauce [~Gargantua@151.217.205.178] has joined ##stm32 2012-12-27T16:36:44 < baird> The same sort of thing as Russia used to get. 2012-12-27T16:37:48 < BrainDamage> I'm in a place where baird would get a nerdgasm 2012-12-27T16:37:58 < BrainDamage> Ccc 2012-12-27T16:38:08 <+Steffanx> w00t w00t 2012-12-27T16:38:11 <+Steffanx> :S 2012-12-27T16:38:38 <+Steffanx> How's it in Germany BrainDamage ? 2012-12-27T16:38:50 < BrainDamage> A bit rainy 2012-12-27T16:39:59 <+Steffanx> I bet someone else is reading this now too 2012-12-27T16:40:42 < baird> Nah, I'll pass. They're big Assangefags. 2012-12-27T16:41:03 <+Steffanx> Says the other aussiefag 2012-12-27T16:41:18 < BrainDamage> Yeah, there was just a talk on comm freedom 2012-12-27T16:41:53 <+Steffanx> Any interesting talks you're going to listen to? 2012-12-27T16:42:31 < Gargantuasauce> we're sitting in the lecture hall waiting for http://events.ccc.de/congress/2012/Fahrplan/events/5167.en.html 2012-12-27T16:43:02 <+Steffanx> Oh, BrainDamage found himself a friend there 2012-12-27T16:43:21 < BrainDamage> So kawaiii 2012-12-27T16:43:42 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-27T16:43:43 < Gargantuasauce> <333 2012-12-27T16:44:20 <+Steffanx> So Gargantuasauce.. does he really have some brain damage? 2012-12-27T16:44:32 <+Steffanx> skip that 'some' 2012-12-27T16:44:50 < Gargantuasauce> he does not HAVE brain damage he IS brain damage 2012-12-27T16:44:54 < Gargantuasauce> there is a distinct difference 2012-12-27T16:44:58 < Gargantuasauce> and i feel stupider already~ 2012-12-27T16:45:05 < BrainDamage> When i saw the smt soldering workshop i was like -_- 2012-12-27T16:45:20 < BrainDamage> With blinking leds!!!! 2012-12-27T16:45:33 <+Steffanx> He infected you Gargantuasauce. He says ~ the same thing when you talk about his damage :P 2012-12-27T16:45:43 < Gargantuasauce> that's the joke 2012-12-27T16:46:00 < BrainDamage> I knew him before 2012-12-27T16:46:35 <+Steffanx> btw. That talk doesn't look THAT interesting at all 2012-12-27T16:47:01 < Gargantuasauce> the first one was a bit anticlimactic too 2012-12-27T16:47:08 <+Steffanx> Funny, i never heard of Limesco before 2012-12-27T16:47:14 < BrainDamage> The others going on commarent much better atm 2012-12-27T16:47:26 < Gargantuasauce> probably because they don't have a multimillion dollar marketing budget 2012-12-27T16:49:02 <+Steffanx> Yes, but i'm from that country. And read enough 'tech' related websites :S 2012-12-27T16:49:29 < BrainDamage> Im a bit disappointed, i expected a bit better 2012-12-27T16:51:12 <+Steffanx> I guess i just didn't read the article. Should've read it in may last year :) 2012-12-27T16:52:08 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-12-27T16:52:43 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-27T16:52:53 <+Steffanx> Hmm, not interested. They seem to advice whatsapp 2012-12-27T16:53:08 <+Steffanx> and from what i've read.. whatsapp is the biggest crap you have right know 2012-12-27T16:56:01 -!- BrainDamage [~yaaic@android-57f828f06d19f035.visitor.congress.ccc.de] has quit [Ping timeout: 256 seconds] 2012-12-27T16:57:43 -!- Gargantuasauce [~Gargantua@151.217.205.178] has quit [Ping timeout: 256 seconds] 2012-12-27T16:57:59 < Laurenceb_> www.realtraps.com 2012-12-27T17:03:16 < Laurenceb_> sounds like its about something else 2012-12-27T17:03:52 < Laurenceb_> on similar lines.. wtf internets 2012-12-27T17:03:53 < Laurenceb_> https://twitter.com/satinespark 2012-12-27T17:03:59 < Laurenceb_> why is that not being trolled 2012-12-27T17:05:08 <+Steffanx> Go go trollenceb troll 2012-12-27T17:07:26 < Laurenceb_> needs more "aids awareness day" links 2012-12-27T17:10:39 <+Steffanx> w00000t Laurenceb_ found a pornstar 2012-12-27T17:14:12 <+Steffanx> Now you're going to stalk her, Laurenceb_? 2012-12-27T17:14:40 < Laurenceb_> unlikely 2012-12-27T17:15:41 <+Steffanx> Unlikely, so not 'out of the question' 2012-12-27T17:15:55 < Laurenceb_> lol 2012-12-27T17:17:52 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-27T17:34:25 < Posterdati> hi 2012-12-27T17:34:59 < Posterdati> how can I force SDA to stay high without reconfigureing the port B pin to Output_PP? 2012-12-27T17:35:21 < dongs> you dont 2012-12-27T17:36:04 < Posterdati> dongs: then I've to use your unstick code 2012-12-27T17:36:12 < dongs> yes. 2012-12-27T17:37:00 < Posterdati> dongs: I've got i2c bus hanging at processor reset, due to slave peripherals 2012-12-27T17:37:15 < dongs> right 2012-12-27T17:37:24 < dongs> if you reset while slave is clocking shit out 2012-12-27T17:37:26 < dongs> it'll be stuck 2012-12-27T17:37:39 < dongs> thats kinda the whole point of that code. 2012-12-27T17:37:42 < Posterdati> dongs: I reset the stm32 during i2c trabsaction, then when the cpu comes up it finds a busy bus 2012-12-27T17:37:52 < dongs> right 2012-12-27T17:38:40 < Posterdati> I'm now reading an analog devices an (an-686) where there's an unstick algorithm 2012-12-27T17:39:20 < Posterdati> but one have to reprogram the PB6/PB7 to achieve that (dongs algorithm) 2012-12-27T17:39:41 < Posterdati> it is not suffice to generate STOP condition a go-go 2012-12-27T17:40:09 < dongs> shit man, how about you just realize that people in this channel have struggled with i2c far longer htan you have 2012-12-27T17:40:15 < dongs> so just take that advice or waste another month figuring it out 2012-12-27T17:40:27 < Posterdati> dongs: I know, tx 2012-12-27T17:41:16 < Posterdati> dongs: please could you post you page code again? 2012-12-27T17:41:31 < dongs> http://code.google.com/p/afrodevices/source/browse/trunk/baseflight/src/drv_i2c.c#313 2012-12-27T17:42:22 < Posterdati> tx 2012-12-27T17:42:48 < Posterdati> ah 2012-12-27T17:42:57 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-27T17:43:14 < Posterdati> it could be used in case the cpu finds a busy condition, good! Tx 2012-12-27T17:43:46 < dongs> just run it on init of i2c peripheral and on errorl 2012-12-27T17:44:04 < Posterdati> yes 2012-12-27T17:44:13 < Posterdati> Why did you use a 2MHz port clock? 2012-12-27T17:44:26 < dongs> because i2c is only driving at 400khz 2012-12-27T17:45:00 < Posterdati> yes I know 2012-12-27T17:45:12 < Posterdati> I used 50Mhz 2012-12-27T17:46:25 < Posterdati> oh I missed delayMicroseconds 2012-12-27T17:54:45 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2012-12-27T18:02:01 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-27T18:06:23 < jon1012> hi 2012-12-27T18:06:27 <+Steffanx> Lo 2012-12-27T18:06:37 < jon1012> someone knows a comparison between stm32 and stellaris arm chips ? 2012-12-27T18:06:43 < jon1012> (especially the f4 ranges) 2012-12-27T18:06:52 < jon1012> maybe a webpage explaining or something :) 2012-12-27T18:12:57 < Posterdati> dongs: tx, your code is great! 2012-12-27T18:18:20 < zyp> jon1012, I believe stellaris chips are more comparable to f3 in terms of performance 2012-12-27T18:19:33 < jon1012> even the lm4f ? 2012-12-27T18:19:52 < zyp> yes, all LM4F are rated to 80MHz 2012-12-27T18:19:58 < jon1012> ok 2012-12-27T18:20:10 < zyp> f3 is rated to 72MHz and f4 is rated to 168MHz 2012-12-27T18:20:24 < jon1012> ok 2012-12-27T18:21:08 < zyp> what are you interested in comparing? 2012-12-27T18:21:10 < jon1012> and in terms of features, line of code to clock ratio, is it comparable ? (I think yes given both are arm but I'm not sure) 2012-12-27T18:21:44 < zyp> both f3, f4 and lm4f are cortex-m4, so cpu-wise they are identical 2012-12-27T18:24:33 < zyp> the only thing apart from clock frequency that may make a difference for performance is memory access time 2012-12-27T18:25:38 < jpa-> (for IO tasks, the features of the peripherals of course affect performance also) 2012-12-27T18:26:52 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2012-12-27T18:29:31 < zyp> jpa-, but that probably turns out very application specific ;) 2012-12-27T18:37:01 < dongs> oh i should check when my "correct" f3s are coming from digikey 2012-12-27T18:37:32 < dongs> 3 days ago! should be here tomrow 2012-12-27T18:37:40 < dongs> yep 2012-12-27T18:38:15 < dongs> So I've got these 2 USB monitors I use with my laptop. They're very power hungry. They're speced at 5V 2A each. My laptop only has 2 USB ports on the one side, they don't get enough power and they flicker. So I just built this. http://i.imgur.com/Xep0P.jpg 2012-12-27T18:38:22 < dongs> hooooooollllllllyyyy FUCK @ pic 2012-12-27T18:43:03 < gxti> pot it in hot glue, problem solved 2012-12-27T18:47:13 < emeb> that looks like a fire hazard. 2012-12-27T18:47:43 < Laurenceb_> is that mains? 2012-12-27T18:47:52 < dongs> hopefully 2012-12-27T18:47:52 < jon1012> wow 2012-12-27T18:48:26 < dongs> that guy is from africa so he's sorta excused 2012-12-27T18:48:32 < dongs> but he always has the most hilarious problems 2012-12-27T18:48:38 < dongs> of like "how to nigger up more shit out of garbage" 2012-12-27T18:48:51 < dongs> I think he was making a lead battery charger out of LM317s... 2012-12-27T18:50:55 < emeb> damn - it's gotta be tough to do anything when you're out in the sticks like that. 2012-12-27T18:51:12 < emeb> bet you can't get 3-day shipping from DK in Africa. 2012-12-27T18:51:18 < dongs> haha 2012-12-27T19:30:32 -!- barthess [~barthess@178.154.60.181] has joined ##stm32 2012-12-27T19:31:39 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-27T19:37:40 -!- _BJFreeman [~bjfree@34.sub-75-196-22.myvzw.com] has joined ##stm32 2012-12-27T19:40:33 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-27T19:51:37 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-27T20:25:57 -!- TeknoJuce [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has joined ##stm32 2012-12-27T20:25:57 -!- TeknoJuce [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has quit [Changing host] 2012-12-27T20:25:57 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-27T20:29:10 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 246 seconds] 2012-12-27T20:42:26 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-12-27T20:44:10 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has joined ##stm32 2012-12-27T20:44:10 -!- NonaSuomy [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has quit [Changing host] 2012-12-27T20:44:10 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-27T20:47:13 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 256 seconds] 2012-12-27T21:27:59 -!- BjoernC [~BjoernC@dyndsl-178-142-057-023.ewe-ip-backbone.de] has joined ##stm32 2012-12-27T21:29:15 -!- barthess [~barthess@178.154.60.181] has quit [Quit: Leaving.] 2012-12-27T21:31:27 -!- Gargantuasauce [~Gargantua@p4FCAD0E7.dip.t-dialin.net] has joined ##stm32 2012-12-27T21:31:40 -!- BrainDamage [~yaaic@p4FCAD0E7.dip.t-dialin.net] has joined ##stm32 2012-12-27T21:38:46 -!- BjoernC [~BjoernC@dyndsl-178-142-057-023.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-27T21:55:54 -!- BrainDamage [~yaaic@p4FCAD0E7.dip.t-dialin.net] has quit [Quit: Yaaic] 2012-12-27T21:58:10 < jpa-> emeb: btw, regarding fatfs size you were discussing last night, it's only 5.5kB for me 2012-12-27T22:00:51 < emeb> jpa-: thanks. 2012-12-27T22:01:17 < emeb> seems like I may be able to squeeze it down some, if I can find out what I did differently. 2012-12-27T22:03:38 < jpa-> what is the size of your ff.o? 2012-12-27T22:05:14 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Read error: Connection reset by peer] 2012-12-27T22:05:34 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-27T22:05:44 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-27T22:05:50 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-27T22:06:12 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Read error: Connection reset by peer] 2012-12-27T22:06:35 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-27T22:06:39 < emeb> my ff.o is 30400 2012-12-27T22:06:51 < jpa-> huh, compiled with what? 2012-12-27T22:07:07 < jpa-> and you are using 'size' and not just file size, right? 2012-12-27T22:07:12 < jpa-> 5575 0 8 5583 15cf ff.o 2012-12-27T22:07:14 < jpa-> mine 2012-12-27T22:07:53 < emeb> derp: 2673 0 8 2681 a79 ff.o 2012-12-27T22:08:10 < gxti> .o files are elf so their size on disk is not representative of code content 2012-12-27T22:08:59 < emeb> I've got readonly and minimize enabled. 2012-12-27T22:09:03 < zyp> and that output is obviously from the size utility that parses elf headers 2012-12-27T22:09:11 < jpa-> emeb: makes sense :) 2012-12-27T22:09:28 < emeb> so looks like the ff binary code is about in line with yours 2012-12-27T22:09:40 < jpa-> yeah, i have read-write and full functionality 2012-12-27T22:09:46 < emeb> and all the other stuff must be libc stuff it pulled in that I wasn't previously using. 2012-12-27T22:10:09 < jpa-> hmm, fatfs shouldn't need much anything from libc 2012-12-27T22:10:28 < jpa-> in fact.. i don't have libc in that project 2012-12-27T22:10:49 < emeb> could swear I saw some malloc() calls, etc in there. 2012-12-27T22:11:10 < jpa-> only for long file names 2012-12-27T22:11:23 < emeb> which I've disabled. 2012-12-27T22:11:25 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2012-12-27T22:11:47 < gxti> wtfux... chibios is panicing on entry into an IRQ handler :[ 2012-12-27T22:12:04 -!- BrainDamage [~yaaic@p4FCAD0E7.dip.t-dialin.net] has joined ##stm32 2012-12-27T22:12:04 < jpa-> i often use arm-none-eabi-objdump -t myproject.elf | grep text | sort -k 5 2012-12-27T22:12:16 < jpa-> it prints the size of each function (symbol) in hex 2012-12-27T22:12:27 < Thorn> stm32f102cbt6 is supposed to have 16Kb of SRAM as per datasheet. I set top of stack to 0x20005000 (20Kb) and it still runs. 2012-12-27T22:12:55 < jpa-> Thorn: it's common for the smaller devices to be downmarked larger devices 2012-12-27T22:13:09 < jpa-> the jury is still out on whether the extra memory is fully functional or not 2012-12-27T22:13:31 < gxti> hmm, that would be fun to investigate later 2012-12-27T22:13:40 < gxti> anyone ported memtest86+ to stm32 yet? ;) 2012-12-27T22:14:13 < Thorn> well in my case it runs with SP=0x20004fd8 or thereabout when I break it, so the stack is in that memory 2012-12-27T22:14:33 < jpa-> i have been using the extra flash on 256kB (really 512kB) stm32f103vct6; worked fine so far, on multiple devices 2012-12-27T22:14:39 < emeb> sum of all my .o text sections is just 23kB 2012-12-27T22:15:10 < jpa-> Thorn: yeah, sure, it works kind of, but does it perhaps randomly corrupt data? 2012-12-27T22:15:25 < Thorn> can't say, need a proper memory test 2012-12-27T22:17:13 < Thorn> I need to finally flash this thing with BMP firmware. 2012-12-27T22:18:57 < Thorn> btw programming with st-link seems much faster than with my olimex jtag-only thing (openocd in both cases). note that the size of my firmware is very small so it may be unrelated to actual transfer speed 2012-12-27T22:28:46 < emeb> FWIW: a list of all the stuff that got pulled into my code when I added the fatfs -> http://pastebin.com/5vJRXAXq 2012-12-27T22:30:15 < Thorn> what are all the unwind symbols? c++ exception support? 2012-12-27T22:30:37 < emeb> beats me. Nothing that I'm explicitly using. 2012-12-27T22:34:34 < zyp> looks like support functions for double-precision fpu emulation 2012-12-27T22:35:12 < emeb> interesting. wonder why that shows up? 2012-12-27T22:35:31 < zyp> and that again brings in unwinding, since a zero-division throws an exception 2012-12-27T22:35:47 < zyp> so you probably have some code operating on doubles somewhere 2012-12-27T22:36:09 < emeb> It's there even if I don't print anything, so it isn't my top-level code. 2012-12-27T22:36:28 < Laurenceb_> grep -r "double" ./ 2012-12-27T22:36:35 < zyp> was about to suggest that 2012-12-27T22:37:26 < emeb> only place is a typedef in arm_math.h 2012-12-27T22:37:42 < zyp> for what type, and is that type used? 2012-12-27T22:38:15 < emeb> ./CMSIS/arm_math.h: typedef double float64_t; 2012-12-27T22:38:27 < emeb> and that's the only place that float64_t shows up too 2012-12-27T22:38:43 < zyp> hmm 2012-12-27T22:39:24 < zyp> are you linking with garbage collection? 2012-12-27T22:39:50 < emeb> not that I know, but my makefile has a lot of mysterious stuff in it. 2012-12-27T22:39:57 < emeb> cargo-cult programming. :) 2012-12-27T22:40:56 < gxti> --gc-sections is the magic phrase 2012-12-27T22:41:08 < gxti> for gnu binutils at least 2012-12-27T22:41:33 < emeb> yeah - that's there. 2012-12-27T22:43:19 < emeb> interestingly, removing that causes a link error complaining about missing functions that I don't use. 2012-12-27T22:44:28 < emeb> which makes sense I guess. 2012-12-27T22:44:53 < gxti> right 2012-12-27T22:45:01 < gxti> stuff you're not using has deps you haven't solved 2012-12-27T22:45:07 < emeb> right 2012-12-27T22:46:04 < zyp> ok, good 2012-12-27T22:46:30 < zyp> just go through your object files and see which ones are making references to those double-functions 2012-12-27T22:47:09 < zyp> if they end up in the executable, they are referenced from some of the objects passed to the linker 2012-12-27T22:48:35 < gxti> victoryyyyy 2012-12-27T22:48:48 < emeb> I guess there's an obj_dump option for that or something. 2012-12-27T22:53:36 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 264 seconds] 2012-12-27T23:12:31 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2012-12-27T23:27:47 < zyp> you can probably just grep the files :p 2012-12-27T23:28:32 < zyp> hmm, are you using any math functions anywhere? 2012-12-27T23:28:57 < gxti> tell me, little timmy. do you like... math? 2012-12-27T23:29:06 < zyp> abs() or sqrt() or similar 2012-12-27T23:29:23 < zyp> because they are the double variants, and would cause this 2012-12-27T23:29:29 < emeb> beats me - this in the fatfs stuff that I haven't stared at much 2012-12-27T23:29:49 < zyp> sounds weird that fatfs should use any floats at all 2012-12-27T23:30:15 < emeb> right 2012-12-27T23:30:48 < emeb> so as far as I can see, there's no way to get a list of referenced symbols (not provided) in a .o file? 2012-12-27T23:33:23 < zyp> they show up in the list you get from -t 2012-12-27T23:33:26 < zyp> as *UND* 2012-12-27T23:34:14 < emeb> aha. ty 2012-12-27T23:36:09 < emeb> hmm. well, ff.o and diskio.o don't have anything in them that surprises me. 2012-12-27T23:36:31 < emeb> and those are the only new object files required for fatfs. 2012-12-27T23:37:19 < zyp> some of your object files do reference those __aeabi symbols 2012-12-27T23:38:15 < zyp> you can really just grep the .o-files for __aeabi 2012-12-27T23:40:36 < emeb> nope - none of them reference _aeabi 2012-12-27T23:40:55 < zyp> hmm 2012-12-27T23:41:01 < zyp> can I have a copy of the elf? 2012-12-27T23:41:12 < emeb> sure. how to send? 2012-12-27T23:41:17 < zyp> bin.jvnv.net? 2012-12-27T23:42:12 < emeb> http://bin.jvnv.net/f/KjMhS/main.elf 2012-12-27T23:43:05 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 252 seconds] 2012-12-27T23:43:52 < Laurenceb_> elves 2012-12-27T23:43:55 < zyp> referenced from _vfprintf_r 2012-12-27T23:44:19 < zyp> so it looks like double-support in printf is the culprit 2012-12-27T23:44:22 < emeb> not surprising 2012-12-27T23:45:27 < emeb> interestingly, I use printf outside of the fatfs stuff, so why did it pull in more? 2012-12-27T23:45:33 < zyp> are you using the launchpad toolchain/newlib? 2012-12-27T23:45:36 < zyp> no idea 2012-12-27T23:45:39 < emeb> (when I added fatfs) 2012-12-27T23:45:58 < zyp> maybe another printf variant? 2012-12-27T23:46:06 < emeb> yes launchpad multilib 2012-12-27T23:46:43 < emeb> well... what happens if I remove all printfs.. 2012-12-27T23:52:47 < emeb> that was it. 2012-12-27T23:53:11 < emeb> w/o printfs the .bin is < 10k 2012-12-27T23:53:20 < emeb> even w/ fatfs 2012-12-27T23:54:04 < gxti> compare where printf is coming from with and without fatfs, maybe there's a weak version getting pulled in until fatfs arrives 2012-12-27T23:54:35 < zyp> or maybe something is optimized out due to constant arguments 2012-12-27T23:55:50 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 --- Day changed Fri Dec 28 2012 2012-12-28T00:05:11 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2012-12-28T00:08:49 -!- BrainDamage [~yaaic@p4FCAD0E7.dip.t-dialin.net] has quit [Quit: Yaaic] 2012-12-28T00:08:58 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2012-12-28T00:16:34 -!- BjoernC [~BjoernC@dyndsl-178-142-057-023.ewe-ip-backbone.de] has joined ##stm32 2012-12-28T00:37:17 < emeb> that's just hilarious. 2012-12-28T00:50:15 -!- BjoernC [~BjoernC@dyndsl-178-142-057-023.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-28T00:52:52 -!- BjoernC [~BjoernC@dyndsl-178-142-057-023.ewe-ip-backbone.de] has joined ##stm32 2012-12-28T01:14:36 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 245 seconds] 2012-12-28T01:18:41 -!- BrainDamage [~yaaic@p4FCAD0E7.dip.t-dialin.net] has joined ##stm32 2012-12-28T01:20:38 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 255 seconds] 2012-12-28T01:27:22 -!- Gargantuasauce [~Gargantua@p4FCAD0E7.dip.t-dialin.net] has quit [Ping timeout: 250 seconds] 2012-12-28T01:48:25 -!- _BJFreeman [~bjfree@34.sub-75-196-22.myvzw.com] has quit [] 2012-12-28T02:17:31 -!- BjoernC [~BjoernC@dyndsl-178-142-057-023.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-28T02:28:56 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-28T02:29:03 < dongs> http://www.kickstarter.com/projects/formlabs/form-1-an-affordable-professional-3d-printer/posts/359983#comments 2012-12-28T02:29:06 < dongs> who didnt see THAT coming 2012-12-28T02:29:09 < dongs> haha 2012-12-28T02:30:38 < emeb> sad, but a fact of life these days. 2012-12-28T02:31:21 < BrainDamage> I want a printer that extrudes 3d printers, you feed a printer to the material supply, it grinds it and makes actually useful stuff instead 2012-12-28T02:31:50 < BrainDamage> Like bricks 2012-12-28T02:35:01 -!- BrainDamage [~yaaic@p4FCAD0E7.dip.t-dialin.net] has quit [Quit: Yaaic] 2012-12-28T02:43:23 <+Steffanx> I want a 3d printer that can just print what it's in my head in 1 second. 2012-12-28T02:43:28 <+Steffanx> *there is nothing there, i know * 2012-12-28T02:44:02 < zyp> so any 3d printer? :p 2012-12-28T02:47:07 <+Steffanx> No, printers cannot print nothing yet 2012-12-28T02:48:05 < zyp> sure they can 2012-12-28T02:48:19 < zyp> my 3d printer has printed nothing since it arrived :p 2012-12-28T02:48:47 <+Steffanx> no, it didn't print nothing, 2012-12-28T02:49:08 < zyp> it sure did 2012-12-28T02:49:43 < zyp> though, I guess if you are talking about printing a vacuum, that would be a bit harder 2012-12-28T02:49:54 <+Steffanx> :P 2012-12-28T02:51:47 <+Steffanx> but it would be awesom, if you can print whatever you think of in a few seconds 2012-12-28T02:51:50 <+Steffanx> or maybe minutes 2012-12-28T02:55:44 < Laurenceb_> HOLY SHIT 2012-12-28T02:55:50 < Laurenceb_> $3M 2012-12-28T02:56:14 < Laurenceb_> 3d printers dont print nothing 2012-12-28T02:56:17 < Laurenceb_> they print shit 2012-12-28T02:56:31 < dongs> exactly 2012-12-28T02:56:34 < dongs> useless garbage 2012-12-28T02:56:56 <+Steffanx> So WHEN would you use one dongs? 2012-12-28T02:57:07 < dongs> http://www.worldstarhiphop.com/videos/video.php?v=wshhq1L8OIgb8R7EA16h this is something Laurenceb_ would probably enjoy 2012-12-28T02:57:08 <+Steffanx> When you could print useful props? 2012-12-28T02:57:34 < Laurenceb_> wtf 2012-12-28T02:57:44 < Laurenceb_> nsfw 2012-12-28T02:57:55 < dongs> safe for my work 2012-12-28T02:58:33 <+Steffanx> drugs isn't good for some people 2012-12-28T02:58:49 < Laurenceb_> that reminds me 2012-12-28T02:58:57 < Laurenceb_> need to sell usb monitor wipers 2012-12-28T02:59:10 < Laurenceb_> for people who work in places like dongs work 2012-12-28T02:59:24 <+Steffanx> uh? 2012-12-28T02:59:44 < Laurenceb_> like windscreen wipers for your monitor 2012-12-28T02:59:49 < Laurenceb_> for watching pron 2012-12-28T02:59:53 < dongs> quick, dickstarter i t 2012-12-28T02:59:55 < dongs> what will it do? 2012-12-28T02:59:59 < dongs> clean jizz off hte monitor? 2012-12-28T02:59:59 <+Steffanx> dongs is always inside .. 2012-12-28T03:00:11 <+Steffanx> inside pants that is 2012-12-28T03:00:21 < dongs> fuck 2012-12-28T03:00:26 < dongs> i need to measure some small caps 2012-12-28T03:00:37 < dongs> but I need that idiot smaller-than-AA-12V-battery for my lcr meter 2012-12-28T03:00:45 < dongs> which Im sure doesnt exist in japan 2012-12-28T03:00:57 < zyp> heh 2012-12-28T03:00:58 < Laurenceb_> i bet usb jizz wipers exists in japan 2012-12-28T03:01:23 < zyp> Laurenceb_, should I get one for you next time I'm there? 2012-12-28T03:01:40 < Laurenceb_> if you need one 2012-12-28T03:01:42 <+Steffanx> its easier for dongs to send it over 2012-12-28T03:02:32 <+Steffanx> probably you can get them from the machine next to the "slips" machine :P 2012-12-28T03:03:12 < zyp> slips? 2012-12-28T03:03:52 <+Steffanx> I meant panties 2012-12-28T03:03:57 < Laurenceb_> lol 2012-12-28T03:04:00 <+Steffanx> from the vending machines 2012-12-28T03:04:03 < zyp> heh 2012-12-28T03:04:27 < zyp> «slips» is the norwegian word for necktie :p 2012-12-28T03:04:38 <+Steffanx> if it's not there.. you should bring some usb screencleaner vending machines to japland Laurenceb_ 2012-12-28T03:05:01 < Laurenceb_> hehe 2012-12-28T03:05:02 <+Steffanx> $$$ 2012-12-28T03:05:08 < Laurenceb_> would probably sell very well 2012-12-28T03:05:12 <+Steffanx> if they had dollars in japland 2012-12-28T03:05:31 < Laurenceb_> jizzwipe (tm) 2012-12-28T03:06:04 <+Steffanx> :D 2012-12-28T03:06:30 < dongs> capacitance 967pf 2012-12-28T03:06:33 < dongs> thats ~1nF isnt it 2012-12-28T03:07:12 * Laurenceb_ zzz 2012-12-28T03:08:27 < zyp> sure is 2012-12-28T03:08:45 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Read error: Operation timed out] 2012-12-28T03:24:54 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-28T03:24:55 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-28T03:24:55 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-28T03:26:39 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has joined ##stm32 2012-12-28T03:26:39 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has quit [Changing host] 2012-12-28T03:26:39 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-28T03:35:37 -!- dekar [~dekar@212.255.18.212] has joined ##stm32 2012-12-28T03:35:40 -!- mode/##stm32 [+v dekar] by ChanServ 2012-12-28T03:35:42 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-28T04:15:03 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-28T04:16:06 < Tectu> dongs, around? 2012-12-28T04:16:13 < dongs> sup 2012-12-28T04:16:17 < dongs> bloggin it hard 2012-12-28T04:16:41 < Tectu> dongs, ever did VGA on micro using resistors? 2012-12-28T04:16:52 < dongs> no, but I've seen people do it. 2012-12-28T04:16:56 < dongs> just usual R2R shit. 2012-12-28T04:16:59 < dongs> and DMA to GPIO 2012-12-28T04:18:23 < Tectu> yes 2012-12-28T04:18:24 < Tectu> want 2012-12-28T04:18:28 < Tectu> anyone else? 2012-12-28T04:38:53 <+Steffanx> Tectu, around? 2012-12-28T04:39:06 < Tectu> Steffanx, jep 2012-12-28T04:39:12 <+Steffanx> You shouldn't be 2012-12-28T04:39:16 <+Steffanx> it's time for your nap 2012-12-28T04:39:38 * Tectu naps 2012-12-28T04:39:39 < dongs> haha 2012-12-28T04:39:47 < dongs> moar like kawaii nap 2012-12-28T04:40:09 * Tectu naps kawaii ^___^ 2012-12-28T04:40:58 <+Steffanx> Let all dream about dongs 2012-12-28T04:41:07 <+Steffanx> gn 2012-12-28T04:41:08 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-28T04:58:00 < ds2> Hmmmm 2012-12-28T04:58:17 < emeb_mac> yo ds2 2012-12-28T05:48:11 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-28T05:51:18 < dongs> http://i.imgur.com/KblaC.jpg 2012-12-28T05:53:34 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-28T05:53:48 < emeb_mac> run awaaaayyy 2012-12-28T05:54:41 < baird> Mister Bairdybubbles as returned, children! 2012-12-28T05:55:59 < emeb_mac> run awaaaaayy 2012-12-28T05:58:37 -!- Gargantuasauce [~Gargantua@p4FCAD0E7.dip.t-dialin.net] has joined ##stm32 2012-12-28T06:01:40 < Gargantuasauce> i am presently a hamburger, not a canuck 2012-12-28T06:01:49 < gxti> drugs are bad, mmkay 2012-12-28T06:04:05 < emeb_mac> how's Hamburg treating you? 2012-12-28T06:04:55 < Gargantuasauce> it's a pretty great city 2012-12-28T06:05:41 < Gargantuasauce> i have lived in a city of 35k all my life so this is a pretty interesting contrast 2012-12-28T06:05:54 < Gargantuasauce> for the ccc 2012-12-28T06:06:13 < Gargantuasauce> a conference 2012-12-28T06:06:20 * emeb_mac has roots not far from Hamburg 2012-12-28T06:06:41 < Gargantuasauce> i sure am 2012-12-28T06:46:24 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-28T06:46:32 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-28T06:51:54 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-28T06:55:38 -!- Gargantuasauce_ [~Gargantua@p5B03DA56.dip.t-dialin.net] has joined ##stm32 2012-12-28T06:59:50 -!- Gargantuasauce [~Gargantua@p4FCAD0E7.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 2012-12-28T07:07:18 < emeb_mac> quiet around here 2012-12-28T07:07:39 < dongs> yea no furry talk, weird 2012-12-28T07:07:42 < dongs> baird: beep 2012-12-28T07:10:33 < emeb_mac> hmmm... 2012-12-28T07:11:12 < emeb_mac> converted some arduino libs for a recent stm32 project. has MIT license. 2012-12-28T07:11:22 < dongs> Tone.ino? 2012-12-28T07:11:38 < emeb_mac> probably need to rewrite that code to avoid having to give attribution 2012-12-28T07:12:15 < emeb_mac> dunno how MIT license applies to embedded stuff, but best not to risk it. 2012-12-28T07:12:47 < dongs> if i wasnt dicknplacing al lday today i'd be porting that tile renderer 2012-12-28T07:13:13 < emeb_mac> I wasn't real clear on what that does 2012-12-28T07:13:37 < emeb_mac> is it just a bigger display buffer for the cube demo? 2012-12-28T07:14:07 < dongs> no, it renders cube in arbitrary sliced areas 2012-12-28T07:14:10 < dongs> separately 2012-12-28T07:14:17 < emeb_mac> a way to handle a larger LCD w/o requiring a huge on-chip buffer. 2012-12-28T07:14:22 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 252 seconds] 2012-12-28T07:14:36 < dongs> so you can do say 240x32 stripes,, render 1st, start dmaing it, start rending 2nd into the next buffer, swap, etc. 2012-12-28T07:14:49 < emeb_mac> yeah. 2012-12-28T07:15:12 < emeb_mac> I'm kinda doing that now 2012-12-28T07:15:28 < emeb_mac> first render the cube into 8bpp buffer fullscreen 2012-12-28T07:15:48 < emeb_mac> then convert that to 16bpp in stripes & dma. 2012-12-28T07:16:00 < dongs> yeah, but that still takes more ram 2012-12-28T07:16:04 < dongs> 240x32*8 buffer is less. 2012-12-28T07:16:14 < emeb_mac> yeah 2012-12-28T07:21:25 -!- Gargantuasauce_ [~Gargantua@p5B03DA56.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 2012-12-28T07:34:36 -!- _BJFreeman [~bjfree@62.sub-75-233-176.myvzw.com] has joined ##stm32 2012-12-28T07:34:38 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-28T08:03:11 -!- _BJFreeman [~bjfree@62.sub-75-233-176.myvzw.com] has quit [] 2012-12-28T08:19:06 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-28T08:39:05 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-28T08:59:14 -!- tkoskine [tkoskine@kapsi.fi] has quit [Ping timeout: 246 seconds] 2012-12-28T09:36:50 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-28T10:05:54 -!- tkoskine [tkoskine@kapsi.fi] has joined ##stm32 2012-12-28T10:25:50 < dongs> what's a UWB Pulse 2012-12-28T10:29:00 < qyx_> ultra wideband? 2012-12-28T10:29:36 < qyx_> used in radars for example, but only guess 2012-12-28T10:43:36 -!- Gargantuasauce [~Gargantua@p5B03DA56.dip.t-dialin.net] has joined ##stm32 2012-12-28T11:04:27 -!- claude is now known as Claude 2012-12-28T11:42:16 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 250 seconds] 2012-12-28T11:50:03 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-28T11:56:09 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has joined ##stm32 2012-12-28T11:56:15 < LongChair> hello everyone 2012-12-28T11:56:56 < LongChair> erm, i have a dumb question but is arm gcc 4.6 supporting inlining for functions ? 2012-12-28T11:57:24 < LongChair> because everytime i try to make an inline function, compiler will say the function is not defined 2012-12-28T12:00:13 < dongs> cuz you are inilining it from another file 2012-12-28T12:00:36 < dongs> dicks.c: inline void blah(void); blog.c int main(void) { blah(); } wlil not work. 2012-12-28T12:00:51 < dongs> pretty sure this is standard behaviour 2012-12-28T12:00:58 < LongChair> in my case they are defined in the same c file 2012-12-28T12:01:04 < dongs> then you definitely did it wrong 2012-12-28T12:01:15 < LongChair> inline void blah() { ...} 2012-12-28T12:01:20 < dongs> () ?!?? 2012-12-28T12:01:26 < LongChair> void foo() { Blah(); } 2012-12-28T12:01:42 < dongs> well, blah and Blah are diffrent. 2012-12-28T12:01:43 < dongs> this isn't VB. 2012-12-28T12:02:06 < LongChair> i mistyped, but they have the same case 2012-12-28T12:02:20 < LongChair> () is an issue ? 2012-12-28T12:02:28 < dongs> its not valid C if thats what you mean. 2012-12-28T12:02:45 < dongs> if a function has no args, you should do ... blah(void) 2012-12-28T12:09:51 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-28T12:15:18 < Gargantuasauce> i know for a fact that gcc doesn't give two shits about you omitting the void in an empty parameter list 2012-12-28T12:16:02 -!- BjoernC [~BjoernC@dyndsl-178-142-048-043.ewe-ip-backbone.de] has joined ##stm32 2012-12-28T12:16:41 < LongChair> You're right, gcc will not warn, actually it will depend on the compilation options, but technically, that should be written like Dongs said. This is not related to my former issue though :) 2012-12-28T12:17:19 < LongChair> The error I am getting is not that the void is missing, it just says that the function is unknown as soon as I put "inline" in front 2012-12-28T12:17:38 < jpa-> dongs: actually () is valid C, just not strict prototype 2012-12-28T12:17:55 < jpa-> LongChair: no other errors? are you using -Wall? 2012-12-28T12:18:05 < LongChair> not sure lemme check 2012-12-28T12:18:18 < LongChair> yes Wall is part of the commandline 2012-12-28T12:19:28 < LongChair> looks like the function has to be declared as a prototype before anyways 2012-12-28T12:19:43 < LongChair> if I have inline F1() {...} 2012-12-28T12:19:54 < LongChair> void f2() { F1(); } 2012-12-28T12:19:54 < jpa-> http://paste.dy.fi/JMR/plain works for me 2012-12-28T12:20:04 < LongChair> -> this will generate an error 2012-12-28T12:20:21 < LongChair> if i have: 2012-12-28T12:20:23 < LongChair> void F1(); 2012-12-28T12:20:30 < LongChair> inline F1() { ...} 2012-12-28T12:20:33 < jpa-> you forgot void 2012-12-28T12:20:36 -!- BjoernC [~BjoernC@dyndsl-178-142-048-043.ewe-ip-backbone.de] has quit [Client Quit] 2012-12-28T12:20:39 < LongChair> void F2() {F1(); } 2012-12-28T12:20:51 < LongChair> yeah sorry inline void 2012-12-28T12:20:52 < jpa-> inline is not a type, you need inline void F1() { .. } 2012-12-28T12:20:57 < LongChair> yes 2012-12-28T12:21:17 < LongChair> okay lemme make this clear :) 2012-12-28T12:21:22 < LongChair> I had : 2012-12-28T12:21:23 < jpa-> it doesn't help a bit if you keep giving us incorrect code to look at; try the example i pasted and then work out what is different in your code 2012-12-28T12:21:38 < jpa-> *incorrectly incorrect code :) 2012-12-28T12:21:46 < LongChair> you're right :) 2012-12-28T12:22:34 < LongChair> i have similar code 2012-12-28T12:22:56 < LongChair> if I don't declare the prototype of the inline function before, then i'll get a linker error 2012-12-28T12:23:05 < LongChair> though both functions are in the same .c file 2012-12-28T12:23:19 < LongChair> declaring the prototype before will solve the issue ... wierd 2012-12-28T12:23:22 < jpa-> put your actual code on pastebin or something 2012-12-28T12:23:29 < LongChair> ok 2012-12-28T12:23:58 < LongChair> http://pastebin.com/PawXBQEN 2012-12-28T12:24:06 < LongChair> this code will generate a linker error 2012-12-28T12:24:16 < LongChair> [cc] C:\ARM\Workspace\GueNightFly\PWM/PWM.c:169: undefined reference to `PWM_Reset' 2012-12-28T12:24:38 < LongChair> now if i declare the PWM_Reset function above ... linker error will disappear 2012-12-28T12:24:47 < dongs> wow, where did you learn to code/ 2012-12-28T12:24:48 < dongs> from laurenceb? 2012-12-28T12:24:50 < LongChair> I mean if i declare a prototype 2012-12-28T12:24:55 < dongs> did you know that stickign all your code on one line doesnt make it faster. 2012-12-28T12:25:00 < jpa-> and the file you pasted is PWM.c and line 24 in paste is line 169 in error? 2012-12-28T12:25:16 < LongChair> yes 2012-12-28T12:25:21 < jpa-> are you sure? 2012-12-28T12:26:03 < LongChair> yes .. i have an hyperlink in the compiler result : it will bring me to the line in PWM_Initialize 2012-12-28T12:26:29 < LongChair> dongs : are you expecting me to answer that question ? :) 2012-12-28T12:27:43 < dongs> LongChair: absolutely. 2012-12-28T12:27:43 < LongChair> jpa- : that's kind of wierd aint it ? 2012-12-28T12:27:54 < dongs> shittily indented code is #1 sign of shitty programmer 2012-12-28T12:28:14 < dongs> you have inconsistent spacing , indentation, coding style 2012-12-28T12:28:19 < dongs> in just those 3 functions 2012-12-28T12:28:36 < dongs> not even gonna start with for(int i = 0; type shit 2012-12-28T12:28:59 < dongs> 2 functions rather. 2012-12-28T12:29:39 < jpa-> LongChair: hmm yeah, i can actually reproduce the problem 2012-12-28T12:29:41 < LongChair> i'd rather have a shitty code, than a shitty attitude :) 2012-12-28T12:30:13 < jpa-> dongs: be ready to blame gcc 2012-12-28T12:31:00 < LongChair> jpa- : ok, so that's a normal behaviour i guess ... well not maybe normal gcc behaviour but arm gcc issue 2012-12-28T12:31:09 < dongs> good thing I dont use gcc 2012-12-28T12:31:11 < LongChair> wonder if the code is really inlined in the end 2012-12-28T12:31:26 < LongChair> as it's a linker error 2012-12-28T12:32:13 < jpa-> it's not, because gcc decides it's too long to inline and it is not defined as static 2012-12-28T12:32:37 < LongChair> hmmmz 2012-12-28T12:32:42 < dongs> what's the point of inlining a function thats only called once anyway 2012-12-28T12:32:48 < jpa-> usually you'd want 'static inline' if you don't call that function from other functions 2012-12-28T12:32:54 < jpa-> nothing 2012-12-28T12:33:09 < jpa-> i mean, from other files 2012-12-28T12:33:27 < LongChair> I agree that in this case it's not usefull , but i have other finctions where it would be and i was wondering why it was not working 2012-12-28T12:36:22 < LongChair> well i guess i'll live without inlining 2012-12-28T12:36:51 < jpa-> it's somehow related to the new behaviour for the 'inline' keyword in C99 2012-12-28T12:37:18 < jpa-> static inline and extern inline both work 2012-12-28T12:38:21 < jpa-> http://adamrosenfield.com/blog/2011/03/21/the-tricky-inline-specifier-in-c99/ 2012-12-28T12:39:01 < LongChair> interesting link 2012-12-28T12:42:15 < LongChair> ok so either static inline if used inside the same module, or extern inline if used abroad several modules. in which case it needs to be defined in a .h 2012-12-28T12:42:45 < LongChair> thanks for this reply, it clarifies it :) 2012-12-28T12:43:55 < jpa-> all nice and simple until you want your code to be portable between C90 with compiler-specific 'inline' keyword and C99 standard 'inline' keyword 2012-12-28T12:48:40 < dongs> fucking unreal. they REALLY dont want me to have these STM32F303 chips 2012-12-28T12:48:50 < dongs> the new digikey shipment was mis-sorted and ended up in tokyo 2012-12-28T12:54:04 -!- BrainDamage [~yaaic@p5B03DA56.dip.t-dialin.net] has joined ##stm32 2012-12-28T12:54:04 -!- BrainDamage [~yaaic@p5B03DA56.dip.t-dialin.net] has quit [Client Quit] 2012-12-28T12:54:44 -!- BrainDamage [~yaaic@p5B03DA56.dip.t-dialin.net] has joined ##stm32 2012-12-28T12:59:21 -!- BrainDamage [~yaaic@p5B03DA56.dip.t-dialin.net] has quit [Client Quit] 2012-12-28T13:03:40 -!- Gargantuasauce [~Gargantua@p5B03DA56.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 2012-12-28T13:15:22 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 265 seconds] 2012-12-28T13:42:48 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-28T13:46:22 < dongs> http://www.theregister.co.uk/2012/11/27/feature_raspberry_pi_in_schools/ haha 2012-12-28T13:52:01 < dongs> http://i.imgur.com/doCiS.jpg fucking chink didnt give me enough 3M tape. 2012-12-28T13:57:28 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-28T13:58:31 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2012-12-28T14:02:53 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e0b5:cda2:1d1e:75b7] has joined ##stm32 2012-12-28T14:12:45 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e0b5:cda2:1d1e:75b7] has quit [Remote host closed the connection] 2012-12-28T14:14:54 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e0b5:cda2:1d1e:75b7] has joined ##stm32 2012-12-28T14:14:54 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e0b5:cda2:1d1e:75b7] has quit [Client Quit] 2012-12-28T14:20:36 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-28T14:20:39 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-28T14:23:23 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e0b5:cda2:1d1e:75b7] has joined ##stm32 2012-12-28T14:26:36 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has joined ##stm32 2012-12-28T14:27:55 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has quit [Client Quit] 2012-12-28T14:28:03 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has joined ##stm32 2012-12-28T14:40:03 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-28T14:43:13 < LongChair> is there any easy way to find out where the hardfault Handler has been generated ? 2012-12-28T14:43:41 < LongChair> from time to time i get in this handler .. but i can't see where it's been generated from 2012-12-28T14:46:00 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e0b5:cda2:1d1e:75b7] has quit [Quit: Yaaic] 2012-12-28T14:55:07 < dongs> dumping shit over uart at 921600 2012-12-28T14:55:34 < dongs> cp2102 works fine 2012-12-28T14:55:34 < dongs> PL2303 woulda bluescreened by now 2012-12-28T14:55:38 < dongs> LongChair yeah, just look at stack trace in your ide/debugger 2012-12-28T14:55:50 < dongs> hardfault = youre fucking up memory or similar sutff 2012-12-28T14:55:54 < dongs> null pointers etc. 2012-12-28T14:58:27 < LongChair> okay thanks :) 2012-12-28T15:01:11 -!- BjoernC [~BjoernC@dyndsl-178-142-048-043.ewe-ip-backbone.de] has joined ##stm32 2012-12-28T15:04:18 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-28T15:07:02 -!- BjoernC [~BjoernC@dyndsl-178-142-048-043.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-28T15:07:34 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2012-12-28T15:07:39 -!- dongs_ is now known as dongs 2012-12-28T15:12:37 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-28T15:25:35 < dongs> https://youtube.com/watch?v=p00MjuoINBc awesome tune 2012-12-28T15:29:48 < dongs> http://i.imgur.com/36oAa.jpg dumping some nand with waveshare shitz 2012-12-28T15:29:55 < dongs> jtagging the tsop 2012-12-28T15:31:33 < qyx_> dongs: pl2303 at 921600 works fine :) 2012-12-28T15:31:46 < dongs> qyx_: youre joking. it doesnt even work at 115200 2012-12-28T15:31:58 < dongs> at least none of hte ones I had did 2012-12-28T15:32:05 < dongs> either the driver or harwdare crashed 2012-12-28T15:32:18 < qyx_> ah, you mean win driver :X 2012-12-28T15:32:28 < dongs> yes, the only OS that matters 2012-12-28T15:32:51 < qyx_> sure 2012-12-28T15:34:54 <+Steffanx> Everyone knows pl2303 is crap :P 2012-12-28T15:35:41 <+Steffanx> but that's probably also because you have 1000 drivers and 10000 different versions of the pl2303 2012-12-28T15:43:38 < baird> one of my favs from the time: https://www.youtube.com/watch?v=-3ufThnCvzo (and for the kids in the audience, the parts at the top and bottom of the screen is the 'sprites in the border' effect/bug) 2012-12-28T16:02:32 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-28T16:03:15 <+Steffanx> I dont see anything special baird 2012-12-28T16:06:52 <+Steffanx> So what 'effect/bug' should i see baird ? 2012-12-28T16:07:32 < Laurenceb_> http://www.farnell.com/datasheets/1650922.pdf 2012-12-28T16:07:35 < Laurenceb_> they used eagle 2012-12-28T16:07:40 < Laurenceb_> THE HORROR 2012-12-28T16:08:52 <+Steffanx> No, it's just the EAGLE theme for Altium designer 2012-12-28T16:09:13 < Laurenceb_> lol seriously? 2012-12-28T16:11:20 <+Steffanx> I know it's old but it fits perfectely here Laurenceb_. So my answer: http://tinyurl.com/2g9mqh 2012-12-28T16:11:43 < Laurenceb_> lolz blocked 2012-12-28T16:11:58 <+Steffanx> You block that.. LOL 2012-12-28T16:13:17 < Laurenceb_> anti troll plugin 2012-12-28T16:13:52 <+Steffanx> Real experts are immune for that. They don't NEED a plugin for that 2012-12-28T16:15:26 <+Steffanx> As your plugin doesn't seem to work for IRC 2012-12-28T16:18:48 < baird> Steffanx: The C64 usually had a solid colour border above and below the text window. Elite 1980s Ha| Which wasn't that straight forward, as the VICII did higher-than-cpu-priority DMAs all over the place 2012-12-28T16:21:39 < Laurenceb_> arg wtf 2012-12-28T16:21:51 < Laurenceb_> F303 has only 3.3v gpio for the adc pins 2012-12-28T16:22:40 < baird> VIC20 memory expansion almost finished. Loooooks like shit. 2012-12-28T16:23:21 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has quit [Ping timeout: 245 seconds] 2012-12-28T16:23:26 < dongs> Laurenceb_: did you hear 2012-12-28T16:23:40 < dongs> Laurenceb_: the second shipment from digieky with "correct" F303 got sorted wrong and sent to tokyo instead. 2012-12-28T16:23:46 < dongs> so im not getting that shit AGAIN 2012-12-28T16:23:55 < dongs> someone REALLY wants to stop me from getting F303CCT6 2012-12-28T16:24:09 < Laurenceb_> fail 2012-12-28T16:24:22 < Laurenceb_> do you have a board for them? 2012-12-28T16:24:29 < Laurenceb_> be interesting to see if DFU works 2012-12-28T16:24:30 < dongs> 303 = F103 so yea 2012-12-28T16:24:35 < Laurenceb_> ah, course 2012-12-28T16:24:53 < dongs> plus i have that F103 socket 2012-12-28T16:24:57 < dongs> where i can negro stuff up 2012-12-28T16:25:01 < dongs> just usb + xtal 2012-12-28T16:25:10 < dongs> since it has hte bypass caps and stuf already on it 2012-12-28T16:25:46 <+Steffanx> lol dongs. Someone is trolling you very bad 2012-12-28T16:26:00 < dongs> yeah man 2012-12-28T16:26:18 <+Steffanx> It would be VERY funny is someone actually is messing with your order :P 2012-12-28T16:26:39 <+Steffanx> I bet you 'know' people that 'know' people with the right skillz 2012-12-28T16:27:01 < dongs> nah this would have to be like international scale trolling 2012-12-28T16:27:09 < dongs> 1st troll me @ digieky by slipping in MICROCHIP parts 2012-12-28T16:27:19 < dongs> then troll in japan/ups office to reroute the box elsewehre 2012-12-28T16:28:14 < dongs> does this look like a legit elf header? http://bcas.tv/paste/results/RYnUTH48.html 2012-12-28T16:35:04 < Laurenceb_> the "FM+" pins look useful 2012-12-28T16:35:08 < Laurenceb_> on F303 2012-12-28T16:35:59 < dongs> FM+? what do they do 2012-12-28T16:36:34 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-28T16:37:26 < Laurenceb_> high current sink 2012-12-28T16:38:03 <+Steffanx> How high? 2012-12-28T16:40:25 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-28T16:43:04 <+Steffanx> Laurenceb_ ? 2012-12-28T16:45:02 < Thorn> found some microcontroller and fpga lectures from Cornell http://www.youtube.com/user/ece4760 2012-12-28T16:45:16 < Laurenceb_> looks like only 20ma from the datasheet 2012-12-28T16:45:29 < Laurenceb_> but that gives only 0.4v max voltage 2012-12-28T16:45:40 < Laurenceb_> and the other pins can be driven to 1.3v 2012-12-28T16:46:04 < Laurenceb_> so maybe you could push it harder 2012-12-28T16:46:14 < Thorn> they're using DE2 for the FPGA course and one of the labs is about the WM8731. the professor said "sometimes bit clock loses sync with LR clock and the only way to fix it is to cycle the power" 2012-12-28T16:47:03 < Thorn> hopefully (and likely) it's a bad terasic i2s core or something rather than a wm8731 problem 2012-12-28T16:50:32 < jpa-> we have used the DE2 audio codec in our university also, never had that kind of trouble.. but it could be that we didn't notice 2012-12-28T16:50:57 -!- LongChair [~IceChat77@dy869-1-82-228-24-205.fbx.proxad.net] has quit [Quit: Say What?] 2012-12-28T16:52:05 < Thorn> the professor says similar things about jitter in vga picture etc. it sounds like these problems are unfixable. not a good idea in an introductory fpga course imo 2012-12-28T16:54:00 <+Steffanx> I used that board too, but we only did the basic boring stuff 2012-12-28T16:54:39 <+Steffanx> Professors aren't always experts Thorn, don't forget that 2012-12-28T16:55:52 < Thorn> I remember that well from my university days lol. 2012-12-28T17:05:29 < dongs> http://www.ti.com/product/tps53125 cool 2012-12-28T17:07:47 < emeb_mac> hmm. Doubt that's an issue in the WM8731 - I've been using it for years and it behaves well. 2012-12-28T17:08:39 < jpa-> Thorn: perhaps it is an issue with the onboard 50MHz (or 27.xx MHz) clock options.. if they can't get exact clock for good VGA or audio signal, there is going to be jitter 2012-12-28T17:09:05 < Thorn> very likely actually 2012-12-28T17:10:55 < emeb_mac> I don't recall - do Cyclone FPGAs have a true PLL or just a DLL? 2012-12-28T17:11:23 < emeb_mac> Spartan 3 has only DLL and the jitter can be pretty bad. 2012-12-28T17:11:24 < Thorn> 2 plls 2012-12-28T17:17:34 < jpa-> true PLL, but can't remember the limits 2012-12-28T17:19:13 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Read error: Connection reset by peer] 2012-12-28T17:19:39 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-28T17:19:54 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-28T17:20:30 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-28T17:26:49 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-28T17:38:54 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e9:fb25:8458:dca6] has joined ##stm32 2012-12-28T17:39:04 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e9:fb25:8458:dca6] has quit [Remote host closed the connection] 2012-12-28T17:39:34 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e9:fb25:8458:dca6] has joined ##stm32 2012-12-28T17:40:08 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has joined ##stm32 2012-12-28T17:42:28 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e9:fb25:8458:dca6] has quit [Client Quit] 2012-12-28T17:44:56 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e9:fb25:8458:dca6] has joined ##stm32 2012-12-28T17:47:13 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-28T17:50:18 < emeb> be interesting to see if DFU works (on 303) - of course it works. I've tried it on the F3 disco. 2012-12-28T17:53:10 < emeb> that's why I was surprised when it _didn't_ work on the F373 2012-12-28T17:55:10 < emeb> aaaand AN2606 is still at rev 14.0... 2012-12-28T17:59:59 -!- Claude is now known as claude 2012-12-28T18:07:56 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has quit [Ping timeout: 245 seconds] 2012-12-28T18:17:06 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has joined ##stm32 2012-12-28T18:23:12 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:e9:fb25:8458:dca6] has quit [Quit: Yaaic] 2012-12-28T18:26:41 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has quit [Ping timeout: 245 seconds] 2012-12-28T18:31:39 -!- claude is now known as Claude 2012-12-28T19:04:08 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-28T19:06:06 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:d134:1f95:f4bb:22e8] has joined ##stm32 2012-12-28T19:07:26 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has joined ##stm32 2012-12-28T19:16:22 <+Steffanx> emeb, patience 2012-12-28T19:17:07 < emeb> is a virtue? 2012-12-28T19:17:35 <+Steffanx> Sure 2012-12-28T19:17:58 < Gargantuasauce> it is eventually a virtue 2012-12-28T19:18:10 < BrainDamage> Is a property, like steffanx.patience 2012-12-28T19:18:24 <+Steffanx> For me that's a nullreference pointer 2012-12-28T19:18:40 < BrainDamage> Delete stefanx; steffanx =0; 2012-12-28T19:19:09 <+Steffanx> stefanx :P 2012-12-28T19:19:30 -!- barthess [~barthess@5.100.194.184] has joined ##stm32 2012-12-28T19:19:44 < BrainDamage> Try typing With those horrible phone soft keybs 2012-12-28T19:19:50 <+Steffanx> So hows CCC today? 2012-12-28T19:20:51 < Gargantuasauce> pretty cool 2012-12-28T19:20:53 < BrainDamage> Morning talks still too political, i just saw a tamagotchi reverse engoneering which was actually quite ok 2012-12-28T19:21:12 < Gargantuasauce> she used an f4 to simulate some weird proprietary mask-rom 2012-12-28T19:21:37 < BrainDamage> She used a laurduino first 2012-12-28T19:21:43 < BrainDamage> But too slow 2012-12-28T19:22:19 <+Steffanx> Hmm, trollenceb should sue them for using a laurduino 2012-12-28T19:25:36 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-28T19:26:40 < BrainDamage> Gonna see smart meter hacking now 2012-12-28T19:28:42 <+dekar> You're all over here in Germany? :D 2012-12-28T19:29:02 <+Steffanx> italy -> germany isn't that far away 2012-12-28T19:29:03 < BrainDamage> Hamburg 2012-12-28T19:29:11 <+Steffanx> Shoud bring a visit too CCC too next year :P 2012-12-28T19:29:58 <+Steffanx> Hamburg is 'only' 10 hours by train :P 2012-12-28T19:30:10 < Gargantuasauce> was about 20 hours of flying for me 2012-12-28T19:30:10 <+Steffanx> 11 actually 2012-12-28T19:30:15 <+dekar> One of my co-workers asked me whether I wanted to come along and I was too lazy -.-" 2012-12-28T19:30:49 <+Steffanx> Yes you are 2012-12-28T19:31:47 < BrainDamage> You're canadian, everything Is 20 h fligt from you. Including civilization 2012-12-28T19:32:06 <+Steffanx> Whoa, you are from canada :S 2012-12-28T19:32:28 <+Steffanx> I think i could go by an air plane aswell 2012-12-28T19:43:50 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:d134:1f95:f4bb:22e8] has quit [Quit: Yaaic] 2012-12-28T19:44:11 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has quit [Ping timeout: 245 seconds] 2012-12-28T19:47:37 -!- _BJFreeman [~bjfree@87.sub-75-233-100.myvzw.com] has joined ##stm32 2012-12-28T19:58:20 -!- barthess [~barthess@5.100.194.184] has quit [Remote host closed the connection] 2012-12-28T20:02:26 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:1120:ea15:2681:4d45] has joined ##stm32 2012-12-28T20:03:07 < LeelooMinai> I have 3V voltage super-noisy on F0 Discovery board - is it me, or they are like that? 2012-12-28T20:13:20 < emeb> is the noisy voltage causing any problems? 2012-12-28T20:14:21 < LeelooMinai> Well, I was going to use it to power something om BB, but now I have doubts - the thing seems to jump a bit every time this big LED on the PCB blinks 2012-12-28T20:15:06 < LeelooMinai> Maybe I will just use separate regulator and connect to 5V 2012-12-28T20:16:37 < emeb> not a bad idea. the regulator on the F0 disco is fairly small to start out. probably only good for a few hundred ma. 2012-12-28T20:33:51 < jpa-> LeelooMinai: atleast the other discovery boards have a diode in series with the supply from the regulator.. that definitely causes it to vary with load changes 2012-12-28T20:41:07 < LeelooMinai> Right, well, I guess I will just not "borrow" that rail:) 2012-12-28T20:42:11 < emeb> some interesting stuff -> http://warrantyvoidifremoved.com/fileshare/portfolio-100dpi-optimised.pdf 2012-12-28T20:43:41 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2012-12-28T20:44:12 < emeb> although I have to say he sometimes seems to do things the hard way... 2012-12-28T20:47:05 -!- TeknoJuce [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has joined ##stm32 2012-12-28T20:47:05 -!- TeknoJuce [~TeknoJuce@bas1-london15-1168024657.dsl.bell.ca] has quit [Changing host] 2012-12-28T20:47:05 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-28T20:47:16 <+Steffanx> I like to do things the hard way too.. most of the time its unintentional :P 2012-12-28T20:47:30 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:1120:ea15:2681:4d45] has quit [Quit: Yaaic] 2012-12-28T20:48:09 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-12-28T20:51:45 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2012-12-28T20:52:24 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:d987:1a46:ac45:3499] has joined ##stm32 2012-12-28T20:56:57 < jpa-> some things are only worth doing in the hard way 2012-12-28T21:12:38 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-28T21:14:45 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:d987:1a46:ac45:3499] has quit [Quit: Yaaic] 2012-12-28T21:28:32 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:dd2b:19d6:657e:4d00] has joined ##stm32 2012-12-28T21:29:30 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:dd2b:19d6:657e:4d00] has quit [Client Quit] 2012-12-28T21:35:01 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2012-12-28T21:53:45 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-28T21:53:48 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-28T22:14:24 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 260 seconds] 2012-12-28T22:16:26 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-28T22:26:46 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-28T22:50:38 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-28T22:56:53 < Laurenceb_> http://www.raspberrypi.org/wp-content/uploads/2012/12/Jack.jpg 2012-12-28T22:56:59 < Laurenceb_> typically users.... 2012-12-28T22:57:57 < emeb> looks like that dude in "Raiders of the Lost Ark" right before his face melted off. 2012-12-28T23:04:22 <+Steffanx> and like trollenceb 2012-12-28T23:06:06 < baird> Looks jewish to all hell to me. 2012-12-28T23:06:54 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-28T23:08:54 <+Steffanx> like that matters :P 2012-12-28T23:09:07 < emeb> wtf does that even mean? 2012-12-28T23:09:41 <+Steffanx> what what? 2012-12-28T23:10:21 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2012-12-28T23:12:45 -!- Claude is now known as claude 2012-12-28T23:16:07 -!- carp3 [~carp3@151.245.38.145] has joined ##stm32 2012-12-28T23:16:50 < carp3> Hi, is it possible to use STM32F4DISCOVERY to program another stm32 chip ? using SWD port. 2012-12-28T23:17:08 < Rickta59> sure 2012-12-28T23:17:35 < Rickta59> i even used it to program an nxp lpc1114 2012-12-28T23:17:36 < carp3> but i cannot do this. 2012-12-28T23:17:59 < Rickta59> it is possible 2012-12-28T23:18:02 < Rickta59> check your setup 2012-12-28T23:18:17 < zyp> it's certainly possible 2012-12-28T23:18:46 < emeb> I do it often. 2012-12-28T23:20:26 < jpa-> carp3: pay attention to the NRST pin 2012-12-28T23:20:27 < zyp> I used to do it before I got a better swd adapter 2012-12-28T23:20:44 < Rickta59> which one is that zyp? 2012-12-28T23:21:28 < zyp> black magic probe 2012-12-28T23:21:48 < jpa-> carp3: basically, you need to 1) remove the 2 jumpers that bridge SWD to the onboard STM32F4 2) do not touch the single jumper that bridges power to STM32F4, otherwise NRST will be down and nothing will work 2012-12-28T23:23:06 < carp3> i'm confused . it recognize the chip ( STM32F407 ) but it fails at at programming. i connected each pin to my chip. should i take care of anything special ? a resistor or anything else ? 2012-12-28T23:23:53 < jpa-> fails how? 2012-12-28T23:24:21 < jpa-> should not need anything special, just SWDIO, SWCLK, GND, NRST connected directly 2012-12-28T23:24:41 < carp3> it says 'Core held in reset' or something like this. 2012-12-28T23:24:58 < jpa-> so NRST trouble.. measure with multimeter if the NRST pin is actually low 2012-12-28T23:25:33 < jpa-> and if it is, double-check that the onboard STM32F4 has power; it is in parallel with the NRST pin, so if it doesn't have power it pulls the NRST low for also external processor 2012-12-28T23:28:27 < carp3> without the jumper. it fails completely . 'No target connected' but with the jumper i can only read memory. i cannot flash it. 2012-12-28T23:29:03 < jpa-> ok, measure the NRST state 2012-12-28T23:30:26 < jpa-> also sometimes you may need to disconnect & reconnect the stlink from usb port and restart the st-link tool to recover from errors 2012-12-28T23:31:17 < carp3> i checked with oscilloscope . it's normally high. when i try to read it goes low. but when i try to write. nothing happens . 2012-12-28T23:32:12 < jpa-> hmm, sounds normal 2012-12-28T23:32:51 < jpa-> do you know whether the processor on your external board works? i.e. have you got any code running or connected to the bootloader? 2012-12-28T23:34:42 < carp3> i desoldered it and then soldered it to another stm32f4discovery board. it worked normally . 2012-12-28T23:35:07 < jpa-> uh 2012-12-28T23:35:32 < zyp> salvaging parts? :p 2012-12-28T23:35:51 < jpa-> what about the bootloader? it's more interesting whether it works on the board it is currently installed on :) 2012-12-28T23:39:40 < carp3> i don't know, i erased it completely when it was on the stm32f4discovery . and in my board both BOOT0 and BOOT1 are connected to GND with a 390Ohms resistor. and to VCC with a 10k resistor. 2012-12-28T23:40:25 < jpa-> well resistors are easy to change 2012-12-28T23:40:40 < Tectu> wtf... arm-none-eabi-gcc: error trying to exec 'cc1': 2012-12-28T23:40:44 < jpa-> or just add a jumper wire to vcc for a test 2012-12-28T23:44:15 < carp3> for normal operation i should just connect BOOT0 to GND ? 2012-12-28T23:44:40 < zyp> if you are never going to use the bootloader, that's fine 2012-12-28T23:45:38 < jpa-> but the bootloader is a nice way to check if your processor runs any code at all --- Day changed Sat Dec 29 2012 2012-12-29T00:15:31 < carp3> can someone share a minimal circuit design for stm32f4 ? i'm going crazy . 2012-12-29T00:19:21 < zyp> http://bin.jvnv.net/f/Kgy4D.png <- something like this? 2012-12-29T00:19:33 < zyp> apart from all the signals, it's pretty minimal 2012-12-29T00:24:59 < jpa-> doesn't vbat need to be connected to vdd also? 2012-12-29T00:27:07 < zyp> no 2012-12-29T00:28:01 < zippe> carp3: the STM32F4 Discovery schematic is pretty minimal. 2012-12-29T00:28:56 < zippe> carp3: just connect all the power signals to 3v3, all the grounds to ground. Put a pull-down resistor on Boot0 and a jumper to pull it high, then run the USART1 pins out to a header. 2012-12-29T00:29:15 < zippe> That will get you going - you can do it all dead-bug style if you like. 2012-12-29T00:31:53 < carp3> Here is my design. http://dl.dropbox.com/u/50968061/Sheet2.pdf i cannot program my chip 2012-12-29T00:32:11 < carp3> and R23 is 0ohm. 2012-12-29T00:33:00 < zippe> What 2012-12-29T00:33:04 < zippe> What is VCC? 2012-12-29T00:33:13 < zippe> That normally means 5V 2012-12-29T00:34:49 < carp3> it's 3.3v in my board. 2012-12-29T00:34:52 < zippe> R21 is probably too low 2012-12-29T00:35:00 < zippe> How are you pulling Boot0 high? 2012-12-29T00:35:12 < zippe> When you say "cannot program", how are you trying to program it? 2012-12-29T00:36:13 < carp3> i tried to use ST-Link from STM32F4Discovery board. i can read chip memory but i cannot program it. 2012-12-29T00:36:30 < emeb> yeah - R21 will put the voltage @ BOOT0 to 0.16V which will read as a logic 0 and your MCU will not boot normally. 2012-12-29T00:37:00 < zippe> emeb: actually, the way it's wired it will boot from flash 2012-12-29T00:37:16 < zippe> emeb: if the flash is empty, that usually means a very quick trip to lockup mode 2012-12-29T00:37:17 < emeb> derp 2012-12-29T00:37:45 < zippe> carp3: pull boot0 to VCC, power-cycle it and see if that helps 2012-12-29T00:37:47 < Thorn> Rickta59: you actually used st-link to program a NXP chip? 2012-12-29T00:38:31 < zippe> When you say "cannot program it", what are you trying to program? 2012-12-29T00:39:26 < emeb> what I want to know is how this circuit is built. 2012-12-29T00:39:26 < zippe> Reading what you wrote, I believe you said it worked when you flashed the same code to the F4 on the Discovery board? 2012-12-29T00:39:57 < zippe> carp3: one other thing to check; did you ever power this circuit up with FB1 missing? 2012-12-29T00:40:30 < zippe> If you apply power to the SoC with VDDA either open or pulled to ground, you will smoke the internal power supply in a bad way, and the chip will not work properly. 2012-12-29T00:40:49 < emeb> Another good diagnostic is to measure the voltage on the two VCAP bypass caps. 2012-12-29T00:41:23 < emeb> should be ~1.2V - if you don't see that then the internal regulators aren't starting. 2012-12-29T00:42:31 < jpa-> also.. not too many bypass caps 2012-12-29T00:43:14 < zippe> With so few I/Os wired up, it's probably OK 2012-12-29T00:43:59 < emeb> is R4 really necessary? 2012-12-29T00:44:02 < zippe> As long as C16 is reasonably close. 2012-12-29T00:44:13 < zippe> Depends on the crystal. 2012-12-29T00:44:23 < zippe> ST have an OK appnote on crystal/resonator selection 2012-12-29T00:44:33 < zippe> But you don't need/want the xtal for bringup purposes. 2012-12-29T00:44:44 -!- _BJFreeman [~bjfree@87.sub-75-233-100.myvzw.com] has quit [Ping timeout: 255 seconds] 2012-12-29T00:44:49 < carp3> i desoldered it and then soldered it to another stm32f4discovery board. it worked normally . so SoC is ok. 2012-12-29T00:45:05 < emeb> before you resoldered it... :P 2012-12-29T00:45:06 < jpa-> zippe: sheet 2 out of who knows how many.. all pins connected to labels 2012-12-29T00:45:23 -!- _BJFreeman [~bjfree@87.sub-75-233-100.myvzw.com] has joined ##stm32 2012-12-29T00:45:48 < zippe> ah, good point 2012-12-29T00:47:29 < emeb> verified all pins properly soldered? no opens / shorts / bridges? 2012-12-29T00:47:55 < carp3> st-link stucks at 'Flash Programming ' and then timeouts when BOOT1 is High. other functions such as Core reset and memory read works properly. 2012-12-29T00:48:46 < Thorn> there're no actual bypass capd on Vdd there 2012-12-29T00:48:50 < zippe> What does a scope on VCC show? How about on the VCAP pins? 2012-12-29T00:48:58 < zippe> Thorn: C15/C16 2012-12-29T00:49:08 < carp3> yeah i soldered them like hundred times. 2012-12-29T00:49:18 < Thorn> those are for Vbat 2012-12-29T00:49:32 < zippe> Thorn: they are connected between Vdd and ground 2012-12-29T00:49:45 < Thorn> need to see the layout 2012-12-29T00:49:57 < zippe> carp3: by 'scope' I mean oscilloscope 2012-12-29T00:50:17 < carp3> VCC is 3.4V with 20mv p-p ripple. 2012-12-29T00:50:21 < zippe> carp3: flash programming uses quite a lot of power; if the power supply is browning out, it will hang/fail 2012-12-29T00:50:28 < Thorn> depends on where they're located, but there's only one 0.1uF anyway 2012-12-29T00:50:40 < zippe> carp3: watch it while you're trying to program 2012-12-29T00:51:05 < zippe> carp3: or upload a program into SRAM that writes alternating 0xffff / 0x0000 to ports A-E 2012-12-29T00:51:21 < zippe> carp3: i.e. bang all the GPIOs up and down and watch the supply 2012-12-29T00:52:21 -!- carp3 [~carp3@151.245.38.145] has quit [Read error: Connection reset by peer] 2012-12-29T00:55:54 -!- carp3 [~carp3@151.245.38.145] has joined ##stm32 2012-12-29T00:56:11 < carp3> Sorry i lost my internet connection . 2012-12-29T00:56:20 < carp3> and VCAP1 is 1.36v with 80mv p-p ripple. and VCAP2 is 0. is it normal?? 2012-12-29T00:56:37 < jpa-> no, it is not normal 2012-12-29T00:56:42 < jpa-> sounds very bad, actually 2012-12-29T00:56:55 < emeb> that will definitely cause problems. 2012-12-29T00:57:08 < emeb> (ask me how I know :P ) 2012-12-29T00:57:18 < Thorn> what are correct values? Vdd and 1.8V resp.? 2012-12-29T00:57:31 < emeb> both about 1.3V 2012-12-29T00:57:45 < jpa-> VCAP1 and 2 both 1.2V or similar 2012-12-29T00:57:50 < jpa-> emeb: how do you know? :) 2012-12-29T00:58:02 < emeb> I said don't ask :) 2012-12-29T00:58:25 -!- BjoernC [~BjoernC@dyndsl-178-142-048-043.ewe-ip-backbone.de] has joined ##stm32 2012-12-29T00:58:27 < emeb> let's just say my soldering skills on 0.5mm pitch parts have improved lately. 2012-12-29T00:59:03 < jpa-> emeb: you said "ask" 2012-12-29T00:59:13 < emeb> I did 2012-12-29T00:59:16 < jpa-> :) 2012-12-29T00:59:17 < emeb> derp (again) 2012-12-29T01:00:16 * emeb blames oxygen deprivation and hypothermia - just got back from a bike ride in the cold. 2012-12-29T01:02:08 < carp3> i used 1uF for VCAPs but datasheet suggests 2.2uF, is it ok ? they are just stabilizer capacitors. right ? 2012-12-29T01:04:09 < emeb> best to go with what the datasheet says, 1uf might work but there would probably be excessive ripple and potential stability issues. 2012-12-29T01:04:24 < jpa-> carp3: stabilizer capacitors are very important with processors this fast 2012-12-29T01:04:39 < jpa-> but sounds like your situation is something worse 2012-12-29T01:04:45 < emeb> size is probably unrelated to the 0V reading you have. 2012-12-29T01:05:03 < emeb> check continuity, soldering, etc. 2012-12-29T01:05:11 < jpa-> it especially worries me that the pins have different voltages.. either something is soldered badly or burned 2012-12-29T01:05:41 < carp3> i resoldered C8 . it's now 1.36 2012-12-29T01:05:51 < emeb> \o/ 2012-12-29T01:06:10 < emeb> any change in programming? 2012-12-29T01:07:43 < carp3> still timeout on programming. i also checked uC VCC pin while programming . a little increase in ripple(80mv) but voltage is still 3.4v 2012-12-29T01:15:06 < jpa-> 1.36 V sounds awfully high 2012-12-29T01:17:58 < jpa-> datasheet specified 1.32 V max.. but perhaps your meter is just poorly calibrated 2012-12-29T01:17:58 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-29T01:22:13 < carp3> i used my oscilloscope to measure. it's probebly wrong . 2012-12-29T01:23:14 < Thorn> try with a DMM, oscilloscopes aren't accurate 2012-12-29T01:36:05 < Thorn> are Vcap1/2 connected internally btw? 2012-12-29T01:38:33 < Laurenceb_> http://i.imgur.com/VW2hM.jpg 2012-12-29T01:39:13 -!- Count_Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )] 2012-12-29T01:41:37 -!- carp3 [~carp3@151.245.38.145] has quit [Remote host closed the connection] 2012-12-29T01:44:16 < emeb> you'd think that would have a certain deterrent effect 2012-12-29T01:44:35 <+Steffanx> sick Laurenceb_ just sick 2012-12-29T01:44:49 <+Steffanx> probably some art crap, but still 2012-12-29T01:46:24 < emeb> Steffanx: all the goatse on this chl and that's what you call sick? 2012-12-29T01:46:48 < emeb> :) 2012-12-29T01:47:33 <+Steffanx> Most of the crap he posts is sick emeb 2012-12-29T01:48:44 < Laurenceb_> repost from /b/ 2012-12-29T01:50:25 < Rickta59> Thorn, yeah got the idea from here: https://forum.sparkfun.com/viewtopic.php?f=18&t=33398 2012-12-29T01:51:37 < Thorn> nice, thanks. could be useful 2012-12-29T02:02:29 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 255 seconds] 2012-12-29T02:36:01 < dongs> zyp: beep 2012-12-29T02:36:07 < zyp> hi 2012-12-29T02:36:15 < dongs> what is your bin.jvnv written in 2012-12-29T02:36:19 < zyp> python 2012-12-29T02:36:23 < dongs> ugh 2012-12-29T02:36:28 < zyp> http://cgit.jvnv.net/pyfbin 2012-12-29T02:37:04 < dongs> does it do binaries 2012-12-29T02:37:07 < dongs> and not just img 2012-12-29T02:37:12 < dongs> i.e. if i wanted to dump some .bin file 2012-12-29T02:37:14 < dongs> or zip etc 2012-12-29T02:37:23 < zyp> sure 2012-12-29T02:37:25 < dongs> ok 2012-12-29T02:37:44 < zyp> I think someone even put a windows iso somewhere on bin.jvnv.net :p 2012-12-29T02:37:51 < dongs> haha 2012-12-29T02:37:52 < dongs> ok 2012-12-29T02:39:27 < zyp> we originally made it for shit other than images, since imgur works fine for just images 2012-12-29T02:39:34 < dongs> Right 2012-12-29T02:40:26 < dongs> any instructions to set this shit up? 2012-12-29T02:41:36 < zyp> uh, I didn't write it 2012-12-29T02:41:41 < dongs> oh haha 2012-12-29T02:42:01 < zyp> my buddy both wrote and maintains it on the jvnv server 2012-12-29T02:42:35 < ds2> anyone have preferences for BLE radios? 2012-12-29T02:43:21 < zyp> it runs through fastcgi and requires a database, we're running it on postgres 2012-12-29T02:43:27 < dongs> oh 2012-12-29T02:44:06 < dongs> sorry, thats tooo much fail 2012-12-29T02:44:14 < dongs> python + lunox + postregs = zzzz 2012-12-29T02:44:19 < zyp> :p 2012-12-29T02:44:26 < dongs> still lookin for a light binary uploader thn. 2012-12-29T02:44:29 < dongs> dont wanna use filthy jap shit 2012-12-29T02:45:14 < zyp> we have a bunch of stuff running using the same infrastructure, so it's all nice 2012-12-29T02:48:16 < zyp> hmm, it's using sqlalchemy for database access, so it would probably run on other shit as well 2012-12-29T02:49:21 < dongs> yeah sorry i dont need 20 dependencies for shit ill never use 2012-12-29T02:49:28 < dongs> which is one of the big reasons I dont run lunix 2012-12-29T02:49:39 < zyp> :p 2012-12-29T02:51:08 <+Steffanx> One day dongs will become a real mac faq. With all the fancy .app applications 2012-12-29T02:52:46 < zyp> hmm, with fastcgi and sqlalchemy, it seems to be possible to run it with IIS and MSSQL :p 2012-12-29T02:53:29 < zyp> ah, it also contains internal webserver, so it can be run standalone 2012-12-29T02:53:49 < zyp> esp. if configured with sqlite :p 2012-12-29T02:54:00 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-29T02:58:44 < ds2> images stored with SQLlite? 2012-12-29T02:58:55 < dongs> i hope iut just stores bins on filesystem right... 2012-12-29T02:59:03 < ds2> isn't that like moving tons of bricks with a Yugo? 2012-12-29T02:59:57 < zyp> it's just for metadata 2012-12-29T03:00:18 < ds2> oh 2012-12-29T03:00:37 < zyp> like upload time and original filename 2012-12-29T03:00:41 < zyp> and user 2012-12-29T03:11:10 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-043.ewe-ip-backbone.de] has joined ##stm32 2012-12-29T03:11:16 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2012-12-29T03:12:06 -!- BjoernC [~BjoernC@dyndsl-178-142-048-043.ewe-ip-backbone.de] has quit [Ping timeout: 245 seconds] 2012-12-29T03:14:12 < Tectu> dongs 2012-12-29T03:14:32 < dongs> sup 2012-12-29T03:15:16 < Tectu> how's it blogging 2012-12-29T03:15:22 < dongs> bloggin' pretty hard 2012-12-29T03:15:34 < dongs> trying to figure out why vs2012 fucks shit that worked fine in 2010 2012-12-29T03:15:49 < dongs> seems solution is: install vs2010 2012-12-29T03:15:49 < dongs> :) 2012-12-29T03:15:56 < zyp> blame gcc 2012-12-29T03:16:27 <+Steffanx> and lunix 2012-12-29T03:16:42 <+Steffanx> and trollenceb 2012-12-29T03:16:44 <+Steffanx> _ 2012-12-29T03:16:46 < dongs> and opensauce 2012-12-29T03:22:08 -!- Gargantuasauce [~Gargantua@p5B03DA56.dip.t-dialin.net] has joined ##stm32 2012-12-29T03:24:35 < zyp> hmm, this is a pretty unproductive vacation 2012-12-29T03:24:48 < zyp> haven't written a line of code for the last week 2012-12-29T03:26:55 < ds2> how many lines do you write per week on average? 2012-12-29T03:27:34 < dongs> in case of Laurenceb the statistic would be faps per week 2012-12-29T03:28:20 < zyp> ds2, I'm not counting 2012-12-29T03:31:30 < Gargantuasauce> thee real metric to use is lines of code per fap 2012-12-29T03:31:41 < Gargantuasauce> i average 12 2012-12-29T03:32:57 < dongs> what the hell 2012-12-29T03:32:58 < zyp> well, I haven't fapped for the last week either, how do I compute 0/0? 2012-12-29T03:33:02 < dongs> im reading i2c from some i2c eeprom 2012-12-29T03:33:11 < dongs> and doing so makes audible noise from the device 2012-12-29T03:33:30 < Gargantuasauce> is it drawing more current than it should be? 2012-12-29T03:34:32 < zyp> strong pullups causing a lot of current to drive it down? 2012-12-29T03:35:03 < qyx_> maybe not configured as open-drain? 2012-12-29T03:35:38 -!- BrainDamage [~yaaic@p5B03DA56.dip.t-dialin.net] has joined ##stm32 2012-12-29T03:36:44 < ds2> maybe it is a stateful acoustic output device and not a eeprom? 2012-12-29T03:37:57 < Gargantuasauce> yeah perhaps its nonvolatile storage is in fact a secondary feature 2012-12-29T03:39:41 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-043.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-29T03:39:51 <+Steffanx> I think it's someone that's trying to contact you dongs. Perhaps the same one who messes with your dk orders 2012-12-29T03:40:42 <+Steffanx> Record the noise and ask your buddies to decipher it 2012-12-29T03:41:07 < zyp> audibly noisy circuits are not that rare 2012-12-29T03:41:36 < zyp> currents create magnetic fields, creating forces 2012-12-29T03:44:16 < ds2> impossible... transformers never ever hum... 2012-12-29T03:45:33 -!- BrainDamage [~yaaic@p5B03DA56.dip.t-dialin.net] has quit [Quit: Yaaic] 2012-12-29T03:47:51 <+Steffanx> They do, but that's cosmic interference ds2 2012-12-29T03:50:36 <+Steffanx> or is that a local thing? 2012-12-29T03:52:45 < zippe> zyp: I took a bunch of work to hawaii, and then to vegas, and got none of it done 2012-12-29T03:52:51 < zippe> I think that's what vacation is about 2012-12-29T03:53:05 < zyp> :) 2012-12-29T03:56:45 <+Steffanx> And you evne took the work with you zippe ? :) 2012-12-29T03:57:31 <+Steffanx> You doesn't know yourself well enough yet i guess :P 2012-12-29T03:58:11 <+Steffanx> *don't 2012-12-29T03:59:59 < zyp> I brought my f4 board to japan 2012-12-29T04:00:18 < zyp> I wrote a few lines one evening I was bored 2012-12-29T04:00:31 < zyp> then lost them when the SSD in my laptop died :p 2012-12-29T04:07:56 < zyp> but it was just some simple code to read the UBX messages from the onboard GPS and pass them on to USB, and I got bored with that when I realized that it weren't getting any lock inside the hotel even though I was on the top floor 2012-12-29T04:08:21 < zyp> it got time lock but not any position 2012-12-29T04:11:07 < qyx_> hm, digikey charges 60$ for shipping to eu under 200$? 2012-12-29T04:12:11 < zyp> depends 2012-12-29T04:12:38 < zyp> it's $30-40 to norway, and free shipping limit is around $100 2012-12-29T04:14:28 < qyx_> i need only 50pcs of te-connectivity plugs :/ 2012-12-29T04:14:55 < qyx_> thats around 15e including pins 2012-12-29T04:15:48 < zyp> my last digikey order was $400 or so 2012-12-29T04:15:58 < zyp> parts for three different designs and then some 2012-12-29T04:16:17 < qyx_> i have never ordered anything from them 2012-12-29T04:16:18 -!- _BJFreeman [~bjfree@87.sub-75-233-100.myvzw.com] has quit [Ping timeout: 252 seconds] 2012-12-29T04:18:07 < zyp> next time I need something but not enough to fill the $100 limit I'm gonna get a bunch of these: http://www.digikey.no/product-detail/en/NC1B/290-1106-ND/299987 2012-12-29T04:19:26 < qyx_> 50e? 2012-12-29T04:19:28 < zyp> they look useful, but expensive, and I don't have any immediate need for them, so they are nice for just bumping the order over the limit 2012-12-29T04:19:28 < qyx_> ah nok 2012-12-29T04:20:27 < zyp> I can get four of them for what shipping otherwise would cost 2012-12-29T04:33:29 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-29T04:37:30 -!- _BJFreeman [~bjfree@69.sub-75-196-6.myvzw.com] has joined ##stm32 2012-12-29T04:42:33 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-29T04:43:54 -!- _BJFreeman [~bjfree@69.sub-75-196-6.myvzw.com] has quit [] 2012-12-29T04:44:16 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-29T04:45:01 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-29T04:59:27 < dongs> Subject: attention! your limited paypal account has-beens! 2012-12-29T04:59:34 < dongs> totally legit 2012-12-29T04:59:38 < dongs> clicking and entering all my paypal info asap 2012-12-29T05:00:18 < dongs> http://paypal.com.cgi.bin.webscr.cmd.login.submit.dispatch.588d80a13c0db1f8e263663d3faee8db2b24f7b84f1819343fd6c338b1d9usx.bto.cl/paypal.fr/paypal.fr/ 2012-12-29T05:03:37 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-12-29T05:03:50 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-29T05:04:28 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-29T05:05:43 < emeb_mac> lol 2012-12-29T05:06:05 < dongs> lol, once you enter login info 2012-12-29T05:06:10 < dongs> it shows totally legit paypal "logging in" page 2012-12-29T05:06:17 < dongs> then asks you for all your info, cc#, bank account etc 2012-12-29T05:06:21 < dongs> awesome. 2012-12-29T05:07:04 < emeb_mac> wonder how many n00bs they've fished in so far. 2012-12-29T05:08:20 < dongs> and 2012-12-29T05:08:24 < dongs> after you enter all teh shit 2012-12-29T05:08:29 < dongs> it bounces back to *real* pypal login screen 2012-12-29T05:08:38 < dongs> perhaps with the "entered" pass 2012-12-29T05:08:45 < dongs> so if I used legit info, I think it would actually sign me in 2012-12-29T05:08:52 < dongs> making the entire experience totally legit. 2012-12-29T05:08:55 < dongs> thats one of hte better ones ive seen. 2012-12-29T05:09:44 < dongs> hm 2012-12-29T05:11:23 < emeb_mac> oh those tricksy chileans. 2012-12-29T05:12:11 < dongs> haa 2012-12-29T05:12:13 < dongs> ha 2012-12-29T05:13:35 < emeb_mac> dongs: did you get your F303s from china? 2012-12-29T05:14:02 < dongs> no, niggers fucked around with pickup/ then fedex and now they're on "holiday" until like jan 2 2012-12-29T05:14:10 < dongs> im gonna rip them a new assole real soon 2012-12-29T05:14:37 < dongs> this is fucking bullshit, ive never had so much logistic fail with any order 2012-12-29T05:14:51 < dongs> digikey fucks up, SECOND digikey shipment gets routed to tokyo by mistake, chinks fail to ship shit on time etc 2012-12-29T05:14:54 < dongs> what the FUCK 2012-12-29T05:15:04 < dongs> the whole world is trying to troll me out of having F303s 2012-12-29T05:15:14 < emeb_mac> it's a vast conspiracy 2012-12-29T05:56:18 -!- cjbaird [~cjb@ppp121-44-152-105.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-29T05:56:35 -!- baird [~cjb@ppp121-44-153-85.lns20.syd7.internode.on.net] has quit [Ping timeout: 255 seconds] 2012-12-29T05:58:02 < dongs> (when (and (boundp 'epg-epg-1ch-top-frame)(frame-mapped-p epg-epg-1ch-top-frame))(unmap-frame 'epg-epg-1ch-top-frame)(setf epg-epg-1ch-top-frame nil)(ext-epg-epg-redraw-title)) 2012-12-29T06:04:39 < zyp> you get epg in emacs now? 2012-12-29T06:05:02 < zyp> no wonder people call it bloated 2012-12-29T06:06:12 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 248 seconds] 2012-12-29T06:08:04 * emeb_mac revises the F3 breakout for the F303 2012-12-29T06:10:23 < emeb_mac> kinda sad that there aren't very many low-functionality pins on the lqfp48 for use in driving LEDs. 2012-12-29T06:20:33 -!- cjbaird is now known as baird 2012-12-29T06:20:39 < zyp> and the ones with low functionality is in the backup domain :p 2012-12-29T06:27:59 < emeb_mac> yeah. no good for LEDs. 2012-12-29T06:28:30 < emeb_mac> well, they work if you dial the current way down as on the previous board, but not ideal. 2012-12-29T06:30:00 < zyp> on the lpc board I put the leds on high drive pins 2012-12-29T06:30:40 < zyp> but I would assume normal drive pins would be sufficient really 2012-12-29T06:32:22 < dongs> you didnt put them on PWM outputs? :( 2012-12-29T06:32:26 < dongs> how am i gonna macfagpulse them 2012-12-29T06:33:21 < emeb_mac> bitbang all the things 2012-12-29T06:34:42 < dongs> my area is fine 2012-12-29T06:34:42 < dongs> we dont have gang/gun issues 2012-12-29T06:34:42 < dongs> my area has gang/nam issues 2012-12-29T06:35:14 < emeb_mac> har 2012-12-29T06:36:22 < zyp> actually both P2_3 and P2_4 are timer outputs 2012-12-29T06:36:42 < zyp> PA_3 is not 2012-12-29T06:37:59 < zyp> hmm 2012-12-29T06:38:07 < zyp> I suspect I've labelled them incorrectly 2012-12-29T06:38:46 < zyp> or not, I'm just not thinking clearly 2012-12-29T06:39:20 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 255 seconds] 2012-12-29T06:41:32 < dongs> so my misrouted F303 wont be here until tomrorow.. 2012-12-29T06:41:37 < dongs> such a fail :) 2012-12-29T06:42:01 < emeb_mac> blame it on newyears 2012-12-29T06:42:21 < zyp> hmm 2012-12-29T06:42:55 < zyp> high drive pins can apparently drive up to 165 mA in «ultra-high drive mode» according to datasheet 2012-12-29T06:43:03 < dongs> on what, the lpc? 2012-12-29T06:43:19 < zyp> uh 2012-12-29T06:43:26 < zyp> that's short circuit current 2012-12-29T06:43:48 < zyp> normal drive current in that mode is 20 mA 2012-12-29T06:44:00 < dongs> the FM+ shit pins on STM32? 2012-12-29T06:44:27 < zyp> no, lpc 2012-12-29T06:44:53 < dongs> 20mA drive current is avrland. 2012-12-29T06:44:55 < zyp> normal pins can drive 6 mA, high drive pins can drive up to 20 mA 2012-12-29T06:44:59 < dongs> not impressed at all 2012-12-29T06:45:00 < dongs> oh 2012-12-29T06:45:03 < dongs> really, that shity? 2012-12-29T06:45:47 < dongs> i wonder if highdrive stuff has multiple wire bonds going to it 2012-12-29T06:46:02 < dongs> i could do another film xray with high resolution and check it out 2012-12-29T06:47:17 < zyp> high speed pins can apparently drive 8 mA 2012-12-29T06:48:01 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-29T06:48:07 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-29T06:48:29 < emeb_mac> seems weaker than what I remember for stm32 2012-12-29T06:48:42 -!- baird is now known as cjbaird_away 2012-12-29T06:52:13 < zyp> not sure if it's supposed to be a hard limit, it's worded as max current that can be driven with an internal voltage drop of no more than 0.4V 2012-12-29T06:54:08 -!- Gargantuasauce_ [~Gargantua@p4FCAD24F.dip.t-dialin.net] has joined ##stm32 2012-12-29T06:57:03 < zyp> for f4, the limit is 25mA 2012-12-29T06:58:13 -!- Gargantuasauce [~Gargantua@p5B03DA56.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 2012-12-29T06:59:00 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-29T07:02:00 < zippe> Generally you don't want to drive that sort of current with pads anyway 2012-12-29T07:02:19 < zippe> You can get a perfectly good LED to eye-pain brightness with 2-3mA 2012-12-29T07:02:39 < zippe> Any more than that and you really want a driver with better ESD and back-EMF protection than you can build on the SoC process 2012-12-29T07:03:08 < zippe> Doing big FETs is hard with thin metal layers 2012-12-29T07:03:20 < zippe> and thin silicon layers 2012-12-29T07:04:10 < zyp> true 2012-12-29T07:04:30 < zippe> It takes huge amounts of area to get the current capacity, and for very little benefit 2012-12-29T07:04:58 < zippe> There are plenty of good drivers out there if you want them 2012-12-29T07:05:10 < zippe> Cheap, small, etc. 2012-12-29T07:05:51 < zippe> LVC8T245 for example 2012-12-29T07:06:22 < dongs> 24 pins for 8bits? 2012-12-29T07:06:25 < dongs> seems a bit excessive 2012-12-29T07:07:42 < zippe> 16 pins for data, three pins for power, one for direction. That's 20 right there. 2012-12-29T07:08:01 -!- jef79m is now known as jef79m_lurking 2012-12-29T07:09:16 < zippe> If you want tristate, that's 21 and the next package up is going to have 24 pins. 2012-12-29T07:09:54 < zippe> Sensibly, the TI pinout spends the spare three pins on two extra grounds and an extra high-voltage supply pin 2012-12-29T07:10:09 < zippe> It still maxes out at 100mA DC source total 2012-12-29T07:10:28 < zippe> Per power pin 2012-12-29T07:10:38 < zippe> 50mA per I/O 2012-12-29T07:10:50 < zippe> So you can e.g. source 200mA high-side, or sink 300mA total. 2012-12-29T07:10:59 < zippe> That's not too shabby an upgrade. 2012-12-29T07:13:14 < zippe> It also means it has a hope of driving fairly bad wires, like e.g. servo runs 2012-12-29T07:13:25 < dongs> zippe, what does this do on DeadBSD bash? : set -o pipefail; false | true; echo $? 2012-12-29T07:14:59 < zippe> Looks like a test to see whether the pipefail option is supported 2012-12-29T07:16:46 <+dekar> dongs, which BSD is dead? 2012-12-29T07:16:50 < dongs> dekar: all of htem 2012-12-29T07:16:56 <+dekar> :D 2012-12-29T07:16:59 < dongs> zippe, do you know anything about MN10300 2012-12-29T07:17:10 < zippe> dongs: bash is pretty portable/standard 2012-12-29T07:17:21 < zippe> so it'd be the same everywhere. 2012-12-29T07:17:24 < dongs> ok 2012-12-29T07:17:45 < zippe> It's an odd thing to do though; there are better ways 2012-12-29T07:17:55 < zippe> So I'm wondering if there isn't something else you could do 2012-12-29T07:18:04 < dongs> 14:08 < Simon> sets it to what the default maybe should be, and as it works in (t)csh, etc.. fail if anything in a pipeline fails 2012-12-29T07:18:07 < dongs> 14:08 < Simon> my build isn't stopping on error because the asm fails but the grep -v succeeds 2012-12-29T07:18:12 <+dekar> http://mirror.fem-net.de/CCC/29C3/mp4-h264-HQ/ 2012-12-29T07:18:12 < zippe> basically, false | true would normally set $? to the result of 'true'. 2012-12-29T07:18:25 < zippe> setting the pipefail option would capture the result of 'false' instead. 2012-12-29T07:18:29 < dongs> right 2012-12-29T07:18:39 < dongs> thats what hes trying to do 2012-12-29T07:19:01 < zippe> what is he trying to do? 2012-12-29T07:19:11 < dongs> < Simon> my build isn't stopping on error because the asm fails but the grep -v succeeds 2012-12-29T07:19:14 < dongs> ^ that. 2012-12-29T07:19:26 < zippe> yeah, sorry, I meant "what is 'the asm'" etc. 2012-12-29T07:19:30 < dongs> oh 2012-12-29T07:19:31 < dongs> simonk firmware 2012-12-29T07:19:34 < dongs> avrshite 2012-12-29T07:19:42 < zippe> yeah, is there a link somewhere to the command(s)? 2012-12-29T07:20:16 < zippe> e.g. is it on a branch or something? 2012-12-29T07:20:20 < zippe> In a repo somewhere? 2012-12-29T07:20:38 < dongs> shjould be in his github 2012-12-29T07:20:39 < dongs> sec 2012-12-29T07:20:41 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2012-12-29T07:20:47 < dongs> https://github.com/sim-/tgy i guess 2012-12-29T07:20:56 < Simon--> 32 bits is like, way too much 2012-12-29T07:21:42 < Simon--> it's just a hack. next stop is hacking the assembler 2012-12-29T07:23:08 < dongs> why are you grepping that shit out anyway 2012-12-29T07:23:17 < dongs> does it spit a screenful of warnings? 2012-12-29T07:28:22 < dongs> so zippe, mn10300, ring a bell? 2012-12-29T07:43:19 < zippe> dongs: doesn't ring a bell; Wikipedia doesn't shake anything much loose 2012-12-29T07:43:50 < dongs> it runs deadbsd, i figured you'd know 2012-12-29T07:44:57 < zippe> There's a linnex port too 2012-12-29T07:45:07 < zippe> Panasonic's site is not very informative 2012-12-29T07:45:20 < zippe> Apparently the compiler has a register allocator, and there's a dedicated branch register 2012-12-29T07:46:20 < zippe> It seems a bit register-starved by modern standards 2012-12-29T07:46:50 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2012-12-29T07:48:55 < dongs> flagship japanese SoC for digital tv it seems 2012-12-29T07:49:03 < dongs> with most of UI written in.. LISP 2012-12-29T07:50:25 < zippe> Weird. 2012-12-29T07:51:50 < zippe> To run vanilla linux you need an MMU, but nothing I'm seeing here suggests one is supported 2012-12-29T07:54:46 < zippe> Can't get a real datasheet without pretending to be a customer/ 2012-12-29T07:55:41 < dongs> my pal im playing with on this stuff grabbed the ISA doc yesterday but yeah, thre's no datasheet for this stuff at all 2012-12-29T07:55:56 < dongs> i dont think anyone outside panasonic actually uses them (they use this shit in all their tvs/setopboxes though0 2012-12-29T08:00:53 < dongs> https://www.redhat.com/archives/linux-am33-list/2012-March/msg00006.html 2012-12-29T08:00:57 < dongs> apprently it has mmu, no idea 2012-12-29T08:01:22 < dongs> I guess with deadBSD they don't have to contribute the sores back ,right? 2012-12-29T08:07:23 < Simon--> avra doesn't support #pragma but with relative wrapping jmps, the only way I can make it build everywhere is to put them in an grep -v the warnings 2012-12-29T08:14:27 < zippe> Simon--: sorry, you're trying to filter warnings generated by one assembler so that the output looks nice? 2012-12-29T08:14:46 < zippe> Simon--: or to check for other warnings that might be bad? 2012-12-29T08:16:21 < Simon--> just filter out unimplemented #pragma warnings only. but then make started not noticing errors because of the base default to not set "pipefail" 2012-12-29T08:16:37 < Simon--> s/base/bash/ 2012-12-29T08:17:12 < zippe> Ok, and you're not using a preprocessor? 2012-12-29T08:17:21 < zippe> i.e. you can't wrap your pragmas in macros? 2012-12-29T08:17:48 < Simon--> no preprocessor in avra 2012-12-29T08:18:34 < Simon--> plus the file is effectively "upstream" if I don't dick with it 2012-12-29T08:18:47 < zippe> Well, you're assuming grep, so can you assume cpp? 2012-12-29T08:18:51 < Simon--> anyway, it's in a state that should be fixed by future release anyway 2012-12-29T08:19:27 < Simon--> grep on avra output, not its input.. 2012-12-29T08:19:38 < Simon--> I'm pretty sure avra expects to be able to seek to do multiple passes, etc.. 2012-12-29T08:19:51 < zippe> cat file | grep -v \^#pragma | avra ... 2012-12-29T08:20:00 < zippe> Ok, and you don't want to generate an intermediate file? 2012-12-29T08:20:13 < Simon--> any other method is likely more complicated than this.. ;) 2012-12-29T08:20:48 < Simon--> avra from stdin doesn't work. using temp files affects output names and parameters to change them aren't implemented. etc... 2012-12-29T08:21:34 < zippe> The pragmas are there for other assemblers? 2012-12-29T08:21:37 < Simon--> this tool is likely used by about 5 people and 1 or 2 actually commit changes to it 2012-12-29T08:21:41 < Simon--> yeah 2012-12-29T08:22:00 < Simon--> closed sores Atmel assembler stuff 2012-12-29T08:22:12 < zippe> Hmm. Still sounds to me like you want a primitive preprocessor pass that strips this stuff out. 2012-12-29T08:22:27 < zippe> Generate a sensibly-named intermediate, assemble that, then rename the product. 2012-12-29T08:22:41 < Simon--> the makefile currently also supports the atmel assembler via wine ;) 2012-12-29T08:23:12 < zippe> Heh. I was trying to do that with the Zilog tools, but they seem determined to create windows 2012-12-29T08:23:24 < Simon--> or I could just submit a patch to avra to actually implement the dang stuff 2012-12-29T08:23:25 < zippe> And I couldn't work out how to suppress that 2012-12-29T08:43:45 -!- cjbaird_away is now known as baird 2012-12-29T08:49:38 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2012-12-29T09:10:04 -!- jef79m_lurking is now known as jef79m 2012-12-29T09:15:51 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-29T09:16:58 < qyx_> avra? 2012-12-29T09:36:52 -!- Thorn [~Thorn@2.92.117.63] has joined ##stm32 2012-12-29T09:36:53 -!- Thorn [~Thorn@2.92.117.63] has quit [Changing host] 2012-12-29T09:36:53 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-29T09:37:24 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-29T09:48:49 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 265 seconds] 2012-12-29T10:30:33 -!- jef79m is now known as jef79m_lurking 2012-12-29T10:37:20 -!- jef79m_lurking is now known as jef79m 2012-12-29T10:55:25 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-29T11:15:43 -!- jef79m is now known as jef79m_lurking 2012-12-29T11:19:26 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-29T11:19:53 -!- jef79m_lurking is now known as jef79m 2012-12-29T11:24:01 -!- jef79m is now known as jef79m_lurking 2012-12-29T11:28:50 -!- BrainDamage [~yaaic@p4FCAD24F.dip.t-dialin.net] has joined ##stm32 2012-12-29T11:54:07 -!- BrainDamage [~yaaic@p4FCAD24F.dip.t-dialin.net] has quit [Quit: Yaaic] 2012-12-29T12:33:50 -!- claude is now known as Claude 2012-12-29T12:48:51 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 260 seconds] 2012-12-29T13:07:42 -!- BrainDamage [~yaaic@p4FCAD24F.dip.t-dialin.net] has joined ##stm32 2012-12-29T13:28:44 -!- Gargantuasauce_ [~Gargantua@p4FCAD24F.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 2012-12-29T13:48:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-29T13:48:23 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-29T13:57:09 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-29T14:07:17 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-12-29T14:08:48 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Disconnected by services] 2012-12-29T14:08:50 -!- dongs_ is now known as dongs 2012-12-29T14:08:57 < dongs> lol dongs 2012-12-29T14:11:19 -!- BjoernC [~BjoernC@dyndsl-178-142-057-147.ewe-ip-backbone.de] has joined ##stm32 2012-12-29T14:16:34 < dongs> lol wth 2012-12-29T14:16:37 < dongs> im looking at this board 2012-12-29T14:16:47 < dongs> and they put USB signal through board like 8 times 2012-12-29T14:17:42 <+Steffanx> :D 2012-12-29T14:17:58 -!- BrainDamage [~yaaic@p4FCAD24F.dip.t-dialin.net] has quit [Quit: Yaaic] 2012-12-29T14:20:09 < dongs> even better, once it goes *away* from the chip its connecting to. 2012-12-29T14:20:16 < dongs> makes sorta a loop around the socket itself 2012-12-29T14:20:51 <+Steffanx> And it works? 2012-12-29T14:21:00 < dongs> ya seems so 2012-12-29T14:21:12 -!- BjoernC [~BjoernC@dyndsl-178-142-057-147.ewe-ip-backbone.de] has quit [Ping timeout: 264 seconds] 2012-12-29T14:22:57 -!- BjoernC [~BjoernC@dyndsl-178-142-057-147.ewe-ip-backbone.de] has joined ##stm32 2012-12-29T14:27:46 -!- BjoernC [~BjoernC@dyndsl-178-142-057-147.ewe-ip-backbone.de] has quit [Ping timeout: 250 seconds] 2012-12-29T14:47:11 < Thorn> dongs: do you do 4 layer pcbs btw? 2012-12-29T14:47:18 < dongs> yeah 2012-12-29T14:47:41 < Thorn> cool 2012-12-29T14:47:41 < dongs> 4L, especially production (1m^2+) is where my shit is awesome 2012-12-29T14:48:19 < dongs> http://i.imgur.com/lPmm5.jpg fun rework 2012-12-29T14:51:44 < Thorn> wth is that on the left of the memory chip, resistor network? it seems to touch the pins, no space between them at all 2012-12-29T14:52:46 < dongs> yeah, its not mounted, its going into the pads below 2012-12-29T14:53:06 < Thorn> ah 2012-12-29T15:01:23 < dongs> http://i.imgur.com/Y2ijr.jpg tada. 2012-12-29T15:03:46 < Thorn> what is the bga chip? 2012-12-29T15:04:43 <+Steffanx> which one :P 2012-12-29T15:05:26 < Thorn> I see Panasonic on it 2012-12-29T15:13:42 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has joined ##stm32 2012-12-29T15:17:16 -!- BjoernC [~BjoernC@dyndsl-178-142-057-147.ewe-ip-backbone.de] has joined ##stm32 2012-12-29T15:48:46 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has quit [Ping timeout: 245 seconds] 2012-12-29T15:53:24 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has joined ##stm32 2012-12-29T15:57:36 -!- BjoernC [~BjoernC@dyndsl-178-142-057-147.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-29T15:57:37 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:682e:19f5:6cf:be29] has joined ##stm32 2012-12-29T15:58:00 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:682e:19f5:6cf:be29] has quit [Client Quit] 2012-12-29T16:08:46 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has quit [Ping timeout: 245 seconds] 2012-12-29T16:10:57 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has joined ##stm32 2012-12-29T16:18:57 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:f95b:c32a:39d8:4046] has joined ##stm32 2012-12-29T16:19:35 -!- barthess [~barthess@185.6.24.191] has joined ##stm32 2012-12-29T16:24:39 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-29T16:29:36 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-29T16:35:50 < baird> lol NetBSD: http://www.netbsd.org/donations/ 2012-12-29T16:43:25 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:f95b:c32a:39d8:4046] has quit [Quit: Yaaic] 2012-12-29T16:44:36 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has quit [Ping timeout: 245 seconds] 2012-12-29T16:50:14 -!- zlog_ [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-29T16:50:26 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Ping timeout: 245 seconds] 2012-12-29T16:50:51 -!- zlog_ [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2012-12-29T16:51:06 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-29T16:51:23 <+Steffanx> lol baird 2012-12-29T16:51:34 <+Steffanx> : www.google.com 2012-12-29T17:09:34 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-29T17:10:45 < dongs> wat 2012-12-29T17:10:49 < dongs> google looks fine to me 2012-12-29T17:14:55 <+Steffanx> That's my point. :P 2012-12-29T17:15:27 < zyp> your point is broken 2012-12-29T17:16:10 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-29T17:19:56 < emeb_mac> sharpen that point 2012-12-29T17:25:05 < dongs> i think hes trying to say NetBSD is deader than *BSD 2012-12-29T17:27:05 < baird> You cannot kill that which has no life. 2012-12-29T17:27:19 < emeb_mac> why does anyone care about BSD at this point? 2012-12-29T17:28:14 < emeb_mac> baird: that is not dead which can eternal lie, and through strange aeons even death may die. 2012-12-29T17:29:21 <+Steffanx> indeed, what emeb_mac said zyp :P 2012-12-29T17:31:17 < baird> Trying to remember the keywords for the recently-discovered lifeform that survived on something like 1/10,000th the energy needs of most things.. 2012-12-29T17:32:00 < emeb_mac> the ones they found living inside rocks buried deep? 2012-12-29T17:32:49 < baird> Searching with ~300 pixiv pages already open is slowing things down a little.. 2012-12-29T17:37:33 < baird> \o/ .. https://upload.wikimedia.org/wikipedia/en/5/5f/Baird_experimental_broadcast.jpg 2012-12-29T17:44:42 <+Steffanx> uh ? 2012-12-29T17:44:59 < dongs> probably some furry tv show 2012-12-29T17:49:35 < baird> ..from 1926 2012-12-29T17:50:55 <+Steffanx> You would almost thing there are more people in this universe with the name 'Baird' 2012-12-29T17:51:00 <+Steffanx> *think 2012-12-29T17:54:28 < baird> We kinda all srpung from a small Scottish clan. Supposedly I'm distantly related to J.L. (great-great-3rd-uncle?) 2012-12-29T17:57:00 < baird> What worried me more is that my Granfather's brother moved to the States, so its unknown about my linage to Diora Baird (the green chick in the Star Trek movie). The truma of not knowing if it's incest or not to oogle her every time my housemate rewatches the movie and points her out. :/ 2012-12-29T18:07:19 < emeb_mac> baird: why worry - there are some locales where kissin' cousins aren't considered incest. 2012-12-29T18:07:48 < emeb_mac> of course those places tend to favor banjo music... 2012-12-29T18:21:56 < baird> Nice Korea has a law about not allowing marriages between people with the same surname? 2012-12-29T18:23:02 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-29T18:27:37 < emeb_mac> I've heard that. Also, there are very few (like ~30) Korean surnames, so that limits the field somewhat. 2012-12-29T18:29:00 -!- _BJFreeman [~bjfree@91.sub-75-233-146.myvzw.com] has joined ##stm32 2012-12-29T18:30:13 -!- _BJFreeman [~bjfree@91.sub-75-233-146.myvzw.com] has quit [Client Quit] 2012-12-29T18:30:41 -!- _BJFreeman [~bjfree@91.sub-75-233-146.myvzw.com] has joined ##stm32 2012-12-29T18:34:37 -!- baird [~cjb@ppp121-44-152-105.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-29T18:47:16 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 248 seconds] 2012-12-29T18:47:30 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-29T18:51:13 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-29T18:51:57 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-29T18:52:56 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-29T19:05:52 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has left ##stm32 [] 2012-12-29T19:09:19 < dongs> http://i.imgur.com/gpytq.jpg had to retweet this 2012-12-29T19:22:13 <+Steffanx> Why I get the name of a certain person in my had when i read that dongs? :P 2012-12-29T19:22:45 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-29T19:24:58 < dongs> who would thta be? 2012-12-29T19:25:01 < dongs> Laurenceb_? 2012-12-29T19:25:24 <+Steffanx> Yes, that's him 2012-12-29T19:26:37 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-29T19:27:01 <+Steffanx> *it 2012-12-29T19:28:41 < Laurenceb_> well i do a lot more work than some people on here... 2012-12-29T19:29:32 < jpa-> all work and no space makes trollenceb a dull boy 2012-12-29T19:30:07 < Laurenceb_> trolling is my play 2012-12-29T19:30:15 <+Steffanx> I guess you mean me Laurenceb_. How can you tell when you have no idea WHAT i do :P 2012-12-29T19:30:29 < jpa-> (btw, why are we always picking on Laurenceb? :) 2012-12-29T19:31:03 <+Steffanx> Good question. Can't answer it for you 2012-12-29T19:34:48 <+Steffanx> So you mean we now should replace every sentence with trollenceb/laurenceb* with 'jpa-', jpa- ? 2012-12-29T19:34:58 < zyp> because Steffanx is never even attempting anything, so we can't pick on him for failing 2012-12-29T19:35:34 <+Steffanx> Sure sure. Another one who doesn't know anything:) 2012-12-29T19:36:08 < zyp> either that or he never tells us about all his failing 2012-12-29T19:36:22 < jpa-> Steffanx: sure 2012-12-29T19:36:47 < jpa-> i'm not sure if Steffanx has ever even actually used stm32 for anything 2012-12-29T19:37:05 < zyp> I think he did some anemometer shit once 2012-12-29T19:37:06 <+Steffanx> That too zyp. And not shouting out loud the datasheet is wrong or the hardware is crappy :P 2012-12-29T19:37:07 < zyp> that failed 2012-12-29T19:37:36 <+Steffanx> It didn't fail. It didn't work perfectly either 2012-12-29T19:38:41 < zyp> in other news, I have stellaris hooked up here now, thinking about attempting to get usb up and run tonight 2012-12-29T19:39:02 <+Steffanx> Didn't you say it had the same controller? 2012-12-29T19:39:07 <+Steffanx> *has 2012-12-29T19:39:13 < zyp> no 2012-12-29T19:39:18 < zyp> it's different 2012-12-29T19:39:38 < zyp> you might be thinking about efm32 2012-12-29T19:39:53 < zyp> because efm32 is using dwc_otg 2012-12-29T19:40:00 < jpa-> the embarrassed female controller? 2012-12-29T19:40:18 < zyp> huh? 2012-12-29T19:40:24 < jpa-> ,) 2012-12-29T19:40:58 < jpa-> (that joke was so bad that even Steffanx won't get it) 2012-12-29T19:41:31 <+Steffanx> After a search it's even worse 2012-12-29T19:42:39 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-29T19:46:03 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-29T19:46:43 <+Steffanx> You parrot is a member of that club, jpa- ? 2012-12-29T19:46:46 <+Steffanx> *your 2012-12-29T19:49:22 < Laurenceb_> jpa-: has a parrot? 2012-12-29T19:49:26 < Laurenceb_> photos required 2012-12-29T19:49:47 < jpa-> it's definitely not the 1st meaning and hopefully not the 2nd meaning either 2012-12-29T19:50:00 < jpa-> but if you insist, i can find some pictures online about 2nd meaning 2012-12-29T19:50:02 <+Steffanx> Haha 2012-12-29T19:51:01 <+Steffanx> google.it is what you need 2012-12-29T19:51:11 <+Steffanx> or was it .ca 2012-12-29T19:51:17 <+Steffanx> Don't remember who said that 2012-12-29T20:21:57 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 252 seconds] 2012-12-29T20:37:15 < zyp> stellaris usb register layout is so weird 2012-12-29T20:37:35 < jpa-> weirder than stm32f4? 2012-12-29T20:38:09 < zyp> yes 2012-12-29T20:38:18 < zyp> registers aren't 32-bit aligned 2012-12-29T20:38:25 < zyp> all sorts of weird sizes packed together 2012-12-29T20:38:36 < jpa-> they were conserving memory space :) 2012-12-29T20:42:41 -!- Claude is now known as claude 2012-12-29T20:45:16 < zyp> they even have a bunch of registers that are split into seperate low and high registers 2012-12-29T20:45:26 < zyp> even though they are contigous in memory 2012-12-29T20:45:59 < zyp> USBRXCSRLn is an 8-bit register that provides control and status bits for transfers through the currently selected receive endpoint. 2012-12-29T20:46:02 < zyp> USBRXCSRHn is an 8-bit register that provides additional control and status bits for transfers through the currently selected receive endpoint. 2012-12-29T20:46:26 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-29T20:46:54 < zyp> I'm almost tempted to drop the L/H parts and use it as a 16-bit register 2012-12-29T20:58:38 -!- _BJFreeman [~bjfree@91.sub-75-233-146.myvzw.com] has quit [Ping timeout: 250 seconds] 2012-12-29T21:04:47 -!- _BJFreeman [~bjfree@91.sub-75-233-146.myvzw.com] has joined ##stm32 2012-12-29T21:05:09 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-29T21:34:23 <+dekar> dongs, I think OpenBSD is worse off than NetBSD 2012-12-29T21:45:36 < zyp> hmm, there are apparently no external pullup resistor on d+, and I can't find any usb register to enable an internal one 2012-12-29T21:45:52 < zyp> wonder if I'm just supposed to enable a generic pullup on the d+ gpio 2012-12-29T22:07:45 -!- DLPeterson [~AndChat16@pool-74-101-241-182.nycmny.fios.verizon.net] has joined ##stm32 2012-12-29T22:09:45 -!- DLPeterson [~AndChat16@pool-74-101-241-182.nycmny.fios.verizon.net] has quit [Client Quit] 2012-12-29T22:10:46 -!- DLPeterson [~AndChat16@pool-74-101-241-182.nycmny.fios.verizon.net] has joined ##stm32 2012-12-29T22:12:00 -!- DLPeterson [~AndChat16@pool-74-101-241-182.nycmny.fios.verizon.net] has quit [Client Quit] 2012-12-29T22:12:21 -!- DLPeterson [~AndChat16@pool-74-101-241-182.nycmny.fios.verizon.net] has joined ##stm32 2012-12-29T22:45:52 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 245 seconds] 2012-12-29T22:51:13 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-29T22:55:57 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2012-12-29T23:00:54 -!- dekar_ [~dekar@212.255.104.122] has joined ##stm32 2012-12-29T23:00:54 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-12-29T23:02:29 -!- dekar [~dekar@212.255.18.212] has quit [Ping timeout: 255 seconds] 2012-12-29T23:13:06 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-29T23:28:24 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 264 seconds] 2012-12-29T23:39:32 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-29T23:42:24 -!- _BJFreeman [~bjfree@91.sub-75-233-146.myvzw.com] has quit [] --- Day changed Sun Dec 30 2012 2012-12-30T00:00:16 <+Steffanx> Forgotten ( ok not really forgotten ) places like this are amazing: http://arnoraps.tweakblogs.net/blog/8561/urbex-chateau-cf.html 2012-12-30T00:00:52 <+Steffanx> Photos are great, maybe a little too 'photoshopped' 2012-12-30T00:02:17 -!- barthess [~barthess@185.6.24.191] has quit [Read error: Connection reset by peer] 2012-12-30T00:09:43 -!- DLPeterson [~AndChat16@pool-74-101-241-182.nycmny.fios.verizon.net] has quit [Quit: Bye] 2012-12-30T00:10:03 -!- DLPeterson [~hazelnuss@pool-74-101-241-182.nycmny.fios.verizon.net] has joined ##stm32 2012-12-30T00:17:39 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-30T00:23:18 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-30T00:25:29 -!- barthess [~barthess@77.67.192.108] has joined ##stm32 2012-12-30T00:29:55 -!- DLPeterson [~hazelnuss@pool-74-101-241-182.nycmny.fios.verizon.net] has left ##stm32 [] 2012-12-30T00:42:46 < zyp> hmm, stellaris is still not enabling pullups 2012-12-30T00:42:50 < zyp> not sure what I'm forgetting 2012-12-30T00:47:53 -!- Gargantuasauce [~Gargantua@p4FCAD24F.dip.t-dialin.net] has joined ##stm32 2012-12-30T00:49:57 -!- barthess [~barthess@77.67.192.108] has quit [Quit: Leaving.] 2012-12-30T00:54:19 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-30T00:54:19 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-30T00:54:20 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-30T00:58:59 -!- BrainDamage [~yaaic@p4FCAD24F.dip.t-dialin.net] has joined ##stm32 2012-12-30T01:18:41 -!- BrainDamage [~yaaic@p4FCAD24F.dip.t-dialin.net] has quit [Quit: Yaaic] 2012-12-30T01:55:25 <+dekar_> Steffanx, I think the "photoshopped" look is actually caused by HDR. 2012-12-30T02:05:57 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-30T02:08:59 < mervaka> just looks like vignette and a wide angle lens 2012-12-30T02:25:29 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-30T02:30:01 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-30T02:34:04 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-30T02:43:33 < zyp> stellaris clock stuff is pretty weird 2012-12-30T02:45:16 < Laurenceb_> stellaris anything seems weird :P 2012-12-30T02:47:09 < zyp> blame the texans 2012-12-30T02:48:01 < zyp> hmm, both sysclock and usbclock should be valid and fine now, and I have register access to usb peripheral 2012-12-30T02:48:36 < zyp> pins should apparently be configured as analog to work with usb, and that's the default configuration, so that's also fine 2012-12-30T02:49:13 < zyp> but nothing happens when I set the enable bit in the peripheral 2012-12-30T02:50:02 < zyp> and I don't really have any source I can refer to either 2012-12-30T02:57:25 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-30T02:57:49 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 260 seconds] 2012-12-30T02:59:21 < zippe> zyp: which LM part? 2012-12-30T02:59:50 < zippe> Most of the new ones have a ROM that includes all that crap for you 2012-12-30T03:01:14 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-30T03:06:38 < zyp> yes, I noticed that 2012-12-30T03:06:55 < zyp> LM4F, I'm playing with the stellaris launchpad 2012-12-30T03:08:20 -!- jef79m_lurking is now known as jef79m 2012-12-30T03:12:51 < zippe> zyp: right, so why not just call the ROM? 2012-12-30T03:13:53 < zyp> for what, exactly? 2012-12-30T03:14:08 -!- jef79m is now known as jef79m_lurking 2012-12-30T03:18:31 < zyp> I've read through some example code, and all the rom calls I've seen so far doesn't seem very useful 2012-12-30T03:18:36 < zyp> I already have that part working 2012-12-30T03:31:38 * emeb gets out his stellaris launchpad and plays with the pretty LED 2012-12-30T03:35:48 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2012-12-30T03:41:36 -!- _BJFreeman [~bjfree@173.sub-75-244-114.myvzw.com] has joined ##stm32 2012-12-30T03:45:49 < dongs> f303 is finally here. 2012-12-30T03:46:02 < zyp> you didn't get more pics? 2012-12-30T03:51:30 < emeb> yay! 303s 2012-12-30T03:51:50 < zyp> ah, got it 2012-12-30T03:52:05 < emeb> dongs: are they still ES? 2012-12-30T03:52:36 < zyp> analog mode on pins also have a seperate enable, once I set that, pullup is working 2012-12-30T03:52:45 < LeelooMinai> I am ooking at this SPI register bit: Bit 12 FRXTH: FIFO reception threshold - any idea why it generates RXNE event only if it's above 8 bit full and 16 bit full? WHat if you have the data size set to, say, 5 bits? 2012-12-30T03:53:11 < zyp> bits? 2012-12-30T03:53:18 < emeb> zyp: sounds like the analog enable feature from the dsPICs - took me a while to find that one too. 2012-12-30T03:54:05 < LeelooMinai> zyp, Yes, by 5 bits I mean spi data size being set to 5 bits 2012-12-30T03:54:47 < LeelooMinai> So, 5 bits is received and what... RXNE will not be generated? 2012-12-30T03:54:52 < zyp> emeb, it weren't mentioned in the chapter I read on how to configure pins for usb, it only said to set DEN = 0 (digital enable) 2012-12-30T03:55:12 < zyp> LeelooMinai, what makes you think that? 2012-12-30T03:55:39 < zyp> RXNE should be set as soon as you've received the configured number of bits 2012-12-30T03:55:41 < LeelooMinai> zyp, "1: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)" 2012-12-30T03:56:04 < LeelooMinai> To me it sounds as if you need at least 8 bits there 2012-12-30T03:56:30 < zyp> I'm guessing your 5 bits get padded to 8 before being put into the fifo 2012-12-30T03:56:34 < LeelooMinai> http://i.imgur.com/Xams1.png 2012-12-30T03:56:41 < dongs> nope 2012-12-30T03:56:42 < dongs> normal ones 2012-12-30T03:57:27 < LeelooMinai> Hmm... padded... I read something about alignment but only in context of the data register, not fifo 2012-12-30T03:57:54 < emeb> Which SPI device lets you choose 5 bits? I'm only seeing 8 or 16. 2012-12-30T03:58:15 < LeelooMinai> it's 4 to 16 bits 2012-12-30T03:58:15 < emeb> (in the F10x RM) 2012-12-30T03:58:21 < LeelooMinai> F0 2012-12-30T03:58:58 < LeelooMinai> http://i.imgur.com/jevBl.png 2012-12-30T03:59:06 < LeelooMinai> It's configurable by a register 2012-12-30T03:59:22 < emeb> yeah - F3 is the same. 2012-12-30T03:59:32 < LeelooMinai> I am trying to find the relation between this and how fifo works and those interrupt thresholds 2012-12-30T03:59:38 < dongs> whoa, neat 2012-12-30T04:00:15 < zyp> LeelooMinai, probably padded, fifo is just a buffer sitting behind data register 2012-12-30T04:00:17 < LeelooMinai> I guess padding would be an exmplnatin but I have not found anything that would confirm it 2012-12-30T04:00:59 < LeelooMinai> Right, I guess if those were not padded in the fifo, it would complicate everything needlessly 2012-12-30T04:02:02 < LeelooMinai> So what must happen is 4 buts are received, padded, inserted into fifo and that 8-bit in fifo interrupt is generated 2012-12-30T04:02:13 < LeelooMinai> ok, thx 2012-12-30T04:04:28 < LeelooMinai> btw, Are those discovery boards with F3 ready yet (have not been following news recently) 2012-12-30T04:05:06 < zyp> F3 discovery? I think I got mine several months ago 2012-12-30T04:06:25 < LeelooMinai> That long? Damn... I must have been in hibernation or something 2012-12-30T04:07:29 < LeelooMinai> flyback, You are tormenting people with youtube videos here too? 2012-12-30T04:08:59 < zyp> I saw that earlier 2012-12-30T04:12:04 < dongs> i saw someone's bag 2012-12-30T04:15:41 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2012-12-30T04:23:34 < dongs> old news 2012-12-30T04:26:04 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] 2012-12-30T04:29:29 < dongs> hey look, I found worthless shit: http://www.teensypi.com/ 2012-12-30T04:29:39 < dongs> combining two of the shittiest techs available. 2012-12-30T04:30:34 < dongs> I guess they're kinda similar. 2012-12-30T04:30:39 < dongs> both are very commercial, very closed sores. 2012-12-30T04:30:45 < dongs> very for-profit 2012-12-30T04:38:19 < emeb> what's the point of this? 2012-12-30T04:39:41 < dongs> i think it was a project to control his "beer cooler(s)". 2012-12-30T04:39:50 < dongs> also, a very opensores thing to do, beacuse all opensores faggots are alchoholics. 2012-12-30T04:40:04 < dongs> because a $15 PID controller from hardware store wouldn't work. 2012-12-30T04:40:10 < dongs> he had to involve lunix. 2012-12-30T04:47:08 < emeb> *eyeroll* 2012-12-30T04:47:29 < emeb> when you're bored and you only have a hammer... 2012-12-30T05:06:42 < emeb> stm32f303 breakout board layout -> http://i.imgur.com/u8Ae2.png http://i.imgur.com/aDCbL.png 2012-12-30T05:08:32 < emeb> and schematic -> http://i.imgur.com/QeUbM.png 2012-12-30T05:09:05 < emeb> basically same thing as the F373 breakout, but with revised pinout for the 303 and LED hooked up to the IR_OUT pin. 2012-12-30T05:13:43 < dongs> cool. kikecad really needs less dark blue on black 2012-12-30T05:14:26 < emeb> that's gEDA/PCB. I could change the color - just haven't bothered. 2012-12-30T05:16:05 < dongs> ah, ya, sorry ,same shit, different name 2012-12-30T05:16:17 < emeb> lol 2012-12-30T05:16:31 < dongs> I woulda put the LED on some useless jtag pin 2012-12-30T05:16:52 < emeb> which one is useless? 2012-12-30T05:17:02 < emeb> tdi or trst? 2012-12-30T05:17:08 < dongs> I think TDI is useless in SWD mode 2012-12-30T05:17:13 < emeb> right 2012-12-30T05:17:14 < dongs> TMS is SWO 2012-12-30T05:17:18 < dongs> could be wrong, i dont remember 2012-12-30T05:17:28 < emeb> I think that's right 2012-12-30T05:17:30 < dongs> but i see you broke them out on pins too 2012-12-30T05:17:38 < dongs> whicxh is neat 2012-12-30T05:17:57 < emeb> yeah - everything comes out except the USB pins 2012-12-30T05:18:10 < emeb> and the osc pins 2012-12-30T05:18:21 < dongs> time to turn on some happyhardcore and assemble a F303 board 2012-12-30T05:18:52 < zyp> ir_out sounds fun 2012-12-30T05:19:06 < zyp> then populate it with ir led :) 2012-12-30T05:19:11 < emeb> yeah - I thought that might be handy. 2012-12-30T05:22:30 < dongs> finally, a proper TVBGone with a real MCU 2012-12-30T05:22:43 < emeb> that pin is also hooked to a few timers so it can be PWMed 2012-12-30T05:23:05 < emeb> for macbook style pulsing that dongs loves. 2012-12-30T05:24:22 < zyp> *yawn* 2012-12-30T05:24:33 < emeb> getting close to sleepytime? 2012-12-30T05:24:44 < zyp> well, yeah 2012-12-30T05:24:56 < zyp> this vacation is messing up my routine 2012-12-30T05:25:07 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has joined ##stm32 2012-12-30T05:25:08 < emeb> that's the whole point, no? 2012-12-30T05:25:26 < zyp> especially since everybody else is awake just as long 2012-12-30T05:25:39 < emeb> ah, no lonely late nights. 2012-12-30T05:25:48 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has quit [Changing host] 2012-12-30T05:25:48 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-30T05:25:54 < zyp> not going to be fun when I'll have to be at work wednesday :p 2012-12-30T05:26:22 < emeb> the downside of vacation - the end. 2012-12-30T05:26:28 < zyp> probably not fun catching a 0920 flight on monday either 2012-12-30T05:26:42 < emeb> long flight? 2012-12-30T05:27:51 < zyp> 30 minutes, then a three hour layover 2012-12-30T05:28:02 < zyp> then a two-hour flight down to Oslo 2012-12-30T05:28:33 < emeb> sounds annoying. 2012-12-30T05:29:35 < emeb> where you at now that's 2.5 hours flying from Oslo? 2012-12-30T05:29:59 < zyp> up north in norway 2012-12-30T05:30:11 < zyp> layover is in Tromsø 2012-12-30T05:31:21 < emeb> Not really practical to drive that I'd guess. :P 2012-12-30T05:32:11 < emeb> you above the Arctic Circle now? Full-on night? 2012-12-30T05:32:15 < zyp> yep 2012-12-30T05:32:30 < dongs> might as well just sleep all day 2012-12-30T05:32:31 < emeb> I guess that probably messes up your time sense some too. 2012-12-30T05:32:59 < zyp> probably 400km north of the arctic circle or so 2012-12-30T05:33:13 < zyp> I grew up here, so I'm already messed up :) 2012-12-30T05:33:22 < dongs> I need to find my bag of 373s. 2012-12-30T05:33:43 < emeb> Watch out for the Eisbär 2012-12-30T05:34:53 < zyp> it's wonderful in the summer though, with sun throughout the night 2012-12-30T05:35:08 < emeb> Sounds like. 2012-12-30T05:38:42 < emeb> getting any good aurorae? 2012-12-30T05:40:06 < zyp> haven't seen any this year either 2012-12-30T05:40:30 < emeb> too bad. I'd like to see that sometime. 2012-12-30T05:40:41 < zyp> it has annoyed me constantly since I moved 2012-12-30T05:40:59 < zyp> I bring my camera every time, hoping I'll get a good night once 2012-12-30T05:41:37 < zyp> had one a couple of years ago, but I was out driving and didn't have my camera in the car, and by the time I was home it was gone 2012-12-30T05:42:03 < emeb> when I was a kid and living further north my mother would tell me in the mornings that I'd missed a good one the night before. 2012-12-30T05:42:13 < emeb> thanks ma. 2012-12-30T05:43:02 < zyp> http://bin.jvnv.net/f/kstnd.jpg <- when I came home I grabbed my camera and went out and shot this, you can see some faint remains of it in the background 2012-12-30T05:43:08 < dongs> parental trolling 2012-12-30T05:43:27 < emeb> I see. Nice lighthouse too. 2012-12-30T05:43:33 < emeb> right on the coast eh? 2012-12-30T05:43:48 < zyp> yeah 2012-12-30T05:43:58 < zyp> http://en.wikipedia.org/wiki/Andenes 2012-12-30T05:44:01 < emeb> cue jokes about light housekeeping. 2012-12-30T05:44:38 < emeb> That's about as far north in Norway as you get and still stay on the mainland. 2012-12-30T05:44:56 < emeb> or almost mainland. 2012-12-30T05:45:10 < emeb> At least not out on Svalbard. 2012-12-30T05:45:23 < zyp> not really, Nordkapp is way further north 2012-12-30T05:45:57 < emeb> Can even see the lighthouse in the Wikipedia picture. 2012-12-30T05:46:01 < zyp> :) 2012-12-30T05:46:12 < emeb> Quite nice looking. 2012-12-30T05:46:20 < emeb> Must be summer :) 2012-12-30T05:49:13 < zyp> http://bin.jvnv.net/f/yv1Ps.JPG <- here's from new years last yer 2012-12-30T05:49:15 < zyp> year 2012-12-30T05:49:51 < emeb> Up in the hills above town? 2012-12-30T05:50:10 < zyp> yeah 2012-12-30T05:50:34 < zyp> I think that top is around 200m high 2012-12-30T05:52:32 < emeb> Ooops - Google Maps goes low-res right in the middle of town. 2012-12-30T05:53:24 < zyp> :p 2012-12-30T05:58:41 < emeb> just realized I've left my poor old oscilloscope on for the last 2 days. 2012-12-30T05:59:08 < emeb> had it in "normal" vs "automatic" sweep mode, so there were no traces on the screen. 2012-12-30T05:59:26 < emeb> needs a power LED. 2012-12-30T06:10:58 -!- baird [~cjb@ppp121-44-153-219.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-30T06:16:30 < emeb> dongs: building some boards? 2012-12-30T06:16:55 < dongs> trying to 2012-12-30T06:17:01 < dongs> need to clean up my desk first. 2012-12-30T06:18:05 < dongs> i ahavent actually found F373s I ordered 2012-12-30T06:18:07 < dongs> a while ago 2012-12-30T06:18:54 < emeb> probably got more PICs instead. 2012-12-30T06:39:33 < emeb> looking at adding SWO signal to the SWD header on my F4/Codec board. 2012-12-30T06:40:30 < emeb> problem is it's shared w/ a SPI clock that I might want to use. I wonder if SWO is worth it. 2012-12-30T06:43:08 < emeb> maybe just put in a little SPDT solder jumper. 2012-12-30T06:45:26 < dongs> nothing opensores supports it 2012-12-30T06:46:34 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-30T06:46:40 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-30T06:47:29 -!- _BJFreeman [~bjfree@173.sub-75-244-114.myvzw.com] has quit [] 2012-12-30T06:49:11 < emeb> ISTR that BMP does, and ST-Link does in some environments. 2012-12-30T06:52:57 -!- Gargantuasauce_ [~Gargantua@p4FCAD038.dip.t-dialin.net] has joined ##stm32 2012-12-30T06:55:12 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-30T06:57:14 -!- Gargantuasauce [~Gargantua@p4FCAD24F.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 2012-12-30T06:57:54 < dongs> huh 2012-12-30T06:57:59 < dongs> 16kbit eeprom will have word addressing, right? 2012-12-30T07:00:40 < dongs> ah, fuck 2012-12-30T07:00:43 < dongs> its in blocks 2012-12-30T07:00:58 < dongs> ruined 2012-12-30T07:13:37 < emeb> wat? 2012-12-30T07:13:46 < dongs> i was reading it as 32k+ wayt 2012-12-30T07:14:08 < dongs> i.e. a0 W addrHi AddrLo a0 R ......... 2012-12-30T07:14:23 < dongs> but on 16kbit, its a0, a1, a2, etc and only 1byte of subaddress 2012-12-30T07:14:40 < dongs> so i ended up trashing 1st block 2012-12-30T07:14:42 < dongs> wit writes 2012-12-30T07:15:18 < emeb> ah - just formatting the transaction wrong. 2012-12-30T07:21:55 -!- baird [~cjb@ppp121-44-153-219.lns20.syd7.internode.on.net] has quit [Ping timeout: 252 seconds] 2012-12-30T07:24:12 -!- baird [~cjb@ppp121-44-174-47.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-30T07:26:39 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-30T07:29:26 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 265 seconds] 2012-12-30T07:31:51 < emeb> heh - got email out of the blue from a student @ UPenn who can't get USB DFU bootloader working on his F373 project. 2012-12-30T07:32:07 < dongs> what a surprise 2012-12-30T07:32:37 < emeb> he saw my writeup about that on my F373 breakout webpage & wondered if I knew more about it. 2012-12-30T07:32:52 < dongs> i need to start blogging about useless shit so people email me. 2012-12-30T07:33:00 < dongs> stuff I blogged about is obsolete now so i get maybe one email a year about it 2012-12-30T07:33:59 < emeb> it's pretty funny how much email I get about the projects I post on that website. 2012-12-30T07:34:19 < emeb> usually a couple times a week someone has a question about it. 2012-12-30T07:35:08 < dongs> gonna throw a blog up on tarduino.com and monetize it. 2012-12-30T07:35:16 < dongs> maybe I could just post laurenceb logs 2012-12-30T07:35:27 < emeb> hah 2012-12-30T07:35:29 < dongs> http://lordpil.com/blog/archives/2012-12-27 2012-12-30T07:35:31 < dongs> like i do here 2012-12-30T07:35:58 < dongs> http://lordpil.com/blog/archives/2012-12-15 2012-12-30T07:36:26 < emeb> bizarre - all kinds of music controller stuff. 2012-12-30T07:37:12 < emeb> do you just filter an IRC and post there? 2012-12-30T07:42:53 < dongs> yep 2012-12-30T07:43:01 < emeb> which chl? 2012-12-30T07:43:05 < dongs> efnet 2012-12-30T07:44:10 < dongs> http://www.lordpil.com/blog/archives/2012-12-28#1081 haha 2012-12-30T07:44:51 < emeb> can't say I care for kim chi. 2012-12-30T07:47:26 < dongs> still havent found 373s 2012-12-30T07:47:30 < dongs> desk looks almost clean 2012-12-30T07:47:57 < emeb> I hate it when I lose stuff like that. 2012-12-30T07:48:11 < emeb> Usually end up finding it mixed in with another project somewhere. 2012-12-30T07:48:47 < emeb> look on DK website to see which order you got them in and maybe that will give you a clue? 2012-12-30T07:50:34 < emeb> http://www.etsy.com/listing/113828992/lamina-nixie-clock 2012-12-30T07:50:39 < dongs> i havent checked my drycase of stuff yet 2012-12-30T07:50:42 < dongs> its prob there 2012-12-30T07:50:53 < dongs> retweeting 2012-12-30T07:51:06 < emeb> the blue glow is awesome. 2012-12-30T07:53:12 < dongs> whats hte point wiht gears and shit 2012-12-30T07:53:13 < dongs> just trolling? 2012-12-30T07:53:15 < dongs> or do they spin 2012-12-30T07:53:23 < emeb> nah - just "Steampunk" 2012-12-30T07:53:31 < emeb> can't get away from that these days. 2012-12-30T08:00:54 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-30T08:01:22 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-30T08:03:37 < dongs> hm, not in dry case. 2012-12-30T08:05:15 < emeb> fell on the floor behind your desk. 2012-12-30T08:13:16 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2012-12-30T08:16:44 < dongs> ol found 2012-12-30T08:16:56 < emeb> \o/ 2012-12-30T08:17:24 < dongs> self trolled cuz those were from mouser 2012-12-30T08:17:35 < emeb> :P 2012-12-30T08:19:19 < dongs> i forgot, did you ahve assembly diagram for the 373 breakout shits? 2012-12-30T08:19:43 < dongs> hm you got a bom 2012-12-30T08:19:59 < dongs> yeah. 2012-12-30T08:20:01 < dongs> ok good enough 2012-12-30T08:20:12 < emeb> :) too fast for me. 2012-12-30T08:20:27 < dongs> all the shit has refdes 2012-12-30T08:20:34 < emeb> yes 2012-12-30T08:20:59 < dongs> rev 0.4 is the one with correct pullup right 2012-12-30T08:21:03 < dongs> (though still failing usbshite) 2012-12-30T08:21:06 < emeb> yes 2012-12-30T08:21:27 < emeb> usb works for user apps, but bootloader doesn't 2012-12-30T08:21:33 < dongs> right 2012-12-30T08:21:36 < dongs> pmos - any pfet? 2012-12-30T08:21:51 < emeb> yeah - I used the same ones you used on AfroLED 2012-12-30T08:21:56 < dongs> ok. 2012-12-30T08:34:09 < emeb> big hardware -> http://www.youtube.com/watch?v=UDMDuRczDI0 2012-12-30T08:39:21 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-30T08:52:03 -!- Thorn [~Thorn@2.92.117.63] has joined ##stm32 2012-12-30T08:52:04 -!- Thorn [~Thorn@2.92.117.63] has quit [Changing host] 2012-12-30T08:52:04 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-30T08:58:41 < dongs> https://youtube.com/watch?v=sOTtVBbVgDw 2012-12-30T08:59:42 < emeb> same algorithm we used on the STM32, but running on a PC? 2012-12-30T08:59:50 < dongs> tarduino 2012-12-30T09:00:19 < emeb> hmmm. how are they doing the video generation? 2012-12-30T09:01:30 < Simon--> haha 2012-12-30T09:01:43 < dongs> vga from tarduino 2012-12-30T09:04:45 < emeb> like this: http://www.gammon.com.au/forum/?id=11608 ?? 2012-12-30T09:05:27 < dongs> yes 2012-12-30T09:06:31 < emeb> must have augmented it to do grayscale 2012-12-30T09:07:14 < dongs> https://youtube.com/watch?v=OD9BiYzNAIg i presume similar harwdare to https://youtube.com/watch?v=OD9BiYzNAIg 2012-12-30T09:07:40 < dongs> o wait thats not doing vga out 2012-12-30T09:08:35 < dongs> oh, hes cheating 2012-12-30T09:08:40 < dongs> he uses gaymeduino for that output 2012-12-30T09:08:52 < dongs> http://excamera.com/sphinx/gameduino/ this crap 2012-12-30T09:08:57 < dongs> ok boring 2012-12-30T09:09:38 < emeb> bzzzt. FPGA is cheating. :) 2012-12-30T09:12:01 < dongs> http://excamera.com/files/gameduino/verilog/ 2012-12-30T09:12:51 < emeb> seen it before - ugly verilog code. 2012-12-30T09:12:56 < dongs> haha ok 2012-12-30T09:15:27 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-30T09:17:31 < emeb> I don't usually put all the modules into one source file - gets cluttered up & hard to read. 2012-12-30T09:17:57 < emeb> it'd be like putting all the C functions for a project into one file. 2012-12-30T09:18:49 < dongs> you mean.. like arduino 2012-12-30T09:19:10 < emeb> pretty much. 2012-12-30T09:21:42 < dongs> in that case the project is fully suceeding. 2012-12-30T09:22:31 < qyx_> that reminds me some 10y ago when i was playing with wideo generation on 68hc11 2012-12-30T09:22:44 < qyx_> bw using spi output 2012-12-30T09:23:09 < qyx_> with attached 32K sram from old computer cache 2012-12-30T09:28:35 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:b9ce:1318:ba8f:8362] has joined ##stm32 2012-12-30T09:40:02 < emeb> zzzzzzz 2012-12-30T09:40:07 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-30T09:55:16 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:b9ce:1318:ba8f:8362] has quit [Ping timeout: 245 seconds] 2012-12-30T09:57:13 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-30T10:09:14 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:7513:3567:8411:cc3] has joined ##stm32 2012-12-30T10:10:53 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-30T10:10:53 -!- BrainDamage [~yaaic@p4FCAD038.dip.t-dialin.net] has joined ##stm32 2012-12-30T10:21:33 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-30T10:25:56 -!- BrainDamage [~yaaic@p4FCAD038.dip.t-dialin.net] has quit [Ping timeout: 250 seconds] 2012-12-30T10:53:03 -!- BrainDamage [~yaaic@p4FCAD038.dip.t-dialin.net] has joined ##stm32 2012-12-30T10:58:52 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-30T11:04:09 -!- Gargantuasauce_ [~Gargantua@p4FCAD038.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 2012-12-30T11:08:45 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-30T11:27:40 -!- BrainDamage [~yaaic@p4FCAD038.dip.t-dialin.net] has quit [Quit: Yaaic] 2012-12-30T11:35:04 < dongs> ohh, zyps BGA arrived 2012-12-30T11:40:51 < dongs> hes gonna make me look at sdram datasheet to figure out which one is pullup 2012-12-30T11:43:02 < dongs> pullup on A9?... 2012-12-30T11:43:44 < dongs> zyp: bEep 2012-12-30T11:49:52 -!- claude is now known as Claude 2012-12-30T11:54:37 -!- barthess [~barthess@77.67.209.179] has joined ##stm32 2012-12-30T11:57:00 < dongs> k dinner time, blog the pullup stuf if you wake up 2012-12-30T11:59:55 < qyx_> dongs: Joji Hirota is jap name? 2012-12-30T12:04:52 < dongs> qyx_: last one is, 1st one sounds like japification of "george' 2012-12-30T12:04:58 < zippe> dongs: just remember the latch on A20 2012-12-30T12:05:18 < dongs> zippe: hm 2012-12-30T12:05:25 < dongs> this is like 32meg sdram or someshit 2012-12-30T12:05:39 < dongs> he has some resistor going to A9 2012-12-30T12:05:45 < dongs> or rather some pad for a 0603 component 2012-12-30T12:05:52 < dongs> then the rest is in middle layers. 2012-12-30T12:06:04 < zippe> Hmm, you seem to have missed the joke 2012-12-30T12:06:05 < zippe> 8( 2012-12-30T12:06:53 < dongs> yea yea 2012-12-30T12:06:59 < zippe> speaking of unrelated crazy, some guy in Vegas seemed to think I was interested in an ato matsomoto coat 2012-12-30T12:07:37 < zippe> s/so/su/ 2012-12-30T12:08:36 < zippe> After doing a spit-take at the label, I figured they must have had about a million bucks (selling price) in floor stock 2012-12-30T12:09:29 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-30T12:11:07 < dongs> did tehy sell dogs there no 2012-12-30T12:15:21 < dongs> dammit where is zyp i could be assemblign this shit 2012-12-30T12:26:49 -!- jef79m_lurking is now known as jef79m 2012-12-30T12:30:42 < qyx_> last time o considered reimplementing this http://www.blitzortung.org/Webpages/index.php?lang=en&page=2 2012-12-30T12:31:18 < qyx_> nice project, weird hw 2012-12-30T12:31:36 < dongs> cool avr bro 2012-12-30T12:32:09 < dongs> lol, through hole resistors 2012-12-30T12:32:10 < dongs> awesome 2012-12-30T12:32:14 < dongs> and a 7805 2012-12-30T12:32:16 < dongs> no doubt 2012-12-30T12:32:18 < qyx_> yep 2012-12-30T12:32:28 < qyx_> and discrete parallel adcs 2012-12-30T12:32:45 < qyx_> because avr's adc cannot handle required rate 2012-12-30T12:32:46 < dongs> at least not arduno based. 2012-12-30T12:32:51 < dongs> i dont see FTDI connector. 2012-12-30T12:33:22 < qyx_> it could be fitted on stm 2012-12-30T12:33:37 < qyx_> and directly with ethernet, no neet to connect it to pc using serial 2012-12-30T12:33:41 < qyx_> *need 2012-12-30T12:59:39 < dongs> http://i.imgur.com/rYaOF.jpg attn emeb 2012-12-30T13:00:21 < dongs> ugh shitty fucking opensores 2012-12-30T13:01:46 < dongs> http://i.imgur.com/0lqgz.jpg without inverted this time. 2012-12-30T13:01:51 < dongs> the 0603 pads in geda are huge. 2012-12-30T13:01:56 < dongs> i could easily put 0805 in that space. 2012-12-30T13:02:06 < dongs> pad + silk around it wastes a lot of space 2012-12-30T13:05:11 < qyx_> hm, true 2012-12-30T13:06:33 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:7513:3567:8411:cc3] has quit [Remote host closed the connection] 2012-12-30T13:07:42 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-30T13:09:42 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 265 seconds] 2012-12-30T13:10:47 -!- jef79m is now known as jef79m_lurking 2012-12-30T13:12:13 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:cde:691b:726e:697b] has joined ##stm32 2012-12-30T13:13:06 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:cde:691b:726e:697b] has quit [Client Quit] 2012-12-30T13:16:46 -!- jef79m_lurking is now known as jef79m 2012-12-30T13:27:53 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-30T13:34:23 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-30T13:34:26 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-30T13:34:56 -!- jef79m is now known as jef79m_lurking 2012-12-30T13:38:21 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has joined ##stm32 2012-12-30T13:42:43 -!- jef79m_lurking is now known as jef79m 2012-12-30T13:44:56 -!- dekar_ [~dekar@212.255.104.122] has quit [Ping timeout: 255 seconds] 2012-12-30T13:55:19 -!- jef79m is now known as jef79m_lurking 2012-12-30T13:57:24 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 244 seconds] 2012-12-30T14:01:12 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-30T14:03:49 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:602b:75bb:a2d0:9182] has joined ##stm32 2012-12-30T14:15:01 -!- Gargantuasauce [~Gargantua@2001:67c:20a1:1204:9e4e:36ff:fe27:924c] has quit [Ping timeout: 245 seconds] 2012-12-30T14:19:07 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-12-30T14:25:32 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 265 seconds] 2012-12-30T14:34:52 <+Steffanx> Funny how the ccc website doesn't seem to have valid ssl certificate BrainDamage :) 2012-12-30T14:35:27 <+Steffanx> or at least not 'trustworthy' 2012-12-30T14:36:39 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 260 seconds] 2012-12-30T14:38:11 < qyx_> maybe they are just too paranoid to trust pki 2012-12-30T14:39:46 < BrainDamage> Ahahha 2012-12-30T14:40:46 <+Steffanx> Chrome blames my OS though 2012-12-30T14:40:51 < BrainDamage> Check the Rsa fqctorization talk, and the dnssec, They were prdetty intersting 2012-12-30T14:44:55 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-30T14:49:15 -!- DaKu is now known as daku 2012-12-30T14:49:38 -!- BrainDamage [~yaaic@2001:67c:20a1:1202:602b:75bb:a2d0:9182] has quit [Quit: Yaaic] 2012-12-30T14:51:07 < zyp> dongs, yep, pullup on A9 2012-12-30T14:52:13 < zyp> and then the pads sitting between usb_id signal and a decoupling capacitor is the 12k reference resistor 2012-12-30T14:52:46 -!- jef79m_lurking is now known as jef79m 2012-12-30T14:55:12 < zyp> i.e. it's the only 0603 that is connected directly to a bga pad in the top layer 2012-12-30T14:56:04 < dongs> http://i.imgur.com/WJCOb.jpg 2012-12-30T14:56:35 < zyp> no, the 12k is horizontal 2012-12-30T14:56:49 < dongs> ... 2012-12-30T14:56:53 < zyp> :p 2012-12-30T14:57:15 < zyp> I mean, how does a cap between gnd and gnd make sense? 2012-12-30T14:57:15 < dongs> k, lemme put this shit together. 2012-12-30T14:57:27 < dongs> fuck knows :) 2012-12-30T14:58:32 < dongs> k turning up hhc 2012-12-30T14:59:30 <+Steffanx> dongs did some bga soldering? 2012-12-30T14:59:32 < zyp> hhc? 2012-12-30T14:59:33 < qyx_> zyp: do you have schematic available somewhere? 2012-12-30T15:00:00 < dongs> oh 2012-12-30T15:00:07 < zyp> http://bin.jvnv.net/f/JzfJh.pdf <- got an old version here, but it's not the final one 2012-12-30T15:00:32 < zyp> final one is on my computer at home, and I'm not home 2012-12-30T15:01:38 < qyx_> i will see if it works first :P 2012-12-30T15:02:09 <+Steffanx> but you have access to it zyp .. 2012-12-30T15:02:25 <+Steffanx> don't you? 2012-12-30T15:02:34 < zyp> Steffanx, no, I turned it off before I left 2012-12-30T15:03:12 <+Steffanx> I expected you to have something to wake it up remotely 2012-12-30T15:03:22 <+Steffanx> *turn it on 2012-12-30T15:03:40 < zyp> winter is the time of power outages 2012-12-30T15:03:49 -!- jef79m is now known as jef79m_lurking 2012-12-30T15:04:11 <+Steffanx> I glad we only have that once per 10 years or something 2012-12-30T15:04:31 < dongs> even my $20 jap router has WOL command on it 2012-12-30T15:04:49 < zyp> sure 2012-12-30T15:05:33 < baird> Meh. An evening spent trying to understand gEDA/gschem/pcb, and not having any success with a basic circuit. (Latest issue: "not all the requested footprints were found" ...fuck Debian) 2012-12-30T15:06:06 < zyp> better get diptrace 2012-12-30T15:06:30 <+Steffanx> in wine ... 2012-12-30T15:06:46 < baird> on x86 ... 2012-12-30T15:07:11 < karlp> WOL only works if you left it connected and idle. 2012-12-30T15:07:23 < karlp> I turn it all off off. 2012-12-30T15:08:26 < baird> ...and how the hell are you supposed to get gschem to use the other gates on something like a 7408 2012-12-30T15:09:55 < qyx_> baird: i got the same issues last time, spent whole day 2012-12-30T15:10:06 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-30T15:10:18 < zyp> the changes are not that major anyway 2012-12-30T15:11:16 < zyp> that pdf is from after I pinswapped the gpio header, so the only change is some more decoupling caps and some more stuff hooked to gnd/vcc 2012-12-30T15:12:06 < dongs> hmm 2012-12-30T15:12:13 < qyx_> have you paid special attention to trace lengths to dram? 2012-12-30T15:12:48 < qyx_> i just want to know if it works reliably that way 2012-12-30T15:13:06 < qyx_> or it needs to be totally exact 2012-12-30T15:13:14 < zyp> I did check them, but then I figured they are all too short for it to matter at that speed anyway 2012-12-30T15:13:22 < qyx_> yep 2012-12-30T15:13:39 < dongs> zyp, im gonna use 12mhz xtal 2012-12-30T15:13:43 < dongs> will it work? 2012-12-30T15:13:58 < zyp> probably 2012-12-30T15:14:27 < dongs> dfu aas well? 2012-12-30T15:14:34 < zyp> it's probably like «everything between 4-25 works» like everything else nowadays, it's just a matter of configuring the pll for it 2012-12-30T15:15:35 < zyp> dunno, I don't care much about bootloader 2012-12-30T15:16:21 < zyp> the pullup is just to tell it to boot flash 2012-12-30T15:17:04 < zyp> there are like four other lines that also would require pullup/downs to tell the bootloader where to boot from if you want to use it 2012-12-30T15:17:12 < zyp> unless you override it in OTP 2012-12-30T15:18:40 < Laurenceb_> dongs has f303? 2012-12-30T15:19:58 < zyp> he said he got some yesterday 2012-12-30T15:20:22 <+Steffanx> The ones from the chinese scammers? 2012-12-30T15:21:03 < dongs> ya i has 303CCT6 2012-12-30T15:21:06 < Laurenceb_> cool 2012-12-30T15:21:17 < Laurenceb_> f303, where DFU-> DFUK 2012-12-30T15:21:37 < dongs> thats 373 2012-12-30T15:22:05 < dongs> http://i.imgur.com/VFFSo.jpg oven time 2012-12-30T15:22:15 < Laurenceb_> thats what hitler said 2012-12-30T15:22:23 < dongs> i dont ahve that dumb vreg 2012-12-30T15:22:32 < dongs> LM1117 is different pinout. 2012-12-30T15:22:42 < dongs> i might stick one on next dkey order 2012-12-30T15:22:43 < Laurenceb_> you are making those for zyp? 2012-12-30T15:22:46 < dongs> no 2012-12-30T15:22:48 < dongs> im making one for myself 2012-12-30T15:22:51 < Laurenceb_> ah 2012-12-30T15:22:56 < dongs> zyp has same set on the way to him 2012-12-30T15:23:04 < dongs> http://i.imgur.com/PkJRR.jpg pasted 2012-12-30T15:23:41 < zyp> looks nice 2012-12-30T15:23:54 < zyp> you don't have those stupid pinout regs? 2012-12-30T15:23:59 < dongs> nope 2012-12-30T15:24:04 < dongs> i got a bunch of lm1117 2012-12-30T15:24:07 < dongs> like proper :) 2012-12-30T15:24:15 <+Steffanx> oh, you didn't solder it yet. 2012-12-30T15:24:21 < dongs> Steffanx: preheating oven now 2012-12-30T15:24:53 <+Steffanx> kawaii 2012-12-30T15:25:29 < Laurenceb_> lol 2012-12-30T15:25:35 < Laurenceb_> desu 2012-12-30T15:27:24 < dongs> k its in the oven 2012-12-30T15:29:27 -!- Claude is now known as claude 2012-12-30T15:33:48 <+Steffanx> Dongs we NEED a live report 2012-12-30T15:34:15 < dongs> freshhh 2012-12-30T15:34:24 < Laurenceb_> prince of belle air 2012-12-30T15:34:38 < dongs> http://i.imgur.com/DjjHt.jpg 2012-12-30T15:34:58 <+Steffanx> Time to get it to the xrays? 2012-12-30T15:35:28 < dongs> i could, doesnt need like i have to though 2012-12-30T15:35:45 < dongs> i can see al lthe balls lined up from teh side 2012-12-30T15:35:57 <+Steffanx> You really have on yourself? 2012-12-30T15:36:15 < dongs> repeat in english plz 2012-12-30T15:36:32 <+Steffanx> *one 2012-12-30T15:36:41 < dongs> yea 2012-12-30T15:37:42 < Laurenceb_> dental x-ray? 2012-12-30T15:38:10 < dongs> right 2012-12-30T15:39:11 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 245 seconds] 2012-12-30T15:39:51 < dongs> hmm 2012-12-30T15:39:56 < dongs> zyp: other leds glow slightly 2012-12-30T15:39:58 < dongs> lol. 2012-12-30T15:40:25 < dongs> nothign smokes 2012-12-30T15:40:27 < dongs> 20mA current drawn 2012-12-30T15:40:32 < dongs> (probably power led + crap) 2012-12-30T15:40:34 < Laurenceb_> sounds sane 2012-12-30T15:40:47 < Laurenceb_> jtag it? 2012-12-30T15:40:52 < dongs> ya thats the plan 2012-12-30T15:41:10 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-30T15:43:45 < dongs> jtag communication failure 2012-12-30T15:43:45 < dongs> hmm 2012-12-30T15:44:39 < dongs> gonan try with jlink 2012-12-30T15:45:06 -!- daku is now known as DaKu 2012-12-30T15:46:11 < dongs> Found 2 JTAG devices, Total IRLen = 8: #0 Id: 0x4BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM) #1 Id: 0x0BA01477, IRLen: 04, IRPrint: 0x1, CoreSight SW-DP (ARM) 2012-12-30T15:46:15 < dongs> Cortex-M4 identified. 2012-12-30T15:46:17 < dongs> cool 2012-12-30T15:47:36 < dongs> wokrs iwth jlink 2012-12-30T15:52:13 < dongs> wehre is NXPs shit like stdperiphlib or similar 2012-12-30T15:52:15 < dongs> or any sample code 2012-12-30T15:53:08 < dongs> lol 3 appnotes 2012-12-30T15:55:30 < dongs> LPC_CCU1->CLK_M4_GPIO_CFG = CCU_CLK_CFG_AUTO | CCU_CLK_CFG_RUN; 2012-12-30T15:55:32 < dongs> haha.. 2012-12-30T15:56:08 < dongs> hm some better docs in example would be nicer 2012-12-30T15:59:51 < zyp> nice 2012-12-30T16:00:26 < dongs> which GPIO are the leds on? 2012-12-30T16:00:31 < dongs> the shit in sample is wildly different 2012-12-30T16:00:35 < zyp> the one marked in silk 2012-12-30T16:00:38 < dongs> LPC_SCU->SFSPD_10 = 4; /* GPIO6[24] */ 2012-12-30T16:00:49 < zyp> P2_4, P2_3, PA_3 2012-12-30T16:00:57 < dongs> i dont see anything like this in sores 2012-12-30T16:01:19 < zyp> they have another name as gpio 2012-12-30T16:01:46 < dongs> LPC_GPIO_PORT->DIR[6] |= ( 2012-12-30T16:01:47 < dongs> why 6 2012-12-30T16:01:50 < zyp> nxp for some reason split pin config from gpio 2012-12-30T16:02:30 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-30T16:02:35 <+Steffanx> NXP was/is sort of dutch, so big screw ups 2012-12-30T16:02:57 < dongs> void LED_On (uint32_t num) 2012-12-30T16:03:02 < dongs> LPC_GPIO_PORT->SET[4] = led_mask[num]; 2012-12-30T16:03:07 < dongs> is [4] like GPIOA/B/C/? 2012-12-30T16:03:21 < zyp> P2_4, P2_3, PA_3 are GPIO5[4], GPIO5[3], GPIO4[10] respectively 2012-12-30T16:03:27 < dongs> ok 2012-12-30T16:05:40 < Tectu> kawaii dongs is kawaii 2012-12-30T16:05:47 < dongs> now i need to figure out this SCU shit 2012-12-30T16:06:38 < dongs> LPC_SCU->SFSPD_10 = 4; /* GPIO6[24] */ 2012-12-30T16:06:39 < dongs> i.e. this shit 2012-12-30T16:06:40 <+Steffanx> There is this story about a person which can turn things into gold when he touches it 2012-12-30T16:06:49 <+Steffanx> When dongs touches something it turns into shit 2012-12-30T16:07:16 < dongs> ok, theres some ocmments in header 2012-12-30T16:07:27 < dongs> SFSP2_2 is what i need 2012-12-30T16:07:43 < dongs> not sure what the hell the nubmer means though 2012-12-30T16:07:50 < dongs> this is almost like zyps code 2012-12-30T16:07:55 < dongs> lets write a magic number into stuff. 2012-12-30T16:09:37 < dongs> 'select pin function' 2012-12-30T16:09:57 < dongs> so 4 = EPD bit is set.. 2012-12-30T16:10:38 < dongs> hey, a led is blinking 2012-12-30T16:10:48 < dongs> but P2_4 and P2_3 are half lit 2012-12-30T16:12:17 < dongs> ohh yeah. 2012-12-30T16:15:47 < dongs> https://youtube.com/watch?v=vBmp3k82Reo 2012-12-30T16:19:02 < zyp> nice 2012-12-30T16:19:08 < dongs> i had to do 2012-12-30T16:19:15 < dongs> LPC_SCU->SFSP2_4 = 4; 2012-12-30T16:19:15 < dongs> LPC_SCU->SFSP2_3 = 4; 2012-12-30T16:19:21 < dongs> to make P2_3 and _4 not lit up 2012-12-30T16:19:22 < Thorn> why doesn't NXP put an ARM logo on their chips? 2012-12-30T16:19:28 < zyp> I guess half lit because default pullup 2012-12-30T16:19:30 < dongs> they ran out of laser 2012-12-30T16:19:31 * karlp laughs 2012-12-30T16:19:53 < dongs> karlp: wats so funny 2012-12-30T16:20:09 < karlp> the video! 2012-12-30T16:20:19 < dongs> oh.. .. its just leds blinking 2012-12-30T16:20:21 < Thorn> I got my lpc1766 and they don't look as pretty as stm32 :/ 2012-12-30T16:20:29 -!- baird [~cjb@ppp121-44-174-47.lns20.syd7.internode.on.net] has quit [Ping timeout: 260 seconds] 2012-12-30T16:21:10 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-30T16:21:42 < dongs> ok ill wait for some amazing code from zyp once he gets his shit assembled 2012-12-30T16:21:48 < dongs> looks like this stuff works 2012-12-30T16:21:56 < dongs> odd that ulink doesnt find the chip 2012-12-30T16:22:17 < Thorn> btw, is it true that NXP GPIOs don't have programmable open collector feature? i.e. pins are either open collector (only a couple per chip) or not 2012-12-30T16:22:42 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-30T16:24:28 < Thorn> seems so at least for lpc11 and lpc17 2012-12-30T16:26:55 < dongs> to me it seems default pins set as output on power-up is pretty fucking gay. 2012-12-30T16:27:01 < dongs> why isnt all of GPIO hihg-zs 2012-12-30T16:27:06 < dongs> high-z rather 2012-12-30T16:27:45 < zyp> pullup eliminates floating shit 2012-12-30T16:27:56 < dongs> wait 2012-12-30T16:28:03 < dongs> are you driving those leds source 2012-12-30T16:28:03 < Thorn> many pins have pullups by default but not output mode iirc 2012-12-30T16:28:20 < dongs> or sink 2012-12-30T16:28:27 < zyp> source 2012-12-30T16:28:39 < dongs> o shiet, running this stuff draws 150ma 2012-12-30T16:28:39 < zyp> so a pullup is a weak source 2012-12-30T16:29:26 < dongs> keil has a 4357 evalboard 2012-12-30T16:29:30 < dongs> w/ethernet and shit 2012-12-30T16:29:32 < dongs> and usb 2012-12-30T16:29:38 < dongs> i could probably copypaste examples from there 2012-12-30T16:29:40 < dongs> with minimal changes 2012-12-30T16:31:07 < zyp> yeah, possible difference on pin choices 2012-12-30T16:32:10 < zyp> Thorn, looks like you're right 2012-12-30T16:32:31 < zyp> I'm reading through pin and gpio config and I can't see any open drain feature 2012-12-30T16:32:44 < Thorn> look for I2C pins 2012-12-30T16:32:54 < Thorn> chances are they're open drain only 2012-12-30T16:32:58 < zyp> I know 2012-12-30T16:33:04 -!- barthess [~barthess@77.67.209.179] has quit [Read error: Connection reset by peer] 2012-12-30T16:33:05 < zyp> I2C0 is on dedicated open drain pins 2012-12-30T16:33:36 < Thorn> (I'm looking at lpc11c22) 2012-12-30T16:34:00 < Thorn> but this is probably common for all of them 2012-12-30T16:34:33 < zyp> and of course, normal pins can be tristated, so you can just leave them set to output low, then just change direction 2012-12-30T16:35:17 < dongs> so zyp, when are you gonna port lunix to this 2012-12-30T16:35:49 < zyp> I'm probably not 2012-12-30T16:35:55 < Laurenceb_> are you running from ram atm? 2012-12-30T16:35:57 < zyp> but someone else were talking about wanting to 2012-12-30T16:35:59 < dongs> no, flash 2012-12-30T16:36:03 < Laurenceb_> ah 2012-12-30T16:36:05 < Thorn> but they aren't (mostly) 5V tolerant nor they can source >4mA of current without a large V drop iirc 2012-12-30T16:36:09 < zyp> I think it was ds2 2012-12-30T16:36:10 < dongs> bank A 2012-12-30T16:36:17 < dongs> there's 2. 2012-12-30T16:36:26 < dongs> i dunno which CPU runs the blink either. 2012-12-30T16:36:28 < dongs> i just clicked shit 2012-12-30T16:36:30 < dongs> and uploaded 2012-12-30T16:36:31 < dongs> and it runs 2012-12-30T16:37:05 < zyp> Thorn, on lpc4300 most stuff is 5V tolerant 2012-12-30T16:37:25 < zyp> including I2C0 pins 2012-12-30T16:37:41 < zyp> probably M4 2012-12-30T16:37:56 < dongs> http://www.wvshare.com/product/UDA1380-Board.htm is this the I2S shit? 2012-12-30T16:38:00 < zyp> M4 runs at boot, and then M4 has to enable M0 to use it 2012-12-30T16:38:17 < zyp> yeah 2012-12-30T16:38:53 < dongs> and that NXP ethernet? 2012-12-30T16:38:57 < dongs> 45838 or someshit 2012-12-30T16:39:04 < dongs> err, not NXP.. NatSemi I think 2012-12-30T16:39:30 < zyp> http://www.wvshare.com/product/DP83848-Ethernet-Board.htm 2012-12-30T16:39:34 < dongs> http://www.wvshare.com/product/DP83848-Ethernet-Board.htm 2012-12-30T16:39:35 < dongs> yea that 2012-12-30T16:40:05 < dongs> i have the ethernet and SD card but not the I2S. 2012-12-30T16:40:13 < zyp> I just designed those ports to have the same pinouts as my waveshare F4 board, so the same modules should work 2012-12-30T16:40:55 < dongs> right 2012-12-30T16:41:44 < zyp> and lpc4300 is using the same synopsys ethernet core as F4, so the same driver should even work :p 2012-12-30T16:43:24 < dongs> hmm 2012-12-30T16:43:33 < dongs> i put it in flash, unplug jtag, power on, it doesnt start. 2012-12-30T16:43:37 < dongs> if i leave jtag connected it runs 2012-12-30T16:43:43 < dongs> did you forget a pullup on nrst or something? :p 2012-12-30T16:44:17 < zyp> hmm, I expected it to have internal pullup 2012-12-30T16:44:38 < dongs> ST has one but extenral one is recommented against noise 2012-12-30T16:45:58 < dongs> haha 2012-12-30T16:45:59 < dongs> its def pullup 2012-12-30T16:46:03 < dongs> i put finger on jtag connector 2012-12-30T16:46:05 < dongs> and touch usb 2012-12-30T16:46:06 < dongs> and it starts up 2012-12-30T16:46:12 < dongs> or pulldown i guess? 2012-12-30T16:46:13 < qyx_> :D 2012-12-30T16:46:15 < dongs> wahtever it needs 2012-12-30T16:46:25 < zyp> up, since low is reset 2012-12-30T16:46:40 < dongs> ok 2012-12-30T16:46:43 < dongs> just touching jtag header then 2012-12-30T16:47:10 < dongs> bad, bad zyp. 2012-12-30T16:47:22 < dongs> doesnt NXP have a circuit checklist 2012-12-30T16:47:37 < dongs> st and atmel do! 2012-12-30T16:48:16 < zyp> page 133 in datasheet shows internal pullup 2012-12-30T16:49:16 < dongs> the ESD things are internal? 2012-12-30T16:49:26 < dongs> o right, "pin" 2012-12-30T16:49:27 < dongs> ok 2012-12-30T16:49:33 < dongs> well, apparently not strong enough :) 2012-12-30T16:49:51 < zyp> that's not my fault :p 2012-12-30T16:51:08 < zyp> but ok, if that's the largest problem with the board, I'm not gonna mind :p 2012-12-30T16:52:12 < Laurenceb_> leaded resistor time 2012-12-30T16:52:18 < dongs> haha 2012-12-30T16:52:30 < dongs> yeah get a giant 1/4 watt dip resistor 2012-12-30T16:58:04 < qyx_> like the ones on that lightning detector 2012-12-30T16:58:32 < dongs> heh 2012-12-30T16:59:47 -!- barthess [~barthess@178.154.42.43] has joined ##stm32 2012-12-30T17:00:43 < Laurenceb_> http://spiffie.org/electronics/archives/2009/06/16/1dac4d55e07cf9d4c69ea37597f08259.image.325x235.jpg 2012-12-30T17:00:49 < Laurenceb_> itll look like that 2012-12-30T17:02:06 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-30T17:02:17 < qyx_> uf, that disgusting smd part 2012-12-30T17:02:20 < qyx_> how dare they 2012-12-30T17:03:06 < qyx_> sure it is dongs beloved ft232 2012-12-30T17:03:29 < Laurenceb_> http://failblog.files.wordpress.com/2011/10/epic-fail-photos-website-name-fail.jpg 2012-12-30T17:03:37 < Laurenceb_> thats not fail its win 2012-12-30T17:05:07 -!- barthess [~barthess@178.154.42.43] has quit [Quit: Leaving.] 2012-12-30T17:11:14 < emeb_mac> some people have no sense of what fail is. 2012-12-30T17:12:22 < dongs> emeb_mac: zyp mostly succeeds it https://youtube.com/watch?v=vBmp3k82Reo 2012-12-30T17:13:31 < emeb_mac> IT'S ALIIIIVE!!! 2012-12-30T17:14:00 < emeb_mac> mostly? 2012-12-30T17:14:14 < zyp> apparently internal pullup on reset is not strong enough 2012-12-30T17:14:20 < dongs> he forgot pullup on nrst, so it only works wiht jtag in 2012-12-30T17:14:52 < dongs> also, im on a roll today < dongs> http://i.imgur.com/rYaOF.jpg attn emeb 2012-12-30T17:15:03 < zyp> should be easy to fix though, just add a resistor between reset and vref on jtag socket 2012-12-30T17:15:42 < emeb_mac> ready to break out 2012-12-30T17:16:00 < dongs> i only had one of those queer crystals 2012-12-30T17:16:44 < emeb_mac> d'oh! 2012-12-30T17:17:12 < emeb_mac> I ordered 10x of those. gonna use them going fwd. 2012-12-30T17:17:27 < Laurenceb_> related: road rage attack compilation 2012-12-30T17:17:29 < Laurenceb_> lulwut 2012-12-30T17:17:54 < Laurenceb_> https://www.youtube.com/watch?v=by7Cyq1R7aM 2012-12-30T17:20:29 < Laurenceb_> dongs: have you tried DFU? 2012-12-30T17:20:52 < dongs> on what? f373? or zyps shit 2012-12-30T17:21:01 < Laurenceb_> f3 whatever 2012-12-30T17:21:11 < dongs> havente made a f303 board yet. and if I do, the crystal on it is 12mhz 2012-12-30T17:21:17 < dongs> duno if thats gonna be DFU-capable 2012-12-30T17:21:18 < zyp> shouldn't really matter 2012-12-30T17:21:21 < dongs> SINCE AN2606 IS NOT UPDATED 2012-12-30T17:21:41 < dongs> zyp, well, on F4 USB needs liike one out of 4 xtal frequencies to work 2012-12-30T17:21:44 < dongs> or 3maybe 2012-12-30T17:21:47 < zyp> I think it's supposed to detect crystal frequency, and 12mhz should be good 2012-12-30T17:21:52 < dongs> rusure 2012-12-30T17:22:05 < zyp> no 2012-12-30T17:22:06 < dongs> yourboard? 2012-12-30T17:22:07 < zyp> :p 2012-12-30T17:22:09 < dongs> or F303 2012-12-30T17:22:17 < zyp> F303 2012-12-30T17:22:20 < dongs> mkay 2012-12-30T17:22:26 < dongs> ill have one made tomrow 2012-12-30T17:22:35 < Laurenceb_> cool 2012-12-30T17:22:49 < Laurenceb_> so i worked out how to do battery voltage monitoring on F3 2012-12-30T17:22:54 < Laurenceb_> with just 3 passives 2012-12-30T17:23:11 < zyp> uh, no 2012-12-30T17:23:28 < Laurenceb_> battery -> 10K -> tristated 5v pin -> 100nF -> adc pin -> 100nF -> gnd 2012-12-30T17:23:54 < Laurenceb_> s/tristated/open collector 2012-12-30T17:24:09 < zyp> hmm, according to AN2606 it varies between families 2012-12-30T17:24:14 < dongs> yes... 2012-12-30T17:24:20 < dongs> which is why the need to update that shit for F3. 2012-12-30T17:24:36 < Laurenceb_> 1) both pins to gnd 2) adc pin to adc mode 3) 5v pin to logic 1 4) convert adc 2012-12-30T17:25:00 < Laurenceb_> ill try this on F3 discovery laterz 2012-12-30T17:26:04 < zyp> F2/F3 seem to work with anything from 4MHz to 26MHz in 1MHz increments 2012-12-30T17:26:20 < zyp> but F1 (connectivity line) only work with some silly values 2012-12-30T17:26:26 < zyp> not including 12MHz 2012-12-30T17:26:33 < dongs> Right 2012-12-30T17:26:41 < Laurenceb_> i flash my F103 board using bluetooth now 2012-12-30T17:26:43 < dongs> zyp> F2/F3 seem 2012-12-30T17:26:45 < dongs> yo mean F2/F4 2012-12-30T17:26:48 < zyp> yes. 2012-12-30T17:30:49 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-30T17:32:55 < emeb_mac> Laurenceb_: I don't get it - you just making a voltage divider w/ caps? 2012-12-30T17:33:05 < Laurenceb_> yes 2012-12-30T17:33:25 < dongs> how is that different from just feeding battery voltage through 2 resistor divider into adc? 2012-12-30T17:33:28 < Laurenceb_> so you can measure lipo voltage without leakage when the micro is in sleep mode 2012-12-30T17:33:32 < dongs> why the extra fuckery wiht 5V and gpio? 2012-12-30T17:33:39 < emeb_mac> yeah that 2012-12-30T17:33:40 < dongs> oh. 2012-12-30T17:33:47 < Laurenceb_> cuz f3 doesnt have 5v io pins that do adc 2012-12-30T17:33:49 < dongs> lol, hax 2012-12-30T17:33:52 < Laurenceb_> its simpler on f1 2012-12-30T17:34:27 < emeb_mac> but w/ cap voltage divider the adc pin never gets > 2.5V 2012-12-30T17:34:40 < dongs> too analog for me 2012-12-30T17:34:57 -!- barthess [~barthess@185.6.25.156] has joined ##stm32 2012-12-30T17:35:34 < emeb_mac> so what does the OC pin do for you? 2012-12-30T17:36:11 < Laurenceb_> generates 0 to v_lipo pulse 2012-12-30T17:36:36 < emeb_mac> just to reset the caps? 2012-12-30T17:36:39 < Laurenceb_> yes 2012-12-30T17:36:40 < zyp> can't you just build a normal voltage divider with two resistors and hook the gnd side of the divider to a pin that's tristated when you are not measuring? 2012-12-30T17:37:23 < Laurenceb_> no 2012-12-30T17:37:28 < zyp> why not? 2012-12-30T17:37:28 < Laurenceb_> thats what i did on F1 2012-12-30T17:37:42 < Laurenceb_> on F3 it might fry the adc pin 2012-12-30T17:37:55 < Laurenceb_> or at least leak current 2012-12-30T17:38:09 < zyp> only problem I see is leakage through TVS, but you'll have that same problem with your proposed solution 2012-12-30T17:38:25 < emeb_mac> tvs = ? 2012-12-30T17:38:31 < dongs> tvs diode? 2012-12-30T17:38:31 < zyp> esd diodes 2012-12-30T17:38:34 < dongs> yea 2012-12-30T17:38:46 < emeb_mac> yup - that's what I was thinking. 2012-12-30T17:39:00 < zyp> hmm, that's probably not a problem with 5V tolerant pins though 2012-12-30T17:39:12 < dongs> there arent any apparently 2012-12-30T17:39:12 < Laurenceb_> yeah its a couple on uA 2012-12-30T17:39:19 < Laurenceb_> tried measuring already 2012-12-30T17:39:23 < zyp> but keep in mind that they are rated to 4V over Vcc 2012-12-30T17:39:35 < zyp> and a full battery will exceed that when Vcc = 0 2012-12-30T17:39:36 < Laurenceb_> vcc is always on 2012-12-30T17:40:01 < zyp> uh, ok 2012-12-30T17:40:05 < Laurenceb_> the stm just sleeps 2012-12-30T17:40:10 < Laurenceb_> and draws a few uA 2012-12-30T17:41:03 < zyp> why not use a fet between battery and measurement, and then a normal divider? 2012-12-30T17:41:19 < Laurenceb_> cuz thats too normal 2012-12-30T17:41:27 < Laurenceb_> also more parts :P 2012-12-30T17:41:33 < zyp> yeah, going with something that would work is too easy 2012-12-30T17:41:54 < zyp> how is one fet and two resistors more parts than one resistor and two caps? 2012-12-30T17:42:06 < emeb_mac> fet costs more? 2012-12-30T17:42:19 < Laurenceb_> yup 2012-12-30T17:42:23 < zyp> sure, but the number of parts is the same :p 2012-12-30T17:42:35 < emeb_mac> fet is larger area on pcb 2012-12-30T17:42:37 < Laurenceb_> you really need a cap as well with the fet design 2012-12-30T17:42:43 < Laurenceb_> to take out the noise 2012-12-30T17:43:02 < Laurenceb_> then a pullup for the gate 2012-12-30T17:43:02 < zyp> good, cheap, easy - pick two 2012-12-30T17:44:47 < emeb_mac> seems like it'll work. not sure how accurate the cap divider will be tho. 2012-12-30T17:45:06 < Laurenceb_> if its calibrated it should be ok 2012-12-30T17:45:34 < Laurenceb_> whats the current draw like from micro sd cards? 2012-12-30T17:45:43 < Laurenceb_> when they arent doing anything 2012-12-30T17:47:00 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-30T17:47:06 < Laurenceb_> milliamps? 2012-12-30T17:55:07 < emeb_mac> Laurenceb_: 2012-12-30T17:55:16 < emeb_mac> you put a switchable reg on your uSD? 2012-12-30T17:55:20 < Laurenceb_> yes 2012-12-30T17:55:31 < Laurenceb_> wondering how much it acheives 2012-12-30T17:55:50 < emeb_mac> allows you to shut it off when the MCU isn't doing anything. 2012-12-30T17:55:58 < Laurenceb_> heh :P 2012-12-30T17:56:08 < Laurenceb_> i mean how much current it actually saves 2012-12-30T17:56:18 < emeb_mac> if current draw is > (something small) 2012-12-30T17:56:19 < Laurenceb_> looks like it will save a ma or so 2012-12-30T17:56:33 < emeb_mac> that adds up in the long run 2012-12-30T17:56:57 < Laurenceb_> just a bit 2012-12-30T17:57:06 < Laurenceb_> everything else is a few uA in sleep mode 2012-12-30T18:01:00 < emeb_mac> it's official : modern pop music is boring -> http://www.reuters.com/article/2012/07/26/us-science-music-idUSBRE86P0R820120726 2012-12-30T18:28:08 < Laurenceb_> !zlog 2012-12-30T18:28:14 < Laurenceb_> zlog 2012-12-30T18:28:14 < zlog> Laurenceb_: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-12-30.html 2012-12-30T18:28:21 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-30T18:34:31 -!- _BJFreeman [~bjfree@53.sub-75-196-80.myvzw.com] has joined ##stm32 2012-12-30T18:43:48 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-30T18:47:12 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-30T19:09:13 < Laurenceb_> http://3.bp.blogspot.com/-AKNKsMoymJk/Tvn9F7_NOAI/AAAAAAAACRM/8alEFys_umk/s640/pink.jpg 2012-12-30T19:09:18 < Laurenceb_> meanwhile in reprap land 2012-12-30T19:10:28 < dongs> it is as gay as it looks. 2012-12-30T19:13:40 < Laurenceb_> http://www.petapixel.com/2012/10/08/how-to-photograph-yourself-with-a-loved-one-if-youre-forever-alone/ 2012-12-30T19:13:44 < Laurenceb_> seems relevant 2012-12-30T19:14:31 < pepsi> :( 2012-12-30T19:16:57 < emeb_mac> venus of willendorf for the 3 2012-12-30T19:17:06 < emeb_mac> 3d printing crowd 2012-12-30T19:51:39 < mervaka> hmmm 2012-12-30T19:51:45 < mervaka> http://www.ti.com/ww/cn/uprogram/share/ppt/c5000/17dtmf_v13.ppt 2012-12-30T19:52:20 < mervaka> despite coming from TI, I can't help but feel this guy isn't a trustworthy source. can someone confirm he's talking bollocks please? 2012-12-30T19:52:47 < mervaka> page 16, he seems pretty slapdash about how he implements Q15 2012-12-30T19:53:21 < mervaka> he's also rounded k, and failed to notice that N cancels. 2012-12-30T19:54:03 < mervaka> (i'm having problems implementing Q15 in my own goertzel algorithm) 2012-12-30T20:03:57 < emeb_mac> k has to be rounded because it's a discrete system. 2012-12-30T20:04:13 < emeb_mac> you can't have fractional bins in the DFT 2012-12-30T20:05:50 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-30T20:05:57 < mervaka> but i mean, if you bypassed K and cancelled N out, wouldn't the bin be more accurate? 2012-12-30T20:06:29 < mervaka> then your coefficient would only be rounded once, not twice 2012-12-30T20:07:28 < emeb_mac> afraid I'm not sure - I'm viewing the ppt in openoffice and the fonts are hosed. 2012-12-30T20:07:45 < mervaka> i'm in libreoffice, looks alright here 2012-12-30T20:08:16 < emeb_mac> can you print to pdf and put it somewhere? 2012-12-30T20:08:22 < mervaka> sure, one sec 2012-12-30T20:09:26 < mervaka> https://www.dropbox.com/s/7sp2zlh79g7nzk4/17dtmf_v13.pdf 2012-12-30T20:10:17 < mervaka> if k can't be fractional then that explains a lot. 2012-12-30T20:10:21 -!- Tom_L [~Tom@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2012-12-30T20:10:24 < mervaka> although he didn't explain that. 2012-12-30T20:10:28 < emeb_mac> got it 2012-12-30T20:10:44 -!- Tom_L is now known as Guest54500 2012-12-30T20:10:46 < emeb_mac> yeah - k is the bin index in the DFT. must be an integer. 2012-12-30T20:10:51 < mervaka> ah ok 2012-12-30T20:11:19 < mervaka> makes a lot more sense now 2012-12-30T20:11:45 < mervaka> though i'm still not sure why he's seemingly arbitarily choosing to divide all the coefficients >1 by 2 2012-12-30T20:12:16 < mervaka> i realise that brings it into Q15 range, but surely you'd do that to all of the coefficients? 2012-12-30T20:12:27 < emeb_mac> because Q15 notation only handles values -1.0 <= x < 1.0 2012-12-30T20:12:55 -!- Guest54500 [~Tom@ip24-255-189-172.ks.ks.cox.net] has quit [Client Quit] 2012-12-30T20:13:13 < emeb_mac> you could do it both ways 2012-12-30T20:13:28 < emeb_mac> simpler to do it to all and then scale once at the end 2012-12-30T20:13:35 < mervaka> yeah 2012-12-30T20:13:43 < mervaka> seems like you'd need conditional scaling after 2012-12-30T20:13:46 < mervaka> wierd. 2012-12-30T20:13:51 < emeb_mac> not like that extra bit buys much 2012-12-30T20:22:35 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2012-12-30T20:35:47 < mervaka> thanks a lot emeb_mac :) 2012-12-30T20:36:03 < mervaka> i think it's behaving now 2012-12-30T20:36:09 < emeb_mac> \o/ 2012-12-30T20:37:02 < mervaka> can i just truncate for k, or have i got to use a particular rounding function? 2012-12-30T20:37:22 < mervaka> i assume i need to round.. 2012-12-30T20:37:52 < emeb_mac> if you truncate then the frequency might be off more than needed. 2012-12-30T20:38:12 < mervaka> ok 2012-12-30T20:38:18 < emeb_mac> but for dtmf it might not matter. 2012-12-30T20:38:31 < mervaka> or might just get the wrong bin entirely? :P 2012-12-30T20:38:39 < mervaka> adjacent to the one i want 2012-12-30T20:38:45 < emeb_mac> right 2012-12-30T20:39:28 < emeb_mac> but that's not too far off. since you're not windowing the transition band may overlap some. 2012-12-30T20:39:29 < mervaka> cool 2012-12-30T20:39:37 < mervaka> that's true 2012-12-30T20:39:57 < mervaka> oh well, it's only a one off, i won't need to comute these more than once 2012-12-30T20:40:02 < mervaka> compute* 2012-12-30T20:40:25 < emeb_mac> you shouldn't need to compute k realtime tho 2012-12-30T20:40:36 < emeb_mac> it just goes into the coeff calcs, right? 2012-12-30T20:40:49 < emeb_mac> so might as well be precise as possible. 2012-12-30T20:45:48 < mervaka> doing it realtime before it enters the mainloop 2012-12-30T20:47:10 < emeb_mac> you compute the coeffs then too? 2012-12-30T20:50:00 < mervaka> yeah 2012-12-30T21:11:17 < emeb_mac> hmm 2012-12-30T21:11:41 < emeb_mac> I generally precompute that stuff offline and just store it as constants. 2012-12-30T21:14:02 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-30T21:16:54 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-30T21:21:48 < mervaka> yeah, might be a good way to go, although i need to show my working. it's a piece of coursework. 2012-12-30T21:22:16 < mervaka> though i guess i can just shove that all in comments 2012-12-30T21:22:21 < mervaka> and use a LUT 2012-12-30T21:22:24 < mervaka> as you suggest 2012-12-30T21:25:23 < emeb> ah - schoolwork is different from "reality". :) 2012-12-30T22:19:17 -!- Netsplit *.net <-> *.split quits: emeb, LeelooMinai, _BJFreeman 2012-12-30T22:19:35 -!- Netsplit over, joins: _BJFreeman 2012-12-30T22:19:38 -!- Netsplit over, joins: LeelooMinai 2012-12-30T22:19:58 -!- Netsplit over, joins: emeb 2012-12-30T22:26:53 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2012-12-30T22:30:33 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-30T22:55:08 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-12-30T23:06:29 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Quit: Ex-Chat] 2012-12-30T23:08:31 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2012-12-30T23:30:36 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-30T23:39:15 < Laurenceb_> http://wwwhome.cs.utwente.nl/~ptdeboer/ham/sdr/ --- Day changed Mon Dec 31 2012 2012-12-31T00:01:24 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:cc25:8d0d:30cc:df8d] has joined ##stm32 2012-12-31T00:11:53 < emeb> some ugly hardware there 2012-12-31T00:11:54 <+Steffanx> old Laurenceb_ 2012-12-31T00:12:48 <+Steffanx> Dutch, which means cheap, which means ugly (sometimes) emeb :) 2012-12-31T00:12:56 <+Steffanx> *most of the times 2012-12-31T00:13:13 < emeb> Dutch are frugal to the point of pain? 2012-12-31T00:14:05 <+Steffanx> Aren't they known for that 2012-12-31T00:15:20 < emeb> In the US it's the Scots who have the reputation for penny pinching. 2012-12-31T00:15:37 <+Steffanx> hmm 2012-12-31T00:16:07 <+Steffanx> and why make it pretty when it's just a prototype 2012-12-31T00:16:21 < emeb> Although we do have the expression "Dutch Treat" for splitting the check at a restaurant. 2012-12-31T00:16:30 < qyx_> http://wwwhome.cs.utwente.nl/~ptdeboer/ham/sdr/IMG_4528aa.JPG 2012-12-31T00:16:31 < qyx_> omg 2012-12-31T00:16:52 < emeb> yeah - that's what I was looking at when I said "ugly" 2012-12-31T00:17:28 < qyx_> now i understand 2012-12-31T00:17:35 <+Steffanx> I think i don't have the skillz to do that 2012-12-31T00:17:54 <+Steffanx> ok, maybe the skillz, but not the patience 2012-12-31T00:18:04 < emeb> no kidding. pain. 2012-12-31T00:18:49 -!- barthess [~barthess@185.6.25.156] has quit [Ping timeout: 260 seconds] 2012-12-31T00:34:43 < emeb> web page for the F303 breakout -> http://ebrombaugh.studionebula.com/embedded/stm32f303breakout/index.html 2012-12-31T00:36:45 < Laurenceb_> isnt it just an f103 breakout? 2012-12-31T00:37:00 < emeb> Probably. But I don't have one of those either. :) 2012-12-31T00:37:16 < Laurenceb_> heh 2012-12-31T00:38:31 < Laurenceb_> tpa looks good 2012-12-31T00:38:47 < emeb> tpa = ? 2012-12-31T00:38:54 <+Steffanx> is the shitload of html files you have on your server hard to manage emeb ? :) 2012-12-31T00:38:55 < Laurenceb_> https://github.com/gsmcmullin/magictpa 2012-12-31T00:39:23 < emeb> Steffanx: nah. Just static content, most of which I rarely update. 2012-12-31T00:39:57 < emeb> A buddy lends me space on his server and I just use FTP to manage it. 2012-12-31T00:40:42 < emeb> Laurenceb_: I think zyp has that working. I've not tried it myself. 2012-12-31T00:42:05 -!- barthess [~barthess@5.100.204.14] has joined ##stm32 2012-12-31T00:42:06 -!- barthess [~barthess@5.100.204.14] has quit [Client Quit] 2012-12-31T00:43:56 < Laurenceb_> does that use the trace printf stuff from cmsis? 2012-12-31T00:44:09 < emeb> Laurenceb_: I think so. 2012-12-31T00:44:19 < Laurenceb_> i see 2012-12-31T00:46:00 < emeb> Oh look, GCC 4.7 is available on launchpad now. Just as promised. 2012-12-31T00:46:20 < zippe> Hooboy 2012-12-31T00:46:23 < zippe> That should be fun 2012-12-31T00:46:31 < emeb> and they have a Mac install for it too!! 2012-12-31T00:46:49 * emeb fires up a few downloads. 2012-12-31T00:48:51 < emeb> I did some comparisons of 4.7 vs 4.6 on DSP code - 4.7 on a Cortex M4 made a noticeable difference. 2012-12-31T00:49:04 < Laurenceb_> interesting 2012-12-31T00:49:19 < Laurenceb_> i noticed 4.7 made slightly larger code 2012-12-31T00:49:26 < Laurenceb_> you mean faster? 2012-12-31T00:49:41 < emeb> In my case it knew how to use the 64-bit accumulator instruction where 4.6 broke it down into 2 32-bit accs. 2012-12-31T00:49:46 < jpa-> i noticed 4.8 did faster, smaller and less functional code :) 2012-12-31T00:50:10 < emeb> which was faster (for my app) 2012-12-31T00:50:24 < emeb> 4.8 is in beta now too? 2012-12-31T00:50:41 < jpa-> i'm not sure what the 4.8 experimental was, it came with TNT in the summer 2012-12-31T00:52:58 < emeb> heh - the windows distro is about 40% larger than the linux & mac distros. 2012-12-31T00:55:06 < zyp> emeb, great :) 2012-12-31T00:57:28 < emeb> well, just tried it out - my code still runs. ;) 2012-12-31T00:58:02 < zyp> the text on your F303 breakout page seems a bit dated 2012-12-31T00:58:05 < zyp> «If you want to get by on the cheap you'll have to be familiar with setting up an ARM GCC toolchain as well as how to build your own copy of the latest OpenOCD JTAG downloader.» 2012-12-31T00:58:08 < zyp> :p 2012-12-31T00:58:24 < emeb> yeah - copy/pasted 2 generations old. 2012-12-31T00:58:36 < emeb> who reads that stuff anyway. :P 2012-12-31T00:58:48 < zyp> and also the link to codesourcery 4.5 :p 2012-12-31T00:59:02 < emeb> that is ancient 2012-12-31T00:59:35 < zyp> hmm 2012-12-31T01:00:10 < zyp> 4.7 with a bunch of decent multilib variants is nice 2012-12-31T01:00:34 < emeb> does that get the FP stuff in laks working? 2012-12-31T01:00:37 < zyp> sounds to me like time to clean up and fix fpu support in laks 2012-12-31T01:00:59 * emeb approves of this message 2012-12-31T01:06:26 < zyp> maybe I'll work on that tomorrow when I'm stuck at an airport for three hours 2012-12-31T01:07:33 <+Steffanx> lol 2012-12-31T01:10:40 < zyp> http://paste.jvnv.net/view/3t7DQ <- looks nice 2012-12-31T01:11:41 < zyp> so, that covers both m0, m3 and all fpu enabled/abi options for m4 2012-12-31T01:14:13 < Laurenceb_> has anyone tried soldering a lithium coin cell onto an L1discovery? 2012-12-31T01:14:51 < zyp> sane people would get a fitting coin cell holder and solder that 2012-12-31T01:15:20 < Laurenceb_> that too 2012-12-31T01:15:26 < Laurenceb_> i might try it 2012-12-31T01:18:38 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:cc25:8d0d:30cc:df8d] has joined ##stm32 2012-12-31T01:19:26 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:cc25:8d0d:30cc:df8d] has quit [Ping timeout: 245 seconds] 2012-12-31T01:21:20 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-31T01:28:59 -!- jef79m_lurking is now known as jef79m 2012-12-31T01:35:13 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-31T01:36:44 -!- Thorn__ [~Thorn@2.92.117.63] has joined ##stm32 2012-12-31T01:36:45 -!- Thorn__ [~Thorn@2.92.117.63] has quit [Changing host] 2012-12-31T01:36:45 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-12-31T01:39:14 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 240 seconds] 2012-12-31T01:56:00 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2012-12-31T02:08:19 -!- BjoernC [~BjoernC@dyndsl-178-142-056-045.ewe-ip-backbone.de] has joined ##stm32 2012-12-31T02:27:44 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2012-12-31T02:33:10 -!- baird [~cjb@ppp121-44-180-198.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-31T02:41:12 -!- baird [~cjb@ppp121-44-180-198.lns20.syd7.internode.on.net] has quit [Ping timeout: 252 seconds] 2012-12-31T02:41:22 -!- baird [~cjb@ppp121-44-198-116.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-31T02:43:43 -!- BjoernC [~BjoernC@dyndsl-178-142-056-045.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2012-12-31T02:58:44 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:cc25:8d0d:30cc:df8d] has quit [Remote host closed the connection] 2012-12-31T02:59:51 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-12-31T03:00:48 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 264 seconds] 2012-12-31T03:14:00 < dongs> sup dongs 2012-12-31T03:17:02 <+Steffanx> Same as always 2012-12-31T03:17:57 < baird> Noise and attenuation is that bad on the ADSL, I'm seeing 8kB/s. :/ 2012-12-31T03:18:13 <+Steffanx> lol 2012-12-31T03:20:48 <+Steffanx> Sounds about the right speed for you baird 2012-12-31T03:20:59 <+Steffanx> Doesn't that bring back good old memories? 2012-12-31T03:21:52 < baird> The perfect connection for IRC. Currently compiling a download manager so I can queue up the downloads and take things one at a time.. 2012-12-31T03:22:44 <+Steffanx> Get your old 286/386 :) 2012-12-31T03:23:05 <+Steffanx> Machines like that know how to handle connections like that 2012-12-31T03:23:06 < emeb> wonder if the VIC20 can get on the intarwebz 2012-12-31T03:23:22 < baird> The usenet feeds are still working fine too.. 2012-12-31T03:23:35 < emeb> dongs: get your F303 boards built? 2012-12-31T03:24:00 < baird> emeb: been done. Contiki/PPP, ISA ethernet cards on bus adapters, etc. 2012-12-31T03:24:49 < emeb> baird: VIC20 + ISA... *shudder* 2012-12-31T03:25:34 < dongs> no i just woke up so itll be a while 2012-12-31T03:25:39 < dongs> need to get some other crap out of hte way 2012-12-31T03:26:43 < baird> http://mycorner.no-ip.org/6502/vic20/isa/index.html .. http://mycorner.no-ip.org/6502/vic20/network/index.html .. ISA's really just an old Z80-style expansion bus, and there's only a little logic glue needed to convert to 6502 2012-12-31T03:27:21 <+Steffanx> How wonderful 2012-12-31T03:28:40 < baird> Won't be downloading Space Brothers this weekend. :/ 2012-12-31T03:29:25 <+Steffanx> Sounds like a waste of time anyway 2012-12-31T03:29:56 <+Steffanx> japcrap 2012-12-31T03:42:24 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-12-31T03:46:15 < _BJFreeman> anyone remember the motorola open source VME bus 2012-12-31T03:47:45 < baird> The multicomp machines, I believe. An early NetBSD port was to those. 2012-12-31T03:49:52 < baird> Ha, two of them: cesfic, and mvmem68k 2012-12-31T03:50:18 < _BJFreeman> and run multiple masters that are disimular architectures 2012-12-31T03:51:16 < _BJFreeman> that can access common slave devices 2012-12-31T03:51:23 < baird> ..and mvmeppc. That cesfic port is for a multi-processor 68040 system. Neat desu ne. 2012-12-31T03:51:24 < _BJFreeman> including memory 2012-12-31T03:51:51 < _BJFreeman> yes PPC 2012-12-31T03:52:50 < _BJFreeman> I am adding avr and arm to it 2012-12-31T03:55:07 < dongs> who was doing lwip on STM32? 2012-12-31T03:55:09 < dongs> what was the latency 2012-12-31T03:57:40 < emeb> FWIW Beaglebone & other TI AM335X devboards on 25% off sale until tomorrow... -> http://www.ti.com/tool/beaglebn#buy 2012-12-31T04:00:17 <+Steffanx> it's already tomorrow :P 2012-12-31T04:01:21 <+Steffanx> And it shows $89 .. that's no 25% off 2012-12-31T04:16:26 < emeb> you have to enter the coupon code at the top of the page when you go to the TI estore to purchase. 2012-12-31T04:17:08 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2012-12-31T04:48:10 < dongs> hmm 2012-12-31T04:58:36 -!- _BJFreeman [~bjfree@53.sub-75-196-80.myvzw.com] has quit [] 2012-12-31T04:58:46 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-31T05:08:55 < emeb> hmm? 2012-12-31T05:18:29 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-12-31T05:32:41 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-31T05:43:42 -!- jef79m is now known as jef79m_lurking 2012-12-31T05:47:16 -!- Netsplit *.net <-> *.split quits: upgrdman, zippe, zlog, ReggieUK, dongle, HTT-Bird, CheBuzz_Home 2012-12-31T05:47:22 -!- Netsplit over, joins: zippe 2012-12-31T05:47:28 -!- Netsplit over, joins: dongle 2012-12-31T05:47:32 -!- Netsplit over, joins: ReggieUK 2012-12-31T05:47:37 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2012-12-31T05:47:37 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2012-12-31T05:47:37 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2012-12-31T05:47:37 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-12-31T05:47:48 -!- Netsplit over, joins: zlog 2012-12-31T05:48:09 -!- Netsplit over, joins: CheBuzz_Home 2012-12-31T05:49:07 -!- jef79m_lurking is now known as jef79m 2012-12-31T05:56:24 -!- jef79m is now known as jef79m_lurking 2012-12-31T05:57:48 < emeb_mac> ho hum 2012-12-31T06:07:08 < dongs> dealing wiht some avr trash 2012-12-31T06:07:25 < dongs> i installed vs2010 and apparently that killed atmel studio 2012-12-31T06:07:32 < dongs> now need to wait for sp1 to install so it updates both 2012-12-31T06:07:37 < dongs> slightly annoying. 2012-12-31T06:11:24 < emeb_mac> yay! conflicting versions! 2012-12-31T06:12:05 < emeb_mac> just tried out the mac version of launchpad gcc 4.7 - seems to work. Better than the yagarto version at least. 2012-12-31T06:13:38 < dongs> enjoy amazon products in your searches. 2012-12-31T06:14:59 < emeb_mac> wat? 2012-12-31T06:15:13 < dongs> launchpad = canonical = ubuntu right 2012-12-31T06:15:28 < emeb_mac> beats me. 2012-12-31T06:15:54 < dongs> ohh 2012-12-31T06:15:56 < dongs> 4.7 is out eh 2012-12-31T06:16:03 < emeb_mac> yep 2012-12-31T06:16:12 -!- baird [~cjb@ppp121-44-198-116.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2012-12-31T06:18:21 -!- baird [~cjb@ppp121-44-198-116.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-31T06:19:00 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-31T06:19:33 < dongs> oh gawd its loading ARDUINO LEONARDO 2012-12-31T06:19:41 < emeb_mac> heh 2012-12-31T06:28:10 < baird> http://yassl.com/yaSSL/Blog/Entries/2012/12/27_STM32_and_CyaSSL_-_Hardware_Crypto_and_RNG_Support.html .. GPLv2, with commercial licensing options 2012-12-31T06:29:48 < dongs> is there sores? 2012-12-31T06:29:54 < dongs> my curent proj actually needs something like this 2012-12-31T06:30:03 < dongs> i need to do ECDSA and ECDH 2012-12-31T06:31:48 < dongs> hm ya sores, nice 2012-12-31T06:31:50 < dongs> thanks baird 2012-12-31T06:31:57 < dongs> i will just download github, use the sores in commercial project 2012-12-31T06:32:00 < dongs> and never tell them. 2012-12-31T06:34:15 < baird> Until you hit a problem that your teeny dongbrain can't solve, and the guy gives you the jeweye when you ask for support.. 2012-12-31T06:34:42 < dongs> no worries. 2012-12-31T06:34:46 < dongs> i can steal IP like a pro 2012-12-31T06:45:35 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-12-31T06:45:41 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-12-31T06:52:32 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-31T06:55:14 < dongs> it blinks 2012-12-31T06:55:16 < dongs> exciting 2012-12-31T06:57:26 < emeb_mac> what blinks? 2012-12-31T06:57:30 < dongs> the tarduino 2012-12-31T06:57:42 < emeb_mac> they do that sometimes 2012-12-31T06:59:57 < emeb_mac> you should blog this on tarduino.com 2012-12-31T07:00:55 < dongs> thats hte plan 2012-12-31T07:01:16 < dongs> i need to take a video w/instagram and post it on pinterest first 2012-12-31T07:01:23 < dongs> then tweet about it and link to the tweet from tarduino blog. 2012-12-31T07:02:57 < baird> don't forget slashdot 2012-12-31T07:11:10 < emeb_mac> and write an article Make magazine - use lots of open sores and throw in an rpi for color. 2012-12-31T07:11:24 < dongs> yeah i totally forgot 2012-12-31T07:11:27 < dongs> need article on hackaday 2012-12-31T07:11:32 < dongs> and make 2012-12-31T07:11:34 < emeb_mac> I was about to say that 2012-12-31T07:12:04 < emeb_mac> heh - popular geekery is so predictable these days. 2012-12-31T07:18:14 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 260 seconds] 2012-12-31T07:19:43 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2012-12-31T07:21:34 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-31T07:22:27 < dongs> video coming up 2012-12-31T07:23:07 < dongs> https://youtube.com/watch?v=jUizGK1Y3FA 2012-12-31T07:24:20 < dongs> am I ready to be on hackaday front page? 2012-12-31T07:24:41 < emeb_mac> golden 2012-12-31T07:25:08 < emeb_mac> wtf kind of leonardo is that - not the std form factor. 2012-12-31T07:26:33 < baird> yeeahhh.. [download] 10.1% of 2.34M at 3.38k/s ETA 10:36 2012-12-31T07:27:02 < emeb_mac> sloooooowwwww 2012-12-31T07:32:51 < baird> suck it, V.34fags 2012-12-31T07:34:35 < Simon--> dongs: hahha 2012-12-31T07:35:00 < Simon--> you should sell your technology to dji 2012-12-31T07:35:07 < dongs> yea an 2012-12-31T07:35:08 < dongs> mean 2012-12-31T07:35:09 < dongs> man 2012-12-31T07:35:22 < dongs> i think they already have a blinking led thou 2012-12-31T07:35:33 < Simon--> I think it's more of a flash 2012-12-31T07:38:51 < emeb_mac> need to get some of those tiny RGBs like they used on the stellaris launchpad. 2012-12-31T07:41:32 -!- _BJFreeman [~bjfree@158.sub-75-196-73.myvzw.com] has joined ##stm32 2012-12-31T08:37:50 < zyp> *yawn* 2012-12-31T08:41:19 < dongs> oo 2012-12-31T08:41:22 < dongs> smoothieboards are agailble 2012-12-31T08:43:40 < dongs> You've just purchased this 2012-12-31T08:43:40 < dongs> 1x Beta Smoothieboard (Prior Reservations ONLY) 2012-12-31T08:43:41 < dongs> nice! 2012-12-31T08:44:47 < zyp> hmm, looks crowded 2012-12-31T08:44:56 < zyp> holes everywhere 2012-12-31T08:45:09 < dongs> smoothiebored? 2012-12-31T08:45:16 < zyp> yeah 2012-12-31T08:45:20 < dongs> shrug 2012-12-31T08:46:33 < dongs> should be more interesting than a shitberrypi, at least 2012-12-31T08:47:14 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2012-12-31T08:48:17 < baird> My Blogs have told me nothing about this. 2012-12-31T08:48:32 < dongs> opensaucec 2012-12-31T08:48:37 < dongs> what blogs 2012-12-31T08:56:36 -!- baird [~cjb@ppp121-44-198-116.lns20.syd7.internode.on.net] has quit [Ping timeout: 264 seconds] 2012-12-31T08:59:35 -!- baird [~cjb@ppp121-44-198-116.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-31T09:02:07 < emeb_mac> needs bigger mosfets 2012-12-31T09:07:52 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-31T09:14:57 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 252 seconds] 2012-12-31T09:20:26 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 255 seconds] 2012-12-31T09:43:08 -!- betovar [~Adium@adsl-98-64-15-131.mia.bellsouth.net] has joined ##stm32 2012-12-31T09:49:54 -!- _BJFreeman [~bjfree@158.sub-75-196-73.myvzw.com] has quit [] 2012-12-31T10:01:20 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-31T10:21:11 -!- claude is now known as Claude 2012-12-31T10:29:29 < dongs> im burning stuff. http://i.imgur.com/9QOsw.jpg 2012-12-31T10:40:39 -!- baird [~cjb@ppp121-44-198-116.lns20.syd7.internode.on.net] has quit [Ping timeout: 265 seconds] 2012-12-31T10:43:28 -!- NonaSuomy is now known as TeknoJuce 2012-12-31T10:55:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-31T11:04:39 -!- baird [~cjb@ppp121-44-208-153.lns20.syd7.internode.on.net] has joined ##stm32 2012-12-31T11:07:36 < zyp> heh, all the food outlets at this airport seems to be closed today 2012-12-31T11:07:40 < zyp> and I'm stuck here for three hours 2012-12-31T11:24:17 < baird> I'm still stuck at 8-12kB/s :/ 2012-12-31T11:27:00 < zyp> aww 2012-12-31T11:27:15 < zyp> even the airport wlan here is faster than that 2012-12-31T11:32:19 < zyp> I think there currently are more security personell walking around here than passengers 2012-12-31T11:32:20 -!- Claude is now known as claude 2012-12-31T11:40:39 < qyx_> here in fastfood they are cooking deer "gulas" \o/ 2012-12-31T11:40:47 < qyx_> don't know how is it in EN 2012-12-31T11:40:58 < qyx_> it's hungarian food 2012-12-31T11:41:18 < qyx_> goulash soup maybe 2012-12-31T11:42:24 < baird> lol, Rocky Horror Picture Show is on TV-- NYE is about the only time it ever airs. :) 2012-12-31T12:02:15 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-12-31T12:03:54 -!- tavish [~tavish@unaffiliated/tavish] has left ##stm32 [] 2012-12-31T12:07:56 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 245 seconds] 2012-12-31T12:31:28 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-31T12:57:38 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Ping timeout: 245 seconds] 2012-12-31T12:59:04 -!- claude is now known as Claude 2012-12-31T13:01:38 -!- pepsi [~jbutera@unaffiliated/jbutera] has joined ##stm32 2012-12-31T13:16:44 -!- Gargantuasauce [~Gargantua@p5499B8EB.dip.t-dialin.net] has joined ##stm32 2012-12-31T13:17:39 -!- Claude is now known as claude 2012-12-31T13:27:48 < dongs> http://fritzing.org/media/fritzing-repo/projects/s/sonar/images/sonar.JPG fuck yeaaaaaaaaaaaaaaaa 2012-12-31T13:28:51 < zyp> cool stuff bro 2012-12-31T13:29:04 < Gargantuasauce> wtf is the eeprom for 2012-12-31T13:29:26 < zyp> eeproming 2012-12-31T13:29:33 < dongs> storing your height. 2012-12-31T13:29:35 < dongs> evrey second. 2012-12-31T13:29:42 < dongs> 100k rewrite cycles should be enough for everyone 2012-12-31T13:29:48 < zyp> dongs is a hardcore eepromer 2012-12-31T13:32:29 -!- claude is now known as Claude 2012-12-31T13:48:05 -!- Gargantuasauce [~Gargantua@p5499B8EB.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 2012-12-31T13:48:08 -!- barthess [~barthess@77.67.206.107] has joined ##stm32 2012-12-31T13:52:44 -!- DaKu is now known as daku 2012-12-31T13:53:49 < qyx_> that $3 ebay "range finder" 2012-12-31T13:54:28 -!- daku is now known as DaKu 2012-12-31T13:58:42 < dongs> yea 2012-12-31T13:58:48 < dongs> qyx_: are you the lwip dude 2012-12-31T13:59:08 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-12-31T13:59:50 < qyx_> dongs: no 2012-12-31T13:59:55 < dongs> hm who was it 2012-12-31T13:59:56 < qyx_> i just used it and it worked 2012-12-31T13:59:59 < dongs> that was making some gps shit 2012-12-31T14:00:03 < dongs> with lwip 2012-12-31T14:00:04 < qyx_> gxti: 2012-12-31T14:00:06 < qyx_> ^ 2012-12-31T14:00:07 < dongs> oh that. 2012-12-31T14:00:15 < qyx_> he has some weird delays 2012-12-31T14:00:21 < dongs> yeah im wondering. 2012-12-31T14:00:29 < dongs> i need to make some stuff with ethernet 2012-12-31T14:00:30 < qyx_> but for me it was working 2012-12-31T14:00:31 < dongs> and I have 7ms to reply 2012-12-31T14:00:38 < qyx_> 7ms is plenty of time 2012-12-31T14:00:55 < qyx_> on F107 with chibios i achieved 0.3ms ping 2012-12-31T14:01:51 < qyx_> he had something around 3ms which is too much 2012-12-31T14:02:56 < dongs> ok, 0.3ms. thats not bad. 2012-12-31T14:03:07 < dongs> quite a bit of calculation has to happen in 7ms, i hope this shit can do it. 2012-12-31T14:03:19 < dongs> as long as lwip doesnt waste half of that it might be doable 2012-12-31T14:04:15 < qyx_> try to run some demo and check it 2012-12-31T14:04:34 < qyx_> olimex has some boards with eth 2012-12-31T14:05:02 < dongs> well, i dont know about the math. ill time that first, i was just wondering if IP would add a lot of overhead then I wouldnt even bother 2012-12-31T14:05:15 < dongs> but 0.3ms is not bad. 2012-12-31T14:05:43 < qyx_> 64 bytes from 10.80.140.20: icmp_req=2 ttl=255 time=0.273 ms 2012-12-31T14:05:43 < qyx_> 64 bytes from 10.80.140.20: icmp_req=3 ttl=255 time=0.264 ms 2012-12-31T14:06:13 < qyx_> it is going thru one 1gbe switch 2012-12-31T14:07:04 < qyx_> actually 1ghz ppc mikrotik router in only a bit faster 2012-12-31T14:07:06 < qyx_> 64 bytes from 10.80.140.1: icmp_req=4 ttl=64 time=0.240 ms 2012-12-31T14:40:41 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2012-12-31T14:48:03 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-31T14:49:31 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Client Quit] 2012-12-31T14:50:11 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2012-12-31T14:50:12 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-31T14:55:55 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-12-31T14:56:19 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-31T14:56:20 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Excess Flood] 2012-12-31T14:56:41 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-12-31T15:13:42 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2012-12-31T15:22:24 < Laurenceb_> sup 2012-12-31T15:22:39 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2012-12-31T15:22:40 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2012-12-31T15:22:40 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2012-12-31T15:22:43 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-12-31T15:23:19 < baird> Haa haa, you're all still stuck in 2012. 2012-12-31T15:23:35 < Laurenceb_> the world may still end for us 2012-12-31T15:24:51 <+Steffanx> Yeah, it's a 1@#$% warzone here 2012-12-31T15:27:52 <+Steffanx> Here we get things like this: https://www.youtube.com/watch?v=XpJUyPXqvng ( oldish video ) 2012-12-31T15:27:55 -!- Thorn__ is now known as Thorn 2012-12-31T15:28:29 <+Steffanx> Here it's allowed to set off fireworks from 10AM to 2AM next day. 2012-12-31T15:30:49 <+Steffanx> And don't forget the traditional carbide shooting with 'tubes' of 550L and a distance > 500m that still makes the windows shake 2012-12-31T15:53:59 < Laurenceb_> did dongs get 303 working? 2012-12-31T15:55:36 < dongs> nope, was blinking leds on arduino all day 2012-12-31T15:58:10 < Laurenceb_> lol 2012-12-31T16:00:44 < dongs> Laurenceb_: check it out https://youtube.com/watch?v=jUizGK1Y3FA 2012-12-31T16:01:21 < Laurenceb_> omfg 2012-12-31T16:03:08 < karlp> Steffanx: that video has been removed for me... 2012-12-31T16:03:13 <+Steffanx> Heh 2012-12-31T16:03:18 < karlp> was that link saved or was it working for you? 2012-12-31T16:03:28 <+Steffanx> it's removed 2012-12-31T16:03:35 < dongs> This video has been removed because its content violated YouTube's Terms of Service. 2012-12-31T16:03:43 < dongs> what was it, cp? 2012-12-31T16:04:07 <+Steffanx> http://www.dumpert.nl/mediabase/6501792/40617c97/je_bent_een_run..._bam_hand_weg_.html that.. you've probably seen it before 2012-12-31T16:04:08 < karlp> what are 'tubes' of 550l? 2012-12-31T16:04:10 <+Steffanx> and it's ~nsfw 2012-12-31T16:04:29 <+Steffanx> 550 litre/liter 2012-12-31T16:04:57 < karlp> ouch 2012-12-31T16:05:10 < dongs> Steffanx: lmao is that his hand 2012-12-31T16:05:18 < karlp> no, it was his hand 2012-12-31T16:05:59 <+Steffanx> karlp, "canons" like this http://youtu.be/Jv_CmrRZljA?t=32s 2012-12-31T16:06:40 -!- baird [~cjb@ppp121-44-208-153.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-12-31T16:06:40 < karlp> are just full of water? or is the acetylene being ignited as well? 2012-12-31T16:07:31 < dongs> Steffanx: i dont understand how that video can violate jewtube terms of service though 2012-12-31T16:07:45 < karlp> oh, from the bag over the cannon, I guess they were capturing the acetylene and then lighting it 2012-12-31T16:09:19 <+Steffanx> Yes karlp 2012-12-31T16:11:16 <+Steffanx> i bet you actually enjoy the scream of that boy, dongs 2012-12-31T16:11:36 < dongs> Steffanx: i fucking do 2012-12-31T16:11:39 < dongs> retweeted everywehre 2012-12-31T16:12:01 <+Steffanx> There is an aftermath somewhere, but the internetz doesn't know if that's this bpy 2012-12-31T16:12:05 <+Steffanx> boy 2012-12-31T16:14:19 <+Steffanx> FYI: don't click 2012-12-31T16:14:20 <+Steffanx> http://www.bestgore.com/bloody-injuries/aftermath-hand-destroyed-firecracker/ 2012-12-31T16:14:35 <+Steffanx> but if it's not this boy, is probably similar :P 2012-12-31T16:14:43 <+Steffanx> or the video is fake.. like everything on the internetz 2012-12-31T16:32:10 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-12-31T16:42:27 < Laurenceb_> does dfu work on f303 then dongs? 2012-12-31T16:42:45 -!- BrainDamage [~yaaic@217.41.227.144] has joined ##stm32 2012-12-31T16:43:15 -!- BrainDamage [~yaaic@217.41.227.144] has quit [Client Quit] 2012-12-31T16:43:20 < dongs> Laurenceb_: i dont know,, not assembled a board with it... and need to assemble some work-work shit tomrorow.. so maybe in afternoon I'll have it made. 2012-12-31T16:43:23 <+Steffanx> i still wonder. why it shouldnt work? 2012-12-31T16:43:31 < dongs> i could reflow a 303 on f103 board but then I'd probably almost ruin it 2012-12-31T16:43:36 < dongs> Steffanx: well it doesnt work on 373 2012-12-31T16:47:15 <+Steffanx> not yet 2012-12-31T16:48:18 <+Steffanx> Heh, emeb link spam worked. His website is the second hit on google when you search for stm32f373 2012-12-31T16:48:24 <+Steffanx> *emeb's 2012-12-31T16:49:51 < Laurenceb_> BID 5.0 interesting 2012-12-31T16:50:07 < Laurenceb_> maybe it doesnt like the HSE xtal 2012-12-31T16:50:33 < Laurenceb_> f3discovery has clock input 2012-12-31T16:52:31 < Laurenceb_> http://ebrombaugh.studionebula.com/radio/bone-rtl/index.html 2012-12-31T16:52:35 < Laurenceb_> heh i have the same stick 2012-12-31T16:53:34 < dongs> http://i.imgur.com/kMLZA.jpg japanese TV in 2013 what shit fucking quality 2012-12-31T16:54:34 < dongs> thats the most fucking watched event at end of year, broadcast in filthy 13-ish mbit mpeg2 2012-12-31T16:55:29 < zyp> kohaku uta gassen? 2012-12-31T16:55:33 < dongs> yeah. 2012-12-31T16:55:47 < zyp> looks horrible 2012-12-31T16:55:51 < dongs> it does 2012-12-31T16:55:59 < dongs> thats what usual broadcast TV Looks like 2012-12-31T16:56:18 < dongs> http://i.imgur.com/UqZX8.jpg holy fucking blocks 2012-12-31T16:56:42 < dongs> last year for no reaosn they decided to stop broadcasting it over satellite 2012-12-31T16:56:45 < dongs> wehre it was at least 28mbit 2012-12-31T16:57:24 < dongs> when I found out i called htem up and they're like.. 'no reason.... terrestrial digital is everwehre, so we broadcast it tehre now.' i was like, don't peopel give a fuck about 1/2+ quality drop? they're like .. "most people have digital tv, tehy don't notice the difference".... RIGHT 2012-12-31T16:58:03 < zyp> not sure the bitrate alone is the problem though, looks like a shitty realtime encoder too 2012-12-31T16:58:18 < Laurenceb_> looks like something to fap to 2012-12-31T16:58:57 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-31T16:59:11 <+Steffanx> Sure 2012-12-31T16:59:18 <+Steffanx> only if you are really desperate 2012-12-31T16:59:59 < zyp> emeb_mac, http://cgit.jvnv.net/laks/commit?id=8419b87 <- fixed this for you 2012-12-31T17:00:19 < zyp> compiled code now looks sane, haven't been able to test yet 2012-12-31T17:00:33 < emeb_mac> yay! 2012-12-31T17:00:38 < zyp> didn't have anything better to do on the plane, so I just wrote some code mid-flight :p 2012-12-31T17:00:49 <+Steffanx> lol 2012-12-31T17:00:50 < emeb_mac> we live in wondrous times. 2012-12-31T17:00:51 < Laurenceb_> Vegard StorHEIL Eriksen 2012-12-31T17:01:22 < zyp> oh yeah 2012-12-31T17:01:26 <+Steffanx> You found his real name Laurenceb_ :D 2012-12-31T17:01:30 < karlp> what's the split help with? 2012-12-31T17:02:04 < Laurenceb_> heil is his middle name 2012-12-31T17:02:17 < zyp> karlp, split the argument into lists that can be concatenated 2012-12-31T17:02:25 < zyp> instead of doing string concatenation 2012-12-31T17:02:32 < dongs> http://i.imgur.com/FV7Fd.jpg this is what Laurenceb_ faps to 2012-12-31T17:02:33 < zyp> note how the old append had a space first 2012-12-31T17:02:33 < dongs> furry shit 2012-12-31T17:02:36 < karlp> python optimizations? 2012-12-31T17:02:44 < zyp> scons more than python 2012-12-31T17:02:45 < Laurenceb_> wtf japan 2012-12-31T17:06:53 < dongs> http://i.imgur.com/LBDM5.jpg 2012-12-31T17:07:11 <+Steffanx> heh 2012-12-31T17:07:17 <+Steffanx> only in japland 2012-12-31T17:07:37 < emeb_mac> happy new year dongs 2012-12-31T17:07:56 <+Steffanx> Heh, yeah 2012-12-31T17:09:43 < zyp> emeb_mac, please let me know if FPU stuff works if you decide to test it, I won't have time for that myself until I'm home tomorrow evening some time 2012-12-31T17:10:16 < emeb_mac> zyp: I'll try pulling and compiling to see if it runs. 2012-12-31T17:10:54 < zyp> well, I'm pretty certain it runs as is 2012-12-31T17:11:01 < zyp> the question is whether the FPU works 2012-12-31T17:11:07 < emeb_mac> right 2012-12-31T17:11:24 < emeb_mac> I'll add some math to check. 2012-12-31T17:11:28 < zyp> :) 2012-12-31T17:15:06 < Laurenceb_> lulwut 2012-12-31T17:15:23 < Laurenceb_> sfe freeday cancelled 2012-12-31T17:15:34 < Laurenceb_> im not sure i believe them 2012-12-31T17:16:24 < dongs> http://i.imgur.com/vnRC6.jpg 2012-12-31T17:16:57 < zyp> «fashion monster», yeah 2012-12-31T17:17:22 < dongs> haha. 2012-12-31T17:18:12 < zyp> I assume you've seen her (kyary) music vids? 2012-12-31T17:18:22 < dongs> no sorry, i dont keep track of this shit 2012-12-31T17:18:35 < dongs> this is about the only shit i watch (and by watch I mean skip through recording) on tv. 2012-12-31T17:18:42 < zyp> neither do I, but it's the kind of shit you see once and don't forget 2012-12-31T17:18:49 < dongs> its been getting progressively worse 2012-12-31T17:19:09 < dongs> shit is outright >horrible< this year 2012-12-31T17:19:28 < zyp> hmm 2012-12-31T17:19:38 <+Steffanx> this year = 2013 for you dongs :) 2012-12-31T17:19:39 < zyp> youtube is blocked on train internet 2012-12-31T17:19:52 < zyp> was about to pull up some shit that laurenceb would love 2012-12-31T17:20:05 <+Steffanx> Get your 3g out 2012-12-31T17:20:07 < Laurenceb_> :( 2012-12-31T17:20:13 < zyp> www.youtube.com/watch?v=yzC4hFK5P3g <- found it by google 2012-12-31T17:20:32 < dongs> OH that 2012-12-31T17:20:34 < dongs> is that same chick? 2012-12-31T17:20:41 <+Steffanx> bones? 2012-12-31T17:20:52 < zyp> yes 2012-12-31T17:21:09 < dongs> that explains >everything< 2012-12-31T17:21:18 < pepsi> zyp, that is ridiculously annoying 2012-12-31T17:21:30 < Laurenceb_> what the actual fuck 2012-12-31T17:21:43 < dongs> haha, Laurenceb_ is shocked 2012-12-31T17:21:59 < zyp> dongs, see, I knew you had seen it :p 2012-12-31T17:22:05 < emeb_mac> ow. broke the kawaii meter 2012-12-31T17:22:10 < dongs> http://i.imgur.com/i0wpv.jpg nice dress bro 2012-12-31T17:22:40 <+Steffanx> No "head down in them mud"-jumpers yet? 2012-12-31T17:25:00 < dongs> absolutely horrible 2012-12-31T17:25:08 < dongs> should j ust shift-del this 28gigs of wasted trash 2012-12-31T17:25:49 < zyp> :p 2012-12-31T17:28:26 < dongs> well wahtever fuck this, going to bed. 2012-12-31T17:28:36 < zyp> have fun 2012-12-31T17:28:52 <+Steffanx> No fireworks for dongs? 2012-12-31T17:28:58 <+Steffanx> oh, that already ended of course 2012-12-31T17:29:03 <+Steffanx> or is japland not into that? 2012-12-31T17:29:51 < emeb_mac> sad - no more sfe free days. 2012-12-31T17:30:17 < emeb_mac> I actually got some free stuff on the first one. not since though. 2012-12-31T17:30:29 < karlp> I got some last year, a bunch of rfid stuff, never had before. 2012-12-31T17:31:01 <+Steffanx> and you never used it? 2012-12-31T17:31:25 < zyp> I also got some last year 2012-12-31T17:32:14 < emeb_mac> but do you remember what it was? 2012-12-31T17:32:21 < zyp> spent it on a roll of cu tape and some other shit 2012-12-31T17:32:24 < Laurenceb_> im betting they just ran out of cash 2012-12-31T17:32:30 <+Steffanx> sure 2012-12-31T17:32:33 < emeb_mac> I think mine was an olimex h103 board 2012-12-31T17:33:17 < Laurenceb_> http://singularengineer.wordpress.com/2012/10/23/stm32f4-discovery-board-running-net-microframework/ 2012-12-31T17:33:19 < Laurenceb_> the horror 2012-12-31T17:33:25 <+Steffanx> emeb_mac, you have to spam the link to your 373 board more. It's not the first hit on stm32f373 yet 2012-12-31T17:33:46 < emeb_mac> Steffanx: any suggestions how? 2012-12-31T17:33:51 <+Steffanx> Laurenceb_ has a .net phobia? 2012-12-31T17:34:14 < Laurenceb_> emeb_mac: add pronz? 2012-12-31T17:34:16 < zyp> ah, also got some ftdi modules 2012-12-31T17:34:46 < karlp> becayse fuck rewriting the software! http://smartmaker.org/wiki/Products:MIX_UP 2012-12-31T17:34:46 < emeb_mac> lol - looks like the top two are st.com. Not going to top that. 2012-12-31T17:35:16 < zyp> :p 2012-12-31T17:35:26 < Laurenceb_> hahaha 2012-12-31T17:35:34 < Laurenceb_> not sure if that is troll or not 2012-12-31T17:35:47 < zyp> Steffanx, good thing you're keeping track 2012-12-31T17:35:58 < Laurenceb_> http://smartmaker.org/wiki/File:MIX_UP_assemble2.jpg 2012-12-31T17:36:10 <+Steffanx> keeping track of what zyp ? 2012-12-31T17:36:16 < zyp> google rankings 2012-12-31T17:36:24 < Laurenceb_> http://smartmaker.org/wiki/File:MIX_UP_assemble1.jpg 2012-12-31T17:36:46 <+Steffanx> Nah. I just searched for stm32f373 an hour or so ago 2012-12-31T17:38:19 < emeb_mac> well, I've started getting email questions from n00bs about the 373 as of a few days ago. 2012-12-31T17:38:47 < emeb_mac> yay - I can pretend to be the world's foremost authority. :P 2012-12-31T17:41:10 < zyp> by the way, did you guys see the newlib-nano stuff that's included with the launchpad toolchain? 2012-12-31T17:41:31 < zyp> just throw «--specs=nano.specs» on linker command line to use it 2012-12-31T17:41:51 < zyp> removes float from printf among other stuff to save space 2012-12-31T17:42:06 < emeb_mac> ooooo 2012-12-31T17:42:07 < karlp> is this in the new 2012.q4 release package? 2012-12-31T17:42:10 < Laurenceb_> wheres this launchpad toolchain? 2012-12-31T17:42:21 < karlp> oh yeah, christmas eve update 2012-12-31T17:42:23 < zyp> karlp, I'm not sure it's new, but it's in the new package 2012-12-31T17:42:31 < zyp> https://launchpadlibrarian.net/126639247/readme.txt <- see here 2012-12-31T17:42:49 < karlp> available mac packages now too, 2012-12-31T17:42:53 < zyp> yep 2012-12-31T17:42:56 < Laurenceb_> i see 2012-12-31T17:42:56 < zyp> it's all nice 2012-12-31T17:42:56 < karlp> wasn't someone saying they didn't have them before? 2012-12-31T17:43:03 < Laurenceb_> is it better than TNT? 2012-12-31T17:43:08 < zyp> karlp, they didn't 2012-12-31T17:43:22 < zyp> it was still possible to use it by building it yourself 2012-12-31T17:43:23 < karlp> does the gdb include python support though? 2012-12-31T17:43:31 < zyp> oh, havent's checked 2012-12-31T17:43:32 < zyp> hang on 2012-12-31T17:44:12 < zyp> well, gdb complains about not finding python and refuses to start, so I guess so 2012-12-31T17:44:51 < zyp> it's linked against python 2.7, OS X 10.6 only has python 2.6 2012-12-31T17:45:02 < zyp> still haven't upgraded my laptop 2012-12-31T17:46:25 < emeb_mac> same here. 2012-12-31T17:47:00 < emeb_mac> is it possible to upgrade the python without upgrading Mac OS? 2012-12-31T17:47:19 < zyp> yes 2012-12-31T17:47:27 < emeb_mac> whew 2012-12-31T17:47:30 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-12-31T17:47:33 < zyp> but I think the official installer installs to another location 2012-12-31T17:47:50 * emeb_mac doesn't want 10.7 2012-12-31T17:48:09 < zyp> 10.8 is pretty great, so I'm not too concerned :p 2012-12-31T17:49:26 < zyp> thing is I still haven't replaced the ssd that crashed in my laptop, so I haven't bothered installing a new OS X version yet 2012-12-31T17:49:55 < zyp> should probably pick up a new ssd soon, I used the replacement for the one that crashed in another machine :p 2012-12-31T17:50:53 < emeb_mac> heh - diverted. 2012-12-31T17:54:18 < zyp> the laptop doesn't see much use outside travels anyway, so I haven't given it much priority 2012-12-31T17:55:15 < zyp> I considered throwing in 10.8 before christmas, but then I have the IAD-less firmware loaded on all the BMPs, so it didn't seem neccessary :p 2012-12-31T18:00:10 < emeb_mac> looks like using the python 2.7.3 macos installer from python.org got gdb running 2012-12-31T18:00:12 < zyp> heh, «technical problems» 2012-12-31T18:00:24 < zyp> I suddenly noticed train is standing still 2012-12-31T18:02:40 < emeb_mac> don't confuse motion with progress 2012-12-31T18:03:41 < zyp> oh, now we're driving again 2012-12-31T18:03:59 < zyp> after a train in the other direction passed, maybe we just waited for that 2012-12-31T18:04:06 <+Steffanx> Who knows 2012-12-31T18:04:30 < zyp> the guy on the speakers said something about technical problems that I didn't fully catch because I'm listening to music 2012-12-31T18:04:47 <+Steffanx> Trains in norway have "wall sockets" ? 2012-12-31T18:06:03 < zyp> sure do 2012-12-31T18:06:08 < zyp> not everywhere though 2012-12-31T18:06:13 < zyp> not where I'm sitting 2012-12-31T18:06:37 < emeb_mac> norway is in the future. just not evenly distributed. 2012-12-31T18:06:38 < zyp> I tend to not be too concerned about that, got lots of battery left 2012-12-31T18:08:54 < zyp> like 9-10 hours or so 2012-12-31T18:09:08 < zyp> or, probably more 2012-12-31T18:09:23 < zyp> now I'm counting battery life during video watching 2012-12-31T18:09:56 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-12-31T18:12:13 < zyp> I picked up one of those external batteries for my laptop last time I were in japan, for the flight home 2012-12-31T18:12:37 < zyp> watched videos for the entire trip and arrived in norway with a couple of hours still left 2012-12-31T18:12:53 < karlp> we don't even have trains. :( 2012-12-31T18:12:55 < zyp> that was a pretty nice way to pass the time 2012-12-31T18:12:56 < karlp> maybe one day 2012-12-31T18:14:04 < zyp> yeah, then you can travel here by train 2012-12-31T18:14:11 <+Steffanx> So how you go to the otherside of the island karlp ? 2012-12-31T18:14:20 <+Steffanx> When you have no drivers license 2012-12-31T18:15:59 < zyp> I'm of the impression that there's not anything to go to on the other side anyway 2012-12-31T18:16:08 < zyp> so I'm not sure it matters 2012-12-31T18:16:35 <+Steffanx> :P 2012-12-31T18:18:06 < zyp> I'm kind of mixing up iceland and svalbard in my head though :p 2012-12-31T18:18:30 < zyp> I've never been to iceland, so I'm always thinking of svalbard when people mention it :p 2012-12-31T18:19:06 < zyp> but I assume that the populated area on iceland is a bit larger than longyearbyen :p 2012-12-31T18:19:06 < karlp> Icelanders have absurdly high car ownership rates. 2012-12-31T18:19:12 < karlp> I for instance, own two. 2012-12-31T18:19:22 < karlp> it's critically important for my 6.5km commute 2012-12-31T18:19:42 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2012-12-31T18:19:49 < zyp> one to drive in each direction? 2012-12-31T18:29:22 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2012-12-31T18:31:45 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2012-12-31T18:33:53 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 2012-12-31T18:41:08 -!- Gargantuasauce [~Gargantua@p5499B8EB.dip.t-dialin.net] has joined ##stm32 2012-12-31T18:47:52 -!- pepsi [~jbutera@unaffiliated/jbutera] has quit [Read error: Connection reset by peer] 2012-12-31T19:03:48 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 264 seconds] 2012-12-31T19:08:54 < Laurenceb_> hehe looks like i fixed lsm330d 2012-12-31T19:09:05 < Laurenceb_> used the technique from samsung code 2012-12-31T19:11:03 <+Steffanx> Just wondering.. fix as in fixed the hw with a sw fix or is it just a sw issue? 2012-12-31T19:11:36 < Laurenceb_> its a hw issue 2012-12-31T19:11:48 < Laurenceb_> they didnt implement the fifo properly 2012-12-31T19:12:10 <+Steffanx> oops. 2012-12-31T19:12:44 <+Steffanx> and what code from samsung? 2012-12-31T19:12:57 < Laurenceb_> galaxy s3 android drivers 2012-12-31T19:16:14 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2012-12-31T19:17:59 < emeb> cool 2012-12-31T19:18:42 < emeb> so boils down to discarding any measurements that occur while you're reading out of the fifo? 2012-12-31T19:19:19 < Laurenceb_> yes 2012-12-31T19:19:57 < Laurenceb_> which you can do by only reading out the number of samples in fifo when you start, then restarting the fifo 2012-12-31T19:20:09 < emeb> makes sense. 2012-12-31T19:20:48 < emeb> so you have to notice if any got added and then interpolate those in your received stream? 2012-12-31T19:21:08 < Laurenceb_> yes 2012-12-31T19:21:15 < emeb> sigh 2012-12-31T19:21:49 < emeb> in ECC we call those "erasures" 2012-12-31T19:22:44 < emeb> or in Rumsfeldese "known unknowns" 2012-12-31T19:29:04 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-12-31T19:31:44 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-31T19:37:03 -!- _BJFreeman [~bjfree@89.sub-75-196-69.myvzw.com] has joined ##stm32 2012-12-31T19:37:18 < Laurenceb_> well it works.. but trying to schedule all this is a piuta 2012-12-31T19:41:35 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-12-31T19:44:52 -!- Gargantuasauce [~Gargantua@p5499B8EB.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 2012-12-31T19:46:15 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-12-31T19:51:25 < Laurenceb_> not enough time even at 400khz i2c speed :( 2012-12-31T19:54:06 < Laurenceb_> 1.4ksps accel is quite cool - i can detect buttons being pressed on the discovery board at the other side of my desk 2012-12-31T19:54:19 < Laurenceb_> about 2ms long pulses as the buttons click 2012-12-31T20:01:41 <+Steffanx> So now try to remotely capture what you typed on your keyboard 2012-12-31T20:04:32 < emeb> wow - pretty impressive! 2012-12-31T20:07:32 < emeb> Steffanx: I'd bet if you had network of accels for triangulation you probably could. 2012-12-31T20:09:52 -!- Claude is now known as claude 2012-12-31T20:29:48 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2012-12-31T20:57:54 < R2COM> I wonder why CooCox is free, what exactly do they benefit from 2012-12-31T20:59:54 < jpa-> http://www.coocox.org/BusinessModel.htm 2012-12-31T21:00:48 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-12-31T21:01:58 < jpa-> but closed source RTOS are a dying breed also, few people want to be commit into such a vendor lock when there are free alternatives 2012-12-31T21:16:27 <+Steffanx> hmm, seriously .. smileys 2012-12-31T21:16:39 <+Steffanx> That company is never going to get any money :P 2012-12-31T21:18:23 < zippe> jpa-: you say that, but VxWorks and RTXC are both doing just fine 2012-12-31T21:18:28 < jpa-> never mind, it's got dongs approval and that is worth more than any money 2012-12-31T21:18:34 < zippe> As are any number of others (e.g. the GreenHills stuff) 2012-12-31T21:19:13 < jpa-> zippe: yeah, but they were first to market and are very established now 2012-12-31T21:20:47 < jpa-> (and yeah, many of the open source alternatives are still quite incomplete) 2012-12-31T21:24:39 <+Steffanx> jpaOS not finished yet jpa- ? 2012-12-31T21:25:07 < jpa-> hopefully i'll never write one 2012-12-31T21:25:28 < jpa-> i hate having to reinvent a wheel 2012-12-31T21:27:35 <+Steffanx> :P 2012-12-31T21:29:17 < jpa-> in fact tonight i hate many things.. holidays ending and back to work :F 2012-12-31T21:30:17 <+Steffanx> win the lotery and quit your job 2012-12-31T21:31:08 < jpa-> that would be boring also 2012-12-31T21:31:16 < jpa-> i get bored easily 2012-12-31T21:34:12 < R2COM> sam4s is out already 2012-12-31T21:34:23 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 255 seconds] 2012-12-31T21:35:10 <+Steffanx> .. . .. 2012-12-31T21:36:26 < R2COM> seems like one of the biggest differences is no fpu, and 120mhz instead of stm32 168 2012-12-31T21:37:17 < R2COM> I got my stm32f405,407 working, all IDE custom assembled with Eclipse and gcc, but a bit unsure if I should include it in some of the oncoming projects 2012-12-31T21:37:25 < Laurenceb_> only decent thing about sam4s is the usb 2012-12-31T21:37:56 < R2COM> because from time to time some issues still arise with stm32 Dev, which is OK if one has time to play with it. 2012-12-31T21:38:14 < R2COM> thats why I kind of decided to see what else is there, what comes with strong software support from manufactur 2012-12-31T21:48:25 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-12-31T22:05:08 < Thorn> happy new year to me. 2012-12-31T22:05:23 < Thorn> (and everyone, too) 2012-12-31T22:06:03 < emeb> *phweet* 2012-12-31T22:08:07 <+Steffanx> Happy new year to Thorn and everyone else on that side of teh globe 2012-12-31T22:14:42 < jpa-> time to go to sleep 2012-12-31T22:15:14 < Simon--> happy new year! http://0x.ca/tritonfield.html 2012-12-31T22:17:54 < emeb> whoa - getting dizzy 2012-12-31T22:29:29 < Laurenceb_> http://en.wikipedia.org/wiki/Teletubbies#Teletubby_doll_incidents 2012-12-31T22:29:31 < Laurenceb_> epic lol 2012-12-31T22:30:18 < emeb> faster faster slower slower is actually funnier 2012-12-31T22:35:02 < Laurenceb_> http://www.epicfail.com/2012/12/31/epic-rescue-fail/ 2012-12-31T22:35:14 < Laurenceb_> arduino users sledge competition 2012-12-31T22:36:43 < Laurenceb_> lol @ trollments 2012-12-31T22:37:06 < Laurenceb_> " Shittty camera work by the skank in the hotel room. Missed all the money shots of death. What a slut." 2012-12-31T22:37:31 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 245 seconds] 2012-12-31T22:40:56 < emeb> whole lotta dumb behavior goin' on there. 2012-12-31T22:46:33 <+Steffanx> In dutch i would say (translated into english which makes it awful) : The best steersmen are ashore :) 2012-12-31T22:49:22 < emeb> good metaphor. US equiv is probably "armchair quarterback" 2012-12-31T22:49:28 -!- scrts [~quassel@unaffiliated/scrts] has quit [Ping timeout: 246 seconds] 2012-12-31T22:50:36 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2012-12-31T22:51:51 <+Steffanx> Heh, that one is funny :P 2012-12-31T22:52:23 <+Steffanx> Really a yankeelander metaphor 2012-12-31T22:52:42 < emeb> yep - it's all about football(US). 2012-12-31T22:53:06 * emeb remembers visiting UK where my hosts called it "gridiron" 2012-12-31T22:57:45 <+Steffanx> Yeah, in the UK they know what real football is :P 2012-12-31T23:08:03 * emeb doesn't care about either kind 2012-12-31T23:10:15 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Remote host closed the connection] 2012-12-31T23:14:54 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-12-31T23:16:45 < Laurenceb_> http://imagebin.org/index.php?mode=image&id=241254 2012-12-31T23:16:47 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2012-12-31T23:17:06 < Laurenceb_> the green axis would be very screwed if the fifo was glitching 2012-12-31T23:17:11 < Laurenceb_> luckly its working XD 2012-12-31T23:19:34 < Laurenceb_> http://imagebin.org/index.php?mode=image&id=241255 2012-12-31T23:19:46 < Laurenceb_> interesting startup transients 2012-12-31T23:32:12 < Laurenceb_> http://www.google.co.uk/search?client=ubuntu&channel=fs&q=chris+hanson+&ie=utf-8&oe=utf-8&gl=uk&redir_esc=&ei=QQTiULP8AcTT0QXhxoCwDA 2012-12-31T23:32:24 < Laurenceb_> lol at right hand side picture 2012-12-31T23:38:44 -!- barthess [~barthess@77.67.206.107] has quit [Quit: Leaving.] 2012-12-31T23:40:59 <+Steffanx> Laurenceb_ Laurenceb_. If there is one on the interwebs that should know this, it's you. Don't paste links to google as people don't get the SAME results 2012-12-31T23:41:29 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-12-31T23:41:47 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-12-31T23:43:22 < Laurenceb_> you should see "See results about" 2012-12-31T23:52:23 <+Steffanx> No, it's in dutch here :P --- Log closed Tue Jan 01 00:00:16 2013