--- Log opened Tue Jan 01 00:00:16 2013 2013-01-01T00:14:56 < Laurenceb_> lsm330d code is up on my github 2013-01-01T00:15:05 < Laurenceb_> uber haxored to make it fast enough 2013-01-01T00:15:18 < Laurenceb_> only the accel is using fifo now 2013-01-01T00:15:48 < Laurenceb_> and i write two bytes to 0x2E to reset the fifo - i.e. its not got the increment bit set 2013-01-01T00:41:24 -!- mrcan_ [~mrcan@199.255.209.165] has joined ##stm32 2013-01-01T00:41:24 -!- mrcan_ [~mrcan@199.255.209.165] has quit [Changing host] 2013-01-01T00:41:24 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-01T00:41:41 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2013-01-01T00:46:25 -!- Netsplit *.net <-> *.split quits: ds2 2013-01-01T00:46:36 -!- Netsplit over, joins: ds2 2013-01-01T01:07:03 -!- mrcan__ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-01T01:07:33 -!- mrcan__ is now known as mrcan 2013-01-01T01:08:41 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2013-01-01T01:09:01 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2013-01-01T01:10:34 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 244 seconds] 2013-01-01T01:20:11 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-01T01:22:01 -!- betovar1 [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has joined ##stm32 2013-01-01T01:23:28 -!- betovar [~Adium@adsl-98-64-15-131.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-01T01:36:40 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-01T01:43:54 -!- barthess [~barthess@5.100.219.14] has joined ##stm32 2013-01-01T01:44:03 -!- barthess [~barthess@5.100.219.14] has quit [Client Quit] 2013-01-01T02:02:17 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Quit: my exit] 2013-01-01T02:02:40 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-01T02:11:42 -!- Gargantuasauce [~Gargantua@p5499B8EB.dip.t-dialin.net] has joined ##stm32 2013-01-01T02:15:42 -!- baird [~cjb@ppp121-44-153-94.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-01T02:21:49 < Laurenceb_> happy new year 2013-01-01T02:22:06 < Laurenceb_> any my stm32 boards confirm its 2013 via RTC 2013-01-01T02:22:10 < Laurenceb_> *and 2013-01-01T02:23:11 -!- Gargantuasauce [~Gargantua@p5499B8EB.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 2013-01-01T02:31:17 < emeb> it's not real until your embedded system says it is. 2013-01-01T02:38:26 < qyx_> have you ever seen pcb-edge mounted female F connector? 2013-01-01T02:39:25 <+Steffanx> Yo, happy new year 2013-01-01T02:39:40 < qyx_> 2u2 2013-01-01T02:39:51 <+Steffanx> My rtc says its 1970 2013-01-01T02:40:49 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 260 seconds] 2013-01-01T02:49:55 < emeb> qyx_: no, doesn't mean they don't exist though. 2013-01-01T02:50:42 < qyx_> havne't found any 2013-01-01T02:50:50 < qyx_> en 2013-01-01T02:52:36 < Laurenceb_> i dont understand the point of the hardware calendar on F2/3/4 ? 2013-01-01T02:54:30 < qyx_> no 2013-01-01T02:55:28 < qyx_> hm, maybe i could fit whole vlf preamp in some metal tube and use panel mount F 2013-01-01T02:57:21 < emeb> qyx_: how about this: http://www.digikey.com/product-detail/en/861V509ER6/991-1044-ND/2355582 2013-01-01T02:57:54 < qyx_> hm, nice.. but the price 2013-01-01T02:58:13 < emeb> oh, NOW he wants it cheap too. :) 2013-01-01T02:59:15 < emeb> this one's a bit cheaper: http://www.digikey.com/product-detail/en/861V509E/991-1042-ND/2355580 2013-01-01T02:59:30 < qyx_> :D 2013-01-01T03:01:10 < qyx_> the pcb could be 9.5mm wide, but the inductors will hardly fit inside the pipe :/ 2013-01-01T03:04:13 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 265 seconds] 2013-01-01T03:27:13 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-01-01T03:49:11 < dongs> qyx, like what 2013-01-01T03:49:17 < dongs> you mean like pcb-edge mcx? 2013-01-01T03:49:57 < qyx_> yep 2013-01-01T03:52:10 < dongs> yep, got a board wiht one. 2013-01-01T03:52:26 < dongs> FUCKING IMGUR EXPIRING MY FUCKING LOGINS EVERY DAY 2013-01-01T03:52:39 < dongs> http://i.imgur.com/VeUDs.jpg 2013-01-01T03:53:41 < qyx_> exactyl this 2013-01-01T03:59:52 < emeb> but what does it cost! :) 2013-01-01T04:00:39 < qyx_> meh 2013-01-01T04:14:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-01-01T04:18:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-01T05:03:45 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-01T05:04:21 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-01T05:14:29 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-01T05:17:47 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-01T05:41:02 < emeb_mac> quiet night. new years parties wore everyone out? 2013-01-01T05:58:46 -!- _BJFreeman [~bjfree@89.sub-75-196-69.myvzw.com] has quit [] 2013-01-01T05:59:37 < gxti> dongs: yes even with my initial attempt i got 2.4ms RTT 2013-01-01T05:59:49 < gxti> now i have it down to 0.6ish by going single-threaded 2013-01-01T06:04:09 < gxti> still unsure why i had to work hard to get there while qyx_ just got it :p 2013-01-01T06:04:57 < qyx_> don't know, but i have another ethernet project ongoing, i will see if that success is reproducible 2013-01-01T06:05:33 < qyx_> optically isolated eth->rs485 conv 2013-01-01T06:06:23 -!- _BJFreeman [~bjfree@89.sub-75-196-69.myvzw.com] has joined ##stm32 2013-01-01T06:44:14 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-01T06:44:21 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-01T07:06:37 < dongs> gxti: ok. this is on F103? or F2/4? 2013-01-01T07:12:27 < gxti> f107. f103 does not have ethmac. 2013-01-01T07:12:36 < dongs> well ok sorry, i meant F1 vs the others. 2013-01-01T07:12:37 < dongs> k 2013-01-01T07:12:46 < gxti> flyback: then why did you say anything 2013-01-01T07:13:24 < gxti> dongs: afaik f1 and f4 have the same mac anyway, so the only difference would be overall better performance 2013-01-01T07:13:41 < gxti> i saw a halving of latency changing from -Os to -O3 2013-01-01T07:14:26 < gxti> which is odd, because i thought arm frequently ended up constrained by instruction loads. i don't have much experience in tuning stuff though. 2013-01-01T07:15:25 < zippe> gxti: that was the argument behind Thumb 2013-01-01T07:15:50 < zippe> But in reality, the T2 encodings let you do more if you're willing to eat slightly larger code 2013-01-01T07:16:13 < zippe> In particular, -O3 is much more aggressive about unrolling than -Os 2013-01-01T07:16:41 < zippe> gxti: if you aren't using an optimised memcpy (e.g. you are using newlib's memcpy) that alone may be the entire difference 2013-01-01T07:18:23 < dongs> lol keil memcpy does bytes 2013-01-01T07:18:42 < dongs> i switched to 32bits and it was a lot fastar 2013-01-01T07:18:57 < gxti> i don't even remember, i've been away for a few days 2013-01-01T07:19:26 < gxti> i think i'm letting coocox do whatever it feels like 2013-01-01T07:19:36 < gxti> which given the syscalls.c template it shat out seems to be newlib 2013-01-01T07:20:39 < gxti> but that would already be compiled so i doubt my optimization choice would affect it 2013-01-01T07:24:55 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-01T07:30:43 -!- cjbaird [~cjb@ppp121-44-211-120.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-01T07:30:59 -!- baird [~cjb@ppp121-44-153-94.lns20.syd7.internode.on.net] has quit [Ping timeout: 255 seconds] 2013-01-01T07:31:46 -!- cjbaird [~cjb@ppp121-44-211-120.lns20.syd7.internode.on.net] has quit [Client Quit] 2013-01-01T07:32:04 -!- baird [~cjb@ppp121-44-211-120.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-01T07:34:37 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-01T07:44:34 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-01T08:00:39 < baird> DEATH TO AMERICA! 2013-01-01T08:04:05 < emeb_mac> SPAGHETTI TO AUSTRALIA! 2013-01-01T08:17:20 < dongs> baird speaks the truth 2013-01-01T08:21:23 < emeb_mac> anything interesting going on? 2013-01-01T08:23:48 < dongs> nope, assembling avrshits.. almost done though 2013-01-01T08:25:01 < dongs> double-sided so its twice as retarded. 2013-01-01T08:25:14 < emeb_mac> parts on both sides? :P 2013-01-01T08:27:08 < dongs> yea 2013-01-01T08:28:14 < dongs> http://i.imgur.com/MYkfH.jpg 2013-01-01T08:37:18 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-01T08:38:26 < emeb_mac> bee got stung 2013-01-01T08:54:30 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-01T09:30:05 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-01T09:34:40 < dongs> too expensive 2013-01-01T09:39:52 < dongs> quickly approaching usefulness of a xbox 2013-01-01T09:56:30 < qyx_> http://www.bgmicro.com/black-and-white-lcd-screen.aspx 2013-01-01T09:56:32 < qyx_> woot 2013-01-01T09:56:43 < qyx_> i was determined to buy it for $50 2013-01-01T09:57:09 < qyx_> but actually i was looking for model with resistive touch 2013-01-01T09:58:19 < qyx_> i am ordering two of them, how much do they have? 2013-01-01T10:08:38 -!- _BJFreeman [~bjfree@89.sub-75-196-69.myvzw.com] has quit [] 2013-01-01T10:30:48 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-01T10:48:13 -!- betovar1 [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has quit [Quit: Leaving.] 2013-01-01T10:57:22 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-01T11:07:35 < dongs> stack of aids 2013-01-01T11:43:17 -!- Gargantuasauce [~Gargantua@p5499A9CF.dip.t-dialin.net] has joined ##stm32 2013-01-01T11:44:23 -!- barthess [~barthess@77.67.238.123] has joined ##stm32 2013-01-01T11:50:23 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-01T11:52:30 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-01T11:59:28 < timemob> Commence chats 2013-01-01T12:12:49 < Gargantuasauce> no 2013-01-01T12:14:22 -!- claude is now known as Claude 2013-01-01T12:19:18 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-01T12:22:09 -!- tim3mob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-01T12:22:38 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-01-01T12:22:38 -!- tim3mob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Client Quit] 2013-01-01T12:23:28 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-01-01T12:33:13 -!- betovar [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has joined ##stm32 2013-01-01T12:56:19 -!- Gargantuasauce [~Gargantua@p5499A9CF.dip.t-dialin.net] has quit [Read error: Operation timed out] 2013-01-01T13:23:23 < dongs> hello bloggers 2013-01-01T13:24:05 -!- Gargantuasauce [~Gargantua@p5499A9CF.dip.t-dialin.net] has joined ##stm32 2013-01-01T13:59:49 < Tectu> hello dongs 2013-01-01T13:59:55 < Tectu> haw's it blogging in 2013? 2013-01-01T14:30:59 < dongs> shitty. 2013-01-01T14:36:01 < qyx_> tell us something about pl2013 2013-01-01T14:38:45 < dongs> its shitty. 2013-01-01T14:38:48 < dongs> gonna assemble 303 board I guess. 2013-01-01T14:41:09 < dongs> needs some happyhardcore. 2013-01-01T14:54:20 -!- baird [~cjb@ppp121-44-211-120.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-01T15:16:05 < zyp> :p 2013-01-01T15:16:49 < dongs> its in the oven. 2013-01-01T15:16:55 < dongs> gonna see if bootloader works shortly. 2013-01-01T15:17:38 < zyp> would be surprised if not 2013-01-01T15:17:52 < dongs> rusaying it doesnt workr on 373 for a reason 2013-01-01T15:18:23 < zyp> I assume so 2013-01-01T15:18:41 < dongs> the bros from ST say it should work thou 2013-01-01T15:18:57 < zyp> oh 2013-01-01T15:19:11 -!- Gargantuasauce [~Gargantua@p5499A9CF.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 2013-01-01T15:22:21 < dongs> lawl 2013-01-01T15:22:21 < dongs> it works 2013-01-01T15:22:31 < dongs> STM32 BOOTLOADER 2013-01-01T15:23:14 < dongs> STM Device in DFU Mode 2013-01-01T15:23:17 < dongs> driver installed. 2013-01-01T15:23:19 < dongs> seems to wo rk. 2013-01-01T15:24:45 < zyp> I assume F303 is supposed to have DFU and F373 only has UART, for some reason 2013-01-01T15:25:32 < dongs> ya butt st pal says it has both 2013-01-01T15:26:02 < dongs> what the fuck are thjose st forums url 2013-01-01T15:27:49 < dongs> found 2013-01-01T15:27:52 < dongs> useless fucking urls 2013-01-01T15:27:55 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has joined ##stm32 2013-01-01T15:28:01 < dongs> Laurenceb_: F303 bootloader works 2013-01-01T15:28:07 < dongs> 12mhz xtal, usb boot dfu 2013-01-01T15:28:49 < dongs> zyp: 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%3FPaged%3DTRUE%26p_StickyPost%3D%26p_DiscussionLastUpdated%3D20121 2013-01-01T15:28:56 < dongs> fuuuuuuuuuuuuuuuck 2013-01-01T15:28:59 < Laurenceb_> nice 2013-01-01T15:28:59 < dongs> nice url 2013-01-01T15:29:05 < dongs> https://my.st.com/public/STe2ecommunities/mcu/_layouts/st/getshorturl.aspx?Source=http://eun1p1-fe.stp-prod.st.com:28813/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32F373%20Bootloader&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx?Page 2013-01-01T15:29:12 < dongs> haha... 2013-01-01T15:29:14 < dongs> "share discussion" link iss even bigger 2013-01-01T15:29: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. 2013-01-01T15:29:31 < dongs> STM32F3xx will be included soon in AN2606 and it is expected to be available by next week. 2013-01-01T15:29:34 < dongs> With USART1, which Flash Loader version are you using? 2013-01-01T15:29:51 < dongs> hes kinda beating around the bush here though 2013-01-01T15:30:02 < dongs> 'bootlaoder is supported' but 'not by dfuse demo' 2013-01-01T15:30:06 < zyp> getshorturl.aspx 2013-01-01T15:30:27 < zyp> dfuse demo is irrelevant 2013-01-01T15:30:39 < dongs> but not necessarily saying USB bootloader not supported, just not by 'current version of dfuse' =maybe? 2013-01-01T15:30:46 < zyp> we checked that external crystal aren't even started 2013-01-01T15:30:53 < dongs> right 2013-01-01T15:31:02 < zyp> so it doesn't even try to set it up as a device 2013-01-01T15:31:28 < Laurenceb_> were the F373s engineering samples? 2013-01-01T15:31:31 < dongs> no 2013-01-01T15:31:33 < dongs> legit 2013-01-01T15:31:37 < dongs> 303s are legit as w ell 2013-01-01T15:31:48 < dongs> hopefully so is the chinatray of htem that im getting eventually 2013-01-01T15:32:22 < zyp> it might be a buggy version of rom bootloader, of course 2013-01-01T15:58:09 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-01T15:58:10 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-01T15:58:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-01T15:58:13 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-01T16:01:28 <+Steffanx> Happy new 2013 2013-01-01T16:01:37 < dongs> old 2013-01-01T16:01:45 < dongs> its like jan2 in 1 hour. 2013-01-01T16:01:46 <+Steffanx> For you maybe 2013-01-01T16:01:54 <+Steffanx> We're not all from japland :) 2013-01-01T16:02:24 < dongs> now to figure out this nor flash shit.. 2013-01-01T16:02:27 < dongs> why hte fuck isnt it working 2013-01-01T16:09:44 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-01T16:16:28 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-01T16:27:39 < dongs> http://i.imgur.com/MtEIt.jpg Laurenceb_ < 2013-01-01T16:27:58 < zyp> nice 2013-01-01T16:28:18 < dongs> i need to redo the design with HMC5983 though. 2013-01-01T16:29:08 < zyp> four layer? 2013-01-01T16:29:11 < dongs> ya 2013-01-01T16:29:24 < zyp> any parts on back? 2013-01-01T16:29:27 < dongs> nope 2013-01-01T16:29:36 < zyp> neat 2013-01-01T16:30:06 < zyp> all sensors on SPI? 2013-01-01T16:30:12 < dongs> i had these boards for months, infact..... since jan 2012 2013-01-01T16:30:22 < dongs> yea, mag is behind slave i2C on mpu 2013-01-01T16:30:27 < zyp> I see I2C EEPROM, but seems to be alone on the bus 2013-01-01T16:30:29 < zyp> ah, right 2013-01-01T16:30:32 < dongs> right 2013-01-01T16:31:01 < zyp> have you ever tested the DMP? 2013-01-01T16:31:05 < dongs> yes 2013-01-01T16:31:12 < zyp> how is it? 2013-01-01T16:31:20 < dongs> but only in acc/gyro mode 2013-01-01T16:31:22 < dongs> well, it outputs quats 2013-01-01T16:31:23 < zyp> worth using? 2013-01-01T16:31:24 < dongs> at like 200hz? 2013-01-01T16:31:37 < dongs> i dunno i never got past just getting the numbers out of it. 2013-01-01T16:31:47 < dongs> it could be but its so undocumented its annoying 2013-01-01T16:31:53 < dongs> magic shit everywehre, even worse than your code 2013-01-01T16:34:24 < dongs> though.. i think they did recently opensauce it... 2013-01-01T16:34:29 < dongs> might be worth looking at again 2013-01-01T16:34:36 < dongs> opensauce with some retarded license, but i dont care about that. 2013-01-01T16:34:44 < dongs> i think their shit only supports some AKM mag though. 2013-01-01T16:34:56 < dongs> if I redo this with with HMC5983 i'll just leave mag on SPI by itself 2013-01-01T16:35:05 < dongs> if->when 2013-01-01T16:35:27 < zyp> yeah, sounds sensible 2013-01-01T16:36:15 < zyp> hmm, got swd connector on the board? 2013-01-01T16:36:21 < zyp> on the back I guess? 2013-01-01T16:36:33 < dongs> yes, of course 2013-01-01T16:36:57 < dongs> my usual 10pins hit 2013-01-01T16:37:26 < zyp> maybe I'll buy one after you redo it and port my code to it 2013-01-01T16:37:46 < zyp> because hardware looks nice 2013-01-01T16:38:06 < dongs> its mostly proper design as well. split power supply, some filtering and shit. 2013-01-01T16:38:37 < zyp> and sensors are probably better than the ones on my F4 board 2013-01-01T16:39:04 < zyp> and my code currenctly doesn't use GPS or the other shit on my F4 board, and your board would be cheaper to crash :p 2013-01-01T16:39:39 < dongs> hmm.. 1.6mhz for A0 switching... 2013-01-01T16:39:41 < dongs> time to read datasheet. 2013-01-01T16:41:38 < dongs> way less than 90ns min... hmm 2013-01-01T16:41:46 < dongs> why the fuck doesnt this shit work then 2013-01-01T16:42:42 < zyp> A0? 2013-01-01T16:42:49 < dongs> trying to read nor flash wiht fsmc 2013-01-01T16:42:56 < dongs> failing, hard. 2013-01-01T16:42:56 < zyp> ah 2013-01-01T16:43:11 < dongs> its access time is someshit like 90ns, so thats way below that. 2013-01-01T16:44:47 < dongs> i lost the fucking wavesahre dvd 2013-01-01T16:44:49 < dongs> with all schematics 2013-01-01T16:44:53 < dongs> and they dont post that shit on site :( 2013-01-01T16:45:05 < zyp> I'm also a bit annoyed by that 2013-01-01T16:45:27 < zyp> I have mine, but I don't have dvd readers in any of my computers :p 2013-01-01T16:45:43 < dongs> haha. 2013-01-01T16:46:10 < zyp> oh well, train is arriving 2013-01-01T16:46:19 < zyp> time to grab some food before four hour bus trip 2013-01-01T16:50:37 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Quit: leaving] 2013-01-01T16:50:48 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-01T17:08:24 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-01T17:16:37 < dongs> emeb_mac: F303 bootloader works w/usb and 12mhz xtal 2013-01-01T17:16:47 < emeb_mac> sweet! 2013-01-01T17:16:55 < dongs> http://i.imgur.com/MtEIt.jpg < on this hw. permanent 1.5k pullup, no dickery w/fet 2013-01-01T17:17:32 < emeb_mac> that's one of your little nav boards? 2013-01-01T17:18:03 < dongs> yeah. i had it made a year ago, just used f303 on it instead. 2013-01-01T17:18:12 < emeb_mac> right 2013-01-01T17:18:53 < emeb_mac> remember - pfet dickery is to provide a clean USB reset w/o driving USBP low thru gpio. 2013-01-01T17:19:23 < dongs> yeah 2013-01-01T17:20:10 < zyp> it's mostly useful when the mcu will reset while usb is connected 2013-01-01T17:21:32 < emeb_mac> is the little can up to the left of the l883 a pressure/alt sensor? 2013-01-01T17:21:56 < zyp> yep 2013-01-01T17:23:40 < dongs> zyp, you can still do usbdp gpio on reset. 2013-01-01T17:23:47 < dongs> ive done it lots of times 2013-01-01T17:23:48 < zyp> yes 2013-01-01T17:23:51 < dongs> to reconnect. 2013-01-01T17:24:23 < zyp> it's certainly possible 2013-01-01T17:24:39 < zyp> but not particularly proper : 2013-01-01T17:25:55 < zyp> and driving d+ down if the host happens to drive it up doesn't sound particularly nice 2013-01-01T17:27:49 < zyp> but then I guess usb spec says that stuff should be harmed by shorts on data lines, so you're probably not going to destroy something that way 2013-01-01T17:27:55 < zyp> shouldn't 2013-01-01T17:28:40 < dongs> lul 2013-01-01T17:28:45 < dongs> i think i found my fmsc problem 2013-01-01T17:28:46 < dongs> fsmc 2013-01-01T17:28:57 < jpa-> may be even less nice if the termination resistors are internal and only for the usb peripheral.. but on the other hand, if something has internal termination it usually has internal pull-up also 2013-01-01T17:29:03 < zyp> wrong edges or something like that? 2013-01-01T17:29:08 < dongs> nup 2013-01-01T17:29:10 < dongs> even dumber 2013-01-01T17:29:31 < zyp> do tell 2013-01-01T17:32:52 < dongs> chip enable isnt on. 2013-01-01T17:32:58 < zyp> … 2013-01-01T17:33:07 < emeb_mac> derp 2013-01-01T17:33:38 < dongs> thing is... the 'docs' for the breakout are a bit lacking 2013-01-01T17:33:42 < dongs> i dont actually see a way to connect it 2013-01-01T17:33:49 < dongs> there's some 0k resistor shits that should be on pads 2013-01-01T17:33:55 < dongs> but the way its done doesnt maek sense 2013-01-01T17:34:04 < zyp> got the schematic? 2013-01-01T17:34:11 < dongs> nope 2013-01-01T17:34:18 < zyp> isn't there a decoder chip somewhere? 2013-01-01T17:34:47 < zyp> that's supposed to drive CE on addr match 2013-01-01T17:35:19 < dongs> no 2013-01-01T17:35:25 < dongs> fsmc has like 2-3 enable shits 2013-01-01T17:35:27 < dongs> NE1..NEx 2013-01-01T17:35:35 < dongs> and CSxx 2013-01-01T17:35:44 < dongs> it just sets them, if you configure the stuff as such 2013-01-01T17:35:51 < zyp> hmm, I haven't worked with it yet, so I can't say anything without a schematic 2013-01-01T17:36:36 < dongs> anywayi saw NE2 pulsing but not #CE 2013-01-01T17:36:52 < dongs> so... trying to connet htem still fails though but i might have fucked something up in the code since hten trying various shits 2013-01-01T17:37:37 < dongs> if I connect them nothing happens.. shit stays perm high 2013-01-01T17:37:38 < dongs> wtf 2013-01-01T17:37:42 < emeb_mac> Hmm 2013-01-01T17:37:53 < emeb_mac> I got fsmc working on an f4 2013-01-01T17:37:59 < emeb_mac> no big drama. 2013-01-01T17:38:47 < emeb_mac> to test the CSx I just set up a loop to access memory in the right range & watched it toggle. 2013-01-01T17:43:10 < dongs> WTFFFFFFFFF 2013-01-01T17:43:13 < dongs> on the board 2013-01-01T17:43:19 < dongs> cs was permanently tied to VCC 2013-01-01T17:43:25 < dongs> with 0k 2013-01-01T17:43:35 < emeb_mac> wat? 2013-01-01T17:43:40 < dongs> FUCK WAVESHARE; WAVESHARE SUX; WAVESHARE IS DYING; WAVESHARE IS DEAD TO ME; WAVESHARE HIT WTC 2013-01-01T17:43:55 < emeb_mac> bizarre 2013-01-01T17:44:17 < emeb_mac> does it still work after removing 0ohm? 2013-01-01T17:44:51 < dongs> well im gonna jumper it to NE2 now 2013-01-01T17:44:52 < dongs> and test 2013-01-01T17:46:14 < dongs> yes 2013-01-01T17:46:15 < dongs> fucking shit 2013-01-01T17:46:18 < dongs> wasted ~1 day 2013-01-01T17:46:27 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-01T17:46:39 < emeb_mac> send them a nastygram. 2013-01-01T17:46:43 < dongs> i will 2013-01-01T17:46:49 < dongs> i'll demand a free socket 2013-01-01T17:47:04 < dongs> i spend enough $ with them they should stop failing like this 2013-01-01T17:47:06 < zyp> huh, does that even make sense? 2013-01-01T17:47:11 < dongs> zyp, no idea. 2013-01-01T17:47:15 < dongs> they have a row of 0k resistors at the top 2013-01-01T17:47:21 < dongs> and the way they had it setup (BBY DEFAULT) 2013-01-01T17:47:26 < dongs> is CS# was perm on vcc 2013-01-01T17:47:48 < dongs> that wouldnt even work with their own chip. 2013-01-01T17:47:49 < zyp> hmm, gonna check that when I get home 2013-01-01T17:48:14 < emeb_mac> is this on the waveshare mobo, or on one of the periph boards? 2013-01-01T17:48:21 < dongs> nor flash breakout shit 2013-01-01T17:48:22 < zyp> nor periph? 2013-01-01T17:48:26 < dongs> yea 2013-01-01T17:48:27 < emeb_mac> right 2013-01-01T17:48:30 < dongs> 128mbit or someshit 2013-01-01T17:48:48 < dongs> fuck. i spent so much time resoldering that damn chip 2013-01-01T17:48:50 < dongs> and testing each pin :D 2013-01-01T17:49:10 < zyp> it's designed to be able to stack with sram, so using both at the same time should work fine 2013-01-01T17:49:24 < dongs> doubtful 2013-01-01T17:49:33 < emeb_mac> why? 2013-01-01T17:49:33 < dongs> which part of "CE goes straight to vcc" was unclear 2013-01-01T17:49:37 < dongs> you can't fix that by stacking another board on top 2013-01-01T17:49:43 < dongs> its bridged, by resistor 2013-01-01T17:49:45 < dongs> not pulldown 2013-01-01T17:49:47 < dongs> or wahtever. 2013-01-01T17:49:49 < dongs> or pullup 2013-01-01T17:49:59 < zyp> that's what I find weird 2013-01-01T17:50:04 < emeb_mac> just dumb. 2013-01-01T17:53:04 < Laurenceb_> http://i.imgur.com/MtEIt.jpg 2013-01-01T17:53:07 < Laurenceb_> nice 2013-01-01T17:53:31 < Laurenceb_> now recompile the attitude code to use FPU :P 2013-01-01T17:53:53 < zyp> I assume it's done already 2013-01-01T17:54:05 < zyp> F1 code won't run on F3 anyway 2013-01-01T17:54:14 < zyp> due to different GPIO and shit 2013-01-01T17:54:18 < Laurenceb_> thats true :P 2013-01-01T17:54:37 < Laurenceb_> ooh no cp2102 on their either 2013-01-01T17:54:39 < Laurenceb_> looks more sane 2013-01-01T17:54:52 < zyp> yeah 2013-01-01T17:54:58 < Laurenceb_> dongs: you dont need those 22 ohm resistors on usb 2013-01-01T17:55:05 < zyp> no point when it ships with DFU bootloader 2013-01-01T17:55:06 < Laurenceb_> its impedance matched already 2013-01-01T17:55:50 < jpa-> F3 doesn't have internal pull-up for usb, but it has internal termination resistors? 2013-01-01T17:56:02 < zyp> it has, but it's out of spec 2013-01-01T17:56:06 < dongs> Laurenceb_: the board was made in january for F103 2013-01-01T17:56:07 < zyp> same shit as in F1 I think 2013-01-01T17:56:12 < jpa-> ah 2013-01-01T17:56:18 < jpa-> who cares, works fine :) 2013-01-01T17:56:27 < dongs> indeed, it enumerated as bootloader in DFU 2013-01-01T17:56:30 < zyp> too strong or something like that 2013-01-01T17:56:32 < dongs> so thats all that matters 2013-01-01T17:56:34 < dongs> k bbl 2013-01-01T17:56:39 < dongs> raged @ nor flash + waveshare fail 2013-01-01T18:09:12 < Laurenceb_> zyp: really 2013-01-01T18:09:19 < Laurenceb_> datasheet seems different 2013-01-01T18:09:27 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-01T18:09:59 < Laurenceb_> "3. No external termination series resistors are required on USB_DP (D+) and USB_DM (D-), the matching impedance is 2013-01-01T18:09:59 < Laurenceb_> already included in the embedded driver. 2013-01-01T18:10:00 < Laurenceb_> " 2013-01-01T18:10:01 < emeb_mac> interesting that ST put 22ohm USB resistors on the F3 disco 2013-01-01T18:10:06 < zyp> dunno, maybe they just gave up and left it out 2013-01-01T18:10:14 < zyp> emeb_mac, yeah, I commented that before 2013-01-01T18:11:24 < Laurenceb_> that reminds me i still need to try running usb down mogami microphone cable 2013-01-01T18:11:47 < emeb_mac> 4 conductor? 2013-01-01T18:11:57 < Laurenceb_> thinking of replacing my vehicle monitor with a rpi and putting an stm32 on each sensor unit 2013-01-01T18:12:00 < Laurenceb_> no 3 2013-01-01T18:12:07 < Laurenceb_> using the sheild as ground 2013-01-01T18:12:12 < emeb_mac> ah 2013-01-01T18:12:36 < Laurenceb_> i have some big reels of it for making sensor cables 2013-01-01T18:16:22 < emeb_mac> oh - so driving usb over long mic cables as sensor network. Just put a hub at the main collection point. 2013-01-01T18:17:57 < emeb_mac> man - I really don't understand how Mac OS determines which virtual screen to open a window on when unminimizing. 2013-01-01T18:18:24 < emeb_mac> seems pretty random & annoying. 2013-01-01T18:18:41 < zyp> heh 2013-01-01T18:19:03 < zyp> I can't comment on that, I don't use virtual desktops 2013-01-01T18:19:39 < emeb_mac> ancient MacBook here - not enough screen real-estate in just one. 2013-01-01T18:19:55 < emeb_mac> really doesn't seem well thought-out though. 2013-01-01T18:21:24 < zyp> I'm currently sitting on a bus with my macbook, still don't use virtual desktops 2013-01-01T18:22:23 < emeb_mac> I got hooked on multiple screens back on Solaris / CDE. Miss them when using Win7. 2013-01-01T18:22:59 < zyp> pretty much all windows are maximized anyway, so I just switch between windows 2013-01-01T18:23:52 < emeb_mac> aha. I like seeing stuff in the background so I can tell when something happens that I'm not directly looking at. 2013-01-01T18:24:12 < emeb_mac> some apps aren't good at letting you know about that if they don't have focus. 2013-01-01T18:27:45 < emeb_mac> lol: http://imgur.com/1WZ6h 2013-01-01T18:35:42 -!- barthess [~barthess@77.67.238.123] has quit [Quit: Leaving.] 2013-01-01T18:35:52 -!- barthess [~barthess@77.67.238.123] has joined ##stm32 2013-01-01T18:36:06 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-01T18:39:20 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-01T18:57:05 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-01T18:57:32 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-01T18:57:32 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-01T18:57:32 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-01T19:03:39 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has joined ##stm32 2013-01-01T19:21:54 -!- BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has joined ##stm32 2013-01-01T19:22:18 -!- BJFreeman is now known as Guest63498 2013-01-01T19:23:21 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has quit [Ping timeout: 245 seconds] 2013-01-01T19:24:32 -!- Guest63498 [~bjfree@119.sub-75-244-160.myvzw.com] has quit [Client Quit] 2013-01-01T19:24:52 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has joined ##stm32 2013-01-01T19:40:55 -!- betovar [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has quit [Quit: Leaving.] 2013-01-01T19:46:45 -!- betovar [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has joined ##stm32 2013-01-01T20:15:58 -!- Gargantuasauce [~Gargantua@p5499A9CF.dip.t-dialin.net] has joined ##stm32 2013-01-01T20:17:13 -!- Claude is now known as claude 2013-01-01T20:21:15 -!- Gargantuasauce [~Gargantua@p5499A9CF.dip.t-dialin.net] has quit [Ping timeout: 276 seconds] 2013-01-01T20:24:43 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-01T20:32:35 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:446b:5c1b:b0af:f1a3] has joined ##stm32 2013-01-01T20:44:57 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-01T20:44:57 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-01T20:44:57 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-01T20:45:00 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-01T20:45:59 <+Steffanx> nu 2013-01-01T20:47:05 < emeb> xi 2013-01-01T20:50:36 < zyp> l 2013-01-01T20:51:47 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has quit [Ping timeout: 260 seconds] 2013-01-01T20:51:54 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has joined ##stm32 2013-01-01T20:55:32 < Laurenceb_> http://imagebin.org/index.php?mode=image&id=241314 2013-01-01T20:55:58 < Laurenceb_> keypress detected from lsm330d 2013-01-01T20:56:09 < Laurenceb_> keyboard was 2m away on same desk 2013-01-01T20:56:21 < gxti> k 2013-01-01T20:57:58 < Laurenceb_> wonder if you could ever detect which key was pressed 2013-01-01T20:59:45 < emeb> what's the vertical scale? 2013-01-01T21:00:42 < Laurenceb_> weird matlab units 2013-01-01T21:00:56 < emeb> (tm) 2013-01-01T21:00:59 < Laurenceb_> i think its divided by 32768 2013-01-01T21:01:05 < Laurenceb_> as i imported from wav 2013-01-01T21:01:19 < Laurenceb_> so lsb/32768 2013-01-01T21:01:28 < Laurenceb_> and ~1024LSB = 1G 2013-01-01T21:01:57 < Laurenceb_> for some reason the data is weirdly aligned so 1 sensor LSB is actually 64 LSB in the output data 2013-01-01T21:02:59 < emeb> pretty sensitive 2013-01-01T21:03:02 < Laurenceb_> im saving as wav onboard the logger board so the files are fairly small 2013-01-01T21:03:31 < Laurenceb_> well its actually quite high acceleration 2013-01-01T21:03:54 < Laurenceb_> just quite high frequency, filtered out completely at lower sample rates 2013-01-01T21:04:23 < Laurenceb_> speed of sound in a table is going to be like 10Km/s or something 2013-01-01T21:04:24 < emeb> what's the sample rate? 2013-01-01T21:04:32 < Laurenceb_> so its not fast enough to triangulate 2013-01-01T21:04:35 < Laurenceb_> 1.2Ksps 2013-01-01T21:04:43 < Laurenceb_> well.. 1.35 onboard the sensor 2013-01-01T21:04:53 < Laurenceb_> the goofy interpolation means i only get 1.2 2013-01-01T21:06:14 -!- barthess [~barthess@77.67.238.123] has quit [Quit: Leaving.] 2013-01-01T21:06:14 < Laurenceb_> i think its actually sampling 8bit at ~6Ksps internally 2013-01-01T21:06:22 < Laurenceb_> then dsp filtering from there 2013-01-01T21:06:26 < emeb> ok 2013-01-01T21:06:37 < Laurenceb_> at 1.35ksps its losing 3 bits 2013-01-01T21:06:43 < Laurenceb_> so its only 9 bit output 2013-01-01T21:06:48 < Laurenceb_> which sucks a lot 2013-01-01T21:07:01 < Laurenceb_> but its probably just good enough for vehicle monitoring 2013-01-01T21:07:31 < emeb> speed of sound in steel ~6km/s. where do you get 10km/s for table? 2013-01-01T21:07:42 < Laurenceb_> guesstimating 2013-01-01T21:07:49 < Laurenceb_> yeah maybe 4Km/s then 2013-01-01T21:07:50 < emeb> :) 2013-01-01T21:08:32 < emeb> still no good for fine spatial resolution. 2013-01-01T21:08:34 < Laurenceb_> way too fast to triangulate 2013-01-01T21:08:36 < Laurenceb_> yeah 2013-01-01T21:08:48 < gxti> plus the keys aren't sitting on the table :p 2013-01-01T21:08:49 < Laurenceb_> but there may be a characteristic resonance for each key 2013-01-01T21:08:54 < emeb> right 2013-01-01T21:08:59 < Laurenceb_> and/or delays between keys 2013-01-01T21:09:12 < Laurenceb_> im too lazy to investigate this :P 2013-01-01T21:09:33 < emeb> out there with van eck. 2013-01-01T21:10:29 < emeb> probably easier to sample RF and look for USB kbd EM. 2013-01-01T21:11:14 -!- Laurenceb__ [~Laurence@host86-177-212-151.range86-177.btcentralplus.com] has joined ##stm32 2013-01-01T21:13:02 < Laurenceb__> http://www.chipworks.com/media/wpmu/uploads/blogs.dir/4/files/2012/06/ST-CombiSensor2.jpg 2013-01-01T21:13:28 -!- Laurenceb_ [~Laurence@host86-177-208-129.range86-177.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-01-01T21:14:21 < Laurenceb__> some crazy vias there 2013-01-01T21:14:49 < emeb> filled apparently 2013-01-01T21:15:32 < Laurenceb__> ah, that explains it 2013-01-01T21:19:41 < Laurenceb__> http://www.pcb007.com/pages/zone.cgi?a=44582 2013-01-01T21:19:45 < Laurenceb__> interesting 2013-01-01T21:21:58 < emeb> guy I know used to work @ RIM designing cell phone boards. The PCBs they use there are amazing 2013-01-01T21:22:28 < emeb> like 18 layers. blind/buried/filled vias. 2013-01-01T21:22:42 < Laurenceb__> nice 2013-01-01T21:22:44 < Laurenceb__> http://www.chipworks.com/media/wpmu/uploads/blogs.dir/4/files/2012/06/Board1.jpg 2013-01-01T21:22:50 < emeb> boards cost ~$20/ea in 1e6 qty 2013-01-01T21:23:05 < Laurenceb__> looks like possibly ST baro sensor at far left 2013-01-01T21:23:26 < Laurenceb__> thats a lot to pay for that sort of quantity 2013-01-01T21:23:37 < emeb> yeah. speaks to the complexity. 2013-01-01T21:24:51 < emeb> baro has little hole in pkg? 2013-01-01T21:25:19 < Laurenceb__> yes 2013-01-01T21:25:33 < Laurenceb__> bottom thing is the microphone 2013-01-01T21:25:40 < emeb> what's on very top? 2013-01-01T21:25:52 < emeb> another mic? 2013-01-01T21:26:07 < Laurenceb__> which side? 2013-01-01T21:26:37 < Laurenceb__> oh i see 2013-01-01T21:26:42 < Laurenceb__> some kind of module 2013-01-01T21:26:47 < emeb> pcb tab at very top has little metal pkg w/ hole. just like the one you said is mic 2013-01-01T21:26:54 < Laurenceb__> speaker is plug in submodule iirc 2013-01-01T21:27:03 < Laurenceb__> oh yeah 2013-01-01T21:27:09 < Laurenceb__> it has two microphones 2013-01-01T21:27:14 < Laurenceb__> for noise cancelling 2013-01-01T21:27:27 < Laurenceb__> weirdly there is a dedicated noise cancelling IC 2013-01-01T21:27:33 < emeb> this the galaxy sIII? 2013-01-01T21:27:59 < Laurenceb__> yes 2013-01-01T21:28:12 < emeb> remarkably sparse layout. 2013-01-01T21:28:47 < Laurenceb__> theres so _very_ highly integrated boardcoms ics on there 2013-01-01T21:28:52 < emeb> yup 2013-01-01T21:29:53 < Laurenceb__> i see they put epoxy under the processor 2013-01-01T21:30:04 < Laurenceb__> presumably it improved reliability 2013-01-01T21:30:23 < emeb> yeah - I was reading about that a while back. 2013-01-01T21:30:45 < emeb> reduces stress on individual balls 2013-01-01T21:30:49 < Laurenceb__> http://www.chipworks.com/media/wpmu/uploads/blogs.dir/4/files/2012/06/Board2.jpg 2013-01-01T21:30:54 < Laurenceb__> looks like the RF stuff 2013-01-01T21:31:13 < emeb> yep - skyworks 2013-01-01T21:32:23 < emeb> such tiny connectors 2013-01-01T21:33:22 < emeb> interesting region coding - see little legend on bottom left "EU AU IN" with solder on the EU pad. 2013-01-01T21:36:23 < Laurenceb__> http://imagebin.org/index.php?mode=image&id=241320 2013-01-01T21:36:35 < Laurenceb__> this is interesting - gyro data from button presses 2013-01-01T21:36:46 < emeb> hmmm 2013-01-01T21:37:22 < Laurenceb__> i dont think the desk is really twisting around 2013-01-01T21:37:28 < emeb> looks like all three axes are in phase. 2013-01-01T21:37:50 < Laurenceb__> the sensor isnt quite level with the desk 2013-01-01T21:37:58 < Laurenceb__> it could be vibrating on its cable 2013-01-01T21:38:19 < emeb> clamp it down! 2013-01-01T21:40:01 < Laurenceb__> http://imagebin.org/index.php?mode=image&id=241321 2013-01-01T21:41:33 < emeb> longer timescale on the gyro data? 2013-01-01T21:43:47 < Laurenceb__> yes 2013-01-01T21:45:55 < Laurenceb__> well it seems to work well enough for my purposes 2013-01-01T21:46:03 < emeb> ship it! 2013-01-01T21:46:05 < Laurenceb__> yup 2013-01-01T21:46:21 < emeb> thus ends the I2C fail. 2013-01-01T21:46:25 < Laurenceb__> heh :P 2013-01-01T21:46:52 < emeb> with finger pointing squarely at ST. 2013-01-01T21:46:53 < Laurenceb__> well... apart from fatfs is doing something off 2013-01-01T21:46:57 < Laurenceb__> yes.. 2013-01-01T21:47:09 < emeb> what's fatfs doing? 2013-01-01T21:47:11 < Laurenceb__> theres 2 random bytes on the end of my files 2013-01-01T21:47:22 < emeb> erp! 2013-01-01T21:48:12 < Laurenceb__> its not a big issue as the files are just uploaded to my server 2013-01-01T21:48:21 -!- Laurenceb__ is now known as Laurenceb_ 2013-01-01T21:48:31 < emeb> do the two bytes show up in the legal filesize? 2013-01-01T21:48:48 < Laurenceb_> good question 2013-01-01T21:48:55 < emeb> ie - you write 10 bytes, but when reading you don't get EOF until 12 are read? 2013-01-01T21:48:55 < Laurenceb_> how the hell would i find out? 2013-01-01T21:49:10 < Laurenceb_> maybe ghex can help 2013-01-01T21:49:39 < emeb> have your STM write a file of known data/length. read it - see what you get? 2013-01-01T21:51:32 < Laurenceb_> ok according to GHex the file is ok 2013-01-01T21:51:41 < Laurenceb_> maybe its my printf routine 2013-01-01T21:51:50 < Laurenceb_> ill look at the wav files 2013-01-01T21:51:58 < Laurenceb_> its the ascii file thats dodgey 2013-01-01T21:53:51 < Laurenceb_> yeah the wav files are fine, probably printf being weird 2013-01-01T21:54:11 < emeb> bad printf! 2013-01-01T21:54:17 < emeb> home-made? 2013-01-01T21:54:55 < Laurenceb_> yes 2013-01-01T21:55:08 < Laurenceb_> found it - poor use of memcpy 2013-01-01T21:55:13 < emeb> easy 2013-01-01T21:55:35 < emeb> I need to try out that nano printf stuff in 4.7 multilib that zyp mentioned. 2013-01-01T21:56:06 < Laurenceb_> im just using very hacked around rprintf from procyon avrlib 2013-01-01T21:57:07 < emeb> hmm... tom-itx acting weird... 2013-01-01T21:57:27 < emeb> need to refresh log multiple times to get full content. 2013-01-01T21:58:14 < Laurenceb_> http://www.procyonengineering.com/embedded/avr/avrlib/docs/html/rprintf_8c.html 2013-01-01T22:04:14 < emeb> nice 2013-01-01T22:04:55 < emeb> Tried out "--specs=nano.specs" - compiled and reduced code size from 40k to 13k, but hardfaults when run. 2013-01-01T22:05:16 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has quit [Read error: Connection reset by peer] 2013-01-01T22:05:42 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has joined ##stm32 2013-01-01T22:07:15 < Laurenceb_> is this the fatfs project? 2013-01-01T22:08:21 < emeb> yeah - my little test of sd card on F373. 2013-01-01T22:08:30 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 276 seconds] 2013-01-01T22:12:38 < Laurenceb_> using spi? 2013-01-01T22:14:36 < zyp> home at last :) 2013-01-01T22:15:09 < emeb> Laurenceb_: yep 2013-01-01T22:15:21 < emeb> zyp: got your other Nexus 4 waiting? 2013-01-01T22:15:35 <+Steffanx> emeb, get him to reboot is itx :P 2013-01-01T22:16:12 < emeb> Steffanx: seems OK now. 2013-01-01T22:16:48 <+Steffanx> Nah it's his itx/router 2013-01-01T22:17:18 <+Steffanx> Image don't load either 2013-01-01T22:18:02 < zyp> emeb, it has been waiting for a week 2013-01-01T22:18:16 < zyp> arrived 24th, I left 22nd :p 2013-01-01T22:18:45 < emeb> One for each ear! 2013-01-01T22:19:02 < emeb> hot spare! 2013-01-01T22:19:12 < emeb> play games against yourself! 2013-01-01T22:20:54 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-01T22:37:34 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-01T22:37:41 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-01T22:40:01 -!- Thorn__ [~Thorn@128-73-61-161.broadband.corbina.ru] has joined ##stm32 2013-01-01T22:40:08 -!- Thorn__ [~Thorn@128-73-61-161.broadband.corbina.ru] has quit [Changing host] 2013-01-01T22:40:08 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-01T22:40:11 < emeb> Neil deGrasse Tyson: "Merry Perihelion to all. In its annual oval orbit, Earth swings closer to the Sun today than at any other time of the year." 2013-01-01T22:40:39 < Thorn__> oval? 2013-01-01T22:41:02 < emeb> yep 2013-01-01T22:42:31 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 255 seconds] 2013-01-01T22:43:27 -!- Thorn__ is now known as Thorn 2013-01-01T22:53:52 -!- Laurenceb [~laurence@128.243.75.1] has quit [Ping timeout: 272 seconds] 2013-01-01T22:54:50 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2013-01-01T23:10:19 < Laurenceb_> hi Laurenceb 2013-01-01T23:29:02 -!- BjoernC [~BjoernC@dyndsl-178-142-055-006.ewe-ip-backbone.de] has joined ##stm32 2013-01-01T23:30:31 -!- BjoernC [~BjoernC@dyndsl-178-142-055-006.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-01T23:37:41 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has quit [Ping timeout: 265 seconds] 2013-01-01T23:38:17 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has joined ##stm32 --- Day changed Wed Jan 02 2013 2013-01-02T00:02:29 -!- Gargantuasauce [~Gargantua@p5499A9CF.dip.t-dialin.net] has joined ##stm32 2013-01-02T00:08:35 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-02T00:09:20 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2013-01-02T00:12:07 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2013-01-02T00:12:41 -!- barthess [~barthess@77.67.238.123] has joined ##stm32 2013-01-02T00:15:01 -!- barthess1 [~barthess@5.100.203.252] has joined ##stm32 2013-01-02T00:15:12 -!- barthess [~barthess@77.67.238.123] has quit [Read error: Connection reset by peer] 2013-01-02T00:31:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 240 seconds] 2013-01-02T00:32:22 <+Steffanx> Hi Laurenceb with springboard 2013-01-02T00:33:12 < emeb> doioioing.... 2013-01-02T00:33:24 <+Steffanx> déjà vu 2013-01-02T00:48:28 < zippe> dongs: how did your CAN2servo thing go? 2013-01-02T01:01:16 -!- Gargantuasauce [~Gargantua@p5499A9CF.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 2013-01-02T01:22:55 -!- barthess1 [~barthess@5.100.203.252] has quit [Quit: Leaving.] 2013-01-02T02:18:28 -!- Laurenceb_ [~Laurence@host86-177-212-151.range86-177.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-01-02T02:20:15 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [Read error: Connection reset by peer] 2013-01-02T02:23:39 < dongs> zippe: done, waiting for some pcbs to panel it with 2013-01-02T02:23:58 < dongs> and its i2c+can to servo, i just put can stuff on there for when I decide to play with it 2013-01-02T02:25:50 -!- ReggieUK [~ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-02T02:43:57 < zippe> cool. I'm in if you want to sell a few. 8) 2013-01-02T02:47:15 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:446b:5c1b:b0af:f1a3] has quit [Remote host closed the connection] 2013-01-02T03:38:29 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-02T03:50:40 -!- tech2077 [~tech2077@108-249-45-175.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2013-01-02T03:53:00 -!- tech2077 [~tech2077@108-249-45-175.lightspeed.hstntx.sbcglobal.net] has quit [Client Quit] 2013-01-02T04:51:38 < upgrdman> is that for a hobby servo signal? why wrap a simple PPM stream in CAN/I2C? need to control a lot of them? 2013-01-02T05:10:25 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-02T05:13:51 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-02T05:27:31 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-02T05:28:11 < timemob> Today's loot http://www.imgur.com/vy8ei.jpeg 2013-01-02T05:30:13 < emeb_mac> dumpster diving? 2013-01-02T05:31:59 < timemob> Ya 2013-01-02T05:35:22 < emeb_mac> nice haul 2013-01-02T05:39:14 < timemob> Hoping some nice keys on those dtv flashes 2013-01-02T05:42:05 < timemob> http://www.imgur.com/ywmUI.jpeg 2013-01-02T05:42:13 < timemob> Hilarious production board 2013-01-02T05:43:29 < timemob> There is a tms 320 on that 2013-01-02T05:46:53 < timemob> http://www.ti.com/product/tms320vc5506 2013-01-02T05:46:56 < timemob> That. 2013-01-02T05:47:12 < timemob> Along with a Panasonic soc 2013-01-02T06:03:01 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has quit [] 2013-01-02T06:03:55 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has joined ##stm32 2013-01-02T06:22:24 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 264 seconds] 2013-01-02T06:24:25 < emeb_mac> quiet here 2013-01-02T06:24:58 < timemob> Agree 2013-01-02T06:26:47 < timemob> Driving back 2013-01-02T06:33:18 -!- t1memob [~dongs@ZU223117.ppp.dion.ne.jp] has joined ##stm32 2013-01-02T06:33:50 -!- tim3mob [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-02T06:36:48 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-01-02T06:37:31 -!- t1memob [~dongs@ZU223117.ppp.dion.ne.jp] has quit [Ping timeout: 245 seconds] 2013-01-02T06:39:04 -!- tim3mob [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Quit: Bye] 2013-01-02T06:44:02 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Read error: Operation timed out] 2013-01-02T06:46:34 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-02T07:02:46 < dongs> also got a nice vga cable breakout 2013-01-02T07:06:41 < emeb_mac> what else? 2013-01-02T07:11:58 -!- ReggieUK [~ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-02T07:12:14 < dongs> http://ark.intel.com/products/27516/Intel-Pentium-D-Processor-920-4M-Cache-2_80-GHz-800-MHz-FSB 2013-01-02T07:12:20 < dongs> and 128meg geforce 6600 vga 2013-01-02T07:14:29 < dongs> also got some eeproms and nor/nand flashes 2013-01-02T07:15:09 < emeb_mac> sounds like good stuff. 2013-01-02T07:19:16 < dongs> lol wtf, a spi eeprom 2013-01-02T07:22:22 < emeb_mac> why not? prolly faster... 2013-01-02T07:29:28 < _BJFreeman> the only thing with spi eeproms, if they are the boot is one more thing to go wrong 2013-01-02T07:30:04 < upgrdman> why dont mcu's make the flash usable like an eeprom? 2013-01-02T07:30:16 < upgrdman> or a small subsection of the flash at least 2013-01-02T07:32:27 < emeb_mac> what do you mean by "usable"? 2013-01-02T07:37:21 < upgrdman> read/write to them like RAM 2013-01-02T07:37:36 < upgrdman> although with obviously write lifetime issues 2013-01-02T07:37:53 < upgrdman> grammar :( 2013-01-02T07:51:38 < dongs> hmm, 512kbit i2c eeprom 2013-01-02T07:51:42 < dongs> nice lets see whats on it 2013-01-02T07:51:50 < emeb_mac> pr0n 2013-01-02T07:52:11 < upgrdman> are eeproms expensive? why do they even make < 0.5MB ones... 2013-01-02T07:52:41 < emeb_mac> when you're making a million of something, saving a few cents adds up fast. 2013-01-02T07:53:05 < emeb_mac> so you don't use an eeprom that's bigger than you can use. 2013-01-02T07:53:20 < dongs> 256byte eeproms i use on my shit are like few cents ea in so8 2013-01-02T07:54:36 < upgrdman> o 2013-01-02T07:56:45 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-02T08:00:28 -!- claude is now known as Claude 2013-01-02T08:01:46 < dongs> all mine does is store USB descriptor + serial# so theres no need for > 256bytes 2013-01-02T08:03:54 < emeb_mac> need to start using smaller pkgs for those - in the past it was always SOIC. I see SOT-23 is available now. 2013-01-02T08:09:38 < dongs> haha. 2013-01-02T08:12:50 < dongs> meh 2013-01-02T08:12:54 < dongs> 512kbit mostly wasted 2013-01-02T08:13:01 < dongs> but has the owners address in it 2013-01-02T08:13:04 < dongs> lols. 2013-01-02T08:13:23 < emeb_mac> heh. send spam 2013-01-02T08:13:31 < dongs> like physical address. 2013-01-02T08:14:04 < emeb_mac> send junk mail? 2013-01-02T08:14:38 < dongs> http://www.toshiba.co.jp/regza/bd_dvd/arc/products/vardia/rd-s601_s301/index.html 2013-01-02T08:14:41 < dongs> this one is this trash 2013-01-02T08:15:53 < dongs> ahh, and there's crypto at the end ;) 2013-01-02T08:15:58 < emeb_mac> still working? 2013-01-02T08:16:04 < dongs> of course not 2013-01-02T08:16:07 < dongs> i just pulled the logic board 2013-01-02T08:16:09 < dongs> trashed the rest 2013-01-02T08:20:33 < upgrdman> dongs, how can you can its crypto? non-ascii chars? 2013-01-02T08:20:41 < dongs> upgrdman: entropy 2013-01-02T08:20:51 < upgrdman> ok 2013-01-02T08:22:19 < dongs> http://www.iele.polsl.pl/elenota/Renesas/rej03c0267_m5m29hd277akt.pdf 2013-01-02T08:22:26 < dongs> whoa, weird fucking nand 2013-01-02T08:22:32 < dongs> wait htats nor actually 2013-01-02T08:22:43 < dongs> 0.4mm tsop54 2013-01-02T08:23:53 < upgrdman> for a usage standpoint, any diff between nand/nor flash? 2013-01-02T08:23:53 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-02T08:24:16 < dongs> yes, huge 2013-01-02T08:24:31 < dongs> one is direct addressing, set address, latch in data 2013-01-02T08:24:36 < dongs> another one is some protocol 2013-01-02T08:25:47 < upgrdman> latch in == clock in? 2013-01-02T08:25:55 < dongs> no 2013-01-02T08:25:56 < dongs> parallel 2013-01-02T08:26:16 < dongs> so you set 15+ address bits, and you have 16 data bits to read 2013-01-02T08:26:26 < _BJFreeman> http://en.wikipedia.org/wiki/Flash_memory 2013-01-02T08:26:29 < dongs> yeah. 2013-01-02T08:26:31 < dongs> rtfm or osmething. 2013-01-02T08:26:36 < upgrdman> :) will do 2013-01-02T08:30:24 -!- _BJFreeman [~bjfree@119.sub-75-244-160.myvzw.com] has quit [] 2013-01-02T08:30:28 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2013-01-02T08:49:54 < emeb_mac> oshpark advises me they've sent the f303 breakout to the fab. 2013-01-02T08:55:04 -!- Claude is now known as claude 2013-01-02T09:26:42 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-02T09:30:40 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-02T09:47:47 -!- Gargantuasauce [~Gargantua@p54999E30.dip.t-dialin.net] has joined ##stm32 2013-01-02T10:00:55 -!- Gargantuasauce [~Gargantua@p54999E30.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 2013-01-02T10:04:51 -!- Gargantuasauce [~Gargantua@p54999E30.dip.t-dialin.net] has joined ##stm32 2013-01-02T10:06:37 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-02T10:11:23 -!- Gargantuasauce [~Gargantua@p54999E30.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 2013-01-02T10:11:35 -!- Gargantuasauce_ [~Gargantua@p54999E30.dip.t-dialin.net] has joined ##stm32 2013-01-02T11:00:49 -!- Laurenceb_ [~Laurence@host86-177-212-151.range86-177.btcentralplus.com] has joined ##stm32 2013-01-02T11:03:48 -!- Gargantuasauce_ [~Gargantua@p54999E30.dip.t-dialin.net] has quit [Ping timeout: 264 seconds] 2013-01-02T11:16:30 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-02T11:19:34 -!- claude is now known as claude_work 2013-01-02T11:21:44 -!- Laurenceb_ [~Laurence@host86-177-212-151.range86-177.btcentralplus.com] has quit [Ping timeout: 244 seconds] 2013-01-02T11:23:57 -!- claude_work is now known as claude 2013-01-02T11:26:24 -!- claude is now known as claude_work 2013-01-02T11:31:03 -!- claude_work is now known as Claude 2013-01-02T11:32:05 -!- Gargantuasauce [~Gargantua@p54999E30.dip.t-dialin.net] has joined ##stm32 2013-01-02T11:51:08 -!- barthess [~barthess@178.154.17.187] has joined ##stm32 2013-01-02T12:37:24 -!- Gargantuasauce [~Gargantua@p54999E30.dip.t-dialin.net] has quit [Ping timeout: 264 seconds] 2013-01-02T12:46:34 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-02T12:54:00 < Laurenceb> http://s1.b3ta.com/host/creative/11812/1356947201/FarRightVacuum2red.jpg 2013-01-02T12:54:06 < Laurenceb> dongs vacuum 2013-01-02T12:56:22 < dongs> wat 2013-01-02T12:56:24 < dongs> thats not even funny 2013-01-02T12:57:15 < Laurenceb> http://www.officefurnitureonline.co.uk/shop/numatic-henry-xtra-vacuum-cleaner-hvx200a.html?utm_source=GoogleBase&utm_medium=XMLbase_feed&utm_term=Vacuum+Cleaners&utm_campaign=Numatic_Henry_Xtra_Vacuum_Cleaner_HVX200A_-_Vacuum_Cleaners&gclid=COC5wNzBybQCFXHLtAod3jQAXQ 2013-01-02T12:57:32 < Laurenceb> its a new version of that 2013-01-02T13:01:23 -!- barthess [~barthess@178.154.17.187] has quit [Ping timeout: 245 seconds] 2013-01-02T14:04:39 -!- Claude is now known as claude 2013-01-02T14:14:06 -!- barthess [~barthess@77.67.255.168] has joined ##stm32 2013-01-02T14:19:53 -!- claude is now known as claude_work 2013-01-02T14:20:21 -!- claude_work is now known as Claude 2013-01-02T14:29:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-02T14:29:22 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-02T14:46:49 < Laurenceb> zyp: did you finish mass storage support? 2013-01-02T14:47:11 < dongs> mass stoRAGE 2013-01-02T14:47:18 < zyp> not yet 2013-01-02T14:47:18 < dongs> i need to copypaste some code for nand>msc 2013-01-02T14:47:24 < dongs> anything exists? 2013-01-02T14:48:26 < Laurenceb> yes 2013-01-02T14:48:34 < Laurenceb> theres an ST app note 2013-01-02T14:48:37 < zyp> both my SD layer, SCSI layer and MSC layer are all experimental and might crap out at the slightest unexpected event :p 2013-01-02T14:48:38 < Laurenceb> with example code 2013-01-02T14:48:50 < dongs> for nand? 2013-01-02T14:48:51 < zyp> but it sort of works when it works 2013-01-02T14:48:57 < Laurenceb> dongs: yes 2013-01-02T14:48:59 < dongs> link/appnote n ame 2013-01-02T14:49:11 < zyp> largest problem is unreliable SD card that's not handled properly 2013-01-02T14:49:24 < Laurenceb> somewhere... 2013-01-02T14:52:50 < Laurenceb> STM3210E_EVAL example code 2013-01-02T14:53:36 < Laurenceb> http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/um0549.zip 2013-01-02T14:58:30 < Laurenceb> looks pretty epic 2013-01-02T15:12:38 -!- SuicideFunky [~randy@vps-212-153-70-8.twenty-five.nl] has quit [Ping timeout: 252 seconds] 2013-01-02T15:14:34 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-02T15:24:31 < dongs> looks legit 2013-01-02T15:46:18 < Laurenceb> need somewhere to store kiddy pronz? 2013-01-02T15:47:03 < dongs> yep 2013-01-02T15:48:54 <+Steffanx> Only Laurenceb can come up with something like that :P 2013-01-02T15:49:30 < Laurenceb> it is the only NAMBLA approved technique 2013-01-02T15:49:51 < Laurenceb> http://smearballs.com/gunt/JimmyHumpSM.gif 2013-01-02T15:50:28 < Laurenceb> lolz http://smearballs.com/gunt/PALINGUNNER.gif 2013-01-02T15:50:49 <+Steffanx> Laurenceb faps on palin? 2013-01-02T16:08:49 <+Steffanx> note to self: don't drink coffee near pc 2013-01-02T16:13:41 < dongs> pics of spill 2013-01-02T16:14:19 <+Steffanx> Already cleaned it :) 2013-01-02T16:14:47 <+Steffanx> And no fancy phone to take pictures 2013-01-02T16:14:49 <+Steffanx> witgh 2013-01-02T16:42:34 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T16:47:25 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-02T16:47:32 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T16:52:15 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-02T16:53:15 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has quit [Disconnected by services] 2013-01-02T16:53:16 -!- Nutter` [Nutter@64-46-18-151.dyn.novuscom.net] has joined ##stm32 2013-01-02T16:54:25 -!- _BJFreeman [~bjfree@10.sub-75-196-81.myvzw.com] has joined ##stm32 2013-01-02T17:01:53 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T17:06:32 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 2013-01-02T17:06:39 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T17:10:56 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Ping timeout: 240 seconds] 2013-01-02T17:11:00 -!- BjoernC__ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T17:13:02 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Remote host closed the connection] 2013-01-02T17:14:58 < dongs> i just spileld half a fucking jar of flux on my desk 2013-01-02T17:15:01 < dongs> everything is god damn sticky FUCK 2013-01-02T17:16:22 < zyp> ouch 2013-01-02T17:17:06 < zyp> I dropped a glass jar on a tiled floor yesterday 2013-01-02T17:17:11 < zyp> that was also fun to clean up 2013-01-02T17:17:19 < dongs> .. i jsut fucking did it again 2013-01-02T17:17:22 < dongs> FUCK 2013-01-02T17:18:11 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-02T17:18:14 -!- BjoernC__ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Ping timeout: 244 seconds] 2013-01-02T17:19:27 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-02T17:20:01 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2013-01-02T17:20:14 <+Steffanx> Someone is messing with us :D 2013-01-02T17:20:35 <+Steffanx> or maybe something 2013-01-02T17:21:37 <+Steffanx> Closed sores. This crappy app keeps crashing all the time :( 2013-01-02T17:21:59 -!- BjoernC__ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T17:24:50 < emeb_mac> hilarious gifs 2013-01-02T17:25:42 <+Steffanx> Sure 2013-01-02T17:26:16 < dongs> here's a troulenceb-style gif for you http://i.imgur.com/ntVuk.gif 2013-01-02T17:27:15 < emeb_mac> *bazinga!* 2013-01-02T17:28:36 <+Steffanx> You helped remember something emeb_mac.. why you yankies have a december break?! 2013-01-02T17:28:50 < emeb_mac> whazzat? 2013-01-02T17:29:04 < zyp> because breaks are nice 2013-01-02T17:29:08 < emeb_mac> +1 2013-01-02T17:29:11 < dongs> wat 2013-01-02T17:29:28 <+Steffanx> I mean.. not new episodes for any show in december 2013-01-02T17:29:28 < dongs> explain the lulz 2013-01-02T17:29:39 <+Steffanx> Or at least .. not since like ~13 december 2013-01-02T17:29:46 <+Steffanx> .. 2013-01-02T17:29:51 * Steffanx needs more .. 2013-01-02T17:30:01 < dongs> gay american tv? 2013-01-02T17:30:02 < dongs> haha. 2013-01-02T17:30:07 < dongs> they keep cancelling shit people actually watch 2013-01-02T17:30:11 < emeb_mac> because everyone is traveling on vacation and the networks don't waste new content on that time. 2013-01-02T17:30:21 < dongs> and other crap keeps running for 100s of seasons 2013-01-02T17:30:27 <+Steffanx> And you mean this animé, manga or other japcrap isn't gay? 2013-01-02T17:30:40 < dongs> i dont watch any of that shit. 2013-01-02T17:30:44 < dongs> but I dont watch american tv either 2013-01-02T17:30:54 < dongs> well, mostly bnceause they dont want me to watch it 2013-01-02T17:30:55 < gxti> spoilers: 90% of everything is crap 2013-01-02T17:30:58 < dongs> ^ 2013-01-02T17:31:04 < dongs> also, cocks. 2013-01-02T17:31:08 <+Steffanx> gn 2013-01-02T17:31:29 < emeb_mac> japanese game shows with lots of bright colors, loud music and people getting dumped into foam? 2013-01-02T17:31:30 <+Steffanx> They don't want you to watch it dongs? 2013-01-02T17:31:37 <+Steffanx> and mud 2013-01-02T17:31:43 < Thorn> wth. stm32f1 want 22R series for USB, lpc17xx want 33R 2013-01-02T17:31:43 <+Steffanx> head down 2013-01-02T17:31:51 < dongs> Steffanx: anything worth watching gets cancelled before even 1st season ends. 2013-01-02T17:31:55 < gxti> don't forget the picture-in-picture of random celebs watching, and the crowd going ooooOOOOOOO 2013-01-02T17:32:02 < emeb_mac> what dongs said 2013-01-02T17:32:14 <+Steffanx> Not everything, but you're probably right 2013-01-02T17:32:43 < emeb_mac> can't figure out why Fringe is still on. 2013-01-02T17:32:50 <+Steffanx> but you are now allowed to say that dongs. You listen to hardcore crap. 2013-01-02T17:32:54 < emeb_mac> by rights that should have been cancelled after 3 shows. 2013-01-02T17:33:05 <+Steffanx> Why? 2013-01-02T17:33:10 <+Steffanx> x-files clone? 2013-01-02T17:33:21 < emeb_mac> pretty much 2013-01-02T17:34:44 < emeb_mac> got an email from some random n00b who's trying to get usb dfu running on a 373 - he's not having any luck either. 2013-01-02T17:35:10 <+Steffanx> Still no appnote?! 2013-01-02T17:35:22 < emeb_mac> not when I checked yesterday. 2013-01-02T17:35:43 <+Steffanx> you got screwed by the end of year break :P 2013-01-02T17:35:50 -!- Claude is now known as claude 2013-01-02T17:36:20 < emeb_mac> Europeans - always on vacation. 2013-01-02T17:36:25 < emeb_mac> Especially the French. 2013-01-02T17:36:49 < emeb_mac> Still @ v14.0 now. 2013-01-02T17:37:40 <+Steffanx> Would be funny if they just forgot to test it :P 2013-01-02T17:37:44 < emeb_mac> Israel is a pretty good place for holidays too - when I worked @ Intel w/ those guys they were always out. 2013-01-02T17:38:17 < Laurenceb> heh 2013-01-02T17:38:21 < emeb_mac> Steffanx: wouldn't be at all surprising. 2013-01-02T17:38:28 < Laurenceb> until you get bombed 2013-01-02T17:38:30 <+Steffanx> afaik yankeeland has very similar holidays as dutchland 2013-01-02T17:38:48 < emeb_mac> Laurenceb: there's that. 2013-01-02T17:38:51 <+Steffanx> Except for the traditional holidays like thankgiving 2013-01-02T17:39:05 < emeb_mac> I saw more guns there than even here in the wild southwest. 2013-01-02T17:40:01 < emeb_mac> Steffanx: no SinterKlaas 2013-01-02T17:40:02 <+Steffanx> Yeah, guns are good protection against rockets 2013-01-02T17:41:02 < emeb_mac> Steffanx: gotta have a fast draw and good aim. learn to "lead" 2013-01-02T17:41:06 <+Steffanx> Sinterklaas. that is not a holiday 2013-01-02T17:41:48 < emeb_mac> gotta do it after work? 2013-01-02T17:41:54 <+Steffanx> Yes 2013-01-02T17:45:36 < emeb_mac> Talk to your politicians - that needs to change. :) 2013-01-02T17:54:53 < emeb_mac> lol / sigh -> http://ecx.images-amazon.com/images/I/61bNGvoLVYL._SL500_PIsitb-sticker-arrow-big,TopRight,35,-73_OU02_.jpg 2013-01-02T17:56:59 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-02T17:57:40 < zyp> hmm, no boards in mail today 2013-01-02T17:57:50 < dongs> boo 2013-01-02T17:57:53 < emeb_mac> stupid mail 2013-01-02T18:00:02 <+Steffanx> Start of year break zyp. Breaks are nice 2013-01-02T18:01:21 < zyp> that was yesterday, ended today 2013-01-02T18:02:16 < zyp> emeb_mac, by the way, did you have time to look at the FPU stuff? if so, what did you find out? 2013-01-02T18:04:00 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-02T18:04:12 < emeb_mac> zyp: not yet. forgot - might give that a try today. 2013-01-02T18:04:47 < zyp> ah, it doesn't matter much, I'll probably try it out myself tonight 2013-01-02T18:10:59 -!- BjoernC__ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-02T18:11:20 -!- BjoernC__ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T18:15:34 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T18:16:09 -!- BjoernC__ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-02T18:22:15 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 2013-01-02T18:22:24 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T18:25:35 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 2013-01-02T18:25:42 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-02T18:33:55 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-02T18:43:56 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-02T18:49:48 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-02T18:58:44 < zyp> hmm, reminds me that I were going to look at the waveshare nor flash 2013-01-02T19:08:14 < zyp> chip enable is pulled to vcc through 10k resistor and has a 0ohm bridge to NE2 2013-01-02T19:08:23 < zyp> looks sane enough 2013-01-02T19:09:54 < zyp> maybe they had a fuck-up during production and dongs' board got a 0ohm in place of pullup 2013-01-02T19:11:52 < Thorn> "you *REALLY* want to have a 47pF/NPO capacitor from each USB data-line to ground. This is because some of the "cheap" hubs that are out on the market will get confused and "lock up" if there is any RF noise on the USB data lines." 2013-01-02T19:12:22 < Thorn> from http://mbed.org/forum/bugs-suggestions/topic/4008/?page=1#comment-19882 2013-01-02T19:12:40 < zyp> what does spec say about bus capacitance? 2013-01-02T19:14:23 < emeb> what good does 47pf at the device end do in the face of the cable parasitics? 2013-01-02T19:18:59 -!- Gargantuasauce [~Gargantua@p5499ADE5.dip.t-dialin.net] has joined ##stm32 2013-01-02T19:19:16 < Thorn> low speed: "The combination of the cable and the device must have a single-ended capacitance of no less than 200 pF and no more than 450 pF on the D+ or D- lines." 2013-01-02T19:19:34 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 255 seconds] 2013-01-02T19:20:14 < zyp> but we're doing full speed, where the limit is 50pF as far as I can see 2013-01-02T19:21:04 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-02T19:22:04 < Thorn> high speed (7.1.6.2): <= 10pF 2013-01-02T19:22:34 -!- Nutter` is now known as Nutter 2013-01-02T19:22:35 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-02T19:23:13 < Thorn> The maximum capacitance on an upstream facing port of a full-speed device with a detachable cable (CINUB) is 2013-01-02T19:23:13 < Thorn> 100 pF on D+ or D-. This is comprised of up to 75 pF of lumped capacitance to ground on each line at the 2013-01-02T19:23:13 < Thorn> transceiver and in the connector and an additional 25 pF capacitance on each conductor in the transmission line 2013-01-02T19:23:13 < Thorn> between the receptacle and the transceiver. 2013-01-02T19:23:23 < zyp> ah, yeah, just found it 2013-01-02T19:23:34 < Thorn> ^^ low-apeed and full-speed (7.1.6.1) 2013-01-02T19:24:16 < Thorn> anyway, why add 47pF even if total C fits within the limit (which is not guaranteed) 2013-01-02T19:25:20 < emeb> sounds like that guy is just talking out his ass. 2013-01-02T19:25:46 < zyp> «An implementation may use small capacitors at the transceiver for purposes of edge rate control. The sum of the capacitance of the added capacitor (CEDGE), the transceiver, and the trace connecting capacitor and transceiver to RS must not exceed 75 pF (either single-ended or differential) and the capacitance must be balanced to within 10%.» 2013-01-02T19:27:03 < Thorn> RS = series resistor? that guy says add caps before resistors 2013-01-02T19:27:19 < zyp> spec says after, see figure 7-22 2013-01-02T19:27:30 < Laurenceb> arg wtf 2013-01-02T19:27:34 < Laurenceb> i2c is broken 2013-01-02T19:27:39 < emeb> not again. 2013-01-02T19:27:48 < Laurenceb> first read of lsm33d is junk on some sensors 2013-01-02T19:27:51 < Laurenceb> :P 2013-01-02T19:28:01 < Laurenceb> annoyingly it goes if i try jtag 2013-01-02T19:28:25 < Laurenceb> so every first read of the accel has junk values 2013-01-02T19:28:37 < Laurenceb> in a large fifo read 2013-01-02T19:28:41 < emeb> so always discard 1st read? 2013-01-02T19:28:57 < Laurenceb> no cuz it seams it actually reading the sensor 2013-01-02T19:29:05 < Laurenceb> so id lose more samples that way 2013-01-02T19:29:17 < Laurenceb> i dodnt understand what could cause this 2013-01-02T19:29:26 < Laurenceb> if i break with jtag it fixes itself 2013-01-02T19:30:00 < emeb> timing? 2013-01-02T19:30:11 < Laurenceb> something like that 2013-01-02T19:31:19 < emeb> insert random delays until it starts working again. there fixed it. :P 2013-01-02T19:31:30 < Laurenceb> hehe 2013-01-02T19:31:35 < Laurenceb> looks like the only solution 2013-01-02T19:34:53 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-02T19:35:51 < zyp> hmm 2013-01-02T19:36:16 < zyp> there is indeed a decoder chip on the waveshare mainboard, like I thought 2013-01-02T19:36:50 -!- _BJFreeman [~bjfree@10.sub-75-196-81.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-01-02T19:37:04 < zyp> NE2 and NE3 is brought to the connectors, while NE4 is brought to the decoder chip, which then generates CS1-4 2013-01-02T19:37:08 -!- BJFreeman [~bjfree@10.sub-75-196-81.myvzw.com] has joined ##stm32 2013-01-02T19:37:27 < zyp> of which 1-3 are also brought to the connectors, while CS4 goes to the touchscreen 2013-01-02T19:37:31 -!- BJFreeman is now known as Guest59477 2013-01-02T19:38:13 -!- Guest59477 [~bjfree@10.sub-75-196-81.myvzw.com] has quit [Client Quit] 2013-01-02T19:38:16 < zyp> lcd* 2013-01-02T19:38:18 < zyp> so there are in total five enable lines available for the nor/sram stack and one for the lcd 2013-01-02T19:38:27 -!- _BJFreeman [~bjfree@10.sub-75-196-81.myvzw.com] has joined ##stm32 2013-01-02T19:38:41 < emeb> interesting 2013-01-02T19:39:06 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-02T19:39:31 < zyp> i.e. the devices on CS lines would only have a fourth of the memory space available compared to the ones on NE lines 2013-01-02T19:40:11 < zyp> or maybe less 2013-01-02T19:40:38 < Laurenceb> ok random delays fix it 2013-01-02T19:40:47 < Laurenceb> actually... it might be a sane issue 2013-01-02T19:40:54 < Laurenceb> depending on your reading of datasheet 2013-01-02T19:41:01 < Laurenceb> theres a "setup time" 2013-01-02T19:41:12 < Laurenceb> i was reading immediatly after setup 2013-01-02T19:41:18 < zyp> addr decoder is placed on A23-24, so you get 23 bits of addressing for each, that's 8M 2013-01-02T19:41:20 < Laurenceb> and the first sample was screwed 2013-01-02T19:41:28 < Laurenceb> with 5ms delay it works 2013-01-02T19:41:46 < zyp> FSMC supports 26 bits of addressing in total 2013-01-02T19:42:30 < Laurenceb> but that shouldnt break it... 2013-01-02T19:42:37 * Laurenceb facepalms at ST 2013-01-02T19:43:22 < zyp> that's 8M 16-bit words 2013-01-02T19:43:27 < Laurenceb> anyways.. time to go home 2013-01-02T19:43:32 < Laurenceb> cya l8tr 2013-01-02T19:43:48 < zyp> compared to 64M 16-bit words for the chips connected directly to NE lines 2013-01-02T19:44:08 < emeb> not a bad trade-off 2013-01-02T19:44:30 < zyp> having to run the same timings might be a disadvantage 2013-01-02T19:45:03 < emeb> ah yes - all the ones on the same NE line... 2013-01-02T19:45:16 < zyp> but it doesn't really matter, stuff is set up to not use the decoder by default 2013-01-02T19:45:22 < emeb> but those would likely be peripherals, not memory so not a huge deal. 2013-01-02T19:45:26 < zyp> except the touchscreen 2013-01-02T19:45:46 < zyp> or just several memory chips of the same kind 2013-01-02T19:46:06 < zyp> because sram chips are quite small :p 2013-01-02T19:46:40 < zyp> oh well 2013-01-02T19:47:19 < zyp> what's the best way to play with fpu? setting up FSMC for lcd and using it to draw fractals? 2013-01-02T19:47:45 < emeb> Yeah - you could do that. 2013-01-02T19:48:05 < emeb> Or just compute some sines/cosines & dump to DAC or whatever. 2013-01-02T19:48:21 < zyp> that doesn't sound as fun :p 2013-01-02T19:48:27 < emeb> heh 2013-01-02T19:49:35 < emeb> grab dong's cube code: http://bcas.tv/paste/results/wQlJOj48.html 2013-01-02T19:50:00 < emeb> you'll have to write your own low-level I/O for the LCD of course... 2013-01-02T19:50:49 < zyp> or I can just render mandelbrots, which I already know how to do :p 2013-01-02T19:53:16 < jpa-> zyp: or do some audio filtering :) 2013-01-02T19:53:21 < emeb> there you go. 2013-01-02T19:54:03 < Gargantuasauce> http://workman-industries.net/images/f4_mb.jpg 2013-01-02T19:54:05 < Gargantuasauce> definitely the best use 2013-01-02T19:54:39 < Gargantuasauce> though i'd definitely recommend rolling your own 3d code too because it's fun as hell 2013-01-02T19:58:55 < zyp> maybe another time 2013-01-02T19:59:36 < Gargantuasauce> and then change 2 lines and do (a) julia set http://workman-industries.net/images/f4_j.jpg 2013-01-02T20:00:35 < emeb> purty 2013-01-02T20:00:45 < emeb> how fast can you draw the screen? 2013-01-02T20:01:04 < Gargantuasauce> i was too lazy to set up fsmc so it is slowed down a bit 2013-01-02T20:01:25 < Gargantuasauce> that is with a boundary of 64 iterations and it does a few frames per second 2013-01-02T20:01:39 < emeb> not bad 2013-01-02T20:01:58 < emeb> enough for near-realtime updates if you wanted to put the parameters under user control. 2013-01-02T20:02:07 < Gargantuasauce> yeah 2013-01-02T20:02:34 < Gargantuasauce> i should really get around to getting it to talk to the touchscreen controller 2013-01-02T20:04:43 < Thorn> lpc1766 enters bootloader successfully in my device. 2013-01-02T20:06:25 < emeb> \o/ 2013-01-02T20:07:32 < Thorn> (judging by the st-link utility error message ("unknown device id"), swd also works) 2013-01-02T20:12:16 <+Steffanx> heh 2013-01-02T20:31:45 -!- barthess [~barthess@77.67.255.168] has quit [Quit: Leaving.] 2013-01-02T20:42:07 -!- barthess [~barthess@178.154.53.208] has joined ##stm32 2013-01-02T20:48:12 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 264 seconds] 2013-01-02T20:52:07 < Thorn> can flash memory be erased / corrupted at soldering temperatures? 2013-01-02T20:54:03 < emeb> doubt it. 2013-01-02T20:54:34 < emeb> although there was some news recently about heating flash cells to anneal / heal them to improve lifetimes. 2013-01-02T20:55:26 < emeb> theoretically if you heat them enough it could cause the charge on the floating gate to leak away, but likely you'd destroy the device if you got it that hot. 2013-01-02T20:55:41 < zyp> Thorn, normally not 2013-01-02T20:59:41 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-02T20:59:46 < gxti> lol, watching a sparkfun video of their new dicknplace and there's a dog walking around in the background 2013-01-02T21:01:26 < Thorn> I'm wondering because bootloaders and other ROM stuff like stellaris libraries obviously need to survive soldering, and they're stored in the same kind of flash user code is unless I'm mistaken 2013-01-02T21:03:14 -!- barthess [~barthess@178.154.53.208] has quit [Ping timeout: 272 seconds] 2013-01-02T21:03:23 -!- barthess [~barthess@178.154.62.161] has joined ##stm32 2013-01-02T21:04:06 < ds2> good morning 2013-01-02T21:04:37 < emeb> ds2 arrives 2013-01-02T21:05:01 < ds2> EOW failure. 2013-01-02T21:05:56 <+Steffanx> shit happens 2013-01-02T21:16:42 -!- Laurenceb_ [~Laurence@host86-177-212-151.range86-177.btcentralplus.com] has joined ##stm32 2013-01-02T21:17:30 < jpa-> Thorn: i wonder if it is really the same kind of flash memory or if it is real ROM 2013-01-02T21:18:40 < Thorn> it's supposed to be upgradeable iirc 2013-01-02T21:21:19 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [Ping timeout: 260 seconds] 2013-01-02T21:21:21 < zyp> volume customers can also buy pre-flashed chips of various kinds from some distributors, so flash content is obviously not impacted 2013-01-02T21:21:56 < zyp> USB AVRs ship with a DFU bootloader in normal flash that can be overwritten 2013-01-02T21:40:54 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-02T21:49:02 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2013-01-02T21:52:43 < jpa-> in my opinion the limited data retention time of flash memories is a bit sad 2013-01-02T21:53:31 < jpa-> 30 years is enough for most practical purposes, but it's just too bad if the few surviving devices of current times will not be functional nor repairable in 2050 2013-01-02T21:53:46 < emeb> It's a pain. 2013-01-02T21:54:16 < emeb> We're getting to the point now where EPROM-programmable devices from the 70's are starting to die as their bits leak away. 2013-01-02T21:54:59 <+Steffanx> don't guys like baird have devices like that? :P 2013-01-02T21:55:02 < emeb> A big issue in the classic synthesizer world - old Z-80 based synths just suddenly stop working. 2013-01-02T21:55:33 < emeb> So there's an active trade in newly-programmed EPROMs with old code refreshed. 2013-01-02T21:55:54 < jpa-> i wonder if they make PROMs anymore.. one could backup them to permanent storage 2013-01-02T21:56:17 < emeb> you mean fusible-link style PROMs? 2013-01-02T21:56:24 < jpa-> yeah 2013-01-02T21:56:34 < jpa-> or antifuses 2013-01-02T21:56:37 < emeb> Those are fairly low capacity compared to the EPROM devices. 2013-01-02T21:56:41 <+Steffanx> you expect to have your devices up and running in 2050 jpa- ? 2013-01-02T21:56:58 < jpa-> Steffanx: not necessarily my devices, but any devices 2013-01-02T21:57:21 < emeb> MCHP claims 200yr lifetimes on some of their EEPROMs. 2013-01-02T21:57:21 < jpa-> i think there is not a single processor-based device manufactured today that wouldn't depend on flash memory 2013-01-02T21:57:40 <+Steffanx> Isn't useful for devices that were/are !#$ expensive to re-make? 2013-01-02T21:57:52 * emeb wonders if the underlying semiconductors would last that long. 2013-01-02T21:58:23 < emeb> maybe dopants migrate, metal contamination, etc. 2013-01-02T21:58:35 < jpa-> probably if kept in cool dry storage and not used that much 2013-01-02T21:58:59 < emeb> yeah, maybe. but operational? doubtful. 2013-01-02T21:59:17 < jpa-> though depends.. 32nm maybe not, but i think most of the lower-end chips would remain operational 2013-01-02T21:59:27 < zyp> in 2050 I'll have better stuff than today, so I think I'll be fine 2013-01-02T21:59:37 < emeb> recycle it all. 2013-01-02T21:59:40 <+Steffanx> in 2050 we have no power anymore :P 2013-01-02T21:59:50 < jpa-> nor timestamps 2013-01-02T21:59:54 < emeb> that's past the singularity right? We'll all be AI by then. 2013-01-02T21:59:55 < jpa-> what will we do without timestamps? 2013-01-02T22:00:13 < emeb> Or so Ray Kurzweil hopes... 2013-01-02T22:00:13 < jpa-> aren't we already past the singularity as predicted by the original movie? 2013-01-02T22:00:23 < emeb> ??? 2013-01-02T22:00:34 < emeb> I thought they scheduled that for sometime around 2030. 2013-01-02T22:00:41 <+Steffanx> AI without power is still useless emeb 2013-01-02T22:01:06 <+Steffanx> Unless we are biological AI + powered my sun or whatever :) 2013-01-02T22:01:13 < emeb> Steffanx: whatchu talkin' bout? 2013-01-02T22:01:16 < emeb> peak oil? 2013-01-02T22:01:59 < emeb> haven't you heard? Fracking will give us enough carbon-based fuel for, like infinity you know? 2013-01-02T22:02:06 < emeb> :P 2013-01-02T22:02:07 <+Steffanx> That + WOIII + more crap 2013-01-02T22:02:08 < jpa-> emeb: first terminator movie put it on 1997.. then their actions managed to delay it until 2004 := 2013-01-02T22:02:13 < jpa-> :) 2013-01-02T22:02:42 < emeb> And by 2019 we'll have replicants and off-world colonies. 2013-01-02T22:02:52 <+Steffanx> You wish 2013-01-02T22:03:08 < jpa-> by 2019 we will have compulsory facebook 2013-01-02T22:03:12 < emeb> "a chance to begin again in a golden land of opportunity and adventure!" 2013-01-02T22:03:30 * emeb has sadly memorized most of "Blade Runner" 2013-01-02T22:03:40 <+Steffanx> in 2050 we call emeb grandpa :D 2013-01-02T22:03:56 < emeb> in 2050 we'll call Steffanx grandpa. 2013-01-02T22:04:12 < emeb> We'll probably call emeb "dead". 2013-01-02T22:04:36 < zyp> really? are you that old? 2013-01-02T22:05:10 <+Steffanx> Yankeelanders dont get older than 70 2013-01-02T22:05:11 < emeb> nah. most of my grandparents lived to their 90s, so I should make 2050 easy. 2013-01-02T22:05:29 < zyp> yeah 2013-01-02T22:06:22 < zyp> I visited my grandpa during christmas, he passed 100 last year 2013-01-02T22:06:35 < emeb> Wow - clean living? 2013-01-02T22:06:36 <+Steffanx> And you can still talk with em? 2013-01-02T22:06:46 < zyp> sure, why not? 2013-01-02T22:06:50 <+Steffanx> *have a conversation 2013-01-02T22:07:20 < emeb> my wife's grandmother just hit 96. Still lives alone, drives herself around. 2013-01-02T22:07:52 < Laurenceb_> to the lemonparty? 2013-01-02T22:08:26 < emeb> eww 2013-01-02T22:08:40 < zyp> this is my father's parents, they were living at home until just recently, moved to a home a few monts ago 2013-01-02T22:08:41 * emeb had to google that one. didn't click thru 2013-01-02T22:08:46 < jpa-> i can't wait to be pasting lemonparty links to Steffanx's grandchildren 2013-01-02T22:08:50 <+Steffanx> /kick Laurenceb 2013-01-02T22:09:14 <+Steffanx> You know what the price of that is jpa- ? 2013-01-02T22:09:17 <+Steffanx> Ban for life 2013-01-02T22:09:37 < gxti> it only takes one time anyway 2013-01-02T22:10:02 < jpa-> Steffanx: it's not likely well be chatting on this channel then 2013-01-02T22:10:28 <+Steffanx> Who knows 2013-01-02T22:10:28 < emeb> direct brain interface - when someone sends you a goatse you can't look away. 2013-01-02T22:10:30 < jpa-> or if we are, all the cool kids with 233 bit arduinos will mock us 2013-01-02T22:10:54 < emeb> lol 2013-01-02T22:11:49 < jpa-> "this has 50-bit quantum accelerator and comes in dip package!" "look at that led blink!" 2013-01-02T22:12:18 < emeb> +1 for DIP pkg. 2013-01-02T22:12:25 <+Steffanx> in 2050 we all write code in trollenceb 2013-01-02T22:12:30 <+Steffanx> the language 2013-01-02T22:12:45 <+Steffanx> after that you will get trollenceb++. that one allows less space 2013-01-02T22:13:20 <+Steffanx> -- of course 2013-01-02T22:13:32 < jpa-> except it is based on javascript, running in a python javascript library running on CLR which runs in transparent virtual machine that emulates x86 instruction set 2013-01-02T22:13:53 <+Steffanx> javascript isnt that bad 2013-01-02T22:13:57 <+Steffanx> its pretty fast in chrome 2013-01-02T22:14:11 < jpa-> indeed, perfect platform for trollenceb, the language 2013-01-02T22:14:13 < zyp> I hear node.js is the cool thing nowadays 2013-01-02T22:14:21 < emeb> badass rockstar tech! 2013-01-02T22:14:39 < Laurenceb_> http://image13.spreadshirt.com/image-server/v1/products/19398807/views/1,width=378,height=378,appearanceId=351/Vote-Lemon-Party-HD-T-Shirts.png 2013-01-02T22:14:43 < Laurenceb_> i need this tshirt 2013-01-02T22:14:48 < emeb> http://www.youtube.com/watch?v=bzkRVzciAZg 2013-01-02T22:14:54 < jpa-> but time to sleep so that i can suffer from boring 2012 tech tomorrow at work :/ 2013-01-02T22:15:08 <+Steffanx> sleep? 2013-01-02T22:15:09 <+Steffanx> Now? 2013-01-02T22:15:13 <+Steffanx> it's only 21:15 2013-01-02T22:15:25 < jpa-> cool kids go to sleep early 2013-01-02T22:15:29 < zyp> 22:15 in jpaland, no? 2013-01-02T22:15:36 <+Steffanx> i know .. time zones 2013-01-02T22:15:37 <+Steffanx> but still 2013-01-02T22:15:40 < zyp> :p 2013-01-02T22:16:36 < zyp> emeb, how is it, are you in -7 or something? 2013-01-02T22:16:43 < emeb> yep 2013-01-02T22:16:47 < Laurenceb_> lol wtf 2013-01-02T22:16:48 < emeb> 1:16PM 2013-01-02T22:16:56 < Laurenceb_> they should play that to kids 2013-01-02T22:17:26 < zyp> emeb, I figured so 2013-01-02T22:18:02 < zyp> emeb, you always go to bed when I wake up, dongs goes to bed when you wake up, and I go to bed when dongs wake up 2013-01-02T22:18:11 < zyp> because we're 8 hours apart from each other :p 2013-01-02T22:18:16 < emeb> 120deg 2013-01-02T22:18:25 < zyp> yeah 2013-01-02T22:18:33 < emeb> the sun never sets on ##stm32 2013-01-02T22:18:42 < emeb> because god doesn't trust us in the dark 2013-01-02T22:19:01 < Thorn> 3-phase channel power 2013-01-02T22:19:51 <+Steffanx> You should change your rithm like me 2013-01-02T22:19:55 <+Steffanx> 12-4am :P 2013-01-02T22:20:10 <+Steffanx> or maybe 11.30am-4am 2013-01-02T22:20:22 < emeb> go on Mars time. 2013-01-02T22:20:48 < zyp> Steffanx, I could but for some reason it feels better being able to leave work at 16 2013-01-02T22:21:03 <+Steffanx> aw 2013-01-02T22:21:17 < emeb> I worked 3rd shift for a few months many years ago. sux. 2013-01-02T22:22:39 < zyp> I used to do 9-17, when I was adjusting to actually having to get up and go to work every day, but I found that to be inconvenient when stuff like the post office close at 17 2013-01-02T22:23:51 < zyp> on the other hand, when they were doing major roadwork creating lots of traffic, driving home at 16 was no fun 2013-01-02T22:24:20 -!- SuicideFunky [~randy@vps-212-153-70-8.twenty-five.nl] has joined ##stm32 2013-01-02T22:24:54 < emeb> guy I used to work with would come to work at 5, leave at 14. 2013-01-02T22:26:38 < zyp> could do that too, but I don't like going to bed early 2013-01-02T22:26:43 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-02T22:27:29 <+Steffanx> emeb but you are weird 2013-01-02T22:29:55 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2013-01-02T22:31:22 < emeb> Steffanx: no doubt, but what gave it away? 2013-01-02T22:31:46 < zyp> the fact that you hang out here with us? :p 2013-01-02T22:31:57 < emeb> conceded. 2013-01-02T22:44:42 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-02T22:47:45 < zyp> http://www.kickstarter.com/projects/872297630/gamestick-the-most-portable-tv-games-console-ever 2013-01-02T22:49:33 <+Steffanx> uhm, spam isn't allowed here mr zyp 2013-01-02T22:50:31 < zyp> it's not spam, it's today's kickstarter project to laugh about :p 2013-01-02T22:50:51 <+Steffanx> i consider ks links as spam nowadays 2013-01-02T22:52:41 < zyp> hmm, not sure what I should think about it 2013-01-02T22:53:13 < zyp> it doesn't tout the «hackable» aspect as much of that stuff do 2013-01-02T22:54:24 < zyp> not sure what to think about the hardware 2013-01-02T22:54:28 <+Steffanx> hows openvizsla going? :) 2013-01-02T22:54:32 < zyp> I'm not familiar with Amlogic 2013-01-02T22:54:56 <+Steffanx> isnt that a random chinese brand? 2013-01-02T22:54:58 < zyp> but on paper it beats both rpi and allwinner :p 2013-01-02T22:55:27 <+Steffanx> Yes it si 2013-01-02T22:55:28 < Laurenceb_> anyone here worked with Xscale? 2013-01-02T22:55:31 < Laurenceb_> pxa270 2013-01-02T22:55:47 < Thorn> wth does $LFO:K:VM mean 2013-01-02T22:56:04 < zyp> Steffanx, haven't heard anything since they were talking about january delivery or something 2013-01-02T22:56:06 < Thorn> some error code or something from the lpc bootloader 2013-01-02T22:56:06 < Laurenceb_> im wondering if i can make it talk to openocd 2013-01-02T22:56:24 < zyp> ah, a lot of messages in groups 2013-01-02T22:58:56 < zyp> looks like stuff is going on 2013-01-02T23:28:11 < Laurenceb_> lol this lsm330d is so broken 2013-01-02T23:28:33 < Laurenceb_> if i read it after power on before it has produced any samples the fifo breaks 2013-01-02T23:29:19 < Laurenceb_> one location jams at a garbage value 2013-01-02T23:29:44 < zyp> «lol I do something with undefined behavior and it produces weird results» 2013-01-02T23:30:07 < Laurenceb_> it shouldnt permanently break it 2013-01-02T23:31:02 < zyp> if it's undefinet it can fucking break whatever it wants to 2013-01-02T23:42:45 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-02T23:53:54 -!- Gargantuasauce [~Gargantua@p5499ADE5.dip.t-dialin.net] has quit [Remote host closed the connection] 2013-01-02T23:59:21 -!- Gargantuasauce [~Gargantua@p5499ADE5.dip.t-dialin.net] has joined ##stm32 --- Day changed Thu Jan 03 2013 2013-01-03T00:03:51 -!- barthess [~barthess@178.154.62.161] has quit [Quit: Leaving.] 2013-01-03T00:05:17 < emeb> sounds like a wonderful part 2013-01-03T00:05:27 -!- barthess [~barthess@77.67.197.118] has joined ##stm32 2013-01-03T00:06:06 < emeb> have spent some time specifying & designing ASICs, I'd say that if there are user actions that render a part non-functional then the documentation should specifically warn against them. 2013-01-03T00:06:52 < Laurenceb_> explains some of the delays in the android driver 2013-01-03T00:06:54 < Laurenceb_> https://github.com/esden/openocd/blob/master/src/flash/nor/stm32x.c 2013-01-03T00:07:08 < Laurenceb_> ^any idea what thats about? direct flash without bootloader? 2013-01-03T00:07:44 < Laurenceb_> ive got a pxa270 board with external nor flash that i need to program 2013-01-03T00:07:57 < Laurenceb_> trying to work out the structure of openocd 2013-01-03T00:09:09 < Laurenceb_> https://github.com/esden/openocd/blob/master/src/flash/nand/s3c2410.c 2013-01-03T00:09:21 < Laurenceb_> looks like i need something similar to that for pxa270? 2013-01-03T00:09:25 <+Steffanx> It uses a flash loader Laurenceb.. see the assembly on line 582 .. 2013-01-03T00:09:47 <+Steffanx> but i guess you already knew that 2013-01-03T00:09:47 < emeb> so you're saying there's no PXA support in openocd yet? 2013-01-03T00:10:39 <+Steffanx> people on google say it does 2013-01-03T00:12:02 < Laurenceb_> yeah but for external flash? 2013-01-03T00:12:47 < Laurenceb_> ah i see yeah - binary thumb2 XD 2013-01-03T00:13:10 < Laurenceb_> emeb: looks like there is pxa support, but i need to flash to external memory 2013-01-03T00:13:24 < Laurenceb_> think its 4MB NOR flash or something 2013-01-03T00:13:36 < Laurenceb_> old boards from 2003 2013-01-03T00:13:51 -!- claude is now known as Claude 2013-01-03T00:14:08 <+Steffanx> http://openocd.sourceforge.net/doc/html/Flash-Commands.html it says something about reset pins etc. in 12.5.1 2013-01-03T00:14:37 <+Steffanx> nvm i guess 2013-01-03T00:15:16 < Laurenceb_> we used to have MacGregor drivers 2013-01-03T00:15:31 < Laurenceb_> but then someone threw away the laptop.... 2013-01-03T00:15:44 < Laurenceb_> not me 2013-01-03T00:17:17 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-03T00:17:45 < Laurenceb_> https://github.com/esden/openocd/tree/master/src/flash/ocl/at91sam7x 2013-01-03T00:17:50 < Laurenceb_> whats "ocl"? 2013-01-03T00:21:32 < Laurenceb_> i guess i could just stick u-boot on there and run linux... 2013-01-03T00:22:06 < emeb> write a little bare-metal program to load flash from a serial port? 2013-01-03T00:22:52 < Laurenceb_> oh wait 2013-01-03T00:22:54 < Laurenceb_> http://www.voipac.com/downloads/pxa/270m/dimm/doc/linux/flashing-bootloader-m.txt 2013-01-03T00:22:58 < Laurenceb_> cant i do that? 2013-01-03T00:23:02 < emeb> or use gdb + python scripts to load it direct from JTAG? 2013-01-03T00:23:06 < Laurenceb_> uboot into sram over openocd 2013-01-03T00:23:11 < Laurenceb_> then use uboot to flash 2013-01-03T00:23:30 < zyp> put whatever into sram, then use whatever to flash 2013-01-03T00:23:37 < emeb> yep 2013-01-03T00:23:44 < emeb> uboot, or something you write 2013-01-03T00:24:02 < Laurenceb_> looks like it might work.. funtimes tomorrow :P 2013-01-03T00:24:03 < emeb> tweaking uboot for your HW might be just as hard as coding from scratch 2013-01-03T00:24:11 -!- Claude is now known as claude 2013-01-03T00:24:40 < zyp> uboot should have pretty good hardware support already 2013-01-03T00:26:09 < Laurenceb_> yeah 2013-01-03T00:26:26 < Laurenceb_> that link is for pxa270 2013-01-03T00:26:34 < Laurenceb_> i _think_ we have nor flash 2013-01-03T00:26:45 < Laurenceb_> but much of the hardware documentation is missing... 2013-01-03T00:26:45 < zyp> if you can xip, it is. 2013-01-03T00:26:50 <+Steffanx> Whoa, 2 springboard 2013-01-03T00:26:50 <+Steffanx> s 2013-01-03T00:28:59 < Laurenceb_> so u-boot detects bad nand flash sectors too? 2013-01-03T00:29:14 < emeb> uboot is like an OS unto itself 2013-01-03T00:29:37 < Laurenceb_> nice 2013-01-03T00:29:46 < Laurenceb_> dont think i need that :P 2013-01-03T00:30:01 < Laurenceb_> interestingly nand flash on digikey is cheaper than cheapest uSD cards 2013-01-03T00:30:07 < Laurenceb_> just 2013-01-03T00:31:08 < Laurenceb_> well, ignoring possible scammer cards 2013-01-03T00:34:03 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T00:37:25 < Laurenceb_> unfortunately you need a huge stm32 to get FSMC 2013-01-03T00:37:56 < zyp> of course you do, parallell buses require lots of pins 2013-01-03T00:38:05 <+Steffanx> shift registers :P 2013-01-03T00:41:05 < gxti> hurrr 2013-01-03T00:42:40 <+Steffanx> gxti has something on his mind? 2013-01-03T00:43:02 < gxti> only hair 2013-01-03T00:43:09 < gxti> and skull 2013-01-03T00:43:29 <+Steffanx> and let me guess. The sky is up 2013-01-03T00:44:33 < Laurenceb_> oh wait 2013-01-03T00:44:36 < Laurenceb_> shiiitttt 2013-01-03T00:44:41 < Laurenceb_> u-boot uses serial 2013-01-03T00:45:12 <+Steffanx> no serial connection available? 2013-01-03T00:45:17 < Laurenceb_> i guess itd be possible to open a terminal via bluetooth 2013-01-03T00:45:27 <+Steffanx> heh 2013-01-03T00:45:31 < Laurenceb_> lolz this is completely obfuscated 2013-01-03T00:45:53 <+Steffanx> Make the one who threw the laptop away do it 2013-01-03T00:46:16 < Laurenceb_> i dont have a schematic for the board.. just guessing here 2013-01-03T00:46:29 < Laurenceb_> its a huge BGA so i cant test with multimeter 2013-01-03T00:46:34 <+Steffanx> What kind of special board is it? 2013-01-03T00:47:08 < Laurenceb_> guess 2013-01-03T00:47:12 < Laurenceb_> a datalogger XD 2013-01-03T00:47:40 <+Steffanx> datalogger XD even 2013-01-03T00:47:54 <+Steffanx> Extra Deluxe 2013-01-03T00:47:55 < Laurenceb_> slightly overpowered 2013-01-03T00:48:35 < Laurenceb_> actually i bet even stm32f1 is faster than pxa270 @ 104MHz 2013-01-03T00:49:23 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Ping timeout: 244 seconds] 2013-01-03T00:50:59 < Laurenceb_> "u-boot> 2013-01-03T00:50:59 < Laurenceb_> Use TFT to download first stage boot loader x-load.bin and write it to flash at offset 0." 2013-01-03T00:51:01 < Laurenceb_> wtf 2013-01-03T00:51:03 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T00:51:05 < Laurenceb_> whats TFT? 2013-01-03T00:51:15 < Laurenceb_> some sort of serial upload utility? 2013-01-03T00:51:34 < emeb> trivial file transfer? 2013-01-03T00:51:45 < emeb> temporary foot treatment? 2013-01-03T00:51:51 < Laurenceb_> lol 2013-01-03T00:52:29 < Laurenceb_> u-boot> tftp x-load.bin 2013-01-03T00:52:32 < Laurenceb_> what the fuu 2013-01-03T00:52:50 <+Steffanx> ck 2013-01-03T00:53:32 <+Steffanx> Time to get some sleep Laurenceb[springboard] 2013-01-03T00:53:51 < Laurenceb_> aha 2013-01-03T00:53:53 < Laurenceb_> http://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol 2013-01-03T00:54:58 < emeb> yep - lack of trailing "p" made me unsure... 2013-01-03T00:55:42 < Laurenceb_> so how does that talk over serial? 2013-01-03T00:55:50 < Laurenceb_> when you have a session open in minicom 2013-01-03T00:56:48 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Ping timeout: 265 seconds] 2013-01-03T00:59:16 < Laurenceb_> http://www.petalogix.com/resources/documentation/petalinux/userguide/Bootloaders/UBoot/UBDownload 2013-01-03T00:59:20 < Laurenceb_> what the fuuu 2013-01-03T00:59:28 < Laurenceb_> somehow i dont think i have ethernet 2013-01-03T00:59:32 <+Steffanx> cant you transfer a file using minicom/ 2013-01-03T00:59:43 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T00:59:51 < Laurenceb_> yes, but how do i get uboot to play nicely? 2013-01-03T01:00:37 < Laurenceb_> aha "U-Boot provides the ' loadb ' command to allow user to send images via the serial port to the target platform. Refer to the DAS U-Boot Manual for more information on using ' loadb '." 2013-01-03T01:00:54 < Laurenceb_> "U-Boot> loadb {address} 2013-01-03T01:00:55 < Laurenceb_> ## Ready for binary (kermit) download to {address} at 115200 bps..." 2013-01-03T01:00:57 < Laurenceb_> nice XD 2013-01-03T01:02:30 <+Steffanx> Transmitting…………………………..[endless loop] 2013-01-03T01:03:05 < emeb> kermit. *sigh* 2013-01-03T01:03:16 <+Steffanx> bad memories? 2013-01-03T01:03:31 < Laurenceb_> hehe 2013-01-03T01:03:54 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Ping timeout: 240 seconds] 2013-01-03T01:04:03 < Laurenceb_> this is all a couple of gui buttons in MacGregor 2013-01-03T01:04:17 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T01:04:39 < Laurenceb_> well.. once you fill in load of crazy config hex and save as a file 2013-01-03T01:09:32 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Ping timeout: 244 seconds] 2013-01-03T01:10:33 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-03T01:11:08 < emeb> can't recreate the MacGregor setup? 2013-01-03T01:12:24 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T01:13:35 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-01-03T01:14:21 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-03T01:14:22 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-03T01:14:22 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-03T01:14:23 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-03T01:15:19 < Laurenceb_> i guess i could if i actually had it 2013-01-03T01:15:29 < Laurenceb_> grab the sram loader using jtg 2013-01-03T01:15:33 < Laurenceb_> *jtag 2013-01-03T01:15:49 < Laurenceb_> and reverse engineer the transfer protocol over jtag 2013-01-03T01:16:00 < Laurenceb_> but thats not exactly easier 2013-01-03T01:16:22 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-03T01:16:27 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T01:17:59 < Laurenceb_> i guess i could stick u-boot permanently onto flash 2013-01-03T01:18:03 -!- Gargantuasauce [~Gargantua@p5499ADE5.dip.t-dialin.net] has quit [Ping timeout: 276 seconds] 2013-01-03T01:18:27 < Laurenceb_> i dont get how the u-boot based bootloaders work - how do you force u-boot into terminal mode? 2013-01-03T01:18:38 < Laurenceb_> theres a timeout like with bios? 2013-01-03T01:21:07 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Ping timeout: 248 seconds] 2013-01-03T01:21:09 -!- BjoernC__ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T01:21:12 < emeb> I've only used uboot on Beagleboard. 2013-01-03T01:21:45 < emeb> there's a 3-stage process: 1) OMAP boot code loads "MLO" aka xloader from SD card. 2013-01-03T01:21:57 < emeb> 2) xloader loads uboot from SD card 2013-01-03T01:22:20 < emeb> 3) uboot reads scripts in .env files from SD card and loads linux from SD card 2013-01-03T01:22:43 < Laurenceb_> ok, so how do you enter uboot terminal mode? 2013-01-03T01:22:47 < emeb> uboot talks to serial port the whole time, can be interrupted during process to override contents of scripts. 2013-01-03T01:23:10 < Laurenceb_> i see 2013-01-03T01:23:21 < Laurenceb_> but entering something over serial? 2013-01-03T01:23:22 < emeb> or, in some cases they write custom code for uboot to read buttons on board to override 2013-01-03T01:23:25 < Laurenceb_> *by 2013-01-03T01:23:30 < Laurenceb_> yeah i see 2013-01-03T01:23:31 < zyp> MLO is fun stuff 2013-01-03T01:23:39 < Laurenceb_> so that has to be compiled into uboot? 2013-01-03T01:24:08 < emeb> yep 2013-01-03T01:24:09 < zyp> I lost count of the number of times I overwrote the MLO on my devboard at work and thereby «bricked» it 2013-01-03T01:24:20 < zyp> overwrote it with a non-working version 2013-01-03T01:24:27 < Laurenceb_> im thinking i should put uboot on there permanently to allow bluetooth flashing 2013-01-03T01:24:35 < Laurenceb_> this sounds doable then 2013-01-03T01:25:03 < emeb> probably. 2013-01-03T01:25:10 < emeb> zyp: how did you recover? 2013-01-03T01:25:18 < Laurenceb_> just slightly more complex than stm32 :P 2013-01-03T01:25:27 < emeb> Laurenceb_: no kidding. 2013-01-03T01:25:44 < zyp> emeb, well, normally the board boots from onboard emmc 2013-01-03T01:26:03 < Laurenceb_> ill leave it to the guy who chucked macgregor :P 2013-01-03T01:26:18 < emeb> "you made the problem - you fix it" 2013-01-03T01:26:38 < Laurenceb_> i told him how to fix it, he has to do it :P 2013-01-03T01:27:08 <+Steffanx> lol 2013-01-03T01:27:22 < zyp> but when the MLO on it is invalid you have to go find an SD card with MLO, uboot and fastboot, play with some dip switches to switch boot source, then use fastboot to flash back a proper MLO 2013-01-03T01:27:29 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T01:27:49 <+Steffanx> MLO? 2013-01-03T01:27:50 -!- BjoernC__ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-03T01:28:28 < zyp> the thing is that there is a number of different chip versions and variants (I think it's security related) and we have a bunch of different ones 2013-01-03T01:29:00 < zyp> and older flash-scripts didn't check which MLO was the proper for that particular chip 2013-01-03T01:29:06 < zyp> Steffanx, first stage bootloader 2013-01-03T01:29:37 -!- LongChair [~IceChat77@82.231.128.23] has joined ##stm32 2013-01-03T01:29:43 < LongChair> evening 2013-01-03T01:29:47 <+Steffanx> OK, but what does it mean? :) 2013-01-03T01:30:10 <+Steffanx> Lo LongChair 2013-01-03T01:30:46 < LongChair> Would anyone know if there is a way to lower the malloc page size in newlib ? when I malloc a 1500 bytes array, it will malloc a 4096 bytes pages ... quite huge when you have a 20k ram chip :) 2013-01-03T01:31:03 < zyp> Steffanx, dunno, go ask TI 2013-01-03T01:31:28 <+Steffanx> No boss 2013-01-03T01:32:10 -!- BjoernC [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 2013-01-03T01:32:11 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T01:32:31 < Laurenceb_> ask TI LIKE A BOSS 2013-01-03T01:34:00 <+Steffanx> zyp, elinux wiki claims mlo is the second stage bootloader :P 2013-01-03T01:34:30 < zyp> it's the first replaceable bootloader stage! 2013-01-03T01:34:37 < zyp> I don't count rom code :p 2013-01-03T01:34:44 <+Steffanx> jeje 2013-01-03T01:37:07 <+Steffanx> Hmm, some random people claim it means "Mmc LOader 2013-01-03T01:37:31 <+Steffanx> Actually not random. This guy has a @ti.com email address 2013-01-03T01:37:57 <+Steffanx> Answer accepted 2013-01-03T01:39:29 < zyp> :p 2013-01-03T01:40:38 < Laurenceb_> oh wait 2013-01-03T01:40:45 < Laurenceb_> i mixed bits and bytes 2013-01-03T01:40:52 < Laurenceb_> http://www.digikey.co.uk/product-detail/en/TC58NVG2S0FTA00/TC58NVG2S0FTA00-ND/3562637 2013-01-03T01:40:56 < Laurenceb_> rip off 2013-01-03T01:41:41 <+Steffanx> :P 2013-01-03T01:42:15 < Laurenceb_> http://www.digikey.co.uk/product-detail/en/MT29F32G08CBACAWP:C%20TR/557-1489-1-ND/2747314 2013-01-03T01:42:43 < Laurenceb_> twice the price of uSD 2013-01-03T01:43:07 < zyp> http://www.digikey.co.uk/product-detail/en/MT29F64G08CBAAAWP:A%20TR/557-1490-1-ND/2747315 2013-01-03T01:43:32 < zyp> and you don't even get wear-levelling :p 2013-01-03T01:43:45 < Laurenceb_> yeah 2013-01-03T01:44:32 < zyp> or rather, you get predictable wear levelling, since you are responsible for doing it 2013-01-03T01:45:56 < LongChair> would anyone have a clue regarding my malloc issue ? :) 2013-01-03T01:47:06 < emeb> someone in beagleboard community wrote a custom MLO that can read scritps, talk to serial and load linux. Results in much faster boots. 2013-01-03T01:47:41 <+Steffanx> I bet jpa- can LongChair. But he is in dreamland 2013-01-03T01:48:11 < emeb> Hmm. Finland is dreamland. Interesting. 2013-01-03T01:48:50 < LongChair> ok i guess i'll come back tomorrow then, when dreamland came out of the shade :) 2013-01-03T01:49:30 <+Steffanx> or just stay around :) 2013-01-03T01:49:40 < emeb> ##stm32 never sleeps 2013-01-03T01:49:40 < zyp> emeb, heh, it's not like that phase of the boot takes a significant amount of time, is it? 2013-01-03T01:50:01 < emeb> zyp: on old beagleboards the uboot stage could be fairly slow 2013-01-03T01:50:13 < emeb> because they put in delays to let you override the scripts. 2013-01-03T01:50:16 < zyp> I mean, most of the MLO+uboot time is spent on the 5 second countdown uboot does :p 2013-01-03T01:51:17 < emeb> right. But it was nice not to have to deal with uboot at all when prepping an SD card. 2013-01-03T01:51:48 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-03T01:52:02 < ds2> Hmmmm 2013-01-03T01:52:18 < emeb> I guess the OMAP ROM bootloader (stage 0) can actually do a fair amount of HW configuration via a set of register values that can be tacked onto the 1st stage. 2013-01-03T01:53:09 <+Steffanx> LongChair uses newlib? 2013-01-03T01:54:02 < zyp> LongChair, what is your issue? what compiler toolchain/version do you use? 2013-01-03T01:54:07 <+Steffanx> If so.. that 4k seems to be a constant. At least that's what i understand from a mailing list from mentor.com 2013-01-03T01:54:51 <+Steffanx> And they say you have to recompile newlib to make that smaller 2013-01-03T01:55:21 <+Steffanx> but that was back in 2010. who knows what changes 2013-01-03T01:55:22 <+Steffanx> d 2013-01-03T01:56:34 < zyp> try the new nano-specs included with the launchpad toolchain 2013-01-03T01:57:25 < emeb> zyp: did you see that I tried nano yesterday? 2013-01-03T01:57:34 < emeb> hardfault. 2013-01-03T01:57:44 < zyp> ah, didn't see that 2013-01-03T01:57:45 < emeb> didn't look any further. 2013-01-03T01:57:57 < zyp> could be interesting looking into 2013-01-03T01:58:10 < zyp> how did it affect executable size? 2013-01-03T01:58:21 < emeb> interesting or "interesting"? :P 2013-01-03T01:58:32 < emeb> yeah - it did cut the size down considerably. 2013-01-03T01:58:51 < emeb> 9K w/o printf, 40 w/ printf, 13k w/ printf & nano 2013-01-03T01:59:25 < zyp> I enjoy debugging, thus interesting ;) 2013-01-03T02:00:06 < zyp> learning what caused a problem and why is usually a rewarding experience 2013-01-03T02:00:14 < emeb> true 2013-01-03T02:00:35 <+Steffanx> :P 2013-01-03T02:01:10 <+Steffanx> Special drugs for zyp 2013-01-03T02:01:47 -!- barthess [~barthess@77.67.197.118] has quit [Quit: Leaving.] 2013-01-03T02:03:05 -!- DaKu is now known as daku 2013-01-03T02:09:06 < emeb> anyone else notice AN4206: "Getting started with STM32F30x/31x/37x/38x hardware development"? 2013-01-03T02:09:34 < ds2> what about it? 2013-01-03T02:09:41 < zyp> 38x? 2013-01-03T02:09:46 < emeb> Has short section on BOOT modes - doesn't say anything about F37x not supporting USB DFU or USART2 2013-01-03T02:10:08 < emeb> Yeah - noticed the 38x stuff too 2013-01-03T02:10:24 < zyp> maybe just crypto, like F4? 2013-01-03T02:11:08 < emeb> Section 6 discusses that 2013-01-03T02:11:36 < emeb> No on-chip vreg, no usb, no vbat, different bootloader 2013-01-03T02:11:38 < zyp> ah, low voltage devices? 2013-01-03T02:11:44 < emeb> could be 2013-01-03T02:11:49 < emeb> 1.8V 2013-01-03T02:12:10 < ds2> apparently the LV restriction is not just the regulator 2013-01-03T02:12:16 < ds2> the brownout stuff needs to be reworked 2013-01-03T02:14:02 < zyp> hmm 2013-01-03T02:14:45 < zyp> I'm wondering if I should take the solder paste out of the fridge now in anticipation of lpc boards that may or may not arrive tomorrow :p 2013-01-03T02:15:10 < emeb> that would guarantee they don't arrive. 2013-01-03T02:15:23 < zyp> I wouldn't be too sure about that 2013-01-03T02:15:37 < zyp> I've done it once before, when I was waiting for my F4 boards from oshpark 2013-01-03T02:15:41 < zyp> arrived the day after :p 2013-01-03T02:15:58 < emeb> heh - the gods of chance smiled on you that day. 2013-01-03T02:16:05 < zyp> :) 2013-01-03T02:16:27 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-03T02:16:41 < ds2> zyp: u are toaster oven'ing them,right? 2013-01-03T02:16:46 < zyp> yes 2013-01-03T02:17:13 < zyp> ds2, were you the guy talking about running uclinux on them? 2013-01-03T02:17:20 < ds2> zyp: yep. that'd be me 2013-01-03T02:17:54 < ds2> zyp: toying with the idea of toasting a few PSRAM (0.75mm) BGAs but I would like to know how urs come out first 2013-01-03T02:18:00 < zyp> did you see that dongs assembled one? 2013-01-03T02:18:04 < zyp> https://www.youtube.com/watch?v=vBmp3k82Reo 2013-01-03T02:18:27 < emeb> complete w/ happyhardcore! 2013-01-03T02:18:27 < zyp> looks good so far 2013-01-03T02:18:33 < ds2> no, but he has fancier equipment, doesn't he? 2013-01-03T02:18:39 < ds2> i.e. something to control the profile 2013-01-03T02:19:03 < zyp> oh, so do I 2013-01-03T02:19:55 < zyp> I got this cheap chinese reflow oven, which is basically a toaster with temperature control and a fan for cooldown 2013-01-03T02:20:11 < zyp> not very fancy, but it has worked decently so far 2013-01-03T02:20:29 < ds2> Oh... thought u were doing ablind reflow 2013-01-03T02:20:41 < ds2> i.e. regular toaster + watching when the solder puddles 2013-01-03T02:21:24 < zyp> nah, I'm too lazy to do that 2013-01-03T02:21:24 < zyp> I just throw it in and run the profile that's supposed to match the solder composition I use 2013-01-03T02:21:43 < ds2> who's doing ur stencile? 2013-01-03T02:21:48 < ds2> stencil 2013-01-03T02:22:02 < zyp> they also comes from dongs, with the boards 2013-01-03T02:22:21 < ds2> ah 2013-01-03T02:24:02 < ds2> is dong's version actually using the DDR? 2013-01-03T02:24:43 < zyp> no 2013-01-03T02:25:02 <+Steffanx> haha zyp 2013-01-03T02:25:04 < ds2> I am very intersted to know if your DDR layout works 2013-01-03T02:25:04 <+Steffanx> Cuz the asshole who designed it used a retarded footprint instead of LM1117-standard one 2013-01-03T02:25:09 < Laurenceb_> F38x F31x is 1.8v 2013-01-03T02:25:09 <+Steffanx> @ comments 2013-01-03T02:25:16 < Laurenceb_> there was a press release 2013-01-03T02:25:21 < Laurenceb_> before christmas 2013-01-03T02:25:21 < zyp> Steffanx, yeah, I know :p 2013-01-03T02:26:26 < zyp> Steffanx, I realized it was retarded when I was ordering parts and most of the regs in that package come with the LM1117-compatible pinout :p 2013-01-03T02:28:14 < zyp> but at that point I figured I couldn't be assed to revise the design just for that, and just found some regs with the pinout I've used 2013-01-03T02:29:23 < zyp> it's now on the list of shit to do better next time I design a board 2013-01-03T02:30:18 < emeb> "lessons learned" in US corpspeak. 2013-01-03T02:31:43 <+Steffanx> Not only in yankeelander speech 2013-01-03T02:32:30 < emeb> corpspeak is universal? 2013-01-03T02:34:04 <+Steffanx> Sure 2013-01-03T02:40:48 -!- Laurenceb_ [~Laurence@host86-177-212-151.range86-177.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-03T02:40:51 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2013-01-03T02:42:59 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-01-03T02:51:55 -!- BjoernC_ [~BjoernC@dyndsl-178-142-048-008.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-03T03:04:05 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-03T03:20:09 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-01-03T03:23:22 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-03T03:28:59 -!- LongChair [~IceChat77@82.231.128.23] has quit [Quit: Take my advice. I don't use it anyway] 2013-01-03T03:32:43 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-03T03:32:51 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 248 seconds] 2013-01-03T03:44:45 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-03T03:48:20 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-03T04:13:23 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-03T04:39:08 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-03T04:40:46 < ds2> emeb: ping 2013-01-03T04:44:57 -!- Steffanx is now known as emeb_proxy 2013-01-03T04:45:00 <+emeb_proxy> pong 2013-01-03T04:45:03 -!- emeb_proxy is now known as Steffanx 2013-01-03T04:46:50 < dongs> dong 2013-01-03T04:47:28 <+Steffanx> Good morning sunsine of ##stm32 2013-01-03T04:47:56 < dongs> bunch of shit to do 2013-01-03T04:51:47 <+Steffanx> like always 2013-01-03T05:02:03 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-03T05:07:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-01-03T05:07:54 -!- carp3 [~carp3@198.143.159.146] has joined ##stm32 2013-01-03T05:25:40 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-03T05:40:45 < ds2> emeb: hey, how reliable is the LR in your neck of the woods? 2013-01-03T06:10:33 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-03T06:15:06 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 264 seconds] 2013-01-03T06:26:58 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-03T06:29:46 < emeb_mac> wtf is emeb_proxy? 2013-01-03T06:29:50 < emeb_mac> wasn't me 2013-01-03T06:30:28 < emeb_mac> ds2: what do you mean by LR? 2013-01-03T06:30:43 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-03T06:31:31 < ds2> emeb_mac: light rail 2013-01-03T06:31:39 < emeb_mac> ah. 2013-01-03T06:31:45 < emeb_mac> seems to be pretty good. 2013-01-03T06:31:57 < ds2> so it is reliable? 2013-01-03T06:32:06 < emeb_mac> I've not ridden it personally, but friends/relatives have used it 2013-01-03T06:32:06 < ds2> and I can connect to buses w/o waiting an hour? 2013-01-03T06:32:31 < emeb_mac> I think theres usually a train about every 5-10 minutes 2013-01-03T06:32:48 < ds2> it seems like a good way to get out of the airport 2013-01-03T06:33:15 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-03T06:33:48 < emeb_mac> yeah - I think that they just opened a spur from the airport to the main line 2013-01-03T06:33:48 < emeb_mac> automated "people mover" train that runs from the airport to a nearby station on the main LR line. 2013-01-03T06:33:49 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-03T06:34:06 < ds2> spur? map shows it right on the side of the airport 2013-01-03T06:34:10 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 265 seconds] 2013-01-03T06:35:08 < emeb_mac> ds2: right, but the distance from the air terminals to the LR station is about a mile. 2013-01-03T06:35:18 < ds2> Ohhhhh 2013-01-03T06:35:27 < emeb_mac> and it looks like the connecting spur doesn't start running for a few months. 2013-01-03T06:35:36 < ds2> it also shows a shuttle 2013-01-03T06:38:14 < emeb_mac> That's probably what you'd have to use for now. 2013-01-03T06:38:14 < emeb_mac> this is what I meant - http://en.wikipedia.org/wiki/PHX_Sky_Train 2013-01-03T06:38:14 < emeb_mac> which suggests that shuttles work for now. 2013-01-03T06:38:14 < emeb_mac> those are free to AFAIK 2013-01-03T06:42:03 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-03T06:42:10 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-03T06:46:00 < ds2> Sky train is the name? 2013-01-03T06:47:42 < emeb_mac> yep 2013-01-03T06:48:19 < emeb_mac> there's some fairly impressive infrastructure - high rails over the roads & ramps. 2013-01-03T07:10:58 -!- betovar [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-03T07:26:36 -!- carp3 [~carp3@198.143.159.146] has quit [Remote host closed the connection] 2013-01-03T07:38:00 -!- betovar [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has joined ##stm32 2013-01-03T07:42:13 -!- betovar [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-03T07:45:55 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-03T07:47:03 -!- betovar [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has joined ##stm32 2013-01-03T08:04:52 -!- claude is now known as Claude 2013-01-03T08:27:11 -!- _BJFreeman [~bjfree@10.sub-75-196-81.myvzw.com] has quit [] 2013-01-03T08:36:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-03T09:01:33 < emeb_mac> things be quiet 2013-01-03T09:01:43 < zyp> good morning 2013-01-03T09:01:52 < emeb_mac> gooood morning 2013-01-03T09:01:58 < emeb_mac> sun up yet? 2013-01-03T09:02:10 < zyp> nah 2013-01-03T09:04:27 < emeb_mac> hmmm. sunrise in Oslo @ 9:17 - not for another hour or so. 2013-01-03T09:26:55 < dongs> sup dongs 2013-01-03T09:27:19 < emeb_mac> dongs in the sky 2013-01-03T09:27:39 < dongs> still failing to read anything out of 512byte/sector nand 2013-01-03T09:27:54 < emeb_mac> nandfail 2013-01-03T09:28:19 < dongs> flyback: protip: try to be funnier 2013-01-03T09:32:16 < dongs> dongmill 2013-01-03T09:32:31 < dongs> pfft 2013-01-03T09:32:40 < dongs> right after you make a stm32f0 flooppy drive emulator 2013-01-03T09:37:57 < emeb_mac> zzzzz 2013-01-03T09:38:04 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-03T09:50:28 -!- Claude is now known as claude 2013-01-03T10:16:33 < dongs> dongssssssssssssssssssssssssssssssssssss 2013-01-03T10:29:02 -!- claude is now known as Claude 2013-01-03T10:35:51 < dongs> attn Laurenceb http://t.qkme.me/3sbbq7.jpg 2013-01-03T10:47:16 -!- Laurenceb_ [~Laurence@86.177.208.192] has joined ##stm32 2013-01-03T10:47:38 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-03T11:04:18 -!- Laurenceb_ [~Laurence@86.177.208.192] has quit [Ping timeout: 272 seconds] 2013-01-03T11:08:11 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-03T11:34:19 < zyp> according to reference manual, FSMC has a «bust turn» parameter 2013-01-03T11:34:40 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-03T11:36:28 < zyp> dongs, did you see what I wrote about waveshare nor flash board? 2013-01-03T11:36:47 < zyp> mine had a 0ohm resistor to NE2 and a 10k pullup to vcc 2013-01-03T11:36:55 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-01-03T11:38:09 < Thorn> "Analysis of the sounds from squeaky doors and bottle tops showed components of over 100 kHz present. A ringing telephone generated a series of frequency components up to 160 kHz." 2013-01-03T11:38:49 < zyp> and? 2013-01-03T11:39:19 < Thorn> http://la.rsmjournals.com/content/22/4/369.full.pdf 2013-01-03T11:40:44 < zyp> ah 2013-01-03T12:29:50 < Laurenceb> so thats why peta are always haxoring us 2013-01-03T12:31:17 < karlp> heh, this electricity meter has an optional feature called "tropicalization" 2013-01-03T12:31:38 < karlp> I wonder if that's just oddly translated italian. 2013-01-03T12:32:43 < Laurenceb> blerg 2013-01-03T12:32:49 < Laurenceb> i should have had more sleep 2013-01-03T12:32:58 < Laurenceb> cant even remeber what i was trying to do... 2013-01-03T12:33:39 < Laurenceb> in b4 "failing" 2013-01-03T12:41:36 < Laurenceb> http://www.linear.com/product/LT6236?utm_medium=email&utm_source=transactional&utm_campaign=LT_Insider 2013-01-03T12:41:49 < Laurenceb> looks nice, pity about the input current noise 2013-01-03T12:42:56 * Laurenceb uses 2013-01-03T12:42:58 < Laurenceb> http://www.maximintegrated.com/datasheet/index.mvp/id/3085?ver=D&t=al&utm_expid=50713806-2&utm_referrer=http%3A%2F%2Fwww.google.co.uk%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3Dmax4477%26source%3Dweb%26cd%3D1%26ved%3D0CDMQFjAA%26url%3Dhttp%253A%252F%252Fwww.maximintegrated.com%252Fdatasheet%252Findex.mvp%252Fid%252F3085%26ei%3DfmDlUIKgOcW70QWrjIHIAQ%26usg%3DAFQjCNFSGtbTmUP7sHefK_uv3r-bhIuNLQ%26bvm%3Dbv.1355534169%2Cd.d2k 2013-01-03T12:49:34 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 240 seconds] 2013-01-03T12:50:30 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-03T12:58:43 -!- daku is now known as DaKu 2013-01-03T13:11:17 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T13:12:49 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-03T13:12:57 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T13:13:53 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-03T13:14:01 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T13:15:38 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-03T13:15:40 -!- BjoernC_ [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T13:15:46 -!- BjoernC_ [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-03T13:17:49 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T13:19:36 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-03T13:19:44 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T13:20:15 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-03T13:20:23 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T13:21:28 < dongs> zyp, pics of yours 2013-01-03T13:21:34 < dongs> zyp: mine looks different from the pic on site 2013-01-03T13:21:40 < dongs> on mine none of NEx have any resistors just pads 2013-01-03T13:21:48 < dongs> and it has 0R between VCC and 'ACT' 2013-01-03T13:22:38 < zyp> huh? 2013-01-03T13:22:56 < zyp> well, I'm at work now, can provide pic when I'm home 2013-01-03T13:23:45 < dongs> http://i.imgur.com/UK37Z.jpg 2013-01-03T13:23:49 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Client Quit] 2013-01-03T13:23:55 < dongs> see that row of shit on top? 2013-01-03T13:24:01 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T13:24:10 < zyp> yeah 2013-01-03T13:24:11 < dongs> the jumper wire is between #CS on flash and NE2 from connector 2013-01-03T13:24:16 < dongs> but by default its not evne possible to bridge htem at all 2013-01-03T13:24:17 < zyp> yeah 2013-01-03T13:24:21 < zyp> huh? 2013-01-03T13:24:28 < zyp> it's same shit as ACT 2013-01-03T13:24:32 < dongs> its not 2013-01-03T13:24:38 < dongs> the SIGNAL is bottom 2013-01-03T13:24:41 < dongs> top trace is al lVCC 2013-01-03T13:24:45 < dongs> so if I bridge it 2013-01-03T13:24:48 < zyp> no 2013-01-03T13:24:49 < dongs> it just stays HI all the time 2013-01-03T13:24:50 < dongs> yes. 2013-01-03T13:24:54 < dongs> i fucking tried already. 2013-01-03T13:25:28 < dongs> how do you suppose I connect NE2 to CS? 2013-01-03T13:25:33 < zyp> top pad on ACT is only connected to top pad on NEx/CSx 2013-01-03T13:25:40 < dongs> nope 2013-01-03T13:25:43 < dongs> its connected to vcc. 2013-01-03T13:25:47 < dongs> the entire row is. 2013-01-03T13:25:50 < zyp> where? 2013-01-03T13:25:51 < dongs> you can even see it, sorta 2013-01-03T13:26:15 < dongs> in that pic, left side of CS3/CS2/CS1/NE3/NE2/ACT/top pad of #CS are all vcc rail 2013-01-03T13:26:42 < zyp> on my board I saw a trace starting at CS3 and going over to ACT, and stopping there 2013-01-03T13:26:50 < zyp> and then the next pad over is vcc and had a 10k pullup 2013-01-03T13:27:33 < dongs> well whatever. shits all connected here, wire is the only way I could think of how to bridge the shit 2013-01-03T13:27:36 < dongs> i dunno what ACT shit is for. 2013-01-03T13:27:38 < zyp> so chip enable goes in through 0R on NE2 pads and down to chip through 0R on ACT pads, which also gets pulled to vcc through 10k on the next pads over 2013-01-03T13:28:09 < dongs> its not though, but watevers. 2013-01-03T13:28:13 < zyp> the bottom pad of ACT is connected to the bottom pad of the unlabeled one 2013-01-03T13:28:54 < zyp> so if ACT has top pad on vcc, you are still shorting it to vcc :p 2013-01-03T13:29:26 < dongs> http://www.wvshare.com/img/preview/S29GL128P-NorFlash-Board_l.jpg 2013-01-03T13:29:28 < Laurenceb> zyp, pics of yours 2013-01-03T13:29:28 < Laurenceb> zyp: mine looks different from the pic on site 2013-01-03T13:29:31 < dongs> mine looks different 2013-01-03T13:29:36 < dongs> than this 2013-01-03T13:29:37 < Laurenceb> playing doctors and nurses? 2013-01-03T13:30:02 < dongs> Laurenceb: < dongs> attn Laurenceb http://t.qkme.me/3sbbq7.jpg 2013-01-03T13:30:15 < Laurenceb> lol 2013-01-03T13:30:23 < zyp> dongs, I think mine is same as yours, with the led there 2013-01-03T13:30:38 < dongs> then there's no way ot will work in default confir 2013-01-03T13:30:40 < dongs> config 2013-01-03T13:30:43 < dongs> or with sram on top of it 2013-01-03T13:30:45 < dongs> or any other way 2013-01-03T13:32:03 < dongs> watevers im still bitching and getting some free modules out of htem. 2013-01-03T13:32:47 < dongs> man recomended pattern for that USB socket you used is nasty 2013-01-03T13:32:52 < dongs> dimensions are all fucked 2013-01-03T13:33:21 < zyp> :p 2013-01-03T13:33:32 < dongs> im redoing it wiht oval holes 2013-01-03T13:33:55 < Laurenceb> http://www.sickipedia.org/joke/view/112759 2013-01-03T13:34:04 < zyp> you're going to use it on more boards? 2013-01-03T13:34:14 < dongs> zyp: not mine, but some other design 2013-01-03T13:34:55 < zyp> what do you think of it now that you've soldered one? still think you're gonna rip it off that easy? :p 2013-01-03T13:35:17 < dongs> its still microusb and its still shit, but it'll do for the shit it will be used in. 2013-01-03T13:44:02 < dongs> http://i.imgur.com/qzeHQ.png gonna do the other 2 shits later. 2013-01-03T13:50:54 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-03T14:15:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-03T14:15:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-03T14:15:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-03T14:15:21 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-03T14:18:31 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-03T14:30:13 < dongs> ooo 2013-01-03T14:30:22 < dongs> zyp: apparently someone wasted tiem to port 9axis dmp from motionapps 2013-01-03T14:30:36 < dongs> http://brushless-gimbal.googlecode.com/files/032_2.zip 2013-01-03T14:30:48 < dongs> tarduino shit but there's .h for both 6 and 9axis dmp 2013-01-03T14:30:54 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-03T14:31:25 < zyp> interesting 2013-01-03T14:31:56 < dongs> there's prpobably a less nasty version somwhere then 2013-01-03T14:33:02 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-03T14:33:14 <+Steffanx> What is that what you dump to the mpu? Some firmware? 2013-01-03T14:33:32 < dongs> bytecode for whatever ghetto cpu is inside it 2013-01-03T14:41:56 < Laurenceb> eww thats nasty 2013-01-03T14:42:52 < Laurenceb> im guessing its just running something simple like the diydrones algorithm 2013-01-03T14:43:31 < zyp> something simple complementary 2013-01-03T14:44:37 < Laurenceb> yeah 2013-01-03T14:45:09 < Laurenceb> you could just run it on the host processor and it'd be less nasty overall 2013-01-03T14:45:19 < dongs> well, these are tarduino guys 2013-01-03T14:45:24 < dongs> they dont have any cycles left 2013-01-03T14:45:27 < dongs> to run it on a real processor 2013-01-03T14:45:33 < dongs> so they spend extra time to figure useless shit out. 2013-01-03T14:45:43 < Laurenceb> lol 2013-01-03T14:47:19 < zyp> Laurenceb, but running on the DMP sampling speed is not subject to i2c/spi bus speed and contention 2013-01-03T14:47:41 < Laurenceb> thats why you have fifo 2013-01-03T14:47:46 < Laurenceb> that actually works... 2013-01-03T14:48:18 < zyp> why bother when you have a coprocessor giving you absolute attitude? 2013-01-03T14:48:27 < Laurenceb> also i doubt the mpu stuff is fast enough to process data that fast.. 2013-01-03T14:48:43 < Laurenceb> cuz its attitude is probably piss poor 2013-01-03T14:49:10 < zyp> just like your attitude 2013-01-03T14:49:33 <+Steffanx> :D 2013-01-03T14:52:03 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-03T14:53:10 < dongs> hmmm 2013-01-03T15:05:40 < dongs> hm zyp teh pattern drawing doenst match with 3d drawing 2013-01-03T15:06:05 < Laurenceb> http://www.ifixit.com/Teardown/iMac+Intel+21.5-Inch+EMC+2544+Teardown/11936/3 2013-01-03T15:06:13 < Laurenceb> interesting - stellaris on there 2013-01-03T15:06:15 < dongs> holes near pins are 4.85mm, the outer ones are 5.55mm according to 3d drawing, but if you measuer it up according to pattern diagram its more like 5.1mm 2013-01-03T15:06:30 < dongs> aboout as interesting as apple garbage 2013-01-03T15:06:32 <+Steffanx> Laurenceb, OLD 2013-01-03T15:06:35 <+Steffanx> you posted that before 2013-01-03T15:06:42 < Laurenceb> nope 2013-01-03T15:06:45 < dongs> and yeah you did 2013-01-03T15:06:51 < Laurenceb> that was another crapple product 2013-01-03T15:06:57 < Laurenceb> they seem to like stellaris 2013-01-03T15:07:07 <+Steffanx> like i care what they use 2013-01-03T15:07:20 < Laurenceb> but you should use it too 2013-01-03T15:07:28 < Laurenceb> as obviously its the right choice 2013-01-03T15:07:41 < Laurenceb> anyone who thinks otherwise is an idiot 2013-01-03T15:07:45 <+Steffanx> fail troll 2013-01-03T15:09:42 <+Steffanx> You can also see it the other way around Laurenceb 2013-01-03T15:10:02 < dongs> "shit to never use" 2013-01-03T15:10:19 <+Steffanx> Some mac users use Arduino. Mac users do whatever Apple does. So Apple uses Arduino 2013-01-03T15:10:21 <+Steffanx> Uh :S 2013-01-03T15:10:59 < dongs> that was ridiculously unfunny. 2013-01-03T15:11:27 <+Steffanx> It was just blabla to proof Laurenceb's blabla was just blabla 2013-01-03T15:11:37 < Laurenceb> we need better trolling 2013-01-03T15:12:52 <+Steffanx> Yes we do 2013-01-03T15:17:37 <+Steffanx> Found something yet Laurenceb ? 2013-01-03T15:39:23 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-03T15:45:13 -!- jef79m_lurking is now known as jef79m 2013-01-03T15:49:53 < Laurenceb> https://i.chzbgr.com/maxW500/6866672640/h77778F76/ 2013-01-03T15:50:26 <+Steffanx> :D :D 2013-01-03T15:51:37 < qyx_> hm, is 207 pin to pin compatible with 407: 2013-01-03T15:51:43 < zyp> yes 2013-01-03T15:51:47 < qyx_> ok, thx 2013-01-03T15:52:09 < zyp> as far as I know, 407 is just a 207 with cortex-m4 and specced to clock a bit higher 2013-01-03T15:52:12 <+Steffanx> qyx_, it's not a very bad idea to also check yourself. I mean, people can be wrong :P 2013-01-03T15:52:28 < qyx_> i know, i checked, but asked just to be sure 2013-01-03T15:52:33 < qyx_> :P 2013-01-03T15:52:33 <+Steffanx> okok 2013-01-03T15:56:41 < karlp> there's some subtle diffs. 2013-01-03T15:56:51 < karlp> an extra wakeup event in the RTC, minor things like that 2013-01-03T15:57:10 < karlp> there's an explicit app note outlining "moving from f2 to f4" 2013-01-03T15:59:25 -!- jef79m is now known as jef79m_lurking 2013-01-03T16:05:39 < dongs> zyp, usb hole distance? 2013-01-03T16:05:48 < dongs> yours doesnt actually match either pad or 3d drawing 2013-01-03T16:06:15 < dongs> your stuff is 5.4/4.8 2013-01-03T16:10:19 < zyp> I think I rounded the numbers a bit 2013-01-03T16:10:59 < dongs> for the mount hole distance though you used the value in 3d drawing rihgt 2013-01-03T16:11:19 < zyp> I think I measured the actual connector to double check the sanity of my numbers 2013-01-03T16:22:43 -!- _BJFreeman [~bjfree@66.sub-75-196-11.myvzw.com] has joined ##stm32 2013-01-03T16:43:39 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-03T16:49:08 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-03T16:57:41 < dongs> ok 2013-01-03T17:04:20 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 244 seconds] 2013-01-03T17:07:07 < dongs> zyp: looks like i t'll work. http://i.imgur.com/8uAGF.png 2013-01-03T17:07:25 < dongs> my smd pads all match your gerber, and the ovals are close enough 2013-01-03T17:08:49 < Laurenceb> just repaired my phone 2013-01-03T17:08:59 <+Steffanx> fancy phone? 2013-01-03T17:09:00 < Laurenceb> it got wet and keypad stopped working 2013-01-03T17:09:07 < Laurenceb> oldish nokia 2013-01-03T17:09:11 <+Steffanx> :D 2013-01-03T17:09:27 < Laurenceb> turns out it used electrically conductive double sided tape for keypad ground 2013-01-03T17:09:47 < Laurenceb> which becomes nonconductive if it gets wet 2013-01-03T17:09:47 < dongs> sounds like typical nokia activity 2013-01-03T17:09:48 < dongs> k bedtime 2013-01-03T17:10:00 < Laurenceb> solder fixes it 2013-01-03T17:10:28 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-03T17:11:10 < emeb_mac> *yawn* 2013-01-03T17:11:20 <+Steffanx> morning sir 2013-01-03T17:11:54 < emeb_mac> hi 2013-01-03T17:12:27 < emeb_mac> how's NL? 2013-01-03T17:12:46 <+Steffanx> Fine fine. And US? 2013-01-03T17:13:01 < emeb_mac> Didn't disappear while I slept. 2013-01-03T17:13:19 <+Steffanx> Or you are still asleep and you don't know yet 2013-01-03T17:13:40 < emeb_mac> there's that. 2013-01-03T17:14:17 <+Steffanx> You should go for permanent lucid dreaming :) 2013-01-03T17:16:31 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-03T17:21:45 < emeb_mac> I had that dream again - the one where the house has more rooms in it than it really does. 2013-01-03T17:22:09 <+Steffanx> Figured out what is in the extra rooms? :) 2013-01-03T17:22:38 < emeb_mac> Oh yes. Pianos, watchmaking equipment, cat toys. I could go on... 2013-01-03T17:27:57 < qyx_> oh, around 6e for usable variable gain amplifier :/ 2013-01-03T17:28:25 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-01-03T17:29:02 < qyx_> i am curious if that could be implemented with some discrete components 2013-01-03T17:29:07 < qyx_> eg. pin diode 2013-01-03T17:29:31 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-03T17:29:32 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-03T17:29:32 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-03T17:29:35 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-03T17:36:04 -!- |sark [~|sark@109.235.51.202] has quit [Read error: Connection reset by peer] 2013-01-03T17:36:59 -!- jon1012 [~jon@88.162.134.157] has joined ##stm32 2013-01-03T17:37:00 -!- jon1012 [~jon@88.162.134.157] has quit [Changing host] 2013-01-03T17:37:00 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-03T17:37:30 < emeb_mac> qyx_: wtf? context pls. 2013-01-03T17:38:23 < qyx_> i am trying to find some usable variable gain amp for analog data logger 2013-01-03T17:39:00 < emeb_mac> how much variation? 2013-01-03T17:39:05 < karlp> more interestingly, what are you going to do with the data? 2013-01-03T17:39:58 < qyx_> actually i am still thinking about that sonar radar :X 2013-01-03T17:40:13 < qyx_> time-correlate returning signal 2013-01-03T17:41:47 < emeb_mac> op-amps in the f303 have programmable gains from 2-16 2013-01-03T17:43:14 < qyx_> hmm 2013-01-03T17:43:34 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-249-164.clienti.tiscali.it] has joined ##stm32 2013-01-03T17:55:15 -!- barthess [~barthess@77.67.193.67] has joined ##stm32 2013-01-03T18:02:09 -!- Claude is now known as claude 2013-01-03T18:14:38 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-03T18:17:39 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-03T18:46:36 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-03T18:47:19 -!- Gargantuasauce [~Gargantua@host49-193-static.227-95-b.business.telecomitalia.it] has joined ##stm32 2013-01-03T18:54:03 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-249-164.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-03T18:59:53 < zyp> hmm 2013-01-03T19:00:06 < zyp> emeb, I think I'm pretty good at this luck thing you were talking about 2013-01-03T19:01:00 < zyp> waveshare does nand chips on breakout boards 2013-01-03T19:15:09 < emeb> zyp: got your LPC boards? 2013-01-03T19:15:13 < zyp> yep 2013-01-03T19:15:21 < emeb> \o/ 2013-01-03T19:16:02 < zyp> dongs, nor-flash: http://bin.jvnv.net/f/jsu8i.JPG 2013-01-03T19:16:07 < emeb> flyback: I've got a box full of those JuiceBox things. 2013-01-03T19:16:18 < emeb> Overstock was blowing them out a few years back. 2013-01-03T19:16:37 < zyp> dongs, note how the trace across cs/ne pads stops at the act pad and does not connect to vcc 2013-01-03T19:17:12 < emeb> flyback: yep 2013-01-03T19:17:27 < emeb> so I've heard 2013-01-03T19:18:10 < emeb> right 2013-01-03T19:18:46 < emeb> old 2013-01-03T19:19:57 < zyp> I heard it was canceled 2013-01-03T19:20:48 < emeb> zyp: gonna fire up the oven? 2013-01-03T19:21:08 < zyp> emeb, how can I not? :p 2013-01-03T19:21:23 < emeb> flyback: http://www.sparkfun.com/news/1038 2013-01-03T19:21:30 < emeb> zyp: that's the spirit! 2013-01-03T19:23:35 -!- claude is now known as Claude 2013-01-03T19:27:30 < Gargantuasauce> i am still uncanucked man 2013-01-03T19:28:26 < Gargantuasauce> milano for a couple of days, then nice 2013-01-03T19:28:39 < Gargantuasauce> and THEN i will return to my full eh-hole status 2013-01-03T19:28:39 <+Steffanx> The yankeelander has spoken 2013-01-03T19:29:16 <+Steffanx> How's it in italy? 2013-01-03T19:29:34 < Gargantuasauce> well the streets were laid out by morons 2013-01-03T19:29:40 < Gargantuasauce> the train ride in was fucking beautiful though 2013-01-03T19:31:19 < Gargantuasauce> oh man there were a few i saw in the munich central station 2013-01-03T19:31:54 < Gargantuasauce> where the frequencies the motors were driven at made a full octave of a major scale 2013-01-03T19:33:36 < Gargantuasauce> yeah 2013-01-03T19:36:45 < Gargantuasauce> their smoothness fucking astounds me 2013-01-03T19:36:49 < Gargantuasauce> you can't feel the acceleration at all 2013-01-03T19:37:05 < karlp> what sort of trains are you used to? 2013-01-03T19:37:15 < Gargantuasauce> no trains >:| 2013-01-03T19:37:19 < zyp> wonder if I have a suitable tool for handling this bga chip 2013-01-03T19:37:47 < zyp> haven't got myself a vacuum tool yet 2013-01-03T19:38:59 < zyp> no, for placing it. 2013-01-03T19:39:32 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-03T19:41:05 < emeb> I was wondering how you would handle that. 2013-01-03T19:41:57 <+Steffanx> haven't got myself a vacuum tool yet <= rubber tube + lungs :P 2013-01-03T19:42:09 < zyp> got some cheap tweezers that probably would work 2013-01-03T19:42:13 < zyp> Steffanx, hmm 2013-01-03T19:42:21 < zyp> that's actually not that bad an idea 2013-01-03T19:44:20 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-03T19:47:02 < gxti> until you inhale a 0402 2013-01-03T19:47:29 < Gargantuasauce> nothing wrong with increasing one's capacitance 2013-01-03T19:47:59 < gxti> lung capacity hurr hurr 2013-01-03T19:47:59 <+Steffanx> You shouldn't try to pick and place 0402s like that ... 2013-01-03T19:48:18 <+Steffanx> Captain obvious has landed 2013-01-03T19:54:33 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-03T19:57:01 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-03T20:05:11 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 272 seconds] 2013-01-03T20:06:54 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-03T20:07:35 < zyp> nice, using a hose worked wonderfully 2013-01-03T20:07:40 < zyp> thanks for the idea 2013-01-03T20:09:15 -!- TitanMKD [~Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-03T20:14:21 <+Steffanx> Heh :D 2013-01-03T20:16:49 < emeb> hope the alignment was right. 2013-01-03T20:18:04 < zyp> yep 2013-01-03T20:24:53 < zyp> there, assembled 2013-01-03T20:34:48 < zyp> cooldown now 2013-01-03T20:35:06 < zyp> watched it through the window while it reflowed, looks like it went smoothly 2013-01-03T20:35:15 -!- Gargantuasauce [~Gargantua@host49-193-static.227-95-b.business.telecomitalia.it] has quit [Ping timeout: 248 seconds] 2013-01-03T20:40:18 * emeb holds breath 2013-01-03T20:40:35 < zyp> looks good as far as I can see 2013-01-03T20:41:31 < zyp> it's hard to inspect underneath the bga without xray, but there doesn't appear to be any problems when I look at it from the side 2013-01-03T20:41:51 < zyp> got free sight between the rows where there's no components obstructing 2013-01-03T20:42:04 < emeb> the smoke test is your only weapon 2013-01-03T20:42:14 < zyp> yep 2013-01-03T20:42:50 < emeb> got some test code ready? 2013-01-03T20:43:39 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-01-03T20:44:02 < zyp> no 2013-01-03T20:44:28 < emeb> *tsk* 2013-01-03T20:46:09 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-03T20:46:10 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-03T20:46:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-03T20:46:11 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-03T20:49:31 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-03T20:51:48 < zyp> hmm 2013-01-03T20:52:59 < zyp> board is powering up nicely, but bmp doesn't find any devices on jtag/swd scan 2013-01-03T20:53:51 < emeb> odd. should at least find a device, even if it doesn't recognize the id 2013-01-03T20:54:29 < zyp> hmm 2013-01-03T20:54:43 < zyp> ah 2013-01-03T20:54:51 < zyp> Available Targets: 2013-01-03T20:54:51 < zyp> No. Att Driver 2013-01-03T20:54:51 < zyp> 1 LPC43xx Cortex-M0 2013-01-03T20:54:51 < zyp> 2 LPC43xx Cortex-M4 2013-01-03T20:54:57 < zyp> wonder what's up 2013-01-03T20:55:02 < emeb> ooo 2013-01-03T20:55:05 < zyp> I switched from a bmp2 to my old bmp 2013-01-03T20:55:14 < emeb> baroo? 2013-01-03T20:55:30 < zyp> huh? 2013-01-03T20:56:06 < emeb> http://www.urbandictionary.com/define.php?term=baroo 2013-01-03T20:57:05 < zyp> not sure 2013-01-03T20:57:31 < zyp> they are not flashed with the exact same firmware, but I don't think there are any relevant changes there, maybe something else is wrong 2013-01-03T20:57:46 < zyp> important part is that stuff works 2013-01-03T20:57:50 < emeb> yep 2013-01-03T20:58:02 < emeb> bmp2 strangeness pushed onto stack 2013-01-03T20:58:12 < zyp> at least jtag works (also swd, finds only M4 like doc says) 2013-01-03T20:58:35 < zyp> and the leds are weakly powered by the default pullups, so they also appear to work :p 2013-01-03T21:00:01 < emeb> original bmp has some levelshift buffers that bmpm / bmp2 doesn't, right? 2013-01-03T21:00:32 < zyp> yep 2013-01-03T21:01:30 < zyp> http://bin.jvnv.net/f/Mv7rw.JPG 2013-01-03T21:02:10 < emeb> nice 2013-01-03T21:04:04 < emeb> see slight glimmer of color on non-pwr LEDs. 2013-01-03T21:04:09 < zyp> yep 2013-01-03T21:04:36 < zyp> it's more visible when the board is not lit up by the camera flash 2013-01-03T21:04:43 < emeb> ya 2013-01-03T21:05:04 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-03T21:06:16 < zyp> ok, I guess I'll then have to declare my first experience with bga a success 2013-01-03T21:06:45 -!- barthess [~barthess@77.67.193.67] has quit [Quit: Leaving.] 2013-01-03T21:06:59 < jpa-> looks very nice 2013-01-03T21:07:49 < emeb> should be interesting getting things running. esp the sdram. 2013-01-03T21:08:34 < zyp> yeah, I now know how I'll be spending my weekend :p 2013-01-03T21:09:27 < emeb> wheee! 2013-01-03T21:12:23 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 265 seconds] 2013-01-03T21:13:11 < gxti> mmm 2013-01-03T21:22:57 < zyp> hmm 2013-01-03T21:23:51 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-03T21:23:57 < zyp> I miscalculated the amount of caps I had left from the previous board I did, so I've only got enough for two boards 2013-01-03T21:24:40 < zyp> the 10uF ones on each side of the reg 2013-01-03T21:25:34 < zyp> could throw some ceramics on or just leave it open on the third board and add some later 2013-01-03T21:32:40 < emeb> wondered why you chose electrolytics for those instead of MLCCs. 2013-01-03T21:33:32 < qyx_> they are nice 2013-01-03T21:34:56 < zyp> because I had some left over 2013-01-03T21:35:10 < zyp> I thought I had more than four though. 2013-01-03T21:41:38 < gxti> 10uf ceramics are smelly pirate hookers, but i keep coming back for more 2013-01-03T21:52:34 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-03T22:10:34 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 272 seconds] 2013-01-03T22:29:15 < karlp> is there some trick to get the arm gcc launchpad toolchain on 64bit linux? do I really need to install all the 32bit libraries? 2013-01-03T22:30:38 < zyp> you can probably compile it yourself 2013-01-03T22:30:54 < karlp> probably faster and less disk space to just install 32bit libraries :) 2013-01-03T22:31:14 < zyp> second board appears to have come out perfect, not a single solder bridge (had two on sdram and one on usb socket on the first one) 2013-01-03T22:31:53 < zyp> seems to be related to keeping the stencil flat enough, given that I don't have a stencil printer 2013-01-03T22:31:55 < karlp> just needed glibc.i686, 2013-01-03T22:31:57 < karlp> much better 2013-01-03T22:32:27 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2013-01-03T22:32:30 < zyp> but still, keeping metal stencils flat is at least as easy as kapton stencils 2013-01-03T22:32:34 < zyp> so that's no argument 2013-01-03T22:33:50 < zyp> uh oh 2013-01-03T22:34:07 < zyp> ah 2013-01-03T22:34:16 < zyp> I forgot to close vusb solder bridge. 2013-01-03T22:35:53 < zyp> hmm 2013-01-03T22:35:54 < Thorn> wth is going on with the lpc bootloader. it's supposed to run if ISP pin is low on reset but in reality only runs if it's low on power up 2013-01-03T22:36:20 < zyp> gpio leds work, jtag works 2013-01-03T22:36:27 < zyp> but power led is apparently dead. 2013-01-03T22:36:41 < zyp> that's interesting 2013-01-03T22:38:20 < zyp> power led appears to be shorted 2013-01-03T22:39:59 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2013-01-03T22:42:38 < emeb> easy fix 2013-01-03T22:42:58 < zyp> uh 2013-01-03T22:45:10 < zyp> board error 2013-01-03T22:45:34 < zyp> I removed both led and resistor, trace between is still shorted to ground 2013-01-03T22:46:06 < zyp> and I don't really see where :p 2013-01-03T22:47:23 < zyp> ah, one of the corners of the led pad touches the ground 2013-01-03T22:48:26 < gxti> quality manufacturing 2013-01-03T22:50:35 <+Steffanx> dongs !!! 2013-01-03T22:53:37 < zyp> there, fixed 2013-01-03T22:53:53 < zyp> time to check the last board 2013-01-03T22:55:03 < zyp> also no bridges 2013-01-03T22:56:24 < zyp> no sign of life, guess the regulator doesn't cope with lack of caps 2013-01-03T22:57:08 < karlp> objcopy should be able to convert a .hex into a .bin right? 2013-01-03T22:57:30 < zyp> with the right flags, I guess so 2013-01-03T22:58:10 < karlp> I get "Invalid bfd target 2013-01-03T22:58:18 < karlp> " but I guess that might be 32bit libs again. 2013-01-03T23:01:19 < zyp> adding some ceramics didn't help, guess vcc is shorted somewhere 2013-01-03T23:10:07 < karlp> (-O bin isn't ok, it needs to be -O binary, user error...) 2013-01-03T23:13:29 -!- Laurenceb_ [~Laurence@host86-177-62-25.range86-177.btcentralplus.com] has joined ##stm32 2013-01-03T23:13:41 -!- Claude is now known as claude 2013-01-03T23:17:35 < Laurenceb_> has anyone used IR with stm32? 2013-01-03T23:17:40 < Laurenceb_> IR/IRDA 2013-01-03T23:18:07 < karlp> I've stuck an IR led ona uart pin and used it at 300baud, but not the IRDA built in support if that's what you meant? 2013-01-03T23:18:30 < zyp> ok, third board also functional 2013-01-03T23:19:06 < zyp> no glow in blue led, usure why, voltage levels appear to be correct 2013-01-03T23:19:43 < karlp> was this your new years zyp? http://imgur.com/gallery/B2lWi 2013-01-03T23:19:47 < zyp> maybe just part variations 2013-01-03T23:20:40 < zyp> karlp, no, it's some midsummer stuff 2013-01-03T23:20:52 < karlp> huh, should have guessed from the lighting. 2013-01-03T23:21:01 < emeb> you can tell because short sleeves 2013-01-03T23:21:12 < zyp> I believe that bonfire is a yearly event in or around Stavanger somewhere 2013-01-03T23:22:24 < zyp> see http://en.wikipedia.org/wiki/Midsummer#Norway 2013-01-03T23:22:49 -!- JH150 [~JH@brsg-d9beebfc.pool.mediaWays.net] has joined ##stm32 2013-01-03T23:22:54 < JH150> hi 2013-01-03T23:22:58 < zyp> hi 2013-01-03T23:23:10 < karlp> bleh. binary from ST flashes but doesn't work anyway. excellent. 2013-01-03T23:23:33 < JH150> i have a question regardin stm32f4 with mdk.arm 2013-01-03T23:23:38 < JH150> any1 can help? 2013-01-03T23:27:01 < gxti> only if you tell us what your question is 2013-01-03T23:27:38 < zyp> mdk is keil? 2013-01-03T23:28:09 < Thorn> is it the $7000 one? 2013-01-03T23:33:09 < JH150> I got the stm32f4 discoveryboard 2013-01-03T23:33:27 < JH150> and I'm tryin to do my first steps with stm32 2013-01-03T23:33:49 < JH150> right now i tried to set up a new project 2013-01-03T23:34:10 < JH150> i got the free verion of uvision 4 2013-01-03T23:35:07 < JH150> followed some instructions and was able to flash the "blinky" programm to my device 2013-01-03T23:35:09 < Laurenceb_> oh 2013-01-03T23:35:20 < Laurenceb_> theres IRDA support in the usarts 2013-01-03T23:35:22 < Laurenceb_> simple 2013-01-03T23:35:41 < zyp> JH150, I suggest sticking around, we do have some people using those tools frequenting the channel 2013-01-03T23:36:06 < zyp> I'm only familiar with gcc myself, so I can't help you with that 2013-01-03T23:36:38 < JH150> well actually im not pretty sure, if mdk is right for me... 2013-01-03T23:36:56 < zyp> but you prefer to work on windows? 2013-01-03T23:37:07 < JH150> right 2013-01-03T23:37:41 < JH150> atm i dont have the time to get that familliar with linux 2013-01-03T23:37:48 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:d990:4bb3:f6d1:f2d3] has joined ##stm32 2013-01-03T23:37:51 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:d990:4bb3:f6d1:f2d3] has joined ##stm32 2013-01-03T23:37:54 < zyp> yeah, I understand 2013-01-03T23:38:12 < zyp> then I'll leave it to the windows guys on the channel to help you out 2013-01-03T23:38:27 < JH150> ty 2013-01-03T23:39:56 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:d990:4bb3:f6d1:f2d3] has quit [Remote host closed the connection] 2013-01-03T23:40:46 < Thorn> there are many examples in the SPL distribution that you can simply open in MDK, compile and flash 2013-01-03T23:40:53 < Thorn> doesn't get easier than that 2013-01-03T23:41:11 < Thorn> (SPL = standard peripherals library) 2013-01-03T23:41:17 < karlp> nano specs shrunk my bin from 33k to 6.5k. 2013-01-03T23:41:38 < karlp> that was a worthwhile upgrade. 2013-01-03T23:42:13 < emeb> karlp: did it run? 2013-01-03T23:42:22 < karlp> yup, wouldn't have mentioned it oterhwise. 2013-01-03T23:42:34 < emeb> hmm. mine hardfaulted w/ nano 2013-01-03T23:42:39 < karlp> I only tried the one demo so far, 2013-01-03T23:42:46 < karlp> this is on L1, not f4... 2013-01-03T23:42:54 < emeb> right. I'm f3 2013-01-03T23:44:16 < karlp> doesn't really do a very good job of inlining functions that are only called once though, I guess you need more switches for LTO or something to get that 2013-01-03T23:44:55 < zyp> Steffanx, wtf have you guys been up to? http://www.youtube.com/watch?v=eE_IUPInEuc 2013-01-03T23:44:56 < karlp> the luajit code I was looking at the other day had a preliminary link step that cat'd all the headers and c files together into one big file to help gcc out 2013-01-03T23:45:25 < zyp> karlp, nice 2013-01-03T23:46:02 < Laurenceb_> http://uk.farnell.com/vishay/tfdu6300-tr1/irda-transceiver-fir-4mbit-tinyface/dp/2251285 2013-01-03T23:46:06 < Laurenceb_> this looks easy 2013-01-03T23:46:11 < karlp> (vs)(i)printf are still the biggest chunks of that memory 2013-01-03T23:47:59 < emeb> awesome dutch video. 2013-01-03T23:50:05 < emeb> just don't confuse netherlands with nether regions 2013-01-03T23:50:52 < Thorn> http://electronics.stackexchange.com/questions/52825/generate-a-printed-circuit-board-from-code 2013-01-03T23:51:16 < emeb> lol 2013-01-03T23:52:46 < emeb> To quote Babbage "I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question." 2013-01-03T23:57:25 < zyp> should be easy to compile blinky.c into a 555-timer based circuit :p --- Day changed Fri Jan 04 2013 2013-01-04T00:14:55 < Thorn> actually I heard about a RTL to discrete logic synthesizer. combine it with an autorouter and you'll get something that compiles code to gerbers 2013-01-04T00:15:37 < karlp> bleh, HSI divided by 4 to get 4mhz works fine, MSI at 4Mhz doesn't. 2013-01-04T00:16:24 < zyp> why not? 2013-01-04T00:16:37 < zyp> I mean, how doesn't it work? 2013-01-04T00:17:08 < karlp> garbaled characters on the uart 2013-01-04T00:17:52 < karlp> it _works_ as far as printing at the right itnervals and timing button presses 2013-01-04T00:17:54 < zyp> different tolerances? 2013-01-04T00:17:59 < karlp> meant to be the same. 2013-01-04T00:18:10 < karlp> guess they're not in the same place as each other. 2013-01-04T00:18:13 < zyp> weird 2013-01-04T00:18:25 < karlp> yeah, wasn't really expecting it. 2013-01-04T00:18:39 < zyp> doesn't L1 have muxes for clock sources to individual peripherals, could it be something weird there? 2013-01-04T00:18:43 < karlp> might take it to work and clock out, see what the two frequencies really are. 2013-01-04T00:18:50 < karlp> maybe, 2013-01-04T00:18:58 < karlp> first time back looking at it in a few weeks. 2013-01-04T00:19:34 < karlp> clock tree diagram seems to just say for periphs like uart and gpio that it's just sysclock, wherever that may come from 2013-01-04T00:20:29 < zyp> I thought seperate source was so you could put cpu in deep sleep, and still have active uart 2013-01-04T00:21:21 < karlp> I haven't gotten to those stages yet, I'm still in the ~2mA range, not exactly low power yet. 2013-01-04T00:21:51 < zyp> that's not really relevant, if the default settings for those muxes are weird 2013-01-04T00:22:28 < zyp> but I'm probably just grasping at thin air here 2013-01-04T00:25:28 < karlp> no, it's mroe likely that I'm missing something stupid and obvious again ;) 2013-01-04T00:35:27 < karlp> right, there we go. 2013-01-04T00:35:35 < karlp> need to actually _set_ the range. 2013-01-04T00:35:42 < karlp> see, mostly just me being stupid :) 2013-01-04T00:37:49 < zyp> hah 2013-01-04T00:39:23 <+Steffanx> Yeah, I like that video zyp 2013-01-04T00:39:48 < zyp> p 2013-01-04T00:40:08 <+Steffanx> I've seen it already though 2013-01-04T00:40:45 < gxti> in other words 2013-01-04T00:40:46 < gxti> old 2013-01-04T00:41:27 <+Steffanx> Sort of. It's from last year 2013-01-04T00:46:05 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:d990:4bb3:f6d1:f2d3] has quit [Remote host closed the connection] 2013-01-04T00:46:06 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has joined ##stm32 2013-01-04T00:46:18 < emeb> Steffanx: which part of NL are you in? Holland, or the other? 2013-01-04T00:46:29 <+Steffanx> the other 2013-01-04T00:47:54 <+Steffanx> Meh, i hate it when products in webshops are US only :( 2013-01-04T00:48:01 < emeb> bastards 2013-01-04T00:48:23 < karlp> mcmaster carr now only ships overseas if they had a prior business relationship with you. 2013-01-04T00:48:31 < karlp> new customers are bad! 2013-01-04T00:48:57 < ds2> paperwork for overseas is painful 2013-01-04T00:49:08 <+Steffanx> Yeah, thinks like that suck ass 2013-01-04T00:49:13 < ds2> it is often not worth the revenue 2013-01-04T00:49:49 <+Steffanx> For me it is :) 2013-01-04T00:50:06 < karlp> I understand the idea, but it doesn't me I like it or agree with it. 2013-01-04T00:50:18 < karlp> there's not even an option to be able to pay more 2013-01-04T00:50:25 < ds2> Steffanx: where are you? 2013-01-04T00:50:30 <+Steffanx> Dutchland 2013-01-04T00:50:32 < karlp> sometimes I just want to pay more and actually be able to _get_ it. 2013-01-04T00:50:34 < ds2> karlp: what country? 2013-01-04T00:50:39 < karlp> iceland. 2013-01-04T00:50:50 < ds2> isn't there a equiv in EU? 2013-01-04T00:50:56 < karlp> maybe. 2013-01-04T00:51:07 < ds2> I personally wish they would simplify paperwork for friendly countries 2013-01-04T00:51:13 < karlp> hah, 2013-01-04T00:51:18 <+Steffanx> For this shop, yes. Unfortunately they don't sell the product for a similar price 2013-01-04T00:51:18 < ds2> like most parts of the EU, CA, AU 2013-01-04T00:51:18 < karlp> might cut jobs 2013-01-04T00:51:42 < ds2> doesn't selling to the EU require VAT collection and remission? 2013-01-04T00:51:50 < karlp> no. 2013-01-04T00:51:51 <+Steffanx> It's like $99 vs 300-400 euro :( 2013-01-04T00:51:59 < karlp> you pay the vat in your home country 2013-01-04T00:52:02 < karlp> if that applies 2013-01-04T00:52:14 < ds2> so the buyer writes a check to customs before tehy receive it? 2013-01-04T00:52:19 < karlp> yup 2013-01-04T00:52:30 < ds2> OIC 2013-01-04T00:52:30 < karlp> well, iceland's not in the eu anyway 2013-01-04T00:52:36 <+Steffanx> I sometimes have to pay the guy who delivers it 2013-01-04T00:52:44 <+Steffanx> Happened only once though 2013-01-04T00:52:53 < ds2> karlp: thought you guys were affiliated...kind of like how UK is 2013-01-04T00:53:01 < karlp> the UK _is_ in the eu 2013-01-04T00:53:14 < ds2> not completely...they don't use euros 2013-01-04T00:53:21 < zyp> that's not relevant. 2013-01-04T00:53:25 < ds2> ? 2013-01-04T00:53:27 < karlp> precisely 2013-01-04T00:53:38 < ds2> someone explain that to a dumb US person 2013-01-04T00:53:41 < karlp> vat and stuff is eu, not euro coinage based. 2013-01-04T00:53:44 < zyp> use of euros is not mandatory for EU member countries 2013-01-04T00:53:52 < ds2> oh 2013-01-04T00:53:52 < zyp> UK is an EU member country 2013-01-04T00:54:08 < zyp> norway is not, so I'm not in the EU 2013-01-04T00:54:35 <+Steffanx> VAT is EU? Afaik many countries have different VAT percentages 2013-01-04T00:54:55 <+Steffanx> Here we went from 19% to 21% a month or so agao :( 2013-01-04T00:55:00 < zyp> so do US states 2013-01-04T01:00:59 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:d990:4bb3:f6d1:f2d3] has joined ##stm32 2013-01-04T01:02:36 < Thorn> http://www.youtube.com/watch?v=CmYDgncMhXw 2013-01-04T01:06:03 <+Steffanx> Thorn is infected. Save yourself while it's still possible 2013-01-04T01:06:29 -!- JH150 [~JH@brsg-d9beebfc.pool.mediaWays.net] has quit [Quit: irc2go] 2013-01-04T01:06:35 <+Steffanx> Infected by trollenceb. It makes you post links to random videos out of NOTHING 2013-01-04T01:11:29 < emeb> here's a random video: http://www.youtube.com/watch?feature=player_embedded&v=EbxJKCzUQ9c 2013-01-04T01:11:37 < emeb> try not to laugh. 2013-01-04T01:11:43 < emeb> or cringe 2013-01-04T01:12:53 <+Steffanx> Too bad it looks too much like an arduino 2013-01-04T01:12:56 < Thorn> cape? 2013-01-04T01:12:59 < emeb> yep 2013-01-04T01:13:04 < emeb> my entry in the cape contest 2013-01-04T01:13:12 * emeb isn't holding his breath 2013-01-04T01:13:36 < Thorn> what's that, yet another word for 'shield'? 2013-01-04T01:13:41 < emeb> pretty much. 2013-01-04T01:13:52 <+Steffanx> Why that little 'action figure' emeb ? 2013-01-04T01:14:25 < emeb> because the guidelines for the contest said to "be creative" and that's the best I could come up with. :P 2013-01-04T01:14:54 <+Steffanx> lol 2013-01-04T01:16:43 < emeb> admittedly I waited until an hour before the submission deadline, so I was pressed for time. 2013-01-04T01:17:35 <+Steffanx> So there is no hope for me. Procastinaton doesn't disappear when you get older :( 2013-01-04T01:17:40 <+Steffanx> *tion 2013-01-04T01:17:53 < emeb> ymmv, but no. 2013-01-04T01:18:42 -!- TitanMKD [~Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-04T01:19:47 < zyp> emeb, star trek fan? 2013-01-04T01:20:01 < emeb> zyp: sure, why not? 2013-01-04T01:20:23 < emeb> not what you'd call "rabid" tho 2013-01-04T01:20:42 < zyp> :) 2013-01-04T01:20:50 < zyp> I'm just thinking about the figure 2013-01-04T01:21:01 < emeb> so I inferred. 2013-01-04T01:21:14 <+Steffanx> That's a sw figure? 2013-01-04T01:21:25 < zyp> borg picard, if I'm not mistaken 2013-01-04T01:21:33 < emeb> Star Trek - "Locutus of Borg", Picard's alter-ego. 2013-01-04T01:21:52 <+Steffanx> oh star trek :P 2013-01-04T01:21:56 <+Steffanx> nevermind i read star wars :P 2013-01-04T01:22:19 <+Steffanx> I've never really followed start trek 2013-01-04T01:22:53 < emeb> It was pretty much the only SF on broadcast TV here for a while, so by default... 2013-01-04T01:23:03 < zyp> I watched a bit on tv when I was a kid 2013-01-04T01:23:19 <+Steffanx> me too, but that was ages agao 2013-01-04T01:23:20 <+Steffanx> ago 2013-01-04T01:24:15 < zyp> and then I downloaded some seasons of TNG a few years ago 2013-01-04T01:24:36 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 248 seconds] 2013-01-04T01:25:14 < emeb> for reference -> http://www.youtube.com/watch?v=ItHcsIHshhs 2013-01-04T01:25:26 < emeb> best line: "resistance is futile" 2013-01-04T01:25:32 < emeb> capacitance on the other hand... 2013-01-04T01:26:06 <+Steffanx> Nerd joke :P 2013-01-04T01:26:12 < emeb> best kind. 2013-01-04T01:33:54 < emeb> Next time I need a figurine I'll use "The Tick". Or maybe Bunsen Honeydew. 2013-01-04T01:34:20 <+Steffanx> or something hand made :) 2013-01-04T01:34:43 <+Steffanx> "be creative" 2013-01-04T01:34:54 < emeb> you're making my head hurt already. 2013-01-04T01:35:50 <+Steffanx> You mean hands, not head 2013-01-04T01:36:04 < emeb> maybe both. 2013-01-04T01:36:25 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-04T01:52:12 < dongs> zyp: well, it doesnt actually work in that config then. 2013-01-04T01:52:17 < dongs> is this how it came, or did you solder NE2? 2013-01-04T01:52:40 < zyp> I haven't changed anything 2013-01-04T01:52:52 < dongs> mine didnt come wiht 0R on NE2 2013-01-04T01:53:03 < dongs> had to solder it myself. 2013-01-04T01:53:18 < dongs> and hten noticed it was bridged to vcc so pulled that and did a jumper wire. 2013-01-04T01:53:38 < dongs> on mine, WP is also bridged 2013-01-04T01:53:43 < zyp> maybe some manufacturing fuckup on yours then? 2013-01-04T01:53:53 < dongs> sounds like it 2013-01-04T01:54:13 < zyp> by the way, do you have the elf you flashed to the lpc board? haven't had time to write anything myself yet 2013-01-04T01:54:40 < dongs> sure lets see 2013-01-04T01:55:38 < zyp> no etest on these boards? I got one with a short 2013-01-04T01:55:44 < dongs> http://timecop.mine.nu/Blinky_FlashA.axf 2013-01-04T01:55:49 < dongs> no its 100% tested. what was shorted? 2013-01-04T01:55:55 < dongs> pics or it didnt happene 2013-01-04T01:56:04 < zyp> trace between power led and resistor 2013-01-04T01:56:25 < zyp> led pad touched plane in one of the corners 2013-01-04T01:56:51 < dongs> huh, impossible. i'll look at o ther boards here and check 2013-01-04T01:57:00 < zyp> the other two boards were fine 2013-01-04T01:57:29 < dongs> hmppf 2013-01-04T01:57:57 < dongs> ill get freeboards out of it then 2013-01-04T01:58:03 < dongs> all this shit is supposed to be 100% tested 2013-01-04T01:58:15 < dongs> pics later when you get a chance. 2013-01-04T01:58:24 < dongs> or was that the one you pasted+assembled? ":) 2013-01-04T01:58:52 < zyp> I didn't discover it before I noticed power led didn't light up 2013-01-04T01:58:58 < Simon--> blinky board world domination? 2013-01-04T01:59:29 < zyp> so I unsoldered both led and resistor, and trace was still shorted 2013-01-04T01:59:36 <+Steffanx> Yeah, a blinky board is everyone needs 2013-01-04T01:59:43 <+Steffanx> *is what everyone needs 2013-01-04T02:00:18 < zyp> didn't even see the short at first 2013-01-04T02:00:30 <+Steffanx> Blame dongs for the crap board :P 2013-01-04T02:00:33 < zyp> but then I fixed it with a knife 2013-01-04T02:00:46 <+Steffanx> He blames you for the design :) 2013-01-04T02:01:43 < zyp> I'd love to take a pic, but I don't think I'll get anything decent with the lenses I have, it's way too small 2013-01-04T02:02:34 <+Steffanx> Time for a super fancy usb microscope 2013-01-04T02:03:38 < zyp> or just a decent macro lens 2013-01-04T02:04:30 < zyp> I got a friend with one that I've borrowed a bit, it's nice 2013-01-04T02:04:36 < ds2> usb microscopes are cheaper then decent lens 2013-01-04T02:04:50 <+Steffanx> Probably very true 2013-01-04T02:04:51 < zyp> yes, but decent lenses result in better pics 2013-01-04T02:05:01 <+Steffanx> And you need super results? 2013-01-04T02:05:15 < zyp> of course 2013-01-04T02:05:16 <+Steffanx> For the one time/year you use it :) 2013-01-04T02:05:46 < zyp> http://bin.jvnv.net/f/bIChx.jpg <- I shot this once with the macro lens I borrowed 2013-01-04T02:06:03 <+Steffanx> nice but .. 2013-01-04T02:06:29 < ds2> looks raw 2013-01-04T02:06:35 < ds2> needs baking? 2013-01-04T02:06:41 < zyp> yeah 2013-01-04T02:06:58 < zyp> I think it was my first attempt at stenciling/reflow 2013-01-04T02:07:07 <+Steffanx> Actually a solder iron works well with solder paste too :) 2013-01-04T02:07:42 < zyp> I tried once, didn't like it 2013-01-04T02:08:07 < ds2> hot air is nice 2013-01-04T02:08:24 <+Steffanx> "so is an oven" 2013-01-04T02:08:39 < zyp> hmm 2013-01-04T02:08:51 < ds2> harder to restrict to an area w/oven 2013-01-04T02:09:01 < zyp> looks like bmp is missing flashing routines for lpc4300 2013-01-04T02:09:21 < zyp> guess I'll have to write them myself then 2013-01-04T02:09:48 < emeb> still curious why bmp2 didn't see it 2013-01-04T02:10:33 <+Steffanx> bmp2 = yours emeb ? 2013-01-04T02:10:46 < zyp> that's what he dubbet it, yes 2013-01-04T02:10:50 < zyp> dubbed 2013-01-04T02:10:53 < emeb> Steffanx: yep 2013-01-04T02:11:23 < zyp> emeb, I'm not sure I like the pfet stuff on it 2013-01-04T02:11:29 < Laurenceb_> your paste looks a bit too liquid 2013-01-04T02:11:32 < zyp> it's supposed to provide target power? 2013-01-04T02:11:40 < zyp> optionally 2013-01-04T02:11:42 < zyp> ? 2013-01-04T02:11:43 < emeb> zyp: that pfet thing bugs me. 2013-01-04T02:12:03 < emeb> it sometimes provides power, sometimes not. I haven't figured out what controls it. 2013-01-04T02:12:03 < zyp> I don't like that it leaks backwards when the bmp is not powered 2013-01-04T02:12:09 < emeb> right. 2013-01-04T02:12:15 < zyp> and yes, I've also seen it sometimes providing power 2013-01-04T02:12:23 < zyp> and I don't really like that either 2013-01-04T02:12:30 < emeb> yeah. 2013-01-04T02:12:37 < zyp> so I'm a bit tempted to just remove it 2013-01-04T02:12:40 < emeb> keeps you from doing a true reset. 2013-01-04T02:12:46 < dongs> that paste in macro pic looks dry as shit 2013-01-04T02:12:55 < emeb> Or find in the code what controls it and just disable it entirely. 2013-01-04T02:13:05 < zyp> dongs, it was, horrible shit 2013-01-04T02:13:10 < Laurenceb_> dongs: it looks too fluid to me? 2013-01-04T02:13:22 < Laurenceb_> shouldnt flow like that 2013-01-04T02:13:34 < zyp> and it was some expensive stuff too that we got for the uni project 2013-01-04T02:14:02 < Laurenceb_> ive used syringe stuff before when i was being cheap 2013-01-04T02:14:14 < dongs> laem 2013-01-04T02:14:18 < Laurenceb_> but let it dry for a few hours before removing stencil 2013-01-04T02:14:19 < zyp> the cheap dealextreme paste I'm using at home is much better than that shit :p 2013-01-04T02:14:23 < Laurenceb_> heh 2013-01-04T02:14:50 * Laurenceb_ is adding IRDA support to his logger board 2013-01-04T02:14:56 < Laurenceb_> looks fairly easy 2013-01-04T02:15:38 < Laurenceb_> just stick one of the modules on and enable the irda mode XD 2013-01-04T02:15:43 < Laurenceb_> its only a few ma 2013-01-04T02:16:19 < emeb> rx or tx? 2013-01-04T02:16:25 < Laurenceb_> both 2013-01-04T02:16:28 * Laurenceb_ zzz 2013-01-04T02:16:40 < emeb> narcolepsy? 2013-01-04T02:17:10 < Laurenceb_> lulwut 2013-01-04T02:17:21 < Laurenceb_> i need to link multiple loggers ot sync the data 2013-01-04T02:17:27 < emeb> suddenly you sent zzz 2013-01-04T02:18:09 < dongs> < Laurenceb_> but let it dry for a few hours before removing stencil 2013-01-04T02:18:11 < dongs> waaat 2013-01-04T02:18:12 < ds2> they have line of sight to each other? 2013-01-04T02:18:27 < dongs> zyp, how was stencil 2013-01-04T02:18:53 < zyp> how? metal stencils are great 2013-01-04T02:19:03 < dongs> :D 2013-01-04T02:19:10 < ds2> dongs: how fine of a BGA have you baked urself? 2013-01-04T02:19:16 < zyp> but I see your stencil printer argument 2013-01-04T02:19:51 < zyp> though, metal stencil is not harder to hold down by hand than kapton stencil, so it's still better 2013-01-04T02:19:55 < dongs> ds2: just did some emmc shit, i think that was 0.5mm pitch last week or so. but usually 0.8, 0.6 type stuff 2013-01-04T02:20:13 < ds2> dongs: do you see a lot of problems with the 0.8 stuff? 2013-01-04T02:20:18 < dongs> no 2013-01-04T02:20:28 < dongs> actually never had fail with any bga stuff 2013-01-04T02:20:40 < dongs> and i usually do xray them to check 2013-01-04T02:20:40 < ds2> do you xray? 2013-01-04T02:20:42 < dongs> yea 2013-01-04T02:20:51 < ds2> and this is with that cheap china oven? 2013-01-04T02:21:03 < dongs> um, with not-so-cheap china oven 2013-01-04T02:21:06 < dongs> but yeah still china 2013-01-04T02:21:18 < ds2> Hmmm. 2013-01-04T02:21:28 < zyp> probably one with more even heating 2013-01-04T02:21:30 < ds2> thinking of doing some PSRAM breakout boards using a toaster oven 2013-01-04T02:21:44 < zyp> not that I've experienced uneven heating to be a problem here 2013-01-04T02:21:46 < ds2> not completely sure of 0.75mm BGAs 2013-01-04T02:21:55 -!- Laurenceb_ [~Laurence@host86-177-62-25.range86-177.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-04T02:21:56 < dongs> http://i.imgur.com/EWoBb.jpg http://i.imgur.com/gVewS.jpg 2013-01-04T02:21:57 < dongs> ^ emmc 2013-01-04T02:22:38 < ds2> Hmmm 2013-01-04T02:22:44 < ds2> zyp: do you have a fan in ur setup? 2013-01-04T02:22:49 < zyp> dongs, nice gnd routing 2013-01-04T02:22:53 < zyp> ds2, just for cooldown 2013-01-04T02:23:14 < dongs> zyp, not my shit. actually i think it was eagle 2013-01-04T02:23:23 <+Steffanx> help 2013-01-04T02:23:31 <+Steffanx> @ EAGLE :P 2013-01-04T02:23:40 < zyp> looks hand-done 2013-01-04T02:23:53 < zyp> and «nice» as in funny-looking :p 2013-01-04T02:25:04 < dongs> and i have *no* idea how they fucked up that shit on JP1 2013-01-04T02:25:16 < dongs> where one of holes ended up npth 2013-01-04T02:25:22 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-04T02:25:24 < zyp> lots and lots of unused pads on that chip 2013-01-04T02:25:26 < dongs> i mean its like that in gerbers 2013-01-04T02:25:34 < zyp> heh 2013-01-04T02:25:37 < dongs> yeah its emmc so its like 10pins or something of actual signals 2013-01-04T02:26:01 < zyp> sdio except with 8 data bits 2013-01-04T02:27:18 < ds2> there is a lot of grounds on those sucker 2013-01-04T02:40:22 < emeb> there's a lot of ruins... in meso... potamia. 2013-01-04T02:40:35 -!- |sark [~|sark@37.247.88.155] has quit [Read error: Connection timed out] 2013-01-04T02:41:33 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-04T02:45:04 <+Steffanx> It's there probably just as quiet as this channel atm 2013-01-04T02:47:06 < ds2> I'd just call it high SNR :D 2013-01-04T02:47:36 < emeb> don't know about that - I generate a fair amount of noise. 2013-01-04T02:47:48 <+Steffanx> Hmm, you can solve that by increasing your blaxter ratio 2013-01-04T02:47:52 <+Steffanx> *can't 2013-01-04T02:48:59 < dongs> blaxter to noise ratio 2013-01-04T02:49:28 <+Steffanx> just blaxter ratio is enough 2013-01-04T02:53:39 -!- BjoernC [~BjoernC@dyndsl-178-142-057-226.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-04T02:54:04 < dongs> blogger ratio then 2013-01-04T02:54:40 < emeb> what's bloggin dongs? 2013-01-04T02:55:09 < dongs> not much 2013-01-04T02:55:13 <+Steffanx> tha sky 2013-01-04T02:55:14 <+Steffanx> oh.. no 2013-01-04T02:56:29 < emeb> still on rev 14.0 of AN2606. *shocked* 2013-01-04T02:56:48 * emeb is the eternal optimist 2013-01-04T02:56:52 < dongs> haha 2013-01-04T02:57:15 -!- jef79m_lurking is now known as jef79m 2013-01-04T02:59:46 <+Steffanx> You need moar patience emeb 2013-01-04T03:00:12 < ds2> maybe the rom on the 37x are foobared 2013-01-04T03:00:49 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 260 seconds] 2013-01-04T03:01:44 < emeb> ds2: could be 2013-01-04T03:01:56 < emeb> firing up gdb to see if the rom is visible 2013-01-04T03:02:05 < dongs> its not 2013-01-04T03:02:07 < dongs> of coruse 2013-01-04T03:02:18 < emeb> you checked? 2013-01-04T03:02:37 < dongs> no but thats how it works generally 2013-01-04T03:04:20 < zyp> let's see 2013-01-04T03:04:44 * emeb isn't a gdb hotshot & doesn't know how to disassemble/view raw memory. 2013-01-04T03:05:08 < zyp> it's readable to me 2013-01-04T03:05:21 < ds2> x /i address 2013-01-04T03:05:37 < ds2> i.e. x/i 0x00010000 will dump starting at 64K 2013-01-04T03:06:00 < zyp> http://paste.jvnv.net/view/d45Y8 <- entire bootloader section 2013-01-04T03:06:23 < dongs> no shit... 2013-01-04T03:06:28 < zyp> x/i only does arm for me, not thumb, so it's a bit useless 2013-01-04T03:06:56 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-04T03:07:21 < dongs> zyp, can you redump as bytes 2013-01-04T03:07:36 < zyp> sure 2013-01-04T03:07:37 < dongs> though I guess i could too just too lazy to hook shit up 2013-01-04T03:08:00 < emeb> looks pretty short to me - surprised if there's enough code there for USB. 2013-01-04T03:08:03 < zyp> http://paste.jvnv.net/view/1hFF9 2013-01-04T03:08:18 < dongs> k lemme ida that shit up 2013-01-04T03:09:01 < zyp> emeb, it's around 4.4k 2013-01-04T03:09:13 < emeb> maybe enough 2013-01-04T03:09:40 < zyp> let me check F303 as well 2013-01-04T03:10:53 < zyp> much larger 2013-01-04T03:10:58 < emeb> aha! 2013-01-04T03:11:23 < zyp> http://paste.jvnv.net/view/Wi4nR 2013-01-04T03:12:22 < emeb> looks like it goes all the way to the end vs 373 2013-01-04T03:12:28 < zyp> yep 2013-01-04T03:12:33 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-04T03:12:58 < emeb> wonder if the 373 ran out of die area for the system memory & they chopped the bootloader down to size 2013-01-04T03:14:03 < zyp> RM0316 doesn't say there is a difference wrt. to that 2013-01-04T03:14:13 < zyp> both are supposed to have 8k of «system memory» 2013-01-04T03:14:27 < emeb> _supposed_ to. :P 2013-01-04T03:14:32 <+Steffanx> lol 2013-01-04T03:15:04 < zyp> well, there are option bytes located immediately after it, so it can't be larger 2013-01-04T03:15:26 < dongs> whats ram size on 373 2013-01-04T03:15:31 < zyp> and judging by contents it can't really be smaller either 2013-01-04T03:15:35 < emeb> 32kB 2013-01-04T03:15:46 < dongs> so 0x8000 2013-01-04T03:15:51 < zyp> I found that a bit amusing 2013-01-04T03:16:17 < zyp> one sets to 0x1258 and other sets to 0x0c30 2013-01-04T03:16:26 < zyp> initial stack vector, I mean 2013-01-04T03:16:32 < dongs> zyp, what was the entry point though 2013-01-04T03:16:39 < dongs> its not at 1fffd800 isnt it 2013-01-04T03:16:57 < zyp> 0x1fffe865 2013-01-04T03:17:13 < emeb> ida likes to know where to start? 2013-01-04T03:17:24 < zyp> vector table is at 1fffd800, reset vector is second entry, after initial stack 2013-01-04T03:18:03 < zyp> they stripped down the vector table in F37x 2013-01-04T03:18:11 < zyp> only got stack, reset, NMI and hardfault 2013-01-04T03:18:39 < dongs> you mean 864 2013-01-04T03:18:41 < zyp> F303 bootloader got like 96 vectors initialized 2013-01-04T03:18:54 < zyp> ah, yeah 2013-01-04T03:19:01 < zyp> lowest bit means thumb 2013-01-04T03:19:09 < zyp> so it says 865 in table 2013-01-04T03:19:54 < dongs> d800 = vector table? 2013-01-04T03:19:58 < ds2> x /i $addr+1 should do thumb 2013-01-04T03:20:01 < zyp> yes 2013-01-04T03:20:02 < dongs> ah yea it is 2013-01-04T03:20:13 < zyp> dongs, hmm, I'll try 2013-01-04T03:20:15 < zyp> eh 2013-01-04T03:20:16 < zyp> ds2* 2013-01-04T03:21:10 < zyp> ds2, no, doesn't work 2013-01-04T03:21:19 < zyp> I think I tried it last time as well, still no success 2013-01-04T03:21:34 < ds2> tried adding it instead of an expression? 2013-01-04T03:21:47 < ds2> it works on the Cortex-A stuff 2013-01-04T03:22:24 < zyp> yes, I added it myself 2013-01-04T03:22:55 < zyp> I also tried setting some force thumb shit last time I was testing this, but it was broken then too :p 2013-01-04T03:23:05 < ds2> hmmm 2013-01-04T03:23:08 < ds2> what version of gdb? 2013-01-04T03:23:30 < zyp> I just tested with both 7.4.1 and 7.3.1 2013-01-04T03:23:51 < ds2> didn't u also have all sorts of problem with stlink? 2013-01-04T03:24:05 < zyp> I'm not using stlink 2013-01-04T03:24:51 < zyp> also, I had pretty few problems with stlink when I was using it, so I'm not sure what you refer to 2013-01-04T03:25:06 < ds2> the second part 2013-01-04T03:25:14 < ds2> wonder if they are connected 2013-01-04T03:25:24 < zyp> how? 2013-01-04T03:25:35 < ds2> I don't have any targetboards handy to test it myself 2013-01-04T03:25:45 < ds2> broken toolchain somewhere 2013-01-04T03:26:29 < zyp> only problems I had with stlink seemed to be related to problems in texane middleware and limitations of stlink firmware 2013-01-04T03:27:11 < ds2> it is possible some library is loading the wrong version somewhere 2013-01-04T03:27:59 < zyp> if you use libraries :p 2013-01-04T03:28:10 < zyp> oh well 2013-01-04T03:28:20 < zyp> I can't sit here arguing this all night, I need to sleep 2013-01-04T03:28:22 < ds2> I mean .so's used by the toolchain 2013-01-04T03:28:23 < ds2> hehe 2013-01-04T03:28:28 < zyp> have a good night 2013-01-04T03:30:22 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:d990:4bb3:f6d1:f2d3] has quit [Remote host closed the connection] 2013-01-04T03:30:33 < LeelooMinai> Hmm... can hard fault status be somehow found after hardfault in M0? 2013-01-04T03:30:57 < LeelooMinai> I read that it can be on M3/M3, but cannot find equivalent register in M0 manual 2013-01-04T03:33:07 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 244 seconds] 2013-01-04T03:38:42 -!- DaKu is now known as daku 2013-01-04T03:50:50 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2013-01-04T03:56:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-04T04:22:35 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Remote host closed the connection] 2013-01-04T04:24:39 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-04T04:25:23 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-04T04:27:51 < dongs> hmm still surprised bootrom is readable 2013-01-04T04:32:41 < dongs> dillweed 2013-01-04T04:34:18 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-04T04:37:39 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 260 seconds] 2013-01-04T04:40:52 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 248 seconds] 2013-01-04T04:41:43 -!- Count_Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-04T04:44:40 -!- Netsplit *.net <-> *.split quits: daku, Niedar 2013-01-04T04:45:37 -!- Netsplit over, joins: daku 2013-01-04T05:30:59 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-04T05:54:15 -!- _BJFreeman [~bjfree@66.sub-75-196-11.myvzw.com] has quit [] 2013-01-04T06:11:59 < dongs> zyp, plz make an effort to find a camera that can take a pic of the short. just checked all the remaining boasrds and none of those are shorted. 2013-01-04T06:12:08 < dongs> i got like 16 or 17 heer 2013-01-04T06:14:57 < emeb_mac> dongs: any luck disassembling the 373 rom? 2013-01-04T06:15:36 < dongs> http://tech.slashdot.org/comments.pl?sid=3356485&cid=42470565 lol, just fucing lol 2013-01-04T06:15:44 < dongs> emeb_mac: oh, yeah, its loaded in ida. lemme get back to it 2013-01-04T06:18:06 < dongs> sub_1FFFE270() = setup 2013-01-04T06:18:11 < dongs> 1st thing: __disable_irq 2013-01-04T06:18:45 < dongs> hurm why the fuck arent my peripheral names getting naemd 2013-01-04T06:19:22 < dongs> oh cuz i dont have it there 2013-01-04T06:19:42 < dongs> ah 2013-01-04T06:19:43 < dongs> IWDG 2013-01-04T06:19:45 < dongs> yeah i didnt map that hsit 2013-01-04T06:20:05 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-04T06:20:23 < emeb_mac> hilarious /. comment 2013-01-04T06:20:38 < dongs> yeah man 2013-01-04T06:20:57 < dongs> hmm 2013-01-04T06:21:03 < dongs> it does something to 4002:1030 2013-01-04T06:21:09 < dongs> thats above flash registers 2013-01-04T06:21:11 < dongs> and not in RM 2013-01-04T06:21:18 < emeb_mac> cool 2013-01-04T06:21:25 < dongs> unlocks flash... 2013-01-04T06:21:50 < dongs> hmm did gpio move on F3 vs F1? 2013-01-04T06:21:52 < dongs> addresses 2013-01-04T06:22:04 < dongs> hm it d id 2013-01-04T06:22:05 < dongs> cocks 2013-01-04T06:22:17 < emeb_mac> ah - your maps are wrong? 2013-01-04T06:22:23 < dongs> yeah my maps are for F1 2013-01-04T06:22:28 < dongs> fairly detailed 2013-01-04T06:22:34 < dongs> but I figured I could wing it on F3 2013-01-04T06:22:34 < emeb_mac> by hand? 2013-01-04T06:22:36 < dongs> looks like no :) 2013-01-04T06:22:41 < emeb_mac> bastards 2013-01-04T06:22:44 < dongs> yeah, I imported a bunch of structs etc 2013-01-04T06:23:15 < emeb_mac> a lot of stuff changed in F3 IIRC 2013-01-04T06:23:22 < dongs> right 2013-01-04T06:23:26 < dongs> totally diff gpio structs 2013-01-04T06:23:30 < emeb_mac> yep 2013-01-04T06:23:34 < dongs> oh well, at least its obvious it enables GPIOA..sometehing 2013-01-04T06:24:07 < dongs> http://bcas.tv/paste/results/vUEPRD76.html 2013-01-04T06:24:11 < dongs> \i think thats bootloader main loop 2013-01-04T06:24:11 < emeb_mac> big question is if it every goes near USB 2013-01-04T06:24:19 < dongs> no 2013-01-04T06:24:56 < emeb_mac> big surprise. 2013-01-04T06:26:09 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-04T06:26:58 < dongs> well ok not main loop 2013-01-04T06:27:03 < dongs> but I think thats the timeout/checkin for shit loop 2013-01-04T06:27:11 < dongs> cause it sets up pins and checks if any are high or whatever 2013-01-04T06:27:25 < emeb_mac> ya 2013-01-04T06:27:36 < dongs> ya main loop is after that 2013-01-04T06:27:42 < dongs> that one returns 1/0 on detection of something bootloadable 2013-01-04T06:27:55 < dongs> i think this shit might ONLY have uart bootloader 2013-01-04T06:28:05 < emeb_mac> seems like it 2013-01-04T06:28:58 < emeb_mac> wonder why. 2013-01-04T06:32:04 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-04T06:36:45 < dongs> heh entire time it keeps frobbing wwdg 2013-01-04T06:37:19 < emeb_mac> odd 2013-01-04T06:38:08 < dongs> well, it probably reboots or something if shit gets stoned half way 2013-01-04T06:38:21 < dongs> SCB.AIRCR = 0x5FA0004u; 2013-01-04T06:38:33 < dongs> i know that shit can reboot 2013-01-04T06:38:37 < dongs> but cant be arsed to map out teh bits 2013-01-04T06:39:13 < dongs> http://bcas.tv/paste/results/cKZF8S94.html 2013-01-04T06:39:27 < dongs> flash status reading w/timeout 2013-01-04T06:39:46 < emeb_mac> guess that makes sense. 2013-01-04T06:40:49 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-04T06:40:55 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-04T06:49:19 < emeb_mac> Wonder what they'd do if I posted on the STM32 forum that we've looked at the ROM and it doesn't use USB. :) 2013-01-04T06:51:41 < zippe> dongs: map out the bits? 2013-01-04T06:52:33 < dongs> you know wahts funnier 2013-01-04T06:52:36 < dongs> emeb_mac: from 373 RM 2013-01-04T06:52:37 < dongs> Embedded bootloader 2013-01-04T06:52:37 < dongs> The embedded bootloader is located in the System memory, programmed by ST during 2013-01-04T06:52:37 < dongs> production. It is used to reprogram the Flash memory through USART1 or USART2 or USB 2013-01-04T06:52:40 < dongs> (DFU: device firmware upgrade) 2013-01-04T06:52:51 < dongs> RM0313 2013-01-04T06:53:25 < emeb_mac> Yeah - says it right there in the RM. But it's all BS. 2013-01-04T06:53:41 < dongs> zippe: lazy. i know it either reboots or locks up 2013-01-04T06:53:46 < dongs> since its usually the last thing in failure case 2013-01-04T06:54:08 < emeb_mac> "never test for an error condition you don't know how to handle" 2013-01-04T06:54:17 < zippe> dongs: the high 16 are the 'safety' code, then there are two low bits; one resets the CPU, one resets the SoC 2013-01-04T06:54:22 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2013-01-04T06:54:30 < dongs> ah. 2013-01-04T06:54:42 < zippe> It's in the architecture manual 2013-01-04T06:57:04 < dongs> ah, found 303 bootloader touching usb (4000:5c40) 2013-01-04T06:57:42 < emeb_mac> which we know it does. 2013-01-04T06:58:32 < dongs> ROM:1FFFE84C 79 0B 31 00+byte_1FFFE84C DCB 0x79, 0xB, 0x31, 0, 1, 2, 0x11, 0x21, 0x31, 0x44, 0x63 2013-01-04T06:58:35 < dongs> ROM:1FFFE84C 01 02 11 21+ ; DATA XREF: sub_1FFFE4C0+2o 2013-01-04T06:58:38 < dongs> ROM:1FFFE84C 31 44 63 73+ DCB 0x73, 0x82, 0x92, 0x79, 0 2013-01-04T06:58:40 < dongs> is this the bootloader ID shit? 2013-01-04T07:00:25 < emeb_mac> dunno. doesn't look familiar. 2013-01-04T07:00:44 < dongs> k it definitely doesnt touch usb address at all in 373 bootloader. 2013-01-04T07:00:47 < dongs> so yeah. 2013-01-04T07:00:51 < dongs> 303 does, 373 doesnt. 2013-01-04T07:00:55 < dongs> no usbee boot, sorry! 2013-01-04T07:01:09 < emeb_mac> REFUND! 2013-01-04T07:01:19 < dongs> that means my tray of 303 is that much more valuable :( 2013-01-04T07:01:22 < dongs> er, :) even. 2013-01-04T07:01:24 < emeb_mac> yep 2013-01-04T07:01:53 < dongs> hmm. there's a string in 373 rom 2013-01-04T07:02:01 < emeb_mac> wonder if it's possible to reflash system area? 2013-01-04T07:02:04 < dongs> W6A712 t 2013-01-04T07:02:29 < emeb_mac> copy the 303 bootloader into the 373. lulz 2013-01-04T07:02:59 < dongs> @Internal Flash /0x08000000/128*0002Kg 2013-01-04T07:02:59 < dongs> @Option Bytes /0x1FFFF800/01*016 e 2013-01-04T07:02:59 < dongs> STMicroelectronics 2013-01-04T07:02:59 < dongs> STM32 BOOTLOADER 2013-01-04T07:03:01 < dongs> usb strings 2013-01-04T07:03:03 < dongs> in 303 one 2013-01-04T07:03:09 < dongs> and W6A667 2013-01-04T07:03:12 < dongs> for the magicstring. 2013-01-04T07:04:01 < emeb_mac> looks like that W6 is part of it in both. 2013-01-04T07:04:35 < dongs> maybe some internal id shit. 2013-01-04T07:04:51 < emeb_mac> yup 2013-01-04T07:07:42 < emeb_mac> It's hilarious that all the docs say USB and the parts don't. 2013-01-04T07:08:11 < emeb_mac> copy/paste error FTW. 2013-01-04T07:23:17 -!- jef79m is now known as jef79m_lurking 2013-01-04T07:29:52 -!- jef79m_lurking is now known as jef79m 2013-01-04T07:48:34 -!- Abhishek_ [cb6ef7dd@gateway/web/freenode/ip.203.110.247.221] has joined ##stm32 2013-01-04T07:48:46 < Abhishek_> hello 2013-01-04T07:49:28 < Abhishek_> anybody there? 2013-01-04T07:51:08 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-04T07:58:04 < dongs> dongs 2013-01-04T07:59:40 < LeelooMinai> Has someone here dealt with SPI DMA on F0? 2013-01-04T08:00:23 -!- claude is now known as Claude 2013-01-04T08:00:59 < LeelooMinai> I am reading RM0091 "Communication using DMA" section on page 650 and the damn thing does not make sense 2013-01-04T08:01:29 < Abhishek_> I need some help with ADC on STM32 2013-01-04T08:01:45 < Abhishek_> regarding sample times 2013-01-04T08:02:19 < LeelooMinai> They write that "A DMA access is requested when the TXE or RXNE enable bit in the SPIx_CR2 register is set. Separate requests must be issued to the Tx and Rx buffers." 2013-01-04T08:02:42 < LeelooMinai> But I look at the examples and nothing there suggests that those interrupts must be unmasked 2013-01-04T08:03:04 < LeelooMinai> "In transmission, a DMA request is issued each time TXE is set to 1. The DMA then writes to the SPIx_DR register." 2013-01-04T08:03:23 -!- jef79m is now known as jef79m_lurking 2013-01-04T08:03:54 < LeelooMinai> ^ They also write this and it makes sense... but that part with interrupts - I don't know 2013-01-04T08:05:48 < LeelooMinai> I am also wondering ahwat "each time TXE is set to 1" really means. Because if it was tru there would be no easy way to start transmission (as this is set onlyt when FIFO becomes half-empty) 2013-01-04T08:05:58 < dongs> Abhishek_ have you looked at the manual. 2013-01-04T08:06:15 < dongs> LeelooMinai: which part of #1 is unclear? 2013-01-04T08:06:18 < dongs> they;re not tlakin about interrupts 2013-01-04T08:06:28 < Abhishek_> yes. 2013-01-04T08:06:33 < Abhishek_> I'm using chibios 2013-01-04T08:06:36 < dongs> oh duno 2013-01-04T08:06:38 < dongs> ask Tectu 2013-01-04T08:06:41 < dongs> he's the chibios master. 2013-01-04T08:06:55 < LeelooMinai> dongs, Well, they refer to CR2 - the only TXE and RXNE related bits there are for interrupts 2013-01-04T08:07:03 < Abhishek_> well but it is not related to chibios. It is to the sample times 2013-01-04T08:07:14 < Abhishek_> I try to measure voltage at a pin by 2013-01-04T08:07:42 < Abhishek_> sampling the internal VRef and the pin 2013-01-04T08:08:19 < Abhishek_> but find that if I use 1.5 clock sample time, result is grossly inaccurate 2013-01-04T08:08:31 < dongs> Abhishek_: that sounds right, thats pretty short. 2013-01-04T08:10:06 < Abhishek_> I see. 2013-01-04T08:10:19 < LeelooMinai> dongs, UNless they mean TXDMAEN and RXDMAEN there 2013-01-04T08:10:30 < Abhishek_> But then is that expected of the ADC? 2013-01-04T08:10:36 < dongs> Abhishek_: no. 2013-01-04T08:10:40 < dongs> your source impedance is high 2013-01-04T08:10:48 < dongs> short sample time = not enough time to sample = wrong data. 2013-01-04T08:10:49 < LeelooMinai> Hmm, even though I tried that and DMA is not initiated somehow 2013-01-04T08:11:07 < dongs> LeelooMinai: try using stdperiphlib 2013-01-04T08:11:10 < dongs> (or at least looking at it) 2013-01-04T08:11:18 < LeelooMinai> I am using it 2013-01-04T08:11:20 < dongs> oh 2013-01-04T08:11:22 < dongs> then look at the source 2013-01-04T08:11:23 < dongs> geez. 2013-01-04T08:11:45 < dongs> http://code.google.com/p/afrodevices/source/browse/trunk/m3osd/src/osdcore.c 2013-01-04T08:11:47 < LeelooMinai> Yes... that's what I mean - I am using it and I looked at the DM SPI example 2013-01-04T08:11:48 < dongs> im doing lots of SPI dma here 2013-01-04T08:11:50 < dongs> take al ook 2013-01-04T08:11:57 < Abhishek_> I am measuring battery voltage - 1 cell Li-Ion - two 100K resistors for a potential divider. 2013-01-04T08:11:57 < dongs> take a look at older revisions to see how master spi dma is done 2013-01-04T08:11:59 < dongs> (current one is slave) 2013-01-04T08:12:02 < Abhishek_> is that too high? 2013-01-04T08:12:29 < dongs> Abhishek_: i think so, i remember hearing something > 30k is bad. 2013-01-04T08:13:13 < LeelooMinai> A, I think I know what I forgot 2013-01-04T08:13:23 < LeelooMinai> That NIC_IEQ enable call 2013-01-04T08:13:26 < LeelooMinai> NVIC 2013-01-04T08:13:48 < Abhishek_> where did you hear that? 2013-01-04T08:16:50 < Abhishek_> Oh. I found a good discussion 2013-01-04T08:17:12 < Abhishek_> seems like that is the source of my problem. I'll use a higher sample time for my application 2013-01-04T08:17:36 < dongs> Abhishek_: http://www.ti.com/lit/an/spna061/spna061.pdf first random hit. just google for adc source impedance, and read up and see why its bad 2013-01-04T08:17:48 < dongs> if you want to sample fast, you want to have it going through a opamp or something. 2013-01-04T08:18:52 < dongs> but since its battery i dont really see why you even need to sample taht fast. 2013-01-04T08:19:07 < dongs> just setup DMA w/reasonable sample time, and have a buffer with voltage+wahtever other shit youre measuring always ready. 2013-01-04T08:19:37 < Abhishek_> yeah. I was just trying to see how low could I push it. And was unaware of this fact. 2013-01-04T08:19:53 < Abhishek_> Thanks for the hints. :) 2013-01-04T08:38:52 -!- Abhishek_ [cb6ef7dd@gateway/web/freenode/ip.203.110.247.221] has quit [Quit: Page closed] 2013-01-04T09:00:21 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-01-04T09:02:22 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 246 seconds] 2013-01-04T09:13:38 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-04T09:13:39 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-04T09:17:28 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-01-04T09:17:37 -!- Gargantuasauce [~Gargantua@host49-193-static.227-95-b.business.telecomitalia.it] has joined ##stm32 2013-01-04T09:17:52 < LeelooMinai> Found what my problem was - thought I can use any DMA channel with SPI1, but I can use only channel 3 2013-01-04T09:21:58 -!- Claude is now known as claude 2013-01-04T09:23:16 < emeb_mac> details, details. 2013-01-04T09:23:38 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-04T09:25:03 < LeelooMinai> Well, I read the SPI + DMA section, but the actually info that each peripheral is tied to particular channel was in a different section 2013-01-04T09:25:33 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-04T09:33:17 < dongs> oh 2013-01-04T09:33:18 < dongs> duh 2013-01-04T09:33:25 < dongs> you didnt know that? 2013-01-04T09:33:29 < dongs> thats why F1 DMA kinda sucks 2013-01-04T09:33:34 < dongs> because its limited in choice of stuff 2013-01-04T09:33:46 < dongs> F2/4 is a bit better in that sense 2013-01-04T09:37:46 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-04T09:39:14 -!- Gargantuasauce [~Gargantua@host49-193-static.227-95-b.business.telecomitalia.it] has quit [Ping timeout: 255 seconds] 2013-01-04T09:41:52 < Thorn> fixed my lpc. as always, reset pin not soldered 2013-01-04T09:43:36 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-04T09:54:44 -!- Gargantuasauce [~Gargantua@host49-193-static.227-95-b.business.telecomitalia.it] has joined ##stm32 2013-01-04T10:05:12 < dongs> gg 2013-01-04T10:05:22 < dongs> Thorn: seems to be a common problem wiht LPC. 2013-01-04T10:05:31 < dongs> zyp forgot a pull resistor on his bga breakout too 2013-01-04T10:06:35 < Thorn> resistor for reset? 2013-01-04T10:08:37 < Thorn> datasheet doesn't say anything about an internal pullup on /reset, strange. 2013-01-04T10:14:54 < zyp> lpc4300 datasheet showed internal pullup on reset, so I assumed that would be good enough 2013-01-04T10:14:58 < dongs> yeah 2013-01-04T10:15:03 < dongs> apparently not good enough 2013-01-04T10:15:09 < dongs> zyp, i checked all otehr boards, tehre are no shorts. 2013-01-04T10:15:10 < Thorn> but it wasn't? 2013-01-04T10:15:51 < Thorn> lpc176x datasheet says about reset pin: "5 V tolerant pad with 20 ns glitch filter providing digital I/O function with TTL levels and hysteresis." 2013-01-04T10:16:01 < Thorn> nothing about pullups. 2013-01-04T10:16:58 < zyp> so does lpc4300 datasheet, but there is a schematic somewhere else showing how it looks internally, and there is a pullup there 2013-01-04T10:19:28 < Thorn> I measure 2.6...2.7V (fluctuating) on a floating reset pin 2013-01-04T10:19:55 < Thorn> seems same as other pins with internal pullups 2013-01-04T10:21:03 < Thorn> these pullups are probably really weak 2013-01-04T10:21:32 < dongs> nxp should have some circuit checklist appnote. 2013-01-04T10:24:35 < Thorn> wtf is going on in this disassembly. http://pastebin.com/f6tLr5vN 2013-01-04T10:24:50 < dongs> gnu 2013-01-04T10:25:10 < Gargantuasauce> dongs just hates Freedom 2013-01-04T10:25:22 < Thorn> reset vector is 0000 00cd (even), __cs3_reset is at 000000cc (odd), next 2 functions are at odd and even addresses resp. 2013-01-04T10:25:56 < zyp> keep in mind that low bit is always set to indicate thumb 2013-01-04T10:26:01 < Thorn> other vectors are odd 2013-01-04T10:26:21 < dongs> why would there be non-thumb on cortex? 2013-01-04T10:26:22 < Thorn> even reset vector = immediate hard fault, no? 2013-01-04T10:26:32 < zyp> 000000cd will execute 000000cc in thumb mode 2013-01-04T10:26:36 < zyp> so it looks right 2013-01-04T10:27:12 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 256 seconds] 2013-01-04T10:27:15 < zyp> every thumb instruction is 16-bit aligned, so the lower bit of addr will always be 0 2013-01-04T10:27:33 < zyp> so it's not used for addressing, and therefore used to select arm or thumb mode instead 2013-01-04T10:27:47 < zyp> and since cortex-m is thumb only, it will always be 1 in function pointers 2013-01-04T10:28:22 < Thorn> ah, I mixed up even and odd numbers in hex 2013-01-04T10:28:31 < Thorn> cc = 204, cd = 205 2013-01-04T10:28:36 < jpa-> my intuition always gets confused because odd letters are even in hex 2013-01-04T10:28:56 < zyp> I've been confused by that before too 2013-01-04T10:29:01 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-04T10:29:04 < zyp> but you get used to it 2013-01-04T10:29:35 < jpa-> my intuition: a: odd, b: even, c: odd, d: even, e: odd, f: odd 2013-01-04T10:29:48 < jpa-> 16% success rate 2013-01-04T10:37:23 -!- Gargantuasauce [~Gargantua@host49-193-static.227-95-b.business.telecomitalia.it] has quit [Ping timeout: 248 seconds] 2013-01-04T10:42:27 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2013-01-04T10:58:21 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 245 seconds] 2013-01-04T11:03:02 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has quit [Read error: Connection reset by peer] 2013-01-04T11:03:20 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has joined ##stm32 2013-01-04T11:05:06 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has quit [Ping timeout: 244 seconds] 2013-01-04T11:05:37 -!- tkoskine [tkoskine@kapsi.fi] has quit [Ping timeout: 244 seconds] 2013-01-04T11:06:35 -!- tkoskine [tkoskine@kapsi.fi] has joined ##stm32 2013-01-04T11:10:16 < zyp> hmm, the lpc11xx flash code already present in bmp looks like a good base for lpc43xx flash code 2013-01-04T11:10:43 < zyp> instead of loading a flashloader, it's using rom calls to write flash 2013-01-04T11:10:58 < zyp> and those rom calls looks almost identical 2013-01-04T11:13:24 < zyp> some of them have added an argument to indicate flash bank, but otherwise they look the same 2013-01-04T11:18:30 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2013-01-04T11:18:42 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2013-01-04T11:24:23 < dongs> heh 2013-01-04T11:25:46 < zyp> hmm, lpc4300 apparently got five seperate blocks of sram, and only three of them are contigious 2013-01-04T11:26:12 < zyp> so there are three seperate sram regions 2013-01-04T11:26:27 < dongs> isnt some of htem split for m0/m4 shit 2013-01-04T11:26:47 < dongs> did yout try flashing my blinky yet 2013-01-04T11:26:52 < dongs> or are all your opensauce debug tools failing 2013-01-04T11:27:13 < zyp> not yet support for flashed lpc4300 in bmp, I'm fixing that tonight 2013-01-04T11:27:39 < dongs> lunixworld problems :) 2013-01-04T11:28:01 < zyp> everything is hooked to everything, wrt. to ram blocks, but yes, it makes sense to dedicate some blocks to each cpu 2013-01-04T11:28:49 < zyp> the first two blocks are dubbed «local sram», and the contigious region of three is «ahb sram» 2013-01-04T11:29:50 < zyp> both local sram blocks is hooked to I/D buses of M4, and all other masters, according to matrix diagram 2013-01-04T11:30:01 < zyp> ahb sram blocks are hooked to S-bus and all other masters 2013-01-04T11:32:57 < zyp> the two flash banks are not contiguous either 2013-01-04T11:34:28 < dongs> just lemme know once you got lunix running on it 2013-01-04T11:34:36 < dongs> actually i need dkey part numbers for those gay headers too 2013-01-04T11:34:43 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2013-01-04T11:34:57 < zyp> which ones? 2013-01-04T11:35:15 < dongs> all the ones you used 2013-01-04T11:35:19 < dongs> 2 row angle shit 2013-01-04T11:35:20 < dongs> for hte board 2013-01-04T11:35:45 < zyp> just grab some generic female 90deg headers? 2013-01-04T11:36:23 < dongs> well didnt you order them on purpose? 2013-01-04T11:37:59 < zyp> S5484-ND, S5561-ND, S5563-ND 2013-01-04T11:38:32 < zyp> or you could do the waveshare trick of getting a long one and cutting it up :p 2013-01-04T11:39:33 < dongs> no ill just queue those to my next dkey order 2013-01-04T11:46:06 < jpa-> zyp: do you have reflow oven or how did you do the bga? 2013-01-04T11:49:16 -!- jef79m_lurking is now known as jef79m 2013-01-04T11:49:30 < Thorn> I can't make this lpc thing run my code. x_x 2013-01-04T11:49:35 < zyp> I do have a cheap reflow oven 2013-01-04T11:50:43 < jpa-> i've been wondering if i can do solder paste stuff (no bga) with just a hot air station 2013-01-04T11:53:50 < zyp> Thorn, see section 32.3.1.1 in UM10360, you don't have a valid checksum there 2013-01-04T11:54:09 < Thorn> doesn't flash magic do it magically? 2013-01-04T11:54:16 < zyp> flash magic? 2013-01-04T11:54:31 < Thorn> flashmagictool.com 2013-01-04T11:54:38 < zyp> dunno, maybe 2013-01-04T11:55:30 < Thorn> it has a display memory feature and the word at that address is != 0 2013-01-04T11:55:31 < zyp> read back the checksum vector to check? 2013-01-04T11:55:38 < zyp> ah, then it's probably fine 2013-01-04T11:55:43 < Thorn> 7a6fffef 2013-01-04T11:56:11 < Thorn> (it's 00000000 in the vector table defined in startup code) 2013-01-04T11:56:22 < zyp> yes, it saw that in your previous paste 2013-01-04T11:59:17 -!- claude is now known as Claude 2013-01-04T11:59:20 < Thorn> so wtf is wrong. reset is driven by the DTR line of my usb/uart converter so it's not the pullup. same about ISP pin. I finally need to get my black magic clone running. 2013-01-04T12:00:29 < zyp> oh, so it might actually be running, but crashing before it manages to do anything? 2013-01-04T12:01:54 < Thorn> I'm using linker script that comes with the NXP library. it uses CS3 startup. maybe the problem is somewhere in there (but I've been using same setup with a lpc1768 dev board and it worked) 2013-01-04T12:08:15 < dongs> looks like feenode fucked thier dns 2013-01-04T12:08:19 < dongs> i cant connect from my mobile 2013-01-04T12:08:25 < dongs> irc.feenode resolves to a ipv6 address 2013-01-04T12:08:27 < dongs> (only) 2013-01-04T12:08:43 < qyx_> jpa-: you can do it with hot air station but you have to be careful 2013-01-04T12:08:44 < qyx_> dongs: no 2013-01-04T12:08:52 < dongs> dunno it does for me 2013-01-04T12:08:55 < dongs> DO YOU WANT A FUCKING SCREEENSHOT 2013-01-04T12:08:57 < dongs> !!!!111 2013-01-04T12:09:19 < qyx_> 17 ipv4 and 7 ipvs, irc. is cname for chat. 2013-01-04T12:09:29 < qyx_> hm, ok, it't ok for me 2013-01-04T12:09:44 < dongs> duno, i can connect to efnet just fine 2013-01-04T12:09:49 < dongs> blaming on opensauce 2013-01-04T12:10:30 < jpa-> qyx_: careful to not blow away components or careful to not burn them? :) 2013-01-04T12:10:41 < qyx_> jpa-: to blow away them 2013-01-04T12:10:54 < qyx_> i never burned anything using hotair 2013-01-04T12:12:08 < qyx_> *them away 2013-01-04T12:13:09 < zyp> hmm, trying to generate checksum vector during compile time weren't that easy 2013-01-04T12:13:17 < dongs> zyp: for lpc? 2013-01-04T12:13:22 < dongs> i noticed keil had some external app t o do it 2013-01-04T12:13:27 < zyp> yes 2013-01-04T12:14:00 < dongs> $K\ARM\BIN\ElfDwT.exe !L BASEADDRESS(0x1A000000) 2013-01-04T12:14:08 < zyp> it's pretty easy stuff, but I don't want to add an extra script to modify the elf after linking if I can just get it right in the first place 2013-01-04T12:14:19 < dongs> i geuss you cant, or else keil would have done it. 2013-01-04T12:14:33 < zyp> eight vector is just the negative of the seven first, so they sum to 0 2013-01-04T12:15:44 < zyp> I tried just doing -(stack + reset + …) in source, but as I expected it doesn't work 2013-01-04T12:16:00 < zyp> because the functions are symbols that are not known until linking 2013-01-04T12:16:22 < zyp> and while the linker can substitute simple symbols, it can't do symbol arithmetics 2013-01-04T12:16:25 < Thorn> you should do it in the programmer 2013-01-04T12:16:49 < Thorn> e.g. in a BMP flash programming routine 2013-01-04T12:17:09 < zyp> I disagree, IMO it should be put into the elf in the first place 2013-01-04T12:17:10 < Thorn> I believe openocd and jlink do it transparently 2013-01-04T12:19:26 < zyp> Thorn, that doesn't sound sane, especially not for lpc4300 2013-01-04T12:19:59 < zyp> Thorn, because, how is the programmer supposed to know where and when to put it? 2013-01-04T12:20:31 < Thorn> address 1c 2013-01-04T12:20:45 < zyp> sure, but in which flash bank? 2013-01-04T12:20:47 < zyp> and when? 2013-01-04T12:21:16 < zyp> lpc4300 got two flash banks, and I can put the boot vector table in either 2013-01-04T12:21:31 < zyp> and I can put something completely different in the other 2013-01-04T12:22:11 < Thorn> lpc17xx have only one flash bank 2013-01-04T12:22:11 < zyp> so how does the programmer know when to overwrite it and not? 2013-01-04T12:22:30 < zyp> yes, but that's irrelevant to me :p 2013-01-04T12:22:31 < Thorn> btw, you might be able to calculate it in the linker 2013-01-04T12:22:37 < zyp> yes, I know 2013-01-04T12:22:48 < Thorn> linker script 2013-01-04T12:22:52 < zyp> I'm planning to add it to the linker script 2013-01-04T12:23:22 < zyp> I just hope I can look up the vector contents without knowing the symbol names 2013-01-04T12:23:31 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 260 seconds] 2013-01-04T12:38:27 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-04T12:47:46 -!- Laurenceb_ [~Laurence@host86-177-62-25.range86-177.btcentralplus.com] has joined ##stm32 2013-01-04T12:48:46 -!- BjoernC [~BjoernC@dyndsl-178-142-054-242.ewe-ip-backbone.de] has joined ##stm32 2013-01-04T12:59:21 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 255 seconds] 2013-01-04T13:02:59 -!- Laurenceb_ [~Laurence@host86-177-62-25.range86-177.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-04T13:04:35 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 248 seconds] 2013-01-04T13:22:08 < Thorn> doesn't work x_x 2013-01-04T13:22:49 < Thorn> checked continuity of the crystal oscillator, ok 2013-01-04T13:22:57 < zyp> what doesn't work? 2013-01-04T13:23:29 < Thorn> user code on lpc1766 2013-01-04T13:23:35 < zyp> ah, right 2013-01-04T13:23:43 < Thorn> also tried different startup code from the net with same result 2013-01-04T13:23:46 < zyp> doesn't it boot on internal oscillator like everything else? 2013-01-04T13:24:22 < Thorn> it does. I assumed it could loop forever in SystemInit() if it fails to initialize the external one 2013-01-04T13:24:31 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:d029:fe5e:9b58:5990] has joined ##stm32 2013-01-04T13:25:17 < Thorn> also, if you erase flash and try to boot with ISP pin deasserted it still runs bootloader (which responds to '?' over uart0) but with code programmed into flash it doesn't, so checksum must be valid 2013-01-04T13:26:13 -!- daku is now known as DaKu 2013-01-04T13:27:08 < Thorn> tried to output something over uart0 (which works because bootloader uses it, and the code worked in a dev board), nothing 2013-01-04T13:35:34 < Tectu> [Fri January 04 2013 07:06:38]: dongs (~dongs@l212168.ppp.asahi-net.or.jp) (##stm32): ask Tectu 2013-01-04T13:35:38 < Tectu> what was that about, dongs ? 2013-01-04T13:36:57 < zyp> a guy that was using chibios 2013-01-04T13:37:46 < Tectu> ah 2013-01-04T13:47:37 < Thorn> now it works. what did I change. 2013-01-04T13:48:45 < zyp> the workyness factor 2013-01-04T13:49:37 < Thorn> I hate miracles 2013-01-04T14:01:41 < dongs> haha 2013-01-04T14:10:27 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-04T14:10:31 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-04T14:34:27 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-04T14:34:30 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-04T14:38:49 -!- _BJFreeman [~bjfree@196.sub-75-233-39.myvzw.com] has joined ##stm32 2013-01-04T14:42:30 < karlp> https://www.youtube.com/watch?v=RtlYi1yLTVQ 2013-01-04T14:43:13 < Laurenceb> esd? 2013-01-04T14:43:17 < Laurenceb> like this? http://www.youtube.com/watch?v=FY-AS13fl30 2013-01-04T14:46:17 < dongs> this fucking video 2013-01-04T14:46:19 < dongs> has been tweeted in here 2013-01-04T14:46:22 < dongs> like 3 times already 2013-01-04T14:46:26 < dongs> useless shit 2013-01-04T14:46:57 < karlp> I click a lot of links here, missed it sorry 2013-01-04T14:47:50 < dongs> no problem im sure Laurenceb will top your fail quickly 2013-01-04T14:50:23 < Laurenceb> http://www.boxingscene.com/forums/showthread.php?t=234837 2013-01-04T14:50:26 <+Steffanx> And it looks toooo fake karlp :P 2013-01-04T14:50:53 <+Steffanx> I was like "And how he is going to touch the board" and it happened :) 2013-01-04T14:50:57 <+Steffanx> *now 2013-01-04T14:51:01 < karlp> sure. 2013-01-04T14:51:07 < karlp> but we've all done it :) 2013-01-04T14:55:27 <+Steffanx> I never had the privilege to play with a gun like that :( 2013-01-04T14:55:32 < dongs> https://youtube.com/watch?v=sXto5fBFC1E 2013-01-04T14:57:33 <+Steffanx> good memories for dongs 2013-01-04T14:58:57 < karlp> Steffanx: me either, but I've still touched things that shouldn't have been touched... 2013-01-04T15:03:24 < Laurenceb> eww 2013-01-04T15:06:02 <+Steffanx> forgot to go to the toilet Laurenceb ? 2013-01-04T15:08:16 -!- DaKu is now known as daku 2013-01-04T15:11:17 < Laurenceb> has anyone tried injected and regular conversions on the same adc channel simultaneously? 2013-01-04T15:12:03 < zyp> for what purpose? 2013-01-04T15:13:10 < Laurenceb> im using injected with analogue watchdog for battery voltage monitoring 2013-01-04T15:13:39 < Laurenceb> then if i try to measure battery voltage using a regular conversion its way too low 2013-01-04T15:14:00 < Laurenceb> the injected result is always correct 2013-01-04T15:14:28 < zyp> is this with the cap stuff? 2013-01-04T15:14:35 < Laurenceb> no 2013-01-04T15:14:43 < Laurenceb> this is on F1 with pot divider 2013-01-04T15:14:55 < zyp> does regular conversion look sane if you don't do injected? 2013-01-04T15:15:04 < Laurenceb> yes 2013-01-04T15:15:21 < dongs> http://eilo.org:8000/happycore good stuff, though it will probably turn to shit as soon as i paste hte link 2013-01-04T15:15:40 < Laurenceb> unhappyhardcore 2013-01-04T15:16:25 <+Steffanx> crappyhardcore 2013-01-04T15:16:32 < Laurenceb> wont load for me 2013-01-04T15:16:40 <+Steffanx> Be patient 2013-01-04T15:17:53 <+Steffanx> You can have my stream Laurenceb. It's shit :) 2013-01-04T15:18:00 <+Steffanx> *slot 2013-01-04T15:18:16 < Laurenceb> no thanks 2013-01-04T15:20:48 < qyx_> hm, excuse my dumb question 2013-01-04T15:21:16 < qyx_> what's the difference between regular and injected conversion? 2013-01-04T15:26:05 < dongs> injecting aids into Laurenceb brain 2013-01-04T15:26:42 < zyp> qyx_, it's just sequencing mechanism 2013-01-04T15:27:56 < zyp> you can do stuff like set up a circular sequence of channels that will be sampled continously, and then intersperse other channels in between now and then as injected conversions 2013-01-04T15:28:26 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-04T15:28:36 < qyx_> ah, because it is mentioned many times in docs and nowhere is actually explained what it is 2013-01-04T15:30:29 <+Steffanx> this doesnt help qyx_ http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00258017.pdf ? 2013-01-04T15:30:35 <+Steffanx> STM32™’s ADC modes 2013-01-04T15:30:35 <+Steffanx> and their applications 2013-01-04T15:31:56 < qyx_> thx, didnt read that 2013-01-04T15:32:55 < Thorn> wtff. old project with CS3 also works. 2013-01-04T15:33:18 <+Steffanx> CS3 2013-01-04T15:34:00 <+Steffanx> ... 2013-01-04T15:34:32 < Thorn> I spend half a day trying to diagnose a non-problem? 2013-01-04T15:36:00 < Thorn> *spent 2013-01-04T15:36:32 < dongs> i guess by cs3 he means cmsis3? 2013-01-04T15:36:45 < dongs> where the fuck are my newpc parts argggg 2013-01-04T15:36:48 < dongs> wanted this shit this fucking weekend 2013-01-04T15:36:50 < Thorn> CS3™: The CodeSourcery Common Startup Code Sequence 2013-01-04T15:36:55 < dongs> owut 2013-01-04T15:37:00 < dongs> sounds gay already. 2013-01-04T15:37:12 < dongs> keil startups or fuckoff. 2013-01-04T15:37:49 < zyp> I've heard laks startup is the shit 2013-01-04T15:37:54 < dongs> heh 2013-01-04T15:38:30 < zyp> now it has 100% more fpu 2013-01-04T15:44:34 <+Steffanx> That is wonderful zyp 2013-01-04T15:49:05 < Thorn> does it support lpc176x usb? 2013-01-04T15:49:49 < dongs> lets see if thers anything rippable from laks into C 2013-01-04T15:50:38 < dongs> hm i see you got a nice #ifdef for GPIO on F1/F3 heh 2013-01-04T15:52:23 <+Steffanx> Yes, that gives you the idea there is still some stm32 peripheral lib crap in there dongs :) 2013-01-04T15:52:35 < dongs> in where? 2013-01-04T15:52:36 < dongs> there is none 2013-01-04T15:52:45 < dongs> he even made his own GPIO register struct. 2013-01-04T15:52:55 <+Steffanx> Just the idea... 2013-01-04T15:54:39 < zyp> Thorn, not yet 2013-01-04T15:55:03 < zyp> Thorn, but if it's equal to lpc43xx, it's on the list of stuff to do 2013-01-04T15:55:32 < Thorn> you said 4300 uses synopsys cores 2013-01-04T15:55:41 < zyp> for ethernet, not usb 2013-01-04T15:55:48 < Thorn> hmm 2013-01-04T15:56:11 < dongs> i checked price on auctions, pentium D 920 is only like 900 yen :( 2013-01-04T15:56:14 < dongs> cant even sell this shit 2013-01-04T15:57:17 < Laurenceb> http://hackaday.com/2013/01/04/turning-a-raspberry-pi-into-an-snes/ 2013-01-04T15:57:18 < Thorn> does it have 16 endpoints both directions, each with fixed type? 2013-01-04T15:57:20 < Laurenceb> i lolled 2013-01-04T15:57:37 < Laurenceb> "accessed these data, address, and control lines via the Raspberry Pi’s I2C interface, a non-trivial task that took 70 minutes to read Donkey Kong Country b" 2013-01-04T15:58:35 < dongs> lmfao 2013-01-04T15:58:37 < dongs> fucking lunix trash 2013-01-04T15:58:47 < zyp> Thorn, don't think so 2013-01-04T15:59:07 < zyp> looks like control + 5 pairs 2013-01-04T15:59:23 < Thorn> that looks like synopsys 2013-01-04T15:59:52 < zyp> no, it's completely different from dwc_otg 2013-01-04T15:59:58 < zyp> already checked that 2013-01-04T16:01:08 < zyp> and it's not like that's a limitation of dwc_otg either, it can be configured with more endpoints during instantiation 2013-01-04T16:02:14 < zyp> hmm, and the other controller has control + 3 pairs 2013-01-04T16:02:33 < zyp> so the cores are specced similarly to F4 in those terms 2013-01-04T16:05:16 < zyp> hmm, the register map doesn't look very huge either 2013-01-04T16:07:09 < zyp> each endpoint pair only has a single register 2013-01-04T16:09:26 -!- daku [DaKu@dakus.dk] has quit [Remote host closed the connection] 2013-01-04T16:14:38 < Laurenceb> someone emailed me asking for help... 2013-01-04T16:14:55 < zyp> ouch 2013-01-04T16:15:10 < Laurenceb> they tried to do injected and regular conversions and found the comments in my code :P 2013-01-04T16:15:11 < dongs> they're fucked now 2013-01-04T16:15:17 < Laurenceb> lol 2013-01-04T16:15:22 <+Steffanx> We all love you Laurenceb 2013-01-04T16:15:33 < dongs> tell them they're now injected with aids 2013-01-04T16:16:02 < Laurenceb> maybe i'll belle air them 2013-01-04T16:17:09 < Laurenceb> they see the same thing i see when you try regular and injected 2013-01-04T16:23:18 < Laurenceb> http://hardware.slashdot.org/story/13/01/03/1844249/open-hardware-licensed-handheld-software-defined-radio-in-the-works 2013-01-04T16:23:23 -!- |sark [~|sark@109.235.51.202] has quit [Remote host closed the connection] 2013-01-04T16:23:26 < Laurenceb> linux on M3... 2013-01-04T16:24:33 < Laurenceb> http://www.youtube.com/watch?v=YrbmlP1M1AI 2013-01-04T16:24:36 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:d029:fe5e:9b58:5990] has quit [Remote host closed the connection] 2013-01-04T16:24:42 < dongs> why is he announing it on jewtube 2013-01-04T16:24:47 < dongs> i want to read shit 2013-01-04T16:24:49 < dongs> closing page. 2013-01-04T16:26:21 < Laurenceb> looks goofy 2013-01-04T16:27:15 <+Steffanx> I skipped through the video and saw a Arduino logo 2013-01-04T16:27:17 <+Steffanx> nuf said 2013-01-04T16:28:31 < dongs> isnt arduino awesome.. 2013-01-04T16:35:28 < Laurenceb> http://www.google.co.uk/trends/explore#q=arduino,%20raspberry%20pi 2013-01-04T16:35:36 < Laurenceb> not as awesome as rpi 2013-01-04T16:36:12 < dongs> jeezuz 2013-01-04T16:36:25 < dongs> http://www.google.co.uk/trends/explore#q=arduino%2C%20raspberry%20pi%2C%20linux&cmpt=q 2013-01-04T16:36:28 < dongs> lawl 2013-01-04T16:36:35 < Thorn> disconnected the device from usb & uart to solder LEDs, reconnected, same shit (user code doesn't run) 2013-01-04T16:36:38 < Thorn> WTF 2013-01-04T16:37:39 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2013-01-04T16:38:03 < zyp> you've checked the boot settings pin? 2013-01-04T16:38:18 < Laurenceb> http://www.google.co.uk/trends/explore#q=arduino%2C%20raspberry%20pi%2C%20linux&date=today%2012-m&cmpt=q 2013-01-04T16:38:19 < Laurenceb> heh 2013-01-04T16:38:27 < Thorn> it doesn't enter bootloader 2013-01-04T16:38:43 < Thorn> otherwise it would reply "Synchronized" to "?" 2013-01-04T16:38:48 < Laurenceb> linux: offical os of cuba 2013-01-04T16:39:51 < Laurenceb> http://www.google.co.uk/trends/explore#q=linux,%20windows8 2013-01-04T16:39:52 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-04T16:39:54 < Laurenceb> i lolled 2013-01-04T16:40:32 <+Steffanx> http://www.google.co.uk/trends/explore#q=arduino%2C%20raspberry%20pi%2C%20dongs&cmpt=q you lose 2013-01-04T16:40:51 < dongs> http://www.google.co.uk/trends/explore#q=arduino%2C%20raspberry%20pi%2C%20norway&cmpt=q 2013-01-04T16:41:06 < dongs> whats the spike, shooting? 2013-01-04T16:41:31 < Laurenceb> beivek? 2013-01-04T16:41:32 <+Steffanx> Yes 2013-01-04T16:41:41 <+Steffanx> july 2011 2013-01-04T16:41:46 < dongs> good shit. 2013-01-04T16:41:46 < Laurenceb> most famous Norwegian :P 2013-01-04T16:41:59 <+Steffanx> After zyp of cours 2013-01-04T16:42:01 <+Steffanx> e 2013-01-04T16:45:01 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-04T16:53:18 < Thorn> okay, probably found it. it starts up if there's a DMM probe on a crystal pin. 2013-01-04T16:53:58 < Thorn> if you remove it LED blinking slows down with some probability 2013-01-04T16:54:14 < Thorn> what is that, not enough load capacitance? 2013-01-04T16:54:39 < zyp> quite possible 2013-01-04T16:54:46 < zyp> how much do you have? 2013-01-04T16:55:20 < Thorn> 15pF iirc 2013-01-04T16:55:23 < Thorn> 12MHz 2013-01-04T16:55:25 < zyp> and what's the C_L spec of the crystal? 2013-01-04T16:56:27 < zyp> please check the values, I want to have this datapoint 2013-01-04T16:57:02 < Thorn> it's a CPM crystal which probably stands for China no name 2013-01-04T16:57:37 < zyp> where did you get it? no spec or datasheet info from distributor? 2013-01-04T16:58:02 < Thorn> ah wait, 12 MHz, 16pF, 30 ppm 2013-01-04T16:58:24 < zyp> right, and you say you're loading it with 15pF caps? 2013-01-04T16:59:05 < zyp> it should have around twice that load 2013-01-04T16:59:11 < Thorn> yes (unless I've been out of my mind when soldering them) 2013-01-04T16:59:22 < Thorn> so ~32pF each cap? 2013-01-04T17:00:10 < zyp> the loading caps and trace capacitance should be twice the C_L value of the crystal 2013-01-04T17:00:22 < qyx_> try sth around 27 2013-01-04T17:00:33 < zyp> yeah, 27-30 should do fine 2013-01-04T17:01:00 < zyp> you could do the trick I did once and just stack another 15pF cap on top of each you already have 2013-01-04T17:01:54 < Thorn> I have 22pF and 33pF. 2013-01-04T17:02:23 < zyp> rounding up probably doesn't hurt 2013-01-04T17:02:40 < zyp> I'm a bit surprised it didn't start though 2013-01-04T17:02:51 < zyp> in my case it just ran a bit too fast 2013-01-04T17:03:57 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-04T17:04:36 < Thorn> will try replacing caps in an hour. thanks. 2013-01-04T17:04:48 < zyp> hope it helps 2013-01-04T17:08:45 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-04T17:10:56 < Laurenceb> wtf 2013-01-04T17:11:02 < Laurenceb> gdb is being weird 2013-01-04T17:11:12 < Laurenceb> p numchars 2013-01-04T17:11:12 < Laurenceb> $12 = 183 '\267' 2013-01-04T17:11:16 < karlp> getting deeply bothersome 2013-01-04T17:11:28 < Laurenceb> which is wrong, but printf in the code gives correct value? 2013-01-04T17:11:36 < Laurenceb> optimised code putting it in a register? 2013-01-04T17:12:01 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 265 seconds] 2013-01-04T17:12:15 < jpa-> maybe instructions re-ordered so that it is not really updated yet even though the line number leads you to believe it is? 2013-01-04T17:13:19 < jpa-> normally gdb does know to print stuff from registers also 2013-01-04T17:13:21 < Laurenceb> hmm or that 2013-01-04T17:13:24 < Laurenceb> i see 2013-01-04T17:13:37 < jpa-> you may want to step and see if the line number goes logically or not 2013-01-04T17:15:59 < Laurenceb> it doesnt... 2013-01-04T17:16:18 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-04T17:16:25 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-04T17:16:27 < jpa-> welcome to open source land, i'm sure dongs' armcc would never fail you like that :) 2013-01-04T17:19:47 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-04T17:32:59 < dongs> http://narf-archive.com/pix/b774c220ef7619c42f7e8bb35fa063ecce6549ba.jpeg 2013-01-04T17:36:17 <+Steffanx> To quote you "that was ridiculously unfunny" 2013-01-04T17:37:47 < dongs> sorry idont use facebook 2013-01-04T17:38:08 <+Steffanx> Neither do i 2013-01-04T17:41:04 < dongs> http://narf-archive.com/pix/b61db014fd3646857aa010b31fde52569aa9bf3f.jpeg hahaha 2013-01-04T17:42:22 < zyp> that's a pretty huge pcb 2013-01-04T17:45:09 <+Steffanx> I wonder ( when it's real ) what that designer was thinking 2013-01-04T17:45:56 < Laurenceb> reinforcements 2013-01-04T17:45:58 < zyp> mechanical strength 2013-01-04T17:47:26 <+Steffanx> Probably old but a perfect gift for Laurenceb : http://i.imgur.com/OkM0E.jpg 2013-01-04T17:47:44 < Laurenceb> lol 2013-01-04T17:49:00 < dongs> old, wasnt funny last time it was linked e ither 2013-01-04T17:49:33 <+Steffanx> dongs is in a bad mood 2013-01-04T17:49:53 < qyx_> too much unused space and connectors on all sides 2013-01-04T17:49:54 <+Steffanx> or it's just a little late 2013-01-04T17:50:14 < dongs> im trying to figure out some tarduino shit 2013-01-04T17:50:25 < zyp> no wonder you're grumpy 2013-01-04T17:55:07 < qyx_> ok, lets do some rf breadboarding 2013-01-04T17:57:28 < zyp> ouch 2013-01-04T18:00:40 <+Steffanx> What's the plan qyx_ ? 2013-01-04T18:02:35 < qyx_> some blitzortung receiver with more proper design without avr 2013-01-04T18:02:59 < qyx_> i am just curious if it works 2013-01-04T18:03:11 < qyx_> but no thunderstorms now :S 2013-01-04T18:03:31 <+Steffanx> heh 2013-01-04T18:24:06 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-04T18:24:33 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-04T18:26:16 < dongs> zyp: ahaha, http://www.kkmulticopter.kr/index.html?modea=imgview&sn=flycam_black32&size=L 2013-01-04T18:26:26 < Laurenceb> wtf 2013-01-04T18:26:33 < Laurenceb> my diy sscanf is being weird 2013-01-04T18:26:35 -!- BjoernC [~BjoernC@dyndsl-178-142-054-242.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-04T18:26:42 <+Steffanx> brainfart 2013-01-04T18:26:58 <+Steffanx> Fancy dual core board dongs 2013-01-04T18:27:05 < dongs> ahaha 2013-01-04T18:27:05 < zyp> dualcore! 2013-01-04T18:27:17 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-04T18:27:17 <+Steffanx> it does HT too? 2013-01-04T18:27:38 < zyp> break-off pressure sensor? :p 2013-01-04T18:27:39 < Laurenceb> https://github.com/Laurenceb/Chibi-Spectro/blob/master/utilities/Scanf.c 2013-01-04T18:27:57 < Laurenceb> scan_double misses the first character 2013-01-04T18:28:00 <+Steffanx> Just free extra vibrations 2013-01-04T18:28:01 < dongs> zyp: for wrapping foam around it 2013-01-04T18:28:05 < Laurenceb> but the other functions work fine... wtf 2013-01-04T18:28:05 < dongs> zyp: kinda cute actually. 2013-01-04T18:28:19 < dongs> cause other methods of stickytape/shit around it are kinda lame 2013-01-04T18:28:27 < Laurenceb> the hell 2013-01-04T18:28:33 < Laurenceb> 2x F103 2013-01-04T18:28:36 < zyp> dongs, figured as much 2013-01-04T18:28:38 < Laurenceb> why not 407 2013-01-04T18:28:40 < dongs> Laurenceb: not only that 2013-01-04T18:28:46 < dongs> Laurenceb: because my code doesnt run on 307 2013-01-04T18:28:47 < dongs> er 407 2013-01-04T18:28:52 < zyp> Laurenceb, not enough cores! 2013-01-04T18:29:13 < dongs> not only 2x 103, 1x 103C8, 1x 103CB 2013-01-04T18:29:16 < dongs> i stopped using C8 2013-01-04T18:29:19 < dongs> since price is same as CB 2013-01-04T18:29:23 < dongs> so i just get trays of cb now 2013-01-04T18:29:29 < zyp> why two? 2013-01-04T18:29:43 < dongs> i suspect the guy doesnt know much about my code, so the other cpu runs some of his useless shit :0 2013-01-04T18:29:44 < zyp> number of pwm channels? 2013-01-04T18:29:56 * Laurenceb goes back to raging at code... 2013-01-04T18:30:00 <+Steffanx> Have fun 2013-01-04T18:30:00 < dongs> could be,, but you can get 14PWMs from raw F1.. 2013-01-04T18:30:02 < dongs> with not much else left. 2013-01-04T18:30:05 < Laurenceb> where does the first character go 2013-01-04T18:30:16 <+Steffanx> Worm hole 2013-01-04T18:31:06 <+Steffanx> Just curious. You expected a serious answer Laurenceb ? 2013-01-04T18:31:15 < dongs> Laurenceb: uart? 2013-01-04T18:31:25 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2013-01-04T18:31:34 < Laurenceb> maybe someone can spot difference with the other functions 2013-01-04T18:31:36 < dongs> in smartcard mode at least i had to touch UART->DR after transmit 2013-01-04T18:31:40 < dongs> before it would receive 2013-01-04T18:31:43 < Laurenceb> https://github.com/Laurenceb/Chibi-Spectro/blob/master/utilities/Scanf.c 2013-01-04T18:31:44 < dongs> or else it would eat the 1st char 2013-01-04T18:31:46 < dongs> oh 2013-01-04T18:31:46 < dongs> duno 2013-01-04T18:31:54 < dongs> < Laurenceb> https://github.com/Laurenceb/Chibi-Spectro/blob/master/utilities/Scatf.c 2013-01-04T18:31:59 < dongs> is what i saw 2013-01-04T18:32:12 < Laurenceb> lol 2013-01-04T18:32:33 < Laurenceb> scan_int works, scan_double skips first character 2013-01-04T18:34:50 < Laurenceb> oh i think i know 2013-01-04T18:34:59 < Laurenceb> trim_leading is clusterfucked 2013-01-04T18:35:09 < Laurenceb> it actually returns the first character 2013-01-04T18:35:11 < Laurenceb> epic wtf 2013-01-04T18:35:41 < Laurenceb> lolz if (EOF == (ch = trim_leading(in))) return 0;/*error*/ 2013-01-04T18:36:00 < Laurenceb> scan_int uses the return from trim_leading 2013-01-04T18:38:13 -!- barthess [~barthess@77.67.225.22] has joined ##stm32 2013-01-04T18:41:18 <+Steffanx> back in september some people said "scanf is way oldschool" ".. scanf who the fuck uses that" Laurenceb :P 2013-01-04T18:43:07 < Thorn> changed caps, seems to work. 2013-01-04T18:45:08 < Laurenceb> 56.7 Read:56.70000 2013-01-04T18:45:10 < Laurenceb> epic win 2013-01-04T18:46:12 < Laurenceb> sscanf in 321 lines 2013-01-04T18:46:42 < karlp> did you use strtol? 2013-01-04T18:47:07 < Laurenceb> no 2013-01-04T18:47:12 < Laurenceb> that might be simpler 2013-01-04T18:47:22 < Laurenceb> call strtol twice either side of '.' 2013-01-04T18:47:27 < karlp> that's what I did :) 2013-01-04T18:47:32 < karlp> it was smaller than strtod, 2013-01-04T18:47:34 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 260 seconds] 2013-01-04T18:47:39 < Laurenceb> how big is strlot? 2013-01-04T18:47:42 * karlp shrugs 2013-01-04T18:47:44 < Laurenceb> *tol 2013-01-04T18:47:46 < Laurenceb> heh 2013-01-04T18:47:50 < karlp> image is smaller than flash, don't care 2013-01-04T18:47:51 < Laurenceb> this is <1KB 2013-01-04T18:48:06 < dongs> http://www.theregister.co.uk/2013/01/04/eric_schmidt_visit_to_north_korea_unhelpful/ 2013-01-04T18:48:08 < Laurenceb> im up to 29KB total on 4F :P 2013-01-04T18:48:09 < dongs> haha 2013-01-04T18:48:15 < Laurenceb> *F4 2013-01-04T18:48:25 < karlp> you have to do log and power to use strtol on boths sides anyway, 2013-01-04T18:48:29 < dongs> I bet keil's microlib scanf is better than your shit 2013-01-04T18:48:42 < dongs> but its closedsores. 2013-01-04T18:48:45 < karlp> most likely. 2013-01-04T18:48:48 < Laurenceb> wut 2013-01-04T18:48:56 < Laurenceb> you just multiply 2013-01-04T18:49:04 < Laurenceb> but 10 a few times in a loop 2013-01-04T18:49:08 < Laurenceb> if you are lazy 2013-01-04T18:49:12 < karlp> there's some nice smallish ones out there that are gpl and stuff. 2013-01-04T18:49:12 < dongs> fractional pow() support adds like 1203982130948bytes of code 2013-01-04T18:49:37 < Laurenceb> shrug this code works for me now 2013-01-04T18:49:55 < karlp> float frac = fraction / powf(10, ceilf(log10f(fraction))); with strtol was a few kb smaller than strtod with the older 4.6q2 launchpad code. 2013-01-04T18:50:56 < karlp> I'm sure it could be made drastically smaller with some more assumptions 2013-01-04T18:51:12 < dongs> 4.7 is out i heard 2013-01-04T18:51:16 < dongs> it might actually not suck 2013-01-04T18:51:17 < dongs> (unlikely) 2013-01-04T18:51:18 < karlp> yeah, I wrote that a while ago. 2013-01-04T18:51:24 < dongs> o rite 2013-01-04T18:51:33 < karlp> haven't tried rebuilding it, because, well, it fits in flash, and it's finished. 2013-01-04T18:52:38 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2013-01-04T18:53:30 -!- Claude is now known as claude 2013-01-04T18:54:47 < Laurenceb> http://www.cplusplus.com/reference/cstdlib/strtod/ 2013-01-04T18:54:50 < Laurenceb> doh 2013-01-04T18:54:56 < Laurenceb> i didnt know that existed 2013-01-04T18:55:16 < karlp> you.. didn't even _try_ strtod? 2013-01-04T18:55:25 < Laurenceb> guess its still not as nice as sscanf 2013-01-04T18:55:38 < karlp> depends how much of sscanf you need :) 2013-01-04T18:55:41 < Laurenceb> i hardly ever use string functions 2013-01-04T18:55:47 < dongs> hmm 2013-01-04T18:55:52 < dongs> what was that recent dickstarter 2013-01-04T18:55:57 < dongs> for a arm devboard 2013-01-04T18:56:01 < karlp> like, detecting exponents, NaN and -inf and so on 2013-01-04T18:56:01 < dongs> with swd interface on attiny 2013-01-04T18:56:12 < zyp> hmm 2013-01-04T18:56:15 < zyp> forgot 2013-01-04T18:56:28 < zyp> been too much of that shit 2013-01-04T18:56:36 < dongs> no there was something 2013-01-04T18:56:46 < zyp> I know which 2013-01-04T18:56:48 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-04T18:56:49 < dongs> yes 2013-01-04T18:56:53 < dongs> we blogged it in detail 2013-01-04T18:56:53 < Laurenceb> tom66? 2013-01-04T18:56:55 < zyp> galaog 2013-01-04T18:56:58 < zyp> galago 2013-01-04T18:56:58 < dongs> how swd shit was closed sores etc 2013-01-04T18:56:59 < dongs> thtas ut 2013-01-04T18:57:02 < Laurenceb> yes 2013-01-04T18:57:05 < zyp> http://www.kickstarter.com/projects/kuy/galago-make-things-better 2013-01-04T18:57:12 < dongs> http://www.kickstarter.com/projects/kuy/galago-make-things-better 2013-01-04T18:57:20 < dongs> lets see if it shipped yet 2013-01-04T18:57:55 < zyp> «While we're waiting for our circuits to be manufactured, …» is last update 2013-01-04T18:58:06 < zyp> so no. 2013-01-04T18:59:48 < dongs> http://outbreak.co/static/download/perma-ksupdate9-galagopanel.jpg 2013-01-04T18:59:50 < dongs> why is it not enig 2013-01-04T19:00:23 < zyp> people being cheap? :p 2013-01-04T19:00:30 < dongs> Estimated delivery: Nov 2012 2013-01-04T19:00:57 < Laurenceb> *2013 2013-01-04T19:01:18 < dongs> http://www.kickstarter.com/projects/kuy/galago-make-things-better/comments 2013-01-04T19:01:26 < dongs> fucking PJRC scammer blogged there 2013-01-04T19:03:11 < dongs> Kuy, I just backed the smARtDUINO project. They are already partnering with TinyDuino, DigiSpark and freeSoC. Any chance that you will be joining them? 2013-01-04T19:03:52 < Laurenceb> https://github.com/OutbreakInc/Galago/tree/master/Hardware/AppBoards/ArduinoShieldAdaptor 2013-01-04T19:03:53 < Laurenceb> haha 2013-01-04T19:04:33 < dongs> makes sense. 2013-01-04T19:04:34 < zyp> I showed lpc board to a coworker today and mentioned «I haven't had time to write any software for it yet», and he replied «but that's still more than enough to sell it on kickstarter» 2013-01-04T19:05:28 < Laurenceb> https://github.com/OutbreakInc/Galago/blob/master/Hardware/AppBoards/BluetoothAppBoard/photos/BluetoothBoard-0BAC0701-2-large.jpg 2013-01-04T19:05:35 < dongs> zyp: haha 2013-01-04T19:05:38 < Laurenceb> i see they have been on delaextreme 2013-01-04T19:06:50 < zyp> I wonder how detuned that antenna on that module is, sitting like that :p 2013-01-04T19:07:13 < dongs> thats just standard CSRbluetoothe module shit isnt it? 2013-01-04T19:07:13 < zyp> looks like they were sensible enough to cut away the plane underneath it though 2013-01-04T19:08:46 < Laurenceb> should be fairly ok 2013-01-04T19:08:52 < Laurenceb> if they cut the gnd plane 2013-01-04T19:09:01 < Laurenceb> thats how i run my bluetooth modules 2013-01-04T19:09:07 < Laurenceb> https://github.com/OutbreakInc/Galago/blob/master/Hardware/AppBoards/AudioAppBoard/photos/AudioAppBoard-0BAC0602-1-large.jpg 2013-01-04T19:09:07 < dongs> lol 2013-01-04T19:09:14 < Laurenceb> wtf, why no headers 2013-01-04T19:09:20 < dongs> that guy copypasted tarduino VCC switch circuit 2013-01-04T19:09:23 < dongs> wiht opamp and all that shit 2013-01-04T19:09:32 < dongs> why not just use a diode, espeically wiht 3.3V micro 2013-01-04T19:09:47 < Laurenceb> audio board looks retarded 2013-01-04T19:10:02 < dongs> why 2 rows of pins 2013-01-04T19:10:30 < Laurenceb> breakout? 2013-01-04T19:11:02 < Laurenceb> i guess you just cut the end off your headphones and solder on the conductors 2013-01-04T19:11:40 < dongs> zyp: http://portal.fciconnect.com/Comergent//fci/drawing/10118193.pdf 2013-01-04T19:11:43 < dongs> they';re using this connector 2013-01-04T19:12:02 < dongs> hmm, pin spacing is diff 2013-01-04T19:14:38 < dongs> see I like how my through-hole mini-B works with any manufacturer 2013-01-04T19:14:41 < dongs> cuz shit's standard 2013-01-04T19:14:46 < dongs> all this micro crap invents their own shit 2013-01-04T19:14:49 < dongs> failcity. 2013-01-04T19:16:32 < zyp> I think the datasheet for the one I use was talking about adhering to some footprint standard 2013-01-04T19:17:07 < dongs> yeah 2013-01-04T19:17:15 < dongs> some "old" usb-if and 'new' one 2013-01-04T19:17:16 < zyp> hmm 2013-01-04T19:17:27 < zyp> both the one you linked and the one I use is FCI 2013-01-04T19:17:32 < dongs> yeah 2013-01-04T19:17:42 < dongs> but you see the wider pads on the galago one are 6.6mm spacing 2013-01-04T19:17:46 < dongs> yours wwas 5.5 2013-01-04T19:18:17 < dongs> whoa 2am sleeptime 2013-01-04T19:18:38 < zyp> hmm, unit bullshit 2013-01-04T19:19:43 < zyp> no 2013-01-04T19:19:46 < zyp> both have same pitch 2013-01-04T19:20:10 < zyp> or do you mean shield pads? 2013-01-04T19:20:33 < zyp> ah, yeah 2013-01-04T19:20:38 < zyp> that's different 2013-01-04T19:20:42 < karlp> bleh, what's the trick to get gcc to show what the default -I paths are? 2013-01-04T19:21:16 < zyp> compile with -v 2013-01-04T19:21:35 < karlp> oh, that was easy and obvious. 2013-01-04T19:21:45 < karlp> I was mixing up -V 2013-01-04T19:23:31 < karlp> now I _really_ wish I had libopencm3 as a submodule, or frozen which version I was using :) 2013-01-04T19:23:58 < zyp> that's why I've always been advocating submodules ;) 2013-01-04T19:24:32 < karlp> yeah, I want to, and can now, 2013-01-04T19:24:43 < karlp> but I only just got the whole set of projects from svn over to git 2013-01-04T19:38:20 <+Steffanx> Laurenceb, not only DE sells that module. *captain obvious says hi* 2013-01-04T19:40:06 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-01-04T19:40:24 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-04T19:40:25 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-04T19:40:25 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-04T19:40:28 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-04T19:43:05 < zyp> heh, found a typo in lpc4300 manual 2013-01-04T19:43:15 < zyp> somebody forgot a zero in some flash addrs 2013-01-04T19:43:44 < zyp> it says «0x1A0 6000» where it should obviously be «0x1A06 0000» 2013-01-04T19:44:10 < emeb> oops 2013-01-04T19:46:55 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-04T19:53:37 < emeb> zyp: did you see that dongs confirmed no USB in the f373 bootloader? 2013-01-04T19:55:08 < zyp> yep 2013-01-04T19:55:24 < zyp> expected as much when the sizes were that different 2013-01-04T19:55:30 < emeb> indeed 2013-01-04T19:55:35 <+Steffanx> ADA told him emeb ? 2013-01-04T19:55:51 < zyp> IDA 2013-01-04T19:55:57 < emeb> yeah 2013-01-04T19:55:57 <+Steffanx> ida, yeah 2013-01-04T19:56:06 < emeb> looks like a nice tool 2013-01-04T19:56:22 < zyp> I've heard great things about it, but never used it myself 2013-01-04T19:56:23 <+Steffanx> wonder if he paid for it 2013-01-04T19:56:35 <+Steffanx> anyway, ST screwed up? 2013-01-04T19:56:42 <+Steffanx> You told them that yet? :P 2013-01-04T19:56:42 < emeb> I should troll the STM32 forums with that info. :P 2013-01-04T19:59:21 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-04T20:02:30 < emeb> Trolled: https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32F373%20Bootloader¤tviews=128 2013-01-04T20:04:23 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 240 seconds] 2013-01-04T20:04:54 <+Steffanx> trolled by facts .. that's even worse 2013-01-04T20:05:55 < zyp> :) 2013-01-04T20:06:30 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-04T20:07:22 -!- BjoernC [~BjoernC@dyndsl-178-142-054-242.ewe-ip-backbone.de] has joined ##stm32 2013-01-04T20:08:43 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 252 seconds] 2013-01-04T20:15:05 < gxti> awsnap 2013-01-04T20:15:36 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-04T20:18:32 -!- claude is now known as Claude 2013-01-04T20:19:26 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-01-04T20:19:40 <+Steffanx> Anyway, you should sue them emeb :P 2013-01-04T20:19:49 <+Steffanx> They wasted your time 2013-01-04T20:20:01 * zyp sues Steffanx 2013-01-04T20:20:01 < emeb> heh 2013-01-04T20:20:41 <+Steffanx> You are here voluntary zyp 2013-01-04T20:20:58 -!- BjoernC [~BjoernC@dyndsl-178-142-054-242.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-04T20:21:59 < zyp> I'm trying to get the lpc11xx flashing code already present in bmp to work with lpc43xx 2013-01-04T20:34:19 < Laurenceb> http://imagebin.org/index.php?mode=image&id=241733 2013-01-04T20:34:25 < Laurenceb> phonecam focus fail 2013-01-04T20:37:13 < Laurenceb> ive replaced my firgelli L12 with a scratch build linear actuator 2013-01-04T20:43:59 < zyp> flash erase command never returns :/ 2013-01-04T20:51:51 < Laurenceb> bbl 2013-01-04T20:51:53 <+Steffanx> bb 2013-01-04T20:53:39 < zyp> there 2013-01-04T20:53:40 < zyp> http://paste.jvnv.net/view/tP5nE 2013-01-04T20:54:10 <+Steffanx> yay 2013-01-04T20:54:35 < zyp> runs 2013-01-04T20:55:54 < emeb> w00t! 2013-01-04T20:56:12 <+Steffanx> blinky world dominating leds? 2013-01-04T20:57:14 < gxti> swiggity 2013-01-04T20:57:15 < zyp> also has same reset problem here 2013-01-04T21:03:54 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-04T21:04:13 < qyx_> hm, 6KB/s 2013-01-04T21:05:34 <+Steffanx> only a few byte huh 2013-01-04T21:11:27 -!- BjoernC [~BjoernC@dyndsl-178-142-054-242.ewe-ip-backbone.de] has joined ##stm32 2013-01-04T21:11:43 <+Steffanx> !seen izua 2013-01-04T21:11:46 <+Steffanx> hmpf 2013-01-04T21:11:59 <+Steffanx> whao 6 weeks 2013-01-04T21:17:33 < zyp> http://bin.jvnv.net/f/f0l5C.MOV 2013-01-04T21:18:05 < zyp> hmm, shooting it at f/2.8 doesn't give very good DoF :p 2013-01-04T21:19:19 <+Steffanx> mov .. 2013-01-04T21:19:58 <+Steffanx> but yay @ 5 seconds of blinky led 2013-01-04T21:20:14 < zyp> I didn't bother recompressing it 2013-01-04T21:21:08 < zyp> http://bin.jvnv.net/f/cILud.JPG <- pic of added pullup 2013-01-04T21:21:24 <+Steffanx> on reset? 2013-01-04T21:21:27 < zyp> yes 2013-01-04T21:27:11 < TitanMKD> zyp woo the LPC43xx with SDRAM is nice 2013-01-04T21:27:17 < TitanMKD> zyp does it work fine ? 2013-01-04T21:27:32 < zyp> so far 2013-01-04T21:27:59 < ds2> zyp: got it programmed? 2013-01-04T21:28:23 < zyp> just barely, still working on adding support for it to bmp 2013-01-04T21:28:24 < TitanMKD> zyp for info i published dual core management for M4+M0 on LPC43xx for libopencm3 2013-01-04T21:29:54 < zyp> I haven't fixed the sector calculations yet, but it works because this image just lives in sector 0 of the first flash bank :p 2013-01-04T21:30:46 < TitanMKD> hae you are using LPC4357 or similar with embedded flash 2013-01-04T21:31:01 < TitanMKD> will be interesting to check the wait state of that memory 2013-01-04T21:31:37 < zyp> yes, this is 4357 2013-01-04T21:32:11 < zyp> http://bin.jvnv.net/f/Mv7rw.JPG <- text is readable from this angle :p 2013-01-04T21:32:54 < TitanMKD> ha yes great 2013-01-04T21:33:08 < TitanMKD> it was not too hard to solder the BGA ? 2013-01-04T21:33:17 < zyp> not at all 2013-01-04T21:33:21 < TitanMKD> I still have not tested mine ;) 2013-01-04T21:33:29 < TitanMKD> LPC4330 LBGA 256 2013-01-04T21:33:58 < TitanMKD> just soldered with hot plate and flux on all ball before ;) 2013-01-04T21:34:10 < zyp> I used paste and stencil 2013-01-04T21:34:26 < TitanMKD> ha you added paste 2013-01-04T21:34:34 < zyp> of course 2013-01-04T21:35:14 < zyp> why do you think the datasheet lists paste stencil aperture size if you aren't supposed to use paste? :p 2013-01-04T21:35:25 < gxti> a vast conspiracy to sell more solder paste 2013-01-04T21:35:32 < gxti> and sell more chips due to poor yield 2013-01-04T21:35:36 < TitanMKD> it shall be very little paste in that case 2013-01-04T21:37:24 < zyp> of course 2013-01-04T21:37:45 < zyp> http://i.imgur.com/PkJRR.jpg <- dongs took a pic of the one he assembled, after applying paste 2013-01-04T21:38:25 < TitanMKD> it shall requires also a good stencil not a kapton one but stainless steel ? 2013-01-04T21:38:57 < zyp> well, that's what we used. 2013-01-04T21:38:58 < TitanMKD> ha yes very little paste for the ball 2013-01-04T21:39:22 < zyp> but I imagine it might work fine with kapton as well 2013-01-04T21:39:37 < TitanMKD> yes 1mm BGA ball is not the worse ;) 2013-01-04T21:41:28 < TitanMKD> the only bad things on flash version is 2 time less RAM :( 2013-01-04T21:41:42 < zyp> bullshit, I've got over 32MB 2013-01-04T21:41:51 < zyp> :D 2013-01-04T21:41:56 < TitanMKD> yes but SDRAM is not 0 waitstate ;) 2013-01-04T21:42:10 < TitanMKD> at least to execute code ;) 2013-01-04T21:42:29 < zyp> oh well, I'm not too concerned 2013-01-04T21:42:31 < TitanMKD> especially if you want real 0 waitstate code & data you also need to store data in an other bank in internal RAM 2013-01-04T21:42:56 < zyp> my stuff tends to turn out pretty small anyway 2013-01-04T21:43:35 < TitanMKD> IIRC Flash is dual channel ? 2013-01-04T21:43:49 < TitanMKD> to execute code in M4 & M0 in parallel ? 2013-01-04T21:43:49 < zyp> two seperate banks, yes 2013-01-04T21:46:16 < jpa-> doesn't it have cache anyway, so waitstates are not that critical? 2013-01-04T21:46:43 < zyp> haven't seen anything about that 2013-01-04T21:46:56 < TitanMKD> there's like a Flash cache 2013-01-04T21:47:11 < TitanMKD> but not documented 2013-01-04T21:47:22 < jpa-> it would be strange to have sdram without cache 2013-01-04T21:47:38 -!- Claude is now known as claude 2013-01-04T21:47:58 < TitanMKD> anyway with SDRAM it is really interesting 2013-01-04T21:49:00 < TitanMKD> zyp what are you planning to do with this board ? 2013-01-04T21:50:02 <+Steffanx> dual core time machine 2013-01-04T21:50:30 < zyp> TitanMKD, no plans so far, apart from adding lpc support to my lib 2013-01-04T21:51:24 < TitanMKD> and you have a 166MHz SDRAM ;) W9825G6JH-6 really not bad just for less than 3US$ 2013-01-04T21:54:20 < emeb> *blink* 2013-01-04T21:55:31 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 246 seconds] 2013-01-04T22:00:47 < karlp> what was the trick to get gdb to recognize symbol names that were definitions, even if not explicitly used by your program? 2013-01-04T22:04:37 < qyx_> sh 2013-01-04T22:05:03 < qyx_> shmu.sk 2013-01-04T22:05:12 < qyx_> bad window 2013-01-04T22:05:25 <+Steffanx> bad weather 2013-01-04T22:05:49 < qyx_> still raining :S 2013-01-04T22:16:42 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has quit [Read error: Connection reset by peer] 2013-01-04T22:20:35 -!- barthess [~barthess@77.67.225.22] has quit [Quit: Leaving.] 2013-01-04T22:24:34 < karlp> -ggdb3 was the trick 2013-01-04T22:25:13 < karlp> but things keep leaving context :| 2013-01-04T22:34:14 -!- Laurenceb_ [~Laurence@host86-129-128-0.range86-129.btcentralplus.com] has joined ##stm32 2013-01-04T22:41:51 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-04T22:52:25 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has joined ##stm32 2013-01-04T22:58:00 -!- _BJFreeman [~bjfree@196.sub-75-233-39.myvzw.com] has quit [Read error: Connection reset by peer] 2013-01-04T22:58:15 -!- _BJFreeman [~bjfree@196.sub-75-233-39.myvzw.com] has joined ##stm32 2013-01-04T23:05:23 -!- claude is now known as Claude 2013-01-04T23:10:29 -!- Claude is now known as claude 2013-01-04T23:26:14 < Laurenceb_> http://pic.epicfail.com/wp-content/uploads/2012/10/appetizing-cake-fail-baby-shower.jpg 2013-01-04T23:28:27 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-04T23:28:31 <+Steffanx> Im too boring to think that wasn't on purpose Laurenceb_ :P 2013-01-04T23:31:39 -!- Xamuzk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-04T23:35:03 < Laurenceb_> http://pic.epicfail.com/wp-content/uploads/2012/08/epic-appetizing-cake-fail-goatse.jpg 2013-01-04T23:36:44 <+Steffanx> See, people are weird enough to make crap like that 2013-01-04T23:41:23 < emeb> not clicking. 2013-01-04T23:46:38 < Laurenceb_> anyone here used bluetooth piconet? 2013-01-04T23:46:50 < Laurenceb_> im confused by rn-42 user manual 2013-01-04T23:46:54 < Laurenceb_> "Only one client can make connection to FireFly slave at a time. As a master, it is possible to make 2013-01-04T23:46:54 < Laurenceb_> multiple connections from FireFly, but only in a point-to-point, serialized fashion. At this time Roving 2013-01-04T23:46:54 < Laurenceb_> Networks devices do not support multipoint master mode. 2013-01-04T23:46:54 < Laurenceb_> " 2013-01-04T23:47:01 < ds2> oh... piconet as in a product? 2013-01-04T23:47:03 <+Steffanx> just a cake emeb 2013-01-04T23:47:04 < Laurenceb_> so you can do piconet? 2013-01-04T23:47:04 <+Steffanx> pie 2013-01-04T23:47:13 < ds2> or the general bt concept of a piconet? 2013-01-04T23:47:14 < Laurenceb_> piconet is a bluetooth thing 2013-01-04T23:47:24 < Laurenceb_> 1 master, 7 slaves 2013-01-04T23:47:43 < ds2> you usually have to treat it as a multiaccess, non broadcast medium 2013-01-04T23:47:50 < ds2> what profile? 2013-01-04T23:48:21 < Laurenceb_> im not sure 2013-01-04T23:48:31 < ds2> what are you trying to do? 2013-01-04T23:48:42 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-01-04T23:48:44 < Laurenceb_> i want to synchronise several devices 2013-01-04T23:48:56 < ds2> to what degree of accuracy? 2013-01-04T23:49:00 < Laurenceb_> i see you can put an rn-42 into master mode and it can connect to other slaves 2013-01-04T23:49:03 < Laurenceb_> ~100ms 2013-01-04T23:49:25 < ds2> Oh... you want a device with the stack on it already to do this? 2013-01-04T23:49:31 < Laurenceb_> yes 2013-01-04T23:49:38 < ds2> that is a much much harder problem 2013-01-04T23:49:41 < Laurenceb_> roving networks rn-42 is on my board 2013-01-04T23:49:52 < Laurenceb_> im trying to understand the manual 2013-01-04T23:49:52 < ds2> most of what I usually do uses BlueZ on the master 2013-01-04T23:50:25 < ds2> I think what you quoted is saying is - you can do a hub and spoke setup 2013-01-04T23:50:33 < Laurenceb_> ah 2013-01-04T23:50:39 < Laurenceb_> thats what i think i need 2013-01-04T23:50:46 < ds2> i.e. you can have 1 master talking to 7 different virtual serial ports 2013-01-04T23:50:47 < Laurenceb_> one master sets the clock for the slaves 2013-01-04T23:51:02 < ds2> do the RN-42's expose the BT clock? 2013-01-04T23:51:09 < Laurenceb_> no 2013-01-04T23:51:12 < ds2> don't see many devices that do that 2013-01-04T23:51:17 < Laurenceb_> but i only need 100ms or so 2013-01-04T23:51:29 < Laurenceb_> i can see how to discover devices 2013-01-04T23:51:29 < ds2> oh... so you'll need to send out ping messages over each link? 2013-01-04T23:51:33 < Laurenceb_> and connect 2013-01-04T23:51:34 < Laurenceb_> yes 2013-01-04T23:51:53 < Laurenceb_> but once i have the connection, how do i talk to the slave modules? 2013-01-04T23:51:59 < ds2> then the master notion isn't that important except that it will let you connect to 7 other devices 2013-01-04T23:52:05 < Laurenceb_> presumably you exit command mode and talk over serial 2013-01-04T23:52:18 < Laurenceb_> do you talk to all slaves at the same time? 2013-01-04T23:52:20 < ds2> the modules I have seen use AT commands... so it is like a modem 2013-01-04T23:52:37 < ds2> no, you select them one at a time (at least the modules I have seen) 2013-01-04T23:53:36 < ds2> now if you got uCLinux on there running bluez.... ;) 2013-01-04T23:53:59 < Laurenceb_> ah i see 2013-01-04T23:54:04 < Laurenceb_> so you cycle between them 2013-01-04T23:54:09 < ds2> yes 2013-01-04T23:55:46 < Laurenceb_> ok 2013-01-04T23:55:51 < Laurenceb_> good enough for what i need 2013-01-04T23:56:07 < ds2> why BT? 2013-01-04T23:56:16 < ds2> isn't a simple 2.4GHz xceiver easier? 2013-01-04T23:56:18 < Laurenceb_> easier than using cables 2013-01-04T23:56:34 < Laurenceb_> bluetooth is easier to get through EMC testing etc 2013-01-04T23:56:41 < Laurenceb_> i was thinking of IRDA 2013-01-04T23:56:43 < ds2> they have prequalified 2.4GHz modules 2013-01-04T23:56:50 < Laurenceb_> but it looks like it takes too much current 2013-01-04T23:56:58 < ds2> ohh 2013-01-04T23:57:02 < ds2> how far apart are they again? 2013-01-04T23:57:09 < Laurenceb_> ~10cm 2013-01-04T23:57:17 < ds2> oohhh... look at BLE 2013-01-04T23:57:31 < Laurenceb_> i already have boards built with RN-42 on 2013-01-04T23:57:33 < ds2> design for operation from a coin cell 2013-01-04T23:57:36 < ds2> ah 2013-01-04T23:57:39 < Laurenceb_> so its simple to do firmware upgrade --- Day changed Sat Jan 05 2013 2013-01-05T00:02:57 < qyx_> Laurenceb_: wha about simple 802.15.4? 2013-01-05T00:03:33 < qyx_> optimized for power consumption & CE tested modules available for low cost 2013-01-05T00:03:51 < qyx_> and support one-to-many communication 2013-01-05T00:04:03 < Laurenceb_> its for medical stuff 2013-01-05T00:04:11 < Laurenceb_> seems like 10mw @2.4GHz is ok 2013-01-05T00:04:44 < Laurenceb_> its also nice if the users can connect without custom usb kit 2013-01-05T00:05:16 < qyx_> if it is for medical stuff i would avoid bt completely 2013-01-05T00:05:18 < Laurenceb_> using "odd" stuff makes getting approval harder 2013-01-05T00:05:29 < Laurenceb_> seems like its actually ok to use class 2 2013-01-05T00:05:48 < qyx_> it is not deterministic enough and security is worse than poor 2013-01-05T00:06:02 < Laurenceb_> its only clock sync 2013-01-05T00:06:14 < qyx_> hm 2013-01-05T00:06:51 < qyx_> someone will kill people by shifting clocks! 2013-01-05T00:07:29 < Laurenceb_> syncs the RTC on the separate units 2013-01-05T00:09:01 < Laurenceb_> and log the connected units at any time 2013-01-05T00:09:30 < Laurenceb_> so the data can be processed properly without manual records 2013-01-05T00:41:25 < karlp> whee, down to ~550uA run. More to be squeezed, but it's much better than before. 2013-01-05T00:41:40 < karlp> functionally identical to code running at 12mA I wrote earlier 2013-01-05T00:42:03 <+Steffanx> nice 2013-01-05T00:43:44 < emeb> karlp: what you optimizing? 2013-01-05T00:55:36 < karlp> an opencm3 demo for the L1 board. 2013-01-05T00:55:47 < karlp> nothing particularly useful, but I don't hav emy own pcbs back yet. 2013-01-05T00:56:14 < karlp> it blinks a led every second using the rtc, and when you push the user button it times how long you held the button down in ms, and prints it out the uart. 2013-01-05T00:57:10 < karlp> but I think that's about enough for tonight. 2013-01-05T01:06:24 < emeb> nice to get the current down < 1ma. 2013-01-05T01:09:42 < karlp> haven't done any real major tricks yet either. 2013-01-05T01:10:48 < karlp> if I used standby mode and saved some state in the rtc backup regs it should go even lower, but that's getting a bit tedious 2013-01-05T01:10:50 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:e8af:281e:bb75:d094] has joined ##stm32 2013-01-05T01:17:18 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-05T01:20:46 -!- Count_Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Ping timeout: 255 seconds] 2013-01-05T01:30:56 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/] 2013-01-05T01:30:59 < Roklobsta> anyone here using bertos? 2013-01-05T01:32:25 <+Steffanx> I don't. But according to the colour of the link on google i visited that website before :) 2013-01-05T01:33:00 < Roklobsta> i have on atmega1280. works nice. 2013-01-05T01:33:35 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has joined ##stm32 2013-01-05T01:45:17 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-05T01:45:53 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-05T01:46:33 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Client Quit] 2013-01-05T01:46:50 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-05T01:50:24 -!- BjoernC [~BjoernC@dyndsl-178-142-054-242.ewe-ip-backbone.de] has quit [Quit: Konversation terminated!] 2013-01-05T01:54:59 -!- Xamuzk [~Xamusk@187.65.154.201] has quit [Ping timeout: 255 seconds] 2013-01-05T02:06:17 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Quit: Leaving.] 2013-01-05T02:20:52 -!- _BJFreeman [~bjfree@196.sub-75-233-39.myvzw.com] has quit [] 2013-01-05T02:36:01 < dongs> <+Steffanx> I don't. But according to the colour of the link on google i visited that website before :) 2013-01-05T02:36:25 < dongs> Be as in dead macfag-like trash? 2013-01-05T02:37:02 <+Steffanx> Uh can you repeat that in English i understand? 2013-01-05T02:37:18 < dongs> you know BeOS 2013-01-05T02:37:41 <+Steffanx> Oh, i guess so 2013-01-05T02:39:03 < dongs> lets see how nasty their stm32 "library" is 2013-01-05T02:39:12 <+Steffanx> I read it like BertOS :) 2013-01-05T02:39:30 <+Steffanx> Sesam Street FTW 2013-01-05T02:39:35 <+Steffanx> +e 2013-01-05T02:39:40 < dongs> pfft 2013-01-05T02:40:14 <+Steffanx> I know you have better/fancier shit in japland 2013-01-05T02:42:30 < dongs> http://bcas.tv/paste/results/xvfYnC15.html 2013-01-05T02:42:32 < dongs> this is their i2c driver 2013-01-05T02:42:34 < dongs> not impressed 2013-01-05T02:42:50 <+Steffanx> it still lacks spi support? 2013-01-05T02:48:31 < Laurenceb_> zlog 2013-01-05T02:48:31 < zlog> Laurenceb_: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-01-04.html 2013-01-05T02:48:52 < dongs> watcha bloggin for 2013-01-05T02:49:07 < Laurenceb_> looking for my images 2013-01-05T02:49:14 < Laurenceb_> cuz im too lazy to scp 2013-01-05T02:49:16 <+Steffanx> lost them? 2013-01-05T02:49:30 < dongs> too lazy to cp? don't believe 2013-01-05T02:54:28 < Laurenceb_> nvm 2013-01-05T02:54:48 <+Steffanx> lol 2013-01-05T03:00:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 240 seconds] 2013-01-05T03:03:40 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2013-01-05T03:11:07 < dongs> suuuuuuuuuuuuup 2013-01-05T03:11:14 < emeb> hola dongs 2013-01-05T03:12:03 < dongs> bloggin 2013-01-05T03:12:11 < emeb> trolled the ST forum w/ info about missing usb in f373. No response yet. 2013-01-05T03:12:16 < dongs> teehee 2013-01-05T03:12:50 <+Steffanx> You actually expect a response? 2013-01-05T03:12:57 < emeb> Steffanx: not really 2013-01-05T03:13:01 < emeb> but you never know... 2013-01-05T03:13:40 < dongs> is it still in same 373 bootloader thread? 2013-01-05T03:13:49 < emeb> yep 2013-01-05T03:14:05 < emeb> aaand AN2606 still @ rev 14.0 2013-01-05T03:14:21 < emeb> "next week" sheeeya. right. 2013-01-05T03:14:39 < dongs> haha 2013-01-05T03:15:31 < dongs> what doe the little yellow lamp next to your post mean 2013-01-05T03:15:40 < zyp> I was just wondering 2013-01-05T03:15:44 < zyp> it weren't there earlier 2013-01-05T03:15:49 < emeb> got me. 2013-01-05T03:16:02 < emeb> Probably means I'm being monitored for trolling. 2013-01-05T03:16:10 <+Steffanx> lol 2013-01-05T03:16:14 < dongs> likely 2013-01-05T03:16:19 < emeb> as in "this is your first warning" 2013-01-05T03:16:23 < zyp> not some «like» stuff? 2013-01-05T03:16:52 < dongs> emeb: you shoulda mentioned this was done on non-es chips 2013-01-05T03:16:59 < dongs> though not liek that matters 2013-01-05T03:17:08 < emeb> yeah - good point. 2013-01-05T03:17:54 < dongs> next funny will be when st-one32 posts and asks,, "wait, how were you able to read bootloader memory, I thought we locked that..." 2013-01-05T03:18:02 < emeb> lol 2013-01-05T03:18:09 <+Steffanx> It looks more like a "important message"-thingy 2013-01-05T03:18:09 < zyp> :) 2013-01-05T03:18:30 < dongs> seriously though, bootloader in the clear is pretty weird 2013-01-05T03:18:31 <+Steffanx> And why that website is sooo slow 2013-01-05T03:18:34 < dongs> especially if it has backdoors 2013-01-05T03:18:36 < dongs> as most do 2013-01-05T03:18:48 < zyp> dongs, not really 2013-01-05T03:18:51 < dongs> zyp, yes really. 2013-01-05T03:18:55 < Simon--> find any backdoors? 2013-01-05T03:18:55 < zyp> I mean 2013-01-05T03:19:02 < dongs> zyp: they could have something to get back into the chip if its ROP locked etc 2013-01-05T03:19:04 < dongs> via bootloader. 2013-01-05T03:19:27 < dongs> for example, 373 bootloader touches some memory address slightly above flash register block 2013-01-05T03:19:33 < dongs> not documented in RM 2013-01-05T03:20:02 < zyp> if you are gonna call bootloader from your code, you must be able to read reset vector from it so you know where to jump, therefore it must be readable to your code. 2013-01-05T03:20:18 < dongs> Simon--: no but i didnt look mucheither 2013-01-05T03:20:37 < dongs> the fact that F3's peripheral mappings changed from F1 didnt help either - I have fairly complete IDA maps for F1 but none for F2/F3/F4 2013-01-05T03:20:59 < zyp> it's good though, F1 gpio sucks 2013-01-05T03:21:06 < dongs> ya well 2013-01-05T03:21:17 < zyp> everything else I've used have been equal so far 2013-01-05T03:21:30 < zyp> oh, I2C also changed, haven't used that yet 2013-01-05T03:21:36 < dongs> uart, i2c changed 2013-01-05T03:21:53 < dongs> uart can invert rx/tx internally, also DR changed for reading/writing 2013-01-05T03:21:59 < dongs> i tihnk thre's a read and write register nwo 2013-01-05T03:22:01 < dongs> now 2013-01-05T03:22:05 < zyp> that's nice 2013-01-05T03:22:30 < dongs> yeah, can do useless ShitBus stuff without external inverter 2013-01-05T03:22:43 < emeb> wonder who flagged the msg as "important"? 2013-01-05T03:22:47 < emeb> wadn't me. 2013-01-05T03:23:31 < dongs> did you update your blog about it 2013-01-05T03:23:40 < emeb> s/important/helpful/ <- based on labels on next pg up. 2013-01-05T03:23:48 < emeb> dongs: not yet. 2013-01-05T03:27:26 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:e8af:281e:bb75:d094] has quit [Remote host closed the connection] 2013-01-05T03:27:26 -!- Nutter [Nutter@64-46-18-151.dyn.novuscom.net] has quit [Ping timeout: 272 seconds] 2013-01-05T03:30:23 < emeb> updated -> http://ebrombaugh.studionebula.com/embedded/stm32f373breakout/index.html 2013-01-05T03:36:44 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-05T03:41:22 -!- Laurenceb_ [~Laurence@host86-129-128-0.range86-129.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-05T03:42:02 < upgrdman> all nice and smd... then you DEFILED it with the connector and jumper ;-( 2013-01-05T03:42:29 < emeb> yeah - a shame really. 2013-01-05T03:42:50 < dongs> speaking of fail 2013-01-05T03:42:54 < dongs> the galago shit from yesterday 2013-01-05T03:42:59 < emeb> heh 2013-01-05T03:43:06 < upgrdman> link? 2013-01-05T03:43:16 < dongs> http://www.kickstarter.com/projects/kuy/galago-make-things-better/posts 2013-01-05T03:43:16 < emeb> love all the off-axis silk text. 2013-01-05T03:43:18 < dongs> the headers aprt 2013-01-05T03:43:30 < dongs> Take, for example, the pin headers - we custom-ordered Galago's pins to exact specifications so that the pins wouldn't protrude above the circuit board and would only descend below by a precise amount. 2013-01-05T03:43:35 < dongs> guess what 2013-01-05T03:43:38 < dongs> I actually USE sticking out half-part of headers 2013-01-05T03:43:38 < zyp> upgrdman, it's ok, they doesn't protude on the underside anyway 2013-01-05T03:43:45 < dongs> to connect logic analyzer/probe scopes 2013-01-05T03:44:18 < emeb> dongs: yeah - I would too, except my headers are too short. good idea tho 2013-01-05T03:44:29 < upgrdman> WTF??? they're making breakouts for PUSHBUTTONS!!?!?!?!?!!!!!1111 2013-01-05T03:44:41 < emeb> to exacting specifications! 2013-01-05T03:44:47 < dongs> its the arduino way, mang 2013-01-05T03:45:01 < zyp> upgrdman, yeah, because there clearly doesn't exist any pth pushbuttons! 2013-01-05T03:45:08 < emeb> everything that hipsters do is eco-friendly and hand-optimized. 2013-01-05T03:45:54 < upgrdman> maybe they can make some 0805 resistor/cap breakouts. 2013-01-05T03:46:00 < emeb> lol 2013-01-05T03:46:06 < zyp> :D 2013-01-05T03:47:01 < emeb> Would be interesting to get a look at the IDE they're doing. 2013-01-05T03:47:14 < dongs> it looks liek some web-based trash 2013-01-05T03:47:20 < emeb> IMHO that's the hardest part and the main thing that Arduino did right. 2013-01-05T03:48:02 < emeb> dongs: yeah - that localhost URL in the screenshot is a giveaway. 2013-01-05T03:49:00 < zyp> isn't the arduino IDE horrible to anyone that has done any kind of programming with proper tools before? 2013-01-05T03:49:08 < dongs> correct 2013-01-05T03:49:20 < upgrdman> YES 2013-01-05T03:49:32 < emeb> zyp: pretty much, but it does open things up for a huge audience. 2013-01-05T03:49:38 < zyp> but yeah, target audience and all that 2013-01-05T03:49:48 < upgrdman> i can't believe they fixed the tab size to 2 2013-01-05T03:50:01 < upgrdman> and no antialiasing on the fontsd 2013-01-05T03:50:04 < zyp> :p 2013-01-05T03:50:10 < dongs> its java 2013-01-05T03:50:11 < zyp> better than fixing it to 8 2013-01-05T03:50:12 < dongs> what the fuck do you expect 2013-01-05T03:50:30 < upgrdman> i've written a little java. i didnt know you could do fonts WITHOUT aa 2013-01-05T03:50:50 < upgrdman> i wrote minesweeper in a community college java class. 2013-01-05T03:51:10 < zyp> I made a video player in java once 2013-01-05T03:53:00 < upgrdman> i need some SMD 0.1" female headers for a project. $5 each.... damn. 2013-01-05T03:53:06 < zyp> found it 2013-01-05T03:53:08 < zyp> http://paste.jvnv.net/view/tAiOn 2013-01-05T03:53:20 < upgrdman> why can't those qvga lcd assemblies have a SMD friendly connector 2013-01-05T03:53:21 < zyp> dongs is gonna love the name 2013-01-05T03:53:40 < upgrdman> oh... how cute 2013-01-05T03:53:40 < dongs> haha 2013-01-05T03:53:45 < dongs> kawaii zyp 2013-01-05T03:53:52 < emeb> was gonna say... 2013-01-05T03:54:08 < zyp> wonder why I got norwegian comments in it 2013-01-05T03:54:28 < zyp> I never do that in anything resembling something serious 2013-01-05T03:54:31 < dongs> bad zyp bad 2013-01-05T03:54:52 < emeb> indecipherable moonman-speak. 2013-01-05T03:55:27 < zyp> «Should probably put an error message here.» 2013-01-05T03:55:44 < emeb> only if you know how to handle it. 2013-01-05T03:56:20 < zyp> this was for the «introduction to programming» course we had first year in uni :p 2013-01-05T03:57:00 < emeb> I guess you should be glad it wasn't taught in BASIC or pascal... 2013-01-05T03:57:23 < zyp> I asked the prof «are we allowed to use third-party libs?» «sure, just bundle them with the executable» 2013-01-05T03:57:42 < zyp> and then I dropped the built in gui bullshit and went with Qt 2013-01-05T03:57:50 < dongs> my "introduction to programming" course in college was mips asm 2013-01-05T03:58:04 < emeb> serious programming! 2013-01-05T03:58:14 < zyp> had this task where we should make an mp3 player 2013-01-05T03:58:32 < zyp> which was really easy with Qt Phonon, as you can see 2013-01-05T03:58:40 < emeb> heh 2013-01-05T03:58:48 < emeb> hopefully not too easy. 2013-01-05T03:59:03 < emeb> (from the profs POV) 2013-01-05T03:59:08 < zyp> and extending it to a video player was just instancing a VideoWidget and hooking it up to the controller object, so I did that 2013-01-05T03:59:24 < zyp> and that's how it turned into the code I pasted 2013-01-05T03:59:45 < zyp> it was just a bullshit course for people that didn't know shit 2013-01-05T04:00:25 < emeb> and _you_ were taking it because... ? 2013-01-05T04:00:40 < zyp> mandatory for engineering 2013-01-05T04:00:58 < zyp> and hey, pretty much free credits 2013-01-05T04:01:04 < zyp> no reason not to take it 2013-01-05T04:01:19 < emeb> probably dating myself - my 1st semester programming course in college was... (wait for it) Fortran. 2013-01-05T04:01:35 -!- Nutter [~Nutter@199-195-151-246.dyn.novuscom.net] has joined ##stm32 2013-01-05T04:01:37 < zyp> :) 2013-01-05T04:01:45 < emeb> Buy I already knew a few others by then. 2013-01-05T04:01:55 < emeb> it was also required, and useless. 2013-01-05T04:02:35 < emeb> and I've never used Fortran since, except to read code that other engineers wrote. 2013-01-05T04:03:05 < zyp> 02:57:01 < emeb> I guess you should be glad it wasn't taught in BASIC or pascal... 2013-01-05T04:03:15 < emeb> that probably dated me too. 2013-01-05T04:03:16 < zyp> I have indeed touched both basic and pascal in a school setting 2013-01-05T04:04:22 < emeb> I've never used pascal myself. A lot of guys in CS I knew did tho. 2013-01-05T04:04:34 < zyp> hmm, not sure how norwegian school levels translate to english 2013-01-05T04:04:35 < gnomad> it was very popular back in the 1980s 2013-01-05T04:04:42 < zyp> ah 2013-01-05T04:04:43 < zyp> http://en.wikipedia.org/wiki/Education_in_Norway 2013-01-05T04:04:55 < emeb> gnomad: yep. that's about the right timeframe. 2013-01-05T04:04:57 < zyp> so, I started programming in lower secondary or so 2013-01-05T04:05:06 * gnomad learned to program in fortran on punch cards 2013-01-05T04:05:39 < emeb> zyp: yeah I learned BASIC when I was 14, grade 9. 2013-01-05T04:05:40 < zyp> one of the stuff I touched was delphi, which we had a teacher that were lecturing a bit about 2013-01-05T04:05:50 < zyp> and delphi is based on pascal 2013-01-05T04:06:02 < zyp> object pascal or something 2013-01-05T04:06:13 < zyp> didn't really do much with that 2013-01-05T04:06:36 < emeb> gnomad: lol - punchcards. We had a punchard machine in our HS computer lab, but nothing that used 'em. 2013-01-05T04:06:40 < zyp> and in upper secondary we played with basic stamp at some point 2013-01-05T04:06:58 < gnomad> they make great confettii machines 2013-01-05T04:08:23 < emeb> zyp: wow - basic stamp. Not bad. 2013-01-05T04:08:54 < zyp> also, I hate to admit it, but the language I actually learned basic programming with was php :p 2013-01-05T04:09:09 < emeb> wait what? 2013-01-05T04:09:36 < ds2> why pins? 2013-01-05T04:09:41 < ds2> pins are so yesterday 2013-01-05T04:09:57 < emeb> ds2: context pls. 2013-01-05T04:10:13 < ds2> galago/dongs 2013-01-05T04:10:38 < dongs> < zyp> also, I hate to admit it, but the language I actually learned basic programming with was php :p 2013-01-05T04:10:41 < dongs> eww 2013-01-05T04:10:51 < zyp> yep. 2013-01-05T04:10:54 < ds2> spring pins baby! 2013-01-05T04:11:00 < emeb> still haven't figured out how that works. 2013-01-05T04:11:38 < emeb> ds2: why stop there. fahnstock clips. http://www.abbatron.com/index.php?cPath=31_57_86 2013-01-05T04:12:35 < zyp> I remember using php for a while, then I learned a couple of real languages, and realized how horrible php was in comparison 2013-01-05T04:12:53 < emeb> never had the "pleasure" 2013-01-05T04:13:37 < ds2> emeb: no no - this stuff: http://www.tag-connect.com/catalog 2013-01-05T04:13:45 < ds2> not spring terminals 2013-01-05T04:13:59 < emeb> oh - pogo pins. 2013-01-05T04:14:28 < ds2> yeah..that's another way of putting it 2013-01-05T04:14:55 < emeb> what are those little logic analyzer footprints called that use that? 2013-01-05T04:15:00 < ds2> I personally am getting sick of pin headers... 2.54mm, 1.27mm, 2mm, 1mm... ARRRRRRRRRGH is the best description 2013-01-05T04:15:08 < ds2> mictor(sp?)? 2013-01-05T04:15:14 < emeb> that's it 2013-01-05T04:15:29 < emeb> ds2: what do you want to use for interconnects? 2013-01-05T04:15:44 < ds2> right now, pin headers...hence the 'arrrrrggh' 2013-01-05T04:15:52 < ds2> I want to start using those spring pin cables 2013-01-05T04:16:20 < emeb> does that make sense for permanent cabling? 2013-01-05T04:16:25 < zyp> oh, I just reminded myself of the worst php creation I made :D 2013-01-05T04:16:31 < ds2> for perm. I'd solder it in 2013-01-05T04:16:44 < ds2> running into all sorts of stuff with programmer/debug headers 2013-01-05T04:17:00 < ds2> the ez430 stuff likes to use an obscure 0.050 pitched header 2013-01-05T04:17:09 < ds2> beagle uses a mix of 0.050 and 0.1 2013-01-05T04:17:22 < emeb> yep - too many standards 2013-01-05T04:17:28 < emeb> zyp: I'm afraid to ask.. 2013-01-05T04:17:35 < ds2> the absolute worse is the 1mm connectors 2013-01-05T04:17:42 < zyp> I once figured that «hey, why store php scripts in files when I've got a database for all the content? why not store the scripts also in a table?» 2013-01-05T04:17:43 < ds2> they almost fit 0.050 2013-01-05T04:18:09 < ds2> seeing where my hatred of metric is coming from? 2013-01-05T04:18:18 < zyp> so I tried that, by writing a simple bootstrapping script that loaded the requested script from the database and dispatched to that 2013-01-05T04:18:20 < emeb> heh. 2013-01-05T04:18:28 < ds2> think even some guys put out 1.2mm connectors... (not 1.27) 2013-01-05T04:18:30 < zyp> and built some framework around that 2013-01-05T04:18:47 < zyp> so at some point I were actually editing php code in phpmyadmin. 2013-01-05T04:19:12 < emeb> zyp: what's wrong with that? 2013-01-05T04:19:17 * gxti facepalms 2013-01-05T04:19:25 < zyp> emeb, do you have to ask? :p 2013-01-05T04:19:40 < emeb> zyp: I know zilch about php. 2013-01-05T04:20:02 < ds2> OMG :) 2013-01-05T04:20:09 < gnomad> emeb: better that way 2013-01-05T04:20:16 < zyp> true 2013-01-05T04:20:17 < emeb> gnomad: sounds like. 2013-01-05T04:20:35 < zyp> oh well 2013-01-05T04:20:39 < gnomad> i have hated php since 0.92 2013-01-05T04:20:47 < emeb> what's it at now? 2013-01-05T04:20:59 < gnomad> not a clue 2013-01-05T04:21:17 < gnomad> haven't done web dev in 10 years now 2013-01-05T04:21:20 < emeb> ds2: the Stellaris launchpad has a tag-connect footprint on it. 2013-01-05T04:21:22 < zyp> it's not like the overhead mattered at the time, I weren't actually making anything useful 2013-01-05T04:21:39 < zyp> emeb, I think it's for programming the programmer 2013-01-05T04:21:51 < emeb> zyp: so meta. 2013-01-05T04:22:00 < zyp> because the target has jtag lines broken out 2013-01-05T04:22:03 < ds2> emeb: what reason do you have for getting excited about the Stellaris? 2013-01-05T04:22:13 < zyp> the nice led! 2013-01-05T04:22:28 < zyp> that's the best part of the stellaris launchpad. 2013-01-05T04:22:30 < emeb> ds2: no reason. Just happen to have seen that (prolly zyp pointed it out months ago) 2013-01-05T04:22:37 < ds2> ok 2013-01-05T04:22:47 < ds2> just can't seem to get excited about stellaris/luminary 2013-01-05T04:22:53 < zyp> why not? 2013-01-05T04:23:01 < ds2> at least the EFMs claim a nitch (low power)... 2013-01-05T04:23:15 < ds2> Stellaris seems to be overpriced for what it is.. a stm32 can do most of what the stellaris can do 2013-01-05T04:23:48 < dongs> moST? all 2013-01-05T04:23:49 < emeb> faster, cheaper too 2013-01-05T04:23:51 < dongs> and moar 2013-01-05T04:23:52 < zyp> I haven't found anything that significantly sets the stellaris apart from stm32 in either direction 2013-01-05T04:24:24 < ds2> I think the luminary much have simplier packages compared to the stm32 2013-01-05T04:24:38 < ds2> if TI made it a low power M3/M4, I could get excited 2013-01-05T04:24:39 < zyp> I haven't looked at prices though, but it's not really fair to compare prices of products in different stages of ramp-up 2013-01-05T04:25:01 < dongs> http://i.imgur.com/D0pRV.jpg typical japanese activity 2013-01-05T04:25:02 < ds2> TI in general charges a premium on their stuff 2013-01-05T04:25:44 < zyp> I paid less for stellaris launchpads than any discovery boards 2013-01-05T04:25:46 < zyp> oh, wait 2013-01-05T04:25:47 < emeb> dongspawn? 2013-01-05T04:25:53 < zyp> I haven't paid for them. 2013-01-05T04:25:58 < dongs> why>? 2013-01-05T04:26:03 < dongs> paypal shit expired and you never paid? 2013-01-05T04:26:10 < zyp> yes, because it was broken 2013-01-05T04:26:13 < dongs> lol 2013-01-05T04:26:49 < zyp> I tried clicking on the link to go back and enter payment info again, but it just led to a broken page 2013-01-05T04:26:52 < zyp> so I gave up 2013-01-05T04:27:05 < zyp> did it work for you? :p 2013-01-05T04:27:12 < emeb> if they never come after you... 2013-01-05T04:27:14 < dongs> yeah 2013-01-05T04:27:30 < dongs> i followed whatever link was in payment failed email 2013-01-05T04:28:04 < zyp> hmm, gonna check now 2013-01-05T04:29:02 < zyp> «Status: Payment Pending» 2013-01-05T04:29:24 < zyp> ah, they seem to have fixed it 2013-01-05T04:29:32 < emeb> yay, now you can pay. 2013-01-05T04:29:42 < zyp> «Your order has been placed, but it will not be processed until payment is completed.» 2013-01-05T04:29:48 < zyp> wonder if they'll send me two more if I pay 2013-01-05T04:29:59 < dongs> heh 2013-01-05T04:31:00 -!- _BJFreeman [~bjfree@74.sub-75-233-106.myvzw.com] has joined ##stm32 2013-01-05T04:31:12 < emeb> hmm... next thing to try: getting a rotary encoder running on the f373. 2013-01-05T04:31:13 < zyp> «Status: Order Placed, Payment Authorized» 2013-01-05T04:31:45 < emeb> zyp: wonder what would have happened if you'd canceled the order. 2013-01-05T04:32:43 < zyp> shipment info still shows tracking number though, so the system is not too dumb :p 2013-01-05T04:40:49 < _BJFreeman> or those that are hams 2013-01-05T04:41:11 < _BJFreeman> oops nvm 2013-01-05T04:44:18 < emeb> EWRONGCHL 2013-01-05T04:50:53 < dongs> dong channel 2013-01-05T04:51:05 < emeb> http://www.cnx-software.com/2012/12/26/135-armbrix-zero-exynos-5-development-board-is-now-available-for-pre-order/ 2013-01-05T04:52:22 < dongs> mipi 2013-01-05T04:52:33 < dongs> $90? 2013-01-05T04:52:57 < dongs> oh $135. 2013-01-05T04:53:47 < emeb> lotta goodies 2013-01-05T04:54:27 < emeb> too bad no displayport. 2013-01-05T05:07:33 < dongs> oh uh........... 2013-01-05T05:07:36 < dongs> zyp, i just realized 2013-01-05T05:07:52 < dongs> http://www.wvshare.com/column/Accessory_Boards.htm 2013-01-05T05:07:55 < dongs> evry green button there 2013-01-05T05:07:59 < dongs> links to downloads for the board 2013-01-05T05:08:08 < dongs> that has schematic/code/etc. 2013-01-05T05:08:09 < dongs> ugh 2013-01-05T05:08:09 < zyp> oh 2013-01-05T05:08:15 < zyp> never noticed those 2013-01-05T05:08:22 < dongs> no shit 2013-01-05T05:08:24 < dongs> me neither 2013-01-05T05:08:29 < dongs> i was chatting to wvshare chick just nw 2013-01-05T05:08:35 < zyp> sure they're not new? 2013-01-05T05:08:35 < dongs> and shes like... yeah all teh stuff is downloadable im like where? 2013-01-05T05:08:37 < dongs> nope 2013-01-05T05:08:59 < zyp> fucking slow server 2013-01-05T05:09:05 < dongs> tyeah heh 2013-01-05T05:09:26 < dongs> according to date on nandflash.zip they've been tehre since at least may 2012 2013-01-05T05:10:01 < dongs> and notice on scheamtic 2013-01-05T05:10:04 < dongs> its correct 2013-01-05T05:10:09 < dongs> the way my shit is / was wired is fucked 2013-01-05T05:10:34 < zyp> schematic looks just like I figured out my board is wired 2013-01-05T05:10:46 < zyp> R5 is ACT 2013-01-05T05:13:20 < zyp> heh 2013-01-05T05:13:31 < zyp> look at the alternate names for CSx 2013-01-05T05:13:44 < zyp> do they have memory mapped usb/lan shit? 2013-01-05T05:15:33 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-05T05:17:58 < zyp> ft245 and sl811 maybe 2013-01-05T05:30:28 < emeb> wtf? can't do pullups on GPIO pins configured for AF? 2013-01-05T05:32:24 < zyp> sure you can 2013-01-05T05:33:02 < emeb> hmmm. doesn't seem to be working. 2013-01-05T05:33:26 < zyp> according to chapter 8.3 in F3 RM, you can 2013-01-05T05:33:48 < zyp> and I have no reason not to believe that 2013-01-05T05:34:36 < emeb> derp. would help if I called my init func. :P 2013-01-05T05:35:20 < dongs> http://dfu-util.gnumonks.org/ is this steffanx 2013-01-05T05:35:44 < dongs> zyp: according to chapter whatever of F3 RM, F373 has USB bootloader 2013-01-05T05:36:13 < emeb> and it LIES! 2013-01-05T05:36:24 < zyp> well, F303 has, and there is a single document for both. 2013-01-05T05:36:34 < emeb> pu working... 2013-01-05T05:37:53 < emeb> encoder mode not so much - counter incs / decs but very unpredictably. 2013-01-05T05:38:47 < zyp> I wonder if F373 were meant to ship with DFU, but then somebody fucked up when making a new version, and let it pass unnoticed 2013-01-05T05:39:08 < emeb> could be. 2013-01-05T05:39:18 < emeb> in which case we're here to annoy them. :) 2013-01-05T05:40:06 < zyp> «shut up, we're just gonna silently fix this in future batches» 2013-01-05T05:40:09 < zyp> :p 2013-01-05T05:40:42 < emeb> MS calls it "slipstream" 2013-01-05T05:41:07 < zyp> I assume bootloader is written and locked after production, so upgrade it doesn't require any silicon changes 2013-01-05T05:41:35 < emeb> AIUI. Just a change to the production test program prolly. 2013-01-05T05:42:58 < emeb> wonder if it's possible to erase / reflash system memory? 2013-01-05T05:43:06 < zyp> was just thinking about that 2013-01-05T05:43:22 < zyp> may be a secret way to unlock it 2013-01-05T05:43:26 < zyp> unless locking is OTP 2013-01-05T05:43:35 < emeb> yeah 2013-01-05T05:50:32 < zyp> nah, time for sleep 2013-01-05T05:51:07 < emeb> l8r 2013-01-05T06:10:56 < emeb> gotta say I'm not real impressed with encoder mode. 2013-01-05T06:11:21 < emeb> probably need to spend more time studying dox tho. 2013-01-05T06:15:37 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-05T06:15:45 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-05T06:22:17 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-05T06:30:27 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-05T06:47:37 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2013-01-05T06:47:38 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2013-01-05T06:47:38 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-05T06:57:02 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-05T06:57:08 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-05T07:23:39 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-05T07:28:59 -!- jef79m is now known as jef79m_lurking 2013-01-05T07:45:18 -!- BJFreeman [~bjfree@152.sub-75-244-175.myvzw.com] has joined ##stm32 2013-01-05T07:45:41 -!- BJFreeman is now known as Guest24528 2013-01-05T07:47:11 -!- _BJFreeman [~bjfree@74.sub-75-233-106.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-01-05T07:47:17 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-05T07:47:43 -!- Guest24528 [~bjfree@152.sub-75-244-175.myvzw.com] has quit [Client Quit] 2013-01-05T07:47:59 -!- _BJFreeman [~bjfree@152.sub-75-244-175.myvzw.com] has joined ##stm32 2013-01-05T07:50:32 < emeb_mac> yuzu party -> http://s3-ec.buzzfed.com/static/enhanced/webdr02/2012/11/8/14/enhanced-buzz-wide-9830-1352403434-11.jpg 2013-01-05T08:02:21 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-05T08:51:55 -!- _BJFreeman [~bjfree@152.sub-75-244-175.myvzw.com] has quit [] 2013-01-05T08:55:10 -!- Gargantuasauce [~Gargantua@host49-193-static.227-95-b.business.telecomitalia.it] has joined ##stm32 2013-01-05T09:19:34 -!- Gargantuasauce [~Gargantua@host49-193-static.227-95-b.business.telecomitalia.it] has quit [Ping timeout: 272 seconds] 2013-01-05T09:25:06 < qyx_> GC5.5V0.22F IC MODULE DIP SOP LED Transistor Diode PLCC TO QFP Capacitor BGA DO CAN 2013-01-05T09:25:12 < qyx_> what it is supposed to be? 2013-01-05T09:28:25 < qyx_> trial&error :> 2013-01-05T09:35:05 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-05T09:40:30 -!- claude is now known as Claude 2013-01-05T09:55:09 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-05T10:36:53 < jpa-> qyx_: i don't know, but atleast it has a "can do" attitude 2013-01-05T11:37:41 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-05T11:42:38 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-05T11:57:43 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Quit: Rebooting...] 2013-01-05T12:35:57 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has joined ##stm32 2013-01-05T12:35:57 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has quit [Changing host] 2013-01-05T12:35:57 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-05T12:44:29 < dongs> DIODO PLCC 2013-01-05T12:56:05 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Quit: Leaving] 2013-01-05T12:57:52 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has joined ##stm32 2013-01-05T12:57:53 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has quit [Changing host] 2013-01-05T12:57:53 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-05T13:02:20 < Thorn> lpc chips really hate bad solder joins. x_x 2013-01-05T13:03:20 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-05T13:21:47 -!- NonaSuomy is now known as TeknoJuce 2013-01-05T13:22:35 < dongs> you need dongs assembly service 2013-01-05T14:34:12 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-05T14:34:13 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-05T14:34:13 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-05T14:34:16 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-05T14:34:18 -!- daku [DaKu@dakus.dk] has joined ##stm32 2013-01-05T14:39:09 -!- daku is now known as DaKu 2013-01-05T14:46:35 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Remote host closed the connection] 2013-01-05T15:12:42 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T15:12:43 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-05T15:13:02 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T15:13:03 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-05T15:13:25 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T15:13:58 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Read error: Connection reset by peer] 2013-01-05T15:14:20 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-05T15:15:14 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2013-01-05T15:37:27 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-05T16:15:37 -!- Claude is now known as claude 2013-01-05T16:20:30 -!- Laurenceb_ [~Laurence@86.178.5.116] has joined ##stm32 2013-01-05T16:41:44 -!- emeb_mac [~ericb@72.201.78.226] has joined ##stm32 2013-01-05T16:42:09 < emeb_mac> *yawn* 2013-01-05T16:42:20 < jpa-> tired? 2013-01-05T16:42:25 < emeb_mac> waking up 2013-01-05T16:42:44 < zyp> ah, I was just needing you 2013-01-05T16:42:50 < emeb_mac> wassup? 2013-01-05T16:43:13 < zyp> I don't have a program to read the blackmagic.sch files, I want to read the schematic for the original bmp :p 2013-01-05T16:43:35 < emeb_mac> just want a .pdf? 2013-01-05T16:43:41 < zyp> yeah, that would be great 2013-01-05T16:43:49 < emeb_mac> just a sec... 2013-01-05T16:46:58 < emeb_mac> where to put it? got a bin dir on your domain? 2013-01-05T16:47:06 < zyp> bin.jvnv.net works fine 2013-01-05T16:48:00 < emeb_mac> http://bin.jvnv.net/f/zefKR/blackmagic.pdf 2013-01-05T16:48:07 < zyp> thanks 2013-01-05T16:48:33 < emeb_mac> np 2013-01-05T16:49:19 < emeb_mac> funny it doesn't show the mini 10pin conn 2013-01-05T16:49:32 < zyp> no mini 10pin on old one 2013-01-05T16:49:37 < emeb_mac> ah. 2013-01-05T16:49:43 < zyp> I've soldered an adapter board to mine to get one :p 2013-01-05T16:49:57 < emeb_mac> oh. didn't realize yours was customized 2013-01-05T16:50:22 < zyp> I got fed up by having a ribbon cable between them :p 2013-01-05T16:50:32 < emeb_mac> understood 2013-01-05T16:51:12 < zyp> I found out why the target power fet is acting weird 2013-01-05T16:51:26 < zyp> I think… 2013-01-05T16:51:33 < zyp> still looking into that 2013-01-05T16:51:56 < emeb_mac> oh? 2013-01-05T16:53:23 < emeb_mac> another annoying thing about that is sometimes it keeps the bmp2 from properly enumerating. 2013-01-05T16:53:42 < emeb_mac> if the target is powered before you plug in the usb to bmp2 2013-01-05T16:53:52 <+Steffanx> heh 2013-01-05T16:54:48 < emeb_mac> the more I think about it, the more useless that pfet seems. 2013-01-05T16:57:53 < zyp> emeb_mac, wanna try something fun? hook up an unpowered target to a powered bmp, then touch the fet with your finger ;) 2013-01-05T16:58:14 <+Steffanx> black MAGIC probe :P 2013-01-05T16:58:24 < zyp> the firmware is never setting PB1 pin to output, so gate is floating 2013-01-05T16:58:35 < emeb_mac> wtf? 2013-01-05T16:59:17 < zyp> and even if it were set to output, it's still wouldn't behave nicely, because firmware still treats it like JTRST like it is on old bmp 2013-01-05T16:59:53 < emeb_mac> hrm 2013-01-05T17:00:08 < zyp> we can fix this 2013-01-05T17:00:11 < emeb_mac> well I guess that explains why it acts so odd. 2013-01-05T17:00:33 < zyp> yeah 2013-01-05T17:00:48 < zyp> I already suspected it was floating, since behavior was random 2013-01-05T17:01:00 < emeb_mac> yup 2013-01-05T17:01:29 < zyp> but anyway, we can fix it, and add a monitor command to explicitly turn it on, in case we need to drive target from debugger 2013-01-05T17:01:47 < emeb_mac> so, need to detect board version from the straps and alter behavior of that pin. 2013-01-05T17:02:05 < zyp> yeah, well 2013-01-05T17:02:34 < zyp> it's not like JTRST works on old bmp either, since it's never set as output 2013-01-05T17:03:37 < emeb_mac> lol 2013-01-05T17:03:50 < emeb_mac> and it's not even hooked up on bmpm/bmp2 2013-01-05T17:04:00 < zyp> yep 2013-01-05T17:04:02 < emeb_mac> (as jtrst) 2013-01-05T17:04:16 < zyp> oh 2013-01-05T17:04:39 < zyp> now I know why bmp2 didn't detect lpc, I think 2013-01-05T17:04:50 < zyp> gonna test this 2013-01-05T17:05:17 < zyp> yep 2013-01-05T17:06:07 < zyp> jtag is apparently not available when reset line is held low, and bmp2 is not pulling it up 2013-01-05T17:06:26 < zyp> so it didn't work on lpc board without pullup 2013-01-05T17:07:30 < zyp> same problem here, reset pin is not set to output in firmware 2013-01-05T17:09:49 < emeb_mac> urgh. 2013-01-05T17:10:22 < zyp> ah, and the level translator on old bmp got internal pullups on all lines 2013-01-05T17:10:42 < emeb_mac> ding ding - a winner 2013-01-05T17:12:29 < emeb_mac> makes me wonder if the bmp firmware even tries to discern the board rev. 2013-01-05T17:12:35 < emeb_mac> does it even read the straps? 2013-01-05T17:12:45 < zyp> let me check that 2013-01-05T17:14:01 < zyp> yes 2013-01-05T17:14:41 < emeb_mac> that's a start. 2013-01-05T17:15:16 < zyp> it's using hwversion to select whether vref is hooked to ADC or not 2013-01-05T17:16:35 < emeb_mac> OK 2013-01-05T17:16:45 < zyp> oh, and uart is not enabled on bmpm if a debugger is connected, since they share pins 2013-01-05T17:16:52 < emeb_mac> well, I like your idea of a specific cmd to enable the power fet 2013-01-05T17:17:01 < zyp> yep 2013-01-05T17:17:22 < emeb_mac> too bad about the uart 2013-01-05T17:17:31 < zyp> solves all problems, except vref feeding into vcc through the body diode 2013-01-05T17:17:43 < emeb_mac> but we would rarely / ever have debugger attached 2013-01-05T17:18:02 < zyp> and never need uart when debugger is connected :p 2013-01-05T17:21:08 < emeb_mac> right 2013-01-05T17:23:05 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-05T17:23:26 < emeb_mac> Now just need to figure out what exactly the two yellow LEDs mean. 2013-01-05T17:25:24 < zyp> D3 is called LED_IDLE_RUN in firmware 2013-01-05T17:26:18 < emeb_mac> right. sometimes it's dim, sometimes it's bright and sometimes it's blinking. 2013-01-05T17:26:31 < zyp> dim? haven't seen it dim 2013-01-05T17:26:51 < zyp> but yes, it's blinking when it's running, so it makes sense 2013-01-05T17:27:18 < emeb_mac> when I first plug in to USB D3 starts out bright then goes dim. 2013-01-05T17:27:55 < zyp> ah, right 2013-01-05T17:27:55 < emeb_mac> if there's a powered target connected then sometimes D4 lights, sometimes not. 2013-01-05T17:28:37 < emeb_mac> don't know if dim D3 is due to open drain + pullup, or PWM. 2013-01-05T17:29:48 < zyp> I think it's driven in a loop that just iterates fast when no target is connected 2013-01-05T17:30:46 < zyp> the last led is LED_UART, and is used by some functions in the uart interface 2013-01-05T17:31:01 < emeb_mac> aha 2013-01-05T17:31:07 < gxti> so what was the conclusion? i'm actually putting the finishing touches on my own BMP schematic 2013-01-05T17:31:21 < emeb_mac> about what? 2013-01-05T17:31:32 < gxti> pullup shenanigans or whatever 2013-01-05T17:31:45 < zyp> hmm 2013-01-05T17:31:49 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Read error: Operation timed out] 2013-01-05T17:31:55 < emeb_mac> there's nothing wrong with the hardware, but firmware needs to catch up. 2013-01-05T17:32:12 < zyp> LED_UART is apparently on while there is stuff in one of the uart buffers 2013-01-05T17:32:14 < dongs> typical problem with opensauce, no? 2013-01-05T17:32:31 < emeb_mac> :) 2013-01-05T17:32:39 < qyx_> hater 2013-01-05T17:32:47 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-05T17:32:57 < zyp> dongs, the nice part about it is that I'm able to fix it myself. 2013-01-05T17:33:00 < dongs> ntfreak: tell those LAZY SCUMBAGS at ST to update AN2606 2013-01-05T17:33:23 < emeb_mac> HW / SW out of sync is pretty common everywhere. 2013-01-05T17:33:41 < emeb_mac> I could tell you stories about some of the places I've worked... 2013-01-05T17:33:54 <+Steffanx> No we have baird for stories :P 2013-01-05T17:34:11 <+Steffanx> but he left again 2013-01-05T17:34:28 < emeb_mac> The important thing was I had an onion on my belt, which was the style at the time. 2013-01-05T17:34:52 < BrainDamage> emeb_mac: Attack ships on fire off the shoulder of Orion? C-beams glitter in the dark near the Tannhauser gate? 2013-01-05T17:35:15 < emeb_mac> All these moments will be lost in time, like tears in rain. 2013-01-05T17:35:25 < gxti> touching. 2013-01-05T17:35:29 < emeb_mac> hater 2013-01-05T17:36:37 <+Steffanx> It's Tannhäuser not hauser 2013-01-05T17:37:06 < emeb_mac> Us poor USians don't have umlauts on our kbds. 2013-01-05T17:37:20 < gxti> damnit this is IRC not one of your fruity unicode opium dens. ASCII or GTFO. 2013-01-05T17:37:24 <+Steffanx> BrainDamage is not a yankeelander 2013-01-05T17:37:43 <+Steffanx> Just enabled 'dead keys' emeb_mac 2013-01-05T17:37:45 <+Steffanx> -d 2013-01-05T17:37:50 < qyx_> gxti: everyone uses utf8 of course 2013-01-05T17:37:53 < emeb_mac> then there's no excuse 2013-01-05T17:37:54 < BrainDamage> my keyb layout lacks umlauts as well, and the imdb article didn't have umlauts on the name either :/ 2013-01-05T17:37:57 < gxti> yeah me too ;p 2013-01-05T17:38:12 < BrainDamage> http://www.imdb.com/title/tt0083658/quotes?qt=qt0378266 2013-01-05T17:38:44 < emeb_mac> is imdb still hosted in Swansea? 2013-01-05T17:39:30 < emeb_mac> Steffanx: Rutger Hauer is Dutch, no? 2013-01-05T17:39:33 <+Steffanx> thYes 2013-01-05T17:42:10 < emeb_mac> Split Second is pretty good too. 2013-01-05T17:42:17 < zyp> wtf 2013-01-05T17:42:28 < zyp> you can't have opendrain with pullup on F1? 2013-01-05T17:42:52 < emeb_mac> ???! 2013-01-05T17:45:27 < zyp> you can only optionally enable pullup in input mode, and in that case it pulls according to value in output value 2013-01-05T17:45:41 < emeb_mac> lame 2013-01-05T17:46:04 < zyp> yep 2013-01-05T17:46:14 < qyx_> zyp: i think you can't, i had the same problem 2013-01-05T17:46:39 < qyx_> with i2c pullups 2013-01-05T17:46:54 < zyp> and I can't go and drive the reset line in push-pull mode either, because it can be pulled low by other shit 2013-01-05T17:46:57 < zyp> :p 2013-01-05T17:47:29 < zyp> but oh well, just have to rely on the target having a proper pullup on reset then, no big deal :p 2013-01-05T17:48:03 < gxti> or just switch between input pullup and output low? 2013-01-05T17:48:21 < zyp> nah, that's too much work :p 2013-01-05T17:48:27 < emeb_mac> lol 2013-01-05T17:48:39 < emeb_mac> software emulated OD 2013-01-05T17:48:44 < qyx_> it is solution here, but not with i2c for example 2013-01-05T17:49:04 < gxti> you can't really rely in builtin pullups for i2c anyway, can you? 2013-01-05T17:49:07 < emeb_mac> on-chip pullups are prolly way too weak for I2C 2013-01-05T17:49:49 < qyx_> gxti: sometimes yes, i usually use internal pullups in i2c on avr if slow speed is sufficient 2013-01-05T17:50:26 < zyp> I've also done that 2013-01-05T17:57:55 -!- barthess [~barthess@5.100.220.231] has joined ##stm32 2013-01-05T17:58:00 -!- barthess [~barthess@5.100.220.231] has quit [Client Quit] 2013-01-05T18:01:53 < zyp> hmm 2013-01-05T18:02:39 < zyp> fixing the firmware so the reset pulse get output makes bmp able to reset lpc properly 2013-01-05T18:02:48 < zyp> still loses connection though 2013-01-05T18:06:49 -!- |sark [~|sark@37.247.88.155] has quit [Read error: Connection reset by peer] 2013-01-05T18:07:15 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-05T18:11:18 < zyp> made a workaround for that 2013-01-05T18:12:14 < zyp> added a monitor command to send a reset, so now I can have an alias that detaches, pulses reset, then reattaches 2013-01-05T18:12:55 <+Steffanx> yay 2013-01-05T18:14:50 < zyp> hmm 2013-01-05T18:15:45 < Thorn> I have separated swd from uart in my black magic variant 2013-01-05T18:16:22 < zyp> I wonder if jtag/swd not being available when reset is asserted is a hardware bug 2013-01-05T18:20:56 < Thorn> what is gnd_detect in the cortex debug connector btw? 2013-01-05T18:21:26 < zyp> it's gnd. 2013-01-05T18:21:56 < zyp> intention is that debugger can hook it to a input with pullup to see if target is connected or not 2013-01-05T18:23:08 < Thorn> why is BMP using Vcc for that then. 2013-01-05T18:44:43 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2013-01-05T18:44:43 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2013-01-05T18:44:43 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-05T18:45:15 < gxti> Thorn: because it's not? 2013-01-05T18:46:41 < Thorn> T_PWR goes into PB0 (adc input) through a divider 2013-01-05T18:47:25 < gxti> oh, i misunderstood 2013-01-05T18:47:37 < gxti> thought you meant they shorted vcc to the pin that was supposed to be gnd det 2013-01-05T18:48:10 < gxti> checking for vcc is more meaningful anyway, i guess 2013-01-05T18:53:57 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-05T18:56:46 -!- Gargantuasauce [~Gargantua@173.91.71.86.rev.sfr.net] has joined ##stm32 2013-01-05T19:00:50 -!- emeb_mac [~ericb@72.201.78.226] has quit [Quit: emeb_mac] 2013-01-05T19:23:08 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-05T19:26:56 <+Steffanx> dongs is gone i guess? 2013-01-05T19:28:21 < zyp> probably 2013-01-05T19:36:31 < Tectu> This guy.... this guy.... http://hackaday.com/2013/01/05/brute-forcing-a-gps-pin/ 2013-01-05T19:37:32 < gxti> hnnngggg 2013-01-05T19:40:33 < Thorn> reminds me of my python scripts to rename a bunch of files that take 3 times as much to write as doing it manually would take 2013-01-05T19:50:08 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 252 seconds] 2013-01-05T19:59:26 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-05T20:02:56 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-05T20:07:16 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-05T20:30:49 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T20:30:49 -!- _BJFreeman [~bjfree@26.sub-75-233-212.myvzw.com] has joined ##stm32 2013-01-05T20:30:50 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-05T20:31:37 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T20:31:38 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-05T20:31:57 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T20:31:58 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-05T20:32:16 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T20:32:17 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-05T20:32:35 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T20:32:36 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-05T20:32:53 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T20:32:54 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-05T20:33:12 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T20:33:12 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-05T20:33:31 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-05T20:34:05 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2013-01-05T21:20:02 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-05T21:22:07 -!- emeb_droid [~androirc@216-64-190-18.static.twtelecom.net] has joined ##stm32 2013-01-05T21:24:45 < emeb_droid> Zlog 2013-01-05T21:26:07 <+Steffanx> zlog !! 2013-01-05T21:26:07 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-01-05.html 2013-01-05T21:26:19 <+Steffanx> haha case sensitive 2013-01-05T21:27:23 < emeb_droid> Stupid auto caps on this app... 2013-01-05T21:34:18 < Thorn> what gcc switches do I need to compile for m0? 2013-01-05T21:34:36 < zippe> Thorn: which distribution? 2013-01-05T21:34:47 < zyp> Thorn, https://launchpadlibrarian.net/126639247/readme.txt <-- see table here 2013-01-05T21:34:58 < zippe> Thorn: it depends a little on which multilibs 2013-01-05T21:35:13 < Thorn> sourcery 2013-01-05T21:35:35 < zippe> Hm, what does 'arm-none-eabi-gcc -print-multi-lib' show for armv6-m? 2013-01-05T21:36:10 < zippe> You can try -march=armv6-m -mthumb 2013-01-05T21:36:16 < Thorn> armv6-m;@mthumb@march=armv6-m 2013-01-05T21:36:45 < Thorn> nice table, needs to be in the wiki 2013-01-05T21:36:49 < Thorn> thanks 2013-01-05T21:37:01 < zippe> Well, it's in the readme from the ARM toolchain 2013-01-05T21:37:21 < Thorn> wiki doesn't load here btw 2013-01-05T21:37:45 < Thorn> for at least a few hours already iirc 2013-01-05T21:38:01 < qyx_> wikipedia? 2013-01-05T21:38:10 < Thorn> http://stm32.izua.ro/ 2013-01-05T21:38:39 < qyx_> ah, same here 2013-01-05T21:39:09 < Thorn> I did offer to host it when it was being discussed. 2013-01-05T21:39:47 <+Steffanx> izua .. 2013-01-05T21:40:29 < Thorn> where is he. 2013-01-05T21:40:47 <+Steffanx> dunno 2013-01-05T21:40:53 <+Steffanx> he is gone for 6 weeks now :) 2013-01-05T21:41:07 < qyx_> i also could if hosting is problem 2013-01-05T21:41:19 < Thorn> most edits there were mine 2013-01-05T21:41:27 < Thorn> wtf. 2013-01-05T21:41:31 < qyx_> hh 2013-01-05T21:41:31 <+Steffanx> for sure :P 2013-01-05T21:42:22 < jpa-> i quite much expected this :) 2013-01-05T21:42:38 < qyx_> what this 2013-01-05T21:42:40 < jpa-> always scary to invest time on a wiki that will disappear sooner than later 2013-01-05T21:43:30 < qyx_> wiki of such kind should offer public backups maybe 2013-01-05T21:43:50 <+Steffanx> blabla jpa- :P 2013-01-05T21:44:39 < jpa-> Steffanx: go fix it 2013-01-05T21:44:46 <+Steffanx> i cant fix his server 2013-01-05T21:44:58 < jpa-> you can make him fix it :) 2013-01-05T21:45:12 <+Steffanx> i dont have this phone number 2013-01-05T21:46:00 < BrainDamage> but you have very intimate pictures that can make him collaborate 2013-01-05T21:47:36 <+Steffanx> Sure BrainDamage in your dreams 2013-01-05T21:47:47 -!- emeb_droid [~androirc@216-64-190-18.static.twtelecom.net] has quit [Ping timeout: 255 seconds] 2013-01-05T21:48:19 <+Steffanx> Of course it is possible izua didnt pay for his vps 2013-01-05T21:50:27 < Thorn> btw, SystemInit() from NXP waits forever until the external oscillator starts up, just as expected. 2013-01-05T21:56:11 < zyp> Steffanx, I got his addr, wanna go on a road trip to go see how he is? 2013-01-05T21:56:32 <+Steffanx> No, i'm not THAT crazy 2013-01-05T21:56:39 < zyp> you are almost on the way, so I can drive by and pick you up 2013-01-05T21:56:44 < zyp> :D 2013-01-05T21:56:59 <+Steffanx> on the way… 2013-01-05T21:57:28 < zyp> well, I would be driving through germany 2013-01-05T21:57:36 < zyp> nl can't be that much of a detour then :p 2013-01-05T21:57:44 <+Steffanx> Germany is isn't THAT small 2013-01-05T21:59:01 < zyp> so what? 2013-01-05T21:59:29 <+Steffanx> Let me see how far it is 2013-01-05T22:00:11 < qyx_> ro is not that far from here 2013-01-05T22:00:38 <+Steffanx> oh not that bad zyp 2013-01-05T22:00:41 <+Steffanx> only 300km extra 2013-01-05T22:00:48 <+Steffanx> 2888 vs 2500 2013-01-05T22:01:28 < zyp> :p 2013-01-05T22:01:52 < qyx_> its only 500km to romania border from here 2013-01-05T22:02:00 < qyx_> hm 2013-01-05T22:02:10 < zyp> qyx_, ok, then you'll have to go check on him 2013-01-05T22:02:34 < qyx_> No. 2013-01-05T22:02:39 <+Steffanx> Yes. 2013-01-05T22:03:16 <+Steffanx> He 'owns' this channel, so you cannot say No. 2013-01-05T22:03:24 < jpa-> maybe we should snail-mail him a complaint 2013-01-05T22:03:45 <+Steffanx> We can send a postcard :D 2013-01-05T22:04:22 < BrainDamage> if you guys warned me few days ago while travelling eu, I could've taken a detour for free 2013-01-05T22:05:05 < qyx_> you can travel again if you liked it 2013-01-05T22:05:27 < gxti> good thing i don't live in europe, never want to meet any of you assclowns 2013-01-05T22:05:48 <+Steffanx> You can say hello to emeb* 2013-01-05T22:06:45 <+Steffanx> Or we can have a party on facebook. Let me find your account 2013-01-05T22:06:58 < gxti> glwt 2013-01-05T22:07:09 <+Steffanx> Aw, many have your name 2013-01-05T22:09:00 < zyp> I might already have unknowingly crossed paths with dongs 2013-01-05T22:09:21 <+Steffanx> It's all you needed 2013-01-05T22:09:25 < zyp> considering how he was in tokyo one of the days I were in tokyo last summer 2013-01-05T22:11:19 <+Steffanx> I think he was the weirdest guy you've seen there 2013-01-05T22:11:49 <+Steffanx> The guy in the mirror doesnt count 2013-01-05T22:11:57 < gxti> snap 2013-01-05T22:12:07 < qyx_> i think all japan guys looks same 2013-01-05T22:19:00 -!- Xamuzk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-05T22:23:03 -!- emeb_droid [~androirc@wsip-24-249-170-169.ph.ph.cox.net] has joined ##stm32 2013-01-05T22:31:15 -!- betovar1 [~Adium@adsl-98-64-169-145.mia.bellsouth.net] has joined ##stm32 2013-01-05T22:32:13 -!- betovar [~Adium@adsl-98-64-28-78.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-05T22:45:10 -!- emeb_droid [~androirc@wsip-24-249-170-169.ph.ph.cox.net] has quit [Ping timeout: 272 seconds] 2013-01-05T22:53:11 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-05T22:53:19 -!- Xamuzk [~Xamusk@187.65.154.201] has quit [Quit: Leaving] 2013-01-05T22:53:45 -!- emeb_droid [~androirc@wsip-24-249-170-169.ph.ph.cox.net] has joined ##stm32 2013-01-05T23:09:47 -!- emeb_droid [~androirc@wsip-24-249-170-169.ph.ph.cox.net] has quit [Ping timeout: 255 seconds] 2013-01-05T23:15:05 -!- emeb_droid [~androirc@216-64-190-18.static.twtelecom.net] has joined ##stm32 2013-01-05T23:37:55 -!- emeb_droid [~androirc@216-64-190-18.static.twtelecom.net] has quit [Read error: Connection reset by peer] 2013-01-05T23:50:39 -!- emeb_droid [~androirc@216-64-190-18.static.twtelecom.net] has joined ##stm32 2013-01-05T23:55:40 -!- emeb_droid [~androirc@216-64-190-18.static.twtelecom.net] has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )] --- Day changed Sun Jan 06 2013 2013-01-06T00:55:45 <+Steffanx> What does flyback has to hide? 2013-01-06T00:58:56 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-06T01:02:59 -!- Xamuzk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-06T01:06:15 < Laurenceb_> sup 2013-01-06T01:06:27 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 255 seconds] 2013-01-06T01:06:30 * Laurenceb_ is designing some crazy ghetto kit 2013-01-06T01:06:57 < Laurenceb_> IRDA running ontop of TV remote kit 2013-01-06T01:07:09 < Laurenceb_> that plugs into the JTAG header on my boards 2013-01-06T01:08:34 <+Steffanx> :S 2013-01-06T01:11:41 < BrainDamage> is it CE approved? 2013-01-06T01:16:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-06T01:19:14 < Laurenceb_> it has to be 2013-01-06T01:19:30 < Laurenceb_> board is atm 2013-01-06T01:20:25 < Laurenceb_> i need to setup a multiple unit network 2013-01-06T01:20:48 < Laurenceb_> infrared looks like it should work, but IRDA is too current hungry 2013-01-06T01:21:52 < Laurenceb_> ill need a 7555 timer to modulate the carrier :P 2013-01-06T01:23:04 < Laurenceb_> bbl 2013-01-06T01:23:28 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-06T01:46:04 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Ping timeout: 246 seconds] 2013-01-06T01:51:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-01-06T02:26:55 < dongs> January 5, 2013 at 8:16 am 2013-01-06T02:26:55 < dongs> if he hacked the servo to act as a motor with gearbox that would be a hack, but now it’s just a (pretty ghetto) device. 2013-01-06T02:26:59 < dongs> haha 2013-01-06T02:46:28 -!- Laurenceb_ [~Laurence@86.178.5.116] has quit [Ping timeout: 272 seconds] 2013-01-06T02:49:34 -!- DaKu is now known as daku 2013-01-06T03:08:21 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 245 seconds] 2013-01-06T03:13:30 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-06T03:16:30 < emeb_mac> sup y'all 2013-01-06T03:25:02 < dongs> its blog time 2013-01-06T03:26:31 < emeb_mac> w00t - bloggin the blogs 2013-01-06T03:29:58 < emeb_mac> heh - 147 views for the f373 post on STM32 forum. More than any others since 1-3-13. 2013-01-06T03:41:45 < dongs> hahaa 2013-01-06T03:44:43 < dongs> *** no Politics or Religious discussions. 2013-01-06T03:45:07 < emeb_mac> I guess "no pr0n" is implicit. 2013-01-06T03:56:44 -!- Xamuzk is now known as Xamusk 2013-01-06T04:07:49 -!- _BJFreeman [~bjfree@26.sub-75-233-212.myvzw.com] has quit [Ping timeout: 246 seconds] 2013-01-06T04:41:16 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-06T04:41:31 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-06T04:41:31 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-06T04:41:39 -!- dfletcher is now known as drgreenthumb 2013-01-06T05:03:43 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 260 seconds] 2013-01-06T05:04:33 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-06T05:04:38 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-06T05:04:52 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-06T05:05:04 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-06T06:11:17 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-06T06:36:49 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-01-06T06:40:13 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-06T06:55:01 < emeb_mac> encoder seems to work now. helps to set up prescaler & filters correctly. 2013-01-06T06:55:29 < emeb_mac> ST example code makes no sense at all. 2013-01-06T06:56:05 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-06T06:56:12 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-06T07:01:12 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-06T07:18:17 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-06T08:12:02 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 255 seconds] 2013-01-06T08:30:00 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2013-01-06T08:30:56 -!- upgrdman_ [~upgrdman_@cpe-72-130-43-158.socal.res.rr.com] has joined ##stm32 2013-01-06T08:33:38 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-06T08:53:11 -!- _BJFreeman [~bjfree@177.sub-75-233-92.myvzw.com] has joined ##stm32 2013-01-06T08:55:54 -!- upgrdman_ [~upgrdman_@cpe-72-130-43-158.socal.res.rr.com] has quit [Ping timeout: 264 seconds] 2013-01-06T09:11:59 < dongs> st example code, and especially doxygen comments, are fucking useless. 2013-01-06T09:12:22 < dongs> their function comments are like "i++; // increment i" 2013-01-06T09:12:55 < zippe> dongs: you're one to talk. 8) 2013-01-06T09:13:26 < dongs> o'rly? 2013-01-06T09:15:00 < _BJFreeman> doxygen only annotates what is already there, so it is the programmers that state the obvious 2013-01-06T09:15:57 < _BJFreeman> not best practices in coding 2013-01-06T09:32:29 -!- betovar [~Adium@adsl-74-233-236-4.mia.bellsouth.net] has joined ##stm32 2013-01-06T09:33:03 -!- betovar1 [~Adium@adsl-98-64-169-145.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-06T10:00:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-06T10:04:49 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-06T10:45:42 -!- Gargantuasauce [~Gargantua@173.91.71.86.rev.sfr.net] has quit [Ping timeout: 264 seconds] 2013-01-06T11:01:50 -!- claude is now known as Claude 2013-01-06T11:08:01 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-06T11:09:31 -!- ecips [~Ecips@220-245-23-214.static.tpgi.com.au] has joined ##stm32 2013-01-06T11:09:42 < ecips> Hello all! 2013-01-06T11:10:49 < ecips> Does anyone have any brilliant ideas in relation to obtaining an isolated DC power supply? - very little current required. 2013-01-06T11:11:03 < ecips> I dont want to spend $10 on a isolated DC-DC converter module. 2013-01-06T11:11:25 -!- juerg [~juerg@213.196.179.39] has joined ##stm32 2013-01-06T11:11:52 < jpa-> ecips: small transformer and square wave from any source (like timer output pin) 2013-01-06T11:13:34 < juerg> Hi, bought a open107V board made by WaveShare but can not figure out how to connect to it (w8 PC 64 bit). Anybody using such a board? 2013-01-06T11:13:44 -!- _BJFreeman [~bjfree@177.sub-75-233-92.myvzw.com] has quit [] 2013-01-06T11:13:47 < ecips> jpa-: Could you point me at a schematic/any resources? 2013-01-06T11:14:22 < BrainDamage> https://en.wikipedia.org/wiki/Flyback_converter 2013-01-06T11:14:39 < ecips> juerg: At a wild guess - it doesnt have properly signed drivers, and you will need to boot Win8 into a special mode to install the driver. 2013-01-06T11:15:29 < ecips> BrainDamage: I was hoping someone had a nasty hack that could give me a few mA :) 2013-01-06T11:15:40 < jpa-> ecips: not really.. square wave -> transformer -> diode -> capacitor (-> regulator if you want) 2013-01-06T11:15:45 < juerg> ecips: thanks, my PC is in that mode but - what driver? I got a DVD full of stuff but no "getting started" 2013-01-06T11:16:00 < ecips> juerg: Look on the DVD 2013-01-06T11:16:01 < jpa-> basically a flyback converter anyway, but you can make one on the cheap 2013-01-06T11:16:04 < ecips> is there a drivers folder? 2013-01-06T11:16:08 < dongs> < juerg> Hi, bought a open107V board made by WaveShare but can not figure out how to connect to it (w8 PC 64 bit). Anybody 2013-01-06T11:16:12 < dongs> using such a board? 2013-01-06T11:16:14 < dongs> juerg: "how to connect"? what do you mean? 2013-01-06T11:16:22 < dongs> power it, plug in your jtag/swd adapter. start coding 2013-01-06T11:16:31 < BrainDamage> you could also use a capacitive divider driven by a squarewave, but it'd be really really shitty 2013-01-06T11:16:38 < jpa-> ecips: i think you could mod a joule thief to be isolated :P 2013-01-06T11:16:50 < jpa-> BrainDamage: and not really isolated? 2013-01-06T11:17:01 < ecips> Hmm, I've got a couple of JT's 2013-01-06T11:17:04 < juerg> dongs: I have the board connected thru usb but the device does not get recognized 2013-01-06T11:17:04 < dongs> ecips: it doesnt need any drivers 2013-01-06T11:17:12 < BrainDamage> jpa-: you can make it isolated 2013-01-06T11:17:15 < dongs> juerg: why would it be? did you write firmware that uses USB port? 2013-01-06T11:17:19 < BrainDamage> just with few caps 2013-01-06T11:17:20 < ecips> dongs: Ok - I've never seen one :) 2013-01-06T11:17:34 < ecips> Assumed it was like my launchpads 2013-01-06T11:17:40 < ecips> with built in debugger 2013-01-06T11:17:47 < dongs> no, it has a standard 20pin arm debug connector 2013-01-06T11:17:56 < dongs> so you can use it with jlink/stlink/ulink whatever 2013-01-06T11:18:02 < dongs> (or even BMP) 2013-01-06T11:18:05 < BrainDamage> jpa-: 3 caps and the mid one is already isolated from the others 2013-01-06T11:18:08 < ecips> Note: Open107V Standard includes only ONE accessory board -- PL2303 USB UART Board (mini). 2013-01-06T11:18:28 < dongs> waveshare doesnt sell debuggers (except maybe genuine STLink) 2013-01-06T11:18:29 < ecips> Sounds like you need Prolific drivers 2013-01-06T11:18:34 < jpa-> BrainDamage: isolated for DC, but not that well isolated for AC 2013-01-06T11:18:41 < dongs> ecips: thats for a separate usb>serial board. 2013-01-06T11:18:47 < BrainDamage> jpa-: neither would be a transformer then 2013-01-06T11:18:49 < juerg> dongs: but how will my pc be able to send something to it. when powered up the board flashed led's so there must be something running? 2013-01-06T11:18:50 < dongs> there's a onboard USB socket thats connected to F107. 2013-01-06T11:19:00 < dongs> juerg: yes, that something doesn't use USB. 2013-01-06T11:19:19 < dongs> juerg: you "send" something to it with debugger (stlink/etc), or use the included PL2303 dongle and bulit in ROM bootloader to flash code. 2013-01-06T11:19:59 < dongs> there's a boot jumper, short that, then use "Flash Loader Demonstrator" from ST to load up .hex files. 2013-01-06T11:20:19 < dongs> Of course you can't debug anything in that mode, so you better be getting a proper jtag/debugger dongle. 2013-01-06T11:21:11 < juerg> dongs: it has 2 boot jumpers that allow to boot from flash, sys or sram? 2013-01-06T11:21:18 < dongs> juerg: the onboard USB port is connected directly to STM32. unless you write some code that makes it appear as HID/Disk Drive/Serialport/whatever, it'll just keep coming up as "unrecognized device" 2013-01-06T11:21:26 < dongs> juerg: yeah, that one. 2013-01-06T11:21:37 < dongs> you only care about boot0 really, flash or sys. 2013-01-06T11:21:54 < dongs> set it to sys, power hte board up, and connect pl2303 accessory board to uart1. 2013-01-06T11:21:58 < dongs> then you can flash your new firmware on it. 2013-01-06T11:28:28 < juerg> dongs: thanks, done that. It shows now a non working prolific USB to Serial commm port in my device list. but first - what program do I run on the pc? 2013-01-06T11:29:23 < qyx_> 10:19 < dongs> there's a boot jumper, short that, then use "Flash Loader Demonstrator" from ST to load up .hex files. 2013-01-06T11:36:59 < juerg> qyx_: set the jumpers to boot0-1 and boot1-0 which says it will boot from sys. Flash Loader Demonstrator show only COM1 in the port list but I am on COM3? 2013-01-06T11:37:10 < jpa-> what is the most useless register on stm32f1? i need something to detect power-on-reset without hooking the reset handler 2013-01-06T11:38:14 < dongs> jpa-: ? why not use BKP ram? 2013-01-06T11:38:35 < jpa-> dongs: no separate vbat supply 2013-01-06T11:38:51 < qyx_> jpa-: chip id 2013-01-06T11:38:52 < qyx_> ah 2013-01-06T11:38:54 < dongs> why does that matter? 2013-01-06T11:38:54 < qyx_> ok, nevermind 2013-01-06T11:39:14 < jpa-> i was thinking about setting a bit in some register, and if it resets to default value i know this is the first call after power-up 2013-01-06T11:39:19 < qyx_> juerg: have you installed pl2303 drivers? 2013-01-06T11:39:48 < dongs> jpa-: oh. 2013-01-06T11:42:10 < qyx_> jpa-: any unused counter? 2013-01-06T11:42:38 < juerg> qyz_: I have attached the pl2303 board and plugged my usb on that. that motivated my w8 to show it as a device at COM3 but with a warning sign. Where would that driver have to go and where would I find such a driver? 2013-01-06T11:43:12 < jpa-> qyx_: i would like to not tie any important peripheral to this purpose :P 2013-01-06T11:44:07 < juerg> qyx_: so how am I supposed to get a working configuration with my pc and the factory set board? 2013-01-06T11:44:24 < jpa-> maybe i'll use some debug register, they don't even need clock enables 2013-01-06T11:44:29 < dongs> juerg: if you cant handle installing drivers from manufacturers website, y ou need to go back to arduino 2013-01-06T11:44:45 < dongs> jpa-: im not sure why you really care though 2013-01-06T11:44:54 < dongs> jpa-: use BPKram, and if the value is NOT in it, its a first reboot 2013-01-06T11:44:58 < dongs> if it is, then its a reset. 2013-01-06T11:45:01 < dongs> or am i missing something here? 2013-01-06T11:45:13 < dongs> you dont need separate vbat to use bkp registers 2013-01-06T11:46:49 < dongs> LOL! 2013-01-06T11:46:57 < dongs> i was gonna take apart that pentium D 920 2013-01-06T11:46:58 < dongs> to see the die 2013-01-06T11:47:08 < dongs> but the die is fucking soldered hard to the top heat spreader 2013-01-06T11:47:14 < qyx_> if he wants to detect reboots, he could simply use sram 2013-01-06T11:47:14 < jpa-> dongs: i mean, i don't know when it has booted; my code just gets called (i'm patching some 3rd party binary blob) and on the first call after reset i have to init some stuff 2013-01-06T11:47:39 < dongs> hacker. 2013-01-06T11:48:09 < jpa-> it's all open sores but with some crappy closed sores iar compiler so i have to do it this way 2013-01-06T11:48:19 < qyx_> jpa-: you can check for some peripheral that is used by 3rd party code 2013-01-06T11:48:29 < qyx_> if it is already initialised 2013-01-06T11:48:49 -!- juerg [~juerg@213.196.179.39] has quit [] 2013-01-06T11:48:59 < qyx_> ^^ 2013-01-06T11:49:06 < jpa-> qyx_: i was thinking about some peripheral that is *not* used by 3rd party code.. because all peripherals get reset by POR 2013-01-06T11:49:30 < jpa-> but yeah, i guess i'll just pick one :) 2013-01-06T11:51:29 < qyx_> change some value in their initialised global variables! 2013-01-06T11:52:13 < dongs> wow 2013-01-06T11:52:17 < dongs> lots of solder 2013-01-06T11:52:19 < dongs> in the heatspreader 2013-01-06T11:52:25 < jpa-> qyx_: heh, that might be cool actually! :) 2013-01-06T11:52:48 < dongs> im still not sure where the actual die is 2013-01-06T12:02:06 < dongs> http://images.anandtech.com/reviews/tradeshows/IDF/2005/Fall/Day1/conroepics/conroevsp4.jpg 2013-01-06T12:02:15 < dongs> the shit i took apart looked like the bottom pic 2013-01-06T12:02:40 < dongs> 2 pieces of shiny stuff 2013-01-06T12:02:42 < dongs> in goop 2013-01-06T12:02:45 < dongs> is that the cores? 2013-01-06T12:04:35 < zippe> That's the back side of the silicon, yes 2013-01-06T12:04:55 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-06T12:05:14 < zippe> The goop is epoxy fill; it provides mechanical stability, as the balls themselves aren't strong enough to deal with the heat cycling 2013-01-06T12:05:38 < dongs> well, i pulled both of those things off 2013-01-06T12:05:43 < dongs> and snapped one of the shiny shits in half 2013-01-06T12:05:45 < zippe> The back side of the die is boring 2013-01-06T12:05:53 < dongs> dont see anything interesting, off to the bin it goes 2013-01-06T12:05:58 < dongs> back side = solder side? 2013-01-06T12:06:07 < dongs> the other side has some shiny grid of (balls) i guess 2013-01-06T12:06:42 < dongs> is there any way to see the "cool" side? 2013-01-06T12:07:32 < zippe> The "cool" side is under the balls 2013-01-06T12:07:46 < zippe> Basically, the balls sit on the top metal layer 2013-01-06T12:07:53 < zippe> Everything else is right underneath that 2013-01-06T12:07:55 < dongs> so theres no way to see it? 2013-01-06T12:09:44 < zippe> WEll 2013-01-06T12:09:45 < zippe> Seel 2013-01-06T12:09:46 < zippe> http://www.electroiq.com/blogs/chipworks_real_chips_blog/2011/03/apple-s-a5-processor-is-by-samsung-not-tsmc.html 2013-01-06T12:10:49 < zippe> It's going to look pretty boring 2013-01-06T12:11:03 < zippe> That's obviously not the same chip, but you get the idea 2013-01-06T12:13:11 < zippe> Typically the "die photos" you see are actually CG 2013-01-06T12:13:29 < zippe> Because the top metal layer is usually a groundplane with little holes in it 2013-01-06T12:14:24 < dongs> hyoly shit 2013-01-06T12:14:26 < dongs> they're really balls 2013-01-06T12:14:29 < dongs> http://i.imgur.com/OcnLn.jpg 2013-01-06T12:14:32 < dongs> I wonder what the pitch is 2013-01-06T12:59:58 < dongs> why no chat wtf 2013-01-06T13:00:30 < jpa-> you broke the chat 2013-01-06T13:03:17 < BrainDamage> I could blag you about my eu trip, but I guess most here would find it boring 2013-01-06T13:04:05 -!- Claude is now known as claude 2013-01-06T13:04:26 < BrainDamage> here's a pic of sunrise in theresienwiese tough: https://dl.dropbox.com/u/40949413/Viaggio/20121231_082634.jpg 2013-01-06T13:06:37 < jpa-> in europe, the horizon is vertical? 2013-01-06T13:07:21 < BrainDamage> odd, I tought I included alignment data in the exif tags 2013-01-06T13:07:46 < jpa-> maybe my browser is stupid or too smart 2013-01-06T13:13:04 < dongs> I'm browsing on phone and it looks like ass 2013-01-06T13:13:08 -!- ecips [~Ecips@220-245-23-214.static.tpgi.com.au] has left ##stm32 ["PONG :morgan.freenode.net"] 2013-01-06T13:14:47 < BrainDamage> > implying there's pics that don't look like ass on a phone 2013-01-06T13:16:51 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-01-06T13:17:01 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-06T13:20:09 < dongs> pfft 2013-01-06T13:20:17 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-06T13:20:29 < dongs> my phone has a better display than your desktop i bet 2013-01-06T13:32:42 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-06T13:32:43 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-06T13:47:45 -!- baird [~cjb@ppp121-44-244-37.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-06T14:07:40 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-06T14:09:44 -!- TeknoJuce [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-06T14:18:05 < dongs> http://sphotos-g.ak.fbcdn.net/hphotos-ak-ash3/541705_10151331434194556_1509761453_n.jpg typical japanese activityt 2013-01-06T14:22:33 < baird> Doesn't involve masturbation this time 2013-01-06T14:23:14 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has joined ##stm32 2013-01-06T14:23:14 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has quit [Changing host] 2013-01-06T14:23:14 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-06T14:23:32 < baird> btw. cycled from Sydney to Newcastle (190kms) in a day. This makes me Awesome. 2013-01-06T14:30:35 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-06T15:16:33 < dongs> chats, they're dead 2013-01-06T15:17:16 < jpa-> my code does not work 2013-01-06T15:17:19 < jpa-> i want it to work :( 2013-01-06T15:17:27 < dongs> debug it without lunix 2013-01-06T15:17:49 < jpa-> no 2013-01-06T15:17:50 < jpa-> never! 2013-01-06T15:32:31 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-06T15:34:42 -!- daku is now known as DaKu 2013-01-06T15:35:44 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Remote host closed the connection] 2013-01-06T15:41:01 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-06T15:46:08 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-06T15:50:27 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-06T15:55:36 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Ping timeout: 272 seconds] 2013-01-06T15:59:55 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-06T16:05:39 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-06T16:14:21 -!- baird [~cjb@ppp121-44-244-37.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2013-01-06T16:14:32 -!- cjbaird [~cjb@ppp121-44-244-37.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-06T16:22:12 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-06T16:46:44 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-06T16:53:22 -!- claude is now known as Claude 2013-01-06T17:03:17 <+Steffanx> How's debugday so far jpa- :) 2013-01-06T17:03:25 <+Steffanx> +? 2013-01-06T17:04:09 < jpa-> sucks 2013-01-06T17:04:36 < jpa-> something is popping too much stuff off the pawn stack 2013-01-06T17:04:53 < jpa-> or corrupting the pawn stack pointer otherwise 2013-01-06T17:05:11 <+Steffanx> Sounds wonderful 2013-01-06T17:05:15 < Laurenceb_> sup 2013-01-06T17:05:22 < Laurenceb_> any networking gurus here? 2013-01-06T17:05:31 < Laurenceb_> i have an issue with proxies 2013-01-06T17:06:33 < Laurenceb_> so ive got a machine i can ssh into 2013-01-06T17:06:40 < Laurenceb_> but it cant get web access 2013-01-06T17:06:48 < Laurenceb_> i need to run wget from scripts 2013-01-06T17:06:55 < Laurenceb_> how can i make this work? 2013-01-06T17:07:43 < Thorn> ssh port forwarding 2013-01-06T17:07:56 < Thorn> probably -R 2013-01-06T17:08:01 < Laurenceb_> ok 2013-01-06T17:08:26 < Laurenceb_> so i need to forward port 80? 2013-01-06T17:10:01 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-06T17:10:34 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-06T17:11:19 < Thorn> if you do ssh -R 80:www.porn.com:80 user@server and then wget localhost:80/lectures.mp4 it should connect to www.porn.com via your desktop 2013-01-06T17:11:28 < Thorn> unless I'm mistaken 2013-01-06T17:11:47 < Thorn> dynamic port forwarding doesn't work from server to client iirc. 2013-01-06T17:13:35 < Laurenceb_> lol 2013-01-06T17:13:43 < Laurenceb_> porn.com 2013-01-06T17:14:21 < Laurenceb_> ok, so only that domain is forwarded? 2013-01-06T17:14:27 < Laurenceb_> thats convenient 2013-01-06T17:14:42 < Laurenceb_> as i just need it to connect to my scripts server 2013-01-06T17:15:12 < Thorn> you can forward several domains to several ports: ssh -R 80:www.porn.com:80 -R 81:gay.porn.com:80 2013-01-06T17:15:27 < Laurenceb_> there seems to be some sort of firewall - its on a corporate lan 2013-01-06T17:16:00 < Laurenceb_> ok 2013-01-06T17:17:01 < emeb_mac> morninks... 2013-01-06T17:18:19 <+Steffanx> At least you know which websites he visits Thorn :P 2013-01-06T17:28:51 < cjbaird> Benny Hill'ing kiddie train bombers was my excitement on the train home. http://boards.4chan.org/n/res/430094 .. I got them to run straight to the guards carriage, lol. 2013-01-06T17:29:24 < Laurenceb_> 4chan is your image host 2013-01-06T17:29:27 < Laurenceb_> classy 2013-01-06T17:31:04 <+Steffanx> Whaa ugly trains there cjbaird 2013-01-06T17:32:15 < cjbaird> Obviously they won't put the good ones (Tangara, Milennium) on the Nuke->Syd route. 2013-01-06T17:37:20 < cjbaird> The kid in blue managed to escape from the guards carriage, but his mate in red couldn't, and then /admitted/ to the guard that they'd been tagging, but only the other guy was doing it. He's obviously has never seen that youtube video about talking to cops. 2013-01-06T17:39:12 < qyx_> Laurenceb_: make it such way it doesn't need to directly wget. also look at ssh -D port (makes socks proxy), -L/-R port forwarding 2013-01-06T17:39:31 < qyx_> also you can pipe your data directly over ssh tunnel 2013-01-06T17:39:42 < qyx_> try changing port from 80 to something else 2013-01-06T17:39:46 < Laurenceb_> ok 2013-01-06T17:42:33 < qyx_> but if i understand your requirement correctly, ssh user@server "wget -q -O - http://localhost/myscript" will print script output to stdout 2013-01-06T17:43:32 < Laurenceb_> yes 2013-01-06T17:46:43 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-06T17:55:56 < dongs> http://i.imgur.com/WVJZw.jpg attn Laurenceb_ and NOONE ELSE. 2013-01-06T17:57:23 < emeb_mac> not clicking, because dongs 2013-01-06T17:57:39 <+Steffanx> You know dongs, /msg Laurenceb_ [paste message here] 2013-01-06T17:59:39 < emeb_mac> lol -> https://twitter.com/westendproducer/status/287864922552016896/photo/1 2013-01-06T17:59:58 <+Steffanx> :) 2013-01-06T18:00:13 < dongs> haha 2013-01-06T18:00:22 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-06T18:03:32 <+Steffanx> What a surprise .. not even "macfag" dongs?! 2013-01-06T18:04:30 < dongs> missed that. 2013-01-06T18:20:13 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-06T18:20:28 < Thorn> an arduino for those who can't even use an arduino http://ruggedcircuits.com/html/ancp01.html 2013-01-06T18:21:23 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-06T18:27:40 < Thorn> WHERE THE *@^#$* IS IZUA 2013-01-06T18:28:00 < emeb_mac> long vacation? 2013-01-06T18:32:50 -!- _BJFreeman [~bjfree@140.sub-75-244-149.myvzw.com] has joined ##stm32 2013-01-06T18:33:39 -!- DaKu is now known as daku 2013-01-06T18:38:45 < emeb_mac> cute F4Disco project -> https://github.com/MrBlueXav/ambiantiseur 2013-01-06T18:40:29 < dongs> o;'Rly 2013-01-06T18:41:11 < dongs> what hte fuck 2013-01-06T18:41:16 < dongs> imlistening in headphones 2013-01-06T18:41:21 < dongs> and sounds like the audio is coming from somewehre else 2013-01-06T18:41:24 < dongs> is he fucking around wiht hrtf? 2013-01-06T18:43:19 < dongs> ic ant listen to this shit 2013-01-06T18:43:22 < dongs> it fucks with my ears 2013-01-06T18:45:23 < Claude> http://wry.me/bytebeat/ 2013-01-06T18:49:22 < Thorn> those who set volume to 100% by default need to be taken out and shot. 2013-01-06T18:50:53 -!- cjbaird [~cjb@ppp121-44-244-37.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-06T18:56:07 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-06T18:58:33 -!- Claude is now known as claude 2013-01-06T19:02:54 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-06T19:16:47 < emeb> Hmmm... didn't sound that strange to me, but then I spend days at a time listening to delay effects. 2013-01-06T19:21:35 < emeb> For reference - demos of a delay effect that I've been working on: https://soundcloud.com/modcan/seriesdelays 2013-01-06T19:22:07 < emeb> Based on an F4 + codec + external PSRAM on the FSMC bus 2013-01-06T19:30:14 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-06T19:31:17 -!- daku is now known as DaKu 2013-01-06T19:39:05 < emeb> fscking windows case-insensitive crap. 2013-01-06T19:39:38 < emeb> stm32F4xx_syscfg.h = stm32f4xx_syscfg.h ??!! right. 2013-01-06T19:56:48 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-06T19:58:31 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Read error: Connection reset by peer] 2013-01-06T19:58:47 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-06T20:00:25 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-06T20:05:44 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-06T20:16:08 < emeb> heh - JP wins @ oldest companies on earth: http://en.wikipedia.org/wiki/List_of_oldest_companies 2013-01-06T20:19:45 <+Steffanx> Ha and dutchland is second :P 2013-01-06T20:19:48 <+Steffanx> The good old times 2013-01-06T20:19:57 <+Steffanx> Today Dutchland sucks ass 2013-01-06T20:20:43 <+Steffanx> That 'delay effect' sound is awful emeb 2013-01-06T20:21:00 < emeb> which one? 2013-01-06T20:21:10 <+Steffanx> the first one 2013-01-06T20:21:22 <+Steffanx> @ that soundcloud you linked 2013-01-06T20:21:31 < emeb> heh 2013-01-06T20:21:45 < emeb> different strokes... 2013-01-06T20:23:52 <+Steffanx> Funny btw how most of the old companies are Hotels or breweries 2013-01-06T20:24:03 < emeb> noticed that. 2013-01-06T20:24:42 < emeb> apparently there's always a need for beer and beds 2013-01-06T20:25:13 < emeb> good to know when trying to start a business after the zombie apocalypse is over. 2013-01-06T20:25:20 <+Steffanx> :D 2013-01-06T20:26:46 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-06T21:08:00 < Thorn> dongs gets a job at NASA http://www.universetoday.com/99290/flying-rolling-robot-might-make-a-great-titan-explorer/ 2013-01-06T21:10:22 < qyx_> cool 2013-01-06T21:17:19 < emeb> Interesting problem: launchpad v4.7 gcc refuses to compile CMSIS core functions for STM32F10x 2013-01-06T21:17:38 < emeb> arm-none-eabi-gcc -O2 -g -Wall -Werror -mcpu=cortex-m3 -mthumb -I. -DSTM32F10X_MD_VL -c -o core_cm3.o core_cm3.c 2013-01-06T21:17:39 < emeb> /tmp/ccpIHQc1.s: Assembler messages: 2013-01-06T21:17:39 < emeb> /tmp/ccpIHQc1.s:488: Error: registers may not be the same -- `strexb r0,r0,[r1]' 2013-01-06T21:17:39 < emeb> /tmp/ccpIHQc1.s:512: Error: registers may not be the same -- `strexh r0,r0,[r1]' 2013-01-06T21:17:42 < Thorn> strexb etc? 2013-01-06T21:17:46 < emeb> yep 2013-01-06T21:17:49 < Thorn> right 2013-01-06T21:18:05 < emeb> workaround or fall back? 2013-01-06T21:18:26 < Thorn> best I've seen: http://we.easyelectronics.ru/PahanMenski/gcc-46-i-cmsis-ispravlyaem-oshibku-kompilyacii.html 2013-01-06T21:18:48 < Thorn> should be easy to understand despite the language lol 2013-01-06T21:19:00 < emeb> google translate ftw 2013-01-06T21:19:15 < Thorn> "=r" -> "=&r" 2013-01-06T21:20:30 < Thorn> the first workaround was published by a Japanese guy and involved several lines of code 2013-01-06T21:20:50 < Thorn> btw, NXP fixed that stuff in their CMSIS. 2013-01-06T21:21:09 < Thorn> ST didn't bother (for F1 at least) 2013-01-06T21:23:39 < zippe> emeb: that's a CMSIS bug 2013-01-06T21:26:26 -!- DaKu is now known as daku 2013-01-06T21:31:06 < emeb> thx for the linky 2013-01-06T21:32:54 < emeb> seems to have worked. 2013-01-06T21:34:33 < emeb> zippe: no - blame it on open sores. :P 2013-01-06T21:37:58 <+Steffanx> No need to say that. Dongs is in dreamland 2013-01-06T21:38:13 < emeb> heh 2013-01-06T21:54:24 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has quit [Read error: Operation timed out] 2013-01-06T21:58:13 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2013-01-06T22:00:23 < BrainDamage> dongs: http://i.imgur.com/SotuF.jpg 2013-01-06T22:03:20 < mervaka> hey guys, can i clear something up with DMA half transfer interrupts.. 2013-01-06T22:03:38 < mervaka> is HT called once or twice per TC 2013-01-06T22:04:18 < mervaka> well i should say, is the flag raised once or twice? 2013-01-06T22:06:39 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 260 seconds] 2013-01-06T22:13:31 < zippe> mervaka: HT is raised at the halfway point only 2013-01-06T22:26:44 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-06T22:44:18 < mervaka> ok cool 2013-01-06T22:46:17 < mervaka> oh i wish it was easier to debug these fucking DMA controllers.. :/ 2013-01-06T22:46:50 < mervaka> FIFO errors left right and center 2013-01-06T22:47:02 < mervaka> really odd crap coming out 2013-01-06T22:47:04 < mervaka> meh 2013-01-06T22:50:52 < mervaka> overruns, apparently. how is that possible when it's a memory to peripheral transfer? :s 2013-01-06T22:51:02 < mervaka> the peripheral's controlling everything 2013-01-06T22:54:14 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-06T23:01:54 < emeb> lol - LFSR noise generator built in to the F100 DACs is so lame. 2013-01-06T23:02:41 < emeb> 4k long sequence and only advances 1 bit/clk so the output signals have an expo decay characteristic. 2013-01-06T23:07:46 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Read error: No route to host] 2013-01-06T23:08:03 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 245 seconds] 2013-01-06T23:10:40 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-06T23:12:30 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Remote host closed the connection] 2013-01-06T23:18:51 < mervaka> ok guys, seems my FIFO is feeding my SPI peripheral LSB first, ie it's out of sync 2013-01-06T23:19:00 < mervaka> it's sending two half words 2013-01-06T23:19:10 < mervaka> but i'm not sure how to keep everything in sync :s 2013-01-06T23:19:50 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-06T23:25:54 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2013-01-06T23:26:18 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-06T23:35:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-06T23:39:16 < mervaka> in fact 2013-01-06T23:39:26 < mervaka> i'm not sure where it's getting some of these values from 2013-01-06T23:39:55 < mervaka> i've set the memory the DMA controller's reading from and left it read it over and over 2013-01-06T23:40:11 < mervaka> and some values making it to the peripheral data register are just absolute nonsense --- Day changed Mon Jan 07 2013 2013-01-07T00:00:47 < mervaka> right, if i feed 0xF0F0FF02 into my DMA memory location 2013-01-07T00:01:02 < mervaka> then into my 32>16 FIFO 2013-01-07T00:01:05 < mervaka> etc 2013-01-07T00:01:34 < mervaka> i'm getting results like 0xF000 and 0xFF02 2013-01-07T00:01:59 < emeb> you sure it's the DMA system? 2013-01-07T00:02:06 < emeb> how are you verifying the output data 2013-01-07T00:02:15 < mervaka> reading off the I2S DR 2013-01-07T00:02:24 < mervaka> also have a scope in front of me 2013-01-07T00:02:36 < mervaka> the two half words seem to appear in reverse order 2013-01-07T00:02:50 < mervaka> and 0xF000 it just nonsense 2013-01-07T00:03:10 < mervaka> is* 2013-01-07T00:03:22 < emeb> try something with more unique values / hex digit. 2013-01-07T00:03:53 < emeb> be interesting to see if it's tromping the low byte 2013-01-07T00:04:12 < emeb> also, why are you using the FIFO? Shouldn't be needed w/ DMA. 2013-01-07T00:04:28 < mervaka> well my I2S peripheral's DR is only 16 bits wide 2013-01-07T00:04:46 < mervaka> and i'm working with 32bit words 2013-01-07T00:04:53 < mervaka> (well, 24bit audio) 2013-01-07T00:05:15 < emeb> yeah, but the I2S/SPI port is smart enough to sequence things correctly. 2013-01-07T00:05:17 < mervaka> so two reads/writes are needed 2013-01-07T00:05:48 < emeb> It'll generate two 16-bit DMA requests 2013-01-07T00:06:09 < mervaka> it will? 2013-01-07T00:06:15 < emeb> that's my understanding. 2013-01-07T00:06:15 < mervaka> i thought that was the whole point of the FIFO 2013-01-07T00:06:50 < mervaka> from what i gather, i can only use direct mode when the widths in and out are equal 2013-01-07T00:07:39 < emeb> yes, but the I2S/SPI periph asks for two 16-bit bus transactions. 2013-01-07T00:07:57 < emeb> to fill a 24 or 32-bit I2S stream 2013-01-07T00:08:56 < mervaka> so you're saying i should just use full 32 bit words both sides 2013-01-07T00:09:40 < emeb> store the data in your memory buffer as 32-bits, (or 24-bits justified) 2013-01-07T00:10:05 < mervaka> i do that now 2013-01-07T00:10:14 < emeb> tell the I2S/SPI peripheral that it should to a 24- or 32-bit word 2013-01-07T00:10:27 < mervaka> i can't 2013-01-07T00:10:31 < emeb> tell the DMA to do 16-bit transactions 2013-01-07T00:10:41 < mervaka> oh 2013-01-07T00:10:45 < mervaka> yeah i do all that now 2013-01-07T00:10:47 < emeb> and the I2S will ask for 2x 16-bit transactions per word 2013-01-07T00:11:00 < mervaka> oh right 2013-01-07T00:11:11 < mervaka> so the whole DMA system works in half words? 2013-01-07T00:11:19 < emeb> yeah 2013-01-07T00:11:23 < mervaka> i see :) 2013-01-07T00:11:38 < mervaka> so both sides need to be half words 2013-01-07T00:11:51 < mervaka> but what about memory addressing? that all works fine? 2013-01-07T00:12:04 < emeb> right, but the data in the DMA buffer is still treated as 32-bit from the CPU side when loading it. 2013-01-07T00:13:11 < emeb> so it's like this: CPU loads 32-bit data to DMA buffer / DMA sends 2x 16-bit data to I2S / I2S concatenates it to 1 32-bit cycle. 2013-01-07T00:13:52 < mervaka> hmm 2013-01-07T00:14:15 < emeb> of course I could be wrong. All I've ever done w/ I2S is 16-bit data. :P 2013-01-07T00:14:20 < mervaka> :p 2013-01-07T00:14:34 < mervaka> i was gonna say, i just achieved exactly the same problem without the FIFO now :p 2013-01-07T00:14:44 < mervaka> symptoms* 2013-01-07T00:15:04 < emeb> so the FIFO doesn't hurt/help. 2013-01-07T00:15:17 < mervaka> true 2013-01-07T00:15:46 < mervaka> really confused how this is being loaded backwards though! 2013-01-07T00:15:48 < emeb> so if you store 0x1234 / 0x5678 into the DMA buffer and send that, what do you see? 2013-01-07T00:16:19 < mervaka> wait a sec 2013-01-07T00:16:26 < mervaka> scope says it's slightly different 2013-01-07T00:16:41 < emeb> do you see 0x1200 / 0x5678, or 0x3400 / 0x5678 ? 2013-01-07T00:16:56 < mervaka> still loading 0xF0F0FF02 into the mem 2013-01-07T00:17:17 < mervaka> and getting 0xFF00 and 0xFF02 out 2013-01-07T00:17:19 < mervaka> wtf 2013-01-07T00:17:21 < emeb> yeah - that 0xF0F0 leaves some ambiguity about what's happening. 2013-01-07T00:17:26 < mervaka> well 2013-01-07T00:18:11 < mervaka> on the scope, i see something rather different 2013-01-07T00:18:28 < mervaka> just trying to work out what it is.. 2013-01-07T00:19:48 < emeb> get yourself a saleae logic analyzer - they've got an I2S protocol analyzer. Set you straight quick. 2013-01-07T00:20:21 < mervaka> :| 2013-01-07T00:20:23 < mervaka> ££ 2013-01-07T00:20:44 < emeb> so what codec are you using that needs 24-bit? 2013-01-07T00:21:20 < Thorn> aliexpress had counterfeit ones 2013-01-07T00:21:26 < mervaka> PCM4202 and PCM1793 2013-01-07T00:21:33 < mervaka> ADC and DAC 2013-01-07T00:22:14 < emeb> cool 2013-01-07T00:22:16 < mervaka> doing a high end audio mixer (or at least proof of concept :?) 2013-01-07T00:22:18 < mervaka> :/) 2013-01-07T00:22:40 < mervaka> except i'm finding debugging an absolute nightmare 2013-01-07T00:22:43 < emeb> I see a lot of people using low-end codecs who insist that 24-bits will be needed. 2013-01-07T00:22:51 < Laurenceb_> audio mixer? 2013-01-07T00:22:54 < mervaka> yeah 2013-01-07T00:22:59 < Laurenceb_> use a transformer :P 2013-01-07T00:23:10 < emeb> telling them that sending 24-bits to a 90dB SINAD converter is useless falls on deaf ears. 2013-01-07T00:23:17 < mervaka> got PGA2500 preamps in front of the ADC 2013-01-07T00:23:28 < mervaka> they're lovely 2013-01-07T00:23:37 < zyp> good evening 2013-01-07T00:23:41 < mervaka> sup 2013-01-07T00:23:41 < emeb> hi zyp 2013-01-07T00:24:06 < emeb> mervaka: you setting the right wordsize when setting up the I2S? 2013-01-07T00:24:35 < mervaka> yeah, I2S_DataFormat_24b 2013-01-07T00:25:09 < mervaka> could it be that i need 32b? 2013-01-07T00:25:24 < zyp> what's the problem 2013-01-07T00:25:25 < zyp> ? 2013-01-07T00:25:34 < karlp> cement mixing 2013-01-07T00:25:42 < zyp> ok 2013-01-07T00:25:42 < karlp> lots of data ina pipe, all jumbled up at the end 2013-01-07T00:25:50 < mervaka> i'm getting rather odd happenings somewhere in my DMA system 2013-01-07T00:25:56 < karlp> 8 vs 16 vs 32 bit dma and byte ordering 2013-01-07T00:25:56 < zyp> is this F4? 2013-01-07T00:26:01 < emeb> zyp: mervaka is trying to send 24-bit data over SPI but looks like his hi/lo are swapped 2013-01-07T00:26:04 < mervaka> going from array > DMA > I2S 2013-01-07T00:26:11 < mervaka> zyp: yeah 2013-01-07T00:26:16 < emeb> s/spi/i2s/ 2013-01-07T00:26:18 < zyp> how is your array laid out? 2013-01-07T00:26:30 < mervaka> 2d buffer of int32_t 2013-01-07T00:26:53 < zyp> 2d as in [n][2]? 2013-01-07T00:26:55 < mervaka> so IObuffer[x][BUFFERSIZE] 2013-01-07T00:27:08 < mervaka> where x is the peripheral in question 2013-01-07T00:27:32 < zyp> can you pastebin the part of the code that is initializing dma and i2s? 2013-01-07T00:27:55 < mervaka> uh yeah, though it's been torn to bits with comments, so it's rather messy right now ;/ 2013-01-07T00:28:05 < zyp> doesn't matter 2013-01-07T00:28:37 < mervaka> i'll also need to pastebin the .h too 2013-01-07T00:28:43 < mervaka> lots of #defines 2013-01-07T00:28:49 < karlp> mmmm, there's some lovely crunchy bloops in that series delay modcan demo emeb! 2013-01-07T00:28:58 < emeb> karlp: :) 2013-01-07T00:29:14 < zyp> I have a suspicion that might be worth looking into 2013-01-07T00:29:18 < emeb> I didn't do those demos - Bruce @ Modcan has a huge synth that he does those with. 2013-01-07T00:30:27 < mervaka> http://pastebin.com/AzRKkKcN 2013-01-07T00:30:30 < mervaka> that's SPI.c 2013-01-07T00:31:08 < emeb> 4 channels? 2013-01-07T00:31:12 < mervaka> http://pastebin.com/GCjzCbH4 2013-01-07T00:31:20 < mervaka> yeah, got both peripherals bidir 2013-01-07T00:31:23 < emeb> right 2013-01-07T00:31:39 < mervaka> the main peripherals handle the output 2013-01-07T00:31:54 < mervaka> the I2Sxext peripherals handle the input 2013-01-07T00:32:25 < mervaka> at the moment however, i'm just working with SPI3 trying to get a reasonable output 2013-01-07T00:32:33 < zyp> hmm, you only have a four samples long buffer? 2013-01-07T00:32:40 < mervaka> that was me hacking about 2013-01-07T00:32:43 < mervaka> was 64 originally 2013-01-07T00:34:34 < mervaka> the IRQ handlers probably look like arse too, only take notice of SPI3's 2013-01-07T00:36:50 < mervaka> in the function Audio_State (SPI.c l#168) i've stuck in another hack there to make up some data for the buffer 2013-01-07T00:37:17 < mervaka> i've also temporarily disabled the memory incrementer 2013-01-07T00:37:32 < emeb> hmmm... 2013-01-07T00:37:35 < mervaka> trying to get a reasonable steady state condition 2013-01-07T00:37:37 < zyp> hang on, I think I'm on to something here 2013-01-07T00:38:13 < mervaka> ? 2013-01-07T00:38:40 < mervaka> zyp: originally i was using the FIFO to chop the data into halfwords 2013-01-07T00:39:01 < mervaka> but emeb pointed out i can let the whole DMA system work in halfwords 2013-01-07T00:39:08 < mervaka> so removed it 2013-01-07T00:39:32 < zyp> that part is fine 2013-01-07T00:39:34 < mervaka> ok cool 2013-01-07T00:39:42 < zyp> but hang on, I need to check a couple of things more 2013-01-07T00:39:45 < mervaka> ok 2013-01-07T00:41:18 < mervaka> shall i reset the buffer size to 64? 2013-01-07T00:41:31 < mervaka> and get the pointer incrementing again, etc 2013-01-07T00:41:36 < zyp> hmm, you are putting 0xf0f0ff02 into all samples in the buffer? 2013-01-07T00:42:00 < mervaka> well originally i was putting in i << 26 2013-01-07T00:42:02 < mervaka> to make a ramp 2013-01-07T00:42:04 < mervaka> ish 2013-01-07T00:42:19 < zyp> ah, right 2013-01-07T00:42:21 < zyp> well 2013-01-07T00:42:52 < emeb> bbiaw 2013-01-07T00:42:55 < mervaka> but i changed that to a single value when i disabled the pointer incrementer 2013-01-07T00:43:01 < mervaka> ok, cheers emeb 2013-01-07T00:43:09 < zyp> as far as I can see, putting 0xf0f0ff02 in the buffer would give you an output value of 0xff02f000, can this be right? 2013-01-07T00:43:32 < mervaka> well not exactly 2013-01-07T00:43:43 < mervaka> this is where it gets wierder.. 2013-01-07T00:43:46 < zyp> I mean, does that match what you observe on the output? 2013-01-07T00:44:08 < mervaka> i'll upload a scope screenshot, sec 2013-01-07T00:44:15 < mervaka> it's so wierd i cant even read it off 2013-01-07T00:44:52 < mervaka> but it's steady 2013-01-07T00:45:04 < mervaka> however only distantly related to what i ut in 2013-01-07T00:45:08 < mervaka> put* 2013-01-07T00:45:14 < zyp> because, what I believe is the root of the problem, is the fact that you have to write the high word before the low word into the data register when using >16bit 2013-01-07T00:45:56 < mervaka> breaking the code gives me FF00 and FF02 in the data register 2013-01-07T00:46:01 < zyp> and when you are using 16-bit incrementing transfers on a 32-bit little endian system, you grab the low word before the high word 2013-01-07T00:46:01 < mervaka> in an unknown order 2013-01-07T00:46:09 < mervaka> ah 2013-01-07T00:46:32 < mervaka> so i have to manually swap the halfwords? 2013-01-07T00:46:42 < zyp> so when you put 0x11223344 into the dma buffer, what you should expect out is 0x33441100 2013-01-07T00:46:53 < zyp> according to page 819 in RM0090 2013-01-07T00:47:00 < zyp> (rev 3) 2013-01-07T00:48:01 < mervaka> in the controller area network section? :s 2013-01-07T00:48:10 < mervaka> oh wait, i have r2 2013-01-07T00:48:21 < mervaka> what section etc? 2013-01-07T00:48:30 < zyp> 27.4.3 2013-01-07T00:48:59 < zyp> third figure, it's titled «Transmitting 0x8EAA33» 2013-01-07T00:49:31 < mervaka> http://pastebin.com/GCjzCbH4 2013-01-07T00:49:54 < mervaka> hmm. i need to grab r3 2013-01-07T00:50:02 < mervaka> oops wrong paste 2013-01-07T00:50:09 < mervaka> http://derp.co.uk/a9a43 2013-01-07T00:50:37 < zyp> hmm, that's a bit tricky to read without the clock :p 2013-01-07T00:51:02 < mervaka> :p 2013-01-07T00:51:09 < mervaka> one sec, i only have two probes 2013-01-07T00:51:18 < mervaka> need to hook EXT trig up to WS 2013-01-07T00:51:18 < zyp> no it's ok 2013-01-07T00:51:27 < zyp> it's clearly 0xff02ff00 2013-01-07T00:52:11 < zyp> hmm, which I suspect indicates MINC=0 2013-01-07T00:52:44 < zyp> i.e. DMA writing the same 0xff02 twice 2013-01-07T00:52:59 < zyp> ah, yep 2013-01-07T00:53:03 < zyp> DMA_InitStructure.DMA_MemoryInc = DMA_MemoryInc_Disable; 2013-01-07T00:53:06 < zyp> fix that. 2013-01-07T00:53:09 < mervaka> ok 2013-01-07T00:53:35 < mervaka> that was temporarily disabled while i sorted this odditity out, before i disabled FIFO though 2013-01-07T00:54:08 < zyp> everything seems to make sense to me now, so far :) 2013-01-07T00:54:21 < mervaka> ok cool 2013-01-07T00:54:25 < zyp> so hopefully you'll have it solved by enabling that and flipping upper/lower 16 bits 2013-01-07T00:55:22 < mervaka> so that's a manual job? :/ 2013-01-07T00:56:16 < zyp> well, the I2S peripheral probably only buffers 16 bits at a time, and since MSB is transferred first it needs the high word first 2013-01-07T00:56:23 < mervaka> ok 2013-01-07T00:56:47 < zyp> not sure whether the DMA peripheral can do the flipping for you or not, but it's not very likely 2013-01-07T00:56:53 < mervaka> so WORD >> 16 then WORD & 0xFFFF 2013-01-07T00:57:49 < zyp> well, depends 2013-01-07T00:57:59 < zyp> how do you have the original data? 2013-01-07T00:58:08 < mervaka> at the moment, int32_t 2013-01-07T00:58:23 < zyp> left or right aligned? (since it's 24 bits?) 2013-01-07T00:58:33 < mervaka> one sec 2013-01-07T00:58:58 < mervaka> http://www.ti.com/lit/ds/symlink/pcm4202.pdf 2013-01-07T00:59:00 < mervaka> page 15 2013-01-07T00:59:11 < mervaka> I2S looks to be MSB first 2013-01-07T00:59:15 < zyp> I'm talking about your 24-bit source data 2013-01-07T00:59:28 < zyp> where does it come from? 2013-01-07T00:59:39 < mervaka> the ADC in the above datasheet 2013-01-07T00:59:46 < mervaka> but i'll be doing the reverse i guess 2013-01-07T00:59:59 < mervaka> swapping them round another time 2013-01-07T00:59:59 < zyp> wait, so it comes in over I2S? 2013-01-07T01:00:07 < mervaka> eventually, yeah 2013-01-07T01:00:23 < mervaka> but at the moment i'm just generating data 2013-01-07T01:00:28 < zyp> oh well 2013-01-07T01:00:43 < mervaka> but in between i'll eventually be processing the data 2013-01-07T01:01:01 < mervaka> so i'll need to put stuff in order, process it, then swap it back 2013-01-07T01:01:06 < mervaka> i'm guessing 2013-01-07T01:01:48 < zyp> just make the buffer uint16_t with another dimension, and stuff high word in [0] and low word in [1] 2013-01-07T01:02:06 < mervaka> that's very true! :) 2013-01-07T01:02:45 < zyp> also keep in mind that the lower 8 bits of the low word gets discarded 2013-01-07T01:02:53 < mervaka> yeah 2013-01-07T01:06:16 < zyp> I checked DMA chapter, it doesn't appear to be configurable to write high word first 2013-01-07T01:06:26 < zyp> «The DMA controller only copes with little-endian addressing for both source and destination.» 2013-01-07T01:07:11 < mervaka> :< 2013-01-07T01:07:29 < mervaka> don't know why it bothers with >16bits tbh 2013-01-07T01:08:58 < zyp> why not? apart from a bit more work for you, it still works. 2013-01-07T01:09:43 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-07T01:10:24 < zyp> and the hardware part of it is very simple, it's just a matter of toggling ws after either 16 or 32 clocks 2013-01-07T01:11:11 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-07T01:11:15 < zyp> (and forcing the remaining 8 bits to 0 if you only transfer 24) 2013-01-07T01:12:39 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Remote host closed the connection] 2013-01-07T01:12:44 -!- baird [~cjb@ppp121-44-223-101.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-07T01:12:55 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-07T01:15:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-07T01:15:46 < mervaka> ugh 2013-01-07T01:16:28 < mervaka> now i've got a three dimensional array of int16_t 2013-01-07T01:17:00 < mervaka> so IOBuffer[x][BUFSIZE][y] 2013-01-07T01:17:10 < mervaka> where y is now 0 or 1 2013-01-07T01:17:24 < mervaka> loading 0 up with F0F0 2013-01-07T01:17:33 < mervaka> 1 up with 2A00 2013-01-07T01:17:59 < mervaka> and scope says F0F0F000 2013-01-07T01:18:00 < mervaka> lol 2013-01-07T01:18:27 < mervaka> SPI3_DR says F0F0 and F000 2013-01-07T01:18:39 < mervaka> not quite sure how i arrived here.. 2013-01-07T01:19:16 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-07T01:20:24 < mervaka> thanks for all your help btw 2013-01-07T01:20:59 < mervaka> feel somewhat out my depth here :( 2013-01-07T01:22:16 < mervaka> memory incremember is now working, and buffer size is now 64 once again 2013-01-07T01:22:20 < mervaka> incrementer* 2013-01-07T01:24:31 < mervaka> oh goddamnit 2013-01-07T01:24:41 < mervaka> the memory window looks like this: 2013-01-07T01:25:08 < mervaka> F0 F0 00 2A 2013-01-07T01:25:32 < mervaka> i need to look up how this is organising its memory 2013-01-07T01:26:19 < mervaka> right, so 2013-01-07T01:26:27 < mervaka> [0] as 0x1234 2013-01-07T01:26:32 < mervaka> [1] as 0x5678 2013-01-07T01:26:44 < mervaka> i get 34 12 78 56 2013-01-07T01:26:58 < mervaka> *facepalm* 2013-01-07T01:27:53 < mervaka> and i get 0x1234 and 0x1200 in SPI3_DR 2013-01-07T01:31:17 < zyp> still sounds like you are not incrementing 2013-01-07T01:31:28 < mervaka> well i am ;/ 2013-01-07T01:31:39 < mervaka> pastebin? 2013-01-07T01:31:42 < zyp> sure 2013-01-07T01:32:29 < mervaka> http://pastebin.com/qLG5iRYw 2013-01-07T01:32:32 < mervaka> SPI.c 2013-01-07T01:32:55 < zyp> by the way, how/when are you reading SPI3_DR? 2013-01-07T01:33:20 < mervaka> in the debugger. got a breakpoint in the ISR 2013-01-07T01:33:32 < mervaka> reading it back in Keil uVision 2013-01-07T01:34:01 < mervaka> http://pastebin.com/mG6Kn51X 2013-01-07T01:34:02 < mervaka> SPI.h 2013-01-07T01:34:36 < zyp> DMA_InitStructure.DMA_BufferSize = 1; <- here's your problem 2013-01-07T01:34:42 < mervaka> oh fuck 2013-01-07T01:34:44 < zyp> you're only sending the same one buffer every time 2013-01-07T01:34:48 < mervaka> sorry its late :/ 2013-01-07T01:35:23 < mervaka> schoooooolboy error 2013-01-07T01:35:50 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-07T01:36:19 < mervaka> okay, this looks good actually 2013-01-07T01:36:24 < zyp> great 2013-01-07T01:36:38 < mervaka> SPI3_DR is reading 0x1234 and 0x5600 2013-01-07T01:36:43 < mervaka> as you'd expect :) 2013-01-07T01:36:46 < zyp> yep 2013-01-07T01:37:05 < mervaka> mate, i need to give you the biggest ever handshake 2013-01-07T01:37:21 < mervaka> if that's at all possible 2013-01-07T01:37:43 < zyp> no problem, just glad I could help you 2013-01-07T01:37:47 < mervaka> :) 2013-01-07T01:37:52 < mervaka> one last thing 2013-01-07T01:38:03 < mervaka> when i'm reading and writing my data 2013-01-07T01:38:17 < mervaka> i can't just cast ot back from an int32_t, can i? 2013-01-07T01:38:20 < mervaka> it* 2013-01-07T01:38:24 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-01-07T01:38:35 < zyp> what do you mean? 2013-01-07T01:39:05 < mervaka> at the moment i have an int16_t buffer with an extra dimension for halfword 2013-01-07T01:39:09 < zyp> yes 2013-01-07T01:39:29 < mervaka> so i'd ref that as IOBuffer[x][BUF][y] 2013-01-07T01:39:33 < mervaka> where y is 0 or 1 2013-01-07T01:39:42 < gxti> mervaka: you can but it might be word-swapped 2013-01-07T01:40:05 < mervaka> but if i were to cast it as (int32_t)IOBuffer[x][BUF] 2013-01-07T01:40:13 < mervaka> yeah i think that fucks it 2013-01-07T01:40:25 < gxti> not quite that way 2013-01-07T01:40:40 < gxti> *(int32_t*)IOBuffer[x][BUF] 2013-01-07T01:40:52 < zyp> just do (int32_t)(((uint32_t)IOBuffer[x][BUF][0] << 16) | IOBuffer[x][BUF][1]) 2013-01-07T01:40:52 < mervaka> oh? 2013-01-07T01:41:29 < mervaka> zyp: sounds about right 2013-01-07T01:41:33 < zyp> since everything is left-aligned it should do the right ting wrt. to signedness 2013-01-07T01:41:37 < mervaka> was gonna make an inline for it though :) 2013-01-07T01:43:50 < zyp> you need to be careful with this kind of tricks on signed ints, otherwise you might be bitten by sign extension 2013-01-07T01:44:00 < mervaka> that's true 2013-01-07T01:44:40 < zyp> so it's best to cast it to/from unsigned when doing such tricks 2013-01-07T01:45:23 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Remote host closed the connection] 2013-01-07T01:45:39 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-07T01:45:55 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-07T01:45:56 < mervaka> well the DAC is expecting MSB first, signed 2013-01-07T01:46:37 < zyp> but what the dac expects is not relevant to how you are operating on it in C 2013-01-07T01:47:23 < zyp> it's still signed even if you cast it to unsigned, it just instructs the compiler to not bother doing any sign-extension 2013-01-07T01:47:44 < zyp> I mean, even if you cast a signed value to unsigned, it still keeps the same binary representation 2013-01-07T01:47:49 < mervaka> so it takes its data 2013-01-07T01:47:57 < mervaka> from the ADC lets say 2013-01-07T01:48:10 < mervaka> we do our shift and or bitwise stuff 2013-01-07T01:48:33 < zyp> we don't change any of the bits, we just rearrange them 2013-01-07T01:48:36 < mervaka> surely the sign bit is now in the correct place? 2013-01-07T01:48:45 < zyp> there is no sign bit 2013-01-07T01:48:50 < mervaka> well, the MSB 2013-01-07T01:49:01 < zyp> yes, that's what I meant with left aligned 2013-01-07T01:49:11 < zyp> MSB is the leftmost bit 2013-01-07T01:49:16 < mervaka> yeah 2013-01-07T01:49:49 < zyp> if the number were right aligned, we would have to be more careful 2013-01-07T01:50:16 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Quit: Leaving.] 2013-01-07T01:50:32 < mervaka> the data is always I2S 2013-01-07T01:50:39 < mervaka> and I2S is always left aligned 2013-01-07T01:50:50 < mervaka> i see what you mean now though :) 2013-01-07T01:51:08 < mervaka> sorry i was getting justification and endianness confused there 2013-01-07T01:51:26 < zyp> if it were right aligned we would then need to do something like this: ((int32_t)(int8_t)IOBuffer[x][BUF][0] << 16) | IOBuffer[x][BUF][1] 2013-01-07T01:52:01 < mervaka> you'd have to shift the lower word too, wouldn't you? 2013-01-07T01:52:38 < zyp> no, I mean, I'm still keeping it right aligned now 2013-01-07T01:52:48 < mervaka> oh ok 2013-01-07T01:53:43 < zyp> first casting it to int8 to say that the highest 8 bits are a signed int, then casting it to 32-bit (with sign extension since it's signed), then shifting the same 16 bits 2013-01-07T01:55:35 < mervaka> yeah 2013-01-07T01:57:59 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-01-07T01:58:46 < mervaka> so a conversion one way would be like 2013-01-07T01:58:47 < mervaka> inline int32_t ConvertSample( int16_t *Samples ) { return (int32_t)(((uint32_t)Samples[0] << 16) | Samples[1]); } 2013-01-07T01:59:33 < zyp> that would probably work, yes 2013-01-07T02:00:08 < mervaka> converting back might be a bit hackier.. 2013-01-07T02:00:28 < zyp> nah 2013-01-07T02:00:58 < zyp> Samples[0] = (uint32_t)x >> 16; Samples[1] = x & 0xffff; 2013-01-07T02:01:24 < mervaka> true.. heh 2013-01-07T02:01:27 < zyp> hmm 2013-01-07T02:02:01 < mervaka> and i'll just pass the pointer to the first item 2013-01-07T02:02:03 < zyp> the cast is probably not even necessary here either, the sign extension will be cropped to fit into uint16 anyway 2013-01-07T02:05:15 < mervaka> would the mask be superfluous, too? 2013-01-07T02:05:35 < zyp> good point. 2013-01-07T02:05:54 < mervaka> for the same reason :) 2013-01-07T02:06:13 < mervaka> inline void ConvertSampleDAC( int16_t *Outputs, int32_t Input ) { Outputs[0] = Input >> 16; Outputs[1] = Input; } 2013-01-07T02:06:27 < mervaka> neato! 2013-01-07T02:06:53 < zyp> I'm just thinking that it's better to be overly careful than not careful enough ;) 2013-01-07T02:07:02 < mervaka> true :) 2013-01-07T02:10:10 < mervaka> oh, my compiler is hating the inlines :( 2013-01-07T02:12:52 < mervaka> well 2013-01-07T02:13:03 < mervaka> i'm sending what's supposed to be a ramp to my DAC now 2013-01-07T02:13:08 < mervaka> and it looks almost like a ramp! 2013-01-07T02:13:09 < mervaka> heh 2013-01-07T02:14:16 -!- jef79m_lurking is now known as jef79m 2013-01-07T02:14:22 < mervaka> i think it's a combination of the stepping and filtering that makes it look odd now 2013-01-07T02:27:36 < mervaka> cool, so it's just on left channel now :) 2013-01-07T02:27:44 < mervaka> using a 4 dimensional array 2013-01-07T02:27:46 < mervaka> haha 2013-01-07T02:27:59 < mervaka> okay, thanks for everything zyp 2013-01-07T02:28:01 < mervaka> nn x 2013-01-07T02:28:06 < zyp> no problem 2013-01-07T02:28:36 < mervaka> isn't perfect, but next job is to pass audio straight through 2013-01-07T02:28:38 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-07T02:28:49 < mervaka> and see how dreadful that is 2013-01-07T02:28:51 < mervaka> :) 2013-01-07T02:29:10 < zyp> sounds easy, you just leave it in the same format ;) 2013-01-07T02:29:17 < mervaka> yeah 2013-01-07T02:29:20 < timemob> Lunix is always dreadful 2013-01-07T02:29:39 < mervaka> passthrough will be the only stage where i can do that unfortunately 2013-01-07T02:30:02 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-01-07T02:31:19 < zyp> true 2013-01-07T02:32:13 < emeb> looks like you got it working. 2013-01-07T02:35:07 < mervaka> http://dug.im/c3fba 2013-01-07T02:35:17 < mervaka> left channel in blue 2013-01-07T02:35:20 < mervaka> right in red :) 2013-01-07T02:36:04 < mervaka> just a little dismayed at the vpp i'm getting 2013-01-07T02:36:11 < mervaka> that's supposed to be full swing :s 2013-01-07T02:44:52 < zyp> at max volume setting? 2013-01-07T02:45:05 < mervaka> yeah 2013-01-07T02:45:13 < zyp> are you sure that you are generating left aligned data now? 2013-01-07T02:45:31 < mervaka> pretty sure, yeah 2013-01-07T02:45:58 < mervaka> wait 2013-01-07T02:46:07 < mervaka> i might be treating this data as unsigned 2013-01-07T02:48:08 < emeb> 264 mVpp? 2013-01-07T02:49:20 < mervaka> differential output voltage is 3.2vpp 2013-01-07T02:49:32 < mervaka> on the pcm1793 2013-01-07T02:50:04 < emeb> close 2013-01-07T02:51:58 < mervaka> bear in mind that's one leg with respect to ground of a differential system 2013-01-07T02:52:20 < emeb> right. so you should be seeing about 1/2 that Vpp riding on Vmid 2013-01-07T02:53:04 < mervaka> i should expect 1.6vpp, yeah 2013-01-07T02:53:31 < zyp> no volume setting you have to change? 2013-01-07T02:53:36 < emeb> about. no telling how much the internal oversampling filters will knock off the sawtooth. 2013-01-07T02:53:38 < zyp> oh, I already asked. 2013-01-07T02:53:56 < emeb> a full-scale sine would be a better Vpp test. 2013-01-07T02:53:57 < zyp> time to generate a sine then 2013-01-07T02:54:01 < mervaka> that's true i guess 2013-01-07T02:54:11 < mervaka> yeah i'm trying to get the ADC hooked up now 2013-01-07T02:54:33 < mervaka> but the bastard I2S3ext peripheral isn't showing any data :( lol 2013-01-07T02:54:45 < emeb> hmm... 2013-01-07T02:54:45 < mervaka> DR is always 0 2013-01-07T02:54:59 < mervaka> though it's happily generating interrupts on its DMA stream 2013-01-07T02:55:00 < emeb> do you see any data on I2S lines from ADC? 2013-01-07T02:55:11 < mervaka> physically? on the scope yes 2013-01-07T02:55:14 < mervaka> loads of it 2013-01-07T02:55:22 < emeb> ok, so serial bits are toggling... 2013-01-07T02:55:41 < zyp> I bet you mixed up input and output data lines :D 2013-01-07T02:56:03 < emeb> srlsy? 2013-01-07T02:56:15 < mervaka> nah, coming in on PC11 2013-01-07T02:56:29 < emeb> the I2Sext ports are slaved to the master and always run in opposite direction 2013-01-07T02:56:37 < mervaka> yeah 2013-01-07T02:56:49 < mervaka> i was toying with I2S3 just now 2013-01-07T02:56:57 < mervaka> which is to the DAC 2013-01-07T02:57:00 < mervaka> as master 2013-01-07T02:58:07 < mervaka> i had some strange stuff earlier as i say. something's up in my code 2013-01-07T02:58:18 < zyp> #define GPIOC_AFRH 0x00067600 //I2S3_SD, I2S3ext_SD, I2S3_CK 2013-01-07T02:58:21 < zyp> this is wrong 2013-01-07T02:58:31 < zyp> I2S3ext_SD is on AF6 2013-01-07T02:58:57 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-07T02:59:07 < dongs> hello internets 2013-01-07T02:59:13 < emeb> 'lo dongs 2013-01-07T02:59:13 < mervaka> sup dongs 2013-01-07T03:00:13 < dongs> blogging. 2013-01-07T03:01:32 < emeb> zyp - no fancy vol ctrl on that DAC. Straight out. 2013-01-07T03:01:39 < zyp> ah 2013-01-07T03:01:42 < zyp> I didn't check 2013-01-07T03:01:49 < emeb> just a MUTE pin 2013-01-07T03:02:07 < mervaka> zyp: I2S3ext_SD is on AF5 2013-01-07T03:02:17 < zyp> ah, yes, my bad 2013-01-07T03:02:17 < emeb> which pin? 2013-01-07T03:02:19 < zyp> PC11 2013-01-07T03:02:29 < zyp> no 2013-01-07T03:02:43 < emeb> I'm not seeing that. 2013-01-07T03:02:47 < zyp> according to my printed table it's on AF6 2013-01-07T03:02:51 < emeb> ditto 2013-01-07T03:02:59 < mervaka> oh crap 2013-01-07T03:02:59 < zyp> but you have it set to AF7 2013-01-07T03:03:19 < mervaka> yeah wtf am i doing there 2013-01-07T03:03:30 < emeb> table 6, pg50/154 of the F407 RM 2013-01-07T03:03:48 < mervaka> you guys got r3? 2013-01-07T03:03:57 < mervaka> table 8 2013-01-07T03:04:01 < mervaka> p59 2013-01-07T03:04:09 < emeb> this is R1. I'm behind... 2013-01-07T03:04:16 < mervaka> or is this consigned to the errata? :/ 2013-01-07T03:04:31 < zyp> huh? 2013-01-07T03:04:40 < zyp> are you talking about datasheet or RM? 2013-01-07T03:04:42 < mervaka> is this table i'm looking at wrong? heh 2013-01-07T03:04:48 < mervaka> datasheet 2013-01-07T03:04:54 < zyp> I have a datasheet rev 1 printout here 2013-01-07T03:04:55 < emeb> yeah - ds 2013-01-07T03:04:59 < emeb> rev 1 2013-01-07T03:05:13 < zyp> it says that for PC11 it's on AF6 2013-01-07T03:05:15 < mervaka> AF6 is SPI3_MISO 2013-01-07T03:05:22 < mervaka> for me 2013-01-07T03:05:37 < zyp> it says «SPI3_MISO/I2S3ext_SD» here 2013-01-07T03:05:42 < emeb> yep 2013-01-07T03:05:44 < zyp> maybe mine is wrong. 2013-01-07T03:05:45 < mervaka> oh 2013-01-07T03:05:59 < zyp> I'll grab latest and check 2013-01-07T03:06:03 < emeb> MISO/MOSI on SPI is same as the SD/SD_EXT 2013-01-07T03:06:11 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has joined ##stm32 2013-01-07T03:06:14 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has quit [Changing host] 2013-01-07T03:06:14 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-07T03:06:30 < zyp> oh 2013-01-07T03:06:35 < zyp> disappeared from rev3 2013-01-07T03:06:37 < mervaka> http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/DM00037051.pdf 2013-01-07T03:06:41 < emeb> bastards 2013-01-07T03:06:45 < mervaka> AF5 :) 2013-01-07T03:06:52 < zyp> yes, you are right 2013-01-07T03:07:03 < zyp> but you still have it set to AF7 in your source 2013-01-07T03:07:05 < emeb> hrmmm. Which port did I use. 2013-01-07T03:07:18 < mervaka> haha, that's so bizarre how i didnt see that. 2013-01-07T03:08:00 < zyp> hmm, according to revision history it changed in rev3 2013-01-07T03:08:07 < emeb> I used I2S2 2013-01-07T03:08:11 < zyp> «modified I2S3ext_SD on PC11 in Table 8: Alternate function mapping» 2013-01-07T03:08:21 < emeb> woulda been pissed if I'd built a board to that spec. 2013-01-07T03:08:27 < zyp> so I guess AF6 was a typo and AF5 is right 2013-01-07T03:08:40 < zyp> emeb, it's not like it matters, it's just the software AF setting 2013-01-07T03:08:48 < zyp> no hardware difference 2013-01-07T03:09:12 < emeb> Ok 2013-01-07T03:10:44 < emeb> glad I never tried to do > 16 bit I2S wordsizes. :P 2013-01-07T03:10:45 < mervaka> hm, still nothing in DR :( 2013-01-07T03:11:27 < emeb> where's your current setup code? 2013-01-07T03:11:36 < mervaka> i'll pastebin 2013-01-07T03:11:49 < zyp> mervaka, do you use the QUICKINIT part or not? 2013-01-07T03:12:01 < mervaka> havent for ages 2013-01-07T03:12:05 < mervaka> disregard it 2013-01-07T03:12:24 < zyp> so the actual line in question is this: GPIO_PinAFConfig(GPIOC, GPIO_PinSource11, GPIO_AF_I2S3ext); //I2S3ext_SD 2013-01-07T03:12:28 < zyp> right? 2013-01-07T03:12:51 < zyp> I2S3ext_SD seem to be present on a few different AF numbers on different pins, so check the value of that. 2013-01-07T03:13:14 < emeb> Here's my I2S full duplex setup -> http://pastebin.com/uBREktuj 2013-01-07T03:13:22 < emeb> which works... 2013-01-07T03:13:32 < zyp> it's AF7 for PB4 2013-01-07T03:13:38 < zyp> and AF5 for PC11 2013-01-07T03:13:51 < zyp> so I suspect that constant is set to 7 2013-01-07T03:14:55 < mervaka> you're bang on.. heh 2013-01-07T03:14:59 < mervaka> it's 7 2013-01-07T03:15:23 < emeb> so rev3 is still wrong? 2013-01-07T03:15:34 < mervaka> dunno 2013-01-07T03:15:57 < mervaka> GPIO_AF_I2S3ext = 0x07 2013-01-07T03:16:01 < mervaka> i know that much 2013-01-07T03:16:54 < mervaka> maybe the peripheral library's wrong 2013-01-07T03:17:10 < zyp> emeb, no, the peripheral lib is wrong 2013-01-07T03:17:18 < zyp> since it can be both AF7 and AF5 depending on pin 2013-01-07T03:17:25 < emeb> heh 2013-01-07T03:17:31 < zyp> just set it to 5 there, and it'll probably work 2013-01-07T03:20:02 < mervaka> yes 2013-01-07T03:20:04 < mervaka> :) 2013-01-07T03:20:07 < mervaka> i am getting data 2013-01-07T03:20:14 < emeb> sweet 2013-01-07T03:20:24 < emeb> loopback! 2013-01-07T03:20:27 < mervaka> however, it's anything but the sine wave i'm putting in, haha 2013-01-07T03:21:17 < mervaka> in fact, it's not even a function of the input, it seems 2013-01-07T03:21:26 < emeb> argh 2013-01-07T03:22:15 < mervaka> maybe it's my memcpy 2013-01-07T03:22:59 < mervaka> memcpy(IOBuffer[DMA_BUFFER_I2S3]+DMA_PERIOD_SIZE, IOBuffer[DMA_BUFFER_I2S3ext]+DMA_PERIOD_SIZE, DMA_PERIOD_SIZE); 2013-01-07T03:23:18 < mervaka> where period size is half the buffer size 2013-01-07T03:23:47 < zyp> buffer size in what? bytes or samples? 2013-01-07T03:23:55 < mervaka> samples 2013-01-07T03:23:58 < mervaka> fuck 2013-01-07T03:24:01 < zyp> :) 2013-01-07T03:24:02 < emeb> heh 2013-01-07T03:24:06 < mervaka> yeah that's the boner right there. 2013-01-07T03:24:28 < zyp> sounds like you need sleep as much as I do 2013-01-07T03:24:34 < emeb> I had all sorts of fun getting the buffer sizes right. 2013-01-07T03:24:52 < mervaka> yeah, 1:24am here, i'm up first thing for uni :/ 2013-01-07T03:25:17 < emeb> blow it off. :) 2013-01-07T03:25:17 < zyp> 2:24 here, and I've got work tomorrow 2013-01-07T03:25:24 < dongs> funtimes. 2013-01-07T03:25:43 < zyp> only problem is that I woke up past 15 today, so I'm not tired at all now. 2013-01-07T03:25:57 < emeb> out of sync again. 2013-01-07T03:26:03 < zyp> yeah, horribly so 2013-01-07T03:26:08 < mervaka> yeah, sync is all but lost here 2013-01-07T03:26:13 < mervaka> i'm up at 6am 2013-01-07T03:26:14 < mervaka> :s 2013-01-07T03:27:05 < zyp> I blame christmas vacation throwing me off sync, and then needing some time to stabilize it again :p 2013-01-07T03:27:19 < mervaka> ah, interesting 2013-01-07T03:27:26 < emeb> well yeah - when you're vacationing above the Arctic circle... 2013-01-07T03:27:41 < zyp> I don't think that part is what matters 2013-01-07T03:27:43 < mervaka> one buffer seems very different in size and activity to the other 2013-01-07T03:28:05 < zyp> it's more the part where if I don't have to be up at 8, I'm not gonna be up at 8 2013-01-07T03:28:24 < emeb> zyp needs a hungry cat alarm like I've got. 2013-01-07T03:28:26 < zyp> and if I'm not gonna be up at 8, I don't have to be in bed in a reasonable time after midnight either 2013-01-07T03:28:59 < mervaka> yey 2013-01-07T03:29:04 < emeb> worky? 2013-01-07T03:29:04 < mervaka> closest thing to a sinewave yet! 2013-01-07T03:29:18 < mervaka> i think have buffer overruns or something 2013-01-07T03:29:25 < mervaka> but it's VERY sinusoidal now 2013-01-07T03:29:38 < emeb> how about amplitude? 2013-01-07T03:29:41 < mervaka> yeah, keeps flipping 180 2013-01-07T03:29:51 < mervaka> 1.04vpp 2013-01-07T03:29:59 < mervaka> seems legit 2013-01-07T03:30:03 < emeb> better than 264mv 2013-01-07T03:30:12 < mervaka> and this is from analogue input 2013-01-07T03:30:15 < mervaka> lemme ramp it up a bit 2013-01-07T03:30:26 < emeb> crank it up to 11. 2013-01-07T03:30:39 < mervaka> yeah, clips at 1.6 :) 2013-01-07T03:30:46 < emeb> bingo! 2013-01-07T03:30:49 < zyp> while you're at it, make everything louder than everything else 2013-01-07T03:31:00 < mervaka> heh 2013-01-07T03:31:01 < emeb> sidechain compression! 2013-01-07T03:31:18 < mervaka> oo we have audio guys here! 2013-01-07T03:31:21 < mervaka> yay 2013-01-07T03:31:24 < emeb> little bit 2013-01-07T03:31:43 < mervaka> << sound engineer looking for career change 2013-01-07T03:31:53 < mervaka> hence doing degree in electronics 2013-01-07T03:31:58 < zyp> ah, fun 2013-01-07T03:32:02 < emeb> good choice. 2013-01-07T03:32:21 < mervaka> sick to the teeth of pub gigs and the odd festival 2013-01-07T03:32:35 < emeb> road life sounds harsh 2013-01-07T03:32:54 < mervaka> it's the SPL levels, money, and assholes mostly 2013-01-07T03:32:59 < mervaka> that kill it for me 2013-01-07T03:33:39 < mervaka> http://dug.im/e704d 2013-01-07T03:33:45 < zyp> I hear people are just listening to shit nowadays anyway 2013-01-07T03:33:53 < zyp> :p 2013-01-07T03:33:58 < emeb> aha - looks like the buffer is slightly mis-aligned. 2013-01-07T03:34:07 < mervaka> yeah 2013-01-07T03:34:13 < mervaka> keeps flipping 180ish too 2013-01-07T03:34:26 < Bird|lappy> zyp, nah. there's good stuff out there, you just have to look a bit harder for it 2013-01-07T03:34:35 < zyp> Bird|lappy, I was joking. 2013-01-07T03:34:39 < zyp> take no offence. 2013-01-07T03:34:48 < Bird|lappy> xD 2013-01-07T03:35:00 < mervaka> a few local bands down here in cornwall/devon that are fecking amazing 2013-01-07T03:35:14 < mervaka> but loads of trash among it, big and small 2013-01-07T03:35:17 < emeb> mervaka: got your buffers set up so that ones reading while the other is writing? 2013-01-07T03:35:27 < mervaka> emeb: i think so 2013-01-07T03:35:42 < emeb> just checking - coulda been a collision. 2013-01-07T03:35:47 < mervaka> memcpying the second half at TC 2013-01-07T03:35:56 < mervaka> first half at HT 2013-01-07T03:36:04 < emeb> yup 2013-01-07T03:37:19 < mervaka> i'm not paying too much attention to the I2S3ext interrupt, because it slaves off I2S3 2013-01-07T03:37:29 < mervaka> i assume that's okay? 2013-01-07T03:37:29 < emeb> notice that the peaks of those glitches are tracing a sine too, just out of phase. 2013-01-07T03:37:29 < zyp> are both channels starting at the same time then? 2013-01-07T03:37:31 < mervaka> heh 2013-01-07T03:37:57 < emeb> mervaka: that's what I did too - slaved to one. 2013-01-07T03:38:11 < emeb> never had any problem with it. 2013-01-07T03:39:50 < mervaka> you're onto something though, it is following the sine out of sync 2013-01-07T03:39:52 < mervaka> hmm 2013-01-07T03:41:08 < mervaka> and i assume the flipping is more to do with the pointers colliding? 2013-01-07T03:41:28 < emeb> that'd be my first guess 2013-01-07T03:41:41 < mervaka> time to get double buffering :) 2013-01-07T03:42:42 < emeb> well, I just used HT/TC and that seems to work fine. 2013-01-07T03:43:11 < emeb> really don't see the difference between HT/TC vs double buffer in the big picture. 2013-01-07T03:43:29 < mervaka> hmm 2013-01-07T03:43:46 < mervaka> could it be that the memcpy is taking too much time? 2013-01-07T03:43:51 < mervaka> surely not 2013-01-07T03:44:00 < emeb> that should be pretty fast. 2013-01-07T03:44:05 < emeb> how big is your buffer? 2013-01-07T03:44:11 < mervaka> 64 samples 2013-01-07T03:44:26 < emeb> about the same as mine. Never had any issue with that. 2013-01-07T03:44:47 < mervaka> so the memcpy is 256 bytes 2013-01-07T03:46:04 < emeb> here's my DMA ISR -> http://pastebin.com/pRedYAcE 2013-01-07T03:46:55 < emeb> rxbuf & txbuf are the DMA buffers, szbuf is the total buffer length. 2013-01-07T03:47:21 < emeb> Audio_Proc() is the routine the computes DAC data from ADC data. 2013-01-07T03:47:36 < emeb> no memcpy - just works in realtime. 2013-01-07T03:49:22 < mervaka> ah cool 2013-01-07T03:49:36 < mervaka> i should think about that. 2013-01-07T03:51:32 < mervaka> although i have this feckin endian swap to deal with 2013-01-07T03:51:55 < emeb> there's that. 2013-01-07T03:52:49 < emeb> in my Audio_Proc() routine there's a lot of stuff going on to deinterlace the stereo channels, process separately & reinterlace. 2013-01-07T03:53:08 < emeb> I'd guess that the endian-fix could integrate fairly easily with that stuff. 2013-01-07T03:53:27 < mervaka> ok cool 2013-01-07T03:53:53 < mervaka> yeah i guess the only time it'd really get cimplicated is when i'm filtering, but then there's only IIR taps to deal with 2013-01-07T03:54:53 < emeb> well, for most efficient code you'd want to have your date massaged into natural values before going into the filter. 2013-01-07T03:55:26 < mervaka> date? 2013-01-07T03:55:36 < emeb> data 2013-01-07T03:55:39 < mervaka> oh :p 2013-01-07T03:55:58 < mervaka> how do you mean? 2013-01-07T03:56:06 < mervaka> like with the endian swap? 2013-01-07T03:56:16 < emeb> yep - do that at the start & end 2013-01-07T03:56:24 < emeb> all in-between ops are normal. 2013-01-07T03:56:32 < mervaka> hmm 2013-01-07T03:56:41 < mervaka> stm32 has a floating point processor.. 2013-01-07T03:56:47 < emeb> yes. 2013-01-07T03:56:52 < emeb> works nicely for IIRs. 2013-01-07T03:56:52 < mervaka> worth avoiding fixed point processing therefore? :) 2013-01-07T03:57:34 < emeb> I've done both ways - some effects work well in floating pt. (reverb) 2013-01-07T03:57:52 < mervaka> cool 2013-01-07T03:58:10 < emeb> others (like long delays) I keep in integers and buffer, only converting to floating pt during things like filters. 2013-01-07T03:59:38 < mervaka> oh, this is interesting 2013-01-07T03:59:46 < mervaka> hooked right channel up to scope 2013-01-07T03:59:53 < mervaka> the glitches are mirrored 2013-01-07T04:00:16 < zyp> if you are using 32 bytes to store each sample, there is no size advantage by storing them as integers 2013-01-07T04:00:23 < zyp> bits* 2013-01-07T04:00:29 < zyp> since floats are also 32 bits 2013-01-07T04:01:02 < mervaka> idd 2013-01-07T04:01:16 < emeb> switching machines... 2013-01-07T04:01:20 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-07T04:01:23 < zyp> so if they are converted to float at all, you might as well keep it as float throughout the entire chain 2013-01-07T04:02:43 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-07T04:03:16 < dongs> bug on the bus 2013-01-07T04:08:38 < dongs> http://i.imgur.com/nFPEG.jpg led display of doom progressing 2013-01-07T04:09:12 -!- cjbaird [~cjb@ppp121-44-58-168.lns20.syd6.internode.on.net] has joined ##stm32 2013-01-07T04:09:34 -!- baird [~cjb@ppp121-44-223-101.lns20.syd7.internode.on.net] has quit [Ping timeout: 256 seconds] 2013-01-07T04:16:02 < mervaka> right, i'm calling that a night 2013-01-07T04:16:09 < mervaka> thanks all so much :) 2013-01-07T04:26:41 < mervaka> one more observation: the phase jumping is just my scope triggering off the spikes 2013-01-07T04:26:52 < mervaka> the spikes are moving :p 2013-01-07T04:27:20 < mervaka> if i trigger off the input it's fine 2013-01-07T04:54:46 < zippe> I wish someone had a clean, simple, working STM32 I2C slave implementation 2013-01-07T04:54:55 < zippe> the CPAL is a fukcing joke 2013-01-07T05:04:31 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-07T05:04:56 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-07T05:16:37 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-07T05:38:18 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 272 seconds] 2013-01-07T05:39:40 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-07T06:07:44 < dongs> lawl 2013-01-07T06:07:51 < dongs> yeah cpal is nastyshit. 2013-01-07T06:08:00 < dongs> zippe: submitted pcbs for the shit today. 2013-01-07T06:08:04 < dongs> will have in 3-4 days. 2013-01-07T06:11:00 < dongs> maybe ask zyp to do one in laks then you can rip it 2013-01-07T06:11:00 < zippe> dongs: conagratz 2013-01-07T06:11:15 < zippe> dongs: I think I tried that last time 2013-01-07T06:11:19 < dongs> Heh 2013-01-07T06:11:33 < dongs> i had to offer *two* people $50 for them to write me software i2c slave. 2013-01-07T06:11:44 < dongs> (only zyp succeeded) 2013-01-07T06:21:04 < dongs> he still needs to optimize it so i dont have to overclock to 128mhz :) 2013-01-07T06:21:30 < emeb_mac> the need for speed... 2013-01-07T06:26:40 < dongs> smoothieboard landed in jp 2013-01-07T06:26:46 < dongs> soon I'll be a 3d printing faggot pro 2013-01-07T06:30:24 < emeb_mac> you can churn out the anime figurines with the best of them. 2013-01-07T06:30:52 < dongs> hahah fuck yea 2013-01-07T06:31:59 -!- _BJFreeman [~bjfree@140.sub-75-244-149.myvzw.com] has quit [Quit: had a good time] 2013-01-07T06:35:05 < emeb_mac> i guess the hardware (motors, mechanicals, heater stages) aren't simple though. 2013-01-07T06:54:50 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-07T06:54:57 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-07T07:17:44 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 272 seconds] 2013-01-07T07:19:35 < zippe> Stupid thing 2013-01-07T07:19:43 < zippe> Why am I getting bus error / stop ? 2013-01-07T07:20:51 < emeb_mac> where / what? 2013-01-07T07:21:43 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-07T07:27:14 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-07T07:31:08 -!- Tectu [tectu@kunsmann.eu] has quit [Remote host closed the connection] 2013-01-07T07:31:12 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has joined ##stm32 2013-01-07T07:31:13 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has quit [Changing host] 2013-01-07T07:31:13 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-07T07:33:20 < zippe> When I try to talk to my skeleton slave device 2013-01-07T07:33:29 < zippe> I never get ADDR, just BE/STOPF 2013-01-07T07:33:44 < zippe> I must have screwed the config somehow 2013-01-07T07:33:46 < emeb_mac> ah - I2C crap 2013-01-07T07:34:23 < zippe> yes 2013-01-07T07:36:54 < emeb_mac> Every time STM32 I2C comes up here it seems to me that their HW was designed by a n00b engineer. 2013-01-07T07:39:53 < dongs> flyback: ? 2013-01-07T07:40:13 < dongs> of useless shit it seems 2013-01-07T07:40:47 < dongs> at the page you lijnked/ yes 2013-01-07T07:41:29 < dongs> high feedback = scammer 2013-01-07T07:44:41 -!- jef79m is now known as jef79m_lurking 2013-01-07T07:45:49 < zippe> emeb_mac: i2c hardware is always fail 2013-01-07T07:46:11 < emeb_mac> zippe: it's a crazy protocol, that's certain. 2013-01-07T07:47:06 < emeb_mac> seems to me that it was easier to use on dsPIC than on STM32 though 2013-01-07T07:47:09 < dongs> whatcha doing wiht i2c slave, zippe 2013-01-07T07:51:19 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-07T07:52:44 < emeb_mac> here's what you need: http://www.slashgear.com/nvidia-tegra-4-revealed-with-72-gpu-cores-and-4g-lte-06263522/ 2013-01-07T07:53:19 < dongs> the fuck 2013-01-07T07:54:05 < dongs> oh i thought it was liek a vidoe card 2013-01-07T07:54:28 < emeb_mac> nope - smartphone SoC 2013-01-07T07:54:51 < emeb_mac> although why you need 72 GPUs.... 2013-01-07T07:55:09 < emeb_mac> MOAR FRUIT NINJA!!! 2013-01-07T07:55:25 < dongs> so you can angry the birds faster. 2013-01-07T07:55:33 < emeb_mac> or something 2013-01-07T07:59:28 < dongs> so wat 2013-01-07T08:01:14 < emeb_mac> saw that the other day. wondered if it might be e-ink. 2013-01-07T08:01:20 < dongs> it is 2013-01-07T08:01:24 < dongs> its shit from kindle2 or soemthign 2013-01-07T08:01:25 < zippe> dongs: trying to get a serial port back 2013-01-07T08:01:29 < emeb_mac> I guess e-ink needs special driver chips 2013-01-07T08:01:36 < dongs> zippe: wut? :) 2013-01-07T08:01:36 < zippe> dongs: basically IPC between two STM32s 2013-01-07T08:01:40 < dongs> oh 2013-01-07T08:01:42 < dongs> over i2c? 2013-01-07T08:01:46 < zippe> yeah 2013-01-07T08:01:46 < dongs> what the fuck is wrong wiht you :) 2013-01-07T08:01:51 < emeb_mac> use CAN 2013-01-07T08:01:52 < dongs> use SPI or something less retarded 2013-01-07T08:01:58 < zippe> No CAN on the F100 2013-01-07T08:02:04 < zippe> No pins for SPI 2013-01-07T08:02:04 < emeb_mac> oops 2013-01-07T08:02:07 < dongs> lame 2013-01-07T08:02:15 < emeb_mac> bitbang all the pins 2013-01-07T08:02:18 < zippe> Yeah, going to fix that in the next version I hope 2013-01-07T08:02:25 < zippe> Don't have the CPU cycles for bitbang 2013-01-07T08:02:27 < dongs> bitbang 1wire or somethign 2013-01-07T08:02:30 < zippe> it's I2C DMA or bust 2013-01-07T08:02:32 < dongs> even that would be less retarded than i2c 2013-01-07T08:02:55 < emeb_mac> just between 2 parts? 2013-01-07T08:03:00 < dongs> what size F0? 2013-01-07T08:03:53 < dongs> ah, so zippes secretproj is http://www.kkmulticopter.kr/index.html?modea=imgview&sn=flycam_black32&size=L 2013-01-07T08:04:02 < emeb_mac> if just 2 why not use USART in sync mode? 2013-01-07T08:04:19 < emeb_mac> don't need all the fancy addressing crap that I2C has. 2013-01-07T08:04:33 < dongs> i think hes trying to avoid using uart 2013-01-07T08:05:55 < zippe> I have run out of UARTs on the main core 2013-01-07T08:06:18 < zippe> dongs: f100c8, actually 2013-01-07T08:06:48 < dongs> zippe: that much cheaper than F1? 2013-01-07T08:06:55 < dongs> zippe: btw, any idea what soc is this http://i.imgur.com/fFWM6.png 2013-01-07T08:07:10 < dongs> (just if you seen the diagram before) 2013-01-07T08:07:40 < zippe> It was at the time 2013-01-07T08:07:42 < zippe> Bad call, now 2013-01-07T08:08:00 < dongs> f103c8 is like < $2 2013-01-07T08:08:09 < zippe> dongs: Um, no. Smells a bit like Nuvoton 2013-01-07T08:08:12 < dongs> mmh 2013-01-07T08:08:56 < zippe> flyback: hardware is already done, sadly 2013-01-07T08:09:06 < zippe> This is a retrohack to deal with having screwed up 2013-01-07T08:09:08 < dongs> heh i tried usign i2c uart once 2013-01-07T08:10:07 < emeb_mac> aren't all these parts basically pin-compatible? 2013-01-07T08:10:19 < zippe> emeb_mac: done and shipped 2013-01-07T08:10:52 < emeb_mac> oop 2013-01-07T08:11:10 < dongs> dual core F0 eh 2013-01-07T08:11:16 < emeb_mac> hence retrohack 2013-01-07T08:11:18 < dongs> so how do you have ipc between them now? 2013-01-07T08:11:22 < dongs> uart? 2013-01-07T08:11:31 < dongs> whats i2c gonna do? same pins? 2013-01-07T08:12:24 < zippe> dongs: F405 and F100 (not F0) 2013-01-07T08:12:36 < zippe> Currently I burned a UART on each end 2013-01-07T08:12:39 < zippe> Which works fine 2013-01-07T08:12:47 < zippe> But we need the UART on the F4 for other applications 2013-01-07T08:12:57 < zippe> The UART was always a backup plan if I couldn't get I2C going 2013-01-07T08:13:18 < zippe> It was just a stopgap to buy time 2013-01-07T08:13:20 < dongs> cant you remap uart somewhere else on f4 2013-01-07T08:13:25 < dongs> ah 2013-01-07T08:13:29 < zippe> Negative. Pins are totally used up 2013-01-07T08:13:47 < zippe> Going to move up to a bigger package for the next major rev, but gotta make this one work 2013-01-07T08:13:59 < dongs> is that your pix shit? 2013-01-07T08:14:03 < dongs> i remember it had some ghetto coprocessor 2013-01-07T08:14:05 < zippe> ya 2013-01-07T08:18:13 < dongs> sigh 2013-01-07T08:18:20 < dongs> dunno if I should take on that shitty core proj 2013-01-07T08:18:33 < dongs> smells like fail, custom uCOS shit and I have to do some lowlevel stuff 2013-01-07T08:19:40 < dongs> but i dont have shit pouring out of my asshole 24/7 2013-01-07T08:20:06 < emeb_mac> cortex A5 ? wtf? http://dx.com/p/saa-250-android-4-0-diy-intelligent-tv-box-advertising-development-motherboard-red-179980 2013-01-07T08:20:42 < dongs> emeb_mac: what about a5 2013-01-07T08:20:45 < dongs> o telechips 2013-01-07T08:20:50 < dongs> old news, no? 2013-01-07T08:20:59 < emeb_mac> beats me. just heard of it. 2013-01-07T08:21:58 < dongs> cool cpuboard package heh 2013-01-07T08:22:03 < dongs> its got a hole 2013-01-07T08:23:35 < emeb_mac> wifi module. 2013-01-07T08:24:22 < zippe> Ah nice, someone finally put the TCC thing on a board that's not stupid 2013-01-07T08:25:21 < zippe> The A5 MPCore has some exciting bugs though 2013-01-07T08:25:31 < zippe> I would rather stick to the single-core implementation 2013-01-07T08:25:45 < zippe> Though you'd hope they've fixed them in their BSP 2013-01-07T08:26:03 < emeb_mac> "exciting bugs" - marketing bullet worth remembering 2013-01-07T08:26:21 < zippe> Making it do sensible things with L2 caches is quite hard 2013-01-07T08:26:36 < zippe> read "you will have to add some extra logic for that" 2013-01-07T08:26:52 < zippe> The A7 is much better in that regard 2013-01-07T08:27:08 < zippe> Man, this I2C stuff is making me feel like a moron. I can't make anything work. 2013-01-07T08:33:30 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-01-07T08:34:12 -!- upgrdman_ [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Client Quit] 2013-01-07T08:56:54 -!- cjbaird [~cjb@ppp121-44-58-168.lns20.syd6.internode.on.net] has quit [Ping timeout: 240 seconds] 2013-01-07T08:59:08 < zippe> Agh. stupid I2C address encoding 2013-01-07T08:59:12 < zippe> Now I have bytes 2013-01-07T09:02:48 < emeb_mac> getting there... 2013-01-07T09:04:58 -!- cjbaird [~cjb@ppp121-44-179-28.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-07T09:16:09 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-07T09:40:20 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-07T09:46:41 < dongs> sup cjbeard 2013-01-07T09:52:16 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-07T10:08:12 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-07T10:13:28 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-01-07T10:13:28 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-01-07T10:13:28 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-07T10:29:44 -!- jef79m_lurking is now known as jef79m 2013-01-07T10:49:48 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-07T10:52:35 -!- cjbaird [~cjb@ppp121-44-179-28.lns20.syd7.internode.on.net] has quit [Ping timeout: 252 seconds] 2013-01-07T11:11:54 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-07T11:12:24 -!- cjbaird [~cjb@ppp121-44-144-168.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-07T11:12:57 < cjbaird> sup dogs 2013-01-07T11:13:42 < jpa-> cats 2013-01-07T11:16:20 < cjbaird> living together 2013-01-07T11:19:57 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-07T11:21:25 -!- claude is now known as Claude 2013-01-07T11:24:08 < dongs> liveblog 2013-01-07T11:31:25 -!- jef79m is now known as jef79m_lurking 2013-01-07T11:38:43 -!- Gargantuasauce [~Gargantua@86.71.91.173] has joined ##stm32 2013-01-07T11:47:17 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-07T11:51:49 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 260 seconds] 2013-01-07T11:52:30 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-07T11:52:36 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-01-07T11:55:02 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-07T12:01:01 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-07T12:03:35 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Max SendQ exceeded] 2013-01-07T12:08:57 -!- _BJFreeman [~bjfree@69.sub-75-233-125.myvzw.com] has joined ##stm32 2013-01-07T12:12:04 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-07T12:15:24 -!- Gargantuasauce [~Gargantua@86.71.91.173] has quit [Ping timeout: 272 seconds] 2013-01-07T12:18:50 < dongs> http://i.imgur.com/I96Tr.jpg sup Laurenceb_ 2013-01-07T12:19:03 < Laurenceb_> more gore? 2013-01-07T12:19:13 < dongs> not this time 2013-01-07T12:19:25 < dongs> note i din't say "only Laurenceb_ " 2013-01-07T12:19:27 < Laurenceb_> ah 2013-01-07T12:19:34 < Laurenceb_> proper tronics pronz 2013-01-07T12:19:40 < zyp> nice 2013-01-07T12:20:13 < Laurenceb_> freescale accel on there? 2013-01-07T12:20:21 < dongs> 8451 2013-01-07T12:20:29 < Laurenceb_> nice 2013-01-07T12:21:37 < zyp> dongs, so now your users have to distinguish between M3 builds and M4F builds? :p 2013-01-07T12:22:12 < dongs> no, this is just a panel for me + couple other coders to fuck around wiht 2013-01-07T12:22:33 < dongs> i wonder how hard would it be to support both in a single hex, probably not worth it also due to flash size diff 2013-01-07T12:23:00 < zyp> not very hard 2013-01-07T12:23:07 < dongs> o wait, no, it'd be worthless 2013-01-07T12:23:12 < dongs> cuz of fp math vs softfloat 2013-01-07T12:23:28 < dongs> drivers would be easy 2013-01-07T12:23:34 < zyp> you just need to ship two variants of functions that benefit from fpu 2013-01-07T12:23:40 < zyp> and select one at startup 2013-01-07T12:24:02 < dongs> nope, isn't param passing and shit happen through fpu regs too 2013-01-07T12:24:08 < dongs> it'd be pretty hairy to setup 2013-01-07T12:24:12 < zyp> no 2013-01-07T12:24:24 < zyp> I mean, that's what the float-abi thing is about 2013-01-07T12:24:25 < dongs> yousure? 2013-01-07T12:24:47 < zyp> soft-ABI means you pass params in normal regs, so it's compatible with code using fpu-emulation 2013-01-07T12:25:02 < dongs> i see. that's kinda neat. 2013-01-07T12:27:06 < zyp> and I know gcc have some support for generating multiple versions for a single function with different compilation options on other architectures, but I don't know how applicable that would be to cortex-m 2013-01-07T12:27:08 < zippe> It just murders your performance because you waste a heap of time shuffling between FPRs and GPRs 2013-01-07T12:27:24 < zippe> zyp: it's bad 2013-01-07T12:27:32 < Laurenceb_> cant you just use a config pin? 2013-01-07T12:27:47 < zippe> Better by far to just build multiple complete binaries 2013-01-07T12:27:48 < Laurenceb_> or examine boot flash or something? 2013-01-07T12:27:53 < zippe> That way you can exploit LTO 2013-01-07T12:28:05 < zyp> Laurenceb_, you can just check chipid 2013-01-07T12:28:09 < Laurenceb_> then refuse to boot unless its on the right board 2013-01-07T12:28:12 < zyp> Laurenceb_, that's not the problem. 2013-01-07T12:28:24 < zippe> You're trying to decide what to upload, yes? 2013-01-07T12:28:25 < Laurenceb_> have it spit out an error 2013-01-07T12:28:35 < Laurenceb_> saying you need the other binary 2013-01-07T12:28:37 < zippe> And you want to use the ST bootloader? 2013-01-07T12:29:12 < dongs> flash loader I got doesn't even support f3 :p 2013-01-07T12:29:22 < dongs> im using older version coz newest one was busted 2013-01-07T12:29:32 < zyp> isn't the protocol identical anyway? 2013-01-07T12:29:45 < dongs> but it has like flash maps and shit 2013-01-07T12:30:24 < dongs> anyway, easy solution is making F3 build > 128k :) 2013-01-07T12:30:39 < zyp> zippe, by the way, do you happen to have experience with lpc chips? 2013-01-07T12:31:37 < dongs> zippe will trade LPC experience for working I2C slave code :) 2013-01-07T12:31:43 < zyp> :p 2013-01-07T12:32:13 * Laurenceb_ uses mokoboot to flash F3 2013-01-07T12:32:19 < dongs> .. moko. 2013-01-07T12:32:20 < dongs> no thanks 2013-01-07T12:32:25 < zippe> Um, a little 2013-01-07T12:32:36 < dongs> filthy opensaucer shite 2013-01-07T12:32:43 < zippe> I actually got my slave shit working 2013-01-07T12:32:48 < zippe> Just stupid address shifting 2013-01-07T12:32:56 < dongs> you were poking at addr << 1 ? 2013-01-07T12:33:05 < zippe> And the STM32 I2C gets all pissy when there's an address NAK for someone else on the bus 2013-01-07T12:33:38 < zyp> zippe, I'm observing that asserting reset on lpc4357 kills the jtag/swd port, does that make sense? 2013-01-07T12:33:51 < zippe> zyp: which reset? 2013-01-07T12:33:59 < Laurenceb_> STM32 I2C is a disaster area 2013-01-07T12:33:59 < zyp> system reset 2013-01-07T12:33:59 < zippe> That sounds like a colossal fuckup 2013-01-07T12:34:28 < zippe> zyp: what happens if you hit the system reset bit via JTAG? 2013-01-07T12:34:41 < zyp> sysresetreq? 2013-01-07T12:35:42 < zippe> Either that or vectreset 2013-01-07T12:36:18 < zyp> I haven't tested doing that myself, but the normal reset routine in BMP isn't working properly 2013-01-07T12:36:43 < zippe> Well, that uses SYSRESETREQ 2013-01-07T12:36:48 < zyp> I know 2013-01-07T12:37:07 < zippe> The board doesn't tie nSRST to nJTRST does it? 2013-01-07T12:37:20 < zyp> no, trst is not connected at all 2013-01-07T12:37:35 < zippe> Well, that sounds like they fucked it up 2013-01-07T12:37:57 < zippe> It's not entirely uncommon. I would be calling your FAE and asking to talk to his boss. 2013-01-07T12:38:13 < Laurenceb_> happens all the time at ST 2013-01-07T12:38:41 < zippe> Basically, it sounds like they've managed to tie system reset to power-on reset 2013-01-07T12:38:53 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-07T12:39:02 < Laurenceb_> lolz 2013-01-07T12:39:20 < zippe> That's a fairly major fail 2013-01-07T12:39:33 < zyp> yeah 2013-01-07T12:39:43 < zyp> hmm 2013-01-07T12:39:44 < zippe> You might run a quick eye over any OTP or config bits in flash 2013-01-07T12:39:56 < zippe> (assuming that's one of the parts with flash) 2013-01-07T12:40:08 < zyp> dongs, did you notice anything weird when you flashed the one you assembled? 2013-01-07T12:40:24 < dongs> zyp, worked fine for me 2013-01-07T12:40:26 < dongs> using ulink+keil 2013-01-07T12:40:35 < dongs> the only weird thing was that it stopped working when i pulled jtag 2013-01-07T12:40:39 < dongs> but that was pullup on reset issue. 2013-01-07T12:40:42 < dongs> i could step through, etc 2013-01-07T12:40:43 < dongs> no problem 2013-01-07T12:40:46 < dongs> w/debugger 2013-01-07T12:41:06 -!- cjbaird [~cjb@ppp121-44-144-168.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2013-01-07T12:41:12 < zyp> hmm, didn't you say that one of the debuggers didn't work? 2013-01-07T12:41:18 < zippe> I'm going to have to crash out here, sorry 2013-01-07T12:41:21 < zippe> Good luck 8/ 2013-01-07T12:41:26 < zyp> no problem 2013-01-07T12:41:43 -!- cjbaird [~cjb@ppp121-44-144-168.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-07T12:41:46 < dongs> zyp, oh, right , ulink didnt work 2013-01-07T12:41:52 < zyp> I'm about to leave for lunch myself in a few minutes 2013-01-07T12:41:53 < dongs> but it couldnt find anything on swd/jtag bus at all 2013-01-07T12:41:54 < Laurenceb_> debuggery - is that what westboro baptists do? 2013-01-07T12:41:56 < dongs> i suspect driver issue 2013-01-07T12:42:03 < dongs> driver/firmware 2013-01-07T12:42:05 < zyp> dongs, well 2013-01-07T12:42:06 -!- cjbaird is now known as baird 2013-01-07T12:42:13 < dongs> but it worked in jlink 2013-01-07T12:42:17 < dongs> which would be my reference for nonfail 2013-01-07T12:42:22 < zyp> my problem is that I don't find anything on the bus at all when reset is asserted. 2013-01-07T12:42:45 < zyp> I have to release reset to find it. 2013-01-07T12:43:03 < zyp> and when I reset it again, it kills the debugger connection 2013-01-07T12:43:40 < dongs> hmm.. 2013-01-07T12:44:37 < dongs> 2BA01477 2013-01-07T12:44:42 < dongs> ulink sees my f3 2013-01-07T12:45:45 < dongs> i can try again lets see 2013-01-07T12:46:02 < zyp> it might be interesting to see what happens if you externally drive reset low while jlink tries to connect 2013-01-07T12:46:11 < zyp> or after jlink is connected 2013-01-07T12:46:49 < dongs> well jlink works and im not worried 2013-01-07T12:46:55 < dongs> im more interested why ulink dosnt 2013-01-07T12:47:16 < dongs> ulink seems not pulling up rst 2013-01-07T12:47:26 < zyp> yes, that might also be the reason 2013-01-07T12:47:35 < zyp> I had that problem with bmp vs bmp2 2013-01-07T12:47:49 < zyp> bmp pulls reset, bmp2 doesn't 2013-01-07T12:48:06 < zyp> after adding pullup to board, it's detected by bmp2 aswell 2013-01-07T12:48:09 < dongs> ok 2013-01-07T12:48:10 < dongs> zyp 2013-01-07T12:48:16 < dongs> i have to choose 'connect with pre-reset' 2013-01-07T12:48:19 < dongs> then it works in ulink too 2013-01-07T12:49:07 < zyp> for some amount of «works» 2013-01-07T12:49:23 < dongs> Cannot enter Debug Mode 2013-01-07T12:49:24 < dongs> Full Chip Erase Failed! 2013-01-07T12:49:24 < dongs> Cannot access Memory 2013-01-07T12:49:24 < dongs> hmm 2013-01-07T12:50:50 < Thorn> debuggers must give very detailed error messages when something goes wrong, not "internal command error" like st-link does 2013-01-07T12:56:25 < dongs> zyp: seems it is kinda dicked up 2013-01-07T12:56:29 < dongs> at least on ulink. 2013-01-07T12:56:32 < dongs> needs 'pre-reset' 2013-01-07T12:56:38 < dongs> to connect and find swd 2013-01-07T12:56:41 < dongs> erase s ucceeds, 2013-01-07T12:56:44 < dongs> but hten download fails. 2013-01-07T12:56:55 < dongs> but works fine with jlink.. so.. i didnt add the pullup on reset yet 2013-01-07T12:56:57 < dongs> i should prob do it 2013-01-07T12:57:07 < dongs> did you? 2013-01-07T12:57:35 < zyp> I've added it on one board so far 2013-01-07T12:57:47 < zyp> http://bin.jvnv.net/f/cILud.JPG 2013-01-07T13:01:58 < dongs> does that jumper corner pin to vcc? 2013-01-07T13:02:07 < dongs> reset is corner one? 2013-01-07T13:02:49 < dongs> ah yeah corner is nrst 2013-01-07T13:02:57 < dongs> so, it fucks up for you even with that? 2013-01-07T13:03:01 < dongs> + debug 2013-01-07T13:03:09 < dongs> how come your leds arent half lit 2013-01-07T13:04:48 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-07T13:10:17 < dongs> zyp: all works with resistor 2013-01-07T13:10:19 < dongs> w/ulink 2013-01-07T13:10:30 < dongs> yep 2013-01-07T13:10:33 < dongs> nothing special needed. 2013-01-07T13:10:40 < dongs> blame: opensaucer 2013-01-07T13:10:53 < dongs> Load "F:\\projects\\zyp\\Blinky\\Obj\\Blinky_FlashA.AXF" 2013-01-07T13:10:53 < dongs> Erase Done. 2013-01-07T13:10:53 < dongs> Programming Done. 2013-01-07T13:10:53 < dongs> Verify OK. 2013-01-07T13:10:54 < dongs> Application running ... 2013-01-07T13:11:52 < dongs> oops. 2013-01-07T13:11:54 < dongs> stepping fails. 2013-01-07T13:12:51 < jpa-> huh, nuttx rtc driver worked out of the box with no issues 2013-01-07T13:12:55 < jpa-> quite surprising :D 2013-01-07T13:13:32 < dongs> whirred. 2013-01-07T13:13:36 < dongs> will try jlink later this evening 2013-01-07T13:15:59 -!- _BJFreeman [~bjfree@69.sub-75-233-125.myvzw.com] has quit [Quit: had a good time] 2013-01-07T13:16:47 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2013-01-07T13:30:54 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Ping timeout: 276 seconds] 2013-01-07T13:32:24 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2013-01-07T13:34:49 < zyp> dongs, ok, thanks 2013-01-07T13:53:56 < dongs> fuck 2013-01-07T13:54:29 < dongs> zyp, which reset did you conenct to jtag 2013-01-07T13:54:34 < dongs> system reset or jnrst or whaever 2013-01-07T13:57:01 < zyp> system reset of course 2013-01-07T13:57:27 < zyp> there is no pin for njtrst in cortex debug connector 2013-01-07T13:57:46 < zyp> and there is no need for one either 2013-01-07T13:58:16 < dongs> HEY 2013-01-07T13:58:17 < dongs> i can step 2013-01-07T13:58:19 < dongs> with jlink 2013-01-07T13:58:23 < dongs> but when i go into systeminit 2013-01-07T13:58:27 < dongs> it dies at some point 2013-01-07T13:58:36 < dongs> stepping through to see where 2013-01-07T13:58:47 < dongs> SetClock() 2013-01-07T13:59:18 < dongs> LPC_CGU->BASE_M4_CLK = (0x01 << 11) | /* Autoblock En */ 2013-01-07T13:59:23 < dongs> (CLK_SRC_IRC << 24) ; /* Set clock source */ 2013-01-07T13:59:23 < dongs> here. 2013-01-07T13:59:26 < dongs> /* Switch BASE_M4_CLOCK to IRC 2013-01-07T14:00:04 < dongs> are you using my blinky code? or trying something else 2013-01-07T14:00:40 < zyp> I flashed your blink code 2013-01-07T14:00:47 < zyp> that part was fine 2013-01-07T14:01:00 < dongs> i can step 2013-01-07T14:01:04 < dongs> until i hit the clock change shit. 2013-01-07T14:01:14 < dongs> so debugging works as well 2013-01-07T14:01:26 < zyp> I didn't test stepping, but I assume that works 2013-01-07T14:01:34 < zyp> problem is with reset 2013-01-07T14:01:42 < zyp> because that kills the debugger connection 2013-01-07T14:03:03 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-07T14:06:39 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 276 seconds] 2013-01-07T14:09:36 < zyp> I'll do some more testing this afternoon 2013-01-07T14:12:22 < zyp> using vectreset might be a usable workaround if sysresetreq is unusable, just have to be careful about resetting the peripherals as well 2013-01-07T14:37:44 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-07T14:37:50 < Viper168_> doh 2013-01-07T14:38:10 < Viper168_> all this time I forgot to add the extra # so I was in the old channel 2013-01-07T14:38:32 < Viper168_> no wonder there were never new messages 2013-01-07T14:39:55 < zyp> heh 2013-01-07T14:40:58 < Viper168_> I usually only check channels if it shows on the channel list that people are talking 2013-01-07T14:41:19 < Viper168_> had windows die and had to reinstall everything 2013-01-07T14:41:40 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2013-01-07T14:41:40 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2013-01-07T14:41:40 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-07T14:41:46 < Viper168_> so all my config got trashed 2013-01-07T14:47:51 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-07T14:47:51 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-07T14:47:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-07T14:47:54 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-07T14:48:09 < dongs> i should donate to RMS so I can get a leet vhost 2013-01-07T14:48:21 <+Steffanx> nu 2013-01-07T14:48:29 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-07T14:49:25 < badger> I want to encode time information as audio to record on my camera, has anyone got any tips for how I might do that with a stm32f4? 2013-01-07T14:49:34 < Viper168_> rms? 2013-01-07T14:49:46 < dongs> IRC cloak on Freenode 2013-01-07T14:49:46 < dongs> FSF members can receive an IRC cloak in the form fsf/member/username — please send your membership number and registered IRC nickname to membership@fsf.org. 2013-01-07T14:49:58 < badger> basically I want to synchronise a video with some sensors on a camera, I don't care about preserving the audio during recording 2013-01-07T14:50:23 <+Steffanx> Nothing wrong with unaffiliated dongs :P 2013-01-07T14:50:27 < dongs> yea 2013-01-07T14:50:32 < dongs> eh no 2013-01-07T14:50:34 < dongs> unaffiliated looks lame 2013-01-07T14:50:44 <+Steffanx> It looks like you are a cheap ass, that's ok 2013-01-07T14:50:52 < karlp> what's wrong with just the hostname? 2013-01-07T14:50:56 < dongs> how much are you paying for unaffiliated? 2013-01-07T14:51:02 <+Steffanx> nothing :P 2013-01-07T14:51:46 <+Steffanx> It's ok when you have a fancy hostname like you karlp 2013-01-07T14:52:35 <+Steffanx> Something like ADSL-hetnet.A124FA.kpn.nl sucks ass 2013-01-07T14:52:48 < zyp> heh 2013-01-07T14:53:34 < Thorn> you can have stm32 cloaks if channel owners set it up 2013-01-07T14:54:01 <+Steffanx> izua :( 2013-01-07T14:55:27 < Thorn> >freenode group registration is currently suspended 2013-01-07T14:55:35 < Thorn> http://freenode.net/group_registration.shtml 2013-01-07T14:56:19 <+Steffanx> heh 2013-01-07T14:57:14 < Thorn> http://blog.freenode.net/2012/06/group-registration-closure/ 2013-01-07T15:04:53 < dongs> ah my chinaman finally picked up F303 tray 2013-01-07T15:05:29 <+Steffanx> You'll get re-labeled 373's.. so no usb bootloader for you 2013-01-07T15:05:49 <+Steffanx> -' 2013-01-07T15:08:52 <+Steffanx> BTW Thorn. I think your valuable info on the wiki is gone. Google told me izua used a VPS for it, it still down, so i guess the VPS is gone 2013-01-07T15:09:00 <+Steffanx> *it's 2013-01-07T15:09:02 < Laurenceb> he'll get run over by a truck 2013-01-07T15:09:10 < dongs> he got hacked by romania 2013-01-07T15:10:10 < Laurenceb> body asssplosion 2013-01-07T15:10:29 <+Steffanx> Grow up Laurenceb 2013-01-07T15:12:26 < dongs> Laurenceb: thats flyback 2013-01-07T15:12:47 < Laurenceb> more of an assburgerplosion 2013-01-07T15:12:47 < dongs> do not confuse 2013-01-07T15:15:57 < Laurenceb> http://apple.slashdot.org/comments.pl?sid=3361913&cid=42499927 2013-01-07T15:17:42 <+Steffanx> Can't care less 2013-01-07T15:18:20 < dongs> funny level: who cares 2013-01-07T15:19:32 <+Steffanx> Just curious. Is that a retweet or do you really visit that website Laurenceb ? 2013-01-07T15:19:50 < dongs> i hope its the former 2013-01-07T15:19:54 < Laurenceb> dont use the word tweet 2013-01-07T15:19:55 < dongs> i stopped reading slashdot in like.. 2006 2013-01-07T15:20:06 < zyp> I never started 2013-01-07T15:20:13 < dongs> zyp is a rss-reading faggot 2013-01-07T15:20:20 < Thorn> saved what I could from google cache. 2013-01-07T15:21:01 <+Steffanx> All one needs is ##stm32 2013-01-07T15:21:17 < zyp> dongs, not really 2013-01-07T15:21:29 < dongs> now i just read thereg 2013-01-07T15:22:00 < zyp> the only rss feeds I follow are people who only write once in a while, but usually interesting stuff 2013-01-07T15:22:56 * Laurenceb facepalms 2013-01-07T15:23:10 < Laurenceb> i asked someone to rename their .csv files to .txt 2013-01-07T15:23:22 < dongs> did they rename to .csv.txt? 2013-01-07T15:23:25 < Laurenceb> they just emailed everything to me and asked me to help 2013-01-07T15:23:27 < dongs> or wait, .txt.csv 2013-01-07T15:23:42 < Laurenceb> my inbox is completely full 2013-01-07T15:23:52 <+Steffanx> That's what you get for using windows + hidden extensions dongs 2013-01-07T15:24:46 <+Steffanx> Laurenceb's inbox is 10MB? 2013-01-07T15:24:53 <+Steffanx> The good old tiles 2013-01-07T15:24:54 <+Steffanx> mes 2013-01-07T15:25:23 < Laurenceb> no, the files are 500MB each 2013-01-07T15:25:34 < dongs> haha 2013-01-07T15:25:45 < dongs> corporate bandwidth, who cares 2013-01-07T15:26:40 < Laurenceb> meanwhile on twitter 2013-01-07T15:26:42 < Laurenceb> http://www.b3tards.com/u/fa2a3ab468c53bb760c2/board_presentation_breakfast.jpg 2013-01-07T15:27:39 <+Steffanx> Black pudding. 2013-01-07T15:28:40 < Laurenceb> http://www.b3tards.com/u/899d78c16b9bb1676226/pwnzors.jpg 2013-01-07T15:28:42 < Laurenceb> i lolled 2013-01-07T15:29:49 <+Steffanx> Good summary of the average FPS, yes 2013-01-07T15:33:17 < dongs> i think im gonna put a blog on tarduino.cc and blog about mipi fail in shitberry pi 2013-01-07T15:33:30 < Laurenceb> lolz 2013-01-07T15:33:32 <+Steffanx> LOL, you really own that domain 2013-01-07T15:33:32 < dongs> i think that should be a pretty well monetizable post 2013-01-07T15:33:38 < Laurenceb> its undocumented? 2013-01-07T15:33:39 < zyp> mipi fail? 2013-01-07T15:33:45 < zyp> did they mess up something? 2013-01-07T15:33:47 < dongs> and jtag fail too 2013-01-07T15:33:47 < dongs> whie im at it 2013-01-07T15:34:19 < dongs> zyp, it doesnt work 2013-01-07T15:34:27 < dongs> there's no driver or docs 2013-01-07T15:34:47 < dongs> plus if it is a driver, it'd be a binary blob 2013-01-07T15:34:52 <+Steffanx> Aren't they working on some camera? I've no idea what they are going to release with it though 2013-01-07T15:35:04 < zyp> dongs, are you talking about input or output? 2013-01-07T15:35:06 <+Steffanx> but yeah, probably some binary crap 2013-01-07T15:35:08 < dongs> that shit can connect to nice and tiny displays 2013-01-07T15:35:14 < zyp> i.e. camera or lcd? 2013-01-07T15:35:14 < dongs> but instead people use fucking composite out 2013-01-07T15:35:19 < dongs> zyp: output 2013-01-07T15:35:22 < dongs> lcd. 2013-01-07T15:35:23 <+Steffanx> oh 2013-01-07T15:35:54 < Laurenceb> iirc theres binary driver for their own camera 2013-01-07T15:36:08 < Laurenceb> on the camera interface 2013-01-07T15:36:12 < Laurenceb> and nothing else 2013-01-07T15:36:51 <+Steffanx> The rpi wasn't intended for hackers anyway :P 2013-01-07T15:37:01 < dongs> nowai 2013-01-07T15:37:11 < Laurenceb> it was intended for lozarz 2013-01-07T15:37:17 < dongs> i just told some faggot in another channel rpi is useless for what i wanted to do with it 2013-01-07T15:37:20 < dongs> hes like 2013-01-07T15:37:25 < dongs> sell it to me, i'll use it as xmbc frontend (wahtever the fuck that is) 2013-01-07T15:37:43 <+Steffanx> It works ok for that 2013-01-07T15:39:02 <+Steffanx> btw dongs, arduino(™) is going to sue you for your tarduino.cc :P 2013-01-07T15:39:12 < dongs> o'rly? 2013-01-07T15:39:19 <+Steffanx> Yeah, they suck ass remember 2013-01-07T15:40:22 <+Steffanx> Nah. I wouldn't be surprised if they complain about it :) 2013-01-07T15:40:30 <+Steffanx> *when 2013-01-07T15:41:41 < baird> "Waaaaah, I don't know enough about computers to do anything with a 512MB Unix system..." 2013-01-07T15:41:59 < Laurenceb> trollbaird 2013-01-07T15:43:08 <+Steffanx> "Waaaaah, I care enough about old crap to do anything with a 512MB Unix system..." Corrected it for you 2013-01-07T15:43:09 < baird> Back in My Day, we had a kickass 3.5MB SCO Xenix system. 2013-01-07T15:44:00 < baird> While the rest of you babbies were content with MSDOS systems dialing into Fidonet. 2013-01-07T15:44:42 <+Steffanx> And that makes you a better nerd that us because ... 2013-01-07T15:44:52 <+Steffanx> *than 2013-01-07T15:45:08 < baird> Respect your Elders, fag. 2013-01-07T15:46:05 <+Steffanx> I only respect 'oldies' when they dont talk about "the good old times" like that :) 2013-01-07T15:46:32 <+Steffanx> Just you guys are the fags who ruined it for us 2013-01-07T15:46:45 <+Steffanx> *Just because .. man by english sucks today 2013-01-07T15:47:34 <+Steffanx> I didn't invent the fancy phone, that was your generation. I didn't invent the super !@#$% fast intel iX, that was your generation etc. 2013-01-07T15:47:54 <+Steffanx> 2013-01-07T15:48:16 <+Steffanx> I love you too baird 2013-01-07T15:49:42 < jpa-> Steffanx, the man by english 2013-01-07T15:49:59 <+Steffanx> lol see 2013-01-07T15:50:06 < Laurenceb> http://smartmaker.org/images/c/cc/MIX_UP_assemble1.jpg 2013-01-07T15:50:24 <+Steffanx> That was just a typo mr jpa- :) 2013-01-07T15:50:45 < dongs> mega old 2013-01-07T15:50:49 < dongs> you linked that a week ago 2013-01-07T15:51:01 < dongs> that shit was made by SMARTDUINO guise 2013-01-07T15:51:10 < Laurenceb> lol 2013-01-07T15:51:14 < dongs> not joking 2013-01-07T15:51:17 < dongs> http://www.kickstarter.com/projects/fairduino/smartduino-open-system-by-former-arduinos-manufact these guys 2013-01-07T15:51:22 <+Steffanx> Where is mr italian guy when you need him. 2013-01-07T15:51:38 < Laurenceb> *GET _A_ LIFE 2013-01-07T15:51:40 <+Steffanx> I need him to confirm: 2013-01-07T15:51:42 <+Steffanx> Note that while we don't attempt to restrict uses of the "duino" suffix, its use causes the Italians on the team to cringe (apparently it sounds terrible); you might want to avoid it. (It's also trademarked by a Hungarian company.) 2013-01-07T15:53:07 < Laurenceb> https://s3.amazonaws.com/ksr/assets/000/232/511/32a38f80b6fc9ae1430bbbfa64d609c2_large.jpg?1351484417 2013-01-07T15:53:09 < dongs> what should I call my new blog on tarduino.cc 2013-01-07T15:53:10 < Laurenceb> so much fail 2013-01-07T15:53:15 < dongs> suggestion 1: "8bit trash" 2013-01-07T15:53:19 < dongs> needs to be more catchy 2013-01-07T15:53:29 < Laurenceb> QUAD CORE Arduino™ 2013-01-07T15:53:45 < dongs> Laurenceb: fine print: easily replaceable by a $2 arm cortex mcu 2013-01-07T15:53:49 < Laurenceb> "How can it be useful? Think about all the tasks that one single processor can't perform" 2013-01-07T15:53:50 < Laurenceb> lolz 2013-01-07T15:54:45 < baird> Laurenceb: I'll see you: http://i.imgur.com/suDeU.jpg 2013-01-07T15:55:03 < baird> (an old Newmicros 68hc11 kit) 2013-01-07T15:55:19 < dongs> baird stack of fail 2013-01-07T15:55:27 < mervaka> hey guys 2013-01-07T15:56:05 < dongs> comeon trolls, whats a good blog title for tarduino.cc 2013-01-07T15:57:25 < mervaka> how can i avoid a trace:data overflow problem in uVision? only got stimulus port 0 enabled currently. worked at home but not here at uni :s 2013-01-07T15:57:39 < dongs> SWO? 2013-01-07T15:57:46 < dongs> which debug probe? 2013-01-07T15:59:11 <+Steffanx> Did your fancy chinese crap antenna work btw dongs? 2013-01-07T15:59:20 < dongs> of course 2013-01-07T15:59:29 < dongs> very well also 2013-01-07T15:59:34 <+Steffanx> 'of course' <= chinese 2013-01-07T15:59:39 < dongs> i have yagi pointing from the roof to the other place 2013-01-07T15:59:47 < dongs> and a dell lapptop indoors can see it with like 2 bars 2013-01-07T15:59:55 < dongs> so i didnt evn need receiving end, really 2013-01-07T15:59:58 < dongs> but I set it up anyway 2013-01-07T16:00:06 < dongs> and im getting something like ~8-9mbit through it 2013-01-07T16:00:10 < dongs> which is more than enough for hte purpose 2013-01-07T16:00:15 <+Steffanx> Range? 2013-01-07T16:00:19 < dongs> ~300m 2013-01-07T16:01:43 < dongs> attn zyp 2013-01-07T16:01:44 < dongs> The domain tardui.no is available Apply for this domain 2013-01-07T16:01:59 <+Steffanx> lo 2013-01-07T16:02:01 <+Steffanx> l 2013-01-07T16:02:28 <+Steffanx> Don't think is interested though :P 2013-01-07T16:02:40 < dongs> he might be 2013-01-07T16:05:27 < dongs> "Un-making the community" 2013-01-07T16:05:31 < mervaka> dongs: SWD, yeah 2013-01-07T16:05:35 < dongs> that sounds like something baird would blog 2013-01-07T16:05:43 < dongs> mervaka: are you actualyl trying to use trace or what 2013-01-07T16:05:43 < Laurenceb> st website is worse than ever 2013-01-07T16:05:57 < mervaka> trying to use the memory window 2013-01-07T16:06:07 < mervaka> although i think i've found the problem now.. 2013-01-07T16:06:24 < mervaka> apparently using the menus to select a variable doesn't work 2013-01-07T16:06:25 < dongs> you dont need trace enabled for memory window 2013-01-07T16:06:26 < dongs> turn that off. 2013-01-07T16:06:34 < mervaka> but manually entering the start address does. 2013-01-07T16:06:39 < dongs> what 2013-01-07T16:06:46 < dongs> of course it does. 2013-01-07T16:06:46 < mervaka> quite. heh 2013-01-07T16:06:52 < dongs> right click->add to watch or memory etc 2013-01-07T16:06:57 < mervaka> yeah 2013-01-07T16:07:02 < dongs> also view->periodic update 2013-01-07T16:07:07 < mervaka> ooh ok 2013-01-07T16:07:09 < dongs> if you want stuff updating realtime whlie its running 2013-01-07T16:07:24 < mervaka> already ticked 2013-01-07T16:08:05 < dongs> then youre good to go. but i youre getting "trace:data overflow" in the bottom bar, turn trace off since it doenst sound like youre using it. 2013-01-07T16:08:26 < mervaka> ok 2013-01-07T16:09:11 < mervaka> is it possible to use the logic analyser for buffered chunks of data? :s 2013-01-07T16:09:25 < dongs> you need trace for logic analyzer. 2013-01-07T16:09:37 < dongs> and thus SWO connected 2013-01-07T16:09:47 < dongs> and some init stuff in the target.ini file 2013-01-07T16:09:52 < dongs> i got it to work once or twice, dont ask me how :) 2013-01-07T16:12:40 < mervaka> ah 2013-01-07T16:12:41 < mervaka> heh 2013-01-07T16:13:21 < mervaka> i shaln't worry then 2013-01-07T16:14:32 < mervaka> trying to debug these damn DMA buffers 2013-01-07T16:14:34 < mervaka> :< 2013-01-07T16:15:18 < dongs> DMA doesn't stop when core does. 2013-01-07T16:15:23 < dongs> I found out hard way :p 2013-01-07T16:16:16 -!- baird [~cjb@ppp121-44-144-168.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-07T16:16:59 < mervaka> ;/ 2013-01-07T16:17:05 < mervaka> might try raising my buffer size 2013-01-07T16:17:10 < mervaka> as a desparate act 2013-01-07T16:17:23 < mervaka> oh, and uVision crashed again 2013-01-07T16:17:29 < mervaka> *highfive* 2013-01-07T16:17:38 < dongs> you must be doing it wrong 2013-01-07T16:17:51 < dongs> im using it daily and I've never had the shit crash 2013-01-07T16:18:13 < mervaka> never crashes at home 2013-01-07T16:18:16 < mervaka> i blame uni 2013-01-07T16:18:17 < mervaka> heh 2013-01-07T16:19:21 < mervaka> bah 2013-01-07T16:19:29 < mervaka> bigger spikes half a soften 2013-01-07T16:19:33 < mervaka> as often* 2013-01-07T16:21:44 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-07T16:21:50 < mervaka> and likewise, a half size buffer produces artefacts twice as often with smaller magnitude 2013-01-07T16:22:50 < dongs> and your dma transfer size matches the buffer? 2013-01-07T16:23:03 < mervaka> yeah, all linked with #defines 2013-01-07T16:26:22 < zyp> my bet without looking at the code is that you are confusing active and inactive half of buffer and overwriting active half 2013-01-07T16:26:54 < mervaka> it's to do with old data for sure 2013-01-07T16:27:12 < zyp> yep 2013-01-07T16:27:13 < mervaka> the noise is a product of the same sine wave 2013-01-07T16:27:20 < mervaka> if i can call it noise 2013-01-07T16:27:43 < mervaka> no DSO to take screenshots here :( 2013-01-07T16:28:06 < zyp> it's ok, I saw it yesterday 2013-01-07T16:28:35 < mervaka> heh 2013-01-07T16:28:45 < mervaka> well, i'm triggering off the input signal now 2013-01-07T16:28:56 < mervaka> the wave itself is absolutely stable 2013-01-07T16:29:09 < mervaka> it's the noise that moves leftward along the trace 2013-01-07T16:30:04 < zyp> direction is irrelevant, that's just aliasing 2013-01-07T16:30:05 < mervaka> there's no way i can establish where the DMA pointers are, is there? 2013-01-07T16:30:08 < mervaka> yeah 2013-01-07T16:30:16 < zyp> if you can call it that 2013-01-07T16:30:27 < mervaka> heh, i know what you mean 2013-01-07T16:30:40 < mervaka> a 'beat' perhaps? 2013-01-07T16:31:59 < zyp> anyway, you can check NDTR register 2013-01-07T16:32:13 < zyp> contains how many words the dma have left of the transfer 2013-01-07T16:33:14 < mervaka> i can, but it's constantly changing 2013-01-07T16:33:22 < mervaka> it doesn't break ;/ 2013-01-07T16:34:30 < mervaka> streams 2 and 5 happily chugging away 2013-01-07T16:35:33 < Laurenceb> dubstep? 2013-01-07T16:35:40 < mervaka> :) 2013-01-07T16:36:06 < mervaka> yeah, NDT is different every time i break at the start of the ISR 2013-01-07T16:41:14 < mervaka> ah 2013-01-07T16:41:21 < mervaka> FEIF5 is up 2013-01-07T16:41:27 < mervaka> even though i disabled FIFO? :s 2013-01-07T17:04:46 < mervaka> riiiiiight 2013-01-07T17:05:00 < mervaka> if i unplug the usb and mash reset a few times, it works 100% 2013-01-07T17:05:31 < mervaka> then if i keep pressing reset i lose it again 2013-01-07T17:05:34 < mervaka> :'( 2013-01-07T17:05:46 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-07T17:05:49 < zyp> so it's not deterministic 2013-01-07T17:05:53 < mervaka> nope 2013-01-07T17:06:08 < mervaka> in fact, i might even record a video 2013-01-07T17:06:13 < mervaka> it's just so bizarre. 2013-01-07T17:06:22 < mervaka> all i can think if it being are the DMA pointers 2013-01-07T17:06:42 < mervaka> doing a power cycle can let me recreate this whole thing 2013-01-07T17:07:01 < emeb_mac> sounds like fun... 2013-01-07T17:07:03 < zyp> I still bet it's you operating on the wrong part of the dma buffer 2013-01-07T17:09:00 < mervaka> yeah, but i'm not sure how i can determine that. 2013-01-07T17:09:20 < mervaka> tryign to stick some printfs in there, isn't having it. 2013-01-07T17:12:02 < mervaka> https://docs.google.com/open?id=0B909q-5ubZxZWXo3aVpzWlA4YTA 2013-01-07T17:13:09 < Laurenceb> can anyone explain this? www.vishay.com/docs/82633/tfbs4711.pdf 2013-01-07T17:13:19 < Laurenceb> the average tx current is only 2ma 2013-01-07T17:13:26 < Laurenceb> yet the tx led draws 300ma 2013-01-07T17:13:46 < Laurenceb> page4 2013-01-07T17:15:16 < mervaka> probably 300mA peak 2013-01-07T17:16:00 < mervaka> average over a period would be 2mA 2013-01-07T17:16:06 < mervaka> at a guess 2013-01-07T17:16:36 < Laurenceb> makes no sense 2013-01-07T17:16:44 < Laurenceb> 20% duty cycle is 60ma 2013-01-07T17:17:29 < zyp> printfs are probably pretty slow 2013-01-07T17:17:35 < zyp> depending on what you are printing to 2013-01-07T17:17:52 < mervaka> zyp: ITM Stimulus 2013-01-07T17:18:01 < zyp> and how fast is that? 2013-01-07T17:18:01 < emeb_mac> Laurenceb: looks like they break out the current for the LED separately 2013-01-07T17:18:07 < emeb_mac> on a separate pin even. 2013-01-07T17:18:12 < mervaka> well the putchar isn't too bad 2013-01-07T17:18:24 < Laurenceb> emeb_mac: yeah 2013-01-07T17:18:29 < Laurenceb> i dont believe them 2013-01-07T17:18:31 < mervaka> standard bulky printf though i guess 2013-01-07T17:18:36 < zyp> mervaka, «too bad» is relative 2013-01-07T17:18:45 < Laurenceb> im going to have to go for custom infrared 2013-01-07T17:18:47 < zyp> I mean 2013-01-07T17:19:05 < mervaka> then again, it's only in there while i step through anyway 2013-01-07T17:19:08 < zyp> if you are printing inside an interrupt routine, you better print faster than the interrupt are firing :p 2013-01-07T17:19:10 < Laurenceb> thinking using usart in irda mode with ltc1799 as a modulator 2013-01-07T17:19:16 < Laurenceb> then remote control kit 2013-01-07T17:19:33 < karlp> Laurenceb: 20% duty cycle might mean 20% transmitting, which is not 20% of the time _on_ 2013-01-07T17:19:56 < Laurenceb> sure 2013-01-07T17:19:58 < mervaka> i'm only really interested in the printf once i've checked the flags 2013-01-07T17:20:01 < Laurenceb> its ~10% 2013-01-07T17:20:08 < dongs> uh, printing to ITM is fucking sloww 2013-01-07T17:20:11 < Laurenceb> oh 2013-01-07T17:20:14 < dongs> you better steal zyp's blogger class 2013-01-07T17:20:26 < dongs> but i think that only works wiht gcc 2013-01-07T17:20:27 < karlp> how slow is slow? 2013-01-07T17:20:31 < Laurenceb> then its even lamer 2013-01-07T17:20:33 < karlp> I thought you could configure it to just drop chars? 2013-01-07T17:20:45 < Laurenceb> http://www.rentron.com/IR_TRANSCEIVER.htm 2013-01-07T17:20:50 < Laurenceb> going to do that 2013-01-07T17:21:10 < Laurenceb> but with stm32 usart in irda mode and an ltc1799 as modulator 2013-01-07T17:22:13 < dongs> GOTO HOLD40 ;3uS 2013-01-07T17:22:15 < dongs> what teh fuck is this 2013-01-07T17:22:17 < dongs> basic stamp 2013-01-07T17:22:18 < dongs> or soemthing? 2013-01-07T17:22:24 < karlp> turns on a 40khz toggle for a while 2013-01-07T17:22:26 < karlp> then turns it off 2013-01-07T17:22:31 < karlp> gating the modulator 2013-01-07T17:22:46 < karlp> I think the commentary is meant to show the running timestamp? 2013-01-07T17:23:01 < Laurenceb> i want this to plug into usart header on my stm board 2013-01-07T17:23:11 < Laurenceb> so no timer to modulate :( 2013-01-07T17:23:34 < dongs> Error 404 (Not Found)!!1 2013-01-07T17:23:36 < dongs> haha google 2013-01-07T17:23:42 < Laurenceb> hence crappy linear tech modulator.. other than that its the same thing 2013-01-07T17:23:50 < emeb_mac> too bad STM32 usarts don't have built-in IR modulation like some 2013-01-07T17:23:56 < dongs> http://code.google.com/p/sdfsdgsss/ 2013-01-07T17:23:59 < Laurenceb> erm 2013-01-07T17:24:01 < Laurenceb> they do 2013-01-07T17:24:02 < dongs> emeb_mac: isnt there IR shit in F3 2013-01-07T17:24:12 < Laurenceb> oh yeah mean carrier 2013-01-07T17:24:12 < emeb_mac> dongs: yeah but on just one pin 2013-01-07T17:24:18 < Laurenceb> yeah this is F103 2013-01-07T17:24:20 < dongs> shrug 2013-01-07T17:24:30 < Laurenceb> lpc1799 and call it a day 2013-01-07T17:24:34 < Laurenceb> *ltc 2013-01-07T17:24:48 < dongs> http://code.google.com/p/sdfsdgsss/ 2013-01-07T17:24:53 < emeb_mac> Laurenceb: could still use Vishay part - don't need to run the LED that hard. 2013-01-07T17:24:58 < Laurenceb> and about 20ma current draw _peak_ 2013-01-07T17:25:04 < Laurenceb> then you have no range 2013-01-07T17:25:27 < Laurenceb> using modulator and remote control receiver would get 15m range at 300baud 2013-01-07T17:25:35 < Laurenceb> with 20 _peak_ to led 2013-01-07T17:25:40 < Laurenceb> *20ma 2013-01-07T17:25:52 < Laurenceb> dunno why IRDA is so shit 2013-01-07T17:26:05 < emeb_mac> there's a reason it never caught on. 2013-01-07T17:26:23 < Laurenceb> annihilates your battery 2013-01-07T17:26:39 -!- Gargantuasauce [~Gargantua@173.91.71.86.rev.sfr.net] has joined ##stm32 2013-01-07T17:26:47 < emeb_mac> and _very_ directional 2013-01-07T17:27:02 < Laurenceb> IRDA is 300ma for 70cm... wtf 2013-01-07T17:27:40 < mervaka> okay, interesting.. 2013-01-07T17:28:02 < mervaka> the progressive reset problem is actually linked to my PGAs.. lol 2013-01-07T17:28:16 < emeb_mac> ? 2013-01-07T17:28:18 < mervaka> gain increases each reset 2013-01-07T17:28:26 < mervaka> distorts the ADC 2013-01-07T17:28:26 < emeb_mac> heh 2013-01-07T17:28:33 < mervaka> *facepalm* 2013-01-07T17:28:34 < mervaka> however 2013-01-07T17:28:48 < mervaka> the non clipped waveforms look artefact free! 2013-01-07T17:28:58 < mervaka> and yet i did nothing to the code.. :s 2013-01-07T17:29:01 < emeb_mac> solved the glitch issue? 2013-01-07T17:29:08 < mervaka> dunno 2013-01-07T17:31:34 < dongs> tarduino.cc updated. 2013-01-07T17:32:11 < karlp> irda was when serial connections were all the rage. 2013-01-07T17:32:23 < karlp> like, "whee, I can irda this sms message to the printer" 2013-01-07T17:32:27 < karlp> w000 2013-01-07T17:32:51 < karlp> and "whee, let's use my phone as a dial up modem!" 2013-01-07T17:33:17 < karlp> phone battery lasted as long as the laptop battery did anyway... 2013-01-07T17:41:56 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-07T17:45:02 < dongs> https://github.com/PhoenixPilot/PhoenixPilot/blob/8730f1d804e688bde9fa28228f1a77de4a4c2eaa/flight/Modules/GenericI2CSensor/i2c_vm.c this is what Laurenceb tried to make with his code and failed.. 2013-01-07T17:46:11 <+Steffanx> Virtual Machine?! 2013-01-07T17:46:31 < dongs> yep 2013-01-07T17:46:45 < Laurenceb> what the actual fuck 2013-01-07T17:46:54 < Laurenceb> i tried to make something slightly simpler 2013-01-07T17:47:00 < Laurenceb> just an array of sensors 2013-01-07T17:47:05 < dongs> yeah but your shit was unreadable 2013-01-07T17:47:10 < emeb_mac> lol "furiously collide" 2013-01-07T17:47:12 < Laurenceb> you request a read and it happens 2013-01-07T17:47:47 < dongs> https://github.com/PhoenixPilot/PhoenixPilot/commit/455068391875635ab54db01ef0856d449b6a675d#L0R57 2013-01-07T17:48:52 < Laurenceb> wtf 2013-01-07T17:49:00 < Laurenceb> over complex 2013-01-07T17:49:16 < emeb_mac> dongs: who's this kari person you sent my way? 2013-01-07T17:49:24 < dongs> haha 2013-01-07T17:49:31 < dongs> emeb_mac: was waiting for that 2013-01-07T17:49:43 < dongs> emeb_mac: some dewd, he wanted a F3 board with usb broken out 2013-01-07T17:49:55 < dongs> he does some coding on stm32 flyingthings. 2013-01-07T17:50:06 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2013-01-07T17:50:23 < emeb_mac> heh 2013-01-07T17:50:50 < dongs> since i didnt update my minishit for native usb, i sent him your way. 2013-01-07T17:51:10 < zyp> Laurenceb, saw this pasted in other channel, thought you'd like it: https://sphotos-b.xx.fbcdn.net/hphotos-ash4/388356_385732354853350_1060441490_n.jpg 2013-01-07T17:51:15 < emeb_mac> I replied that I'd sell bare boards, but I can't be bothered to build them for others 2013-01-07T17:51:35 < emeb_mac> or just send gerbers & he can order them himself. 2013-01-07T17:51:35 < dongs> fucking weibo 2013-01-07T17:52:10 < dongs> emeb_mac: AN2606 still R14 2013-01-07T17:52:20 < emeb_mac> dongs: lame 2013-01-07T17:52:52 < mervaka> right 2013-01-07T17:52:54 < dongs> Laurenceb: you gotta admit though its pretty clean 2013-01-07T17:53:03 < emeb_mac> 157 vies on the stm32 forum. still no reply tho 2013-01-07T17:53:05 < mervaka> eliminated that gain problem, back to artefacts :p 2013-01-07T17:53:07 < dongs> i mean UNLIKE YOUR CODE 2013-01-07T17:53:20 < gxti> cameras all the way down 2013-01-07T17:53:32 < emeb_mac> gxti: lol 2013-01-07T17:53:47 < mervaka> gain problem was actually pretty hilarious.. 2013-01-07T17:53:49 < emeb_mac> but who want's to take pix of some dudes ass. 2013-01-07T17:54:00 < mervaka> the audio stuff is on a daughter board 2013-01-07T17:54:09 < gxti> emeb_mac: not of his ass but someone clearly did take a picture of him 2013-01-07T17:54:33 < mervaka> the mainboard has two "sockets" that the audio board can fit into, eventually to take two. 2013-01-07T17:54:34 < Laurenceb> wait thats a guy? 2013-01-07T17:54:54 < mervaka> but underneath the second socket, the MISO and MOSI pins i've solder bridged! 2013-01-07T17:55:04 < gxti> 3 of them actually, somehow i missed that the first time 2013-01-07T17:55:17 < gxti> probably staged but that's just my permanent internet skepticism 2013-01-07T17:55:48 < mervaka> so every reset it somehow clocked shit across into itself and set the gain of the amplifier progressively higher 2013-01-07T17:55:55 < emeb_mac> mervaka: lol 2013-01-07T17:56:10 < mervaka> all under SPI control now 2013-01-07T17:57:16 < mervaka> (again!) 2013-01-07T17:58:11 < dongs> nice 2013-01-07T17:58:20 < dongs> emeb_mac: see? he's using proper tools 2013-01-07T17:58:24 < dongs> and he's succeeding 2013-01-07T17:58:34 < mervaka> me? 2013-01-07T17:58:39 < dongs> yeah 2013-01-07T17:58:45 < mervaka> what proper tools do you speak of? heh 2013-01-07T17:58:46 < dongs> keil + proper debug probe 2013-01-07T17:58:52 < mervaka> oh 2013-01-07T17:59:05 < mervaka> in all honesty, i still feel like i'm oin the dark 2013-01-07T17:59:07 < mervaka> in* 2013-01-07T17:59:27 < mervaka> can't see what's happening at DMA level whatsoever 2013-01-07T17:59:33 < dongs> yeah you can 2013-01-07T17:59:36 < dongs> open dma peripheral window :) 2013-01-07T17:59:39 < mervaka> heh 2013-01-07T17:59:56 < mervaka> yeah i can see NTD changing a lot 2013-01-07T18:00:02 < dongs> well, yes. 2013-01-07T18:00:11 < dongs> you cant step DMA, opensauce tools or not. 2013-01-07T18:00:20 <+Steffanx> crap tools 2013-01-07T18:00:42 < zyp> hmm 2013-01-07T18:00:53 < zyp> time to play around a bit with this lpc reset stuff 2013-01-07T18:00:57 < dongs> indeed 2013-01-07T18:01:07 < dongs> let me know if this $80 brick i got on my desk is worthless or wat 2013-01-07T18:01:16 < mervaka> power supply has a healthy smell of burning, too 2013-01-07T18:01:28 < mervaka> i need to heatsink this shit up 2013-01-07T18:03:38 < mervaka> interesting, frequency response is stunted too 2013-01-07T18:03:51 < mervaka> almost definitely i'm not addressing buffers properly 2013-01-07T18:06:10 < mervaka> i can notice a gain change as low as 500Hz 2013-01-07T18:06:18 < mervaka> and thats from ADC to DAC 2013-01-07T18:06:41 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-07T18:07:49 < emeb_mac> dongs: what's that old saying - "it's a poor craftsman who blames his tools" 2013-01-07T18:08:10 < dongs> wrong 2013-01-07T18:08:48 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-01-07T18:09:06 < gxti> no, it's correct. it's the developer's fault for not using something competent. 2013-01-07T18:09:14 < emeb_mac> heh 2013-01-07T18:09:36 < emeb_mac> and a really competent developer can get good results from stone knives and bearskins. 2013-01-07T18:09:54 < mervaka> what about a blind deaf developer? 2013-01-07T18:09:56 < zyp> hmm 2013-01-07T18:10:00 < gxti> one way or another you'll pay, either in money or time 2013-01-07T18:10:03 < zyp> interesting 2013-01-07T18:10:09 < emeb_mac> gxti: true dat 2013-01-07T18:10:21 < dongs> < gxti> one way or another you'll pay, either in money or time 2013-01-07T18:10:22 < dongs> haha so true. 2013-01-07T18:10:36 < dongs> this is why I bought a proper ide 2013-01-07T18:10:40 < dongs> and proper pcb cad 2013-01-07T18:10:41 < dongs> etc. 2013-01-07T18:10:50 < dongs> the time it would take me to learn "free" eagle, i could be making shit and selling it. 2013-01-07T18:10:58 < dongs> and bitching about its fuckups every 5 minutes 2013-01-07T18:11:12 < gxti> eagle is a special example of shittiness, i'd rather use opensores than eagle 2013-01-07T18:11:13 < karlp> free eagle doens't let you sell it anwyay :) 2013-01-07T18:11:16 < gxti> but i don't 2013-01-07T18:11:20 < zyp> writing sysresetreq manually reset the chip and peripherals without killing my debugger connection 2013-01-07T18:11:39 < Laurenceb> shrug 2013-01-07T18:11:43 < Laurenceb> eagle works fine 2013-01-07T18:11:44 < zyp> so it actually seems sane so far 2013-01-07T18:13:21 < zyp> must be something else fucking up then 2013-01-07T18:13:53 < emeb_mac> blame it on open sores. :) 2013-01-07T18:14:11 < zyp> oh, wait, hmm 2013-01-07T18:14:59 < mervaka> rubbing my head against a cheese grater here :/ 2013-01-07T18:15:02 < mervaka> argh 2013-01-07T18:15:08 < emeb_mac> ow 2013-01-07T18:15:20 < mervaka> metaphorically. 2013-01-07T18:16:13 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-07T18:17:50 < mervaka> oh goodie, new problem! 2013-01-07T18:18:15 < mervaka> running both channels together causes the interrupts to clash! :D 2013-01-07T18:18:23 < mervaka> time to rewrite my ISRs 2013-01-07T18:19:08 < mervaka> though i'd prefer to concentrate on this problem first. 2013-01-07T18:19:11 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-01-07T18:19:48 < emeb_mac> dongs: all joking aside, those peripheral register inspectors you snapshotted look pretty sweet. 2013-01-07T18:20:20 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-07T18:21:27 < mervaka> RTX tools are amazing too 2013-01-07T18:21:35 < mervaka> basically like top for a micro 2013-01-07T18:21:49 < mervaka> can see how tasks are timeshared 2013-01-07T18:24:33 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-07T18:27:06 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-07T18:28:28 < mervaka> fucking breakthough mate 2013-01-07T18:28:35 < mervaka> indexing is indeed totally fucked. haha 2013-01-07T18:28:57 < mervaka> this four dimensional array is making me go crosseyed. 2013-01-07T18:29:42 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-07T18:30:25 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-07T18:32:04 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Read error: Connection reset by peer] 2013-01-07T18:35:09 < zyp> hmm, this is interesting 2013-01-07T18:35:57 < emeb> whazzat? 2013-01-07T18:36:10 < zyp> http://bin.jvnv.net/f/sFT0y.png <- playing around with this 2013-01-07T18:36:47 < zyp> there are register bits to trigger each of those resets manually 2013-01-07T18:37:55 < zyp> I see the same behavior on triggering SYSRESETREQ and PERIPH_RST, so the remark appears correct 2013-01-07T18:39:56 < zyp> triggering CORE_RST kills my debugger connection, triggering PERIPH_RST results in some weird stuck state and triggering MASTER_RST or the individual M4_RST signal appears to reset the M4 properly 2013-01-07T18:41:24 < emeb> *shudder* 2013-01-07T18:41:25 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-01-07T18:41:26 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-01-07T18:41:26 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-07T18:41:31 < zyp> I see that PERIPH_RST does reset GPIO (led goes from being driven directly to being driven by pullup), so that much is working 2013-01-07T18:41:55 < emeb> brings back memories of when I was doing a chip design and had to handle all the clocks and resets for a couple ARM cores. 2013-01-07T18:42:22 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-07T18:42:35 < zyp> and the debugger connection is still working after PERIPH_RST as well 2013-01-07T18:42:43 < zyp> but I can't execute from there 2013-01-07T18:43:30 < zyp> trying to execute gets BMP into a weird state and fails 2013-01-07T18:43:43 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has joined ##stm32 2013-01-07T18:43:43 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has quit [Changing host] 2013-01-07T18:43:43 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-07T18:44:15 -!- _BJFreeman [~bjfree@119.sub-75-233-101.myvzw.com] has joined ##stm32 2013-01-07T18:44:39 < emeb> so the strange thing is why PERIPH_RST kills the debugger. 2013-01-07T18:44:52 < zyp> no, it doesn't 2013-01-07T18:45:06 < emeb> no - stuck state 2013-01-07T18:45:22 < emeb> which is still not desirable. 2013-01-07T18:45:56 < zyp> yes 2013-01-07T18:45:59 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Read error: Connection timed out] 2013-01-07T18:46:43 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-07T18:51:09 < mervaka> right chaps, i'm off 2013-01-07T18:51:19 < emeb> l8r 2013-01-07T18:51:21 < mervaka> thanks once again for the help and banter ;) 2013-01-07T18:53:27 -!- Claude is now known as claude 2013-01-07T19:01:34 < zyp> ah, found the culprit 2013-01-07T19:01:42 < emeb> ? 2013-01-07T19:01:53 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-07T19:02:10 < zyp> one of the signals hanging off PERIPH_RST is called BUS_RST 2013-01-07T19:02:43 < zyp> it carries a note saying «Do not use during normal operation.» 2013-01-07T19:02:57 < emeb> *eyeroll* 2013-01-07T19:03:12 < zyp> if I hit every other reset, but that, it's fine, but as soon as I hit that, shit locks up 2013-01-07T19:03:59 < zyp> so I assume that I can just patch bmp to hit every reset but that instead of hitting SYSRESETREQ, and it should be fine :p 2013-01-07T19:04:37 < emeb> hrm... so when gdb issues a reset you need to manually go through the SWD/JTAG connection to hit all those resets? 2013-01-07T19:05:12 < zyp> well, they are just spread across two registers 2013-01-07T19:05:23 < zyp> so I have to do two writes instead of one if I want to hit all 2013-01-07T19:05:26 < emeb> so two separate memory writes with the correct bits. 2013-01-07T19:05:50 < zyp> (gdb) set variable *(uint32_t*)0x40053100 = 0xfffffefc 2013-01-07T19:05:51 < zyp> (gdb) set variable *(uint32_t*)0x40053104 = 0xffffffff 2013-01-07T19:05:56 < zyp> I just did this while testing 2013-01-07T19:06:19 < zyp> bits 0 and 1 are CORE_RST and PERIPH_RST, bit 8 is BUS_RST 2013-01-07T19:06:42 < emeb> not too awful 2013-01-07T19:06:59 < zyp> nah 2013-01-07T19:08:02 < emeb> did you tweak gdb firmware for the reset pullup and PFET drive on BMPM/BMP2 also? 2013-01-07T19:08:52 < zyp> I have some changes for that, but nothing interesting 2013-01-07T19:09:06 < zyp> I don't have reset pullup, but I have reset output 2013-01-07T19:09:34 < zyp> but that just breaks more since a hardware reset kills the debugger connection :p 2013-01-07T19:09:51 < emeb> right 2013-01-07T19:10:12 < emeb> just thinking about making bmp2 more predictable. 2013-01-07T19:10:19 < zyp> I have a monitor command to trigger it while detached from target though, that's a bit handy 2013-01-07T19:10:35 < zyp> and yes, I'm going to fix the pfet stuff 2013-01-07T19:11:05 < zyp> just leaving it off should be good enough 2013-01-07T19:11:09 < emeb> yep 2013-01-07T19:11:31 < emeb> cute idea, but not generally necessary 2013-01-07T19:11:35 < zyp> which would translate to jtrst de-asserted on old bmp 2013-01-07T19:11:56 < zyp> so it's hardly harmful 2013-01-07T19:12:14 < emeb> seems jtrst is rarely needed. 2013-01-07T19:12:39 < zyp> otherwise I could fix hardware detection, but it's not breaking anything anyway since jtrst output currently is not enabled :p 2013-01-07T19:12:44 < zyp> and no, it's not 2013-01-07T19:13:44 < zyp> the jtag state machine is designed in such a way that you can always get back to a known state by keeping TMS=1 and pulsing the clock a few times 2013-01-07T19:14:42 < emeb> they should have just spared us all the hassle and left the reset off. 2013-01-07T19:15:09 < zyp> hmm 2013-01-07T19:15:39 < zyp> adding a custom reset hook to bmp might be beneficial anyway 2013-01-07T19:16:02 < emeb> ? 2013-01-07T19:16:08 < zyp> can do other hooks that just resets one of the cores and not the entire chip 2013-01-07T19:16:28 < emeb> oh - sw resets. 2013-01-07T19:16:50 < emeb> via monitor cmds ? 2013-01-07T19:17:22 < zyp> hmm, I weren't thinking about monitor cmds 2013-01-07T19:17:55 < zyp> but for stuff like the M0 core, just reset it instead of the entire chip 2013-01-07T19:18:04 < emeb> right 2013-01-07T19:20:02 < zyp> probably not very useful though 2013-01-07T19:21:36 < emeb> never know. 2013-01-07T19:22:31 < zyp> I just figure that you might as well just hit the register from an alias in gdb instead then 2013-01-07T19:24:25 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Read error: Connection reset by peer] 2013-01-07T19:24:25 < emeb> probably a lot more generic 2013-01-07T19:24:35 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-07T19:24:39 < emeb> and easier to implement without side effects. 2013-01-07T19:24:41 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Read error: Connection reset by peer] 2013-01-07T19:28:24 < zyp> hmm, nice 2013-01-07T19:29:17 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-07T19:29:30 < zyp> http://paste.jvnv.net/view/eE7DE <- not the prettyest trick, but it works 2013-01-07T19:29:49 < zyp> oh, wait, the second one is VECTCLR 2013-01-07T19:29:53 < zyp> shouldn't need to modify that 2013-01-07T19:30:22 < zyp> so it's just the first part there 2013-01-07T19:31:24 < emeb> cool 2013-01-07T19:33:27 < zippe> zyp: so like I said, sounds fucked 2013-01-07T19:33:42 < zyp> yep 2013-01-07T19:33:42 < zippe> Since after reset you want all your peripherals to be, well, reset. 2013-01-07T19:34:21 < zippe> If I were to make a wild guess, it sounds like they are resetting the debug APB along with everything else 2013-01-07T19:34:38 < zippe> Or they just connected the debug interface on the backside of the core to the master fabric 2013-01-07T19:35:04 < zippe> 4357, you say? 2013-01-07T19:35:08 < zyp> how does that work? isn't the debug interface part of each core? 2013-01-07T19:35:09 < zyp> yes 2013-01-07T19:38:54 < zippe> Yeah, it is, but it just has an APB on the outside 2013-01-07T19:39:12 < zippe> And the DAP can be configured with an APB master 2013-01-07T19:39:20 < zippe> So one way to hook things up is to use a private APB 2013-01-07T19:40:00 < zippe> Then you can stick another master on the DAP to talk to the "main" fabric (or you can force the debugger to use the CPU to access memory, but that kinda sucks) 2013-01-07T19:40:38 < zippe> One way of cheating is to have a single port on the DAP that talks to the fabric and then wire the debug APB slaves on the CPU to the fabric as well 2013-01-07T19:40:56 < zippe> That works fine until the fabric hangs, or gets reset... 2013-01-07T19:42:28 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-07T19:44:57 < emeb> lazy chip architects... 2013-01-07T19:49:50 <+Steffanx> nxp .. nuf said :P 2013-01-07T19:50:40 <+Steffanx> Don't know if the 'chip architects' are in dutchland, but it would explain everything 2013-01-07T19:50:53 < zippe> I can try asking around 2013-01-07T19:57:52 -!- claude is now known as Claude 2013-01-07T20:18:20 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2013-01-07T20:35:21 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-07T20:50:55 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Read error: Operation timed out] 2013-01-07T21:04:25 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Remote host closed the connection] 2013-01-07T21:06:22 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-07T21:15:32 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 248 seconds] 2013-01-07T21:19:52 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-07T21:21:04 < Laurenceb_> mpu-9250 looks good 2013-01-07T21:21:33 < zyp> enjoy waiting a year for it 2013-01-07T21:22:58 < Laurenceb_> heh 2013-01-07T21:23:03 < Laurenceb_> or a datasheet for it 2013-01-07T21:24:35 < emeb> probably has I2C bugs 2013-01-07T21:28:40 < Laurenceb_> unlikely 2013-01-07T21:28:55 < Laurenceb_> invensense are way more competent 2013-01-07T21:29:07 < Laurenceb_> but their non gyro sensors tend to suck 2013-01-07T21:29:22 < Laurenceb_> i seriously doubt they get 16 useful bits out of the magno 2013-01-07T21:30:28 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-07T21:36:29 <+Steffanx> You care about bits way too much Laurenceb_ 2013-01-07T21:40:50 < Laurenceb_> its like its bits all the way down or something 2013-01-07T21:43:31 < gxti> bits are my business, and business is good 2013-01-07T21:46:29 <+Steffanx> if you say so 2013-01-07T21:49:54 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 255 seconds] 2013-01-07T21:55:10 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-07T22:09:48 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-07T22:15:39 -!- daku is now known as DaKu 2013-01-07T22:33:06 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 264 seconds] 2013-01-07T22:44:27 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-07T22:45:43 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-07T22:50:07 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-07T22:51:13 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-07T22:56:24 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-07T23:27:56 < Laurenceb_> lol - stm32f103 is more expensive than f303 on farnell 2013-01-07T23:29:24 < qyx_> f303 is already on farnell? 2013-01-07T23:29:54 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-07T23:38:56 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2013-01-07T23:39:11 < Laurenceb_> yup 2013-01-07T23:39:20 < Laurenceb_> http://www.facecunt.com/ 2013-01-07T23:42:16 < emeb> whew - was expecting some sort of photoshop mashup 2013-01-07T23:43:09 < emeb> Laurenceb_: same price situation on Digi-Key 2013-01-07T23:43:48 * emeb wonders what the motivation is to buy F10x now... 2013-01-07T23:46:28 -!- Claude is now known as claude 2013-01-07T23:48:09 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-07T23:48:41 < qyx_> ufbga100 package, 0.5mm pitch 2013-01-07T23:48:45 < qyx_> uff 2013-01-07T23:50:58 < Laurenceb_> hmm 2013-01-07T23:51:11 < Laurenceb_> if i use f303 on my logger board i can do irda easily 2013-01-07T23:51:38 < Laurenceb_> theres more timers so i can just solder an led into the breakout header --- Day changed Tue Jan 08 2013 2013-01-08T00:03:58 -!- _BJFreeman is now known as BJfreeman 2013-01-08T00:12:25 < Laurenceb_> stupid medical safety :( 2013-01-08T00:12:32 < Laurenceb_> bluetooth is so much simpler 2013-01-08T00:14:44 <+Steffanx> shit happens 2013-01-08T00:17:37 < Laurenceb_> yeah that too 2013-01-08T00:17:43 < Laurenceb_> shitproofing is needed 2013-01-08T00:23:37 < emeb> every time you shitproof, the world comes up with stronger shit. 2013-01-08T00:28:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-08T00:46:05 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-08T00:50:35 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 255 seconds] 2013-01-08T00:51:32 < Laurenceb_> http://hackaday.com/2013/01/07/reverse-engineering-st-linkv2-firmware/ 2013-01-08T00:51:44 < Laurenceb_> wow never knew about that before 2013-01-08T00:51:46 < Laurenceb_> /sarc 2013-01-08T00:53:02 < Laurenceb_> just stick bmp on it 2013-01-08T00:58:40 < emeb> some folks have a lot of time on their hands. 2013-01-08T00:58:56 < emeb> a lot of work to go through to make a usb/serial converter. 2013-01-08T01:03:53 < ds2> there is BMP firmware to replace the ST/LinkV2? 2013-01-08T01:04:01 < ds2> i.e. on the F1xx not on the target chip 2013-01-08T01:05:48 < Laurenceb_> yes 2013-01-08T01:07:24 < ds2> how painful is to load it? 2013-01-08T01:07:29 < ds2> and I assume it is a 1 way load? 2013-01-08T01:08:41 < emeb> don't know anyone who has tried it. 2013-01-08T01:08:51 < ds2> oh 2013-01-08T01:09:05 < ds2> but it is most likely a one way load - load it and you cannot go back to ST/LinkV2 2013-01-08T01:09:08 < ds2> ? 2013-01-08T01:09:47 < emeb> dunno 2013-01-08T01:11:14 < ds2> emeb: is it dry and cold down in your area? 2013-01-08T01:11:17 < emeb> f103 doesn't have a USB bootloader, but it might be possible to hook up the USART bootloader, grab the current flash contents prior to flashing 2013-01-08T01:11:30 < emeb> ds2: Hasn't rained here in about 2 weeks. 2013-01-08T01:11:47 < emeb> temps in the high 60s during the day, low 50s at night. 2013-01-08T01:12:47 < ds2> emeb: any caveats for the LTRL? 2013-01-08T01:13:31 < emeb> ds2: nothing specific. Do buy a ticket before boarding - they've got inspectors checking that fares are paid. 2013-01-08T01:13:32 < Laurenceb_> you have to solder on some wires and use usart 2013-01-08T01:13:35 < Laurenceb_> on the F1 2013-01-08T01:13:58 < ds2> emeb: are most of the stations in reasonable neighborhoods as long as there is daylight? 2013-01-08T01:14:06 < Laurenceb_> and aiui the flash is locked so you cant read the old firmware 2013-01-08T01:14:17 < emeb> ds2: Yes - all safe. 2013-01-08T01:14:25 < emeb> Where are you boarding/leaving? 2013-01-08T01:14:38 < ds2> emeb: Skyharbor 2013-01-08T01:14:44 < ds2> priest is the leaving stop 2013-01-08T01:14:59 < ds2> but I got enough time to kill, I am thinking of getting the all day pass and take it from end to end 2013-01-08T01:15:24 < emeb> Sky harbor to Priest is really short ride, no? 2013-01-08T01:15:29 < ds2> i.e take it into PHX, then back to the other end, then back toward skyharbor but exiting priest 2013-01-08T01:15:33 < ds2> yes, it is like 1 or 2 stop 2013-01-08T01:15:51 < emeb> Oh - that should be interesting. 2013-01-08T01:16:07 -!- DaKu is now known as daku 2013-01-08T01:16:07 < emeb> Get a good tour of downtown PHX. 2013-01-08T01:16:38 < ds2> I been to downtown... I worry about downtown :D 2013-01-08T01:16:53 < emeb> Shouldn't be a problem. 2013-01-08T01:17:16 < emeb> esp during the day, but even at night things are generally well behaved. 2013-01-08T01:17:22 < ds2> seems like otherwise 2013-01-08T01:17:29 < ds2> ok 2013-01-08T01:18:28 < emeb> They don't want to scare of riders so there are transit cops to keep things in order. 2013-01-08T01:18:52 < ds2> ah I see 2013-01-08T01:19:02 < ds2> my first trip there was to downtown 2013-01-08T01:19:02 -!- jef79m_lurking is now known as jef79m 2013-01-08T01:19:08 < emeb> Even saw a bunch of TSA/DHS uniforms on the platform a while back. 2013-01-08T01:19:17 < ds2> was assigned to help move a data center 2013-01-08T01:19:41 < emeb> Downtown PHX is... interesting. 2013-01-08T01:20:12 < emeb> a more diverse mix of folks than you see most places here in AZ - lots of suits, lots of homeless / poor in close proximity. 2013-01-08T01:20:26 < ds2> it depends on the specific area I suspect 2013-01-08T01:20:39 < ds2> it is better then say parts of OAK 2013-01-08T01:20:51 < emeb> Oh - nothing like that. 2013-01-08T01:21:24 < emeb> I've been in parts of Oakland that made my hair stand on end. 2013-01-08T01:21:32 < ds2> I know there is a junk yard that looked iffy somewhere between downtown and the airport 2013-01-08T01:21:49 < emeb> Hey - that's a fun place. 2013-01-08T01:22:06 < ds2> you know where that is? 2013-01-08T01:22:43 < emeb> Apache Reclamation - lots of cool junk. 2013-01-08T01:23:04 < ds2> nifty... now I can figure out where I was 2013-01-08T01:23:05 < emeb> http://apachereclamation.com/ 2013-01-08T01:23:33 < ds2> there is some kind of hiking area a bit further from there 2013-01-08T01:23:50 < emeb> Further in which direction? 2013-01-08T01:24:06 < emeb> Head south to South Mountain Park - that's probably the closest. 2013-01-08T01:24:20 < ds2> donno... this was back in like 2001 2013-01-08T01:24:27 < ds2> my first time in PHX... in July too 2013-01-08T01:24:46 < emeb> But also Piestewa Peak (aka Squaw Peak) or Camelback have plenty of hiking as well. 2013-01-08T01:25:11 < ds2> it definitely wasn't Camelback 2013-01-08T01:25:25 < ds2> no, this isn't apache reclamation 2013-01-08T01:25:39 < ds2> it was an open air junk yard. I saw it from a a road 2013-01-08T01:25:50 < emeb> Apache has an open yard to the side 2013-01-08T01:25:58 < emeb> but the better stuff is inside. 2013-01-08T01:26:03 < ds2> is it really big? 2013-01-08T01:26:10 < emeb> probably an acre or so. 2013-01-08T01:26:20 < ds2> oh 2013-01-08T01:26:26 < ds2> is 17 in that area relatively new? 2013-01-08T01:27:04 < emeb> No. That stretch of I-17 hasn't changed in the 30 years I've been here. 2013-01-08T01:27:45 < ds2> that doesn't seem right... i recall the roads look like they were still being built 2013-01-08T01:28:11 < ds2> I guess the 202 but that doesn't seem to match other landmarks 2013-01-08T01:28:22 < emeb> Huh - google maps of Apache shows it cleaned up a lot. 2013-01-08T01:28:34 < emeb> It's been years since I've been there. 2013-01-08T01:29:05 < emeb> and they put up sound walls on the freeway so you can't see it while driving by now. 2013-01-08T01:29:28 < ds2> Ohhh might explain why I can't seem to find it in recent times 2013-01-08T01:29:41 < ds2> it is a mystery and I cannot figure out which part of PHX i was in 2013-01-08T01:30:13 < emeb> Well, that's the only electronics/tech junkyard I've ever known about here. 2013-01-08T01:31:04 < emeb> But there were other electronics & surplus dealers here in the past. Don't know if they're still active or not. 2013-01-08T01:31:32 < ds2> there seems to be more in Tucson 2013-01-08T01:31:39 < ds2> at least from the signs I see 2013-01-08T01:31:53 < emeb> Oh? Never checked 2013-01-08T01:32:18 < emeb> I go down there every few months but haven't ever gone junkyarding. 2013-01-08T01:32:33 < ds2> seems like it 2013-01-08T01:32:49 < ds2> but I am also including surplus machinery 2013-01-08T01:34:49 < emeb> See - if you'd had a smartphone along back when you first came here you could have pix w/ geotags so you knew where you were. 2013-01-08T01:35:16 < ds2> Indeed 2013-01-08T01:35:39 < ds2> now if only someone would have made a smart phone at that time 2013-01-08T01:35:56 < emeb> heh 2013-01-08T01:36:16 < emeb> gps were almost hand-held back then. 2013-01-08T01:36:58 < ds2> i had a palm back then 2013-01-08T01:37:02 < ds2> but no GPS for it 2013-01-08T01:37:22 < emeb> flyback: http://uncyclopedia.wikia.com/wiki/Boards_of_Canada 2013-01-08T01:37:33 < emeb> (courtesy of Laurenceb_) 2013-01-08T01:38:55 < emeb> saw a Handspring at Goodwill a few weeks back - almost bought it. 2013-01-08T01:39:11 < ds2> those were nice 2013-01-08T01:39:18 < ds2> I miss hte handera 2013-01-08T01:39:51 < emeb> Got a few Palm Pilots gathering dust here. Have a pager card for one. 2013-01-08T01:45:24 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 260 seconds] 2013-01-08T01:46:46 < ds2> what name does it say on there? US Robotics? 2013-01-08T01:53:13 < emeb> I suppose. 2013-01-08T01:53:27 < emeb> ds2: what - on the pager card? 2013-01-08T01:53:33 < ds2> emeb: on the palm 2013-01-08T01:53:52 < ds2> they changed names quite a few times 2013-01-08T01:54:02 < emeb> Yeah - this one is USR 2013-01-08T01:54:33 < emeb> got the extra memory card w/ IRDA too. 2013-01-08T01:54:36 < ds2> it was like independent -> USR -> 3COM -> independent/palmOne -> Palm 2013-01-08T01:58:46 < emeb> Hmmm. Put some fresh batteries in and it seems to work fine. 2013-01-08T01:59:04 < emeb> Took a lot of paging through years to set the calendar right tho. 2013-01-08T01:59:17 < ds2> the AAA power on those are nice 2013-01-08T01:59:47 < emeb> yeah 2013-01-08T02:00:23 < emeb> remember I used to have some fun apps for it. 2013-01-08T02:00:37 < emeb> a little basic interpreter that could do some fairly heavy lifting. 2013-01-08T02:00:59 < ds2> i still use the palm emulator thesedays 2013-01-08T02:01:49 < emeb> heh - I still remember how to do graffiti. 2013-01-08T02:06:41 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-08T02:08:29 < emeb> documentation - the funnest part of any design job. 2013-01-08T02:08:57 < emeb> I just Loooooove drawing Visio diagrams of the VHDL that I coded. 2013-01-08T02:12:51 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-08T02:41:18 -!- baird [~cjb@ppp121-44-132-207.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-08T02:54:02 < dongs> http://reboots.g-cipher.net/arctrace.png 2013-01-08T03:05:14 < emeb> haha 2013-01-08T03:10:03 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-08T03:11:03 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Read error: Connection reset by peer] 2013-01-08T03:11:28 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-08T03:12:55 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Ping timeout: 260 seconds] 2013-01-08T03:25:17 < emeb> heh - F373 datasheet was recently updated to rev 3.0 - still says it has USB DFU bootloader. 2013-01-08T04:06:24 < baird> Sheeeeet, a fire inside the nearby (research) Nuke reactor.. :O 2013-01-08T04:07:13 < Thorn> you have reactors in Australia? 2013-01-08T04:09:59 < baird> Just a non-power, government-owned Research and Medicial high-flux reactor. 2013-01-08T04:11:04 < baird> Not too worried-- its only made critical a few times a year. 2013-01-08T04:12:12 < baird> I was considering taking a nuclear study interest when I was doing Physics, so I've visited the place and been inside HIFAR. 2013-01-08T04:19:04 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-08T04:26:39 < ds2> critical? 2013-01-08T04:26:42 < ds2> does that mean it goes boom? 2013-01-08T04:27:19 < Bird|lappy> ds2, a reactor 'going critical' means that the fission process has actually started up to a self-sustaining level 2013-01-08T04:27:36 < ds2> oh.. what's the term for it going boom? 2013-01-08T04:27:37 < Bird|lappy> taking a reactor critical is analogous to starting up an engine 2013-01-08T04:28:26 < Bird|lappy> uncontrolled criticality I guess? I dunno what sort of 'boom' you're talking about 2013-01-08T04:28:43 < ds2> hiroshima 2013-01-08T04:28:49 < ds2> trinity 2013-01-08T04:29:36 < Bird|lappy> ah. 2013-01-08T04:29:45 < Bird|lappy> uncontrolled criticality basically 2013-01-08T04:30:00 < ds2> ah 2013-01-08T04:31:34 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-08T04:46:59 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [] 2013-01-08T04:47:24 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-08T04:49:08 < gxti> "prompt critical" is when things start going tits-up, above that is "earth-shattering kaboom" 2013-01-08T04:59:02 -!- BJfreeman [~bjfree@119.sub-75-233-101.myvzw.com] has quit [Quit: had a good time] 2013-01-08T05:01:58 < Bird|lappy> gxti, thanks :) 2013-01-08T05:02:42 * emeb_mac is glad he didn't take OSU up on their offer to put him into Nucular Engineering. 2013-01-08T05:11:40 < dongs> newpc workin 2013-01-08T05:12:20 < emeb_mac> kewl - harder/better/faster/stronger? 2013-01-08T05:13:39 < dongs> unsure, spent an hour looking for a usb stick large enough for win8 install files 2013-01-08T05:13:50 < dongs> because i took out the dvd-r drive from my desktop like an idiot 2013-01-08T05:14:02 < dongs> and moved to newpc 2013-01-08T05:14:02 < dongs> heh 2013-01-08T05:20:23 < emeb_mac> ah, who needs dvd drive. 2013-01-08T05:23:20 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2013-01-08T05:25:26 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2013-01-08T05:25:46 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-08T05:27:00 < gxti> the last two times i reinstalled my win pc i did it from an old sata drive :p 2013-01-08T05:29:29 < emeb_mac> what - you duped the distribution media onto the HD? 2013-01-08T05:29:52 < gxti> yes, same as a usb stick install 2013-01-08T05:30:07 < emeb_mac> probably a bit faster 2013-01-08T05:34:14 < emeb_mac> heh - http://www.i-programmer.info/news/98-languages/5298-the-top-languages-of-2012.html 2013-01-08T05:34:42 < emeb_mac> may us C programmers aren't such old fossils after all... 2013-01-08T05:34:59 < emeb_mac> +be 2013-01-08T05:36:43 < Bird|lappy> yeah, a good working C ( & C++ ) knowledge is a useful tool in this day and age, still 2013-01-08T05:43:30 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 256 seconds] 2013-01-08T05:44:08 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-01-08T05:44:17 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-08T05:50:31 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2013-01-08T05:51:39 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-08T05:53:01 < emeb_mac> we got dongs coming & going 2013-01-08T06:02:26 < ds2> clues, productivity and working products are obsolete. 2013-01-08T06:02:33 < ds2> so are C and C++ 2013-01-08T06:06:52 < emeb_mac> heh 2013-01-08T06:08:32 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-08T06:17:08 < dongs> fucking feenode 2013-01-08T06:41:52 < gxti> "nice" 2013-01-08T06:53:42 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-08T06:53:51 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-08T07:10:49 -!- _BJFreeman [~bjfree@222.sub-75-196-0.myvzw.com] has joined ##stm32 2013-01-08T07:11:38 -!- _BJFreeman is now known as BJfreeman 2013-01-08T07:15:13 -!- jef79m is now known as jef79m_lurking 2013-01-08T07:42:28 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-08T07:48:34 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-08T07:52:51 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2013-01-08T07:54:25 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-08T07:58:41 -!- claude is now known as Claude 2013-01-08T08:05:59 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-08T08:06:52 -!- _BJFreeman [~bjfree@222.sub-75-196-0.myvzw.com] has joined ##stm32 2013-01-08T08:13:55 -!- gnomad2 [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-08T08:14:49 -!- Netsplit *.net <-> *.split quits: gnomad, BJfreeman, Viper168 2013-01-08T08:15:44 -!- _BJFreeman is now known as BJfreeman 2013-01-08T08:21:22 -!- baird [~cjb@ppp121-44-132-207.lns20.syd7.internode.on.net] has quit [Ping timeout: 246 seconds] 2013-01-08T08:22:52 -!- _BJFreeman [~bjfree@222.sub-75-196-0.myvzw.com] has joined ##stm32 2013-01-08T08:24:48 -!- BJfreeman [~bjfree@222.sub-75-196-0.myvzw.com] has quit [Ping timeout: 276 seconds] 2013-01-08T08:25:16 -!- _BJFreeman is now known as BJfreeman 2013-01-08T08:29:10 < emeb_mac> doing a new DK order - what else to get besides some F303s? 2013-01-08T08:29:56 -!- baird [~cjb@ppp121-44-145-163.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-08T08:30:43 -!- Gargantuasauce [~Gargantua@173.91.71.86.rev.sfr.net] has quit [Ping timeout: 260 seconds] 2013-01-08T08:38:47 < emeb_mac> not bad 2013-01-08T08:42:23 < emeb_mac> doubt it. LDO wastes power and then cuts off below dropout. 2013-01-08T08:43:34 < emeb_mac> but the msp can probably keep running well below 3.3V 2013-01-08T08:44:11 < emeb_mac> what does the ldo do when vcap < 3.3V + dropout? 2013-01-08T08:44:30 < emeb_mac> does it just pass thru or shut off? 2013-01-08T08:44:45 < ds2> most seems to just pass through Vin - Vdrop 2013-01-08T08:55:10 < jpa-> but the vdrop depends on current, so it will increase the load current dependent noise on the voltage 2013-01-08T09:10:29 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-08T09:16:12 -!- jef79m_lurking is now known as jef79m 2013-01-08T09:18:28 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-08T09:18:30 -!- gnomad2 [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-08T09:29:22 < zippe> Just checking if anyone's done I2C dma and is awake here. 8) 2013-01-08T09:30:20 < dongs> i tried to do it, wasnt impressed 2013-01-08T09:30:45 < zyp> good luck 2013-01-08T09:32:53 < qyx_> zippe: look at chibi i2c driver 2013-01-08T09:33:32 < dongs> isnt that shit just polling 2013-01-08T09:33:37 < qyx_> no 2013-01-08T09:33:43 < qyx_> shouldnt be 2013-01-08T09:37:46 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-08T09:37:54 < qyx_> http://chibios.sourceforge.net/docs/hal_stm32f4xx_rm/i2c__lld_8c_source.html 2013-01-08T09:40:43 < zippe> Yeah. Interesting; so they don't set the event interrupt flag, but then they clear it in the ISR 2013-01-08T09:47:18 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-08T09:51:43 < dongs> chibidongs 2013-01-08T09:59:29 -!- BJfreeman [~bjfree@222.sub-75-196-0.myvzw.com] has quit [Quit: had a good time] 2013-01-08T10:04:16 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-08T10:13:40 < zippe> and of course the i2c shit that was working now isn'/t 2013-01-08T10:15:52 -!- Claude is now known as claude 2013-01-08T10:24:21 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-01-08T10:24:21 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-01-08T10:24:21 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-08T10:38:59 -!- jef79m is now known as jef79m_lurking 2013-01-08T10:44:48 -!- jef79m_lurking is now known as jef79m 2013-01-08T11:12:52 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-08T11:15:38 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Client Quit] 2013-01-08T11:27:02 -!- Viper168 [~Viper@node32.18.251.72.1dial.com] has joined ##stm32 2013-01-08T11:27:02 -!- Viper168 [~Viper@node32.18.251.72.1dial.com] has quit [Changing host] 2013-01-08T11:27:03 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-08T11:28:33 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-01-08T11:30:11 -!- claude is now known as Claude 2013-01-08T11:46:04 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2013-01-08T11:46:10 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2013-01-08T11:55:29 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-08T12:05:26 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has quit [Remote host closed the connection] 2013-01-08T12:09:24 -!- jef79m is now known as jef79m_lurking 2013-01-08T12:12:51 -!- jef79m_lurking is now known as jef79m 2013-01-08T12:23:17 -!- jef79m is now known as jef79m_lurking 2013-01-08T12:41:05 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2013-01-08T12:57:05 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-08T12:57:06 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-08T13:14:11 < zyp> silent here today 2013-01-08T13:15:15 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-08T13:16:50 < baird> 47-50C here. 2013-01-08T13:46:09 < qyx_> snowing here 2013-01-08T13:48:15 < mervaka> sup 2013-01-08T13:55:16 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2013-01-08T13:56:12 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-08T14:00:18 < dongs> and feenode failing again 2013-01-08T14:27:32 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Remote host closed the connection] 2013-01-08T14:30:55 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-08T14:34:43 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 260 seconds] 2013-01-08T14:35:12 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-08T14:35:14 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 240 seconds] 2013-01-08T14:36:46 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2013-01-08T14:37:12 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-08T14:40:22 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-08T15:03:52 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2013-01-08T15:04:59 < dongle> fuck feenode 2013-01-08T15:05:14 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-08T15:10:15 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-01-08T15:10:39 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-08T15:14:47 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-08T15:21:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-08T15:40:18 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 276 seconds] 2013-01-08T15:40:44 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-08T15:49:46 < Laurenceb> im bored 2013-01-08T15:49:57 < Laurenceb> any good gore? 2013-01-08T15:52:47 < baird> I feel like burning a $40 book that I bought today, if that excites you. http://boards.4chan.org/n/res/430865 2013-01-08T15:53:15 < Bird|lappy> baird, bad bad bad book? 2013-01-08T15:57:33 < Laurenceb> he lives on 4chan 2013-01-08T15:57:46 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2013-01-08T15:58:18 < baird> worthless worthless worthless book. It professes to be a guide for long-trek rides around Australia. There's nothing longer than 3 days (that I've seen so far), and the contributors all sound like they did it by car. 2013-01-08T15:58:39 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-08T16:02:24 < Laurenceb> http://25.media.tumblr.com/63e46b1d8a72c27046d51f6337f64c4e/tumblr_mfrp7eEnbp1qdlh1io1_400.gif 2013-01-08T16:03:07 < baird> I need to find the book written by a Craig back at Newcastle, who did a Victoria->Queensland trip with his girlfriend.. 2013-01-08T16:04:59 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-01-08T16:05:54 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-08T16:09:42 < Thorn> I am an International Grandmaster of Soldering just so you know. 2013-01-08T16:09:52 < Thorn> spent 3 hours to solder a single chip. 2013-01-08T16:09:59 < zyp> ok 2013-01-08T16:10:07 < dongle> sounds like you just suck 2013-01-08T16:16:33 -!- rlc [63ed50cf@gateway/web/freenode/ip.99.237.80.207] has joined ##stm32 2013-01-08T16:16:59 < Thorn> and the chip is still alive. 2013-01-08T16:19:31 < Laurenceb> wtf 2013-01-08T16:19:35 < Laurenceb> how many pins? 2013-01-08T16:19:53 < Thorn> 100 2013-01-08T16:20:31 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-08T16:26:01 < Laurenceb> wtf 2013-01-08T16:26:14 < Laurenceb> should take 5 minutes by hand, max 2013-01-08T16:26:44 < zyp> Thorn used almost two minutes for each pin :D 2013-01-08T16:28:38 < Thorn> there was a short between power and gnd that I couldn't remove. I inally decided to remove the chip with hot air but it didn't want to come off. then I tested again and the short was gone. 2013-01-08T16:29:51 < zyp> couldn't remove, as in you had a visible bridge that wouldn't go away? 2013-01-08T16:30:34 < Thorn> no I couldn't see it 2013-01-08T16:33:55 -!- Claude is now known as claude 2013-01-08T16:46:49 < Thorn> say you're designing a PCB for a front panel, with displays, encoders, LEDs, buttons etc. All that stuff has different height. What do? 2013-01-08T16:47:34 < zyp> why does it have different height? 2013-01-08T16:48:08 < zyp> I mean, pick parts that will fit the desired pcb to panel distance 2013-01-08T16:48:49 < Thorn> not always possible 2013-01-08T16:49:21 < zyp> because? 2013-01-08T16:49:33 < Thorn> e.g. most encoders will be taller than most 7-segment displays unless I'm mistaken 2013-01-08T16:49:39 < gxti> Thorn: how long is a piece of string? 2013-01-08T16:49:53 < zyp> :) 2013-01-08T16:50:25 < gxti> well, encoders *should* be taller. they have to stick out and accept a knob. 2013-01-08T16:51:16 < jpa-> and you can cut down the encoder shaft if you want 2013-01-08T16:51:23 < zyp> I guess user interface design being annoying is not restricted to software :p 2013-01-08T16:51:35 < Laurenceb> sigh 2013-01-08T16:51:42 < Laurenceb> its my birthday tomorrow 2013-01-08T16:51:45 < Laurenceb> too old :( 2013-01-08T16:52:02 < zyp> how old? 2013-01-08T16:52:04 < Laurenceb> need to get a decent job already 2013-01-08T16:52:11 < Laurenceb> twnety something... 2013-01-08T16:52:16 < Laurenceb> *twenty 2013-01-08T16:52:34 < zyp> woah, you're still just in the twenties 2013-01-08T16:52:44 < gxti> still plenty of time to fuck everything up 2013-01-08T16:52:46 < Laurenceb> going to quit some time this year :P 2013-01-08T16:52:52 < jpa-> hey i'm still twenty something and i still use spaces 2013-01-08T16:53:00 < Laurenceb> lolzors 2013-01-08T16:53:03 < jpa-> (and yeah, i should switch jobs also) 2013-01-08T16:54:36 < zyp> hmm 2013-01-08T16:54:39 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-08T16:54:40 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-08T16:54:40 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-08T16:54:43 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-08T16:54:48 < jpa-> hey steffie 2013-01-08T16:54:56 < zyp> Steffanx is also twenty something and use spaces 2013-01-08T16:55:08 < Laurenceb> *uses 2013-01-08T16:55:15 < zyp> he probably also need a decent job 2013-01-08T16:55:32 <+Steffanx> wtf are you talking about zypie? 2013-01-08T16:55:39 <+Steffanx> Hi petteri 2013-01-08T16:55:53 < jpa-> Steffanx: Laurenceb is frustrated about his age 2013-01-08T16:56:09 <+Steffanx> Aw poor him 2013-01-08T16:56:22 <+Steffanx> zlog 2013-01-08T16:56:22 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-01-08.html 2013-01-08T16:57:06 <+Steffanx> I bet he is older than me 2013-01-08T16:57:35 < zyp> as far as I know he is older than me 2013-01-08T16:57:38 < zyp> hmm 2013-01-08T16:57:39 < dongs> sup t rolls 2013-01-08T16:57:52 <+Steffanx> Find a nice slogan for tarduino.cc yet? 2013-01-08T16:58:02 < zyp> I just realized my birthday is next week 2013-01-08T16:58:04 < dongs> twentysomething? gtfo 2013-01-08T16:58:13 < dongs> zyp, any progress on lpc failure? 2013-01-08T16:58:24 <+Steffanx> I realized it was previous year in november .. ooh 2013-01-08T16:59:47 < zyp> dongs, yeah, I found out that triggering SYSRESETREQ triggers a reset signal that will fuck up shit 2013-01-08T17:00:11 < zyp> so I patched bmp to hit every reset signal except the one that fucks up, seems to work 2013-01-08T17:00:18 < dongs> http://i.imgur.com/u2AgD.png look how purtyyyyyy 2013-01-08T17:01:06 < zyp> time to get digitizers for your ipad panels 2013-01-08T17:01:11 < dongs> wtf for? 2013-01-08T17:01:14 < zyp> :p 2013-01-08T17:01:17 < dongs> all that is usable from keyboard 2013-01-08T17:01:22 < dongs> this isnt lunix 2013-01-08T17:01:40 < baird> epic bike ride: http://i.imgur.com/gHAIy.jpg 2013-01-08T17:02:09 < zyp> dongs, obviously just joking 2013-01-08T17:02:25 < dongs> i didnt evne plug the mouse in 2013-01-08T17:02:27 < dongs> until after install was done 2013-01-08T17:02:30 <+Steffanx> holiday in aussieland baird ? 2013-01-08T17:02:32 < dongs> try installing lunix or macfag without a mouse 2013-01-08T17:02:39 <+Steffanx> *vacation or whatever it's called 2013-01-08T17:02:49 < zyp> heh 2013-01-08T17:03:02 < zyp> I don't think I've ever used a graphical linux installer :) 2013-01-08T17:03:28 <+Steffanx> I don't even remember how i installed OS X :P 2013-01-08T17:03:33 <+Steffanx> Can't say that from windows :) 2013-01-08T17:04:09 < Laurenceb> omg thats horrifying 2013-01-08T17:04:19 < Laurenceb> windows8 needs to burn in a fire 2013-01-08T17:04:27 < dongs> no its amazing 2013-01-08T17:04:34 <+Steffanx> I feel the same about you Laurenceb 2013-01-08T17:04:39 < dongs> the tilebar shit is like start menu but without all the aids 2013-01-08T17:04:46 < dongs> because i can unpin all the lame apps from it and just leave shit I use 2013-01-08T17:04:54 < dongs> thats all I e ver used on start menu, is pinned apps. 2013-01-08T17:04:59 < dongs> the hierarchical list of shit was annoying as crap 2013-01-08T17:05:07 < zyp> the pinned apps thing in win7 is nice 2013-01-08T17:05:11 < dongs> yes 2013-01-08T17:05:14 < zyp> on taskbar 2013-01-08T17:05:22 < zyp> esp. with win+number to launch them 2013-01-08T17:05:22 < dongs> and in tileshit, you can still type few letters to find some app that isint pinned 2013-01-08T17:05:32 < dongs> zyp: taskbars in 8 can span across monitors now 2013-01-08T17:05:39 < dongs> AND!! each taskbar has titles for windows on that monitor 2013-01-08T17:05:44 < dongs> awesome stuff. 2013-01-08T17:05:52 < zyp> heh 2013-01-08T17:06:12 < zyp> oh well, time to head home from work 2013-01-08T17:06:21 < dongs> is it that lte 2013-01-08T17:06:21 < dongs> late 2013-01-08T17:06:34 < baird> Steffanx: one-day ride from Sydney to Newcastle on a commuter pushbike.. Ended up visiting relatives up there for 4-5 days. 2013-01-08T17:07:06 < dongs> now we know wehre your relatives are, time to transmit coordinates to best korea 2013-01-08T17:07:31 < baird> try installing lunix or macfag without a mouse -- that's how I've installed all Unix since 1990? 2013-01-08T17:07:42 < dongs> lol, "unix" 2013-01-08T17:07:44 < dongs> PFFT 2013-01-08T17:08:10 < baird> Xenix, AIX, SunOS, BSD, ... 2013-01-08T17:08:37 <+Steffanx> Whatever a pushbike is 2013-01-08T17:09:15 < dongs> http://kidcrave.com/wp-content/uploads/2010/01/sevi-push-bike.jpg 2013-01-08T17:09:45 < Laurenceb> it all makes sense now 2013-01-08T17:10:58 < baird> http://www.kk.org/streetuse/archives/2008/05/wooden_bikes.php 2013-01-08T17:11:00 <+Steffanx> World peace is near Laurenceb ? 2013-01-08T17:11:06 < dongs> baird: haha http://boards.4chan.org/n/res/430865 2013-01-08T17:11:13 < Laurenceb> http://tinyurl.com/axsrpvq 2013-01-08T17:11:56 -!- claude is now known as Claude 2013-01-08T17:12:20 < Laurenceb> haha what the actual fuck 2013-01-08T17:12:26 <+Steffanx> myspace?! 2013-01-08T17:12:31 < baird> I want to punch the fucker at the sydneycyclist board who suggested it. 2013-01-08T17:12:36 < Laurenceb> http://www.kk.org/streetuse/flinstonesbikes02gz1.jpg 2013-01-08T17:14:08 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-08T17:15:45 <+Steffanx> morning 2013-01-08T17:17:06 < Laurenceb> http://cl.jroo.me/z3/V/o/5/d/a.baa-haha-what-the-fuck-D.jpg 2013-01-08T17:22:22 < emeb_mac> morning youngsters 2013-01-08T17:22:38 * emeb_mac reads the log of all the carping about age 2013-01-08T17:23:12 <+Steffanx> Dont read the logs! 2013-01-08T17:23:20 < emeb_mac> too late 2013-01-08T17:23:35 < emeb_mac> you should have warned me sooner. I blame you. 2013-01-08T17:24:25 < rlc> morning old man 2013-01-08T17:24:48 < baird> This ojiisan 42 in 3 weeks. :/ 2013-01-08T17:25:00 < baird> *is 42 2013-01-08T17:25:21 < emeb_mac> that's more like it 2013-01-08T17:25:31 <+Steffanx> grandpa 2013-01-08T17:25:41 * emeb_mac shakes cane 2013-01-08T17:30:54 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-01-08T17:31:03 < karlp> blue stacks looks intersting dongs, works well? 2013-01-08T17:31:29 -!- baird [~cjb@ppp121-44-145-163.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-08T17:44:58 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-08T17:57:38 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-08T18:00:39 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-08T18:01:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-08T18:06:17 < emeb> quiet here 2013-01-08T18:07:35 <+Steffanx> Grandpa is asleep 2013-01-08T18:07:54 < emeb> grandpa baird? 2013-01-08T18:08:38 <+Steffanx> and grandpa flyback and grandpa dongs etc. 2013-01-08T18:08:52 < emeb> heh 2013-01-08T18:08:58 <+Steffanx> and emeb_mac 2013-01-08T18:09:06 < emeb> that guy. 2013-01-08T18:10:21 < emeb> Steffanx needs an alter-ego. 2013-01-08T18:10:28 < emeb> something with springboards 2013-01-08T18:13:21 -!- Steffanx________ [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-08T18:13:27 <+Steffanx> There he is 2013-01-08T18:14:50 < emeb> springboards and what... bird droppings? 2013-01-08T18:15:11 <+Steffanx> bird droppings where? 2013-01-08T18:15:40 < emeb> ah - just my IRC client telling me there were more springboards off screen 2013-01-08T18:16:04 <+Steffanx> This is just a professional springboard. 2013-01-08T18:16:43 < emeb> Steffanx________'s "springboard" is longer. 2013-01-08T18:16:58 < emeb> twss 2013-01-08T18:17:18 -!- Steffanx________ [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Client Quit] 2013-01-08T18:17:25 <+Steffanx> adium sucks as irc client 2013-01-08T18:17:57 < emeb> seems they all suck, one way or another. 2013-01-08T18:18:23 <+Steffanx> Too bad that's true 2013-01-08T18:18:57 <+Steffanx> Especially the one i currently use :) 2013-01-08T18:18:58 -!- _BJFreeman [~bjfree@16.sub-75-233-33.myvzw.com] has joined ##stm32 2013-01-08T18:19:10 <+Steffanx> It sometimes crashes at start up and it doesn't reconnect after a standy 2013-01-08T18:19:29 <+Steffanx> Weird ssl certicicate issues 2013-01-08T18:21:20 < emeb> I use pidgin on linux & colloquy on mac. they' 2013-01-08T18:21:23 < emeb> re OK 2013-01-08T18:21:42 < emeb> amazing how often I hit return when going for an apostrophe 2013-01-08T18:22:09 <+Steffanx> colloqug :P 2013-01-08T18:22:34 <+Steffanx> pidgin = adium, so no thanks :) 2013-01-08T18:22:43 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-01-08T18:23:11 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-08T18:23:12 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-08T18:23:12 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-08T18:23:15 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-08T18:23:56 -!- _BJFreeman is now known as BJfreeman 2013-01-08T18:26:14 <+Steffanx> "Works for me." .. still the best bugs fix EVER 2013-01-08T18:26:20 <+Steffanx> -s 2013-01-08T18:27:07 < emeb> gah - should just get rid of all this Stereolab crap. 2013-01-08T18:28:17 < emeb> it's like they never had an idea that lasted longer than 1 measure, but all their tunes just repeat for 5 minutes. 2013-01-08T18:29:06 < zippe> emeb: wasn't that Philip Glass' band? 2013-01-08T18:29:27 < emeb> zippe: beats me - looking... 2013-01-08T18:29:50 < zippe> emeb: sorry, music geek joke 2013-01-08T18:29:55 < emeb> heh 2013-01-08T18:30:06 < emeb> he who laughs last just got it. 2013-01-08T18:30:16 < zippe> Philip Glass Glass Glass walked walked walked Glass bar into a bar bar bar bar bar 2013-01-08T18:30:29 < emeb> yeah 2013-01-08T18:31:09 * emeb prefers 4:33 2013-01-08T18:32:39 < emeb> "David Bowie has apparently decided today is the day to remind us he is a boomer." 2013-01-08T18:32:59 < gxti> AHHH BOOOMER 2013-01-08T18:33:16 < zippe> six white boomers, snow white boomers... 2013-01-08T18:34:41 < zippe> … trashing Tokyo in the name of fun 2013-01-08T18:34:52 < zippe> (with apologies to Rolf Harris and Adam Warren) 2013-01-08T18:38:01 < emeb> christmas in summer. ugh 2013-01-08T18:39:47 < karlp> stereolab is awesome! 2013-01-08T18:46:21 < emeb> they're "fiercely independent"! 2013-01-08T18:49:44 -!- Nindustries [~Nindustri@unaffiliated/nindustries] has joined ##stm32 2013-01-08T18:49:58 -!- Nindustries [~Nindustri@unaffiliated/nindustries] has left ##stm32 [] 2013-01-08T18:52:01 -!- Tectu_ [tectu@irc.ipv6.kunsmann.eu] has joined ##stm32 2013-01-08T19:01:04 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2013-01-08T19:02:39 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-08T19:03:10 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-08T19:16:16 -!- Claude is now known as claude 2013-01-08T19:53:10 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-08T20:02:38 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-08T20:09:53 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-08T20:40:05 -!- daku is now known as DaKu 2013-01-08T20:57:31 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-08T21:06:08 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2013-01-08T21:08:02 -!- Gargantuasauce [~Gargantua@2.46.168.109.dsl.static.ip.kpnqwest.it] has joined ##stm32 2013-01-08T21:12:46 < rlc> I'm trying to configure the GPIO and it has a speed setting. What does that mean? Is it the maximum speed I can pull the IO pin high and low? 2013-01-08T21:13:18 < emeb> basically it's the strength of the drivers - how fast the edges are. 2013-01-08T21:13:32 < emeb> slower = less current = lower power. 2013-01-08T21:13:39 < gxti> and less noise/EMI 2013-01-08T21:13:49 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-08T21:14:03 < gxti> if you change 8 outputs simultaneously all of those are sucking up a bunch of current while they switch 2013-01-08T21:14:22 < gxti> and could be connected to long capacitative lines, thus sucking up current for tens of nanoseconds 2013-01-08T21:14:53 < gxti> so if you know you don't need to switch fast (e.g. a uart or LEDs or something) you can use less current and cause less trouble. 2013-01-08T21:15:33 < rlc> Ah I see 2013-01-08T21:15:43 < emeb> wonder if the slower settings could make any difference in LED brightness? 2013-01-08T21:16:02 < gxti> no, lol. the only change is at nanosecond scale really. 2013-01-08T21:16:12 < rlc> So I could just leave it on maximum speed for general purpose code? 2013-01-08T21:16:16 < gxti> overall power consumption is not likely to change much 2013-01-08T21:16:17 < gxti> rlc: yes 2013-01-08T21:17:07 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-08T21:17:53 < rlc> And if I set it to lowest speed (2MHz) but driving the OI pin faster, what kind of problem might I get? 2013-01-08T21:18:32 -!- claude is now known as Claude 2013-01-08T21:19:04 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-08T21:19:11 < gxti> rlc: mushy signals 2013-01-08T21:19:39 < rlc> ah ok 2013-01-08T21:20:54 < gxti> if you set up a timer output to clock at 36mhz but configure the output at 2mhz it'll look like it was put through a low-pass filter, and that continuous drive is likely to suck up more drive current since it is always switching instead of resting in a fully on or fully off state 2013-01-08T21:21:11 < emeb> interesting - OSPEEDRy[1:0] appears to have no effect on static current. Just edge rates. 2013-01-08T21:21:44 < emeb> Wonder what sort of output structure is used to achieve that. 2013-01-08T21:21:59 < gxti> emeb: what kind of signal are you outputting? 2013-01-08T21:22:28 < emeb> gxti: I'm not - just curious. 2013-01-08T21:22:44 < gxti> emeb: well yeah it's not going to change actual static consumption 2013-01-08T21:23:16 < gxti> by definition 2013-01-08T21:23:18 < emeb> gxti: no, not consumption. Drive capability of the outputs. 2013-01-08T21:23:19 < gxti> it's static. 2013-01-08T21:23:24 < gxti> oic 2013-01-08T21:23:27 < rlc> then why does this setting exists? 2013-01-08T21:23:47 < gxti> rlc: EMI, power filtering requirements 2013-01-08T21:24:03 < emeb> in the past I've seen output drivers that switched in more parallel MOS transistors to speed up, but that also allowed higher static drive source/sink. 2013-01-08T21:24:07 < gxti> emeb: probably switches stages once it's settled 2013-01-08T21:24:32 < gxti> current-limited while switching, wide open once settled 2013-01-08T21:24:49 < gxti> sometimes you can see it on a scope 2013-01-08T21:24:57 < emeb> gxti: yeah - there might be delay stages on successive parrallel transistors. 2013-01-08T21:25:08 < rlc> make sense 2013-01-08T21:25:29 < emeb> less delay = more xtrs pulling together = faster edges. 2013-01-08T21:26:24 < emeb> wonder if slower edges = more shoot-thru current? 2013-01-08T21:26:36 < emeb> that wouldn't be good... 2013-01-08T21:36:40 < Laurenceb_> ive experimented with speed when driving LEDs 2013-01-08T21:36:54 < Laurenceb_> seems to be implemented very cleverly 2013-01-08T21:37:11 < Laurenceb_> theres virtually no effect on current, even when switching 2013-01-08T21:37:22 < Laurenceb_> seems to be driver fet gate slew rate 2013-01-08T21:43:44 < emeb> cool 2013-01-08T21:48:58 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has left ##stm32 ["Leaving"] 2013-01-08T21:51:09 -!- Gargantuasauce [~Gargantua@2.46.168.109.dsl.static.ip.kpnqwest.it] has quit [Quit: sauce] 2013-01-08T21:58:08 < rlc> I'm seeing that SPI1 is mapped to AF5. Can I set it to any bits of any ports using GPIOx_AFRL or GPIOx_AFRH registers, or just to some? 2013-01-08T21:58:56 < Laurenceb_> im not sure i understand 2013-01-08T21:59:12 < Laurenceb_> you can only map a peripheral to one or two other configurations 2013-01-08T21:59:39 < rlc> For example, I want to map SPI1 clock to portA bit 1, can it be done? 2013-01-08T21:59:40 < Laurenceb_> see the pinout in the device datasheet 2013-01-08T22:04:19 -!- DaKu is now known as daku 2013-01-08T22:10:02 < jpa-> rlc: just to some, there is an AFIO mapping table in the datasheet 2013-01-08T22:10:40 < jpa-> (AFIO 5 on one pin will be something else on another pin) 2013-01-08T22:14:03 < rlc> jpa-: Can it be that AFIO5 is not connected on some pins? 2013-01-08T22:14:26 < jpa-> yes 2013-01-08T22:16:09 < rlc> ok. That's the impression I got 2013-01-08T22:16:10 < jpa-> "Table 8. Alternate function mapping" is the best reference to figure those out 2013-01-08T22:16:22 < rlc> Let me check 2013-01-08T22:16:49 < jpa-> under "Pinouts and pin descriptions" in the datasheet 2013-01-08T22:17:27 < rlc> Ok thanks. See it. Nice little table 2013-01-08T22:18:57 < jpa-> i wanted to have ADC & SPI & I2C & USART available on the same connector and dynamically switchable, so i went through that table a few times with hilighter pen to find a suitable combination of pins to use :P 2013-01-08T22:20:11 < qyx_> some javascript app would be nice for that purpose 2013-01-08T22:20:16 < qyx_> i did the same once 2013-01-08T22:21:23 <+Steffanx> "JavaScript LOL" 2013-01-08T22:21:39 < qyx_> i meant web app 2013-01-08T22:22:00 <+Steffanx> Nah, that's just hte standard response here when you say something about JS :( 2013-01-08T22:22:36 < qyx_> if you know some better approach not involving unneeded server interaction, i will be happy :P 2013-01-08T22:22:41 < qyx_> and flash doesn't count 2013-01-08T22:23:12 <+Steffanx> VBScript 2013-01-08T22:25:09 < qyx_> sure 2013-01-08T22:25:15 < qyx_> going home, brb 2013-01-08T22:25:23 <+Steffanx> Have fun 2013-01-08T22:33:31 < emeb> PHP! 2013-01-08T22:37:26 <+Steffanx> Clientside :) 2013-01-08T22:38:14 -!- daku is now known as DaKu 2013-01-08T22:39:46 < jpa-> clientside php! 2013-01-08T22:40:16 < jpa-> now in every browser as a plugin (just enable safemode to make it 100% secure!) 2013-01-08T22:49:14 < rlc> I'm wondering how important is it to read the ARM core reference manual and the ARM architecture reference manual to program the stm32 2013-01-08T22:50:48 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Remote host closed the connection] 2013-01-08T22:51:23 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-08T23:01:52 -!- Claude is now known as claude 2013-01-08T23:01:56 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-01-08T23:06:14 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 256 seconds] 2013-01-08T23:07:14 < qyx_> rlc: never read that :X 2013-01-08T23:07:42 < qyx_> i saw it only from a far distance 2013-01-08T23:15:17 < rlc> qyx_: They look scary. If I can avoid them at all it's better, but I 2013-01-08T23:16:35 < rlc> qyx_: yes, they look scary. If I can avoid them at all it's better, but I'm afraid I might miss something important from these documents 2013-01-08T23:25:36 < fiendie> Hi guys, I'm trying to get Debugging to work with an ST-Link v2 and Eclipse on Mac OS. Works great with a Segger J-Link clone but I had no luck so far with the ST-Link. GDB-Server output looks promising: http://pastie.org/5650511 But the only output I get in Eclipse is "0xfffffffe in ?? ()". I don't reach any breakpoint. 2013-01-08T23:27:31 < fiendie> Oh btw, the target is an STM32F103CBT6. 2013-01-08T23:50:07 < emeb> fiendie: I wasn't aware that there was a Mac OS X usb driver for the ST-Link V2. 2013-01-08T23:51:11 < fiendie> emeb: I'm using this https://github.com/texane/stlink 2013-01-08T23:51:15 <+Steffanx> afaik you don't need a driver for V2 emeb 2013-01-08T23:51:27 <+Steffanx> For V1 you do need a driver/kext 2013-01-08T23:51:31 < fiendie> Yeah, v2 just uses raw USB commands. 2013-01-08T23:51:33 < emeb> ok, stlink-texane. 2013-01-08T23:51:43 < emeb> never had much luck with that. 2013-01-08T23:52:04 < fiendie> Flashing works oddly enougn. 2013-01-08T23:52:30 < emeb> sometimes 2013-01-08T23:52:40 < emeb> depends on what the target app is doing. 2013-01-08T23:54:00 < fiendie> Too bad. The JLingGDBServer from Segger seems to work at least. 2013-01-08T23:55:58 < emeb> At least you've got something that works. 2013-01-08T23:56:04 <+Steffanx> You too :P 2013-01-08T23:56:14 < emeb> I'm happy. 2013-01-08T23:56:21 <+Steffanx> Anyway, i can't believe you are the first want to use the stlink on os x with eclipse 2013-01-08T23:56:52 < fiendie> Yeah, I found a few blog entries. 2013-01-08T23:59:11 <+Steffanx> gn 2013-01-08T23:59:14 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] --- Day changed Wed Jan 09 2013 2013-01-09T00:00:07 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Read error: No route to host] 2013-01-09T00:13:19 < Thorn> something's horribly wrong with my SPI 2013-01-09T00:13:27 < emeb> oh? 2013-01-09T00:14:41 < emeb> it's suddenly turned into an I2C port? 2013-01-09T00:15:45 < Thorn> as usual, spent 3 hours dicking around before using the scope. latch pulse comes after like 5 transferred bits out of 16 http://paste.jvnv.net/view/25PXH 2013-01-09T00:16:24 < Thorn> mode is SPI_Direction_1Line_Tx 2013-01-09T00:16:43 < emeb> right - I've seen that too. 2013-01-09T00:17:01 < rlc> Thorn: your first time getting SPI working? 2013-01-09T00:17:07 < emeb> I had to insert delays between the receive_data and CS deassert. 2013-01-09T00:17:47 < Thorn> no it worked fine before in duplex mode 2013-01-09T00:17:55 < Thorn> rlc: ^ 2013-01-09T00:18:44 < Thorn> I put all safeguards I could think of, some of flag waits are surely redundant. but still. 2013-01-09T00:19:08 < emeb> yeah - I thought that waiting for RXNE would ensure the transaction was complete. 2013-01-09T00:19:37 < emeb> never dug into it further tho... 2013-01-09T00:20:23 < Thorn> I just put the latch pulse before the SPI code as a "natural delay" (this is a timer interrupt) and it works great 2013-01-09T00:20:30 < Thorn> waddafuq 2013-01-09T00:22:42 < fiendie> Oh nice. Debugging works ;) 2013-01-09T00:23:00 < fiendie> Seems that something went wrong during flashing. 2013-01-09T00:23:16 < fiendie> Re-flashed the .hex and now it works. 2013-01-09T00:25:33 -!- rlc [63ed50cf@gateway/web/freenode/ip.99.237.80.207] has quit [Quit: Page closed] 2013-01-09T00:26:36 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-09T00:27:33 * fiendie slaps dongs 2013-01-09T00:27:43 < fiendie> Should've known you're idling here ;) 2013-01-09T00:32:16 -!- DaKu is now known as daku 2013-01-09T00:43:17 < zyp> emeb, I've always been using stlink on OS X 2013-01-09T00:43:48 < zyp> fiendie, 0xfffffffe is lockup 2013-01-09T00:44:06 < zyp> i.e. cpu has hardfaulted, then failed to handle hardfault, and went into lockup 2013-01-09T00:44:23 < fiendie> zyp: Thanks 2013-01-09T00:44:33 < fiendie> zyp: Are you using st-flash? 2013-01-09T00:44:35 < zyp> it's what happens when you try to boot an empty flash 2013-01-09T00:44:50 < zyp> no, I've always used the st-util gdbserver 2013-01-09T00:45:22 < zyp> just load the elf file in gdb, then use the «load» command in gdb 2013-01-09T00:45:29 < zyp> then use run to reset it 2013-01-09T00:45:50 < fiendie> And that uploads the firmware image? 2013-01-09T00:46:03 < zyp> yes, load uploads the firmware image 2013-01-09T00:47:06 < fiendie> OK nice 2013-01-09T00:47:13 < fiendie> http://pastie.org/5651233 <= That's what I use 2013-01-09T00:47:36 < zyp> uh, ok 2013-01-09T00:47:47 < zyp> http://cgit.jvnv.net/laks_demo/tree/.gdbinit <- mine looks like this 2013-01-09T00:47:57 < zyp> but not using stlink anymore 2013-01-09T00:48:11 < zyp> the attach_* aliases are for blackmagic probe 2013-01-09T00:49:08 < zyp> http://cgit.jvnv.net/suzumebachi/tree/.gdbinit?id=2a3413 <- this is from when I was using stlink 2013-01-09T00:57:41 < emeb> zyp: yeah - derp. 2013-01-09T01:08:50 < Thorn> and again 1 is brighter than 8 x_x 2013-01-09T01:09:38 -!- jef79m_lurking is now known as jef79m 2013-01-09T01:09:47 < Thorn> how is that possible, there's no common place for the voltage to drop. 2013-01-09T01:11:02 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-09T01:11:36 < Thorn> and +3.3V is rock solid. 2013-01-09T01:11:59 < zyp> Thorn, you're just doing something wrong 2013-01-09T01:12:43 < Thorn> of course. 2013-01-09T01:15:01 < Thorn> http://i.imgur.com/BtUmU.png 2013-01-09T01:15:30 < Thorn> (220R are actually big solder bridges) 2013-01-09T01:17:00 < Thorn> but digits like 1, 7 are still brighter than 6 or 8. wtf. 2013-01-09T01:18:23 < Thorn> the only things that are common to all segments are upper transistors 2013-01-09T01:19:56 < zyp> and you are only driving one of those at a time? 2013-01-09T01:20:15 < Thorn> of course. dynamic scan 2013-01-09T01:20:32 < zyp> so, are they on for the same amount of time? 2013-01-09T01:20:42 < Thorn> absolutely 2013-01-09T01:21:07 < gxti> Thorn: are you driving one SEGMENT at a time or one DIGIT at a time? 2013-01-09T01:21:17 < Thorn> digit. 2013-01-09T01:21:41 < zyp> wait, solder bridges? 2013-01-09T01:21:45 < zyp> what do you mean by that? 2013-01-09T01:22:05 < gxti> Thorn: never mind, looks sound to me 2013-01-09T01:22:20 < Thorn> 0 Ohm resistors made out of solder. 2013-01-09T01:22:32 < gxti> oh what 2013-01-09T01:22:47 < zyp> so, you don't have any series resistors? 2013-01-09T01:22:49 < Thorn> 28mA per segment. 2013-01-09T01:23:02 < zyp> how do you figure that? 2013-01-09T01:23:11 < Thorn> no. max pulse current is 150mA as per datasheet 2013-01-09T01:23:20 < Thorn> DMM in mA mode 2013-01-09T01:23:24 < zyp> fail. 2013-01-09T01:23:49 < Thorn> I should probably put some resistance there. 2013-01-09T01:23:52 < zyp> no wonder they are not equally bright, when you don't control the current through them 2013-01-09T01:23:53 < gxti> Thorn: yes. yes you should. 2013-01-09T01:23:58 < Thorn> not while it;s scanning of course 2013-01-09T01:24:21 < Thorn> I stopped the core and measured current in static mode 2013-01-09T01:25:04 < zyp> small part variance in voltage drop makes huge differences in brightness due to the nonlinear nature of a diode when you don't control the current 2013-01-09T01:25:55 < Thorn> but I have a moving 1 and it's brighter in every position 2013-01-09T01:26:16 < Thorn> same with 7. and 6/8 are dimmer regardless of where they are 2013-01-09T01:26:29 < zyp> just mount the resistors and test again. 2013-01-09T01:26:57 < zyp> your circuit as it is now is shitty 2013-01-09T01:27:26 < gxti> frankly i'm surprised he didn't blow it up 2013-01-09T01:27:34 < gxti> maybe the top transistor is miswired 2013-01-09T01:27:57 < Thorn> all 9? 2013-01-09T01:28:07 < gxti> meaning you designed it wrong :p 2013-01-09T01:28:22 < Thorn> how. 2013-01-09T01:28:36 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-09T01:28:55 < zyp> by not having resistors. 2013-01-09T01:29:00 < gxti> you told us yourself it isn't working right 2013-01-09T01:29:09 < gxti> and if the steady state current with no resistor is 28mA then something is fucked 2013-01-09T01:29:22 < gxti> it should have just exploded 2013-01-09T01:29:40 < gxti> are those 2.0/2.2 volt LEDs or 4.0+? 2013-01-09T01:29:53 < Thorn> why? 3.3 - 2*0.7 = 1.9V 2013-01-09T01:30:20 < zyp> do you not know basic transistor theory? 2013-01-09T01:30:29 < gxti> Thorn: 0.7? 2013-01-09T01:30:35 < zyp> the 0.7V drop in transistors are only between base and emitter 2013-01-09T01:30:46 < zyp> base and collector do not have that. 2013-01-09T01:30:51 < zyp> sorry, collector and emitter 2013-01-09T01:31:01 < Thorn> ok it's not 0.7 but there's still some drop 2013-01-09T01:31:04 < zyp> so you are putting the entire 3.3V across the diodes. 2013-01-09T01:31:21 < zyp> not as significant as 0.7V 2013-01-09T01:31:22 < gxti> well obviously not or it would be drawing more than 28ma, if that's really what it is drawing 2013-01-09T01:31:35 < gxti> so something else is pooched and i'm guessing it's the high-side switch 2013-01-09T01:31:48 < zyp> unless you end up with a too weak base current so the transistors themselves are current limiting 2013-01-09T01:31:58 < zyp> and then you get weird effects on both high and low sides 2013-01-09T01:32:09 < gxti> looks like they have integrated resistors at least 2013-01-09T01:32:13 < zyp> so fix the fucking circuit by getting the resistors in place. 2013-01-09T01:32:28 < gxti> and check the voltage drop on the LEDs 2013-01-09T01:32:39 < gxti> if they're 4 volt LEDs then that might explain some things 2013-01-09T01:32:45 < gxti> ... maybe 2013-01-09T01:33:08 < zyp> they are not 4 volt leds 2013-01-09T01:33:15 < Thorn> 2.2V typ, 2.5V max 2013-01-09T01:34:25 < gxti> Thorn: put it in a steady state and probe the high and low base voltages and the high and low LED voltages 2013-01-09T01:34:47 < zyp> gxti, why waste time on that? 2013-01-09T01:35:03 < gxti> ok mr zyp what do you suggest 2013-01-09T01:35:12 < gxti> thermite? i concur 2013-01-09T01:35:15 < zyp> putting the resistors in place. 2013-01-09T01:35:20 < gxti> well yeah do that first 2013-01-09T01:35:29 < emeb> then thermite? 2013-01-09T01:35:33 < zyp> yes. 2013-01-09T01:35:45 < emeb> thermite is fun 2013-01-09T01:35:54 < gxti> but 28ma * 220R = 6.16v so it ain't gonna get any better 2013-01-09T01:36:30 < zyp> better as in? 2013-01-09T01:36:44 < emeb> Thorn: what parts are those anode drivers? 2013-01-09T01:40:35 < Thorn> 0.12 and 2.35V on cathode and anode resp. in steady state. 2013-01-09T01:40:56 < emeb> so there's some drop across the drivers 2013-01-09T01:41:32 < Thorn> pdta114e, min beta=30, 10K on base, 150mV saturation voltage 2013-01-09T01:42:13 < zyp> and the largest drop are across the anode drivers, since they get more current 2013-01-09T01:42:26 < Thorn> yes 2013-01-09T01:42:27 < zyp> and this is where part variance comes in 2013-01-09T01:42:52 < zyp> because those drivers are not wired to give a controllable drop. 2013-01-09T01:42:53 < emeb> so 3.3V - 0.7v = 2.6V/10K = 260uA x 30 = 8ma through the anode drivers 2013-01-09T01:43:15 < emeb> those anode drivers can't source the kind of current you're asking for. 2013-01-09T01:43:17 < gxti> yeah that base resistor is nasty 2013-01-09T01:43:43 < zyp> beta as in hFE? 2013-01-09T01:43:44 < emeb> and - you're lucky about that, otherwise you'd have fried the displays. 2013-01-09T01:43:50 < emeb> zyp: yeah 2013-01-09T01:43:53 < zyp> hmm 2013-01-09T01:44:17 < zyp> so the different brightness is most likely due to hFE variance across the transistors 2013-01-09T01:44:18 < Thorn> I tested with a pot first. 2013-01-09T01:44:22 < emeb> right 2013-01-09T01:44:33 < emeb> errr.. no 2013-01-09T01:44:38 < zyp> no? 2013-01-09T01:44:45 < Thorn> can't be. bright digits move 2013-01-09T01:44:55 < emeb> it's because the anode drivers can only source 8ma or so, and as you turn on more segments it gets less/segment 2013-01-09T01:45:01 < zyp> ah 2013-01-09T01:45:09 < zyp> I thought you said some digits were always brighter 2013-01-09T01:45:12 < zyp> but yes 2013-01-09T01:45:15 < zyp> emeb is right 2013-01-09T01:45:17 < gxti> Thorn: basically, the 10k base resistor is the problem 2013-01-09T01:45:21 < gxti> Thorn: i would have used mosfets 2013-01-09T01:45:24 < zyp> yeah 2013-01-09T01:45:38 < Thorn> well it's much more than 8mA but they're not in saturation 2013-01-09T01:45:46 < zyp> replace them with p-fets and mount the resistors. 2013-01-09T01:45:51 < emeb> that 2013-01-09T01:46:09 < emeb> pnp transistors usually have sucko hfe 2013-01-09T01:46:19 < Thorn> I have some sot-23 hexfets actually 2013-01-09T01:46:29 < zyp> p-channel? 2013-01-09T01:46:37 < Thorn> both kinds 2013-01-09T01:46:46 < zyp> hope the footprints match then 2013-01-09T01:47:38 < gxti> it's pretty easy to bodge sot-23 in any orientation 2013-01-09T01:47:55 < gxti> upside down or 120 degrees either way :p 2013-01-09T01:48:02 < zyp> true enough 2013-01-09T01:49:27 < Thorn> I'm pretty sure I've seen 0.7V on cathodes with a scope in dynamic mode, that's where that 0.7V figure came from. 2013-01-09T01:49:55 < Thorn> so it's not a diode drop from collector to emitter. 2013-01-09T01:50:23 < emeb> cathodes are likely to be OK - npn transistors usually have much higher hfe 2013-01-09T01:50:24 < zyp> but you should not really rely on not driving the transistors to saturation with a setup like that. 2013-01-09T01:50:39 < zyp> emeb, and doesn't carry the current of all segments either 2013-01-09T01:50:48 < emeb> right 2013-01-09T01:51:17 < zyp> and again, remember the resistors before you test with fets, otherwise you'll blow the leds :p 2013-01-09T01:51:23 < gxti> i think the last (and so far only) 7seg i did i got common cathode because of that 2013-01-09T01:51:36 < zyp> it doesn't matter 2013-01-09T01:51:42 < gxti> oh never mind, i'm using a power shift register so that had to be common anode 2013-01-09T01:51:52 < zyp> you have several digits, so you actually have a matrix setup 2013-01-09T01:51:56 < gxti> they were "on clearance" on digikey :p 2013-01-09T01:52:04 < zyp> so you can use either as you like 2013-01-09T01:52:26 < zyp> but the resistors need to be on the non-common side, so the resistors each only get the current to one of the segments 2013-01-09T01:52:40 < zyp> otherwise brightness will vary with number of segments 2013-01-09T01:56:04 < gxti> speaking which i wonder what solutions there are for driving a 7seg display with a switching converter 2013-01-09T01:56:20 < gxti> in the aforementioned previous project the resistors got pretty toasty 2013-01-09T01:56:46 < zyp> I would just have used a led driver with current control on the low side 2013-01-09T01:56:52 < zyp> like I used on my matrix 2013-01-09T01:57:17 < zyp> http://bin.jvnv.net/f/AXTMf.png 2013-01-09T01:57:34 < gxti> then again i was using 5v because those shifters required it 2013-01-09T01:58:05 < zyp> mine works fine on both 3.3V and 5V, since the led driver does constant current anyway 2013-01-09T01:58:14 < zyp> Rset is independent of voltage 2013-01-09T01:58:15 < gxti> yeah but more voltage means more wastage 2013-01-09T01:58:20 < zyp> sure 2013-01-09T01:58:29 < gxti> hence why i'm wondering if a switcher is practical. probably not. 2013-01-09T01:58:51 < gxti> since it would have to change the current setpoint at hundreds of hz 2013-01-09T01:59:40 < gxti> well, that or have 8 of them 2013-01-09T02:00:22 < gxti> thinking about making a smart alarm clock but it's just a fuzzy idea right now :p 2013-01-09T02:04:21 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Read error: Connection reset by peer] 2013-01-09T02:04:42 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-09T02:04:56 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-09T02:07:43 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-01-09T02:11:47 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-09T02:13:56 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-09T02:14:06 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Excess Flood] 2013-01-09T02:14:56 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-01-09T02:17:40 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-09T02:22:27 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-09T02:23:03 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-09T02:26:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Client Quit] 2013-01-09T02:27:48 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-09T02:35:47 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2013-01-09T02:36:19 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-09T02:38:38 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-09T02:38:38 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-09T02:56:41 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-09T02:58:00 < dongs> https://youtube.com/watch?v=ADZiPOUfzns what the fuc? 2013-01-09T03:01:22 < gxti> those russians sure do know safety 2013-01-09T03:09:45 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2013-01-09T03:26:08 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Quit: Leaving.] 2013-01-09T03:29:04 < dongs> http://www.taylorkillian.com/2013/01/retrieving-st-linkv2-firmware-from.html haha 2013-01-09T03:33:47 < gxti> I am a key, wawawa 2013-01-09T03:45:04 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-09T03:53:46 -!- baird [~cjb@ppp121-44-226-83.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-09T04:00:21 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-09T04:03:54 < Simon--> dongs: enough power from the antenna (presumably AM) that the plant is dissipating it and the corona/arc is audible.. ? 2013-01-09T04:04:30 < dongs> prob 2013-01-09T04:09:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-09T04:14:43 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-09T04:16:27 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-09T04:17:54 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-09T04:29:25 < baird> Possible board to port blackmagic onto? ... http://au.element14.com/embest/colinkex/adapter-debug-sw-jtag/dp/2136554 2013-01-09T04:30:21 < emeb_mac> why not? 2013-01-09T04:30:30 < emeb_mac> it's just code. 2013-01-09T04:31:26 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 255 seconds] 2013-01-09T04:31:31 < emeb_mac> main problem is that's an lpc13, not an stm32f10x, so you'd have to rewrite all the I/O for their peripherals. 2013-01-09T04:31:32 < baird> ..not that I'm volunteering.. 2013-01-09T04:32:02 < baird> Ah, lpc13, not lpc11 2013-01-09T04:33:32 < dongs> baird: why bother when you can get chinese stlink/jlinkob boards for l ess? 2013-01-09T04:34:04 < emeb_mac> and a lot less work rewriting the firmware... 2013-01-09T04:34:20 < dongs> http://www.hotmcu.com/usbminijtag-jlink-jtagswd-debuggeremula%E2%80%8Btor-p-29.html 2013-01-09T04:34:23 < dongs> you dont need to rewrite firmware 2013-01-09T04:36:48 < emeb_mac> right - all ready to rock 2013-01-09T04:37:15 < dongs> and jlink has a decent gdbserver that works with freetard shit 2013-01-09T04:44:02 -!- |sark [~|sark@p54B637B9.dip.t-dialin.net] has joined ##stm32 2013-01-09T04:46:46 < emeb_mac> oh look - they've got cheap LCDs too: http://www.hotmcu.com/28-touch-screen-tft-lcd-with-spi-interface-p-42.html?cPath=6_16 2013-01-09T04:47:23 -!- BJfreeman [~bjfree@16.sub-75-233-33.myvzw.com] has quit [Quit: had a good time] 2013-01-09T04:53:38 < baird> I'm disappoint there was no Secret Santa for this channel. You all suck. 2013-01-09T04:54:19 < dongs> emeb_mac: thats teh shit slow lcd. 2013-01-09T04:54:58 < emeb_mac> dongs: they've got a parallel one too - same price 2013-01-09T04:55:24 < dongs> http://www.vicpolicenews.com.au/more-news/11342-smurf-hunt.html typical australian activity 2013-01-09T04:55:28 < gxti> baird: i would be afraid of anything mailed by most of the people here 2013-01-09T04:55:51 < emeb_mac> gxti: don't open the box! 2013-01-09T04:56:06 < gxti> especially from the moonlanders 2013-01-09T04:56:24 < dongs> emeb_mac: yes, so what? it still sucks 2013-01-09T04:57:07 < emeb_mac> dongs: parallel one slow too? 2013-01-09T04:57:39 < dongs> duno , n ever tried but thats too many wires :) 2013-01-09T05:00:27 < gxti> $12 for a slow touchscreen LCD is still pretty nice 2013-01-09T05:00:48 < emeb_mac> gxti: wavshare has 'em cheaper ISTR 2013-01-09T05:01:15 < gxti> pretty nice, but not REALLY nice. 2013-01-09T05:02:01 < baird> Something for the small chips.. (msp et.al.) 2013-01-09T05:02:25 < emeb_mac> nope - not cheaper. about the same: http://www.wvshare.com/column/LCD_Module.htm 2013-01-09T05:04:19 < dongs> waveshare shipping isnt free tho 2013-01-09T05:04:34 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 260 seconds] 2013-01-09T05:05:39 < emeb_mac> dongs: are there faster spi displays? 2013-01-09T05:05:58 < emeb_mac> like the adafruit one I used that can clock @ 18MHz? 2013-01-09T05:06:00 < dongs> faster htan yours? 2013-01-09T05:06:08 < dongs> none that i've seen, on spec anyway 2013-01-09T05:07:02 < gxti> maybe something fun to do with my f4disco, other than be a stlink programmer ;p 2013-01-09T05:09:09 < emeb_mac> cute little F4 breakout: http://www.hotmcu.com/hystm32f4xxcore144-coredev-board-p-10.html?cPath=1_20 2013-01-09T05:09:25 < emeb_mac> kinda spendy relative to an F4 Disco though 2013-01-09T05:09:50 < gxti> yar 2013-01-09T05:10:31 < emeb_mac> but it's got external sram & flash. 2013-01-09T05:11:36 -!- Viper168 [~Viper@node239.19.251.72.1dial.com] has joined ##stm32 2013-01-09T05:11:40 -!- Viper168 [~Viper@node239.19.251.72.1dial.com] has quit [Changing host] 2013-01-09T05:11:41 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-09T05:12:11 < baird> neat. 2013-01-09T05:14:47 < emeb_mac> gxti: try this on your F4: https://github.com/MrBlueXav/ambiantiseur 2013-01-09T05:16:30 < dongs> boring 2013-01-09T05:16:46 < gxti> that would require locating and connecting pots 2013-01-09T05:17:07 < gxti> cute though 2013-01-09T05:20:03 < emeb_mac> gxti: works w/o the pots - just no variations. 2013-01-09T05:21:03 < baird> Have it randomize everything every 30 seconds or so.. 2013-01-09T05:25:38 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-09T05:33:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-09T05:37:44 -!- Lt_Lemming [Lt_Lemming@203.219.229.140] has joined ##stm32 2013-01-09T05:37:49 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-09T05:37:52 -!- drLization [71a142c8@gateway/web/freenode/ip.113.161.66.200] has joined ##stm32 2013-01-09T05:38:20 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-09T05:38:48 -!- blocky [~blocky@96.54.184.252] has joined ##stm32 2013-01-09T05:41:30 -!- meowcat [~dev666@94-193-214-139.zone7.bethere.co.uk] has joined ##stm32 2013-01-09T05:47:50 -!- |sark [~|sark@p54B637B9.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 2013-01-09T05:54:18 < emeb_mac> cute: http://blog.energymicro.com/2012/12/12/make-a-slim-watch-with-arm-cortex-m3-efm32/ 2013-01-09T05:54:38 < emeb_mac> nuts how they mounted everything in cutouts tho 2013-01-09T05:59:48 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-09T06:02:36 < blocky> how similar is stm32 to lm4f120 2013-01-09T06:03:48 < blocky> nm, stm != ti 2013-01-09T06:10:32 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-09T06:11:05 < dongs> emeb_mac: already blogged this be fore. 2013-01-09T06:11:10 < dongs> emeb_mac: they totally stole my idea. 2013-01-09T06:12:23 < dongs> I had reverse QFP pcbs made before 2013-01-09T06:15:32 < Lt_Lemming> reverse QFP? 2013-01-09T06:18:51 < rlc> deadbug qfp? 2013-01-09T06:19:43 < rlc> in a burial hole of course 2013-01-09T06:20:30 < Lt_Lemming> I saw something recently where someone deadbugged a BGA 2013-01-09T06:20:33 < Lt_Lemming> mildly insane 2013-01-09T06:21:40 < Lt_Lemming> http://dangerousprototypes.com/2012/10/24/who-says-bga-packages-are-hard-to-solder/ 2013-01-09T06:29:33 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-09T06:29:35 < rlc> not really appealing 2013-01-09T06:43:24 < dongs> that guy almost beat elm-chan 2013-01-09T06:55:57 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-09T06:56:06 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-09T06:56:21 < emeb_mac> blech 2013-01-09T06:58:06 < dongs> http://farm9.staticflickr.com/8201/8157091493_62c54ab9b7_k.jpg fucking nutcases 2013-01-09T07:00:06 -!- jef79m is now known as jef79m_lurking 2013-01-09T07:04:13 < gxti> pot it and call it a day 2013-01-09T07:05:11 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-09T07:06:51 < dongs> heh 2013-01-09T07:06:56 < dongs> it sorta looks like what he did 2013-01-09T07:07:00 < dongs> some kinda epoxy or someshit? 2013-01-09T07:07:38 < emeb_mac> looks all flash-gordon & shit. 2013-01-09T08:06:14 -!- baird [~cjb@ppp121-44-226-83.lns20.syd7.internode.on.net] has quit [Ping timeout: 240 seconds] 2013-01-09T08:09:06 -!- baird [~cjb@ppp121-44-236-146.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-09T08:17:15 < emeb_mac> here's what zyp does in his spare time: http://www.youtube.com/watch?feature=player_embedded&v=t6mupfi21Ys#! 2013-01-09T08:27:23 < dongs> i think that guy's flying my warez 2013-01-09T08:34:27 < emeb_mac> oh yeah? 2013-01-09T08:34:38 < emeb_mac> seems pretty stable 2013-01-09T08:36:07 < dongs> wtf how did he get 80k views on that shit 2013-01-09T08:36:36 < emeb_mac> got linked on boingboing 2013-01-09T08:40:26 < dongs> more like bloggingblogging 2013-01-09T08:41:20 < emeb_mac> blogblogblogblogblog 2013-01-09T08:42:04 < baird> I'm guessing it has its camera on a servo. 2013-01-09T08:42:18 < zippe> This is kinda retarded. As soon as I start the I2C rx DMA, it transfers all bytes and completes 2013-01-09T08:42:25 < zippe> Without actually reading DR at all 2013-01-09T08:42:37 < zippe> Perhaps it doesn't like the source width being 8 bits? 2013-01-09T08:44:34 < zippe> Hmm, nope. 2013-01-09T08:44:39 < zippe> Doesn't seem to pace at all 2013-01-09T08:49:27 < baird> Moose didn't attack the ortho? Boo. 2013-01-09T09:06:47 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-09T09:16:32 < zippe> Wow. So I2C RX DMA is nearly useless as a slave 2013-01-09T09:16:57 < dongs> haha 2013-01-09T09:16:58 < zippe> The DMA doesn't terminate early when the slave receives a STOP 2013-01-09T09:17:08 < dongs> you have to know the length? 2013-01-09T09:17:13 < zippe> It seems that way 2013-01-09T09:17:14 < emeb_mac> that's not a bug... 2013-01-09T09:17:23 < zippe> How is it not a bug? 2013-01-09T09:17:24 -!- jef79m_lurking is now known as jef79m 2013-01-09T09:17:39 < zippe> Maybe I can not clear the event flag? 2013-01-09T09:17:57 < emeb_mac> ...that's a feature. 2013-01-09T09:18:08 < zippe> I'm going to get slammed with BTF interrupts 2013-01-09T09:18:16 < dongs> better than BTTF interrupts 2013-01-09T09:18:27 < zippe> UFIA_DISABLE 2013-01-09T09:21:02 < zippe> Huh, no. BTF doesn't seem to assert in DMA mode 2013-01-09T09:22:08 < dongs> zippe, just port arducopter 2.9 to that stuff and declare victory 2013-01-09T09:22:23 -!- jef79m is now known as jef79m_lurking 2013-01-09T09:23:15 < zippe> dongs: pfft 2013-01-09T09:23:33 < dongs> wat ;d 2013-01-09T09:24:26 < zippe> s'funny. You know that AC2.9 runs as an app on px4, yes? 2013-01-09T09:24:35 < dongs> does it? 2013-01-09T09:24:40 < zippe> yup 2013-01-09T09:24:45 < zippe> Both copter and fixedwing 2013-01-09T09:24:47 < dongs> tarduino emulator? 2013-01-09T09:24:53 < zippe> No 2013-01-09T09:25:08 < dongs> how much avr filth did you have to edit to make that happen? 2013-01-09T09:25:14 < zippe> Pat Hickey factored the codebase onto a HAL, and Tridge wrote HAL shims for PX4 2013-01-09T09:25:25 < zippe> Me personally, none. 2013-01-09T09:25:30 < dongs> well, yeah. 2013-01-09T09:25:47 < zippe> What most people have missed with APM is that the real work has been taken over by some fairly professional folks 2013-01-09T09:26:04 < zippe> The peanut gallery is still there, but Pat and Tridge and Randy in particular really know their stuff. 2013-01-09T09:26:22 < dongs> how about kinderkram 2013-01-09T09:26:52 < zippe> I don't have anything to do with that mob, assuming you mean the KKKopter stuff 2013-01-09T09:27:08 < dongs> no kinderkrap is ardupirates 2013-01-09T09:27:33 < zippe> Roberto Navoni's friends? 2013-01-09T09:27:37 < dongs> ha ha 2013-01-09T09:27:38 < dongs> yeah. 2013-01-09T09:27:58 < dongs> virtualscambotix 2013-01-09T09:28:11 < zippe> Not really a fan 2013-01-09T09:28:36 < dongs> so where's tarducopter px4 stuff 2013-01-09T09:28:42 < dongs> sounds like time to port it to my warez 2013-01-09T09:29:30 < dongs> https://code.google.com/p/ardupilot-mega/source/list here? 2013-01-09T09:29:49 < dongs> cmake... :| 2013-01-09T09:29:57 < dongs> how do they debug anything? 2013-01-09T09:30:10 < zippe> Aggressive logging to the dataflash 2013-01-09T09:30:19 < dongs> lul, you cant be srs 2013-01-09T09:30:41 -!- baird [~cjb@ppp121-44-236-146.lns20.syd7.internode.on.net] has quit [Ping timeout: 255 seconds] 2013-01-09T09:30:44 < zippe> about what? logging? 2013-01-09T09:30:47 -!- cjbaird [~cjb@ppp121-44-217-194.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-09T09:30:49 < dongs> debugging 2013-01-09T09:30:55 < zippe> No, that's how they debug most of their inflight issues 2013-01-09T09:31:08 < zippe> That, and they have a pretty solid HIL/SIL setup 2013-01-09T09:31:59 < dongs> it doesnt sound like any of the shit will bulid on a real OS 2013-01-09T09:32:02 < dongs> from a quick look at makefiles etc 2013-01-09T09:32:07 < dongs> i see shitload of awk and other crap 2013-01-09T09:33:45 < zippe> Are you bitching about my emulation of the arduino builder using awk? 2013-01-09T09:34:06 < zippe> Dude, that's still the most faithful clone of the heap of crap that is the sketch processor you're going to find. 2013-01-09T09:34:22 < dongs> how am I going to run that on windows? 2013-01-09T09:34:25 < zippe> Somewhere in my notes I have the two or three really obtuse cases it will fail on 2013-01-09T09:34:28 < zippe> cygwin 2013-01-09T09:34:31 < dongs> lets say I wanted to build this filth in crossworks 2013-01-09T09:34:40 < zippe> Crossworks? Get lost. 2013-01-09T09:34:44 < dongs> so I could actually DEBUG IT 2013-01-09T09:34:51 < dongs> and not just load and pray it works with printfs 2013-01-09T09:34:53 < dongs> what 2013-01-09T09:34:59 < zippe> You have to build in your IDE to debug with it? 2013-01-09T09:35:02 < dongs> how do you debug anything on hardware? 2013-01-09T09:35:02 < zippe> That's retarded. 2013-01-09T09:35:21 < dongs> yeah, my idea of debugging isn't typing obscure commands into gdb.exe 2013-01-09T09:35:22 < zippe> The build generates symbols. You load the symbols into your debugger, and you debug it. 2013-01-09T09:35:36 < zippe> aww, you need to pointy-clicky? 2013-01-09T09:35:44 < dongs> thats the only way to get work done. 2013-01-09T09:35:47 < dongs> why do youthink i'm running win8 now 2013-01-09T09:36:00 < zippe> Hmm. 100+ million iOS devices would beg to differ. 2013-01-09T09:36:13 < jpa-> dongs: just yesterday you were so happy that you didn't need a mouse 2013-01-09T09:36:18 < jpa-> today you don't want to type anything 2013-01-09T09:36:33 < zippe> In the 12+ years I've been working on that system, we've never had a pointy-clicky debugger for anything below the user application level. 2013-01-09T09:36:34 < dongs> zippe: im not sure what you're trying to say here. everyone knows what audience is targeted by ios devices. 2013-01-09T09:36:49 < dongs> it IS a bit surprising that there are that many homosexuals, but I guess everything's possible. 2013-01-09T09:37:05 < dongs> zippe, which one, ios? 2013-01-09T09:37:16 < zippe> dongs: I'm not talking about the market, I'm pointing out that we ship a complete operating system that makes your products look like a self-blinking LED with bird shit dribbled down the side. 2013-01-09T09:37:37 < dongs> zippe, you just basically described all of my products, but thats not the point 2013-01-09T09:37:53 < jpa-> it's no secret that pointy-clicky debuggers are only for simple software 2013-01-09T09:37:58 < zippe> dongs: and that any claims you make about needing a GUI debugger reflect more on your special needs than the relevance of the tools in question 2013-01-09T09:38:16 < jpa-> but if dongs' software is simple, why can't he use pointy-clicky? :) 2013-01-09T09:38:41 < zippe> jpa-: A->B !-> B->A 2013-01-09T09:38:44 < dongs> yeah. 2013-01-09T09:39:03 < zippe> The people building the APM code these days are "real" software people 2013-01-09T09:39:13 < zippe> Ask Tridge what he thinks about graphical debuggers. 8) 2013-01-09T09:39:29 < jpa-> zippe: but A->B => !(B->!A) unless !A always 2013-01-09T09:39:57 < emeb_mac> when do we prove 2013-01-09T09:40:01 < emeb_mac> bayes thm? 2013-01-09T09:41:08 < jpa-> P(crap|irc) = P(irc|crap) P(crap) / P(irc)? but P(crap) = 1 so it's kind of useless 2013-01-09T09:41:29 < emeb_mac> ding ding - we have a winner 2013-01-09T09:41:45 -!- cjbaird [~cjb@ppp121-44-217-194.lns20.syd7.internode.on.net] has quit [Ping timeout: 240 seconds] 2013-01-09T09:41:49 < Simon--> but should gdb have embedded python ;) 2013-01-09T09:42:03 < emeb_mac> better than embedded BASIC 2013-01-09T09:42:04 < jpa-> it should, and it has? 2013-01-09T09:42:17 < Simon--> I know it has. but .. ugh.. 2013-01-09T09:42:48 < jpa-> lot's of nice stuff to do with it, like zyp's debug logging thingy 2013-01-09T09:43:59 < dongs> yeah but python? 2013-01-09T09:44:02 < dongs> who the fuck uses that shit 2013-01-09T09:44:16 < dongs> unreadable newfag language 2013-01-09T09:44:33 < dongs> now even if I wanted ot use gdb, i couldnt, since it requires 9000 dependencies thx to python 2013-01-09T09:45:08 < emeb_mac> meh - needs to know where the python lib is. no biggie 2013-01-09T09:45:20 < dongs> i dont have any pthon libs. 2013-01-09T09:46:11 < emeb_mac> http://www.python.org/getit/ 2013-01-09T09:46:25 < jpa-> dongs: it can build without python 2013-01-09T09:46:39 < jpa-> and what shitty os doesn't have a package manager that will handle dependencies for you? 2013-01-09T09:47:25 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-09T09:50:08 < emeb_mac> haha - heard from a guy via email that ST still insists that the F373 can do usb dfu. 2013-01-09T09:50:47 -!- cjbaird [~cjb@ppp121-45-177-94.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-09T09:50:49 < emeb_mac> and they're promising updated an2606 RSN. 2013-01-09T09:51:01 < zippe> dongs: btw, you should be able to build the whole thing with the Arduino IDE, btw. 2013-01-09T09:51:32 < zyp> emeb_mac, no response to thread yet? 2013-01-09T09:51:48 < emeb_mac> zyp: none. 2013-01-09T09:51:59 < emeb_mac> last I checked (abt 6 hrs ago) 2013-01-09T09:53:02 < emeb_mac> I'm guessing that whoever is answering cust. suppt. emails is just reading from the datasheet. 2013-01-09T09:53:21 < emeb_mac> that'll be the party line until the word comes down otherwise. 2013-01-09T09:53:59 < zippe> emeb: I did some asking about the lpc43xx issue, but nobody I know is playing with them 2013-01-09T09:54:18 < zippe> NXP are at perihelion 2013-01-09T09:55:19 < emeb_mac> oh - zyp's reset questions? 2013-01-09T09:56:17 -!- cjbaird [~cjb@ppp121-45-177-94.lns20.syd7.internode.on.net] has quit [Ping timeout: 252 seconds] 2013-01-09T09:58:26 < dongs> zippe: px4 part? 2013-01-09T09:58:53 < dongs> jpa-: "package management" is lunix idiocy. on windows, I run setup.exe and everything is included. or even better, unzip some file into a dir and its all there. 2013-01-09T10:00:02 < zippe> dongs: should be in a subdir under AP_HAL 2013-01-09T10:00:48 < dongs> yeah i mean, building px4 shit with tarduino ide>? 2013-01-09T10:00:54 < dongs> does this crap seriosuly require cmake 2013-01-09T10:03:16 < dongs> BMC 2013-01-09T10:05:43 -!- Lt_Lemming [Lt_Lemming@203.219.229.140] has quit [Remote host closed the connection] 2013-01-09T10:06:14 < dongs> The `Wire` library is so bad I could cry.) 2013-01-09T10:06:18 < dongs> haha 2013-01-09T10:06:29 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-09T10:06:30 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-09T10:13:42 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-09T10:14:25 < emeb_mac> still no blogs on tarduino.cc 2013-01-09T10:16:05 < dongs> ya. building momentum. 2013-01-09T10:16:10 < dongs> then gonna rageblog all at once 2013-01-09T10:16:48 < dongs> zippe: so what all do I need to build this for arm 2013-01-09T10:17:59 < dongs> do i really need cygfail or can I just use awk.exe or somehting 2013-01-09T10:19:55 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-09T10:28:04 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-09T10:29:24 -!- baird [~cjb@ppp121-44-141-63.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-09T10:35:14 < zippe> dongs: You'll need make and co. 2013-01-09T10:36:43 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has quit [Ping timeout: 245 seconds] 2013-01-09T10:37:47 < dongs> You appear to be using git version 1.6.3.3, which doesn't support the new smart HTTP protocol used by code.google.com. We only support git version 1.6.6 and higher, which was released in December 2009. 2013-01-09T10:37:52 < dongs> you gotta be fucking SHITTING me. 2013-01-09T10:38:03 < dongs> now not only do i need git, I need some SPECIFIC VERSION of it. 2013-01-09T10:38:24 < zyp> no, you just need a non-outdated version of it 2013-01-09T10:38:27 < dongs> zippe: yea sure. i mean any other oddball dependencies 2013-01-09T10:38:53 < dongs> really? 2013-01-09T10:39:32 < zyp> I mean, any version released withing the last two years should work 2013-01-09T10:39:33 < dongs> git-1.6.4-i486-1.txz01-Aug-2009 21:14 2.2M 2013-01-09T10:39:33 < dongs> what does this do that somethign from 2013 doesnt? 2013-01-09T10:39:46 < dongs> git --version 2013-01-09T10:39:46 < dongs> git version 1.6.4 2013-01-09T10:39:51 < dongs> this version works fine 2013-01-09T10:39:57 < dongs> except on google code. 2013-01-09T10:40:10 < zyp> read the fucking message you pasted 2013-01-09T10:40:24 < zyp> 1.6.6 added a new protocol, which google code now uses 2013-01-09T10:40:30 < zyp> so you need 1.6.6 or newer. 2013-01-09T10:40:32 < dongs> i am not compiling git from source and thus getting like 20+ extra shits it needs to build 2013-01-09T10:40:46 < zyp> then grab a newer binary? 2013-01-09T10:41:17 < zyp> http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git <- like some of these? 2013-01-09T10:43:12 < dongs> upgraded to 1.7.1 2013-01-09T10:43:38 < dongs> seesm to work 2013-01-09T10:44:11 < dongs> so, git, cmake, regular make + awk, gcc-arm from that launchpad shit. 2013-01-09T10:44:12 < dongs> anythign else? 2013-01-09T10:44:43 < dongs> also wha the hell why is the git thing like > 200megs 2013-01-09T10:44:56 < dongs> i dont have that much sapce 2013-01-09T10:45:10 < dongs> space 2013-01-09T10:45:26 < Simon--> it's the whole history of everything, gzipped 2013-01-09T10:45:53 -!- drLization [71a142c8@gateway/web/freenode/ip.113.161.66.200] has quit [Ping timeout: 245 seconds] 2013-01-09T10:49:11 < dongs> CMake Error at CMakeLists.txt:3 (cmake_minimum_required): CMake 2.8 or higher is required. You are running version 2.6.2 2013-01-09T10:49:14 < dongs> jesus christ 2013-01-09T10:49:16 < dongs> is this garbage 2013-01-09T10:49:18 < dongs> what hte fuck 2013-01-09T10:49:58 < dongs> i can run windows binaries from nineteen ninety fucking six in 2013 2013-01-09T10:50:17 < dongs> but any lunix shit changed so much it needs updating every 3 months 2013-01-09T10:51:59 < dongs> zippe: ok, seems to try building, but for avrturd. how to make it target px4? 2013-01-09T10:53:38 <+Steffanx> W00t dongs is raging.. 2013-01-09T10:58:00 -!- claude is now known as Claude 2013-01-09T11:02:06 <+Steffanx> Just wondering dongs. How large was the win 8 download and how @#%ˆ& large is the result on your hdd? 2013-01-09T11:02:18 <+Steffanx> Or win 7 64 bit ?! :D 2013-01-09T11:02:38 <+Steffanx> Not to mention the shitload of updates 2013-01-09T11:03:10 < qyx_> updates? what for, he doesnt update 2013-01-09T11:04:03 <+Steffanx> No firewall, no virus scanner. Hmm, he almost looks like the average linux/os x user :D 2013-01-09T11:11:26 < R2COM> I am thinking of buying win8 2013-01-09T11:11:29 < R2COM> not decided yet 2013-01-09T11:11:53 < zippe> dongs: Not certain how that's being handled. Have you looked at Tridge's fork? 2013-01-09T11:12:15 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-09T11:12:28 < Simon--> git remote add .. ;) 2013-01-09T11:13:16 < dongs> zippe: no? wouldnt that be in master or wahtever? 2013-01-09T11:13:23 <+Steffanx> You think it's worth it R2COM ? 2013-01-09T11:13:29 < dongs> win8 is amaznig 2013-01-09T11:13:43 < zippe> dongs: I think you want https://github.com/tridge?tab=repositories 2013-01-09T11:13:44 < dongs> zippe: wjat os 2013-01-09T11:13:48 < dongs> err 2013-01-09T11:13:48 < dongs> k 2013-01-09T11:13:55 < zippe> Both the ardupilot and Firmware repos 2013-01-09T11:14:30 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-01-09T11:14:51 < R2COM> Steffanx: I just dont know yet, the only thing which worries me is those posts online, saying that its a pain to install non-signed drivers on Win8, so I am not sure... otherwise, why not, if its verified that everything what runs on win7 can run on win8 I would do it 2013-01-09T11:15:34 < dongs> i only had to sign stlink driver so far 2013-01-09T11:15:41 < dongs> everthing else works fine 2013-01-09T11:15:56 < R2COM> so if driver is not signed, you try to install it, it asks you, you click "sign" and it works? 2013-01-09T11:16:09 < dongs> ha ha no, you pay verisign $400 a year and click "sign" 2013-01-09T11:16:12 <+Steffanx> That's not how windows works :P 2013-01-09T11:16:25 < R2COM> what do you mean pay verisign 400$ ? 2013-01-09T11:16:31 <+Steffanx> I hope that is a joke dongs.... 2013-01-09T11:16:40 < dongs> any reputable vendor should be providing signed drivers in 2013 though 2013-01-09T11:16:46 < zippe> dongs: though Firmware is only required ifyou want the whole PX4 stack 2013-01-09T11:17:04 < dongs> zippe: i dont see much difference from google code and still no instructions on how to actually build it 2013-01-09T11:17:07 < dongs> using cmake or otherwise 2013-01-09T11:17:13 < R2COM> what if someone in another lab, made some board, and driver for it, and I am using that board, means in win8 i wont be able to? 2013-01-09T11:17:14 < dongs> there's readme covering tarduino build but thats where it ends.s 2013-01-09T11:17:35 < dongs> R2COM: university can afford to pay for driver signing or you can press F8 at boot to disable it or something. 2013-01-09T11:18:16 <+Steffanx> Univerisities don't want to pay 400$ for something like that in general 2013-01-09T11:18:45 < zippe> dongs: libraries/AP_HAL_PX4, mk/*px4* 2013-01-09T11:18:47 < R2COM> I am not talking specifically about university, and also, from time to time there are different things popping out, and people will be lazy to pay for stuff which are not going to be used that intensivel;y 2013-01-09T11:19:09 < R2COM> so yes, if they force to pay 400$ to sign driver... well 2013-01-09T11:19:31 < R2COM> hmm I wonder what about ftdi related stuff 2013-01-09T11:19:58 < R2COM> "There is no official release of Windows 8, but FTDI have validated that our drivers will function correctly with the Developer Preview and the Consumer Preview of Windows 8." 2013-01-09T11:20:04 < R2COM> ok at least looks promising 2013-01-09T11:21:37 < qyx_> i don't really understand why are you willing to solve such problems which people using any other os don't have 2013-01-09T11:23:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-09T11:23:36 < qyx_> hm :) 2013-01-09T11:24:04 < dongs> zippe: yes, i saw stuff in mk. 2013-01-09T11:24:09 < dongs> how do i use it? 2013-01-09T11:26:50 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-09T11:27:19 -!- jef79m_lurking is now known as jef79m 2013-01-09T11:33:17 < dongs> apm.mk seems relevant 2013-01-09T11:33:19 < dongs> but i have no idea what that does. 2013-01-09T11:35:40 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has joined ##stm32 2013-01-09T11:35:41 -!- NonaSuomy [~NonaSuomy@69.158.139.128] has quit [Changing host] 2013-01-09T11:35:41 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-09T11:35:42 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-09T11:35:43 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-09T11:35:43 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-09T11:35:46 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-01-09T11:41:36 -!- jef79m is now known as jef79m_lurking 2013-01-09T11:42:48 -!- Netsplit *.net <-> *.split quits: ossifrage, +Steffanx 2013-01-09T11:48:11 < dongs> https://youtube.com/watch?v=yoCBORXzOqU#t=93s 2013-01-09T11:48:12 < dongs> awesome t roll 2013-01-09T11:48:17 < dongs> (retweeting) 2013-01-09T11:50:32 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2013-01-09T11:51:37 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has joined ##stm32 2013-01-09T11:54:04 < dongs> oh hey thats from home of steffanx 2013-01-09T12:00:27 < zippe> dongs: the core makefile will build the APM core for ARM 2013-01-09T12:02:04 < dongs> how? 2013-01-09T12:02:11 < zippe> Though it's called in the context of a px4 app makefile 2013-01-09T12:02:30 <+Steffann> Ha, we like to sell bullshit dongs :) 2013-01-09T12:03:35 < dongs> eh 2013-01-09T12:03:40 < zippe> You may find it easier to check out the Firmware and ardupilot bits in a Linux VM and watch them build 2013-01-09T12:03:40 < dongs> heh 2013-01-09T12:04:12 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-09T12:04:13 < zippe> Because "how" is nontrivial 2013-01-09T12:04:29 < dongs> i type make or cmake or wahtever following readme and it wants tarduino-gcc 2013-01-09T12:04:47 < zippe> That's not for the px4 side 2013-01-09T12:04:50 < dongs> not arm. 2013-01-09T12:05:24 < zippe> px4_targets.mk has the px4-related targets 2013-01-09T12:05:35 < zippe> They kick off the px4 build, which has back-linkage into the APM tree 2013-01-09T12:05:42 < dongs> so i do make -f px4_targets.mk? 2013-01-09T12:05:43 < dongs> or osmething 2013-01-09T12:06:18 < zippe> apm.mk 2013-01-09T12:08:11 < dongs> i have no diea 2013-01-09T12:08:12 < dongs> idea 2013-01-09T12:11:04 < zippe> Yeah, ok. So it looks like Tridge assumes that the Arduplane or Arducopter directories will be linked out as apps from the px4 build. 2013-01-09T12:11:16 < zippe> If you want to recreate it manually, try 2013-01-09T12:11:29 < zippe> cd arduplane/Arduplane && make APPDIR = . 2013-01-09T12:11:35 < zippe> and see where that gets you 2013-01-09T12:11:51 < zippe> You'll break at the point where you don't have the COMPILE, COMPILEXX, etc. macros defined. 2013-01-09T12:12:12 < zippe> If you look in Firmware/nuttx/configs/px4fmu/common/Make.defs you should see examples of those 2013-01-09T12:12:24 < zippe> (unless I moved them before he forked) 2013-01-09T12:13:51 < dongle> ok. 2013-01-09T12:13:53 < dongle> lets see 2013-01-09T12:14:41 < dongle> ../mk//px4_core.mk:162: Make.defs: No such file or directory 2013-01-09T12:14:42 < dongle> make: *** No rule to make target `Make.defs'. Stop. 2013-01-09T12:14:42 < dongle> yeah 2013-01-09T12:14:44 < dongle> getting somewehre. 2013-01-09T12:36:04 < dongs> dong/boost 2013-01-09T12:45:05 < dongs> cool, emmc breakouts worked 2013-01-09T13:20:12 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-09T13:23:09 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-09T13:28:46 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Quit: Leaving.] 2013-01-09T13:48:23 < Viper168_> flyback, you referring to the electronic channel? 2013-01-09T13:48:31 < Viper168_> I read something about you getting banned 2013-01-09T14:03:03 < Tectu_> anyone of you ever used one of those 16*2 character LCDs? HD44780 compatible etc... I used them so many times with AVRs, but I am so lost getting one running right now... I cannot get it initialised... maybe broken :x 2013-01-09T14:06:03 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-01-09T14:06:10 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-09T14:13:05 < baird> The last facepalm I had with one of those was realising most of them want 5V Vcc.. 2013-01-09T14:13:12 < Tectu_> oh... 2013-01-09T14:13:15 < Tectu_> let me see :D 2013-01-09T14:13:52 < Tectu_> mine is definitely hooked up to 5VDC 2013-01-09T14:14:04 < Tectu_> but well, 3.3V IO lines... I guess that dosen't matter? 2013-01-09T14:15:46 < baird> Had a MSP430 74hc595 -> LCD projest a while ago.. Spent ~2 days checking why the LCD didn't work, when the signal debugging checked out okay. Then had the i'm-a-fucktard-epiphany. 2013-01-09T14:16:43 < Tectu_> baird, well, the power supply of the LCD is 5VDC, but the IO signals are only 3.3V. But I am quite sure they work with 3.3V signals? 2013-01-09T14:17:20 < baird> In that case, I bodged up a negative rail with an AA battery, which gave the display contrast voltage enough potential. 2013-01-09T14:17:45 < Tectu_> okay, just had a look. The display must take 3.3V as a high ;-) 2013-01-09T14:17:50 < baird> 3.3 /should/ do it. TTL and CMOS logic devices would be fine with it. 2013-01-09T14:17:56 < Tectu_> indeed 2013-01-09T14:18:16 < Tectu_> and contrast is not a problem. hooked that pin up to GND (so maximum contrast) and I see the one black line (uninitialised) 2013-01-09T14:19:05 < Tectu_> I completely followed the initialisation from the datasheet, I take every timing exactly the same + a few safety and I also read the busy flag. I go into an led-blinking loop after the init so I am sure that I receive the busy flag, and it the LED flashes up 2013-01-09T14:22:14 < Tectu_> also, I have not an actual HD44780, but a compatible type: ST7066U. Even the datasheet says it works with 3.3V 2013-01-09T14:22:57 < baird> What's your init sequence? 2013-01-09T14:23:16 < dongs> sup kawaii Tectu_ 2013-01-09T14:25:04 < Tectu_> baird, http://pastebin.com/G9xxzb2H 2013-01-09T14:25:09 < Tectu_> dongs, HD44790 sup 2013-01-09T14:25:19 < Tectu_> baird, line 35 2013-01-09T14:25:28 < dongs> init more like iNOT 2013-01-09T14:25:38 < Tectu_> init_board() set's up the PAL stuff 2013-01-09T14:27:34 < jon1012> someone here is comfortable with the cmsis stuff ? 2013-01-09T14:28:12 < Tectu_> jon1012, I bet 2013-01-09T14:28:42 < jon1012> Tectu_, I have a two dimensional array of uint 2013-01-09T14:28:58 < baird> With mine, I needed a ([ delay 50us . write 0x20 ] x 3) 2013-01-09T14:29:08 < baird> ..before the rest of the initialization 2013-01-09T14:29:11 < jon1012> I want to copy zones of the array (every n, for example n = 8) into another 2013-01-09T14:29:48 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-01-09T14:29:52 < jon1012> transforming an x per y table in a (x*2) per (y/2) table wrapping every n lines 2013-01-09T14:29:57 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-09T14:29:59 < Tectu_> baird, what does the 0x20? 2013-01-09T14:30:35 < jon1012> example with a 64x16 table, wrapping every 8 lines (odd example as 16 is 2x8 but it would have made a too big table for the xample to do it two times) : 2013-01-09T14:30:41 < baird> ..when pastebin works, I'll be able to show you.. :/ 2013-01-09T14:30:46 < jon1012> origin table : http://pastebin.com/raw.php?i=bH3HcWVS 2013-01-09T14:30:55 < Tectu_> baird, I'd be thankful :) 2013-01-09T14:30:55 < jon1012> target table : http://pastebin.com/raw.php?i=h3gRrQUA 2013-01-09T14:30:57 < qyx_> baird: openpaste.org 2013-01-09T14:31:36 < jon1012> oops the target table is wrong 2013-01-09T14:32:03 < baird> http://pastebin.com/H6DQ1WuQ .. The write_lcd_cmd is a fall-through to write_lcd_data which adds the RS bit. 2013-01-09T14:32:32 < jon1012> http://pastebin.com/raw.php?i=Q5XtpGuy 2013-01-09T14:34:01 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2013-01-09T14:34:25 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-09T14:35:04 < Tectu_> baird, adds the rs bit? I hope it clears the bit? 2013-01-09T14:35:34 < Tectu_> baird, can you take a look at my write_cmd() and write_data()? :D 2013-01-09T14:36:30 < dongs> dude, how hard can hd44780 lcd be 2013-01-09T14:36:37 < dongs> you betta ask in #arduino ;d 2013-01-09T14:39:30 < Tectu_> dongs, stfu 2013-01-09T14:39:34 < dongs> add ip, sl, ip, ror #31 2013-01-09T14:42:16 < Tectu_> I bet it's hardware error 2013-01-09T14:42:35 < Tectu_> baird, do you check busyflag? 2013-01-09T14:42:35 < baird> Right, RS=0 for cmd. My project was based on http://www.electronics-lab.com/projects/mcu/015/index.html .. R/W permanently grounded. Any reason for no delay after setpin_enable()? 2013-01-09T14:43:05 < baird> Nup. 2013-01-09T14:45:04 < Tectu_> datasheet dosen't show delay in sample ASM code :/ 2013-01-09T14:45:11 < Tectu_> how big is your enable cycle? 2013-01-09T14:47:46 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-09T14:48:31 < baird> The code was on a 16MHz msp430, and was a: bis.b #ENLCD,&P1OUT; nop; nop; nop; nop; nop; bic.b #ENLCD,&P1OUT .. so, about 3us? 2013-01-09T14:50:58 < Tectu_> baird, do I understand this correctly? set enable, put the data on the 8-bit interface, wait 3us, clear enable ? 2013-01-09T14:51:30 < dongs> now i just need to find me a kawaii animu lockscreen wallpaper 2013-01-09T14:51:37 < dongs> any suggestions, tectu? 2013-01-09T14:52:03 < dongs> all I can find is pedo shit 2013-01-09T14:52:20 < Tectu_> dongle, need some kawaii mlp shiw? 2013-01-09T14:52:23 < Tectu_> shit* 2013-01-09T14:52:39 < dongs> haha 2013-01-09T14:52:40 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-09T14:52:40 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-09T14:52:40 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-09T14:52:43 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-09T14:53:24 < Laurenceb> all I can find is pedo shit 2013-01-09T14:53:31 < Laurenceb> surely you like that?! 2013-01-09T14:53:33 < baird> Tectu_: set up the data first, then flick the Enable. 2013-01-09T14:55:22 < baird> He's a One Piece kind of guy.. 2013-01-09T14:56:02 < Tectu_> dongs, http://www.abload.de/img/13564618812684tzqt.png 2013-01-09T14:56:35 < Tectu_> baird, still no success 2013-01-09T14:57:02 -!- daku is now known as DaKu 2013-01-09T14:57:13 <+Steffanx> LOL @ last comment :D :D 2013-01-09T14:57:47 < Tectu_> Steffanx, indeed 2013-01-09T15:07:56 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-09T15:13:05 -!- baird [~cjb@ppp121-44-141-63.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-09T15:22:21 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Remote host closed the connection] 2013-01-09T15:24:38 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-09T15:28:19 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-09T15:47:47 < dongs> is there some thumb/arm instruction to take 4 bytes in memory and swap them? 2013-01-09T15:47:51 < dongs> le>be type shit 2013-01-09T15:48:01 < zyp> I think so 2013-01-09T15:48:06 < Laurenceb> yes 2013-01-09T15:48:12 < Laurenceb> look at cmsis 2013-01-09T15:48:16 < dongs> do you think gcc would emit it 2013-01-09T15:48:34 < zyp> quite possibly 2013-01-09T15:48:36 < dongs> vl = b[0] << 24 | b[1] << 16 | b[2] << 8 | b[3]; 2013-01-09T15:48:51 < dongs> for something like this 2013-01-09T15:48:51 < dongs> or would it do it the dumbway 2013-01-09T15:49:54 < zyp> instruction is named rev 2013-01-09T15:50:14 <+Steffanx> armcc is smart enough.. why ask about GCC dongs? 2013-01-09T15:50:19 < dongs> cool 2013-01-09T15:50:22 < Laurenceb> lolz 2013-01-09T15:50:49 < dongs> Steffanx: cuz this dumb crap is made w/gcc 2013-01-09T15:50:53 < dongs> too many gccisms to unfuck it 2013-01-09T15:52:12 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-09T15:52:40 <+Steffanx> Must be a dark day for you 2013-01-09T15:52:46 < dongs> rly 2013-01-09T15:53:36 < Laurenceb> dark day for me 2013-01-09T15:53:54 <+Steffanx> Your birthday! 2013-01-09T15:53:58 < Laurenceb> my parents were supposed to be sending a stripper to my work for my birthday 2013-01-09T15:53:59 <+Steffanx> Happy birthday Laurenceb 2013-01-09T15:54:07 < Laurenceb> no stripper yet :( 2013-01-09T15:54:12 < Laurenceb> thanks 2013-01-09T15:54:23 < Laurenceb> i think i was being trolled 2013-01-09T15:54:37 <+Steffanx> Trollenceb got trolled by his parents :D :D 2013-01-09T15:56:43 < Laurenceb> http://farm9.staticflickr.com/8226/8364771362_0ea4540f71_h.jpg 2013-01-09T15:56:47 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Read error: Connection reset by peer] 2013-01-09T15:57:01 < Laurenceb> overkill arduino 2013-01-09T15:57:23 < dongs> cool avr bro 2013-01-09T15:58:02 < Laurenceb> not mine :P 2013-01-09T15:58:55 < zyp> hmm, I can't get gcc to recognize a byte reversal and emit the correct instruction 2013-01-09T15:59:42 < zyp> maybe you have an intrinsic in cmsis/whatever, otherwise you can do something like this: http://paste.jvnv.net/view/RZMdz 2013-01-09T15:59:46 <+Steffanx> "GCC sucks arse" 2013-01-09T16:00:33 < Laurenceb> pretty much the same code is in cmsis 2013-01-09T16:01:14 < zyp> yes, it's probably named __REV() or something 2013-01-09T16:02:12 < Laurenceb> something like that... 2013-01-09T16:03:31 < dongs> zyp: waht about __builtin_rev() 2013-01-09T16:03:52 < dongs> from gaycc 2013-01-09T16:03:52 < dongs> yeah 2013-01-09T16:09:44 <+Steffanx> Everthing is better than your ARMed Cock Collection, dongs 2013-01-09T16:15:32 -!- NonaSuomy_ [~NonaSuomy@69.158.139.128] has joined ##stm32 2013-01-09T16:18:28 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Ping timeout: 248 seconds] 2013-01-09T16:24:14 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-09T16:47:07 -!- dekar [~dekar@dslb-088-068-020-007.pools.arcor-ip.net] has joined ##stm32 2013-01-09T16:47:10 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-09T16:49:43 <+dekar> https://dl.dropbox.com/u/28467113/IMG_20130109_142234.jpg 2013-01-09T16:49:57 <+dekar> found it inside a clone xbox controller 2013-01-09T16:50:33 < zyp> did seeed do the drills? 2013-01-09T16:52:16 < gxti> china QA says a-ok 2013-01-09T16:53:01 < jpa-> ugly, but not that bad anyway 2013-01-09T17:02:38 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-09T17:04:34 < emeb_mac> *yawn* 2013-01-09T17:06:45 < zyp> morning 2013-01-09T17:09:59 < emeb_mac> how's things? 2013-01-09T17:12:58 < Laurenceb> attention flyback: http://tinyurl.com/3law4fl 2013-01-09T17:14:10 <+Steffanx> And attn Laurenceb 2013-01-09T17:15:45 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-01-09T17:18:45 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2013-01-09T17:19:04 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-01-09T17:21:13 < dongs> haha, google is advertising iTrash maps app 2013-01-09T17:21:18 < dongs> when you go to maps.google.com 2013-01-09T17:21:20 < dongs> at least on jap maps 2013-01-09T17:24:09 -!- NonaSuomy_ [~NonaSuomy@69.158.139.128] has quit [Read error: Connection reset by peer] 2013-01-09T17:24:35 -!- NonaSuomy_ [~NonaSuomy@69.158.139.128] has joined ##stm32 2013-01-09T17:25:45 < dongs> speaking of fail, http://i.imgur.com/rSxYc.jpg 2013-01-09T17:26:13 < gxti> totally legit 2013-01-09T17:26:45 <+dekar> pick and place will enjoy that :) 2013-01-09T17:27:03 < gxti> yes, it's so boring picking things out of trays in perfect rows. give that vision system some exercise. 2013-01-09T17:27:09 < Claude> hehe reminds me of 10 cyclone2 fpgas i got from ebay. tin foil + envelope .. 2013-01-09T17:27:23 < emeb_mac> ugh 2013-01-09T17:27:37 < gxti> never mind the bent pins, that's why there are so many power inputs 2013-01-09T17:27:41 < gxti> redundancy 2013-01-09T17:28:05 < emeb_mac> need p-n-p machine w/ leadformer 2013-01-09T17:34:30 < dongs> anyway, at least I got them 2013-01-09T17:34:39 < dongs> now i just need to get unlazy and finish the circuit and make board. 2013-01-09T17:35:42 < emeb_mac> those the hdmi->dp stuff? 2013-01-09T17:35:48 < dongs> yea 2013-01-09T17:36:31 < emeb_mac> amazing no one makes a single chip sol'n for that. 2013-01-09T17:37:08 -!- scrts [~quassel@unaffiliated/scrts] has quit [Read error: Connection reset by peer] 2013-01-09T17:37:22 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-01-09T17:39:57 < dongs> ST did 2013-01-09T17:40:02 < dongs> but its status is "preview" 2013-01-09T17:40:08 < dongs> I think they offered me a evalboard 2013-01-09T17:40:13 < dongs> but if I cant buy that shit whats the point 2013-01-09T17:41:16 < dongs> Laurenceb: whats the latency on that silabs shit you use 2013-01-09T17:41:29 < dongs> si4whatever 2013-01-09T17:41:31 < dongs> (or anyone) 2013-01-09T17:41:49 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-09T17:42:24 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-09T17:43:22 < Laurenceb> dunno 2013-01-09T17:43:31 < Laurenceb> havent really tested that properly 2013-01-09T17:43:36 < dongs> have you used it in fullduplex mode? 2013-01-09T17:43:50 < Laurenceb> huh 2013-01-09T17:43:55 < dongs> huh wahat 2013-01-09T17:44:01 < Laurenceb> how can you do full duplex 2013-01-09T17:44:02 < dongs> rx/tx at same time yanno 2013-01-09T17:44:07 < dongs> it has that mode.. 2013-01-09T17:44:11 < Laurenceb> the hell 2013-01-09T17:44:26 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2013-01-09T17:44:30 < Laurenceb> but it uses the same frequency? 2013-01-09T17:44:32 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-01-09T17:45:26 < dongs> whats teh chip? silabs 43xx? 2013-01-09T17:45:49 < Laurenceb> si4432 2013-01-09T17:46:07 < Laurenceb> latency depends on the packet lenght.bad rate etc 2013-01-09T17:46:15 < Laurenceb> *baud 2013-01-09T17:46:39 < Laurenceb> also uavtalk is annoying as hell 2013-01-09T17:46:59 < Laurenceb> the only think worse is that mavlink crap 2013-01-09T17:50:09 < Laurenceb> those header files are horrifying 2013-01-09T17:51:02 < Laurenceb> i haxored together a custom uavtalk implementation to talk to a haxored version of the arduino mesh networking code 2013-01-09T17:51:13 < Laurenceb> but its a bit sucky - never properly finished it 2013-01-09T17:52:32 < Laurenceb> got it to connect to and display data in GCS and called it a day - too much work stuff 2013-01-09T17:52:56 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2013-01-09T17:53:12 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-01-09T17:54:20 < dongs> heh 2013-01-09T17:54:32 < dongs> next they'll implement a uavtalk virtualmachine 2013-01-09T18:00:47 -!- _BJFreeman [~bjfree@236.sub-75-233-188.myvzw.com] has joined ##stm32 2013-01-09T18:01:41 -!- _BJFreeman is now known as BJfreeman 2013-01-09T18:03:48 < Laurenceb> mavlink wiki: "we put everything in header files, so you don't need to compile it" 2013-01-09T18:04:24 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-09T18:04:50 <+Steffanx> w00t 2013-01-09T18:07:30 < jpa-> why didn't they just use protobuf :F 2013-01-09T18:07:31 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-09T18:08:44 < Laurenceb> node.js?! 2013-01-09T18:08:59 < Laurenceb> why didnt they use ruby on rails? 2013-01-09T18:09:00 < emeb> badass rockstar tech! 2013-01-09T18:09:10 -!- betovar1 [~Adium@adsl-74-233-236-72.mia.bellsouth.net] has joined ##stm32 2013-01-09T18:09:22 < Laurenceb> http://www.google.co.uk/trends/explore#q=ruby%20on%20rails 2013-01-09T18:09:25 < Laurenceb> i lolled 2013-01-09T18:10:17 < emeb> love the regional breakdown 2013-01-09T18:10:58 -!- betovar [~Adium@adsl-74-233-236-4.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-09T18:11:09 < emeb> hmm - node.js seems highly concentrated in taiwan. 2013-01-09T18:13:15 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-09T18:14:05 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-09T18:15:12 <+Steffanx> You care about nonsense way too much Laurenceb :( 2013-01-09T18:17:20 <+Steffanx> ruby on rails is a indian thingy emeb :) 2013-01-09T18:17:38 <+Steffanx> and yankeeland 2013-01-09T18:18:45 < emeb> Steffanx: sure looks like it. 2013-01-09T18:18:45 < Laurenceb> anyone here familiar with network printers on windows networks? 2013-01-09T18:19:04 <+Steffanx> The manufacturer of the printer 2013-01-09T18:19:11 < Laurenceb> xerox 2013-01-09T18:19:21 < Laurenceb> trying to connect from ubuntu 2013-01-09T18:19:25 <+Steffanx> No i mean, that is the "anyone" who is familiar with it :P 2013-01-09T18:19:30 < emeb> "familiar"? I have a network printer and a windows machine. "Just works" (TM) 2013-01-09T18:19:32 < Laurenceb> dunno what "device uri " is 2013-01-09T18:19:35 < Laurenceb> lol 2013-01-09T18:19:45 -!- barthess [~barthess@5.100.217.147] has joined ##stm32 2013-01-09T18:19:47 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2013-01-09T18:19:47 < emeb> +ne 2013-01-09T18:19:53 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-01-09T18:19:54 < Laurenceb> lpd:// 2013-01-09T18:19:58 < Laurenceb> or something? 2013-01-09T18:20:06 <+Steffanx> smb:// something :P 2013-01-09T18:20:10 < Laurenceb> ah 2013-01-09T18:20:15 <+Steffanx> no i don't know :P 2013-01-09T18:20:35 < emeb> try it and see? what's the worst that happens? 2013-01-09T18:20:38 <+Steffanx> but google knows 2013-01-09T18:20:58 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-09T18:21:02 < Laurenceb> hmm smb did something 2013-01-09T18:22:44 < jpa-> if you are lucky, cups will find the printer automatically 2013-01-09T18:23:08 <+Steffanx> Laurenceb isn't lucky 2013-01-09T18:23:12 <+Steffanx> it's his birthday 2013-01-09T18:23:22 -!- betovar [~Adium@adsl-98-64-2-186.mia.bellsouth.net] has joined ##stm32 2013-01-09T18:24:12 < Laurenceb> yeah i was using cups before 2013-01-09T18:24:22 < Laurenceb> now its not finding our new xerox... 2013-01-09T18:24:44 < Laurenceb> probably some sort of config on the printer... 2013-01-09T18:24:49 * Laurenceb facepalm 2013-01-09T18:25:11 <+Steffanx> .. 2013-01-09T18:25:58 -!- betovar1 [~Adium@adsl-74-233-236-72.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-09T18:26:27 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2013-01-09T18:27:25 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-01-09T18:30:01 -!- betovar1 [~Adium@adsl-98-64-29-194.mia.bellsouth.net] has joined ##stm32 2013-01-09T18:31:19 -!- Claude is now known as claude 2013-01-09T18:31:24 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-09T18:31:48 -!- betovar [~Adium@adsl-98-64-2-186.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-09T18:37:45 -!- betovar1 [~Adium@adsl-98-64-29-194.mia.bellsouth.net] has quit [Read error: Connection reset by peer] 2013-01-09T18:38:39 -!- betovar [~Adium@adsl-98-64-92-62.mia.bellsouth.net] has joined ##stm32 2013-01-09T18:45:08 -!- betovar [~Adium@adsl-98-64-92-62.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-09T18:45:21 -!- betovar [~Adium@adsl-98-64-144-130.mia.bellsouth.net] has joined ##stm32 2013-01-09T18:51:43 -!- betovar [~Adium@adsl-98-64-144-130.mia.bellsouth.net] has quit [Read error: Connection reset by peer] 2013-01-09T18:52:45 -!- betovar [~Adium@adsl-98-64-169-58.mia.bellsouth.net] has joined ##stm32 2013-01-09T18:57:50 < emeb> http://angriestprogrammer.com/comic/kickstarter(1) 2013-01-09T18:59:21 -!- betovar1 [~Adium@adsl-98-64-169-107.mia.bellsouth.net] has joined ##stm32 2013-01-09T18:59:22 * Laurenceb rageee 2013-01-09T18:59:26 < Laurenceb> i hate printers 2013-01-09T18:59:33 < emeb> printers hate you 2013-01-09T18:59:47 < Laurenceb> so should i use lpd or smb? 2013-01-09T19:00:04 < zyp> whatever works? 2013-01-09T19:00:17 < Laurenceb> windows you just setup the network printer as \\ 2013-01-09T19:00:21 < Laurenceb> neither works 2013-01-09T19:00:47 < Laurenceb> lpd errors that the printer is no found 2013-01-09T19:00:52 < Laurenceb> smb seems to work 2013-01-09T19:01:00 < Laurenceb> but nothing goes to the printer 2013-01-09T19:01:48 -!- betovar [~Adium@adsl-98-64-169-58.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-09T19:03:42 < Laurenceb> ah, and view attributes says "connection failed: bad network name" 2013-01-09T19:04:54 < emeb> windows is criticizing your choices now. 2013-01-09T19:06:12 < Laurenceb> this is clearly very wrong :( 2013-01-09T19:08:28 -!- betovar1 [~Adium@adsl-98-64-169-107.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-09T19:13:29 < Laurenceb> hmm time to give up i think 2013-01-09T19:13:34 < Laurenceb> not making any progress here 2013-01-09T19:21:27 -!- jv-- [jv@pilsedu.cz] has joined ##stm32 2013-01-09T19:21:41 < jv--> Greetings 2013-01-09T19:22:52 < jv--> What could be the reason I can't write to USB endpoint registers on an F103RC ? 2013-01-09T19:23:25 < zyp> you're not the first that have asked that question 2013-01-09T19:23:51 < zyp> it's normal, it means the bus is in reset 2013-01-09T19:24:02 < jv--> Ah 2013-01-09T19:24:07 < zyp> the endpoint registers get reset when you get a bus reset 2013-01-09T19:24:35 < zyp> so you have to configure them after the reset condition has ended 2013-01-09T19:24:47 < jv--> the bus reset is an external condition? 2013-01-09T19:25:28 < zyp> yes, I believe it's defined as SE0 for some amount of time 2013-01-09T19:25:36 < zyp> and enumeration always starts with that 2013-01-09T19:25:53 < jv--> I see 2013-01-09T19:26:29 < jv--> So if I understand correctly it's the PC causing it 2013-01-09T19:26:46 < zyp> yes, or the hub rather 2013-01-09T19:28:00 < zyp> anyway, just wait for the reset interrupt bit 2013-01-09T19:28:12 < zyp> it gets triggered when the reset condition ends 2013-01-09T19:28:19 < zyp> i.e. «a reset has happened» 2013-01-09T19:28:59 < zyp> when you get that you can set up the register for EP0 so you can start accepting control transfers 2013-01-09T19:29:11 < jv--> Aha, I think I am idiot 2013-01-09T19:29:44 < jv--> zyp: thank you very much 2013-01-09T19:29:49 < zyp> http://cgit.jvnv.net/laks/tree/usb/f1_usb.h#n75 <- if you want to have a look, my code that does this is here 2013-01-09T19:30:32 < zyp> handle_reset() signals the upper layer of the stack that a reset has happened, and trigger it to configure EP0 2013-01-09T19:31:00 < jv--> zyp: i think i forgot the pull-up resistor 2013-01-09T19:31:14 < zyp> yes, you need an external 1.5k pullup on d+ 2013-01-09T19:32:00 < zyp> without that the hub will never detect the device, and thus not start the enumeration process 2013-01-09T19:33:03 -!- BjoernC [~BjoernC@2001:638:602:1183:223:8bff:fe86:1627] has quit [Quit: Konversation terminated!] 2013-01-09T19:37:53 < jv--> zyp: yup, works now :) 2013-01-09T19:38:01 < zyp> great 2013-01-09T19:38:21 < gxti> didn't realize that, although i did just copy the blackmagic design. guess i should read the usb part of the RM. 2013-01-09T19:42:26 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-09T19:43:51 -!- dekar [~dekar@dslb-088-068-020-007.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2013-01-09T19:46:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-09T19:51:54 -!- _BJFreeman [~bjfree@236.sub-75-233-188.myvzw.com] has joined ##stm32 2013-01-09T19:54:37 -!- BJfreeman [~bjfree@236.sub-75-233-188.myvzw.com] has quit [Ping timeout: 256 seconds] 2013-01-09T19:55:50 -!- _BJFreeman is now known as BJfreeman 2013-01-09T20:03:53 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-09T20:09:17 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-09T20:18:47 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-09T20:31:09 -!- LFSveteran [~IceChat9@a80-100-26-140.adsl.xs4all.nl] has joined ##stm32 2013-01-09T20:31:49 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-09T20:34:26 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-09T20:48:02 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 252 seconds] 2013-01-09T20:48:23 -!- jef79m_lurking [~jef79m@124-171-23-66.dyn.iinet.net.au] has quit [Ping timeout: 255 seconds] 2013-01-09T20:49:34 -!- jef79m_lurking [~jef79m@124-168-171-28.dyn.iinet.net.au] has joined ##stm32 2013-01-09T20:49:41 -!- jef79m_lurking is now known as jef79m 2013-01-09T20:59:28 -!- scrts [~quassel@unaffiliated/scrts] has quit [Quit: No Ping reply in 180 seconds.] 2013-01-09T20:59:35 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-01-09T21:00:09 < LFSveteran> I'm trying to migrate my old arm-elf toolchain for the lpc2103 to arm-none-eabi 2013-01-09T21:00:36 < LFSveteran> In function `__libc_init_array': 2013-01-09T21:00:57 < LFSveteran> It fails with linking: In function `__libc_init_array': undefined reference to `_init' 2013-01-09T21:01:07 < LFSveteran> Makefile: http://pastebin.com/LiB3gUN7 2013-01-09T21:03:42 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-09T21:09:11 < zippe> You are probably missing something like this: 2013-01-09T21:09:13 < zippe> .init_section : { 2013-01-09T21:09:13 < zippe> _sinit = ABSOLUTE(.); 2013-01-09T21:09:13 < zippe> KEEP(*(.init_array .init_array.*)) 2013-01-09T21:09:13 < zippe> _einit = ABSOLUTE(.); 2013-01-09T21:09:13 < zippe> } > flash 2013-01-09T21:09:27 < zippe> in your linker script. 2013-01-09T21:09:43 < zippe> In your case, _sinit would be called _init 2013-01-09T21:13:06 < LFSveteran> the old linker script is indeed missing .init_section: http://pastebin.com/ah0D77GF 2013-01-09T21:14:53 -!- dekar [~dekar@212.255.254.11] has joined ##stm32 2013-01-09T21:14:57 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-09T21:27:12 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-09T21:31:31 < fiendie> Evening. I gave one of my spare J-Link clones to a friend and he can't get the Segger GDB Server to connect to the target hardware with Windows. Works great for me (Mac OS X). Log: http://pastie.org/5656499 2013-01-09T21:31:45 < fiendie> Google results were inconclusive ;) 2013-01-09T21:40:36 -!- betovar [~Adium@adsl-98-64-29-167.mia.bellsouth.net] has joined ##stm32 2013-01-09T21:40:40 -!- betovar [~Adium@adsl-98-64-29-167.mia.bellsouth.net] has quit [Client Quit] 2013-01-09T21:41:20 < LFSveteran> hmm I have KEEP (*(.init_array)) in .text section 2013-01-09T21:51:38 < emeb> attn dongs: http://sixpacktech.com/wp-content/uploads/2012/02/comic-15.jpeg 2013-01-09T21:56:11 < LFSveteran> would it be correct to place "_init = ABSOLUTE(.);" at the top of the .text section? 2013-01-09T21:58:20 < karlp> fiendie: same target? 2013-01-09T21:58:26 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 244 seconds] 2013-01-09T21:58:29 < karlp> just sounds like it wasn't connected to the target properl 2013-01-09T22:05:59 < fiendie> karlp: Yeah, same target. One of dongs' flight controllers ;) 2013-01-09T22:06:29 < fiendie> STM32F103CBT6 2013-01-09T22:10:11 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-09T22:25:17 -!- barthess [~barthess@5.100.217.147] has quit [Quit: Leaving.] 2013-01-09T22:43:44 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2013-01-09T23:39:26 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-09T23:40:33 -!- LFSveteran [~IceChat9@a80-100-26-140.adsl.xs4all.nl] has quit [Quit: Life without danger is a waste of oxygen] --- Day changed Thu Jan 10 2013 2013-01-10T00:35:29 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-10T00:37:24 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-10T00:46:34 -!- DaKu is now known as daku 2013-01-10T00:55:52 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-10T00:56:22 < fxd0h> howdy 2013-01-10T01:04:07 < emeb> doody 2013-01-10T01:22:39 -!- baird [~cjb@ppp121-44-141-63.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-10T01:23:00 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-10T01:27:02 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-10T01:31:28 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-10T01:32:23 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-01-10T01:36:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-10T01:38:17 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-01-10T01:51:04 < emeb> HELLO... hello... ello... ..lo... oo... ... 2013-01-10T01:51:30 < zyp> hi! 2013-01-10T01:51:38 < zyp> any news? 2013-01-10T01:51:51 < baird> Top o' the mornin' to yea! 2013-01-10T01:54:40 < emeb> nothing new here. 2013-01-10T01:54:56 < zyp> still no news on F37x bootloader either I see 2013-01-10T01:55:02 < emeb> heh, nope. 2013-01-10T01:55:13 < emeb> deny everything 2013-01-10T01:55:56 < zyp> would be fun to know what is going on at the responsible division at ST now 2013-01-10T01:56:43 < emeb> yeah. probably muttering about annoying hobbyists... 2013-01-10T01:57:54 < emeb> how's the LPC board? 2013-01-10T01:59:14 < zyp> got a friend visiting so I haven't had time to do anything about it yesterday/today 2013-01-10T02:01:11 < emeb> RL priorities. 2013-01-10T02:14:20 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 272 seconds] 2013-01-10T02:19:24 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Remote host closed the connection] 2013-01-10T02:24:38 < dongs> sup trolls 2013-01-10T02:24:42 < dongs> bloggin on blogs 2013-01-10T02:28:09 < emeb> nuthin' much 2013-01-10T02:29:04 < emeb> freezing your 'tocks of in JP? 2013-01-10T02:33:18 < dongs> 3C 2013-01-10T02:33:19 < dongs> seems ok. 2013-01-10T02:33:34 < emeb> brrr. 2013-01-10T02:58:08 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-10T02:59:24 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-10T03:00:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 240 seconds] 2013-01-10T03:44:20 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Quit: Leaving.] 2013-01-10T04:10:59 -!- cjbaird [~cjb@ppp121-45-183-102.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-10T04:11:09 -!- baird [~cjb@ppp121-44-141-63.lns20.syd7.internode.on.net] has quit [Ping timeout: 276 seconds] 2013-01-10T04:25:20 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-10T04:32:25 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-10T04:40:50 -!- |sark [~|sark@109.235.51.202] has quit [Remote host closed the connection] 2013-01-10T04:45:58 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-10T04:57:33 -!- cjbaird is now known as baird 2013-01-10T04:59:05 < emeb> dumb question: timer filters are sampled at a rate determined by "Fdts", but Fdts isn't defined anywhere in the RM. Ideas? 2013-01-10T04:59:30 < emeb> this is on an F373 2013-01-10T05:12:38 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-10T05:13:50 -!- cjbaird [~cjb@ppp121-44-115-139.lns20.syd6.internode.on.net] has joined ##stm32 2013-01-10T05:13:56 -!- baird [~cjb@ppp121-45-183-102.lns20.syd7.internode.on.net] has quit [Ping timeout: 248 seconds] 2013-01-10T05:15:07 -!- BJfreeman [~bjfree@236.sub-75-233-188.myvzw.com] has quit [Quit: had a good time] 2013-01-10T05:16:06 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-10T05:43:58 -!- jef79m is now known as jef79m_lurking 2013-01-10T05:51:34 -!- jef79m_lurking is now known as jef79m 2013-01-10T05:54:47 -!- cjbaird is now known as baird 2013-01-10T05:55:07 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-10T05:57:06 < zippe> emeb_mac: parametrics like that will be in the datasheet 2013-01-10T05:57:33 < emeb_mac> zippe: searched the ds - not there either. 2013-01-10T05:57:57 < emeb_mac> but I don't think it's a parametric - I think it's a generated clock derived from some main source. 2013-01-10T06:22:44 < upgrdman> emeb_mac, on the f4 i think it covered in the timer register defs 2013-01-10T06:22:49 < upgrdman> dunno the f3 2013-01-10T06:23:26 < emeb_mac> upgrdman: thanks - I'll look in the f4 dox. I checked the f1 data and didn't find it there. 2013-01-10T06:27:10 < upgrdman> i cant find it now, but i would almost swear i read something like "in current silicon revision, Fdts = " 2013-01-10T06:27:54 < upgrdman> oh oh 2013-01-10T06:28:05 < upgrdman> "Note: In current silicon revision, fDTS is replaced in the formula by CK_INT when ICxF[3:0]= 1, 2 or 3." 2013-01-10T06:28:24 < upgrdman> p.402 rm0090 2013-01-10T06:38:53 < emeb_mac> saw that 2013-01-10T06:50:04 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-01-10T06:51:30 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-10T06:51:39 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-10T07:05:03 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-10T07:07:26 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-10T07:14:04 -!- jef79m is now known as jef79m_lurking 2013-01-10T07:23:03 < emeb_mac> upgrdman: checked the f4 dox - the source of fdts is never specified. 2013-01-10T07:23:20 < upgrdman> :( 2013-01-10T07:44:45 < emeb_mac> lol - half million rpis. 2013-01-10T07:45:05 < emeb_mac> betcha 90% haven't been powered on since being bought. 2013-01-10T07:48:09 < zippe> My lpc812 showed up today 2013-01-10T07:48:13 < zippe> Much more interesting. 8) 2013-01-10T07:49:00 < zippe> Pity about the stupid lpc-link thing 2013-01-10T07:49:40 < emeb_mac> did you get the xpresso? 2013-01-10T07:50:54 < emeb_mac> tssop20? cute. 2013-01-10T07:51:15 < zippe> yeah, I did 2013-01-10T07:51:21 < zippe> The 8-pin version is even cuter 2013-01-10T07:53:07 < zippe> It's not ba 2013-01-10T07:53:13 < zippe> er, bad. I still liked the CPU better 2013-01-10T07:53:39 < zippe> Hmm, there are actually several now 2013-01-10T07:53:46 < emeb_mac> err - not cheap tho. $27 @ DK? 2013-01-10T07:54:09 < zippe> The 812? It was about $30 shipped from mouser 2013-01-10T07:54:36 < emeb_mac> right 2013-01-10T07:55:06 < zippe> http://www.youtube.com/watch?v=yuMlhKI-pzE 2013-01-10T07:55:57 < zippe> http://www.youtube.com/watch?v=jgWyg3LL_kM 2013-01-10T07:56:17 < zippe> Second one is arguably more impressive 2013-01-10T08:07:13 < emeb_mac> kinda reminds me of the mechanical computers in "The Difference Engine" 2013-01-10T08:13:53 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-01-10T08:16:08 < Thorn> my black magic clone works fine with stm32 but fails to detect LPC targets 9 times out of 10 and behaves intermittently with them (different error messages on each try) 2013-01-10T08:17:50 < Thorn> it appears that swdclk doesn't reach full swing with an LPC target (2.3-2.5V or so) 2013-01-10T08:19:25 < Thorn> same problem with lpc1766 and lpc11c22 2013-01-10T08:19:45 -!- baird [~cjb@ppp121-44-115-139.lns20.syd6.internode.on.net] has quit [Ping timeout: 276 seconds] 2013-01-10T08:19:47 < emeb_mac> Thorn: zyp found shortcomings in some of the I/O setups in the BMP firmware. 2013-01-10T08:20:23 < emeb_mac> nrst in particular isn't properly pulled up when deactivated IIRC 2013-01-10T08:20:24 < Thorn> I've seen something concerning reset 2013-01-10T08:20:50 < Thorn> but reset doesn't appear to be a problem 2013-01-10T08:21:38 < emeb_mac> surprising the Voh/Vol on SWDIO wouldn't meet spec though - is there a heavy load on it? 2013-01-10T08:21:49 -!- baird [~cjb@ppp121-44-142-47.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-10T08:22:14 < Thorn> I also had a look at the code and swd clock appears to be driven in both directions 2013-01-10T08:22:39 < Thorn> no load except the chip itself, >2MOhms to gnd, vcc etc. 2013-01-10T08:26:19 < emeb_mac> strange 2013-01-10T08:27:38 < emeb_mac> the lpc targets are powered from 3.3V, right? 2013-01-10T08:28:16 < Thorn> yes and it detects target voltage 3.3V 2013-01-10T08:28:37 < Thorn> (BMP detects that is) 2013-01-10T08:29:51 < Thorn> the LPCs program via ISP and run normally 2013-01-10T08:29:58 < emeb_mac> can you try putting a 100 ohm resistor in series with the clock and measuring the drop on it when driving Voh? 2013-01-10T08:30:57 < emeb_mac> curious if there's some sort of diode / voltage-dependent load thing going on there. 2013-01-10T08:31:08 < Thorn> btw it also appears there's more ringing on swd signals when lpc is connected as opposed to stm32 2013-01-10T08:31:33 < Thorn> I may be able to do that 2013-01-10T08:34:13 < emeb_mac> hmm... ringing suggests that there's reactive loads or transmission line effects. 2013-01-10T08:34:27 < emeb_mac> how long is the cable from BMP to target? 2013-01-10T08:34:47 < zippe> Thorn: what LPC dev board(s) are you using? 2013-01-10T08:38:29 < Thorn> the cable is 20cm long 2013-01-10T08:38:55 < Thorn> these are my designs, not dev boards 2013-01-10T08:42:23 < emeb_mac> 20cm isn't particularly long. round-trip on that would be a couple ns at most and I doubt your scope is good to 500MHz. 2013-01-10T08:43:02 < emeb_mac> so the ringing isn't likely to be purely transmission line. 2013-01-10T08:45:52 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-10T08:50:07 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2013-01-10T08:51:11 < rlc> did stm give away any of their stm32f3 discovery lately? 2013-01-10T08:51:37 < emeb_mac> I think that they did a while back 2013-01-10T08:53:24 < Viper168> the one they sent me is an f4 2013-01-10T08:53:44 < Viper168> some months ago 2013-01-10T08:54:01 < rlc> f4 was way before f3 appeared, no? 2013-01-10T08:54:37 < Viper168> not sure, it has been a while 2013-01-10T08:54:50 < Viper168> I haven't kept up 2013-01-10T08:55:09 < rlc> flyback: yoy got an f3? 2013-01-10T08:55:36 < rlc> flyback: two f0? how did you get them? 2013-01-10T08:56:19 < Viper168> I'm still trtying to figure out what to dow ith the f4 2013-01-10T08:56:24 < Viper168> *trying 2013-01-10T08:56:37 < rlc> Viper168: quadcopter? 2013-01-10T08:56:54 < Viper168> has to be something I can hack together for cheap 2013-01-10T09:00:29 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-10T09:01:10 < Viper168> I was thinking of applying it to when I get around to hacking an old junked motorcycle into an electric one 2013-01-10T09:01:47 < Viper168> be the brain for it 2013-01-10T09:14:20 -!- dekar_ [~dekar@212.255.246.243] has joined ##stm32 2013-01-10T09:14:23 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-10T09:18:06 -!- dekar [~dekar@212.255.254.11] has quit [Ping timeout: 255 seconds] 2013-01-10T09:26:48 -!- jef79m_lurking is now known as jef79m 2013-01-10T09:31:22 < LeelooMinai> Has anyone here tried/used touch sense library from st on stm32f0? 2013-01-10T09:37:43 -!- jef79m is now known as jef79m_lurking 2013-01-10T09:42:43 -!- jef79m_lurking is now known as jef79m 2013-01-10T09:44:49 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-10T09:52:21 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-10T10:03:42 < dongs> http://i.imgur.com/mZksK.jpg finally, bitch 2013-01-10T10:04:50 < zyp> hah 2013-01-10T10:07:30 < dongs> also got my stonerboard, http://i.imgur.com/C6e73.jpg + http://i.imgur.com/raNo9.jpg 2013-01-10T10:17:48 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-10T10:28:11 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-10T10:28:26 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-01-10T10:29:28 < fxd0h> are those hbridges? 2013-01-10T10:36:50 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-01-10T10:38:42 < dongs> sure 2013-01-10T10:38:51 < dongs> some allegro stepper driver shits 2013-01-10T10:39:24 < fxd0h> yeah , just googled that board , nxp 2013-01-10T10:39:32 < fxd0h> driven board eww 2013-01-10T10:40:02 < zyp> what's wrong with nxp? 2013-01-10T10:40:08 < dongs> im sure a port to stm32 by you will be appreciated. 2013-01-10T10:41:11 < fxd0h> sure thing I'm gonna add that to my todo's list 2013-01-10T10:49:10 < dongs> http://i.qkme.me/3sigrt.jpg 2013-01-10T11:02:04 < dongs> http://images.4chan.org/b/src/1357796602373.gif 2013-01-10T11:02:06 < dongs> haha 2013-01-10T11:07:18 < baird> It's funny because it isn't me. 2013-01-10T11:07:44 < baird> My younger brother managed to convince his wife (with a diamond ring..) to let him take up xmoto again.. 2013-01-10T11:11:04 < fiendie> baird: That ring is gonna help her a lot when he's in a wheelchair or 6 feet under ;) 2013-01-10T11:13:16 < baird> He's already offed about 10 times -_- .. And this is on the trails I did on the Postie without incident.. (the brown stuff on http://osm.org/go/uYukF8w) 2013-01-10T11:18:34 < rlc> dongs: what you gonna do with 250 stm32? 2013-01-10T11:18:39 < qyx_> maximum timer clock freq on F4 is 168MHz? 2013-01-10T11:22:58 < jpa-> qyx_: depends on which bus it is on 2013-01-10T11:22:59 < zippe> qyx_: half that, IIRC 2013-01-10T11:24:21 < Viper168_> 168mhz is a good mhz 2013-01-10T11:24:34 < qyx_> k, thx, actually anything above ~20 will do 2013-01-10T11:24:36 < Viper168_> :| 2013-01-10T11:24:39 < zippe> Timers are run from the APB clocks; I think that you are limited to 84 for the faster of the two 2013-01-10T11:25:14 < zippe> Hm, actually, there's that funny APB back-prescaler 2013-01-10T11:25:18 < rlc> Up to 17 timers: up to twelve 16bit and two 32bit timers up to 168 MHz, each with up to 4IC/OC/PWM or pulse counter and quadrature(incremental) encoder inpu 2013-01-10T11:25:51 < zippe> Yeah, if you run APB at 84 then the timers run at 2x that 2013-01-10T11:27:14 < qyx_> i have 1pps output from gps with 65ns accuracy so it would be good to capture it with higher freq timer 2013-01-10T11:27:31 < qyx_> but i doubt that hse is that stable 2013-01-10T11:27:56 < rlc> how many ppm? 2013-01-10T11:28:26 < qyx_> crystal is abracon 20ppm 2013-01-10T11:29:26 < qyx_> freq tolerance doesn't really matter as i can also measure 1pps period 2013-01-10T11:29:40 < qyx_> but short therm accuracy is probably more critical, don't know, have to try 2013-01-10T11:37:25 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-10T12:13:48 -!- rlc [63f431a9@gateway/web/freenode/ip.99.244.49.169] has quit [Ping timeout: 245 seconds] 2013-01-10T12:23:51 -!- Tectu_ is now known as Tectu 2013-01-10T12:24:34 -!- claude is now known as Claude 2013-01-10T12:34:31 -!- Gargantuasauce [~Gargantua@209.226.201.250] has joined ##stm32 2013-01-10T12:57:21 -!- baird [~cjb@ppp121-44-142-47.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2013-01-10T12:57:44 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-10T12:57:45 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-10T12:57:45 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-10T12:57:48 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-10T12:59:03 -!- baird [~cjb@ppp121-44-142-47.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-10T12:59:12 <+Steffanx> nu 2013-01-10T13:00:45 < Laurenceb> same old 2013-01-10T13:00:50 < Laurenceb> raging at printers 2013-01-10T13:01:15 < Laurenceb> hopefully xerox engineer can fix it - im done with their crap 2013-01-10T13:02:40 < Laurenceb> http://www.pololu.com/catalog/product/1204/specs 2013-01-10T13:02:45 < Laurenceb> wtf units 2013-01-10T13:03:51 <+Steffanx> Their crap. I bet it's pebkac 2013-01-10T13:05:00 <+Steffanx> What's the problem with the 'units' Laurenceb ? 2013-01-10T13:05:18 < Laurenceb> Holding torque: 2.5 oz·in 2013-01-10T13:05:42 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-10T13:05:52 <+Steffanx> Yankeelanders .. 2013-01-10T13:06:12 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2013-01-10T13:06:43 < Laurenceb> http://www.theregister.co.uk/2013/01/09/watson_urban_dictionary_profanity/ 2013-01-10T13:06:46 < Laurenceb> i lolled 2013-01-10T13:06:48 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-10T13:07:38 <+Steffanx> WTF is this with yankeelander 'news' website 2013-01-10T13:07:45 <+Steffanx> Every sentence is a new paragraph 2013-01-10T13:07:54 -!- Gargantuasauce [~Gargantua@209.226.201.250] has quit [Ping timeout: 264 seconds] 2013-01-10T13:07:57 <+Steffanx> alinea whatever it's called in normal language 2013-01-10T13:11:02 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-10T13:15:38 < baird> "In an effort to broaden the range of texts that Watson could interpret, Brown tried teaching it the Urban Dictionary ..." A Serious checkpoint in AI research. 2013-01-10T13:16:58 <+Steffanx> Only for the ones who care about that 4chan dictionary 2013-01-10T13:18:24 < baird> I know Awesome when I read it: "...answering one researcher's query with the less-than-scientific term "bullshit." 2013-01-10T13:34:34 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:2459:10b0:e7f6:46be] has joined ##stm32 2013-01-10T13:41:05 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-10T13:46:23 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-10T13:46:32 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Remote host closed the connection] 2013-01-10T13:46:55 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-10T13:47:42 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:2459:10b0:e7f6:46be] has quit [Remote host closed the connection] 2013-01-10T14:01:22 -!- daku is now known as DaKu 2013-01-10T14:20:02 < Tectu> dongs, stop that trolling 2013-01-10T14:20:19 < Tectu> baird, btw, the HD44780 works now. It turned out that the LCD module was completely broken 2013-01-10T14:20:58 < zyp> Tectu, sup? 2013-01-10T14:21:04 < zyp> what are you working on nowadays? 2013-01-10T14:21:12 < Tectu> zyp, complex stuff 2013-01-10T14:21:19 < Tectu> hitech and top secret 2013-01-10T14:21:22 < Tectu> it's about a new technology 2013-01-10T14:21:30 < Tectu> to display characters on 16*2 dot matrixes 2013-01-10T14:21:39 < zyp> not talking about that 2013-01-10T14:21:42 < zyp> I mean in general 2013-01-10T14:21:52 < Tectu> you mean my dayjob? 2013-01-10T14:22:02 < zyp> nah 2013-01-10T14:22:07 < Tectu> ._. 2013-01-10T14:22:07 < zyp> I mean cool stuff 2013-01-10T14:22:11 < zyp> do you do any cool stuff? 2013-01-10T14:22:11 < Tectu> 3D printer? 2013-01-10T14:22:13 < dongs> Tectu: this LPC1768 is very not kawaii 2013-01-10T14:22:15 < Tectu> no 2013-01-10T14:22:32 < dongs> it takes liek a fucking minute to flash 140k of code over uart bootloader 2013-01-10T14:22:40 < Tectu> zyp, the only cool stuff I do is cleaning windows 2013-01-10T14:22:52 < dongs> windows 8 I hope? 2013-01-10T14:22:56 < Tectu> dongs, so more time for kawaii pedopics 2013-01-10T14:23:01 < zyp> better than cleaning linux? 2013-01-10T14:23:08 < Tectu> nerds. 2013-01-10T14:25:07 < dongs> hmm 2013-01-10T14:25:10 < dongs> this firmware is retarded 2013-01-10T14:25:18 < dongs> if CDC fails to install driver, MSC doesn't initialize 2013-01-10T14:25:20 < zyp> not surprising 2013-01-10T14:25:29 < zyp> heh 2013-01-10T14:25:36 < dongs> how so? 2013-01-10T14:25:40 < dongs> its part of a composite device 2013-01-10T14:25:42 < dongs> should it not work? 2013-01-10T14:25:51 < zyp> I mean wrt. retarded 2013-01-10T14:26:27 < zyp> it's probably descriptors and stuff 2013-01-10T14:27:00 < zyp> and windows weirdness 2013-01-10T14:27:01 < dongs> hmpf 2013-01-10T14:27:05 < dongs> fucking failware 2013-01-10T14:27:05 < baird> Tectu: I had that a faulty LCD too.. Did I mention it? 2013-01-10T14:27:10 < zyp> got a dump of the configuration descriptor? 2013-01-10T14:27:24 < dongs> nope but its opensauce shit 2013-01-10T14:27:26 < dongs> lemme see if I can find it 2013-01-10T14:27:36 < Tectu> baird, no 2013-01-10T14:27:53 < Tectu> baird, two nights wasted \o/ :D 2013-01-10T14:27:59 < dongs> https://github.com/arthurwolf/Smoothie/blob/master/src/libs/USBCDCMSC/USBCDCMSC.cpp 2013-01-10T14:28:49 <+Steffanx> c++ there is your problem 2013-01-10T14:29:03 < dongs> haha 2013-01-10T14:29:05 < dongs> yes of course 2013-01-10T14:29:53 < zyp> hmm, it's actually using IAD 2013-01-10T14:30:00 < dongs> whats that 2013-01-10T14:30:05 < Tectu> what's IAD? 2013-01-10T14:30:18 < BrainDamage> improvised assploding device 2013-01-10T14:30:22 < zyp> oh 2013-01-10T14:30:23 <+Steffanx> Apple developer crap :P 2013-01-10T14:30:27 < zyp> they fucked up 2013-01-10T14:30:31 < dongs> The USB 2.0 Interface Association Descriptor (IAD) 2013-01-10T14:30:42 < zyp> only got IAD descriptor for CDC, not MSC 2013-01-10T14:30:45 < zyp> that's the problem 2013-01-10T14:30:47 < dongs> haha 2013-01-10T14:30:54 < dongs> i bet the fucks only teste on lunix 2013-01-10T14:31:01 < zyp> IAD is shit to group interfaces so you can load different drivers for each 2013-01-10T14:31:04 < dongs> i got build env to rebuild this, any idea what to change? 2013-01-10T14:31:27 < zyp> add another IAD descriptor in front of the MSC interface descriptor 2013-01-10T14:31:50 < zyp> give me a moment and I'll figure out the magic numbers 2013-01-10T14:32:27 < zyp> should go at line 333 or so 2013-01-10T14:33:04 < dongs> how come CDC has 2 interfaces? 2013-01-10T14:33:13 < zyp> control and data 2013-01-10T14:33:33 < dongs> hmpf 2013-01-10T14:33:43 < dongs> no time to setup keil's awesome usblib 2013-01-10T14:33:48 < dongs> that does composite devices with EASE 2013-01-10T14:33:49 < dongs> :) 2013-01-10T14:34:08 < Tectu> what's EASE? 2013-01-10T14:34:09 < dongs> i found a hilarious blogpost by some dudes who were trying to get mbed libs working wiht gcc and couldnt 2013-01-10T14:34:16 < dongs> but they build wiht keil compiler 2013-01-10T14:34:33 < dongs> take that, freetards! 2013-01-10T14:34:40 <+Steffanx> ease: "freedom from pain or from worry or hard work" Tectu :P 2013-01-10T14:35:07 < dongs> indeed 2013-01-10T14:35:15 < Tectu> ah 2013-01-10T14:35:16 < zyp> 0x08, 0x0b, 0x02, 0x01, 0x08, 0x06, 0x50, 0x00, 2013-01-10T14:35:22 < zyp> stuff that into line 333 2013-01-10T14:35:33 <+Steffanx> magic usb constants 2013-01-10T14:35:35 < zyp> then add 8 to lines 244/245 2013-01-10T14:35:40 < zyp> i.e. 0x6a 2013-01-10T14:35:55 < dongs> right 2013-01-10T14:35:56 < dongs> ok lets see 2013-01-10T14:36:54 < zyp> it basically means «IAD, interface 2, mass storage», and should tell windows to load a seperate driver for that independent of CDC 2013-01-10T14:37:43 < dongs> i guess lunixtards never see this problem? 2013-01-10T14:37:52 < zyp> note that I don't have much experience with windows and usb drivers in practice, but I believe this should help from a theoretical standpoint 2013-01-10T14:38:38 < zyp> the linux usb stack doesn't assign drivers in the same fashion 2013-01-10T14:39:46 < zyp> it'll probably just disregard IAD anyway, and just assign the MSC driver to any MSC interface it finds regardless 2013-01-10T14:41:10 -!- _BJFreeman [~bjfree@45.sub-75-233-123.myvzw.com] has joined ##stm32 2013-01-10T14:42:17 < jpa-> linux happily tries MSC for anything that remotely looks like MSC, and then resets the device 20 times if it doesn't work like it expects... windows raises hands up and says "this is strange me no understand"; it's a matter of opinion which is better :P 2013-01-10T14:42:22 < dongs> man the flashing process on this shit is retardely not userfriendly 2013-01-10T14:43:13 < Laurenceb> how much flash is there? 2013-01-10T14:43:50 < zyp> hmm, according to the IAD spec it shouldn't really be necessary to have IAD descriptors grouping single-interface functions 2013-01-10T14:43:56 < zyp> so it should work as is 2013-01-10T14:44:07 < zyp> if windows cares about IAD spec :p 2013-01-10T14:45:11 -!- wiza69 [~foo@pool-96-248-108-187.cmdnnj.fios.verizon.net] has joined ##stm32 2013-01-10T14:45:11 -!- wiza69 [~foo@pool-96-248-108-187.cmdnnj.fios.verizon.net] has quit [Client Quit] 2013-01-10T14:49:08 < dongle> still fails 2013-01-10T14:49:17 < dongle> but i guess shit just fails. 2013-01-10T14:49:50 < dongle> ya after a while MSC goes into 'cannot start' state. 2013-01-10T14:50:04 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 244 seconds] 2013-01-10T14:50:04 < zyp> huh? 2013-01-10T14:51:04 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-10T14:51:11 < dongle> i mean in windows 2013-01-10T14:51:24 < dongle> it shows up as cdc+msc 2013-01-10T14:51:29 < dongle> i did install driver for cdc 2013-01-10T14:51:38 < dongle> msc was automatic.. then after like 20 seconds it turns into 'cannot start' 2013-01-10T14:56:12 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-10T14:57:01 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2013-01-10T14:57:03 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2013-01-10T14:57:03 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-10T14:57:12 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-01-10T14:57:13 < Tectu> so there's that german company selling AVR beginner kits, calle "MyAVR" 2013-01-10T14:57:15 < Tectu> selling now ARM stuff 2013-01-10T14:57:21 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-10T14:57:31 < scrts> avr isn't dead yet? 2013-01-10T14:57:42 < Tectu> na 2013-01-10T15:00:04 < dongle> Tectu: they do have mystm32.de 2013-01-10T15:00:38 < dongle> http://mystm32.de/doku.php great tutorail 2013-01-10T15:04:47 < Tectu> dongle, nice, whois says it's the same guy 2013-01-10T15:06:28 < dongle> yeah 2013-01-10T15:07:55 < Tectu> cool people don't use C++ 2013-01-10T15:11:19 <+Steffanx> /kick Tectu because you deserve it 2013-01-10T15:18:12 < Laurenceb> http://shop.myavr.com/index.php?sp=article.sp.php&artID=200075 2013-01-10T15:18:17 < Laurenceb> lol n00b board 2013-01-10T15:18:40 <+Steffanx> some people are 'n00b' 2013-01-10T15:21:19 < baird> At least it's not like $70 like that Gertboard fail. 2013-01-10T15:22:10 < Laurenceb> http://raspi.tv/wp-content/uploads/2012/09/Gertboard-assembled.jpg 2013-01-10T15:22:17 < Laurenceb> got to admit thats pretty noob 2013-01-10T15:22:34 < Laurenceb> looks like the 70s 2013-01-10T15:23:31 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-10T15:24:58 < Thorn> my black magic clone still haets LPC targets and nothing that I have done helped. 2013-01-10T15:25:28 < dongs> lol gertbored 2013-01-10T15:26:29 -!- NonaSuomy_ is now known as TeknoJuce 2013-01-10T15:27:47 < Laurenceb> gert van LOON 2013-01-10T15:28:14 < Laurenceb> wohoo my printer is working 2013-01-10T15:28:22 <+Steffanx> Nothing special about that Laurenceb. Especially because it's probably a dutch name 2013-01-10T15:28:23 < Laurenceb> firmware upgraded 2013-01-10T15:29:03 < Laurenceb> in english it sounds like 2013-01-10T15:29:05 < Laurenceb> http://imageshack.us/photo/my-images/267/hannahmontanashuttle.png/ 2013-01-10T15:29:14 < BrainDamage> Steffanx: well, dutch names in general are especially bad 2013-01-10T15:29:29 <+Steffanx> When you pronounce it wrong, maybe 2013-01-10T15:29:36 <+Steffanx> but that's the point. You shouldn't do that 2013-01-10T15:30:59 <+Steffanx> You probably know how it feels. People misinterpret your name all the time :) 2013-01-10T15:31:04 <+Steffanx> *nick 2013-01-10T15:31:14 < BrainDamage> yeah :p 2013-01-10T15:31:45 < BrainDamage> I'd spell it like ghert (with e of when) van loon (with o in wrong but more open ) 2013-01-10T15:32:57 <+Steffanx> :P 2013-01-10T15:34:42 -!- _BJFreeman is now known as BJfreeman 2013-01-10T15:35:50 <+Steffanx> BJfreeman, must be morgan's little brother 2013-01-10T15:36:27 < BJfreeman> I am the oldest 2013-01-10T15:36:37 < BJfreeman> don't know morgan 2013-01-10T15:36:41 < baird> fffuuu, you needs lot of sprogs to be eligible.. https://en.wikipedia.org/wiki/Farmhouse_rental 2013-01-10T15:36:42 <+Steffanx> Older, then you must be pretty old 2013-01-10T15:37:07 <+Steffanx> Of course you know morgan, mr freeman :) 2013-01-10T15:37:14 < BJfreeman> 71 2013-01-10T15:37:26 < BJfreeman> oh the actor 2013-01-10T15:37:35 <+Steffanx> :P 2013-01-10T15:37:52 < BJfreeman> we would have a difficult time mergering our family trees 2013-01-10T15:38:33 < BJfreeman> mine is nordic, scotish, english, and a little apache 2013-01-10T15:38:52 <+Steffanx> heh 2013-01-10T15:39:24 < Thorn> what does it mean when BMP flashes error LED after plugging in USB cable? 2013-01-10T15:41:29 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-01-10T15:42:05 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-10T15:45:01 < zyp> that it's not connected to any targets 2013-01-10T16:15:13 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-10T16:16:01 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2013-01-10T16:16:39 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-10T16:22:54 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 240 seconds] 2013-01-10T16:23:50 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-10T16:30:08 < Thorn> but sometimes the activity led turns on with BMP is started with no target connected 2013-01-10T16:30:55 < zyp> you mean the uart led? 2013-01-10T16:31:23 < Thorn> no the one that can be dim or bright 2013-01-10T16:31:40 < Thorn> although the uart led does that too sometimes 2013-01-10T16:31:48 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-01-10T16:31:59 < zyp> idle/run led is always on at startup on mine, sometimes the uart led too 2013-01-10T16:32:16 < zyp> as far as I've observed 2013-01-10T16:32:48 < zyp> it seems a bit nondeterministic, I assume it has to do with usb event timing and other semi-random stuff 2013-01-10T16:34:43 < Thorn> I plugg it in, red error LED flashes, Black Magic Probe (upgrade) is detected, no serial ports 2013-01-10T16:35:03 < Thorn> this happens most of the time on BMP startup 2013-01-10T16:35:07 < zyp> oh, you mean bootloader starts? 2013-01-10T16:35:24 < Thorn> probably. I don't press any buttons 2013-01-10T16:35:34 < zyp> then you forgot the pullup on the button 2013-01-10T16:37:14 < Thorn> it's there 2013-01-10T16:38:24 < zyp> then something is wrong. 2013-01-10T16:39:52 < Thorn> checked continuity, all is fine 2013-01-10T16:40:42 < zyp> scope the signal, does it look fine? 2013-01-10T16:40:55 < zyp> i.e. while powercycling BMP 2013-01-10T16:42:31 < Thorn> no, everything is not fine, my pullup is at the wrong side of the button x_x 2013-01-10T16:43:30 <+Steffanx> opos 2013-01-10T16:43:32 < Thorn> BMP starts normally if I press the button when powering it as expected with this circuit 2013-01-10T16:43:33 <+Steffanx> *oops 2013-01-10T16:43:45 < zyp> the fun part about debugging issues is the moment when it turns out that my deduction was right :) 2013-01-10T16:44:22 <+Steffanx> but you were wrong. The pullup is there :P 2013-01-10T16:45:42 < zyp> not when it's in the wrong place. 2013-01-10T16:46:25 < Thorn> but that doesn't explain my LPC problems 2013-01-10T16:46:53 < zyp> which problems? 2013-01-10T16:47:11 < zyp> which lpc are you using? 2013-01-10T16:47:26 < zyp> does the target board have a proper pullup on reset signal? 2013-01-10T16:48:25 < Thorn> my black magic detects stm32 targets every time both via jtag and swd. lpc have been detected only a few times and attach worked literally 2 or 3 times. lpc1766 and lpc11c22. reset is pulled up with 10K on both boards 2013-01-10T16:49:08 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-01-10T16:49:12 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-10T16:49:24 < zyp> hmm 2013-01-10T16:49:34 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-10T16:49:42 < zyp> you are running latest revision from official github? 2013-01-10T16:50:12 < Thorn> pulled 2 days ago 2013-01-10T16:50:30 < zyp> hmm 2013-01-10T16:50:40 < zyp> sounds weird 2013-01-10T16:50:48 < zyp> but I don't have much experience with lpc 2013-01-10T16:51:05 < Thorn> error messages a random: no usable targets, swd scan failed, sometimes it finds a generic cortex-m 2013-01-10T16:51:28 < zyp> yes, I don't think there is lpc17xx support yet 2013-01-10T16:52:05 < zyp> i.e. no flashing routines 2013-01-10T16:52:06 < Thorn> there's not but I was able to stop/start it twice 2013-01-10T16:52:21 < Thorn> out off 100 tries 2013-01-10T16:52:22 < zyp> the generic m4 should work fine though 2013-01-10T16:54:01 < zyp> I have not had any problems with lpc43xx apart from debugger interface not being available during chip reset and sysresetreq doing something that kills the debugger connection 2013-01-10T16:54:50 < zyp> attaching has been working fine, and continue/halt has been working fine once attached 2013-01-10T16:59:28 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-10T16:59:36 < Tectu> http://www.holmea.demon.co.uk/SpecAnHtml/SpecAn.htm 2013-01-10T17:01:25 < Thorn> I just scoped swd signals again and they look more or less good. 2013-01-10T17:03:47 < zyp> tried jtag aswell? 2013-01-10T17:04:13 < Thorn> lpc11 doesn't have it 2013-01-10T17:04:41 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-10T17:05:16 < zyp> but on the 17xx 2013-01-10T17:05:48 < emeb_mac> meh - swept filter/detector spectrum analyzers are so 20th-century. 2013-01-10T17:05:48 < Thorn> doesn't recognize target. 2013-01-10T17:06:36 < zyp> nothing at all? 2013-01-10T17:07:40 < emeb_mac> I still don't get why the Voh would be reduced on the LPC parts. 2013-01-10T17:08:27 < emeb_mac> is it possible the SWD pins are dual-purpose on LPC and there's contention? 2013-01-10T17:11:13 < Thorn> they are multipurpose but swd is enabled at startup unless CRP is active 2013-01-10T17:11:43 < Thorn> signals with stm32 connected look exactly the same (and it works reliably) 2013-01-10T17:11:55 < Tectu> what's CRP? 2013-01-10T17:12:03 < zyp> code read protection 2013-01-10T17:12:04 < Thorn> code read protection 2013-01-10T17:12:11 <+Steffanx> I think it's code read protection 2013-01-10T17:12:27 <+Steffanx> (just because zyp and Thorn seem to agree on that) 2013-01-10T17:15:11 < emeb_mac> I'm thinking something more scatalogical. :P 2013-01-10T17:15:21 -!- baird [~cjb@ppp121-44-142-47.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-10T17:15:27 < Thorn> connected lpc1766, both jtag and swd recognize it, attached, issued 'c', got SIGLOST 2013-01-10T17:15:58 < emeb_mac> so swd works until you try to do something with it... 2013-01-10T17:16:06 < zyp> and this happens on multiple boards? 2013-01-10T17:16:09 < Thorn> since then some kind of error happens (Remote failure reply: EFF) and swd doesn't seem to work any more 2013-01-10T17:16:17 < zyp> because this sounds like a bad connection somewhere 2013-01-10T17:16:41 < Thorn> it certainly does but I checked everything I could 2013-01-10T17:16:52 < zyp> oh, by the way, is there any software flashed to the boards yet? 2013-01-10T17:16:55 < emeb_mac> or there's some minor difference in the way swd is implemented between lpc and stm. 2013-01-10T17:16:56 < Thorn> I'm planning to build more boards soon 2013-01-10T17:17:00 < Thorn> yes there is 2013-01-10T17:17:02 < emeb_mac> and bmp does it wrong for lpc 2013-01-10T17:17:12 < zyp> Thorn, and it works? 2013-01-10T17:17:29 < Thorn> yes (flashed via isp) 2013-01-10T17:18:45 < zyp> what happens if you don't try to execute, but go inspect memory and registers or something instead? 2013-01-10T17:19:41 < Thorn> works great (lpc1766, jtag) 2013-01-10T17:19:57 < zyp> no problems at all? 2013-01-10T17:20:01 < zyp> what about swd? 2013-01-10T17:20:12 < Thorn> I can display both registers and memory, address 0x00 has top of stack as expected 2013-01-10T17:20:49 < Thorn> swd says "no usable targets found" again 2013-01-10T17:21:53 < dongs> http://i.imgur.com/pv5uz.png now thats one fuck of an evil pattern 2013-01-10T17:22:36 <+Steffanx> Evil? No 666 there 2013-01-10T17:22:53 < Thorn> attached via jtag again, p/x *(0x00)-> 0x10008000 2013-01-10T17:23:11 < Thorn> swd still fails 2013-01-10T17:23:43 < Thorn> bmp bug with lpc+swd? 2013-01-10T17:24:04 < zyp> shouldn't be 2013-01-10T17:24:10 < zyp> I've been using swd with lpc4300 2013-01-10T17:31:08 < Laurenceb> at least its through hole? 2013-01-10T17:31:43 < Laurenceb> http://www.n-prize.com/ 2013-01-10T17:31:46 < Laurenceb> haha its closed 2013-01-10T17:32:30 <+Steffanx> uh? 2013-01-10T17:34:00 < Laurenceb> http://code.google.com/p/moon-20/wiki/WikiBalloon_Launch15 2013-01-10T17:34:03 < Laurenceb> those jokers 2013-01-10T17:34:13 <+Steffanx> with a mass of between 9.99 and 19.99 grams :D 2013-01-10T17:35:39 <+Steffanx> Laurenceb is jealous 2013-01-10T17:37:19 < Laurenceb> http://www.youtube.com/watch?v=CauuV7ypWNU&list=UUAvf028nQt0tYFM2vLEtpXg&index=4 2013-01-10T17:37:21 < Laurenceb> i lolled 2013-01-10T18:01:28 < emeb_mac> why a soda can? seems like that's not ideal from a temperature standpoint. 2013-01-10T18:02:32 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-10T18:03:46 < Laurenceb> you dont say 2013-01-10T18:03:53 < Laurenceb> video is proof 2013-01-10T18:04:52 < Laurenceb> they dont know anything about rocket construction 2013-01-10T18:05:21 < Laurenceb> they need a hole down the middle of the fuel grain for a start 2013-01-10T18:05:23 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-10T18:05:37 < Laurenceb> they dont know anything about rocket construction 2013-01-10T18:06:23 < emeb> seems like 2013-01-10T18:06:39 < Laurenceb> they need a hole down the middle of the fuel grain for a start - otherwise it burns from one end 2013-01-10T18:06:54 < Laurenceb> and that end gets annihilated, as seen in video 2013-01-10T18:07:11 < Laurenceb> then they need ablative liner 2013-01-10T18:07:13 < qyx_> what's the mateirla of the nozzle? 2013-01-10T18:07:19 < emeb> right - that's like part of even model rocket solid fuel engines. 2013-01-10T18:07:20 < qyx_> it seems to be some king of plastic to me 2013-01-10T18:07:27 < Laurenceb> looks like steel 2013-01-10T18:07:28 < qyx_> kind 2013-01-10T18:07:59 < Laurenceb> you can make decent nozzels from fibreglass if you know what you are doing 2013-01-10T18:08:11 < Laurenceb> better to use silica ribbon rather than glass 2013-01-10T18:09:11 < qyx_> it is burning from all sides 2013-01-10T18:09:27 < qyx_> O_o 2013-01-10T18:09:30 < qyx_> can fail 2013-01-10T18:09:36 < Laurenceb> its also feasible they mis-sized the nozzel 2013-01-10T18:09:45 < Laurenceb> itd be very hard to make it work 2013-01-10T18:09:48 < emeb> looks kinda small 2013-01-10T18:09:55 < BrainDamage> odd, some of the past designs had ablative shield 2013-01-10T18:09:57 < Laurenceb> solids can flame out at <1MPa 2013-01-10T18:10:00 < BrainDamage> which worked ok-ish 2013-01-10T18:10:17 < Laurenceb> and drink cans cant withstand much more 2013-01-10T18:10:53 < Laurenceb> i did an n-prize design when the project was first announced 2013-01-10T18:11:06 < Laurenceb> imo the mass is too high and the budget too high 2013-01-10T18:11:13 < Laurenceb> id go for 5grams, 500UKP 2013-01-10T18:11:50 < Laurenceb> then two stage off the shelf solid reloads launched from a balloon 2013-01-10T18:11:58 < Laurenceb> ~2KG launch mass 2013-01-10T18:12:34 < Laurenceb> off the shelf carbon fibre tube with wound silica ribbon nozzels 2013-01-10T18:12:45 < Laurenceb> looked very feasible in simulation 2013-01-10T18:12:51 <+Steffanx> simulation :P 2013-01-10T18:12:56 < Laurenceb> heh 2013-01-10T18:13:12 < BrainDamage> well, if you're tight on budget / time, simulation is better than nothing 2013-01-10T18:13:24 < Laurenceb> it included published drag figures and stuff 2013-01-10T18:13:35 < BrainDamage> at least better than burn #250 failures 2013-01-10T18:13:43 < Laurenceb> ended up with something fairly believable 2013-01-10T18:13:45 < Laurenceb> exactly 2013-01-10T18:13:55 -!- barthess [~barthess@77.67.252.13] has joined ##stm32 2013-01-10T18:13:56 < Laurenceb> with stuff like that you want it to work first test 2013-01-10T18:14:08 < Laurenceb> 250 fails is a waste of time 2013-01-10T18:14:46 < Laurenceb> thing is all the work was done already, in the 50s and 60s 2013-01-10T18:15:10 < Laurenceb> you just need to grab the old papers and copy their wind tunnel test data and small solid nozzel designs 2013-01-10T18:15:50 < Laurenceb> on explorer 1 they even did apogee fitting to radio doppler 2013-01-10T18:16:06 < Laurenceb> same technique you'd need to trigger staging with an n-prize rockoon 2013-01-10T18:16:30 < Laurenceb> but they used an analogue "computer" 2013-01-10T18:16:35 < BrainDamage> 5g is really tight on budget 2013-01-10T18:16:38 < BrainDamage> for electronics 2013-01-10T18:16:50 < Laurenceb> yeah but doable 2013-01-10T18:17:09 < Laurenceb> meanwhile if you are allowed to reuse the balloon launch platform the budget is too high 2013-01-10T18:17:58 < Laurenceb> carbon fibre tube + rocketry reloads + latex balloon + tiny ism band transceiver board for staging 2013-01-10T18:18:02 < Laurenceb> is like UKP500 2013-01-10T18:18:54 < qyx_> why are they using alluminium can all the time? 2013-01-10T18:19:08 < emeb> brain-lock 2013-01-10T18:19:17 < Laurenceb> but who cares, no chance of any of those teams even making a rocket that fires 2013-01-10T18:19:18 < emeb> someone had that idea early-on and they can't let go 2013-01-10T18:19:20 < Laurenceb> lol 2013-01-10T18:19:22 < Laurenceb> yeah 2013-01-10T18:20:13 < Laurenceb> n-prize has basically been done already, just copy explorer1, use carbon fibre and swap stage 1 for a weather balloon 2013-01-10T18:20:39 < Laurenceb> http://en.wikipedia.org/wiki/Explorer_1 2013-01-10T18:22:40 < qyx_> fuu 2013-01-10T18:22:47 < qyx_> that 41th burn seems promising 2013-01-10T18:23:11 < qyx_> vax + fiberglass.. can it really burn? 2013-01-10T18:23:59 < Laurenceb> i think they mean they actually thought to add fibreglass insulation 2013-01-10T18:24:06 < Laurenceb> wait wtf 2013-01-10T18:24:12 < qyx_> see that video 2013-01-10T18:24:21 < qyx_> http://www.youtube.com/watch?v=0Zn4y0FXJnM&list=UUAvf028nQt0tYFM2vLEtpXg 2013-01-10T18:24:23 < Laurenceb> wax+fibreglass is _not_ a suitable ablative 2013-01-10T18:24:26 < Laurenceb> epic fail 2013-01-10T18:24:57 < Laurenceb> why dont they get some polyurethane resin.. or at least epoxy 2013-01-10T18:25:52 < qyx_> what is actually burning inside? 2013-01-10T18:26:09 < Laurenceb> some kind of diy propellant 2013-01-10T18:26:28 < Laurenceb> good mass ratio... 2013-01-10T18:26:30 < BrainDamage> usually it's a reactive metal + oxidizer 2013-01-10T18:26:48 < Laurenceb> youd struggle to get that high with a simple diy carbon fibre rocket... 2013-01-10T18:26:51 < BrainDamage> like aluminium and amonium percholrate, or similar 2013-01-10T18:26:57 < Laurenceb> hmm no wonder it fails :P 2013-01-10T18:27:36 < Laurenceb> wow it kind of worked.. 2013-01-10T18:27:54 < Laurenceb> i think partly as nozzel is too large - not sure its even choking 2013-01-10T18:28:29 < BrainDamage> I doubt they even know what a delaval nozzle is 2013-01-10T18:28:34 < Laurenceb> haha 2013-01-10T18:29:01 < Laurenceb> its more of a flame gun than a rocket 2013-01-10T18:29:19 < Laurenceb> but i guess it might have worked in a vacuum.. or more likely it would flame out 2013-01-10T18:32:01 < Laurenceb> hmm that wasnt bad - they needed to do a proper grain geometry 2013-01-10T18:32:32 < Laurenceb> of course they are too retarded to copy the one engine that worked and take it from there... 2013-01-10T18:32:51 < Laurenceb> nearly 2 minutes burn time 2013-01-10T18:34:02 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-10T18:37:00 < qyx_> Laurenceb: the 41th one? 2013-01-10T18:37:06 < Laurenceb> yes 2013-01-10T18:37:09 < qyx_> yes, it burned quite long 2013-01-10T18:38:07 < BrainDamage> do they have measurements of their specific impulse? 2013-01-10T18:38:22 < qyx_> http://www.youtube.com/watch?v=pX4NPKNjSAE 2013-01-10T18:38:30 < Laurenceb> dont know 2013-01-10T18:38:34 < qyx_> that hybrid engines also look good 2013-01-10T18:47:04 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 260 seconds] 2013-01-10T18:52:32 -!- barthess [~barthess@77.67.252.13] has quit [Quit: Leaving.] 2013-01-10T19:01:15 -!- Claude is now known as claude 2013-01-10T19:12:30 -!- Gargantuasauce [~Gargantua@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-10T19:13:38 <+Steffanx> A miracle they didn't get injured qyx_ .. 2013-01-10T19:21:43 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 240 seconds] 2013-01-10T19:27:22 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-10T19:33:58 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-10T20:02:04 -!- Netsplit *.net <-> *.split quits: fergusnoble, Gargantuasauce, BrainDamage, TeknoJuce, BusError, +Steffanx, esden 2013-01-10T20:02:15 -!- Netsplit over, joins: Gargantuasauce 2013-01-10T20:02:23 -!- Netsplit over, joins: BusError 2013-01-10T20:02:23 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-10T20:02:24 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-10T20:02:24 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-10T20:02:26 -!- Netsplit over, joins: BrainDamage 2013-01-10T20:04:10 -!- Netsplit over, joins: esden, fergusnoble 2013-01-10T20:04:34 -!- Netsplit over, joins: Steffanx 2013-01-10T20:04:34 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-10T20:23:08 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-10T20:27:25 < jpa-> lol, remember when i was looking for a dummy peripheral register one day? I found it! CRC->IDR :D 2013-01-10T20:28:47 <+Steffanx> Don't remember. .. but how it's a dummy register? 2013-01-10T20:28:52 <+Steffanx> Sure it's not used for anything? 2013-01-10T20:30:25 < jpa-> i'm not using the CRC anyway, but looks like it's not very useful for anything 2013-01-10T20:30:40 < jpa-> Description: General-purpose 8-bit data register bits Can be used as a temporary storage location for one byte. 2013-01-10T20:31:12 <+Steffanx> lol 2013-01-10T20:31:18 <+Steffanx> Just an extra register for crap ? :) 2013-01-10T20:31:24 < jpa-> apparently 2013-01-10T20:31:41 < emeb> uh... yay? 2013-01-10T20:31:42 < jpa-> https://github.com/grissiom/rtgui-stm32-tut/blob/master/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_crc.c#L133 though it is important enough so that ST provides useful functions for it! 2013-01-10T20:44:35 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Read error: Connection reset by peer] 2013-01-10T20:45:43 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-10T20:46:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-10T20:47:39 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-01-10T21:05:07 < qyx_> jpa-: lol 2013-01-10T21:05:27 < qyx_> shoud me called CDR 2013-01-10T21:05:28 < qyx_> be 2013-01-10T21:07:29 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-10T21:16:39 <+Steffanx> Crap Data Register qyx_ ? 2013-01-10T21:17:31 <+Steffanx> I will call it SDRFJPABHWLFI 2013-01-10T21:17:43 < emeb> cat-like typing detected 2013-01-10T21:17:58 <+Steffanx> *Special Data Register For JPA Because He Was Looking For It 2013-01-10T21:20:21 <+Steffanx> You have a detector for SCLT emeb ? 2013-01-10T21:20:40 <+Steffanx> *-S 2013-01-10T21:21:26 < emeb> Steffanx: not really - just remember an old Windows app that was designed to detect/block that. 2013-01-10T21:22:04 <+Steffanx> Windows? Not DOS? 2013-01-10T21:22:07 < emeb> http://www.bitboost.com/pawsense/ 2013-01-10T21:22:12 <+Steffanx> Sounds like something that's necessary for DOS 2013-01-10T21:31:00 < qyx_> Steffanx: exactyl 2013-01-10T21:42:58 <+Steffanx> What kind of chemical crap is that qyx_ ? 2013-01-10T21:56:58 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-10T21:59:43 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 240 seconds] 2013-01-10T22:10:24 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-10T22:15:23 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-01-10T22:23:22 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-10T22:32:20 < Tectu> so guys... here's an easy one: Let's say you have four leds to display a nibble. The nibble is ordered like 3 2 1 0 but now you want to mirror output it 0 1 2 3 how does one do that? 2013-01-10T22:32:33 < Tectu> changing the LED wiring dosen't count 2013-01-10T22:42:09 < jpa-> const int mymap[16] = {0, 8, 4, 12, ...}; val = mymap[val]; 2013-01-10T22:58:32 < emeb> I do that on inputs as well to remap toggle on-off-on switches to binary values that make sense. 2013-01-10T22:59:23 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-10T23:01:11 < emeb> zyp's house: http://www.ignant.de/2012/09/12/trollstigen/ 2013-01-10T23:03:05 < Laurenceb_> http://www.ignant.de/wp-content/uploads/2012/09/trollstigen_04.jpg 2013-01-10T23:03:12 < Laurenceb_> _slight_ issues if it floods 2013-01-10T23:03:45 < zyp> Trollstigen means Troll's ladder or something like that 2013-01-10T23:03:59 < zyp> it's a scenic mountain road 2013-01-10T23:04:04 < Laurenceb_> more like troll drowning 2013-01-10T23:04:17 < zyp> I drove it a few years ago 2013-01-10T23:04:30 < emeb> looks like a nice area - in summer. 2013-01-10T23:04:57 < zyp> the new buildings there on the top weren't built then 2013-01-10T23:05:24 < zyp> but it was still a nice trip 2013-01-10T23:05:45 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-10T23:06:41 -!- theAdib [~adib@dslb-088-074-144-073.pools.arcor-ip.net] has joined ##stm32 2013-01-10T23:07:48 * Laurenceb_ is failing 2013-01-10T23:07:53 < emeb> This must be it - http://ow.ly/gI8sq 2013-01-10T23:08:44 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2013-01-10T23:09:25 < Laurenceb_> my linear actuator project is oscillating still 2013-01-10T23:09:37 < emeb> moar damping! 2013-01-10T23:09:44 < emeb> low pass filters! 2013-01-10T23:09:48 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-10T23:09:55 < Laurenceb_> no i need the speed 2013-01-10T23:10:15 < emeb> oh. hysteresis? 2013-01-10T23:10:28 < Laurenceb_> i dont really understand 2013-01-10T23:10:38 <+Steffanx> That house is !@$% awesome emeb, the first one 2013-01-10T23:10:40 < Laurenceb_> i think its viscoelasticity and things 2013-01-10T23:10:57 <+Steffanx> Cosmic inteference, for sure 2013-01-10T23:11:24 < emeb> parkinsons disease? 2013-01-10T23:11:29 < Laurenceb_> lolz 2013-01-10T23:11:50 < Laurenceb_> its designed to press on peoples arms and apply pressure/time profiles... 2013-01-10T23:12:06 < Laurenceb_> its failing epically 2013-01-10T23:12:15 <+Steffanx> Hmm, where is that thing going to be used Laurenceb_ ? 2013-01-10T23:12:25 <+Steffanx> I mean which hospital in the UK? 2013-01-10T23:12:32 < Laurenceb_> maybe... 2013-01-10T23:12:37 <+Steffanx> Where? 2013-01-10T23:12:47 < Laurenceb_> somewhere... 2013-01-10T23:12:47 <+Steffanx> I dont want to go to THAT hospital :P 2013-01-10T23:12:50 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 255 seconds] 2013-01-10T23:12:50 < Laurenceb_> lolz 2013-01-10T23:13:18 < emeb> "do you know the difference between pie and an old shoe? No? Then I don't want to eat pie at your house." 2013-01-10T23:13:20 < Laurenceb_> well its not going anywhere fast 2013-01-10T23:13:33 <+Steffanx> Especially when it starts to write on my arm "trolled by L.B. 2013-01-10T23:13:35 <+Steffanx> " 2013-01-10T23:13:47 < emeb> lol 2013-01-10T23:13:49 < Laurenceb_> https://raw.github.com/Laurenceb/Chibi-Spectro/master/tests/stepper/hand2-crop.png 2013-01-10T23:14:15 <+Steffanx> Fancy, fancy 2013-01-10T23:14:25 <+Steffanx> Can it show something on your fancy phone yet? 2013-01-10T23:14:34 < Laurenceb_> wut 2013-01-10T23:14:46 < emeb> so it presses your chroma detector and measures how color changes w/ pressure? 2013-01-10T23:14:57 <+Steffanx> You have no idea how kickstarter works do you? 2013-01-10T23:14:58 < Laurenceb_> more or less 2013-01-10T23:15:00 < Laurenceb_> haha 2013-01-10T23:15:02 <+Steffanx> IT HAS TO WORK WITH YOUR FANCY PHONE 2013-01-10T23:15:15 < Laurenceb_> that pressure profile is supposed to be square 2013-01-10T23:15:24 < emeb> figured that 2013-01-10T23:15:34 <+Steffanx> Looks pretty 'square-ish' to me 2013-01-10T23:15:35 < Laurenceb_> you can see the viscoelasticity giving the exponential shape 2013-01-10T23:15:44 < Laurenceb_> not enough - i need about 1% 2013-01-10T23:15:48 < Laurenceb_> pressure error 2013-01-10T23:16:02 <+Steffanx> Doesn't look worse than the average pwm signal :) 2013-01-10T23:16:05 < Laurenceb_> the only thing it does well is pressure shift - takes about 50ms 2013-01-10T23:16:14 < emeb> I'm guessing your control loop needs some crazy heuristics to work in the presence of nonlinearities. 2013-01-10T23:16:31 < Laurenceb_> yes 2013-01-10T23:16:40 < Laurenceb_> ive been trying to cheat 2013-01-10T23:16:49 < Laurenceb_> and make it really fast to just adjust 2013-01-10T23:17:00 < Laurenceb_> but now its oscillating at ~40hz 2013-01-10T23:17:05 <+Steffanx> It is powerful enough to crush someones arm? 2013-01-10T23:17:13 < Laurenceb_> easily :P 2013-01-10T23:17:26 < Laurenceb_> >100W 2013-01-10T23:17:42 <+Steffanx> Uhm, wut? 2013-01-10T23:17:48 < Laurenceb_> the motor power 2013-01-10T23:18:15 <+Steffanx> Why on earth you need a motor of "> 100W" for that? 2013-01-10T23:18:21 < emeb> speed 2013-01-10T23:18:28 < Laurenceb_> yup 2013-01-10T23:18:59 < emeb> f=ma baby. 2013-01-10T23:18:59 < Laurenceb_> im tempted to make a pneumatic bladder on the end 2013-01-10T23:19:14 < Laurenceb_> if i can get something sane out of this by the end of the week... 2013-01-10T23:19:40 <+Steffanx> speed… like that is important? 2013-01-10T23:19:57 < emeb> what happens if you hook it to a purely elastic spring - no nonlinearities? 2013-01-10T23:20:11 < emeb> like pressing into a steel spring. 2013-01-10T23:20:17 < emeb> is it happy then? 2013-01-10T23:22:18 <+Steffanx> emeb, you don't understand do you? 2013-01-10T23:22:34 <+Steffanx> It's not the motor/linear actuator that is unhappy.. it is Laurenceb 2013-01-10T23:22:45 < Laurenceb_> emeb: thats what is displayed in that plot 2013-01-10T23:22:45 < emeb> :) 2013-01-10T23:22:59 < Laurenceb_> i used an extended kalman filter that assumed it was linear and elastic 2013-01-10T23:23:27 < Laurenceb_> it then controls the "simulated" actuator running 10ms in the future 2013-01-10T23:23:36 < emeb> Laurenceb_: then where is that expo decay characteristic coming from? 2013-01-10T23:23:53 < Laurenceb_> the viscoelastic behaviour of the arm 2013-01-10T23:24:12 < emeb> right - so now you're modeling the final application environment. 2013-01-10T23:24:12 <+Steffanx> So it changes when you measure a super fat yankeelander arm? 2013-01-10T23:24:13 < Laurenceb_> its mismodeled by the kalman 2013-01-10T23:24:36 < Laurenceb_> ive set a fairly large deadband as well 2013-01-10T23:24:46 <+Steffanx> vs someone with anorexia 2013-01-10T23:24:47 < Laurenceb_> thats why theres discrete steps 2013-01-10T23:24:53 < emeb> so I assume if you do a simplified model with none of the viscosity then it behaves? 2013-01-10T23:24:58 < Laurenceb_> yes 2013-01-10T23:25:10 < Laurenceb_> ive simulated something linear and its ok 2013-01-10T23:25:25 < emeb> right 2013-01-10T23:25:35 < Laurenceb_> the simple EKF code actually gave the best performance :-/ 2013-01-10T23:25:56 < Laurenceb_> ive tried to improve it by decoupling the arm position estimate from the kalman 2013-01-10T23:26:01 < Laurenceb_> which isnt working well 2013-01-10T23:26:33 < Laurenceb_> https://github.com/Laurenceb/Chibi-Spectro/blob/master/threads/EKF_Pressure.c#L286 2013-01-10T23:26:57 < emeb> hairy stuff. 2013-01-10T23:27:00 < Laurenceb_> factor of 2.0 was to slow it down and try and stabilise.. actually makes it worse... 2013-01-10T23:27:16 < emeb> so plug in 0.5? :P 2013-01-10T23:27:17 < Laurenceb_> State[0] is kalman elasticity 2013-01-10T23:27:21 < Laurenceb_> hmm 2013-01-10T23:27:31 < Laurenceb_> yeah im just not convinced something is wrong 2013-01-10T23:27:37 < Laurenceb_> *isnt 2013-01-10T23:27:53 < Laurenceb_> target = /*(State[1]*/actuator_midway_position + ( (Setpoint-pressure) / (2.0*State[0]) ) ; 2013-01-10T23:28:13 < Laurenceb_> thats basically saying "target = position + delta_pressure/elasticity" 2013-01-10T23:28:17 < Laurenceb_> which seems sane right? 2013-01-10T23:28:40 < emeb> target is a pressure or a position? 2013-01-10T23:28:53 < Laurenceb_> position 2013-01-10T23:29:28 < Laurenceb_> https://github.com/Laurenceb/Chibi-Spectro/blob/master/hardware/Image0009.jpg 2013-01-10T23:29:33 < Laurenceb_> ^hardware 2013-01-10T23:29:51 < emeb> right. 2013-01-10T23:30:07 < emeb> looks sturdy enough that you don't have a lot of flex in the mount. 2013-01-10T23:31:52 < emeb> so basically "new position = current position + (some scale factor * pressure change) 2013-01-10T23:33:08 < emeb> bbiaw 2013-01-10T23:35:09 < Laurenceb_> yeah 2013-01-10T23:38:49 < Laurenceb_> unless.... im getting this 2013-01-10T23:38:50 < Laurenceb_> https://github.com/Laurenceb/Chibi-Spectro/blob/master/threads/EKF_Pressure.c#L289 2013-01-10T23:39:03 < Laurenceb_> never checked for that with a breakpoint 2013-01-10T23:39:20 <+Steffanx> lolcode 2013-01-10T23:39:31 <+Steffanx> @ line 309+ 2013-01-10T23:40:10 <+Steffanx> "Backapply" is that english Laurenceb? 2013-01-10T23:44:01 < gxti> cherrypoop 2013-01-10T23:45:28 <+Steffanx> Google only knows cherry pop gxti 2013-01-10T23:46:01 < gxti> "google used cherry pop! it's super effective!" 2013-01-10T23:46:32 <+Steffanx> Yes yes. At least a few smart yankeelanders 2013-01-10T23:57:37 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] --- Day changed Fri Jan 11 2013 2013-01-11T00:04:09 < Thorn> WTF 2013-01-11T00:04:29 < Thorn> built second black magic clone, seems to work well with my lpc11. 2013-01-11T00:05:23 < zyp> oh no :( 2013-01-11T00:05:40 < Thorn> (except the fact that it lacks the LDO because the ones that I have turn out to have different pinout. cost to find out: 1 LDO) 2013-01-11T00:06:05 < Thorn> I love electronics more with every day. 2013-01-11T00:06:32 < Thorn> I can now see where my lpc is harfdailing. 2013-01-11T00:08:27 < Thorn> btw, bmc refuses to flash a fresh chip (second bmc) and st-link does too but it has a "halt" button deep within it after pressing which it recognizes the swd port and flashes the chip 2013-01-11T00:08:57 < Thorn> apparently it has to do with the core being in lockup (why?) 2013-01-11T00:09:25 < Thorn> and WHAT IS DIFFERENT BETWEEN THE TWO BMCs 2013-01-11T00:10:09 < Thorn> (inb4 one works, another doesn't) 2013-01-11T00:13:04 < emeb> heh: s/bmc/bmp/ 2013-01-11T00:13:21 < Thorn> mine are called BMC 2013-01-11T00:13:35 < zyp> I've flashed several blank chips with bmp, so I'd have to disagree 2013-01-11T00:13:37 < emeb> flyback will be pleased 2013-01-11T00:13:54 < Thorn> emeb: why? 2013-01-11T00:14:09 < emeb> that's one of his favorite epithets. 2013-01-11T00:14:17 < zyp> I flashed bootloaders to all my clones with my original bmp 2013-01-11T00:14:52 < zyp> and I've also flashed the F3 breakouts and a bunch of other stuff 2013-01-11T00:15:04 < emeb> Thorn: maybe the first bmc has a damaged output pin? 2013-01-11T00:15:23 < emeb> although I've rarely seen that. 2013-01-11T00:15:38 < Thorn> but it works flawlessly with stm32 targets 2013-01-11T00:16:47 < emeb> tried reflowing all the pins on the mcu? 2013-01-11T00:17:04 < emeb> (yeah - that's my first line debug technique) 2013-01-11T00:17:50 < zyp> I don't tend to have much problems with bad solder joints 2013-01-11T00:18:00 < emeb> that's because you reflow 2013-01-11T00:18:11 < zyp> apart from the ones thad bridges during reflow, but I always catch them by visual inspection 2013-01-11T00:18:12 < emeb> I used to hand-solder each pin individually 2013-01-11T00:18:14 < zyp> :) 2013-01-11T00:18:40 < emeb> it's been less of an issue now that I've been drag soldering. 2013-01-11T00:18:53 < zyp> you didn't do that before? 2013-01-11T00:18:57 < emeb> no 2013-01-11T00:19:07 <+Steffanx> ppor you 2013-01-11T00:19:08 < emeb> touch each pin with a fine-point tip. 2013-01-11T00:19:15 < Thorn> more expertise required: my lpc11 fails in ____aeabi_uidiv_from_thumb (). latest gcc-arm -mthumb -mcpu=cortex=m0, linked with -mthumb 2013-01-11T00:19:18 < emeb> it was... less than effective. 2013-01-11T00:19:54 < zyp> Thorn, what does CFSR say? 2013-01-11T00:21:54 < zyp> hmm, CFSR is not present in M0 2013-01-11T00:22:07 < Thorn> dfsr 2013-01-11T00:22:13 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2013-01-11T00:23:05 < Thorn> "cannot access memory at 0xe000ed30" 2013-01-11T00:23:43 < zyp> hmm 2013-01-11T00:24:18 -!- DaKu is now known as daku 2013-01-11T00:24:27 < zyp> doesn't look that M0 has any registers recording reason for the hardfault 2013-01-11T00:24:36 < zyp> s/that/like/ 2013-01-11T00:25:51 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T00:26:02 < emeb> "I'm dead - doesn't matter why" 2013-01-11T00:26:43 < zyp> oh well, guess you still have stack content though 2013-01-11T00:26:59 < Thorn> well, it tries to do integer division 2013-01-11T00:27:13 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 2013-01-11T00:27:39 < Thorn> failing line: uint32_t Fdiv = (((SystemCoreClock*LPC_SYSCON->SYSAHBCLKDIV)/regVal)/16)/baudrate; 2013-01-11T00:28:22 < zyp> hmm 2013-01-11T00:28:26 < zyp> 23:19:15 < Thorn> more expertise required: my lpc11 fails in ____aeabi_uidiv_from_thumb (). latest gcc-arm -mthumb -mcpu=cortex=m0, linked with -mthumb 2013-01-11T00:28:36 < emeb> m0 doesn't have a divide instr does it? 2013-01-11T00:28:42 < zyp> is «cortex=m0» a typo just here or in your makefile? 2013-01-11T00:28:46 < zyp> no, it doesn't 2013-01-11T00:29:00 < zyp> that's why gcc inserts a function call instead 2013-01-11T00:29:08 < Thorn> -mcpu=cortex-m0 -mthumb 2013-01-11T00:29:34 < zyp> my guess: you forgot to pass those parameters to the linking command, only the compiling commands 2013-01-11T00:29:44 < zyp> so it doesn't apply for selecting correct multilib 2013-01-11T00:29:47 < zyp> and thus it fails 2013-01-11T00:30:04 < Thorn> linker only seems -mthumb currently. 2013-01-11T00:30:13 < zyp> then that's probably it 2013-01-11T00:30:21 < Thorn> testing 2013-01-11T00:31:30 < Thorn> WORKS 2013-01-11T00:31:33 < Thorn> thank you. 2013-01-11T00:31:36 < zyp> great 2013-01-11T00:35:43 -!- theAdib [~adib@dslb-088-074-144-073.pools.arcor-ip.net] has quit [Quit: Ex-Chat] 2013-01-11T00:39:57 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-11T00:40:29 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T00:43:15 * Laurenceb_ zzz 2013-01-11T00:43:54 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2013-01-11T00:48:58 < Thorn> btw I wrote my own startup and linker script for lpc11c22 (will work for lpc1114 etc.) if anyone needs. 2013-01-11T00:52:18 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-01-11T01:02:30 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-11T01:09:11 -!- _BJFreeman [~bjfree@45.sub-75-233-123.myvzw.com] has joined ##stm32 2013-01-11T01:11:44 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-01-11T01:11:46 -!- BJfreeman [~bjfree@45.sub-75-233-123.myvzw.com] has quit [Ping timeout: 256 seconds] 2013-01-11T01:12:36 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-11T01:13:44 -!- _BJFreeman is now known as BJfreeman 2013-01-11T01:21:19 < Thorn> it's nice to have a debugger (and it's also nice that zyp is so patient). 2013-01-11T01:21:30 < emeb> zyp is a good debugger. 2013-01-11T01:22:23 < zyp> :) 2013-01-11T01:22:52 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-11T01:57:45 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-11T02:03:07 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T02:06:12 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2013-01-11T02:32:01 < dongs> sup blogs 2013-01-11T02:45:04 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Ping timeout: 246 seconds] 2013-01-11T02:57:17 <+dekar_> Thorn, public domain and github it? 2013-01-11T03:45:32 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-11T03:50:03 -!- baird [~cjb@ppp121-44-142-47.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-11T03:53:56 < emeb> *cheep* *cheep* *cheep* 2013-01-11T03:58:39 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-11T04:01:24 -!- badger [~tom@cxkg.net] has quit [Read error: Operation timed out] 2013-01-11T04:01:28 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-11T04:12:53 < upgrdman> *chrip* *chirp* *chirp* 2013-01-11T04:12:58 < gxti> fgsfds! 2013-01-11T04:17:17 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-11T05:16:05 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2013-01-11T05:18:45 -!- Viper168 [~Viper@node201.19.251.72.1dial.com] has joined ##stm32 2013-01-11T05:18:45 -!- Viper168 [~Viper@node201.19.251.72.1dial.com] has quit [Changing host] 2013-01-11T05:18:45 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-11T05:22:42 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-11T05:23:29 < upgrdman> if i try to run make i get "make: arm-none-eabi-gcc: Command not found" but its in my $PATH and runs fine if i copy and paste the command into a terminal... wtf? 2013-01-11T05:26:15 < Gargantuasauce> environment variables are not magically global 2013-01-11T05:27:04 < upgrdman> its in my ~/.profile 2013-01-11T05:31:00 -!- flop [63f431a9@gateway/web/freenode/ip.99.244.49.169] has joined ##stm32 2013-01-11T05:34:00 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2013-01-11T05:36:07 -!- BJfreeman [~bjfree@45.sub-75-233-123.myvzw.com] has quit [Quit: had a good time] 2013-01-11T05:37:24 -!- _BJFreeman [~bjfree@45.sub-75-233-123.myvzw.com] has joined ##stm32 2013-01-11T05:39:36 -!- _BJFreeman is now known as BJfreeman 2013-01-11T06:04:23 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T06:06:11 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2013-01-11T06:19:11 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-11T06:27:13 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-01-11T06:50:43 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-11T06:50:52 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-11T06:59:29 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T06:59:36 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-11T07:02:12 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 2013-01-11T07:05:21 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 265 seconds] 2013-01-11T07:14:57 -!- BJfreeman [~bjfree@45.sub-75-233-123.myvzw.com] has quit [Quit: had a good time] 2013-01-11T07:36:40 < emeb_mac> man is dead here today. 2013-01-11T07:36:54 < emeb_mac> s/is/it's/ 2013-01-11T07:59:06 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-11T08:04:20 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-11T08:18:26 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Ping timeout: 252 seconds] 2013-01-11T09:01:53 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-01-11T09:03:11 -!- DLPeterson [~hazelnuss@168.150.200.33] has joined ##stm32 2013-01-11T09:13:21 -!- dekar__ [~dekar@212.255.253.63] has joined ##stm32 2013-01-11T09:13:24 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-01-11T09:16:28 < dongs> holy shit, so awesome 2013-01-11T09:16:31 < dongs> windows 8 opens lzh files 2013-01-11T09:16:36 < dongs> with its compressed folders stuff 2013-01-11T09:16:50 -!- dekar_ [~dekar@212.255.246.243] has quit [Ping timeout: 255 seconds] 2013-01-11T09:19:05 < baird> lzh? Bring on the 1980s! 2013-01-11T09:19:23 < dongs> #1 file compression format in japan, bro 2013-01-11T09:19:42 < baird> Knew that. I preferred it over zip back then too. 2013-01-11T09:20:03 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-11T09:20:12 < baird> Also _necessary_ for creepy jap pedo KISS files. 2013-01-11T09:20:18 < dongs> haha 2013-01-11T09:27:23 < Tectu> so many serial terminals allow it to send files eh? So i should be able to simply send a CSV file and receive it on my MCU? 2013-01-11T09:31:55 < baird> Usually... 2013-01-11T09:32:43 < baird> Something else I've done was actually wrap the data to be uploaded into an elf-format file, which could then be load'ed directly into memory with gdb. 2013-01-11T09:33:41 < jpa-> you can load raw data to memory without it being elf wrapped also 2013-01-11T09:35:03 < Tectu> well, what I need is to transfer a waveform while runtime over USB into the MCU's RAM 2013-01-11T09:35:10 < Tectu> so no GDB magic ^^ 2013-01-11T09:37:25 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-11T09:41:01 < jpa-> Tectu: i would just write a python script and send it in binary 2013-01-11T09:41:08 < jpa-> but csv surely works also 2013-01-11T09:41:37 < Tectu> jpa-, okay, thank you! 2013-01-11T09:41:52 < Tectu> another question... reading the STM32F407 reference manual about the SPI to find the right clock settings. 2013-01-11T09:41:53 < Tectu> 000: fPCLK/2100: fPCLK/32 2013-01-11T09:42:00 < Tectu> 001: fPCLK/4101: fPCLK/64 2013-01-11T09:42:13 < Tectu> and so on... what does that mean now? is 000 fPCLK/2100 or 32? 2013-01-11T09:48:48 < flop> anyone can recommend me an RTOS? 2013-01-11T09:49:24 < jpa-> Tectu: 000: fPCLK/2 100: fPCLK/32 2013-01-11T09:49:36 < jpa-> flop: chibios 2013-01-11T09:50:13 < flop> what about freertos or micrium? 2013-01-11T09:50:21 < jpa-> fine choices also 2013-01-11T09:50:40 < flop> have you tried them all? 2013-01-11T09:50:43 < jpa-> with freertos you don't get any hardware abstraction layer 2013-01-11T09:50:51 < qyx_> i worked with freertos and it.. 2013-01-11T09:50:52 < qyx_> yes 2013-01-11T09:50:55 < qyx_> doesnt have any hal 2013-01-11T09:51:04 < jpa-> i have used freertos and chibios, i like chibios better because of the hal 2013-01-11T09:51:14 < qyx_> same here 2013-01-11T09:51:30 < jpa-> also have used nuttx, but it is a bit overkill for most tasks 2013-01-11T09:51:59 < Tectu> lol. thank's jpa 2013-01-11T09:52:04 < Tectu> flop, #chibios 2013-01-11T09:52:34 < Tectu> I only worked with ChibiOS so far, am quite happy with it. But of course I don't have any high needs 2013-01-11T09:52:41 < Tectu> friend of mine worked with that CooCoox stuff 2013-01-11T09:52:42 < dongs> < Tectu> so many serial terminals allow it to send files eh? So i should be able to simply send a CSV file and receive it on my MCU? 2013-01-11T09:52:43 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-11T09:52:44 < Tectu> and freertos 2013-01-11T09:52:46 < dongs> Tectu: hello zmodem/kermit/etc 2013-01-11T09:52:47 < Tectu> said chibios rocks more 2013-01-11T09:52:53 < dongs> chibios sucks 2013-01-11T09:53:06 < flop> dongs: which you use? 2013-01-11T09:53:12 < qyx_> dongs: you are too enterprise oriented 2013-01-11T09:53:13 < dongs> coos 2013-01-11T09:53:26 < dongs> cuz anything called 'cox' is a winner in my book 2013-01-11T09:53:26 < jpa-> dongs is too cock-oriented 2013-01-11T09:53:28 < Tectu> dongs dosen't use anything unless it's proprietary and not open sauce 2013-01-11T09:53:29 < dongs> yeah 2013-01-11T09:53:36 < Tectu> jpa-, badum-tss 2013-01-11T09:53:47 < jpa-> dongs: but i bet nuttx would work for you also 2013-01-11T09:53:53 < dongs> jpa-: nope 2013-01-11T09:54:02 < dongs> jpa-: you know why? nuttsx doesnt build by any normal compiler 2013-01-11T09:54:16 < dongs> gcc only, which rules out any srs work 2013-01-11T09:54:32 < qyx_> actually i couldnt get it compiled with gcc 2013-01-11T09:55:15 < dongs> haha 2013-01-11T09:55:33 < jpa-> dongs: hmm, as far as i see, the makefiles have support for atollic, "devkitarm" (whatever that is) and raisonance also 2013-01-11T09:55:56 < dongs> jpa-: makefiles? 2013-01-11T09:55:57 < jpa-> but yeah, it's not that great anyway, just the name fits 2013-01-11T09:55:57 < dongs> another fail 2013-01-11T09:56:18 < dongs> i should be able to just add os files into any IDE, configure a thing or two in a .h file and be done with it 2013-01-11T09:56:38 < jpa-> considering nuttx tries to imitate linux in most aspects, i guess dongs wouldn't like it anyway :) 2013-01-11T09:56:48 < dongs> you mean lunix 2013-01-11T09:56:51 < dongs> i was aware of that 2013-01-11T09:56:53 < dongs> some "posix" shite. 2013-01-11T09:56:57 < dongs> zippe would know more. 2013-01-11T10:12:17 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-11T10:17:00 < zippe> dongs: oddly, I do. 2013-01-11T10:17:15 < zippe> But since I have real work to do, poking the bugs in the jar has to wait. 2013-01-11T10:22:35 -!- dekar__ [~dekar@212.255.253.63] has quit [Quit: This computer has gone to sleep] 2013-01-11T10:43:12 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-11T10:44:13 -!- flop [63f431a9@gateway/web/freenode/ip.99.244.49.169] has quit [Ping timeout: 245 seconds] 2013-01-11T10:49:23 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-11T10:57:51 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-11T10:59:54 -!- dekar [~dekar@dslb-188-107-194-062.pools.arcor-ip.net] has joined ##stm32 2013-01-11T10:59:57 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-11T11:02:38 < LeelooMinai> Any opinion on stm touchsense library (F0)? 2013-01-11T11:02:44 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-11T11:07:43 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-11T11:12:15 < dongs> probably as exciting as CPAL 2013-01-11T11:22:54 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-01-11T11:23:58 -!- claude is now known as Claude 2013-01-11T11:24:53 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-11T11:36:01 < karlp> re linker scripts for lpc11c22, shouldn't they be the same as the ones in libopencm3 for instance, just with different flash/ram base addresses and sizes? 2013-01-11T11:38:22 < zyp> except that you might want to calculate the checksum vector in it 2013-01-11T11:42:40 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-11T11:45:22 < karlp> oh, just found that in the user manual. interesting :) 2013-01-11T11:49:47 < dongs> haha 2013-01-11T11:49:58 < dongs> im getting the allwhiner board that they wanted to look at the cryptop stuff at 2013-01-11T11:50:05 < dongs> apparently the data sources are coming off USB 2013-01-11T12:05:11 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-11T12:05:56 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2013-01-11T12:08:53 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-11T12:09:37 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 2013-01-11T12:10:33 < dongs> https://youtube.com/watch?v=wwolYFGM9pU haha retweeting 2013-01-11T12:15:54 < baird> Fish can shot vapour layer 2013-01-11T12:27:09 -!- dekar [~dekar@dslb-188-107-194-062.pools.arcor-ip.net] has quit [Ping timeout: 276 seconds] 2013-01-11T12:33:56 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-01-11T12:34:41 -!- dekar [~dekar@dslb-188-107-194-062.pools.arcor-ip.net] has joined ##stm32 2013-01-11T12:34:44 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-11T12:41:17 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-11T12:44:26 < dongs> https://youtube.com/watch?v=hvhfBtiTgEs retweeting 2013-01-11T12:46:50 < karlp> that's awesome! 2013-01-11T12:50:10 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-11T12:51:32 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2013-01-11T12:54:14 -!- DLPeterson [~hazelnuss@168.150.200.33] has quit [Quit: leaving] 2013-01-11T13:09:46 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2013-01-11T13:16:35 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 255 seconds] 2013-01-11T13:18:25 < baird> Needds more Moose 2013-01-11T13:22:20 < gkwhc> Hi, how can one identify a "memory mapped io/peripheral register"? 2013-01-11T13:24:27 < zyp> identify how? 2013-01-11T13:25:15 < gkwhc> well in the datasheet i see lots of register. how do I know which is memory mapped, as opposed to ones that are not? 2013-01-11T13:25:44 < zyp> uh, that's a pretty weird question 2013-01-11T13:26:21 < zyp> all the peripheral registers are memory mapped 2013-01-11T13:28:05 < zyp> what makes you think otherwise? 2013-01-11T13:29:53 < Laurenceb> "Unable to access DWARF register number 0x5b 2013-01-11T13:29:53 < Laurenceb> " 2013-01-11T13:29:57 < Laurenceb> wtf gdb? 2013-01-11T13:30:13 < baird> If you're thinking if it's like the x86-style device controllers (UART, IDE..), where additional control registers have to be accessed via a latch, it's like not like that. 2013-01-11T13:30:33 < zyp> baird, ah, right 2013-01-11T13:30:41 < gkwhc> zyp: hm...i may need to contact the manufacturer then, becuase i see there are registers with addresses, however on another part of the datasheet, that address range is said to be reserved 2013-01-11T13:30:59 < zyp> because x86 got a special IO bus seperate from the normal memory bus 2013-01-11T13:31:10 < zyp> gkwhc, which address range? 2013-01-11T13:31:41 < zyp> and which registers and which chips? 2013-01-11T13:32:04 < jpa-> Laurenceb: maybe your gdb version doesn't match your gcc version? 2013-01-11T13:32:23 < zyp> jpa-, shouldn't matter 2013-01-11T13:32:30 < Laurenceb> oh 2013-01-11T13:32:34 < Laurenceb> likely 2013-01-11T13:32:46 < jpa-> Laurenceb, zyp: usually it doesn't matter, but some newer gcc versions have new dwarf debug codes 2013-01-11T13:32:53 < jpa-> and older gdb complains about them 2013-01-11T13:33:02 < gkwhc> zyp: im looking at the TI TMS320C5533, doc SPRUH87C page 99 says the LDO Control Register is at 0x7004 2013-01-11T13:33:27 < jpa-> gkwhc: maybe that is the offset from the peripheral base address 2013-01-11T13:33:33 < zyp> that sounds like an offset that you have to add to a base address 2013-01-11T13:34:07 < jpa-> but who knows anything about TMS320C? it's not arm, right? 2013-01-11T13:34:19 < gkwhc> but doc SPRS737B page 19 says the address range 0x3B2F ~ 0x7FFF is reserved 2013-01-11T13:38:41 < gkwhc> how do i know that theres an offset? i dont think there is one because the datasheet says that the memory mapped registers start from 0 ~ 0xC0 2013-01-11T13:39:12 < zyp> my bad, I didn't realize you weren't talking about arm 2013-01-11T13:39:47 < zyp> anyway, according to page 18 in SPRS737B, 0x7000-0x70ff is not reserved in C5535 2013-01-11T13:39:59 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-11T13:40:19 < zyp> so I'm inclined to believe that the register you're talking about is only available in C5535 2013-01-11T13:40:19 < gkwhc> yeah, which i think is kinda funny that its reserved in other devices 2013-01-11T13:41:17 < gkwhc> i may have to confirm this with their support..or lack thereof 2013-01-11T13:41:24 < zyp> see section 1.7.3.3 in that other document 2013-01-11T13:41:39 < zyp> it documents an alternate means of LDO control in C5533 2013-01-11T13:42:36 < gkwhc> which has the same addresss, in figure 1-43 2013-01-11T13:42:49 < gkwhc> same address as the C5535 2013-01-11T13:43:09 < zyp> I'm talking about the text. 2013-01-11T13:43:52 < zyp> but oh well, TMS320 is not something I have experience with 2013-01-11T13:44:18 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-11T13:44:34 < gkwhc> are you talking about how it can be enabled/disabled through the LDOCNTL register? 2013-01-11T13:45:06 < zyp> I gave up talking about anything, I don't know this anyway 2013-01-11T13:46:09 < gkwhc> haha okay, thanks for the help tho :) 2013-01-11T13:47:13 < zyp> no problem 2013-01-11T13:51:23 < jpa-> i wonder why people always come to ask about crazy weird processors on ##stm32? 2013-01-11T13:51:55 < gkwhc> well, ##arm is pretty much dead, as well as ##dsp 2013-01-11T13:51:56 < jpa-> not that it matters otherwise than it is a bit confusing :) 2013-01-11T13:52:31 < gkwhc> and plus, people in ##stm32 are awesomer :) 2013-01-11T13:52:38 < zyp> jpa-, maybe it's a sign of there being helpful and knowledgeable guys here? :p 2013-01-11T13:53:03 < dongs> http://i.imgur.com/Gm6GU.jpg america 2013-01-11T13:53:19 < dongs> ##arm cant be deader than ##bsd 2013-01-11T13:54:10 < dongs> http://www.theregister.co.uk/2013/01/11/st_ericsson_unveils_novathor_l8580_lte_soc/ i found zyp's latest secretproj 2013-01-11T13:57:16 < karlp> not just his. 2013-01-11T13:57:28 < karlp> here's some chatter about that chip's fd-soi vs intel's finfets: http://www.electronicsweekly.com/blogs/david-manners-semiconductor-blog/2012/12/28nm-fd-soi-beats-22nm-finfet.html 2013-01-11T13:57:53 < karlp> running at 0.6v. silly shit :) 2013-01-11T14:04:18 < zyp> haven't had anything to do with it 2013-01-11T14:10:52 -!- BrainDamage [~BrainDama@62.10.7.169] has joined ##stm32 2013-01-11T14:12:22 < qyx_> jpa-: how did you build yout nuttx? i can't build even the default config for olimex p107... everytime i enable some non-default option, error appears.. mostly missing headers and such dumb problems 2013-01-11T14:12:58 < qyx_> also if i don't enable anny app, it won't link... if i enable nutshell, it doesn't build 2013-01-11T14:13:21 < zyp> that's nuts 2013-01-11T14:14:15 < qyx_> some missing dependencies apparently, but that's why kconfig is here 2013-01-11T14:14:38 < qyx_> if i enable nsh, instead of enabling all dependencies, it simply crashes on build 2013-01-11T14:17:12 < Laurenceb> wohoo 2013-01-11T14:17:20 < Laurenceb> time to chuck my linear actuator in the bin 2013-01-11T14:17:47 < Laurenceb> its never going to work :S 2013-01-11T14:27:20 < dongs> < zyp> haven't had anything to do with it 2013-01-11T14:27:24 < dongs> obvious denial 2013-01-11T14:30:18 -!- baird [~cjb@ppp121-44-142-47.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-11T14:34:36 -!- baird [~cjb@ppp121-44-142-47.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-11T14:43:20 < dongs> http://www.helmut-singer.de/stock/274463353.html ok what 2013-01-11T14:45:13 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-11T14:57:55 < Laurenceb> anyone here used stepper motor controllers? 2013-01-11T15:00:10 < jpa-> qyx_: you need the nuttx and apps packages uncompressed into proper directory names; other than that, it's just cd tools; configure ... ; cd ..; make 2013-01-11T15:00:50 < jpa-> qyx_: i haven't had much trouble building it on linux.. it was a bit difficult under windows but worked when i got the toolchain setup properly 2013-01-11T15:00:54 < qyx_> jpa-: finally after one hour i was able to resolve all dependencies :) 2013-01-11T15:01:01 < qyx_> on linux, gnu arm eabi 2013-01-11T15:01:08 < qyx_> there were some problems with stm32 usb 2013-01-11T15:01:14 < jpa-> resolve dependencies? 2013-01-11T15:01:51 < jpa-> btw, i don't use kconfig, i just edit the config file by hand as that way i can leave comments on the configuration 2013-01-11T15:01:52 < qyx_> default config didnt build for stm32-p107 2013-01-11T15:01:56 < qyx_> ah 2013-01-11T15:01:59 < qyx_> maybe that was the problem 2013-01-11T15:02:12 < jpa-> yeah i think just running kconfig may change some config settings 2013-01-11T15:02:25 < qyx_> kconfig messed everything.. if i enabled some option, it failed to compile or link 2013-01-11T15:02:45 < qyx_> but now it is running 2013-01-11T15:02:50 < qyx_> i have nsh shell on uart 2013-01-11T15:03:09 < jpa-> do you have my super-duper-cool hexdump command on it? :) 2013-01-11T15:03:22 < qyx_> there is some hexdump 2013-01-11T15:03:26 < jpa-> yay 2013-01-11T15:03:36 < jpa-> have fun running my crappy code ,) 2013-01-11T15:03:57 < qyx_> i will try to port pymite here 2013-01-11T15:04:02 < qyx_> hope it will be possible 2013-01-11T15:04:43 < jpa-> probably works; though pymite is annoyingly limited in my opinion 2013-01-11T15:05:01 < qyx_> also picoc is option.. or lua 2013-01-11T15:05:02 < qyx_> will see 2013-01-11T15:05:21 < jpa-> there exists lua port already 2013-01-11T15:05:25 < qyx_> i like that someone finally did elf loader on rtos 2013-01-11T15:05:35 < jpa-> i like it too, though i haven't tried it yet 2013-01-11T15:05:43 < qyx_> so i do not need to reflash whole system 2013-01-11T15:06:43 < jpa-> if you had a few MBs of extra sram, you could probably build cpython for nuttx.. i built it for vxworks once and it was really easy 2013-01-11T15:07:13 < qyx_> if i had few extra MB od sram i would run uclinux here :) 2013-01-11T15:07:25 < jpa-> that's not realtime :) 2013-01-11T15:07:32 < qyx_> thats true 2013-01-11T15:07:51 < jpa-> (though annoyingly, even nuttx is not as realtime as chibios) 2013-01-11T15:08:06 < jpa-> (it doesn't support nested interrupts, for example) 2013-01-11T15:08:07 < qyx_> but for more complex tast it can be ideal 2013-01-11T15:08:12 < qyx_> tasks 2013-01-11T15:08:52 < Laurenceb> hold shit 2013-01-11T15:09:01 < Laurenceb> linear actuator is working 2013-01-11T15:09:02 < jpa-> if realtime is not necessary, i would probably go for a real linux board; beaglebone or carambola or similar 2013-01-11T15:09:13 < jpa-> Laurenceb: is it actuating your foreskin now? 2013-01-11T15:09:16 < Laurenceb> its had a crappy allegro driver on the board 2013-01-11T15:09:19 < Laurenceb> lolz 2013-01-11T15:09:32 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-11T15:09:37 < Laurenceb> the allegro stepper driver was glitching 2013-01-11T15:09:57 < Laurenceb> its seems rather lame 2013-01-11T15:10:08 < Laurenceb> it was getting confused about some of the pulse timing 2013-01-11T15:12:11 < Laurenceb> it shouldn't shoot the motor off ~30degrees in the wrong direction tho :( 2013-01-11T15:12:19 < Laurenceb> thats what it was doing 2013-01-11T15:12:42 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-11T15:12:42 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-11T15:15:42 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 264 seconds] 2013-01-11T15:17:04 -!- daku is now known as DaKu 2013-01-11T15:18:18 < qyx_> jpa-: how do i show hexdump help? 2013-01-11T15:18:37 < qyx_> ah, help hexdump 2013-01-11T15:19:33 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-11T15:20:10 < dongs> zyp: im sending in digkey order whats that silly vreg you used 2013-01-11T15:23:14 < zyp> some mcp stuff, hang on 2013-01-11T15:24:08 < zyp> http://www.digikey.com/product-detail/en/MCP1825S-3302E%2FDB/MCP1825S-3302E%2FDB-ND/1636103 2013-01-11T15:24:23 < dongs> thanx 2013-01-11T15:27:09 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-11T15:54:06 < dongs> hurf 2013-01-11T15:54:12 < dongs> my current digikey order goes to... $20 2013-01-11T15:56:06 < dongs> added a reel of 4.7K... NOT MUCH BETTER Lol 2013-01-11T15:56:51 < Thorn> add a tray of stratix V GX 2013-01-11T15:57:42 < dongs> haha 2013-01-11T15:58:27 < dongs> http://www.digikey.com/product-detail/en/NCP1521BSNT1G/NCP1521BSNT1GOSCT-ND/1560581 no im gonna add a bunch of these 2013-01-11T15:58:27 < dongs> since im almost out 2013-01-11T15:58:51 < dongs> annnd that gives me freeship. 2013-01-11T15:59:02 <+Steffanx> You use ON Semiconductor crap? At least someone told me it's crap :P 2013-01-11T15:59:12 < dongs> and some ocils 2013-01-11T15:59:13 < dongs> coils 2013-01-11T15:59:15 <+Steffanx> Everything people say on the interwebs is true 2013-01-11T15:59:16 < zyp> if dongs is using it, it can't be crap 2013-01-11T15:59:23 <+Steffanx> No it's shit 2013-01-11T16:00:33 < Thorn> dongs: what inductors are you using with that? 1.5MHz is a lot 2013-01-11T16:00:59 < dongs> 587-2073-1-ND but because I'm using them elsewhere 2013-01-11T16:00:59 <+Steffanx> a lot? 2013-01-11T16:01:11 < zyp> higher frequencies means smaller inductors 2013-01-11T16:01:25 <+Steffanx> Akkoord? 2013-01-11T16:01:30 <+Steffanx> F*ck .. wrong window 2013-01-11T16:01:42 < karlp> dongs: do you use that for lipo battery to 3v3? or some other output voltage? 2013-01-11T16:01:42 < Thorn> not many inductors are actually rated for high frequencies afaik 2013-01-11T16:01:49 < dongs> i shoudl really redo the board using that shit to use tiny ass inductors 2013-01-11T16:02:06 <+Steffanx> Indeed 2013-01-11T16:02:12 < dongs> karlp: no, 5V stepdown to like 1.5V 2013-01-11T16:02:28 < dongs> its common pinout wiht a lot of switching regs 2013-01-11T16:02:52 < dongs> that one was chepest on digieky few years ago when I had to choose from LM3940 2013-01-11T16:02:52 < dongs> no LM3670 2013-01-11T16:02:52 < dongs> is what it replaced 2013-01-11T16:02:55 <+Steffanx> Where does one need 1.5V for dongs? 2013-01-11T16:03:06 < dongs> high powered dongs 2013-01-11T16:03:22 <+Steffanx> W00t 2013-01-11T16:03:58 < dongs> haha i really dont neeed 10uh coil on that shit oh well, thousands of shits shipped with that reg + coil and works ok 2013-01-11T16:04:31 <+Steffanx> So my sources where wrong and it's actually good shit 2013-01-11T16:05:05 < Thorn> that inductor is tested at 100kHz as digikey says. it's not necessarily 10uH at 1.5MHz still 2013-01-11T16:05:15 < dongs> well, great 2013-01-11T16:05:22 < dongs> cause i need like 2.2uh at most with that reg 2013-01-11T16:05:42 < dongs> besides, bigger coils are cheaper, i looked at some of the recommended shit and it costs 2-3x the price of these coils 2013-01-11T16:05:49 < dongs> and i'm not redesigning shit that works. 2013-01-11T16:06:03 < Thorn> ferrites have weird permeability vs frequency curves 2013-01-11T16:06:35 <+Steffanx> Never change a winning team :) 2013-01-11T16:06:57 < dongs> yeah. and that concludes my order, i think 2013-01-11T16:07:03 < dongs> unless i need some 2.5V ldos.. lets see 2013-01-11T16:07:28 <+Steffanx> Don't order too many random things. Digikey can't handle that 2013-01-11T16:07:43 <+Steffanx> When you do that you'll get the wrong 'shit' 2013-01-11T16:07:49 < dongs> yeah 2013-01-11T16:07:56 < dongs> with m,y luck, i'll get wrong shit even when I order right shit. 2013-01-11T16:08:08 <+Steffanx> karma 2013-01-11T16:10:49 < dongs> ordered. 2013-01-11T16:10:53 < dongs> tiem to get laid 2013-01-11T16:10:57 <+Steffanx> gn 2013-01-11T16:10:59 < dongs> bbl 2013-01-11T16:14:50 < Laurenceb> waifu tiem 2013-01-11T16:15:55 -!- dekar [~dekar@dslb-188-107-194-062.pools.arcor-ip.net] has quit [Ping timeout: 260 seconds] 2013-01-11T16:19:07 <+Steffanx> have fun Laurenceb 2013-01-11T16:19:37 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has joined ##stm32 2013-01-11T16:19:37 -!- bsdfox [~Bob@c-71-197-83-152.hsd1.ca.comcast.net] has quit [Changing host] 2013-01-11T16:19:37 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-11T16:19:55 < Laurenceb> for dongs 2013-01-11T16:25:37 < baird> I'm stuck with a housemate with a mood disorder. :/ 2013-01-11T16:27:15 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-11T16:27:18 <+Steffanx> Bummer .. I'm stuck with a IRC room mate with a housemate with a mood disorder. 2013-01-11T16:28:20 < baird> Could be worse-- a FurryMUCKer. Had one of those. 2013-01-11T16:29:27 < BrainDamage> mucker? 2013-01-11T16:29:50 < baird> I munged the telnet binary on the Linux box (of mine) he used, and recorded the shit he got up too. Eww, age-play TSing. Pedo. 2013-01-11T16:30:34 <+Steffanx> And you liked it.. 2013-01-11T16:41:03 < gxti> TIL roleplaying makes you a pedo 2013-01-11T16:41:38 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-11T16:44:33 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-11T16:50:31 <+Steffanx> Experience gxti ? 2013-01-11T16:51:17 < gxti> no baird just said so 2013-01-11T16:51:20 < gxti> must be true 2013-01-11T16:51:28 < Laurenceb> baird is already a pedo 2013-01-11T16:51:37 < Laurenceb> nothing is going to turn him into one 2013-01-11T16:51:44 < Laurenceb> cuz he is already 2013-01-11T16:52:09 <+Steffanx> And Laurenceb knows that. 2013-01-11T16:52:50 <+Steffanx> Joking about pedos isn't funny at all btw. It's quite silly imho 2013-01-11T16:53:08 < gxti> silly, not funny? elaborate 2013-01-11T16:53:22 < gxti> my humour knowledgebase is not sufficiently nuanced 2013-01-11T16:53:30 <+Steffanx> pedos are #&ˆ% sick, which make the joke non-funny 2013-01-11T16:53:32 < Laurenceb> its funny if they are clown pedos 2013-01-11T16:53:36 < zyp> what he's saying is «please don't joke about me» 2013-01-11T16:53:47 < gxti> false, everything is funny 2013-01-11T16:53:49 < Laurenceb> lol 2013-01-11T16:53:50 <+Steffanx> Sure zyp, sure. 2013-01-11T16:54:10 < gxti> hitler is funny, suicide is funny 2013-01-11T16:54:11 <+Steffanx> gxti, not true. The imho saved me :P 2013-01-11T16:54:49 < Laurenceb> http://1.bp.blogspot.com/_4DFiaSYMR7w/TSndG-qq1uI/AAAAAAAAAis/WmsEyFOPbWw/s320/200px-Funny_Hitler.jpg 2013-01-11T16:54:53 < Laurenceb> obligatory 2013-01-11T16:55:08 <+Steffanx> And not funny 2013-01-11T16:55:19 < gxti> but only because the filename set it up for failure 2013-01-11T16:57:49 <+Steffanx> Sure 2013-01-11T16:58:09 < Laurenceb> http://www.b3tards.com/u/bd51560518eab5a28b33/star-wars-web.gif 2013-01-11T17:00:00 -!- betovar [~Adium@adsl-98-64-29-167.mia.bellsouth.net] has joined ##stm32 2013-01-11T17:05:35 < Laurenceb> Steffanx: http://www.youtube.com/watch?v=IlEcGHxfltE 2013-01-11T17:14:24 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-01-11T17:18:25 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-11T17:19:48 < emeb_mac> wakey wakey 2013-01-11T17:21:47 <+Steffanx> dont read the logs 2013-01-11T17:23:42 < gxti> bloggy log logs 2013-01-11T17:25:12 < emeb_mac> now you've gotten me curious 2013-01-11T17:25:28 < gxti> nothing special, just pedos and hitler 2013-01-11T17:26:56 < emeb_mac> oh yay. 2013-01-11T17:27:15 < gxti> pretty boring 2013-01-11T17:27:17 <+Steffanx> I warned you emeb_mac. 2013-01-11T17:28:28 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2013-01-11T17:28:36 < emeb_mac> muh freedoms. 2013-01-11T17:33:56 -!- barthess [~barthess@178.154.10.140] has joined ##stm32 2013-01-11T17:34:47 < zyp> emeb_mac, good morning 2013-01-11T17:34:52 < zyp> how are your freedoms today? 2013-01-11T17:34:59 < emeb_mac> chilly 2013-01-11T17:35:12 < emeb_mac> and yours? 2013-01-11T17:35:21 < zyp> fine 2013-01-11T17:35:25 < zyp> just got home from work 2013-01-11T17:35:38 < emeb_mac> just woke up. feeding the cats. 2013-01-11T17:37:04 < zyp> visiting friend also left today, so I should have time to write some code tonight/this weekend 2013-01-11T17:37:14 < zyp> it's about time I get my own code running on the lpc board :p 2013-01-11T17:38:27 < Rickta59> which code is that zyp ? BMP? 2013-01-11T17:39:01 < zyp> huh? 2013-01-11T17:39:25 < Rickta59> i guess that isn't yours then 2013-01-11T17:39:38 < Rickta59> BMP black magic probe 2013-01-11T17:39:54 < zyp> no, I'm only a happy user of it 2013-01-11T17:40:10 < zyp> (and have submitted a few minor patches to it) 2013-01-11T17:40:39 < Rickta59> which lpc board are you using? 2013-01-11T17:41:01 < zyp> my own 2013-01-11T17:41:18 < zyp> http://bin.jvnv.net/f/Mv7rw.JPG 2013-01-11T17:41:36 < gxti> ah right 2013-01-11T17:42:17 < emeb_mac> zyp: will be interesting to see how the SDRAM works. 2013-01-11T17:42:43 < zyp> yeah 2013-01-11T17:46:20 < Thorn> zyp: speaking of BMP, if I make cosmetic patches (like better reporting of LPC11 variants instead of "lpc11xx" for all of them) do you think they'd be accepted? 2013-01-11T17:47:41 < zyp> if they are beneficial 2013-01-11T17:47:53 < zyp> just talk to gsmcmullin and ask? 2013-01-11T17:48:46 < emeb_mac> Thorn: any clues on why your BMC board behave differently? 2013-01-11T17:48:47 < Thorn> I guess I'll make the changes first if and when I get around to it 2013-01-11T17:48:55 < Rickta59> neat board zyp, does the lpc chip handle the memory refresh or is that something you had to implement ? 2013-01-11T17:49:23 < Thorn> emeb_mac: haven't messed with the bad one yet, planning to do it tonight 2013-01-11T17:49:36 < zyp> Rickta59, the memory controller supports sdram, so it should be handled by hardware 2013-01-11T17:50:17 < Laurenceb> baird has been busy http://www.f-lohmueller.de/pov_anim/ani_7010d.htm 2013-01-11T17:50:23 < Thorn> oh and btw, BMP calculates the checksum for LPC11 when flashing 2013-01-11T17:50:30 < zyp> yes, I saw that 2013-01-11T17:50:56 < emeb_mac> Laurenceb: so your glitchy pressure isn't the control loop but the motor driver? 2013-01-11T17:51:00 < zyp> I based my lpc43xx flashing code on the existing lpc11xx code 2013-01-11T17:51:03 < Laurenceb> yes 2013-01-11T17:51:09 < zyp> it's mostly identical apart from flash bank setting 2013-01-11T17:51:10 < emeb_mac> good news/bad news 2013-01-11T17:51:16 < Laurenceb> good news 2013-01-11T17:51:24 < emeb_mac> easy fix? 2013-01-11T17:51:25 < Laurenceb> fixed it now 2013-01-11T17:51:32 < emeb_mac> happyness? 2013-01-11T17:51:35 < Laurenceb> yes - needed to fix the pulse timing 2013-01-11T17:51:37 < Laurenceb> yes :P 2013-01-11T17:51:58 < emeb_mac> when hunting for bugs, look in mirror. 2013-01-11T18:00:20 < zyp> hmm 2013-01-11T18:00:39 < zyp> after I fixed the reset problems I were having, I now have data corruption problems 2013-01-11T18:03:43 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-11T18:09:21 -!- BrainDamage [~BrainDama@62.10.7.169] has quit [Quit: Leaving.] 2013-01-11T18:13:14 -!- _BJFreeman [~bjfree@37.sub-75-196-63.myvzw.com] has joined ##stm32 2013-01-11T18:13:17 < zyp> flashing the same file twice results in identical flash contents, both of which are not correct 2013-01-11T18:14:12 < zyp> wonder if some bits of the flash is corrupted or the flashing routines corrupts it in some deterministic fashion 2013-01-11T18:14:55 < qyx_> what does "not correct" mean? 2013-01-11T18:15:04 < qyx_> is there some visible pattern? 2013-01-11T18:15:10 < qyx_> or just random locations 2013-01-11T18:15:18 < zyp> still trying to figure that out 2013-01-11T18:17:25 < zyp> in the 456 bytes I flashed there are four corrupt bits 2013-01-11T18:17:38 < zyp> all are 1s that should really be 0 2013-01-11T18:18:28 < qyx_> if you program 0x00 to all locations, yre they still 1? 2013-01-11T18:19:01 < zyp> haven't tried yet 2013-01-11T18:19:12 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2013-01-11T18:20:48 -!- Claude is now known as claude 2013-01-11T18:24:12 -!- baird [~cjb@ppp121-44-142-47.lns20.syd7.internode.on.net] has quit [Ping timeout: 264 seconds] 2013-01-11T18:26:33 < zyp> heh, this is not deterministic at all 2013-01-11T18:33:45 < emeb_mac> schrodingers flash programmer. 2013-01-11T18:35:04 < zyp> oh 2013-01-11T18:37:08 < zyp> according to user manual, lpc4300 does not run directly from 12MHz internal oscillator at startup, like I assumed 2013-01-11T18:37:30 < emeb_mac> err... what does it run from? 2013-01-11T18:37:53 < zyp> boot code apparently configures PLL and clocks the cpu up to 96MHz :p 2013-01-11T18:38:07 < zyp> that should explain why flashing fails :p 2013-01-11T18:39:03 < emeb_mac> ah - bad timing. 2013-01-11T18:39:28 < zyp> well, that's what I suspected, I just didn't believe that 12MHz was wrong 2013-01-11T18:40:42 < emeb_mac> well, one doesn't ordinarily expect the PLL to be on by default. 2013-01-11T18:41:15 < zyp> that did the trick 2013-01-11T18:41:16 < zyp> Section .vectors, range 0x1a000000 -- 0x1a000130: matched. 2013-01-11T18:41:16 < zyp> Section .init_array, range 0x1a000130 -- 0x1a000134: matched. 2013-01-11T18:41:16 < zyp> Section .text, range 0x1a000134 -- 0x1a00031c: matched. 2013-01-11T18:41:16 < zyp> Section .data, range 0x1a00031c -- 0x1a000320: matched. 2013-01-11T18:41:31 < emeb_mac> \o/ 2013-01-11T18:41:33 < emeb_mac> max freq on that LPC is 208MHz? 2013-01-11T18:42:10 < zyp> 204 2013-01-11T18:42:42 < emeb_mac> so it doesn't push it to full speed at the start. 2013-01-11T18:43:12 < zyp> nah 2013-01-11T18:43:33 < zyp> the clock apparently have to be ramped up in several steps according to user manual 2013-01-11T18:44:07 < emeb_mac> hmm... can't just hit it with full speed? strange. 2013-01-11T18:44:22 < zyp> they define mid-level frequencies as 90-110, and you are apparently not allowed to just step over that 2013-01-11T18:45:04 < emeb_mac> trying to think if a device-level reason why that would be needed. 2013-01-11T18:45:33 < emeb_mac> wonder if they're using a resonant clock tree... 2013-01-11T18:49:48 < karlp> all your clocks are belong to us 2013-01-11T18:49:56 < karlp> you must use them as we say, and only as we say 2013-01-11T18:57:03 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-11T19:02:16 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-11T19:15:50 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-11T19:24:31 < zyp> okay, something is running 2013-01-11T19:25:32 < emeb> hopefully that something is what you intended. 2013-01-11T19:25:41 < emeb> So, what about this? http://code.google.com/p/picoc/ 2013-01-11T19:34:34 -!- _BJFreeman is now known as BJfreeman 2013-01-11T19:35:13 -!- gkwhc [~me@unaffiliated/gkwhc] has quit [Ping timeout: 244 seconds] 2013-01-11T19:44:10 < zyp> still get some corruption 2013-01-11T19:44:19 < emeb> rats 2013-01-11T19:44:27 < zyp> and now it seems to be deterministic 2013-01-11T19:44:36 < emeb> oryl? 2013-01-11T19:44:54 < zyp> grabbed another board, exact same happens 2013-01-11T19:45:30 < zyp> http://paste.jvnv.net/view/CH1mL 2013-01-11T19:45:43 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-11T19:45:47 < zyp> it should read 0x1a00016d 2013-01-11T19:46:34 < zyp> hmm, now I'm writing low a bit that should be high 2013-01-11T19:46:46 < emeb> wat? 2013-01-11T19:47:01 < zyp> 0xd turns into 0x5 2013-01-11T19:47:24 < zyp> previous problem was opposite 2013-01-11T19:47:59 < Laurenceb> http://i.imgur.com/5Ei1Z.jpg 2013-01-11T19:48:04 < emeb> oh. just that one bit out of the whole? 2013-01-11T19:48:11 < zyp> yes 2013-01-11T19:48:15 < emeb> Laurenceb: purty. 2013-01-11T19:48:18 < Laurenceb> rocket motor done properly 2013-01-11T19:48:24 < zyp> there is only one entry in init_array so far 2013-01-11T19:48:59 < emeb> zyp: did you write the flash stub for this? 2013-01-11T19:49:37 < zyp> no stub needed, it calls the IAP commands in ROM 2013-01-11T19:49:58 < zyp> lpc chips pretty much got the equivalent of a stub there 2013-01-11T19:50:18 < emeb> nifty. 2013-01-11T19:50:21 < zyp> they have a command that just takes a source pointer and a target location and does the flash writing for you 2013-01-11T19:50:37 < zyp> so the flashing routine just invokes that 2013-01-11T19:50:57 < emeb> and gdb puts the source into RAM? 2013-01-11T19:51:00 < zyp> I'm modifying the ones that already exist for lpc11xx 2013-01-11T19:51:11 < zyp> no, the flashing routine does 2013-01-11T19:51:39 < zyp> https://github.com/gsmcmullin/blackmagic/blob/master/src/nxp_tgt.c#L184 <- see here for an example 2013-01-11T19:52:33 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 248 seconds] 2013-01-11T19:53:27 < emeb> and that's running on the target... 2013-01-11T19:53:44 < zyp> no, it's running on the bmp 2013-01-11T19:53:51 < emeb> derp 2013-01-11T19:54:44 < zyp> lpc11x_iap_call transfers the argument data to the target memory and sets up the registers to point to the argument and the IAP function to execute 2013-01-11T19:54:56 < emeb> right 2013-01-11T19:55:20 < emeb> and that's all jammed into the target via swd/jtag 2013-01-11T19:55:21 < zyp> with return addr set to a bkpt instruction, which will give control back to the bmp after the IAP function returns 2013-01-11T19:55:31 < zyp> yep 2013-01-11T19:55:35 < emeb> cute 2013-01-11T19:55:57 < zyp> it's pretty much how it works on other platforms as well, except there you transfer the flashloader stub to execute as well 2013-01-11T19:56:05 < emeb> right 2013-01-11T19:56:13 < emeb> whereas here it's already in rom 2013-01-11T19:56:17 < zyp> yes 2013-01-11T19:56:54 < emeb> so you could theoretically check the contents of the source array in the target RAM to make sure that bit is properly set before invoking the flash cmd. 2013-01-11T19:58:10 < zyp> true 2013-01-11T20:06:25 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T20:43:45 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 2013-01-11T20:44:58 <+Steffanx> nice photo Laurenceb 2013-01-11T20:45:01 <+Steffanx> finally :) 2013-01-11T20:45:02 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-11T20:45:02 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-11T20:45:02 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-11T20:46:48 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2013-01-11T20:47:18 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-11T20:47:18 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-11T20:47:18 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-11T20:49:54 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 264 seconds] 2013-01-11T20:50:43 < emeb> waste of servos? you decide: http://www.youtube.com/watch?feature=player_embedded&v=Aybs6rmcjk8#! 2013-01-11T20:52:26 < fiendie> Agree with top comment: "Six robotic legs a spider does not make." ;) 2013-01-11T20:52:56 < Laurenceb> https://raw.github.com/Laurenceb/Chibi-Spectro/master/tests/stepper/hand25-crop.png 2013-01-11T20:53:13 < Laurenceb> much better - just need to fix high frequency vibration 2013-01-11T20:53:59 < Laurenceb> bbl 2013-01-11T20:56:21 < Gargantuasauce> i have a hexapod project underway actually 2013-01-11T20:56:30 < Gargantuasauce> it's not a dress though 2013-01-11T20:57:25 < emeb> just put it on your head - boom, it's a hat. 2013-01-11T20:58:46 -!- GargantuaSauce_ [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-11T21:14:41 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T21:17:02 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-11T21:17:02 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-11T21:17:07 -!- dfletcher is now known as drgreenthumb 2013-01-11T21:32:22 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T21:35:41 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 252 seconds] 2013-01-11T21:37:01 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 256 seconds] 2013-01-11T21:43:56 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T21:44:30 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-11T21:44:30 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-11T21:45:24 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-11T21:46:14 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-11T21:46:15 -!- dfletcher_ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-11T21:46:20 -!- dfletcher_ is now known as drgreenthumb 2013-01-11T21:49:08 -!- dfletcher [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 255 seconds] 2013-01-11T21:56:30 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 264 seconds] 2013-01-11T22:24:37 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-11T22:47:29 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 248 seconds] 2013-01-11T22:49:05 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-11T22:49:28 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-11T22:49:28 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-11T22:49:28 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-11T22:52:54 -!- bsdfox [~Bob@c-67-174-55-56.hsd1.ca.comcast.net] has joined ##stm32 2013-01-11T22:52:55 -!- bsdfox [~Bob@c-67-174-55-56.hsd1.ca.comcast.net] has quit [Changing host] 2013-01-11T22:52:55 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-11T23:02:21 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-11T23:02:28 -!- Gargantuasauce [~Gargantua@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 252 seconds] 2013-01-11T23:07:50 -!- bsdfox_ [~Bob@c-67-174-55-56.hsd1.ca.comcast.net] has joined ##stm32 2013-01-11T23:07:51 -!- bsdfox_ [~Bob@c-67-174-55-56.hsd1.ca.comcast.net] has quit [Changing host] 2013-01-11T23:07:51 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-11T23:10:44 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 248 seconds] 2013-01-11T23:14:53 -!- Gargantuasauce [~Gargantua@142.177.41.22] has joined ##stm32 2013-01-11T23:34:00 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-01-11T23:56:54 -!- BJfreeman [~bjfree@37.sub-75-196-63.myvzw.com] has quit [Quit: had a good time] --- Day changed Sat Jan 12 2013 2013-01-12T00:00:56 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-12T00:04:49 -!- barthess [~barthess@178.154.10.140] has quit [Ping timeout: 248 seconds] 2013-01-12T00:27:37 -!- barthess [~barthess@77.67.232.37] has joined ##stm32 2013-01-12T00:27:38 -!- barthess [~barthess@77.67.232.37] has quit [Client Quit] 2013-01-12T00:45:13 -!- Gargantuasauce [~Gargantua@142.177.41.22] has quit [Ping timeout: 244 seconds] 2013-01-12T00:50:45 <+Steffanx> zzz 2013-01-12T00:52:44 <+Steffanx> After you gave me half of your monies 2013-01-12T00:54:22 < emeb> sounds ooky 2013-01-12T00:55:46 <+Steffanx> You are NOT going to give 1M $ to a crappy chinese 2013-01-12T00:56:16 <+Steffanx> It's even better to flush all the 1M 1$ bills through the toilet 2013-01-12T00:58:35 < emeb> better to spend $1e6 on a better sniper program 2013-01-12T00:59:10 <+Steffanx> Guns.. really a yankeelander thing 2013-01-12T01:00:28 < emeb> yeah - no one else in the world has gun violence. 2013-01-12T01:02:26 < emeb> not so much the guns - more the strange anthropomorphization & worship of same. 2013-01-12T01:03:17 < emeb> nearby police dept. had a buy-back & destroy program. some folks opposed almost like they were killing puppies. 2013-01-12T01:03:27 < zyp> emeb, you mean like http://en.wikipedia.org/wiki/Upotte ? 2013-01-12T01:03:39 <+Steffanx> Hmm it seems you like that word emeb "anthropomorphization" 2013-01-12T01:03:55 < emeb> I've used it before? 2013-01-12T01:03:57 <+Steffanx> I have no idea what it means, but according to chrome i googled it before :P 2013-01-12T01:04:08 <+Steffanx> so it must he been you who said that 2013-01-12T01:04:15 < emeb> don't recall. 2013-01-12T01:04:22 < emeb> anthropos = human 2013-01-12T01:04:26 < emeb> morphos = shape 2013-01-12T01:04:54 < emeb> anthropomorphize = to ascribe human qualities to 2013-01-12T01:05:01 < zyp> thus the wiki reference 2013-01-12T01:05:14 <+Steffanx> Why i clicked on that link :( 2013-01-12T01:05:36 <+Steffanx> Day = ruined. And it's only 5 minutes old 2013-01-12T01:07:32 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 248 seconds] 2013-01-12T01:07:43 < zyp> cool 2013-01-12T01:08:07 < emeb> zyp is now a troll 2013-01-12T01:08:10 < zyp> you can't have many good days if they are that easy to ruin 2013-01-12T01:08:24 < zyp> emeb, am I? 2013-01-12T01:08:25 < GargantuaSauce_> i am totally getting that eries 2013-01-12T01:08:27 < GargantuaSauce_> series 2013-01-12T01:08:41 < GargantuaSauce_> terrible animes are the best vice 2013-01-12T01:08:49 < zyp> I've actually watched an episode of that 2013-01-12T01:08:51 < zyp> it's horrible :p 2013-01-12T01:08:55 < GargantuaSauce_> perfect 2013-01-12T01:09:10 <+Steffanx> That easy? You just said it's horrible 2013-01-12T01:10:04 < zyp> Steffanx, oh, so you meant you're now going to spend the day watching the entire series, and thus ruin your day? 2013-01-12T01:10:13 < zyp> in that case, allow me to offer my condolenses 2013-01-12T01:10:17 <+Steffanx> No way 2013-01-12T01:10:22 < emeb> yay - f303s shipped from DK. Now just need OSHpark to ship breakouts. 2013-01-12T01:10:39 <+Steffanx> The only animé i've ever seen is that avatar stuff 2013-01-12T01:10:43 <+Steffanx> or isn't that anime 2013-01-12T01:10:55 < GargantuaSauce_> tell a fan of it that and they will jump down your throat 2013-01-12T01:10:55 < zyp> nah, it's american 2013-01-12T01:11:00 * emeb knows diddly about anime 2013-01-12T01:11:13 < emeb> I did buy a used copy of ghost in the shell though - kinda interesting. 2013-01-12T01:11:24 < GargantuaSauce_> gits is good, there are a lot of good cyberpunk ones 2013-01-12T01:12:10 < emeb> does aeon flux count as anime? 2013-01-12T01:12:56 <+Steffanx> Sure 2013-01-12T01:14:56 < zyp> probably depends who you ask 2013-01-12T01:16:37 <+Steffanx> wikipedia 2013-01-12T01:21:16 -!- DaKu is now known as daku 2013-01-12T01:27:50 -!- BJFreeman [~bjfree@111.sub-75-233-219.myvzw.com] has joined ##stm32 2013-01-12T01:49:17 < Thorn> zyp: how did you implement compare-sections? monitor command? 2013-01-12T01:50:27 < gxti> this NXP datasheet says it is a "dark green product". how edgy. 2013-01-12T01:50:42 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-12T01:51:32 < zyp> Thorn, it's a standard gdb command 2013-01-12T01:52:31 < Thorn> does it need special support from gdbserver? 2013-01-12T01:53:46 < zyp> yes, and that's already provided by bmp 2013-01-12T01:55:05 < Thorn> I'm asking because nxp IAP has support for compare, blank check etc. it'd be nice to expose that functionality 2013-01-12T01:56:05 < zyp> no, it's based on some «calculate crc of this memory range» command 2013-01-12T01:56:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-12T01:57:05 -!- SuicideFunky [~randy@vps-212-153-70-8.twenty-five.nl] has quit [Remote host closed the connection] 2013-01-12T01:58:00 < Thorn> there doesn't appear to be a generic mechanism for blank check or erase in BMP though? 2013-01-12T01:58:16 < gxti> who uses blank check? 2013-01-12T01:59:01 < Thorn> probably those who used erase before that 2013-01-12T01:59:15 < Thorn> like program then compare 2013-01-12T02:00:00 < zyp> bmp is already using blank check to verify that flash erase succeded 2013-01-12T02:00:54 < Thorn> ah correct, there's lpc11xx_flash_erase() 2013-01-12T02:02:23 < zyp> I based my lpc43xx routines on those 2013-01-12T02:02:52 < Thorn> is it only used internally or can you call that with a gdb command? 2013-01-12T02:02:59 < jv--> Hmm, how much do arm32 mcus differ? 2013-01-12T02:04:56 < Thorn> what is arm32 2013-01-12T02:06:49 < Thorn> there are several variants of the cortex-m core (m0, m0+m m4, m4f) and everything except the core and core peripherals is vendor specific 2013-01-12T02:07:00 < Thorn> (including flash programming) 2013-01-12T02:08:14 < jv--> Sorry, meant cortex-m3 2013-01-12T02:08:47 < zyp> jv--, what's your question really about? 2013-01-12T02:08:51 < zyp> can you rephrase it? 2013-01-12T02:08:52 < Thorn> *m0, m0+, m3, m4, m4f 2013-01-12T02:08:53 < jv--> Thorn: I finally started to play with stm32 recently, been using avr before 2013-01-12T02:09:37 < jv--> zyp: that there are a lot of vendors who ship various incarnations of the arm core, so wondering how much they do differ, as I've seen question about NXP one 2013-01-12T02:10:31 < zyp> the cores themselves are identical (of course m3 is m3 and m4f is m4f and so on) 2013-01-12T02:10:49 < zyp> apart from being specced for various frequencies 2013-01-12T02:11:46 < zyp> and then most of the peripherals are completely different from vendor to vendor 2013-01-12T02:12:27 < zyp> the main exception here is large cores like usb and ethernet controllers that might be licensed from a third party instead, and thus found in multiple vendors' chips 2013-01-12T02:12:46 < jv--> I see 2013-01-12T02:13:18 < jv--> so different registers, different features 2013-01-12T02:13:30 < zyp> yes 2013-01-12T02:13:40 < Thorn> the cores have a lot of parameters that vendors can change when implementing, e.g. bitbanding can be turned on or off in m3. memory layout is different too (e.g. NXP has SRAM at 0x1000000 whch seems to be against the spec, I think for arm7 compatibility) 2013-01-12T02:14:22 < zyp> Thorn, lpc4300 got sram blocks both at 0x10000000 and 0x20000000 2013-01-12T02:14:34 < zyp> I think the idea is using one for code and one for data 2013-01-12T02:14:53 < Thorn> lpc17, 11 etc. only have sram at 10000000 2013-01-12T02:15:32 < jv--> Truth is I went with stm32 as they had the cheapest programmer 2013-01-12T02:16:30 < zyp> the jtag/swd protocol is handled by the arm core, so that's identical between all the vendors 2013-01-12T02:16:47 < jv--> Aha 2013-01-12T02:17:09 < zyp> but the flash memory is different, so the programmer software needs to support different flash controllers to be able to flash different chips 2013-01-12T02:18:28 < zyp> there is a whole lot of jtag/swd interfaces that will work with multiple vendors 2013-01-12T02:18:33 < jv--> so it's not like i can take the st discovery and use it to program something different 2013-01-12T02:18:53 < zyp> I think I talked to somebody who did it 2013-01-12T02:19:07 < Thorn> you could try using it with openocd 2013-01-12T02:19:13 < zyp> the official st-link software will obviously not support it 2013-01-12T02:19:16 < zyp> but openocd will 2013-01-12T02:19:24 < jv--> Not that I'm planning to do it now, just been curious 2013-01-12T02:19:52 < jv--> so far haven't run into problems with stm 2013-01-12T02:20:32 < zyp> I like exploring differences, so I've been playing both with stm32 and a bit of stellaris, and now also lpc 2013-01-12T02:20:51 < jv--> which did you like better? 2013-01-12T02:21:06 < jv--> I'm planning to do something with smartfusion soon, but that's something slightly different 2013-01-12T02:21:10 < zyp> I don't have enough experience with stellaris and lpc to make a decision on that yet 2013-01-12T02:21:33 < zyp> I've heard that the actel fpga tools are not very good 2013-01-12T02:21:49 < jv--> You are too kind to them. 2013-01-12T02:21:53 < zyp> but other than that I don't know anything about smartfusion 2013-01-12T02:22:02 < zyp> well, I've never used them, only heard rumors :p 2013-01-12T02:22:27 < jv--> I don't think I'm that lame, but when one can't figure out where to write code from first glance.. 2013-01-12T02:22:36 < jv--> (in the tool..) 2013-01-12T02:23:12 < jv--> but the hardware has some features which i need (low power, radiation tolerance) so going to try to make it work 2013-01-12T02:23:45 < zyp> radiation tolerance… space related projects? 2013-01-12T02:23:54 < zyp> hab perhaps? 2013-01-12T02:24:06 < jv--> Particle physics 2013-01-12T02:27:48 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2013-01-12T02:31:04 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-12T02:31:04 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-12T02:31:04 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-12T02:32:44 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-12T02:33:45 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-12T02:34:09 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 248 seconds] 2013-01-12T02:37:27 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-12T02:40:34 < Thorn> here's an excellent picture of cortex instruction sets http://i.imgur.com/71cJD.png 2013-01-12T02:41:18 < zyp> ah, yeah, that's nice 2013-01-12T02:41:39 < zyp> hmm 2013-01-12T02:42:02 < fxd0h> does anyone know the difference between micrium ucos3's osqpend and ostaskqpend ? 2013-01-12T02:45:37 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-01-12T02:45:37 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-01-12T02:45:37 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-12T02:50:48 < Thorn> no image upload at izua's wiki x_x 2013-01-12T02:54:24 < Simon--> weird image.. they nest the images, but list all instructions in each image 2013-01-12T02:54:40 < Simon--> well, some 2013-01-12T02:54:57 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-12T02:56:02 < Thorn> those are different variants (16 v s 32 bit for example) afaik 2013-01-12T03:03:06 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 264 seconds] 2013-01-12T03:22:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-12T03:32:48 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2013-01-12T03:41:37 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-01-12T03:41:37 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-01-12T03:41:37 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-12T03:48:58 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-12T04:11:16 -!- gkwhc [~me@unaffiliated/gkwhc] has joined ##stm32 2013-01-12T04:13:13 < gkwhc> Hey guys, quick question about general MCU architectures, when a peripheral is unclocked/powered off, its not possible to access the peripheral registers, right? What if they are memory-mapped? 2013-01-12T04:19:32 < Thorn> you're likely to get a bus fault because bus transaction will timeout 2013-01-12T04:20:47 < gkwhc> ah that makes sense, since nothing does nothing gets clocked in/out 2013-01-12T04:53:06 < emeb> Thorn: did you ever figure out why SPI RXNE goes high before all the bits are sent? 2013-01-12T04:54:06 < Thorn> not yet, I'm working on the lpc11 firmware atm. will get back to that later 2013-01-12T04:56:05 < emeb> looking at using the BUSY bit 2013-01-12T04:56:39 < emeb> seems to work: while((SPI1->SR & SPI_SR_BSY)); 2013-01-12T04:59:09 < Thorn> thanks, I'll try that 2013-01-12T05:37:57 < Thorn> I wonder if there's a way to get a record all register values for a peripheral throughout some operation, like you can do with a rtl model in a simulator. maybe swv? 2013-01-12T05:39:50 * gxti reads up on CAN peripheral 2013-01-12T05:42:16 -!- dekar [~dekar@212.255.253.63] has joined ##stm32 2013-01-12T05:42:19 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-12T05:42:36 -!- BJFreeman [~bjfree@111.sub-75-233-219.myvzw.com] has quit [Quit: had a good time] 2013-01-12T05:50:40 -!- Viper168 [~Viper@node217.18.251.72.1dial.com] has joined ##stm32 2013-01-12T05:50:40 -!- Viper168 [~Viper@node217.18.251.72.1dial.com] has quit [Changing host] 2013-01-12T05:50:40 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-12T05:52:07 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 260 seconds] 2013-01-12T05:56:44 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-01-12T06:15:41 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c4c7:9cb8:4ec5:6ffd] has joined ##stm32 2013-01-12T06:15:48 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Ping timeout: 264 seconds] 2013-01-12T06:17:30 < emeb> ok - this is weird. 2013-01-12T06:18:00 < emeb> driving a quad spi dac from an stm32f100c8t6b 2013-01-12T06:18:23 < emeb> using sp1 remapped to b3-b6 2013-01-12T06:18:47 < emeb> also have JTAG/SWD remapped to only use SWD. 2013-01-12T06:19:48 < emeb> also uses PA15 as a load signal to the DAC. But when I pull PA15 down the SPI port locks. 2013-01-12T06:20:54 < emeb> now PA15 is also SPI_NSS - could that be the problem? 2013-01-12T06:21:17 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c4c7:9cb8:4ec5:6ffd] has quit [Remote host closed the connection] 2013-01-12T06:21:47 < Thorn> take a look at the errata sheet, ST has lots of peripheral interaction bugs in F1 2013-01-12T06:24:15 < emeb> I should do that at some point. 2013-01-12T06:24:46 < emeb> That was the issue though - had to set SSOE in SPI_CR2 to keep the SPI hw from disabling when NSS was pulled down. 2013-01-12T06:39:57 < dongs> sup dongs 2013-01-12T06:40:19 < dongs> http://i.imgur.com/Y6PqK.jpg best korea attacks 2013-01-12T06:49:23 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-12T06:49:31 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-12T06:53:13 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-12T06:59:08 < emeb> attacks what/who? 2013-01-12T07:00:49 -!- Xamusk [~Xamusk@187.65.154.201] has joined ##stm32 2013-01-12T07:02:27 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has joined ##stm32 2013-01-12T07:02:27 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has quit [Changing host] 2013-01-12T07:02:27 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-12T07:05:21 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has joined ##stm32 2013-01-12T07:05:34 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-12T07:13:42 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-12T07:13:43 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-12T07:13:49 -!- dfletcher is now known as drgreenthumb 2013-01-12T07:13:57 -!- t1memob [~dongs@ZU223117.ppp.dion.ne.jp] has joined ##stm32 2013-01-12T07:17:28 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has quit [Ping timeout: 252 seconds] 2013-01-12T07:19:13 -!- t1memob [~dongs@ZU223117.ppp.dion.ne.jp] has quit [Ping timeout: 265 seconds] 2013-01-12T07:30:01 -!- Xamusk [~Xamusk@187.65.154.201] has quit [Read error: Connection reset by peer] 2013-01-12T07:47:01 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-12T07:48:25 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-12T07:59:16 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-12T08:02:56 < emeb_mac> hello... is there anybody in there? 2013-01-12T08:16:59 < gkwhc> hi! 2013-01-12T08:32:04 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-12T08:32:40 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-12T08:32:45 < emeb_mac> ow 2013-01-12T08:35:07 < emeb_mac> probably could go longer if you used the extreme low power modes and just woke up periodically. 2013-01-12T08:35:54 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 244 seconds] 2013-01-12T08:43:29 -!- baird [~cjb@ppp121-44-64-31.lns20.syd6.internode.on.net] has joined ##stm32 2013-01-12T08:56:55 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-12T09:00:25 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-12T09:11:56 -!- dekar_ [~dekar@212.255.241.129] has joined ##stm32 2013-01-12T09:11:59 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-12T09:12:09 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-12T09:15:35 -!- dekar [~dekar@212.255.253.63] has quit [Ping timeout: 260 seconds] 2013-01-12T09:15:48 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 2013-01-12T09:22:07 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 260 seconds] 2013-01-12T09:36:27 < baird> retroblogging: Scored a Epyx 500XJ joystick! http://www.vintagecomputing.com/wp-content/images/retroscan/epyx_joystick_large.jpg .. Mine's in near-perfect, hardly-used condition, too. :D 2013-01-12T09:39:50 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-12T09:59:36 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-12T10:25:24 -!- meowcat [~dev666@94-193-214-139.zone7.bethere.co.uk] has left ##stm32 [] 2013-01-12T10:39:36 -!- claude is now known as Claude 2013-01-12T10:50:49 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-12T10:53:46 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-12T10:59:15 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-12T11:00:03 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-12T11:26:00 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-12T11:32:49 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 248 seconds] 2013-01-12T11:33:26 -!- Claude is now known as claude 2013-01-12T11:33:29 -!- jef79m is now known as jef79m_lurking 2013-01-12T11:34:36 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-12T11:35:16 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-01-12T11:35:20 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-12T11:38:25 < baird> http://politicalticker.blogs.cnn.com/2013/01/11/white-house-responds-to-death-star-petition-no/?hpt=hp_c1 ... "The administration does not support blowing up planets." 2013-01-12T11:48:41 < t1memob> Lol 2013-01-12T11:48:42 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Quit: Bye] 2013-01-12T11:48:52 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-12T11:51:44 -!- Viper168_ [~Viper@node193.19.251.72.1dial.com] has joined ##stm32 2013-01-12T11:51:44 -!- Viper168_ [~Viper@node193.19.251.72.1dial.com] has quit [Changing host] 2013-01-12T11:51:44 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-12T11:52:29 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Read error: Connection reset by peer] 2013-01-12T11:54:15 -!- Viper168_ [~Viper@node193.19.251.72.1dial.com] has joined ##stm32 2013-01-12T11:54:16 -!- Viper168_ [~Viper@node193.19.251.72.1dial.com] has quit [Changing host] 2013-01-12T11:54:16 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-12T11:54:40 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-01-12T11:55:19 -!- Viper168_ is now known as Viper168 2013-01-12T12:21:32 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-12T12:24:27 -!- barthess [~barthess@178.154.55.28] has joined ##stm32 2013-01-12T12:30:05 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-01-12T12:35:37 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-12T12:39:24 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-12T12:39:25 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-12T12:39:25 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-12T12:39:28 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-12T13:06:12 -!- baird [~cjb@ppp121-44-64-31.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-12T13:08:04 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-12T13:22:53 -!- claude is now known as Claude 2013-01-12T13:42:06 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 264 seconds] 2013-01-12T13:51:22 -!- daku is now known as DaKu 2013-01-12T14:14:26 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-12T14:19:39 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has joined ##stm32 2013-01-12T14:40:08 <+Steffanx> Must be a black day for you Laurenceb_ . 2013-01-12T14:42:17 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-12T14:49:52 < dongs> why? 2013-01-12T14:49:59 < dongs> cuz reddit co-owner klerck'd himself?> 2013-01-12T14:50:24 <+Steffanx> Yeah.. 2013-01-12T14:50:43 <+Steffanx> As frequent reddit 'visitor' he must be 'shocked' 2013-01-12T14:56:01 < dongs> now we have a new measure of dead 2013-01-12T14:56:12 < dongs> $X is deader than Aaron Schwarz 2013-01-12T14:56:18 <+Steffanx> Uh :S 2013-01-12T14:56:28 < dongs> since *BSD is pretty dead 2013-01-12T14:57:07 <+Steffanx> $X .. please say that's not perl, bash or php or whatever uses $xxxx as variables :P 2013-01-12T15:02:17 < Thorn> black magic clone progress report: everything works after application of a needle tip to chip pins. 2013-01-12T15:02:36 < Thorn> I AM A MASTER OF SOLDERING! 2013-01-12T15:02:37 < dongs> so basically you suck at soldering? 2013-01-12T15:02:41 < dongs> k 2013-01-12T15:02:54 < Thorn> 3 days wasted. 2013-01-12T15:03:15 <+Steffanx> Hehe, oops 2013-01-12T15:03:31 < Thorn> why did it work with stm32 but not with lpc though? 2013-01-12T15:03:46 <+Steffanx> BLACK MAGIC C* 2013-01-12T15:04:16 <+Steffanx> It's all in the name. I don't understand why you guys see that :P 2013-01-12T15:08:20 < Thorn> the only difference I can think of is LPC pullups are extremely weak 2013-01-12T15:08:56 < Thorn> but isn't it supposed to drive swd signals to both levels anyway? 2013-01-12T15:09:20 < Thorn> it's not a wired-or bus or something 2013-01-12T15:17:10 -!- barthess [~barthess@178.154.55.28] has quit [Quit: Leaving.] 2013-01-12T15:18:25 -!- Laurenceb__ [~Laurence@host86-151-42-208.range86-151.btcentralplus.com] has joined ##stm32 2013-01-12T15:20:11 < dongs> watch Laurenceb__ paste shwarz news 2013-01-12T15:20:33 -!- Laurenceb_ [~Laurence@host86-178-5-116.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-12T15:21:13 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-12T15:25:18 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-12T15:45:48 < dongs> This place seems to be largely full of people writing before thinking (or actually reading and trying to educate themselves first) 2013-01-12T15:45:52 < dongs> What a negative ignorant troll fest. 2013-01-12T15:46:35 < zyp> huh? 2013-01-12T15:46:50 < dongs> pretty much sums up rcgroups 2013-01-12T15:46:57 < zyp> ah 2013-01-12T15:51:45 <+Steffanx> Why you still visit that website dongs? 2013-01-12T15:55:48 < dongs> i dont 2013-01-12T15:58:52 <+Steffanx> good good 2013-01-12T16:21:47 -!- _BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has joined ##stm32 2013-01-12T16:22:17 -!- Laurenceb_ [~Laurence@host86-149-103-157.range86-149.btcentralplus.com] has joined ##stm32 2013-01-12T16:22:22 -!- _BJFreeman is now known as BJFreeman 2013-01-12T16:25:18 -!- Laurenceb__ [~Laurence@host86-151-42-208.range86-151.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-01-12T16:26:33 -!- barthess [~barthess@5.100.195.140] has joined ##stm32 2013-01-12T16:31:02 -!- _BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has joined ##stm32 2013-01-12T16:33:49 -!- BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has quit [Ping timeout: 244 seconds] 2013-01-12T16:34:10 -!- _BJFreeman is now known as BJFreeman 2013-01-12T16:35:56 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-12T16:35:56 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-12T16:35:56 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-12T16:38:35 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2013-01-12T16:57:05 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-12T16:59:37 < Laurenceb_> sup 2013-01-12T17:03:42 <+Steffanx> Tha skyy 2013-01-12T17:04:34 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-12T17:04:57 * Laurenceb_ is doing 3D renderings 2013-01-12T17:04:59 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-12T17:04:59 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-12T17:04:59 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-12T17:05:34 < emeb_mac> watcha rendering? 2013-01-12T17:05:35 < Laurenceb_> http://imagebin.org/index.php?mode=image&id=242600 2013-01-12T17:05:57 < Laurenceb_> sensor parts 2013-01-12T17:07:39 <+Steffanx> If you said it was a spaceship i would've believed that too 2013-01-12T17:07:46 <+Steffanx> *ufo 2013-01-12T17:09:16 < jpa-> i think it is a spaceship 2013-01-12T17:09:20 < jpa-> does not look like a sensor 2013-01-12T17:09:42 < jpa-> and a very ugly spaceship at that 2013-01-12T17:09:59 < emeb_mac> everyone's a critic 2013-01-12T17:11:06 < emeb_mac> man - my intarwebz are slow this morning. 2013-01-12T17:14:35 <+Steffanx> emeb_mac, isn't that the point of IRC 2013-01-12T17:14:52 < emeb_mac> heh. 2013-01-12T17:15:08 < emeb_mac> don't notice the bottleneck on IRC. 2013-01-12T17:20:26 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-12T17:39:39 -!- _BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has joined ##stm32 2013-01-12T17:42:42 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-12T17:42:44 -!- BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has quit [Ping timeout: 248 seconds] 2013-01-12T17:43:06 -!- _BJFreeman is now known as BJFreeman 2013-01-12T17:53:12 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 260 seconds] 2013-01-12T17:55:32 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-12T18:02:29 -!- Claude is now known as claude 2013-01-12T18:08:05 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-01-12T18:10:20 < Laurenceb_> http://imagebin.org/index.php?mode=image&id=242607 2013-01-12T18:10:36 < Laurenceb_> just need to do pcb layout for the flexi-pcb now :P 2013-01-12T18:26:25 < emeb_mac> what's that sensor do anyway? 2013-01-12T18:26:37 < Laurenceb_> everything :P 2013-01-12T18:26:45 < emeb_mac> (besides "sense") 2013-01-12T18:27:04 < Laurenceb_> blood pressure, heartrate, temperature, metabolic rate and so on 2013-01-12T18:27:29 < Laurenceb_> http://imagebin.org/index.php?mode=image&id=242610 2013-01-12T18:27:54 < Laurenceb_> im probably going to spend all the time going crazy with raytraced refraction :P 2013-01-12T18:29:53 < emeb_mac> how does it work? 2013-01-12T18:30:33 < Laurenceb_> that blue thing is a membrane - the hose applied air and then it measures nir absorption 2013-01-12T18:30:40 < Laurenceb_> -infrared 2013-01-12T18:31:00 < Laurenceb_> then you can do loads of things like cut off the blood and look at the oxygen uptake 2013-01-12T18:32:37 < emeb_mac> so the little flag is the IR sensor? 2013-01-12T18:32:44 < emeb_mac> looking at the membrane? 2013-01-12T18:36:35 < emeb_mac> Thorn: I was right about soldering, eh? 2013-01-12T18:37:43 < Laurenceb_> no thats a solder tab 2013-01-12T18:37:59 < Laurenceb_> theres microphone cable down the middle of the hose, it solders to the tab 2013-01-12T18:54:05 -!- _BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has joined ##stm32 2013-01-12T18:56:20 -!- BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-01-12T18:57:05 <+dekar_> since you people love the raspberry pi so much: https://dl.dropbox.com/u/28467113/raspi.jpg 2013-01-12T19:02:23 < BrainDamage> is the huge heatsink your addition? 2013-01-12T19:03:53 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-12T19:12:16 <+dekar_> it now runs at 1ghz without ever clocking down 2013-01-12T19:12:35 <+Steffanx> Why such a big ass heatsink? 2013-01-12T19:12:53 <+Steffanx> It really needs that @ 1GHz? 2013-01-12T19:13:16 <+dekar_> idk, a co-worker told me his was unstable and kept overheating 2013-01-12T19:13:18 < emeb_mac> those BCM chips are Hawt 2013-01-12T19:13:36 <+Steffanx> Heatsinked mine too, but with pretty small ones 2013-01-12T19:13:38 <+dekar_> I think they also overvolt significantly at 1ghz 2013-01-12T19:13:52 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-12T19:14:07 < zyp> and still at 1ghz they are pretty slow compared to modern cortex-a chips :) 2013-01-12T19:14:23 <+Steffanx> Yes yes zyp, but the rpi doesnt HAVE that 2013-01-12T19:14:35 < zyp> exactly :p 2013-01-12T19:14:58 <+Steffanx> My intel i5 stuff blablabla is also faster. Even your cortex-a is slow compared to that :P 2013-01-12T19:15:08 <+dekar_> 22fps in glxgears in software! 2013-01-12T19:15:10 <+Steffanx> -even 2013-01-12T19:15:32 <+dekar_> our freescale iMX quadcore only has around 40fps 2013-01-12T19:15:56 <+Steffanx> I don't even remember where i left my rpi :) 2013-01-12T19:16:01 < zyp> dekar_, because it's single threaded and only uses one of the cores? :p 2013-01-12T19:16:08 <+Steffanx> What kind of power supply you use dekar_ ? 2013-01-12T19:16:21 <+Steffanx> Mine was VERY unstable with whatever usb-power supply i used 2013-01-12T19:16:32 < zyp> my bsd guy still has mine 2013-01-12T19:16:33 <+Steffanx> So i powered it using the pin header :) 2013-01-12T19:16:46 <+dekar_> zyp, well I was supposed to evaluate some Qt software on it that is also single threaded and doesn't even need many fps :) 2013-01-12T19:17:39 < zyp> sounds like the market cortex-a5 is targetting 2013-01-12T19:18:22 < jpa-> who mounts heatsinks with hotglue? :D 2013-01-12T19:18:29 <+Steffanx> dekar_ !!! 2013-01-12T19:19:13 <+dekar_> It actually isn't even that easy since the heatsink cools the hotglue down before it properly attaches 2013-01-12T19:19:29 <+dekar_> Though that can be fixed with more hotglue 2013-01-12T19:19:33 < zyp> you didn't consider using thermal glue? 2013-01-12T19:20:05 <+dekar_> I used some self stick pad from some other project, it is only sticky on one side 2013-01-12T19:20:44 < zyp> I mean the thermal epoxy stuff 2013-01-12T19:21:30 <+dekar_> Hotglue was faster and I didn't even care too much about the heatsink tbh :P 2013-01-12T19:35:06 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 256 seconds] 2013-01-12T19:36:39 < Laurenceb_> http://en.wikipedia.org/wiki/Boxxy 2013-01-12T19:36:44 < Laurenceb_> seriously wikipedia... 2013-01-12T19:39:54 <+Steffanx> Seriously Laurenceb_... 2013-01-12T19:40:28 < jpa-> sometimes i think wikipedias notability rules are very wrong :D 2013-01-12T19:41:10 <+Steffanx> Yeah, a page about Laurenceb_ isn't accepted :( 2013-01-12T20:00:58 -!- claude is now known as Claude 2013-01-12T20:01:23 -!- barthess [~barthess@5.100.195.140] has quit [Quit: Leaving.] 2013-01-12T20:01:35 -!- barthess [~barthess@5.100.195.140] has joined ##stm32 2013-01-12T20:06:17 < karlp> I think notability is in the eyes of the active wikipedians, not the eyes of the world :) 2013-01-12T20:13:06 -!- DaKu is now known as daku 2013-01-12T20:20:10 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-12T20:20:21 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-12T20:20:22 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-12T20:20:27 -!- dfletcher is now known as drgreenthumb 2013-01-12T20:25:13 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-12T20:28:24 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 264 seconds] 2013-01-12T20:29:13 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-12T20:29:47 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 2013-01-12T20:32:24 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2013-01-12T21:12:01 -!- barthess [~barthess@5.100.195.140] has quit [Read error: Connection reset by peer] 2013-01-12T21:13:36 -!- barthess [~barthess@178.154.55.163] has joined ##stm32 2013-01-12T21:19:19 < Thorn> gdb from gnu-arm-embedded crashes on "attach 1" with BMP, the one from codesourcery doesn't (it's a more recent vertsion too) 2013-01-12T21:24:03 -!- Claude is now known as claude 2013-01-12T21:30:22 -!- _BJFreeman is now known as BJFreeman 2013-01-12T21:33:37 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-12T21:34:34 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-12T21:59:30 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Ping timeout: 264 seconds] 2013-01-12T22:01:44 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-12T22:01:52 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-12T22:02:04 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Client Quit] 2013-01-12T22:10:37 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-12T22:27:25 <+Steffanx> zzz 2013-01-12T23:24:51 -!- barthess1 [~barthess@178.154.55.163] has joined ##stm32 2013-01-12T23:24:56 -!- barthess1 [~barthess@178.154.55.163] has quit [Client Quit] 2013-01-12T23:35:45 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 276 seconds] 2013-01-12T23:36:49 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-12T23:45:46 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-12T23:46:04 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 --- Day changed Sun Jan 13 2013 2013-01-13T00:06:27 -!- barthess [~barthess@178.154.55.163] has quit [Ping timeout: 260 seconds] 2013-01-13T00:24:28 -!- barthess [~barthess@5.100.214.182] has joined ##stm32 2013-01-13T00:29:47 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-13T00:33:26 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f1e2:80a1:3221:d76b] has joined ##stm32 2013-01-13T00:35:23 -!- fxd0h [~fx@186.123.133.93] has joined ##stm32 2013-01-13T00:40:29 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-13T00:42:09 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f1e2:80a1:3221:d76b] has quit [Remote host closed the connection] 2013-01-13T00:44:34 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [] 2013-01-13T00:47:13 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f1e2:80a1:3221:d76b] has joined ##stm32 2013-01-13T00:51:21 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f1e2:80a1:3221:d76b] has quit [Remote host closed the connection] 2013-01-13T00:54:06 -!- Laurenceb_ [~Laurence@host86-149-103-157.range86-149.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-01-13T01:16:25 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-13T01:17:20 < timemob> Donging on dongs 2013-01-13T01:18:05 -!- barthess [~barthess@5.100.214.182] has quit [Quit: Leaving.] 2013-01-13T01:18:29 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-01-13T01:18:36 -!- barthess [~barthess@77.67.205.160] has joined ##stm32 2013-01-13T01:18:58 < upgrdman> dongle is a funny sounding word 2013-01-13T01:30:14 -!- fxd0h [~fx@186.123.133.93] has left ##stm32 [] 2013-01-13T01:31:37 < zyp> hmm 2013-01-13T01:35:02 < zyp> the pin function selection on lpc43xx makes for a bit of extra work compared to stm32 2013-01-13T01:35:24 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-13T01:36:15 < zyp> on stm32 pins can be in GPIO or alternate function mode, on lpc GPIO is just another function like all the alternate functions, and the number varies per pin 2013-01-13T01:36:32 < zyp> some pins have GPIO as function 0, some pins have GPIO as function 4 2013-01-13T01:36:58 -!- barthess [~barthess@77.67.205.160] has quit [Quit: Leaving.] 2013-01-13T01:37:46 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-13T01:39:29 < zyp> not to mention the fact that pins and associated GPIO is grouped/numbered differently, but I've complained about that before 2013-01-13T01:39:35 < Thorn> zyp: looking at the lpc11 user manual, only pins that aren't gpio by default at startup (like reset, swdio, swclk) have GPIO function number != 0 2013-01-13T01:40:11 < Thorn> so I assume all pins are configured with function 0 at reset 2013-01-13T01:42:18 < zyp> not true for lpc43xx 2013-01-13T01:42:30 < zyp> hmm 2013-01-13T01:42:41 < zyp> some pins even doesn't have an associated GPIO 2013-01-13T01:43:25 < zyp> and some of the pins with GPIO on function 4 has SGPIO as function 0 2013-01-13T01:43:39 < zyp> hmm 2013-01-13T01:43:48 < zyp> P1_19 just have a bunch of different clocks 2013-01-13T01:43:51 < zyp> no GPIO 2013-01-13T01:44:28 < zyp> same with P3_3 2013-01-13T01:48:03 < Thorn> actually in lpc11 there are 4 pins where function 0 is reserved so you have to switch them to GPIO mode first (maybe they're used by the USB core in those chips where it's available or something) 2013-01-13T01:49:22 -!- Laurenceb_ [~Laurence@host86-149-103-157.range86-149.btcentralplus.com] has joined ##stm32 2013-01-13T01:49:41 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 252 seconds] 2013-01-13T01:49:59 < zyp> I'm just wondering how I should abstract this 2013-01-13T01:52:48 < zyp> I was planning to replace the hardcoded Pin objects (http://cgit.jvnv.net/laks/tree/gpio/pin.h#n119) with generated objects from an expression like GPIOA[0] 2013-01-13T01:52:54 < zyp> or perhaps even PA[0] 2013-01-13T01:53:25 < zyp> but that's a bit hard to do if I want the resulting objects to have both the pin and gpio id 2013-01-13T01:53:28 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-13T01:55:11 < zyp> might be better to just keep hardcoding them and storing both which Px_y and GPIOz[w] they correspond to 2013-01-13T01:55:53 < zyp> maybe along with GPIO function name 2013-01-13T02:11:36 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-13T02:13:09 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 240 seconds] 2013-01-13T02:13:26 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-13T02:24:20 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-13T02:29:49 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-13T02:31:59 < dongs> sup dongs 2013-01-13T02:32:40 -!- Laurenceb_ [~Laurence@host86-149-103-157.range86-149.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-13T02:32:45 < dongs> LPC sounds like a shitty processor already. 2013-01-13T02:39:44 < qyx_> drunk? 2013-01-13T02:43:56 -!- baird [~cjb@ppp121-44-217-40.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-13T02:48:31 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-13T02:50:31 < Thorn> the CAN controller in LPC11C was obviously designed for 8- or 16-bit micros 2013-01-13T02:52:41 < emeb> the downside of hardware re-use. you get zombie designs revived with the latest silicon. 2013-01-13T02:53:57 < Thorn> DATA_A1: two bytes of data, 16 upper bits reserved. DATA_A2: two more bytes, 16 upper bits reserved... 2013-01-13T03:03:23 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-01-13T03:09:41 < zyp> http://paste.jvnv.net/view/Awxwi <- lpc4300 pin functions 2013-01-13T03:09:54 < zyp> looks fun to abstract… 2013-01-13T03:10:45 < emeb> missing irony tags 2013-01-13T03:11:22 < Thorn> why did they do this? in lpc11/17 pin P1_10 will be PIO1_10 in GPIO mode 2013-01-13T03:11:33 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-13T03:11:53 < Thorn> (or watever it's called). no separate GPIO designations 2013-01-13T03:19:04 < gxti> reinforcing my inclination to stick to stm32 2013-01-13T03:19:50 < zyp> hmm, the gpio blocks are not equally sized either 2013-01-13T03:19:57 < dongs> registers? 2013-01-13T03:20:42 < zyp> GPIO0-4 are 16 bits wide, GPIO5-7 are 27, 31 and 26 bits wide respectively 2013-01-13T03:25:45 < dongs> wtf does that mean? 2013-01-13T03:25:54 < dongs> you mean that some bits are missing? 2013-01-13T03:26:04 < zyp> yeah, the last ones 2013-01-13T03:26:16 < dongs> but they're not just 'reserved' bits in gpio regs? 2013-01-13T03:26:22 < dongs> the stuff is actually shorter? 2013-01-13T03:26:23 < dongs> or wat 2013-01-13T03:26:27 < zyp> so you have GPIO5[0] to GPIO5[27] 2013-01-13T03:26:30 < dongs> right 2013-01-13T03:26:37 < zyp> of course they are just reserved 2013-01-13T03:26:43 < dongs> but isnt it same on STM too 2013-01-13T03:26:54 < dongs> i.e. on 48pin shit where theres not enough pins 2013-01-13T03:27:04 < zyp> true enough 2013-01-13T03:27:04 < dongs> some of GPIOx is missing 2013-01-13T03:27:13 < zyp> but this is the largest package. 2013-01-13T03:27:18 < dongs> heh 2013-01-13T03:28:13 < Thorn> remember NXP tries to be ARM7 compatible, that includes pinouts 2013-01-13T03:29:05 < Thorn> there's probabably some ARM7 BGA package with the same pinout 2013-01-13T03:30:04 -!- gkwhc [~me@unaffiliated/gkwhc] has left ##stm32 [] 2013-01-13T03:35:17 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2013-01-13T03:38:43 < dongs> huh 2013-01-13T03:38:47 < dongs> what hte fuck does that even mean 2013-01-13T03:42:23 < Thorn> http://www.nxp.com/products/microcontrollers/arm7/ 2013-01-13T03:45:35 < dongs> oh fuck 2013-01-13T03:45:40 < dongs> did anyone do a digikey order in last few days? 2013-01-13T03:48:12 < zyp> hmm, the actual registers themselves are pretty neatly designed 2013-01-13T03:48:36 < zyp> http://paste.jvnv.net/view/O4z3g 2013-01-13T03:49:14 < zyp> it's just the pin vs gpio mismatch and function number bullshit that's horrible 2013-01-13T03:50:04 < emeb> dongs: I sent an order in to DK yesterday morning 2013-01-13T03:50:32 < emeb> got a shipping confirmation yesterday afternoon 2013-01-13T03:50:45 < dongs> right, was it usps? 2013-01-13T03:50:47 < dongs> or ups 2013-01-13T03:50:49 < dongs> try tracking it 2013-01-13T03:50:53 < emeb> usps 2013-01-13T03:51:00 < dongs> hmm. 2013-01-13T03:51:12 < dongs> and? it was picked up? 2013-01-13T03:51:35 < dongs> origin scan = means its at ups office, or not picked up yet 2013-01-13T03:51:43 < emeb> yeah - looks like it went from TRF MN to Grand Forks ND 2013-01-13T03:51:47 < dongs> fuck. 2013-01-13T03:51:56 < dongs> Thief River Falls, MN, United States 01/11/2013 5:23 P.M. Origin Scan 2013-01-13T03:51:57 < dongs> United States 01/11/2013 5:50 P.M. Order Processed: Ready for UPS 2013-01-13T03:51:59 < dongs> thats mine last status 2013-01-13T03:52:05 < dongs> sounds like 'label printed' type shit 2013-01-13T03:52:15 < emeb> still sitting on the loading dock at DK 2013-01-13T03:52:15 < zyp> yeah 2013-01-13T03:52:27 < dongs> rage. so it'll be there till monday, fuck. 2013-01-13T03:52:34 < zyp> UPS are probably lazy and don't work during weekends :p 2013-01-13T03:52:44 < emeb> truf 2013-01-13T03:52:53 < emeb> troof? 2013-01-13T03:53:36 < zyp> >5PM sounds like after EOB on friday, so I'm not surprised 2013-01-13T03:53:49 < dongs> ive never had problems with that though 2013-01-13T03:54:04 < dongs> i usaully place order on fri night herewhich is like morning in usa 2013-01-13T03:54:07 < dongs> and it arrives mondays. 2013-01-13T03:54:45 < emeb> seems like it took them a long time to process yesterday. 2013-01-13T03:54:57 < dongs> United States 11/30/2012 5:50 P.M. Order Processed: Ready for UPS 2013-01-13T03:55:05 < dongs> 11/30/2012 4:47 P.M.Origin Scan 2013-01-13T03:55:10 < dongs> Thief River Falls, MN, United States 11/30/2012 7:10 P.M.Departure Scan 2013-01-13T03:55:11 < emeb> ordered in the morning but didn't get my shipping notice until late in the afternoon. 2013-01-13T03:55:13 < dongs> like this. 2013-01-13T03:55:42 < emeb> so it's like UPS didn't pick up in the evening as usual 2013-01-13T03:55:44 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-13T03:55:47 < zyp> ok, I'm just used to everyone being lazy here in norway :p 2013-01-13T03:55:59 < emeb> socialism. :) 2013-01-13T03:56:40 < zyp> hmm 2013-01-13T03:57:28 < zyp> I should probably configure clock to external oscillator and full speed before I start thinking about playing with sdram 2013-01-13T03:57:47 < emeb> been going with internal so far? 2013-01-13T03:58:36 < zyp> haven't done much so far, mostly wasted time getting flashing to work 2013-01-13T03:59:00 < emeb> figured out that corrupted bit? 2013-01-13T03:59:43 < zyp> yeah, seems like flash doesn't like writing in multple passes (partial writes) 2013-01-13T04:00:19 < emeb> ah - need full sector erase + full sector write only? 2013-01-13T04:01:14 < zyp> well, it only accept full page writes, but the original code just wrote 0xff to all untouched locations 2013-01-13T04:01:28 < zyp> the flashing code for all the other chips works the same way 2013-01-13T04:02:02 < zyp> (the stm32l0 code I wrote writes 0 to all untouched locations since flash seems to be inverted) 2013-01-13T04:02:49 < zyp> so I tried reading original content of page and writing that back instead, but that still didn't help 2013-01-13T04:03:20 < zyp> the bit that was corrupted was corrupted even if it were the last of two partial writes to a page 2013-01-13T04:03:56 < zyp> so now I read original content, erase and then write back new content 2013-01-13T04:03:59 < zyp> seems to work 2013-01-13T04:06:08 < emeb> blech 2013-01-13T04:06:39 < zyp> on the other hand, it's a bit pointless having to special case for partial writes at all 2013-01-13T04:06:53 < emeb> what are you doing that needs multiple parital writes? 2013-01-13T04:07:12 < zyp> gdb sends each section as a seperate packet 2013-01-13T04:07:23 < zyp> and the sections are not page aligned 2013-01-13T04:07:23 < emeb> ic 2013-01-13T04:07:47 < dongs> > gdb 2013-01-13T04:07:49 < dongs> found your problem 2013-01-13T04:09:02 < zyp> nah, it's the bmp firmware that's not exploiting the fact that the gdb protocol spec says that the flash packets are all sent incrementally, and then there is a done-packet after the last 2013-01-13T04:09:41 < emeb> so you could conceivably queue up the sector writes 2013-01-13T04:09:49 < zyp> yep 2013-01-13T04:09:51 < emeb> in RAM on the bmp 2013-01-13T04:10:16 < zyp> you just need to buffer up to a page 2013-01-13T04:10:45 < emeb> so they won't be scattered around then? 2013-01-13T04:11:00 < mervaka> hmm 2013-01-13T04:11:13 < emeb> how's I2S treating you mervaka 2013-01-13T04:11:16 < emeb> ? 2013-01-13T04:11:18 < zyp> there can still be gaps, but that's ok, because you know the gaps won't be filled 2013-01-13T04:11:20 < mervaka> ha 2013-01-13T04:11:38 < mervaka> well my supervisor's also stumped, so we're gonna sit down with it next week 2013-01-13T04:12:08 < mervaka> meanwhile, i'm starting the MIDI implementation 2013-01-13T04:12:37 < emeb> MIDI controlled mixer board? 2013-01-13T04:12:41 < mervaka> yeah 2013-01-13T04:12:46 < emeb> sweet 2013-01-13T04:12:54 < mervaka> digital preamps 2013-01-13T04:13:04 < emeb> MIDI is a hoot 2013-01-13T04:13:08 < mervaka> yeah 2013-01-13T04:13:19 < mervaka> just trying to remember my stuff on enums 2013-01-13T04:13:51 < mervaka> if i only have a couple of entries, will they just take one byte of memory? 2013-01-13T04:14:30 < emeb> enums shouldn't take any memory - they're just name/value associations the compiler uses. 2013-01-13T04:15:09 < mervaka> but i mean, if i made a typedef enum { bla, bla } mytype; 2013-01-13T04:15:30 < zyp> enums are integers 2013-01-13T04:15:34 < zyp> of some size 2013-01-13T04:15:43 < mervaka> i'm trying to determine that size :/ 2013-01-13T04:16:03 < zyp> it's undefined, but «large enough to house the largest value» 2013-01-13T04:16:09 < mervaka> ah ok 2013-01-13T04:16:24 < mervaka> so just a couple of entries will definitely be one byte long 2013-01-13T04:16:41 < zyp> C++11 added syntax to be able to choose the base type for an enum 2013-01-13T04:16:45 < zyp> no, not necessarily 2013-01-13T04:16:48 < mervaka> well 2013-01-13T04:16:51 < mervaka> assuming i started at 0 2013-01-13T04:17:14 < zyp> it might still be 32-bit, since 32-bit is large enough to house your eight or so values :p 2013-01-13T04:17:39 < mervaka> i've got efficiency OCD :p 2013-01-13T04:18:11 < zyp> the compiler might even choose different sizes for different optimization levels 2013-01-13T04:18:27 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-13T04:18:58 < mervaka> ah ok 2013-01-13T04:19:05 < mervaka> i'll stick to my #defines then :p 2013-01-13T04:19:16 < mervaka> i just prefer debugging with enums 2013-01-13T04:19:19 < zyp> huh? 2013-01-13T04:19:32 < mervaka> doing the MIDI tables 2013-01-13T04:19:35 < zyp> you can use an anonymous enum? 2013-01-13T04:19:54 < zyp> just use the enum in place of the defines, and still stuff them into ints 2013-01-13T04:20:04 < mervaka> that's true :) 2013-01-13T04:20:41 < mervaka> although it won't do the lookups in debugging, will it? 2013-01-13T04:20:59 < mervaka> as it's no longed tied 2013-01-13T04:22:25 < zyp> you're lucky 2013-01-13T04:23:19 < zyp> http://paste.jvnv.net/view/TrfLi 2013-01-13T04:24:48 < zyp> this is with gcc from the gcc-arm-embedded toolchain 2013-01-13T04:25:06 < zyp> i.e. what you probably would use in practice 2013-01-13T04:25:16 < mervaka> ah cool 2013-01-13T04:25:28 < mervaka> i might have to switch to gcc soon actually 2013-01-13T04:25:38 < zyp> ah, you're not using gcc? 2013-01-13T04:25:42 < mervaka> MDK at the moment 2013-01-13T04:25:54 < mervaka> but the free version with that damn 32k limit 2013-01-13T04:26:03 < mervaka> and i'm 24k in so far 2013-01-13T04:26:36 < dongs> pfft, gcc 2013-01-13T04:26:45 < dongs> if y ou were using gcc, you'd be over 32k by now 2013-01-13T04:27:21 < mervaka> most of that code is damn peripheral initialisation :( 2013-01-13T04:27:31 < zyp> heh 2013-01-13T04:28:30 < zyp> I'm not sure I have anything that's larger than 10k yet 2013-01-13T04:28:38 < mervaka> i'll admit now, i'm using the peripheral library, but i'm sure that can be written out later 2013-01-13T04:28:56 < zyp> but then I don't have much functionality yet either :p 2013-01-13T04:29:00 < mervaka> heh 2013-01-13T04:29:50 < mervaka> right, bed for me 2013-01-13T04:29:53 < mervaka> 2:30am 2013-01-13T04:29:54 < mervaka> nn x 2013-01-13T04:31:38 < zyp> hmm, my usb audio stuff is 8k 2013-01-13T04:32:27 < zyp> that's with usb, i2s and dma, and i2c for configuring the codec chip and setting volume 2013-01-13T04:33:42 < emeb> StdPeriph based stuff gets big quick 2013-01-13T04:34:03 < zyp> yeah 2013-01-13T04:34:09 < zyp> I guess 2013-01-13T04:34:16 < emeb> I did an F100 app w/ StdPeriph that was like 12k. Converted to direct writes & it was < 2k 2013-01-13T04:34:53 < emeb> not that this is a problem on an F40x... 2013-01-13T04:34:56 < zyp> my stuff is designed to inline to register accesses 2013-01-13T04:36:26 < mervaka> yeah, i'm just gonna save time by going through my initialisation routines in debug and copying down all the register writes 2013-01-13T04:36:50 < mervaka> but only once i've sorted the clocks out 2013-01-13T04:40:09 < zyp> hmm, interesting 2013-01-13T04:42:11 < zyp> lpc43xx got a dedicated frequency comparison counter 2013-01-13T04:42:19 < mervaka> nn x 2013-01-13T04:42:51 < emeb> interesting 2013-01-13T04:43:01 < emeb> what's the reference? 2013-01-13T04:43:10 < zyp> 12MHz internal 2013-01-13T04:43:31 < emeb> so only for rough estimates. 2013-01-13T04:43:52 < zyp> yeah, like detecting crystal value 2013-01-13T04:44:08 < zyp> or sanity checking other clocks 2013-01-13T04:44:42 < zyp> looks like it can check most of the different clock sources in the chip 2013-01-13T04:45:42 < emeb> so a giant mux for the sense input. 2013-01-13T04:45:54 < zyp> yeah 2013-01-13T04:47:11 < emeb> handy 2013-01-13T04:48:07 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-13T04:51:03 < zyp> hmm, it gives me 7.94 MHz for the external crystal 2013-01-13T04:51:53 < zyp> that sounds reasonable, given that the internal oscillator is rated to 1% 2013-01-13T04:52:32 < zyp> though, the surprising part is that I haven't explicitly started the external oscillator 2013-01-13T04:54:48 < zyp> uh, I powercycled the chip, now it's not :p 2013-01-13T04:56:05 < zyp> it's not started by flashing stuff either 2013-01-13T04:56:31 < zyp> I think the chip maybe was loaded with dongs' code when I powered it up, so oscillator has been running since 2013-01-13T04:57:47 < zyp> ah, and the oscillator control registers are reset by the same line that fucks up debugger, that I'm now not touching 2013-01-13T04:57:50 < zyp> then it makes sense 2013-01-13T05:05:56 < emeb> f100 alt fn mapping is so wonky. 2013-01-13T05:06:24 < emeb> set gpio to alt func, then hope the right periph takes control... 2013-01-13T05:06:35 < zyp> yeah, at least lpc43xx' mess is more usable :p 2013-01-13T05:07:24 < emeb> F3/F4 mapping bits are more sane too 2013-01-13T05:07:50 < emeb> I guess F2 uses that too, but I've no experience with those. 2013-01-13T05:08:13 < zyp> yeah, ST have put more work into having functions of same peripheral on same AF number 2013-01-13T05:08:27 < zyp> but then they have 16 on each pin, lpc got 8 2013-01-13T05:08:54 < zyp> I still believe F2 is equivalent to F4 2013-01-13T05:18:30 < zyp> hmm 2013-01-13T05:18:57 < zyp> the clock system in lpc seems to be a lot more flexible than the one in f4 2013-01-13T05:21:33 < zyp> in addition to the oscillators and plls and other clock inputs, there are five generic dividers that can source any of those 2013-01-13T05:22:39 < zyp> and then all the main internal clock distribution nets have a mux that can source any of those again 2013-01-13T05:24:47 < zyp> I'm counting 14 clocks in total 2013-01-13T05:25:07 < zyp> I mean, 14 sources 2013-01-13T05:26:04 < zyp> and then 24 clocks that each can select each of those as a source 2013-01-13T05:39:47 < zyp> the default values are a bit weird 2013-01-13T05:40:56 < zyp> PLL is configured to output 288 MHz and CPU runs on that divided by 3 2013-01-13T05:42:43 < zyp> PLL is not allowed to run higher than 320 MHz, so if I want to run cpu at full speed I have to use it undivided, so I first have to clock it down to 204 MHz 2013-01-13T05:42:45 < emeb> wow 2013-01-13T05:43:31 < zyp> and because of the weird two-step stuff and 204/3 being <90 MHz, I then will have to change divisor to 2, to get 102 MHz, then change divisor again to 1 to get 204 MHz 2013-01-13T05:46:55 < zyp> I get very mixed feelings about this chip :p 2013-01-13T05:47:08 < zyp> some parts are great and some parts are just plain mindfuck :p 2013-01-13T05:47:21 < emeb> definitely some odd things going on there. 2013-01-13T05:49:12 < zyp> lpc4357 2013-01-13T05:53:30 < zyp> http://bin.jvnv.net/f/Mv7rw.JPG <- see for yourself 2013-01-13T05:57:25 < zyp> well, yeah, I'm not stuck in the past 2013-01-13T05:59:39 < zyp> well, this is a hobby board, so I dunno 2013-01-13T06:00:39 < emeb> so I'm talking to a strange peripheral. I need to wait at least 3.2us for it to finish a conversion. Suggestions on a foolproof delay? 2013-01-13T06:01:09 < zyp> cycle counter? 2013-01-13T06:01:14 < emeb> yeah 2013-01-13T06:01:17 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-13T06:01:36 < emeb> got that coded (thx zyp) already. 2013-01-13T06:01:40 < emeb> probably best. 2013-01-13T06:01:43 < zyp> :) 2013-01-13T06:03:44 < zyp> otherwise if you are not using systick already you could set it to a 3.2us deadline, wfi, then disable it again in the ISR 2013-01-13T06:04:21 < zyp> that'll confuse you if you get another interrupt meanwhile though :p 2013-01-13T06:05:57 < emeb> nah. cyclesleep seems easiest 2013-01-13T06:06:19 < emeb> does F100 have that too? I assume that's part of the M3/M4 core. 2013-01-13T06:07:32 < emeb> duh - of course it is. It's in the ARM docs, not the STM docs. 2013-01-13T06:14:36 < zyp> :) 2013-01-13T06:17:03 < zyp> just made the EMC register definition structs 2013-01-13T06:17:15 < zyp> gonna give sdram a go tomorrow 2013-01-13T06:17:27 < emeb> big fun 2013-01-13T06:28:29 < zyp> hmm, interesting 2013-01-13T06:28:42 < zyp> http://infocenter.arm.com/help/topic/com.arm.doc.ddi0215e/index.html <- the EMC is this core 2013-01-13T06:29:48 < emeb> Heh - I remember using that core in an SoC I worked on at Intel. 2013-01-13T06:30:21 < zyp> really? does that mean I get to ask you for help when I get stuck? :p 2013-01-13T06:31:25 < emeb> no, it just means I've seen that document before. We didn't know any more about it than that. 2013-01-13T06:31:34 < zyp> :p 2013-01-13T06:31:46 < emeb> well, aside from hooking up the HDL ports... 2013-01-13T06:31:48 < dongs> why does that say 'retired' all over it 2013-01-13T06:31:57 < zyp> dunno 2013-01-13T06:32:04 < zyp> id register says r2p4 2013-01-13T06:32:08 < emeb> probably because it's ancient 2013-01-13T06:32:09 < zyp> so that's what it is 2013-01-13T06:32:14 < dongs> neat 2013-01-13T06:32:17 < emeb> I used it back in 2003-2004 2013-01-13T06:32:39 < zyp> and then there is this biosfood register 2013-01-13T06:32:45 < zyp> «You can use this register for automatic BIOS configuration. The MPMCPCellID Register is set to 0xB105F00D.» 2013-01-13T06:32:58 < dongs> heh 2013-01-13T06:34:14 < emeb> my chip -> http://ecee.colorado.edu/~ecen4242/marko/WiMax/WiMax/Intel%20PROWireless%205116.pdf 2013-01-13T06:34:24 < zyp> anyway, it's nice to have more documentation available 2013-01-13T06:34:41 < dongs> haha wimax 2013-01-13T06:34:47 < dongs> isnt that deader than Aaron Shwarz 2013-01-13T06:34:47 < emeb> :) 2013-01-13T06:35:01 < emeb> Clearwire still uses it here. 2013-01-13T06:35:07 < emeb> dunno about anyone else. 2013-01-13T06:35:13 -!- BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has quit [Quit: had a good time] 2013-01-13T06:35:32 < zyp> UQ in japan also use it 2013-01-13T06:35:36 < dongs> uq? 2013-01-13T06:35:39 -!- _BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has joined ##stm32 2013-01-13T06:36:08 < zyp> the vaio I bought in 2010 came with a 15 day free trial, was nice 2013-01-13T06:36:40 < zyp> decent coverage in the large cities, pretty much none outside 2013-01-13T06:37:18 < dongs> lol wut? 2013-01-13T06:37:22 < dongs> apparently they have coverage here 2013-01-13T06:40:03 < dongs> lolwut 2013-01-13T06:40:06 < dongs> the prices are retarded 2013-01-13T06:40:09 < dongs> fuggedit 2013-01-13T06:40:11 -!- GargantuaSauce_ [~sauce@blk-222-208-237.eastlink.ca] has quit [Quit: No Ping reply in 180 seconds.] 2013-01-13T06:40:39 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-13T06:41:10 < dongs> i wonder whose infrasturcture they're using 2013-01-13T06:41:12 < dongs> probably NTTs 2013-01-13T06:41:20 < zyp> for wimax? 2013-01-13T06:41:23 < dongs> yeah 2013-01-13T06:41:28 < dongs> since noone here actually owns any network gear 2013-01-13T06:41:34 < dongs> they gotta be bumming it off osmeone else 2013-01-13T06:43:14 < dongs> oh 2013-01-13T06:43:15 < dongs> KDDI 2013-01-13T06:43:20 < dongs> heh 2013-01-13T06:43:24 < dongs> surprise. 2013-01-13T06:44:13 < dongs> shareholders: kddi, intel, jr east / kyocera (owned by KDDI), daiwa group (some random fags), tokyo ufj worthless bank 2013-01-13T06:44:36 < zyp> ah, right 2013-01-13T06:44:41 < zyp> and kddi is also au, right? 2013-01-13T06:44:43 < dongs> yeah 2013-01-13T06:45:00 < dongs> so they prob just trolled some extra gear into kddi towers 2013-01-13T06:45:12 < dongs> and jr east is putting teh shit into stations. 2013-01-13T06:45:30 < zyp> hmm, are they running some alternative tech for their phones? 2013-01-13T06:46:04 < zyp> I know the shit I'm working on is being used both for softbank and docomo, but I haven't heard anything about au 2013-01-13T06:46:08 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Remote host closed the connection] 2013-01-13T06:46:55 < zyp> ah, yeah, it's CDMA 2013-01-13T06:46:59 < dongs> au has always been cdma 2013-01-13T06:47:07 < dongs> weird custom shit too 2013-01-13T06:47:09 < dongs> not american cdma 2013-01-13T06:49:55 < dongs> http://www.uqwimax.jp/service/price/images/voyage_img_03.gif is that clearwire logo? 2013-01-13T06:50:08 < dongs> looks like it 2013-01-13T06:50:19 < dongs> lol uq lists them as "abroad coverage" 2013-01-13T06:50:23 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-13T06:50:29 < dongs> except they actually own the network 2013-01-13T06:50:31 < dongs> unlike these fags. 2013-01-13T06:50:54 < dongs> https://www.google.com/finance/chart?q=NASDAQ:CLWR&tlf=12&chst=vks&chs=327x96&chsc=1&p=max 2013-01-13T06:51:01 < dongs> deader than *BSD 2013-01-13T06:51:37 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-13T06:51:42 < zyp> hmm, whose network is emobile using? 2013-01-13T06:51:47 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-13T06:52:14 < dongs> docomo's i think 2013-01-13T06:52:24 < dongs> lets see who owns them 2013-01-13T06:52:37 < dongs> eaccess 2013-01-13T06:53:28 < zyp> and eaccess is owned by softbank 2013-01-13T06:53:43 < dongs> well thre you go 2013-01-13T06:53:52 < emeb_mac> and softbank is owned by... ? 2013-01-13T06:53:58 < dongs> some korean 2013-01-13T06:54:04 < dongs> and some shitty baseball team 2013-01-13T06:54:06 < dongs> or amybe the other way a round 2013-01-13T06:55:10 < gxti> softbonk 2013-01-13T06:55:18 < dongs> UQ only has 360 employees, so they can't actually do anything other than sales 2013-01-13T06:55:19 < emeb_mac> boink 2013-01-13T06:55:27 < emeb_mac> man the phones 2013-01-13T06:55:49 < emeb_mac> collect the monies 2013-01-13T06:56:12 < dongs> apparently eacccess actually owns some 1.7ghz spectrum 2013-01-13T06:56:25 < emeb_mac> not cheap 2013-01-13T06:57:13 < dongs> http://emobile.jp/service/adslservice/ haha 2013-01-13T06:57:29 < dongs> 'hi we provide ADSL, as long as NTT does the construction" 2013-01-13T06:58:35 < emeb_mac> a lot of outfits here in the US resell the major carriers products as well. 2013-01-13T06:58:44 < zyp> same here in norway 2013-01-13T06:58:54 < dongs> well, the problem here is there's only one carrier to resell from 2013-01-13T06:59:00 < dongs> adn there are literally thousands of resellers. 2013-01-13T06:59:20 < dongs> im pretty sure anywhere in u.s. there is a choice of at least TWO carriers in any given area 2013-01-13T06:59:25 < dongs> who actually OWN their network 2013-01-13T06:59:31 < dongs> whether its cable/dsl/fiber/whaever 2013-01-13T06:59:40 < emeb_mac> for wireless that's generally true 2013-01-13T07:00:00 < emeb_mac> for wired there's usually only cable or telco 2013-01-13T07:00:12 < emeb_mac> in any geographic locale. 2013-01-13T07:00:50 < dongs> well thats 2 right there. 2013-01-13T07:01:01 < gxti> yes, these days at least both cable and telco provide tv and phone 2013-01-13T07:01:04 < gxti> and internet 2013-01-13T07:01:32 < emeb_mac> in my neighborhood I can only get internets from the cable company 2013-01-13T07:01:55 < emeb_mac> the telco has us all on a low bandwidth switched network and won't upgrade, so no DSL for us. 2013-01-13T07:03:49 -!- R2COM [~blackops@98.230.217.221] has joined ##stm32 2013-01-13T07:03:51 < zyp> in Norway we have two cellular networks with nationwide coverage, and then a third one with some spotty coverage 2013-01-13T07:04:21 < emeb_mac> one wonders how those spotty ones survive. 2013-01-13T07:04:30 < zyp> roaming deals 2013-01-13T07:05:46 -!- R2COM [~blackops@98.230.217.221] has quit [Client Quit] 2013-01-13T07:07:44 < zyp> the largest one of those (Telenor) also owns the entire PSTN network and is the largest ADSL provider 2013-01-13T07:07:54 < zyp> also with pretty much nationwide coverage 2013-01-13T07:09:36 < dongs> im surprised how all these overpriced ntt resellers survive 2013-01-13T07:11:48 < emeb_mac> must get good bulk discounts or something 2013-01-13T07:15:33 -!- _BJFreeman [~bjfree@247.sub-75-244-148.myvzw.com] has quit [Quit: had a good time] 2013-01-13T07:15:41 < emeb_mac> dongs: did you ever get your tray of f303 parts from china? 2013-01-13T07:16:13 < dongs> yep 2013-01-13T07:16:28 < dongs> http://i.imgur.com/mZksK.jpg 2013-01-13T07:16:29 < dongs> :D 2013-01-13T07:16:53 < emeb_mac> sweet! 2013-01-13T07:17:08 < emeb_mac> IIRC that was a pretty good price compared to DK. 2013-01-13T07:17:20 < dongs> ya 2013-01-13T07:17:37 < dongs> might have been a fuckup too 2013-01-13T07:17:41 < dongs> though its comparable to F103s 2013-01-13T07:17:53 < dongs> when my chinapal called htem up to buy for me, they quoted a $1 more price. 2013-01-13T07:18:21 < emeb_mac> heh. who knows what the price is - it keeps changing 2013-01-13T07:20:08 < dongs> eh, neat. intel bios update shit runs from windows. 2013-01-13T07:21:01 < emeb_mac> no boot from floppy? :P 2013-01-13T07:21:33 < zyp> how many chips is that and how much was it? 2013-01-13T07:22:40 < emeb_mac> lol kickstarter -> http://www.kickstarter.com/projects/designswarm/good-night-lamp 2013-01-13T07:27:01 < zyp> saw it some days ago, I actually like the idea 2013-01-13T07:29:02 < emeb_mac> so the little houses need to plug in to some sort of web connection, but you can have a lot of them. 2013-01-13T07:29:21 < emeb_mac> for different people you're "monitoring" 2013-01-13T08:21:42 < Viper168> hmm 2013-01-13T08:23:49 < Viper168> would this f4 discovery board be sufficient for the brain of a 3d printer? 2013-01-13T08:24:13 < gxti> Viper168: yes, even a f0 could do that 2013-01-13T08:24:25 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-13T08:24:50 < Viper168> I just haven't taken time to really familiarize myself with its capabilities nor the required capabilities for a printer 2013-01-13T08:25:06 < Viper168> any good resources around about doing so? 2013-01-13T08:25:18 < gxti> dunno 2013-01-13T08:32:05 < dongs> zyp: 250 2013-01-13T08:33:10 < zyp> for how much? 2013-01-13T08:35:57 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-13T08:36:54 < dongs> 3.something i tihnk 2013-01-13T08:37:00 < dongs> < 4 for sure 2013-01-13T08:59:28 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-13T08:59:46 < emeb_mac> not bad - DK price for 250qty is $5.32 2013-01-13T09:10:57 -!- dekar__ [~dekar@212.255.252.17] has joined ##stm32 2013-01-13T09:11:00 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-01-13T09:14:36 -!- dekar_ [~dekar@212.255.241.129] has quit [Ping timeout: 244 seconds] 2013-01-13T10:03:20 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f445:55df:a0ed:d9af] has joined ##stm32 2013-01-13T10:06:44 -!- jnugen [~jnugen@71-9-137-101.dhcp.mdfd.or.charter.com] has joined ##stm32 2013-01-13T10:17:57 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f445:55df:a0ed:d9af] has quit [Remote host closed the connection] 2013-01-13T10:37:01 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has joined ##stm32 2013-01-13T10:38:07 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has quit [Client Quit] 2013-01-13T10:44:04 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f445:55df:a0ed:d9af] has joined ##stm32 2013-01-13T10:47:13 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f445:55df:a0ed:d9af] has quit [Remote host closed the connection] 2013-01-13T10:48:27 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-13T10:50:26 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-01-13T10:51:23 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-13T10:51:51 -!- Viper168_ is now known as Viper168 2013-01-13T10:55:00 < qyx_> last time someone here linked web with e-ink displays for $3 2013-01-13T10:58:23 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-13T11:13:40 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-13T11:26:58 -!- dekar [~dekar@212.255.252.17] has joined ##stm32 2013-01-13T11:26:58 -!- dekar__ [~dekar@212.255.252.17] has quit [Read error: Connection reset by peer] 2013-01-13T11:27:00 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-13T11:39:21 -!- barthess [~barthess@5.100.193.31] has joined ##stm32 2013-01-13T11:46:18 < dongs> 3rageblog 2013-01-13T11:46:29 < dongs> qyx_: yeah, probably flybacki 2013-01-13T11:46:31 < dongs> -i 2013-01-13T11:50:16 < qyx_> k, thanks 2013-01-13T12:12:59 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-13T12:24:20 < Viper168> professor flybacki 2013-01-13T12:25:05 < Viper168> working on gather all the software and info I need to get started with this board 2013-01-13T12:25:11 < Viper168> the f4 discovery 2013-01-13T12:25:34 < Viper168> I may decide to do a robot or something with this afterall 2013-01-13T12:26:31 < Viper168> and do the 3d printer with something that won't require a lot of original programming that has already been done 2013-01-13T12:27:22 < Viper168> the hackerspace thing here apparently has a bunch of printers on hand 2013-01-13T12:27:34 <+dekar> runtime memory compression for MMU-less systems: http://ziyang.eecs.umich.edu/~lancey/memmu/ 2013-01-13T12:27:44 < Viper168> so may get involved and see about getting help nwith printed parts from them 2013-01-13T12:28:00 < Viper168> so I don't have to spend much getting my own built 2013-01-13T12:28:12 <+dekar> can't find a license, I'd be inclined to try MEMMU 2013-01-13T12:29:27 <+dekar> Viper168, https://github.com/EliasOenal/TNT 2013-01-13T12:31:42 < Viper168> I've been grabbing yagarto 2013-01-13T12:32:03 <+dekar> Viper168, that's fine as well, now get the TNT example project 2013-01-13T12:32:20 <+dekar> https://github.com/EliasOenal/TNT_Example 2013-01-13T12:33:25 < Viper168> it's ub the queue 2013-01-13T12:33:29 < Viper168> *in 2013-01-13T12:34:12 < Viper168> http://quelab.net/wordpress/1598/getting-started-with-the-stm32f4discovery/ looked like a pretty sensible basic introduction so I've been reading that 2013-01-13T12:36:06 <+dekar> the TNT example is an out of the box blinky lights firmware with working malloc() and stubs for stdout retargeting 2013-01-13T12:36:41 <+dekar> you just have to "make" it for the f4 discovery, no changes needed 2013-01-13T12:37:06 < Viper168> ah 2013-01-13T12:37:16 < Viper168> yeah and I need to start learning c again 2013-01-13T12:37:32 < jpa-> dekar: huh, i would think it is pretty scary that you could run out of memory based on how well your data happens to compress today 2013-01-13T12:39:20 <+dekar> jpa-, you could always add a swap for backup, MEMMU basically implements virtual memory already 2013-01-13T12:39:30 < jpa-> true 2013-01-13T12:40:03 < jpa-> works probably well for "best effort" style applications 2013-01-13T12:40:15 <+dekar> I mailed them about the license 2013-01-13T12:40:44 <+dekar> If it's some BSD style one I'll probably try setting up a toolchain 2013-01-13T12:43:21 <+dekar> I recently had a case where a co-workers lua script had the lua compiler run out of memory on the stm32 2013-01-13T12:43:58 <+dekar> I'll work around it by transferring it precompiled, yet a little compression would be great :) 2013-01-13T12:55:37 < jpa-> i have been thinking about trying out TCL on STM32 2013-01-13T13:00:36 -!- claude is now known as Claude 2013-01-13T13:19:34 < baird> Re: MEMMU -- it sounds like the kind of academic project that's 'free to use-- but commercial rights reserved' are for properties that the University is attempting to monetize (patents, etc.) A "BSD please rip us off" licence might not fly. 2013-01-13T13:21:29 -!- Laurenceb_ [~Laurence@host86-149-103-157.range86-149.btcentralplus.com] has joined ##stm32 2013-01-13T13:31:25 <+dekar> baird, well I can live without it, we'll see how they respond 2013-01-13T13:31:52 <+dekar> Also I don't think they're monetizing it anyway. 2013-01-13T13:32:14 <+dekar> The supported LLVM version is pretty dated :/ 2013-01-13T13:38:21 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-13T13:38:22 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-13T13:38:22 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-13T13:38:25 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-13T13:39:24 -!- daku is now known as DaKu 2013-01-13T13:46:12 <+Steffanx> "Simulation of EAGLE schematics in LTspice IV" heh 2013-01-13T13:48:03 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-13T13:49:56 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-13T14:05:49 < dongs> http://dvice.com/archives/2012/12/disney-princess.php 2013-01-13T14:05:50 < dongs> haha 2013-01-13T14:06:15 < dongs> Steffanx: I saw that as "Simulation of FAIL in FAIL" 2013-01-13T14:06:32 <+Steffanx> Your brain is fucked up. Nothing new 2013-01-13T14:07:19 <+Steffanx> Not sure if the article is serious. The yankees are crazy enough to really make something like that... 2013-01-13T14:08:54 < dongs> it probably is, they have prices on the bottom. 2013-01-13T14:12:36 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-13T14:13:04 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-13T14:14:19 <+Steffanx> I bet the japlanders have even weirder backpacks dongs 2013-01-13T14:14:35 < dongs> i bet they do 2013-01-13T14:14:52 <+Steffanx> Never went to school with one? 2013-01-13T14:15:19 <+Steffanx> Suzi bar backpack? 2013-01-13T14:53:48 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-13T15:03:17 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-13T15:32:29 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-13T15:32:57 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-13T15:41:47 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-13T15:42:46 < zyp> heh, lpc is already outputting sdram clock at reset settings 2013-01-13T15:58:11 -!- barthess [~barthess@5.100.193.31] has quit [Quit: Leaving.] 2013-01-13T16:24:14 -!- barthess [~barthess@77.67.201.56] has joined ##stm32 2013-01-13T16:25:51 -!- barthess [~barthess@77.67.201.56] has quit [Client Quit] 2013-01-13T16:26:04 -!- barthess [~barthess@77.67.201.56] has joined ##stm32 2013-01-13T16:29:27 < Viper168> are the st examples on their site compatible with the free methods? 2013-01-13T16:29:52 < Viper168> or do you have to have one of the expensive software kits for them 2013-01-13T16:51:49 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 265 seconds] 2013-01-13T16:59:47 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-13T17:13:24 -!- barthess [~barthess@77.67.201.56] has quit [Quit: Leaving.] 2013-01-13T17:15:40 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-13T17:17:12 -!- barthess [~barthess@77.67.231.185] has joined ##stm32 2013-01-13T17:17:47 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2013-01-13T17:18:12 < jpa-> Viper168: most of them work with GCC, yeah 2013-01-13T17:18:34 < jpa-> Viper168: sometimes you may have to write your own makefile, because they only provide projects for some IDEs 2013-01-13T17:20:00 < Viper168> ah, cool 2013-01-13T17:21:05 < jpa-> there are a few commercial vendors that use GCC as their compiler (codesourcery, for example) 2013-01-13T17:22:58 < Thorn> WTF, both black magic clones stopped working with my lpc11 again. 2013-01-13T17:24:08 < Thorn> (good news are I got CAN communications working and bit timing exactly the same between it and the stm32 board) 2013-01-13T17:25:09 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has joined ##stm32 2013-01-13T17:25:24 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-13T17:34:04 < Thorn> btw, is it correct to assume that propagation segment has length 0 when calculating bit timing? http://en.wikipedia.org/wiki/File:CAN_Bit_Timing2.svg 2013-01-13T17:40:28 -!- BrainDamage2 [~yaaic@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-13T17:40:47 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-13T17:40:52 -!- BrainDamage2 [~yaaic@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Client Quit] 2013-01-13T17:41:07 -!- BrainDamage [~yaaic@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-13T17:42:54 < kulminaator> small question about the stm32 evaluation boards ... i understand the usb interface is there for programming and debugging of the unit ... can it also communicate it once it has some code running ? 2013-01-13T17:44:14 < jpa-> kulminaator: some boards like STM32F4 discovery have a second USB connector for user code 2013-01-13T17:44:23 -!- BrainDamage [~yaaic@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Client Quit] 2013-01-13T17:44:32 < jpa-> but the st-link usb connector is only for programming & debugging 2013-01-13T17:44:42 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has joined ##stm32 2013-01-13T17:44:49 < Thorn> if you mean jtag/swd interface, there's support for character data in ITM, but your debugging software needs to support it 2013-01-13T17:45:14 < Thorn> it works via SWO http://www.keil.com/download/docs/402.asp 2013-01-13T17:45:14 < jpa-> (you can write some funny functions to bring you e.g. debug logs through gdb) 2013-01-13T17:45:30 < kulminaator> i was just thinking if i could use them as usb->i2c bridges or usb->pwm terminals (or arbitary programmers for other mcu's) 2013-01-13T17:45:39 -!- baird [~cjb@ppp121-44-217-40.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-13T17:45:50 < kulminaator> looks like the investment curve of cash is very shallow with the discovery boards ... 2013-01-13T17:45:53 < jpa-> kulminaator: kind-of-not-really-maybe 2013-01-13T17:46:02 <+dekar> Viper168, the TNT example uses the ST libs 2013-01-13T17:46:13 < jpa-> you can hack around using the debugger interface, but that's not very pleasant 2013-01-13T17:46:37 < jpa-> kulminaator: i would suggest F4 discovery for that, it has the separate usb interface 2013-01-13T17:46:43 <+dekar> oh I read your question the wrong way -.-" 2013-01-13T17:46:52 < Thorn> ok time to test CAN bus failures 2013-01-13T17:48:54 < kulminaator> the stm32f4 discovery boards at farnell start out from around 13 euros ... not bad 2013-01-13T17:54:57 < zyp> it's not like it's a huge investment 2013-01-13T17:57:06 < kulminaator> well if you compare it to the offers from avr or pic where you have to usually cash out more to get the almighty 8 bit device ... 2013-01-13T17:59:03 < kulminaator> i am prototyping a robot right now with avr chips ... but i don't really fancy the experience all that much ... just checking if there's something more for my taste out there 2013-01-13T18:01:03 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2013-01-13T18:01:03 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2013-01-13T18:01:03 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-13T18:01:35 < zyp> 8-bit devices are pretty obsolete now 2013-01-13T18:03:18 < kulminaator> well there are probably some cornercases where they are useful or handy (e.g. my current proto uses them as i2c->pwm bridges) 2013-01-13T18:04:25 < Thorn> BMP seems to have problems connecting to a target held in reset (by BMP itself) 2013-01-13T18:04:27 < kulminaator> and they are totally fine in that task ... but programming them doesn't feel like i imagined it would (at least if i look at my calendar, it says year 2013 ... we were supposed to have flying cars) 2013-01-13T18:05:52 < jpa-> programming on arm is no magic either 2013-01-13T18:06:18 < jpa-> in fact, programming in C on AVR and programming ing C on STM32 is surprisingly similar 2013-01-13T18:06:44 < jpa-> you still need to pay attention to the hardware 2013-01-13T18:06:57 < kulminaator> well i don't expect magic ... just perhaps some space for handy libraries in the flash and not having to stand on my head when i'm touching registers bigger than 8 bits ... 2013-01-13T18:07:26 < zyp> Thorn, the current BMP firmware doesn't drive the reset line either way in any case, so it is not capable of holding the target in reset 2013-01-13T18:07:54 < kulminaator> did i understand correctly that the discovery boards are pretty userfriendly for linux people ? gcc for compiling and openocd for flashing the device will do the job ? 2013-01-13T18:08:10 < Thorn> zyp: but it is somehow, there's nothing else that could do it 2013-01-13T18:08:18 < Thorn> need to onvestigate further on this 2013-01-13T18:08:25 < zyp> kulminaator, yep, or the freestanding texane/stlink package instead of openocd 2013-01-13T18:08:37 < jpa-> kulminaator: perfectly usable, but both openocd and texane stlink have still a few quirks; mostly they work fine but a bunch of people still seem to have problems with them 2013-01-13T18:08:45 < zyp> Thorn, do you have a pullup on reset on your target board? 2013-01-13T18:09:08 < Thorn> yes 2013-01-13T18:09:21 < zyp> and it's still getting pulled down by the bmp? 2013-01-13T18:09:30 < kulminaator> ok , thanks for the info 2013-01-13T18:10:24 < Thorn> not sure about being pulled down, maybe it does it via swdp. but if I power up BMP with target already connected, gdb hangs on atatch and target is held in reset after that, 2013-01-13T18:10:39 < Thorn> *attach 2013-01-13T18:11:15 < Thorn> the LEDs are half-lit thanks to LPC pullups when it's in reset so I'm pretty sure about that. 2013-01-13T18:12:46 < zyp> hmm, sounds a bit similar to the problem I was observing, except that in my case attach worked fine but run made it get stuck 2013-01-13T18:13:09 < Thorn> maybe I've seen that too 2013-01-13T18:13:27 < zyp> which chip was this? gonna have a look in the user manual and see if the reset stuff is similar 2013-01-13T18:13:43 < Thorn> LPC11C22. UM10398 2013-01-13T18:14:02 < zyp> found it 2013-01-13T18:16:40 < zyp> nah, doesn't have the RGU stuff 2013-01-13T18:17:37 < Thorn> implemented recovery from a bus short, now on to open 2013-01-13T18:25:35 -!- DaKu is now known as daku 2013-01-13T18:29:51 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Remote host closed the connection] 2013-01-13T18:47:35 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [] 2013-01-13T18:51:10 < mervaka> hmmm 2013-01-13T18:51:48 < mervaka> on the STM32F4Discovery board, do I need to disconnect the USB_OTG stuff physically before I can use USART1? 2013-01-13T18:52:06 -!- daku is now known as DaKu 2013-01-13T18:52:22 < mervaka> can't see any solder bridges, but the Tx doesn't seem to swing properly 2013-01-13T18:53:11 < mervaka> ah 2013-01-13T18:53:21 < mervaka> there's a capacitor in the circuit 2013-01-13T18:53:23 < mervaka> ffs 2013-01-13T18:53:25 < mervaka> lol 2013-01-13T18:54:02 < mervaka> C49 2013-01-13T18:54:32 < mervaka> right, remap time 2013-01-13T19:01:36 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-13T19:12:14 <+dekar> I get those really weird incoming searches to my blog: "compile gnuradio on stm32f4" "hack tnt sdr" 2013-01-13T19:16:01 < jpa-> dekar: my blog is top result in google images search for "body holes" :F 2013-01-13T19:16:17 < BrainDamage> bots that scrape keyword and combine them? 2013-01-13T19:16:41 < BrainDamage> I'd love to see gnuradio on stm32, but I doubt it'd ever happen 2013-01-13T19:16:52 < BrainDamage> and probably would be equally useless 2013-01-13T19:29:25 < emeb_mac> hard to imagine there's enough horsepower in an F4 for gnuradio 2013-01-13T19:30:46 <+Steffanx> lolol jpa- 2013-01-13T19:38:30 -!- _BJFreeman [~bjfree@132.sub-75-244-146.myvzw.com] has joined ##stm32 2013-01-13T19:39:08 -!- _BJFreeman is now known as BJFreeman 2013-01-13T19:54:01 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-13T19:57:33 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-13T20:12:20 < Laurenceb_> gnuradio should work on F4 2013-01-13T20:12:41 < Laurenceb_> well - if its sanely coded and only runnin sane stuff like FM decoder 2013-01-13T20:13:20 < Laurenceb_> ray tracing wont.... 2013-01-13T20:13:36 < Laurenceb_> this shit takes forever 2013-01-13T20:15:56 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-13T20:18:28 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-13T20:56:30 -!- barthess [~barthess@77.67.231.185] has quit [Quit: Leaving.] 2013-01-13T20:57:01 -!- barthess [~barthess@77.67.231.185] has joined ##stm32 2013-01-13T20:57:01 -!- barthess [~barthess@77.67.231.185] has quit [Client Quit] 2013-01-13T20:58:39 -!- barthess [~barthess@77.67.231.185] has joined ##stm32 2013-01-13T21:02:52 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-13T21:03:00 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-13T21:09:29 -!- Netsplit *.net <-> *.split quits: CheBuzz_Home 2013-01-13T21:30:56 -!- Claude is now known as claude 2013-01-13T21:58:20 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 260 seconds] 2013-01-13T21:59:42 -!- DaKu is now known as daku 2013-01-13T22:00:21 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-13T22:04:30 -!- Thorn__ is now known as Thorn 2013-01-13T22:17:39 < emeb> trying to setup continuous conversions on 4 injected channels w/ ADC1 on an F100. failing. 2013-01-13T22:17:40 < mervaka> i can't believe programming virtual layers for MIDI could be so much fun :> 2013-01-13T22:18:02 < emeb> mervaka: I can't believe it either. 2013-01-13T22:18:04 < emeb> really 2013-01-13T22:18:07 < mervaka> :p 2013-01-13T22:18:28 < mervaka> emulating the MIX layers on an Allen & Heath iLive audio mixer 2013-01-13T22:18:56 < mervaka> i'd have to find a video to demonstrate how this works.. 2013-01-13T22:19:19 < mervaka> very nearly ready with my own implementation though, so i might just dig that up 2013-01-13T22:20:21 < mervaka> er, i mean record a video of it 2013-01-13T22:20:43 < emeb> you have hardware to show already? 2013-01-13T22:45:29 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2013-01-13T22:46:44 -!- _BJFreeman [~bjfree@132.sub-75-244-146.myvzw.com] has joined ##stm32 2013-01-13T22:49:24 -!- BJFreeman [~bjfree@132.sub-75-244-146.myvzw.com] has quit [Ping timeout: 248 seconds] 2013-01-13T22:51:38 -!- _BJFreeman [~bjfree@132.sub-75-244-146.myvzw.com] has quit [Ping timeout: 240 seconds] 2013-01-13T22:56:03 -!- _BJFreeman [~bjfree@132.sub-75-244-146.myvzw.com] has joined ##stm32 2013-01-13T22:58:59 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-13T23:03:20 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 244 seconds] 2013-01-13T23:20:56 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-13T23:25:39 -!- _BJFreeman is now known as BJFreeman 2013-01-13T23:29:55 -!- barthess [~barthess@77.67.231.185] has quit [Quit: Leaving.] 2013-01-13T23:35:12 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-13T23:38:07 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has quit [Ping timeout: 260 seconds] 2013-01-13T23:42:21 < qyx_> flyback: was that you with that e-ink displays? 2013-01-13T23:42:30 < qyx_> *those 2013-01-13T23:43:48 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 256 seconds] 2013-01-13T23:47:46 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 244 seconds] 2013-01-13T23:51:37 < qyx_> do you still have a link? :) 2013-01-13T23:51:59 < qyx_> i forgot to order :X 2013-01-13T23:52:25 < qyx_> i was interested in the epd 2013-01-13T23:52:49 < qyx_> but it don't have touch overlay :/ 2013-01-13T23:52:56 < qyx_> doesnt :S 2013-01-13T23:54:21 < qyx_> electrophoretic display 2013-01-13T23:55:04 < qyx_> me neither 2013-01-13T23:57:26 < qyx_> these displays are available on ebay for ~40$, i probably order one from there --- Day changed Mon Jan 14 2013 2013-01-14T00:00:29 < qyx_> these kindle einks are all 8bit 2013-01-14T00:00:43 < qyx_> and e-ink is bistable, you don't need refresh them 2013-01-14T00:01:11 < qyx_> i already have datasheet 2013-01-14T00:22:40 < zippe> Do they have a controller module? 2013-01-14T00:24:18 < qyx_> actually now i am little confused, the AUO 6" could be driven directly.. at least data 2013-01-14T00:24:30 < qyx_> but these displays need 5 different voltages 2013-01-14T00:24:50 < qyx_> there are some power management chips available for that 2013-01-14T00:25:30 < qyx_> -15V/+15V, -22V/+22V and such 2013-01-14T00:26:13 -!- dekar_ [~dekar@212.255.255.203] has joined ##stm32 2013-01-14T00:26:16 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-14T00:27:55 -!- dekar [~dekar@212.255.252.17] has quit [Ping timeout: 246 seconds] 2013-01-14T00:28:37 <+Steffanx> There's a chip for 'everything' qyx_ :P 2013-01-14T00:29:00 < qyx_> l5973d? 2013-01-14T00:29:39 <+Steffanx> "The L5973D is a step down" ... 2013-01-14T00:30:59 < qyx_> :S 2013-01-14T00:37:37 < qyx_> they do not have controller :S s1d13522 is used on some 2013-01-14T00:37:46 < qyx_> 144pin bga 2013-01-14T00:39:07 <+Steffanx> "NDA Required" yay 2013-01-14T00:40:21 < qyx_> hate that 2013-01-14T00:41:45 < qyx_> epson also has module with power supplies and controller 2013-01-14T00:44:17 <+Steffanx> You mean the "S4E5B001B000A00" ? 2013-01-14T00:44:35 < qyx_> S4E5B001B000A 2013-01-14T00:44:35 < qyx_> yep 2013-01-14T00:44:44 < qyx_> nice part num 2013-01-14T00:44:54 <+Steffanx> Which is like $75 ? 2013-01-14T00:45:26 < qyx_> i think that my dreams about e-ink attached to stm32 just got ruined 2013-01-14T00:45:34 <+Steffanx> Heh 2013-01-14T00:45:55 <+Steffanx> It's ever cheaper to buy a cheap e-reader and modify that :P 2013-01-14T00:46:17 < qyx_> probably 2013-01-14T00:46:50 <+Steffanx> /probably/yes 2013-01-14T01:01:39 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-14T01:01:39 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-14T01:01:39 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-14T01:01:40 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-01-14T01:03:08 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 240 seconds] 2013-01-14T01:12:54 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-14T01:50:15 -!- jef79m_lurking is now known as jef79m 2013-01-14T01:50:53 -!- jef79m [~jef79m@124-168-171-28.dyn.iinet.net.au] has left ##stm32 [] 2013-01-14T01:53:29 -!- BJFreeman [~bjfree@132.sub-75-244-146.myvzw.com] has quit [Remote host closed the connection] 2013-01-14T01:53:41 -!- _BJFreeman [~bjfree@132.sub-75-244-146.myvzw.com] has joined ##stm32 2013-01-14T02:17:32 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2013-01-14T02:19:09 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-01-14T02:19:10 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-01-14T02:19:10 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-14T02:56:49 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-14T02:58:09 < gxti> i feel like buying adapters/pigtails for these shitty late-90s GPS receivers i bought off ebay for $10 each only because they were mislabelled as something useful, would be wasting more money. they have SMB connectors, and if i buy not-shit gps receivers they won't have SMB connectors. 2013-01-14T02:58:44 < gxti> ffs new adapters on digikey are $12 each. of course i can get fleabay china specials for like $3 but it's still stupid 2013-01-14T03:07:07 <+Steffann> Wise lession from Steffann for gxti: Life is full of choices. Listen to the quietest whispers of your mind. They are telling you the choices that will help you the most. 2013-01-14T03:07:14 <+Steffann> *lesson 2013-01-14T03:07:35 < gxti> wise lesion? 2013-01-14T03:07:49 < gxti> sorry, i never met a lesion i could trust 2013-01-14T03:08:33 <+Steffann> Sorry, wrong choice 2013-01-14T03:15:28 <+Steffann> because it's monday you can try again gxti 2013-01-14T03:15:46 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-14T03:16:23 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-14T03:22:33 -!- _BJFreeman is now known as BJFreeman 2013-01-14T03:28:08 < Thorn> fried my lpc11 board completely. repaired by replacing every chip on it. 2013-01-14T03:28:54 <+Steffann> heh 2013-01-14T03:30:05 < zyp> it happens 2013-01-14T03:30:12 <+Steffann> shit too 2013-01-14T03:30:32 < zyp> I gave up after replacing the smps chip when I fried one of my F4 boards 2013-01-14T03:31:02 < zyp> or rather, I didn't have more F4s to replace it with 2013-01-14T03:32:03 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-14T03:32:12 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-14T03:32:34 < Thorn> the most scarce item turned out to be sot-223 3.3V regulators 2013-01-14T03:33:07 < Thorn> the ones I used are in-gnd-out and I'm out of them 2013-01-14T03:33:52 < Thorn> looks like I'll have to buy some at a not-so-nice price (and start using 1117 variants from now on) 2013-01-14T03:35:13 < dongs> huh lolwat 2013-01-14T03:35:17 < dongs> my digikey order is in jp 2013-01-14T03:35:22 < dongs> oh wait no 2013-01-14T03:35:26 < dongs> its just the customs crap 2013-01-14T03:35:43 < dongs> hasnt left digikey yet. rageeeeeeeeeeeeeeeeeee 2013-01-14T03:38:32 -!- Laurenceb__ [~Laurence@host86-143-4-93.range86-143.btcentralplus.com] has joined ##stm32 2013-01-14T03:40:21 < dongs> blogulence_b 2013-01-14T03:41:16 -!- Laurenceb_ [~Laurence@host86-149-103-157.range86-149.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-14T03:48:04 < zyp> Thorn, same as the shit I used then 2013-01-14T03:54:30 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2013-01-14T03:56:13 < dongs> < Thorn> looks like I'll have to buy some at a not-so-nice price (and start using 1117 variants from now on) 2013-01-14T03:56:17 < dongs> yes LOL 2013-01-14T03:56:20 < dongs> 1117 or gtfo 2013-01-14T03:56:35 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2013-01-14T03:58:54 < zyp> maybe I should keep using them just to troll dongs 2013-01-14T04:11:05 < upgrdman> whats the pin order for a 1117? 2013-01-14T04:11:26 < upgrdman> o/g/i? 2013-01-14T04:11:59 -!- baird [~cjb@ppp121-44-217-40.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-14T04:15:37 < zyp> gnd, out, in 2013-01-14T04:25:54 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-248-203.clienti.tiscali.it] has quit [Ping timeout: 264 seconds] 2013-01-14T04:27:38 < dongs> http://knowledgebase.nxp.com/showthread.php?t=3413 haha 2013-01-14T04:28:35 < dongs> might be of interest to: Thorn 2013-01-14T04:31:44 < gxti> appropriate name 2013-01-14T04:33:41 < zyp> «On a related matter, I'm having to write this all in C because of the Code Red licensing arrangement, ie to get C++ I have to spend $256.» 2013-01-14T04:36:08 < baird> lol 2013-01-14T04:37:49 < zyp> «I too have designed a 1227 board, it's actually a dual processor with an Arduino-compatible ATmega1284 as the other CPU. The 1227 interfaces to two RS485 links that will be a monitoring and control network and the 1284 does the physical IO.» 2013-01-14T04:38:01 < dongs> the fuck 2013-01-14T04:38:33 < zyp> entire thread is just a train of bullshit :p 2013-01-14T04:41:11 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has joined ##stm32 2013-01-14T04:41:11 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has quit [Changing host] 2013-01-14T04:41:11 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-14T04:55:04 -!- BJFreeman [~bjfree@132.sub-75-244-146.myvzw.com] has quit [Quit: had a good time] 2013-01-14T05:02:31 < upgrdman> zyp, really? i thought ground being in the middle was the norm for regulators? humm... ok 2013-01-14T05:04:37 < gxti> mcp1700t is pretty typical of sot-23, and it has gnd on pin 1 2013-01-14T05:05:14 < gxti> but if you have to you can bodge a sot-23 in pretty much any orientation :p 2013-01-14T05:15:48 < upgrdman> ya.... triangular layout FTW 2013-01-14T05:28:08 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-14T05:44:49 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-14T05:45:25 < timemob> Commence chats 2013-01-14T05:46:21 < emeb_mac> blah blah blahdey blah 2013-01-14T05:48:40 < timemob> New PC is ded, hoping mobo 2013-01-14T05:48:51 < timemob> Fucking Intel 2013-01-14T05:49:21 < emeb_mac> timemob = dongs? 2013-01-14T05:49:22 < timemob> Should have used amd 2013-01-14T05:49:25 < timemob> Yea 2013-01-14T05:49:40 < timemob> Isn't that obvious 2013-01-14T05:49:53 < gxti> yes 2013-01-14T05:51:02 < emeb_mac> no power up? 2013-01-14T05:53:01 < emeb_mac> never did get F100 ADC to run continuous w/ Injected. Had to use ISR to restart cycle. 2013-01-14T06:00:42 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-14T06:04:24 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 272 seconds] 2013-01-14T06:06:59 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-14T06:11:23 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-01-14T06:14:35 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Quit: Bye] 2013-01-14T06:47:15 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-14T06:47:22 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-14T06:54:17 < upgrdman> "injected"? 2013-01-14T07:11:47 < emeb_mac> STM32 ADCs have a special group called "Injected" that is treated separately and loads to registers in the ADC instead of to DMA. 2013-01-14T07:30:53 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has joined ##stm32 2013-01-14T07:49:06 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-14T07:49:31 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has quit [Ping timeout: 260 seconds] 2013-01-14T07:50:03 < timemob> Picked up anus mobo and cheapest Intel CPU for less than dh77df cost me 2013-01-14T07:51:04 < timemob> Lol 39 for celewrong 2013-01-14T07:52:04 < timemob> Probably still faster than atom 2013-01-14T07:52:08 < emeb_mac> no doubt 2013-01-14T07:52:16 < emeb_mac> atom is suxxors 2013-01-14T07:53:58 < emeb_mac> dh77df is pretty tiny 2013-01-14T08:02:35 -!- Pupuser [~puppy@cblmdm72-240-162-200.buckeyecom.net] has joined ##stm32 2013-01-14T08:04:20 -!- Pupuser [~puppy@cblmdm72-240-162-200.buckeyecom.net] has quit [Client Quit] 2013-01-14T08:05:05 < emeb_mac> allwinner or allluzer? 2013-01-14T08:05:23 -!- claude is now known as Claude 2013-01-14T08:09:50 -!- Viper168 [~Viper@node9.19.251.72.1dial.com] has joined ##stm32 2013-01-14T08:09:51 -!- Viper168 [~Viper@node9.19.251.72.1dial.com] has quit [Changing host] 2013-01-14T08:09:51 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-14T08:10:12 < timemob> I'm getting some allwhiner board from work 2013-01-14T08:10:13 < timemob> Dtv related 2013-01-14T08:10:13 < timemob> It's doing Lunix 2013-01-14T08:10:13 < timemob> Pretty fail design 2013-01-14T08:11:41 < emeb_mac> yeah - they seem to show up in a lot of media applications. 2013-01-14T08:14:52 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 272 seconds] 2013-01-14T08:15:09 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-14T08:15:57 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-01-14T08:16:07 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-14T08:19:04 < emeb_mac> restarts? 2013-01-14T08:19:59 < timemob> More like shit nets in car 2013-01-14T08:21:13 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-14T08:21:36 < t1memob> Ror 2013-01-14T08:23:19 < t1memob> Can't even chat 2013-01-14T08:24:34 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 256 seconds] 2013-01-14T08:26:02 < emeb_mac> lol IRC + driving = doom 2013-01-14T08:26:44 < t1memob> Been doing it for more than 10 years 2013-01-14T08:26:45 < t1memob> Still alive 2013-01-14T08:27:07 < t1memob> Jap roads are useless 2013-01-14T08:27:14 < emeb_mac> Oh? 2013-01-14T08:27:57 < t1memob> Crawling at like 20kmh 2013-01-14T08:28:31 < emeb_mac> creeping along in traffic 2013-01-14T08:28:49 < emeb_mac> you need some 8-lane highways. 2013-01-14T08:29:21 < emeb_mac> no faster, just harder to get off for detours :P 2013-01-14T08:29:22 < t1memob> Lo 2013-01-14T08:30:04 < t1memob> Japs would still manage to fill them up 2013-01-14T08:30:43 < emeb_mac> no doubt - "if you build it they will come" 2013-01-14T08:34:11 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-14T08:46:12 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-14T08:49:38 -!- Claude is now known as claude 2013-01-14T08:55:24 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-14T08:56:26 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-14T09:00:19 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-14T09:18:50 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 272 seconds] 2013-01-14T09:20:37 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-14T09:27:02 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-14T09:36:32 -!- dekar [~dekar@212.255.249.141] has joined ##stm32 2013-01-14T09:36:34 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-14T09:39:52 < timemob> Chats 2013-01-14T09:40:23 -!- dekar_ [~dekar@212.255.255.203] has quit [Ping timeout: 252 seconds] 2013-01-14T09:43:37 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has joined ##stm32 2013-01-14T09:49:43 < timemob> http://www.imgur.com/jOQZo.jpeg 2013-01-14T09:52:16 < Simon--> mobile chats 2013-01-14T09:53:52 < timemob> Sup 2013-01-14T09:54:19 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:ac42:6edc:fbc2:2048] has joined ##stm32 2013-01-14T09:58:42 < zyp> sup yourself 2013-01-14T09:59:20 < Roklobsta> sup sup 2013-01-14T10:09:06 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 264 seconds] 2013-01-14T10:12:05 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:ac42:6edc:fbc2:2048] has quit [Remote host closed the connection] 2013-01-14T10:16:41 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2013-01-14T10:24:04 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 272 seconds] 2013-01-14T10:27:38 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-14T10:40:37 < alexn> does anybody know why i must always push the reset button on an stm32f4discovery board when i programming with st-link ? 2013-01-14T10:42:04 < dongs> you probably have some shitty code running on it 2013-01-14T10:43:10 < zyp> I've never had to, so you're doing something wrong. 2013-01-14T10:43:12 < alexn> other code have the same problem. 2013-01-14T10:43:17 < jpa-> i always have to also 2013-01-14T10:43:35 < jpa-> it occurs when you have dma transfers and the program you use for programming does not reset the device itself 2013-01-14T10:43:39 < zyp> is this with openocd or texane? 2013-01-14T10:43:43 < jpa-> texane 2013-01-14T10:43:53 < zyp> what about alexn? 2013-01-14T10:43:58 < alexn> texane 2013-01-14T10:44:08 < zyp> alexn, and you use dma? 2013-01-14T10:44:25 < jpa-> other interrupts may do the same 2013-01-14T10:44:27 < alexn> no dma 2013-01-14T10:45:23 < zyp> jpa-, oh, interesting 2013-01-14T10:45:53 < zyp> I guess that interferes with the running of the flashloader 2013-01-14T10:45:56 < alexn> i think st-link must do a command to reset the controller. 2013-01-14T10:46:26 < jpa-> zyp: indeed 2013-01-14T10:46:34 < alexn> after programming 2013-01-14T10:46:37 < jpa-> zyp: it erases flash just fine but throws an error when it tries to program it 2013-01-14T10:46:38 < zyp> if so, that would explain why I've never had the problem, because I haven't been using it after I added flashloader for F4 2013-01-14T10:46:49 < jpa-> alexn: huh, i never have to reset *after* programming 2013-01-14T10:46:55 < jpa-> i always have to reset *before* programming 2013-01-14T10:47:28 < zyp> alexn, how consistent is this? does it happen 100% of the time? 2013-01-14T10:48:35 < alexn> almost 100%. 2013-01-14T10:50:04 < zyp> good, wanna help me track down and fix the problem? I don't have hardware available to test with here 2013-01-14T10:51:05 < zyp> if so, please grab texane revision 10924ba and test again 2013-01-14T10:56:23 < alexn> branch 2013-01-14T10:56:30 < alexn> sorry 2013-01-14T11:00:40 < jpa-> zyp: testing.. but my image is 240kB, this may take a while.. :D 2013-01-14T11:00:53 < jpa-> zyp: so far seems to be working without reset 2013-01-14T11:01:32 < zyp> :p 2013-01-14T11:01:38 < jpa-> alexn: but you are saying you need to reset *after* programming? 2013-01-14T11:01:48 < alexn> yes. 2013-01-14T11:01:48 < zyp> after that revision, please test 8151bf5 2013-01-14T11:01:51 < jpa-> alexn: are you programming using st-flash or from gdb? 2013-01-14T11:02:18 < zyp> I bet alexn is trying to continue after load instead of run 2013-01-14T11:02:47 < alexn> the command is: st-flash write main.bin 0x08000000 2013-01-14T11:03:11 < zyp> hmm 2013-01-14T11:03:21 < zyp> I've never been using the standalone st-flash 2013-01-14T11:03:29 < zyp> it's more convenient to just flash from gdb 2013-01-14T11:04:42 < jpa-> except that gdb or texane gdb server tends to crash for me quite often for some reason 2013-01-14T11:05:00 < jpa-> any commands just stop working and all 'print' commands return the same value 2013-01-14T11:06:17 < zyp> I've seen that happen, usually means the connection between st-link and target died 2013-01-14T11:07:05 < alexn> sorry guys, i am afk. i come back later. 2013-01-14T11:12:26 < jpa-> zyp: uh... 10924ba: didn't have to reset before, but had to reset after flashing 2013-01-14T11:12:51 < zyp> with load and run in gdb? 2013-01-14T11:12:59 < zyp> or st-flash? 2013-01-14T11:13:22 < jpa-> st-flash 2013-01-14T11:13:49 -!- BjoernC [~BjoernC@b071.apm.etc.tu-bs.de] has quit [Quit: Konversation terminated!] 2013-01-14T11:14:15 < jpa-> zyp: 8151bf5, have to reset before, don't need to reset after 2013-01-14T11:14:38 < zyp> 10924ba is the last revision before flashloader was added, and 8151bf5 is the one that adds flashloader 2013-01-14T11:15:10 < zyp> i.e. 8151bf5^ is 10924ba 2013-01-14T11:15:17 < jpa-> it quite much seems that st-flash fails to reset the target even though i have nrst connected 2013-01-14T11:16:08 < zyp> so I can't be held responsible for issues present in 10924ba, only those that might be introduced by 8151bf5 :p 2013-01-14T11:16:51 < jpa-> 8151bf5 using gdb has the same problem: have to press reset button before 'load' command or it fails to flash 2013-01-14T11:17:16 < jpa-> "run" after flashing with 8151bf5 works fine 2013-01-14T11:18:37 < zyp> and this is with dma? 2013-01-14T11:18:50 < dongs> confirmed deadmobo 2013-01-14T11:19:01 < dongs> bullshit ebay scam, never buying pc pars there again ;d 2013-01-14T11:19:06 < dongs> at least my cool xeon isnt ded 2013-01-14T11:21:03 < jpa-> zyp: yeah my code has dma that runs all the time (also some interrupts) 2013-01-14T11:21:43 < jpa-> dma buffer is at // Computes sliding window variance over past N samples. 2013-01-14T11:21:43 < jpa-> #pragma once 2013-01-14T11:21:43 < jpa-> #include 2013-01-14T11:21:43 < jpa-> template 2013-01-14T11:21:43 < jpa-> class VarianceBuffer 2013-01-14T11:21:43 < jpa-> { 2013-01-14T11:21:43 < jpa-> public: 2013-01-14T11:21:43 < jpa-> VarianceBuffer(): m_sum(), m_sqsum(), m_count(0) 2013-01-14T11:21:43 < jpa-> { 2013-01-14T11:21:43 < jpa-> } 2013-01-14T11:21:43 < jpa-> 2013-01-14T11:21:43 < jpa-> // Add a sample to the estimate 2013-01-14T11:21:43 < jpa-> void add(const T &value) 2013-01-14T11:21:43 < jpa-> { 2013-01-14T11:21:43 < jpa-> m_sum += value; 2013-01-14T11:21:43 < jpa-> m_sqsum += value * value; 2013-01-14T11:21:43 < jpa-> m_count += 1; 2013-01-14T11:21:43 < jpa-> } 2013-01-14T11:21:43 < jpa-> 2013-01-14T11:21:43 < jpa-> // Remove sample from the estimate 2013-01-14T11:21:43 < jpa-> // This should be a value that was previously added. 2013-01-14T11:21:43 < jpa-> void remove(const T &value) 2013-01-14T11:21:43 < jpa-> { 2013-01-14T11:21:43 < jpa-> assert(m_count > 0); 2013-01-14T11:21:43 < jpa-> m_sum -= value; 2013-01-14T11:21:43 < jpa-> m_sqsum -= value * value; 2013-01-14T11:21:43 < jpa-> m_count -= 1; 2013-01-14T11:21:43 < jpa-> } 2013-01-14T11:21:43 < jpa-> 2013-01-14T11:21:43 < jpa-> template 2013-01-14T11:21:43 < jpa-> void update(const D &delayline, size_t delay, size_t length) 2013-01-14T11:21:43 < jpa-> { 2013-01-14T11:21:43 < jpa-> if (delayline.size() > delay + length) 2013-01-14T11:21:43 < jpa-> remove(delayline.at(delay + length)); 2013-01-14T11:21:43 < jpa-> add(delayline.at(delay)); 2013-01-14T11:21:43 < jpa-> } 2013-01-14T11:21:43 < jpa-> 2013-01-14T11:21:43 < jpa-> // Get the current variance 2013-01-14T11:21:43 < jpa-> T variance() const 2013-01-14T11:21:43 < jpa-> { 2013-01-14T11:21:43 < jpa-> return m_sqsum / m_count - mean() * mean(); 2013-01-14T11:21:48 < jpa-> aaargh 2013-01-14T11:22:00 < jpa-> sorry 2013-01-14T11:22:25 < jpa-> meant to say: dma buffer is at 0x200008fc 2013-01-14T11:22:37 < zyp> try /flushq 2013-01-14T11:23:01 < jpa-> i don't have that 2013-01-14T11:23:09 < dongs> good job 2013-01-14T11:24:18 < zyp> so, what's the verdict? before flashloader was added no reset before was required, but now it is? 2013-01-14T11:24:53 < jpa-> zyp: yes 2013-01-14T11:25:16 < zyp> and that behavior is still the same in current HEAD? 2013-01-14T11:25:16 < jpa-> (the reset afterwards is probably unrelated bug, and was fixed by flashloader) 2013-01-14T11:25:27 < jpa-> zyp: let's see, was a few weeks ago 2013-01-14T11:25:47 < zyp> I see somebody made a fix recently 2013-01-14T11:26:11 < zyp> ah, but that's for st-flash only 2013-01-14T11:26:17 < zyp> and dumb 2013-01-14T11:26:21 < jpa-> yes, still with HEAD and st-flash 2013-01-14T11:26:48 < zyp> resetting the chip would be a more sane solution 2013-01-14T11:26:58 < jpa-> indeed 2013-01-14T11:27:14 < jpa-> would also fix all those "cannot flash when target goes to sleep" problems 2013-01-14T11:27:55 < zyp> I was thinking of sysresetreq though, not nrst 2013-01-14T11:28:25 < jpa-> ah 2013-01-14T11:28:36 < jpa-> yeah, why not 2013-01-14T11:29:18 < zyp> not sure how the stlink firmware is coping with swd connection dying when target sleeps, and not sure how to make it assert nrst :p 2013-01-14T11:29:43 < zyp> but I know from experiences with BMP that sysresetreq is working fine 2013-01-14T11:31:09 < zyp> hmm, I see emeb has already made attempts 2013-01-14T11:32:28 < zyp> «9 months ago» 2013-01-14T11:37:12 < alexn> zyp. my git from st-link is: url = https://github.com/texane/stlink.git 2013-01-14T11:39:38 < zyp> yes 2013-01-14T11:40:09 < zyp> and then you do «git checkout 10924ba» to get that revision 2013-01-14T11:41:54 < alexn> ok. with the latest version i have the same problem. 2013-01-14T11:45:35 < jpa-> bah, i want c++ valarray that is like array and not like vector 2013-01-14T11:53:18 -!- _BJFreeman [~bjfree@136.sub-75-196-88.myvzw.com] has joined ##stm32 2013-01-14T11:53:50 -!- _BJFreeman is now known as BJFreeman 2013-01-14T11:57:53 < alexn> zyp. with this version i cant programm. 2013-01-14T11:57:56 < alexn> 2013-01-14T10:54:03 INFO src/stlink-common.c: Finished erasing 3 pages of 16384 (0x4000) bytes 2013-01-14T11:57:56 < alexn> Writing 4kB chunk 1 out of 11 2013-01-14T11:57:56 < alexn> Writing 4kB chunk 2 out of 11 2013-01-14T11:57:56 < alexn> Writing 4kB chunk 3 out of 11 2013-01-14T11:57:56 < alexn> Writing 4kB chunk 4 out of 11 2013-01-14T11:57:57 < alexn> Writing 4kB chunk 5 out of 11 2013-01-14T11:57:59 < alexn> Writing 4kB chunk 6 out of 11 2013-01-14T11:58:01 < alexn> Writing 4kB chunk 7 out of 11 2013-01-14T11:58:03 < alexn> Writing 4kB chunk 8 out of 11 2013-01-14T11:58:05 < alexn> Writing 4kB chunk 9 out of 11 2013-01-14T11:58:07 < alexn> Writing 4kB chunk 10 out of 11 2013-01-14T11:58:09 < alexn> Writing 4kB chunk 11 out of 11 2013-01-14T11:58:11 < alexn> 2013-01-14T10:55:00 INFO src/stlink-common.c: Starting verification of write complete 2013-01-14T11:58:13 < alexn> 2013-01-14T10:55:00 WARN src/stlink-common.c: Verification of flash failed at offset: 0 2013-01-14T11:58:15 < alexn> stlink_fwrite_flash() == -1 2013-01-14T11:58:26 < zyp> what is it with people pasting walls of text today? 2013-01-14T11:58:59 < zyp> hmm, so writing succeded, but verification failed? 2013-01-14T11:59:31 < alexn> and now i cant programm the chip because it says wron chip id. )-: 2013-01-14T12:00:01 < karlp> (I have to reset before programming, but only when I'm using WFI) 2013-01-14T12:00:35 < karlp> well, I have to time it right too, 2013-01-14T12:00:56 < alexn> what is WFI 2013-01-14T12:01:03 < zyp> wait for interrupt 2013-01-14T12:03:53 < zyp> alexn, can you please test with gdb instead? 2013-01-14T12:04:37 < dongs> man what hte fuck 2013-01-14T12:04:41 < dongs> netherlands customs are retarded 2013-01-14T12:04:44 < dongs> where's steffanx 2013-01-14T12:04:53 < dongs> i need to rage out at someoner 2013-01-14T12:04:58 < dongs> Jan 7 2013-01-14T12:04:58 < dongs> 12:35 2013-01-14T12:04:58 < dongs> In Customs 2013-01-14T12:04:59 < dongs> AMSTERDAM EXP 2013-01-14T12:05:09 < zyp> :p 2013-01-14T12:05:28 < dongs> how the fuck can shit be in customs for a week 2013-01-14T12:05:32 < dongs> doing what 2013-01-14T12:06:53 < BJFreeman> curioius why is it in amsterdam 2013-01-14T12:07:10 < dongs> i duno, isnt that netherlands? 2013-01-14T12:07:27 < dongs> capital: amsterdam 2013-01-14T12:07:30 < zyp> well, it's amsterdam after all 2013-01-14T12:07:35 < dongs> kind of makes sense 2013-01-14T12:07:57 < BJFreeman> something you sent? 2013-01-14T12:08:00 < dongs> yes 2013-01-14T12:09:48 < Laurenceb__> http://scanlime.org/2012/11/hacking-my-vagina/ 2013-01-14T12:11:21 < baird> The MSP430 goes where no man has been before.. 2013-01-14T12:11:35 < Laurenceb__> *no man on irc 2013-01-14T12:13:45 < Viper168> has anyone done a project with stm boards for a cnc? 2013-01-14T12:14:10 < Viper168> I'd like to do something of the sort but don't want to have to program everything from scratch while I'm just starting to learn to program again 2013-01-14T12:14:28 < Viper168> the intent was a 3d printer but the programming is too intense for me atm 2013-01-14T12:14:45 < Viper168> but I'd like to do something along those lines 2013-01-14T12:15:06 < Viper168> will likely use something else for a 3d printer where someone has already done the programming for me 2013-01-14T12:15:34 < dongs> apparently smoothie is getting a stm32 port 2013-01-14T12:15:41 < Viper168> smoothie? 2013-01-14T12:15:47 < dongs> google. 2013-01-14T12:15:53 < dongs> http://smoothieware.org/smoothieboard this shit. 2013-01-14T12:15:55 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:ac42:6edc:fbc2:2048] has joined ##stm32 2013-01-14T12:16:02 < dongs> i've considered doing something with stm myself 2013-01-14T12:16:10 < dongs> but hten the price of that shit already assembled, on 2oz 4layer pcb 2013-01-14T12:16:16 < dongs> is not worth my time to design + code something 2013-01-14T12:16:19 < dongs> when shit already exists + works. 2013-01-14T12:16:25 < Viper168> indeed 2013-01-14T12:16:26 < dongs> and of course I wouldnt touch any avr-based crap 2013-01-14T12:16:30 < Viper168> exactly 2013-01-14T12:16:40 < Viper168> avr? 2013-01-14T12:16:56 < Viper168> I'm pretty new to this area of knowledge 2013-01-14T12:16:56 < dongs> well, all current 3dprinter shite is some combination of failmega/avr shit 2013-01-14T12:17:04 < dongs> i.e. arduino/wahtever 2013-01-14T12:17:19 < Viper168> I learn fast but there's a lot to learn 2013-01-14T12:18:08 < Viper168> smoothie looks good if it does get ported 2013-01-14T12:18:08 < Viper168> that's be great 2013-01-14T12:18:10 < Viper168> *that'd 2013-01-14T12:18:16 < dongs> yea. 2013-01-14T12:18:16 < Viper168> ah gotcha 2013-01-14T12:18:30 < dongs> check the git, i think the edge tree should have some stm32 stuff in it already 2013-01-14T12:18:31 < Viper168> yeah I know arduinos are used more than just about anything 2013-01-14T12:18:38 < Viper168> I guess because they're simple 2013-01-14T12:18:40 < dongs> i saw some announcement about the port on their stuff recently 2013-01-14T12:18:42 -!- Laurenceb__ [~Laurence@host86-143-4-93.range86-143.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-14T12:18:43 < Viper168> easy for noobs 2013-01-14T12:18:47 < alexn> zype: i think my chip is dead. look at this. 2013-01-14T12:18:53 < alexn> zyp 2013-01-14T12:19:05 < alexn> http://pastebin.com/bC45xtYy 2013-01-14T12:19:19 < Viper168> I'm still a bit confused by the stm procedures but I think it's worth the time to figure it all out 2013-01-14T12:19:27 < Viper168> the boards seem rather powerful 2013-01-14T12:19:35 < Viper168> in comparison 2013-01-14T12:19:35 < Viper168> and cheap 2013-01-14T12:19:43 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-14T12:19:44 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-14T12:19:44 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-14T12:19:47 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-14T12:19:55 < dongs> Steffanx: your country sucks 2013-01-14T12:20:06 < Viper168> I'm all for power over simplicity 2013-01-14T12:20:14 < Viper168> even if it's a lot more complicated 2013-01-14T12:20:35 < Viper168> hmm 2013-01-14T12:20:45 < Viper168> I wonder how long such a port will take 2013-01-14T12:21:07 < Viper168> I want to get a printer built soon so I can use it for my business 2013-01-14T12:21:16 < Viper168> on prototyping and producing items and parts 2013-01-14T12:21:35 < Viper168> and being able to take custom 3d printing orders 2013-01-14T12:21:43 -!- baird [~cjb@ppp121-44-217-40.lns20.syd7.internode.on.net] has left ##stm32 ["Konversation terminated!"] 2013-01-14T12:21:47 < dongs> haha 2013-01-14T12:21:48 < dongs> good luck 2013-01-14T12:22:03 < BJFreeman> Viper168 I assume you have visited #reprap 2013-01-14T12:22:11 < Viper168> it's only a minor part I tacked on to the plan 2013-01-14T12:22:22 < Viper168> but it makes sense so I can produce parts for cheap 2013-01-14T12:22:27 < Viper168> and anything I want 2013-01-14T12:22:37 < Viper168> because some of my items will be new inventions 2013-01-14T12:23:02 < Viper168> I am now, haven;t before 2013-01-14T12:23:04 < BJFreeman> the costly part is the precision for the steppers 2013-01-14T12:23:21 < Viper168> yeah 2013-01-14T12:23:28 < Viper168> I was pondering how to approach this 2013-01-14T12:23:51 < dongs> lemme save you the trouble 2013-01-14T12:23:55 < dongs> 3d printing right now is retarded 2013-01-14T12:23:58 < Viper168> maybe finding a group online or something, or getting help from the hacker/makerspace here 2013-01-14T12:23:58 < dongs> unless youre spending 20k+ 2013-01-14T12:24:00 < BJFreeman> depends on your resouces 2013-01-14T12:24:01 < dongs> retarded to the max. 2013-01-14T12:24:20 < dongs> so assuming you *really* want some shit 3d printurd, just order stuff @ shapeways etc. 2013-01-14T12:24:28 < Viper168> because I've heard you can print out the designs for some of them with an existing machine 2013-01-14T12:24:37 < BJFreeman> if you can find a auction of old CNC machines that is the best 2013-01-14T12:25:15 < Viper168> dongs, I'm a tenacious bastard 2013-01-14T12:25:27 < Viper168> I'll find a way 2013-01-14T12:25:39 < Viper168> hmm might look around BJFreeman 2013-01-14T12:25:47 < mervaka> wait, you're making a business that hinges on getting a ropey 3d homemade printer working? 2013-01-14T12:25:53 < Viper168> but seems it'll likely be cheaper to just have the parts produced 2013-01-14T12:25:55 < Viper168> lol no 2013-01-14T12:26:11 < Viper168> it just makes sense to dedicate some time to get one 2013-01-14T12:26:21 < Viper168> it will make things a lot easier on me 2013-01-14T12:26:49 < BJFreeman> having done machining the screw drive is the expensive part 2013-01-14T12:26:58 < mervaka> i wouldn't like to trust something that complicated i made myself for commercial purposes 2013-01-14T12:27:38 < BJFreeman> that and the block that attachs from the screw to the table 2013-01-14T12:27:41 < Viper168> otherwise I'm going to have to begin working on injection molding 2013-01-14T12:27:41 < Viper168> before the cash is available to just ship off the work somewhere cheap 2013-01-14T12:27:51 < Viper168> when the requested numbers justify it 2013-01-14T12:28:41 < BJFreeman> I have a house that does small batch cnc before injection production for protypes 2013-01-14T12:28:58 < Viper168> mervaka, why not 2013-01-14T12:29:10 < Viper168> not confident in your workmanship? 2013-01-14T12:29:24 < Viper168> usually anything I build lives forever 2013-01-14T12:29:26 < mervaka> well, if it goes wrong, or doesn't work at all, it falls on you to fix it 2013-01-14T12:29:33 < mervaka> and you might be busy elsewhere 2013-01-14T12:29:52 < Viper168> it's the stuff I don't make that breaks all the time and makes me hack away to get it working again 2013-01-14T12:30:10 < Viper168> when I have the money to blow on stuff like that sure 2013-01-14T12:30:12 < mervaka> i'm very confident in my workmanship, but i like to be able to have off the shelf tools 2013-01-14T12:30:17 < mervaka> tried and tested 2013-01-14T12:30:28 < Viper168> but part of the business plan is starting small and scaling up as appropriate 2013-01-14T12:30:40 < Viper168> that way I can get started without a huge amount of capital 2013-01-14T12:30:46 < Viper168> but it means cutting costs and doing a lot of things myself 2013-01-14T12:30:55 < mervaka> well you're deaf to what you don't want to hear then, i guess. 2013-01-14T12:31:12 < Viper168> I hear what you're saying 2013-01-14T12:31:19 < Viper168> I just don't see it as a problem 2013-01-14T12:31:39 < Viper168> for the time being 2013-01-14T12:31:49 < mervaka> thats it though 2013-01-14T12:31:53 < mervaka> look ahead 2013-01-14T12:31:58 < Viper168> when I get busier and more money is rolling in it's in the plan to go towards more commercial options 2013-01-14T12:32:12 < Viper168> but for now, the cost doesn't justify it 2013-01-14T12:32:19 < mervaka> you may be competent enough to fix it, but you may spend a lot of time doing so 2013-01-14T12:32:21 < Viper168> the risk is acceptable at this stage 2013-01-14T12:32:43 < Viper168> well, at least I get to define what I do so I can make time 2013-01-14T12:33:04 < BJFreeman> all inventors suffer from the sane 2013-01-14T12:33:44 < Viper168> *insane 2013-01-14T12:33:46 < Viper168> lol 2013-01-14T12:33:51 < mervaka> i say all this because my friend is really into his 3d printing 2013-01-14T12:33:56 < Viper168> what is genius without a little insantiy? 2013-01-14T12:34:05 < Viper168> it's nothing, I say, because such a thing doesn;t exist 2013-01-14T12:34:23 < Viper168> yeah I'll likely become a little obsessive at first' 2013-01-14T12:34:27 < mervaka> and he botched his because he didn't work to strict enough tolerances. 2013-01-14T12:34:45 < mervaka> now he's not got the time to fix it because he's in a job that demands almost all of his time 2013-01-14T12:34:54 < Viper168> yeah no doubt 2013-01-14T12:35:16 < Viper168> I guess that's one plus to being unemployed 2013-01-14T12:35:17 < Viper168> lol 2013-01-14T12:35:55 < karlp> BJFreeman: where are you getting these "small cnc before injection" done? 2013-01-14T12:36:07 < Viper168> yeah I'm going to be very careful about what I do and how I do it so I don't wind up making such mistakes 2013-01-14T12:36:26 < BJFreeman> karlp getting link 2013-01-14T12:36:32 < Viper168> can't afford to waste my time and money messing up like that 2013-01-14T12:37:07 < Viper168> I'm more likely to run into programmign issues then mechanical 2013-01-14T12:37:07 < BJFreeman> Viper168 have you done hi tolerance precisiion machining? 2013-01-14T12:37:10 < Viper168> *than 2013-01-14T12:37:21 < Viper168> a bit 2013-01-14T12:37:26 < Viper168> I understand the principles 2013-01-14T12:37:54 < Viper168> I made a gun from scratch back in the day 2013-01-14T12:37:57 < Viper168> so I have some experience 2013-01-14T12:38:24 < BJFreeman> I was trained by old country germans, it took me months before they would accept the actuall work I did even though I knew the principles\ 2013-01-14T12:38:47 < Viper168> lol 2013-01-14T12:39:12 < Viper168> well at least the times I've done anything of the sort, things have fit pretty perfectly 2013-01-14T12:39:32 < Viper168> but even if i do happen to make a mistake 2013-01-14T12:39:35 < BJFreeman> 0.00001 tolearnce? 2013-01-14T12:39:38 < Viper168> I'll just try again 2013-01-14T12:39:42 < Viper168> until I get it right 2013-01-14T12:40:01 < Viper168> lol probably not 2013-01-14T12:40:21 < Viper168> but I have a knack for these things 2013-01-14T12:40:22 < BJFreeman> I suggest you get that part mfg for you 2013-01-14T12:40:25 < mervaka> things like putting holes in metal i myself will admit isn't a strong point of mine 2013-01-14T12:40:41 < mervaka> hence yeah, i'd opt for pre-machined parts 2013-01-14T12:40:42 < Viper168> yeah I'll probably be ordering a lot of the parts already made 2013-01-14T12:40:52 < Viper168> doesn't make sense not to 2013-01-14T12:41:31 < mervaka> otherwise the machine's only as tolerant as how the machine itself was made 2013-01-14T12:41:32 < Viper168> but when I take my hands to doing something, it rarely turns out different than intended, just comes naturally 2013-01-14T12:41:40 < Viper168> indeed 2013-01-14T12:41:45 < BJFreeman> karlp http://www.protomold.com/ 2013-01-14T12:41:54 < karlp> oh, heh 2013-01-14T12:41:57 < karlp> yeah, we've used them too 2013-01-14T12:42:13 < BJFreeman> :D 2013-01-14T12:42:15 < karlp> that's not cnc though 2013-01-14T12:42:20 < karlp> it's still moulded 2013-01-14T12:42:25 < karlp> or molded 2013-01-14T12:42:57 < karlp> ahh, firstcut on the bottom of that page makes you cnc for less than 10 parts 2013-01-14T12:43:00 < mervaka> i'm a bit worried about your complacent/naive optimism. 2013-01-14T12:43:03 < BJFreeman> Need fewer than 10 parts? Firstcut ships CNC machined parts in as little as one business day after receipt of your 3D CAD model. 2013-01-14T12:43:23 < BJFreeman> yup 2013-01-14T12:44:20 < BJFreeman> sign on lawn, Free encyclopedia, teen knows everthing 2013-01-14T12:44:57 < karlp> what's FDM? (wrt plastics?) 2013-01-14T12:45:15 < karlp> oh, fused deposition molding 2013-01-14T12:46:07 < karlp> we've had things laser sintered by imaterialize, worked pretty well too. 2013-01-14T12:46:55 < Viper168> mervaka, you mean me? 2013-01-14T12:47:02 < mervaka> indeed 2013-01-14T12:47:08 < Viper168> I know it may seem that way 2013-01-14T12:47:30 < Viper168> but I used to doubt myself a lot, and all that did was mess thigns up for me 2013-01-14T12:47:46 < Viper168> when I'm confident and positive in my thinking the results tend to just fall into place 2013-01-14T12:47:53 < mervaka> i'm just saying a cautious but optimistic approach will work better 2013-01-14T12:47:59 < Viper168> yup 2013-01-14T12:48:03 < Viper168> I'm always cautious 2013-01-14T12:48:12 < Viper168> but I don;t usually express it 2013-01-14T12:48:13 < mervaka> and aware of potential problems 2013-01-14T12:48:21 <+Steffanx> What did dutchland do this time dongs? 2013-01-14T12:48:29 < Viper168> because dwelling on caution too much just feeds doubt 2013-01-14T12:48:55 < mervaka> not necessarily 2013-01-14T12:49:17 < karlp> Steffanx: it's keeping his toys 2013-01-14T12:49:23 < mervaka> if you've identified problems and made contingencies, then there's no reason to doubt 2013-01-14T12:49:44 <+Steffanx> zlog 2013-01-14T12:49:44 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-01-14.html 2013-01-14T12:49:50 < BJFreeman> one has to gain experience to be confident, it gaining the experience that is the problem 2013-01-14T12:49:51 < mervaka> but just running in gung ho is just plain gambling. 2013-01-14T12:50:38 < mervaka> indeed BJFreeman, but that's what pet projects are for :) 2013-01-14T12:50:44 < BJFreeman> the beauty of youth is the resilence to get up and try again 2013-01-14T12:50:45 <+Steffanx> dongs, its the international gang trolling with you. Told ya 2013-01-14T12:51:05 < mervaka> true 2013-01-14T12:51:17 < mervaka> and they're in the best position to do so 2013-01-14T12:52:43 < mervaka> i'm still in education myself (until may, anyway) 2013-01-14T12:52:52 < BJFreeman> ah 2013-01-14T12:53:10 < mervaka> but i'm 26 2013-01-14T12:53:11 < BJFreeman> So am I just not formal, @71 2013-01-14T12:53:20 < mervaka> :P 2013-01-14T12:53:32 < Viper168> yeah i'm not running in gung ho 2013-01-14T12:53:56 <+Steffanx> You are really 71 BJFreeman ?!? 2013-01-14T12:54:01 < Viper168> it just appears that way because I'm confident enough in my abilities that I'm pretty certain anything issues I come across can be defeated 2013-01-14T12:54:07 < BJFreeman> Last Dec 2013-01-14T12:54:10 <+Steffanx> If so then baird is no longer the grandpa of the channel. 2013-01-14T12:54:22 <+Steffanx> Now you have to tell us stories :P 2013-01-14T12:54:27 < Viper168> so it's a non issue to me in the grand scheme of things, which is usually the perspective I stay in 2013-01-14T12:55:33 < BJFreeman> Steffanx if something comes up a story will help sure, but got my hands full doing the future 2013-01-14T12:57:13 < BJFreeman> Viper168 I will repeat that the stepper screw and block are the two critical parts you need to have some one supply. all the rest is childs play comparitively 2013-01-14T12:57:27 < Viper168> yup, will likely do 2013-01-14T12:57:36 < Viper168> makes all the sense to 2013-01-14T12:57:43 <+Steffanx> o 2013-01-14T12:57:59 < dongs> luniex 2013-01-14T12:58:06 < dongs> lol this allwhiner board runs assdroid 2013-01-14T12:59:43 < BJFreeman> people laugh but my target is 900 so have 829 yrs to go 2013-01-14T13:00:17 < BJFreeman> the current oldest man lives in Japan @115 2013-01-14T13:01:07 < Viper168> yeah i don't plan on dying 2013-01-14T13:01:08 <+Steffanx> Hmm, I believed you when you said 71.. now i know it was a lie 2013-01-14T13:01:12 < Viper168> going to skip that part 2013-01-14T13:02:05 < BJFreeman> Viper168 just a hint, look at Drone software for 3 deminsional software 2013-01-14T13:02:15 <+Steffanx> You first have to define "dead" Viper168. Are you dead when you brain is in a computer? :) 2013-01-14T13:02:34 < mervaka> or your head's in a jar? 2013-01-14T13:03:45 < BJFreeman> Steffanx people tell me I look 50, but I was born 3 days before the Pearl habor bombing i 2013-01-14T13:05:25 < BJFreeman> a man once told a gin he wanted to be immortal the gin turned him to stone 2013-01-14T13:06:05 <+Steffanx> Shit happens in dreamland, yes 2013-01-14T13:06:24 < BJFreeman> more a morale 2013-01-14T13:10:14 < Viper168> lol, life is just the functioning state of biological machines run by wet computers 2013-01-14T13:10:34 < Viper168> as long as that computer is running, it's life 2013-01-14T13:10:52 < Viper168> that is for animal life at least 2013-01-14T13:10:53 < Viper168> higher forms 2013-01-14T13:10:57 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:ac42:6edc:fbc2:2048] has quit [Remote host closed the connection] 2013-01-14T13:11:07 < Viper168> human being animals of course 2013-01-14T13:11:12 < Viper168> some more than others, lol 2013-01-14T13:11:15 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-14T13:11:43 < Viper168> makes me hungry again to mess with alife 2013-01-14T13:11:48 <+Steffanx> Shouldn't you yankeelanders be asleep btw? :P 2013-01-14T13:11:53 < Viper168> I intend to work on a couple robots 2013-01-14T13:12:22 < Viper168> only based on learned behaviors in a very similar way to the development of higher lifeforms 2013-01-14T13:12:27 < Viper168> instead of hardcoding 2013-01-14T13:12:37 < Viper168> random mutations and trial and error 2013-01-14T13:13:01 < Viper168> let it figure things out on its own and see what kind of intelligence will emerge from it 2013-01-14T13:13:19 <+Steffanx> Whoa, that will take ages. :) 2013-01-14T13:13:31 < Viper168> basically, what I percieve as being the start of artificial lifeforms 2013-01-14T13:13:39 < Viper168> nah, not necessarily 2013-01-14T13:13:42 < Viper168> the learning will 2013-01-14T13:13:48 <+Steffanx> Unless you simulate it 2013-01-14T13:13:51 < Viper168> but the programming isn't going ot be too hairy 2013-01-14T13:14:10 < Viper168> I'll probably be doing oth live testing and simulations at the same time 2013-01-14T13:14:14 < Viper168> *both 2013-01-14T13:14:56 < Viper168> an incorporate the valuable behaviors from the simulation into the actual bot as desired 2013-01-14T13:15:08 <+Steffanx> There is this game where you have to make a perfect care by evolution/mutation, pretty funny imho 2013-01-14T13:15:15 < Viper168> simulation won't be good for a whole lot more than movement and some basic interaction 2013-01-14T13:15:16 <+Steffanx> */care/car 2013-01-14T13:15:26 < Viper168> huh 2013-01-14T13:15:29 < Viper168> odd 2013-01-14T13:15:43 < BJFreeman> Steffanx, lol I only sleep 4 hours at time since a teen. use to get me in a lot of trouble. use to get up around 8am UTC to watch the London stock exchange 2013-01-14T13:15:51 < Viper168> I'm going to incorporate audio too 2013-01-14T13:16:01 < Viper168> so it will pick up sounds and react depending 2013-01-14T13:16:05 < Viper168> and make their own sounds 2013-01-14T13:16:12 < Viper168> like a basic language 2013-01-14T13:16:24 < Viper168> I guess akin to something form a star wars droid 2013-01-14T13:16:25 < Viper168> lol 2013-01-14T13:16:27 < Viper168> *from 2013-01-14T13:16:31 <+Steffanx> So the robots will start to communicate in a 'random' language too? :) 2013-01-14T13:16:46 < Viper168> yup 2013-01-14T13:16:51 < Viper168> it will develop over time 2013-01-14T13:16:59 < Viper168> through interaction 2013-01-14T13:17:27 < BJFreeman> Viper168 if you have not I suggest you get a stm32f4 discovery board 2013-01-14T13:17:39 < Viper168> yup, got one free 2013-01-14T13:17:47 < Viper168> you suggesting it'd be good for this robotics project 2013-01-14T13:17:48 < Viper168> ? 2013-01-14T13:17:52 <+Steffanx> He should get some fancy quad core A-x :P 2013-01-14T13:18:01 < Viper168> lol 2013-01-14T13:18:20 < Viper168> well I'll likely have to move to a mor epowerful platform down the line 2013-01-14T13:18:41 < Viper168> but for now it's not going to be doign a whole lot at once 2013-01-14T13:19:19 < Viper168> it' --- Log closed Mon Jan 14 13:21:38 2013 --- Log opened Mon Jan 14 13:21:45 2013 2013-01-14T13:21:45 -!- jpa- [jpa@hilla.kapsi.fi] has joined ##stm32 2013-01-14T13:21:45 -!- Irssi: ##stm32: Total of 63 nicks [1 ops, 0 halfops, 2 voices, 60 normal] 2013-01-14T13:21:57 <+Steffanx> Too many BJFreeman 2013-01-14T13:22:20 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Read error: Operation timed out] 2013-01-14T13:22:37 < BJFreeman> when someone ask about robotic that is the first question I ask 2013-01-14T13:22:42 -!- Irssi: Join to ##stm32 was synced in 63 secs 2013-01-14T13:22:56 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2013-01-14T13:23:09 <+Steffanx> His robot has no fingers :) 2013-01-14T13:23:39 < mervaka> here's a good question: how do you detect colour using just an LDR? 2013-01-14T13:23:39 < dongs> so yteah Steffanx . 2013-01-14T13:23:45 < BJFreeman> well there is that too 2013-01-14T13:23:47 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Ping timeout: 256 seconds] 2013-01-14T13:23:59 < dongs> if something is in customs in amsterdam, destination netherlands, what the fuck do you have todo? 2013-01-14T13:24:04 < Viper168> what kind of finger 2013-01-14T13:24:10 < dongs> shits been sitting there for a week, are tehy gonna notify receipient somehow or wat 2013-01-14T13:24:20 < Viper168> I'm not good at programming these things yet, it's something I'm actively learning atm 2013-01-14T13:24:30 < Viper168> but it's something I'm confident I can grasp 2013-01-14T13:24:36 <+Steffanx> You are the expert dongs 2013-01-14T13:24:37 < mervaka> good 2013-01-14T13:24:51 < Viper168> dongs, I've heard of some customs agencies holding things for a month 2013-01-14T13:25:00 < Viper168> for no good reason 2013-01-14T13:25:06 < Viper168> it can vary greatly 2013-01-14T13:25:07 < mervaka> Viper168: chances are that whatever problem you face, someone's already tackled it, be it in another context. 2013-01-14T13:25:09 < BJFreeman> Viper168 I use black box design 2013-01-14T13:25:19 <+Steffanx> I NEVER had troubles with the dutch customs, so it's you dongs :P 2013-01-14T13:25:26 < Viper168> mervaka, yeah and part of what I do is make a point to learn form the work of others 2013-01-14T13:25:30 < dongs> fuckers. 2013-01-14T13:25:30 < Viper168> *from 2013-01-14T13:25:32 < mervaka> good 2013-01-14T13:28:49 < mervaka> ffs 2013-01-14T13:28:56 < mervaka> steel rulers don't work well in books. 2013-01-14T13:29:14 < Viper168> lol why's that 2013-01-14T13:29:23 < mervaka> they dont bend 2013-01-14T13:29:29 < mervaka> books do 2013-01-14T13:29:30 < dongs> Viper168: lemme aks you this, do you smoke weed 2013-01-14T13:30:28 < Viper168> occasionally, more often for stomach problemsthan to get high 2013-01-14T13:30:33 < BJFreeman> dongs so that is what you sent to amsterdam 2013-01-14T13:31:03 < Viper168> my stomach gets out of hand and it's very painful 2013-01-14T13:31:17 < dongs> BJFreeman: escs. 2013-01-14T13:31:22 < Viper168> and the weed settles idt and gives me back my appetite 2013-01-14T13:31:24 < Viper168> -d 2013-01-14T13:31:25 < zyp> dongs, maybe they are waiting for response from customer? 2013-01-14T13:31:30 < dongs> zyp: like what? 2013-01-14T13:31:40 < zyp> usually that's the case when norwegian customs are delaying 2013-01-14T13:31:43 <+Steffanx> "Hi" 2013-01-14T13:32:03 < zyp> «please provide invoice» and shit like that 2013-01-14T13:32:19 <+Steffanx> I think the message is "Fuck U timecop" :P 2013-01-14T13:32:56 < zyp> «we don't trust declared value on package, please provide invoice so we can figure out how much to rape you for» 2013-01-14T13:33:20 < Viper168> oh you mean paperback books I assume mervaka 2013-01-14T13:33:24 < Viper168> I was thinking hard back 2013-01-14T13:34:55 <+Steffanx> Why you try to bend books mervaka? 2013-01-14T13:35:05 < mervaka> no, hardback 2013-01-14T13:35:06 < Viper168> I really need to get to making my induction powered immersion heating discs 2013-01-14T13:35:13 < mervaka> its lined paper in a book 2013-01-14T13:35:24 < mervaka> drawing a diagram of what i coded yesterday 2013-01-14T13:35:35 < Viper168> having thermometers to detect and help maintain the temperature 2013-01-14T13:35:39 < mervaka> except the spine is levitating the left hand pages 2013-01-14T13:35:39 <+Steffanx> And steel does bend ask Uri Geller :P 2013-01-14T13:35:43 < Viper168> so my damned tea doesn't keep getting cold 2013-01-14T13:35:57 < mervaka> Viper168: get a travel mug? :P 2013-01-14T13:35:59 < Viper168> ah gotcha 2013-01-14T13:36:04 < Viper168> lol not good enough 2013-01-14T13:36:21 < mervaka> how long does it take you to drink a cup of tea?! 2013-01-14T13:36:21 < Viper168> I'm going to produce a ridiculous complicated but perfect solution 2013-01-14T13:36:26 < Viper168> depends 2013-01-14T13:36:31 < Viper168> sometimes I sip it over several hours 2013-01-14T13:36:36 < mervaka> my flask lasts a good 6 hours 2013-01-14T13:36:38 <+Steffanx> usb powered heater :D 2013-01-14T13:36:38 < Viper168> sometimes it doesn't last half an hour 2013-01-14T13:36:47 < mervaka> but i drink it in two 2013-01-14T13:36:47 < Viper168> Steffanx, this will have usb power 2013-01-14T13:36:49 < BJFreeman> Humans love to take simple and make it complicated 2013-01-14T13:37:00 < Viper168> but it will be a base with a coil for transmirtting power 2013-01-14T13:37:07 < Viper168> to a coil in the discs 2013-01-14T13:37:20 < mervaka> my usual morning is make the tea at about quarter past 6 in the morning, then drink it on the train 2013-01-14T13:37:24 < mervaka> gone by about 8:30 2013-01-14T13:37:27 < Viper168> you drop the disc and it sinks to the bottom of the mug, place the mug on the power coaster 2013-01-14T13:37:52 <+Steffanx> lol 2013-01-14T13:37:55 < Viper168> and it wirelessly powers the discs that heat it 2013-01-14T13:38:10 < Viper168> keeping it a constant toasty temperature 2013-01-14T13:38:29 < mervaka> how about this: 2013-01-14T13:38:33 < mervaka> take apart a microwave 2013-01-14T13:38:41 < Viper168> lol 2013-01-14T13:38:42 < mervaka> and make a magnetron coaster 2013-01-14T13:38:43 < dongs> Viper168: have you registered your business yet. 2013-01-14T13:38:46 < Viper168> not using magnetrons 2013-01-14T13:39:01 < dongs> or are you intending to continue government funding of his drug habit 2013-01-14T13:39:03 <+Steffanx> Kickstarter, .. 2013-01-14T13:39:05 < Viper168> dongs, no I'm waiting until I have a decentl stock built up 2013-01-14T13:39:06 < dongs> his->yourt 2013-01-14T13:39:26 <+Steffanx> You just found the perfect kickstarter project, Viper168 2013-01-14T13:39:31 < Viper168> lol government funding? 2013-01-14T13:39:36 < Viper168> I'm not getting any government money 2013-01-14T13:39:44 < Viper168> yeah funding is a problem 2013-01-14T13:39:58 < dongs> I mean government funding of your stoner addiction 2013-01-14T13:40:01 < Viper168> but I'm trying to figure out in what ways can obtain funding without giving up control 2013-01-14T13:40:11 < Viper168> +I 2013-01-14T13:40:30 < Viper168> I refuse to relinquish full control of my operation 2013-01-14T13:40:58 < mervaka> one day, you'll be able to buy all sorts of currently illegal drugs in holland & barrett. 2013-01-14T13:41:10 < Viper168> lol 2013-01-14T13:41:29 < mervaka> i mean, they sell whey. that's dangerous shit. 2013-01-14T13:42:08 < mervaka> just has a sticker with the words "GET RIPPED" on it 2013-01-14T13:42:31 < Viper168> BJFreeman, that board looks nifty 2013-01-14T13:42:37 < Viper168> how much do they run for? 2013-01-14T13:43:06 <+Steffanx> Whey.. dangerous mervaka ?! 2013-01-14T13:43:08 < mervaka> which board? 2013-01-14T13:43:19 < mervaka> Steffanx: i was joking 2013-01-14T13:43:27 < Viper168> http://www.st.com/internet/mcu/product/252133.jsp 2013-01-14T13:43:32 <+Steffanx> Seriously.. :( 2013-01-14T13:43:36 < Viper168> lol 2013-01-14T13:45:09 < mervaka> interesting. 2013-01-14T13:45:19 -!- BrainDamage [~BrainDama@78.12.248.203] has joined ##stm32 2013-01-14T13:45:27 < mervaka> i wanna do a second version of my uni project when i'm in employment 2013-01-14T13:45:41 < Viper168> what's that? 2013-01-14T13:45:47 <+Steffanx> "my inu project" 2013-01-14T13:45:49 <+Steffanx> *uni 2013-01-14T13:45:52 < mervaka> i need to change the processor to a dual core, i think. 2013-01-14T13:46:35 < mervaka> Steffanx: ? 2013-01-14T13:46:54 < zyp> gonna use two avrs? 2013-01-14T13:46:58 <+Steffanx> "my uni project" doesn't say aything about WHAT it is mervaka 2013-01-14T13:47:03 < mervaka> ah 2013-01-14T13:47:08 < mervaka> digital mixer, sorry 2013-01-14T13:47:19 < Viper168> ah 2013-01-14T13:47:26 < mervaka> zyp: dunno. thinking about a dual core SoC 2013-01-14T13:47:30 < Viper168> I kind of want to build a little multitool 2013-01-14T13:47:40 < Viper168> but I'd need something significantly more powerful 2013-01-14T13:47:45 < zyp> mervaka, dual just for the purpose of being dual? 2013-01-14T13:47:57 < Viper168> have it to things like transmit and read IR signals 2013-01-14T13:47:59 < Viper168> rfid 2013-01-14T13:48:02 < Viper168> etc.... 2013-01-14T13:48:06 < mervaka> no, to offload external communication and coefficient generation 2013-01-14T13:48:19 < Viper168> *do 2013-01-14T13:48:23 <+Steffanx> sounds like a job for the lpc43xx? :) 2013-01-14T13:48:31 < mervaka> Steffanx: i was thinking that :) 2013-01-14T13:49:03 < mervaka> i shortlisted that platform when designing this one. but i couldn't ignore the cost of the disco boards :p 2013-01-14T13:49:41 < zyp> so far I'm not very impressed by the lpc4357 2013-01-14T13:49:54 <+Steffanx> lol why not? 2013-01-14T13:49:55 < mervaka> hmm 2013-01-14T13:50:17 < zyp> probably because I haven't had time to really use it yet, I've just had time to find all the weird quirks 2013-01-14T13:50:44 < mervaka> my main gripe with the STM32F4 is that the SPI/I2S peripheral can't handle TDM format. 2013-01-14T13:51:06 < mervaka> else this project would be 8 channel straight off the bat. 2013-01-14T13:51:13 < zyp> I found another fun one yesterday 2013-01-14T13:52:31 < Laurenceb> http://forums.theregister.co.uk/forum/1/2013/01/13/anger_death_aaron_swartz/ 2013-01-14T13:52:34 < zyp> when EMC is enabled and you try to access the memory area of a not enabled sdram bank through the debugger, it seems to just hang 2013-01-14T13:52:35 < Laurenceb> lol flamewarz 2013-01-14T13:52:48 < Viper168> >:| 2013-01-14T13:52:53 < Viper168> how is it almost 6am 2013-01-14T13:53:27 < zyp> I don't know too much about how the memory buses work, but I assume it's because of the AHB transaction never completing but not being refused, or something like that 2013-01-14T13:53:32 < mervaka> http://www.bbc.co.uk/news/10333211 2013-01-14T13:53:43 < zyp> I was expecting to get an invalid access instead 2013-01-14T13:55:05 <+Steffanx> blabla bla story Laurenceb :P 2013-01-14T13:55:12 < zyp> haven't had time to test what would happen if the code running on the cpu tried the same access, but I suspect that it would also hang in the same fashion 2013-01-14T13:55:35 < zyp> possibly without any means of recovery short of a watchdog reset 2013-01-14T14:02:54 <+Steffanx> mervaka. Why i get the idea many 'news' website write poetry instead of news? 2013-01-14T14:03:07 < mervaka> indeed. still funny though! 2013-01-14T14:03:34 <+Steffanx> So many useless white space. :( 2013-01-14T14:07:36 < mervaka> bleh 2013-01-14T14:08:01 < mervaka> trying to record a video of the control layers i've implemented but my camera's zoom isn't wide enough 2013-01-14T14:08:12 < mervaka> cameraphone it is 2013-01-14T14:09:19 <+Steffanx> /kick mervaka .. because you deserve it 2013-01-14T14:09:40 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-14T14:10:06 < mervaka> ;/ 2013-01-14T14:12:04 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-14T14:12:36 <+Steffanx> Everyone with a phancy fone who actually uses the camera deserves it mervaka 2013-01-14T14:15:06 < mervaka> but my niece has my dSLR lenses :/ 2013-01-14T14:15:31 < mervaka> well, lens 2013-01-14T14:15:56 < Viper168_> lol 2013-01-14T14:16:02 < Viper168_> I have sucha crappy phone 2013-01-14T14:16:05 < Viper168_> with a crappy camera 2013-01-14T14:16:09 < mervaka> htc bravo here 2013-01-14T14:16:10 < Viper168_> but I still use it all the time 2013-01-14T14:16:20 < mervaka> the first camera i tried using was on my ipad 2013-01-14T14:16:48 < Viper168_> I don't even know the name of this phone 2013-01-14T14:16:55 < Viper168_> it's something space related 2013-01-14T14:17:05 < Viper168_> it's a slider meant for texting basically 2013-01-14T14:17:11 < Viper168_> but otherwisr lacking in features 2013-01-14T14:17:15 < Viper168_> *otherwise 2013-01-14T14:17:24 < zyp> the ipad form factor is so great for taking photographs and videos! 2013-01-14T14:17:34 < Viper168_> lol 2013-01-14T14:17:52 < Viper168_> so handy 2013-01-14T14:18:35 <+Steffanx> No this is great zyp : http://www.mattoquai.nl/wp-content/uploads/2011/11/800mm-camera-lens.jpg :) 2013-01-14T14:19:37 < mervaka> ok fuck recording anything until my mum's finished hoovering :| 2013-01-14T14:19:42 < mervaka> ffs 2013-01-14T14:20:07 < zyp> Steffanx, wouldn't solve the problem mervaka was having about not managing to fit everything in the picture 2013-01-14T14:20:10 < zyp> :p 2013-01-14T14:20:33 < zyp> sorry, video frame 2013-01-14T14:20:34 < Viper168_> that sounds dirty 2013-01-14T14:20:49 <+Steffanx> You and you dirty mind 2013-01-14T14:20:54 <+Steffanx> *your 2013-01-14T14:20:57 < Viper168_> I know, I'm terrible 2013-01-14T14:21:46 < mervaka> i also need a downward facing tripod 2013-01-14T14:24:56 -!- claude is now known as Claude 2013-01-14T14:25:24 < BJFreeman> well time for another 4 hour nap 2013-01-14T14:26:00 -!- BJFreeman [~bjfree@136.sub-75-196-88.myvzw.com] has quit [Quit: had a good time] 2013-01-14T14:27:00 <+Steffanx> gn 2013-01-14T14:27:36 <+Steffanx> You must look like a walking dead bj .. [ and he is gone ] 2013-01-14T14:28:42 < zyp> hmm, that lens makes my huge lens look small in comparison :( 2013-01-14T14:28:54 < zyp> http://bin.jvnv.net/f/PCKSq.jpg is suddenly not as impressive anymore :( 2013-01-14T14:29:24 <+Steffanx> :P 2013-01-14T14:29:53 <+Steffanx> You have a canon too .. even less impressive :P 2013-01-14T14:30:02 < zyp> less than what? 2013-01-14T14:30:08 <+Steffanx> -too 2013-01-14T14:30:23 < zyp> pft, it's nice 2013-01-14T14:30:33 <+Steffanx> less than "not as impressive anymore" 2013-01-14T14:31:20 < zyp> I don't see how Nikon would be any better 2013-01-14T14:32:11 -!- Viper168_ is now known as ViperMeowsworth 2013-01-14T14:35:28 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-01-14T14:44:06 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-14T14:44:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-14T14:48:15 <+Steffanx> its 2013-01-14T14:48:19 <+Steffanx> not zyp :) 2013-01-14T14:51:59 < zyp> you still need to work on the part about holding interesting conversations, by the way 2013-01-14T14:59:44 <+Steffanx> You replied so it was interesting enough :P 2013-01-14T15:00:48 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 260 seconds] 2013-01-14T15:02:45 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-14T15:07:13 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-14T15:12:50 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-14T15:28:54 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 264 seconds] 2013-01-14T15:41:56 < Laurenceb> now we know what zyp looks like 2013-01-14T15:49:11 < jpa-> i don't dare to check that picture at work :) 2013-01-14T15:51:05 < Laurenceb> its ok hes fully clothed 2013-01-14T15:51:11 < Laurenceb> and not in a fursuit 2013-01-14T15:57:28 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-01-14T15:58:11 < zyp> I think I've posted that picture before 2013-01-14T16:01:42 < mervaka> https://www.dropbox.com/s/i9uw9sj8o9xm1zz/VID_20130114_133559.m4v 2013-01-14T16:01:46 < mervaka> \o/ 2013-01-14T16:02:00 <+Steffanx> dropbox ERRRORR 2013-01-14T16:02:10 < mervaka> aw 2013-01-14T16:02:37 <+Steffanx> Now it works 2013-01-14T16:02:43 < mervaka> cool 2013-01-14T16:03:35 < ViperMeowsworth> fuck this fever 2013-01-14T16:03:44 < mervaka> night fever? 2013-01-14T16:03:52 < ViperMeowsworth> a got damn mouth sore is making me sick 2013-01-14T16:03:54 < ViperMeowsworth> *god 2013-01-14T16:03:55 < mervaka> beegees know how to do it 2013-01-14T16:04:00 <+Steffanx> Why no music to hear what happens mervaka ? 2013-01-14T16:04:08 < mervaka> because that's not finished yet :) 2013-01-14T16:04:29 < mervaka> just the control side layers are being demonstrated here 2013-01-14T16:04:49 < mervaka> at the moment they just control a couple of arrays 2013-01-14T16:20:01 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-14T16:31:43 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-14T16:49:32 < ViperMeowsworth> guess last thing I need to grab is chibios, suppose I'll let that start here before I crash 2013-01-14T16:49:45 < ViperMeowsworth> and start messing with the controller tomorrow 2013-01-14T16:49:56 < ViperMeowsworth> before i start getting serious about doing something with it 2013-01-14T16:50:03 < ViperMeowsworth> and learning to program c again 2013-01-14T16:50:49 < ViperMeowsworth> gonna look up some books I guess so I can study while I'm out 2013-01-14T16:52:14 < ViperMeowsworth> you know if I weren't so stubborn I'd say I'm getting to old for this and just not bother 2013-01-14T16:52:15 < ViperMeowsworth> lol 2013-01-14T16:52:35 < ViperMeowsworth> I haven;t programmed for ages 2013-01-14T16:52:45 < ViperMeowsworth> since I was yonug 2013-01-14T16:52:47 < ViperMeowsworth> *young 2013-01-14T16:53:06 < Laurenceb> id try chibios 2013-01-14T16:54:26 < ViperMeowsworth> tis the plan 2013-01-14T16:54:45 < ViperMeowsworth> I'm following http://quelab.net/wordpress/1598/getting-started-with-the-stm32f4discovery/ right now 2013-01-14T16:54:57 < ViperMeowsworth> just to get my toes wet 2013-01-14T16:54:59 * Laurenceb is rendering... 2013-01-14T16:55:01 < Laurenceb> http://imagebin.org/index.php?mode=image&id=242857 2013-01-14T16:55:06 < ViperMeowsworth> then I'll move on to playing with examples 2013-01-14T16:55:34 < ViperMeowsworth> i miss those days too 2013-01-14T16:55:46 < ViperMeowsworth> I used to do a buttload of 3d modelling and animation 2013-01-14T16:56:22 < ViperMeowsworth> started with modding for half-life and just expanded into graphics, which then lead me to picking up cad skills 2013-01-14T16:56:42 < ViperMeowsworth> what is that you're rendering 2013-01-14T16:57:12 < ViperMeowsworth> I don't think I understand just looking at it 2013-01-14T16:58:06 <+Steffanx> Man, i suck at math 2013-01-14T16:58:32 < ViperMeowsworth> hah 2013-01-14T16:58:38 < ViperMeowsworth> I'm good at it but I abhor it 2013-01-14T16:58:51 < ViperMeowsworth> so boring 2013-01-14T16:58:56 < ViperMeowsworth> I only use it when i have to 2013-01-14T16:59:22 < ViperMeowsworth> like doing induction calculations for coilguns to maximize efficiency 2013-01-14T16:59:27 < Laurenceb> http://www2.b3ta.com/host/creative/51466/1358098056/UpEm.jpg 2013-01-14T16:59:41 < mervaka> good old HL mods :D 2013-01-14T16:59:49 < ViperMeowsworth> it's a tool that annoys me to use but is necessary to so the things I want to do 2013-01-14T16:59:58 < ViperMeowsworth> ah yeah, those were good times 2013-01-14T17:00:11 < mervaka> whats mods were you involved with? 2013-01-14T17:00:19 < ViperMeowsworth> I even made a map of the police station here 2013-01-14T17:00:19 < ViperMeowsworth> lol 2013-01-14T17:00:21 < mervaka> what* 2013-01-14T17:00:40 < ViperMeowsworth> I worked on a zelda mod, a half-life mod, a low gravity mod, and a few other randoms 2013-01-14T17:00:46 < mervaka> cool 2013-01-14T17:00:48 < ViperMeowsworth> err 2013-01-14T17:00:53 < ViperMeowsworth> not a half-life mod 2013-01-14T17:00:56 < ViperMeowsworth> a stargate mode 2013-01-14T17:01:02 < mervaka> HL1 i only really modded for my own curiosity 2013-01-14T17:01:12 < ViperMeowsworth> I did mapping, modelling, and textures 2013-01-14T17:01:20 < mervaka> HL2 I did sound and a bit of code for Fortress Forever 2013-01-14T17:01:42 < mervaka> my bro was into his modelling 2013-01-14T17:02:24 < ViperMeowsworth> yeah mapping and modelling were my real interests in it 2013-01-14T17:02:32 < ViperMeowsworth> similar tasks too 2013-01-14T17:03:09 < ViperMeowsworth> the best part imo were the people 2013-01-14T17:03:14 < mervaka> yeah 2013-01-14T17:03:21 < ViperMeowsworth> you wind up getting close to some of them when you work with them on these things 2013-01-14T17:03:35 < mervaka> I was too late into the HL1 mod scene 2013-01-14T17:03:38 < ViperMeowsworth> like hanging out with really good friends 2013-01-14T17:03:54 < mervaka> but that was imo the better scene 2013-01-14T17:03:56 < mervaka> of the two 2013-01-14T17:04:04 < ViperMeowsworth> that's what I miss the most 2013-01-14T17:04:14 < mervaka> people loved mode in HL1 days 2013-01-14T17:04:18 < ViperMeowsworth> if steam weren;t garbage I'd still be in contact with some of them 2013-01-14T17:04:38 < ViperMeowsworth> these days I only catch one of my old friends when he happens to pop on aim 2013-01-14T17:04:41 < mervaka> in HL2 days people wanted polished total conversions 2013-01-14T17:04:46 < ViperMeowsworth> lol 2013-01-14T17:04:55 < dongs> hl2 is still the best game evar 2013-01-14T17:05:00 < ViperMeowsworth> I got into it later but still in the golden age of hl mods 2013-01-14T17:05:11 < ViperMeowsworth> when things were really active 2013-01-14T17:05:14 < mervaka> HL1 mods will always be the best. 2013-01-14T17:05:20 < Laurenceb> freeimu guy died :-/ 2013-01-14T17:05:24 < mervaka> i still have my archive of old CS betas 2013-01-14T17:05:24 < ViperMeowsworth> the hl2 modding scene is ok but it just doesn't compare 2013-01-14T17:05:36 < mervaka> indeed. 2013-01-14T17:05:59 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-14T17:06:03 < mervaka> http://www.fortress-forever.com 2013-01-14T17:06:11 < mervaka> that's the mod i was most involved with 2013-01-14T17:06:21 < mervaka> 2005-2008 2013-01-14T17:06:28 < mervaka> well 2013-01-14T17:06:30 < mervaka> 2007 2013-01-14T17:06:41 < ViperMeowsworth> hl1 is one of the best games ever :P 2013-01-14T17:06:41 < mervaka> i didnt do an awful lot after release 2013-01-14T17:06:53 < ViperMeowsworth> hl1 was one of the defining titles of the new age of first person shooters 2013-01-14T17:06:58 < ViperMeowsworth> it's legendary 2013-01-14T17:07:01 < mervaka> HL1 was revolutionary, HL2 was evolutionary. 2013-01-14T17:07:15 < ViperMeowsworth> it had as much of an influence as duke nukem 3d ofr example 2013-01-14T17:07:21 < ViperMeowsworth> only in the new age 2013-01-14T17:07:23 < mervaka> despite the introduction of physics 2013-01-14T17:07:34 < ViperMeowsworth> duke 3d and doom being the old age fps's 2013-01-14T17:08:16 < ViperMeowsworth> I still have several hl1 mods in a cracked version of the game 2013-01-14T17:08:32 <+Steffanx> cracked 2013-01-14T17:08:32 <+Steffanx> :( 2013-01-14T17:08:34 < ViperMeowsworth> steamless 2013-01-14T17:08:34 < ViperMeowsworth> i own the game 2013-01-14T17:08:46 < ViperMeowsworth> steam just refuses ot run anymore and I don't want to deal with an ancient version of the game 2013-01-14T17:09:09 <+Steffanx> Suure 2013-01-14T17:09:19 < ViperMeowsworth> lol 2013-01-14T17:09:36 < ViperMeowsworth> I was an active and prolific hl modder, of course I own the game 2013-01-14T17:09:43 < ViperMeowsworth> :P 2013-01-14T17:09:43 < mervaka> i just have a bunch of old updates and the original CD 2013-01-14T17:09:51 < mervaka> can even remember my key off by heart still 2013-01-14T17:10:06 <+Steffanx> lol 2013-01-14T17:10:16 < ViperMeowsworth> I have my cstrike cd still but my hl disc is mssing 2013-01-14T17:10:16 < ViperMeowsworth> still it had the game 2013-01-14T17:10:26 < ViperMeowsworth> and my real cd key 2013-01-14T17:10:48 < ViperMeowsworth> and one someone gave me aaaaaaaages ago before I was able to buy it 2013-01-14T17:11:46 < ViperMeowsworth> was cool of him, allowed me to play online when I wasn't technically allowed to have the game because of parental bs back in my youth 2013-01-14T17:12:09 < mervaka> heh 2013-01-14T17:12:13 < ViperMeowsworth> i wound up with like 4 cd keys before steam came about 2013-01-14T17:12:30 < mervaka> i forgot cd actually came out on cd 2013-01-14T17:12:32 < mervaka> cs* 2013-01-14T17:12:39 < ViperMeowsworth> lol yup 2013-01-14T17:12:57 < mervaka> lol 2013-01-14T17:13:04 < ViperMeowsworth> my "mom" was with me when I bought it, and the guy asked her if it was ok because it was violent 2013-01-14T17:13:05 < ViperMeowsworth> lol 2013-01-14T17:13:09 < mervaka> oh man 2013-01-14T17:13:21 < ViperMeowsworth> she said "well he might as well, he's going to do it anyways" 2013-01-14T17:13:30 < ViperMeowsworth> >:D 2013-01-14T17:13:32 < mervaka> i remember being denied a copy of RA2 once, because of ELSPA age recommendations 2013-01-14T17:13:46 < ViperMeowsworth> yeah it's stupid 2013-01-14T17:13:55 < ViperMeowsworth> if anything video games prevent violence 2013-01-14T17:14:05 < ViperMeowsworth> providing an outlet for people's rage 2013-01-14T17:14:08 < mervaka> i tried to tell the checkout guy it's not a law binding rating, unlike BBFC etc 2013-01-14T17:14:12 < mervaka> herp derp 2013-01-14T17:14:30 < ViperMeowsworth> i know violent games have had a positive stress relieving influence on me 2013-01-14T17:14:55 < ViperMeowsworth> yeah people often don't take the time to understand what they're doing 2013-01-14T17:18:50 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-14T17:20:41 < ViperMeowsworth> I wonder if my friend's mod is still active 2013-01-14T17:20:48 < ViperMeowsworth> it was pretty lively last time i checked 2013-01-14T17:21:05 < ViperMeowsworth> one of the guys I worked with, pnutty/darktooth 2013-01-14T17:21:16 < ViperMeowsworth> he was on the battle of the millenium mod 2013-01-14T17:21:41 < ViperMeowsworth> which was a superhero mod including several different heros and such, batman spiderman megaman spawn etc... 2013-01-14T17:23:13 < mervaka> cool 2013-01-14T17:23:17 < mervaka> sounds a tall order though 2013-01-14T17:23:33 < mervaka> if he wanted spiderman to swing by web 2013-01-14T17:23:34 < mervaka> :p 2013-01-14T17:30:23 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has quit [Read error: Connection reset by peer] 2013-01-14T17:33:48 <+Steffanx> Man, you talk even more offtopic than i do ViperMeowsworth :P 2013-01-14T17:35:14 < jpa-> http://hackaday.com/2013/01/14/usb-to-serial-adapter-tells-you-what-com-port-youre-on/ err why not just lock the port number :D 2013-01-14T17:36:36 < ViperMeowsworth> hah, yes I go offtopic as the urge comes as long as it's not inappropriate 2013-01-14T17:36:44 -!- barthess [~barthess@77.67.192.143] has joined ##stm32 2013-01-14T17:36:57 < ViperMeowsworth> I find being to strict about the subject of a channel makes it an uncomfortable environment 2013-01-14T17:37:27 < gxti> if you're on windows it sort of does 2013-01-14T17:37:34 <+Steffanx> Why do you mean by "lock the port number" jpa- ? 2013-01-14T17:37:38 < gxti> it remembers the serial number of every usb device you've ever plugged in, forevar 2013-01-14T17:37:43 < ViperMeowsworth> a channel is much more valuable when there's a little friendly nonsense to distract and lighten things up on occasion 2013-01-14T17:37:46 < gxti> which is great fun when testing 20 usb serial dongles 2013-01-14T17:37:49 <+Steffanx> "The second USB device is a proprietary piece of software that grabs the current COM port number. " uuh.. so far this "nice" solution 2013-01-14T17:37:52 < jpa-> Steffanx: i mean always assign the same com port number 2013-01-14T17:37:55 < gxti> because now i have 20 COM numbers allocated 2013-01-14T17:38:05 < jpa-> you can set that even in windows 2013-01-14T17:49:56 -!- barthess [~barthess@77.67.192.143] has quit [Ping timeout: 272 seconds] 2013-01-14T17:50:16 -!- barthess [~barthess@178.154.30.142] has joined ##stm32 2013-01-14T17:58:18 -!- daku is now known as DaKu 2013-01-14T18:13:41 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has joined ##stm32 2013-01-14T18:28:21 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-14T18:29:30 -!- DLPeterson [~hazelnuss@107-197-105-35.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2013-01-14T18:59:59 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-14T19:03:15 -!- Claude is now known as claude 2013-01-14T19:04:18 < Laurenceb> what do i need to make a cortex debug to 0.1'' header adaptor? 2013-01-14T19:04:35 < Laurenceb> is cortex debug just a 1.27mm header 2013-01-14T19:06:36 < zyp> sure 2013-01-14T19:07:26 < kulminaator> just ordered the stm32f3 discovery board ... now having to wait for 3-4 days until it arrives ... oh the pain :( 2013-01-14T19:11:07 <+Steffanx> life is hard 2013-01-14T19:12:46 < kulminaator> yes, really unfair 2013-01-14T19:13:38 < kulminaator> i mean i have to pay that much (13.9 euros from a local shop) for an arm cpu with comfortable i/o pins and gyro/accel/mag sensors 2013-01-14T19:14:28 < kulminaator> when i saw the price at first i thought it must be a mistake by a magnitude :^) ... 2013-01-14T19:14:44 < Laurenceb> i cant seem to find the right kit of farnell :( 2013-01-14T19:14:55 < Laurenceb> are there 1.27mm pitch IDC connectors? 2013-01-14T19:16:03 <+Steffanx> Does zyp use those? 2013-01-14T19:16:16 <+Steffanx> or is that 1mm 2013-01-14T19:16:53 < Laurenceb> http://www.toby.co.uk/content/catalogue/products.aspx?series=A07a-xx-BSA1-G 2013-01-14T19:17:47 < Laurenceb> wtf 2013-01-14T19:17:54 < Laurenceb> 2.54mm row offset 2013-01-14T19:21:12 < Laurenceb> http://www.toby.co.uk/content/catalogue/products.aspx?series=TC7-xx-x-xxxMM-x-G 2013-01-14T19:21:18 < Laurenceb> looks like it, but expensive 2013-01-14T19:23:32 < gnomad> are they still giving away the F3 boards? 2013-01-14T19:32:15 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-14T19:34:04 -!- _BJFreeman [~bjfree@226.sub-75-233-237.myvzw.com] has joined ##stm32 2013-01-14T19:38:33 -!- _BJFreeman is now known as BJFreeman 2013-01-14T19:39:02 < kulminaator> gnomad, giving away ? 2013-01-14T19:40:31 <+Steffanx> Only in yankeeland probably 2013-01-14T19:40:57 < kulminaator> definitely not in estonia 2013-01-14T19:41:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-01-14T19:41:26 < kulminaator> but comparing the price to an arduino board and looking at the hardware on board ... it's a freebie already :$ 2013-01-14T19:41:37 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-14T19:41:41 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-14T19:42:06 <+Steffanx> Your name seems to be very dutch btw, your realname that is kulminaator :P 2013-01-14T19:45:41 < BJFreeman> I resemble yankeeland 2013-01-14T19:47:10 <+Steffanx> That was more than 4 hours BJFreeman 2013-01-14T19:51:05 < qyx_> when i have 5 min nap it is always more than 5 min 2013-01-14T19:51:52 <+Steffanx> Not when you set your timer to now + 4 minutes 2013-01-14T19:52:20 < BJFreeman> Could not find my glasses :P 2013-01-14T20:02:12 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-14T20:09:59 < BJFreeman> got cataract surg/40ery for left eye tommorow right eye is now 20/40 2013-01-14T20:10:14 < BJFreeman> surgery 2013-01-14T20:13:17 -!- ViperMeowsworth [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-01-14T20:19:34 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has joined ##stm32 2013-01-14T20:19:35 -!- bsdfox [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has quit [Changing host] 2013-01-14T20:19:35 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-14T20:32:13 -!- kulminaa1or [~martin@9.222.50.195.dyn.estpak.ee] has joined ##stm32 2013-01-14T20:35:36 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has quit [Ping timeout: 264 seconds] 2013-01-14T20:40:04 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 260 seconds] 2013-01-14T20:42:45 < zippe> BJFreeman: best of luck... 2013-01-14T20:43:00 < zippe> Something to look forward to. 8) 2013-01-14T20:50:29 < BJFreeman> thanks 2013-01-14T20:53:08 -!- Count_Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Ping timeout: 248 seconds] 2013-01-14T20:56:48 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-14T21:04:22 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-01-14T21:11:57 -!- kulminaa1or is now known as kulminaator 2013-01-14T21:17:57 -!- barthess [~barthess@178.154.30.142] has quit [Quit: Leaving.] 2013-01-14T21:24:31 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )] 2013-01-14T21:26:26 -!- claude is now known as Claude 2013-01-14T21:37:53 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-14T21:38:34 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 272 seconds] 2013-01-14T21:48:41 -!- Laurenceb__ [~Laurence@host86-136-119-136.range86-136.btcentralplus.com] has joined ##stm32 2013-01-14T22:00:31 < Laurenceb__> http://cdn-www.i-am-bored.com/media/steamvib.jpg 2013-01-14T22:00:36 < Laurenceb__> ill just leave that here 2013-01-14T22:01:08 <+Steffanx> perfect domain for Laurenceb__ aka Laurenceb-springboard 2013-01-14T22:12:00 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c090:bed8:bf2d:66d9] has joined ##stm32 2013-01-14T22:12:59 -!- baird [~cjb@ppp121-44-217-40.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-14T22:27:04 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-01-14T22:40:57 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-14T22:41:18 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-14T22:44:01 -!- DaKu is now known as daku 2013-01-14T22:48:46 -!- Claude is now known as claude 2013-01-14T22:50:08 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c090:bed8:bf2d:66d9] has quit [Remote host closed the connection] 2013-01-14T23:13:06 -!- kulminaa1or [~martin@9.222.50.195.dyn.estpak.ee] has joined ##stm32 2013-01-14T23:16:05 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has quit [Ping timeout: 255 seconds] 2013-01-14T23:17:46 -!- daku is now known as DaKu 2013-01-14T23:18:29 -!- kulminaa1or [~martin@9.222.50.195.dyn.estpak.ee] has quit [Quit: leaving] 2013-01-14T23:18:49 -!- Count_Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-14T23:19:45 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has joined ##stm32 2013-01-14T23:19:49 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Ping timeout: 244 seconds] 2013-01-14T23:22:49 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-14T23:24:36 -!- baird [~cjb@ppp121-44-217-40.lns20.syd7.internode.on.net] has quit [Ping timeout: 248 seconds] 2013-01-14T23:30:45 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-14T23:32:42 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-14T23:36:10 -!- Count_Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Ping timeout: 256 seconds] 2013-01-14T23:38:17 -!- baird [~cjb@ppp121-45-183-106.lns20.syd7.internode.on.net] has joined ##stm32 --- Day changed Tue Jan 15 2013 2013-01-15T00:01:39 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-15T00:01:57 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-15T00:01:57 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-15T00:02:01 -!- dfletcher is now known as drgreenthumb 2013-01-15T00:09:07 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has quit [Ping timeout: 248 seconds] 2013-01-15T00:14:34 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-15T00:18:19 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-15T00:20:31 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-15T00:21:39 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 260 seconds] 2013-01-15T00:22:12 -!- dfletcher__ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Client Quit] 2013-01-15T00:24:12 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2013-01-15T00:38:12 -!- Count_Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-15T00:38:54 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-15T00:41:31 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Ping timeout: 256 seconds] 2013-01-15T01:00:38 -!- DaKu is now known as daku 2013-01-15T01:03:40 -!- Count_Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-15T01:04:21 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-15T01:25:26 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-15T01:44:07 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has joined ##stm32 2013-01-15T01:48:03 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-15T01:48:46 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-15T01:48:46 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-15T01:48:51 -!- dfletcher is now known as drgreenthumb 2013-01-15T01:56:45 -!- BrainDamage [~BrainDama@78.12.248.203] has quit [Remote host closed the connection] 2013-01-15T02:08:31 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-15T02:12:20 < dongs> Thief River Falls, MN, United States 01/14/2013 2:30 P.M.Departure Scan 2013-01-15T02:12:24 < dongs> man total fucking failure 2013-01-15T02:12:41 < dongs> if i wanted this shit in the middle of this week I wouldn't have ordered last week! fucking digikey. 2013-01-15T02:12:51 -!- Laurenceb__ [~Laurence@host86-136-119-136.range86-136.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-15T02:13:50 < emeb> :( 2013-01-15T02:20:34 < emeb> OTOH - my DK order just arrived. Probably bumped yours to ship mine. :P 2013-01-15T02:21:49 < gxti> mine too. it came in a 5' long box because of heatshrink. 2013-01-15T02:22:07 < emeb> so stupid when they do that. 2013-01-15T02:22:26 < emeb> 'cause you know you can't roll up the heatshrink... 2013-01-15T02:36:46 < dongs> wai u order heatshrink from digikey 2013-01-15T02:40:53 < gxti> because i was buying $200 of other crap anyway, so why not 2013-01-15T02:41:00 < gxti> answer: because they are silly 2013-01-15T02:42:28 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-15T02:46:39 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 260 seconds] 2013-01-15T02:46:59 < emeb> got some F303s in da house. just need breakouts now. 2013-01-15T02:47:07 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-15T02:47:24 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-15T02:47:28 < emeb> (I'm lookin' at you, OSHPark) 2013-01-15T02:50:17 < dongs> loldongs 2013-01-15T02:59:59 < emeb> also got a beaglebone DVI-D + Audio "cape" - sound & vision. 2013-01-15T03:00:55 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 256 seconds] 2013-01-15T03:02:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-15T03:03:57 -!- BusError_ [~michel@host86-129-47-226.range86-129.btcentralplus.com] has joined ##stm32 2013-01-15T03:04:19 -!- Netsplit *.net <-> *.split quits: BusError 2013-01-15T03:16:48 -!- Gargantuasauce_ [~Gargantua@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-15T03:25:11 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-15T03:28:11 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-15T03:29:02 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-15T03:32:19 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 248 seconds] 2013-01-15T03:37:24 -!- baird [~cjb@ppp121-45-183-106.lns20.syd7.internode.on.net] has quit [Ping timeout: 264 seconds] 2013-01-15T04:07:50 -!- baird [~cjb@ppp121-44-214-1.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-15T04:41:38 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-01-15T04:46:12 -!- iR0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 248 seconds] 2013-01-15T04:46:46 * upgrdman wonders if flyback calls people stupid canucks in real life 2013-01-15T04:47:55 < emeb_mac> pretty sure he doesn't actually mean Canadians - it seems to be more of a euphemism for another epithet. 2013-01-15T04:48:12 < upgrdman> i know 2013-01-15T04:48:16 < upgrdman> but still 2013-01-15T04:48:24 < upgrdman> :) 2013-01-15T04:48:56 < emeb_mac> yeah - would be funny if an actual Canadian heard that and popped him. They're not all so nice. :P 2013-01-15T04:49:13 < upgrdman> "you cut me off in traffic?" *middle finger + STUPID CANUCK* 2013-01-15T04:55:04 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-15T05:00:15 -!- iR0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2013-01-15T05:06:18 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-15T05:12:38 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-15T05:12:59 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-15T05:23:38 -!- BJFreeman [~bjfree@226.sub-75-233-237.myvzw.com] has quit [Quit: had a good time] 2013-01-15T05:30:14 -!- bsdfox_ [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-15T05:33:36 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 240 seconds] 2013-01-15T05:37:46 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-15T05:45:04 < emeb_mac> lol audiophool: http://www.innerearmag.com/reviews/cables/Siltech_Emperor.shtml 2013-01-15T06:00:29 < dongs> is that a digital audio cable 2013-01-15T06:00:37 < dongs> tuning weight, roffel 2013-01-15T06:01:13 < dongs> In addition, six solid metal pucks come with the cable to de-couple them from the floor and prevent micro vibrations from diminishing its performance — nice touch. 2013-01-15T06:01:16 < dongs> haahah 2013-01-15T06:01:17 < dongs> decouple from the floor 2013-01-15T06:05:09 < emeb_mac> it's a _speaker_ cable. 2013-01-15T06:14:30 < gxti> audiophoolery isn't funny. it makes me wonder why i'm writing software instead of selling fiber demagnetizers to those morons. 2013-01-15T06:26:00 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Ping timeout: 264 seconds] 2013-01-15T06:30:12 < dongs> gxti: you just need someone to write hte sales materials 2013-01-15T06:45:59 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-15T06:46:08 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-15T07:28:56 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has joined ##stm32 2013-01-15T07:35:08 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-01-15T07:43:17 < gxti> what's the best way to power a mostly-sleeping uC from a 12V battery, a low quiescent current LDO? or are there switchers that can compete? 2013-01-15T07:44:20 < gxti> there will be a switcher anyway for when the charging source is connected, so i can probably use that whenever the uC is awake to avoid wasting much. but e.g. the murata module i have on my desk now has like 6ma quiescent current. 2013-01-15T07:45:42 -!- kulminaator [~martin@9.222.50.195.dyn.estpak.ee] has quit [Ping timeout: 276 seconds] 2013-01-15T07:46:52 < dongs> which murata module 2013-01-15T07:47:17 < gxti> OKI-78SR 2013-01-15T07:47:21 < dongs> ah 2013-01-15T07:47:37 < dongs> ive looked at that stuff. 2013-01-15T07:47:43 < dongs> settled for a lga package instead 2013-01-15T07:48:00 < dongs> http://www.murata-ps.com/data/power/okl-t3-w12.pdf 2013-01-15T07:48:05 < gxti> it's a neat module, much better than designing my own and failing, but not good for super low power 2013-01-15T07:48:33 < dongs> yea 2013-01-15T07:48:56 < dongs> where do you get 6mA numbers for them? i didnt remember seeing it in datasheet 2013-01-15T07:49:07 < dongs> i was also considering the 7805 compatible module but had to use lga stuff due to size 2013-01-15T07:49:14 < dongs> have you looked at recom's R780-5 stuff? 2013-01-15T07:49:22 < gxti> 5 actually, not 6, for the OKI-78SR 2013-01-15T07:49:24 < dongs> http://www.recom-international.com/pdf/Innoline/R-78Bxx-1.0_L.pdf 2013-01-15T07:49:40 < dongs> oh, also about same 2013-01-15T07:49:41 < dongs> 5-7mA 2013-01-15T07:49:59 < gxti> i've used their isolated ones, quite handy and DK just got some new ones in that are even cheaper 2013-01-15T07:50:21 < gxti> the one time i read the new product email it was relevant to my interests 2013-01-15T07:50:25 < gxti> go figure 2013-01-15T07:50:27 < dongs> haha 2013-01-15T07:53:00 < gxti> i think it will be hard to beat a (low-QC) LDO, just have to figure out how to elegantly switch it out when the uc wakes up 2013-01-15T07:58:34 < dongs> hmm,, whats the max SPI speed on F40x 2013-01-15T07:58:36 < dongs> like 36mHz? 2013-01-15T07:58:38 < dongs> MHz 2013-01-15T07:58:59 < dongs> hmm 37.5Mbit 2013-01-15T08:03:26 < dongs> DCMI is parlalel right 2013-01-15T08:05:34 < qyx_> yes 2013-01-15T08:05:40 < qyx_> uhm, wait 2013-01-15T08:06:05 < qyx_> dongs: you.. 2013-01-15T08:06:08 < dongs> sup. 2013-01-15T08:06:21 < dongs> and no DCMI on 405 either. 2013-01-15T08:06:32 < qyx_> maybe thats the way how to hook high speed adc to stm 2013-01-15T08:06:32 -!- claude is now known as Claude 2013-01-15T08:06:44 < dongs> well, either that or fsmc.. 2013-01-15T08:06:51 < dongs> but you'd still need some gluelogic in cpld 2013-01-15T08:07:01 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-15T08:07:01 -!- dfletcher_ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-15T08:07:02 -!- dfletcher_ is now known as drgreenthumb 2013-01-15T08:13:47 < Viper168> rarrr 2013-01-15T08:13:47 < Viper168> so slowww 2013-01-15T08:13:50 < Viper168> one seed on this stupid torrent 2013-01-15T08:14:10 < Viper168> trying to grab books about programming c so I can refamiliarize myself 2013-01-15T08:15:07 < dongs> http://net.pku.edu.cn/~course/cs101/2008/resource/The_C_Programming_Language.pdf 2013-01-15T08:15:11 < dongs> here you go, you can stop the torrent. 2013-01-15T08:15:26 < dongs> the only book you will ever need 2013-01-15T08:15:28 < dongs> suggest: buying it. 2013-01-15T08:16:32 < baird> suggest: not asking me about how pointer work 2013-01-15T08:19:30 < emeb_mac> wait till he hits function pointers... 2013-01-15T08:27:36 < Viper168> I don't need ot ask questions unless I run into a problem while programming 2013-01-15T08:27:52 < Viper168> I'm not new to programming, it has just been ages since I've done anything 2013-01-15T08:28:02 < Viper168> I only programmed in my youth 2013-01-15T08:31:54 < Viper168> hell at one time I had programmed most of my own custom game engine from scratch 2013-01-15T08:33:03 < Viper168> until the work load of programming and mapping and modelling and animation burned me out on it and I chucked the half complete mmorpg in the trash 2013-01-15T08:34:05 < Viper168> suggest: not trying to make a large game from scratch on your own 2013-01-15T08:35:27 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-15T08:55:17 < Viper168> bah I'm too sick to concentrste enough to read this stuff 2013-01-15T08:55:23 < Viper168> will have to try tomorrow 2013-01-15T09:16:55 -!- Claude is now known as claude 2013-01-15T09:20:23 < Viper168> anyone have a good site for jumpers and accessories and such for the controllers? 2013-01-15T09:21:06 < Viper168> because I currently have nothing to actually physically work with the board so it can do things 2013-01-15T09:27:50 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-15T09:30:33 -!- |sark [~|sark@109.235.51.202] has quit [Max SendQ exceeded] 2013-01-15T09:35:21 -!- dekar_ [~dekar@212.255.242.158] has joined ##stm32 2013-01-15T09:35:21 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-15T09:37:33 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-15T09:38:37 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-15T09:39:45 -!- dekar [~dekar@212.255.249.141] has quit [Ping timeout: 276 seconds] 2013-01-15T09:47:21 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-15T09:59:21 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2013-01-15T10:10:48 < dongs> http://www.adafruit.com/category/116 is this new 2013-01-15T10:16:35 < baird> lol rentfail: http://www.classiccmp.org/pipermail/cctech/2013-January/140401.html 2013-01-15T10:16:55 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-15T10:21:15 < dongs> what the hell is that mailing list 2013-01-15T10:21:18 < dongs> some kinda old nerd shit 2013-01-15T10:53:19 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-15T10:53:30 -!- claude is now known as Claude 2013-01-15T10:57:36 < karlp> gxti: how much current do you need when the uC turns on? "just have to figure out how to elegantly switch it out when the uc wakes up 2013-01-15T10:57:39 < karlp> " 2013-01-15T11:09:47 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-01-15T11:10:55 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-15T11:12:20 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 248 seconds] 2013-01-15T11:25:02 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Ping timeout: 252 seconds] 2013-01-15T11:26:00 -!- |sark [~|sark@p54B629A8.dip.t-dialin.net] has joined ##stm32 2013-01-15T11:34:13 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2013-01-15T11:35:54 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-15T11:36:31 -!- Claude is now known as claude 2013-01-15T11:42:00 -!- claude is now known as Claude 2013-01-15T11:43:13 -!- |sark [~|sark@p54B629A8.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 2013-01-15T11:43:52 -!- |sark [~|sark@p54B6384F.dip.t-dialin.net] has joined ##stm32 2013-01-15T11:51:47 < jpa-> gxti: there are switchers with less than 20µA quiescent current, but they have a lot of low-frequency noise (e.g. a pulse every 5 seconds) so you may need to have an LDO after it anyway 2013-01-15T11:52:43 -!- Laurenceb__ [~Laurence@host86-136-119-136.range86-136.btcentralplus.com] has joined ##stm32 2013-01-15T11:56:28 < Tectu> so what's exactly the definition of a binary file? I'm back at the point where I need to send a file of values over to my MCU. i thougt about using zmodem or something. 2013-01-15T11:56:34 < Tectu> I mean is .txt a binary file? o0 2013-01-15T11:56:57 < Tectu> can't I just go with cat foo.txt > /dev/ttyACM0 ? 2013-01-15T11:57:13 -!- Laurenceb__ [~Laurence@host86-136-119-136.range86-136.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-01-15T11:58:04 -!- Laurenceb__ [~Laurence@host86-177-61-164.range86-177.btcentralplus.com] has joined ##stm32 2013-01-15T11:58:44 < jpa-> Tectu: sure you can 2013-01-15T11:59:01 < zyp> well, of course all files are really binary 2013-01-15T11:59:23 < zyp> but often binary means non-ascii 2013-01-15T11:59:34 < zyp> or rather, non-text 2013-01-15T12:00:09 < Tectu> so a .txt is definitelly not a binary file? 2013-01-15T12:00:17 < jpa-> :D 2013-01-15T12:00:20 < zyp> … 2013-01-15T12:00:24 < Tectu> and I will not be able to do the cat foo.txt > /dev/ttyACM0 magic? 2013-01-15T12:00:26 < jpa-> who cares, it depends on your definition of "binary" 2013-01-15T12:00:34 < jpa-> you can cat *any* file 2013-01-15T12:00:49 < zyp> it's both a binary file and a non-binary file, depending on what you count as binary 2013-01-15T12:16:09 -!- Laurenceb__ [~Laurence@host86-177-61-164.range86-177.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2013-01-15T12:20:20 < dongs> sup trolls 2013-01-15T12:20:35 < dongs> < Tectu> can't I just go with cat foo.txt > /dev/ttyACM0 ? 2013-01-15T12:20:40 < dongs> if you expet your customers to use lunix, you fail 2013-01-15T12:21:51 < Tectu> dongs, yes 2013-01-15T12:31:22 < karlp> huh, tests fail with -O2, work ok without. 2013-01-15T12:31:42 < karlp> I've only ever heard of that happening, never had it happen to me personally. 2013-01-15T12:32:05 < zyp> heh 2013-01-15T12:32:27 < zyp> that usually means you're making assumptions about undefined behavior 2013-01-15T12:32:50 < karlp> yeah, probably on initializations and stuff. 2013-01-15T12:33:04 < karlp> this is lacking most of the error checking so far. 2013-01-15T12:33:53 < karlp> ahh fun times. 2013-01-15T12:41:51 < karlp> yup, uninitialized variable. 2013-01-15T12:42:06 < karlp> I wonder why gcc didn't tell me it wsa uninitialized? 2013-01-15T12:43:53 < dongs> gcc? ha. 2013-01-15T12:44:30 < karlp> apparently "if (rc>0) { printf("blah") }" will give me a waning about rc being uninitialized, but "return rc" doesn't count. 2013-01-15T12:45:33 < dongs> um 2013-01-15T12:45:34 < dongs> should 2013-01-15T12:45:39 < dongs> are yo u buidilng this shit with -Wall? 2013-01-15T12:47:18 < karlp> yeah, and -Wextra too. 2013-01-15T12:47:27 < karlp> yeah, just made a test program and it's warning int he right places. 2013-01-15T12:48:40 < dongs> so? 2013-01-15T12:48:44 < dongs> why isnt it warning in o ther code 2013-01-15T12:48:47 < dongs> obivbosuly youre failing 2013-01-15T12:49:32 < karlp> indeed :) 2013-01-15T12:53:48 -!- |sark [~|sark@p54B6384F.dip.t-dialin.net] has quit [Ping timeout: 276 seconds] 2013-01-15T12:57:09 < karlp> http://fpaste.org/9eJk/ 2013-01-15T12:58:24 < karlp> only in my real case, the "magic" test is some json parsing, that it can't know about, so I get zero warnings. 2013-01-15T12:58:33 < karlp> it's not like I'm just ignoring an earlier uninit 2013-01-15T13:05:55 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-15T13:15:51 -!- jef79m [~jef79m@124-168-171-28.dyn.iinet.net.au] has joined ##stm32 2013-01-15T14:27:10 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2013-01-15T14:45:46 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2013-01-15T14:45:46 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2013-01-15T14:45:46 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-15T14:46:26 < dongs> mac stoners 2013-01-15T14:46:29 < dongs> wahts a usable mac terminal app? 2013-01-15T14:46:32 < dongs> this faggot cant figure out how to use CLI 2013-01-15T14:47:38 < baird> /System/Utilities/Terminal, duh. 2013-01-15T14:48:15 < dongs> uh?? 2013-01-15T14:48:20 < dongs> im talkin about serial 2013-01-15T14:48:24 < baird> duh myself, you're wanting a serial terminal.. 2013-01-15T14:51:18 < baird> Still, use Terminal, and then "cu -l ttyUSB0 ..." or whatever. 2013-01-15T14:52:02 < baird> ('screen /dev/tty.whatever 115200' ..? Forgotten if screen is a standard include) 2013-01-15T14:53:40 < baird> lol, Terminal -> emacs, M-x serial-term 2013-01-15T14:57:14 < jpa-> ah, mac os x has the emacs operating system built-in! 2013-01-15T14:57:44 < baird> It did in Panther, at least. 2013-01-15T15:09:47 < Laurenceb> will texane run on windoze? 2013-01-15T15:12:49 < jpa-> if the windows are horizontal and thick enough 2013-01-15T15:18:21 < karlp> it got commits added for windows builds, so presumably some people hda it working on windows. 2013-01-15T15:18:45 < Laurenceb> ok 2013-01-15T15:18:58 -!- Claude is now known as claude 2013-01-15T15:26:31 < fxd0h> dongs: cool term , I use it to preserve the eye-candyness 2013-01-15T15:26:53 < fxd0h> 2013-01-15T15:27:09 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-15T15:27:10 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-15T15:27:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-15T15:27:10 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-15T15:32:02 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-15T15:32:48 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Client Quit] 2013-01-15T15:34:16 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-15T16:02:50 < Laurenceb> http://www.bbc.co.uk/news/world-europe-21030211 2013-01-15T16:02:51 < Laurenceb> lolz 2013-01-15T16:03:13 <+Steffanx> Nice poem 2013-01-15T16:07:42 <+Steffanx> The swedish are failing today Laurenceb: http://www.aftonbladet.se/nyheter/article16071957.ab .. 50 trucks and 50 cars 2013-01-15T16:08:17 < baird> Traffic cones weren't enough for one drunk cleaning lady. 2013-01-15T16:09:05 <+Steffanx> drunk? 2013-01-15T16:10:29 < Laurenceb> interesting - looks like there is a new revision of the f4discovery 2013-01-15T16:10:40 < Laurenceb> hes orange tantalums and some new ceramic caps 2013-01-15T16:11:08 < Laurenceb> and silkscreen is more yellow than my previous boards 2013-01-15T16:13:47 < baird> Do us a photo? 2013-01-15T16:14:11 < zyp> Steffanx, they have also been busy crashing trains into houses 2013-01-15T16:14:35 < zyp> https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-ash4/154110_10152424181320302_761354940_n.jpg 2013-01-15T16:15:05 <+Steffanx> Yeah, that's what Laurenceb linked zyp :) 2013-01-15T16:15:09 < Laurenceb> dont have the board here atm 2013-01-15T16:15:38 < zyp> ah, I only saw the car collision link 2013-01-15T16:16:22 <+Steffanx> Laurenceb, revision or just a new board with different components? 2013-01-15T16:16:31 < Laurenceb> revision 2013-01-15T16:16:37 < Laurenceb> they added some caps 2013-01-15T16:16:59 < Laurenceb> hopefully it improved things - analogue on my existing boards is rather noisy 2013-01-15T16:21:36 < mervaka> with any luck, they'll have fixed USART1 and stuck a solder bridge to the USB_OTG 2013-01-15T16:21:52 < mervaka> cos PA9 is unusable for anything else 2013-01-15T16:22:00 < Laurenceb> i dont think so :/ 2013-01-15T16:22:22 < mervaka> i'm not a fan of cutting tracks on my PCB 2013-01-15T16:22:31 < zyp> why do you need to cut tracks? 2013-01-15T16:22:40 < mervaka> i had Tx wired to PA9 2013-01-15T16:22:55 < zyp> why not rewire it to another pin? 2013-01-15T16:23:03 < mervaka> thats what i did 2013-01-15T16:23:13 < zyp> then what's the problem? 2013-01-15T16:23:16 < mervaka> but i had to cut the track to PA9 because it has a shunt capacitor 2013-01-15T16:23:30 < mervaka> messy :/ 2013-01-15T16:23:34 < zyp> huh? 2013-01-15T16:23:44 < mervaka> sorry i'm probably just fussy 2013-01-15T16:23:50 < mervaka> i like things to just work. 2013-01-15T16:24:08 < zyp> yes, and the discovery board is wired for having usb just work 2013-01-15T16:25:28 < mervaka> hmm 2013-01-15T16:25:37 < mervaka> maybe i could make use of the USB peripheral 2013-01-15T16:25:57 -!- kerwood_wk [80f42605@gateway/web/freenode/ip.128.244.38.5] has joined ##stm32 2013-01-15T16:26:00 < mervaka> never tried USB connectivity before 2013-01-15T16:27:02 < mervaka> i'm guessing the actual serial data is just.. midi? 2013-01-15T16:27:06 < mervaka> in my case 2013-01-15T16:40:20 -!- _BJFreeman [~bjfree@82.sub-75-196-21.myvzw.com] has joined ##stm32 2013-01-15T16:41:12 -!- _BJFreeman is now known as BJFreeman 2013-01-15T16:45:12 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-15T16:46:44 -!- baird [~cjb@ppp121-44-214-1.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-15T16:54:58 < Laurenceb> http://www.nebula-aerospace.com/news/articles/horizon.asp 2013-01-15T16:55:02 < Laurenceb> riiggghhhhttt 2013-01-15T17:14:28 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-15T17:34:08 -!- daku is now known as DaKu 2013-01-15T17:37:40 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-15T17:48:40 -!- DaKu is now known as daku 2013-01-15T17:51:11 < Laurenceb> http://uk.farnell.com/stmicroelectronics/stm32f303cct6/mcu-32bit-cortex-m4-48lqfp/dp/2215113?in_merch=New%20Products 2013-01-15T17:51:13 < Laurenceb> oh yeaaahhh 2013-01-15T17:57:18 < karlp> what? farnell started stocking them? is that all you're excited about? 2013-01-15T17:57:22 * Steffanx orders 247 2013-01-15T17:57:33 <+Steffanx> pieces 2013-01-15T17:58:51 < Laurenceb> lolz 2013-01-15T18:05:54 -!- daku is now known as DaKu 2013-01-15T18:17:32 -!- barthess [~barthess@77.67.219.33] has joined ##stm32 2013-01-15T18:18:12 < qyx_> no pictures on farnell :( 2013-01-15T18:24:44 <+Steffanx> You need pictures? 2013-01-15T18:26:37 < qyx_> sometimes for quick lookup of packages 2013-01-15T18:38:00 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-15T18:41:44 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-15T19:06:26 -!- BJFreeman [~bjfree@82.sub-75-196-21.myvzw.com] has quit [Quit: had a good time] 2013-01-15T19:17:49 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-15T19:41:01 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-15T19:41:02 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-15T19:41:02 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-15T19:44:00 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 264 seconds] 2013-01-15T19:46:44 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-15T19:46:44 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-15T19:46:44 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-15T19:49:02 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 256 seconds] 2013-01-15T19:58:23 <+Steffanx> and often VERY wrong qyx_ .. 2013-01-15T19:59:26 <+Steffanx> hey Thorn .. you've seen that the wiki is back? 2013-01-15T19:59:57 < Thorn> yes, I made some edits there too and backed page source up 2013-01-15T20:00:22 <+Steffanx> ook 2013-01-15T20:00:46 < Thorn> maybe I should host it on my server anyway, it's not going away easily because it's used commecrially 2013-01-15T20:01:00 < Thorn> any communications with izua in the meantime? 2013-01-15T20:01:19 < gxti> Steffanx: i've never seen a "very wrong" picture on digikey. rendered yes, not identical down to the last detail yes, but not very wrong. 2013-01-15T20:01:53 < gxti> it can be faster than trying to filter on the package list especially when it's not just conventional IC packages 2013-01-15T20:02:14 <+Steffanx> digikey != farnell :P 2013-01-15T20:02:36 < gxti> oh, i assumed "no pictures on farnell" meant none whatsoever 2013-01-15T20:03:29 < gxti> i used newark once to buy some connectors and their sales dweebs phoned me to ask about my needs, will take that into consideration next time i'm comparing prices ;p 2013-01-15T20:05:41 < qyx_> Steffanx: thats true 2013-01-15T20:16:02 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-01-15T20:17:39 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-15T20:18:43 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 248 seconds] 2013-01-15T20:22:43 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-15T20:36:35 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-15T20:36:35 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-15T20:36:35 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-15T20:38:22 -!- BrainDamage [~yaaic@217.200.200.254] has joined ##stm32 2013-01-15T20:39:48 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2013-01-15T20:43:24 -!- BrainDamage [~yaaic@217.200.200.254] has quit [Ping timeout: 276 seconds] 2013-01-15T21:01:39 -!- BrainDamage [~yaaic@217.200.200.229] has joined ##stm32 2013-01-15T21:03:07 -!- barthess [~barthess@77.67.219.33] has quit [Quit: Leaving.] 2013-01-15T21:07:03 -!- barthess [~barthess@178.154.66.248] has joined ##stm32 2013-01-15T21:12:08 -!- barthess [~barthess@178.154.66.248] has quit [Quit: Leaving.] 2013-01-15T21:12:44 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-15T21:19:34 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-15T21:28:09 -!- BrainDamage2 [~yaaic@217.200.185.214] has joined ##stm32 2013-01-15T21:29:00 -!- DaKu is now known as daku 2013-01-15T21:29:24 -!- BrainDamage [~yaaic@217.200.200.229] has quit [Ping timeout: 248 seconds] 2013-01-15T21:41:04 -!- BrainDamage [~yaaic@217.200.185.38] has joined ##stm32 2013-01-15T21:41:58 -!- daku is now known as DaKu 2013-01-15T21:43:44 -!- BrainDamage2 [~yaaic@217.200.185.214] has quit [Ping timeout: 255 seconds] 2013-01-15T22:03:04 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 240 seconds] 2013-01-15T22:08:09 -!- BrainDamage2 [~yaaic@217.200.200.237] has joined ##stm32 2013-01-15T22:09:48 -!- BrainDamage [~yaaic@217.200.185.38] has quit [Ping timeout: 264 seconds] 2013-01-15T22:21:30 -!- BrainDamage3 [~yaaic@217.200.185.198] has joined ##stm32 2013-01-15T22:21:33 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 276 seconds] 2013-01-15T22:24:03 -!- BrainDamage4 [~yaaic@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-15T22:24:34 -!- BrainDamage2 [~yaaic@217.200.200.237] has quit [Ping timeout: 260 seconds] 2013-01-15T22:24:57 -!- Laurenceb__ [~Laurence@host86-177-212-85.range86-177.btcentralplus.com] has joined ##stm32 2013-01-15T22:28:03 -!- BrainDamage3 [~yaaic@217.200.185.198] has quit [Ping timeout: 256 seconds] 2013-01-15T22:30:33 -!- BrainDamage4 [~yaaic@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Many bits were harmed during this conversation] 2013-01-15T22:34:25 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-15T22:34:34 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-15T22:59:35 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-15T23:13:35 -!- kerwood_wk [80f42605@gateway/web/freenode/ip.128.244.38.5] has quit [Quit: Page closed] 2013-01-15T23:23:10 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-15T23:47:55 -!- _BJFreeman [~bjfree@103.sub-75-233-196.myvzw.com] has joined ##stm32 2013-01-15T23:48:51 -!- _BJFreeman is now known as BJFreeman 2013-01-15T23:49:24 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-15T23:51:29 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-15T23:59:11 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 255 seconds] 2013-01-15T23:59:49 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 --- Day changed Wed Jan 16 2013 2013-01-16T00:01:52 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-16T00:03:00 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-16T00:42:45 -!- theAdib [~adib@dslb-088-074-188-255.pools.arcor-ip.net] has joined ##stm32 2013-01-16T00:47:36 < Thorn> what's the world coming to. I'm googling Newton's approximation and finding arduino. 2013-01-16T00:48:10 < zyp> ha 2013-01-16T00:49:34 <+Steffanx> Google is just doing some "personalized search results" .. for you only Thorn 2013-01-16T01:05:08 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-16T01:21:36 -!- Laurenceb__ [~Laurence@host86-177-212-85.range86-177.btcentralplus.com] has quit [Read error: Connection timed out] 2013-01-16T01:24:36 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 248 seconds] 2013-01-16T01:35:48 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 248 seconds] 2013-01-16T01:46:44 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-16T02:09:57 -!- theAdib [~adib@dslb-088-074-188-255.pools.arcor-ip.net] has quit [Quit: Ex-Chat] 2013-01-16T03:12:26 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 252 seconds] 2013-01-16T03:15:01 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-16T03:18:43 -!- |sark [~|sark@109.235.51.202] has quit [Excess Flood] 2013-01-16T03:24:28 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-16T03:26:09 -!- baird [~cjb@ppp121-44-214-1.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-16T03:43:35 -!- |sark [~|sark@109.235.51.202] has quit [Quit: Verlassend] 2013-01-16T05:00:38 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-01-16T05:07:07 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-16T05:12:54 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-16T05:15:55 -!- BJFreeman [~bjfree@103.sub-75-233-196.myvzw.com] has quit [Quit: had a good time] 2013-01-16T05:37:08 < dongs> definite lack of chats 2013-01-16T05:38:11 < emeb_mac> it's quiet as a... very quiet thing 2013-01-16T05:38:26 < emeb_mac> let's get this party started: http://ow.ly/gQIG4 2013-01-16T05:39:16 -!- Viper168 [~Viper@node54.18.251.72.1dial.com] has joined ##stm32 2013-01-16T05:39:16 -!- Viper168 [~Viper@node54.18.251.72.1dial.com] has quit [Changing host] 2013-01-16T05:39:16 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-16T05:40:29 < emeb_mac> dongs: got email from OSHPark - "New Years delay" my boards won't ship until the end of the week. :P 2013-01-16T05:42:02 < dongs> raped 2013-01-16T05:42:22 < dongs> my digikey shit isnt here either 2013-01-16T05:42:28 < dongs> so i guess we're even 2013-01-16T05:43:03 < emeb_mac> yep - the vagaries of mail order. 2013-01-16T05:44:19 < Viper168> I read that as viagras from a distance 2013-01-16T05:45:17 < emeb_mac> lol - boner pills 2013-01-16T05:50:03 < dongs> pills for dongs, stuff that matters. 2013-01-16T05:52:03 < emeb_mac> slashdong 2013-01-16T05:53:09 < dongs> anyone here done anythign wiht opencv 2013-01-16T05:53:51 < emeb_mac> no, but I've heard a lot of complaining about it. 2013-01-16T05:54:48 < emeb_mac> apparently its a bunch of C++ tied together with Python, so performance can be abysmal. 2013-01-16T05:55:03 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-16T05:57:02 < dongs> i need to email the fucks who make my dicknplace that http://i.imgur.com/ZtVoR.png is a perfectly fUcking valid fiducial, if onyl they weren't fuckign trying to read it with GetPixel() in VB6 2013-01-16T05:57:57 < dongs> the retards suggestion was: please rub the fiducial with eraser to make it shiner 2013-01-16T05:57:58 < emeb_mac> looks fine to me. what didn't it like? 2013-01-16T05:58:00 < dongs> shinier 2013-01-16T05:58:06 < dongs> it doenst detect it at all 2013-01-16T05:58:11 < dongs> "not enough edge" or someshit 2013-01-16T05:58:28 < emeb_mac> probably all that roughness in the center 2013-01-16T05:58:43 < dongs> lawl 2013-01-16T05:59:01 < dongs> probably al lthat VB6ness in the shitty software 2013-01-16T05:59:07 < dongs> actually its ported from qbasic 2013-01-16T05:59:09 < dongs> so its evven worse. 2013-01-16T05:59:16 < emeb_mac> *choke* 2013-01-16T05:59:33 < emeb_mac> *BASIC <- there's the problem 2013-01-16T05:59:48 < dongs> clearly 2013-01-16T06:14:18 -!- baird [~cjb@ppp121-44-214-1.lns20.syd7.internode.on.net] has quit [Ping timeout: 245 seconds] 2013-01-16T06:14:40 < dongs> of course i didnt fucking order CANbus transceivers 2013-01-16T06:36:29 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-16T06:41:37 < upgrdman> "please gold plate the fiducials" 2013-01-16T06:42:30 -!- baird [~cjb@ppp121-44-152-98.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-16T06:43:36 < upgrdman> dongs, which dicknplace? 2013-01-16T06:48:14 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-16T06:48:23 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-16T06:52:04 -!- baird [~cjb@ppp121-44-152-98.lns20.syd7.internode.on.net] has quit [Ping timeout: 248 seconds] 2013-01-16T06:52:18 -!- cjbaird [~cjb@ppp121-44-248-227.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-16T06:54:44 -!- cjbaird is now known as baird 2013-01-16T06:57:52 < dongs> and now i cant find my fucking 20>10 pin jtag adapter wtf 2013-01-16T07:30:16 < emeb_mac> just build another out of one of those BMP2 boards you've got. 2013-01-16T07:30:39 < dongs> haha how doe sthat help me 2013-01-16T07:30:42 < dongs> the shit dont wokr in keil 2013-01-16T07:30:49 < dongs> maybe someone could port cmsis-dap firmware to it 2013-01-16T07:30:56 < dongs> then it would be more useful than a brick/doorstop 2013-01-16T07:30:59 < emeb_mac> no - just solder a 20 pin and 10 pin conn on the board 2013-01-16T07:31:03 < dongs> oh 2013-01-16T07:31:09 < dongs> haha 2013-01-16T07:31:11 < emeb_mac> then use your favorite jtag 2013-01-16T07:31:28 < dongs> well i ahve the adpater boards, its the fucking making of them is waht i was trying to avoid :) 2013-01-16T07:31:44 < emeb_mac> :) 2013-01-16T07:32:24 < emeb_mac> build up a dozen, scatter them around in obvious places, never need to look again. 2013-01-16T07:33:59 < dongs> i still have more htan 10 20>10 pcbs in a bag, even though ive been giving htem away 2013-01-16T07:35:00 < emeb_mac> dongs gives back to the community. :) 2013-01-16T07:35:54 < dongs> argh, zippe that fucking 926EJ-S board is allwhiner/boxchip F20 2013-01-16T07:36:43 < emeb_mac> 92x. blech 2013-01-16T07:47:34 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-16T07:48:46 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-16T08:13:05 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-16T08:14:47 < zippe> dongs: er, sorry? 2013-01-16T08:15:08 < zippe> I think I missed something there 2013-01-16T08:16:59 -!- DaKu is now known as daku 2013-01-16T08:18:48 -!- claude is now known as Claude 2013-01-16T08:22:23 < dongs> zippe: remember that d iagram i asked you to identify 2013-01-16T08:22:30 < dongs> 926EJ-S Soc digram 2013-01-16T08:23:35 < dongs> retards wouldnt tell me it was F20 until I signed NDA 2013-01-16T08:24:02 < dongs> emeb_mac: http://i.imgur.com/15k8A.jpg i emailed this to dicknplace guy, look at this shit, that was liek 2 lines of opencv code. their reply? "unfortunately, opencv doesn't support VB6 which we use". facefuckingpalm. 2013-01-16T08:24:50 < emeb_mac> lolwut? 2013-01-16T08:25:48 < dongs> cv::vector circles; 2013-01-16T08:25:49 < dongs> findCircles(image, circles); 2013-01-16T08:25:49 < dongs> drawCircles(image, circles); 2013-01-16T08:25:51 < dongs> sorry, 3 lines. 2013-01-16T08:25:54 < emeb_mac> you built opencv and ran it on the output of your pnp. 2013-01-16T08:25:58 < dongs> yeah 2013-01-16T08:26:58 < emeb_mac> wonder how hard it would be to build a shim layer between VB and opencv 2013-01-16T08:27:15 < dongs> probably anything would be better than the garbage done now 2013-01-16T08:27:22 < dongs> i actually have the sores 2013-01-16T08:27:25 < emeb_mac> seems like 2013-01-16T08:34:42 < zippe> dongs: ah, yucky 2013-01-16T08:36:03 < dongs> http://bcas.tv/paste/results/sJ9NQr89.html 2013-01-16T08:36:30 < emeb_mac> gotta love that basic 2013-01-16T08:36:38 < emeb_mac> (notreally) 2013-01-16T08:36:40 < dongs> thats not the acutal pixel shit though. lemme find where hte fuck that is 2013-01-16T08:44:57 < dongs> http://bcas.tv/paste/results/AaoCC330.html i have no fucking idea. 2013-01-16T08:45:16 < dongs> this is the actual code, including formatting etc. 2013-01-16T08:45:51 < dongs> 'ddrb() is array of camera data i think. 2013-01-16T08:45:58 < dongs> like rgb pixels or som eshit. 2013-01-16T08:53:06 < emeb_mac> yikes! 2013-01-16T08:54:07 < emeb_mac> that's some uuuuugly code 2013-01-16T08:54:29 < dongs> no kidding 2013-01-16T08:55:14 < Viper168> going to play some chex quest 2013-01-16T08:55:34 < emeb_mac> sounds like a snack you make with cereal 2013-01-16T08:55:55 < Viper168> it was a game included on cds in boxes of chex cereal when I was young 2013-01-16T08:56:06 < Viper168> doom-like 2013-01-16T08:56:25 < Viper168> but with zorchers 2013-01-16T08:56:30 < Viper168> fighting flemoids 2013-01-16T08:56:36 < baird> My ADSL2 speeds are back! \o/ 2013-01-16T08:56:48 < dongs> A in ADSL2 stands for Australia 2013-01-16T08:57:01 < baird> DS stands of dialup speed 2013-01-16T08:57:51 < baird> I managed to reprofile the adsl config to bump the 7kb/S up to 92kb/S, but now it's back to normal (>660kB) 2013-01-16T09:01:43 < baird> Still another 24 months or so before the optical NBN expansion reaches this area.. 2013-01-16T09:03:10 < baird> Eww. The Japanese guy who lives in the villa across the lane from mine is running about outside in his undies. Typical Jap man. 2013-01-16T09:03:34 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-16T09:05:34 < emeb_mac> baird: you see a lot of that sort of thing? 2013-01-16T09:06:19 < baird> I reserve my pants-free days for inside the house. 2013-01-16T09:07:16 < emeb_mac> good choice 2013-01-16T09:08:55 < baird> I heard people outside, so I was going to let them know that the street's broadband had just been fixed... Eh, I'll tell him later. 2013-01-16T09:10:09 < baird> Didn't want a situation where he'd been jumping up and down in his dacks yelling "BANZAI!" 2013-01-16T09:11:45 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-16T09:14:56 -!- Claude is now known as claude 2013-01-16T09:19:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-16T09:26:11 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-16T09:27:45 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-16T09:28:23 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-16T09:34:33 -!- dekar__ [~dekar@212.255.253.246] has joined ##stm32 2013-01-16T09:34:33 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-01-16T09:37:19 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-16T09:38:19 -!- dekar_ [~dekar@212.255.242.158] has quit [Ping timeout: 260 seconds] 2013-01-16T09:47:32 -!- baird [~cjb@ppp121-44-248-227.lns20.syd7.internode.on.net] has quit [Ping timeout: 248 seconds] 2013-01-16T09:48:38 -!- baird [~cjb@ppp121-45-160-135.lns20.syd6.internode.on.net] has joined ##stm32 2013-01-16T09:57:41 < dongs> http://catacombosoundsystem.com/ ok which one of you did this 2013-01-16T09:59:18 -!- NonaSuomy is now known as TeknoJuce 2013-01-16T10:16:37 -!- baird [~cjb@ppp121-45-160-135.lns20.syd6.internode.on.net] has quit [Ping timeout: 256 seconds] 2013-01-16T10:17:20 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-16T10:49:18 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-16T10:49:35 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-16T10:52:30 -!- Laurenceb_ [~Laurence@host86-177-211-165.range86-177.btcentralplus.com] has joined ##stm32 2013-01-16T10:58:20 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-16T11:04:39 -!- Laurenceb_ [~Laurence@host86-177-211-165.range86-177.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2013-01-16T11:09:40 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-16T11:28:04 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Quit: Leaving] 2013-01-16T11:43:32 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-01-16T11:46:51 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-16T11:57:57 < dongs> oops 2013-01-16T11:58:02 < dongs> F1 doesn't run at 192mhz 2013-01-16T12:00:25 < jon1012> f4 can however :) 2013-01-16T12:00:58 < zyp> it's even within spec for lpc43xx 2013-01-16T12:03:30 < dongs> zyp, i got i2c boards made after lazying out 2013-01-16T12:03:48 < dongs> forgot to order canbus xceivers though :( http://i.imgur.com/8ROw4.jpg 2013-01-16T12:04:30 < dongs> and my old code was for 8mhz 2013-01-16T12:04:34 < dongs> so it was like PLL16 2013-01-16T12:04:36 < zyp> oh, you're gonna use it to emulate multiple i2c escs? 2013-01-16T12:05:50 < dongs> ya 2013-01-16T12:18:51 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-16T12:34:53 < Laurenceb> http://www.theregister.co.uk/2013/01/15/google_donkey/ 2013-01-16T12:34:55 < Laurenceb> epic lol 2013-01-16T12:41:11 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-16T12:41:12 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-16T12:41:12 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-16T12:41:15 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-16T12:45:22 -!- dekar__ [~dekar@212.255.253.246] has quit [Quit: This computer has gone to sleep] 2013-01-16T12:55:25 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-16T13:06:58 < Laurenceb> http://it.slashdot.org/story/13/01/16/0354218/employee-outsourced-programming-job-to-china-spent-days-websurfing 2013-01-16T13:07:03 < Laurenceb> was it dongs? 2013-01-16T13:08:23 <+Steffanx> LOL nice way to get your job done :) 2013-01-16T13:09:58 < dongs> too bad veridongs cant even keep a website going 2013-01-16T13:10:10 < dongs> https://securityblog.verizonbusiness.com/2013/01/14/case-study-pro-active-log-review-might-be-a-good-idea/ 2013-01-16T13:10:16 < dongs> Error establishing a database connection 2013-01-16T13:10:26 < Laurenceb> lolz 2013-01-16T13:10:35 <+Steffanx> Yeah, website is slashdotted :P 2013-01-16T13:12:03 < dongs> i would imagine a c ompany calling themselves "verizon business" would take business a bit more "seriously". 2013-01-16T13:13:03 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-16T13:13:08 < zyp> verizon bullshit 2013-01-16T13:13:09 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-16T13:13:18 <+Steffanx> Who expects a zillion visitors? 2013-01-16T13:13:37 < dongs> dongs. 2013-01-16T13:13:58 < baird> Not without a female blogger on staff, you won't. 2013-01-16T13:14:04 <+Steffanx> Yes, but you have experience with website that have zillions of visitors everyday dongs 2013-01-16T13:14:20 -!- jef79m is now known as jef79m_lurking 2013-01-16T13:14:27 <+Steffanx> *websites 2013-01-16T13:14:35 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-16T13:14:46 < dongs> haha, that is true 2013-01-16T13:14:59 < dongs> especially websites that show flashing spinning dicks animations and play loud .wav files 2013-01-16T13:15:59 < dongs> http://i.imgur.com/l8PA7.jpg another trollproj 2013-01-16T13:16:18 < Laurenceb> http://www.youtube.com/watch?v=embdtwW-sSE 2013-01-16T13:16:26 <+Steffanx> Nice, smart card reader dongs? 2013-01-16T13:16:27 < Laurenceb> i fear baird is correct 2013-01-16T13:16:55 < dongs> Laurenceb: when was the last time she got laid i wonder. 2013-01-16T13:16:58 < dongs> guessing: never 2013-01-16T13:17:03 < Laurenceb> lolz 2013-01-16T13:17:04 < dongs> Steffanx: yea 2013-01-16T13:17:14 < Laurenceb> 150+ million views... 2013-01-16T13:17:18 < Laurenceb> what the actual fuck 2013-01-16T13:17:56 < Laurenceb> this calls for trolling 2013-01-16T13:18:53 < Laurenceb> dongs: smd card adaptor or what? 2013-01-16T13:19:00 < dongs> hm? 2013-01-16T13:19:47 < dongs> no, its dip. 2013-01-16T13:20:06 < dongs> thats why theres holes on outer edge. 2013-01-16T13:20:20 < Laurenceb> ah 2013-01-16T13:21:04 <+Steffanx> Dongs what's wrong with the reader? 2013-01-16T13:21:07 <+Steffanx> its better than the one i have 2013-01-16T13:21:35 <+Steffanx> It has a arm with usb inside, but it uses FTDI usb-serial stuff 2013-01-16T13:23:05 -!- claude is now known as Claude 2013-01-16T13:23:21 < dongs> no, nothing 2013-01-16T13:23:25 < dongs> i made it to do some timing stuff on cards 2013-01-16T13:24:53 <+Steffanx> This NewCS is funny btw. .. it crashes on single core machines :D 2013-01-16T13:24:57 <+Steffanx> How wondeful 2013-01-16T13:28:30 < dongs> whats that 2013-01-16T13:28:43 < dongs> oh, i dont actually do tvfaggot shit. 2013-01-16T13:28:48 < dongs> this is legitimate stuff. 2013-01-16T13:29:03 <+Steffanx> LOL 2013-01-16T13:29:06 <+Steffanx> This too :P 2013-01-16T13:29:11 < dongs> doubtful 2013-01-16T13:29:24 < dongs> first 10 hits about "newcs" = piracy + illegal 2013-01-16T13:29:56 <+Steffanx> Cardsharing Server Yeah, but how illegal is that if you only use one machine :) 2013-01-16T13:31:29 <+Steffanx> It CAN be used for less legal stuff, yes 2013-01-16T13:31:44 < dongs> its never used for anything legal 2013-01-16T13:31:55 <+Steffanx> Nor is your internetconnection 2013-01-16T13:32:17 <+Steffanx> *neither or whatever 2013-01-16T13:33:50 <+Steffanx> Weird you never heard of that 'tool' btw. You are INTO stuff like that 2013-01-16T13:34:42 <+Steffanx> Anyway that smart card reader you showed is probably also only used in combination with cardsharing server software == illegal :P 2013-01-16T13:37:19 < baird> ha, found a place in NSW called "Giant Dyke Mountain". Can't imagine the traditional story behind that.. 2013-01-16T13:38:12 <+Steffanx> Geography isn't my thing.. NSW? 2013-01-16T13:38:35 < baird> New South Wales-- Bairdland. 2013-01-16T13:40:27 <+Steffanx> Blame the dutch for the word "dyke" baird :P 2013-01-16T13:40:56 <+Steffanx> never mind. 2013-01-16T13:41:20 <+Steffanx> BTW baird. My sources told me you are no longer the grandpa of ##stm32 2013-01-16T13:41:32 < baird> fffffuuuuuuuuu 2013-01-16T13:41:48 < baird> I'm getting another Commodore64 tomorrow, too. 2013-01-16T13:41:53 <+Steffanx> No fuck this guy who isn't here atm 2013-01-16T13:42:07 <+Steffanx> BJFreeman 2013-01-16T13:52:40 < dongs> Steffanx: i am NOT into tvfaggotpiracy 2013-01-16T13:53:32 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-16T13:54:03 -!- jef79m_lurking is now known as jef79m 2013-01-16T13:54:10 <+Steffanx> So your "record all crap i can record"-server is totally legal? 2013-01-16T13:54:11 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-16T13:54:30 < karlp> baird: that's just an alternative spelling of dike. 2013-01-16T13:55:13 < dongs> Steffanx: absolutely 2013-01-16T13:55:50 < dongs> there's liek 6 channels of off-air dtv and ~12 free sat hd channels. 2013-01-16T13:56:00 < dongs> i dont evne have a dish pointed to the paid shit 2013-01-16T13:56:13 < dongs> since its some DVB-S2 crap thaT i dont use or have harwdare for 2013-01-16T13:57:11 < baird> Why would they have a water-dam type dike/dyke on the top of a mountain.. Nope, must be the other kind. 2013-01-16T13:57:29 < dongs> Anchorage, AK, United States 01/15/2013 9:24 A.M.The scheduled connection was missed. 2013-01-16T13:57:33 <+Steffanx> baird go to 4chan with your dirty mind 2013-01-16T13:57:33 < dongs> .......... 2013-01-16T13:57:33 < dongs> what the FUCK DIGIKEY 2013-01-16T13:57:43 < karlp> baird: um, no, the other type :) 2013-01-16T13:57:50 < karlp> igneous intrusion 2013-01-16T13:58:13 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-16T13:59:34 <+Steffanx> Why they use THAT word for it? Dike/dike => dijk which is a 100% artificial/made by humans. Not some special things made by mother nature :( 2013-01-16T13:59:41 <+Steffanx> -a 2013-01-16T14:01:40 < baird> Curses, learning from Wikipedia again. The second time today. 2013-01-16T14:02:27 <+Steffanx> You mean.. "Curses, my dirty mind screws me again" 2013-01-16T14:05:10 < baird> Just a daily quest for stupid jokes. 2013-01-16T14:09:59 < baird> Picking this up tomorrow.. http://i.imgur.com/x4kBW.jpg 2013-01-16T14:10:35 <+Steffanx> Too waste money and space baird. :P 2013-01-16T14:11:03 <+Steffanx> oh, and don't forget time 2013-01-16T14:11:11 < baird> Number of decent games on the Raspberry Pi: 0 ... Number of games on the C64: 1,000s 2013-01-16T14:11:49 < karlp> yaryar "everything was better when I was younger" 2013-01-16T14:12:39 < baird> I'll be playing Thing on a Spring tomorrow, so fuck you. 2013-01-16T14:13:00 <+Steffanx> Number of PIs you need to play a 1080p movie over HDMI:1. Number of C64s required: ∞ 2013-01-16T14:13:43 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-16T14:13:52 <+Steffanx> Don 2013-01-16T14:13:55 <+Steffanx> t hurt your back 2013-01-16T14:15:46 < baird> The disk drives will come in handy for the VIC20, too. 2013-01-16T14:16:11 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-16T14:20:04 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-16T14:25:48 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-16T14:31:06 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-16T14:47:29 -!- dekar [~dekar@dslb-188-107-174-003.pools.arcor-ip.net] has joined ##stm32 2013-01-16T14:47:30 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-16T14:50:49 -!- _BJFreeman [~bjfree@189.sub-75-196-98.myvzw.com] has joined ##stm32 2013-01-16T14:51:07 -!- jef79m is now known as jef79m_lurking 2013-01-16T14:51:20 -!- _BJFreeman is now known as BJFreeman 2013-01-16T14:54:38 -!- dekar [~dekar@dslb-188-107-174-003.pools.arcor-ip.net] has quit [Ping timeout: 256 seconds] 2013-01-16T14:56:46 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-16T15:04:28 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-16T15:06:38 < dongs> l u n i x 2013-01-16T15:07:14 <+Steffanx> The x is fading away? 2013-01-16T15:07:27 <+Steffanx> ( or something like that ) 2013-01-16T15:12:33 <+Steffanx> Someone has to calm down flyback ? 2013-01-16T15:26:27 -!- dekar [~dekar@dslb-188-107-174-003.pools.arcor-ip.net] has joined ##stm32 2013-01-16T15:26:30 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-16T15:34:31 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-16T16:18:33 < karlp> heh, someone put an actual fuse on this board insteda of a PTC. good job. 2013-01-16T16:20:47 -!- dekar [~dekar@dslb-188-107-174-003.pools.arcor-ip.net] has quit [Ping timeout: 260 seconds] 2013-01-16T16:24:56 -!- dekar [~dekar@dslb-188-107-174-003.pools.arcor-ip.net] has joined ##stm32 2013-01-16T16:24:59 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-16T16:35:25 -!- dekar [~dekar@dslb-188-107-174-003.pools.arcor-ip.net] has quit [Ping timeout: 260 seconds] 2013-01-16T16:38:58 -!- dekar [~dekar@dslb-188-107-174-003.pools.arcor-ip.net] has joined ##stm32 2013-01-16T16:39:01 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-16T17:05:42 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-16T17:12:38 < Laurenceb> http://www.youtube.com/watch?v=m-gM7RY1swU 2013-01-16T17:13:48 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-16T17:14:57 < dongs> fail 2013-01-16T17:15:29 < emeb_mac> it had to happen 2013-01-16T17:17:15 <+Steffanx> I guess I'm not cool enough to see the fail 2013-01-16T17:19:52 < emeb_mac> few are 2013-01-16T17:20:30 < Laurenceb> http://s1.b3ta.com/host/creative/81693/1358182506/meccabingo.jpg 2013-01-16T17:21:44 <+Steffanx> Only funny when you know what this mecca bingo is 2013-01-16T17:21:53 <+Steffanx> And it seems to be a uklander thing 2013-01-16T17:21:57 <+Steffanx> bleh 2013-01-16T17:27:01 < Laurenceb> http://static.rcgroups.net/forums/attachments/7/8/0/7/6/a5286518-156-pcbfront_v000001.jpg 2013-01-16T17:27:04 < Laurenceb> lolzers 2013-01-16T17:27:20 -!- BJFreeman [~bjfree@189.sub-75-196-98.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-01-16T17:29:11 < emeb_mac> board not big enough 2013-01-16T17:29:25 < Laurenceb> heh 2013-01-16T17:29:51 <+Steffanx> Who cares about size when it's only a few bucks from seeed or itead :) 2013-01-16T17:31:30 -!- _BJFreeman [~bjfree@156.sub-75-233-63.myvzw.com] has joined ##stm32 2013-01-16T17:32:02 -!- _BJFreeman is now known as BJFreeman 2013-01-16T17:36:01 < emeb_mac> heck - make it 144sqin. mount the props on it. 2013-01-16T18:12:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-16T18:14:58 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-16T18:36:57 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-16T18:45:16 -!- samo_ [~samuel@LSt-Amand-152-32-4-40.w80-13.abo.wanadoo.fr] has joined ##stm32 2013-01-16T18:45:52 < samo_> hi, does anyone use uclinux on a stm3220g-eval board? 2013-01-16T18:49:21 < zyp> you mean like the appnote? 2013-01-16T18:50:01 < zyp> I haven't heard anything about anyone here running uclinux 2013-01-16T18:50:53 < emeb> ds2 was trying to get uclinux working - no idea how successful he was. 2013-01-16T18:51:19 < zyp> ah, yeah, ds2 has expressed an interest in uclinux 2013-01-16T18:53:26 -!- Claude is now known as claude 2013-01-16T18:58:09 < samo_> okay, thx. I will see with ds2 if he's here sometime 2013-01-16T18:58:43 < samo_> I have to go now... see you 2013-01-16T18:58:54 -!- samo_ [~samuel@LSt-Amand-152-32-4-40.w80-13.abo.wanadoo.fr] has quit [Quit: leaving] 2013-01-16T19:06:21 < jpa-> lots of sram to run an operating system that is not even real time :P 2013-01-16T19:06:39 < zyp> :p 2013-01-16T19:07:29 < zyp> ds2 was talking about how my lpc board could be a nice platform for that 2013-01-16T19:07:40 < zyp> considering it has 32M SDRAM and all 2013-01-16T19:08:17 < jpa-> yeah, though i still fail to see why not just go for carambola or build a similar one himself 2013-01-16T19:08:31 < jpa-> slightly smaller power usage perhaps 2013-01-16T19:09:18 < zyp> not sure if that's true if you count power/performance 2013-01-16T19:09:58 < jpa-> yeah.. for some reason the small linux boards don't seem to boast any particularly good power management 2013-01-16T19:10:16 < jpa-> otherwise they should be able to sleep over 90% of time 2013-01-16T19:10:32 < zyp> considering that lpc43xx doesn't have cache, it won't have very good performance executing from sdram 2013-01-16T19:11:21 < jpa-> i'm still very surprised that they don't have cache, considering that even stm32f4 has one 2013-01-16T19:12:34 < zyp> the cache in F4 only applies for the flash anyway, and won't speed up FSMC accesses 2013-01-16T19:13:25 < zyp> on the other hand, the sdram controller do have a bunch of read/write buffer 2013-01-16T19:13:57 < zyp> IIRC it was 16 buffers of 4 words, since sdram is accessed in 4-word bursts 2013-01-16T19:14:50 < zyp> but I don't think that can be compared to true I- and D-caches :p 2013-01-16T19:31:54 -!- daku is now known as DaKu 2013-01-16T19:34:24 < jpa-> hmm.. i wonder if seeed is actually going to pay the top prizes for the dso quad application competition... there were only two entries and the rules conveniently allow for possibility of "No entry is ranked under certain rating" 2013-01-16T19:38:29 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-16T19:42:11 -!- claude is now known as Claude 2013-01-16T19:48:44 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-16T20:01:46 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-01-16T20:06:12 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2013-01-16T20:08:54 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-16T20:25:42 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-16T20:28:33 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2013-01-16T20:29:12 -!- barthess [~barthess@178.154.58.59] has joined ##stm32 2013-01-16T20:29:51 -!- dan2003 [~quassel@cpc13-hitc6-2-0-cust40.9-2.cable.virginmedia.com] has joined ##stm32 2013-01-16T20:30:18 -!- dan2003 [~quassel@cpc13-hitc6-2-0-cust40.9-2.cable.virginmedia.com] has left ##stm32 [] 2013-01-16T20:55:25 < zippe> zyp: the M4 is slow enough, and it prefetches early enough, that I think it'll perform fine coming from SDRAM 2013-01-16T20:56:08 < zyp> I saw some numbers on lpc forum that indicated otherwise 2013-01-16T20:56:53 < zyp> but I'll do my own when I have the chance to 2013-01-16T20:59:16 -!- Claude is now known as claude 2013-01-16T21:04:00 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-16T21:13:43 < zippe> zyp: It's the PL176 2013-01-16T21:14:34 < zyp> according to the id registers, it is the PL172 2013-01-16T21:14:40 < zyp> (I checked) 2013-01-16T21:15:35 < zippe> weird 2013-01-16T21:16:09 < zippe> I confess I just assumed they were using the newer one 2013-01-16T21:16:29 -!- dekar [~dekar@dslb-188-107-174-003.pools.arcor-ip.net] has quit [Ping timeout: 252 seconds] 2013-01-16T21:17:00 < zippe> But it actually looks like the 172 has had more love recently 2013-01-16T21:18:01 < zippe> Hm. 84 cycles worst case latency 2013-01-16T21:18:03 < zippe> That's going to hurt 2013-01-16T21:20:23 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Ping timeout: 260 seconds] 2013-01-16T21:24:20 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-16T21:27:24 -!- Laurenceb_ [~Laurence@host86-179-83-205.range86-179.btcentralplus.com] has joined ##stm32 2013-01-16T21:49:36 <+Steffanx> emeb still quiet on the st forums .. no reaction yet? 2013-01-16T21:50:15 < emeb> Steffanx: I checked a little while ago. Looks like the guys at ST are just waiting for that post to scroll off the bottom. 2013-01-16T21:50:24 < emeb> Still no update to AN2606 either. 2013-01-16T21:51:08 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2013-01-16T21:51:14 <+Steffanx> I guess its hard to say "Yes you are right, we screwed up" 2013-01-16T21:54:15 < jpa-> you should bump it every now and then, ridiculing them in the process 2013-01-16T21:56:24 < zyp> maybe somebody else should throw in another post to show more interest for it as well as bump it ;) 2013-01-16T21:57:42 < jpa-> maybe dongs is trolling us all and there really is usb support hidden there somewhere ,) 2013-01-16T21:58:20 < zyp> nah, keep in mind I did the dumping of the bootloaders :p 2013-01-16T21:58:28 < zyp> or maybe I'm trolling you? :p 2013-01-16T21:58:35 < gxti> the USB DFU only works if you believe in magic. 2013-01-16T21:58:44 < jpa-> maybe you are all trying to troll me to look stupid on st forums 2013-01-16T21:58:49 < zyp> :D 2013-01-16T21:58:55 < jpa-> it would be the worst day of my life! :( 2013-01-16T21:58:58 <+Steffanx> They all use the black magic probe .. gxti 2013-01-16T21:59:14 < gxti> magic can't be probed, it's deep in your heart 2013-01-16T21:59:20 < gxti> if you tried you would probably die 2013-01-16T21:59:26 <+Steffanx> this is black magic remember 2013-01-16T21:59:52 -!- barthess [~barthess@178.154.58.59] has quit [Quit: Leaving.] 2013-01-16T22:00:37 < gxti> my BMP PCBs need to hurry up and get here 2013-01-16T22:05:24 < Laurenceb_> ive confirmed it now as well 2013-01-16T22:05:35 < Laurenceb_> looks like they screwed up on f373 2013-01-16T22:06:47 < jpa-> maybe now we will learn if there really is a procedure to reprogram the bootloader ,) 2013-01-16T22:07:01 < jpa-> (doubt it) 2013-01-16T22:07:42 <+Steffanx> Why not? 2013-01-16T22:09:34 < emeb> probably magic registers you have to hit prior to flashing system memory area. 2013-01-16T22:09:50 < emeb> and the magic is sekrit. 2013-01-16T22:10:18 < gxti> 0xb00b135 2013-01-16T22:10:22 < gxti> obviously 2013-01-16T22:11:00 < jpa-> "I am a key, wawawa" like for stlink? :) 2013-01-16T22:11:05 < emeb> heh 2013-01-16T22:11:18 < gxti> :D 2013-01-16T22:11:22 <+Steffanx> yeah, that key is wonderful jpa- :D 2013-01-16T22:12:07 < emeb> dongs spotted the F373 bootloader touching some undocumented locations - might be interesting to explore that area. 2013-01-16T22:12:10 < Laurenceb_> is at actually in flash? 2013-01-16T22:12:14 < Laurenceb_> the bootloader 2013-01-16T22:12:18 < emeb> probably 2013-01-16T22:12:31 < Laurenceb_> i was wondering if they used mask rom 2013-01-16T22:12:31 < emeb> not much point in putting actual ROM in these parts 2013-01-16T22:12:35 < Laurenceb_> yeah 2013-01-16T22:12:47 < emeb> since they already have flash - gives them more flexibility @ mfg time. 2013-01-16T22:13:24 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 264 seconds] 2013-01-16T22:18:51 < emeb> gxti: what did you do for BMP boards? 2013-01-16T22:19:13 < gxti> not much. redrew it in altium and cut out stuff i don't need. 2013-01-16T22:19:22 < emeb> cool 2013-01-16T22:19:27 < gxti> in the future i might make an isolated one, no idea how feasible that even is. 2013-01-16T22:19:43 < emeb> did you leave off the PFET for powering the target? 2013-01-16T22:19:46 < gxti> yes 2013-01-16T22:19:56 < gxti> and the dfu button, just a test point now 2013-01-16T22:20:39 < emeb> the dfu button comes in handy when updating firmware, but if you have the SWD brought out that's no biggie. 2013-01-16T22:23:08 < gxti> yeah, i really hope i don't need to debug this thing but if i do i can use the stlink 2013-01-16T22:23:33 < gxti> or most likely it'll be with some new or non-stm32 chips, in which case i can just build another one up and use it to debug the first one :p 2013-01-16T22:23:46 < gxti> i bought parts for 3 2013-01-16T22:24:15 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Remote host closed the connection] 2013-01-16T22:25:06 < zyp> I'm using the dfu button a lot when modifying the firmware 2013-01-16T22:26:15 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-16T22:28:19 < zyp> though, judging by the amount of times I had to reflash it to get it playing along with lpc4357 I should probably just have got out another and hooked it up to it :p 2013-01-16T22:34:25 < gxti> it's BMP all the way down 2013-01-16T22:34:41 < gxti> i do need to play with the DFU, never done it before. in fact, never done usb before. shocking. 2013-01-16T22:44:36 < zippe> zyp: Honestly I just can't see how to make sense of the 43xx 2013-01-16T22:44:45 < zippe> Either it has lots of flash but bugger-all fast RAM 2013-01-16T22:44:54 < zippe> Or it has plenty of RAM but nowhere to put your code. 2013-01-16T22:46:08 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-16T22:48:06 < zyp> except in that ram 2013-01-16T22:48:10 < gxti> plenty of RAM == somewhere to put your code 2013-01-16T22:48:13 < gxti> :P 2013-01-16T22:48:42 -!- dekar [~dekar@212.255.253.246] has joined ##stm32 2013-01-16T22:48:45 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-16T22:49:29 < karlp> just hope you never lose power. 2013-01-16T22:50:37 < gxti> external flash, silly 2013-01-16T22:50:47 < gxti> you know, like your PC. 2013-01-16T22:52:00 < gxti> spi flash, sd card, nand/nor if it's got the hardware for it. 2013-01-16T23:01:35 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-16T23:01:59 < badger> anyone know how to set the alternate function for PC6 on a F0? there is no GPIOC_AFR so I have no idea what to do! 2013-01-16T23:03:54 < Thorn> if I needed to find that out I'd look for a GPIO chapter in the reference manual 2013-01-16T23:06:03 < karlp> what sort of code are you trying to port? 2013-01-16T23:06:11 < karlp> are you looking at converting f1 code? 2013-01-16T23:06:52 < jpa-> talking about the same issue on #chibios, it seems the problem is that there are AFR tables for PORTA and PORTB, but not PORTC 2013-01-16T23:07:07 < jpa-> explanation is probably that as PORTC has only one AF per pin, there is no need for AFR 2013-01-16T23:07:53 < badger> I think that makes sense! 2013-01-16T23:14:48 < zippe> gxti: "plenty of RAM" = 264KiB. "lots of flash" = 1MiB 2013-01-16T23:15:08 < gxti> zippe: :p 2013-01-16T23:15:11 < zippe> Also, "plenty of RAM" becomes "not enough RAM" once your app eats it 2013-01-16T23:15:20 < gxti> yeah i was not entirely serious 2013-01-16T23:15:35 < zippe> ya 2013-01-16T23:39:54 < Laurenceb_> nice.... 2013-01-16T23:40:07 < Laurenceb_> povray is now averaging 1 line per 15minutes 2013-01-16T23:40:44 < Laurenceb_> this is going to take some time... 2013-01-16T23:48:20 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-16T23:48:58 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] --- Day changed Thu Jan 17 2013 2013-01-17T00:05:10 -!- DaKu is now known as daku 2013-01-17T00:05:17 -!- daku is now known as DaKu 2013-01-17T00:07:03 <+Steffanx> Time for some big ass render cluster Laurenceb_ :P 2013-01-17T00:07:18 < gxti> cluster of f4s 2013-01-17T00:07:31 <+Steffanx> No, PIs :P 2013-01-17T00:08:07 < baird> POVRay can't into parallel :/ .. Looked into it for the RPi cluster here. 2013-01-17T00:08:17 <+Steffanx> :S 2013-01-17T00:08:20 < gxti> -_- 2013-01-17T00:08:43 < gxti> some of the shit people are doing with rpi is totally mystifying 2013-01-17T00:11:17 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-17T00:11:19 < baird> Even more mystifying is why shit like Raspberry Pi MAME cabinets get like front-page attention on every RPi blog. 2013-01-17T00:11:25 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-17T00:12:07 < gxti> if it's an rpi blog i guess you deserve it 2013-01-17T00:12:25 < gxti> was bound to be full of useless crap from the start 2013-01-17T00:13:25 <+Steffanx> Some people complain about the rpi too much 2013-01-17T00:14:30 < gxti> i'm not complaining about the device :p 2013-01-17T00:14:39 <+Steffanx> + related crap 2013-01-17T00:27:18 < Laurenceb_> baird: not true 2013-01-17T00:27:31 < Laurenceb_> you can build 3.7beta 2013-01-17T00:27:36 < Laurenceb_> and itll do multicore 2013-01-17T00:27:51 < Laurenceb_> pity i didnt know that before starting this 2013-01-17T00:46:17 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-17T00:47:46 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-17T00:48:28 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-17T00:55:39 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-17T01:40:21 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-17T01:40:33 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-17T01:47:24 -!- DaKu is now known as daku 2013-01-17T01:54:43 -!- Laurenceb_ [~Laurence@host86-179-83-205.range86-179.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-17T02:10:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-17T02:14:13 < mervaka> goodie 2013-01-17T02:14:24 < mervaka> i get my NI sbRIO tomorrow or friday 2013-01-17T02:14:34 < mervaka> debug++ 2013-01-17T02:14:55 < emeb> sound I/O? 2013-01-17T02:15:21 < mervaka> labview thingy 2013-01-17T02:15:27 < emeb> aha 2013-01-17T02:15:32 < mervaka> rapid prototyping etc 2013-01-17T02:15:41 < mervaka> might be a pile of shite for all i know 2013-01-17T02:15:46 < mervaka> if so, i'll ebay it :) 2013-01-17T02:16:14 < emeb> looks expensive 2013-01-17T02:16:14 < mervaka> http://www.ni.com/singleboard/ 2013-01-17T02:16:29 < mervaka> yeah, just over £300 :s 2013-01-17T02:16:36 < mervaka> got strongarmed by my mates 2013-01-17T02:17:20 < emeb> never used NI stuff. More of a Matlab guy. 2013-01-17T02:23:49 <+Steffanx> labview … get out of here mervaka 2013-01-17T02:24:59 <+Steffanx> "rapid prototyping etc" <= with etc. you mean. And we also use it as final implementation 2013-01-17T02:25:12 <+Steffanx> As that is what happens with labview :P 2013-01-17T02:34:16 < mervaka> ive never used labview in my life 2013-01-17T02:34:19 < mervaka> so i'm open 2013-01-17T02:34:28 < mervaka> a couple of mates are all over it 2013-01-17T02:34:35 < mervaka> but i'm pretty neutral 2013-01-17T02:34:41 < mervaka> already a matlab fan 2013-01-17T02:34:45 < mervaka> wanna get into octave 2013-01-17T02:34:53 <+Steffanx> Drag and drop programming :D 2013-01-17T02:35:28 < mervaka> i'd be more interested in using it as a logic analyser 2013-01-17T02:35:38 < mervaka> so i can do stuff like chuck SPI into it 2013-01-17T02:35:42 < mervaka> and see what i get 2013-01-17T02:35:46 < mervaka> and graph the data 2013-01-17T02:35:47 < mervaka> etc 2013-01-17T02:37:28 < mervaka> anyway 2013-01-17T02:37:29 < mervaka> bed 2013-01-17T02:37:29 < mervaka> nn 2013-01-17T02:39:13 <+Steffanx> Yeah, me too : 2013-01-17T02:39:15 <+Steffanx> :) 2013-01-17T02:39:21 < zyp> *yawn* 2013-01-17T02:39:47 <+Steffanx> zyp needs no sleep 2013-01-17T02:39:53 < zyp> I'll chip in with a «me too» 2013-01-17T02:40:06 < zyp> even though I haven't been participating in the conversation tonight 2013-01-17T02:40:33 <+Steffanx> I can argue about that, but it's time to sleep 2013-01-17T02:40:34 <+Steffanx> gn 2013-01-17T02:44:44 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-17T02:58:22 < emeb> Lights out in euro-land... 2013-01-17T03:00:00 < dongs> hello bloggers 2013-01-17T03:00:09 < emeb> lights on in JP 2013-01-17T03:00:17 < dongs> ready2troll 2013-01-17T03:00:28 < emeb> vroom vroom 2013-01-17T03:06:08 < BJFreeman> I prefer to lake troll than saltwater 2013-01-17T03:15:40 < gxti> db-9 connectors are symmetrical. ask me how i know. 2013-01-17T03:16:40 < gxti> in totally unrelated news: no more soldering after 11pm... 2013-01-17T03:16:52 < emeb> drunk soldering is also fun 2013-01-17T03:24:33 < gxti> http://partiallystapled.com/~gxti/trash/2013/01/16-argh.jpg 2013-01-17T03:24:38 < gxti> yeah. 2013-01-17T03:26:19 < emeb> oops 2013-01-17T03:26:34 < emeb> which one is right? 2013-01-17T03:26:37 < dongs> cool blog post 2013-01-17T03:27:07 < gxti> the one on the right. 2013-01-17T03:29:45 -!- betovar1 [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has joined ##stm32 2013-01-17T03:30:33 -!- betovar [~Adium@adsl-98-64-29-167.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-17T03:32:27 -!- betovar1 [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has quit [Client Quit] 2013-01-17T03:39:10 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-17T03:40:37 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-17T04:05:58 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-17T04:12:31 -!- FransWillem [~fw@53533629.cm-6-4a.dynamic.ziggo.nl] has joined ##stm32 2013-01-17T04:23:21 < dongs> zyp: sleeping already? 2013-01-17T04:23:50 < emeb> think so 2013-01-17T04:23:56 < emeb> clocked out right before you joined. 2013-01-17T04:35:51 -!- Gargantuasauce_ [~Gargantua@blk-222-208-237.eastlink.ca] has quit [Read error: Operation timed out] 2013-01-17T04:53:50 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-17T05:08:15 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-17T05:10:12 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 248 seconds] 2013-01-17T05:45:50 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-17T05:57:02 -!- _BJFreeman [~bjfree@156.sub-75-233-63.myvzw.com] has joined ##stm32 2013-01-17T05:59:47 -!- BJFreeman [~bjfree@156.sub-75-233-63.myvzw.com] has quit [Ping timeout: 260 seconds] 2013-01-17T05:59:57 -!- _BJFreeman is now known as BJFreeman 2013-01-17T06:00:03 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-17T06:00:39 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 244 seconds] 2013-01-17T06:02:42 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-17T06:15:34 < emeb> heh - got a little audio scope running on the F373 breakout + LCD: http://www.youtube.com/watch?v=7DP4uyz-n7E 2013-01-17T06:25:13 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-17T06:27:52 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-17T06:35:27 -!- BJFreeman [~bjfree@156.sub-75-233-63.myvzw.com] has quit [Quit: had a good time] 2013-01-17T06:43:54 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-17T06:44:03 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-17T06:56:16 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-01-17T07:34:47 < dongs> terrible lunix quality 2013-01-17T07:35:04 < dongs> this fucking atmega shit is pissing me off. retarded datasheets with no info 2013-01-17T07:35:19 < dongs> UVCC : USB Pads Internal Regulator Input supply voltage. 2013-01-17T07:35:26 < dongs> the ONLY FUCKING MENTION of UVCC in ENTIRE DATASHEET. 2013-01-17T07:35:38 < dongs> when to apply it? on USB connect? before? after? is it needed if I dont use USB? 2013-01-17T07:35:45 < dongs> fucking retard atmel 2013-01-17T07:38:26 < emeb_mac> which part #? 2013-01-17T07:46:30 < dongs> mega32u4 2013-01-17T07:47:27 < dongs> http://www.freaklabsstore.com/pub/FL-CHIBI-DEV%20v1.1%20User%20Guide.pdf lol was googling and found this 2013-01-17T07:48:24 < dongs> haha dualcore craziness. 2013-01-17T07:48:32 < dongs> or wait waht 2013-01-17T07:48:35 < dongs> its just 2 footprints 2013-01-17T07:52:22 -!- claude is now known as Claude 2013-01-17T07:53:02 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-17T07:55:47 < emeb_mac> dongs: I've got a couple little breakouts with the 32u4 part. Haven't tried to do anything with them tho. 2013-01-17T07:58:57 < dongs> well, why would you, AVR sucks anyway. 2013-01-17T07:59:11 < dongs> fuckit im gonna connect UVCC + VBUS together and connect to USB's VBUS. 2013-01-17T07:59:20 < dongs> if thats not what atmel intended to do, fuckem because the datasheet is worthless. 2013-01-17T08:00:49 < emeb_mac> dongs: just get schematic for latest tarduino - they prolly show how to hook that chip up. 2013-01-17T08:00:58 < emeb_mac> since they use it for the serial ifc 2013-01-17T08:13:30 < dongs> ha ha ha 2013-01-17T08:13:35 < dongs> yea, latest tarduino does it wrong. 2013-01-17T08:14:44 < emeb_mac> oh? hilarious considering they're so lovey-dovey w/ Atmel. 2013-01-17T08:15:31 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 248 seconds] 2013-01-17T08:48:52 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-17T08:49:06 < Simon--> dongs: hrm.. figure 21-3 "typical bus powered application with 5V I/O" and around there has typical stuffs 2013-01-17T09:01:54 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-17T09:02:04 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-17T09:04:43 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-17T09:13:10 < fxd0h> hi guys, did any of you implement a spi slave on a cm3 recently? 2013-01-17T09:13:32 < zippe> It's been a while 2013-01-17T09:15:00 < fxd0h> I'm trying to figure out how to do it , I'm thinking in firing an ext-int to enable the spi interrupt and use a circular buffer , but any advice will be appreciated. 2013-01-17T09:22:33 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-17T09:23:18 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-17T09:28:17 < zippe> It depends on what you're trying to do 2013-01-17T09:28:37 < zippe> If you're trying to look like a SPI peripheral, then it'll depend on the protocol as well 2013-01-17T09:29:03 < zippe> e.g. normally, SPI peripherals take a register or a command on MOSI in the first byte(s), then return data on MISO immediately afterwards 2013-01-17T09:29:06 < zippe> That's very hard to do with a micro 2013-01-17T09:29:48 < zippe> Peripherals that are slow internally sometimes send a pad byte 2013-01-17T09:31:13 -!- Claude is now known as claude 2013-01-17T09:32:32 < zippe> If your protocol allows it, you can exploit that by leaving the pad byte in the SPI DR anytime you haven't set up DMA 2013-01-17T09:33:05 -!- dekar_ [~dekar@212.255.250.10] has joined ##stm32 2013-01-17T09:33:08 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-17T09:33:10 < zippe> so e.g. when idle, you have TX DMA disabled, RX DMA enabled to your command/data buffer, and the pad byte sitting in the TX DR 2013-01-17T09:36:35 < zippe> Depending on your chip / setup you may have to do something funky like use the RXNE interrupt to detect a conversation 2013-01-17T09:37:08 -!- dekar [~dekar@212.255.253.246] has quit [Ping timeout: 244 seconds] 2013-01-17T09:38:14 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-17T09:42:53 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-17T09:52:33 < fxd0h> basically a 100 pin m3 will be sending some commands to 8 different 64pin m3 micros acting as servo motor controllers (position speed etc) , spi seemed to be ok , I didn't measure the time for each controller to make a response so i was thinking in a simple spi protocol where the master sends a command waits a bit and then start sending dummy bytes until the slave finish sending the pre fixed data length 2013-01-17T09:54:25 < zyp> dongs, sup? 2013-01-17T09:56:11 < dongs> zyp, found in logs 2013-01-17T10:39:02 < zippe> fxd0h: you would be better off using single-wire serial 2013-01-17T10:39:16 < zippe> fxd0h: 9-bit mode will make it very easy 2013-01-17T10:39:27 < zippe> fxd0h: SPI is not at all a good choice 2013-01-17T10:39:47 < zippe> fxd0h: for micro-to-micro comms 2013-01-17T10:45:05 < dongs> hm, dualnfet pakcages cheaper than individual nfets 2013-01-17T10:45:17 < dongs> something cheap/shitty for ghetto level shifting 2013-01-17T10:46:04 < dongs> NTJD5121NT1G damn, like 2c/ea 2013-01-17T10:47:38 < fxd0h> zippe: no 1-wire hardware on stm32f1's and probably not fun to bit-bang it while running on an rtos 2013-01-17T10:47:50 < dongs> bitdong 2013-01-17T10:48:03 < dongs> fxd0h: he said, use usart, 9bit single wire mode 2013-01-17T10:48:39 < fxd0h> i run out of serial ports 2013-01-17T10:48:49 < dongs> also, what > some commands to 8 different 64pin m3 micros acting as servo motor controllers 2013-01-17T10:49:30 < dongs> is the m3 handling servo feedback and shit or are you just outputting like,,, pwm 2013-01-17T10:49:49 < fxd0h> closed loop pid + some more calculations 2013-01-17T10:50:03 < dongs> so one servo per chip? heh 2013-01-17T10:50:15 < fxd0h> circuit cellar. 2013-01-17T10:50:20 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-17T10:51:47 < fxd0h> I can reduce it at 4 uC , I'm using the timers as quadrature decoders 2013-01-17T10:54:41 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-17T10:57:02 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-01-17T10:57:53 -!- dekar_ [~dekar@212.255.250.10] has quit [Quit: This computer has gone to sleep] 2013-01-17T11:03:30 < zippe> fxd0h: er, you don't run out of serial ports 2013-01-17T11:03:42 < zippe> fxd0h: since you can hang more than one slave off a single port on the master 2013-01-17T11:03:54 < zippe> Unless your update rate is insane, you can probably do it with 1-2 ports on the master, total 2013-01-17T11:07:56 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Ping timeout: 245 seconds] 2013-01-17T11:18:28 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Ping timeout: 248 seconds] 2013-01-17T11:24:31 -!- NonaSuomy is now known as TeknoJuce 2013-01-17T11:31:52 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-17T11:36:30 -!- dekar [~dekar@studpool-wlan-75-130.fs.fbi.h-da.de] has joined ##stm32 2013-01-17T11:36:33 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-17T11:44:23 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-17T12:34:01 -!- Laurenceb_ [~Laurence@host86-179-83-205.range86-179.btcentralplus.com] has joined ##stm32 2013-01-17T12:47:10 -!- dekar [~dekar@studpool-wlan-75-130.fs.fbi.h-da.de] has quit [Quit: This computer has gone to sleep] 2013-01-17T12:48:16 < Laurenceb_> http://www.rathergood.com/thomas/ 2013-01-17T12:48:18 < Laurenceb_> booooooo 2013-01-17T12:52:27 < Tectu> can I make my GDB print all entries of an uint8_t array? 2013-01-17T12:57:20 < fxd0h> DMA did the trick , thanks zippe & dongs 2013-01-17T13:02:28 -!- Laurenceb_ [~Laurence@host86-179-83-205.range86-179.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-17T13:12:02 < karlp> if you're still looking for how to connect the atmel32u4, I'd follow pjrc's board design before I follow arduino's 2013-01-17T13:23:21 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-17T13:23:21 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-17T13:23:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-17T13:23:24 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-17T13:23:34 < zyp> is «how?» a question 2013-01-17T13:23:44 <+Steffanx> Ye 2013-01-17T13:23:54 < zyp> it's pretty well documented in the datasheet 2013-01-17T13:30:33 < karlp> well, he was complaining abotu the datasheet and uvcc. 2013-01-17T13:30:34 * karlp shrugs 2013-01-17T13:31:15 < zyp> my last avr project used 32u4 2013-01-17T13:35:04 -!- jef79m_lurking is now known as jef79m 2013-01-17T13:36:52 <+Steffanx> Such a bad experience that it was your last :P 2013-01-17T13:37:54 < zyp> apart from the lack of cpu power it weren't that bad 2013-01-17T13:38:18 <+Steffanx> You needed the power? 2013-01-17T13:38:28 <+Steffanx> You're talking about that uni project, not? 2013-01-17T13:38:33 < zyp> yep 2013-01-17T13:38:51 < zyp> the quaternion math use a fair amount 2013-01-17T13:39:15 < zyp> it would have benefited greatly from running on a F3 or something 2013-01-17T13:43:45 -!- claude is now known as Claude 2013-01-17T13:59:41 < dongs> < karlp> if you're still looking for how to connect the atmel32u4, I'd follow pjrc's board design before I follow arduino's 2013-01-17T13:59:46 < dongs> bur pjrc is a sellout/scammer 2013-01-17T14:01:33 < dongs> and his schema doesn't do what I want to do anyway 2013-01-17T14:02:11 < zyp> what do you want to do? 2013-01-17T14:02:18 < zyp> run it at 5V or 3.3V? :p 2013-01-17T14:02:45 < dongs> 5V, self-powered, but activate USB block when usb is plugged in, OR 5V, usb bus powered 2013-01-17T14:02:57 < dongs> but still working if its self-powered and usb pluged in. 2013-01-17T14:03:19 < dongs> so I guess just a bat54c between vbus/self-power going to vcc 2013-01-17T14:03:38 < zyp> yeah, that's probably fine 2013-01-17T14:04:05 < dongs> the UVCC shit has been bugging me but I decided finalyl to just put it on VBUS directly 2013-01-17T14:04:24 < zyp> uh, hang on 2013-01-17T14:04:31 < dongs> so when it sself-powered, no usb connected, USB stuff is turned off. 2013-01-17T14:06:13 < zyp> ah, uvcc is the input for the internal reg 2013-01-17T14:06:30 < dongs> right 2013-01-17T14:06:44 < dongs> some forum faggots said it was *output* a nd that you could use 'up to 10mA of 3.3V from it". 2013-01-17T14:06:48 < dongs> fucking blind leading the blind. 2013-01-17T14:06:55 < zyp> ucap is the output 2013-01-17T14:06:59 < zyp> uvcc is the input 2013-01-17T14:07:20 < zyp> you can also leave uvcc disconnected and feed 3.3V directly to ucap 2013-01-17T14:07:35 < zyp> that's what I did since I run it at 3.3V 2013-01-17T14:07:49 < dongs> yea this shit needs to be 16 2013-01-17T14:07:52 < dongs> mhz 2013-01-17T14:07:55 < zyp> but just look up 21.3 in datasheet 2013-01-17T14:07:57 < dongs> http://i.imgur.com/SGD8X.png 2013-01-17T14:08:09 < dongs> I saw that 2013-01-17T14:08:15 < dongs> those exampels are retarded 2013-01-17T14:08:39 < zyp> I suggest something like figure 21-5 2013-01-17T14:09:19 < zyp> except with the bat54c between 5v input, vbus and vcc 2013-01-17T14:09:26 < dongs> thats what I got, except i could also be bus-powered 2013-01-17T14:09:40 < dongs> i guess there's no way to do 5V core and 3.3V io? 2013-01-17T14:09:46 < dongs> fucking retarded atmel trash 2013-01-17T14:10:02 < zyp> anyway, leave uvcc connected to vcc and not vbus 2013-01-17T14:10:22 < dongs> ? 2013-01-17T14:10:28 < dongs> i dont think so 2013-01-17T14:10:50 < zyp> see figure 21-5, uvcc is still powered when vbus is not present 2013-01-17T14:11:04 < zyp> so I assume it's a bad idea to not power usb block when rest of chip is powered 2013-01-17T14:11:14 < dongs> hmmm 2013-01-17T14:11:28 < dongs> i did have it like that before 2013-01-17T14:11:31 < dongs> fine, ill put that back on 2013-01-17T14:13:46 < dongs> so just vbus toggling on plug-in 2013-01-17T14:13:51 < dongs> since apparnetly that can do interrupt 2013-01-17T14:13:55 < dongs> of like "shit connected" 2013-01-17T14:14:09 < dongs> wiht diode, plugging in vbus only makes vcc for * 2013-01-17T14:14:26 < dongs> else, extvcc powers the rest minus vbus port 2013-01-17T14:14:30 < zyp> yeah 2013-01-17T14:26:37 < dongs> apparently avrturd has a "trimmed rc" that actually goes within usb spec 2013-01-17T14:26:53 < dongs> oh, low-speed 2013-01-17T14:27:09 < zyp> periph only does high-speed 2013-01-17T14:27:49 -!- jef79m is now known as jef79m_lurking 2013-01-17T14:27:54 < dongs> wut 2013-01-17T14:27:59 < dongs> avrturd doesnt do highspeed 2013-01-17T14:28:19 < dongs> To reduce external components count and BOM cost, the USB module can be configured to 2013-01-17T14:28:23 < dongs> operate in low-speed mode with internal RC oscillator as input source clock for the PLL. The 2013-01-17T14:28:26 < dongs> internal RC oscillator is factory calibrated to satisfy the USB low speed frequency accuracy 2013-01-17T14:28:30 < dongs> For USB full-speed operation only external crystal oscillator or external source clock can be 2013-01-17T14:28:33 < dongs> used. 2013-01-17T14:29:05 < zyp> sorry, fyll-speed. 2013-01-17T14:29:07 < zyp> full* 2013-01-17T14:29:12 < zyp> hmm 2013-01-17T14:29:14 < zyp> oh 2013-01-17T14:29:21 < zyp> I thought it was FS only 2013-01-17T14:29:38 < zyp> this is 32u4? 2013-01-17T14:29:52 < zyp> ah, right, yes 2013-01-17T14:30:39 < dongs> right 2013-01-17T14:30:47 < zyp> that's probably nice, for some purposes 2013-01-17T14:33:35 -!- jef79m_lurking is now known as jef79m 2013-01-17T14:38:56 <+Steffanx> Laurenceb probably read this already but .. http://deadspin.com/5976517/manti-teos-dead-girlfriend-the-most-heartbreaking-and-inspirational-story-of-the-college-football-season-is-a-hoax 2013-01-17T14:38:58 <+Steffanx> beat that Laurenceb 2013-01-17T14:40:08 < dongs> Manti Te'o did lose his grandmother this past fall. Annette Santiago died on Sept. 11, 2012, at the age of 72 2013-01-17T14:40:13 < dongs> sept11, perfect troll date 2013-01-17T14:40:46 < Laurenceb> tl;dr 2013-01-17T14:40:50 < dongs> indeed 2013-01-17T14:40:52 < dongs> also: football 2013-01-17T14:40:54 < dongs> so who cares 2013-01-17T14:40:59 < dongs> amirite 2013-01-17T14:41:10 <+Steffanx> The title is enough Laurenceb 2013-01-17T14:41:11 < Laurenceb> yup 2013-01-17T14:41:13 < dongs> We also know that Te'o is a devout Mormon. When asked why he picked Notre Dame over Southern California, the school he had supported while growing up in Hawaii, he said he prayed on it. "Faith," he told ESPN, "is believing in something that you most likely can't see, but you believe to be true. 2013-01-17T14:41:18 < dongs> like whaaaaaaaaaaat 2013-01-17T14:41:25 < Laurenceb> in other news wtf 2013-01-17T14:41:37 < Laurenceb> 22:50:16 Rendering line 188 of 800, 12278 supersamples 2013-01-17T14:41:52 <+Steffanx> Get 2013-01-17T14:41:53 <+Steffanx> a 2013-01-17T14:41:55 < Laurenceb> i think i screwed the config 2013-01-17T14:41:55 <+Steffanx> faster computer 2013-01-17T14:42:11 <+Steffanx> or don't try to render a 100000x100000px frame 2013-01-17T14:42:19 < Laurenceb> heh 2013-01-17T14:42:24 < Laurenceb> im rendering at 2k 4k 2013-01-17T14:42:35 <+Steffanx> one a rpi 2013-01-17T14:42:40 <+Steffanx> *-e 2013-01-17T14:42:41 < Laurenceb> and its a crumpled plastic bag 2013-01-17T14:42:50 < Laurenceb> transparent 2013-01-17T14:43:08 <+Steffanx> Show the low resolution one :) 2013-01-17T14:44:12 < dongs> Wow. All of these Catholics are crazy upset about Lennay not being real. You can only imagine the kind of shitstorm it's going to be when they finally find out about Jesus. 2013-01-17T14:44:15 < dongs> haha 2013-01-17T14:44:58 < Laurenceb> Single-chip IPAD™ solution filters and protects NFC-based smartphone applications 2013-01-17T14:45:02 < Laurenceb> lol ST 2013-01-17T14:45:04 < dongs> old 2013-01-17T14:45:13 <+Steffanx> The internet will go crazy when we find out you are a hoax dongs 2013-01-17T14:45:31 < dongs> lolol 2013-01-17T14:45:46 < dongs> Laurenceb: did you just get spam from ST 2013-01-17T14:45:55 < dongs> Single-chip IPAD™ solution filters and protects NFC-based smartphone applications 2013-01-17T14:45:58 < dongs> yep 2013-01-17T14:46:16 < dongs> http://www.st.com/internet/analog/product/255244.jsp this looks legit 2013-01-17T14:46:52 -!- zyp [zyp@zyp.im] has quit [Read error: Operation timed out] 2013-01-17T14:47:00 -!- zyp [zyp@zyp.im] has joined ##stm32 2013-01-17T14:47:04 <+Steffanx> Ultralarge bandwidth: 8.7 GHz .. my pcb design skillz aren't good enough 2013-01-17T14:47:05 <+Steffanx> for that 2013-01-17T14:47:12 <+Steffanx> wb zyp 2013-01-17T14:47:37 < dongs> ultralarge dongwidth 2013-01-17T14:47:51 <+Steffanx> japanse standard .. 2013-01-17T14:47:54 <+Steffanx> *japanese 2013-01-17T14:48:28 < dongs> http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/DM00066230.pdf 2013-01-17T14:48:32 < dongs> awesome datasheet 2013-01-17T14:48:39 < dongs> IO1..4 goes in, where does it go out? 2013-01-17T14:48:57 < dongs> oh, i see what they did there 2013-01-17T14:49:05 < dongs> its just like extra TVS diodes or wahtever/ 2013-01-17T14:55:50 <+Steffanx> ST needs more Laurenceb 2013-01-17T14:56:02 <+Steffanx> "Display Port" <= "DisplayPort" 2013-01-17T15:03:28 -!- jef79m is now known as jef79m_lurking 2013-01-17T15:28:37 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-17T15:30:39 < dongs> http://i.imgur.com/LpnWW.jpg apparently i can have intel gpu enabled together with external video card... 2013-01-17T15:30:45 < dongs> now i can has 6 monitors hooked up to this thing 2013-01-17T15:30:59 < dongs> though maybe only 5 cause intel shite only supports any 2 digital ports 2013-01-17T15:35:23 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has joined ##stm32 2013-01-17T15:35:26 < manuel> hi ppl 2013-01-17T15:38:08 <+Steffanx> Hi other people 2013-01-17T15:38:46 < manuel> hey steffanx, you used to hang out in #avr right? 2013-01-17T15:39:10 <+Steffanx> And you are ruinwesen manuel? 2013-01-17T15:39:18 < manuel> yep 2013-01-17T15:40:29 <+Steffanx> Hi :) 2013-01-17T15:40:31 < zyp> are you here about the grudge? 2013-01-17T15:40:45 < zyp> Steffanx was just talking about all the people that holds a grudge towards him 2013-01-17T15:40:46 < manuel> hi :) 2013-01-17T15:40:52 < manuel> yeah, i hired a hitman 2013-01-17T15:43:04 < zyp> dongs, by the way, what's status on the displayport board? 2013-01-17T15:43:33 < zyp> I'm also temted to get a third monitor in that fashion 2013-01-17T15:46:35 < dongs> pending, need to unlazy and get it done 2013-01-17T15:46:53 < dongs> wanna find a 6ch backlight driver on digikey? 2013-01-17T15:47:20 < dongs> <= 5V in, 18V out, pwm dimmable 2013-01-17T15:47:58 < zyp> hmm, is the backlight low-power enough to be able to be powered by usb? 2013-01-17T15:48:28 < dongs> yes 2013-01-17T15:49:15 <+Steffanx> So what brings you here manuel ? 2013-01-17T15:49:28 < manuel> working on an stm32f103 project 2013-01-17T15:49:38 < manuel> but i'm going to read up a bit before asking stupid questions 2013-01-17T15:49:53 < manuel> or maybe why not, i have a bootloader that checks if a button is pressed on startup, else it goes to main program 2013-01-17T15:50:02 < manuel> but i want to drop to the bootloader and skip that button check from the main program 2013-01-17T15:50:19 < zyp> usb bootloader? 2013-01-17T15:50:41 < manuel> yeah 2013-01-17T15:52:24 < dongs> jump tyo bootloader is easy 2013-01-17T15:52:30 < dongs> oh, youre using some custom shit 2013-01-17T15:52:33 < dongs> why not just use rom bootloader? 2013-01-17T15:53:01 < manuel> custom board i guess, i don't know, that's what i'm dealing with 2013-01-17T15:53:07 < manuel> yeah jump to bootloader i just issue a reset interrupt 2013-01-17T15:53:17 < manuel> but i want to skip that button check / pass over information to the bootloader 2013-01-17T15:53:21 < manuel> i just started to rtfm though 2013-01-17T15:53:30 < zyp> dongs, F1 ROM bootloader doesn't support USB 2013-01-17T15:53:36 < karlp> you can use the "backup registers" to save some magic bytes 2013-01-17T15:53:52 < dongs> zyp: yea 2013-01-17T15:53:59 < manuel> karlp: thx, reading up 2013-01-17T15:57:47 < manuel> karlp: perfect 2013-01-17T16:01:50 < dongs> http://www.toshiba-components.com/mobile/camerabridge.html 2013-01-17T16:01:51 < dongs> ha 2013-01-17T16:01:55 < dongs> zyp, you know anythin about that shit 2013-01-17T16:02:14 < dongs> TC358743XBG 2013-01-17T16:04:03 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-01-17T16:04:55 < zyp> dongs, nah 2013-01-17T16:05:00 < zyp> what are you wondering about? 2013-01-17T16:05:24 < zyp> huh, HDMI to MIPI CSI 2013-01-17T16:05:53 < qyx_> dongs: is that your hedmi dp converter on the picture? 2013-01-17T16:05:56 < qyx_> -e 2013-01-17T16:07:20 < dongs> qyx_: no thats dp only. but hdmi is on the way 2013-01-17T16:07:28 < dongs> zyp: yeah, that exactly 2013-01-17T16:07:33 < dongs> assdroid hdmi capture. 2013-01-17T16:08:06 < zyp> probably useful if you insist on getting hdmi into some shit that already has a csi receiver, useless otherwise :p 2013-01-17T16:08:21 < dongs> like just about any soc 2013-01-17T16:08:56 < zyp> rpi crowd would probably be all over it if you made a hdmi capture card for rpi :p 2013-01-17T16:09:01 < dongs> haha 2013-01-17T16:09:03 < dongs> o fuck 2013-01-17T16:09:09 < dongs> blogging: now 2013-01-17T16:15:14 < zyp> dongs, http://www.digikey.com/product-detail/en/LP8545SQE%2FNOPB/296-35212-1-ND/3738923 <- this led driver seems usable 2013-01-17T16:15:45 < dongs> wow. 2013-01-17T16:15:47 < dongs> that rocks. 2013-01-17T16:17:05 <+Steffanx> tarduino.cc .. still no posts 2013-01-17T16:17:34 < dongs> zyp, saved 2013-01-17T16:19:08 < dongs> zyp, getting samples of that csi chip. 2013-01-17T16:19:13 < dongs> rapeberrypi, here i fucking come 2013-01-17T16:19:18 < dongs> gonna get filthy rich. 2013-01-17T16:19:19 < dongs> (again) 2013-01-17T16:19:27 < zyp> heh 2013-01-17T16:19:40 < karlp> is CSI the camera interface that's on the rpi? 2013-01-17T16:19:43 < dongs> yes 2013-01-17T16:19:44 < zyp> yes 2013-01-17T16:19:48 <+Steffanx> what about a ks project dongs? 2013-01-17T16:20:00 < dongs> dickstarter first, never deliver? 2013-01-17T16:20:01 < dongs> soudns good. 2013-01-17T16:22:58 < zyp> wonder if it's actually able to handle typical hdmi resolutions though 2013-01-17T16:23:10 < dongs> huh? it = toshiba chip? 2013-01-17T16:23:11 < dongs> or shitberry 2013-01-17T16:23:16 < zyp> rpi 2013-01-17T16:23:17 < dongs> it supports up to 60p1080 2013-01-17T16:23:18 < dongs> oh 2013-01-17T16:23:19 < dongs> who cares 2013-01-17T16:23:25 < dongs> it doesnt actually have to work . 2013-01-17T16:24:15 < zyp> even if it does work it's probably not fast enough to do anything useful with the data :p 2013-01-17T16:24:56 < dongs> damn zyp that driver is amazing 2013-01-17T16:25:43 < zyp> seems to be pretty much a boost controller and a sink driver in one chip 2013-01-17T16:26:34 < zyp> ah, apart from the adaptive boost voltage control 2013-01-17T16:27:12 < zyp> so it reduces sink losses by reducing source voltage 2013-01-17T16:30:07 < dongs> Typical Application for Low Input Voltage 2013-01-17T16:30:09 < dongs> i guess i do this 2013-01-17T16:30:23 < dongs> 5V_USB to both VLDO/VIN/VBAT 2013-01-17T16:31:05 < zyp> how much power does the backlight require? 2013-01-17T16:31:09 < dongs> right now 2013-01-17T16:31:15 < dongs> its using 0.09A @ 18.6V 2013-01-17T16:31:17 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2013-01-17T16:31:19 < dongs> accorfding to my power supply 2013-01-17T16:31:22 < dongs> which adds 0.02A at idle 2013-01-17T16:31:24 < dongs> so 0.07A 2013-01-17T16:31:40 -!- SuicideFunky [~randy@ssh.xor-gate.org] has joined ##stm32 2013-01-17T16:31:40 <+Steffanx> Time to get a new one 2013-01-17T16:32:05 < zyp> so we're talking 1.7W for the backlight 2013-01-17T16:32:10 < zyp> then what about the panel? 2013-01-17T16:32:24 < dongs> < 100mA 2013-01-17T16:32:36 < zyp> good 2013-01-17T16:33:14 < zyp> sounds like it'll fit nicely within usb spec then, atleast without the hdmi interface chips 2013-01-17T16:33:27 < dongs> oh heh, the F4 ts/radio stuff I was working on last year is shipping now 2013-01-17T16:35:51 < zyp> I would be interested in a simple board with dp and usb inputs, backlight controller and maybe an stm32 to control backlight over usb 2013-01-17T16:35:57 < dongs> ya 2013-01-17T16:36:00 < dongs> thats what im doing 2013-01-17T16:36:44 < dongs> http://i.imgur.com/cP5xi.jpg -> http://www.sknet-web.co.jp/product/r1fa/index.html 2013-01-17T16:37:11 < zyp> would be great to be able to make it small enough that I can throw it in a bag along with my laptop, to have a portable extra display for it 2013-01-17T16:38:15 < gxti> dongs: nice keyboard. 2013-01-17T16:39:59 < zyp> dongs, ah, it's a 1seg radio? 2013-01-17T16:40:10 < dongs> 1seg TV audio receiver :d 2013-01-17T16:40:16 < dongs> kinda cheating. 2013-01-17T16:40:29 < dongs> like oldskool analog radios that picked up VHF TV. 2013-01-17T16:42:39 <+Steffanx> dongs you did the hw design too? 2013-01-17T16:43:42 < dongs> yeah, i did initial design + firmware bring up 2013-01-17T16:44:20 < karlp> what tv channels do people want to listen to just the audio from? 2013-01-17T16:44:27 < dongs> shrug 2013-01-17T16:44:33 < dongs> news? and shit 2013-01-17T16:45:09 < baird> Any idea of how the plastic casing moulding was done? "Anonymous guys in China"? 2013-01-17T16:45:28 < dongs> taiwan, but its nothing special 2013-01-17T16:47:40 < dongs> bedtime 2013-01-17T16:47:54 <+Steffanx> gn 2013-01-17T16:48:55 < dongs> haha 2013-01-17T16:48:56 < dongs> (DRC doesn't fucking work, every single board I've seen laid out with kicad has shit shorted out in the layout, requiring surgery) 2013-01-17T16:49:07 < baird> I expect that plastic product mouldings are the same kind of industry as pcb production.. Maybe more in initial setup cost, though. 2013-01-17T16:49:14 < dongs> baird: it is 2013-01-17T16:49:41 < gxti> in the same sense that milling bar stock into dildos is the same kind of industry 2013-01-17T16:49:49 < dongs> yeah high initial cost, cases are usaully designed so they can be reused later for other products 2013-01-17T16:50:10 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-17T16:50:13 < dongs> anyhow why am i still here. bloggin out 2013-01-17T16:54:35 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] 2013-01-17T16:54:47 < dongs> retweet while brushing teeth 2013-01-17T16:54:47 < dongs> > the open sores mentality is not to create shit that works 2013-01-17T16:54:47 < dongs> > it's just to create shit 2013-01-17T16:55:44 < baird> manblog: made an emergency run to the local supermarket this evening before it closed, and when I return to the carpark, there were 5 guys desperately trying to get inside their car after leaving the keys inside and the engine running (and the place about to close, with a $100 'call-out' fee for lock-ins). Luckily, I managed to use some parts from the CT110 (nylon cable tie, tie-down strap) to get at the door lock and open the 2013-01-17T16:55:46 < baird> door for them.. 2013-01-17T16:56:52 < Laurenceb> http://uk.farnell.com/freescale-semiconductor/mcimx6q-sl/board-dev-imx6-sabre-lite/dp/2124398?Ntt=MCIMX6&ICID=i-DEVk-design01 2013-01-17T16:58:14 < baird> A gigabyte of RAM ,even. 2013-01-17T16:58:42 -!- bsdfox\ [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has joined ##stm32 2013-01-17T16:59:07 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-17T17:01:03 < BrainDamage> afterwards he spent a night in jail for gullibly helping strangers to jack a car while the judge was deciding whenever to believe it was an incredibly lame alibi or genuine gullibility 2013-01-17T17:01:16 <+Steffanx> :P :D 2013-01-17T17:01:54 < baird> Seems to want up to 20 watts, though. ick. 2013-01-17T17:02:05 -!- scrts_ [~quassel@2a01:348:70:46:17:57:19:0] has joined ##stm32 2013-01-17T17:03:12 < manuel> karlp: bkp regs work perfectly, thanks! 2013-01-17T17:06:48 -!- daku is now known as DaKu 2013-01-17T17:07:48 -!- Netsplit *.net <-> *.split quits: upgrdman, scrts, bsdfox_ 2013-01-17T17:10:33 < gxti> BrainDamage: with the car running? impressive. 2013-01-17T17:11:33 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-01-17T17:11:34 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-01-17T17:11:34 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-17T17:11:56 < BrainDamage> gxti: the real owner could've gone away seeking help 2013-01-17T17:12:23 < gxti> k, enjoy your paranoia 2013-01-17T17:15:35 < BrainDamage> paranoia? it was a joke 2013-01-17T17:16:51 < manuel> there is a fine line between mental disorder and humor 2013-01-17T17:17:13 < karlp> there'sa line? 2013-01-17T17:17:24 < gxti> in theory, but we're all so far over it's not important 2013-01-17T17:17:58 < manuel> mental disorder is not always funny 2013-01-17T17:20:03 < qyx_> it depends 2013-01-17T17:20:40 < qyx_> not for us but these people hardly realize it 2013-01-17T17:21:32 < qyx_> they don't understand us like we don't understand them 2013-01-17T17:21:46 < manuel> haha 2013-01-17T17:24:40 <+Steffanx> baird is just too good for this world 2013-01-17T17:25:24 < baird> The word "genius" was used. :D 2013-01-17T17:25:45 <+Steffanx> And THAT is too good for baird :P 2013-01-17T17:26:41 <+Steffanx> *too much 2013-01-17T17:27:24 < baird> I expect it was the Australian outback traveller mode kicking in; the always helping people out when they've broken-down 300 kms from the nearest town.. 2013-01-17T17:28:56 < baird> A year and a bit ago, I was riding the 110cc Postie back from the North coast of New South Wales, when a Harley was on the side of the road with a flat. You betcha he accepted a flat-repair kit from a tiny motorbike rider. :) 2013-01-17T17:30:08 < gxti> not all harley riders are loud assholes, just a significant fraction 2013-01-17T17:30:16 <+Steffanx> SUUURE 2013-01-17T17:30:47 <+Steffanx> You must be a harley rider :P 2013-01-17T17:31:04 < gxti> i don't have a bike but C for effort 2013-01-17T17:31:33 <+Steffanx> Whatever "C for effort" means :) 2013-01-17T17:32:50 < baird> Some models of HD take a 3 hour service just to replace a rear tire or wheel, since there's so much junk that needs to come off first. $$$$. 2013-01-17T17:33:26 < baird> My scoot on the other hand is a $25 job + $60 tire 2013-01-17T17:33:47 < baird> (..and the postie is like a push-bike, which I do myself) 2013-01-17T17:35:14 < BrainDamage> just strap a valveless pulsejet engine, and it'll move regardless of wheels condition 2013-01-17T17:36:41 <+Steffanx> A bike will move too.. 2013-01-17T17:36:55 <+Steffanx> Unless you have wheels anymore of course 2013-01-17T17:39:29 < karlp> what was the trick people were talking about not being able to rpogram blank chips with texane/stlink? 2013-01-17T17:39:56 < baird> There was an old Australian TV show called "Bush Mechanics", and in one episode they managed to completely rip the front axel off the car-- so they chopped down a tree, and made the front of the car like a sled. It got them home. :) 2013-01-17T17:40:56 < karlp> bush mechanics was awesome 2013-01-17T17:43:53 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2013-01-17T17:56:53 -!- KennyMcCormic [~Kenny@95.139.249.211] has joined ##stm32 2013-01-17T17:57:23 < KennyMcCormic> hi guys 2013-01-17T17:57:57 <+Steffanx> Lo you 2013-01-17T17:58:24 < KennyMcCormic> anyone with stm32 experience? :) 2013-01-17T17:58:31 < gxti> here? no 2013-01-17T17:58:36 < gxti> we all use arduino 2013-01-17T17:58:41 <+Steffanx> and rpis 2013-01-17T17:58:52 < KennyMcCormic> :) 2013-01-17T17:59:08 < baird> The channel's for single tranny males over the age of 32. 2013-01-17T17:59:08 <+Steffanx> This channel is called ##stm32 for a reason KennyMcCormic 2013-01-17T17:59:38 < KennyMcCormic> oic 2013-01-17T17:59:38 <+Steffanx> Uhm, IM NOT OVER 32 baird 2013-01-17T17:59:46 < baird> GET OUT, then. 2013-01-17T17:59:56 <+Steffanx> /kick baird 2013-01-17T18:00:00 < KennyMcCormic> im stuck with timer on f100 2013-01-17T18:00:15 < baird> Steffanx: you probably want ##stm16 :P 2013-01-17T18:00:18 < KennyMcCormic> timer15 to be exact 2013-01-17T18:00:38 < KennyMcCormic> it has break input which i want to use to limit pwm duty 2013-01-17T18:01:53 < KennyMcCormic> but the input for break i have can only provide low level when there is actual event of overload, 2013-01-17T18:02:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-01-17T18:03:03 < KennyMcCormic> so once it happens break signal stops pwm output and it is not possible to reenable it using auto enable 2013-01-17T18:03:07 < zyp> timer15? 2013-01-17T18:03:12 < KennyMcCormic> yes 2013-01-17T18:03:17 < zyp> doesn't the F1 only have up to 14 timers? 2013-01-17T18:03:53 < KennyMcCormic> have no idea but in f100 there are t 1 2345 13 14 15 etc 2013-01-17T18:03:57 < KennyMcCormic> with gaps 2013-01-17T18:04:05 < zyp> uh 2013-01-17T18:04:30 < Laurenceb> lulwut 2013-01-17T18:04:42 < zyp> not according to RM0008 2013-01-17T18:05:07 < KennyMcCormic> ? 2013-01-17T18:05:30 < KennyMcCormic> im using rm041 2013-01-17T18:05:30 < zyp> RM0008 is the F1 reference manual 2013-01-17T18:05:49 < zyp> oh 2013-01-17T18:05:51 < zyp> my bad 2013-01-17T18:06:04 < zyp> F100 actually has a seperate reference manual 2013-01-17T18:06:11 < zyp> didn't realize that 2013-01-17T18:06:16 < zyp> I've only used F103 2013-01-17T18:06:38 < KennyMcCormic> :) 2013-01-17T18:07:04 < KennyMcCormic> anyway, 103 uses same timers 2013-01-17T18:07:19 < zyp> no big deal, I pulled up RM0041 now 2013-01-17T18:07:29 < zyp> so, what exactly is the problem you need to solve? 2013-01-17T18:07:56 < KennyMcCormic> i need to limit pwm on t15 once external event happens 2013-01-17T18:08:21 < zyp> and what doesn't work with the solution you currently have? 2013-01-17T18:08:54 < KennyMcCormic> i have a signal but have no idea how to use it 2013-01-17T18:08:56 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-17T18:09:22 < KennyMcCormic> for now pwm is just what i set in ocr 2013-01-17T18:10:35 < KennyMcCormic> i need to reset pwm output once external signal turns low 2013-01-17T18:11:13 < zyp> reset as in completely turn it off, or turn it back to a safe value? 2013-01-17T18:11:20 < KennyMcCormic> this signal is AND combination with pwm output, so once pwm is low 2013-01-17T18:11:25 < KennyMcCormic> signal is also low 2013-01-17T18:12:22 < KennyMcCormic> so if using break input of the timer 2013-01-17T18:12:31 < KennyMcCormic> because it is low next period 2013-01-17T18:12:40 < KennyMcCormic> it can not reenable output 2013-01-17T18:12:56 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-17T18:12:59 < zyp> oh, right 2013-01-17T18:12:59 < Laurenceb> look at slave modes 2013-01-17T18:13:43 < zyp> so normally the signal will toggle along with the pwm output, and you need to only care about it when the output signal is high? 2013-01-17T18:13:52 < KennyMcCormic> yes 2013-01-17T18:14:01 < zyp> ouch 2013-01-17T18:14:33 < zyp> how fast is the pwm rate, and how fast response to this signal do you need? 2013-01-17T18:15:14 < KennyMcCormic> 100k pwm , faster than 500ns 2013-01-17T18:16:39 < zyp> because I don't think you can solve this in hardware, so you might need to set the timer to trigger an interrupt when the pwm output is high, then sample the signal and respond to it if required 2013-01-17T18:17:05 < KennyMcCormic> hm, not exactly my case 2013-01-17T18:17:14 < KennyMcCormic> the schematics is like this 2013-01-17T18:17:30 < KennyMcCormic> pwm output - resistor - output 2013-01-17T18:17:51 < KennyMcCormic> there is a comparator with oc 2013-01-17T18:17:57 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-17T18:18:01 < KennyMcCormic> in parallel with output node 2013-01-17T18:18:20 < KennyMcCormic> and output node is routed back to block input of the timer 2013-01-17T18:18:38 < zyp> got a drawing of this? 2013-01-17T18:19:20 < KennyMcCormic> so it is sort of instant reaction for the output, just need to disable pwm because comparator is not latching at low level 2013-01-17T18:19:44 < KennyMcCormic> 1min, will create a picture 2013-01-17T18:22:14 < zyp> sounds like you have to solve this with external logic 2013-01-17T18:22:56 < Laurenceb> im not 100% sure.. 2013-01-17T18:23:06 < Laurenceb> there are some quite complex trigger inputs 2013-01-17T18:23:15 < Laurenceb> so what do you want to do on rising edge? 2013-01-17T18:23:44 < zyp> the normal break mechanism isn't going to work at all with this kind of signal 2013-01-17T18:25:46 < KennyMcCormic> http://neekeetos.embedders.org/pwm15.png 2013-01-17T18:26:37 < zyp> uh, what? 2013-01-17T18:26:51 < KennyMcCormic> the part of actual schematics 2013-01-17T18:28:00 < zyp> what's the purpose of wiring it like that? 2013-01-17T18:28:30 < KennyMcCormic> to reduce delay 2013-01-17T18:29:34 < gxti> is that a magic comparator that has an open collector output or something? 2013-01-17T18:29:39 < KennyMcCormic> yes 2013-01-17T18:29:42 < gxti> k 2013-01-17T18:29:54 < gxti> i'm honestly not familiar with them :p 2013-01-17T18:29:59 < KennyMcCormic> :) 2013-01-17T18:30:30 < zyp> so, essentially the break input is a bit irrelevant since you kill the output externally anyway? 2013-01-17T18:30:49 < KennyMcCormic> it is not like that 2013-01-17T18:31:04 < KennyMcCormic> comparator is not holding its state for long 2013-01-17T18:31:22 < KennyMcCormic> so once it switches i need to disable pwm 2013-01-17T18:32:00 < zyp> and that would happen if you just wired it to break without involving the output, right? 2013-01-17T18:32:44 < KennyMcCormic> it will once, than it will not reenable output 2013-01-17T18:33:16 < zyp> flyback, shut the fuck up 2013-01-17T18:33:18 < gxti> please shut up 2013-01-17T18:34:20 < zyp> KennyMcCormic, I mean, if you connect comparator only to break 2013-01-17T18:34:27 < KennyMcCormic> hm 2013-01-17T18:34:46 < KennyMcCormic> you right, it should work like that 2013-01-17T18:35:02 < zyp> yes, that seems to be the way it's intended to be used 2013-01-17T18:35:10 < KennyMcCormic> :) 2013-01-17T18:35:45 < zyp> and since it's async, it should kill the outputs pretty much immediately anyway, so there should not be any point in doing that with the comparator 2013-01-17T18:36:04 < KennyMcCormic> good point 2013-01-17T18:36:47 < KennyMcCormic> thanks for the advice , will change this 2013-01-17T18:36:50 < jpa-> qyx_: i tried hot air + solder paste today.. failed quite bad and have to trash the board... the pads didn't heat up evenly, causing surface tension not to align the component but to instead to turn it into completely wrong position 2013-01-17T18:37:05 < zyp> jpa-, ouch 2013-01-17T18:37:16 < qyx_> jpa-: huh, what package? 2013-01-17T18:37:36 < jpa-> qyx_: 0603 passives and lqfp144 2013-01-17T18:38:17 -!- barthess [~barthess@77.67.222.132] has joined ##stm32 2013-01-17T18:38:19 < zyp> I suggest getting a toaster or a hotplate 2013-01-17T18:38:32 < jpa-> 4-layer board.. i guess the vias to ground plane are the reason why it was so difficult to get it heat properly with hot air 2013-01-17T18:38:33 < qyx_> hm, 0603 are okay 2013-01-17T18:38:41 < zyp> ah, yeah 2013-01-17T18:38:42 < qyx_> it yould be the case 2013-01-17T18:38:46 < qyx_> could 2013-01-17T18:38:47 < jpa-> zyp: yeah, hotplate could have been worth a try 2013-01-17T18:39:39 < Laurenceb> flyback seriously needs to get laid 2013-01-17T18:39:51 < jpa-> but $40 worth of components and not my money anyway, so not that important.. have to solder the protos manually and figure out something else for production 2013-01-17T18:40:32 < karlp> bloody openocd: http://pastebin.com/dVaCPa7j 2013-01-17T18:41:26 < karlp> all I've done is git clone, bootstrap, configure, make. 2013-01-17T18:42:08 < zyp> I suspect the note applies to tarballs and not repo checkouts 2013-01-17T18:42:33 < zyp> if they pre-build documentation before packing tarballs 2013-01-17T18:43:20 -!- KennyMcCormic|3 [~Kenny@95.139.150.86] has joined ##stm32 2013-01-17T18:43:26 < karlp> probably 2013-01-17T18:44:20 < KennyMcCormic|3> so guys, how do you like stm32? :) 2013-01-17T18:44:48 < zyp> pretty great 2013-01-17T18:45:27 < KennyMcCormic|3> how do you think is it feasible to do switching power supply using it ? 2013-01-17T18:45:34 -!- KennyMcCormic [~Kenny@95.139.249.211] has quit [Ping timeout: 246 seconds] 2013-01-17T18:45:41 -!- KennyMcCormic|3 is now known as KennyMcCormic 2013-01-17T18:46:16 < zyp> wouldn't you normally want to keep the regulation feedback all in hardware? 2013-01-17T18:46:56 < KennyMcCormic> yep, but there are cases 2013-01-17T18:48:47 < KennyMcCormic> for example you can not provide reliable flux balance in transformer in pure hw controller 2013-01-17T18:48:59 < KennyMcCormic> or nonlinear control 2013-01-17T18:50:25 < KennyMcCormic> also, since stm has break inputs it is relatively safe to drive anything 2013-01-17T18:52:29 -!- Claude is now known as claude 2013-01-17T18:56:24 -!- KennyMcCormic [~Kenny@95.139.150.86] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 2013-01-17T18:57:42 < karlp> heh, oocd built in zero target interfaces by default. 2013-01-17T18:57:48 < karlp> helpful. 2013-01-17T18:57:59 -!- KennyMcCormic [~Kenny@95.139.150.86] has joined ##stm32 2013-01-17T18:58:10 < jpa-> karlp: yeah that's fun :) 2013-01-17T18:58:26 < jpa-> "it's not like you want to use me for something" 2013-01-17T18:58:49 < karlp> customize ALLL the things! 2013-01-17T19:14:16 < karlp> infineon's in on the cortex game now too, $18 for yet another m4 board: http://uk.mouser.com/ProductDetail/Infineon-Technologies/KIT_XMC45_RELAX_V1/?qs=sGAEpiMZZMsPA1KxyASVZLKMJHcHfbVb 2013-01-17T19:14:21 < karlp> with m0 parts announced 2013-01-17T19:14:51 < Laurenceb> nice 2013-01-17T19:14:57 < Laurenceb> like the breakaway debug 2013-01-17T19:16:27 < karlp> they make a "not-lite" version with ethernet header populated too, 2013-01-17T19:16:33 < karlp> but it's not as cheap 2013-01-17T19:17:28 < Laurenceb> Maximum Clock Frequency: 24 MHz 2013-01-17T19:17:30 < Laurenceb> the hell 2013-01-17T19:18:12 < karlp> what? 2013-01-17T19:19:23 < Laurenceb> in the specs 2013-01-17T19:19:29 < Laurenceb> looks like its actually 120mhz 2013-01-17T19:19:35 < Laurenceb> but no fpu :( 2013-01-17T19:19:56 < karlp> webpage says fpu on all of them 2013-01-17T19:20:01 < Laurenceb> lame 2013-01-17T19:20:05 < karlp> http://www.infineon.com/cms/en/product/microcontrollers/32-bit-industrial-microcontrollers-based-on-arm-registered-cortex-tm/32-bit-xmc4000-industrial-microcontrollers-arm-registered-cortex-tm-m4/xmc4000-development-tools,-software-and-kits/channel.html?channel=db3a30433580b3710135a07902883872 2013-01-17T19:20:06 < Laurenceb> and poor current drive 2013-01-17T19:20:30 < karlp> more can transceivers 2013-01-17T19:20:41 < karlp> the m0 parts talk about special colour led driving things 2013-01-17T19:21:02 < karlp> up to 4 separate adcs 2013-01-17T19:21:17 * karlp shrugs, just different 2013-01-17T19:22:37 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-17T19:22:38 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-17T19:22:38 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-17T19:22:38 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-17T19:29:28 -!- jnugen [~jnugen@71-9-137-101.dhcp.mdfd.or.charter.com] has quit [Quit: Leaving] 2013-01-17T19:35:49 -!- _BJFreeman [~bjfree@162.sub-75-233-221.myvzw.com] has joined ##stm32 2013-01-17T19:36:26 -!- _BJFreeman is now known as BJFreeman 2013-01-17T19:57:10 -!- dekar [~dekar@212.255.250.10] has joined ##stm32 2013-01-17T19:57:13 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-17T20:00:22 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-17T20:05:52 -!- barthess [~barthess@77.67.222.132] has quit [Quit: Leaving.] 2013-01-17T20:10:02 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-17T20:13:09 -!- KennyMcCormic [~Kenny@95.139.150.86] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-17T20:35:07 < qyx_> have anyone of you did active lipo balancing? 2013-01-17T20:35:13 < qyx_> done 2013-01-17T20:37:18 < BJFreeman> yes 2013-01-17T20:38:04 < BJFreeman> but most small lipo have self charging and current protection built in 2013-01-17T20:39:36 < qyx_> i need to build bigger package with charger, around 12 cells 3Ah each 2013-01-17T20:39:41 < BJFreeman> and I am assuming by lipo you are talkng about lithium pouch 2013-01-17T20:40:08 < qyx_> "standard" rc lithium polymer 2013-01-17T20:40:17 < qyx_> i found some nice circuit 2013-01-17T20:40:23 < qyx_> with transformers 2013-01-17T20:40:42 < qyx_> to actively balance cells 2013-01-17T20:41:24 < BJFreeman> most of my designs are for series cells wth individual balancing 2013-01-17T20:41:55 < BJFreeman> up to 10KW 2013-01-17T20:42:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-17T20:42:55 < BJFreeman> no transformers but halleffect current and voltage sensors 2013-01-17T20:44:40 < qyx_> http://i.imgur.com/4275z.png 2013-01-17T20:44:55 < qyx_> something like that, it is patented by boing in usa apprently 2013-01-17T20:45:00 < qyx_> boeing 2013-01-17T20:45:17 < BJFreeman> you can look at the ZEVA BMS Circuit 2013-01-17T20:45:30 < qyx_> hm 2013-01-17T20:46:30 < BJFreeman> Oh you mean the circuit they use on the dreamliner that is catching fire 2013-01-17T20:46:40 < BJFreeman> :P 2013-01-17T20:46:44 < qyx_> catching fire? O_o 2013-01-17T20:46:53 < gxti> very small fires 2013-01-17T20:47:02 < BJFreeman> the whole 787 fleet is grounded 2013-01-17T20:47:31 < BJFreeman> small fires in a close area full of wire bundles 2013-01-17T20:47:34 < gxti> http://www.reuters.com/article/2013/01/17/us-boeing-dreamliner-idUSBRE90F1N820130117 2013-01-17T20:48:22 < qyx_> they really use that circuit? 2013-01-17T20:48:31 < qyx_> ir it's just joke? :D 2013-01-17T20:48:53 < BJFreeman> they don't use any circuit that I have mentioned 2013-01-17T20:49:41 < BJFreeman> I live in the area where the 787 are built so we have a lot of local chatter 2013-01-17T20:52:02 < qyx_> although it is possible to burn transformer & mosfet with simple malfunction of mosfet driving 2013-01-17T20:52:06 < qyx_> with this circuit 2013-01-17T20:53:13 -!- claude is now known as Claude 2013-01-17T20:53:45 < qyx_> could be nice fireworks assuming that these cells can do few hundreds amps in short circuit 2013-01-17T20:55:17 < BJFreeman> using 3V7 zeners accross the cells keeps them from over charging 2013-01-17T20:57:12 < BJFreeman> monitoring the current till it drops to 0.05C is the way to cut off and not over charge 2013-01-17T20:57:30 < qyx_> but the zeners actually just burn the excessive energy 2013-01-17T20:57:48 < qyx_> also all commonly used balancers 2013-01-17T20:57:48 < BJFreeman> YES 2013-01-17T20:58:24 < qyx_> i like to reuse it to charge other cells 2013-01-17T20:58:41 < BJFreeman> does you balancers use parallel or series charge 2013-01-17T20:58:57 < qyx_> if you have solar powered charger and heavily misbalanced cells, lot of power is wasted 2013-01-17T20:59:01 < qyx_> series charge 2013-01-17T20:59:43 < BJFreeman> if mis ballance you also can ruin some of the cells 2013-01-17T21:00:20 < qyx_> yes, thats why i want such circuit which can also work while discharging 2013-01-17T21:00:28 < BJFreeman> that is the reason it is suggested to first manually balance the pack 2013-01-17T21:00:33 < qyx_> and that should be possible with it 2013-01-17T21:01:08 < BJFreeman> apparently I missed the link to your circuit 2013-01-17T21:01:17 < qyx_> at least i found some doc saying that it is possible to balance during chanrging19:44 < qyx_> http://i.imgur.com/4275z.png 2013-01-17T21:01:22 < qyx_> och 2013-01-17T21:01:24 < qyx_> 19:44 < qyx_> http://i.imgur.com/4275z.png 2013-01-17T21:01:42 < qyx_> *during charging and discharging 2013-01-17T21:03:09 < BJFreeman> usually you can not charge while discarging, since you can not monitor the current actually charging 2013-01-17T21:04:01 < BJFreeman> Lipo do not use voltage as a indicator of charge but current 2013-01-17T21:05:07 < qyx_> actually you can do if the supply, load and such battery pack is connected in parallel 2013-01-17T21:05:10 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-17T21:05:31 < BJFreeman> do you have a link to the cell you are going to use 2013-01-17T21:05:32 < qyx_> you monitor current to/from pack 2013-01-17T21:05:48 < qyx_> common cell used in rc plane models 2013-01-17T21:05:52 < qyx_> no internal circuit 2013-01-17T21:06:18 < qyx_> most of them do not have even discharge protection 2013-01-17T21:07:46 < qyx_> another thing i am going to use is dc-dc converter which can work in reverse (while discharging) 2013-01-17T21:08:06 < qyx_> maybe i should just try and see 2013-01-17T21:09:12 < BJFreeman> Ok I have a Lipo 200ah 395V pack 2013-01-17T21:09:33 -!- Claude is now known as claude 2013-01-17T21:10:15 < qyx_> quite large 2013-01-17T21:10:27 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-17T21:11:23 < BJFreeman> and a lifepo4 4 cell pack 200ah 2013-01-17T21:11:53 < BJFreeman> Yes I am into Electric Vehicles 2013-01-17T21:12:14 < BJFreeman> the big kind :P 2013-01-17T21:12:44 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-17T21:13:52 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 256 seconds] 2013-01-17T21:13:58 < qyx_> hm 2013-01-17T21:27:19 -!- mervaka [~mervaka@mervaka.co.uk] has quit [Ping timeout: 255 seconds] 2013-01-17T21:27:35 -!- mervaka [~mervaka@mervaka.co.uk] has joined ##stm32 2013-01-17T21:28:04 -!- olasd_ [~olasd@188.40.41.195] has joined ##stm32 2013-01-17T21:28:04 -!- olasd_ [~olasd@188.40.41.195] has quit [Changing host] 2013-01-17T21:28:04 -!- olasd_ [~olasd@pdpc/supporter/active/olasd] has joined ##stm32 2013-01-17T21:28:11 -!- olasd [~olasd@pdpc/supporter/active/olasd] has quit [Ping timeout: 245 seconds] 2013-01-17T21:30:08 -!- olasd_ [~olasd@pdpc/supporter/active/olasd] has quit [Read error: Operation timed out] 2013-01-17T21:32:36 -!- olasd [~olasd@leibniz.olasd.eu] has joined ##stm32 2013-01-17T21:32:36 -!- olasd [~olasd@leibniz.olasd.eu] has quit [Changing host] 2013-01-17T21:32:36 -!- olasd [~olasd@pdpc/supporter/active/olasd] has joined ##stm32 2013-01-17T21:36:16 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-17T21:38:29 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-17T21:45:02 -!- _BJFreeman [~bjfree@162.sub-75-233-221.myvzw.com] has joined ##stm32 2013-01-17T21:48:48 -!- BJFreeman [~bjfree@162.sub-75-233-221.myvzw.com] has quit [Ping timeout: 264 seconds] 2013-01-17T21:49:38 -!- _BJFreeman [~bjfree@162.sub-75-233-221.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-01-17T21:50:36 -!- _BJFreeman [~bjfree@162.sub-75-233-221.myvzw.com] has joined ##stm32 2013-01-17T22:01:43 -!- joefishy [~joefishy@cpc23-newt30-2-0-cust149.19-3.cable.virginmedia.com] has joined ##stm32 2013-01-17T22:51:58 -!- Laurenceb_ [~Laurence@host86-177-213-221.range86-177.btcentralplus.com] has joined ##stm32 2013-01-17T22:57:52 -!- _BJFreeman is now known as BJFreeman 2013-01-17T23:00:17 < Laurenceb_> http://vimeo.com/56784314 2013-01-17T23:00:23 < Laurenceb_> any ideas what the gui is? 2013-01-17T23:03:32 <+Steffanx> even the hd version is too crappy to be able to read the text :S 2013-01-17T23:14:18 < zyp> http://c4s.atw.hu/index.htm <- seems to be this shit 2013-01-17T23:14:34 < BJFreeman> qyx_ you might look at the DS2726 2013-01-17T23:14:55 -!- jef79m_lurking is now known as jef79m 2013-01-17T23:26:38 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-17T23:26:38 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-17T23:26:40 -!- dfletcher is now known as drgreenthumb 2013-01-17T23:30:37 < qyx_> BJFreeman: that looks good, thanks 2013-01-17T23:31:00 < qyx_> but unfourtunatelly unavailable :/ 2013-01-17T23:31:09 < qyx_> and still uses shunts 2013-01-17T23:41:44 -!- BJFreeman [~bjfree@162.sub-75-233-221.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-01-17T23:47:17 -!- _BJFreeman [~bjfree@238.sub-75-196-57.myvzw.com] has joined ##stm32 2013-01-17T23:47:56 -!- _BJFreeman is now known as BJFreeman --- Day changed Fri Jan 18 2013 2013-01-18T00:18:55 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-18T00:20:44 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-18T00:33:20 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-18T00:33:26 -!- jef79m is now known as jef79m_lurking 2013-01-18T00:34:29 -!- _BJFreeman [~bjfree@238.sub-75-196-57.myvzw.com] has joined ##stm32 2013-01-18T00:36:01 -!- BJFreeman [~bjfree@238.sub-75-196-57.myvzw.com] has quit [Ping timeout: 240 seconds] 2013-01-18T00:36:43 -!- _BJFreeman is now known as BJFreeman 2013-01-18T00:37:16 -!- jef79m_lurking is now known as jef79m 2013-01-18T00:50:06 -!- BJFreeman [~bjfree@238.sub-75-196-57.myvzw.com] has quit [Ping timeout: 256 seconds] 2013-01-18T00:51:59 -!- _BJFreeman [~bjfree@238.sub-75-196-57.myvzw.com] has joined ##stm32 2013-01-18T00:52:32 -!- _BJFreeman is now known as BJFreeman 2013-01-18T01:07:21 -!- jef79m is now known as jef79m_lurking 2013-01-18T01:24:13 -!- jef79m_lurking is now known as jef79m 2013-01-18T02:03:51 < dongs> whoa, no chats at all? 2013-01-18T02:04:11 < emeb> none 2013-01-18T02:04:16 < emeb> dead silence 2013-01-18T02:05:51 < BJFreeman> well we can do the hooky pooky 2013-01-18T02:06:53 < Laurenceb_> cheer yourself up, read something exciting 2013-01-18T02:06:55 < Laurenceb_> http://elsmar.com/Forums/showthread.php?t=57830 2013-01-18T02:07:42 < emeb> yawn 2013-01-18T02:07:50 < emeb> excitement fail 2013-01-18T02:08:07 < Laurenceb_> trolled 2013-01-18T02:13:49 < dongs> need to assemble some shit then get this DP adapter shit done 2013-01-18T02:13:56 < BJFreeman> what excited someone is subjective 2013-01-18T02:13:59 < dongs> lets see if I can troll out a pcb of tht by end of today 2013-01-18T02:14:26 < BJFreeman> what is theh link to your pcb site 2013-01-18T02:14:38 < dongs> its in gook,so its useless for you 2013-01-18T02:15:08 < BJFreeman> you mean I would have to have google translate it for me 2013-01-18T02:15:25 < BJFreeman> but Ok 2013-01-18T02:15:40 < BJFreeman> just like to have as many resources in my bag 2013-01-18T02:16:23 < dongs> yes and then you'd be like daym this shit is expensive 'cause youre not the target audience 2013-01-18T02:17:04 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-18T02:25:03 < gxti> aww yeah, managed to get that backwards DE-9 connector off the board 2013-01-18T02:25:42 < gxti> had to use the toaster oven though which means two other shitty connectors sacrificed their lives 2013-01-18T02:26:42 -!- Laurenceb_ [~Laurence@host86-177-213-221.range86-177.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-18T02:28:20 < dongs> haha 2013-01-18T02:31:13 < dongs> of cores, i didnt order 18pF reel and im almost out 2013-01-18T02:31:14 < dongs> argh 2013-01-18T02:31:30 < dongs> rage building 2013-01-18T02:32:09 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-01-18T02:33:14 -!- scrts_ [~quassel@2a01:348:70:46:17:57:19:0] has quit [Ping timeout: 256 seconds] 2013-01-18T02:39:00 < BJFreeman> dongs my commercial boards are 4 layer 2013-01-18T02:39:14 < BJFreeman> and some game boards 2013-01-18T02:39:25 < dongs> yeah. 2013-01-18T02:39:30 < dongs> my 4l pricing is awesome for bulk orders. 2013-01-18T02:39:39 < dongs> like 1m^2 panel is same price sa 10 protos 2013-01-18T02:39:54 < dongs> of course that assumes you need 100s of boards. 2013-01-18T02:40:19 < BJFreeman> my next order will b 100 boards with 28 different circuits each 2013-01-18T02:40:38 < BJFreeman> so about 2800 2013-01-18T02:41:01 < BJFreeman> pieces 2013-01-18T02:41:23 < BJFreeman> i already have a proto house i use 2013-01-18T02:41:47 -!- DaKu is now known as daku 2013-01-18T02:41:51 < dongs> too bad, many designs on one panel = film cost is more expensive, makes no point. 2013-01-18T02:43:03 < BJFreeman> np 2013-01-18T02:49:13 < dongs> also: lol http://i.imgur.com/OMVN2.jpg 2013-01-18T02:50:12 < gxti> why does that package even exist 2013-01-18T02:50:38 < dongs> its tqfp208 2013-01-18T02:51:20 < gxti> a 8x8 bga could probably fit in the hole in the middle of that socket D: 2013-01-18T02:53:55 < dongs> haha yeah. 2013-01-18T02:58:45 -!- joefishy [~joefishy@cpc23-newt30-2-0-cust149.19-3.cable.virginmedia.com] has quit [Remote host closed the connection] 2013-01-18T03:00:19 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-18T03:02:38 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-18T03:15:36 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2013-01-18T03:15:36 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2013-01-18T03:15:36 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-18T03:24:57 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has quit [Ping timeout: 276 seconds] 2013-01-18T03:41:18 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-18T03:57:31 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2013-01-18T04:09:20 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has left ##stm32 [] 2013-01-18T04:12:52 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-18T04:18:49 < gxti> is there something about input captures not being able to capture the value 0? 2013-01-18T04:19:43 < gxti> i'm building what's essentially a slow PLL and i'm using the input capture to measure the phase error, so when it's locked it will be reading values near zero. but it never actually reads zero... 2013-01-18T04:21:49 < dongs> how do you suppose to "capture" zero 2013-01-18T04:24:29 < gxti> the timer is running continously, presumably after 65535 (or whatever ARR is) comes 0 2013-01-18T04:24:52 < upgrdman> t in tqfp == thin? as in thiner than lqfp? 2013-01-18T04:25:02 < gxti> if a pulse arrives before that the capture is 65535, if a pulse arrives after then it captures 0. or maybe not. 2013-01-18T04:25:10 < emeb_mac> ok, so you've got a free running counter and using input capture to snapshot the counter values? 2013-01-18T04:25:44 < gxti> yes, although due to the nature of the application every pulse will be within 2 or 3 counts of the reload 2013-01-18T04:26:04 < gxti> i've done one before that used two input captures and did not track like that, and didn't have this problem 2013-01-18T04:26:23 < emeb_mac> and you've seen that it never snapshots a value of 0? 2013-01-18T04:27:28 < gxti> so it would seem. could be a bug in my code. i have to do a "clever" trick to make a 70mhz 16 bit timer able to measure the period of a 1hz pulse 2013-01-18T04:27:57 < gxti> probably too clever 2013-01-18T04:29:46 < gxti> TIM3 runs at 70mhz with ARR=62500, TIM5 is slaved to TIM3 with ARR=62500, so TIM5 rolls over once per second exactly 2013-01-18T04:29:48 < emeb_mac> yeah - counting to 70million with 16 bits is clever. 2013-01-18T04:30:23 < gxti> then i have TIM6 which interrupts twice per TIM3 period and samples the input capture, instead of using an interrupt off the input capture, to make sure i can sample TIM3 and TIM5 coherently 2013-01-18T04:30:37 < emeb_mac> isn't there a 32-bit timer available? 2013-01-18T04:30:49 < gxti> it seems to work very reliably, better than the previous project i mentioned which frequently sampled + or - 65536, except it never reads 0 2013-01-18T04:31:13 < gxti> doesn't seem to be 2013-01-18T04:31:44 < gxti> this is F1 fwiw. you can slave timers together, which i did, but the input captures aren't slaved unless i'm missing something. 2013-01-18T04:34:44 < gxti> next GPSDO project i'm just going to use a fpga. less hassle ;p 2013-01-18T04:35:33 -!- jef79m is now known as jef79m_lurking 2013-01-18T04:39:37 < emeb_mac> yay FPGA! 2013-01-18T04:42:00 < emeb_mac> lol VIA - http://www.geek.com/articles/chips/via-unveils-79-rock-and-99-paper-arm-pcs-20130117/ 2013-01-18T04:42:20 < emeb_mac> recycled paper case. how... green. 2013-01-18T04:43:16 < dongs> but will it blend 2013-01-18T04:43:18 < gxti> must not be the input capture after all, i added a constant to the reading so it operates somewhere other than the rollover point and it's still doing it 2013-01-18T04:45:56 < gxti> time to hack in some fractional pwm 2013-01-18T05:00:09 < gxti> the problem is exactly what i initially assumed it was, specifically checked for, and somehow did not see 2013-01-18T05:00:16 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-18T05:01:00 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-18T05:01:02 < gxti> i had another bug where the once-per-second serial report did not happen occasionally, sometimes a few times in a row. and i had a hunch that the missing reports were the ones that read zero. yep. 2013-01-18T05:01:33 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-18T05:01:34 < gxti> hey look a zero 2013-01-18T05:01:38 < gxti> magical 2013-01-18T05:08:38 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has joined ##stm32 2013-01-18T05:13:07 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has quit [Ping timeout: 246 seconds] 2013-01-18T05:15:19 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-18T05:20:54 < gxti> should get soft floats working, all this fixed point math is driving me nuts 2013-01-18T05:28:53 -!- betovar [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has joined ##stm32 2013-01-18T05:32:07 < emeb_mac> or drop in an f303 and use hardfloat 2013-01-18T05:32:58 < gxti> soon as they come out with a f303 with ethernet sure 2013-01-18T05:34:01 < gxti> f407 is an option, not sure if it's drop-in, don't really care because a once per second float calculation isn't that critical :p 2013-01-18T05:37:32 -!- jef79m_lurking is now known as jef79m 2013-01-18T05:38:37 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-18T05:42:10 < emeb_mac> F4 doesn't drop-in for F1 - needs Vcap bypasses for the internal supply. 2013-01-18T05:58:34 -!- BJFreeman [~bjfree@238.sub-75-196-57.myvzw.com] has quit [Quit: had a good time] 2013-01-18T06:13:27 < dongs> yeah 2013-01-18T06:31:50 < gxti> unsurprisingly everything works fine. i should probably move all these calcs out of the interrupt handler though. 2013-01-18T06:33:35 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2013-01-18T06:36:55 < emeb_mac> http://i.imgur.com/dXcz4.png 2013-01-18T06:40:22 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-01-18T06:42:56 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-18T06:43:02 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-18T06:50:07 < baird> Was on the bus a few years ago, and this really pppppuuuuuunnnnnkkkkkkk twat had something like "ちりす + みちえれえ" (chris + michelle, transliterated hiragana) home-tatted on his hands. lolfail. 2013-01-18T06:51:58 < emeb_mac> never understood the need for tattoos. 2013-01-18T07:02:13 < baird> "But what if I'm a sane-minded person, whose opinion of things changes over time?" "No! This tattoo proves I'll always be a loyal adherent to the one belief!" 2013-01-18T07:02:59 < emeb_mac> exactly 2013-01-18T07:02:59 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-18T07:05:57 -!- KennyMcCormic [~Kenny@94.28.215.35] has joined ##stm32 2013-01-18T07:08:41 < DLPeterson> how do you determine if your gcc compiler is properly configured to generate hard floating point instructions? 2013-01-18T07:08:52 < DLPeterson> I know there is a simple test but I can't find it online 2013-01-18T07:10:11 -!- jef79m is now known as jef79m_lurking 2013-01-18T07:10:21 < gxti> DLPeterson: gcc -print-multi-lib ? 2013-01-18T07:10:52 < DLPeterson> yeah, I guess that is it 2013-01-18T07:11:25 < DLPeterson> if mine only says: thumb;@mthumb and fpu;@mfloat-abi=hard 2013-01-18T07:11:50 < DLPeterson> does that mean it will be generating hardware floating point instructions 2013-01-18T07:11:59 < DLPeterson> I suppose there should be a simple way to check 2013-01-18T07:22:01 < zippe> DLPeterson: that looks kinda sketchy 2013-01-18T07:22:11 < zippe> DLPeterson: it depends on what CPU it was actually built for 2013-01-18T07:22:41 < DLPeterson> zippe, what looks kinda sketchy? 2013-01-18T07:22:49 < zippe> DLPeterson: your multilib config 2013-01-18T07:23:22 < zippe> Though, is that your system compiler, or the cross-compiler? 2013-01-18T07:23:39 < zippe> You should expect something like 2013-01-18T07:23:40 < zippe> git:(master) arm-none-eabi-gcc -print-multi-lib 2013-01-18T07:23:40 < zippe> .; 2013-01-18T07:23:40 < zippe> thumb;@mthumb 2013-01-18T07:23:40 < zippe> fpu;@mfloat-abi=hard 2013-01-18T07:23:40 < zippe> armv6-m;@mthumb@march=armv6s-m 2013-01-18T07:23:41 < zippe> armv7-m;@mthumb@march=armv7-m 2013-01-18T07:23:41 < zippe> armv7e-m;@mthumb@march=armv7e-m 2013-01-18T07:23:42 < zippe> armv7e-m/fpu;@mthumb@mfloat-abi=hard@march=armv7e-m@mfpu=fpv4-sp-d16 2013-01-18T07:23:42 < zippe> armv7e-m/softfp;@mthumb@mfloat-abi=softfp@march=armv7e-m@mfpu=fpv4-sp-d16 2013-01-18T07:24:02 < DLPeterson> zippe, I am building it myself because I want to use the newer compilers and what not. 2013-01-18T07:24:07 < DLPeterson> here is my build script: 2013-01-18T07:24:10 < DLPeterson> https://github.com/hazelnusse/arm-toolchain/blob/master/toolchain.sh 2013-01-18T07:24:20 < DLPeterson> it is modified from the TNT one 2013-01-18T07:24:22 < zippe> DLPeterson: unless you like debugging compilers, that's a fairly bad idea 2013-01-18T07:24:49 < DLPeterson> I don't understand why it should be. I compile every other program on my computer, why not the compiler. 2013-01-18T07:24:51 < DLPeterson> ? 2013-01-18T07:25:04 < zippe> No, I meant "use the newer compilers" 2013-01-18T07:25:23 < zippe> I build the toolchain here too when I need to. 2013-01-18T07:25:38 < DLPeterson> So you think "use the newer compilers" == bad? 2013-01-18T07:25:49 < zippe> But I have better things to do than e.g. chase the possible bug in 4.7 that is breaking my ROMFS 2013-01-18T07:26:01 < gxti> DLPeterson: you shouldn't compile your compiler until you have an understanding of what you need 2013-01-18T07:26:17 < zippe> DLPeterson: if you enjoy debugging compilers, then no, it's not bad at all; see above 2013-01-18T07:26:17 < gxti> DLPeterson: the fact that you're in here asking how to check for a feature suggests you don't know that yet 2013-01-18T07:26:17 < DLPeterson> ok, I want c++11 support that 4.6.3 doesn't offer. 2013-01-18T07:26:30 < DLPeterson> Right, I don't know. I am trying to learn. 2013-01-18T07:26:40 < zippe> DLPeterson: then go grab the 4.7 sources that ARM posted on their launchpad page and build those 2013-01-18T07:26:42 < gxti> i don't know either, which is why i gave up on rolling my own 2013-01-18T07:26:57 < zippe> DLPeterson: they have a compile script and instructions that work 2013-01-18T07:27:10 < zippe> DLPeterson: they even include the sources for all the dependencies in the download 2013-01-18T07:31:02 < DLPeterson> zippe, do you understand the difference between -mfloat-abi=hard vs. -mfloat-abi=softfp vs. No FP? 2013-01-18T07:31:23 < DLPeterson> Will the No FP just simply refuse to compile C/C++ with floating point operations? 2013-01-18T07:34:17 < dongs> bloggin on blogs 2013-01-18T07:35:07 < dongs> armv7e-m/softfp;@mthumb@march=armv7e-m@mfloat-abi=softfp@mfpu=fpv4-sp-d16 2013-01-18T07:35:07 < dongs> armv7e-m/fpu;@mthumb@march=armv7e-m@mfloat-abi=hard@mfpu=fpv4-sp-d16 2013-01-18T07:36:45 < DLPeterson> I guess what I'm trying to understand is this table: 2013-01-18T07:36:45 < DLPeterson> https://launchpadlibrarian.net/126639247/readme.txt 2013-01-18T07:36:59 < DLPeterson> there are 3 rows for the Cortex-M4 2013-01-18T07:37:17 < DLPeterson> I think I know what the last mean, but I'm not sure about the first one 2013-01-18T07:41:51 < gxti> seems pretty obvious, although not so obvious why anyone would use it 2013-01-18T07:43:23 < dongs> how do i do capsense buttons on pcb 2013-01-18T07:43:34 < dongs> does mcu need to support capsense or is it just hookin shit upo to adc 2013-01-18T07:43:57 < gxti> with a sufficiently large amount of shit sure 2013-01-18T07:44:11 < gxti> but no you should probably have a mcu with capsense 2013-01-18T07:44:18 < zippe> DLPeterson: I do, yes 2013-01-18T07:44:29 < zippe> DLPeterson: They are orthogonal 2013-01-18T07:44:47 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-18T07:44:50 < zippe> -mfloat-abi refers to how floating-point arguments are passed to functions 2013-01-18T07:45:17 < zippe> -mfpu refers to whether the code generator will emit FP instructions for arithmetic 2013-01-18T07:45:32 < zippe> And also whether FP registers are available for other purposes. 2013-01-18T07:45:46 < baird> STM32F4Disco expansion board going for almost 1/3rd its original price: http://au.element14.com/stmicroelectronics/stm32f4dis-bb/expansion-stm32f4-cortex-m4-discovery/dp/2250205 2013-01-18T07:46:21 < emeb_mac> dongs: f303 has a capsense touch controller built in. RM has info on how to hook it up. 2013-01-18T07:46:26 < gxti> huh, is it a f407? didn't even notice 2013-01-18T07:46:30 < dongs> oh does it 2013-01-18T07:46:32 < gxti> got teh etherwebs 2013-01-18T07:46:59 < DLPeterson> zippe, if -mfpu is left out, will the compiler generate code that uses the floating point registers for other things? is that even possible? 2013-01-18T07:47:21 < baird> Their "Internet" icon. -_- ... http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/stm32f4-discovery-expansion-boards 2013-01-18T07:47:42 < zippe> DLPeterson: it won't 2013-01-18T07:47:51 < zippe> (but it is, yes, they're just registers) 2013-01-18T07:50:24 < DLPeterson> zippe, interesting. and w.r.t. -mcpu=cortex-m4 vs. -march=armv7e-m, are those essentially equivalent? 2013-01-18T07:50:34 < zippe> No 2013-01-18T07:51:01 < DLPeterson> What is the difference? 2013-01-18T07:51:25 < zippe> armv7e-m selects an architecture; it defines the instructions that are available, registers, etc. cortex-m4 selects a pipeline model that describes a specific instance of the architecture; it's used to schedule instructions 2013-01-18T07:52:16 < zippe> To put it another way; march says "what instructions and registers are available", and mcpu says "how should I arrange these instructions for best results" 2013-01-18T07:52:17 < DLPeterson> so you really should use both when compiling, correct? 2013-01-18T07:52:23 < zippe> Correct 2013-01-18T07:52:31 < baird> ha, the "Ethernet" icon on my above link, too. 2013-01-18T07:52:41 < zippe> Although it's a bit tautological as there is only one implementation of armv7e-m at this time 2013-01-18T07:54:22 < DLPeterson> zippe, have you compared gcc with arm's commercial compiler? 2013-01-18T07:54:41 < dongs> i have 2013-01-18T07:54:46 < dongs> arm commercial compiler > gcc 2013-01-18T07:54:47 < dongs> by FAR 2013-01-18T07:54:59 < zippe> DLPeterson: yes. Dongs is mostly wrong. 2013-01-18T07:55:01 < DLPeterson> can you provide specifics? 2013-01-18T07:55:01 < dongs> and it doesnt support any lazy shit gcc faggots do, like var declarations in teh middle of scope, etc. 2013-01-18T07:55:17 < dongs> so it makes you write quality code 2013-01-18T07:55:21 < dongs> cause y ou have to THINK before writing it 2013-01-18T07:55:23 < dongs> instead of copypasting shite 2013-01-18T07:55:36 < dongs> DLPeterson: rude :( 2013-01-18T07:56:13 < gxti> trufax 2013-01-18T07:56:46 < zippe> DLPeterson: You really have to consider ARM's architectures separately 2013-01-18T07:57:35 < zippe> DLPeterson: gcc's support has improved substantially in the last couple of years; 4.6 is OK, 4.7 with the Linaro / ARM gang working on v7A has gotten much better. 2013-01-18T07:58:02 -!- KennyMcCormic [~Kenny@94.28.215.35] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-18T07:58:02 < zippe> For simple processors like v7m, it's more down to how the compiler deals with the language than anything else. 2013-01-18T07:58:20 < DLPeterson> zippe, have you seen any articles/blogs comparing the two? i'm curious how the generated assembly would differ. 2013-01-18T07:58:52 < emeb_mac> dongs: strange thing is that the F3xx libraries don't have example code for the touchsense controller. 2013-01-18T07:58:56 < zippe> That's a large topic, and most of the people with specific details are too busy to blog. But if you wanted to get serious, I would start, again, with the Linaro folks. 2013-01-18T07:59:07 < dongs> emeb_mac: maybe touchsense controller is like usb bootloader in 373 2013-01-18T07:59:12 < dongs> or updated AN2606 "next week" 2013-01-18T07:59:15 < DLPeterson> zippe, alright. 2013-01-18T07:59:22 < emeb_mac> dongs: lulz 2013-01-18T07:59:31 < zippe> With codesourcery absorbed by Mentor, I got the impression that a bunch of their team moved on 2013-01-18T07:59:42 < dongs> codesourcery is useless now 2013-01-18T07:59:47 < dongs> you cant even download it without signing up for mentor spam 2013-01-18T07:59:58 < dongs> you gotta click through liek 10 pages of shit to get to 'free' stuff. 2013-01-18T08:00:00 < DLPeterson> yeah, that is annoying. 2013-01-18T08:00:07 < zippe> But really, ignore people like Dongs benchmarking 4.5 against RVDS 2013-01-18T08:00:18 < dongs> zippe, oh dont start. 2013-01-18T08:00:26 < DLPeterson> zippe, who is dongs? Is he on this channel? 2013-01-18T08:00:27 < dongs> zippe: back when i was coding brew shit, gcc vs rvds was no contest 2013-01-18T08:00:50 < dongs> gcc didnt even support varargs with ropi enabled. shit armcc did since day 1` 2013-01-18T08:00:59 < dongs> i mean it actually put WRONG SHIT in registers 2013-01-18T08:01:01 < dongs> and fucked stuff up 2013-01-18T08:01:44 < zippe> "ropi"? 2013-01-18T08:02:09 < dongs> readonly position independent 2013-01-18T08:02:14 < dongs> had to be built liek that for brewstuff 2013-01-18T08:02:22 < dongs> so the object could be relocated anywehre 2013-01-18T08:02:23 < zippe> If you were having varargs issues, chances are good you had the wrong ABI being generated 2013-01-18T08:02:28 < dongs> no 2013-01-18T08:02:38 < dongs> this was "official" qualcomm gcc pack for brew 2013-01-18T08:02:42 < zippe> For a long time, stock GCC was using their own 2013-01-18T08:02:56 < zippe> Ha, some random vendor patchset. No deal. 2013-01-18T08:03:02 < dongs> and not to mention code size 2013-01-18T08:03:09 < dongs> gcc-built shit was fucking huge even with -O31337 2013-01-18T08:03:22 < zippe> see above inre versions pre 4.6 2013-01-18T08:03:29 < dongs> yeah this was in like 2001 or something. 2013-01-18T08:03:34 < dongs> back when brew mattered. 2013-01-18T08:04:09 < zippe> That was generally a very bad time for gcc anyway 2013-01-18T08:04:13 < zippe> see e.g. EGCS 2013-01-18T08:04:17 < zippe> Anyway 2013-01-18T08:04:18 < dongs> haha 2013-01-18T08:04:43 < zippe> I have to go back to I2C or nothing is going to get done. 2013-01-18T08:04:48 < emeb_mac> GCC RULZ!!!11!eleventy!! 2013-01-18T08:05:01 < emeb_mac> sorry - did I say that out loud? 2013-01-18T08:08:05 < dongs> http://www.ebay.com/itm/321057537119 2013-01-18T08:08:06 < dongs> almost all gone 2013-01-18T08:09:17 -!- claude is now known as Claude 2013-01-18T08:12:40 < emeb_mac> what would you do with that? 2013-01-18T08:14:53 < dongs> duno bought 2 2013-01-18T08:15:10 < dongs> will figure out what to do 2013-01-18T08:15:21 < emeb_mac> mount on copter? 2013-01-18T08:15:48 < baird> upskirt cams 2013-01-18T08:15:54 < dongs> ^ 2013-01-18T08:16:00 < dongs> baird knows how japan rolls 2013-01-18T08:16:21 < emeb_mac> mommy - why does that man have cameras on his shoes? 2013-01-18T08:16:29 < DLPeterson> the cortex-m3/m4 support interwork? 2013-01-18T08:16:34 < DLPeterson> do the 2013-01-18T08:17:12 < dongs> um 2013-01-18T08:17:14 < dongs> they're thumb2 only 2013-01-18T08:17:20 < dongs> interworking was switching arm/thumb, no? 2013-01-18T08:17:24 < dongs> so: no 2013-01-18T08:17:25 < DLPeterson> i think so 2013-01-18T08:17:45 < DLPeterson> yeah that is what I thought, I just wanted to verify. 2013-01-18T08:45:42 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has joined ##stm32 2013-01-18T08:50:11 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 2013-01-18T09:03:13 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-18T09:05:59 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2013-01-18T09:11:46 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-18T09:13:12 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-18T09:22:03 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-18T09:22:58 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-18T09:25:18 -!- KennyMcCormic [~Kenny@94.28.215.35] has joined ##stm32 2013-01-18T09:32:06 -!- dekar_ [~dekar@212.255.248.226] has joined ##stm32 2013-01-18T09:32:09 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-18T09:35:44 -!- dekar [~dekar@212.255.250.10] has quit [Ping timeout: 255 seconds] 2013-01-18T09:39:00 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-18T09:40:54 < dongs> zyp's shitty vreg arrived 2013-01-18T09:43:38 -!- Claude is now known as claude 2013-01-18T10:06:26 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-18T10:15:25 -!- dekar_ [~dekar@212.255.248.226] has quit [Quit: This computer has gone to sleep] 2013-01-18T10:15:28 -!- cdh [~chatzilla@c-50-136-234-52.hsd1.ca.comcast.net] has joined ##stm32 2013-01-18T10:19:14 < zyp> damn, that's some cheap gopros 2013-01-18T10:19:26 < zyp> bought one 2013-01-18T10:19:26 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-18T10:19:35 < zyp> almost a shame to just get one though 2013-01-18T10:20:25 < dongs> yeah. bought 2 for 3d trolling. 2013-01-18T10:22:11 < zyp> « 2013-01-18T10:22:13 < zyp> eh 2013-01-18T10:22:14 < zyp> «This is a quick update about the current progress of the latest and great OpenVizsla design (the one that will be sent to YOU!). 2013-01-18T10:22:18 < zyp> We have hit a few delays with the latest board that is being manufactured. 2013-01-18T10:22:20 < zyp> The delay has been introduced because of a quality control check on the latest revision of the PCBs.» 2013-01-18T10:22:28 < dongs> sure 2013-01-18T10:23:29 < jpa-> "if we didn't check the quality we could have delivered already" 2013-01-18T10:25:08 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-18T10:32:14 < dongs> how the fuck do i switch git branch 2013-01-18T10:32:16 < dongs> to compile shit 2013-01-18T10:32:23 < dongs> git branch just prints *master. 2013-01-18T10:32:39 < dongs> git is fucking useless garwbage 2013-01-18T10:32:43 < zyp> git checkout branchname 2013-01-18T10:32:47 < dongs> what 2013-01-18T10:33:00 < dongs> Branch edge set up to track remote branch edge from origin. 2013-01-18T10:33:00 < dongs> Switched to a new branch 'edge' 2013-01-18T10:33:02 < dongs> did it work? 2013-01-18T10:33:06 < zyp> yes 2013-01-18T10:33:55 < zyp> remote branches are considered seperate from local branches, so what that message said is that it created the local branch edge and set it to track the remote branch origin/edge 2013-01-18T10:34:10 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has joined ##stm32 2013-01-18T10:34:24 < zyp> if you want to list remote branches, you do git branch -r 2013-01-18T10:34:47 < dongs> k shit is building lets see 2013-01-18T10:35:35 < zyp> and I can assure you that once you get used to git and the features it offers over svn, svn will feel like useless garbage :p 2013-01-18T10:35:49 < dongs> so far it offers nothing except rage 2013-01-18T10:36:03 < dongs> and i'd still be using cvs if faggots d idn't come up with a new rcs every fucking month 2013-01-18T10:36:30 < dongs> trash is still building. gcc sucks 2013-01-18T10:36:37 < dongs> or maybe atom sucks. 2013-01-18T10:36:41 < dongs> probably both. 2013-01-18T10:37:26 < zyp> was about to suggest compiling shit in parallel, but that's probably not going to help on atom :p 2013-01-18T10:38:57 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has quit [Ping timeout: 248 seconds] 2013-01-18T10:53:39 -!- samo_ [~samuel@LSt-Amand-152-32-4-40.w80-13.abo.wanadoo.fr] has joined ##stm32 2013-01-18T10:59:54 -!- jef79m_lurking is now known as jef79m 2013-01-18T11:12:12 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has joined ##stm32 2013-01-18T11:13:41 < Tectu> what's the GDB command to continue after a breakpoint until the next breakpoint? is it continue? 2013-01-18T11:15:32 < zyp> yes 2013-01-18T11:16:25 < Tectu> thanks! 2013-01-18T11:31:33 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-18T11:32:27 -!- jef79m is now known as jef79m_lurking 2013-01-18T11:33:52 -!- jef79m_lurking is now known as jef79m 2013-01-18T11:38:58 < fxd0h> hey ppl , which logic/protocol analyser do you recommend? 2013-01-18T11:39:59 < dongs> the one i recommend is > $1000 2013-01-18T11:40:13 < fxd0h> well yeah , no agilent /tektronix plox. 2013-01-18T11:41:07 < dongs> you get waht you pay for. 2013-01-18T11:41:47 < zyp> the Logic is nice enough for relatively slow stuff 2013-01-18T11:41:51 < R2COM> you can get used agilent from online sales for reasonable price 2013-01-18T11:42:02 < fxd0h> well , @100ish bucks sale is pretty cool and probably the easier 2013-01-18T11:42:05 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-01-18T11:42:52 < R2COM> not sure about 100, but if you triple it, you will get decent stuff 2013-01-18T11:43:11 < fxd0h> please enlighten me. 2013-01-18T11:44:54 < karlp> zippe: I was under the impression was there was no need to specify -march=armv7e-m if you specified -mcpu=cortex-m4? 2013-01-18T11:45:03 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-18T11:46:27 < fxd0h> I've seen some clones on ebay/taobao for less then 100usd 2013-01-18T11:46:42 < fxd0h> us bee dx clone looks interesting 2013-01-18T11:46:47 < dongs> logic is garbage 2013-01-18T11:46:51 < dongs> fxd0h: i have that. 2013-01-18T11:46:55 < dongs> its garbage, just like original DX 2013-01-18T11:47:01 < dongs> except you arent spending $1k on it. 2013-01-18T11:47:27 < fxd0h> me too , but not having a buffer on them to make big dumps is kinda annoying 2013-01-18T11:47:29 < dongs> dx clone: USB hub, 2x EZ-USB FX2, pair of shitty ADCs from 1980s, some resistors. 2013-01-18T11:47:49 < dongs> or i should say, so is original dx. 2013-01-18T11:47:53 < fxd0h> so that's not good either. 2013-01-18T11:48:17 < dongs> they dont NEED a buffer, 2013-01-18T11:48:23 < dongs> but since its fx2 directly sampling 2013-01-18T11:48:31 < dongs> you can't sample low voltage shit, and you can only get ~12mhz shit reliably 2013-01-18T11:48:34 < dongs> over that and it'll be failing 2013-01-18T11:48:52 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-18T11:49:18 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-18T11:50:12 < fxd0h> So basically my only hope is to walk over a dead guy holding a zillion dollars in his briefcase , take it and run like a nigga. 2013-01-18T11:50:18 < dongs> yea. 2013-01-18T11:50:52 < dongs> then get one of thse http://www.acute.com.tw/product/la.php 2013-01-18T11:51:25 < fxd0h> what's the price of those? 2013-01-18T11:51:38 < dongs> >1k 2013-01-18T11:51:56 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-18T11:52:11 < fxd0h> are those between 1k and 2k ? 2013-01-18T11:52:26 < dongs> yeah 2013-01-18T11:53:48 < fxd0h> not that bad then. 2013-01-18T11:54:58 < fxd0h> No local distributor , gonna try to get one of those @ http://www.teampctechnology.com/ 2013-01-18T11:55:37 < dongs> i have 18mbit one. 2013-01-18T11:55:53 < dongs> not bad, 1.6k for 72m 2013-01-18T11:56:03 < dongs> the software is awesome. 2013-01-18T11:56:10 < dongs> it decodes like 3272847 protocols 2013-01-18T11:57:03 < fxd0h> I will be sampling some slow stuff ( mpu6000 / uarts / spi / and probably sdio whenever I decide to reimplement my stupid sd driver ) 2013-01-18T11:58:32 < zyp> sdio is not really slow 2013-01-18T11:58:43 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-18T12:05:25 < dongs> yeah sdio is 25mhz. so that takes out 'logic' and other fx2 cloens 2013-01-18T12:05:31 < dongs> well, it could be slower 2013-01-18T12:05:32 < dongs> anyway. 2013-01-18T12:05:33 < dongs> shrug. 2013-01-18T12:07:57 < Thorn> hello 2013-01-18T12:08:05 < Thorn> stupid DSP question ahead 2013-01-18T12:08:59 < zyp> dongs, or faster 2013-01-18T12:09:05 < zyp> F4 can run SDIO at up to 48MHz 2013-01-18T12:09:09 < Thorn> 3d renderers use sinc, triangle, Gauss, Catmull-Rom etc. filters to reconstruct image from shading samples. what are those: simple interpolation or are those used to construct FIR kernels? 2013-01-18T12:09:33 < zyp> or, is supposed to be able to, at least, but there is an errata somewhere on that 2013-01-18T12:31:59 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-18T12:36:24 -!- manuel_ [~manuel@p579210B1.dip.t-dialin.net] has joined ##stm32 2013-01-18T12:38:14 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-01-18T12:38:52 < baird> Hottest day in Australian history today... 45.8C in Sydney; 46.5C at Parramatta, near to where I live. 2013-01-18T12:39:50 -!- manuel [~manuel@pD9FDEEEE.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 2013-01-18T12:40:01 < baird> The 'surface temperature' (that of my clothes hanging outside) was 62C. I cracked an egg open and left it outside, and the yoke cooked. 2013-01-18T12:43:02 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-18T12:44:18 < karlp> something like 7/10 hottest days ever in aus have been this year right? 2013-01-18T12:46:58 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Read error: Connection reset by peer] 2013-01-18T12:47:03 < baird> Dunno about the 7/10, but there's been continual record-breaking this summer. 2013-01-18T12:47:36 < baird> That 62C 'direct sunlight' temperature makes it very unwise to be outside with unprotected skin. It'd cook. 2013-01-18T12:53:31 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-18T12:55:52 < karlp> I'd heard 6/10 from family and friends the other day, today would have to be bump it up to 7 2013-01-18T12:56:01 < karlp> (if the 6/10 was right int he first place ;) 2013-01-18T12:57:44 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-18T13:08:31 -!- Laurenceb_ [~Laurence@host86-177-213-221.range86-177.btcentralplus.com] has joined ##stm32 2013-01-18T13:08:56 -!- badger [~tom@cxkg.net] has quit [Ping timeout: 255 seconds] 2013-01-18T13:12:03 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 248 seconds] 2013-01-18T13:24:10 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-18T13:28:39 -!- bsdfox\ [~Bob@c-71-197-82-145.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 2013-01-18T13:43:05 -!- jef79m is now known as jef79m_lurking 2013-01-18T13:43:53 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2013-01-18T13:44:17 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-18T13:46:23 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-18T13:46:30 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2013-01-18T13:46:30 < jpa-> karlp: unless one of the 6 falls off the top-ten because of the new addition :) 2013-01-18T13:58:38 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-18T14:01:05 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-18T14:01:05 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-18T14:01:05 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-18T14:01:08 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-18T14:18:44 < dongs> https://youtube.com/watch?v=mLqHqwsm8nk retweeting 2013-01-18T14:19:46 <+Steffanx> Uhm, retweet again when there's a version with more than 100 pixels dongs 2013-01-18T14:20:59 < dongs> lol 2013-01-18T14:38:52 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-18T14:39:21 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-18T14:49:49 -!- dekar [~dekar@dslb-178-004-029-141.pools.arcor-ip.net] has joined ##stm32 2013-01-18T14:49:52 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-18T14:51:34 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-18T14:58:28 < dongs> zyp: lol, some youtuber wants to buy your lpc board. 2013-01-18T14:58:38 < dongs> i guess he wanted to blink in style 2013-01-18T14:59:21 < zyp> heh 2013-01-18T14:59:26 <+Steffanx> dickstarter project! 2013-01-18T14:59:57 < dongs> definitely. 2013-01-18T15:00:26 <+Steffanx> Man, so many good dickstarter projects are "invented" in this channel 2013-01-18T15:02:49 < dongs> https://youtube.com/watch?v=XUM4Q4s01yY 2013-01-18T15:03:42 <+Steffanx> Great sound 2013-01-18T15:03:53 -!- daku is now known as DaKu 2013-01-18T15:03:56 < dongs> yeah i wonder whats up with that 2013-01-18T15:09:17 < karlp> jpa-: yeah, truedat 2013-01-18T15:18:39 -!- manuel_ [~manuel@p579210B1.dip.t-dialin.net] has quit [Ping timeout: 276 seconds] 2013-01-18T15:30:40 < baird> Make it do Für Elise 2013-01-18T15:32:01 < dongs> heh 2013-01-18T15:32:09 < dongs> go ahead., write some g code 2013-01-18T15:32:11 < baird> wut .. https://en.wikipedia.org/wiki/File:Beethoven_WoO_59_Erstausgabe.png .. "Ped O ... Ped O ... Ped O ..." 2013-01-18T15:32:23 < dongs> haha 2013-01-18T15:32:55 < baird> The 'Elise' in the title is referring to a 13yo girl, too. 2013-01-18T15:34:30 < dongs> im sure 2013-01-18T15:35:15 < Laurenceb_> epic lol 2013-01-18T15:37:50 <+Steffanx> Seriously .. you have to be a 13 yo to think that is funny imho 2013-01-18T15:42:33 <+Steffanx> or a 4chan fanatic of course, but that's the same thing 2013-01-18T15:48:51 < dongs> http://www.law.uchicago.edu/files/files/harcourt_fordham.pdf 2013-01-18T15:52:17 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-18T15:58:30 < dongs> heh 2013-01-18T15:58:37 < dongs> zyp's backlight driver is used in fagbook pro 2013-01-18T15:58:41 < dongs> is that wehre he got the idea from? 2013-01-18T15:58:55 <+Steffanx> Could be :) 2013-01-18T15:59:08 < zyp> no, I just searched digikey 2013-01-18T15:59:12 < dongs> rly 2013-01-18T15:59:17 < dongs> im trying to find evalboard for it 2013-01-18T15:59:21 < dongs> with suggested switcher layout etc 2013-01-18T15:59:24 < dongs> or appnote 2013-01-18T15:59:27 < dongs> seems no :( 2013-01-18T15:59:33 <+Steffanx> Just get a "faqbook pro":P 2013-01-18T15:59:41 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-18T15:59:55 <+Steffanx> Remove all unneccesary parts. I heard you where @#$%^ rich so... 2013-01-18T16:00:05 <+Steffanx> -c+s 2013-01-18T16:00:11 <+Steffanx> *were 2013-01-18T16:00:14 <+Steffanx> man.. english :( 2013-01-18T16:01:56 < dongs> hmm odd 2013-01-18T16:01:58 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-18T16:02:00 < dongs> no recommended layout or anything 2013-01-18T16:02:01 < dongs> hrmf 2013-01-18T16:02:15 -!- barthess [~barthess@86.57.155.106] has quit [Client Quit] 2013-01-18T16:14:58 < karlp> who's proxymilian? 2013-01-18T16:15:39 < dongs> wat 2013-01-18T16:20:07 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2013-01-18T16:20:33 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-18T16:21:57 < Laurenceb_> so dongs is ok with railguns? 2013-01-18T16:22:26 < Laurenceb_> but anything else means you are secretly really a nazi 2013-01-18T16:22:57 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-18T16:23:56 < Laurenceb_> makes perfect sense 2013-01-18T16:27:51 < gxti> yes, railguns are superior 2013-01-18T16:28:37 -!- samo_ [~samuel@LSt-Amand-152-32-4-40.w80-13.abo.wanadoo.fr] has quit [Quit: leaving] 2013-01-18T16:30:26 <+Steffanx> gxti is a yankeelander, so he is in the position to say things about guns 2013-01-18T16:30:57 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-18T16:32:50 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-18T16:33:06 -!- barthess [~barthess@86.57.155.106] has quit [Client Quit] 2013-01-18T16:34:50 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-18T16:37:58 < Laurenceb_> whatever your opinion that link is clearly nonsense 2013-01-18T16:38:12 -!- dirty_d [~andrew@209-213-71-70.meganet.net] has joined ##stm32 2013-01-18T16:38:33 < Laurenceb_> the nazi gun stuff was obviously about having a militia to intimidate people 2013-01-18T16:38:48 < karlp> wat? 2013-01-18T16:38:51 < karlp> did you _read_ it? 2013-01-18T16:39:18 < Laurenceb_> i got bored half way through 2013-01-18T16:39:23 <+Steffanx> half way?! 2013-01-18T16:39:33 <+Steffanx> I got bored after i read the title 2013-01-18T16:39:56 < Laurenceb_> the nra make retarded arguments therefor you can use their arguments and turn them around 2013-01-18T16:39:57 <+Steffanx> I actually read the first sentence too 2013-01-18T16:40:01 < Laurenceb_> whod have thunk it 2013-01-18T16:40:26 < karlp> well, modbus working the l1, now either adc or eeprom. 2013-01-18T16:40:40 < karlp> or leave work early because it's friday.... 2013-01-18T16:40:51 <+Steffanx> Easy choice 2013-01-18T16:41:11 < karlp> adc it is! 2013-01-18T16:41:13 < Laurenceb_> http://craphound.com/images/xkcdwrongoninternet.jpg 2013-01-18T16:41:24 < dongs> fucking old 2013-01-18T16:41:28 < gxti> ^ 2013-01-18T16:41:32 <+Steffanx> fucking is old indeed 2013-01-18T16:41:51 <+Steffanx> You probably wouldn't exists without it 2013-01-18T16:43:13 < Laurenceb_> lol 2013-01-18T16:44:20 < zyp> the correct response now is «you would, because I can't believe that anyone would fuck your mother» 2013-01-18T16:45:02 <+Steffanx> Good old mother jokes 2013-01-18T16:56:22 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2013-01-18T16:56:56 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-18T16:58:59 -!- Netsplit *.net <-> *.split quits: Vutral, CoolBear, Rious 2013-01-18T16:59:03 -!- Netsplit over, joins: CoolBear 2013-01-18T17:00:50 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Quit: Leaving] 2013-01-18T17:01:05 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2013-01-18T17:12:43 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-18T17:13:02 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-18T17:17:50 -!- KennyMcCormic [~Kenny@94.28.215.35] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-18T17:18:38 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-18T17:31:09 < emeb_mac> Here's what you've been waiting for: http://www.espruino.com/ 2013-01-18T17:32:47 <+Steffanx> Could've been nice. Except for the name :P 2013-01-18T17:33:44 < gxti> i missed the language FEATURES part and was briefly worried that someone had created a programming language called "objects" and/or "garbage collection" 2013-01-18T17:33:48 < gxti> sort of like "processing" 2013-01-18T17:34:13 < gxti> which is also a terrible name 2013-01-18T17:34:53 <+Steffanx> Where do you see anything about "features" gxti ? 2013-01-18T17:35:29 < gxti> the second sentence on that page 2013-01-18T17:37:12 <+Steffanx> No source code :?! 2013-01-18T17:37:30 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-18T17:38:15 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-18T17:39:18 < gxti> closed sores is the new open sores 2013-01-18T17:39:55 < karlp> heh, recommend using texane for flashing. 2013-01-18T17:39:58 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 272 seconds] 2013-01-18T17:40:02 < karlp> pray current tree works. 2013-01-18T17:40:05 <+Steffanx> :P 2013-01-18T17:40:07 < karlp> cos it's busted for l1 right now. 2013-01-18T17:40:24 <+Steffanx> Best open sores project ever 2013-01-18T17:40:28 < karlp> absolutely 2013-01-18T17:40:33 < karlp> have all the sores! 2013-01-18T17:40:44 < gxti> the important thing is that there are sores 2013-01-18T17:40:44 < karlp> and the pick at them, so they never heal! 2013-01-18T17:43:15 <+Steffanx> Heh… the good old times. A video from 1999 about mobile phones. No one interviewed in the video was really interested in one :D 2013-01-18T17:43:58 < gxti> mobile phones? what a silly idea 2013-01-18T17:44:44 <+Steffanx> It actually is imho :) 2013-01-18T17:44:57 < gxti> nobody will buy them 2013-01-18T17:45:20 < gxti> now a device that can play games and send brief textual messages, that might work. but a phone? 2013-01-18T17:46:56 <+Steffanx> Yes, It would be #$% annoying when you can talk to people EVERYWHERE 2013-01-18T17:46:58 < dirty_d> i ordered an stm32f3disconvery, is there a good tutorial on getting started? 2013-01-18T17:47:05 <+Steffanx> *people can talk to you 2013-01-18T17:47:19 <+Steffanx> *call 2013-01-18T17:54:09 <+Steffanx> http://hackaday.com/2012/09/27/stm32-f4-discovery-tutorial-using-open-source-tools/ F4 = F3 in this case dirty_d :) 2013-01-18T17:54:21 < gxti> so F3 is a M4 in a F1 footprint, and F2 is a M3 in a F4 footprint. nutty. 2013-01-18T17:54:30 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-18T17:54:38 <+Steffanx> Also take a look at the examples. ( For people who like to use the peripheral lib :P ) 2013-01-18T17:54:45 <+Steffanx> http://www.st.com/internet/evalboard/product/254044.jsp 2013-01-18T17:54:52 <+Steffanx> "Design support" 2013-01-18T17:55:18 < dirty_d> ok 2013-01-18T17:55:28 < dirty_d> i was looking at the "user guide" 2013-01-18T17:55:49 < dirty_d> it definitely doesnt look as simple as programming an avr, lol 2013-01-18T17:56:03 < dirty_d> do most people not use the peripheral lib? 2013-01-18T17:56:17 < dirty_d> i was perfectly happy just reading/writing registers on avr 2013-01-18T17:56:33 <+Steffanx> You can write to registers as well if you want too 2013-01-18T17:56:34 <+Steffanx> :) 2013-01-18T17:57:23 <+Steffanx> -o 2013-01-18T18:02:29 < dirty_d> if you had to, you can still use doubles, it would just be done in software using 32-bit hardware floats right? 2013-01-18T18:04:32 < zyp> well, it would be done in software 2013-01-18T18:06:33 < dirty_d> yea 2013-01-18T18:09:47 -!- barthess [~barthess@178.154.10.211] has joined ##stm32 2013-01-18T18:11:02 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-18T18:13:31 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-18T18:17:09 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-18T18:26:16 < zippe> dirty_d: double is 64 bits on ARM 2013-01-18T18:27:10 < dirty_d> zippe, right 2013-01-18T18:27:28 < dirty_d> but the fpu is 32-bit 2013-01-18T18:27:46 < dirty_d> i was just trying to figure out how much slower double math would be than single 2013-01-18T18:28:13 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-18T18:28:19 < gxti> i presume that extending floats is considerably harder than extending ints, but i don't know how it would actually work 2013-01-18T18:28:22 * emeb wonders how many applications really need double 2013-01-18T18:28:46 < dirty_d> probably not many 2013-01-18T18:29:37 < gxti> for some reason i implemented a 24x24 bit unsigned multiply in dspic30 assembler, that made my head hurt for a little while 2013-01-18T18:30:00 < gxti> it only has 8x8 2013-01-18T18:30:13 < emeb> err... dsPIC is a 16-bit machine. 2013-01-18T18:30:22 < emeb> with a 16x16->32 multiplier 2013-01-18T18:30:22 < gxti> yeah you're right, 16x16. still made my head hurt. 2013-01-18T18:30:28 < gxti> can't keep all that old shit straight 2013-01-18T18:30:46 < emeb> no doubt. although dsPIC is a fairly sane ISA. Could have been worse. 2013-01-18T18:33:15 < dirty_d> so what is "gpio speed"? 2013-01-18T18:33:23 < dirty_d> i see it being set to 100MHz in an example 2013-01-18T18:33:37 < gxti> edge rate 2013-01-18T18:33:53 < gxti> lower speed = slower edges = less EMI and psu noise 2013-01-18T18:34:20 < dirty_d> so why isnt it just calld rise time? 2013-01-18T18:34:25 < dirty_d> or something 2013-01-18T18:35:44 < gxti> ask st 2013-01-18T18:37:56 < emeb> and be prepared to wait... and wait... 2013-01-18T18:39:08 < dirty_d> lol 2013-01-18T18:39:44 < gxti> also you can't call it "100mhz rise time" so it would be in ns or something and then you'd have to think about it when deciding what to choose 2013-01-18T18:39:56 < gxti> and thinking sucks 2013-01-18T18:40:05 < dirty_d> i meant in ns 2013-01-18T18:40:08 < emeb> ow. my brain hurts. 2013-01-18T18:40:11 < dirty_d> not freq 2013-01-18T18:40:18 < gxti> yeah i said that 2013-01-18T18:40:24 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )] 2013-01-18T18:40:32 < dirty_d> ok 2013-01-18T18:40:43 < gxti> bbl, hot food injection 2013-01-18T18:41:02 < dirty_d> hopefully it goes in your mouth 2013-01-18T18:41:10 < emeb> ew 2013-01-18T18:41:15 < dirty_d> lol 2013-01-18T18:45:20 < dirty_d> hmm, looks like i could probaby use this board as is for a replacement quadcopter control board 2013-01-18T18:45:35 -!- dekar [~dekar@dslb-178-004-029-141.pools.arcor-ip.net] has quit [Ping timeout: 252 seconds] 2013-01-18T18:45:35 < dirty_d> thta would be a good first project 2013-01-18T18:51:35 < karlp> there's already youtube videos of exactly that... 2013-01-18T18:52:54 < dirty_d> cool 2013-01-18T18:53:25 < zippe> dirty_d: float x float multiply is a handful of cycles 2013-01-18T18:53:43 < zippe> double x double multiply is on the order of microseconds 2013-01-18T18:53:46 < dirty_d> zippe, 14 i believe 2013-01-18T18:53:53 < dirty_d> no 2013-01-18T18:53:54 < dirty_d> 1 2013-01-18T18:53:57 < dirty_d> divide is 14 2013-01-18T18:55:05 < zippe> (I am working from memory; we looked at this about a year back when deciding to force single-precision on everything) 2013-01-18T19:03:17 < dirty_d> maybe this will motivate me to actually get it flying 2013-01-18T19:03:33 < dirty_d> i made a control board with an xmega, but i still havent tuned it enough to fly 2013-01-18T19:04:11 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has joined ##stm32 2013-01-18T19:12:42 < dirty_d> any of you using archlinux? 2013-01-18T19:15:40 < emeb> nope - fedora and ubuntu here. 2013-01-18T19:16:08 < dirty_d> ok, figured it out anyway. Needed to link with the hardfp libs 2013-01-18T19:16:37 < emeb> that's easy: https://launchpad.net/gcc-arm-embedded 2013-01-18T19:16:48 < dirty_d> wouldve made more sense to name the directory hardfp instead of fpu! 2013-01-18T19:18:21 < dirty_d> yea there was already a gcc-arm-none-eabi package that works fine 2013-01-18T19:20:19 < Laurenceb_> is that launchpad gcc any good? 2013-01-18T19:20:55 < karlp> the 4.7 with --specs=nano.specs is. yes. 2013-01-18T19:22:00 < Laurenceb_> better than tnt? 2013-01-18T19:22:14 < karlp> no clue, to hell with building toolcahins all the time, 2013-01-18T19:22:18 < dirty_d> VFPv4-D16 is right for stm32f3 right? 2013-01-18T19:22:19 < karlp> much better than 4.6 2013-01-18T19:22:44 < karlp> should do the right thing magically with -mcpu=cortex-m4f 2013-01-18T19:22:48 < Laurenceb_> heh 2013-01-18T19:23:09 < dirty_d> ill try that and stt if it changes 2013-01-18T19:24:20 < dirty_d> karlp, unrecognized argument 2013-01-18T19:24:37 < karlp> actually, https://launchpadlibrarian.net/126639247/readme.txt says you should use -mfpu= too 2013-01-18T19:24:43 < dirty_d> i have 4.7.3 2013-01-18T19:24:44 < karlp> just do whatever theys ay, not whatever I say :) 2013-01-18T19:24:48 < dirty_d> lol, ok 2013-01-18T19:25:15 < karlp> -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 2013-01-18T19:25:27 < dirty_d> ok, had it right the first time 2013-01-18T19:25:29 < karlp> though I really would have thought that -mthumb would not be required. 2013-01-18T19:26:47 < dirty_d> sweet, step #1 done, i can compile code for it 2013-01-18T19:27:07 < dirty_d> i guess i can use the official openocd now that it sais it supports the discovery board 2013-01-18T19:27:40 < karlp> yeah, 0.6.1 works pretty decently here, 2013-01-18T19:27:46 < karlp> once you get past the tcl 2013-01-18T19:28:29 < karlp> texane/stlink apparently just got f3 support too, but that might.be.flaky... 2013-01-18T19:29:00 < dirty_d> so if i were using bare chips on my own board, what options do i have for programming them? 2013-01-18T19:29:42 < dirty_d> i can still use usb right? 2013-01-18T19:29:43 < emeb> what would limit your options? 2013-01-18T19:29:51 < dirty_d> well i mean, do i need a programmer? 2013-01-18T19:30:02 < emeb> you have an st-link? 2013-01-18T19:30:18 < dirty_d> i have nothing at all now, ill have a stm32f3discovery soon 2013-01-18T19:30:30 < emeb> you can use the f3disco to program other boards 2013-01-18T19:31:05 < dirty_d> whats f3disco 2013-01-18T19:31:22 < emeb> stm32f3discovery 2013-01-18T19:31:28 < dirty_d> oh duh 2013-01-18T19:31:39 < emeb> it's got a 6-pin SWD header on it. 2013-01-18T19:31:43 < dirty_d> ahh ok 2013-01-18T19:31:47 < dirty_d> nice 2013-01-18T19:31:49 < emeb> just move two jumpers and it talks off-board 2013-01-18T19:31:57 < dirty_d> so then i just need a 6 pin jumper on my boards? 2013-01-18T19:32:00 < emeb> put a matching jumper on your target board. 2013-01-18T19:32:03 < dirty_d> ok 2013-01-18T19:32:40 < emeb> or go with the more standard 10-pin mini JTAG connector, but then you'd need a converter board or cable. 2013-01-18T19:32:46 < dirty_d> this is actually cheaper to get up and running than with avr 2013-01-18T19:32:52 < dirty_d> unless you made your own programmer 2013-01-18T19:32:52 < emeb> yep 2013-01-18T19:33:27 < emeb> the $7 f0disco would also work for programming - cheaper still 2013-01-18T19:34:16 < dirty_d> i think i iverpaid for mine, it was $14 on mouser, then i saw it for $10 on digikey 2013-01-18T19:34:32 < emeb> ya - pays to shop around a little. 2013-01-18T19:34:41 < dirty_d> yea 2013-01-18T19:50:29 < Laurenceb_> f3disco is a kind of disco held in the part van 2013-01-18T19:50:32 < Laurenceb_> *party 2013-01-18T19:51:07 < gxti> yeah, i've been using a f4disco for programming. they all have the same stlink v2 chip. 2013-01-18T19:51:40 < gxti> which of course is just a f0 or something, haven't looked too closely 2013-01-18T19:51:54 < karlp> f0,f3,f4,l1 all have stlinkv2 and are decent choices for programming dongles. f1 disco works too, but has no SWV/SWO support 2013-01-18T19:51:57 < gxti> with the secret sauce on it, by which i mean "i am a key, wawawa" 2013-01-18T19:52:15 < karlp> f103 on all I've looked at. 2013-01-18T19:52:34 < karlp> which was fun for the f100vl disco, as the debugger was much more powerful that the part you were evaluating 2013-01-18T19:52:50 < emeb> heh 2013-01-18T19:53:25 < emeb> f100vl rules! I've got a couple products out there on that part. Cheap & capable. 2013-01-18T19:55:27 < karlp> I like it too. 2013-01-18T19:56:17 < karlp> f0 is still failing hard on price promises 2013-01-18T19:57:00 < emeb> yeah - what's up w/ that? 2013-01-18T20:01:57 < Laurenceb_> http://www.digikey.co.uk/product-detail/en/STM32F050K4U6A/497-12945-ND/3193380 2013-01-18T20:02:04 < Laurenceb_> close to the cheapest micro on diigkey 2013-01-18T20:02:07 -!- _BJFreeman [~bjfree@58.sub-75-196-106.myvzw.com] has joined ##stm32 2013-01-18T20:02:16 < Laurenceb_> cheapest is a pic10f iirc 2013-01-18T20:02:35 -!- _BJFreeman is now known as BJFreeman 2013-01-18T20:02:47 < emeb> faster than VL too 2013-01-18T20:03:51 < emeb> but M0 instead of M3, so it will need more cycles to do the same task due to ISA issues. 2013-01-18T20:09:08 < Laurenceb_> http://news.bbcimg.co.uk/media/images/65373000/jpg/_65373741_fear_comp.jpg 2013-01-18T20:09:13 < Laurenceb_> ill just leave this here 2013-01-18T20:09:59 < emeb> yeah - that guy has been doing that for a while - lots of different poses from book covers. 2013-01-18T20:10:24 < Laurenceb_> im worried that you know that 2013-01-18T20:10:53 < emeb> He got into a competition a few months back with an author I follow: http://www.jimchines.com/2012/12/christmas-pose-off-lights-vs-tights/ 2013-01-18T20:11:27 <+Steffanx> I worried that you think you should post crap like that here Laurenceb_ 2013-01-18T20:12:27 <+Steffanx> *I'm 2013-01-18T20:26:36 -!- dekar [~dekar@212.255.248.226] has joined ##stm32 2013-01-18T20:26:39 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-18T21:02:14 < dirty_d> if i wanted to use a stm32f3 for a motor controller that does per PWM period current limiting, would this be a good idea: use embedded op-amp to amplify current sense shunt voltage, connect op-amp output to comparator input, and DAC output to other input, on comparator interrupt set PWM output pin to low and disable comparator interrupt, on PWM "overflow" interrupt re-enable comparator output. use DAC to control current limit 2013-01-18T21:03:58 < jpa-> you could also use the DAC in triangle wave mode, so the comparator output will be "automatically" pwn 2013-01-18T21:04:02 < jpa-> *pwm 2013-01-18T21:04:17 < jpa-> it would also respond faster to changes in the current shunt voltage 2013-01-18T21:06:17 < dirty_d> hmm 2013-01-18T21:07:30 -!- Niedar [~nnscript@ip68-231-248-182.hr.hr.cox.net] has quit [Ping timeout: 240 seconds] 2013-01-18T21:08:51 < dirty_d> how would that work? 2013-01-18T21:09:29 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-18T21:13:00 < emeb> or just read the current feedback w/ ADC & set limits in digits. 2013-01-18T21:13:09 < jpa-> that also 2013-01-18T21:13:31 < jpa-> dirty_d: the triangle wave pwm stuff is a standard class D amplifier thing 2013-01-18T21:15:04 < dirty_d> emeb, wouldnt that be a lot slower to respond? 2013-01-18T21:15:20 < dirty_d> you have to wait for the ADC sample to finish then check it 2013-01-18T21:15:24 < jpa-> what pwm frequency are you aiming at anyway? 2013-01-18T21:15:37 < dirty_d> whereas you only have to wait for the comparator propagationdelat and interrupt execution the other way 2013-01-18T21:15:40 < jpa-> don't the ADCs go up to 1MSps or more 2013-01-18T21:15:48 < dirty_d> hmm true 2013-01-18T21:15:57 < dirty_d> 20 - 24khz maybe 2013-01-18T21:16:06 < dirty_d> this is mostly hypothetical right now 2013-01-18T21:16:40 < jpa-> ah, actually i only now fully understood your proposed method 2013-01-18T21:17:12 < dirty_d> ok 2013-01-18T21:17:20 < jpa-> unfortunately i'm not familiar enough with motor control to comment on the details 2013-01-18T21:17:36 < jpa-> i.e. maybe you want to integrate the current or maybe not 2013-01-18T21:17:54 < dirty_d> hmm, theres also a PWM fault pin 2013-01-18T21:18:02 < dirty_d> i guess you can send the comparator output to that 2013-01-18T21:19:20 < emeb> dirty_d: on the f303 the ADCs can run at > 5MHz 2013-01-18T21:19:39 < jpa-> check if st has any appnotes on current limiting for motor control 2013-01-18T21:19:42 < dirty_d> ok so then thats less of an issue 2013-01-18T21:19:42 < emeb> hopfully 200ns is fast enough to respond to whatever your motor is doing... 2013-01-18T21:19:48 < dirty_d> yea it is 2013-01-18T21:20:15 < dirty_d> i like the idea of the comparator output straight to the pwm fault pin though 2013-01-18T21:20:28 < dirty_d> then there arent even any interrupts or anything involved 2013-01-18T21:30:52 -!- DaKu is now known as daku 2013-01-18T22:38:00 < dirty_d> hmm, im confused 2013-01-18T22:38:10 < dirty_d> HSI/2 can be the input to the PLL 2013-01-18T22:38:15 < dirty_d> HSI is 8Mhz 2013-01-18T22:38:36 < dirty_d> you need a multiplication of 18 to get 72MHz from 4MHz 2013-01-18T22:38:46 < dirty_d> 16 is the max 2013-01-18T22:42:21 < emeb> which part are you looking at? 2013-01-18T22:42:45 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2013-01-18T22:44:09 < dirty_d> stm32f3vc 2013-01-18T22:44:15 < dirty_d> 303vc 2013-01-18T22:44:39 < emeb> yeah. looks like only HSE can go in at /1. 2013-01-18T22:44:47 < emeb> never tried it w/ only HSI 2013-01-18T22:48:38 < dirty_d> i guess you just cant get 72MHz with the internal clocks? 2013-01-18T22:49:44 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:4c2e:cb43:1c2a:b00] has joined ##stm32 2013-01-18T22:52:05 < dirty_d> 64MHz is fast enough 2013-01-18T22:52:44 < dirty_d> not sure if this si a typo: 1110: PLL input clock x 16, 1111: PLL input clock x 16 2013-01-18T22:55:14 < dirty_d> nope 2013-01-18T22:59:32 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-18T23:03:40 -!- barthess [~barthess@178.154.10.211] has quit [Quit: Leaving.] 2013-01-18T23:07:01 < zyp> you tested? 2013-01-18T23:07:25 < zyp> I've been wondering about the same 2013-01-18T23:14:13 < dirty_d> no i dont have one yet 2013-01-18T23:14:28 < dirty_d> but theres nothing higher than 16 in the header files 2013-01-18T23:15:11 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 255 seconds] 2013-01-18T23:24:16 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:4c2e:cb43:1c2a:b00] has quit [Remote host closed the connection] 2013-01-18T23:28:29 -!- emeb_droid [~androirc@wsip-184-186-218-22.ph.ph.cox.net] has joined ##stm32 2013-01-18T23:29:01 < emeb_droid> Yawn 2013-01-18T23:29:17 < dirty_d> hmm, after more reading the comparator output can be configured to the timers OCrefclr 2013-01-18T23:29:29 < dirty_d> seems like the best solution 2013-01-18T23:29:33 < dirty_d> these things are pretty neat 2013-01-18T23:29:39 < dirty_d> pretty complicated but you cna do a lot 2013-01-18T23:30:42 < emeb_droid> Yep 2013-01-18T23:35:54 < dirty_d> sweet 2013-01-18T23:35:58 < dirty_d> 4:30, time to gtfo 2013-01-18T23:36:00 < dirty_d> later 2013-01-18T23:36:03 -!- dirty_d [~andrew@209-213-71-70.meganet.net] has quit [Quit: Leaving] 2013-01-18T23:38:48 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-18T23:41:13 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2013-01-18T23:52:12 -!- jef79m_lurking is now known as jef79m --- Day changed Sat Jan 19 2013 2013-01-19T00:05:34 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-19T00:19:45 -!- emeb_droid [~androirc@wsip-184-186-218-22.ph.ph.cox.net] has quit [Ping timeout: 248 seconds] 2013-01-19T00:37:51 -!- dirty_d [~Andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-19T00:49:07 < badger> can anyone give me a suggestion for encoding serial data (maybe 1kbps) into audio frequencies to be input to a camera on an F4? 2013-01-19T00:49:35 < badger> a hacky way to generate FSK 2013-01-19T01:00:57 -!- jef79m is now known as jef79m_lurking 2013-01-19T01:08:25 -!- jef79m_lurking is now known as jef79m 2013-01-19T01:16:32 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-19T01:18:23 -!- mirrorbird [~no@host86-174-188-81.range86-174.btcentralplus.com] has joined ##stm32 2013-01-19T01:19:13 -!- jef79m is now known as jef79m_lurking 2013-01-19T01:19:15 -!- mirrorbird [~no@host86-174-188-81.range86-174.btcentralplus.com] has left ##stm32 [] 2013-01-19T01:25:26 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-19T01:25:51 < BJFreeman> assuming you hve decoded the serial to bytes that would by 800bps 2013-01-19T01:26:12 < BJFreeman> or 80 bytes persec 2013-01-19T01:27:08 < BJFreeman> the part I am not clear on is the audio into the camera unless you talking about video with sound 2013-01-19T01:31:42 < Laurenceb_> badger: wtf 2013-01-19T01:31:54 < Laurenceb_> " audio frequencies to be input to a camera on an F4" 2013-01-19T01:32:04 < Laurenceb_> i really dont follow 2013-01-19T01:36:25 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-19T01:39:32 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2013-01-19T01:48:12 -!- jef79m_lurking is now known as jef79m 2013-01-19T02:14:20 < dirty_d> so on a 4 channel timer you can only measure two PWM inputs right? 2013-01-19T02:14:31 < dirty_d> since you ned two compare registers for each PWM signal 2013-01-19T02:16:44 < gxti> i don't think you can do two at once, since the capture resets the tiemr 2013-01-19T02:16:46 -!- Laurenceb_ [~Laurence@host86-177-213-221.range86-177.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-19T02:17:04 < gxti> i haven't done that before though, just read the reference manual 2013-01-19T02:17:29 < gxti> if they are both generated from the same signal then maybe you can cheat 2013-01-19T02:17:32 < gxti> s/signal/source/ 2013-01-19T02:21:47 < dirty_d> gxti, oh yea crap 2013-01-19T02:21:54 < dirty_d> i had that problem on the xmega too 2013-01-19T02:22:09 < dirty_d> i had to use 4 timers for 4 servo pulse inputs 2013-01-19T02:22:44 < zyp> that's not really a problem 2013-01-19T02:22:57 < emeb> I was just about to say - ask zyp. 2013-01-19T02:23:39 < dirty_d> zyp, what would you do? 2013-01-19T02:23:43 < zyp> just let the timer be free running and let each channel trigger from both edges 2013-01-19T02:24:03 < zyp> i.e. trigger on rising edge, then swap polarity in ISR 2013-01-19T02:24:20 < zyp> since servo pulses are minimum 1ms you'll have enough time for that 2013-01-19T02:24:30 < gxti> or do two per, then you can capture both edges without changing config 2013-01-19T02:24:50 < gxti> you CAN feed two inputs to four channels, just not with the event-reset stuff because they stomp on each other 2013-01-19T02:25:13 < zyp> or depending on the source you can just or or and them together and use a single pair 2013-01-19T02:25:21 < zyp> like I do 2013-01-19T02:26:14 < zyp> http://bin.jvnv.net/f/SkMsg.JPG <- I put some transistors in my receiver to do that 2013-01-19T02:26:27 < dirty_d> hmm 2013-01-19T02:27:00 < gxti> aww yiss 2013-01-19T02:27:02 < zyp> it works because the transmitter sends all channels sequentially 2013-01-19T02:27:07 < zyp> receiver* 2013-01-19T02:27:09 < dirty_d> ahh yes 2013-01-19T02:28:05 < zyp> http://bin.jvnv.net/f/LzwZB.png <- it ends up as a NOR actually 2013-01-19T02:28:13 < dirty_d> so you just store the counter value in the isr and calculate pulse width yourself? 2013-01-19T02:28:42 < zyp> no, since I'm only using a single channel I dedicate a timer to it 2013-01-19T02:29:06 < zyp> but in either case, input capture takes care of the storing for you 2013-01-19T02:29:10 < zyp> that's the capture part 2013-01-19T02:29:49 < zyp> http://cgit.jvnv.net/suzumebachi/tree/drivers/ppmsum.cpp <- code to handle it looks like this 2013-01-19T02:31:21 < dirty_d> ok ill take a look 2013-01-19T02:31:24 < dirty_d> thanks 2013-01-19T02:32:37 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-19T02:33:35 < dirty_d> im not sure if dsm2 radios send the pulses sequentially like that 2013-01-19T02:37:42 -!- jef79m is now known as jef79m_lurking 2013-01-19T02:39:58 < dirty_d> no, i guess they're not sequential 2013-01-19T02:42:39 < zyp> this is from the stuff that comes with turnigy 9x 2013-01-19T02:42:56 < zyp> I had some even cheaper stuff before, that was also sequential 2013-01-19T02:43:05 < zyp> so it seems to be rather common 2013-01-19T02:44:00 < zyp> on the other hand, if every pulse starts at the same time, you don't need to measure the starting time of each pulse ;) 2013-01-19T02:45:33 < dirty_d> well, worst comes to worse i can use TIM2, TIM3, TIM4, and TIM15 for the 4 radio channels 2013-01-19T02:45:45 < dirty_d> and TIM1 and 8 for output 2013-01-19T02:46:20 < dirty_d> actually just one timer for output 2013-01-19T02:46:28 < dirty_d> zyp, what is that btw? 2013-01-19T02:47:00 < zyp> the code? it's from my quadrotor controller project 2013-01-19T02:47:22 < dirty_d> neat, i made one with an xmega 2013-01-19T02:47:29 < dirty_d> i still havent flown the damn thing though 2013-01-19T02:47:41 < dirty_d> it works, i just havent spent any time tuning the PID 2013-01-19T02:48:04 < dirty_d> it should be able to lift about 10 -15 pounds 2013-01-19T02:48:25 < dirty_d> http://www.youtube.com/watch?v=cBCbTRqPMTY 2013-01-19T02:49:22 < dirty_d> doing all the math with integers wasnt any fun 2013-01-19T02:49:41 < zyp> :) 2013-01-19T02:49:59 < gxti> disregard fixed point, aquire F3 2013-01-19T02:50:12 < zyp> I'm using F4 on the controller board 2013-01-19T02:50:39 < gxti> f4 is cool too. 2013-01-19T02:50:44 < zyp> though, the new controller board haven't really flown yet :p 2013-01-19T02:51:00 < gxti> i am too lazy to do flying stuff 2013-01-19T02:51:01 < GargantuaSauce> I love it when propellers fly off 2013-01-19T02:51:06 < gxti> they are noisy and require lots of space 2013-01-19T02:51:08 < GargantuaSauce> I have a bunch of gouges in my ceiling 2013-01-19T02:51:27 < dirty_d> lol 2013-01-19T02:51:34 < dirty_d> yea i got the f3 discovery 2013-01-19T02:51:38 < dirty_d> well, waiting for it 2013-01-19T02:51:42 < zyp> the only quadrotor of mine that has seen much flying so far was the first generation 2013-01-19T02:51:51 < zyp> when I was still using chibios and everything :p 2013-01-19T02:52:00 < zyp> and maple, with a F1 :p 2013-01-19T02:52:03 < zyp> http://bin.jvnv.net/f/PT6Z4.jpg 2013-01-19T02:52:26 < gxti> was chibios problematic? 2013-01-19T02:52:49 < GargantuaSauce> I found it pretty inflexible 2013-01-19T02:53:14 < zyp> not really problematic 2013-01-19T02:53:24 < zyp> but it was before it had a stable i2c driver 2013-01-19T02:53:31 < gxti> it suits my needs but i'm using it to do ethernet stuff, not quadcopters :p 2013-01-19T02:53:33 < zyp> and I didn't really like the code architecture 2013-01-19T02:55:27 < zyp> it simply didn't suit my C++ style very well 2013-01-19T02:55:38 < zyp> or something like that 2013-01-19T02:56:13 < zyp> http://bin.jvnv.net/f/s7d0k.jpg <- anyway, it worked decently enough to get it flying 2013-01-19T02:56:39 < dirty_d> http://www.youtube.com/watch?v=X7QWYlmePCI 2013-01-19T02:56:42 < dirty_d> thats crazy 2013-01-19T02:58:33 < gxti> NZers yelling sounds funny :p 2013-01-19T03:00:05 < dirty_d> yes it does 2013-01-19T03:01:21 < dirty_d> zyp, what imu did you use? 2013-01-19T03:01:44 < zyp> huh? 2013-01-19T03:01:47 < zyp> you mean sensors? 2013-01-19T03:02:35 < zyp> itg3200/bma150 on first/second gen, l3gd20/lsm303dlm on third gen 2013-01-19T03:02:45 < dirty_d> i used mps6050 2013-01-19T03:02:55 < zyp> http://bin.jvnv.net/f/sTW8U.JPG <- third gen board looks like this 2013-01-19T03:03:05 < dirty_d> its got a 16-bit 3axis gyro and accel 2013-01-19T03:03:19 < dirty_d> at 1kHz 2013-01-19T03:03:19 < dirty_d> pretty neat 2013-01-19T03:03:19 < dirty_d> but $10 2013-01-19T03:03:27 < zyp> mpu60x0 weren't very available when I designed the board 2013-01-19T03:03:43 < zyp> and the accelerometer in it is not said to be very good 2013-01-19T03:04:01 < zyp> not sure lsm303dlm is either though :p 2013-01-19T03:04:12 < gxti> shmexy 2013-01-19T03:04:34 < dirty_d> zyp, what kind of problems does it have? 2013-01-19T03:04:47 < dirty_d> in the mpu6050 2013-01-19T03:05:03 < zyp> ask Laurenceb, he likes complaining about how bad it is :) 2013-01-19T03:08:39 < dirty_d> that looks nice, this was mine, http://i1186.photobucket.com/albums/z372/dirty_d2285/Quadcopter/IMG_0894.jpg 2013-01-19T03:14:19 -!- dirty_d [~Andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-19T03:14:37 -!- dirty_d [~Andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-19T03:15:11 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-19T03:15:34 < FransWillem> If I do LSL A3, A3, #1, is there any way to branch if the just shifted-out bit was 1 ? 2013-01-19T03:16:09 < GargantuaSauce> I don't have any nice pictures yet because I'm doing my darndest to bite off more than I can chew by 3d printing the frame in addition to writing the control software 2013-01-19T03:17:23 < zyp> FransWillem, if you do LSLS, the shifted out bit will be put into the C flag 2013-01-19T03:19:29 < dirty_d> i just made a cnc mill, i could probably make a pretty cool aluminum frame 2013-01-19T03:24:02 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-19T03:27:33 -!- jef79m_lurking is now known as jef79m 2013-01-19T03:28:19 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-19T03:59:41 < FransWillem> BL Hello jumps to Hello, and saves the next instruction in LR, but does it store the old LR somewhere or is that your own responsibility ? 2013-01-19T04:01:15 < Thorn> you need to push lr first if required 2013-01-19T04:01:41 < FransWillem> Ah, so that's what was going wrong :p 2013-01-19T04:01:43 < Thorn> I think it's a part of ARM ABIs 2013-01-19T04:01:54 < FransWillem> Used to x86's CALL operation 2013-01-19T04:04:17 < FransWillem> Could anyone take a quick look and tell if I'm on the right track with this: http://pastebin.com/yPDvM7B5 ? 2013-01-19T04:13:47 -!- dekar_ [~dekar@212.255.243.141] has joined ##stm32 2013-01-19T04:13:48 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-19T04:15:48 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 248 seconds] 2013-01-19T04:17:06 -!- dekar [~dekar@212.255.248.226] has quit [Ping timeout: 252 seconds] 2013-01-19T04:38:24 -!- jef79m is now known as jef79m_lurking 2013-01-19T04:38:59 -!- jef79m_lurking is now known as jef79m 2013-01-19T04:49:29 -!- jef79m is now known as jef79m_lurking 2013-01-19T05:01:44 -!- jef79m_lurking is now known as jef79m 2013-01-19T05:01:52 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-19T05:02:46 -!- jef79m is now known as jef79m_lurking 2013-01-19T05:08:45 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-19T05:14:26 -!- dirty_d [~Andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Quit: Leaving] 2013-01-19T06:09:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-19T06:37:31 -!- Aaron [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2013-01-19T06:37:57 -!- Aaron is now known as Guest33196 2013-01-19T06:41:48 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-19T06:41:57 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-19T06:57:32 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:787b:82f8:29d3:b348] has joined ##stm32 2013-01-19T07:00:01 -!- BJFreeman [~bjfree@58.sub-75-196-106.myvzw.com] has quit [Quit: had a good time] 2013-01-19T07:00:31 -!- Guest33196 [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2013-01-19T07:04:45 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:787b:82f8:29d3:b348] has quit [Remote host closed the connection] 2013-01-19T07:06:21 -!- jef79m_lurking is now known as jef79m 2013-01-19T07:23:04 -!- jef79m is now known as jef79m_lurking 2013-01-19T07:25:14 < emeb_mac> quiet night. Trolls are all in bed... 2013-01-19T07:39:33 < GargantuaSauce> the arduino is a legitimate and useful microcontroller platform 2013-01-19T07:40:26 < dongs> ha ha 2013-01-19T07:45:49 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2013-01-19T07:45:55 -!- cjbaird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-19T07:51:55 < emeb_mac> too obvious 2013-01-19T07:53:52 -!- cjbaird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has quit [Ping timeout: 256 seconds] 2013-01-19T07:57:42 -!- cjbaird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-19T08:04:17 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-19T08:10:59 < dongs> do you think i can use 1M R1 and 220K R2 with http://www.onsemi.com/pub_link/Collateral/NCP1521-D.PDF ? 2013-01-19T08:22:31 < Simon--> 3.327V? 2013-01-19T08:22:34 < Simon--> should work 2013-01-19T08:24:34 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-19T08:38:36 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-19T09:23:19 -!- dekar__ [~dekar@212.255.246.95] has joined ##stm32 2013-01-19T09:23:21 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-01-19T09:24:18 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-19T09:26:15 -!- cjbaird is now known as baird 2013-01-19T09:27:21 -!- dekar_ [~dekar@212.255.243.141] has quit [Ping timeout: 256 seconds] 2013-01-19T09:27:30 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-19T09:28:33 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 248 seconds] 2013-01-19T09:31:50 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-19T09:32:13 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 245 seconds] 2013-01-19T09:37:09 -!- badger [~tom@cxkg.net] has quit [Ping timeout: 276 seconds] 2013-01-19T09:37:54 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-19T09:38:31 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-19T09:40:33 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 245 seconds] 2013-01-19T09:42:50 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-19T09:43:16 -!- badger [~tom@cxkg.net] has quit [Ping timeout: 248 seconds] 2013-01-19T09:43:28 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 245 seconds] 2013-01-19T09:44:48 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-19T10:24:46 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-19T10:30:49 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-19T10:50:27 -!- barthess [~barthess@77.67.212.51] has joined ##stm32 2013-01-19T10:52:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-19T10:57:36 -!- Aaron [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2013-01-19T10:58:01 -!- Aaron is now known as Guest66664 2013-01-19T11:01:28 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-19T11:03:44 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-01-19T11:04:34 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-19T11:04:35 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-19T11:04:35 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-19T11:04:38 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-19T11:05:26 <+Steffanx> http://www.downforeveryoneorjustme.com/downforeveryoneorjustme.com hmmm, no luck :( 2013-01-19T11:25:18 -!- Guest66664 is now known as AaronMc 2013-01-19T11:28:24 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-19T11:31:45 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2013-01-19T11:58:23 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-19T12:17:04 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has quit [Remote host closed the connection] 2013-01-19T12:20:11 -!- ossifrage [~ossifrage@c-71-224-59-2.hsd1.pa.comcast.net] has joined ##stm32 2013-01-19T12:21:39 < dongs> Simon--: just wondering if thats within limits for that thing 2013-01-19T12:21:51 < dongs> it says "max 3,3V", etc, and recomends R2 to be between 100k..600k 2013-01-19T12:22:00 < dongs> duno if same range applies to R1 as well. 2013-01-19T12:29:06 -!- AaronMc [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2013-01-19T12:30:42 -!- jef79m_lurking is now known as jef79m 2013-01-19T12:32:27 -!- jef79m is now known as jef79m_lurking 2013-01-19T12:42:49 < dongs> i guess since im using that c hip with other shit ill just build a 3.3V converter on it using those values and see if it works 2013-01-19T12:53:36 -!- daku is now known as DaKu 2013-01-19T13:11:03 -!- cjbaird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-19T13:11:45 -!- baird [~cjb@ppp121-44-179-167.lns20.syd7.internode.on.net] has quit [Ping timeout: 256 seconds] 2013-01-19T13:13:20 -!- cjbaird is now known as baird 2013-01-19T13:21:50 -!- Laurenceb_ [~Laurence@host86-136-119-73.range86-136.btcentralplus.com] has joined ##stm32 2013-01-19T13:30:56 -!- claude is now known as Claude 2013-01-19T13:35:58 < Posterdati> hi 2013-01-19T13:40:31 < dongs> yup 2013-01-19T13:43:28 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-19T13:45:37 < dongs> seems to work, outputting 3.29V according to my fluke 2013-01-19T13:45:50 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-19T13:48:17 < zyp> FransWillem, you are clearly on the wrong track when you try relying on instruction timing to do delay function 2013-01-19T13:49:15 < zyp> instruction timing is not fixed due to the pipelined nature of cortex-m 2013-01-19T13:50:52 < zyp> but apart from that it looks sane 2013-01-19T13:51:44 < zyp> though, I thought you had to use bx when the operand was a register 2013-01-19T13:53:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has left ##stm32 ["....."] 2013-01-19T13:53:14 < dongs> 60mV ripple 2013-01-19T13:55:06 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-19T13:55:06 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-19T13:55:06 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-19T13:55:09 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-19T13:55:10 < dongs> http://www.digikey.com/product-detail/en/LD056C106KAB2A%5C500/478-7504-2-ND/3660946 awesome capacitor 2013-01-19T13:56:54 <+Steffanx> because 2013-01-19T13:57:18 < qyx_> 3usd for 0805 cap? 2013-01-19T13:57:26 <+Steffanx> oh :P 2013-01-19T14:07:11 < dongs> apparently its not ROHS 2013-01-19T14:07:13 < dongs> and milspec 2013-01-19T14:07:15 < dongs> thats why expensive. 2013-01-19T14:07:53 < dongs> i need to buy a reel of 0805 10uF but damn its expensive :( 2013-01-19T14:07:53 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-19T14:09:40 < dongs> useless fucking mouser search can't limit tape&reel only 2013-01-19T14:10:40 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-19T14:15:19 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-19T14:28:55 < dongs> http://arduino.cc/en/Main/ArduinoStarterKitGallery lol. 2013-01-19T14:30:47 <+Steffanx> *tarduino.cc 2013-01-19T14:30:59 < dongs> that piece o fshit is 99 fucking euros 2013-01-19T14:31:16 < dongs> rage level: bulidilng 2013-01-19T14:31:18 < dongs> building rather. 2013-01-19T14:31:53 <+Steffanx> Your bloodpressure is high isn't it dongs? 2013-01-19T14:32:03 <+Steffanx> You seem to care about some things waaaay too much 2013-01-19T14:32:06 < TitanMKD> glurps 99euros the price of a parallela board ! 2013-01-19T14:32:10 < TitanMKD> ;) 2013-01-19T14:33:14 < BrainDamage> glurp it might never be made ;) ;) ;););););););) 2013-01-19T14:33:52 < dongs> ))))))))))))))))))))))) 2013-01-19T14:34:00 < dongs> HAUEaheHUAEhaeuhaeuhEAHUUHuhEUHuehauhAUHehuaUEHuhAEHUaUHeuuhahuuhehaEUeh(tm) 2013-01-19T14:34:25 < BrainDamage> more open sores stuff: http://openriscday.org/ 2013-01-19T14:34:37 < dongs> haha 2013-01-19T14:34:44 -!- DaKu is now known as daku 2013-01-19T14:35:00 -!- daku is now known as DaKu 2013-01-19T15:19:34 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-19T15:31:13 < Laurenceb_> see dongs needs some guns 2013-01-19T15:31:25 < Laurenceb_> then he could shoot shit to let off some steam 2013-01-19T15:32:24 < Laurenceb_> then we could put him on a freaky island and point and laugh 2013-01-19T15:32:35 < Laurenceb_> we could call it... japan 2013-01-19T15:32:54 < BrainDamage> 3/10 for the effort 2013-01-19T15:35:25 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-19T15:37:49 < Laurenceb_> hi pedobaird 2013-01-19T15:39:52 < baird> Been browsing mostly furporn this evening, which worries me. 2013-01-19T15:40:12 <+Steffanx> enough details: /quit 2013-01-19T15:40:27 < Laurenceb_> ##stm32, where reality is worse than fiction 2013-01-19T15:41:47 < baird> bloggingblog: looking at becoming homelessbaird in the near future-- housemate is losing her shit mentally. :/ 2013-01-19T15:44:47 <+Steffanx> You seem to be a full grown man.. perhaps its time to really live on your own :P 2013-01-19T15:45:49 < baird> Awesome, a bedsitter public housing apartment awaits me. 2013-01-19T15:48:12 < dongs> haha 2013-01-19T15:48:38 <+Steffanx> or time to find a new charl. baird 2013-01-19T15:49:07 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-19T15:50:09 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-19T15:50:46 < baird> I think the priority will be to -get the fuck out of Sydney- ... Bloody hate it being an hour's ride to escape the urban plains and go anywhere interesting. 2013-01-19T15:53:14 < baird> I'll be further away from the Farnell warehouse though, sniff. 2013-01-19T15:56:04 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-19T15:57:47 < dongs> https://youtube.com/watch?v=WnZRJjmOZb8#t=362s 2013-01-19T16:02:16 -!- dekar_ [~dekar@212.255.243.18] has joined ##stm32 2013-01-19T16:02:19 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-19T16:06:01 < dongs> zyp, in LP8545 why is there separate VBAT and +5V rails, if my shit is both 5V< why cant i have them connected togeher 2013-01-19T16:06:24 -!- dekar__ [~dekar@212.255.246.95] has quit [Ping timeout: 260 seconds] 2013-01-19T16:07:16 <+dekar_> dongs, sounds like a battery to keep the clock running whilst powered off 2013-01-19T16:07:46 < dongs> yeah but its a backlight driver. 2013-01-19T16:07:48 < dongs> its something else. 2013-01-19T16:09:53 < baird> I seem to have found the problem with the BigBoardII Z80 CP/M SBC I got last year-- the pins on a 74LS373 had nearly all rusted away. 2013-01-19T16:10:12 < dongs> thats what you get for not buying RoHS 2013-01-19T16:10:19 <+Steffanx> old trash => trash bin 2013-01-19T16:10:23 < dongs> ^ 2013-01-19T16:15:27 < baird> I had a Nintendo Game and Watch Donkey Kong somewhere. I guess it must still be hidden away underneath my Mum's place. 2013-01-19T16:15:57 <+Steffanx> underneath?! 2013-01-19T16:16:38 < dongs> caved in 2013-01-19T16:16:41 < dongs> from all his nerd gear 2013-01-19T16:16:42 < baird> the usual stash place for porn mags, duh. 2013-01-19T16:17:33 <+Steffanx> You are weird 2013-01-19T16:18:03 -!- KennyMcCormic [~Kenny@95.139.129.98] has joined ##stm32 2013-01-19T16:19:42 < KennyMcCormic> :) http://neekeetos.embedders.org/dcdc_stm32.jpg 2013-01-19T16:23:53 < baird> hand-etched pcb? 2013-01-19T16:24:48 < dongs> are you using stm32 as dcdc controller 2013-01-19T16:24:56 < dongs> or is that the shitty soic in the center 2013-01-19T16:24:59 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-19T16:25:14 < dongs> emeb_blog 2013-01-19T16:29:00 < baird> Looks like Russians still do their shit on bakelite. 2013-01-19T16:30:08 < dongs> heh 2013-01-19T16:30:20 < KennyMcCormic> its a fiberglass board 2013-01-19T16:30:29 < KennyMcCormic> stm is a dcdc for flyback 2013-01-19T16:30:41 < KennyMcCormic> soic is a 393 current comparator 2013-01-19T16:30:56 < dongs> i'm sure entire setup could be replaced by a $0.90 chip 2013-01-19T16:30:57 < dongs> :) 2013-01-19T16:31:06 < KennyMcCormic> 4 sure 2013-01-19T16:31:21 < KennyMcCormic> just i need a voltage profiles 2013-01-19T16:41:54 < emeb_mac> morning 2013-01-19T16:44:45 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-19T16:47:37 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-19T16:47:47 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2013-01-19T16:48:55 < zyp> dongs, there's no reason you can't? 2013-01-19T16:50:43 < dongs> http://i3.minus.com/jbvPBRPgpC0i5L.jpg 2013-01-19T16:50:59 <+Steffanx> :D 2013-01-19T16:51:01 < dongs> zyp: well thats what im thinking but shrug 2013-01-19T16:51:12 < Thorn> http://xkcd.com/1162/ 2013-01-19T16:52:20 <+Steffanx> Paper is for the scientists that still have a computer phobia 2013-01-19T16:52:57 < zyp> dongs, V_LDO is output from internal LDO to decoupling cap 2013-01-19T16:53:09 < zyp> and it says you can input 5V there too if you have it available 2013-01-19T16:53:18 < zyp> «LDO output voltage. External 5V rail can be connected to this pin in low voltage 2013-01-19T16:53:21 < zyp> application.» 2013-01-19T16:53:36 < dongs> what about VIN then? 2013-01-19T16:53:47 < dongs> oh, isee, bridged then 2013-01-19T16:54:00 < dongs> just wondering if internal LDO is gonna be trying to output 5V out of that pin? 2013-01-19T16:54:14 < zyp> nah 2013-01-19T16:54:33 < zyp> just follow «Typical Application for Low Input Voltage (2)» and hook both rails together 2013-01-19T16:54:55 < dongs> Input power supply up to 22V. If 2.7V . VBATT < 5.5V (Typical Application for Low 2013-01-19T16:54:58 < dongs> Input Voltage (2)) then external 5V rail must be used for VLDO and VIN. 2013-01-19T16:55:01 < dongs> ah, confirmed 2013-01-19T16:55:02 < zyp> internal LDO can apparently only be used when you have more than 5.5V in 2013-01-19T16:55:03 < dongs> k 2013-01-19T16:55:07 < dongs> right 2013-01-19T16:55:21 < zyp> hmm 2013-01-19T16:55:30 < dongs> im surprised theres no recommended layout/evalboard for this :( 2013-01-19T16:55:38 < dongs> natsemi is usually pretty godo about this kinda shit 2013-01-19T16:55:53 < zyp> and then you can hook VDDIO to 3.3V if you are gonna throw on a stm32 2013-01-19T16:56:08 < dongs> right 2013-01-19T16:58:06 < dongs> apparently the shit can be set by external resistors oR by i2c... 2013-01-19T16:58:35 < dongs> so I can actually skip ISET/FSET shit 2013-01-19T16:59:39 < zyp> even has internal eeprom to store settings 2013-01-19T16:59:43 < dongs> yea 2013-01-19T17:00:08 < dongs> so sounds like im not even gonna use external sets 2013-01-19T17:00:15 < dongs> and just use eeprom/whatever 2013-01-19T17:00:22 < dongs> less parts to deal with 2013-01-19T17:04:41 < emeb_mac> working backlight supply for the ipad display? 2013-01-19T17:04:48 < dongs> yea 2013-01-19T17:04:54 < dongs> zyp found some pretty awesome shit 2013-01-19T17:04:59 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 244 seconds] 2013-01-19T17:05:02 < emeb_mac> looking now 2013-01-19T17:05:16 < dongs> (probably by popping case on his MACBOOKPRO UNIBODY and looking at the chips on it) 2013-01-19T17:05:32 < emeb_mac> lol 2013-01-19T17:05:36 < zyp> hah :p 2013-01-19T17:05:56 < emeb_mac> don't bother - just look at teardowns on ifixit 2013-01-19T17:06:03 < zyp> I could, but it was faster to just search digikey :p 2013-01-19T17:06:28 < emeb_mac> better search-fu than I 2013-01-19T17:07:45 < emeb_mac> OSHpark finally shipped my f303 breakouts 2013-01-19T17:07:56 < zyp> heh 2013-01-19T17:08:01 < zyp> http://dl.dropbox.com/u/2635790/quIfTtoLygA1pOSJ.jpg <- want a laugh? :) 2013-01-19T17:08:20 < dongs> haha 2013-01-19T17:08:29 < zyp> nice diode 2013-01-19T17:08:29 < dongs> well shit 2013-01-19T17:08:30 < emeb_mac> bingo! 2013-01-19T17:08:32 < dongs> yeah 2013-01-19T17:08:36 < dongs> thanks for suggested layout 2013-01-19T17:08:37 < dongs> lulz. 2013-01-19T17:09:18 < emeb_mac> derp - diode. NOT 2013-01-19T17:09:23 < dongs> why woudl crapple use external fet 2013-01-19T17:09:38 < dongs> lotsa testpoints. 2013-01-19T17:10:40 < dongs> hey wheres teh fucking coil 2013-01-19T17:11:19 < dongs> wheres hte original ifailit pic 2013-01-19T17:13:05 < zyp> http://guide-images.ifixit.net/igi/quIfTtoLygA1pOSJ.huge 2013-01-19T17:13:22 < dongs> coil must be on the back huh 2013-01-19T17:14:13 < emeb_mac> best guess 2013-01-19T17:17:15 < dongs> hmm 2013-01-19T17:17:16 < dongs> mid-2009 2013-01-19T17:17:36 < dongs> fucking apple keeps making new models of shit every fucking half ay ear 2013-01-19T17:18:39 < dongs> http://guide-images.ifixit.net/igi/XaPYhlwqukefDI4j.huge 2013-01-19T17:18:41 < dongs> there's the coil 2013-01-19T17:19:04 < dongs> http://s1.guide-images.ifixit.com/igi/g2HavWfpJaVTNvjR 2013-01-19T17:19:28 <+Steffanx> vias FTW 2013-01-19T17:19:44 < gxti> well duh, it says "BETTER" right on the connector 2013-01-19T17:19:55 < dongs> where? 2013-01-19T17:19:58 <+Steffanx> bottom 2013-01-19T17:20:33 < dongs> oh 2013-01-19T17:22:39 < dongs> oh well, ill just lay it out wahtever random way 2013-01-19T17:22:45 < dongs> not ognna doubleside pcb 2013-01-19T17:22:47 < dongs> sleeptime 2013-01-19T17:23:11 < gxti> keep current loops short for maximum success 2013-01-19T17:28:43 < dongs> http://www.digikey.com/product-detail/en/NRS6045T150MMGK/587-2948-1-ND/2666053 this coil will do. 2013-01-19T17:31:01 < emeb_mac> cheap! 2013-01-19T17:39:17 < dongs> lol.... got email from a guy working in some f303 shit. 2013-01-19T17:39:37 < dongs> apparently its pin compatible as long as you dont use i2c 2013-01-19T17:39:40 < dongs> cbt6: 2013-01-19T17:39:40 < dongs> PB10 I/O FT PB10        -- I2C2_SCL / USART3_TX(8) TIM2_CH3 2013-01-19T17:39:40 < dongs> cct6 2013-01-19T17:39:40 < dongs> PB10 I/O TTa    -- USART3_TX, TIM2_CH3, TSC_SYNC add. functions 2013-01-19T17:39:41 < dongs> COMP5_INM(3), OPAMP4_VINM(3), OPAMP3_VINM(3) 2013-01-19T17:39:53 < dongs> fucking st 2013-01-19T17:40:08 < dongs> i2c interface is few pins over. 2013-01-19T17:40:30 < emeb_mac> oops 2013-01-19T17:40:46 < emeb_mac> use that on your nav board? 2013-01-19T17:41:43 < dongs> on 103 sure 2013-01-19T17:44:05 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-19T17:54:02 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-19T17:55:15 -!- dirty_d [~Andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-19T18:03:17 -!- badger [~tom@cxkg.net] has quit [Read error: Operation timed out] 2013-01-19T18:03:33 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-19T18:09:29 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-19T18:10:11 -!- Claude is now known as claude 2013-01-19T18:12:07 -!- badger [~tom@cxkg.net] has quit [Ping timeout: 246 seconds] 2013-01-19T18:14:37 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-19T18:16:11 < mervaka> so uh, i went on that labview course. 2013-01-19T18:16:36 < mervaka> but i don't want my sbRIO anymore. Anyone fancy getting their hands on one? 2013-01-19T18:16:50 < mervaka> they can have mine at cost :) 2013-01-19T18:20:17 -!- badger [~tom@cxkg.net] has quit [Ping timeout: 248 seconds] 2013-01-19T18:21:19 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-19T18:29:11 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2013-01-19T18:29:12 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2013-01-19T18:29:12 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-19T18:29:12 -!- barthess [~barthess@77.67.212.51] has quit [Read error: Connection reset by peer] 2013-01-19T18:30:29 < emeb_mac> not quite what you were looking for? 2013-01-19T18:40:47 < mervaka> nah 2013-01-19T18:40:51 < mervaka> well 2013-01-19T18:41:01 < mervaka> i did the training course, got the certificate.. 2013-01-19T18:41:09 < mervaka> that's all i wanted really. 2013-01-19T18:41:43 < emeb_mac> resume stuffer? 2013-01-19T18:47:52 -!- _BJFreeman [~bjfree@143.sub-75-233-243.myvzw.com] has joined ##stm32 2013-01-19T18:49:12 -!- _BJFreeman is now known as BJFreeman 2013-01-19T18:51:52 -!- KennyMcCormic [~Kenny@95.139.129.98] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-19T19:20:44 < FransWillem> Could anyone recommend a good GCC based toolset to get started on the STM32F4 discovery on windows ? 2013-01-19T19:23:04 < gxti> coocox is a full ide that works 2013-01-19T19:23:55 < FransWillem> Oooh, neat :) 2013-01-19T19:24:06 < FransWillem> Will give that a spin, thanks :) 2013-01-19T19:24:39 <+Steffanx> lol mervaka 2013-01-19T19:25:12 < TitanMKD> FransWillem the simples is Linaro Embedded GCC 2013-01-19T19:25:24 < TitanMKD> FransWillem just for build no ide of course 2013-01-19T19:26:07 <+Steffanx> There is a 'simplest' TitanMKD ? 2013-01-19T19:27:59 <+Steffanx> Yagarto works, Sourcery works, the one from launchpad probably too 2013-01-19T19:28:57 * emeb_mac uses both Coocox & launchpad + make 2013-01-19T19:35:19 < TitanMKD> hmm the one from linaro/launchpad has been updated 2013-01-19T19:35:22 < TitanMKD> https://launchpad.net/gcc-arm-embedded/4.7/4.7-2012-q4-major 2013-01-19T19:36:55 < emeb_mac> yup. works nicely. 2013-01-19T19:37:09 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-19T19:37:22 < TitanMKD> it seems it generates faster code for 02/O3 (more code is inlined) 2013-01-19T19:37:36 < TitanMKD> also support M0+ ... 2013-01-19T19:38:39 < emeb_mac> 4.7 seems to make good use M4F features too. 2013-01-19T19:38:58 < TitanMKD> ha great 2013-01-19T19:46:35 < Thorn> gdb from that toolchain crashes 2013-01-19T19:47:20 < mervaka> Steffanx: :P 2013-01-19T19:47:29 < BJFreeman> I found the maple IDE works you just have to include the libraries ST provides 2013-01-19T19:48:03 <+Steffanx> It was worth the money. The labview crap i mean 2013-01-19T19:48:09 <+Steffanx> , mervaka 2013-01-19T19:50:59 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-19T19:51:48 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-19T19:55:01 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-19T19:56:45 -!- barthess [~barthess@178.154.66.28] has joined ##stm32 2013-01-19T20:00:13 -!- DaKu is now known as daku 2013-01-19T20:01:09 -!- daku is now known as DaKu 2013-01-19T20:02:50 -!- DaKu is now known as daku 2013-01-19T20:04:00 < mervaka> Steffanx: i just don't see myself using it as anything more than a protocol analyser 2013-01-19T20:06:26 -!- daku is now known as DaKu 2013-01-19T20:07:58 <+Steffanx> you didnt pay for the course? 2013-01-19T20:09:11 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-19T20:17:05 -!- DaKu is now known as daku 2013-01-19T20:28:33 -!- daku is now known as DaKu 2013-01-19T20:29:18 -!- barthess [~barthess@178.154.66.28] has quit [Ping timeout: 245 seconds] 2013-01-19T20:32:19 -!- DaKu is now known as daku 2013-01-19T20:34:32 < mervaka> well technically the course was free, providing you bought a sbRIO 2013-01-19T20:35:08 < mervaka> i thought i'd get into it but i didnt 2013-01-19T20:42:30 -!- claude is now known as Claude 2013-01-19T20:49:21 < Laurenceb_> lol 2013-01-19T20:49:32 < Laurenceb_> no-one can enjoy labview 2013-01-19T20:49:36 < Laurenceb_> its sucks 2013-01-19T20:49:37 -!- daku is now known as DaKu 2013-01-19T20:50:58 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-19T20:54:47 < emeb> never used Labview but seems like they're trying to compete w/ Matlab/Simulink 2013-01-19T20:55:28 < emeb> always thought of it more as a test control system, not really simulation. 2013-01-19T21:05:35 < Laurenceb_> yeah something like that 2013-01-19T21:05:51 < Laurenceb_> ive never had a use for it 2013-01-19T21:10:02 <+Steffanx> drag and drop programming :p 2013-01-19T21:10:40 <+Steffanx> I had to use it.. thank god it had a 'C' box :D 2013-01-19T21:11:14 < Laurenceb_> i dont really et the idea 2013-01-19T21:11:18 < Laurenceb_> *get 2013-01-19T21:11:30 < Laurenceb_> why do you want a gui for running experiments 2013-01-19T21:11:57 < Laurenceb_> and labview is virtually useless for production 2013-01-19T21:12:49 < Laurenceb_> unless.. you have a lot of people working on an experiment, and most of them are utter noobs 2013-01-19T21:13:25 <+Steffanx> it's funny when a labview experiment ends up in product though :P 2013-01-19T21:13:56 <+Steffanx> Trouble guaranteed 2013-01-19T21:15:20 -!- barthess [~barthess@77.67.209.224] has joined ##stm32 2013-01-19T21:15:52 < Laurenceb_> *cough* iran 2013-01-19T21:16:41 < Laurenceb_> im running a few projects staffed by n00bs 2013-01-19T21:16:55 < Laurenceb_> i used samba then gave them two folders 2013-01-19T21:17:02 < Laurenceb_> data in and data out 2013-01-19T21:17:39 < Laurenceb_> all the processing lives on the server 2013-01-19T21:19:10 < BrainDamage> while my writing my bachelor thesis my advisor was hell bent on labvie 2013-01-19T21:19:31 < BrainDamage> I *had* to use labview, to make sure other noobs would be "easily able to understand" 2013-01-19T21:19:50 < mervaka> that's called commented code 2013-01-19T21:19:53 < mervaka> :p 2013-01-19T21:19:57 < mervaka> but yeah 2013-01-19T21:20:02 < BrainDamage> except when I had to interface with an hamamatsu camera that had no labview drivers, only a binary blob dll 2013-01-19T21:20:14 < mervaka> basically, i got my arm twisted by peer pressure to sign up to this course 2013-01-19T21:20:17 < BrainDamage> and I had to use labview's fantastic dll hooks 2013-01-19T21:20:30 < mervaka> then as soon as i coughed up, i regretted it. 2013-01-19T21:21:02 < BrainDamage> long story short I ended up writing a c prog that'd hook to the dll, parse the data, and spit to a file, then have failview parse that 2013-01-19T21:23:20 < jpa-> arduino powered hydrogen bomb http://hackaday.com/2013/01/19/an-arduino-hydrogen-blimp-oh-the-humanity/ 2013-01-19T21:30:40 < Laurenceb_> http://upload.wikimedia.org/wikipedia/commons/6/6c/Ivy_Mike_Sausage_device.jpg 2013-01-19T21:31:02 < Laurenceb_> surely arduino hydrogen bomb is like that but with arduino? 2013-01-19T21:32:55 < jpa-> when has arduino anything been as cool as the real thing? 2013-01-19T21:33:42 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-19T21:52:56 < Laurenceb_> emeb: what do you use for programming ? 2013-01-19T21:53:05 < Laurenceb_> im looking for a cortex debug adaptor 2013-01-19T21:53:16 < Laurenceb_> to connect to discovery boards 2013-01-19T21:53:41 < emeb> Laurenceb_: I have a couple different discovery boards and also Black Magic Probes. 2013-01-19T21:54:01 < upgrdman> black magic probes? 2013-01-19T21:54:23 < emeb> http://www.blacksphere.co.nz/main/blackmagic 2013-01-19T21:54:39 < Laurenceb_> ah 2013-01-19T21:54:56 < emeb> that, plus some home-made knock-offs of the BMP. 2013-01-19T21:54:56 < Laurenceb_> i cant quite find the right connectors on farnell 2013-01-19T21:55:14 < emeb> Laurenceb_: which connectors? 2013-01-19T21:55:21 < Laurenceb_> 1.27mm 2013-01-19T21:55:33 < emeb> the 10-pin JTAG/SWD ? 2013-01-19T21:55:52 < Laurenceb_> yes 2013-01-19T21:57:08 < emeb> I get mine at Digi-Key. No idea what Farnell does. 2013-01-19T21:57:36 < Laurenceb_> http://www.steveleenow.net/humour/lp/MenVsWomenSwitches.jpg 2013-01-19T21:57:37 < Laurenceb_> ok 2013-01-19T21:58:32 < emeb> Two styles from DK - 609-3729-ND, 609-3729-ND 2013-01-19T21:59:36 < Laurenceb_> thats the same thing 2013-01-19T21:59:44 < emeb> yeah. 2013-01-19T21:59:57 < emeb> 609-4054-ND 2013-01-19T22:00:00 < emeb> shrouded 2013-01-19T22:00:15 < Laurenceb_> im after the cable 2013-01-19T22:00:40 < emeb> Oh. I got those from some other outfit that dongs recommended... just a sec. 2013-01-19T22:00:44 < Laurenceb_> oh 2013-01-19T22:00:58 < Laurenceb_> i was looking for the right crimps and shrowds 2013-01-19T22:00:58 < gxti> Laurenceb_: how many times has that image been recompressed, do you reckon? 2013-01-19T22:01:13 < gxti> Laurenceb_: or in other words... old 2013-01-19T22:01:25 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-19T22:01:51 < gxti> mmm, i need some cablez too 2013-01-19T22:02:40 < emeb> http://microcontrollershop.com/product_info.php?products_id=4517 2013-01-19T22:03:46 < Laurenceb_> thanks 2013-01-19T22:03:57 < Laurenceb_> wonder if there is a uk equivalent 2013-01-19T22:05:46 < emeb> looks like those cables are std for "Netduino" - maybe search for that term. 2013-01-19T22:06:52 < Laurenceb_> http://uk.farnell.com/jsp/search/productdetail.jsp?sku=1667661&CMP=KNC-GUK-FUK-GEN-SKU-ROBOTICS&mckv=sPZfQQb61|pcrid|13359761829|kword|ffsd-05-d-12.00-01-n|match|p|plid| 2013-01-19T22:06:56 < Laurenceb_> found it, thanks 2013-01-19T22:07:58 < emeb> expensive! 2013-01-19T22:08:15 < Laurenceb_> shrug 2013-01-19T22:33:20 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-19T22:36:52 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2013-01-19T23:02:39 -!- barthess [~barthess@77.67.209.224] has quit [Quit: Leaving.] 2013-01-19T23:28:02 -!- barthess [~barthess@77.67.209.224] has joined ##stm32 2013-01-19T23:30:50 < emeb> pro-tip: when using a F4disco to flash another target, remember to move the SWD jumpers. 2013-01-19T23:37:59 < dirty_d> Laurenceb_ whats wrong with mps6050? 2013-01-19T23:38:47 < dirty_d> MPU-6050 2013-01-19T23:56:51 < Laurenceb_> the accel sucks 2013-01-19T23:56:56 < Laurenceb_> its expensive 2013-01-19T23:57:10 < Laurenceb_> the gyro drifts badly... 2013-01-19T23:58:01 < Laurenceb_> but to be fair the gyro is better than ST as far as noise goes 2013-01-19T23:59:36 < Laurenceb_> tho when it comes to expensive on monday 2013-01-19T23:59:36 < Laurenceb_> wtf 2013-01-19T23:59:48 < Laurenceb_> sorry wrong window 2013-01-19T23:59:53 -!- barthess [~barthess@77.67.209.224] has quit [Quit: Leaving.] --- Day changed Sun Jan 20 2013 2013-01-20T00:00:16 < emeb> EWRONGCHAN 2013-01-20T00:01:40 < Laurenceb_> actually i was talking irl and typing the same stuff i was saying... wtf 2013-01-20T00:04:12 < Laurenceb_> i was going to link http://www.thorlabs.de/newgrouppage9.cfm?objectgroup_id=3913 2013-01-20T00:08:50 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2013-01-20T00:09:20 -!- Claude is now known as claude 2013-01-20T00:09:40 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 256 seconds] 2013-01-20T00:10:03 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-20T00:10:04 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2013-01-20T00:10:14 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:716c:f6af:96ae:1c8a] has joined ##stm32 2013-01-20T00:10:19 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-20T00:10:19 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Excess Flood] 2013-01-20T00:16:14 < emeb> fancy! 2013-01-20T00:16:56 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-20T00:19:30 < Laurenceb_> overpriced 2013-01-20T00:19:43 < emeb> looks expensive. 2013-01-20T00:23:02 < Laurenceb_> its just a cheap laser diode die on a peltier with antireflective coatings 2013-01-20T00:24:06 < emeb> right - amplifies but has no feedback so won't lase on its own. 2013-01-20T00:25:58 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-20T01:09:01 < dongs> sup 2013-01-20T01:13:52 < emeb> he lives 2013-01-20T01:14:29 < emeb> hacking on F40x audio delay code 2013-01-20T01:15:11 < dongs> sounds usual 2013-01-20T01:15:53 < Laurenceb_> http://glenjplayer.com/wp-content/uploads/2011/01/gollum-precious.jpg 2013-01-20T01:15:59 < Laurenceb_> dongs joins irc again 2013-01-20T01:16:33 < dongs> wat 2013-01-20T01:16:54 < dongs> scumb 2013-01-20T01:17:06 < dongs> ag Steve cap and laptop 2013-01-20T01:17:17 < dongs> what am i looking at 2013-01-20T01:17:53 < dongs> have you found a non shitty spi accel yey 2013-01-20T01:17:55 < dongs> yet 2013-01-20T01:18:05 < dongs> 1600hz odr minimum 2013-01-20T01:18:51 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-20T01:21:16 < Laurenceb_> i havent been looking 2013-01-20T01:21:16 < Laurenceb_> why so fast? 2013-01-20T01:22:49 < dongs> cuz fifo and filtering 2013-01-20T01:23:13 < dongs> maybe people just suck at filtering vcc to adxl345 2013-01-20T01:23:45 < Laurenceb_> hmm 2013-01-20T01:23:46 -!- evil_dan2wik [~evil_dan2@unaffiliated/evil-dan2wik/x-0106201] has joined ##stm32 2013-01-20T01:24:32 < Laurenceb_> as i see it the only good thing you can do it reduce lag with high rate 2013-01-20T01:26:18 -!- barthess [~barthess@77.67.208.234] has joined ##stm32 2013-01-20T01:26:30 < dongs> blogs 2013-01-20T01:28:09 * Laurenceb_ is cleaning his handgun collection 2013-01-20T01:28:12 < Laurenceb_> applying for NRA membership.... 2013-01-20T01:28:25 < Laurenceb_> im also trolling as usual... 2013-01-20T01:28:36 < dongs> guns in uk? is that legal 2013-01-20T01:28:54 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:716c:f6af:96ae:1c8a] has joined ##stm32 2013-01-20T01:29:00 < Laurenceb_> with a license - everything accept handguns 2013-01-20T01:29:01 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:716c:f6af:96ae:1c8a] has quit [Ping timeout: 245 seconds] 2013-01-20T01:29:21 -!- Roklobsta_ is now known as RokLobsta 2013-01-20T01:29:30 < dongs> lol dongs 2013-01-20T01:31:19 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-20T01:31:39 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-20T01:38:58 < emeb> Laurenceb_: funny how USians get so wound up about "assault weapons" when handguns are the main cause of murders. 2013-01-20T01:40:07 < emeb> err, "cause" used incautiously there... 2013-01-20T01:40:24 -!- DaKu is now known as daku 2013-01-20T01:41:14 <+Steffanx> because they are yankeelanders.. nuf said emeb :P 2013-01-20T01:41:50 < Laurenceb_> in other news... 2013-01-20T01:41:59 < Laurenceb_> anyone got a chromebook? 2013-01-20T01:42:06 < Laurenceb_> the samsung ones look nice 2013-01-20T01:42:17 < dongs> crapbook 2013-01-20T01:42:20 < emeb> my niece has one. Loves it. 2013-01-20T01:42:48 < emeb> I found the OS frustrating. very orthogonal to what I'm used to. 2013-01-20T01:43:07 < Laurenceb_> sure 2013-01-20T01:43:18 < Laurenceb_> if you are sane you wipe it 2013-01-20T01:43:30 < Laurenceb_> and put something sane on there 2013-01-20T01:43:43 < Laurenceb_> the exynos A15 thingy look interesting 2013-01-20T01:43:59 < emeb> Steffanx: word 2013-01-20T01:44:06 < dongs> excel 2013-01-20T01:44:27 <+Steffanx> frontpage! 2013-01-20T01:44:35 < dongs> no! 2013-01-20T01:44:59 -!- barthess [~barthess@77.67.208.234] has quit [Quit: Leaving.] 2013-01-20T01:45:18 < dongs> see you ofended him 2013-01-20T01:45:33 < Laurenceb_> closed source offends me 2013-01-20T01:45:43 < emeb> nah - just looking elsewhere. 2013-01-20T01:45:57 < Laurenceb_> almost as much as unity 2013-01-20T01:46:20 < emeb> don't know why the FOSS UI people can't just leave it alone. 2013-01-20T01:48:12 < dongs> they are scratching itches 2013-01-20T01:48:37 < dongs> usually the scratch area is their butt 2013-01-20T01:48:58 < emeb> lol 2013-01-20T01:49:08 < dongs> and cuz with opensace, you can 2013-01-20T01:49:21 < dongs> which normally doesn't mean you should 2013-01-20T01:49:29 < emeb> don't mind them scratching their own, just wish they'd leave mine alone. 2013-01-20T01:49:59 < dongs> see the sauce is open so feel free to fix it 2013-01-20T01:50:08 < dongs> that's a typical answer 2013-01-20T01:50:39 < emeb> bork and fork 2013-01-20T01:50:53 -!- evil_dan2wik is now known as evil_dan2afk 2013-01-20T01:51:18 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-20T01:51:21 < dongs> who is this guy 2013-01-20T01:51:31 < dongs> hes also in #tarduino 2013-01-20T01:51:48 < dongs> evil-blogwik 2013-01-20T01:52:24 -!- evil_dan2afk is now known as evil_dan2wik 2013-01-20T01:55:13 < gxti> Laurenceb_: i was thinking about getting one 2013-01-20T01:55:25 < dongs> a handgun 2013-01-20T01:55:28 < dongs> ? 2013-01-20T01:55:41 < gxti> a chromebook... and a handgun 2013-01-20T01:55:45 < dongs> ah 2013-01-20T01:56:13 < dongs> chrome book and gun to suicide with after Lunix loads 2013-01-20T01:58:08 < gxti> no 2013-01-20T01:58:16 < gxti> that will probably happen as soon as the chrome logo pops up 2013-01-20T01:58:18 -!- RokLobsta [~quassel@2001:44b8:41d3:6b00:716c:f6af:96ae:1c8a] has quit [Remote host closed the connection] 2013-01-20T02:04:52 < Laurenceb_> lolz 2013-01-20T02:07:40 < dongs> http://gushh.net/tmp/arduinoshield.png retweeting 2013-01-20T02:08:32 < gxti> that looks dangerous, the earth isn't connected 2013-01-20T02:13:55 -!- Laurenceb_ [~Laurence@host86-136-119-73.range86-136.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-20T02:22:49 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:716c:f6af:96ae:1c8a] has joined ##stm32 2013-01-20T02:30:35 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 260 seconds] 2013-01-20T02:31:31 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:716c:f6af:96ae:1c8a] has quit [Remote host closed the connection] 2013-01-20T02:35:41 -!- evil_dan2wik is now known as evil_dan2afk 2013-01-20T02:43:46 -!- evil_dan2afk is now known as evil_dan2wik 2013-01-20T02:46:46 < karlp> also, old! 2013-01-20T02:52:07 < dongs> http://web.archive.org/web/20020107124812/http://www.planetee.com/planetee/servlet/DisplayDocument?ArticleID=1343 2013-01-20T02:55:23 < gxti> old 2013-01-20T02:55:47 * emeb was waiting for that. 2013-01-20T02:57:24 < dongs> To judge Linux's popularity, do an Alta Vista search for +Spice +Linux, +EDA +Linux , or +DSP +Linux. 2013-01-20T02:57:28 < dongs> Just to sum up, and possibly repeat myself, I haven't found anything that can't be done better, faster, and cheaper than under Linux. The biggest obstacle is the learning curve. 2013-01-20T02:57:31 < dongs> haha 2013-01-20T02:58:11 < BrainDamage> wait, altavista still exists? 2013-01-20T02:58:20 < emeb> it did in 1998 2013-01-20T02:58:28 < BrainDamage> oh web archive 2013-01-20T02:58:40 < gxti> i'm providing a valuable service to the community 2013-01-20T02:58:49 < gxti> by identifying things that are, in fact, old 2013-01-20T02:59:56 < emeb> your contribution has not gone unnoticed 2013-01-20T03:00:20 < evil_dan2wik> what is stm32? 2013-01-20T03:00:34 < gxti> evil_dan2wik: altavista it 2013-01-20T03:00:37 < emeb> google down again? 2013-01-20T03:00:55 < evil_dan2wik> im just asking why im here 2013-01-20T03:01:06 < gxti> how the hell should we know that 2013-01-20T03:01:09 < emeb> we'd like to know why you're here too. 2013-01-20T03:01:55 < evil_dan2wik> i have no idea 2013-01-20T03:02:49 < BrainDamage> "I got drunk and joined random irc channels" 2013-01-20T03:03:04 < evil_dan2wik> im too young to drink 2013-01-20T03:03:46 < dongs> 32 is the minumum age you must be before youre allowed to chat in here 2013-01-20T03:03:54 < dongs> so plz /part now 2013-01-20T03:04:04 < gxti> haha, now i know how hold dongs is 2013-01-20T03:04:21 < gxti> ... that wasn't freudian at all 2013-01-20T03:04:26 < gxti> s/hold/old/ 2013-01-20T03:04:27 < dongs> im 13, the rules dont apply to me 2013-01-20T03:04:39 < emeb> much becomes clear. 2013-01-20T03:04:40 < evil_dan2wik> thats what we all think 2013-01-20T03:05:54 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-20T03:11:46 < BJFreeman> dongs is younger thand evil_dan2wik 2013-01-20T03:12:48 < dongs> truf 2013-01-20T03:13:40 < BJFreeman> i am 7.1 decade 2013-01-20T03:20:18 -!- evil_dan2wik is now known as evil_dan2afk 2013-01-20T03:23:42 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-20T03:24:31 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c156:8728:cb6c:ab50] has joined ##stm32 2013-01-20T03:26:46 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c156:8728:cb6c:ab50] has quit [Remote host closed the connection] 2013-01-20T03:35:59 -!- dekar_ [~dekar@212.255.243.18] has quit [Quit: Leaving] 2013-01-20T04:08:02 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Ping timeout: 255 seconds] 2013-01-20T04:29:38 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-20T04:33:04 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 260 seconds] 2013-01-20T04:51:12 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-20T04:54:32 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-20T05:25:29 -!- Aaron [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2013-01-20T05:25:38 -!- Aaron is now known as AarnoM 2013-01-20T05:25:56 -!- AarnoM is now known as Aaron 2013-01-20T05:26:12 -!- Aaron is now known as AaronMcD 2013-01-20T05:27:48 -!- AaronMcD is now known as AaronM 2013-01-20T05:29:38 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has left ##stm32 [] 2013-01-20T05:34:32 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Remote host closed the connection] 2013-01-20T05:34:58 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2013-01-20T05:46:03 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-20T05:54:41 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-20T06:14:34 -!- badger [~tom@cxkg.net] has quit [Ping timeout: 260 seconds] 2013-01-20T06:34:25 < emeb_mac> so ronery... 2013-01-20T06:34:48 < dongs> keke 2013-01-20T06:35:59 < dongs> have a liveblig http://www.imgur.com/v7XhM94.jpeg 2013-01-20T06:36:05 < dongs> blog,too 2013-01-20T06:36:36 < emeb_mac> nice. Pleasant day out on the water? 2013-01-20T06:37:44 < dongs> more like rage day 2013-01-20T06:38:48 < emeb_mac> bummin' 2013-01-20T06:40:40 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-20T06:40:48 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-20T06:42:01 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-20T06:49:14 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-20T07:00:55 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Quit: Bye] 2013-01-20T07:35:03 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-20T07:47:49 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-20T07:50:45 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-20T07:54:08 < dongs> attn Laurenceb https://youtube.com/watch?v=8xjM-wJYMCg 2013-01-20T07:58:20 < dongs> (and cjbeard I guess) 2013-01-20T07:59:59 < gnomad> it's amazing what hormones will do 2013-01-20T08:00:14 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-20T08:03:27 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2013-01-20T08:09:30 -!- KennyMcCormic [~Kenny@95.139.204.213] has joined ##stm32 2013-01-20T08:16:11 < dongs> http://www.mesanet.com/cpucardinfo.html 2013-01-20T08:16:19 < dongs> haha you know you've got dead hardware when you ship it wiht NetBSD images 2013-01-20T08:16:57 < baird> Calcium Sulphate /hydrate/ on Mars. Awesome. 2013-01-20T08:17:25 < baird> Deadhardwareday: went looking for audio cassette tapes this afternoon. Only found VHS tapes. :/ 2013-01-20T08:18:09 < dongs> cant you just play back commodore tapes .wav files and feed lineout from your modern lunix PC into the obsolete shit? 2013-01-20T08:19:09 < baird> I scored a datasette, so I was looking at using that with actual tapes. 2013-01-20T08:23:32 < baird> Calcium mineral deposits always make me look around for fossils.. No such luck on Mars. https://secure.flickr.com/photos/chris_j_b/3841508523/ 2013-01-20T08:31:56 -!- jef79m_lurking is now known as jef79m 2013-01-20T08:44:15 < dongs> The minimum power available at the DP_PWR pin must be 1.5W. A device that consumes 2013-01-20T08:44:18 < dongs> more than 1.5W of power must have means of getting power from an alternate power source. 2013-01-20T08:44:22 < dongs> cant do cable-powered monitor I guess. 2013-01-20T08:53:30 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-20T08:54:51 -!- jef79m is now known as jef79m_lurking 2013-01-20T09:14:48 -!- evil_dan2afk is now known as evil_dan2wik 2013-01-20T09:26:56 < dongs> zyp: do you know if usb pullup needs to go away in standby? 2013-01-20T09:27:39 < dongs> When computing global suspend current, remember that the USB device requires 2013-01-20T09:27:40 < dongs> keeping its DP or DM pull-up active. 2013-01-20T09:27:40 < dongs> k 2013-01-20T10:01:49 < baird> http://microcontroller.com/news/Renesas_RL78_G14_Demo_Kit.asp ... "during a special promotional period, for a limited time Renesas is giving this board away for free. 2013-01-20T10:05:22 < evil_dan2wik> freeee? 2013-01-20T10:05:32 < dongs> RX sucks so fucking bad, noone wants it even free 2013-01-20T10:05:54 < dongs> wehre do i sign up 2013-01-20T10:06:21 -!- KennyMcCormic [~Kenny@95.139.204.213] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-20T10:06:25 < evil_dan2wik> lol 2013-01-20T10:09:38 < evil_dan2wik> where do i sign up? 2013-01-20T10:11:15 -!- barthess [~barthess@77.67.215.233] has joined ##stm32 2013-01-20T10:13:27 < baird> Seems you have to contact Renesas reps directly for the offer. At the risk of a Renerapist finding out where you live... 2013-01-20T10:14:58 < dongs> doesnt make RX suck any less 2013-01-20T10:15:00 < evil_dan2wik> dont worry, i got a tazer 2013-01-20T10:15:01 < dongs> so ill skip it 2013-01-20T10:16:00 < baird> The guy from Renesas shows up with -two- tasers-- then what do you do? 2013-01-20T10:18:01 < evil_dan2wik> i uhh... 2013-01-20T10:18:06 < evil_dan2wik> Start my chainsaw 2013-01-20T10:20:12 < baird> My Comp.Eng class lecturer recommened throwing acid 2013-01-20T10:23:21 < evil_dan2wik> but that leaves evidence 2013-01-20T10:23:42 < evil_dan2wik> A chainsaw leaves even more but at least he is dead 2013-01-20T10:53:13 < dongs> dongle 2013-01-20T10:57:32 -!- jef79m_lurking is now known as jef79m 2013-01-20T11:02:14 -!- barthess [~barthess@77.67.215.233] has quit [Quit: Leaving.] 2013-01-20T11:07:23 -!- barthess [~barthess@5.100.208.184] has joined ##stm32 2013-01-20T11:44:54 -!- jef79m is now known as jef79m_lurking 2013-01-20T11:45:44 -!- jef79m_lurking is now known as jef79m 2013-01-20T11:55:22 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-20T11:57:52 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2013-01-20T12:05:19 -!- BJFreeman [~bjfree@143.sub-75-233-243.myvzw.com] has quit [Quit: had a good time] 2013-01-20T12:12:37 -!- jef79m is now known as jef79m_lurking 2013-01-20T12:20:25 -!- jef79m_lurking is now known as jef79m 2013-01-20T12:32:52 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-20T12:33:30 -!- daku is now known as DaKu 2013-01-20T13:08:55 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 257 seconds] 2013-01-20T13:16:59 < baird> Saw a really cute girl in the supermarket tonight.. Her most impressive physical feature? .... she was 6'! :D 2013-01-20T13:19:04 < zyp> I first read it sans the ' 2013-01-20T13:23:00 < baird> ... 2013-01-20T13:36:27 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-20T13:36:27 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-20T13:36:27 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-20T13:36:29 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-20T13:47:23 < dongs> lmfao me too 2013-01-20T13:48:03 <+Steffanx> nu 2013-01-20T13:48:14 < dongs> Steffanx missed all the fun chats 2013-01-20T13:48:34 <+Steffanx> W00t 2013-01-20T13:49:15 < dongs> should I put buttons on input capture pins or does it matter 2013-01-20T13:49:41 < baird> bouncing: http://lzma.so/7NSM6N 2013-01-20T13:49:57 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2013-01-20T13:50:07 <+Steffanx> .... 2013-01-20T13:50:13 < dongs> lol'd 2013-01-20T13:50:14 < dongs> retweeting 2013-01-20T13:50:32 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-20T14:05:58 < dongs> baird: appareantly the dude who made the vid is going to jail 2013-01-20T14:06:54 <+Steffanx> Yeah, i read about that too 2013-01-20T14:07:18 <+Steffanx> Won't miss him 2013-01-20T14:07:42 < baird> video? something I missed? 2013-01-20T14:07:54 <+Steffanx> Yes, the 2girls 1 cup video 2013-01-20T14:07:56 <+Steffanx> And more crap 2013-01-20T14:08:21 <+Steffanx> The 'artist' who made that is going to jail. 2013-01-20T14:08:58 <+Steffanx> http://www.fbi.gov/losangeles/press-releases/2013/ira-isaacs-sentenced-in-adult-obscenity-case 2013-01-20T14:11:01 < dongs> he d idnt even MAKE it? 2013-01-20T14:11:14 < dongs> man, what teh fuck is wrong wiht amurica 2013-01-20T14:11:47 <+Steffanx> He didn't? 2013-01-20T14:12:02 < dongs> "operated numerous websites, through which he advertised and sold obscene videos that he acquired from other people." 2013-01-20T14:12:13 < baird> Seems about the same here in Australia-- having certain things (refused-classifcation porn, Bongs, etc.) isn't usually illegal, but selling it is. 2013-01-20T14:12:20 <+Steffanx> but it also says: 2013-01-20T14:12:20 <+Steffanx> Isaacs began operating under the name Stolen Car Films and made obscene videos in which he instructed women to engage in sexual activity involving human bodily waste. 2013-01-20T14:12:27 <+Steffanx> instructed .. 2013-01-20T14:12:34 <+Steffanx> So he sort of made them 2013-01-20T14:12:40 < dongs> oh ok 2013-01-20T14:14:01 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-20T14:16:41 < dongs> zyp: http://i.imgur.com/IS7GwzY.png comments/etc 2013-01-20T14:17:28 <+Steffanx> Even a big ass stm32F103 that does nothing? :) 2013-01-20T14:17:33 < dongs> yaman. 2013-01-20T14:17:38 <+Steffanx> *do much 2013-01-20T14:17:52 <+Steffanx> *doesn't do much :) 2013-01-20T14:18:14 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-20T14:18:32 < dongs> im sure a pic would cost me more. 2013-01-20T14:18:38 < dongs> or even avr. 2013-01-20T14:18:44 < dongs> and be annoying as fuck to debug on. 2013-01-20T14:18:59 < dongs> and have no USB 2013-01-20T14:19:03 <+Steffanx> Not with the right tools, but the price .. yeah 2013-01-20T14:19:06 < dongs> so i couldnt do awesome dimmina via hid 2013-01-20T14:19:11 < dongs> dimming 2013-01-20T14:19:43 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 2013-01-20T14:20:05 -!- phantoneD is now known as phantoxeD 2013-01-20T14:20:35 < zyp> dongs, no time now, gonna take a look later today 2013-01-20T14:20:38 < dongs> cool 2013-01-20T14:20:39 < dongs> no problem 2013-01-20T14:20:55 < dongs> im gonna start doing layout of stuff I know about and can always add/remove/pinswap shit later. 2013-01-20T14:20:56 <+Steffanx> Just curious.. can't you talk over DP instead of USB? 2013-01-20T14:21:08 <+Steffanx> I guess not? 2013-01-20T14:21:11 < dongs> for brightness? maybe 2013-01-20T14:21:39 < zyp> subject to os/driver support 2013-01-20T14:21:42 < zyp> usb is much easier 2013-01-20T14:22:02 <+Steffanx> Easier, but requires 1 extra connector/cable :) 2013-01-20T14:22:10 < dongs> you gotta power the shit somehow anyway. 2013-01-20T14:22:18 < dongs> might as well use usb if its free. 2013-01-20T14:22:29 <+Steffanx> oh, it's usb powered 2013-01-20T14:22:46 < dongs> there's only 1.5W on 3.3V from DP and apparently DP cables cant even have power (only sources w/permanently attache cable are allowed to have DP_PWR present. 2013-01-20T14:37:21 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-20T14:37:57 < dongs> "Anyone notice lack of contrast with display port to DVI adapters?" 2013-01-20T14:43:15 <+Steffanx> I should have? 2013-01-20T14:43:56 < dongs> http://static.bhphoto.com/images/images500x500/651901.jpg 2013-01-20T14:44:12 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-20T14:44:38 <+Steffanx> fancy 2013-01-20T14:44:53 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-20T14:45:46 < dongs> oh, i know. 2013-01-20T14:45:49 < dongs> i should add 4 port usb hub 2013-01-20T14:45:52 < dongs> to the monitor. 2013-01-20T14:46:32 <+Steffanx> And firewire and audio 2013-01-20T14:46:39 < dongs> oh, fuck. 2013-01-20T14:46:40 < dongs> audio.. yeah.. 2013-01-20T14:46:46 < dongs> nah thats only on HDMI version 2013-01-20T14:46:54 < dongs> cause HDMI receiver has I2S out 2013-01-20T14:47:02 < dongs> already planned that 2013-01-20T14:47:10 < dongs> no failwire. 2013-01-20T14:48:28 -!- jef79m is now known as jef79m_lurking 2013-01-20T14:49:18 < TitanMKD> does anyone here plans to come to TROOPERS13 (in Germany March) ? 2013-01-20T14:49:26 < dongs> is that a demoscene event 2013-01-20T14:51:01 <+Steffanx> IT security stuff 2013-01-20T14:51:08 < TitanMKD> Yes IT Security 2013-01-20T14:51:16 < dongs> sounds useless. 2013-01-20T14:51:31 <+Steffanx> What doesn't sound useless to dongs? 2013-01-20T14:51:48 < TitanMKD> info here https://www.troopers.de/index.html 2013-01-20T14:51:59 < TitanMKD> I plan to comes with some funny boards ;) 2013-01-20T14:53:24 < dongs> try not to get arrested and sent back to france 2013-01-20T14:55:09 < TitanMKD> haha 2013-01-20T15:00:34 < baird> Actually, doesn't look as lame as most. 2013-01-20T15:00:56 < baird> Probably a lot of attendees thinking it should be, though. :/ 2013-01-20T15:01:51 < dongs> https://youtube.com/watch?v=pWJQu12C2Ms the only german troopers you need to care about 2013-01-20T15:04:12 < baird> And the breakdancing nazi kind. 2013-01-20T15:15:58 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-20T15:25:23 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-20T15:43:39 -!- Laurenceb_ [~Laurence@host86-136-119-73.range86-136.btcentralplus.com] has joined ##stm32 2013-01-20T15:52:33 < Laurenceb_> "[freenode-info] channel trolls and no channel staff around?" 2013-01-20T15:52:35 < Laurenceb_> wrong 2013-01-20T15:52:58 < Laurenceb_> channel trolls and no other people on the channel is what happens here 2013-01-20T15:53:54 < baird> freedomnode 2013-01-20T15:59:22 < dongs> wat 2013-01-20T15:59:24 < dongs> where do you see that 2013-01-20T16:00:55 < Laurenceb_> when logging in 2013-01-20T16:00:58 < karlp> how'd your gopro auction go dongs? 2013-01-20T16:01:09 < karlp> heard there was some issues? 2013-01-20T16:01:40 < dongs> lol 2013-01-20T16:13:40 -!- claude is now known as Claude 2013-01-20T16:20:45 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-20T16:24:51 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-20T16:34:24 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 264 seconds] 2013-01-20T16:39:03 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-20T16:39:11 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-20T16:45:43 < emeb_mac> dongs: nice schematic 2013-01-20T17:22:39 -!- Claude is now known as claude 2013-01-20T17:26:47 -!- SuicideFunky [~randy@ssh.xor-gate.org] has quit [Remote host closed the connection] 2013-01-20T17:37:12 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-9.pptp.stw-bonn.de] has joined ##stm32 2013-01-20T17:45:44 -!- claude is now known as Claude 2013-01-20T17:56:22 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-20T17:57:33 < Laurenceb_> whats the difference between F1 and F3? just core,adc,more timers and i2c? 2013-01-20T17:57:37 < Laurenceb_> oh and rtc 2013-01-20T17:58:04 < jpa-> "just" 2013-01-20T17:58:20 < jpa-> IMO even just M3 vs. M4F is enough of difference 2013-01-20T17:58:43 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2013-01-20T18:00:35 < Laurenceb_> well i want to port code over 2013-01-20T18:00:45 < Laurenceb_> wondering what peripherals need attention 2013-01-20T18:02:25 < Laurenceb_> the rtc sucks, i dont know what they were thinking 2013-01-20T18:03:05 < Laurenceb_> why the hell would anyone want a hardware calendar 2013-01-20T18:03:16 < jpa-> why not? 2013-01-20T18:04:28 < Laurenceb_> how am i supposed to sync to gps time, for example 2013-01-20T18:05:11 < gxti> gps receivers tend to give calendar time 2013-01-20T18:05:25 < Laurenceb_> or unix time 2013-01-20T18:05:35 < Laurenceb_> or set alarm in x seconds 2013-01-20T18:05:49 < jpa-> the conversions are relatively simple anyway 2013-01-20T18:05:57 < gxti> can't please everyone, but sometimes i wonder 2013-01-20T18:05:57 < Laurenceb_> wanting time in seconds from some epoc is surely more useful on an embedded system 2013-01-20T18:05:59 < Laurenceb_> yes 2013-01-20T18:06:22 < jpa-> if you want to make timestamps for displaying to user, hardware calendar is easier :) 2013-01-20T18:06:41 < Laurenceb_> im going to have to add extra conversion functions to make it work 2013-01-20T18:07:11 < jpa-> and the "wakeup timer" can be used for "wake up in X seconds" if i understand it correctly 2013-01-20T18:08:53 < Laurenceb_> oh, at least thats sane 2013-01-20T18:10:23 < gxti> http://hg.partiallystapled.com/circuits/laureline/file/3816a60d1340/code/main/src/epoch.c 2013-01-20T18:10:35 < gxti> kinda awkward, but it if were a timestamp counter then people wanting calendar would have to convert 2013-01-20T18:10:44 < gxti> and that's probably the more common case by far 2013-01-20T18:16:54 < emeb_mac> F1/F3 diffs - also touch controller. 2013-01-20T18:17:05 < emeb_mac> dongs pointed out that I2C pins moved around 2013-01-20T18:21:21 < Laurenceb_> yeah just noticed that 2013-01-20T18:21:32 < Laurenceb_> lucky it doesnt effect any of my F1 projects 2013-01-20T18:21:58 < Laurenceb_> thanks for the link gxti 2013-01-20T18:21:58 < dongs> Laurenceb_: uart is diff too 2013-01-20T18:22:09 < Laurenceb_> how? 2013-01-20T18:22:21 < dongs> separate rx/tx registers, you can invert either line by bits, etc 2013-01-20T18:22:26 < Laurenceb_> ah 2013-01-20T18:22:37 < Laurenceb_> shrug - i only use usart for bluetooth 2013-01-20T18:22:53 < Laurenceb_> is it covered by periph lib? 2013-01-20T18:23:13 < dongs> sure 2013-01-20T18:23:15 < dongs> all is 2013-01-20T18:23:36 < Laurenceb_> simple then :D 2013-01-20T18:23:53 < Laurenceb_> now to write the infrared code.... 2013-01-20T18:24:12 < emeb_mac> tvbgone 2013-01-20T18:24:24 < gxti> dongsBgone 2013-01-20T18:24:25 < Laurenceb_> going to try 300baud serial using irda usart mode and 36khz modulation with timer8 2013-01-20T18:24:31 < dongs> reude 2013-01-20T18:24:31 < Laurenceb_> lol gxti 2013-01-20T18:24:58 < emeb_mac> Laurenceb: what for rx tho? 2013-01-20T18:25:11 < Laurenceb_> standard rx off a tv 2013-01-20T18:25:19 < Laurenceb_> going into usart rx 2013-01-20T18:25:40 < Laurenceb_> then im going to try networking my loggers 2013-01-20T18:25:42 < emeb_mac> ya - just make sure to match the modulation 2013-01-20T18:26:26 < Laurenceb_> tx -> led -> 100ohm -> timer8 pwm pin 2013-01-20T18:26:41 < Laurenceb_> then i can adjust the frequency to match 2013-01-20T18:26:51 < emeb_mac> yep 2013-01-20T18:27:14 < Laurenceb_> and i can reuse my F1 boards with a little solder on module 2013-01-20T18:27:31 < emeb_mac> f3 also has an IR out pin 2013-01-20T18:31:21 < Laurenceb_> yeah but thats not broken out 2013-01-20T18:31:24 < Laurenceb_> and cant use usart 2013-01-20T18:32:29 < emeb_mac> that's the part I don't get - why IR out isn't driven by uart. 2013-01-20T18:33:06 < Laurenceb_> as stuff like RC5 is quite different from regular usart 2013-01-20T18:33:26 < Laurenceb_> im going to use irda style modulation so usart can drive it 2013-01-20T18:39:07 < Laurenceb_> annoyingly itll only do about 300baud 2013-01-20T18:39:22 < Laurenceb_> so no data exchange, just synchronisation and stuff 2013-01-20T18:40:35 < emeb_mac> rx doesn't have the bandwidth? 2013-01-20T18:41:14 < Laurenceb_> yeah 2013-01-20T18:41:31 < dongs> what 2013-01-20T18:41:34 < dongs> Google and Dart must convince web devs, browser-makers and major websites like Facebook and Digg to surrender their love of JavaScript for a brand new language from Google - a partisan player on the web with whom many are competing 2013-01-20T18:41:57 < emeb_mac> yeah - that's gonna happen 2013-01-20T18:42:07 < dongs> no i mean digg. 2013-01-20T18:42:11 < gxti> javascript is a terrible, terrible language. but it's not going anywhere. 2013-01-20T18:42:43 < emeb_mac> digg != major website? 2013-01-20T18:43:01 < dongs> it's been dead longer than netbsd on desktop 2013-01-20T18:43:20 < zyp> dongs, schematic looks good 2013-01-20T18:43:22 < dongs> the carcass is rotting away 2013-01-20T18:43:30 < zyp> I don't see anything obvious I'd do differently 2013-01-20T18:43:46 < Laurenceb_> where is this schematic? 2013-01-20T18:43:57 < dongs> zyp, thought so. i never used wkup before . will be interesting 2013-01-20T18:44:07 < zyp> oh, or actually 2013-01-20T18:44:12 * Laurenceb_ uses wkup 2013-01-20T18:44:21 < zyp> I'd do a seperate 3.3V reg for the lcd so that can be disabled in standby 2013-01-20T18:44:36 < dongs> i had that before 2013-01-20T18:44:41 < dongs> ldo for stm 2013-01-20T18:44:41 < Laurenceb_> !zlog 2013-01-20T18:44:48 < dongs> and switxher for lcd. 2013-01-20T18:44:59 < dongs> then i took it out . 2013-01-20T18:45:20 < dongs> reason is 2013-01-20T18:45:37 < dongs> if you kill 3v to monitor it disconnects from dp 2013-01-20T18:46:10 < zyp> is that a problem? 2013-01-20T18:46:22 < dongs> no other monitor does that. 2013-01-20T18:46:52 < dongs> you don't get hdmi unplug event when you turn off monitor 2013-01-20T18:47:01 < dongs> on desktop stuff 2013-01-20T18:47:15 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has joined ##stm32 2013-01-20T18:47:15 -!- Bird|lappy [~Bird|ub3r@ip68-107-237-136.om.om.cox.net] has quit [Changing host] 2013-01-20T18:47:15 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-20T18:47:32 < zyp> because ddc is still powered through hdmi cable 2013-01-20T18:47:36 < Laurenceb_> zlog 2013-01-20T18:47:36 < zlog> Laurenceb_: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-01-20.html 2013-01-20T18:47:51 < dongs> i figure if the tcon supports dpms or whatever standby power would be minimal 2013-01-20T18:48:18 < zyp> anyway, my idea is to monitor usb for suspend event, and use that to turn off lcd and led 2013-01-20T18:48:34 < dongs> hmm. 2013-01-20T18:48:59 < Laurenceb_> " Saw a really cute girl in the supermarket tonight.. Her most impressive physical feature? .... she was 6'! :D " 2013-01-20T18:49:18 < zyp> and if it turns out to be a problem, just set the firmware to always keep the lcd ldo enabled 2013-01-20T18:49:26 < dongs> Yea that's an awesome quote 2013-01-20T18:50:19 < dongs> zyp, I'm using switcher for lcd cuz of wasted power . though 1117 I'm powering it with now barely warms. 2013-01-20T18:50:35 < dongs> what about fet instead of second vreg?p 2013-01-20T18:50:44 < zyp> sure 2013-01-20T18:50:54 < Laurenceb_> you cant need anything connected to vbat 2013-01-20T18:51:01 * Laurenceb_ is examining schematic 2013-01-20T18:51:30 < zyp> true, vbat can be left disconnected 2013-01-20T18:51:36 < dongs> vbat - vcc5 if i didn't connect them 2013-01-20T18:51:54 < zyp> vbat is only used when vdd is not present anyway 2013-01-20T18:52:51 < zyp> how are you planning to mount the board? 2013-01-20T18:53:21 < zyp> wrt. buttons and leds 2013-01-20T18:53:24 < dongs> behind . the fpc cable kinda limits it 2013-01-20T18:53:45 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-20T18:53:54 < dongs> was gonna do pwr / + / - / usb / dp 2013-01-20T18:54:01 < dongs> in a corber 2013-01-20T18:54:05 < dongs> corner 2013-01-20T18:54:34 < dongs> side actuator buttons 2013-01-20T18:54:41 < zyp> ah 2013-01-20T18:55:09 * Laurenceb_ uses wkup to do make on usb or button 2013-01-20T18:55:15 < Laurenceb_> *wake 2013-01-20T18:55:28 < Laurenceb_> http://imagebin.org/index.php?mode=image&id=243494 <- see A6 2013-01-20T18:55:51 < zyp> heh 2013-01-20T18:56:13 < zyp> vbus wakeup is pointless when it's always powered by vbus :p 2013-01-20T18:56:38 < Laurenceb_> well that project has lipo cell power 2013-01-20T18:57:52 < dongs> heh 2013-01-20T18:58:02 < dongs> hmm 2013-01-20T18:58:06 < zyp> also, your schematics are as unreadable as your code 2013-01-20T18:58:07 < Laurenceb_> it sets the pull up/down resistors according to the wakeup source 2013-01-20T18:58:19 < dongs> zyp, so fet or vreg? 2013-01-20T18:58:31 < zyp> fet is probably good enough 2013-01-20T18:58:38 < dongs> ok. 2013-01-20T18:58:42 < dongs> noted 2013-01-20T18:59:13 < dongs> separate enable from bl 2013-01-20T18:59:22 < zyp> esp. when 3.3V is generated from a switcher 2013-01-20T18:59:52 < zyp> throwing on another ldo is pretty much same parts count as throwing on a fet :p 2013-01-20T18:59:59 < dongs> yea 2013-01-20T19:00:23 < emeb_mac> so this whole thing can be powered by USB? 2013-01-20T19:00:28 < emeb_mac> only. 2013-01-20T19:00:31 < zyp> that's the point 2013-01-20T19:00:59 < zyp> and then we can use suspend/resume events to turn off the display when computer goes to sleep 2013-01-20T19:01:36 < dongs> sounds like mac shit. my pc never go to sleep 2013-01-20T19:01:48 < emeb_mac> dongs: did you measure current on those converter chips? 2013-01-20T19:01:52 < zyp> neither does mine 2013-01-20T19:02:05 < dongs> that isn't in this schema 2013-01-20T19:02:06 < zyp> but my laptop do when running on battery 2013-01-20T19:02:20 < dongs> hdmi will need ext power 2013-01-20T19:02:25 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: Reconnecting] 2013-01-20T19:02:32 < emeb_mac> oh 2013-01-20T19:02:34 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-20T19:03:49 < dongs> hdmi is part2. i wanna have dponly usable first 2013-01-20T19:04:20 < zyp> dp only means I can have a portable extra monitor for my laptop 2013-01-20T19:04:21 < emeb_mac> right - just noticed that the DP->eDP is pass-thru 2013-01-20T19:05:13 < emeb_mac> and dongs has video card w/ DP out already 2013-01-20T19:05:25 < dongs> several. 2013-01-20T19:05:29 < zyp> yeah 2013-01-20T19:05:38 < dongs> i have 3 usable dp ports 2013-01-20T19:06:58 < dongs> next problem is i will need to do this on 4l 2013-01-20T19:07:16 < emeb_mac> ? 2013-01-20T19:07:26 < zyp> which means waiting for something to panel it with? 2013-01-20T19:07:28 < dongs> not due to complex but cuz imprdance 2013-01-20T19:07:31 < dongs> na 2013-01-20T19:07:52 < dongs> there is stuff on the way 2013-01-20T19:08:47 < dongs> and.. im still not 100% if i need dc caps on dp lanes 2013-01-20T19:08:55 < dongs> or if lcd has them 2013-01-20T19:09:25 < Laurenceb_> so what does this thing do? 2013-01-20T19:09:38 < Laurenceb_> drive a apple lcd with what? 2013-01-20T19:09:53 < dongs> displayport. 2013-01-20T19:09:54 < zyp> just displayport passthrough and backlight driver 2013-01-20T19:09:58 < Laurenceb_> ah 2013-01-20T19:10:07 < Laurenceb_> does it need usb? 2013-01-20T19:10:17 < zyp> for power 2013-01-20T19:10:46 < dongs> usb for troll 2013-01-20T19:11:10 < dongs> hmm maybe ill use rgb led for status 2013-01-20T19:11:20 < dongs> and pwm it on 3 channels 2013-01-20T19:11:21 < Laurenceb_> can you drive usb soundcards with usb otg on android? 2013-01-20T19:11:58 < dongs> then you can have diff color for statuses 2013-01-20T19:12:10 < zyp> http://www.usb.org/developers/devclass_docs/usbmon10.pdf <- there is already defined a monitor class 2013-01-20T19:12:13 < zyp> based on HID 2013-01-20T19:12:18 < dongs> rly 2013-01-20T19:12:30 < zyp> wonder how os support for that is 2013-01-20T19:13:05 < zyp> would be great to just plug it in, and then have everything working without drivers 2013-01-20T19:13:28 < Laurenceb_> "Windows 95/NT Host" 2013-01-20T19:13:30 < Laurenceb_> lolzers 2013-01-20T19:13:58 < Laurenceb_> surely there are control signals over displayport? 2013-01-20T19:14:17 < zyp> sure, you have the AUX lane for that 2013-01-20T19:14:25 < dongs> but without rx chip you can't get to the. 2013-01-20T19:14:27 < dongs> tgrm 2013-01-20T19:14:32 < dongs> them 2013-01-20T19:14:34 < zyp> exactly 2013-01-20T19:14:54 < Laurenceb_> oh its interleaved with the data 2013-01-20T19:14:56 < Laurenceb_> i see 2013-01-20T19:14:58 < dongs> on hdmi version i can do stuff 2013-01-20T19:15:09 < Laurenceb_> yeah hdmi has control lines 2013-01-20T19:15:22 < emeb_mac> cec? 2013-01-20T19:15:29 < dongs> like audio 2013-01-20T19:15:43 < dongs> and fake edid 2013-01-20T19:16:20 < emeb_mac> wow - usb monitor class has a lot of possible controls 2013-01-20T19:16:35 < Laurenceb_> why not use hdmi? 2013-01-20T19:16:49 < dongs> cuz dp works . 2013-01-20T19:16:55 < zyp> hmm 2013-01-20T19:16:58 < zyp> «If you're using an Apple Cinema Display it is possible to control brightness as long as you connect the display's USB cable to your Mac.» 2013-01-20T19:16:58 < dongs> less chips 2013-01-20T19:17:02 < emeb_mac> hdmi requires extra converter chips 2013-01-20T19:17:07 < zyp> wonder if that is using monitor class or vendor specific 2013-01-20T19:17:08 < dongs> zyp! 2013-01-20T19:17:10 < Laurenceb_> ah 2013-01-20T19:17:18 < dongs> hrh, find out 2013-01-20T19:17:26 < dongs> only brightness ? 2013-01-20T19:17:38 < Laurenceb_> what about dvi? same probem as hdmi? 2013-01-20T19:17:39 < dongs> or some class of stuff 2013-01-20T19:18:00 < Laurenceb_> but no-one has displayport machines 2013-01-20T19:18:07 < dongs> you need * to didplayport encoder ic 2013-01-20T19:18:31 < zyp> Laurenceb_, it's 2013, displayport is pretty common nowadays 2013-01-20T19:18:42 < dongs> i have hdmi rx, dp tx. two huge chops 2013-01-20T19:18:47 < dongs> chips tok. 2013-01-20T19:18:49 < dongs> too. 2013-01-20T19:19:05 < dongs> and they draw like 800ma 2013-01-20T19:19:09 < Laurenceb_> eww 2013-01-20T19:19:12 < Laurenceb_> ok fairdoos 2013-01-20T19:19:55 < dongs> st has hdmi > dp chip but can't get and not in production 2013-01-20T19:20:46 < dongs> this ite shit i can get anytime . also hdcp works that way . 2013-01-20T19:22:48 < zyp> ah, yeah, the apple displays seem to be hid based 2013-01-20T19:22:59 < dongs> mhm 2013-01-20T19:23:11 < zyp> so done right, brightness control should be plug&play with os x 2013-01-20T19:23:22 < dongs> clone that if it isn't standard ? 2013-01-20T19:23:33 < dongs> since i don't care either way 2013-01-20T19:24:27 < zyp> I found some linux software to control the apple displays, and it's talking about /dev/hiddev* 2013-01-20T19:24:34 < zyp> gonna look at source to see how it looks 2013-01-20T19:24:56 < dongs> how do macfags control brights ? fn+ key ? 2013-01-20T19:25:04 < zyp> yeah 2013-01-20T19:25:18 < zyp> same way as laptops 2013-01-20T19:25:25 < zyp> desktop keyboards also have fn key 2013-01-20T19:25:57 < dongs> so it dims both lap and ext monitor on same key presses ? 2013-01-20T19:26:42 < zyp> I've never had an external apple monitor, but according to what I read you hold down ctrl to set brightness on second display 2013-01-20T19:26:47 < zyp> otherwise primary 2013-01-20T19:26:50 < dongs> ah 2013-01-20T19:27:23 < dongs> would be funny if apple actually used usbmon class. 2013-01-20T19:29:05 < dongs> zZzzZ. 2013-01-20T19:29:06 < dongs> bbl 2013-01-20T19:29:11 < zyp> yeah, this stuff even supports some samsung monitor 2013-01-20T19:30:55 < zyp> but yeah, seems to be usbmon 2013-01-20T19:31:47 < zyp> tempted to hack up some code to see if it's recognized here 2013-01-20T19:32:48 < zyp> maybe tomorrow 2013-01-20T19:33:28 < emeb_mac> always something else to do 2013-01-20T19:33:46 < zyp> just not in the mood for coding now :) 2013-01-20T19:33:55 < emeb_mac> I hear that 2013-01-20T19:33:55 < qyx_> hm, could i connect two buck converters in parallel without fancy synchronization? 2013-01-20T19:34:03 < emeb_mac> why not? 2013-01-20T19:34:17 < zyp> why would you? 2013-01-20T19:34:18 < qyx_> don't know, i assume yes 2013-01-20T19:34:25 < qyx_> but never saw that 2013-01-20T19:34:35 < qyx_> just redundancy 2013-01-20T19:35:12 < qyx_> two power supplies powering the same rail 2013-01-20T19:37:35 < zyp> hmm 2013-01-20T19:38:33 < zyp> I still need to wrap my head around HID 2013-01-20T19:39:14 < zyp> I haven't fully made sense of how the reports are described yet 2013-01-20T19:47:36 < emeb_mac> played with HID a few years ago. 2013-01-20T19:48:00 < emeb_mac> weird thing is that it's polled at a fixed rate 2013-01-20T19:49:07 < zyp> weird how? it's due to the fact that it's using interrupt endpoints 2013-01-20T19:49:09 < Bird|lappy> qyx_, diode-ORed? 2013-01-20T19:49:51 < emeb_mac> IIRC the rate is defined in the descriptor 2013-01-20T19:50:19 < zyp> yes, interrupt endpoints specify their bandwidth requirement up front, so it can be reserved and thus guaranteed 2013-01-20T19:51:32 < zyp> it's usb's way of doing qos 2013-01-20T19:51:41 < emeb_mac> makes sense. 2013-01-20T19:52:17 < zyp> interrupt endpoints are for low latency, low bandwith stuff 2013-01-20T19:52:26 < qyx_> Bird|lappy: yep, i found some power-oring controllers 2013-01-20T19:52:42 < qyx_> ir simple diode will do if the voltage drop is acceptable 2013-01-20T19:52:48 < Bird|lappy> *nods* 2013-01-20T19:54:05 < zyp> keep in mind that while the voltage drop might be acceptable, the power loss at high currents may not be 2013-01-20T19:54:11 < emeb_mac> ISTR that I just used the ST HID example on an Olimex H103 board. did some simple LED on/off stuff. 2013-01-20T19:54:49 < emeb_mac> aren't there power muxes that use FETs? 2013-01-20T19:56:27 < qyx_> zyp: yes, i meant voltage drop & resulting power loss 2013-01-20T19:56:57 < zyp> apart from the report descriptor, HID is pretty simple 2013-01-20T19:57:02 < emeb_mac> yep 2013-01-20T19:57:08 < emeb_mac> was easy to tweak 2013-01-20T19:57:18 < zyp> it's just a control command to get the report descriptor, and then just an interrupt endpoint to transport the reports 2013-01-20T19:57:49 < zyp> it's the construction of the report descriptor that's a bit weird 2013-01-20T19:58:19 < emeb_mac> I think I just filled in the template and made minor mods 2013-01-20T19:59:05 < zyp> I'll probably take a layered approach 2013-01-20T19:59:54 < zyp> one class handling all the HID generics, and then another class to construct a HID device of a certain kind with the associated report descriptor 2013-01-20T20:00:39 < zyp> so that in the end I can just instance a gamepad object with a selectable number of buttons and axes 2013-01-20T20:00:45 < emeb_mac> right 2013-01-20T20:01:35 < zyp> and then you can take the lazy approach by just instancing the hid generic class and hardcoding the report descriptor :p 2013-01-20T20:02:58 < emeb_mac> doesn't need to be more complicated than that. 2013-01-20T20:03:29 < zyp> depends on what you want to do 2013-01-20T20:04:19 < zyp> gamepad drivers can easily benefit from a customizable number of buttons 2013-01-20T20:05:41 < emeb_mac> the things we were looking at were along these lines: http://monome.org/ 2013-01-20T20:06:07 < emeb_mac> Don't know how they do it now, but at the time they weren't HID devices 2013-01-20T20:06:44 < emeb_mac> they used Atmel AVRs with uart driving an FTDI chip and a customized serial protocol 2013-01-20T20:08:52 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 244 seconds] 2013-01-20T20:11:23 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-20T20:12:25 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-20T20:20:21 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-20T20:21:40 -!- badger [~tom@cxkg.net] has quit [Ping timeout: 248 seconds] 2013-01-20T20:21:52 -!- _BJFreeman [~bjfree@231.sub-75-233-30.myvzw.com] has joined ##stm32 2013-01-20T20:30:20 -!- _BJFreeman is now known as BJFreeman 2013-01-20T20:33:07 -!- badger [~tom@cxkg.net] has joined ##stm32 2013-01-20T20:43:15 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:b7:6e03:314f:f832] has joined ##stm32 2013-01-20T21:01:21 -!- Claude is now known as claude 2013-01-20T21:01:48 -!- dirty_d [~Andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Ping timeout: 245 seconds] 2013-01-20T21:02:14 -!- barthess [~barthess@5.100.208.184] has quit [Quit: Leaving.] 2013-01-20T21:03:44 -!- barthess [~barthess@77.67.245.56] has joined ##stm32 2013-01-20T21:08:18 < Laurenceb_> anyone here know much about usb on android? 2013-01-20T21:08:36 < Laurenceb_> if i plug in a usb soundcard can it be driven using usb otg? 2013-01-20T21:08:56 <+Steffanx> I bet zyp knows enough about it 2013-01-20T21:10:02 < Laurenceb_> heh 2013-01-20T21:10:12 * Laurenceb_ was watching videos from CES 2013-01-20T21:10:53 <+Steffanx> Sure you want to waste your time on that? 2013-01-20T21:11:02 < Laurenceb_> https://www.ihomeaudio.com/NB639B/ 2013-01-20T21:11:06 < Laurenceb_> saw that 2013-01-20T21:12:12 <+Steffanx> .. 2013-01-20T21:12:18 < Laurenceb_> which is mega lame 2013-01-20T21:12:24 < emeb> which version of android do you need before the usb port is more than just a device? 2013-01-20T21:12:28 < Laurenceb_> but if you used usb otg it might not be 2013-01-20T21:13:02 < Laurenceb_> dont things just mount? 2013-01-20T21:13:21 < emeb> ISTR that most androids are devices only. 2013-01-20T21:13:33 < Laurenceb_> suxor 2013-01-20T21:13:37 < emeb> ya 2013-01-20T21:14:32 < Laurenceb_> i was thinking you could have earphones that plugged into usb otg and "just worked (tm)" 2013-01-20T21:14:39 < Laurenceb_> but it seems not 2013-01-20T21:14:56 < Laurenceb_> who wants a massive great base unit that has to be charged etc 2013-01-20T21:15:00 < emeb> there are gizmos out there that allow android phones to control external I/O, but they usually are "hosts" that let the android take control. 2013-01-20T21:15:31 < qyx_> some devices are otg, we had some yarvik sh*t tablets with usb hid rfid readers attached 2013-01-20T21:15:48 < emeb> eg -> https://github.com/ytai/ioio/wiki 2013-01-20T21:15:56 < BrainDamage> my galaxy s2 has otg support 2013-01-20T21:16:16 < BrainDamage> so far I connected it so several card readers, mass storage, and once even a joypad 2013-01-20T21:16:16 < emeb> BrainDamage: what can you plug into i? 2013-01-20T21:16:21 < emeb> nice 2013-01-20T21:16:35 < BrainDamage> the main issue is kernel drivers 2013-01-20T21:16:37 < emeb> that's 4.0? 2013-01-20T21:16:46 < BrainDamage> android 4.0 you mean? yes 2013-01-20T21:16:51 < emeb> right 2013-01-20T21:17:07 < emeb> my 2.3 player only does device. 2013-01-20T21:17:23 < BrainDamage> roms tend to skimp on kernel drivers for size and perf sake 2013-01-20T21:17:32 < BrainDamage> so you end up having libusb stuff 2013-01-20T21:17:58 < Laurenceb_> but did you have to haxor it? 2013-01-20T21:18:12 < BrainDamage> I have haxored it, but the support for otg is out the box 2013-01-20T21:18:15 < Laurenceb_> is there a non haxor way to plug in a usb speaker or whatever? 2013-01-20T21:18:19 < BrainDamage> I just had to buy a 2$ cable 2013-01-20T21:19:12 < BrainDamage> plugin: sure, and the kernel should access it 2013-01-20T21:19:20 < BrainDamage> whenever the kernel has drivers for it, I don't know 2013-01-20T21:19:31 < Laurenceb_> hmm theres got to be a way to do this 2013-01-20T21:19:38 < BrainDamage> or if the audio system can use it as output device even 2013-01-20T21:21:15 < emeb> looks like Samsung Galaxy S III does USB audio (if the forums I'm looking at are right) 2013-01-20T21:22:10 < Laurenceb_> http://www.engadget.com/2012/06/30/gear4-speaker-dock-supports-usb-audio-for-jelly-bean-at-google-i/ 2013-01-20T21:22:22 < Laurenceb_> " It turns out that Jelly Bean supports USB audio," 2013-01-20T21:22:48 < BrainDamage> sounds good then 2013-01-20T21:22:54 < Laurenceb_> presumably with the standard usb class 2013-01-20T21:22:56 < Laurenceb_> hmm 2013-01-20T21:23:11 < Laurenceb_> wonder if stm32 would be able to handle it 2013-01-20T21:23:22 < emeb> stm32 can handle usb audio 2013-01-20T21:23:23 < BrainDamage> buy a 2$ usb otg cable from delayextreme or fleabay 2013-01-20T21:23:35 < emeb> zyp has it working 2013-01-20T21:23:52 < Laurenceb_> nice 2013-01-20T21:23:59 < Laurenceb_> its just binary sample data? 2013-01-20T21:24:04 < emeb> yep 2013-01-20T21:24:31 < Laurenceb_> so could you also do CDC/ACM or something from the same device? 2013-01-20T21:24:42 < emeb> there's some fancy rate-matching stuff you have to do, but otherwise pretty straightforward. 2013-01-20T21:24:48 < Laurenceb_> ok 2013-01-20T21:25:15 < Laurenceb_> wait whats that called? multiple enumeration or something? 2013-01-20T21:25:33 < emeb> maybe. 2013-01-20T21:25:39 < Laurenceb_> hmm 2013-01-20T21:25:54 < qyx_> someone talked about that last time 2013-01-20T21:26:02 < qyx_> but dont remember 2013-01-20T21:26:06 < Laurenceb_> well it could be proprietor, just to talk to an exercise app 2013-01-20T21:26:06 < emeb> BMP presents two different CDC/ACM ports - one for debugger, another for serial 2013-01-20T21:26:18 < Laurenceb_> this could actually be practical :P 2013-01-20T21:26:21 < Laurenceb_> cool ok 2013-01-20T21:27:02 < emeb> don't know if you can present different class types, but can't imagine why not. 2013-01-20T21:27:30 < Laurenceb_> should work then - just use something else to send the heart rate data 2013-01-20T21:28:00 < emeb> making an exercise monitor app or something? 2013-01-20T21:28:06 < Laurenceb_> then have a shouty voiceover from the app 2013-01-20T21:28:16 < Laurenceb_> "run faster lazy bastard" 2013-01-20T21:28:28 < emeb> while happyhardcore plays in the background 2013-01-20T21:28:35 < emeb> "drop and give me fifty!" 2013-01-20T21:28:38 < Laurenceb_> im not, was just idly wondering if that CES thing could be done sanely 2013-01-20T21:29:21 < emeb> heh - pedometer always sounds strange. 2013-01-20T21:29:44 < Laurenceb_> i dont see the point of that part 2013-01-20T21:29:46 <+Steffanx> Only for weird minded 2013-01-20T21:29:53 < Laurenceb_> most smartphones have accel 2013-01-20T21:29:55 < Laurenceb_> like me 2013-01-20T21:30:04 <+Steffanx> Like you and emeb, yes Laurenceb 2013-01-20T21:31:07 < emeb> Steffanx: you got the reference too 2013-01-20T21:32:11 <+Steffanx> True true, but i'm not like "WHAAAAAaaa PEDO PEDO PEDOMETER" 2013-01-20T21:32:33 < Laurenceb_> ~ped o ped o ped o 2013-01-20T21:32:38 < Laurenceb_> lalalalaalaaaaa 2013-01-20T21:33:00 < BrainDamage> Laurenceb_: why not simply using libusb on the client side? 2013-01-20T21:33:11 < BrainDamage> without having to hack audio stream 2013-01-20T21:34:50 < Laurenceb_> well itd have to be usable 2013-01-20T21:35:11 < BrainDamage> what do you mean usable? 2013-01-20T21:35:25 < Laurenceb_> "just works (tm)" 2013-01-20T21:35:25 < BrainDamage> being falsely reckognized as audio device doesn't sound usable to me 2013-01-20T21:35:43 < Laurenceb_> huh itd have earphones 2013-01-20T21:36:02 < BrainDamage> oh, so it'd actually send audio? 2013-01-20T21:36:07 < Laurenceb_> yes 2013-01-20T21:36:10 < Laurenceb_> argggggg 2013-01-20T21:36:11 < BrainDamage> ok nvm then 2013-01-20T21:36:14 < emeb> Laurenceb_: I've got a USB audio codec that also has a HID device 2013-01-20T21:36:19 < Laurenceb_> shall i explain from the beginning? 2013-01-20T21:36:23 < Laurenceb_> /facepalm 2013-01-20T21:36:28 < Laurenceb_> ok 2013-01-20T21:36:30 < emeb> all in one chip. 2013-01-20T21:36:35 < Laurenceb_> nice 2013-01-20T21:36:47 < Laurenceb_> http://www.engadget.com/2012/06/30/gear4-speaker-dock-supports-usb-audio-for-jelly-bean-at-google-i/ 2013-01-20T21:36:49 < Laurenceb_> doh 2013-01-20T21:37:07 < emeb> I could see heart-rate, etc being sent back via HID protocols. 2013-01-20T21:37:21 < Laurenceb_> https://www.ihomeaudio.com/NB639B/ <- that, working with android without drivers and without a battery via usb otg 2013-01-20T21:37:25 < Laurenceb_> yes 2013-01-20T21:39:23 < zippe> emeb: you want to be wired to your phone? 2013-01-20T21:39:48 < emeb> zippe: not me. just kicking ideas around re a CES thing Laurenceb saw 2013-01-20T21:41:08 < karlp> andoird 4 adds api usb host and otg support, but it's nto a required feature for hardware. 2013-01-20T21:41:26 < karlp> 2.3 had some support, some of the sony xperia's had usb otg with android 2.3 2013-01-20T21:53:26 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 240 seconds] 2013-01-20T22:04:03 < zyp> nexus 4 doesn't seem to supply power to connected devices, but I suspect it might work if I power vbus externally 2013-01-20T22:04:30 < zyp> I seem to recall that was the situation with galaxy nexus 2013-01-20T22:05:17 < zyp> hmm, maybe I'll do some tests 2013-01-20T22:09:37 < FransWillem> I'm fairly certain the Galaxy Nexus has full-blown USB-OTG 2013-01-20T22:10:03 < Laurenceb_> wait so you can power peripherals using otg on some phones? 2013-01-20T22:10:46 < gxti> speaking of usb what's the deal with the series resistors and pullup on the BMP? i finally got around to checking the reference manual and they're not mentioned 2013-01-20T22:11:04 < zyp> FransWillem, I might remember it incorrectly then 2013-01-20T22:11:21 < zyp> I remember a friend of mine that went to japan with me last summer had a galaxy nexus and some tablet 2013-01-20T22:11:52 < zyp> and one of those were capable of providing vbus while the other only worked with externally provided vbus 2013-01-20T22:12:05 < zyp> but I'm not sure which where which 2013-01-20T22:16:40 < emeb> gxti: what do you me re: usb resistors on BMP? 2013-01-20T22:17:03 -!- FransWillem [~fw@53533629.cm-6-4a.dynamic.ziggo.nl] has quit [Ping timeout: 276 seconds] 2013-01-20T22:17:10 < gxti> critical parse error... 2013-01-20T22:17:21 < emeb> what do you mean 2013-01-20T22:17:38 < emeb> the 22 ohm series resistors are needed to match USB bus spec impedance. 2013-01-20T22:17:39 < gxti> why does it have 22 ohm resistors in series with the usb lines? 2013-01-20T22:18:11 < emeb> apparently that's not needed on F3 USB PHY, but for F1 it is needed. 2013-01-20T22:18:29 < gxti> where is that documented? 2013-01-20T22:19:15 < gxti> the only resistors i see mentioned in the RM are the integrated pull-ups 2013-01-20T22:22:44 < emeb> good question. Maybe it's cargo-cult, but every F1 USB FS design I've seen has them. 2013-01-20T22:22:56 -!- barthess [~barthess@77.67.245.56] has quit [Quit: Leaving.] 2013-01-20T22:23:04 < emeb> Including those on the ST-designed boards... 2013-01-20T22:24:16 < gxti> the other question is why an external pullup is used to reset the bus after DFU, when there's a register for "soft disconnect" that seems appropriate 2013-01-20T22:25:43 < zyp> soft disconnect only applies to internal pullup 2013-01-20T22:25:55 < zyp> and internal pullup is not used due to it being out of spec 2013-01-20T22:26:33 -!- FransWillem [~fw@53533629.cm-6-4a.dynamic.ziggo.nl] has joined ##stm32 2013-01-20T22:26:52 < FransWillem> Who was I talking to about the Galaxy Nexus just aminute ago ? 2013-01-20T22:27:10 < FransWillem> zyp? 2013-01-20T22:27:13 < zyp> yes 2013-01-20T22:27:18 < FransWillem> Right 2013-01-20T22:27:24 < FransWillem> I can confirm the Galaxy Nexus has full USB OTG support 2013-01-20T22:27:36 < FransWillem> I can also confirm that when I plugged my mouse/keyboard receiver back into my PC it no longer recognized it 2013-01-20T22:27:36 < zyp> I can confirm that nexus 4 has no otg support 2013-01-20T22:27:40 < FransWillem> and needed a fucking forced reboot 2013-01-20T22:27:54 < FransWillem> Not even with a seperate VBUS? 2013-01-20T22:35:45 < zyp> gxti, by the way, which «soft disconnect» register do you refer to? 2013-01-20T22:36:05 < gxti> OTG_FS_DCTL.SDIS 2013-01-20T22:37:42 < zyp> wait, which chip are you talking about? 2013-01-20T22:38:03 -!- betovar [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has quit [Quit: Leaving.] 2013-01-20T22:38:04 < gxti> F103. 2013-01-20T22:38:17 < zyp> F103 doesn't have the OTG_FS block 2013-01-20T22:38:27 < gxti> fair enough. 2013-01-20T22:38:33 < zyp> it's only present in F105/F107, F2 and F4 2013-01-20T22:39:15 < zyp> and the OTG_FS/OTG_HS blocks have internal pullups that work 2013-01-20T22:39:16 < gxti> i've been mostly working on a F107 project, so i forgot which one the lesser parts had. 2013-01-20T22:39:26 < gxti> the F103 is just for BMP 2013-01-20T22:41:56 < zyp> the device only cores used in F103, F3 and L1 doesn't have a pullup as part of the core 2013-01-20T22:42:49 < gxti> the RM is super helpful, the only mention of "pull-up" is in the documentation for a single register flag 2013-01-20T22:43:17 < gxti> and only as a passing reference ;p 2013-01-20T22:43:20 < zyp> I was just refreshing my memories here 2013-01-20T22:43:39 < zyp> L1 is the one with the out of spec pullup 2013-01-20T22:43:42 < gxti> yeah, just whinging about the RM 2013-01-20T22:44:10 < zyp> they tried adding an internal pullup to the device only core in L1, but messed up, it's listed in the errata sheet 2013-01-20T22:44:20 < zyp> http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/ERRATA_SHEET/CD00278726.pdf <- point 2.5.1 2013-01-20T22:44:29 < gxti> haven't looked at L1 yet 2013-01-20T22:44:41 < zyp> the other chips with the device only core doesn't have an internal pullup at all 2013-01-20T22:45:13 < zyp> the pullup isn't part of the usb core anyway, it just sits outside and is controlled from one of the SYSCFG registers 2013-01-20T22:51:21 -!- barthess [~barthess@77.67.243.204] has joined ##stm32 2013-01-20T22:54:30 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-20T22:55:45 < zyp> hmm, judging by various google results, nexus 4 doesn't support outputting vbus, and therefore host support is probably disabled in software as well 2013-01-20T22:56:02 -!- betovar [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has joined ##stm32 2013-01-20T22:56:16 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 244 seconds] 2013-01-20T22:57:34 -!- jef79m_lurking is now known as jef79m 2013-01-20T23:01:16 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 256 seconds] 2013-01-20T23:15:42 < emeb> you'd need some sort of funky cable otherwise. 2013-01-20T23:16:07 < zyp> sure 2013-01-20T23:17:48 < emeb> provides power, probably would need a switch to turn it on & alarms for overcurrent, etc. Yech. 2013-01-20T23:18:14 < zyp> I have a hub with a micro connector on the upstream cable 2013-01-20T23:18:19 < mervaka> mm, interesting 2013-01-20T23:18:23 -!- jef79m is now known as jef79m_lurking 2013-01-20T23:18:50 < zyp> and power input, turning it into a powered hub 2013-01-20T23:18:53 < mervaka> i'm revisiting this DMA problem I have with my mixer project. This time, i'm feeding an asymmetrical waveform in. 2013-01-20T23:19:42 < emeb> and? 2013-01-20T23:19:59 < zyp> anyway, I'm not going to mess around with it 2013-01-20T23:20:15 < emeb> zyp: yeah. seems iffy 2013-01-20T23:20:20 < zyp> I've not missed host support so far, so I don't really care :p 2013-01-20T23:20:31 < zyp> I don't see what I would use it for 2013-01-20T23:21:04 < mervaka> the channel which i thought was fine, is actually phase inverted. 2013-01-20T23:21:04 < emeb> "audiophools" seem to get excited about using external DACs & amps for powering high-end headphones from their smartphone. 2013-01-20T23:21:19 < mervaka> sorry, had to answer the door 2013-01-20T23:21:49 < emeb> bizarre. 2013-01-20T23:21:56 < zyp> that seems pretty pointless :p 2013-01-20T23:22:16 < emeb> yeah well, kinda goes with the territory. 2013-01-20T23:22:46 < mervaka> going back to I2S interrupts and seeing how that comes out. 2013-01-20T23:23:00 < emeb> mervaka: vs DMA? 2013-01-20T23:23:03 < mervaka> cutting everything right back and starting again 2013-01-20T23:23:04 < mervaka> yeah 2013-01-20T23:23:10 < emeb> hmmm. 2013-01-20T23:23:29 < mervaka> though i started using DMA because i wasn't serving the interrupts quickly enough.. 2013-01-20T23:23:52 < emeb> I've never tried interrupts. DMA seems to work fine for me. 2013-01-20T23:24:28 < emeb> but then you're doing things a bit differently than I do. 2013-01-20T23:26:52 < zyp> if you are gonna use interrupt driven I2S on all I2S interfaces, you're not gonna have much cpu left over afterwards 2013-01-20T23:28:05 < mervaka> no :( 2013-01-20T23:28:11 < mervaka> i dont plan to actually use it 2013-01-20T23:28:34 < mervaka> just to debug dma 2013-01-20T23:28:34 < zyp> attempting it at all seems like a waste of time, I'm not sure what you are hoping to achieve with it 2013-01-20T23:29:14 < mervaka> i'm just not sure how else i can get this damn thing to work. 2013-01-20T23:29:28 < zyp> I don't imagine it will help you debug dma at all, I just foresee you running into a new and completely unrelated set of issues 2013-01-20T23:29:44 < emeb> down the rat-hole 2013-01-20T23:29:55 < mervaka> well the end target is still DMA 2013-01-20T23:30:15 < mervaka> i just want to see if i can pass things through ok 2013-01-20T23:30:40 < emeb> so just a quick loop-back in the ISR? 2013-01-20T23:30:57 < zyp> keep in mind that I2S is running with a constant clock, so you have to feed it data constantly 2013-01-20T23:31:07 < emeb> I guess that'd tell you that the interface is set up right. 2013-01-20T23:31:24 < emeb> but if your problem is with DMA buffer management then the ISR won't help. 2013-01-20T23:31:27 < mervaka> emeb: yeah 2013-01-20T23:31:34 < mervaka> hmm 2013-01-20T23:31:35 < zyp> and with DMA you'll have the entire buffer worth of time to prepare the next buffer, without DMA you have 16 bits worth of time 2013-01-20T23:31:47 -!- barthess [~barthess@77.67.243.204] has quit [Quit: Leaving.] 2013-01-20T23:32:16 < mervaka> true 2013-01-20T23:33:55 < zyp> so anyway, what was the problems you were having with dma? 2013-01-20T23:35:23 < mervaka> well i've got a phase shift that occurs at a regular interval, related to the buffer/period size 2013-01-20T23:35:28 < mervaka> on channel 1 2013-01-20T23:35:55 < mervaka> channel 2 seemed fine, but it looks like i've got a phase inversion. probably unrelated though 2013-01-20T23:36:08 < mervaka> polarity* 2013-01-20T23:38:11 < zyp> channels? 2013-01-20T23:38:46 < zyp> I assume you mean different I2S interfaces, not each channel of a single I2S interface? 2013-01-20T23:39:49 < mervaka> no, same i2s interface 2013-01-20T23:42:59 < zyp> oh 2013-01-20T23:43:53 < mervaka> i've put this problem off and implemented the whole control system :P 2013-01-20T23:44:05 < mervaka> but now i need to tackle it. 2013-01-20T23:44:20 < zyp> hmm, I might be able to test it on a board here to see if I can reproduce your problem 2013-01-20T23:44:30 < zyp> no time for that tonight though, maybe tomorrow 2013-01-20T23:44:50 < mervaka> ok 2013-01-20T23:45:09 < mervaka> thanks very much if you can. do you have I2S interfaces handy? 2013-01-20T23:45:54 < zyp> the waveshare board have I2S2 and I2S3 broken out, both going to the same connector 2013-01-20T23:46:12 < zyp> and then a peripheral board that connects one to input and one to output from some codec chip 2013-01-20T23:47:04 < mervaka> ah cool 2013-01-20T23:47:45 < zyp> I might need to add some code to configure the codec chip though, not sure it has a usable configuration by default 2013-01-20T23:48:13 < mervaka> i'm working at 24 bits, 48k. hard wired config. 2013-01-20T23:48:48 < zyp> the peripheral board has an uda1380 2013-01-20T23:49:32 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-20T23:54:22 < mervaka> heh, just passed audio through. doesn't actually sound too bad. 2013-01-20T23:54:34 < mervaka> just has this ring to it 2013-01-20T23:56:16 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-20T23:59:15 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] --- Day changed Mon Jan 21 2013 2013-01-21T00:02:59 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-9.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-21T00:05:35 < emeb> that's not a bug, that's a feature! 2013-01-21T00:08:22 < mervaka> heh 2013-01-21T00:08:40 < mervaka> fuck it, i'll try double buffering. probably the only thing i haven't tried yet. 2013-01-21T00:16:12 < Laurenceb_> what do you mean by ring? 2013-01-21T00:16:21 < Laurenceb_> goatse? 2013-01-21T00:16:57 <+Steffanx> /kick Laurenceb_ 2013-01-21T00:17:57 -!- Erlkoenig [~erlkoenig@pptp-212-201-74-62.pptp.stw-bonn.de] has joined ##stm32 2013-01-21T00:27:10 < Laurenceb_> https://www.keil.com/demo/eval/rtx.htm 2013-01-21T00:27:40 <+Steffanx> Chrome doesn't like the certificate .. 2013-01-21T00:28:01 <+Steffanx> and nothing to see there 2013-01-21T00:28:39 < Laurenceb_> RTX is under BSD license 2013-01-21T00:28:46 < Laurenceb_> thats certainly something 2013-01-21T00:29:00 <+Steffanx> oh 2013-01-21T00:29:40 < Laurenceb_> hmm maybe i can port my chibios project to that 2013-01-21T00:29:41 <+Steffanx> so download and redistribute for me :P 2013-01-21T00:29:43 < Laurenceb_> for work stuff 2013-01-21T00:29:51 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:b7:6e03:314f:f832] has quit [Remote host closed the connection] 2013-01-21T00:30:24 <+Steffanx> Why would you port it from nothing, to chibios to that? 2013-01-21T00:31:04 < Laurenceb_> maintainability and extensibility 2013-01-21T00:33:02 < Laurenceb_> looks like CMSIS now includes DSP lib and RTX RTOS 2013-01-21T00:33:12 < Laurenceb_> http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php 2013-01-21T00:34:22 <+Steffanx> Hope for you it makes your life easier 2013-01-21T00:37:38 < Laurenceb_> holy shit 2013-01-21T00:37:46 < Laurenceb_> has matrix library and stuff 2013-01-21T00:37:50 < Laurenceb_> this is hawt 2013-01-21T00:38:50 <+Steffanx> have a direct download link? 2013-01-21T00:39:07 < Laurenceb_> you have to register for an ARM account 2013-01-21T00:39:13 < Laurenceb_> so not yet 2013-01-21T00:39:22 <+Steffanx> Yeah.. that sucks 2013-01-21T00:41:16 < Laurenceb_> looks like ARM has decided to open source a load of KIEL IP 2013-01-21T00:41:24 < Laurenceb_> thats pretty cool news 2013-01-21T00:43:03 < emeb> err - all that DSP stuff is in CMSIS for F4, F3 already, no? 2013-01-21T00:43:39 < emeb> yep, sure is. 2013-01-21T00:43:46 < emeb> and the RTX stuff too. 2013-01-21T00:44:23 <+Steffanx> :P 2013-01-21T00:44:40 * emeb resists temptation to say "old" 2013-01-21T00:45:00 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-21T00:46:57 <+Steffanx> Too bad it didnt work out well emeb 2013-01-21T00:47:48 < emeb> yep - fail. 2013-01-21T00:48:41 < Laurenceb_> its piss poor? 2013-01-21T00:48:45 < fxd0h> aren't keil's RTX and micrium's the same? 2013-01-21T00:48:56 < emeb> no, I failed at resisting the temptation to say "old" 2013-01-21T00:49:15 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-21T00:49:25 < emeb> no idea what the quality of the CMSIS libs are. 2013-01-21T00:49:39 < emeb> FWIW, I've used the FFT functions - they seem to work. 2013-01-21T00:51:11 < Laurenceb_> ok 2013-01-21T00:51:19 < Laurenceb_> the matrix stuff looks good for kalman 2013-01-21T00:53:16 <+Steffanx> He should've called it Kálmán 2013-01-21T00:53:27 <+Steffanx> Are you sure it's the same fxd0h ?! 2013-01-21T00:54:59 <+Steffanx> Will you call your stuff after your last name Laurenceb_ ? :) 2013-01-21T01:01:02 < fxd0h> well , idk , let me compare 'em 2013-01-21T01:03:53 -!- Erlkoenig [~erlkoenig@pptp-212-201-74-62.pptp.stw-bonn.de] has quit [Ping timeout: 244 seconds] 2013-01-21T01:05:15 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-98.pptp.stw-bonn.de] has joined ##stm32 2013-01-21T01:07:43 < fxd0h> my bad , it was keil and segger's 2013-01-21T01:07:51 < fxd0h> i mean , micrium's and segger's 2013-01-21T01:07:56 < mervaka> hehe 2013-01-21T01:07:59 < mervaka> interesting.. 2013-01-21T01:08:12 < emeb> ? 2013-01-21T01:08:14 < mervaka> using double buffering, the problem has shifted to the second channel 2013-01-21T01:08:22 < mervaka> ch1 is now dandy 2013-01-21T01:08:30 < mervaka> ch2 is a bit dodgy now :s 2013-01-21T01:08:37 < mervaka> slightly different artefacts 2013-01-21T01:08:56 < emeb> yay? 2013-01-21T01:09:13 < mervaka> it's a lot, lot better. 2013-01-21T01:09:58 < emeb> reset - does it change? 2013-01-21T01:10:22 < mervaka> hold on 2013-01-21T01:10:27 < mervaka> nope 2013-01-21T01:10:40 < Laurenceb_> http://forum.chibios.org/phpbb/viewtopic.php?f=3&t=272 2013-01-21T01:10:42 < Laurenceb_> heh 2013-01-21T01:10:47 < Laurenceb_> Giovanni hates it 2013-01-21T01:16:34 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-21T01:20:31 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-21T01:24:23 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-21T01:25:32 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-21T01:39:25 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-21T01:42:36 -!- DaKu is now known as daku 2013-01-21T01:42:43 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-21T01:45:57 < Laurenceb_> where the hell is the cmsis 3.1 documentation? 2013-01-21T01:47:40 -!- jef79m_lurking is now known as jef79m 2013-01-21T01:48:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-21T01:51:12 < emeb_mac> documentation is for the weak. 2013-01-21T01:59:32 < Laurenceb_> oh 2013-01-21T01:59:32 < Laurenceb_> i saw a bunch of html help things in the powerpoints 2013-01-21T01:59:34 < Laurenceb_> zoom in at browser is at C://documentation 2013-01-21T02:09:04 < dongs> bloggery 2013-01-21T02:09:20 < dongs> Laurenceb_: documentation? might as well read the sores 2013-01-21T02:09:34 < dongs> cause all ST doxygen docs, in the true spirit of opensauce go like this 2013-01-21T02:09:45 < dongs> void crap(int a, int b); 2013-01-21T02:09:49 < dongs> /* function crap 2013-01-21T02:09:55 < dongs> * inputs: int a, int b 2013-01-21T02:09:59 < dongs> * outpouts: none 2013-01-21T02:10:07 < dongs> */ 2013-01-21T02:10:11 < Laurenceb_> lol 2013-01-21T02:10:40 < Laurenceb_> might move some of my project to RTX/CMSIS 2013-01-21T02:12:55 < dongs> well you are already using cmsis. but rtx? you can't code without spaces in keil 2013-01-21T02:17:54 < Laurenceb_> lolz 2013-01-21T02:17:57 * Laurenceb_ zzz 2013-01-21T02:22:28 -!- Laurenceb_ [~Laurence@host86-136-119-73.range86-136.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-21T02:35:38 < dongs> found zyp http://www.dailymail.co.uk/news/article-2265039/Facebook-Romeo-achieves-1million-likes-picture-girl-fancied--sex-hopes.html 2013-01-21T02:41:32 < zyp> heh 2013-01-21T02:53:53 < emeb_mac> 1M anything is too easy these days. 2013-01-21T02:54:12 < emeb_mac> esp. if it's free. 2013-01-21T02:57:19 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-98.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-21T03:06:49 < dongs> k time to see about fixing schema 2013-01-21T03:17:28 < dongs> arg, im gonna have to use a pfet to switch vcc eh 2013-01-21T03:17:29 < dongs> useless. 2013-01-21T03:21:47 < qyx_> hm, pfet 2013-01-21T03:22:17 < zyp> alternative is using a seperate ldo for stm, and control enable pin on switcher 2013-01-21T03:26:33 -!- betovar [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has quit [Quit: Leaving.] 2013-01-21T03:27:34 < dongs> zyp, i had that before. 2013-01-21T03:27:37 < dongs> i dont really know if i want that or not. 2013-01-21T03:28:23 < zyp> same part count as a pfet, but I guess a pfet might be cheaper 2013-01-21T03:28:36 < dongs> my LDOs are like 5c/ea 2013-01-21T03:28:51 < dongs> the RT9133 or whaetver i use. 2013-01-21T03:29:14 < dongs> k fuckit gonna put ldo back in 2013-01-21T03:29:33 < zyp> stm isn't gonna draw enough power to make losses matter, and I suspect that the switcher might be even more inefficient at ~0 load 2013-01-21T03:33:35 < dongs> o yeah 2013-01-21T03:33:38 < dongs> waht did he say about vbat? 2013-01-21T03:33:46 < dongs> blogulencb 2013-01-21T03:33:51 < dongs> talkin about vbat on the led driver? 2013-01-21T03:33:52 < dongs> or stm 2013-01-21T03:33:56 < zyp> vbat on stm I guess 2013-01-21T03:34:01 < dongs> ive always conencted it 2013-01-21T03:34:07 < zyp> doesn't really matter either way 2013-01-21T03:34:16 < zyp> but it's only used when vdd is not present 2013-01-21T03:35:44 < qyx_> i had one gps module with datasheet saying that vbat is used only for rtc domain backup if vdd is not present.. 2013-01-21T03:35:49 < emeb_mac> don't docs say "hook vbat to vdd if not used"? 2013-01-21T03:36:12 < qyx_> surprisingly it was not working 2013-01-21T03:37:22 < dongs> also i dunno about thet led connections. the way they end up wiht how its hooked up now is really lame 2013-01-21T03:37:28 < dongs> i wonder if I can just take adjacent pairs as single out 2013-01-21T03:37:40 < dongs> i.e. 1A+2A, 3A+4A.. etc 2013-01-21T03:37:42 < zyp> just measure them? 2013-01-21T03:38:19 < zyp> or do you mean hooking them in parallel? 2013-01-21T03:38:30 < zyp> that would be as bad as hooking leds in parallel 2013-01-21T03:38:57 < dongs> but they're parallel anyway 2013-01-21T03:39:05 < dongs> i'd need 12ch driver to be proper 2013-01-21T03:42:04 < dongs> what would I be measuring anyway 2013-01-21T03:43:21 < emeb_mac> what's the worst that happens? some LEDs a bit brighter. Noticeable thru the diffuser? 2013-01-21T03:43:28 < dongs> unlikely. 2013-01-21T03:43:33 < dongs> as im driving them off a single supply right nwo 2013-01-21T03:43:40 < dongs> and it makes no difference. 2013-01-21T03:43:52 < emeb_mac> right 2013-01-21T03:46:32 < zyp> docs says it's recommended to hook vbat to vdd when unused 2013-01-21T03:46:59 < emeb_mac> thought so, but couldn't find where it was. 2013-01-21T03:47:49 < zyp> pretty sure I checked that when I did my F4 board, and I left it open, so I dunno what I read 2013-01-21T03:48:51 < emeb_mac> section 5.1.2 of the F10x RM 2013-01-21T03:49:02 < dongs> ok, pinswapped led cathodes so they're not retarded to route 2013-01-21T03:49:21 < dongs> still retarded but slightly less so 2013-01-21T03:49:25 < emeb_mac> "If no external battery is used in the application, it is recommended to connect VBAT externally to VDD with a 100 nF external ceramic decoupling capacitor (for more details refer to AN2586)." 2013-01-21T03:50:01 < dongs> wahts macfag approved front panel button order 2013-01-21T03:50:42 < GargantuaSauce> power button, nothing else 2013-01-21T03:50:45 < GargantuaSauce> think different dude 2013-01-21T03:51:16 < zyp> ha, «front panel» :p 2013-01-21T03:51:35 < emeb_mac> what are your buttons? on/off +/- bright... 2013-01-21T03:52:12 < dongs> pwr, bright up, bright down 2013-01-21T03:52:12 < dongs> yeah 2013-01-21T03:52:29 < dongs> now i has them in that order. pwr | + | - | dp connector | usb 2013-01-21T03:52:50 < dongs> hm usb might have to be before dp 2013-01-21T03:52:53 < dongs> or before buttons 2013-01-21T03:56:05 < dongs> http://i.imgur.com/h07OCIk.png 2013-01-21T03:57:03 < qyx_> uff 2013-01-21T04:00:10 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Remote host closed the connection] 2013-01-21T04:02:15 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has joined ##stm32 2013-01-21T04:05:16 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 246 seconds] 2013-01-21T04:10:50 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-21T04:11:29 -!- dirty_d [~Andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-21T04:42:14 -!- dirty_d [~Andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Quit: Leaving] 2013-01-21T04:46:16 < emeb_mac> dongs: where's the RGB LED? :P 2013-01-21T04:46:53 < dongs> should it be there? 2013-01-21T04:47:06 < emeb_mac> you were talking about it yesterday. 2013-01-21T04:47:12 < dongs> yes 2013-01-21T04:47:16 < dongs> was halftrolling 2013-01-21T04:48:26 < dongs> k, will make it happen 2013-01-21T04:49:02 < dongs> then you could choose MOOD over USB 2013-01-21T04:49:15 < emeb_mac> \o/ 2013-01-21T04:49:20 < dongs> dont like pwoer button BLUE today? make it RAGING RED 2013-01-21T04:49:52 < emeb_mac> or PULSATING PASSIONATE FUSCHIA 2013-01-21T04:50:04 < dongs> ya thats the default. 2013-01-21T04:50:13 < emeb_mac> so kawai 2013-01-21T04:58:38 < dongs> done. 2013-01-21T04:58:49 < dongs> usin 5050 rgb led. 2013-01-21T05:00:09 < emeb_mac> same as the ws boards you built? 2013-01-21T05:01:16 < dongs> yeah 2013-01-21T05:01:26 < dongs> well, i didnt use the controlled led 2013-01-21T05:01:36 < dongs> just regular 3 rgb inputs 2013-01-21T05:01:57 < dongs> https://youtube.com/watch?v=jUizGK1Y3FA i.e. this 2013-01-21T05:02:00 < emeb_mac> right 2013-01-21T05:03:46 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-21T05:36:31 -!- jef79m [~jef79m@124-168-171-28.dyn.iinet.net.au] has quit [Ping timeout: 260 seconds] 2013-01-21T05:36:48 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-21T05:40:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 248 seconds] 2013-01-21T05:45:27 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-21T06:15:44 -!- BJFreeman [~bjfree@231.sub-75-233-30.myvzw.com] has quit [Quit: had a good time] 2013-01-21T06:18:18 -!- jef79m_lurking [~jef79m@124-168-171-28.dyn.iinet.net.au] has joined ##stm32 2013-01-21T06:18:39 -!- jef79m_lurking is now known as jef79m 2013-01-21T06:39:26 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-21T06:39:34 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-21T06:58:57 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-21T07:04:17 -!- |sark [~|sark@109.235.51.202] has quit [Max SendQ exceeded] 2013-01-21T07:04:42 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-21T07:11:01 -!- jef79m is now known as notjef79m 2013-01-21T07:13:12 -!- notjef79m is now known as jef79m_lurking 2013-01-21T07:18:04 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-21T07:33:44 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-21T07:38:03 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-21T07:51:06 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-21T08:08:08 -!- claude is now known as Claude 2013-01-21T08:13:32 -!- jef79m_lurking is now known as jef79m 2013-01-21T08:15:59 < dongs> hmm 2013-01-21T08:16:07 < dongs> looks ilke I dont need filter caps/ressitors if I dont use vsync 2013-01-21T08:17:22 < dongs> fuck yeah. removing. 2013-01-21T08:21:01 -!- KennyMcCormic [~Kenny@94.28.202.106] has joined ##stm32 2013-01-21T08:27:50 < KennyMcCormic> guys, is there any free tool for iir filter design which allow placing poles and zeros? 2013-01-21T08:28:42 -!- jef79m is now known as jef79m_lurking 2013-01-21T08:36:06 -!- jef79m_lurking is now known as jef79m 2013-01-21T08:38:43 -!- Claude is now known as claude 2013-01-21T09:08:25 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-21T09:23:30 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2013-01-21T09:24:11 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-21T09:30:04 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-21T09:30:14 < dongs> agh, pinswap time again 2013-01-21T09:36:44 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-21T09:47:09 -!- jef79m is now known as jef79m_lurking 2013-01-21T09:54:44 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-21T09:59:00 -!- jef79m_lurking is now known as jef79m 2013-01-21T10:00:48 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-21T10:09:39 -!- jef79m is now known as jef79m_lurking 2013-01-21T10:19:33 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-01-21T10:26:27 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-21T10:32:11 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-21T10:33:35 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 252 seconds] 2013-01-21T10:37:50 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-21T10:40:17 -!- jef79m_lurking is now known as jef79m 2013-01-21T10:40:56 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-21T10:40:58 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 245 seconds] 2013-01-21T10:48:58 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-21T11:05:07 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-21T11:08:37 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-21T11:20:53 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] 2013-01-21T11:26:43 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-21T11:33:40 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-21T11:51:53 -!- Laurenceb_ [~Laurence@host86-136-119-73.range86-136.btcentralplus.com] has joined ##stm32 2013-01-21T12:15:33 -!- Laurenceb_ [~Laurence@host86-136-119-73.range86-136.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-01-21T12:32:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-21T12:32:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-21T12:32:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-21T12:32:23 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-21T12:35:41 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-21T13:39:08 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-21T13:41:53 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-21T13:43:19 -!- Viper168_ is now known as Viper168 2013-01-21T14:18:14 < dongs> holy shit. 2013-01-21T14:18:31 < dongs> 16 bucks for 4k reel of X7R 10uF caps. 2013-01-21T14:18:33 < dongs> what the hell 2013-01-21T14:19:07 < dongs> http://www.digikey.com/product-detail/en/GRM21BR70J106KE76L/490-3904-1-ND/965946 < these. 2013-01-21T14:20:53 < zyp> heh 2013-01-21T14:23:36 < dongs> im again pondering how to route this c rap 2013-01-21T14:23:48 < dongs> the fucking twisted dp lanes. 2013-01-21T14:24:05 < dongs> can i just connect + lane to - 2013-01-21T14:24:07 < dongs> and it'll still work 2013-01-21T14:24:25 < zyp> nah 2013-01-21T14:25:43 < zyp> it would be swapping the polarity, i.e. inverting it 2013-01-21T14:30:50 < dongs> http://i.imgur.com/kdDp2uw.png hows my switcher layout. 2013-01-21T14:43:33 < jpa-> gay colors 2013-01-21T14:43:50 <+Steffanx> "It's sexy and you know it" 2013-01-21T14:43:52 < dongs> thank you. i try to make it nice and pastel to match with my metro win8 color scheme 2013-01-21T14:48:45 < dongs> http://www.digikey.com/product-detail/en/RCLAMP0524P.TCT/RCLAMP0524PCT-ND/1774679 2013-01-21T14:48:48 < dongs> should probably use these.. 2013-01-21T14:48:58 < dongs> fucking expensive shit wtf 2013-01-21T15:07:12 < dongs> http://stackoverflow.com/questions/7769032/what-is-the-optimal-jewish-toenail-cutting-algorithm first world problems 2013-01-21T15:08:15 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-21T15:10:08 < Laurenceb> https://github.com/corecode/mchck/tree/master/toolchain/CMSIS 2013-01-21T15:10:23 < Laurenceb> lol most of it is plane c that you can grab from anywhere 2013-01-21T15:10:33 < dongs> ??? 2013-01-21T15:10:49 < dongs> this is shit included in stdperiphlib 2013-01-21T15:10:54 < dongs> what hte fuck are you smoking today 2013-01-21T15:11:04 < Laurenceb> its newer version 2013-01-21T15:11:14 < dongs> yeah, the one from F4/F3 stdperiphlib 2013-01-21T15:11:14 -!- jef79m is now known as jef79m_lurking 2013-01-21T15:11:21 < Laurenceb> oh 2013-01-21T15:11:26 < Laurenceb> i didnt realise 2013-01-21T15:11:28 -!- kerwood_wk [3fecd062@gateway/web/freenode/ip.63.236.208.98] has joined ##stm32 2013-01-21T15:13:19 < Laurenceb> https://github.com/corecode/mchck/blob/master/toolchain/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_fast_q31.c 2013-01-21T15:13:22 < Laurenceb> the hell 2013-01-21T15:13:30 < Laurenceb> wheres all the cool asm haxor stuff 2013-01-21T15:13:32 < dongs> yea this is all public shit 2013-01-21T15:13:34 < dongs> there isnt any 2013-01-21T15:13:42 < Laurenceb> fail 2013-01-21T15:13:43 < dongs> they have prebuilt versions with gcc and armcc 2013-01-21T15:13:52 < dongs> download F4 stdperiphlib 2013-01-21T15:13:54 < dongs> al teh shit is there 2013-01-21T15:13:58 < Laurenceb> ok 2013-01-21T15:14:08 < Laurenceb> ive already got it, just havent looked 2013-01-21T15:41:36 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-21T15:48:09 < zyp> dongs, I'm wondering a bit about pcb software 2013-01-21T15:48:14 < zyp> what makes diptrace good? 2013-01-21T15:50:06 <+Steffanx> 'dicktrace' <= that's why :P 2013-01-21T15:50:42 < zyp> I'm only interested in serious arguments :) 2013-01-21T15:51:32 <+Steffanx> Sometimes i think dongs is serious about it as well 2013-01-21T15:52:59 < dongs> zyp, what about it? 2013-01-21T15:53:11 < dongs> i find it easy to use, and it gets the job done. 2013-01-21T15:53:19 < dongs> its also affordable for the feature set. 2013-01-21T15:53:31 < dongs> thre's also a fairly active bugtracker wehre I can report shit if i find it broken. 2013-01-21T15:53:45 < dongs> and get features implemented if I need them. 2013-01-21T15:54:48 < karlp> how long have you been using it? 2013-01-21T15:55:36 < dongs> looks liek > 5 years. 2013-01-21T15:56:23 < zyp> what's your opinion of the larger vendors in the game, like altium? 2013-01-21T15:57:01 < dongs> its fun watchign the altium layout guy do crazy stuff. 2013-01-21T15:57:55 < dongs> it has some pretty neat copypaste features 2013-01-21T15:57:56 <+Steffanx> You ever used altium yourself? 2013-01-21T15:57:59 < dongs> yeah 2013-01-21T15:58:07 <+Steffanx> used as in really used. Not just tried it for 1 day 2013-01-21T15:59:15 < dongs> not to do anything serious, no. used some portions of it + to modify some existing workdesigns yes 2013-01-21T16:00:08 < dongs> however its 5k+ and even workdude pirated it. 2013-01-21T16:01:34 < qyx_> when i said "uff" right after you posted your schematics i was actually trying to express my feelings of messy-ness 2013-01-21T16:01:43 < zyp> I might get to do some hardware projects in a few months time when I'm done contracting at STE, so I'm just wondering what software I should convince company to get me 2013-01-21T16:01:43 < dongs> sure thing 2013-01-21T16:01:56 < dongs> qyx_: patches welcome 2013-01-21T16:02:18 < dongs> qyx, i think you might have clicked on laurenceb schematic, not mine 2013-01-21T16:02:23 <+Steffanx> LOL 2013-01-21T16:03:35 < dongs> i've "tried" using eagle to do actual projects and it always sucked. 2013-01-21T16:03:40 < dongs> so much retarded shit to deal with 2013-01-21T16:04:02 < qyx_> thats not about the actual schematic, just its look, i think the same about geda 2013-01-21T16:04:28 < qyx_> it don't actually means that diptrace or geda isn't usable, but... looks weird 2013-01-21T16:04:36 < dongs> do show some "usable" schematic 2013-01-21T16:04:54 < qyx_> you don't understand :P 2013-01-21T16:05:03 < zyp> I wouldn't mind replacing eagle with something better, but now that I know my way around eagle I feel like it would have to be significantly better for it to be a point 2013-01-21T16:05:26 < karlp> kinda how I feel zyp 2013-01-21T16:05:49 < dongs> zyp, anythign that takes X amount of time in eagle, takes 1/2 X in any other app 2013-01-21T16:05:57 < dongs> and often as much as 1/10 X 2013-01-21T16:06:20 < dongs> eagle component/library management fucking SUCKS. 2013-01-21T16:06:33 < qyx_> dongs: i was talking about the colors, fonts, unproportionally big resistors and other passives compared to other parts for example 2013-01-21T16:06:35 < dongs> the shit basically encourages you to reuse shitty others-made libs 2013-01-21T16:06:37 < zyp> yeah, after spending enough time to learn the other app :) 2013-01-21T16:06:45 < dongs> qyx_: yeah, sure. i drew most of them myself. 2013-01-21T16:06:50 < qyx_> uh 2013-01-21T16:06:50 < dongs> qyx_: so if it looks like shit, its my fault. 2013-01-21T16:06:57 < qyx_> then sorry :P 2013-01-21T16:07:09 < dongs> i dont use default components in anything 2013-01-21T16:07:19 < dongs> its just my default component grid is like 50mil 2013-01-21T16:08:45 < dongs> zyp, well, dicktrace has a manual that covers everything, plus it actually makes sense. one can generally find wahtever operation that needs to be done quickly, without knowing it first. 2013-01-21T16:08:52 < dongs> without even lookign at the manual. 2013-01-21T16:08:57 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-21T16:09:00 < dongs> how do I change pattern for a component on schematic in eagle? 2013-01-21T16:09:02 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-21T16:09:08 < dongs> totalyl fucking nonobvious. 2013-01-21T16:09:25 < dongs> probably not even possible, without typign some mile-long eaglescript command line. 2013-01-21T16:09:36 < zyp> what do you mean? 2013-01-21T16:09:39 < qyx_> pattern? 2013-01-21T16:09:48 < dongs> pattern = pads 2013-01-21T16:09:51 < dongs> component = schematic view. 2013-01-21T16:10:00 < gxti> footprint? 2013-01-21T16:10:04 < dongs> yeah footprint sure. 2013-01-21T16:10:13 < dongs> say i have a diode and i wanna change it to different footprint. 2013-01-21T16:10:14 < gxti> EDA 101 here dongs 2013-01-21T16:10:34 < dongs> dicktrace: properties, attached pattern, change. 2013-01-21T16:10:36 < dongs> eagle: ? 2013-01-21T16:10:36 < qyx_> theres a button next to "add" 2013-01-21T16:11:09 < zyp> I haven't had problems finding it the times I've been using it 2013-01-21T16:11:55 < zyp> I can't remember if it had it's own button or if it's under the «change» menu, but it's not hard to find 2013-01-21T16:12:37 < qyx_> replace button, works exactly the same as add, you select new component footprint and then click on existing one to change it 2013-01-21T16:12:46 < zyp> but anyway, I didn't intend for this to be an eagle vs diptrace discussion 2013-01-21T16:13:38 < zyp> I'm more interested in diptrace vs altium 2013-01-21T16:13:45 < zyp> is altium worse in any other way than price? 2013-01-21T16:13:47 < dongs> yeah, definitely learn altium 2013-01-21T16:13:48 < dongs> no 2013-01-21T16:14:08 < dongs> like i said, the copypaste/hierarchy schematic/layout stuff is awesome 2013-01-21T16:14:19 < dongs> if you manage a bunch of projects with similar modules in them, that stuff works very well. 2013-01-21T16:14:28 < gxti> there is nothing seriously wrong with altium 2013-01-21T16:14:44 < zyp> ah, I saw that 2013-01-21T16:15:17 < dongs> like for example the guy here laid out a 4 silicon tuner block once, then he just copypasted same shit across liek 3 different products 2013-01-21T16:15:39 < gxti> yep 2013-01-21T16:15:46 < dongs> all you need to do is drop the schematic/layout block into main page, connect inputs/outputs/power/etc and it'll be on pcb, can move it around etc and done 2013-01-21T16:15:56 < gxti> you can even copypasta the routed block 2013-01-21T16:16:00 < dongs> right 2013-01-21T16:16:04 < zyp> neat 2013-01-21T16:16:44 < zyp> what about the other big ones, anyone got any experience with anything else? 2013-01-21T16:17:01 < dongs> orcad still draws using GDI in 2013 2013-01-21T16:17:08 < dongs> pads/etc is also ancient shit 2013-01-21T16:17:19 < dongs> if you like flicker on screen, choose those 2. 2013-01-21T16:18:20 < dongs> but yeah, no work experience with it. so no idea :) 2013-01-21T16:18:27 < dongs> p.s. still cant find "change" shit in eagle. 2013-01-21T16:18:32 < dongs> i got it to come up once, never again 2013-01-21T16:18:39 < dongs> 'change' menu was grayed out on right click 2013-01-21T16:18:42 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-21T16:20:12 < qyx_> left panel or wherever you have it, 'replace' button 2013-01-21T16:20:18 < qyx_> no right click 2013-01-21T16:20:20 < karlp> right click on schematic part, choose "package" works just fine for me. 2013-01-21T16:20:27 < qyx_> or maybe? 2013-01-21T16:21:18 < qyx_> karlp: O_o thats even better 2013-01-21T16:21:30 < karlp> or click on wrench/change tool, then package, then schematic part if you want to make the same change to lots of places. 2013-01-21T16:23:15 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-21T16:32:23 < dongs> Altium Designer A single application for US$5,495*. 2013-01-21T16:34:23 < zyp> it better be good then :p 2013-01-21T16:34:28 < dongs> yea. 2013-01-21T16:34:51 < dongs> one of the issue i have with it is that its fucking huge 2013-01-21T16:34:52 < gxti> definitely worth it if you're getting paid 2013-01-21T16:34:56 < dongs> and includes some FPGA compiler and otehr shit etc. 2013-01-21T16:35:01 < dongs> i.e. stuff I wont be using 2013-01-21T16:35:10 < gxti> stuff they want you to use because OMG REVOLUTIONARY 2013-01-21T16:35:17 < gxti> that nobody cares about 2013-01-21T16:35:21 < dongs> haha. 2013-01-21T16:35:29 < gxti> HARDWARE in the CLOUD 2013-01-21T16:35:36 < dongs> problem is, if i wont use it, i still hve eto pay for it. 2013-01-21T16:35:51 < gxti> yeah the $1000 version still has all that shit but not the pcb editor 2013-01-21T16:36:03 < dongs> no layout? 2013-01-21T16:36:05 < gxti> i.e. the thing people actually use 2013-01-21T16:36:11 < dongs> worthless. 2013-01-21T16:36:16 < gxti> inorite 2013-01-21T16:36:25 < dongs> whereis their price list for all teh shit? all i could find was the 5.5k one 2013-01-21T16:36:33 < gxti> that's the only one you'd want anyway 2013-01-21T16:36:38 < dongs> ah ok 2013-01-21T16:41:31 < emeb_mac> dude I know actually bought altium - never uses it. still uses orcad + pads + hand-massaged netlists. 2013-01-21T16:41:44 < emeb_mac> i flick him crap about it every chance I get. 2013-01-21T16:41:47 < dongs> some people use lunix, for fre... 2013-01-21T16:42:03 < gxti> yeah at least they didn't pay for it 2013-01-21T16:42:04 < emeb_mac> :P 2013-01-21T16:42:17 < gxti> still lots of hand-massaging though 2013-01-21T16:43:24 < emeb_mac> hmm... can't say I spend any time fiddling netlists. 2013-01-21T16:43:42 < emeb_mac> but footprints in geda/pcb are a PITA. 2013-01-21T16:43:55 < dongs> thats a fucking understatement 2013-01-21T16:44:00 < dongs> do they evne have a gUI footprint editor 2013-01-21T16:44:08 < dongs> last I checked yo u had to edit some files in notepad 2013-01-21T16:44:10 < gxti> it's a separate program i think 2013-01-21T16:44:11 < dongs> to make them 2013-01-21T16:44:14 < gxti> terrible 2013-01-21T16:44:25 < gxti> and the pcb editor is total nonsense 2013-01-21T16:44:30 < dongs> open dem sauce 2013-01-21T16:44:37 < emeb_mac> theoretically you can do footprints in the main graphic editor, but it's hard to control exact dimensions. 2013-01-21T16:44:39 < gxti> no accounting for taste 2013-01-21T16:45:35 < emeb_mac> I usually have a text editor and the graphic editor open simultaneously - tweak the text & immediately view the result. 2013-01-21T16:45:48 < dongs> lunix supports file change notifications> 2013-01-21T16:45:56 < emeb_mac> yup 2013-01-21T16:46:05 < gxti> yeah there's like 18 different APIs for it too 2013-01-21T16:46:11 < dongs> lulz 2013-01-21T16:46:16 < emeb_mac> 18? probably more. 2013-01-21T16:46:29 < gxti> inotify being the usual suspect 2013-01-21T16:51:24 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 260 seconds] 2013-01-21T16:52:04 < dongs> http://www.semtech.com/images/mediacenter/collateral/DisplayPort-APB-AG.pdf in this shit, since the other pads are NC... the traces must be continuous under the chip right? 2013-01-21T17:00:18 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-21T17:04:29 -!- KennyMcCormic [~Kenny@94.28.202.106] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-21T17:15:01 < Laurenceb> http://olimex.wordpress.com/2013/01/21/a10s-olinuxino-micro-first-prototypes-work-fine/ 2013-01-21T17:15:02 < Laurenceb> hawt 2013-01-21T17:19:14 < dongs> useless 2013-01-21T17:19:16 < dongs> isnt A10 single core 2013-01-21T17:20:10 <+Steffanx> Nah, just another allwinner crap board :) 2013-01-21T17:20:20 < dongs> exactly 2013-01-21T17:21:21 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-01-21T17:27:27 < gxti> still better than shitberry pi 2013-01-21T17:28:30 < emeb_mac> dongs: that semtech doc sure seems to say that traces "flow-through" the device. 2013-01-21T17:28:32 <+Steffanx> I wonder if there really is a 'better' in this case 2013-01-21T17:28:42 < dongs> emeb_mac: yeah, but the pattern doesnt 2013-01-21T17:28:58 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-21T17:29:06 < gxti> Steffanx: fine, less shit 2013-01-21T17:29:20 <+Steffanx> :P 2013-01-21T17:29:33 < emeb_mac> dongs: you mean the footprint pads aren't connected together. 2013-01-21T17:29:51 < gxti> for starters it has a real ethernet MAC 2013-01-21T17:31:02 < emeb_mac> open hardware - must be good. 2013-01-21T17:31:30 < emeb_mac> I think that means "we did the schematic / layout in Eagle and we're giving it away." 2013-01-21T17:31:42 < dongs> using sparkfun component lib. 2013-01-21T17:31:44 < karlp> hmm, anyone know why I can set the ADC_CR2(ADON) flag, but the ADC_SR(ADONS) bit never gets set? 2013-01-21T17:31:56 < karlp> I can read back ADC_CR2 and see that the bit is still set there, 2013-01-21T17:31:57 < dongs> emeb_mac: yeah, theyre not connected together. 2013-01-21T17:32:05 < dongs> but traces flow through. 2013-01-21T17:32:09 < dongs> not sure how im supposed to do that. 2013-01-21T17:32:16 < dongs> if I bridge the p ads with shit it fails drc. 2013-01-21T17:32:21 < dongs> this is fairly rage-inducing. 2013-01-21T17:32:32 < emeb_mac> oh - software complains 2013-01-21T17:32:39 < gxti> dongs: why do you think you have to bridge the pads? 2013-01-21T17:32:52 < emeb_mac> signal integrity. 2013-01-21T17:33:08 < dongs> gxti: well, the whole PURPOSE of that chip is to sit on top of existing traces 2013-01-21T17:33:11 < dongs> and protect from ESD 2013-01-21T17:33:39 < gxti> ok, so if you're sure you're supposed to bridge the pads then fix the schematic symbol so both pads are on the same net 2013-01-21T17:33:42 < emeb_mac> dongs: why won't diptrace let you bridge the pads? 2013-01-21T17:34:13 < gxti> or make both pads the same designator, if pooptrace will let you do that 2013-01-21T17:34:17 < gxti> in the footprint 2013-01-21T17:34:19 < Laurenceb> http://cleverpork.com/files/2009/10/Photo-on-2009-10-09-at-17.38-300x225.jpg 2013-01-21T17:34:21 < dongs> also, since the component pads on the outer side (6..7..9..10) are "NC" on the component, they wont bridge cut traces 2013-01-21T17:34:28 < Laurenceb> google image search for xkcd 2013-01-21T17:35:16 -!- daku is now known as DaKu 2013-01-21T17:35:55 < Laurenceb> http://imgur.com/Hjwxnl.jpg 2013-01-21T17:36:13 < Laurenceb> thats what i was looking for 2013-01-21T17:36:48 <+Steffanx> WTF are you looking for Laurenceb ? 2013-01-21T17:36:56 < Laurenceb> need "you gunna get raped" 2013-01-21T17:36:57 < Laurenceb> adding 2013-01-21T17:37:41 < emeb_mac> Steffanx: there are some things man was not meant to know 2013-01-21T17:37:58 <+Steffanx> True true emeb_mac 2013-01-21T17:37:59 <+Steffanx> Very true 2013-01-21T17:38:26 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-21T17:38:30 < Laurenceb> raw materials for trolling 2013-01-21T17:38:36 < karlp> now look what you've done Laurenceb 2013-01-21T17:38:41 < karlp> even emeb quit! 2013-01-21T17:38:53 < Laurenceb> lolz 2013-01-21T17:41:16 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-21T17:42:42 < karlp> hehe: for(;;); 2013-01-21T17:42:49 < karlp> thank you code autoformatting... 2013-01-21T17:44:04 < dongs> EMO_DIR? 2013-01-21T17:44:13 < dongs> no surprise there 2013-01-21T17:45:05 < emeb> go cry emo dir 2013-01-21T17:55:33 < Laurenceb> http://www.intecfoams.co.uk/case_studies/peezy.html 2013-01-21T17:59:30 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-21T18:01:18 < Laurenceb> reminds me of this for some reason http://www.youtube.com/watch?v=-AlF3W6T2uc 2013-01-21T18:09:19 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-21T18:29:48 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-21T18:33:53 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-21T18:34:27 < karlp> #include "gpio.h" 2013-01-21T18:35:05 < karlp> bah, 2013-01-21T18:35:09 < karlp> anyone seen this sort of thing? https://my.st.com/c3a0e516 2013-01-21T18:35:23 < karlp> the suggestions there haven't helped... 2013-01-21T18:35:37 <+Steffanx> login? 2013-01-21T18:36:51 < karlp> https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fADC%20regular%20channel%20not%20ready%20after%20enabling%20ADC&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=103 2013-01-21T18:36:58 < karlp> is the "public" link? 2013-01-21T18:38:14 <+Steffanx> Looks public 2013-01-21T18:42:21 < emeb> no experience with the ADC on the L1xx devices, but on the 100VL and F40x I've never seen that. 2013-01-21T18:43:25 < karlp> will poke it a bit more, try and copy more of the stdperiph stuff as closely as possible. 2013-01-21T18:45:37 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-21T18:47:05 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 256 seconds] 2013-01-21T18:47:35 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-01-21T18:47:36 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-01-21T18:47:36 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-21T18:52:54 -!- _BJFreeman [~bjfree@225.sub-75-233-97.myvzw.com] has joined ##stm32 2013-01-21T18:53:26 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-21T18:55:03 -!- _BJFreeman is now known as BJFreeman 2013-01-21T19:01:33 -!- barthess [~barthess@77.67.195.16] has joined ##stm32 2013-01-21T19:05:40 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-21T19:08:26 < jpa-> karlp: shouldn't you set ADC_Mode? (i would suggest initializing the structures with = {}; so you can be sure there are zeros in any unset fields 2013-01-21T19:09:33 -!- flk_ [~flk@89.188.9.51] has joined ##stm32 2013-01-21T19:13:22 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-21T19:13:22 -!- dfletcher_ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-21T19:13:23 -!- dfletcher_ is now known as drgreenthumb 2013-01-21T19:25:04 -!- flk_ [~flk@89.188.9.51] has quit [Quit: Leaving] 2013-01-21T19:25:34 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-21T19:43:00 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-21T19:50:46 < karlp> jpa-: not actually using the stdperiph libs, what bits do you call adc Mode? single/continuous stuff? 2013-01-21T19:51:07 < karlp> curently I've got adc_cr1 = adc_cr2 = 0 2013-01-21T19:51:17 < karlp> then setting a channel in adc_sqr 2013-01-21T19:51:27 < jpa-> ah, no idea then 2013-01-21T19:51:45 < jpa-> so are you trying to do something special or just getting the ADC to work? 2013-01-21T19:51:49 < karlp> then adc_cr2 |= adon, which sets ok, but it never shows up in adons. 2013-01-21T19:51:56 < karlp> porting libopencm3 to the L1. 2013-01-21T19:52:13 < karlp> but right now, just getting it to work, then porting7merging existing code 2013-01-21T19:55:21 < jpa-> so are you getting the RCNR also like in that forum post? 2013-01-21T19:55:50 < karlp> yup 2013-01-21T19:57:15 < jpa-> i wonder if you should set the SCAN bit also 2013-01-21T19:58:37 < jpa-> i'm not sure what it is supposed to do when SCAN=0, convert a single channel but which channel is that? 2013-01-21T19:59:08 < karlp> from the refman, If a regular channel was converted (converted channel is selected by the SQ1[4:0] bits 2013-01-21T19:59:11 < karlp> in the SQR5 register) 2013-01-21T19:59:26 < karlp> and I'm using adcchannel0, (though I don't care what channel it is if it doesn't ever say the adc is ready) 2013-01-21T19:59:41 -!- Netsplit *.net <-> *.split quits: mansfeld 2013-01-21T19:59:44 < karlp> so I've written sqr5 to 0 and sqr1 to 0 to say I only want a single conversion 2013-01-21T20:00:56 < jpa-> hmm yeah, i have only ever used the scanning mode (one can always scan a sequence of length 1 anyway) 2013-01-21T20:02:16 < karlp> makes no difference. 2013-01-21T20:02:22 < karlp> ADONS never gets set. 2013-01-21T20:03:06 < karlp> I'm never even getting to swstart, so even if the channel config was all wrong, it hasn't gotten that far yet 2013-01-21T20:03:21 < jpa-> true 2013-01-21T20:05:20 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-21T20:12:51 -!- mansfeld [~andrew@2001:1af8:4400:a013:3::12c] has joined ##stm32 2013-01-21T20:12:51 -!- mansfeld [~andrew@2001:1af8:4400:a013:3::12c] has quit [Changing host] 2013-01-21T20:12:51 -!- mansfeld [~andrew@robopoly/watson] has joined ##stm32 2013-01-21T20:13:32 < emeb> didn't I read somewhere that you need to hit AD_ON twice? 2013-01-21T20:14:21 < karlp> that's on the f1, once to turn it on, and once to start conversion 2013-01-21T20:14:31 < emeb> right 2013-01-21T20:18:09 -!- _BJFreeman [~bjfree@225.sub-75-233-97.myvzw.com] has joined ##stm32 2013-01-21T20:20:59 -!- BJFreeman [~bjfree@225.sub-75-233-97.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-01-21T20:21:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-21T20:22:16 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2013-01-21T20:30:14 -!- _BJFreeman is now known as BJFreeman 2013-01-21T20:31:52 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 252 seconds] 2013-01-21T20:51:38 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Ping timeout: 255 seconds] 2013-01-21T20:57:38 -!- barthess [~barthess@77.67.195.16] has quit [Quit: Leaving.] 2013-01-21T21:08:40 -!- barthess [~barthess@77.67.195.16] has joined ##stm32 2013-01-21T21:10:40 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-01-21T21:18:57 -!- DaKu is now known as daku 2013-01-21T21:19:09 -!- daku is now known as DaKu 2013-01-21T21:39:15 -!- barthess [~barthess@77.67.195.16] has quit [Read error: Connection reset by peer] 2013-01-21T21:52:07 -!- betovar [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has joined ##stm32 2013-01-21T21:59:48 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-21T22:03:15 -!- jef79m_lurking is now known as jef79m 2013-01-21T22:05:21 -!- betovar [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has quit [Quit: Leaving.] 2013-01-21T22:05:33 -!- betovar [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has joined ##stm32 2013-01-21T22:06:22 -!- barthess [~barthess@77.67.204.116] has joined ##stm32 2013-01-21T22:08:15 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-21T22:15:59 -!- Laurenceb_ [~Laurence@host86-171-127-225.range86-171.btcentralplus.com] has joined ##stm32 2013-01-21T22:20:44 -!- jef79m is now known as jef79m_lurking 2013-01-21T22:21:14 -!- barthess [~barthess@77.67.204.116] has quit [Quit: Leaving.] 2013-01-21T22:23:21 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Read error: Operation timed out] 2013-01-21T22:29:09 -!- jef79m_lurking is now known as jef79m 2013-01-21T22:32:39 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2013-01-21T22:35:23 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 256 seconds] 2013-01-21T22:37:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-21T22:37:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-21T22:38:19 < emeb> all quiet on the ##stm32 front 2013-01-21T22:38:56 < emeb> FWIW - it's now > 1mo since ST said "new AN2606 next week". 2013-01-21T22:39:21 < emeb> poor overworked tech writers. 2013-01-21T22:39:42 <+Steffanx> lol 2013-01-21T22:40:08 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Quit: Ex-Chat] 2013-01-21T22:40:34 < emeb> That, or they're all still on winter holiday. 2013-01-21T22:40:41 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-21T22:41:02 < emeb> "The customers can wait - the ski slopes are calling my name!" 2013-01-21T22:42:04 < zyp> heh 2013-01-21T22:42:54 < Laurenceb_> kind of like the golf course in ukland 2013-01-21T22:43:50 < emeb> or ice skating on canals in Dutch-land. 2013-01-21T22:44:06 < emeb> whoops - climate change. can't do that any more. 2013-01-21T22:44:40 < Laurenceb_> can here 2013-01-21T22:44:46 < Laurenceb_> -4 yesterday 2013-01-21T22:44:59 < emeb> brrrr... 2013-01-21T22:45:03 < zyp> something like that here today 2013-01-21T22:45:32 < zyp> car battery was pretty much empty this morning so I ended up walking to work 2013-01-21T22:45:33 < Laurenceb_> 20cm of snow outside 2013-01-21T22:45:50 < emeb> 73F here. 2013-01-21T22:46:03 < zyp> what does that mean in sane units? 2013-01-21T22:46:10 < zyp> :) 2013-01-21T22:46:13 < emeb> 23C 2013-01-21T22:46:35 < zyp> heh, at this time of the year 2013-01-21T22:46:54 < zyp> does it never get cold there? 2013-01-21T22:46:55 < emeb> that's a little warmer than normal for AZ 2013-01-21T22:47:07 < emeb> We got below freezing last week. 2013-01-21T22:47:45 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Quit: Ex-Chat] 2013-01-21T22:47:47 < zyp> how do you go from below freezing to 23C in a few days time? 2013-01-21T22:48:15 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-21T22:48:30 < emeb> Crazy, no? 2013-01-21T22:49:09 < emeb> had a cold front blow thru that lasted about 5 days. Night temps below freezing, days barely above. 2013-01-21T22:49:24 < emeb> lots of frost damage to outdoor plants. 2013-01-21T22:50:19 < zyp> we've had snow here since before christmas now 2013-01-21T22:55:14 <+Steffanx> but you are from coldland 2013-01-21T23:03:51 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-21T23:05:30 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-21T23:06:15 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-21T23:07:59 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-21T23:13:51 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-01-21T23:15:29 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-21T23:15:32 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-21T23:15:49 <+Steffanx> Laurenceb / Laurenceb_ which browser do you use? 2013-01-21T23:16:01 < Laurenceb_> firefox 2013-01-21T23:17:28 <+Steffanx> https://addons.mozilla.org/en-US/firefox/addon/leechblock/ install that and it's good for you and US :P 2013-01-21T23:18:05 < emeb> killjoy 2013-01-21T23:19:14 < zyp> that would probably be healthy 2013-01-21T23:19:38 <+Steffanx> healthy even :D 2013-01-21T23:20:26 < Laurenceb_> lol 2013-01-21T23:41:35 -!- monode [bc1bbcf3@gateway/web/freenode/ip.188.27.188.243] has joined ##stm32 2013-01-21T23:48:54 < mervaka> hmm 2013-01-21T23:49:07 < mervaka> how does one link the math library in MDK? :o 2013-01-21T23:52:34 < emeb> -lm ? 2013-01-21T23:55:52 < mervaka> not quite sure how to add that in uVision :s 2013-01-21T23:55:59 < mervaka> if this was GCC and a makefile, easy 2013-01-21T23:56:02 < mervaka> ;/ 2013-01-21T23:56:09 < emeb> ya. just trollin' 2013-01-21T23:56:32 < mervaka> got another really bloody strange anomaly 2013-01-21T23:56:38 < mervaka> probably related to the other one 2013-01-21T23:56:43 < emeb> the dma stuff? 2013-01-21T23:56:48 < mervaka> ya 2013-01-21T23:56:53 < mervaka> i'm pressing ahead regardless 2013-01-21T23:57:27 < mervaka> doing some fixed point arithmetic to perform simple gain control 2013-01-21T23:57:37 < mervaka> in Q7 2013-01-21T23:57:43 < emeb> ok 2013-01-21T23:58:15 < emeb> q23 x q7 -> q30 2013-01-21T23:58:34 < mervaka> well, yeah. whatever it's called :p 2013-01-21T23:58:51 < mervaka> basically shifting the data right 7 before multiplying 2013-01-21T23:59:10 < emeb> huh? 2013-01-21T23:59:32 < emeb> so you start w/ 24 bits, truncate 8 to get 16, then what? 2013-01-21T23:59:42 < mervaka> nope 2013-01-21T23:59:46 < mervaka> 24 bit left justified data in a 32 bit container 2013-01-21T23:59:50 < emeb> right 2013-01-21T23:59:51 < mervaka> shift it right 7 --- Day changed Tue Jan 22 2013 2013-01-22T00:00:00 < mervaka> multiply by 7 bit multiplier 2013-01-22T00:00:04 < emeb> ok 2013-01-22T00:00:12 < mervaka> should give me a sane answer, right? :P 2013-01-22T00:00:19 < emeb> one would think 2013-01-22T00:00:42 < mervaka> if i pass audio straight through, no problem 2013-01-22T00:01:04 < mervaka> if i apply one layer of math, jibs out 2013-01-22T00:01:18 < mervaka> if i apply one layer of math with code optimisation, no problem 2013-01-22T00:01:31 < emeb> is it possible that your 16+16->32 data is misaligned? 2013-01-22T00:01:33 < mervaka> if i apply two layers of math with code optimisation, jibs out 2013-01-22T00:01:55 < mervaka> well i've block tested this on my laptop, seems fine 2013-01-22T00:02:32 < emeb> as zyp says, if it freaks out when you optimize, ur doing it wrong. 2013-01-22T00:02:47 < emeb> somewhere... 2013-01-22T00:03:03 < mervaka> well optimisation fixed it for one layer of math 2013-01-22T00:03:13 < emeb> which is even weirder. 2013-01-22T00:03:15 < mervaka> maybe i should be doing this in assembly? 2013-01-22T00:03:18 < emeb> nah. 2013-01-22T00:03:35 < emeb> have you tried floating pt? F4 does that w/o a huge penalty. 2013-01-22T00:03:46 < mervaka> hmm. not yet. 2013-01-22T00:04:08 < mervaka> automatically went for fixed point as i thought savings could be made. 2013-01-22T00:04:26 < emeb> I do a lot of audio math in floats. Might be a good alternative while debugging. 2013-01-22T00:05:38 < emeb> but I'm wondering about alignment problems... 2013-01-22T00:06:11 < mervaka> you mean because it's signed? 2013-01-22T00:06:28 < emeb> data should be H0:L0, H1:L1, etc. but what if it's actually L0:H1, L1:H2 2013-01-22T00:06:40 < mervaka> hmm, maybe 2013-01-22T00:06:56 < emeb> that would pass thru the buffers w/o problems, but as soon as you try any math it falls apart. 2013-01-22T00:07:07 < mervaka> should i try using the FIFO again? 2013-01-22T00:07:24 < mervaka> and use 32 bit DMA etc 2013-01-22T00:07:30 < mervaka> instead of the current 16 2013-01-22T00:07:38 < emeb> maybe try getting a snapshot of the data in the buffer. Look w/ debugger to see if it's sane. 2013-01-22T00:08:37 < mervaka> i'd love to be able to do that. not sure how to grab that from debugger though :/ 2013-01-22T00:09:02 < emeb> hmmm... 2013-01-22T00:09:23 < emeb> you could try setting up one of the DACs on the F4. 2013-01-22T00:09:41 < emeb> stuff only high 12-bits of your audio data into the DAC 2013-01-22T00:09:53 < emeb> You should see a close approx of the input waveshape coming out. 2013-01-22T00:10:07 < emeb> buy if it's really the low data it'll be noise. 2013-01-22T00:10:20 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-22T00:10:34 < mervaka> is that any better than using the I2S output though? 2013-01-22T00:10:40 < emeb> yes. 2013-01-22T00:10:53 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-22T00:11:00 < emeb> the I2S output probably has the same buffer alignment problem, so it cancels out and you can't tell. 2013-01-22T00:11:11 < emeb> Oh wait! 2013-01-22T00:11:29 < emeb> Just truncate your 32-bit data to the high 16 before sending out. 2013-01-22T00:11:34 < emeb> same thing applies. 2013-01-22T00:11:45 < mervaka> to I2S? 2013-01-22T00:11:48 < emeb> right 2013-01-22T00:11:52 < mervaka> ok 2013-01-22T00:12:23 < emeb> yeah that should work. 2013-01-22T00:14:05 < mervaka> ok, so masking with WorkingBuffer[0][i] &= 0xFFFF0000; 2013-01-22T00:14:08 < mervaka> oops 2013-01-22T00:14:13 < mervaka> well, yeah. that. 2013-01-22T00:14:16 < emeb> yes 2013-01-22T00:14:48 < emeb> if that destroys your signal then you have an alignment problem. 2013-01-22T00:15:31 < mervaka> hmm 2013-01-22T00:15:37 < zyp> how is data packed in that array? 2013-01-22T00:15:40 < mervaka> something's taken a nosedive, hold on 2013-01-22T00:15:56 < mervaka> zyp: it's been arranged into int32_t 2013-01-22T00:16:08 < mervaka> after some shifting 2013-01-22T00:16:17 < zyp> so you've already done that shifting, right 2013-01-22T00:16:19 < zyp> good 2013-01-22T00:16:57 < zyp> 23:02:32 < emeb> as zyp says, if it freaks out when you optimize, ur doing it wrong. 2013-01-22T00:17:14 < zyp> or it might just be too slow without optimizations 2013-01-22T00:17:31 < mervaka> ok, that masking seemed to totally nuke the MSB, so i guess the halfwords are backwards? :P 2013-01-22T00:17:33 < emeb> there's that. 2013-01-22T00:17:38 < emeb> sounds like. 2013-01-22T00:17:49 < mervaka> i reversed it earlier and that seemed to fix it 2013-01-22T00:17:57 < mervaka> i'm gonna reverse it back a sec 2013-01-22T00:18:03 < emeb> but that was before you did circular buffers. 2013-01-22T00:18:19 < mervaka> double buffering now. 2013-01-22T00:18:24 < emeb> right 2013-01-22T00:18:46 < zyp> what kind of math are you doing? are you sure your math is fast enough? 2013-01-22T00:19:18 < emeb> worth checking out. 2013-01-22T00:19:36 < mervaka> hey, i swapped back the frame shifter, and it looks like exactly the same artefact i was getting with two layers etc 2013-01-22T00:19:47 < mervaka> two layers of math, i mean 2013-01-22T00:19:48 < emeb> When I do buffered audio processing, I set a GPIO pin high at the start, low at the end of the ISR 2013-01-22T00:20:02 < emeb> That gives me a pulse w/ duty cycle related to CPU usage 2013-01-22T00:20:07 < mervaka> good idea 2013-01-22T00:20:17 < emeb> Very good for checking if you're saturating the CPU. 2013-01-22T00:20:32 < zyp> I just log timestamps or cycle counter 2013-01-22T00:20:55 < zyp> but I've done the gpio trick too 2013-01-22T00:20:56 < emeb> :) - I have that on an old analog scope. Realtime! 2013-01-22T00:21:23 < mervaka> the stopwatch doesnt look too bad, looks in the nanoseconds 2013-01-22T00:22:12 -!- kerwood_wk [3fecd062@gateway/web/freenode/ip.63.236.208.98] has quit [Quit: Page closed] 2013-01-22T00:22:20 < zyp> nanoseconds? 2013-01-22T00:22:32 < Laurenceb_> lol 2013-01-22T00:22:35 < Laurenceb_> hardcore 2013-01-22T00:22:36 < zyp> every single instruction is gonna take several nanoseconds to execute. 2013-01-22T00:23:35 < emeb> 5.95ns/cycle 2013-01-22T00:24:18 < emeb> this sounds like the word swapping behavior is optimization sensitive. 2013-01-22T00:24:46 < emeb> IOW - time between when you configure the I2S and start DMA is making your buffer alignment unpredictable. 2013-01-22T00:25:13 < zyp> mervaka, are you configuring dma first or enabling i2s first? 2013-01-22T00:25:18 -!- jef79m is now known as jef79m_lurking 2013-01-22T00:25:35 < mervaka> not starting i2s until dma is enabled 2013-01-22T00:25:42 -!- monode [bc1bbcf3@gateway/web/freenode/ip.188.27.188.243] has quit [Quit: Page closed] 2013-01-22T00:25:44 < mervaka> nut initialising i2s then dma 2013-01-22T00:25:48 < emeb> seems like "the right thing to do" 2013-01-22T00:25:55 < mervaka> btw, duty cycle is a mere 2.1% 2013-01-22T00:26:01 < emeb> sounds right 2013-01-22T00:26:08 < mervaka> very welcome news :> 2013-01-22T00:26:12 < emeb> F4 does data copies v-fast. 2013-01-22T00:26:51 < zyp> mervaka, so, dma first? 2013-01-22T00:26:56 < mervaka> yeah 2013-01-22T00:27:00 < zyp> good 2013-01-22T00:27:12 < mervaka> i figured it would sync better that way 2013-01-22T00:27:26 < zyp> yes, that's what I also figure 2013-01-22T00:27:33 < emeb> +1 2013-01-22T00:27:35 -!- jef79m_lurking is now known as jef79m 2013-01-22T00:27:49 < emeb> esp if you start both I2S channels as close together as possible... 2013-01-22T00:28:03 < mervaka> shall i upload this so you guys can view it a bit easier? 2013-01-22T00:28:10 < mervaka> like check it out to web 2013-01-22T00:28:16 < zyp> hmm, I'm tempted to modify my usb_audio code to use 24 bit samples, to see if I'll have similar problems 2013-01-22T00:28:21 < zyp> but no time for that tonight 2013-01-22T00:29:30 < emeb> mervaka: go ahead, put it somewhere & I'll take a look. 2013-01-22T00:29:37 < mervaka> ok 2013-01-22T00:32:25 < mervaka> http://mervaka.co.uk/~mervaka/.uni/proj322/code/Mixer/ 2013-01-22T00:32:50 < mervaka> DSP.c and SPI.c are probably the interesting parts. 2013-01-22T00:33:38 < emeb> ya 2013-01-22T00:34:18 < emeb> hmmm... 2013-01-22T00:34:46 < emeb> wonder if it would be good to group the SPI_I2S_DMACmd() for Tx & Rx together... 2013-01-22T00:35:04 < emeb> no telling how long that StdPeriph stuff takes to execute. 2013-01-22T00:35:40 < mervaka> which line? 2013-01-22T00:36:04 < emeb> last 4 lines of initi2s() 2013-01-22T00:36:19 < mervaka> ah 2013-01-22T00:36:54 < mervaka> well is that an issue if the I2S peripheral isn't started? 2013-01-22T00:37:29 < ds2> Hmmm 2013-01-22T00:37:46 < emeb> probly not. 2013-01-22T00:38:26 < emeb> but would be in Audio_State() where you actually turn them on. 2013-01-22T00:38:28 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-22T00:38:39 < mervaka> yeah, good point 2013-01-22T00:38:58 < mervaka> might even be worth rolling I2S_Cmd out? 2013-01-22T00:39:10 < emeb> maybe. 2013-01-22T00:39:16 < emeb> depends on what it looks like. 2013-01-22T00:40:46 < mervaka> if i enable the ext peripherals first which slave off the main SPI peripheral, that would tighten things up a bit more, right? 2013-01-22T00:41:19 < emeb> Yes 2013-01-22T00:41:42 < emeb> also, I see you have IRQs for the I2Sext enabled. Why? 2013-01-22T00:41:58 < mervaka> oh, i just forgot to take those out. olds code :/ 2013-01-22T00:42:02 < mervaka> old* 2013-01-22T00:42:19 < emeb> ok - commented already 2013-01-22T00:42:39 < mervaka> oh, you mean the NVIC bit? 2013-01-22T00:43:08 < emeb> that's what I was looking at, but no need for the DMA setup either. 2013-01-22T00:43:34 < mervaka> i've left the DMA bit there so that the pointers increment 2013-01-22T00:43:47 < emeb> err. right. 2013-01-22T00:44:09 < mervaka> I2Sxext needs to talk to the DMA buffer, even if the DMA doesn't need to call an interrupt? 2013-01-22T00:44:17 < mervaka> i think 2013-01-22T00:44:19 < emeb> yes of course. 2013-01-22T00:45:33 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-22T00:46:37 < emeb> well, nothing's jumping out at me. 2013-01-22T00:47:00 < emeb> bearing in mind that I have no experience with 32-bit I2S stuff. 2013-01-22T00:47:12 < mervaka> heh. maybe i should try 16 2013-01-22T00:47:31 < mervaka> although that would mean cutting my board up 2013-01-22T00:47:38 < mervaka> so i guess it's a right ballache. 2013-01-22T00:47:46 < mervaka> hard wired 24 bit 2013-01-22T00:47:48 < mervaka> :/ 2013-01-22T00:48:22 < emeb> next time, jumpers on the prototype. :) 2013-01-22T00:48:38 < emeb> or SPI/I2S control. 2013-01-22T00:48:46 < emeb> I2C rather... 2013-01-22T00:48:52 < mervaka> next time, FPGA. 2013-01-22T00:49:03 < mervaka> or SoC 2013-01-22T00:49:15 < emeb> bah - just makes things even harder. 2013-01-22T00:49:19 < mervaka> no more beating around the bush. 2013-01-22T00:49:22 < emeb> esp SoC. 2013-01-22T00:49:26 < mervaka> make my own I2S peripheral 2013-01-22T00:49:33 < mervaka> heh 2013-01-22T00:49:41 < emeb> I've done that. 2013-01-22T00:49:47 < emeb> surprisingly easy to do. 2013-01-22T00:49:49 < mervaka> one that handles TDM 2013-01-22T00:49:56 < mervaka> one clock for everything 2013-01-22T00:50:01 < mervaka> one interrupt for everything 2013-01-22T00:50:14 < emeb> no sync issues 2013-01-22T00:50:17 < mervaka> everything in parallel 2013-01-22T00:50:19 < mervaka> indeed 2013-01-22T00:50:37 < mervaka> getting the two peripherals to sync will be interesting 2013-01-22T00:50:57 < emeb> if you scope out the LRCLK now are they in sync? 2013-01-22T00:53:46 < mervaka> bang on. 2013-01-22T00:53:52 < mervaka> more jitter than lag 2013-01-22T00:53:55 < emeb> good 2013-01-22T00:54:50 < mervaka> shall i try reenabling the DMA FIFO? might avoid that problem you were saying about. 2013-01-22T00:55:06 < emeb> what the heck. 2013-01-22T00:55:18 < emeb> I don't expect anything tho :P 2013-01-22T00:55:40 < mervaka> then if the halfwords are backwards then i just manipulate a 32 bit word instead of two 16 2013-01-22T00:55:57 < emeb> there's that 2013-01-22T00:56:10 < mervaka> but i shouldn't get overlap. 2013-01-22T00:56:26 < mervaka> in theory.. 2013-01-22T00:56:39 < emeb> welllll.... 2013-01-22T00:56:53 < mervaka> however, it's 11pm 2013-01-22T00:56:58 < mervaka> i'd best get to bed 2013-01-22T00:57:04 < emeb> too late for major changes to be safe. 2013-01-22T00:58:28 < mervaka> hmm? 2013-01-22T00:59:23 < mervaka> brb 2013-01-22T00:59:46 < emeb> don't make sweeping revisions to a design when you're tired. 2013-01-22T01:02:25 < mervaka> nope, not committing anything now. 2013-01-22T01:05:08 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-22T01:06:13 -!- jef79m is now known as jef79m_lurking 2013-01-22T01:07:57 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-22T01:16:34 -!- jef79m_lurking is now known as jef79m 2013-01-22T01:26:37 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-22T01:30:24 < dirty_d> not many tutorials out there 2013-01-22T01:30:43 < dirty_d> do you guys just use ./STM32F30x_DSP_StdPeriph_Lib_V1.0.0/Project/STM32F30x_StdPeriph_Templates/TrueSTUDIO/STM32303C-EVAL/STM32F303VC_FLASH.ld or make your own? 2013-01-22T01:38:44 -!- Laurenceb_ [~Laurence@host86-171-127-225.range86-171.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-22T01:40:05 < gxti> as a starting point 2013-01-22T01:41:40 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 248 seconds] 2013-01-22T01:58:25 < dirty_d> gxti, this look right? http://pastebin.com/RfCArXDw 2013-01-22T01:59:00 < dirty_d> how to i also get gcc to do the linking, but not give me "exit.c:(.text.exit+0x16): undefined reference to `_exit'" 2013-01-22T02:01:20 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Quit: Leaving] 2013-01-22T02:12:04 < dirty_d> -nostdlib fixed it 2013-01-22T02:18:18 < mervaka> emeb: http://mervaka.co.uk/websvn/ 2013-01-22T02:18:20 < mervaka> \o/ 2013-01-22T02:18:35 < mervaka> websvn looks sweet as. still need to lock it down though! 2013-01-22T02:30:02 < zyp> I prefer the simplicity of cgit 2013-01-22T02:30:25 < zyp> (and who chooses svn over git nowadays?) 2013-01-22T02:30:28 < mervaka> not quite sure why websvn isn't asking for authentication, though 2013-01-22T02:31:02 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Quit: Ex-Chat] 2013-01-22T02:31:04 < zyp> should it? 2013-01-22T02:31:25 < mervaka> to access the svn it should, surely? 2013-01-22T02:31:33 < mervaka> repos* 2013-01-22T02:31:49 < zyp> doesn't it just access it locally? 2013-01-22T02:31:52 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-22T02:31:56 < mervaka> i guess. 2013-01-22T02:34:01 < dongs> hello blogs 2013-01-22T02:34:12 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Remote host closed the connection] 2013-01-22T02:34:31 < zyp> hello and good night 2013-01-22T02:34:44 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-22T02:36:03 < dirty_d> hmm 2013-01-22T02:36:04 < dirty_d> for port alternate functions i see TIM2_CH2 etc 2013-01-22T02:36:18 < dirty_d> thats the actual output pin right? 2013-01-22T02:36:30 < emeb> dongulations 2013-01-22T02:41:36 < dirty_d> theres no TIM2_CH1 2013-01-22T02:41:46 < dirty_d> just TIM2_CH1_ETR 2013-01-22T02:42:12 < dirty_d> does that mean you cant i.e. output PWM on TIM2 channel 1? 2013-01-22T02:42:19 < dirty_d> its only an input channel? 2013-01-22T02:45:49 < dirty_d> or does it work as a normal timer output or the external trigger if configured to do so? 2013-01-22T02:51:48 < dongs> no it means it can be ch1 or etr 2013-01-22T02:51:59 < dongs> i use TIM2_CH1_ETR for output 2013-01-22T02:54:37 < dirty_d> oh ok good 2013-01-22T02:55:53 -!- BJFreeman [~bjfree@225.sub-75-233-97.myvzw.com] has quit [Read error: Connection reset by peer] 2013-01-22T02:56:07 -!- _BJFreeman [~bjfree@225.sub-75-233-97.myvzw.com] has joined ##stm32 2013-01-22T02:56:58 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Quit: Leaving] 2013-01-22T03:05:17 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-22T03:07:17 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Read error: Connection reset by peer] 2013-01-22T03:07:44 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-22T03:10:21 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-22T03:11:21 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2013-01-22T03:12:38 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-01-22T03:12:38 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-01-22T03:12:38 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-22T03:17:02 -!- _BJFreeman is now known as BJFreeman 2013-01-22T03:26:20 -!- DaKu is now known as daku 2013-01-22T03:29:50 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-22T03:51:23 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Ping timeout: 245 seconds] 2013-01-22T04:18:38 -!- zippe1 [~Adium@173.11.99.161] has joined ##stm32 2013-01-22T04:20:19 -!- zippe [~Adium@173.11.99.161] has quit [Ping timeout: 248 seconds] 2013-01-22T05:03:29 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-22T05:08:50 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-22T05:12:10 -!- Posterdati [~antani@host106-212-dynamic.10-87-r.retail.telecomitalia.it] has quit [Ping timeout: 252 seconds] 2013-01-22T05:26:07 -!- Posterdati [~antani@host201-213-dynamic.11-87-r.retail.telecomitalia.it] has joined ##stm32 2013-01-22T05:40:58 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-22T05:50:16 < emeb_mac> so quiet you could hear a dong drop 2013-01-22T05:52:48 -!- BJFreeman [~bjfree@225.sub-75-233-97.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-01-22T05:52:51 -!- _BJFreeman [~bjfree@170.sub-75-196-99.myvzw.com] has joined ##stm32 2013-01-22T05:55:22 -!- jef79m is now known as jef79m_lurking 2013-01-22T05:59:08 -!- _BJFreeman is now known as BJFreeman 2013-01-22T06:04:20 < LeelooMinai> Anyone used stm studio on win 8? 2013-01-22T06:12:51 < emeb_mac> nope 2013-01-22T06:14:07 < LeelooMinai> Hmm... worked fine for me on win 7 2013-01-22T06:14:35 < gnomad> surprise! 2013-01-22T06:15:35 < emeb_mac> huh - never heard of that before 2013-01-22T06:16:17 < LeelooMinai> There's the only app I have problem with - I think it has to do with the fact they link to java in syswow64 compatibility directory - I will try to install 32 bit jre maybe and use it with it 2013-01-22T06:17:13 < LeelooMinai> It seems like they did not update it (stm studio) for a long time though... oh well 2013-01-22T06:21:12 -!- mansfeld [~andrew@robopoly/watson] has quit [Ping timeout: 264 seconds] 2013-01-22T06:21:23 -!- mansfeld [~andrew@2001:1af8:4400:a013:3::12c] has joined ##stm32 2013-01-22T06:21:23 -!- mansfeld [~andrew@2001:1af8:4400:a013:3::12c] has quit [Changing host] 2013-01-22T06:21:23 -!- mansfeld [~andrew@robopoly/watson] has joined ##stm32 2013-01-22T06:21:52 < ds2> Hmmm 2013-01-22T06:26:01 < dongs> 07:37 < ds2> Hmmm 2013-01-22T06:26:01 < dongs> 13:21 < ds2> Hmmm 2013-01-22T06:26:07 < dongs> lotsa chats 2013-01-22T06:26:18 < dongs> i used stmstudio 2013-01-22T06:26:28 < dongs> whats the problem with stmstudio? 2013-01-22T06:26:32 < dongs> if you put 64bit java in path, it just works 2013-01-22T06:26:40 < ds2> :) 2013-01-22T06:27:24 < LeelooMinai> I used it on win 7 x64 - have problems running it on win 8 x64 - does not detect stlink (st-link utility does work fine though, same with open ocd, etc.) 2013-01-22T06:27:45 < LeelooMinai> It wants 32-bit java 2013-01-22T06:27:49 < ds2> blah.. request for the free stm32f3 discovery got rejected 2013-01-22T06:28:37 < emeb_mac> spend $10, get one. 2013-01-22T06:28:38 < LeelooMinai> It's not critical app for me, but, well, it was nice for some testing 2013-01-22T06:29:16 < ds2> I got one.. was hoping for a free spare :D 2013-01-22T06:29:25 < dongs> they knew you were trolling 2013-01-22T06:29:31 < ds2> did anyone get their request fulfilled? 2013-01-22T06:29:37 < emeb_mac> never tried 2013-01-22T06:29:47 < emeb_mac> got the free F0 tho 2013-01-22T06:29:57 < LeelooMinai> I got free F0 and F4 2013-01-22T06:30:09 < ds2> oh 2013-01-22T06:30:13 < LeelooMinai> Did not try for F3 2013-01-22T06:30:28 < ds2> at least they say it got rejected 2013-01-22T06:30:34 < ds2> the F0 one was met with pure silence 2013-01-22T06:32:05 < ds2> travel done for the time being... back to doing projects 2013-01-22T06:32:13 < emeb_mac> cool 2013-01-22T06:32:27 -!- jef79m_lurking is now known as jef79m 2013-01-22T06:32:57 < ds2> emeb_mac: it was fun seeing how everyone is wrapping towels around their front yard plants to avoid frost 2013-01-22T06:36:18 < emeb_mac> ds2: yep - we did that too. 2013-01-22T06:36:55 < emeb_mac> and around their water main inlets - all exposed outside here. dumb. 2013-01-22T06:37:30 < emeb_mac> plumbers clean up during a hard freeze from repairing burst pipes. 2013-01-22T06:37:38 < dongs> i know someone who got free F3 from the giveaway shit @ samplecomponents.com or whatever 2013-01-22T06:37:47 < dongs> i signed up with my alaska address but they never sent me any emai labout it 2013-01-22T06:38:29 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-22T06:38:30 < ds2> emeb_mac: really? didn't think pipes are that much more fragile there.. back in the midwest, it took some sustained hard freezes to bursts pipes given that water takes a lot of energy to freeze 2013-01-22T06:38:38 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-22T06:38:42 < ds2> dongs: guess they are not consistant 2013-01-22T06:38:50 < dongs> i got a free F4 that way 2013-01-22T06:38:52 < dongs> back in the day. 2013-01-22T06:38:52 < emeb_mac> ds2: but in midwest the pipes aren't outside. 2013-01-22T06:38:53 < dongs> so who knows 2013-01-22T06:39:05 < dongs> maybe my applicatoin of self-balancing 2wheel robot wasn't groundbreaking enough 2013-01-22T06:39:36 -!- BJFreeman [~bjfree@170.sub-75-196-99.myvzw.com] has quit [Quit: had a good time] 2013-01-22T06:39:37 < emeb_mac> dongs: wow - they wanted a proposal? 2013-01-22T06:39:40 < ds2> emeb_mac: the bibs ares... and they run through unheated attics and basements 2013-01-22T06:40:04 < dongs> emeb_mac: yea they make you fill out 'what you gona use this shit for + yearly order bla bla 2013-01-22T06:41:23 < ds2> dongs: did you use a private or company address? 2013-01-22T06:44:48 < emeb_mac> don't remember what I did when I got the F0. 2013-01-22T06:48:11 < dongs> ds2: company 2013-01-22T06:48:19 < dongs> well, i dont have an official company in u.s. 2013-01-22T06:48:35 < dongs> have an office w/that name but its not registered anywhere useful 2013-01-22T06:48:40 < dongs> so if they did bother checking, it probably didnt work. 2013-01-22T06:49:23 < ds2> hmmm maybe they autochecked 2013-01-22T07:09:00 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-22T07:55:29 -!- KennyMcCormic [~Kenny@94.28.148.120] has joined ##stm32 2013-01-22T08:03:52 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-22T08:04:24 < baird> "Hey, that's that timecop prick. Screw that guy." I would. 2013-01-22T08:13:07 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-22T08:14:02 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Remote host closed the connection] 2013-01-22T08:17:29 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-22T08:19:29 < baird> Hmm, .mozilla/firefox/mumble/thumbnails has screenshots of the last ~22,000 R18 downloads.. -_- 2013-01-22T08:23:33 -!- claude is now known as Claude 2013-01-22T08:25:47 < baird> I suppose it's for that Safari-like tab preview feature, but WTF? "Yeah, we thought it might be a good idea to record everything you do.." 2013-01-22T08:26:53 -!- jef79m is now known as jef79m_lurking 2013-01-22T08:32:24 < Viper168> haha, http://sphotos-a.xx.fbcdn.net/hphotos-snc6/s480x480/735178_534222653265417_2131221967_n.png 2013-01-22T08:45:02 < dongs> R18? 2013-01-22T08:59:41 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-22T09:17:20 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-22T09:30:08 -!- Claude is now known as claude 2013-01-22T09:35:51 -!- jef79m_lurking is now known as jef79m 2013-01-22T09:43:06 -!- Tectu_ [tectu@irc.ipv6.kunsmann.eu] has joined ##stm32 2013-01-22T09:43:12 -!- Tectu [tectu@irc.ipv6.kunsmann.eu] has quit [Ping timeout: 276 seconds] 2013-01-22T10:03:46 -!- Tectu_ is now known as Tectu 2013-01-22T10:11:06 -!- jef79m is now known as jef79m_lurking 2013-01-22T10:13:44 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-22T10:25:19 -!- jef79m_lurking is now known as jef79m 2013-01-22T10:31:20 -!- jef79m is now known as jef79m_lurking 2013-01-22T10:46:15 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-22T10:52:12 -!- Laurenceb_ [~Laurence@host86-171-127-225.range86-171.btcentralplus.com] has joined ##stm32 2013-01-22T11:04:12 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-22T11:06:34 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 256 seconds] 2013-01-22T11:22:06 -!- jef79m_lurking is now known as jef79m 2013-01-22T11:24:34 -!- Laurenceb_ [~Laurence@host86-171-127-225.range86-171.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2013-01-22T11:34:10 -!- Viper168_ is now known as Viper168 2013-01-22T11:57:49 < karlp> fucking openocd install target didn't properly obey the --prefix options 2013-01-22T11:58:10 < karlp> correctly intalled scripts and things into ~/.local/share/openocd/scripts 2013-01-22T11:58:28 < karlp> but running it still goes and looks for the scripts in /usr/local/share 2013-01-22T12:00:44 < dongs> sounds like typical opensores garbage 2013-01-22T12:00:53 < dongs> spend $65 on j-link EDU 2013-01-22T12:03:07 < zyp> yeah, I've heard jlink obeys --prefix properly 2013-01-22T12:08:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-22T12:15:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-22T12:15:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-22T12:15:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-22T12:15:53 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-22T12:17:33 < karlp> blah, it does work, but only if it's properly cleaned before rebuilding. 2013-01-22T12:47:11 -!- jef79m is now known as jef79m_lurking 2013-01-22T13:38:52 < karlp> oh, figured out my ADONS problem yesterday. 2013-01-22T13:39:18 < karlp> I hadn't properly switched to full speed, so it was running on the MSI at 4Mhz, while the adc always runs off HSI at 16mhz. 2013-01-22T13:39:23 < karlp> and HSI hadn't been turned on. 2013-01-22T13:39:32 < zyp> :) 2013-01-22T13:39:51 < karlp> had been double checking that the wrong clocks were turned on :) 2013-01-22T13:40:47 <+Steffanx> oops 2013-01-22T13:44:16 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-22T13:46:31 -!- jef79m_lurking is now known as jef79m 2013-01-22T14:11:23 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-22T14:16:44 -!- jef79m is now known as jef79m_lurking 2013-01-22T14:30:53 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-22T14:32:15 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-22T14:32:38 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-22T14:32:51 -!- KennyMcCormic [~Kenny@94.28.148.120] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-22T14:34:08 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-01-22T14:39:40 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-22T14:41:57 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-22T14:46:05 -!- alexn [~alexn@93.104.205.194] has quit [Quit: Leaving] 2013-01-22T14:54:23 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-22T14:55:00 -!- _BJFreeman [~bjfree@17.sub-75-244-174.myvzw.com] has joined ##stm32 2013-01-22T14:55:44 -!- _BJFreeman is now known as BJFreeman 2013-01-22T15:00:15 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-22T15:05:37 -!- alexn [~alexn@93.104.205.194] has quit [Read error: Connection reset by peer] 2013-01-22T15:06:13 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-22T15:10:41 -!- alexn [~alexn@93.104.205.194] has quit [Ping timeout: 252 seconds] 2013-01-22T15:17:03 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-22T15:42:24 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-22T15:52:53 < karlp> bizarro, who would have thought that the adc injected sequence wouldn't be in the same order as the regular sequences 2013-01-22T15:54:49 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-01-22T15:55:11 < jpa-> "same order"? you mean the register? 2013-01-22T16:02:38 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-22T16:05:17 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-22T16:16:30 < karlp> no, I mean, that in ADC_SQR1..3 if you only want to have two channels in a regular sequence, you use SQ1 and SQ2. 2013-01-22T16:16:44 < karlp> if you want only two channels in an injected sequence you use JSQ3 and JSQ4 2013-01-22T16:16:58 < Laurenceb> yes 2013-01-22T16:16:59 < karlp> and if you only want 1, it's SQ1 vs JSQ4. 2013-01-22T16:17:04 < karlp> it's just odd. 2013-01-22T16:17:05 < Laurenceb> so? 2013-01-22T16:17:08 < Laurenceb> fairdoos 2013-01-22T16:17:23 < Laurenceb> oh yeah 2013-01-22T16:17:39 < Laurenceb> the order is reversed, that confused me for a bit 2013-01-22T16:18:03 < karlp> yeah, priniciple of least surprise soundly ignored 2013-01-22T16:18:57 < karlp> f3 for instance "fixes" that 2013-01-22T16:21:06 -!- _BJFreeman [~bjfree@17.sub-75-244-174.myvzw.com] has joined ##stm32 2013-01-22T16:21:29 -!- ReggieUK [ReggieUK@90.202.86.231] has joined ##stm32 2013-01-22T16:22:16 -!- BJFreeman [~bjfree@17.sub-75-244-174.myvzw.com] has quit [Ping timeout: 246 seconds] 2013-01-22T16:36:55 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2013-01-22T16:43:22 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-22T16:45:40 -!- _BJFreeman is now known as BJFreeman 2013-01-22T17:07:48 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-22T17:16:57 < Laurenceb> http://www.st.com/internet/analog/product/255590.jsp 2013-01-22T17:16:59 < Laurenceb> lulwut 2013-01-22T17:17:48 <+Steffanx> what? 2013-01-22T17:17:51 <+Steffanx> Isn't that nice? :) 2013-01-22T17:19:08 < zyp> tell me when they do accel, gyro, mag and M4F in same chip 2013-01-22T17:19:53 <+Steffanx> And 2.4GHz stuff and an M0 of course 2013-01-22T17:19:58 < Laurenceb> hopefully thats coming next 2013-01-22T17:20:04 < zyp> hmm, that one has 128k sram 2013-01-22T17:20:48 < zyp> runs up to 80MHz 2013-01-22T17:21:20 < Laurenceb> only drawing 9ma 2013-01-22T17:21:40 <+Steffanx> and a nice small package :) 2013-01-22T17:21:57 < Laurenceb> http://www.st.com/internet/com/press_release/t3365.jsp 2013-01-22T17:21:59 < Laurenceb> haha 2013-01-22T17:22:11 <+Steffanx> java.. 2013-01-22T17:22:29 < Laurenceb> more like stm32troll 2013-01-22T17:22:31 <+Steffanx> STM32Java is priced at $2600 per seat per year. :S 2013-01-22T17:22:45 < dongs> loldongs 2013-01-22T17:22:49 <+Steffanx> Eclipse based .. even 2013-01-22T17:22:54 < dongs> what isnt 2013-01-22T17:23:06 <+Steffanx> Your dong 2013-01-22T17:25:35 < Laurenceb> http://media.tumblr.com/1234c31d4bf002fc36d8e7eaed8acd0b/tumblr_inline_mgtzwz8JSb1qctkcl.jpg 2013-01-22T17:25:37 <+Steffanx> Hmpf, dongs it's all your fault . I tried to be serious, but you force me to say things like that 2013-01-22T17:26:43 < Laurenceb> looks like i found a book for dongs 2013-01-22T17:26:49 < Laurenceb> http://media.tumblr.com/01ac04281c015df762975dd0e8635736/tumblr_inline_mgtzmrSY3M1qctkcl.jpg 2013-01-22T17:27:14 < dongs> does lower right corner say 2013-01-22T17:27:16 < dongs> JEW BOOK 2013-01-22T17:28:55 < dongs> bedtime 2013-01-22T17:39:43 < emeb_mac> three thing that smell like fish - forgot cat bref 2013-01-22T17:39:51 < mervaka> sup 2013-01-22T17:39:55 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-22T17:40:03 < emeb_mac> yo 2013-01-22T17:40:25 < mervaka> got websvn working last night instead of getting that early night :( 2013-01-22T17:40:33 < emeb_mac> yay? 2013-01-22T17:40:37 < mervaka> oh well, got to the lecture ok still 2013-01-22T17:40:48 < mervaka> http://svn.mervaka.co.uk 2013-01-22T17:41:01 < emeb_mac> mustnt miss the lectures. 2013-01-22T17:41:41 < mervaka> repos proj322 2013-01-22T17:42:48 < emeb_mac> right 2013-01-22T17:43:35 <+Steffanx> The fancy people use GIT nowadays mervaka .. 2013-01-22T17:44:09 < emeb_mac> zyp pointed that out yesterday too 2013-01-22T17:44:20 < mervaka> i don't understand why distributed VC helps though.. 2013-01-22T17:44:38 < mervaka> it all gets centralised at the end of the day, right? 2013-01-22T17:45:10 < mervaka> plus i'm the only person working on the projects 2013-01-22T17:45:17 < karlp> it means you have can branches and commits on your own work, before it's ready to commit to anyone else. 2013-01-22T17:45:27 < karlp> but whatever works fo ryou 2013-01-22T17:45:32 < emeb_mac> right on 2013-01-22T17:45:42 < mervaka> that's another thing i need to get used to doing. branching. 2013-01-22T17:45:54 < emeb_mac> i'm so old-school I still do all my personal stuff in cvs 2013-01-22T17:45:56 < karlp> yeah, and you won't do it much with svn, because it's not as easy to use 2013-01-22T17:46:02 <+Steffanx> hehe emeb_mac 2013-01-22T17:46:10 < mervaka> fair doos. 2013-01-22T17:46:11 < BrainDamage> dvcs also lets you commit locally 2013-01-22T17:46:16 < mervaka> no mercurial fans here then? 2013-01-22T17:46:17 < BrainDamage> as opposed to a remote server 2013-01-22T17:46:33 < BrainDamage> so you can commit often because the operation is near instant 2013-01-22T17:46:41 < gxti> mervaka: i use it 2013-01-22T17:46:41 < BrainDamage> the only burden is the commit message 2013-01-22T17:47:03 < karlp> BrainDamage: that's what I was getting at. 2013-01-22T17:47:04 < mervaka> fair doos. 2013-01-22T17:47:06 < emeb_mac> I use it more as a backup & centralized repo 2013-01-22T17:47:20 < mervaka> i guess you guys just sold it for me :P 2013-01-22T17:47:27 < mervaka> for my next projects anyway. 2013-01-22T17:47:31 < BrainDamage> I have my /etc under git revision 2013-01-22T17:47:49 < mervaka> heh 2013-01-22T17:47:52 < BrainDamage> and it's hooked to the package manager, every package that touches etc creates a new commit 2013-01-22T17:48:06 < mervaka> nice 2013-01-22T17:48:10 < BrainDamage> makes backup & fault search really easy 2013-01-22T17:48:43 < BrainDamage> btw, git isn't the only dvcs, there's bazaar, mercurial, etc etc etc 2013-01-22T17:49:03 < karlp> (but you'll get a lot less help with them unfortuantely) 2013-01-22T17:51:25 < mervaka> mm 2013-01-22T17:51:55 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-22T17:52:04 <+Steffanx> That's because this is the anthem of the average linux guy when it comes to mr. linux: http://youtu.be/Y8zzG4n8CpM?t=10s 2013-01-22T17:53:08 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-22T17:53:46 < mervaka> like i say, next project.. :) 2013-01-22T17:55:31 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-22T19:19:56 -!- barthess [~barthess@178.154.30.121] has joined ##stm32 2013-01-22T19:24:37 -!- phantoneD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 2013-01-22T19:25:20 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-22T19:27:56 -!- Erlkoenig [~erlkoenig@pptp-212-201-74-211.pptp.stw-bonn.de] has joined ##stm32 2013-01-22T19:42:34 -!- daku is now known as DaKu 2013-01-22T19:54:43 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-22T20:18:49 -!- manuel [~manuel@pD9FDF790.dip.t-dialin.net] has joined ##stm32 2013-01-22T20:18:53 < manuel> heya folks 2013-01-22T20:18:58 < manuel> has someone used the ITM/ETM here? 2013-01-22T20:33:09 < emeb> I've heard that it works, but haven't used it myself. 2013-01-22T21:00:03 -!- barthess [~barthess@178.154.30.121] has quit [Ping timeout: 256 seconds] 2013-01-22T21:02:56 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 252 seconds] 2013-01-22T21:08:04 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-22T21:15:49 -!- dirty_d [~andrew@209-213-71-70.meganet.net] has joined ##stm32 2013-01-22T21:17:03 -!- barthess [~barthess@178.154.84.142] has joined ##stm32 2013-01-22T21:17:24 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has joined ##stm32 2013-01-22T21:17:40 < Ranewen> evening 2013-01-22T21:18:15 < emeb> someone chanted evening 2013-01-22T21:19:02 < Ranewen> another arm newbie joining the club 2013-01-22T21:19:46 < Erlkoenig> hmm, do we have club rules? 2013-01-22T21:20:07 < Ranewen> i dont know 2013-01-22T21:20:13 < Erlkoenig> like "no talking about linker scripts"? 2013-01-22T21:20:15 < Ranewen> do you accept windows users? 2013-01-22T21:20:23 < Laurenceb> http://www.urbandictionary.com/define.php?term=Rules%20of%20Fight%20Club 2013-01-22T21:21:26 < Erlkoenig> Ranewen: as long as they confess and have a good reason to... :D 2013-01-22T21:23:20 < Ranewen> do i need linux to start with arm ? 2013-01-22T21:23:23 <+Steffanx> We accept everyone except Laurenceb a-like people. We have enough of those :) 2013-01-22T21:23:44 < Erlkoenig> Ranewen: no, windows might even be easier for starting ;-) 2013-01-22T21:24:00 < zyp> ha 2013-01-22T21:24:00 < Ranewen> good, because linux isn't in my family veins 2013-01-22T21:25:06 < Erlkoenig> the "big" commercial/proprietary toolchains/IDE's are mainly windows-focused... 2013-01-22T21:25:44 < Ranewen> are they free? 2013-01-22T21:25:57 < Ranewen> oh.. 2013-01-22T21:26:04 <+Steffanx> Some of them are.. with limitations 2013-01-22T21:26:07 < Erlkoenig> Atollic "TRUE Studio" is/was freeware, but not Free SOftware... ^^ 2013-01-22T21:26:09 <+Steffanx> some of them are totally free 2013-01-22T21:27:04 < Ranewen> can i download full versions ? 2013-01-22T21:27:13 < Ranewen> it is possible i think.... 2013-01-22T21:27:20 < Erlkoenig> at least truestudio's free version doesn't support C++ 2013-01-22T21:27:50 < Erlkoenig> if you have the right compilerflags, startupcode & linkerscript and know how to use make and gcc, you can use the free software toolchains that provide full support for C++ and everything 2013-01-22T21:27:54 <+Steffanx> Isn't CooCox IDE pretty similar too TrueStudio.. both eclipse based? 2013-01-22T21:28:03 <+Steffanx> -o 2013-01-22T21:28:06 < emeb> CooCox has no limits 2013-01-22T21:28:13 < emeb> Runs on Win* 2013-01-22T21:28:16 <+Steffanx> True true 2013-01-22T21:28:26 < emeb> Uses whatever compiler you want 2013-01-22T21:28:34 <+Steffanx> That's not what i meant to say. I meant: CooCox = Truestudio without the limitations :P 2013-01-22T21:28:52 < emeb> I've got it using launchpad gcc right now. Works fine. 2013-01-22T21:29:02 < Ranewen> i opened 2013-01-22T21:29:06 < Ranewen> coocox website 2013-01-22T21:29:17 < Ranewen> and i see like arduino everywhere 2013-01-22T21:29:36 < emeb> wat? 2013-01-22T21:30:07 < Erlkoenig> "A new and highly-integrated software development environment for ARM Cortex M4, M3 and M0 based microcontrollers" ... should suffice ^^ 2013-01-22T21:30:08 <+Steffanx> oh, they now have an arduino-alike board 2013-01-22T21:30:19 <+Steffanx> Just ignore that Ranewen 2013-01-22T21:30:50 < Ranewen> Steffanx: y 2013-01-22T21:31:05 < emeb> oh - "cookie" board. 2013-01-22T21:32:21 < Ranewen> they also ofer their os (whatever that is) 2013-01-22T21:32:26 < Laurenceb> suddenly... arduino everywhere 2013-01-22T21:32:29 < Laurenceb> the horror 2013-01-22T21:32:40 < Laurenceb> i need therapy 2013-01-22T21:32:46 * emeb screams, flails arms 2013-01-22T21:33:11 < Laurenceb> http://www.coocox.org/images/Cookie/Cookie_NuMicro_V1_s.png 2013-01-22T21:33:18 < Laurenceb> epic lol - its that rs232?! 2013-01-22T21:33:22 < Laurenceb> *is 2013-01-22T21:34:08 < Ranewen> why is there so much components on it ? 2013-01-22T21:35:28 < emeb> looks like they put on level shifters for 5V logic 2013-01-22T21:35:45 < emeb> for actual ard. compatibility. 2013-01-22T21:36:12 < Erlkoenig> aren't some STM32 5V-tolerant? 2013-01-22T21:36:17 < emeb> as opposed to the arduino mad ARM board which only gives 3.3V 2013-01-22T21:36:39 < emeb> Erlkoenig: some, not all, and they can't source 5v, just take it on input. 2013-01-22T21:36:56 < Erlkoenig> ah okay 2013-01-22T21:37:40 < zyp> I believe all stm32s are 5V tolerant, but not on all pins 2013-01-22T21:38:12 < Laurenceb> anything is more tolerant than dongs 2013-01-22T21:38:48 < emeb> zyp: that's what I meant. 2013-01-22T21:40:37 < Ranewen> so coocox is all I need from the software ? 2013-01-22T21:40:45 < emeb> plus a compiler 2013-01-22T21:40:53 < emeb> they tell you how to get one & install it. 2013-01-22T21:41:31 < Ranewen> which one? 2013-01-22T21:42:16 * Erlkoenig is fan of https://launchpad.net/gcc-arm-embedded 2013-01-22T21:42:23 < emeb> +! 2013-01-22T21:42:26 < emeb> +1 2013-01-22T21:42:29 < emeb> -! 2013-01-22T21:43:42 < Ranewen> Erlkoenig: the i'd have to also learn another OS 2013-01-22T21:43:50 < emeb> no 2013-01-22T21:43:53 < Erlkoenig> no, that works on windows & linux 2013-01-22T21:43:54 < emeb> there's a win version 2013-01-22T21:44:03 < Erlkoenig> https://launchpad.net/gcc-arm-embedded/4.7/4.7-2012-q4-major/+download/gcc-arm-none-eabi-4_7-2012q4-20121208-win32.exe see here ^^ 2013-01-22T21:44:24 < Ranewen> Erlkoenig: wow 2013-01-22T21:44:39 < Erlkoenig> big fat green button on the right of the start page :D 2013-01-22T21:45:03 < Ranewen> it was 2 fat to notice 2013-01-22T21:45:38 -!- BrainDamage2 [~yaaic@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-22T21:46:46 < Ranewen> Erlkoenig: i hope I will make some LED's shine 2013-01-22T21:47:26 < Erlkoenig> yey... what STM32 do you use? a discovery board? 2013-01-22T21:47:34 < Ranewen> tell me (despite this is stm) which controllers should i use ? 2013-01-22T21:47:42 < Ranewen> i am thinking about buying the chip.... 2013-01-22T21:48:04 < zyp> depends on what you are doing 2013-01-22T21:48:12 < Ranewen> either troughhole, or smd 2013-01-22T21:48:24 < zyp> there are no throughhole stm32s :p 2013-01-22T21:48:40 < Ranewen> well.. there are other manufacturers 2013-01-22T21:49:03 < Ranewen> but the only real thing i want is to learn how to "real" program microcontrollers..... 2013-01-22T21:49:06 < Erlkoenig> there is one single ARM in Trough-Hole i think... 2013-01-22T21:49:29 < zyp> nxp makes some lpc M0s that are through hole 2013-01-22T21:49:39 < Erlkoenig> you are starting with µC-Development? probably you should start with a simpler controller, such as an AVR, and try an ARM later 2013-01-22T21:49:41 < Ranewen> Erlkoenig: i will make brakeoutout boards if i need to... 2013-01-22T21:50:07 < zyp> Erlkoenig, I disagree 2013-01-22T21:50:29 < zyp> you don't gain anything by that, you just learn obsoleted practices 2013-01-22T21:50:31 < Erlkoenig> well, depends. i would probably have failed epically if i started right with an ARM 2013-01-22T21:50:59 < Laurenceb> http://www.nuvoton.com/NuvotonMOSS/Community/ProductInfo.aspx?tp_GUID=5dbf7d7a-b6df-4fe1-91c9-063449500ce7 2013-01-22T21:51:12 < mervaka> 8051 is pretty awesome to learn on.. :) 2013-01-22T21:51:24 < mervaka> at least if you're learning assembly. 2013-01-22T21:51:43 < Ranewen> well i made an led shine on 8051 using keil assembler 2013-01-22T21:52:34 < zyp> mervaka, if you enjoy learning assembler for obsolete architectures ;) 2013-01-22T21:52:45 < Erlkoenig> e.g. the STM32's docs are a bit... evil, and learning how to read such docs by e.g. practicing with the well-writen docs of the much simpler AVR helps a lot, i think 2013-01-22T21:52:47 < mervaka> zyp: just saying, it was fun :P 2013-01-22T21:53:00 < mervaka> only a handful of instructions 2013-01-22T21:53:47 < mervaka> i've not tried AVR myself, but it sounds good 2013-01-22T21:54:03 < Laurenceb> the c tools are very easy to use 2013-01-22T21:54:33 < Ranewen> only thing i really know is C 2013-01-22T21:54:40 < mervaka> I was dragged up on obsolete PICs and the 8051 at uni. 2013-01-22T21:55:00 < Erlkoenig> e.g. the AVR's timers are much simpler than the STM32's timers, so it's easier to learn how a timer works before trying to master the STM32's timers... 2013-01-22T21:55:04 < mervaka> they just invested in a bunch of F4 boards this year, which is how i got into them. 2013-01-22T21:55:54 < Laurenceb> hehe "invested" 2013-01-22T21:56:00 < Laurenceb> f4discovery is <£10 2013-01-22T21:56:05 < mervaka> yeah. cheapskates. 2013-01-22T21:56:09 < Ranewen> i need to learn basically averything about arm's 2013-01-22T21:56:10 < mervaka> :P 2013-01-22T21:56:25 < zyp> Erlkoenig, how so? having more features doesn't mean you have to care about them 2013-01-22T21:56:25 < mervaka> the previous 8051 board was an inhouse design 2013-01-22T21:56:40 < mervaka> code uploaded via hyperterminal to RAM 2013-01-22T21:57:00 < zyp> configuring an output compare channel on stm32 is about equally simple as doing that on an AVR 2013-01-22T21:57:20 < Erlkoenig> zyp: it complicates the reading of the docs... at least for me, of course i don't know about more clever people :D 2013-01-22T21:57:32 < zyp> and I think it'll be a real benefit to learn working with a debugger from the start 2013-01-22T21:57:51 < Erlkoenig> (20:57:01) zyp: configuring an output compare channel on stm32 is about equally simple as doing that on an AVR <- no. on an AVR it is "DDRB |= 4;" on an STM32 it's several lines 2013-01-22T21:58:03 < mervaka> yeah, that's where the 8051 board fell flat. no debugger at all. 2013-01-22T21:58:14 < Erlkoenig> but whatever, just a personal observation 2013-01-22T21:59:46 < Ranewen> why is stm so special? 2013-01-22T22:00:03 < mervaka> cheap and powerful 2013-01-22T22:00:09 < Ranewen> nxp? 2013-01-22T22:00:13 < Ranewen> atmel? 2013-01-22T22:00:32 < mervaka> nxp don't make an M4 at £10 2013-01-22T22:00:43 < zyp> sure they do 2013-01-22T22:00:46 < mervaka> they do? 2013-01-22T22:00:59 < zyp> I paid <£10 for my lpc4357s 2013-01-22T22:01:13 < mervaka> i was looking for one a few months ago 2013-01-22T22:01:28 < mervaka> in octoberish time 2013-01-22T22:01:53 < mervaka> either i'm blind, or they're very recent 2013-01-22T22:01:59 < gnomad> all of the arm chips regardless of vendor are pretty competative. 2013-01-22T22:02:12 < zyp> hmm, they are actually £10.88 2013-01-22T22:02:21 < Ranewen> so it makes no difference which i buy ? 2013-01-22T22:02:22 < zyp> in single qty 2013-01-22T22:02:42 < zyp> Ranewen, there are lots of differences, so it all depends on what you want to do 2013-01-22T22:03:07 < zyp> if you just want to get to know the platform I suggest getting one of the stm32 discovery boards, since they come with an onboard debugger adapter 2013-01-22T22:03:39 < dirty_d> Ranewen, i just bought a stm32f3discovery 2013-01-22T22:04:02 < Ranewen> zyp: i want to learn how arm works, and after that buy whatever code size/GPIO/communication i need 2013-01-22T22:04:10 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 260 seconds] 2013-01-22T22:04:15 < zyp> http://bin.jvnv.net/f/mu3oa.JPG <- I just got them all 2013-01-22T22:04:26 < zyp> (except the VL one, but it's old and not interesting) 2013-01-22T22:05:12 < mervaka> righty 2013-01-22T22:05:13 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Read error: Operation timed out] 2013-01-22T22:05:28 < Ranewen> ok you know what i want... 2013-01-22T22:05:37 < mervaka> is there a directive or something i can use to tell the compiler to use saturation arithmetic 2013-01-22T22:05:40 < mervaka> ? 2013-01-22T22:05:54 < mervaka> or do i have to use intrinsics explicitly? 2013-01-22T22:08:05 < zyp> the compiler is supposed to recognize patterns that can be optimized into using saturation arithmetic 2013-01-22T22:08:15 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-22T22:08:35 < zyp> I suggest trying that and then looking at disassembly from the generated code 2013-01-22T22:08:56 < mervaka> oh i see 2013-01-22T22:09:43 < zyp> Ranewen, they are all fairly affordable, but have some different other stuff on the boards that you can play with 2013-01-22T22:09:57 < zyp> so get the one that seems like the most fun ;) 2013-01-22T22:10:17 < Ranewen> yep 2013-01-22T22:10:44 < Ranewen> i still need to learn everything about arm's 2013-01-22T22:11:25 < mervaka> zyp: as in x >= 32767 ? 32767 : x; 2013-01-22T22:11:27 < mervaka> etc 2013-01-22T22:11:38 < zyp> yes 2013-01-22T22:11:40 < mervaka> well, that'd be for 16 bit 2013-01-22T22:12:25 < Erlkoenig> doesn't the ARMv7 have some funny bit that turns on/off saturating arithmetic in the ALU/FPU? 2013-01-22T22:13:20 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-01-22T22:17:02 -!- Erlkoenig [~erlkoenig@pptp-212-201-74-211.pptp.stw-bonn.de] has quit [Ping timeout: 255 seconds] 2013-01-22T22:19:49 < zyp> mervaka, works for me 2013-01-22T22:19:55 -!- jef79m_lurking is now known as jef79m 2013-01-22T22:20:02 < mervaka> hang on, more anomalies :P 2013-01-22T22:20:20 < zyp> http://paste.jvnv.net/view/q8opa 2013-01-22T22:20:23 < mervaka> i'm doing a 2x2 mix matrix, and the outputs don't seem to be mirroring 2013-01-22T22:20:53 < mervaka> cool 2013-01-22T22:21:26 -!- Erlkoenig [~erlkoenig@pptp-194-94-199-134.pptp.stw-bonn.de] has joined ##stm32 2013-01-22T22:21:41 < zyp> hmm, wait, I'm misinterpreting this 2013-01-22T22:23:54 < mervaka> wait, i see where i'm going wrong! doh 2013-01-22T22:24:02 < mervaka> doh 2013-01-22T22:24:06 < mervaka> doh 2013-01-22T22:24:17 < mervaka> i'm attenuating twice.. 2013-01-22T22:24:21 < zyp> a + b in my code doesn't get promoted, so the entire branch get optimized out and results in a non-saturating add 2013-01-22T22:24:22 < mervaka> derp 2013-01-22T22:24:47 < zyp> hmm, guess it doesn't work then 2013-01-22T22:25:51 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-22T22:32:21 < emeb> mervaka: I used inline assy to explicitly invoke saturation. 2013-01-22T22:32:41 < emeb> may not be needed w/ 4.7 2013-01-22T22:32:53 < mervaka> right on. 2013-01-22T22:32:56 < emeb> 4.6 didn't do it automatically though. 2013-01-22T22:32:58 < mervaka> intrinsics it is. 2013-01-22T22:33:28 < zyp> the problem with inline assembly is that the compiler doesn't know what you are doing so it can't optimize it out if possible 2013-01-22T22:33:56 < emeb> what situations would it be good to optimize out? 2013-01-22T22:34:33 < zyp> constants 2013-01-22T22:35:01 < emeb> true, but I only do the inline assy in situations that I know need it. 2013-01-22T22:36:19 < zyp> I used inline assembly to do 8.24 fixedpoint multiplication on AVR, invoked from operator* on a custom type designed to act as a 8.24 fixed point integer variable 2013-01-22T22:36:37 < zyp> and I would like that to be able to optimize out constant multiplications 2013-01-22T22:36:48 < Erlkoenig> do them with templates... :D 2013-01-22T22:36:59 < zyp> I would probably do the same if I needed a saturating integer type :p 2013-01-22T22:37:21 < emeb> you're thinking of a bigger picture than I was. 2013-01-22T22:38:46 < emeb> for my audio stuff I have a library of vectorized operations for things like mixing, etc 2013-01-22T22:39:15 < Erlkoenig> doesn't the CMSIS contain such a thing? 2013-01-22T22:39:16 < mervaka> vectorized? 2013-01-22T22:39:19 < emeb> inside I convert int16_t to float, do any ops needed, then covert back to int16_t with saturation. 2013-01-22T22:39:45 < emeb> mervaka: vector in the matlab sense - basically a buffer full of samples. 2013-01-22T22:39:52 < mervaka> ah kk 2013-01-22T22:40:47 -!- BrainDamage2 [~yaaic@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Many bits were harmed during this conversation] 2013-01-22T22:41:03 < emeb> actually, what I've found is that doing inline assy for the saturation has very little advantage over just doing x >= 32767 ? 32767 : x; 2013-01-22T22:41:29 < emeb> It may add up in the long run, but it's down in the noise. 2013-01-22T22:42:12 -!- fxd0h_ [~fx@186.18.172.240] has joined ##stm32 2013-01-22T22:42:23 -!- jef79m is now known as jef79m_lurking 2013-01-22T22:42:34 < zyp> true 2013-01-22T22:52:07 < mervaka> ok, i think i've traced the phase inversion to an input. i'm passing the same signal to both outputs and they seem in phase with each other. 2013-01-22T22:52:38 < emeb> weird 2013-01-22T22:52:41 < mervaka> ya :s 2013-01-22T22:52:57 < mervaka> also, lol @ how horrible this sounds with music. 2013-01-22T22:53:13 < mervaka> if sting were dead, he'd turn in his grave about now. 2013-01-22T22:53:20 < emeb> if it sounds bad then there's more than a phase inversion going on. 2013-01-22T22:53:28 < mervaka> yeah, not related. 2013-01-22T22:53:35 < mervaka> it's the original DMA problem 2013-01-22T22:53:54 < emeb> ya - glitches are bad, m'kay? 2013-01-22T22:54:00 -!- jef79m_lurking is now known as jef79m 2013-01-22T22:54:10 < mervaka> ya rly 2013-01-22T22:54:18 < Ranewen> is there any good arm book ? 2013-01-22T22:55:22 < gnomad> for architecture, yes. for practical usage, no. 2013-01-22T22:56:20 < Ranewen> hm... 2013-01-22T22:56:45 < zyp> depends on what you are asking about 2013-01-22T22:57:03 < Ranewen> my knowladge = bare 0 2013-01-22T22:57:17 < zyp> I saw a book on the cortex-m core itself that seems rather nice, if you are interested in that part of it 2013-01-22T22:58:08 < Tectu> Meh, I'm currently thinking of "switchting to c++"... Many people here use c++ on their STM32, right? 2013-01-22T22:58:10 < Ranewen> yes yes yes 2013-01-22T22:59:34 < dirty_d> i plan on it 2013-01-22T22:59:48 < Tectu> zyp, you're a c++ guy, right? 2013-01-22T22:59:50 < gnomad> So there are C++ libraries for the STM32? 2013-01-22T23:00:04 < zyp> yes 2013-01-22T23:00:10 < gnomad> got links? 2013-01-22T23:00:21 < Erlkoenig> Tectu: jupp 2013-01-22T23:00:29 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Quit: Leaving] 2013-01-22T23:00:41 < Tectu> Erlkoenig, fetzt das gut mit gcc/g++? 2013-01-22T23:00:47 < Erlkoenig> fetzt total foll ja :D 2013-01-22T23:00:52 < Tectu> voll* 2013-01-22T23:00:53 < Erlkoenig> Exceptions und RTTI abschalten 2013-01-22T23:01:00 < Tectu> what's RTTI? 2013-01-22T23:01:05 < emeb> you germans and your crazy moon-man lingo 2013-01-22T23:01:07 <+Steffanx> /join 2013-01-22T23:01:14 <+Steffanx> ##stm32-DE 2013-01-22T23:01:14 < Erlkoenig> RunTime Type Information 2013-01-22T23:01:39 < Tectu> that's something bad? 2013-01-22T23:01:48 < Erlkoenig> no, but probably overkill on an µC 2013-01-22T23:01:57 < Tectu> I see 2013-01-22T23:02:20 < Erlkoenig> ah and call __libc_init_array before calling main() to call global constructors 2013-01-22T23:02:33 -!- Ranewen [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has quit [Ping timeout: 245 seconds] 2013-01-22T23:02:34 < Tectu> so what lib do you use? 2013-01-22T23:02:51 < Erlkoenig> none, just the StdPeriph C library 2013-01-22T23:03:12 <+Steffanx> Hows the sub Erlkoenig ? 2013-01-22T23:03:18 < Erlkoenig> hmm in the works 2013-01-22T23:03:23 < Tectu> Erlkoenig, no stdperiph lib of STM? 2013-01-22T23:03:28 < Tectu> ah, that's C only, right? 2013-01-22T23:03:35 < Erlkoenig> currently trying to find out whether german law allows building your own transmitters... 2013-01-22T23:03:50 < emeb> if you want a c++ lib, checkout zyp's laks 2013-01-22T23:03:51 < Erlkoenig> Tectu: yes ST's StdPeriph library, and you can of course also use it from C++ ;-) 2013-01-22T23:03:55 < Tectu> Erlkoenig, it does, you're just not allowed to power 'em up 2013-01-22T23:04:18 <+Steffanx> hmpf 2013-01-22T23:04:23 < Erlkoenig> i know. and if you have a ham radio license? 2013-01-22T23:04:35 < Tectu> Erlkoenig, sorry, only informed about CH 2013-01-22T23:04:48 < emeb> isn't there a low-power exception? 2013-01-22T23:04:57 < Erlkoenig> it's too low-power (nanowatts) 2013-01-22T23:04:57 < Tectu> emeb, it's more a frequency exception 2013-01-22T23:05:02 < emeb> bummer 2013-01-22T23:05:03 <+Steffanx> You have to get some license here in dutchland 2013-01-22T23:05:06 < Tectu> Erlkoenig, what frequency? 2013-01-22T23:05:12 < emeb> that's crazy low power 2013-01-22T23:05:17 < Erlkoenig> 1MHz < f < 30 MHz or something 2013-01-22T23:05:21 -!- fxd0h_ [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-22T23:05:28 < Tectu> Erlkoenig, honestly, wouldn't care :D 2013-01-22T23:05:28 <+Steffanx> and it's probably so EU regulation, so i guess you need one too Erlkoenig :) 2013-01-22T23:05:38 <+Steffanx> or werent you from germany? 2013-01-22T23:05:40 < emeb> how hard is it to get a ham lic? 2013-01-22T23:05:41 < Tectu> yes, or get out of that damn EU ;) 2013-01-22T23:05:44 * emeb has one 2013-01-22T23:05:48 < Erlkoenig> yes germany ^^ 2013-01-22T23:06:00 < Erlkoenig> i just sent a mail to the regulation office (BNetzA) asking whether i can build my own transmitter... 2013-01-22T23:06:24 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-22T23:06:29 < Erlkoenig> provided i have a hamradio license 2013-01-22T23:06:57 < Erlkoenig> emeb: probably like the theoretical part of getting a drivers license... where are you? 2013-01-22T23:07:11 < emeb> US 2013-01-22T23:07:20 < Erlkoenig> meh, to far :D 2013-01-22T23:07:24 < Erlkoenig> *too 2013-01-22T23:07:34 < emeb> These days don't even need morse any more. 2013-01-22T23:07:53 < Erlkoenig> yes... i'd build a morse de/en coder for a CW frequency just because. ^^ 2013-01-22T23:08:08 < Tectu> de/en? o0 2013-01-22T23:08:10 < emeb> but that won't get you through the test 2013-01-22T23:08:22 < Tectu> emeb, he already has the license 2013-01-22T23:08:26 < Erlkoenig> noo 2013-01-22T23:08:27 < Erlkoenig> not yet 2013-01-22T23:08:45 < Erlkoenig> i'd take the test if they answer that i am allowed to build my own radio remote control 2013-01-22T23:08:53 < Tectu> aaaaaaah 2013-01-22T23:08:55 < Tectu> sorry >.< 2013-01-22T23:08:58 < emeb> build it into a hearing aid. 2013-01-22T23:09:15 < emeb> -. -> "a" 2013-01-22T23:09:15 < Erlkoenig> what? :D 2013-01-22T23:10:17 -!- jef79m is now known as jef79m_lurking 2013-01-22T23:11:17 -!- barthess [~barthess@178.154.84.142] has quit [Quit: Leaving.] 2013-01-22T23:13:26 < Tectu> http://img.pr0gramm.com/2013/01/1358884727682.jpg 2013-01-22T23:13:29 < Tectu> there you see! 2013-01-22T23:14:14 < Erlkoenig> w.t.f 2013-01-22T23:16:28 < Tectu> don't laugh man, it's serious yah 2013-01-22T23:17:19 < Erlkoenig> seriously retarded 2013-01-22T23:17:44 < emeb> kids these days. 2013-01-22T23:18:43 < mervaka> someone really hatse their dad. 2013-01-22T23:18:47 < mervaka> hates* 2013-01-22T23:21:24 < Tectu> mervaka, so go and do it better 2013-01-22T23:22:23 -!- fxd0h [~fx@186.18.172.240] has quit [Quit: fxd0h] 2013-01-22T23:29:20 -!- jef79m_lurking is now known as jef79m 2013-01-22T23:35:39 < mervaka> hmm 2013-01-22T23:35:58 < mervaka> doing that PWM duty cycle thing. it's getting a lot bigger! 2013-01-22T23:36:43 -!- Ranewen [~Ranewen4@87.252.128.137] has joined ##stm32 2013-01-22T23:36:54 < mervaka> gone from 2% to 11% 2013-01-22T23:37:02 < mervaka> and i haven't performed a single filter yet! 2013-01-22T23:37:14 < Ranewen> hey, im back.... any news about the arm m books? 2013-01-22T23:37:23 < mervaka> and this is just for one I2S input peripheral. 2013-01-22T23:38:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-22T23:39:49 -!- jef79m is now known as jef79m_lurking 2013-01-22T23:45:11 < emeb> w00t - F303 breakout boards in da house. 2013-01-22T23:47:12 < emeb> mervaka: what have you added to the audio processing? 2013-01-22T23:47:23 < mervaka> matrix summation 2013-01-22T23:47:47 < mervaka> i'm about to spread everything across four ISRs now! 2013-01-22T23:47:51 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:e0e7:9dd1:8c1e:c771] has joined ##stm32 2013-01-22T23:48:07 < emeb> four? 2013-01-22T23:48:08 < mervaka> and of course will give the input ISRs priority, so they process first 2013-01-22T23:48:14 < mervaka> two input, two output 2013-01-22T23:48:23 < emeb> what do the outputs do? 2013-01-22T23:48:39 < mervaka> inputs will do trim and eventually filtering 2013-01-22T23:48:52 < mervaka> outputs will do matrix summation and master trim 2013-01-22T23:48:58 < emeb> why split it up? 2013-01-22T23:49:19 < mervaka> so that each ISR handles its own peripheral 2013-01-22T23:49:25 < mervaka> or is that pointless? 2013-01-22T23:49:27 < emeb> you know that input & output are always in sync 2013-01-22T23:49:36 < mervaka> mmk 2013-01-22T23:50:07 < emeb> for that matter, I2S2 and I2S3 are probably also in sync 2013-01-22T23:50:34 < emeb> (if you're doing the setup/enable right) 2013-01-22T23:50:40 < mervaka> ya 2013-01-22T23:50:57 < emeb> and fewer ISRs means less setup/teardown overhead 2013-01-22T23:51:02 < mervaka> true 2013-01-22T23:51:06 < emeb> more cpu cycles for your real code 2013-01-22T23:51:16 < zyp> Ranewen, ah, sorry, I got distracted 2013-01-22T23:54:06 -!- Ranewen2 [~Ranewen4@87.252.128.216] has joined ##stm32 2013-01-22T23:54:25 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-22T23:55:06 < zyp> http://www.amazon.com/dp/185617963X/ <- I think this is supposed to be good, but keep in mind that it focuses on the cortex-m3 architecture and goes pretty deep into that, which may not be what you are interested in 2013-01-22T23:55:47 -!- Ranewen [~Ranewen4@87.252.128.137] has quit [Ping timeout: 248 seconds] 2013-01-22T23:55:50 < Ranewen2> zyp 2013-01-22T23:55:50 < zyp> and since it's on the cortex core itself, it doesn't cover all the vendor specific peripherals 2013-01-22T23:56:12 < Ranewen2> so all vendors have some specific stuff... 2013-01-22T23:56:28 < Ranewen2> but what difference is between m0 - m4 2013-01-22T23:56:32 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:e0e7:9dd1:8c1e:c771] has quit [Remote host closed the connection] 2013-01-22T23:56:56 < zyp> imagine a computer, since that is what this is 2013-01-22T23:57:10 < zyp> the cortex-m core is the cpu 2013-01-22T23:58:05 < zyp> all the vendor specific periperals are like network cards and graphic cards and stuff on the motherboard that you plug the cpu into, that pc vendors like dell and hp combine an intel cpu with 2013-01-22T23:58:55 < zyp> just like different computers come with different cards requiring different drivers, different vendors' mcus come with different peripherals that require different driver code 2013-01-22T23:58:57 < Ranewen2> listening 2013-01-22T23:59:57 < zyp> the differences between m0-m4 is mostly in cost and performance --- Day changed Wed Jan 23 2013 2013-01-23T00:00:08 < zyp> comparable to the differences between a celeron and a xeon ;) 2013-01-23T00:00:32 < Thorn> http://www.youtube.com/watch?v=qIYZiTqenJs 2013-01-23T00:05:31 < Ranewen2> zyp, these F4 dev boards got free shipping ? 2013-01-23T00:06:17 < mervaka> depends on the vendor? 2013-01-23T00:06:40 < mervaka> do you do liver? :P 2013-01-23T00:06:55 < mervaka> hmm. NVIC. what's the idea behind priority groups? 2013-01-23T00:07:39 < mervaka> oh i see, stacking simultaneous priorities. 2013-01-23T00:08:29 < emeb> Thorn: yay - now anything over a battlefield that looks like a bird will be taken out on sight. 2013-01-23T00:08:51 < Erlkoenig> interrupts in a higher priority group take precedence, while interrupts in the same priority group don't 2013-01-23T00:09:29 < Ranewen2> should i go for stm32 f4 dev boards (price, peripherials ?) 2013-01-23T00:09:49 < mervaka> Ranewen2: you tell us. I like it. 2013-01-23T00:10:00 < Thorn> they're suggesting shotguns fir air defense in comments 2013-01-23T00:10:08 < mervaka> though there are things i;d change for my particular application. 2013-01-23T00:10:31 < Ranewen2> i dont even know the half of the vendors :) 2013-01-23T00:10:47 < Thorn> channel topic -> wiki -> list on main page 2013-01-23T00:10:58 < Thorn> (assuming it's online) 2013-01-23T00:11:48 < Ranewen2> .ro =romanian? 2013-01-23T00:13:24 < mervaka> http://uk.farnell.com/stmicroelectronics/stm32f4discovery/stm32f407-usb-otg-discovery-kit/dp/2009276 2013-01-23T00:13:27 < mervaka> boom 2013-01-23T00:14:08 < emeb> can't go wrong with that price 2013-01-23T00:14:09 < mervaka> http://www.alibaba.com/product-gs/724810474/STM32F4DISCOVERY_STM32F4_DISCOVERY_STM32F407_Cortex_M4.html 2013-01-23T00:14:12 < mervaka> if you're feeling dodgy 2013-01-23T00:16:28 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-23T00:16:38 < Ranewen2> only real problem is the shipping 2013-01-23T00:21:43 < karlp> going to have to suck it up at some point :) 2013-01-23T00:21:50 < karlp> can't download hardware 2013-01-23T00:22:43 < Ranewen2> perhaps il get cheaper shipping on official site 2013-01-23T00:23:06 < karlp> where do yo ulive? 2013-01-23T00:23:09 < Ranewen2> or try to combine my shipping with sombody that i used to know 2013-01-23T00:23:13 < Ranewen2> croatia. 2013-01-23T00:23:44 < mervaka> look for an element14 based company. i think they'll be your best bet. 2013-01-23T00:23:52 < mervaka> so farnell, cpc, newark etc 2013-01-23T00:24:00 < mervaka> onecall if you're academia 2013-01-23T00:24:23 < Ranewen2> i did some "practical work" in a company near me... 2013-01-23T00:24:31 < Ranewen2> that uses farnell alot 2013-01-23T00:25:27 < Ranewen2> maybe i pay no shipping :) 2013-01-23T00:26:01 < Ranewen2> tell me how do you handle with level conversion to TTL ? 2013-01-23T00:26:02 < mervaka> give it a go! 2013-01-23T00:26:10 < mervaka> Ranewen2: Tx or Rx? 2013-01-23T00:26:17 < mervaka> i assume you mean Tx 2013-01-23T00:26:36 < zyp> Ranewen2, what are you going to interface with? 2013-01-23T00:26:38 < mervaka> i'm using an open drain pin pulled up to 5v 2013-01-23T00:27:05 < zyp> pretty much any modern stuff runs at 3.3V (excluding even more modern 1.8V stuff) 2013-01-23T00:27:40 < Ranewen2> i got lots of TTL based hardware like shift regs 2013-01-23T00:28:00 < zyp> you could throw them away and get 3.3V shift regs :p 2013-01-23T00:28:24 < Ranewen2> sure 2013-01-23T00:28:26 < zyp> (or check whether the ones you already have might work at 3.3V, some do) 2013-01-23T00:28:32 < mervaka> Ranewen2: use OD if you must use them. 2013-01-23T00:28:32 < Ranewen2> nap 2013-01-23T00:28:38 < mervaka> and Rx is 5v tolerant 2013-01-23T00:30:39 < Ranewen2> how you deal with TX? 2013-01-23T00:32:44 < zyp> isn't V_IH pretty low for TTL? 2013-01-23T00:32:59 < zyp> IIRC 3.3V would register as high on 5V TTL 2013-01-23T00:33:12 < zyp> so you can probably just hook it up directly 2013-01-23T00:33:37 < mervaka> zyp: got websvn working now :) 2013-01-23T00:33:49 < zyp> ok 2013-01-23T00:33:55 < zyp> but it's still svn :D 2013-01-23T00:34:01 < mervaka> i knew that was cominng. 2013-01-23T00:34:14 < mervaka> :p 2013-01-23T00:34:15 < zyp> you were asking for it ;) 2013-01-23T00:34:28 < mervaka> :p 2013-01-23T00:34:38 < zyp> oh well, it's you that have to use it 2013-01-23T00:43:35 < emeb> zyp: yeah, for standard TTL logic anything > 2.4V is considered '1' 2013-01-23T00:44:13 < zyp> wanna bet on whether his «TTL» is standard TTL or not then? :) 2013-01-23T00:44:37 < emeb> "the nice thing about standards is that there are so many of them" 2013-01-23T00:46:57 < Ranewen2> i thought that 2.4V is not allowed zone, i guess i need to read the specs 2013-01-23T00:49:30 < emeb> Some newer families actually allow down to 2.0V for Vih 2013-01-23T00:50:34 < Ranewen2> so 2013-01-23T00:50:45 < Ranewen2> i dont need any external components for tx rx 2013-01-23T00:50:46 < Ranewen2> nice 2013-01-23T00:59:50 < Ranewen2> good night gentleman, thanks for help 2013-01-23T00:59:54 -!- Ranewen2 [~Ranewen4@87.252.128.216] has quit [Quit: Leaving] 2013-01-23T01:02:27 -!- DaKu is now known as daku 2013-01-23T01:13:41 -!- jef79m_lurking is now known as jef79m 2013-01-23T01:18:13 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-23T01:23:06 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-23T01:24:05 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-23T01:25:43 -!- Erlkoenig [~erlkoenig@pptp-194-94-199-134.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-23T01:29:29 -!- dirty_d [~andrew@209-213-71-70.meganet.net] has quit [Disconnected by services] 2013-01-23T01:29:45 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-23T01:32:38 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-23T01:33:37 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-23T01:34:59 < dirty_d> i got my stm32f3 discovery 2013-01-23T01:35:08 < dirty_d> its flashing pretty leds 2013-01-23T01:35:26 < mervaka> cool 2013-01-23T01:40:30 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-23T01:40:54 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-23T01:41:39 -!- manuel [~manuel@pD9FDF790.dip.t-dialin.net] has quit [Quit: Lost terminal] 2013-01-23T01:42:13 -!- Laurenceb_ [~Laurence@host86-168-104-160.range86-168.btcentralplus.com] has joined ##stm32 2013-01-23T01:44:15 < dirty_d> hmm 2013-01-23T01:44:34 < dirty_d> the register description for RCC->AHBENR is confusing 2013-01-23T01:44:36 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-23T01:45:25 < dirty_d> why is rw missing from IOPEEN 2013-01-23T01:46:29 < karlp> rw? 2013-01-23T01:46:38 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-23T01:47:11 < karlp> are you talking about the reference manual for a part? or some version of st's stdperipflib or somethign else? 2013-01-23T01:48:04 < dirty_d> the reference manual for the part 2013-01-23T01:49:23 < karlp> is this f3? 2013-01-23T01:49:28 < dirty_d> yes sir 2013-01-23T01:49:31 < karlp> probably just typos, it's still in early days 2013-01-23T01:49:55 < dirty_d> also, I'm assuming there is a header somewhere with defines that i can use instead of doing this: RCC->AHBENR |= 1 << 21; 2013-01-23T01:50:18 < dirty_d> something like RCC->AHBENR |= PORTE_ENABLE 2013-01-23T01:50:46 < dirty_d> I'm only including stm32f30x.h now 2013-01-23T01:52:59 < dirty_d> oh nevermind, its RCC_AHBENR_GPIOEEN in that file 2013-01-23T01:59:57 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: …..] 2013-01-23T02:00:20 < dirty_d> hmm, why is GPIO_MODER_MODER0 defined as 3? 2013-01-23T02:01:37 < dirty_d> i would expect it to be 0, and you would use it like GPIOE->MODER |= (01b << GPIO_MODER_MODER0) | (01b << GPIO_MODER_MODER13); etc 2013-01-23T02:01:53 < dirty_d> 0b01 i mean 2013-01-23T02:09:14 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-23T02:23:06 -!- Laurenceb_ [~Laurence@host86-168-104-160.range86-168.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-01-23T02:24:35 -!- timemob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 248 seconds] 2013-01-23T02:27:37 < dirty_d> now i just gotta flash this SOB 2013-01-23T02:48:43 < dirty_d> holy shit, it actually works first try 2013-01-23T02:51:32 < dongs> definite lack of bloggery 2013-01-23T02:52:12 < dirty_d> i have no idea what im doing 2013-01-23T02:52:15 < dirty_d> lol 2013-01-23T02:52:34 < dirty_d> google is failing me 2013-01-23T03:02:59 -!- Posterdati [~antani@host201-213-dynamic.11-87-r.retail.telecomitalia.it] has quit [Ping timeout: 248 seconds] 2013-01-23T03:08:18 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-23T03:10:53 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 240 seconds] 2013-01-23T03:15:49 -!- Posterdati [~antani@host107-26-dynamic.59-82-r.retail.telecomitalia.it] has joined ##stm32 2013-01-23T03:27:56 < emeb> time for a little soldering 2013-01-23T03:35:48 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Ping timeout: 248 seconds] 2013-01-23T03:36:33 < mervaka> :> 2013-01-23T03:36:34 < mervaka> well 2013-01-23T03:36:42 < mervaka> time for sleep here. 2013-01-23T03:37:25 < mervaka> tried using the stopwatch to monitor efficiency of the DSP procedure. bad move. 2013-01-23T03:37:28 < mervaka> talks shit. 2013-01-23T03:39:21 < emeb> heh 2013-01-23T03:39:40 < mervaka> i guess L3 optimisation and speed optimisation make it so. 2013-01-23T03:39:47 < emeb> any luck on your buffer corruption 2013-01-23T03:39:50 < emeb> ? 2013-01-23T03:39:51 < mervaka> nah 2013-01-23T03:40:03 < mervaka> latest code is committed though 2013-01-23T03:41:05 < mervaka> slightly different buffer organisation and a new method to swap halfwords, using intrinsics. 2013-01-23T03:41:18 < mervaka> using rev then rev16 2013-01-23T03:42:08 < mervaka> duty cycle currently 30.4% 2013-01-23T03:42:28 < emeb> what did you add? 2013-01-23T03:42:36 < emeb> besides matrix sum 2013-01-23T03:42:42 < mervaka> nothing 2013-01-23T03:42:55 < mervaka> just the summation points 2013-01-23T03:43:16 < emeb> so that's with 4 channels of 96k/24b 2013-01-23T03:43:29 < mervaka> 48k 2013-01-23T03:43:34 < emeb> hmm. 2013-01-23T03:43:41 < emeb> sounds high 2013-01-23T03:43:44 < mervaka> yeah 2013-01-23T03:43:59 < mervaka> i'll investigate tomorrow 2013-01-23T03:44:02 < emeb> didn't you say it was like 2% w/o the math? 2013-01-23T03:44:07 < mervaka> yep 2013-01-23T03:44:20 < emeb> that needs closer inspection. 2013-01-23T03:44:24 < mervaka> yeah 2013-01-23T03:44:30 < mervaka> i'll drop them in one at a time 2013-01-23T03:44:41 < emeb> I didn't hit 30% until I threw a 128pt real FFT at it :) 2013-01-23T03:44:47 < mervaka> lol 2013-01-23T03:45:17 < mervaka> i've upped the serial data rate to the preamps too 2013-01-23T03:45:22 < mervaka> 5MHz now 2013-01-23T03:45:25 < mervaka> much quicker 2013-01-23T03:45:29 < emeb> spi? 2013-01-23T03:45:32 < mervaka> yeah 2013-01-23T03:45:41 < mervaka> but spi spi, not i2s spi :P 2013-01-23T03:45:52 < emeb> get any clock noise in the audio when you talk to them? 2013-01-23T03:46:03 < mervaka> i did, but fixed that. 2013-01-23T03:46:12 < emeb> how? 2013-01-23T03:46:20 < mervaka> the audio ISR now drops a flag 2013-01-23T03:46:26 < mervaka> and the mainloop waits for it 2013-01-23T03:47:03 < emeb> so it was ISRs interfering? 2013-01-23T03:47:10 < emeb> not electrical noise on the board? 2013-01-23T03:47:17 < mervaka> not that i know of 2013-01-23T03:47:24 < emeb> interesting 2013-01-23T03:47:26 < mervaka> massive ground plane top and bottom 2013-01-23T03:47:34 < emeb> good 2013-01-23T03:47:49 < mervaka> one thing i might try is making the data pins to ADC and DAC high Z 2013-01-23T03:47:56 < mervaka> then sticking a screwdriver between them 2013-01-23T03:48:08 < mervaka> see if shit moves over 2013-01-23T03:48:58 < emeb> oh - keep the STM from driving the codec, then loopback w/ short? 2013-01-23T03:49:09 < mervaka> ya 2013-01-23T03:49:26 < emeb> I predict that will work as it should... 2013-01-23T03:49:51 < emeb> and will only confirm that the problem is inside the STM 2013-01-23T03:50:17 < mervaka> same 2013-01-23T03:51:29 < dongs> https://youtube.com/watch?v=0ly4nH-idAc 2013-01-23T03:55:28 < mervaka> yep, flawless audio. 2013-01-23T03:55:33 < mervaka> so so flawless. 2013-01-23T03:56:03 < emeb> dongs: wtf? 2013-01-23T04:01:19 < mervaka> right, bedtime 2013-01-23T04:01:24 < mervaka> nn 2013-01-23T04:07:00 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Ping timeout: 260 seconds] 2013-01-23T04:10:43 < BJFreeman> so which of the STM32 would be good for a webserver for parameter passing to a target Uc 2013-01-23T04:11:47 < BJFreeman> it would have an ethernet, and 5 pins using SPI 2013-01-23T04:12:58 < BJFreeman> I am thinking the STM32F4 with auxilary 256KB of sram 2013-01-23T04:16:42 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-01-23T04:18:22 < GargantuaSauce> i doubt you even need that much power 2013-01-23T04:20:32 < emeb> right - what would the extra sram do for you? 2013-01-23T04:26:53 < BJFreeman> not sure 192KB of ram is enough to parse pages and store parameters to be used by the target Uc 2013-01-23T04:27:27 < BJFreeman> will be downloading large files to store on SD 2013-01-23T04:30:16 < emeb> might be interesting to prototype the web access side of it on a PC first to get a feel for how complex it will be. 2013-01-23T04:34:42 < BJFreeman> yes looking at some tiny webserver implementations that are standalone 2013-01-23T04:37:21 < BJFreeman> the only parsing will be form fields 2013-01-23T04:38:40 -!- BJFreeman [~bjfree@17.sub-75-244-174.myvzw.com] has quit [Quit: had a good time] 2013-01-23T04:42:08 < dirty_d> can someone take a look at this and see if they notice something wrong, its pretty simple 2013-01-23T04:42:52 < dirty_d> only the PWM part on PE9 isnt working, http://pastebin.com/XG6HyVy9 2013-01-23T04:45:50 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-23T05:00:56 < dongs> whats the diff between SN65HVD230DR and SN65HVD232D 2013-01-23T05:01:16 < dongs> argh, it has that vref shit 2013-01-23T05:20:51 < gxti> dirty_d: you didn't enable clock to tim1, or afio (not sure if f3 needs that) 2013-01-23T05:21:23 < gxti> dirty_d: err, you do, but only after configuring it 2013-01-23T05:21:30 < dirty_d> RCC->APB2ENR |= RCC_APB2ENR_TIM1EN; 2013-01-23T05:21:36 < dirty_d> isnt that what enables it? 2013-01-23T05:21:39 < dirty_d> its the first thing i do 2013-01-23T05:21:57 < gxti> not in your paste it isn't 2013-01-23T05:22:33 < dirty_d> maybe i changed something 2013-01-23T05:22:35 < dirty_d> 1 sedc 2013-01-23T05:23:02 < dirty_d> gxti, http://pastebin.com/1D6Tbf3H 2013-01-23T05:32:04 < dirty_d> i dunno 2013-01-23T05:32:16 < dirty_d> time to sleep, I'll figure it out tomorrow 2013-01-23T05:33:30 < dongs> why you hate stdperiphlib so much 2013-01-23T05:39:40 < zippe1> dongs: because it's utter crap? 2013-01-23T05:39:50 < dongs> pfft 2013-01-23T05:40:05 < dongs> unlike some other opensauce stuff, it bulids with more than just gcc :) 2013-01-23T05:40:30 < zippe1> dongs: I can shove catfood into more than just my mouth, but that doesn't make it a better meal 2013-01-23T05:40:59 < dongs> not sure what the analogy is here 2013-01-23T05:43:39 < zippe1> "i can compile it with more than one compiler" says nothing about whether it's actually any good or not 2013-01-23T05:48:11 < gxti> ok, so why is it utter crap? 2013-01-23T05:48:27 < zippe1> Oh god, here we go again. 2013-01-23T05:48:36 < zippe1> Firstly; it doesn't *do* anything. 2013-01-23T05:48:48 < zippe1> It doesn't offer any meaningful abstraction from the hardware. 2013-01-23T05:48:55 < zippe1> A good example would be the RCC interface 2013-01-23T05:49:09 < zippe1> Why do I need to know which of the RCC registers controls the clock for the peripheral I want to turn on? 2013-01-23T05:49:29 < zippe1> A useful API would be "turn on all the clocks that USART1 needs" 2013-01-23T05:49:53 < gxti> insufficient purpose does not 'crap' make 2013-01-23T05:49:54 < zippe1> Instead we have "set a bit in a register" as an API 2013-01-23T05:50:32 < zippe1> Unsuitability for the advertised purpose is indeed grounds for the accusation 2013-01-23T05:50:49 < zippe1> See e.g. Herbalife 2013-01-23T05:51:02 < gxti> ok, now software = pyramid scheme 2013-01-23T05:51:04 < gxti> got it 2013-01-23T05:51:28 < gxti> i learned a lot today thank you 2013-01-23T05:51:33 < zippe1> Ok, other reasons. 2013-01-23T05:51:36 < zippe1> Bugs; many of. 2013-01-23T05:51:47 < zippe1> Bad internal architecture (see e.g. their I2C HAL model) 2013-01-23T05:51:56 < zippe1> Terrible documentation. 2013-01-23T05:52:16 < zippe1> Bad example code. 2013-01-23T05:52:29 < zippe1> Complete disregard for CMSIS 2013-01-23T05:53:31 -!- blocky [~blocky@96.54.184.252] has quit [] 2013-01-23T06:11:32 < dongs> however, here's some counter arguments 2013-01-23T06:11:35 < dongs> 1) it works 2013-01-23T06:12:19 < dongs> 2) things have meaningful names, i.e. RCC_EnableCLock(blahblah); vs shit like YHBTENR |= RCC_AHB2_TIM_EN_BLAH; 2013-01-23T06:12:37 < dongs> 3) it builds with more than just gcc 2013-01-23T06:12:51 < dongs> ohhh, and and 2013-01-23T06:13:08 < dongs> 4) the interrupt names are not fuckign renamed 2013-01-23T06:24:08 < emeb> StdPeriph is great for getting stuff running quickly. 2013-01-23T06:24:28 < emeb> then if you need to optimize, replace the StdPeriph calls with direct reg writes. 2013-01-23T06:39:55 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-23T06:43:44 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-23T06:46:34 < dongs> ha ha, http://item.taobao.com/item.htm?id=19943724706 vs http://buildyourcnc.com/PickandPlaceMachineTheredFrog.aspx what would you get. 2013-01-23T06:55:21 < dongs> well where the fuck are the chats 2013-01-23T07:07:24 < emeb> chat chattety chat chat... 2013-01-23T07:07:41 < emeb> w00t f303 breakout shows up as USB DFU. Surprise... not 2013-01-23T07:08:45 < ds2> for linking purposes, should one use 0x0800 0000 or 0x0000 0000? 2013-01-23T07:10:17 < emeb> all my linker scripts use 0x08000000 2013-01-23T07:11:43 < ds2> can I jsut change that number to RAM and expect it to run from RAM? 2013-01-23T07:12:38 < emeb> well, you need to somehow get the reset vector to point to the start of RAM 2013-01-23T07:12:48 < ds2> oh 2013-01-23T07:12:49 < dongs> yea theres some nvic shit 2013-01-23T07:12:51 < dongs> to move vectors 2013-01-23T07:12:59 < dongs> you can look at some sample SystemInit() in CMSIS code 2013-01-23T07:13:03 < dongs> its a couple register changes 2013-01-23T07:13:20 < dongs> but i think if you boot from flash 2013-01-23T07:13:23 < dongs> it gets mapped to 000 2013-01-23T07:13:23 < ds2> I'll just use flash then... mucking with blinky 2013-01-23T07:13:46 < dongs> < emeb> w00t f303 breakout shows up as USB DFU. Surprise... not 2013-01-23T07:13:54 < dongs> as surprising as AN2606 not getting updataed 2013-01-23T07:14:03 < ds2> then why do the link maps use 0x0800 0000? 2013-01-23T07:14:08 < dongs> i duno 2013-01-23T07:14:22 < dongs> i use GUI 2013-01-23T07:14:54 < ds2> ok 2013-01-23T07:17:49 < emeb> dongs: you don't want a plywood PnP machine? 2013-01-23T07:18:08 < ds2> who has a plywood PnP machine design? 2013-01-23T07:18:17 < emeb> http://buildyourcnc.com/PickandPlaceMachineTheredFrog.aspx 2013-01-23T07:19:00 < dongs> that thing is utterly fucking useless. 2013-01-23T07:19:08 < dongs> the chinese one owns it nonstop 2013-01-23T07:19:16 < dongs> and since they both lack vision, they both suck for anything serious 2013-01-23T07:19:23 < dongs> but the wood one is just terrible 2013-01-23T07:19:25 < ds2> no vision? blah 2013-01-23T07:19:26 < emeb> wonder how accurate it could possibly be 2013-01-23T07:19:41 < ds2> might as well put a vacumm head on a CNC machine then 2013-01-23T07:19:42 < emeb> whoops - humidity just went up and all the dimensions changed 2013-01-23T07:21:08 -!- jef79m is now known as jef79m_lurking 2013-01-23T07:21:33 < ds2> I suppose if you are using 1206 and SOT-23 stuff... 2013-01-23T07:21:45 < emeb> dongs: looks like the price of the chinese one is about $800 higher 2013-01-23T07:22:16 < dongs> yeah for TWO pickup heads, and alu construction 2013-01-23T07:22:22 < emeb> yep 2013-01-23T07:23:08 < emeb> but without vision it's basically open loop, right? 2013-01-23T07:23:14 < baird> I had a dream about dongs this morning. I showed up at his place unannounced (which was a converted train cabin..) and pissed him off by wanting to stay. :D 2013-01-23T07:23:43 < ds2> you could add a webcam 2013-01-23T07:23:46 < emeb> you should seek professional help 2013-01-23T07:24:12 < ds2> and use openCV... or add a kinect ;) 2013-01-23T07:24:51 < emeb> video of the CH on is impressive though - sucker doesn't lag around. 2013-01-23T07:25:09 < emeb> unless they undercranked the camera :P 2013-01-23T07:34:19 < dongs> hm? 2013-01-23T07:34:26 < dongs> http://vimeo.com/56804235 this is the cn board assembling 2013-01-23T07:34:55 < ds2> I suppose you could use a webcam to locate a mark, adjust it, then interpolate the rest 2013-01-23T07:35:08 < dongs> nah 2013-01-23T07:35:12 < dongs> you need realtime vision at pickup 2013-01-23T07:35:15 < dongs> to align the component 2013-01-23T07:35:26 < dongs> the way my machine does it, is it has a sideview cam 2013-01-23T07:35:33 < dongs> that then rotates the part 2 times to get x/y dimensions 2013-01-23T07:35:38 < ds2> ah 2013-01-23T07:35:39 < dongs> and angle offset during pickup, if any 2013-01-23T07:35:53 < dongs> then it knows exactly how its oriented related to pickup point 2013-01-23T07:36:15 < dongs> of course, you need mark/alignment on board, too, but thats not the only thing to make it accurate 2013-01-23T07:36:27 < ds2> aren't the tape carriers accurate enough? 2013-01-23T07:36:31 < dongs> because almost never youre picking up part exactly square and without any kinda offset 2013-01-23T07:36:35 < dongs> nope 2013-01-23T07:36:50 < dongs> even 0603 tapes, you can easily pickup +- few degree off-center 2013-01-23T07:36:55 < dongs> and shit like SOT23, etc 2013-01-23T07:36:58 < ds2> oh... good to know. was going to do a test that idea out 2013-01-23T07:37:34 < emeb> I'd bet the tapes for stuff like qfp parts are really sloppy. 2013-01-23T07:41:04 < dongs> at least 1mm of clearance around pns yeah 2013-01-23T07:41:09 < dongs> so tehy kinda rattle in there 2013-01-23T07:41:24 < emeb> not nearly accurate enough for 0.5mm pitch. 2013-01-23T07:41:26 < dongs> so if you pick it up and you dont have vision, you're gonna be already +- 1mm on placement 2013-01-23T07:42:09 -!- ReggieUK [ReggieUK@90.202.86.231] has quit [] 2013-01-23T07:42:24 < ds2> what about sliding it out on a ramp and vibrating it to align it? 2013-01-23T07:42:48 < dongs> nah you still need vision to align 2013-01-23T07:43:20 < ds2> why's that? 2013-01-23T07:43:42 < ds2> I'd think vibrating it onto a corner of a box should get it aligned 2013-01-23T07:47:13 < emeb> huh - here's something strange. 2013-01-23T07:47:28 < emeb> comparing the startup files for the F303 and F373... 2013-01-23T07:47:51 < emeb> in the IRQ vectors, F303 has something called USBWakeUp_RMP_IRQHandler 2013-01-23T07:48:10 < emeb> but the equivalent vector in F373 is USBWakeUp_IRQHandler 2013-01-23T07:48:23 < emeb> wonder what RMP in the F303 signifies... 2013-01-23T07:49:19 < ds2> Royal Mounted Police? :D 2013-01-23T07:51:22 < emeb> I'll save you Nell! 2013-01-23T07:51:41 < emeb> remap? 2013-01-23T07:52:38 < ds2> RAM is at the same address on all the F1's, right? 2013-01-23T07:52:47 < ds2> just end at different according to size? 2013-01-23T07:53:02 < dongs> i think so 2013-01-23T07:53:36 < ds2> excellent, blinky should work if I change out the port for the LED 2013-01-23T07:53:48 < ds2> all ports come up muxed for GPIO, right? 2013-01-23T07:54:46 < emeb> yeah, but you still need to turn on clock & set to output. 2013-01-23T07:56:19 < ds2> enable clock == APB2ENR register? 2013-01-23T07:58:38 < dongs> http://i.imgur.com/ZjEMsw9.jpg farmville 2013-01-23T07:59:01 < dongs> you can look in the lage fxxx.h file 2013-01-23T07:59:04 < dongs> for all the rcc/etc stuff 2013-01-23T07:59:28 < ds2> no no... I am trying to digest blinky 2013-01-23T07:59:44 < dongs> which blinky? 2013-01-23T07:59:48 < ds2> they muck with that register so it would seem like that is the functional equiv of 'turning on clock' 2013-01-23T07:59:51 < dongs> keil or something? 2013-01-23T07:59:57 < ds2> no, this is for gcc 2013-01-23T08:00:10 < dongs> i forget if gpio is on apb2, if itis th en yeah 2013-01-23T08:01:04 < ds2> gotcha... the bigger ARMs do this slightly differntly 2013-01-23T08:02:09 * emeb is bringing up blinky on his F303 now too... 2013-01-23T08:10:21 < ds2> Hmmmm anyone know off hand what the least sign. bit means in a vector? I noticed they are all odd 2013-01-23T08:12:44 < emeb> isn't that related to thumb addressing or something? 2013-01-23T08:13:19 < ds2> but the M3/M4's are thumb only 2013-01-23T08:13:45 < jpa-> ds2: it signifies thumb mode 2013-01-23T08:14:03 < jpa-> it is necessary on M3/M4 also so that binary code can be compatible with processors that support also non-thumb 2013-01-23T08:14:27 < ds2> ah... so in the future, they can sell a -M99 that supports ARM32 and Thumb? 2013-01-23T08:15:05 < jpa-> yeah.. they have had that in the past (though not with thumb2 i think) 2013-01-23T08:15:35 < ds2> like the ARM7TDMI stuff? 2013-01-23T08:15:39 < jpa-> yeah 2013-01-23T08:16:22 < emeb> lol - opensores fail. 2013-01-23T08:16:28 < ds2> gotcha 2013-01-23T08:16:57 < emeb> geda schematic has net label on a wire coming out of a pin, but the label isn't attached to that wire 2013-01-23T08:17:05 < emeb> it's attached to the next wire over. 2013-01-23T08:17:23 < emeb> so my blinky LED is driven by PB8, not PB9. 2013-01-23T08:17:37 < emeb> no biggie, but hilarious. 2013-01-23T08:18:04 < emeb> esp since I didn't notice when laying it out... 2013-01-23T08:18:05 < emeb> derp 2013-01-23T08:21:56 < dongs> lol, geda 2013-01-23T08:22:10 < ds2> eagle baby! 2013-01-23T08:22:15 < ds2> LTspice interface 2013-01-23T08:23:28 -!- andrew_ [~andrew@209-213-71-70.meganet.net] has joined ##stm32 2013-01-23T08:26:12 -!- jef79m_lurking is now known as jef79m 2013-01-23T08:27:33 < emeb> F303 breakout -> http://i.imgur.com/wsf8UaV.jpg 2013-01-23T08:29:31 < emeb> zyp would be so proud - I used the proper values for the xtal loading caps this time. :) 2013-01-23T08:32:00 < ds2> emeb: you followed the app note to compute it? 2013-01-23T08:32:10 < emeb> yep 2013-01-23T08:33:05 < ds2> did you use a counter to see how close you got it? 2013-01-23T08:33:11 < emeb> not yet 2013-01-23T08:33:51 < ds2> u got an accurate counter? 2013-01-23T08:35:03 < emeb> Got an Agilent analyzer that may be good enough. 2013-01-23T08:36:07 < ds2> you don't wnat to verify it down to the PPM level? :D 2013-01-23T08:36:23 < emeb> well, if I did want to I'd be SOL wouldn't I? 2013-01-23T08:37:18 < ds2> heheheheh 2013-01-23T08:38:40 < emeb> analyzer says it's 100Hz off. 2013-01-23T08:39:39 < ds2> you can be off by more then 400Hz after multipling! :D 2013-01-23T08:39:39 < emeb> so about 12ppm? 2013-01-23T08:40:42 < emeb> and that's a 30ppm rated xtal 2013-01-23T08:40:46 < emeb> so not too bad. 2013-01-23T08:41:00 < ds2> but that 30ppm is over the full temp range, isn't it? 2013-01-23T08:41:10 < emeb> probably 2013-01-23T08:41:38 < ds2> I alwasy wondered if a TCXO really worked 2013-01-23T08:42:00 < emeb> actually, it's both! 30ppm accuracy @ 25C, 30ppm stability over temp 2013-01-23T08:42:27 < emeb> so theoretically 60ppm accuracy + stability worst case. 2013-01-23T08:43:31 < emeb> bbiab 2013-01-23T08:43:34 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-23T08:44:56 -!- claude is now known as Claude 2013-01-23T08:45:56 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-23T08:49:43 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has left ##stm32 ["Konversation terminated!"] 2013-01-23T08:50:59 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-23T08:53:27 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-23T09:14:19 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-23T09:14:46 -!- Claude is now known as claude 2013-01-23T09:16:32 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f0ed:6762:f6f:3dbf] has joined ##stm32 2013-01-23T09:27:56 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-23T09:28:30 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-23T09:32:12 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-23T09:32:34 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:f0ed:6762:f6f:3dbf] has quit [Remote host closed the connection] 2013-01-23T09:39:25 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-23T09:39:38 -!- jef79m is now known as jef79m_lurking 2013-01-23T09:42:03 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 256 seconds] 2013-01-23T09:53:33 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-23T09:57:05 -!- jef79m_lurking is now known as jef79m 2013-01-23T10:18:03 -!- jef79m is now known as jef79m_lurking 2013-01-23T10:19:53 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-23T10:42:09 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-23T10:43:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-23T10:46:25 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-23T10:49:20 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-01-23T10:54:26 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-23T11:03:42 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 264 seconds] 2013-01-23T11:05:46 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-23T11:11:40 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-23T11:12:33 -!- jef79m_lurking is now known as jef79m 2013-01-23T11:14:25 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 256 seconds] 2013-01-23T11:28:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-23T11:28:21 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-23T11:28:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-23T11:28:23 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-23T11:34:11 -!- jef79m is now known as jef79m_lurking 2013-01-23T11:34:55 -!- jef79m_lurking is now known as jef79m 2013-01-23T11:40:30 -!- _BJFreeman [~bjfree@125.sub-75-233-160.myvzw.com] has joined ##stm32 2013-01-23T11:41:10 -!- _BJFreeman is now known as BJFreeman 2013-01-23T11:44:00 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-23T11:55:41 -!- jef79m is now known as jef79m_lurking 2013-01-23T12:19:41 -!- jef79m_lurking is now known as jef79m 2013-01-23T12:21:36 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-23T12:24:24 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-01-23T12:24:42 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-23T12:24:45 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-23T12:33:04 < alexn> since yesterday i try to compile the STM32F4xx_StdPeriph_Driver with gcc. i would like to compile all example from ST with gcc. 2013-01-23T12:34:59 < alexn> i can compile a simple blink programm with the ST-LIB. 2013-01-23T12:36:56 < alexn> the reference Makefile is from karlp. ;-) 2013-01-23T12:40:37 < alexn> i mean this st lib: STM32F4xx_DSP_StdPeriph_Lib_V1.0.1 2013-01-23T12:41:43 < alexn> particularly the SDIO example. 2013-01-23T12:44:37 < jpa-> and there is some problem? 2013-01-23T12:47:25 -!- Laurenceb_ [~Laurence@host86-168-104-160.range86-168.btcentralplus.com] has joined ##stm32 2013-01-23T12:49:36 < dongs> yeah i was wondering waht the actual question was 2013-01-23T12:49:38 < dongs> seems like youre succeeding 2013-01-23T12:57:30 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c7b:8de1:7b06:30dd] has joined ##stm32 2013-01-23T12:59:15 < alexn> no. dongs. 2013-01-23T12:59:30 < alexn> my refernce is https://github.com/karlp/kkstm32_base.git 2013-01-23T13:01:26 < alexn> i copy my uSDCard Project from the STM32F4xx_DSP_StdPerip_Lib_V1.01 in example/stm32f4/Projects 2013-01-23T13:01:49 < alexn> then i copy from IO_Toggle the Makefile 2013-01-23T13:02:14 < alexn> and other files like 2013-01-23T13:03:31 -!- Laurenceb_ [~Laurence@host86-168-104-160.range86-168.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-23T13:03:56 -!- BJFreeman [~bjfree@125.sub-75-233-160.myvzw.com] has quit [Quit: had a good time] 2013-01-23T13:04:07 < alexn> startup_stm32f4xx.s, stm32f4_discovery_sdio_sd.c , stm32f4_discovery_sdio_sd.h 2013-01-23T13:04:24 < alexn> after make i get some include errors. 2013-01-23T13:06:42 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-23T13:17:15 < jpa-> so debug those errors 2013-01-23T13:21:34 < karlp> it's probably just paths, but note: I don't maintain that repo any more, and I never used the F4 part of it. 2013-01-23T13:21:54 < karlp> that repo is largely just the examples dir when it got split out of the texane/stlink directory 2013-01-23T13:28:25 < alexn> yes, you are right. there are path problems. 2013-01-23T13:39:27 < alexn> does i need special CMSIS files? 2013-01-23T13:39:54 < alexn> gor gcc 2013-01-23T13:39:59 < alexn> for gcc 2013-01-23T13:40:50 < alexn> i think the CMSIS files support gcc. or not? 2013-01-23T13:42:20 < alexn> i dont full understand the CMSIS. i know thats an layer to make it more comfortable to support different arm chips 2013-01-23T13:42:50 < alexn> and the ST lib use this layer. 2013-01-23T14:06:52 -!- jef79m is now known as jef79m_lurking 2013-01-23T14:09:06 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-23T14:20:45 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-23T14:35:49 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-23T14:37:42 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-23T14:41:08 < Laurenceb> http://uk.farnell.com/jsp/search/productdetail.jsp?SKU=2147355&MER=baynote-2147355-pr 2013-01-23T14:42:43 < dongs> ftdi are fucking sellouts 2013-01-23T14:45:58 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-23T14:47:40 < Laurenceb> troll link :P 2013-01-23T14:51:17 <+Steffanx> *trollink 2013-01-23T14:54:03 <+Steffanx> with russian accent of course 2013-01-23T14:58:51 < dongs> https://youtube.com/watch?v=uaqZoph265U 2013-01-23T14:58:58 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:c7b:8de1:7b06:30dd] has quit [Remote host closed the connection] 2013-01-23T14:59:37 <+Steffanx> Seriously .... 2013-01-23T14:59:53 < dongs> you better believe it. 2013-01-23T15:10:34 <+Steffanx> Like i have a choice 2013-01-23T15:15:54 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Quit: Leaving] 2013-01-23T15:20:41 < dongs> http://i.imgur.com/ZDqDZxp.png funtimes 2013-01-23T15:29:42 <+Steffanx> Fancy microstrip stuff or what? 2013-01-23T15:43:56 -!- andrew_ [~andrew@209-213-71-70.meganet.net] has quit [Quit: Leaving] 2013-01-23T16:16:38 -!- kerwood_wk [3fecd062@gateway/web/freenode/ip.63.236.208.98] has joined ##stm32 2013-01-23T16:20:30 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-23T16:24:36 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-23T16:25:12 < Laurenceb> http://www.youtube.com/watch?v=pkO2_LdgSas 2013-01-23T16:25:23 < Laurenceb> the island where baird goes cycling 2013-01-23T16:28:39 <+Steffanx> Oh lol dongs. That's for protection diodes i guess :P 2013-01-23T16:29:49 < emeb_mac> good morning trollinks 2013-01-23T16:30:46 <+Steffanx> Hi 2013-01-23T16:31:20 <+Steffanx> Laurenceb, you are so full pedo shit i almost think you ARE one 2013-01-23T16:31:26 <+Steffanx> *start to think 2013-01-23T16:32:22 < emeb_mac> looks like a quiet night. didn't miss much 2013-01-23T16:33:48 < emeb_mac> here you go: https://twitter.com/CubaDrive_Vinny/status/294062445503340544/photo/1 2013-01-23T16:35:17 <+Steffanx> killjoy: I'm too boring, so all i think when is see that: photoshop. 2013-01-23T16:37:14 < emeb_mac> probably. Or else it's somewhere that word's alternate meaning hasn't penetrated the culture. 2013-01-23T16:42:38 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-23T16:42:40 < dongs> Steffanx: ya 2013-01-23T16:42:54 < dongs> Steffanx: and I can go cheap and not include them 2013-01-23T16:42:58 < dongs> since the shit's kinda passthrough 2013-01-23T16:43:49 <+Steffanx> heh 2013-01-23T16:44:25 < emeb_mac> dongs: looks pretty good. 2013-01-23T16:44:45 < emeb_mac> what do those esd chips cost anyway? 2013-01-23T16:44:46 < dongs> stole design from another product w/hdmi on it 2013-01-23T16:44:49 < dongs> cheap 2013-01-23T16:44:52 < dongs> there's a ton of china clones 2013-01-23T16:44:59 < emeb_mac> but of course 2013-01-23T16:45:19 < dongs> TVU1240R1A we're using that one 2013-01-23T16:45:23 < dongs> in hdmithing 2013-01-23T16:47:20 < emeb_mac> hdmi and dp have compatible signalling levels? 2013-01-23T16:47:56 < dongs> duno about voltage, but they're differential pairs, dp just has more 2013-01-23T16:48:15 < dongs> shit, bedtime 2013-01-23T16:48:25 < gxti> nighty night 2013-01-23T16:49:31 <+Steffanx> You mean have fun with your: might knight 2013-01-23T16:49:34 <+Steffanx> *mighty 2013-01-23T16:50:11 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-23T16:58:21 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2013-01-23T17:02:16 -!- jef79m_lurking is now known as jef79m 2013-01-23T17:08:22 -!- jef79m is now known as jef79m_lurking 2013-01-23T17:33:46 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-252.pptp.stw-bonn.de] has joined ##stm32 2013-01-23T17:37:48 < Laurenceb> http://www2.b3ta.com/host/creative/5631/1207780159/bender2.gif 2013-01-23T17:40:57 -!- mode/##stm32 [+o Steffanx] by ChanServ 2013-01-23T17:41:01 -!- Laurenceb was kicked from ##stm32 by Steffanx [Laurenceb] 2013-01-23T17:41:14 -!- mode/##stm32 [-o Steffanx] by ChanServ 2013-01-23T17:43:09 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2013-01-23T17:46:09 < gxti> rude 2013-01-23T17:46:53 < emeb_mac> funny 2013-01-23T17:46:59 -!- dirty_d [~andrew@209-213-71-70.meganet.net] has joined ##stm32 2013-01-23T17:47:04 < gxti> both, really 2013-01-23T17:47:27 < emeb_mac> +1 2013-01-23T17:47:51 < emeb_mac> why is it that's not gross, but the original is? 2013-01-23T17:47:58 < emeb_mac> robots I guess. 2013-01-23T17:48:53 < Erlkoenig> the regulations office answered my email - in germany, a ham radio license does NOT permit using self-made remote controls >.< 2013-01-23T17:49:49 < gxti> you shouldn't have asked, now there's a paper trail showing you know better 2013-01-23T17:49:56 < emeb_mac> just use IR 2013-01-23T17:50:32 < dirty_d> so anyone see anything wrong with my TIM1 PWM code? http://pastebin.com/F4B5itz6 2013-01-23T17:50:34 < Erlkoenig> i'm not sure whether IR passes water 2013-01-23T17:50:35 <+Steffanx> Weird Erlkoenig. So you are allowed to make a radio (tranmitter) but not a remote control? 2013-01-23T17:50:45 < emeb_mac> I know - spread spectrum. LPI baby. 2013-01-23T17:50:53 < Erlkoenig> yes, you are only allowed to talk to other ham-radio-guys, not to a device 2013-01-23T17:51:00 < emeb_mac> they'll never catch you if they don't know you're there. 2013-01-23T17:51:06 < Laurenceb> wut 2013-01-23T17:51:12 <+Steffanx> Then you make your device suddenly listen to a weird signal Erlkoenig :) 2013-01-23T17:51:13 < Laurenceb> oh 2013-01-23T17:51:16 < gxti> lies, the CIA satellites can see your 2ghz radio from space 2013-01-23T17:51:27 < Laurenceb> yeah you are not allowed to use encripted comms on ham bands 2013-01-23T17:51:36 < gxti> agents will be dispatched to your door in seconds 2013-01-23T17:51:45 <+Steffanx> gxti only in the US 2013-01-23T17:51:49 < emeb_mac> depends on your definition of "encrypt" 2013-01-23T17:51:52 < gxti> they're in cahoots, Steffanx. CAHOOTS! 2013-01-23T17:52:05 < Erlkoenig> the german regulatory office is very able to locate illegitimate transmitters... 2013-01-23T17:52:15 < emeb_mac> bastards 2013-01-23T17:52:23 < emeb_mac> (see what I did there!) 2013-01-23T17:52:33 < gxti> -_- 2013-01-23T17:52:47 < gxti> Erlkoenig: what kind of remote? 2013-01-23T17:52:49 < Erlkoenig> so only allowed way to run your own remote control is to get a certificate for it, which is very expensive 2013-01-23T17:53:07 <+Steffanx> Erlkoenig what band / freq. did you plan to use? 2013-01-23T17:53:07 < Erlkoenig> gxti: a radio remote control for a rc model submarine with 1MHz < f < 30MHz 2013-01-23T17:53:14 <+Steffanx> Ah 2013-01-23T17:53:16 < gxti> oh, k 2013-01-23T17:53:25 -!- imprisoned [a135b3e8@gateway/web/freenode/ip.161.53.179.232] has joined ##stm32 2013-01-23T17:53:25 < Erlkoenig> that low frequency becaue of water 2013-01-23T17:53:29 < Erlkoenig> *because 2013-01-23T17:53:44 < gxti> use sonar, or whatever it's called when you use it for comms 2013-01-23T17:53:50 < emeb_mac> subspace man. 2013-01-23T17:54:06 < emeb_mac> that always works on Star Trek 2013-01-23T17:54:18 <+Steffanx> Yeah. Make a ship that uses translates your 2.4GHz stuff to sonar :) 2013-01-23T17:54:22 <+Steffanx> -uses 2013-01-23T17:54:45 < Erlkoenig> 27 MHz Remote Controls are *known* to work... but only with licensed ready-made equipment which isn't really suitable for connecting it with microcontrollers 2013-01-23T17:55:09 <+Steffanx> There are some very neat, low freq transmitters made for water, but those are pretty expensive :( 2013-01-23T17:55:31 <+Steffanx> licensed ready-made equipment, sound like Chine Export 2013-01-23T17:55:35 <+Steffanx> *China 2013-01-23T17:55:48 < Erlkoenig> exactly, just the regular R/C stuff that is not 2.4GHz 2013-01-23T17:56:16 < emeb_mac> bog-standard PWM? 2013-01-23T17:56:50 -!- Posterdati [~antani@host107-26-dynamic.59-82-r.retail.telecomitalia.it] has quit [Read error: Connection reset by peer] 2013-01-23T17:56:53 < Erlkoenig> errm those funny 50Hz, 1-2ms Pulse Servo-Signals 2013-01-23T17:57:08 < emeb_mac> right 2013-01-23T17:57:19 < Erlkoenig> one could use a mikrocontroller to decode that, but it's ugly and i wanted to try building my own stuff... 2013-01-23T17:57:34 < emeb_mac> path of least resistance baby 2013-01-23T17:57:37 < Erlkoenig> but here everything that does not feed great companies' monopols is forbidden 2013-01-23T17:58:13 < emeb_mac> zyp has code to parse out those TDM PWM signals. No reason you couldn't use that to send data 2013-01-23T17:58:49 < Erlkoenig> probably i could... however that "tunneling though servo signals" will probably result in a very low datarate 2013-01-23T17:59:00 < emeb_mac> true 2013-01-23T17:59:02 < Erlkoenig> i.e. lower than what could be achieved by directly transmitting digital data 2013-01-23T18:01:09 -!- Posterdati [~antani@host107-26-dynamic.59-82-r.retail.telecomitalia.it] has joined ##stm32 2013-01-23T18:01:20 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-23T18:04:46 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-23T18:05:03 < dirty_d> Erlkoenig, you're making a submarine transmitter? 2013-01-23T18:05:14 < dirty_d> but there are legal issues? 2013-01-23T18:05:20 < Erlkoenig> yes a bidirectional remote control for a rc model submarine 2013-01-23T18:05:26 < Erlkoenig> yep 2013-01-23T18:05:29 < dirty_d> wouldnt sonar have a longer range? 2013-01-23T18:05:34 < dirty_d> and not have legal issues 2013-01-23T18:06:30 < Erlkoenig> hmm maybe. the question is where to get powerful enough waterproof speakers 2013-01-23T18:06:46 <+Steffanx> bi-directional .. just to get some data from the sub? 2013-01-23T18:06:48 < dirty_d> what about a transducer for a boats depthfinder? 2013-01-23T18:07:11 < dirty_d> are you also trying to have video over this channel? 2013-01-23T18:07:13 < dirty_d> that would be neat 2013-01-23T18:07:26 < dirty_d> but that would need high throughput 2013-01-23T18:07:51 < Erlkoenig> Steffanx: yes like battery power and pressure 2013-01-23T18:08:13 < Erlkoenig> it's said to be impossible to transmit video through water... 2013-01-23T18:08:20 < Erlkoenig> but we might attach a camera and an SD-Card 2013-01-23T18:08:42 < zyp> what kind of range are you hoping for? 2013-01-23T18:08:49 <+Steffanx> Yeah. That's boring. No live video 2013-01-23T18:09:03 < dirty_d> Erlkoenig, id just use an ethernet cable to a raspberry pi with a webcam, lol 2013-01-23T18:09:14 * karlp laughs 2013-01-23T18:09:18 < Erlkoenig> zyp: like 100-500m 2013-01-23T18:09:27 < Erlkoenig> dirty_d: but cables are boring :D 2013-01-23T18:09:33 < dirty_d> i can imagine it turning into a twisted mess after a while though 2013-01-23T18:09:37 <+Steffanx> You really need a ship above the sub Erlkoenig :) 2013-01-23T18:09:48 <+Steffanx> makes live easier 2013-01-23T18:09:50 <+Steffanx> life 2013-01-23T18:09:55 < dirty_d> cables are nice if something goes wrong 2013-01-23T18:10:11 < dirty_d> otherwise scuba gear is nice 2013-01-23T18:10:12 < Erlkoenig> wah... lots of foolish rc guys did build radio-controlled model submarines so i want one too :D 2013-01-23T18:10:13 < imprisoned> use light 2013-01-23T18:11:09 < dirty_d> how deep is the water? 2013-01-23T18:11:25 < Erlkoenig> we're trying to go as deep as 2m oder something like that 2013-01-23T18:11:35 < dirty_d> i like the idea of the boat above 2013-01-23T18:11:43 -!- kerwood_wk [3fecd062@gateway/web/freenode/ip.63.236.208.98] has quit [Ping timeout: 245 seconds] 2013-01-23T18:11:53 < dirty_d> just make an unpowered baot with 2.4GHz gear, and a cable going down to the sub 2013-01-23T18:11:59 < dirty_d> the sub will tow the boat 2013-01-23T18:12:12 < dirty_d> then you can get a lot mroe than 2m 2013-01-23T18:12:23 < Erlkoenig> no, the plastic will break anyway 2013-01-23T18:12:31 < dirty_d> what plastic 2013-01-23T18:12:35 < imprisoned> why not use the laser 2013-01-23T18:12:37 < Erlkoenig> the sub is made of 2013-01-23T18:12:37 < dirty_d> oh the sub 2013-01-23T18:12:37 <+Steffanx> "2m oder something" thats gerlish? 2013-01-23T18:12:49 < Erlkoenig> what's the purpose of an "invisible" if it has a visible surface boat connected to it oO 2013-01-23T18:12:54 < Erlkoenig> *invisible sub 2013-01-23T18:13:03 < zyp> you can just have the radio in the boat and tow a buoy for the antenna :p 2013-01-23T18:13:04 < Erlkoenig> "gerlish"? 2013-01-23T18:13:11 <+Steffanx> "oder" 2013-01-23T18:13:16 < dirty_d> Erlkoenig, well you could make it float just below the surface with a small antenna sticking up 2013-01-23T18:13:24 < dirty_d> thats kinda invisible 2013-01-23T18:13:30 <+Steffanx> It HAS to be invisible Erlkoenig ? 2013-01-23T18:13:42 < Erlkoenig> it has to, because of coolness 2013-01-23T18:13:51 <+Steffanx> Ah, ok. 2013-01-23T18:13:52 < Erlkoenig> a submarine with a part at the surface is useless :D 2013-01-23T18:13:59 < dirty_d> naaahhh 2013-01-23T18:14:02 < BrainDamage> 2.4GHz is shitty even for boats 2013-01-23T18:14:06 <+Steffanx> Then you have to go inside the sub as well 2013-01-23T18:14:19 < imprisoned> Erlkoenig: why not use light ? 2013-01-23T18:14:22 < dirty_d> what freqs travel well underwater? 2013-01-23T18:14:30 < Erlkoenig> imprisoned: nobody knows how well that works... 2013-01-23T18:14:36 < Erlkoenig> dirty_d: 27MHz is proven to work 2013-01-23T18:14:50 < imprisoned> Erlkoenig: if you got muddy water than it wont work 2013-01-23T18:14:55 < Erlkoenig> imprisoned: also you have to aim very well 2013-01-23T18:15:00 < dirty_d> how far will a 27MHz R/C transmitter work through water? 2013-01-23T18:15:03 < Erlkoenig> and of course the lakes here have muddy water :D 2013-01-23T18:15:21 < Erlkoenig> dirty_d: i guess at least 100m from the interwebs 2013-01-23T18:15:32 < dirty_d> thats too slow for video though right? 2013-01-23T18:15:49 < Erlkoenig> yes, way too slow 2013-01-23T18:15:52 < zyp> depends on resolution and framerate 2013-01-23T18:16:01 < dirty_d> at a really low framerate 2013-01-23T18:16:05 < Erlkoenig> 10 pixels per second :D 2013-01-23T18:16:09 < dirty_d> ouch 2013-01-23T18:16:16 <+Steffanx> Anyway. 100.. are you sure? 2013-01-23T18:16:18 <+Steffanx> 100m 2013-01-23T18:16:25 < Erlkoenig> i'd guess the absolute maximum for 27 MHz is like 1 kbit/sec or something 2013-01-23T18:16:36 < dirty_d> id rather have cables and stuff than no video 2013-01-23T18:16:40 < Erlkoenig> Steffanx: 100m war, 2m deep or something 2013-01-23T18:16:40 < zyp> Steffanx, 90m through air and 10m through water then? :) 2013-01-23T18:16:50 < Erlkoenig> s/war/far 2013-01-23T18:17:18 < Erlkoenig> dirty_d: we'll look at the video recorded on an SD Card 2013-01-23T18:17:35 < dirty_d> how will you know where youre going though? 2013-01-23T18:17:48 < Erlkoenig> guessing :D 2013-01-23T18:17:53 < imprisoned> sensors 2013-01-23T18:17:55 < dirty_d> and you wont be able to torpedo fish without realtime video 2013-01-23T18:17:57 < Erlkoenig> maybe accelerometer navigation 2013-01-23T18:18:25 < karlp> anyone have any bright ideas or references on how eeprom sections would/should go in ldscripts? 2013-01-23T18:18:31 -!- barthess [~barthess@178.154.59.201] has joined ##stm32 2013-01-23T18:19:03 < zyp> karlp, first question: should they? 2013-01-23T18:19:11 < karlp> maybe? 2013-01-23T18:19:27 < karlp> it would let an elf contain preassigned things that should be stored in eeprom 2013-01-23T18:19:40 < karlp> but yes, would also let it do things like erase what they shouldn't 2013-01-23T18:20:15 < karlp> I guess using an eeprom section wouldn't guarantee that a variable in the eeprom section stayed there in a future build too 2013-01-23T18:20:25 < imprisoned> Erlkoenig: http://udrugamehatronicara.hr/projekti/nautilusum/ 2013-01-23T18:20:31 < zyp> karlp, exactly 2013-01-23T18:20:45 < Erlkoenig> yes 2013-01-23T18:20:56 < dirty_d> i was wondering about that, stm32f3 doesnt have eeprom, so what would you do for storing configuration data etc? 2013-01-23T18:21:05 < dirty_d> can you write to flash from code? 2013-01-23T18:21:09 < zyp> yes 2013-01-23T18:21:12 < dirty_d> ok 2013-01-23T18:21:44 < karlp> zyp: avr-libc lets you do both, you can give it a raw address, or you can use section attributes... 2013-01-23T18:21:53 < karlp> let's just test it with raw addresses first. 2013-01-23T18:22:14 < karlp> dirty_d: there's an app note with some code from ST on using a few pages of flash as an eeprom emulation layer. 2013-01-23T18:22:47 <+Steffanx> That one uses a cable, that is boring imprisoned :) 2013-01-23T18:22:49 < karlp> the stm32L has eeprom, and some of the freescale kinetis parts build the eeprom emulation layer into the device for you. 2013-01-23T18:23:25 < imprisoned> Steffanx: only showing stuff i've seen in live 2013-01-23T18:23:42 < dirty_d> karlp, ok 2013-01-23T18:23:57 < Erlkoenig> a rc model submarine is like a model plane that's hanging on a rope... 2013-01-23T18:24:01 < Erlkoenig> argh 2013-01-23T18:24:05 < Erlkoenig> a rc model submarine on a cable is like a model plane that's hanging on a rope... 2013-01-23T18:24:28 <+Steffanx> Heh 2013-01-23T18:24:40 < dirty_d> hmm, for PWM mode you want MOE and AOE enabled right? 2013-01-23T18:24:46 < dirty_d> i think that might be why my code isnt working 2013-01-23T18:25:00 < zyp> http://bin.jvnv.net/f/acJ5t.JPG <- I had a quadrotor on a cable in my garden, nothing wrong with that 2013-01-23T18:25:38 < Erlkoenig> "hanging on a rope" as in "not flying on its own, just hanging around" 2013-01-23T18:25:48 < zyp> oh, I've had thattoo 2013-01-23T18:25:50 <+Steffanx> That doesn't look like a permanent solution zyp .. 2013-01-23T18:25:55 < Erlkoenig> as in "you don't need no propellers" 2013-01-23T18:26:06 <+Steffanx> That's called a kite, Erlkoenig 2013-01-23T18:26:20 <+Steffanx> sort of 2013-01-23T18:26:22 < Erlkoenig> argh why is nobody understanding me :D 2013-01-23T18:26:22 < zyp> http://bin.jvnv.net/f/ZGHgY.jpg <- like this? :p 2013-01-23T18:26:30 < Erlkoenig> yes, like this 2013-01-23T18:27:11 < dirty_d> how many times did you get wound up in that string? 2013-01-23T18:28:27 < BrainDamage> lol @ anime pillows 2013-01-23T18:28:44 < zyp> dirty_d, like this http://bin.jvnv.net/f/gYu61.jpg ? 2013-01-23T18:28:58 < dirty_d> lol, yup 2013-01-23T18:29:02 < zyp> twice I think 2013-01-23T18:29:03 <+Steffanx> Yeah BrainDamage, and all dirty_d cares about is the 'string' 2013-01-23T18:29:21 < imprisoned> how old are you ??????????? 2013-01-23T18:29:25 < BrainDamage> where's Laurenceb when you need it 2013-01-23T18:29:28 < dirty_d> lol 2013-01-23T18:29:29 < zyp> though, second time it managed to cut itself down and end up on the floor 2013-01-23T18:29:45 < zyp> imprisoned, who are you asking? 2013-01-23T18:29:55 < Erlkoenig> that room is way too tidy :D 2013-01-23T18:29:55 < Laurenceb> omg wtf 2013-01-23T18:29:56 <+Steffanx> No we don't need ass gaping anime crap, BrainDamage 2013-01-23T18:30:01 < imprisoned> the owner of anime room 2013-01-23T18:30:06 < zyp> ah 2013-01-23T18:30:25 < zyp> I think I was 23 at the time, the pics are a couple of years old 2013-01-23T18:30:35 < BrainDamage> zyp: how much autonomy does it have? 2013-01-23T18:30:35 <+Steffanx> ( you still have all of it ) 2013-01-23T18:30:59 < imprisoned> i give it max 30 mins 2013-01-23T18:31:28 < zyp> Steffanx, it's mostly still sitting in boxes since I moved out of there 2013-01-23T18:31:48 < Laurenceb> hentai collection i presume? 2013-01-23T18:33:30 < zyp> ha, I remember people told me the room was tidy when I was showing quadrotor pics, so I took one from another angle: http://bin.jvnv.net/f/pwlqr.jpg 2013-01-23T18:33:58 < Erlkoenig> hmm that's approvable 2013-01-23T18:34:18 < dirty_d> your favorite drink is coke 2013-01-23T18:34:22 < zyp> sure 2013-01-23T18:34:29 <+Steffanx> What's that on the right zyp? Frying pan? 2013-01-23T18:34:33 < BrainDamage> is that a rice cooker? 2013-01-23T18:34:37 < zyp> yep 2013-01-23T18:34:43 <+Steffanx> rice cooker it is? 2013-01-23T18:34:52 < zyp> rice cooker. 2013-01-23T18:35:17 <+Steffanx> At least you didn't live on rice and coke 2013-01-23T18:35:22 <+Steffanx> *cola 2013-01-23T18:35:35 < emeb> yeah - a few Ritz crackers too. :) 2013-01-23T18:35:38 < imprisoned> +applefanboy 2013-01-23T18:35:43 <+Steffanx> but we had this talk before, about the coke 2013-01-23T18:35:45 < zyp> no, on the left side you can see an empty pizza box 2013-01-23T18:35:48 < Erlkoenig> my favorite drink is water \o/ 2013-01-23T18:36:03 < emeb> Man, posting pix is dangerous... 2013-01-23T18:36:20 <+Steffanx> At least it's a normal picture, be happy emeb 2013-01-23T18:36:28 <+Steffanx> Doesnt happen very often 2013-01-23T18:36:38 < emeb> there's that 2013-01-23T18:36:55 < zyp> http://bin.jvnv.net/f/tvvVf.JPG <- nowadays I'm drinking cola from cans instead of bottles 2013-01-23T18:37:14 < emeb> and a bigger desk 2013-01-23T18:37:22 < Erlkoenig> http://games.2g2s.de/sub/Bilder/servos_und_motor.jpg btw, servo's and motor of the sub 2013-01-23T18:37:23 < dirty_d> holy sideways monitor 2013-01-23T18:37:24 < emeb> at least you don't have empties stacked in a pyramid 2013-01-23T18:38:11 <+Steffanx> A screen dedicated to irc is pretty bad ass :P 2013-01-23T18:38:14 < zyp> emeb, no, I stack them on the cardboard trays they come on 2013-01-23T18:38:20 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 256 seconds] 2013-01-23T18:38:35 < imprisoned> the left screen is irc? 2013-01-23T18:38:44 < zyp> in the pic, yes 2013-01-23T18:39:02 < zyp> also using it for documentation when I'm coding 2013-01-23T18:39:38 < imprisoned> very nice 2013-01-23T18:39:44 < Erlkoenig> http://games.2g2s.de/zeug/fh-labor.jpg 2013-01-23T18:40:07 < zyp> uni lab? 2013-01-23T18:40:11 < Erlkoenig> yep ;) 2013-01-23T18:41:04 < imprisoned> looks nice 2013-01-23T18:41:23 < imprisoned> but i think my "school lab" is not far from yours :)))) 2013-01-23T18:41:27 < Erlkoenig> also, too tidy :D 2013-01-23T18:41:58 < Erlkoenig> "not far"? :D 2013-01-23T18:42:01 <+Steffanx> uni labs are boring anyway :) 2013-01-23T18:42:01 -!- KennyMcCormic [~Kenny@94.28.194.136] has joined ##stm32 2013-01-23T18:42:01 -!- dirty_d [~andrew@209-213-71-70.meganet.net] has quit [Quit: Leaving] 2013-01-23T18:42:24 < Erlkoenig> Steffanx: they sometimes have neat equipment. ^^ 2013-01-23T18:42:40 < emeb> so does anyone know of a Windows app to talk to the USB DFU bootloader? 2013-01-23T18:42:53 < emeb> can't seem to find mention of it anywhere. 2013-01-23T18:43:03 < imprisoned> i got highschool lab..... 2013-01-23T18:43:19 < zyp> emeb, the st dfuse app? 2013-01-23T18:43:38 < emeb> checking... 2013-01-23T18:45:27 < zyp> it's distributed along with UM0412 2013-01-23T18:45:34 < emeb> ty 2013-01-23T18:46:36 < zyp> http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/SW_DEMO/um0412.zip 2013-01-23T18:51:16 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-23T18:53:18 -!- _BJFreeman [~bjfree@18.sub-75-233-145.myvzw.com] has joined ##stm32 2013-01-23T18:53:54 -!- _BJFreeman is now known as BJFreeman 2013-01-23T18:57:07 < karlp> does anyone here remember how I stopped modem-manager from trying to take over usb serial adapters last time? 2013-01-23T18:59:16 < emeb> zyp: that seems to have worked. 2013-01-23T18:59:27 < FransWillem> Is there a load-and-increase instruction on ARM Cortex? like *(ptr++) ? 2013-01-23T18:59:27 < zyp> :) 2013-01-23T18:59:45 < zyp> FransWillem, yes 2013-01-23T18:59:55 < FransWillem> which one is it? 2013-01-23T19:00:06 < Erlkoenig> hmm LD r*, X+ on AVR :D 2013-01-23T19:00:22 < zyp> ldmia/stmia 2013-01-23T19:01:43 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-23T19:02:57 < zyp> also db for doing *(--ptr) 2013-01-23T19:03:55 < zyp> refer to http://infocenter.arm.com/help/topic/com.arm.doc.dui0553a/BABCAEDD.html 2013-01-23T19:03:58 < jpa-> karlp: i did it by uninstalling modem manager and just using bluetooth personal area network instead 2013-01-23T19:04:30 < jpa-> it's silly to have the PC and mobile phone to fake modem communications anyway, when both of them really use IP 2013-01-23T19:04:59 < karlp> turns out I had a udev rule for it anyway: http://qulogic.blogspot.com/2010/08/got-bus-pirate.html 2013-01-23T19:05:15 < karlp> just that I'd called it 99-libftdi, instead of 99-fucking-modem-manager.rules 2013-01-23T19:05:20 < karlp> so I didn't look in right place 2013-01-23T19:07:04 < emeb> f303 breakout page updated -> http://ebrombaugh.studionebula.com/embedded/stm32f303breakout/index.html 2013-01-23T19:07:15 < Erlkoenig> (18:04:30) jpa-: it's silly to have the PC and mobile phone to fake modem communications anyway, when both of them really use IP <-- at least it avoids having to construct a framework for UMTS modems and similar in the kernel ... 2013-01-23T19:07:28 < Laurenceb> emeb: nice 2013-01-23T19:07:35 < emeb> Laurenceb: ty 2013-01-23T19:07:43 < zyp> neat 2013-01-23T19:07:51 < zyp> not very different from the F37x board 2013-01-23T19:08:12 < emeb> zyp: you'd think that, but it required a fair bit of rerouting for the altered pinout 2013-01-23T19:08:20 < jpa-> Erlkoenig: bluetooth pan seems to work just fine, and i'm sure it is easier to implement than the various botched AT command set implementations 2013-01-23T19:08:54 < emeb> but the upside is that DFU works :-/ 2013-01-23T19:08:59 < Erlkoenig> for Bluetooth they had to develop a new framework anyways, so they used that... 2013-01-23T19:09:28 < Laurenceb> bluetooth inherits tons of stuff from irda 2013-01-23T19:09:49 < Erlkoenig> i'm still wondering why there is no JTAG framework so one could use every JTAG adapter with every µC with every PC software... 2013-01-23T19:10:19 < zyp> there is no? 2013-01-23T19:10:39 < zyp> there are lots, but nobody could agree on one :p 2013-01-23T19:10:52 < emeb> "the nice thing about standards..." 2013-01-23T19:10:53 < Erlkoenig> i meant like a "driver framework" in the kernel 2013-01-23T19:11:20 < zyp> it's not a kernel thing anyway 2013-01-23T19:11:21 < Erlkoenig> so you provide a driver for your JTAG Hardware which could then be used by any debugging PC software and any to-be-debugged µC 2013-01-23T19:11:49 < zyp> and there is no such thing as a universal jtag API 2013-01-23T19:12:37 < Erlkoenig> but why... 2013-01-23T19:12:40 < zyp> I mean, you can make one that is, but it wouldn't perform very well. 2013-01-23T19:14:29 < zyp> because by itself jtag is only a transport that shifts bits into various registers of various lengths 2013-01-23T19:14:50 < zyp> and then some times you have to take decisions on the data you receive back 2013-01-23T19:14:50 < emeb> what happens to them after that is anyone's guess... 2013-01-23T19:15:34 < zyp> and if you need to pass the data back and forth through a long stack of interfaces adding a latency, it will kill your performance 2013-01-23T19:16:01 < zyp> that's why people make intelligent jtag interfaces that will do those decisions close to the jtag operation itself 2013-01-23T19:16:24 < zyp> like blackmagic probe that runs the entire gdbserver on the dongle itself 2013-01-23T19:16:24 < jpa-> that reminds me of the slowness of stlink :P 2013-01-23T19:16:39 < Erlkoenig> aah okay, i didn't know that, i thought JTAG<->PC Adapters don't do anything else than just shifting data from USB to JTAG and vice-versa 2013-01-23T19:16:52 < Erlkoenig> or LPT for some... 2013-01-23T19:16:56 < jpa-> maybe i should finally try programming the bmp firmware on a discovery 2013-01-23T19:16:56 < zyp> cheap ones don't 2013-01-23T19:17:03 < zyp> that's why they are cheap 2013-01-23T19:17:09 < zyp> that's also why they are slow 2013-01-23T19:18:03 < Erlkoenig> so JTAG has higher datarates than USB? 2013-01-23T19:18:13 < jpa-> issue is latency not datarate 2013-01-23T19:18:46 < zyp> like jpa said 2013-01-23T19:19:02 < zyp> datarate is irrelevant when you have to stop and wait all the time 2013-01-23T19:19:18 < jpa-> if you say "give me register 1" "give me register 2" and every command takes 1ms, it's going to be slow.. and often you need an intelligent controller to be able to do "give me registers 1 to 200" 2013-01-23T19:19:46 < karlp> jpa-: oocd 0.6.1 works pretty well on the stlink hardware. 2013-01-23T19:20:03 < karlp> and I'm _not_ an oocd fan by anymeans. 2013-01-23T19:20:04 < zyp> karlp, once you get it built ;) 2013-01-23T19:20:13 < jpa-> karlp: i hate the commands 2013-01-23T19:20:19 < karlp> yeah, but for instance, current texane master is simply broken on the l1. 2013-01-23T19:20:30 < karlp> and I have less than zero interest in trying to keep fixing that. 2013-01-23T19:20:49 < karlp> jpa-: I'm only using it through gdb 2013-01-23T19:21:01 < jpa-> monitor this monitor that 2013-01-23T19:21:08 < karlp> it's a little different to the texane gdbserver, but mostly ok. 2013-01-23T19:21:17 < karlp> I'm only using monitor reset halt so far. 2013-01-23T19:21:28 < karlp> kill/run causes a gdb internal error. 2013-01-23T19:21:38 < jpa-> i've been trying monitor all things and it always just doesn't work :P 2013-01-23T19:22:06 < karlp> well, it doesn't like having something like netbeans attach, register some breakpoints, then detach, and reregister the same ones. 2013-01-23T19:22:11 < karlp> that gets oocd very cranky 2013-01-23T19:22:34 < karlp> anyway, I got some eeprom writing/reading, so I think I'm going to go home. 2013-01-23T19:22:46 < jpa-> st-flash works actually pretty well as long as i press the reset manually, but gdbserver with F4 seems horribly broken.. "run" gets it in some strange state and so do manual resets after a few times 2013-01-23T19:27:37 < Erlkoenig> hmm Texate "st-util" works somewhat ok for me on the F4... restarting (kill;run) a program doesn't really work, though 2013-01-23T19:28:27 < zyp> you don't need to kill before run 2013-01-23T19:29:00 < Erlkoenig> also without "kill" ;) 2013-01-23T19:29:43 < zyp> used to work for me :D 2013-01-23T19:30:08 < zyp> but I haven't touched it for a long time 2013-01-23T19:30:21 < Erlkoenig> i don't exactly remember what did not work... i think st-util just quit when re-starting 2013-01-23T19:30:22 -!- KennyMcCormic [~Kenny@94.28.194.136] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-23T19:30:30 < Erlkoenig> "STM32F050K6 has a DAC not mentioned in any datasheets but which works fine" funny D 2013-01-23T19:30:43 < zyp> heh 2013-01-23T19:31:06 < jpa-> maybe some other device has the USB bootloader that is missing on the F303 2013-01-23T19:31:18 < karlp> 373? 2013-01-23T19:31:20 < zyp> F303 has usb bootloader 2013-01-23T19:31:25 < zyp> it's 373 that's missing 2013-01-23T19:31:27 < jpa-> ok ok 2013-01-23T19:34:21 < Erlkoenig> hmm what about adding some "printf" command to the header of C++ function that describes what the function is doing using its parameters... This printf wont be run during normal program flow, but used upon occurence of an exception to decorate the backtrace for helping to understand what some library was doing 2013-01-23T20:04:28 < karlp> why not just integrate your debugger with the doxygen/jdoc? 2013-01-23T20:06:03 < Erlkoenig> also a good idea... my point was to generate nice backtrace's on user's machines without debugging stuff 2013-01-23T20:06:17 < emeb> jpa-: lol 2013-01-23T20:07:36 < karlp> hang on, are you talking about getting better traces from uses of shipped software? 2013-01-23T20:08:08 < Erlkoenig> yes exactly 2013-01-23T20:09:07 < Erlkoenig> so a "a bit skilled" user could see what the program was doing when it crashed, i.e. the error message is not "could not find file" but: "Reading Configuration\nSearching configuration file\nTrying configuration file "/etc/foobar"\nError: Could not find file" 2013-01-23T20:09:21 < karlp> have a look at some of the newer "compressed reduced debug info" in fedora for instance, and just ship it with symbols. 2013-01-23T20:09:34 < karlp> also, make it a) not fail and b) fail with appropriate messages for everyone. 2013-01-23T20:09:54 < Erlkoenig> that's for the perfect world ;) 2013-01-23T20:13:31 <+Steffanx> The perfect wolds starts here for you today Erlkoenig. 2013-01-23T20:13:43 < Erlkoenig> yeeaaay no more regulation offices \o/ 2013-01-23T20:19:44 < imprisoned> hey, im just started reading a book about cortex m3, and basically i read >>alot<< about memory safety .... 2013-01-23T20:23:37 < jpa-> what memory safety? 2013-01-23T20:24:09 < imprisoned> i dont quite know, i just see t hat word on every page 2013-01-23T20:24:36 < jpa-> maybe it is the name of the book? ,) 2013-01-23T20:25:24 < imprisoned> do vendors place hardware protection on th chips? 2013-01-23T20:25:42 < jpa-> you mean MPU? some chips have it, some don't 2013-01-23T20:26:09 < jpa-> or do you mean code protection that is supposed to stop evil chinese people from stealing the fruits of your hard work? 2013-01-23T20:26:36 < zyp> code protection would probably not be mentioned in a cortex book 2013-01-23T20:26:44 < zyp> since it's not part of the cortex core 2013-01-23T20:26:46 < imprisoned> :/ 2013-01-23T20:26:55 < imprisoned> i asked if the vendors place it 2013-01-23T20:27:07 < zyp> place what? 2013-01-23T20:27:07 < jpa-> i asked what 'it' is :) 2013-01-23T20:27:48 < imprisoned> idk... 2013-01-23T20:28:03 < zyp> then figure out what you are asking about before expecting an answer ;) 2013-01-23T20:28:13 < imprisoned> i watched some vids where people had some spare PIC's and probed them 2013-01-23T20:28:18 < jpa-> the vendors sure do place a lot of things on the chips :) 2013-01-23T20:28:38 < imprisoned> i hope they offer the best protection.. 2013-01-23T20:28:45 < jpa-> imprisoned: so you mean code protection? it's rarely very effective 2013-01-23T20:28:47 < zyp> if you are talking about code read protection, then yes, most chips have 2013-01-23T20:29:03 < zyp> but it's usually a waste of time to bother with anyway 2013-01-23T20:29:28 < imprisoned> a forget it.... i must continue my reading 2013-01-23T20:30:10 < imprisoned> now at NVIC....400 more pages to go... 2013-01-23T20:30:19 <+Steffanx> lol 2013-01-23T20:30:26 < jpa-> the best way to learn cortex-m3, read 600 pages about it :) 2013-01-23T20:31:08 <+Steffanx> Real the entire F4xx datasheet > 1400 pages, jpa- :) 2013-01-23T20:31:08 < imprisoned> :( 2013-01-23T20:31:10 < zyp> arguably better than cut and pasting crappy code and hitting your keyboard over your head until the code works 2013-01-23T20:31:12 <+Steffanx> *read 2013-01-23T20:32:06 < zyp> Steffanx, you mention page count as if it were a bad thing? :) 2013-01-23T20:32:40 <+Steffanx> Nah, it's for people who really like to read everything for start to end and back. 2013-01-23T20:33:32 < zyp> I've probably looked over pretty much everything in the F4 RM 2013-01-23T20:33:51 < jpa-> zyp: yeah, that's not learning it's coding for production :) 2013-01-23T20:34:29 < zyp> I've obviously not read the descriptions of every single register bit, but I think I've read through the description of the functionality of all the peripherals 2013-01-23T20:35:14 <+Steffanx> Yeah, of course 2013-01-23T20:39:31 < emeb> everyone learns differently 2013-01-23T20:40:14 < emeb> my approach is more "read / try / make mistakes / read some more / repeat" 2013-01-23T20:40:47 < Erlkoenig> you forgot "rage about doc/hardware/library/toolchain bugs" 2013-01-23T20:40:48 < emeb> plus these day's there's always "get on IRC and ask zyp" 2013-01-23T20:41:07 < imprisoned> i cant afford the comfort to try, because this is my first arhitecture 2013-01-23T20:41:15 < imprisoned> so first i do the reading 2013-01-23T20:41:43 < BrainDamage> zyp: where did I put my screwdriver bits? 2013-01-23T20:42:29 < BrainDamage> since there's always "get on IRC and ask zyp" 2013-01-23T20:42:30 * Steffanx opens stm32F4 reference manual for BrainDamage 2013-01-23T20:50:19 < mervaka> sup 2013-01-23T20:51:02 <+Steffanx> Tha sky bro 2013-01-23T20:51:12 < mervaka> umad? 2013-01-23T20:52:03 < emeb> yo 2013-01-23T21:19:13 -!- imprisoned [a135b3e8@gateway/web/freenode/ip.161.53.179.232] has quit [Ping timeout: 245 seconds] 2013-01-23T21:23:15 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-23T21:25:08 <+Steffanx> Didn't find it BrainDamage 2013-01-23T21:33:00 -!- Laurenceb_ [~Laurence@host86-168-104-160.range86-168.btcentralplus.com] has joined ##stm32 2013-01-23T21:37:17 -!- daku is now known as DaKu 2013-01-23T21:40:32 -!- toyz [a135b3e8@gateway/web/freenode/ip.161.53.179.232] has joined ##stm32 2013-01-23T21:41:13 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-23T21:42:48 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-23T21:44:01 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 248 seconds] 2013-01-23T21:52:58 -!- toyz [a135b3e8@gateway/web/freenode/ip.161.53.179.232] has quit [Ping timeout: 245 seconds] 2013-01-23T21:56:40 -!- barthess [~barthess@178.154.59.201] has quit [Quit: Leaving.] 2013-01-23T22:00:51 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-23T22:02:55 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-23T22:05:30 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 264 seconds] 2013-01-23T22:08:29 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-23T22:16:23 < Laurenceb_> http://i.imgur.com/hY1fKdr.jpg 2013-01-23T22:16:30 < Laurenceb_> repost tiem 2013-01-23T22:17:22 < Erlkoenig> sexy :D 2013-01-23T22:18:54 < fxd0h> gotta love cq 2013-01-23T22:23:53 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-23T22:40:26 -!- fxd0h_ [~fx@186.18.172.240] has joined ##stm32 2013-01-23T22:42:26 -!- fxd0h__ [~fx@186.18.172.240] has joined ##stm32 2013-01-23T22:42:56 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 256 seconds] 2013-01-23T22:42:56 -!- fxd0h__ is now known as fxd0h 2013-01-23T22:44:36 -!- fxd0h_ [~fx@186.18.172.240] has quit [Ping timeout: 245 seconds] 2013-01-23T22:44:38 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-23T22:47:04 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-23T22:49:33 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-23T22:50:36 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-23T22:53:17 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-23T22:54:15 < Laurenceb_> where is the site where someone had documented putting bmp onto discovery? 2013-01-23T22:54:26 < Laurenceb_> which photos of the board hacks required to get bootloader? 2013-01-23T22:54:44 -!- _BJFreeman [~bjfree@157.sub-75-196-109.myvzw.com] has joined ##stm32 2013-01-23T22:54:56 -!- BJFreeman [~bjfree@18.sub-75-233-145.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-01-23T22:55:47 -!- _BJFreeman is now known as BJfreeman 2013-01-23T22:56:15 < karlp> paulfertser, 2013-01-23T22:56:29 < karlp> it was in some crazy twitterfrog something commentary 2013-01-23T22:56:48 <+Steffanx> crazy twitterfrog something :D 2013-01-23T22:56:59 < karlp> but the process would be the same as loading versaloon on, and that should be findable 2013-01-23T22:58:21 <+Steffanx> That twitterfrog something was without photos karlp 2013-01-23T22:58:32 < Laurenceb_> ok 2013-01-23T22:58:40 <+Steffanx> http://juick.com/paulfertser@jabber.org/1995035 ... 2013-01-23T22:58:40 < Laurenceb_> i might try on olimexino first 2013-01-23T22:59:01 < karlp> paulfertser,that's the same commentary, but not the same webpage.... 2013-01-23T22:59:20 * karlp shrugs 2013-01-23T23:01:21 <+Steffanx> it was the website karlp .. he linked to it himself 2013-01-23T23:01:32 < karlp> well, the skin's changed since then, that's all :) 2013-01-23T23:02:22 < karlp> I don't know why all the hate on the stlinkv1 2013-01-23T23:02:56 < gxti> i don't have one but from what i've read the protocol sucks 2013-01-23T23:03:12 < karlp> like that means a damn thing 2013-01-23T23:03:22 < gxti> if it works for you then good for you 2013-01-23T23:03:42 < karlp> if you're not using swo, then it works for everyone.... 2013-01-23T23:04:15 < zyp> I heard it's extra hassle to get it to work, because you need scsi generic drivers on your system 2013-01-23T23:04:25 < gxti> i have depleted my allotted give-a-fucks about stlinkv1 2013-01-23T23:04:28 < gxti> so back to work 2013-01-23T23:04:45 <+Steffanx> gxti tell us more 2013-01-23T23:04:45 < karlp> zyp: neither openocd nor texane use sg utils 2013-01-23T23:04:46 < Laurenceb_> platforms/native/platform.h:39:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 2013-01-23T23:04:49 < Laurenceb_> that went well 2013-01-23T23:04:50 < gxti> bmp boards should be waiting for me at home \o/ 2013-01-23T23:05:03 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-23T23:05:31 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-23T23:06:12 <+Steffanx> "dongs: Laurenceb open sores" 2013-01-23T23:06:31 < Laurenceb_> hehe 2013-01-23T23:06:41 < Laurenceb_> oh its wrong libopencm3 2013-01-23T23:07:09 < Laurenceb_> now i will need to recompile libopencm3, and it will break 2013-01-23T23:08:51 < Laurenceb_> as i was saying... 2013-01-23T23:09:08 < Laurenceb_> WHAT THE FUCK 2013-01-23T23:09:17 < Laurenceb_> WHY IS IT USING PYTHONG 2013-01-23T23:09:32 < karlp> you already ahve python, what you don't have is python-YAML 2013-01-23T23:09:45 < Laurenceb_> i know that now :/ 2013-01-23T23:09:55 < zyp> because people are too lazy to write isr handler stubs themselves, so they generate them 2013-01-23T23:09:58 < karlp> because: snakes on the mother fucking cerebellum... or cortex or something 2013-01-23T23:10:27 < Laurenceb_> any idea what pythong package i need? 2013-01-23T23:10:37 < karlp> it's in the README I believe. 2013-01-23T23:10:44 < karlp> ubuntu/fedora/what? 2013-01-23T23:10:46 < zyp> pyyaml 2013-01-23T23:10:59 < Laurenceb_> ubuntu 2013-01-23T23:11:36 < karlp> huh, it's not in the readme. 2013-01-23T23:11:39 < karlp> that's a fail 2013-01-23T23:12:09 < Laurenceb_> python-yaml 2013-01-23T23:13:04 < Laurenceb_> ok that worked... 2013-01-23T23:13:05 < Laurenceb_> make[1]: *** No rule to make target `/home/laurence/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.5.2/../../../../arm-none-eabi/include/libopencm3/stm32/systick.h', needed by `platform.o'. Stop. 2013-01-23T23:13:23 < zyp> make clean? 2013-01-23T23:13:27 < Laurenceb_> hmm 2013-01-23T23:13:36 < zyp> also, your compiler is horribly old and outdated 2013-01-23T23:14:01 < Laurenceb_> heh i know 2013-01-23T23:14:09 < Laurenceb_> ok it built, but didnt link 2013-01-23T23:14:09 < zyp> and putting libopencm3 in the compilers include dir isn't exactly pretty 2013-01-23T23:14:22 < Laurenceb_> i didnt do that 2013-01-23T23:14:32 < Laurenceb_> blackmagic looks for ./libopencm3 2013-01-23T23:14:44 < Laurenceb_> so i created link to the correct location 2013-01-23T23:14:48 < zyp> wat 2013-01-23T23:15:07 < zyp> you're not supposed to create links 2013-01-23T23:15:23 < zyp> are you trying to build latest blackmagic? 2013-01-23T23:15:27 < Laurenceb_> yes 2013-01-23T23:15:32 < Laurenceb_> oh wait 2013-01-23T23:15:33 < zyp> it has libopencm3 as a submodule, did you load that? 2013-01-23T23:15:41 < Laurenceb_> no 2013-01-23T23:15:48 < zyp> git submodule init; git submodule sync; git submodule update 2013-01-23T23:15:52 < Laurenceb_> ok 2013-01-23T23:16:01 < Laurenceb_> oh thats why its ./libopencm3 2013-01-23T23:16:03 < zyp> then you get the proper revision of libopencm3 in that subdirectory 2013-01-23T23:16:23 < zyp> then you just do make from the blackmagic top directory, and it builds both libopencm3 and firmware 2013-01-23T23:16:46 < zyp> and as long as your compiler environment is sane, it's supposed to just work 2013-01-23T23:17:13 < Laurenceb_> ok 2013-01-23T23:17:21 < Laurenceb_> ./arm-none-eabi/bin/ld: cannot find -lnosys 2013-01-23T23:17:21 < Laurenceb_> collect2: ld returned 1 exit status 2013-01-23T23:17:25 < Laurenceb_> just that now 2013-01-23T23:18:25 < zyp> that's a sign you should delete your shitty toolchain and grab the latest from launchpad 2013-01-23T23:18:41 < zyp> since libnosys ships with the toolchain 2013-01-23T23:20:15 < Laurenceb_> ok 2013-01-23T23:20:20 < Laurenceb_> is it prebuilt? 2013-01-23T23:20:23 < zyp> sure 2013-01-23T23:22:20 < Laurenceb_> ah i see 2013-01-23T23:22:25 < Laurenceb_> 32bit x86? 2013-01-23T23:23:05 < karlp> yar, you'll need a bunch of 32bit libs for it, but it works still on x64 2013-01-23T23:24:26 < karlp> zyp: is there a "recommended" way to get pyyaml on osx? 2013-01-23T23:25:52 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-23T23:26:41 < zyp> easy_install? 2013-01-23T23:26:54 < zyp> i.e. python's own package manager 2013-01-23T23:27:15 < zyp> still needs libyaml though, so I got that through homebrew 2013-01-23T23:27:43 < Laurenceb_> /arm-none-eabi/bin/ld: cannot open linker script file lanchon-rom.ld: No such file or directory 2013-01-23T23:27:49 < Laurenceb_> still linker fails 2013-01-23T23:28:03 < karlp> .ld needs to be in -L paths... 2013-01-23T23:28:13 < karlp> did you install it into your old toolchain manually? 2013-01-23T23:28:14 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-23T23:28:18 < zyp> and it is unless you messed up something 2013-01-23T23:28:20 < Laurenceb_> i edited the PATH 2013-01-23T23:30:11 < Laurenceb_> hmm surely lanchon-rom.ld is some blackmagic stuff? 2013-01-23T23:30:12 < zyp> by the way, blackmagic doesn't use lanchon-rom.ld 2013-01-23T23:30:16 < Laurenceb_> yeah wtf 2013-01-23T23:30:27 < zyp> so your environment is clearly fucked 2013-01-23T23:30:36 < zyp> pastebin the complete log of what you're trying to do? 2013-01-23T23:32:30 < Laurenceb_> http://pastebin.com/7iTLHQUx 2013-01-23T23:33:34 < karlp> make V=1 possibly. 2013-01-23T23:33:46 < karlp> oh, never mind 2013-01-23T23:33:49 < karlp> it's finished ocm3 2013-01-23T23:34:42 < karlp> it has -Ttext and and -Tplatforms/stm32/blackmagic.ld? 2013-01-23T23:35:39 < Laurenceb_> where? 2013-01-23T23:36:31 < zyp> linker command is correct, it's equal to the one my code is doing 2013-01-23T23:38:01 < Laurenceb_> oh it worked 2013-01-23T23:38:10 < Laurenceb_> something was wrong with my blackmagic 2013-01-23T23:38:15 < Laurenceb_> very odd 2013-01-23T23:38:29 < Laurenceb_> as git let me pull the latest version 2013-01-23T23:38:45 < zyp> probably unclean files that's making a mess 2013-01-23T23:38:45 < Laurenceb_> how is that possible? 2013-01-23T23:38:53 < Laurenceb_> an extra file in there? 2013-01-23T23:38:55 < zyp> make clean usually fixes that 2013-01-23T23:40:29 < Laurenceb_> its just odd that git didnt detect the untracked changes 2013-01-23T23:41:46 < zyp> which changes? like temporary files that's noted in .gitignore? 2013-01-23T23:42:57 < Laurenceb_> well the way i fixed it was the delete blackmagic, then git clone it 2013-01-23T23:43:06 < Laurenceb_> previously i had git pulled 2013-01-23T23:43:12 < Laurenceb_> and it updated to latest version 2013-01-23T23:43:25 < Laurenceb_> but it was using the wrong linker script 2013-01-23T23:44:31 < zyp> checking out other revisions doesn't touch untracked files, so temporaries will be untouched, and since make is shitty it's not always able to make sense of everything and gets confused 2013-01-23T23:45:00 < zyp> esp. since the dependency tracking of make itself relies on temporary .d files 2013-01-23T23:45:10 < Laurenceb_> i see 2013-01-23T23:45:20 < karlp> not of make, only of some ways people use make and gcc -M 2013-01-23T23:45:24 < zyp> make clean usually solves problems like that 2013-01-23T23:45:36 < Laurenceb_> actually make clean was giving an error 2013-01-23T23:45:49 < zyp> karlp, ssh, I'm just keeping the explanation simple ;) 2013-01-23T23:45:54 < Laurenceb_> lol 2013-01-23T23:46:23 < zyp> it's like «make is shitty, but some people are using it in shittyer ways than others» 2013-01-23T23:48:20 < Laurenceb_> might need to make a few changes to pins, but hopefully I can stick this on my olimexino tomorrow 2013-01-23T23:49:17 < Laurenceb_> and make a "shield" with jtag headers 2013-01-23T23:55:09 < Laurenceb_> so does launchpad gcc have sane malloc page size? 2013-01-23T23:56:14 < zyp> with nano specs it might have 2013-01-23T23:56:22 < zyp> haven't checked 2013-01-23T23:57:00 < zyp> nano specs otherwise shaves 15k or so off the built size 2013-01-23T23:57:33 < zyp> http://paste.jvnv.net/view/cm3cK 2013-01-23T23:57:41 < zyp> 17k rather 2013-01-23T23:58:52 < Laurenceb_> wow 2013-01-23T23:59:22 < Laurenceb_> thats a big difference --- Day changed Thu Jan 24 2013 2013-01-24T00:05:54 -!- Erlkoenig [~erlkoenig@pptp-212-201-75-252.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-24T00:06:50 -!- jef79m_lurking is now known as jef79m 2013-01-24T00:09:20 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-24T00:09:20 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-24T00:09:20 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-24T00:09:23 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-01-24T00:11:03 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Disconnected by services] 2013-01-24T00:11:09 -!- Steffann is now known as Steffanx 2013-01-24T00:12:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-24T00:18:17 <+Steffanx> The nano-spec built still works zyp 2013-01-24T00:18:18 <+Steffanx> ? 2013-01-24T00:22:25 < zyp> good question, haven't tested 2013-01-24T00:23:19 <+Steffanx> heh 2013-01-24T00:30:12 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-01-24T00:30:46 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-24T00:30:47 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-24T00:30:47 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-24T00:30:50 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-24T00:31:32 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-24T00:35:34 -!- jef79m is now known as jef79m_lurking 2013-01-24T00:36:14 -!- jef79m_lurking is now known as jef79m 2013-01-24T00:44:26 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-01-24T00:45:45 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-24T00:45:45 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-24T00:45:45 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-24T00:45:48 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-24T00:50:17 -!- DaKu is now known as daku 2013-01-24T00:59:17 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-24T01:06:35 -!- jef79m is now known as jef79m_lurking 2013-01-24T01:24:52 < dirty_d> damnit 2013-01-24T01:24:58 < dirty_d> all this time and it was just a typo 2013-01-24T01:25:35 < dirty_d> TIM1->CCR1 instead of TIM1->CR1 2013-01-24T01:26:25 < mervaka> lol 2013-01-24T01:34:03 < emeb> Well - news on the F37x bootloader front... 2013-01-24T01:34:27 < emeb> Just got a pre-release of AN2606 v15 2013-01-24T01:34:44 < emeb> still not on the ST website 2013-01-24T01:34:52 < zyp> neat, where from? 2013-01-24T01:34:59 < zyp> and what does it say? 2013-01-24T01:35:21 < emeb> One of the other users who's been dealing with this and who I've been emailing back & forth. 2013-01-24T01:35:45 < emeb> He filed a customer service req. w/ ST a while back and they sent him the new one. 2013-01-24T01:35:45 < Laurenceb_> link? 2013-01-24T01:35:49 < Laurenceb_> cool 2013-01-24T01:35:52 < emeb> no link - got it in email. 2013-01-24T01:36:36 < emeb> zyp: you have a place I can drop it for all to see? 2013-01-24T01:36:46 < zyp> sure, bin.jvnv.net 2013-01-24T01:37:18 <+Steffanx> emeb is allowed to share? :) 2013-01-24T01:37:53 < zyp> emeb is probably not supposed to have it in the first place, so I don't know :p 2013-01-24T01:38:02 < emeb> It came with no controls, so why not? 2013-01-24T01:38:06 < emeb> here - http://bin.jvnv.net/f/Qjbxx 2013-01-24T01:38:43 < zyp> it says it should support dfu 2013-01-24T01:38:47 < emeb> Anyway, F37x should have bootloader rev 4.1 and should support dfu 2013-01-24T01:38:48 <+Steffanx> Haha, microsoft. Just received an email about messenger shutting down. It actually just looks like the random crap you receive from your 'buddies' once in a while :D 2013-01-24T01:38:50 < emeb> But... 2013-01-24T01:39:06 < emeb> F38x has bootloader V5.0 and doesn't support dfu 2013-01-24T01:39:19 < emeb> when I read out the version on my f37x it reads v5.0 2013-01-24T01:39:38 < emeb> so I'm guessing that they've been accidentally loading v5.0 into the f37x 2013-01-24T01:40:08 < zyp> that might be why rev 15 is not out yet, because it's not consistent with reality :p 2013-01-24T01:40:14 <+Steffanx> That would be a major oops ... 2013-01-24T01:40:17 < zyp> this says draft, after all 2013-01-24T01:40:26 < emeb> yep 2013-01-24T01:41:30 <+Steffanx> the 383 has no usb? 2013-01-24T01:41:41 < emeb> guessing yes 2013-01-24T01:41:46 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-138.pptp.stw-bonn.de] has joined ##stm32 2013-01-24T01:42:59 < zyp> ah, that's the 1.8V ones 2013-01-24T01:43:03 -!- jef79m_lurking is now known as jef79m 2013-01-24T01:43:09 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Quit: Leaving] 2013-01-24T01:43:22 < emeb> Right, which wouldn't support the supply range needed for USB. 2013-01-24T01:43:35 <+Steffanx> The ref manual says no too :) 2013-01-24T01:44:07 <+Steffanx> *datasheet 2013-01-24T01:44:16 < Laurenceb_> i want to make a 1.8v uav controller 2013-01-24T01:44:21 < zyp> so, they made a newer bootloader version without usb for f38x, then accidentially loaded that into the f37x 2013-01-24T01:44:26 < Laurenceb_> pity theres no 1.8v mems sensors :( 2013-01-24T01:44:32 < Laurenceb_> fail 2013-01-24T01:44:32 < zyp> that seems like a reasonable explanation 2013-01-24T01:44:39 < emeb> zyp: seems right to me 2013-01-24T01:44:42 <+Steffanx> And very stupid 2013-01-24T01:44:55 <+Steffanx> and funny. :P 2013-01-24T01:45:38 < emeb> My guess is that this is an anomaly - If you were to buy some F37x parts later on they'll have been quietly fixed. 2013-01-24T01:45:41 <+Steffanx> Nothing on how to change it i guess? 2013-01-24T01:45:42 < Erlkoenig> my uni library has a book about MEMS... ^^ 2013-01-24T01:46:35 < emeb> Steffanx: to do that they'd first have to admit there was a problem. 2013-01-24T01:46:36 < zyp> emeb, if it's going to be fixed, I assume we'll see it on the errata sheet when it's updated 2013-01-24T01:46:42 <+Steffanx> I mean. You would be screwed if you bought a few k chips.. 2013-01-24T01:47:06 < emeb> Steffanx: right, especially if you already installed them. 2013-01-24T01:47:13 <+Steffanx> Yeah. 2013-01-24T01:47:29 < emeb> If they were still in the factory packaging they'd likely take them back. 2013-01-24T01:47:42 <+Steffanx> And you stupid when you didn't test it yoursefl though :) 2013-01-24T01:47:55 <+Steffanx> -you 2013-01-24T01:48:01 < zyp> well, we did :) 2013-01-24T01:48:13 < emeb> I'd guess that it's theoretically possible to reflash the system memory area if you know the right unlock codes. 2013-01-24T01:48:39 < emeb> And it's possible that they could make some sort of WinXX app that would do it via the serial bootloader. 2013-01-24T01:48:41 <+Steffanx> ST does it :) 2013-01-24T01:49:15 < emeb> But the question is if this is a big enough problem to make it worthwhile, or if they just pretend it didn't happen. 2013-01-24T01:49:20 < zyp> emeb, if so, that would be pretty easy to reverse engineer :p 2013-01-24T01:49:49 < emeb> zyp: right - and that would be "giving away the store" and thus unlikely to be let out in the wild. 2013-01-24T01:49:52 < ds2> there are 1.8V mems sensors 2013-01-24T01:51:29 <+Steffanx> I think they don't care enough. So it never happened 2013-01-24T01:52:22 < emeb> Steffanx: Yeah, it'll be "deny everything" unless you're a big customer with clout. 2013-01-24T01:52:58 < zyp> I wouldn't be too sure about that 2013-01-24T01:53:29 < zyp> but then I'm optimistic :) 2013-01-24T01:54:21 < zyp> they have larger fails on their errata sheet, so I don't see why they would have to sweep this under the carpet when it's publicly known 2013-01-24T01:55:18 < emeb> Yeah - hard to deny when all you need to do is hook it to the bootloader app and point at the rev #. 2013-01-24T01:55:45 <+Steffanx> You work for ~ST so you are biased zyp :P 2013-01-24T01:56:16 < zyp> STE is not strictly ST :p 2013-01-24T01:56:25 <+Steffanx> ~ST :) 2013-01-24T01:59:20 < emeb> zyp: true? -> http://www.reddit.com/r/pics/comments/1749wv/this_is_how_cold_it_is_in_norway_right_now/ 2013-01-24T01:59:30 -!- Laurenceb_ [~Laurence@host86-168-104-160.range86-168.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-01-24T01:59:55 < zyp> I wouldn't be surprised 2013-01-24T02:00:21 <+Steffanx> norway is big ass you know emeb 2013-01-24T02:00:23 < zyp> was somewhere between -10..-15°C here today 2013-01-24T02:00:27 <+Steffanx> There is north and south norway.. 2013-01-24T02:00:43 < emeb> Steffanx: no kidding? :P 2013-01-24T02:01:00 <+Steffanx> Yeah, but it bet there is a 100C difference between north and south :) 2013-01-24T02:01:10 < zyp> and I'm on the south coast, which is not exactly the coldest place in norway :p 2013-01-24T02:01:16 < emeb> hmmm - possible energy source... 2013-01-24T02:01:33 < emeb> exploit the temperature differential of Norway. 2013-01-24T02:01:43 <+Steffanx> It's here ~-8C i think 2013-01-24T02:01:53 < BrainDamage> there are actually some proposed stupidly long tunnels between countries/mountain chains to exploit deltaT and deltaP 2013-01-24T02:02:16 < BrainDamage> which would create massive air & heat flow trough the tunnel 2013-01-24T02:02:42 < emeb> upsetting the balance of nature and throwing everything into CHAOS! 2013-01-24T02:02:58 < zyp> when the timing belt on my car broke while I was driving north a christmas vacation some years ago, I found myself stuck in -25°C 2013-01-24T02:03:24 <+Steffanx> Ha, BrainDamage. You and your science :) 2013-01-24T02:03:36 < zyp> I've always lived at the coast, either north or south, and it doesn't get that cold that close to the ocean 2013-01-24T02:04:03 <+Steffanx> So zyp went iceskating yet? 2013-01-24T02:04:08 < zyp> ha 2013-01-24T02:04:19 <+Steffanx> or is that something we only do here? 2013-01-24T02:04:41 < zyp> no, people do it here too 2013-01-24T02:04:49 < zyp> well, some people do 2013-01-24T02:04:50 <+Steffanx> Yeah, I know one : bøkko :) 2013-01-24T02:05:13 < zyp> I've tried ice skating once 2013-01-24T02:05:14 <+Steffanx> hårvard 2013-01-24T02:05:20 < zyp> it was quite fun 2013-01-24T02:06:08 < BrainDamage> I had fun once, it was terrible 2013-01-24T02:06:15 < zyp> :) 2013-01-24T02:06:28 < ds2> blah... 25C 2013-01-24T02:06:39 <+Steffanx> The ice skates i have are called after you: "Noren" .. which translates to norwegians ) 2013-01-24T02:06:44 < ds2> /echo eval (25*9/5)+32 2013-01-24T02:06:45 < ds2> blah 2013-01-24T02:07:05 < ds2> arrrg 2013-01-24T02:07:14 < zyp> well, I was wasting away a day in Oslo with some people I know there, and they had a nice skating rink there 2013-01-24T02:07:20 <+Steffanx> Ha, go away with your Fahrenheit 2013-01-24T02:07:25 < ds2> oh -13F 2013-01-24T02:07:44 < zyp> I'm not sure we have any rinks down here, and none up north 2013-01-24T02:07:53 < zyp> so that's why I haven't skated more 2013-01-24T02:08:04 < ds2> was that rink with real ice? 2013-01-24T02:08:09 < BrainDamage> I've only skate on artificial rinks 2013-01-24T02:08:12 < emeb> I used to skate on ponds and roads in Ohio 2013-01-24T02:08:18 < BrainDamage> I bet it's awesome to do on a river or lake 2013-01-24T02:08:20 < zyp> ds2, as opposed to what? 2013-01-24T02:08:39 < ds2> zyp: isn't there a plastic surface stuff ? 2013-01-24T02:08:47 < zyp> oh, dunno 2013-01-24T02:08:53 < zyp> was real ice here 2013-01-24T02:08:56 < emeb> haven't lived in an area with consistent ice for years though. 2013-01-24T02:09:07 < ds2> emeb: time to move to flagstaff? 2013-01-24T02:09:10 < BrainDamage> the problem is that here when it freezes it's usually too thin 2013-01-24T02:09:17 <+Steffanx> Here we have artificial, but frozen by nature 'rinks' BrainDamage :) 2013-01-24T02:09:18 < zyp> it's a fountain during summer 2013-01-24T02:09:28 < emeb> ds2: flagstaff is for hippies. :) 2013-01-24T02:09:41 < BrainDamage> I'd have to go up the mountains to see sufficiently thick frozen lakes to skate 2013-01-24T02:09:55 <+Steffanx> it's never cold in italy? 2013-01-24T02:10:17 < zyp> http://en.wikipedia.org/wiki/Spikersuppa 2013-01-24T02:10:18 < BrainDamage> sure it's cold, but where I am hardly goes below say -5 2013-01-24T02:10:26 <+Steffanx> 0h, you have berlusconi with his hot girls to warm italy up 2013-01-24T02:10:39 < BrainDamage> up the mountains it can reach -30 2013-01-24T02:12:31 < emeb> meanwhile, in Arizona today it's +30C 2013-01-24T02:13:07 <+Steffanx> The better temperatures 2013-01-24T02:13:35 <+Steffanx> Nah, 20-25C is better 2013-01-24T02:14:31 <+Steffanx> And here we are talking about the weather 2013-01-24T02:14:34 <+Steffanx> … gn :P 2013-01-24T02:14:55 < emeb> things got boring fast. Steffanx got sleepy 2013-01-24T02:15:17 <+Steffanx> It's 1:15 am.. 2013-01-24T02:15:22 < zyp> hmm, next week is gonna be >0°C 2013-01-24T02:16:37 < emeb> So I was grepping through the startup_stm32f37x.s the other night and saw this: .equ BootRAM, 0xF1E0F85F 2013-01-24T02:16:43 < emeb> wonder what that means. 2013-01-24T02:16:45 < ds2> emeb: really? after all the 30's last week? 2013-01-24T02:17:03 < emeb> ds2: inorite! 2013-01-24T02:17:33 < zyp> emeb, is it referenced from anywhere? 2013-01-24T02:17:42 < emeb> zyp: not that I can see 2013-01-24T02:19:52 < zyp> google doesn't turn up anything but that file, so I suspect nonsense 2013-01-24T02:20:25 < emeb> trying a recursive grep on the F373 libraries... 2013-01-24T02:20:37 < emeb> what's the syntax on that again? 2013-01-24T02:20:52 < zyp> grep -r BootRAM . 2013-01-24T02:20:52 < zyp> ? 2013-01-24T02:21:05 < emeb> derp 2013-01-24T02:21:20 < emeb> yeah - only shows up in that one place 2013-01-24T02:22:52 -!- dekar [~dekar@212.255.104.84] has joined ##stm32 2013-01-24T02:22:55 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-24T02:23:14 < emeb> need to get the right linker script for my F303. 2013-01-24T02:23:33 < emeb> currently using the one from my F373 builds, but the memory sizes are known to be different 2013-01-24T02:23:40 < zyp> yep 2013-01-24T02:23:53 < emeb> F303 has a ccm too, no? 2013-01-24T02:23:59 < zyp> yep 2013-01-24T02:24:04 < zyp> http://cgit.jvnv.net/laks/tree/ld_scripts <- I got a collection here 2013-01-24T02:24:12 < emeb> ty 2013-01-24T02:27:23 < emeb> heh - AAPL has _only_ 18% yearly growth so naturally the market freaks out. 2013-01-24T02:35:38 -!- Erlkoenig [~erlkoenig@pptp-212-201-77-138.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-24T02:38:23 <+Steffanx> You care way too much emeb 2013-01-24T02:38:33 < emeb> Steffanx: not really. 2013-01-24T02:38:55 < emeb> although it might be argued that showing any interest at all is caring too much. 2013-01-24T02:40:38 <+Steffanx> Yeah, when it comes to Apple and crap. 2013-01-24T02:41:13 < emeb> anyone know what this means in a linker script? -> *(.eh_frame) 2013-01-24T02:45:28 <+Steffanx> zyp is going to be that anyone :) 2013-01-24T02:45:40 <+Steffanx> unless he fell asleep 2013-01-24T02:47:01 < gxti> http://www.airs.com/blog/archives/460 2013-01-24T02:47:12 < emeb> doesn't matter. googled it. "exception header section" 2013-01-24T02:47:20 < gxti> ^ googled it 2013-01-24T02:47:27 <+Steffanx> ha 2013-01-24T02:47:53 <+Steffanx> I love it when others google things to answer a question on IRC 2013-01-24T02:48:18 < emeb> usual response to that is lmgtfy.com 2013-01-24T02:48:39 < gxti> because being patronizing is so convincing 2013-01-24T02:48:56 < emeb> right. 2013-01-24T02:48:58 < gxti> "oh, i see now that i was wrong to ask a simple question. i shall correct my behavior in the future." said noone ever 2013-01-24T02:49:08 < gxti> at least link to regular google ;p 2013-01-24T02:49:28 < emeb> then there's also "google down again?" 2013-01-24T02:49:38 <+Steffanx> lmgtfy is something for facebook, 4chan and crap 2013-01-24T02:50:58 <+dekar> http://blogs.arm.com/embedded/879-shrink-your-mcu-code-size-with-gcc-arm-embedded-47/ 2013-01-24T02:51:07 <+dekar> http://pastebin.com/NYuEntB4 2013-01-24T02:51:22 <+dekar> TNT beats it so hard 2013-01-24T02:51:36 < emeb> nice 2013-01-24T02:51:38 <+dekar> and they're even using some stripped down newlib version 2013-01-24T02:52:10 <+dekar> it's the TNT_Example project in case someone cares 2013-01-24T02:52:21 <+Steffanx> The nano stuff dekar ? 2013-01-24T02:52:29 <+dekar> yeah 2013-01-24T03:00:16 <+Steffanx> You should use that nano stuff too :) 2013-01-24T03:00:40 <+Steffanx> *nano-spec 2013-01-24T03:01:40 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Ping timeout: 248 seconds] 2013-01-24T03:06:48 < mervaka> emeb: i've just made a massive improvement to the integrity of the data :) 2013-01-24T03:06:56 < mervaka> using separate interrupts 2013-01-24T03:07:27 < mervaka> just need to link input to output correctly now, i think that's the one remaining weak link. 2013-01-24T03:10:22 < emeb> mervaka: cool 2013-01-24T03:10:34 < mervaka> just crackly now 2013-01-24T03:10:40 < mervaka> rather than ringey 2013-01-24T03:10:43 < emeb> separate interrupts for both tx & rx? 2013-01-24T03:10:48 < mervaka> 4 ISRs now 2013-01-24T03:10:52 < emeb> ugh 2013-01-24T03:10:57 < mervaka> i know :( 2013-01-24T03:11:03 < mervaka> but it seems necessary 2013-01-24T03:11:14 < emeb> no idea why that would be needed - haven't needed it on my stuff. 2013-01-24T03:11:20 < gxti> heh, tried out the gcc arm embedded toolchain and saved a whole 300 bytes 2013-01-24T03:11:28 < gxti> thanks ARM! /s 2013-01-24T03:11:40 < mervaka> well i'm open to anything at this point. 2013-01-24T03:11:48 < mervaka> anything that makes a good demo. 2013-01-24T03:11:57 < emeb> yeah - that. 2013-01-24T03:12:11 < mervaka> i'm aiming for a job at Allen & Heath when i'm done at uni. 2013-01-24T03:12:15 < emeb> gxti: what compiler was your baseline? 2013-01-24T03:12:22 < gxti> emeb: summon-arm-toolchain 2013-01-24T03:12:27 < emeb> mervaka: aim high! 2013-01-24T03:12:30 < mervaka> :p 2013-01-24T03:12:35 < mervaka> A&H is local and awesome 2013-01-24T03:12:37 < gxti> gcc 4.6 apparently 2013-01-24T03:12:53 < emeb> gxti: right. Tried launchpad 4.7? 2013-01-24T03:12:56 < gxti> i mean, i'm not complaining, but it can't work miracles 2013-01-24T03:13:32 < emeb> err - I guess that's what you meant. 2013-01-24T03:14:01 < emeb> gcc arm embedded = launchpad. :P 2013-01-24T03:14:31 < gxti> i guess so. if the only thing 'launchpad' about it is that it's on launchpad.net, that's probably not the best thing to call it 2013-01-24T03:14:44 < emeb> *nod* 2013-01-24T03:15:05 < gxti> i had assumed it was something texas instruments related 2013-01-24T03:15:29 < emeb> heh - because of the launchpad demo boards. 2013-01-24T03:15:48 < gxti> in hindsight that was a stupid association to make 2013-01-24T03:16:05 < gxti> err, no, they do use that for ARM parts don't they? 2013-01-24T03:16:06 < emeb> must admit the thought came to me also 2013-01-24T03:16:12 < gxti> it's not just msp430 crap 2013-01-24T03:16:21 < gxti> anyway 2013-01-24T03:16:24 < emeb> yeah - the stellaris part is also a launchpad. 2013-01-24T03:16:31 < emeb> bbiaw - dinner 2013-01-24T03:16:37 < gxti> i will use it, it's newer than SAT and 300 bytes is still more than zero 2013-01-24T03:20:05 <+Steffanx> 300 bytes on 301 bytes gxti or what? 2013-01-24T03:20:38 < gxti> lol no, 30544 -> 30240 2013-01-24T03:20:56 < gxti> this isn't my latest code, just some crap i had lying around with a clean makefile 2013-01-24T03:21:22 < gxti> mostly i'm squeezed for RAM anyway, not flash. and mostly due to my own laziness. 2013-01-24T03:22:36 < gxti> need to take a close look at where it's all going 2013-01-24T03:31:10 < mervaka> right, shower and bed time 2013-01-24T03:31:11 < mervaka> nn 2013-01-24T03:33:37 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-01-24T03:38:58 <+dekar> gxti, have you even considered using TNT? 2013-01-24T03:39:29 <+dekar> gxti, http://pastebin.com/NYuEntB4 2013-01-24T03:43:17 < gxti> dekar: i don't know what that is 2013-01-24T03:43:33 <+Steffanx> His toolchain gxti 2013-01-24T03:43:38 <+Steffanx> /topic :) 2013-01-24T03:45:45 < gxti> downlerping 2013-01-24T03:47:23 <+Steffanx> gxti is infected by the web.. especially 4chan :(( 2013-01-24T03:47:48 < gxti> you can leave /b/ but /b/ never leaves you 2013-01-24T03:47:57 < gxti> although i have no idea how 'downlerping' cued you to say that 2013-01-24T03:48:34 <+Steffanx> The fact that the word consists of down+some other weird word 2013-01-24T03:48:38 <+Steffanx> you meant downloading 2013-01-24T03:48:48 <+Steffanx> and the fact that the word doesnt exist 2013-01-24T03:49:49 < gxti> true, all new words are invented at 4chan these days 2013-01-24T03:50:11 <+Steffanx> Yes, at least 99.9% of the urbandictionary is 2013-01-24T03:53:02 <+Steffanx> 4chan infected the entire www. So automagically it infected you gxti 2013-01-24T03:54:19 * emeb must constantly refer to urbandictionary. 2013-01-24T03:55:19 < emeb> you kids and your crazy lingo. 2013-01-24T03:55:25 * emeb shakes cane 2013-01-24T03:56:06 <+dekar> Steffanx, you know what's funny? The blog post talks about µCs having only 4k of memory, yet when I compiled my TNT_Example project using ARM GCC Embedded I got a linker error cause it couldn't fit the code in the 32k flash section I had set in my linkerscript. Thus I had to make the section bigger. YAGARTO did a much better job. 2013-01-24T03:56:48 <+dekar> I think even SAT managed to fit the example in 32k 2013-01-24T03:57:25 <+Steffanx> Uhm, emeb … i feel the same about some words you use 2013-01-24T03:57:51 < emeb> Steffanx: except you'll find those in a _regular_ dictionary. :) 2013-01-24T03:57:57 <+Steffanx> Not always 2013-01-24T03:58:08 < emeb> now I'm mystified. 2013-01-24T03:58:13 <+Steffanx> dekar, and tnt makes it fit inside the 16k :P 2013-01-24T03:58:32 <+Steffanx> When it happens you'll hear from me emeb 2013-01-24T03:58:44 < emeb> Steffanx: I look forward to this with interest. 2013-01-24T03:58:57 < gxti> grumble... spend 15 minutes downloading precompiled tnt and it links against older system libs 2013-01-24T03:59:07 <+Steffanx> Ha 2013-01-24T03:59:35 <+dekar> gxti, the linux one? Haven't gotten any feedback on that so far :/ 2013-01-24T03:59:41 < emeb> those are bits that YOU'LL NEVER GET BACK!! 2013-01-24T04:00:04 < gxti> i just installed fedora 18 so that's probably part of the problem 2013-01-24T04:00:13 <+dekar> gxti, which library is the problem? 2013-01-24T04:00:24 < gxti> libgmp.so.3, i have libgmp.so.10 2013-01-24T04:00:39 <+dekar> shouldn't a newer version work? 2013-01-24T04:00:48 < gxti> that's not how sonames work 2013-01-24T04:01:02 <+dekar> I did build it on Debian stable 2013-01-24T04:01:05 < gxti> if the number is different it means there was an ABI change 2013-01-24T04:01:16 < gxti> GAE is not linked against libgmp at all, apparently 2013-01-24T04:01:23 < qyx_> make symlink and try :X 2013-01-24T04:01:28 < gxti> heh 2013-01-24T04:01:31 < gxti> sure why not 2013-01-24T04:01:38 <+dekar> gxti, debootstrap a debian and chroot :) 2013-01-24T04:01:44 < qyx_> uff 2013-01-24T04:01:46 < gxti> no. 2013-01-24T04:02:05 <+dekar> or just run ./toolchain.sh 2013-01-24T04:02:07 < gxti> surprise, that worked 2013-01-24T04:02:11 <+Steffanx> linux.. the curse 2013-01-24T04:02:21 <+dekar> nice 2013-01-24T04:02:44 < gxti> 29424 vs 30240 with AGE 2013-01-24T04:02:50 < gxti> so good job 2013-01-24T04:02:55 <+dekar> yay I win :) 2013-01-24T04:02:57 < gxti> [assuming it still works] 2013-01-24T04:03:14 < emeb> dekar: what version of gcc? 2013-01-24T04:03:24 <+dekar> You might even wanna try LTO, for larger projects it often strips the size further. 2013-01-24T04:03:34 <+dekar> emeb, Linaro 4.7 2013-01-24T04:03:52 < emeb> hmm... 2013-01-24T04:04:15 <+dekar> emeb, TNT isn't so much about the GCC version, more about the way I configured newlib - it also has LTO and the Gold linker 2013-01-24T04:04:49 < gxti> with -O3 things shuffle around, now AGE is worst at 42688, SAT with 41552, and TNT still wins with 40176 2013-01-24T04:04:49 <+dekar> also when running the build script you can use any version of GCC you like 2013-01-24T04:05:38 < emeb> right 2013-01-24T04:05:52 < emeb> grabbing a pre-built now to check on my stuff 2013-01-24T04:06:20 <+dekar> gxti, try adding "-Os -flto -flto-partition=none -fno-use-linker-plugin" to your LDFLAGS 2013-01-24T04:06:20 < gxti> but yeah i will have to recompile this 2013-01-24T04:06:29 < gxti> GDB is linked against python 2.6, i have 2.7 2013-01-24T04:08:33 <+dekar> it makes linking take ages and code reductions/increases seem to be mostly random, but for my 120kb toolchain it does strip about 4k 2013-01-24T04:08:42 <+dekar> *firmware 2013-01-24T04:09:47 <+dekar> you mentioned downloading for 15 minutes, how's my servers download speed? 2013-01-24T04:09:54 < gxti> dekar: no change if i just put it in ldflags, in cflags it makes the link fail with a redeclared var 2013-01-24T04:09:57 < gxti> dekar: poor 2013-01-24T04:10:13 < gxti> 15 minutes :p 2013-01-24T04:10:25 <+dekar> :/ 2013-01-24T04:10:37 < emeb> was pretty fast for me - about 3min 2013-01-24T04:10:41 < gxti> you should be able to plop it on github 2013-01-24T04:10:59 <+dekar> gxti, actually, try adding it to CFLAGS and LDFLAGS 2013-01-24T04:10:59 < gxti> i don't know if they have an actual downloads thing or if you have to cheat and put it in a repo 2013-01-24T04:11:10 < gxti> yeah, fixing the link error now 2013-01-24T04:12:22 < gxti> chibios declares __main_stack_end__ as a func in one place and a int in another, both extern 2013-01-24T04:14:14 <+dekar> gxti, LTO sometimes breaks things, I have once patched newlib to compile with LTO and had really weird results. 2013-01-24T04:14:25 <+dekar> So it's probably not worth the hassle. 2013-01-24T04:15:51 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 252 seconds] 2013-01-24T04:16:38 < gxti> dekar: 44212, with -Os... think it broke gc-sections 2013-01-24T04:16:58 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-24T04:17:05 < gxti> it complained about a undefined symbol that is normally never referenced 2013-01-24T04:18:04 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-24T04:18:44 <+dekar> Well turn it off then, for the TNT Example project it also gains 10k in size if you use LTO. 2013-01-24T04:19:58 <+dekar> gxti, LTO (Link Time Optimizations) basically replaces gc-sections. The linker basically compiles everything in a whole chunk and is thus supposed to know what's needed and what isn't. 2013-01-24T04:21:09 <+dekar> When using LTO the compiler outputs some GCC intermediate code that is also attached to the object files IIRC, which later gets compiled by the linker. 2013-01-24T04:23:01 < emeb> sadness - pre-built won't work on Fedora 17 due to lack of libgmp.so.3 2013-01-24T04:23:24 < gxti> emeb: symlink works. 2013-01-24T04:23:32 < gxti> there are other problems though, like libpython. 2013-01-24T04:23:41 < gxti> i'm on f18 but both have python 2.7 2013-01-24T04:23:51 < emeb> aha 2013-01-24T04:26:34 <+dekar> I guess I should link the whole OS statically 2013-01-24T04:26:41 < gxti> hm 2013-01-24T04:26:44 < emeb> heh 2013-01-24T04:26:51 <+Steffanx> linux.. the curse 2013-01-24T04:26:59 < emeb> yin/yang 2013-01-24T04:27:12 <+dekar> Steffanx, have you seen my blog post about that SDR software I bundled for OSX? 2013-01-24T04:27:18 < gxti> it's like DLL hell, but you can't pretend it doesn't exist :D 2013-01-24T04:27:34 <+Steffanx> when did you post it? 2013-01-24T04:27:57 <+dekar> It has thousands of downloads and like 80 comments of prople telling me how awesome of a job I have done by bundling it up with all the libraries it needs. 2013-01-24T04:28:19 <+Steffanx> os x bundles ftw :P 2013-01-24T04:28:35 <+dekar> I think my bundle has 50mb libraries :/ 2013-01-24T04:29:11 < gxti> static linking sucks but maybe you can copy the libs it depends on into a subdir and recompile with -rpath? 2013-01-24T04:29:13 <+dekar> And people asked me to bundle up the whole GNU Radio, which then will pull python etc 2013-01-24T04:29:18 < emeb> http://dekar.wc3edit.net/2012/09/30/osx-port-of-the-awesome-gqrx-sdr-software/ 2013-01-24T04:29:19 < gxti> but then it will have a hardcoded install path.. 2013-01-24T04:30:25 <+Steffanx> I should get me one of those fancy usb receivers 2013-01-24T04:30:31 * emeb has 2 2013-01-24T04:31:03 < emeb> "awesome" might be a bit of a stretch, but they're not bad. 2013-01-24T04:31:05 <+Steffanx> thanks for hteinfo 2013-01-24T04:31:12 <+Steffanx> *the info 2013-01-24T04:31:22 <+dekar> Steffanx, I think the 820 tuner based ones are pretty nice and uber cheap (10€ on ebay) 2013-01-24T04:31:55 < emeb> those working out OK? I've got e4000 tuners 2013-01-24T04:32:36 < emeb> the 820s were just showing up when I got mine and were still causing headaches. 2013-01-24T04:33:00 <+dekar> Well if they don't work for Steffanx I could always send him the spare e4000 I got. ;) http://dekar.wc3edit.net/wp-content/uploads/2012/11/rtlsdr_hf_mod.jpg 2013-01-24T04:33:16 <+Steffanx> :P 2013-01-24T04:33:23 < emeb> heh - wired it direct 2013-01-24T04:33:29 < emeb> for HF band access... 2013-01-24T04:33:42 <+dekar> emeb, http://dekar.wc3edit.net/wp-content/uploads/2012/11/hf_mod_transformer_H16105DF.jpg 2013-01-24T04:34:01 < emeb> yep - saw it. :) 2013-01-24T04:35:00 <+dekar> emeb, I heard the 820 has the superior reception, I don't have any though. 2013-01-24T04:35:19 < emeb> huh. Might be time to hit ebay and pick one up for giggles. 2013-01-24T04:36:09 <+Steffanx> Something to look into 'tomorrow' 2013-01-24T04:36:16 < gxti> anyone used uip? and if so, how does it contrast with lwip? 2013-01-24T04:36:17 <+Steffanx> it's 3:36 am :P 2013-01-24T04:36:22 < emeb> Actually - what I'd really like to do is build my own SDR with a decent wideband tuner. 2013-01-24T04:36:30 <+Steffanx> dekar never seems to sleep 2013-01-24T04:36:35 < emeb> Nor does Steffanx 2013-01-24T04:37:10 <+Steffanx> You never see the "this computer went to sleep" quit message? 2013-01-24T04:37:33 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-01-24T04:37:42 < emeb> Steffanx: yeah, I do. But then *bam* you're back at some odd hour 2013-01-24T04:38:34 < gxti> never mind, looks like uip is kind of crappy. but i do want a bootloader and a crappy small bootloader is ok. 2013-01-24T04:38:53 <+dekar> uip? 2013-01-24T04:38:55 < emeb> bootloader? 2013-01-24T04:39:02 < emeb> I thought uip was an IP stack. 2013-01-24T04:39:08 <+dekar> me too 2013-01-24T04:39:12 < gxti> no shit 2013-01-24T04:39:20 < gxti> but if i want to make an ip bootloader i need an ip stack 2013-01-24T04:39:28 < emeb> ah 2013-01-24T04:40:49 < dirty_d> i got a sudden bout of laziness after i got an led to blink on my stm32f3discovery 2013-01-24T04:41:15 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-24T04:41:36 < dirty_d> maybe ill try i2c to the gyro or something 2013-01-24T04:42:03 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-24T04:43:46 < dirty_d> where the ehll is the gyro and compas? 2013-01-24T04:43:55 < dirty_d> i only see one chip that could be either i think 2013-01-24T04:44:05 < dirty_d> theyre both in one package? 2013-01-24T04:44:58 <+dekar> isn't that common? 2013-01-24T04:45:13 <+dekar> I think on my quadcopter they're in one package as well 2013-01-24T04:46:16 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 246 seconds] 2013-01-24T04:47:42 < dirty_d> dekar, yea 2013-01-24T04:47:56 < dirty_d> but it gives two separate model numbers 2013-01-24T04:48:10 < dirty_d> and i dont see either on the board 2013-01-24T04:48:38 < dirty_d> i see one qfn16 that is either, or both 2013-01-24T04:49:00 < dirty_d> and some other package im not sure of might be the other 2013-01-24T04:50:03 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-24T04:50:43 -!- jef79m is now known as jef79m_lurking 2013-01-24T04:52:39 < emeb> so, compared my little blinky app tnt vs arm-gcc - tnt wins by 24bytes 2013-01-24T04:52:47 < dirty_d> ok, theyre two separate chips 2013-01-24T04:57:55 < gxti> refreshed with my current code, 47264 becomes 45888 2013-01-24T04:58:57 <+dekar> emeb, try newlib if you want to see some difference 2013-01-24T04:59:08 < gxti> coocox was getting 48860 2013-01-24T04:59:09 <+dekar> use malloc, printf and the like 2013-01-24T04:59:42 <+dekar> https://github.com/EliasOenal/TNT_Example 2013-01-24T04:59:49 <+dekar> or just try that :) 2013-01-24T05:00:52 < gxti> need to do the bootloader sooner rather than later so i can start selling the hardware 2013-01-24T05:01:02 < gxti> hopefully it will fit in 16k :p 2013-01-24T05:01:03 < emeb> dekar: this is tiny code - only 6160 w/ TNT 2013-01-24T05:01:08 < gxti> (seems unlikely) 2013-01-24T05:01:19 < emeb> gxti: this your power analyzer? 2013-01-24T05:01:24 < gxti> no, ntp server 2013-01-24T05:01:29 < emeb> right 2013-01-24T05:01:39 < gxti> they're both f107 but the power meter has a spi flash that could be used for temp storage, this does not 2013-01-24T05:02:25 < gxti> i could also upgrade to the 128k part but i'm cheap 2013-01-24T05:03:23 < emeb> funny - DK doesn't even list the 64k part 2013-01-24T05:04:15 < gxti> yeah i'm a moron, it is 128k 2013-01-24T05:04:18 < gxti> problem solved 2013-01-24T05:04:19 <+dekar> If any of you comes up with improvements for TNT, I'll be glad to accept patches or whatever the github equivalent is. 2013-01-24T05:04:29 < emeb> \o/ 2013-01-24T05:04:44 < gxti> i'm probably never going to hit 64k which means i can either use the top of flash as scratch space, or flipflop somehow 2013-01-24T05:04:59 < gxti> or just use the bottom as a bootloader or something 2013-01-24T05:05:09 < emeb> go wild! 2013-01-24T05:05:21 < emeb> compile -O0 2013-01-24T05:05:32 < gxti> i need -O3 to get acceptable latency :| 2013-01-24T05:05:49 < gxti> it cuts the ping time in 3 or 4 or something ridic 2013-01-24T05:05:58 < emeb> unroll loops! Unroll ALL the loops! 2013-01-24T05:06:04 < gxti> heh 2013-01-24T05:06:35 < gxti> does uboot work on f1? ;p 2013-01-24T05:06:41 <+dekar> gxti, you can probably use optimizations selectively 2013-01-24T05:07:03 < emeb> I think uboot runs on everything from a PIC12 to an ARM Cortex A15 2013-01-24T05:07:19 < emeb> *kidding* 2013-01-24T05:18:02 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-24T05:21:08 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-24T05:27:20 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-24T05:40:24 < dirty_d> these i2c timings are confusing 2013-01-24T05:40:43 < zippe1> dekar: for starters, build multilibs so I don't have to build more than one version of TBT 2013-01-24T05:48:45 < gxti> ... i'll be damned 2013-01-24T05:48:59 < gxti> the AGE gdb works with openocd 2013-01-24T05:49:11 < gxti> whereas everything i tried before, hand-rolled and summon-arm-toolchain, failed hard 2013-01-24T05:49:47 < emeb> cool 2013-01-24T05:54:01 < zippe1> AGE? 2013-01-24T05:54:15 < zippe1> openocd's gdb protocol implementation is hosed, btw. 2013-01-24T05:55:01 < gxti> arm gcc embedded 2013-01-24T05:55:11 < gxti> zippe1: howso 2013-01-24T05:55:45 < zippe1> gxti: No target xml 2013-01-24T05:56:12 < zippe1> The dreaded "g packet" error 2013-01-24T05:56:16 < gxti> oic. in any case, i still have BMP boards showing up any day now. 2013-01-24T05:56:29 < gxti> this is just an amusing fact 2013-01-24T05:56:32 < zippe1> gxti: you should be fine; AGE + BMP works good 2013-01-24T05:56:41 < zippe1> BMP does the target-xml thing 2013-01-24T05:56:50 < gxti> yeah, unless i screwed up the boards. i transcribed them to altium and moved headers around. 2013-01-24T05:57:34 < gxti> improbable but something has to go wrong, always 2013-01-24T05:59:21 < zippe1> 8) 2013-01-24T06:06:52 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-24T06:15:35 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-24T06:18:22 -!- BJfreeman [~bjfree@157.sub-75-196-109.myvzw.com] has quit [Quit: had a good time] 2013-01-24T06:18:56 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-24T06:19:05 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-24T06:25:21 < dirty_d> tSYNC1 + tSYNC2 minimum value is 4x tI2CCLK = 83.3 ns. Example with tSYNC1 + tSYNC2 = 1000 ns 2013-01-24T06:25:31 < dirty_d> 1000 is pretty high from 83 2013-01-24T06:25:37 < dirty_d> whats the deal? 2013-01-24T06:34:18 -!- jef79m_lurking is now known as jef79m 2013-01-24T06:35:09 -!- jef79m is now known as jef79m_lurking 2013-01-24T07:29:50 < LeelooMinai> Anyone used watchpoints on eclipse + gdb with F0 discovery? They don't seem to trigger for me on write ever 2013-01-24T07:33:20 < ds2> hmmmm blinky is sure slow 2013-01-24T07:33:59 < ds2> the default clock on startup for a F103 (i.e. when control hits 0x0800 0000 is which clock? 2013-01-24T07:36:32 < emeb_mac> HSI 2013-01-24T07:36:40 < emeb_mac> ~8MHz 2013-01-24T07:44:04 < gxti> trimmed down lwip to make room for tcp, currently at 22k (out of 32) \o/ 2013-01-24T07:47:30 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 256 seconds] 2013-01-24T07:50:00 < ds2> hmmm 2013-01-24T07:50:13 < ds2> is it just 1 register to switch to the xtal? 2013-01-24T07:50:41 < emeb_mac> you have to turn it on, wait to stabilize, then switch. 2013-01-24T07:50:48 < LeelooMinai> http://i.imgur.com/oFO5XNh.png <- Anyways, debugger suggest that everything is fine there - ie hw breakpoint, but it does not trigger, weird 2013-01-24T07:53:44 < emeb_mac> ds2: you need both the CR and the CFGR to do that. 2013-01-24T07:53:52 < emeb_mac> (RCC_) 2013-01-24T07:54:06 < ds2> ohh 2013-01-24T07:54:18 < ds2> let me see if I can find sample code... trying to do some diag utils 2013-01-24T07:57:05 < emeb_mac> ds2: "system_stm32f10x.c" in the StdPeriph distribution from ST has example code that might help 2013-01-24T07:57:29 < ds2> which zip file is that in? CDxxxxxx.zip? or? 2013-01-24T07:58:44 < emeb_mac> http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f10x_stdperiph_lib.zip 2013-01-24T07:58:44 < zippe1> gxti: any reason not to use uIP? 2013-01-24T07:59:05 < ds2> doh 2013-01-24T08:07:45 -!- claude is now known as Claude 2013-01-24T08:19:47 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-24T08:24:28 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-24T08:24:40 -!- zlog [~zlog@ip24-255-189-172.ks.ks.cox.net] has quit [Ping timeout: 246 seconds] 2013-01-24T08:42:41 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-24T08:43:28 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 245 seconds] 2013-01-24T08:49:36 -!- toyz [52840164@gateway/web/freenode/ip.82.132.1.100] has joined ##stm32 2013-01-24T08:49:42 < toyz> gmorning 2013-01-24T08:51:00 < emeb_mac> evening 2013-01-24T08:51:19 < toyz> anyone knows agood usb os? 2013-01-24T08:52:26 < emeb_mac> whaddaya mean by "usb os"? 2013-01-24T08:53:03 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-01-24T08:53:26 < toyz> i need an os that would run off my bootable usb (4 gigs usb) 2013-01-24T08:54:13 < toyz> because i got windows with limitations (resets all data on restart) in my uni........... 2013-01-24T08:55:11 < emeb_mac> you know linux? 2013-01-24T08:59:09 < toyz> no 2013-01-24T08:59:22 < toyz> emeb_mac: not at all 2013-01-24T09:00:11 < emeb_mac> so you want a stripped-down version of windows that fits on a 4GB usb stick. 2013-01-24T09:03:30 < toyz> emeb_mac: kind of 2013-01-24T09:04:17 < emeb_mac> I remember hearing that there were somethings like that out there for WinXP. No idea if they're still around tho. 2013-01-24T09:04:38 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-24T09:06:36 -!- Claude is now known as claude 2013-01-24T09:06:41 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 248 seconds] 2013-01-24T09:18:53 < dongs> whoa lots bloggin 2013-01-24T09:19:16 < dongs> pbx.mune.nu/bootcd.iso has bootable WinPE image. 2013-01-24T09:19:27 < dongs> fairly old though 2013-01-24T09:19:33 < dongs> should make one using win7pe 2013-01-24T09:20:51 -!- baird [~cjb@ppp121-44-190-10.lns20.syd7.internode.on.net] has quit [Ping timeout: 245 seconds] 2013-01-24T09:20:58 -!- cjbaird [~cjb@ppp121-44-254-139.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-24T09:22:25 < emeb_mac> yo dongs 2013-01-24T09:25:26 -!- toyz [52840164@gateway/web/freenode/ip.82.132.1.100] has quit [Quit: Page closed] 2013-01-24T09:26:36 -!- toyz [52840164@gateway/web/freenode/ip.82.132.1.100] has joined ##stm32 2013-01-24T09:28:14 < dongs> sup 2013-01-24T09:28:15 < dongs> bloggin 2013-01-24T09:29:39 < emeb_mac> see we got an2606? 2013-01-24T09:34:17 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-24T09:38:37 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-24T09:42:49 < dongs> oh? 2013-01-24T09:48:06 < dongs> elektrinis: you fucking troll 2013-01-24T09:48:08 < dongs> err 2013-01-24T09:48:28 < elektrinis> what 2013-01-24T09:48:35 < dongs> wrong nick complete. 2013-01-24T09:48:41 < elektrinis> ok 2013-01-24T09:48:53 -!- cjbaird is now known as baird 2013-01-24T09:50:16 -!- toyz [52840164@gateway/web/freenode/ip.82.132.1.100] has quit [Quit: Page closed] 2013-01-24T09:50:45 -!- R2COM1 is now known as R2COM 2013-01-24T10:19:59 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-24T10:21:26 < baird> The zenith days of Australian electronics: https://www.youtube.com/watch?v=JbCr15KkBxY 2013-01-24T10:26:22 < zyp> dongs, someone sent him a rev15 draft 2013-01-24T10:26:24 < zyp> http://bin.jvnv.net/f/Qjbxx 2013-01-24T10:26:48 < zyp> which says that F37x should have same bootloader as F30x 2013-01-24T10:26:57 < dongs> lol 2013-01-24T10:27:02 < dongs> well, thats obviously.. wrong. 2013-01-24T10:27:08 < zyp> but F38x should have version 5 without usb, since it doesn't have a usb core 2013-01-24T10:27:24 < zyp> so we assume someone fucked up and loaded the bootloader for F38x into F37x 2013-01-24T10:27:39 < dongs> thats a fairly costly fuckup 2013-01-24T10:27:42 < dongs> if its true 2013-01-24T10:28:51 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-24T10:51:23 -!- jef79m_lurking is now known as jef79m 2013-01-24T11:15:06 -!- jef79m is now known as jef79m_lurking 2013-01-24T11:16:45 -!- jef79m_lurking is now known as jef79m 2013-01-24T11:19:33 -!- jef79m is now known as jef79m_lurking 2013-01-24T11:20:52 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-24T11:24:06 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-01-24T11:39:54 < dongs> http://i.imgur.com/9aK4M2U.png 2013-01-24T11:47:59 < zyp> nice 2013-01-24T11:48:11 < zyp> how is that supposed to mount relative to the panel? 2013-01-24T11:48:49 -!- Laurenceb_ [~Laurence@host86-168-104-160.range86-168.btcentralplus.com] has joined ##stm32 2013-01-24T11:50:20 < dongs> http://i.imgur.com/BGsl5bV.png like this 2013-01-24T11:50:36 < dongs> i talked with another dude who got hte panels and he didnt want any of the pcb sticking out 2013-01-24T11:50:46 < dongs> so he could stack them together side b side etc 2013-01-24T11:51:10 < dongs> and buttons are on the BACK 2013-01-24T11:51:12 < dongs> not the side. heh 2013-01-24T11:51:21 < dongs> should be familiar to zyp since hes a macfag. 2013-01-24T11:52:16 < zyp> hehe, yeah, my imac had power button on the back 2013-01-24T11:52:49 -!- _BJFreeman [~bjfree@81.sub-75-233-150.myvzw.com] has joined ##stm32 2013-01-24T11:53:06 < zyp> hmm, how are you supposed to see the led that way? light guide? 2013-01-24T11:53:11 -!- _BJFreeman is now known as BJfreeman 2013-01-24T11:53:43 < dongs> i guess, no good way really. 2013-01-24T11:54:02 < dongs> im not putting it on the back w/reflow 2013-01-24T11:54:12 < dongs> i could put pads on both sides for diy or something i guess 2013-01-24T11:54:19 < zyp> hmm, came up with a silly idea 2013-01-24T11:54:37 < zyp> pads for optional accel, for orientation detection 2013-01-24T11:54:41 < dongs> pfft 2013-01-24T11:54:52 < zyp> :p 2013-01-24T11:55:04 < dongs> next youre gonna want wireless hdmi 2013-01-24T11:55:06 < dongs> and battery pack 2013-01-24T11:55:13 < zyp> :D 2013-01-24T11:55:33 < dongs> i can do accel though.. which one? 2013-01-24T11:55:40 < zyp> didn't say I want it, I just considered it 2013-01-24T11:55:47 < dongs> well theres tons of wasted space 2013-01-24T11:55:49 < dongs> and pads are free 2013-01-24T11:56:44 < zyp> true enough 2013-01-24T11:56:54 < zyp> dunno, some cheap easily available shit? 2013-01-24T11:57:05 < dongs> adxl345 or mma845x is what I got a ton of 2013-01-24T11:57:11 < dongs> both < $1 2013-01-24T11:57:52 < BJfreeman> or ms5607 2013-01-24T11:58:14 < dongs> i dont think we need that. 2013-01-24T11:58:54 < dongs> mma845x it is. 2013-01-24T11:59:14 < zyp> no external pullups on buttons? will wakeup play nice with internal pullup? 2013-01-24T11:59:35 < dongs> i dont know? i thought wakup goes on w/high transition on PA0 2013-01-24T11:59:44 < zyp> or pulldowns maybe? guess buttons pulls high 2013-01-24T12:00:08 < dongs> was gonna do pd in software, i could put 10k down though 2013-01-24T12:03:27 < dongs> is there an appnote on wakeup shit 2013-01-24T12:04:20 < zyp> no idea, never looked into wakeup 2013-01-24T12:04:49 < dongs> Port PA.0 (WKUP pin) has a pull-down resistor, leading to a momentary switch, with Vcc on the other side of the switch, which should be enought to generate the required rising edge when the button is pressed. 2013-01-24T12:04:55 < dongs> looks like some other dude did a pd. 2013-01-24T12:06:06 < zyp> looks like usbmon class has a «screen orientation» field, but it's useless since it only specifies «landscape» and «portrait» 2013-01-24T12:06:20 < dongs> as opposed to? 2013-01-24T12:06:31 < zyp> 0, 90, 180, 270 degrees rotation? 2013-01-24T12:06:35 < dongs> oh 2013-01-24T12:06:41 < dongs> thats crazytalk. 2013-01-24T12:07:24 < zyp> doesn't matter, I don't assume there would be any present OS support for it anyway 2013-01-24T12:08:12 < dongs> so pulldown every other end of button? 2013-01-24T12:08:23 < zyp> huh? 2013-01-24T12:08:42 < dongs> i mean,,, one end of button to vcc, the signal end pull that down 2013-01-24T12:08:51 < zyp> sure 2013-01-24T12:09:04 < zyp> as you said, pads are free anyway, so it wouldn't hurt 2013-01-24T12:09:23 < zyp> better than figuring out later that you need it and have to hack it on like reset on my lpc board 2013-01-24T12:09:46 < dongs> Heh 2013-01-24T12:13:32 < dongs> ok, added that shit. 2013-01-24T12:14:00 -!- jef79m_lurking is now known as jef79m 2013-01-24T12:15:52 < zyp> hmm, are you running vbus on internal layer? 2013-01-24T12:16:59 < dongs> yes. 2013-01-24T12:17:06 < dongs> all the power is on l3. 2013-01-24T12:18:42 -!- Laurenceb_ [~Laurence@host86-168-104-160.range86-168.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-01-24T12:19:13 < zyp> hmm, you should probably have vias on each end of the ground track between the dp lanes, having only a single via in one end like that is probably not good for the signal 2013-01-24T12:19:34 < dongs> you mean lane flippin shit? 2013-01-24T12:19:42 < dongs> i spent a whole day on that stuff, theres no better way to do it 2013-01-24T12:19:49 < zyp> no, I mean on l1 2013-01-24T12:19:50 < dongs> unless you mean fill up gnd with vias around it 2013-01-24T12:20:06 < zyp> the long gnd fill between the lanes 2013-01-24T12:20:17 < dongs> o rite 2013-01-24T12:20:20 < dongs> ill poke some holesi n that 2013-01-24T12:23:22 < karlp> zippe1: oocd 0.6.1 works with gcc-arm-embedded 2012.q4 (4.7) at least, it's no longer giving the shit g packet stuff. 2013-01-24T12:23:30 < karlp> it does this though: http://fpaste.org/zwQX/ 2013-01-24T12:24:08 < karlp> but "monitor reset halt; continue" works well enough for me so far. 2013-01-24T12:24:34 < zyp> try doing that again with «set debug remote 1» 2013-01-24T12:24:46 < dongs> ok, poked 2013-01-24T12:25:07 < karlp> doing what, "run" or the halt continue? 2013-01-24T12:25:15 < zyp> the failing part 2013-01-24T12:25:56 < zyp> hmm, guess I should pick up one of those panels soon 2013-01-24T12:26:08 < dongs> they're 59.95 now. 2013-01-24T12:26:11 < zyp> dongs, where is the best place to get one from? 2013-01-24T12:26:23 < dongs> i just grabbed 2 more from my chinaman who's sending some crap to me 2013-01-24T12:27:02 < zyp> well, I'm asking where I should get one from :p 2013-01-24T12:27:18 < dongs> i got from some shady aliexpress outfit 2013-01-24T12:27:19 < karlp> fwiw http://fpaste.org/OIxF/ 2013-01-24T12:27:24 < dongs> but they dont ship, my guy picked htem up 2013-01-24T12:27:30 < karlp> but I'm not real keen on debugging openocd right now 2013-01-24T12:27:34 < dongs> just hit ebay theres a ton of ~60$ stuff 2013-01-24T12:27:35 < dongs> for that panel 2013-01-24T12:27:42 < dongs> some w/freshipping 2013-01-24T12:27:42 < karlp> going rework this eeprom stuff a bit more. 2013-01-24T12:28:12 < zyp> karlp, me neither, I was just interested in seeing where it fails 2013-01-24T12:30:10 < zyp> hmm, $70 shipped 2013-01-24T12:30:13 < zyp> good enough, I guess 2013-01-24T12:30:17 < dongs> that sounds reasonable 2013-01-24T12:30:37 < zyp> ipad 3 and 4 is same panel, right? 2013-01-24T12:30:44 < dongs> $59 for mine w/o ship, and 10 bucks for shipping 2013-01-24T12:30:50 < dongs> um i think so. is there 4? 2013-01-24T12:30:52 < dongs> no idea. 2013-01-24T12:30:56 < dongs> its the SPA1 or SPC2 2013-01-24T12:31:32 < dongs> btw board is 68x40 2013-01-24T12:33:49 < dongs> zyp: vias like this? http://i.imgur.com/5CEaeOU.png 2013-01-24T12:34:26 < dongs> the last lane is the aux shit, its lame/lowspeed. 2013-01-24T12:35:09 < zyp> should still avoid making loose ends like that on pcb 2013-01-24T12:35:11 < zyp> but yes 2013-01-24T12:38:43 < dongs> yea, urite 2013-01-24T12:39:16 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-111.pptp.stw-bonn.de] has joined ##stm32 2013-01-24T12:39:58 < dongs> i am not connecting "freefall" interrupt off accel 2013-01-24T12:40:00 < dongs> i hope you dont mind. 2013-01-24T12:40:10 < zyp> btw, how did the gopro auction work out for you? :p 2013-01-24T12:40:14 < dongs> well 2013-01-24T12:40:16 < dongs> one got refunded 2013-01-24T12:40:19 < dongs> second one... 2013-01-24T12:40:25 < dongs> my pal got shipping notice AND tracking number 2013-01-24T12:40:26 < dongs> ... 2013-01-24T12:40:27 < dongs> so im stil lwaiting 2013-01-24T12:41:51 < karlp> my friend bought one, got a notice from ebay that they'd cancelled the auction for fraud prevention, and to seek his money back from the vendor 2013-01-24T12:42:08 < karlp> should check how that's going... 2013-01-24T12:42:34 < zyp> I got my money refunded by ebay 2013-01-24T12:43:40 < zyp> ok, panel ordered 2013-01-24T12:44:41 < karlp> huh, nope, friend has a tracking number apparently. 2013-01-24T12:45:26 < karlp> groovy bug in the eeprom on L1. can write with auto erase by the word and by the byte, but you can't write a zero by the half word. only by whole words or bytes 2013-01-24T12:45:44 < karlp> not errata though, just a footnote: "1. This restriction applies only for medium density devices. 2013-01-24T12:45:47 < karlp> " 2013-01-24T12:46:05 < zyp> heh 2013-01-24T12:47:43 < karlp> oh no, bug on byte writes too. 2013-01-24T12:47:47 < karlp> lame. 2013-01-24T12:50:10 < karlp> dongs: does the tracking number work? 2013-01-24T12:51:10 -!- jef79m is now known as jef79m_lurking 2013-01-24T12:55:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-24T13:19:24 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-01-24T13:19:25 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-01-24T13:19:25 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-24T13:22:23 < dongs> karlp: yes 2013-01-24T13:22:34 < dongs> posted in GUANGDONG or something. 2013-01-24T13:23:04 < zyp> enjoy your pieces of wood, or something like that? :) 2013-01-24T13:23:11 < dongs> yea 2013-01-24T13:24:58 < karlp> huh, rebuilt my own gdb, same version as in g-a-e, now I get the g packet too long xml errors. 2013-01-24T13:25:11 < karlp> ./configure --with-libexpat doesn't complain when libexpat isn't installed, 2013-01-24T13:25:17 < karlp> it just silently ignores it 2013-01-24T13:25:25 < dongs> ur expat 2013-01-24T13:25:57 < karlp> was going to try and play with zyp's pythong logging stuff 2013-01-24T13:26:16 < zyp> karlp, did you build it with same flags? 2013-01-24T13:28:05 < karlp> as far as I can tell by looking at the scripts. 2013-01-24T13:28:33 < karlp> but apparently not... 2013-01-24T13:33:45 < dongs> ok, gonna connect one of acc_int's anyway. 2013-01-24T13:33:53 < dongs> i think you can trigger it on orientation change 2013-01-24T13:33:56 < dongs> :p 2013-01-24T13:34:02 < dongs> if I remember reading datasheet correctly. 2013-01-24T13:44:17 < karlp> dekar: http://pastebay.net/1177343 2013-01-24T13:46:59 < zyp> check your installed bison version 2013-01-24T13:50:24 < dongs> http://www.google.com/finance?q=NASDAQ%3AAAPL&ei=Rx8BUai8LcXLlAXw4QE 2013-01-24T13:50:39 < dongs> apparently 50billion of crapplestock poofed out the window this morning 2013-01-24T13:53:49 < Laurenceb> lolzors 2013-01-24T13:54:03 < Laurenceb> whats so good about bmp anyways? 2013-01-24T13:54:09 < Laurenceb> what can it do stlink cant? 2013-01-24T13:54:12 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-24T13:54:24 < zyp> work properly 2013-01-24T13:54:33 < zyp> :D 2013-01-24T13:55:37 < dongs> http://i.imgur.com/748eBwk.png < accelerometer 2013-01-24T13:55:41 < Erlkoenig> "bmp"? 2013-01-24T13:55:46 < Erlkoenig> Windows BitMaP? 2013-01-24T13:55:58 < dongs> Laurenceb: better question is " what can it do that $15-20 jlink/ulink clones dont" 2013-01-24T13:56:08 < dongs> Laurenceb: answer is, nothing, and requires using opensauce software 2013-01-24T13:57:23 < Laurenceb> wtf with the bottom lvds pair? 2013-01-24T13:57:33 <+dekar> karlp, disable gold? 2013-01-24T13:57:40 < zyp> Laurenceb, it's AUX 2013-01-24T13:57:53 <+dekar> it's needed for LTO, but that's not incredibly important anyway 2013-01-24T13:57:53 < Laurenceb> and? 2013-01-24T13:57:58 < dongs> no i think h es talking about the unconnected one 2013-01-24T13:58:02 < zyp> Laurenceb, what about it? 2013-01-24T13:58:10 < Laurenceb> why is only one side used? 2013-01-24T13:58:10 <+dekar> or use debian stable to build it :) 2013-01-24T13:58:18 < zyp> dekar, ah 2013-01-24T13:58:22 < dongs> its not even a pair on the bototm 2013-01-24T13:58:24 < dongs> its just HPD 2013-01-24T13:58:24 < zyp> dongs* 2013-01-24T13:58:31 < dongs> and I routed DP_PWR cuz it looks cute. 2013-01-24T13:58:46 < zyp> well, I didn't see it since it weren't a pair :D 2013-01-24T13:58:58 < zyp> so AUX is strictly the bottom pair :p 2013-01-24T13:59:31 < zyp> hmm 2013-01-24T13:59:51 < zyp> according to wikipedia AUX is either 1 Mb/s or 720 Mb/s :p 2013-01-24T13:59:54 < dongs> yes 2013-01-24T13:59:57 < dongs> htis is 1mbps 2013-01-24T13:59:58 < dongs> this 2013-01-24T14:00:02 < dongs> 720 is dp1.2 or osmeshit 2013-01-24T14:00:06 < dongs> the shit that can carry usb 2013-01-24T14:00:08 < dongs> this cant 2013-01-24T14:00:15 < zyp> still slower than data lanes that are 1.62 Gb/s or more :p 2013-01-24T14:00:21 < dongs> i thought 2.6 2013-01-24T14:00:26 < dongs> for > 1080pee 2013-01-24T14:00:28 <+dekar> karlp, isn't there something like "aptitude build-dep gcc" on fedora? 2013-01-24T14:00:38 < zyp> wikipedia says 1.62-17.28 2013-01-24T14:00:50 -!- cjbaird [~cjb@ppp121-44-209-196.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-24T14:01:18 -!- baird [~cjb@ppp121-44-254-139.lns20.syd7.internode.on.net] has quit [Ping timeout: 264 seconds] 2013-01-24T14:01:48 <+dekar> zippe1, TNT has multilib -.-" 2013-01-24T14:02:40 < dongs> now i need some kawaii logo 2013-01-24T14:08:09 -!- cjbaird is now known as baird 2013-01-24T14:12:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-24T14:15:32 < Laurenceb> zyp would be able to advise 2013-01-24T14:15:56 < zyp> about what? 2013-01-24T14:16:02 < Laurenceb> his room is very weebo 2013-01-24T14:18:46 < Laurenceb> http://www.wolframalpha.com/input/?i=PSY+curve 2013-01-24T14:18:49 < Laurenceb> repost tiem 2013-01-24T14:18:56 < dongs> whoa 2013-01-24T14:19:06 < jpa-> Laurenceb: find the intersection of psy curve and hitler curve 2013-01-24T14:19:08 < dongs> surface pro has display port 2013-01-24T14:19:23 < Laurenceb> wait theres a hitler curve? 2013-01-24T14:19:42 < Laurenceb> http://www.wolframalpha.com/input/?i=hitler+curve 2013-01-24T14:19:45 < Laurenceb> O M G 2013-01-24T14:22:57 < karlp> stalin works, obama works. 2013-01-24T14:23:05 < karlp> probably others 2013-01-24T14:23:11 < Laurenceb> seriously... 2013-01-24T14:23:23 < karlp> bill gates works too 2013-01-24T14:23:28 < karlp> anyone it recognises as a person 2013-01-24T14:23:34 < Laurenceb> rms? 2013-01-24T14:23:36 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-24T14:23:39 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-24T14:24:13 < karlp> go ahead and try, it's fairly slow 2013-01-24T14:29:28 <+Steffanx> zlog 2013-01-24T14:29:34 <+Steffanx> where are you 2013-01-24T14:31:06 < dongs> Steffanx: here u go http://m.wolframalpha.com/input/?i=hitler+curve 2013-01-24T14:32:12 <+Steffanx> uhm.. ok 2013-01-24T14:32:39 * Erlkoenig just bashed a fool on a forum who claimed an AVR could enter an ISR faster 2013-01-24T14:32:44 < Erlkoenig> than an ARM 2013-01-24T14:32:49 <+Steffanx> w00t. I can even interact with him. Interactive mode FTW 2013-01-24T14:32:55 < dongs> lol 2013-01-24T14:33:21 < zyp> Erlkoenig, it can't? 2013-01-24T14:34:09 < Erlkoenig> the AVR could be faster if you don't push any registers and the ARM uses a clock frequency as low as the AVR 2013-01-24T14:34:22 < zyp> in a strict sense, I imagine that it might be true if you count cycles and not absolute time 2013-01-24T14:34:25 < zyp> yes, exactly 2013-01-24T14:34:57 < dongs> wgats interactive mode 2013-01-24T14:35:00 < Erlkoenig> ISR entry + push all registers on AVR: 68 Cycles. on Cortex-M4: 21 Cycles 2013-01-24T14:35:06 < zyp> Erlkoenig, but on the other hand you don't get preemption and tail chaining that way 2013-01-24T14:35:13 < dongs> Steffanx: ur paying for wolframalpha? 2013-01-24T14:35:37 < Erlkoenig> zyp: that's too complicated for AVR users... ;-) 2013-01-24T14:36:03 < zyp> Erlkoenig, how likely is it that you would need to push all registers though? :) 2013-01-24T14:36:05 <+Steffanx> Yeah, that few bucks/year dongs 2013-01-24T14:36:18 < zyp> well, maybe more likely on avr since registers are smaller 2013-01-24T14:36:19 < Erlkoenig> ISR entry + pushing all registers on 20 MHz AVR: 3.2µs ... on 168 STM32F4: 120ns 2013-01-24T14:36:24 <+Steffanx> It's a nice tool worth the money 2013-01-24T14:36:30 < Erlkoenig> *168MHZ 2013-01-24T14:36:55 < Erlkoenig> zyp: hm most of the time you will push at least *some* registers.. 2013-01-24T14:37:01 < zyp> Erlkoenig, you're not factoring in pipeline/cache/flash latency now 2013-01-24T14:37:24 < Erlkoenig> that's too hard to calculate :3 2013-01-24T14:37:27 < dongs> zyp, requesting kawaii logo 2013-01-24T14:38:02 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2013-01-24T14:38:07 < zyp> Erlkoenig, then you should pick a sane estimate, because it will certainly be more than 0 cycles 2013-01-24T14:38:28 < Erlkoenig> probably still far away from the AVR... 2013-01-24T14:38:37 < zyp> sure, I don't disagree on that 2013-01-24T14:39:54 < Erlkoenig> ISR entry on an 20MHz-AVR with no pushes at all is still slower than an ISR entry on an 168MHz-Cortex-M4 with all pushes 2013-01-24T14:40:04 < dongs> well duh 2013-01-24T14:40:08 < dongs> cuz its 168mhz vs 20 2013-01-24T14:40:11 < dongs> who caresa bout avr anyway 2013-01-24T14:40:19 < Erlkoenig> some fools do ;-) 2013-01-24T14:40:19 < dongs> shit's deader than NetBSD on PowerPC G3 2013-01-24T14:40:35 < Erlkoenig> well an advantage of ARM is certainly that it can have higher frequencies than an AVR :) 2013-01-24T14:40:42 < Erlkoenig> so i think it's allowed to count that 2013-01-24T14:41:30 < zyp> that's not really fair if you also start counting power usage and shit like that :p 2013-01-24T14:41:48 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-24T14:42:04 < Erlkoenig> i bet an ARM with FPU needs less power to do floatingpoint than an AVR ;-) 2013-01-24T14:42:09 < Erlkoenig> s/power/energy 2013-01-24T14:42:12 < dongs> heh 2013-01-24T14:43:05 < Erlkoenig> but of course you're right you have to compare for the desired application... however claiming that an AVR can enter ISR's faster is just wrong ;) 2013-01-24T14:44:12 < zyp> well, it's still strictly true, in the useless sense :p 2013-01-24T14:45:20 < Erlkoenig> as in "academic sense" :D 2013-01-24T14:45:35 < Laurenceb> same thing 2013-01-24T14:56:45 < karlp> dekar: TNT is 8 bytes bigger on my code: http://pastebay.net/1177357 2013-01-24T14:57:06 < karlp> (smaller than gae without nano, but that's not something I feel like comparing it with) 2013-01-24T14:57:40 < karlp> it made the text smaller though, but wasted space on data, 2013-01-24T15:00:20 <+Steffanx> I bet dekar is asleep now :) 2013-01-24T15:01:19 < karlp> well, dekar's build doesn't have a working gdb with openocd either. 2013-01-24T15:02:11 < karlp> and trying to build gae myself ran off into the woods trying to build polyhedral processing java binding shit 2013-01-24T15:02:14 < karlp> so lunch it is. 2013-01-24T15:06:33 < Laurenceb> zyp: how do i use launchpad gcc with the nano thingy? 2013-01-24T15:06:42 <+dekar> karlp, 8 bytes doesn't sound too bad 2013-01-24T15:07:17 <+dekar> I'll try TNT-newlib-nano later 2013-01-24T15:07:53 < zyp> Laurenceb, put --specs=nano.specs in LDFLAGS 2013-01-24T15:08:02 < zyp> it's documented in the readme. 2013-01-24T15:08:56 < Laurenceb> arm-none-eabi-gcc: nano.specs: No such file or directory 2013-01-24T15:08:57 < Laurenceb> hmm ok 2013-01-24T15:12:35 < Laurenceb> arm-none-eabi/bin/ld: unrecognized option '--specs=nano.specs' 2013-01-24T15:12:43 -!- cjbaird [~cjb@ppp121-44-204-102.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-24T15:13:06 -!- baird [~cjb@ppp121-44-209-196.lns20.syd7.internode.on.net] has quit [Ping timeout: 252 seconds] 2013-01-24T15:13:44 < Laurenceb> its not working 2013-01-24T15:14:23 < dongs> its gcc. 2013-01-24T15:14:25 < dongs> why are you surprsed. 2013-01-24T15:15:24 < Laurenceb> LDFLAGS = -Wl,--gc-sections,-Map=$(MAIN_MAP),-cref,--specs=nano.specs 2013-01-24T15:15:26 < Laurenceb> sane? 2013-01-24T15:15:55 < zyp> no. 2013-01-24T15:16:10 < zyp> replace the comma with a space 2013-01-24T15:16:36 < Laurenceb> arm-none-eabi-gcc: nano.specs: No such file or directory 2013-01-24T15:17:39 < zyp> wtf did you fuck up? 2013-01-24T15:18:06 < dongs> maybe its called Nano.Specs 2013-01-24T15:18:19 -!- cjbaird_ [~cjb@ppp121-44-151-176.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-24T15:18:23 <+Steffanx> lol dongs 2013-01-24T15:18:23 < dongs> i suppose i should do a dkey order 2013-01-24T15:18:30 < dongs> for the panel 2013-01-24T15:18:53 -!- cjbaird [~cjb@ppp121-44-204-102.lns20.syd7.internode.on.net] has quit [Ping timeout: 256 seconds] 2013-01-24T15:20:13 -!- cjbaird_ [~cjb@ppp121-44-151-176.lns20.syd7.internode.on.net] has quit [Client Quit] 2013-01-24T15:20:24 < zyp> dongs, I'm gonna buy one of those boards from you, in case it weren't obvious already :p 2013-01-24T15:20:29 < dongs> yea 2013-01-24T15:21:04 < dongs> did you see that surfacepro has dp port? 2013-01-24T15:21:08 < zyp> and it's probably cheaper for me to pay you for an assembled one than getting stencil and shit and assembling myself 2013-01-24T15:21:25 < zyp> haven't looked at that 2013-01-24T15:21:32 < Laurenceb> where should the nano stuff be? 2013-01-24T15:21:48 < zyp> Laurenceb, it's in all the lib dirs 2013-01-24T15:22:08 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-24T15:22:10 < zyp> there's one for each multilib option 2013-01-24T15:23:04 < Laurenceb> i dont see it 2013-01-24T15:23:20 < Laurenceb> wait 2013-01-24T15:23:24 < Laurenceb> libgcov? 2013-01-24T15:23:39 < zyp> http://paste.jvnv.net/view/ZZnR0 2013-01-24T15:24:15 < dongs> http://www.digikey.com/product-detail/en/RCLAMP0524P.TCT/RCLAMP0524PCT-ND/1774679 haha 2013-01-24T15:24:18 < dongs> 50k 2013-01-24T15:24:34 < Laurenceb> oh lolz 2013-01-24T15:24:41 < Laurenceb> mine is linux.specs 2013-01-24T15:24:47 < dongs> fail.specs 2013-01-24T15:25:19 < dongs> hmmm 2013-01-24T15:25:27 < dongs> thinking of maybe doing double pattern for buttons 2013-01-24T15:25:30 < dongs> so I can do either back or side ones. 2013-01-24T15:25:37 < Laurenceb> wait no its there 2013-01-24T15:25:39 < Laurenceb> wtf 2013-01-24T15:25:44 < dongs> the other dude wants back 2013-01-24T15:25:48 < dongs> but I still think its pretty gay 2013-01-24T15:26:33 < zyp> I don't care, I'm probably drop that 2013-01-24T15:26:56 < dongs> wut 2013-01-24T15:27:00 < zyp> if it works out of the box with OS X brightness control I don't need them 2013-01-24T15:27:04 < dongs> ah 2013-01-24T15:27:05 < dongs> right 2013-01-24T15:27:26 < Laurenceb> i dont think it can see that directory 2013-01-24T15:27:30 < dongs> you mean after you implement usbmon shit in laks. 2013-01-24T15:27:35 < dongs> you can probably do that on any random devboard 2013-01-24T15:27:38 < dongs> just to see what hte fuck it does. 2013-01-24T15:27:44 < Laurenceb> -I ? 2013-01-24T15:27:50 < dongs> though mactrash probably neesd usb AND dp connected 2013-01-24T15:27:50 < zyp> sure 2013-01-24T15:27:52 < Laurenceb> but is there a neat way to do that? 2013-01-24T15:27:52 < dongs> to change that brightness 2013-01-24T15:28:31 < zyp> well, I wonder if it's comparing usb serial with ddc serial or something like that 2013-01-24T15:28:44 < zyp> Laurenceb, is this still bmp or your shit? 2013-01-24T15:28:55 < Laurenceb> mine 2013-01-24T15:29:49 < zyp> then you have bad flags or paths, messing up multilib putting that directory into path by itself 2013-01-24T15:30:09 < zyp> paste full log? 2013-01-24T15:30:55 < dongs> hmf 2013-01-24T15:30:59 < Laurenceb> http://pastebin.com/dXVHcnCs 2013-01-24T15:31:01 < dongs> cant fit both patterns in 2013-01-24T15:31:06 < dongs> oh maybe if i rotate them 2013-01-24T15:31:15 < zyp> dongs, I might test usbmon this afternoon 2013-01-24T15:33:26 < zyp> -I ~/ARM-GCC/gcc-arm-none-eabi-4_7-2012q4/lib 2013-01-24T15:33:28 < zyp> wtf 2013-01-24T15:33:31 < zyp> get that out. 2013-01-24T15:33:55 < Laurenceb> yeah i was trying to tell it where to look 2013-01-24T15:34:44 < zyp> and it's horribly wrong. 2013-01-24T15:35:13 < Laurenceb> it still fails to find nano.specs without that 2013-01-24T15:36:00 <+dekar> TNT with newlib nano is quite incredible, my example project is down to 4.8kb 2013-01-24T15:36:31 < Laurenceb> this project is 30% bigger than tnt atm :( 2013-01-24T15:36:37 < dongs> uh 2013-01-24T15:36:44 < dongs> 4.8k? 2013-01-24T15:36:46 < dongs> what does you rproject do 2013-01-24T15:36:52 < dongs> keil blinky is liek 100bytes 2013-01-24T15:36:59 < dongs> good job gcc 2013-01-24T15:37:01 <+dekar> dongs, the TNT_Example project 2013-01-24T15:37:16 <+dekar> does blinky, as well as malloc and printf 2013-01-24T15:37:33 < Laurenceb> zyp: any idea? 2013-01-24T15:37:38 < Laurenceb> makefile issues? 2013-01-24T15:37:38 <+dekar> dongs, https://github.com/EliasOenal/TNT_Example 2013-01-24T15:38:10 < Laurenceb> http://pastebin.com/uRb8wrcp 2013-01-24T15:39:02 < zyp> Laurenceb, try executing the linking command by hand and throwing a -v on it 2013-01-24T15:39:06 < zyp> then pastebin output 2013-01-24T15:39:27 < Laurenceb> how do i do that? 2013-01-24T15:40:15 < Laurenceb> oh got you 2013-01-24T15:40:17 < Laurenceb> Using built-in specs. 2013-01-24T15:40:17 < Laurenceb> Reading specs from nano.specs 2013-01-24T15:40:17 < Laurenceb> arm-none-eabi-gcc: nano.specs: No such file or directory 2013-01-24T15:40:17 < Laurenceb> Using built-in specs. 2013-01-24T15:40:17 < Laurenceb> Reading specs from nano.specs 2013-01-24T15:40:18 < Laurenceb> arm-none-eabi-gcc: nano.specs: No such file or directory 2013-01-24T15:40:21 < Laurenceb> oops 2013-01-24T15:41:22 <+dekar> maybe your path is messed up 2013-01-24T15:41:37 <+dekar> check "echo $PATH" 2013-01-24T15:41:48 < Laurenceb> oh shit 2013-01-24T15:41:53 < Laurenceb> yes it is 2013-01-24T15:41:55 < Laurenceb> thanks 2013-01-24T15:50:52 <+dekar> their malloc seems to be horribly inefficient, my firmwares lua compiler spits out of memory errors even for simple scripts 2013-01-24T15:51:11 < Laurenceb> /tmp/ccrM6LPp.s:306: Error: registers may not be the same -- `strexb r0,r0,[r1]' 2013-01-24T15:51:11 < Laurenceb> /tmp/ccrM6LPp.s:322: Error: registers may not be the same -- `strexh r0,r0,[r1]] 2013-01-24T15:51:14 < Laurenceb> now wtf 2013-01-24T15:51:15 < dongs> cool 2013-01-24T15:51:19 < dongs> got buttons double-patterned 2013-01-24T15:51:34 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-24T15:51:54 < dongs> http://i.imgur.com/elMZ7XC.png 2013-01-24T15:51:55 <+dekar> Laurenceb, update the CMSIS lib 2013-01-24T15:55:30 < trepidaciousMBR> I don't seem to be able to get MCO1 to work on an STM32F4 on ChibiOS, has anyone done this? 2013-01-24T15:55:44 < dongs> i bet Laurenceb has or maybe Tectu 2013-01-24T15:58:23 < Tectu> what's MC01? 2013-01-24T15:58:28 < trepidaciousMBR> The odd thing is that mcuconf.h seems to have defines set correctly, and I can see where they are used in hal_lld.c, so it seems like everything should be working, but I can't see anything on the pin 2013-01-24T15:58:30 < Tectu> MCO1* 2013-01-24T15:58:44 < trepidaciousMBR> It's a clock output, the P407 uses it to drive the camera 2013-01-24T15:58:49 < Tectu> trepidaciousMBR, you might want to try #chibios 2013-01-24T15:58:56 < Laurenceb> shit this is failing badly 2013-01-24T15:58:57 < dongs> Tectu: master clock out 2013-01-24T15:59:02 < Tectu> dongs, thanks 2013-01-24T15:59:05 < Laurenceb> (.text+0x64): undefined reference to `__bss_start__' 2013-01-24T15:59:11 < dongs> you set some bit, you get SYSCLK out of a pin 2013-01-24T15:59:17 < dongs> with a couple choices for scaler 2013-01-24T15:59:21 < dongs> i think you can /2 /8 it 2013-01-24T16:00:11 < trepidaciousMBR> Tectu: Thanks, I'll join that. 2013-01-24T16:00:22 < zyp> Laurenceb, that's a linker script vs startup code mismatch 2013-01-24T16:00:34 < trepidaciousMBR> Doh! I had my scope on the wrong pin, PEBKAC 2013-01-24T16:00:36 < Laurenceb> does the arm stuff have its own startup? 2013-01-24T16:00:39 < dongs> lol dongs 2013-01-24T16:00:51 < Tectu> trepidaciousMBR, sure, feel free. More users are required there 2013-01-24T16:00:53 < zyp> if you are using -lnosys you get a default one, I guess 2013-01-24T16:01:47 < trepidaciousMBR> dongs: You can also use the HSE, HSI etc., it seems like it is quite handy, but apparently it can have some jitter 2013-01-24T16:01:48 < Laurenceb> hmm 2013-01-24T16:01:50 < Laurenceb> wtrf 2013-01-24T16:01:58 < Laurenceb> so how do i make it work? 2013-01-24T16:01:58 <+dekar> Laurenceb, try the TNT Example 2013-01-24T16:02:05 < Laurenceb> yeah, way easier 2013-01-24T16:02:06 < dongs> trepidaciousMBR: um, if its jittering, its your crystal that sucks 2013-01-24T16:02:10 < Laurenceb> think ill try tnt 2013-01-24T16:02:11 < dongs> (well, or HSI etc) 2013-01-24T16:02:22 < dongs> yes hsi jitters pretty badly 2013-01-24T16:02:33 < dongs> not as bad as intosc on avfuckingr 2013-01-24T16:02:43 < trepidaciousMBR> dongs: I've not actually checked this, there was some discussion about using MCO for a PHY, and some odd results. 2013-01-24T16:02:57 < dongs> trepidaciousMBR: which phy? ehternet? usb? 2013-01-24T16:03:05 < dongs> too fucking cheap for a 25mhz xtal? 2013-01-24T16:03:12 < trepidaciousMBR> dongs: Ethernet, and yes ;) 2013-01-24T16:03:17 < dongs> get out. 2013-01-24T16:03:20 < trepidaciousMBR> heh 2013-01-24T16:03:29 < dongs> well you arent gonna get 25mhz out of it. 2013-01-24T16:03:31 < dongs> thats why. 2013-01-24T16:03:35 < zyp> 25? 2013-01-24T16:03:39 < trepidaciousMBR> Even with a 25MHz xtal? 2013-01-24T16:03:41 < dongs> eth phy's usually need 25mhz 2013-01-24T16:03:42 < zyp> are you going to use MII? 2013-01-24T16:03:54 < dongs> trepidaciousMBR: ? you arent gonna get 25mhz out of mco 2013-01-24T16:03:57 < zyp> because RMII PHYs usually need 50 MHz 2013-01-24T16:03:59 < trepidaciousMBR> a 25MHz MCU xtal, then MCO passing that through 2013-01-24T16:04:06 < dongs> oh, 25mhz xtal for mcu? 2013-01-24T16:04:10 < dongs> if you dont care for usb not working.. 2013-01-24T16:04:11 < dongs> sure 2013-01-24T16:04:14 < trepidaciousMBR> We've got an RMII Phy that takes 25MHz 2013-01-24T16:04:16 < dongs> or I2S 2013-01-24T16:04:17 < dongs> etc 2013-01-24T16:04:25 < dongs> zyp: im looking at some random SMSC one and it needs 25mhz 2013-01-24T16:04:32 < zyp> trepidaciousMBR, really? in RMII mode? 2013-01-24T16:04:38 < dongs> pretty sure all the ethernet crap ive seen was on 25mhz 2013-01-24T16:04:43 < trepidaciousMBR> I thought you could get USB working with that, on an F4, using 336MHz / 7? 2013-01-24T16:04:51 < dongs> pretty sure not 2013-01-24T16:05:04 < trepidaciousMBR> There is an SMSC RMII Phy that can take 25MHz 2013-01-24T16:05:05 < dongs> but y oure welcome to try 2013-01-24T16:05:51 < dongs> pretty sure 2013-01-24T16:05:56 < dongs> LAN8720A only neesd 25mhz xtal 2013-01-24T16:06:06 < zyp> the thing is that to get 100 Mb/s MII is transferring 4 bits at a time at 25MHz while RMII is transferring 2 bits at a time at 50 MHz 2013-01-24T16:06:18 < dongs> zyp: uh yeah sure, just pll that shit? 2013-01-24T16:06:21 < trepidaciousMBR> dongs: that;s the one 2013-01-24T16:06:28 < dongs> (probably not doable in extclk mode 2013-01-24T16:06:53 < dongs> trepidaciousMBR: you can do the other way around 2013-01-24T16:06:55 < dongs> use REF_CLK from that 2013-01-24T16:06:57 < dongs> @50mhz 2013-01-24T16:06:58 < dongs> to feed F4 2013-01-24T16:06:59 < dongs> haha. 2013-01-24T16:07:05 < dongs> cheapass. 2013-01-24T16:07:08 < dongs> or just use 2 crystals. 2013-01-24T16:07:29 < trepidaciousMBR> dongs: 25MHz xtal, PPLM set to 25 and PLLN at 336 gives 336MHz VCO clock, then PLLQ at 7 gives 48MHz, that's the setup on the Olimex P407 2013-01-24T16:07:38 < dongs> trepidaciousMBR: ok. 2013-01-24T16:07:50 < dongs> if it works great. 2013-01-24T16:08:03 < trepidaciousMBR> dongs: It probably won't, I think we will have another xtal :) 2013-01-24T16:08:17 < dongs> what are you dumping over MCO though? 2013-01-24T16:08:20 < dongs> to get 25mhz 2013-01-24T16:08:24 < dongs> hse? 2013-01-24T16:08:28 < zyp> of course 2013-01-24T16:08:35 < dongs> and wahts wrong with it? 2013-01-24T16:08:37 < trepidaciousMBR> dongs: I guess so, I don't know if it will work, seems like maybe not 2013-01-24T16:08:37 < dongs> jittery? 2013-01-24T16:08:51 < trepidaciousMBR> dongs: I haven't tried it yet, but others have not had much success (from forums) 2013-01-24T16:08:56 < trepidaciousMBR> I'll get a link 2013-01-24T16:09:12 < dongs> forums are usually full of blind leading the blind 2013-01-24T16:09:25 <+Steffanx> lol 2013-01-24T16:09:38 < dongs> especially with 'arduino' in name. 2013-01-24T16:09:45 < Laurenceb> is there an example of the launchpad stuff being used somewhere? 2013-01-24T16:09:57 < trepidaciousMBR> dongs: If you can be bothered to read many pages, it is here: http://forum.chibios.org/phpbb/viewtopic.php?f=3&t=23&start=100 2013-01-24T16:09:59 < Laurenceb> i dont know how to put together startup +linker 2013-01-24T16:10:01 < dongs> Laurenceb: that guy did a spectrum analyzer with it 2013-01-24T16:10:09 < dongs> with freetard tools 2013-01-24T16:13:20 <+dekar> Laurenceb, https://github.com/EliasOenal/TNT_Example 2013-01-24T16:13:30 < Laurenceb> thats TNT 2013-01-24T16:13:35 < dongs> oh i thought you talkin about stellaris launchpad 2013-01-24T16:13:41 < dongs> Fgt 2013-01-24T16:13:43 < dongs> be specific 2013-01-24T16:13:46 <+dekar> Laurenceb, that compiles fine with GAE 2013-01-24T16:13:50 < dongs> wats gae 2013-01-24T16:13:59 <+dekar> GNU ARM Embedded 2013-01-24T16:14:08 < dongs> almsot sounsa like "gay' 2013-01-24T16:14:18 < gxti> indeed' 2013-01-24T16:14:24 <+dekar> *GCC ARM Embedded 2013-01-24T16:14:33 < gxti> heh, i was saying the same thing about launchpad yesterday 2013-01-24T16:14:54 < dongs> i wonder waht happens to all the projects when shittleworth runs out of cash 2013-01-24T16:14:58 < dongs> and takes that circlerjerk down 2013-01-24T16:15:16 < dongs> i mean did the world REALLY needed another fucking sores hosting service 2013-01-24T16:16:37 < gxti> it's ugly and hard to use 2013-01-24T16:16:58 < dongs> im sure iti s 2013-01-24T16:17:02 < dongs> just like anything lunix-based 2013-01-24T16:17:13 < gxti> no, just that 2013-01-24T16:19:24 < Laurenceb> 4.7.3/../../../../arm-none-eabi/lib/armv7-m/libc_s.a(lib_a-exit.o): In function `exit': 2013-01-24T16:19:24 < Laurenceb> exit.c:(.text.exit+0x20): undefined reference to `_exit' 2013-01-24T16:20:22 < gxti> there is no exit Laurenceb, no escapce 2013-01-24T16:20:29 < gxti> you are stuck here forever 2013-01-24T16:21:11 < Laurenceb> nooooo 2013-01-24T16:24:42 <+Steffanx> That automatically means we are stuck with him forever gxti.. 2013-01-24T16:26:06 < Laurenceb> lol 2013-01-24T16:28:07 < Laurenceb> anyone know whats wrong? 2013-01-24T16:28:21 < dongs> the slashes are backwards 2013-01-24T16:28:33 <+dekar> Steffanx, I've updated the TNT build script to use newlib-nano 2013-01-24T16:28:57 < Erlkoenig> Laurenceb: using virtual functions or exceptions? that can trigger such linker errors 2013-01-24T16:29:07 < Laurenceb> no im not 2013-01-24T16:29:23 < Laurenceb> seems i need syscalls 2013-01-24T16:29:35 < zyp> say hello to libnosys? 2013-01-24T16:29:52 <+dekar> Laurenceb, feel free to use my _exit() implementation :P https://github.com/EliasOenal/TNT_Example/blob/master/syscalls.c 2013-01-24T16:29:56 < Erlkoenig> maybe you called some c-library function which can abort on error and such needs exit() 2013-01-24T16:30:21 < Laurenceb> hmf 2013-01-24T16:30:44 < Laurenceb> i think i have that already 2013-01-24T16:30:52 < Laurenceb> in libc_s 2013-01-24T16:31:33 < Laurenceb> -lnosys? 2013-01-24T16:32:11 < zyp> -lnosys, yes 2013-01-24T16:32:35 < Laurenceb> dtill fails with exit 2013-01-24T16:41:33 < Laurenceb> is _sstack start of stack? 2013-01-24T16:41:54 < dongs> -inorite 2013-01-24T16:48:08 < dongs> nanoblogger - 3.4.2-1 - A small weblog engine written in Bash for the command line. 2013-01-24T16:49:36 < zyp> ok 2013-01-24T16:53:38 < dongs> still need logo :( 2013-01-24T16:53:56 < Laurenceb> dekar: ok your example worked 2013-01-24T16:54:06 < Laurenceb> down to 62KB from 114 2013-01-24T16:54:14 < Laurenceb> not sure itll actually run... 2013-01-24T16:54:30 < Laurenceb> dekar, i dont quite follow the sbrk code 2013-01-24T16:54:43 < Laurenceb> if((((uint32_t)heap_end) + ((uint32_t)incr)) 2013-01-24T16:54:43 < Laurenceb> > ((uint32_t)&_sstack)) // stack protection 2013-01-24T16:54:56 < Laurenceb> why is _sstack a pointer? 2013-01-24T16:55:17 < gxti> because it's not 2013-01-24T16:55:53 < gxti> in that case it's just an arbitrary symbol, probably declared as an integer or something 2013-01-24T16:56:45 <+dekar> I've defined that in my linkerscript 2013-01-24T16:57:03 < Laurenceb> oh i see 2013-01-24T16:57:09 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-24T16:57:11 < gxti> stack protection is for pussies, be a man and delete it 2013-01-24T16:57:12 < Laurenceb> its a pointer to the stack 2013-01-24T16:57:27 < Laurenceb> with the arm-gcc linker and startup theres a stacklimit variable 2013-01-24T16:57:33 < Laurenceb> ive swapped it to use that 2013-01-24T16:57:38 <+dekar> I just didn't want the heap to grow into the upper few kb of ram, change it as you like 2013-01-24T16:57:40 < Laurenceb> so you define stack size 2013-01-24T16:57:48 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-24T16:57:49 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-24T16:57:54 < Laurenceb> and if heap grows into max stack size it throws an error 2013-01-24T17:00:12 < dongs> heap grows indefinitely until it becomes shitheap 2013-01-24T17:00:22 -!- BJfreeman [~bjfree@81.sub-75-233-150.myvzw.com] has quit [Quit: had a good time] 2013-01-24T17:01:13 < Laurenceb> only at flybacks house 2013-01-24T17:01:19 < dongs> emeb_mac: dpstuff finished 2013-01-24T17:01:36 < emeb_mac> dongs: what dspstuff? 2013-01-24T17:01:43 < dongs> without s 2013-01-24T17:01:43 < zyp> dp. 2013-01-24T17:03:02 < zyp> dongs, so, what do you bet arrives first? the panel I ordered today or the adapter board that you need to fab and assemble before shipping it to me? :p 2013-01-24T17:03:07 < Laurenceb> hmm binary looks sane 2013-01-24T17:03:12 < Laurenceb> but its missing LTO 2013-01-24T17:03:50 < dongs> haha 2013-01-24T17:04:03 < dongs> http://i.imgur.com/08xvI2Y.png ok so this is final unless i notice something fucked 2013-01-24T17:04:15 < dongs> i think ill just get a 1m^2 panel of these things. 2013-01-24T17:04:25 < dongs> and if i fucked up ill just make a tall tower out of htem 2013-01-24T17:04:36 < dongs> just needs logo 2013-01-24T17:06:33 < dongs> i guess i dont really need boot1. i didnt break out uart. 2013-01-24T17:08:02 <+Steffanx> dongs has the space again, so he makes a big ass board? 2013-01-24T17:08:02 < dongs> maybe ill put uart pads down just in case. 2013-01-24T17:08:46 < dongs> it has to fit behind a panel, with a fairly rigid fpc connector 2013-01-24T17:08:55 < dongs> thre's not a lot of choice there Steffanx . 2013-01-24T17:09:38 < emeb_mac> dongs: what's up with the three connectors across the long end (labeled power, ^, v) 2013-01-24T17:09:51 < zyp> up/down (brightness) 2013-01-24T17:09:54 < zyp> buttons 2013-01-24T17:09:58 < dongs> emeb_mac: they're dual pads for either side mount or back-mount buttons 2013-01-24T17:10:00 < emeb_mac> right - buttons. 2013-01-24T17:10:24 < dongs> https://github.com/search?q=path%3A.ssh%2Fid_rsa&type=Code&ref=searchresults 2013-01-24T17:10:26 < dongs> haha, lunix retards 2013-01-24T17:10:39 < emeb_mac> and the RGB LED 2013-01-24T17:10:49 < dongs> emeb_mac: and accelerometer. 2013-01-24T17:10:59 < zyp> dongs, saw that earlier today 2013-01-24T17:11:03 < emeb_mac> for 90deg tilt? 2013-01-24T17:11:26 < dongs> zyp: i did connect INT line.. pretty sure i remember seeing something in manual about triggering interrupt on large change in rotation 2013-01-24T17:11:40 < zyp> emeb_mac, that was the idea, yes 2013-01-24T17:11:49 < zyp> dongs, saw you said that 2013-01-24T17:12:10 < dongs> k 2013-01-24T17:12:50 < emeb_mac> What's the full BOM going to run? 2013-01-24T17:13:00 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-24T17:13:02 < dongs> um.. like 10 bucks? lol 2013-01-24T17:13:07 < dongs> +- 2013-01-24T17:13:23 < dongs> of course ill be sure to sell it for 10x that 2013-01-24T17:14:10 < emeb_mac> of course! 2013-01-24T17:14:24 < Laurenceb> cc1: error: LTO support has not been enabled in this configuration 2013-01-24T17:14:27 < Laurenceb> what the fuuuuu 2013-01-24T17:14:29 < dongs> lol 2013-01-24T17:14:38 < zyp> I wonder what I'm gonna do for enclosure 2013-01-24T17:14:41 < dongs> Laurenceb: why the fuck are you screwing wiht that stuff 2013-01-24T17:14:46 < Laurenceb> how can i enable LTO with launchpad gcc? 2013-01-24T17:14:48 < dongs> zyp: CNC something up? 2013-01-24T17:15:04 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-24T17:15:26 < zyp> yeah 2013-01-24T17:15:45 < zyp> I know a guy that works with CNC stuff, he might be able to help me 2013-01-24T17:15:47 < emeb_mac> forget that - looks great "naked". all high-tech n-stuff 2013-01-24T17:16:03 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-24T17:16:14 < zyp> emeb_mac, I don't care about looks, I'm thinking about fragility 2013-01-24T17:16:37 < zyp> I want something I can stuff in my bag along with my laptop, it'll be a decent secondary display for it 2013-01-24T17:17:38 < emeb_mac> every other nerd/maker you meet these days has a 3d-printer. shouldn't be too hard to fake something. 2013-01-24T17:17:40 < dongs> I got industrial design pics for the hdmi+dp version ( proper case etc) it looks really nice, with metal kickstand-like thing, cant paste them here those cuz nda etc 2013-01-24T17:18:23 < dongs> trying to see if can get front panel all glass or something. now its plastic 2013-01-24T17:18:53 < dongs> also dorks want touch + USB :( 2013-01-24T17:19:03 < zyp> yeah 2013-01-24T17:19:04 < dongs> like wtf its a monitor shut upppppp 2013-01-24T17:19:29 < zyp> adding support for the digitizer shouldn't be too hard now that we already got a microcontroller on there 2013-01-24T17:19:40 < gxti> dongs: can you make it a raspberry poop shield 2013-01-24T17:19:51 < gxti> oh and arduino too 2013-01-24T17:20:06 <+Steffanx> *tarduino 2013-01-24T17:20:13 < zyp> good idea 2013-01-24T17:20:18 < gxti> my finger slipped 2013-01-24T17:20:27 <+Steffanx> *dong 2013-01-24T17:20:35 < gxti> also i have no idea what it is 2013-01-24T17:20:45 < gxti> but it needs to work with raspberry poop. 2013-01-24T17:20:59 < zyp> ditch the stm, then include rpi on the back along with hdmi adapter, and arduino for backlight control 2013-01-24T17:21:08 <+Steffanx> Why the hate gxti ? 2013-01-24T17:21:15 < zyp> then kickstart your awesome rpi tablet 2013-01-24T17:21:27 < gxti> Steffanx: ... 2013-01-24T17:21:34 <+Steffanx> Yes .... 2013-01-24T17:21:38 < gxti> Steffanx: are you new here? 2013-01-24T17:22:16 < dongs> zyp: haha 2013-01-24T17:22:19 <+Steffanx> I don't remember what reason you have 2013-01-24T17:22:21 < dongs> dickstarter doesnt sound so bad 2013-01-24T17:22:51 < gxti> Steffanx: i don't have a reason, i just insult things because it's funny. you know, like everyone else here. 2013-01-24T17:23:13 <+Steffanx> Oh, infected my Mr. D. I understand 2013-01-24T17:24:42 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] 2013-01-24T17:25:23 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-24T17:27:11 < Laurenceb> ./toolchain.sh 2013-01-24T17:27:11 < Laurenceb> tar: newlib-nano-1.0.tar.gz: Cannot open: No such file or directory 2013-01-24T17:27:11 < Laurenceb> tar: Error is not recoverable: exiting now 2013-01-24T17:27:14 < Laurenceb> funtimes 2013-01-24T17:31:06 < Laurenceb> tnt is broken 2013-01-24T17:34:01 < gxti> more likely you are broken 2013-01-24T17:34:09 < dongs> hmm need to do dkey order then sleep 2013-01-24T17:34:19 <+Steffanx> gn 2013-01-24T17:34:24 <+Steffanx> Maybe do it the other way around? 2013-01-24T17:34:30 <+Steffanx> *better to do 2013-01-24T17:34:38 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-24T17:37:02 < BrainDamage> sleep is not important for human functionality, digikey is 2013-01-24T17:37:19 < emeb_mac> all hail dk 2013-01-24T17:37:53 <+Steffanx> Laurenceb, TNT is not broken 2013-01-24T17:38:04 <+Steffanx> You had a broken version of TNT 2013-01-24T17:38:09 <+Steffanx> *have 2013-01-24T17:38:13 < dongs> Steffanx: if i do that, then i wont get parts on monday 2013-01-24T17:38:30 <+Steffanx> True true, but you will get ALL parts because it's less likely you make mistakes :P 2013-01-24T17:38:40 <+Steffanx> Laurenceb, dekar fixed that problem you have an hour ago 2013-01-24T17:38:51 < dongs> Internal Server Error - Read 2013-01-24T17:38:52 < dongs> The server encountered an internal error or misconfiguration and was unable to complete your request. 2013-01-24T17:38:53 < Laurenceb> oh 2013-01-24T17:38:55 < dongs> Reference #3.d003c045.1359041925.1055799e 2013-01-24T17:38:56 < dongs> FUCK DIGIKEY; DIGIKEY SUX; DIGIKEY IS DYING; DIGIKEY IS DEAD TO ME; DIGIKEY HIT WTC 2013-01-24T17:39:15 <+Steffanx> digikey hit wtc.. in which universe? 2013-01-24T17:39:33 <+Steffanx> Oh, no he didn't Laurenceb 2013-01-24T17:39:42 <+Steffanx> tar: Error opening archive: Failed to open 'newlib-nano-1.0.tar.gz' :) 2013-01-24T17:39:54 < Laurenceb> yeah i fixed it 2013-01-24T17:39:54 < dongs> fucking shit 2013-01-24T17:39:59 < dongs> i cant search anything on jap digikey 2013-01-24T17:40:00 < Laurenceb> but im missing some packages 2013-01-24T17:40:11 < dongs> hm not on the main one either 2013-01-24T17:40:19 < dongs> that isnt gonna wor k 2013-01-24T17:42:22 <+Steffanx> Good night, sleep well 2013-01-24T17:42:30 < Laurenceb> Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+ 2013-01-24T17:42:31 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 256 seconds] 2013-01-24T17:42:33 < Laurenceb> wuuttt 2013-01-24T17:42:51 < Laurenceb> libmpcdec allows you to decode files in the Musepack audio format, 2013-01-24T17:43:24 < gxti> ask yourself 2013-01-24T17:43:30 < gxti> is that really the right library? 2013-01-24T17:43:44 < dongs> https://youtube.com/watch?v=aQ99VULQRI4 2013-01-24T17:43:45 < dongs> retweeting 2013-01-24T17:51:12 < dongs> k digikey is back 2013-01-24T17:53:06 < dongs> perfect just $3 over freeshipping 2013-01-24T17:57:00 < dongs> and ordered 2013-01-24T17:57:05 < dongs> lets see if they fuck up again this week 2013-01-24T17:57:40 < zyp> :) 2013-01-24T17:58:00 < dongs> since im getting a full panel of the shits... i probably wont see htem until wed/thu anyway 2013-01-24T17:58:17 < dongs> so parts getting here monday doesnt matter, except I need a reel of 18pf caps cause im out 2013-01-24T17:58:22 < Laurenceb> patching file newlib-nano-1.0/newlib/libc/machine/arm/arm_asm.h 2013-01-24T17:58:22 < Laurenceb> Hunk #1 FAILED at 63. 2013-01-24T17:58:22 < Laurenceb> Hunk #2 FAILED at 78. 2013-01-24T17:58:22 < Laurenceb> 2 out of 2 hunks FAILED -- saving rejects to file newlib-nano-1.0/newlib/libc/m 2013-01-24T17:58:26 < Laurenceb> wow 2013-01-24T17:58:31 < Laurenceb> so much clusterfuck 2013-01-24T17:58:46 < dongs> patch files/?!?!? 2013-01-24T17:58:50 < karlp> the fuck are you doing? 2013-01-24T17:58:55 < dongs> failing, as usuasl 2013-01-24T17:59:03 < karlp> too many spaces I guess 2013-01-24T17:59:07 < Laurenceb> trying to install tnt 2013-01-24T17:59:26 < karlp> yeah, testing out dekar's bleeding edge of the bleeding edge 2013-01-24T17:59:31 < karlp> what for? 2013-01-24T17:59:39 < Laurenceb> see if it gives neat code 2013-01-24T17:59:53 < gxti> i heard it can make the linux kernel fit in 32k flash 2013-01-24T18:00:01 < karlp> download g-a-e from laucnhpad, make sure you don't have any extra bullshit in your path, LDFLAGS+=--specs=nano.specs, done. 2013-01-24T18:00:57 < dongs> argh FUCK 2013-01-24T18:01:01 < dongs> i knew i forgot to add something to order. 2013-01-24T18:01:21 < emeb_mac> there may still be time 2013-01-24T18:01:34 < dongs> ya livechat time 2013-01-24T18:01:41 < emeb_mac> right 2013-01-24T18:01:42 < gxti> chatting on chats 2013-01-24T18:02:20 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-24T18:02:24 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-24T18:02:39 <+Steffanx> dongs dongs. what did i tell you 2013-01-24T18:03:00 < dongs> yea man. 2013-01-24T18:03:01 <+Steffanx> [16:38:29] True true, but you will get ALL parts because it's less likely you make mistakes :P 2013-01-24T18:03:03 < dongs> its ok theyre on it 2013-01-24T18:03:10 < dongs> i would have totally forgotten 2013-01-24T18:03:17 < dongs> if someone in another channel didnt remind 2013-01-24T18:03:33 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-24T18:05:09 < emeb_mac> you mean there are _others_? 2013-01-24T18:05:18 < emeb_mac> I feel less special now. 2013-01-24T18:05:21 < Laurenceb> hmm it seems to be building now 2013-01-24T18:05:26 < Laurenceb> i just ignored the error 2013-01-24T18:05:40 < gxti> lol. 2013-01-24T18:05:57 < Laurenceb> i want to see if i can get my project down to <64KB 2013-01-24T18:06:01 < dongs> shatted and added. 2013-01-24T18:06:03 < Laurenceb> looks like it should 2013-01-24T18:06:03 < dongs> digieky chat = pro 2013-01-24T18:06:28 < dongs> Laurenceb: try compiling it with keil 2013-01-24T18:06:37 < dongs> though you might have to reindent it first 2013-01-24T18:06:45 < dongs> keil wont touch code that looks like shit 2013-01-24T18:07:04 < emeb_mac> whitespace sensitive - like python! 2013-01-24T18:07:09 < dongs> yea 2013-01-24T18:07:23 < gxti> wat 2013-01-24T18:07:50 < gxti> i wrote python all day erry day and that sounds stupid 2013-01-24T18:12:59 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-24T18:13:20 < Laurenceb> where does TNT install GCC? 2013-01-24T18:13:27 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 244 seconds] 2013-01-24T18:13:30 < karlp> ~/toolchain 2013-01-24T18:13:35 < karlp> hope you didn't hve anything there bforehand 2013-01-24T18:13:36 < dongs> bedtime 2013-01-24T18:15:17 < zyp> hmm, I'll try usbmon class on F3 breakout 2013-01-24T18:15:52 < dongs> cool 2013-01-24T18:16:13 < dongs> https://youtube.com/watch?v=UIN-znUKTT4 2013-01-24T18:16:47 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-24T18:17:48 < zyp> wat 2013-01-24T18:18:44 < Laurenceb> hmm gcc isd missing 2013-01-24T18:19:08 < dongs> Laurenceb: watch that video, it'll come back 2013-01-24T18:19:24 < karlp> wat indeed! 2013-01-24T18:19:41 < Laurenceb> the tnt install scrip[t keeps quitting 2013-01-24T18:21:11 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-24T18:22:25 -!- fxd0h_ [~fx@186.18.172.240] has joined ##stm32 2013-01-24T18:23:22 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-24T18:23:23 -!- fxd0h_ is now known as fxd0h 2013-01-24T18:23:37 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Quit: Leaving] 2013-01-24T18:25:23 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-24T18:25:28 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-24T18:25:28 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has quit [Client Quit] 2013-01-24T18:32:02 < zyp> http://i.qkme.me/3soqyh.jpg 2013-01-24T18:33:36 < emeb> the hat really sells it 2013-01-24T18:36:25 < dongs> o shit 2013-01-24T18:36:31 < dongs> my cloengopro shipped!@ 2013-01-24T18:36:36 < dongs> i got tracking number, posted on 23rd 2013-01-24T18:36:49 < emeb> It's real! 2013-01-24T18:37:08 < emeb> probably a box of rocks 2013-01-24T18:37:12 < gxti> beat me to it 2013-01-24T18:37:58 < dongs> rarrrrrrrr 2013-01-24T18:38:16 < emeb> lzhhhhhh 2013-01-24T18:38:21 < emeb> zippppppppp 2013-01-24T18:39:48 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-111.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-24T18:43:09 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-24T18:44:26 < Laurenceb> where is dekar :( 2013-01-24T18:44:30 < Laurenceb> need help with this 2013-01-24T18:45:01 < dongs> http://169.229.137.62/anony/mjpg.cgi cool laser cutter 2013-01-24T18:46:05 < emeb> timecode on webcam is 5 years off 2013-01-24T18:48:11 < dongs> http://204.50.231.165/anony/mjpg.cgi haha 2013-01-24T18:48:59 < emeb> webcam all the ethernet switches! 2013-01-24T18:49:01 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-24T18:51:48 -!- barthess [~barthess@5.100.213.61] has joined ##stm32 2013-01-24T18:53:00 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-01-24T18:53:28 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-24T18:56:25 < Laurenceb> http://paste.jvnv.net/view/k7bN5 2013-01-24T18:56:26 < Laurenceb> wtf 2013-01-24T18:56:29 < Laurenceb> it just dies 2013-01-24T18:56:39 < Laurenceb> no error or anything 2013-01-24T19:03:54 < Laurenceb> has anyone got TNT installed sucessfully? 2013-01-24T19:04:05 < emeb> seems to work for me 2013-01-24T19:04:15 < Laurenceb> latest versionm? 2013-01-24T19:04:19 < emeb> but I just d/l the binary version 2013-01-24T19:04:29 < Laurenceb> where? 2013-01-24T19:04:37 < Laurenceb> ooohh 2013-01-24T19:04:39 < Laurenceb> i see now 2013-01-24T19:04:54 < Laurenceb> rage 2013-01-24T19:04:55 < emeb> http://dekar.wc3edit.net/tnt/TNT_linux_x86-64_2012.10.tar.bz2 2013-01-24T19:04:57 < Laurenceb> im on 32bit 2013-01-24T19:06:04 < Laurenceb> guess ill have to speak to dekar 2013-01-24T19:06:11 < Laurenceb> its horribly broken 2013-01-24T19:11:38 <+Steffanx> poor Laurenceb 2013-01-24T19:19:14 < dongs> https://youtube.com/watch?v=mZNorgEjSsc 2013-01-24T19:19:48 < Laurenceb> voice of dongs? 2013-01-24T19:20:17 <+Steffanx> Hmm, hard to sleep in jappyland dongs? 2013-01-24T19:20:44 <+Steffanx> The voice is WAAAY to american Laurenceb 2013-01-24T19:21:00 < Laurenceb> yeah lol 2013-01-24T19:21:11 < Laurenceb> it sounds like texas cattle rancher 2013-01-24T19:21:43 <+Steffanx> " May 22 I'm going to lock down every thread I have ever started in the multirotor forum" like that is going to happen dongs :) 2013-01-24T19:21:58 < emeb> that's not a texas accent 2013-01-24T19:22:37 <+Steffanx> but it is yankeelanderish emeb 2013-01-24T19:22:43 <+dekar> Laurenceb, I see, I broke stuff… just revert 2 versions and use it without newlib-nano :) 2013-01-24T19:22:48 < emeb> Steffanx: no question, but tx. 2013-01-24T19:23:02 < Laurenceb> dekar: welcome back 2013-01-24T19:23:13 < Laurenceb> yeah i changed the tar.gz to tar.bz2 2013-01-24T19:23:23 < Laurenceb> but theres lots of broken stuff 2013-01-24T19:23:48 <+Steffanx> Why you link to an old video btw dongs? 2013-01-24T19:24:03 < dongs> was looking through my videos to see what i should monetize next 2013-01-24T19:24:06 < dongs> saw that one and lold 2013-01-24T19:24:15 <+Steffanx> The copter videos are still there 2013-01-24T19:24:30 <+Steffanx> You lied to us 2013-01-24T19:25:13 < emeb> oh the shame, the horror. 2013-01-24T19:26:07 < Laurenceb> https://www.youtube.com/watch?NR=1&v=VoBGau9623I 2013-01-24T19:26:31 -!- daku is now known as DaKu 2013-01-24T19:27:01 < karlp> hehe, oops. gdb load is trying to load the eeprom, even though the section was marked read only in the ld script. 2013-01-24T19:27:24 < karlp> so much for that approach. 2013-01-24T19:29:03 <+dekar> Laurenceb, I think I fixed everything 2013-01-24T19:29:12 < Laurenceb> ok ill try it 2013-01-24T19:29:19 <+dekar> I'll do a rebuild as well 2013-01-24T19:30:04 < zyp> karlp, gdb don't know shit about ld script 2013-01-24T19:30:25 < Laurenceb> right starting build now... 2013-01-24T19:30:26 < zyp> check section flags with objdump -h 2013-01-24T19:30:40 < gxti> dekar: trying it as well 2013-01-24T19:31:01 < gxti> seems to be compiling 2013-01-24T19:31:03 < karlp> the idea I'm trying is to have a section attribute on a variable to give me and address in the eeprom space, 2013-01-24T19:31:13 < karlp> sort of like the avr-libc eeprom api. 2013-01-24T19:31:17 < Laurenceb> curl: (7) couldn't connect to host 2013-01-24T19:31:32 < Laurenceb> it downloaded gcc, thats it 2013-01-24T19:31:47 < karlp> .eeprom is CONTENTS, ALLOC, LOAD, DATA 2013-01-24T19:31:52 < karlp> which yeah, won't work. 2013-01-24T19:32:01 < karlp> how do you modify that stuff? 2013-01-24T19:32:56 < karlp> I kinda want like BSS, just alloc I think. 2013-01-24T19:33:07 < Laurenceb> maybe its my network 2013-01-24T19:33:26 <+dekar> Laurenceb, I am not too sure whether I want to keep newlib-nano as default in TNT though. I'll probably replace their malloc with dlmalloc at least. 2013-01-24T19:33:49 < Laurenceb> wget worked 2013-01-24T19:33:54 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 276 seconds] 2013-01-24T19:34:13 <+dekar> Lua was working fine with 64kb ram on the normal newlib for me :/ 2013-01-24T19:34:38 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-24T19:34:38 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-24T19:34:39 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-24T19:35:12 < Laurenceb> ok i think my network is killing curl 2013-01-24T19:35:16 < Laurenceb> wget works 2013-01-24T19:36:30 < gxti> dekar: fwiw running again after fixing a problem complains about build-gcc already existing 2013-01-24T19:36:44 < jpa-> dekar: if you feel like doing that kind of "collection of stuff to get an usable non-bloat libc", it would be useful if you can extend baselibc.. currently it's lacking on the libm side, possibly the libm from nuttx could be ported 2013-01-24T19:37:30 < gxti> checking whether the gcc -m32 linker (ld -m elf_x86_64 -m elf_i386) supports shared libraries... yes 2013-01-24T19:37:32 < gxti> checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. 2013-01-24T19:37:36 < gxti> dekar: ^ that's new to me 2013-01-24T19:37:55 < Laurenceb> ok its building binutils ok now 2013-01-24T19:38:20 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 272 seconds] 2013-01-24T19:38:26 < Laurenceb> no issues so far, i swapped it to use wget 2013-01-24T19:38:57 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-24T19:38:58 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-24T19:38:58 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-24T19:39:04 < Laurenceb> gprof... 2013-01-24T19:39:33 < zyp> hmm, wonder if I'm constructing this hid descriptor right 2013-01-24T19:40:01 <+dekar> gxti, the script is pretty ugly, feel free to rewrite it in a pretty language (someone suggested ruby) and send it to me :) 2013-01-24T19:40:23 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 256 seconds] 2013-01-24T19:40:45 <+dekar> also I haven't seen the error you're getting before, it's still building binutils fo rme 2013-01-24T19:41:53 < Laurenceb> oops it quit 2013-01-24T19:42:07 < Laurenceb> http://paste.jvnv.net/view/b3nKt 2013-01-24T19:42:36 < zyp> hmm, this is weird 2013-01-24T19:42:45 < gxti> it's running several things in parallel so the last thing before quitting is not actually the error 2013-01-24T19:42:52 < gxti> set CPUS=1 in toolchain.sh to make it not do that 2013-01-24T19:42:54 < zyp> one of my machines is requesting the hid report descriptor, the other is not 2013-01-24T19:42:56 < Laurenceb> oh 2013-01-24T19:43:00 < zyp> wonder why 2013-01-24T19:43:39 < Laurenceb> checking whether asprintf is declared... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. 2013-01-24T19:43:39 < Laurenceb> yes 2013-01-24T19:43:39 < Laurenceb> checking whether basename is declared... make: *** [configure-zlib] Error 1 2013-01-24T19:45:17 <+dekar> Laurenceb, you get that compiling (configuring) newlib-nano? 2013-01-24T19:45:26 < Laurenceb> no 2013-01-24T19:45:28 < gxti> it's in glibc/zlib 2013-01-24T19:45:32 < Laurenceb> it seems to be gcc 2013-01-24T19:45:33 <+dekar> oh 2013-01-24T19:46:09 <+dekar> I haven't changed anything related to that 2013-01-24T19:46:10 < Laurenceb> http://gcc.gnu.org/ml/gcc-help/2012-07/msg00018.html 2013-01-24T19:46:17 <+dekar> still old linaro 4.7 2013-01-24T19:48:13 <+dekar> on my debian box it is compiling fine so far 2013-01-24T19:48:36 < zippe1> Don't fall into the ruby trap. 2013-01-24T19:49:04 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Disconnected by services] 2013-01-24T19:49:24 -!- dirty_d [~dirty_d3@209-213-71-70.meganet.net] has joined ##stm32 2013-01-24T19:49:30 < gxti> zippe1: what are your thoughts on uip? 2013-01-24T19:49:45 <+dekar> Laurenceb, gxti your OS? 2013-01-24T19:49:50 < gxti> dekar: fedora 18 2013-01-24T19:49:58 < Laurenceb> dekar? 2013-01-24T19:50:06 < Laurenceb> ubuntu 10.04lts 2013-01-24T19:50:36 < Laurenceb> http://gcc.gnu.org/ml/gcc/2008-03/msg00515.html 2013-01-24T19:50:40 < Laurenceb> argggg 2013-01-24T19:50:44 < Laurenceb> head explode 2013-01-24T19:51:34 < gxti> a much better description 2013-01-24T19:51:59 < Laurenceb> --with-system-zlib maybe? 2013-01-24T19:52:04 < Laurenceb> http://gcc.gnu.org/ml/gcc-help/2012-02/msg00141.html 2013-01-24T19:52:52 <+dekar> that adds another dependency to the binary, but in your case it should be fine 2013-01-24T19:53:28 < karlp> arm-none-eabi-objcopy --set-section-flags ".eeprom=alloc,noload" eeprom.elf karl.elf does absolutely nothing. 2013-01-24T19:53:32 < Laurenceb> added toi gcc_flags ? 2013-01-24T19:54:42 < dirty_d> do you guys use the analog or digital or no filter for I2C? 2013-01-24T19:55:19 < jpa-> dirty_d: what? 2013-01-24T19:55:48 < dirty_d> jpa-, the I2C module lets you use an analog spike filter, a digital one, or no filter 2013-01-24T19:56:08 < jpa-> ok.. i guess L1 doesn't have that 2013-01-24T19:56:14 < dirty_d> hmm 2013-01-24T19:56:24 < jpa-> or then i didn't notice it ever :) 2013-01-24T19:56:33 < dirty_d> jpa-, do you not have to to all the crazy timing calculations on that one too? 2013-01-24T19:56:47 < gxti> :? 2013-01-24T19:58:01 < jpa-> dirty_d: i used the chibios driver so not sure if it hides something.. what family are you using? 2013-01-24T19:58:12 < dirty_d> stm32f303 2013-01-24T19:59:11 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 245 seconds] 2013-01-24T20:00:25 < emeb> section 24.4.4 of the F303 RM describes them. Don't recall seeing that before either. 2013-01-24T20:00:35 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-24T20:01:22 <+dekar> gxti, Laurenceb my Debian stable is building newlib now, so I guess you guys figure out how to fix your problem and tell me :) 2013-01-24T20:01:35 < Laurenceb> heh 2013-01-24T20:01:36 < gxti> dekar: i did --with-system-zlib and it's still going 2013-01-24T20:01:42 < Laurenceb> its building gcc at the moment 2013-01-24T20:01:50 < jpa-> not in F4 either.. so they have a new I2C peripheral in the F3? 2013-01-24T20:01:53 < gxti> looks like it's on newlib here as well 2013-01-24T20:01:55 < Laurenceb> been building for 15minutes so far on my i7 2013-01-24T20:02:18 <+dekar> takes about 2h in total on my atom XD 2013-01-24T20:02:43 < gxti> :| 2013-01-24T20:02:56 < dirty_d> building gcc is the most complex process ever produced by mankind 2013-01-24T20:03:00 < gxti> i5 here, though i'm running with -j1 to make diagnosing problems easier 2013-01-24T20:03:17 < gxti> dirty_d: not the longest though, that would be openoffice 2013-01-24T20:03:29 < gxti> you can make any distro maintainer shudder just by uttering those words 2013-01-24T20:03:44 < dirty_d> yo dawg i heard you like compilers, so i compiled a compiler to compile your compiler 2013-01-24T20:04:03 < emeb> yacc 2013-01-24T20:05:33 < gxti> heh, libgcc apparently consists of the same source file compiled thousands of times 2013-01-24T20:06:17 -!- dongle [~no@bcas.tv] has quit [Disconnected by services] 2013-01-24T20:06:21 <+dekar> probably due to multilib 2013-01-24T20:07:00 < gxti> partly, but it's doing like -DFROM_SF -DTO_UQI -o blahblahSFUQI.o 2013-01-24T20:10:15 < Laurenceb> hehe 2013-01-24T20:10:18 < Laurenceb> same here :P 2013-01-24T20:11:14 < zyp> hmm, neat, I found some dumps of the apple monitor descriptors 2013-01-24T20:12:51 <+dekar> jpa-, baselibc surely looks interesting 2013-01-24T20:17:04 < jpa-> dekar: it's very small.. that's the big feature :P 2013-01-24T20:18:35 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-24T20:20:09 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-24T20:21:54 < gxti> dekar: built 2013-01-24T20:22:45 <+dekar> neat 2013-01-24T20:23:22 < Laurenceb> built 2013-01-24T20:23:25 < Laurenceb> haha 2013-01-24T20:23:29 < Laurenceb> i was <1minute slower 2013-01-24T20:23:43 <+dekar> my atom will take another hour I think :P 2013-01-24T20:23:48 < gxti> SSD is a hell of a drug 2013-01-24T20:23:52 < Laurenceb> how many binaries O_o 2013-01-24T20:24:02 < Laurenceb> now i have to make it work... 2013-01-24T20:24:13 < gxti> it works of course 2013-01-24T20:24:16 <+dekar> didn't TNT work for you before? 2013-01-24T20:24:20 < gxti> nothing too exciting 2013-01-24T20:24:51 < gxti> dekar: gcc did but gdb did not due to libpython 2013-01-24T20:25:42 <+dekar> I meant Laurenceb since he said he'd now have to make it work 2013-01-24T20:26:19 < Laurenceb> yeah 2013-01-24T20:26:23 < Laurenceb> it almost works... 2013-01-24T20:26:24 < Laurenceb> arm-none-eabi/bin/ld: cannot find -lc_s 2013-01-24T20:26:35 < Laurenceb> wtf is c_s 2013-01-24T20:26:46 < gxti> libc static maybe 2013-01-24T20:27:39 < gxti> nah, some other meaning for the suffix 2013-01-24T20:28:30 < Laurenceb> whatever it is, its not in my project 2013-01-24T20:28:49 < Laurenceb> or in the command line argument 2013-01-24T20:28:53 <+dekar> Laurenceb, are you using my linkerscript? 2013-01-24T20:28:57 < Laurenceb> no 2013-01-24T20:29:06 <+dekar> show me yours then 2013-01-24T20:29:50 < Laurenceb> http://pastebin.com/jgB3Eq6v 2013-01-24T20:30:06 < Laurenceb> i have an included thingy with isr names, and something defining flash and ram 2013-01-24T20:31:41 <+dekar> not there either :/ 2013-01-24T20:32:03 <+dekar> I take TNT example builds fine for you? 2013-01-24T20:32:43 < Laurenceb> where is the example? 2013-01-24T20:33:04 <+dekar> Laurenceb, https://github.com/EliasOenal/TNT_Example 2013-01-24T20:34:15 < Laurenceb> make: *** No rule to make target `STM32_USB-Host-Device_Lib_V2.1.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c', needed by `build/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.o'. Stop. 2013-01-24T20:34:59 < zyp> hmm, now I'm starting to make sense of this 2013-01-24T20:35:16 <+dekar> Laurenceb, extract the zip 2013-01-24T20:35:24 < zyp> I changed vid/pid to mimic an apple display, now host asks for EDID information 2013-01-24T20:35:32 < emeb> cute 2013-01-24T20:35:44 < zyp> so I suppose it's using that to figure out which usb device is which monitor 2013-01-24T20:36:10 < zyp> of course, since I'm not returning anything useful to that, it doesn't work 2013-01-24T20:36:14 < Laurenceb> yeah made ok 2013-01-24T20:36:24 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-24T20:36:46 < zyp> and this is certainly not as easy as just defining any usb monitor device with a brightness control 2013-01-24T20:37:01 <+dekar> Laurenceb, now program it onto your f4 discovery and watch the blinky awesomeness 2013-01-24T20:37:49 < Laurenceb> ah, nan.specs was still there 2013-01-24T20:37:52 < Laurenceb> compiles now 2013-01-24T20:38:43 < Laurenceb> but binary is huge :( 2013-01-24T20:38:49 < Laurenceb> bigger than launchpad gcc 2013-01-24T20:38:50 < Laurenceb> wtf 2013-01-24T20:38:58 < Laurenceb> well - by 500bytes 2013-01-24T20:39:35 <+dekar> that's unexpected 2013-01-24T20:40:03 <+dekar> path is fine? ;) 2013-01-24T20:40:08 <+dekar> is LTO enabled? 2013-01-24T20:40:10 < Laurenceb> 080078ce : 2013-01-24T20:40:10 < Laurenceb> 80078ce: 8a83 ldrh r3, [r0, #20] 2013-01-24T20:40:12 < Laurenceb> nope 2013-01-24T20:40:20 < Laurenceb> LTO is failing - i dont use IRDA 2013-01-24T20:40:21 <+dekar> should be smaller then :/ 2013-01-24T20:40:32 < Laurenceb> -flto ? 2013-01-24T20:40:41 <+dekar> without LTO is fine 2013-01-24T20:41:01 <+dekar> how big is the TNT Example for you? 2013-01-24T20:41:43 <+dekar> should be <5k 2013-01-24T20:42:17 <+dekar> are you building -Os? 2013-01-24T20:42:30 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-24T20:43:04 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-24T20:43:14 < Laurenceb> yes 2013-01-24T20:43:22 < Laurenceb> yeah but i wasnt to use LTO 2013-01-24T20:43:26 < Laurenceb> *want 2013-01-24T20:46:16 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Ping timeout: 245 seconds] 2013-01-24T20:47:34 < Laurenceb> do i need a different linker? 2013-01-24T20:49:02 < Laurenceb> ok wtf 2013-01-24T20:49:11 < Laurenceb> -flto was in the wrong place 2013-01-24T20:49:22 < Laurenceb> binary size just exploded to 90kb from 60 2013-01-24T20:51:50 < Laurenceb> bbl 2013-01-24T20:53:24 <+dekar> Laurenceb, add "-Os -flto -flto-partition=none -fno-use-linker-plugin" to LDFLAGS and CFLAGS 2013-01-24T20:59:38 -!- DaKu is now known as daku 2013-01-24T21:00:46 <+dekar> for LTO the linker has to be passed -Os 2013-01-24T21:03:44 -!- daku is now known as DaKu 2013-01-24T21:05:46 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-24T21:14:33 < zyp> just dumping the EDID from one of my displays and sending that doesn't seem to help much 2013-01-24T21:15:20 < zyp> wish I knew somebody with a display that I could borrow and reverse engineer protocol from :p 2013-01-24T21:17:34 <+Steffanx> Just buy one :P 2013-01-24T21:18:02 < zyp> you'll pay? 2013-01-24T21:19:01 <+Steffanx> You are the guy with a decent job 2013-01-24T21:19:18 < zyp> also, the thunderbolt one is using internal usb controller hooked to thunderbolt link, so I'm not interested in that, want one of the old ones with dp + separate usb 2013-01-24T21:21:32 < zyp> wonder how hard it would be to write a custom driver to hook into OS X' brightness framework 2013-01-24T21:22:33 <+Steffanx> Do some kext reverse engineering? 2013-01-24T21:22:44 <+Steffanx> or isn't that controlled by some random kext? 2013-01-24T21:23:26 < zyp> dunno 2013-01-24T21:24:44 -!- _BJFreeman [~bjfree@197.sub-75-233-210.myvzw.com] has joined ##stm32 2013-01-24T21:25:22 -!- _BJFreeman is now known as BJfreeman 2013-01-24T21:26:12 <+Steffanx> ReportDescriptorOverrride .. sound fancy :) 2013-01-24T21:26:22 <+Steffanx> ( in the AppleUSBDisplay kext ) 2013-01-24T21:28:51 < zyp> yeah, it seems like that's the right kext 2013-01-24T21:30:56 <+Steffanx> _ 2013-01-24T21:31:06 <+Steffanx> _CodeSignature. I hope that's not as bad as it sounds 2013-01-24T21:31:06 < karlp> rememebr kids, if you're doing 32bit writes at a time, make sure your pointer is incrementing in 32bit steps... 2013-01-24T21:31:14 <+Steffanx> Yes Sir 2013-01-24T21:32:05 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2013-01-24T21:32:07 < karlp> gave up trying to use sections to get the linker to just assign me an address in eeprom space. just using a fixed address. 2013-01-24T21:32:20 < karlp> probably safer anyway. 2013-01-24T21:33:05 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-24T21:33:48 < zyp> karlp, «told you so»? ;) 2013-01-24T21:37:09 < karlp> yaya 2013-01-24T21:37:15 < karlp> still should have worked 2013-01-24T21:41:20 < karlp> hah, foudn it. 2013-01-24T21:41:29 < karlp> turns out it was ldscripts being super particular about spaces 2013-01-24T21:41:50 < karlp> so it was just ignoring my earlier attempts. 2013-01-24T21:57:31 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2013-01-24T22:15:20 -!- BJfreeman [~bjfree@197.sub-75-233-210.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-01-24T22:15:23 -!- _BJFreeman [~bjfree@213.sub-75-233-26.myvzw.com] has joined ##stm32 2013-01-24T22:15:58 -!- dirty_d [~dirty_d3@209-213-71-70.meganet.net] has quit [Remote host closed the connection] 2013-01-24T22:16:09 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-24T22:20:26 -!- barthess [~barthess@5.100.213.61] has quit [Quit: Leaving.] 2013-01-24T22:24:02 -!- _BJFreeman is now known as BJfreeman 2013-01-24T22:42:08 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has joined ##stm32 2013-01-24T22:46:35 < Laurenceb_> sup my homies 2013-01-24T22:46:59 < emeb> clouds, rain... doom... 2013-01-24T22:49:58 <+Steffanx> doom 3d .. 2013-01-24T22:52:57 < Laurenceb_> so.. what does -Wl do ? 2013-01-24T22:53:00 < Laurenceb_> in linker script 2013-01-24T22:53:07 < Laurenceb_> i mean in the makefile 2013-01-24T22:53:37 < gxti> RTFM 2013-01-24T22:54:31 <+Steffanx> Yes Sir 2013-01-24T22:54:52 <+Steffanx> It's the perfect param/option for you Laurenceb_ :D 2013-01-24T22:56:17 < emeb> http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Link-Options.html#index-Wl-1018 2013-01-24T22:56:46 <+Steffanx> And it happened again 2013-01-24T22:57:03 < emeb> wat? 2013-01-24T22:57:12 <+Steffanx> The googling for someone else :) 2013-01-24T22:57:20 < emeb> It's fun! 2013-01-24T22:57:34 <+Steffanx> It makes you look smart huh? :) 2013-01-24T22:57:42 < emeb> nah - anyone can google. 2013-01-24T22:57:54 <+Steffanx> Yeah, but YOU know where to find it 2013-01-24T22:58:12 <+Steffanx> And not everyone can use google properly 2013-01-24T22:58:28 < emeb> sharing is nice 2013-01-24T22:58:36 < emeb> and it's nice to be nice 2013-01-24T22:59:27 < Laurenceb_> hmm lto is broken 2013-01-24T23:00:52 <+dekar> Laurenceb_, I think that's why it isn't default :P 2013-01-24T23:01:06 < Laurenceb_> it doesnt do anything 2013-01-24T23:01:12 < Laurenceb_> how do i enable it? 2013-01-24T23:01:28 <+dekar> [19:53] Laurenceb, add "-Os -flto -flto-partition=none -fno-use-linker-plugin" to LDFLAGS and CFLAGS 2013-01-24T23:01:36 < Laurenceb_> ah thanks 2013-01-24T23:01:40 < Laurenceb_> hmm on 2013-01-24T23:01:48 <+dekar> [20:00] for LTO the linker has to be passed -Os 2013-01-24T23:01:54 < Laurenceb_> ... 2013-01-24T23:01:55 < Laurenceb_> ok 2013-01-24T23:02:11 < Laurenceb_> so wait i need that in CFLAGS and LDFLAGS ? 2013-01-24T23:02:30 <+dekar> yeah 2013-01-24T23:02:48 < Laurenceb_> ok 2013-01-24T23:03:28 <+dekar> that's cause gcc bundles LTO intermediate code as well as the compiled code into the object files 2013-01-24T23:06:09 < Laurenceb_> ok its now very slightly bigger 2013-01-24T23:06:56 <+dekar> sounds like it is working :) 2013-01-24T23:07:31 <+dekar> I haven't seen many examples where LTO improved things 2013-01-24T23:07:42 < Laurenceb_> fail 2013-01-24T23:08:22 < Laurenceb_> ok, and why arent unused functions getting trimmed out? 2013-01-24T23:08:24 <+dekar> also linking now takes ages :P 2013-01-24T23:08:28 < Laurenceb_> yes 2013-01-24T23:08:42 < karlp> shouldn't lto be the same as manually putting all your code and libraries into one file? 2013-01-24T23:08:44 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-24T23:08:44 <+dekar> I guess LTO is broken like that 2013-01-24T23:08:49 < Laurenceb_> -Wl,--sort-common,--gc-sections,-Map=main.map,-cref 2013-01-24T23:09:03 <+dekar> karlp, yeah it's basically the same 2013-01-24T23:09:11 < Laurenceb_> arm-none-eabi-gcc -std=gnu99 -Wall -W -Wshadow -Wcast-qual -Wwrite-strings -Winline -Os -finline -finline-functions-called-once -flto-partition=none -fno-use-linker-plugin -funroll-loops -fno-common -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -flto 2013-01-24T23:09:19 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-24T23:09:19 < Laurenceb_> shouldnt that trim unused functions? 2013-01-24T23:10:06 <+dekar> Laurenceb_, I don't think -ffunction-sections -fdata-sections do anything since the compiler _doesn't_ compile anymore when using LTO 2013-01-24T23:10:15 <+dekar> the linker does 2013-01-24T23:10:27 < Laurenceb_> oh 2013-01-24T23:10:33 < Laurenceb_> so if i turn off LTO... 2013-01-24T23:10:46 <+dekar> well actually it still compiles, but the linker throws everything away and compiles again 2013-01-24T23:10:56 <+dekar> which makes linking take ages 2013-01-24T23:12:48 <+dekar> Laurenceb_, try adding "-ffunction-sections -fdata-sections" to the LDFLAGS as well 2013-01-24T23:13:24 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:51a8:34d9:56e4:8223] has joined ##stm32 2013-01-24T23:13:45 < Laurenceb_> ok 2013-01-24T23:14:43 -!- betovar [~betovar@adsl-98-64-144-209.mia.bellsouth.net] has quit [Ping timeout: 245 seconds] 2013-01-24T23:16:25 < Laurenceb_> 0800787e : 2013-01-24T23:16:25 < Laurenceb_> 8007880: b119 cbz r1, 800788a 2013-01-24T23:16:33 < Laurenceb_> still not working - i dont use that 2013-01-24T23:16:50 <+dekar> did it get smaller at least? 2013-01-24T23:17:17 < Laurenceb_> from LTO yes 2013-01-24T23:17:32 < Laurenceb_> but its still full of std lib functions i dont use 2013-01-24T23:17:41 < Laurenceb_> got to be 20 or 30KB of them in there 2013-01-24T23:18:27 <+dekar> well I didn't compile newlib with LTO, probably related to that 2013-01-24T23:18:50 < Laurenceb_> its not using newlib 2013-01-24T23:18:56 < Laurenceb_> sorry - ST lib 2013-01-24T23:19:01 < Laurenceb_> peripheral library 2013-01-24T23:19:01 < karlp> thanks heaps Steffanx: http://www.youtube.com/watch?v=n0wTycwN6Ik 2013-01-24T23:19:17 <+dekar> probably just LTO failing then ;) 2013-01-24T23:19:26 < Laurenceb_> but this isnt LTO 2013-01-24T23:19:31 <+dekar> oh 2013-01-24T23:19:35 < Laurenceb_> its unused functions 2013-01-24T23:20:13 -!- betovar [~betovar@98.64.144.209] has joined ##stm32 2013-01-24T23:20:14 < Laurenceb_> hmm something must be wrong - ive made this work before 2013-01-24T23:20:34 < Laurenceb_> -Wl,--sort-common,--gc-sections,-Map=main.map,-cref -T lanchon-stm32.ld -L lib -I . -I lib/STM32F10x_StdPeriph_Driver/inc -I lib/CMSIS_CM3 -I lib/STM32F10x_StdPeriph_Driver -I lib/STM32_USB-FS-Device_Driver/inc -I Util -I Sensors -I Util/USB -I Util/fat_fs/inc -L lib/STM32F10x_StdPeriph_Driver/ -L lib/STM32_USB-FS-Device_Driver -lm -ffunction-sections -fdata-sections 2013-01-24T23:20:41 < Laurenceb_> is the link flags 2013-01-24T23:22:12 <+dekar> do the CFLAGS contain -ffunction-sections -fdata-sections? 2013-01-24T23:22:35 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-24T23:23:16 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:51a8:34d9:56e4:8223] has quit [Remote host closed the connection] 2013-01-24T23:23:21 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-24T23:23:35 < Laurenceb_> yes 2013-01-24T23:23:50 < Laurenceb_> oh - do i need -Os in LDFLAGS? 2013-01-24T23:23:59 <+dekar> for LTO you do 2013-01-24T23:24:47 < Laurenceb_> hmm no change there 2013-01-24T23:24:55 < Laurenceb_> something is broken - this worked before 2013-01-24T23:25:07 < Laurenceb_> http://embeddedfreak.wordpress.com/2009/02/10/removing-unused-functionsdead-codes-with-gccgnu-ld/ 2013-01-24T23:25:11 < Laurenceb_> hmm i have that 2013-01-24T23:25:16 <+dekar> didn't the lanchon linkerscript pull in proprietary code sourcery bits? 2013-01-24T23:26:21 < Laurenceb_> i dont think its actually used any more 2013-01-24T23:26:25 < Laurenceb_> ill remove that 2013-01-24T23:27:24 < Laurenceb_> wow 2013-01-24T23:27:28 < Laurenceb_> think i fixed it 2013-01-24T23:27:40 < Laurenceb_> just got 20K smaller 2013-01-24T23:27:51 <+dekar> by removing the linkerscript? 2013-01-24T23:29:10 < Laurenceb_> erm no 2013-01-24T23:29:18 < Laurenceb_> that killed off my ISR handlers 2013-01-24T23:29:35 < karlp> are you having fun yet? ;) 2013-01-24T23:29:44 < Laurenceb_> lol 2013-01-24T23:32:04 <+dekar> too much fun... 2013-01-24T23:46:11 < emeb> heh -> https://www.youtube.com/watch?feature=player_embedded&v=mdZo_keUoEs 2013-01-24T23:48:20 <+Steffanx> emeb, all i say is: /me killjoy 2013-01-24T23:48:38 < karlp> this is cute: http://www.youtube.com/watch?v=sO2-tqoyGik 2013-01-24T23:50:38 <+Steffanx> Nice 2013-01-24T23:51:25 < karlp> emeb: *grins* I love his videos 2013-01-24T23:51:53 < emeb> karlp: he's got a good sense of humor, and that thing seems to work so he's no dummy. 2013-01-24T23:52:28 < karlp> yeah, 2013-01-24T23:52:34 <+Steffanx> I have to say.. it's better than his previous one :) 2013-01-24T23:52:34 < emeb> cool spinny ball thing. fairly complex mechanically. 2013-01-24T23:53:13 < Laurenceb_> could i call arm-none-eabi-ld directly? 2013-01-24T23:54:17 < karlp> not normally. 2013-01-24T23:54:33 < karlp> most people these days let gcc do the linking too. 2013-01-24T23:54:35 <+dekar> sure, but usually you'll let gcc call ld --- Day changed Fri Jan 25 2013 2013-01-25T00:12:52 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-25T00:33:43 < ds2> what are the chances a f1 would start oscillating at 60Hz? 2013-01-25T00:36:49 < zyp> start oscillating? 2013-01-25T00:37:38 < ds2> here's my problem - 2013-01-25T00:37:58 < ds2> i hacked up blinky to toggle a GPIO. only have a DMM with a counter handy. 2013-01-25T00:38:21 < ds2> the GPIO toggles at 10Hz. I put in the code to turn on the xtal oscillator 2013-01-25T00:38:27 < ds2> now that same GPIO measures 60Hz 2013-01-25T00:38:46 < ds2> so either it is really running at 60Hz (then I have a problem) or somehow I am picking up 60Hz (I am in the US) 2013-01-25T00:41:37 < ds2> seems to follow my code but defies documentation 2013-01-25T00:42:02 < ds2> it would appear that the /2 for the HSI into the PLL is not taking place 2013-01-25T00:43:05 < zyp> I bet your frequency counter doesn't cope with non-sines 2013-01-25T00:44:04 < zyp> you shouldn't even be able to drive a gpio at 60 Hz, so I wouldn't trust those measurements :p 2013-01-25T00:44:10 < zyp> uh 2013-01-25T00:44:19 < zyp> wait, I'm thinking MHz :p 2013-01-25T00:44:22 < Laurenceb_> aha 2013-01-25T00:44:42 < Laurenceb_> ffunction-section _is_ working 2013-01-25T00:44:46 < Laurenceb_> just not very well 2013-01-25T00:44:52 < Laurenceb_> very odd 2013-01-25T00:44:54 < ds2> I recompiled with a different PLL setting (x4 instead of x6) and I am seeing 40Hz 2013-01-25T00:45:11 < ds2> so somehow I am getting the non /2 HSI driving the PLL 2013-01-25T00:47:28 < ds2> what is so special about the STM32F10X_CL parts? they seem to have special clock setup cases 2013-01-25T00:49:00 -!- baird [~cjb@ppp121-44-151-176.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-25T00:49:30 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-01-25T00:50:34 < Laurenceb_> theres stuff in there that I'm sure isnt used 2013-01-25T00:52:56 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Ping timeout: 252 seconds] 2013-01-25T00:58:00 < Laurenceb_> ok, on my test project, TNT is 4% smaller code than launchpad 2013-01-25T00:58:19 < Laurenceb_> and 10% smaller than codesourcery 2013-01-25T01:01:00 < Laurenceb_> but looking through the disassembly, it still sucks 2013-01-25T01:01:14 < Laurenceb_> theres unused lib functions stuck in there 2013-01-25T01:01:29 < Laurenceb_> but the asm looks visibly neater with TNT 2013-01-25T01:01:55 < Laurenceb_> its got a better handle on thumb2 instruction set 2013-01-25T01:02:44 <+dekar> Laurenceb_, did you compile the ST lib with LTO as well? 2013-01-25T01:03:17 <+dekar> assuming you're using LTO 2013-01-25T01:04:14 <+dekar> and by launchpad you mean the GAE one? 2013-01-25T01:05:36 -!- canid [~canid@76-228-28-56.lightspeed.frokca.sbcglobal.net] has joined ##stm32 2013-01-25T01:06:48 -!- betovar [~betovar@98.64.144.209] has quit [Ping timeout: 245 seconds] 2013-01-25T01:08:49 -!- DaKu is now known as daku 2013-01-25T01:11:10 < Laurenceb_> yes GAE 2013-01-25T01:11:28 < Laurenceb_> dekar: ST lib is not compiled as a library 2013-01-25T01:11:36 < Laurenceb_> im building everything at once 2013-01-25T01:13:44 < baird> There are certain things you could be careful about: https://github.com/rigormotis/dotfiles/blob/1bd6a30206227111b7e471bdba56b606e4a72617/.zsh_history 2013-01-25T01:15:14 < GargantuaSauce> at least he uses 7zip 2013-01-25T01:16:04 -!- betovar [~betovar@98.64.144.209] has joined ##stm32 2013-01-25T01:16:41 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 245 seconds] 2013-01-25T01:18:49 <+dekar> baird, lol how did you find that? XD 2013-01-25T01:20:54 < GargantuaSauce> keyword search ;) 2013-01-25T01:24:00 < Laurenceb_> oh my god 2013-01-25T01:24:03 < Laurenceb_> that is epic 2013-01-25T01:25:21 < Laurenceb_> maybe we should email jladams@denning.cs.millersville.edu and inform them of the fail 2013-01-25T01:26:29 < Laurenceb_> theres a surprisingly periodicity to the pron 2013-01-25T01:28:28 < baird> Wait a week or so before doing that.. 2013-01-25T01:28:48 < Laurenceb_> unrar x Dragon\ Bride\ Uncensored.rar 2013-01-25T01:28:50 < Laurenceb_> i lolled 2013-01-25T01:28:57 -!- jef79m_lurking is now known as jef79m 2013-01-25T01:31:10 < Laurenceb_> sudo cp -r Linkin\ Park\ -\ A\ Thousand\ Suns /mnt/disk/Music/Linkin\ Park\ Discography 2013-01-25T01:31:16 < Laurenceb_> that says it all 2013-01-25T01:31:51 < Laurenceb_> unrar x IncLoli.rar 2013-01-25T01:32:06 < Laurenceb_> this is bairds log surely 2013-01-25T01:32:24 -!- solid_liq [~solidly@unaffiliated/solidliq] has joined ##stm32 2013-01-25T01:32:56 < solid_liq> anyone have any suggestions for a free IDE and/or compiler that will run on Linux and/or Windows, for the STM32F4DISCOVERY board? 2013-01-25T01:34:10 < zyp> yes. 2013-01-25T01:34:19 < Laurenceb_> TNT is best :P 2013-01-25T01:34:35 < Laurenceb_> but a pita to set up 2013-01-25T01:34:39 < zyp> Laurenceb_, shut the fuck up? :D 2013-01-25T01:34:40 < solid_liq> TNT? 2013-01-25T01:34:53 < zyp> solid_liq, you want this: https://launchpad.net/gcc-arm-embedded/ 2013-01-25T01:34:58 < Laurenceb_> hehe 2013-01-25T01:35:10 < solid_liq> zyp: is it a prebuilt gcc cross compiler? 2013-01-25T01:35:14 < zyp> yes. 2013-01-25T01:35:14 < Laurenceb_> yes 2013-01-25T01:35:15 < Laurenceb_> https://github.com/EliasOenal/TNT 2013-01-25T01:35:18 < solid_liq> awesome! 2013-01-25T01:35:20 < Laurenceb_> is not prebuilt 2013-01-25T01:35:34 < solid_liq> I just built a gcc cross compiler for other arms at work, and it took way too long 2013-01-25T01:36:22 < zyp> grab the one I linked to, it's maintained by ARM, so it's the most official free compiler toolchain you can get for this 2013-01-25T01:36:24 < solid_liq> oh wow, that's awesome 2013-01-25T01:36:26 < GargantuaSauce> compiling big things like gcc became much less painful when i got an ssd 2013-01-25T01:36:29 < GargantuaSauce> also use -j4 2013-01-25T01:36:46 < zyp> and don't listen to Laurenceb_ unless you like wasting your time on buggy third-party stuff :p 2013-01-25T01:36:53 < solid_liq> GargantuaSauce: I use a quad xeon quadcore with 32 GB of ram... the disk speed doesn't matter on that ;) 2013-01-25T01:36:58 <+dekar> I need a new laptop, with quadcore and ssd 2013-01-25T01:37:09 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-25T01:37:11 < GargantuaSauce> whatever you say bro 2013-01-25T01:37:29 < solid_liq> gang only $400 or so used on geeks.com (it's a 1U SuperMicro rack server) 2013-01-25T01:37:33 < zyp> (no offence towards TNT maintainer intended) 2013-01-25T01:38:14 <+dekar> none taken, GAE is surely much more convenient 2013-01-25T01:38:21 < Laurenceb_> lol zyp 2013-01-25T01:38:31 <+dekar> also the name is better XD 2013-01-25T01:38:34 < solid_liq> gang looks like they only have dual xeon quadcores in stock right now: http://www.geeks.com/products.asp?cat=SVR 2013-01-25T01:38:48 < solid_liq> er, GargantuaSauce 2013-01-25T01:38:53 < Laurenceb_> its not as good tho 2013-01-25T01:38:59 < Laurenceb_> nice work dekar :P 2013-01-25T01:39:13 < Laurenceb_> only 4% in it 2013-01-25T01:39:16 < solid_liq> zyp: does that have an IDE (like Eclipse) attached to it, or is it just the compiler? 2013-01-25T01:39:33 < karlp> just tools. 2013-01-25T01:39:36 <+dekar> Laurenceb_, well for linux and osx I have precompiled versions, but I cbf building them for windows :/ 2013-01-25T01:40:07 < Laurenceb_> i should probably check my code 2013-01-25T01:40:26 < Laurenceb_> something is not right with the unused functions... 2013-01-25T01:40:39 < Laurenceb_> but its better than anything else so.. *shrug* 2013-01-25T01:41:43 < Laurenceb_> http://www.geeks.com/details.asp?InvtId=DCS23-QC233X2-PB-R&cpc=RESX sheetttt 2013-01-25T01:42:24 < Laurenceb_> "WARNING: The solder used in this product contains lead, a chemical known to the State of California to cause birth defects and other reproductive harm" 2013-01-25T01:42:39 < Laurenceb_> that doesnt bother me in not in California 2013-01-25T01:43:10 < solid_liq> Laurenceb: they have that disclaimer on all of them, for some reason 2013-01-25T01:43:46 < Laurenceb_> actually its not so funny any more, they reworded it 2013-01-25T01:43:56 < Laurenceb_> used to say "in the state of California" 2013-01-25T01:44:15 < solid_liq> Laurenceb: that one isn't that good of a deal. they get much better deals on there 2013-01-25T01:44:15 < Laurenceb_> still does on all my rocket motors :P 2013-01-25T01:44:25 < Laurenceb_> yeah, on ebay and places tho ? 2013-01-25T01:44:35 < solid_liq> no, on geeks.com 2013-01-25T01:44:44 < solid_liq> you just have to watch their inventory 2013-01-25T01:45:04 < solid_liq> you get a return policy, a reliable seller and good prices with geeks.com 2013-01-25T01:45:20 < solid_liq> I've bought from them a few times, and plan to again soon 2013-01-25T01:48:42 <+dekar> shipping to germany is 160usd :/ 2013-01-25T01:50:42 < Laurenceb_> and a bit of a power hungry overkill, even for building TNT :D 2013-01-25T01:50:53 < Laurenceb_> sleeptiem 2013-01-25T01:50:55 * Laurenceb_ zzz 2013-01-25T01:53:18 -!- peque_ [~peque@181.Red-88-14-132.dynamicIP.rima-tde.net] has joined ##stm32 2013-01-25T01:54:07 < peque_> hi there :-) 2013-01-25T01:54:24 < emeb> I'm on my way I'm making it... 2013-01-25T01:54:57 < peque_> how do I get started to design a PCB with an integrated STM32 that I could program? (links, references...) 2013-01-25T01:55:03 < peque_> thanks in advance for your help! :-D 2013-01-25T01:55:55 < emeb> have you ever used PCB design tools? 2013-01-25T01:57:08 < peque_> emeb: yes, and I have experience with SMD soldering and STM32 programming (maple mini board), but never thought about making my own design 2013-01-25T01:57:18 < peque_> now I would like to learn electronics to make it 2013-01-25T01:57:20 < peque_> :-) 2013-01-25T01:57:53 < emeb> Well, grab copies of the datasheet for the particular STM32 you want to use and study them. 2013-01-25T01:58:18 < emeb> Also, grab the User Manuals for STM32 Discovery boards and study how they hooked them up. 2013-01-25T01:58:31 -!- baird [~cjb@ppp121-44-151-176.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-25T01:58:37 < emeb> Add and delete board-level features that you want/don't want. 2013-01-25T01:58:40 < peque_> emeb: the 1000+ pages datasheet? xD 2013-01-25T01:58:51 < emeb> Enter into your favorite PCB design tools 2013-01-25T01:58:58 < zyp> nothing wrong with 1000+ pages 2013-01-25T01:59:14 < emeb> peque_: you have to know what the parts can do and what they need to function. 2013-01-25T01:59:23 < zyp> more pages = better detailed descriptions = more useful 2013-01-25T01:59:37 < emeb> You won't have to know the datasheet by heart, but you will need to know what's generally in it. 2013-01-25T01:59:55 < peque_> ok, if that is the only way, I'll do it :-) 2013-01-25T02:00:02 < emeb> It's how we do it. 2013-01-25T02:00:20 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-25T02:00:45 < peque_> my first question was how to connect the micro with a USB so you can program it with your computer. will I have the answer in those pages? 2013-01-25T02:01:25 < emeb> The user manuals for the Discovery boards show how that is done. 2013-01-25T02:01:42 < zyp> emeb, or your F3 breakout 2013-01-25T02:01:50 < zyp> it should be a nice starting point 2013-01-25T02:01:53 < emeb> zyp: :) 2013-01-25T02:02:12 < emeb> peque_: Here's a little board I did: http://ebrombaugh.studionebula.com/embedded/stm32f303breakout/index.html 2013-01-25T02:02:19 < emeb> Very simple, does USB. 2013-01-25T02:02:49 < zyp> the basics you'll need in any case is the power supply and power decoupling, and for usb you need some resistors as well 2013-01-25T02:05:04 < peque_> embed, zyp: thanks a lot for your help 2013-01-25T02:05:25 < peque_> emeb: I'll have a look at those designs :-D 2013-01-25T02:08:03 -!- BusError_ [~michel@host86-129-47-226.range86-129.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2013-01-25T02:08:14 < dongs> blogs 2013-01-25T02:08:43 < karlp> there's an app note called "getting started with hardware developement for the stm32xxxx" that explains some more stuff too 2013-01-25T02:10:28 -!- BusError_ [~michel@host81-152-248-48.range81-152.btcentralplus.com] has joined ##stm32 2013-01-25T02:11:44 < emeb> dongs awakens 2013-01-25T02:12:32 < zyp> which is a sign that I'm way past bedtime here :( 2013-01-25T02:12:41 < dongs> heh 2013-01-25T02:12:49 < emeb> the harbinger of bedtime. 2013-01-25T02:12:58 < dongs> zyp, i could dump edid from the dp panel 2013-01-25T02:13:13 < zyp> that would be great 2013-01-25T02:13:56 < dongs> does it include maker id ( = apple ) so the shit checks and only works with some set of them? 2013-01-25T02:14:31 < zyp> dunno 2013-01-25T02:15:13 < dongs> i think nvidia control panel allows dumping and overriding edid, will check when at pc. 2013-01-25T02:15:24 < dongs> did you get anywhere with usb? 2013-01-25T02:15:41 < zyp> depends on what you count as anywhere 2013-01-25T02:16:30 < dongs> well i saw some progress in scrollback 2013-01-25T02:16:32 < zyp> I copied vid/pid and report descriptor from a dump I found with google 2013-01-25T02:16:42 < dongs> mhm 2013-01-25T02:16:44 < zyp> so I get the host to ask me for EDID report 2013-01-25T02:16:54 < zyp> so I dumped EDID of my dell monitor and send that 2013-01-25T02:16:57 < dongs> but you don't have that ? 2013-01-25T02:17:00 < dongs> ah 2013-01-25T02:17:16 < dongs> and it didn't like it? 2013-01-25T02:17:17 < zyp> and then host sends some other weird report I don't know what to do with, and then nothing more happens 2013-01-25T02:17:49 < zyp> so I dunno what is failing, but it might be some id check on EDID contents too 2013-01-25T02:17:59 < dongs> ok. and you don't have crapple monitor to test with to sniff ydb? 2013-01-25T02:18:01 < dongs> usb 2013-01-25T02:18:07 < zyp> or it may be that I'm supposed to answer to that weird report with something else 2013-01-25T02:18:10 < zyp> no 2013-01-25T02:18:33 < dongs> usbmon spec doesn't cover it? 2013-01-25T02:18:38 < zyp> no 2013-01-25T02:18:52 < dongs> odd. fucking apple. 2013-01-25T02:19:06 < zyp> usbmon spec covers the EDID and brightness parts of it though 2013-01-25T02:19:18 < dongs> embrace and extend 2013-01-25T02:19:42 < zyp> yeah, well, that seems to be partly the intent with HID 2013-01-25T02:20:03 < dongs> wonder if apple ships any pc software with their monitors 2013-01-25T02:20:20 < dongs> that i could re 2013-01-25T02:20:23 < zyp> there are a lot of third party stuff around at least 2013-01-25T02:20:37 < dongs> for brightness? 2013-01-25T02:20:39 < zyp> but that's not really useful for this 2013-01-25T02:20:55 < zyp> it just ignores all the other controls and only cares about brightness control 2013-01-25T02:21:04 < dongs> ah useless 2013-01-25T02:21:21 < zyp> at least all the opensource stuff I've seen 2013-01-25T02:21:31 < dongs> maybe the weird request is authentication 2013-01-25T02:21:37 < dongs> :p 2013-01-25T02:22:23 < dongs> PKI for monitor verification. to make sure you aren't using a cheap clone 2013-01-25T02:23:06 < zyp> http://bin.jvnv.net/f/DFoAQ.png 2013-01-25T02:24:06 < dongs> hmmf 2013-01-25T02:24:59 -!- BJfreeman [~bjfree@213.sub-75-233-26.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-01-25T02:25:09 < dongs> is all mactrash 64bit? 2013-01-25T02:25:16 < zyp> huh? 2013-01-25T02:25:24 < dongs> or is there 32bit binaries 2013-01-25T02:25:30 < zyp> of what? 2013-01-25T02:25:38 < dongs> anything 2013-01-25T02:26:03 < zyp> latest two OS X releases have been 64-bit only IIRC 2013-01-25T02:26:14 < zyp> they haven't sold 32-bit machines for years 2013-01-25T02:26:25 < dongs> since when did the usbmonitor support exist? 2013-01-25T02:26:41 -!- _BJFreeman [~bjfree@213.sub-75-233-26.myvzw.com] has joined ##stm32 2013-01-25T02:26:44 < zyp> probably long enough to find 32-bit drivers for that 2013-01-25T02:27:02 < zyp> your decompiler only handles 32-bit? :p 2013-01-25T02:27:05 < dongs> anyway if you can find me 32bit kext i can try poking through it 2013-01-25T02:27:16 -!- _BJFreeman is now known as BJfreeman 2013-01-25T02:27:31 < dongs> ya, and im not familiar enough with x64 asm 2013-01-25T02:28:29 < zyp> oh, that kext on this system still has 32-bit variant too 2013-01-25T02:28:30 -!- peque_ [~peque@181.Red-88-14-132.dynamicIP.rima-tde.net] has quit [Quit: peque_] 2013-01-25T02:28:49 < dongs> cool. send0r 2013-01-25T02:29:06 < zyp> just the binary is fine, I guess? 2013-01-25T02:29:13 < dongs> yep. 2013-01-25T02:29:26 < dongs> zip the shit i guess 2013-01-25T02:29:47 < dongs> or whatever macs use. just not stuffit 2013-01-25T02:30:03 < zyp> http://bin.jvnv.net/f/YFzye/AppleUSBDisplays 2013-01-25T02:30:10 < dongs> ok. 2013-01-25T02:30:27 < dongs> time to get out of bed i guess . 2013-01-25T02:31:22 < zyp> hmm, some of the stuff is apparently for reading temperature 2013-01-25T02:31:48 < zyp> hmm 2013-01-25T02:31:49 < zyp> idProductBlackList 2013-01-25T02:31:54 < zyp> wonder what that is about :p 2013-01-25T02:33:48 < dongs> haha 2013-01-25T02:34:12 < dongs> what is it, the file? 2013-01-25T02:34:13 < dongs> .zip? 2013-01-25T02:34:16 < dongs> or just raw binary 2013-01-25T02:34:19 < zyp> raw binary 2013-01-25T02:34:25 < dongs> shits not elf or whatever? 2013-01-25T02:34:29 < zyp> mach-o 2013-01-25T02:34:37 < zyp> like all os x binaries 2013-01-25T02:34:47 < zyp> elf is too linuxy for apple :p 2013-01-25T02:34:59 < dongs> ah, fat mach- file 2013-01-25T02:35:02 < dongs> and gives me 32+64 choice 2013-01-25T02:35:02 < dongs> ha 2013-01-25T02:35:06 < zyp> yeah 2013-01-25T02:35:20 < dongs> all symbols included 2013-01-25T02:35:21 < dongs> nice 2013-01-25T02:36:42 < dongs> huh i dont see any usb trolling at all 2013-01-25T02:37:00 < dongs> or wait, maybe it does 2013-01-25T02:37:16 < dongs> E9 2013-01-25T02:37:18 < dongs> what report is that? 2013-01-25T02:37:22 < dongs> E4 2013-01-25T02:37:42 < zyp> E1 is the one I'm not understanding 2013-01-25T02:37:44 < dongs> weird one is E1 2013-01-25T02:37:47 < dongs> ok, thats the one IT emits 2013-01-25T02:38:00 < dongs> it has handlers for E9 and E4 only 2013-01-25T02:39:15 < dongs> ok i see it generating A1 report 2013-01-25T02:39:22 < dongs> but not the E1 one?? 2013-01-25T02:39:23 < dongs> wtf 2013-01-25T02:39:39 < dongs> aha 2013-01-25T02:39:39 < zyp> report descriptor describes 02, 10, D6, E4, E7 2013-01-25T02:39:42 < dongs> setMacMode 2013-01-25T02:39:55 < dongs> is what E1 is 2013-01-25T02:40:06 < zyp> interesting 2013-01-25T02:40:12 < zyp> care to pastebin the code? 2013-01-25T02:40:30 < dongs> its not very helpful, sec im still trying to see what would it dowith it 2013-01-25T02:40:59 < zyp> I have it disassembled here as well though 2013-01-25T02:40:59 < dongs> http://bcas.tv/paste/results/enp2sc52.html 2013-01-25T02:41:30 < zyp> not unmangled like that though :p 2013-01-25T02:45:07 < dongs> do you have any idea what kind of shit is passed to handleStart() as 1st arg? 2013-01-25T02:45:16 < dongs> is it some kinda vtable to a bunch of system calls? 2013-01-25T02:46:37 < dongs> ok looks like usb serial and edid serial must match 2013-01-25T02:47:01 < zyp> but the dump I saw has no usb serial 2013-01-25T02:47:57 < zyp> http://stackoverflow.com/questions/5335050/mac-iokit-usb-signal-detection <- I looked at the dump in the first answer here 2013-01-25T02:49:01 < dongs> whats a common kext that would have been hax0red by freetards 2013-01-25T02:49:30 < dongs> apparently there's a `vtable for'AppleUSBDisplays struct that has all the calls so shit doesnt look retarded like call eax+6000 type stuff 2013-01-25T02:49:34 < dongs> but i duno how to assign it 2013-01-25T02:50:17 < zyp> argument is IOService 2013-01-25T02:50:29 < zyp> which is base class for stuff like IOUSBDevice 2013-01-25T02:55:01 < dongs> is t here like a generic "ok dude" report? 2013-01-25T02:55:11 < dongs> because i dont see any specific handling for E1 answer 2013-01-25T02:55:40 < zyp> there is no answer 2013-01-25T02:55:54 < zyp> reports are unidirectional 2013-01-25T02:56:11 < zyp> hmm 2013-01-25T02:56:11 < zyp> __ZNK16AppleUSBDisplays19newReportDescriptorEPP18IOMemoryDescriptor: 2013-01-25T02:56:28 < zyp> that one looks interesting 2013-01-25T02:59:30 < dongs> mp 2013-01-25T02:59:32 < dongs> no 2013-01-25T02:59:35 < dongs> that one doesnt do anything 2013-01-25T03:00:24 < zyp> what's the demangled name of that? 2013-01-25T03:01:15 < dongs> AppleUSBDisplays::newReportDescriptor(int a1, int a2) 2013-01-25T03:01:34 < zyp> int? what about IOMemoryDescriptor? 2013-01-25T03:01:51 < dongs> AppleUSBDisplays::newReportDescriptor(IOMemoryDescriptor **) 2013-01-25T03:01:53 < zyp> http://developer.apple.com/library/mac/documentation/Kernel/Reference/IOMemoryDescriptor_reference/translated_content/IOMemoryDescriptor.html <- I'd expect it to take a pointer to this as argument 2013-01-25T03:01:55 < dongs> er s orry tyhat yea 2013-01-25T03:02:11 < zyp> which would be the received data, as far as I understand 2013-01-25T03:02:15 < dongs> 1st param = this, 2nd param = that shit 2013-01-25T03:03:42 < zyp> hmm, it's certainly the correct driver, at least 2013-01-25T03:03:46 < dongs> yep 2013-01-25T03:03:50 < zyp> it gets loaded when I plug in the device 2013-01-25T03:03:53 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-25T03:08:05 < zyp> oh 2013-01-25T03:08:08 < zyp> __ZN16AppleUSBDisplays12handleReportEP18IOMemoryDescriptor15IOHIDReportTypej 2013-01-25T03:08:17 < dongs> yes 2013-01-25T03:08:18 < dongs> i saw that one 2013-01-25T03:08:26 < dongs> this one only handles E4 and E8 or wahtever is aid before 2013-01-25T03:09:38 < zyp> no 2013-01-25T03:10:10 < zyp> well, I'm apparently looking at 64bit variant, but same source anyway 2013-01-25T03:10:18 < dongs> i would hope its same sores 2013-01-25T03:11:05 < zyp> http://paste.jvnv.net/view/rR4aN <- lines 54 and down 2013-01-25T03:13:46 < zyp> well, I might be off track 2013-01-25T03:13:58 < dongs> is that teh handleReport? 2013-01-25T03:14:00 < dongs> thats useless. 2013-01-25T03:14:51 < zyp> hmm, I'm not too familiar with x86 2013-01-25T03:14:59 < zyp> I don't remember the ABI :p 2013-01-25T03:20:20 < dongs> well, that function is pointless. 2013-01-25T03:33:41 -!- dekar_ [~dekar@212.255.104.84] has joined ##stm32 2013-01-25T03:33:44 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-25T03:35:20 < dongs> man ida fucking sucks for C++ 2013-01-25T03:35:30 < dongs> and fuck apple for all the steveC indirection 2013-01-25T03:35:49 < zyp> :p 2013-01-25T03:36:35 < gxti> subjective-C 2013-01-25T03:36:54 -!- dekar [~dekar@212.255.104.84] has quit [Ping timeout: 252 seconds] 2013-01-25T03:37:58 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-25T03:39:02 < dongs> anyway ,E1 is set mac mode. 2013-01-25T03:39:04 < dongs> wahtever that means 2013-01-25T03:39:11 < dongs> i dont sdee it handling R EPLY to that though, so ... 2013-01-25T03:39:24 < dongs> you tried just answering it with "ok" or somethin? 2013-01-25T03:40:16 < zyp> as I said, control requests are unidirectional 2013-01-25T03:40:24 < zyp> so yes, I answered with a standard ack 2013-01-25T03:40:29 < dongs> oh. 2013-01-25T03:40:32 < dongs> and it droppe you after that? 2013-01-25T03:40:36 < zyp> yep 2013-01-25T03:40:47 < dongs> if i give you edid shit off the crapple display now would you bea ble to te st? 2013-01-25T03:41:19 < zyp> sure, but not now, I should be in bed hours ago 2013-01-25T03:41:25 < dongs> right lol 2013-01-25T03:42:03 < zyp> and I don't imagine it will work unless I actually have the display connected as well, so it can compare DDC EDID with USB EDID 2013-01-25T03:42:58 < dongs> oh crap 2013-01-25T03:43:04 < dongs> i can only dump edid off nvidia card 2013-01-25T03:43:07 < dongs> i have it hooked to intel 2013-01-25T03:43:09 < dongs> lemme try nvidia shit 2013-01-25T03:45:33 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-01-25T03:45:42 < zyp> you could have the sores if you want to try it out yourself, but I assume you're not interested in setting up a build environment similar to mine :p 2013-01-25T03:45:53 < dongs> no lol 2013-01-25T03:45:57 < dongs> plus, i dont have mactrash? 2013-01-25T03:46:00 < dongs> so how is that g onna help me 2013-01-25T03:46:16 < zyp> oh, forgot about that part :D 2013-01-25T03:46:54 < zyp> told you I should be in bed by now :p 2013-01-25T03:47:13 < zyp> well, talk to you tomorrow 2013-01-25T03:48:20 < dongs> ManufacturerID : 4102 (0x1006) 2013-01-25T03:48:21 < dongs> ProductID : 49412 (0xC104) 2013-01-25T03:48:22 < dongs> mm 2013-01-25T03:48:30 < dongs> ^ thats the panel 2013-01-25T03:56:50 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-25T03:59:55 < dongs> hmm, serial nubmer @ edid is zero 2013-01-25T04:00:56 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-25T04:01:34 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-25T04:04:48 < dirty_d> ello 2013-01-25T04:05:06 < dirty_d> any of you know if the i23c module actually changes the rise/fall time based on the SCL speed? 2013-01-25T04:05:20 < dirty_d> or is it just always the GPIOs rise/fall time? 2013-01-25T04:06:05 < dirty_d> the electrical specifications dont explaion 2013-01-25T04:06:37 < dongs> gpio 2013-01-25T04:10:09 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-01-25T04:10:22 < dirty_d> ok 2013-01-25T04:10:37 < dirty_d> does the speed still apply in alternate function mode? 2013-01-25T04:10:54 < dirty_d> 2/10/50MHz etc 2013-01-25T04:12:52 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-25T04:19:23 < dongs> yes 2013-01-25T04:19:42 < dongs> all it does afaik is increase the drive strength 2013-01-25T04:19:46 < dongs> so at 50mhz you get more ringing on edges 2013-01-25T04:19:56 < dongs> and faster rise time 2013-01-25T04:27:46 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 244 seconds] 2013-01-25T04:34:06 < dirty_d> ok 2013-01-25T04:37:03 < dongs> what the hell im getting packeted again 2013-01-25T04:37:30 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-25T04:42:09 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2013-01-25T04:43:53 -!- dekar [~dekar@212.255.97.114] has joined ##stm32 2013-01-25T04:43:57 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-25T04:45:40 -!- dekar_ [~dekar@212.255.104.84] has quit [Ping timeout: 248 seconds] 2013-01-25T04:49:37 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-25T04:50:04 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-25T04:55:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-25T05:08:51 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-25T05:24:59 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-25T05:28:58 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has joined ##stm32 2013-01-25T05:31:18 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 264 seconds] 2013-01-25T05:40:50 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has joined ##stm32 2013-01-25T05:43:12 -!- t1memob [~dongs@g1-27-253-251-109.bmobile.ne.jp] has quit [Ping timeout: 252 seconds] 2013-01-25T05:52:16 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-01-25T05:52:42 < ds2> ok... time to get a new router 2013-01-25T05:53:05 < ds2> by default, is there a fail safe fall back to HSI if HSE fails to start? 2013-01-25T05:54:33 < gxti> if you don't wait for it then it will never switch 2013-01-25T05:54:39 < gxti> and you'll just keep running on HSI 2013-01-25T05:54:46 < gxti> if you do wait then it's up to you to give up after a while 2013-01-25T05:54:49 < ds2> I do wait 2013-01-25T05:54:59 < ds2> hmmm then this is odd 2013-01-25T05:55:08 < timemob> Yea default startup falls back 2013-01-25T05:55:17 < ds2> I have a 12MHz xtal. As I understand it, the HSI is is 8MHz 2013-01-25T05:55:22 < timemob> Yes 2013-01-25T05:55:34 < timemob> With hsi you can only go to 64mhz 2013-01-25T05:55:44 < ds2> yet, the dumb loop program, doesn't go any faster when I switch 2013-01-25T05:55:52 < timemob> Input to pll is hsi/2 2013-01-25T05:55:58 < ds2> not trying a max rate...trying to figure out wtf is going on 2013-01-25T05:56:16 < timemob> Hmpf. Use debugger to find out. 2013-01-25T05:56:34 < ds2> cuz "xtal" mode and non "xtal" mode appears to be the same. I know the PLL can be made to work as changing hte mult. factor speeds up blinky by that factor 2013-01-25T05:56:53 < ds2> how much loading can the xtal take? (i.e. would a scope probe be tolerated?) 2013-01-25T05:57:43 < ds2> do the HSE ready bits toggle automatically by HW? i.e. if a xtal does, does HSERDY go away? 2013-01-25T05:57:54 < ds2> s/does/dies/ 2013-01-25T05:58:11 < timemob> Yes 2013-01-25T05:58:26 < ds2> Ohhh okay, I can look at that then 2013-01-25T05:58:38 < timemob> There is some clock security thing 2013-01-25T05:58:39 < gxti> i think once it switches to HSE you have to go out of your way to configure the failback though, never tried 2013-01-25T05:58:46 < timemob> You can get interrupt 2013-01-25T05:59:00 < timemob> And I think it auto fall back 2013-01-25T05:59:04 < ds2> I am copying the switching code from STM32F10x_StdPeriph_Lib_V3.5.0 2013-01-25T05:59:13 < ds2> which I assume is sane (ie does the right waits) 2013-01-25T05:59:48 < ds2> gxti: if that is the case and the xtal dies, it just hangs? 2013-01-25T06:00:40 < gxti> unless you configure the clock security thingy, yeah 2013-01-25T06:00:59 < ds2> ok. that brings a fresh mystery 2013-01-25T06:06:10 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-25T06:06:31 -!- tim3mob [~dongs@ZL254217.ppp.dion.ne.jp] has joined ##stm32 2013-01-25T06:09:03 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has quit [Ping timeout: 252 seconds] 2013-01-25T06:10:49 -!- tim3mob [~dongs@ZL254217.ppp.dion.ne.jp] has quit [Ping timeout: 240 seconds] 2013-01-25T06:10:54 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 264 seconds] 2013-01-25T06:12:51 < ds2> there is nothing to prevent me from turning on all the clocks and not using them, right? 2013-01-25T06:17:20 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-25T06:17:29 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-25T06:20:35 -!- BJfreeman [~bjfree@213.sub-75-233-26.myvzw.com] has quit [Quit: had a good time] 2013-01-25T06:27:40 < dongs> of course. 2013-01-25T06:27:43 < dongs> other htan power consumption 2013-01-25T06:28:21 < dongs> the peripheral will just sit there until you need it. 2013-01-25T06:44:05 < ds2> don't understand it but I'll assume thing is is going on... xtal is oscillating 2013-01-25T06:44:22 < ds2> but HSI seems to be going faster then expected 2013-01-25T06:44:32 < ds2> on wards to FSMC 2013-01-25T06:45:38 < dongs> why are you talking about crystals and using HSI 2013-01-25T06:46:05 < ds2> I am trying to confirm it is using the xtal 2013-01-25T06:46:21 < ds2> so I was hoping to see it be faster when I switch it to the xtal 2013-01-25T06:46:31 < ds2> but the speed difference doesn't match expectations 2013-01-25T06:46:39 < dongs> its just F1 right? so pll setup is like 2-3 lines of register writes 2013-01-25T06:46:44 < dongs> do you have MCO on a testpin? 2013-01-25T06:47:02 < dongs> i would suggest using something known 2013-01-25T06:47:03 < dongs> like a timer 2013-01-25T06:47:07 < dongs> and a pin you can cacell 2013-01-25T06:47:09 < dongs> access 2013-01-25T06:47:10 < ds2> HSI is suppose to be at 8MHz. It is /2 going into the PLL so I was expecting it to be 3x faster 2013-01-25T06:47:19 < ds2> no, I forgot to bring out MCO :( 2013-01-25T06:47:27 < ds2> so I have a dumb program (blinky) toggling a GPIO 2013-01-25T06:48:22 < ds2> but changing RCC_CFGR_PLLSRC_HSE doesn't seem to change the clock by a factor of 3 2013-01-25T06:48:45 < ds2> I know the PLL is working cuz changing the multiplier changes exactly by that ratio 2013-01-25T06:50:24 < dongs> so wahts the question then 2013-01-25T06:50:45 < ds2> am I using the xtal or not 2013-01-25T06:50:56 < dongs> you ahve a scope right 2013-01-25T06:51:14 < ds2> yes 2013-01-25T06:51:38 < ds2> I am just not seeing the factor of 3 difference between HSE and HSI clocks 2013-01-25T06:52:01 < ds2> it is maybe 1.x or so 2013-01-25T06:52:08 < dongs> haha, chinaman fucked up, he quoted me ~$16 for a reel of GRM21BR70J106KE76L,, i said sure, ill buy, anyway, shit's shipped and he found out the reel was actually 48$ 2013-01-25T06:52:20 < ds2> hahaahahahah 2013-01-25T06:52:21 < ds2> oops 2013-01-25T06:52:25 < dongs> (reel on digikey = $408 2013-01-25T06:52:35 < dongs> so im saving either way 2013-01-25T06:52:37 < ds2> should've gotten more 2013-01-25T06:52:42 < dongs> ya haha 2013-01-25T06:53:15 < ds2> blah... FSMC isn't working nicely... better look up things instead of using ST sources :/ 2013-01-25T06:53:33 < dongs> this is your F1 breakout right? 2013-01-25T06:53:37 < ds2> yep 2013-01-25T06:53:49 < dongs> so why not just set HSE, pll x 9 or wahtever to make it 72 2013-01-25T06:53:53 < dongs> make a timer 2013-01-25T06:53:56 < ds2> too many things from xmas and CES 2013-01-25T06:53:57 < dongs> find a pin that has TIM_xx on it 2013-01-25T06:54:09 < ds2> how is that different then a dumb loop toggling a GPIO? 2013-01-25T06:54:09 < dongs> start it with 72-1 prescaler, output 50% duty cycle 2013-01-25T06:54:12 < dongs> because 2013-01-25T06:54:15 < dongs> timers run off sysclk 2013-01-25T06:54:24 < ds2> and CPU? 2013-01-25T06:54:52 < dongs> sure 2013-01-25T06:54:59 < dongs> why are you printf debugigng this shit 2013-01-25T06:55:01 < ds2> I wonder... could the 2 wait states in flash be killing me 2013-01-25T06:55:04 < ds2> I am not 2013-01-25T06:55:08 < ds2> i am scope debugging this shit 2013-01-25T06:55:13 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-25T06:55:13 < dongs> thats not much different 2013-01-25T06:55:17 < dongs> im talking about stepping through init code 2013-01-25T06:55:20 < dongs> and looking at rcc/pll registers 2013-01-25T06:55:40 < ds2> if I had printf working, I'd be happy 2013-01-25T06:56:23 < ds2> i'll have to verify it later. fsmc first. if that is broq, there is no point in going further 2013-01-25T06:56:56 < dongs> surely getting timer blinking at sysclk/72 is easier than dealing wiht fsmc + timings + etc 2013-01-25T06:58:18 < ds2> prehaps 2013-01-25T06:58:26 < ds2> but that is looking up more addresses 2013-01-25T06:59:04 < dongs> addresse? 2013-01-25T06:59:37 < dongs> i hope your code doesnt look like 0x4001052E = 0xDEADBEEF; type shit 2013-01-25T07:00:16 < ds2> close but not quite 2013-01-25T07:00:34 < ds2> this is suppose to be throw away bring up code 2013-01-25T07:01:38 < dongs> weird, why not just use stdperiphlib, where things you know, work 2013-01-25T07:01:59 < ds2> this is based off of that... trying to stick with 1 toolchain 2013-01-25T07:02:24 < dongs> stdlib compiles with gcc.. (or whatever you use 2013-01-25T07:02:47 < ds2> don't see a makefile 2013-01-25T07:02:52 < ds2> otherwise, I'd have used it 2013-01-25T07:03:04 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-25T07:03:14 < dongs> ? you dont need a makefile for stdlib 2013-01-25T07:04:28 < ds2> I clearly donno how to use it then :D 2013-01-25T07:04:38 -!- jef79m is now known as jef79m_lurking 2013-01-25T07:04:43 < dongs> you just: 2013-01-25T07:05:25 < dongs> -Icmsis dir, -Istdpeirh dir, -DUSE_STDPERIPH_LIB (or something like that, look in big stmxxx.h), then compile the driver files you want to use, misc.c, and use the vendor startup/system_init file from cmsis. 2013-01-25T07:06:03 < dongs> if you want something with a makefile, check out http://code.google.com/p/afrodevices/source/browse/#svn%2Ftrunk%2Fbaseflight then delete ALL files except main.c and board.h and go from there. 2013-01-25T07:07:02 < dongs> AFIO->MAPR &= 0xF0FFFFFF; 2013-01-25T07:07:02 < dongs> AFIO->MAPR = 0x02000000; 2013-01-25T07:07:02 < dongs> GPIOA->CRH = 0x34444444; // PIN 15 Output 50MHz 2013-01-25T07:07:02 < dongs> GPIOA->BRR = 0x8000; // set low 15 2013-01-25T07:07:02 < dongs> GPIOC->CRH = 0x44434444; // PIN 12 Output 50MHz 2013-01-25T07:07:05 < dongs> GPIOC->BRR = 0x1000; // set low 12 2013-01-25T07:07:07 < dongs> this is probably what your code looks like right 2013-01-25T07:07:29 < ds2> yes 2013-01-25T07:07:42 < dongs> ya stop doing that. too much potential for fail. 2013-01-25T07:08:03 < ds2> it worked on other small parts 2013-01-25T07:08:14 < ds2> running hte svn for that 2013-01-25T07:08:58 < dongs> makefile is pretty straightforward 2013-01-25T07:09:10 < dongs> (thanks zippe) 2013-01-25T07:11:10 < ds2> interesting... my board has most of those parts 2013-01-25T07:19:45 < dongs> ugh need wick and cant find 2013-01-25T07:24:18 -!- betovar [~betovar@98.64.144.209] has quit [Ping timeout: 245 seconds] 2013-01-25T07:41:28 -!- jef79m_lurking is now known as jef79m 2013-01-25T07:48:56 -!- jef79m is now known as jef79m_lurking 2013-01-25T08:10:32 -!- baird [~cjb@ppp121-44-151-176.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-25T08:10:35 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-25T08:11:06 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has joined ##stm32 2013-01-25T08:17:49 -!- canid [~canid@76-228-28-56.lightspeed.frokca.sbcglobal.net] has quit [Quit: spiders! spiders!] 2013-01-25T08:20:08 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-25T08:29:30 -!- jef79m_lurking is now known as jef79m 2013-01-25T08:46:30 -!- jef79m is now known as jef79m_lurking 2013-01-25T08:51:42 -!- jef79m_lurking is now known as jef79m 2013-01-25T09:00:34 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-25T09:00:34 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-25T09:00:34 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-25T09:02:03 -!- jef79m is now known as jef79m_lurking 2013-01-25T09:02:47 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 256 seconds] 2013-01-25T09:03:02 -!- Gargantuasauce_ [~Gargantua@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-25T09:08:07 < Tectu> does the STM32F4xx have one one or two ADCs? o= 2013-01-25T09:08:09 < Tectu> oO 2013-01-25T09:10:34 < cdh> 3x ADC 2013-01-25T09:10:40 < dongs> 2 or 3 yea 2013-01-25T09:10:43 < dongs> at least 2 2013-01-25T09:19:54 -!- Gargantuasauce_ [~Gargantua@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 264 seconds] 2013-01-25T09:21:04 < Tectu> thanks 2013-01-25T09:25:35 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-25T09:32:43 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-25T09:34:17 < dongs> http://i.imgur.com/XDvPx.jpg 2013-01-25T09:34:19 < dongs> whats hte point here 2013-01-25T09:38:07 < Tectu> dongs, good job 2013-01-25T09:39:34 < cdh> Hard to tell. Is that a cap between PIO1_0/AD1 and PIO1_1/AD2? 2013-01-25T09:39:43 < dongs> oh, ok 2013-01-25T09:39:45 < dongs> yeah probably. 2013-01-25T09:41:54 < cdh> Pin 8 is Vssa. Pin 9 is PIO1_0/AD1. Pin 10 is PIO1_1/AD2. 2013-01-25T09:41:57 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-25T09:42:00 -!- jef79m_lurking is now known as jef79m 2013-01-25T09:42:38 < cdh> Would probably make more sense if it's between 8 and 9. 2013-01-25T09:46:34 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2013-01-25T09:46:34 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2013-01-25T09:46:34 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-25T09:53:55 -!- jef79m is now known as jef79m_lurking 2013-01-25T09:54:23 -!- dekar_ [~dekar@212.255.26.75] has joined ##stm32 2013-01-25T09:54:26 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-01-25T09:56:07 -!- KennyMcCormic [~Kenny@94.28.136.206] has joined ##stm32 2013-01-25T09:58:24 -!- dekar [~dekar@212.255.97.114] has quit [Ping timeout: 276 seconds] 2013-01-25T10:08:46 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 245 seconds] 2013-01-25T10:12:46 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2013-01-25T10:14:09 -!- peque_ [~peque@181.Red-88-14-132.dynamicIP.rima-tde.net] has joined ##stm32 2013-01-25T10:25:17 -!- jef79m_lurking is now known as jef79m 2013-01-25T10:28:35 < zyp> dongs, did you have EDID dump? 2013-01-25T10:36:51 -!- jef79m is now known as jef79m_lurking 2013-01-25T10:40:51 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has joined ##stm32 2013-01-25T10:46:11 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-25T10:59:00 -!- bsdfox [~Bob@unaffiliated/bsdfox] has quit [Ping timeout: 248 seconds] 2013-01-25T11:03:06 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-01-25T11:14:45 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-25T11:22:09 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-25T11:43:29 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2013-01-25T11:46:33 < dongs> zyp: ya 2013-01-25T11:47:02 < dongs> zyp: .. your fucking uploader is broken 2013-01-25T11:47:41 < dongs> zyp: see /notice 2013-01-25T11:49:58 < zyp> got it 2013-01-25T11:50:39 -!- zippe1 [~Adium@173.11.99.161] has quit [Read error: Operation timed out] 2013-01-25T11:50:48 < zyp> why two? 2013-01-25T11:51:04 < zyp> hmm, both files are equal 2013-01-25T11:51:25 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-25T11:54:05 -!- KennyMcCormic [~Kenny@94.28.136.206] has quit [Read error: Connection reset by peer] 2013-01-25T11:54:56 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 272 seconds] 2013-01-25T11:56:35 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-25T11:58:18 -!- jef79m_lurking is now known as jef79m 2013-01-25T12:00:52 < dongs> zyp: duno, was 2 monitors in my edid registrey 2013-01-25T12:01:26 < dongs> its intresting the model name is there. 2013-01-25T12:01:41 < dongs> the -SPA2 shit or whatever. 2013-01-25T12:01:44 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-25T12:04:13 < karlp> ST's SPC56 D, B, 2013-01-25T12:04:13 < karlp> C, P, M, A and L lines are the 7 pillars of SPC56 family of 32-bit Flash 2013-01-25T12:04:16 < karlp> MCUs dedicated to the specific needs of various applications 2013-01-25T12:04:19 < karlp> so descriptive! 2013-01-25T12:04:23 < karlp> I love st's mails 2013-01-25T12:10:09 -!- jef79m is now known as jef79m_lurking 2013-01-25T12:12:08 < jon1012> at least "ST's solid in-house manufacturing strategy offers a long term assurance to users requesting a stable and long lasting supply" 2013-01-25T12:17:48 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-25T12:18:34 < karlp> "I need to write a whole page on this shit, how can I make this sentence longer?" 2013-01-25T12:19:13 < dongs> stable and long lasting dicks 2013-01-25T12:19:58 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-25T12:20:12 < BrainDamage> add couple of ®™© in it 2013-01-25T12:21:51 < BrainDamage> Thanks to the addition of Potassium Cyanide® to the formula, the lubricant will provide Long Lasting Action™ trough Rigor Mortis©. 2013-01-25T12:26:13 < dongs> zyp: anything interesting in edid? 2013-01-25T12:26:25 < dongs> the app i used to dump it is rpetty nice 2013-01-25T12:26:26 < dongs> shows * 2013-01-25T12:27:09 < dongs> http://bcas.tv/paste/results/04ftQc83.html 2013-01-25T12:31:15 < zyp> http://paste.jvnv.net/view/jk1zX <- here's the one I dumped yesterday and stuck into my usb stuff 2013-01-25T12:31:58 -!- GargantuaSauce_ [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-25T12:32:20 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 248 seconds] 2013-01-25T12:32:59 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-25T12:40:37 < dongs> zyp: i got like 200 boards coming ne xt week 2013-01-25T12:40:38 < dongs> lo 2013-01-25T12:41:00 < dongs> http://i.imgur.com/6BRsBkN.png in blocks of 3 2013-01-25T12:41:14 < zyp> :) 2013-01-25T12:41:34 < dongs> hoping i didnt fuck somethin up 2013-01-25T12:43:00 < zyp> by the way, would this be compatible with the larger retina macbook panels too? 2013-01-25T12:43:08 < zyp> or are the connector different? 2013-01-25T12:43:08 < dongs> not with the connector 2013-01-25T12:43:10 < dongs> yeah. 2013-01-25T12:43:19 < dongs> otherwise, it is. 2013-01-25T12:43:33 < dongs> they might have more leds 2013-01-25T12:44:00 < zyp> I talked to a friend yesterday, and he was all «nice, but 10" is a little small, should have went with the larger panels» 2013-01-25T12:44:34 < dongs> larger panels are too $$ 2013-01-25T12:44:36 < zyp> yeah 2013-01-25T12:44:46 < zyp> I answered «sure, but they are not $60» 2013-01-25T12:44:50 < dongs> lo 2013-01-25T12:46:36 -!- jef79m_lurking is now known as jef79m 2013-01-25T12:47:34 < jon1012> dongs, what is it ? 2013-01-25T12:47:42 < dongs> jon1012: wat is wat 2013-01-25T12:47:48 < jon1012> that board 2013-01-25T12:47:55 < dongs> eDP panel driver. 2013-01-25T12:47:58 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Read error: Operation timed out] 2013-01-25T12:48:12 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-25T12:48:16 < jon1012> for the backlight or also signal ? 2013-01-25T12:48:29 < zyp> signal passthrough and backlight driver 2013-01-25T12:48:57 < jon1012> nice ! so with that you can use any panel with your mcu ? 2013-01-25T12:49:29 < zyp> wat, no 2013-01-25T12:49:54 < zyp> it's for using an ipad panel with a normal displayport source 2013-01-25T12:50:02 < jon1012> ok 2013-01-25T12:50:50 < baird> Saw a cute little ?12" 2003-era Samsung LCD in a shop window display today. 2013-01-25T12:51:25 < dongs> i have a 2005-or so toshiba laptop with 1600x1200 14" screen 2013-01-25T12:52:06 < baird> I used to have an IBM 9" SVGA monitor.. but loaned it to my father, who gave it away to a mate of his without telling me. :/ 2013-01-25T12:56:28 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-25T12:57:30 -!- jef79m is now known as jef79m_lurking 2013-01-25T12:58:35 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 255 seconds] 2013-01-25T13:01:16 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-01-25T13:03:44 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-25T13:06:20 -!- jef79m_lurking is now known as jef79m 2013-01-25T13:08:05 -!- jef79m is now known as jef79m_lurking 2013-01-25T13:16:10 -!- peque_ [~peque@181.Red-88-14-132.dynamicIP.rima-tde.net] has left ##stm32 [] 2013-01-25T13:18:48 -!- nopcode [~nop@sushi.unix-ag.uni-kl.de] has left ##stm32 [] 2013-01-25T13:23:30 -!- jef79m_lurking is now known as jef79m 2013-01-25T13:33:54 -!- jef79m is now known as jef79m_lurking 2013-01-25T13:34:45 -!- jef79m_lurking is now known as jef79m 2013-01-25T13:35:15 -!- jef79m is now known as jef79m_lurking 2013-01-25T13:38:41 < zyp> I have a 2007 dell with 1920x1200 on 15.4" 2013-01-25T13:42:03 -!- dekar_ [~dekar@212.255.26.75] has quit [Quit: Leaving] 2013-01-25T14:04:12 < dongs> me2 2013-01-25T14:04:16 < dongs> M3500 or so 2013-01-25T14:13:20 < dongs> http://pbx.mine.nu/random/m1530.png 2013-01-25T14:13:23 < dongs> 1530 2013-01-25T14:14:50 < zyp> ah, mine was a latitude 2013-01-25T14:15:05 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2013-01-25T14:15:06 < zyp> D820 IIRC 2013-01-25T14:15:47 < dongs> yeah i think those were fairly spendy for the time 2013-01-25T14:16:16 < zyp> yeah, it weren't cheap :p 2013-01-25T14:17:54 < zyp> but for shit like laptops, being good is more important to me than being cheap 2013-01-25T14:17:57 < Laurenceb> daily lolz commences 2013-01-25T14:18:16 < dongs> this morning: Laurenceb fails again 2013-01-25T14:18:17 < dongs> news at 11 2013-01-25T14:18:22 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-25T14:21:58 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-25T14:23:56 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-25T14:24:09 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-25T14:29:14 < Laurenceb> actually im winning 2013-01-25T14:29:35 < Laurenceb> moar funding 2013-01-25T14:31:50 < dongs> more funding for irc 2013-01-25T14:32:17 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-25T14:33:26 < Laurenceb> yup 2013-01-25T14:33:31 < Laurenceb> funtimes 2013-01-25T14:34:45 -!- kerwood_wk [80f42605@gateway/web/freenode/ip.128.244.38.5] has joined ##stm32 2013-01-25T14:39:19 < baird> Any decided ideas for an enclosure of the dP panel? 2013-01-25T14:40:57 < dongs> not for dp-only board. 2013-01-25T14:41:04 < dongs> one could make something out of whatever I guess. 2013-01-25T14:41:22 < dongs> i cut some 1mm alu sheets, so Ill probably just sandwich it inside that. 2013-01-25T14:41:38 < Laurenceb> dekar: ping 2013-01-25T14:41:47 < Laurenceb> arg not here 2013-01-25T14:41:55 < baird> Something with VESA 100mm mount points, possibly. Then a yum-cha brand arm could be used.. 2013-01-25T14:42:06 < zyp> wat 2013-01-25T14:42:13 < Laurenceb> something seems to be wrong with TNT ISR handling... 2013-01-25T14:42:14 < dongs> arm boards with 4lane edP exist? 2013-01-25T14:42:28 < zyp> why don't just buy a tablet then? 2013-01-25T14:42:28 < dongs> o wat 2013-01-25T14:42:31 < dongs> misread that 2013-01-25T14:42:38 < baird> as in a swing monitor arm, http://www.mwave.com.au/product/sku-aa32092-iwell_dma500_ergoarm_monitor_table_stand 2013-01-25T14:42:41 < zyp> ha 2013-01-25T14:42:43 < dongs> baird: the hdmi+dp version has vesa mount 2013-01-25T14:42:47 < zyp> I also misread :D 2013-01-25T14:42:54 < dongs> but that comes wiht a proper case etc 2013-01-25T14:47:27 -!- claude is now known as Claude 2013-01-25T14:47:57 < Laurenceb> how do i define ISR names with GAE? 2013-01-25T14:48:08 < Laurenceb> i dont see anything in the start file 2013-01-25T14:48:29 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-25T14:51:32 < Laurenceb> yeah the binary is broken 2013-01-25T14:53:56 < Laurenceb> sigh 2013-01-25T14:54:00 < Laurenceb> another day of fail 2013-01-25T14:55:07 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-25T14:55:07 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-25T14:55:07 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-25T14:55:08 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-25T14:55:22 < dongs> hey trollenceb,, your car logger shit, how do you mount htem 2013-01-25T14:55:23 < dongs> in the car>? 2013-01-25T14:55:28 < dongs> stick to the bottom by magnets? 2013-01-25T14:55:30 < dongs> or some legit way 2013-01-25T14:56:48 < zyp> sounds like stalker boxes when you put it like that :p 2013-01-25T14:57:11 <+Steffanx> stick to the bottom by magnet .. sounds legit to me dongs :P 2013-01-25T14:57:31 < baird> Trying to enter into the FBI market. 2013-01-25T14:59:19 < Laurenceb> in the cab 2013-01-25T14:59:31 < dongs> oh lame 2013-01-25T14:59:32 < Laurenceb> with velcro adhsive tabs on the dashboard 2013-01-25T15:00:23 < Laurenceb> hmm looks like i need to change bss and stuff names from GAE to CMSIS 2013-01-25T15:00:26 < Laurenceb> so much fail 2013-01-25T15:00:41 < Laurenceb> is there a way to do this in a linker? 2013-01-25T15:00:58 < Laurenceb> some kind of included file using aliases or something? 2013-01-25T15:01:05 < karlp> cmsis doesn't provide startup 2013-01-25T15:01:12 < Laurenceb> yes it does 2013-01-25T15:01:19 < karlp> st stdperiph lib does 2013-01-25T15:01:26 < Laurenceb> /startup/gcc 2013-01-25T15:01:34 < Laurenceb> hmm its in my CMSIS downbload 2013-01-25T15:01:34 < dongs> yeah cmssis has startups 2013-01-25T15:01:38 < dongs> it is 2013-01-25T15:01:45 < dongs> for armcc/gcc/some otehr crap noone uses 2013-01-25T15:01:48 < Laurenceb> yeah 2013-01-25T15:02:06 < Laurenceb> but it uses fail naming convention 2013-01-25T15:02:17 <+Steffanx> Then don't use it 2013-01-25T15:02:26 < Laurenceb> and half my ISRs arent setup right 2013-01-25T15:02:40 < Laurenceb> if i dont use it my ISRs are _missing_ :P 2013-01-25T15:02:51 < dongs> huh? 2013-01-25T15:03:02 < dongs> u failit 2013-01-25T15:03:09 < Laurenceb> (.text.Reset_Handler+0x3c): undefined reference to `_edata' 2013-01-25T15:03:15 < Laurenceb> cuz its not called that 2013-01-25T15:04:31 < karlp> so what linker script are yuo using? 2013-01-25T15:04:35 < karlp> the one taht came with the startup or not? 2013-01-25T15:04:38 < dongs> Reset_Handler? or _edata 2013-01-25T15:04:41 < Laurenceb> something from GAE 2013-01-25T15:04:49 < Laurenceb> _edata 2013-01-25T15:04:55 < karlp> gae has linker scripts? 2013-01-25T15:04:58 < Laurenceb> yes 2013-01-25T15:05:04 < Laurenceb> neat ones too 2013-01-25T15:05:22 < Laurenceb> but their startup code is fail 2013-01-25T15:05:50 < Laurenceb> so.. CMSIS startup + GAE linker sshould = win 2013-01-25T15:06:01 < karlp> except, you know, linker and startup need to agree 2013-01-25T15:06:01 < Laurenceb> but the names dont tie up 2013-01-25T15:06:08 < karlp> or you get, you know, laurence style fail 2013-01-25T15:06:16 < Laurenceb> whatever man 2013-01-25T15:06:20 < karlp> what linker script in g-a-e are you looking at? 2013-01-25T15:06:46 < Laurenceb> "sections.ld" 2013-01-25T15:07:28 < Laurenceb> in samples directory 2013-01-25T15:07:51 < karlp> well, you can either add the symbols you want to that, or edit your starutp. 2013-01-25T15:07:53 < karlp> your call. 2013-01-25T15:08:13 < Laurenceb> is there a way to set alias names or something? 2013-01-25T15:08:25 < karlp> see where it says __data_end__ = .; ? 2013-01-25T15:08:33 < karlp> line 102? 2013-01-25T15:08:41 < karlp> you can add _edata = .; too if you want... 2013-01-25T15:08:55 < karlp> if _edata is what your startup code is expecting to be the pointer to the end of the data section. 2013-01-25T15:08:56 < zyp> what about just _edata = __data_end__; ? :) 2013-01-25T15:09:38 < karlp> go to the bottom and add PROVIDE(_edata = __data_end__); and have comments and everything 2013-01-25T15:11:21 < karlp> the one in arm-none-eabi/lib/ldscripts/armelf.x uses _edata like you wanted .) 2013-01-25T15:11:56 < Laurenceb> ok 2013-01-25T15:12:40 < karlp> heh, rigol function generator has a web interface if you plug in the ethernet. it's a picture of the front panel, you have to do everything just like you would on the device itself 2013-01-25T15:13:21 < BrainDamage> no api? 2013-01-25T15:14:27 <+Steffanx> lol karlp 2013-01-25T15:14:43 <+Steffanx> BrainDamage. Not that hard to do the requests yourself :) 2013-01-25T15:15:15 < BrainDamage> parsing the answers would be odd tough 2013-01-25T15:19:30 < Laurenceb> any idea is this is sane? _sidata = __preinit_array_start 2013-01-25T15:19:39 < Laurenceb> si==start initialised? 2013-01-25T15:19:53 < dongs> why are you doing this shit mang 2013-01-25T15:19:58 < karlp> it's like the 90s. image maps and everything. 2013-01-25T15:20:38 < karlp> I just saw the ethernet port and plugged in to see what it would do, don't really need it. 2013-01-25T15:27:51 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-01-25T15:27:57 -!- akaWolf [~akaWolf@unaffiliated/akawolf] has quit [Read error: Connection reset by peer] 2013-01-25T15:30:52 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 246 seconds] 2013-01-25T15:32:12 <+Steffanx> Be happy it's just an image map + crap. And no flash or java applet karlp :P 2013-01-25T15:38:26 < dongs> chinese java will take over your bro-wser and make you part of a botnet 2013-01-25T15:38:59 < dongs> amirite. 2013-01-25T15:42:01 < Laurenceb> ok it looks sane now 2013-01-25T15:42:08 < Laurenceb> project added to github 2013-01-25T15:43:45 < Laurenceb> end up being 20% smaller than codesourcery 2013-01-25T15:43:56 < dongs> Laurenceblogster: opensoresing company secrets 2013-01-25T15:44:50 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-25T15:44:50 < Laurenceb> true dat 2013-01-25T15:46:59 < dongs> http://i.imgur.com/317Ai1N.jpg does anyone know how to use this 2013-01-25T15:48:52 < karlp> what am I looking at? 2013-01-25T15:49:06 < Laurenceb> goatse 2013-01-25T15:50:09 < dongs> its like wire shrink stuff 2013-01-25T15:50:16 < dongs> er wire mesh guard or someshit 2013-01-25T15:51:03 < Laurenceb> oh that stuff 2013-01-25T15:51:11 < Laurenceb> doesnt it heat shrink? 2013-01-25T15:51:39 < dongs> no 2013-01-25T15:52:36 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2013-01-25T15:54:11 <+Steffanx> pull both ends? :) 2013-01-25T15:56:41 < Laurenceb> swing both ways? 2013-01-25T15:57:32 < Laurenceb> http://www.b3tards.com/u/ed6e00a77f19d9e44cba/2001-a-sausage-odyssey.jpg 2013-01-25T16:01:18 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 240 seconds] 2013-01-25T16:13:18 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-01-25T16:13:35 -!- Viper168 [~Viper@node187.19.251.72.1dial.com] has joined ##stm32 2013-01-25T16:13:36 -!- Viper168 [~Viper@node187.19.251.72.1dial.com] has quit [Changing host] 2013-01-25T16:13:36 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-25T16:17:01 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-25T16:17:39 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-25T16:20:39 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-125.pptp.stw-bonn.de] has joined ##stm32 2013-01-25T16:42:48 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-25T16:43:21 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-25T16:45:59 -!- NonaSuomy is now known as TeknoJuce 2013-01-25T16:49:41 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-25T16:50:39 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-25T16:54:03 < baird> I <3 images.google.com .. Finding porn-alikes was never easier! :D .. *cough* http://i.imgur.com/63lmUSM.jpg 2013-01-25T16:55:03 <+Steffanx> Uh ok?! 2013-01-25T17:01:51 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-25T17:02:25 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-25T17:05:43 -!- _BJFreeman [~bjfree@25.sub-75-233-40.myvzw.com] has joined ##stm32 2013-01-25T17:06:01 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-25T17:07:01 -!- _BJFreeman is now known as BJfreeman 2013-01-25T17:08:18 < dongs> Jan 25 2013-01-25T17:08:18 < dongs> 16:16 Dispatch from outward office of exchange GUANGZHOU CHINA 2013-01-25T17:08:21 < dongs> clonepro on the way 2013-01-25T17:08:38 < zyp> ha 2013-01-25T17:08:52 <+Steffanx> You'll have it .. tomorrow? 2013-01-25T17:09:00 < gxti> my PCBs were delivered 2 days ago, shame i didn't get them 2013-01-25T17:09:05 <+Steffanx> Here it takes most of the time 1-2 weeks after that message :( 2013-01-25T17:09:25 < gxti> will have to nose around when i get home 2013-01-25T17:09:34 < dongs> 2-3 days till in jp.. then 2-3 days to here 2013-01-25T17:09:45 <+Steffanx> Ah, so still pretty slow 2013-01-25T17:10:07 < emeb_mac> gxti: where did you get your PCBs? 2013-01-25T17:10:49 < gxti> emeb_mac: oshpark 2013-01-25T17:11:33 < emeb_mac> gxti: so the puffy yellow envelope is probably sitting in a misc mail pile somewhere? 2013-01-25T17:11:59 < gxti> emeb_mac: well it has delivery confirmation and shows as delivered on tuesday 2013-01-25T17:12:05 < gxti> so probably sitting on somebody else's mailbox 2013-01-25T17:12:10 < emeb_mac> blech 2013-01-25T17:12:19 <+Steffanx> Yankeelanders also use yellow?! 2013-01-25T17:12:22 <+Steffanx> Boring 2013-01-25T17:12:26 < emeb_mac> FedEx used to deliver my stuff to my neighbors 2013-01-25T17:12:32 < gxti> Steffanx: cheap recycled paper 2013-01-25T17:12:46 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Disconnected by services] 2013-01-25T17:12:59 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has joined ##stm32 2013-01-25T17:13:05 < emeb_mac> happened so often that the neighbors stopped letting me know and just left it on their doorstep for days until I noticed and got it myself. 2013-01-25T17:13:24 < gxti> USPS is great, last week i got a package at my door with "EMPTY YOUR MAILBOX" written on it. was nothing in my mailbox. 2013-01-25T17:13:43 < emeb_mac> weird 2013-01-25T17:13:50 <+Steffanx> poor gxti 2013-01-25T17:14:05 < emeb_mac> watch out for "going postal" 2013-01-25T17:14:23 < emeb_mac> gxti: maybe you've got a mailbox that you don't know about? 2013-01-25T17:15:07 <+Steffanx> btw gxti there was something in it. The package with that text :) 2013-01-25T17:15:15 < emeb_mac> so here's something annoying: I'm about to start a new design for an F40x 2013-01-25T17:15:22 < gxti> Steffanx: no, it was at my door 2013-01-25T17:15:29 <+Steffanx> ah yeah 2013-01-25T17:15:31 <+Steffanx> english :P 2013-01-25T17:15:38 < gxti> small shared mailbox thing, box wouldn't fit 2013-01-25T17:15:47 < emeb_mac> but I want a small part, don't need lots of pins or lots of flash. I'd like to use a 64-pin pkg. 2013-01-25T17:16:00 <+Steffanx> but 2013-01-25T17:16:17 < emeb_mac> Strangely, the cheapest part is an F407VE with 100-pin, 512k 2013-01-25T17:16:36 < emeb_mac> apparently no 512k parts in 64-pin pkg avaiable. 2013-01-25T17:16:58 < dirty_d> I found the I2C timing part of the stm32f303 reference manual confusing as hell, so i made an I2C timing calculator 2013-01-25T17:17:01 < dirty_d> enjoy, https://github.com/dirty-d/stm32f3_i2c_calc/blob/master/stm32f3_i2c_calc.py 2013-01-25T17:17:06 < dirty_d> seems like it works right 2013-01-25T17:17:09 < zyp> IIRC 64-pin is F405 only, and F405 is only 1M 2013-01-25T17:17:16 < dirty_d> matches up pretty well to the examples in the reference manual 2013-01-25T17:17:40 < dirty_d> it will probably work for any stm32f3, i think the I2C registers are the same right? 2013-01-25T17:17:40 <+Steffanx> lol @ 1000e3 and 100e3 :) 2013-01-25T17:17:46 < dirty_d> lol 2013-01-25T17:18:01 < emeb_mac> zyp: looks like it. and min price on F405 is $8-$9 in qty100 2013-01-25T17:18:28 < emeb_mac> whereas the 100-pin F407 is like $7 2013-01-25T17:18:53 < zyp> so, what's more important to you? area or part cost? 2013-01-25T17:20:06 < dongs> blogging 2013-01-25T17:20:13 <+Steffanx> tarduino.cc 2013-01-25T17:20:30 <+Steffanx> Hmm, no live view of dongs typing his blog 2013-01-25T17:20:56 <+Steffanx> Best of both world zyp, so small and part costs :) 2013-01-25T17:20:57 <+Steffanx> -s 2013-01-25T17:21:18 -!- baird [~cjb@ppp121-44-151-176.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-25T17:22:19 <+Steffanx> btw zyp. Just curious if you know. 2013-01-25T17:22:46 <+Steffanx> The AppleUSBDisplay kext has something called "ReportDescriptorOverride". The value in that is some USB descriptor? 2013-01-25T17:23:00 < zyp> dunno 2013-01-25T17:23:11 < zyp> we were disassembling the kext last night 2013-01-25T17:23:13 < emeb_mac> zyp: this application is likely to be built in the 100s so cost - price difference between F407/512k/100pin and F405/1M/64-pin is about $1.70 2013-01-25T17:23:43 < emeb_mac> so suck it up and live with the extra board area. 2013-01-25T17:23:54 <+Steffanx> 'we'? 2013-01-25T17:26:16 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has quit [Ping timeout: 245 seconds] 2013-01-25T17:26:28 <+Steffanx> oh, zlog is gone 2013-01-25T17:26:43 < emeb_mac> I noticed that the other day. 2013-01-25T17:26:56 < emeb_mac> s ronerly w/o zlog 2013-01-25T17:28:41 -!- Simon-- [~sim@2606:6a00:0:28:5604:a6ff:fe02:702b] has joined ##stm32 2013-01-25T17:32:13 < dongs> silly ipv6 trolls 2013-01-25T17:33:23 < emeb_mac> get off their bridge? 2013-01-25T17:33:29 < Laurenceb> stonertronics? 2013-01-25T17:33:29 < Laurenceb> i wonder why they forgot the put content on 2013-01-25T17:33:29 < Laurenceb> because they got high 2013-01-25T17:34:13 < gnomad> because they got high 2013-01-25T17:34:15 < gnomad> because they got high 2013-01-25T17:34:17 < gnomad> because they got high 2013-01-25T17:35:06 < dongs> Laurenceb: haha wat 2013-01-25T17:35:20 < gnomad> http://www.youtube.com/watch?v=Ls4qXjZtZXI 2013-01-25T17:35:22 < emeb_mac> assburgers, something something furiously collide... 2013-01-25T17:36:56 < emeb_mac> afrolicious! 2013-01-25T17:37:25 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-25T17:41:26 <+Steffanx> emeb_mac: urbandictionary 2013-01-25T17:42:14 < emeb_mac> wat? 2013-01-25T17:43:13 <+Steffanx> tat 2013-01-25T17:44:06 < emeb_mac> just parroting something I saw in the video gnomad linked. 2013-01-25T17:44:07 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has quit [Quit: Leaving] 2013-01-25T17:46:02 -!- HTT-Bird [~Birdz0r@unaffiliated/htt-bird] has joined ##stm32 2013-01-25T17:46:40 <+Steffanx> Yes, yes but you used a word one can only find in the ud :) 2013-01-25T17:46:59 < emeb_mac> conceded. 2013-01-25T17:48:49 < dongs> http://nicosound.anyap.info/nicothumb.aspx?v=sm15950829 .... 2013-01-25T17:49:59 <+Steffanx> I think i can say before i even watch the video: WTF did i just watch 2013-01-25T17:50:20 < zyp> nah 2013-01-25T17:50:21 < dongs> http://i.imgur.com/mtDTiQw.jpg 2013-01-25T17:50:24 < zyp> well, not yet 2013-01-25T17:50:32 < dongs> (spoiler) 2013-01-25T17:50:44 <+Steffanx> The sound makes it good :) 2013-01-25T17:50:47 <+Steffanx> *music 2013-01-25T17:50:58 < BrainDamage> top object's blades don't look sharp 2013-01-25T17:51:06 < BrainDamage> it's not fun without the danger 2013-01-25T17:51:10 <+Steffanx> Sounds a little like the mario tune sometimes 2013-01-25T17:51:51 <+Steffanx> And now like prince of persia 2013-01-25T17:52:29 < dongs> what shitty cad program is that, it looked like mspaint 2013-01-25T17:53:07 <+Steffanx> Too bad the thing on his arm is huge 2013-01-25T17:54:05 < dongs> lol its a fucking mac 2013-01-25T17:54:12 < dongs> what cad programs are there for mac, like 1? 2013-01-25T17:54:19 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-25T17:54:28 < dongs> its probably inkskape 2013-01-25T17:54:56 < zyp> video said cadintosh 2013-01-25T17:54:58 < zyp> never heard of it 2013-01-25T17:55:07 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-25T17:56:29 < dongs> http://i.imgur.com/a87y7go.png panel layout is back 2013-01-25T17:57:58 <+Steffanx> DP will like those 'long' traces? 2013-01-25T17:58:09 < dongs> hey what the fuck connector is this? http://i.imgur.com/BxYVKbm.jpg 2013-01-25T17:58:22 <+Steffanx> super micro something 2013-01-25T17:58:49 < zyp> hmm, 8-pin 2013-01-25T17:59:15 < zyp> dunno, where did you find that? 2013-01-25T17:59:22 < dongs> casio camera 2013-01-25T17:59:28 < dongs> did they do some bullshit to make a custom connector? 2013-01-25T17:59:31 < dongs> the other end goes to usb 2013-01-25T17:59:32 <+Steffanx> Casio makes cameras? 2013-01-25T17:59:36 < dongs> lol? 2013-01-25T17:59:41 < gxti> oh, then it's definitely bullshit 2013-01-25T17:59:42 < zyp> probably casio proprietary bullshit 2013-01-25T17:59:47 < dongs> http://www.casio.com/products/digital_cameras/ 2013-01-25T18:00:10 <+Steffanx> I guess i'v never ever seen them 2013-01-25T18:00:12 < dongs> <+Steffanx> DP will like those 'long' traces? 2013-01-25T18:00:19 < dongs> Steffanx: dunno, they're length matched-ish and impedance matched 2013-01-25T18:00:35 < dongs> and people have made pci-e riser cards out of loose IDC cable so... 2013-01-25T18:00:44 < zyp> won't be a problem 2013-01-25T18:00:55 <+Steffanx> True true 2013-01-25T18:01:06 < zyp> it's not like you're trying to run DP over coat hangers 2013-01-25T18:01:20 <+Steffanx> Here those are from plastic 2013-01-25T18:02:14 < dongs> shit's actually narrower than microusb 2013-01-25T18:02:14 < dongs> wtf 2013-01-25T18:02:25 < dongs> http://i.imgur.com/n240wrb.jpg 2013-01-25T18:02:45 < dongs> so proprietary garbage? 2013-01-25T18:02:52 < zyp> most likely 2013-01-25T18:03:45 < dongs> rage. 2013-01-25T18:03:47 < dongs> FUCK CASIO; CASIO SUX; CASIO IS DYING; CASIO IS DEAD TO ME; CASIO HIT WTC 2013-01-25T18:04:53 <+Steffanx> Ha, some webshop calles it a micro usb 8 pin connector :P 2013-01-25T18:04:54 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-25T18:05:00 <+Steffanx> *calls 2013-01-25T18:05:47 <+Steffanx> *mini 2013-01-25T18:06:46 < dongs> http://pinoutsguide.com/DigitalCameras/micro_usb_8pin_camera_pinout.shtml 2013-01-25T18:07:35 <+Steffanx> Yeah, it even does video out :) 2013-01-25T18:07:42 <+Steffanx> and audio 2013-01-25T18:07:43 <+Steffanx> how fancy 2013-01-25T18:08:23 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-25T18:08:40 < emeb_mac> should be fine as long as the characteristic impedance is roughly correct. 2013-01-25T18:08:55 -!- barthess [~barthess@178.154.46.227] has joined ##stm32 2013-01-25T18:10:00 <+Steffanx> When you paste than image into google images you can find your gay friend, dongs 2013-01-25T18:10:10 <+Steffanx> *that image = the first image of the connector you posted 2013-01-25T18:10:41 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-25T18:11:33 -!- vpopov [~happylife@149.62.17.217] has joined ##stm32 2013-01-25T18:20:03 < Erlkoenig> is "gayfriend" the equivalent of "boy/girl-friend" for gay couples? 2013-01-25T18:21:35 <+Steffanx> In this case.. yeah i guess so 2013-01-25T18:32:38 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-25T18:33:53 -!- daku is now known as DaKu 2013-01-25T18:34:52 -!- Claude is now known as claude 2013-01-25T18:44:11 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-25T18:45:18 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-25T18:45:19 -!- TeknoJuce [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-25T18:45:19 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-25T19:00:05 < Laurenceb> im bored :( 2013-01-25T19:00:16 < Laurenceb> writing shell scriptz all day suks 2013-01-25T19:02:41 < gnomad> only boring people are bored 2013-01-25T19:03:21 < gnomad> but i must admit, i have had a fair bit of bordome recently. 2013-01-25T19:04:00 < emeb> you could put "easter eggs" into your shell scripts. 2013-01-25T19:04:10 < gnomad> yeah, bitches, like potatoe. 2013-01-25T19:04:13 < Erlkoenig> try windows development that cures boredom 2013-01-25T19:04:32 < gnomad> no thanks 2013-01-25T19:05:33 < Laurenceb> environmental vibration metrics :-/ 2013-01-25T19:06:20 < BrainDamage> dildos 2013-01-25T19:06:41 < gnomad> teledildonics. 2013-01-25T19:06:41 < Laurenceb> no, vehicles 2013-01-25T19:06:47 < gnomad> i love that word 2013-01-25T19:07:19 < gnomad> http://en.wikipedia.org/wiki/Teledildonics 2013-01-25T19:10:26 < Laurenceb> lol wikipedia 2013-01-25T19:10:47 < Laurenceb> wait.. the toys orgasm?! 2013-01-25T19:15:02 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-25T19:15:05 < Laurenceb> http://en.wikipedia.org/wiki/Arse_Elektronika 2013-01-25T19:15:08 < Laurenceb> i lolled 2013-01-25T19:15:44 < Laurenceb> why are there wiki articles for all those attendees... 2013-01-25T19:17:26 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-25T19:25:51 -!- DaKu is now known as daku 2013-01-25T19:29:46 < BrainDamage> the mind gotta scratch where it itches 2013-01-25T19:30:02 < BrainDamage> also, the articles seem to reach you easily :p 2013-01-25T19:30:22 < BrainDamage> I bet there's an historian that wonders why wikipedia has so many medieval articles 2013-01-25T19:34:27 < zyp> Tectu, hi, I heard you like kawaii stuff: http://imgur.com/a/NuPqd 2013-01-25T19:38:59 <+Steffanx> imgur should be blacklisted 2013-01-25T19:39:48 <+Steffanx> imgur link on freenode and you get klined 2013-01-25T19:40:18 < emeb> guess I'd better stop putting pix of my boards on imgur 2013-01-25T19:40:38 <+Steffanx> Yes sir 2013-01-25T19:41:07 < emeb> back to imagebin I guess 2013-01-25T19:41:43 < Laurenceb> what the fuuuu 2013-01-25T19:41:58 < jon1012> http://crenk.com/wp-content/uploads/2013/01/internet-explorer-market-share-vs-murder-rate-in-usa.png 2013-01-25T19:42:04 < jon1012> better than imgur. 2013-01-25T19:42:20 < Laurenceb> lolz 2013-01-25T19:42:32 < BrainDamage> nice correlation 2013-01-25T19:42:41 < emeb> blah blah correlation blah causation blah blah 2013-01-25T19:43:00 < BrainDamage> still, I'm curious what murder rate and ie have in common 2013-01-25T19:43:00 < Laurenceb> stop it 2013-01-25T19:43:08 < Laurenceb> youre spoiling the lolz 2013-01-25T19:43:32 < emeb> harshing them even 2013-01-25T19:43:32 <+Steffanx> Don't paste links when people are not allowed to argue about it 2013-01-25T19:43:47 < emeb> Steffanx is all about the rules today 2013-01-25T19:43:59 < emeb> power corrupts... 2013-01-25T19:44:51 <+Steffanx> The truth is hard uh? 2013-01-25T19:45:34 < emeb> twss 2013-01-25T19:45:50 <+Steffanx> Urbandictionary 2013-01-25T19:46:22 < emeb> just staying temporally relevant 2013-01-25T19:46:36 <+Steffanx> You asked me to say when i had to use it, emeb .. this was one of those times 2013-01-25T19:47:00 < emeb> kewl. I stumped Steffanx! 2013-01-25T19:47:10 < BrainDamage> the great Steffanx? 2013-01-25T19:48:56 <+Steffanx> There is only one Steffanx, not sure if he is great 2013-01-25T20:03:27 -!- dekar [~dekar@212.255.26.75] has joined ##stm32 2013-01-25T20:03:29 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-25T20:05:21 <+dekar> Laurenceb, so does your firmware still work after building it with TNT? :) 2013-01-25T20:05:53 < Laurenceb> i think so 2013-01-25T20:05:58 < Laurenceb> havent fully tested 2013-01-25T20:06:10 < Laurenceb> i dont have any of the plug in sensor modules it talks to 2013-01-25T20:15:57 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-25T20:18:37 < Laurenceb> maybe ill just release the firmware and see... 2013-01-25T20:28:04 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Read error: Operation timed out] 2013-01-25T20:29:58 < gxti> my 2 layer boards finally showed up, but i just moved all my electronics shit upstairs and i'm not sure if i can be arsed to go up and sort out all the things i need to assemble the BMP :p 2013-01-25T20:33:29 <+Steffanx> LAZY ASSSSS 2013-01-25T20:33:33 < karlp> yup 2013-01-25T20:33:44 < karlp> my boards arrived two weeks ago, and I only got around to assembling today 2013-01-25T20:33:49 < karlp> baked them for the first time. 2013-01-25T20:55:23 < ds2> is the linux st-util gdb driver limited in some way? Code suggests I can talk to SRAM on the FSMC but x/xw 0x68000000 in gdb returns with a message saying it cannot access that memory 2013-01-25T20:55:52 < karlp> you probably need to tell gdb to allow access to unknown memory areas 2013-01-25T20:56:06 < ds2> ohhhhh 2013-01-25T20:56:07 < karlp> st-util only provides a memory map for onboard memory 2013-01-25T20:56:18 < karlp> I don't remember the syntax though sorry 2013-01-25T20:56:31 < ds2> okay. I'll look it up now that I know what to look for 2013-01-25T20:59:01 < karlp> set mem inaccessible-by-defalt off I think. 2013-01-25T20:59:06 < karlp> with better spelling 2013-01-25T20:59:24 < ds2> that's easy enough to verify with the help 2013-01-25T20:59:54 < ds2> yep 2013-01-25T21:10:31 <+dekar> I take back what I said about newlib-nano's malloc wasting memory. The out of memory messages Lua spit out were related to missing float support in sprintf. 2013-01-25T21:11:25 < jpa-> hmm, newlib-nano looks interesting 2013-01-25T21:12:15 < jpa-> is it significantly smaller than newlib? 2013-01-25T21:12:53 <+dekar> jpa-, TNT newlib-nano compiles the TNT example to 4.8k, it used to be 20k with TNT and 30k with most other toolchains 2013-01-25T21:13:11 <+dekar> that's without float support though 2013-01-25T21:14:30 < jpa-> not too bad, though not very good either 2013-01-25T21:19:41 <+dekar> pulling in sprintf/sscanf float support adds 20k, somehow this was better with newlib vanilla 2013-01-25T21:20:22 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-25T21:20:24 < jpa-> someone should make a "not so perfect" float printf/scanf that wouldn't be so big 2013-01-25T21:22:07 < jpa-> because often it's not really so important for it to be accurate down to 2^-23 etc. 2013-01-25T21:22:59 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Client Quit] 2013-01-25T21:23:07 <+dekar> jpa-, I have written float conversion routines in thumb1 asm a while ago, I think they were accurate and not big at all 2013-01-25T21:24:12 < jpa-> something basic like "read digit, multiply by ten"? 2013-01-25T21:24:40 -!- cdh [~chatzilla@c-50-136-234-52.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 2013-01-25T21:25:29 -!- barthess [~barthess@178.154.46.227] has quit [Quit: Leaving.] 2013-01-25T21:25:32 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-25T21:25:40 <+dekar> I don't remember what I had to do tbh, but I do remember it had to correctly interpret like 5 special conditions in float (NaN and the like) 2013-01-25T21:25:47 <+dekar> Was some useless exercise for uni 2013-01-25T21:25:51 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 245 seconds] 2013-01-25T21:28:08 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-25T21:28:16 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-25T21:28:48 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-25T21:29:31 -!- barthess [~barthess@178.154.46.227] has joined ##stm32 2013-01-25T21:31:29 -!- fxd0h [~fx@186.18.172.240] has quit [Read error: Connection reset by peer] 2013-01-25T21:32:04 -!- barthess [~barthess@178.154.46.227] has quit [Remote host closed the connection] 2013-01-25T21:32:08 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-25T21:36:22 -!- barthess [~barthess@77.67.237.25] has joined ##stm32 2013-01-25T21:37:49 -!- dongs_ [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-25T21:42:25 -!- Netsplit *.net <-> *.split quits: dongs, Posterdati, ossifrage 2013-01-25T21:48:10 < dirty_d> jpa-, you probably only need like 000.000 format when printing right? 2013-01-25T21:49:01 -!- Netsplit over, joins: Posterdati, ossifrage 2013-01-25T22:00:20 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Ping timeout: 248 seconds] 2013-01-25T22:06:20 -!- vpopov [~happylife@149.62.17.217] has quit [Read error: Operation timed out] 2013-01-25T22:17:18 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-01-25T22:20:34 < jpa-> dirty_d: something like that (i don't have any need myself at the moment though) 2013-01-25T22:37:16 < dirty_d> jpa-, yea something like this http://ideone.com/8pl31f 2013-01-25T22:38:41 < dirty_d> not sure how powf, with a negative exponent works 2013-01-25T22:38:49 < dirty_d> is that slow? 2013-01-25T22:47:58 -!- fxd0h_ [~fx@186.18.172.240] has joined ##stm32 2013-01-25T22:50:20 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 255 seconds] 2013-01-25T22:50:21 -!- fxd0h_ is now known as fxd0h 2013-01-25T22:57:24 -!- BJfreeman [~bjfree@25.sub-75-233-40.myvzw.com] has quit [Read error: Connection reset by peer] 2013-01-25T22:58:49 -!- _BJFreeman [~bjfree@25.sub-75-233-40.myvzw.com] has joined ##stm32 2013-01-25T23:00:28 -!- kerwood_wk [80f42605@gateway/web/freenode/ip.128.244.38.5] has quit [Ping timeout: 245 seconds] 2013-01-25T23:04:00 -!- _BJFreeman [~bjfree@25.sub-75-233-40.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-01-25T23:04:37 -!- _BJFreeman [~bjfree@3.sub-75-244-191.myvzw.com] has joined ##stm32 2013-01-25T23:05:42 -!- _BJFreeman is now known as BJfreeman 2013-01-25T23:08:36 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 248 seconds] 2013-01-25T23:10:13 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-25T23:12:03 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-125.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-25T23:22:35 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-25T23:26:29 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has quit [Quit: Leaving] 2013-01-25T23:29:18 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has joined ##stm32 2013-01-25T23:33:30 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-25T23:34:35 -!- Gargantuasauce [~Gargantua@142.177.41.22] has joined ##stm32 2013-01-25T23:34:53 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-25T23:41:58 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-25T23:53:35 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-25T23:54:39 -!- quickie [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has joined ##stm32 2013-01-25T23:54:45 < quickie> evening 2013-01-25T23:54:48 < quickie> http://www.centro.hr/detalji_proizvoda.08138115-AF50-44FB-B0D3-B9F000E252F6.aspx OR http://www.notebook.hr/product_info.php?products_id=16525 --- Day changed Sat Jan 26 2013 2013-01-26T00:04:38 -!- quickie [a135b3e2@gateway/web/freenode/ip.161.53.179.226] has quit [Ping timeout: 245 seconds] 2013-01-26T00:07:31 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-26T00:09:27 -!- barthess [~barthess@77.67.237.25] has quit [Quit: Leaving.] 2013-01-26T00:12:29 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-26T00:12:44 -!- barthess [~barthess@5.100.195.205] has joined ##stm32 2013-01-26T00:22:57 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-01-26T00:24:41 < gxti> BMP lives. 2013-01-26T00:24:57 <+Steffanx> Yes, it's black magic 2013-01-26T00:25:10 < gxti> so magic it took 6 tries to flash it, apparently 2013-01-26T00:25:20 <+Steffanx> lol? 2013-01-26T00:25:26 <+Steffanx> pebkec magic 2013-01-26T00:25:29 < gxti> dunno lol 2013-01-26T00:25:43 < emeb> musn't forget to load both the bootloader _and_ the bmp app code 2013-01-26T00:25:55 < gxti> my usual openocd script was like "k done" and yet nothing happened. eventually i got gdb to do it. 2013-01-26T00:26:20 < emeb> bad openocd 2013-01-26T00:26:54 < gxti> emeb: you mean blackmagic_dfu? 2013-01-26T00:27:03 < emeb> right 2013-01-26T00:27:17 < gxti> do i need to do that if i'm not using dfu? 2013-01-26T00:27:49 < emeb> I think so - it's the part that the reset vector points to, even if you don't use it. 2013-01-26T00:29:18 < gxti> i see now, you're right. gdb jumped to the entry point after loading it at 0x80093ad or something. 2013-01-26T00:29:28 < gxti> which is why that worked 2013-01-26T00:30:28 <+Steffanx> black magic :) 2013-01-26T00:30:30 < gxti> i had assumed 'dfu' meant the stm dfu and that it needed the _dfu bin as a stub for some inane reason, this makes more sense. 2013-01-26T00:35:14 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-26T00:35:26 < emeb> yeah - you'll want both. dfu runs @ reset, checks the button (which you left off IIRC) and then jumps to the bmp app. 2013-01-26T00:36:14 < gxti> no button, just a pad 2013-01-26T00:36:26 < gxti> also lol, the bootloader turned code protection on 2013-01-26T00:38:47 < gxti> there we go 2013-01-26T00:41:07 < zyp> well, it turns it off again when it's writing 2013-01-26T00:41:48 < gxti> there's a failsafe nuke right? not that i anticipate needing it 2013-01-26T00:43:35 <+Steffanx> There even is a bomb shelter for if the failsafe nuke fails 2013-01-26T00:44:13 <+Steffanx> Sorry, I talk too much nonsense again 2013-01-26T00:46:06 < gxti> Attached to Remote target 2013-01-26T00:46:06 < gxti> _idle_thread (p=0x0) at ChibiOS_2.4.2/os/kernel/src/chsys.c:59 2013-01-26T00:46:07 < gxti> weeeee 2013-01-26T00:50:47 -!- jef79m_lurking is now known as jef79m 2013-01-26T01:00:22 -!- daku is now known as DaKu 2013-01-26T01:03:02 -!- jef79m is now known as jef79m_lurking 2013-01-26T01:08:40 <+dekar> I made some pretty ugly patches to Lua in order to make it generate bytecode compatible with the stm32 when running on x64 2013-01-26T01:09:06 <+dekar> But now I can pre-compile my Lua scripts :) 2013-01-26T01:17:28 < Laurenceb_> wow 2013-01-26T01:17:38 < Laurenceb_> about 20cm snow here :S 2013-01-26T01:17:57 < zyp> better go into hibernation 2013-01-26T01:18:26 < Laurenceb_> there was 10cm an hour or so ago 2013-01-26T01:18:31 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-01-26T01:20:10 < Laurenceb_> theres a cat living in my shed :S 2013-01-26T01:20:21 <+Steffanx> Wonder what i'll get of that Laurenceb_ .. it seems it slowly moves towards me 2013-01-26T01:20:29 <+Steffanx> *the snow that is 2013-01-26T01:20:45 < Laurenceb_> it was forecast to rain here and melt the remaining snow 2013-01-26T01:21:06 <+Steffanx> Yes, that too 2013-01-26T01:21:08 < Laurenceb_> now i have no sardines :( 2013-01-26T01:21:24 < Laurenceb_> its pregnant and very hungry 2013-01-26T01:21:34 <+Steffanx> uh ok? 2013-01-26T01:21:46 < Laurenceb_> the cat :P 2013-01-26T01:22:00 <+Steffanx> Get some real cat food.. 2013-01-26T01:22:26 < Laurenceb_> its all i had, and it didnt look too good 2013-01-26T01:22:42 < Laurenceb_> its eaten two tins now 2013-01-26T01:24:08 <+Steffanx> Get it to some place they CAN take care of a pregnant cat :) 2013-01-26T01:26:40 < Laurenceb_> luckily im not in the us 2013-01-26T01:26:41 < Laurenceb_> www.petakillsanimals.com/ 2013-01-26T01:32:38 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-26T01:35:35 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 255 seconds] 2013-01-26T01:36:21 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has joined ##stm32 2013-01-26T01:38:45 <+Steffanx> 2013-01-26T01:43:46 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-26T01:44:50 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-26T01:45:16 < emeb> my cat is trying to eat bubble-pak. 2013-01-26T01:45:38 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 252 seconds] 2013-01-26T01:45:54 < gnomad> are you sure he's just not trying to pop them? 2013-01-26T01:46:06 < emeb> could be - he's pretty effective at it. 2013-01-26T01:46:16 * emeb feeds the cat real food instead. 2013-01-26T01:48:51 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-26T01:49:08 -!- barthess [~barthess@5.100.195.205] has quit [Ping timeout: 248 seconds] 2013-01-26T01:56:38 < dongs_> sup trolls 2013-01-26T01:57:14 < Laurenceb_> i found your secret youtube 2013-01-26T01:57:26 < Laurenceb_> ► 1:12► www.youtube.com/watch?v=Zs1DsNBvEoc 2013-01-26T02:04:55 < Laurenceb_> dongs is frantically trolling everyone with that vid now 2013-01-26T02:12:53 < gnomad> still not as bad as rick astley 2013-01-26T02:17:56 <+Steffanx> I'm not going to say i'm too bored to say it's funny Laurenceb_ 2013-01-26T02:18:45 <+Steffanx> Just a random fat guy with fake teeth.. yay 2013-01-26T02:20:50 < karlp> dekar: what do you mean generate bytecode compatible with stm32 when running on x64? you run luac on x64, and copy the output to a section in flash on stm32? 2013-01-26T02:21:46 < dongs_> yeah i think thats what he means 2013-01-26T02:21:56 -!- dongs_ is now known as dongs 2013-01-26T02:21:59 < karlp> we've had unexpected snow the last couple of hours here too actually. 2013-01-26T02:22:00 -!- DaKu is now known as daku 2013-01-26T02:22:02 < karlp> time for bed, 2013-01-26T02:22:21 < karlp> see how it is in the morning. beach bbq and beer time 2013-01-26T02:25:43 <+Steffanx> beach bbq lol 2013-01-26T02:26:52 < Laurenceb_> hmm 2013-01-26T02:27:14 < Laurenceb_> i met a guy at the Farnborough air show who was obsessed with lua 2013-01-26T02:27:25 < Laurenceb_> and wanted to run it on stm32 2013-01-26T02:27:57 < Laurenceb_> you should license it :P 2013-01-26T02:28:14 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 252 seconds] 2013-01-26T02:28:17 < dongs> isnt lua been available for stm32 forever. 2013-01-26T02:28:21 < Laurenceb_> http://www.spacewire.co.uk/ 2013-01-26T02:28:24 < dongs> or *embeded arm shit anyway 2013-01-26T02:28:25 < Laurenceb_> ^these guys 2013-01-26T02:30:49 < Laurenceb_> http://www.spacewire.co.uk/raptor16_pacman.html 2013-01-26T02:30:54 < Laurenceb_> ... seriously 2013-01-26T02:31:41 < Laurenceb_> i thought the guy seemed a little insane 2013-01-26T02:32:39 < dongs> no C compiler? 2013-01-26T02:32:52 <+Steffanx> pseudo code + asm :D 2013-01-26T02:33:38 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-01-26T02:41:43 < dirty_d> hrrm, i2c woes 2013-01-26T02:43:10 < dirty_d> anyone see anything obviously wrong with this? http://pastebin.com/VEeqDaWm 2013-01-26T02:45:11 < dirty_d> I2C1->CR2 |= I2C_CR2_START; while(I2C1->CR2 & I2C_CR2_START) {} 2013-01-26T02:45:15 < dirty_d> that loop gets stuck forever 2013-01-26T02:45:21 < Laurenceb_> hehe 2013-01-26T02:45:24 < Laurenceb_> F1 ? 2013-01-26T02:45:33 < dirty_d> in the datasheet it says after the start condition and the addr is sent, that bit is cleared 2013-01-26T02:45:34 < dirty_d> F3 2013-01-26T02:45:41 < Laurenceb_> oh god 2013-01-26T02:45:50 < Laurenceb_> dont say the fucked on f3 i2c as well 2013-01-26T02:45:54 < Laurenceb_> *up 2013-01-26T02:46:03 < dongs> dirty_d: some slave is probably holding the bus. 2013-01-26T02:46:07 < dirty_d> its more likely me than them, lol 2013-01-26T02:46:10 < dongs> clock it out. 2013-01-26T02:46:19 < dongs> before doing hardware start. 2013-01-26T02:46:20 < Gargantuasauce> don't you wait on the status register's start bit, not the control register's? 2013-01-26T02:46:36 < Gargantuasauce> or is my view skewed by using the st libraries instead of poking registers directly 2013-01-26T02:46:41 < zyp> hmm 2013-01-26T02:47:44 < dirty_d> dongs, this is on the stm32fediscovery 2013-01-26T02:47:50 < dirty_d> f3* 2013-01-26T02:48:02 < dirty_d> what do you mean clock it out 2013-01-26T02:48:04 < Gargantuasauce> i2c->CR1 |= I2C_CR1_START; while((i2c->SR1 & I2C_SR1_SB) != I2C_SR1_SB); 2013-01-26T02:49:20 < dirty_d> Gargantuasauce, i dont have an SR1 2013-01-26T02:49:22 < zyp> Gargantuasauce, wrong 2013-01-26T02:49:29 < zyp> I2C in F3 is new, it changed 2013-01-26T02:50:04 < Gargantuasauce> oh, k then 2013-01-26T02:50:52 < dirty_d> do i have to wait a certain amount of time after enabling I2C1? 2013-01-26T02:50:57 < dirty_d> i havent seen it say that anywhere 2013-01-26T02:51:28 < zyp> a few cycles, try putting a barrier between 2013-01-26T02:51:37 < dongs> breakpoint @ that start place, look at sda/scl lines with a scope 2013-01-26T02:51:44 < dongs> if they're both high, run the line and see what happens. 2013-01-26T02:51:59 < dongs> if they're low before you hit start, then one of the slaves is kepeing them down 2013-01-26T02:52:00 < Laurenceb_> i had to add some barriers to make F1 i2c work properly 2013-01-26T02:52:11 < zyp> so did I 2013-01-26T02:53:02 < dirty_d> i dont have a scope :/ 2013-01-26T02:53:09 < dirty_d> but its on my list of things to get 2013-01-26T02:53:29 < dongs> might wanna stick w/arduino for the time bein then 2013-01-26T02:53:50 < Gargantuasauce> zing 2013-01-26T02:53:53 < zyp> you can just check IDR for the GPIO pins if you need to know actual pin state 2013-01-26T02:54:37 < zyp> hmm 2013-01-26T02:54:40 < dirty_d> naaah 2013-01-26T02:54:49 < dirty_d> never used arduino just the bare avrs 2013-01-26T02:54:53 < Gargantuasauce> get an open logic sniffer 2013-01-26T02:54:58 < dongs> or not 2013-01-26T02:55:12 < dirty_d> i was gonna get that 50MHz rigol that you can hack to 100MHz 2013-01-26T02:55:37 < Gargantuasauce> get the ols too 2013-01-26T02:58:16 < FransWillem> Hey guys, I tried Coocox's CoIde by suggestion from someone here, but it really isn't my cup of tea. Could anyone else recommend a good toolset/IDE to develop for the STM32F4 discovery ? 2013-01-26T02:58:18 < dirty_d> hmm 2013-01-26T02:58:37 < dongs> ha 2013-01-26T02:58:41 < dirty_d> i even tried waiting a couple seconds before doing any i2c stuff to make sure the accelerometer is up and running 2013-01-26T02:58:43 < dongs> what the fuck did you find wrong wiht coide? 2013-01-26T02:59:01 < dirty_d> i know it works, because it worked with the factory program 2013-01-26T02:59:14 < dongs> embedded dvelolpment is hard, if you can't handle eclipse with all the extra handhlding it does for you, y ou might wanna stick wiht arduino 2013-01-26T02:59:35 < zyp> ah 2013-01-26T02:59:39 < zyp> dirty_d, found your problem 2013-01-26T02:59:39 < Gargantuasauce> i can't handle eclipse 2013-01-26T02:59:43 < Gargantuasauce> it drives me up the wall 2013-01-26T03:00:05 < dirty_d> zyp, oh really? 2013-01-26T03:00:07 < zyp> hmm, or maybe not 2013-01-26T03:00:17 < zyp> need to read a bit more 2013-01-26T03:00:25 < dirty_d> also what bugs me is the datasheet for the accelerometer doesnt tell you what the DRDY pin is for at all 2013-01-26T03:00:27 < FransWillem> dongs: I don't need handholding, but built-in support with at least the interrupts file generated for you seems reasonable. CoIde came with a total of 5 different processors, none of which matched the one on either my STellaris Launchpad or my STM32F4 2013-01-26T03:00:27 < dongs> why not just use working code from the demo app 2013-01-26T03:00:42 < dongs> FransWillem: interrupts file? 2013-01-26T03:00:53 < dongs> FransWillem: look at startup, make void InterruptName(void) { } 2013-01-26T03:00:54 < dongs> ?? 2013-01-26T03:01:00 < dongs> why make a file 2013-01-26T03:01:12 < FransWillem> startup is what I was talking about 2013-01-26T03:01:13 < dirty_d> dongs, i like to start from scratch and force myself to learn exactly how everything works 2013-01-26T03:01:16 < dongs> you dont need all interrupts, the ones that don't exist will go to default handler 2013-01-26T03:01:31 < dongs> FransWillem: yeah what about it? startup is from CMSIS, you dont need to fuck with it. 2013-01-26T03:01:32 < dirty_d> i like to make things painful 2013-01-26T03:01:33 < dirty_d> lolo 2013-01-26T03:01:42 < FransWillem> Basically I'd like to have a good template for most boards/chips, and on chip debugging 2013-01-26T03:01:51 < zyp> dirty_d, do you mind checking the contents of I2C1->ISR while it's stuck in that loop? 2013-01-26T03:01:59 < dongs> "most"? do you have a particular project with a specific CPU? 2013-01-26T03:02:01 < dirty_d> zyp, which bits? 2013-01-26T03:02:13 < zyp> dirty_d, read out the entire register and tell me the value. 2013-01-26T03:02:15 < dirty_d> i checked the error ones and arbitration lost 2013-01-26T03:02:15 < FransWillem> Ideally I'd like to be able to just click "new project", specify the chip I'll be working with, and be left with a project that's already set up to link to any driver libs I need, and where I can start coding. 2013-01-26T03:02:16 < dirty_d> both not set 2013-01-26T03:02:30 < FransWillem> Copy-pasting everytime I start a new project is just a horrible waste of my time :/ 2013-01-26T03:02:39 < dongs> ya well, good luck wiht that. 2013-01-26T03:02:42 < dirty_d> zyp, is there any easy way to do that? like with the debugger? 2013-01-26T03:02:44 < dongs> nothing I used (even payware) will do that 2013-01-26T03:02:56 < zyp> p/x I2C1->ISR 2013-01-26T03:03:01 < Gargantuasauce> FransWillem: it sounds like you want a HAL 2013-01-26T03:03:10 < FransWillem> Gargantuasauve 2013-01-26T03:03:34 < Gargantuasauce> look at chibios or something 2013-01-26T03:03:45 < dirty_d> zyp, whats p/x 2013-01-26T03:03:46 < FransWillem> Gargantuasauce: Doubt it, but I've been using code composer with my stellaris launchpad before, and I hated that each and every time you start a new project you have to dive into the compiler and linker settings to set everything up again. 2013-01-26T03:03:55 < dongs> coocox even has a hal, and he still misses the point 2013-01-26T03:03:55 < dongs> FransWillem: it takes a few minutes to setup a project w/stdperiphlib+cmsis. 2013-01-26T03:03:55 < dongs> then you can just copypaste it. 2013-01-26T03:03:58 < zyp> dirty_d, gdb shorthand for print hex 2013-01-26T03:04:27 < dirty_d> i dont think i have that set up, all i have now is what i get from telnet localhost 4444 2013-01-26T03:04:39 < zyp> oh, like openocd shell? 2013-01-26T03:04:43 < FransWillem> What's the point of an IDE if it doesn't just have at least a proper empty project template ? Why on earth would I need to manually do that each and every time :/ 2013-01-26T03:04:46 < dirty_d> i've only used 3 commands, reset halt, reset run, and flash write image 2013-01-26T03:05:05 < dirty_d> ye i start openocd, then connect with telnet 2013-01-26T03:05:07 < R2COM> if its about copypaste then why not copypaste once written custom code without stdperiph 2013-01-26T03:05:15 < zyp> dirty_d, ok, hang on 2013-01-26T03:05:18 < dirty_d> ok 2013-01-26T03:05:36 <+dekar> karlp, yeah that's what I do 2013-01-26T03:06:13 < FransWillem> There's no IDE like Visual Studio where you just specify the kind of project you want and it just drops you into a file with int main() {} and all the compiler options already set ? 2013-01-26T03:06:26 < zyp> dirty_d, try this: mdw 0x40005418 2013-01-26T03:06:30 < dongs> all the ides ive used do that. 2013-01-26T03:06:40 <+dekar> also format strings seem to be broken for newlib-nano, I'll go back to newlib-vanilla for now 2013-01-26T03:06:51 < dongs> keil/crossworks. i don't see why coide wouldnt do same. 2013-01-26T03:06:58 < dongs> i never had to edit linker scripts, thats for sure. 2013-01-26T03:07:03 < FransWillem> Well, I just tried CoIde, and it only had the LM3 series for TI, and about 5 different STM32 architectures :/ 2013-01-26T03:07:13 < dongs> yeaH? and what do you want in it? 2013-01-26T03:07:16 < FransWillem> dongs: Not linker scripts, but the fact that you have to e.g. link to the stellarisware driverlib 2013-01-26T03:07:22 < dirty_d> zyp, 0x40005418: 00008001 2013-01-26T03:07:24 < dongs> uh shrug? 2013-01-26T03:07:55 < FransWillem> dongs: Just the basic STM32 discovery boards and if possible the TI ones too ? 2013-01-26T03:08:00 < FransWillem> dongs: Is that really too much to ask ? 2013-01-26T03:08:17 < zyp> dirty_d, that's BUSY and TXE 2013-01-26T03:08:30 < dongs> ive done a bunch of custom/test projects on -discovery boards and I never needed any "special" setup for htem 2013-01-26T03:08:41 < dongs> make a new proj for STM32Fxxx thats on the board, start coding 2013-01-26T03:08:41 < R2COM> I guess msp430 is free for TI under code composer 2013-01-26T03:08:43 < dongs> where's the problem 2013-01-26T03:08:53 < dongs> choad composer 2013-01-26T03:08:59 < dongs> or wait, i think my embedded pals call it crud composter 2013-01-26T03:09:27 < FransWillem> Your "embedded pals"? we're at that level? 2013-01-26T03:09:29 < R2COM> if someone wants to use their latest graph friendly Cxx620 whatever I guess one needs CC 2013-01-26T03:09:44 <+dekar> karlp, luac used up insane amounts of ram for medium sized scrips. One script that wouldn't compile on the stm32 now is only 13k bytecode and runs fine. 2013-01-26T03:09:54 < dirty_d> zyp, yea, hmm 2013-01-26T03:10:20 < dirty_d> this is pretty awesome that i can see the contents of registers 2013-01-26T03:10:30 < dirty_d> im used to reading out with LEDs 2013-01-26T03:11:30 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2013-01-26T03:11:45 < dongs> dirty_d: http://code.google.com/p/afrodevices/source/browse/trunk/baseflight/src/drv_i2c.c#313 2013-01-26T03:11:54 < zyp> dirty_d, you should get gdb going 2013-01-26T03:11:56 < dongs> do something like this before starting i2c comms. 2013-01-26T03:12:04 < dongs> or power-reset the board 2013-01-26T03:12:09 < dongs> before trying a gain. 2013-01-26T03:12:12 < zyp> dongs, I don't think that's the problem 2013-01-26T03:12:27 < dongs> zyp, start w/BUSY = something is holding bus, no? 2013-01-26T03:12:58 < zyp> hmm, oh, right 2013-01-26T03:13:34 < dongs> i presume he did the obvious parts about setting up GPIO as OD etc 2013-01-26T03:13:56 < zyp> hmm 2013-01-26T03:14:23 < zyp> guess I should add F3 I2C driver to my stack, to learn how new core works 2013-01-26T03:14:49 < zyp> then I can do IMU stuff on F3 discovery 2013-01-26T03:15:01 -!- zlog_ [~zlog@ip68-102-192-159.ks.ok.cox.net] has joined ##stm32 2013-01-26T03:15:07 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has quit [Ping timeout: 256 seconds] 2013-01-26T03:15:30 < dirty_d> hmmm 2013-01-26T03:15:47 -!- zlog_ [~zlog@ip68-102-192-159.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-01-26T03:16:06 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has joined ##stm32 2013-01-26T03:16:46 < dirty_d> that seems like a hack, is it really neccessary? 2013-01-26T03:16:54 < dirty_d> shouldnt there be a way to do that with the i2c peripheral? 2013-01-26T03:17:58 < dirty_d> oh wait 2013-01-26T03:18:09 < dirty_d> i didnt set the gpio pins to open drain 2013-01-26T03:18:18 < dirty_d> do i have to do that, or does the i2c peripheral take care of it 2013-01-26T03:18:37 < dongs> lol, dongs 2013-01-26T03:18:54 < zyp> of course you have to do that 2013-01-26T03:19:03 < dirty_d> durr 2013-01-26T03:19:16 < dirty_d> common sense i guess, but i dont hink it explicitly said that 2013-01-26T03:19:18 < zyp> otherwise it'll run in push-pull mode 2013-01-26T03:19:38 < zyp> which leads to fun effects 2013-01-26T03:20:14 < zyp> I did that mistake when I ported my F1 code to F4 discovery 2013-01-26T03:20:52 < zyp> some slaves was still working, but not all 2013-01-26T03:21:26 < zyp> turned out some slaves had enough drive strength to overpower the F4 driving high, but not all :p 2013-01-26T03:21:39 -!- Gargantuasauce [~Gargantua@142.177.41.22] has quit [Ping timeout: 276 seconds] 2013-01-26T03:22:18 < dirty_d> hmm, still not working 2013-01-26T03:22:42 < dirty_d> oh my freakin god 2013-01-26T03:22:54 < dirty_d> GPIOB clock isnt enabled! 2013-01-26T03:23:27 < zyp> ah 2013-01-26T03:23:27 < R2COM> dirty_d: what chip are you communicating with? 2013-01-26T03:23:33 < zyp> explains why bus appeared to be busy 2013-01-26T03:23:41 < dirty_d> but it still doesnt work, lol 2013-01-26T03:23:53 < dirty_d> R2COM, the accelerometer/compass on the stm32f3discovery 2013-01-26T03:24:17 < R2COM> on I2c right? 2013-01-26T03:24:20 < dirty_d> oh wait it did! 2013-01-26T03:24:27 < dirty_d> i forgot i had a 5 second delay in there 2013-01-26T03:24:34 < dirty_d> R2COM, yea 2013-01-26T03:25:13 < dirty_d> sweet, still works without the delays 2013-01-26T03:25:36 < R2COM> I never could get it normally working with that stdperiph, i just had to spend some time setting up code from scratch without stdperiph, step by step reg by reg, then i got it firmly working, if you want I can show listing for those i2c protocol functions 2013-01-26T03:25:57 < R2COM> I'v commented I guess each step what has to be done 2013-01-26T03:26:27 < dirty_d> ok, thanks 2013-01-26T03:26:32 < dirty_d> R2COM, im not suing the library 2013-01-26T03:26:38 < dirty_d> just writing to regs also 2013-01-26T03:26:50 < dirty_d> im just using their register defines etc 2013-01-26T03:26:53 < R2COM> good 2013-01-26T03:27:08 < dirty_d> sweet, writing data also worked 2013-01-26T03:27:23 < R2COM> dirty_d: here is code for a gyro L33 I guess 2013-01-26T03:27:24 < R2COM> http://pastebin.com/PGi2fsMU 2013-01-26T03:27:34 < dirty_d> im gonna try reading a register with a default value and make sure i actually get that value 2013-01-26T03:28:21 < dirty_d> R2COM, your regs look different 2013-01-26T03:28:45 < R2COM> No...its just somewhere I added _ID to be able to pass any number peripheral 2013-01-26T03:29:05 < R2COM> regs are all same 2013-01-26T03:29:06 < dirty_d> ahh 2013-01-26T03:29:08 < zyp> uh 2013-01-26T03:29:10 < dirty_d> wait 2013-01-26T03:29:15 < zyp> this is like reverse-Laurenceb 2013-01-26T03:29:15 < dongs> man, people really go out of hte way to not use stdperiphlib 2013-01-26T03:29:17 < zyp> too much spaces 2013-01-26T03:29:22 < dirty_d> on mine i dont have to send t he address 2013-01-26T03:29:26 < dirty_d> i set it in CR1 2013-01-26T03:29:43 < dirty_d> and its sent automatically after a start condition 2013-01-26T03:30:14 < R2COM> code which you see there complies to official i guess i2c protocol, now whether some device might work or not without some of the lines I dont know, but i just tried to get it done that way 2013-01-26T03:30:35 < dirty_d> dongs, im sure it would make more sense to use it from a practical point of view, but im trying to actually learn how everthing works on a lower level 2013-01-26T03:33:36 < R2COM> I'v heard that Atmel with its Atmel Studio 6 provides easy to start and yet reasonable libraries for stuff like spi i2c, etc 2013-01-26T03:33:52 < dongs> shrug 2013-01-26T03:33:57 < dongs> i heard arduino does htat too 2013-01-26T03:34:13 < R2COM> and I heard that people using stdperiph are not far ahead of arduino guys 2013-01-26T03:36:33 < dirty_d> wait so start, send reg addr, repeated start, wait for RXNE? 2013-01-26T03:36:44 < dirty_d> or do you have to send the read address first 2013-01-26T03:37:49 < R2COM> if first time then just start, then address, then check bit 2013-01-26T03:38:42 < dirty_d> on mine when i do the start condition it automatically sends the address 2013-01-26T03:38:56 < dirty_d> theres a separate bit for read/write in CR1 2013-01-26T03:39:06 < dirty_d> so i think i have to change that when i do the repeated start 2013-01-26T03:39:56 < dirty_d> CR2 i mean 2013-01-26T03:40:45 < dirty_d> yup, worked 2013-01-26T03:42:39 < dirty_d> i think 2013-01-26T03:43:03 < dirty_d> it read 0xFFFFFFFF, but that might be because i didnt enable the accelerometer IC first 2013-01-26T03:48:27 < dongs> enable? 2013-01-26T03:48:36 < dongs> does accel on f3 board even have enable line? 2013-01-26T04:00:01 < dirty_d> no 2013-01-26T04:00:06 < dirty_d> not that i can see 2013-01-26T04:00:07 < dirty_d> brb 2013-01-26T04:01:05 < gxti> but it might need to be set to start sampling or whatever 2013-01-26T04:01:24 < gxti> software enable 2013-01-26T04:13:03 < ds2> is there some trick to getting a reliable UART output? 2013-01-26T04:13:30 < ds2> seems that I can only get output at 9600baud and even that gets corrupted a little 2013-01-26T04:14:53 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Ping timeout: 255 seconds] 2013-01-26T04:16:30 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Remote host closed the connection] 2013-01-26T04:17:04 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-26T04:18:28 < emeb> hi, I'd like a free IDE that works just like MS Visual Studio, supports every conceivable embedded ARM architecture from all vendors, works fast and did I mention is free. Please give me a list of all the possible options I have! Thanks! 2013-01-26T04:22:24 < ds2> or let me as it another way - what do most people use to calculate the value for USART1->BRR? 2013-01-26T04:23:35 < emeb> ds2: I'm running the USART on an F3 @ 115k and it works just fine. 2013-01-26T04:23:49 < ds2> how do you figure out the BRR register? 2013-01-26T04:23:51 < ds2> a table? 2013-01-26T04:23:54 < ds2> equation? 2013-01-26T04:24:01 < emeb> I use the StdPeriph lib functions to set it up and just hand them the 115200 value. 2013-01-26T04:24:10 < ds2> it is possible my FTDI cable is foo part 2013-01-26T04:24:13 < ds2> oh 2013-01-26T04:24:26 < ds2> know the function name off hand? I can grep for that 2013-01-26T04:24:36 < emeb> USART_Init() 2013-01-26T04:24:51 < emeb> with USART_InitStructure.USART_BaudRate = 115200; 2013-01-26T04:25:24 < ds2> btw, confirmed FSMC, and xtal 2013-01-26T04:25:36 < emeb> works? 2013-01-26T04:25:39 < ds2> yep 2013-01-26T04:25:44 < emeb> nice 2013-01-26T04:26:17 < ds2> wasn't sure about the clocking but the baud rate that I have (as iffy as that maybe) seems to follow the right frequency 2013-01-26T04:27:15 < ds2> whoa... this is more complex then what i am using 2013-01-26T04:27:54 < emeb> what the _init() func does? 2013-01-26T04:28:05 < ds2> no the USART baud rate calc 2013-01-26T04:28:14 < ds2> found some page that said use sysclock/baud rate 2013-01-26T04:33:08 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-26T04:33:39 < R2COM> by the way NXP offers its Expresso for free 2013-01-26T04:33:59 < R2COM> and for those who need US only chips I guess Atmel, and also Silabs, but silabs only has M3 core 2013-01-26T04:34:09 < R2COM> and none of them dont have FPU in their class range I guess.. 2013-01-26T04:34:15 < R2COM> also slower than stm32 2013-01-26T04:34:28 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-26T04:49:44 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-26T04:50:18 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-26T04:54:10 -!- Gargantuasauce [~Gargantua@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-26T05:03:21 < dongs> ds2: congrats, lol 2013-01-26T05:05:18 < emeb_mac> dongs: dp boards to fab? 2013-01-26T05:05:30 < dongs> < dongs> http://i.imgur.com/a87y7go.png panel layout is back 2013-01-26T05:05:31 < dongs> yea 2013-01-26T05:07:31 < emeb_mac> nice 2013-01-26T05:27:56 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 245 seconds] 2013-01-26T05:39:00 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-26T06:16:15 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-26T06:16:25 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-26T06:19:14 -!- BJfreeman [~bjfree@3.sub-75-244-191.myvzw.com] has quit [Quit: had a good time] 2013-01-26T06:28:53 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Quit: Ex-Chat] 2013-01-26T06:29:32 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-26T06:36:36 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-26T06:40:36 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Remote host closed the connection] 2013-01-26T06:41:35 < dirty_d> hrrm 2013-01-26T06:41:39 < dirty_d> still not working right 2013-01-26T06:45:14 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-26T06:46:16 < dirty_d> you 2013-01-26T06:53:27 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-26T06:53:31 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-01-26T06:54:01 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-26T06:58:12 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 256 seconds] 2013-01-26T07:03:06 < ds2> still got to figure out what is going on with the UART 2013-01-26T07:03:24 < ds2> I know it works cuz I can upload code using the bootrom 2013-01-26T07:03:46 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Quit: Bye] 2013-01-26T07:15:16 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-26T07:21:23 < emeb_mac> ds2: UART still not set up right? 2013-01-26T07:28:20 < R2COM> ds2: here is my working code for UART setting, which shows in comments how parameters and settings related to each other and their derivation: http://pastebin.com/hWLmCqBx 2013-01-26T07:33:10 < ds2> emeb_mac: nope 2013-01-26T07:34:35 < ds2> R2COM: that is what I have 2013-01-26T07:34:51 < R2COM> then check your ports related to UART 2013-01-26T07:34:53 < ds2> let me show you my diag code - it is very very very very ugly 2013-01-26T07:36:15 < ds2> http://www.hy-research.com/tmp/blinky.c 2013-01-26T07:36:25 < ds2> tried it w/ and w/o the xtal 2013-01-26T07:36:34 < R2COM> ds2: http://pastebin.com/JPUGbRTp 2013-01-26T07:37:34 < R2COM> clock to 72MHz? 2013-01-26T07:37:43 < ds2> I tried 72MHz and other values 2013-01-26T07:37:51 < ds2> right now that version is using the HSI clock, 8MHz 2013-01-26T07:37:58 < ds2> they all behave the same way 2013-01-26T07:38:09 < ds2> 9600 sort of work but I get corruption on transmits 2013-01-26T07:38:23 < ds2> other baudrates either output junk or don't work 2013-01-26T07:38:37 < R2COM> no.. code which I showed to you works given that APB1 is 42MHz 2013-01-26T07:38:59 < R2COM> so get it to 42MHz and try that one, 42MHz corresponds to main clock divided by 4 2013-01-26T07:39:11 < ds2> I know... I adjust the BRR value 2013-01-26T07:39:33 < ds2> eh? /4? what chip? 2013-01-26T07:39:41 < R2COM> stm32f4 2013-01-26T07:39:47 < R2COM> 168MHz main clock 2013-01-26T07:39:56 < ds2> ahhhhh 2013-01-26T07:40:02 < ds2> I am on a f1 2013-01-26T07:40:40 < ds2> since you are using UART3, I assume that means there is a /2 somewhere? or that doesn't apply to the F4? 2013-01-26T07:41:24 < R2COM> its hard to get what you mean by /2 somewhere, all divisions are shown in first code 2013-01-26T07:41:38 < R2COM> and appropriate divisions(settings) done to get APB1 at 42MHz 2013-01-26T07:41:41 < R2COM> thats it 2013-01-26T07:42:02 < ds2> I am using USART1 which should be on APB2 2013-01-26T07:42:18 < ds2> so I think it runs at 2x of the other USARTs 2013-01-26T08:05:46 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-26T08:07:49 -!- vpopov [~happylife@149.62.17.217] has joined ##stm32 2013-01-26T08:27:08 -!- vpopov [~happylife@149.62.17.217] has quit [Ping timeout: 252 seconds] 2013-01-26T09:08:34 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-01-26T09:31:36 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-26T09:58:58 -!- cdh [~chatzilla@c-50-136-234-52.hsd1.ca.comcast.net] has joined ##stm32 2013-01-26T10:01:14 -!- Gargantuasauce [~Gargantua@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 256 seconds] 2013-01-26T10:28:06 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-26T10:45:57 -!- |sark [~|sark@109.235.51.202] has quit [Read error: Connection reset by peer] 2013-01-26T10:48:37 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-26T10:50:49 -!- baird [~cjb@ppp121-44-151-176.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-26T11:04:43 -!- jef79m_lurking is now known as jef79m 2013-01-26T11:08:11 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-26T11:13:37 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-01-26T11:17:21 -!- jef79m is now known as jef79m_lurking 2013-01-26T11:33:03 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 276 seconds] 2013-01-26T11:34:01 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-26T11:35:55 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-26T12:00:42 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-26T12:16:36 -!- barthess [~barthess@5.100.195.87] has joined ##stm32 2013-01-26T12:24:00 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-26T12:24:00 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-26T12:24:00 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-26T12:24:03 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-26T12:30:05 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-26T12:36:19 -!- jef79m_lurking is now known as jef79m 2013-01-26T12:46:34 -!- jef79m is now known as jef79m_lurking 2013-01-26T12:46:58 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-26T13:00:36 -!- Roklobsta [~quassel@ppp118-209-137-152.lns20.mel6.internode.on.net] has joined ##stm32 2013-01-26T13:02:19 -!- _BJFreeman [~bjfree@12.sub-75-196-97.myvzw.com] has joined ##stm32 2013-01-26T13:04:31 -!- _BJFreeman is now known as BJfreeman 2013-01-26T13:05:30 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-26T13:57:23 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-01-26T13:58:13 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-26T14:16:37 -!- jef79m_lurking is now known as jef79m 2013-01-26T14:23:03 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-26T14:23:09 -!- Roklobsta [~quassel@ppp118-209-137-152.lns20.mel6.internode.on.net] has quit [Remote host closed the connection] 2013-01-26T14:25:38 -!- Erlkoenig [~erlkoenig@pptp-212-201-72-135.pptp.stw-bonn.de] has joined ##stm32 2013-01-26T14:28:42 -!- barthess [~barthess@5.100.195.87] has quit [Quit: Leaving.] 2013-01-26T14:32:32 -!- jef79m is now known as jef79m_lurking 2013-01-26T14:45:36 -!- BJfreeman [~bjfree@12.sub-75-196-97.myvzw.com] has quit [Quit: had a good time] 2013-01-26T14:51:49 < Tectu> zyp, whaaaaat 2013-01-26T14:52:52 <+Steffanx> Everything ok Tectu ? 2013-01-26T14:56:03 < Tectu> Steffanx, sure, how about you? 2013-01-26T15:01:16 -!- barthess [~barthess@178.154.40.166] has joined ##stm32 2013-01-26T15:04:01 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has joined ##stm32 2013-01-26T15:13:59 <+Steffanx> Sure 2013-01-26T15:14:01 <+Steffanx> too 2013-01-26T15:32:22 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-26T15:46:53 < baird> Biggest laugh of the day here-- someone made a Philip K. Dick /android/ ... https://secure.flickr.com/photos/simmermon/354896508/ .. http://news.cnet.com/8301-17938_105-20028602-1.html 2013-01-26T15:49:20 < Laurenceb_> http://jjmz.free.fr/?p=65 2013-01-26T15:49:29 < Laurenceb_> interesting - apparently only 20% cpu 2013-01-26T15:49:36 < Laurenceb_> but the binary is huge :S 2013-01-26T15:51:22 < Laurenceb_> http://jjmz.free.fr/?m=201212 <- thats kind of cool too... but crappy slow 2013-01-26T15:52:12 < Laurenceb_> if you used input capture and timers to do it.. 2013-01-26T15:58:00 -!- baird [~cjb@ppp121-44-151-176.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-26T16:16:30 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-26T16:28:01 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-26T16:30:38 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 255 seconds] 2013-01-26T16:40:11 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-26T16:40:47 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 240 seconds] 2013-01-26T16:52:40 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-26T16:56:21 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-26T17:08:34 <+Steffanx> mp3 decoding.. nice 2013-01-26T17:26:32 < dongs> http://www.ebay.com/itm/221177492197 ordered 2013-01-26T17:27:19 < dongs> too bad sump sucks 2013-01-26T17:27:24 < dongs> and so does open logic sniffer or whatever 2013-01-26T17:29:15 <+Steffanx> ordered to use a rtl28blabla gnuradio stuff dongs? 2013-01-26T17:29:24 <+Steffanx> */a/as 2013-01-26T17:29:29 < dongs> yeah 2013-01-26T17:30:57 <+Steffanx> I guess is should get myself one ( or more ) too 2013-01-26T17:34:09 <+Steffanx> The ols doesn't suck THAT bad dongs 2013-01-26T17:34:15 <+Steffanx> It's not the best, but .. also not the worst 2013-01-26T17:34:29 <+Steffanx> ( it was when I had mine, so i sold it :P ) 2013-01-26T17:36:59 <+Steffanx> lol dongs @ that shop 2013-01-26T17:37:48 <+Steffanx> "5 available" they do that to limit the max. amount one can order, or to give people the feeling: oooh only 5 left 2013-01-26T17:38:16 < dongs> well it was 5 available when I bought 2013-01-26T17:38:23 < dongs> then it became 4 2013-01-26T17:38:27 < dongs> and 15 minutes later was back up to 5 2013-01-26T17:38:43 <+Steffanx> Yes, and 5 before I ordered, and 3 when i ordered :P 2013-01-26T17:38:49 <+Steffanx> and now it's back to 5 again 2013-01-26T17:38:53 < dongs> haha 2013-01-26T17:39:15 < dongs> i ordered cuz: 2013-01-26T17:39:15 < dongs> _> timecop, new dvb-t dongles are out 2013-01-26T17:39:16 < dongs> _> they have 10db lower noise, and pick up less interference 2013-01-26T17:39:26 < dongs> pcb pics http://steve-m.de/pictures/rtl-sdr/r820t_mini1.jpg http://steve-m.de/pictures/rtl-sdr/r820t_mini2.jpg 2013-01-26T17:39:46 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] 2013-01-26T17:39:59 <+Steffanx> Chinese quality product :) 2013-01-26T17:40:29 < dongs> the drills look beter htan seedstudio 2013-01-26T17:42:38 <+Steffanx> We'll see 2013-01-26T17:48:18 <+dekar> dongs, tuner ICs are overrated: http://dekar.wc3edit.net/wp-content/uploads/2012/11/rtlsdr_hf_mod.jpg 2013-01-26T17:49:03 <+Steffanx> ADSL filters ( or whatever it was ) too 2013-01-26T17:51:00 < dongs> dekar: haha 2013-01-26T17:54:30 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-26T17:58:25 < zyp> dekar, sure, if the signal you want to capture already is baseband 2013-01-26T18:16:50 < dirty_d> still working on this I2C, not sure whats wrong: http://pastebin.com/xGFJ1r9x 2013-01-26T18:17:27 < dirty_d> at the end ISR = 0x20 which is just STOPF which is what it should be i think 2013-01-26T18:17:47 < dirty_d> but i keep reading 0 from one of the accelerometer's registers, which has a non-zero default value 2013-01-26T18:18:05 < dirty_d> maybe im not turning it on right or something 2013-01-26T18:29:11 -!- vpopov [~happylife@149.62.17.217] has joined ##stm32 2013-01-26T18:32:35 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-26T18:33:48 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-26T19:03:11 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-26T19:08:26 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-26T19:12:54 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Ping timeout: 252 seconds] 2013-01-26T19:14:46 -!- fxd0h_ [~fx@186.18.172.240] has joined ##stm32 2013-01-26T19:17:18 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 252 seconds] 2013-01-26T19:17:19 -!- fxd0h_ is now known as fxd0h 2013-01-26T19:19:26 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-26T19:29:01 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-26T19:33:05 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-26T19:40:52 -!- _BJFreeman [~bjfree@122.sub-75-244-161.myvzw.com] has joined ##stm32 2013-01-26T19:41:33 -!- _BJFreeman is now known as BJfreeman 2013-01-26T19:42:16 -!- daku is now known as DaKu 2013-01-26T20:06:52 -!- dekar [~dekar@212.255.26.75] has quit [Quit: Leaving] 2013-01-26T20:07:24 -!- dekar [~dekar@212.255.26.75] has joined ##stm32 2013-01-26T20:07:27 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-26T20:09:20 < dirty_d> hmm, strange things 2013-01-26T20:09:28 < dirty_d> i got i2c working though 2013-01-26T20:16:14 -!- dekar [~dekar@212.255.26.75] has quit [Quit: Leaving] 2013-01-26T20:35:34 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has joined ##stm32 2013-01-26T20:35:35 -!- NonaSuomy [~TeknoJuce@69.158.139.128] has quit [Changing host] 2013-01-26T20:35:35 -!- NonaSuomy [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-26T20:39:03 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 276 seconds] 2013-01-26T20:39:17 < Laurenceb_> only a few weeks to go until IRC day 2013-01-26T20:39:56 < Laurenceb_> http://gabriellebryden.wordpress.com/2012/02/14/international-asperger-day-2012/ 2013-01-26T20:40:57 -!- barthess [~barthess@178.154.40.166] has quit [Quit: Leaving.] 2013-01-26T20:41:15 -!- barthess [~barthess@178.154.40.166] has joined ##stm32 2013-01-26T20:41:53 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-26T20:42:25 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Client Quit] 2013-01-26T20:43:38 -!- NonaSuomy is now known as TeknoJuce 2013-01-26T20:44:41 < emeb> That was last year. 2013-01-26T20:44:54 < emeb> This year, assburger has been dropped from the dsm: http://www.guardian.co.uk/society/2012/dec/02/aspergers-syndrome-dropped-psychiatric-dsm 2013-01-26T20:45:05 < emeb> No such thing as assburger any longer. 2013-01-26T20:51:48 -!- Erlkoenig [~erlkoenig@pptp-212-201-72-135.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-26T20:53:13 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-01-26T20:57:35 < Laurenceb_> clearing the way for IRC day, held on the same day obviously 2013-01-26T21:10:29 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-109.pptp.stw-bonn.de] has joined ##stm32 2013-01-26T21:21:21 < BJfreeman> there are a lot of Sydromes that are misdiagnosed because people don't dig far enough into the person 2013-01-26T21:29:15 -!- dekar [~dekar@212.255.26.75] has joined ##stm32 2013-01-26T21:29:15 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-26T21:38:18 < dirty_d> any ideas why im just getting garbage data from the stm32f3discovery's accelerometer? http://pastebin.com/f2E1LQm1 2013-01-26T21:40:35 < Erlkoenig> if it's the same as the F4Discovery's Accel i can give you a working example code 2013-01-26T21:40:47 < zyp> it's not 2013-01-26T21:40:53 < zyp> F3 I2C is completely new 2013-01-26T21:40:54 < Erlkoenig> okay ^^ 2013-01-26T21:43:08 < zyp> dirty_d, can you pastebin the contents of lsm303dlhc.h as well? 2013-01-26T21:44:26 < zyp> hmm 2013-01-26T21:48:50 < dirty_d> zyp, yea 2013-01-26T21:49:26 < dirty_d> http://pastebin.com/cWCeY4nQ 2013-01-26T21:49:29 < zyp> what do you mean by garbage data? 2013-01-26T21:49:50 < dirty_d> it just seems to randomly change at about 2Hz 2013-01-26T21:49:53 < dirty_d> no matter how its oriented 2013-01-26T21:50:01 < dirty_d> i have if x>0 2013-01-26T21:50:07 < dirty_d> at the bottom of the code 2013-01-26T21:51:34 < zyp> well, do you believe that x_l alone should make more sense? 2013-01-26T21:51:51 < dirty_d> its in low resolution mode 2013-01-26T21:52:02 < zyp> so what is the value of 1g? 2013-01-26T21:52:57 < dirty_d> 127 or 128 2013-01-26T21:53:12 < dirty_d> whatever the max is for signed 8 bit 2013-01-26T21:53:21 < dirty_d> i think... 2013-01-26T21:53:27 < dirty_d> the datasheet actually sucks 2013-01-26T21:54:01 < zyp> right, so any noise at 1g would jump around the wraparound, any noise at -1g would do the same and any noise at 0g would jump around 0 2013-01-26T21:54:28 < zyp> and you are still trying to make sense of it? :p 2013-01-26T21:54:55 < zyp> anyway, this is wrong: I2C1->CR2 = (I2C1->CR2 & ~(0xFF << 16)) | I2C_CR2_RD_WRN | /*assert high addr bit for multi read(1 << 8) |*/ (1 << 16); 2013-01-26T21:55:13 < zyp> the (1 << 8) part goes in the register addr, not the bus addr 2013-01-26T21:55:24 < zyp> i.e. here: I2C1->TXDR = OUT_X_L_A; 2013-01-26T21:55:31 < dirty_d> oh crap 2013-01-26T21:55:34 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-26T21:55:43 < dirty_d> well, its commented out anyway 2013-01-26T21:55:49 < zyp> but it is commented out, and doesn't matter until you do multi-byte reads 2013-01-26T21:55:59 < dirty_d> also, i think i need to put it into low-power mode for the data to just be in one byte 2013-01-26T21:56:18 < zyp> but anyway, you should read all six bytes and combine them 2013-01-26T21:56:41 < zyp> and you should split your i2c handling code from your accelerometer driver code 2013-01-26T21:57:05 < zyp> http://cgit.jvnv.net/suzumebachi/tree/drivers/lsm303dlm.h <- see how much nicer it looks when you do it like this :p 2013-01-26T21:57:44 < emeb> there you go again, with your fancy modular code. 2013-01-26T21:57:45 < dirty_d> well yea 2013-01-26T21:58:01 < dirty_d> but i cant even get it to work with one output byte 2013-01-26T21:58:16 < zyp> having it look like a mess doesn't help. 2013-01-26T21:58:38 < dirty_d> i was planning on making some c++11 classes to help organize things 2013-01-26T21:58:46 < dirty_d> should make for some neat and efficient code 2013-01-26T21:58:51 < dirty_d> constexpr etc 2013-01-26T21:59:17 < zyp> heh 2013-01-26T21:59:34 < dirty_d> i still dont see why this isnt working though 2013-01-26T21:59:49 < dirty_d> just put it in low-power mode, and x_low is always < 0 2013-01-26T22:00:04 < dirty_d> i think the full scale range should be -127 to 128 2013-01-26T22:00:08 < zyp> hmm, is the data left or right-aligned? 2013-01-26T22:00:23 < dirty_d> right 2013-01-26T22:00:29 < dirty_d> well 2013-01-26T22:00:32 < dirty_d> no 2013-01-26T22:00:41 < dirty_d> i mean the low register has the least significant byte 2013-01-26T22:01:03 < zyp> hang on, I'm gonna check the datasheet 2013-01-26T22:01:07 < zyp> I trust it more than you :) 2013-01-26T22:02:40 < zyp> your pasted code doesn't set any low power mode, it sets ODR = 10 Hz 2013-01-26T22:03:21 < dirty_d> i changed it after i pasted 2013-01-26T22:03:42 < dirty_d> I2C1->TXDR = 0b00101111; 2013-01-26T22:03:49 < zyp> ok 2013-01-26T22:07:27 < dirty_d> i putit back into normal mode and read the high and low byte, but still garbage 2013-01-26T22:07:27 < zyp> hmm 2013-01-26T22:08:04 < zyp> as far as I can see it's always outputting 16-bits 2013-01-26T22:08:22 < dirty_d> as of now, http://pastebin.com/uUftbvyi 2013-01-26T22:08:43 < zyp> and with default scale, 1g would be 16384 or so 2013-01-26T22:09:02 < dirty_d> oops, shoulda set the high res bit 2013-01-26T22:09:13 < dirty_d> i think, it doesnt even tell you really what it does 2013-01-26T22:10:23 < dirty_d> wait, is it signed or unsigned? 2013-01-26T22:10:32 < zyp> signed, of course 2013-01-26T22:10:58 -!- trepidaciousMBR_ [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-26T22:11:54 < trepidaciousMBR_> undefined reference to dmaStreamAllocate in ChibiOS, STM32F4, no idea why :( 2013-01-26T22:12:01 < dirty_d> in high res mode x is always < 0 2013-01-26T22:12:09 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Read error: Connection reset by peer] 2013-01-26T22:12:09 -!- trepidaciousMBR_ is now known as trepidaciousMBR 2013-01-26T22:12:18 < zyp> hmm 2013-01-26T22:12:29 < zyp> dirty_d, can you send me a copy of your elf file? 2013-01-26T22:12:38 < zyp> I want to flash it to my F3 discovery and see what it does 2013-01-26T22:12:42 < dirty_d> yea 2013-01-26T22:13:03 < dirty_d> ill just send you a tarball of it all 2013-01-26T22:13:14 < zyp> ok 2013-01-26T22:15:02 < dirty_d> http://cisweb.bristolcc.edu/~adowning/first_program.tar.bz2 2013-01-26T22:20:34 < zyp> hmm, so this dimmer thing is controlling the led, and x plays no role, right? 2013-01-26T22:21:15 < dirty_d> x does 2013-01-26T22:21:33 < dirty_d> if x>0 then the LED turns on dim, else it turns on very dim 2013-01-26T22:21:47 < dirty_d> that way its easy to see if the loop is actually running 2013-01-26T22:21:50 < zyp> hmm, which led is which? 2013-01-26T22:22:12 < dirty_d> LD10 is PE13 2013-01-26T22:22:21 < dirty_d> LD3 is PE9 2013-01-26T22:22:33 < dirty_d> LD3 is just being turned on and off via TIM1 2013-01-26T22:22:35 -!- vpopov [~happylife@149.62.17.217] has quit [Ping timeout: 252 seconds] 2013-01-26T22:22:44 < zyp> ah, right 2013-01-26T22:25:14 < dirty_d> oh shit 2013-01-26T22:25:29 < dirty_d> i just realized i left the stop before the last read 2013-01-26T22:26:17 < dirty_d> it still doesnt work though 2013-01-26T22:26:46 < zyp> hmm, I can't find my LA, forgot where I put it 2013-01-26T22:27:47 < zyp> ok, found it :p 2013-01-26T22:27:52 < dirty_d> cool 2013-01-26T22:28:05 -!- toyz [5d8b5e8a@gateway/web/freenode/ip.93.139.94.138] has joined ##stm32 2013-01-26T22:28:10 < toyz> evening 2013-01-26T22:28:30 < dirty_d> it seems like the actual communication is working, bcause there are no error flags and its not getting stuck anywhere 2013-01-26T22:28:54 < dirty_d> i was able to read back other registers and the value i got was what i expected 2013-01-26T22:31:00 < dirty_d> what the hell? why are there SPI settings in one of the registers? 2013-01-26T22:35:09 -!- toyz [5d8b5e8a@gateway/web/freenode/ip.93.139.94.138] has left ##stm32 [] 2013-01-26T22:35:49 < zyp> I2C1->TXDR = OUT_X_L_A | (1 << 8); <- should be 1 << 7 2013-01-26T22:36:01 < emeb> lol -> http://www.downloadmoreram.com/downloading.html 2013-01-26T22:37:47 < zyp> also, the way you are writing four bytes of initialization is wrong 2013-01-26T22:37:56 < dirty_d> i just caught that 2013-01-26T22:38:00 < dirty_d> i need a repeated start again right 2013-01-26T22:38:38 < zyp> http://bin.jvnv.net/f/owfdR.png 2013-01-26T22:40:16 < dirty_d> i got it to work 2013-01-26T22:40:24 < dirty_d> those two things fixed it 2013-01-26T22:40:36 < zyp> great 2013-01-26T22:41:00 < dirty_d> thanks for the help 2013-01-26T22:41:05 < dirty_d> also, thats pretty cool 2013-01-26T22:41:13 < dirty_d> how much did it cost? 2013-01-26T22:41:21 < zyp> $150, it's a saleae logic 2013-01-26T22:42:02 < dirty_d> i didnt know it actually could recognize whats happening in i2c terms 2013-01-26T22:42:07 < dirty_d> what other protocols does it recognize? 2013-01-26T22:42:46 < zyp> http://bin.jvnv.net/f/vdJk1.png <- this is the list of dissectors my version has 2013-01-26T22:42:56 < zyp> haven't upgraded for a while, so there might be more 2013-01-26T22:43:06 < dirty_d> cool 2013-01-26T22:43:22 < dirty_d> ill probably get an oscope first 2013-01-26T22:43:51 < zyp> depending on what you do, a logic analyzer might be more useful 2013-01-26T22:45:07 < Laurenceb_> anyone know how to detect if a file exists in gnu-octave ? 2013-01-26T22:45:20 < zyp> scopes are fine for checking the analog properties of signals like levels and transition times, but unless you're getting an expensive one with full-fledged LA functionality, it's useless to check protocol 2013-01-26T22:46:11 < dirty_d> yea id use it for analog stuff too 2013-01-26T22:46:15 < zyp> as long as you trust that the signal levels are good and are more interested in the transmitted data, a LA is much more useful 2013-01-26T22:48:31 < dirty_d> nice, works on linux 2013-01-26T22:48:55 < zyp> http://bin.jvnv.net/f/yQbYr.png <- I tried debugging I2C on my scope before I bought the LA, that was a pain :p 2013-01-26T22:49:51 < emeb> Laurenceb_: use stat() 2013-01-26T22:50:35 < Laurenceb_> exist seems to work 2013-01-26T22:50:36 < jpa-> sometimes seeing the signal levels can be the important part.. http://koti.kapsi.fi/jpa/stuff/pix/i2c_levels.png (guess what is wrong :) 2013-01-26T22:50:59 < Laurenceb_> ah i see 2013-01-26T22:51:01 < zyp> jpa-, push-pull mode? :p 2013-01-26T22:51:04 < dirty_d> zyp, can y ou have it trigger on one of the channels or something? 2013-01-26T22:51:07 < jpa-> zyp: yes :) 2013-01-26T22:51:09 < Laurenceb_> exist is closer to what i want 2013-01-26T22:51:26 < zyp> jpa-, did the same myself when I ported my code to F4 2013-01-26T22:51:29 < Laurenceb_> now i just have to try and remember what the files should be called 2013-01-26T22:51:35 < jpa-> zyp: nice sharp rising edge on the data signal though! 2013-01-26T22:52:15 < zyp> the LA showed one slave answering and one slave being silent, just like the master also interpreted it 2013-01-26T22:52:41 < zyp> but the scope showed both slaves answering, one with a weaker drive strength than the other :p 2013-01-26T22:55:07 < dirty_d> thanks again 2013-01-26T22:55:11 < dirty_d> now time to upgrade the cnc mill 2013-01-26T23:01:56 -!- jef79m_lurking is now known as jef79m 2013-01-26T23:15:51 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 245 seconds] 2013-01-26T23:24:42 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-26T23:35:12 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 276 seconds] 2013-01-26T23:44:43 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-26T23:45:24 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 --- Day changed Sun Jan 27 2013 2013-01-27T00:01:01 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:fdda:b627:3e41:efdf] has joined ##stm32 2013-01-27T00:09:12 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-27T00:29:58 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-109.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-27T00:31:41 -!- barthess [~barthess@178.154.40.166] has quit [Ping timeout: 255 seconds] 2013-01-27T00:36:53 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-27T00:38:32 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-27T00:50:09 -!- barthess [~barthess@5.100.211.120] has joined ##stm32 2013-01-27T00:58:07 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-27T01:01:12 -!- jef79m is now known as jef79m_lurking 2013-01-27T01:07:17 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-27T01:08:56 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Client Quit] 2013-01-27T01:19:21 -!- _BJFreeman [~bjfree@122.sub-75-244-161.myvzw.com] has joined ##stm32 2013-01-27T01:20:09 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-27T01:22:16 -!- BJfreeman [~bjfree@122.sub-75-244-161.myvzw.com] has quit [Ping timeout: 240 seconds] 2013-01-27T01:30:52 -!- barthess [~barthess@5.100.211.120] has quit [Quit: Leaving.] 2013-01-27T01:38:28 -!- jef79m_lurking is now known as jef79m 2013-01-27T01:43:12 -!- _BJFreeman is now known as BJFreeman 2013-01-27T02:30:34 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-01-27T03:27:29 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-27T03:29:09 < dongs> DEAD TIME 2013-01-27T03:31:51 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has quit [Read error: Operation timed out] 2013-01-27T03:36:08 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:fdda:b627:3e41:efdf] has quit [Remote host closed the connection] 2013-01-27T03:49:57 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-27T03:55:25 -!- temoto [~temoto@broadband-37-110-105-233.nationalcablenetworks.ru] has joined ##stm32 2013-01-27T03:58:09 < temoto> Hello. I have this weird behavior on stm32f0d: i connected a buzzer to DAC pin and it plays my music (which is incredible miracle) but also it plays very loud tone at constant high frequency any time i enable DAC. 2013-01-27T03:58:31 < temoto> Even when DAC->DHR12R1 is set to 0. 2013-01-27T04:00:18 < temoto> Buzzer is http://goo.gl/xaeRs 3 pins: gnd, vcc and io 2013-01-27T04:00:48 < temoto> pins are connected correctly because i tried all other combinations and they just don't work 2013-01-27T04:04:56 < zyp> «very loud tone at constant high frequency» 2013-01-27T04:05:06 < zyp> isn't that the point of a buzzer? 2013-01-27T04:05:16 < zyp> as far as I know they are supposed to buzz 2013-01-27T04:13:04 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-27T04:15:55 < temoto> zyp, yeah but also it plays my melody 2013-01-27T04:16:29 < zyp> well, sure, you are sort of modulating it onto the buzzer 2013-01-27T04:16:51 < temoto> i was under impression that buzzer is not a special kind of device, it's just a small phone 2013-01-27T04:17:10 < temoto> is that not correct? 2013-01-27T04:17:43 < zyp> a buzzer is normally a speaker coupled with an oscillator to generate a tone, and the one you got have a control signal to turn it on and off 2013-01-27T04:17:46 < zyp> as far as I cantell 2013-01-27T04:19:03 < zyp> from the picture, the control signal appears to just use a transistor to turn on and off power based on the control signal 2013-01-27T04:19:31 < temoto> So that simple transistor and resistor circuit forms an oscillator? 2013-01-27T04:19:54 < zyp> no, the oscillator is probably inside the plastic housing 2013-01-27T04:20:33 < temoto> Would oscillator+phone in one package imply more than 2 pins? 2013-01-27T04:20:52 < zyp> with phone you mean speaker? 2013-01-27T04:20:55 < temoto> yes 2013-01-27T04:21:02 < zyp> no 2013-01-27T04:21:14 < zyp> just two pins, for power 2013-01-27T04:24:05 < temoto> This is closest i have found so far: http://trade.indiamart.com/details.mp?offer=3753798848 doesn't say anything about oscillator 2013-01-27T04:24:41 < zyp> well, it's implied by the name «buzzer» 2013-01-27T04:25:02 < zyp> oh 2013-01-27T04:25:05 < zyp> Resonant Freq: 2300± 300HZ 2013-01-27T04:25:14 < zyp> see, that's the frequency of the internal oscillator ;) 2013-01-27T04:26:21 < temoto> right, i was just about to ask what's that :) 2013-01-27T04:27:31 < zyp> http://www.wvshare.com/product/Analog-Test-Board.htm <- what you want is something like this 2013-01-27T04:29:42 < temoto> Thank you. Is 'supports mp3' marketing bullshit there? 2013-01-27T04:30:24 < zyp> yes 2013-01-27T04:31:02 < zyp> they mean that you can use it for purposes like decoding mp3 in the microcontroller and outputting it via the dac 2013-01-27T04:31:55 < temoto> So, just to make it clear: that package contains a device that being powered, emits shot impulses, pretty much like a capacitor included in parallel? 2013-01-27T04:32:05 < temoto> short* 2013-01-27T04:32:37 < temoto> and it's configured so that impulses happen at about 2300Hz 2013-01-27T04:33:06 < zyp> umm, I would assume that the oscillator circuit consists of a transistor and some resistors and capacitors, all sitting inside that package 2013-01-27T04:33:14 < temoto> or was it capacitor included sequentially... i'm bad at that 2013-01-27T04:34:12 < temoto> darts, now i have an urge to open it :) 2013-01-27T04:34:49 < zyp> the transistor is essentially an amplifier, where the signal is fed back from the output, through a filter of caps/resistors to the input, and the filter is configured so it will have a resonant frequency of 2300 Hz 2013-01-27T04:35:50 < dongs> lol @ buzzer w/high tone 2013-01-27T04:35:54 < temoto> Okay, thank you very much for your time. 2013-01-27T04:36:31 < zyp> it's quite possible that the circuit inside will just be a black blob :p 2013-01-27T04:36:49 < zyp> so opening it might not be very interesting :p 2013-01-27T04:38:14 < dongs> there ARE piezo speakers in same kinda shape 2013-01-27T04:38:29 < zyp> yes 2013-01-27T04:38:29 < dongs> that can play sound, but most are wiht some builtin circuit to buzz 2013-01-27T04:40:46 < zyp> some motherboards have onboard pc-speakers that looks like that, I assume that they are plain speakers, since they are normally driven by the PIT 2013-01-27T04:40:57 < dongs> yea 2013-01-27T04:44:02 < zyp> http://en.wikipedia.org/wiki/Intel_8253 <- guess it was fun back in the days, when timers came as their own chips :p 2013-01-27T04:44:49 -!- temoto [~temoto@broadband-37-110-105-233.nationalcablenetworks.ru] has left ##stm32 ["Leaving"] 2013-01-27T04:45:21 < zyp> if you run out of timers in your stm32, just get a few of those and hook them up to the FSMC :D 2013-01-27T04:49:48 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-27T04:50:23 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-27T05:11:53 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-27T05:12:07 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-27T05:13:34 < emeb_mac> sup y'all 2013-01-27T05:15:29 < zyp> wasting time instead of sleeping 2013-01-27T05:16:02 < zyp> well, pretty much wasted all day, haven't got anything done 2013-01-27T05:20:53 < zyp> time to sleep, maybe I'll get something done tomorrow 2013-01-27T05:22:59 < emeb_mac> not much done here either... 2013-01-27T05:50:19 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-27T06:06:03 < dongs> haha 2013-01-27T06:06:23 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-27T06:08:12 < emeb_mac> ha ha haaa 2013-01-27T06:15:05 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-27T06:15:14 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-27T06:24:33 -!- BJFreeman [~bjfree@122.sub-75-244-161.myvzw.com] has quit [Quit: had a good time] 2013-01-27T06:48:07 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-27T07:52:31 -!- jef79m is now known as jef79m_lurking 2013-01-27T08:04:07 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-27T08:04:37 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-27T08:06:40 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Ping timeout: 256 seconds] 2013-01-27T08:15:44 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-27T08:17:17 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-27T08:19:55 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-01-27T08:34:28 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-27T10:10:34 -!- barthess [~barthess@5.100.208.239] has joined ##stm32 2013-01-27T10:20:01 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 245 seconds] 2013-01-27T10:25:07 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 246 seconds] 2013-01-27T10:27:29 -!- TeknoJuce [~TeknoJuce@bas1-london15-1168017621.dsl.bell.ca] has joined ##stm32 2013-01-27T10:27:30 -!- TeknoJuce [~TeknoJuce@bas1-london15-1168017621.dsl.bell.ca] has quit [Changing host] 2013-01-27T10:27:30 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-27T10:56:22 -!- _BJFreeman [~bjfree@146.sub-75-196-71.myvzw.com] has joined ##stm32 2013-01-27T10:57:35 -!- _BJFreeman is now known as BJFreeman 2013-01-27T11:15:45 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-01-27T11:28:34 -!- _BJFreeman [~bjfree@146.sub-75-196-71.myvzw.com] has joined ##stm32 2013-01-27T11:29:09 -!- _BJFreeman [~bjfree@146.sub-75-196-71.myvzw.com] has quit [Read error: Connection reset by peer] 2013-01-27T11:29:36 -!- _BJFreeman [~bjfree@146.sub-75-196-71.myvzw.com] has joined ##stm32 2013-01-27T11:30:48 -!- BJFreeman [~bjfree@146.sub-75-196-71.myvzw.com] has quit [Ping timeout: 252 seconds] 2013-01-27T11:38:14 -!- jef79m_lurking is now known as jef79m 2013-01-27T12:09:26 -!- jef79m is now known as jef79m_lurking 2013-01-27T12:12:23 -!- jef79m_lurking is now known as jef79m 2013-01-27T12:48:34 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-27T12:51:23 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has left ##stm32 ["Konversation terminated!"] 2013-01-27T13:07:13 -!- jef79m is now known as jef79m_lurking 2013-01-27T13:37:31 -!- _BJFreeman [~bjfree@146.sub-75-196-71.myvzw.com] has quit [Quit: had a good time] 2013-01-27T13:37:41 -!- jef79m_lurking is now known as jef79m 2013-01-27T13:38:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-27T13:38:20 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-27T13:38:20 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-27T13:38:24 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-27T13:45:45 < dongs> nice new mpu6k driver @ invensense site 2013-01-27T13:45:57 < dongs> embedded motion driver 2013-01-27T13:45:58 < dongs> much less bloated than motionapps shit 2013-01-27T13:46:06 < zyp> yeah, they spammed me about it the other day 2013-01-27T13:46:27 < dongs> ah, i was just deleting their fuckign mail recently 2013-01-27T13:46:31 < dongs> so i didnt know until someoen retweeted 2013-01-27T13:47:38 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has joined ##stm32 2013-01-27T13:48:16 -!- jef79m is now known as jef79m_lurking 2013-01-27T13:50:28 -!- jef79m_lurking is now known as jef79m 2013-01-27T13:55:10 < dongs> http://bcas.tv/paste/results/9rN9m376.html 2013-01-27T13:55:10 < dongs> haha 2013-01-27T13:58:15 < zyp> wat 2013-01-27T13:58:19 < zyp> :p 2013-01-27T14:24:18 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-27T14:27:41 < dongs> https://youtube.com/watch?v=ElAmA1TvLro 2013-01-27T14:34:19 -!- mabl00 [~mabl@p4FE38584.dip0.t-ipconnect.de] has joined ##stm32 2013-01-27T14:47:30 < mabl00> Hi let's assume i want to use an ADC with SPI interface behind a digital isolator, which introduces a dalay on the data lines, say several us - than I have an upper limit on my SPI clock, right? 2013-01-27T14:48:21 < mabl00> I could loop the clock signal back through the isolation, so that data and clock have a fixed relation - but the STM32 won't support that, right? 2013-01-27T14:48:55 < mabl00> i will have to use my own Clock generator and the stm32 in slave mode, correct? 2013-01-27T14:49:05 < dongs> uh.. "us"? 2013-01-27T14:49:11 < dongs> how slow is this "isolator" 2013-01-27T14:49:29 -!- jef79m is now known as jef79m_lurking 2013-01-27T14:52:54 < qyx_> mabl00: adum1301crwz, maximum propagation delay 32ns 2013-01-27T14:53:28 < mabl00> oh, ns should solve all problems i guess ^^ 2013-01-27T14:53:46 < qyx_> i use the "arw" version for rs485 2013-01-27T14:53:55 < qyx_> crw is just faster 2013-01-27T14:54:19 -!- Erlkoenig [~erlkoenig@pptp-212-201-71-134.pptp.stw-bonn.de] has joined ##stm32 2013-01-27T14:54:21 < mabl00> qyx_: thx for the hint, I guess I saw problems where there where none 2013-01-27T15:23:58 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-27T15:27:42 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 264 seconds] 2013-01-27T15:33:10 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 252 seconds] 2013-01-27T15:34:32 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-27T15:41:08 < Laurenceb_> hmm 2013-01-27T15:41:19 < Laurenceb_> if anyone wants to test some IMU code 2013-01-27T15:41:31 < Laurenceb_> i now have many TB of sparkfun 9dof loag data 2013-01-27T15:48:21 -!- barthess [~barthess@5.100.208.239] has quit [Ping timeout: 245 seconds] 2013-01-27T15:55:56 -!- barthess [~barthess@5.100.219.240] has joined ##stm32 2013-01-27T16:00:28 -!- barthess [~barthess@5.100.219.240] has quit [Client Quit] 2013-01-27T16:00:40 -!- barthess [~barthess@5.100.219.240] has joined ##stm32 2013-01-27T16:20:57 -!- barthess [~barthess@5.100.219.240] has quit [Quit: Leaving.] 2013-01-27T16:52:17 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-27T16:57:19 -!- vpopov [~happylife@149.62.17.217] has joined ##stm32 2013-01-27T16:57:58 -!- barthess [~barthess@5.100.195.183] has joined ##stm32 2013-01-27T16:59:30 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-27T17:00:25 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-27T17:02:53 < dirty_d> hmm, seems weird that theres no USB example with the stm32f3 library 2013-01-27T17:03:16 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-27T17:03:16 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-27T17:03:16 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-27T17:03:19 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-27T17:08:22 < Laurenceb_> dirty_d: the F3discovery code has usb mouse 2013-01-27T17:08:29 < Laurenceb_> but they never finished it :-/ 2013-01-27T17:08:41 < Laurenceb_> i got it up and running - check my github 2013-01-27T17:09:16 < dirty_d> Laurenceb, ok, where is it btw? 2013-01-27T17:09:20 < dirty_d> i didnt see any usb stuff at all 2013-01-27T17:10:44 < Laurenceb_> https://github.com/Laurenceb/STM32F3Discovery/ 2013-01-27T17:11:03 < Laurenceb_> https://github.com/Laurenceb/STM32F3Discovery/tree/master/inc 2013-01-27T17:11:04 < Laurenceb_> there 2013-01-27T17:12:23 < Laurenceb_> https://github.com/Laurenceb/STM32F3Discovery/blob/master/src/main.c#L301 2013-01-27T17:12:31 < Laurenceb_> ^ is how i did the mouse stuff 2013-01-27T17:12:48 < Laurenceb_> on windoze it thinks its a joystick for some reason... 2013-01-27T17:15:10 < dongs> "some reason"... 2013-01-27T17:15:47 < dongs> surprising number of spaces in that code 2013-01-27T17:15:51 < dongs> most of it must not have been written by you 2013-01-27T17:19:11 < dirty_d> cool 2013-01-27T17:19:22 -!- barthess [~barthess@5.100.195.183] has quit [Quit: Leaving.] 2013-01-27T17:22:30 < dirty_d> is it me, or is sub just rediculously complicated in general 2013-01-27T17:22:34 < dirty_d> usb 2013-01-27T17:28:38 < Laurenceb_> http://hackaday.com/2013/01/26/pinoccio-an-ecosystem-for-the-internet-of-things/#comments 2013-01-27T17:28:41 < Laurenceb_> wohhoo 2013-01-27T17:28:47 < Laurenceb_> another pointless board 2013-01-27T17:29:15 < R2COM> hmm tasking... wonder how good that toolset is 2013-01-27T17:29:30 < R2COM> looks like it supports not only stm 2013-01-27T17:29:37 < dongs> R2COM: its trash 2013-01-27T17:29:40 < R2COM> and sort of tied to altium too 2013-01-27T17:29:42 < dongs> Laurenceb_: lol, but it has RGB LED 2013-01-27T17:29:47 < R2COM> why trash 2013-01-27T17:29:59 < dongs> geezus 53k raised 2013-01-27T17:30:07 < dongs> thats it, im taking my itrash monitor stuff on dickstarter 2013-01-27T17:30:31 < dongs> Arduino-compatible - You can use the Arduino software to program Pinoccios, and the code for many existing Arduino projects will work on Pinoccio. 2013-01-27T17:30:34 < dongs> oh 2013-01-27T17:30:37 < dongs> thtasa whyt 2013-01-27T17:30:44 < Laurenceb_> wtf 2013-01-27T17:30:58 < Laurenceb_> i can do this with off the shelf bluetooth modules since forever 2013-01-27T17:31:05 < dongs> http://f.cl.ly/items/412T3O0R0u0J1r1A060w/Screen%20Shot%202013-01-09%20at%202.25.41%20PM.png 2013-01-27T17:31:12 < dongs> but you don't have all T HAT 2013-01-27T17:31:22 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-27T17:31:49 < Laurenceb_> omg leds 2013-01-27T17:32:05 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 252 seconds] 2013-01-27T17:32:35 < dongs> In June 2008, a bill proposing the ban on child pornography possession was submitted to the House of Representatives of Japan where it was brought before the Diet in September, but failed to pass. 2013-01-27T17:33:00 < Laurenceb_> hahaha 2013-01-27T17:33:01 < dongs> just wondering how does shit like that fail to pass. 2013-01-27T17:33:10 < Laurenceb_> shrug 2013-01-27T17:33:20 < Laurenceb_> as long as you arent molesting them i dont care 2013-01-27T17:33:29 < Laurenceb_> but its still funny 2013-01-27T17:33:40 < dongs> $100 for pinoccoi what the fucking hell 2013-01-27T17:33:43 < dongs> are peopel dumb 2013-01-27T17:33:57 < dongs> i think STM32WF or wahtever would be like $10-15 for entier board 2013-01-27T17:33:59 < dongs> and be infinitely more useful 2013-01-27T17:34:04 < dongs> whatever that wireless STM32 shit is 2013-01-27T17:34:20 < R2COM> i guess keil has setup for it too 2013-01-27T17:34:23 < dongs> it even has a temperature sensor!!111 2013-01-27T17:34:28 < dongs> R2COM: setup for what 2013-01-27T17:34:35 < R2COM> that W series chip 2013-01-27T17:34:39 < dongs> oh 2013-01-27T17:34:41 < dongs> well sure 2013-01-27T17:34:48 < dongs> last i checked though all the wireless part was NDA 2013-01-27T17:35:12 < Laurenceb_> yeah 2013-01-27T17:35:16 < Laurenceb_> sukzors 2013-01-27T17:35:48 < dongs> STM32W108 standard library firmware 1.0.1 2198KB STM32W108 ZigBee RF4CE firmware 2.0.1 89364KB STM32W108 SimpleMAC firmware 2.0.1 18201KB 2013-01-27T17:36:27 < dongs> has datasheet, but no refernce manual? 2013-01-27T17:36:38 < Laurenceb_> butttt 2013-01-27T17:36:47 < Laurenceb_> if it has libraries, who cares? 2013-01-27T17:37:04 < Laurenceb_> oh is it prebuilt firmware only? 2013-01-27T17:38:10 < dongs> lets see if that retarded shit is out yet 2013-01-27T17:38:11 < dongs> galago 2013-01-27T17:38:17 < Laurenceb_> dongs: so baird will be moving in with you shortly then? 2013-01-27T17:38:23 < dongs> Laurenceb_: seems so 2013-01-27T17:39:30 < dongs> . Unfortunately, no part of the project's schedule has suffered as badly as that of the development tool (the "IDE"), which is the last major component that needs our attention. The IDE is a huge project in itself and I will dedicate an entire Kickstarter update to explaining what we've built and to showing it off. 2013-01-27T17:39:36 < dongs> ha ha ha 2013-01-27T17:39:40 < dongs> "oops, we made hardware, but we didn't actaully do the software part" 2013-01-27T17:40:06 < emeb_mac> surprise! software is hard! 2013-01-27T17:40:07 < dongs> http://outbreak.co/static/download/perma-ksupdate11-galago-angle.jpg wut, not even enig? 2013-01-27T17:42:56 < Laurenceb_> holy shit 2013-01-27T17:43:06 < Laurenceb_> stm32w firmware is huge 2013-01-27T17:43:18 < emeb_mac> how huge? 2013-01-27T17:43:21 < dongs> yeah like 20megs. i wonder whats in it 2013-01-27T17:43:28 < dongs> there was some screneshits in the release notes 2013-01-27T17:43:35 < dongs> looks liek a bunch of shit clusterfucked together Laurenceb_-style 2013-01-27T17:43:48 < Laurenceb_> the stdperiph lib is just other peripherals 2013-01-27T17:43:50 < Laurenceb_> lolz 2013-01-27T17:43:57 < emeb_mac> meh 2013-01-27T17:44:10 < emeb_mac> stdperiph for F3 is like 40MB 2013-01-27T17:44:15 < emeb_mac> zipped 2013-01-27T17:44:34 < dongs> http://www.kickstarter.com/projects/652195222/transparent-speaker-1?ref=category 2013-01-27T17:44:34 < dongs> aww 2013-01-27T17:44:41 < dongs> ending in 70 minutes 2013-01-27T17:44:44 < dongs> fucking fail. 2013-01-27T17:45:27 < emeb_mac> ugly 2013-01-27T17:45:34 < dongs> http://www.kickstarter.com/projects/872297630/gamestick-the-most-portable-tv-games-console-ever haha android stick + shitty gamepad 2013-01-27T17:46:02 < dongs> Using Android as the underlying operating system gives us access to all the innovation and content within the mobile, tablet and now PC world. 2013-01-27T17:46:13 < dongs> At the last count, (we're still counting), there were 700,000 Android games in the Android ecosystem. 2013-01-27T17:46:26 < dongs> I think about 600,000 of those are "toss the paper" and "fart" 2013-01-27T17:46:35 < dongs> the rest are some variations of angry birds 2013-01-27T17:46:52 < Laurenceb_> holy shit 2013-01-27T17:47:02 < Laurenceb_> they do have a 802.15.4 library 2013-01-27T17:47:13 < dongs> http://www.kickstarter.com/projects/ipen/ipen-2-for-ipad-imac-and-more these scammers wanted $360k??? for a fucking pen? what the fuck 2013-01-27T17:47:20 < Laurenceb_> * @version V2.0.1 2013-01-27T17:47:21 < Laurenceb_> * @date 30-November-2012 2013-01-27T17:47:24 < Laurenceb_> quite new 2013-01-27T17:47:44 < Laurenceb_> lol its a giant binary 2013-01-27T17:47:47 < dongs> https://s3.amazonaws.com/ksr/assets/000/345/841/fe607a98d59ba8f6b3f73ba28bdf70a3_large.png?1358612380 2013-01-27T17:47:52 < Laurenceb_> but it has headers so *shrug* 2013-01-27T17:48:18 < dongs> glad these guys arent gonna make it 2013-01-27T17:48:19 < dongs> fucking scam 2013-01-27T17:48:51 < dongs> http://www.kickstarter.com/projects/1682938109/robo-3d-printer oh no more useless shite 2013-01-27T17:49:06 < Laurenceb_> stop trolling the channel 2013-01-27T17:49:37 < dongs> https://s3.amazonaws.com/ksr/assets/000/295/289/78664bd7b47675c03b28f118c47315d5_large.JPG?1354823232 2013-01-27T17:49:41 < dongs> sign me up 2013-01-27T17:50:03 < emeb_mac> bleh 2013-01-27T17:51:09 < emeb_mac> AFAICT 3-d printing is an expensive way to make crap dust-catchers. 2013-01-27T17:51:52 < emeb_mac> resolution is generally too low to make stuff that looks good 2013-01-27T17:52:15 < emeb_mac> materials are limited so most of it isn't particularly useful. 2013-01-27T17:52:57 < Laurenceb_> nice 2013-01-27T17:53:05 < Laurenceb_> simpleMAC has packet trace 2013-01-27T17:53:20 < Laurenceb_> might be able to do time of flight location 2013-01-27T17:54:07 < dongs> http://vimeo.com/56659790# aww yea 2013-01-27T17:56:15 < Laurenceb_> haha theres an 802.15.4 bootloader 2013-01-27T17:57:09 < Laurenceb_> " * @brief Solar system program body * It supports sun and planet roles. * Sun role allows user to form a network. " 2013-01-27T17:59:49 < Laurenceb_> they have zigbee too.. i dont get this 2013-01-27T17:59:56 < Laurenceb_> thought there was a license fee? 2013-01-27T18:00:23 < emeb_mac> maybe its included in the cost of the chips 2013-01-27T18:00:25 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-27T18:00:44 < Laurenceb_> must be 2013-01-27T18:00:57 < Laurenceb_> yet its done in firmware with their huge binary 2013-01-27T18:01:20 < Laurenceb_> i have to get a stm32w now :P 2013-01-27T18:03:43 < Laurenceb_> http://uk.farnell.com/stmicroelectronics/stm32w108cbu64tr/mcu-rf-32bit-128k-flash-48vfqfpn/dp/1892383 2013-01-27T18:03:43 < emeb_mac> better get 2 2013-01-27T18:03:48 < Laurenceb_> nice, not bad price 2013-01-27T18:03:49 < Laurenceb_> heh 2013-01-27T18:04:00 < Laurenceb_> well i could try talking to a zigbee module 2013-01-27T18:05:19 < dongs> is there a stm32w discovery? 2013-01-27T18:05:23 < Laurenceb_> no 2013-01-27T18:05:28 < Laurenceb_> but theres an eval kit 2013-01-27T18:05:34 < Laurenceb_> with usb dongle 2013-01-27T18:05:44 < Laurenceb_> also ST zigbee modules use stm32w 2013-01-27T18:06:44 < emeb_mac> $350 for the eval kit @ DK 2013-01-27T18:06:44 < Laurenceb_> pity the range isnt good enough for uav 2013-01-27T18:07:11 < Laurenceb_> http://uk.farnell.com/stmicroelectronics/stm32wc-rfckit/kit-rf-control-stm32w/dp/2215468 2013-01-27T18:07:52 -!- barthess [~barthess@178.154.43.69] has joined ##stm32 2013-01-27T18:09:38 < Laurenceb_> having said that.. i bet 24mhz is fast enough for a simple quadcopter 2013-01-27T18:09:56 < Laurenceb_> with mpu6050/whatever itd be good for a micro quad 2013-01-27T18:10:39 < alexn> uav 2013-01-27T18:10:41 < alexn> ? 2013-01-27T18:11:32 < alexn> Laurenceb_ what is uav? 2013-01-27T18:12:34 < Erlkoenig> wat 24MHz where where???? 2013-01-27T18:13:22 < dongs> http://www.kickstarter.com/projects/2077260917/harvestgeek-brains-for-your-garden bzzzzzzzzzzzzzzt. FAIL. 2013-01-27T18:13:31 < dongs> https://s3.amazonaws.com/ksr/assets/000/344/795/cd135b1528f56747238629e18d0fc3b0_large.png?1358536812 < CLOUD, LOL 2013-01-27T18:14:03 < alexn> we designed a stm32f4 board with wlan modul. 2013-01-27T18:14:57 < emeb_mac> dongs: onoes - my cloud is raining 2013-01-27T18:15:03 < dongs> attn emeb_mac http://www.kickstarter.com/projects/2006771911/the-arduino-dsp-shield 2013-01-27T18:15:50 < emeb_mac> dongs: what a piece of shit 2013-01-27T18:15:51 < Laurenceb_> The STM32W108 integrates a true PHY-level PTI for effective network-level debugging. It 2013-01-27T18:15:51 < Laurenceb_> monitors all the PHY Tx and Rx packets between the MAC and baseband modules without 2013-01-27T18:15:51 < Laurenceb_> affecting their normal operation 2013-01-27T18:15:55 < Laurenceb_> this is hotness 2013-01-27T18:16:52 < Laurenceb_> zigbee haxor scanner :P 2013-01-27T18:17:45 < emeb_mac> promiscuous mode - yee haw 2013-01-27T18:19:27 < Laurenceb_> but i still cant see a schematic of the RF matching 2013-01-27T18:20:06 < dongs> scanbox 2.0 http://www.kickstarter.com/projects/1908696970/scandock-the-post-pc-scanner 2013-01-27T18:20:56 < Laurenceb_> aha theres rfkit schematics 2013-01-27T18:25:12 < dongs> http://www.kickstarter.com/projects/619878070/nanolight-the-worlds-most-energy-efficient-lightbu 2013-01-27T18:25:16 < dongs> man 2013-01-27T18:25:18 < dongs> yeaaaa 2013-01-27T18:25:20 < dongs> i gotta get on this shit before its illegla. 2013-01-27T18:26:54 < Laurenceb_> hmm you might get 2Km range with stm32w 2013-01-27T18:27:05 < Laurenceb_> and a half decent mini yagi at one end 2013-01-27T18:27:44 < Laurenceb_> tempting for a micro quad 2013-01-27T18:27:48 < Laurenceb_> bbl 2013-01-27T18:27:56 < Laurenceb_> http://www.afar.net/rf-link-budget-calculator/ 2013-01-27T18:33:13 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-27T18:35:03 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-27T18:38:10 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-27T18:40:03 <+dekar> that led bulb is ugly and pretty expensive 2013-01-27T18:42:42 < dongs> http://www.kickstarter.com/projects/finalelement/final-element-the-video-game when I was looking at the thumbnail image, the title looked like "anal element" :( me disappoint 2013-01-27T18:44:56 < dongs> http://www.kickstarter.com/projects/749023221/joseph-and-yusra-the-comic looks like material for Laurenceb_ 2013-01-27T18:47:08 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-27T18:56:56 < dirty_d> any of you using gcc 4.8? 2013-01-27T19:02:49 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-27T19:23:37 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-27T19:31:47 -!- _BJFreeman [~bjfree@152.sub-75-244-146.myvzw.com] has joined ##stm32 2013-01-27T19:32:59 -!- _BJFreeman is now known as BJFreeman 2013-01-27T19:37:26 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-27T19:41:42 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-27T19:57:17 -!- vpopov [~happylife@149.62.17.217] has quit [Ping timeout: 252 seconds] 2013-01-27T19:57:31 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-27T19:59:24 < jpa-> dirty_d: i did, it messed up my code :) 2013-01-27T20:07:17 < dirty_d> jpa-, the latest snapshot? 2013-01-27T20:07:31 < dirty_d> i think i do remember it saying there were some bugs 2013-01-27T20:16:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-27T20:16:50 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-27T20:16:50 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-27T20:16:53 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-27T20:17:20 -!- BJFreeman [~bjfree@152.sub-75-244-146.myvzw.com] has quit [Ping timeout: 255 seconds] 2013-01-27T20:19:49 -!- _BJFreeman [~bjfree@152.sub-75-244-146.myvzw.com] has joined ##stm32 2013-01-27T20:22:44 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-27T20:33:14 < jpa-> dirty_d: nah, it was 6 months ago 2013-01-27T20:34:32 < zyp> any reason you want to use 4.8? 2013-01-27T20:35:00 < emeb> new hotness! 2013-01-27T20:35:17 < jpa-> it did reduce the code size somewhat :P 2013-01-27T20:35:18 < emeb> everything < 4.8 is old-n-busted 2013-01-27T20:35:32 < zyp> you mean stable? :) 2013-01-27T20:35:45 < emeb> yeah - stable = old-n-busted. 2013-01-27T20:35:57 < emeb> compiling should be an adventure! 2013-01-27T20:36:27 < jpa-> if your compiler is too stable, you can't blame it for your bugs! 2013-01-27T20:37:00 < emeb> that's a feature 2013-01-27T20:38:50 < zyp> ah, that explains why Laurenceb_ are putting so much effort into using a buggy compiler 2013-01-27T20:40:23 < jpa-> for him, the killer feature is that it uses less space 2013-01-27T20:40:52 < zyp> yeah, I've heard he hates spaces 2013-01-27T20:43:13 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 246 seconds] 2013-01-27T20:48:08 -!- vpopov [~happylife@149.62.17.217] has joined ##stm32 2013-01-27T20:48:52 <+Steffanx> Always bulling that guy :( 2013-01-27T20:49:13 <+Steffanx> *bullying even 2013-01-27T20:50:45 < zyp> yeah, you should be ashamed of yourself 2013-01-27T20:51:01 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-01-27T20:53:13 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-27T20:53:13 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-27T20:53:13 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-27T20:53:14 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-27T20:54:12 <+Steffanx> Me? Ashamed? I didn't bully him this time 2013-01-27T20:55:50 -!- _BJFreeman [~bjfree@152.sub-75-244-146.myvzw.com] has quit [Quit: had a good time] 2013-01-27T20:59:03 < dirty_d> hrrm, how could i make this work for non-fixed size usb descriptors? http://ideone.com/YbBiub 2013-01-27T20:59:18 < dirty_d> probably have to use template foo 2013-01-27T20:59:44 < jpa-> you could use variadic templates if you are crazy :) 2013-01-27T20:59:44 < zyp> :p 2013-01-27T20:59:46 <+Steffanx> Steal zyp's fancy stuff 2013-01-27T20:59:48 < zyp> http://cgit.jvnv.net/laks/tree/usb/descriptor.h 2013-01-27T21:00:08 <+Steffanx> zyp agrees :) 2013-01-27T21:00:09 < jpa-> look whos using variadic templates! 2013-01-27T21:00:21 < jpa-> and yes it looks crazy 2013-01-27T21:00:30 <+Steffanx> So do you 2013-01-27T21:00:40 < jpa-> thanks 2013-01-27T21:00:46 < jpa-> it's still better than stupid 2013-01-27T21:00:49 < zyp> http://cgit.jvnv.net/laks_demo/tree/main.cpp?h=usb_cdc_acm <- it looks nice in use :p 2013-01-27T21:01:26 <+Steffanx> jpa- weird that you don't even mention the fact i've never seen you. 2013-01-27T21:01:54 < dirty_d> zyp, hrrm, does this cpu allow unaligned access? 2013-01-27T21:02:03 < zyp> of course 2013-01-27T21:02:15 < zyp> doesn't matter 2013-01-27T21:02:18 < dirty_d> right 2013-01-27T21:02:20 < dirty_d> since constexpr 2013-01-27T21:02:26 < dirty_d> neato 2013-01-27T21:02:27 < zyp> exactly 2013-01-27T21:02:56 < zyp> it's casted to a buffer before reading anyway 2013-01-27T21:03:00 < jpa-> Steffanx: surely you have googled 2013-01-27T21:03:11 <+Steffanx> You have fancy pictures on google? 2013-01-27T21:04:10 < jpa-> no :) 2013-01-27T21:09:48 < dirty_d> zyp, this code is neat as hell 2013-01-27T21:10:27 < zyp> am I now supposed to say «of course it is, I wrote it»? :p 2013-01-27T21:10:46 < dirty_d> lol 2013-01-27T21:11:00 <+Steffanx> Yes, zyp 2013-01-27T21:11:05 < zyp> :p 2013-01-27T21:12:20 < zyp> well, it is nice for defining a static tree of descriptors, but I'm not sure I really like the static approach at all 2013-01-27T21:12:50 < dirty_d> zyp, hmm i wonder if the machin compiling the code has to support unaligned access to generate the constexpr result? 2013-01-27T21:13:06 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-27T21:14:15 < zyp> I'm considering another approach where the class drivers dynamically supply their part of the configuration descriptor, that way I don't have to make the descriptors seperately from instancing of drivers 2013-01-27T21:15:02 < zyp> that way I can also do dynamic allocation of endpoints and support different values for different speeds 2013-01-27T21:15:30 <+Steffanx> Sound like a random never ending project :P 2013-01-27T21:15:33 <+Steffanx> *sounds 2013-01-27T21:15:35 < zyp> full speed configurations and high speed configurations are often different 2013-01-27T21:15:59 < zyp> MPS 64 vs MPS 512, and stuff like that 2013-01-27T21:16:14 < zyp> and different units for intervals 2013-01-27T21:18:14 < dirty_d> cool 2013-01-27T21:19:05 < zyp> Steffanx, of course it is, why should it end? :) 2013-01-27T21:19:38 <+Steffanx> Nah, it's more like: never ever useful for anyone but zyp 2013-01-27T21:20:15 < zyp> oh, I don't know that 2013-01-27T21:21:46 < zyp> I find it quite useful already, it's easy to make simple stuff with it as it is now 2013-01-27T21:25:22 < dirty_d> are usb descriptors sent over the wire in little endian format too? or is this just the format in the arm memory? 2013-01-27T21:25:40 < zyp> usb has standardized on little endian, so it's all nice 2013-01-27T21:25:56 < dirty_d> ahh 2013-01-27T21:26:15 < zyp> otherwise I would make wrapper types that swaps the byte order 2013-01-27T21:26:45 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-27T21:27:03 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-27T21:27:19 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-27T21:27:35 < dirty_d> im being very lazy today 2013-01-27T21:28:01 < dirty_d> i wanted to try getting my disco to act as a usb virtual com device 2013-01-27T21:28:07 < dirty_d> i havent done anything though 2013-01-27T21:28:22 < zyp> http://cgit.jvnv.net/laks_demo/tree/main.cpp?h=usb_cdc_acm <- that's what this code does 2013-01-27T21:30:12 < dirty_d> sweet 2013-01-27T21:38:53 < dirty_d> zyp, it should be easy to only make the usb stuff run if i.e. you plug your board into a usb port rather than power it on via battery or something right? 2013-01-27T21:39:35 < dirty_d> like if no host starts communicating right away just turn off all the usb stuff and do whatever the board should do 2013-01-27T21:40:00 < dirty_d> id just use usb for configuration 2013-01-27T21:40:46 < zyp> just hook up vbus somewhere and monitor it 2013-01-27T21:42:33 < dirty_d> whats vbus, i cant find it anywhere in the datasheet or manual 2013-01-27T21:43:11 < zyp> vbus is the 5V supplied by the usb cable 2013-01-27T21:55:17 < Laurenceb_> trolls trolling trollz 2013-01-27T21:55:35 < Laurenceb_> i see trolling in scrollback 2013-01-27T21:55:43 <+Steffanx> No, just the truth 2013-01-27T21:59:35 < jpa-> zyp: how easy do you think it would be to run your USB code under an RTOS (nuttx, to be specific)? do you expect any difficulties, like do short sections of interrupts disabled cause trouble? 2013-01-27T22:00:11 < zyp> I'm currently not using interrupts at all 2013-01-27T22:00:33 < zyp> you would just have to service process() regularly 2013-01-27T22:01:36 < jpa-> any easy way to make the thread sleep when there is no usb activity? (instead of busy looping) 2013-01-27T22:02:01 < emeb> scrollback for the trollback 2013-01-27T22:02:15 < zyp> sure, just enable interrupts and have an interrupt make the thread ready 2013-01-27T22:02:21 < Laurenceb_> http://www.raspberrypi.org/archives/3145 2013-01-27T22:02:22 < jpa-> ok, thanks 2013-01-27T22:02:25 < Laurenceb_> inb4dongs 2013-01-27T22:02:40 < zyp> I'm planning to do that myself, I just need readyness-support in my scheduler first ;) 2013-01-27T22:03:35 < jpa-> your code seems to be the nicest usb driver for the F4 so far.. the others are either ugly, buggy or both 2013-01-27T22:04:00 < zyp> oh, I wouldn't go as far as claiming mine is not buggy :) 2013-01-27T22:04:29 < jpa-> there are varying levels of bugginess :P 2013-01-27T22:05:05 < zyp> http://cgit.jvnv.net/laks/tree/usb/dwc_otg.h#n56 <- I have some nasty hardcoded stuff here that should be solved in a better way 2013-01-27T22:05:26 < jpa-> so far i have only tried the nuttx one, which is on the level of "CDC kind of works, MSC doesn't work at all" 2013-01-27T22:06:11 < zyp> CDC is pretty simple, apart from the descriptors it's just plain bulk 2013-01-27T22:06:24 < jpa-> indeed, that's probably why it works :P 2013-01-27T22:06:30 < zyp> and my MSC is very buggy :p 2013-01-27T22:06:39 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [] 2013-01-27T22:06:49 < zyp> it works when it works, but it doesn't handle error conditions properly 2013-01-27T22:07:01 < Laurenceb_> whats the throughput? 2013-01-27T22:07:30 < zyp> hmm, let's see, didn't I have a screenshot 2013-01-27T22:07:39 < Laurenceb_> yeah, over 900K 2013-01-27T22:07:45 < jpa-> zyp: what license for laks, btw? 2013-01-27T22:07:45 < Laurenceb_> but that wasnt sustained 2013-01-27T22:08:08 < zyp> jpa-, I'm thinking BSD 2013-01-27T22:08:17 < jpa-> good :) 2013-01-27T22:08:17 < zyp> just haven't gotten around to stuffing it into the files 2013-01-27T22:08:46 < Laurenceb_> BSD?! 2013-01-27T22:08:49 < Laurenceb_> inb4dongs 2013-01-27T22:09:31 < zyp> Laurenceb_, as in BSD license 2013-01-27T22:09:53 < jpa-> Butt Sex Dongs? 2013-01-27T22:10:11 < Laurenceb_> i know i know 2013-01-27T22:10:13 < jpa-> but don't worry, Laurenceb_ goes in before the dong 2013-01-27T22:14:52 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-27T22:18:03 < zyp> jpa-, there you go: http://cgit.jvnv.net/laks/commit/?id=5d1833c 2013-01-27T22:18:52 < jpa-> thanks :) 2013-01-27T22:20:01 <+Steffanx> Not even the do the fuck what you want with it-license? 2013-01-27T22:20:41 <+Steffanx> i mean: DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2013-01-27T22:23:19 < dirty_d> bsd liscense is pretty much that, except youre forced to make people let other people who started letting people do what the fuck they want with it and so on 2013-01-27T22:23:38 < zyp> no, BSD is not copyleft 2013-01-27T22:23:39 < dirty_d> that just sounded real confusing when i read it 2013-01-27T22:24:25 < jpa-> bsd license is just "yell my name while you fuck this code" 2013-01-27T22:24:32 < dirty_d> yea right 2013-01-27T22:24:34 <+Steffanx> :D 2013-01-27T22:24:34 < zyp> BSD is more like «do what the fuck you want, as long as you tell people you got it from me… and oh, if it breaks, don't sue me» 2013-01-27T22:24:50 < dirty_d> copyleft is when you have to liscnse the whole project under the same one right? 2013-01-27T22:25:03 < jpa-> strong vs. weak 2013-01-27T22:25:24 < jpa-> weak is just the modifications to original code 2013-01-27T22:25:27 < dirty_d> cant you still get sued in america even if there is a warning like that? 2013-01-27T22:25:43 < jpa-> you can always get sued 2013-01-27T22:25:52 < zyp> I don't really care, I'm not in america :) 2013-01-27T22:26:00 < jpa-> but whether it will stand in court is a different matter 2013-01-27T22:26:21 < dirty_d> right 2013-01-27T22:26:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-27T22:26:58 < dirty_d> ive never put a liscense on anything i wrote 2013-01-27T22:27:12 <+Steffanx> I'll sue you for not doing that 2013-01-27T22:27:14 < jpa-> did you ever write anything that was used by other people? :) 2013-01-27T22:27:22 < dirty_d> but i never really release anything either 2013-01-27T22:27:26 < dirty_d> lol 2013-01-27T22:27:34 < dirty_d> probably 2013-01-27T22:27:38 < dirty_d> although i dont know who 2013-01-27T22:28:36 < dirty_d> why? 2013-01-27T22:28:44 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 255 seconds] 2013-01-27T22:28:55 < Erlkoenig> my law prof said: "here in germany customers are trusted to have a bit of brain, so here it's not neccessary to put 'warning, coffee is hot' and similar labels on products" 2013-01-27T22:28:56 < jpa-> license doesn't matter much if no-one uses the code :P 2013-01-27T22:29:05 < Erlkoenig> yess :D 2013-01-27T22:30:46 < Erlkoenig> GPL is evil... forced freedom is no freedom anymore :D 2013-01-27T22:32:10 < jpa-> it's not forced 2013-01-27T22:32:44 < jpa-> there exists non-free alternatives to most GPLed code 2013-01-27T22:33:03 < zyp> GPL is ok for some stuff, but not really suited for stuff like this 2013-01-27T22:33:37 < Laurenceb_> beerware license 2013-01-27T22:33:38 < Laurenceb_> FTW 2013-01-27T22:33:53 < jpa-> yeah.. it's annoying if a base library limits your license choices 2013-01-27T22:34:02 < Erlkoenig> exactly 2013-01-27T22:34:16 < Laurenceb_> http://en.wikipedia.org/wiki/WTFPL 2013-01-27T22:34:19 < Laurenceb_> i lolled 2013-01-27T22:34:40 < zyp> you're just 14 minutes late 2013-01-27T22:38:57 <+Steffanx> That is 14 minutes on a life time of 90 years? 2013-01-27T22:40:03 < Laurenceb_> or less 2013-01-27T22:40:14 < dirty_d> so wait 2013-01-27T22:40:15 < Laurenceb_> i could just out of the window after getting trolled 2013-01-27T22:40:30 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-27T22:40:32 < dirty_d> if you gert some bsd code, and modify it, you keep the original copyright owners name> 2013-01-27T22:40:42 < dirty_d> or add yours too? 2013-01-27T22:40:50 < Erlkoenig> probably add yours 2013-01-27T22:41:30 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 264 seconds] 2013-01-27T22:42:35 < zyp> yeah 2013-01-27T22:43:00 < dirty_d> why doesnt it specify that? 2013-01-27T22:43:08 < dirty_d> just next to the original name? 2013-01-27T22:43:45 < Erlkoenig> whereever you wish? :D 2013-01-27T22:49:05 -!- Erlkoenig [~erlkoenig@pptp-212-201-71-134.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-27T22:50:01 -!- vpopov [~happylife@149.62.17.217] has quit [Ping timeout: 245 seconds] 2013-01-27T22:50:41 < Laurenceb_> anyone here had issues with the code page stuff on fatfs? 2013-01-27T22:50:51 < Laurenceb_> im trying to remove the font libraries 2013-01-27T22:50:55 < Laurenceb_> but it doesn tlike it 2013-01-27T22:50:55 -!- jef79m_lurking is now known as jef79m 2013-01-27T22:59:04 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-27T23:00:02 < Laurenceb_> nvm fixed it 2013-01-27T23:01:43 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-27T23:02:31 < Laurenceb_> Clawson on avr-freaks is insane 2013-01-27T23:02:39 < Laurenceb_> 60k posts O_o 2013-01-27T23:02:57 < Laurenceb_> ive only ever typed 200k lines on irc 2013-01-27T23:04:03 < emeb> Laurenceb_: what did you do for code page? ISTR that I just turned it all off. 2013-01-27T23:04:32 < Laurenceb_> i used option/ccsbcs.c 2013-01-27T23:04:40 < Laurenceb_> then windows latin1 2013-01-27T23:05:15 < Laurenceb_> to get LFN support 2013-01-27T23:05:59 < Laurenceb_> previously it was using japanese 2013-01-27T23:06:09 < Laurenceb_> i dodnt understand how that works 2013-01-27T23:06:13 < emeb> Right - didn't quite grok why that was default. 2013-01-27T23:06:14 < Laurenceb_> *dont 2013-01-27T23:06:38 < Laurenceb_> yeah id configured LFN in ffconf.h 2013-01-27T23:07:07 < Laurenceb_> i was using long file names in ascii before.. maybe that bypasses the who code page stuff 2013-01-27T23:07:14 < Laurenceb_> *whole 2013-01-27T23:07:32 < Laurenceb_> anyway, latin1 is 40KB smaller 2013-01-27T23:08:07 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-27T23:09:29 < emeb> meh - LFN is overrated. :P 2013-01-27T23:09:42 < Laurenceb_> damn, now i want to make a micro quad with stm32w108 2013-01-27T23:09:44 < emeb> plus, doesn't MS still assert some sort of IP rights on it? 2013-01-27T23:10:08 < Laurenceb_> theres an app note for impedance matching 2013-01-27T23:10:14 < Laurenceb_> yet ms did.. *shrug* 2013-01-27T23:10:21 < Laurenceb_> *yes 2013-01-27T23:11:15 < emeb> wonder how tiny a microcopter you could make with that. Run it all via a little USB dongle. 2013-01-27T23:11:29 < dirty_d> zyp, what do i need to get your python build stuff to work? 2013-01-27T23:12:11 < Laurenceb_> one of those pcb copters with just mpu6050, stm32w, and vreg 2013-01-27T23:12:55 < emeb> tiny lipo, some mosfets for PWM on the motors & done. 2013-01-27T23:12:59 < dirty_d> Laurenceb_, i used mpu6050 on mine 2013-01-27T23:12:59 < Laurenceb_> should be able to get a few hundered m range just with dongles 2013-01-27T23:13:06 < dirty_d> i heard you dont like it or soemthing 2013-01-27T23:13:22 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-01-27T23:13:22 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-01-27T23:13:22 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-27T23:13:27 < Laurenceb_> good enough for a manually flown quad 2013-01-27T23:13:33 < Laurenceb_> for just stabilisation 2013-01-27T23:14:36 -!- barthess [~barthess@178.154.43.69] has quit [Quit: Leaving.] 2013-01-27T23:15:00 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2013-01-27T23:15:10 < Laurenceb_> dirty_d: you made a micro quad? 2013-01-27T23:15:29 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-27T23:16:48 < dirty_d> Laurenceb_, nope, 15lbs 2013-01-27T23:17:04 < Laurenceb_> omfg 2013-01-27T23:17:07 < Laurenceb_> fairdoos 2013-01-27T23:17:08 < dirty_d> lol 2013-01-27T23:17:24 < dirty_d> somewhere around 25 - 30 lbs of thrust 2013-01-27T23:17:30 < dirty_d> i still havent flown the damn thing 2013-01-27T23:17:45 < dirty_d> its a pain to tun it 2013-01-27T23:18:08 < Laurenceb_> http://robotpig.net/robotics-news/15gr-quadcopter-uav-_1572 2013-01-27T23:18:24 < dirty_d> i made a gpio expansion for tuning, but i never made the board to plug into it and tune it, so i recompile and reflash it to tune it 2013-01-27T23:18:25 < Laurenceb_> bet that antenni is piss poor 2013-01-27T23:18:35 < dirty_d> but i only tried a couple times, so its not tuned right 2013-01-27T23:18:52 < Laurenceb_> ok 2013-01-27T23:19:00 < Laurenceb_> they should stick it out off the bottom 2013-01-27T23:19:44 < dirty_d> thats cool 2013-01-27T23:20:06 < Laurenceb_> then the motor mounts will act as a better ground plane, and not as something to screw with the signal 2013-01-27T23:21:46 < Laurenceb_> i think you can go much smaller 2013-01-27T23:22:05 < Laurenceb_> dunno what the limiting factor is... probably the size of motors you can buy 2013-01-27T23:22:49 * Laurenceb_ heads to hobbyking 2013-01-27T23:23:13 < Laurenceb_> "UK warehouse now open." 2013-01-27T23:23:15 < Laurenceb_> omfg 2013-01-27T23:26:26 < dirty_d> hmm, (.text.Reset_Handler+0x2e): undefined reference to `SystemInit' 2013-01-27T23:26:32 < dirty_d> when building with g++ 2013-01-27T23:26:41 < dirty_d> i put extern "C" {} around the function 2013-01-27T23:28:23 < zyp> dirty_d, just scons 2013-01-27T23:29:27 < dirty_d> ok, that worked 2013-01-27T23:32:47 < Laurenceb_> http://www.hobbyking.com/hobbyking/store/__10004__GPS_6_Micro_Brushed_power_system_combo_.html 2013-01-27T23:32:51 < Laurenceb_> its all too big :( 2013-01-27T23:33:08 < dirty_d> zyp, any idea why im getting that idea compiling with g++? 2013-01-27T23:33:41 < dirty_d> im compiling that startup assembly file and the c file and my cpp file 2013-01-27T23:34:12 < zyp> dirty_d, not without seeing your code 2013-01-27T23:35:01 < dirty_d> its not complaining about mine, its complaining about startup_stm32f30x.s and system_stm32f30x.c when linking 2013-01-27T23:35:04 < dirty_d> compiles fine 2013-01-27T23:35:40 < zyp> why are you compiling .c files with g++? 2013-01-27T23:36:21 < dirty_d> because that file is still valid c++ 2013-01-27T23:36:22 < emeb> Laurenceb_: bet those plastic gears are really reliable :P 2013-01-27T23:36:42 < Laurenceb_> http://www.youtube.com/watch?v=pUq9heHzoGo 2013-01-27T23:36:44 < dirty_d> and g++ can compile assembly too right? gcc does 2013-01-27T23:36:48 < Laurenceb_> sheeeettt 2013-01-27T23:36:52 < Laurenceb_> DO WANT 2013-01-27T23:37:09 < zyp> dirty_d, bad reason 2013-01-27T23:37:17 < dirty_d> ill rename it to cpp then, lol 2013-01-27T23:37:24 < zyp> why? 2013-01-27T23:37:36 < zyp> why can't you just compile that file with gcc? 2013-01-27T23:37:48 < dirty_d> oh, that actually worked, wtf 2013-01-27T23:37:59 < dirty_d> because my main.cpp will have cpp code 2013-01-27T23:38:05 < zyp> so what? 2013-01-27T23:38:09 < dirty_d> im just using st's startup code to get going 2013-01-27T23:38:58 < zyp> nothing prevents you from linking objects compiled from C with objects compiled from C++, provided you do it correctly 2013-01-27T23:39:14 < zyp> compiling .c files with g++ is not «doing it correctly» 2013-01-27T23:39:15 < dirty_d> right 2013-01-27T23:39:24 < dirty_d> i just renamed it to .cpp 2013-01-27T23:39:29 < dirty_d> that worked fine 2013-01-27T23:40:02 < zyp> and compiling as .c with gcc didn't? 2013-01-27T23:40:29 < dirty_d> it worked fine also 2013-01-27T23:40:36 < dirty_d> oh 2013-01-27T23:40:41 < dirty_d> i messed up 2013-01-27T23:40:45 < dirty_d> it woulda worked 2013-01-27T23:40:52 < zyp> you invented your own problem. 2013-01-27T23:40:57 < dirty_d> i had *.cpp *.s istead of *.cpp *.c *.s 2013-01-27T23:41:55 < dirty_d> sure did 2013-01-27T23:44:47 <+dekar> zyp, linking .c and .cpp object files doesn't work out of the box, you have to use extern "C" 2013-01-27T23:49:58 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-27T23:50:38 -!- dekar [~dekar@212.255.26.75] has quit [Quit: Leaving] 2013-01-27T23:55:53 -!- mabl00 [~mabl@p4FE38584.dip0.t-ipconnect.de] has quit [Quit: Konversation terminated!] --- Day changed Mon Jan 28 2013 2013-01-28T00:05:40 -!- grummund [~user@unaffiliated/grummund] has quit [Remote host closed the connection] 2013-01-28T00:08:17 < zyp> not true in this case, main() has C linkage by default, so linking a main.cpp with a .c startup code should work fine 2013-01-28T00:11:21 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-01-28T00:16:41 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 245 seconds] 2013-01-28T00:19:09 < dirty_d> wtf, why are the USB registers not defined in stm32f30x.h? 2013-01-28T00:19:14 < dirty_d> and nowhere else in the library 2013-01-28T00:24:16 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-01-28T00:25:32 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-01-28T00:30:01 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 245 seconds] 2013-01-28T00:49:36 < emeb> what's the best way to see how much RAM is allocated? I'm just doing an objdump -x and looking for the .data section now. 2013-01-28T00:49:41 -!- jef79m is now known as jef79m_lurking 2013-01-28T00:56:10 < zyp> objdump -h will show you sizes of .data and .bss 2013-01-28T00:56:55 < Laurenceb_> arm-none-eabi-size ? 2013-01-28T00:57:14 < zyp> objdump -h is more precise if you have weird sections 2013-01-28T00:57:32 < Laurenceb_> i see 2013-01-28T00:59:28 < Laurenceb_> http://dangerousprototypes.com/wp-content/media/2012/04/IMG_20120410_200224.jpg 2013-01-28T00:59:30 < Laurenceb_> wtf 2013-01-28T00:59:40 < Laurenceb_> why an f103 2013-01-28T01:00:33 < Laurenceb_> oh no usb of stm32w :( 2013-01-28T01:06:14 -!- jef79m_lurking is now known as jef79m 2013-01-28T01:12:02 -!- _BJFreeman [~bjfree@255.sub-75-233-3.myvzw.com] has joined ##stm32 2013-01-28T01:12:32 -!- _BJFreeman is now known as BJFreeman 2013-01-28T01:13:09 < emeb> that kinda sux 2013-01-28T01:13:56 < emeb> those little filters are soooo cuuute! 2013-01-28T01:15:15 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-28T01:16:42 < zyp> so kawaii 2013-01-28T01:22:15 < Laurenceb_> im considering a monocopter 2013-01-28T01:22:23 < Laurenceb_> theres 1.7gram servos 2013-01-28T01:22:26 < dirty_d> lol 2013-01-28T01:22:38 < Laurenceb_> so you could have 3 fins and one rotor 2013-01-28T01:22:41 < dirty_d> yea a normal helicopter is better than a multirotor 2013-01-28T01:22:55 < dirty_d> fins? 2013-01-28T01:23:20 < dirty_d> you know you cna buy a real helicopter kit for pretty cheap 2013-01-28T01:23:44 < Laurenceb_> too big 2013-01-28T01:23:51 < dirty_d> what is this for? 2013-01-28T01:24:07 < Laurenceb_> lowest mass practical vtol 2013-01-28T01:24:09 < Laurenceb_> http://www.hobbyking.com/hobbyking/store/__10005__GPS_7_Micro_Brushed_power_system_combo_.html 2013-01-28T01:24:20 < Laurenceb_> that would work nicely 2013-01-28T01:25:11 < dirty_d> you really gonna be able to make it smaller than this? http://www.hobbyking.com/hobbyking/store/__18746__HobbyKing_HK_190_2_4ghz_4Ch_Fixed_Pitch_Helicopter_RTF_Mode_2_.html 2013-01-28T01:25:14 < dirty_d> only 28 grams 2013-01-28T01:26:02 < dirty_d> i dont know why i built a quadcopter 2013-01-28T01:26:11 < dirty_d> i coulda built a regular heli for a lot less 2013-01-28T01:26:15 < dirty_d> and you would fly a lot better 2013-01-28T01:26:56 < Laurenceb_> nice 2013-01-28T01:27:02 < Laurenceb_> but not as fun 2013-01-28T01:27:54 < Laurenceb_> http://www.dizic.com/product_details.php?id=1 2013-01-28T01:27:59 < Laurenceb_> looks good for haxoring 2013-01-28T01:28:37 < dirty_d> i dont think id be able to lift 20 pounds with a heli either 2013-01-28T01:28:42 < dirty_d> at least not a ready made one 2013-01-28T01:29:33 < zyp> Laurenceb_, is there any documentation for stm32w available anywhere yet? 2013-01-28T01:30:12 < Laurenceb_> they have released documented zigbee and low level 802.15.4 drivers 2013-01-28T01:30:17 < Laurenceb_> a few weeks ago 2013-01-28T01:30:29 < Laurenceb_> and theres impedance matching documentation 2013-01-28T01:30:42 < zyp> well, but still no reference manual for the chip 2013-01-28T01:30:44 < Laurenceb_> looks like they want to try and keep the registers secret 2013-01-28T01:30:46 < Laurenceb_> yes 2013-01-28T01:31:00 < Laurenceb_> you could decompile the driver 2013-01-28T01:31:15 < zyp> I'll rather wait for nrf51 or efr4d 2013-01-28T01:32:25 < emeb> Laurenceb_: wonder how much CPU bandwidth is used by the wireless code. 2013-01-28T01:32:28 < dirty_d> vodka in the eye 2013-01-28T01:32:36 < emeb> if there's enough left over for running nav routines. 2013-01-28T01:33:16 < Laurenceb_> apparently it runs ok at 12mhz 2013-01-28T01:33:22 < Laurenceb_> and the cpu will clk up to 24mhz 2013-01-28T01:33:27 < Laurenceb_> but thats still pretty slow 2013-01-28T01:33:52 < Laurenceb_> having said that... ardupilot is 16mhz 2013-01-28T01:33:58 < zyp> and avr 2013-01-28T01:33:59 < zyp> :p 2013-01-28T01:39:28 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-01-28T01:42:23 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has joined ##stm32 2013-01-28T01:48:53 -!- DaKu is now known as daku 2013-01-28T01:51:54 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-28T02:05:04 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Ping timeout: 252 seconds] 2013-01-28T02:11:32 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2013-01-28T02:48:04 -!- _BJFreeman [~bjfree@255.sub-75-233-3.myvzw.com] has joined ##stm32 2013-01-28T02:48:39 -!- BJFreeman [~bjfree@255.sub-75-233-3.myvzw.com] has quit [Ping timeout: 276 seconds] 2013-01-28T02:48:52 -!- _BJFreeman is now known as BJFreeman 2013-01-28T04:07:58 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-28T04:25:48 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Quit: Leaving] 2013-01-28T04:35:49 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-28T04:39:01 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-28T04:49:57 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-28T04:50:29 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-28T05:11:22 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-28T06:06:17 < emeb_mac> not a creature was stirring, not even dongs. 2013-01-28T06:06:54 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 276 seconds] 2013-01-28T06:08:51 -!- mrcan_ is now known as mrcan 2013-01-28T06:13:51 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-28T06:14:00 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-28T06:27:49 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-28T06:36:28 * upgrdman stirs 2013-01-28T06:36:42 < emeb_mac> not shaken 2013-01-28T06:38:28 < upgrdman> i cant wait for my fpga class to get starting 2013-01-28T06:38:30 < upgrdman> started 2013-01-28T06:38:43 < emeb_mac> cool. what's it cover? 2013-01-28T06:38:54 < upgrdman> sadly, its an entry level class... we're not even going to play with board until week 5 or 6 :( 2013-01-28T06:39:01 < emeb_mac> bummer. 2013-01-28T06:39:29 < emeb_mac> you know what kind of fpga? 2013-01-28T06:39:30 < upgrdman> its a "logic design" course... basically a "how computers actually work" course for CS and CE majors 2013-01-28T06:39:50 < upgrdman> nexys2 dev board. spartan something... brb to check 2013-01-28T06:40:07 < emeb_mac> thats a good one. Spartan 3E 2013-01-28T06:40:10 < upgrdman> spartan 3e http://www.digilentinc.com/Products/Detail.cfm?Prod=NEXYS2 2013-01-28T06:40:11 < emeb_mac> I've got one. 2013-01-28T06:40:16 < upgrdman> cool 2013-01-28T06:40:28 < upgrdman> i download the xilinx software... 7GB damn... 2013-01-28T06:40:38 < upgrdman> is vivado the ide? 2013-01-28T06:40:55 < emeb_mac> hmmm... I've never used vivado 2013-01-28T06:41:06 < upgrdman> text editor + cli tools? 2013-01-28T06:41:09 < emeb_mac> I've always used ise 2013-01-28T06:41:27 < emeb_mac> but that may be "old" now... 2013-01-28T06:42:02 < upgrdman> im using linux... their software installer sucks. im trying to find the ise bin now 2013-01-28T06:43:11 < dongs> found your problem 2013-01-28T06:43:11 < dongs> lunix 2013-01-28T06:43:23 < emeb_mac> lol 2013-01-28T06:43:55 < emeb_mac> xilinx tools run on winders too 2013-01-28T06:45:48 < upgrdman> ahhh found the bin .... /14.4/ISE_DS/ISE/bin/lin64/ise .... wtf can't they make this simple 2013-01-28T06:48:08 < dongs> no. 2013-01-28T06:48:20 < upgrdman> im tempted to just use vmware + win7 until i figure out the ins and outs of their software 2013-01-28T06:49:00 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2013-01-28T06:49:08 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-28T06:49:12 < dongs> or just use win7, period 2013-01-28T06:49:14 < emeb_mac> whatevs... xilinx software always ran fine for min in linux. 2013-01-28T06:49:24 < emeb_mac> s/min/me/ 2013-01-28T06:49:28 < dongs> its slow bceause tis crossplatform crap 2013-01-28T06:50:06 < emeb_mac> eh. main problem was that the gui stuff used beaucoup memory. 2013-01-28T06:50:08 < upgrdman> its not slow for me... just shitty installer extracts to a dir and nothing else. no symlinks to the useful bin's or anything 2013-01-28T06:52:27 < emeb_mac> did the installer create the setup scripts? 2013-01-28T06:52:47 < upgrdman> if it did, i dont know where 2013-01-28T06:52:57 < dongs> installers? on lunix? 2013-01-28T06:52:59 < dongs> ha ha ha 2013-01-28T06:53:09 < emeb_mac> xilinx tools have an installer. 2013-01-28T06:53:13 < dongs> there are not single 2 distros that agree on where to put app shortcuts 2013-01-28T06:53:21 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Ping timeout: 245 seconds] 2013-01-28T06:53:27 < dongs> and there are 1000s of them. 2013-01-28T06:53:30 < emeb_mac> doesn't matter. 2013-01-28T06:53:38 < dongs> it does if you want normal people to use your shit 2013-01-28T06:53:49 < emeb_mac> setup script adds the bin dir to the search path. 2013-01-28T06:53:58 < dongs> apaprent,y it doesnt 2013-01-28T06:54:09 < emeb_mac> works for me (TM) 2013-01-28T06:54:11 < dongs> there isnt even a standard way to add shit to path 2013-01-28T06:54:14 < dongs> watcha talkin about bro 2013-01-28T06:54:21 < dongs> whats the lunix-standard way to add stuff to path, tell me 2013-01-28T06:54:24 < emeb_mac> but then I 2013-01-28T06:54:31 < emeb_mac> 'm still using an older version. 2013-01-28T06:54:39 < emeb_mac> no idea what they're doing in 14.x 2013-01-28T06:54:49 < upgrdman> im using 14.4 2013-01-28T06:54:53 -!- jef79m is now known as jef79m_lurking 2013-01-28T06:55:14 < upgrdman> installed it to ~/xilinx, and afaik it just extracted some archives to ~/xilinx and did nothing else 2013-01-28T06:56:28 < emeb_mac> do a search in that dir tree for *.sh - see if you can find the setup scripts 2013-01-28T07:16:55 < dongs> emeb_mac: on the bmp breakout 2013-01-28T07:17:05 < dongs> wheres pin1 of 20pin shit 2013-01-28T07:17:37 < dongs> cause.. it doesnt make sense 2013-01-28T07:17:40 < dongs> you got a little mark thing there 2013-01-28T07:17:41 < dongs> on bottom 2013-01-28T07:17:49 < dongs> but theres no way to do pin1 there. 2013-01-28T07:17:52 < dongs> you didnt flip the pattern? 2013-01-28T07:20:40 < dongs> i think you faled this shit. 2013-01-28T07:21:35 < dongs> loonex-class failure 2013-01-28T07:23:40 < emeb_mac> dongs: pin 1 of both is at the same end as usb conn. 2013-01-28T07:23:51 < emeb_mac> should be a square pad on those 2013-01-28T07:24:18 < dongs> im talking bmpo breakout 0.1 2013-01-28T07:24:21 < emeb_mac> oh wait.. bmp. 2013-01-28T07:24:25 < dongs> ya 2013-01-28T07:24:33 < dongs> it looks like fail to me. 2013-01-28T07:24:38 < dongs> plz cpnfirm. 2013-01-28T07:24:40 < emeb_mac> pin 1 of 20pin has an oval pad 2013-01-28T07:24:44 < dongs> right 2013-01-28T07:24:49 < dongs> but theres no way to get that into 20pin cable 2013-01-28T07:24:51 < emeb_mac> also a little circle in silk 2013-01-28T07:24:56 < emeb_mac> ya 2013-01-28T07:25:04 < dongs> the pattern is flipped 2013-01-28T07:25:07 < emeb_mac> that's supposed to go to a socket, not pins 2013-01-28T07:25:13 < dongs> yes, socket 2013-01-28T07:25:23 < dongs> socket pin1 is top left 2013-01-28T07:25:27 < emeb_mac> zyp: wants it to plug direct into target, not with cable. 2013-01-28T07:25:43 < emeb_mac> works fine that way on my targets. 2013-01-28T07:32:04 -!- BJFreeman [~bjfree@255.sub-75-233-3.myvzw.com] has quit [Quit: had a good time] 2013-01-28T07:32:35 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-28T07:36:56 < emeb_mac> anyway - to confirm: the pattern is intentionally flipped to allow direct plugin w/o cable. 2013-01-28T07:37:11 < emeb_mac> zyp and I have tested it in that mode and it works. 2013-01-28T07:56:59 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-28T08:15:28 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-28T08:20:05 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Remote host closed the connection] 2013-01-28T08:20:35 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-28T08:21:26 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Remote host closed the connection] 2013-01-28T08:24:04 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-28T08:29:15 < emeb_mac> the googles, they do nothing. 2013-01-28T08:32:11 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-01-28T08:49:20 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-28T08:50:08 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-28T08:54:01 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-28T08:57:29 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-28T08:57:48 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-28T08:59:03 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-28T09:31:00 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has quit [Remote host closed the connection] 2013-01-28T09:31:54 -!- LeelooMinai [~leeloo@198-84-185-212.cpe.teksavvy.com] has joined ##stm32 2013-01-28T09:41:03 < zyp> dongs, http://bin.jvnv.net/f/vV9Bt.JPG <- works as intended 2013-01-28T09:41:25 < dongs> um.. 2013-01-28T09:41:34 < dongs> hmm... 2013-01-28T09:50:28 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-28T09:51:54 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-28T10:10:56 -!- trepidaciousMBR_ [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-28T10:13:05 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Ping timeout: 255 seconds] 2013-01-28T10:13:05 -!- trepidaciousMBR_ is now known as trepidaciousMBR 2013-01-28T10:18:42 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-28T10:44:56 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has joined ##stm32 2013-01-28T10:59:30 -!- KennyMcCormic [~Kenny@94.28.255.177] has joined ##stm32 2013-01-28T11:03:00 -!- Laurenceb_ [~Laurence@host86-174-20-223.range86-174.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2013-01-28T11:28:00 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 276 seconds] 2013-01-28T11:40:48 -!- |sark [~|sark@p54B65E27.dip.t-dialin.net] has joined ##stm32 2013-01-28T11:47:21 -!- |sark [~|sark@p54B65E27.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 2013-01-28T11:53:28 < dongs> i wonder if there's VGA to displayport chip 2013-01-28T11:55:47 < zyp> sounds like something with very limited usefulness 2013-01-28T11:59:03 < zyp> found some marketing pdf from st that states they will make one, but I can't see it on the site 2013-01-28T11:59:42 < dongs> ST has a HDMI>DP chip 2013-01-28T11:59:47 < dongs> thats in "preview" state. 2013-01-28T12:00:23 < dongs> http://www.st.com/internet/imag_video/product/253784.jsp 2013-01-28T12:01:30 < Thorn> control of mobile robots class started on coursera fyi. 2013-01-28T12:01:33 < zyp> http://www.st.com/internet/imag_video/product/252160.jsp <- they also have this multi-input DP/HDMI/VGA to LVDS/DP stuff 2013-01-28T12:01:52 < Thorn> http://i.imgur.com/LMywwXv.png 2013-01-28T12:02:37 < dongs> ooO 2013-01-28T12:03:29 < dongs> looks pretty cool 2013-01-28T12:03:45 < dongs> 0.8mm pitch bga 2013-01-28T12:04:04 < zyp> ddr2/ddr3 interface 2013-01-28T12:04:06 < zyp> sounds fun :p 2013-01-28T12:04:21 < dongs> zyp: if im reading that correctly, this shit can take DP/HDMI in, and output via eDP 2013-01-28T12:04:22 -!- |sark [~|sark@p54B653FD.dip.t-dialin.net] has joined ##stm32 2013-01-28T12:04:33 < dongs> + scale + add stuff + etc 2013-01-28T12:04:34 < zyp> yeah, that's what I'm also reading 2013-01-28T12:05:06 < dongs> 521-fuckin-balls 2013-01-28T12:05:53 < zyp> even supports MyDP, so you can hook it to your phone 2013-01-28T12:06:21 < zyp> no idea why you would want to, but you can. :p 2013-01-28T12:06:48 -!- evil_dan2wik [~evil_dan2@unaffiliated/evil-dan2wik/x-0106201] has quit [Ping timeout: 264 seconds] 2013-01-28T12:06:48 < scrts> anyone doing freelance jobs? :) 2013-01-28T12:06:59 < dongs> how much are you paying 2013-01-28T12:07:19 < dongs> zyp, MyDP = MHL shit? 2013-01-28T12:07:46 < zyp> sort of, MyDP is the displayport-equivalent of MHL 2013-01-28T12:07:58 -!- evil_dan2wik [~evil_dan2@208.115.236.184] has joined ##stm32 2013-01-28T12:08:04 < scrts> dongs -> just interested where to search/post jobs? freelancer.com and elance.com are already known 2013-01-28T12:08:22 -!- evil_dan2wik is now known as Guest16721 2013-01-28T12:08:31 < zyp> MHL is single-lane TMDS, MyDP is single lane DP 2013-01-28T12:08:49 < zyp> so same form factor, but not compatible 2013-01-28T12:08:56 < dongs> retarded fucking standards 2013-01-28T12:09:09 < dongs> freelancer.com keeps spamming me with some garbage 2013-01-28T12:12:03 < zyp> hmm, this chip looks like a typical soc for a monitor with all sorts of inputs and OSD and shit 2013-01-28T12:12:20 < zyp> also contains some mcu core 2013-01-28T12:12:22 < zyp> Integrated 150 MHz x186-turbo microprocessor with rich function library 2013-01-28T12:12:29 < zyp> whatever that is 2013-01-28T12:12:56 < dongs> yeah, thats what I thought. 2013-01-28T12:13:04 < dongs> you could do picture in picture between 2 sources and shit. 2013-01-28T12:13:12 < dongs> and overlay dongs 2013-01-28T12:16:09 -!- Guest16721 [~evil_dan2@208.115.236.184] has quit [Ping timeout: 252 seconds] 2013-01-28T12:21:56 -!- evil_dan2wik_ [~evil_dan2@208.115.236.184] has joined ##stm32 2013-01-28T12:22:12 -!- evil_dan2wik_ is now known as Guest35308 2013-01-28T12:30:35 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has joined ##stm32 2013-01-28T12:42:25 -!- jef79m_lurking is now known as jef79m 2013-01-28T13:12:21 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-28T13:12:22 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-28T13:12:22 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-28T13:12:25 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-28T13:13:40 -!- KennyMcCormic [~Kenny@94.28.255.177] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-28T13:21:03 -!- Guest35308 [~evil_dan2@208.115.236.184] has quit [Ping timeout: 252 seconds] 2013-01-28T13:23:08 -!- evil_dan2wik [~evil_dan2@208.115.236.184] has joined ##stm32 2013-01-28T13:23:32 -!- evil_dan2wik is now known as Guest65555 2013-01-28T13:33:32 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-28T13:35:51 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-01-28T13:42:20 < mervaka> sup 2013-01-28T13:42:42 < mervaka> quite happy to see the compiler throwing VMLA.F32 into the assembly output :) 2013-01-28T13:43:23 <+Steffanx> :) 2013-01-28T13:46:47 < dongs> about time gcc started to support that in 2013 2013-01-28T13:46:56 < dongs> shit's bene around since like 2009 2013-01-28T13:49:29 <+Steffanx> mervaka which version of gcc? :) 2013-01-28T13:49:37 -!- jef79m is now known as jef79m_lurking 2013-01-28T13:58:01 -!- |sark [~|sark@p54B653FD.dip.t-dialin.net] has quit [Ping timeout: 244 seconds] 2013-01-28T14:11:19 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-28T14:13:03 -!- _BJFreeman [~bjfree@114.sub-75-244-150.myvzw.com] has joined ##stm32 2013-01-28T14:13:27 -!- _BJFreeman is now known as BJFreeman 2013-01-28T14:25:12 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-28T14:33:09 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-28T14:39:06 < mervaka> Steffanx: not gcc :p 2013-01-28T14:39:10 < mervaka> MDK 2013-01-28T14:39:24 < mervaka> free version, limited to 32k 2013-01-28T14:39:58 < mervaka> however, i've found another optimisation tickbox that does a second scan and halves the output size :) 2013-01-28T14:40:09 < mervaka> down to about 11k atm 2013-01-28T14:40:20 < mervaka> with stdperiph libraries 2013-01-28T14:40:47 < mervaka> i presume it dumps the unused functions and procedures, which there are a lot of! 2013-01-28T14:40:55 < mervaka> takes a while to compile though. 2013-01-28T14:43:50 <+Steffanx> Hahaha, dongs 2013-01-28T14:44:59 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-28T14:46:35 < dongs> armcc supporting proper shit is hardly newws 2013-01-28T14:46:42 < dongs> mervaka: yeah that's what GCC calls "LTO" 2013-01-28T14:46:46 < dongs> except they still cant get it working 2013-01-28T14:46:54 < dongs> mervaka: check 'Use MicroLib' too. 2013-01-28T14:47:14 <+Steffanx> I wonder if gcc does it too 2013-01-28T14:49:02 < mervaka> dongs: have done both. massive savings! 2013-01-28T14:49:12 < mervaka> :) 2013-01-28T14:49:26 < mervaka> trying out different IIR realisations at the moment 2013-01-28T14:49:38 < mervaka> Direct II transposed seems the dogs bollocks. 2013-01-28T14:49:41 < mervaka> :D 2013-01-28T14:51:32 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-01-28T14:52:08 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-28T15:01:42 -!- kerwood_wk [80f42605@gateway/web/freenode/ip.128.244.38.5] has joined ##stm32 2013-01-28T15:17:57 -!- Erlkoenig [~erlkoenig@pptp-212-201-72-21.pptp.stw-bonn.de] has joined ##stm32 2013-01-28T15:19:24 < Laurenceb> http://www.networkworld.com/community/blog/press-bloggers-fall-iphone-cup-holder-%E2%80%98joke%E2%80%99 2013-01-28T15:20:06 <+Steffanx> Not even worth reading :P 2013-01-28T15:20:43 < Laurenceb> http://www.indiegogo.com/uppercup 2013-01-28T15:20:48 < Laurenceb> quick fund it 2013-01-28T15:28:36 < Laurenceb> http://www.youtube.com/watch?v=4XOzpjuPGlE&feature=player_detailpage#t=97s 2013-01-28T15:28:41 < Laurenceb> wtf @ foil 2013-01-28T15:31:50 <+Steffanx> Dear Laurenceb, How much time you waste daily on 4chan, youtube and crap like that? Regards, Me 2013-01-28T15:32:10 < Laurenceb> http://www.youtube.com/watch?v=dRFEHKfRchM 2013-01-28T15:32:14 < Laurenceb> thats what i was looking for 2013-01-28T15:34:59 <+Steffanx> That video is @#$% 6 years old Laurenceb .. 2013-01-28T15:38:15 < dongs> < Laurenceb> wtf @ foil 2013-01-28T15:38:19 < dongs> read that as wtf @ loli 2013-01-28T15:40:14 <+Steffanx> You have dyslexia dongs 2013-01-28T15:52:10 < karlp> hrmm, "core is held in reset" 2013-01-28T15:52:23 < karlp> I guess I've got solder short keeping nrst low then or something 2013-01-28T16:03:29 < dongs> hmm,, i wonder what USART_CLK does when its in smartcard mode and I have to double baudrate after atr 2013-01-28T16:05:45 -!- BJFreeman [~bjfree@114.sub-75-244-150.myvzw.com] has quit [Ping timeout: 260 seconds] 2013-01-28T16:06:44 < dongs> whats this new eurotrash rohs2 2013-01-28T16:07:46 <+Steffanx> There is some new eurotrash? 2013-01-28T16:07:50 <+Steffanx> Oh, stupid question 2013-01-28T16:07:58 <+Steffanx> the EU is full of that 2013-01-28T16:09:08 < dongs> http://www.element14.com/community/servlet/JiveServlet/downloadBody/51531-102-1-264364/RoHS2%20Compliance%20eBook%20Jan%202013.pdf 2013-01-28T16:09:23 < dongs> soon it will be illegla to make anything electronic in EU 2013-01-28T16:09:57 < karlp> huh, no, weird, stlink boxed version works, stlink on my disco board is just saying "core is held in reset" all the time :| 2013-01-28T16:10:28 < dongs> karlp: did you remove jumpers off F4 board 2013-01-28T16:10:33 < dongs> (obvious dumb quesiton) 2013-01-28T16:10:58 < karlp> yeah, same setup form friday's stopped working :| 2013-01-28T16:11:24 < zyp> did you remove vdd jumper? 2013-01-28T16:11:41 < zyp> if so, reset on discovery board will pull low 2013-01-28T16:14:17 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-28T16:14:26 < karlp> zyp: yep, that was it. 2013-01-28T16:14:34 < karlp> must have been doing something else friday afternoon 2013-01-28T16:14:51 < karlp> oh yeah, I stole the jumper from the discovery to put it on my own board. 2013-01-28T16:15:17 < dongs> teehee 2013-01-28T16:15:18 < karlp> well, that was unexepected, I thought just taking off the disco/stlink jumpers would have been enough 2013-01-28T16:15:35 < karlp> by vdd jumper, I mean the idd measure jumper. 2013-01-28T16:15:36 <+Steffanx> lol 2013-01-28T16:15:43 < karlp> I presume that's what you meant. 2013-01-28T16:17:31 < karlp> bleh, official st link utility doesnt' know what revision this L1 chip is. 2013-01-28T16:18:07 < mervaka> st link made me sad last night. need the pro version to do performance analysis :( 2013-01-28T16:18:33 < mervaka> or the simulator 2013-01-28T16:18:39 < mervaka> and i can't get that to work. 2013-01-28T16:19:00 < dongs> huh 2013-01-28T16:19:01 < dongs> pro version fo wat 2013-01-28T16:19:39 < mervaka> performance analyser 2013-01-28T16:19:49 < mervaka> but simulation can also do that, i remember 2013-01-28T16:20:00 < mervaka> i just havent set it up, nor can i figure out how to 2013-01-28T16:22:17 < karlp> how is that related to stlink? 2013-01-28T16:22:30 <+Steffanx> Get the less legal version mervaka :P 2013-01-28T16:22:49 < mervaka> i thought it was a piece of hardware? 2013-01-28T16:23:07 <+Steffanx> You are limited by the hw? 2013-01-28T16:23:07 < mervaka> as in, not the onboard debugger 2013-01-28T16:23:21 < mervaka> disco board has stlink2 2013-01-28T16:23:21 < dongs> its same 2013-01-28T16:23:24 < mervaka> it is? 2013-01-28T16:23:26 < dongs> yes.. 2013-01-28T16:23:39 < dongs> "legit" stlink is like.. $29 or something? 2013-01-28T16:23:41 < dongs> $25-ish 2013-01-28T16:23:47 < dongs> but its exactly same shit as on f4dissco 2013-01-28T16:23:50 < mervaka> i thought there were extra signals? 2013-01-28T16:23:56 < dongs> no 2013-01-28T16:23:58 < mervaka> hm 2013-01-28T16:24:01 < dongs> are you talking about ETM? 2013-01-28T16:24:04 < mervaka> yeah 2013-01-28T16:24:12 < zyp> I think it has full jtag support 2013-01-28T16:24:18 < zyp> which discovery boards doesn't 2013-01-28T16:24:27 < zyp> but that's irrelevant 2013-01-28T16:24:47 < mervaka> basically i need ETM or simulation working for performance analysis 2013-01-28T16:24:48 < dongs> "I'm afraid not. ST-Link is a very low cost JTAG/SWD probe and can not have ETM or other advanced features like the one offered by J-link, Ulink, J-trace, U-link-pro, Signum-jet etc... : This is an entry level tool for debugging" 2013-01-28T16:25:29 < zyp> isn't SWO part of ETM? st-link v2 supports SWO 2013-01-28T16:25:41 -!- trepidaciousMBR_ [~trepidaci@94.197.127.29.threembb.co.uk] has joined ##stm32 2013-01-28T16:25:44 < mervaka> zyp: not that i can see 2013-01-28T16:25:47 < dongs> ETM is the extra shit on >64pin F4s 2013-01-28T16:25:51 < dongs> like 8 extra pins 2013-01-28T16:25:56 < dongs> dont think is related to swo 2013-01-28T16:26:09 < zyp> hmm, I thought SWO was a reduced subset of that 2013-01-28T16:26:15 < mervaka> stlink2 definitely has swo 2013-01-28T16:26:18 < dongs> http://infocenter.arm.com/help/topic/com.arm.doc.faqs/attached/13634/cortex_debug_connectors.pdf 2013-01-28T16:26:21 < dongs> page 2 2013-01-28T16:26:23 < zyp> I know 2013-01-28T16:26:33 < dongs> traceclk+tracedata0..4 2013-01-28T16:26:52 < Laurenceb> i thought ETM was the JTAG equivalent of SWO? 2013-01-28T16:27:02 <+Steffanx> lol 2013-01-28T16:27:25 <+Steffanx> "i thought" .. "i thought" no one is sure :P 2013-01-28T16:27:25 < dongs> go back to searching internet for loli 2013-01-28T16:29:17 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Ping timeout: 255 seconds] 2013-01-28T16:29:18 -!- trepidaciousMBR_ is now known as trepidaciousMBR 2013-01-28T16:30:03 <+Steffanx> Instruction Trace (from ETM) must use the parallel trace port, while packets of Data Trace and 2013-01-28T16:30:04 <+Steffanx> Software Trace normally use SWO (called SWO Trace) but can also be multiplexed with the ETM trace 2013-01-28T16:30:04 <+Steffanx> stream through the parallel trace port. 2013-01-28T16:30:05 <+Steffanx> there you have it 2013-01-28T16:30:07 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has joined ##stm32 2013-01-28T16:30:48 < karlp> but that parallel trace port is not on the same signals as jtag or swd is it? 2013-01-28T16:30:50 < zyp> right, so «reduced subset» is sort of correct 2013-01-28T16:30:55 < zyp> karlp, no, it's not 2013-01-28T16:33:06 -!- trepidaciousMBR [~trepidaci@94.197.127.29.threembb.co.uk] has quit [Remote host closed the connection] 2013-01-28T16:33:28 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-28T16:34:53 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-28T16:36:07 -!- ntfreak_ is now known as ntfreak 2013-01-28T16:46:57 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-28T16:49:24 < Laurenceb> interesting 2013-01-28T16:49:32 < Laurenceb> TNT is failing with my chibios project 2013-01-28T16:49:44 < Laurenceb> #0 ResetHandler () at ChibiOS/os/ports/GCC/ARMCMx/crt0.c:255 2013-01-28T16:49:44 < Laurenceb> #1 0xfffffffe in ?? () 2013-01-28T16:50:25 <+Steffanx> is it TNT or some fuckup configuration of your toolchain? :) 2013-01-28T16:50:36 <+Steffanx> linker file or other crap ? 2013-01-28T16:50:57 < Laurenceb> something like that 2013-01-28T16:52:06 -!- vpopov [~happylife@149.62.17.217] has joined ##stm32 2013-01-28T16:53:16 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-28T16:53:44 < zyp> sounds like you fucked up stack initialization 2013-01-28T16:53:58 < Laurenceb> but thats all handled by chibios 2013-01-28T16:54:58 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-28T16:56:32 < zyp> so you have not touched chibios startup code or linker script? 2013-01-28T16:58:41 < Laurenceb> nope 2013-01-28T16:58:44 < Laurenceb> GAE works 2013-01-28T16:58:54 < Laurenceb> how odd 2013-01-28T16:59:39 < zyp> well, another argument for why you should stick to a stable toolchain then. 2013-01-28T17:00:10 * karlp grins 2013-01-28T17:10:37 < Laurenceb> attn dongs http://www.sickipedia.org/joke/view/273710 2013-01-28T17:13:04 * emeb_mac is not clicking 2013-01-28T17:13:24 <+Steffanx> That's why he said "attn dongs" , you dont have to 2013-01-28T17:13:38 < emeb_mac> ya 2013-01-28T17:21:31 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [Ping timeout: 246 seconds] 2013-01-28T17:26:21 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-28T17:29:10 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-28T17:37:04 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-28T17:37:08 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 255 seconds] 2013-01-28T17:40:20 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-28T17:58:58 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 246 seconds] 2013-01-28T18:24:14 -!- barthess [~barthess@178.154.13.224] has joined ##stm32 2013-01-28T18:25:17 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-28T18:29:26 < dongs> Steffanx: does that RTL shit just send entier 8mhz IF over USB, or does it do some extra dickery on top of that? 2013-01-28T18:30:43 < BrainDamage> rtl dongles? they send about 1 MHz IF trough usb, no dickery on top 2013-01-28T18:30:55 < BrainDamage> I&Q signals 2013-01-28T18:30:58 < dongs> 1Mhz? how do they fit 6mhz of dvb-t into that? 2013-01-28T18:31:12 < BrainDamage> the DVB decoding is done in hw on chip 2013-01-28T18:31:16 < dongs> oh is it? 2013-01-28T18:31:23 < dongs> so its not like the mirics shit 2013-01-28T18:31:24 < dongs> that sends full 2013-01-28T18:31:32 < dongs> lame 2013-01-28T18:31:50 < dongs> so 1mhz IF is another mode, when DVB demod is turned off? 2013-01-28T18:32:05 < BrainDamage> yup, you get the raw stream being piped out 2013-01-28T18:32:31 < BrainDamage> the max sampling rate is 3.2 MSps, but usb seems to work up to 1.8 without dropping samples 2013-01-28T18:33:09 < BrainDamage> they have an internal sigma delta adc with high oversampling ratio and filtering, so you don't see much aliasing 2013-01-28T18:33:46 < dongs> is raw mode used for FM + DAB? 2013-01-28T18:33:52 < dongs> i mean officially 2013-01-28T18:33:56 < BrainDamage> correct 2013-01-28T18:34:01 < dongs> k, makes sense 2013-01-28T18:34:50 < BrainDamage> some users reported full 3.2MSps working on usb3 busses, but not enough tested it to confirm that not to be the usual BS internet claims 2013-01-28T18:35:00 < dongs> lol internet 2013-01-28T18:35:28 < dongs> yeah i need to pickup a usb3 hub 2013-01-28T18:35:34 < dongs> they're spendy, even at DX 2013-01-28T18:36:52 < BrainDamage> there's several sores alternative cooking up, with way better specs and tx capability, but their cost is magnitudes more 2013-01-28T18:37:04 < BrainDamage> like 200$/board 2013-01-28T18:37:09 < dongs> is the only appeal of this sorta shit is "cheap"? 2013-01-28T18:37:22 < dongs> because im thinking a tuner + ADC + FX2 or something would make much more sense 2013-01-28T18:37:26 < dongs> to get say 8mhz of IF 2013-01-28T18:37:53 < BrainDamage> yes, that's the biggest point, they are cheap, and readily made 2013-01-28T18:37:56 < BrainDamage> so "just works" 2013-01-28T18:38:11 < BrainDamage> no stellar specs, but you have a working system out of the box 2013-01-28T18:38:49 < BrainDamage> if you want to go for higher quality, for instance, there' USRP, but those start approaching 1k$ 2013-01-28T18:38:55 < dongs> right. 2013-01-28T18:39:00 < Laurenceb> better bandwidth than any ham kit 2013-01-28T18:39:12 < dongs> i mean, i've done rf parts before with silicon tuner and hooking up lowIF/zeroIF output to a demod 2013-01-28T18:39:14 < BrainDamage> ham kits are a joke in any case 2013-01-28T18:39:32 < dongs> but if I wanted to get raw i/q i 'd guess ADC and some usb shite like ez-usbfx2/whatever would work 2013-01-28T18:39:44 < Laurenceb> having said that, using silicon tuner stuff as a scanner is pretty bad 2013-01-28T18:39:54 < Laurenceb> as the LO has shit tons of harmonics 2013-01-28T18:39:59 < dongs> heh 2013-01-28T18:40:05 < dongs> i have schematics of analog rf frontend somewehre 2013-01-28T18:40:10 < dongs> + analog tuner 2013-01-28T18:40:11 < Laurenceb> they are best with a SAW on the front 2013-01-28T18:40:44 < BrainDamage> some integrated tuners still have ports for external filters 2013-01-28T18:40:50 < BrainDamage> for higher quality filtering 2013-01-28T18:40:56 < BrainDamage> but not in those supercheap stuff 2013-01-28T18:41:11 < dongs> dibcom tuners had external filter parts for VHF, UHF, etc 2013-01-28T18:41:54 < BrainDamage> phones themselves are trying hard to get rid of external filters whenever possible, an succeeding partially 2013-01-28T18:42:27 < Laurenceb> really? 2013-01-28T18:42:50 < Laurenceb> what do you replace SAw with? 2013-01-28T18:43:23 < BrainDamage> so far they managed to reduce the # of stages 2013-01-28T18:43:27 < dongs> GYRATOR 2013-01-28T18:43:31 < Laurenceb> true 2013-01-28T18:43:58 < BrainDamage> so the SAWs are still there, but at least less 2013-01-28T18:44:07 < Laurenceb> i see 2013-01-28T18:46:03 < emeb> was looking at using the fast ADCs on F303 for IF, but question is if F3 has CPU bandwidth to do anything useful with that. 2013-01-28T18:46:21 < Laurenceb> yeah 2013-01-28T18:46:28 < Laurenceb> or memory bandwidth 2013-01-28T18:46:42 < Laurenceb> its limited by what the ADCs are hooked up to :P 2013-01-28T18:46:45 < dongs> probably: not 2013-01-28T18:47:05 < Laurenceb> guess you could do a scope 2013-01-28T18:47:09 < emeb> right 2013-01-28T18:47:13 < Laurenceb> with capture on trigger using dma 2013-01-28T18:47:22 < emeb> but downconversion / demod, probably not 2013-01-28T18:48:10 < emeb> be more interesting to slap a fast ADC onto an FPGA, do the high speed stuff in there and come out at low rate to STM32 2013-01-28T18:48:21 < dongs> well, or not involve stm32 at all. 2013-01-28T18:48:30 < emeb> or that 2013-01-28T18:48:58 < dongs> chatting to pcb pal, somoen did a 'contact us' shit. 2013-01-28T18:49:07 < dongs> 'what is the format for pcb data'???? < actual question 2013-01-28T18:49:12 < emeb> but eventually you'll condense whatever's received to some minimum data that the STM32 can use 2013-01-28T18:49:27 < emeb> dongs: tell 'em "ASCII text" 2013-01-28T18:49:33 < dongs> yea. 2013-01-28T18:49:40 < Laurenceb> lolicon format 2013-01-28T18:49:46 < dongs> so im like, better tell them we don't accept EAGLE files 2013-01-28T18:49:49 < dongs> so the guy's like 2013-01-28T18:49:58 < dongs> 'every fucked up gerber i saw was made by eagle" 2013-01-28T18:50:01 < BrainDamage> nah, wav data of someone reading the gerber bytestream in hex 2013-01-28T18:50:15 < emeb> that's what numbers stations are 2013-01-28T18:50:23 < dongs> haha 2013-01-28T18:52:49 < zyp> dongs, that would happen regardless of the tool they used, nothing is idiot-proof 2013-01-28T18:52:52 < zyp> :p 2013-01-28T18:53:01 < dongs> ya right 2013-01-28T18:53:16 < emeb> whenever you try to idiot-proof, the world comes up with better idiots 2013-01-28T18:53:26 <+Steffanx> Got any shipping notification yet dongs? 2013-01-28T18:53:29 <+Steffanx> I didn't :( 2013-01-28T18:53:51 < dongs> mine shipped 2013-01-28T18:53:59 < dongs> he sent direct email though for some gay reason 2013-01-28T18:54:03 < dongs> instead of u pdating status in ebay 2013-01-28T18:54:18 < dongs> maybe check your junkdir 2013-01-28T18:56:01 <+Steffanx> Ah, yes. Junkdir it is :D 2013-01-28T18:56:09 < dongs> teehe. 2013-01-28T18:56:22 < dongs> Hope you’ll enjoy our total services as well as the product . 2013-01-28T18:56:28 < dongs> i plan to do just that. 2013-01-28T19:08:59 < dirty_d> whats the deal with st's lisence? it says you can sell stuff, then right after says you cant? 2013-01-28T19:09:14 < dongs> you can sell it as long as you sell it to st 2013-01-28T19:09:21 < dirty_d> oh 2013-01-28T19:10:19 < jpa-> st's license is stupid 2013-01-28T19:12:02 -!- barthess [~barthess@178.154.13.224] has quit [Quit: Leaving.] 2013-01-28T19:21:20 < dirty_d> yea 2013-01-28T19:21:33 < dirty_d> i guess im gonna start making c++ classes for everything then 2013-01-28T19:21:39 < dirty_d> even though ill never sell anyhting, lol 2013-01-28T19:22:11 <+Steffanx> lol 2013-01-28T19:27:07 -!- barthess [~barthess@178.154.13.224] has joined ##stm32 2013-01-28T19:29:22 < dirty_d> is there anything other than PDFs that have the register maps and bit posituions and stuff? 2013-01-28T19:29:39 < dirty_d> could make a program to generate code for all that 2013-01-28T19:29:54 <+Steffanx> ctrl+c, ctrl+v i any editor you like :P 2013-01-28T19:30:06 < dirty_d> its all screwed up looking though 2013-01-28T19:30:27 < dirty_d> hmm, actually it doesnt look too bad 2013-01-28T19:30:30 < dirty_d> definitely parsable 2013-01-28T19:31:27 < dirty_d> eh, maybe not 2013-01-28T19:32:27 -!- _BJFreeman [~bjfree@73.sub-75-233-129.myvzw.com] has joined ##stm32 2013-01-28T19:33:28 -!- _BJFreeman is now known as BJFreeman 2013-01-28T19:33:40 <+Steffanx> You are going to be one of those programmers that is going to write a script for something that was faster to do by hand, dirty_d :P 2013-01-28T19:33:50 < dirty_d> Steffanx, i was just gonna say that, lol 2013-01-28T19:36:57 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 244 seconds] 2013-01-28T20:12:22 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-28T20:17:56 < dirty_d> this BTABLE and buffer address stuff is confusing as hell 2013-01-28T20:20:52 < qyx_> hm, getting 30 lsb adc error even if input is directly connected to analog ground 2013-01-28T20:20:58 < qyx_> on olimex p107 :S 2013-01-28T20:21:14 < qyx_> i mean noise 2013-01-28T20:24:58 < zyp> after calibration? 2013-01-28T20:26:33 < dirty_d> i have a headache 2013-01-28T20:29:23 < dirty_d> hmm, i dont see any need for BTABLE to be anything otehr than 0? 2013-01-28T20:30:29 < zyp> BTABLE? 2013-01-28T20:30:54 < zyp> ah 2013-01-28T20:31:06 < dirty_d> yea 2013-01-28T20:31:24 < qyx_> 160lsb using different power supply O_o 2013-01-28T20:31:25 < dirty_d> would that be used t oswitch to a new table really fast> 2013-01-28T20:31:30 < dirty_d> or something? 2013-01-28T20:31:31 < qyx_> something is wrong with that board 2013-01-28T20:31:54 < zyp> dirty_d, you are right, I never touch BTABLE in my code, since the default of 0 is ok 2013-01-28T20:31:59 < qyx_> zyp: not offset, just some noise 2013-01-28T20:32:28 < zyp> qyx_, sounds like your vdda is unstable 2013-01-28T20:32:32 < dirty_d> zyp, so these ADDR table entries point to another address within the packet memory starting at 0x40006000 ? 2013-01-28T20:32:50 < zyp> dirty_d, sort of 2013-01-28T20:32:54 < dirty_d> well, really an offset from 0x40006000 2013-01-28T20:33:04 < zyp> it's a bit weirdly mapped 2013-01-28T20:33:13 < dirty_d> yea i noticed, lol 2013-01-28T20:33:35 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-01-28T20:33:41 < dirty_d> pretty confusing 2013-01-28T20:33:42 < zyp> the memory is 16-bit wide, mapped on a 32-bit bus 2013-01-28T20:34:09 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-28T20:35:44 < zyp> the lower bit in the buffer table is the byte offset from the start of packet memory 2013-01-28T20:36:13 < zyp> and since it's always 16-bit aligned, because of the 16-bit memory, the lowest bit is forced to 0 2013-01-28T20:36:56 < dirty_d> right 2013-01-28T20:37:06 < dirty_d> but you put that anywhere you want after the table? 2013-01-28T20:37:16 < zyp> yes 2013-01-28T20:37:21 < dirty_d> ok 2013-01-28T20:37:45 < zyp> I just have a counter of bytes used, and add to that every time I allocate memory for a new endpoint 2013-01-28T20:37:59 < zyp> and initialize that counter to the size of the table 2013-01-28T20:38:28 < zyp> http://cgit.jvnv.net/laks/tree/usb/f1_usb.h <- you can see how hw_conf_ep() is using buf_end 2013-01-28T20:53:03 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-28T20:53:53 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-240-202.clienti.tiscali.it] has quit [Ping timeout: 255 seconds] 2013-01-28T20:53:55 -!- barthess [~barthess@178.154.13.224] has quit [Quit: Leaving.] 2013-01-28T20:55:01 -!- barthess [~barthess@178.154.13.224] has joined ##stm32 2013-01-28T20:56:35 -!- BrainDamage1 [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has quit [Client Quit] 2013-01-28T20:56:56 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-28T21:04:23 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-01-28T21:06:55 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-28T21:07:26 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-28T21:08:48 -!- kerwood_wk [80f42605@gateway/web/freenode/ip.128.244.38.5] has quit [Ping timeout: 245 seconds] 2013-01-28T21:44:13 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-01-28T21:44:48 -!- Laurenceb_ [~Laurence@host86-171-127-131.range86-171.btcentralplus.com] has joined ##stm32 2013-01-28T21:46:49 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 246 seconds] 2013-01-28T21:47:59 -!- barthess [~barthess@178.154.13.224] has quit [Quit: Leaving.] 2013-01-28T21:48:07 < emeb> lol ST: Just got an email from one of the guys who's talking to ST about the F373 bootloader. 2013-01-28T21:48:41 < emeb> ST asked him to dump out the contents of 0x1FFFF7A6 so that they could see what the bootloader version is. 2013-01-28T21:49:03 < emeb> He didn't have an F373 handy so asked me to do it. Here's what I found: 2013-01-28T21:49:26 < emeb> 0x1ffff7a6: 0xffff0050 2013-01-28T21:49:41 < Laurenceb_> version 5.0 ? 2013-01-28T21:49:44 < emeb> Looks like 5.0 to me, which is the F383 2013-01-28T21:49:49 < Laurenceb_> lolz 2013-01-28T21:49:59 < zyp> but we already knew that 2013-01-28T21:50:06 < zyp> :) 2013-01-28T21:50:08 < emeb> But apparently ST didn't 2013-01-28T21:50:21 < emeb> it's such a clown show. 2013-01-28T21:52:23 < zyp> I'm updating my quadrotor code for the newest version of laks 2013-01-28T21:52:30 < emeb> kewl 2013-01-28T21:52:40 < zyp> it's been some API changes in the usb stuff since last time :) 2013-01-28T21:53:26 < zyp> and the old code relied on some hardcoded endpoint configuration in the stack itself, now they have to be configured by class drivers 2013-01-28T21:53:49 < emeb> what's the quadrotor use usb for? 2013-01-28T21:54:27 < zyp> I want to log the sensors and calculations in realtime 2013-01-28T21:54:42 < zyp> and then also for configuration 2013-01-28T21:55:01 < emeb> so while it's flying it has a usb cable dangling? 2013-01-28T21:55:34 < zyp> sure, I'm going to power it by cable too 2013-01-28T21:55:52 < jpa-> atleast it won't escape 2013-01-28T21:56:11 -!- Gargantuasauce [~Gargantua@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-28T21:56:12 < zyp> http://bin.jvnv.net/f/a8bMt.JPG 2013-01-28T21:56:26 < emeb> need to find some fine-gauge lightweight usb cable 2013-01-28T21:56:39 < jpa-> missing propellers 2013-01-28T21:56:50 < zyp> picture is from last year 2013-01-28T21:57:18 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has quit [Quit: Leaving] 2013-01-28T21:57:38 < zyp> http://bin.jvnv.net/f/acJ5t.JPG <- we tested my friend's quadrotor in my garden, powered by that supply 2013-01-28T21:57:46 < emeb> how much current can the motors usually pull? 2013-01-28T21:58:17 < zyp> I think I measured 14A total at hover 2013-01-28T21:58:38 < emeb> that's a bunch. need fat wires. 2013-01-28T21:58:39 < mervaka> is that stall current or free running? 2013-01-28T21:58:47 < zyp> huh? 2013-01-28T21:58:50 < mervaka> as in 2013-01-28T21:58:55 < mervaka> how hard was the motor working 2013-01-28T21:59:01 < mervaka> opposition to movement 2013-01-28T21:59:02 < zyp> as I said, hover 2013-01-28T21:59:05 < mervaka> ah ok 2013-01-28T22:00:00 < jpa-> brushless DC motors don't stall that well anyway :) 2013-01-28T22:00:30 < zyp> not when they rely on back-EMF for commutation :p 2013-01-28T22:01:33 < mervaka> lol, true 2013-01-28T22:01:35 < emeb> does the commutator controller just go into a graceful shutdown? 2013-01-28T22:01:37 < zyp> emeb, I already took care of the usb cable: http://bin.jvnv.net/f/J7cZJ.jpg 2013-01-28T22:02:22 < jpa-> hey i have one of those hubs also 2013-01-28T22:02:49 < zyp> also old pic 2013-01-28T22:03:02 < zyp> from when I started with stm32 and didn't have any debugger adapter 2013-01-28T22:03:15 < zyp> so I used an mbed as a serial converter to use the serial bootloader :p 2013-01-28T22:03:24 < jpa-> also it's suspiciously clean under your bed 2013-01-28T22:03:27 -!- jef79m_lurking is now known as jef79m 2013-01-28T22:03:36 < emeb> duh - the vacuum is right there. 2013-01-28T22:03:40 < zyp> :p 2013-01-28T22:04:21 < zyp> and then you have those four powerful fans there, blowing away all the dust :p 2013-01-28T22:04:36 < emeb> so if you wake up in the middle of the night with a power urge to houseclean. 2013-01-28T22:04:43 < emeb> +ful 2013-01-28T22:05:04 < zyp> it's from the days I was living in student dorms, right next to the uni :p 2013-01-28T22:05:26 < zyp> no other place to put it :p 2013-01-28T22:07:48 < zyp> I mean, this picture was taken at the same time, from the other angle: http://bin.jvnv.net/f/pwlqr.jpg 2013-01-28T22:08:06 < zyp> because someone commented that the first one looked so tidy 2013-01-28T22:08:54 < qyx_> it still is 2013-01-28T22:11:25 < BrainDamage> is rice one of your staple foods to warrant a dedicated device? 2013-01-28T22:12:51 -!- jef79m is now known as jef79m_lurking 2013-01-28T22:13:28 < zyp> sure, why not? 2013-01-28T22:13:43 < BrainDamage> just wondering 2013-01-28T22:14:29 < zyp> well, I'm lazy and it takes all effort out of cooking perfect rice 2013-01-28T22:14:51 < Laurenceb_> zyp is weebo 2013-01-28T22:14:53 <+Steffanx> no.. the rice cooking is the hard part of the meal 2013-01-28T22:15:09 < mervaka> really? 2013-01-28T22:15:25 <+Steffanx> no, so why one needs a special cooker for that? 2013-01-28T22:15:30 < mervaka> 1/3 cup of rice to a cup of water. done. 2013-01-28T22:15:53 < Laurenceb_> put in microwave, press on button 2013-01-28T22:16:07 < mervaka> nah, microwave rice is shit 2013-01-28T22:16:32 < emeb> mmm... crunchy. 2013-01-28T22:17:32 < mervaka> i love cooking risotto. 2013-01-28T22:17:49 < mervaka> chicken muchroom & spinach usually. 2013-01-28T22:17:55 < mervaka> mushroom* 2013-01-28T22:18:18 < emeb> mervaka: how's the I2S stuff working? 2013-01-28T22:18:27 < mervaka> better than it was 2013-01-28T22:19:26 < zyp> a nice feature of that rice cooker is that it's sealed, so the rice is kept fresh and moist for hours after cooking, so I don't really have to time when to cook it after when I get hungry 2013-01-28T22:19:30 < mervaka> four ISRs seems to work better, but the ISRs are getting processed in the wrong order, despite giving an order in the NVIC 2013-01-28T22:20:04 < Laurenceb_> mervaka: whats the advantage of IIR of FIR? 2013-01-28T22:20:20 < mervaka> Laurenceb_: IIRs are like analogue circuits 2013-01-28T22:20:37 < Laurenceb_> oh, audiophile? 2013-01-28T22:20:42 < mervaka> no 2013-01-28T22:21:12 < zyp> IIRC IIR filters are usually less computationally expensive 2013-01-28T22:21:14 < mervaka> i'm making a filter that's best realised in an IIR topology. the right tool for the job :) 2013-01-28T22:21:35 < Laurenceb_> i guess its less operations, yes 2013-01-28T22:21:41 < mervaka> that too. 2013-01-28T22:21:44 < HTT-Bird> why are FIR filters often chosen over IIR in DSP then? 2013-01-28T22:21:50 < mervaka> they are? 2013-01-28T22:21:58 < Laurenceb_> they dont get fucked up by bad signals 2013-01-28T22:21:59 < zyp> because they can be better 2013-01-28T22:22:06 < zyp> and as Laurenceb_ said 2013-01-28T22:22:15 < Laurenceb_> massive spike can be bad for IIR 2013-01-28T22:22:26 < zyp> FIR filters can't be unstable, IIR filters can be 2013-01-28T22:22:33 < mervaka> yeah 2013-01-28T22:22:49 < mervaka> and FIRs are easier to design 2013-01-28T22:23:07 < mervaka> or calculate coefficients for, rather 2013-01-28T22:23:32 < Laurenceb_> t-filter ftw 2013-01-28T22:23:49 < Laurenceb_> t-filter.appspot.com/ 2013-01-28T22:24:13 < mervaka> i'm using a Direct II transposed IIR. very efficient, looking at it :) 2013-01-28T22:25:02 < mervaka> shared state variables 2013-01-28T22:25:16 < mervaka> etc 2013-01-28T22:30:55 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has joined ##stm32 2013-01-28T22:32:15 < dirty_d> zyp, if your not using double buffered enpoints it makes sense that the software addr is [USB_BTABLE] + n*16 and the USB local addr is [USB_BTABLE] + n*8 2013-01-28T22:32:34 < dirty_d> but if you are, wouldnt the software addr still be [USB_BTABLE] + n*16 but the USB local addr be [USB_BTABLE] + n*12 2013-01-28T22:33:18 < zyp> huh? 2013-01-28T22:36:57 < dirty_d> zyp, 32 vs 16 bit bus 2013-01-28T22:37:24 < dirty_d> when youre using double buffered endpoints there are two count "regs" 2013-01-28T22:37:48 < dirty_d> you cant fit 6 16-bit regs in 8 bytes 2013-01-28T22:38:38 < dirty_d> page 923 of the stm32f303 reference manual 2013-01-28T22:38:40 < zyp> when you are using double buffering, you are using both the TX and the RX fields for the same direction 2013-01-28T22:39:55 < dirty_d> hmm 2013-01-28T22:40:07 < zyp> see 29.4.3 2013-01-28T22:40:24 < zyp> «When ‘double-buffering’ is activated, data toggle sequencing is used to select, which buffer is to be used by the USB peripheral to perform the required data transfers, using both ‘transmission’ and ‘reception’ packet memory areas to manage buffer swapping on each successful transaction …» 2013-01-28T22:42:00 < zyp> see also figure 364 on page 901 2013-01-28T22:46:40 < dirty_d> im confused, it shows the two count regs as 4 contifuous bytes, but on page 901 it doesnt 2013-01-28T22:48:05 < dirty_d> oh i see, but i dont see why they have bits 0-15 then 16-31 2013-01-28T22:48:52 < zyp> just to confuse you 2013-01-28T22:49:03 < dirty_d> its a mistake right? 2013-01-28T22:49:08 < dirty_d> it makes it looks like its all one 32-bit word 2013-01-28T22:49:15 < zyp> it's not 2013-01-28T22:49:29 < dirty_d> not a mistake, or not a 32-bit word? 2013-01-28T22:49:50 < zyp> not a 32-bit word, the COUNT register sits in between 2013-01-28T22:50:09 < dirty_d> right 2013-01-28T22:50:16 < dirty_d> well, the ADDR one 2013-01-28T22:51:15 < zyp> well, sure, they are interleaved ADDR, COUNT, ADDR, COUNT, so both sits in between each other :p 2013-01-28T22:52:07 < dirty_d> this makes a lot more sense now 2013-01-28T22:54:56 < Laurenceb_> hmm 2013-01-28T22:54:57 < Laurenceb_> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/CHDHCCJG.html 2013-01-28T22:55:06 -!- dekar [~dekar@212.255.26.75] has joined ##stm32 2013-01-28T22:55:09 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-28T22:55:19 < Laurenceb_> if you ran that from CCM on the F3, you could maybe so some fast downconvertion 2013-01-28T22:55:35 < Laurenceb_> and do RF with the fast ADCs 2013-01-28T22:56:37 < Laurenceb_> dekar: my chibios project compiled with TNT wont bot 2013-01-28T22:57:34 < Laurenceb_> something seems to be wrong with initialisation 2013-01-28T22:57:40 < Laurenceb_> same code runs ok with GAE 2013-01-28T23:01:22 <+dekar> -.-" 2013-01-28T23:01:34 <+dekar> TNT newlib-nano or the normal one? 2013-01-28T23:02:04 <+dekar> Laurenceb_, also GAE-nano or the normal one? 2013-01-28T23:02:27 < Laurenceb_> normal GAE 2013-01-28T23:02:37 < Laurenceb_> i think newlib-nano TNT... 2013-01-28T23:02:44 < Laurenceb_> its the one i compiled 2013-01-28T23:02:52 < Laurenceb_> that i grabbed from github 2013-01-28T23:02:58 < Laurenceb_> zlog 2013-01-28T23:02:59 < zlog> Laurenceb_: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-01-28.html 2013-01-28T23:03:32 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-28T23:03:44 < Laurenceb_> #0 ResetHandler () at ChibiOS/os/ports/GCC/ARMCMx/crt0.c:255 2013-01-28T23:03:44 < Laurenceb_> #1 0xfffffffe in ?? () 2013-01-28T23:04:13 <+dekar> Laurenceb_, does GAE-newlib-nano work? 2013-01-28T23:04:23 < Laurenceb_> havent tried it 2013-01-28T23:04:33 < Laurenceb_> i dont have the hardware here 2013-01-28T23:04:49 < zyp> this shouldn't be newlib related, it crashes in startup code 2013-01-28T23:04:54 < Laurenceb_> yeah 2013-01-28T23:05:04 < zyp> I would compare the disassembly of crt0.o from either 2013-01-28T23:05:06 <+dekar> hm 2013-01-28T23:06:42 < zyp> although, I'm not sure how much I would trust that backtrace either, since you are dealing with a lockup 2013-01-28T23:07:05 < Laurenceb_> https://github.com/mabl/ChibiOS/blob/master/os/ports/GCC/ARMCMx/crt0.c#L255 2013-01-28T23:07:10 < Laurenceb_> somewhere in there.. ? 2013-01-28T23:07:32 <+dekar> I don't have any startup problems using TNT, do you use LTO? 2013-01-28T23:07:39 < Laurenceb_> no 2013-01-28T23:07:46 < Laurenceb_> it makes the code larger 2013-01-28T23:08:08 < Laurenceb_> my other project seems to be ok 2013-01-28T23:08:17 < Laurenceb_> i think this is specific to the chibios startup 2013-01-28T23:10:29 < zyp> I suggest upgrading chibios 2013-01-28T23:10:54 < zyp> your copy is older than a commit that fixed some stack bug in startup code 2013-01-28T23:10:58 < zyp> I bet you are hitting that 2013-01-28T23:11:32 < zyp> https://github.com/mabl/ChibiOS/commit/7b042ce#os/ports/GCC/ARMCMx/crt0.c <- i.e. this and parent commit 2013-01-28T23:12:04 < zyp> not parent, but https://github.com/mabl/ChibiOS/commit/18c1f6d#os/ports/GCC/ARMCMx/crt0.c 2013-01-28T23:12:39 < zyp> «Fixed ARM CMx crt0.c fails at low optimization levels (bug 3578927)» 2013-01-28T23:14:16 < Laurenceb_> hmm 2013-01-28T23:14:21 < Laurenceb_> ok 2013-01-28T23:14:39 < Laurenceb_> and i bet they changes something again :-/ 2013-01-28T23:14:46 < Laurenceb_> thanks for spotting that 2013-01-28T23:15:24 < zyp> well, it's the natural thing to check when you discover a potential bug 2013-01-28T23:15:33 < zyp> «is it fixed already in a never revision?» 2013-01-28T23:15:35 <+Steffanx> nooo 2013-01-28T23:15:55 < zyp> I've found a bunch of that kind at work :p 2013-01-28T23:22:36 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has quit [Quit: Leaving] 2013-01-28T23:25:19 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-28T23:35:57 < upgrdman> i get internet through the cable company ... they're so dumb sometimes. they keep calling wanted to bundle tv and home phone into my plan.... its like they don't understand why someone doesn't need traditional tv or a landline. wtf is wrong with people. 2013-01-28T23:44:36 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-28T23:56:59 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-01-28T23:58:39 < BJFreeman> MONEY --- Day changed Tue Jan 29 2013 2013-01-29T00:00:23 <+Steffanx> Hey, BJFreeman can see again? :) 2013-01-29T00:01:49 < BJFreeman> been busy 2013-01-29T00:01:53 < BJFreeman> but lurking 2013-01-29T00:04:29 -!- Thorn_ [~Thorn@2.93.209.114] has joined ##stm32 2013-01-29T00:06:16 < BJFreeman> last eye is still swollen, the first one took about a month and half to reduce swelling to 20/20 2013-01-29T00:06:47 < BJFreeman> from the outside look normal, not discoloration 2013-01-29T00:07:26 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] 2013-01-29T00:07:32 < BJFreeman> drove truck home frm surgery 2013-01-29T00:07:43 <+Steffanx> lol 2013-01-29T00:21:15 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-01-29T00:29:59 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-29T00:31:19 < emeb> do not stare into beam with remaining eye 2013-01-29T00:36:16 < BJFreeman> emeb I have natuaral night vision, Headlights have always given me a headache 2013-01-29T00:36:32 < emeb> owche! 2013-01-29T00:36:56 < BJFreeman> they gave me a polarized sun glases darken to compensate for the new level of light 2013-01-29T00:37:32 < BJFreeman> problem is at night I can't see anyting but headlights 2013-01-29T00:37:41 < BJFreeman> with them on 2013-01-29T00:38:34 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-29T00:38:34 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-29T00:39:53 < emeb> too bad they can't do fourier-transform optics to selectively darken bright light sources w/o dimming the weak ones. 2013-01-29T00:40:46 < BJFreeman> special LCD glasses 2013-01-29T00:40:48 < BrainDamage> you mean nonlinear optics 2013-01-29T00:40:57 < mervaka> sounds good 2013-01-29T00:41:00 < BrainDamage> and they exist 2013-01-29T00:41:18 <+Steffanx> BrainDamage is our expert in weird/unknown things 2013-01-29T00:41:36 < emeb> I know about nonlinear optics. That's not the solution here though. 2013-01-29T00:41:37 < BrainDamage> there are sunglasses that compress the dynamic range of light by getting darker in bright lights 2013-01-29T00:41:53 < BrainDamage> but the problem is the slow response 2013-01-29T00:42:01 < BrainDamage> and generally they respond to uv :/ 2013-01-29T00:42:04 < BJFreeman> and cold weather 2013-01-29T00:42:04 < emeb> the problem is that you've got multiple sources arriving from different directions 2013-01-29T00:42:06 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2013-01-29T00:42:11 <+Steffanx> So fancy lcd-ish version it is :) 2013-01-29T00:42:21 < emeb> you want to dim the bright ones in one dirction w/o dimming the weak ones from another. 2013-01-29T00:42:47 < emeb> since all the light goes through the same lens, a nonlinear response won't help 2013-01-29T00:43:00 < BJFreeman> since LCD twist the crystal you get natural polarization 2013-01-29T00:43:12 < BrainDamage> it'd have to be localized 2013-01-29T00:43:26 < BrainDamage> but generally the glasses are not selective spatially :/ 2013-01-29T00:43:36 < emeb> exactly 2013-01-29T00:44:06 < BJFreeman> Ah yes the dreamer now needs to make it practical so the do'res can build it 2013-01-29T00:44:09 < BrainDamage> btw even lcd glasses would be partially problematic without eye tracking 2013-01-29T00:44:21 < emeb> so you'd use FT optics to separate out the different phases and selectively dim those. 2013-01-29T00:44:44 < emeb> then recombine to normal wavefront 2013-01-29T00:45:00 < emeb> trouble is, that requires a huge optical bench to do. 2013-01-29T00:45:13 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 240 seconds] 2013-01-29T00:45:36 < BJFreeman> yes I have a device the clamps on glasses that track I movment for changing view of game 2013-01-29T00:57:50 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-29T00:58:48 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Read error: Connection reset by peer] 2013-01-29T00:59:09 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has joined ##stm32 2013-01-29T00:59:10 -!- upgrdman [~upgrdman@71-92-66-171.static.mtpk.ca.charter.com] has quit [Changing host] 2013-01-29T00:59:10 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-01-29T01:01:54 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-29T01:04:07 -!- NonaSuomy is now known as TeknoJuce 2013-01-29T01:11:10 < Laurenceb_> BJFreeman: what happened to your eyes? 2013-01-29T01:12:00 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-01-29T01:12:15 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-29T01:14:17 < BJFreeman> I am 7.1 decades and started having Cataracts. so did the surgery so can get on the road this spring 2013-01-29T01:14:36 < Laurenceb_> ah 2013-01-29T01:14:51 < Laurenceb_> hope it heals up ok 2013-01-29T01:15:27 < BJFreeman> first eye did in Nov and it is healed the last eye was two weeks ago and is healing 2013-01-29T01:16:43 < BJFreeman> it is a 25 min surgery with month of prep for lens and couple months healing 2013-01-29T01:17:26 < BJFreeman> being over 65 medicare paid all but 1% of it 2013-01-29T01:23:42 -!- jef79m_lurking is now known as jef79m 2013-01-29T01:24:35 < baird> Woohoo, my machine Brushtail.apana.org.au is ranked #951 amoung Usenet sites. :D (which includes the server farms of the top 10 sites.) It even trounces a few AU ISPs.. 2013-01-29T01:29:13 < karlp> and what does a ranking mean? 2013-01-29T01:32:17 < baird> My site's influence on the global posting propagation ("there are 950 sites that distributed more articles faster than you...") Still, puts Brushtail in the top ~25% of newsservers. 2013-01-29T01:33:14 < baird> Which isn't a bad score considering that it's a UUCP site. 2013-01-29T01:35:05 < baird> At one point, it was even trouncing uunet for propagating newsgroups like alt.sysadmin.recovery.. 2013-01-29T01:35:25 < baird> http://top1000.anthologeek.net/ 2013-01-29T01:35:52 < BrainDamage> baird: it's a metric that nobody cares about except hardcore nerds <- fixed it for you 2013-01-29T01:37:01 < baird> Don't come crying to me when President Jenna Bush drops a tax on TCP/IP. 2013-01-29T01:37:15 -!- jef79m is now known as jef79m_lurking 2013-01-29T01:38:13 < BrainDamage> that sounds so retarded it might even happened in the future :/ 2013-01-29T01:39:38 < BJFreeman> to get any decent customer base you have to put about $10K in per click ads 2013-01-29T01:40:33 < BJFreeman> baird we are already being taxed for goods bought on internet 2013-01-29T01:40:44 < baird> I once got a nastygram from Astraweb (upstream from my ISP) telling me to stop filling the holes in their newsfeed. :P 2013-01-29T01:43:31 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-29T01:46:35 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Read error: Connection reset by peer] 2013-01-29T01:46:41 -!- trepidaciousMBR_ [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-29T01:48:22 -!- trepidaciousMBR_ [~trepidaci@217.155.204.2] has quit [Read error: Connection reset by peer] 2013-01-29T01:48:28 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-29T01:52:54 -!- vpopov [~happylife@149.62.17.217] has quit [Ping timeout: 252 seconds] 2013-01-29T01:55:46 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 256 seconds] 2013-01-29T01:58:22 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-29T02:06:38 -!- Laurenceb_ [~Laurence@host86-171-127-131.range86-171.btcentralplus.com] has quit [Ping timeout: 256 seconds] 2013-01-29T02:07:49 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-29T02:11:41 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 245 seconds] 2013-01-29T02:14:20 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-01-29T02:21:47 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-29T02:28:49 < fxd0h> hullo 2013-01-29T02:34:37 < upgrdman> hallo 2013-01-29T02:40:23 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-01-29T02:50:36 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-29T02:52:23 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-29T02:53:28 -!- jef79m_lurking is now known as jef79m 2013-01-29T03:04:14 < dongs> _blog 2013-01-29T03:05:26 -!- Thorn [~Thorn@2.93.209.114] has joined ##stm32 2013-01-29T03:05:26 -!- Thorn [~Thorn@2.93.209.114] has quit [Changing host] 2013-01-29T03:05:26 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-29T03:08:21 -!- Thorn_ [~Thorn@2.93.209.114] has quit [Ping timeout: 245 seconds] 2013-01-29T03:09:03 -!- jef79m is now known as jef79m_lurking 2013-01-29T03:33:24 < dongs> GNU/BLOG 2013-01-29T03:34:31 -!- digital_dreamer [~digital_d@24.35.227.64] has joined ##stm32 2013-01-29T03:35:02 -!- digital_dreamer [~digital_d@24.35.227.64] has quit [Read error: Connection reset by peer] 2013-01-29T03:37:04 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-29T03:55:49 -!- BJFreeman [~bjfree@73.sub-75-233-129.myvzw.com] has quit [Quit: had a good time] 2013-01-29T04:00:14 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-29T04:01:12 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-29T04:05:46 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: Connection reset by peer] 2013-01-29T04:05:59 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-29T04:06:02 < emeb_mac> someone needs to invent Blog/OS 2013-01-29T04:08:53 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has quit [Ping timeout: 252 seconds] 2013-01-29T04:14:00 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-29T04:17:08 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-01-29T04:21:17 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-29T04:28:10 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-29T04:32:05 < gxti> or not 2013-01-29T04:36:02 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has quit [Quit: Leaving.] 2013-01-29T04:37:16 < zippe> wtf, CAN and USB share a miserable little 512B SRAM? 2013-01-29T04:37:20 < zippe> srsly? 2013-01-29T04:38:03 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-29T04:38:12 < gxti> "share" 2013-01-29T04:38:31 < gxti> in f1 at least, you can't use both simultaneously :p 2013-01-29T04:38:52 < dongs> zippe: haha old news 2013-01-29T04:39:04 -!- Gargantuasauce [~Gargantua@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 256 seconds] 2013-01-29T04:45:02 -!- jef79m_lurking is now known as jef79m 2013-01-29T04:46:34 < zippe> dongs: I'm sure. Has anyone definitively tried it on the F2/F4? There's blurb about how they 'fixed' it in the f105/107 but the datasheet seems to contradict... 2013-01-29T04:47:51 < zippe> It really screws with my plans 2013-01-29T04:52:01 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has joined ##stm32 2013-01-29T04:55:11 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-29T05:08:53 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-29T05:11:09 -!- jef79m is now known as jef79m_lurking 2013-01-29T05:15:36 -!- timemob [~dongs@149.110.131.180.west.global.crust-r.net] has quit [Quit: Bye] 2013-01-29T05:15:59 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-01-29T05:24:12 < dongs> zippe: i know on F1 its not possible for sure 2013-01-29T05:24:18 < dongs> since evne pins are shared 2013-01-29T05:29:40 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-29T05:50:00 -!- Erlkoenig [~erlkoenig@pptp-212-201-72-21.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-29T06:08:31 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-29T06:08:57 < zippe> There are alt mappings on the F4 that let you get at CAN1 and USB at the same time 2013-01-29T06:12:53 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-29T06:12:55 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-29T06:47:13 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-29T07:11:58 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-29T07:31:59 < dongs> attn zyp http://upload.wikimedia.org/wikipedia/en/7/77/Western_Maid_Cafe.jpg 2013-01-29T07:32:53 < emeb_mac> lol @ dude w/ cat ears 2013-01-29T07:33:23 < dongs> cjbeard probably faps to that 2013-01-29T07:33:34 < dongs> the dude doesnt actually look too bad 2013-01-29T07:33:37 < dongs> but hte women are hideous 2013-01-29T07:36:34 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-29T07:37:51 < gnomad> one of these things is not like the others... 2013-01-29T07:43:53 < emeb_mac> where to begin 2013-01-29T07:44:09 < dongs> need to load dicknplace again 2013-01-29T07:44:12 < dongs> been lazy 2013-01-29T07:44:23 < emeb_mac> whatcha making today? 2013-01-29T07:44:31 < dongs> same old shit 2013-01-29T07:44:35 < emeb_mac> sos 2013-01-29T07:44:42 < emeb_mac> pays the bills 2013-01-29T08:01:57 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 252 seconds] 2013-01-29T08:25:37 < Viper168> I need to make cat ears.... 2013-01-29T08:25:55 < Viper168> ones that move 2013-01-29T08:26:00 < Viper168> not for myself 2013-01-29T08:26:07 < Viper168> but for my cat 2013-01-29T08:26:31 < Viper168> then I'll pass him off as a four eared cat and become rich and powerful 2013-01-29T08:31:49 < emeb_mac> so what's the deal with writing code that gets loaded into CCM? 2013-01-29T08:32:07 < emeb_mac> it's not enough just to give it the right section attribute. 2013-01-29T08:32:33 < dongs> rly? 2013-01-29T08:32:34 < emeb_mac> because you still need to get the linker to put the code into flash and then load it to CCM at runtime. 2013-01-29T08:33:18 < emeb_mac> that's what it looks like anyway. 2013-01-29T08:33:34 < dongs> im sure keil supports one-click operation for that 2013-01-29T08:33:38 < emeb_mac> just doing an objdump on the .elf file shows the code located in CCM 2013-01-29T08:34:01 < emeb_mac> ya - the pro tools probably make it completely transparent. 2013-01-29T08:34:23 < emeb_mac> free tools = hair pulling required. 2013-01-29T08:45:22 -!- jef79m_lurking is now known as jef79m 2013-01-29T08:48:48 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-29T09:06:00 -!- jef79m is now known as jef79m_lurking 2013-01-29T09:08:40 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-29T09:19:36 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 245 seconds] 2013-01-29T09:19:52 -!- vpopov [~happylife@149.62.17.217] has joined ##stm32 2013-01-29T09:21:44 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-01-29T09:23:21 -!- jef79m_lurking is now known as jef79m 2013-01-29T09:28:57 < dongs> zippe: btw, got i2c/pwm/can stuff done if you want a couple boards your way 2013-01-29T09:34:36 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-29T09:43:19 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-29T09:46:49 -!- KennyMcCormic [~Kenny@94.28.174.216] has joined ##stm32 2013-01-29T09:50:03 -!- _BJFreeman [~bjfree@22.sub-75-244-162.myvzw.com] has joined ##stm32 2013-01-29T09:50:45 -!- _BJFreeman is now known as BJFreeman 2013-01-29T09:59:08 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 256 seconds] 2013-01-29T10:05:17 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-29T10:14:55 < dongs> fuckign hate reel changing 2013-01-29T10:20:20 < zyp> zippe, I've been using CAN and USB at the same time on F4 2013-01-29T10:27:02 -!- |sark [~|sark@p54B64F11.dip.t-dialin.net] has joined ##stm32 2013-01-29T10:33:20 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-29T10:58:44 -!- jef79m is now known as jef79m_lurking 2013-01-29T11:04:33 -!- jef79m_lurking is now known as jef79m 2013-01-29T11:21:31 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-29T11:25:49 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Ping timeout: 246 seconds] 2013-01-29T11:28:16 -!- BJFreeman [~bjfree@22.sub-75-244-162.myvzw.com] has quit [Quit: had a good time] 2013-01-29T11:30:54 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-29T11:32:42 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds] 2013-01-29T11:47:02 -!- |sark [~|sark@p54B64F11.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 2013-01-29T11:47:49 -!- |sark [~|sark@p54B6508F.dip.t-dialin.net] has joined ##stm32 2013-01-29T11:51:33 < karlp> in the fine tradition of pcbs with figurines: http://imgur.com/lgXLuLw 2013-01-29T12:19:31 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-29T12:32:44 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2013-01-29T12:32:48 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-29T12:32:48 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-29T12:32:48 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-29T12:32:51 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-29T12:37:35 < Tectu> "tradition of PCBs with figurines" what? 2013-01-29T12:38:21 < dongs> http://abusemark.com/store/images/stm32_dev.jpg yanno shit like that 2013-01-29T12:40:16 < zyp> and this: http://bin.jvnv.net/f/xlA5N.JPG 2013-01-29T12:41:54 < dongs> zyp, did you disable anonymouse uploads for jvnv 2013-01-29T12:42:02 < dongs> cause i get soem lame server eceptionm shti 2013-01-29T12:42:03 -!- |sark [~|sark@p54B6508F.dip.t-dialin.net] has quit [Read error: Operation timed out] 2013-01-29T12:42:30 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-29T12:42:36 < zyp> I haven't done anything 2013-01-29T12:43:08 < zyp> but then I'm not the one maintaining it either 2013-01-29T12:43:16 < dongs> hmm.. worked this time 2013-01-29T12:43:17 < dongs> weird 2013-01-29T12:48:44 < karlp> Tectu: emeb has one with a gi joe figure too 2013-01-29T12:49:28 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-29T12:49:28 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-29T12:49:28 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-29T12:49:31 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-01-29T12:49:45 < Tectu> karlp, need to see 2013-01-29T12:49:52 < Tectu> karlp, what's the point of that? 2013-01-29T12:50:01 < zyp> Tectu, now you know what you have to do next time you do a pcb 2013-01-29T12:50:24 * Tectu does not play with figurines 2013-01-29T12:51:00 < karlp> where can I find the data code on the 48pin package? 2013-01-29T12:51:03 <+Steffann> A good reason to buy one Tectu :P 2013-01-29T12:51:10 < karlp> errata sheet has pictures for 64 and 100 pin only? 2013-01-29T12:51:16 < Tectu> Steffann, where does one buy such figurines? 2013-01-29T12:51:25 <+Steffann> Random toy store? 2013-01-29T12:51:37 <+Steffann> And anywhere in japland 2013-01-29T12:52:00 < Tectu> switzerland dosen't feature any toystores 2013-01-29T12:52:04 <+Steffann> uh? 2013-01-29T12:52:21 < Tectu> jap 2013-01-29T12:52:27 < Tectu> you can't buy stuff like that here 2013-01-29T12:52:39 < Tectu> not those small action figures 2013-01-29T12:52:41 < Tectu> impossible 2013-01-29T12:53:21 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 245 seconds] 2013-01-29T12:54:15 -!- Steffann is now known as Steffanx 2013-01-29T12:54:35 <+Steffanx> dongs should sent all of us one :) 2013-01-29T12:54:52 < Tectu> I fully agree 2013-01-29T12:56:14 < Tectu> shipping costs from japan to switzerland: 3$, from switzerland to japan: 30$ (not kidding) 2013-01-29T12:56:54 < dongs> youre full of shit 2013-01-29T12:56:54 -!- Laurenceb_ [~Laurence@host86-171-127-131.range86-171.btcentralplus.com] has joined ##stm32 2013-01-29T12:57:03 < karlp> bleh, factory trimming values still not available in the newest hardware rev. 2013-01-29T12:57:06 < dongs> i had sent shit to and from switzerland and it cost nowehre nera that 2013-01-29T12:57:07 < dongs> near 2013-01-29T12:57:24 < karlp> "yeah man, we'll provide full factory trimming for every part" (fingers crossed) 2013-01-29T12:58:54 <+Steffanx> uh karlp ? 2013-01-29T13:00:06 < karlp> stm32l is meant to have some values written in system memory to help calibrate the temp sensor and voltage reference 2013-01-29T13:00:16 < karlp> all the reference manuals talk about it, 2013-01-29T13:00:28 < karlp> but it's "not available" in the errata sheets, 2013-01-29T13:00:40 < karlp> and the workaround is to "measure this on the customers production line and program it yourself" 2013-01-29T13:02:30 < Laurenceb_> oh god 2013-01-29T13:02:35 < Laurenceb_> facepalming hard 2013-01-29T13:03:01 < Laurenceb_> my boss just emailed an expert on vehicle crash injuries to tell his he was WRONG 2013-01-29T13:03:20 < Laurenceb_> based on misunderstanding a wikipedia page 2013-01-29T13:03:26 < dongs> lolwikipedo 2013-01-29T13:03:40 <+Steffanx> Haha 2013-01-29T13:04:09 < Laurenceb_> after i managed to get this guys help with writing vehicle datalogger analysis code 2013-01-29T13:05:21 < Laurenceb_> way 2 go 2013-01-29T13:06:08 < dongs> which you promptly opensoresed 2013-01-29T13:06:09 < dongs> good job 2013-01-29T13:06:50 < Laurenceb_> no thats not server side 2013-01-29T13:09:58 < dongs> http://d24w6bsrhbeh9d.cloudfront.net/photo/6440500_460s.jpg 2013-01-29T13:09:58 < dongs> wat 2013-01-29T13:11:34 <+Steffanx> Sure 2013-01-29T13:12:07 < Laurenceb_> seems legit 2013-01-29T13:13:19 < Laurenceb_> bbl 2013-01-29T13:15:05 -!- vpopov [~happylife@149.62.17.217] has quit [Ping timeout: 244 seconds] 2013-01-29T13:15:22 -!- Laurenceb_ [~Laurence@host86-171-127-131.range86-171.btcentralplus.com] has quit [Read error: Operation timed out] 2013-01-29T13:18:49 < dongs> oh yeah.. dp pcbs are out tomrorow 2013-01-29T13:18:55 < dongs> i lazied out and didng get stencil though 2013-01-29T13:19:03 < dongs> so need to do that 2013-01-29T13:23:31 -!- KennyMcCormic [~Kenny@94.28.174.216] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-29T13:27:33 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-29T13:34:07 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-29T13:55:26 < karlp> if I have an array of 1000 items, in gdb x /1000h will print them out in rows, 2013-01-29T13:55:42 < karlp> and print blah gives me a nice {val,val,val,val,...} 2013-01-29T13:55:47 < karlp> but it doesn't print me out all 1000? 2013-01-29T13:55:54 < karlp> anyone knwo a trick to get around that? 2013-01-29T13:55:57 < karlp> (I want to plot the data) 2013-01-29T13:57:57 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-29T13:58:15 < karlp> set print elements 0 is the magic 2013-01-29T14:00:57 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-29T14:03:27 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-29T14:03:53 < karlp> this sounds cool: http://sourceware.org/gdb/wiki/PlottingFromGDB but I can't get the attachment... :| 2013-01-29T14:05:16 <+Steffanx> Can't sign up? 2013-01-29T14:05:24 <+Steffanx> or doesn't that help you? 2013-01-29T14:05:28 < karlp> doesn't help 2013-01-29T14:05:34 <+Steffanx> hmpf 2013-01-29T14:05:37 < karlp> found it on a mailing list, trying it out now 2013-01-29T14:06:29 <+Steffanx> Yeah, looks simple 2013-01-29T14:06:44 <+Steffanx> but that's whats python does 2013-01-29T14:07:00 < zyp> hmm, link doesn't work here 2013-01-29T14:07:17 < zyp> but I guess it's matplotlib based? 2013-01-29T14:07:21 < karlp> huh, sweet, 2013-01-29T14:07:23 < karlp> gnuplot 2013-01-29T14:07:27 < karlp> no, it works... 2013-01-29T14:07:42 <+Steffanx> it just runs some commandline stuff 2013-01-29T14:08:12 < karlp> http://palmtree.beeroclock.net/~karlp/plot1d.sample.png 2013-01-29T14:08:14 < zyp> I've used matplotlib in python for most of my plotting needs, and I think it would be trivial to interface with gdb 2013-01-29T14:08:32 < Thorn> is there any arm-none-eabi-gdb with python compiled in out of the box? 2013-01-29T14:08:34 < karlp> well, there's also this apparently: http://code.google.com/p/gdb-plot/ 2013-01-29T14:08:42 <+Steffanx> of course Thorn 2013-01-29T14:09:12 < zyp> karlp, ah, neat 2013-01-29T14:09:26 < Thorn> neither sourcery nor gcc-arm-embedded have python for example 2013-01-29T14:09:38 < karlp> g-a-e hsa python on osx, but not linux :| 2013-01-29T14:09:47 < karlp> I ended up recompiling their source download 2013-01-29T14:10:03 < Thorn> nor on windows 2013-01-29T14:10:24 <+Steffanx> who uses that :P 2013-01-29T14:10:44 < karlp> here's the plto1d.gdb file for anyone else: http://palmtree.beeroclock.net/~karlp/plot1d.gdb 2013-01-29T14:10:45 -!- iR0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 248 seconds] 2013-01-29T14:10:53 -!- R0b0t1_ [~dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2013-01-29T14:27:30 < Thorn> wth. I have a function bool foo();. if I call foo(); in main() my printf breaks in a weird way (all subsequent calls). if I change that to bool tmp = foo(); the problem disappears. 2013-01-29T14:29:02 < zyp> breaks how? 2013-01-29T14:29:58 < Thorn> %04x prints 22222222 instead of 0000 and 2222a222 instead of 8000 2013-01-29T14:34:14 < Thorn> changed %04x to %04X, now output is correct every other time 2013-01-29T14:35:04 <+Steffanx> heh 2013-01-29T14:36:38 < Thorn> it's highly unlikely I have a stack overflow or something 2013-01-29T14:37:07 < Thorn> guess a long gdb session is indicated 2013-01-29T14:43:31 -!- jef79m is now known as jef79m_lurking 2013-01-29T14:53:08 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-29T14:53:48 < karlp> huh, gdb plot thing doesn't like repeated prints in gdb output 2013-01-29T15:03:52 < jpa-> Steffanx: please tell, which one? 2013-01-29T15:04:00 < jpa-> (except whatever karlp said) 2013-01-29T15:06:56 <+Steffanx> Uh what do you mean jpa- ? 2013-01-29T15:09:29 < zyp> my only data points are that both yagarto and gcc-arm-embedded comes with python support on os x 2013-01-29T15:09:32 < jpa-> 14:08:42 <+Steffanx> of course Thorn 2013-01-29T15:10:16 <+Steffanx> Yes, what zyp said 2013-01-29T15:10:18 < jpa-> my data points are that neither gcc-arm-embedded nor codesourcery come with python support on linux 2013-01-29T15:10:28 < jpa-> so mac only :F 2013-01-29T15:10:52 < zyp> sounds like it 2013-01-29T15:10:53 <+Steffanx> He didn't talk about linux ( and i didn't know they don't come with python on linux ) 2013-01-29T15:10:54 < emeb_mac> errr - wat? 2013-01-29T15:11:11 <+Steffanx> tat 2013-01-29T15:11:15 < zyp> though, it's trivial to recompile gdb with python support 2013-01-29T15:11:26 < emeb_mac> g-a-e 4.7 gdb has python support IIRC 2013-01-29T15:11:33 < zyp> emeb_mac, only on OS X 2013-01-29T15:11:44 < emeb_mac> huh 2013-01-29T15:12:07 < emeb_mac> could have sworn I tried it on linux... 2013-01-29T15:12:10 < zyp> linux build is built without, due to all the variation in python versions shipped with different linux distributions 2013-01-29T15:12:20 < zyp> or something like that 2013-01-29T15:12:23 <+Steffanx> Haha, i love that 2013-01-29T15:12:45 < emeb_mac> dongs will love it more. :) 2013-01-29T15:14:26 < emeb_mac> zyp: any idea what needs to be done when linking to allow putting code into ccm? 2013-01-29T15:15:30 < emeb_mac> obviously startup code needs to copy from flash to ccm, but how to tell that to linker? 2013-01-29T15:17:09 < zyp> just as .data 2013-01-29T15:17:35 < zyp> you need a new section, call it .ccmtext or something 2013-01-29T15:18:34 < zyp> then it need to be set to «> ccm AT > flash», so you get different LMA and VMA, then export those addrs to linker script so it can be copyed 2013-01-29T15:18:50 < jpa-> not sure if you can use the gcc attributes to place it into .data without modifying linker script 2013-01-29T15:19:29 < zyp> well, .data does not go into ccm usually 2013-01-29T15:19:36 < emeb_mac> right 2013-01-29T15:19:44 < jpa-> ah, true 2013-01-29T15:19:58 < emeb_mac> the current linker script warns that the startup code needs to be modified to support ccm 2013-01-29T15:20:19 < jpa-> sounds right 2013-01-29T15:20:19 < zyp> jpa-, but the mechanism for copying .ccmtext to ccm is equivalent to copying .data to sram 2013-01-29T15:20:25 < jpa-> yep 2013-01-29T15:20:34 < zyp> emeb_mac, of course 2013-01-29T15:21:23 < emeb_mac> need to study the startup code to understand where it gets the start/length info for the different copy sections. 2013-01-29T15:21:24 < zyp> http://cgit.jvnv.net/laks/tree/startup/entry.cpp <- copying .data is lines 24-30, need another loop like that to copy ccm 2013-01-29T15:22:13 < jpa-> emeb_mac: it comes from exported symbols, ccm_end = .; or similar in the linker script 2013-01-29T15:22:15 < zyp> it's pretty straight forward, and shouldn't be much harder in other startup code 2013-01-29T15:22:33 < zyp> and yes, all the extern variables come from the linker script 2013-01-29T15:23:20 < emeb_mac> ok, so those should just be there when it starts running & you can reference them. 2013-01-29T15:23:34 < emeb_mac> (looking at how yours did it...) 2013-01-29T15:24:18 < jpa-> those are there already in linker stage 2013-01-29T15:24:24 < jpa-> because they are global symbols 2013-01-29T15:24:25 < emeb_mac> right 2013-01-29T15:24:42 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 252 seconds] 2013-01-29T15:25:22 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-29T15:31:23 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-01-29T15:31:35 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-29T15:32:49 * Laurenceb is investigating F3 SDR 2013-01-29T15:33:07 < Laurenceb> i think its probably limited by memory bandwidth 2013-01-29T15:33:56 < jpa-> does F3 have CCM? 2013-01-29T15:34:01 < Laurenceb> yes 2013-01-29T15:34:11 < Laurenceb> so you can run the dsp code from CCM 2013-01-29T15:34:25 < Laurenceb> but the adcs have to access main memory over dma 2013-01-29T15:35:20 < jpa-> i assume it also has the dma fifo/burst write from F4 so that the ADC stuff will not use the bus that often 2013-01-29T15:36:07 < zyp> IIRC the F3 CCM is hooked to the instruction bus, so it's intended for code, as opposed to the F4 CCM on the data bus 2013-01-29T15:36:21 < jpa-> oh, surprising 2013-01-29T15:37:08 < zyp> not really, keep in mind that the F3 doesn't have the flash accelerator stuff that F4 has 2013-01-29T15:37:39 < Laurenceb> yeah 2013-01-29T15:37:41 < jpa-> ah, right 2013-01-29T15:37:48 < Laurenceb> so youd have dsp code running from CCM 2013-01-29T15:37:58 < Laurenceb> then adcs-> dma -> main memory 2013-01-29T15:38:07 < Laurenceb> and dsp code has to access the main memory 2013-01-29T15:38:11 < jpa-> makes laying out the program a bit annoying 2013-01-29T15:38:16 < Laurenceb> so itll bottleneck there 2013-01-29T15:38:25 < jpa-> if you have more dsp code than can easily with in CCM at once 2013-01-29T15:38:53 < Laurenceb> but.. stm32f303cbt6 has 4xfast adc 2013-01-29T15:39:13 < Laurenceb> so thats 20.56Msps 2013-01-29T15:39:15 < zyp> I wouldn't worry too much about it in the beginning 2013-01-29T15:39:24 < Laurenceb> so 10mhz bandwidth 2013-01-29T15:39:41 < zyp> write the application first, then benchmark it, and move stuff that would benefit from it to the ccm 2013-01-29T15:39:43 < Laurenceb> and you can stick two samples together 2013-01-29T15:39:54 < Laurenceb> in one 32bit... 2013-01-29T15:40:06 < zyp> I believe the most gains would be from inner loop stuff anyway 2013-01-29T15:40:10 < Laurenceb> so 10.28M dma transfers/sec 2013-01-29T15:40:20 < Laurenceb> might be feasible at 72mhz? 2013-01-29T15:41:07 < Laurenceb> then you can use the dual MAC instruction to downconvert and decimate 2013-01-29T15:41:55 < Laurenceb> so that'll take up ~21MH cycles/sec 2013-01-29T15:42:23 < jpa-> ah, no dma fifo in F3 dma 2013-01-29T15:42:53 < jpa-> that makes is a bit more demanding on the hardware 2013-01-29T15:43:18 < Laurenceb> dma fifo == hardware fifo? 2013-01-29T15:43:33 < Laurenceb> is that on F4? 2013-01-29T15:43:56 < jpa-> yeah the F4 stuff, something like that it can buffer 4 words from ADC and write them to RAM in one burst transaction 2013-01-29T15:44:28 < Laurenceb> well the adc can do master slave stuff 2013-01-29T15:44:28 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Read error: Connection reset by peer] 2013-01-29T15:44:46 < Laurenceb> and stick two samples as 16bit ints into one 32bit word 2013-01-29T15:45:05 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-29T15:45:23 < Laurenceb> looks like you could cover up to the 40M band 2013-01-29T15:45:34 < jpa-> yeah, that's cool but not quite the same as writing 4x32 bits in one memory transaction.. that way it wouldn't block so often the CPU from accessing the ram 2013-01-29T15:45:43 < Laurenceb> yeah 2013-01-29T15:46:26 < Laurenceb> once you have the dual samples in one word theres a dual mac instruction to process them all in one cycle 2013-01-29T15:46:49 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-99.pptp.stw-bonn.de] has joined ##stm32 2013-01-29T15:46:58 < Laurenceb> so you can downconvert and decimate very easily 2013-01-29T15:48:35 < jpa-> in a tight assembler loop, actually reading directly from the ADC might be faster than having DMA transfer stuff to ram and then read it from there.. but that causes all sorts of difficulties in synchronizing it 2013-01-29T15:49:04 < Thorn> GNU gdb (GNU Tools for ARM Embedded Processors) 7.4.1.20121207-cvs 2013-01-29T15:49:06 < Thorn> Python scripting is not supported in this copy of GDB. 2013-01-29T15:49:25 -!- hli [8da34b0f@gateway/web/freenode/ip.141.163.75.15] has joined ##stm32 2013-01-29T15:51:07 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 244 seconds] 2013-01-29T15:51:35 < Laurenceb> jpa-: maybe faster 2013-01-29T15:51:51 < Laurenceb> but its a pita to synchronise 2013-01-29T15:52:08 < Laurenceb> dma lets the processor multitask and do other stuff 2013-01-29T15:52:48 < Laurenceb> if you have 21M words/sec coming in its kind of hard to do with an asm loop and no dma 2013-01-29T15:52:49 < jpa-> only if you have any time left to multitask :) 2013-01-29T15:52:52 < zyp> as in «buffer it up and defer processing to later» 2013-01-29T15:53:21 < Laurenceb> every third cycle needs to be a MAC 2013-01-29T15:53:29 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-29T15:53:50 < jpa-> and you will have some wait cycles due to congested ram bus 2013-01-29T15:53:53 < zyp> Laurenceb, when will you do memory fetches then? 2013-01-29T15:54:01 < Laurenceb> hmm 2013-01-29T15:54:10 < Laurenceb> yeah maybe it wont be feasible 2013-01-29T15:54:12 < jpa-> and yeah, load instruction takes time also :) 2013-01-29T15:54:13 < zyp> and what will you do with the result from the MAC? 2013-01-29T15:54:17 < Laurenceb> with memory being used by dma as well 2013-01-29T15:54:25 < jpa-> results you can just throw away :) 2013-01-29T15:54:27 < Laurenceb> oh thats not an issue 2013-01-29T15:54:37 < Laurenceb> you accumulate into a register 2013-01-29T15:54:51 < Laurenceb> then every few hundered samples chuck that into another buffer 2013-01-29T15:55:08 < zyp> and when will you have time to do anything with the other buffer? 2013-01-29T15:55:11 < Laurenceb> oh wait 2013-01-29T15:55:15 < Laurenceb> its 21msps 2013-01-29T15:55:22 < jpa-> hmm.. what are the instruction times for pop instructions? 2013-01-29T15:55:28 < Laurenceb> so 10.28M words/sec 2013-01-29T15:55:31 < Laurenceb> more feasible 2013-01-29T15:55:41 < zyp> jpa-, depends on how much you are popping 2013-01-29T15:56:06 < Laurenceb> maybe I'll try this out on F3discovery some time 2013-01-29T15:56:08 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-29T15:56:21 < zyp> I predict a fail 2013-01-29T15:56:29 < Laurenceb> heh 2013-01-29T15:56:39 < Laurenceb> yeah its still taking the memory bus to the limit 2013-01-29T15:56:51 < zyp> I'm not too concerned about that 2013-01-29T15:57:18 < Laurenceb> what then? 2013-01-29T15:57:22 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-29T15:58:20 < zyp> I'm just wondering how you are going to keep the loop down to seven cycles per iteration with both the load, MAC, test for store, store, test for block end and prepare to process a new block 2013-01-29T15:58:21 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 244 seconds] 2013-01-29T15:58:29 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-29T15:58:41 < emeb> Laurenceb: that business of setting up code in CCM is for F3 SDR stuff you mentioned. 2013-01-29T15:58:46 < Laurenceb> hardcoding 2013-01-29T15:58:48 < Laurenceb> thats now 2013-01-29T15:58:51 < Laurenceb> *how 2013-01-29T15:59:05 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-29T15:59:09 < Laurenceb> emeb: yes? 2013-01-29T15:59:15 -!- hli [8da34b0f@gateway/web/freenode/ip.141.163.75.15] has quit [Quit: Page closed] 2013-01-29T15:59:23 < zyp> hardcoding what? «load, MAC, load, MAC, load, MAC, load, MAC» until CCM is full? 2013-01-29T15:59:27 < Laurenceb> yes 2013-01-29T15:59:30 < zyp> ha 2013-01-29T15:59:40 < Laurenceb> make inlining as long as poss 2013-01-29T16:00:00 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-29T16:00:09 < emeb> thinking of starting out slow - just 2.5MSPS for simple AM band 2013-01-29T16:00:13 < Laurenceb> then at end it shoves result into a buffer 2013-01-29T16:00:26 < Laurenceb> then some threaded/whatever code does baseband 2013-01-29T16:00:42 < emeb> right. 2013-01-29T16:00:58 < Laurenceb> you need to load a new multiply value as well tho 2013-01-29T16:01:07 < Laurenceb> maybe not every iteration 2013-01-29T16:01:21 < jpa-> yeah loop unrolling will help 2013-01-29T16:02:02 < Laurenceb> emeb: you might just be able to get up to 40M band 2013-01-29T16:02:22 < emeb> yup 2013-01-29T16:02:28 < jpa-> load word is 2 cycles, load multiple is 1 + N cycles.. so it may be useful to load all registers full of data, MAC that and then load again 2013-01-29T16:02:40 < Laurenceb> yeah 2013-01-29T16:02:54 < Laurenceb> or use some of the variants of the dual mac instruction 2013-01-29T16:03:14 < emeb> this is where you spot the difference between ARM pseudo-DSP and a real DSP with multiple operand busses. 2013-01-29T16:03:23 < zyp> :) 2013-01-29T16:04:24 < Laurenceb> where the hell did the instruction set documentation go on the arm site? 2013-01-29T16:04:37 < jpa-> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/CHDDIGAC.html 2013-01-29T16:06:01 < Laurenceb> yeah theres SMLSD and stuff 2013-01-29T16:07:44 < jpa-> it just might work, because you can get close to 1 cycle per sample with long unrolling and loading all registers full 2013-01-29T16:08:03 < Laurenceb> yeah 2013-01-29T16:08:13 < Laurenceb> and its 20.something M sps 2013-01-29T16:08:19 < Laurenceb> *Msps 2013-01-29T16:08:50 < Laurenceb> unless of course you go to <12bits 2013-01-29T16:09:05 < Laurenceb> but thats not a good idea for wideband sdr anyway 2013-01-29T16:09:21 < emeb> no sense throwing away dynamic range 2013-01-29T16:09:29 < Laurenceb> yeah 2013-01-29T16:09:53 < Laurenceb> the 8bit adc on my cc1020 sdr is bad enough for that 2013-01-29T16:10:00 < Laurenceb> and only 3MHz bandwidth or so 2013-01-29T16:10:43 < emeb> so you planning a real IF input -> complex mixer -> complex decimating filter ? 2013-01-29T16:10:57 < Laurenceb> yes 2013-01-29T16:11:02 < Laurenceb> but not IF input 2013-01-29T16:11:05 < Laurenceb> just RF 2013-01-29T16:11:10 < jpa-> load 12 registers, 12x dual-MAC is 25 cycles.. loop test + jump is 4 more, so 29 cycles out of 12 * 72 / 20 = 43 available 2013-01-29T16:11:40 < jpa-> ah, but for dual mac you will need to load the SIN table also 2013-01-29T16:11:55 < Laurenceb> yes 2013-01-29T16:11:56 < emeb> and compute the NCO 2013-01-29T16:12:01 < Laurenceb> and if its complex 2013-01-29T16:12:06 < Laurenceb> emeb: no 2013-01-29T16:12:11 < Laurenceb> that can be hardcoded 2013-01-29T16:12:16 < jpa-> or precomputed 2013-01-29T16:12:17 < Laurenceb> or precomputed 2013-01-29T16:12:18 < emeb> fixed LO? 2013-01-29T16:12:19 < Laurenceb> yes 2013-01-29T16:12:59 < emeb> so sacrifice frequency agility for bandwidth 2013-01-29T16:13:52 < Laurenceb> hmm 2013-01-29T16:14:00 < Laurenceb> if the sin table is preloaded 2013-01-29T16:14:07 < Laurenceb> and the complex mac is hardcoded 2013-01-29T16:14:32 < Laurenceb> then load + 2xdual MAC per dual sample 2013-01-29T16:15:07 < Laurenceb> you could have code running from flash that directly generates the asm and loads into CCM 2013-01-29T16:15:15 < jpa-> btw.. if you interleave 4 ADCs.. and each takes 14 cycles to convert.. the sample times will not be evenly spaced 2013-01-29T16:15:29 < Laurenceb> sure 2013-01-29T16:15:34 < Laurenceb> than thats what you want 2013-01-29T16:15:40 < Laurenceb> oh wait 2013-01-29T16:15:55 < Laurenceb> no you can fix that by initialising carefully 2013-01-29T16:15:59 < jpa-> you can probably compensate for that in the sine table 2013-01-29T16:16:01 < Laurenceb> ive done similar tricks on F1 2013-01-29T16:16:10 < jpa-> initializing what carefully? 2013-01-29T16:16:25 < Laurenceb> oh 2013-01-29T16:16:31 < jpa-> when the processor runs at 72 MHz, there is no way to space 20.xx MSps samples evenly :) 2013-01-29T16:16:31 < Laurenceb> as 7/2=3.5? 2013-01-29T16:16:35 < Laurenceb> yes 2013-01-29T16:16:43 < Laurenceb> add some jitter :P 2013-01-29T16:16:49 < Laurenceb> in the sine table 2013-01-29T16:16:57 < jpa-> yeah 2013-01-29T16:17:09 < jpa-> 3 clocks, 4 clocks, 3 clocks, 4 clocks 2013-01-29T16:17:10 < Laurenceb> or if you want to be clever, copy the code from numerical recepies 2013-01-29T16:17:13 < emeb> but you'll need the jitter in the filter coeffs too. 2013-01-29T16:17:51 < Laurenceb> theres a section in numerical recipes in c on this sort of problem 2013-01-29T16:20:38 < emeb> better to just slow the ADC down to space samples uniformly. 2013-01-29T16:21:34 < jpa-> so.. load 6 registers of ADC data; load 6 registers of SIN data; 6x dual-MAC.. that's 20 cycles out of 43 available (my previous one should have said '86 available') 2013-01-29T16:22:05 < jpa-> i don't think that doing the 3,4,3,4 on the sin table is difficult at all 2013-01-29T16:22:17 < jpa-> you will be precomputing it anyway 2013-01-29T16:22:53 < jpa-> (and the problem at wrap-over will be the same anyway, you will need to balance between frequency accuracy and length of table) 2013-01-29T16:24:00 < emeb> but don't forget that the decimating filter coeffs will also have to compensate for non-uniform sampling. 2013-01-29T16:24:07 < Laurenceb> if you setup the CCM with a predifined frequency 2013-01-29T16:24:23 < Laurenceb> then you can preload with inline hardcoded data 2013-01-29T16:25:57 < emeb> what kind of decimation ratio are you thinking? 2013-01-29T16:26:05 < zyp> does your instructions take immediate operands ten? 2013-01-29T16:26:09 < zyp> then* 2013-01-29T16:26:26 < jpa-> is there a decimating filter somewhere? i thought laurenceb would just do sum(input * e^ix) for a bunch of samples and call that decimation even if it is not most accurate 2013-01-29T16:26:50 < emeb> jpa-: oh - just a boxcar / integrate&dump? 2013-01-29T16:26:55 < Laurenceb> yes 2013-01-29T16:26:55 < jpa-> yeah 2013-01-29T16:27:08 < Laurenceb> or you could do some sort of envelope and interleave slightly 2013-01-29T16:27:11 < emeb> not the greatest filter response, but yeah, that doesn't care. 2013-01-29T16:27:15 < Laurenceb> but thats more cycles 2013-01-29T16:27:43 < jpa-> yeah, 1/2 block overlap would be quite easy also (just integrate & dump for N/2 samples and then process the outputs from that) 2013-01-29T16:30:06 < jpa-> bah... university assignment: "integrate this gyro data.. oh btw we set gyro_y = 0 and gyro_z = 0 to make it easier" the lecture was all about DCM and quaternions and all that stuff, but now there is only X data so should i just do 1-D integration or not? 2013-01-29T16:30:27 -!- _BJFreeman [~bjfree@98.sub-75-196-59.myvzw.com] has joined ##stm32 2013-01-29T16:31:36 -!- _BJFreeman is now known as BJFreeman 2013-01-29T16:34:18 < zyp> heh 2013-01-29T16:36:24 < emeb> hmmm... have F3 ADC DMA stuff set up... 2013-01-29T16:37:24 < emeb> seem to be getting DMA IRQs. 2013-01-29T16:48:55 < Laurenceb> im wondering how memory contention is resolved on F3 2013-01-29T16:49:39 < zyp> by having all the children sitting in a ring waiting for their turn 2013-01-29T16:50:03 < Laurenceb> so core doesnt have any higher priority? 2013-01-29T16:50:15 < zyp> dunno 2013-01-29T16:52:44 < Laurenceb> The bus matrix implements round-robin scheduling, thus ensuring at least half 2013-01-29T16:52:44 < Laurenceb> of the system bus bandwidth (both to memory and peripheral) for the CPU. 2013-01-29T16:53:55 < emeb> ok - looks like the existing linker script has all the right lma/vma stuff for ccmram 2013-01-29T16:54:34 < emeb> creates the _sccmram, _eccmram and _siccmram symbols. 2013-01-29T16:54:35 < Laurenceb> sounds fun 2013-01-29T16:55:04 < emeb> just need to modify the startup code to copy from those symbols. 2013-01-29T16:57:52 -!- daku is now known as DaKu 2013-01-29T16:58:44 < emeb> meh - don't know ARM assembly well enough to make sense of this. 2013-01-29T16:59:15 < Laurenceb> heh 2013-01-29T16:59:47 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Quit: Ex-Chat] 2013-01-29T17:00:32 < emeb> http://pastebin.com/jVtpfcYx 2013-01-29T17:01:03 < emeb> line 39 looks like it skips over the start of the loop 2013-01-29T17:02:34 < zyp> it skips over the body of the loop, down to the comparison present after the loop, and then line 52 jumps back and executes the body after doing the comparison once 2013-01-29T17:02:50 < emeb> yeah... starting to grok that. 2013-01-29T17:03:14 < zyp> code looks a bit weird 2013-01-29T17:03:15 < emeb> so 42-45 are the body of the loop 2013-01-29T17:03:34 < zyp> yep 2013-01-29T17:03:51 < emeb> that's taken from the startup code that ships in the StdPeriph examples. 2013-01-29T17:03:51 < zyp> it's using r1 as a counter starting from 0, and then adds that to the base addrs in the other registers 2013-01-29T17:03:59 < zyp> instead of just incrementing the base addrs 2013-01-29T17:04:14 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 256 seconds] 2013-01-29T17:04:26 < emeb> probably it's compiler output that was hand-massaged. 2013-01-29T17:04:38 < zyp> i.e. instead of *dst++ = *src++; it's doing dst[i] = src[i]; i++; 2013-01-29T17:05:25 < emeb> right 2013-01-29T17:06:25 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-29T17:06:37 < zyp> it's also reloading r0 and r3 every iteration, even though they are unchanged 2013-01-29T17:06:45 < emeb> derp 2013-01-29T17:08:08 -!- TeknoJuce [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-29T17:08:33 -!- TeknoJuce [~NonaSuomy@bas1-london15-2925075642.dsl.bell.ca] has joined ##stm32 2013-01-29T17:08:33 -!- TeknoJuce [~NonaSuomy@bas1-london15-2925075642.dsl.bell.ca] has quit [Changing host] 2013-01-29T17:08:33 -!- TeknoJuce [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-29T17:09:18 -!- NonaSuomy_ [~NonaSuomy@bas1-london15-2925075642.dsl.bell.ca] has joined ##stm32 2013-01-29T17:10:45 -!- NonaSuomy [~NonaSuomy@69.158.165.12] has joined ##stm32 2013-01-29T17:10:45 -!- NonaSuomy [~NonaSuomy@69.158.165.12] has quit [Changing host] 2013-01-29T17:10:45 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-29T17:10:59 < emeb> holy crap - it worked. :) 2013-01-29T17:11:35 < emeb> now have ADC DMA ISR running out of CCM 2013-01-29T17:11:36 < Laurenceb> running from ccm? 2013-01-29T17:11:45 < Laurenceb> nice, how did you set it up?> 2013-01-29T17:12:14 < Laurenceb> __attribute__ stuff? 2013-01-29T17:12:39 < emeb> yeah: void DMA1_Channel1_IRQHandler(void) __attribute__ ((section (".ccmram"))); 2013-01-29T17:12:45 -!- TeknoJuce [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Ping timeout: 244 seconds] 2013-01-29T17:12:49 < Laurenceb> simple :P 2013-01-29T17:13:01 < emeb> yup. Then added init code to startup 2013-01-29T17:13:35 < Laurenceb> now you need to code a downconvertor/decimator 2013-01-29T17:13:47 -!- NonaSuomy_ [~NonaSuomy@bas1-london15-2925075642.dsl.bell.ca] has quit [Ping timeout: 244 seconds] 2013-01-29T17:13:53 < emeb> http://pastebin.com/pUgbF8iP 2013-01-29T17:14:11 < emeb> yeah - needs tuner / filter now 2013-01-29T17:16:45 < Laurenceb> you could interleave and do blackmann-harris or something 2013-01-29T17:16:50 < Laurenceb> to be hardcore 2013-01-29T17:17:46 < Laurenceb> also f3 fast adc has a differential mode 2013-01-29T17:17:53 < Laurenceb> might help with ant interfacing 2013-01-29T17:19:00 < emeb> Yeah - was thinking about differential as that's also good for noise immunity from on-chip crap. 2013-01-29T17:19:25 < Laurenceb> whtever you do you'll need a gain stage on the front 2013-01-29T17:19:32 < emeb> No doubt. 2013-01-29T17:19:36 < Laurenceb> maybe with pga using the dac or something 2013-01-29T17:20:03 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-29T17:20:15 < Laurenceb> maybe you could use analogue watchdog to detect clipping 2013-01-29T17:20:36 < emeb> Oh - for AGC. 2013-01-29T17:20:43 < Laurenceb> yes 2013-01-29T17:23:21 < emeb> yeah - need to start thinking about the interfaces at some point. 2013-01-29T17:23:55 < Laurenceb> tube amplifier obviously 2013-01-29T17:24:00 < Laurenceb> for audiophools 2013-01-29T17:24:12 < emeb> t0000bes!!!11!!eleventy!!1 2013-01-29T17:24:46 <+Steffanx> I agree emeb 2013-01-29T17:34:22 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2013-01-29T17:34:50 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-29T17:35:00 < emeb> Steffanx: what's going on there in NL? Royalty abdicating, Philips sells off consumer electronics. Everything's going to heck! 2013-01-29T17:35:32 <+Steffanx> Royalty abdicating: can't care less 2013-01-29T17:35:37 <+Steffanx> Philips.. is dead anyway 2013-01-29T17:35:39 < Laurenceb> ooh chibios now has proper F3 support 2013-01-29T17:35:42 <+Steffanx> Commercial crap 2013-01-29T17:35:43 < Laurenceb> nice 2013-01-29T17:35:58 -!- NonaSuomy [~NonaSuomy@69.158.165.12] has joined ##stm32 2013-01-29T17:35:59 -!- NonaSuomy [~NonaSuomy@69.158.165.12] has quit [Changing host] 2013-01-29T17:35:59 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-29T17:36:26 <+Steffanx> I bet philips will die eventually emeb 2013-01-29T17:36:56 < emeb> Steffanx: yep. just another "zombie brand", like Zenith / RCA / etc. 2013-01-29T17:36:59 < Laurenceb> "ABN Amro analysts said the disposal would focus Philips’ consumer lifestyle unit on “health and well-being” and “put the portfolio back to a growth trajectory”." 2013-01-29T17:37:01 < Laurenceb> lolz 2013-01-29T17:37:33 < emeb> analysts - rectal/cranial inversions. 2013-01-29T17:39:43 -!- jef79m_lurking is now known as jef79m 2013-01-29T17:39:53 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-29T17:40:17 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-29T17:44:02 < Laurenceb> http://rectcraninversion.tripod.com/ 2013-01-29T17:44:42 <+Steffanx> And Laurenceb uses google again :( 2013-01-29T17:46:40 * emeb hesitates to click 2013-01-29T17:47:18 <+Steffanx> No need to 2013-01-29T17:47:45 <+Steffanx> I bet you won't miss anything 2013-01-29T17:49:00 < Thorn> if you have void f(uint8_t param);, what is actually passed when you call f(foo) - a byte or a word? 2013-01-29T17:50:56 < dongs> isnt first few args in registers 2013-01-29T17:51:02 < dongs> and then the rest on stack 2013-01-29T17:51:39 < Thorn> assuming there's a char parameter that is passed on the stack 2013-01-29T17:51:51 < Thorn> how many bytes will it take? 2013-01-29T17:54:04 < Thorn> (I think you can't even place one byte onto the stack in cortex-m actually, 2 low bits of sp are always 0) 2013-01-29T17:54:38 < Laurenceb> hmm chibios init still failing with TNT 2013-01-29T17:56:28 < Laurenceb> fill32 is breaking 2013-01-29T17:56:31 < Laurenceb> p/x __main_stack_base__ 2013-01-29T17:56:31 < Laurenceb> $2 = 0x55555555 2013-01-29T17:56:35 < Laurenceb> doesnt look sane? 2013-01-29T18:01:09 -!- jef79m is now known as jef79m_lurking 2013-01-29T18:02:55 < Laurenceb> wait wtf 2013-01-29T18:02:59 < Laurenceb> main is returning 2013-01-29T18:03:28 < gxti> shut. down. EVERYTHING. 2013-01-29T18:04:21 < Laurenceb> time for dis asm 2013-01-29T18:04:39 < Laurenceb> yeah main is never called by init 2013-01-29T18:06:01 < zippe> Thorn: You should read the ARM EABI doc at some point 2013-01-29T18:06:38 < zippe> simple version: first four args are in registers, then stacked right-to-left 2013-01-29T18:06:57 < zippe> except for varargs, they are always stacked 2013-01-29T18:07:35 < zippe> for c++, 'this' is always passed as the first arg 2013-01-29T18:07:58 < zyp> sounds like he's just not calling printf with enough arguments 2013-01-29T18:08:11 < zippe> Laurenceb: is 'fill32' something that looks like memset internally? 2013-01-29T18:08:22 < Laurenceb> yes 2013-01-29T18:08:26 < Laurenceb> looks like it works fine 2013-01-29T18:08:33 < Laurenceb> its the call to main that fails 2013-01-29T18:08:47 < Laurenceb> reset handler just continues with the _exit code 2013-01-29T18:09:27 < Thorn> zyp: that's a negative 2013-01-29T18:10:21 < Thorn> the problem went away when I #included my can.h, it has this function prototype: bool can_tx_std(uint16_t id, uint8_t *data, uint8_t size); 2013-01-29T18:10:42 < Thorn> although that function itself has always worked correctly 2013-01-29T18:11:17 < Laurenceb> http://pastebin.com/HTNv1RuN 2013-01-29T18:11:47 < Laurenceb> http://pastebin.com/1kP83Bpz 2013-01-29T18:11:55 < Laurenceb> first == GAE, works ok 2013-01-29T18:12:04 < Laurenceb> second == TNT, main never called 2013-01-29T18:16:27 <+dekar> step through it and see where it goes to? 2013-01-29T18:16:37 < Laurenceb> it steps right over main 2013-01-29T18:16:51 < Laurenceb> yet i can break where main is called 2013-01-29T18:16:54 < Laurenceb> weird 2013-01-29T18:17:13 < Laurenceb> Breakpoint 6, ResetHandler () at ChibiOS/os/ports/GCC/ARMCMx/crt0.c:337 2013-01-29T18:17:13 < Laurenceb> 337 main(); 2013-01-29T18:17:33 < Laurenceb> it never enters main and continues on to exit code 2013-01-29T18:18:16 < Laurenceb> (gdb) s 2013-01-29T18:18:16 < Laurenceb> 342 funcpp_t fpp = &__fini_array_start; 2013-01-29T18:18:30 < zyp> try si instead of s 2013-01-29T18:18:38 < Laurenceb> ok 2013-01-29T18:28:38 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-29T18:31:50 < Laurenceb> 0x00000000 in ?? () 2013-01-29T18:31:52 < Laurenceb> wtf 2013-01-29T18:32:23 -!- barthess [~barthess@178.154.14.247] has joined ##stm32 2013-01-29T18:38:53 < Laurenceb> ok found it 2013-01-29T18:38:57 < Laurenceb> an isr is missing 2013-01-29T18:39:11 < Laurenceb> it gets top main and initialises the usb and the first thread 2013-01-29T18:39:43 < Laurenceb> then it gets unhandles isr in the middle of some 100ms delay code that waits for hardware to start running 2013-01-29T18:51:58 < Laurenceb> yeah TNT is screwing something up with interrupts 2013-01-29T18:52:08 < Laurenceb> all the vector table is present and correct 2013-01-29T18:52:09 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-29T18:52:17 < dirty_d> i think i have OCD 2013-01-29T18:52:21 < Laurenceb> but something seems to have gone wrong with the ISr cod eitself 2013-01-29T18:52:31 < Laurenceb> shrug 2013-01-29T18:52:36 < Laurenceb> i dont care any more 2013-01-29T18:52:41 < Laurenceb> ill use GAE 2013-01-29T18:52:42 < dirty_d> im trying to come up with a neat way to work with regs in c++11 2013-01-29T18:52:44 < Laurenceb> for chibios 2013-01-29T18:53:06 < dirty_d> i dont like how this is turning out http://ideone.com/1mbNu2 2013-01-29T18:53:29 < dirty_d> struct COUNT_RX and void test () are where to look 2013-01-29T18:53:44 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 272 seconds] 2013-01-29T18:53:57 < Laurenceb> TNt must be optimising something away... 2013-01-29T18:53:59 < Laurenceb> ohhhhhhhhhhhhhh 2013-01-29T18:54:06 < Laurenceb> dekar mentioned this 2013-01-29T18:54:15 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-29T18:54:24 < Laurenceb> you need to change something with the ISR headers.. 2013-01-29T18:54:39 < Laurenceb> and i forgot what.. but thatd mean changing chibios code 2013-01-29T18:55:54 < karlp> hey Laurenceb you're a matlab geek, if I have octave, can I load a .mat data dump file and easily get some stats on it? 2013-01-29T18:57:13 < Laurenceb> usually 2013-01-29T18:57:18 < Laurenceb> there may be a few issues 2013-01-29T18:57:35 < Laurenceb> but if you are lucky it will just be some syntax changes 2013-01-29T18:58:19 < karlp> so, I have a chunk of points, that's meant to be a sine wave, 2013-01-29T18:58:41 < karlp> I want it (octave, gnuplot, et al) to tell me the rms value 2013-01-29T18:59:02 < karlp> it's offset so all poitns are aroound 500 or so, 2013-01-29T18:59:17 < karlp> gnuplot's fit is telling me the offset nicely, but I'm not getting the rest out 2013-01-29T19:00:32 < Laurenceb> try std ? 2013-01-29T19:00:55 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2013-01-29T19:05:35 < karlp> load just says nothing, how do I knwo where it put the data? 2013-01-29T19:07:38 < Laurenceb> data=load("data.csv"); 2013-01-29T19:08:00 < emeb> or just do a "who" to find out vars are there. 2013-01-29T19:08:47 < karlp> ok, somethings needed quoting some things didn't 2013-01-29T19:08:49 < karlp> thanks :) 2013-01-29T19:16:32 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 272 seconds] 2013-01-29T19:19:04 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-29T19:36:09 -!- vpopov [~happylife@149.62.17.217] has joined ##stm32 2013-01-29T19:37:49 <+dekar> Laurenceb, KEEP(*(.isr_vector)) in the linkerscript 2013-01-29T19:37:58 < Laurenceb> ah ok 2013-01-29T19:38:02 < Laurenceb> yeah that was it 2013-01-29T19:39:26 < Laurenceb> yeah doesnt look like chibios uses that 2013-01-29T19:39:44 < Laurenceb> ill retry tomorrow, time to head home now 2013-01-29T19:42:01 < gxti> interesting 2013-01-29T19:42:08 < gxti> i built my chibios stuff in tnt and it works fine 2013-01-29T19:42:22 < gxti> lots of timer interrupts, dma, etc 2013-01-29T19:43:28 < Laurenceb> latest TNT? 2013-01-29T19:43:40 < gxti> no, using the tarball from last week 2013-01-29T19:43:43 < Laurenceb> ok 2013-01-29T19:43:47 < Laurenceb> using usb? 2013-01-29T19:43:50 < gxti> fwiw i don't have an isr_vectors, mine is called 'vectors' 2013-01-29T19:43:55 < gxti> which does have a KEEP in my ld 2013-01-29T19:44:01 < gxti> no usb 2013-01-29T19:44:07 < Laurenceb> oh 2013-01-29T19:44:13 < Laurenceb> im using chibios lb script 2013-01-29T19:44:17 < Laurenceb> and usb on F4 2013-01-29T19:44:23 < Laurenceb> bbl 2013-01-29T19:44:26 < Laurenceb> *ld 2013-01-29T19:44:29 < gxti> i started with a chibi one, on f1 using eth mac 2013-01-29T19:44:36 < gxti> don't think i had to change any KEEPs 2013-01-29T19:48:11 < gxti> looks like the f4 vectors and ldscript are also called 'vectors' and look correct 2013-01-29T19:48:23 < gxti> in chibios 2.4.2 at least isr_vector is not present anywhere 2013-01-29T19:52:32 <+dekar> I just took that from my linkerscript, I don't use chibios 2013-01-29T19:57:42 < gxti> k, might be a red herring then 2013-01-29T19:57:52 < gxti> all i know is tnt WorksForMe (tm) 2013-01-29T19:58:01 < gxti> ... or so i think 2013-01-29T19:58:14 < gxti> seems unlikely that specific vectors wouldn't work though 2013-01-29T19:59:04 < gxti> Laurenceb: the one major problem i had with chibios ldscript is that it loads data incorrectly, so if your problem could be caused by a bogus data section maybe that's it 2013-01-29T19:59:54 < gxti> Laurenceb: http://hg.partiallystapled.com/circuits/laureline/raw-file/49a80b3f7d63/code/main/src/STM32F107xB.ld 2013-01-29T20:00:01 < gxti> Laurenceb: specifically the LOADADDR(.data) bit 2013-01-29T20:01:24 < gxti> and the > ram AT > flash i think, just diff it against the F107 script that ships with chibios and it should be obvious what changed. 2013-01-29T20:02:13 < gxti> still, not obvious why it would break under tnt but work with GAE. 2013-01-29T20:03:34 <+Steffanx> You guys and your fancy domains. essentialcrap, partiallystappled .. :) 2013-01-29T20:03:41 <+Steffanx> -p 2013-01-29T20:03:52 < dongs> dont forget tarduino.cc 2013-01-29T20:03:59 <+Steffanx> Whoa, you alive?! 2013-01-29T20:04:05 < gxti> i create repos for every project i poop out so i don't want to litter bitbucket/github with them 2013-01-29T20:04:12 < gxti> they also don't do subrepos very well 2013-01-29T20:17:49 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 255 seconds] 2013-01-29T20:33:35 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-29T20:46:45 < Laurenceb> http://www.siko-uk.com/ 2013-01-29T20:46:52 < Laurenceb> unfortunately website name 2013-01-29T20:57:08 <+Steffanx> only in your world 2013-01-29T20:57:43 -!- jef79m_lurking is now known as jef79m 2013-01-29T20:59:17 < dirty_d> this wasnt fun at all, http://pastebin.com/4TaS9m4h 2013-01-29T21:00:20 < gxti> yo dawg, we herd u liek namespaces 2013-01-29T21:01:35 < dirty_d> lol 2013-01-29T21:01:45 <+Steffanx> heh dirty_d 2013-01-29T21:02:31 < dirty_d> i suppose its better than just defines 2013-01-29T21:02:41 < zyp> *yawn* 2013-01-29T21:02:48 <+Steffanx> Or just an enum? 2013-01-29T21:02:56 < dirty_d> since you can using namespace USB::ERP; if you want 2013-01-29T21:02:57 < zyp> or just http://cgit.jvnv.net/laks/tree/usb/f1_usb_def.h 2013-01-29T21:03:13 <+Steffanx> Some dont like to use magical constants zyp :) 2013-01-29T21:03:32 < dirty_d> i wanted it make all the bitwise operations be understandable just by looking at it 2013-01-29T21:03:53 <+Steffanx> I guess dirty_d worked on that framework from atmel as well 2013-01-29T21:04:11 <+Steffanx> *_bm *_bp etc. :) 2013-01-29T21:05:27 <+Steffanx> http://ideone.com/ydxMEB looks familiar dirty_d ? 2013-01-29T21:05:44 < dirty_d> usb.CNTR = (USB::CNTR::PDWN::EXIT_PDWN << USB::CNTR::PDWN_bp) | (USB::CNTR::FRES::CLEAR_RESET << USB::CNTR::FRES_bp); 2013-01-29T21:05:54 <+Steffanx> Whoa :P 2013-01-29T21:06:07 < dirty_d> is it just easy to understand because i wrote it? 2013-01-29T21:06:07 < dirty_d> lol 2013-01-29T21:06:07 <+Steffanx> Not sure if that is more readable 2013-01-29T21:06:53 < dirty_d> using USB::CNTR; usb.CNTR = (PDWN::EXIT_PDWN << PDWN_bp) | (FRES::CLEAR_RESET << FRES_bp); 2013-01-29T21:07:26 < zyp> why is the shift not incorporated in the enum already? 2013-01-29T21:07:30 < dirty_d> yea i couldnt think of a better bit-mask/bit-position suffix, lol 2013-01-29T21:07:45 <+Steffanx> You stole it from Atmel.. 2013-01-29T21:08:01 < dirty_d> Steffanx, yes 2013-01-29T21:08:05 <+Steffanx> :( 2013-01-29T21:08:15 < zyp> and all this ENTER/EXIT and DISABLED/ENABLED seems like a hassle to keep track of 2013-01-29T21:08:30 < dirty_d> zyp, because, some bits are just numeric 2013-01-29T21:08:35 < dirty_d> and i wanted to keep stuff consistent 2013-01-29T21:09:28 < dirty_d> usb.COUNT_TX = (BS_32_BYTES << BL_SIZE_bp) | (32 << NUM_BLOCK_bp) 2013-01-29T21:09:35 < dirty_d> usb.COUNT_TX = (BS_32_BYTES << BL_SIZE_bp) | (2 << NUM_BLOCK_bp) 2013-01-29T21:09:41 < dirty_d> easy to see 64 bytes 2013-01-29T21:09:56 < karlp> I don't see any 64 there... 2013-01-29T21:10:00 <+Steffanx> I see 32 bytes :) 2013-01-29T21:10:01 < dirty_d> 32 * 2 2013-01-29T21:10:08 < karlp> man, you're crazy :) 2013-01-29T21:10:15 < dirty_d> you might be right 2013-01-29T21:10:34 <+Steffanx> *might* 2013-01-29T21:10:51 < dirty_d> lol 2013-01-29T21:11:00 < dirty_d> OCD 2013-01-29T21:12:31 < zyp> what if I want to do a RMW of the register? usb.CNTR &= ~USB::CNTR::PDWN; should be enough to clear the PDWN bit, now I'd have to do usb.CNTR = (usb.CNTR & ~USB::CNTR::PDWM_bm) | (USB::CNTR::PDWN::EXIT_PDWN << USB::CNTR::PWDN_bp); 2013-01-29T21:12:38 < dirty_d> i really only intended to make enums for EP_KIND etc, but then i did everything, lol 2013-01-29T21:13:21 < dirty_d> whats RMW 2013-01-29T21:13:26 < zyp> read-modify-write 2013-01-29T21:13:34 < zyp> i.e. not touching the other contents of the register 2013-01-29T21:13:34 < dirty_d> its just 2013-01-29T21:13:53 < dirty_d> usb.CNTR &= ~USB::CNTR_bm 2013-01-29T21:14:06 < dirty_d> oops 2013-01-29T21:14:12 < dirty_d> usb.CNTR &= ~USB::PDWN_bm 2013-01-29T21:14:29 < zyp> sure, but then you're not being consistent :) 2013-01-29T21:14:32 < dirty_d> why? 2013-01-29T21:14:40 < dirty_d> _bm is t he bitmask 2013-01-29T21:14:43 < dirty_d> the others are the bit meaning 2013-01-29T21:15:26 < karlp> _bm == bit meaning or bit mask ;) 2013-01-29T21:15:38 < zyp> sure, I got that much 2013-01-29T21:16:13 < zyp> but how do you know it means EXIT_PDWN just from the mask? :) 2013-01-29T21:16:29 < zyp> and why do you have EXIT_PDWN if you already know it from the mask? :) 2013-01-29T21:16:53 < dirty_d> you dont knwo it from the mask really 2013-01-29T21:17:01 < dirty_d> 0 could be power down, and 1 power on 2013-01-29T21:17:24 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-29T21:19:06 -!- jef79m is now known as jef79m_lurking 2013-01-29T21:19:22 < karlp> zyp: where do you keep the rblog viewer script? 2013-01-29T21:20:20 < zyp> it's still sitting uncommitted in the project dir 2013-01-29T21:20:58 < zyp> tell me a good subdir name to put it in, and I'll commit it 2013-01-29T21:21:32 * karlp shrugs. in util with the rblog.h? 2013-01-29T21:22:01 -!- trepidaciousMBR_ [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-29T21:22:05 < zyp> I don't want to mix target code with host scripts 2013-01-29T21:22:10 < zyp> but gdb_plugins should do 2013-01-29T21:22:26 < karlp> well, some way of linking the two together... 2013-01-29T21:23:34 < zyp> http://cgit.jvnv.net/laks/commit/?id=4100075 <- there you go 2013-01-29T21:24:08 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Read error: Operation timed out] 2013-01-29T21:24:24 < karlp> you just source the file in gdb right? 2013-01-29T21:24:30 < zyp> yep 2013-01-29T21:26:11 -!- trepidaciousMBR_ [~trepidaci@176.62.208.227] has quit [Ping timeout: 252 seconds] 2013-01-29T21:27:11 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has quit [Ping timeout: 240 seconds] 2013-01-29T21:28:24 < Laurenceb> http://imgur.com/r/geologygonewild/9LXio 2013-01-29T21:28:27 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has joined ##stm32 2013-01-29T21:36:54 < BrainDamage> Laurenceb: http://pterocorn.blogspot.ca/2011/10/ponify.html 2013-01-29T21:37:36 -!- barthess [~barthess@178.154.14.247] has quit [Quit: Leaving.] 2013-01-29T21:37:55 < karlp> blog has two posts? 2013-01-29T21:40:57 < BrainDamage> you bothered to read that blog much more than I did then 2013-01-29T21:41:18 < BrainDamage> I read like 5 lines, and my mind classified it as Laurenceb's material -> cba to read 2013-01-29T21:42:20 < karlp> well, I skipped the rest of the post about ponyfication, 2013-01-29T21:42:31 < karlp> but it often interests me what _other_ things that sort of person woul dhave 2013-01-29T21:42:31 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has quit [Read error: Connection reset by peer] 2013-01-29T21:42:35 < karlp> and the answer was...... 2013-01-29T21:42:36 < karlp> nothing. 2013-01-29T21:42:38 < karlp> not a damn thing 2013-01-29T21:44:36 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has joined ##stm32 2013-01-29T21:51:56 -!- vpopov [~happylife@149.62.17.217] has quit [Ping timeout: 255 seconds] 2013-01-29T21:52:33 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 248 seconds] 2013-01-29T21:56:42 < dirty_d> zyp, the buffer sizes need to be equal for rx and tx sides of endpoints right? 2013-01-29T22:02:58 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 256 seconds] 2013-01-29T22:06:06 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-29T22:14:26 < zyp> not at all 2013-01-29T22:14:35 < zyp> what makes you think that? 2013-01-29T22:15:50 < zyp> each single buffer only needs to be as large as it needs to 2013-01-29T22:16:27 < zyp> which usually equals the MPS of the endpoint 2013-01-29T22:16:37 < zyp> and each direction is independent 2013-01-29T22:16:48 < zyp> (apart from EP0) 2013-01-29T22:17:42 < Erlkoenig> when using the ST USB Device Library, it assumes that the RX buffer always is as large as defined by the macro, NOT as passed in to the PrepareRx function 2013-01-29T22:17:52 < Erlkoenig> (this parameter seems to be ignored) 2013-01-29T22:19:11 < dirty_d> zyp, ahh ok 2013-01-29T22:20:54 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-29T22:39:46 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-99.pptp.stw-bonn.de] has quit [Read error: Connection reset by peer] 2013-01-29T22:42:05 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-99.pptp.stw-bonn.de] has joined ##stm32 2013-01-29T23:00:17 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-29T23:04:10 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-29T23:22:44 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-29T23:22:44 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-29T23:57:06 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has quit [Remote host closed the connection] --- Day changed Wed Jan 30 2013 2013-01-30T00:15:17 -!- jef79m_lurking is now known as jef79m 2013-01-30T00:40:31 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-01-30T00:41:59 < dirty_d> should mdw 0x40005C00 work? 2013-01-30T00:42:08 < dirty_d> thats the f1/f3 usb peripheral 2013-01-30T00:42:13 < dirty_d> i keep getting 00000000 2013-01-30T00:42:48 < dirty_d> the CNTR reg at 0x40005C40 reads back correctly though 2013-01-30T00:43:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-30T00:44:36 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-30T00:44:39 < dirty_d> even if i set it to 0xFFFFFFFF it reads back as 0 2013-01-30T00:56:25 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has joined ##stm32 2013-01-30T01:03:37 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Ping timeout: 256 seconds] 2013-01-30T01:04:35 < zyp> don't ask a question and leave right before I answer it :( 2013-01-30T01:05:11 < BrainDamage> does it irritate you? 2013-01-30T01:05:26 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has left ##stm32 ["PART ##stm32 :ISON GargantuaSauce GargantuaSauce_ vaillor"] 2013-01-30T01:05:32 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-30T01:05:32 < zyp> … 2013-01-30T01:05:36 < zyp> :p 2013-01-30T01:05:54 < zyp> I like answering questions 2013-01-30T01:06:06 < Erlkoenig> yeah it's a good feeling to actually know something 2013-01-30T01:06:13 < zyp> exactly 2013-01-30T01:07:18 < BrainDamage> my problem is that my interests usually go on weird crap 2013-01-30T01:07:33 < BrainDamage> so I kinda suck for general pourpose questions 2013-01-30T01:07:40 < zyp> I remember being puzzled of the behavior of that register myself, because I made the same observations 2013-01-30T01:07:42 < BrainDamage> or anywthing useful :p 2013-01-30T01:08:35 < Erlkoenig> another problem are people who constantly ask questions that are to be answered with "go and learn C" but who refuse to do so 2013-01-30T01:08:55 < zyp> well, rather, I like answering good questions 2013-01-30T01:09:18 < zyp> and I consider that a good question, because I had it myself when I was dealing with the USB peripheral :p 2013-01-30T01:10:23 < zyp> turns out the endpoint registers are forced to 0 until enumeration starts, so it can't just be poked by the debugger at any time 2013-01-30T01:11:22 < zyp> but if you just wait for bus reset flag, then configure them afterwards, it'll behave correctly 2013-01-30T01:12:48 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Ping timeout: 264 seconds] 2013-01-30T01:13:15 -!- barthess [~barthess@77.67.218.123] has joined ##stm32 2013-01-30T01:14:17 -!- Laurenceb_ [~Laurence@host86-179-87-31.range86-179.btcentralplus.com] has joined ##stm32 2013-01-30T01:14:30 -!- barthess [~barthess@77.67.218.123] has quit [Client Quit] 2013-01-30T01:21:15 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-30T01:30:10 -!- DaKu is now known as daku 2013-01-30T01:57:59 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-30T02:00:36 < timemob> Sup it guys 2013-01-30T02:01:09 < emeb> morning 2013-01-30T02:01:45 < Laurenceb_> i was trying to watch UTOPIA 2013-01-30T02:01:51 < Laurenceb_> think im going to vom 2013-01-30T02:02:25 < emeb> Interesting looking at downconvert/decimate: C -> http://pastebin.com/EFv4NFX6, Assy -> http://pastebin.com/9KSTYp1y 2013-01-30T02:02:44 < emeb> running @ 11us intervals the ISR takes about 8us 2013-01-30T02:02:58 < Laurenceb_> i dodnt really follow 2013-01-30T02:03:06 < Laurenceb_> whats the sample rate? 2013-01-30T02:03:24 < emeb> 25 samples / 11us IRQ period. 2013-01-30T02:03:37 < Laurenceb_> ok 2013-01-30T02:03:37 < timemob> Are you running hardcore code from ccm 2013-01-30T02:03:43 < emeb> ya 2013-01-30T02:03:47 < Laurenceb_> mul.w <- not very fast 2013-01-30T02:03:51 < emeb> no 2013-01-30T02:04:07 < emeb> gcc not being very smart 2013-01-30T02:04:14 < Laurenceb_> in b4 dongs 2013-01-30T02:04:23 < emeb> definitely needs hand tuning. 2013-01-30T02:04:35 < Laurenceb_> you could try the CMSIS dsp lib if you want to be lazy 2013-01-30T02:04:56 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Read error: Connection reset by peer] 2013-01-30T02:05:08 < emeb> how would that help? CMSIS DSP lib is supplied as C source. 2013-01-30T02:05:12 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-30T02:05:18 < Laurenceb_> iirc it has inline asm 2013-01-30T02:05:29 < emeb> hmmm... 2013-01-30T02:06:02 < Laurenceb_> ok im changing channel at the point where the schoolkids are getting shot in the head one by one 2013-01-30T02:07:01 < Erlkoenig> erm... wat?! 2013-01-30T02:07:16 < Laurenceb_> http://en.wikipedia.org/wiki/Utopia_%28TV_series%29 2013-01-30T02:07:59 < emeb> heh - one of the dudes from Misfits. 2013-01-30T02:08:12 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 272 seconds] 2013-01-30T02:08:35 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-30T02:08:37 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-01-30T02:08:44 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-01-30T02:09:00 < emeb> bad phone connection for IRC 2013-01-30T02:09:36 < Laurenceb_> they are on to you 2013-01-30T02:09:44 < Laurenceb_> hitmen arriving to kill your kids in 5 2013-01-30T02:10:07 < timemob> Good riddance 2013-01-30T02:10:50 < emeb> be nice to them - they'll pick your old-folks home. 2013-01-30T02:11:19 < timemob> Dings 2013-01-30T02:11:19 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Client Quit] 2013-01-30T02:11:25 < Laurenceb_> timetroll 2013-01-30T02:12:10 < emeb> having a really hard time figuring out exactly what this assembly is trying to do. 2013-01-30T02:12:23 < Laurenceb_> fail? 2013-01-30T02:12:41 < emeb> not very straight-forward. 2013-01-30T02:13:30 < emeb> would like to see it using the smlad type stuff, but it's not. 2013-01-30T02:14:13 < karlp> aren't you at the point of "patches welcome" to gcc? 2013-01-30T02:14:25 < emeb> lol - that's gonna happen. 2013-01-30T02:14:33 < karlp> this still counts as new hardware for gcc's optimizers doesn' tit? 2013-01-30T02:14:51 < emeb> 4.7 is supposed to handle cortex M4/F 2013-01-30T02:15:08 < emeb> I've done some testing where it did a great job too. but not here. 2013-01-30T02:15:09 < karlp> yeah, but that might mean it just knows how to use _some_ of it's hardware. 2013-01-30T02:15:30 < karlp> man, I was slowing things down today because the adc was going to fast. 2013-01-30T02:15:44 < karlp> too much speed! 2013-01-30T02:22:13 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2013-01-30T02:26:14 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-30T02:26:43 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Ping timeout: 248 seconds] 2013-01-30T02:36:19 -!- Laurenceb_ [~Laurence@host86-179-87-31.range86-179.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-30T02:40:20 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-30T02:46:16 -!- |sark [~|sark@37.247.88.155] has quit [Read error: Connection reset by peer] 2013-01-30T02:52:57 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-30T02:53:46 < dirty_d> what the actual.... 2013-01-30T02:53:59 < dirty_d> any of you have strange behavior compiling code with -O2? 2013-01-30T02:54:28 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-30T02:54:30 < dirty_d> when i compile with -O2 and read USB_ISTR it powers down my USB peripheral... 2013-01-30T02:54:32 < dirty_d> wtf 2013-01-30T02:54:35 < dirty_d> -O0 is fine 2013-01-30T02:55:29 < Erlkoenig> volatile fail? 2013-01-30T02:55:34 < dirty_d> maybe 2013-01-30T02:55:45 < dirty_d> probably 2013-01-30T02:55:46 < zyp> I'm always building with -O2 2013-01-30T02:55:54 < zyp> and I don't have any problems 2013-01-30T02:56:03 < Erlkoenig> dito 2013-01-30T02:56:16 < dirty_d> i am using volatile for soemthing silly here 2013-01-30T02:56:17 < zyp> how do you come to the conclusion that reading ISTR causes your problem? 2013-01-30T02:58:39 < dirty_d> because thats the only thing happening in my process loop 2013-01-30T02:59:17 < dirty_d> i may have overlooked something though 2013-01-30T02:59:39 < dirty_d> whats a quick way to busy loop for 1us after i turn on usb power? 2013-01-30T02:59:53 < dirty_d> i was using a volatile counter, but i guess its being optimized away 2013-01-30T03:00:21 < Erlkoenig> inline asm ;) 2013-01-30T03:00:28 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-30T03:02:24 < dirty_d> i guess i can cheat and just stick a nop in the loop body instead of being empty 2013-01-30T03:02:32 < dirty_d> it cant optimize that away right? 2013-01-30T03:02:33 < zyp> are you sure you are not turning on power too early? 2013-01-30T03:02:46 < dirty_d> zyp, i could be 2013-01-30T03:02:54 < zyp> i.e. do you have the same problem if you are not reading ISTR? 2013-01-30T03:03:51 < zyp> thing to try; throw this after setting USBEN bit in RCC, before touching any usb register: asm volatile("dmb"); 2013-01-30T03:05:07 < dirty_d> while(--cnt) { asm volatile ("nop"); } 2013-01-30T03:05:12 < dirty_d> taht wont optimize away right>? 2013-01-30T03:05:13 < dirty_d> ok 2013-01-30T03:05:16 < dirty_d> wqhats dmb 2013-01-30T03:05:51 < zyp> when you turn on optimizations, gcc might interleave the preparation of the register contents going into the various registers, and then suddenly write them out all at once as several consecutive str instructions 2013-01-30T03:06:24 < zyp> so due to pipelining and stuff, USB peripheral might not be turned on yet when the first register write hits 2013-01-30T03:06:44 < zyp> I've seen that happen with other peripherals 2013-01-30T03:07:02 < zyp> dmb is data memory barrier 2013-01-30T03:07:12 < dirty_d> hmm, still behaving different with -O2 2013-01-30T03:07:25 < dirty_d> that loop is how im delaying after turning on power 2013-01-30T03:07:27 < dirty_d> is it ok? 2013-01-30T03:07:37 < zyp> is it required? 2013-01-30T03:07:47 < dirty_d> yea you need to wait 1us after turniong on the power 2013-01-30T03:07:51 < dirty_d> before you touch anything uisb 2013-01-30T03:07:54 < dirty_d> usb 2013-01-30T03:07:59 < zyp> hmm 2013-01-30T03:08:01 < zyp> really? 2013-01-30T03:08:03 < dirty_d> yea 2013-01-30T03:08:04 < zyp> am I doing that? 2013-01-30T03:08:22 < dirty_d> page 900 2013-01-30T03:08:27 < Erlkoenig> btw, does ARM-GCC generate stm/ldm instructions for loading multiple words to/from memory apart from the function entering PUSHes and POPs (which are basically just stm/ldm)? 2013-01-30T03:08:38 < dirty_d> zyp, yea 2013-01-30T03:09:01 < zyp> ah, I am doing that 2013-01-30T03:09:45 < dirty_d> hmm, still not getting the CTR flag 2013-01-30T03:09:53 < dirty_d> my pc just says the device isnt accepting the address 2013-01-30T03:10:07 < dirty_d> which im not, but the CRT flag should at least get set right? 2013-01-30T03:10:10 < dirty_d> CTR 2013-01-30T03:10:29 < zyp> http://cgit.jvnv.net/laks/tree/usb/f1_usb.h#n66 2013-01-30T03:11:47 < zyp> oh, by the way, your question earlier 2013-01-30T03:12:04 < zyp> endpoint registers are not writable until enumeration has started 2013-01-30T03:12:25 < zyp> so the first thing you should do after enabling is wait for RESET in ISTR 2013-01-30T03:12:51 < zyp> when you get RESET, you have to configure EP0 so it's able to receive control transfers 2013-01-30T03:13:05 < dirty_d> zyp, thats exactly what im doing 2013-01-30T03:13:06 < zyp> you don't get CTR until you've done that 2013-01-30T03:13:14 < dirty_d> but the EP0 register is 0 after still 2013-01-30T03:13:37 < dirty_d> i looked at your code, and i think its working the same 2013-01-30T03:13:39 < dirty_d> but obviously not 2013-01-30T03:13:41 < zyp> well, sure, it's reset to 0 every time you get a bus reset 2013-01-30T03:15:13 < dirty_d> this is what i have, http://pastebin.com/S7ZXHgYG 2013-01-30T03:19:29 < zyp> looks mostly right 2013-01-30T03:19:44 < zyp> do you ever get the reset interrupt? 2013-01-30T03:20:33 < zyp> what's up with buf_block_size? 2013-01-30T03:20:45 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-01-30T03:20:59 < dirty_d> zyp, yes i do get the reset flag 2013-01-30T03:21:07 < dirty_d> what do you mean 2013-01-30T03:21:31 < zyp> your initEndpoint() is just weird 2013-01-30T03:21:53 < dirty_d> yea kinda, but it should work right? 2013-01-30T03:22:21 < Erlkoenig> why don't you guys use ST's USB library? 2013-01-30T03:22:23 < dirty_d> i just did that so i dont have to calculate what the block size and block count have to be 2013-01-30T03:22:43 < dirty_d> well, i still do, but its a little easier 2013-01-30T03:23:04 < zyp> dirty_d, and completely nonportable 2013-01-30T03:23:26 < dirty_d> yea, im just learning now i dont care if it only works on my board 2013-01-30T03:23:48 < zyp> fair point 2013-01-30T03:24:10 < zyp> I wrote my F4 driver first, then added F1 afterwards, so it had to follow the same API 2013-01-30T03:24:47 < dirty_d> yea 2013-01-30T03:24:51 < dirty_d> man this is strange 2013-01-30T03:25:00 < dongs> < Erlkoenig> why don't you guys use ST's USB library? 2013-01-30T03:25:01 < dongs> ha ha ha 2013-01-30T03:25:18 < dirty_d> if i stick an infinite for(;;); loop at the end of initEndpoint, mdw 0x40005C00 give me 00000000 2013-01-30T03:25:20 < dongs> because its a fucking joke, its not really a "library" just a bunch of shit clusterfucked together laurenceb-style 2013-01-30T03:25:21 < Erlkoenig> yeah tell me 2013-01-30T03:25:45 < dirty_d> something isnt right 2013-01-30T03:25:56 < Erlkoenig> ah but probably still less work to use it instead of writing a complete library all by yourself 2013-01-30T03:26:18 < zyp> Erlkoenig, I can't answer for everyone, but for me the reason is partly because I wanted to learn and partly because I wanted something fitting together with the rest of my stuff 2013-01-30T03:26:38 < Erlkoenig> ah hm okay 2013-01-30T03:26:50 < Erlkoenig> i should really consider using your laks :> 2013-01-30T03:27:10 < zyp> I'm doing this for fun, and not to actually make a product, so I choose the route that gives me the most enjoyment rather than the route that would be the fastest way to make something 2013-01-30T03:27:32 < Erlkoenig> yeah okay i wanted to "Just get an USB connection" so i went for ST's lib 2013-01-30T03:27:49 < Erlkoenig> does ChibiOS handle the STM32's USb Cores? 2013-01-30T03:27:53 < zyp> yes 2013-01-30T03:30:44 < zyp> if you consider using laks, you must keep in mind that it's not by any means mature, and while I would probably happily assist you with problems, I can't make any promises about that 2013-01-30T03:31:20 < zyp> but if that's fine by you, by all means use it, I would love to get some feedback from other users 2013-01-30T03:33:30 < Erlkoenig> yeah that's how i guessed it to be... if i find problems or missing features i'd fix/implement them if possible ;) ... but that depends on what i will do with my project... 2013-01-30T03:37:00 < dirty_d> zyp, when the hell do you set the 4 EA bits in the endpoint regs? 2013-01-30T03:37:06 < dirty_d> i see nothing about it in the manual 2013-01-30T03:37:12 < Erlkoenig> hmm ChibiOS relies on dynamic memory management/malloc, right? 2013-01-30T03:37:22 < zyp> I don't think so 2013-01-30T03:38:25 < zyp> dirty_d, http://cgit.jvnv.net/laks/tree/usb/f1_usb.h#n33 <- line 33 2013-01-30T03:40:46 < zyp> dirty_d, I just let hardware endpoint index equal endpoint address 2013-01-30T03:41:11 < dirty_d> zyp, so for ep0 its already all set right 2013-01-30T03:41:12 < zyp> there is no reason they would have to be different, so might as well just keep them equal 2013-01-30T03:41:19 < zyp> sure 2013-01-30T03:42:21 < dirty_d> hmm 2013-01-30T03:42:26 < dirty_d> what the hell am i missing 2013-01-30T03:42:34 < dirty_d> its on and enabled 2013-01-30T03:52:17 < dirty_d> zyp, you're ignoring size in your ep setup function? 2013-01-30T03:52:28 < dirty_d> count_rx and count_tx dont get set based on it 2013-01-30T03:53:13 < zyp> count_tx is set at transmit time, when I know how large frame I will transmit 2013-01-30T03:53:52 < dirty_d> ah ok 2013-01-30T03:54:01 < zyp> and the allocated size in count_rx is currently hardcoded to 64B, the rest of that field will be filled by hardware upon reception 2013-01-30T03:54:14 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-30T03:54:18 < dirty_d> right 2013-01-30T03:54:56 < zyp> I'll fix allocation size later, currently it might break under some conditions 2013-01-30T03:56:29 < dongs> zyp and his silly C++9000 usb implementation 2013-01-30T03:56:53 < zyp> it's to keep you from using it 2013-01-30T03:57:24 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-30T03:57:31 < dirty_d> lol 2013-01-30T03:57:35 < dongs> your'e doing a good job with that 2013-01-30T03:57:40 < dongs> i aint touching it 2013-01-30T04:00:10 < dirty_d> why not? 2013-01-30T04:01:12 < zyp> C++11 is too hipster for dongs 2013-01-30T04:01:19 < dongs> that 2013-01-30T04:02:29 < Erlkoenig> what features of C++11 are you using? 2013-01-30T04:02:48 < dongs> all of them 2013-01-30T04:03:14 < dirty_d> c++11 is pretty nice 2013-01-30T04:03:17 < zyp> I think variadic templates have been the most useful one so far 2013-01-30T04:03:18 < Erlkoenig> including threading api? :D 2013-01-30T04:03:23 < zyp> no. 2013-01-30T04:03:38 < Erlkoenig> hrhrhr 2013-01-30T04:04:01 < Erlkoenig> C++11 is a thing i still have to take a look at... variadic templates indeed look very useful 2013-01-30T04:04:16 < Erlkoenig> libsigc++ was written without them (because it's old) and its awful 2013-01-30T04:04:21 < Erlkoenig> it's 2013-01-30T04:05:09 < zippe> static_assert, override and auto are my personal favorites 2013-01-30T04:05:18 < zippe> Also, base types for enums. 2013-01-30T04:06:52 < dirty_d> user defined liters are kinda cool 2013-01-30T04:06:55 < dirty_d> literals 2013-01-30T04:07:14 < dirty_d> 2km, 5mi 2013-01-30T04:07:16 < dirty_d> etc 2013-01-30T04:07:29 < dirty_d> with contexpr conversions 2013-01-30T04:07:59 < zyp> I've considered using that for delay functions 2013-01-30T04:10:39 < dirty_d> useful for preventing spacecraft from crashing into planets 2013-01-30T04:22:53 < Erlkoenig> googled "realtime unix" first hit an article from 1988 2013-01-30T04:22:55 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has joined ##stm32 2013-01-30T04:23:42 < Erlkoenig> hmm looks like linux with realtime extensions is more or less the only realtime unix? 2013-01-30T04:24:17 < qyx_> qnx maybe? 2013-01-30T04:24:37 < Erlkoenig> ah indeed 2013-01-30T04:24:55 < dongs> lol plz? lunix is not realtime and never was/will be 2013-01-30T04:26:18 < Erlkoenig> yeah of course but one could come across the idea of using the same userspace API ( = POSIX API) for applications that run on an RTOS as normal PC applications, so effectively use some realtime unix 2013-01-30T04:26:25 < Erlkoenig> http://www.unix.org/version2/whatsnew/realtime.html 2013-01-30T04:27:01 < Erlkoenig> so there is a unified API across PC and embedded 2013-01-30T04:27:52 < dirty_d> zyp, this whole time i had GPIOA->AFR[2] &^#$^&*#^$& 2013-01-30T04:27:56 < dirty_d> works now 2013-01-30T04:31:43 < Erlkoenig> hm on linux kernel&userspace are tightly coupled - quite a few userspace programs (acpid, udev, etc) require certain linux kernel features, and these kernel features are useless without these userspace programs. shouldn't "system" stuff (hardware mangement, including udev and such) and the "really userspace" stuff (shell, Desktop applications, etc) be strictly seperated and only be coupled by a strict standardized API like the POSI 2013-01-30T04:31:49 < Erlkoenig> s/API/Interface 2013-01-30T04:33:18 < Erlkoenig> if this would be the case, one could easily swap the "system stuff" for an other kernel&management programs and still be able to use the same desktop programs 2013-01-30T04:40:38 < dongs> got a cubieboard delivered 2013-01-30T04:42:26 < emeb_mac> how's it look? 2013-01-30T04:43:02 < emeb_mac> allwinner-licious? 2013-01-30T04:43:09 < dongs> pretty much 2013-01-30T04:43:14 < dongs> more liek all fail 2013-01-30T04:44:01 < emeb_mac> allfailer 2013-01-30T04:49:44 -!- |sark [~|sark@37.247.88.155] has quit [Read error: Connection reset by peer] 2013-01-30T04:50:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-30T04:50:44 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-30T04:50:57 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-30T04:52:37 -!- BJFreeman [~bjfree@98.sub-75-196-59.myvzw.com] has quit [Quit: had a good time] 2013-01-30T05:01:36 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Quit: Leaving] 2013-01-30T05:17:37 -!- Erlkoenig [~erlkoenig@pptp-194-94-198-99.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-30T05:25:08 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 248 seconds] 2013-01-30T05:32:22 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-30T05:50:12 < zippe> Note to self: The Bitscope support is not worth much. 2013-01-30T05:55:16 < emeb_mac> what's wrong? 2013-01-30T05:55:55 < dongs> buttscope 2013-01-30T05:56:03 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Read error: Operation timed out] 2013-01-30T05:56:13 < dongs> another fucking EZ-USBFX2 shit? 2013-01-30T05:57:01 < dongs> well at least looks like it has some fpga in the way 2013-01-30T05:57:14 < dongs> instead of just dumping raw shit to fx2 2013-01-30T05:57:36 < zippe> emeb_mac: Their apps don't work, and they won't answer my email 2013-01-30T05:57:48 < dongs> have you tried thier apps in: windows? 2013-01-30T05:57:50 < emeb_mac> yay customer service! 2013-01-30T05:58:22 < zippe> dongs: why would I do that? 2013-01-30T05:58:36 < dongs> zippe: because thats where I would expect their apps to work 2013-01-30T05:58:44 < dongs> since thats their 99.995% userbase. 2013-01-30T05:59:13 < zippe> dongs: I didn't buy it for their Windows apps; if I wanted a Windows-based logic analyser I would have bought a real one. 2013-01-30T05:59:41 < zippe> (in fact, I already have one) 2013-01-30T06:00:14 < zippe> I was specifically looking for a network-attached 'scope with an API that I can wire up to some manufacturing automation 2013-01-30T06:04:29 < zippe> Compare / contrast with TotalPhase; their shit Just Works™ 2013-01-30T06:13:32 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Read error: Operation timed out] 2013-01-30T06:14:33 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-30T06:15:15 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-30T06:23:02 < dongs> well totalphase is not exactly a logic analyzer. 2013-01-30T06:24:01 < dongs> personally I'm *very* happy with taiwan travelogic stuff. http://www.acute.com.tw/product/la.php 2013-01-30T06:24:08 < dongs> the software is awesome 2013-01-30T06:33:04 < emeb_mac> pretty much come to the conclusion that trying to SDR in software on an F3 is pointless. 2013-01-30T06:33:11 < dongs> haha 2013-01-30T06:33:49 < emeb_mac> not enough horsepower to do the front-end tuner/filter operations with enough left over for low rate operations. 2013-01-30T06:45:45 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2013-01-30T06:46:10 -!- NonaSuomy [~NonaSuomy@69.158.165.12] has joined ##stm32 2013-01-30T06:46:11 -!- NonaSuomy [~NonaSuomy@69.158.165.12] has quit [Changing host] 2013-01-30T06:46:11 -!- NonaSuomy [~NonaSuomy@xbmc/staff/TeknoJuce] has joined ##stm32 2013-01-30T07:11:28 < zippe> dongs: I've been happy with the Intronix unit, though their site appears to be offline. Oops. 2013-01-30T07:11:51 < dongs> I think I now a guy using that 2013-01-30T07:11:55 < dongs> the gEda dude 2013-01-30T07:12:03 < dongs> the Renesas sellout 2013-01-30T07:13:00 < dongs> dj delore. 2013-01-30T07:21:34 < zippe> Oh, is that where he went? 2013-01-30T07:21:38 < zippe> Gotta make a crust I guess 2013-01-30T07:24:15 < dongs> what you mean? 2013-01-30T07:25:36 < zippe> DJD. If he sold out to Renesas, it's probably so his family could eat 2013-01-30T07:28:07 < dongs> oh, right 2013-01-30T07:28:11 < dongs> but renesas isnt exactly succeeding 2013-01-30T07:28:12 < dongs> last i checked 2013-01-30T07:31:02 < zippe> As long as they pay the bills... 2013-01-30T07:31:08 < zippe> I mean, Eric Weddington... 2013-01-30T07:33:35 < emeb_mac> didn't he work for redhat or some such? 2013-01-30T07:33:42 < emeb_mac> (djd) 2013-01-30T07:36:09 < dongs> http://www.delorie.com/users/dj/resume/ 2013-01-30T07:36:22 < dongs> still does apparently 2013-01-30T07:38:22 < dongs> though on the scale of 1 to BSD, I suspect RedHat is probably closer to BSD than Renesas 2013-01-30T07:38:32 < emeb_mac> right, although that page hasn't been updated in 5 yrs. 2013-01-30T07:38:46 < dongs> *death scale 2013-01-30T07:39:31 < gxti> i hear renesas sells a lot of product but i have no idea who is buying 2013-01-30T07:39:45 < emeb_mac> automotive? white goods? 2013-01-30T07:39:56 < gxti> and aside from that guy i have seen zero community interest 2013-01-30T07:40:03 < gxti> it's impressive, really 2013-01-30T07:40:05 < dongs> haha 2013-01-30T07:40:43 < emeb_mac> isn't there an outfit that makes BASIC-programmable modules based on H8 processors? 2013-01-30T07:43:01 < zippe> The sales guys at Renesas aren't interested in the "community" 2013-01-30T07:44:05 < zippe> http://en.wikipedia.org/wiki/Renesas_Electronics 2013-01-30T07:44:11 < zippe> And they seem to be bleeding moneuy 2013-01-30T07:44:27 < emeb_mac> This stuff: http://www.basicmicro.com/BasicATOM-Pro_c_48.html 2013-01-30T07:44:41 < emeb_mac> $60 for a crappy breakout board. 2013-01-30T07:46:45 < dongs> haha what a fucking shitheap 2013-01-30T07:47:20 < dongs> < gxti> and aside from that guy i have seen zero community interest 2013-01-30T07:47:24 < dongs> gxti: you mean delorie? 2013-01-30T07:47:30 < gxti> yes 2013-01-30T07:47:37 < dongs> before i got banned from their irc, he pushed that shit into every conversation 2013-01-30T07:48:22 < zippe> The RX looks interesting… but 100MHz is so 2010 2013-01-30T07:48:40 < zippe> "mature process" probably means 90LP 2013-01-30T07:48:51 < dongs> not arm so who really gives af uck? 2013-01-30T07:49:02 < zippe> If the compiler works, who cares? 2013-01-30T07:49:38 < zippe> btw, how's the canservo stuff going? 2013-01-30T07:49:39 < gxti> there are lots of costs in bouncing around between totally different things 2013-01-30T07:49:43 < dongs> zippe: done i guess 2013-01-30T07:49:53 < zippe> I nearly have an 11c24-based version done while I'm waiting 2013-01-30T07:50:14 < zippe> Just a bit bummed on the whole USB vs CAN thing 2013-01-30T07:50:32 < dongs> zyp said you can use usb+can on F4 2013-01-30T07:50:38 < dongs> he has done it 2013-01-30T07:51:07 < zippe> Ok, so the ref manual lies 2013-01-30T07:51:12 < dongs> < zyp> zippe, I've been using CAN and USB at the same time on F4 2013-01-30T07:51:25 < zippe> zyp: thanks! 2013-01-30T07:54:50 < dongs> zippe: anyway, hardware is done, i suspect you aren't gonna be intersted in code for keil + Stdperiphlib though :) 2013-01-30T08:00:21 < zippe> dongs: I'm flexible 2013-01-30T08:00:41 < zippe> BoM might be cheaper with 11c24, but at this point I'm more interested in proving the concept 2013-01-30T08:01:03 < zippe> Just let me know when you have a couple spare and I'll shoot you the $$. 2013-01-30T08:01:14 < dongs> whats 11c24 2013-01-30T08:01:17 < dongs> googled and didnt see anything 2013-01-30T08:01:31 < zippe> NXP CortexM0 with integrated CAN transceiver 2013-01-30T08:01:44 < dongs> oh so LPC11C24 ? 2013-01-30T08:01:55 < zippe> http://www.nxp.com/products/microcontrollers/cortex_m0/lpc11c00/ 2013-01-30T08:02:43 < zippe> CAN stack in ROM, too 2013-01-30T08:02:55 < dongs> my bom is like... $4 or something i guess 2013-01-30T08:03:13 < dongs> well, i plan to use these for i2c.pwm and pwm>ppm as well, which is primary purpose for making the hw 2013-01-30T08:03:29 < dongs> so i ahve 12 pwm io and ppm 2013-01-30T08:03:38 < dongs> can that m0 do that? 2013-01-30T08:03:55 < zippe> No; their timer block is funky; 8 hardware PWMs is the limit 2013-01-30T08:04:00 < dongs> laem 2013-01-30T08:04:12 < dongs> then that wouldnt be any improvement over my current 8ch pwm board :) 2013-01-30T08:04:23 < dongs> just waiting torun out of stock on stm8s and that wil lbe done too 2013-01-30T08:04:25 < zippe> Agreed. You burn one of their compare counters as the reload counter to set the PWM period 2013-01-30T08:05:13 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-01-30T08:26:19 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-30T08:31:28 < dongs> zippe: im getting stencils for the 2x4 panel of these shits sometime this week so i can put it through the machine, dont really feel like hand-soldering more than one. 2013-01-30T08:33:10 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-30T08:37:38 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-30T08:45:55 < dongs> http://i.imgur.com/IIa2Jjh.jpg cubiedong 2013-01-30T08:50:30 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:6178:ebb0:b1fa:afe0] has joined ##stm32 2013-01-30T08:51:37 < emeb_mac> cute 2013-01-30T09:02:36 -!- Roklobsta_ [~quassel@2001:44b8:41d3:6b00:6178:ebb0:b1fa:afe0] has quit [Remote host closed the connection] 2013-01-30T09:16:18 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 264 seconds] 2013-01-30T09:19:51 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-30T09:26:36 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has joined ##stm32 2013-01-30T09:36:43 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-30T10:09:10 < jpa-> i wonder why ST chooses the frequencies so that if you run the processor at max frequency, you can't run the ADC at max frequency 2013-01-30T10:21:16 < dongs> wut? 2013-01-30T10:21:17 < dongs> sure you can 2013-01-30T10:24:34 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-30T10:26:28 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 248 seconds] 2013-01-30T10:29:29 < zippe> jpa-: you're making the mistake of assuming the two blocks were designed at the same time 2013-01-30T10:32:20 < jpa-> still, providing a divider of /3 for the ADC on F4 would atleast have made 28 MHz possible instead of 21 MHz (max is 36 MHz) 2013-01-30T10:32:50 < jpa-> (yeah, you can go changing PCLK2 frequency but then the timers will slow down etc.) 2013-01-30T10:33:47 -!- rob_w [~bob@unaffiliated/rob-w/x-1112029] has quit [Remote host closed the connection] 2013-01-30T10:40:13 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2013-01-30T10:47:48 -!- _BJFreeman [~bjfree@64.sub-75-196-48.myvzw.com] has joined ##stm32 2013-01-30T10:48:18 -!- _BJFreeman is now known as BJFreeman 2013-01-30T10:54:19 -!- FransWillem [~fw@53533629.cm-6-4a.dynamic.ziggo.nl] has quit [Ping timeout: 252 seconds] 2013-01-30T10:55:58 < zyp> 06:51:07 < zippe> Ok, so the ref manual lies 2013-01-30T10:56:02 < zyp> zippe, where does it lie? 2013-01-30T11:02:35 < jpa-> it lies on my harddrive 2013-01-30T11:06:15 < zyp> according to F4 RM, the two CAN peripherals share a single 512B block of memory and the filter banks, and then you configure which banks are owned by each peripheral 2013-01-30T11:06:47 < zyp> and this memory block is in no way related to the memory blocks used by the two dwc_otg cores 2013-01-30T11:28:49 < dongs> hm, this allwhiner shit has sdio 2013-01-30T11:29:06 < dongs> and im making a breakout board,, wonder if I should bother adding that to it 2013-01-30T11:29:19 < dongs> does waveshare sdio board do 4bit? 2013-01-30T11:29:44 < zyp> of course it does 2013-01-30T11:30:13 < dongs> http://www.wvshare.com/product/Micro-SD-Storage-Board.htm this shit? 2013-01-30T11:30:53 < dongs> lets see what the shit the one i got 2013-01-30T11:30:56 < zyp> http://bin.jvnv.net/f/e16v1.png <- I'm using 4bit mode 2013-01-30T11:31:03 < zyp> yeah, that's the one 2013-01-30T11:36:03 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-30T11:39:38 < zippe> zyp: RM 0090 rev 3 page 660, end of section 24.2, says 2013-01-30T11:39:51 < zippe> . In low, medium-, high- and XL-density devices the USB and CAN share a dedicated 512- byte SRAM memory for data transmission and reception, and so they cannot be used concurrently (the shared SRAM is accessed through CAN and USB exclusively). The USB and CAN can be used in the same application but not at the same time. 2013-01-30T11:41:10 < dongs> thats F1 2013-01-30T11:41:24 < dongs> or maybe not 2013-01-30T11:41:27 < dongs> back to my hole 2013-01-30T11:41:58 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-30T11:42:59 < zippe> I'm sure it was cut and paste from F1 2013-01-30T11:43:07 < zippe> As long as it's working for someone else, I'm happy enough 2013-01-30T11:45:58 < zyp> oh, rev1 doesn't say that 2013-01-30T11:46:05 < dongs> heh 2013-01-30T11:46:33 < zyp> heh, they also pasted the «Dual CAN» section twice 2013-01-30T11:46:35 < zyp> in rev 3 2013-01-30T11:47:06 < zyp> F4 doesn't even have those densities 2013-01-30T11:47:19 < zyp> so someone clearly fucked up their pasting 2013-01-30T11:55:29 < dongs> haha 2013-01-30T11:57:34 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-30T12:10:30 < karlp> wikidatasheet time. 2013-01-30T12:10:56 < karlp> they cut and paste the datasheet, they cut and paste the bootloaders 2013-01-30T12:10:59 < karlp> they get it all wrong! 2013-01-30T12:11:26 < dongs> haha 2013-01-30T12:11:54 < zyp> :p 2013-01-30T12:14:47 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-30T12:14:49 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-30T12:15:07 < dongs> zyp, ever put vga connector on anything 2013-01-30T12:19:04 < zyp> no, why? 2013-01-30T12:19:29 < dongs> was gonna confirm about retarded pad pitch, but confirmed it indeed 2013-01-30T12:19:48 < zyp> ah 2013-01-30T12:20:00 < dongs> its lik,e 2.889mm pitch or someshit 2013-01-30T12:20:05 < dongs> 2.285 2013-01-30T12:20:16 < zyp> heh 2013-01-30T12:20:20 < dongs> of cours,e thats 90mil 2013-01-30T12:20:26 < dongs> fucking useless yank units trash 2013-01-30T12:20:43 < dongs> but row pich is 2.54 2013-01-30T12:21:22 < zyp> and then probably some weird offset between rows too? :p 2013-01-30T12:21:51 < dongs> yes of course 2013-01-30T12:21:53 < dongs> zigzag 2013-01-30T12:25:53 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-30T12:28:40 < BJFreeman> dongs if it helps the olimex A13 board Eagle files have a VGA connector on them 2013-01-30T12:32:16 < dongs> BJFreeman: no, i found one already plus I dont use eagle 2013-01-30T12:32:21 < dongs> and i confirmed it with datasheet so its all good 2013-01-30T12:36:38 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-30T12:37:18 -!- |sark [~|sark@37.247.88.155] has quit [Ping timeout: 264 seconds] 2013-01-30T12:38:00 < BJFreeman> :D 2013-01-30T12:41:43 -!- Guest65555 [~evil_dan2@208.115.236.184] has quit [Changing host] 2013-01-30T12:41:43 -!- Guest65555 [~evil_dan2@unaffiliated/evil-dan2wik/x-0106201] has joined ##stm32 2013-01-30T12:41:49 -!- Guest65555 is now known as evil_dan2wik 2013-01-30T12:42:33 -!- Laurenceb_ [~Laurence@86.177.58.238] has joined ##stm32 2013-01-30T12:43:39 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2013-01-30T12:43:40 -!- BJFreeman [~bjfree@64.sub-75-196-48.myvzw.com] has quit [Quit: had a good time] 2013-01-30T12:44:04 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-30T12:48:41 -!- |sark [~|sark@109.235.51.202] has joined ##stm32 2013-01-30T13:01:48 -!- Laurenceb_ [~Laurence@86.177.58.238] has quit [Ping timeout: 272 seconds] 2013-01-30T13:16:44 -!- trepidaciousMBR_ [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-30T13:18:14 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 252 seconds] 2013-01-30T13:18:14 -!- trepidaciousMBR_ is now known as trepidaciousMBR 2013-01-30T13:30:17 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-30T13:47:14 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:755d:e0c8:b591:923] has joined ##stm32 2013-01-30T13:57:48 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-30T14:06:00 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-30T14:11:20 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-30T14:18:05 -!- Roklobsta [~quassel@2001:44b8:41d3:6b00:755d:e0c8:b591:923] has quit [Remote host closed the connection] 2013-01-30T14:25:10 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 240 seconds] 2013-01-30T14:26:11 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-30T14:35:58 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has joined ##stm32 2013-01-30T14:45:59 < Laurenceb> emeb: check out LimeMicro LMS6002D 2013-01-30T14:46:12 < Laurenceb> doh hes not here 2013-01-30T14:47:22 <+Steffanx> Fancy stuff 2013-01-30T14:47:40 < Laurenceb> i used to work in the same building as that company :P 2013-01-30T14:47:52 < BrainDamage> as janitor? 2013-01-30T14:48:17 <+Steffanx> :P 2013-01-30T14:48:25 < Laurenceb> lolz 2013-01-30T14:48:30 <+Steffanx> You are sooo kind BrainDamage 2013-01-30T14:57:45 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 276 seconds] 2013-01-30T14:58:22 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-30T15:01:03 < baird> My current housemate's first job after moving to Sydney was at a slot/poker-machine company. Their janitor was a Iraqi CompSci Professor who'd been teaching and researching for 18 years before moving to Australia-- and certainly more qualified than all the VB programming kiddies the company hired /combined/.. 2013-01-30T15:01:56 <+Steffanx> w00t story! 2013-01-30T15:01:57 <+Steffanx> :D 2013-01-30T15:02:29 < baird> Australia? Racist? Who knew? 2013-01-30T15:02:44 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2013-01-30T15:02:54 < BrainDamage> http://i.imgur.com/DmYiOSG.png 2013-01-30T15:03:25 < karlp> :) 2013-01-30T15:03:44 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-30T15:04:30 < Laurenceb> lolz BrainDamage 2013-01-30T15:04:41 < Laurenceb> attn dongs http://i.imgur.com/DmYiOSG.png 2013-01-30T15:05:42 <+Steffanx> Could be zyp as well when you combine two of the photos of him he posted here :P 2013-01-30T15:06:54 < baird> This has _got_ to be a 'shop: http://i.imgur.com/mhaHuZn.jpg 2013-01-30T15:07:06 < Laurenceb> hahaha 2013-01-30T15:07:22 <+Steffanx> You can buy 'everytthing' with monies 2013-01-30T15:07:41 <+Steffanx> oh, that guy does it without that.. hmm 2013-01-30T15:07:55 < Laurenceb> is that the las vegas adult expo? 2013-01-30T15:08:12 < baird> Obviously, the rest of us are doing something wrong. 2013-01-30T15:08:28 < Laurenceb> apparently its held after CES 2013-01-30T15:08:34 < Laurenceb> maybe he was just late 2013-01-30T15:09:11 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-01-30T15:09:57 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-30T15:10:23 < baird> Not this year, it wasn't: http://gadgetwise.blogs.nytimes.com/2012/01/09/silicon-and-silicone-split-as-c-e-s-and-porn-show-part-ways/ 2013-01-30T15:11:41 <+Steffanx> That photo is from this year, baird 2013-01-30T15:11:49 <+Steffanx> or it's just gimped 2013-01-30T15:12:03 < Laurenceb> hehe gimped 2013-01-30T15:12:10 <+Steffanx> /year/year? 2013-01-30T15:12:26 < Laurenceb> year of the RMS finally getting laid? 2013-01-30T15:13:19 < Laurenceb> is that before or after year of the linux desktop? 2013-01-30T15:14:29 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 255 seconds] 2013-01-30T15:15:07 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-30T15:15:30 < Laurenceb> now we just have to find out which pornstar that is 2013-01-30T15:15:37 < Laurenceb> im sure baird knows 2013-01-30T15:16:10 < baird> He told that Violet Blue 'open source sex blogger' to take a hike, so rms does at least have standards.. 2013-01-30T15:17:53 <+Steffanx> You care way to much about a 'random' guy with some random porn star 2013-01-30T15:18:11 < Laurenceb> wonder if she has 11 tattooed on the other leg 2013-01-30T15:20:07 < baird> lol 2013-01-30T15:21:28 <+Steffanx> hmpf baird. That photo is at least 1/2 hear old 2013-01-30T15:21:42 -!- dongle [~no@bcas.tv] has joined ##stm32 2013-01-30T15:21:52 < BrainDamage> that's not the proper way to say it 2013-01-30T15:21:54 < BrainDamage> Old. 2013-01-30T15:21:58 < BrainDamage> there you go 2013-01-30T15:22:23 < dongs> http://i.imgur.com/YbnA1aS.png cubieboard aids adapter complete 2013-01-30T15:23:07 < Laurenceb> wait wut 2013-01-30T15:23:11 < baird> Yep, it is a shooooop: http://archive.rebeccablacktech.com/boards/cgl/img/0065/10/1356495454813.jpg 2013-01-30T15:23:19 < BrainDamage> what do you need an ISDB (de)modulator? 2013-01-30T15:23:26 < Laurenceb> some kind of parallel dvbt thingy? 2013-01-30T15:23:28 <+Steffanx> A gimp baird 2013-01-30T15:23:28 < BrainDamage> for* 2013-01-30T15:23:49 < Laurenceb> booooooooooo 2013-01-30T15:24:14 < dongle> BrainDamage: () is correct 2013-01-30T15:24:38 < Laurenceb> how does it interface? 2013-01-30T15:24:58 < dongle> clk+8bit data 2013-01-30T15:25:05 < Laurenceb> groovy 2013-01-30T15:25:21 <+Steffanx> baird, where did it go wrong btw? 2013-01-30T15:25:23 < dongle> cheaped out on pcb space so its gonna just hang off the side 2013-01-30T15:25:33 <+Steffanx> You shouldn't believe the crap you see on the www 2013-01-30T15:25:35 < dongle> solder tabs will be enough to hold it in place though 2013-01-30T15:27:06 < Laurenceb> baird: its probably at adult video thingy then 2013-01-30T15:27:13 < Laurenceb> boring :( 2013-01-30T15:34:47 -!- daku is now known as DaKu 2013-01-30T15:42:56 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-01-30T15:43:29 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-30T16:07:41 < karlp> fuckers put the adc vbat channel for the f3 on the same as vrefint aon all the other devices, 2013-01-30T16:07:47 < karlp> even though f0 and f2 have the vbat channel 2013-01-30T16:08:27 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 256 seconds] 2013-01-30T16:08:59 < zyp> huh? 2013-01-30T16:09:15 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-30T16:09:28 < karlp> on f3, the channel for reading the vbat sensor is channel 17, 2013-01-30T16:09:35 < karlp> on all the others channel 17 is for vrefint 2013-01-30T16:09:56 < karlp> f2,f4,f0 which all have vbat, put vbat on channel 18 2013-01-30T16:10:02 < zyp> ah 2013-01-30T16:10:18 < karlp> all of them at least use channel 16 for the temp sensor 2013-01-30T16:10:31 < karlp> hopefully it's just at typo in my older rev of the ref manuals.... 2013-01-30T16:11:23 < Laurenceb> i wish vbat went up to 4.2v 2013-01-30T16:11:37 < karlp> but they've put vrefint on channel 18 too, so maybe they just swapped them for fun 2013-01-30T16:12:31 < karlp> Laurenceb: isn't the vbat input divided by 2 already? 2013-01-30T16:12:34 < karlp> what's the problem? 2013-01-30T16:13:32 < zyp> he wants to hook it directly to a lipo 2013-01-30T16:15:47 < Laurenceb> yup 2013-01-30T16:16:11 < karlp> oh, odd, vbat only up to 3.6, vdd up to 4.0 2013-01-30T16:16:20 < karlp> no vbat pin on l1, hadn't looked 2013-01-30T16:18:58 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 244 seconds] 2013-01-30T16:19:01 < Laurenceb> cuz the whole processor is low power 2013-01-30T16:19:33 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-30T16:20:19 < Laurenceb> http://www.i-micronews.com/reports/STMicroelectronics-LSM333D-9-Axis-IMU/1/338/ 2013-01-30T16:22:20 < zyp> nice price 2013-01-30T16:23:09 <+Steffanx> .. :S 2013-01-30T16:24:34 < zyp> Steffanx will buy it for us 2013-01-30T16:24:41 <+Steffanx> blabla 2013-01-30T16:30:18 < Laurenceb> http://www.b3tards.com/u/888fd2ceafeed217d657/jamie-sausage.gif 2013-01-30T16:37:33 < Laurenceb> omg jln is back 2013-01-30T16:37:35 < Laurenceb> http://jnaudin.free.fr/wfcbooster/indexen.htm 2013-01-30T16:37:42 < Laurenceb> first new project in ages 2013-01-30T16:39:09 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-30T16:39:54 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-30T16:44:35 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-30T16:53:52 < dongs> oh rite, dp pcbs rescheduled to 4th 2013-01-30T16:54:01 < dongs> gives me plenty of time to get stencils done 2013-01-30T16:55:04 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has joined ##stm32 2013-01-30T16:58:19 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-169.pptp.stw-bonn.de] has joined ##stm32 2013-01-30T16:59:28 < zyp> still wondering what will arrive here first, panel or pcb 2013-01-30T17:00:47 < dongs> 2 more panels coming tomorw 2013-01-30T17:00:55 < dongs> to me 2013-01-30T17:01:40 < dongs> hmm, how do i route something thats exactly opposite 2013-01-30T17:01:52 < dongs> 1 2 3 4 5 6 -> 6 5 4 3 2 1 2013-01-30T17:02:34 < karlp> heh,python extending gdb is awesome: http://pastebay.net/1178824 2013-01-30T17:02:50 < dongs> yea, except the "python" part 2013-01-30T17:03:25 < dongs> of all the fucktarded languages they could have picked, they took that one 2013-01-30T17:06:10 < gxti> what would you have used? 2013-01-30T17:06:12 < BrainDamage> dongs: http://pterocorn.blogspot.ca/2011/10/ponify.html 2013-01-30T17:07:14 < emeb_mac> Laurenceb: LMS6002D looks interesting 2013-01-30T17:07:46 < mervaka> dongs: how do you mean by "route something?" 2013-01-30T17:07:53 < zyp> emeb_mac, did you see the kickstarter project? 2013-01-30T17:07:53 < mervaka> would the stack work? 2013-01-30T17:08:11 < emeb_mac> zyp: yeah. Looks like they've got a way to go. 2013-01-30T17:08:19 < emeb_mac> nice board pic tho 2013-01-30T17:08:25 < dongs> what dickstarter? 2013-01-30T17:08:28 < zyp> http://www.kickstarter.com/projects/1085541682/bladerf-usb-30-software-defined-radio 2013-01-30T17:08:34 < zyp> I backed 2013-01-30T17:08:58 < dongs> uh, for $400/ 2013-01-30T17:09:08 < zyp> sure 2013-01-30T17:09:16 < dongs> its crossplatform 2013-01-30T17:09:22 < dongs> instant failure. 2013-01-30T17:09:32 < zyp> half price or so of a comparable USRP 2013-01-30T17:09:33 * gxti pats dongs on the head 2013-01-30T17:09:40 < dongs> cross-platform: doesn't work correctly on any supported platform 2013-01-30T17:09:42 < zyp> so it doesn't seem too bad 2013-01-30T17:09:42 < gxti> adorable. 2013-01-30T17:09:45 < dongs> thats what it usually means 2013-01-30T17:10:18 < dongs> 40mhz of bandwidth is nice 2013-01-30T17:10:19 < emeb_mac> 200MHz ARM9. meh 2013-01-30T17:10:33 < zyp> it's the FX3 2013-01-30T17:10:38 < gxti> hmmmm 2013-01-30T17:10:39 < dongs> yeah fx3 2013-01-30T17:11:00 < zyp> it's not going to do much but handle usb stuff anyway, so whatever is fine 2013-01-30T17:11:02 < dirty_d> why the hell do they need $100,000? 2013-01-30T17:11:14 < emeb_mac> oh look - rpi compatible. :P 2013-01-30T17:11:22 < zyp> emeb_mac, yeah, I laughed 2013-01-30T17:11:39 < Laurenceb> its a poor core with crazy fast io 2013-01-30T17:11:41 < Laurenceb> as i see it 2013-01-30T17:11:45 < dongs> The bladeRF was very verified early on to work well with embedded devices such as a Raspberry Pi. o 2013-01-30T17:11:49 < dongs> oh, shit, im buying. 2013-01-30T17:11:57 < gxti> it's good marketing, just associating it with raspberry poop or tarduino means more people will buy it. 2013-01-30T17:11:59 < Laurenceb> so ok, as the fpga can handle the processing 2013-01-30T17:12:01 < dongs> you dont need fast core on fx3 2013-01-30T17:12:06 < Laurenceb> yeah 2013-01-30T17:12:06 < dongs> its job is to move data 2013-01-30T17:12:12 < dongs> FX2 is 8051 @ 48mhz 2013-01-30T17:12:17 < Laurenceb> lolz 2013-01-30T17:12:29 < dongs> CPU never touches the USB buffers 2013-01-30T17:12:44 < Laurenceb> pity theres not a fast enough arm cortex 2013-01-30T17:12:48 < Laurenceb> to handle everything 2013-01-30T17:13:03 < Laurenceb> fpga is expensive and a power hog 2013-01-30T17:13:08 < Laurenceb> and huge packages 2013-01-30T17:13:24 < Laurenceb> but thats a lot of data to shift 2013-01-30T17:13:38 < dongs> lol, irc 2013-01-30T17:13:45 < gxti> fpgas aren't as power hungry as you might think, especially if the workload is not CPU-friendly 2013-01-30T17:13:54 < emeb_mac> that 2013-01-30T17:13:57 < Laurenceb> true 2013-01-30T17:13:59 < Laurenceb> :P 2013-01-30T17:14:39 < Laurenceb> quickselect != quicksort right? 2013-01-30T17:14:42 < dongs> The soon to be released software support will be completely open source and will contain VHDL and FX3 source code, Linux drivers, user mode utilities, and a simple GNURadio block. 2013-01-30T17:14:47 < dongs> i think i'll wait until these dudes fail 2013-01-30T17:14:51 < gxti> i'm almost interested in buying one, but not interested enough for that price 2013-01-30T17:15:03 < emeb_mac> yeah - price a bit high. 2013-01-30T17:15:03 < gxti> i'd just be using it to dick with GPS anyway 2013-01-30T17:15:16 < gxti> better off with something crappier 2013-01-30T17:15:23 < BrainDamage> you mean to tx? 2013-01-30T17:15:25 < Laurenceb> gxti: i need to finish my f4 gps stick 2013-01-30T17:15:29 < Laurenceb> lolz 2013-01-30T17:15:32 < gxti> no, rx 2013-01-30T17:15:33 < dirty_d> so if you make a usb device and you dont have a usb vendor id, what are your options? 2013-01-30T17:15:34 < Laurenceb> gps transmitter 2013-01-30T17:15:34 < BrainDamage> because to rx, you can just use an rtlsdr 2013-01-30T17:15:40 < gxti> dirty_d: suicide 2013-01-30T17:15:43 < dirty_d> lol 2013-01-30T17:15:44 < BrainDamage> sure, why not? gps jammer 2013-01-30T17:15:47 < dongs> dirty_d: rand() 2013-01-30T17:15:49 < gxti> BrainDamage: because illegal 2013-01-30T17:15:56 < Laurenceb> shrug 2013-01-30T17:15:57 < gxti> and counterproductive 2013-01-30T17:16:00 < Laurenceb> shrug 2013-01-30T17:16:09 < Laurenceb> bit like my life 2013-01-30T17:16:26 < BrainDamage> gxti: it's still be an interesting device 2013-01-30T17:16:28 < gxti> dirty_d: microchip sells ids i think 2013-01-30T17:16:35 < Laurenceb> *aids 2013-01-30T17:16:54 < dirty_d> gxti, is it illegal to just use whatever you want? 2013-01-30T17:17:05 < zyp> dirty_d, open source project? openmoko gives away pids to open source usb projects 2013-01-30T17:17:10 < gxti> BrainDamage: not challenging at all either 2013-01-30T17:17:25 < gxti> if you think too hard at 1.5ghz GPS stops working. 2013-01-30T17:17:34 < BrainDamage> gxti: plain jamming would be boring, but spoofing fake locations it'd be more interesting 2013-01-30T17:17:37 < gxti> it's practically already below the noise floor 2013-01-30T17:17:42 < BrainDamage> esp if you want to trick the detectors 2013-01-30T17:17:46 < gxti> true, but i'm too lazy for that 2013-01-30T17:18:19 < dirty_d> it seems like they probably should have made vendorid and product id bigger than 16 bytes 2013-01-30T17:18:23 < gxti> a general-purpose gps simulator would be nice (and not illegal, if you're not broadcasting) but spoofing is quite difficult 2013-01-30T17:18:24 < dirty_d> a bit like ipv4 2013-01-30T17:18:28 < dongs> Theoretically, the FX3 should be able to do nearly 400MB/s but Window’s XHCI driver has some catching up to do when compared to Linux 3.5. 2013-01-30T17:18:31 < BrainDamage> gxti: anyway, for rx, just buy one of those dvb sticks, and an active antenna 2013-01-30T17:18:31 < dongs> haha 2013-01-30T17:18:33 < dirty_d> 16-bits * 2013-01-30T17:18:43 < dongs> man, lunix retards can spew shit and don't even look back 2013-01-30T17:19:07 < gxti> you mean spew data at 400MB/s? yes 2013-01-30T17:19:12 < gxti> zing 2013-01-30T17:19:16 < dongs> no, spew bullshit and lies 2013-01-30T17:19:41 < dongs> lunix USB still crashes the kernel if you pull a device out while its "in use" 2013-01-30T17:19:50 < dongs> in TWO THOUSAND FUCKING THIRTEEN 2013-01-30T17:19:53 < Laurenceb> as you were saying 2013-01-30T17:19:55 < gxti> lol nope 2013-01-30T17:20:00 < dongs> lol yep 2013-01-30T17:20:01 < Laurenceb> no, spew bullshit and lies 2013-01-30T17:20:12 < dongs> try it out gxti see how soon you'll ping time out 2013-01-30T17:20:23 < gxti> i'm at work, on windows :| 2013-01-30T17:20:24 < Bird|lappy> dongs, that's called the kernel saying 'don't ever pull that on me again, you dumbwad sysadmin' 2013-01-30T17:20:46 < dongs> Bird|lappy: would be a cool excuse if windows hasnt solved this back in '98 2013-01-30T17:21:02 < gxti> it's not true anyway 2013-01-30T17:21:21 < gxti> but i should know better than to argue with dongs 2013-01-30T17:22:50 < dirty_d> those fascist USB bastards 2013-01-30T17:23:34 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-30T17:25:21 < zyp> a VID is not much more expensive than an OUI 2013-01-30T17:25:35 < dirty_d> they should have just used like a 64 or 128 bit random number for each device 2013-01-30T17:25:48 < dirty_d> or soemthing 2013-01-30T17:25:50 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-30T17:25:59 < dirty_d> with a registry of existing ids 2013-01-30T17:26:04 < gxti> dirty_d: you realize they do it to make money, right? 2013-01-30T17:26:16 < gxti> they don't care 2013-01-30T17:26:23 < dirty_d> gxti, yea 2013-01-30T17:26:39 < zyp> dirty_d, if you are in the business of selling usb devices, $2000 is not very expensive 2013-01-30T17:26:52 < zyp> and if you are not, why would you care? 2013-01-30T17:27:11 < dirty_d> zyp, true, but what if you wanted to just make a few or soemthing 2013-01-30T17:27:14 < zyp> I'm using 1234:5678 for all personal testing 2013-01-30T17:27:24 < dirty_d> are you allowed to just pick what you want? 2013-01-30T17:27:30 < dirty_d> and hope nothing else uses it? 2013-01-30T17:27:33 < zyp> who are gonna stop me? 2013-01-30T17:27:37 < dongs> zyp, whats up with private udpates on openvozsla 2013-01-30T17:27:40 < dongs> are they failing? 2013-01-30T17:27:41 < dirty_d> zyp, well i mean what if you sell one 2013-01-30T17:27:47 < dirty_d> and someone is like, that is out vendorid 2013-01-30T17:27:49 < BrainDamage> zyp: does it unlocks the secret cheat code for extra speed? 2013-01-30T17:27:53 < zyp> dongs, got pics of preprod pcbs today 2013-01-30T17:28:06 < zyp> assembed and xrayed an everything 2013-01-30T17:28:33 < Erlkoenig> (4:27:14 PM) zyp: I'm using 1234:5678 for all personal testing <-- DEAD:BEEF is c00ler 2013-01-30T17:28:52 < gxti> 1234 is probably assigned 2013-01-30T17:28:59 < dirty_d> that wont fit 2013-01-30T17:29:00 < gxti> use something at the top 2013-01-30T17:29:15 < dirty_d> it would have to be DE:AD or BE:EF 2013-01-30T17:29:20 < dirty_d> oh nevermind 2013-01-30T17:29:22 < dirty_d> it would 2013-01-30T17:29:24 < gxti> . 2013-01-30T17:29:35 < dirty_d> losing my mind 2013-01-30T17:29:37 < dongs> or you cna use 7a69 2013-01-30T17:29:56 < dirty_d> can someone sue you for using their vendorId? 2013-01-30T17:30:13 < dirty_d> or for using one that you havent bought? 2013-01-30T17:30:13 < gxti> they can try, and that's bad enough 2013-01-30T17:30:15 < zyp> gxti, why should I care? I don't have any devices with VID 1234 2013-01-30T17:30:26 < zyp> and it's not like I'm distributing this 2013-01-30T17:30:38 < gxti> it's moot anyway 2013-01-30T17:30:41 < dirty_d> what if you did though 2013-01-30T17:30:55 < zyp> dirty_d, then I would ask the openmoko guys for a free PID 2013-01-30T17:31:04 < gxti> you're only bound to their contract if you want to use their trademarks (usb logo etc) 2013-01-30T17:31:19 < dirty_d> ok 2013-01-30T17:31:28 < zyp> dirty_d, see http://wiki.openmoko.org/wiki/USB_Product_IDs 2013-01-30T17:31:33 < gxti> no logo, no leverage 2013-01-30T17:32:25 < dirty_d> i thought USB-IF doesnt allow that? 2013-01-30T17:32:40 < dirty_d> giving out product ids 2013-01-30T17:32:57 < dongs> lol, smoothieboard fags were saying they need to "apply" for USB ID 2013-01-30T17:33:03 < dongs> apparently they're just stealing openmoko shit 2013-01-30T17:33:10 < dongs> last i checked you cant actualyl resell an ID that you have been assigned 2013-01-30T17:33:21 < gxti> several companies do it anyway 2013-01-30T17:33:21 < dongs> so those opensores dudes are breaking the law 2013-01-30T17:33:27 < dongs> yes, and several have been shut down 2013-01-30T17:33:30 < zyp> selling != giving away 2013-01-30T17:33:34 < zyp> but yeah 2013-01-30T17:33:50 < zyp> it's not like it matters either 2013-01-30T17:34:24 < zyp> with a lot of products in the wild with VID 1d50, it's not like USB-IF can resell that VID to someone else 2013-01-30T17:37:27 < Laurenceb> quickselect != quicksort right? 2013-01-30T17:37:32 < dongs> As the openmoko products have been discontinued, Openmoko Inc. is opening up the use of its Vendor ID for use by the Free and Open Source software and hardware communities. This means you can simply register your devices and will get an allocation of a Product ID for free. 2013-01-30T17:37:36 < dongs> haha 2013-01-30T17:37:39 < Laurenceb> one sorts one selects but doesnt fully sort? 2013-01-30T17:39:52 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-30T17:41:53 < Laurenceb> gxti: http://i.imgur.com/R1mre.png 2013-01-30T17:42:07 < Laurenceb> something i designed a while back... never finished the firmware 2013-01-30T17:43:23 < Erlkoenig> round corners. apple will sue you 2013-01-30T17:43:57 < dongs> wazzaty 2013-01-30T17:44:01 < dongs> the silabs shit? 2013-01-30T17:44:08 < Laurenceb> sige 2013-01-30T17:44:16 < dongs> sigheil 2013-01-30T17:44:45 < Laurenceb> no, just sige 2013-01-30T17:45:02 < Laurenceb> part of skyworks 2013-01-30T17:45:08 < dongs> Designs and supplies low phase noise, low power consumption Silicon-Germanium enhanced integrated circuits for wireless on-penises 2013-01-30T17:45:18 < BrainDamage> wat 2013-01-30T17:45:39 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-30T17:45:43 < dongs> Laurenceb didn't wat cuz thats normal for him 2013-01-30T17:48:52 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-30T17:54:40 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 240 seconds] 2013-01-30T17:55:29 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-30T17:57:26 < emeb> lol ST - guy I've been talking to via email heard back from them that they admit shipping F373 parts with the wrong bootloader. 2013-01-30T17:57:39 <+Steffanx> yay 2013-01-30T17:57:42 <+Steffanx> finally 2013-01-30T17:57:44 < emeb> They're offering to RMA the batch he bought. 2013-01-30T17:59:16 < zyp> :) 2013-01-30T18:00:00 < emeb> Wonder how many are out there "in the wild" like that. 2013-01-30T18:00:23 < emeb> probably DK & Mouser's entire stock on hand. :P 2013-01-30T18:01:33 < zyp> yeah, likely 2013-01-30T18:02:14 < zyp> still haven't heard any observations of a F37x with the right bootloader :p 2013-01-30T18:02:21 < dongs> http://i.imgur.com/677kEg4.png cool routing 2013-01-30T18:02:38 < emeb> purty 2013-01-30T18:03:07 < zyp> why not just run them on bottom layer all the way from the pth connector? 2013-01-30T18:03:23 < zyp> having two vias seems like a waste 2013-01-30T18:03:25 < Laurenceb> lolz 2013-01-30T18:03:28 < dongs> zyp: waat 2013-01-30T18:03:35 < dongs> plz show me how I can do that on a single layer 2013-01-30T18:03:40 < dongs> they're all twisted 2013-01-30T18:03:47 < zyp> I didn't say that 2013-01-30T18:04:00 < zyp> I said you could do with one via instead of two 2013-01-30T18:04:09 < Laurenceb> owned 2013-01-30T18:04:47 < zyp> well, that's what I meant to say, my bad :p 2013-01-30T18:05:56 -!- KennyMcCormic [~Kenny@95.139.132.74] has joined ##stm32 2013-01-30T18:06:35 <+Steffanx> Can one waste vias? 2013-01-30T18:07:52 < emeb> yes - that's time wasted drilling unnecessary holes, extra copper used in plating. Oh the humanity. 2013-01-30T18:08:28 < zyp> :p 2013-01-30T18:10:51 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has quit [Ping timeout: 245 seconds] 2013-01-30T18:14:44 * emeb fiddles around with linking in ARM assembly from a separate .s file 2013-01-30T18:15:44 < karlp> fun times 2013-01-30T18:15:52 < karlp> can it compile arm assembly into thumb assembly? 2013-01-30T18:16:04 < emeb> :P 2013-01-30T18:16:04 < zyp> of course 2013-01-30T18:16:11 < zyp> eh 2013-01-30T18:17:27 < zyp> I mean, UAL can be assembled into both arm and thumb opcodes 2013-01-30T18:18:50 -!- fiendie [fiendie@ipv6.leela.fiendie.net] has joined ##stm32 2013-01-30T18:22:25 < emeb> United Airlines? 2013-01-30T18:22:45 < Erlkoenig> Unified Assembly Language 2013-01-30T18:22:58 < emeb> :) just trollin' 2013-01-30T18:24:59 < Erlkoenig> it's so unified it will even compile to AVR opcodes and x86 opcodes 2013-01-30T18:25:12 < zyp> trolls all around 2013-01-30T18:27:02 < Erlkoenig> also the AVR will magically be able to use hardware address comutations 2013-01-30T18:28:55 -!- KennyMcCormic [~Kenny@95.139.132.74] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 2013-01-30T18:37:55 < Thorn> http://blog.regehr.org/archives/887 2013-01-30T18:38:01 < dirty_d> zyp, you would only have to set COUNT_RX's BL_SIZE and COUNT_RX's NUM_BLOCK once right? and it should be set to the size of the recieve buffer? The way I understand it is that its the maximum number of bytes to receive, and the actual amount recieved will be written to the low bits 2013-01-30T18:41:10 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: Connection reset by peer] 2013-01-30T18:41:46 -!- Thorn [~Thorn@128-73-130-81.broadband.corbina.ru] has joined ##stm32 2013-01-30T18:41:47 -!- Thorn [~Thorn@128-73-130-81.broadband.corbina.ru] has quit [Changing host] 2013-01-30T18:41:47 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-30T18:42:28 < Erlkoenig> (5:37:55 PM) Thorn: http://blog.regehr.org/archives/887 <-- hu, but why only INT_MIN / -1, what about INT_MIN * -1 ? 2013-01-30T18:43:04 < Thorn> Erlkoenig: could lead to the same result aiui 2013-01-30T18:43:45 < Thorn> need to check these on a cortex btw 2013-01-30T18:44:06 < Erlkoenig> but why a floating point exception, since these are integer numbers? 2013-01-30T18:45:18 < Thorn> that's a peculiarity of x86 http://stackoverflow.com/questions/9793060/getting-floating-point-exception-while-trying-to-use-div-in-assembly 2013-01-30T19:03:49 -!- _BJFreeman [~bjfree@94.sub-75-233-209.myvzw.com] has joined ##stm32 2013-01-30T19:03:57 < dongs> k finished routing the crap time to sleep 2013-01-30T19:04:18 -!- _BJFreeman is now known as BJFreeman 2013-01-30T19:07:05 < Laurenceb> http://stopmasturbationlive.blogspot.co.uk/2012/08/satan-provokes-me-to-masturbate.html 2013-01-30T19:07:11 < Laurenceb> message for dongs 2013-01-30T19:09:21 < BJFreeman> another christian falsehood 2013-01-30T19:10:51 < Erlkoenig> she needs this: http://www.neosteel.de/DSC_1587a.jpg 2013-01-30T19:14:27 -!- barthess [~barthess@77.67.203.137] has joined ##stm32 2013-01-30T19:21:58 <+Steffanx> Erlkoenig, the female of the channel, knows :P 2013-01-30T19:22:48 < Erlkoenig> i guess many men know, too :P 2013-01-30T19:38:11 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has quit [Ping timeout: 248 seconds] 2013-01-30T19:40:35 < Laurenceb> is qsort re-entrant? 2013-01-30T19:41:19 -!- trepidaciousMBR_ [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-30T19:42:32 < jpa-> should be, but depends on your libc 2013-01-30T19:43:26 < Laurenceb> hmm 2013-01-30T19:43:35 < Laurenceb> im using some random qsort c code 2013-01-30T19:43:50 < Laurenceb> its killing chibios by being too re-entrant 2013-01-30T19:43:51 < jpa-> does it use any static or global variables? 2013-01-30T19:44:00 < jpa-> uh? 2013-01-30T19:44:23 < Laurenceb> no 2013-01-30T19:44:59 < jpa-> too re-entrant? 2013-01-30T19:45:06 < jpa-> you mean recursive? 2013-01-30T19:45:07 < Laurenceb> like 1K times 2013-01-30T19:45:09 < Laurenceb> yes 2013-01-30T19:45:14 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 272 seconds] 2013-01-30T19:45:36 < Laurenceb> using about 20bytes each time 2013-01-30T19:45:43 < jpa-> substitute it with other random c code https://github.com/PetteriAimonen/Baselibc/blob/master/src/qsort.c 2013-01-30T19:45:46 < Laurenceb> ill have to try something else it seems 2013-01-30T19:45:47 < jpa-> that one does not recurse 2013-01-30T19:45:50 -!- trepidaciousMBR_ [~trepidaci@176.62.208.227] has quit [Ping timeout: 255 seconds] 2013-01-30T19:45:54 < Laurenceb> ok, thanks 2013-01-30T19:45:55 < Laurenceb> bbl 2013-01-30T19:55:25 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-30T19:56:36 -!- Erlkoenig1 [~erlkoenig@pptp-212-201-76-169.pptp.stw-bonn.de] has joined ##stm32 2013-01-30T19:58:33 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-169.pptp.stw-bonn.de] has quit [Ping timeout: 244 seconds] 2013-01-30T20:00:40 -!- DLPeterson [~hazelnuss@ims1065d.engr.ucdavis.edu] has quit [Quit: leaving] 2013-01-30T20:02:01 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has joined ##stm32 2013-01-30T20:03:58 < zippe> People actually still do recursive qsort? 2013-01-30T20:03:59 < zippe> wow. 2013-01-30T20:04:18 -!- Erlkoenig1 [~erlkoenig@pptp-212-201-76-169.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-30T20:12:34 < jpa-> even newlib seems to have recursive qsort 2013-01-30T20:13:54 < jpa-> http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/search/qsort.c?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=src 2013-01-30T20:14:22 < jpa-> i'm having difficulty following when it iterates and when it recurses 2013-01-30T20:14:31 < jpa-> but when it iterates, it iterates using goto :) 2013-01-30T20:14:56 <+Steffanx> Whoa, fancy code 2013-01-30T20:15:41 < zyp> dirty_d, that is correct 2013-01-30T20:15:50 < dirty_d> ok 2013-01-30T20:22:10 < emeb> have come to the conclusion that gcc is better at optimizing assembly than I am. 2013-01-30T20:22:31 < jpa-> except when it misses the obvious things 2013-01-30T20:22:38 < emeb> but damn, it does some crazy shit. 2013-01-30T20:26:31 < zyp> emeb, well, it better be, generating good assembly is the compiler's job. 2013-01-30T20:31:53 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-178.pptp.stw-bonn.de] has joined ##stm32 2013-01-30T20:35:47 < emeb> ya 2013-01-30T20:37:59 < dirty_d> zyp, alright, i think i got something here to work with now, http://pastebin.com/RyicLa1s 2013-01-30T20:38:22 < emeb> so now the task for the human is to come up with a high-level description of the algorithm that is optimum. 2013-01-30T20:39:33 < zyp> dirty_d, so, how are you planning to do endpoints with only one direction? 2013-01-30T20:40:13 < dirty_d> zyp, just set the size to 0 for it i guess 2013-01-30T20:41:13 < dirty_d> oh, id have to change the if statements though 2013-01-30T20:42:01 < dirty_d> this will all change as i move along 2013-01-30T20:42:08 < dirty_d> i work a small step at a time 2013-01-30T20:42:35 < dirty_d> get ep0 working and getting an address from the host is all im trying to accomplish right now 2013-01-30T20:53:14 < emeb> well, would you look at that? F30x ADC has a programmable offset. That'll save some cycles. 2013-01-30T20:55:02 < zippe> jpa-: a lot of times, when you think that the compiler has "missed the obvious" it's because you know things about the code that it doesn't 2013-01-30T20:55:18 < zippe> Or it knows something about the CPU pipeline that you don't. 2013-01-30T20:57:18 < emeb> all I know is that I wrote "the obviously optimum" assy for a certain function. short, sweet, to the point. 2013-01-30T20:57:37 < emeb> gcc did something long & confusing, but about 3x faster. 2013-01-30T21:04:07 < zippe> emeb: see above re: pipeline 2013-01-30T21:06:06 < emeb> zippe: that's what it looks like. 2013-01-30T21:06:47 < emeb> so here's a funny one: my processing loop was unbiasing the ADC data - subtracting 1/2 scale value. 2013-01-30T21:07:21 < emeb> I set up the ADC to do that automatically and removed that math from my processing loop. Loop now runs slower. 2013-01-30T21:12:03 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-30T21:12:16 < dirty_d> lol 2013-01-30T21:12:41 < dirty_d> emeb, what kinda giznoid are you making? 2013-01-30T21:13:11 < emeb> dirty_d: trying out some ideas for doing SDR using the fast ADC on an STM32F303 2013-01-30T21:13:49 < dirty_d> its fast enough for that? 2013-01-30T21:13:56 < emeb> the bottleneck is the front-end tuner/decimator. 2013-01-30T21:14:19 < emeb> it's aaaalmost fast enough - uses about 60% of the CPU bandwidth. 2013-01-30T21:15:02 < emeb> to get the sample rate down from 2.3MHz to ~100kHz. 2013-01-30T21:15:06 < dirty_d> and youre already using the other 40%? 2013-01-30T21:15:36 < emeb> the other 40% will be needed for a selective FIR filter to get from 100ksps down to audio. 2013-01-30T21:15:59 < emeb> and I suspect that's not enough cycles for the job. 2013-01-30T21:16:39 < dirty_d> ahh 2013-01-30T21:20:29 < emeb> although it's possible that decimating to 35kHz, doing the AM detection and then using a 6-th order IIR to get the audio selectivity might work 2013-01-30T21:21:16 < emeb> screw phase linearity - this is just AM audio :P 2013-01-30T21:21:50 < dirty_d> you really need 6 orders? 2013-01-30T21:22:03 < dirty_d> tahts just 6 IIRs with the output of one the input of the next correct? 2013-01-30T21:22:56 < emeb> the 1st-stage decimation output bandwidth of 35kHz will cover about 4 AM channels, so selectivity is needed to filter out the adjacent channels. 2013-01-30T21:23:14 < dirty_d> cat noisy | iir | iir | iir | iir | iir | iir > smooth 2013-01-30T21:23:25 < dirty_d> ahh 2013-01-30T21:23:30 < emeb> a 6th-order IIR is just 3 stages of biquad. Not too computationally intensive. 2013-01-30T21:23:45 < ds2> hmmm this sounds interesting 2013-01-30T21:23:56 < emeb> yo ds2 2013-01-30T21:24:05 < ds2> hey emeb 2013-01-30T21:24:32 < dirty_d> the only kind of filter ive ever used is output = output * (1 - c) + input * c 2013-01-30T21:24:38 < dirty_d> thats just a regular old iir right 2013-01-30T21:24:46 < emeb> dirty_d: yeah. first order. 2013-01-30T21:25:06 < emeb> same as a single RC time constant 2013-01-30T21:25:09 < dirty_d> yea 2013-01-30T21:25:13 < ds2> more order == more references to term C.n-1, C.n-2...., right? 2013-01-30T21:25:22 < dirty_d> emeb, what would 2nd order look like? 2013-01-30T21:26:03 < dirty_d> output0 = output0 * (1 - c) + input * c; output1 = output1 * (1 - c) + output0 * c; 2013-01-30T21:26:23 < emeb> nah - that's just 2 1st-orders cascaded. 2013-01-30T21:26:30 < dirty_d> ahh 2013-01-30T21:26:36 < emeb> you can get better performance with what's called a biquad. 2013-01-30T21:26:58 < dirty_d> cascaded is the same as a LPF after another LPF? 2013-01-30T21:27:08 < emeb> but there are about 4 different ways to implement that depending on the variable sensitivity. 2013-01-30T21:27:16 < emeb> dirty_d: yeah 2013-01-30T21:27:18 < dirty_d> ok 2013-01-30T21:27:25 < ds2> slap on a FPGA? 2013-01-30T21:27:55 < emeb> ds2: yeah - that's the obvious way to do it. 2013-01-30T21:27:58 < jpa-> misses the point, i guess :P 2013-01-30T21:28:04 < emeb> this however is an exercise in minimalism. 2013-01-30T21:28:20 < ds2> emeb: laser modify the die to include hardware blocks? ;) 2013-01-30T21:28:28 < emeb> riiiiiight 2013-01-30T21:28:48 < emeb> dirty_d: here's what a biquad IIR looks like: http://en.wikipedia.org/wiki/Digital_biquad_filter 2013-01-30T21:29:15 < ds2> seems like a waste of power to do this all in SW 2013-01-30T21:29:32 < emeb> ds2: see above - exercise in minimalism. 2013-01-30T21:29:50 < emeb> ie - I've got this cool MCU, what can I do with it. 2013-01-30T21:29:54 < zippe> ds2: it is; the tradeoff is that you can change it dynamically in ways that weren't conceived when it was built 2013-01-30T21:30:45 < ds2> emeb: yes, I know...just saying the stm32's requires you to move data around yourself 2013-01-30T21:30:57 < emeb> ds2: no question - it's not ideal. 2013-01-30T21:31:15 < emeb> in fact, even compared to a dumb dsPIC it's pretty inefficient with the math. 2013-01-30T21:31:45 < ds2> wasn't even looking at the math yet. just visualizing the dataflow 2013-01-30T21:31:53 < ds2> cpu take data, cpu push data 2013-01-30T21:32:12 < ds2> they just look like piles of wasted coulombs flying around the chip 2013-01-30T21:32:52 < emeb> data flow is ADC -> DMA -> buffer: IRQ -> tune buffer & accumulate I/Q samples : est I/Q magnitude -> filter -> DAC 2013-01-30T21:33:14 < ds2> maybe it is the brainwashing from the stm32 competitors - they all tout hardware blocks that interconnect and move data (dma on steroids) 2013-01-30T21:33:41 < emeb> ds2: example/link? 2013-01-30T21:34:00 < ds2> emeb: the efm32, the nordic nRF51 stuff 2013-01-30T21:34:18 < ds2> ok, the nrf51 is just a m0 2013-01-30T21:34:24 < ds2> even the msp430's claim that 2013-01-30T21:34:29 < emeb> well, yeah. even ST has the W-series parts with RF hardware on-chip 2013-01-30T21:34:44 < emeb> this is a more generic part tho. 2013-01-30T21:35:14 < ds2> i just mean the ADC conenction 2013-01-30T21:35:38 < ds2> if you ignore the nRF51, you still have the cross bar between the different peripherals 2013-01-30T21:36:04 < ds2> the demo they use is being able to blink an LED w/o the CPU waking up all the time 2013-01-30T21:36:34 < jpa-> you can do that on stm32 also (though most of the power saving modes shut off the peripherals also) 2013-01-30T21:37:00 < jpa-> and besides, moving data around does not help much if you need to compute on id 2013-01-30T21:37:01 < qyx_> uh, simple pwm? 2013-01-30T21:37:01 < jpa-> *it 2013-01-30T21:38:57 < ds2> no, not simple PWM...but that'd work too if it is all I want to do 2013-01-30T21:39:14 < jpa-> so what more can it do? 2013-01-30T21:40:05 < qyx_> if you mean led blinking only :P 2013-01-30T21:40:48 < ds2> there were other things. but I am not a sales guy for either of them. i just like low power 2013-01-30T21:40:55 -!- DaKu is now known as daku 2013-01-30T21:41:53 < jpa-> but efm32 is not that much lower power than stm32L anyway 2013-01-30T21:42:50 < jpa-> neither of them are going to do SDR :) 2013-01-30T21:43:43 < gxti> is stm32w any good? i really wanna do some wireless sensor stuff but haven't gotten started yet 2013-01-30T21:44:10 < gxti> was previously going to do efm32 with a microchip radio but i had forgotten about stm32w 2013-01-30T21:44:13 < zyp> doesn't look very good to me 2013-01-30T21:44:27 < BrainDamage> the docs seem to be partially NDA-ed 2013-01-30T21:44:31 < zyp> no decent documentation, and it's rather old 2013-01-30T21:44:32 < gxti> blehhhh 2013-01-30T21:44:35 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-30T21:44:37 < gxti> never mind then 2013-01-30T21:44:48 < zyp> think F1 with a transceiver core slapped on 2013-01-30T21:44:57 < gxti> i might do stm32l instead of efm32 though, not sure. don't want to be pigeonholed into one vendor but it's sooo comfy. 2013-01-30T21:45:18 < zyp> I'm looking forward to efr4d 2013-01-30T21:46:02 < zyp> which is the efm32 line with radio transceivers 2013-01-30T21:46:06 < gxti> looks nice but things that exist now win by default :P 2013-01-30T21:46:23 < zyp> depends 2013-01-30T21:46:30 < gxti> 4ma rx, very nice 2013-01-30T21:46:50 < zyp> I'm not looking to do any radio stuff now, but I have plans for a future project when I have time for it 2013-01-30T21:47:05 < gxti> i don't have any concrete plans or requirements, i just want to play with rf 2013-01-30T21:47:22 < zyp> well, sure, «plans» 2013-01-30T21:47:42 < gxti> that's my reason for not caring about something that isn't out yet, let alone readily purchasable. 2013-01-30T21:48:17 < zyp> I want to make something for quadrotor communication that's both reliable, bidirectional and low-latency enough for realtime control 2013-01-30T21:48:56 < qyx_> maybe something built on top of 802.15.4 would do 2013-01-30T21:49:02 < zyp> yes 2013-01-30T21:49:46 < zyp> anyway, it's a future project 2013-01-30T21:50:18 < zyp> no point in doing it before the quadrotor control software itself is usable :p 2013-01-30T21:50:29 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-30T21:50:44 < zyp> current board has a socket for xbee modules 2013-01-30T21:51:18 < zyp> I just don't trust zigbee with it's queuing and retransmissions to have low enough latency 2013-01-30T21:51:41 < zyp> but then I also have a normal RC radio for control for the time being :p 2013-01-30T21:52:36 < BrainDamage> how much hard lantency will you accept? 2013-01-30T21:53:39 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Ping timeout: 256 seconds] 2013-01-30T21:53:42 < zyp> haven't done any calculations on that 2013-01-30T21:54:00 < qyx_> your hands have much bigger latency than any radio 2013-01-30T21:54:05 < qyx_> probably 2013-01-30T21:55:12 < zyp> my hands don't have flow control that might be backing up commands in case of a poor link 2013-01-30T21:56:12 < zyp> it's not the radio layer I'm concerned about, it's the message scheduling layer 2013-01-30T21:56:30 < qyx_> hm, what about digimesh proprietary stack? 2013-01-30T21:56:34 < qyx_> on xbees 2013-01-30T21:56:52 < zyp> read that word «digimesh» 2013-01-30T21:56:55 < zyp> mesh 2013-01-30T21:57:17 < zyp> it's designed to get messages reliably across a packet switched mesh 2013-01-30T21:57:18 < qyx_> i know, but simple master->slave is just subset of mesh 2013-01-30T21:58:21 < zyp> what I want is a point to point link with different transport types, with one kind of message that will not be retransmitted if los 2013-01-30T21:58:24 < zyp> lost 2013-01-30T21:58:33 < qyx_> hm 2013-01-30T21:58:40 < qyx_> ok, good point 2013-01-30T21:58:44 < zyp> sort of like isochronous transfers on usb 2013-01-30T21:58:49 < gxti> 6lopan! 2013-01-30T21:58:50 * gxti runs 2013-01-30T21:59:23 < emeb> mesh would be appropriate for your invading squadron of n-copters. 2013-01-30T21:59:26 < zyp> and then I also want a reliable acked transport type for remote function calls 2013-01-30T21:59:55 < zyp> emeb, that's also a possibility :p 2013-01-30T22:00:07 < zyp> but anyway, future project 2013-01-30T22:00:28 < zyp> I probably won't get around to it until efr4d is available anyway :p 2013-01-30T22:00:51 < BrainDamage> I kinda hope quadcopters will be more popular 2013-01-30T22:01:05 < BrainDamage> so I'll be able to self justify building an autocannon or similar 2013-01-30T22:01:22 < zyp> :) 2013-01-30T22:02:52 < emeb> gov't would probably make it illegal to disable drones. 2013-01-30T22:03:18 <+Steffanx> Here they just make the drones illegal .. 2013-01-30T22:03:20 < emeb> can't have the falling out of the sky. think of the children. 2013-01-30T22:03:43 < gxti> it's generally illegal to shoot at other people's property, government or otherwise :p 2013-01-30T22:03:52 <+Steffanx> Here they think quadrocopters are dangerous, so that what to regulate them 2013-01-30T22:04:00 < baird> Civilian UAVs here in AU need a remote kill-switch.. 2013-01-30T22:04:02 < dirty_d> then just use regular-copters 2013-01-30T22:04:07 <+Steffanx> Ok, they can be. Near air fields etc. 2013-01-30T22:04:24 <+Steffanx> **ports 2013-01-30T22:04:27 < dirty_d> Steffanx, where? 2013-01-30T22:04:31 <+Steffanx> Dutchland 2013-01-30T22:05:14 < dirty_d> is that a real country or do you mean deutschland? 2013-01-30T22:05:22 < BrainDamage> here all flying junk needs to be within visual range of the controller 2013-01-30T22:05:24 < zyp> ha 2013-01-30T22:05:28 < BrainDamage> even autonomous vehicles 2013-01-30T22:05:35 < BrainDamage> otherwise you need a special license and verification 2013-01-30T22:05:44 < BrainDamage> and max range is like 200m even with visual 2013-01-30T22:06:28 <+Steffanx> No no, dirty_d. Dutchland. THE country where they talk dutch :P 2013-01-30T22:06:35 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 2013-01-30T22:06:35 < dirty_d> lol 2013-01-30T22:06:43 -!- _BJFreeman [~bjfree@27.sub-75-233-173.myvzw.com] has joined ##stm32 2013-01-30T22:06:54 < zyp> i.e. NL 2013-01-30T22:06:54 <+Steffanx> aka Holland ( which is incorrect ) or The Netherlands 2013-01-30T22:07:02 < dirty_d> oh, ok 2013-01-30T22:07:02 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-30T22:07:27 < gxti> they speak dutch in dutchland, not deutch like in deutchland 2013-01-30T22:07:31 -!- BJFreeman [~bjfree@94.sub-75-233-209.myvzw.com] has quit [Ping timeout: 260 seconds] 2013-01-30T22:07:32 < gxti> duh 2013-01-30T22:07:34 < gxti> (tch) 2013-01-30T22:07:54 < dirty_d> tsch? 2013-01-30T22:08:01 <+Steffanx> Yeah 2013-01-30T22:08:03 < dirty_d> deutche 2013-01-30T22:08:06 <+Steffanx> sche 2013-01-30T22:08:08 < dirty_d> oops 2013-01-30T22:08:22 < gxti> quit being a deutch 2013-01-30T22:08:24 < dirty_d> lol 2013-01-30T22:08:40 <+Steffanx> But hey, I didn't meant to go off topic :P 2013-01-30T22:08:48 < zyp> it's pretty different, from what I hear 2013-01-30T22:09:34 < zyp> when I was on a school trip to NL, one of the teachers were from Germany 2013-01-30T22:09:47 < zyp> apparently she didn't understand much dutch :p 2013-01-30T22:10:24 <+Steffanx> Mein Deutsch is auch nicht so gut 2013-01-30T22:10:39 < zyp> let op, drempels 2013-01-30T22:11:08 <+Steffanx> Yes yes, that no german 2013-01-30T22:11:17 -!- _BJFreeman is now known as BJFreeman 2013-01-30T22:11:26 < zyp> sure 2013-01-30T22:11:58 <+Steffanx> Especially german grammer sucks ass. Mein, meine, meinen. Der dem den, etc :P man, who designed tha languauge? 2013-01-30T22:12:04 < zyp> hmm, reminds me that I actually had three years with german in school 2013-01-30T22:12:09 < zyp> I don't remember shit :p 2013-01-30T22:12:53 < zyp> I'm pretty sure I speak way better japanese than I ever spoke german :p 2013-01-30T22:13:02 < BrainDamage> english too, it's spelled grammar, not grammer 2013-01-30T22:13:15 < BrainDamage> :P 2013-01-30T22:13:30 < zyp> but then I've never been to germany though, and three times to japan, so that might have something to do with it :p 2013-01-30T22:13:53 < qyx_> Steffanx: all slavic languages have that also 2013-01-30T22:13:55 <+Steffanx> That's not grammar, that's just type how i would pronounce it in dutch-english BrainDamage(d) 2013-01-30T22:13:56 < BrainDamage> I've been to germany 3 times! 2013-01-30T22:14:35 < BrainDamage> low blow 2013-01-30T22:14:51 <+Steffanx> *typed 2013-01-30T22:15:06 < baird> I've been to Victoria three times, woohoo. 2013-01-30T22:15:19 < BrainDamage> furry convention? 2013-01-30T22:15:32 < gxti> brony. not even a real furry. 2013-01-30T22:16:10 <+Steffanx> Why you guys are so into furry and crap? 2013-01-30T22:16:17 <+Steffanx> *furries perhaps 2013-01-30T22:16:46 < baird> Ugh. An old friend wants to crash here for a fortnight in April... for a Ponycon. :S 2013-01-30T22:17:22 <+Steffanx> So what? Say hi and welcome to your old friend 2013-01-30T22:17:32 <+Steffanx> You really care about his hobbies he has without you? 2013-01-30T22:17:44 < gnomad> a fortnight is two weeks, right? 2013-01-30T22:17:45 < zyp> Steffanx, it's a «see, there are people around that is weirder than me» 2013-01-30T22:17:51 <+Steffanx> Maybe he can take a female pony fan home for you 2013-01-30T22:18:00 < gxti> female what? 2013-01-30T22:18:21 < gnomad> two weeks of pony play.... that's alot 2013-01-30T22:18:26 < baird> No, Jason's girlfriend gives him shit about it too. :) 2013-01-30T22:20:21 -!- barthess [~barthess@77.67.203.137] has quit [Quit: Leaving.] 2013-01-30T22:31:21 < baird> Steffanx: I won't fall for your devious plot. All girls in the brony scene are LGBT. 2013-01-30T22:32:08 <+Steffanx> Like you care about the L or B part 2013-01-30T22:36:28 < BrainDamage> LGBT? 2013-01-30T22:36:42 < BrainDamage> will I regret if I google that? 2013-01-30T22:36:51 <+Steffanx> no 2013-01-30T22:36:56 <+Steffanx> its even on wikipedia 2013-01-30T22:37:10 < mervaka> it's all about the B part. 2013-01-30T22:37:11 < BrainDamage> that doesn't make it less regrettable material 2013-01-30T22:37:24 <+Steffanx> Yes it does 2013-01-30T22:37:38 < Erlkoenig> tsss 2013-01-30T22:37:59 < BrainDamage> Steffanx: alright, read this article then: https://en.wikipedia.org/wiki/Smegma 2013-01-30T22:38:09 < baird> Never met a stable Bi girl.. 2013-01-30T22:38:24 < Erlkoenig> what does "stable" mean? 2013-01-30T22:38:26 < BrainDamage> that's because the are bi-stable, yuk yuk yuk :p 2013-01-30T22:38:36 <+Steffanx> http://share.naffets.nl/a-20130130-213829.jpg there you go Erlkoenig 2013-01-30T22:38:51 < Erlkoenig> i dont get it. 2013-01-30T22:39:01 <+Steffanx> [21:37:39] tsss 2013-01-30T22:39:27 <+Steffanx> (flat tire sound) 2013-01-30T22:39:32 < Erlkoenig> ah. okay. ... 2013-01-30T22:39:48 <+Steffanx> Girls don't understand.. 2013-01-30T22:40:04 < BrainDamage> the need to use a pump? 2013-01-30T22:40:25 < BrainDamage> but they do! https://en.wikipedia.org/wiki/Breast_pump 2013-01-30T22:40:33 < Erlkoenig> and penis pumps? 2013-01-30T22:40:43 < BrainDamage> exactly 2013-01-30T22:40:46 <+Steffanx> That's the otherway around 2013-01-30T22:41:10 <+Steffanx> The pump i linked is to get something INTO something else, not to get something OUT of something else 2013-01-30T22:41:40 < Erlkoenig> like the pump of an inflatable dildo? 2013-01-30T22:41:40 <+Steffanx> It's more like the Erlkoenig-pump, to make things larger 2013-01-30T22:42:00 -!- Laurenceb_ [~Laurence@host86-149-103-197.range86-149.btcentralplus.com] has joined ##stm32 2013-01-30T22:42:19 <+Steffanx> Laurenceb_ is back.. go on topic 2013-01-30T22:43:04 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-30T22:43:55 < dirty_d> zyp, does this wacky USB SRAM 16-bit/32-bit mapping still apply when im pointing to bytes? 2013-01-30T22:44:11 < zyp> huh? 2013-01-30T22:44:15 < zyp> of course it does 2013-01-30T22:44:18 < dirty_d> i.e. im trying to actually access the packet buffer area from software 2013-01-30T22:44:33 < zyp> you need to skip every two bytes out of four 2013-01-30T22:45:29 < dirty_d> so strange 2013-01-30T22:45:45 < zyp> i.e. the first setup packet you get will be read from these offsets from ADDR_TX: 0, 1, 4, 5, 8, 9, 12, 13 2013-01-30T22:46:16 < mervaka> could you just read as 32bit and demote to 16? 2013-01-30T22:46:45 < zyp> sure, or you could do as I do and read as 16-bit and skip every other 2013-01-30T22:46:50 < Laurenceb_> zlog 2013-01-30T22:46:50 < zlog> Laurenceb_: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2013-01-30.html 2013-01-30T22:46:53 < mervaka> :p 2013-01-30T22:47:50 < dirty_d> youre wouldnt read from ADDR_TX though right because that address is relative to the USB peripherals bus right? 2013-01-30T22:48:26 < zyp> you'd have to shift it 2013-01-30T22:48:51 < zyp> http://cgit.jvnv.net/laks/tree/usb/f1_usb.h#n161 <- just look at my read 2013-01-30T22:50:37 < zyp> ah, I'm actually doing what mervaka suggested 2013-01-30T22:50:43 < Laurenceb_> id rather read ADDR_TX as its cleaner than the chat log 2013-01-30T22:51:53 < Laurenceb_> so some guys emailed me 2013-01-30T22:52:14 < Laurenceb_> they want me to get involved in their "hat to detect ass burgerz" 2013-01-30T22:52:21 < zyp> usb.buf is a pointer to 32-bit, so usb.buf[n] returns the n-th 16-bit word and an empty top 2013-01-30T22:52:24 < Laurenceb_> using a 9DOF IMU and bluetooth 2013-01-30T22:52:46 < dirty_d> yea 2013-01-30T22:52:50 < Laurenceb_> surely the first symptom is thinking this is a good idea 2013-01-30T22:52:53 < zyp> and since ADDR_RX is a byte addr (with lowest bit reserved), I shift it one bit to give me the 16-bit offset 2013-01-30T22:53:06 < zyp> and then I do the same with i 2013-01-30T22:53:47 < zyp> thus usb.buf[base + (i >> 1)] returns two bytes, starting i bytes from the start of the endpoint buffer area 2013-01-30T22:53:48 -!- daku is now known as DaKu 2013-01-30T22:53:54 < Laurenceb_> they want to put it on kickstarter 2013-01-30T22:54:00 < Laurenceb_> after getting a gui built 2013-01-30T22:54:08 < Laurenceb_> and deciding on a name for it 2013-01-30T22:54:11 < dirty_d> oh my 2013-01-30T22:54:26 < Laurenceb_> im thinking "dunce cap" 2013-01-30T22:54:39 < Laurenceb_> and a gui with george bush icons 2013-01-30T22:55:21 < Laurenceb_> "additional features could involve an earpiece to give audio instructions on behaviour" 2013-01-30T22:58:44 < emeb> Cool - tuner + 64x decimation + complex magnitude + 8th order IIR is doable on F303 w/ 2.3MHz input sample rate. 2013-01-30T22:59:08 < Laurenceb_> neat 2013-01-30T22:59:33 < Laurenceb_> so complex mag and IIR is done at the decimated rate? 2013-01-30T22:59:36 < emeb> and that's a floating pt. IIR too, so it should be possible to do fairly selective filter. 2013-01-30T22:59:51 < emeb> Yeah - input sample rate is ~35kHz 2013-01-30T23:00:01 < Laurenceb_> ok 2013-01-30T23:00:33 < Laurenceb_> id imagine that the IIR and complex mag isnt that much of the load 2013-01-30T23:00:55 < Laurenceb_> hand written asm for the downconvert and decimate? 2013-01-30T23:01:10 < emeb> No. IIR runs on a 4-sample block every 4 samples, takes about 7us to compute. 2013-01-30T23:01:34 < emeb> Tried hand assy for the tuner/decimation, but GCC does a much better job of it. 2013-01-30T23:01:54 < Laurenceb_> hmm :P 2013-01-30T23:02:03 < Laurenceb_> is it using dual mac instruction? 2013-01-30T23:02:08 < emeb> no 2013-01-30T23:02:19 < Laurenceb_> there you go then 2013-01-30T23:02:50 < emeb> This is a fully tunable NCO with 32-bit phase acc tho 2013-01-30T23:02:58 < emeb> 1k Sine LUT. 2013-01-30T23:03:17 < emeb> 64 samples takes ~ 17us to process. 2013-01-30T23:03:58 < Laurenceb_> hmm 2013-01-30T23:04:14 < Laurenceb_> surely you can precompute with some code in flash 2013-01-30T23:04:46 < emeb> maybe. cba. :) 2013-01-30T23:04:52 < emeb> here's the current code: http://pastebin.com/HRerAzVK 2013-01-30T23:06:59 < Laurenceb_> i just thought of something 2013-01-30T23:07:10 < Laurenceb_> maybe you could have lookup table in CCM 2013-01-30T23:07:24 < emeb> lookup table of what? 2013-01-30T23:07:32 < Laurenceb_> then LDR might not lead to bus contention with DMA 2013-01-30T23:07:35 < Laurenceb_> of sin/cos 2013-01-30T23:07:45 < emeb> I was wondering about that. 2013-01-30T23:07:48 < emeb> easy to try. 2013-01-30T23:08:14 < Laurenceb_> you could have a retune function in flash 2013-01-30T23:08:25 < Laurenceb_> but you would lose a little data during retune 2013-01-30T23:08:34 < Laurenceb_> as it would have to 1) disable ISR 2013-01-30T23:08:49 < Laurenceb_> 2) generate new CCM code - inline asm and lookup table 2013-01-30T23:08:54 < Laurenceb_> 3) enable ISR 2013-01-30T23:09:36 < Laurenceb_> you could experiment with fixed length ISR loop doing descrete frequencies 2013-01-30T23:09:51 < Laurenceb_> then some freq shift code at the decimated frequency 2013-01-30T23:09:53 < Laurenceb_> maybe... 2013-01-30T23:11:39 < dirty_d> zyp, is there any reason youre reding into a uint32_t* instead of a uint8_t*? 2013-01-30T23:12:01 < Laurenceb_> yeah you could probably do a loop of 1K samples or so 2013-01-30T23:12:09 < Laurenceb_> and fit it in CCM 2013-01-30T23:13:42 < Laurenceb_> so ~19KHz frequency resolution if you managed to get up to 20Msps 2013-01-30T23:13:53 < emeb> maybe. 2013-01-30T23:14:24 < emeb> biggest issue is getting all the pipeline / interleaving stuff done right for the tune/decimate portion. 2013-01-30T23:14:38 < emeb> that requires much deeper knowledge than I have. 2013-01-30T23:15:15 < Laurenceb_> you mean interleaved blackmann-harris? 2013-01-30T23:15:28 < emeb> because the "obvious" assembly approach for that is waaay slower than the mysterious stuff that gcc came up with. 2013-01-30T23:15:39 < emeb> nah - not doing any windowing on the integrated portion. 2013-01-30T23:15:53 < emeb> that's just a pure integrate/dump. 2013-01-30T23:16:04 < Laurenceb_> i dodnt follow 2013-01-30T23:16:08 < Laurenceb_> *dont 2013-01-30T23:16:16 < emeb> bbiab... 2013-01-30T23:16:19 < Laurenceb_> you are implimenting NCO in code? 2013-01-30T23:28:46 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has quit [Quit: Leaving] 2013-01-30T23:34:13 < emeb> back... 2013-01-30T23:34:32 < emeb> yeah - NCO is in code, inside the tuner/integrator loop. 2013-01-30T23:34:53 < emeb> but it's just phase acc w/ sine LUT. 2013-01-30T23:44:52 -!- Laurenceb__ [~Laurence@host86-178-5-12.range86-178.btcentralplus.com] has joined ##stm32 2013-01-30T23:45:12 < Laurenceb__> ur doin it wrong 2013-01-30T23:45:28 < Laurenceb__> having said that you have precision 2013-01-30T23:45:41 < emeb> heh. 2013-01-30T23:46:10 < emeb> well, it'll be interesting to see what sort of sample rates are possible when u do it rite. :) 2013-01-30T23:46:11 -!- Laurenceb_ [~Laurence@host86-149-103-197.range86-149.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-30T23:46:53 < emeb> my "scratching the surface" on doing assembly suggests there are a lot of gotchas down that road. 2013-01-30T23:47:11 < emeb> things are not as simple as one might hope. 2013-01-30T23:47:15 < Laurenceb__> id have a ~fixed length inline asm downconvertor 2013-01-30T23:47:30 < Laurenceb__> then a cleanup secondary NCO 2013-01-30T23:48:37 < Laurenceb__> then its just load and mac 2013-01-30T23:50:15 < Laurenceb__> actuallyt you can combine the two 2013-01-30T23:50:15 < emeb> right, so the tuner operation is just a dot product with a pre-computed vector of twiddles a-la FFT. 2013-01-30T23:50:19 < Laurenceb__> yes 2013-01-30T23:50:21 < Laurenceb__> but 2013-01-30T23:50:33 < Laurenceb__> if you have a ptr index into the lookup 2013-01-30T23:50:49 < Laurenceb__> you can adjust it by +-1 for each isr 2013-01-30T23:50:57 < Laurenceb__> and get more precision 2013-01-30T23:52:32 < emeb> ic 2013-01-30T23:52:45 < Laurenceb__> that will give you a few tens of KHz 2013-01-30T23:53:13 < emeb> and then fully unroll the loop. 2013-01-30T23:53:18 < Laurenceb__> yes 2013-01-30T23:54:43 < emeb> wonder what the best you can do there as far as cycles / mac since you also need the load & ptr inc & getting the data in the right order. 2013-01-30T23:55:22 < ds2> don't you hate it when another project suddenly pre-empts your nice bring up? :/ 2013-01-30T23:55:36 < emeb> depends - is the other project interesting? 2013-01-30T23:55:45 < ds2> partially 2013-01-30T23:56:02 < ds2> customer is asking for a resurrection of a project that was shelved years ago 2013-01-30T23:56:05 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has joined ##stm32 2013-01-30T23:57:47 < Laurenceb__> emeb: i wonder if you can abuse the stack pointer 2013-01-30T23:57:57 < Laurenceb__> if nothing can nest in the isr 2013-01-30T23:58:51 < zyp> why? stmdb/ldmia would do the same as push/pop, except with any register instead 2013-01-30T23:58:56 < Laurenceb__> "hardcode" the adc data load and use push and pop 2013-01-30T23:59:00 < Laurenceb__> hmm 2013-01-30T23:59:03 < Laurenceb__> ok 2013-01-30T23:59:11 < Laurenceb__> i mean pop 2013-01-30T23:59:19 < Laurenceb__> for loading the lookup 2013-01-30T23:59:20 < dirty_d> hmm, i need another usb mini cable 2013-01-30T23:59:42 < zyp> I suspect pop has the same opcode as ldmia with sp as operand 2013-01-30T23:59:44 < dirty_d> you can hook up usb user at the same time as usb st-link right? 2013-01-30T23:59:54 < zyp> sure --- Day changed Thu Jan 31 2013 2013-01-31T00:00:15 < Laurenceb__> ah 2013-01-31T00:00:47 < Laurenceb__> i didnt know about the IA bit 2013-01-31T00:00:49 < Laurenceb__> fail 2013-01-31T00:01:14 < dirty_d> my only other usb-mini cable is providing my internet 2013-01-31T00:01:26 < dirty_d> quite a pickle im in here 2013-01-31T00:02:02 < zyp> http://bin.jvnv.net/f/Exo6T.JPG <- you need enough cables to hook up all the boards at the same time 2013-01-31T00:02:30 < emeb> Laurenceb__: maybe I'll try that approach, just code it up in C and see what happens. 2013-01-31T00:02:37 < mervaka> hmmmmmm 2013-01-31T00:03:07 < mervaka> changing NVIC preemption priorities doesn't seem to make the slightest bit of difference when dealing with simultaneous DMA IRQs 2013-01-31T00:03:11 < mervaka> :( 2013-01-31T00:03:47 < Laurenceb__> erm 2013-01-31T00:04:03 < Laurenceb__> are you sure you got that the right way around? 2013-01-31T00:04:24 < mervaka> 0 = highest? 2013-01-31T00:04:30 < zyp> yep 2013-01-31T00:04:35 < Laurenceb__> shouldnt you change subpriority? 2013-01-31T00:04:41 < mervaka> tried that too 2013-01-31T00:04:50 < mervaka> nothing seems to sway the order 2013-01-31T00:04:57 < zyp> are you sure they occur at the same time? 2013-01-31T00:05:01 < Laurenceb__> id image its a race condition 2013-01-31T00:05:34 < zyp> oh, wait 2013-01-31T00:05:38 < Laurenceb__> they can never occur at the same time exactly 2013-01-31T00:05:41 < zyp> I got a suspicion 2013-01-31T00:05:55 < zyp> mervaka, which priority values are you testing with? 2013-01-31T00:06:19 < mervaka> oh, duh 2013-01-31T00:06:20 < mervaka> one sec 2013-01-31T00:06:24 < zyp> 0 and 1? 2013-01-31T00:06:50 < mervaka> you're quite right, that was out of range 2013-01-31T00:07:01 < mervaka> priority group 2 only allows 0 1 2 3? 2013-01-31T00:07:08 < zyp> huh? 2013-01-31T00:07:19 < zyp> the thing is that lowest four bits are not implemented 2013-01-31T00:07:27 < zyp> so all values 0-15 are treated equal 2013-01-31T00:07:34 < mervaka> hmm 2013-01-31T00:07:49 < zyp> try 0, 16, 32, 48 and so on 2013-01-31T00:07:58 < Laurenceb__> with CMSIS? 2013-01-31T00:08:10 < zyp> dunno, does CMSIS shift the value? 2013-01-31T00:08:16 < Laurenceb__> i thought CMSIS made it all user friendly with shifted values 2013-01-31T00:08:35 < mervaka> oh wait, this is a bit different 2013-01-31T00:08:38 < zyp> don't ask me, I've never used CMSIS 2013-01-31T00:08:42 < Laurenceb__> oh i see 2013-01-31T00:08:44 < Laurenceb__> nvm then 2013-01-31T00:09:01 < zyp> but in the register itself, only the four highest bits is used 2013-01-31T00:09:03 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2013-01-31T00:09:05 < mervaka> although it's making a fair bit of progress inside the first ISR before the second IDR overrides 2013-01-31T00:09:17 < mervaka> using 0 1 2 3 2013-01-31T00:09:46 < zyp> with no subgroups? 2013-01-31T00:10:00 < zyp> I mean, groups 2013-01-31T00:10:37 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: ….] 2013-01-31T00:10:57 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-31T00:10:57 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-31T00:10:57 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-31T00:11:00 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-31T00:12:21 < mervaka> preemption groups 2013-01-31T00:12:33 < mervaka> er 2013-01-31T00:12:38 < mervaka> same preemption group 2013-01-31T00:12:45 < mervaka> different preemption priorities 2013-01-31T00:12:53 < mervaka> same sub priorities don't override. 2013-01-31T00:13:05 < mervaka> yeah, i was being a tool and not starting at 0 :( 2013-01-31T00:16:26 <+Steffanx> tool? 2013-01-31T00:16:34 < mervaka> idiot. 2013-01-31T00:17:39 < Laurenceb__> http://a1.ec-images.myspacecdn.com/images02/4/76159a92140e4e848ffa3b99037987ed/l.jpg 2013-01-31T00:17:42 < Laurenceb__> ma waifu 2013-01-31T00:18:23 < Laurenceb__> sorry each time Steffanx speaks i will post 4chan linx 2013-01-31T00:18:46 <+Steffanx> Can help you with that Laurenceb__ 2013-01-31T00:21:03 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-31T00:21:03 -!- Steffann [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-31T00:21:03 -!- Steffann [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-31T00:21:06 -!- mode/##stm32 [+v Steffann] by ChanServ 2013-01-31T00:23:36 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Ping timeout: 264 seconds] 2013-01-31T00:31:57 < mervaka> oh. new problem. haha 2013-01-31T00:32:07 < mervaka> i need a FIFO buffer on my UART. 2013-01-31T00:32:14 < mervaka> DMA? 2013-01-31T00:36:48 < Thorn> I'm using rtos queues for that 2013-01-31T00:37:23 < Thorn> does anyone have examples of using stm32f1 timers to read rotary encoders? 2013-01-31T00:40:50 -!- Erlkoenig [~erlkoenig@pptp-212-201-73-178.pptp.stw-bonn.de] has quit [Quit: Leaving.] 2013-01-31T00:44:17 < zyp> are they suited for doing that? 2013-01-31T00:44:43 < zyp> ah, yeah 2013-01-31T00:45:09 < mervaka> well i need a hardware FIFO, so i guess i need DMA. 2013-01-31T00:45:21 < mervaka> this looks the ticket: http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00256689.pdf 2013-01-31T00:46:21 < zyp> Thorn, see «encoder interface mode» under functional description for timer in RM 2013-01-31T00:47:45 < zyp> there seems to be a decent example of suitable settings there 2013-01-31T00:47:50 < Thorn> already looking at that 2013-01-31T00:49:14 < zyp> is there something unclear there, since you want a code example? 2013-01-31T00:49:51 < zyp> the main trick seems to be SMS=011 2013-01-31T00:54:32 -!- GargantuaSauce_ [~sauce@blk-222-208-237.eastlink.ca] has quit [Read error: Connection reset by peer] 2013-01-31T00:55:08 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-31T00:59:05 < emeb> Laurenceb__: tried putting coarse tuner coeffs into array - cut execution time by about 1/3 (still looped, in C) 2013-01-31T00:59:46 < emeb> hilarious thing - fully unrolled loop is slower. 2013-01-31T01:02:31 <+Steffann> Hows that possible emeb ? 2013-01-31T01:02:45 < Laurenceb__> hmm 2013-01-31T01:02:50 < Laurenceb__> something sounds wrong there 2013-01-31T01:03:30 < emeb> looking at the resulting assy now... 2013-01-31T01:03:35 < emeb> very strange. 2013-01-31T01:03:44 < Laurenceb__> sounds fast enough to cover AM broadcast band 2013-01-31T01:03:58 < emeb> was already fast enough for that. :) 2013-01-31T01:04:32 < emeb> 2.3MHz sample rate -> DC:1150kHz. 2013-01-31T01:04:52 < Laurenceb__> AM goes to 1.6Mhz here 2013-01-31T01:05:06 < emeb> yeah, 2013-01-31T01:05:30 < emeb> 1700 for extended band IIRC 2013-01-31T01:06:36 < R2COM> 2.3MHz sample for what? 2013-01-31T01:07:08 < Laurenceb__> F3 with downconvertion 2013-01-31T01:07:14 < R2COM> to sample 1150KHz? 2013-01-31T01:07:52 < R2COM> 2.3MHz is not enough sampling rate to sample 1150KHz 2013-01-31T01:08:30 < Laurenceb__> almost enough 2013-01-31T01:08:35 < R2COM> no 2013-01-31T01:08:54 < R2COM> it actually depends on the application but in general just 2x sampling rate is not enough 2013-01-31T01:09:05 < R2COM> only good on paper, where you can have "brick" analog filters 2013-01-31T01:09:16 < R2COM> in reality its not the case, thats why oversampling is needed most of the time 2013-01-31T01:09:26 < R2COM> at least x2.5 times 2013-01-31T01:09:27 < Laurenceb__> sure 2013-01-31T01:10:14 < Laurenceb__> https://github.com/Laurenceb/Chibi-Spectro/blob/master/sensors/PPG.c 2013-01-31T01:10:18 < Laurenceb__> thats how i do it 2013-01-31T01:10:27 < Laurenceb__> two stage 2013-01-31T01:10:45 < Laurenceb__> but you will probably be better with a offset on the lookup 2013-01-31T01:11:12 < R2COM> you sample several times? 2013-01-31T01:11:49 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-31T01:13:20 < R2COM> unless signal is oversampled, or sampled several times using equivalent time sampling, or sampled by several ADCs working in phase offset mode... signal will be pretty trashy given that sampling rate is not at least x2.5 bandwidth of input signal 2013-01-31T01:22:01 < emeb> lol - here's the unrolled loop. C -> http://pastebin.com/Nhmcvnk5 Assy -> http://pastebin.com/sGa1QT6s 2013-01-31T01:22:33 < emeb> looks like it goes through and stuffs data into temp storage, then goes back and computes the MACs. 2013-01-31T01:25:09 < Laurenceb__> fail 2013-01-31T01:25:13 < emeb> ya 2013-01-31T01:26:55 < emeb> looped version takes ~ 9us, unrolled version takes ~ 13us 2013-01-31T01:27:27 < emeb> both better than 17us for the version w/ fine NCO in the loop. 2013-01-31T01:32:31 < Laurenceb__> i think you can get the same results using adjustment of the lookup table offset 2013-01-31T01:37:23 < emeb> huh? 2013-01-31T01:41:31 < emeb> changing the ADC sample window from 19.5 to 7.5 boosts the sample rate to 3.66MHz. Should be enough to completely cover AM. 2013-01-31T01:42:40 < emeb> would be nice if ST gave a bit more granularity on that timing. 2013-01-31T01:45:30 < mervaka> what's the application? 2013-01-31T01:46:01 < emeb> oh, just a little wankfest here to see if the F303 can handle SDR 2013-01-31T01:46:08 < mervaka> haha 2013-01-31T01:46:30 < emeb> digitizing fast to DMA buffer, tuning & decimating, etc. 2013-01-31T01:46:37 < mervaka> well 2013-01-31T01:46:46 < mervaka> that would depend on the bandwidth you require, surely? 2013-01-31T01:46:52 < emeb> indeed. 2013-01-31T01:47:05 < emeb> Trying cover full AM broadcast. Looks like it might work. 2013-01-31T01:47:07 < mervaka> you could use bandpass antialias filtering to get the frequency range you wanted 2013-01-31T01:47:16 < mervaka> rather than lowpass 2013-01-31T01:47:22 < emeb> right 2013-01-31T01:47:36 < mervaka> i dunno if you're already doing that? :o 2013-01-31T01:47:45 < emeb> but just trying to keep the external circuits as simple as possible for now. 2013-01-31T01:47:54 < mervaka> well, it is simple :) 2013-01-31T01:48:07 < mervaka> and will significantly decrease the sample rate you need 2013-01-31T01:48:12 < emeb> not really 2013-01-31T01:48:13 < R2COM> bandpass filter on such low frequencies would cost almost nothing, 0.01$ L and C 2013-01-31T01:48:25 < mervaka> why wouldn't it? 2013-01-31T01:48:48 < emeb> AM broadcast is 550 - 1600. so bandpass sample rate needs to be > 2.2MHz 2013-01-31T01:49:05 < emeb> whereas lowpass sampling is > 3.4MHz. 2013-01-31T01:49:21 < emeb> and the STM32 ADC doesn't give one that much choice in sample rates. 2013-01-31T01:49:22 < mervaka> khz? 2013-01-31T01:49:51 < mervaka> *2 2013-01-31T01:49:54 < mervaka> oops 2013-01-31T01:49:54 < R2COM> so its like >1KHz signal which needs to be digitized right.. 2013-01-31T01:50:09 < mervaka> 2100khz 2013-01-31T01:50:27 < R2COM> total signal bandwidth which has to be processed is what? 2013-01-31T01:50:28 < mervaka> assuming it falls nicely into the bands, hold on 2013-01-31T01:50:30 < R2COM> 1MHz? 2013-01-31T01:50:43 -!- Steffann [~Steffanx@unaffiliated/steffanx] has quit [Read error: Connection reset by peer] 2013-01-31T01:50:51 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-31T01:50:52 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-31T01:50:52 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-31T01:50:55 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-31T01:51:01 < emeb> Trying to do all the tuning / filtering in digits here. 2013-01-31T01:51:36 < emeb> If I wanted to do a tuned filter with external LC then it might as well just be a regular AM radio front-end. 2013-01-31T01:52:09 < R2COM> but some filter anyhow is needed 2013-01-31T01:52:19 < emeb> no doubt. 2013-01-31T01:52:24 < mervaka> you need an aa filter anyway 2013-01-31T01:52:32 < mervaka> so why not use aliasing to your advantage? 2013-01-31T01:52:44 < emeb> please tell me more. 2013-01-31T01:52:48 < mervaka> right 2013-01-31T01:52:58 < mervaka> so say you sample at 8khz 2013-01-31T01:53:12 < mervaka> traditionally with a lowpass you get 0-4khz 2013-01-31T01:53:24 < mervaka> but what if your frequency of interest was 4-8khz? 2013-01-31T01:54:05 < mervaka> you'd need to provide spectral reversal, but it'd work for the same sample rate 2013-01-31T01:54:09 < R2COM> then you need either downconvert, or have 16Khz sampling rate (paper) 2013-01-31T01:54:33 < emeb> no, he's right. That's called IF sampling. Perfectly valid. 2013-01-31T01:54:45 < R2COM> I know what IF sampling is 2013-01-31T01:54:45 < mervaka> or 8-12khz without reversal, and so on. 2013-01-31T01:54:53 < emeb> Does require fairly good bandpass to limit the input bandwidth. 2013-01-31T01:54:55 < R2COM> for IF sampling ADC must be capable of doing that... 2013-01-31T01:55:01 < emeb> yeah 2013-01-31T01:55:09 < emeb> needs narrow aperture. 2013-01-31T01:55:15 < emeb> which this ADC doesn't have. 2013-01-31T01:55:20 < R2COM> well...there you go 2013-01-31T01:56:05 < mervaka> quick question for you guys.. 2013-01-31T01:56:18 < emeb> ok 2013-01-31T01:56:21 < mervaka> if i have DMA enabled on a peripheral 2013-01-31T01:56:24 < mervaka> ie USART1 2013-01-31T01:57:07 < mervaka> if i wanted to use the IDLE interrupt, i apparently need to read the SR then DR. would reading the DR mess anything up on the DMA side? 2013-01-31T01:57:51 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-31T01:57:57 < mervaka> ie, would it advance the pointer? 2013-01-31T01:58:02 < mervaka> or anything strange 2013-01-31T01:58:32 < zippe> mervaka: it shouldn't 2013-01-31T01:58:38 < mervaka> cool. 2013-01-31T01:58:45 < zippe> merk ava: but it's possible that you will loose a byte 2013-01-31T01:58:58 < mervaka> hmm 2013-01-31T01:59:03 < mervaka> trying to make a "variable" DMA buffer 2013-01-31T01:59:08 < zippe> Why? 2013-01-31T01:59:10 < mervaka> well, a FIFO 2013-01-31T01:59:37 < mervaka> because i'm busy with higher priority IRQs while receiving data 2013-01-31T01:59:51 < zippe> Just set up a circular buffer, set the HF and TC bits, handle those and then poll for partial halves. 2013-01-31T02:00:10 < mervaka> partial halves? 2013-01-31T02:00:19 < mervaka> oh 2013-01-31T02:00:22 < mervaka> hmm 2013-01-31T02:00:24 < zippe> So say you have a 32-byte circular buffer 2013-01-31T02:00:33 < mervaka> yeah 2013-01-31T02:00:33 < zippe> You will get interrupts at HF and TC, i.e. every 16 bytes 2013-01-31T02:00:36 < mervaka> yep 2013-01-31T02:00:42 < zippe> But if you only get 4, they will sit in the ring forever 2013-01-31T02:00:46 < zippe> So you need to poll for them 2013-01-31T02:00:50 < mervaka> yeah 2013-01-31T02:00:58 < mervaka> i see. 2013-01-31T02:01:28 < mervaka> do i look at the DMA controller NTDR register for that? 2013-01-31T02:01:32 < mervaka> well, the length 2013-01-31T02:02:24 < Laurenceb__> back 2013-01-31T02:02:44 < Laurenceb__> mervaka: i think emeb wants to avoid any aliasing tricks 2013-01-31T02:02:50 < mervaka> ah k 2013-01-31T02:02:59 < mervaka> would really help him, but meh 2013-01-31T02:03:35 < emeb> ya 2013-01-31T02:03:43 < emeb> wouldn't help much 2013-01-31T02:03:50 < mervaka> although that said, the bandwidth required is higher than Fl 2013-01-31T02:03:55 < mervaka> bugger. 2013-01-31T02:04:12 < emeb> the bandwidth is not much narrower for the bp case vs the lp case. 2013-01-31T02:04:21 < mervaka> indeed. 2013-01-31T02:05:18 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 276 seconds] 2013-01-31T02:06:20 < zippe> mervaka: CNDTR tells you how far you are from the end of the circle, yes 2013-01-31T02:07:33 < ds2> it isn't a trick 2013-01-31T02:07:49 < ds2> sample is doing a paper doll trick on your spectrum 2013-01-31T02:07:57 < ds2> you can pick any copy of the paper doll you want 2013-01-31T02:08:19 < emeb> only works if you have an infinitely narrow sampling aperture. 2013-01-31T02:08:34 < emeb> otherwise you get sinc rolloff of the images 2013-01-31T02:08:48 < ds2> I know RF guys who do this to down sample 2013-01-31T02:09:02 < emeb> ya - I do it in a board that I have designed right here. 2013-01-31T02:09:07 < ds2> that way you don't have to have a 5GHz sample rate to pickup a section of the 2.4GHz band 2013-01-31T02:09:10 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-31T02:09:28 < emeb> right - I'm sampling a 2100MHz signal with 245MHz clock. works great 2013-01-31T02:09:39 < ds2> so why can't that work with the stm32? 2013-01-31T02:09:40 < emeb> but it needs very special S/H circuits. 2013-01-31T02:09:45 < ds2> ah 2013-01-31T02:09:49 < ds2> that's the part I missed 2013-01-31T02:10:10 < emeb> STM ADC has a fairly wide aperture. 2013-01-31T02:10:40 < ds2> I don't suppose the one on the TI AM33x is any better? 2013-01-31T02:10:45 < emeb> minimum 1.5 clocks IIRC, and that requires very low impedance driver. 2013-01-31T02:11:05 < emeb> yeah, the AM33xx ADC is primarily meant for resisitive touchscreen. 2013-01-31T02:11:15 < emeb> not much use for high sample rate stuff. 2013-01-31T02:11:28 < ds2> I been toying with the idea of doing that to receive AM radio 2013-01-31T02:11:45 -!- FransWillem [~fw@53533629.cm-6-4a.dynamic.ziggo.nl] has joined ##stm32 2013-01-31T02:11:47 < emeb> better off getting a good SPI ADC. 2013-01-31T02:12:03 < ds2> trying to avoid wiring up more stuff ;) 2013-01-31T02:12:06 < ds2> <--- lazy 2013-01-31T02:12:43 < ds2> yes!!! PCB passes DFM! 2013-01-31T02:14:14 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has quit [Quit: zzzzZZzzz] 2013-01-31T02:17:05 < emeb> bbiaw 2013-01-31T02:27:06 -!- Laurenceb__ [~Laurence@host86-178-5-12.range86-178.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2013-01-31T02:32:17 -!- DaKu is now known as daku 2013-01-31T02:37:26 < dongs> sup 2013-01-31T03:13:14 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has quit [Ping timeout: 255 seconds] 2013-01-31T03:18:31 < dongs> http://www.rcgroups.com/forums/showthread.php?t=1821224 2013-01-31T03:18:33 < dongs> van'd 2013-01-31T03:19:53 < dirty_d> well thats a step, my pc sees that im accepting the endpoint address now! 2013-01-31T03:23:50 < R2COM> hmm I'm still a little bit curious about Silabs chip with M3 2013-01-31T03:26:11 < dongs> its cool if you want 5V IO 2013-01-31T03:26:18 < dongs> and built in gate drivers 2013-01-31T03:26:18 < dongs> heh 2013-01-31T03:26:48 < R2COM> also, I asked them if they give free PID/VID and they said yes 2013-01-31T03:27:20 < R2COM> but well, you are limited to: 1)no FPU, 2) M3, 3) 80MHz max 2013-01-31T03:27:51 < R2COM> also their toolset is free and pretty automatic 2013-01-31T03:28:34 < dongs> well, any decent IDE supports their chip 2013-01-31T03:28:37 < dongs> thats not a big deal 2013-01-31T03:28:53 < R2COM> they are also US based 2013-01-31T03:30:01 < dongs> http://i.imgur.com/sfAL6MN.jpg you cant call 911 out of this kind avan 2013-01-31T03:45:02 < R2COM> Silabs tools have nice App builder with interactive schematics of block circuitry, you can configure and see changes on the fly on all nodes of block scheme 2013-01-31T03:45:18 < R2COM> one can do that on paper or in mind for chips which he is already familiar of course..but still 2013-01-31T03:55:47 < R2COM> current-to-voltage converter of Silabs chip using basic MOS current mirror to get voltage from current..heh, i wonder if its the case or its just simplified schematic 2013-01-31T04:33:01 < qyx_> that damned traco isolated 5V dc-dc 2013-01-31T04:33:14 < qyx_> on 5V input it has 9V output 2013-01-31T04:33:16 < qyx_> another part fried 2013-01-31T04:35:25 < qyx_> it should stay within +- 10% 2013-01-31T04:50:23 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-31T04:50:24 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-31T04:50:49 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-31T04:58:14 < baird> This morning's industrious effort: adding a lighter socket to the postie -- http://i.imgur.com/jiHxIlk.jpg 2013-01-31T04:59:39 < baird> (this afternoon's effort: putting the rear wheel back.. -_-) 2013-01-31T04:59:42 < dongs> imgur is worthless now 2013-01-31T04:59:45 < dongs> with long urls 2013-01-31T05:01:58 < baird> Today's HandyHint[tm]: those kilometres of unused computer power cords are an unlimited supply of 10-amp wiring 2013-01-31T05:03:38 < dirty_d> hrrrmm 2013-01-31T05:07:56 < Viper168> http://sphotos-b.xx.fbcdn.net/hphotos-ash4/484725_539218192765863_1572624082_n.jpg 2013-01-31T05:22:38 -!- BJFreeman [~bjfree@27.sub-75-233-173.myvzw.com] has quit [Quit: had a good time] 2013-01-31T05:22:51 < zippe> http://twitter.com/jeamland/status/296771953266679808/photo/1 2013-01-31T05:38:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-01-31T05:51:40 < dirty_d> i need a way to debug this usb stuff 2013-01-31T05:52:44 < dongs> get one of these http://www.ellisys.com/products/usbex200/index.php 2013-01-31T05:53:32 < dongs> 2 more icd panels arived 2013-01-31T05:54:39 < dongs> unfucking believable. the 10uF 0805 X7R is actually legit 2013-01-31T05:54:48 < dongs> for $15 /reel LOOOl 2013-01-31T05:55:20 < dirty_d> isnt there some usbmon thing on linux? 2013-01-31T05:58:07 < dongs> http://i.imgur.com/BQaO0KS.jpg check out all the loot 2013-01-31T05:58:44 < R2COM> who was supplier? 2013-01-31T05:59:04 < dongs> my usual guy in china 2013-01-31T05:59:15 < R2COM> there are many actually on alibaba 2013-01-31T05:59:36 < dongs> R2COM: i prefer not to play the roulette of getting random shit. 2013-01-31T05:59:47 < dongs> plus this guy takes paypal and handles gathering all teh shit together for me 2013-01-31T06:00:06 < R2COM> there are many people with different payment methods paypal as well 2013-01-31T06:00:09 < dongs> but if you can find some genuine murata shit @ alibaab for $15/reel you're welcome to point htem out to me 2013-01-31T06:00:33 < R2COM> how do you know its genuine? 2013-01-31T06:00:51 < dongs> http://www.digikey.com/product-detail/en/GRM21BR70J106KE76L/490-3904-2-ND/965918 2013-01-31T06:01:01 < R2COM> oh come on... 2013-01-31T06:01:05 < R2COM> so what? 2013-01-31T06:01:57 < dongs> want me to call up murataJP and match lot#s? 2013-01-31T06:03:02 < R2COM> I am just pointing to the fact that it doesnt make sense right away put X-mark saying that everything what you get on trading site is *not* genuine 2013-01-31T06:03:19 < R2COM> it depends on people 2013-01-31T06:10:28 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-01-31T06:10:34 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-01-31T06:11:04 < dongs> right, and i'd rather not waste time with random possibilties. 2013-01-31T06:11:23 < dongs> this company does good job and prices are decent, and they pickup other stuff locally when needed and forward/reship, so shrug 2013-01-31T06:11:32 < R2COM> which company? 2013-01-31T06:11:55 < dongs> i could get same shit maybe for $5 less on alibaba from some random shit, they wont take paypal, won't ship the way i instruct, or waste time etc. 2013-01-31T06:12:22 < dongs> wheN I picked up a tray of stm32f303 it took almost a fucking month to process teh shit. idiots wouldnt take paypal, needed some bullshit stamps, wanted to ship it by fedex so that shipping cost would have been half the tray cost etc 2013-01-31T06:12:29 < dongs> R2COM: nunyabiz, why you so care? :) 2013-01-31T06:12:44 < R2COM> why not if you presenting it in such a bright light 2013-01-31T06:18:10 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-31T06:22:24 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 276 seconds] 2013-01-31T06:28:22 -!- Bird|lappy [~Bird|ub3r@unaffiliated/htt-bird] has quit [Read error: Operation timed out] 2013-01-31T06:28:29 -!- Tekrad [user@unaffiliated/tekrad] has joined ##stm32 2013-01-31T06:28:41 < Tekrad> the readerror is here? 2013-01-31T06:28:44 < Tekrad> oh man 2013-01-31T06:29:35 < Tekrad> is there a definition of which pins are assigned to what bits in the GPIOx_IDR? Can't seem to find it in the documentation 2013-01-31T06:34:23 < Tekrad> looks like it coincides with the PA/PB/PC pin definition... 2013-01-31T06:34:25 < upgrdman> bit0 = pin0 2013-01-31T06:34:30 < upgrdman> bit1 = pin1 2013-01-31T06:34:31 < upgrdman> etc 2013-01-31T06:34:51 < Tekrad> so pa0 is bit GPIOA_IDR bit 0 2013-01-31T06:34:56 < upgrdman> and each channel (PA, PB, etc.) has its own IDR and other GPIO registers 2013-01-31T06:34:59 < Tekrad> yeah 2013-01-31T06:35:08 < Tekrad> crap...sucks that they aren't contiguious 2013-01-31T06:35:21 < upgrdman> Tekrad, yes, assuming the IDR register at the offset specified for GPIOA 2013-01-31T06:35:33 < Tekrad> sweet 2013-01-31T06:35:55 < Tekrad> thanks :) 2013-01-31T06:36:04 < upgrdman> what mcu are you using? 2013-01-31T06:36:10 < Tekrad> trying to spin a board without ever using STM32 before 2013-01-31T06:36:13 < Tekrad> STM32F103 series 2013-01-31T06:36:28 < Tekrad> looks pin compatible with F0 series (minus the power lines) 2013-01-31T06:37:02 < upgrdman> i've used the f0 and f4. not too familiar with the f1 but it should be reasonably similar 2013-01-31T06:37:09 < Tekrad> and for debug, is SWCLK/SWDAT/RESET all that is requried on teh 10pin jtag interface? I don't need the full blown JTAG 2013-01-31T06:37:21 < upgrdman> Tekrad, ground 2013-01-31T06:37:25 < Tekrad> obviously 2013-01-31T06:37:26 < Tekrad> and power 2013-01-31T06:37:33 < upgrdman> and i dont know if vdd-sense is required 2013-01-31T06:37:39 < dongs> you can use bitbanding 2013-01-31T06:37:42 < upgrdman> but yes... five pins = full SWD interface 2013-01-31T06:37:46 < dongs> if you wanna continous gpio stuff 2013-01-31T06:38:04 < Tekrad> dongs: of course 2013-01-31T06:38:12 < Tekrad> would rather read it in in a single instruction though 2013-01-31T06:38:27 < Tekrad> glad I found you guys...thanks for answering :) 2013-01-31T06:38:32 < Tekrad> back to sch/pcb layout :) 2013-01-31T06:38:35 < upgrdman> :) 2013-01-31T06:38:49 < dongs> just dont troll in here, thats against the rules 2013-01-31T06:39:06 < Tekrad> ain't nobody got time for dat 2013-01-31T06:39:23 < dongs> what happeend to being a psoc sellout>? 2013-01-31T06:39:31 < Tekrad> is this timedong? 2013-01-31T06:39:34 < dongs> ys 2013-01-31T06:39:38 < Tekrad> srs 2013-01-31T06:39:52 < Tekrad> shit is expensive 2013-01-31T06:40:01 < dongs> pfft 2013-01-31T06:40:39 < dongs> does expensive even matter wen youre making iTrash fashion accessories? 2013-01-31T06:40:45 < upgrdman> dongs, you seen flyback recently? i miss his trolling 2013-01-31T06:40:46 < Tekrad> this is for something else 2013-01-31T06:40:57 < gxti> upgrdman: wat 2013-01-31T06:41:00 < dongs> upgrdman: i think he died 2013-01-31T06:41:01 < gxti> no you don't. 2013-01-31T06:41:06 < dongs> from rectal invasion 2013-01-31T06:41:11 < upgrdman> lol 2013-01-31T06:41:21 < upgrdman> gxti, he makes irc fun 2013-01-31T06:41:28 < Tekrad> it's fun to ban him 2013-01-31T06:41:32 < upgrdman> dongs + flyback bring me smiles 2013-01-31T06:41:45 < gxti> dongs actually does stuff, flyback is just useless 2013-01-31T06:41:50 < upgrdman> lol 2013-01-31T06:42:37 < upgrdman> anyone know of a good channels for fpgas? the spartan 3e if it makes a diff. ##fpga is kinda low volume... 2013-01-31T06:44:29 < upgrdman> i just installed windows 2000 in a vm. lol's. even windows update won't work on it anymore without lots of fucking around. firefox doesn't even support win2k anymore. 2013-01-31T06:44:44 < upgrdman> maybe i should fine my windows 95 disk for shits and giggles 2013-01-31T06:48:20 -!- dirty_d [~andrew@c-76-118-112-158.hsd1.ma.comcast.net] has quit [Ping timeout: 248 seconds] 2013-01-31T06:55:31 < R2COM> just wondering, is there a specific reason using spartan 3e but not spartan 6? 2013-01-31T06:56:05 < R2COM> spartan 6 has alost same price, more LUTs. faster, and will be on market until 2019 minimum 2013-01-31T06:56:56 < gxti> last i checked the cheapest fpgas were still 3, also i think it has more LUTs in a non-BGA footprint 2013-01-31T06:57:03 < gxti> not that i would go with 3 anyway 2013-01-31T07:00:13 < upgrdman> well it wasn't my choice 2013-01-31T07:00:19 < upgrdman> im taking a class at my uni 2013-01-31T07:00:35 < upgrdman> "digilent nexys 2 board" was decreed 2013-01-31T07:02:02 < upgrdman> the xilinx software is fucking huge. like 12GB installed. 2013-01-31T07:21:09 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has quit [Ping timeout: 240 seconds] 2013-01-31T07:22:05 < R2COM> hmm so that stm-studio is sort of like a debugger or.. 2013-01-31T07:23:04 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has joined ##stm32 2013-01-31T07:23:20 < R2COM> strange never heard of it 2013-01-31T07:25:24 -!- Tekrad [user@unaffiliated/tekrad] has quit [Quit: [BX] Reserve your copy of BitchX-1.1-final for the ColecoVision today!] 2013-01-31T07:27:01 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-31T07:33:11 < emeb> upgrdman: spartan 3A is a bit newer than 3E and has a few nicer features (like works on only 2 supply voltages). 2013-01-31T07:33:51 < upgrdman> neat 2013-01-31T07:34:00 < emeb> spartan6 would be fun to use but only comes in giant tqfp144 or BGA. Spartan3A 200k is available in a VQ100 2013-01-31T07:34:10 < emeb> that's pretty easy to use for DIY. 2013-01-31T07:35:21 < emeb> I've got a 3A hooked up to a beaglebone here: http://ebrombaugh.studionebula.com/embedded/bcc/index.html 2013-01-31T07:37:07 < GargantuaSauce> so uh...i set -O3 in my makefile and the output voltage of my GPIOs halved :| 2013-01-31T07:37:16 < emeb> neat trick 2013-01-31T07:39:16 < GargantuaSauce> it's not neat it's making my shit break 2013-01-31T07:39:34 < emeb> how is that even possible. 2013-01-31T07:39:37 < GargantuaSauce> i don't even 2013-01-31T07:40:05 < emeb> are the GPIOs toggling fast - PWMing? 2013-01-31T07:41:11 < GargantuaSauce> one was going twice as fast as the other and both were doing it...i stuck about 40 nops in there and now it's fine 2013-01-31T07:41:40 < GargantuaSauce> yay capacitance 2013-01-31T07:41:40 < gxti> gpio speed? 2013-01-31T07:42:57 < GargantuaSauce> set to 100 2013-01-31T07:43:52 < dongs> apparently 3E is NDNR now 2013-01-31T07:44:03 < dongs> whats the status of 3A? is it gonna be suported for at least another decade? 2013-01-31T07:44:12 < emeb> who knows. 2013-01-31T07:44:13 < dongs> peeps here are trying to decide go with 3A or 6 2013-01-31T07:44:22 < dongs> (dont need any of features of 6 though, like pcie etc) 2013-01-31T07:44:45 < emeb> basically boils down to packaging then 2013-01-31T07:45:08 < emeb> but for long-term support 6 is probably better than 3A 2013-01-31T07:47:03 < emeb> attn: sdr fans: http://www.flickr.com/photos/44033847@N05/8417945474 2013-01-31T07:47:37 < dongs> gnome desktop, rofl 2013-01-31T07:47:43 < dongs> stopped reading there. 2013-01-31T07:47:47 < emeb> :) 2013-01-31T07:47:49 < dongs> i got a funny story about lunix +SDR 2013-01-31T07:47:55 < emeb> I'll bet... 2013-01-31T07:47:59 < dongs> a pal of mine whos been running lunix shit since like 95 2013-01-31T07:48:04 < dongs> wanted to do some sdr stuff last year 2013-01-31T07:48:06 < dongs> around septembmer or so 2013-01-31T07:48:09 < dongs> got some hardware, etc 2013-01-31T07:48:18 < dongs> all teh software is fucking giant mess of undocumented trash 2013-01-31T07:48:26 < emeb> gnuradio? 2013-01-31T07:48:26 < dongs> he spent like a week compiling/editing/dicking aroudn with shit 2013-01-31T07:48:30 < dongs> and got fuck all in the end 2013-01-31T07:48:34 < dongs> installed sdrsharp on windows 2013-01-31T07:48:37 < dongs> 10 minutes later shit was running 2013-01-31T07:48:42 < emeb> ya 2013-01-31T07:48:49 < GargantuaSauce> i wrestled with gnu radio also 2013-01-31T07:48:53 < GargantuaSauce> did not have much success 2013-01-31T07:48:54 < emeb> gnuradio is, shall we say, a moving target. 2013-01-31T07:49:19 < GargantuaSauce> moving in dimensions i am not attuned to 2013-01-31T07:49:25 < emeb> lol 2013-01-31T07:49:31 < emeb> orthogonal to everything. 2013-01-31T07:49:59 < GargantuaSauce> it employs orthogonal compile error multiplexing 2013-01-31T07:50:28 < emeb> I've actually had a fair bit of success with it on an RTLSDR dongle. 2013-01-31T07:50:49 < emeb> was able to get the GUI editor up & do some fairly complex processing flows. 2013-01-31T07:50:58 < emeb> did an FM stereo demod, etc. 2013-01-31T07:51:08 < emeb> but that success seems to be the exception. 2013-01-31T07:55:44 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-31T07:56:39 < ds2> emeb: you've used the RTLSDR? 2013-01-31T07:58:19 < emeb> ds2: yep 2013-01-31T07:58:33 < emeb> had one running on a beaglebone last summer even. 2013-01-31T07:58:54 < R2COM> whoa 2013-01-31T07:58:57 < R2COM> st visual desktop? 2013-01-31T07:59:20 < emeb> nah - just the bare command-line digitizer driver. 2013-01-31T08:00:51 < R2COM> what do you mean 2013-01-31T08:01:33 < emeb> this is what I mean: http://ebrombaugh.studionebula.com/radio/bone-rtl/index.html 2013-01-31T08:03:05 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has quit [] 2013-01-31T08:03:46 < R2COM> so is this st visual studio kinda like ide? 2013-01-31T08:03:50 < R2COM> i see it has only stm8 2013-01-31T08:03:54 < R2COM> with asm code template 2013-01-31T08:06:30 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-01-31T08:09:18 < R2COM> that st visual desktop said its supported for stm32, but during project creation I see only up to stm8 2013-01-31T08:12:51 < R2COM> ok so its basically asm "ide" xD 2013-01-31T08:13:44 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has quit [Ping timeout: 255 seconds] 2013-01-31T08:13:56 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-01-31T08:15:47 < dongs> stvd is stm8 only 2013-01-31T08:16:32 < ds2> emeb: is there anything simple that will let you actually listen to say... FM radio with that? 2013-01-31T08:18:07 < R2COM> yeah 2013-01-31T08:18:09 < R2COM> but nice 2013-01-31T08:18:14 < R2COM> now playing with microXplorer 2013-01-31T08:19:10 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-01-31T08:19:18 < R2COM> hmm that basically shows which pin would be busy if some periph used 2013-01-31T08:19:20 < R2COM> nothing much 2013-01-31T08:22:16 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 256 seconds] 2013-01-31T08:28:17 < R2COM> so anyone used stm-studio debugger already 2013-01-31T08:31:35 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-31T08:33:08 < R2COM> .NET frrame work environment for stm32... huh 2013-01-31T08:37:31 < R2COM> soo... developing high level apps for stm32f4 then... hmm 2013-01-31T08:37:34 < R2COM> reading now their doc 2013-01-31T08:39:13 < dongs> http://images.4chan.org/g/src/1359604908475.png 2013-01-31T08:41:18 < R2COM> anyhow i guess screw that netmf 2013-01-31T08:43:37 < R2COM> and microXplorer is kind of worthless 2013-01-31T08:43:44 < R2COM> same as looking in datasheet pin mapping 2013-01-31T08:44:10 < R2COM> if at least it would generate config words to be written to registers, for pin type and drive selection... it would kinda be good 2013-01-31T08:44:56 < R2COM> I'll play with stm studio debugger tho 2013-01-31T08:46:22 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-31T08:47:57 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 252 seconds] 2013-01-31T08:48:23 < jpa-> R2COM: netmf is nice, but too bad that it takes quite much RAM and is not even realtime (deterministic) 2013-01-31T08:50:51 < R2COM> yeah I felt that already, so screw that 2013-01-31T08:51:14 < R2COM> I feel quite good writing code from scratch, not even using stdperiph shit 2013-01-31T09:00:47 < jpa-> that's fine 2013-01-31T09:00:59 < jpa-> i prefer not to use stdperiph (except headers) also 2013-01-31T09:01:11 < jpa-> but i still like chibios when i need to do something more complex 2013-01-31T09:01:34 < R2COM> I dont even use std periph headers 2013-01-31T09:01:53 < jpa-> you do your own register definitions? 2013-01-31T09:02:04 < R2COM> I'm using stm32fxxx.h file 2013-01-31T09:02:05 < R2COM> and CMSIS 2013-01-31T09:02:20 < jpa-> i count stm32fxxx.h as "stdperiph headers" 2013-01-31T09:02:31 < R2COM> but thats not connected with stdperiph 2013-01-31T09:02:40 < jpa-> where/who does it come from then? 2013-01-31T09:02:48 < R2COM> stdperiph lib comes with own headers as far as I remember 2013-01-31T09:02:57 < jpa-> it also comes with that exact file 2013-01-31T09:02:59 < R2COM> headers for each peripheral in its folder or something like that 2013-01-31T09:03:03 < jpa-> and it uses that file internally 2013-01-31T09:03:09 < jpa-> it also has *more* headers 2013-01-31T09:03:17 < R2COM> yeah, it uses that file too, but I think that file is not part of it 2013-01-31T09:03:22 -!- solid_liq [~solidly@unaffiliated/solidliq] has quit [Ping timeout: 244 seconds] 2013-01-31T09:03:25 < jpa-> what is it part of? 2013-01-31T09:04:03 < R2COM> CMSIS 2013-01-31T09:04:16 < R2COM> from the file itself: "CMSIS Cortex-M4 Device Peripheral Access Layer Header File." 2013-01-31T09:04:51 < jpa-> CMSIS from who? 2013-01-31T09:05:03 < jpa-> as far as i understand, stdperiph is st's implementation of cmsis 2013-01-31T09:05:13 < jpa-> arm only distributes the parts for the CPU core 2013-01-31T09:06:03 < R2COM> i see things in file like: " Comment the line below if you will not use the peripherals drivers." 2013-01-31T09:06:16 < R2COM> so its technically disconnected from stdperiph 2013-01-31T09:07:13 < jpa-> ok, whatever :) 2013-01-31T09:07:18 < jpa-> but that's what i meant anyway :P 2013-01-31T09:08:14 < R2COM> which linker scripts you using? 2013-01-31T09:18:13 < jpa-> random 2013-01-31T09:18:19 < R2COM> xD 2013-01-31T09:18:31 < jpa-> usually i make my own based on the needs of the specific application 2013-01-31T09:19:28 < R2COM> yes 2013-01-31T09:20:10 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2013-01-31T09:21:35 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-01-31T09:29:22 < dongs> http://imgs.xkcd.com/comics/cautionary.png related 2013-01-31T09:34:18 < baird> Ooh, only a subtle suggestion that grrls are smarter than boys in that xkcd.. 2013-01-31T09:35:56 < baird> Randal must've already had a girl to bone that week.. 2013-01-31T09:37:28 -!- solid_liq [~solidly@173-23-250-226.client.mchsi.com] has joined ##stm32 2013-01-31T09:37:34 -!- solid_liq [~solidly@173-23-250-226.client.mchsi.com] has quit [Changing host] 2013-01-31T09:37:34 -!- solid_liq [~solidly@unaffiliated/solidliq] has joined ##stm32 2013-01-31T09:38:16 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-31T09:41:05 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds] 2013-01-31T09:43:24 < baird> brix shat: https://www.networkworld.com/news/2013/013013-microsoft-embraces-open-source-git-for-266280.html .. "a true adoption of Git. It is not 'Microsoft Git,'" 2013-01-31T09:44:20 < baird> laughing_overweight_linus_torvalds_sitting_on_a_plank.jpg 2013-01-31T09:49:56 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-31T09:59:08 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-31T10:25:27 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-31T10:25:43 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-01-31T10:30:29 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-31T10:39:53 < dongs> ive used visual sourcesafe and it works just fine 2013-01-31T10:39:57 < dongs> all this newfag shit isnt needed 2013-01-31T10:40:02 < dongs> and of all the shit, lol @ picking git 2013-01-31T10:40:14 < dongs> breaking news: windows devtools now depend on 100 megs of opensauce python libs 2013-01-31T10:40:16 < dongs> fucking fail 2013-01-31T10:40:31 < dongs> VS2012 is a fucking joke, ALLUPPERCASEMENUNAMESLOL and shit is buggy and slow as crap 2013-01-31T10:42:51 < zyp> blame opensource 2013-01-31T10:44:05 < dongs> what shitty opensores has all caps menus? 2013-01-31T10:44:40 < zyp> so you're saying it has to be closed sores to get to that level of shitty? 2013-01-31T10:49:03 < jpa-> VISUALBASIC IS CASEINSENSITIVE SO CAPSLOCK IS FINE 2013-01-31T10:54:15 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 260 seconds] 2013-01-31T10:55:43 -!- Viper168 [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-31T11:04:49 < baird> HAVEN'T ALL THE FORTRAN PROGRAMMERS DIED YET? 2013-01-31T11:06:25 < dongs> G04 (created by PCBNEW-RS274X (2011-07-08 BZR 3044)-stable) date 2013/01/31 13:50:00* 2013-01-31T11:06:28 < dongs> roffel 2013-01-31T11:06:29 < dongs> is that gEDA? 2013-01-31T11:09:55 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has quit [Ping timeout: 248 seconds] 2013-01-31T11:11:26 -!- fxd0h [~fx@186.18.172.240] has joined ##stm32 2013-01-31T11:11:39 -!- GargantuaSauce [~sauce@blk-222-208-237.eastlink.ca] has joined ##stm32 2013-01-31T11:12:48 < jpa-> dongs: i think kicad 2013-01-31T11:13:33 < dongs> ah yea it is 2013-01-31T11:14:07 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-31T11:45:42 -!- Laurenceb__ [~Laurence@host86-178-5-12.range86-178.btcentralplus.com] has joined ##stm32 2013-01-31T11:51:16 -!- |sark [~|sark@109.235.51.202] has quit [Ping timeout: 245 seconds] 2013-01-31T12:02:10 -!- trepidaciousMBR_ [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-31T12:04:24 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 264 seconds] 2013-01-31T12:04:25 -!- trepidaciousMBR_ is now known as trepidaciousMBR 2013-01-31T12:05:05 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has joined ##stm32 2013-01-31T12:05:06 -!- Steffanx [~Steffanx@524834A0.cm-4-1a.dynamic.ziggo.nl] has quit [Changing host] 2013-01-31T12:05:06 -!- Steffanx [~Steffanx@unaffiliated/steffanx] has joined ##stm32 2013-01-31T12:05:06 -!- mode/##stm32 [+v Steffanx] by ChanServ 2013-01-31T12:05:06 -!- |sark [~|sark@p54B624B4.dip.t-dialin.net] has joined ##stm32 2013-01-31T12:08:23 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-01-31T12:09:16 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-31T12:16:36 -!- Laurenceb__ [~Laurence@host86-178-5-12.range86-178.btcentralplus.com] has quit [Ping timeout: 248 seconds] 2013-01-31T12:26:04 -!- Thorn_ [~Thorn@128-73-82-25.broadband.corbina.ru] has joined ##stm32 2013-01-31T12:28:43 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-01-31T12:28:43 -!- dfletcher_ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-01-31T12:28:46 -!- dfletcher_ is now known as drgreenthumb 2013-01-31T12:28:54 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 260 seconds] 2013-01-31T13:14:14 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-31T13:16:00 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-31T13:26:09 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-31T13:29:09 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 2013-01-31T13:40:14 -!- alexn_ [~alexn@178-27-128-46-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-01-31T13:40:30 -!- alexn [~alexn@178-27-128-46-dynip.superkabel.de] has joined ##stm32 2013-01-31T13:41:25 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-31T13:41:35 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-31T13:43:11 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-31T13:48:59 -!- daku is now known as DaKu 2013-01-31T13:54:29 < Laurenceb> baird: randal always gets a girl to bone 2013-01-31T13:54:33 < Laurenceb> if you know what i mean 2013-01-31T13:55:06 < Laurenceb> "bQvEcAeS2757> keshi has aids o-0-o has gonorhea and knows shit about programming. join #calculus please, #&philosophy for relaxing." 2013-01-31T14:02:53 < karlp> dongs: what's with taht dosbox screenshot? 2013-01-31T14:06:20 -!- Thorn_ is now known as Thorn 2013-01-31T14:06:20 -!- Thorn [~Thorn@128-73-82-25.broadband.corbina.ru] has quit [Changing host] 2013-01-31T14:06:21 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-01-31T14:07:09 < Thorn> ok got encoder mode working, but counter changes by 4 for each click of the encoder 2013-01-31T14:09:36 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-01-31T14:09:55 -!- scrts_ [~quassel@46.17.57.19] has joined ##stm32 2013-01-31T14:10:07 -!- scrts [~quassel@unaffiliated/scrts] has quit [Ping timeout: 246 seconds] 2013-01-31T14:10:32 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-31T14:11:05 < dongs> karlp: dunno, i think the text around it 2013-01-31T14:11:19 < jpa-> Thorn: sounds normal 2013-01-31T14:12:02 < zyp> are you sure the encoder doesn't have a four times higher resolution than clicks? 2013-01-31T14:12:30 < zyp> if it's a problem, just divide counter by 4 2013-01-31T14:12:38 < Thorn> it generates 2 falling and 2 rising edges in total (2 channels) per click 2013-01-31T14:13:14 < zyp> then that's how it is 2013-01-31T14:17:25 < Thorn> looking at fig 134 in rm0008, this is how it works 2013-01-31T14:18:04 < zyp> yes 2013-01-31T14:18:18 < zyp> the counter needs to count every single edge, to keep the correct state 2013-01-31T14:19:10 < Thorn> I hoped to configure the timer itself (like prescaler or clock divider) to get 1 count er click but the timer goes crazy if these are != 0 2013-01-31T14:20:29 < Thorn> now the question is whether I want an interrupt on counter change or not. 2013-01-31T14:22:04 < Laurenceb> theres this think called bit shift 2013-01-31T14:22:07 < Laurenceb> *thing 2013-01-31T14:28:58 < Thorn> >> 2 or / 4 will lose clicks in case of jitter, I'm thinking about if(abs(old-new) > 2) generate_event(); 2013-01-31T14:37:48 < zyp> bad idea 2013-01-31T14:38:21 < zyp> first, check that the resolution is exactly four counts per click 2013-01-31T14:38:49 < jpa-> round the value so that it can be +- 2 from the click center 2013-01-31T14:38:58 < zyp> that's what I was about to say 2013-01-31T14:40:28 < Thorn> I don't need the value, I need +1 and -1 events 2013-01-31T14:40:49 < zyp> just do (x + offset) / 4, with offset set to some steady-state count + 2 mod 4 2013-01-31T14:41:35 -!- scrts_ is now known as scrts 2013-01-31T14:41:40 -!- scrts [~quassel@46.17.57.19] has quit [Changing host] 2013-01-31T14:41:40 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-01-31T14:42:03 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has quit [Remote host closed the connection] 2013-01-31T14:45:07 -!- zlog [~zlog@ip68-102-192-159.ks.ok.cox.net] has joined ##stm32 2013-01-31T14:46:24 < Laurenceb> http://ava.upuaut.net/store/index.php?route=product/product&path=59_64&product_id=71 2013-01-31T14:46:27 < Laurenceb> hawt 2013-01-31T14:53:40 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2013-01-31T14:54:21 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-31T15:00:27 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 276 seconds] 2013-01-31T15:00:49 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-31T15:18:43 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 246 seconds] 2013-01-31T15:19:33 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-31T15:25:51 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-01-31T15:27:13 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-31T15:34:55 -!- _BJFreeman [~bjfree@204.sub-75-196-76.myvzw.com] has joined ##stm32 2013-01-31T15:35:21 -!- _BJFreeman is now known as BJFreeman 2013-01-31T15:38:30 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 264 seconds] 2013-01-31T15:39:01 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-31T15:41:30 < Laurenceb> wtf kickstarter 2013-01-31T15:41:41 < Laurenceb> why does bladerf not have like $1M by now 2013-01-31T15:41:58 < dongs> bceause kickstarter. 2013-01-31T15:42:14 < Laurenceb> its the only decent thing on there 2013-01-31T15:42:49 <+Steffanx> because not that many people are interested in something like SDR 2013-01-31T15:43:03 <+Steffanx> Especially because .. $400 2013-01-31T15:43:08 < Laurenceb> permanoobs 2013-01-31T15:43:15 < Laurenceb> permapoor 2013-01-31T15:43:51 < jpa-> and also $400 without guarantees 2013-01-31T15:43:51 < dongs> if only dickstarter took paypal 2013-01-31T15:43:55 < dongs> i'd contribute to that shit 2013-01-31T15:44:27 <+Steffanx> It's just.. it's to specialized. The parallela crap for example is linux.. so w00t w00t linux super fast labla everyone can use it crap :) 2013-01-31T15:44:31 <+Steffanx> *too 2013-01-31T15:45:51 <+Steffanx> What's wrong with a CC dongs? 2013-01-31T15:45:56 < dongle> real money 2013-01-31T15:46:12 <+Steffanx> and paypal is fake money? 2013-01-31T15:46:16 < dongle> yea 2013-01-31T15:46:20 <+Steffanx> hmm 2013-01-31T15:46:59 <+Steffanx> I must do something wrong. Just spend 200$ on crap and it's really gone… the monies. 2013-01-31T15:47:05 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 2013-01-31T15:47:14 < karlp> what's that iir javascript designer page again? 2013-01-31T15:47:15 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-31T15:48:03 < karlp> t-filter.appspot.com, thanks :) 2013-01-31T15:48:34 <+Steffanx> !bookmark t-filter.appspot.com iir javascript designer 2013-01-31T15:48:37 <+Steffanx> We need that 2013-01-31T15:49:20 <+Steffanx> and than !find iir 2013-01-31T15:49:27 <+Steffanx> *then ? 2013-01-31T15:49:48 < dongle> !-stuff is lame and makes this place look like a juarez channel 2013-01-31T15:49:53 < dongle> .crap is much better 2013-01-31T15:50:59 < dongle> By funding this project you are also helping us: 2013-01-31T15:51:00 < dongle> Get a USB Vendor ID from USB-IF 2013-01-31T15:51:09 < dongle> can't they just bum a free ID from those "openmoko" dudes 2013-01-31T15:51:17 < dongle> since they're giving them away to freetard projects 2013-01-31T15:53:14 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 252 seconds] 2013-01-31T15:53:45 < Laurenceb> lol 2013-01-31T15:53:50 < Laurenceb> juarez channel 2013-01-31T15:54:29 < dongle> ha, didnt know rigol makes spectrum analyzers 2013-01-31T15:54:33 < Laurenceb> in related news my dad is now a Mexican citizen 2013-01-31T15:54:33 < dongle> I guess they're just as shitty as thier scopes. 2013-01-31T15:54:40 < Laurenceb> not sure if this is good or bad 2013-01-31T15:54:43 < dongle> bad. 2013-01-31T15:54:51 < Laurenceb> lol 2013-01-31T15:55:20 <+Steffanx> wtf Laurenceb ? 2013-01-31T15:55:40 < Laurenceb> hes worked there for 20years 2013-01-31T15:55:47 <+Steffanx> dongle i don't think it's a good idea anyway? 2013-01-31T15:55:47 < Laurenceb> so gets citizenship 2013-01-31T15:55:54 < Laurenceb> shrug 2013-01-31T15:55:56 <+Steffanx> I bet it's full with 4chan and crap within 5 minutes 2013-01-31T15:56:00 < dongle> Steffanx: what is 2013-01-31T15:56:01 < Laurenceb> he usually packs an uzi 2013-01-31T15:56:07 <+Steffanx> the ! or . stuff 2013-01-31T15:56:11 < dongle> oh right 2013-01-31T15:56:12 < dongle> shrugging 2013-01-31T15:56:20 < dongle> seeing how the official channel wiki has a total of 2 topics 2013-01-31T15:56:21 < Laurenceb> shruggle 2013-01-31T15:56:29 < dongle> i doubt anyone will care about maintaining dotstuff either 2013-01-31T15:56:56 <+Steffanx> True, we are just a bunch of lazy arses 2013-01-31T15:57:09 < Laurenceb> we need a chatbot with lots of silly stats 2013-01-31T15:57:22 < Laurenceb> like how i have typed like 500K lines of #highaltitude 2013-01-31T15:57:55 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-31T15:58:04 < Laurenceb> "time wasted" stat is about 2 years :P 2013-01-31T15:58:59 < dongle> with you, time wasted = positive infinity 2013-01-31T15:59:59 <+Steffanx> Laurenceb we just need a bot that can calculate the blaxter-ratio 2013-01-31T16:03:46 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 245 seconds] 2013-01-31T16:03:57 < dongle> how i wish feenode would stop sucking dick, damn 2013-01-31T16:04:26 <+Steffanx> Sure it's freenode and not you? 2013-01-31T16:04:35 <+Steffanx> You seem to be the only one with the problems :) 2013-01-31T16:04:58 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2013-01-31T16:05:21 <+Steffanx> You're alter ego it is, not you 2013-01-31T16:05:25 <+Steffanx> *your 2013-01-31T16:05:34 < dongle> yeah, for sure 2013-01-31T16:05:38 < dongle> as this is exactly same connection 2013-01-31T16:05:52 < dongle> and same address is conected to various other places 2013-01-31T16:05:58 < dongle> and has no issues with disconnects 2013-01-31T16:06:35 <+Steffanx> but still. dongs <-> freenode vs dongle <-> server <-> freenode 2013-01-31T16:06:53 < dongle> nope. 2013-01-31T16:07:00 < dongle> dongs <-> 10 other servers that have no problems 2013-01-31T16:07:09 <+Steffanx> Anyway connect to a different server? 2013-01-31T16:07:11 < dongle> only problem is feenode 2013-01-31T16:07:13 < dongle> i've tried. 2013-01-31T16:07:16 < dongle> they're all same shit. 2013-01-31T16:07:16 <+Steffanx> ok :) 2013-01-31T16:07:19 < dongle> its their fucked up irc client. 2013-01-31T16:07:22 < dongle> err irc server 2013-01-31T16:07:45 <+Steffanx> It's allergic for jappies? 2013-01-31T16:12:43 -!- ReggieUK [ReggieUK@5aca56e7.bb.sky.com] has joined ##stm32 2013-01-31T16:32:08 -!- tkoskine [tkoskine@kapsi.fi] has quit [Ping timeout: 240 seconds] 2013-01-31T16:32:17 -!- tkoskine [tkoskine@kapsi.fi] has joined ##stm32 2013-01-31T16:44:49 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2013-01-31T16:48:31 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-31T16:57:05 -!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##stm32 2013-01-31T16:57:39 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 248 seconds] 2013-01-31T16:59:10 -!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 246 seconds] 2013-01-31T17:01:43 -!- trepidaciousMBR_ [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-31T17:03:46 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 245 seconds] 2013-01-31T17:03:47 -!- trepidaciousMBR_ is now known as trepidaciousMBR 2013-01-31T17:05:29 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-31T17:10:17 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-01-31T17:11:47 -!- Rickta59 [~kimballr@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-01-31T17:17:18 -!- ReadError [readerror@ec2-50-19-189-163.compute-1.amazonaws.com] has quit [Excess Flood] 2013-01-31T17:18:31 < emeb_mac> Thorn: I tried out encoder mode a while back. was always seeing +2/-2 per detent on the encoder. 2013-01-31T17:18:59 < emeb_mac> do you have it set up for count on both rise/fall? I had it just for rise... 2013-01-31T17:20:13 -!- ReadError [readerror@ec2-50-19-189-163.compute-1.amazonaws.com] has joined ##stm32 2013-01-31T17:21:02 < Thorn> yes I do, that's probably why I have 4 2013-01-31T17:21:43 < zyp> huh? 2013-01-31T17:22:48 < zyp> it's a quadrature encoder, after all 2013-01-31T17:34:01 < Laurenceb> lulwut 2013-01-31T17:34:02 < Laurenceb> http://www.b3tards.com/u/ead1e32fa3e4f6dcb57f/racist-britain-trooping1.jpg 2013-01-31T17:43:21 < Laurenceb> pmsl 2013-01-31T17:43:22 < Laurenceb> http://www.st.com/internet/com/press_release/t3386.jsp 2013-01-31T17:44:01 < Laurenceb> Mt Everest is 8850 meters high and 3B chips, 3mm wide on average, is 9 km. <- truly epic fail 2013-01-31T17:45:05 < gxti> :| 2013-01-31T17:45:07 < emeb_mac> marketers 2013-01-31T17:46:09 < Laurenceb> just three orders of magnitude out there 2013-01-31T17:46:25 < gxti> the metric system is too difficult to use 2013-01-31T17:46:29 < gxti> someone should dumb it down 2013-01-31T17:47:25 < emeb_mac> wait wat? 2013-01-31T17:48:56 < baird> They should have a measurement system based on /real life/, so that it's innately familar and so has less chance of error. 2013-01-31T17:49:52 < emeb_mac> 3e-3 m * 3e9 = 9e6 m. so 9000 km, not 9km. but yeah, they're way off. 2013-01-31T17:49:53 < baird> I propose the unit of distance be how far a mobility scooter can travel on one charge of its batteries. 2013-01-31T17:51:04 < gxti> also milli should be renamed because it sounds like 'million' and only super geniuses can remember it's really not a million 2013-01-31T17:51:14 < emeb_mac> lol 2013-01-31T17:51:34 < emeb_mac> should change it to "thousie" 2013-01-31T17:52:15 < emeb_mac> but then they'd wonder if that's thousands or thousanths. 2013-01-31T17:52:40 < emeb_mac> should just speak in grunts. 2013-01-31T17:52:58 < Laurenceb> it should be obvious to anyone 2013-01-31T17:53:13 < Laurenceb> just the sensors on my desk would probably go a few meters 2013-01-31T17:54:24 < emeb_mac> here ya go - rpi has hit the big time: http://www.nytimes.com/2013/01/31/technology/personaltech/raspberry-pi-a-computer-tinkerers-dream.html?smid=go-share&_r=0 2013-01-31T17:54:54 < dongle> Almost one million of these $35 machines have shipped since last February, capturing the imaginations of educators, hobbyists and tinkerers around the world. 2013-01-31T17:55:03 < dongle> translation: shit sits in a box, unused 2013-01-31T17:55:21 < emeb_mac> precisely 2013-01-31T17:55:23 < gxti> either that or it gets hot glued to an arduino so it can blink a LED 2013-01-31T17:55:32 < dongle> The Raspberry Pi works best with an HDMI-compatible monitor and USB keyboard and mouse. It is powered via a standard USB cable . just like the one that charges your phone . and it includes an audio-out port for connecting a set of speakers, plus an RCA jack if you don.t have a digital TV or monitor available. 2013-01-31T17:55:52 < dongle> whaaat 2013-01-31T17:56:12 < dongle> Adafruit has its own version of the Pi operating system called the Raspberry Pi Education Linux Distro at learn.adafruit.com. It comes with a child-friendly browser. 2013-01-31T17:56:18 < dongle> yes, lets make a WHOLE NEW FUCKING DISTRO 2013-01-31T17:56:22 < dongle> jsut to replace: a browser 2013-01-31T17:56:37 < emeb_mac> distro-mania! 2013-01-31T17:57:44 < baird> I'm /stunned/ that Adafruit would attempt to sponge off another group's success.. 2013-01-31T17:58:08 < dongle> I should add Adafruit->Aidsfruit autocorrect to my script 2013-01-31T17:58:09 <+Steffanx> Yankelanders don't use 'milli' anyway gxti 2013-01-31T17:58:22 <+Steffanx> Why you care? :) 2013-01-31T17:58:28 < emeb_mac> milli-vanilli? 2013-01-31T17:58:55 -!- emeb_mac [~ericb@ip72-201-78-226.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-01-31T17:58:59 <+Steffanx> bb 2013-01-31T18:01:51 < baird> Then again, could be another case of the NYer including the madatory American Interest in every report. That shit happens with Australian newspapers all the time. 2013-01-31T18:01:55 -!- DaKu is now known as daku 2013-01-31T18:03:35 < Laurenceb> One Pi owner, Dave Akerman, of Brightwalton, England, 2013-01-31T18:03:37 < Laurenceb> haha 2013-01-31T18:03:42 < Laurenceb> from #hgihaltitude 2013-01-31T18:03:45 < dongle> haha 2013-01-31T18:03:47 < dongle> troll. 2013-01-31T18:04:16 < gxti> Steffanx: ha ha euros mocking americans a novel concept 2013-01-31T18:04:37 <+Steffanx> Yeah, i love it 2013-01-31T18:05:22 < dongle> attn Laurenceb http://en.wikipedia.org/wiki/Naked_Continent 2013-01-31T18:05:42 -!- emeb [~ericb@ip72-201-78-226.ph.ph.cox.net] has joined ##stm32 2013-01-31T18:06:06 < Laurenceb> "award-winning" 2013-01-31T18:06:12 < dongle> i kno rite 2013-01-31T18:06:25 < Laurenceb> "actress" 2013-01-31T18:06:42 < Laurenceb> "Scenes with local people and various wildlife are interspersed with sex scenes" 2013-01-31T18:06:44 < Laurenceb> o..k.. 2013-01-31T18:07:56 < Laurenceb> " he was struck by the poverty of children in Africa in his previous trips to the continent and he wanted to do something to help" 2013-01-31T18:08:04 < Laurenceb> but thats easy, give them free pronz 2013-01-31T18:08:12 <+Steffanx> No need to copy-paste Laurenceb. The link was meant for you, not us 2013-01-31T18:09:29 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 244 seconds] 2013-01-31T18:13:41 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-31T18:27:00 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-31T18:32:01 -!- barthess [~barthess@178.154.34.128] has joined ##stm32 2013-01-31T18:32:50 < emeb> Laurenceb: tried the fully unrolled tuner/decimator written by hand in assy. 2013-01-31T18:33:08 < dongs> dessimator 2013-01-31T18:33:11 < emeb> performance is slightly better than gcc of the loop version. 2013-01-31T18:33:29 < Laurenceb> cool 2013-01-31T18:33:39 < Laurenceb> using the dual mac instruction? 2013-01-31T18:33:53 < emeb> no, just single mac. 5 cycles per sample. 2013-01-31T18:34:12 < emeb> not sure how dual mac would work - it still has just one accum. 2013-01-31T18:35:29 < Laurenceb> sure 2013-01-31T18:35:37 < Laurenceb> so you process two samples at a time 2013-01-31T18:35:46 < Laurenceb> and do real and complex seperately 2013-01-31T18:36:15 < emeb> ah 2013-01-31T18:36:30 < emeb> derp 2013-01-31T18:36:43 < gxti> i don't understand DSP and probably never will 2013-01-31T18:37:01 < emeb> well, there are numbers... 2013-01-31T18:37:49 <+Steffanx> i feel sorry for you gxq 2013-01-31T18:37:54 <+Steffanx> *gxti 2013-01-31T18:38:10 < gxti> Steffanx: i don't accept pity from euros 2013-01-31T18:38:15 <+Steffanx> You must be too old to learn 2013-01-31T18:42:06 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has joined ##stm32 2013-01-31T18:46:31 < emeb> need to write perl script to churn out this assembly. 2013-01-31T18:47:52 < dongs> lol, perl 2013-01-31T18:48:00 < dongs> well, better thn python anyay. 2013-01-31T18:48:03 -!- fxd0h [~fx@186.18.172.240] has quit [Ping timeout: 256 seconds] 2013-01-31T18:49:03 < emeb> ya. I don't much care for perl, but sometimes it's the quickest way to get shit done 2013-01-31T18:50:56 < Laurenceb> ur doing it wrong 2013-01-31T18:51:04 < Laurenceb> you need c code to generate assembly 2013-01-31T18:51:13 < Laurenceb> or binary opcodes rather 2013-01-31T18:51:23 < Laurenceb> and that code needs to run on the F3 from flash 2013-01-31T18:51:24 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-31T18:51:28 < emeb> blech 2013-01-31T18:51:31 < Laurenceb> and be called with a frequency argument 2013-01-31T18:51:37 < emeb> why? 2013-01-31T18:51:44 < Laurenceb> cuz fast 2013-01-31T18:51:45 < Laurenceb> and pro 2013-01-31T18:51:53 < emeb> it's no faster than reading the coeffs from memory 2013-01-31T18:51:56 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Quit: trepidaciousMBR] 2013-01-31T18:52:05 <+dekar> is there a relevant difference between execution from flash vs ram? 2013-01-31T18:52:07 < R2COM> home Rev 3 of reference manual for F4 islast one, tired of reprinting shit 2013-01-31T18:52:12 < Laurenceb> i guess... 2013-01-31T18:52:17 < emeb> dekar: the code is running in ccm 2013-01-31T18:52:20 < R2COM> s/home/hope 2013-01-31T18:52:29 < Laurenceb> but i think you will need different length lookup tables 2013-01-31T18:52:39 < emeb> Laurenceb: why? 2013-01-31T18:52:48 < Laurenceb> hmm actually no 2013-01-31T18:52:57 < Laurenceb> you could probably fit 1024 samples 2013-01-31T18:53:02 < Laurenceb> and keep it at that 2013-01-31T18:53:18 < emeb> 64 is plenty 2013-01-31T18:53:19 < Laurenceb> so ignore what i said, youd only need to change the lookup 2013-01-31T18:53:25 < dirty_d> damn, you printed the manual? 2013-01-31T18:53:33 < Laurenceb> more gives more resolution 2013-01-31T18:53:42 < Laurenceb> 1024 samples gives ~ +-9Khz 2013-01-31T18:53:53 < Laurenceb> if you can get the adcs running crazy fast 2013-01-31T18:54:17 < emeb> but you don't need to do it all in the first decimation. 2013-01-31T18:54:27 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-31T18:54:30 < Laurenceb> i guess 2013-01-31T18:54:39 < Laurenceb> i was thinking to keep it fairly simple 2013-01-31T18:54:52 < Laurenceb> you can do fractional decimator by adjusting lookup offset 2013-01-31T18:55:04 < Laurenceb> using LDRIA or whatever the instruction is 2013-01-31T18:55:05 < emeb> trade off - longer code up-front vs 2nd filter step 2013-01-31T18:55:18 < Laurenceb> i dont think you need second step 2013-01-31T18:55:23 < Laurenceb> just low pass or whatever 2013-01-31T18:55:40 < emeb> yeah - doing lp IIR 2013-01-31T18:56:04 < emeb> cause bw of 1st decimation is too wide 2013-01-31T18:56:18 -!- mrcan_ [~mrcan@78.173.221.173] has joined ##stm32 2013-01-31T18:56:18 -!- mrcan_ [~mrcan@78.173.221.173] has quit [Changing host] 2013-01-31T18:56:18 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2013-01-31T18:56:19 < Laurenceb> make sense 2013-01-31T18:56:21 < Laurenceb> http://hackaday.com/2013/01/31/letting-people-on-the-internet-control-your-dating-experience/ 2013-01-31T18:56:21 < emeb> plus passband shape is crappy... 2013-01-31T18:56:24 < Laurenceb> ^wut 2013-01-31T18:56:36 < Laurenceb> yeah really you need a windowing function 2013-01-31T18:57:32 < emeb> easy to add to coeff table when recomputing that. 2013-01-31T18:58:35 -!- |sark [~|sark@p54B624B4.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 2013-01-31T18:58:52 -!- |sark [~|sark@37.247.88.155] has joined ##stm32 2013-01-31T18:59:47 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 248 seconds] 2013-01-31T19:00:35 < emeb> meh - data in coeff table needs to be loaded just so. 2013-01-31T19:00:37 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-31T19:00:59 < emeb> i1,i2,q1,q2, etc 2013-01-31T19:02:26 < dirty_d> i dont know why the hell we have RHEL5 on a brand new server with 4 6-core xeons 2013-01-31T19:02:57 < dirty_d> im struggling to get sublime-text running on it 2013-01-31T19:06:44 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has quit [Quit: Leaving] 2013-01-31T19:07:00 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has joined ##stm32 2013-01-31T19:08:52 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-122.pptp.stw-bonn.de] has joined ##stm32 2013-01-31T19:16:08 -!- dirty_d [~adowning@209-213-71-70.meganet.net] has quit [Quit: Leaving] 2013-01-31T19:17:39 < R2COM> Samtec high speed connectors arrived! 2013-01-31T19:17:40 < R2COM> nicee.. 2013-01-31T19:18:16 < baird> The LED picture throbs (at least here) when its moused-over... weird. http://www.ispreview.co.uk/index.php/2013/01/tiny-led-lights-set-to-deliver-wifi-style-internet-communications.html 2013-01-31T19:19:28 < Laurenceb> http://maps.google.co.uk/maps?q=natanz&hl=en&ll=33.724732,51.728289&spn=0.013439,0.01929&sll=38.89499,-77.002403&sspn=0.012575,0.01929&t=h&gl=uk&hnear=Natanz,+Isfahan,+Iran&z=16 2013-01-31T19:19:34 < Laurenceb> why no street view ?! 2013-01-31T19:21:27 < baird> GPS is illegal in Iran..? Kind of necessary for the googlemobile. 2013-01-31T19:21:57 < Erlkoenig> it is illegal to receive the GPS signal from satellites...?! 2013-01-31T19:23:22 < jpa-> or to import GPS devices, or to export them to iran? 2013-01-31T19:23:37 < baird> Hardly surprising.. I think Greece has something about using GPS around military facilities. Russia too. 2013-01-31T19:23:53 < R2COM> bullshit 2013-01-31T19:24:00 < R2COM> not sure about Greece... 2013-01-31T19:24:11 < baird> jpa-: possess and use them, from what I recall. 2013-01-31T19:26:01 < baird> A number of years ago, some photographers were nabbed in Greece for planespotting, and something about their having mobile GPS with them created trouble for them. 2013-01-31T19:26:05 -!- daku is now known as DaKu 2013-01-31T19:27:05 < R2COM> its just plain stupid, most big countries with satellite intelligence can figure out coordinates about surface objects anyhow, whats the point of banning gps.. 2013-01-31T19:27:16 < baird> lol, StreetView has places like the insides of the Qatar Meuseum now. Using the cursor keys to virtual-tour the place now. :) 2013-01-31T19:28:16 < baird> Ground-level details reported by agents is still highly useful. And there's not just the foreign threats. 2013-01-31T19:28:40 < jpa-> R2COM: to stop local people from damaging goverment stuff? 2013-01-31T19:28:41 < R2COM> bullshit 2013-01-31T19:34:31 < baird> Not much left in the Iraq Museum. 2013-01-31T19:35:23 <+Steffanx> R2COM knows the reason or do you just know it's bullshit? 2013-01-31T19:39:15 < baird> Disappointingly no Israeli grunts with guns at the West Bank perimeter.. 2013-01-31T19:39:46 < baird> Wait, found one! :D 2013-01-31T19:40:21 <+Steffanx> w00t 2013-01-31T19:42:29 < R2COM> I described reason 2013-01-31T19:43:42 < R2COM> sometimes in some smaller countries there are stupidity like that but it doesnt make sense, whats the point of prohibiting people with GPS if any big country with satellite intelligence can just take a look at your objects easily even without sending person 2013-01-31T19:45:30 < baird> Much of it is antiquated Cold War laws.. 2013-01-31T19:48:38 < baird> Commercial/goverment carthographic cartels in a lot of 'first world' places, too. You used to need a licence to publish maps in Australia (until 1990?). There was something on Slashdot recently about a country making the likes of Openstreetmap illegal because of 'concerns of inaccurate maps'.. 2013-01-31T19:49:57 < baird> Seems the Israeli Streetview is only where Rich People live, with a few trunk routes thrown in. 2013-01-31T19:51:52 < emeb> Laurenceb: got the dual-mac version coded/running. ~5us for tune/decimate on 64 samples. 2013-01-31T19:52:32 < Laurenceb> hmm 2013-01-31T19:52:49 < Laurenceb> not bad at all 2013-01-31T19:53:16 < emeb> yeah - leaves a fair amount of CPU bandwidth left over for low-rate processing, etc. 2013-01-31T19:57:28 < emeb> so front-end processing (including mag & 6th-order IIR) takes about 50% of CPU when running ADC @ 3.7MHz 2013-01-31T19:58:47 < gxti> think i'm going to make an isolated BMP 2013-01-31T19:59:00 < emeb> opto-isolated SWD? 2013-01-31T19:59:05 < gxti> sure why not 2013-01-31T19:59:22 < emeb> yeah - why not? 2013-01-31T19:59:50 < emeb> might be good to keep dev PC & target separate. 2013-01-31T20:00:03 < emeb> esp for that crazy power monitor gizmo you're doing. 2013-01-31T20:00:27 < gxti> that has its own isolation, the uc is cold side. but rev 3 will probably be cold-only anyway. 2013-01-31T20:01:38 <+Steffanx> Where is the fun without the risk of frying your usb port? :) 2013-01-31T20:01:47 -!- trepidaciousMBR_ [~trepidaci@176.62.208.227] has joined ##stm32 2013-01-31T20:01:47 -!- trepidaciousMBR_ [~trepidaci@176.62.208.227] has quit [Client Quit] 2013-01-31T20:05:18 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 276 seconds] 2013-01-31T20:19:19 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2013-01-31T20:19:38 < gxti> so what's the least awful way to implement an ethernet bootloader? html upload form? tftp? or if i had the forethought to include a connector, just use usb instead... 2013-01-31T20:20:15 < emeb> what processor? 2013-01-31T20:20:19 < gxti> f107 2013-01-31T20:20:36 < gxti> usb dfu is out anyway because the hse is 10mhz 2013-01-31T20:20:51 < gxti> also due to the aforementioned lack of a connector 2013-01-31T20:21:57 < emeb> 10MHz because of ethernet compatibility? 2013-01-31T20:22:04 < gxti> no, because of the application 2013-01-31T20:22:31 < gxti> hse is a VCXO that is tuned by observing GPS 2013-01-31T20:22:41 < emeb> nifty 2013-01-31T20:23:01 < gxti> the VCXO isn't presently output anywhere so it could be anything, but it was easier to get a 10mhz than 8 or 12 or 16 iirc 2013-01-31T20:23:23 < emeb> can you configure the internal PLLs to get USB working from 10MHz? 2013-01-31T20:23:37 < gxti> yeah 2013-01-31T20:23:58 < emeb> so you could do your own DFU bootloader, just can't use the built-in. 2013-01-31T20:24:17 < gxti> right. but the boards i have today have no usb connector, so whoever gets those is screwed. 2013-01-31T20:24:50 < gxti> or i have to implement both, which is probably ok. 2013-01-31T20:25:29 < emeb> so really the only option is ethernet. 2013-01-31T20:26:22 < qyx_> i think tftp will do 2013-01-31T20:26:28 < qyx_> you can even omit whole arp 2013-01-31T20:26:52 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2013-01-31T20:26:55 < qyx_> then it's only matter of decoding frames withou the need to preserve any state 2013-01-31T20:28:11 < gxti> i have plenty of flash, i'll probably just roll another lwip NO_SYS image so i have a full stack 2013-01-31T20:28:16 < gxti> using like 40k out of 128k 2013-01-31T20:34:34 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-01-31T20:44:20 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Remote host closed the connection] 2013-01-31T20:45:51 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-122.pptp.stw-bonn.de] has quit [Read error: Connection reset by peer] 2013-01-31T20:46:27 -!- Erlkoenig [~erlkoenig@pptp-212-201-76-122.pptp.stw-bonn.de] has joined ##stm32 2013-01-31T20:57:26 < gxti> so assuming i never disable SWD, is there any technical reason to need more than just gnd-swclk-swdio for program and debug? 2013-01-31T20:57:38 < gxti> things seem to work fine.... 2013-01-31T20:58:04 < gxti> obviously that's giving up swv but i doubt i'll miss it 2013-01-31T20:58:11 < emeb> I've never used it. 2013-01-31T20:58:45 < emeb> I know a guy who tried it out on Atollic once, but it sounds like it was of marginal utility. 2013-01-31T20:59:12 < gxti> i'd really love to just have a 3 pin connector on my boards 2013-01-31T21:00:53 < jpa-> gxti: if you use power-down modes, you will need NRST also 2013-01-31T21:01:19 < gxti> ah, there we go 2013-01-31T21:01:30 < jpa-> (though you can get around it by precisely pressing reset button manually, but it's not very fun 2013-01-31T21:01:44 < gxti> well i don't include reset buttons either so that's sort of out 2013-01-31T21:02:18 < jpa-> yeah, in that case everything works fine until the first time you manage to flash a firmware that goes to sleep too soon before you manage to start flash :) 2013-01-31T21:04:31 < Erlkoenig> that's actually pretty easy... do a "while(1) __WFI ();" and you F4 is bricked 2013-01-31T21:04:46 < Erlkoenig> if you don't have a reset button 2013-01-31T21:05:17 < gxti> chibios does use wfi but i guess it wakes up often enough that i haven't had problems 2013-01-31T21:05:32 < gxti> anyway, i guess i'll stick to 4 pins 2013-01-31T21:05:48 < Erlkoenig> at least provide a pad or something for the reset... ;-) 2013-01-31T21:08:32 < zyp> I usually just hook up gnd, swdio, swclk when I hook up to targets without a connector fitting directly 2013-01-31T21:08:53 < zyp> but I wouldn't do a board without nrst and swo 2013-01-31T21:09:41 < emeb> zyp: does BMP actually control NRST? 2013-01-31T21:10:30 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-31T21:10:45 < Erlkoenig> hmm what about a µC programmable/debuggable via some one-wire protocol... ^^ 2013-01-31T21:11:23 < gxti> speed is more important honestly 2013-01-31T21:13:56 < zyp> emeb, not currently 2013-01-31T21:14:08 < Erlkoenig> hmm NFC programmable 2013-01-31T21:14:08 < zyp> so it's pointless to hook up ;) 2013-01-31T21:14:17 < emeb> heh 2013-01-31T21:14:32 < zyp> Erlkoenig, you mean debugwire? 2013-01-31T21:14:48 < Erlkoenig> too proprietary ;) 2013-01-31T21:15:23 < jpa-> gxti: wfi is not a problem unless you also configure it to go into deep sleep modes 2013-01-31T21:15:51 < gxti> jpa-: i haven't completely familiarized myself with stm32 sleep, would that be any where the cpu is unclocked? 2013-01-31T21:16:04 < jpa-> yeah 2013-01-31T21:16:21 < emeb> Hmm... need to make a Matlab script to design IIR filters for use w/ CMSIS DSP lib. 2013-01-31T21:17:42 < ds2> matlab script? 2013-01-31T21:17:43 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-31T21:18:40 -!- baird [~cjb@ppp121-44-159-202.lns20.syd7.internode.on.net] has joined ##stm32 2013-01-31T21:20:23 < emeb> ya - basically just taking output from FDATool & converting to the coeff structure format that the arm_biquad_cascade_df1_f32 IIR filter function wants to see. 2013-01-31T21:21:01 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2013-01-31T21:21:10 < ds2> but why matlab? isn't this something that can come from a simple script? I know there is one for FIR stuff...figure there should be equiv for IIR? 2013-01-31T21:21:42 < jpa-> matlab has nice stuff to plot the frequency responses etc. from iir filter 2013-01-31T21:21:54 < ds2> oh 2013-01-31T21:22:01 < jpa-> (most of it is also available in octave, btw) 2013-01-31T21:22:18 < ds2> matlab never quite made sense to me..still trying to figure out why people want to use it 2013-01-31T21:22:47 < jpa-> it has a bunch of useful functions for all kinds of numerical computations 2013-01-31T21:23:10 < jpa-> that's mostly it, the language itself is not bad but nothing special either 2013-01-31T21:23:37 < emeb> ds2: Matlab/Octave native data type is a matrix, which makes it very useful for doing all kinds of system engineering. 2013-01-31T21:24:08 < ds2> emeb: whoa...that has so far (in almost 20 years) been the most insightful statement on matlab 2013-01-31T21:24:28 < emeb> :) 2013-01-31T21:24:39 < ds2> jpa-: but I can say the same thing about other scripting languages 2013-01-31T21:24:57 <+Steffanx> /scripting/programming 2013-01-31T21:24:59 < ds2> emeb: it also explains why I don't care for it. don't think in terms of matrices for what I do 2013-01-31T21:25:16 < emeb> ds2: you could learn. 2013-01-31T21:25:35 < jpa-> some things such as kalman filters only make sense in terms of matrices 2013-01-31T21:25:47 < ds2> emeb: prehaps you can answer this - why matrices? 2013-01-31T21:26:26 < jpa-> because they are a powerful mathematical tool 2013-01-31T21:26:34 < emeb> ds2: lots of engineering problems are more easily solved in matrix format. 2013-01-31T21:26:45 < emeb> eg - spice is just a big matrix solver. 2013-01-31T21:27:01 < ds2> hmmm ok 2013-01-31T21:27:17 < ds2> spice for me is LTSpice with a gui 2013-01-31T21:28:42 < emeb> for filter design in Matlab there's this: http://www.mathworks.com/products/signal/examples.html?file=/products/demos/shipping/signal/introfdatooldemo.html 2013-01-31T21:36:25 < ds2> emeb: btw, do you know of any scripts/etc to actually play audio from the rtlsdr stuff? 2013-01-31T21:37:10 < emeb> ds2: w/o using gnuradio? 2013-01-31T21:37:31 < ds2> emeb: isn't gnuradio a bunch of libraries that one needs to hook up? 2013-01-31T21:37:34 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2013-01-31T21:37:52 < ds2> all descriptions suggests you need to build pipes (like that old MS game) to get anything out of it 2013-01-31T21:38:12 < emeb> ds2: gnuradio is a huge bunch of C/C++ libraries tied together with python. 2013-01-31T21:38:28 < ds2> so the answer is, yes, w/o gnuradio 2013-01-31T21:38:41 < emeb> ds2: no, not specifically. 2013-01-31T21:38:47 < ds2> ok 2013-01-31T21:38:58 < emeb> I suppose it wouldn't be too tough to code something up if you're handy with DSP though. 2013-01-31T21:39:14 < ds2> DSP is not my area so... 2013-01-31T21:39:42 < emeb> start with the basic rtl-test app and plug in some downconvert / demod code. 2013-01-31T21:40:46 < ds2> is it really needed to downconvert? 2013-01-31T21:41:18 < emeb> you could probably squeak by w/o since the tuner on the frontend of the RTL chip can sort of do that. 2013-01-31T21:41:42 < emeb> but it helps to have fine tuning / auto tuning so a good implementation would support it. 2013-01-31T21:42:08 < ds2> oh 2013-01-31T21:42:27 < emeb> but if you just wanted something crappy to try out... :) 2013-01-31T21:49:51 < emeb> Hmmm... pretty soon I'm going to need a DC-2MHz signal generator to test this thing out... 2013-01-31T21:50:17 < emeb> preferably one that supports AM... 2013-01-31T21:50:42 < emeb> suppose I could use this: http://ebrombaugh.studionebula.com/radio/txdac/index.html 2013-01-31T21:53:12 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has quit [Ping timeout: 276 seconds] 2013-01-31T21:55:59 -!- phantoxeD [~destroy@a89-155-22-21.cpe.netcabo.pt] has joined ##stm32 2013-01-31T22:09:59 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-01-31T22:15:28 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-31T22:41:15 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 260 seconds] 2013-01-31T22:41:20 -!- _BJFreeman [~bjfree@159.sub-75-233-88.myvzw.com] has joined ##stm32 2013-01-31T22:41:35 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds] 2013-01-31T22:42:15 -!- BJFreeman [~bjfree@204.sub-75-196-76.myvzw.com] has quit [Ping timeout: 276 seconds] 2013-01-31T22:42:54 -!- _BJFreeman is now known as BJFreeman 2013-01-31T22:43:10 -!- mrcan_ is now known as mrcan 2013-01-31T22:45:19 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-31T22:48:38 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-31T22:49:00 -!- Laurenceb__ [~Laurence@host86-178-5-12.range86-178.btcentralplus.com] has joined ##stm32 2013-01-31T22:50:11 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-01-31T22:52:36 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 248 seconds] 2013-01-31T22:56:06 -!- barthess [~barthess@178.154.34.128] has quit [Quit: Leaving.] 2013-01-31T22:56:10 -!- Laurenceb__ is now known as Laurenceb_ 2013-01-31T22:56:37 < Laurenceb_> epic win 2013-01-31T22:56:55 <+Steffanx> What where who? 2013-01-31T22:57:00 * Laurenceb_ just got CE approval for some pc antenni bluetooth boards 2013-01-31T22:57:09 <+Steffanx> :D 2013-01-31T22:57:31 < Laurenceb_> *pcb 2013-01-31T22:57:51 < emeb> now you can go to Disneyland. 2013-01-31T22:58:20 <+Steffanx> you mean http://share.naffets.nl :P 2013-01-31T22:59:06 < Laurenceb_> what about disneyland Scunthorpe? 2013-01-31T22:59:18 < Laurenceb_> (UK only joke) 2013-01-31T22:59:34 <+Steffanx> I guess so 2013-01-31T22:59:38 < emeb> haha - regional humor. 2013-01-31T22:59:51 < emeb> not so funny on teh intarwebz akshully. 2013-01-31T23:00:20 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has quit [Remote host closed the connection] 2013-01-31T23:00:26 -!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 245 seconds] 2013-01-31T23:00:52 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-233-1.clienti.tiscali.it] has joined ##stm32 2013-01-31T23:02:08 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 255 seconds] 2013-01-31T23:02:59 < gxti> isn't CE approval pretty much "yep i guess this is probably ok" 2013-01-31T23:03:33 < Erlkoenig> http://omfgdogs.com/ 2013-01-31T23:03:41 <+Steffanx> Isn't it tested by some 'official' agency? 2013-01-31T23:03:42 < Laurenceb_> gxti: not really 2013-01-31T23:03:49 < Laurenceb_> needs chamber testing and stuff 2013-01-31T23:03:50 < Laurenceb_> yes 2013-01-31T23:04:22 < Laurenceb_> Erlkoenig: myyy eyyessss 2013-01-31T23:04:29 < gxti> pretty sure you can self-attest it if you have adequate documentation 2013-01-31T23:04:31 < Erlkoenig> huehuehuehue 2013-01-31T23:04:40 < gxti> it's definitely not tested by an official agency 2013-01-31T23:04:45 < gxti> like e.g. fcc 2013-01-31T23:04:46 < Laurenceb_> gxti: kind of 2013-01-31T23:05:11 < karlp> emeb: can you use that cmsis biquad routines to do a digital high pass filter? (remove dc offset from a sine wave type input on the adc) 2013-01-31T23:05:45 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-31T23:05:54 < Laurenceb_> someone needs to do a CMSIS IMU kalman 2013-01-31T23:05:57 < Laurenceb_> <- someone 2013-01-31T23:08:03 <+Steffanx> Hire some indian/chinese to do it 2013-01-31T23:17:02 < Laurenceb_> guaranteed win 2013-01-31T23:17:05 < Laurenceb_> .. or not 2013-01-31T23:24:19 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has joined ##stm32 2013-01-31T23:27:30 -!- Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Ping timeout: 256 seconds] 2013-01-31T23:28:18 < Laurenceb_> emeb: so do you have a front end for your F3 radio? 2013-01-31T23:28:48 < Laurenceb_> you could link it up to USB OTG on the F4discovery and use the I2S :P 2013-01-31T23:28:55 < Laurenceb_> for the audio out 2013-01-31T23:37:18 < emeb> Laurenceb_: no front end yet. Starting to think about how to do that. 2013-01-31T23:37:53 < Laurenceb_> coil? 2013-01-31T23:37:53 < emeb> but I'm thinking that for audio output the on-chip 12-bit DAC would be fine. 2013-01-31T23:37:59 < Laurenceb_> most coils are tuned.. 2013-01-31T23:38:03 < Laurenceb_> oh of course 2013-01-31T23:38:07 < Laurenceb_> forgot about that 2013-01-31T23:38:16 < emeb> lots of goodies on-chip. 2013-01-31T23:38:28 < Laurenceb_> you could probably forget the tuning and hook up directly to a fast opamp 2013-01-31T23:38:37 < emeb> yes - that's what I'm thinking. 2013-01-31T23:38:41 < Laurenceb_> the onboard opamps are probably too slow 2013-01-31T23:38:45 < emeb> yep 2013-01-31T23:38:48 < Laurenceb_> 10mhz gain bandwidth or something 2013-01-31T23:39:36 < emeb> a fast op-amp with a nice lowpass filter rolling off around 2MHz. 2013-01-31T23:42:13 < emeb> looks like the current software design will support ADC running @ 4.27MSPS. 2013-01-31T23:42:56 < Laurenceb_> not bad 2013-01-31T23:43:18 < Laurenceb_> you dont want to get to close to fsamp/2 2013-01-31T23:43:23 < emeb> no 2013-01-31T23:43:29 < Laurenceb_> not just due to aliasing of higher frequencies 2013-01-31T23:43:36 < Laurenceb_> you will start to see beating 2013-01-31T23:43:46 < Laurenceb_> with lower frequencies as they approach 2013-01-31T23:44:03 < emeb> right 2013-01-31T23:44:16 < Laurenceb_> few hundered KHz clearance should be ok 2013-01-31T23:44:30 < Erlkoenig> whats the difference of the "headphone outputs" and the "speaker outputs" of the CS43L22 audio DAC found on the F4 Discovery? The Speaker outputs have more power as required for speakers? 2013-01-31T23:45:05 < Laurenceb_> how do you get 4.27Msps? 2013-01-31T23:45:10 < Laurenceb_> timer triggering? 2013-01-31T23:45:12 -!- dekar [~dekar@212.255.26.75] has quit [Ping timeout: 264 seconds] 2013-01-31T23:45:44 < emeb> nah - ADC is "free running" with 12-bit and ADC_SampleTime_4Cycles5 sample period. 2013-01-31T23:46:22 < Laurenceb_> oh 2013-01-31T23:46:31 < Laurenceb_> i didnt realise it could do half integer 2013-01-31T23:46:47 < Laurenceb_> like the F1 2013-01-31T23:46:55 < emeb> there are only a few legal sample window values. 2013-01-31T23:47:21 < emeb> next slower one is 7.5 -> 3.36MSPS 2013-01-31T23:48:04 < emeb> next faster one is 2.5, but that's too fast for the software. 2013-01-31T23:48:31 < Laurenceb_> are you using LDR to load multiple registers ? 2013-01-31T23:48:55 -!- fxd0h_ [~fx@186.18.172.240] has joined ##stm32 2013-01-31T23:48:58 < emeb> yep 2013-01-31T23:49:05 < Laurenceb_> how many at a time? 2013-01-31T23:49:11 < emeb> but just 2 at a time. 2013-01-31T23:49:30 < emeb> actually only 1 32-bit, as 2 16-bit. 2013-01-31T23:49:40 < emeb> so total 5 instructions for 2 samples. 2013-01-31T23:49:45 * Laurenceb_ thinks 2013-01-31T23:50:09 < emeb> ldr, ldr, smlad, ldr, smlad 2013-01-31T23:50:14 < Laurenceb_> yeah you could improve a lot just by loading 4 samples at a time 2013-01-31T23:50:44 < emeb> hmm... plenty of unused regs now, so yeah. 2013-01-31T23:51:03 < Laurenceb_> i think i worked out 6 at a time might work 2013-01-31T23:51:13 < Laurenceb_> - ther emight be enough regs 2013-01-31T23:51:54 -!- dekar [~dekar@212.255.26.75] has joined ##stm32 2013-01-31T23:51:57 -!- mode/##stm32 [+v dekar] by ChanServ 2013-01-31T23:52:05 < emeb> yeah, so if the ldr for coeffs is currently 2 coefs, could do 4 with one instr to reduce the sequence to ldr, ldr2, smlad smlad. 2013-01-31T23:52:14 < emeb> that would be the simple one to speed up a bit. 2013-01-31T23:52:30 < emeb> 20% improvement 2013-01-31T23:53:22 < emeb> the next would be ldr2 ldr4 smlad smlad smlad smlad. 6 instr for 4 samples. 2013-01-31T23:53:51 < emeb> buuuuttt... loading multiple regs still takes multiple cycles, no? so not much improvement. 2013-01-31T23:58:10 < Laurenceb_> its a case of diminishing returns i think 2013-01-31T23:58:20 < Laurenceb_> going past 6 samples isnt really worth it --- Log closed Fri Feb 01 00:00:05 2013