--- Log opened Sun Sep 01 00:00:10 2013 2013-09-01T00:02:30 -!- Rickta59 [~Rickta59@cpe-174-106-144-066.ec.res.rr.com] has quit [Quit: leaving] 2013-09-01T00:03:15 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-01T00:11:02 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-09-01T00:11:16 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-09-01T00:20:01 -!- DanteA [~X@host-27-157-66-217.spbmts.ru] has quit [Read error: Connection reset by peer] 2013-09-01T00:20:42 < Posterdati> hi 2013-09-01T00:21:45 < Posterdati> please how can I correctly set USART3 pin to use the serial port? I did TX = PORTD 8 AF_PP, RX = PORTD 9 AF_OD, ... 2013-09-01T00:22:37 < Posterdati> SR register shows TC = 1 and TXE =1 and no errors during transmitting, but TX pin is always = 0V 2013-09-01T00:24:11 < qyx_> rx should be set as input 2013-09-01T00:24:20 < qyx_> tx af output push-pull 2013-09-01T00:24:29 < qyx_> which mcu? 2013-09-01T00:24:31 < Posterdati> not AF? 2013-09-01T00:24:32 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has joined ##stm32 2013-09-01T00:24:34 < Posterdati> stm32f107 2013-09-01T00:28:23 < Posterdati> ? 2013-09-01T00:28:33 < qyx_> i was finding datasheet 2013-09-01T00:28:52 < qyx_> if you see the table 5: pin definitions 2013-09-01T00:29:10 < qyx_> portd8/portd9 are listed under remap column 2013-09-01T00:29:32 < qyx_> it means that you have to use remap capability for these ports to assign them to usart3 2013-09-01T00:30:08 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-09-01T00:30:09 < Posterdati> is a cl device, so a remap, I didn't read that.... tx 2013-09-01T00:30:53 -!- emeb [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-01T00:31:16 < qyx_> its in RM0008, section 9.4.2 2013-09-01T00:31:17 < Posterdati> pag 175 of rm0008 2013-09-01T00:31:23 < Posterdati> a full remap 2013-09-01T00:31:47 < qyx_> set USART3_REMAP 2013-09-01T00:31:48 < qyx_> yep 2013-09-01T00:32:06 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 2013-09-01T00:32:30 < Posterdati> tx I didn't look for afio 2013-09-01T00:48:02 -!- Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-09-01T00:48:02 -!- CRF_Peter [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Read error: Connection reset by peer] 2013-09-01T00:48:32 -!- Peter is now known as Guest1206 2013-09-01T01:21:54 -!- Rickta59 [~Rickta59@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-09-01T01:24:15 -!- barthess [~barthess@178.154.57.40] has joined ##stm32 2013-09-01T01:25:17 < Posterdati> hi 2013-09-01T01:25:27 < Posterdati> how can I redirect stdout to serial port? 2013-09-01T01:26:13 < gxti> what stdout 2013-09-01T01:36:10 < Posterdati> the c stdout 2013-09-01T01:39:41 < Posterdati> http://www.scienceprog.com/connecting-stm32-usart-to-standard-io-streams-in-gcc/ 2013-09-01T01:55:19 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-247-186.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-09-01T01:56:29 < Laurenceb_> ooh nice 2013-09-01T01:56:40 < Laurenceb_> i wondered how to do that - its easy on avr 2013-09-01T01:57:55 < Laurenceb_> wait wut 2013-09-01T01:58:01 < Laurenceb_> that was too easy 2013-09-01T01:59:34 < Posterdati> yes on avr is easy 2013-09-01T02:00:50 < Posterdati> I do not know how to do that on newlib 2013-09-01T02:03:50 < Laurenceb_> do you have this working? 2013-09-01T02:05:23 < Posterdati> no 2013-09-01T02:05:37 < Laurenceb_> ah, was going to ask about binary size 2013-09-01T02:05:47 < Posterdati> what? 2013-09-01T02:05:49 < Laurenceb_> im using rfprintf from pascal stang 2013-09-01T02:05:56 < Laurenceb_> its about 1KB 2013-09-01T02:07:17 < qyx_> Laurenceb_: its already done in chibios for example, you just need to define some #define and then define some another #define with serial driver you want to use 2013-09-01T02:07:38 < Laurenceb_> actually yeah i have that working already 2013-09-01T02:07:42 < Laurenceb_> on one of my projects 2013-09-01T02:09:30 < Posterdati> qyx_: I can't use chibios, I'm on my own rtos 2013-09-01T02:09:46 < qyx_> Posterdati: but you can copy it 2013-09-01T02:09:47 < qyx_> erm 2013-09-01T02:10:01 < qyx_> you can inspire yourself 2013-09-01T02:33:20 -!- barthess [~barthess@178.154.57.40] has quit [Quit: Leaving.] 2013-09-01T02:59:17 < Laurenceb_> : aspergers much? 2013-09-01T03:02:14 -!- MrM0bius [~Joey@194.176.111.179] has joined ##stm32 2013-09-01T03:04:58 -!- MrMobius [~Joey@194.176.111.168] has quit [Ping timeout: 246 seconds] 2013-09-01T03:25:56 < dongs> sup dongs 2013-09-01T03:27:48 -!- Laurenceb_ [~Laurence@host86-136-118-2.range86-136.btcentralplus.com] has quit [Ping timeout: 268 seconds] 2013-09-01T03:31:10 < upgrdman> my accelerometer readings are like 20% off on my new pcb. same firmware with old pcb, and the readings were great. can accelerometers "partially" fail? im tempted to hot air swap it. 2013-09-01T03:32:58 < qyx_> there is usually a notice about accuracy/offset changes after reflowing in the datasheet 2013-09-01T03:34:37 < upgrdman> ya 2013-09-01T03:35:10 < upgrdman> but i think this is way past that. i know that "reflow stresses" can cause an offset in mems 2013-09-01T03:35:18 < upgrdman> 20% seems way off? 2013-09-01T03:35:37 < qyx_> hm, i never got that much 2013-09-01T03:36:08 < upgrdman> ya in my breakout board, and earlier pcb, the readers were very good. prolly <1% error 2013-09-01T03:36:46 < upgrdman> well it wont hurt to hot air it and let it cool down and try again 2013-09-01T03:37:12 < qyx_> you can always multiply it with some calibration matrix to get proper readings 2013-09-01T03:37:36 < upgrdman> ya but with that much error, im not sure if working around is the best idea 2013-09-01T03:37:53 < upgrdman> not that my item is critical, but still 2013-09-01T03:37:53 < qyx_> is that absolute error? 2013-09-01T03:38:15 < upgrdman> ? with the board flat, what should be 1g is like .8g 2013-09-01T03:38:20 < qyx_> or is it 20% noise when sensor is standing still? 2013-09-01T03:38:32 < upgrdman> not noise. just offset 2013-09-01T03:38:48 < upgrdman> i forgot to check with it flipped over. wonder if that'll read 1.2g 2013-09-01T03:38:48 < qyx_> and when you rotate it upside down? 2013-09-01T03:38:57 < qyx_> yep, try that 2013-09-01T03:39:01 < upgrdman> brb 2013-09-01T03:39:24 < qyx_> if it is offset or just the values are scaled down 2013-09-01T03:47:28 -!- shan_rei [~shan_rei@112.202.22.8] has joined ##stm32 2013-09-01T03:48:06 -!- sterna [~Adium@dhcp-185254.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-09-01T04:15:28 -!- talsit [~talsit@FL1-119-239-15-17.osk.mesh.ad.jp] has joined ##stm32 2013-09-01T04:27:00 -!- Guest1206 [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 268 seconds] 2013-09-01T04:48:03 < upgrdman> offset of 1000 counts. not the 20% i thought, but easy enough to fix. 2013-09-01T04:48:05 -!- shan_rei [~shan_rei@112.202.22.8] has quit [Quit: Leaving] 2013-09-01T04:49:01 < upgrdman> (3%) 2013-09-01T04:52:33 < dongs> http://www.indiegogo.com/projects/idoorcam-answer-door-from-mobile-device 2013-09-01T04:52:34 < dongs> uhhhh 2013-09-01T04:53:00 -!- amstan__ is now known as amstan 2013-09-01T04:53:55 < zyp> also known as «how to get people to steal your doorbell» 2013-09-01T04:58:43 < dongs> http://www.indiegogo.com/projects/sky-drone-fpv 2013-09-01T05:00:15 < dongs> The Sky Drone FPV solution combines the reliability, low latency and low price of an analog FPV system with the video quality of a digital FPV system! 2013-09-01T05:00:18 < dongs> wow 2013-09-01T05:00:19 < dongs> over 3G 2013-09-01T05:00:21 < dongs> llloalaoall 2013-09-01T05:00:23 < dongs> i wonder how they did that 2013-09-01T05:00:39 < dongs> Controller Board: BeagleBone Black 2013-09-01T05:00:40 < dongs> ahaha 2013-09-01T05:00:40 < dongs> what 2013-09-01T05:00:54 < dongs> Typical End to End Latency: <150ms 2013-09-01T05:01:11 < dongs> http://skydrone.indiegogo.s3.amazonaws.com/04.jpg 2013-09-01T05:01:53 < upgrdman> looking for a decent but low-ish cost bench multimeter. seems like the hp 3478a is the best value, or perhaps something else? 2013-09-01T05:02:52 -!- shanrei [~shan_rei@112.202.22.8] has joined ##stm32 2013-09-01T05:03:54 < shanrei> WTF! 2013-09-01T05:03:56 < shanrei> hahaha 2013-09-01T05:04:10 < dongs> hello, are you a 1) stoner 2) pumper 3) random internet user 2013-09-01T05:04:31 < upgrdman> dongs: sweet setup they got there, huh? lol 2013-09-01T05:06:09 < shanrei> *facepalm* oh well, mistyped...and the password of all things...tsk tsk...ok moving on... 2013-09-01T05:11:01 < upgrdman> at least you didnt type in your cc 2013-09-01T05:11:04 < upgrdman> :) 2013-09-01T05:13:35 < shanrei> yeah, could have been worse! 2013-09-01T05:50:39 < dongs> http://www.indiegogo.com/projects/solar-mobile-charging-kiosk 2013-09-01T05:50:40 < dongs> haha 2013-09-01T05:53:39 < dongs> wait what 2013-09-01T05:53:40 < dongs> 5) Other costs. Costs charged by Indiegogo, 4% if campaign is successful and 9% if it is not. Plus, bank transaction costs, approx. ~3%. 2013-09-01T05:53:46 < dongs> 9% if its not, meaning? 2013-09-01T05:53:56 < dongs> you get refunded minus 9%? 2013-09-01T05:55:00 < upgrdman> uber retarded 2013-09-01T06:05:39 < dongs> Donate Dollars for iPads for Ronald McDonald Houses 2013-09-01T06:05:40 < dongs> by Maria Girsch 2013-09-01T06:05:40 < dongs> Denver, Colorado, United States 2013-09-01T06:05:40 < dongs> A crazy-amazing family connectivity technology loaded onto iPads to help support the health and healing of kids in hospitals. 2013-09-01T06:05:43 < dongs> how about: no 2013-09-01T06:06:10 < dongs> for the price of one jewpad you can buy 10 chinese assdroid shits 2013-09-01T06:06:16 < dongs> and support communism 2013-09-01T06:07:03 < dongs> http://www.indiegogo.com/projects/ladibird-attach-a-high-tech-portraiture-camera-to-your-iphone-5 2013-09-01T06:07:06 < dongs> whaa 2013-09-01T06:07:24 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-09-01T06:07:33 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-09-01T06:10:04 < dongs> You look extremely washed out and your skin pores become highly visible due to the direct flash. 2013-09-01T06:10:23 < dongs> Check out OKCupid's study, which finds flash tends to make you 7 years older in photos: http://blog.okcupid.com/index.php/dont-be-ugly-by-accident/ 2013-09-01T06:10:26 < dongs> lmfao 2013-09-01T06:14:44 < englishman> 9% on "flexible funding" if you don't meet the goal 2013-09-01T06:15:07 < englishman> 4% if you meet goal for fixed or flexible. which is half of dickstarter's 8% 2013-09-01T06:15:28 < englishman> hmm but 3% CC fees. so 7% about the same as dickstarter 2013-09-01T06:22:29 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-09-01T06:23:04 -!- emeb [~ericb@ip72-223-90-58.ph.ph.cox.net] has left ##stm32 [] 2013-09-01T06:30:43 < dongs> ah 2013-09-01T06:30:45 < dongs> hmm 2013-09-01T06:34:17 -!- Guest1206 [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-09-01T06:35:55 < R2COM> hi trolls 2013-09-01T06:36:00 < R2COM> what is trolling? 2013-09-01T06:37:14 -!- MrMobius [~Joey@194.176.111.179] has joined ##stm32 2013-09-01T06:39:31 -!- MrM0bius [~Joey@194.176.111.179] has quit [Ping timeout: 246 seconds] 2013-09-01T06:41:47 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-01T07:01:38 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-09-01T07:11:05 -!- amstan_ [~alex@aichallenge/admin/amstan] has joined ##stm32 2013-09-01T07:14:20 -!- amstan [~alex@aichallenge/admin/amstan] has quit [Ping timeout: 256 seconds] 2013-09-01T07:29:11 -!- orhan89 [~orhan89@167.205.22.104] has joined ##stm32 2013-09-01T08:06:30 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-09-01T09:02:29 -!- MrM0bius [~Joey@194.176.111.175] has joined ##stm32 2013-09-01T09:05:28 -!- MrMobius [~Joey@194.176.111.179] has quit [Ping timeout: 246 seconds] 2013-09-01T09:16:34 -!- shanrei [~shan_rei@112.202.22.8] has quit [Quit: Leaving] 2013-09-01T09:20:28 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-09-01T09:20:55 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-01T09:21:33 -!- orhan89 [~orhan89@167.205.22.104] has quit [Quit: Leaving] 2013-09-01T09:21:33 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Read error: Connection reset by peer] 2013-09-01T09:22:35 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-01T09:27:33 -!- Ademan [~dan@108-66-134-195.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2013-09-01T09:31:47 -!- MrM0bius [~Joey@194.176.111.175] has quit [Read error: Connection reset by peer] 2013-09-01T09:36:13 -!- dekar_ [~dekar@212.255.24.174] has joined ##stm32 2013-09-01T09:36:23 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-09-01T09:40:15 -!- dekar__ [~dekar@212.255.250.165] has quit [Ping timeout: 260 seconds] 2013-09-01T09:41:10 -!- Activate_for_mor [~mirggi@host-50-157-66-217.spbmts.ru] has quit [Ping timeout: 246 seconds] 2013-09-01T09:42:52 -!- Activate_for_mor [~mirggi@host-9-158-66-217.spbmts.ru] has joined ##stm32 2013-09-01T09:50:10 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-09-01T10:39:22 -!- amstan_ [~alex@aichallenge/admin/amstan] has quit [Read error: Operation timed out] 2013-09-01T11:52:18 -!- barthess [~barthess@178.154.65.84] has joined ##stm32 2013-09-01T11:56:58 < R2COM> its silence here trolls! 2013-09-01T11:56:59 < R2COM> http://i.imgur.com/qficGCx.jpg 2013-09-01T12:04:28 <@Tectu> what's that game? 2013-09-01T12:04:43 < R2COM> Killing Floor 2013-09-01T12:06:11 < R2COM> Co-op survival game 2013-09-01T12:06:50 <@Tectu> I bought that game 2013-09-01T12:06:53 <@Tectu> played it once (solo) 2013-09-01T12:06:54 <@Tectu> never again 2013-09-01T12:07:04 <@Tectu> (not because I don't like it, but I couldn't survive) 2013-09-01T12:07:09 <@Tectu> I assume you have to be more than one guy for that 2013-09-01T12:07:10 < R2COM> pussy 2013-09-01T12:08:53 <@Tectu> yes. 2013-09-01T12:09:14 < R2COM> the whole fun of this game is co-op 2013-09-01T12:09:45 < dongs> http://www.linear.com/product/LT4320 2013-09-01T12:16:32 <@Tectu> no mather how much fun you have, you won't have more than with this: http://www.youtube.com/watch?v=iakvqXN80GE 2013-09-01T12:23:06 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-09-01T12:26:46 -!- barthess [~barthess@178.154.65.84] has quit [Quit: Leaving.] 2013-09-01T12:26:50 <@Tectu> dongs, what is dat 2013-09-01T12:26:54 <@Tectu> an active recetiver? 2013-09-01T12:41:34 -!- Laurenceb [~laurence@128.243.75.1] has quit [Ping timeout: 268 seconds] 2013-09-01T12:43:35 -!- barthess [~barthess@5.100.192.84] has joined ##stm32 2013-09-01T12:54:45 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2013-09-01T13:00:38 -!- amstan_ [~alex@aichallenge/admin/amstan] has joined ##stm32 2013-09-01T13:26:46 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has joined ##stm32 2013-09-01T13:27:52 -!- sterna [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-09-01T13:34:58 <+Steffanx> recetiver Tectu? :P 2013-09-01T13:35:35 <@Tectu> woops... rectifier 2013-09-01T13:35:52 < dongs> too kawaii 2013-09-01T13:38:27 -!- barthess [~barthess@5.100.192.84] has quit [Quit: Leaving.] 2013-09-01T13:42:11 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-09-01T13:45:34 <@Tectu> run Steffanx, run! :P 2013-09-01T13:45:42 <+Steffanx> ok mr Tectu 2013-09-01T13:45:49 <+Steffanx> Bye. 2013-09-01T13:48:36 <@Tectu> >.> 2013-09-01T13:51:09 -!- Activate_for_mor [~mirggi@host-9-158-66-217.spbmts.ru] has quit [Ping timeout: 241 seconds] 2013-09-01T13:56:11 -!- espiral [~maze@unaffiliated/espiral] has quit [Ping timeout: 268 seconds] 2013-09-01T14:05:12 < Posterdati> zyp: I'm integrating laks/usb in my project :) 2013-09-01T14:05:37 < Posterdati> zyp: I need help to redirect newlib stdout to usart, is there any example? 2013-09-01T14:07:08 <@Tectu> laks? 2013-09-01T14:07:41 <+Steffanx> the lib zyp writes/wrote .. 2013-09-01T14:07:43 <+Steffanx> laks! 2013-09-01T14:08:01 <+Steffanx> attn Tectu: http://cgit.jvnv.net/laks/ 2013-09-01T14:10:28 < Posterdati> laks! 2013-09-01T14:11:53 <@Tectu> I could go jpa- style now... "buuuuuuuh, no GPL..." 2013-09-01T14:14:50 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-09-01T14:15:36 <+Steffanx> jpa- watch watch, no gpl! 2013-09-01T14:19:48 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-09-01T14:20:23 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-09-01T14:22:42 < timemob> Sup not users of kawaii os and Tectu 2013-09-01T14:24:01 <@Tectu> oh noez 2013-09-01T14:30:10 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2013-09-01T14:31:08 -!- barthess [~barthess@5.100.192.124] has joined ##stm32 2013-09-01T14:50:30 -!- Guest1206 [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 256 seconds] 2013-09-01T14:51:14 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-09-01T14:53:53 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Ping timeout: 245 seconds] 2013-09-01T15:00:18 < karlp> Laurenceb: did you really not know how to get printf stdio to a uart before? 2013-09-01T15:00:27 < karlp> you just implement _write (and _read) 2013-09-01T15:00:28 < karlp> https://github.com/libopencm3/libopencm3-examples/blob/master/examples/stm32/l1/stm32l-discovery/button-irq-printf/main.c#L85 2013-09-01T15:01:04 < karlp> chromium thinks the laks tree is in indonesian.... 2013-09-01T15:01:56 -!- t1memob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Read error: Connection reset by peer] 2013-09-01T15:02:08 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has joined ##stm32 2013-09-01T15:02:59 -!- Guest1206 [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-09-01T15:05:59 -!- espiral [~maze@unaffiliated/espiral] has joined ##stm32 2013-09-01T15:16:52 -!- Activate_for_mor [~mirggi@host-9-158-66-217.spbmts.ru] has joined ##stm32 2013-09-01T15:17:19 -!- timemob [~dongs@g1-27-253-251-108.bmobile.ne.jp] has quit [Quit: Bye] 2013-09-01T15:18:16 -!- espiral [~maze@unaffiliated/espiral] has quit [Ping timeout: 256 seconds] 2013-09-01T15:28:03 -!- Laurenceb_ [~Laurence@host86-136-118-2.range86-136.btcentralplus.com] has joined ##stm32 2013-09-01T15:30:30 -!- espiral [~maze@unaffiliated/espiral] has joined ##stm32 2013-09-01T15:34:57 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has joined ##stm32 2013-09-01T15:48:02 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has quit [Read error: Operation timed out] 2013-09-01T15:49:59 < Posterdati> https://sites.google.com/site/stm32discovery/open-source-development-with-the-stm32-discovery/getting-newlib-to-work-with-stm32-and-code-sourcery-lite-eabi 2013-09-01T15:50:18 < Posterdati> got hardfault 2013-09-01T15:50:27 < Posterdati> on printf 2013-09-01T15:51:14 < karlp> are you using exactlt the same toolchain chip and linker script as that example? 2013-09-01T15:51:22 < karlp> and linker flags? 2013-09-01T15:51:49 < Posterdati> yes 2013-09-01T15:52:13 < Posterdati> removing stdio stuffs give me no hardfaults 2013-09-01T16:17:57 < dongs> http://cds.linear.com/docs/en/datasheet/4637fa.pdf wtf 2013-09-01T16:18:45 < Laurenceb_> wut 2013-09-01T16:19:39 < Laurenceb_> oh wtf @ the package 2013-09-01T16:20:16 < qyx_> lol lga 2013-09-01T16:22:21 < dongs> also lol @ price 2013-09-01T16:22:23 < dongs> $37 2013-09-01T16:22:24 < dongs> for that shit 2013-09-01T16:22:26 < dongs> wtfaaak 2013-09-01T16:22:37 -!- Activate_for_mor [~mirggi@host-9-158-66-217.spbmts.ru] has quit [Ping timeout: 246 seconds] 2013-09-01T16:22:43 < Laurenceb_> its for n00bs 2013-09-01T16:22:50 < Laurenceb_> who cant design a proper smps 2013-09-01T16:23:39 < Laurenceb_> people like this 2013-09-01T16:23:40 < Laurenceb_> http://www.mineprofs.org/info/annual_meetings/2012/SOMP_2012_S5_Jackson.pdf 2013-09-01T16:24:08 < karlp> what on earth are people doing with 20A at 1.2V? 2013-09-01T16:24:31 < Laurenceb_> page 13 for lulz 2013-09-01T16:26:00 < dongs> maybe you need 20A to power buttcoin mining rigs Vcore 2013-09-01T16:26:39 * Laurenceb_ passes around some IPA 2013-09-01T16:26:47 < Laurenceb_> almost at tom66 level 2013-09-01T16:30:22 < Laurenceb_> more lulz on page 6 2013-09-01T16:30:31 < Laurenceb_> lots of ergonomics there 2013-09-01T16:30:35 < zyp> 20A at 1.2V is «only» 24W 2013-09-01T16:31:13 < karlp> laser cutters are only 30w 2013-09-01T16:31:29 < Laurenceb_> yeah it might be useful for laser diodes? 2013-09-01T16:31:38 < zyp> … 2013-09-01T16:33:00 < dongs> sup 2013-09-01T16:44:29 -!- Activate_for_mor [~mirggi@host-9-158-66-217.spbmts.ru] has joined ##stm32 2013-09-01T17:14:49 -!- Rickta59_ [~Rickta59@cpe-174-106-144-066.ec.res.rr.com] has joined ##stm32 2013-09-01T17:14:53 -!- Rickta59_ [~Rickta59@cpe-174-106-144-066.ec.res.rr.com] has quit [Client Quit] 2013-09-01T17:16:35 -!- Activate_for_mor [~mirggi@host-9-158-66-217.spbmts.ru] has quit [Ping timeout: 240 seconds] 2013-09-01T17:20:36 -!- shan_rei [~shan_rei@112.202.22.8] has joined ##stm32 2013-09-01T17:27:01 -!- Activate_for_mor [~mirggi@host-73-158-66-217.spbmts.ru] has joined ##stm32 2013-09-01T17:28:57 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-09-01T17:29:07 -!- MrMobius [~Joey@194.176.111.181] has joined ##stm32 2013-09-01T17:43:23 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-09-01T17:58:53 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Ping timeout: 245 seconds] 2013-09-01T18:02:53 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-01T18:12:16 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2013-09-01T18:22:46 < emeb_mac> so quiet lately 2013-09-01T18:27:44 <@Tectu> yeah, you're missing 2013-09-01T18:29:07 < jpa-> Tectu: uh, i totally prefer MIT over GPL 2013-09-01T18:29:19 < Laurenceb_> GPL is lulz 2013-09-01T18:29:21 < jpa-> Tectu: it's just your license that sucks even more than GPL 2013-09-01T18:29:29 < Laurenceb_> "freedom"... then a ton of conditions 2013-09-01T18:30:48 <@Tectu> :D 2013-09-01T18:31:21 < jpa-> atleast with GPL you can keep your kidneys 2013-09-01T18:32:00 <@Tectu> yeah, and your pants on as well! 2013-09-01T18:33:30 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has joined ##stm32 2013-09-01T18:37:04 -!- Activate_for_mor [~mirggi@host-73-158-66-217.spbmts.ru] has quit [Read error: Connection reset by peer] 2013-09-01T18:40:34 < emeb_mac> programming without pants 2013-09-01T18:40:46 < emeb_mac> Gnu Pants License 2013-09-01T18:41:10 < Laurenceb_> thats a new dongism 2013-09-01T18:41:42 < emeb_mac> Laurenceb: doesn't "pants" have a separate meaning in brit-lish? 2013-09-01T18:41:53 < emeb_mac> sort like "junky" or "stupid" 2013-09-01T18:41:56 < Laurenceb_> yes 2013-09-01T18:42:18 -!- shan_rei [~shan_rei@112.202.22.8] has quit [Ping timeout: 240 seconds] 2013-09-01T18:43:25 < emeb_mac> my latest project: trying to write code that'll fit in the Keil freebie 32k limit. :P 2013-09-01T18:44:09 < emeb_mac> the main issue: I used a lot of large lookup tables that pushed the binary size over the threshold. 2013-09-01T18:44:31 < Laurenceb_> wut 2013-09-01T18:44:41 < Laurenceb_> just use gnu arm embedded? 2013-09-01T18:44:48 < emeb_mac> so - try to replace the LUTs with realtime calcs, or move them into RAM and fill the tables @ boot time. 2013-09-01T18:45:06 < emeb_mac> Laurenceb: That's how I do all my initial dev 2013-09-01T18:45:12 < zyp> emeb_mac, or put them into a separate part of the flash 2013-09-01T18:45:17 < emeb_mac> but this is code for a client 2013-09-01T18:45:34 < emeb_mac> zyp: thought about that too 2013-09-01T18:46:04 < emeb_mac> then I have to hand-link them and load separately I guess. 2013-09-01T18:53:46 -!- amstan_ [~alex@aichallenge/admin/amstan] has quit [Ping timeout: 245 seconds] 2013-09-01T18:58:01 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 2013-09-01T18:59:41 -!- talsit [~talsit@FL1-119-239-15-17.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-09-01T19:15:13 <+Steffanx> jpa- likes that ugfx license uh? 2013-09-01T19:46:16 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has joined ##stm32 2013-09-01T19:47:47 < Laurenceb_> http://en.wikipedia.org/wiki/Sandra_Harding#Newton.27s_Principia_as_a_Rape_manual 2013-09-01T19:47:49 < Laurenceb_> lolling 2013-09-01T19:47:59 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-09-01T19:51:00 <+Steffanx> It's amazing how little is needed to get Laurenceb_ 'lolling' 2013-09-01T20:01:18 <@Tectu> wtf is ULPI? 2013-09-01T20:01:26 <@Tectu> some USB magic? 2013-09-01T20:01:33 < zyp> HS USB MAC-PHY interface 2013-09-01T20:01:43 < zyp> comparable to what RMII is for ethernet 2013-09-01T20:01:51 <@Tectu> aah 2013-09-01T20:01:53 <@Tectu> thank you. 2013-09-01T20:03:02 -!- MrM0bius [~Joey@91.192.67.229] has joined ##stm32 2013-09-01T20:03:13 <@Tectu> this is hilarious: http://www.youtube.com/watch?v=tyijTDuotu4 2013-09-01T20:05:13 -!- MrMobius [~Joey@194.176.111.181] has quit [Ping timeout: 246 seconds] 2013-09-01T20:05:57 -!- mode/##stm32 [-o Tectu] by ChanServ 2013-09-01T20:07:11 -!- _BJFreeman [~bjfree@107.sub-75-196-29.myvzw.com] has joined ##stm32 2013-09-01T20:07:44 * Tectu sad 2013-09-01T20:08:21 -!- _BJFreeman is now known as BJfreeman 2013-09-01T20:19:40 -!- alexn [~alexn@178-27-150-121-dynip.superkabel.de] has joined ##stm32 2013-09-01T20:23:10 -!- BJfreeman [~bjfree@107.sub-75-196-29.myvzw.com] has quit [Quit: had a good time] 2013-09-01T20:26:10 < Posterdati> hi 2013-09-01T20:26:27 < Posterdati> I wrote _wrte and _read syscalls, how can I link them in my app? 2013-09-01T20:27:00 < karlp> did you even look at that example that was linked? 2013-09-01T20:28:08 < Posterdati> which one? 2013-09-01T20:29:34 < Posterdati> in your example there aren't the link options 2013-09-01T20:37:58 -!- barthess [~barthess@5.100.192.124] has quit [Quit: Leaving.] 2013-09-01T20:43:02 -!- PT_Dreamer [~quassel@a95-93-145-39.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2013-09-01T21:06:32 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-247-186.clienti.tiscali.it] has joined ##stm32 2013-09-01T21:19:48 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-09-01T21:23:05 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-09-01T21:39:54 -!- alexn [~alexn@178-27-150-121-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-09-01T21:53:08 < Posterdati> _write works, but printf not... :( 2013-09-01T22:00:22 < jpa-> make sure you are not running out of stack 2013-09-01T22:04:01 -!- PT_Dreamer_ [~quassel@a95-93-145-39.cpe.netcabo.pt] has joined ##stm32 2013-09-01T22:07:36 -!- emeb [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-01T22:23:22 < Posterdati> jpa-: mmmh 2013-09-01T22:26:22 < Posterdati> jpa-: could SCB registers be of any help? 2013-09-01T22:27:50 < Posterdati> I've got CFSR.UFSR.UNDEFINSTR = 1 2013-09-01T22:28:17 < Posterdati> HFSR.FORCED = 1 2013-09-01T22:32:32 < Posterdati> ? 2013-09-01T22:35:23 < Posterdati> even strlen 2013-09-01T22:37:49 -!- PT_Dreamer_ [~quassel@a95-93-145-39.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 2013-09-01T22:46:56 < Posterdati> could be a problem related to LDREXH and STREXH? 2013-09-01T22:50:35 -!- MrMobius [~Joey@91.192.67.230] has joined ##stm32 2013-09-01T22:51:44 -!- DanteA [~X@217.66.152.0] has joined ##stm32 2013-09-01T22:52:10 -!- MrM0bius [~Joey@91.192.67.229] has quit [Ping timeout: 246 seconds] 2013-09-01T22:55:21 -!- MrM0bius [~Joey@194.176.111.172] has joined ##stm32 2013-09-01T22:57:04 -!- MrMobius [~Joey@91.192.67.230] has quit [Ping timeout: 246 seconds] 2013-09-01T23:00:13 -!- DanteA [~X@217.66.152.0] has quit [Ping timeout: 246 seconds] 2013-09-01T23:03:54 < Posterdati> mmmh UsageFault_Handler 2013-09-01T23:15:41 -!- sterna [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-09-01T23:15:55 -!- os-app92 [~ftw@233.122.193.77.rev.sfr.net] has joined ##stm32 2013-09-01T23:17:23 -!- os-app92 [~ftw@233.122.193.77.rev.sfr.net] has quit [Client Quit] 2013-09-01T23:23:05 < Ademan> Is it possible to build for the STM32F3DISCOVERY using the ubuntu package arm-linux-gnueabi-gcc ? Were I to guess, I'd assume it can't build "raw" executables suitable for flashing with stlink, but since it's packaged and I can receive updates, I'd rather use that than build the toolchain by hand 2013-09-01T23:26:38 < zyp> don't. 2013-09-01T23:26:41 < zyp> use this PPA: https://launchpad.net/~terry.guo/+archive/gcc-arm-embedded 2013-09-01T23:27:20 < zyp> https://launchpad.net/gcc-arm-embedded/ <- or just use the pre-built ones from here like everybody else 2013-09-01T23:29:53 -!- MrMobius [~Joey@91.192.67.230] has joined ##stm32 2013-09-01T23:31:22 -!- MrM0bius [~Joey@194.176.111.172] has quit [Ping timeout: 246 seconds] 2013-09-01T23:31:27 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Quit: my exit] 2013-09-01T23:35:15 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-09-01T23:35:22 < Ademan> zyp: thanks, what would the disadvantage of using the PPA be? (The gcc-arm-embedded page links directly to the PPA so it's not somebody's random personal PPA) 2013-09-01T23:38:01 -!- MrMobius [~Joey@91.192.67.230] has quit [Ping timeout: 246 seconds] 2013-09-01T23:38:41 -!- MrMobius [~Joey@194.176.111.171] has joined ##stm32 2013-09-01T23:39:24 < Posterdati> Ademan: use gnu arm gcc on launchpad 2013-09-01T23:40:08 < Posterdati> zyp: I've got problem using strlen and generally newlib functions... Thyr trigger an UsageFault 2013-09-01T23:41:59 -!- MrMobius [~Joey@194.176.111.171] has quit [Read error: Connection reset by peer] 2013-09-01T23:42:28 < Ademan> Posterdati: Are you referring to either or both of the links zyp gave? 2013-09-01T23:42:28 < Laurenceb_> http://www.elsewhere.org/pomo/ 2013-09-01T23:42:47 -!- MrMobius [~Joey@194.176.111.171] has joined ##stm32 2013-09-01T23:43:39 < Posterdati> Ademan: the latter 2013-09-01T23:44:34 < Ademan> Posterdati: ah thanks 2013-09-01T23:44:57 -!- MrMobius [~Joey@194.176.111.171] has quit [Write error: Connection reset by peer] 2013-09-01T23:45:14 -!- MrMobius [~Joey@194.176.111.171] has joined ##stm32 2013-09-01T23:46:24 < Posterdati> zyp: I'd like to use more friendly functions to implement a log facility 2013-09-01T23:52:39 < zyp> friendly how? 2013-09-01T23:53:03 < Posterdati> printf 2013-09-01T23:53:08 < Posterdati> or cout 2013-09-01T23:54:32 -!- MrM0bius [~Joey@194.176.111.172] has joined ##stm32 2013-09-01T23:54:50 < Posterdati> zyp: I cannot use printf 2013-09-01T23:54:56 < Ademan> so my next question is: what are the other build requirements? headers and such? Can I find them on st's website? (I didn't see them at first glance but I may have missed them) 2013-09-01T23:55:31 -!- MrMobius [~Joey@194.176.111.171] has quit [Ping timeout: 246 seconds] 2013-09-01T23:57:49 -!- MrMobius [~Joey@194.176.111.172] has joined ##stm32 2013-09-01T23:59:38 < Posterdati> zyp: please I need example for laks usb :) 2013-09-01T23:59:43 -!- MrM0bius [~Joey@194.176.111.172] has quit [Ping timeout: 246 seconds] --- Day changed Mon Sep 02 2013 2013-09-02T00:15:01 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Read error: Connection reset by peer] 2013-09-02T00:17:09 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2013-09-02T00:18:49 -!- MrM0bius [~Joey@194.176.111.171] has joined ##stm32 2013-09-02T00:19:19 < zyp> Posterdati, example for what? 2013-09-02T00:19:36 < Posterdati> zyp: for using otg fs on stm32f107 2013-09-02T00:19:56 < zyp> are you planning on using only the usb part, or entire laks? 2013-09-02T00:20:01 -!- MrMobius [~Joey@194.176.111.172] has quit [Ping timeout: 246 seconds] 2013-09-02T00:20:07 < Posterdati> onlyy usb 2013-09-02T00:21:06 < zyp> http://cgit.jvnv.net/laks_demo/tree/?h=usb_cdc_acm <- then you might look at the F4 part of this 2013-09-02T00:21:58 < zyp> there is no F107 support in laks yet, but the usb core is the same as for F4 2013-09-02T00:22:27 < Posterdati> ok 2013-09-02T00:22:41 < Posterdati> will it work? 2013-09-02T00:23:07 < zyp> so if you're not using my code for GPIO and clocks, the main part you'll have to change is the peripheral instanciation that happens here: http://cgit.jvnv.net/laks/tree/usb/usb.h 2013-09-02T00:23:45 < zyp> the STM32F1 ifdef is for F103, so it won't work for F107, you need to instance DWC_OTG_t just like the F4 block 2013-09-02T00:24:19 < zyp> the usb block should be the same, so if you do everything right, it should work 2013-09-02T00:24:31 < Posterdati> in usb.h? 2013-09-02T00:24:53 < zyp> hmm? 2013-09-02T00:25:08 < Posterdati> I have to define STM32F4 2013-09-02T00:25:35 < zyp> or just change usb.h 2013-09-02T00:25:53 < zyp> #include "dwc_otg.h" 2013-09-02T00:25:53 < zyp> static DWC_OTG_t OTG_FS(0x50000000); 2013-09-02T00:26:00 < zyp> that's the two lines you need 2013-09-02T00:28:11 < Posterdati> ok 2013-09-02T00:29:30 < Posterdati> tx 2013-09-02T00:56:04 -!- MrM0bius [~Joey@194.176.111.171] has quit [Ping timeout: 246 seconds] 2013-09-02T01:01:51 -!- barthess [~barthess@178.154.18.141] has joined ##stm32 2013-09-02T01:04:53 -!- shan_rei [~shan_rei@112.202.22.8] has joined ##stm32 2013-09-02T01:05:36 -!- MrMobius [~Joey@194.176.111.172] has joined ##stm32 2013-09-02T01:05:54 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 256 seconds] 2013-09-02T01:07:36 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2013-09-02T01:09:43 -!- MrMobius [~Joey@194.176.111.172] has quit [Ping timeout: 246 seconds] 2013-09-02T01:23:17 -!- MrMobius [~Joey@194.176.111.172] has joined ##stm32 2013-09-02T01:27:34 -!- MrMobius [~Joey@194.176.111.172] has quit [Ping timeout: 246 seconds] 2013-09-02T01:34:35 -!- MrM0bius [~Joey@194.176.111.173] has joined ##stm32 2013-09-02T01:40:52 -!- MrM0bius [~Joey@194.176.111.173] has quit [Ping timeout: 246 seconds] 2013-09-02T01:42:03 < Posterdati> zyp: I'm looking at your code for logs... where log() prints out data= 2013-09-02T01:42:04 < Posterdati> ? 2013-09-02T01:44:22 -!- MrMobius [~Joey@194.176.111.173] has joined ##stm32 2013-09-02T01:46:00 -!- Xata [~Xata@195.182.194.223] has joined ##stm32 2013-09-02T01:46:06 < Xata> hello 2013-09-02T01:47:19 < Xata> i am trying to compile demo dac code, but there is 'TIM6_DAC_IRQn' undeclared (first use in this function) error. i am using coocox with gcc-arm 2013-09-02T01:47:51 < Xata> oh. the question is how do i fix this? 2013-09-02T01:49:40 -!- WillTablet [~androirc@unaffiliated/willdude123] has joined ##stm32 2013-09-02T01:52:30 < upgrdman> i have done dac stuff, but it sounds like you need to define (or find) the void TIM6_DAC_IRQn(void){} isr 2013-09-02T01:53:13 < upgrdman> search the demo code for "TIM6_DAC_IRQn" 2013-09-02T01:54:35 < Xata> well, looks like i fixd dat. maybe in new version of gcc/ide it is TIM6_IRQn instead of TIM6_DAC_IRQn and TIM6_IRQHandler instead of TIM6_DAC_IRQHandler 2013-09-02T01:55:18 < Xata> replaced, now compiles and works. blinking leds are magnificient. 2013-09-02T01:56:21 -!- MrM0bius [~Joey@194.176.111.172] has joined ##stm32 2013-09-02T01:58:43 -!- MrMobius [~Joey@194.176.111.173] has quit [Ping timeout: 246 seconds] 2013-09-02T02:01:43 < zyp> Posterdati, nowhere, it's just passed into a buffer that can be extracted afterwards 2013-09-02T02:01:58 < Posterdati> ok 2013-09-02T02:02:07 < zyp> http://cgit.jvnv.net/laks/tree/gdb_plugins/rblog.py is used to extract it 2013-09-02T02:04:35 < Posterdati> ah 2013-09-02T02:19:36 < Xata> why sources and headers for HD (512k) stm32's has another word for TIM6? 2013-09-02T02:19:45 < Xata> *have 2013-09-02T02:22:23 < Xata> And what is a difference between HD and HD_VL? 2013-09-02T02:22:43 < upgrdman> vl == value line, iirc 2013-09-02T02:23:02 < upgrdman> so cheaper and presumably fewer periphs or other goodies 2013-09-02T02:24:02 < Xata> Than why VL has TIM6_DAC_IRQn and non-VL has TIM6_IRQn 2013-09-02T02:25:36 < upgrdman> maybe the non vl has separate isrs? 2013-09-02T02:26:18 < Xata> nevermind. i thought this is a problem, but looks like not. Studying stm32 is even harder than avr. but funnier. 2013-09-02T02:26:23 -!- Guest1206 [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 245 seconds] 2013-09-02T02:26:58 < Xata> because 72mhz, yay 2013-09-02T02:28:26 < upgrdman> ya. stm32 docs are not fun 2013-09-02T02:35:49 < qyx_> you ca run avr on 65MHz too if you put it in liquid nitrogen :X 2013-09-02T02:39:55 -!- Guest1206 [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-09-02T02:48:46 -!- Laurenceb_ [~Laurence@host86-136-118-2.range86-136.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2013-09-02T02:54:32 -!- talsit [~talsit@FL1-119-239-15-17.osk.mesh.ad.jp] has joined ##stm32 2013-09-02T02:56:17 < Xata> Why can i have a high-freq sound on dac output? no matter what discretization freq i use? i mean - it is i.e. 1hz of actual frequency, but it is like it has very high-freq fm 2013-09-02T02:57:13 < Xata> no oscilloscope, so only i can say - led lights up/down like it should, but when i connect headphones i hear that shit 2013-09-02T02:57:28 < Xata> Also not FM, but AM. Mistyped 2013-09-02T02:59:18 < Xata> can be this because i was stupid enough to connect headphones without preamplifying? 2013-09-02T03:01:43 -!- WillTablet [~androirc@unaffiliated/willdude123] has quit [Remote host closed the connection] 2013-09-02T03:05:31 -!- MrMobius [~Joey@194.176.111.171] has joined ##stm32 2013-09-02T03:06:37 -!- MrM0bius [~Joey@194.176.111.172] has quit [Ping timeout: 246 seconds] 2013-09-02T03:09:16 -!- MrM0bius [~Joey@91.192.67.230] has joined ##stm32 2013-09-02T03:10:07 -!- MrMobius [~Joey@194.176.111.171] has quit [Ping timeout: 246 seconds] 2013-09-02T03:10:15 -!- Guest1206 [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Ping timeout: 260 seconds] 2013-09-02T03:15:36 -!- MrMobius [~Joey@194.176.111.173] has joined ##stm32 2013-09-02T03:17:28 -!- MrM0bius [~Joey@91.192.67.230] has quit [Ping timeout: 246 seconds] 2013-09-02T03:23:07 -!- Xata [~Xata@195.182.194.223] has quit [Quit: bye] 2013-09-02T03:28:53 -!- Guest1206 [~Peter@81-237-198-30-no92.tbcn.telia.com] has joined ##stm32 2013-09-02T03:35:32 -!- Count_Niedar [~nnscript@ip68-110-154-15.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 2013-09-02T03:39:33 -!- _BJFreeman [~bjfree@144.sub-75-233-158.myvzw.com] has joined ##stm32 2013-09-02T03:40:17 -!- _BJFreeman is now known as BJfreeman 2013-09-02T03:47:09 -!- Guest1206 [~Peter@81-237-198-30-no92.tbcn.telia.com] has quit [Quit: Leaving] 2013-09-02T03:47:27 -!- BJfreeman [~bjfree@144.sub-75-233-158.myvzw.com] has quit [Ping timeout: 268 seconds] 2013-09-02T03:49:40 -!- MrMobius [~Joey@194.176.111.173] has quit [Ping timeout: 246 seconds] 2013-09-02T03:54:41 -!- emeb [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-09-02T04:08:14 < dongs> so i installed partskeepr 2013-09-02T04:08:26 < dongs> lets see if I actually use it 2013-09-02T04:14:46 -!- MrMobius [~Joey@194.176.111.173] has joined ##stm32 2013-09-02T04:27:07 -!- MrMobius [~Joey@194.176.111.173] has quit [Ping timeout: 246 seconds] 2013-09-02T04:28:34 -!- talsit [~talsit@FL1-119-239-15-17.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-09-02T04:30:30 -!- MrMobius [~Joey@194.176.111.173] has joined ##stm32 2013-09-02T04:31:00 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-09-02T04:31:30 < R2COM> anyone by chance knows where i can get nice RF patch cables for cheap? 2013-09-02T04:31:36 < R2COM> like 3" length not more 2013-09-02T04:31:43 < R2COM> like these http://www.digikey.com/product-search/en?x=0&y=0&lang=en&site=us&KeyWords=744-1446-ND 2013-09-02T04:36:52 < R2COM> just checked on ##hamradio with a question 2013-09-02T04:36:55 -!- MrMobius [~Joey@194.176.111.173] has quit [Ping timeout: 246 seconds] 2013-09-02T04:37:25 < R2COM> as always lots of bullshit troll talk 2013-09-02T04:37:59 < R2COM> i see like 5$ on ebay 2013-09-02T04:41:07 < R2COM> ooooh i found :) 2013-09-02T04:44:26 < R2COM> nice deal 30$ for RG-223, 30$ for 50 new unused 2013-09-02T04:44:39 < gxti> so far i haven't 2013-09-02T04:45:04 < R2COM> what you havent? 2013-09-02T04:46:11 < R2COM> who cares. most important is I did. 2013-09-02T04:48:03 < dongs> R2COM: my chinadudes made some for me 2013-09-02T04:48:12 < dongs> with MCX->F 2013-09-02T04:48:17 < dongs> it was f ilthy cheap 2013-09-02T04:51:10 -!- MrMobius [~Joey@91.192.67.230] has joined ##stm32 2013-09-02T04:59:19 -!- MrMobius [~Joey@91.192.67.230] has quit [Ping timeout: 246 seconds] 2013-09-02T05:13:11 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-02T05:15:53 -!- cehteh [~cehteh@pipapo.org] has quit [Ping timeout: 240 seconds] 2013-09-02T05:19:18 -!- cehteh [~cehteh@pipapo.org] has joined ##stm32 2013-09-02T05:24:03 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-247-186.clienti.tiscali.it] has quit [Quit: Leaving.] 2013-09-02T05:52:04 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 256 seconds] 2013-09-02T05:53:13 -!- R2COM1 [~blackops@98.230.217.221] has joined ##stm32 2013-09-02T05:54:58 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 240 seconds] 2013-09-02T06:06:29 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-09-02T06:06:37 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-09-02T06:32:12 < dongs> http://www.infineon.com/cms/en/product/microcontrollers/32-bit-industrial-microcontrollers-based-on-arm-registered-cortex-tm-m/32-bit-xmc4000-industrial-microcontrollers-arm-registered-cortex-tm-m4/xmc-development-tools-software-and-kits/xmc1000-starter-kits/boot-kit-xmc1200/channel.html?channel=db3a30433cfb5caa013d115e72290668 2013-09-02T06:32:18 < dongs> ugh what a gay fucking url 2013-09-02T06:55:25 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2013-09-02T07:01:36 < GargantuaSauce_> the detachable jlink is kinda cool 2013-09-02T07:03:48 < GargantuaSauce_> does the edge connector mean using the dev kit in an actual product isn't totally verboten like it is for most dev boards? 2013-09-02T07:05:03 < dongs> who knows 2013-09-02T07:05:16 < dongs> i thought it was M4 tho but i got trolled 2013-09-02T07:05:21 < dongs> XC1xxx shit is M0 @ 32mhz 2013-09-02T07:05:25 < dongs> so its pretty fucking boring 2013-09-02T07:11:54 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has quit [Ping timeout: 264 seconds] 2013-09-02T07:13:19 -!- talsit [~talsit@FL1-119-239-15-17.osk.mesh.ad.jp] has joined ##stm32 2013-09-02T07:29:48 < dongs> argh ti is not confirming my sample order yet 2013-09-02T07:29:49 < dongs> hmm 2013-09-02T07:30:09 < talsit> when did you order it? 2013-09-02T07:30:17 < dongs> i hope they didnt start hating me after i got expensive SDI stuff 2013-09-02T07:30:21 < dongs> friday night jst 2013-09-02T07:30:32 < dongs> so im giving them until this evening to ship it 2013-09-02T07:31:23 < talsit> ti shipped my samples from jp, so, friday night in jp everyone is not working 2013-09-02T07:31:45 < dongs> my ti shit came from digikey 2013-09-02T07:32:34 < dongs> tijapan had insanely fucktastic sample policies so I never bothered getting shit form them 2013-09-02T07:33:52 < talsit> i didn't ask from ti japan, but they still sent it from here, in 2 days 2013-09-02T07:34:03 < dongs> weird. 2013-09-02T07:34:13 < dongs> was it common shit? 2013-09-02T07:34:24 < dongs> maybe they sent my video stuff from u..s cuz it was weird shit 2013-09-02T07:35:00 < talsit> i guess, led drivers and voltage converters 2013-09-02T07:35:08 < talsit> when are you getting more esc's in? 2013-09-02T07:35:17 < dongs> ? 2013-09-02T07:35:25 < talsit> afroesc 2013-09-02T07:35:39 < dongs> http://www.hobbyking.com/hobbyking/store/__39708__Afro_ESC_30Amp_Multi_rotor_Motor_Speed_Controller_SimonK_Firmware_.html looks in stock to me 2013-09-02T07:35:51 < talsit> you, not hk 2013-09-02T07:35:56 < dongs> i never had any? 2013-09-02T07:36:11 < talsit> abusemark isn't you? 2013-09-02T07:36:16 -!- Activate_for_mor [~mirggi@host-40-152-66-217.spbmts.ru] has joined ##stm32 2013-09-02T07:36:20 < dongs> there are no afroescs there. 2013-09-02T07:37:23 < talsit> then rapidesc's 2013-09-02T07:37:35 < dongs> the message there is fairly clear as to their status 2013-09-02T07:37:39 < dongs> it might ev en be in red 2013-09-02T07:37:54 < emeb_mac> dongs: did some more work with keil today - used that yellow j-link board. Worked great 2013-09-02T07:37:59 < dongs> yep 2013-09-02T07:38:06 < talsit> yep, it says "sold out", hence me asking 2013-09-02T07:38:12 < dongs> its a good little dong(le) 2013-09-02T07:38:16 < emeb_mac> ya 2013-09-02T07:38:35 < dongs> talsit: have you actually tried reading the next page then? 2013-09-02T07:38:36 < dongs> THIS PRODUCT IS NO LONGER AVAILABLE FOR ORDER 2013-09-02T07:38:36 < dongs> A suitable replacement can be ordered here: 2013-09-02T07:38:37 < dongs> http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=39708 2013-09-02T07:38:41 < emeb_mac> was interesting getting ~realtime visibility of internal data structures 2013-09-02T07:39:03 < emeb_mac> while the code was running free 2013-09-02T07:39:06 < dongs> right 2013-09-02T07:39:10 < talsit> dongs, i'm not interested in 30A, am I? 2013-09-02T07:39:11 < talsit> anyway 2013-09-02T07:39:12 < dongs> all those gdb fags can choke on this shit 2013-09-02T07:39:38 < dongs> talsit: same applies to 20A 2013-09-02T07:39:51 < dongs> 12 is "whenever I feel like losing more money/time" 2013-09-02T07:40:08 < dongs> which generally means someone emails asking when its in stock, and if I don't forget about it within next 5 minutes, it might get ordered. 2013-09-02T07:41:07 < dongs> im sitting here inserting 1.25mm molex into 300 20x20mm boards 2013-09-02T07:41:08 < dongs> to test each one 2013-09-02T07:42:35 < dongs> thankfully so far the only bad ones were that failed visaul inspection 2013-09-02T07:42:39 < dongs> where one IC got mounted 90" offset. 2013-09-02T07:42:43 < dongs> which was liek 2 out of 300. 2013-09-02T07:45:50 -!- Activate_for_mor [~mirggi@host-40-152-66-217.spbmts.ru] has quit [Ping timeout: 264 seconds] 2013-09-02T07:49:48 < emeb_mac> dongs: ran the same code thru gcc and keil - gcc gave ~12kB, keil gave about 9kB. 2013-09-02T07:50:03 < dongs> mhm 2013-09-02T07:50:07 < dongs> also no surprise there 2013-09-02T07:50:18 < dongs> gcc continues to suck, news@11 2013-09-02T07:51:02 < dongs> infact, I switched to keil printf() in my shittyflyingthingproj, and it started overrunning uart buffer 2013-09-02T07:51:05 < dongs> cuz it was printing too fast. 2013-09-02T07:51:12 < dongs> before i was using some hacked up gnu printf. 2013-09-02T07:53:09 < emeb_mac> hilarious 2013-09-02T07:54:05 < emeb_mac> well, I'm not gonna stop using gcc - price is right and it runs everywhere. But it's interesting to see how keil works. 2013-09-02T07:54:18 < dongs> right. 2013-09-02T07:54:29 < emeb_mac> If I had a big project with lots riding on it I'd fork out for the pro tool. 2013-09-02T07:55:03 < dongs> i wonder if its possible to build some .obj w/keil for stuff that gcc really makes ugly 2013-09-02T07:55:09 < dongs> and link with gcc 2013-09-02T07:55:48 < emeb_mac> dunno - don't think keil speaks elf 2013-09-02T07:56:07 < dongs> sure it does? 2013-09-02T07:56:10 < dongs> axf = elf 2013-09-02T07:56:19 < emeb_mac> orly? news to me 2013-09-02T07:56:24 < dongs> but thats final linked shit 2013-09-02T07:56:25 < dongs> im talking .o 2013-09-02T07:56:28 < dongs> 'whatever format that shit is 2013-09-02T07:56:39 < dongs> yeah you can use elf-size-wahtever shit on keil axf 2013-09-02T07:56:47 < dongs> trhats how i compare build size w/gcc generated hit 2013-09-02T07:56:47 < emeb_mac> interesting 2013-09-02T07:57:55 < emeb_mac> don't know enough about the guts of compilers - what the intermediat .o formats are, ets. 2013-09-02T07:58:35 < dongs> me neither thats why i dont use gcc 2013-09-02T07:58:38 < dongs> i just want shit to work, done 2013-09-02T07:59:57 < dongs> apparently with enough options keil compiler will even accepte some gcc-idiotisms 2013-09-02T08:00:24 < emeb_mac> ya - it threw a lot of warnings / errors on my gcc code when I first imported it. 2013-09-02T08:00:27 < emeb_mac> easy to fix tho 2013-09-02T08:00:35 -!- TeknoJuce01 [~TeknoJuce@bas1-london15-2925075675.dsl.bell.ca] has joined ##stm32 2013-09-02T08:00:52 < dongs> right, but you can make it ignore a lot of that shit with --c99 and --gnuc or someshit 2013-09-02T08:01:05 < dongs> --c99 --gnu 2013-09-02T08:01:06 < dongs> that 2013-09-02T08:01:08 < emeb_mac> I saw those options - didn't screw with them tho 2013-09-02T08:01:19 < dongs> but yeah i prefer writing proper shit to begin wiht 2013-09-02T08:01:24 < emeb_mac> :) 2013-09-02T08:01:40 < emeb_mac> was interesting - it updated the firmware in the j-link dongle 2013-09-02T08:01:54 < emeb_mac> still worked fine after, so no complaints 2013-09-02T08:02:03 < dongs> yeah, they cant block those. 2013-09-02T08:02:48 < emeb_mac> need to make an adapter cable from 20-pin JTAG to 6-pin SWD tho 2013-09-02T08:02:58 < emeb_mac> just using ghetto leads for now. 2013-09-02T08:02:59 < dongs> 6? 2013-09-02T08:03:13 < dongs> you mean trashy stlink style? 2013-09-02T08:03:13 < emeb_mac> vcc/clk/gnd/data/rst/swo 2013-09-02T08:03:16 < emeb_mac> ya 2013-09-02T08:03:22 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 240 seconds] 2013-09-02T08:03:58 < dongs> stop fickin around and get https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/ 2013-09-02T08:04:04 < dongs> and use proper connector on board end 2013-09-02T08:08:35 -!- DanteA [~X@host-66-159-66-217.spbmts.ru] has joined ##stm32 2013-09-02T08:08:45 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-09-02T08:10:20 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Read error: Connection reset by peer] 2013-09-02T08:11:17 -!- |akaWolf| [~akaWolf@188.134.9.161] has joined ##stm32 2013-09-02T08:16:56 -!- barthess [~barthess@178.154.18.141] has quit [Quit: Leaving.] 2013-09-02T08:17:09 -!- Activate_for_mor [~mirggi@host-40-152-66-217.spbmts.ru] has joined ##stm32 2013-09-02T08:19:29 < emeb_mac> that's nice 2013-09-02T08:19:54 < emeb_mac> not helpful here tho - this is to connect to a client's board with old stlink format 2013-09-02T08:21:34 < dongs> ya, stdink is hardly a standard tho 2013-09-02T08:21:44 < dongs> the 1.27mm pitch shit is part of standard cortex debug connectors 2013-09-02T08:22:04 < emeb_mac> yep - I like it (used it on my breakouts) 2013-09-02T08:22:23 < emeb_mac> but the stlink format is cheap & easy. 2013-09-02T08:23:06 < emeb_mac> one of my clients is considering going to tag-connect 2013-09-02T08:23:16 < emeb_mac> that should be a hoot 2013-09-02T08:23:46 < emeb_mac> $40 for the cables... 2013-09-02T08:24:41 < dongs> ya ledfaggot here is all abouttag connect 2013-09-02T08:24:49 < dongs> but that shit looks duuumb 2013-09-02T08:27:02 < emeb_mac> they like it because they're doing production and want something that needs no components and self-aligns. 2013-09-02T08:27:58 < dongs> gnu/tagconnect 2013-09-02T08:29:01 < emeb_mac> pogopogopogo... 2013-09-02T08:34:36 -!- Activate_for_mor [~mirggi@host-40-152-66-217.spbmts.ru] has quit [] 2013-09-02T08:37:38 -!- Intelaida [4d48784e@gateway/web/freenode/ip.77.72.120.78] has joined ##stm32 2013-09-02T08:37:38 < R2COM1> http://i.imgur.com/zh5btYs.jpg 2013-09-02T08:38:11 < dongs> youre rocking it 2013-09-02T08:38:30 < dongs> what are those LO+IF mixer shits 2013-09-02T08:38:35 < dongs> some custom SpaceX shit? 2013-09-02T08:38:47 < R2COM1> no its just separate mixer board 2013-09-02T08:39:04 < dongs> righjt i mean what IC 2013-09-02T08:39:07 < R2COM1> modular because I am prototyping something, its not final thing 2013-09-02T08:39:09 < R2COM1> ah 2013-09-02T08:39:13 < R2COM1> HMC316MS8E 2013-09-02T08:39:22 < dongs> R2COM1: did you see what I found for you the other day? < dongs> http://www.linear.com/product/LT4320 2013-09-02T08:39:50 < R2COM1> yeah.. but I guess there are other manufacturers of similar stuff too 2013-09-02T08:40:02 < R2COM1> so it says it saves BOM and area, but the thing cost like 6$ or so 2013-09-02T08:40:09 -!- R2COM1 is now known as R2COM 2013-09-02T08:41:21 < R2COM> for single.. maybe theres big discount on multiple. 2013-09-02T08:41:46 < R2COM> but LTC is definitely a Pro in power related stuff, so their shit is for sure superb 2013-09-02T08:41:46 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Read error: Connection reset by peer] 2013-09-02T08:41:55 < dongs> that is pretty cool 2013-09-02T08:42:08 < dongs> rf freq is too high 2013-09-02T08:51:01 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-02T09:16:08 -!- |akaWolf| [~akaWolf@188.134.9.161] has quit [Quit: my exit] 2013-09-02T09:17:23 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-09-02T09:25:10 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-09-02T09:35:13 -!- dekar__ [~dekar@212.255.246.5] has joined ##stm32 2013-09-02T09:35:16 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-09-02T09:36:22 -!- CoolBear is now known as CoolBeer 2013-09-02T09:39:03 < Ademan> I want to start developing for the STM32F3Discovery board on linux. I've got my board, gcc installed, about to build and install stlink, will install openOCD later down the road. I see the TNT_Example, but I'm not really sure what TNT is and if I should be using it. Is there a comprehensive tutorial or piece of documentation to take me through writing, building, and flashing my first piece of software? (The best I've found basica 2013-09-02T09:39:34 -!- dekar_ [~dekar@212.255.24.174] has quit [Ping timeout: 268 seconds] 2013-09-02T09:48:04 < dongs> my first suggestion would be switching to a real OS. 2013-09-02T09:48:14 < dongs> failing that, install gcc-arm-embedded and ... figure shit out. 2013-09-02T09:48:46 < R2COM> I use now just: Win7, BMP, gcc-arm, gdb. so far its ok 2013-09-02T09:49:10 < R2COM> If I were to run embedded firmware dev. house I'd use Keil 2013-09-02T09:58:51 < Ademan> R2COM: BMP? I have gcc-arm as well, where'd you get your stm32f*.h from? 2013-09-02T10:03:06 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-09-02T10:05:23 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-09-02T10:06:06 < dongs> Ademan: um, stdperiphlib 2013-09-02T10:06:07 < dongs> from st. 2013-09-02T10:07:26 < GargantuaSauce_> Ademan: you're following me on bitbucket right...take a look at the hexapod folder 2013-09-02T10:07:39 < dongs> hexapawd 2013-09-02T10:07:53 < GargantuaSauce_> it's f4-tailored but has a pretty minimal build environment and dependencies 2013-09-02T10:08:37 < GargantuaSauce_> except ignore my newlib because it's fucked 2013-09-02T10:10:13 < GargantuaSauce_> so basically you just need system.h/c and startup.s and then headers from the csmis folder in stdperiph 2013-09-02T10:13:09 < GargantuaSauce_> (and if you want to subject yourself to the actual stdperiph library that's an option too, you just need to add c files from that to the makefile) 2013-09-02T10:14:31 < Ademan> GargantuaSauce_: hrm, think so. I'll check it out. I have stdperiph from here: http://www.st.com/web/en/catalog/tools/PF258154 sound right? 2013-09-02T10:15:28 < GargantuaSauce_> ya 2013-09-02T10:16:13 < GargantuaSauce_> (and that package also has more and/or less sane example build environments set up for you) 2013-09-02T10:16:42 < Ademan> thanks, I'll take a closer look. I kind of assumed it wasn't applicable to gcc-arm when I picked it up, glad to hear I was wrong 2013-09-02T10:17:16 -!- Activate_for_mor [~mirggi@host-18-152-66-217.spbmts.ru] has joined ##stm32 2013-09-02T10:17:20 < GargantuaSauce_> oh maybe you aren't, i thought one of the IDEs it provides projects for uses gcc but i was mistaken 2013-09-02T10:18:12 < Ademan> well I have a makefile from elsewhere I can adapt, as long as the source and headers work I'm fine. From what I've read that's kind of the poing of CMSIS so I ought to be ok 2013-09-02T10:18:19 < Ademan> point* 2013-09-02T10:19:22 < GargantuaSauce_> yeah, the tricky part is making sure it all links right and uses the startup code and doesn't inexplicably hardfault, etc 2013-09-02T10:24:35 -!- Activate_for_mor [~mirggi@host-18-152-66-217.spbmts.ru] has quit [Ping timeout: 245 seconds] 2013-09-02T10:30:48 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-09-02T10:32:19 -!- Activate_for_mor [~mirggi@host-18-152-66-217.spbmts.ru] has joined ##stm32 2013-09-02T10:35:09 < PaulFertser> Ademan: the easiest would be to get "gcc arm embedded" toolchain, not TNT. 2013-09-02T10:35:55 < PaulFertser> Ademan: if you decide to use OpenOCD, you do not need "texane stlink" (or any other "stlink") utility. 2013-09-02T10:36:51 -!- DanteA [~X@host-66-159-66-217.spbmts.ru] has quit [Ping timeout: 260 seconds] 2013-09-02T10:48:14 -!- Activate_for_mor [~mirggi@host-18-152-66-217.spbmts.ru] has quit [Ping timeout: 240 seconds] 2013-09-02T10:54:43 -!- trepidaciousMBR [~trepidaci@217.155.204.2] has quit [Quit: trepidaciousMBR] 2013-09-02T10:58:42 -!- Laurenceb_ [~Laurence@host86-136-118-2.range86-136.btcentralplus.com] has joined ##stm32 2013-09-02T11:00:18 -!- DanteA [~X@host-123-158-66-217.spbmts.ru] has joined ##stm32 2013-09-02T11:03:19 -!- Laurenceb_ [~Laurence@host86-136-118-2.range86-136.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2013-09-02T11:19:15 -!- Activate_for_mor [~mirggi@host-18-152-66-217.spbmts.ru] has joined ##stm32 2013-09-02T11:36:46 < alexn> hi guys, i try DAC working on stm32f4-discovery. my simple example dont work. have anyone a working DAC. 2013-09-02T11:36:49 < alexn> http://pastebin.com/0hU17Yuf 2013-09-02T11:43:19 < GargantuaSauce_> any particular reason why you have the pullup set on the analog output? 2013-09-02T11:46:49 -!- Activate_for_mor [~mirggi@host-18-152-66-217.spbmts.ru] has quit [Ping timeout: 240 seconds] 2013-09-02T11:48:20 < alexn> no. i changed to PULLUP_NONE. but nothing changes. 2013-09-02T11:52:54 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has joined ##stm32 2013-09-02T11:53:34 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-09-02T12:14:35 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-09-02T12:15:11 < R2COM> http://i.imgur.com/rj3AOIB.jpg 2013-09-02T12:17:11 -!- DanteA [~X@host-123-158-66-217.spbmts.ru] has quit [Ping timeout: 260 seconds] 2013-09-02T12:28:06 <+Steffanx> Yet another 42 minutes wasted R2COM :P 2013-09-02T12:28:25 < R2COM> nah why 2013-09-02T12:29:14 < R2COM> I need to keep up my ability to kill, at least virtually 2013-09-02T12:29:30 < R2COM> meanwhile doing engineering work during all morning,day and evening 2013-09-02T12:36:40 < R2COM> sleep time now 2013-09-02T12:36:44 -!- R2COM [~blackops@98.230.217.221] has quit [Quit: Leaving.] 2013-09-02T12:38:07 -!- DanteA [~X@host-67-158-66-217.spbmts.ru] has joined ##stm32 2013-09-02T13:17:02 < qyx_> any idea which is the most low-end stm32 allowing both usb and can at the same time? 2013-09-02T13:17:16 < karlp> isn't the common rant, "none of them" 2013-09-02T13:18:28 < zyp> no, it's "not very low-end" 2013-09-02T13:18:33 < zyp> f107 probably 2013-09-02T13:19:06 < qyx_> hm, f107 would be ok, ill check it 2013-09-02T13:19:28 < zyp> you should be fine with either of the chips containing OTG cores 2013-09-02T13:19:34 < zyp> i.e. f107, f2 and f4 2013-09-02T13:20:01 < zyp> maybe f105 too 2013-09-02T13:20:41 < qyx_> 105/107, 1.25kbytes of dedicated sram, that looks good 2013-09-02T13:21:02 < qyx_> and 2x can with 512B of dedicated sram 2013-09-02T13:21:30 < zyp> sounds just like f4 2013-09-02T13:21:46 < zyp> (except f4 has another usb core with another 4k dedicated) 2013-09-02T13:23:56 -!- Activate_for_mor [~mirggi@host-82-152-66-217.spbmts.ru] has joined ##stm32 2013-09-02T13:28:38 < dongs> lol waht teh hell 2013-09-02T13:29:19 < Laurenceb> just remembered you are a jew? 2013-09-02T13:29:21 < dongs> r2gay is a gaymer? 2013-09-02T13:29:27 < dongs> < R2COM> http://i.imgur.com/rj3AOIB.jpg 2013-09-02T13:29:53 < dongs> 637 kills in 42 minutes, thats pretty fucking good 2013-09-02T13:30:29 < qyx_> one kill every 4 seconds 2013-09-02T13:30:34 < dongs> yea 2013-09-02T13:30:39 < dongs> he doesnt fuck around. 2013-09-02T13:30:41 < karlp> what game is that? 2013-09-02T13:30:44 < dongs> no idea 2013-09-02T13:30:51 < dongs> looks old 2013-09-02T13:30:52 < Laurenceb> death camp 2013-09-02T13:31:03 < dongs> holocaust tycoon? 2013-09-02T13:31:05 < dongs> doesnt look like it 2013-09-02T13:36:48 <+Steffanx> it's Killing Floor 2013-09-02T13:36:59 < zyp> "hi, can you make a scaled down specialized variant of this board?" 2013-09-02T13:37:07 < zyp> "oh, and make it as generic as possible" 2013-09-02T13:37:07 <+Steffanx> weird zombie game 2013-09-02T13:44:54 < Laurenceb> http://www.st.com/web/en/press/p3452 2013-09-02T13:44:56 <+Steffanx> Heh, easy zyp :) 2013-09-02T13:45:22 <+Steffanx> "Industry’s Most Energy-Efficient" yay Laurenceb. 2013-09-02T13:46:17 < Laurenceb> also this is new http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00093063.pdf 2013-09-02T13:46:19 < Laurenceb> looks good 2013-09-02T13:47:01 < Laurenceb> oh wait its analogue 2013-09-02T13:47:03 < Laurenceb> fail 2013-09-02T13:59:01 <+Steffanx> Why is that a fail Laurenceb? Now you can select you own ADC 2013-09-02T13:59:24 -!- Activate_for_mor [~mirggi@host-82-152-66-217.spbmts.ru] has quit [] 2013-09-02T13:59:27 <+Steffanx> and not depend on some noisy ADC selected by ST with some terrible buggy fifo. 2013-09-02T14:22:28 < akaWolf> yeah. it's Killing Floor 2013-09-02T14:23:00 < akaWolf> waves of the zombie :) 2013-09-02T14:24:17 <+Steffanx> I only know that because he told us yesterday :P 2013-09-02T14:24:23 < akaWolf> and slowmo ^^ 2013-09-02T14:24:50 < akaWolf> ah, about 2 years ago I too play in that game :) 2013-09-02T14:25:31 < akaWolf> 4* 2013-09-02T14:38:53 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Ping timeout: 245 seconds] 2013-09-02T14:52:14 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2013-09-02T14:57:37 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2013-09-02T15:00:57 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2013-09-02T15:00:57 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2013-09-02T15:01:04 -!- dfletcher is now known as dfletcher|Zzz 2013-09-02T16:09:10 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 256 seconds] 2013-09-02T16:10:43 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2013-09-02T16:20:04 -!- ouah [~ouah@unaffiliated/ouah] has quit [Quit: Lost terminal] 2013-09-02T16:30:51 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-247-186.clienti.tiscali.it] has joined ##stm32 2013-09-02T16:36:03 -!- barthess [~barthess@86.57.155.106] has quit [Remote host closed the connection] 2013-09-02T16:36:49 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-09-02T16:37:17 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-247-186.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2013-09-02T17:09:43 -!- Intelaida_ [bc8609a1@gateway/web/freenode/ip.188.134.9.161] has joined ##stm32 2013-09-02T17:39:39 -!- Xata [~Xata@195.182.194.223] has joined ##stm32 2013-09-02T17:39:43 < Xata> hello 2013-09-02T17:40:16 < Xata> how do i change dma channel buffer length on the fly? 2013-09-02T17:40:29 -!- Wipster [~Wip@host81-137-80-202.in-addr.btopenworld.com] has joined ##stm32 2013-09-02T17:41:19 < dongs> um 2013-09-02T17:41:23 < dongs> dont think you can 2013-09-02T17:41:25 < dongs> why would you want to? 2013-09-02T17:42:29 < dongs> its channel->CNDTR register but i duno if you can change it whlie channel is enabled 2013-09-02T17:42:42 < dongs> check RM? 2013-09-02T17:44:43 < Xata> dongs: i need this because i have a discretization frequensy and frequency of output changes by changing number of samples per waveform cycle 2013-09-02T17:45:23 < dongs> Xata: well, i told you. go see if CNDTR can be changed while DMA is running 2013-09-02T17:45:35 < Xata> that means that i.e. 440hz has 117 samples ant thus 117 is a length of buffer, and 220hz is 234 samples 2013-09-02T17:47:04 < Xata> dongs: where i can see that? 2013-09-02T17:47:45 < Xata> experimenting? 2013-09-02T17:47:49 < dongs> ? RM0090 assuming its F1 2013-09-02T17:48:06 < dongs> i mean its in reference manual 2013-09-02T17:48:11 < Wipster> Do I have the process right here in my stm32f4, set the reset bit of mac, set either RMII or MII, clear the reset bit, then enable mac tx and rx clocks? 2013-09-02T17:48:13 < dongs> for whatever chip you're on 2013-09-02T17:48:13 < dongs> in DMA section. 2013-09-02T17:49:37 < Xata> dongs: thanks, already reading it 2013-09-02T17:50:28 < zyp> RM0090 is F4 2013-09-02T17:50:32 < zyp> F1 is RM0008 2013-09-02T17:50:38 < dongs> or that. 2013-09-02T17:54:37 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-02T18:02:16 < Laurenceb> http://www.ustream.tv/channel/csbf-operations 2013-09-02T18:02:19 < Laurenceb> old skool 2013-09-02T18:04:32 -!- alexn [~alexn@93.104.205.194] has quit [Remote host closed the connection] 2013-09-02T18:07:01 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: to sleep, perchance to dream] 2013-09-02T18:21:16 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-09-02T18:26:29 < Posterdati> zyp: I was able to integrate your usb code in my code, now I need only to setup gpio ports :) 2013-09-02T18:26:57 < zyp> nice 2013-09-02T18:27:26 <+Steffanx> akaWolf Russian must be very into that game :P 2013-09-02T18:27:29 <+Steffanx> *Russians 2013-09-02T18:28:01 -!- Activate_for_mor [~mirggi@188.134.9.161] has joined ##stm32 2013-09-02T18:28:56 < Posterdati> zyp: I need a serial channel and an hid one, is it possible with your driver? 2013-09-02T18:29:07 < zyp> sure 2013-09-02T18:30:05 < Posterdati> the hid is to output data from micro only 2013-09-02T18:30:26 < Posterdati> shall I add an interface_desc to conf_desc? 2013-09-02T18:36:44 < Posterdati> zyp: is it possible to let USB.process be a task? 2013-09-02T18:36:57 < Posterdati> my task definition is: void function(void *) 2013-09-02T18:38:02 -!- Activate_for_mor [~mirggi@188.134.9.161] has quit [Ping timeout: 256 seconds] 2013-09-02T18:39:56 -!- Activate_for_mor [~mirggi@host-57-152-66-217.spbmts.ru] has joined ##stm32 2013-09-02T18:40:07 < trepidaciousMBR> I wonder whether the /2 potential divider used to measure VBAT in STM32F4 will discharge the battery if left on? 2013-09-02T18:40:18 < trepidaciousMBR> The datasheet is pretty unhelpful 2013-09-02T18:45:07 -!- barthess [~barthess@86.57.155.106] has quit [Quit: Leaving.] 2013-09-02T18:46:54 < Tectu> I'm so afraid that I'll break my PCB by overheating it when using my hot air station... any tips on that? I never really go over 350°C when desoldering stuff like TQFP 2013-09-02T18:48:34 < Sync__> your DDS generator? 2013-09-02T18:48:36 < Sync__> well 2013-09-02T18:48:41 < Sync__> probably not 2013-09-02T18:49:07 < Tectu> huh? 2013-09-02T18:50:32 < trepidaciousMBR> Tectu: We had some trouble with a 6 layer board delaminating, possibly due to overheating 2013-09-02T18:50:47 < trepidaciousMBR> Not sure how we solved that, I think slowly and carefully using a hotplate instead 2013-09-02T18:51:00 < Tectu> trepidaciousMBR, 4 layers here, with 0.1mm crap 2013-09-02T18:51:25 < Sync__> probably not, meaning that you will probably not damage it 2013-09-02T18:51:26 < trepidaciousMBR> Tectu: We were doing BGA 2013-09-02T18:51:53 < Tectu> I see 2013-09-02T18:52:45 < gxti> 0.1mm? 2013-09-02T18:56:05 < Tectu> trace widths / clearance 2013-09-02T18:56:56 < gxti> oh, not pin pitch then 2013-09-02T18:56:58 < gxti> that would be nutty 2013-09-02T19:00:00 < Tectu> yep 2013-09-02T19:01:46 <+Steffanx> Have no spare pcbs you can play with Tectu? 2013-09-02T19:01:47 <+Steffanx> Too see how for you can go 2013-09-02T19:02:19 < Tectu> just one 2013-09-02T19:02:33 < Tectu> and I don't want to do it wrong if people of the internet can help me avoiding common mistakes 2013-09-02T19:03:07 -!- Wipster [~Wip@host81-137-80-202.in-addr.btopenworld.com] has quit [Quit: Leaving] 2013-09-02T19:03:13 < dongs> attn Laurenceb http://i.imgur.com/HibY1Rw.jpg 2013-09-02T19:04:22 <+Steffanx> Should i call wifecop to say you're still awake dongs? 2013-09-02T19:04:49 < Tectu> she probably knows 2013-09-02T19:06:03 -!- mode/##stm32 [+o Tectu] by ChanServ 2013-09-02T19:06:15 <+Steffanx> Sure Tectu.. +o ? 2013-09-02T19:13:40 -!- DanteA [~X@host-67-158-66-217.spbmts.ru] has quit [Ping timeout: 246 seconds] 2013-09-02T19:25:06 -!- emeb [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-02T19:38:43 -!- DanteA [~X@host-61-158-66-217.spbmts.ru] has joined ##stm32 2013-09-02T19:43:32 -!- talsit [~talsit@FL1-119-239-15-17.osk.mesh.ad.jp] has quit [Quit: Leaving.] 2013-09-02T19:48:06 -!- DanteA [~X@host-61-158-66-217.spbmts.ru] has quit [Ping timeout: 264 seconds] 2013-09-02T19:51:42 -!- shan_rei [~shan_rei@112.202.22.8] has quit [Ping timeout: 256 seconds] 2013-09-02T20:01:25 -!- sterna [~Adium@194.17.253.121] has joined ##stm32 2013-09-02T20:06:55 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-09-02T20:09:36 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has quit [Ping timeout: 245 seconds] 2013-09-02T20:13:44 -!- dfletcher|Zzz is now known as dfletcher 2013-09-02T20:17:22 -!- barthess [~barthess@5.100.192.6] has joined ##stm32 2013-09-02T20:17:24 < Thorn> the contactor that my SSR could not switch off has a diode rectifier before the coil 2013-09-02T20:18:26 < Thorn> apparently the SSR doesn't like that 2013-09-02T20:18:39 < Thorn> (I wonder why) 2013-09-02T20:21:11 < Ademan> Thanks PaulFertser 2013-09-02T20:23:42 < PaulFertser> Ademan: hth :) 2013-09-02T20:28:30 < qyx_> Thorn: most ssr's switch on/off only at zero crossing 2013-09-02T20:28:49 < Thorn> that's what the datasheet appears to say 2013-09-02T20:28:52 < qyx_> thus work only on AC 2013-09-02T20:29:19 < Thorn> why the hell would they put diodes into a contactor 2013-09-02T20:36:51 < Thorn> anyway the SSR should still see an AC waveform 2013-09-02T20:51:42 -!- alexn [~alexn@178-27-150-121-dynip.superkabel.de] has joined ##stm32 2013-09-02T20:53:31 -!- emeb [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-09-02T20:56:07 -!- Activate_for_mor [~mirggi@host-57-152-66-217.spbmts.ru] has quit [Ping timeout: 260 seconds] 2013-09-02T21:09:51 -!- Intelaida [4d48784e@gateway/web/freenode/ip.77.72.120.78] has quit [Ping timeout: 250 seconds] 2013-09-02T21:10:18 < Posterdati> zyp: I've got a problem with USB_otg init. otg = 0x0 2013-09-02T21:12:09 -!- dekar_ [~dekar@212.255.33.75] has joined ##stm32 2013-09-02T21:12:11 -!- mode/##stm32 [+v dekar_] by ChanServ 2013-09-02T21:12:49 < Posterdati> zyp: constructors outside main seems not to work ! 2013-09-02T21:13:28 -!- Xata [~Xata@195.182.194.223] has quit [Quit: Lost terminal] 2013-09-02T21:15:06 -!- dekar__ [~dekar@212.255.246.5] has quit [Ping timeout: 240 seconds] 2013-09-02T21:41:51 <+Steffanx> attn Laurenceb, probably old, but they found the new balmer: http://youtu.be/98nNpzE6gIs?t=55s 2013-09-02T22:06:21 -!- gnomad [~gnomad@71.203.29.67] has joined ##stm32 2013-09-02T22:09:38 < Posterdati> please, I've got problem with class objects placed in global scope, their constructors are not called 2013-09-02T22:17:39 < karlp> that's probably a problem with your startup code then. 2013-09-02T22:17:52 -!- Intelaida_ [bc8609a1@gateway/web/freenode/ip.188.134.9.161] has quit [Quit: Page closed] 2013-09-02T22:18:17 < karlp> you want to use c++, you'd better know what you're doing :) 2013-09-02T22:22:16 < PaulFertser> Yes, the startup code should call __libc_init_array() 2013-09-02T22:36:15 -!- sterna [~Adium@194.17.253.121] has quit [Ping timeout: 245 seconds] 2013-09-02T22:38:19 < zyp> what they said. 2013-09-02T22:38:35 < zyp> global constructors have to be called by your startup code 2013-09-02T22:51:16 < Posterdati> karlp: yes 2013-09-02T22:51:36 < Posterdati> karlp: I added .ctors and .dtors sections in linker scripts 2013-09-02T22:51:39 < Posterdati> but nothing 2013-09-02T22:52:38 < Posterdati> http://pastebin.com/6bvH0t06 2013-09-02T22:54:48 < zyp> Posterdati, you still have to call them 2013-09-02T22:54:58 < Posterdati> how? 2013-09-02T22:55:07 < zyp> oh, and theyre not named like that 2013-09-02T22:55:08 < Posterdati> bl __libc_init_data 2013-09-02T22:55:20 < Posterdati> before main? 2013-09-02T22:55:31 < zyp> possibly 2013-09-02T22:55:38 < zyp> did you write your own startup code? 2013-09-02T22:55:52 < Posterdati> I take one from c only prroject 2013-09-02T22:56:24 < zyp> http://cgit.jvnv.net/laks/tree/startup/entry.cpp <- here's mine, lines 44-49 are responsible for calling constructors 2013-09-02T22:56:48 < Posterdati> ah 2013-09-02T22:56:53 < Posterdati> you provide an _init function 2013-09-02T22:59:11 < Posterdati> entry should replace Reset_Handler 2013-09-02T22:59:55 < Posterdati> where is vectors table? 2013-09-02T23:00:06 < zyp> http://cgit.jvnv.net/laks/tree/interrupt/interrupt.cpp 2013-09-02T23:01:00 < Posterdati> ok 2013-09-02T23:01:04 < Posterdati> tx 2013-09-02T23:22:42 -!- sterna [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-09-02T23:29:11 -!- barthess [~barthess@5.100.192.6] has quit [Quit: Leaving.] 2013-09-02T23:30:03 -!- alexn [~alexn@178-27-150-121-dynip.superkabel.de] has quit [Remote host closed the connection] 2013-09-02T23:41:38 -!- Laurenceb_ [~Laurence@host86-136-118-2.range86-136.btcentralplus.com] has joined ##stm32 --- Day changed Tue Sep 03 2013 2013-09-03T00:04:42 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-09-03T00:42:44 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-03T00:47:43 -!- upgrdman_ [~upgrdman@75-128-35-99.static.mtpk.ca.charter.com] has joined ##stm32 2013-09-03T00:48:38 -!- gnomad [~gnomad@71.203.29.67] has quit [Ping timeout: 240 seconds] 2013-09-03T00:50:01 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 246 seconds] 2013-09-03T00:53:47 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-09-03T01:05:19 -!- sterna [~Adium@d83-183-118-166.cust.tele2.se] has quit [Ping timeout: 260 seconds] 2013-09-03T01:06:18 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Read error: Connection reset by peer] 2013-09-03T01:10:57 -!- emeb [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-03T01:20:58 < Posterdati> zyp: I'm trying to use your exceptions code, it's elegant and functional, but I've got error on NMI and HardFault, compiler complains about "defined both normally and as 'alias' attribute" 2013-09-03T01:27:07 -!- shan_rei [~shan_rei@112.202.22.8] has joined ##stm32 2013-09-03T01:28:35 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-09-03T01:29:08 < Posterdati> ;( 2013-09-03T01:30:05 -!- shan_rei [~shan_rei@112.202.22.8] has quit [Client Quit] 2013-09-03T01:51:38 < Posterdati> ... 2013-09-03T01:53:18 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2013-09-03T01:56:38 -!- upgrdman_ [~upgrdman@75-128-35-99.static.mtpk.ca.charter.com] has quit [Ping timeout: 240 seconds] 2013-09-03T02:19:00 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-09-03T02:28:31 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-09-03T02:28:59 < R2COM> I'm not quite sure why enabling EXTI interrupt inside body of another EXTI interrupt doesnt really enable it 2013-09-03T02:29:04 < R2COM> I have a piece of code: 2013-09-03T02:29:29 < R2COM> // External interrupt from pin PE4 (EXT1_IN3) 2013-09-03T02:29:30 < R2COM> SYSCFG->EXTICR[1] |= SYSCFG_EXTICR2_EXTI4_PE; // 2013-09-03T02:29:30 < R2COM> EXTI->IMR |= (1 << 4); // Mask PE4 2013-09-03T02:29:30 < R2COM> EXTI->RTSR |= (1 << 4); // Rising Edge detection 2013-09-03T02:29:30 < R2COM> NVIC_SetPriority(EXTI4_IRQn, 0x3); 2013-09-03T02:29:30 < R2COM> NVIC_EnableIRQ(EXTI4_IRQn); 2013-09-03T02:30:06 < R2COM> when that piece of code is inside EXTI2 interrupt body, EXTI4 does not get enabled (because toggling appropriate pin HIGH doesnt activate it) 2013-09-03T02:30:16 < R2COM> but when the above code is inside main body of program, it all works 2013-09-03T02:30:26 < zyp> are you sure EXTI2 gets triggered? 2013-09-03T02:30:32 < R2COM> yes I am 2013-09-03T02:31:25 < R2COM> for now I mitigated temporarily this problem in a following way: I simply created global variable, and inside EXTI2 I just set that variable to specific value, then after EXTI2 is done and program back to main body, there i check that global variable, and if its appropriate value I execute code I pasted above 2013-09-03T02:32:02 < R2COM> and then when I toggle specific pin HIGH, EXTI4 does its job 2013-09-03T02:32:16 < R2COM> which means of course that EXTI2 works properly (and I check it in debugger too) 2013-09-03T02:32:26 < zyp> ok, fair enough 2013-09-03T02:32:47 < R2COM> but should I move that piece of code from main body of program inside EXTI2, EXTI4 doesnt get enabled (because toggling that same specific pin related to EXTI4 doesnt activate it) 2013-09-03T02:33:13 < zyp> I understand what you mean 2013-09-03T02:33:14 < R2COM> EXTI2 is enabled right away when program starts in similar way as code above (just different mask, and priority 0x1) 2013-09-03T02:33:26 < R2COM> and of course SYSCFG clock is enabled right at once too 2013-09-03T02:34:00 < R2COM> stm32f407vgt6 2013-09-03T02:34:01 < zyp> so, in the case EXTI4 doesn't get enabled, does everything else keep on working? 2013-09-03T02:34:10 < R2COM> yes everything works 2013-09-03T02:34:16 < zyp> you're not triggering a crash leading to a hang? 2013-09-03T02:34:42 < R2COM> well I dont think so since I can pause and continue program after that 2013-09-03T02:35:23 < R2COM> at the beginning I thought its priority issue 2013-09-03T02:35:36 < R2COM> (like interrupt of one priority cant activate interrupt of another priority) 2013-09-03T02:35:41 < R2COM> but I checked it, its not the case 2013-09-03T02:37:46 < zyp> hmm, interesting 2013-09-03T02:38:25 < R2COM> and after that happens (failure of EXTI4 to do the job) I continue running last infinite loop 2013-09-03T02:38:31 < R2COM> and debugger does not spit out anything nasty 2013-09-03T02:38:36 < R2COM> just as always continue running 2013-09-03T02:38:42 < zyp> and other irqs are still handled? 2013-09-03T02:38:44 < R2COM> can stop then continue again 2013-09-03T02:39:37 < R2COM> yes 2013-09-03T02:40:41 < R2COM> I gone through docs, didnt find any mentioning about when its allowed to turn on/off interrupts from inside of another interrupts 2013-09-03T02:40:50 < zyp> hmm, according to the CMSIS documentation, SetPriority expects the priority argument to be left aligned 2013-09-03T02:41:08 < R2COM> left aligned? 2013-09-03T02:41:10 < R2COM> well 2013-09-03T02:41:18 < zyp> stm32 only implements four bits (the upper four), so a priority of 0x03 will be equal to 0x00 2013-09-03T02:42:02 < R2COM> I think that function I use is top wrapper 2013-09-03T02:42:11 < R2COM> it does the alignment already itself 2013-09-03T02:42:15 < R2COM> that NVIC stuff 2013-09-03T02:42:21 < R2COM> NVIC_SetPriority(EXTI4_IRQn, 0x3); 2013-09-03T02:42:33 < zyp> if so, that's not compliant with the CMSIS 2013-09-03T02:42:57 < R2COM> ok I can real quick check with 0x1 and 0x2 2013-09-03T02:43:03 < R2COM> EXTI2 will be 0x1 2013-09-03T02:43:07 < R2COM> EXTI4 will be 0x2 2013-09-03T02:43:11 < zyp> but anyway, it should not be a priority issue anyway 2013-09-03T02:43:48 < R2COM> I think so because I tried flipping their priorities already 2013-09-03T02:45:54 < emeb> when you return from interrupt, the previous state of IRQ enables isn't restored is it? 2013-09-03T02:46:26 < zyp> no, it's not saved anywhere 2013-09-03T02:46:36 < zyp> you can't restore anything you haven't saved 2013-09-03T02:46:40 < emeb> ya 2013-09-03T02:47:18 < Posterdati> zyp: linker complains about entry :) /opt/gcc-arm-none-eabi-4_7-2013q1/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol entry; defaulting to 08000150 2013-09-03T02:47:20 < R2COM> when I put that code inside body of EXTI2 I even checked for IMR and RTSR right after setting them, to make sure they have proper mask (that mask is actually set) it was right 2013-09-03T02:47:35 < Posterdati> zyp: that is strangely correct 2013-09-03T02:47:36 < zyp> Posterdati, then you're doing something wrong 2013-09-03T02:47:40 < R2COM> and then after that two NVIC functions 2013-09-03T02:48:10 < emeb> so presumably the RTI is somehow blowing away the settings you made? 2013-09-03T02:48:18 < R2COM> RTI? 2013-09-03T02:48:22 < R2COM> whats that 2013-09-03T02:48:25 < emeb> return from interrupt 2013-09-03T02:48:49 < zyp> no reason it should 2013-09-03T02:48:52 < emeb> just shorthand - don't think there's actually an instruction called that. 2013-09-03T02:48:57 < emeb> and yet... 2013-09-03T02:49:09 < zyp> I think there is something missing here 2013-09-03T02:49:22 < zyp> something happening that we're not aware of 2013-09-03T02:50:17 < zyp> I would try reproducing it here, but I don't have time for it now 2013-09-03T02:50:30 < emeb> how very Fermat of you. :) 2013-09-03T02:52:40 < zyp> debugging a live local case of a problem is much easier than having people doing the debugging and relaying the information leaving out important clues ;) 2013-09-03T02:54:17 < R2COM> also I was wondering if accessing SYSCFG and EXTI registers might not be always acceptable maybe in some cases from inside interrupts 2013-09-03T02:54:39 < zyp> no reason that should be a problem 2013-09-03T02:55:05 < zyp> SYSCFG and EXTI registers are just peripherals, external to the CPU core, they don't know anything about the processor state 2013-09-03T02:55:55 -!- Laurenceb_ [~Laurence@host86-136-118-2.range86-136.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2013-09-03T02:57:41 < Posterdati> zyp: this worrk ---> extern "C" void entry(void) __attribute__ (( __naked__ )); 2013-09-03T02:59:22 < zyp> ok 2013-09-03T03:01:01 < Posterdati> strange 2013-09-03T03:01:16 < Posterdati> however linker found the correct address 2013-09-03T03:01:24 < Posterdati> you solution is fascinating 2013-09-03T03:01:46 < Posterdati> using template functions that way is very elegant 2013-09-03T03:02:09 < zyp> it's a rather cute trick, at least 2013-09-03T03:02:15 < Posterdati> yes indeed 2013-09-03T03:02:25 < Posterdati> now let's see if constructors are called 2013-09-03T03:02:32 < Posterdati> I'm using your entry() function 2013-09-03T03:02:35 < zyp> makes it impossible to mistype the interrupt name without having the compiler shouting at you 2013-09-03T03:02:42 < Posterdati> yes 2013-09-03T03:03:02 < Posterdati> I have got a lot of problem with that :) 2013-09-03T03:03:17 < Posterdati> now it's precise 2013-09-03T03:04:21 < Posterdati> I modified for CL line 2013-09-03T03:05:36 < dongs> sup trollz 2013-09-03T03:05:54 < dongs> uh template functions what 2013-09-03T03:06:02 < dongs> cbonerboner 2013-09-03T03:06:24 < Posterdati> zyp: entry() hardfault :( 2013-09-03T03:06:40 < zyp> you're doing something wrong 2013-09-03T03:07:15 < zyp> anyway, I need to sleep, good luck 2013-09-03T03:07:27 < Posterdati> it fails at __init_array_end calling 2013-09-03T03:07:34 < dongs> uh 2013-09-03T03:07:40 < dongs> is your stack fucked 2013-09-03T03:08:13 < zyp> nah, he's just not good enough at stealing my code 2013-09-03T03:09:27 < dongs> heh 2013-09-03T03:11:03 < R2COM> stm32 microconTROLLER! 2013-09-03T03:15:31 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-09-03T03:16:34 < R2COM> so 2013-09-03T03:16:49 < R2COM> activating EXTI4 from EXTI2 depended on some conditions 2013-09-03T03:16:54 < R2COM> I even removed those 2013-09-03T03:17:02 < R2COM> same thing 2013-09-03T03:17:21 < R2COM> that piece of code activates EXTI4 when executed in main program, but not when inside EXTI2 handler 2013-09-03T03:17:47 < R2COM> so I was just curious 2013-09-03T03:18:22 < R2COM> although I just used global variable indicators to deal get it done. 2013-09-03T03:34:48 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 2013-09-03T03:39:50 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2013-09-03T03:45:46 < R2COM> time to eat a chocolate cake 2013-09-03T03:48:05 -!- bsdfox [~Bob@unaffiliated/bsdfox] has joined ##stm32 2013-09-03T03:48:44 -!- talsit [~talsit@FL1-119-239-15-17.osk.mesh.ad.jp] has joined ##stm32 2013-09-03T04:10:55 < Posterdati> how can I avoid blx instruction to be compiled in entry() code? 2013-09-03T04:12:15 < ShiftPlusOne> Stupid question, but are the 5v tolerant pins actually safe to use as 5v logic inputs? 2013-09-03T04:13:00 < Posterdati> ? 2013-09-03T04:13:05 < dongs> yes 2013-09-03T04:13:15 < Posterdati> ShiftPlusOne: blx is not thumb 2013-09-03T04:14:43 < ShiftPlusOne> Posterdati, wah? I can't help you, I was just asking my own question. >.> 2013-09-03T04:14:49 < ShiftPlusOne> dongs, thanks 2013-09-03T04:17:10 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-09-03T04:18:58 < ShiftPlusOne> So... since VDD is 3V, max on the 5v tolerant pins is actually 7V, which seems quite generous. Should've consulted the datasheet first, sorry. 2013-09-03T04:21:33 < Posterdati> ShiftPlusOne: anyway str912 is 5V tollerant too, but it act strangely when certain pins were connected to 5V 2013-09-03T04:22:09 < Posterdati> I don't believe the 5V tollerant story 2013-09-03T04:22:12 < ShiftPlusOne> Hm, thanks. I guess I'll hook it up and see how it goes. 2013-09-03T04:42:22 < dongs> what 5V trash are you receicing? 2013-09-03T04:43:28 < ShiftPlusOne> just the data from a c64 cartridge 2013-09-03T04:46:50 -!- amstan_ [~alex@aichallenge/admin/amstan] has joined ##stm32 2013-09-03T04:47:47 < R2COM> dongs: do all your projects on c64 2013-09-03T04:49:17 < dongs> haha c6 2013-09-03T04:49:18 < dongs> 4 2013-09-03T05:00:04 < R2COM> fpga time 2013-09-03T05:04:57 < dongs> run C64 on FPGA 2013-09-03T05:08:22 < R2COM> im sure internet is full of fags who would love to do something useless like that 2013-09-03T05:12:40 -!- xata [~xata@195.182.194.223] has joined ##stm32 2013-09-03T05:17:41 < xata> Hello again. Is there any way to measure cpu load without hardware debugger? I have no debugger, and i have a suspition, that doing sin and double math in 44100realtime is a bit too much for f103 2013-09-03T05:18:27 < talsit> there's a register which is a hardware cycle counter 2013-09-03T05:18:41 < talsit> you can get the difference of before/after your code 2013-09-03T05:18:45 < R2COM> maybe setting the outputs in a fast way with BSSR and looking at scope? just to ecaluate delays.. 2013-09-03T05:18:45 < talsit> and find out 2013-09-03T05:20:39 < xata> R2COM, if only i had a scope. 2013-09-03T05:21:13 < talsit> 10,000,000 iterations and a stopwatch? 2013-09-03T05:25:14 < xata> talsit, that rwgister, i can find out amount of cycles for math by substraxting pre-math amount from post-math, right? 2013-09-03T05:25:24 < talsit> yep 2013-09-03T05:26:54 < talsit> i think it's called DWT_CYCCNT on the f1's 2013-09-03T05:26:59 < talsit> but check 2013-09-03T05:29:13 < xata> Only thing is how do i see the result. I hope it will be less than 16bit, so i can drive it to port and set the leds on it. Or maybe i'll use hd47780. Well, thanks - i have to find that register now. 2013-09-03T05:31:17 < talsit> if it's more than 16bit, you can divide by 1000, for example, to get you in the range 2013-09-03T05:31:49 < talsit> and i would iterate a few times over your algorithm, in case you're getting denormals and stuff in specific areas 2013-09-03T05:35:12 < xata> Well, i had it silent instead of glitchy or slow sound. 2013-09-03T05:38:02 < xata> Last question before i fall asleep - more about C maybe. If i make a, for example 10kb array and start it on device with 8kb of memory it will not work. But i just need to read that array. So if i declare it const - will whole array load to memory? 2013-09-03T05:38:44 < talsit> are you talking about storing it in flash instead of sram? 2013-09-03T05:39:35 < xata> Yes. Stupid question maybe, but i am amateur 2013-09-03T05:40:16 < talsit> try it, declare a 10k array as const, then, if it links, find out it goes 2013-09-03T05:40:54 < talsit> you can use a command like "arm-none-eabi-objdump -t .elf | gsort -k5" 2013-09-03T05:41:02 < talsit> to find out sizes of stuff 2013-09-03T05:41:08 < talsit> or just look at your .map 2013-09-03T05:46:47 < xata> talsit, i see. Thank you for your help 2013-09-03T05:47:04 -!- xata [~xata@195.182.194.223] has quit [Quit: bye] 2013-09-03T05:53:33 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2013-09-03T05:56:02 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Ping timeout: 240 seconds] 2013-09-03T06:04:46 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has joined ##stm32 2013-09-03T06:05:17 -!- TeknoJuce01 is now known as TeknoJuce 2013-09-03T06:05:22 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2013-09-03T06:05:31 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2013-09-03T06:05:38 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925075675.dsl.bell.ca] has quit [Changing host] 2013-09-03T06:05:38 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2013-09-03T06:15:21 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2013-09-03T06:41:37 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: and like that, he's gone] 2013-09-03T06:48:39 -!- scrts [~quassel@unaffiliated/scrts] has quit [Remote host closed the connection] 2013-09-03T06:51:31 -!- scrts [~quassel@unaffiliated/scrts] has joined ##stm32 2013-09-03T07:03:19 -!- emeb [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: Leaving.] 2013-09-03T07:10:44 -!- amstan__ [~alex@aichallenge/admin/amstan] has joined ##stm32 2013-09-03T07:13:54 -!- amstan_ [~alex@aichallenge/admin/amstan] has quit [Ping timeout: 264 seconds] 2013-09-03T07:17:20 < emeb_mac> yawn 2013-09-03T07:22:34 < dongs> sup 2013-09-03T07:22:42 < dongs> matchboxarm still trending towards fail 2013-09-03T07:22:50 < dongs> i linked to my stm32 devboard from it. 2013-09-03T07:22:54 < dongs> should I link to yours too? 2013-09-03T07:23:14 < dongs> o wait 2013-09-03T07:23:17 < dongs> you didnt do a f103 breakout 2013-09-03T07:23:18 < dongs> or did you 2013-09-03T07:23:25 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: This computer has gone to sleep] 2013-09-03T07:23:30 < dongs> no jsut f3 2013-09-03T07:23:40 < emeb_mac> ya 2013-09-03T07:23:45 < emeb_mac> just f373 and f303 2013-09-03T07:24:01 < emeb_mac> imho those are better than f10x anyway :) 2013-09-03T07:24:58 < emeb_mac> I've been getting a bunch of inquiries on those boards lately. Put the gerbers up and folks seem happy... 2013-09-03T07:25:36 < talsit> which board? 2013-09-03T07:25:53 < dongs> http://ebrombaugh.studionebula.com/embedded/stm32f303breakout/index.html this shit 2013-09-03T07:27:42 < talsit> cool 2013-09-03T07:30:10 < emeb_mac> and this too: http://ebrombaugh.studionebula.com/embedded/stm32f373breakout/index.html 2013-09-03T07:30:33 < emeb_mac> (note dongsfab) 2013-09-03T07:35:07 -!- DLPeterson [~hazelnuss@c-71-198-192-33.hsd1.ca.comcast.net] has quit [Quit: leaving] 2013-09-03T07:35:40 < dongs> keke 2013-09-03T07:35:56 < R2COM1> gym was closed what the fuck! 2013-09-03T07:36:01 -!- R2COM1 is now known as R2COM 2013-09-03T07:36:18 < dongs> maybe you can shoot some niggers in fps at 4seconds/kill 2013-09-03T07:37:23 < R2COM> but I want physically to excercise 2013-09-03T07:37:45 < R2COM> will do some pushups at least 2013-09-03T07:37:58 < R2COM> assholes, drove for nothing 2013-09-03T07:38:37 < emeb_mac> go for a run? 2013-09-03T07:40:49 < dongs> chrome finally fixed pdf search 2013-09-03T07:41:01 < dongs> where typing 'a' in 1000 page document would lock the shit up for days 2013-09-03T07:41:20 < dongs> now, i can continue typing and it stops searching for 'a' 2013-09-03T07:42:28 < R2COM> ok. so whats the best browser for today by the way for win7? 2013-09-03T07:42:41 < dongs> chrome obviously? 2013-09-03T07:42:46 < R2COM> hm 2013-09-03T07:42:50 < R2COM> I'm using firefox 2013-09-03T07:42:57 < R2COM> chrome is 64 bit? 2013-09-03T07:43:07 < dongs> lol failfox 2013-09-03T07:43:12 < dongs> no idea. chrome doesnt need to be 64bit 2013-09-03T07:43:27 < R2COM> maybe I should try it 2013-09-03T07:45:12 < R2COM> what about those boards? 2013-09-03T07:45:16 < R2COM> upper two links 2013-09-03T07:47:58 < emeb_mac> what about them> 2013-09-03T07:48:09 < R2COM> dunno? 2013-09-03T07:48:25 < emeb_mac> just breakouts for F3xx w/ USB 2013-09-03T07:50:19 < emeb_mac> ordered some cheap SMA/MCX and SMA/PAL pigtails from china ebay guy for use w/ RTL-SDR dongles 2013-09-03T07:50:37 < R2COM> what type of sma? 2013-09-03T07:50:44 < R2COM> typical female sma? 2013-09-03T07:50:46 < emeb_mac> ya 2013-09-03T07:50:48 < R2COM> straight thru pcb? 2013-09-03T07:50:53 < emeb_mac> not stupid RP crap 2013-09-03T07:51:02 < R2COM> sma-f, thru? 2013-09-03T07:51:25 < emeb_mac> http://www.ebay.com/itm/6in-IEC-DVB-T-TV-PAL-male-plug-to-SMA-male-jumper-cable-RG316-/151029713235?pt=US_Radio_Comm_Coaxial_Cables_Connectors&hash=item232a128953 2013-09-03T07:51:45 < R2COM> ah jkumper 2013-09-03T07:51:49 < emeb_mac> and http://www.ebay.com/itm/6in-SMA-male-to-MCX-straight-male-plug-Pigtail-Jumper-Cable-RG316-/151015408010?pt=US_Radio_Comm_Coaxial_Cables_Connectors&hash=item232938418a 2013-09-03T07:52:03 < R2COM> i will need some sma-f,thru for cheap soon 2013-09-03T07:52:20 < emeb_mac> that guy has such stuff 2013-09-03T07:52:27 < emeb_mac> pretty cheap too 2013-09-03T07:52:40 < emeb_mac> got some sma board-edge launchers too: http://www.ebay.com/itm/10-SMA-female-PCB-Edge-Mount-RF-Solder-Adapter-0-062-/160518940049?pt=US_Radio_Comm_Coaxial_Cables_Connectors&hash=item255faca591 2013-09-03T07:53:18 < R2COM> and no datasheet of course 2013-09-03T07:53:27 < R2COM> what a stupids 2013-09-03T07:53:57 < R2COM> those board edge differ in width 2013-09-03T07:54:18 < emeb_mac> http://stores.ebay.com/adapterconnectorpigtailcable/F-SMA-BNC-/_i.html?_fsub=2811770017 2013-09-03T07:54:30 < emeb_mac> you mean board thickness? 2013-09-03T07:54:41 < R2COM> all my boards designed to fit this one http://www.digikey.com/product-search/en?x=0&y=0&lang=en&site=us&KeyWords=WM5534-ND 2013-09-03T07:55:21 < R2COM> theres no impedance 2013-09-03T07:55:25 < R2COM> theres no dielectric spec 2013-09-03T07:55:27 < R2COM> what a morons 2013-09-03T07:55:33 < emeb_mac> it's all cheap chinese! 2013-09-03T07:55:38 < R2COM> so fucking what? 2013-09-03T07:56:05 < emeb_mac> I'm agreeing with you here - cheap / no specs / take a leap 2013-09-03T07:56:29 < R2COM> or just dont buy 2013-09-03T07:56:34 < R2COM> and let them stay with unsold items 2013-09-03T07:56:36 < R2COM> and starve 2013-09-03T07:56:37 < R2COM> and die 2013-09-03T07:59:29 < emeb_mac> just look around - some of the chinese ebay guys have specs / drawings available. 2013-09-03T08:01:55 < R2COM> http://www.ebay.com/itm/Johnson-142-0701-201-SMA-Jack-Assembly-Straight-PCB-Mount-qty-100-/160884609472?pt=LH_DefaultDomain_0&hash=item25757851c0 2013-09-03T08:02:01 < R2COM> 1.7$ each 2013-09-03T08:02:02 < R2COM> lot 100 2013-09-03T08:02:59 -!- jef79m [~jef79m@124-149-54-210.dyn.iinet.net.au] has quit [Excess Flood] 2013-09-03T08:03:35 < emeb_mac> cheaper than DK 2013-09-03T08:03:36 < R2COM> I have so far around 60 maybe or so 2013-09-03T08:04:05 < R2COM> its a bit harder to design nice termination for thru sma for pcb 2013-09-03T08:04:49 < R2COM> I have around 10 connectors from pasternack, each was like 14$ or so 2013-09-03T08:05:25 < emeb_mac> pasternack is ridiculously expensive 2013-09-03T08:05:31 < emeb_mac> never order from them 2013-09-03T08:05:43 -!- jef79m [~jef79m@124-149-54-210.dyn.iinet.net.au] has joined ##stm32 2013-09-03T08:05:51 < R2COM> maybe those who build shit for F22 order them 2013-09-03T08:05:58 < emeb_mac> lol 2013-09-03T08:06:21 < emeb_mac> people who don't know better 2013-09-03T08:06:27 < R2COM> and then shit gets shot with SA-6 anyhow :P 2013-09-03T08:08:53 < emeb_mac> so what are all those boards you're building for? 2013-09-03T08:09:30 < R2COM> for different experimental things. and some personal stuff 2013-09-03T08:09:39 < emeb_mac> cool 2013-09-03T08:09:56 < R2COM> reason I need lots of connectors is lots of smaller boards 2013-09-03T08:10:01 < emeb_mac> ya 2013-09-03T08:10:03 < R2COM> to adjust/prototype system 2013-09-03T08:10:11 < emeb_mac> RF legos 2013-09-03T08:10:16 < R2COM> I cant connect everything and debug 2013-09-03T08:10:33 < R2COM> or I mean, make one pcb from 1st time and figure out nontrivial things 2013-09-03T08:10:48 < emeb_mac> makes sense. 2013-09-03T08:11:08 < R2COM> ok so far best offer was that one 2013-09-03T08:11:10 < R2COM> linked above 2013-09-03T08:11:15 < emeb_mac> kinda what I'm doing with these things: http://ebrombaugh.studionebula.com/radio/rxadc/index.html 2013-09-03T08:11:16 < R2COM> 170$ for 100 2013-09-03T08:11:44 < emeb_mac> need to get an FPGA design to test that out 2013-09-03T08:12:05 < emeb_mac> then I want to design a little front-end board for it - amps, tuners, mixers, etc. 2013-09-03T08:12:29 < R2COM> why 20MHz bw? 2013-09-03T08:12:42 < emeb_mac> the ADC is 40MSPS max. :) 2013-09-03T08:13:05 < emeb_mac> wanted to start out with a cheap & available ADC 2013-09-03T08:13:07 < R2COM> whats its bandwidth? 2013-09-03T08:13:30 < emeb_mac> front end BW for subsampling is good out to 170MHz I think 2013-09-03T08:14:04 < emeb_mac> not great as such things go. 2013-09-03T08:14:10 < R2COM> 2x more sampling is theoretical ideal not sure if its good enough 2013-09-03T08:14:26 -!- Activate_for_mor [~mirggi@host-120-158-66-217.spbmts.ru] has joined ##stm32 2013-09-03T08:14:32 < emeb_mac> I've used better ADCs in the day job that have frontend BW out to > 700MHz 2013-09-03T08:15:10 < R2COM> I mean sample signal whos bw is 2x less than sampling rate = shit 2013-09-03T08:15:47 < emeb_mac> well, ya. can't have bw > nyquist 2013-09-03T08:15:55 < R2COM> then why to do this? 2013-09-03T08:16:10 < emeb_mac> but you can undersample a narrow BW signal whose frequency > sample rate. 2013-09-03T08:16:55 < R2COM> ok but then whats the point of all that? 2013-09-03T08:17:05 < R2COM> i mean the board 2013-09-03T08:17:08 < R2COM> the project 2013-09-03T08:17:13 < emeb_mac> the board? just for fun. 2013-09-03T08:17:26 < emeb_mac> working on some HF receiver ideas 2013-09-03T08:18:54 < emeb_mac> what's the point of those boards you're working on? :) 2013-09-03T08:19:17 < R2COM> to build something what usually costs really a lot for an affordable price out of cheap cots 2013-09-03T08:21:04 -!- Activate_for_mor [~mirggi@host-120-158-66-217.spbmts.ru] has quit [Ping timeout: 240 seconds] 2013-09-03T08:21:29 -!- KennyMcCormic [~Kenny@95.139.134.171] has joined ##stm32 2013-09-03T08:22:06 < emeb_mac> where did you get those boards fabbed? Purple + gold looks like OSHpark 2013-09-03T08:22:12 < R2COM> yes 2013-09-03T08:22:32 < R2COM> it took me a while to get some filters done normally there 2013-09-03T08:22:39 < R2COM> you saw my posts? 2013-09-03T08:22:45 < R2COM> I fabbed 4 microwave filters 2013-09-03T08:22:52 < R2COM> hardly could get satisfying specs 2013-09-03T08:22:57 < emeb_mac> I saw some of those a while back 2013-09-03T08:23:01 < R2COM> satisfying response I mean 2013-09-03T08:23:11 < emeb_mac> did they work? 2013-09-03T08:23:17 < R2COM> ill show now 2013-09-03T08:24:17 < R2COM> made 4 different bandpass filters 2013-09-03T08:24:21 < R2COM> each looks like this http://i.imgur.com/MOVY4Qj.jpg 2013-09-03T08:24:31 < R2COM> here all of them 2013-09-03T08:24:34 < R2COM> http://i.imgur.com/3WBIo9b.jpg 2013-09-03T08:24:42 < R2COM> heres response for each 2013-09-03T08:24:48 < R2COM> http://i.imgur.com/w1MZ2Rz.png 2013-09-03T08:24:54 < R2COM> http://i.imgur.com/LldWs7U.png 2013-09-03T08:25:01 < R2COM> http://i.imgur.com/RlJI1GV.png 2013-09-03T08:25:09 < R2COM> http://i.imgur.com/xYGxBEu.png 2013-09-03T08:25:28 < R2COM> according to my simulation reflection had to be < -15dB 2013-09-03T08:25:43 < R2COM> without cap it was -7dB before, and with cap almost same 2013-09-03T08:26:03 < R2COM> then with some special tweaking under cap I managed to at least get relatively acceptave -10dB 2013-09-03T08:26:35 < R2COM> response on pics above is from tool, not a simulation. 2013-09-03T08:26:40 < emeb_mac> ya 2013-09-03T08:26:56 < emeb_mac> not awful, but a bit of variation 2013-09-03T08:27:09 < R2COM> what variation? 2013-09-03T08:27:21 < R2COM> well 2013-09-03T08:27:23 < R2COM> yes. 2013-09-03T08:27:24 < emeb_mac> or was that just different marker freqs? 2013-09-03T08:27:43 < R2COM> no. at those markers response before was much worse 2013-09-03T08:27:48 < R2COM> reflection was -7dB 2013-09-03T08:28:01 < R2COM> (at passband of interest - between markers) 2013-09-03T08:28:17 < R2COM> now it starts for each filter at -10dB and goes down 2013-09-03T08:29:06 < emeb_mac> was that the 2L or 4L process? 2013-09-03T08:29:11 < R2COM> 4l 2013-09-03T08:29:36 < emeb_mac> what was the char impedance of the traces you used? 2013-09-03T08:29:43 < R2COM> 50 2013-09-03T08:29:47 < emeb_mac> huh 2013-09-03T08:30:02 -!- Activate_for_mor [~mirggi@host-120-158-66-217.spbmts.ru] has joined ##stm32 2013-09-03T08:30:14 < emeb_mac> seems like those traces are narrower than I would have thought for the layer spacing in the 4L process. 2013-09-03T08:30:35 < R2COM> they will be. that had to be that way. but in general connecting lines are a bit bigger 2013-09-03T08:30:42 < R2COM> 2 mil bigger 2013-09-03T08:32:28 < R2COM> filters are usable anyhow. its just I expected better results 2013-09-03T08:32:39 < emeb_mac> *nod* 2013-09-03T08:33:13 < emeb_mac> was talking to an RF guy the other day - he said he tried to get firm layer specs from OSHpark but they wouldn't give 'em 2013-09-03T08:33:32 < emeb_mac> so he gets his close tolerance stuff from someone else. 2013-09-03T08:33:35 < R2COM> no they wont, because I guess they dont know too they use different fabs I guess 2013-09-03T08:33:44 < emeb_mac> could be 2013-09-03T08:34:32 < R2COM> amplitude response wasnt much importnat for me, since I can do almost brick filter in digital domain 2013-09-03T08:35:12 < emeb_mac> aha. you were more interested in low insertion loss? 2013-09-03T08:35:32 -!- alexn [~alexn@93.104.205.194] has joined ##stm32 2013-09-03T08:35:59 < R2COM> well yes, actually in amplitude response too, but amplitude response just had to be good enough to prevent subsequent to filter component from spurs 2013-09-03T08:36:04 < R2COM> and this response is ok for that 2013-09-03T08:36:45 < R2COM> for precise filtering I would use digital one anyhow 2013-09-03T08:36:56 < emeb_mac> ya 2013-09-03T08:37:11 < R2COM> also theres like 8dB loss in passband, according to my simulations it had to be like 4 or so 2013-09-03T08:37:57 < R2COM> but I can arrange the channel in such a way that I wont need attenuator in another place, so its not a big deal 2013-09-03T08:38:17 < emeb_mac> just got done doing a design for a VHF comms digital frontend - 50MSPS that decimates to 48kHz w/ very selective filters. 2013-09-03T08:42:09 < R2COM> so, I will need maybe to find another fab for some other things 2013-09-03T08:42:21 < R2COM> for prototyping 2013-09-03T08:42:49 < emeb_mac> ya 2013-09-03T08:43:14 < emeb_mac> wonder who's good for tight tolerance RF work, but reasonably priced? 2013-09-03T08:43:39 < R2COM> noone. 2013-09-03T08:43:57 < emeb_mac> heh 2013-09-03T08:44:04 < emeb_mac> bring $$$ 2013-09-03T08:44:46 < R2COM> or know how to get stuff done/tweaked on cheap process 2013-09-03T08:45:02 < emeb_mac> there's that. 2013-09-03T08:45:16 < emeb_mac> man - Mini-Circuits website sucks so hard. 2013-09-03T08:45:32 < emeb_mac> looks like it was designed in 1994 2013-09-03T08:45:34 < R2COM> why 2013-09-03T08:45:50 < R2COM> I'm used to it already its kinda ok 2013-09-03T08:46:26 < R2COM> use hittite website if you dont like it ;) 2013-09-03T08:48:14 < emeb_mac> they make some cute stuff 2013-09-03T08:48:21 < R2COM> also 2013-09-03T08:48:32 < R2COM> there are plenty companies which do some specific custom stuff 2013-09-03T08:48:35 < R2COM> if its that badly needed 2013-09-03T08:48:42 < R2COM> filter with needed freq/type etc 2013-09-03T08:48:48 < R2COM> but again they will charge a lot 2013-09-03T08:49:30 < emeb_mac> yep 2013-09-03T08:49:45 < emeb_mac> I remember buy custom cut xtals in the past 2013-09-03T08:50:01 < emeb_mac> was actually rather reasonable considering. 2013-09-03T08:52:07 < R2COM> found some better deal 2013-09-03T08:52:10 < R2COM> for rf sma 2013-09-03T08:52:13 < R2COM> 1.4$ each 2013-09-03T08:52:23 < R2COM> 35$ for 25 pcs 2013-09-03T08:52:27 < emeb_mac> size / spacing correct for your app? 2013-09-03T08:52:43 < emeb_mac> those Johnson parts looked iffy 2013-09-03T08:52:44 < R2COM> well I think all through hole connectors should be same 2013-09-03T08:52:51 < R2COM> why iffy? 2013-09-03T08:52:59 < R2COM> they just looked kinda circled.... 2013-09-03T08:53:00 < emeb_mac> Oh - you wanted th, not edge 2013-09-03T08:53:09 < R2COM> I would buy edge too 2013-09-03T08:53:14 < R2COM> but now thru 2013-09-03T08:53:24 < R2COM> what I am saying is those johnson looked cirlced 2013-09-03T08:53:31 < emeb_mac> ya 2013-09-03T08:53:45 < R2COM> but I guess as far as pitch between 4 legs and center one is same as in squared...it shouldnt be problem 2013-09-03T08:53:47 < R2COM> I assume.. 2013-09-03T08:54:16 < R2COM> oh wait... "used" 2013-09-03T08:54:19 < R2COM> hmmm 2013-09-03T08:54:30 < emeb_mac> wtf? 2013-09-03T08:54:39 < R2COM> they looked new though dont see any solder on legs 2013-09-03T08:54:52 < emeb_mac> maybe just NOS? 2013-09-03T08:54:56 < R2COM> NOS=? 2013-09-03T08:55:02 < emeb_mac> new old stock 2013-09-03T08:55:14 < emeb_mac> ie bought, inventoried & resold unused. 2013-09-03T08:57:20 < R2COM> sent a question already 2013-09-03T09:02:28 < emeb_mac> whoa - Serena Williams on Letterman tonite. She looks like she could crush him like a bug. 2013-09-03T09:03:22 < R2COM> what?? 2013-09-03T09:04:36 < emeb_mac> tennis player? very... fit. 2013-09-03T09:05:11 < R2COM> haha 2013-09-03T09:05:20 < R2COM> now i can read your dirty thoughts right away 2013-09-03T09:05:28 < emeb_mac> shhhh 2013-09-03T09:07:14 < R2COM> dongs: do you also like such woman like emeb? 2013-09-03T09:07:31 -!- Intelaida [4d48784e@gateway/web/freenode/ip.77.72.120.78] has joined ##stm32 2013-09-03T09:09:26 < R2COM> haha 2013-09-03T09:13:31 < emeb_mac> ridable hexdec copter: http://www.e-volo.com/information/first-flight-vc1 2013-09-03T09:21:42 -!- dekar__ [~dekar@212.255.229.199] has joined ##stm32 2013-09-03T09:21:45 -!- mode/##stm32 [+v dekar__] by ChanServ 2013-09-03T09:25:54 -!- dekar_ [~dekar@212.255.33.75] has quit [Ping timeout: 264 seconds] 2013-09-03T09:26:05 -!- sterna [~Adium@d83-183-118-166.cust.tele2.se] has joined ##stm32 2013-09-03T09:26:19 < dongs> old as fuck 2013-09-03T09:36:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2013-09-03T09:44:27 -!- barthess [~barthess@86.57.155.106] has joined ##stm32 2013-09-03T09:53:56 -!- amstan__ [~alex@aichallenge/admin/amstan] has quit [Quit: Konversation terminated!] 2013-09-03T09:56:00 < R2COM> why the fuck copters are so popular 2013-09-03T09:56:02 < R2COM> what about them 2013-09-03T09:57:07 < R2COM> haha 2013-09-03T09:57:11 < R2COM> the guy doesnt go too high 2013-09-03T09:57:14 < R2COM> for a good reason 2013-09-03T10:00:07 < emeb_mac> fall down, break your neck, catch pneumonia and die 2013-09-03T10:01:29 < R2COM> so all he did is packed up lots of electric bigass motors 2013-09-03T10:01:34 < R2COM> 3 phase ones I guess 2013-09-03T10:01:37 < R2COM> 100A or so 2013-09-03T10:05:14 -!- sterna [~Adium@d83-183-118-166.cust.tele2.se] has quit [Quit: Leaving.] 2013-09-03T10:07:45 -!- ds2 [noinf@netblock-66-245-251-24.dslextreme.com] has joined ##stm32 2013-09-03T10:10:17 -!- DanteA [~X@host-64-157-66-217.spbmts.ru] has joined ##stm32 2013-09-03T10:18:02 < R2COM> dont they have to have license to develop and fly such shit 2013-09-03T10:18:07 < R2COM> http://www.e-volo.com/wp/wp-content/gallery/vc200/VC200_oben_T_A.jpg 2013-09-03T10:18:15 < R2COM> lots of engines 2013-09-03T10:18:23 < R2COM> more engines..potentially more problems 2013-09-03T10:18:33 < R2COM> if not done reliably.. 2013-09-03T10:18:42 < R2COM> not sure whats the purpose of that trash 2013-09-03T10:19:16 < emeb_mac> it's Germany. who knows. 2013-09-03T10:19:33 < emeb_mac> plus - how much of a license do you need to go 5' high? 2013-09-03T10:19:48 < R2COM> this one goes 6500ft 2013-09-03T10:19:52 < R2COM> they say they will get license 2013-09-03T10:20:10 < R2COM> but I'm not sure whats the purpose of this machine.. 2013-09-03T10:20:49 < R2COM> As the federal ministry of economics and technology granted 2 million € as a 2013-09-03T10:20:49 < R2COM> subsidy of the project-related costs, e-volo is working together with a research 2013-09-03T10:20:49 < R2COM> and industry syndicate to build the VC200, the first Volocopter in the world to 2013-09-03T10:20:49 < R2COM> carry two people. 2013-09-03T10:21:11 < R2COM> useless shit 2013-09-03T10:21:27 < R2COM> 2M euros... 2013-09-03T10:21:30 < R2COM> cool. 2013-09-03T10:21:47 < emeb_mac> 18-copter! 2013-09-03T10:22:27 < R2COM> maybe price 2013-09-03T10:22:38 < R2COM> maybe it will be way cheaper than conventional average 2-seted heli 2013-09-03T10:23:12 < emeb_mac> all I can afford is a beanie w/ propeller 2013-09-03T10:23:26 < jpa-> maybe.. or maybe less fuel usage or less noise? 2013-09-03T10:23:32 < R2COM> I wonder if 2M euros were spent to research a better/safer engines used for jetPack, and have two of those attached to same cabin... would possibly maybe to achieve same result but without that huge construction around 2013-09-03T10:24:14 < R2COM> and without risk of someones head getting chopped by propeller 2013-09-03T10:24:19 < R2COM> :] 2013-09-03T10:25:19 < R2COM> is that shit a plastic? 2013-09-03T10:25:21 < R2COM> or metal.. 2013-09-03T10:25:30 < emeb_mac> or composite? 2013-09-03T10:25:31 < R2COM> carbom 2013-09-03T10:25:34 < R2COM> carbon 2013-09-03T10:25:50 -!- KennyMcCormic [~Kenny@95.139.134.171] has quit [Ping timeout: 240 seconds] 2013-09-03T10:26:31 < R2COM> http://www.e-volo.com/wp/wp-content/gallery/konzeptstudie-vc-evolution-i/1_vcevolution1p_ohne_p.jpg 2013-09-03T10:26:40 < R2COM> nice way of asking for project money, looks *cool* 2013-09-03T10:27:40 < R2COM> now build millions of those and equip german airforce with it, just for lolz 2013-09-03T10:28:33 < emeb_mac> scary 2013-09-03T10:28:42 < R2COM> why 2013-09-03T10:29:01 < emeb_mac> forgot my irony tags 2013-09-03T10:29:22 < dongs> < R2COM> dongs: do you also like such woman like emeb? 2013-09-03T10:29:28 < dongs> sorry i was getting laid, so couldnt be on irc. 2013-09-03T10:29:38 -!- sterna [~Adium@dhcp-184033.eduroam.chalmers.se] has joined ##stm32 2013-09-03T10:30:40 < R2COM> ok so sleep time now 2013-09-03T10:30:51 < R2COM> need to get energy for tomorrow 2013-09-03T10:30:54 < emeb_mac> sleep is for the weak 2013-09-03T10:31:19 < R2COM> I actually can design things while sleeping too 2013-09-03T10:32:13 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2013-09-03T10:35:21 < dongs> http://torontostandard.com/culture/stop-giving-your-money-to-rich-people-on-kickstarter 2013-09-03T10:36:11 -!- izzy84075 [~izzy84075@50.46.19.1] has quit [Ping timeout: 260 seconds] 2013-09-03T10:36:37 -!- DanteA [~X@host-64-157-66-217.spbmts.ru] has quit [Ping timeout: 246 seconds] 2013-09-03T10:37:06 -!- emeb_mac [~ericb@ip72-223-90-58.ph.ph.cox.net] has quit [Quit: emeb_mac] 2013-09-03T10:47:29 -!- DanteA [~X@host-64-157-66-217.spbmts.ru] has joined ##stm32 2013-09-03T10:47:42 -!- sterna [~Adium@dhcp-184033.eduroam.chalmers.se] has quit [Quit: Leaving.] 2013-09-03T10:48:43 -!- Alexer [alexer@alexer.net] has joined ##stm32 2013-09-03T10:48:49 -!- izzy84075 [~izzy84075@50.46.27.49] has joined ##stm32 2013-09-03T10:54:50 -!- KennyMcCormic [~Kenny@95.139.134.171] has joined ##stm32 2013-09-03T11:42:17 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2013-09-03T11:49:31 -!- trepidaciousMBR [~trepidaci@176.62.208.227] has joined ##stm32 2013-09-03T11:56:44 -!- dekar__ [~dekar@212.255.229.199] has quit [Quit: This computer has gone to sleep] 2013-09-03T11:59:18 < Posterdati> hi 2013-09-03T11:59:27 < Posterdati> zyp: hi 2013-09-03T11:59:47 < zyp> hi 2013-09-03T12:00:26 < Posterdati> zyp: I found the problem! During ctors calling I've got blx r3 instruction 2013-09-03T12:00:43 < zyp> no, that's not the problem, that's perfectly valid 2013-09-03T12:00:50 < Posterdati> ok 2013-09-03T12:01:12 < Posterdati> ctors table starts at 0x0800150 2013-09-03T12:01:19 < Posterdati> ctors table starts at 0x08000150 2013-09-03T12:01:24 < zyp> "blx