--- Log opened Sun Jul 01 00:00:32 2012 2012-07-01T00:52:05 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-01T01:02:10 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-01T01:07:13 -!- os-app92 [~ftw@226.200.69.86.rev.sfr.net] has joined ##stm32 2012-07-01T01:09:07 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 264 seconds] 2012-07-01T01:34:05 -!- os-app92 [~ftw@226.200.69.86.rev.sfr.net] has quit [Quit: My Mac has gone to sleep.] 2012-07-01T01:56:21 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-01T02:06:30 -!- zippe1 [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-07-01T02:19:58 < upgrdman> after reseting a gpio channel with "RCC->AHB1RSTR |= RCC_AHB1RSTR_GPIODRST;" is there anything else that needs to be done? 2012-07-01T02:20:21 < upgrdman> after resetting it, i start the gpio channel clock and set stuff but it does not work 2012-07-01T02:20:28 < upgrdman> if i comment out the gpio reset it all works perfect 2012-07-01T02:27:32 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-01T02:28:02 < upgrdman> nm, apparently the reset but does not go away on its own, you have to clear it to exit the reset 2012-07-01T02:28:14 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Remote host closed the connection] 2012-07-01T02:31:11 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-01T02:55:15 -!- SuicideFunky [~randy@vps-212-153-70-8.twenty-five.nl] has quit [Ping timeout: 252 seconds] 2012-07-01T03:07:11 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Remote host closed the connection] 2012-07-01T03:14:17 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-01T03:14:46 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-01T03:15:00 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Client Quit] 2012-07-01T03:18:45 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-01T04:48:51 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-01T05:21:20 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-01T05:27:29 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-01T05:37:17 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-01T05:37:57 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-01T05:38:03 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-01T05:38:30 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [] 2012-07-01T06:26:46 -!- lawrenceseattle_ [~anonymous@66.192.187.106] has joined ##stm32 2012-07-01T06:28:16 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Ping timeout: 252 seconds] 2012-07-01T06:28:16 -!- lawrenceseattle_ is now known as lawrenceseattle 2012-07-01T07:02:55 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-01T07:07:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-01T07:08:46 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-01T07:29:45 < cjbaird> "Checking to see how big your long longs are..." 2012-07-01T07:30:02 < cjbaird> lol perl 2012-07-01T07:30:26 -!- zlog_ [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-01T07:30:57 < dongs> attn zyp http://www.myfoxdc.com/story/18913409/baby-dead-for-a-day-as-japan-mother-chats-on-net 2012-07-01T07:31:22 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Ping timeout: 246 seconds] 2012-07-01T07:32:54 < R2COM> lol 2012-07-01T07:34:58 -!- zlog_ [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Remote host closed the connection] 2012-07-01T07:35:16 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-01T08:09:51 < R2COM> so if after the target extended localhost:4242 command, i get this: 2012-07-01T08:09:52 < R2COM> (gdb) target extended localhost:4242 2012-07-01T08:09:52 < R2COM> Remote debugging using localhost:4242 2012-07-01T08:09:52 < R2COM> 0x0000006e in ?? () 2012-07-01T08:09:52 < R2COM> (gdb) 2012-07-01T08:10:14 < R2COM> it means programmer identified the chip and connected to it? ready to load? 2012-07-01T08:27:46 < R2COM> i dont get it. i took off both jumpers from stm32f4discovery, did not connect anything to SWD pins. but when i connect, and give load command it says: 2012-07-01T08:27:46 < R2COM> Loading section .isr_vector, size 0x188 lma 0x8000000 2012-07-01T08:27:47 < R2COM> Loading section .text, size 0x228 lma 0x8000188 2012-07-01T08:27:47 < R2COM> Loading section .data, size 0x14 lma 0x80003b0 2012-07-01T08:27:47 < R2COM> Start address 0x8000360, load size 964 2012-07-01T08:27:47 < R2COM> Transfer rate: 7 KB/sec, 321 bytes/write. 2012-07-01T08:27:47 < R2COM> (gdb) 2012-07-01T08:28:01 < R2COM> why it succeeds loading when nothing is connected, and jumpers are off? 2012-07-01T08:41:10 < R2COM> "SB11 must be OFF if you use CN2 pin 5 in your external application" <--- what does that mean? 2012-07-01T08:41:20 < R2COM> SB11 is just a series resistor on back of discovery board 2012-07-01T08:41:43 < R2COM> and well, i do use pin5 because it is a NRST 2012-07-01T08:42:41 < R2COM> and on my custom board, NRST from stm32 is just pulled HIGH 2012-07-01T08:44:24 < R2COM> so, i connected only: VDD_TARGET, SWCLK, GND, SWDIO... and st-util says that device is identified 2012-07-01T08:44:28 < R2COM> and i can program it 2012-07-01T08:44:42 < R2COM> looks like i do not need then NRST and SWO pins for SWD debug/programming 2012-07-01T09:42:58 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2012-07-01T09:47:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-01T10:41:26 -!- lawrenceseattle_ [~anonymous@216.243.49.130] has joined ##stm32 2012-07-01T10:41:36 -!- lawrenceseattle_ [~anonymous@216.243.49.130] has quit [Read error: Connection reset by peer] 2012-07-01T10:41:56 -!- lawrenceseattle_ [~anonymous@216.243.49.130] has joined ##stm32 2012-07-01T10:42:37 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Ping timeout: 240 seconds] 2012-07-01T10:42:37 -!- lawrenceseattle_ is now known as lawrenceseattle 2012-07-01T10:59:34 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-01T11:03:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-01T11:42:34 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-01T12:44:37 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-01T12:45:16 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 246 seconds] 2012-07-01T12:57:47 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-01T13:02:45 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-01T13:12:54 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-01T13:27:02 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-01T13:41:01 < Laurenceb_> http://www.youtube.com/watch?feature=player_embedded&v=nh2Ym7ehb8k 2012-07-01T14:06:25 < dongs> old 2012-07-01T14:06:33 < dongs> http://i.imgur.com/XpZTu.jpg 2012-07-01T14:06:34 < dongs> new 2012-07-01T14:07:51 < Laurenceb_> wazzat 2012-07-01T14:09:23 < dongs> level shifter 2012-07-01T14:09:30 < dongs> ttl>fauxrs232 2012-07-01T14:09:38 < Laurenceb_> heh 2012-07-01T14:11:05 < dongs> haha that video says 35k for kit 2012-07-01T14:11:08 < dongs> japsite says 100k 2012-07-01T14:11:13 < dongs> for 35k i'd paypal it 2012-07-01T14:11:16 < dongs> but 100k? snore. 2012-07-01T14:11:25 < dongs> for 100k i can just buy a tesla roadster 2012-07-01T14:11:28 < dongs> and be a fucking faggot. 2012-07-01T14:12:48 -!- cjbaird_ [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-01T14:12:49 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Read error: Connection reset by peer] 2012-07-01T14:13:29 < Laurenceb_> wonder if you could make an electric one 2012-07-01T14:13:41 < Laurenceb_> 80hp is about 60Kw 2012-07-01T14:13:54 < dongs> http://www.hobbyking.com/hobbyking/store/__14426__Turnigy_CA80_80_Brushless_Outrunner_50_80cc_Eq_.html 2012-07-01T14:13:58 < dongs> here you go 2012-07-01T14:14:10 < dongs> 4 of these, problem solved 2012-07-01T14:15:27 < Laurenceb_> that might actually work 2012-07-01T14:15:41 < Laurenceb_> it says 200Kg free lift, more than required 2012-07-01T14:15:43 < dongs> one time only offer of $149.95 2012-07-01T14:15:46 < Laurenceb_> so you could reduce the power 2012-07-01T14:15:48 < Laurenceb_> lmao 2012-07-01T14:15:55 < Laurenceb_> i wouldnt trust the bearings 2012-07-01T14:16:15 < dongs> 200kg free lift of what, that turnigy motor? 2012-07-01T14:16:40 < Laurenceb_> the jap thingy 2012-07-01T14:16:43 < dongs> o 2012-07-01T14:16:50 < Laurenceb_> on 80hp petrol 2012-07-01T14:17:05 < Laurenceb_> which is 6 of those motors 2012-07-01T14:18:38 < Laurenceb_> youd need 3Kg/lipo per minute of flight time tho 2012-07-01T14:19:51 < dongs> so it'd have to be a hexa? 2012-07-01T14:20:10 < dongs> i wonder what AWG is that wire 2012-07-01T14:21:19 < Laurenceb_> i think quad would work 2012-07-01T14:21:24 < Laurenceb_> for short flights 2012-07-01T14:21:28 < Laurenceb_> Test CA 80-80 ESC Monster 2000 12S 5000mAh Zippy 25x12x3Blade Beech wood FialaPropellers Thrust 18,5kg max 115A, 40.6V 2012-07-01T14:21:53 < Laurenceb_> i think itd work better with a larger prop 2012-07-01T14:22:02 < Laurenceb_> also you can increase the voltage a bit 2012-07-01T14:22:27 < Laurenceb_> thats 74Kg thrust 2012-07-01T14:22:39 < Laurenceb_> enough to lift a lightish person 2012-07-01T14:23:15 < Laurenceb_> might just be doable with 4 and the right setup 2012-07-01T14:24:11 < cjbaird_> Aerial Segway :P 2012-07-01T14:42:23 < BrainDamage> fagway 2012-07-01T14:44:37 < cjbaird_> And we know just the person here to build one! 2012-07-01T15:22:53 < dongs> zyp? 2012-07-01T15:26:03 -!- peabody124 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has joined ##stm32 2012-07-01T15:39:10 -!- peabody128 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has joined ##stm32 2012-07-01T15:39:11 -!- peabody124 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has quit [Read error: Connection reset by peer] 2012-07-01T15:39:11 -!- peabody128 is now known as peabody124 2012-07-01T15:44:06 -!- peabody128 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has joined ##stm32 2012-07-01T15:46:34 -!- peabody124 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has quit [Ping timeout: 246 seconds] 2012-07-01T15:46:36 -!- peabody128 is now known as peabody124 2012-07-01T16:36:34 < zyp> dongs, hello? 2012-07-01T16:36:42 < dongs> < cjbaird_> And we know just the person here to build one! 2012-07-01T16:36:45 < dongs> was replying to that guy. 2012-07-01T16:36:57 < zyp> oh 2012-07-01T16:36:58 < dongs> zyp, I got my shit sending frsky telemetry 2012-07-01T16:37:08 < dongs> baro + acc values + uptime 2012-07-01T16:37:12 < zyp> how flexible is that 2012-07-01T16:37:13 < dongs> shows nicely on frsky lcd. 2012-07-01T16:37:14 < zyp> ? 2012-07-01T16:37:26 < dongs> its 9600 baud w/1200baud actual guaranteed rate 2012-07-01T16:37:37 < dongs> you can send wahtever, but if youw ant to display something on lcd there's some specific packets 2012-07-01T16:37:44 < zyp> ah 2012-07-01T16:37:57 < zyp> iteresting 2012-07-01T16:38:00 < dongs> i .e. you can just read shit out of TX module uart if you wanna send your own data 2012-07-01T16:38:10 < dongs> but im framing it in same format frsky telemetry hub uses 2012-07-01T16:48:39 < TheSeven> what could this mean? 2012-07-01T16:48:40 < TheSeven> (gdb) load build_stm32f4discovery_ram_debug/ufmcpnode.elf 2012-07-01T16:48:40 < TheSeven> Loading section .data, size 0x224 lma 0x10000000 2012-07-01T16:48:40 < TheSeven> Load failed 2012-07-01T16:48:51 < TheSeven> (tools built by TNT) 2012-07-01T16:50:20 < zyp> loading failed, for some reason 2012-07-01T16:50:44 < BrainDamage> check stlink's output instead 2012-07-01T16:50:50 < BrainDamage> it'll be probably way more useful 2012-07-01T16:51:00 < zyp> I'm betting on texane/stlink not having proper support for the CCM 2012-07-01T16:51:11 < zyp> but yeah, check stlink output 2012-07-01T16:51:46 < TheSeven> http://pastie.org/4182099 2012-07-01T16:52:22 < zyp> huh? 2012-07-01T16:52:36 < zyp> that's surely not complete 2012-07-01T16:53:10 < TheSeven> it should be 2012-07-01T16:54:34 < zyp> with 90 lines? no way 2012-07-01T16:54:52 < zyp> gdb connects at line 88, it haven't even started doing anything interesting at line 90 2012-07-01T16:55:41 < TheSeven> another try: 2012-07-01T16:55:43 < TheSeven> http://pastie.org/4182115 2012-07-01T16:55:58 < TheSeven> the load command doesn't cause any stlink output 2012-07-01T16:56:19 < TheSeven> "rw2 = 0x00000000" is printed when GDB connects 2012-07-01T16:56:27 < TheSeven> "cannot send: -2" when GDB terminates 2012-07-01T16:56:53 < zyp> you're not using target extended-remote 2012-07-01T16:57:12 < TheSeven> hm, what would be the correct way to do this? 2012-07-01T16:57:24 < zyp> extended-remote instead of remote 2012-07-01T16:57:37 < TheSeven> hm. let me check 2012-07-01T16:57:42 < TheSeven> I'm used to doing this on windows :P 2012-07-01T16:57:44 < zyp> and I usually set filename with file, then load without any parameters 2012-07-01T16:58:27 < TheSeven> exact same behavior with extended-remote 2012-07-01T16:59:12 < TheSeven> and also with file/load 2012-07-01T16:59:28 < zyp> latest texane version? 2012-07-01T16:59:41 < TheSeven> as of a couple of weeks ago when I tried this first 2012-07-01T17:00:36 < zyp> tried replugging the board? 2012-07-01T17:03:17 < TheSeven> hah, updating stlink indeed seems to have fixed it :) 2012-07-01T17:06:00 < zyp> hmm, not sure there have been any relevant fixes lately 2012-07-01T17:13:30 < TheSeven> well, the whole output of st-link looks completely different now 2012-07-01T17:17:25 < zyp> yeah, I thought something were off about your paste 2012-07-01T17:19:29 < TheSeven> damn, this has been driving me mad for weeks, blaming it on all kinds of stuff, just not on an old stlink version 2012-07-01T17:20:49 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: Connection reset by peer] 2012-07-01T17:21:14 -!- Thorn [~Thorn@78-106-247-110.broadband.corbina.ru] has joined ##stm32 2012-07-01T17:21:14 -!- Thorn [~Thorn@78-106-247-110.broadband.corbina.ru] has quit [Changing host] 2012-07-01T17:21:14 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-01T17:27:10 < TheSeven> it still doesn't quite work though 2012-07-01T17:27:18 < TheSeven> uploading works, but nothing appears on the LCD 2012-07-01T17:30:31 < zyp> how does the example even work? 2012-07-01T17:40:17 < TheSeven> zyp: which example are you referring to? 2012-07-01T17:49:27 < dongs> http://i.imgur.com/KGS0D.png this is gonna be the most complex pcb i ever submitted 2012-07-01T17:50:06 < BrainDamage> arduino shield 2012-07-01T17:50:35 < BrainDamage> dongs: http://www.goodluckbuy.com/arduino-voltage-divider-voltage-sensor-module-robotbase-.html 2012-07-01T17:50:47 < dongs> saw that. 2012-07-01T17:50:49 < dongs> old news. 2012-07-01T18:23:49 < zyp> TheSeven, the code you are trying to run 2012-07-01T18:25:15 < TheSeven> zyp: it worked with yagarto and the stlink gdb server for windows 2012-07-01T18:31:41 -!- tavish [~tavish@120.59.5.66] has joined ##stm32 2012-07-01T18:31:42 -!- tavish [~tavish@120.59.5.66] has quit [Changing host] 2012-07-01T18:31:42 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-01T18:32:27 < zyp> yes, but how is it supposed to run? 2012-07-01T18:32:45 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-01T18:32:46 < zyp> I can see that it's using CCM, that's not very common 2012-07-01T18:33:18 < TitanMKD> hi 2012-07-01T18:34:53 < zyp> so I suspect that you might have uncovered some CCM related issues in texane/stlink 2012-07-01T19:22:47 < TheSeven> recv: M20000000,4:1000125c 2012-07-01T19:22:47 < TheSeven> send: OK 2012-07-01T19:22:47 < TheSeven> recv: m20000000,4 2012-07-01T19:22:47 < TheSeven> send: a2c6ca00 2012-07-01T19:25:45 < TheSeven> hm, a power cycle helped with that 2012-07-01T19:34:17 -!- peabody128 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has joined ##stm32 2012-07-01T19:34:17 -!- peabody124 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has quit [Read error: Connection reset by peer] 2012-07-01T19:34:17 -!- peabody128 is now known as peabody124 2012-07-01T19:41:17 < TheSeven> weird shit going on... http://pastie.org/4182769 2012-07-01T19:57:31 < TheSeven> seems like lots of clock gates are off for some reason 2012-07-01T20:10:21 < TheSeven> gotcha! 2012-07-01T20:10:21 < TheSeven> http://pastie.org/4182907 2012-07-01T20:11:01 < TheSeven> something apparently corrupts some control registers while uploading the program to sram 2012-07-01T20:38:35 < zippe> FWIW, NuttX uses both SRAM and CCM for the heap, no real issues. 2012-07-01T20:43:27 < zippe> TheSeven: Interesting catch. Timer11 is turned off by the looks of it; not sure what the bit in SYSCFG is 2012-07-01T20:45:00 < TheSeven> it seems like basically everything gets turned off during program upload 2012-07-01T20:45:05 < TheSeven> including CCM 2012-07-01T20:45:22 < TheSeven> or rather random garbage getting written to these regsters 2012-07-01T20:45:45 < zippe> Is it possible that the upload implementation is resetting the chip? 2012-07-01T20:46:42 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-01T21:06:18 < szczys> I'm building cross-compiling toolchain (GCC) and ran into some compiler errors which I got past by using configuration flags: "--with-system-zlib --disable-shared" 2012-07-01T21:06:42 < szczys> does anyone know if those options will have an adverse affect on what is compiled with the resulting toolchain? 2012-07-01T21:11:49 < cjbaird_> Shouldn't. 2012-07-01T21:13:38 < TheSeven> zippe: i doubt that, because those registers aren't always zeroed 2012-07-01T21:13:48 < TheSeven> i've also seen them just contain junk after the upload 2012-07-01T21:21:34 < zippe> TheSeven: Just those two registers, or others? 2012-07-01T21:22:33 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-01T21:32:59 -!- Guest28700 is now known as sifi 2012-07-01T21:33:06 -!- sifi [~silas@69.85.89.117] has quit [Changing host] 2012-07-01T21:33:06 -!- sifi [~silas@osuosc/sifi] has joined ##stm32 2012-07-01T21:35:55 -!- cjbaird_ [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-01T21:43:50 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 265 seconds] 2012-07-01T21:47:08 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201294.dsl.bell.ca] has joined ##stm32 2012-07-01T21:47:08 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201294.dsl.bell.ca] has quit [Changing host] 2012-07-01T21:47:08 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-01T21:52:01 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 250 seconds] 2012-07-01T21:52:19 -!- TeknoJuce [~TeknoJuce@69.158.167.37] has joined ##stm32 2012-07-01T21:52:20 -!- TeknoJuce [~TeknoJuce@69.158.167.37] has quit [Changing host] 2012-07-01T21:52:20 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-01T21:54:29 < szczys> cjbaird: thanks 2012-07-01T22:10:49 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-01T22:14:30 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2012-07-01T22:24:15 <+dekar> szczys, try TNT :) 2012-07-01T22:24:33 < szczys> I've looked at it before 2012-07-01T22:25:38 < szczys> it uses development branch of gcc? 2012-07-01T22:27:12 <+dekar> at the moment yeah, you can use the script to build any version of GCC though 2012-07-01T22:29:23 < szczys> oh, I see you're using --disable-shared 2012-07-01T22:29:29 < szczys> so it must not present a problem 2012-07-01T22:30:11 <+dekar> it forces the use of static libs and prevents shared ones 2012-07-01T22:30:36 < szczys> you've got a flag that would cause a problem for me I think: 2012-07-01T22:30:37 < szczys> --with-arch=armv7-m \ 2012-07-01T22:30:50 < szczys> I'm using armv6-m 2012-07-01T22:30:54 < szczys> when I compile my projects 2012-07-01T22:31:35 < Thorn> what's your chip? armv6-m is for cortex-m0 2012-07-01T22:31:47 < szczys> yes, m0 2012-07-01T22:32:22 < szczys> but if you don't put in when compiling the toolchain does that leave your options more open? 2012-07-01T22:32:55 <+dekar> szczys, more open like in multilib? 2012-07-01T22:33:20 < szczys> I don't know... I'm quite new to compiling GCC 2012-07-01T22:33:29 <+dekar> szczys, feel free to enable multilib to TNT and share the changes with me, several people have requested that 2012-07-01T22:34:08 <+dekar> szczys, multilib means compiling the standard libraries (including newlib for example) für several architectures 2012-07-01T22:34:13 < szczys> I don't think I'm qualified to do that kind of work... I'm going off of this guide: http://www.kunen.org/uC/gnu_tool.html 2012-07-01T22:34:22 < szczys> but using the newest releases of each package 2012-07-01T22:34:38 < szczys> yes, that's one of the flags this person used 2012-07-01T22:34:48 <+dekar> szczys, TNT has the latest of everything, and I optimized the hell out of it 2012-07-01T22:35:04 < szczys> nice 2012-07-01T22:35:05 <+dekar> *for several 2012-07-01T22:37:57 <+dekar> szczys, http://pastebin.com/uJUe7rbX 2012-07-01T22:38:20 <+dekar> some size comparison I made a while ago 2012-07-01T22:39:39 <+dekar> szczys, I think SAT has multilib, so you can look at their build script and port it to TNT 2012-07-01T22:40:00 <+dekar> SAT aka Summon ARM Toolchain 2012-07-01T22:45:54 <+dekar> szczys, for that size benchmark I had LTO enabled for YAG and TNT, codesourcery and SAT didn't support it 2012-07-01T22:46:01 < Laurenceb_> http://www.st.com/internet/mcu/class/1734.jsp 2012-07-01T22:46:03 < Laurenceb_> oh yeah 2012-07-01T22:47:42 < Laurenceb_> This series innovates in embedded DSC design by combining a Cortex-M4 core with fast 12-bit 5 MSPS and precise 16-bit sigma-delta ADCs, programmable gain amplifiers (4 gains, 1% accuracy), fast 50 ns comparators and versatile time control units running at 144 MHz, giving optimum integration. 2012-07-01T22:47:46 <+dekar> so many butterflies :) 2012-07-01T22:48:08 < Laurenceb_> apparently F5 will be a 250mhz F4 2012-07-01T22:48:12 < Laurenceb_> according to chinese forums 2012-07-01T22:48:41 < Thorn> what's the use for PGAs in signal acquisition btw? 2012-07-01T22:49:03 < Laurenceb_> interface directly with sensors 2012-07-01T22:49:10 < Laurenceb_> no instrumentation amplifiers needed 2012-07-01T22:49:26 < Laurenceb_> e.g. cheap pressure sensors 2012-07-01T22:50:49 < Thorn> 1% accuracy doesn't sould too great 2012-07-01T22:51:22 < Thorn> especially for a 16-bit adc 2012-07-01T22:56:37 < Laurenceb_> thats gain aiui 2012-07-01T22:56:42 < Laurenceb_> pretty typical accuracy 2012-07-01T22:58:17 < Laurenceb_> oh nice 2012-07-01T22:58:25 < Laurenceb_> loads of flash in pqfp48 as well 2012-07-01T22:58:29 < Laurenceb_> *l 2012-07-01T23:05:49 < TheSeven> zippe: not sure, i just checked those two - and repairing those after the upload seems to be sufficient to make it execute my code 2012-07-01T23:08:27 < szczys> dekar, looks like I will be trying out TNT 2012-07-01T23:08:33 < szczys> I got the toolchain to compile 2012-07-01T23:08:47 < szczys> and it will compile my simple test program, 2012-07-01T23:08:56 < szczys> but that test program is %20 large and doesn't run 2012-07-01T23:09:03 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Read error: Operation timed out] 2012-07-01T23:09:03 < szczys> grrrr. 2012-07-01T23:14:20 < zippe> If you're going to grab a multilib config, get one from the ARM bare-metal toolchain 2012-07-01T23:14:28 < zippe> The multilib config I did for SAT is not the best 2012-07-01T23:14:57 < zippe> F3 flash only to 256kb, fail 2012-07-01T23:15:13 < zippe> Yay for analog people not getting the 45nm memo 2012-07-01T23:17:52 < Laurenceb_> yeah but in lqfp48 2012-07-01T23:17:55 < Laurenceb_> which is nice 2012-07-01T23:18:19 < Laurenceb_> but adc is boring and slow 2012-07-01T23:19:04 < TitanMKD> Laurenceb have you information on F5 DAC too ? 2012-07-01T23:19:18 < Laurenceb_> no 2012-07-01T23:22:56 < Laurenceb_> 3lsb noise at 50Ksps with 8x gain is better than freescale tho 2012-07-01T23:23:55 < Laurenceb_> but its almost useless for my applications 2012-07-01T23:24:23 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-01T23:25:36 < Laurenceb_> id get the same results oversampling F1 adc 2012-07-01T23:29:04 < Laurenceb_> you can do some silly things like interface directly with thermocouples 2012-07-01T23:29:14 <+dekar> szczys, try LTO and you'll be amazed by the size improvement :) 2012-07-01T23:29:28 < szczys> LTO? 2012-07-01T23:29:36 <+dekar> link time optimization 2012-07-01T23:30:31 < Thorn> how do I get TNT for windows? 2012-07-01T23:30:53 <+dekar> Thorn, I don't think anyone has tried that before, try cygwin I guess 2012-07-01T23:31:06 <+dekar> or maybe MinGW 2012-07-01T23:31:07 < Thorn> I see 2012-07-01T23:32:05 <+dekar> tell me how you did it once you got it working :) 2012-07-01T23:33:11 < Thorn> I did try installing cygwin and compiling some toolchain a few months ago, didn't work 2012-07-01T23:33:19 < Thorn> can't remember details though 2012-07-01T23:35:38 <+dekar> szczys, basically you pass "-flto -fuse-linker-plugin" as CFLAGS and "-Os -flto -flto-partition=none -fuse-linker-plugin -fwhole-program" as LDFLAGS 2012-07-01T23:35:56 <+dekar> linking will then become quite a bit slower 2012-07-01T23:36:25 <+dekar> but people here reported the binary shrinking 30% 2012-07-01T23:36:29 < szczys> dekar, can I compile using TNT on my desktop, and move the resulting binaries to my netbook? 2012-07-01T23:36:39 < szczys> (that slow processor takes forever to compile) 2012-07-01T23:36:50 <+dekar> szczys, if the architecture is the same that should work 2012-07-01T23:37:17 < szczys> umm.... yeah, i386 build of Linux on both 2012-07-01T23:37:57 <+dekar> szczys, which version of GCC did you use then? 2012-07-01T23:38:06 < szczys> 4.7.1 2012-07-01T23:38:18 <+dekar> I still recommend the Linaro 4.7 one 2012-07-01T23:38:23 <+dekar> worked really well for me 2012-07-01T23:44:43 < TitanMKD> dekar me to i use it on both LPC4330 & STM32F4 2012-07-01T23:44:57 < TitanMKD> result are very good with -O2 2012-07-01T23:47:38 <+dekar> what I do like about the GCC 4.8 snapshot the latest TNT uses, is the way they output errors. it looks really nice, reminds me of clang :) 2012-07-01T23:48:09 < Thorn> where's clang for cortex-m 2012-07-01T23:49:07 < Laurenceb_> i like the regression warning 2012-07-01T23:49:09 < Laurenceb_> NOT 2012-07-01T23:52:01 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-01T23:55:56 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 --- Day changed Mon Jul 02 2012 2012-07-02T00:02:08 < Laurenceb_> italy got annihilated, which is what they deserve for giving us arduino 2012-07-02T00:25:08 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Ping timeout: 245 seconds] 2012-07-02T00:26:24 < R2COM> are people using Atollic free tool to run gdb debugger if they want develop stm32 under windows? 2012-07-02T00:27:03 < R2COM> I'm just looking at one manual page now, which tells how to set up free tools under windows, it says to download atollic for gdb, but does not tell anything about its integration to your tools 2012-07-02T00:27:36 < zippe> dekar: clang has scared the gcc folks, I think 2012-07-02T00:27:44 < upgrdman> whats clang 2012-07-02T00:28:21 < zippe> upgrdman: the C frontend for llvm 2012-07-02T00:34:35 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-02T00:40:15 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-02T00:42:37 < Laurenceb_> wheres the F3 reference manual ?! 2012-07-02T00:42:38 < Laurenceb_> :( 2012-07-02T00:43:16 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Ping timeout: 248 seconds] 2012-07-02T00:43:54 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [Client Quit] 2012-07-02T00:45:14 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-02T00:48:58 < Laurenceb_> Reference manuals (0) 2012-07-02T00:51:40 < szczys> dekar, I'm getting all kinds of errors when the script tries to compile newlib 2012-07-02T00:53:07 < R2COM> I'm trying to find information about atollic free software, so do the companies usually prohibit usage of their free (limited) version of software for financial purposes? 2012-07-02T00:54:45 < R2COM> to me it looks they only would want me to tell that i used their stuff 2012-07-02T00:55:31 < szczys> dekar: http://pastebin.com/GyVXXTnr 2012-07-02T00:55:46 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [] 2012-07-02T01:02:35 < zippe> R2COM: different companies have different purposes 2012-07-02T01:02:49 < zippe> R2COM: When you install the Atollic "free stuff" it should give you a license document to read 2012-07-02T01:02:58 < R2COM> i did read 2012-07-02T01:03:07 < zippe> So you know more than we do 2012-07-02T01:03:07 < R2COM> it just didnt talk about it explicitly 2012-07-02T01:03:39 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-02T01:04:43 < zippe> Also, -fomit-frame-pointer makes debugging almost impossible 2012-07-02T01:05:51 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-02T01:06:51 < R2COM> also, it seems that if someone wants to have a graphical GDB environment for debug, he needs a gdb server + Eclipse right? 2012-07-02T01:07:27 <+dekar> szczys, "../../../../../../newlib-1.20.0/newlib/libc/argz/argz_add.c:18:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI" 2012-07-02T01:07:58 <+dekar> sounds like newlib doesn't support thumb1 (at least for your float settings) 2012-07-02T01:08:20 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Client Quit] 2012-07-02T01:08:21 < szczys> okay... I was running the script and just changed the arch to armv6-m 2012-07-02T01:08:28 < szczys> thanks for looking 2012-07-02T01:08:31 <+dekar> I never cared about thumb1, that's related to your changes 2012-07-02T01:14:11 < zippe> szczys: did you ignore me and take the multilib config from SAT? 2012-07-02T01:14:22 < zippe> Because I made that to support v4 as well 2012-07-02T01:14:33 < zippe> szczys: oh, v6m 2012-07-02T01:14:44 < zippe> szczys: yeah, another way that TNT will screw you. 2012-07-02T01:15:02 < zippe> szczys: You might try dropping the 4.8 snapshot into the ARM build harness 2012-07-02T01:15:48 <+dekar> zippe, he's using some 4.7.1 GCC 2012-07-02T01:15:59 < zippe> Same applies. 2012-07-02T01:27:59 <+dekar> szczys, try adding "-msoft-float" 2012-07-02T01:30:19 -!- peabody128 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has joined ##stm32 2012-07-02T01:31:38 -!- peabody124 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has quit [Ping timeout: 244 seconds] 2012-07-02T01:32:13 -!- peabody128 is now known as peabody124 2012-07-02T01:58:07 < zippe> dekar: largely defeats the purpose of using the F4 2012-07-02T02:02:55 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-02T02:13:07 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-02T02:22:04 <+dekar> zippe, he is using the F0 2012-07-02T02:22:07 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Ping timeout: 240 seconds] 2012-07-02T02:37:03 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-02T03:16:09 < dongs> status 2012-07-02T04:20:08 < upgrdman> sup dongs 2012-07-02T04:31:45 < dongs> sup dongs indeed 2012-07-02T04:36:03 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-02T04:39:11 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 244 seconds] 2012-07-02T04:39:25 -!- Netsplit *.net <-> *.split quits: @ChanServ 2012-07-02T04:57:02 < R2COM> is anyone using fatfs for stm32 *without* using stdperiph library? 2012-07-02T05:08:39 < zippe> For or on? 2012-07-02T05:08:52 < zippe> If you mean "on", then yes; we're using the NuttX FAT filesystem 2012-07-02T05:10:18 < dongs> I tihnk he means fatfs as in the shit from elm-chan. 2012-07-02T05:10:35 < dongs> im sure their samples use stdperiph. 2012-07-02T05:11:13 < dongs> i dont see the religious aversion to stdperiphlib. it works. wasting time rewriting shit from scratch sure doesnt seem to make sense to me. will the shit you write be better? probably. how long will you spend on it until it works? right. 2012-07-02T05:11:21 < R2COM> on or for what difference does it make 2012-07-02T05:11:29 < R2COM> well 2012-07-02T05:11:43 < R2COM> fatfs tightly used with stdperiph 2012-07-02T05:11:59 < dongs> not THAT tightly. i'd suspect its about 5minutes job to clean it up. 2012-07-02T05:12:00 < R2COM> i was wondering is there easy-to-port library which does not call stdperiph 2012-07-02T05:12:11 < R2COM> 5 minutes? 2012-07-02T05:12:17 < R2COM> no. 2012-07-02T05:12:56 < dongs> waht is tehre so heavily tied with stdperiph? 2012-07-02T05:12:58 < R2COM> nuttx... but for that you have to run the whole RTOS right.. 2012-07-02T05:13:07 < R2COM> all the lower api functions 2012-07-02T05:13:29 < dongs> ?? which ones 2012-07-02T05:13:36 < dongs> it needs readblock() and writeblock() 2012-07-02T05:13:48 < dongs> surely you are capable of implementing that using wahtever abstraction abortion you're currently using 2012-07-02T05:14:16 < dongs> are you talking about sdio driver/ 2012-07-02T05:14:18 < R2COM> another thing i was thinking for starting point is just to write data in bulk, for now.. 2012-07-02T05:14:34 < R2COM> well yes, the part of code which talks to sdio driver or spi 2012-07-02T05:14:53 < dongs> i dont see anything majorly complicated there. 2012-07-02T05:14:58 < dongs> most shit it uses are its own structs. 2012-07-02T05:16:22 < R2COM> i also found this: http://ultra-embedded.com/?fat_filelib 2012-07-02T05:16:30 -!- szczys [~mike@68-117-130-137.dhcp.mdsn.wi.charter.com] has quit [Quit: Leaving] 2012-07-02T05:16:32 < R2COM> fat16/32 2012-07-02T05:18:08 < R2COM> so chans stuff is only fat16, not fat32? 2012-07-02T05:18:17 < dongs> of course it does fat32. 2012-07-02T05:18:28 < R2COM> hm ok 2012-07-02T05:18:36 < R2COM> so yea, here is just the thing which i found too 2012-07-02T05:18:45 < R2COM> so i have two options, but both require some rework 2012-07-02T05:19:01 < R2COM> another option is just write data in raw 2012-07-02T05:19:23 < R2COM> i hooked up my sd card to sdio compatible ports of stm32 2012-07-02T05:20:37 -!- peabody124 [~peabody12@stgt-5f71a063.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 2012-07-02T05:21:02 -!- peabody124 [~peabody12@stgt-5f71ba53.pool.mediaWays.net] has joined ##stm32 2012-07-02T05:24:40 < dongs> yes sdio is good 2012-07-02T05:25:39 < dongs> you rollin your own periphlib? 2012-07-02T05:25:43 < dongs> or jerking around with cm3 2012-07-02T05:25:46 < R2COM> what you mean? 2012-07-02T05:25:54 < dongs> i mean 2012-07-02T05:25:55 < R2COM> cm3 2012-07-02T05:25:57 < dongs> o ok 2012-07-02T05:26:00 < dongs> they dont have sdio working yet? 2012-07-02T05:26:13 < R2COM> who they? no. 2012-07-02T05:26:17 < R2COM> no sorry 2012-07-02T05:26:19 < R2COM> not cm3 2012-07-02T05:26:19 < dongs> they = libopencm3 2012-07-02T05:26:22 < R2COM> nope 2012-07-02T05:26:28 < R2COM> i dont use it, i use just CMSIS 2012-07-02T05:26:29 < R2COM> thats it 2012-07-02T05:26:31 < dongs> sigh 2012-07-02T05:26:33 < dongs> your own faul. 2012-07-02T05:26:54 < R2COM> its ok i already get: spi working, PWM peripherals working, GPIO... things are moving on 2012-07-02T05:27:06 < R2COM> just need to figure out sd card shit 2012-07-02T05:27:29 < R2COM> and...well thats it, next bigger thing might be USB... but no hard need for it now 2012-07-02T05:30:05 < R2COM> i checked now, cm3 plans to do sdio, but nothing done yet 2012-07-02T05:32:47 < dongs> i didnt really like cm3 renaming fucking EVERYTHING 2012-07-02T05:32:52 < dongs> including vector names 2012-07-02T05:32:53 < dongs> what hte fuck 2012-07-02T05:33:13 < R2COM> i wonder how effective or not would be just to bulk read raw data using bare sdio functions? 2012-07-02T05:33:20 < R2COM> or bare sdio registers inside stm32 2012-07-02T05:33:28 < dongs> sure, nothing is stopping you. 2012-07-02T05:33:32 < dongs> but if you can do bulk read 2012-07-02T05:33:37 < dongs> you're 5 minutes away from just using fatfs 2012-07-02T05:33:43 < dongs> since all it needs is readblock/writeblock... 2012-07-02T05:37:07 < dongs> The Adobe Flash Player or an HTML5 supported browser is required for video playback. 2012-07-02T05:37:10 < dongs> Get the latest Flash Player 2012-07-02T05:37:12 < dongs> Learn more about upgrading to an HTML5 browser 2012-07-02T05:41:14 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Ping timeout: 252 seconds] 2012-07-02T05:42:37 < R2COM> hmm i wonder how much time it would take to redo the whole fat system 2012-07-02T05:42:50 < R2COM> i guess quite some.. to get it done right. 2012-07-02T05:43:21 < dongs> that is just ridiculous. 2012-07-02T05:46:49 < R2COM> dongs: you use DMA to read sdcard? 2012-07-02T05:49:13 < dongs> yes 2012-07-02T05:49:21 < dongs> i pasted pic few daytts ago 2012-07-02T05:49:23 < dongs> something like 20meg/sec 2012-07-02T05:49:26 < dongs> read 2012-07-02T05:49:29 < dongs> w/sdio 4bit and dma 2012-07-02T05:49:38 < R2COM> read from sd to where? 2012-07-02T05:50:20 < dongs> ram? 2012-07-02T05:50:28 < R2COM> k 2012-07-02T06:00:53 -!- ChanServ [ChanServ@services.] has joined ##stm32 2012-07-02T06:00:53 -!- ServerMode/##stm32 [+o ChanServ] by lindbohm.freenode.net 2012-07-02T06:02:39 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-02T06:05:27 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120615050910]] 2012-07-02T06:05:58 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-02T06:08:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2012-07-02T06:23:57 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-02T07:25:04 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-07-02T07:53:03 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-02T08:32:09 < R2COM> suddenly stm32f405rgt6 disappeared from stock for many suppliers. weird. 2012-07-02T08:33:56 < dongs> is that 64pin version? 2012-07-02T08:34:15 < dongs> ya it is 2012-07-02T08:43:07 < R2COM> pleased for what? 2012-07-02T09:16:02 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-02T09:36:47 < dongs> > I used to contribute to openocd, but got tired of programming on my hands and knees. (Rewrote major portions of it in Groovy, Java and C++.) 2012-07-02T09:36:50 < dongs> lolll 2012-07-02T09:42:16 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-02T09:52:19 -!- dekar_ [~dekar@212.255.47.188] has joined ##stm32 2012-07-02T09:52:20 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-07-02T09:55:23 -!- dekar [~dekar@212.255.21.238] has quit [Ping timeout: 244 seconds] 2012-07-02T10:02:48 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-02T10:09:51 -!- peabody124 [~peabody12@stgt-5f71ba53.pool.mediaWays.net] has quit [Quit: peabody124] 2012-07-02T10:19:40 -!- peabody124 [~peabody12@stgt-5f71ba53.pool.mediaWays.net] has joined ##stm32 2012-07-02T10:23:13 < dongs> status 2012-07-02T10:28:25 < cjbaird> gentooin 2012-07-02T10:32:53 < dongs> http://www.b3tards.com/u/888fd2ceafeed217d657/flying_helicopter_cat_orville_death_star_b3ta_herman.gif 2012-07-02T10:32:57 < dongs> attn lawrenceseattle 2012-07-02T10:32:57 < dongs> attn Laurenceb 2012-07-02T10:33:00 < dongs> err 2012-07-02T10:33:29 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-07-02T10:36:46 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-02T10:46:01 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-02T11:24:29 -!- lawrenceseattle_ [~anonymous@66.192.187.106] has joined ##stm32 2012-07-02T11:26:19 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Ping timeout: 244 seconds] 2012-07-02T11:26:19 -!- lawrenceseattle_ is now known as lawrenceseattle 2012-07-02T12:02:48 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-02T12:05:20 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-02T12:12:08 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-02T12:18:34 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-02T12:18:55 -!- peabody124 [~peabody12@stgt-5f71ba53.pool.mediaWays.net] has quit [Read error: Connection reset by peer] 2012-07-02T12:19:08 -!- peabody124 [~peabody12@stgt-5f71ba53.pool.mediaWays.net] has joined ##stm32 2012-07-02T12:25:21 -!- peabody124 [~peabody12@stgt-5f71ba53.pool.mediaWays.net] has quit [Quit: peabody124] 2012-07-02T12:28:15 -!- peabody124 [~peabody12@stgt-5f71ba53.pool.mediaWays.net] has joined ##stm32 2012-07-02T12:29:31 -!- peabody124 [~peabody12@stgt-5f71ba53.pool.mediaWays.net] has quit [Client Quit] 2012-07-02T12:37:18 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 264 seconds] 2012-07-02T12:55:15 -!- Netsplit *.net <-> *.split quits: upgrdman, Rickta59 2012-07-02T12:56:42 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-02T12:56:42 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-07-02T13:11:30 < dongs> attn zyp, free shipping http://kakaku.com/item/K0000328918/ 2012-07-02T13:13:53 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-02T13:15:08 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has quit [Ping timeout: 245 seconds] 2012-07-02T13:15:15 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has joined ##stm32 2012-07-02T13:15:18 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-02T13:15:24 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-02T13:18:38 < cjbaird> Hmm, a TNT-build toolchain (or libopencm3) has busted USART code by the looks of it. Noticed before? 2012-07-02T13:39:48 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-02T13:50:51 <+dekar_> cjbaird, did you mean SAT? 2012-07-02T13:51:32 <+dekar_> I don't see how a compiler and C library is involved in USART 2012-07-02T13:57:42 < cjbaird> When this project I'm working on is built with SAT, and a SAT-built libopencm3, it (serial) works. Using a TNT and TNT-built opencm3, it doesn't. At least here. 2012-07-02T13:58:02 < cjbaird> \o/ yay~ compiler bugs 2012-07-02T13:59:22 <+dekar_> cjbaird, well, could be a bug in opencm as well 2012-07-02T13:59:31 < cjbaird> Or possibly something in opencm3 assumes something about gcc pre-4.8... 2012-07-02T14:00:08 <+dekar_> have you tribe building without LTO and maybe using -O0? 2012-07-02T14:00:12 <+dekar_> *tried 2012-07-02T14:00:14 < cjbaird> To track it down in opencm3, I'll need to get a clean toolchain built.. 2012-07-02T14:00:31 < cjbaird> d: I'll try that. 2012-07-02T14:05:35 < cjbaird> O0: no diff 2012-07-02T14:06:50 <+dekar_> weird 2012-07-02T14:10:35 <+dekar_> well I can revert TNT back to the linaro 4.7 GCC if you want me to 2012-07-02T14:11:43 < cjbaird> lto/no-lto: no diff 2012-07-02T14:12:01 < cjbaird> Give me a chance to inspect the object code a bit.. 2012-07-02T14:12:23 <+dekar_> sure 2012-07-02T14:16:57 < Laurenceb> hmm F3 simplifies my hardware a lot 2012-07-02T14:17:47 < Laurenceb> in fact it might be able to do everything i need... 2012-07-02T15:07:43 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-02T15:09:00 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 244 seconds] 2012-07-02T15:13:13 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-02T15:16:22 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 246 seconds] 2012-07-02T15:38:52 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-02T15:41:00 < ratatata> nu 2012-07-02T16:18:10 < dongs> hmm 2012-07-02T16:18:13 < dongs> max 10mhz spi on that compass 2012-07-02T16:21:03 < dongs> accel can do 1600hz odr 2012-07-02T16:21:30 < dongs> 100hz for mag 2012-07-02T16:51:51 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 244 seconds] 2012-07-02T16:52:42 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-02T17:48:19 -!- jaeckel [~jaeckel@jaeckel.eu] has quit [Changing host] 2012-07-02T17:48:19 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-07-02T18:01:22 -!- FUZxxl [~fuz@no.spaceleft.net] has quit [Quit: leaving] 2012-07-02T18:07:35 -!- FUZxxl [~fuz@no.spaceleft.net] has joined ##stm32 2012-07-02T18:17:14 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-02T18:34:21 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-02T18:34:41 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [Client Quit] 2012-07-02T18:37:38 < Laurenceb> http://www.youtube.com/watch?v=zYWUKFWo1BU 2012-07-02T18:37:39 < Laurenceb> rofl 2012-07-02T18:39:34 < Laurenceb> http://i.imgur.com/Na2xX.jpg 2012-07-02T18:39:38 < Laurenceb> hmm 2012-07-02T18:41:44 < Laurenceb> theres something... similar there 2012-07-02T18:43:23 < dongs> Laurenceb: your stolen ip? 2012-07-02T18:43:40 < Laurenceb> same enclosure 2012-07-02T18:43:44 < dongs> ncie 2012-07-02T18:43:51 < Laurenceb> Hammond polycarbonate one 2012-07-02T18:47:50 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-02T18:51:15 < dongs> http://bloodywanker.de/lolpix/smartdog.gif 2012-07-02T18:57:40 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-02T19:02:07 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 240 seconds] 2012-07-02T19:04:47 < cjbaird> (serious) article related: http://www.telegraph.co.uk/news/worldnews/australiaandthepacific/8960578/Dingoes-show-unbelievable-intelligence.html 2012-07-02T19:22:08 < Laurenceb> oh shit 2012-07-02T19:22:26 < Laurenceb> dongo apocalypse coming soon 2012-07-02T19:24:10 < Laurenceb> http://www.themagpi.com/ 2012-07-02T19:24:15 < Laurenceb> that looks sooo baad 2012-07-02T19:27:21 < cjbaird> "Let's test if this SLA battery still works.. Hey, I'll just brush this wire across the terminals.." 2012-07-02T19:27:37 < Thorn> I can't help but ask, is all this raspberry pi stuff about electronics, or is it about bad wordplay and jokes? 2012-07-02T19:28:36 < cjbaird> Then need a /real/ magazine name, like "ZZap"... 2012-07-02T19:28:53 < Laurenceb> or regulatorfail 2012-07-02T19:29:17 < Laurenceb> was just looking at the board, theres no thermal grounplane for the smsc ethernet+usb thingy 2012-07-02T19:32:36 < cjbaird> Gee, I wounder why the USB hub/controller is the hottest part on the board.. 2012-07-02T19:33:15 < cjbaird> Intending to get some BGA heatsinks at the next opportunity. 2012-07-02T19:35:57 < cjbaird> dekar_: still getting CrAzY serial output with a Linaro toolchain & opencm3 build... 2012-07-02T19:37:55 < zyp> hmm, the nRF51 series seems interesting 2012-07-02T19:38:01 < zyp> ARM based radio chips 2012-07-02T19:38:25 < karlp> is that from hoperf? 2012-07-02T19:38:36 < karlp> there's stm32w too remember :) 2012-07-02T19:38:43 < zyp> nRF as in Nordic 2012-07-02T19:38:58 < karlp> I can't find out where to buy one of these though: http://dizic.com/product_details.php?id=1 2012-07-02T19:39:02 < karlp> or how much they want... 2012-07-02T19:39:31 < zyp> from what I hear, the documentation for stm32w is not available 2012-07-02T19:39:42 < zyp> which makes it kind of useless 2012-07-02T19:40:46 < zyp> energy micro has also announced the EFR4D series of arm based radio chips 2012-07-02T19:44:56 < karlp> 6mA vs 30mA tx power is pretty big difference 2012-07-02T19:45:13 < karlp> samples aren't til q3 2013 though 2012-07-02T19:45:18 < zyp> yep 2012-07-02T19:54:12 < cjbaird> Meh, that MagPi mag really isn't too bad. Certainly a higher signal/noise than the classic 1980s magazines like 'Your Commodore' (which I thought was a good buy at the time with my sparse monies..) 2012-07-02T19:57:41 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-02T19:57:58 < zyp> the definitions of signal and noise vary from reader to reader :) 2012-07-02T20:02:12 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-02T20:02:16 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-02T20:02:54 < cjbaird> You were a ZZap64 reader? -_- 2012-07-02T20:04:00 < zyp> what? never heard of it 2012-07-02T20:05:05 < cjbaird> Commodore 64 gaming (gayman..) magazine. 80% ads, 20% chav posering. 2012-07-02T20:05:28 <+Steffanx> nu 2012-07-02T20:05:51 < zyp> I'm too young, missed the c64 times :p 2012-07-02T20:06:33 < cjbaird> The Very Cool[tm] Librarian at my high-school actually asked and polled all us Computer Nerds what computer magazines we'd like the school to get... Zzap64 got chosen. :/ 2012-07-02T20:07:28 < cjbaird> ZZap64: "Imagine of Rupert Murdoch (i.e The Sun) did a computer magazine..." 2012-07-02T20:15:32 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Ping timeout: 248 seconds] 2012-07-02T20:17:16 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-02T20:21:00 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-02T20:23:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-02T20:34:29 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-02T20:56:01 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-02T20:56:18 <+dekar_> cjbaird, doesn't SAT use linaro as well? 2012-07-02T20:57:29 < TitanMKD> cjbaird maybe you also know the Pegasos ;) 2012-07-02T21:01:25 < Thorn> are there functional differences between bmp and bmp mini? there seem to be differences in the schematics 2012-07-02T21:02:06 <+Steffanx> Functional, not very likely 2012-07-02T21:03:03 <+Steffanx> Is the schematic really that different Thorn ? 2012-07-02T21:03:10 <+Steffanx> Different connector and .. ? 2012-07-02T21:04:40 < Thorn> bmp connects BOOT0 to the jtag connector for some reason 2012-07-02T21:05:09 < cjbaird> dekar_: something to do with the optimizations that TNT uses on newlib & etc, maybe? 2012-07-02T21:06:22 < Thorn> also some strange SRST/SRST_OUT stuff 2012-07-02T21:11:41 < cjbaird> lol: http://dumpon.us/371.jpg 2012-07-02T21:12:16 <+dekar_> hd44780 :) 2012-07-02T21:12:17 <+Steffanx> A rapeberry( dongs workds ) pi? 2012-07-02T21:12:20 <+Steffanx> - ? 2012-07-02T21:12:25 < Thorn> and the MCUs are pretty different too. not sure why 103R is used in the bmp, 103C could probably be used 2012-07-02T21:13:02 < cjbaird> feel like asking the guy how many solder burns he got doing that.. 2012-07-02T21:14:07 < cjbaird> ha, and there's GPS EXIF info in the pic. retard. 2012-07-02T21:15:21 <+Steffanx> Some people don't care about that 2012-07-02T21:15:25 <+Steffanx> people like zyp 2012-07-02T21:24:39 <+dekar_> what's the problem with GPS EXIF? it's all over the net where I live anyway 2012-07-02T21:28:04 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2012-07-02T21:28:19 < cjbaird> Bad Practice. If you're not conscious about the implications, then that's one less in the communial memory for people to be smart with their personal info. 2012-07-02T21:29:07 < cjbaird> Facebook for example got as bad as it is because there wasn't the 1-in-10 person reminding people not to be fuckwits. 2012-07-02T21:29:15 <+Steffanx> Zo cjbaird is a nickname? 2012-07-02T21:30:27 <+Steffanx> That's a no 2012-07-02T21:30:41 < cjbaird> It's not enough to use a phone book with to get my home address... It's also not a regularlly-used nick, only on freenode (because the one I usually use for IRC was taken..) 2012-07-02T21:31:13 <+Steffanx> Let's give it a try :) 2012-07-02T21:31:53 < cjbaird> Good like finding /my/ dox amoung all the results for the soccer player. :D 2012-07-02T21:33:01 < cjbaird> *Good luck 2012-07-02T21:34:04 <+Steffanx> How often do you move? 2012-07-02T21:35:14 < gsmcmullin> Thorn: There are very few differences. They run the same firmware. 2012-07-02T21:35:24 < cjbaird> In the town where I grew up, there were two other guys with the exact-same first/middle/last name as me.. I 'offered' to sell my Highschool Leaving dipolma to the 14yo cjbaird. :) 2012-07-02T21:36:07 < gsmcmullin> Obviously the form-factor and connectord are different, TXS0108S for level shifting on jtag is gone, power bridge jumper has been replaced with a mosfet. 2012-07-02T21:36:30 < gsmcmullin> Target power comes into an ADC rather than GPIO 2012-07-02T21:37:40 < gsmcmullin> grepping for platform_hwversion in the source will show you behaviour differences. 2012-07-02T21:43:18 < Thorn> is txs0108 for protection or actual level shifting? 2012-07-02T21:45:41 <+Steffanx> At least cjbaird doesn't have 3000 and 1 email addresses 2012-07-02T21:46:20 < gsmcmullin> Thorn: It was for both, actually. But either way, it's gone. 2012-07-02T21:46:53 < Thorn> so BMP mini is the new "canonical" version? BMP is obsolete? 2012-07-02T21:48:21 < gsmcmullin> Thorn: I don't have any more in production. If people specifically want the old design, please let me know. 2012-07-02T21:57:56 < Thorn> okay, thanks much 2012-07-02T22:09:19 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-02T22:13:24 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-02T22:25:15 -!- dekar_ [~dekar@212.255.47.188] has quit [Quit: Leaving] 2012-07-02T23:38:39 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-07-02T23:38:39 -!- dfletcher_ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-07-02T23:38:41 -!- dfletcher_ is now known as drgreenthumb --- Day changed Tue Jul 03 2012 2012-07-03T00:23:22 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has left ##stm32 [] 2012-07-03T00:29:21 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-03T00:31:49 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 246 seconds] 2012-07-03T00:32:45 -!- lawrenceseattle [~anonymous@66.192.187.106] has joined ##stm32 2012-07-03T00:48:41 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-03T01:05:30 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-03T01:14:01 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 244 seconds] 2012-07-03T01:14:49 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-03T01:20:23 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-03T01:34:57 < dongs> usp 2012-07-03T01:36:27 < dongs> < cjbaird> feel like asking the guy how many solder burns he got doing that.. 2012-07-03T01:36:42 < dongs> unfortunately thats "normal people" soldering level. 2012-07-03T02:12:31 < Laurenceb_> what 2012-07-03T02:13:41 < Laurenceb_> what soldering 2012-07-03T02:21:22 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-03T02:25:19 < dongs> lol 2012-07-03T02:25:25 < dongs> some idiot soldered a clcd to shitberry pi 2012-07-03T03:15:16 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Ping timeout: 248 seconds] 2012-07-03T03:21:17 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-03T03:51:42 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-07-03T04:41:17 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-03T04:53:24 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-03T04:53:43 < R2COM> do i need to mess with RTC to work with SD card? through SDIO interface? 2012-07-03T04:58:07 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-03T04:59:21 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-03T05:02:38 < dongs> status 2012-07-03T05:02:42 < dongs> no... 2012-07-03T05:02:49 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Read error: Operation timed out] 2012-07-03T05:04:30 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-03T05:05:35 < R2COM> I'm just looking at that fatfs thing example, he uses RTC 2012-07-03T05:05:49 < R2COM> basically to get time 2012-07-03T05:10:09 < R2COM> dongs: is RTC related shit enabled in your SD projects? 2012-07-03T05:11:53 < dongs> never used it for anything 2012-07-03T05:12:00 < dongs> my sd shit i just timestamp it with rand() 2012-07-03T05:12:19 < dongs> yes fatfs sample uses rtc but you dont ahve to 2012-07-03T05:12:30 < dongs> if you dont provide timestamp function it'll just timestamp with 1970 or someshit 2012-07-03T05:12:39 < dongs> which is fine iwht me 2012-07-03T05:12:55 < R2COM> The get_fattime function must return any valid time even if the system does not support a real time clock. If a zero is returned, the file will not have a valid time. This fucntion is not required in read only configuration." <--- so it looks like i *need* to use it, but if real time is not needed for me i can just code it to return valid dummy time 2012-07-03T05:13:14 < R2COM> ok 2012-07-03T05:13:16 < R2COM> yea 2012-07-03T05:13:20 < drgreenthumb> I've run fatfs without it, works fine. yeah if you don't care about creation/modification dates its all good 2012-07-03T05:13:46 < R2COM> so only 5 functions need some rework then: initialize,status,read,write,ioctl 2012-07-03T05:14:00 < drgreenthumb> heh infact I think you have to actively activate it with RTC_DEFINED 2012-07-03T05:14:15 < dongs> R2COM: right. 2012-07-03T05:14:28 < dongs> as i said.. 2012-07-03T05:14:35 < dongs> once you get block read/write done wiht your own bullshit driver 2012-07-03T05:14:35 < drgreenthumb> isn't there ARM sample in there? I used the AVR one, just needed to fiddle the ports and directions. 2012-07-03T05:14:46 < dongs> drgreenthumb: he wants to be hardcore and write directly to sdio registers 2012-07-03T05:14:49 < dongs> without using stdperiphlib. 2012-07-03T05:14:51 < drgreenthumb> ah :) 2012-07-03T05:14:57 < dongs> a pointless excersize, if you ask me. 2012-07-03T05:14:58 < R2COM> well in fact, i downloaded example of fatfs, which already does it 2012-07-03T05:14:59 < R2COM> but 2012-07-03T05:15:08 < R2COM> i think they use stdperiph 2012-07-03T05:15:15 < R2COM> which shits my things 2012-07-03T05:15:16 < dongs> they do, all sensible people do :p 2012-07-03T05:20:36 < R2COM> hey 2012-07-03T05:20:41 < R2COM> theres also another thing i found 2012-07-03T05:20:48 < R2COM> the fat implementation from NuttX 2012-07-03T05:20:58 < R2COM> will have to look there too just for interest 2012-07-03T05:21:28 < R2COM> i wonder how easy it is to port their stuff, and is their fat implementation is better or at least not worse than fatfs 2012-07-03T05:22:31 < dongs> ... just write read/writeblock, and youre done 2012-07-03T05:22:32 < dongs> wetf 2012-07-03T05:22:35 < dongs> there's nothing to "port" in fatfs code 2012-07-03T05:22:37 < dongs> its all portable 2012-07-03T05:22:55 < dongs> when you link fatfs into your currnet project you should have like 5 undefined functions like you mention above 2012-07-03T05:23:02 < dongs> stub those out, then youre done 2012-07-03T05:27:56 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 252 seconds] 2012-07-03T05:28:38 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-03T05:35:26 -!- Rickta591 [~kimballr@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-03T05:35:29 -!- Rickta591 [~kimballr@rrcs-70-61-73-166.midsouth.biz.rr.com] has left ##stm32 [] 2012-07-03T05:47:37 < R2COM> ok for now i connected it as is 2012-07-03T05:47:40 < R2COM> with stdperiph 2012-07-03T05:47:46 < R2COM> compile and get: ff.c: In function 'sync': 2012-07-03T05:47:46 < R2COM> ff.c:776:4: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] 2012-07-03T05:48:17 < dongs> sounds like gcc failing. 2012-07-03T05:48:29 < R2COM> sounds like some kind of -Werror tweaking 2012-07-03T05:48:31 < R2COM> option 2012-07-03T05:48:35 < R2COM> in makefile 2012-07-03T05:53:45 < zyp> sounds like people don't know the implications of strict aliasing 2012-07-03T05:54:01 < zyp> http://en.wikipedia.org/wiki/Aliasing_(computing)#Conflicts_with_optimization 2012-07-03T05:57:09 < R2COM> so 2012-07-03T05:57:23 < R2COM> well. thats not only problem actually. i get shitload of errors 2012-07-03T05:57:32 < dongs> you fail @ compiling 2012-07-03T05:58:02 < R2COM> sure 2012-07-03T05:58:49 < R2COM> ff_support.c:182:14: error: 'putch' undeclared (first use in this function) 2012-07-03T05:58:58 < R2COM> strange, i just copied all as is 2012-07-03T05:59:32 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-03T05:59:39 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-03T06:00:33 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-03T06:00:45 < R2COM> hmm 2012-07-03T06:00:50 < R2COM> so putch is inside string.h 2012-07-03T06:00:54 < R2COM> and that string.h is included 2012-07-03T06:00:58 < dongs> ... 2012-07-03T06:01:11 < R2COM> what 2012-07-03T06:10:52 < R2COM> ok that one solved 2012-07-03T06:11:18 < R2COM> now I've got some collect2: ld returned 1 exit status 2012-07-03T06:11:30 < R2COM> some library maps wrong... 2012-07-03T06:17:47 < R2COM> basically, gives me multiple definitions of some functions 2012-07-03T06:25:35 < R2COM> ok well now its strange: 2012-07-03T06:26:05 < R2COM> .../rtc_support.c:43: multiple definition of `AsynchPrediv' 2012-07-03T06:26:05 < R2COM> rtc_support.o:/home/prj/projects/arm/stm32f4discovery/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/sdio1/rtc_support.c:43: first defined here 2012-07-03T06:26:05 < R2COM> collect2: ld returned 1 exit status 2012-07-03T06:26:17 < R2COM> i checked its defined just there 2012-07-03T06:26:39 < R2COM> it is only defined in that rtc_support.c file 2012-07-03T06:29:00 < R2COM> i checked the standard stdperiph library, it is also defined in standard stm32f4xx_rtc.h file inside structure... however; that library is insluded in chans fatfs as well... 2012-07-03T06:29:12 < R2COM> so, i am adding things just like that example does 2012-07-03T06:29:39 < zyp> «I'm cutting and pasting code from everywhere, and it's conflicting, what did I do wrong?» 2012-07-03T06:29:58 < R2COM> true too 2012-07-03T06:30:16 < zyp> well, there's your problem 2012-07-03T06:30:20 < R2COM> but that code written for completely different board, and i just removed other peripherals thats it 2012-07-03T06:30:41 < R2COM> but yes, definitely there is some problem otherwise it wouldnt be like that 2012-07-03T06:59:41 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-03T07:08:07 < R2COM> uhh... compiled at last 2012-07-03T07:09:57 < R2COM> flyback, go to sleep 2012-07-03T07:55:49 < R2COM> dongs 2012-07-03T07:56:00 < R2COM> can you tell me again which tools you using under windows to program that stm32? 2012-07-03T07:57:33 < upgrdman> a keyboard? 2012-07-03T07:58:08 < R2COM> upgrdman: outstanding sense of humor 2012-07-03T07:58:17 < upgrdman> i try, i try 2012-07-03T07:59:19 < upgrdman> i dont use windows but i think codesourcery is one of the few free options for windows 2012-07-03T08:00:02 < R2COM> thats what i use under linux now 2012-07-03T08:07:01 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-03T08:07:01 < upgrdman> i use gcc-arm-embedded in linux 2012-07-03T08:07:43 < upgrdman> hum, ya CS is for linux. don't know what i was thinking earlier 2012-07-03T08:28:42 -!- tavs [~tavish@125.63.110.155] has joined ##stm32 2012-07-03T09:22:11 < dongs> R2COM: jtag hardware, or ide, or compiler, or ... ? 2012-07-03T09:22:28 < R2COM> all 2012-07-03T09:22:39 < R2COM> what software and hardware you use on windows? 2012-07-03T09:22:42 < R2COM> for stm32 dev. 2012-07-03T09:23:13 < dongs> chinese ulink2 clone for swd, keil uvision, armcc compiler. some other projets are using jlink-edu, crossworks IDE (whihc uses modified gcc). 2012-07-03T09:23:29 < dongs> could never get any opensauce shit to work correctly. 2012-07-03T09:23:33 < dongs> i guess I just value my time. 2012-07-03T09:23:34 < R2COM> that sounds like not free 2012-07-03T09:23:41 < dongs> none of it is, correct. 2012-07-03T09:23:49 < R2COM> where did you steal the money to buy it? 2012-07-03T09:24:01 < dongs> i actually do make money from my projects, so buying things is not an issue. 2012-07-03T09:24:30 < R2COM> keil like 700$ or so if im correct 2012-07-03T09:24:47 < dongs> try 7x that. 2012-07-03T09:25:16 < R2COM> so you sell your project so often and stm32 is in such a demand for them? 2012-07-03T09:25:30 < R2COM> and also, why armcc ? since keil can do all the stuff? 2012-07-03T09:25:56 < dongs> armcc = keil. thats the compiler it uses. 2012-07-03T09:26:00 < R2COM> oh 2012-07-03T09:26:00 < R2COM> ok 2012-07-03T09:26:15 < R2COM> and which sd card project did you import? 2012-07-03T09:26:28 < R2COM> because i do not think keil includes such project as example 2012-07-03T09:26:33 < dongs> anyway, keil absolutely sucks for opensauce development. 2012-07-03T09:26:35 < R2COM> at least its lite version (32kb) 2012-07-03T09:26:45 < dongs> compiler is not c99 compliant, doesn't support any of idiotic gcc "extensions" etc 2012-07-03T09:26:50 < dongs> i would only recommend it for serious work 2012-07-03T09:26:53 < dongs> not copypasting opensauce shit 2012-07-03T09:27:09 < R2COM> you mean from scratch? 2012-07-03T09:27:39 < R2COM> from scratch anyone can do things on pretty much any dev. environment... its just a matter of time/effort 2012-07-03T09:28:04 < R2COM> for me unfortunately i do not have much time at all to play with stm32, have to do lots of other things whole day 2012-07-03T09:28:20 < R2COM> thats why was looking at some examples etc.. 2012-07-03T09:28:26 < R2COM> got some stuff working there already 2012-07-03T09:28:29 < R2COM> except sd card 2012-07-03T09:28:46 < R2COM> and usb.. although havent tried usb yet 2012-07-03T09:29:45 < R2COM> so, serious projects use stdperiph? :P 2012-07-03T09:29:48 < dongs> yes. 2012-07-03T10:28:13 < tavs> i am now tired of trying to get sdio to work with stm32f4discovery. first boot sector read look ok with the 55aa signature and all. in the next read the 55aa signature is somehow 1 byte before it should be 2012-07-03T11:00:10 < R2COM> tavs, what do you use? 2012-07-03T11:00:20 -!- tavs [~tavish@125.63.110.155] has quit [Ping timeout: 248 seconds] 2012-07-03T11:06:25 -!- tavs [~tavish@120.59.44.0] has joined ##stm32 2012-07-03T11:10:21 -!- tavs is now known as tavish3 2012-07-03T11:24:39 -!- peabody124 [~peabody12@stgt-5f718d28.pool.mediaWays.net] has joined ##stm32 2012-07-03T11:27:35 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-03T11:30:09 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-03T11:36:49 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-03T11:45:58 -!- pelrun [~pelrun@14-202-70-213.static.tpgi.com.au] has joined ##stm32 2012-07-03T11:58:43 -!- pelrun_ [~pelrun@14-202-70-213.static.tpgi.com.au] has joined ##stm32 2012-07-03T11:58:43 -!- pelrun [~pelrun@14-202-70-213.static.tpgi.com.au] has quit [Read error: Connection reset by peer] 2012-07-03T11:59:52 -!- pelrun [~pelrun@14-202-70-213.static.tpgi.com.au] has joined ##stm32 2012-07-03T11:59:52 -!- pelrun_ [~pelrun@14-202-70-213.static.tpgi.com.au] has quit [Read error: Connection reset by peer] 2012-07-03T12:04:37 < dongs> http://i.imgur.com/3fw0u.jpg lol 2012-07-03T12:13:17 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-03T12:25:49 -!- SuicideFunky [~randy@vps-212-153-70-8.twenty-five.nl] has joined ##stm32 2012-07-03T12:26:40 -!- peabody124 [~peabody12@stgt-5f718d28.pool.mediaWays.net] has quit [Quit: peabody124] 2012-07-03T12:32:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-03T13:24:04 -!- pelrun_ [~pelrun@14-202-70-213.static.tpgi.com.au] has joined ##stm32 2012-07-03T13:24:18 -!- pelrun [~pelrun@14-202-70-213.static.tpgi.com.au] has quit [Ping timeout: 245 seconds] 2012-07-03T13:30:21 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-03T13:35:25 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-03T14:35:00 -!- tavish3 [~tavish@120.59.44.0] has quit [Ping timeout: 252 seconds] 2012-07-03T14:38:20 -!- tavish3 [~tavish@120.59.44.0] has joined ##stm32 2012-07-03T14:54:49 < [7]> http://pastie.org/4192511 2012-07-03T14:54:55 * [7] demands for an explanation :P 2012-07-03T15:00:17 < zyp> explanation of what? 2012-07-03T15:00:23 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120615050910]] 2012-07-03T15:00:31 < [7]> why *all* registers got written, not just PC 2012-07-03T15:01:36 < zyp> huh? 2012-07-03T15:01:57 < zyp> where? 2012-07-03T15:02:26 < [7]> look at the effect of "Pf=88010020" on the bottommost line (response to "g" command) 2012-07-03T15:04:14 < zyp> the g command is «read all registers» 2012-07-03T15:04:25 -!- tavish3 [~tavish@120.59.44.0] has quit [Quit: leaving] 2012-07-03T15:06:19 < zyp> oh, wait, you mean that it overwrites _all_ registers with that value? 2012-07-03T15:06:24 < zyp> right 2012-07-03T15:06:36 < zyp> is this latest version? 2012-07-03T15:13:06 < [7]> zyp: git master as of yesterday 2012-07-03T15:14:50 < zyp> interesting, how to reproduce? 2012-07-03T15:15:26 < [7]> well, by trying to execute my program from eclipse via remote-gdb 2012-07-03T15:15:52 < [7]> with some extra startup gdb commands to accomodate for executing directly from SRAM 2012-07-03T15:16:38 < [7]> but behaving as if it were a flash boot image with this vector table at the beginning 2012-07-03T15:17:29 < [7]> so after setting up some control registers to map sram and enable some clock gates, loading the program and inserting breakpoints, I do this to emulate what the CPU would normally do on bootup: 2012-07-03T15:17:30 < [7]> set $sp = {int}0 2012-07-03T15:17:30 < [7]> set $pc = {int}4 2012-07-03T15:17:30 < [7]> continue 2012-07-03T15:17:56 < [7]> the result of which you can see in my paste 2012-07-03T15:18:36 < [7]> I suspect that this bug usually doesn't cause issues because programs only rely on PC being set correctly and set up the other stuff in some init code 2012-07-03T15:19:28 < [7]> but in my case I relied on SP to be correct and wondered why on earth my code crashed after allocating some stack frames (and thus corrupting the vector table) 2012-07-03T15:31:41 < zyp> yeah, I see what you mean 2012-07-03T15:31:59 < zyp> directly writing registers is not so common, so I guess it might be a bug present there 2012-07-03T15:36:02 < Laurenceb> http://www.saferesponse.co.uk/index.php?route=product/product&product_id=119 2012-07-03T15:37:56 < zyp> hmm 2012-07-03T15:38:59 < zyp> gdbserver code just calls stlink_write_reg() on the P command, and that works, because it's required for executing the flashloaders 2012-07-03T15:39:46 < zyp> [7], can you insert some debug prints in stlink_write_reg() to print the arguments it's called with? 2012-07-03T15:42:02 < [7]> zyp: I've followed the code path up to that point and haven't spotted anything obvious 2012-07-03T15:42:33 < [7]> but sure, I'll add some debugging to _stlink_usb_write_reg 2012-07-03T15:48:09 < dongs> sup bloggers 2012-07-03T15:53:30 < [7]> recv: Pf=88010020 2012-07-03T15:53:30 < [7]> reg=0x20000188 idx=0x0000000F i=0x00000003 cmd=F2 06 0F 88 01 00 20 00 00 00 00 00 00 00 00 00 data_pre=88 01 size=0x00000002 data_post=80 00 2012-07-03T15:53:30 < [7]> send: OK 2012-07-03T15:53:30 < [7]> recv: g 2012-07-03T15:53:30 < [7]> send: 88010020880100208801002088010020880100208801002088010020880100208801002088010020880100208801002088010020880100208801002088010020 2012-07-03T15:55:47 < zyp> which chips is this? 2012-07-03T15:55:58 < [7]> stm32f4discovery board 2012-07-03T15:57:01 < zyp> hmm, I suspect that the problem might be with the g command not reading back the right registers 2012-07-03T15:58:00 < [7]> well, the same behavior (all regs getting overwritten) happens when writing reg 0xd as well 2012-07-03T15:58:11 < [7]> so it isn't just that the g command returns multiple copies of reg 0xf 2012-07-03T16:01:12 < [7]> btw, I think i've just spotted another bug: gdb-server.c:700 2012-07-03T16:01:26 < [7]> it only checks the first two chars of monitor commands 2012-07-03T16:01:33 < [7]> but those happen to be the same for "resume" and "reset" 2012-07-03T16:01:44 < [7]> so it'll misinterpret "reset" as "resume" 2012-07-03T16:02:38 < cjbaird> "..." 2012-07-03T16:02:49 < zyp> cute 2012-07-03T16:03:09 < karlp> I guess someone got bored of converting chars into ascii numers to put into the matching code. 2012-07-03T16:03:27 < karlp> (that someone wasn't me by the way) 2012-07-03T16:04:03 < zyp> https://github.com/texane/stlink/commit/18d6fe4 <- no, it was texane :p 2012-07-03T16:04:41 < [7]> i suspect "monitor rese" / "monitor h" / "monitor resu" would be legal abbreviations from gdb's point of view 2012-07-03T16:04:55 < karlp> yeah, monitor commands arne't exactly well supported. 2012-07-03T16:05:04 < karlp> I don't think gdb does any checking of the text after monitor 2012-07-03T16:05:10 < karlp> it's just encoded and given to the gdbserver 2012-07-03T16:05:11 < [7]> it doesn't 2012-07-03T16:05:14 < zyp> of course it doesn't 2012-07-03T16:05:29 < [7]> isn't that the point of monitor commands somehow? 2012-07-03T16:05:33 < zyp> yep 2012-07-03T16:05:46 < zyp> hmm, though, I've never used them either 2012-07-03T16:09:24 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 244 seconds] 2012-07-03T16:10:08 -!- TeknoJuce [~TeknoJuce@69.158.138.251] has joined ##stm32 2012-07-03T16:10:09 -!- TeknoJuce [~TeknoJuce@69.158.138.251] has quit [Changing host] 2012-07-03T16:10:09 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-03T16:12:38 * [7] slaps a pull request at texane 2012-07-03T16:13:37 * [7] might hacve screwed up some tabs in the process 2012-07-03T16:13:50 * [7] isn't sure why anyone would ever want to use tabs though 2012-07-03T16:15:07 < karlp> heh, whitespace is not exactly well controlled in that repo... 2012-07-03T16:15:12 < zyp> I don't get why people would want to use spaces 2012-07-03T16:15:52 < zyp> people have a natural tendency to prefer different indention widths, with tabs that's possible to choose 2012-07-03T16:16:50 < [7]> doing that properly would require the use of both tabs and spaces 2012-07-03T16:17:00 < [7]> tabs for block indentation and spaces for aligning things 2012-07-03T16:17:20 < [7]> otherwise stuff will get screwed up if viewed with a different tab width anyway 2012-07-03T16:17:46 < Thorn> some coding style guidelines prohibit aligning things 2012-07-03T16:18:04 < zyp> [7], yep, that's exactly what I do 2012-07-03T16:18:09 < [7]> an mixing tabs and spaces is among the worst thing that can happen, ending up completely screwing up the indentation, and causing very weird bugs in languages like python 2012-07-03T16:18:47 < dongs> lUnixtalk 2012-07-03T16:18:51 < zyp> I also enable visual tabs in my editor, so I actually can distinguish between tabs and spaces 2012-07-03T16:19:04 < dongs> i always enable tabs as spaces 2012-07-03T16:19:16 < dongs> but yeah i have visual tabs/spaces on to 2012-07-03T16:19:24 < [7]> dongs: same here 2012-07-03T16:19:34 < karlp> zyp: always spaces, all the times. 2012-07-03T16:19:41 < [7]> zyp: the stlink protocol was reverse engineered, right? 2012-07-03T16:19:42 < karlp> so that crap doesn't jump all over the place 2012-07-03T16:19:51 < dongs> lunix-engineered 2012-07-03T16:19:54 < [7]> could there be that someone missed some peculiarity about that write register command? 2012-07-03T16:19:58 < zyp> [7], no idea, I weren't involved 2012-07-03T16:20:03 < [7]> karlp: +1 2012-07-03T16:20:37 < zyp> karlp, jump all over the place? 2012-07-03T16:20:43 < Thorn> try using tabs with pythoin sometime, interesting times guaranteed 2012-07-03T16:20:50 * [7] is tempted to grab IDA and look at the stlink firmware to figure this out 2012-07-03T16:20:59 < dongs> there's no stlink firmware 2012-07-03T16:21:14 < dongs> well,, actually I guess there is 2012-07-03T16:21:15 < zyp> Thorn, I'm always using tabs with python, no problems 2012-07-03T16:21:18 < dongs> de-aes'd shit. 2012-07-03T16:21:21 < dongs> but bootloader is missing. 2012-07-03T16:22:14 < Thorn> zyp: try switching editors. pydev with its tab/space guessing is especially recommended 2012-07-03T16:22:44 < zyp> I'm only using good editors. 2012-07-03T16:22:58 < zyp> I don't see any reason to use a bad editor when good editors exist. 2012-07-03T16:23:17 < zyp> http://bin.jvnv.net/f/hOk7Z.png <- oh, and here is how my code look in my editor 2012-07-03T16:23:32 < zyp> screenshot from last time I had this discussion with somebody 2012-07-03T16:23:39 < [7]> oh, lovely synopsys USB code :) 2012-07-03T16:24:14 < zyp> oh yeah, I _love_ the synopsys stuff 2012-07-03T16:24:19 < zyp> … 2012-07-03T16:24:41 < [7]> tbh I think it's the best/most comfortable OTG I've dealt with 2012-07-03T16:24:48 < [7]> everything else was even worse :P 2012-07-03T16:25:57 < zyp> it's the only I've dealt with so far, but according to my usb-guru coworker, it's pretty horrible 2012-07-03T16:26:38 < [7]> well, what would you want to make better? 2012-07-03T16:26:45 < [7]> i think it's pretty much straightforward 2012-07-03T16:27:22 < zyp> his major beef with it was that it had a single rx-fifo, not one per endpoint 2012-07-03T16:27:48 < zyp> and it's also supposedly pretty quirky 2012-07-03T16:27:58 < zyp> and I think the documentation is mediocre 2012-07-03T16:28:08 < [7]> a single RX endpoint sounds like economic space usage to me 2012-07-03T16:28:24 < [7]> EPs are supposedly independent, so processing things in reception order seems fine 2012-07-03T16:28:57 < [7]> the documentation in the STM TRMs is really good, at least compared to the crappy subset of it found in some NXP and samsung documents 2012-07-03T16:29:24 < zyp> being able to handle control requests with a higher priority than bulk packets would be nice 2012-07-03T16:29:57 < [7]> what would that be good for? 2012-07-03T16:30:35 < zyp> oh, and the OTG_HS documentation in the F4 reference manual is wrong about the PHY selection 2012-07-03T16:30:55 < [7]> processing received data out of order would lead to weird effects if a control request affects another endpoint 2012-07-03T16:32:42 < zyp> well, I can't really argue any further, I don't have enough experience with usb 2012-07-03T16:33:04 < [7]> ok, let's get back to my register screwup then :P 2012-07-03T16:33:24 < Laurenceb> how register formed 2012-07-03T16:35:55 < Laurenceb> did you hear about the slutty IT support girl? 2012-07-03T16:36:06 < Laurenceb> she took her clothes off and put them back on again 2012-07-03T16:40:43 < karlp> are you just paraphrasing today's smbc to make it look like your own joke? 2012-07-03T16:41:33 < zyp> typically Laurenceb-style 2012-07-03T16:51:51 < cjbaird> Still, a level above dongs' pervasive 4chan references... 2012-07-03T16:52:25 < dongs> wat 2012-07-03T17:05:11 -!- pelrun_ [~pelrun@14-202-70-213.static.tpgi.com.au] has quit [Ping timeout: 255 seconds] 2012-07-03T17:11:33 -!- tavish [~tavish@59.177.10.205] has joined ##stm32 2012-07-03T17:11:33 -!- tavish [~tavish@59.177.10.205] has quit [Changing host] 2012-07-03T17:11:33 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-03T17:20:08 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 246 seconds] 2012-07-03T17:20:14 -!- tavish [~tavish@59.177.2.155] has joined ##stm32 2012-07-03T17:20:15 -!- tavish [~tavish@59.177.2.155] has quit [Changing host] 2012-07-03T17:20:15 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-03T17:25:45 < [7]> zyp: to further nail this down I've written a little stlink client in python now 2012-07-03T17:25:50 < [7]> and with that one it doesn't happen! 2012-07-03T17:26:46 < zyp> are you sending all the commands that you are sending from eclipse? 2012-07-03T17:27:10 < zyp> I'm guessing it messes up because something is set in an invalid state 2012-07-03T17:27:53 < [7]> http://pastie.org/4193259 2012-07-03T17:28:32 < [7]> let's implement some more of the stuff in between 2012-07-03T17:35:18 < [7]> hm... added some more command dumping to st-util and now it just works! 2012-07-03T17:37:12 < [7]> so maybe that's due to the monitor reset command that I fixed in the meantime? 2012-07-03T17:37:40 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 248 seconds] 2012-07-03T17:48:34 < karlp> your python client, does that use the libstlink that texane/stlink builds? 2012-07-03T17:50:41 < zyp> that wouldn't exercise the gdbserver 2012-07-03T17:50:51 < zyp> so I guess it speaks gdb protocol? 2012-07-03T18:01:23 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-03T18:02:02 < dongs> serious lack of bloggin here lately 2012-07-03T18:04:51 < zyp> vacation and shits 2012-07-03T18:07:00 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Remote host closed the connection] 2012-07-03T18:11:30 < karlp> bleh, both these low density devices fail to be recognised. 2012-07-03T18:11:38 < karlp> back to the solder maestro 2012-07-03T18:13:00 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-03T18:20:36 < karlp> duh, I'd said, "it gets 3.3v right?" 2012-07-03T18:20:50 < karlp> he said, "yep", but just meant that this had a 3.3v reg, not a 5v reg. 2012-07-03T18:20:58 < karlp> not that he'd actually checked it was getting power 2012-07-03T18:26:41 < zyp> that's what you get for wording it like that 2012-07-03T18:27:00 < zippe> For this, you should open the plug on his soldering iron tip and cut one of the wires 2012-07-03T18:27:09 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: No route to host] 2012-07-03T18:27:27 < zippe> s/tip/handpiece/ … you get the picture 2012-07-03T18:27:36 -!- Thorn [~Thorn@78-106-247-110.broadband.corbina.ru] has joined ##stm32 2012-07-03T18:27:36 -!- Thorn [~Thorn@78-106-247-110.broadband.corbina.ru] has quit [Changing host] 2012-07-03T18:27:36 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-03T18:27:58 < zippe> Or if his workbench has a master switch, place a large electrolytic in one of the switched power outlets and cover it with e.g. a box 2012-07-03T18:28:19 < zippe> (while it is off, obviously) 2012-07-03T18:31:06 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-03T18:39:53 < karlp> hmm, there doesn't seem to be a way to detect the difference between an F100 low density and F100 medium density 2012-07-03T18:39:57 < karlp> thanks ST. 2012-07-03T18:40:03 < karlp> flash size should work I guess. 2012-07-03T18:40:10 < karlp> just as well, both C4 and C6 have the same sram 2012-07-03T18:40:46 < karlp> but this C4 is reporting 32kb of flash, instead of 16. 2012-07-03T18:40:50 -!- SuicideFunky [~randy@vps-212-153-70-8.twenty-five.nl] has quit [Ping timeout: 265 seconds] 2012-07-03T18:41:11 < zyp> downclassed core? 2012-07-03T18:49:05 < ratatata> nu 2012-07-03T18:53:45 < jpa-> ST seems to downclass cores a lot 2012-07-03T18:56:29 -!- SuicideFunky [~randy@vps-212-153-70-8.twenty-five.nl] has joined ##stm32 2012-07-03T18:59:00 -!- FUZxxl [~fuz@no.spaceleft.net] has quit [Read error: Operation timed out] 2012-07-03T19:00:22 -!- FUZxxl [~fuz@no.spaceleft.net] has joined ##stm32 2012-07-03T19:27:12 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-03T19:27:23 < karlp> what does that mean? it really has 32k, but they sold it as less? 2012-07-03T19:27:52 < zyp> yep 2012-07-03T19:27:54 < jpa-> yeah.. maybe it has a bug in that extra 16kB, but difficult to tell 2012-07-03T19:28:42 < jpa-> i have one that has 256kB of extra flash (has 512kB, sold as 256kB) that seems to work just fine.. dunno why it was downclassed 2012-07-03T19:29:25 < karlp> so, they might have had some factory testing that uncovered some sort of error in the second 16k, so they just said, "fuck it, call it a 16k part instead" 2012-07-03T19:31:37 < jpa-> might even have a hidden fuse that swaps the low and high 16kB banks 2012-07-03T19:33:45 < karlp> awesome. be nice if they could have made it say it only had 16k instead :) 2012-07-03T19:35:40 < jpa-> indeed :) 2012-07-03T19:36:32 < Thorn> there's a register that contains flash size (at least in f1), what does it say? 2012-07-03T19:36:48 < karlp> it says 32k 2012-07-03T19:36:52 < karlp> that's how this started :) 2012-07-03T19:45:12 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-03T19:49:03 < ntfreak> jpa: all manu do a similar thing. at launch for example they usually only produce a mask for the large flash parts 2012-07-03T19:49:04 < ntfreak> jpa: same thing happens for many other components - diodes/resisters etc. 2012-07-03T19:50:14 < Thorn> too bad it doesn't happen for inductors 2012-07-03T19:50:42 < cjbaird> Companies also deliberately do it to fix pricing (Intel's CPUs..) 2012-07-03T19:51:34 < ntfreak> Thorn: it does sometimes on the tolerance, you request a 10% part but are given a 5% 2012-07-03T19:52:45 < Thorn> I'd like the saturation current to be 2x instead 2012-07-03T19:56:27 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-03T19:57:17 < karlp> but it's no good getting more unless you know it's there, _and_ you can use it. 2012-07-03T20:18:58 -!- lawrenceseattle [~anonymous@66.192.187.106] has joined ##stm32 2012-07-03T20:21:10 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-03T20:21:13 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-03T20:33:05 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-03T20:58:22 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-03T21:05:41 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-03T21:15:06 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-03T23:12:51 -!- izua [~izua@188.26.92.238] has joined ##stm32 2012-07-03T23:12:52 -!- izua [~izua@188.26.92.238] has quit [Changing host] 2012-07-03T23:12:52 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-03T23:12:53 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-03T23:41:30 < R2COM> anyone knows if 4bit SD card mode require license? 2012-07-03T23:41:55 < R2COM> and, if i will decide to use it with stm32, which already has SD controller... it means i do not have to pay? 2012-07-03T23:52:20 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] --- Day changed Wed Jul 04 2012 2012-07-04T00:06:24 <+izua> pretty much. 2012-07-04T00:06:55 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-04T00:14:33 -!- izua [~izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-04T00:14:37 -!- izua_ [~izua@188.26.92.238] has joined ##stm32 2012-07-04T00:14:38 -!- izua_ [~izua@188.26.92.238] has quit [Changing host] 2012-07-04T00:14:38 -!- izua_ [~izua@unaffiliated/izua] has joined ##stm32 2012-07-04T00:14:39 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-04T00:35:44 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2012-07-04T00:45:42 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-04T00:53:48 -!- Toneloc [~BlueBeep@109.76.116.174] has joined ##stm32 2012-07-04T01:00:00 -!- sourcebox [~sourcebox@static-87-79-70-47.netcologne.de] has joined ##stm32 2012-07-04T01:02:39 < Toneloc> anyone here ever got LPC1114FN28/102 samples to try out? 2012-07-04T01:02:54 < Toneloc> Nice to get something easy to work with in DIP 2012-07-04T01:03:27 < Toneloc> it can run at up to 50Mhz, which I think is pretty cool for a DIP microcontroller 2012-07-04T01:09:27 < Laurenceb_> you got onbe? 2012-07-04T01:11:05 < Toneloc> I havent, but was thinking of getting some to see what they are like 2012-07-04T01:29:30 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-04T01:34:07 -!- ABLomas [~abl@78-60-198-200.static.zebra.lt] has quit [Ping timeout: 240 seconds] 2012-07-04T01:58:04 < dongs> ;p; @ do[ 2012-07-04T01:58:06 < dongs> er 2012-07-04T01:58:08 < dongs> lol @ dip 2012-07-04T02:10:00 -!- sourcebox [~sourcebox@static-87-79-70-47.netcologne.de] has quit [Remote host closed the connection] 2012-07-04T02:18:12 < Toneloc> sure, its prehistoric, but its convient and it works ;) 2012-07-04T02:33:30 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-04T03:08:56 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2012-07-04T03:19:55 -!- Toneloc [~BlueBeep@109.76.116.174] has left ##stm32 [] 2012-07-04T03:21:59 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Remote host closed the connection] 2012-07-04T03:22:29 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-04T03:44:56 -!- zippe [~Adium@173.11.99.161] has quit [Remote host closed the connection] 2012-07-04T04:00:29 -!- izua_ [~izua@unaffiliated/izua] has quit [Quit: Pull me under] 2012-07-04T04:18:53 < dongs> what does hardwaer FP use to load float shit into coprocessor? 2012-07-04T04:18:57 < dongs> LDC, LDCL? 2012-07-04T04:25:59 < upgrdman> anyone here decent with timers? stm32f4, im trying to setup a really simple timer that runs a block of code 3 seconds after power-on. im using TIM6, and it seems like an update event occurs immediately after enabling the counter, instead of after 3 seconds. if i remove one pulse mode, and have the isr toggle an LED, it will toggle it immediately, then once every 3 seconds. 2012-07-04T04:26:30 < upgrdman> code here: 2012-07-04T04:27:43 < upgrdman> http://pastebin.com/ZWJCshY3 2012-07-04T04:28:29 < upgrdman> how do i get it to wait those three seconds before calling the ISR? 2012-07-04T04:33:44 < dongs> run it at 1ms, put a counter there, and set a flag @ 3000ms. 2012-07-04T04:33:46 < dongs> or wahtever 3 seocnds is. 2012-07-04T04:39:36 < upgrdman> i know i can do that but why 2012-07-04T04:40:01 < upgrdman> theres a one pulse mode, it should work. obviously im doing something wrong, but what? :( 2012-07-04T04:44:47 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-04T04:50:15 < karlp> enable the DIER_UIE before the irq? 2012-07-04T04:50:26 < karlp> and enable the counter before too? 2012-07-04T04:50:33 < karlp> ARR defaults to zero 2012-07-04T04:50:37 < karlp> so maybe it hits first 2012-07-04T04:50:53 < karlp> maybe justmove the tim6->arr = 5999 to before the NVIC_enable? 2012-07-04T04:53:50 < karlp> Oh, I figured out least part of why I couldn't get my code to work with a DHT03/DHT22/AM230x/DHT11 2012-07-04T04:54:08 < karlp> turns out that the 3.3v on the 32Vl discovery board isn't that serious 2012-07-04T04:54:22 < karlp> and the 3.3v minimum on the part's datasheet is very serious 2012-07-04T04:54:34 < karlp> with a 5V part, it works flawlessly 2012-07-04T04:55:00 < karlp> with a 3.0v part, I see the signal coming back on the line, but the p2p voltage is maybe 80mv 2012-07-04T04:55:57 < dongs> ARRRRrrrr 2012-07-04T05:01:40 < upgrdman> karlp, tried those, still does the same thing :( 2012-07-04T05:02:01 < karlp> sorry, just an idea :| 2012-07-04T05:02:31 < upgrdman> no need to be sorry. glad someone read my plea for help :) 2012-07-04T05:06:06 < karlp> I'm only just starting to get started with timers :) 2012-07-04T05:11:38 < upgrdman> that stm docs suck 2012-07-04T05:12:05 < upgrdman> i cant read three pages in RM0090 before finding stupid mistakes and poor editing 2012-07-04T05:27:08 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2012-07-04T05:34:29 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-04T05:36:13 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 250 seconds] 2012-07-04T05:37:13 < dongs> haha wtf 2012-07-04T05:37:22 < dongs> this shitty code bitbangs i2c 2012-07-04T06:01:46 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-04T06:01:52 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-04T06:33:59 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-04T06:37:39 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-04T06:38:39 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: Ex-Chat] 2012-07-04T06:46:16 -!- upgrdman [~upgrdman@71-92-208-122.static.mtpk.ca.charter.com] has joined ##stm32 2012-07-04T06:46:16 -!- upgrdman [~upgrdman@71-92-208-122.static.mtpk.ca.charter.com] has quit [Changing host] 2012-07-04T06:46:16 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-07-04T06:46:34 < upgrdman> anyone here decent with timers? stm32f4, im trying to setup a really simple timer that runs a block of code 3 seconds after power-on. im using TIM6, and it seems like an update event occurs immediately after enabling the counter, instead of after 3 seconds. if i remove one pulse mode, and have the isr toggle an LED, it will toggle it immediately, then once every 3 seconds. 2012-07-04T06:46:38 < upgrdman> http://pastebin.com/ZWJCshY3 2012-07-04T06:49:41 < TheSeven> upgrdman: set PSC and ARR, set OPM, write UG to EGR, then set CEN and UIE in CR1 2012-07-04T06:50:11 < TheSeven> seems like you aren't triggering an update before enabling the IRQ and the timer 2012-07-04T06:50:34 < TheSeven> er, sorry, set UIE in DIER and CEN in CR1 of course 2012-07-04T06:58:15 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2012-07-04T06:58:21 < upgrdman> TheSeven, still did not fix it. http://pastebin.com/5uPtaUKq 2012-07-04T06:58:46 < TheSeven> still fires immediately? 2012-07-04T06:58:51 < upgrdman> yes 2012-07-04T06:59:08 < upgrdman> also, why must i trigger an update? doesn't the counter not count until CEN? 2012-07-04T07:00:23 < TheSeven> yes, but you need to make sure it has loaded your ARR value 2012-07-04T07:00:39 < TheSeven> otherwise it would count from wherever it was stopped last 2012-07-04T07:00:50 < upgrdman> wouldn't it load all the values when setting CEN 2012-07-04T07:01:19 < TheSeven> I think it doesn't, and I think the TRM states that you have to set UG manually before enabling it to make it work right 2012-07-04T07:01:22 < upgrdman> notice that one page of code is all of my firmware... theres no where else to start the timer 2012-07-04T07:01:29 < upgrdman> ok 2012-07-04T07:01:56 < TheSeven> another thing that might be possible is that the IRQ is already pending for some reason, it's always a good idea to acknowledge/clear an IRQ before enabling it 2012-07-04T07:02:09 < upgrdman> how? 2012-07-04T07:02:15 < TheSeven> NVIC_ClearPendingIRQ 2012-07-04T07:04:44 * TheSeven sends flyback to his utility company to ask them to make their grid storm-resistant 2012-07-04T07:04:51 < upgrdman> NVIC_ClearPendingIRQ(TIM6_DAC_IRQn); before NVIC_EnableIRQ(TIM6_DAC_IRQn); didn't change anything :( 2012-07-04T07:06:16 < TheSeven> flyback: I haven't had a single power outage here for around 10 years, with weather doing all kinds of shit 2012-07-04T07:06:37 < TheSeven> just a couple brief brownouts 2012-07-04T07:06:51 < TheSeven> from 230 to maybe about 100V for less than half of a second 2012-07-04T07:06:57 < TheSeven> basically everything survives that 2012-07-04T07:07:03 < TheSeven> even without UPS 2012-07-04T07:07:45 < TheSeven> upgrdman: hm... I'm out of ideas then 2012-07-04T07:08:20 < upgrdman> adding a while(1 2012-07-04T07:08:22 < upgrdman> oops 2012-07-04T07:08:34 < dongs> DMA2.Stream3.M0AR 2012-07-04T07:08:34 < dongs> haha 2012-07-04T07:08:58 < upgrdman> adding a while(1){;} before CEN still lets the LED come on. something is triggering the ISR before CEN. :( 2012-07-04T07:10:25 < TheSeven> upgrdman: and not enabling the IRQ makes the LED stay off? 2012-07-04T07:11:53 < upgrdman> yes 2012-07-04T07:12:30 < upgrdman> a while(1) just after NVIC_EnableIRQ(TIM6_DAC_IRQn); makes the LED come on 2012-07-04T07:13:21 < TheSeven> try doing a TIM6->SR &= ~TIM_SR_UIF; after setting UG, before clearing and enabling the IRQ 2012-07-04T07:13:35 < upgrdman> TIM6->SR = 0; before CEN fixed it! but why did i need that 2012-07-04T07:14:37 < TheSeven> because the "update generated" flag was set when you set UG 2012-07-04T07:14:56 < TheSeven> and enabling the IRQ for that afterwards will make it trigger unless you've acknowledged that first 2012-07-04T07:15:12 < upgrdman> SHIT 2012-07-04T07:15:13 < upgrdman> ok 2012-07-04T07:15:17 < TheSeven> actually this shouldn't be before CEN, but before UIE 2012-07-04T07:15:40 < TheSeven> if it worked after that it was luck that it didn't propagate the IRQ fast enough before you caught it :) 2012-07-04T07:15:42 < upgrdman> ya i move the = 0 to just after UG and it still works 2012-07-04T07:15:52 < TheSeven> yes, that's where it belongs 2012-07-04T07:19:37 < upgrdman> thank you! this has been messing with me for hours. i wish rm0090 would have mentioned needing to manually trigger an update 2012-07-04T07:20:41 < upgrdman> should all timers be manually UG and UIF=0 before CEN? 2012-07-04T07:22:51 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-04T07:40:40 < TheSeven> upgrdman: yes, that's generally a good idea 2012-07-04T07:41:50 < upgrdman> k 2012-07-04T07:43:19 < TheSeven> hm, maybe setting UG isn't strictly neccessary for an upcounting counter and ARPE=0 2012-07-04T07:43:33 < TheSeven> but it can't hurt to ensure that it starts at zero 2012-07-04T07:43:42 < TheSeven> and is absolutely neccessary when ARPE=1 or down-counting 2012-07-04T07:44:24 < TheSeven> see figure 184 (page 461) of RM0090 2012-07-04T07:54:11 < upgrdman> but in that figure ARR was changes after CEN 2012-07-04T07:54:16 < upgrdman> changed* 2012-07-04T07:56:03 -!- lawrenceseattle [~anonymous@c-71-227-186-232.hsd1.wa.comcast.net] has joined ##stm32 2012-07-04T07:57:20 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2012-07-04T08:04:33 < upgrdman> what kind of storm 2012-07-04T08:04:36 < upgrdman> rain? 2012-07-04T08:07:47 < upgrdman> i love dry winds 2012-07-04T08:07:47 < upgrdman> but sure, if its bad, sucks to be you... 2012-07-04T08:07:56 -!- Tectu [tectu@kunsmann.eu] has quit [Ping timeout: 245 seconds] 2012-07-04T08:12:13 -!- Tectu [tectu@kunsmann.eu] has joined ##stm32 2012-07-04T08:26:24 < upgrdman> why bother 2012-07-04T08:26:39 < upgrdman> theres tons of cheap android tables, why buy a bb 2012-07-04T08:30:00 < dongs> shitberry? 2012-07-04T08:31:36 < dongs> better buy Nokia Pureview 2012-07-04T08:31:40 < dongs> runing SYMBIAN 2012-07-04T08:31:45 < dongs> about as obsolete as it gets 2012-07-04T08:35:01 < dongs> who the fuck caresa bout tablets 2012-07-04T09:06:47 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-04T09:24:14 < dongs> blog 2012-07-04T09:53:47 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-04T09:53:47 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-07-04T09:53:47 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-07-04T09:53:56 -!- dfletcher is now known as drgreenthumb 2012-07-04T10:19:27 < dongs> microxplorer is pretty worthless 2012-07-04T10:19:32 < dongs> cant even assign alternate functions?? 2012-07-04T10:19:34 < dongs> what hte fuck 2012-07-04T10:20:14 < zyp> :p 2012-07-04T10:20:25 < dongs> are you responsible for that mess zyp 2012-07-04T10:21:15 < dongs> hmm looks like SDIO is not reassingable anyway 2012-07-04T10:21:15 < dongs> hmm 2012-07-04T10:21:28 < dongs> have you ever ran anything in 1bit sdio mode? for normal usage is it fast enough 2012-07-04T10:25:21 < zyp> I've never used SDIO 2012-07-04T10:27:12 < dongs> what do you use for sdcardss, SPI?? 2012-07-04T10:27:13 < dongs> heh 2012-07-04T10:27:31 < zyp> I've not interfaced with sd cards so far 2012-07-04T10:27:36 < dongs> mkay 2012-07-04T10:27:46 < zyp> I will use SDIO when I do 2012-07-04T10:27:55 < dongs> i only used sdio4bit, but wanted to get some extra pins by only using 3wire 2012-07-04T10:41:17 -!- tavish3 [~tavish@120.59.32.141] has joined ##stm32 2012-07-04T10:42:47 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-04T10:42:51 < dongs> rage. 2012-07-04T10:42:56 < dongs> Laurenceb_: any new rage news 2012-07-04T10:43:20 < Laurenceb_> trying to make labels 2012-07-04T10:43:30 < Laurenceb_> i might trollface them 2012-07-04T10:43:50 < Laurenceb_> Serial number, manufacture date and IP number will be produced based on the date on assembly and the IP assessment of the device. 2012-07-04T10:44:03 < Laurenceb_> ALSO TROLLFACE.JPG 2012-07-04T10:44:11 < dongs> include md5 of trollface.jpg 2012-07-04T10:44:28 < Laurenceb_> i hate CE shit 2012-07-04T10:48:25 -!- pelrun_ [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-04T10:50:53 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 265 seconds] 2012-07-04T11:05:13 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-04T11:28:09 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2012-07-04T11:29:10 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-07-04T11:29:24 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-04T11:37:54 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-04T11:51:11 -!- lawrenceseattle [~anonymous@c-71-227-186-232.hsd1.wa.comcast.net] has quit [Quit: lawrenceseattle] 2012-07-04T12:07:39 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-04T12:13:08 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-04T12:28:41 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-04T12:39:19 < cjbaird> Another Cortex-based 'competitor'.. http://www.element14.com/community/docs/DOC-46626/l/element14-exclusive-kinetis-l-based-freescale-freedom-development-board 2012-07-04T12:39:34 < karlp> old news 2012-07-04T12:39:40 < karlp> pasted here a few days ago :) 2012-07-04T12:39:58 < karlp> looks kinda nice though 2012-07-04T12:40:09 < karlp> except arduino shield compat 2012-07-04T12:40:16 < karlp> who thought that was a good idea 2012-07-04T12:41:00 < tavish3> I wasnt able to read a microsd card since 3 days. Today I acccidentally shorted a 5V pin to gnd and SDIO is working absolutely fine now :/ 2012-07-04T12:41:13 < cjbaird> Eww, it is. I missed that at first glance.. 2012-07-04T12:42:01 < karlp> OpenSDA looks a little nicer than stlink stuff though 2012-07-04T12:42:17 < karlp> but still custom. 2012-07-04T12:45:01 < cjbaird> I expect it'll be a choice between CodeWarrior-only and CodeWarrior-only libraries for that Freescale board (again..) 2012-07-04T12:47:40 < cjbaird> It would be sexier if it were one of the other Freescale MCUs, like 68hc12 or coldfire.. (at least to me :P) 2012-07-04T12:48:44 < karlp> coldfires more of a processor like a cortex A series though isn't it? 2012-07-04T12:48:50 < karlp> rather than a controller with periphs? 2012-07-04T12:49:18 < cjbaird> True, probably not the best choice for that type of platform. 2012-07-04T12:49:36 < cjbaird> I just did a lot of coding for those cpus. :) 2012-07-04T12:49:48 < karlp> I did my thesis on a coldfire :) 2012-07-04T12:50:06 < tavish3> I wonder what could have happened. Also, I was getting garbage from USART. (the board was stm32f4discovery btw) 2012-07-04T12:50:55 < cjbaird> tavish3: are you using the TNT toolchain? I've been getting that too, with code that was previously okay with SAT 2012-07-04T12:51:22 < tavish3> cjbaird: i am using codesourcery 2012-07-04T12:54:21 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Remote host closed the connection] 2012-07-04T12:54:28 < karlp> yeah, that's why I'm not using TNT. 2012-07-04T12:55:13 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-04T12:57:48 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Remote host closed the connection] 2012-07-04T13:02:03 < cjbaird> Hmm. I got a phonecall the other day on the super-secret mobile number, and immediately on hearing an indian accent I hung up.. I'm checking the phone's logs now, and that call was from E14/Farnell, probably to tell me something about the latest order. Oops. 2012-07-04T13:04:02 < Laurenceb> lol 2012-07-04T13:04:50 < dongs> yeah, like your shitberrypi 2012-07-04T13:04:52 < dongs> that hasnt shipped 2012-07-04T13:04:53 < dongs> self-trolled 2012-07-04T13:06:05 < cjbaird> This was for the STM32F0 order, doggy. 2012-07-04T13:06:55 < Laurenceb> why no F3 reference manual :( 2012-07-04T13:07:31 < dongs> f3 is out? 2012-07-04T13:09:00 < dongs> wwwat 2012-07-04T13:09:02 < dongs> 72mhz max 2012-07-04T13:09:19 < dongs> Analog: 4x 12-bit ADC 5 MSPS* reaching 18 MSPS in interleaved mode, 2012-07-04T13:09:20 < dongs> 3x 16-bit Sigma Delta* ADC up to 50 KSPS, fast comparators* (50 ns), 2012-07-04T13:09:20 < dongs> programmable gain amplifers* (4 gains, 1% accuracy), 12-bit DACs 2012-07-04T13:10:03 < dongs> hmmm 2012-07-04T13:10:16 < dongs> oOOo they hav lqfp48 version of it 2012-07-04T13:10:17 < Laurenceb> i want full specs for the pga 2012-07-04T13:10:25 < Laurenceb> with loads of flash 2012-07-04T13:12:11 < karlp> heh, replaced a bunch of uint8_t with int, got smaller code 2012-07-04T13:12:18 < dongs> DS9118: ARM™Cortex-M4 32b MCU+FPU, up to 256KB Flash+48KB SRAM 4 ADCs, 2 DAC ch., 7 comp., 4 PGA, timers, 2.0-3.6 V operation 2012-07-04T13:12:21 < dongs> this is not enough? 2012-07-04T13:12:21 < karlp> hooray for 32bit processors 2012-07-04T13:12:29 < dongs> karlp: lol y eah same 2012-07-04T13:12:54 < dongs> uint8_t used as for() index more than once - 4-8 bytes off flash size when switching to uint32 2012-07-04T13:13:13 < karlp> still, it wasn't enough of a saving. 2012-07-04T13:13:25 < karlp> my modbus code object is 16k on it's own. 2012-07-04T13:13:28 < karlp> fuck knows how that happend. 2012-07-04T13:13:32 < dongs> > gcc 2012-07-04T13:13:48 < dongs> gimme your huge code Iwill show you what a real compiler does with it 2012-07-04T13:14:59 < cjbaird> karlp: probably all the uxtb instructions taken out.. 2012-07-04T13:17:32 < karlp> compiling the same code with avr-gcc is only 10k 2012-07-04T13:17:49 < Laurenceb> i want to know if i can hack the pga as a photodiode amp 2012-07-04T13:17:58 < Laurenceb> lol 2012-07-04T13:18:03 < dongs> ur an amp 2012-07-04T13:19:07 < dongs> o fuck F3 is pin compatible to F10x 2012-07-04T13:19:18 < dongs> DONG-IN REPLACEMENT 2012-07-04T13:19:39 < Laurenceb> repwnment 2012-07-04T13:20:24 < Laurenceb> F5 coming soon too :P 2012-07-04T13:26:56 < cjbaird> omg Higgs particle 2012-07-04T13:29:16 < Laurenceb> F3 is more exciting :P 2012-07-04T13:30:26 < karlp> ok, nvm, I'm a bit dumb with tools. 2012-07-04T13:30:40 < karlp> arm-none-eabi-size modbus.o shows 820 for text 2012-07-04T13:30:48 < karlp> avr-size modbus.o.avr shows 1418 for text 2012-07-04T13:31:04 < karlp> directly comparing the file size of the .o files was foolish and wrong 2012-07-04T13:40:27 < dongs> > avr-size 2012-07-04T13:48:09 < dongs> how long should block erase of 400k on F4 take?? 2012-07-04T13:48:18 < dongs> 13 seconds here... 2012-07-04T13:48:20 < dongs> terrible 2012-07-04T14:00:50 -!- tavish3 [~tavish@120.59.32.141] has quit [Ping timeout: 265 seconds] 2012-07-04T14:02:36 -!- tavish3 [~tavish@59.177.73.10] has joined ##stm32 2012-07-04T14:10:24 < tavish3> i think i burned something on my stm32f4discovery :| 2012-07-04T14:11:45 < TheSeven> hm, how? 2012-07-04T14:12:00 < tavish3> i touched 5v to ground (again) 2012-07-04T14:12:06 < tavish3> accidentally 2012-07-04T14:12:19 < TheSeven> that would if anything fry the USB power source, not the board 2012-07-04T14:12:59 < tavish3> can I repair it? 2012-07-04T14:13:16 < TheSeven> for that you'd need to figure out what's broken in the first place 2012-07-04T14:13:54 < TheSeven> and shorting 5v to gnd will basically short the power supply, which can't hurt the board itself much 2012-07-04T14:14:07 < TheSeven> maybe one of the diodes or something... but unlikely if the USB power source was properly fused 2012-07-04T14:15:00 < karlp> ok, so I tested out all the combinations with least8_t and fast8_t and int and uint8_t 2012-07-04T14:15:03 < karlp> http://false.ekta.is/2012/07/code-size-changes-with-int-on-8bit-and-32bit-platforms/ 2012-07-04T14:15:22 < karlp> gcc for arm still has some work to go I reckon. 2012-07-04T14:17:42 < cjbaird> karlp: ..and from there, you can discover reorganizing switch statement expressions to shave a few bytes.. 2012-07-04T14:17:58 < karlp> oh fuck that 2012-07-04T14:18:07 < cjbaird> :D 2012-07-04T14:18:37 < karlp> but still, uint_fast8_t should be the same as an int. 2012-07-04T14:18:58 < TheSeven> tavish3: D1 could be dead 2012-07-04T14:19:22 < cjbaird> Have a look at the objdump, and see how the code differs? (I'm suspecting the uxtb instructions I mentioned before-- saw it a lot in the oringal stm6502 code) 2012-07-04T14:19:26 < TheSeven> if the power supply was very powerful 2012-07-04T14:21:39 < karlp> nah, I'm done. the bloat is somewhere in the newlib stuff that'ðs getting pulled in, not in these bytes 2012-07-04T14:21:51 < cjbaird> if you've got an ohmmeter handy... D1: ~2Mohm linear resistance one way, 5kohm the other (on board) 2012-07-04T14:24:17 < tavish3> TheSeven: okay, thanks. will try to do something about it. i put 3V on the 3V pin and the board still works 2012-07-04T14:24:37 < TheSeven> and if you put 5V on the 5V pin, does that work? 2012-07-04T14:25:01 < tavish3> yeah 2012-07-04T14:25:17 < TheSeven> but USB power doesn't? then it's definitely D1 2012-07-04T14:25:40 < TheSeven> if you don't care about power that's applied to the 5V pin leaking back onto the stlink USB power you can just bridge D1 2012-07-04T14:26:37 < tavish3> yeah, will probably have to do that 2012-07-04T14:37:17 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-04T14:44:16 < dongs> what the fuck F4 docs 2012-07-04T14:44:56 < dongs> Unique device ID register (96 bits) Base address: 0x1FFF 7A10 Address offset: 0x00 Bits 31:0 U_ID(31:0): 31:0 unique ID bits || next page Flash size Base address: 0x1FFF 7A10 Address offset: 0x00 2012-07-04T14:45:00 < dongs> ............... 2012-07-04T14:45:31 < dongs> so is f_size part of unique id or wat 2012-07-04T14:46:47 < ntfreak> dongs: Flash controller used on F2/F4 is very very slow at erase. 2012-07-04T14:47:10 < dongs> ntfreak: no kidding 2012-07-04T14:47:12 < dongs> BUT 2012-07-04T14:47:19 < dongs> if I erase from jlink/jflash its instant 2012-07-04T14:47:33 < dongs> at least nothing like 13 seconds for 400k anyway 2012-07-04T14:47:40 < dongs> chip erase is instant, sector erase is bearable 2012-07-04T14:48:13 < ntfreak> chip erase is instant on F1 parts but not F2/F4 2012-07-04T14:49:14 < ntfreak> ST used a diff flash controller 2012-07-04T14:49:47 < karlp> yeah, I saw that in the F4 docs. 2012-07-04T14:50:17 < karlp> good times 2012-07-04T14:52:42 < ntfreak> new F3 is using the old F1 flash controller, so erase is fast 2012-07-04T14:59:19 < ntfreak> Laurenceb: F5 - you sure ? 2012-07-04T15:00:39 < Laurenceb> 250MHz F4 so i hear 2012-07-04T15:01:42 < tavish3> 3.5MB/s SDIO read on stm32f407 :| something is wrong with my code 2012-07-04T15:06:23 < ntfreak> Laurenceb: just asked and F5 is not due until next year. 2012-07-04T15:06:42 < Laurenceb> :( 2012-07-04T15:06:49 < Laurenceb> who did you ask? 2012-07-04T15:07:01 < ntfreak> ST 2012-07-04T15:07:20 < Laurenceb> oh 2012-07-04T15:07:27 < Laurenceb> i thought it was secret 2012-07-04T15:07:59 < ntfreak> next cool device is the STM32F439 - onboard TFT etc 2012-07-04T15:08:37 < ntfreak> Laurenceb: we have nda's with st and beta test a lot of products 2012-07-04T15:08:42 < Laurenceb> ah 2012-07-04T15:08:44 < Laurenceb> cool 2012-07-04T15:11:54 < karlp> yeah, cjbaird: tossing out strtod is the big winner, size goes from 19k to 6k :) 2012-07-04T15:12:23 < karlp> but it was fun learning about the size impacts of int vs unsigned int and int_fast8_t vs int_least8_t :) 2012-07-04T15:12:41 < dongs> int_fast8_t vs int_least8_t wtf is that? 2012-07-04T15:13:46 < karlp> http://stackoverflow.com/questions/5254051/the-difference-of-int8-t-int-least8-t-and-int-fast8-t and my blog post earlier 2012-07-04T15:13:51 < karlp> I thought you loved blogging? 2012-07-04T15:35:18 -!- tavish3 [~tavish@59.177.73.10] has quit [Quit: leaving] 2012-07-04T16:01:37 < dongs> so uh.. where's unique_id on F4... teh datasheet liez 2012-07-04T16:27:18 < dongs> ntfreak: so do you have f3's reference manual? 2012-07-04T16:28:05 < ntfreak> yes 2012-07-04T16:29:38 < dongs> pass it over under irc nda plox. i promise i wont put it up on piratebay. 2012-07-04T16:30:46 < ntfreak> i will see if i can get a non watermarked version that can be released. 2012-07-04T16:39:56 < dongs> I have stuff that removes stuff from PDF but like I said I have no plans to share it. 2012-07-04T16:40:09 < dongs> just need to see some more details on the pga /comparators/ds adcs 2012-07-04T16:40:21 < dongs> could be a useful upgrade for esc32 2012-07-04T16:43:54 < Laurenceb> ooohh 2012-07-04T16:43:58 < Laurenceb> ref man? 2012-07-04T16:44:07 < Laurenceb> pleasey pleasey please please 2012-07-04T16:44:11 < dongs> NO! 2012-07-04T16:44:17 < dongs> you dont need it ;p 2012-07-04T16:46:42 < Laurenceb> http://www.emcu.it/STM32F3xx/STM32F3xx.html#Application_Notes_Manuals_etc 2012-07-04T16:46:55 < karlp> how long are they planning on sitting on it? it's on their web page as a public part 2012-07-04T16:47:03 < karlp> 32w has no ref man either :( 2012-07-04T16:48:25 < dongs> thats cuz it has top sekret wireless technology 2012-07-04T16:48:34 < Laurenceb> fail technology 2012-07-04T16:48:40 < Laurenceb> performance is crap 2012-07-04T16:50:50 < Laurenceb> http://www.b3tards.com/u/223fffe836ec818c3ab0/catyavin.jpg 2012-07-04T16:51:20 < BrainDamage> the EU parliament rejected ACTA with 478 voting against, 39 in favour, and 165 abstains 2012-07-04T16:52:53 < Laurenceb> woohoo 2012-07-04T16:53:16 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 244 seconds] 2012-07-04T16:54:23 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-04T16:56:42 < cjbaird> I guess the US will have to send in the Marines now.. 2012-07-04T16:57:36 < zyp> Laurenceb, performance is crap? what's your source for that? 2012-07-04T16:57:51 < Laurenceb> the datasheets 2012-07-04T16:58:09 < Laurenceb> silabs completely annihilates it for link budget 2012-07-04T16:58:37 < zyp> have you looked at the energy micro stuff? 2012-07-04T16:58:46 < zyp> and the nrf51? 2012-07-04T17:00:48 < ntfreak> karlp: as far as i know a ref manual was never made for the stm32w. ST and ember would just refer users to the F1x ref manual. 2012-07-04T17:01:35 < zyp> either way, the documentation for the radio peripheral is not available 2012-07-04T17:02:38 < karlp> which is the bit that's important 2012-07-04T17:06:21 < karlp> .text + .data are bigger than my linker script I says I have available, but it's not complaining? 2012-07-04T17:07:53 < jpa-> it complains for me just fine, "section won't fit" 2012-07-04T17:08:04 < zyp> it should 2012-07-04T17:08:47 < zyp> I'm betting that you're not counting the sizes correctly 2012-07-04T17:09:16 < dongs> just upgraded to crossworks 2.2 2012-07-04T17:09:18 < zyp> check LMA and VMA of the sections 2012-07-04T17:09:23 < dongs> apparently they broke code indexing... 2012-07-04T17:09:32 < dongs> so you cant fucking goto function/var/etc definitions 2012-07-04T17:09:37 < dongs> "going to be fixed in 2,3" 2012-07-04T17:09:41 < dongs> and this is shit im fucking paying for 2012-07-04T17:09:43 < dongs> RAGE. 2012-07-04T17:10:03 < dongs> if I wanted to edit code and not be able to crossreference shit i could just use lunix and vi or something. 2012-07-04T17:10:06 < karlp> where are LMA and VMA shown? 2012-07-04T17:10:28 < zyp> objdump -h 2012-07-04T17:10:39 < karlp> ahh, fixed it anyway, need to use powf and log10f instead of the double versiosn 2012-07-04T17:10:42 < karlp> saved a couple of k 2012-07-04T17:11:07 -!- pelrun_ [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 255 seconds] 2012-07-04T17:11:33 < zyp> for .data LMA is the flash addr and VMA is the ram addr 2012-07-04T17:11:45 < zyp> for other sections, LMA and VMA should be equal 2012-07-04T17:12:43 < karlp> right, but only .data and .text need to sum to be less than flash right? 2012-07-04T17:13:23 < zyp> karlp, check LMA of the last flash section, and add size to that 2012-07-04T17:13:34 < zyp> is it larger than the end of flash then? 2012-07-04T17:19:03 < karlp> http://pastebin.com/UnXz3m6C 2012-07-04T17:19:17 < karlp> by my counting, .data will run off the end off flash, but it didn't complain 2012-07-04T17:21:09 < zyp> yep, you're using 17036 bytes of flash 2012-07-04T17:21:22 < karlp> but that compiled fine, and gave no errors about overrunning rom 2012-07-04T17:21:54 < karlp> why are these aeabi functions so big? 2012-07-04T17:21:59 < zyp> so, is your flash size in the linker script really right? 2012-07-04T17:22:07 < karlp> the linker script says 16K 2012-07-04T17:22:30 < zyp> are you completely sure about that? 2012-07-04T17:22:48 < karlp> yes. 2012-07-04T17:23:46 < karlp> the rest of the linker script might have some errors in how it assigns sections to memory blocks that stops it from detecting the overflows? 2012-07-04T17:23:56 < karlp> it's the basic sections linker script fgrom libopencm3 2012-07-04T17:24:10 < zyp> got an url? 2012-07-04T17:25:06 < karlp> https://github.com/libopencm3/libopencm3/blob/master/lib/stm32/f1/libopencm3_stm32f1.ld 2012-07-04T17:25:32 < dongs> http://bcas.tv/paste/results/prS73d60.html 2012-07-04T17:25:35 < dongs> copy protection 2012-07-04T17:27:39 < karlp> seriously, what are all these aeabi_ functions, and why are they so enormous? 2012-07-04T17:28:37 < dongs> blogger to noise ratio 2012-07-04T17:59:37 < zyp> http://www.youtube.com/watch?v=WDdKwhN7wYk <- my roommate got inspired by this, so he's currently dicking around with making gdb play sounds 2012-07-04T18:02:25 < dongs> wghat the fuCK 2012-07-04T18:05:12 < cjbaird> Not sure if Serious. 2012-07-04T18:06:57 < cjbaird> I used to have IrcII and festival wired up together.. (I think pelrun gave me the idea, actually..) 2012-07-04T18:07:17 < karlp> man, there's people how think colour forth is a good idea, so why not have gdb yell at you 2012-07-04T18:12:35 < zyp> yeah, my roommate is also using festival 2012-07-04T18:13:31 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-04T18:30:04 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-04T18:35:08 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 245 seconds] 2012-07-04T18:51:40 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Read error: Connection reset by peer] 2012-07-04T19:17:53 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-04T19:26:32 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-04T19:36:41 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-04T19:48:11 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-04T19:58:56 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has quit [Quit: Leaving.] 2012-07-04T20:05:48 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2012-07-04T20:19:28 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-04T20:19:29 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-04T20:19:36 <+Steffanx> nu 2012-07-04T20:22:39 < jpa-> ni steffie 2012-07-04T20:22:41 < jpa-> *hi 2012-07-04T20:29:23 <+Steffanx> Good evening mr jpa- 2012-07-04T20:31:39 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-04T20:31:41 <+Steffanx> How's you doing? 2012-07-04T20:32:30 < TitanMKD> hi 2012-07-04T20:34:20 < jpa-> i'm still having trouble with my ball :F 2012-07-04T20:34:35 < jpa-> i have to extend my kalman filter model, but i don't know how much 2012-07-04T20:37:12 <+Steffanx> isn't Laurenceb our kalman expert? :0 2012-07-04T20:37:13 <+Steffanx> :) 2012-07-04T20:39:02 < jpa-> the filter is not the problem, the physics are :) 2012-07-04T20:39:37 < jpa-> basically i should just test different kinds of models to see what works best.. but i'm lazy 2012-07-04T20:40:37 <+Steffanx> Too bad 2012-07-04T20:41:43 <+Steffanx> When i look at your website you made things a lazy person couldn't have made :P 2012-07-04T20:42:15 < jpa-> i'm not always lazy, but when i am, i don't do things 2012-07-04T20:42:30 <+Steffanx> Nice flowers :) 2012-07-04T20:43:18 < jpa-> heh, i should make something cooler with the flexinol wire.. i think it is possible to teach it two different positions by adjusting the temperature carefully 2012-07-04T20:55:33 -!- mrick0363 [~emeric@AToulouse-551-1-59-209.w92-146.abo.wanadoo.fr] has joined ##stm32 2012-07-04T21:16:46 < Thorn> http://i.imgur.com/oC6jW.jpg 2012-07-04T21:17:59 <+Steffanx> Uh Thorn ?!?! 2012-07-04T21:18:12 <+Steffanx> 3000 board for a lcd? 2012-07-04T21:18:15 <+Steffanx> *boards 2012-07-04T21:18:20 <+Steffanx> and a led 2012-07-04T21:18:28 <+Steffanx> or is this your CAN stuff? 2012-07-04T21:18:45 -!- mrick0363 [~emeric@AToulouse-551-1-59-209.w92-146.abo.wanadoo.fr] has quit [Quit: Quitte] 2012-07-04T21:18:48 < Thorn> it's my CAN network 2012-07-04T21:19:20 < Thorn> so to say 2012-07-04T21:23:56 < Thorn> closeup attempt http://i.imgur.com/BvLAE.jpg 2012-07-04T21:24:38 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120615050910]] 2012-07-04T21:24:43 <+Steffanx> Good attempt :) 2012-07-04T21:24:46 < Thorn> need a lightbox for better lighting 2012-07-04T21:24:49 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-04T21:25:32 < Thorn> finally installed beeper circuit and dc/dc converter 2012-07-04T21:26:04 <+Steffanx> The 0.33F cap is used for the rtc? 2012-07-04T21:26:18 < Thorn> yes 2012-07-04T21:26:38 < Thorn> seems to be enough for a couple of days 2012-07-04T21:26:58 <+Steffanx> Not bad 2012-07-04T21:27:26 < Thorn> don't ask me how I installed them, mounting holes turned out to be way too small 2012-07-04T21:27:38 <+Steffanx> Ok, won't ask 2012-07-04T21:28:17 <+Steffanx> What's the plan with it? Or just something to play with CAN? 2012-07-04T21:28:29 < Thorn> also why I fried a dc/dc chip, too 2012-07-04T21:28:34 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2012-07-04T21:28:56 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-04T21:29:00 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-04T21:29:17 <+Steffanx> Fried the DC/DC converter? 2012-07-04T21:30:31 <+Steffanx> And .. you made it functional without the bmp? :D 2012-07-04T21:30:59 < Thorn> turns out if you solder it the wrong way it has zero chance of survival as the input voltage will be connected to something in the chip that can't stand that much voltage lol 2012-07-04T21:31:31 <+Steffanx> oops 2012-07-04T21:31:33 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-04T21:31:49 < Thorn> there's the debugger in the first picture 2012-07-04T21:35:07 < zyp> Thorn, lightboxes are overrated, just get a decent flash 2012-07-04T21:35:09 < Thorn> the pcb has a whole lot of small bugs (and one big) 2012-07-04T21:36:23 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Ping timeout: 245 seconds] 2012-07-04T21:36:48 < Thorn> need diffuse light 2012-07-04T21:37:31 < zyp> yep, a decent flash allows you to point it in another direction, to bounce the light off some surface 2012-07-04T21:37:36 < zyp> usually the ceiling 2012-07-04T21:38:12 < Thorn> I also sold my good camera to get a rigol 2012-07-04T21:38:32 < Thorn> thankfully I still have a pretty good lens 2012-07-04T21:38:44 < zyp> aw :p 2012-07-04T21:41:20 <+Steffanx> define: good camera and good lens 2012-07-04T21:42:02 < Thorn> nikon d80 and tokina 12-24 2012-07-04T21:42:28 < zyp> any modern camera with interchangeable lenses is rather good nowadays 2012-07-04T21:52:43 < Thorn> I need a real project 2012-07-04T21:54:58 <+Steffanx> me too 2012-07-04T21:59:27 < karlp> well, the old version of my project has decided now's the time to stop working 2012-07-04T21:59:35 < karlp> right when I'm actually using it. 2012-07-04T21:59:47 < karlp> it's going to make me actually watch the temperature of the kettle myself! 2012-07-04T22:03:14 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-04T22:03:16 < Laurenceb_> hi 2012-07-04T22:03:30 < Laurenceb_> did anyone grab the F3 reference manual in the end? 2012-07-04T22:14:51 -!- os-app92 [~ftw@226.200.69.86.rev.sfr.net] has joined ##stm32 2012-07-04T22:15:23 <+Steffanx> the beginning you mean 2012-07-04T22:29:06 -!- jaeckel [~jaeckel@jaeckel.eu] has joined ##stm32 2012-07-04T22:32:29 < Laurenceb_> does the DAC output behave like a resistive load? 2012-07-04T22:32:39 < Laurenceb_> if i put a cap on it would it reduce the noise? 2012-07-04T22:34:06 < jpa-> IIRC it has an internal buffer you can enable/disable 2012-07-04T22:34:44 < Laurenceb_> yeah 2012-07-04T22:34:52 < Laurenceb_> so without the buffer ? 2012-07-04T22:34:58 < Laurenceb_> its a resistor ladder? 2012-07-04T22:35:54 < jpa-> maybe :) 2012-07-04T22:36:30 < Laurenceb_> from the spec it looks to me like maybe a poor strength buffer 2012-07-04T22:36:46 < Laurenceb_> so perhaps just a capacitor on there will reduce the noise 2012-07-04T22:37:14 < Laurenceb_> guess i could experiment with a discovery board and a spectrum analyser 2012-07-04T22:42:24 <+Steffanx> Yes you could 2012-07-04T22:43:34 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-04T22:47:00 < Thorn> how do you determine if a particular inductor can be used at a particular frequency if there's absoultely no data in the datasheet except "inductances measured at 100 kHz?" no ferrite type, no self-resonant frequency, no nothing 2012-07-04T22:48:03 <+Steffanx> trial and error? 2012-07-04T22:49:13 < Thorn> this kind of error smells bad 2012-07-04T22:49:43 < Thorn> I loaded my dc/dc to about 1.5A and the inductor is cool (250kHz) 2012-07-04T22:49:53 <+Steffanx> You know what smells bad? 2012-07-04T22:49:57 <+Steffanx> My socks :P 2012-07-04T22:50:06 < Thorn> no 2012-07-04T22:50:20 < Thorn> burned components smell much worse 2012-07-04T22:52:14 <+Steffanx> You never wear your socks two weeks do you? :P 2012-07-04T22:53:35 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-04T22:56:52 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-04T23:06:17 < Laurenceb_> ewww 2012-07-04T23:07:03 <+Steffanx> Laurenceb_ goes for 3 weeks? 2012-07-04T23:15:32 < Thorn> output ripple is ~170mV @ 5V, after a 3.3V LDO ripple is ~25mV. is that bad? 2012-07-04T23:17:46 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 246 seconds] --- Day changed Thu Jul 05 2012 2012-07-05T00:05:32 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-05T00:28:04 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2012-07-05T00:39:42 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-05T00:45:25 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-05T00:52:58 < Laurenceb_> nice - F3 has an internal switchable resistor ladder to measure battery voltage 2012-07-05T00:56:12 <+Steffanx> And comparators :D 2012-07-05T00:57:01 <+Steffanx> that f3 is pretty fancy 2012-07-05T01:00:04 < Laurenceb_> i could redo my logger with just 20 components 2012-07-05T01:00:14 < Laurenceb_> and about 2x2cm pcb 2012-07-05T01:00:28 < Laurenceb_> first F1 version was 15x8cm 2012-07-05T01:01:22 <+Steffanx> 2x2 cm.. you wish :P 2012-07-05T01:03:48 < Laurenceb_> i want to try an stm based lipo charger 2012-07-05T01:04:09 <+Steffanx> booooom 2012-07-05T01:04:41 < Laurenceb_> hehe 2012-07-05T01:05:31 <+Steffanx> anyway, gn 2012-07-05T01:05:32 * Laurenceb_ zzz 2012-07-05T01:05:38 <+Steffanx> :) 2012-07-05T01:10:28 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 248 seconds] 2012-07-05T01:20:16 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-05T01:20:41 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 246 seconds] 2012-07-05T01:34:02 -!- os-app92 [~ftw@226.200.69.86.rev.sfr.net] has quit [Quit: My Mac has gone to sleep.] 2012-07-05T02:23:38 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-05T02:25:21 < dongs> sup dongs/trolls 2012-07-05T02:38:56 < dongs> why dont you actually do something once 2012-07-05T02:38:59 < dongs> instead of just blogging about it 2012-07-05T02:39:07 < dongs> next youre gonna wait for STM32F3-Discovery 2012-07-05T03:02:58 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-05T03:03:02 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-07-05T04:15:27 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-05T04:33:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-05T04:33:22 < R2COM> dongs 2012-07-05T04:33:41 < R2COM> if I'm correct you told me you pushed out max 20MBps transfer speed out of SD card? 2012-07-05T04:34:30 < dongs> megabytes 2012-07-05T04:34:32 < dongs> yes. 2012-07-05T04:34:32 < R2COM> hm, if yes, its kind of strange as i see it can go up to 800Mbps in SD mode 2012-07-05T04:34:33 < R2COM> oh 2012-07-05T04:34:37 < R2COM> megabytes 2012-07-05T04:34:49 < dongs> 20mbps would be utterly shit. 2012-07-05T04:34:59 < R2COM> thats what i thought 2012-07-05T04:35:46 < R2COM> soo... from some docs, i see that its theoretical max is around then... 100MBps (megabytes) 2012-07-05T04:36:34 < R2COM> f...if clocked with 200MHz 2012-07-05T04:37:01 < dongs> how are you gonna get 200mhz out of 168mhz F4 2012-07-05T04:37:04 < R2COM> so looks you were clocking it at around 60MHz or so, which makes sense for f4 2012-07-05T04:37:06 < R2COM> yes 2012-07-05T04:37:10 < R2COM> thats what i am talking about 2012-07-05T04:37:30 < R2COM> for frequency of about 50MHz, its like 25MBps theoretical max 2012-07-05T04:40:54 < R2COM> for MMC Plus cards it is 50MBps max, for microSD it is 25MBps (with 50MHz freq), now; what I'm wondering is, what if microSD is connected with same interface but through the adapter. Because, there are adapters MMC-microSD... i wonder would it be possible to push then microSD card speed or not. I have this adapter..came with Motorola phone long time ago 2012-07-05T04:41:17 < dongs> adapter is just 1:1 shit isnt it> 2012-07-05T04:41:20 < dongs> thres no electronics in it. 2012-07-05T04:41:38 < R2COM> hm.. yes 2012-07-05T04:41:41 < R2COM> or 2012-07-05T04:42:05 < R2COM> yeah i guess 2012-07-05T04:42:26 < R2COM> by the way 25MBps is also limit for SDIO interface 2012-07-05T05:13:41 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-05T05:31:20 < dongs> definitely lack of chats 2012-07-05T05:39:39 < cjbaird> stop submitting spincock apps, people: www.businessinsider.com/heres-why-it-really-sucks-to-be-an-app-reviewer-for-apple-2012-7 2012-07-05T05:57:19 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-05T05:57:27 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-05T06:04:58 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-05T06:04:59 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-05T06:05:17 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 2012-07-05T06:05:31 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-07-05T06:05:31 -!- dfletcher_ [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-07-05T06:05:37 -!- dfletcher_ is now known as drgreenthumb 2012-07-05T06:55:30 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-05T07:30:53 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 250 seconds] 2012-07-05T07:51:21 < dongs> start chatting now 2012-07-05T07:51:58 < zyp> no 2012-07-05T07:52:07 < dongs> status report. 2012-07-05T07:52:19 < zyp> still vacation 2012-07-05T07:52:26 < dongs> terrible 2012-07-05T07:53:29 < dongs> amazing, local RS has LM1881 in stock 2012-07-05T07:57:56 < cjbaird> F0disco has arrived. 2012-07-05T07:58:02 < dongs> congrats. 2012-07-05T07:58:04 < dongs> now you can join flyback 2012-07-05T08:00:21 < cjbaird> Everyone's invited. 2012-07-05T08:01:11 < cjbaird> Also scored the AVR32 8MB board, with, omg, non-arduino-compatible breakout pins! 2012-07-05T08:01:26 < dongs> well shit then its useless 2012-07-05T08:01:51 < dongs> if you cant fit http://www.adafruit.com/products/51 on it, its fucking garbage. 2012-07-05T08:03:41 < cjbaird> I'll install Gentoo on this thing, just to spite the Haters. 2012-07-05T08:10:08 < dongs> http://gapey.narod.ru/tqfp_32-64.jpg?rand=62072230556916 2012-07-05T08:10:46 < dongs> http://gapey.narod.ru/stm32.jpg?rand=174928339814000 lol 2012-07-05T08:17:10 < cjbaird> We missed the orgy at Bronycon. 2012-07-05T09:10:07 < R2COM> dongs, start arduino development now 2012-07-05T09:10:18 < R2COM> preferably, unite with flyback, and do some project together 2012-07-05T09:10:25 < dongs> teledildonics 2012-07-05T09:10:46 < R2COM> that works too 2012-07-05T09:12:58 -!- tavish3 [~tavish@120.56.174.12] has joined ##stm32 2012-07-05T09:29:12 < cjbaird> teleponiedonics is where the new big money is at 2012-07-05T09:31:20 * tavish3 googles teleponiedonics 2012-07-05T09:33:55 < cjbaird> That wouldn't be a wise thing to do. 2012-07-05T09:44:26 < dongs> ; _BYTE OSD_RAM[7200] 2012-07-05T09:44:28 < dongs> mhmmm. 2012-07-05T09:44:30 < dongs> 240x200? 2012-07-05T09:45:06 < dongs> 240 seems confirmed based on code,, but why 7200.. 240/8 = 30*200 = only 6000, theres some for VBI? 2012-07-05T10:51:18 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-05T10:52:35 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-05T10:54:49 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2012-07-05T11:02:30 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-05T11:10:45 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2012-07-05T11:11:53 < PaulFertser> Hi :) I've got an STM32F051 here, what can i use to access its serial bootloader? stm32flash would require some hacking to get it working. Any other options? 2012-07-05T11:14:37 < dongs> waht chip is taht 2012-07-05T11:14:46 < dongs> F0? 2012-07-05T11:14:49 < dongs> why would it requier hacking? 2012-07-05T11:14:50 < pelrun> http://code.google.com/p/stm32sprog/ ? 2012-07-05T11:14:55 < dongs> st flash loader demostrator should work with it? 2012-07-05T11:16:59 < PaulFertser> dongs: what's st flash loader demonstrator? 2012-07-05T11:17:14 < dongs> software you download off therie website 2012-07-05T11:17:20 < dongs> that supports all stm* series bootloaders 2012-07-05T11:17:40 < PaulFertser> pelrun: it's old as well, doesn't support id 0x440 2012-07-05T11:17:50 < PaulFertser> Which is reported by the chip i soldered. 2012-07-05T11:17:52 < pelrun> yeah, I just saw that 2012-07-05T11:18:12 < dongs> st website is so fucking useless. 2012-07-05T11:18:21 < PaulFertser> Indeed! 2012-07-05T11:18:22 < pelrun> hack on stm32flash to get it working, upload changes, everyone wins 2012-07-05T11:18:51 < dongs> http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/SW_DEMO/stm32-stm8_flash_loader_demo.zip 2012-07-05T11:19:41 < PaulFertser> dongs: i doubt that flash loader demonstrator can be used on any sane system, there's "MS-DOS executable PE for MS Windows (GUI) Intel 80386 32-bit" inside! 2012-07-05T11:19:51 < dongs> that sounds like your personal problem 2012-07-05T11:20:04 < PaulFertser> dongs: pardon? 2012-07-05T11:20:11 < dongs> PaulFertser: it works great for me. 2012-07-05T11:22:03 < PaulFertser> dongs: _that_ sounds like your personal problem as that would mean you're running a windows executable, and that usually is a whole world of pain. Also, the machine i have the device hooked up to is ARM-based (toshiba ac100 netbook). 2012-07-05T11:22:57 < PaulFertser> pelrun: sounds like a plan indeed, i just dropped by searching for a solution a bit easier :) 2012-07-05T11:23:40 < pelrun> oh absolutely, no need to reinvent the wheel unless it hasn't already been invented 2012-07-05T11:23:50 < dongs> yea, thats terrible. you probably think "vi" and "makefiles" is a great IDE as well. 2012-07-05T11:23:57 < dongs> you might evne use "gcc" for compiler 2012-07-05T11:24:06 < pelrun> vi: the interface is in your mind! 2012-07-05T11:24:14 * pelrun rolls eyes 2012-07-05T11:32:23 < PaulFertser> dongs: i wonder how much experience do you have in embedded, what RTOSs have you used, what projects have you implemented. 2012-07-05T11:40:40 < cjbaird> Hey, that wheel is made out of wood. Let's use that on your car. 2012-07-05T11:43:01 < dongs> PaulFertser: lets measure penis length instead. seems like a much more reliable method of determining superiority. 2012-07-05T11:46:04 < dongs> i fucking hate this mindset of most "lunix" users, that they're somehow fucking superior to * and that absoutely nothing professional/serious gets done unless you're using lunix. when infact most of them just spend days recompiling kernel and editing bullshit text files in /etc just to get their itch scratched "just right" or busy patching up 0day exploits in shitty stuff nobody cares about like lpr (lol @ lunix printing what a fucking joke) 2012-07-05T11:46:22 < cjbaird> poor dongy 2012-07-05T11:46:25 < dongs> i kno rite. 2012-07-05T11:47:06 < cjbaird> You could always like, use irc.microsoftcocksucknode.com instead. :) 2012-07-05T11:47:39 < cjbaird> Bet you're looking forward to the new Windows8 IDEs! :D 2012-07-05T11:47:56 < dongs> You bet. 2012-07-05T11:48:01 < dongs> VS2012 is looking better than ever. 2012-07-05T11:48:24 < dongs> it has been a great IDE since beginning, something most shitty embedded IDEs dont realize and try to reinvent the wheel, usually poorly. 2012-07-05T11:48:43 < dongs> atmel finally did the right thing and stopped wasting time develping their own and used vs.net shell and added in just their hardware-specific stuff/build tools 2012-07-05T11:49:01 < dongs> nothing comes close to vs editor/debugger/customizability etc. 2012-07-05T11:49:03 < PaulFertser> dongs: how else would i know if your statements about usability and compiler quality are true if i have no idea what you have implemented? What RTOS are you using on STM32 with what compiler? 2012-07-05T11:49:37 < dongs> I dont know shit, just leave it at that. 2012-07-05T11:49:50 < dongs> i'm a fucking idiot bceause I use windows and value my time 2012-07-05T11:52:11 < PaulFertser> dongs: my co-workers use windows too (gcc+Eclipse; What toolchain do you use with VS2012 to compile for STM32?) but i do not think they're more productive that way. Anyway, that's irrelevant to the questions _you_ raised. 2012-07-05T11:53:41 < dongs> in my current project, a real compiler produces 42k flash image for stm32f103. gcc with -Os, 68k. let's just leave it at that. 2012-07-05T11:55:54 < gsmcmullin> But dongs linked to libs built with -O0. 2012-07-05T11:56:16 < PaulFertser> That doesn't mean gcc is inherently bad. That might as well mean that you forgot to enable some optimisations or do static declarations etc etc. I'd like to see a small enough (to be able to comprehend fast) testcase showing gcc's weaknesses. Without that your point is moot. 2012-07-05T11:56:18 < dongs> ur so funneH 2012-07-05T11:56:30 < dongs> gcc has been fucking inherently bad ever since I fucking used it. 2012-07-05T11:56:43 < dongs> back when I was doing retarded BREW development, there was a choice of realview or freebie gcc trash 2012-07-05T11:56:54 < dongs> back then gcc couldnt even properly do ropi or passing varargs 2012-07-05T11:56:56 < dongs> i mean what the fuck 2012-07-05T11:57:10 < dongs> how fucking broken does your shit have to be to fail at varargs?$@#$ 2012-07-05T11:57:30 < dongs> and realview produced smaller binaries by factor of 10-20% everyfucking time 2012-07-05T11:59:49 < PaulFertser> I see. Guess you've exposed yourself enough. 2012-07-05T12:00:29 < dongs> yea I'm just a faggot. feel free to ignore. 2012-07-05T12:02:45 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Read error: Connection reset by peer] 2012-07-05T12:05:43 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-05T12:08:36 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-05T12:18:16 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Remote host closed the connection] 2012-07-05T12:19:34 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-07-05T12:19:35 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-07-05T12:19:35 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-07-05T12:20:13 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-05T12:22:51 < pelrun> PaulFertser, I see you are now well acquainted with our 'friendly' 'neighbourhood' troll. ;) 2012-07-05T12:24:19 < jon1012> who is the troll ? :) 2012-07-05T12:25:15 < pelrun> dongs 2012-07-05T12:25:37 < pelrun> don't mention linux or gcc or open source in his presence and he's usually okay 2012-07-05T12:25:39 < PaulFertser> pelrun: i'm ok with trolls unless they're giving OPs on a channel :) 2012-07-05T12:26:05 < pelrun> after a while his rants just become background noise :) 2012-07-05T12:27:33 < PaulFertser> btw, i'm considering stm32f0 as an alternative to avrs, the price is really attractive and it looks like it makes sense to improve support for f0 to have a nice cheap uC for hobby (and not so hobby) projects. 2012-07-05T12:30:13 < pelrun> join the gang 2012-07-05T12:30:50 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Read error: Connection reset by peer] 2012-07-05T12:30:52 < pelrun> I had a hard look at the F1 a while back for a project and decided I was never going back to the 8-bit avr's for anything 2012-07-05T12:31:11 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-05T12:31:16 < pelrun> didn't even bother looking at the f0's because the f1's were already under $2 at the low end 2012-07-05T12:32:32 < PaulFertser> Hm, f1 for less than two bucks in retail? 2012-07-05T12:32:36 < karlp> sure 2012-07-05T12:32:44 < pelrun> yeah, it's insane 2012-07-05T12:32:56 < karlp> also, really? the serial stm32flash things (there must be a dozen of them by now) care about chip id? 2012-07-05T12:33:10 < karlp> I thought it was just, "pull boot pins, reset, blast code over serial" 2012-07-05T12:33:19 < PaulFertser> karlp: they need to, read AN2606 2012-07-05T12:33:47 < PaulFertser> (which by the way lacks f0 description but it's not hard to get the needed info from the reference manual) 2012-07-05T12:36:12 < karlp> the Get-Version command (defined in AN3155) returns 0x20 instead of 2012-07-05T12:36:12 < karlp> 0x20. 2012-07-05T12:36:16 < karlp> heh, I love st docs. 2012-07-05T12:37:50 < PaulFertser> karlp: also stm32flash uses a helper to reset the chip which it loads to ram. Not sure if it works properly on f0 as armv6-m has some differences comparing to armv7-m. 2012-07-05T12:38:11 < karlp> where in AN2606 does it say anything about having to do things differently for the different chip ids for the uart bootloader? 2012-07-05T12:38:14 < pelrun> karlp, hahahahaha 2012-07-05T12:38:17 -!- cjbaird_ [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-05T12:38:21 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Remote host closed the connection] 2012-07-05T12:38:26 < pelrun> they must be using float compare 2012-07-05T12:38:51 < PaulFertser> karlp: different ram and flash boundaries, different write protect block size, etc 2012-07-05T12:39:35 < karlp> right, but I was under the impression that all the serial flashing tools just took a bin file, and started writing at 0x08000000 2012-07-05T12:39:39 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-05T12:39:51 < karlp> if they take elf files as input, ok, fine :) 2012-07-05T12:40:48 < karlp> pelrun: it's under a header that says, "returns 0x20 instead of 0x22", so it's not allll bad, just inconsistent 2012-07-05T12:41:14 < pelrun> consistency in documentation is a pain in the arse 2012-07-05T12:42:56 < karlp> it shouldn't be that hard to finish the f0 support in texane/stlink, but szczy seemed to be getting lost in it. 2012-07-05T12:43:18 < karlp> it should have just been adding chipids, and making sure that it selected the existing f1 flash loader. 2012-07-05T12:44:22 < PaulFertser> karlp: i think OpenOCD claims support for that already. 2012-07-05T12:44:45 < karlp> sure. 2012-07-05T12:45:10 < PaulFertser> With necessary amendments to the bootloader (to make it armv6-m compatible) etc. 2012-07-05T12:45:18 < PaulFertser> s/bootloader/flash loader/ 2012-07-05T12:45:33 < karlp> if only oocd actually worked for anything else 2012-07-05T12:46:48 < PaulFertser> karlp: what do you mean? We use OpenOCD extensively and i'm very happy to have this tool available. 2012-07-05T12:47:23 < karlp> last I tried it, it refused to work with my working gdb, 2012-07-05T12:47:31 < karlp> and the answer was, " your gdb is broken" 2012-07-05T12:47:45 < karlp> I find it an uncomfortable project to work with for _my_ needs, 2012-07-05T12:47:50 < karlp> which are not nearly as complex as oocd supports 2012-07-05T12:48:02 < PaulFertser> karlp: what exactly was the brokenness like? 2012-07-05T12:48:12 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-05T12:48:30 < PaulFertser> karlp: there's an issue with openocd - gdb interaction which requires additional configuration but that's mostly due to openocd lacking support, not gdb. 2012-07-05T12:48:31 < karlp> something in newest gdbs about asking the gdb server for register maps 2012-07-05T12:48:39 < karlp> yeah, but I asked oocd, 2012-07-05T12:48:40 < PaulFertser> karlp: easily workaroundable. 2012-07-05T12:48:45 < karlp> and they told me it was _my gdb_ that was wrong 2012-07-05T12:48:52 < pelrun> geez 2012-07-05T12:48:54 < PaulFertser> karlp: who they? 2012-07-05T12:48:57 < karlp> I just find it an awkward project :) 2012-07-05T12:49:05 < karlp> but hey, you asked about f0 flashing 2012-07-05T12:49:09 < karlp> and oocd works for that right? 2012-07-05T12:49:12 < karlp> so... problem solved? 2012-07-05T12:49:52 < pelrun> every time I look at openOCD my reaction is "fiiiiine, if I haaaave to" but luckily I usually don't XD 2012-07-05T12:49:56 < PaulFertser> karlp: i asked about flashing with a serial bootloader, not with stlinke. 2012-07-05T12:50:44 < PaulFertser> karlp: http://permalink.gmane.org/gmane.comp.debugging.openocd.devel/19391 2012-07-05T12:51:06 < PaulFertser> pelrun: how do you debug stuff? 2012-07-05T12:51:20 < pelrun> texane/stlink :) 2012-07-05T12:51:50 < karlp> PaulFertser: see, that's exactly my problem. you posted that in january. 2012-07-05T12:52:00 < PaulFertser> Ah, ok. I have a wider variety of platforms: stm32s, lpc2468, i.MX25... 2012-07-05T12:52:26 < karlp> PaulFertser: that too, my _simple_ needs are better served with less tcl 2012-07-05T12:52:33 < karlp> because I can get away with it. 2012-07-05T12:52:49 < pelrun> well, my recent platforms were avr32, some nasty decade-old TI dsp shit, etc etc 2012-07-05T12:52:52 < PaulFertser> Sounds reasonable. 2012-07-05T12:53:10 < pelrun> (not my choice, obviously) 2012-07-05T12:53:55 < PaulFertser> karlp: i faced it myself, had no other choice (means i had only Olimex ARM OCD, no stlink), googled for a while, found the answer. Then after someone else asked, i shared. 2012-07-05T12:54:24 < pelrun> I might end up needing openocd if I work on some of the other manufacturer's cortex-m's 2012-07-05T12:54:45 < karlp> yeah, for me it was, "why are you using stlink when oocd does everything moah bettah" 2012-07-05T12:54:52 < karlp> and then "oh, it flashs nice and fast, cool" 2012-07-05T12:55:02 < karlp> "oh, but my working gdb doesn't work with this?" 2012-07-05T12:55:04 < pelrun> otherwise it was all 8-bit uc's without decent debug support anyway 2012-07-05T12:55:06 < karlp> ---> back to stlink 2012-07-05T12:55:53 < pelrun> it's nice to have a tool that just does the right thing rather than need 5 years worth of configuration 2012-07-05T12:56:14 < karlp> but tcl! that makes anything better 2012-07-05T12:56:27 < pelrun> sounds like they fell into the turing trap 2012-07-05T12:57:17 < pelrun> "lets make our configuration file language turing complete! That'll make things heaps more flexible" 2012-07-05T12:57:23 < pelrun> (cue PAAAAAAAAIN) 2012-07-05T12:57:33 < pelrun> ask me how I know :P 2012-07-05T12:57:51 < PaulFertser> For well-supported chips OpenOCD configuration is just two obvious lines in config: 1st is the JTAG adapter used, 2nd is the target. 2012-07-05T12:59:01 < karlp> yeah, then this whole swd deal came up 2012-07-05T12:59:04 < PaulFertser> BTW, OpenOCD has now thread support for FreeRTOS, eCos and some other RTOSes. Allows for proper multi-thread debugging. 2012-07-05T12:59:04 < karlp> and it all went to shit 2012-07-05T12:59:51 < karlp> anyway, I think it's time for coffee and to start some real work for the day 2012-07-05T13:00:23 < PaulFertser> I had enough of the work yesterday, so will continue playing with f0 instead :) 2012-07-05T13:00:54 -!- jaeckel [~jaeckel@jaeckel.eu] has quit [Changing host] 2012-07-05T13:00:54 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-07-05T13:07:16 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 248 seconds] 2012-07-05T13:08:01 -!- cjbaird_ is now known as cjbaird 2012-07-05T13:15:39 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-05T13:15:42 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-05T13:23:28 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Ping timeout: 245 seconds] 2012-07-05T13:25:06 -!- jaeckel [~jaeckel@jaeckel.eu] has joined ##stm32 2012-07-05T13:25:07 -!- jaeckel [~jaeckel@jaeckel.eu] has quit [Changing host] 2012-07-05T13:25:07 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-07-05T13:25:09 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Excess Flood] 2012-07-05T13:26:06 -!- jaeckel [~jaeckel@jaeckel.eu] has joined ##stm32 2012-07-05T13:26:13 <+Steffanx> zlog 2012-07-05T13:26:13 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-07-05.html 2012-07-05T13:27:29 -!- jaeckel [~jaeckel@jaeckel.eu] has quit [Changing host] 2012-07-05T13:27:29 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-07-05T13:45:56 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Remote host closed the connection] 2012-07-05T13:48:00 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-05T13:48:27 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-05T13:49:59 < PaulFertser> pelrun: just as you suggested: http://code.google.com/p/stm32flash/issues/detail?id=29 , the next step would be to add the needed multilib config to summon-arm-toolchain i guess and also to figure out how the reset helper is supposed to work, heh 2012-07-05T13:50:09 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-05T13:50:24 < karlp> s-a-t is already multilib isn' it? 2012-07-05T13:50:27 < pelrun> rock on 2012-07-05T13:52:28 < PaulFertser> Yeah, it is, and that's rather cool. But it needs another profile for m0. 2012-07-05T13:55:10 < karlp> gcc-arm-embedded from launchpad is also multilib and works out of thebox. 2012-07-05T14:00:08 -!- tavish3 [~tavish@120.56.174.12] has quit [Ping timeout: 245 seconds] 2012-07-05T14:01:55 -!- tavish3 [~tavish@120.56.169.43] has joined ##stm32 2012-07-05T14:03:31 < PaulFertser> Pre-built? Hm, might be a good option too. 2012-07-05T14:04:05 < PaulFertser> Thanks for the pointer 2012-07-05T14:09:33 < PaulFertser> I probably know why stm32flash doesn't properly reset it. The reset helper is compiled for 0x20000200 but this is the reserved area on f0 and some other architectures, so it only works properly on devices that allow using that address. 2012-07-05T14:09:38 < PaulFertser> Now it's all crystal-clear. 2012-07-05T14:19:54 -!- tavish3 [~tavish@120.56.169.43] has quit [Ping timeout: 264 seconds] 2012-07-05T14:20:18 -!- tavish3 [~tavish@120.59.35.108] has joined ##stm32 2012-07-05T15:48:53 -!- tavish3 [~tavish@120.59.35.108] has quit [Ping timeout: 245 seconds] 2012-07-05T16:19:04 < dongs> placed an order for LM1881 in DIP 2012-07-05T16:19:06 < dongs> arrives tomororw 2012-07-05T16:19:12 < dongs> feeling liek flyback/avrfreak already. 2012-07-05T16:19:45 <+Steffanx> avrfreak.. i wonder if he's still alive 2012-07-05T16:19:51 < dongs> barely 2012-07-05T16:19:54 < dongs> he stops by efnut sometimes. 2012-07-05T16:19:59 <+Steffanx> Yeah? 2012-07-05T16:20:03 < dongs> Ya 2012-07-05T16:20:55 <+Steffanx> Always complaining about his pains, this and thats :D 2012-07-05T16:21:13 < Laurenceb> and ass 2012-07-05T16:21:19 <+Steffanx> No, not that 2012-07-05T16:21:22 < dongs> kinda like flyback 2012-07-05T16:21:38 <+Steffanx> A little yes 2012-07-05T16:21:51 <+Steffanx> No one likes that man, except me :P 2012-07-05T16:21:59 <+Steffanx> I can laugh with and about people like that 2012-07-05T16:22:11 < Laurenceb> i think he gets raped 2012-07-05T16:22:21 <+Steffanx> blablabla 2012-07-05T16:22:28 <+Steffanx> Laurenceb time to grow up 2012-07-05T16:22:57 < Laurenceb> nevar 2012-07-05T16:23:41 < Laurenceb> http://www.rathergood.com/seepage 2012-07-05T16:24:10 < dongs> i thought it was like 2012-07-05T16:24:11 < dongs> see page 2012-07-05T16:24:51 <+Steffanx> No thanks 2012-07-05T16:25:25 <+Steffanx> i'm not into 4chan related 'shit' 2012-07-05T16:28:21 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Remote host closed the connection] 2012-07-05T16:30:07 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-05T16:31:36 < dongs> <0708> lol, i read that as see page and thought it was interesting 2012-07-05T16:31:37 < dongs> loool 2012-07-05T16:32:11 < dongs> here's something written by Laurenceb http://www.chm.bris.ac.uk/sillymolecules/copperNTs.pdf 2012-07-05T16:32:14 <+Steffanx> #GNAA ? 2012-07-05T16:32:41 < cjbaird> Rathergood predates 4chon by a few good years.. 2012-07-05T16:33:00 <+Steffanx> "Laurence Blaxter" is not in the list dongs .. 2012-07-05T16:33:18 < dongs> Steffanx: he's under a pseudonim 2012-07-05T16:34:58 <+Steffanx> Laurenceb is more into things like this http://users.ox.ac.uk/~space/aims.html 2012-07-05T16:35:11 <+Steffanx> Don't hurt your eyes 2012-07-05T16:35:31 < dongs> lulz 2012-07-05T16:35:42 < cjbaird> I did shit like that once. The Newcastle Space Society webpage is even worse.. 2012-07-05T16:36:06 < cjbaird> Aha! http://www.nssa.com.au/nsfs/ 2012-07-05T16:36:06 <+Steffanx> :D :D 2012-07-05T16:36:24 <+Steffanx> Just as i expected .. FrontPage 2012-07-05T16:36:38 < cjbaird> "GIFs. Let me Dither them for you..." 2012-07-05T16:37:05 <+Steffanx> FrontPage, great tool 2012-07-05T16:37:18 < cjbaird> I was one of the founding members, circa 1993.. Dropped out when the rest of the guys decides to hold meetings in a Catholic Church. :P 2012-07-05T16:37:44 <+Steffanx> Stupid reason to drop out imho 2012-07-05T16:38:54 < cjbaird> Meh. Stinky old buildings. Stinky catholics. 2012-07-05T16:39:20 < Thorn> >As for the CuNT–BiNW heterojunction arrays, ... 2012-07-05T16:39:36 < Thorn> ^^ http://www.chm.bris.ac.uk/sillymolecules/copperNTs.pdf 2012-07-05T16:39:42 < cjbaird> Aside from a bit of model rocketry on the side, it didn't get up to much. 2012-07-05T16:40:07 <+Steffanx> Too bad 2012-07-05T16:40:29 <+Steffanx> The society still exists? 2012-07-05T16:40:36 <+Steffanx> oh, yes 2012-07-05T16:40:41 <+Steffanx> That website is up to date 2012-07-05T16:41:36 <+Steffanx> Now i understand why you left cjbaird 2012-07-05T16:41:42 <+Steffanx> http://www.nssa.com.au/nsfs/Calendars/Calendar2012.jpg "Where" 2012-07-05T16:42:02 < cjbaird> "Joy Cummings" :D 2012-07-05T16:42:37 < dongs> ahah. 2012-07-05T16:42:48 < cjbaird> Also the same town that's Federal Government Member was Richard Face.. https://en.wikipedia.org/wiki/Richard_Face 2012-07-05T16:48:17 < Laurenceb> lol atheotards 2012-07-05T16:48:29 -!- vpopov [~happylife@212.92.136.37] has joined ##stm32 2012-07-05T16:59:45 < Thorn> is stm32f2 dead (obsolete)? 2012-07-05T16:59:55 < dongs> seems utterly useless 2012-07-05T17:00:34 < Thorn> f3 marketing brochure says "... to complement STM32 F1 and F4 series" 2012-07-05T17:00:50 < dongs> F2 is F4 without ART and FPU 2012-07-05T17:00:58 < dongs> so its like.... ??? 2012-07-05T17:01:06 < dongs> oh and M3 vs M4 or wahtever. 2012-07-05T17:01:11 < dongs> or is F2 M4? i forget. 2012-07-05T17:01:22 < Thorn> no it's m3 2012-07-05T17:02:14 < Thorn> "The full STM32 portfolio now covers more than 350 devices." 2012-07-05T17:02:33 < Thorn> have they tried to get at least one of them right? 2012-07-05T17:02:47 < dongs> you sound like you should be designing the next arduino due 2012-07-05T17:04:28 < Thorn> arduino is Perfect, everybody knows that 2012-07-05T17:04:41 <+Steffanx> Perfect with a capital P .. :D 2012-07-05T17:05:02 <+Steffanx> So it's beyond perfect 2012-07-05T17:07:36 < zyp> doesn't F2 have ART? 2012-07-05T17:07:45 < dongs> i thoguht it or F3 doesnt. 2012-07-05T17:07:47 -!- izua [~izua@79.115.171.35] has joined ##stm32 2012-07-05T17:07:47 -!- izua [~izua@79.115.171.35] has quit [Changing host] 2012-07-05T17:07:47 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-05T17:07:50 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-05T17:07:57 <+Steffanx> F2 has it 2012-07-05T17:08:09 < dongs> hmm it does. oh well. 2012-07-05T17:08:28 < dongs> dongularity 2012-07-05T17:08:33 <+Steffanx> F3 .. not 2012-07-05T17:08:38 < dongs> correct. 2012-07-05T17:08:39 < zyp> yeah, I believe the only difference between F2 and F4 are M3 vs M4 and rated speed 2012-07-05T17:08:49 < dongs> but with CCM its good enough. 2012-07-05T17:09:01 < dongs> you can run shit from ram for max powah 2012-07-05T17:09:12 <+Steffanx> And it's 'only' 72MHZ 2012-07-05T17:09:16 <+Steffanx> The F2 120 2012-07-05T17:09:29 < dongs> well, I overclocked "only" 72 F1 to 144mhz. 2012-07-05T17:09:36 < dongs> totally production-ready! 2012-07-05T17:09:40 <+Steffanx> Suuure 2012-07-05T17:09:44 < dongs> i swear 2012-07-05T17:09:44 <+Steffanx> dongularity 2012-07-05T17:09:49 < zyp> you can't run shit from CCM 2012-07-05T17:09:55 < dongs> zyp: uh yes you can 2012-07-05T17:10:00 < zyp> CCM is hooked to data bus, not instruction bus 2012-07-05T17:10:48 < zyp> remember that M3 core are harvard architecture 2012-07-05T17:10:51 < dongs> 72 MHz/62 DMIPS (from Flash) or 94 DMIPS (from CCM-SRAM*) Cortex-M4 2012-07-05T17:10:51 < dongs> with single cycle DSP MAC and floating point unit 2012-07-05T17:11:03 < dongs> note "from CCM-SRAM" 2012-07-05T17:11:18 < dongs> CCM-SRAM* (core coupled memory): 8 Kbytes of SRAM mapped to the 2012-07-05T17:11:19 < dongs> instruction bus; critical routines loaded in the 8-Kbyte CCM at startup can be 2012-07-05T17:11:19 < dongs> completed at full speed with zero wait states, achieving 94 Dhrystone MIPS 2012-07-05T17:11:19 < dongs> and CoreMark score 155 at 72 MHz 2012-07-05T17:11:51 < zyp> oh, that's something else than the F4 CCM 2012-07-05T17:12:00 < dongs> yes, F4 cant do it 2012-07-05T17:12:52 < zyp> so F3 got instruction CCM, interesting 2012-07-05T17:13:56 <+Steffanx> And a STM32F3-DISCOVERY is september this year :) 2012-07-05T17:16:43 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 250 seconds] 2012-07-05T17:30:12 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-05T17:30:23 < karlp> what's ART? 2012-07-05T17:30:59 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Remote host closed the connection] 2012-07-05T17:31:26 < emeb> only the ART detector knows. 2012-07-05T17:32:00 < Laurenceb> adaptive runtime accelerator 2012-07-05T17:33:17 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-05T17:33:49 < dongs> Laurenceb: written about any CuNTs lately? 2012-07-05T17:36:15 < Laurenceb> i mostly just eat them 2012-07-05T17:36:39 < dongs> a likely scenario. 2012-07-05T17:39:42 < zyp> karlp, cache 2012-07-05T17:39:57 < zyp> mostly instruction cache, and some data cache 2012-07-05T17:40:35 < karlp> thanks, just foudn it in the sheet finally. 2012-07-05T17:44:36 -!- vpopov [~happylife@212.92.136.37] has quit [Ping timeout: 248 seconds] 2012-07-05T18:04:22 < karlp> ok, I finally rebuilt TNT and it does produce smaller, yet still functional binaries for my code. 2012-07-05T18:04:31 < karlp> about 1k/15k reduction 2012-07-05T18:07:15 <+Steffanx> And no multilib support .. 2012-07-05T18:09:18 < karlp> I'm only targetting m3 2012-07-05T18:09:23 < karlp> so that's currently ok for me. 2012-07-05T18:16:59 < dongs> some chinese co sent me a picture of their equipment 2012-07-05T18:17:15 < dongs> and one of the shits at thier factory is c alled 'Sodick' 2012-07-05T18:17:32 < dongs> looks liek some kinda CNC machine 2012-07-05T18:18:58 < dongs> http://en.wikipedia.org/wiki/Electrical_discharge_machining 2012-07-05T18:18:59 < dongs> wat 2012-07-05T18:19:32 <+izua> sparks, bro 2012-07-05T18:19:44 < dongs> Wire-cut EDM is typically used to cut plates as thick as 300mm and to make punches, tools, and dies from hard metals that are difficult to machine with other methods. 2012-07-05T18:20:44 < dongs> weird shit 2012-07-05T18:21:07 <+izua> there's also this method where you make a negative of your piece as a graphite electrode, and sink that in the workpiece 2012-07-05T18:22:46 < cjbaird> I got to see (..kinda, 'hear' more like) some EDM in action when a company was building this: http://hunter.apana.org.au/~cjb/Image/Newcastle_Space_Shuttle/ 2012-07-05T18:26:20 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-05T18:27:22 < zippe> cjbaird: love the spelling of Endeavour 2012-07-05T18:27:31 < dongs> wats this a shuttle clone? 2012-07-05T18:28:01 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-05T18:28:08 < karlp> what was the "other thigns" that sent them broke? just alluded to in the story 2012-07-05T18:29:08 < cjbaird> A 1:1 model, obviously. There's a photo of the /somewhat fake/ instrument panel. :) 2012-07-05T18:30:00 < dongs> http://i.imgur.com/mBd3V.jpg pretty good china CNC 2012-07-05T18:30:41 < zippe> Think the shuttle builder was Paul Dewhurst 2012-07-05T18:30:55 < zippe> Not certain, but he was a boat builder in the area 2012-07-05T18:31:07 < cjbaird> k: I can't recall exactly what causes the second build contract to fail-- the commissioner going bankrupt, or something like that. 2012-07-05T18:31:17 < zippe> There were at least three full-size built 2012-07-05T18:31:39 < zippe> http://forum.nasaspaceflight.com/index.php?topic=23263.0 2012-07-05T18:32:11 < dongs> IM NEO WANG 2012-07-05T18:32:56 < cjbaird> The first mock shuttle ended up at "Space World" https://en.wikipedia.org/wiki/Space_World .. The second made its way to a NASA spaceflight museum. 2012-07-05T18:33:36 < cjbaird> Lukeyson was the other founder of the Newcastle Space Society thingie.. 2012-07-05T18:34:17 < cjbaird> Hmm, they made three.. 2012-07-05T18:35:21 < zippe> Dammit, I need a floating point printer that doesn't need 1KiB of stack 2012-07-05T18:36:38 < cjbaird> http://goo.gl/maps/Rcve 2012-07-05T18:38:11 < dongs> zippe: heh 2012-07-05T18:45:34 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2012-07-05T18:58:11 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-05T19:02:56 < dongs> TIM_ITConfig and TIM_DMACmd are actually exactly same code 2012-07-05T19:03:03 < dongs> except for the uint16_t value passed 2012-07-05T19:05:05 < dongs> k, but its either top or bottom 8bits 2012-07-05T19:05:11 < dongs> top = DMA, bottom = IT 2012-07-05T19:17:13 < Laurenceb> what does fatfs disk err mean? 2012-07-05T19:17:18 < Laurenceb> bad right? 2012-07-05T19:17:24 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 2012-07-05T19:21:53 < dongs> lol 2012-07-05T19:21:56 < dongs> probably. 2012-07-05T19:21:59 < dongs> or you fucked up 2012-07-05T19:23:33 < Laurenceb> odd 2012-07-05T19:23:37 < Laurenceb> it was working 2012-07-05T19:23:48 < Laurenceb> the error has gradually got more common 2012-07-05T19:23:54 < Laurenceb> now it never boots 2012-07-05T19:27:57 < Laurenceb> is SD spi mode clk ok at 18mhz? 2012-07-05T19:33:04 < Laurenceb> wtf 2012-07-05T19:33:07 < Laurenceb> works at 9 2012-07-05T19:33:11 < Laurenceb> somethings wrong 2012-07-05T19:35:04 < Laurenceb> what the fuuuuu 2012-07-05T19:35:21 < Laurenceb> /dev/sdd: 2012-07-05T19:35:21 < Laurenceb> Timing buffered disk reads: 6 MB in 4.75 seconds = 1.26 MB/sec 2012-07-05T19:35:28 < Laurenceb> how is that even possible 2012-07-05T19:35:44 < Laurenceb> at 9mhz 2012-07-05T19:37:44 < Laurenceb> oh nvm 2012-07-05T19:37:52 < Laurenceb> it bypasses the actual card 2012-07-05T19:53:03 -!- Rickta59 [~Rickta59@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120615050910]] 2012-07-05T19:54:02 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-05T19:54:48 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-05T20:05:09 -!- Rickta59 [~kimballr@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-05T20:11:31 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-05T20:15:08 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-05T20:26:39 -!- Rickta59 [~kimballr@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Quit: leaving] 2012-07-05T20:28:14 -!- tavish [~tavish@120.56.135.82] has joined ##stm32 2012-07-05T20:28:15 -!- tavish [~tavish@120.56.135.82] has quit [Changing host] 2012-07-05T20:28:15 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-05T20:32:49 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-05T21:10:01 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-05T21:10:32 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-05T21:58:46 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-05T22:00:20 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-05T22:15:22 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-05T22:22:58 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-05T22:25:18 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-05T23:32:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] --- Day changed Fri Jul 06 2012 2012-07-06T00:18:57 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-06T00:30:12 < Laurenceb_> anyone here used fatfs with sd cards? 2012-07-06T00:31:03 <+Steffanx> dongs 2012-07-06T00:31:30 <+Steffanx> He's probably in dreamland though 2012-07-06T00:32:24 <+Steffanx> Weird though.. trolls should be awake at night 2012-07-06T00:33:11 < Laurenceb_> lol 2012-07-06T00:33:21 < Laurenceb_> i cant get spi to work reliable at 18mhz 2012-07-06T00:33:27 < Laurenceb_> *reliably 2012-07-06T00:35:24 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Read error: Operation timed out] 2012-07-06T01:04:35 < karlp> me. and it worked. and I know, I don't know the answer to the problem you were having with errors 2012-07-06T01:04:45 < karlp> I very occasionally had a card fail to mount at boot 2012-07-06T01:04:49 < karlp> but power cycling worked. 2012-07-06T01:12:55 < Laurenceb_> yeah thats what i see 2012-07-06T01:13:04 < Laurenceb_> but its more than occasionally 2012-07-06T01:13:24 < Laurenceb_> did you have any resistors between the stm and the card? 2012-07-06T01:17:27 < Laurenceb_> i stuck some 100ohm resistors in there to reduce risk of frying stuff 2012-07-06T01:17:42 < Laurenceb_> the weird thing is, with my previous board and 220ohm it works 2012-07-06T01:23:08 * Laurenceb_ zzz 2012-07-06T01:27:42 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-06T01:57:31 < dongs> > spi 2012-07-06T01:57:33 < dongs> found your problem 2012-07-06T02:00:07 < dongs> lo 2012-07-06T02:14:26 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 250 seconds] 2012-07-06T02:18:34 < dongs> sup bloggers 2012-07-06T03:15:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-06T03:36:57 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-06T04:00:27 -!- lawrenceseattle [~anonymous@66.192.187.106] has joined ##stm32 2012-07-06T04:17:38 < dongs> Hello, this product can be produced, but your product quantity is too small, wasting a lot of time, if the quantity we can out of a series of production programs, thank you 2012-07-06T04:17:42 < dongs> at least they're honest abouto wasting time. 2012-07-06T04:20:15 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-06T04:25:22 <+izua> dongs: did you have been as decided as serieng production of said product 2012-07-06T04:25:30 <+izua> seriesing* 2012-07-06T04:26:57 < dongs> izua: has anyone really been far even as decided to use even go want to do look more like? 2012-07-06T04:27:55 <+izua> 42 2012-07-06T04:33:20 < zippe> dongs: when how you decide not without because then after but next come early 2012-07-06T04:34:18 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 264 seconds] 2012-07-06T04:34:41 < dongs> super cool blog bro 2012-07-06T04:34:57 < dongs> twiddling thumbs until my LM1881/DIP shows up. 2012-07-06T04:52:54 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-06T05:02:58 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-06T05:03:07 < dongs> quick, hide your cp. cjbaird is here. 2012-07-06T05:09:10 < dongs> 'Facebook and others invest in 6,214-mile Asia-Pacific undersea internet cable' 2012-07-06T05:09:13 < dongs> now i can stalk faster 2012-07-06T05:09:14 < cjbaird> more like "cjbear, am i rite?" 2012-07-06T05:09:18 < dongs> urrite 2012-07-06T05:10:20 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-06T05:38:07 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 240 seconds] 2012-07-06T05:59:33 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-06T05:59:40 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-06T06:47:42 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-06T06:50:31 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Client Quit] 2012-07-06T06:50:49 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-06T07:34:05 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-06T08:08:50 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 255 seconds] 2012-07-06T08:09:35 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-06T09:51:48 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-06T09:54:09 -!- tavish3 [~tavish@59.177.78.217] has joined ##stm32 2012-07-06T10:16:56 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-06T10:52:42 -!- tavish3 [~tavish@59.177.78.217] has quit [Quit: leaving] 2012-07-06T11:11:28 < pelrun> gnarrrgghh 2012-07-06T11:12:18 < pelrun> my make seems to want to execute 'echo' as a process now (and obviously failing, because it's in the goddammed shell) wtf? 2012-07-06T11:12:45 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Read error: Connection reset by peer] 2012-07-06T11:13:06 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-06T11:13:23 < zippe> pelrun: make just passes everything to the shell 2012-07-06T11:13:32 < pelrun> I know 2012-07-06T11:13:38 < zippe> If your shell is running it as an external command, that's for you and your shell to argue over 2012-07-06T11:14:10 < pelrun> well, make is doing a CreateProcess("echo blahblah") which is just plain wrong 2012-07-06T11:18:41 < pelrun> aah, it's a known problem - looks like make decided I'm actually in a unix environment instead of windows 2012-07-06T11:19:01 < pelrun> time to go poke it with a stick until it changes it's mind again 2012-07-06T11:21:31 < pelrun> aha, I uninstalled stuff on my system and changed my PATH around 2012-07-06T11:27:14 < pelrun> I hate magical autodetect bullshit 2012-07-06T11:27:30 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-06T11:32:02 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Client Quit] 2012-07-06T11:41:26 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-06T12:03:29 -!- tavish3 [~tavish@59.177.78.217] has joined ##stm32 2012-07-06T12:10:15 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-06T12:20:23 < Laurenceb_> sup 2012-07-06T12:37:06 -!- tavish3 [~tavish@59.177.78.217] has quit [Read error: Connection reset by peer] 2012-07-06T12:40:16 < Laurenceb_> im trying to work out why my SD card isnt working 2012-07-06T12:40:41 < Laurenceb_> might it be possible to clk the spi on the card with high speed reflections on the bus? 2012-07-06T12:41:06 < Laurenceb_> if theres ringing at a few hundered mhz each clk edge? 2012-07-06T12:44:51 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2012-07-06T12:56:45 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-06T12:56:48 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2012-07-06T12:58:40 -!- tavish3 [~tavish@59.177.78.217] has joined ##stm32 2012-07-06T13:02:56 < dongs> hello dongs 2012-07-06T13:16:03 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-06T13:16:06 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-06T13:19:13 <+Steffanx> nu 2012-07-06T13:27:55 < pelrun> FUCK 2012-07-06T13:28:01 < pelrun> FUCK FUCK FUCK FUCK FUCK FUCK FUCK 2012-07-06T13:28:11 < pelrun> FUUUUUUCK 2012-07-06T13:28:26 <+Steffanx> No thanks 2012-07-06T13:28:42 * pelrun just found out what's involved in the safety standards for a project he's been sucked into 2012-07-06T13:29:13 < karlp> hehe 2012-07-06T13:29:16 < pelrun> essentially, impossible, expensive, and impossible 2012-07-06T13:29:23 < karlp> and time consuming 2012-07-06T13:29:40 <+Steffanx> bye bye project? 2012-07-06T13:29:41 < karlp> but it will save one burnt finger in 100000000 cases, so totally worth iy 2012-07-06T13:30:23 < pelrun> not to mention burying me in paperwork, forcing me to use SUBSTANDARD tools, and in the end not actually improving the safety of anything anyway 2012-07-06T13:31:13 < pelrun> and it's for something that in the worst case, just turns off 2012-07-06T13:35:18 < pelrun> how does forcing me to use hungarian notation make shit safer I wonder 2012-07-06T13:36:46 <+Steffanx> What? 2012-07-06T13:37:08 <+Steffanx> Can you say that again pelrun .. i think i misread that 2012-07-06T13:37:26 < pelrun> it's just one of the ramifications 2012-07-06T13:37:31 < karlp> no, you read it right 2012-07-06T13:37:50 < pelrun> YOU MUST USE HUNGARIAN NOTATION IN YOUR VARIABLE NAMING OR PEOPLE DIE! 2012-07-06T13:37:57 <+Steffanx> Which safety standard forces you to use hungarian notation?! 2012-07-06T13:38:03 < pelrun> fucking bureaucracy 2012-07-06T13:39:09 < pelrun> it's just part and parcel of the coding standards 2012-07-06T13:39:28 < pelrun> also YOU MUST USE THIS SPECIFIC MICROCONTROLLER FROM TI 2012-07-06T13:39:46 <+Steffanx> It's getting worse and worse 2012-07-06T13:39:52 <+Steffanx> I guess someone made a deal with TI 2012-07-06T13:40:29 < pelrun> no, TI spent the millions required to get a uC SIL-3 certified 2012-07-06T13:41:00 < pelrun> and it's like "if even one diode in your design doesn't have full certification, your whole system doesn't have full certification" 2012-07-06T13:41:25 <+Steffanx> Serious business … not something for me :) 2012-07-06T13:42:32 < pelrun> and all this project is supposed to do is broadcast a voice message to vehicles when a train is nearing a crossing 2012-07-06T13:42:44 < pelrun> all the signage and boomgates and stuff are still going to be there 2012-07-06T13:43:07 < pelrun> and the cars and trucks need a receiver to receive it anyway 2012-07-06T13:43:21 < pelrun> and the driver can just fucking ignore the warning 2012-07-06T13:43:28 < karlp> I was just thinking, you were starting to sound like rail or heavy machinery 2012-07-06T13:44:12 < pelrun> the requirements are so stupid it almost looks like a 'just walk away and don't even bother developing the system' 2012-07-06T13:44:36 < pelrun> so that's immediately a 100% fail rate BECAUSE of the safety standards 2012-07-06T13:44:43 < karlp> and just let the same few companies keep raking in money going, "but we're _safe_" 2012-07-06T13:44:43 < pelrun> good job assholes 2012-07-06T13:44:54 < pelrun> oh, the other thing I just found out 2012-07-06T13:44:59 < karlp> so many broken industries :| 2012-07-06T13:45:06 < pelrun> people give TUV millions to get certifications done 2012-07-06T13:45:08 <+Steffanx> This is in aussieland i guess pelrun ? 2012-07-06T13:45:22 < pelrun> TUV's certificates don't actually have the required accreditation logo on them 2012-07-06T13:45:29 < pelrun> so you aren't actually certified 2012-07-06T13:45:37 < pelrun> Steffanx, yeah, atm 2012-07-06T13:47:22 < pelrun> but the company is probably going to want to sell this stuff internationally 2012-07-06T13:47:36 < pelrun> which means europe, which means we're fucked 2012-07-06T13:48:02 < pelrun> and I thought CE was bad 2012-07-06T13:48:29 <+Steffanx> CE .. when you can make the logo as it should be you're done :P 2012-07-06T13:50:05 < pelrun> "China Exported" 2012-07-06T13:50:25 <+Steffanx> The chinese fail to get the logo right most of the itme .. 2012-07-06T13:50:32 < pelrun> I think that's on purpose 2012-07-06T13:50:41 <+Steffanx> possibly 2012-07-06T13:57:49 < cjbaird> who the well would buy something made in Australia... by australians? :P 2012-07-06T13:58:07 < pelrun> hah 2012-07-06T13:58:11 < pelrun> we're not britain 2012-07-06T13:58:24 < pelrun> our fire extinguishers don't spontaneously combust 2012-07-06T13:59:42 < cjbaird> Only because our companies are too cheap to buy the material which could actually burn. :P 2012-07-06T13:59:57 < pelrun> haha 2012-07-06T14:00:01 < pelrun> we make our shit from rocks 2012-07-06T14:00:11 < pelrun> and our rocks from shit 2012-07-06T14:01:16 < cjbaird> and the rock supervisor doesn't give a shit :P :) 2012-07-06T14:06:48 -!- tavish3 [~tavish@59.177.78.217] has quit [Ping timeout: 246 seconds] 2012-07-06T14:15:39 < cjbaird> pelrun: there's an ausleech LAN tomorrow. It's like the 10th anniversary.. 2012-07-06T14:16:46 -!- tavish3 [~tavish@59.177.78.217] has joined ##stm32 2012-07-06T14:18:40 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-06T14:31:20 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has joined ##stm32 2012-07-06T14:31:29 < bgamari> Does anyone have any good arguments against using bitfields for register access on ARM (where things generally need to be aligned) 2012-07-06T14:36:28 < zyp> yep 2012-07-06T14:36:43 < zyp> read the synopsys usb example code, and see how silly it looks :p 2012-07-06T14:42:30 < bgamari> hmm 2012-07-06T14:43:39 < bgamari> url? 2012-07-06T14:45:15 < zyp> it's in the usb examples for F4 2012-07-06T14:45:59 < zyp> anyway, what advantages do you see by using bitfields? 2012-07-06T14:50:50 < bgamari> zyp: Thanks, I'll have a look 2012-07-06T14:50:58 < bgamari> well, I don't really care one way or another 2012-07-06T14:51:28 < bgamari> but someone in the project is arguing that bitfields look nicer and are more debugger friendly 2012-07-06T14:51:37 < bgamari> the project=#mchck, by the way 2012-07-06T14:51:47 < bgamari> https://github.com/corecode/mchck/wiki 2012-07-06T14:52:36 < zyp> well, consider this; registers may trigger actions upon both read and write 2012-07-06T14:52:51 < bgamari> this is one of the reasons why I'm worried 2012-07-06T14:52:54 < zyp> and in some cases you might have to read or write several fields at the same time 2012-07-06T14:52:58 < bgamari> and this: http://jcardente.blogspot.com/2009/10/c-bitfields-and-hw-registers.html 2012-07-06T14:53:27 < zyp> so, what the synopsys code does is reading and writing the full register to a temp structure, and accessing that by bitfields 2012-07-06T14:53:41 < zyp> and that defeats some of the point of using bitfields 2012-07-06T14:54:00 < zyp> and IMO you don't really gain any advantage 2012-07-06T14:54:29 * bgamari wishes C were better at this 2012-07-06T14:54:54 < bgamari> the debugging advantage is valid, but I think you are otherwise correct 2012-07-06T14:55:10 < bgamari> it just doesn't seem like a good idea to leave so much up to the compiler 2012-07-06T14:56:42 < bgamari> I mean, we aren't looking to squeeze every instruction out of the device 2012-07-06T14:56:45 < karlp> if you're using bitfields, you'ðre going to have a bad day... 2012-07-06T14:56:57 < bgamari> but if correctness is in question, that is a big problem 2012-07-06T14:57:07 < Laurenceb> pelrun: ive just finished getting a medical product developed 2012-07-06T14:57:15 < Laurenceb> wasnt _that_ bad 2012-07-06T14:57:27 < bgamari> karlp: there are a lot of people saying similar things it seems 2012-07-06T14:57:37 <+Steffanx> Laurenceb and it's tested? 2012-07-06T14:57:45 < bgamari> I'm just having a hard time determining whether it's folklore or the truth 2012-07-06T14:57:48 < Laurenceb> EMC is 2012-07-06T14:58:18 < karlp> depends how much you want to test it bgamari. 2012-07-06T14:58:22 < Laurenceb> ive finished all the paperwork now 2012-07-06T14:58:26 < Laurenceb> took about 2 months 2012-07-06T14:58:38 < Laurenceb> few thousand pages 2012-07-06T14:58:39 <+Steffanx> the paperwork? 2012-07-06T14:58:46 < Laurenceb> for getting CE approval 2012-07-06T14:58:48 < karlp> I wasn't even using it for hw regs, just for some binary format on the wire, 2012-07-06T14:59:05 < karlp> found out that different compilers and archs have different ways of packing things by default. 2012-07-06T14:59:17 < karlp> it could have been beaten into shape with compiler attributes 2012-07-06T14:59:25 < karlp> but just not using bitfields made all the problems go away 2012-07-06T14:59:29 <+Steffanx> Laurenceb i have better things to do that wasting 2 months on that :P 2012-07-06T14:59:37 < bgamari> karlp: Thankfully this is code is very low-level 2012-07-06T14:59:42 < bgamari> so portability isn't an issue 2012-07-06T14:59:45 < bgamari> it's a bootloader 2012-07-06T15:00:17 < karlp> I would not use them, until I ran out of ram/flash 2012-07-06T15:00:27 < karlp> but I'm not very smrat. 2012-07-06T15:03:15 -!- izua [~izua@79.115.171.35] has joined ##stm32 2012-07-06T15:03:15 -!- izua [~izua@79.115.171.35] has quit [Changing host] 2012-07-06T15:03:15 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-06T15:03:18 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-06T15:03:20 < bgamari> does anyone know whether STM32Ls have any read-active registers? 2012-07-06T15:07:42 < zyp> sure, USART.DR for instance 2012-07-06T15:34:18 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 264 seconds] 2012-07-06T15:37:09 -!- tavish3 [~tavish@59.177.78.217] has quit [Quit: leaving] 2012-07-06T15:45:15 < pelrun> did someone mention bitfields? Is it too late to laugh my head off? 2012-07-06T15:45:23 < pelrun> avoid avoid avoid 2012-07-06T15:46:39 <+Steffanx> bgamari is still here, so it's not too late 2012-07-06T15:48:22 < pelrun> okay :D 2012-07-06T15:54:25 < bgamari> Hello! 2012-07-06T15:54:26 < bgamari> go for it 2012-07-06T15:54:40 < bgamari> It's alright, I think the consensus is to avoid bitfields 2012-07-06T15:54:52 < bgamari> but you can still laugh if you want 2012-07-06T16:05:03 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-06T16:06:37 < Laurenceb> pelrun: what are you trying to build? 2012-07-06T16:06:48 < Laurenceb> oh you're in australia 2012-07-06T16:06:57 < Laurenceb> crazy place 2012-07-06T16:07:51 <+Steffanx> No, Trollville is a good place to live in 2012-07-06T16:09:10 < pelrun> compared to the US it's relatively sane 2012-07-06T16:09:42 < pelrun> Laurenceb, this thing is a railway crossing early warning system 2012-07-06T16:09:52 < Laurenceb> ah 2012-07-06T16:10:07 < pelrun> tbh the certification requirements are looking less problematic on my end than I originally anticipated 2012-07-06T16:11:30 < cjbaird> Sounds like the safeworking people have been told to stop using Windows3.11 on Pentiums, at least. (Broadmeadow /decided/ that was the go back in '95..) 2012-07-06T16:12:05 < Thorn> is there a windows build of openocd (or any gdb server) that understands st-link v2? 2012-07-06T16:12:23 < Thorn> I want to play with my stm32f4discovery that I got 4 months ago 2012-07-06T16:12:46 < Thorn> I even bought a micro-usb cable, turns out default firmware implements a crappy joystick 2012-07-06T16:13:46 < karlp> in theory, the entir epoint of the texane/stlink --> autotools, was so that it would build and cross build for windows 2012-07-06T16:14:19 < karlp> whether that's actually true or not, I don't know. 2012-07-06T16:14:35 < pelrun> I'm using texane/stlink on windows right now 2012-07-06T16:15:29 < pelrun> I just put together an f4 stdperiph library project in eclipse 2012-07-06T16:15:49 < pelrun> my toolchain is starting to look pretty good 2012-07-06T16:16:14 < pelrun> still has that bullshit atollic linker script in it though 2012-07-06T16:16:29 < karlp> so, get one from libopencm3 or somewhere 2012-07-06T16:16:43 < pelrun> planning to, just not tonight :) 2012-07-06T16:18:02 < Thorn> pelrun: I take it you built stlink yourself? using cygwin? 2012-07-06T16:18:18 < pelrun> mingw32 actually 2012-07-06T16:18:22 < pelrun> cygwin bugs me 2012-07-06T16:18:40 < pelrun> was pretty close to a turnkey build 2012-07-06T16:20:13 < pelrun> aaah, right 2012-07-06T16:20:25 < pelrun> I commented out the pkg_config check for libusb 2012-07-06T16:20:49 < Thorn> but it does need libusb, doesn't it? 2012-07-06T16:20:55 < pelrun> oh absolutely 2012-07-06T16:21:00 < Thorn> I see 2012-07-06T16:21:17 < pelrun> it just stopped configure barfing when it couldn't confirm it's existence 2012-07-06T16:21:20 < Thorn> btw, is usb on f4 more sane to deal with than on f1? 2012-07-06T16:21:40 < pelrun> dunno about the actual usb support 2012-07-06T16:21:54 < pelrun> the st/link v2 stuff on the f4 board is definitely a bit less crap 2012-07-06T16:22:09 * pelrun hasn't written any stm32 usb code yet 2012-07-06T16:23:11 < pelrun> had to use zadig.exe to replace the default mass storage device driver with libusb for the f1 discovery board so stlink could see it 2012-07-06T16:23:19 < pelrun> shouldn't be necessary on the f4 2012-07-06T16:24:15 < Thorn> I think my windows installed drivers from st when I plugged the board in for the first time 2012-07-06T16:27:43 < pelrun> yeah, but st-util should still detect the board anyway without doing anything special 2012-07-06T16:28:42 < pelrun> yeah, just verified it 2012-07-06T16:40:40 < Thorn> okay, will be trying to build it, thanks 2012-07-06T16:42:00 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-06T16:51:54 < pelrun> https://dl.dropbox.com/u/23940316/st-util.exe if you have problems and are prepared to trust a random binary from some dude on the internet XD 2012-07-06T16:53:05 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-06T16:53:17 < pelrun> only funny thing is I wrapped it in a while(1) loop so it doesn't vanish when you disconnect gdb XD 2012-07-06T16:57:37 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 240 seconds] 2012-07-06T17:01:33 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-06T17:06:36 < Laurenceb> oh shit 2012-07-06T17:06:37 < Laurenceb> http://i.imgur.com/0R9VW.png 2012-07-06T17:06:41 < Laurenceb> thats my spi bus 2012-07-06T17:07:06 < Laurenceb> no wonder the card doesnt init 2012-07-06T17:07:30 <+Steffanx> looks great 2012-07-06T17:07:48 < Laurenceb> the ringing is so slow 2012-07-06T17:07:52 < Laurenceb> very weird 2012-07-06T17:10:15 < Laurenceb> oh wait 2012-07-06T17:10:20 < Laurenceb> thats one byte 2012-07-06T17:11:40 < Thorn> try sending 0xff and looking at mosi 2012-07-06T17:12:39 < Laurenceb> rage 2012-07-06T17:12:56 < Laurenceb> i added a resistor as i think itd bouncing up the scope cable 2012-07-06T17:12:59 < Laurenceb> now it works 2012-07-06T17:13:05 < Laurenceb> i hate these sort of problems 2012-07-06T17:15:53 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Read error: Connection reset by peer] 2012-07-06T17:18:28 < Laurenceb> http://i.imgur.com/JJYwV.png 2012-07-06T17:20:22 <+Steffanx> This is your profi board Laurenceb ? 2012-07-06T17:20:39 < Laurenceb> yes 2012-07-06T17:21:51 < Laurenceb> thats when the card works 2012-07-06T17:22:11 < Laurenceb> i wonder what the logic levels are 2012-07-06T17:27:14 < Oldboy> Laurenceb: how did you finally scope it ? 2012-07-06T17:28:08 < Laurenceb> used a 1K resistor and scaled the signal 2012-07-06T17:28:24 < Laurenceb> !K then 50K impedance match 2012-07-06T17:28:27 < Laurenceb> *1 2012-07-06T17:28:35 < Laurenceb> 50ohm 2012-07-06T17:33:01 < Laurenceb> it works most of the time with the impedance network connected 2012-07-06T17:33:13 < Laurenceb> i suspect clk isnt falling fast enough 2012-07-06T17:33:33 < Laurenceb> and the stm is sampling the wrong data 2012-07-06T17:38:21 < Oldboy> what does the board look like ? 2012-07-06T17:38:46 < Oldboy> k. you've already posted the pic. 2012-07-06T17:39:05 < Laurenceb> http://i.imgur.com/rpTNG.png 2012-07-06T17:39:32 < Laurenceb> im scoping R21 2012-07-06T17:40:19 < Laurenceb> not sure what to try next 2012-07-06T17:40:26 < Laurenceb> increasing or decreasing R21 2012-07-06T17:40:35 < Laurenceb> atm its 220ohm 2012-07-06T17:41:24 < Laurenceb> if i decrease i get more ripple but faster drop 2012-07-06T17:57:35 < Thorn> wtf. the board is small and the frequency is only 20MHz if I got it right 2012-07-06T17:58:14 < Oldboy> I think you can get that kind of problem at low frequencies if the driving circuit has too high slew rate 2012-07-06T17:58:21 < Oldboy> overspec'd parts 2012-07-06T17:58:27 < Oldboy> but I'm no expert. 2012-07-06T17:58:40 < Thorn> stm32 has no slew rate control 2012-07-06T17:59:16 < Thorn> lm3s do iirc 2012-07-06T18:00:01 < Thorn> I think I did run spi at 20MHz on my boards and it worked fine, even with a crappy scope probe connected 2012-07-06T18:00:34 < Oldboy> I think he said his board runs fine with the scope connected 2012-07-06T18:00:57 -!- szczys [~mike_szcz@68-117-130-137.dhcp.mdsn.wi.charter.com] has joined ##stm32 2012-07-06T18:03:39 < szczys> If I'm using a linked list, and I no longer need a node, how do I remove that struct from memory? 2012-07-06T18:05:26 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-06T18:05:27 < Thorn> pelrun's st-util.exe actually works 2012-07-06T18:07:22 < szczys> ah, found it... using the free() to release the malloc() memory 2012-07-06T18:09:16 < BrainDamage> remember to adjust the pointers to fix the loop integrity 2012-07-06T18:09:34 < Laurenceb> it doesnt run fine with scope 2012-07-06T18:09:40 < Laurenceb> it runs more reliably 2012-07-06T18:09:46 < Laurenceb> tried 0 ohm and 330ohm 2012-07-06T18:09:53 < Laurenceb> no luck 2012-07-06T18:10:03 < Laurenceb> 330 is best, but its still unreliable 2012-07-06T18:10:11 < Laurenceb> works if the board is hot 2012-07-06T18:10:21 < Thorn> scope is basically an RC circuit, no? 2012-07-06T18:10:22 < BrainDamage> probably parasitic cap & resistance of the scope damp your ringing? 2012-07-06T18:10:28 < Laurenceb> yeah 2012-07-06T18:12:15 < Oldboy> try a ferrite bead choke ? 2012-07-06T18:12:49 < Laurenceb> heh 2012-07-06T18:14:10 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-06T18:16:38 < karlp> szczys: you can try just dropping bsd's queue.h into your project.. 2012-07-06T18:17:52 < szczys> karlp: that looks like a convenient little library. Thanks! 2012-07-06T18:23:43 < Laurenceb> does the spi bus have any sensing of the MOSI pin state? 2012-07-06T18:23:48 < Laurenceb> in master mode 2012-07-06T18:24:45 < Thorn> afaik no 2012-07-06T18:25:17 < Laurenceb> with scope on MOSI it works 2012-07-06T18:25:38 < Laurenceb> it looks very ringing before the resistor 2012-07-06T18:25:51 < Laurenceb> after 100ohm resistor its clean 2012-07-06T18:26:13 < Laurenceb> theres ringing between the stm and the resistor only 2012-07-06T18:26:17 < Laurenceb> and its very bad 2012-07-06T18:26:52 < zippe> Laurenceb: what's the pad slew configured for? 100MHz mode? 2012-07-06T18:27:14 < Laurenceb> 50 2012-07-06T18:27:16 < Laurenceb> its F1 2012-07-06T18:29:57 -!- szczys [~mike_szcz@68-117-130-137.dhcp.mdsn.wi.charter.com] has quit [Quit: Leaving] 2012-07-06T18:47:51 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-06T20:05:16 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-06T20:08:13 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-06T20:38:58 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-06T20:41:32 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-06T20:50:09 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-06T21:27:53 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2012-07-06T21:28:21 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-06T21:28:24 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-06T21:49:10 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-06T22:22:35 * Laurenceb_ is pondering how to speed up usb mass storage 2012-07-06T22:22:49 < Laurenceb_> atm the usb and sd transfers are seperate 2012-07-06T22:23:05 < Laurenceb_> MAL_Read(lun , 2012-07-06T22:23:05 < Laurenceb_> Offset , 2012-07-06T22:23:05 < Laurenceb_> Data_Buffer, 2012-07-06T22:23:05 < Laurenceb_> This_SD_Transfer); 2012-07-06T22:23:05 < Laurenceb_> USB_SIL_Write(EP1_IN, (uint8_t *)Data_Buffer, BULK_MAX_PACKET_SIZE); 2012-07-06T22:23:28 < Laurenceb_> ^im wondering how i can get the usb transfer to be simultanious with sd transfer 2012-07-06T22:23:40 <+Steffanx> time to use dma? 2012-07-06T22:23:43 < Laurenceb_> thats how its done at the moment, completely seperate 2012-07-06T22:23:47 < Laurenceb_> i already use dma 2012-07-06T22:23:57 < Laurenceb_> both those functions use dma 2012-07-06T22:24:13 < Laurenceb_> but they poll to complete 2012-07-06T22:24:34 < Laurenceb_> ill see how chibios does it first 2012-07-06T22:30:44 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 246 seconds] 2012-07-06T22:31:33 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-06T22:34:12 < Laurenceb_> hmm looks like chibios examples dont use sd card 2012-07-06T22:59:58 <+Steffanx> dongs is too quiet 2012-07-06T23:00:02 <+Steffanx> zlog 2012-07-06T23:00:02 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-07-06.html 2012-07-06T23:07:33 < Laurenceb_> i think i can make this work 2012-07-06T23:08:03 < Laurenceb_> it "precaches" the next block after each read 2012-07-06T23:08:20 < Laurenceb_> whilst the usb is transferring the previous transfer 2012-07-06T23:09:23 < Laurenceb_> gets rather complex as blocks are 512bytes and usb is 64bytes 2012-07-06T23:21:27 < Laurenceb_> nice - got 1.3MB/s off some "mass storage" in ram 2012-07-06T23:21:40 < Laurenceb_> thats very close to theoretical 2012-07-06T23:24:26 -!- lawrenceseattle [~anonymous@66.192.187.106] has joined ##stm32 2012-07-06T23:25:06 <+Steffanx> W00t w00t Laurenceb_ 2012-07-06T23:25:23 <+Steffanx> You really work all the long on your phd project Laurenceb_ ? 2012-07-06T23:25:32 < Laurenceb_> yes 2012-07-06T23:25:48 <+Steffanx> Man, doesn't that get really really boring? 2012-07-06T23:25:50 < Laurenceb_> im aiming to complete it by the end of this year 2012-07-06T23:25:59 <+Steffanx> i mean really really really boring 2012-07-06T23:26:03 < Laurenceb_> so its a little mental atm 2012-07-06T23:26:06 < Laurenceb_> shrug 2012-07-06T23:26:23 < Laurenceb_> only about 30% of the work is coding 2012-07-06T23:26:26 <+Steffanx> The end of the year, that's like … 6 months 2012-07-06T23:26:33 < Laurenceb_> was working on hardware all day 2012-07-06T23:26:52 < Laurenceb_> yeah - I have to get CE approved hardware in use in a Hospital 2012-07-06T23:27:16 < Laurenceb_> +Medical devices directive + ISO10993 etc etc 2012-07-06T23:28:24 < Laurenceb_> the paperwork is way more boring than anything else 2012-07-06T23:35:17 < BrainDamage> what's the actual project if it can be said? 2012-07-06T23:37:27 < Laurenceb_> im not supposed to say now we signed agreements :P 2012-07-06T23:37:31 < Laurenceb_> nut nvm 2012-07-06T23:37:34 < Laurenceb_> *but 2012-07-06T23:37:41 < Laurenceb_> its a stick on plaster 2012-07-06T23:37:59 < Laurenceb_> with air pocket and a "spectrometer" 2012-07-06T23:38:23 < Laurenceb_> it applies pressure to the skin to squeeze the blood out and let it return 2012-07-06T23:39:31 < Laurenceb_> from the spectrum vrs time you can work out lots of nice stuff like tissue metabolic rate 2012-07-06T23:40:58 < BrainDamage> nice, is that something for "everyone", or limited scope? 2012-07-06T23:42:10 < Laurenceb_> its for premature babies 2012-07-06T23:42:58 < BrainDamage> ok, latter then 2012-07-06T23:44:31 < Laurenceb_> but im sure it could have other uses 2012-07-06T23:44:43 < Laurenceb_> im just not 100% sure about the plaster idea 2012-07-06T23:44:59 < Laurenceb_> im presently trying to build one of the stick on sensors 2012-07-06T23:45:10 < Laurenceb_> but i think a clip on one would be better 2012-07-06T23:45:35 < Laurenceb_> all the clinical guys arent convinced... I may have an argument with them at some point 2012-07-06T23:48:43 < Laurenceb_> its annoying - we have loads of funding but im the only person working on the project 2012-07-06T23:48:53 < Laurenceb_> so progress is limited :( 2012-07-06T23:50:09 < BrainDamage> loads of funding = hire external contractors? 2012-07-06T23:51:38 < Laurenceb_> heh i doubt it would work 2012-07-06T23:51:59 < Laurenceb_> my supervisor was made head of faculty last year so he hasnt got time to organise any more students :( 2012-07-06T23:58:15 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has joined ##stm32 --- Day changed Sat Jul 07 2012 2012-07-07T00:06:07 < Thorn> project idea: electronic load / psu tester, measures U/I on input & output, calculates efficiency, can change load resistance to evaluate transient response of the psu. is it viable? 2012-07-07T00:09:55 < BrainDamage> should be 2012-07-07T00:10:56 < lawrenceseattle> thought you could buy em 2012-07-07T00:12:08 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has quit [Read error: Connection reset by peer] 2012-07-07T00:12:50 < Thorn> for how much? 2012-07-07T00:16:32 < Thorn> and what power should I be aiming for? 2012-07-07T00:25:43 < lawrenceseattle> well if its for a psu you gotta handle 20A+ right? 2012-07-07T00:30:22 < Thorn> depends. small onboard dc/dc converters also need testing 2012-07-07T00:37:07 < BrainDamage> the main issue is the giant heatsink and amount of mosfets you need 2012-07-07T00:37:34 < BrainDamage> since you'd be operating them in linear region, you get full Vcc*IL dissipation 2012-07-07T00:37:42 < Thorn> right, and the price will depend greatly on that 2012-07-07T00:38:15 < BrainDamage> retarded idea: 2012-07-07T00:38:25 < BrainDamage> water jacket, and allow one to use tap water to cool it 2012-07-07T00:38:34 < BrainDamage> this will allow to cut heatsinking costs considerably 2012-07-07T00:38:39 < BrainDamage> as well as make the device more compact 2012-07-07T00:38:48 < BrainDamage> ofc it has the cons it requires a water supply 2012-07-07T00:48:16 < Laurenceb_> arg 2012-07-07T00:48:25 < Laurenceb_> i need to rewrite SD driver code 2012-07-07T00:48:41 < Laurenceb_> anyone here written SD interface code 2012-07-07T00:51:06 < Laurenceb_> i think i need CMD18 - multiblock read 2012-07-07T01:20:01 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2012-07-07T01:24:59 < dongs> <+Steffanx> dongs is too quiet 2012-07-07T01:25:02 < dongs> thats cuz i was sleeping 2012-07-07T01:26:40 < Laurenceb_> dongs: can you help me with sd cards? 2012-07-07T01:26:44 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/4f750adcb5137b7ca318efe0583acbba6657f34b/Util/fat_fs/src/sd_spi_stm32.c#L852 2012-07-07T01:26:50 < Laurenceb_> ^why do they loop there? 2012-07-07T01:27:03 < Laurenceb_> and not just call it with size equal to the multiblock size 2012-07-07T01:27:29 < dongs> lets see 2012-07-07T01:27:35 < dongs> oh youre using spi you fuck 2012-07-07T01:27:49 < dongs> i only did the shit using PROPER STUFF like you know SDIO 2012-07-07T01:27:57 < dongs> ah 2012-07-07T01:27:59 < Laurenceb_> rcvr_datablock is doing extra transfers on the beginning and end for some reason 2012-07-07T01:27:59 < dongs> buti have similar code in sdio 2012-07-07T01:28:00 < dongs> sec 2012-07-07T01:28:11 < Laurenceb_> but i dont know if that actually does anything 2012-07-07T01:28:33 < Laurenceb_> im trying to speed up my usb transfers by allowing sd transfer to occur at same time as usb 2012-07-07T01:29:15 < Laurenceb_> CMD18 is supposed to allow multiblock? 2012-07-07T01:29:32 < dongs> i dont see what hte prblem is actually? 2012-07-07T01:29:38 < dongs> if sector count to read is 1 2012-07-07T01:29:41 < dongs> it does single block transfer 2012-07-07T01:29:49 < dongs> otherwise, sends cmd18, reads multiple blocks, sends cmd12 2012-07-07T01:29:54 < dongs> where d oyou see it reading extra shit? 2012-07-07T01:30:26 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/4f750adcb5137b7ca318efe0583acbba6657f34b/Util/fat_fs/src/sd_spi_stm32.c#L621 2012-07-07T01:30:35 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/4f750adcb5137b7ca318efe0583acbba6657f34b/Util/fat_fs/src/sd_spi_stm32.c#L630 2012-07-07T01:30:42 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/4f750adcb5137b7ca318efe0583acbba6657f34b/Util/fat_fs/src/sd_spi_stm32.c#L646 2012-07-07T01:30:59 < dongs> man 2012-07-07T01:31:03 < Laurenceb_> those places in the function that gets called 2012-07-07T01:31:04 < dongs> whjy hte fuck did you use spi?? 2012-07-07T01:31:14 < Laurenceb_> i can use lqfp48 micro 2012-07-07T01:31:23 < dongs> orite. 2012-07-07T01:31:55 < dongs> my mmc code looks same 2012-07-07T01:32:00 < dongs> and im pretty sure that comes from ff guy 2012-07-07T01:32:10 < Laurenceb_> ewww 2012-07-07T01:32:27 < Laurenceb_> so theres CRC for each block? 2012-07-07T01:32:54 < dongs> wouldnt be too surprised 2012-07-07T01:33:07 < Laurenceb_> and you have to busy wait for each block transfer to be ready? 2012-07-07T01:33:18 < dongs> well yeah. 2012-07-07T01:33:22 < dongs> how else would it work? 2012-07-07T01:33:26 < Laurenceb_> arg 2012-07-07T01:33:30 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-07T01:33:30 < dongs> you could use DMA like a good guy. 2012-07-07T01:33:36 < Laurenceb_> sure i do 2012-07-07T01:33:38 < Laurenceb_> hmf 2012-07-07T01:33:56 < dongs> time to put sd shit into a separate thread? 2012-07-07T01:34:01 < dongs> is it blocking your other stuff? 2012-07-07T01:34:05 < Laurenceb_> yeah 2012-07-07T01:34:08 < Laurenceb_> arg 2012-07-07T01:34:13 < Laurenceb_> im not running an rtos 2012-07-07T01:34:18 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 245 seconds] 2012-07-07T01:34:51 < dongs> but yeah 2012-07-07T01:34:55 < dongs> even sdio version waits 2012-07-07T01:35:13 < Laurenceb_> massive pita 2012-07-07T01:36:10 < dongs> ya,, another code I have that has sd with rtos 2012-07-07T01:36:20 < dongs> they just have yields() in disk_read loops 2012-07-07T01:36:34 < Laurenceb_> eww 2012-07-07T01:36:37 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-07T01:36:42 < dongs> while (status==sd_busy) yueld(1); heh 2012-07-07T01:36:58 < dongs> shrug, seems to work 2012-07-07T01:39:43 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-07T01:45:09 < Laurenceb_> hehe theres one way to get a large speedup 2012-07-07T01:45:34 < Laurenceb_> set the allocated buffer size to 512 bytes 2012-07-07T01:45:55 < Laurenceb_> and put that in the scsi msc header 2012-07-07T01:46:24 < Laurenceb_> then i can have 8 usb transfers firing off during each block transfer 2012-07-07T01:46:44 < Laurenceb_> should give me almost as much speedup as what i was trying to code before 2012-07-07T01:47:31 < Laurenceb_> atm my transfers are really slow as it talks to usb... grabs a transfer over spi... then transfers back over usb 2012-07-07T01:48:30 < Laurenceb_> if i can interleave it it will be about 3 times and even if i run the spi at only 9mhz itll be almost throttled by the usb 2012-07-07T01:49:31 < Laurenceb_> i was just trying to make it use massive dma buffers of about 10KB or so, but it wont work due to the busy wait stuff it seems 2012-07-07T02:18:58 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-07T02:21:43 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 2012-07-07T02:22:08 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-07T02:34:00 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/master/Util/USB/memory.c#L68 2012-07-07T02:34:01 < Laurenceb_> done 2012-07-07T02:40:49 < Laurenceb_> in b4 "that code is hideous" 2012-07-07T02:46:31 < cjbaird> At least it isn't C pretending to be assembler, like I see in a lot of MSP430 code.. 2012-07-07T02:47:42 < cjbaird> (The latest to-do project is getting a '430 writing to an SDCard via SPI.. Will code it in assembler.) 2012-07-07T02:51:08 < Laurenceb_> right, zzz time 2012-07-07T02:51:10 < Laurenceb_> cya 2012-07-07T02:52:15 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-07T02:57:06 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-07T03:33:52 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-07T03:48:06 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2012-07-07T04:03:11 < dongs> http://i.imgur.com/6orpb.jpg you cant get this kinda silkscreen from seeedstudio. 2012-07-07T04:04:31 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-07T04:07:22 < R2COM> so? 2012-07-07T04:23:35 < voodoofish430> a bit small to have high detail graphics... 2012-07-07T04:30:45 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-07T04:31:22 -!- GargantuaSauce1 [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-07T04:33:37 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Ping timeout: 246 seconds] 2012-07-07T04:35:54 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-07T04:40:22 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-07T04:40:53 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-07T04:44:47 -!- GargantuaSauce1 [~sauce@blk-252-42-151.eastlink.ca] has quit [Quit: Leaving.] 2012-07-07T04:45:17 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Client Quit] 2012-07-07T04:45:30 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-07T04:45:45 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-07T05:09:35 < dongs> lol, ittiam is all indians 2012-07-07T05:09:41 < dongs> Akshaya Mukund 2012-07-07T05:13:55 < R2COM> what? 2012-07-07T05:14:13 < R2COM> dongs 2012-07-07T05:14:23 < R2COM> do you think most people are stupid? i mean, in a whole? 2012-07-07T05:14:47 < dongs> no. 2012-07-07T05:14:59 < R2COM> hmm 2012-07-07T05:15:15 < R2COM> I am not sure. 2012-07-07T05:18:30 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Quit: Leaving.] 2012-07-07T05:21:03 < dongs> the indian/ittiam stuff was wrong channel anyway - there's a backstory but i didnt blog it in here. 2012-07-07T05:22:09 < R2COM> what is ittiam? 2012-07-07T05:22:31 < dongs> google it. 2012-07-07T05:22:34 < dongs> IP provider. 2012-07-07T05:23:31 < R2COM> i am lazy now 2012-07-07T05:23:49 -!- Huitaryan [~Huitaryan@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-07T05:28:17 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-07T05:33:02 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 252 seconds] 2012-07-07T05:57:13 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-07T05:57:21 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-07T05:57:25 < zippe> Huh 2012-07-07T05:57:35 < zippe> So the EASTL actually compiles cleanly for v7m 2012-07-07T05:57:42 < zippe> It's not all of the STL, but it's a start 2012-07-07T05:59:22 < dongs> http://m.technolog.msnbc.msn.com/technology/technolog/cisco-routers-updated-anti-porn-anti-piracy-user-agreement-864533 cisco is officialyl fucking dead. first, lunix replaces IOS. Now this. Fuckem, only buying netgear from now on. 2012-07-07T06:06:57 < zippe> There are plenty of other options. 2012-07-07T07:42:50 < dongs> pin planning on stm32 really sucks. 2012-07-07T08:05:09 < dongs> which appnote lists which uart can be used for rom bootloader 2012-07-07T08:05:13 < dongs> i remember reading about it 2012-07-07T08:05:44 < dongs> found' 2012-07-07T08:07:40 < dongs> looks like usart1 or 3 only, and non-remapped pins only 2012-07-07T08:09:10 < zippe> You should try it on something complex like one of the i.MX devices 2012-07-07T08:09:46 < zippe> The stm32's really aren't that bad 2012-07-07T08:10:14 < zippe> The F4 pin mux is much better IMO than the older ones 2012-07-07T08:10:28 < dongs> silabs absolutely rocks it though with thier crossbar stuff. 2012-07-07T08:10:34 < dongs> anything to anything. 2012-07-07T08:11:33 < dongs> now do I put a usb>uart bridge on board or do I just use DFU 2012-07-07T08:11:50 < dongs> gonan try dfu experience on my f4discovery. 2012-07-07T08:12:55 < dongs> STM32 BOOTLOADER comes up. 2012-07-07T08:13:00 < dongs> does this need a driver or something. 2012-07-07T08:13:09 < dongs> SEARCHING WINDOWS UPDATE. 2012-07-07T08:13:12 < dongs> downloading. 2012-07-07T08:13:13 < dongs> wow. 2012-07-07T08:13:15 < dongs> they whql'd it. 2012-07-07T08:18:08 < dongs> what hte fuck 2012-07-07T08:18:11 < dongs> what teh hell is a. dfu file 2012-07-07T08:18:52 < zyp> it's a file with a dfu header? 2012-07-07T08:19:07 < dongs> zyp, are any of dfu tools available for shit operating systems? 2012-07-07T08:19:08 < dongs> i figured you'd know 2012-07-07T08:20:03 < zyp> probably 2012-07-07T08:21:07 < dongs> you havent used it? 2012-07-07T08:21:08 < zyp> dfu spec is so simple so writing one wouldn't be very hard 2012-07-07T08:21:35 < dongs> windows tool works good enough for me i think. 2012-07-07T08:21:45 < zyp> I've used some shit for avr, and some other shit for the maple stuff 2012-07-07T08:21:54 < dongs> but theres always going to be those 'alternative os' faggots who will complaint 2012-07-07T08:21:56 < zyp> but I'm not sure if that's true DFU 2012-07-07T08:22:31 < dongs> maple has their own trollloader. 2012-07-07T08:22:40 < dongs> usb avr has DFU (proper one) 2012-07-07T08:23:16 < zyp> yep, but the host app reads elf files directly, not generic files with dfu signature 2012-07-07T08:23:31 < zyp> which kind of defeats the purpose of the DFU spec 2012-07-07T08:23:31 < dongs> well, shrug. 2012-07-07T08:23:39 < dongs> what host app? 2012-07-07T08:23:39 < dongs> avr? 2012-07-07T08:23:49 < zyp> dfu-programmer or what it was called 2012-07-07T08:24:00 < dongs> on AVR there's osme shit called FuSE or somethign 2012-07-07T08:24:18 < dongs> no 2012-07-07T08:24:18 < dongs> FLIP 2012-07-07T08:24:19 < dongs> that. 2012-07-07T08:24:26 < dongs> i remember cuz in ps3hax days thats all e veryone talked about. 2012-07-07T08:24:42 < dongs> haha they have a lunix version. 2012-07-07T08:24:47 < dongs> http://www.atmel.com/tools/FLIP.aspx 2012-07-07T08:25:36 < zyp> anyway, the point with DFU is that it's just a spec to transfer a single file ending with a DFU header, written so that any compliant host app should be able to flash any compliant device with a file corresponding to the given device 2012-07-07T08:25:55 < zyp> the host app does not have to care about the contents of the file, only the DFU header 2012-07-07T08:26:00 < dongs> okay. 2012-07-07T08:26:08 < dongs> so i wont be putting a usb>uart bridge on board then. 2012-07-07T08:26:14 < zyp> and the device is free to interpret the file however it wants 2012-07-07T08:26:37 < dongs> i can probably have it jump into dfu mode from userspace 2012-07-07T08:26:48 < dongs> just like I can do it for uart bootloader 2012-07-07T08:26:59 < zyp> that's part of the DFU spec 2012-07-07T08:27:17 < dongs> oh? 2012-07-07T08:27:28 < dongs> do i need to do something stupid liekcomposite usb devices? 2012-07-07T08:28:03 < zyp> you're supposed to have some descriptor in normal mode to tell that the device is DFU capable, and then the host can send a control request to trigger a switch to DFU mode 2012-07-07T08:28:10 < dongs> cool 2012-07-07T08:28:15 < dongs> sounds like problem solved then 2012-07-07T08:49:02 < zippe> dongs: The openmoko guys have a portable opensource DFU uploader 2012-07-07T08:49:14 < zippe> dongs: check out all the iPhone hackers; the iPhone ROM uses DFU as well. 2012-07-07T08:49:50 < zippe> The whole thing is grossly overcomplicated, but you can make it work 2012-07-07T08:51:17 < dongs> well, im not writing enduser software. if dfuse works on windows and im gonna look into this descriptor stuff about marking my shit dfu capable, thats as much time as im spending on it 2012-07-07T08:52:03 < zippe> When you say "marking", do realise that you have to implement the DFU state machine (or use ST's stuff, whatever) 2012-07-07T08:52:17 < dongs> zipp,e there's DFU in ROM 2012-07-07T08:52:20 < dongs> system bootloader or wahtever. 2012-07-07T08:52:26 < dongs> i do not need to write anything. 2012-07-07T08:52:29 < dongs> i already tested and that part worsk. 2012-07-07T08:52:33 < zippe> Apart from the tool that tells it to go there 2012-07-07T08:52:36 < dongs> yes 2012-07-07T08:52:47 < dongs> but I can just 'jump' to ROM bootloader for uart. 2012-07-07T08:52:56 < dongs> hoping a similar way can happen here too. 2012-07-07T09:02:29 < dongs> prototyping shit on veroboard using DIP chips. 2012-07-07T09:02:30 < dongs> im awesome. 2012-07-07T09:18:27 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 244 seconds] 2012-07-07T09:40:47 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-07T10:03:19 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2012-07-07T10:23:00 -!- Huitaryan [~Huitaryan@blk-252-42-151.eastlink.ca] has quit [Read error: Connection reset by peer] 2012-07-07T10:25:01 -!- Thorn|2 [~Thorn@78-106-247-110.broadband.corbina.ru] has joined ##stm32 2012-07-07T10:34:31 -!- tavish3 [~tavish@59.177.77.202] has joined ##stm32 2012-07-07T10:35:52 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-07T10:42:14 -!- Thorn|2 [~Thorn@78-106-247-110.broadband.corbina.ru] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/] 2012-07-07T10:42:39 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-07T11:11:51 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-07T11:23:07 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Ping timeout: 246 seconds] 2012-07-07T11:35:57 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-07T11:36:00 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-07T11:37:52 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-07-07T11:43:53 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Ping timeout: 245 seconds] 2012-07-07T12:12:05 <+Steffanx> nu 2012-07-07T12:13:58 < R2COM> hi 2012-07-07T12:40:19 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-07T13:12:04 < iR0b0t1> dongs, mitb? 2012-07-07T13:18:36 <+Steffanx> zlog 2012-07-07T13:18:36 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-07-07.html 2012-07-07T13:28:35 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-07T13:31:44 < tavish3> at seemingly random moments my stm32f4discovery's SDIO seems to get stuck in the data transfer state. can it be an issue of connecting wires? I'm using 4bit mode 2012-07-07T13:44:22 < dongs> mitb? 2012-07-07T13:48:26 < dongs> tavish3: i havent had any problems. and I just used jumper wires from f4disc to a huge sdcard breakout board. 2012-07-07T13:50:25 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-07T13:52:53 < iR0b0t1> dongs, nevermind, guess I know a lot of people who go by the nick "dongs" 2012-07-07T13:53:02 < dongs> no way. 2012-07-07T13:53:06 < dongs> dongs is (c) (tm) me 2012-07-07T13:53:13 <+Steffanx> time to get your old nick back dongs 2012-07-07T13:53:18 < iR0b0t1> that's what the other guy said too 2012-07-07T13:53:31 < iR0b0t1> He must own the (r) or something 2012-07-07T13:53:41 < dongs> or must be a fucking douche 2012-07-07T13:54:04 < iR0b0t1> see this is weird your personalities match too 2012-07-07T13:54:13 * iR0b0t1 wtfs over and over 2012-07-07T13:54:21 <+Steffanx> iR0b0t1 welcome to Trollville 2012-07-07T13:55:12 <+Steffanx> *in 2012-07-07T13:55:25 < dongs> wat 2012-07-07T13:55:37 <+Steffanx> tat 2012-07-07T13:55:57 < iR0b0t1> zaz 2012-07-07T13:56:58 < dongs> dix 2012-07-07T13:56:59 < dongs> k bbl 2012-07-07T13:57:56 <+Steffanx> Have fun 2012-07-07T14:05:42 < dongs> hey, new f4 stdperiphlib 2012-07-07T14:05:44 < dongs> 1.0.1 2012-07-07T14:10:18 -!- tavish3 [~tavish@59.177.77.202] has quit [Ping timeout: 264 seconds] 2012-07-07T14:10:39 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-07T14:11:35 -!- tavish3 [~tavish@120.56.169.162] has joined ##stm32 2012-07-07T14:15:01 < tavish3> dongs: http://pastebin.com/tb4FJmBM does this ok for checking if dma has completed? 2012-07-07T14:15:10 < tavish3> does this look* 2012-07-07T14:15:29 < dongs> istnt that stuff pasted from st's sdio sample? 2012-07-07T14:15:39 < dongs> i used their stuff basically as-is without changes and it worked. 2012-07-07T14:18:33 < tavish3> dongs: might be, I copypasta's from a few different places. I have gotten SDIO to work, so I added USB to it. It still seemed to work. then i added XOR encryption to it then this seems to be stuck in the wait function forever. 2012-07-07T14:19:53 < tavish3> and at random 2012-07-07T14:40:17 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-07T14:46:30 < cjbaird> This evening I escaped from a bar with 'lots of atmosphere' ....because they cram everyone in and turn off the fans. :P 2012-07-07T14:55:20 -!- tavish3 [~tavish@120.56.169.162] has quit [Quit: leaving] 2012-07-07T14:59:56 <+Steffanx> :D 2012-07-07T15:05:00 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has joined ##stm32 2012-07-07T15:07:39 < jpa-> looks stupid, why not just see if dma channel CNDTR == 0 2012-07-07T15:07:52 < jpa-> no need to use an interrupt for that 2012-07-07T15:10:59 < Laurenceb_> for polling dma? 2012-07-07T15:27:52 -!- os-app92 [~ftw@41.123.85.79.rev.sfr.net] has joined ##stm32 2012-07-07T15:33:48 < dongs> http://www.osram.com/media/resource/zoomimageXL/320329/OT-DMX-3x2,5A-PCB-DIM.jpg any idea what mcu is that? cant be failmega, only 8mhz xtal? 2012-07-07T15:33:57 < dongs> power pins dont look like STM 2012-07-07T15:37:28 < Laurenceb_> could be anything 2012-07-07T15:37:38 < Laurenceb_> - apart from avr or stm 2012-07-07T15:38:01 < Thorn> are they using like 5 pins of that chip? 2012-07-07T15:38:22 < Thorn> capacitor placement is just perfect for routing 2012-07-07T15:38:36 < Laurenceb_> where was it made? 2012-07-07T15:39:23 < dongs> Thorn: based on what that device does, they literally only need 5 pins. 2012-07-07T15:39:39 < Laurenceb_> oh its osram 2012-07-07T15:40:18 < Laurenceb_> part of semens 2012-07-07T15:40:19 < Thorn> why use such a large package then? 2012-07-07T15:40:36 < Laurenceb_> so work out whos mcu they would be pressured into using 2012-07-07T15:40:47 < Laurenceb_> e.g. omron use only toshiba micros 2012-07-07T15:41:56 < zyp> Thorn, probably because the architecture is not available in a smaller package 2012-07-07T15:42:18 < dongs> so its lqfp 100, crystal on pins 12,13 2012-07-07T15:42:52 < dongs> wtf 2012-07-07T15:42:58 < dongs> that matches F2/F4 2012-07-07T15:43:02 < dongs> but power doesnt. 2012-07-07T15:43:21 < dongs> PH0/PH1 2012-07-07T15:43:26 < zyp> a lot of micros probably do 2012-07-07T15:43:34 < dongs> why so? 2012-07-07T15:43:44 < dongs> ahh lets see nuviton 2012-07-07T15:43:48 < zyp> crystal on middle pins to reduce the internal length 2012-07-07T15:44:27 < dongs> nope not numicro. 2012-07-07T15:44:29 < Laurenceb_> dspic is like that 2012-07-07T15:44:35 < Laurenceb_> but i doubt its a pic 2012-07-07T15:45:05 < zyp> is sw1 reset? 2012-07-07T15:45:18 < dongs> probably 2012-07-07T15:45:23 < dongs> is it going to pin3? 2012-07-07T15:45:28 < zyp> looks like pin3 is reset hten 2012-07-07T15:45:28 < dongs> or pin 99 2012-07-07T15:45:48 < Laurenceb_> i got 99 pins but this aint one 2012-07-07T15:45:54 < zyp> hmm, true 2012-07-07T15:46:32 < zyp> I just think R14/C5 looks like some delayed release of reset after powerup 2012-07-07T15:46:42 < dongs> not STR7* shit either 2012-07-07T15:47:34 < dongs> zyp: well, yes probably but theres a wire going to them from oth pin3 and pin99 2012-07-07T15:47:46 < zyp> R14 pulls reset down, but C5 keeps it high for a while after poweron while it's charging 2012-07-07T15:48:16 < zyp> looks like pin99 goes to sw1, without connecting to them 2012-07-07T15:48:22 < zyp> it's just run under R14 2012-07-07T15:48:54 < dongs> oh. 2012-07-07T15:49:51 < dongs> hm not c8051 / silabs shit e ither 2012-07-07T15:50:16 <+Steffanx> Chinese custom crap 2012-07-07T15:50:56 < Laurenceb_> toshiba? 2012-07-07T15:51:23 < dongs> does PIC have anything in 100pin? 2012-07-07T15:51:35 < Laurenceb_> dunno 2012-07-07T15:51:44 < zyp> yep 2012-07-07T15:52:05 < dongs> shit i think its a pic 2012-07-07T15:52:10 < Laurenceb_> lmao 2012-07-07T15:52:16 < dongs> hmm.. not so sure 2012-07-07T15:52:18 < Laurenceb_> xtal is in same place 2012-07-07T15:52:20 < Laurenceb_> as dspic 2012-07-07T15:52:23 < dongs> they do have the retarded vdd/vss shit all over the pin 2012-07-07T15:52:24 < dongs> is it? 2012-07-07T15:53:53 < zyp> it's not PIC24 2012-07-07T15:53:58 < dongs> yeah not pic24 2012-07-07T15:54:00 < dongs> already looked at athta 2012-07-07T15:54:51 < zyp> not dspic33 either 2012-07-07T15:55:09 < dongs> hmm dspic33 is almost same pinout as pic24 2012-07-07T15:55:14 < dongs> mclr is asme place etc 2012-07-07T15:56:24 < Thorn> >retarded vdd/vss shit all over the pin 2012-07-07T15:56:28 < Thorn> ep4ce15 in qfp144 only has 82 usable i/o pins 2012-07-07T15:56:37 < dongs> i doubt tis a fpga. 2012-07-07T15:56:48 < Thorn> no it's not 2012-07-07T15:56:55 < Thorn> just saying 2012-07-07T15:57:20 < dongs> its gotta be something with pll 2012-07-07T15:57:23 < dongs> because of 8mhz xtal 2012-07-07T15:57:39 < zyp> does it have to be faster than 8mhz then? 2012-07-07T15:58:30 < dongs> not necessarily but if it is... 2012-07-07T15:59:25 <+Steffanx> Photoshop the mask away dongs 2012-07-07T16:00:13 < dongs> http://cache.freescale.com/files/32bit/doc/data_sheet/MPC5604BC.pdf haha what the fuck is this 2012-07-07T16:02:02 <+Steffanx> Don't manufactures like that always use the old crap? Hitachi, motorola etc? 2012-07-07T16:03:00 -!- phantoneD is now known as phantoxeD 2012-07-07T16:03:11 < dongs> wtf TI datasheet is worthless 2012-07-07T16:03:15 < dongs> 7 megs and no pinout 2012-07-07T16:03:32 < zyp> datasheet or reference manual? 2012-07-07T16:03:40 < dongs> the only thing listed from ther page 2012-07-07T16:03:42 < dongs> http://www.ti.com/product/lm3s9l97#technicaldocuments 2012-07-07T16:03:45 < zyp> stm32 reference manual doesn't have any pinout either :p 2012-07-07T16:03:47 < dongs> 'data sheet' 2012-07-07T16:03:48 < dongs> yes, i know. 2012-07-07T16:11:59 -!- os-app92 [~ftw@41.123.85.79.rev.sfr.net] has quit [Quit: My Mac has gone to sleep.] 2012-07-07T16:36:09 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-07T16:42:18 < dongs> hmm wtf 2012-07-07T16:42:25 <+Steffanx> Didn't like it? 2012-07-07T16:42:29 < dongs> cant make f4discovery work with keil's stlink driver 2012-07-07T16:43:30 <+Steffanx> And now you want us to help you with that? 2012-07-07T16:43:35 <+Steffanx> or is it just a random rant 2012-07-07T16:43:45 < dongs> random rant. 2012-07-07T16:43:51 < dongs> i wouldnt expect anyone here to use high class IDEs 2012-07-07T16:44:12 <+Steffanx> high class … sorry i can only laugh about that 2012-07-07T16:44:55 < dongs> :D 2012-07-07T16:45:01 < dongs> looks like the previous code i had on there was fucking shit up. 2012-07-07T16:45:14 <+Steffanx> I used that keil IDE for a uni project 2012-07-07T16:45:22 < dongs> really and? 2012-07-07T16:45:34 <+Steffanx> "high class … sorry i can only laugh about that" :D 2012-07-07T16:45:40 <+Steffanx> my conclusion 2012-07-07T16:45:48 < dongs> would you like to recommend anything better? 2012-07-07T16:46:13 < dongs> having paid for crossworks I kind of regret it. you'd think something like "go to definition" would work in version 2.x of something that claims to be an 'IDE'. 2012-07-07T16:46:39 < dongs> it doesnt touch vstudio IDE of course, but almost nothing does. 2012-07-07T16:46:53 < Thorn> >paid for crossworks 2012-07-07T16:46:55 < Thorn> lol fail 2012-07-07T16:47:12 < dongs> ya, paying for gcc. 2012-07-07T16:47:16 <+Steffanx> vstudio as in visal studio? 2012-07-07T16:47:18 < dongs> at least better than truestudio or some other eclipse trash 2012-07-07T16:47:19 <+Steffanx> *visual 2012-07-07T16:47:20 < dongs> ya 2012-07-07T16:47:28 < dongs> vstudio ide is the BEST. 2012-07-07T16:47:28 < Thorn> I got texane stlink and codebench lite working with f4discovery today 2012-07-07T16:47:38 < dongs> no questionabout it. 2012-07-07T16:47:41 <+Steffanx> I have to agree with you on that one dongs 2012-07-07T16:47:46 < Thorn> xcode is best 2012-07-07T16:47:49 <+Steffanx> No way 2012-07-07T16:47:51 < dongs> haha xcode. 2012-07-07T16:47:56 < dongs> fucking notepad and gcc frontend 2012-07-07T16:48:02 < Thorn> except it's a huge pile of shit of course 2012-07-07T16:48:10 < dongs> now this is weird 2012-07-07T16:48:20 < Thorn> but it's got clang static analyzer built in 2012-07-07T16:48:26 < dongs> F4 doesnt have GPIOx->BSRR / BRR? 2012-07-07T16:48:33 < dongs> loosk like they renamed to BSRRL BSRRH 2012-07-07T16:48:52 < dongs> i was like "LETS TOGGLE SOME LEDS" 2012-07-07T16:48:54 < dongs> BZZZZZZZZZZZZT. 2012-07-07T16:48:56 <+Steffanx> F4 > F1 :D 2012-07-07T16:49:12 < dongs> Thorn: who cares about SteveC 2012-07-07T16:49:23 <+Steffanx> SteveC ... 2012-07-07T16:49:28 < dongs> anyhow, teh fix for f4 in keil was 'hold reset' while pressing debug, then re lease 2012-07-07T16:49:35 < dongs> old code was screwing something up 2012-07-07T16:49:47 < dongs> i guess erasing from outside using stvp or similr would work as well 2012-07-07T16:50:19 <+Steffanx> You use that br@y terminal don't you dongs ? 2012-07-07T16:51:18 < Thorn> oh btw, what terminal emulator do I use in linux? 2012-07-07T16:51:24 <+Steffanx> screen 2012-07-07T16:51:36 < Thorn> wat 2012-07-07T16:51:39 <+Steffanx> tat 2012-07-07T16:51:54 < dongs> lunix terminal emjulator, lol. 2012-07-07T16:52:14 < Thorn> I mean for a serial port 2012-07-07T16:52:17 <+Steffanx> screen 2012-07-07T16:52:23 < Thorn> like /dev/ttyUSBx 2012-07-07T16:52:36 <+Steffanx> screen /dev/ttyUSB0 2012-07-07T16:52:50 < zyp> I also use screen for that 2012-07-07T16:53:11 <+Steffanx> or hterm if you like something with a real GUI 2012-07-07T16:53:15 < zyp> it takes baudrate as the next argument, if you need to specify that 2012-07-07T16:55:55 < dongs> can gcc generate this http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/CHDHCBHA.html 2012-07-07T16:58:40 < Thorn> screen actually works with serial ports. didn't know that. thanks 2012-07-07T16:58:55 < dongs> wtf do you do wiht screen and serial ports 2012-07-07T16:59:52 < Thorn> look at debug output of my devices 2012-07-07T17:00:18 < dongs> thats what a debugger is for 2012-07-07T17:00:48 < dongs> so you dont have to debug by printf 2012-07-07T17:02:01 < Thorn> okay so how do I use a debugger to look at contents of an at45dbxxx sram buffer? 2012-07-07T17:04:04 < dongs> in both keil and crossworks, you can put stuff in watch window which will be updated realtime or while you break in 2012-07-07T17:04:05 < Laurenceb_> is it faster to use CMD18 when reading multiple blocks off an SD card? 2012-07-07T17:04:22 < dongs> i often use that to look at DMA buffers etc. 2012-07-07T17:04:36 < Laurenceb_> does the wear leveller cache the next block or something with that command? 2012-07-07T17:05:14 < Laurenceb_> atm im reissuing CMD18 for each block 2012-07-07T17:05:27 < Laurenceb_> as im calling fatfs functions from my usb code 2012-07-07T17:11:16 < Laurenceb_> dont know if this will cancle the precache on the card or something 2012-07-07T17:11:33 < Laurenceb_> guess i need to banchmark with different card to find out 2012-07-07T17:12:21 < Laurenceb_> the mass storage SCSI commands are weird 2012-07-07T17:12:37 < Laurenceb_> seems SCSI_Read_10 is sent loads of times for the same transfer 2012-07-07T17:12:57 < Laurenceb_> https://github.com/Laurenceb/STM32-Logger/blob/master/Util/USB/memory.c#L68 2012-07-07T17:13:10 < Laurenceb_> MAX_DMA_BUFF_SIZE <-ive set that to 512 2012-07-07T17:13:16 < dongs> mass stoRAGE 2012-07-07T17:13:42 < Laurenceb_> so it loads one block using dma 2012-07-07T17:14:01 < Laurenceb_> during the transfer its free to use the usb to transmit the data that has arrived so far 2012-07-07T17:14:18 < Laurenceb_> while(MAL_TRANSFER_INDEX USB_SIL_Write(EP1_IN, (uint8_t *)Data_Buffer + Block_offset, BULK_MAX_PACKET_SIZE); 2012-07-07T17:14:21 < Laurenceb_> ^like that 2012-07-07T17:14:45 < Laurenceb_> apparently its ok to block the usb response - thats how the st code worked 2012-07-07T17:15:27 < Laurenceb_> (MAL_TRANSFER_INDEX is the DMA bytes tranferred 2012-07-07T17:27:21 < dongs> lol. DAC api in stdperiphlib is retarded. 2012-07-07T18:16:11 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-07T18:48:30 < Laurenceb_> hehe 2012-07-07T18:48:33 < Laurenceb_> KDE user 2012-07-07T19:00:06 -!- Laurenceb_ [~Laurence@host109-157-38-53.range109-157.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-07T19:01:12 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-07T19:08:24 < Laurenceb_> anyone got the F3 reference manual? 2012-07-07T19:10:09 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-07T19:35:28 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-07T19:37:18 <+Steffanx> Laurenceb_ , you? 2012-07-07T19:37:43 < Laurenceb_> no :( 2012-07-07T19:37:51 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Client Quit] 2012-07-07T19:38:04 <+Steffanx> Someone should have it? 2012-07-07T19:39:01 <+Steffanx> Hehe, you find this channel when you google for it 2012-07-07T19:41:05 < Laurenceb_> i know :( 2012-07-07T19:42:21 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-07T19:43:11 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-07T19:45:17 < BrainDamage> is this dongs' work? http://hackaday.com/2012/07/07/going-to-the-park-with-your-augmented-reality-girlfriend/ 2012-07-07T19:45:45 <+Steffanx> Definitely 2012-07-07T19:56:21 < Laurenceb_> looks like a fox 2012-07-07T19:56:24 < Laurenceb_> oh wait 2012-07-07T19:56:38 < Laurenceb_> you'd expect that from furries 2012-07-07T20:11:51 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-07T20:18:07 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-07T20:20:04 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-07T20:28:50 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has quit [Quit: ZNC - http://znc.in] 2012-07-07T20:47:44 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-07T20:59:32 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-07T21:01:07 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Ping timeout: 240 seconds] 2012-07-07T21:19:47 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-07T21:53:30 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Ping timeout: 264 seconds] 2012-07-07T22:12:47 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-07T22:31:11 < Rickta59> what is a C&D in relation to getting a patent 2012-07-07T22:31:39 < Rickta59> ah .. nm .. cease and desist 2012-07-07T22:40:43 <+Steffanx> Yes i agree Rickta59 2012-07-07T22:49:46 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-07T22:51:50 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-07T23:08:44 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2012-07-07T23:09:21 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-07T23:09:26 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-07T23:16:24 < Thorn> does elf entry point have any meaning for gdb? when you say 'c' after 'load', what is the start address? 2012-07-07T23:23:49 < zippe> 'c' just starts at the current PC 2012-07-07T23:23:51 < zippe> What you want is 'run' 2012-07-07T23:25:13 < zippe> And no, the ELF entrypoint isn't used by gdb when starting a program 2012-07-07T23:25:34 < zippe> In modern systems it's just a hint to the dynamic linker, or the kernel if it's a static binary 2012-07-07T23:25:51 < zippe> Much like, say, the thread record(s) in a Mach-o binary 2012-07-07T23:35:39 -!- izua [~izua@86.121.2.49] has joined ##stm32 2012-07-07T23:35:45 -!- izua [~izua@86.121.2.49] has quit [Changing host] 2012-07-07T23:35:45 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-07T23:35:48 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-07T23:40:09 < Thorn> texane stlink documentation recommends 'c' after 'load' 2012-07-07T23:40:41 < Thorn> so what does 'run' in gdb do then? 2012-07-07T23:47:21 < Thorn> looks like it sends vKill and vRun 2012-07-07T23:48:08 < Thorn> and then R --- Day changed Sun Jul 08 2012 2012-07-08T00:15:23 < zippe> texane docs are wrong then 2012-07-08T00:22:29 < R2COM> hmm it seems that FPU support is disabled if you use the codeSourcery or summon tools 2012-07-08T00:51:52 -!- szczys [~mike@68-117-130-137.dhcp.mdsn.wi.charter.com] has joined ##stm32 2012-07-08T00:55:01 < szczys> Can anyone offer some advice on linked lists? I'm not able to use malloc without srbk... is there another way or do I simply NEED to get malloc working? 2012-07-08T00:55:13 < Thorn> the new usb library from st seems pretty nice, unfortunately it doesn't support f102/f103 2012-07-08T00:57:09 < Thorn> szczys: malloc() is generally not a good thing in small embedded systems anyway, especially the newlib implementation 2012-07-08T00:57:47 < szczys> okay... so do I just instantiate a huge empty array to store the structs 2012-07-08T00:57:52 < Thorn> there're a lot of memory allocation strategies, consult some large volume on algorithms and data structures 2012-07-08T00:58:50 < Thorn> or just use some simplified malloc()/free() implementation, freertos comes with 3 of them for example 2012-07-08T00:59:26 < szczys> that sounds like a good place to start... thanks for the advice! 2012-07-08T01:01:36 < Thorn> it should be easy lto implement a inked list in an array if you have an upper bound on the number of elements. I think Cormen et al had an examlple 2012-07-08T01:12:32 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-08T01:12:44 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-08T01:20:34 -!- izua [~izua@unaffiliated/izua] has quit [Quit: Pull me under] 2012-07-08T01:21:57 < Thorn> wtf is going on. I run st-util, load new program with gdb and exit gdb, old program continues to run. I reset the board, new program runs 2012-07-08T01:22:20 < Thorn> is this caching (ART) or something? 2012-07-08T01:23:51 < R2COM> is anyone using OpenOCD under windows? 2012-07-08T01:24:06 < Thorn> I am 2012-07-08T01:24:18 < R2COM> i just configured some tools 2012-07-08T01:24:23 < R2COM> and could build program 2012-07-08T01:24:25 < R2COM> now 2012-07-08T01:24:33 < R2COM> trying to connect with OpenOCD 2012-07-08T01:24:36 < R2COM> to load it 2012-07-08T01:24:46 < R2COM> just getting errors, that it cannot "open" 2012-07-08T01:25:04 < Thorn> what debugger? 2012-07-08T01:25:17 < R2COM> well openocd 2012-07-08T01:25:23 < R2COM> abd board is stm32f4discovery 2012-07-08T01:25:30 < R2COM> and* 2012-07-08T01:25:52 < Thorn> so the debugger is stlink v2 2012-07-08T01:25:57 < R2COM> right 2012-07-08T01:26:02 < Thorn> I haven't used openocd with stlink 2012-07-08T01:26:12 < R2COM> what you use it with? 2012-07-08T01:26:29 < Thorn> a ft2232-based debugger from olimex 2012-07-08T01:26:39 < R2COM> hm, what made you decide use this one?> 2012-07-08T01:27:35 < Thorn> I think I've had it for a year already, long before I got a discovery board 2012-07-08T01:27:45 < R2COM> okay 2012-07-08T01:28:02 < R2COM> I am using 0.6.0 version of openocd 2012-07-08T01:28:36 < R2COM> because, that one seems to support stlinkv2 2012-07-08T01:28:43 < R2COM> although its dev. version 2012-07-08T01:29:14 < R2COM> I had already my toolchain setup in linux, and could program/debug with gdb, and texane. but that toolchain did not support hard FPU 2012-07-08T01:29:28 < R2COM> this one, which i installed on windows does 2012-07-08T01:30:02 < R2COM> and i can build programs successfully in win too, its just have to figure out how to debug 2012-07-08T01:33:50 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-08T01:52:44 < Laurenceb_> /dev/RFCOMM6 2012-07-08T01:58:36 < R2COM> So what could this usually mean in openocd: 2012-07-08T01:58:36 < R2COM> 1000 kHz 2012-07-08T01:58:36 < R2COM> srst_only separate srst_nogate srst_open_drain 2012-07-08T01:58:36 < R2COM> Info : clock speed 1000 kHz 2012-07-08T01:58:36 < R2COM> Error: open failed 2012-07-08T01:58:36 < R2COM> in procedure 'transport' 2012-07-08T01:58:37 < R2COM> in procedure 'init' 2012-07-08T01:59:04 < R2COM> not sure yet where to find the transport/init procedures 2012-07-08T02:12:38 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 265 seconds] 2012-07-08T02:29:50 < zippe> R2COM: which toolchain are you using? 2012-07-08T02:35:45 < R2COM> well, i just installed the gnu arm tool 2012-07-08T02:36:04 < R2COM> it works, and builds 2012-07-08T02:36:20 < R2COM> its just the openocd has some problem, with connecting to board 2012-07-08T02:36:35 < R2COM> so, openocd/st-link/v2 through the SWD 2012-07-08T02:38:34 < dongs> sup blogs 2012-07-08T02:49:54 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-08T03:06:12 < BrainDamage> we were commenting earlier on your augmented reality work 2012-07-08T03:07:10 < Thorn> dongs must be famous in Japan by now 2012-07-08T03:07:18 < Thorn> at least in certain circles 2012-07-08T03:07:58 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-08T03:09:23 < dongs> super cool blogspot, bro 2012-07-08T03:28:15 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-08T03:28:20 < R2COM> great 2012-07-08T03:28:32 < R2COM> turns out that problem was in driver 2012-07-08T03:28:38 < dongs> rly 2012-07-08T03:28:40 < dongs> wat driver. 2012-07-08T03:28:44 < R2COM> i had to wipe off st-link native driver 2012-07-08T03:28:51 < R2COM> and install the one which worked out with openOCd 2012-07-08T03:29:00 < dongs> bad news. 2012-07-08T03:29:03 < R2COM> why 2012-07-08T03:29:03 < dongs> now you dont have a proper debugger. 2012-07-08T03:29:10 < R2COM> well, st-link utility doesnt work 2012-07-08T03:29:17 < dongs> incase you ever decide to upgrade to a real environment 2012-07-08T03:29:20 < R2COM> what do you mean i dont have proper debugger? 2012-07-08T03:29:20 < dongs> instead of "openocd" 2012-07-08T03:29:26 < R2COM> oh 2012-07-08T03:29:26 < dongs> ^_^ 2012-07-08T03:30:10 < R2COM> no, i am not going to pay $$$k for "real" (...based on free tools) environment anyhow 2012-07-08T03:30:27 < R2COM> on the other hand, wiping off this driver and putting "real" one is not a problem either 2012-07-08T03:30:43 < R2COM> sooo... this shit works. 2012-07-08T03:30:44 < R2COM> sweet 2012-07-08T03:30:54 < R2COM> just have some more little problems to solve 2012-07-08T03:31:22 < dongs> ya, like actually being able to use it :p 2012-07-08T03:31:33 < R2COM> exactly 2012-07-08T03:33:50 < R2COM> by the way, it is also totally fine in most of the time just use USART for debug, just have a program read/do what you want, send it to USART ports, and then read on PC with USB-FTDI cable 2012-07-08T03:34:27 < R2COM> i did that almost always with PIC32 (except that was not ftdi, just rs232-usb adapter) 2012-07-08T03:34:47 < dongs> might as well just keep using avr then, if youre not taking advantage of core debug capabilities?? 2012-07-08T03:51:45 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Remote host closed the connection] 2012-07-08T03:51:55 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-08T04:06:51 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 244 seconds] 2012-07-08T04:11:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-08T05:23:44 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-08T05:38:19 < R2COM> great! 2012-07-08T05:38:58 < R2COM> changed everything, so i decided I'm not going to use openocd, but all i can do is modify my toolchain under linux, to support FPU 2012-07-08T05:38:59 < R2COM> thats it 2012-07-08T05:39:08 < R2COM> works 2012-07-08T05:39:39 < R2COM> maybe i will play with openOCD if I have time some day though. 2012-07-08T05:49:25 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-08T05:56:08 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-08T05:56:11 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-08T06:07:09 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-08T06:36:37 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-08T06:41:13 < Oldboy> R2COM: what do you mean ? you can erase Stlink from a discovery board and put something else on it ? 2012-07-08T06:41:37 < R2COM> noo... 2012-07-08T06:41:58 < R2COM> st-link from Texane i mean 2012-07-08T06:52:43 -!- feurig [~don@198.202.31.217] has quit [Quit: leaving] 2012-07-08T07:04:15 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-07-08T07:04:15 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-07-08T07:04:37 < gsmcmullin> Oldboy: You can replace the firmware on the st-link, just be sure that you want to, because you can't get it back. 2012-07-08T07:04:50 < gsmcmullin> It's known to work with blackmagic and versaloon firmware. 2012-07-08T07:05:09 < Oldboy> gsmcmullin: can you swap out a stlink v1 and put in a stlink v2 ? 2012-07-08T07:05:39 < Oldboy> why can't you get it back ? 2012-07-08T07:06:00 < gsmcmullin> I don't know if you can upgrade from v1 to v2. 2012-07-08T07:06:15 < gsmcmullin> Because you erase the ST bootloader in the process. 2012-07-08T07:06:31 < Oldboy> ST has an upgrade exe but I think that only works on v2 2012-07-08T07:07:16 < gsmcmullin> I can't really help you with that. My st-links have been liberated. 2012-07-08T07:08:16 < Oldboy> what is the advantage of switching to versaloon ? 2012-07-08T07:08:54 < gsmcmullin> I don't really know. Versaloon was a real headache for me last time I used it. 2012-07-08T07:09:18 < Oldboy> what do you use ? 2012-07-08T07:09:41 < gsmcmullin> Black Magic probe. I am the developer. 2012-07-08T07:09:58 < R2COM> gsmcmullin: you developed black magic stuff? 2012-07-08T07:10:07 < gsmcmullin> yes 2012-07-08T07:10:08 < Oldboy> how does it differ from the stock stlink ? 2012-07-08T07:10:33 < gsmcmullin> Totally different. It's developed from scratch according to published literature. 2012-07-08T07:10:49 < R2COM> so, its only for M3 right 2012-07-08T07:10:53 < gsmcmullin> It implements the GDB server in firmware, so GDB talks directly to the device. 2012-07-08T07:11:01 < gsmcmullin> R2COM: M0, M3 and M4. 2012-07-08T07:11:07 < R2COM> ok 2012-07-08T07:11:45 < R2COM> so, if one gets it from you, he gets the gdb server right 2012-07-08T07:12:23 < R2COM> turns out, that he would only need to download same GNU arm tools which include compiler/gdb etc, and then using your blackmagic probe he is ready to go? 2012-07-08T07:12:37 < gsmcmullin> R2COM: I'm not sure what you're asking. The device provided the GDB server over a CDC-ACM interface, so you point GDB directly to the serial port. 2012-07-08T07:13:10 < gsmcmullin> R2COM: Yes, if you're happy to use GDB. 2012-07-08T07:14:02 < R2COM> well ok thats what i was asking, in other words the software which you provide with this black magic probe acts as a gdb server too 2012-07-08T07:14:26 < R2COM> i.e. no need for openOCD or anything if he uses blackmagic 2012-07-08T07:14:35 < gsmcmullin> R2COM: yes 2012-07-08T07:15:09 < R2COM> ok, and also unlike many it supports SWD and JTAG as well, as i see,.. 2012-07-08T07:15:11 < gsmcmullin> It doesn't come close to openocd in supporting many targets, etc. But it's much less of a headache to get working. 2012-07-08T07:16:03 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-08T07:16:46 < R2COM> hmm 2012-07-08T07:17:33 < R2COM> its also available only for windows? 2012-07-08T07:18:10 < gsmcmullin> Windows is a pain in my ass that I try to support. I work on Linux, many people are using it with Mac. 2012-07-08T07:18:26 < R2COM> its just on main page it says windows driver 2012-07-08T07:18:29 < R2COM> nothing about linux 2012-07-08T07:18:44 < gsmcmullin> Linux you just plug it in and it works. No special driver needed. 2012-07-08T07:19:08 < gsmcmullin> Same for Max OSX. 2012-07-08T07:19:30 < R2COM> oh ok i see now on wiki 2012-07-08T07:19:46 < R2COM> and how fast is download speed? 2012-07-08T07:20:33 < gsmcmullin> I do about 15kb/s into STM32F103. I've heard up to 40kb/s into STM32F4. 2012-07-08T07:20:40 < R2COM> hm 2012-07-08T07:20:56 < gsmcmullin> It depends on the size of the binary you're loading. 2012-07-08T07:21:02 < R2COM> well, if it works like that and most important is provides firmware based gdb server,.. then looks like a great thing 2012-07-08T07:21:14 < R2COM> and 75$ is not that bad at all 2012-07-08T07:21:47 < gsmcmullin> Thanks. I'd like it to be cheaper, but for that I need to get the numbers up. 2012-07-08T07:22:00 < R2COM> no, thats fine 2012-07-08T07:23:40 < R2COM> but it works fine on windows too right? 2012-07-08T07:24:03 < gsmcmullin> Yes, tested on Windows 7 here. 2012-07-08T07:24:14 < R2COM> and you plan to extend it later for next versions of ARM ? 2012-07-08T07:24:24 < gsmcmullin> Hmm, the windows driver on my website it old, I'll need to update that. 2012-07-08T07:24:26 < R2COM> maybe ARM on another platforms too? or? 2012-07-08T07:25:14 < gsmcmullin> R2COM: I'll add support for whatever I can. I have limited time and money to spend on it. 2012-07-08T07:25:23 < R2COM> ok 2012-07-08T07:25:51 < gsmcmullin> For now it's Cortex-M devices. I'll add support for different vendors as I have hardware to test with. 2012-07-08T07:28:24 < Oldboy> gsmcmullin: I guess porting it to a different ARM vendor will require understanding the hardware at a very low level ? 2012-07-08T07:29:03 < Oldboy> I use NXP LPC devices. wondering what would be involved in porting to that. 2012-07-08T07:29:16 < gsmcmullin> Oldboy: The cores are all the same across vendors. The only real difference is how to identify the device and program the flash. 2012-07-08T07:29:35 < gsmcmullin> It has support for lpc11xx. 2012-07-08T07:29:54 < gsmcmullin> I have a lpc43xx board on the way, so hopefully that will be supported soon. 2012-07-08T07:30:05 < Oldboy> 17xx is very popular 2012-07-08T07:31:19 < Oldboy> but I guess people don't have the same kind of problems on LPC. THe philips tools just work. 2012-07-08T07:31:55 < gsmcmullin> Oldboy: I can't comment. I haven't used them. 2012-07-08T07:34:21 < gsmcmullin> R2COM: I've updated the Windows driver on my website, it should work with current firmware now. 2012-07-08T07:56:11 < zippe> dongs: what's in the keil for ARM? 2012-07-08T07:58:55 < zippe> (and the same for anyone else that has a non-gcc-based toolchain) 2012-07-08T08:03:55 < R2COM> flyback: build programmer with just two resistors, and we will pay you all our money for it 2012-07-08T08:04:58 < dongs> zippe: stdarg? lets see 2012-07-08T08:05:26 < dongs> http://bcas.tv/paste/results/1IAe8p31.html 2012-07-08T08:09:13 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-08T08:21:33 < dongs> hmm.. the renamings of shit in stdperiphlib is kinda gay 2012-07-08T08:21:44 < dongs> TIM_ClearFlag() for some reason takes stdlib's #defines 2012-07-08T08:21:48 < dongs> for rshit like TIM_FLAG_CC1 etc 2012-07-08T08:22:06 < dongs> when there's perfectly usable shit in the main processor header, TIM_SR_CC1IF etc. 2012-07-08T08:22:16 < dongs> i wonder what they're trying to do here. 2012-07-08T08:23:49 < dongs> less blog, more coding 2012-07-08T08:30:07 < zippe> dongs: hmm, thanks. Looks like __va_foo are builtins 2012-07-08T08:30:35 < zippe> Also, ST periphlib = so many things wrong it's hard to know where to start. 2012-07-08T08:30:46 < dongs> hmm 2012-07-08T08:30:56 < dongs> do you think NVIC_InitTypeDef is padded 2012-07-08T08:31:09 < dongs> its 4 uint8's 2012-07-08T08:31:33 < dongs> hm nope its not. 2012-07-08T08:31:33 < dongs> k 2012-07-08T08:49:54 < zippe> yay, new C++ device framework 2012-07-08T08:50:14 < zippe> go distractions 2012-07-08T09:11:33 < dongs> http://bcas.tv/paste/results/xPcKPd47.html 2012-07-08T09:11:37 < dongs> whats the point of this? 2012-07-08T09:11:41 < dongs> reset the timer on each edge? 2012-07-08T09:25:38 < zippe> Not sure. 2012-07-08T09:25:56 < zippe> I haven't used the external trigger stuff 2012-07-08T09:26:05 < dongs> thats the thing though its not 'external' 2012-07-08T09:26:13 < dongs> it triggers off same c channel its capturecomparing 2012-07-08T09:26:32 < dongs> the only thing that would make sense is that it resets the timer on each edge and then grabs the compare value 2012-07-08T09:26:37 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-08T09:40:02 < dongs> did it prevent you from progressing any with F0 coding. 2012-07-08T09:45:55 < dongs> haha... hilarious optimization by compiler 2012-07-08T09:46:04 < dongs> its filling up DMA_InitType struct 2012-07-08T09:46:09 < dongs> for SPI1 2012-07-08T09:46:19 < dongs> and SPI1 address is 0x40013000 2012-07-08T09:46:42 < dongs> and DMA.MemoryInc parameter is 0 for disable, and 0x400 for enable 2012-07-08T09:46:53 < dongs> so it reuses teh reigster that kept SPI1 address and shifts it right by 20 2012-07-08T09:46:57 < dongs> to get 0x400 2012-07-08T09:49:40 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-08T10:16:28 < dongs> sup blogs 2012-07-08T10:17:30 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-08T10:17:41 < R2COM> not much 2012-07-08T10:18:32 < R2COM> so how is Japan 2012-07-08T10:22:20 < dongs> squinty 2012-07-08T10:22:45 < R2COM> heh 2012-07-08T10:25:48 < dongs> who 2012-07-08T10:26:46 < dongs> On July 3, 2012, Griffith died from a heart attack at his home on Roanoke Island in Dare County, North Carolina. He was buried in the Griffith Family Cemetery on the island within five hours of his death. 2012-07-08T10:26:51 < dongs> lol 2012-07-08T10:26:53 < dongs> someone really wanted his assets 2012-07-08T10:27:01 < dongs> lets fucking bury him quick incase he comes back t o life 2012-07-08T10:57:44 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-08T11:08:02 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-08T12:25:09 -!- jon1012 is now known as Guest39031 2012-07-08T12:27:55 < dongs> motherfucker 2012-07-08T12:28:13 < dongs> GPIO_PinAFConfig(GPIOB, GPIO_Pin_5, GPIO_AF_SPI1); vs GPIO_PinAFConfig(GPIOB, GPIO_PinSource5, GPIO_AF_SPI1); 2012-07-08T13:07:11 < Thorn> I can't reliably start the program after load with texane stlink. even kill followed by run doesn't always work. the chip can hardfault. the only reliable way is the reset button 2012-07-08T13:17:41 -!- ratatata [~nu@94.244.84.228] has joined ##stm32 2012-07-08T13:17:53 < ratatata> nu 2012-07-08T13:27:11 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-08T13:27:38 -!- dfletcher [~fletch@drupal.org/user/72475/view] has quit [Ping timeout: 245 seconds] 2012-07-08T13:52:42 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-08T13:54:10 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-08T13:54:14 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-08T13:54:20 <+Steffanx> nu 2012-07-08T13:59:00 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 248 seconds] 2012-07-08T14:24:03 < dongs> hmm 2012-07-08T14:34:51 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-08T15:37:55 < dongs> STM32 component in eagle is fucking hideous looking 2012-07-08T15:42:34 < zyp> I made my own 2012-07-08T15:42:44 < dongs> i know, but i was looking at someones schematic 2012-07-08T15:42:56 < dongs> i lways make my own componetns/ patterns because i dont trust fuckwits wiht making shit wiht proper dimensions 2012-07-08T15:43:11 < zyp> yeah 2012-07-08T15:43:47 < zyp> well, I tend to reuse footprints, but yeah 2012-07-08T15:44:05 < dongs> i reuse the ones I make. 2012-07-08T15:44:24 < zyp> I reused a bad one for lsm303 2012-07-08T15:44:55 < zyp> that's why I had bad solderings on two of the three boards I assembled 2012-07-08T15:51:20 < dongs> hmm.. im screwing something uip 2012-07-08T16:00:53 < dongs> argh 2012-07-08T16:01:06 < zyp> stop doing that 2012-07-08T16:01:40 < dongs> i fucking hate macos zip files coming up as encrytpted on NTFS 2012-07-08T16:01:44 < dongs> fucking macfaggots. 2012-07-08T16:01:53 < zyp> wat? 2012-07-08T16:02:00 < dongs> when you unzip a macfaggot zipped .zip file 2012-07-08T16:02:05 < dongs> on windows 2012-07-08T16:02:13 < dongs> it automatically marks it as "encrypted" 2012-07-08T16:02:39 < zyp> isn't that windows' unzip utility being dumb? 2012-07-08T16:02:54 < dongs> no, its mac trash being dumb and marking files as encrypted 2012-07-08T16:03:28 < dongs> hmm... i should probably hookup vsync off this thing 2012-07-08T16:03:35 < zyp> does .zip even have an «encrypted» flag? I believe it doesn't 2012-07-08T16:03:35 < dongs> would make my life a lot easier 2012-07-08T16:03:39 < zyp> wouldn't make sense 2012-07-08T16:03:51 < dongs> zyp, i can unzip shit made with infozip all day long and it works 2012-07-08T16:03:56 < dongs> mac zip file, and its marked encypted 2012-07-08T16:04:24 < zyp> then the unzip utility is misunderstanding some shit 2012-07-08T16:05:13 < dongs> must be man 2012-07-08T16:05:47 < cjbaird> The Mac is using the 'open zip' spec. Dongs obviously through it was better to use a pirated/cracked commercial Winzip on his Rig. 2012-07-08T16:06:50 < dongs> cjbaird: ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 2012-07-08T16:06:58 < dongs> windows comes with something called "zipfolders" 2012-07-08T16:07:04 < dongs> since like windows ME. 2012-07-08T16:09:37 < zyp> http://blogs.msdn.com/b/asklar/archive/2012/05/03/why-do-zip-files-from-mac-os-show-up-as-green-encrypted.aspx 2012-07-08T16:10:11 < dongs> right 2012-07-08T16:10:13 < dongs> macfaggots fail it. 2012-07-08T16:10:54 < zyp> how? it's clearly POSIX compliant 2012-07-08T16:10:59 < dongs> PFFT. 2012-07-08T16:11:19 < zyp> it's windows' pretending that a zip file from unix that fails. 2012-07-08T16:11:42 < zyp> ignoring that a zip file is from unix. 2012-07-08T16:14:09 < dongs> hmm so why hte fuck this video shit isnt working. 2012-07-08T16:14:20 < cjbaird> Microsoft doing their usual "Not Invented Here". 2012-07-08T16:15:00 < dongs> cool bro story 2012-07-08T16:16:13 < zyp> well, looks like the solution is to use a proper unzip utility instead of the one included with windows :p 2012-07-08T16:17:11 < dongs> thats what lunix faggots do 2012-07-08T16:17:26 < dongs> shit exists to do xyz, but im gonna fucking write one from scratch so I can scratch an itch 2012-07-08T16:18:11 < Laurenceb_> so i see fedora15 on the tv 2012-07-08T16:18:17 < dongs> ???? 2012-07-08T16:18:25 < Laurenceb_> tennis/lunix joke 2012-07-08T16:18:40 < dongs> must be why im not lauging 2012-07-08T16:19:12 < cjbaird> ZIP has been a published specification since it started in 1989. MS wrote the broken shit from scratch. 2012-07-08T16:22:20 < zyp> fuck, shit is broken.. well, I'll just have to learn to live with it 2012-07-08T16:24:56 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-08T16:25:30 < cjbaird> I'll be fucked if I'll install some opensores program like 7Zip to do it... 2012-07-08T16:25:42 < dongs> haha 7zip 2012-07-08T16:25:58 < dongs> every fucking opensores trash thinks it owns zip files 2012-07-08T16:29:16 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Client Quit] 2012-07-08T16:34:11 < cjbaird> All I need to do is wait until the next release of Windows and it's _sure_ to have been fixed! 2012-07-08T16:41:32 < dongs> can I configure different parts of the chip for same peripheral altfunction? 2012-07-08T16:41:43 < dongs> i.e. using SPI1_MOSI on PB5 and SPI1_SCK on PA5? 2012-07-08T16:42:00 < zyp> on F4? sure 2012-07-08T16:42:06 < dongs> yeah. 2012-07-08T16:42:22 < zyp> on F1 remaps happen in groups, on F2/F4 all pins have an individual mux 2012-07-08T16:42:31 < dongs> right. 2012-07-08T16:42:31 < dongs> ok 2012-07-08T16:46:10 < dongs> works. 2012-07-08T16:56:11 < dongs> http://www.ni.com/cms/images/devzone/tut/a/f19f8d1a1011.gif getting a bit raped by this. 2012-07-08T17:00:19 < dongs> http://www.wolframalpha.com/input/?i=%28240%2F52.66us%29 is this my pixel clock if I wanna display 240 pixels? 2012-07-08T17:01:48 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-08T17:10:16 < Laurenceb_> is it color? 2012-07-08T17:10:32 < dongs> no 2012-07-08T17:11:44 < dongs> well, im doing it reasonably correct at least. SPI1 is running off APB2 which is hclk/2, so 84mhz, spi prescaler is 16, so that gives me ~5.25mhz pixel clock 2012-07-08T17:13:21 < dongs> 276 at that clock. so i'd have to wait a bit at start to center it. 2012-07-08T17:14:46 < Laurenceb_> spi?! 2012-07-08T17:14:58 < dongs> yeah? 2012-07-08T17:15:52 < Laurenceb_> i thought you were generating video 2012-07-08T17:15:58 < dongs> ia m 2012-07-08T17:16:03 < Laurenceb_> how 2012-07-08T17:16:14 < dongs> well, im trying :p 2012-07-08T17:16:20 < Laurenceb_> lol 2012-07-08T17:16:37 * Laurenceb_ is watching tennios 2012-07-08T17:22:49 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-08T17:29:23 < Laurenceb_> hmm format on windows and linux seems to issue a scsi format command to usb mass storage 2012-07-08T17:29:33 < Laurenceb_> the st code responds with an error 2012-07-08T17:29:35 < dongs> and on macos, it trashes the card? 2012-07-08T17:29:38 < Laurenceb_> lol 2012-07-08T17:29:48 < Laurenceb_> how do i correctly respond? 2012-07-08T17:29:59 < dongs> hell if i know. did you look at spec? 2012-07-08T17:30:00 < Laurenceb_> i mean surely low level format is meaningless 2012-07-08T17:30:10 < Laurenceb_> http://linux.die.net/man/8/sg_format 2012-07-08T17:30:16 < Laurenceb_> <- confused 2012-07-08T17:30:56 < Laurenceb_> seems the error response from the stm causes windows to give up and linux to throw an error message 2012-07-08T17:31:21 < Laurenceb_> maybe do nothing and replay with success? 2012-07-08T17:31:36 -!- tavish_ [~tavish@59.177.9.146] has joined ##stm32 2012-07-08T17:32:51 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 244 seconds] 2012-07-08T17:33:02 < dongs> sure 2012-07-08T17:35:06 < Laurenceb_> "Not all SCSI direct access devices need to be formatted and some have vendor specific formatting procedures" 2012-07-08T17:35:09 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-08T17:35:11 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-08T17:35:13 < Laurenceb_> surely makes no sense for SD cards 2012-07-08T17:35:24 <+Steffanx> nu 2012-07-08T17:35:28 < Laurenceb_> theres just the file system initialisation which is handled by the host os 2012-07-08T17:36:36 < Laurenceb_> wait wtf ST 2012-07-08T17:36:39 < Laurenceb_> Set_Scsi_Sense_Data(CBW.bLUN, NOT_READY, MEDIUM_NOT_PRESENT); 2012-07-08T17:36:47 < Laurenceb_> if you issue scsi format 2012-07-08T17:36:51 < Laurenceb_> no wonder it fails 2012-07-08T17:37:13 < Laurenceb_> it replys with error and media removal 2012-07-08T17:39:44 < dongs> is there a proper format command afterward? 2012-07-08T17:39:49 < dongs> i mean like block erase or someshti 2012-07-08T17:40:37 < Laurenceb_> http://www.google.com/url?sa=t&rct=j&q=scsi%20formatr%20unit%20command%20usb%20mass%20storage&source=web&cd=1&ved=0CFEQFjAA&url=http%3A%2F%2Fwww.usb.org%2Fdevelopers%2Fdevclass_docs%2Fusb_msc_boot_1.0.pdf&ei=aZv5T-z6EITR8QOUs4H9Bg&usg=AFQjCNGy8soxQGQ5OUQxO4ZaXiFIouhYLw&cad=rja 2012-07-08T17:40:45 < Laurenceb_> eww wtf google 2012-07-08T17:40:51 < Laurenceb_> but im reading that 2012-07-08T17:40:54 < dongs> haha 2012-07-08T17:41:00 < dongs> what shitty browser are you using 2012-07-08T17:41:03 < dongs> i found a solution for chrome 2012-07-08T17:41:05 < Laurenceb_> firefox 2012-07-08T17:41:18 < Laurenceb_> direfox 2012-07-08T17:41:19 < dongs> https://chrome.google.com/webstore/detail/ccenmflbeofaceccfhhggbagkblihpoh 2012-07-08T17:41:25 < dongs> this trashes all the fucking gay links 2012-07-08T17:41:40 < dongs> so i can finally right click to save PDFs and shit 2012-07-08T17:43:54 < Laurenceb_> The host sends the FORMAT UNIT command to physically format a diskette according to selected options. 2012-07-08T17:43:57 < Laurenceb_> hahaha diskette 2012-07-08T17:45:11 < Laurenceb_> least they didnt say tape cassett 2012-07-08T17:47:53 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-08T17:50:52 < cjbaird> C2N <3 2012-07-08T17:53:24 < dongs> wat 2012-07-08T17:54:14 < Laurenceb_> http://www.amazon.co.uk/dp/1931448043/ref=asc_df_19314480438666735?smid=A3P5ROKL5A1OLE&tag=googlecouk06-21&linkCode=asn&creative=22206&creativeASIN=1931448043 2012-07-08T17:54:15 < Laurenceb_> lol 2012-07-08T17:54:36 < dongs> Tell the Publisher! 2012-07-08T17:54:37 < dongs> I’d like to read this book on Kindle 2012-07-08T17:55:04 < Laurenceb_> its on google books 2012-07-08T17:55:12 < dongs> is thajt free 2012-07-08T17:59:46 < Laurenceb_> http://books.google.co.uk/books?id=gzUOUeEbozQC&lpg=PA148&ots=HXByZ1LuZJ&dq=scsi%20format%20unit%20command%20usb%20mass%20storage&pg=PA149#v=onepage&q=scsi%20format%20unit%20command%20usb%20mass%20storage&f=false 2012-07-08T18:00:06 < Laurenceb_> ill just make it rely with success 2012-07-08T18:21:41 -!- tavish_ [~tavish@59.177.9.146] has quit [Ping timeout: 250 seconds] 2012-07-08T18:22:39 < dongs> fuck yea! 2012-07-08T18:23:24 < Laurenceb_> i dont get what they mean by erase 2012-07-08T18:23:35 < Laurenceb_> i mean overwriting with zeros would be silly 2012-07-08T18:24:18 < dongs> http://i.imgur.com/8LDXT.jpg fuck yeah, its workin 2012-07-08T18:24:58 < Laurenceb_> osd? 2012-07-08T18:25:09 < dongs> onscreendongs 2012-07-08T18:25:17 < dongs> first i filled my osd_ram with noise 2012-07-08T18:25:19 < dongs> like rand() 2012-07-08T18:25:23 < dongs> and it caused that fucking screen 2012-07-08T18:25:26 < dongs> to go "no signal" 2012-07-08T18:25:26 < dongs> lol 2012-07-08T18:27:44 -!- tavish [~tavish@59.177.9.146] has joined ##stm32 2012-07-08T18:27:44 -!- tavish [~tavish@59.177.9.146] has quit [Changing host] 2012-07-08T18:27:44 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-08T18:33:42 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 264 seconds] 2012-07-08T18:39:21 -!- tavish [~tavish@59.177.9.146] has joined ##stm32 2012-07-08T18:39:21 -!- tavish [~tavish@59.177.9.146] has quit [Changing host] 2012-07-08T18:39:21 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-08T18:41:38 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-08T19:02:02 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-08T19:06:26 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-08T19:06:48 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 245 seconds] 2012-07-08T19:17:54 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-08T19:20:39 < dongs> http://www.youtube.com/watch?v=qirzGKVQjgc 2012-07-08T19:21:23 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has joined ##stm32 2012-07-08T19:22:34 < Laurenceb_> lol dongs lair 2012-07-08T19:23:13 < dongs> lol 2012-07-08T19:23:17 < dongs> my desk is fucking horrible. 2012-07-08T19:28:33 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [] 2012-07-08T19:39:39 < Tectu> i am back, guys 2012-07-08T19:39:43 < Tectu> Steffanx, you arround? 2012-07-08T19:52:48 < dongs> man stlink is garbage 2012-07-08T19:52:55 < dongs> i can view vars while shit is running with ulink/jlink 2012-07-08T19:53:05 < dongs> but i have to break in to viw with stlink??? 2012-07-08T19:53:05 < dongs> wtf 2012-07-08T20:01:13 <+Steffanx> Maybe Tectu 2012-07-08T20:03:36 < Tectu> Steffanx, got some stroopwafles 2012-07-08T20:03:40 < Tectu> damn these things rock :D 2012-07-08T20:03:47 <+Steffanx> Hehe 2012-07-08T20:04:05 <+Steffanx> I hope you didn't buy the cheapest ones you can get 2012-07-08T20:04:39 <+Steffanx> I some cities you can buy them on a market .. they still warm :D :D 2012-07-08T20:06:33 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-08T20:06:50 < TitanMKD> hi 2012-07-08T20:06:57 <+Steffanx> Hi TitanMKD 2012-07-08T20:09:05 < TitanMKD> does anyone know a DC/DC converter supporting Step up and Step down at same time ? to connect to USB 5V=>3.3v and also LiPO 3.7V=>3.3V 2012-07-08T20:10:38 < Laurenceb_> you could use a sepic 2012-07-08T20:11:06 < TitanMKD> ? 2012-07-08T20:11:42 <+Steffanx> 3.7 and 5 => 3.3 is both step down :P 2012-07-08T20:12:06 < TitanMKD> yes but step down often requires more delta 2012-07-08T20:12:07 < Tectu> Steffanx, bought them in albert heijn 2012-07-08T20:12:11 < TitanMKD> like 4V to 3.3V 2012-07-08T20:12:27 < TitanMKD> inb fact i would like also 1.8V ;) 2012-07-08T20:12:35 < TitanMKD> 3.7=>1.8V 2012-07-08T20:12:36 <+Steffanx> http://www.ti.com/product/tps63020#feature looking a t the diagram it accepts 2.7 - 5.5 => 3.3 2012-07-08T20:13:47 < TitanMKD> Steffanx yes seems not bad ;) 2012-07-08T20:13:53 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-08T20:14:23 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has left ##stm32 ["Leaving"] 2012-07-08T20:14:27 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-08T20:14:28 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-08T20:14:28 < TitanMKD> Steffanx but i doubt it does also 3.7V to 3.3V or 1.8V 2012-07-08T20:14:32 <+Steffanx> oops 2012-07-08T20:15:08 <+Steffanx> It's a buck-boost converter .. 2012-07-08T20:16:06 <+Steffanx> "Automatic Transition Between Step Down and Boost Mode" 2012-07-08T20:16:36 < TitanMKD> seems great in that case 2012-07-08T20:16:55 < TitanMKD> if in addition it support LiPO charge & control it will be a must 2012-07-08T20:17:08 <+Steffanx> Abuse their sample service :P 2012-07-08T20:17:14 <+Steffanx> They're sooo fast 2012-07-08T20:17:22 < Tectu> Steffanx, also got some pannekuchen with stroop 2012-07-08T20:17:25 < Tectu> pretty awesome 2012-07-08T20:17:37 < Tectu> ah, and i fucking love the peanutsauce you get to every meat meal :D 2012-07-08T20:17:40 <+Steffanx> Sample today a you have them ~wednesday TitanMKD :P 2012-07-08T20:18:08 < TitanMKD> yes i "love" TI for that 2012-07-08T20:18:29 <+Steffanx> I don't like that Tectu .. 'peanutsauce' 2012-07-08T20:18:40 < dongs> Tectu: status of http://www.youtube.com/watch?v=qirzGKVQjgc 2012-07-08T20:18:50 <+Steffanx> Tried the "kroket" or "frikandel" yet Tectu ? 2012-07-08T20:19:15 <+Steffanx> Time to get a decent lens for your camera dongs 2012-07-08T20:19:21 < dongs> blame gopro 2012-07-08T20:19:35 < Tectu> Steffanx, sure, got both from febo and a snackbar 2012-07-08T20:19:40 < Tectu> the frikadel from febo are damn good sir :) 2012-07-08T20:19:46 <+Steffanx> Febo lol 2012-07-08T20:20:07 <+Steffanx> And a nice professional messy desk, dongs .. prefect :D 2012-07-08T20:20:16 < Tectu> looks nice dongs, some more backgroun? 2012-07-08T20:20:18 < Tectu> background* 2012-07-08T20:20:21 < Tectu> btw, nice workbench, dongs 2012-07-08T20:20:30 < Tectu> Steffanx, what's to lol 'bout febo? 2012-07-08T20:21:03 < dongs> Tectu: video overlay, nothing really interesting. 3d cube realtime render from another proj where i had it going to SPI lcd. 2012-07-08T20:21:06 <+Steffanx> nothing nvm 2012-07-08T20:21:16 < Tectu> Steffanx, c'mon, tell me 2012-07-08T20:21:40 < Tectu> dongs, tell me about the cube 2012-07-08T20:21:47 <+Steffanx> Nah, it's a good place for a fast snack, but you have no idea how old it is 2012-07-08T20:21:50 < TitanMKD> Steffanx they have only VSON package but it seems possible to solder that with iron instead of Hot air ;) 2012-07-08T20:21:51 < dongs> Tectu: its written in messy C 2012-07-08T20:22:12 < Tectu> dongs, how does it work? 2012-07-08T20:22:12 < dongs> http://bcas.tv/paste/results/wQlJOj48.html 2012-07-08T20:22:14 <+Steffanx> Laurenceb_ style? 2012-07-08T20:22:34 < dongs> its a 3d renderer lol. 2012-07-08T20:25:35 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-08T20:27:14 < Tectu> dongs, how to use it? 2012-07-08T20:33:32 < dongs> Tectu: giev it framebuffer to draw in 2012-07-08T20:34:45 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-08T20:44:54 < Tectu> done well? http://i.imgur.com/ptHC0.jpg 2012-07-08T21:08:31 <+Steffanx> what's that Tectu ? 2012-07-08T21:09:03 < Tectu> friends notebook power supply with some heatsink 2012-07-08T21:52:25 < Laurenceb_> anyone here familiar with how usb mass storage format works? 2012-07-08T21:52:48 < zyp> somewhat, why? 2012-07-08T21:53:03 < Laurenceb_> well st example code returns errors for scsi format command 2012-07-08T21:53:08 < Laurenceb_> what should it do? 2012-07-08T21:53:22 < zyp> no idea 2012-07-08T21:53:29 < zyp> did you try reading the spec? 2012-07-08T21:54:02 < zyp> http://www.usb.org/developers/devclass_docs/usb_msc_overview_1.2.pdf 2012-07-08T21:54:50 < zyp> or rather http://www.usb.org/developers/devclass_docs/usbmassbulk_10.pdf 2012-07-08T21:55:35 <+Steffanx> Good literature to read on the toilet for Laurenceb_ 2012-07-08T21:56:02 < zyp> I guess section 6.6.4 might be relevant? 2012-07-08T21:56:42 < zyp> also 6.7.2 2012-07-08T21:56:42 < Laurenceb_> i have porn for that Steffanx 2012-07-08T21:56:57 <+Steffanx> Hmpf 2012-07-08T21:57:55 < Laurenceb_> cant find scsi format anywhere there 2012-07-08T21:58:06 < Laurenceb_> i found this 2012-07-08T21:58:07 < Laurenceb_> http://books.google.co.uk/books?id=gzUOUeEbozQC&lpg=PA148&ots=HXByZ1LuZJ&dq=scsi%20format%20unit%20command%20usb%20mass%20storage&pg=PA149#v=onepage&q=scsi%20format%20unit%20command%20usb%20mass%20storage&f=false 2012-07-08T21:58:53 < Laurenceb_> ST code responds with Set_Scsi_Sense_Data(CBW.bLUN, NOT_READY, MEDIUM_NOT_PRESENT); 2012-07-08T21:59:00 < Laurenceb_> so no wonder it fails :P 2012-07-08T22:00:06 < zyp> well, sounds like your issue is SCSI related, not USB 2012-07-08T22:00:12 < zyp> so you're looking at the wrong layer 2012-07-08T22:00:13 < Laurenceb_> yeah 2012-07-08T22:00:36 < Laurenceb_> i guess the question is what should scsi do if the card doesnt support formatting? 2012-07-08T22:00:41 < Laurenceb_> return ok? 2012-07-08T22:02:02 < Laurenceb_> theres low level and high level format right? 2012-07-08T22:02:39 < zyp> «not ready» sounds like a reasonable «not possible to format»-code 2012-07-08T22:02:58 < zyp> and this is obviously low level 2012-07-08T22:03:14 < zyp> high level is filesystem level and has nothing to do with SCSI commands 2012-07-08T22:04:07 < Laurenceb_> linux errors on format 2012-07-08T22:04:47 < zyp> what do you do to trigger a format then? 2012-07-08T22:05:00 < Laurenceb_> that link says the scsi format has to be supported 2012-07-08T22:05:15 < zyp> which link? 2012-07-08T22:05:19 < Laurenceb_> using the disk manager 2012-07-08T22:05:28 < Laurenceb_> http://books.google.co.uk/books?id=gzUOUeEbozQC&lpg=PA148&ots=HXByZ1LuZJ&dq=scsi%20format%20unit%20command%20usb%20mass%20storage&pg=PA149#v=onepage&q=scsi%20format%20unit%20command%20usb%20mass%20storage&f=false 2012-07-08T22:05:40 < zyp> doesn't work for me 2012-07-08T22:05:55 < zyp> oh wait, now it worked 2012-07-08T22:06:16 < zyp> didn't work the first time I tried, it just said I weren't allowed to read that page in that book 2012-07-08T22:06:29 < Laurenceb_> *wasn't 2012-07-08T22:07:24 < Laurenceb_> ubuntu errors with "it is not possible to format the disk" 2012-07-08T22:07:32 < Laurenceb_> windows just dies horribly 2012-07-08T22:08:01 < zyp> ah, right 2012-07-08T22:08:11 < zyp> so the example seems to be faulty 2012-07-08T22:08:16 < Laurenceb_> theres no comms to the card 2012-07-08T22:08:26 < Laurenceb_> it seems the scsi response makes it error 2012-07-08T22:08:44 < zyp> of course 2012-07-08T22:08:54 < zyp> anyway, I need to sleep, have a good night 2012-07-08T22:09:01 < Laurenceb_> ill make it reply with ok 2012-07-08T22:09:06 < Laurenceb_> cya, thanx for help 2012-07-08T22:34:48 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-08T22:41:49 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-08T22:44:42 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 250 seconds] 2012-07-08T23:06:36 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-08T23:09:26 -!- monode [56790231@gateway/web/freenode/ip.86.121.2.49] has joined ##stm32 2012-07-08T23:10:18 < monode> anyone here working with cm3? 2012-07-08T23:10:58 < monode> i'm trying to generate a fixed number of pulses on a timer, but i doesn't seem to update the UIF flag 2012-07-08T23:11:01 < monode> http://codepad.org/lOpBQAjZ 2012-07-08T23:11:06 < monode> so what i get is a continous stream of pulses 2012-07-08T23:11:32 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-08T23:13:34 < zippe> Normally you'd use two timers for that 2012-07-08T23:13:45 < zippe> One to generate the pulses, one to time the sequence 2012-07-08T23:15:20 < monode> no, i mean, i want to generate say, only 5 pulses 2012-07-08T23:15:36 < monode> and since i always know their width and total period, i'd be safe just by counting them 2012-07-08T23:16:03 < monode> i was hoping to do it using the nvic, but i'm kind of stuck, so i'll just try it by reading the interrupt flags first, but it doesn't really seem to be working 2012-07-08T23:16:10 < zippe> Assuming you don't take another interrupt in the meantime 8) 2012-07-08T23:16:30 < monode> indeed, that's why i want to use the nvic first 2012-07-08T23:16:42 < zippe> I'm not sure what you mean by that 2012-07-08T23:16:56 < monode> count the pulses by triggering an interrupt 2012-07-08T23:17:13 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 245 seconds] 2012-07-08T23:18:18 < zippe> So assuming that you won't be handling some other interrupt for too long? 2012-07-08T23:18:19 < monode> i know that when the timer reaches 0, the uev is generated, if i have a counter increment on each uev, i can stop the timer after the count reaches a specific value 2012-07-08T23:18:54 < monode> the pulses are pretty slow anyway, 1-2KHz tops 2012-07-08T23:19:26 < monode> but yeah, i won't be handling other interrupts, and if i will, they will have lower priority 2012-07-08T23:21:50 < zippe> Ok, so it sounds like you're not getting the update event; I've had issues there too that I never sorted out 2012-07-08T23:22:22 < monode> update only fires when the new ARR/CCR/PSC change value? 2012-07-08T23:22:31 < monode> yeah, pretty much 2012-07-08T23:29:23 < monode> hmm 2012-07-08T23:29:29 < monode> i can't seem to get the interrupt running either 2012-07-08T23:30:34 < monode> i did this nvic_enable_irq(NVIC_TIM5_IRQ); timer_enable_irq(TIM5, TIM_DIER_UIE); 2012-07-08T23:30:57 < monode> and in tim5_isr() i'm checking TIM_SR_UIF and clearing it if (timer_get_flag(TIM5, TIM_SR_UIF))... 2012-07-08T23:31:26 < monode> a volatile int keeps count of how many interrupts were hit, and disables the timer if it passes the a value, but that never happens either 2012-07-08T23:35:39 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2012-07-08T23:37:50 < Laurenceb_> Q: what do you call a cluster of raspberry pis ? 2012-07-08T23:38:58 < Laurenceb_> A: a clusterfuck 2012-07-08T23:39:39 < Tectu> o0 2012-07-08T23:41:10 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-08T23:45:37 < monode> i see what you did there --- Day changed Mon Jul 09 2012 2012-07-09T00:04:41 < monode> isr working now, but it seems to react only to CCxIF, not UIF 2012-07-09T00:19:09 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Ping timeout: 250 seconds] 2012-07-09T00:20:29 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-09T00:39:19 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-09T00:50:56 < Tectu> is it just me or is the f4 discovery pinconfig somehow stupid? 2012-07-09T00:54:59 < zippe> Probably just you 2012-07-09T00:55:19 < zippe> But it could be; depends on what you're thinking of 2012-07-09T00:56:23 < Thorn> discovery pin config or stm32f4 pin config? 2012-07-09T00:56:49 < Thorn> what *is* stupid is inability to use usb and can at the same time in stm32f103 2012-07-09T01:05:37 -!- monode [56790231@gateway/web/freenode/ip.86.121.2.49] has quit [Quit: Page closed] 2012-07-09T01:09:24 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 2012-07-09T01:43:12 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-09T02:08:30 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-09T02:18:47 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-09T02:18:53 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-09T02:22:38 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 2012-07-09T02:22:38 -!- dfletcher_ [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 2012-07-09T02:31:02 < dongs> sup dongs 2012-07-09T03:06:32 < dongs> no blog??? 2012-07-09T03:14:06 < cjbaird> blog me a river 2012-07-09T03:17:08 < dongs> oh haha 2012-07-09T03:17:19 < dongs> the tracking removal chrome plugin gets rid of the dumb fucking +1 shit on e very googlt hit too 2012-07-09T03:17:22 < dongs> awesome 2012-07-09T03:17:53 < dongs> oh wait no :( they hided it 2012-07-09T03:19:08 < dongs> got al lexcited for NOTHING 2012-07-09T03:57:22 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 265 seconds] 2012-07-09T03:59:19 < Thorn> how do I read request data from the default pipe? 2012-07-09T03:59:53 < Thorn> trying to do PMAToUserBufferCopy(data, GetEPRxAddr(ENDP0), length); but the data doesn't look right 2012-07-09T04:00:11 < Thorn> this is f103 with the usb device library from ST 2012-07-09T04:02:04 < dongs> sounds about right 2012-07-09T04:03:40 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-09T04:07:24 < Thorn> unless I misunderstand the HID "set feature report" function, the data I read is wrong 2012-07-09T04:08:03 < Thorn> it should be just like a normal "set report" report (report id + actual data), right? 2012-07-09T04:09:01 < dongs> hey, i have some hid code that does that 2012-07-09T04:09:03 < dongs> lemme find it 2012-07-09T04:09:06 < dongs> it looked ok for me 2012-07-09T04:11:27 < dongs> .. somewhre 2012-07-09T04:13:08 < Thorn> I found your paste in the logs http://bcas.tv/paste/results/wFEVpy30.html 2012-07-09T04:13:22 < dongs> o yeah rite 2012-07-09T04:13:44 < dongs> i dont have any reference to PMA* shit though 2012-07-09T04:13:45 < dongs> in my code 2012-07-09T04:13:55 < Thorn> now wtf is DeviceGetFeatureCopyRoutine. it sure is not PMAToUserBufferCopy() 2012-07-09T04:14:31 < dongs> http://bcas.tv/paste/results/k3ShQS89.html 2012-07-09T04:15:10 < dongs> no idea at all, i was just ragecopypasting everywhere :p 2012-07-09T04:17:04 < Thorn> ahh 2012-07-09T04:17:22 < Thorn> this is GET_REPORT not SET_REPORT. you you send it, not read it 2012-07-09T04:17:47 < Thorn> this explains deviceFeatureBuffer etc. 2012-07-09T04:18:21 < dongs> rite 2012-07-09T04:18:26 < dongs> i didnt get that far yet ;p 2012-07-09T04:19:23 < Thorn> these ultra-retarded CopyRoutines are used to send data to the host 2012-07-09T04:25:56 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-09T04:35:24 < Thorn> some explanation here https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/DispForm.aspx?ID=23007 2012-07-09T04:35:54 < Thorn> and here https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FGet%20and%20set%20feature%20reports%20with%20STM32_USB-FS-Device_Lib_V3.3.0&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=322 2012-07-09T04:35:59 < Thorn> (nice url) 2012-07-09T04:43:00 < dongs> st forums are utterly worthless 2012-07-09T04:43:23 < dongs> the same fuck who redid their website to amke it absolutely unusable must have been behind the forums setup 2012-07-09T05:58:24 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-09T05:58:30 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-09T06:05:39 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-09T06:08:26 -!- Thorn__ [~Thorn@2.94.140.233] has joined ##stm32 2012-07-09T06:08:26 -!- Thorn__ [~Thorn@2.94.140.233] has quit [Changing host] 2012-07-09T06:08:26 -!- Thorn__ [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-09T06:08:29 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-09T06:11:07 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 240 seconds] 2012-07-09T06:19:20 -!- josepharmbrust-1 [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-09T06:22:07 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Ping timeout: 240 seconds] 2012-07-09T07:20:37 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-07-09T07:26:26 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has left ##stm32 [] 2012-07-09T08:10:49 < dongs> http://www.powermcu.com/images//20120607/1c52f38f0f584d2b.jpg 2012-07-09T08:10:51 < dongs> is this a stlink clone? 2012-07-09T09:13:10 < dongs> whats this shit i hear 2012-07-09T09:13:16 < dongs> F4 Z revision doesnt work with stlink? 2012-07-09T09:13:50 < dongs> http://bcas.tv/paste/results/R336Qu13.html < my trollpals are reporting this 2012-07-09T09:14:07 -!- tavish3 [~tavish@120.59.41.214] has joined ##stm32 2012-07-09T09:27:42 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2012-07-09T09:34:08 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-09T09:49:53 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-09T09:54:35 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-09T09:55:48 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-09T10:07:06 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-09T10:12:27 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-09T10:27:15 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-09T10:36:59 < dongs> ugh 2012-07-09T10:37:10 < dongs> SDIO_D0 or TIM8_CH3 and theres no choice 2012-07-09T10:37:10 < dongs> lame 2012-07-09T10:37:59 < dongs> unless I go for BALLS GRIDS ARRAY 2012-07-09T10:43:38 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-09T10:47:54 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Quit: peabody124] 2012-07-09T10:48:28 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Ping timeout: 245 seconds] 2012-07-09T10:49:44 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-09T11:31:52 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-09T12:31:05 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-09T12:32:52 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-09T12:44:32 -!- sunilg [~chatzilla@117.217.49.71] has joined ##stm32 2012-07-09T12:48:02 < Laurenceb_> sup 2012-07-09T12:49:49 < dongs> dongs 2012-07-09T12:50:02 < dongs> mapped out 100pin F4 2012-07-09T12:50:06 < dongs> got almost everything used. 2012-07-09T12:50:18 < dongs> fucking microxplorer lagged up my desktop for a nhour 2012-07-09T12:59:21 < zyp> heh, I used paper when I mapped out my F4 2012-07-09T13:00:00 < zyp> I just printed the AF table from the reference manual and started picking pins from that 2012-07-09T13:03:42 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-09T13:03:46 < dongs> heh 2012-07-09T13:03:53 < dongs> microxplorer is not bad 2012-07-09T13:04:00 < dongs> if you just use the af dropdowns 2012-07-09T13:04:04 < dongs> instead of picking peripherals 2012-07-09T13:04:15 < dongs> cause picking one just chooses default pin set 2012-07-09T13:04:22 < dongs> which is usually not waht you want 2012-07-09T13:06:01 < zyp> nah 2012-07-09T13:07:05 < zyp> if it were useful, it would allow you to specify how many uarts, timer channels, etc, you would need, and figure out which possibilities would satisfy that 2012-07-09T13:07:55 < dongs> right 2012-07-09T13:07:58 < dongs> but it beats printing out af map. 2012-07-09T13:08:19 < dongs> not by much though :) 2012-07-09T13:08:41 < dongs> 64pin package really sucks though :( 2012-07-09T13:08:42 < zyp> not sure about that :p 2012-07-09T13:08:45 < dongs> I wanted at least 1bit sdio 2012-07-09T13:08:52 < dongs> that kills half the timer channels :( 2012-07-09T13:08:56 < dongs> and USB. 2012-07-09T13:09:21 < dongs> too bad we have a massproduction device with 64pin 405RG, shit is so cheap cause I can get it anytime 2012-07-09T13:09:39 < zyp> the AF map is kind of a nice matrix of peripherals and pins, so it's quite obvious what overlap and what does not 2012-07-09T13:10:57 < zyp> so you just start by picking the pins that only have one interesting function, and then ignore picked functions on the other pins, which reduces the number of interesting functions on them 2012-07-09T13:11:09 < dongs> i duno man 2012-07-09T13:11:14 < dongs> the map looked pretty hardcore. 2012-07-09T13:11:19 < dongs> i like clicking in slow java GUis. 2012-07-09T13:11:50 < zyp> I like getting shit done 2012-07-09T13:11:51 < zyp> :p 2012-07-09T13:12:07 < dongs> which pinout did you map? 2012-07-09T13:12:08 < dongs> 64 or 100 2012-07-09T13:12:25 < zyp> 64 2012-07-09T13:12:39 < dongs> how many timers? 2012-07-09T13:12:47 < dongs> i got like 16 or so out of 100pin 2012-07-09T13:12:53 < dongs> w/usb, sdio, can, 3 uarts. 2 spi 2012-07-09T13:13:07 < zyp> I believe I mapped out 10 channels 2012-07-09T13:13:14 < dongs> hm, ya not enough 2012-07-09T13:13:28 < zyp> was enough for my board 2012-07-09T13:14:06 < dongs> http://i.imgur.com/qPFM7.png\ 2012-07-09T13:14:43 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 245 seconds] 2012-07-09T13:15:44 < zyp> my timer channels run directly to the CPLD, so they are actually on the same pins as CAN and some USARTs, so they can be used as either 2012-07-09T13:17:29 < zyp> http://bin.jvnv.net/f/hrX4l.png <- you've probably seen this before 2012-07-09T13:17:29 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-09T13:19:07 -!- ratatata [~nu@94.244.84.228] has quit [Ping timeout: 240 seconds] 2012-07-09T13:20:14 < dongs> ya 2012-07-09T13:23:47 < karlp> what's Vcap on the f4? 2012-07-09T13:24:56 < zyp> capacitors for the internal vreg 2012-07-09T13:25:27 < karlp> what's so special about the f4 that they are needed on that, but not on the f1 and l1? 2012-07-09T13:26:22 < zyp> the core is probably running at a lower voltage to support the higher speed 2012-07-09T13:34:06 < ntfreak> dongs: install v2.3 of stlink utilty and rev Z will work - http://www.st.com/internet/com/SOFTWARE_RESOURCES/TOOL/DEVICE_PROGRAMMER/stm32_st-link_utility.zip 2012-07-09T14:00:48 < dongs> ntfreak: yeah. got it solved. also needed a updated stm package for crossworks. 2012-07-09T14:00:53 < dongs> wasnt my system, mine was OK. 2012-07-09T14:01:00 < dongs> another office was setting shit up 2012-07-09T14:01:37 -!- sunilg [~chatzilla@117.217.49.71] has quit [Ping timeout: 240 seconds] 2012-07-09T14:20:20 -!- tavish3 [~tavish@120.59.41.214] has quit [Read error: Operation timed out] 2012-07-09T14:22:08 -!- tavish3 [~tavish@120.56.163.161] has joined ##stm32 2012-07-09T15:06:00 < Thorn__> so libopencm3 isn't using cmsis at all? not even peripheral register definitions 2012-07-09T15:06:12 -!- Thorn__ is now known as Thorn 2012-07-09T15:08:25 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-09T15:08:28 < Laurenceb> dongs: what do you call a cluster of raspberry pis? 2012-07-09T15:11:45 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Operation timed out] 2012-07-09T15:12:06 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 2012-07-09T15:13:29 < dongs> Laurenceb: clusterfuck. old joke is old. 2012-07-09T15:15:57 < Laurenceb> :( 2012-07-09T15:36:36 -!- tavish3 [~tavish@120.56.163.161] has quit [Quit: leaving] 2012-07-09T15:38:02 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-09T15:39:10 -!- sunilg [~chatzilla@117.217.52.194] has joined ##stm32 2012-07-09T15:41:31 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-09T16:29:17 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-09T16:40:15 < Laurenceb> wtf 2012-07-09T16:40:39 < Laurenceb> src/stlink-usb.c: Couldn't find any ST-Link/V2 device 2012-07-09T16:41:01 < Laurenceb> red led is flashing on my stlink 2012-07-09T16:41:59 < Thorn> when you use hid_write() from hidapi (or equivalent), how are reports sent, using "set report" request or an interrupt pipe? 2012-07-09T16:42:58 < Thorn> >hid_write() will send the data on the first OUT endpoint, if one exists. If it does not, it will send the data through the Control Endpoint (Endpoint 0). 2012-07-09T16:43:45 < Thorn> what does it mean, "first OUT endpoint". only one is allowed in HID 2012-07-09T16:46:49 < Laurenceb> p/x f_err_code 2012-07-09T16:46:49 < Laurenceb> $3 = 0x0 2012-07-09T16:46:49 < Laurenceb> (gdb) bt 2012-07-09T16:46:49 < Laurenceb> #0 0x08001f60 in Delay (delay=2814374) at Util/delay.c:11 2012-07-09T16:46:49 < Laurenceb> #1 0x0800c8b4 in main () at main.c:141 2012-07-09T16:47:04 < Laurenceb> line 141 is inside if(f_err_code) { 2012-07-09T16:47:08 < Laurenceb> WTF 2012-07-09T16:49:06 < Thorn> -O0? 2012-07-09T16:49:15 < Laurenceb> nope 2012-07-09T16:49:19 < Laurenceb> ok stlink is screwed 2012-07-09T16:49:26 < Laurenceb> i just updated with latest trexane 2012-07-09T16:49:36 < Thorn> recompile with no optimization 2012-07-09T16:49:44 < Laurenceb> then it wont fit 2012-07-09T16:49:49 < karlp> newest texane added lots of stuff for F4 to send fpu registers and so on 2012-07-09T16:49:56 < Laurenceb> maybe i didnt install texane correctly 2012-07-09T16:49:58 < karlp> it may not have been well tested 2012-07-09T16:50:13 < Laurenceb> it keeps risconnecting with a green led now 2012-07-09T16:50:16 < Laurenceb> *dis 2012-07-09T16:50:43 < Laurenceb> ill try reinstalling 2012-07-09T16:53:05 -!- sunilg [~chatzilla@117.217.52.194] has quit [Ping timeout: 255 seconds] 2012-07-09T16:55:37 < Laurenceb> god what a clusterfuck 2012-07-09T16:56:34 < Laurenceb> libusb_submit_transfer(-4) 2012-07-09T16:56:34 < Laurenceb> [!] send_recv 2012-07-09T16:56:40 < Laurenceb> soon as i try to flash 2012-07-09T16:58:10 < Laurenceb> im so screwed 2012-07-09T16:58:55 < karlp> unplugging/replugging nromally gets out of that for me. 2012-07-09T16:59:11 < karlp> I only see it occasioanlly these days, normally after suspending and resuming the VM a lot 2012-07-09T16:59:24 < karlp> but you're doing low power stuff on the target right? 2012-07-09T16:59:40 < Laurenceb> yes 2012-07-09T16:59:44 < karlp> zippe mentioned there's some code missing to help the stlink get out of some of these hard reset states 2012-07-09T17:01:25 < Laurenceb> no its screwed 2012-07-09T17:01:48 < Laurenceb> stlink only connects to usb now about 10% of the time 2012-07-09T17:02:00 < Laurenceb> ive tried about 20 attempts at reflashing 2012-07-09T17:02:03 < Laurenceb> always fails 2012-07-09T17:02:14 < Laurenceb> it disconnects with green led 2012-07-09T17:02:35 < Laurenceb> and ive overwritten by st-util binary 2012-07-09T17:02:35 < Tectu> karlp, is there still a speed issue with texane and f4 disco? 2012-07-09T17:02:51 < Laurenceb> does anyone have an st-util binary for linux? 2012-07-09T17:03:05 < Tectu> Laurenceb, yes 2012-07-09T17:03:05 < Laurenceb> maybe i could pull an old version off github? 2012-07-09T17:03:09 < Tectu> why don't you compile yourself? 2012-07-09T17:03:13 < Laurenceb> how could i do that? 2012-07-09T17:03:15 < Laurenceb> yeah 2012-07-09T17:03:24 < Tectu> no, you don't pull an old version when you do git clone https://github.com/texane/st-link stlink 2012-07-09T17:03:54 < Tectu> Laurenceb, where do you have a problem? 2012-07-09T17:04:09 < Laurenceb> it seems to disconnect on flashing 2012-07-09T17:04:09 < Tectu> make sure you do make clean after clonging the repo 2012-07-09T17:04:14 < Laurenceb> i know 2012-07-09T17:04:29 < Laurenceb> hmm maybe ill delete everything 2012-07-09T17:04:36 < Tectu> wtf 2012-07-09T17:05:40 < Laurenceb> oh wait i backed up old build 2012-07-09T17:05:42 < Laurenceb> im saved 2012-07-09T17:05:45 < dongs> fucking dleete eveererisotnynghithyhgin 2012-07-09T17:06:54 < Laurenceb> fatal: https://github.com/texane/st-link/info/refs not found: did you run git update-server-info on the server? 2012-07-09T17:06:59 < Laurenceb> why does everything fail 2012-07-09T17:07:05 < dongs> you installed lunix 2012-07-09T17:07:12 < Tectu> no, you don't pull an old version when you do git clone https://github.com/texane/stlink stlink 2012-07-09T17:07:30 < Tectu> dongs, you horny again? 2012-07-09T17:07:57 -!- sunilg [~chatzilla@117.207.207.249] has joined ##stm32 2012-07-09T17:12:11 < Laurenceb> failed 2012-07-09T17:12:15 < Laurenceb> same behaviour 2012-07-09T17:13:23 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-09T17:18:45 < Tectu> do we talk about a custom board or a disco board, Laurenceb ? 2012-07-09T17:19:43 < Laurenceb> custom 2012-07-09T17:20:57 < Tectu> good luck 2012-07-09T17:23:22 < Laurenceb> hmm same issue with my other L1 discovery 2012-07-09T17:24:05 < Tectu> lol dude 2012-07-09T17:24:13 < Tectu> where do you fail all the time, sir? 2012-07-09T17:24:36 < Tectu> Laurenceb, but it did work some time ago? 2012-07-09T17:25:56 < Laurenceb> yes it worked on friday 2012-07-09T17:26:03 < Laurenceb> looks like my usb cable is damaged 2012-07-09T17:27:36 < Tectu> lol... 2012-07-09T17:29:05 < Laurenceb> but thats only part of the problem 2012-07-09T17:29:12 < Laurenceb> stlink is also screwed 2012-07-09T17:29:16 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has joined ##stm32 2012-07-09T17:31:35 < dongs> how the fudk do you measure distance between 2 pins with eagle 2012-07-09T17:32:23 < Tectu> Laurenceb, i did just clone the current master of texane a few hours ago, and it works 2012-07-09T17:32:57 < Laurenceb> on F1? 2012-07-09T17:33:54 * Laurenceb is using old texane 2012-07-09T17:33:57 < Laurenceb> 1KB/s 2012-07-09T17:34:22 < Tectu> if you want I can test it on a F103 2012-07-09T17:35:25 < Laurenceb> pls 2012-07-09T17:35:29 < Laurenceb> thats what i have 2012-07-09T17:36:13 < Tectu> ok 2012-07-09T17:36:16 < Tectu> give me 5 minutes 2012-07-09T17:37:41 < Tectu> okay, I do make clean, git pull, make clean, make 2012-07-09T17:38:24 < Tectu> whoops, it did pull something new 2012-07-09T17:38:26 < Laurenceb> i deleted everything than git cloned 2012-07-09T17:39:01 < Tectu> it works fine here 2012-07-09T17:39:03 < Tectu> Transfer rate: 9 KB/sec, 4729 bytes/write. 2012-07-09T17:40:43 < Laurenceb> do you have all the pins connected? 2012-07-09T17:40:46 < Laurenceb> NRST? 2012-07-09T17:41:18 < Tectu> dunno, its a china board with STM32F103 and dedicated stlink v2 connected over 20pin JTAG 2012-07-09T17:41:36 < Tectu> afaik it's connected, yes 2012-07-09T17:41:42 < Laurenceb> hmm 2012-07-09T17:44:28 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-09T17:44:43 < Tectu> sorry, everything works here, Laurenceb 2012-07-09T17:45:03 < Laurenceb> ok i see 2012-07-09T17:45:07 -!- peabody124 [~peabody12@mellow1.adsl.datanet.hu] has quit [Ping timeout: 240 seconds] 2012-07-09T17:45:15 < Laurenceb> ill try disconnecting nrst 2012-07-09T17:45:29 < Tectu> i can try F4 too, if you want 2012-07-09T17:45:42 < Tectu> F4 disco, ofc 2012-07-09T17:48:33 < Laurenceb> oh it works now 2012-07-09T17:48:35 < Laurenceb> weird 2012-07-09T17:48:40 < Laurenceb> think its my usb cable 2012-07-09T17:48:55 < Laurenceb> going to have to get a new one 2012-07-09T17:49:13 < Tectu> -.- 2012-07-09T17:50:41 < Laurenceb> looks like coprrosion 2012-07-09T17:51:12 < Tectu> wtf? 2012-07-09T17:51:45 < Laurenceb> i found itin a bin 2012-07-09T17:52:08 < Tectu> oh dear 2012-07-09T17:52:17 < Laurenceb> 2 years ago 2012-07-09T17:52:34 < Tectu> i've never seen corrosion on a USB cable 2012-07-09T17:52:37 < Laurenceb> ok wtf 2012-07-09T17:52:41 < Laurenceb> new calb esame issue 2012-07-09T17:52:45 < Laurenceb> maybe the port 2012-07-09T17:52:57 < Laurenceb> the cable off the other port is working fine 2012-07-09T17:53:33 < Laurenceb> aha its the port 2012-07-09T17:53:43 < Laurenceb> something BADDD happening to my motherboard 2012-07-09T17:57:48 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-09T17:59:30 < Tectu> ... 2012-07-09T18:00:19 < Laurenceb> working now 2012-07-09T18:00:27 < Laurenceb> but i cant debug my usb 2012-07-09T18:00:32 < Laurenceb> as it never configures 2012-07-09T18:00:51 < Laurenceb> i think maybe as it has the same VID/PID as the stlink and is off the same hub? 2012-07-09T18:03:29 < karlp> you.... what? 2012-07-09T18:05:10 < Thorn> why would you use the same vid and pid as stlink? maybe the chip hardfaults or something? 2012-07-09T18:06:19 < Laurenceb> heh 2012-07-09T18:07:25 < Laurenceb> oh wait i didnt 2012-07-09T18:07:27 < Laurenceb> hmm odd 2012-07-09T18:08:57 < Laurenceb> i think jtag halt screws up the usb 2012-07-09T18:15:46 < Laurenceb> yeah - i need to plug/unplug usb cable with the right timing 2012-07-09T18:15:56 < Laurenceb> and it works 2012-07-09T18:20:23 < Laurenceb> now all i need to know is why my motherboard is breaking 2012-07-09T18:21:25 < Thorn> I have a theory that most USB problems result from cracked pcb traces and other forms of bad contact 2012-07-09T18:21:52 < Thorn> usb connectors are generally unreliable 2012-07-09T18:22:07 < karlp> especially mini-B 2012-07-09T18:22:14 < Thorn> except http://www.usbfield.com/ 2012-07-09T18:22:14 < karlp> this is why they were dropped 2012-07-09T18:22:57 < karlp> those look likse serious connectors! 2012-07-09T18:23:33 < Thorn> is micro any better than mini? 2012-07-09T18:25:21 < karlp> yeah, the bits that wear out are on the cable instead of the socket 2012-07-09T18:26:02 < karlp> also, guaranteed minimums of 1000 insertions or something instead of only 100 2012-07-09T18:26:07 < karlp> or 10k instead 1k or something 2012-07-09T18:29:13 < cjbaird> Ha, IP67 connections.. 2012-07-09T18:30:16 < zyp> mini-B is not deprecated yet, or are they? 2012-07-09T18:30:34 < zyp> IIRC only mini-A/mini-AB is 2012-07-09T18:31:39 < karlp> I thought all of mini 2012-07-09T18:32:24 < Thorn> http://www.sweetwater.com/images/items/1800/EHUSBABB-xlarge.jpg 2012-07-09T18:32:46 < karlp> wiki says mini-B is still supporteed, but not for OTG 2012-07-09T18:33:21 < zyp> exactly, because AB is OTG 2012-07-09T18:33:43 < karlp> so effectively, mini entirely is not something you want to use 2012-07-09T18:34:16 < zyp> yeah 2012-07-09T18:34:28 < zyp> all the usb gear I've picked up here in japan is using micro 2012-07-09T18:35:34 < Laurenceb> lib/STM32_USB-FS-Device_Driver/inc/usb_type.h:66:11: error: redeclaration of enumerator 'FALSE' 2012-07-09T18:35:36 < Laurenceb> arg 2012-07-09T18:35:48 < Laurenceb> #ifndef bool doesnt fix it 2012-07-09T18:36:06 < Thorn> they also declare a union 'bool'. good luck using that library with stdbool.h 2012-07-09T18:36:40 < Laurenceb> lib/CMSIS_CM3/stm32f10x.h:346:41: note: previous declaration of 'bool' was here 2012-07-09T18:37:07 < Thorn> wth 2012-07-09T18:37:16 < Thorn> I've seen that union in usb_type.h 2012-07-09T18:37:42 < Laurenceb> why doesnt #ifndef FALSE fix it? 2012-07-09T18:38:35 < Thorn> I have no bool in my stm32f10x.h (3.5.0) 2012-07-09T18:39:02 < Thorn> #ifndef checks for macros, and your error mesage says enumerator 2012-07-09T18:39:32 -!- tavish [~tavish@120.59.12.228] has joined ##stm32 2012-07-09T18:39:32 -!- tavish [~tavish@120.59.12.228] has quit [Changing host] 2012-07-09T18:39:32 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-09T19:05:23 < dongs> haha 2012-07-09T19:05:27 < dongs> jap rs is selling shitberrypi 2012-07-09T19:05:37 < dongs> gonna click their ad and see if its ins tock 2012-07-09T19:05:55 < dongs> haha 2012-07-09T19:05:59 < dongs> please register if you want to buy. 2012-07-09T19:06:44 < cjbaird> That should be going away soon.. 2012-07-09T19:14:11 < Thorn> what's good about raspberry pi? that broadcom chip seems an awful choice. is it price alone? 2012-07-09T19:14:22 < zyp> Thorn, yes. 2012-07-09T19:14:56 < karlp> hdmi too, not just composite out 2012-07-09T19:15:01 < karlp> so it's not just a tiny headless linux machine 2012-07-09T19:15:10 < karlp> you can use it as the heart of a home theatre thing 2012-07-09T19:15:47 < Thorn> I think there're cortex-a chips with gpu and hdmi builtin, just not RAM 2012-07-09T19:16:05 < zyp> Thorn, of course there are 2012-07-09T19:16:07 < karlp> price is also a big one 2012-07-09T19:16:44 < dongs> homo theatre more like 2012-07-09T19:17:12 < Laurenceb> wuha 2012-07-09T19:17:17 < Laurenceb> finally its working 2012-07-09T19:17:42 < Laurenceb> - dma/usb interleaved transfer code 2012-07-09T19:17:43 < zyp> the problem with using it for a home theatre is format support 2012-07-09T19:17:56 < dongs> im sure you can play ogg on it 2012-07-09T19:17:58 < dongs> the only legal format 2012-07-09T19:18:02 < Laurenceb> but its not very fast :( 2012-07-09T19:18:25 < zyp> I checked once, it's only capable of decoding around half of the video files i've got, according to the specs 2012-07-09T19:19:00 < karlp> still, because of dongs love for it, it has lots of fans poking away 2012-07-09T19:19:07 < karlp> it will only get better drivers as time goes by 2012-07-09T19:19:20 < karlp> broadcom seems to be slowly, slowly inching towards slightly more open dirvers 2012-07-09T19:20:01 < zyp> so IMO it's kind of useless for a home theatre role unless you make sure to only get files it's compatible with 2012-07-09T19:20:02 < karlp> and the distros will eventually start having proper hard float builts optimized for the hardware a bit better 2012-07-09T19:20:24 < zyp> I'm talking about the specs of the gpu video decoder in the soc 2012-07-09T19:20:39 < Laurenceb> HELL YEAH 2012-07-09T19:20:42 < Laurenceb> format works 2012-07-09T19:20:52 < Thorn> does it even have an opengl es driver? 2012-07-09T19:20:53 < Laurenceb> just replying with success fixes it 2012-07-09T19:21:13 < Laurenceb> st example code is wrong 2012-07-09T19:21:54 < Laurenceb> looks like the wear leveller is slowing me down atm 2012-07-09T19:21:55 < cjbaird> I think the rpi has potential as an embedded development platform for Poor Young Nerds... 2012-07-09T19:22:10 < Laurenceb> im using CMD17 to trasnfer 512bytes at a time to make it simple 2012-07-09T19:22:20 < Thorn> who can't hack the low level stuff 2012-07-09T19:23:38 < karlp> I'll be using mine as the 802.15.4 head end, and for music storage / playback, and hopefully videos -> tv, mostly to have somethign quieter and using less power than the complete desktop pc I have now. 2012-07-09T19:24:25 < cjbaird> development, as in using it to toolchain and program the other cheap eval boards. Getting it to stm32 was easier than for a regular linux box-- no level coverters needed, just plain wires, between the GPIO/usart, for starters. 2012-07-09T19:25:17 < Thorn> you could use it as a clandestine file server in case of a police search or something, if you could connect a sata hard drive that is 2012-07-09T19:25:19 < cjbaird> What the rpi scene needs now is a bit-bang 'wire only' JTAG adaptor, for raping other boards. 2012-07-09T19:26:08 < zyp> I believe the blackmagic code could easily be ported like that 2012-07-09T19:26:19 < cjbaird> (Anyone have experience doing bitbang jtag...?) 2012-07-09T19:27:00 < dongs> i did xilinx xsvf player which is jtag. but nothing other than that. 2012-07-09T19:27:21 < zyp> IIRC blackmagic already supports bitbang through some ft2232 2012-07-09T19:27:30 < cjbaird> Hmm, googles sends me to a site owned by a certain gsmcmullin.. 2012-07-09T19:27:36 < zyp> yep 2012-07-09T19:39:18 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-09T19:39:22 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-09T19:40:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-09T20:21:55 < Thorn> http://lists.phcomp.co.uk/pipermail/arm-netbook/2012-March/002881.html 2012-07-09T20:22:45 <+Steffanx> worth clicking Thorn ? 2012-07-09T20:23:13 < Thorn> very interesting insight into the Chinese electronics market 2012-07-09T20:23:36 < Thorn> or, why the Chinese ARM SoCs will never have documentation 2012-07-09T20:26:02 < Thorn> a10 is used in olinuxino 2012-07-09T20:28:10 < zyp> and a lot of other shit 2012-07-09T20:31:00 < Thorn> why is everybody saying that the Chinese high tech industry survives thanks to export? looks like the domestic market is larger 2012-07-09T20:33:47 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-09T20:35:34 <+Steffanx> the A10 is high tech? 2012-07-09T20:38:31 < Thorn> well, *electronics industry to be more precise 2012-07-09T21:01:10 < Oldboy> the margin on on iPad is probably equal to the profit on a hundred or a thousand of those A10 based devices 2012-07-09T21:02:00 <+Steffanx> Thanks for the irrelevant info 2012-07-09T21:02:01 < Oldboy> what Ifound more interesting was the insight that this kind of work is not possible without government aid 2012-07-09T21:02:57 <+Steffanx> The question is .. should you believe everything a random on the internet posts Oldboy .. 2012-07-09T21:03:05 <+Steffanx> *random guy 2012-07-09T21:03:11 < cjbaird> At least it's working.. They do the same thing in Australia, and it always fails. 2012-07-09T21:04:36 < cjbaird> (..unless there's a psychopath kid-kicking billionaire involved... however they're only interested in selling 'dirt' at high prices..) 2012-07-09T21:08:28 -!- sunilg [~chatzilla@117.207.207.249] has quit [Ping timeout: 245 seconds] 2012-07-09T21:16:32 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 265 seconds] 2012-07-09T21:16:49 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-09T21:16:56 < TitanMKD> hi 2012-07-09T21:17:02 <+Steffanx> Lo 2012-07-09T21:17:16 <+Steffanx> TitanMKD tried some music streaming over nfc yet? 2012-07-09T21:17:30 <+Steffanx> someone in #avr wants to do that 2012-07-09T21:17:36 < TitanMKD> Steffanx not really but it should work at 848Kbps ;) 2012-07-09T21:17:39 <+Steffanx> or at least .. he wants to try it 2012-07-09T21:18:28 < TitanMKD> anyway it requires NFC ISO14443B protocol for such speed 2012-07-09T21:18:35 < TitanMKD> or a custom protocol 2012-07-09T21:19:43 < TitanMKD> Steffanx it should be really easy using custom protocol I have a demo of TRF7970A exchanging file 2012-07-09T21:21:28 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-09T21:21:48 -!- cjbaird [~cjb@ppp121-44-108-139.lns20.syd6.internode.on.net] has quit [Ping timeout: 245 seconds] 2012-07-09T21:23:12 < TitanMKD> Steffanx which guy ? 2012-07-09T21:25:20 < TitanMKD> Steffanx anyway i have never tested 848KHz stuff ;) 2012-07-09T21:25:39 < TitanMKD> Mifare is limited to low speed 106kbit/s 2012-07-09T21:26:18 <+Steffanx> super low quality :) 2012-07-09T21:27:30 < TitanMKD> i'm sure 848kbit/s work fine to stream high quality MP3 @ 320kbps 2012-07-09T21:28:40 -!- cjbaird [~cjb@ppp121-44-203-12.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-09T21:28:50 < TitanMKD> if some guys are interested i will solder a new batch of 5 TRF7970A v1.1 breakout board 2012-07-09T21:28:55 < TitanMKD> it is the last batch 2012-07-09T21:31:29 <+Steffanx> i need a phone that supports it first :) 2012-07-09T21:31:39 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Disconnected by services] 2012-07-09T21:31:40 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-09T21:33:05 <+Steffanx> I have no fancy phone 2012-07-09T21:33:11 < TitanMKD> Steffanx you do not need phone if you buy 2 boards ;) 2012-07-09T21:33:27 < TitanMKD> Steffanx 1 can be PCD and the other PICC 2012-07-09T21:33:38 <+Steffanx> Yeah, but .. that's not nice 2012-07-09T21:33:52 < TitanMKD> Steffanx with a cool GUI on Windows ;) 2012-07-09T21:34:04 <+Steffanx> Qt on os x ok too? 2012-07-09T21:34:05 < TitanMKD> I will do a Video ;) 2012-07-09T21:34:33 < TitanMKD> no i'm still using the TI NFC demo GUI but can be rewritten with QT with some time 2012-07-09T21:34:50 < TitanMKD> it just use Serial Port in fact 2012-07-09T21:35:27 <+Steffanx> That's easy 2012-07-09T21:35:30 < TitanMKD> I really need to test the new chibios and implement dual CDC in it to have a cool plug and play hardware instead of using FT2232H ;) 2012-07-09T21:36:16 < TitanMKD> I also need to customize a bit the terminal shell to have command history ;) 2012-07-09T21:36:33 < karlp> Oldboy: do you think the western industries are working without government aid? 2012-07-09T21:37:32 < Oldboy> at the university level. not so much directly with companies. 2012-07-09T21:37:39 < Oldboy> university / military 2012-07-09T21:37:46 <+Steffanx> Here in Europe .. 2012-07-09T21:37:56 <+Steffanx> Almost every company can get some money 2012-07-09T21:37:58 < TitanMKD> Steffanx now I have 2 STM32F4 discovery to test NFC peer to peer/streaming ;) but i need 2 FT2232H and I have only one, it is why i really need to work on this chibios CDC with Dual CDC mode (because i need 2 virtual serial port) 2012-07-09T21:38:01 <+Steffanx> At least .. in NL :) 2012-07-09T21:38:49 <+Steffanx> That gui only supports serial ports? 2012-07-09T21:39:14 < TitanMKD> Steffanx yes 2012-07-09T21:39:16 < Oldboy> can STlink v2 firmware be written to a VL Discovery board with STlink v1 ? 2012-07-09T21:39:37 < karlp> according to dongs, by interrupting the stlink upgrading process in a debugger, 2012-07-09T21:39:44 <+Steffanx> lol 2012-07-09T21:40:06 < karlp> I'd generally say no, otherwise st's update tools would just do that itself 2012-07-09T21:40:07 < Oldboy> where it checks if its the right board ? 2012-07-09T21:40:41 < Oldboy> I have a bunch of VL boards, I'm desperate enough. I'll ask dongs and try his method. 2012-07-09T21:41:12 < karlp> you can talk to gsmcmullin about putting black magic firmware on it too 2012-07-09T21:41:25 < karlp> you can also put versaloon firmware on it apparently 2012-07-09T21:42:03 < Oldboy> black magic is good ? I saw the website, but it says GPL and I can't see either h/w or s/w info on that site. 2012-07-09T21:42:45 < BrainDamage1> https://github.com/gsmcmullin/blackmagic 2012-07-09T21:43:10 <+Steffanx> it's good Oldboy 2012-07-09T21:44:10 < Oldboy> nice :) I will take a look. 2012-07-09T21:45:31 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-09T21:45:34 < Laurenceb_> hi 2012-07-09T21:45:49 <+Steffanx> Hi mr Blaxter 2012-07-09T21:45:54 * Laurenceb_ now knows why you should tie usb pullup to gpio 2012-07-09T21:45:59 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-09T21:46:01 < Laurenceb_> people know too much about me :( 2012-07-09T21:46:08 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-09T21:46:10 <+Steffanx> You and your irc client 2012-07-09T21:46:14 < Laurenceb_> indeed 2012-07-09T21:47:00 <+Steffanx> i won't forget Laurenceb_ 2012-07-09T21:47:17 <+Steffanx> oh, it's your other account that has your name in it 2012-07-09T21:48:31 < Laurenceb_> anyways 2012-07-09T21:48:44 < Laurenceb_> usb with pullup to vdd is a pita to debug 2012-07-09T21:48:59 < Laurenceb_> which is why you should use a gpio :P 2012-07-09T21:49:12 <+Steffanx> why it's harder to debug? 2012-07-09T21:49:35 < Laurenceb_> as you need to plug the usb jack in out all the time 2012-07-09T21:49:59 <+Steffanx> just make a switch that shorts it :P 2012-07-09T21:50:38 < Laurenceb_> shorts vdd? 2012-07-09T21:50:40 < Laurenceb_> yeah man 2012-07-09T21:50:53 <+Steffanx> Your pc is smart enough to detect that :P 2012-07-09T21:50:55 < Thorn> woh told me I don't need a transistor on the pullup in February or so? 2012-07-09T21:51:07 <+Steffanx> zyp 2012-07-09T21:51:22 < Laurenceb_> i dont have anything on the pullup :P 2012-07-09T21:51:29 < Laurenceb_> just straight to vdd 2012-07-09T21:52:40 < TitanMKD> does anyone has already implemented Dual CDC ? 2012-07-09T21:53:12 <+Steffanx> libopencm3 has it 2012-07-09T21:53:20 < TitanMKD> I have the example of FT2232H (dumped the USB decriptors and full config) but that need time to test it on STM32F4 ... 2012-07-09T21:53:50 <+Steffanx> or doesn't cm3 has it .. 2012-07-09T21:55:01 < TitanMKD> Steffanx stm32f4-discovery\usb_cdcacm is just standard USB CDC 2012-07-09T21:55:46 < gsmcmullin> TitanMKD: https://github.com/gsmcmullin/blackmagic/blob/master/src/platforms/native/cdcacm.c 2012-07-09T21:56:14 < gsmcmullin> It's 2xCDC-ACM + DFU + Vendor 2012-07-09T21:56:20 < TitanMKD> gsmcmullin ha thanks 2012-07-09T21:58:04 < TitanMKD> gsmcmullin have you done some speed test with it to know the performance ? 2012-07-09T21:58:33 < TitanMKD> gsmcmullin I hope it runs at least at 5.25mbits/s 2012-07-09T21:58:53 < TitanMKD> gsmcmullin especially on my STM32F4 @ 168Mhz 2012-07-09T21:59:14 < Thorn> trace capture? does it work? what's required on the host? 2012-07-09T21:59:37 < gsmcmullin> Thorn: No, I haven't done a speed test. 2012-07-09T21:59:57 < gsmcmullin> Thorn: Partially. 2012-07-09T22:00:20 < gsmcmullin> Thorn: You need this https://github.com/gsmcmullin/magictpa 2012-07-09T22:00:32 < gsmcmullin> And GDB with Python extention. 2012-07-09T22:00:43 < TitanMKD> gsmcmullin this code is a work in progress or it work ? 2012-07-09T22:01:04 < gsmcmullin> TitanMKD: To what are you referring? 2012-07-09T22:01:09 < TitanMKD> because it seems to be really a must for my project 2012-07-09T22:01:22 < gsmcmullin> TitanMKD: It works. 2012-07-09T22:01:25 < TitanMKD> gsmcmullin i'm referring about your cdcacm.c stuff with all in one 2012-07-09T22:01:36 < TitanMKD> with DFU it's really good stuff 2012-07-09T22:01:50 < Thorn> nice, I'd like to help hacking that 2012-07-09T22:02:03 < gsmcmullin> TitanMKD: It works. Older Mac-OS has problems with USB IADs though. 2012-07-09T22:03:55 < TitanMKD> gsmcmullin do you think to merge your stuff in libopencm3 ? 2012-07-09T22:07:58 -!- cjbaird [~cjb@ppp121-44-203-12.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-09T22:08:00 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-07-09T22:08:00 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-07-09T22:08:02 -!- dfletcher is now known as drgreenthumb 2012-07-09T22:09:35 < gsmcmullin> TitanMKD: I wrote most of the USB stuff in libopencm3. There are enough examples there to see how to use the library. 2012-07-09T22:09:43 < Laurenceb_> http://i.imgur.com/xeGIi.jpg 2012-07-09T22:10:16 < gsmcmullin> Thorn: Cool, I look forward to patches :) 2012-07-09T22:10:31 < Thorn> need the hardware first 2012-07-09T22:11:01 < Thorn> I'm planning to make a few boards for myself with some changes 2012-07-09T22:32:18 < TitanMKD> gsmcmullin are you working on LPC43xx too ? 2012-07-09T22:32:31 < TitanMKD> gsmcmullin because it really lack an open source debugger 2012-07-09T23:18:58 < Thorn> gsmcmullin: why did you drop the buffer chip in the BMP mini btw? does it have anything to do with SWD having bidirectional lines? 2012-07-09T23:55:21 < Laurenceb_> so i just met my uber nerdy friend 2012-07-09T23:55:39 < Laurenceb_> who i know from school 2012-07-09T23:55:59 < Laurenceb_> he said he was working casting aluminium 2012-07-09T23:56:28 < Laurenceb_> i asked him what for - hes making "armour" for fantasy roleplaying 2012-07-09T23:57:53 < BrainDamage> it's to protect his virginity? 2012-07-09T23:58:07 < Laurenceb_> i think so --- Day changed Tue Jul 10 2012 2012-07-10T00:00:54 < Laurenceb_> trying to find his webstore... 2012-07-10T00:03:43 < Laurenceb_> http://www.youtube.com/watch?feature=player_detailpage&v=xVii7ATF-fk#t=131s 2012-07-10T00:03:45 < Laurenceb_> oh dear 2012-07-10T00:04:41 < Laurenceb_> i know all these people :( 2012-07-10T00:09:58 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-10T00:34:38 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2012-07-10T01:05:25 -!- SuicideFunky [~randy@vps-212-153-70-8.twenty-five.nl] has quit [Ping timeout: 246 seconds] 2012-07-10T01:10:36 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-10T01:42:18 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-10T01:46:08 < karlp> carrot juice: http://www.youtube.com/watch?v=rZLfXFfSOcw 2012-07-10T02:04:18 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-10T03:00:31 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2012-07-10T03:02:02 < dongs> status 2012-07-10T03:02:36 < dongs> http://www.segger.com/jlink-ob.html firmware for this is inside jlinkarm.dll 2012-07-10T03:52:28 < Oldboy> dongs! 2012-07-10T03:52:51 < dongs> hi 2012-07-10T03:52:58 < Oldboy> dongs: how do I upgrade a VL Discovery board to STLink v2 ? 2012-07-10T03:53:28 < dongs> run update utility under debugger and make it think its detecting a v2 board so it force upgrades to v2 2012-07-10T03:53:58 < dongs> i did that on mine, actually made it believe the connected board was a stlinkv2 (real one w/jtag+swim) and it updated it. 2012-07-10T03:54:17 < Oldboy> this is on windows ? 2012-07-10T03:54:42 < dongs> obviously. 2012-07-10T03:54:58 < dongs> i only use real OSs. 2012-07-10T03:55:08 < Oldboy> with and the debugger is something like softICE ? 2012-07-10T03:55:17 < dongs> i dont think anyone is using softice in 2012. 2012-07-10T03:55:22 < dongs> i used ida since thats what I had laying around. 2012-07-10T03:55:28 < dongs> im sure olly would do the job 2012-07-10T03:56:00 < Oldboy> what does the check look like ? 2012-07-10T03:56:11 < dongs> it gets something liek board type 2012-07-10T03:56:17 < dongs> some usb command 2012-07-10T03:56:21 < dongs> and then jumps based on taht. 2012-07-10T04:18:45 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-10T04:21:52 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 265 seconds] 2012-07-10T04:27:11 < zippe> Oldboy: you can probably run the blackmagic firmware on there too, if you're feeling adventurous 2012-07-10T04:28:34 < Oldboy> I want to be able to use Keil which seems to assume STLink ? 2012-07-10T04:29:37 < zippe> Oldboy: in that case, good luck 2012-07-10T04:29:44 < zippe> Can't help you there 2012-07-10T04:35:25 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-10T04:47:29 -!- josepharmbrust-1 [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Remote host closed the connection] 2012-07-10T04:47:39 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-10T05:02:07 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-10T05:12:39 < emeb> Hello... 2012-07-10T05:20:30 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Ping timeout: 264 seconds] 2012-07-10T05:47:40 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-10T05:55:32 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Read error: Operation timed out] 2012-07-10T05:57:14 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-10T06:11:12 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-10T06:17:01 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-10T06:40:07 -!- sunilg [~chatzilla@117.199.60.184] has joined ##stm32 2012-07-10T07:12:37 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-10T07:58:04 -!- sunilg_ [~chatzilla@117.217.56.99] has joined ##stm32 2012-07-10T07:59:43 -!- sunilg [~chatzilla@117.199.60.184] has quit [Ping timeout: 245 seconds] 2012-07-10T08:11:28 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-07-10T08:11:51 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-10T08:29:51 -!- sunilg [~chatzilla@117.217.49.95] has joined ##stm32 2012-07-10T08:31:40 -!- sunilg_ [~chatzilla@117.217.56.99] has quit [Ping timeout: 252 seconds] 2012-07-10T08:33:28 -!- CheBuzz [~CheBuzz@76.164.192.124] has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0] 2012-07-10T08:41:11 -!- sunilg [~chatzilla@117.217.49.95] has quit [Read error: Connection reset by peer] 2012-07-10T08:41:37 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-10T08:42:09 -!- sunilg [~chatzilla@117.199.63.117] has joined ##stm32 2012-07-10T08:51:47 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-10T09:03:21 < gsmcmullin> Thorn: No, just because it was taking up money and space. SWD works fine through the buffer. 2012-07-10T09:03:48 < gsmcmullin> I have seen some funny things when trying to drive the resets though, but these are unused in current firmware. 2012-07-10T09:07:24 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-10T10:29:36 -!- sunilg [~chatzilla@117.199.63.117] has quit [Ping timeout: 244 seconds] 2012-07-10T10:39:46 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-10T11:03:42 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-10T12:38:30 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-10T12:40:15 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-10T13:02:51 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-10T13:59:37 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 240 seconds] 2012-07-10T14:01:48 -!- tavish [~tavish@120.56.173.4] has joined ##stm32 2012-07-10T14:02:13 -!- tavish is now known as Guest21155 2012-07-10T14:12:11 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-10T14:37:16 -!- Guest21155 [~tavish@120.56.173.4] has quit [Quit: leaving] 2012-07-10T14:54:21 -!- elektirnis [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-10T14:54:41 -!- elektirnis [circuit@82-135-241-134.static.zebra.lt] has left ##stm32 [] 2012-07-10T14:54:48 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-10T15:04:36 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-10T15:33:12 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-10T15:48:12 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-10T15:49:30 < dongs> status 2012-07-10T15:49:38 < dongs> wow no chats while i was gone 2012-07-10T15:51:14 < ratatata> nu 2012-07-10T15:52:03 < ratatata> i need advice 2012-07-10T15:52:12 < ratatata> i need to choose devboard 2012-07-10T15:52:29 < ratatata> it has to be a board with ethernet mac 2012-07-10T15:52:44 < Laurenceb> is there a limit to number of blocks transferred with SD card CMD18? 2012-07-10T15:52:55 < Laurenceb> my custom code keeps hanging 2012-07-10T15:53:08 < dongs> < ratatata> it has to be a board with ethernet mac 2012-07-10T15:53:12 < dongs> ratatata: TI stellaris :p 2012-07-10T15:53:29 < ratatata> im thinking about stelaris 2012-07-10T15:53:42 < ratatata> what about chineese stm32f107 boards 2012-07-10T15:53:49 < dongs> ya shit from waveshare would work 2012-07-10T15:54:23 < dongs> http://wvshare.com/product/Open107V-Package-A.htm 2012-07-10T15:54:28 < dongs> 77 bucks 2012-07-10T15:54:50 < dongs> includes natsemi's phy 2012-07-10T15:56:06 < Laurenceb> ok wait no 2012-07-10T15:56:12 < Laurenceb> spi becomes unresponsive 2012-07-10T15:56:22 < Laurenceb> i didnt turn off dma? 2012-07-10T15:56:28 < dongs> SPI(C) 2012-07-10T15:56:40 < Laurenceb> haha 2012-07-10T15:56:45 < ratatata> what about this one http://www.ti.com/tool/ek-lm3s6965 2012-07-10T15:56:54 < dongs> all of stellaris has mac+phy 2012-07-10T15:57:01 < dongs> i mean on chip 2012-07-10T15:57:04 < dongs> you dont need extenral phy chip 2012-07-10T15:57:05 < ratatata> do i need jtag to debug and program 2012-07-10T15:57:06 < dongs> for ethernet. 2012-07-10T15:57:14 < dongs> well, im sure it'll do SWD 2012-07-10T15:59:58 < Laurenceb> ok wtf 2012-07-10T15:59:59 < Laurenceb> wrapup_transaction(); //Complete transaction on card - DMA shutdown and CRC dump 2012-07-10T15:59:59 < Laurenceb> if(Length>BULK_MAX_PACKET_SIZE) { //Data remains 2012-07-10T15:59:59 < Laurenceb> rcvr_datablock(Data_Buffer, 512); 2012-07-10T16:00:06 < Laurenceb> first line runs ok 2012-07-10T16:00:22 < Laurenceb> rcvr_datablock(Data_Buffer, 512); find the spi is locked up 2012-07-10T16:01:02 < Laurenceb> wrapup_transaction reads the card crc 2012-07-10T16:01:23 < Laurenceb> then rcvr_datablock tries to find if the card is ready 2012-07-10T16:01:30 < Laurenceb> but the spi is unresponsive 2012-07-10T16:01:31 < Laurenceb> wtf 2012-07-10T16:02:00 < Laurenceb> what could cause that? 2012-07-10T16:10:25 < Laurenceb> actually maybe thats not happening 2012-07-10T16:10:34 < Laurenceb> i think perhaps its working too well 2012-07-10T16:10:48 < Laurenceb> and using 100% cpu so the watchdog expires 2012-07-10T16:21:00 < dongs> lol 2012-07-10T16:23:11 < Laurenceb> ok ive got it 2012-07-10T16:23:19 < Laurenceb> systick cant interrupt usb 2012-07-10T16:23:23 < Laurenceb> and it needs to 2012-07-10T16:23:36 < Laurenceb> but i cant understand why 2012-07-10T16:24:45 < Laurenceb> higher number in nvic == lower priority right? 2012-07-10T16:24:52 < dongs> yes 2012-07-10T16:24:55 < dongs> 0 - highest 2012-07-10T16:25:02 < Laurenceb> NVIC_InitStructure.NVIC_IRQChannel = SysTick_IRQn; //The 100hz timer triggered interrupt 2012-07-10T16:25:02 < Laurenceb> NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x00;//Pre-emption priority 2012-07-10T16:25:04 < dongs> plus you can have some bullshit priority ggroups 2012-07-10T16:25:07 < dongs> never dicked wiht that much 2012-07-10T16:25:20 < Laurenceb> yeah i used 1 2012-07-10T16:25:21 < dongs> i dont think you can override systick.. 2012-07-10T16:25:33 < dongs> no idea though 2012-07-10T16:26:36 < Laurenceb> NVIC_InitStructure.NVIC_IRQChannel = USB_LP_CAN1_RX0_IRQn; 2012-07-10T16:26:36 < Laurenceb> NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 1; 2012-07-10T16:26:39 < Laurenceb> wuttttt 2012-07-10T16:26:54 < Laurenceb> oh i know - maybe its the codesourcery interrupt names screwup 2012-07-10T16:26:59 < dongs> heh 2012-07-10T16:27:10 < Laurenceb> i break when i jams up 2012-07-10T16:27:13 < Laurenceb> *it 2012-07-10T16:27:21 < Laurenceb> then i put breakpoint in timer 2012-07-10T16:27:26 < Laurenceb> it never fires 2012-07-10T16:28:58 < Laurenceb> seems something goes wrong with the card during a very long transfer 2012-07-10T16:29:05 < Laurenceb> and it cant timeout 2012-07-10T16:34:32 < Laurenceb> oh i see the problem 2012-07-10T16:34:47 < Laurenceb> my card cant support more than 1023 sectors with CMD18 2012-07-10T16:35:07 < Laurenceb> if you call with more it revert to CMD17 2012-07-10T16:36:12 < Tectu> what's CMD18/17 ? 2012-07-10T16:36:17 < dongs> sd card shit. 2012-07-10T16:38:10 < Laurenceb> hmm i cant find the spec 2012-07-10T16:38:20 < Laurenceb> fatfs limits CMD18 to 255 sectors 2012-07-10T16:43:15 < Laurenceb> maybe i should just fix the error handling to start with 2012-07-10T16:43:22 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Read error: Connection reset by peer] 2012-07-10T17:01:26 < Laurenceb> fail 2012-07-10T17:01:35 < Laurenceb> st code fuxors the system timer 2012-07-10T17:02:06 < Laurenceb> what a clusterfuck 2012-07-10T17:02:58 < Laurenceb> oh well the rest works and its _very_ fast 2012-07-10T17:03:07 < Laurenceb> <10% off 12Mbps 2012-07-10T17:35:32 -!- tavish [~tavish@120.56.137.136] has joined ##stm32 2012-07-10T17:35:32 -!- tavish [~tavish@120.56.137.136] has quit [Changing host] 2012-07-10T17:35:32 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-10T17:42:46 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-10T17:45:18 < Laurenceb> wtf 2012-07-10T17:45:22 < Laurenceb> i cant work it out 2012-07-10T17:45:31 < Laurenceb> something stops systick firing 2012-07-10T17:48:41 < dongs> what baudrate is 17.6us period? 2012-07-10T17:50:25 < dongs> looks like 57600 according to the internet. 2012-07-10T17:55:20 < Laurenceb> aha fixed it 2012-07-10T17:55:27 < Laurenceb> CMSIS is fuxored 2012-07-10T17:55:35 < Laurenceb> had to fix some errors 2012-07-10T17:55:48 < Laurenceb> "bad superblock on /dev/sdd1," 2012-07-10T17:55:49 < Laurenceb> lol 2012-07-10T17:56:12 < Laurenceb> it doesnt like huge CMD18 transfers 2012-07-10T17:56:42 < Laurenceb> CMSIS was abusing the NVIC with M0 only commands 2012-07-10T17:57:33 < Laurenceb> i hoped to read entire commands using CMD18 :( 2012-07-10T17:57:42 < Laurenceb> s/commands/cards 2012-07-10T17:58:02 < dongs> http://i.imgur.com/1Tmnq.png is this uart 2012-07-10T17:58:37 < Laurenceb> so 2012-07-10T17:58:47 < TheSeven> dongs: looks like it 2012-07-10T17:59:16 < TheSeven> first two bytes look like 0xa5 2012-07-10T17:59:21 < TheSeven> er, 0xaa 0x55 2012-07-10T17:59:44 < dongs> thats what im getting 2012-07-10T17:59:47 < dongs> but im also getting framing errors 2012-07-10T18:00:24 < dongs> im not ruling out the part wehre im a tool though 2012-07-10T18:00:35 < TheSeven> where's that signal coming from? 2012-07-10T18:00:47 < dongs> some nda/proprietary shit 2012-07-10T18:00:57 < dongs> so i dont know waht its spposed to be either 2012-07-10T18:01:05 < dongs> other than it looks liek a uart/quacks like a uart 2012-07-10T18:03:28 < TheSeven> the pattern in that picture is aa 55 04 60 d1 94 ae 44 48 without framing errors 2012-07-10T18:06:01 < dongs> ok, urrite 2012-07-10T18:06:20 < TheSeven> also the speed looks suspiciously like uart 2012-07-10T18:06:25 < TheSeven> 57600 bauds if you ask me :) 2012-07-10T18:06:35 < TheSeven> er, twice that 2012-07-10T18:06:49 < TheSeven> 115200 baud 2012-07-10T18:06:56 < TheSeven> which is *the* uart baud rate besides 9600 baud 2012-07-10T18:07:03 < dongs> my LA says its 115200. 2012-07-10T18:07:33 < dongs> http://i.imgur.com/2Akqh.png 2012-07-10T18:07:55 < TheSeven> orange being framing erorrs? 2012-07-10T18:08:20 < TheSeven> or just highlighted zeros? 2012-07-10T18:08:30 < dongs> no just highligeted zeros 2012-07-10T18:08:59 < dongs> i guess my scope sucks 2012-07-10T18:09:05 < dongs> la isnt complaining about framing errors 2012-07-10T18:09:21 < TheSeven> looks like 12 byte packets 2012-07-10T18:10:35 < TheSeven> interesting that your LA says 55 aa, while that scope picture clearly says aa 55 2012-07-10T18:11:48 < dongs> http://i.imgur.com/AQn9x.png 2012-07-10T18:11:50 < dongs> is it ? 2012-07-10T18:12:47 < TheSeven> start bit is logic zero 2012-07-10T18:12:51 < TheSeven> stop bit is logic one 2012-07-10T18:13:17 < TheSeven> your LA seems to invert the data bits... 2012-07-10T18:13:33 < dongs> probably because its thinking actual rs232 2012-07-10T18:14:06 < TheSeven> actual rs232 is completely inverted including start/stop bits 2012-07-10T18:14:09 < TheSeven> http://en.wikipedia.org/wiki/File:Rs232_oscilloscope_trace.svg 2012-07-10T18:15:31 < dongs> http://i.imgur.com/AQn9x.png < so wahts wrong with this 2012-07-10T18:15:50 < TheSeven> first low is start bit 2012-07-10T18:16:03 < TheSeven> followed by hlhlhlhl, then high stop bit 2012-07-10T18:16:12 < TheSeven> hlhlhlhl should translate to 10101010, which is 0xaa 2012-07-10T18:16:46 < TheSeven> both in rs232 and rs485 start bit level is logic zero level and stop bit level is logic one level 2012-07-10T18:22:07 < dongs> start bit is low, then 8 bits, then high stop bit right. 2012-07-10T18:22:13 < dongs> it looks so on 00 and FF. 2012-07-10T18:22:27 < dongs> but yeah uh.. 2012-07-10T18:22:34 < TheSeven> anyway, http://i.imgur.com/2Akqh.png seems to make sense 2012-07-10T18:22:42 < dongs> 55 is 0(S)101010101(P) 2012-07-10T18:23:15 < TheSeven> it has some perfectly visible packet structure 2012-07-10T18:23:24 < dongs> Ya. 2012-07-10T18:23:24 < TheSeven> 55 aa (sync) 2012-07-10T18:23:32 < TheSeven> then some flags, then payload length 2012-07-10T18:23:45 < dongs> and 16bit crc? 2012-07-10T18:23:47 < TheSeven> if flags & 0x20 two additional bytes are appended, probably a CRC? 2012-07-10T18:23:59 < dongs> rite. 2012-07-10T18:24:10 < dongs> time to hax up some parser for that shit tomrorow when its not midnight. 2012-07-10T18:24:23 < dongs> 20 is probably packet type? 2012-07-10T18:24:37 < TheSeven> hm, not sure 2012-07-10T18:25:04 < TheSeven> those two extra bytes in the small packets make me think there must be a flags byte somewhere 2012-07-10T18:25:09 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-07-10T18:25:57 < TheSeven> er, wait, I'm blind 2012-07-10T18:26:03 < TheSeven> all packets have CRC 2012-07-10T18:26:12 < TheSeven> so that byte might well ba a command / message type / whatever byte 2012-07-10T18:26:35 < dongs> http://i.imgur.com/DIeSd.png 2012-07-10T18:26:39 < dongs> here's about a second worth 2012-07-10T18:28:40 < TheSeven> hm, nice repetitive packet pattern 2012-07-10T18:28:53 < TheSeven> but I can't really make sense of it without knowing what it's supposed to contain 2012-07-10T18:29:35 < dongs> ya. ill poke with it tomorrow when I can dump it into some C# program where I can sort various packets and watch the changes as I screw around wiht hardware. 2012-07-10T18:30:03 * TheSeven tells dongs to use python for that :) 2012-07-10T18:30:13 < dongs> sorry i only use real programming languages 2012-07-10T18:30:45 < TheSeven> real programming languages are usually overkill for prototyping tools 2012-07-10T18:31:16 < TheSeven> I fully agree that big python projects tend to get messy, but it's perfect for writing "5 minute tools" 2012-07-10T18:32:43 < dongs> no 2012-07-10T18:32:47 < dongs> k bedtime 2012-07-10T18:52:44 < emeb> Just sent out for PC boards on an STM32F4 project: http://ebrombaugh.studionebula.com/synth/stm32f4_codec/index.html 2012-07-10T18:58:10 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-10T18:58:13 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-10T19:00:05 < Oldboy> why does Steffanx need to be voiced ? 2012-07-10T19:00:48 -!- mode/##stm32 [+o Steffanx] by ChanServ 2012-07-10T19:00:52 <@Steffanx> me has powa :P 2012-07-10T19:00:59 -!- mode/##stm32 [-o Steffanx] by ChanServ 2012-07-10T19:01:47 < Oldboy> oh I remember. There's a channel mode that mutes everyone except those that are +v 2012-07-10T19:02:09 <+Steffanx> Yes, but ask izua when i'm auto voiced 2012-07-10T19:02:13 < dongs> i lied. 2012-07-10T19:02:18 <+Steffanx> Yes you did 2012-07-10T19:02:18 < dongs> Laurenceb: any recent acc/gyro with s pi? 2012-07-10T19:02:45 < dongs> emeb: `did you really make that shit in geda, lol 2012-07-10T19:02:46 < Laurenceb> havent looked 2012-07-10T19:02:57 < Laurenceb> micro sd is working with 255max continuous sectors 2012-07-10T19:03:00 < Laurenceb> same as fatfs 2012-07-10T19:03:05 < Laurenceb> anything else breaks 2012-07-10T19:03:21 < Laurenceb> but speed is down to 9KB/s 2012-07-10T19:03:22 < Laurenceb> wtf 2012-07-10T19:03:30 < dongs> almost as g ood as texane 2012-07-10T19:03:41 < dongs> Laurenceb: havente looked, youre lying 2012-07-10T19:04:00 < Laurenceb> i want at least 1.1MB/s 2012-07-10T19:04:19 < dongs> http://www.analog.com/en/mems-sensors/mems-inertial-sensors/adis16405/products/product.html should I just use this and declare victory 2012-07-10T19:04:38 < dongs> only $412 @ 100pcs 2012-07-10T19:04:42 <+Steffanx> give me one dongs 2012-07-10T19:04:47 < Laurenceb> http://www.youtube.com/watch?v=Vae9gKxvSmo 2012-07-10T19:05:16 <+Steffanx> hmm, that chip is old dongs 2012-07-10T19:05:23 < dongs> Steffanx: ya very. 2012-07-10T19:06:19 < dongs> http://www.analog.com/en/mems-sensors/mems-inertial-sensors/adis16488/products/product.html 2012-07-10T19:06:23 < dongs> here you go 2012-07-10T19:06:48 < dongs> just buy a tray of these 2012-07-10T19:06:49 <+Steffanx> that looks like it 2012-07-10T19:07:19 <+Steffanx> 1,619.00 * 100 .. meh 2012-07-10T19:07:29 < dongs> http://ebrombaugh.studionebula.com/synth/stm32f4_codec/index.html I still think this was made with geda 2012-07-10T19:07:29 <+Steffanx> oh not *100 2012-07-10T19:08:32 <+Steffanx> WTF .. that break out board is 1.8k ?!?! 2012-07-10T19:08:47 < dongs> which one> 2012-07-10T19:09:00 < dongs> haha 2012-07-10T19:09:02 < dongs> well 2012-07-10T19:09:04 <+Steffanx> on that page you linked 2012-07-10T19:09:07 < dongs> its $1600 shit on it 2012-07-10T19:09:11 < dongs> and 200 worth of breakout board. 2012-07-10T19:09:42 < dongs> http://www.analog.com/static/imported-files/data_sheets/ADIS16488.pdf haha 'tactical grade' 2012-07-10T19:09:49 <+Steffanx> Oh, it's really 1.6k/pcs :D 2012-07-10T19:09:54 < dongs> yes 2012-07-10T19:10:23 < karlp> missiles 2012-07-10T19:10:33 < karlp> doesn't matter if it needs it, 2012-07-10T19:10:34 <+Steffanx> No hobby bobby chip 2012-07-10T19:10:36 < karlp> it's what you pay for it 2012-07-10T19:13:26 <+Steffanx> Get a tray dongs.. i think 1.60$ is a nice reselling price 2012-07-10T19:15:25 < dongs> i wonder if they put me on a list 2012-07-10T19:15:30 < dongs> if I choose my country as 'iran' 2012-07-10T19:15:36 < dongs> when clicking 'buy' for that part 2012-07-10T19:15:55 < Laurenceb> what the fuuuuu 2012-07-10T19:15:55 <+Steffanx> They'll put you on a list, for sure 2012-07-10T19:16:07 < Laurenceb> why do st use uint16_t for storage 2012-07-10T19:16:11 < Laurenceb> no wonder its failing 2012-07-10T19:16:14 < dongs> stoRAGE 2012-07-10T19:16:15 <+Steffanx> And no green card for dongs anymore 2012-07-10T19:18:15 < Laurenceb> only a troll card 2012-07-10T19:18:57 <+Steffanx> No need for that 2012-07-10T19:19:26 < emeb> dongs: correct 2012-07-10T19:20:25 <+Steffanx> He always is emeb 2012-07-10T19:26:16 < emeb> Laurenceb: You're using SD card? Which MCU version? 2012-07-10T19:26:29 < Laurenceb> F1 2012-07-10T19:26:38 < emeb> So just SPI interface... 2012-07-10T19:27:09 < Laurenceb> yes 2012-07-10T19:27:41 < emeb> OK. I'm doing an F4 project - hooked up both SPI and the SDIO port. 2012-07-10T19:27:59 < emeb> Will be "interesting" to see how that works. 2012-07-10T19:30:13 < Laurenceb> somehow ive managed to break it 2012-07-10T19:30:31 < Laurenceb> getting 10KB/s 2012-07-10T19:30:38 < emeb> kinda slow 2012-07-10T19:30:46 < emeb> maybe an old SD card? 2012-07-10T19:31:16 < Laurenceb> no 2012-07-10T19:31:22 < Laurenceb> its my usb code 2012-07-10T19:31:57 < dongs> attn Laurenceb "Israel is likely to try to precipitate a war on Iran by staging an attack on the US, its forces in the Persian Gulf region or on a European NATO target, most likely the London OlympicsâŠ. There has been highly credible information that an attack on the Olympics is planned," 2012-07-10T19:32:57 < Laurenceb> will you be taking part? 2012-07-10T19:33:12 < dongs> in israel trolling? most likely 2012-07-10T19:33:53 <+Steffanx> Laurenceb is the guy .. 2012-07-10T19:34:09 <+Steffanx> attack on the olympic fire stuff 2012-07-10T19:39:05 < Laurenceb> http://pastebin.com/KdBDmNQL 2012-07-10T19:41:39 < dongs> im gonna stop clicking ur links 2012-07-10T19:41:44 < dongs> cuz pastebin.com fucking sucks ass 2012-07-10T19:41:50 < dongs> why not post it on bcas.tv/paste??? 2012-07-10T19:42:05 <+Steffanx> What's wrong with pastebin ? 2012-07-10T19:43:03 <+Steffanx> I don't see why bcas.tv/paste is better than pastebin 2012-07-10T19:43:04 < karlp> because I can't remember bcas.tv 2012-07-10T19:43:09 < karlp> less ads Steffanx :) 2012-07-10T19:43:13 <+Steffanx> Ads? 2012-07-10T19:43:15 <+Steffanx> :P 2012-07-10T19:43:55 <+Steffanx> Doesn't everyone use a adblocker nowadays? 2012-07-10T19:47:20 < BrainDamage> dongs only uses ie 6, web browsing like it was meant to be® 2012-07-10T19:48:40 <+Steffanx> Oh, forgot about that 2012-07-10T19:49:31 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-10T19:49:58 < tech2077> hello 2012-07-10T19:50:20 < tech2077> can someone explain why i need to enable a clock to output to GPIO 2012-07-10T19:50:38 < BrainDamage> because all periferials of stm32 have clock off by default 2012-07-10T19:50:46 < BrainDamage> vs other micros got it on by default 2012-07-10T19:51:00 < BrainDamage> so you have to manually enable what you want 2012-07-10T19:51:07 < tech2077> ah 2012-07-10T19:51:30 < BrainDamage> you could make yourself a template with all on 2012-07-10T19:51:33 < BrainDamage> for lazy coding 2012-07-10T19:52:11 < tech2077> ok 2012-07-10T19:52:31 < tech2077> thanks 2012-07-10T20:06:42 < karlp> libopencm3 has a few helpers that say, "turn it all on please" 2012-07-10T20:06:44 < karlp> for just this reason 2012-07-10T20:07:16 < karlp> far and away the most common problem for beginners. 2012-07-10T20:07:26 < karlp> I wasted hours and hours and hours on it. over and over and over again 2012-07-10T20:18:30 <+Steffanx> Uhm, you forgot to turn the clocks on karlp ? 2012-07-10T20:18:55 < karlp> often 2012-07-10T20:18:57 < karlp> not so much recently 2012-07-10T20:19:07 < karlp> but I did it over and over again early on 2012-07-10T20:19:08 <+Steffanx> I know the problem :) 2012-07-10T20:19:26 < karlp> even when I went, "right, always check you've turned teh clocks on" I still kept forgetting them 2012-07-10T20:19:54 <+Steffanx> I feel very stupid after wasting hours on things like that :) 2012-07-10T20:20:26 < tech2077> this is going to take a while, i'm completely unused to this 2012-07-10T20:21:11 < tech2077> and the lack of a pretty library like libc-avr is kinda annoying also 2012-07-10T20:21:37 < tech2077> libopencm3 looks nice though 2012-07-10T20:21:39 < emeb> big-boy toys have more rough edges. :) 2012-07-10T20:22:28 < tech2077> yes they do 2012-07-10T20:22:48 < tech2077> so many peripherals 2012-07-10T20:23:05 < tech2077> but so much configuration is needed 2012-07-10T20:23:35 <+Steffanx> It's not that hard to configure most of hte things 2012-07-10T20:25:56 < tech2077> probably not, it just seems hard since i've been looking at it for ~45 minutes for the first time 2012-07-10T20:27:32 < emeb> Stop looking at it. Grab some code for a simple LED flasher and start adding things. Debug as required. 2012-07-10T20:38:16 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-10T20:38:16 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-10T20:58:25 < zippe> tech2077: There is actually a pretty good library 2012-07-10T20:58:35 < zippe> It's just that newlib doesn't have the insane documentation that avr-libc does 2012-07-10T20:58:42 < tech2077> hmm 2012-07-10T20:58:49 < tech2077> link? 2012-07-10T20:59:08 < zippe> The actual hardware-specific support in avr-libc isn't much more than a bunch of #defines for all the register bits. 2012-07-10T20:59:21 < zippe> And a few macros to deal with the most egregiously weird bits of the AVR 2012-07-10T20:59:50 < zippe> tech2077: http://sourceware.org/newlib/ 2012-07-10T20:59:50 <+Steffanx> a few .. 2012-07-10T21:00:02 <+Steffanx> http://www.nongnu.org/avr-libc/user-manual/modules.html more than a few .. and a bunch 2012-07-10T21:00:28 < zippe> Steffanx: No, really, it's just a few 2012-07-10T21:00:41 < zippe> Steffanx: there's a lot of coverage, but it's not actually very deep 2012-07-10T21:01:01 < zippe> Things like http://www.nongnu.org/avr-libc/user-manual/group__util__setbaud.html 2012-07-10T21:01:08 <+Steffanx> i guess we have different definitions of a few and a bunch :) 2012-07-10T21:01:19 < zippe> Ok, great, a macro for doing division by a constant. 2012-07-10T21:01:26 < zippe> What's great about that is that it has documentation 2012-07-10T21:01:54 < zippe> Newlib does have docs, they're just less accessible than avr-libc 2012-07-10T21:02:09 < zippe> And because it's crossplatform, there is no hardware-specific jazz 2012-07-10T21:02:47 < tech2077> heh 2012-07-10T21:05:53 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has quit [Read error: Operation timed out] 2012-07-10T21:17:24 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Quit: Leaving] 2012-07-10T21:20:01 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-10T21:25:09 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-10T21:33:51 < karlp> well, a lot of people that are used to having hardware specific jazz kinda miss not having jazz when they start with newlib 2012-07-10T21:34:09 < zippe> I don't miss not having jazz… it's noisy and usually bad 2012-07-10T21:34:42 <+Steffanx> but you are a pro 2012-07-10T21:35:23 < karlp> there's no reason for it to be bad. what's bad in avr-libc? 2012-07-10T21:35:36 < karlp> it's been tweaked ane nudged for years to remove all badness. 2012-07-10T21:35:59 < karlp> and yes. documentation is awesome. 2012-07-10T21:40:23 < zippe> jazz, it's annoying 2012-07-10T21:40:26 < zippe> So pretentious 2012-07-10T21:43:03 < Laurenceb_> lol 2012-07-10T21:43:06 < Laurenceb_> like USB 2012-07-10T21:44:08 < Laurenceb_> something baaaad is happening 2012-07-10T21:44:21 <+Steffanx> Olympic fire stuff? 2012-07-10T21:44:58 < Laurenceb_> http://pastie.org/4233131 2012-07-10T21:45:20 < Laurenceb_> does that look sane 2012-07-10T21:45:30 < Laurenceb_> something is going wrong with transfers 2012-07-10T21:45:38 < Laurenceb_> the host keeps re requesting 2012-07-10T21:46:38 < Laurenceb_> ive probably misaligned.. something 2012-07-10T21:47:52 < Laurenceb_> but it all looks sane to me 2012-07-10T22:02:19 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-10T22:05:27 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2012-07-10T22:06:25 < Laurenceb_> arg 2012-07-10T22:06:44 < Laurenceb_> i think line 31 is wrong 2012-07-10T22:06:50 < Laurenceb_> this is driving me insane 2012-07-10T22:14:50 < Laurenceb_> trolling is more fun than work 2012-07-10T22:16:44 <+Steffanx> Muhahaha 2012-07-10T22:17:56 < Laurenceb_> http://en.wikipedia.org/wiki/Dubstep#Brostep_and_American_developments 2012-07-10T22:18:01 < Laurenceb_> Brostep 2012-07-10T22:18:03 < Laurenceb_> pmsl 2012-07-10T22:23:53 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-10T22:25:19 < Laurenceb_> anyways 2012-07-10T22:26:02 < Laurenceb_> do lines 36 to 39 result in BULK_MAX_PACKET_SIZE number of bytes being skipped? 2012-07-10T22:26:47 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-10T22:44:20 < tech2077> ok, i'm getting the hang of this 2012-07-10T23:16:57 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-10T23:17:13 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-10T23:29:51 -!- dfletcher [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-07-10T23:29:51 -!- dfletcher [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-07-10T23:29:56 -!- dfletcher is now known as drgreenthumb 2012-07-10T23:44:34 -!- sifi [~silas@osuosc/sifi] has quit [Read error: Operation timed out] 2012-07-10T23:58:29 -!- sifi [~silas@69.85.89.117] has joined ##stm32 2012-07-10T23:58:53 -!- sifi is now known as Guest27280 --- Day changed Wed Jul 11 2012 2012-07-11T00:30:26 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-11T00:34:07 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 240 seconds] 2012-07-11T00:57:41 -!- lawrenceseattle [~anonymous@66.192.187.106] has joined ##stm32 2012-07-11T01:14:39 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2012-07-11T01:34:15 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-11T01:34:15 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Disconnected by services] 2012-07-11T01:35:06 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Client Quit] 2012-07-11T01:35:16 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-11T01:44:36 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-11T01:48:26 < dongs> hello dongs 2012-07-11T01:54:55 < Laurenceb_> sup 2012-07-11T01:57:17 < Laurenceb_> http://en.wikipedia.org/wiki/Dubstep#Brostep_and_American_developments 2012-07-11T01:57:20 < Laurenceb_> ^lolling 2012-07-11T01:58:18 < dongs> lol, brostep 2012-07-11T01:58:33 < Laurenceb_> its what they listen to on 4chan 2012-07-11T01:59:16 < dongs> ya. steffanx/cjbaird are experts on that 2012-07-11T02:09:44 < dongs> http://i.imgur.com/W8WY3.png what would you expect this to look on the scope 2012-07-11T02:24:42 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-11T02:26:16 < dongs> solved in another brochan 2012-07-11T02:38:18 < Thorn> what was the problem? 2012-07-11T02:48:23 < dongs> i'm an idiot, of course 2012-07-11T02:54:29 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-11T03:05:13 -!- Guest27280 is now known as sifi 2012-07-11T03:05:18 -!- sifi [~silas@69.85.89.117] has quit [Changing host] 2012-07-11T03:05:18 -!- sifi [~silas@osuosc/sifi] has joined ##stm32 2012-07-11T03:19:43 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-11T04:09:17 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-11T04:36:58 -!- zippe [~Adium@173.11.99.161] has quit [Read error: Connection reset by peer] 2012-07-11T04:37:09 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-11T04:56:27 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-11T05:14:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-11T05:22:13 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-11T05:29:50 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-11T05:50:12 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-11T05:51:21 -!- cjbaird [~cjb@ppp121-44-203-12.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-11T05:53:07 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-11T05:53:14 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-11T06:03:52 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-11T06:07:45 < tech2077> hmm 2012-07-11T06:08:06 < tech2077> is it possible with the stm to assign a pointer to the memory address then just write to the pointer 2012-07-11T06:08:45 < tech2077> e.g.: unsigned int *gpioabase = (unsigned int *)0x40020000 2012-07-11T06:08:56 < dongs> yes 2012-07-11T06:09:05 < dongs> .. thats how most registers are made 2012-07-11T06:09:38 < dongs> but why do you want to do that? 2012-07-11T06:10:17 < tech2077> ease 2012-07-11T06:10:26 < tech2077> and curiosity 2012-07-11T06:10:43 < tech2077> because i tried that code, and it does not work 2012-07-11T06:11:14 < dongs> Then how do you think stm headers work? 2012-07-11T06:11:14 < dongs> #define GPIOA ((GPIO_TypeDef *) GPIOA_BASE) 2012-07-11T06:11:33 < dongs> #define GPIOA_BASE (AHB1PERIPH_BASE + 0x0000) 2012-07-11T06:11:36 < tech2077> i never looked at the stm headers 2012-07-11T06:11:44 < dongs> might want to start 2012-07-11T06:12:09 < dongs> or you're another one of those "i'd rather toggle switches on front panel of my altair" fags who refuses to get work done using existing tools? 2012-07-11T06:12:18 < tech2077> not really 2012-07-11T06:12:33 < tech2077> i just like working low level when i start out to familiarize myself 2012-07-11T06:12:52 < dongs> .. right. anyway, might want to mark the variable as volatile or __IO 2012-07-11T06:12:58 < tech2077> ok 2012-07-11T06:13:04 < dongs> #define PERIPH_BASE ((uint32_t)0x40000000) /*!< Peripheral base address in the alias region */ 2012-07-11T06:13:33 < dongs> look at stm32f{whatever}.h inside CMSIS dir 2012-07-11T06:13:40 < dongs> for some examples of how they're accessing the peripherals. 2012-07-11T06:13:46 < dongs> and just a friendly reminder, reinventing the wheel is silly. 2012-07-11T06:14:05 < dongs> the main ST-provided header is enough to develop whatever you want using "lowlevel" shit. 2012-07-11T06:15:25 < dongs> reading datasheet and looking up register offsets from peripheral base is just retarded when its all already made for you in the header. 2012-07-11T06:17:36 < tech2077> ok 2012-07-11T06:18:25 < tech2077> personally, i'll use tools when available, but i still want to know how my code actually works 2012-07-11T06:19:09 < dongs> well if you use an ide with a proper text editor that can crossreference shit you'd notice all the stuff is just defines/structs for peripheral registers 2012-07-11T06:20:45 < tech2077> i'm seeing that 2012-07-11T06:21:37 < tech2077> that is an interesting approach 2012-07-11T06:22:19 < tech2077> using structs to bundle related registers together then passing them to initialization functions 2012-07-11T06:22:55 < zyp> isn't that the obvious approach? 2012-07-11T06:23:44 < tech2077> haven't done it like that before since i've worked with smaller micros where that seemed excessive 2012-07-11T06:25:18 < dongs> how the fuck is taht excessive? 2012-07-11T06:25:25 < dongs> that doesnt actually make any difference 2012-07-11T06:25:30 < dongs> compiler just changes to direct addresses 2012-07-11T06:25:37 < dongs> the struct stuff is just for ease of coding 2012-07-11T06:26:02 < tech2077> i realize that, but i do things my way 2012-07-11T06:26:13 < dongs> example pls. 2012-07-11T06:26:16 < dongs> http://bcas.tv/paste 2012-07-11T06:27:52 < tech2077> http://bcas.tv/paste/results/4YYrlY11.html 2012-07-11T06:29:42 < dongs> yea and waht the fuck do you think is TWINT, TWDR, etc? 2012-07-11T06:29:55 < tech2077> defines 2012-07-11T06:29:56 < dongs> they're just #define TWWHATEVER 0xsomeaddress orhwateveravr does 2012-07-11T06:29:58 < dongs> exactly. 2012-07-11T06:30:06 < tech2077> i'm talking about structs specifically 2012-07-11T06:30:17 < dongs> this is non-issue for compiled code 2012-07-11T06:30:19 < zyp> tech2077, what do you do when you have several I2C controllers in the chip? 2012-07-11T06:30:29 < dongs> zyp, you don't. avr is too advanced for that 2012-07-11T06:30:42 < zyp> well, say several UARTs then 2012-07-11T06:30:52 < dongs> they have U0DR 2012-07-11T06:30:53 < dongs> U1DR 2012-07-11T06:30:54 < dongs> etc 2012-07-11T06:30:57 < dongs> annoying lame shit. 2012-07-11T06:30:58 < zyp> I know 2012-07-11T06:31:00 < zyp> and that's dumb 2012-07-11T06:31:03 < dongs> yea. 2012-07-11T06:31:12 < tech2077> it's a different architecture 2012-07-11T06:31:27 < zyp> you can't write code that would work on any UART like that 2012-07-11T06:31:40 < dongs> architecture has nothign to do wiht it 2012-07-11T06:31:58 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-11T06:32:02 < zyp> usin a struct per register block, you can just pass a pointer to that struct, and then the code can access the passed struct through that pointer 2012-07-11T06:32:18 < zyp> that way, code will work regardless of which UART it is using 2012-07-11T06:32:42 < tech2077> i realize that 2012-07-11T06:32:59 < tech2077> arm appears to have many controllers for it's peripherals 2012-07-11T06:33:08 < tech2077> so thats a necessity 2012-07-11T06:33:09 < dongs> this has nothing to do with arm 2012-07-11T06:33:17 < dongs> preetty much every avrturd has 2 uarts. 2012-07-11T06:33:21 < zyp> peripherals have blocks of registers, structs are blocks of variables, so it makes sense to use a struct per register block 2012-07-11T06:33:23 < dongs> and more than 1 gpio port. 2012-07-11T06:33:24 < dongs> so... 2012-07-11T06:33:30 < tech2077> so... 2012-07-11T06:33:37 < dongs> GPIO is a fucking mess on avr precisely because of that 2012-07-11T06:33:45 < dongs> PORTD, PIND, whatever otehr trash 2012-07-11T06:33:51 < dongs> wanna move pins to anothe GPIO port? youre fucked 2012-07-11T06:33:54 < dongs> change 1000 lines of ocde 2012-07-11T06:34:49 < drgreenthumb> o_O I define such things in a makefile. 1000 lines of code? exaggerate much? 2012-07-11T06:35:12 < dongs> in MAKEFILE? 2012-07-11T06:35:14 < dongs> RIiiiiiiiiiiiiiiiiiiiGHt. 2012-07-11T06:35:19 < zyp> nobody mentioned makefile 2012-07-11T06:35:25 < tech2077> heh 2012-07-11T06:35:27 < drgreenthumb> -DMY_PORT_FOR_SOMETHING=PORTD 2012-07-11T06:37:09 < zyp> tech2077, I love how most of your functions starts with I2C, one ends with I2C and one has it in the middle of the name 2012-07-11T06:37:13 < drgreenthumb> i mean yeah the struct way is nicer. but the AVR way is not unworkable. 2012-07-11T06:37:18 < zyp> you're being so consistent 2012-07-11T06:37:57 < tech2077> zyp, it works in the end, if i published it, it would look nicer 2012-07-11T06:38:10 < tech2077> but most of my code is small projects where it works out 2012-07-11T06:38:32 < tech2077> hmm 2012-07-11T06:38:34 < dongs> whejre the fuck is a typical tarduino mega include file anyway 2012-07-11T06:38:36 < dongs> i cant seem to find any 2012-07-11T06:38:41 < dongs> to see how they #define shit like TWDR etc 2012-07-11T06:38:45 < dongs> wahts hte filename? 2012-07-11T06:38:56 < tech2077> one of those does look like i type that never got fixed 2012-07-11T06:39:13 < tech2077> dongs, look for avr/io.h 2012-07-11T06:39:17 < drgreenthumb> http://www.nongnu.org/avr-libc/user-manual/modules.html that? 2012-07-11T06:39:30 < tech2077> then it should have #ifdef for the controller 2012-07-11T06:39:31 < zyp> dongs, it's defined same way as anything else 2012-07-11T06:41:24 < dongs> sigh watever 2012-07-11T06:41:55 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-11T06:42:32 < zyp> like #define TWDR (*(volatile blah*)0xf00) 2012-07-11T06:43:21 < dongs> right. 2012-07-11T07:00:05 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-11T07:14:51 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-11T07:14:59 < cjbaird> Theiving Romanians are trying to get a cut of the action: http://au.element14.com/olimex/olimexino-stm32/board-dev-olimexino-stm32/dp/2061325 2012-07-11T07:15:56 < dongs> how 2012-07-11T07:18:00 < cjbaird> Ha, of course there's no real drool-proof Arudino-esque development environment, which is most of the bloody point with the original system. 2012-07-11T07:18:16 < dongs> but this will all change with tarduino DUE 2012-07-11T07:18:47 < cjbaird> ..and you're supposed to provide your own SWD interface.. 2012-07-11T07:19:40 < dongs> wut 2012-07-11T07:19:47 < dongs> you dont develop tarduino code with swd 2012-07-11T07:19:53 < dongs> you use serial bootloader 2012-07-11T07:19:57 < dongs> and printf to debug 2012-07-11T07:20:32 < cjbaird> This olimex board doesn't have a bootloader, by the looks of it-- there's the SWD header, though. 2012-07-11T07:20:47 < zyp> looks? how does a bootloader look? 2012-07-11T07:21:08 < dongs> i am not really understanding why is this ne ws today 2012-07-11T07:21:15 < dongs> theyve been selling that olimexino shit for at least year 2012-07-11T07:21:16 < dongs> if not more 2012-07-11T07:21:21 < dongs> its always been useless 2012-07-11T07:21:30 < cjbaird> New on Farnel, anyway. 2012-07-11T07:21:30 < dongs> a dumb form factor for dumb hardware for dumb processor 2012-07-11T07:21:32 < dongs> oh 2012-07-11T07:26:31 < cjbaird> stm32f103 on it.. 2012-07-11T07:26:46 < dongs> talkin about tarduino shields 2012-07-11T07:39:30 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-11T07:46:10 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 265 seconds] 2012-07-11T08:05:28 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-11T08:09:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has left ##stm32 [] 2012-07-11T08:14:05 < cjbaird> The MSP430 FRAM Launchpads arre on Farnell now too.. 24MHz 16kB FRAM part included. Might be good for the 'turn an MSP430 into an Old-Skool Computer' idea. 2012-07-11T08:14:38 < Oldboy> why does that page say ARM7 STM32F1xx ? 2012-07-11T08:15:24 < cjbaird> lol Olimex 2012-07-11T08:16:50 < Oldboy> I like Olimex, they publish everything. all schematics/designs 2012-07-11T08:19:06 < cjbaird> The problem I have is not actually with them, but with their 'official' representive here in Australia.. 2012-07-11T08:23:53 -!- tavish3 [~tavish@59.177.69.227] has joined ##stm32 2012-07-11T08:24:52 < zyp> Oldboy, because somebody confused ARM7 with ARMv7 2012-07-11T08:25:17 < cjbaird> I need to condense "trade counter pickup-- ffs, don't stick this in the mail again and bill me the extra postage. christ, i live just down the street." into 30 characters... 2012-07-11T08:25:56 < zyp> «trade counter pickup, do not mail» 2012-07-11T08:26:57 < cjbaird> I was thinking more of a dongsish example. :) 2012-07-11T08:28:19 < cjbaird> "WWDD?" 2012-07-11T08:31:56 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-11T08:33:49 < cjbaird> lol, this FRAM Launchpad is nasty nasty non-RoHS 2012-07-11T08:35:10 < dongs> rly 2012-07-11T08:35:32 < tavish3> take in the fumes0 2012-07-11T08:37:13 < cjbaird> Start making cheese with one of these in the building and feed it to children.. 2012-07-11T08:37:54 < cjbaird> I grew up a few kilometres from the most lead-contaminated area in Australia, and it didn't effect me none... 2012-07-11T08:39:39 < zyp> dongs, http://wvshare.com/product/Open407Z-Package-B.htm <- considering getting this, is it good shit? 2012-07-11T08:45:46 < dongs> yes 2012-07-11T08:45:49 < dongs> i have 207z version of it 2012-07-11T08:46:25 < zyp> yeah, I've looked at that before, but I wanted F4 2012-07-11T08:47:22 < dongs> pretty sure its jus their 207 board w/407 on it 2012-07-11T08:47:25 < dongs> the layout looks identical 2012-07-11T08:47:29 < dongs> and all the moduels are same 2012-07-11T08:54:34 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-11T08:55:23 < tech2077> wait, if you define non-padded structs, you could actually have a struct pointed at the beginning of a peripherals memory map, then each member if properly sized would be pointing to the register it's offset from? 2012-07-11T08:56:11 < tavish3> dongs: how did you get SDIO working properly with the unchanged library code? I am having all sorts of problems with the library. It even contains many bugs like incorrect buffer sizes, to functions ignoring arguments :| 2012-07-11T08:56:45 < tavish3> ex. in SD_LowLevel_DMA_TxConfig(), the function ignores the buffersize arg and sets it to 0 2012-07-11T09:01:54 < zippe> tech2077: You can do that. It will make you sad later, in many cases. 2012-07-11T09:02:08 < tech2077> why? 2012-07-11T09:02:19 < tech2077> seems useful 2012-07-11T09:02:37 < zippe> It can be 2012-07-11T09:02:49 < zippe> Makes it harder to implement things like register tracing 2012-07-11T09:03:06 < zippe> You're usually better off using a macro or a templated function to handle register accesses 2012-07-11T09:03:38 < zippe> The resulting code is the same, but your options for injecting code are improved 2012-07-11T09:03:44 < tech2077> ah 2012-07-11T09:04:10 < zippe> You can also get particularly badly burned if you discover bitfields and think that you want to use them 2012-07-11T09:04:25 < tech2077> they do look like a bad idea 2012-07-11T09:04:38 < jpa-> tech2077: isn't the struct thing what stm32f10x.h does anyway? 2012-07-11T09:04:48 < zippe> Well, let me share a couple delightful tidbits about bitfields that will curl your toes 2012-07-11T09:05:00 < zippe> 1) the order of bits in a larger type is not defined by the language 2012-07-11T09:05:16 < tech2077> jpa-, as far as i can see they don't do what i was asking about specifically 2012-07-11T09:05:27 < zippe> 2) the compiler is allowed to perform an access smaller than the specified type when reading or writing the bitfield 2012-07-11T09:05:58 < zippe> e.g. a write to uint32_t foo:1; may be a byte write 2012-07-11T09:06:31 < zippe> Many peripherals are less than delighted to see non-word accesses. 2012-07-11T09:09:14 < dongs> heh yeah 2012-07-11T09:09:21 < jpa-> tech2077: yeah, well, they have a separate struct for each peripheral 2012-07-11T09:09:51 < jpa-> otherwise the same.. and who wants to write uint8_t padding[52343] between the peripherals 2012-07-11T09:10:46 < zippe> To interpose on struct accesses you need c++ 2012-07-11T09:11:12 < zippe> Then you can change the member field types in the structure to class types and overload the assignment operator, etc. 2012-07-11T09:11:24 < zippe> Still grody 2012-07-11T10:10:06 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-11T10:35:50 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-07-11T10:42:12 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-11T11:03:33 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-11T11:04:54 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-11T11:19:06 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-11T11:21:30 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-11T11:28:01 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-11T12:02:51 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-11T12:25:40 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-11T12:30:24 < dongs> Ver. 01 2009/3/14 Preliminary datasheet 1st Release Alex LuVer 10 2011/04/06 Change K7 and D19 pins 2012-07-11T12:30:27 < dongs> Change min reset timing from 3 ms to 40 ms 2012-07-11T12:30:29 < dongs> yeah... 2012-07-11T12:30:33 < dongs> thanks guys 2012-07-11T12:30:40 < dongs> 2 years later find out the pins need to be changed 2012-07-11T12:31:02 < karlp> heh 2012-07-11T13:14:46 -!- cjbaird_ [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-11T13:15:19 -!- cjbaird [~cjb@ppp121-44-203-12.lns20.syd7.internode.on.net] has quit [Ping timeout: 265 seconds] 2012-07-11T13:21:59 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has quit [Read error: Connection reset by peer] 2012-07-11T13:22:30 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-11T13:31:37 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2012-07-11T13:31:48 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 2012-07-11T13:44:38 < Laurenceb> arg wtf 2012-07-11T13:44:44 < dongs> its YOU 2012-07-11T13:44:52 < Laurenceb> mass storage now 7KB/s 2012-07-11T13:44:54 < dongs> lol 2012-07-11T13:44:58 < dongs> every day it will get slower! 2012-07-11T13:45:04 < Laurenceb> yes 2012-07-11T13:45:13 < dongs> i need to read up on F1 afio 2012-07-11T13:45:32 < Laurenceb> wtf is it doing 2012-07-11T13:48:28 -!- tavish3 [~tavish@59.177.69.227] has quit [Ping timeout: 245 seconds] 2012-07-11T13:50:22 -!- tavish3 [~tavish@120.59.38.24] has joined ##stm32 2012-07-11T13:50:50 < Laurenceb> theres data on the spi bus about 0.01% of the time 2012-07-11T13:50:59 < Laurenceb> with huge gaps of about 30seconds 2012-07-11T13:51:54 < Laurenceb> linux scsi emulation driver is going mad 2012-07-11T13:52:01 < Laurenceb> but nothing in dmesg 2012-07-11T13:53:47 < Laurenceb> while (SPI_I2S_GetFlagStatus(SPI_SD, SPI_I2S_FLAG_RXNE) == RESET) { ; } 2012-07-11T13:53:51 < Laurenceb> its always there 2012-07-11T13:55:16 < Laurenceb> ok wtf 2012-07-11T13:55:25 < Laurenceb> its in a loop waiting for card to be ready 2012-07-11T13:55:41 < Laurenceb> CMD18 is supposed to be fast 2012-07-11T13:56:17 < tavish3> sdio code in stm32f4 library is definitely very broken :( 2012-07-11T14:03:53 < dongs> wasnt for em 2012-07-11T14:03:54 < dongs> me 2012-07-11T14:08:36 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-11T14:15:36 < Laurenceb> ok wtf 2012-07-11T14:15:45 < Laurenceb> my 1GB card is crazy fast 2012-07-11T14:15:54 < Laurenceb> as is my 4GB when it first connects 2012-07-11T14:15:58 < Laurenceb> then it goes slow 2012-07-11T14:19:54 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-11T14:22:26 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2012-07-11T14:23:19 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-11T14:24:26 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 265 seconds] 2012-07-11T14:24:33 < tavish3> dongs: http://codepad.org/6WWLOhQj something like this does work though. though it does goto quite a lot. atleast with 100 blocks to be read/written in one command 2012-07-11T14:27:39 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-11T14:36:00 < Laurenceb> ok my problem is that the card keeps halting and refusing to load new blocks 2012-07-11T14:48:16 < Laurenceb> Used_CMD18=(Transfer_Length>1); 2012-07-11T14:48:21 < Laurenceb> ^thats valid c right? 2012-07-11T14:48:27 < dongs> tes 2012-07-11T14:48:36 < dongs> sets it to true if length > 1 2012-07-11T14:50:46 < Laurenceb> something is badly screwed 2012-07-11T14:51:07 < Laurenceb> my cards completely die if you request CMD18 transfers 2012-07-11T14:54:44 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 246 seconds] 2012-07-11T14:58:01 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 250 seconds] 2012-07-11T14:59:27 < dongs> hmm 2012-07-11T15:00:00 < dongs> how do you fire off DMA transfer of say SPI? 2012-07-11T15:00:02 < dongs> on F1 2012-07-11T15:04:05 -!- sifi [~silas@osuosc/sifi] has quit [Ping timeout: 250 seconds] 2012-07-11T15:20:42 < Laurenceb> im using fatfs code 2012-07-11T15:24:29 < Laurenceb> it connects ok and runs really fast for a while 2012-07-11T15:24:40 < Laurenceb> i can load 2MB JPEGs off in a second or so 2012-07-11T15:24:58 < Laurenceb> then something goes wrong 2012-07-11T15:25:14 < Laurenceb> and its spending ages waiting for the card 2012-07-11T15:26:43 < Laurenceb> seems to happen when large CMD18 transfers are requiested 2012-07-11T15:27:00 < Laurenceb> i might try my previous idea of limiting the number of blocks that use CMD18 2012-07-11T15:30:26 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 245 seconds] 2012-07-11T15:32:31 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2012-07-11T15:37:20 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-11T15:38:09 -!- tavish3 [~tavish@120.59.38.24] has quit [Quit: Lost terminal] 2012-07-11T16:00:48 < Tectu> am i the only one who thinks that the random number generator of the f4 is awesome? 2012-07-11T16:01:11 < dongs> yes 2012-07-11T16:05:21 -!- sifi [~silas@69.85.89.117] has joined ##stm32 2012-07-11T16:05:44 -!- sifi is now known as Guest84680 2012-07-11T16:12:51 < Laurenceb> im going to give up and use cmd17 :( 2012-07-11T16:14:28 < Laurenceb> cant make this work 2012-07-11T16:19:01 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-11T16:19:02 < Laurenceb> hopefully not much slower 2012-07-11T16:19:13 < Laurenceb> ^irony 2012-07-11T16:26:20 < Laurenceb> what the fuuuuu 2012-07-11T16:26:27 < Laurenceb> works nicely 2012-07-11T16:26:36 < Laurenceb> damn sd you crazy 2012-07-11T16:29:00 < Laurenceb> http://pastebin.com/wWE9Md3D 2012-07-11T16:30:40 < Laurenceb> /dev/sdd1: 2012-07-11T16:30:40 < Laurenceb> Timing buffered disk reads: 8 MB in 5.68 seconds = 1.41 MB/sec 2012-07-11T16:30:42 < Laurenceb> holy shit 2012-07-11T16:30:51 < Laurenceb> thats fast 2012-07-11T16:35:50 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-11T16:36:11 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Remote host closed the connection] 2012-07-11T16:39:17 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 265 seconds] 2012-07-11T16:42:12 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 248 seconds] 2012-07-11T16:52:00 < Laurenceb> ewww we have new staff 2012-07-11T16:52:11 * Laurenceb puts on hazmat suit 2012-07-11T16:52:55 < Laurenceb> this guy hasnt showered in decades 2012-07-11T17:00:12 < Tectu> how much current can I take from the f4 power lines when connected over USB? 2012-07-11T17:01:59 < Laurenceb> not a negative number 2012-07-11T17:02:02 < Laurenceb> as i found out 2012-07-11T17:02:06 < Laurenceb> or you split the f4 2012-07-11T17:03:56 < Tectu> lol'd 2012-07-11T17:06:29 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-11T17:11:21 * phantoxe is now away: gone 2012-07-11T17:12:13 * phantoxe is back from: gone (been away for 53s) 2012-07-11T17:13:51 < karlp> thanks man, that's awesome to have you back with us 2012-07-11T17:21:08 < Laurenceb> was getting lonely in ehre 2012-07-11T17:25:25 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-11T17:25:49 < dongs> must be a pro ubuntu userse 2012-07-11T17:32:55 < dongs> hmm 2012-07-11T17:33:39 < dongs> i want SPI at 5.36932MHz 2012-07-11T17:33:50 < dongs> divider_4 = 6.5 mhz 2012-07-11T17:33:54 < dongs> divider_8 = too slow. 2012-07-11T17:33:56 < dongs> wat2do 2012-07-11T17:35:06 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-11T17:35:27 < Laurenceb> seppuku 2012-07-11T17:42:42 < dongs> should i over or underclock 2012-07-11T17:43:11 < dongs> if i can run AHB at 27mhz 2012-07-11T17:43:19 < dongs> ugh never mind i cant do divider of 5 2012-07-11T17:52:51 < jpa-> 21.47728 MHz NTSC crystals are commonly available 2012-07-11T17:53:06 < jpa-> divide by 4 2012-07-11T17:53:08 < dongs> and whats a nigga gonna do with 21mhz xtal connected to a stm32? 2012-07-11T17:53:19 < dongs> can i clock spi with external crystal? 2012-07-11T17:53:36 < jpa-> in slave mode ,) 2012-07-11T17:53:44 < dongs> do tell 2012-07-11T17:53:47 < jpa-> but clock the whole system from that, or do you need some other freq also :) 2012-07-11T17:53:55 < dongs> well, i would like to have working uart. 2012-07-11T17:54:03 < jpa-> at what baudrate? 2012-07-11T17:54:06 < dongs> 115200 2012-07-11T17:54:13 < jpa-> no problem 2012-07-11T17:54:19 < dongs> o'Rly? 2012-07-11T17:54:51 < jpa-> you'll get it down to 0.2%, the tolerance is +-5% 2012-07-11T17:55:13 < jpa-> (besides, STM32 has fractional dividers for UARTs also so even less of a problem) 2012-07-11T17:55:32 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-11T17:55:39 < dongs> hmm 2012-07-11T17:55:47 < jpa-> the only real problem is if you need USB also 2012-07-11T17:55:50 < dongs> nope 2012-07-11T17:55:53 < dongs> no usb 2012-07-11T17:57:55 < jpa-> the I2S interface can be clocked from external clock separately, and it is somewhat similar to SPI.. depending on your needs of course 2012-07-11T17:58:09 < dongs> just DMA'ing some pixel data out 2012-07-11T17:58:18 < dongs> hmm 2012-07-11T17:59:37 < dongs> why the hell isnt tehre a pll calculator for F1 like tehre is for F2/F4 2012-07-11T18:00:50 < jpa-> for writing out pixel data, you could just connect 5.36932MHz clock signal to SCK and use the SPI peripheral in slave mode 2012-07-11T18:02:04 < dongs> hmm 2012-07-11T18:02:11 < dongs> take nothing in, and have it clock stuff out? 2012-07-11T18:02:24 < dongs> thats a possibility. 2012-07-11T18:03:23 < jpa-> yeah 2012-07-11T18:10:15 < dongs> i suppose i could do that if i wanted this shit ntsc only. which might end up being that anyway 2012-07-11T18:11:10 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has quit [Ping timeout: 246 seconds] 2012-07-11T18:13:42 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-07-11T18:15:41 < Thorn> codebench lite was updated on 11 june, any idea what important changes / additions are in the update? 2012-07-11T18:27:56 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2012-07-11T18:32:20 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-11T18:39:24 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-11T18:39:53 < ratatata> nu 2012-07-11T18:41:53 -!- peabody124 [~peabody12@99.71.81.203] has joined ##stm32 2012-07-11T18:41:58 -!- peabody124 [~peabody12@99.71.81.203] has quit [Client Quit] 2012-07-11T18:58:41 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2012-07-11T19:04:31 < jpa-> let's see if TNT can give smaller code size than the codesourcery version 2012-07-11T19:04:42 < jpa-> running out of the 32kB space by 600 bytes 2012-07-11T19:07:27 < jpa-> yay, now only 200 bytes too much :) 2012-07-11T19:07:43 -!- Guest84680 is now known as sifi 2012-07-11T19:07:49 -!- sifi [~silas@69.85.89.117] has quit [Changing host] 2012-07-11T19:07:49 -!- sifi [~silas@osuosc/sifi] has joined ##stm32 2012-07-11T19:07:57 < jpa-> let's try with LTO.. 2012-07-11T19:22:30 < Tectu> jpa-, woah, you're still alive, sir :) 2012-07-11T19:24:15 < jpa-> yay, only 3kB with LTO.. i bet it'll run like charm :) 2012-07-11T19:25:25 < Tectu> what is LDO? 2012-07-11T19:25:42 < Tectu> wait, you have 32kB + 600 bytes with codesourcery and only 3kB with another compiler? 2012-07-11T19:25:58 < zyp> link time optimization 2012-07-11T19:26:09 < zyp> it optimizes out required parts of the code :p 2012-07-11T19:26:38 < Tectu> required parts? o0 2012-07-11T19:26:49 < Tectu> ah, you're kidding? :DE 2012-07-11T19:26:56 < zyp> as in, the 3 kB output won't work 2012-07-11T19:27:22 < Tectu> sounds good, i might have a look ^^ 2012-07-11T19:27:35 < zyp> broken code sounds good? 2012-07-11T19:27:47 < Tectu> no, kidding 2012-07-11T19:27:55 < Tectu> why is there a feature which makes the code unusable? 2012-07-11T19:28:51 < zyp> because it's not fully working yet. 2012-07-11T19:31:14 < jpa-> because i didn't properly specify which parts of code are externally accessible 2012-07-11T19:31:42 < jpa-> 32415 bytes now, seems reasonable but haven't tested yet 2012-07-11T19:33:04 < jpa-> seems to work 2012-07-11T19:33:20 < jpa-> so about 1kB saved by newer GCC version + LTO 2012-07-11T19:37:48 < Tectu> what means "newer" here 2012-07-11T19:41:58 < Laurenceb> Serious interest in a shark repellent goes back all the way to World War II 2012-07-11T19:43:25 < jpa-> Tectu: GCC 4.8.0 instead of 4.6.1 2012-07-11T19:43:42 < Thorn> latest codebench is 4.6.3 2012-07-11T19:43:55 < Thorn> no idea yet if that actually makes any difference 2012-07-11T19:45:16 < Tectu> nice work: http://9gag.com/gag/4713876 2012-07-11T19:47:48 < cjbaird_> I hope that's not something reposted from Kickstarter.. :/ 2012-07-11T19:49:36 < Tectu> no idea 2012-07-11T19:49:44 < Tectu> just got the link in some german electronics channel 2012-07-11T19:51:18 < dongs> dafuq is that 2012-07-11T19:53:32 < cjbaird_> Looks like the kind of thing that appears on KS all the time, "worthless projects specifically for autistics.." 2012-07-11T19:55:31 < BrainDamage> if you squint you can read the text 2012-07-11T19:55:44 < BrainDamage> it seems a pump for some liquid 2012-07-11T19:55:54 < dongs> how do i shot web? 2012-07-11T19:56:43 < BrainDamage> oh god, you're right 2012-07-11T19:56:49 < BrainDamage> it's a spiderman web thrower 2012-07-11T19:59:59 < cjbaird_> My retard Reployplayer housemate throws cash at KS constantly. "He needs $75,000 to finish off his next novel that I really liked as a free etext. It WiLl Be A ReAl BoOk WhEn It'S dONe!1" "So.. not enough cash was rolling in from the existing print-on-demand services for pointless dungeon crawl plot stories, I take it." 2012-07-11T20:00:59 < cjbaird_> Wanting $75,000 for something that he'll be writing at randomly between faps over the next two years.. 2012-07-11T20:03:25 < dongs> role dice 2012-07-11T20:06:53 < cjbaird_> That should explain why no sex is happening at this place. 2012-07-11T20:07:50 < dongs> what place 2012-07-11T20:11:50 < cjbaird_> note to self: use a P.O Box if buying anything from dongs 2012-07-11T20:12:29 < Tectu> BrainDamage, are you sure about the web thrower? 2012-07-11T20:12:43 < BrainDamage> Tectu: based off the text, yes 2012-07-11T20:13:19 < Tectu> what's a P.O box, cjbaird_ 2012-07-11T20:15:59 < cjbaird_> Post Office box-- having mail delivered to a private letterbox at the local post-office, rather than to a residential address. 2012-07-11T20:16:25 < Tectu> ah 2012-07-11T20:17:29 < cjbaird_> dongs + my residential address -> rape, and not the entertaining Yuriyuri kind ;_; 2012-07-11T20:17:43 < Tectu> don't you mean yaoi :D 2012-07-11T20:17:57 < Tectu> yuri is girl <---> girl, or was that yaoi? 2012-07-11T20:18:14 < Tectu> yes 2012-07-11T20:18:15 < Tectu> http://en.wikipedia.org/wiki/Yuri_%28genre%29 2012-07-11T20:22:18 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-11T20:23:07 < cjbaird_> Was referring more to this: https://en.wikipedia.org/wiki/YuruYuri .. It first season was infamous for a running joke about a character being attacked by another girl .. http://vinesaucevidya.com/vinetalk/index.php?topic=1865.msg34214#msg34214 2012-07-11T20:23:28 < cjbaird_> (so yeah typo) 2012-07-11T20:25:00 < dongs> cjbaird_ is into pedo shit 2012-07-11T20:26:40 < cjbaird_> TOO OLD 2012-07-11T20:27:43 < BrainDamage> why are you guys so informed about this shit? 2012-07-11T20:31:32 < cjbaird_> It's all thanks to Chinese cartoons.. 2012-07-11T20:31:36 < dongs> infected by Laurenceb 2012-07-11T20:33:43 < Tectu> BrainDamage, nerds like manga stuff 2012-07-11T20:33:52 < Tectu> BrainDamage, look at the guy from elm-chan.org 2012-07-11T20:34:16 < dongs> Did you know? MANGA stands for (M)ade for (A)merican (N)erds, (G)ays, and (A)ssholes. 2012-07-11T20:34:40 < cjbaird_> $2 million raised in less than half a day for an Android 'gaming tablet' on Kickstarter.. Now what was I saying about autistics..? :/ 2012-07-11T20:34:51 < dongs> cjbaird_: link 2012-07-11T20:35:13 < cjbaird_> sloshdort: http://games.slashdot.org/story/12/07/11/1423259/ouya-android-console-blows-past-kickstarter-goal 2012-07-11T20:35:33 < dongs> i need to kickstarter something asap 2012-07-11T20:36:24 < cjbaird_> Animatronic Nendos. stm32-powered, of course. 2012-07-11T20:36:32 -!- cjbaird_ is now known as cjbaird 2012-07-11T20:37:17 < dongs> stm32? no fucking way 2012-07-11T20:37:24 < dongs> unless its arduino noone will even care 2012-07-11T20:37:46 < dongs> something like teledildonics arduino shield has some chance 2012-07-11T20:37:48 < cjbaird> true dat 2012-07-11T20:38:03 < BrainDamage> err thanks to libmaple you can run arduino code on stm32 2012-07-11T20:38:17 < BrainDamage> also, slashdong.org has arduino teledildonics 2012-07-11T20:39:00 < cjbaird> ...slashdong.org is a real site 2012-07-11T20:39:21 < Tectu> what the fuck did i just see 2012-07-11T20:39:28 < Tectu> http://images.nonpolynomial.com/slashdong.org/blog/2012-05-29-real-touch-goes-open-source/realtouchinside.jpg 2012-07-11T20:39:51 < drgreenthumb> I would have picked remotese.cx 2012-07-11T20:39:55 < cjbaird> https://github.com/qdot/slashdong.org 2012-07-11T20:40:06 < dongs> there's also dongiverse.com 2012-07-11T20:40:36 < drgreenthumb> http://imgur.com/gallery/4YL4n 2012-07-11T20:41:36 < Tectu> "straight and gay content avaliable" sounds like dongs can use it too 2012-07-11T20:42:13 < dongs> that animated gif raped IE6 2012-07-11T20:42:13 < dongs> lol 2012-07-11T20:42:19 < dongs> smooth in chrome. 2012-07-11T20:42:44 < drgreenthumb> haha wtf are you doing running that shit 2012-07-11T20:42:52 < dongs> I use a real OS 2012-07-11T20:43:03 < dongs> and I refuse to use newfag browsers that dont offer me anything IE6 doens't do 2012-07-11T20:43:06 < dongs> also: FUCK TABS 2012-07-11T20:43:15 < drgreenthumb> heh you're the reason the web sucks. 2012-07-11T20:43:21 < Tectu> dongs, you use IE6? 2012-07-11T20:43:23 < Tectu> like no tabs? 2012-07-11T20:43:34 < dongs> I wish I could go back in time and murder the fucker at opera who thought about browsing shit in tabs. 2012-07-11T20:44:01 < dongs> if it was just opera, nobody would care 2012-07-11T20:44:17 < dongs> the only reason tabs caught on is it took like 10-20 seconds to open a new window in mozilla 2012-07-11T20:44:23 < dongs> because XUL interpreter back then was fucking trash 2012-07-11T20:44:27 < dongs> so they faked it by using tabs 2012-07-11T20:44:31 < dongs> which opened almost instantly 2012-07-11T20:44:54 < cjbaird> Ha, actually tabs came from the FOSS galeon browser. Opera 'invented' it ~9 months later. 2012-07-11T20:45:01 < drgreenthumb> I have 80+ tabs up and my browser launches in seconds. whatevs. 2012-07-11T20:45:10 < dongs> haha galeon 2012-07-11T20:45:15 < dongs> youre shitting me. 2012-07-11T20:45:17 < Tectu> drgreenthumb, seriously 80+? 2012-07-11T20:45:24 < drgreenthumb> well. maybe closer to 50. but yeah. 2012-07-11T20:45:39 < dongs> drgreenthumb: my operating system manages windows for a reason 2012-07-11T20:45:41 < drgreenthumb> firefox doesn't load them all if you group em 2012-07-11T20:45:49 < dongs> if I wanted each individual app to manage their own windows, I'd run lunix 2012-07-11T20:45:57 < Tectu> drgreenthumb, which browser? how do you handle them? why do you have so many tabs? 2012-07-11T20:46:05 < dongs> but I prefer to switch between applications using standard shortcuts/mouse clicks/whatever. 2012-07-11T20:46:17 < Tectu> dongs, you're an ignorant idiot. 2012-07-11T20:46:21 < BrainDamage> what? it's the window manager that handles task switching 2012-07-11T20:46:25 < drgreenthumb> Tectu, because meh why not. movies I want to see etc. I have yet to come close to the 32GB ram on this beast. 2012-07-11T20:46:43 < Tectu> drgreenthumb, woah 2012-07-11T20:47:01 < dongs> BrainDamage: yes, but with "tabbed" browsing, each app invents their own fucktarded way of managing the "tabs" 2012-07-11T20:47:23 < drgreenthumb> flash is much worse than actual FF. have to force quit it all the time. 2012-07-11T20:47:24 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-11T20:48:25 < BrainDamage> you don't have to use tabs 2012-07-11T20:48:56 < cjbaird> 4dongs http://i2.kym-cdn.com/photos/images/original/000/102/444/29898d3dba3dd7092da58ee4fb6d1a5ea75d00e6.jpg 2012-07-11T20:50:22 -!- szczys [~mike@68-117-130-137.dhcp.mdsn.wi.charter.com] has quit [Remote host closed the connection] 2012-07-11T20:51:17 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-11T21:05:40 -!- Oldboy [myircshell@grid.sh3lls.net] has quit [Ping timeout: 248 seconds] 2012-07-11T21:06:48 < dongs> haha 2012-07-11T21:11:53 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 265 seconds] 2012-07-11T21:21:45 -!- Oldboy [myircshell@grid.sh3lls.net] has joined ##stm32 2012-07-11T21:27:49 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-11T21:27:53 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-11T21:29:01 < jpa-> hmph.. i load an image to FPGA, it says "done"; it has internal CRC so if the image is loaded wrong it won't accept it 2012-07-11T21:29:09 <+Steffanx> nu 2012-07-11T21:29:24 < jpa-> there is a binary blob of code that loads the same FPGA image 2012-07-11T21:29:36 < jpa-> => the fpga works properly with original code, but not with my loader 2012-07-11T21:29:43 < jpa-> hi stef 2012-07-11T21:30:07 <+Steffanx> Hi pett 2012-07-11T21:34:39 < dongs> you broke it. 2012-07-11T21:36:09 <+Steffanx> It's donged 2012-07-11T21:42:09 -!- peabody124 [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2012-07-11T21:42:30 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-11T21:43:42 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-11T21:51:41 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-11T22:04:40 < Laurenceb_> i dont want to go to work now :( 2012-07-11T22:04:50 < Laurenceb_> i suggested recruiting some new staff 2012-07-11T22:05:06 < Laurenceb_> i didnt say recruit them from D&D meetups 2012-07-11T22:06:38 <+Steffanx> Dungeons & Dragons ? 2012-07-11T22:09:56 <+Steffanx> What are D&D meetups Laurenceb_ ? 2012-07-11T22:11:02 < cjbaird> Laurenceb_: I Feel Your Pain... Housemate has D&D meetups here every fortnight. :/ 2012-07-11T22:11:29 <+Steffanx> Dungeons & Dragons ? Really? 2012-07-11T22:12:19 < cjbaird> "First Edition..." Belinda picked them up from a Uni Roleplaying Society.. 2012-07-11T22:12:55 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-11T22:12:59 < Laurenceb_> i need to install filters on the air con 2012-07-11T22:13:03 < cjbaird> "Chriiiiis, why am I 35 years old and still Single??" "Belinda, you know the fucking answer." 2012-07-11T22:13:03 < Laurenceb_> to remove the BO 2012-07-11T22:13:17 < cjbaird> wise idea 2012-07-11T22:14:38 < cjbaird> Hmm, this channel is publically logged. I probably shouldn't mouth off too much. :P 2012-07-11T22:14:49 <+Steffanx> haha 2012-07-11T22:14:56 < zippe> cjbaird: Jenny Craig 2012-07-11T22:15:12 <+Steffanx> /kick zlog 2012-07-11T22:15:59 < karlp> wouldn't be the ninterweb without accidentally logged humour 2012-07-11T22:16:31 < cjbaird> "Chris, why do you spend the entire afternoon in your bedroom when the gamers are over?" "Because there's Gamer Arsecrack facing my door preventing me from escaping." 2012-07-11T22:17:35 < cjbaird> It's a serious idea to buy everyone belts as Christmas presents this year. 2012-07-11T22:18:46 <+Steffanx> cjbaird you should start a blog about you and the weird people around you :P 2012-07-11T22:20:42 <+Steffanx> ChrisWhyImStillSingle.com 2012-07-11T22:20:51 <+Steffanx> *.au 2012-07-11T22:22:02 -!- sifi [~silas@osuosc/sifi] has quit [Read error: Operation timed out] 2012-07-11T22:22:30 < cjbaird> It's been done as a book and a movie: http://continuousreader.blogspot.com.au/2011/01/he-died-with-felafel-in-his-hand-by.html 2012-07-11T22:26:48 < zippe> Also the Tasmanian Babes Fiasco 2012-07-11T22:27:59 <+Steffanx> One or two books .. we need a blog 2012-07-11T22:28:46 < cjbaird> TBF was a good comedy read, but lost out a lot being a work of fiction. I've lived in a house mentioned in Falafel. 2012-07-11T22:29:32 < zippe> oh wtf 2012-07-11T22:29:42 < zippe> I should not have read his blog 2012-07-11T22:29:50 < zippe> Now I know that Darrel Lea is bust 2012-07-11T22:29:54 < zippe> That sucks 2012-07-11T22:29:59 < zippe> And my day is ruined 2012-07-11T22:30:57 < cjbaird> I was going to mention that to flyback-- no more candy for him.. 2012-07-11T22:31:13 < zippe> RAGE 2012-07-11T22:32:57 < cjbaird> However if Ricci exports their red liquorice (and apple, mango, blackberry), I recommend them. 2012-07-11T22:34:08 <+Steffanx> stoRAGE 2012-07-11T22:41:36 < Laurenceb_> story of my life 2012-07-11T22:43:43 <+Steffanx> fixed it yet? 2012-07-11T22:53:19 < Laurenceb_> ive got 1.41MB/s using CMD7 2012-07-11T22:53:56 < Laurenceb_> *CMD17 2012-07-11T22:54:35 < karlp> cjbaird: don't get them belts, get them better shirts: http://www.buzzfeed.com/copyranter/ass-crack-cleavage-t-shirts 2012-07-11T23:01:10 < cjbaird> ..the effect won't work too well with hairy-arse roleplayers. 2012-07-11T23:08:15 <+Steffanx> zlog is still here cjbaird :P 2012-07-11T23:08:15 < zlog> Steffanx: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-07-11.html 2012-07-11T23:10:20 < Laurenceb_> if i have a uint32_t pointer 2012-07-11T23:10:38 < Laurenceb_> and have (uint8_t*)pointer+n 2012-07-11T23:10:59 < Laurenceb_> is that the same as &(uint8_t*)pointer[n] ? 2012-07-11T23:11:38 < Thorn> http://www.swansontec.com/sopc.html 2012-07-11T23:12:36 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 248 seconds] 2012-07-11T23:14:31 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-11T23:15:26 < Laurenceb_> wait wut 2012-07-11T23:15:36 < Laurenceb_> - is Unary and Binary 2012-07-11T23:16:40 < Thorn> why not: -a, a-b 2012-07-11T23:17:54 < Laurenceb_> i see 2012-07-11T23:18:02 < Laurenceb_> thanks 2012-07-11T23:18:22 < Laurenceb_> well that all makes sense 2012-07-11T23:18:22 < zippe> Laurenceb: re pointers, yes, cast has precedence over + 2012-07-11T23:18:36 < Laurenceb_> ok 2012-07-11T23:18:39 < zippe> Laurenceb: when in doubt, add parens 2012-07-11T23:18:44 < Laurenceb_> grrr cant find any bugs in my code 2012-07-11T23:19:28 < Laurenceb_> my SD card keeps locking up on CMD18 read 2012-07-11T23:20:41 < Laurenceb_> http://www.embeddedrelated.com/groups/lpc2000/show/27151.php 2012-07-11T23:20:43 < Laurenceb_> hmmm 2012-07-11T23:21:58 < Thorn> (uint8_t*)pointer+n will add n to pointer after casting it to uint8_t*. &(uint8_t*)pointer[n] is an error because it casts pointer[n] to uint8_t* and tries to take its address 2012-07-11T23:23:05 < Laurenceb_> oh 2012-07-11T23:41:05 < Laurenceb_> i wonder if my card has an internal timeout on multiblock read 2012-07-11T23:41:21 < Laurenceb_> as multiblock read works using the fatfs code 2012-07-11T23:41:39 < Laurenceb_> and the only difference is there is a delay before reading the CRC with my code 2012-07-11T23:51:48 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-11T23:51:51 -!- mode/##stm32 [+v izua] by ChanServ --- Day changed Thu Jul 12 2012 2012-07-12T00:05:06 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 252 seconds] 2012-07-12T00:08:09 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-12T00:08:46 -!- peabody124 [~peabody12@128.249.96.21] has quit [Remote host closed the connection] 2012-07-12T00:13:27 -!- feurig [~don@198.202.31.180] has joined ##stm32 2012-07-12T00:28:24 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-07-12T00:38:29 < cjbaird> lol, that STM32 "Primer" handheld-game thing is going cheap at Farnell. 2012-07-12T00:48:09 < Tectu> cjbaird, what means cheap? 2012-07-12T00:48:52 < Tectu> cjbaird, link? 2012-07-12T00:50:51 < cjbaird> Tectu: au.element14.com/stmicroelectronics/stm3210b-primer/development-kit-stm3210b-cortex/dp/1502504 .. It was about ?AU$100 before. 2012-07-12T00:51:24 < cjbaird> Trying to find the PDF showing the guts of the thing.. 2012-07-12T00:51:41 < Tectu> afaik the primers are both a bit... strange 2012-07-12T00:54:32 < cjbaird> Extra hacking involved to make it into a proper "Simon" game. Would Not Buy. 2012-07-12T00:54:59 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-12T00:55:16 < cjbaird> Also, keep seeing "CircleJerk" instead of "CircleOS" 2012-07-12T01:18:28 < Laurenceb_> http://www.invensense.com/mems/gyro/mpu6500.html 2012-07-12T01:21:27 < Tectu> what's all this MEMS stuff, bw? 2012-07-12T01:22:42 <+izua> i like the ui, lots of buttons 2012-07-12T01:23:12 < cjbaird> Tectu: https://www.youtube.com/watch?v=KZVgKu6v808 2012-07-12T01:23:20 <+izua> is the stm32 kit with ethernet from olimex out there yet? 2012-07-12T01:23:24 <+izua> the one with f4 2012-07-12T01:30:10 < Tectu> is this the H407? 2012-07-12T01:30:16 < Tectu> ah, the E407 you mean 2012-07-12T01:30:18 < Tectu> no, not yet, izua 2012-07-12T01:58:17 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-12T02:08:57 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-12T02:27:38 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 245 seconds] 2012-07-12T02:31:37 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Ping timeout: 240 seconds] 2012-07-12T02:34:06 -!- Oldboy [myircshell@grid.sh3lls.net] has quit [Quit: leaving] 2012-07-12T02:41:27 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-12T02:47:32 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 248 seconds] 2012-07-12T03:11:17 -!- izua_ [~izua@86.121.85.101] has joined ##stm32 2012-07-12T03:11:18 -!- izua_ [~izua@86.121.85.101] has quit [Changing host] 2012-07-12T03:11:18 -!- izua_ [~izua@unaffiliated/izua] has joined ##stm32 2012-07-12T03:11:21 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-12T03:11:30 < upgrdman> anyone here use a Saleae Logic16? like it? worth the price? 2012-07-12T03:12:49 < zippe> yes, no, no 2012-07-12T03:12:56 < zippe> Too slow 2012-07-12T03:12:58 < zippe> Much 2012-07-12T03:12:59 < zippe> too 2012-07-12T03:13:00 < zippe> slow 2012-07-12T03:13:26 < zippe> just about usable for I2C and UART 2012-07-12T03:13:28 < zippe> too slow for SPI 2012-07-12T03:13:29 < upgrdman> whats slow? gui? 2012-07-12T03:13:34 < zippe> No, the sampling rate 2012-07-12T03:13:35 < upgrdman> oh, bandwidth 2012-07-12T03:13:47 < zippe> Hm 2012-07-12T03:14:10 < zippe> Looks like shorting AVCC to ground while applying power to VCC is pretty fatal to the poor F4 2012-07-12T03:14:13 < upgrdman> are there any sub $400 analyzers that are better 2012-07-12T03:14:28 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 244 seconds] 2012-07-12T03:17:01 < emeb> zippe: yep - the internal OVP structures likely get stressed when you do that. 2012-07-12T03:18:50 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has quit [Read error: Operation timed out] 2012-07-12T03:19:30 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-12T03:27:19 -!- Oldboy [myircshell@grid.sh3lls.net] has joined ##stm32 2012-07-12T03:28:39 < zippe> upgrdman: OLS is no worse, and much faster 2012-07-12T03:29:09 < zippe> emeb: Kinda sucks when your supplier has mis-placed the analog bypass caps then 2012-07-12T03:29:14 < zippe> Smoky 2012-07-12T03:29:25 -!- izua_ [~izua@unaffiliated/izua] has quit [Read error: Connection timed out] 2012-07-12T03:29:58 < upgrdman> ols? 2012-07-12T03:30:02 -!- izua_ [~izua@86.121.85.101] has joined ##stm32 2012-07-12T03:30:02 -!- izua_ [~izua@86.121.85.101] has quit [Changing host] 2012-07-12T03:30:02 -!- izua_ [~izua@unaffiliated/izua] has joined ##stm32 2012-07-12T03:30:06 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-12T03:34:57 < zippe> The openbench logic sniffer 2012-07-12T03:35:13 < zippe> http://www.seeedstudio.com/depot/preorder-open-workbench-logic-sniffer-p-612.html?cPath=75 2012-07-12T03:35:28 < dongs> hello blogs 2012-07-12T03:36:29 < dongs> zippe, avcc from a separate supply or what? 2012-07-12T03:36:56 < dongs> how can you get that shorted while keeping main vcc? 2012-07-12T03:41:05 < zippe> dongs: separate AVCC, yes. 2012-07-12T03:41:26 < dongs> funtimes. what does it do? 2012-07-12T03:41:34 < dongs> instasmoke? or over some period 2012-07-12T03:41:35 < zippe> The F4 gets very hot and stops working 2012-07-12T03:41:41 < dongs> permanently? 2012-07-12T03:41:44 < zippe> Yes 2012-07-12T03:41:45 < dongs> hmm 2012-07-12T03:41:47 < zippe> Takes a little while 2012-07-12T03:41:57 < zippe> Maybe 10 seconds 2012-07-12T03:42:04 < zippe> A couple of "why isn't it booting?" 2012-07-12T03:42:10 < zippe> plug-replug-oh fuck 2012-07-12T03:42:33 < zippe> Something slags or fuses inside the F4 2012-07-12T03:42:44 < zippe> I have one where as long as you cut the AVCC pin, the rest of it works 2012-07-12T03:42:44 < dongs> interesting. 2012-07-12T03:42:54 < zippe> And now this one where VCC itself seems to be shorted down 2012-07-12T03:42:57 < dongs> so all of analog is dead? 2012-07-12T03:43:14 < dongs> will the chip actually boot without avcc connected? 2012-07-12T03:43:24 < zippe> The first one, yes 2012-07-12T03:43:27 < zippe> I used it for weeks 2012-07-12T03:43:34 < zippe> This one is totally børked 2012-07-12T03:51:29 <+izua_> man 2012-07-12T03:51:39 <+izua_> the timers one your average stm32 rock 2012-07-12T03:51:46 <+izua_> i used to think at90pwm3b was the shit 2012-07-12T03:51:49 < dongs> yes they do 2012-07-12T03:51:53 < dongs> haha atmel timers 2012-07-12T03:52:20 <+izua_> or even on that expensive avr with 3 x 16bit timers.. 2560 methinks 2012-07-12T03:53:09 -!- izua_ [~izua@unaffiliated/izua] has quit [Read error: Connection timed out] 2012-07-12T03:54:03 -!- izua_ [~izua@unaffiliated/izua] has joined ##stm32 2012-07-12T03:54:05 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-12T03:54:15 <+izua_> i used to think at90pwm3b was the shit 2012-07-12T03:54:19 <+izua_> or even on that expensive avr with 3 x 16bit timers.. 2560 methinks 2012-07-12T03:54:43 <+izua_> the timers one your average stm32 rock 2012-07-12T03:54:45 <+izua_> on* 2012-07-12T03:54:49 < dongs> Ya 2012-07-12T03:54:52 < dongs> saw all that blog 2012-07-12T03:54:56 < dongs> then you quickly connection timed out 2012-07-12T03:55:16 < dongs> hwat a weird fucking irc server 2012-07-12T03:55:25 < dongs> how can you talk and 5 seconds later quit due to cnn timeout 2012-07-12T03:57:00 <+izua_> in other notes, my cnc for my thesis project can take 800 steps per mm, which probably is closer to 100 steps in real life, highly uneven and probably more trapezoidal than square(ish). 2012-07-12T03:57:50 <+izua_> however, sending 40 steps seems to make more or less 0.05mm increments. 2012-07-12T04:00:20 < dongs> CNC chats 2012-07-12T04:00:30 < dongs> are you using timers on STM32 to send thsoe 40 steps? 2012-07-12T04:15:03 < dongs> so 2012-07-12T04:15:38 < dongs> while I like the idea of exact 5.3xxmhz xtal and spi slave to do my video out, i also odn't wanna spend $ on a external xtal 2012-07-12T04:15:53 < dongs> so i think i'll just over/under clock F1 to achieve close-enough pixel clock 2012-07-12T04:16:33 < dongs> err xtal->oscillator i guess 2012-07-12T04:16:37 < dongs> if im gonna be clocking it into spi. 2012-07-12T04:16:41 < dongs> which is even more expensive. 2012-07-12T04:20:40 <+izua_> internet is fail at this hour 2012-07-12T04:20:51 <+izua_> yeah, i'm using those timers 2012-07-12T04:21:05 <+izua_> and usb and a spi soon for sdc stuff 2012-07-12T04:29:22 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-12T04:35:44 < upgrdman> zippe, still here? 2012-07-12T04:36:03 < upgrdman> the OLS looks sweet. do you know if seeedstudio.com ships fast? 2012-07-12T04:36:11 < dongs> its in china 2012-07-12T04:36:22 < dongs> if its in stock, it usually ships in a day or two. 2012-07-12T04:36:24 < GargantuaSauce> the OLS rules, i just got mine yesterday 2012-07-12T04:36:27 < dongs> Iver ordered random shit from them before 2012-07-12T04:36:29 < upgrdman> are there any usa distributors other thank sparkfun? 2012-07-12T04:36:37 < upgrdman> than 2012-07-12T04:36:37 < dongs> try aidsfruit? 2012-07-12T04:36:44 < dongs> probably even more expensive though 2012-07-12T04:36:45 < GargantuaSauce> i got mine from cutedigi but their prices might be a bit higher 2012-07-12T04:38:14 < upgrdman> how do you like the device and software? 2012-07-12T04:38:17 < GargantuaSauce> wasnt planning on spamming my new blog on irc but it's actually relevant e_e http://workman-industries.net/?p=8 2012-07-12T04:38:30 < dongs> blogz 2012-07-12T04:40:10 < dongs> about the only problem wiht it that I can see from a quick glance is PIC and horrible software 2012-07-12T04:40:20 < GargantuaSauce> the software is alright actually 2012-07-12T04:40:38 < GargantuaSauce> and the PIC is fine if you aren't trying to write software for it i think :P 2012-07-12T04:41:40 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-12T04:42:51 < upgrdman> wtf http://www.cutedigi.com/cables/data-cable/open-logic-sniffer-probe-cable.html ... grabber colors dont match the wires 2012-07-12T04:43:01 < GargantuaSauce> i know, it's bizarre 2012-07-12T04:43:53 < GargantuaSauce> they're poorly separated too, the conductor is exposed on one of them 2012-07-12T04:44:09 < GargantuaSauce> so i would suggest making your own probes or find a better source 2012-07-12T04:44:34 < GargantuaSauce> the tips are super cheap on dx though 2012-07-12T04:45:38 < upgrdman> what are they called on dx? 2012-07-12T04:46:14 -!- cjbaird [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-12T04:46:40 < GargantuaSauce> http://www.dealextreme.com/p/plastic-multimeter-test-hook-clip-probes-for-pcb-ic-black-20-piece-pack-134129 2012-07-12T04:49:01 < upgrdman> how do you connect a wire to those? solder? 0.1" pin? 2012-07-12T04:49:33 < GargantuaSauce> i would imagine solder, but i have no idea actually 2012-07-12T04:49:59 < GargantuaSauce> also a heads up, the inputs you leave floating on the ols will either couple to their neighbours or oscillate wildly (or both) 2012-07-12T04:50:24 < GargantuaSauce> so don't get confused when you see some weird results on pins you aren't intending to test with 2012-07-12T04:50:43 < upgrdman> cutedigi ship fast? 2012-07-12T04:50:55 < upgrdman> ya 2012-07-12T04:51:02 < upgrdman> can pins be hidden? 2012-07-12T04:51:08 < upgrdman> inputs i mean 2012-07-12T04:52:00 < GargantuaSauce> you select groups of 8...the software doesn't seem to let you hide them with smaller granularity 2012-07-12T04:52:09 < GargantuaSauce> i ordered on a sunday, they shipped wednesday 2012-07-12T04:52:22 -!- cjbaird [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-12T04:52:38 < GargantuaSauce> comes from CO 2012-07-12T05:00:08 < dongs> time to read about f1 pll. 2012-07-12T05:00:23 < dongs> any appnote i should be aware of? 2012-07-12T05:02:33 < upgrdman> whats are the pushbuttons on the ols for? 2012-07-12T05:02:53 < GargantuaSauce> reset, update 2012-07-12T05:02:58 < GargantuaSauce> not entirely sure what update does 2012-07-12T05:03:11 < dongs> probably puts PIC into some firmware update mode 2012-07-12T05:03:28 < dongs> does that shit have external trigger or pretrigger? 2012-07-12T05:03:32 < GargantuaSauce> yes 2012-07-12T05:03:35 < dongs> neat. 2012-07-12T05:03:38 < dongs> how much of pretrigger? 2012-07-12T05:03:53 < GargantuaSauce> set halfway through the capture i think 2012-07-12T05:04:12 < GargantuaSauce> multistage triggering with all pins 2012-07-12T05:04:28 < GargantuaSauce> maskable, etc 2012-07-12T05:05:12 < GargantuaSauce> going to be getting a lot of fun and a lot of utility out of this thing 2012-07-12T05:06:54 < GargantuaSauce> another little fyi: its onboard regulator doesn't supply enough current to power the f4 disco in addition to its own functionality :( 2012-07-12T05:10:08 < dongs> is it 5V? 2012-07-12T05:11:19 < upgrdman> i see scope as an option in the software... it can do analog? on all inputs? 2012-07-12T05:11:28 < dongs> nah. 2012-07-12T05:11:50 < dongs> all inputs go to a buffer,, so its either 1 or 0 2012-07-12T05:12:02 < dongs> I think the sump shit can do some scope-like stuff on their own hardware 2012-07-12T05:13:16 < upgrdman> wtf is diagram settings > byte value? 2012-07-12T05:13:19 < zippe> OLS is a sump descendent 2012-07-12T05:13:27 < zippe> Then someone that knows how to write FPGA got hold of it 2012-07-12T05:18:30 < dongs> ugh ST site sucks so bad 2012-07-12T05:23:38 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Read error: Operation timed out] 2012-07-12T05:25:40 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-12T05:27:21 < GargantuaSauce> the "scope" is just the sum of all the bits, and the byte value is the sum of all the bits multiplied by their respective powers of two 2012-07-12T05:37:52 < GargantuaSauce> the byte value part is kind of annoying, it displays transitions even when inputs outside the 8 it actually considers are transitioning 2012-07-12T05:51:40 < cjbaird> I has the MSP430 FRAM Launchpad now. It works flawlessly with the current mspdebug sources, woot. 22 GPIO pins on this sucker too (and 8 leds). This should do the microcomputer thing quite well. 2012-07-12T05:52:31 < dongs> what teh fuck is so special about fram 2012-07-12T05:52:58 < dongs> its basically unpowered sram or what 2012-07-12T05:53:00 < cjbaird> 2012 - using Flash ROM - YSHYDDT 2012-07-12T05:53:23 < cjbaird> Non-volatile SRAM, basically. 2012-07-12T05:53:51 < dongs> right but whats hte big deal 2012-07-12T05:53:59 < cjbaird> Very low power (hence ideal for the sort of jobs the msp430 gets put into). 2012-07-12T05:54:16 < dongs> how long does it keep shit unpowered? 2012-07-12T05:54:24 < cjbaird> Apparently has a 10^18 read-write limit, so about 10^13 times better than Flash. 2012-07-12T05:55:26 < GargantuaSauce> is YSHYDDT a mistyped ishygddt or what 2012-07-12T05:55:33 < cjbaird> A drawback is reads involve a write, so they contribute to 'wear' as well. But in a worse case with TI's tech, it'll take 35 years. 2012-07-12T05:55:33 < GargantuaSauce> shiggy diggy 2012-07-12T05:56:10 < cjbaird> single bit error 2012-07-12T05:58:30 < dongs> hm? 2012-07-12T05:58:33 < dongs> reads involve a write? 2012-07-12T05:58:34 < dongs> how? 2012-07-12T05:58:35 < dongs> to refresh? 2012-07-12T05:59:37 < cjbaird> Something about restoring the polarisation of the crystallation in the memory cells after a read sense. 2012-07-12T06:00:45 < cjbaird> FRAM memory seems to last about 10 years at 85degC .. dunno about STP. 2012-07-12T06:01:28 < cjbaird> slaa526 is TI's report on it. 2012-07-12T06:02:19 < dongs> The embedded FRAM on MSP430 devices can be accessed (read or write) at a maximum speed of 2012-07-12T06:02:22 < dongs> 8 MHz. Above 8 MHz, wait states are used when accessing FRAM. 2012-07-12T06:02:24 < dongs> ............. 2012-07-12T06:02:34 < dongs> 8mhz, really? 2012-07-12T06:03:02 < cjbaird> That's all single-banked accesses. If they were someone like Intel, they're interleave it to all shit. 2012-07-12T06:03:40 < cjbaird> (SSD drives..) 2012-07-12T06:04:00 < dongs> The write-back mechanism is also protected from power loss and is ensured to 2012-07-12T06:04:00 < dongs> complete safely under all power conditions. 2012-07-12T06:04:02 < cjbaird> The msp430 board has normal sram on it as well (4kB?) 2012-07-12T06:04:24 < dongs> The MSP430FR57xx power management system achieves 2012-07-12T06:04:25 < dongs> this by isolating the FRAM power rails from the device supply rails in the event of a power loss. The 2012-07-12T06:04:28 < dongs> FRAM power circuitry also uses a built-in low-dropout regulator (LDO) and a capacitor that store sufficient 2012-07-12T06:04:31 < dongs> charge to complete the current write-back in the event of a power failure 2012-07-12T06:04:34 < dongs> neat. 2012-07-12T06:04:56 < dongs> the FRAM cell is completely depolarized is approximately 430°C < wanna erase data? bake your boards. 2012-07-12T06:05:26 < cjbaird> "Program after soldering, plzthanks." 2012-07-12T06:05:30 < dongs> haha 2012-07-12T06:07:12 < cjbaird> I was reading about ferro-electric RAM back around ~1984.. it's taken them 30 or so years to get this far.. 2012-07-12T06:10:18 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Ping timeout: 264 seconds] 2012-07-12T06:11:39 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-12T06:13:06 < dongs> http://i.imgur.com/QkS9R.png 2012-07-12T06:14:40 < zippe> dongs: Some people live in eternal hope 2012-07-12T06:15:41 < dongs> i know 2012-07-12T06:16:41 < dongs> zippe, wehre the hell is f1 clocking pdf 2012-07-12T06:17:22 < zippe> What are you looking for? 2012-07-12T06:17:28 < zippe> All the information is in the ref manual 2012-07-12T06:17:32 < dongs> is it? 2012-07-12T06:17:39 < cjbaird> dongs: http://mail-index.netbsd.org/netbsd-bugs/1997/12/11/0001.html 2012-07-12T06:17:56 < zippe> Yeah, assuming you can read their ass clock tree diagram 2012-07-12T06:18:12 < zippe> dongs: what's your grief? And are you talking f100, f10x, or connectivity? 2012-07-12T06:18:25 < zippe> They are all different 2012-07-12T06:19:25 < dongs> f103md 2012-07-12T06:19:41 < dongs> i need to read up how i can under/over clock it to get ~5.13mhz out of SPI clock 2012-07-12T06:19:49 < dongs> using /4 or /8 prescaler 2012-07-12T06:20:16 < zippe> Ah, you want to play funny games 2012-07-12T06:20:22 < dongs> ya 2012-07-12T06:20:26 < zippe> Why not run in slave mode and generate the clock with a timer? 2012-07-12T06:20:37 < dongs> thats what was suggested. 2012-07-12T06:20:42 < zippe> How precise can your 5.13 be? 2012-07-12T06:20:50 < dongs> well, ideally it's NTSC pixel clock BUT 2012-07-12T06:21:05 < zippe> NTSC doesn't have a "pixel clock" 2012-07-12T06:21:07 < dongs> my current F4 version is nowhere near that (i think 5.xsomething) and it works fine 2012-07-12T06:21:13 < dongs> sure it does 2012-07-12T06:21:21 < zippe> newp 2012-07-12T06:21:33 < zippe> You may be displaying it on something that samples the line at various points 2012-07-12T06:21:33 < dongs> 5.36932 MHz 2012-07-12T06:22:37 < zippe> Wikipedia says 12.2x for square pixels 2012-07-12T06:22:39 < dongs> hmm 2012-07-12T06:22:43 < dongs> i wonder where im getting 5.x from the n 2012-07-12T06:24:25 < zippe> You could get pretty close with 72MHz / 7 2012-07-12T06:24:28 < zippe> er, /6 2012-07-12T06:24:58 < zippe> So assuming the timer is running at sysclk/2, that'd be a timer prescaler of 1 and a reload count of 2 2012-07-12T06:25:23 < dongs> and then I just feed output of that timer into SPI_CLK? 2012-07-12T06:25:26 < zippe> You can turn it off/on with the timer or by frobbing the pad config 2012-07-12T06:25:34 < zippe> Yeah 2012-07-12T06:25:51 < zippe> Or for that matter, check what the block sends in underrun 2012-07-12T06:26:02 < dongs> block? 2012-07-12T06:26:02 < zippe> You might be able to just plain ignore it 2012-07-12T06:26:07 < zippe> the SPI block 2012-07-12T06:26:20 < zippe> Though, come to think of it, you don't want line-to-line jitter 2012-07-12T06:26:39 < dongs> right now on F4,, im using spi master, just /16 prescaler 2012-07-12T06:26:42 < zippe> So you are going to want to resynch on the front porch 2012-07-12T06:26:49 < dongs> i have a timer capture interrupt on hsync 2012-07-12T06:27:00 < dongs> then just start DMA transfer on SPI 2012-07-12T06:27:12 < zippe> Sounds reasonable 2012-07-12T06:27:22 < dongs> its done by the time next hsync hits, so no problem there 2012-07-12T06:27:56 < zippe> You're still going to get some line-to-line jitter because you're stuck with whatever your capture quantisation is 2012-07-12T06:28:12 < zippe> But it should be relatively constant 2012-07-12T06:28:24 < dongs> on F4 it looks ok, i dont see any jitter 2012-07-12T06:28:27 < zippe> And NTSC gives you free anti-aliasing in the form if blur 2012-07-12T06:30:44 < dongs> ok lemme fire this up and see if I can make it output something 2012-07-12T06:31:15 < upgrdman> free anti-aliasing in the form of blur 2012-07-12T06:31:16 < upgrdman> lol 2012-07-12T06:44:19 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-12T06:49:17 -!- izua_ [~izua@unaffiliated/izua] has quit [Read error: Connection timed out] 2012-07-12T07:15:07 < dongs> ive got dots on video 2012-07-12T07:15:10 < dongs> :D 2012-07-12T07:22:39 < cjbaird> Forth on the MSP430FR board worked first-go.. 2012-07-12T07:24:18 < dongs> oops 2012-07-12T07:24:19 < dongs> flicker 2012-07-12T07:32:16 < zippe> cjbaird: I want a scripting language that doesn't require me to erect a double-brick wall between me and my users 2012-07-12T07:32:39 < zippe> have you ever tried to teach someone Forth when they don't wanna? 2012-07-12T07:35:41 < dongs> no shit. lua or nothing. 2012-07-12T07:35:50 < cjbaird> don't wanna == why are they there? 2012-07-12T07:35:50 < dongs> all this newfag shit like ruby/python/etc is a waste of time 2012-07-12T07:37:19 < cjbaird> This thing has 16kB of (F)RAM, not much in the way of options, anyway. 2012-07-12T07:38:06 < dongs> my cc3d just arrived 2012-07-12T07:38:15 < cjbaird> I have known of a few Pascals that could REPL in that amount, though. 2012-07-12T07:41:02 < dongs> airmail from aus to jp, 7 days, $2.35aud 2012-07-12T07:43:52 < cjbaird> Sounds like something from 4DSystems? 2012-07-12T07:55:53 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-12T07:56:29 < dongs> nah 2012-07-12T07:57:34 < dongs> i remmber wehre i got 5.xmhz pixel clock from 2012-07-12T07:57:58 < dongs> now i need to find the same pic again 2012-07-12T08:01:26 < dongs> http://www.ni.com/white-paper/4750/en 2012-07-12T08:01:27 < dongs> this. 2012-07-12T08:01:38 < dongs> active horizontal duration: 52.66 µs 2012-07-12T08:02:03 < dongs> so if I wanna do 240 horizontal pixels over that 2012-07-12T08:02:15 < dongs> i need 4.6mhz pixel clock 2012-07-12T08:14:33 < dongs> lol, i searched 'gay chat' on android marketplace and wow... 2012-07-12T08:22:03 < dongs> http://www.classic.nxp.com/acrobat_download2/literature/9397/75016798.pdf 2012-07-12T08:50:42 < dongs> on F1 APBx prescaler is same? 2012-07-12T08:50:45 < dongs> but AHB is diff? 2012-07-12T08:51:34 < dongs> oh, its not 2012-07-12T08:51:35 < dongs> hm 2012-07-12T08:51:45 < dongs> so whats stopping me from running apb/ahb at sysclk? 2012-07-12T08:53:22 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-12T08:56:39 -!- tavish3 [~tavish@120.59.47.9] has joined ##stm32 2012-07-12T08:57:27 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-12T09:00:09 < dongs> #define WWDG_IRQHandler Vector40 2012-07-12T09:00:10 < dongs> #define PVD_IRQHandler Vector44 2012-07-12T09:00:10 < dongs> #define TAMPER_IRQHandler Vector48 2012-07-12T09:00:13 < dongs> what the fuck, chibios, really? 2012-07-12T09:00:17 < dongs> renaming handlers? 2012-07-12T09:05:07 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-12T09:06:55 < zippe> dongs: usually nothing 2012-07-12T09:07:00 < zippe> dongs: Costs more power 2012-07-12T09:07:50 < dongs> well, it seems another place says max apb1 clcok is 36mhz 2012-07-12T09:07:54 < dongs> but max apb2 is 72 hz 2012-07-12T09:17:08 < dongs> hmm wtf 2012-07-12T09:17:10 < dongs> something does not compute 2012-07-12T09:35:21 < dongs> 9mhz 2012-07-12T09:36:15 < dongs> ok so apb2 is at 72mhz. 2012-07-12T09:36:36 < dongs> since spi1 / 8 prescaler is 9mhz out 2012-07-12T09:39:30 < dongs> hmm i could just run it like that and then I'll have a 480x240 screen... 2012-07-12T09:39:48 < dongs> 12k of ram though. 2012-07-12T09:42:07 < zippe> display lists 2012-07-12T09:42:34 < dongs> nah ram usage isnt the problem 2012-07-12T09:42:50 < dongs> theres not mcuh else to do with it. 2012-07-12T09:55:58 < dongs> 420 timer1 ticks and i have a 400x240 overlay to dick wiht. 2012-07-12T10:42:34 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-12T11:19:46 -!- tavish3 [~tavish@120.59.47.9] has quit [Quit: leaving] 2012-07-12T11:33:16 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-12T11:41:24 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Quit: Leaving] 2012-07-12T11:58:44 < dongs> ok so i am setting up this DMA stuff 2012-07-12T11:58:52 < dongs> but i dont want to fire it off until actually needed 2012-07-12T11:59:02 < dongs> do I just set buffersize to zero 2012-07-12T11:59:14 < dongs> before doing SPI_I2S_DMACmd 2012-07-12T11:59:17 < dongs> or what 2012-07-12T11:59:45 < dongs> right now it will fire off one dma transfer right as soon as I enable ti 2012-07-12T11:59:48 < dongs> but i don't really need that. 2012-07-12T12:05:12 < zippe> So don't call enable 2012-07-12T12:05:22 < zippe> enable means "start me now" 2012-07-12T12:06:35 < zippe> If you enable DMA on the peripheral side but don't enable it on the DMA controller side, one of two things will happen 2012-07-12T12:06:50 < zippe> the peripheral will send BREQ and then hang because the DMA controller isn't talking to it 2012-07-12T12:07:16 < zippe> the peripheral will hang the bus hard 2012-07-12T12:07:38 < zippe> Normal workflow is to make sure DMA is off on the peripheral 2012-07-12T12:07:44 < zippe> then turn it on in the DMA controller 2012-07-12T12:07:48 < zippe> then turn it on in the peripheral 2012-07-12T12:09:25 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-12T12:19:02 -!- tavish3 [~tavish@120.59.47.9] has joined ##stm32 2012-07-12T12:32:46 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-12T12:33:20 < dongs> Laurenceb_: is this shit? http://www.st.com/internet/analog/product/252179.jsp 2012-07-12T12:33:29 < dongs> $2.6 from my ST dealer 2012-07-12T12:33:39 < dongs> oh, NRND 2012-07-12T12:33:41 < dongs> fucking ST 2012-07-12T12:40:41 < BrainDamage> accele _and_ gyro? o_O 2012-07-12T12:41:13 < BrainDamage> afaik the reason why they never did is that they get resonance coupled and turn into a LOT of noise 2012-07-12T12:41:50 < dongs> never did what 2012-07-12T12:42:59 < BrainDamage> put accele and gyro on the same chip 2012-07-12T12:43:07 < dongs> well yeah uh.. 2012-07-12T12:43:21 < BrainDamage> ah wait, it's same package and 2 chips 2012-07-12T12:43:23 < dongs> exccept for invensense, epson, and probably a buvnch of other random companies that have it 2012-07-12T12:43:50 < BrainDamage> same chip != same package 2012-07-12T12:44:09 < BrainDamage> I mean, if they put 2 dies there, it's ok-ish 2012-07-12T12:47:42 < Laurenceb_> they work ok 2012-07-12T12:47:47 < Laurenceb_> i have a few operating 2012-07-12T12:47:53 < Laurenceb_> but st gyros suck 2012-07-12T12:48:01 < Laurenceb_> invensense gyro performance is insane 2012-07-12T12:51:01 < Laurenceb_> mpu-6500 looks the shit 2012-07-12T12:51:09 < Laurenceb_> they finally made a good accel 2012-07-12T12:58:15 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 265 seconds] 2012-07-12T13:04:42 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-12T13:35:12 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-12T13:44:05 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-12T13:44:06 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-12T13:56:16 -!- cjbaird [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-12T14:02:08 <+Steffanx> nu 2012-07-12T14:04:02 -!- tavish3 [~tavish@120.59.47.9] has quit [Ping timeout: 252 seconds] 2012-07-12T14:04:11 < dongs> no u 2012-07-12T14:05:57 -!- tavish3 [~tavish@120.56.172.245] has joined ##stm32 2012-07-12T14:18:38 < dongs> http://i.imgur.com/MuSro.jpg 2012-07-12T14:20:14 < BrainDamage> dongs using vi, putty, and chrome? 2012-07-12T14:20:23 < BrainDamage> what's with all that open sauce? 2012-07-12T14:20:46 <+Steffanx> At least DickTrace is opened too 2012-07-12T14:21:34 < dongs> and some link about netbsd 2012-07-12T14:21:40 < dongs> i think the shit zippe linked 2012-07-12T14:21:44 < dongs> like hours ago 2012-07-12T14:22:19 <+Steffanx> And at least you have a nice old telephone 2012-07-12T14:22:33 < dongs> key system bro. 2012-07-12T14:22:44 < dongs> 2 ISDN channels, 1 voip, 1 pots. 2012-07-12T14:23:01 < dongs> none of this newfag IP trash. 2012-07-12T14:23:10 <+Steffanx> phone :P 2012-07-12T14:24:10 < dongs> that font is too small. i need to find some opensauce font 2012-07-12T14:24:31 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-12T14:24:49 < BrainDamage> try déjà vu fonts 2012-07-12T14:24:53 <+Steffanx> dafonts.com 2012-07-12T14:24:55 <+Steffanx> or whatever 2012-07-12T14:25:08 <+Steffanx> not that one 2012-07-12T14:25:17 <+Steffanx> -s .com 2012-07-12T14:26:50 < dongs> i mean like bitmap font. 2012-07-12T14:26:55 < dongs> preferably in .h format already. 2012-07-12T14:27:01 < dongs> ill probably troll rockbox or osme other retard place 2012-07-12T14:27:11 < dongs> where they already spent hours manually making header file out of font graphics 2012-07-12T14:28:59 <+Steffanx> hours? I think it can be done with gimp in ~½ hour 2012-07-12T14:29:24 < dongs> gimp has .h export? how surprising. 2012-07-12T14:29:27 <+Steffanx> Yes 2012-07-12T14:30:01 <+Steffanx> but it has an open sauce flavour so you probably don't like it 2012-07-12T14:31:16 < BrainDamage> use .xpm format 2012-07-12T14:31:26 < BrainDamage> it's an header that can be included right away 2012-07-12T14:31:32 < dongs> haha 2012-07-12T14:31:51 < BrainDamage> and the really mind boggling thing is that the file format stores the pixel data as ascii art 2012-07-12T14:35:17 < dongs> mindblogging 2012-07-12T14:35:38 <+Steffanx> Your mind in in the web? 2012-07-12T14:39:14 < dongs> i think im just gonna join rockbox and ask 2012-07-12T14:40:49 <+Steffanx> Good luck 2012-07-12T14:42:24 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-12T14:42:35 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-12T14:42:37 < pelrun> what 2012-07-12T14:42:46 < pelrun> did hell just freeze over? 2012-07-12T14:42:53 < pelrun> wow 2012-07-12T14:43:10 < dongs> wat 2012-07-12T14:43:21 < dongs> Steffanx: got answer in 30 seconds> http://www.rockbox.org/wiki/CreateFonts 2012-07-12T14:43:41 < dongs> now i need to convince some lunix dude to run that for me 2012-07-12T14:43:49 < dongs> since instructions are obviously not for a real OS. 2012-07-12T14:43:57 <+Steffanx> cygwin 2012-07-12T14:44:24 < dongs> i still remember the day I installed libusb on my development system by mistake. 2012-07-12T14:44:29 <+Steffanx> "his is a MS-DOS/Windows batch file which makes use of some free programs to convert any TrueType or OpenType font automatically to the Rockbox FNT format" 2012-07-12T14:44:33 <+Steffanx> *This 2012-07-12T14:44:34 < dongs> opensauce is never touching anything not in vm 2012-07-12T14:44:37 <+Steffanx> WINDOWS 2012-07-12T14:44:52 < dongs> Steffanx: i dont want to go to FNT,, i wanna make a .h 2012-07-12T14:45:13 < dongs> i think there's some shit to go from bdf to .h 2012-07-12T14:45:38 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 246 seconds] 2012-07-12T14:45:58 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 2012-07-12T14:49:05 < dongs> ooo this font is nicer. 2012-07-12T14:50:14 <+Steffanx> Yes 2012-07-12T14:50:15 < pelrun> dongs: aren't you worried that you'll get open source cooties from touching the output of an app like that? 2012-07-12T14:50:31 < pelrun> slowly turning you into RMS 2012-07-12T14:51:26 < pelrun> joking aside, you've built a video overlay thingy? 2012-07-12T14:51:53 <+Steffanx> osd :) 2012-07-12T14:52:04 < pelrun> like I said 2012-07-12T14:52:27 <+Steffanx> "video overlay thingy" :P 2012-07-12T14:52:56 < pelrun> I just had to define "osd" the last time I used that here, so I pre-translated XD 2012-07-12T14:53:09 < Laurenceb> video overtrolling 2012-07-12T14:54:01 < pelrun> I just got this crappy little chinese media player set up to use as a video signal source for prototyping that stuff 2012-07-12T14:54:41 < dongs> yeah i need to stop using gopro 2012-07-12T14:54:43 < pelrun> want to see if I can get an osd running with an extremely restricted parts count 2012-07-12T14:54:44 < dongs> i cant run it all the time from usb 2012-07-12T14:54:54 < dongs> pelrun: how restricted is stm32+lm1881? 2012-07-12T14:54:59 < dongs> cause thats basically all i have there. 2012-07-12T14:55:03 < dongs> a diode, resistor. 2012-07-12T14:55:05 < dongs> thats it. 2012-07-12T14:55:11 < pelrun> I can't really justify the lm1881 2012-07-12T14:55:19 < dongs> then youre gonna have to add some lame analol'g shit. 2012-07-12T14:55:23 < dongs> LM1881 is like $0.6 though. 2012-07-12T14:55:30 < dongs> doesnt make sense not to use it. 2012-07-12T14:55:31 < pelrun> and the size of it 2012-07-12T14:55:39 < dongs> yes, so-8. :( 2012-07-12T14:56:11 < pelrun> I'm cramming this thing into the side of a commercial device as a hidden feature. Can't exactly add IC's to the BOM for that 2012-07-12T14:56:17 < dongs> what else are you gonna do then 2012-07-12T14:56:22 < dongs> how2findsync 2012-07-12T14:56:27 < dongs> http://i.imgur.com/ikSmz.jpg 2012-07-12T14:56:28 < pelrun> oh, there are methods for doing it 2012-07-12T14:56:44 < pelrun> just gotta wire them up on the bench and see if I can get them to work 2012-07-12T14:57:44 < Laurenceb> lwal 2012-07-12T14:58:04 < pelrun> "lawl"? 2012-07-12T14:58:18 < dongs> pelrun: i'm all ears 2012-07-12T14:58:36 < dongs> i mean.. i knowteh sync way with like transsitors and trash. 2012-07-12T14:58:47 < dongs> but all that takes up more space than a lm118 2012-07-12T14:58:48 < dongs> :) 2012-07-12T14:59:03 < pelrun> the atmega's can do it using the analog comparator peripheral they have 2012-07-12T14:59:20 < pelrun> on the stm32 I think I'm going to run an adc with a watchdog 2012-07-12T14:59:20 < dongs> right. 2012-07-12T14:59:27 < dongs> oh, now i remember you blogginabout that. 2012-07-12T14:59:34 < pelrun> yup 2012-07-12T14:59:50 < pelrun> well, blathering here anyway 2012-07-12T15:00:40 < dongs> btw, i had to make my shit 400x240. ... 72mhz, apb2 @ 72mhz, spi1 w /8 prescaler gives me 9mhz per line, for 52.66us at 9mhz w/some space leftright I can fit exactly 400 pixel. 2012-07-12T15:00:47 < dongs> reasonable? or would that break stuff 2012-07-12T15:00:48 < pelrun> I spent a bunch of time figuring out how to do dc restoration on an ac-coupled video signal - turned out that shitty media player didn't have ground hooked up on the video cable 2012-07-12T15:02:32 < pelrun> 400 sounds pretty good 2012-07-12T15:03:25 < pelrun> a scanline is continuous analog anyway, so unless you accidentally write crap outside the scanline period nothing is going to care 2012-07-12T15:04:44 < pelrun> worst case you use a horizontal res that's higher than the display can handle, and it just comes out blurry 2012-07-12T15:08:32 < dongs> right. 2012-07-12T15:08:43 < dongs> need to kill someone, back in a bit, will continue blogging re; this 2012-07-12T15:13:37 -!- tech2077 [~tech2077@adsl-75-53-132-117.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 240 seconds] 2012-07-12T15:15:00 < Laurenceb> /dev/sdd1: 2012-07-12T15:15:01 < Laurenceb> Timing buffered disk reads: 6 MB in 3.39 seconds = 1.77 MB/sec 2012-07-12T15:15:03 < Laurenceb> the hell 2012-07-12T15:15:16 < Laurenceb> its 12Mbps USB 2012-07-12T15:16:35 <+Steffanx> MAGIC 2012-07-12T15:20:02 < Laurenceb> first its too slow now its too fast 2012-07-12T15:26:04 -!- tech2077 [~tech2077@adsl-75-53-128-116.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-12T15:41:50 -!- tavish3 [~tavish@120.56.172.245] has quit [Quit: leaving] 2012-07-12T15:42:22 < dongs> ok so 2012-07-12T15:42:36 <+Steffanx> agreed 2012-07-12T15:44:27 < dongs> pelrun: http://www.ni.com/cms/images/devzone/tut/a/f19f8d1a1011.gif 2012-07-12T15:44:35 < dongs> what would you be trying to analog watchdog here 2012-07-12T15:45:14 < pelrun> basically looking for the edge of the horizontal sync pulse 2012-07-12T15:45:22 < dongs> so the negative shit? 2012-07-12T15:45:38 < pelrun> signal needs clamping so that stuff is at ground 2012-07-12T15:46:02 < pelrun> at least as far as the adc is concerned 2012-07-12T15:46:06 < dongs> right 2012-07-12T15:46:12 < dongs> how to do tha though? 2012-07-12T15:46:27 < pelrun> can do it with cap, resistor and diode 2012-07-12T15:47:06 < dongs> so you can add passives but not a new ic? 2012-07-12T15:48:07 < BrainDamage> wasn't size the problem? 2012-07-12T15:48:17 < BrainDamage> you can use even 0201 for cap, res and diode 2012-07-12T15:48:26 < BrainDamage> ( or smaller ) 2012-07-12T15:48:46 < pelrun> yeah, probably 2012-07-12T15:49:22 < dongs> http://static.rcgroups.net/forums/attachments/3/6/2/8/4/1/a4069376-238-e-osd.png?d=1307571963 2012-07-12T15:50:03 < pelrun> yup 2012-07-12T15:50:35 < dongs> so which of the R/C are involved there? 2012-07-12T15:50:39 < dongs> R8, + ?? 2012-07-12T15:50:42 < pelrun> that's even more complex than what I was thinking 2012-07-12T15:50:57 < dongs> D2/R9 is for output 2012-07-12T15:51:03 < dongs> thats same thing I have. 2012-07-12T15:51:10 < dongs> R8 goes to AIN 2012-07-12T15:51:22 < dongs> err no it doesnt wait waht 2012-07-12T15:51:26 < dongs> nothing goes to ain on that shit 2012-07-12T15:51:35 < pelrun> yeah, that's what the transistor is for 2012-07-12T15:51:45 < dongs> oh, i see 2012-07-12T15:51:56 < dongs> so they're using transistor and int0? 2012-07-12T15:52:04 < pelrun> yeah, looks like it 2012-07-12T15:52:42 < pelrun> then it's all annoying biasing and shit 2012-07-12T15:53:37 < pelrun> I was thinking something like figure 4a in http://www.maxim-ic.com/app-notes/index.mvp/id/3303 2012-07-12T15:54:03 < pelrun> usually need a resistor parallel to the diode as well 2012-07-12T15:54:25 < pelrun> saw a propeller osd that used 4b 2012-07-12T15:54:26 < dongs> wowzer 2012-07-12T15:54:35 < dongs> haha propeller. 2012-07-12T15:55:21 <+Steffanx> Wonder when dongs changes his irc 'real name' to "lolpropeller" 2012-07-12T15:55:28 < dongs> never 2012-07-12T15:55:40 <+Steffanx> Never say never 2012-07-12T15:58:56 < dongs> what s "key" 2012-07-12T15:59:43 < dongs> oh. helps to read. 2012-07-12T16:05:07 < dongs> pelrun: maxim says 4a is 'unreliable' 2012-07-12T16:05:23 < dongs> when are you gonna test this shit out? 2012-07-12T16:05:37 < dongs> im curious if I should get a reel of lm1881 or ghetto it if that way works :) 2012-07-12T16:05:40 < Laurenceb> /dev/sdd1: 2012-07-12T16:05:40 < Laurenceb> Timing buffered disk reads: 4 MB in 5.10 seconds = 802.58 kB/sec 2012-07-12T16:05:43 < pelrun> they're also talking about using it for broadcast quality 2012-07-12T16:05:46 < Laurenceb> got it consistent around that now 2012-07-12T16:05:53 < pelrun> igaf about broadcast quality :) 2012-07-12T16:06:00 < dongs> lo 2012-07-12T16:06:07 < Laurenceb> finally reliable usb 2012-07-12T16:06:11 < dongs> hmm 2012-07-12T16:06:17 < pelrun> punched it till it broke, huh? 2012-07-12T16:06:21 < pelrun> reliably broken 2012-07-12T16:06:23 < dongs> whats unrealiable about it 2012-07-12T16:06:39 < dongs> "A major problem with these is that they tend to oscillate if improperly terminated, and are seldom used in discrete design." 2012-07-12T16:06:44 < dongs> whats "improperly terminated'? 2012-07-12T16:06:49 < dongs> 75R to ground or something? 2012-07-12T16:06:57 < pelrun> not sure 2012-07-12T16:07:05 < pelrun> I was just going to experiment 2012-07-12T16:08:04 < Laurenceb> speedy usb up on github if anyone want it 2012-07-12T16:08:08 < Laurenceb> its a mess :P 2012-07-12T16:08:16 <+Steffanx> it's Laurenceb :P 2012-07-12T16:08:27 < Laurenceb> it works so who cares 2012-07-12T16:08:36 < dongs> first step after downloading laurenceb code is like indent -kr -nut -l400 *.c *.h 2012-07-12T16:09:18 < pelrun> that oscillation comment I think refers to the "active clamp" thing 2012-07-12T16:09:41 < pelrun> the basic cap+diode can't exactly oscillate since there isn't any feedback 2012-07-12T16:10:29 < pelrun> I'm hardly going to throw an opamp in there (may as well use the lm1881 then) 2012-07-12T16:10:50 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Remote host closed the connection] 2012-07-12T16:10:59 < dongs> well you can g et opamps in SC70 and shit. 2012-07-12T16:14:11 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-12T16:36:55 -!- tech2077 [~tech2077@adsl-75-53-128-116.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 246 seconds] 2012-07-12T16:46:45 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-12T16:49:16 -!- tech2077 [~tech2077@75.53.138.14] has joined ##stm32 2012-07-12T16:52:37 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-12T17:33:54 < Laurenceb> dongs: 2012-07-12T17:34:27 < dongs> sup 2012-07-12T17:34:33 < Laurenceb> http://jewsdid911.ytmnd.com/ 2012-07-12T17:34:46 < Laurenceb> you need that on your osd 2012-07-12T17:35:11 < dongs> haha 2012-07-12T17:35:47 < BrainDamage> oh god I so don't want to do tomorrow's exam 2012-07-12T17:36:29 < BrainDamage> predictive control, kalman filter theory, apadtive contro 2012-07-12T17:38:26 <+Steffanx> Sounds interesting 2012-07-12T17:38:38 < dongs> adaptive conTROLL 2012-07-12T17:38:43 <+Steffanx> HELP 2012-07-12T17:39:08 <+Steffanx> Man, dongs really sees his favourite words in EVERYTHING 2012-07-12T17:40:59 <+Steffanx> but we still love you 2012-07-12T17:52:00 < Tectu> what does the 'N' in NRST stand for? 2012-07-12T17:52:05 < dongs> inverted 2012-07-12T17:52:09 < dongs> active low 2012-07-12T17:52:09 < dongs> etc. 2012-07-12T17:52:22 < dongs> RST 2012-07-12T17:52:25 < dongs> or rather 2012-07-12T17:52:26 < Tectu> there is the NRST pin on the f4 disco board. when I press the reset button, this will go low? 2012-07-12T17:52:28 < dongs> underline on top. 2012-07-12T17:52:35 <+Steffanx> or \RST 2012-07-12T17:53:06 <+Steffanx> Yes Tectu 2012-07-12T17:53:43 < Tectu> thanks 2012-07-12T17:55:10 -!- tavish [~tavish@120.59.15.91] has joined ##stm32 2012-07-12T17:55:11 -!- tavish [~tavish@120.59.15.91] has quit [Changing host] 2012-07-12T17:55:11 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-12T18:37:33 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-12T18:51:27 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-07-12T18:55:35 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-07-12T18:57:08 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 248 seconds] 2012-07-12T19:00:26 -!- Guest33375 [~tavish@120.56.136.168] has joined ##stm32 2012-07-12T19:11:41 -!- Guest33375 is now known as tavish3 2012-07-12T19:13:17 -!- tavish_ [~tavish@59.177.11.243] has joined ##stm32 2012-07-12T19:13:40 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has left ##stm32 ["ERC Version 5.3 (IRC client for Emacs)"] 2012-07-12T19:16:20 -!- tavish3 [~tavish@120.56.136.168] has quit [Ping timeout: 248 seconds] 2012-07-12T20:15:51 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 252 seconds] 2012-07-12T20:20:37 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-12T20:52:13 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-12T21:06:59 < dongs> http://www.youtube.com/watch?v=D1yeJZDW_QA 2012-07-12T21:08:19 <+Steffanx> He, you used another camera/lens 2012-07-12T21:28:02 < Tectu> autofocus on screens ftw 2012-07-12T21:30:09 <+Steffanx> Don't you like it Tectu 2012-07-12T21:30:50 < karlp> fun times dongus 2012-07-12T21:31:10 < karlp> needs more boobage, less cubage 2012-07-12T21:32:26 <+Steffanx> Pixel art boobage .. 2012-07-12T21:33:36 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-12T21:40:38 < zyp> *yawn* 2012-07-12T21:43:27 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-12T21:46:01 <+Steffanx> Good morning 2012-07-12T21:46:56 <+Steffanx> Back in your own boring country zyp ? 2012-07-12T21:57:32 < zyp> yep, just got back :( 2012-07-12T21:57:43 -!- cjbaird [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-12T21:58:04 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 248 seconds] 2012-07-12T21:58:32 <+Steffanx> So no trouble with the customs 2012-07-12T21:58:34 <+Steffanx> ? 2012-07-12T21:58:57 < zyp> no, why? 2012-07-12T21:59:09 <+Steffanx> You were 'worried' about that iirc 2012-07-12T21:59:31 < zyp> ah, no, no problems 2012-07-12T22:07:04 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-12T22:32:50 < tech2077> :/ 2012-07-12T22:33:13 < tech2077> i think i may give up doing everything the excessively hard way, at least for this 2012-07-12T22:33:25 < tech2077> i can't get pwm output no matter what i do 2012-07-12T22:40:12 -!- tavish_ [~tavish@59.177.11.243] has quit [Quit: leaving] 2012-07-12T22:41:07 -!- mclane [508bd7f1@gateway/web/freenode/ip.80.139.215.241] has joined ##stm32 2012-07-12T22:41:52 < mclane> hi, can someone point me to a linux-based ide for the stm32f0? 2012-07-12T22:42:03 < mclane> preferably using eclipse? 2012-07-12T22:43:00 < enots> keil in virtual win ) 2012-07-12T22:44:24 < BrainDamage> start by installing a toolchain 2012-07-12T22:44:49 < BrainDamage> like summon_arm_toolchain.sh or the one in the topic 2012-07-12T22:51:26 < tech2077> the one in the topic includes newlib right? 2012-07-12T23:05:50 < tech2077> wow 2012-07-12T23:06:14 < tech2077> i forgot to enable alternate function 2012-07-12T23:07:05 <+Steffanx> :P 2012-07-12T23:07:06 <+Steffanx> HAha 2012-07-12T23:07:17 < tech2077> stupid mistake is stupid 2012-07-12T23:08:01 < tech2077> 2 hours of debugging will never fix a error in overlooking the documentation 2012-07-12T23:08:18 <+Steffanx> You're not the first one who makes that mistake 2012-07-12T23:09:16 < BrainDamage> dongs: http://www.seeedstudio.com/depot/video-overlay-shield-p-1232.html?cPath=132_134 2012-07-12T23:11:09 <+Steffanx> Ardongso ! 2012-07-12T23:16:10 -!- cjbaird [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has quit [Ping timeout: 250 seconds] 2012-07-12T23:17:38 -!- mclane [508bd7f1@gateway/web/freenode/ip.80.139.215.241] has quit [Quit: Page closed] 2012-07-12T23:27:09 -!- cjbaird [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-12T23:40:59 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-12T23:46:20 < Laurenceb_> so i was wondering about arduino stuff 2012-07-12T23:46:32 < Laurenceb_> why no opensource washing machine controller 2012-07-12T23:46:37 < Laurenceb_> or shower controller 2012-07-12T23:47:00 < Laurenceb_> however 2012-07-12T23:47:01 < Laurenceb_> http://electronics.stackexchange.com/questions/16616/getting-temperature-data-from-traditional-pizza-oven 2012-07-12T23:47:23 < Laurenceb_> when it comes to the loser virgins food source 2012-07-12T23:50:09 -!- izua [~izua@188.26.92.24] has joined ##stm32 2012-07-12T23:50:10 -!- izua [~izua@188.26.92.24] has quit [Changing host] 2012-07-12T23:50:10 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-12T23:50:11 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-12T23:51:23 < BrainDamage> tradictional pizza ovens are not electric but wood powered :/ 2012-07-12T23:54:25 <+izua> best pizza i ate was in an industrial oven for.. err.. something else 2012-07-12T23:54:47 <+izua> it could flash heat to 400 and took ~15 secs to reach 500 2012-07-12T23:55:13 < BrainDamage> still, not tradictional 2012-07-12T23:55:23 <+izua> what is traditional 2012-07-12T23:56:03 <+izua> i only heard something that tasted good for some people many years ago 2012-07-12T23:57:01 < zyp> what's the best reflow profile for pizza? :p 2012-07-12T23:57:04 < cjbaird> I can't eat pizza unless I make it myself-- /yeah/ commercially unviable excess toppings... 2012-07-12T23:57:41 < cjbaird> homemade dough, too 2012-07-12T23:58:25 < BrainDamage> there's so many pizzerias here that it's not an issue 2012-07-12T23:58:38 < BrainDamage> I can get an awesome pizza for 4€ 2012-07-12T23:59:28 < cjbaird> Does it weight over 1.5 kilos? and take a week to eat? :) --- Day changed Fri Jul 13 2012 2012-07-13T00:01:07 < BrainDamage> I can get giant pizzas for ~10€ 2012-07-13T00:03:26 < tech2077> izua, sounds like biomed disposal ovens 2012-07-13T00:08:29 < tech2077> FUCK THIS! 2012-07-13T00:08:49 < tech2077> Indie Game: The Movie is half off and I bought it for full price 2012-07-13T00:09:01 < tech2077> dammit, i could have saved 7 dollars 2012-07-13T00:10:37 < cjbaird> Meh, "Indie" is just another Lifestyle Brand.. 2012-07-13T00:12:11 < tech2077> ? 2012-07-13T00:13:07 < tech2077> wow, wrong channel 2012-07-13T00:13:16 < tech2077> .... 2012-07-13T00:30:00 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-13T00:47:41 <+izua> tech2077: dead fish, pasteurised cow byproducts, fermented dough, mashed tomatoes 2012-07-13T00:47:48 <+izua> yeah, sounds like it 2012-07-13T00:48:34 < tech2077> yep 2012-07-13T00:48:35 <+izua> BrainDamage: really? authentic italian pizza for €4? 2012-07-13T00:49:06 <+izua> order-able pizza here is crap 2012-07-13T00:49:13 < BrainDamage> izua: I live in italy :p 2012-07-13T00:49:19 < tech2077> heh 2012-07-13T00:50:02 < BrainDamage> actually the price is driven low by competition with immigrants that open pizzerie with competitive prices 2012-07-13T00:50:35 < tech2077> i don't care about the quality of my pizza as long is it's reasonably edible 2012-07-13T00:51:00 < BrainDamage> you gotta eat anyway, why not eat some tasty? 2012-07-13T00:51:01 < tech2077> though a good pizza every once and a while is nice 2012-07-13T00:53:36 <+izua> my home pizza is decent-ish, better than orderable, but the dough either ends up fluffy and grows, or very thin and tough to bite 2012-07-13T00:54:58 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-13T01:00:01 < tech2077> BrainDamage, i'm in texas, not many really good places around here 2012-07-13T01:30:28 <+Steffanx> tech2077 i guess you are more into beef and stuff? :P 2012-07-13T01:30:37 < tech2077> of course 2012-07-13T01:30:50 < tech2077> since i live in houston, also plenty of seafood 2012-07-13T01:40:07 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-13T01:41:00 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 248 seconds] 2012-07-13T01:44:12 -!- cjbaird [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-13T02:09:27 -!- Oldboy [myircshell@grid.sh3lls.net] has quit [Read error: Connection reset by peer] 2012-07-13T02:09:35 -!- Oldboy [myircshell@grid.sh3lls.net] has joined ##stm32 2012-07-13T02:09:39 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Quit: Leaving.] 2012-07-13T02:12:21 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2012-07-13T02:12:51 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-07-13T02:20:02 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-13T02:43:29 < upgrdman> I'm still learning and have been writing simple drivers for different LCD controllers and currently just bit-bang. two of the LCDs use parallel buses for communication... is there some better way to do this than bit-banging? im also wasting cycles with loops to create delays... this can't be the professional way to do things...? 2012-07-13T02:44:13 < upgrdman> (I'm happy with my code but not sure if I'm doing things the proper way.) 2012-07-13T02:44:37 < upgrdman> STM32F4 if that makes a difference. 2012-07-13T03:30:33 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-13T03:30:36 < dongs> sup dongs 2012-07-13T03:32:27 < R2COM> :[ 2012-07-13T03:35:12 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-13T03:39:01 < upgrdman> sup 2012-07-13T03:40:56 < dongs> not much 2012-07-13T03:40:57 < dongs> bloggin 2012-07-13T03:42:24 < karlp> heh, houston. that was the first place I saw cold beers for sale, as singles, in a bucket of ice by the cash register at the petrol station 2012-07-13T03:52:28 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2012-07-13T03:52:54 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-13T03:55:48 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has quit [Ping timeout: 265 seconds] 2012-07-13T03:57:55 -!- kerwood [~Marshall@c-76-21-166-25.hsd1.md.comcast.net] has joined ##stm32 2012-07-13T04:27:29 < zippe> upgrdman: it's quite common. You can look at the FSMC to see if you can make it work any better, but don't be too surprised if the answer is "no". 2012-07-13T04:36:16 < dongs> fsmc should work, no? 2012-07-13T04:36:27 < upgrdman> k 2012-07-13T04:36:30 < dongs> you can drive usual 8080-style or whatever lcds with it 2012-07-13T04:36:34 < dongs> palallel shits 2012-07-13T04:36:41 < upgrdman> i will look into that 2012-07-13T04:36:56 < upgrdman> i havn't read that section of the docs yet :) 2012-07-13T04:38:09 < dongs> make sure to use raw register definiitons and not use stdperiphlib if you want to waste your time. 2012-07-13T04:42:04 < upgrdman> sarcastic or serious 2012-07-13T04:42:50 < dongs> have you been paying attention to what im saying in the channel? :0 2012-07-13T04:43:02 < upgrdman> sarc then? 2012-07-13T04:43:06 < dongs> y 2012-07-13T04:43:12 < upgrdman> good 2012-07-13T04:43:19 < upgrdman> 'cause i hate stdperiphlib 2012-07-13T04:43:24 < upgrdman> or at least stm examples 2012-07-13T04:44:00 < upgrdman> i think i might be getting a little too lazy. im thinking of getting this and mounting it near my bed so i can use my tablet without holding it... http://www.amazon.com/Arkon-Tablet-Seat-Mount-TAB-FSM/dp/B00585CLSQ/ref=sr_1_11?ie=UTF8&qid=1342143038&sr=8-11&keywords=ipad+car+mount 2012-07-13T04:47:52 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2012-07-13T04:50:00 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-13T04:50:36 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-07-13T04:50:36 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-07-13T04:54:50 -!- cjbaird [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-13T04:56:44 -!- Netsplit *.net <-> *.split quits: zippe, R2COM 2012-07-13T04:58:38 -!- Netsplit over, joins: R2COM 2012-07-13T05:14:58 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-13T05:20:51 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-13T05:20:59 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-13T05:39:06 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2012-07-13T05:49:07 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-13T06:10:27 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-13T06:16:23 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Read error: Operation timed out] 2012-07-13T06:17:17 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-13T06:17:50 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-13T06:35:23 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-13T06:38:20 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-13T07:46:11 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-13T08:27:12 < jpa-> upgrdman: i've never liked stdperiph either.. i use raw regs, chibios or libopencm3, but never stdperiph 2012-07-13T08:34:37 < dongs> i like bashing my head against a brick wall 2012-07-13T09:16:42 < dongs> no blogging at a ll 2012-07-13T09:16:46 < dongs> whats going on 2012-07-13T10:05:09 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-13T10:10:07 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-13T10:17:09 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 265 seconds] 2012-07-13T10:18:24 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-13T10:19:57 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-13T10:20:10 -!- circuit [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-13T10:20:20 -!- circuit [circuit@82-135-241-134.static.zebra.lt] has left ##stm32 [] 2012-07-13T10:23:12 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2012-07-13T10:26:25 -!- TeknoJuce [~TeknoJuce@69.158.138.251] has joined ##stm32 2012-07-13T10:26:31 -!- TeknoJuce [~TeknoJuce@69.158.138.251] has quit [Changing host] 2012-07-13T10:26:32 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-13T10:31:13 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 255 seconds] 2012-07-13T10:31:25 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201167.dsl.bell.ca] has joined ##stm32 2012-07-13T10:31:29 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201167.dsl.bell.ca] has quit [Changing host] 2012-07-13T10:31:29 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-13T10:56:45 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 246 seconds] 2012-07-13T11:00:27 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201167.dsl.bell.ca] has joined ##stm32 2012-07-13T11:00:27 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201167.dsl.bell.ca] has quit [Changing host] 2012-07-13T11:00:27 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-13T11:06:06 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 252 seconds] 2012-07-13T11:06:33 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201403.dsl.bell.ca] has joined ##stm32 2012-07-13T11:06:33 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201403.dsl.bell.ca] has quit [Changing host] 2012-07-13T11:06:33 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-13T11:34:02 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-13T11:37:51 < cjbaird> I don't suppose there's an Uber Collection of (just) IC pinouts in a PDF/catalogue of some sort out there? I've got about 11GB of Datasheets, but its a PITA going to each file and looking for the pin function diagrams. 2012-07-13T11:40:19 < dongs> why 2012-07-13T11:41:09 < cjbaird> Working on that 1970s Z80 SBC again, and at the part of the chore of testing the ICs before putting them back in the board. There's like 140 chips to test. :/ 2012-07-13T11:42:31 < cjbaird> At this stage, I'll just try an electrical test-- wiring Vcc and GND, and checking the current isn't wacky. But I needs to know where the rail pins are for everything.. 2012-07-13T11:43:10 < dongs> ah. 2012-07-13T11:43:17 < dongs> good luck. 2012-07-13T11:43:28 < dongs> you'd probably spend less time learning verilog and implementing cpu + peripherals on a fpga. 2012-07-13T11:46:03 -!- pelrun_ [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-13T11:49:37 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 240 seconds] 2012-07-13T11:50:07 < cjbaird> Probably the only thing with a higher enjoyment/time ratio than this to me would be bashing Julian Assange's head in with a cricket bat.. :P :) (shit, publically-logged channel again..) proff@suburbia has a very bad history in the early computer scene here in Oz.. 2012-07-13T11:50:48 < cjbaird> His trying to frame people with CP, etc. 2012-07-13T11:51:34 < dongs> who is 2012-07-13T11:51:37 < dongs> assange? 2012-07-13T11:52:18 < cjbaird> The 'Wikileaks guy'. Also a raving schizo in real life. 2012-07-13T11:52:36 < dongs> Yea. I know. I thought he was ok. 2012-07-13T11:55:25 < cjbaird> I knew him ~20 years ago. The whole "I'm a political hackatvist" line is absolute bullshit. I knew him as a cybercrime skiddy, and mentally fucked lithium-taker. 2012-07-13T11:56:01 < dongs> nice 2012-07-13T11:58:19 < cjbaird> spartacus.pgpboard.com -- more of the story about the Assange that I knew. 2012-07-13T12:00:38 < cjbaird> http://spartacus.pgpboard.com/?p=17#comment-371 .. "If Assange gets assassinated, it won't be from American M.I.Bs, it'll be any one of two dozen APANA system administrators" 2012-07-13T12:02:16 < cjbaird> He also tried to threaten 3000 bux out of me about 5 years ago. "I still don't like him very much.." 2012-07-13T12:08:27 < karlp> cjbaird: I had a windows .hlp file with all the 74hc series pinouts, but you've probably got more than just 74xx stuff on that board I guess 2012-07-13T12:10:50 < dongs> hmm 2012-07-13T12:10:51 < dongs> pelrun_: beap 2012-07-13T12:10:58 < pelrun_> boop 2012-07-13T12:11:03 < pelrun_> sup? 2012-07-13T12:11:18 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-13T12:11:20 < dongs> weird. i made a bouncingball like thing that moves a fast-scrolling number across the screen 2012-07-13T12:11:28 < dongs> and it like.. dicks wiht the brightness depending which area of h te screen its at 2012-07-13T12:11:32 < dongs> wtf? 2012-07-13T12:11:36 < pelrun_> DEMOSZENE 2012-07-13T12:11:55 < pelrun_> actually, I should know why that is 2012-07-13T12:12:07 < pelrun_> it's certainly something I've seen before 2012-07-13T12:12:38 < dongs> making a vid sec 2012-07-13T12:12:39 < dongs> its weird 2012-07-13T12:13:15 < pelrun_> maybe you're using too high a white level 2012-07-13T12:13:27 < dongs> ya? 2012-07-13T12:13:31 < dongs> ive got a schottky and 180R 2012-07-13T12:13:41 < pelrun_> and it's monkeying with the dc restore circuit on the screen side 2012-07-13T12:13:51 -!- tavish3 [~tavish@59.177.74.241] has joined ##stm32 2012-07-13T12:13:56 < dongs> i shoulda used a shittier dioed, eh? 2012-07-13T12:14:59 < pelrun_> you might be saturating the dc clamp circuit in the screen 2012-07-13T12:15:45 < pelrun_> and depending on where in the scanline your white pixels are, it's affecting the charge in the cap that sets the black level (and hence the whole screen brightness) 2012-07-13T12:15:59 < dongs> that sounds quite likely. 2012-07-13T12:16:02 < pelrun_> tried a bigger resistor on your pixel output? 2012-07-13T12:16:11 < dongs> well, whats the diode in there for? 2012-07-13T12:16:16 < dongs> is that for dropping 3V to like ~1V isnt it? 2012-07-13T12:16:22 < dongs> right now ihave 180R for resistor 2012-07-13T12:16:33 < dongs> trying to find a non-schottky 2012-07-13T12:16:59 < dongs> found a zener 2012-07-13T12:17:03 < dongs> that wont wokr would it 2012-07-13T12:17:09 < pelrun_> don't think the diode is used for the voltage drop 2012-07-13T12:17:12 < dongs> oh? 2012-07-13T12:17:14 < dongs> then wat 2012-07-13T12:17:23 < dongs> so what should i try instead of 180R? 2012-07-13T12:17:25 < dongs> i'v egot 510R 2012-07-13T12:17:28 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-13T12:17:31 < dongs> and a few in between 2012-07-13T12:17:52 < pelrun_> probably to ensure the pixel output is an output and doesn't affect the underlying video when it's off 2012-07-13T12:18:20 < pelrun_> anyway, standard ntsc/pal white levels are actually much lower than 100% 2012-07-13T12:18:29 < dongs> http://www.youtube.com/watch?v=3807CCVXn9Q 2012-07-13T12:18:41 < pelrun_> and the black is higher than 0% 2012-07-13T12:19:31 < pelrun_> so you can get "super white" and "super black" signals. Superblack is used for sync. 2012-07-13T12:20:36 < pelrun_> hmm 2012-07-13T12:20:53 < dongs> ya my whites are like 3V now. 2012-07-13T12:20:54 < pelrun_> actually, that looks almost like the problem is with the black 2012-07-13T12:21:07 < dongs> wlel, wehn dot is high that is. 2012-07-13T12:21:19 < dongs> as soon as I enable osd (scanline processing), screen dims a bit 2012-07-13T12:21:25 < pelrun_> the brightness variation occurs when the text moves over the black section 2012-07-13T12:21:40 < dongs> hmm 2012-07-13T12:21:41 < dongs> urrite 2012-07-13T12:22:00 < dongs> it gets much brighter when the text is over black 2012-07-13T12:23:37 < pelrun_> is the background symbol from the OSD or from the original video signal? 2012-07-13T12:23:41 < dongs> original 2012-07-13T12:23:48 < dongs> thats gopro output so im not wasting battery 2012-07-13T12:23:51 < dongs> its plugged into usb 2012-07-13T12:23:51 < pelrun_> right 2012-07-13T12:28:40 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Ping timeout: 246 seconds] 2012-07-13T12:30:03 < pelrun_> composite video is supposed to be something like 1v p-p so you're definitely overdoing it at 3v :) 2012-07-13T12:37:23 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-13T12:42:05 -!- tavish3 [~tavish@59.177.74.241] has quit [Changing host] 2012-07-13T12:42:05 -!- tavish3 [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-13T12:42:09 -!- tavish3 is now known as tavish 2012-07-13T12:42:15 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-13T12:42:18 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-13T13:02:03 < dongs> hm 2012-07-13T13:02:07 < dongs> so what can i do to drop it? 2012-07-13T13:27:03 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-13T13:27:42 < pelrun_> bigger resistor 2012-07-13T13:28:41 < pelrun_> it'll form a voltage divider with the resistor between video signal and ground 2012-07-13T13:29:43 < cjbaird> That's usually what I've seen done. 2012-07-13T13:30:35 < pelrun_> and if you don't have a resistor between video signal and ground then terminate your shit :) 2012-07-13T13:34:19 < dongs> pelrun_: . i dont have a resistor between video and ground 2012-07-13T13:34:23 < dongs> is it in the tv or something? 2012-07-13T13:34:50 < pelrun_> well, there will be a 75ohm one in the tv usually 2012-07-13T13:34:58 < dongs> RighT. 2012-07-13T13:34:58 < pelrun_> but I think you need one on the local end 2012-07-13T13:35:05 < dongs> Hmm 2012-07-13T13:35:13 < dongs> lets see that osd schema again 2012-07-13T13:35:17 < pelrun_> I still don't grok transmission lines well 2012-07-13T13:36:22 < dongs> http://www.rcgroups.com/forums/attachment.php?attachmentid=4069376 2012-07-13T13:36:26 < dongs> this has a 1.2k to ground 2012-07-13T13:36:29 < dongs> and 180R output. 2012-07-13T13:37:09 < Laurenceb> GARBAGE DAY 2012-07-13T13:37:33 <+Steffanx> You mean GABRAGE DAY 2012-07-13T13:37:36 < pelrun_> the output from your gopro should have a 75ohm termination as well 2012-07-13T13:37:50 < pelrun_> since the osd is effectively 'in the middle' I'm not sure what is meant to happen 2012-07-13T13:38:09 < Laurenceb> i dont follow that schematic 2012-07-13T13:38:13 < Laurenceb> where is video in? 2012-07-13T13:38:34 < pelrun_> Laurenceb, video in and out are the same pin, down in the bottom right 2012-07-13T13:38:36 < dongs> A/V 2012-07-13T13:38:40 < dongs> JP1 2012-07-13T13:38:42 < dongs> bottom right 2012-07-13T13:38:43 < Laurenceb> oh 2012-07-13T13:38:48 < Laurenceb> so you tap the coax 2012-07-13T13:38:52 < dongs> yes 2012-07-13T13:39:03 < pelrun_> since it's an osd, you're interfering with an existing signal 2012-07-13T13:39:10 < Laurenceb> yeah 2012-07-13T13:39:12 < pelrun_> rather than receiving it and retransmitting 2012-07-13T13:39:26 < Laurenceb> ideally you want infinite input impedance aiui 2012-07-13T13:39:42 < dongs> 120/1.2k voltage divider doesnt make sense 2012-07-13T13:39:47 < dongs> 3V is 2.7V after that. 2012-07-13T13:40:22 < Laurenceb> sure 2012-07-13T13:40:26 < pelrun_> you want to increase the output resistor 2012-07-13T13:40:29 < Laurenceb> dont forget the 75ohm 2012-07-13T13:40:34 < Laurenceb> 120/75 2012-07-13T13:40:43 < Laurenceb> in fact its 120/(75/2) 2012-07-13T13:40:52 < Laurenceb> as coax in both directions 2012-07-13T13:41:13 < dongs> its R11 thats in parallel with 2x 75 right? 2012-07-13T13:41:17 < dongs> why re you saying 120 2012-07-13T13:41:24 < Laurenceb> the resistor 2012-07-13T13:42:21 < pelrun_> dongs: I think you're looking at the wrong line 2012-07-13T13:42:30 < dongs> hm? 2012-07-13T13:42:32 < pelrun_> the 120ohm resistor is the dimming signal 2012-07-13T13:42:39 < dongs> it is? 2012-07-13T13:42:42 < dongs> i dont have such resistor 2012-07-13T13:42:43 < pelrun_> you want to look at the 180ohm one 2012-07-13T13:42:45 < dongs> yeah 2012-07-13T13:42:49 < dongs> i know that 2012-07-13T13:43:02 < pelrun_> well you mentioned 120 first :) 2012-07-13T13:43:03 < dongs> on my shit i have D2, R9 -> video line 2012-07-13T13:43:08 < pelrun_> 120/1.2k voltage divider doesnt make sense 2012-07-13T13:43:13 < dongs> 19:36 < dongs> this has a 1.2k to ground 2012-07-13T13:43:13 < dongs> 19:36 < dongs> and 180R output. 2012-07-13T13:43:25 < pelrun_> then you typoed it 2012-07-13T13:43:29 < dongs> probably 2012-07-13T13:43:50 < pelrun_> anyway, the terminating resistors will be in sort-of parallel with the 1.2k 2012-07-13T13:43:50 < dongs> ok so,, what happens when y ou have 180R in series and 75+1.2k+75 in parallel? 2012-07-13T13:43:56 < dongs> so it'll be like 36ohm or so? 2012-07-13T13:44:25 < pelrun_> the total resistance isn't relevant 2012-07-13T13:44:34 < pelrun_> it's the voltage at the video pin when your output is high 2012-07-13T13:44:40 < dongs> well, its too high now. 2012-07-13T13:44:43 < dongs> ~3-ish volts. 2012-07-13T13:44:44 < pelrun_> i.e. between the 180 and the terminating resistor 2012-07-13T13:45:06 < pelrun_> the larger the 180ohm resistor becomes, the lower the output voltage 2012-07-13T13:45:09 < dongs> my analog guy is telling me to use an opamp. im about to stab him 2012-07-13T13:45:16 < dongs> ok, but what should I try then? 2012-07-13T13:45:17 < pelrun_> i.e. basic voltage divider 2012-07-13T13:45:21 < dongs> 500? 240? 1k? 2012-07-13T13:45:33 < pelrun_> I'd have doubled it 2012-07-13T13:45:39 < pelrun_> 500 probably isn't a bad choice 2012-07-13T13:45:46 < dongs> ok. lemme grab that and replace. 2012-07-13T13:46:08 < pelrun_> it's just experimenting here - nothing will go wrong if it's too high (but your 'white' will be dark) 2012-07-13T13:46:13 < dongs> right 2012-07-13T13:50:46 < dongs> ok 2012-07-13T13:50:49 < dongs> its working. 2012-07-13T13:50:57 < dongs> lets see what hte outputs look like 2012-07-13T13:51:57 < dongs> ok that looks nicer 2012-07-13T13:52:17 < dongs> i think ill just put a little trimpot there then 2012-07-13T13:52:24 < dongs> 500R is kind of too thin white 2012-07-13T13:52:31 < dongs> actually its weird.. 2012-07-13T13:52:36 < dongs> it gets LIGHTER when its over black areas?? 2012-07-13T13:53:27 < pelrun_> Moving text is a bit of an unusual case for an OSD 2012-07-13T13:53:40 < dongs> yeah. 2012-07-13T13:53:47 < dongs> but moving video under static osd isn't. 2012-07-13T13:54:10 -!- tavish_ [~tavish@59.177.71.198] has joined ##stm32 2012-07-13T13:54:25 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 246 seconds] 2012-07-13T13:54:47 < dongs> when input video is black (i cover lens), the osd is barely visible 2012-07-13T13:54:54 < dongs> if i point it at a light, i can still see white. 2012-07-13T13:55:25 < pelrun_> hmm 2012-07-13T13:55:36 < dongs> too much R? 2012-07-13T13:55:41 < pelrun_> yeah, maybe 2012-07-13T13:55:48 < dongs> gonna try 240R. 2012-07-13T13:55:49 < dongs> or maybe 280. 2012-07-13T13:56:04 < dongs> ok i got 249 2012-07-13T13:59:29 < dongs> ok its doing (less degree) of that brightness crap at 249 2012-07-13T13:59:33 < dongs> i think a small smt trimpot will do the job 2012-07-13T14:00:21 < dongs> http://static.rcgroups.net/forums/attachments/3/5/0/3/2/0/a4179193-198-Schematic_1.png 2012-07-13T14:00:24 < dongs> dimming pin? 2012-07-13T14:01:42 < dongs> ha, video trigger feature in my scope 2012-07-13T14:03:36 < dongs> lol,i can trigger on any line 2012-07-13T14:03:50 < dongs> neat, im gonna put a static image and then i can check the levels exactly 2012-07-13T14:04:59 < dongs> http://i.imgur.com/JeJ3z.png 2012-07-13T14:05:32 < nopcode> which scope is that? 2012-07-13T14:05:44 < dongs> dpo4034 2012-07-13T14:07:21 < elektrinis> what kind of tek is that? 2012-07-13T14:07:24 < elektrinis> ok 2012-07-13T14:07:25 < elektrinis> ;][ 2012-07-13T14:12:37 < dongs> also nice ringing 2012-07-13T14:13:58 < cjbaird> looks neat.. 2012-07-13T14:15:39 < dongs> hmm.. i set gpio.GPIO_Speed = GPIO_Speed_2MHz; and much less ringing 2012-07-13T14:15:46 < dongs> but that spi is 9mhz 2012-07-13T14:15:49 < dongs> why is it working? 2012-07-13T14:16:26 <+Steffanx> Magic 2012-07-13T14:16:55 < cjbaird> karlp: when I was in highschool, I used to visit the Newcastle Uni library and there was a great ?TI book of CMOS and 74-series pinouts. I took several visits to photocopy the entire thing. :) 2012-07-13T14:18:26 < cjbaird> ...and STUCK THEM UP ON MY BEDROOM WALL. 2012-07-13T14:24:31 < dongs> hmm 2012-07-13T14:24:33 < dongs> i see the problem 2012-07-13T14:29:10 < dongs> PROCESSING UR VIDEO 2012-07-13T14:29:34 < dongs> http://www.youtube.com/watch?v=GVGVGsysFr4 2012-07-13T14:31:04 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-13T14:31:05 < dongs> pelrun_: ^ 2012-07-13T14:31:33 < dongs> even if levels are ok (they are now with 330R i guess), signal drops based on whatever original level is 2012-07-13T14:31:46 < pelrun_> ah 2012-07-13T14:31:49 < pelrun_> fun 2012-07-13T14:32:01 < dongs> asking my analog troll to halp 2012-07-13T14:32:03 < dongs> beyond me, for sure 2012-07-13T14:33:57 <+Steffanx> Who's your analog troll dongs ? Flyback or avrfreak? 2012-07-13T14:34:31 < dongs> ha ha 2012-07-13T14:34:42 < dongs> nah some dude here who actually went to school 2012-07-13T14:36:40 <+Steffanx> That must be geckosenator 2012-07-13T14:36:49 <+Steffanx> oh no, he said he left school because he was too good 2012-07-13T14:38:23 < Laurenceb> http://www.raspberrypi.org/ 2012-07-13T14:38:24 < Laurenceb> ooh 2012-07-13T14:38:30 < dongs> what now 2012-07-13T14:38:34 < Laurenceb> they actually did some work 2012-07-13T14:38:35 < dongs> did someone h ack them 2012-07-13T14:38:45 < dongs> haha raspbian 2012-07-13T14:38:51 < dongs> YAFLD 2012-07-13T14:39:00 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Remote host closed the connection] 2012-07-13T14:39:06 < Laurenceb> they managed to compile with hard float 2012-07-13T14:39:12 < Laurenceb> serious work going on there 2012-07-13T14:39:17 < dongs> The Adobe Flash Player or an HTML5 supported browser is required for video playback. 2012-07-13T14:39:20 < dongs> Get the latest Flash Player 2012-07-13T14:39:23 < dongs> Learn more about upgrading to an HTML5 browser 2012-07-13T14:39:39 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-13T14:39:42 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-13T14:39:51 <+Steffanx> Fuck Laurenceb 2012-07-13T14:39:56 < dongs> lol 2012-07-13T14:40:03 < dongs> did opening that shit in ie6 crash your lunix desktop? 2012-07-13T14:40:04 <+Steffanx> That page crashed my window manager (or something like that) 2012-07-13T14:40:21 < dongs> only on lunix does a browser have the capability to trash entire desktop 2012-07-13T14:40:24 <+Steffanx> It's os x actually dongs 2012-07-13T14:40:28 <+Steffanx> Ha 2012-07-13T14:40:29 < dongs> X is a fucking pile of shit 2012-07-13T14:40:30 < Laurenceb> lawl 2012-07-13T14:40:33 < dongs> haha seriously? 2012-07-13T14:40:39 < dongs> thats fucking terrible. 2012-07-13T14:40:42 <+Steffanx> Yep 2012-07-13T14:41:21 <+Steffanx> I also get some kernel panics once in a long while, so perhaps so hw issues :P 2012-07-13T14:43:10 <+Steffanx> but os x is fancy enough to open everything that was open before the 'crash' 2012-07-13T14:50:42 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-13T15:08:33 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-13T15:14:47 <+Steffanx> nu 2012-07-13T15:18:08 < nopcode> Steffanx: including the thing that is responsible for the crash? ;) 2012-07-13T15:18:33 <+Steffanx> Probably, yes 2012-07-13T15:18:47 < BrainDamage> really? the os should be able to reconstruct the stack frame 2012-07-13T15:18:50 < BrainDamage> and the kill the app 2012-07-13T15:20:12 -!- tavish_ [~tavish@59.177.71.198] has quit [Ping timeout: 265 seconds] 2012-07-13T15:21:01 <+Steffanx> I'm not really sure what happens, just got logged out and all apps are 'closed' 2012-07-13T15:21:07 <+Steffanx> So i guess that's the window manager that crashes 2012-07-13T15:21:51 -!- tavish [~tavish@120.59.41.11] has joined ##stm32 2012-07-13T15:22:16 -!- tavish is now known as Guest39577 2012-07-13T15:29:09 -!- Guest39577 [~tavish@120.59.41.11] has quit [Quit: leaving] 2012-07-13T15:32:52 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-07-13T15:39:16 < ratatata> nu 2012-07-13T15:44:17 -!- pelrun_ [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Quit: Leaving] 2012-07-13T15:57:04 < dongs> cjbaird: that assange shit sounds fascinating, but is tehre a tl;dr version 2012-07-13T15:57:18 < dongs> cause i feel like i walked into someones rant on irc in the middle of conversation 2012-07-13T15:58:43 <+Steffanx> "assange shit" good description :) 2012-07-13T16:00:58 < dongs> http://www.rcgroups.com/forums/showthread.php?t=1690504 2012-07-13T16:00:59 < dongs> lol. 2012-07-13T16:02:14 < karlp> RTF? 2012-07-13T16:02:16 <+Steffanx> wtf 2012-07-13T16:02:19 < karlp> ready to fly? 2012-07-13T16:03:03 < BrainDamage> that's a light airplane, not an rc model :/ 2012-07-13T16:08:27 < cjbaird> d: It's amazing to think that so many adults out there have no clue of what a Real Life mental case is like.. (and they think Assange is some kind of People's Hero..) 2012-07-13T16:09:18 <+Steffanx> Why he can't be a hero for some people? 2012-07-13T16:11:59 < dongs> sounds like cjbaird was personally raped by assange 2012-07-13T16:12:06 <+Steffanx> he was 2012-07-13T16:12:09 <+Steffanx> is 2012-07-13T16:12:11 < cjbaird> Close to it.. :/ 2012-07-13T16:12:26 < Thorn> in Sweden? 2012-07-13T16:12:44 <+Steffanx> Aussieland 2012-07-13T16:13:25 <+Steffanx> Funny to hear you (at least you say you do) knew him :) 2012-07-13T16:17:05 < cjbaird> proff@suburbia was a script kiddie "who every sysadmin in Australia hated". Cybercrimelord aspirant, used to tip-off police with bogus kiddyporn accusations to anyone he wanted to get rid of. He got married at 16, was bashing his wife within a year. It just blows my (and a lot of other old-timers' minds..) that the Media is idolizing a guy whose very nasty history is common knowledge.. 2012-07-13T16:20:56 <+Steffanx> Says some random guy on the web :P 2012-07-13T16:21:10 < cjbaird> Assange was APANA member #22.. I was #29. 2012-07-13T16:24:52 -!- dekar [~dekar@212.255.17.252] has joined ##stm32 2012-07-13T16:24:54 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-13T16:26:03 <+Steffanx> Can i see the member list cjbaird ? :P 2012-07-13T16:26:28 < dongs> where'd pelrun disappear to 2012-07-13T16:26:29 < dongs> http://i.imgur.com/ZPZzX.jpg 2012-07-13T16:39:18 -!- cjbaird [~cjb@ppp121-44-79-235.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-13T16:41:04 < Thorn> http://www.ebay.com/itm/High-Sensitivity-Voltage-Sensor-Module-Arduino-Compatible-/270941562338 2012-07-13T16:41:19 <+Steffanx> lol 2012-07-13T16:42:00 < Thorn> lots of quality trolling if you don't mind google translate http://habrahabr.ru/post/146489/ 2012-07-13T16:42:24 < BrainDamage> I hate that some ok-ish electronic sellers converted to arduino philosphy 2012-07-13T16:42:44 < BrainDamage> and raised prices and stopped re-selling anything that isn't stupid modules 2012-07-13T16:56:00 <+Steffanx> I blame you :P 2012-07-13T16:56:14 <+Steffanx> It's an product from italië 2012-07-13T16:56:17 <+Steffanx> *a 2012-07-13T16:56:21 <+Steffanx> *italy 2012-07-13T17:00:34 < Laurenceb> http://pastebin.com/raw.php?i=kLqyLJ6K 2012-07-13T17:00:39 < Laurenceb> can anyone help 2012-07-13T17:00:59 < Laurenceb> thats my transfer code - im getting errors on the last 512byte block of files 2012-07-13T17:01:02 < Laurenceb> cant see why 2012-07-13T17:01:17 < Laurenceb> the last 512 bytes or so is junk 2012-07-13T17:01:22 < Laurenceb> card is fine 2012-07-13T17:02:22 < Laurenceb> st example code works fine 2012-07-13T17:08:42 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Read error: No route to host] 2012-07-13T17:09:24 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-13T17:43:26 -!- tavish [~tavish@120.59.10.172] has joined ##stm32 2012-07-13T17:43:27 -!- tavish [~tavish@120.59.10.172] has quit [Changing host] 2012-07-13T17:43:27 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-13T17:54:47 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-13T17:57:59 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2012-07-13T17:58:01 -!- peabody128 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-13T17:58:03 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2012-07-13T17:58:03 -!- peabody128 is now known as peabody124 2012-07-13T17:58:25 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-13T18:31:47 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-07-13T18:31:47 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-07-13T18:55:30 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-13T18:55:38 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-13T20:03:37 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-13T20:05:18 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-13T20:20:34 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-13T20:26:36 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-13T20:43:04 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Ping timeout: 265 seconds] 2012-07-13T20:43:39 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-13T20:54:37 -!- tech2077 [~tech2077@75.53.138.14] has quit [Ping timeout: 244 seconds] 2012-07-13T21:54:23 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-13T21:55:11 -!- peabody124 [~peabody12@128.249.96.21] has quit [Remote host closed the connection] 2012-07-13T21:55:34 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-13T22:29:30 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-13T22:29:54 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has quit [Remote host closed the connection] 2012-07-13T22:30:03 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-13T22:30:29 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has quit [Remote host closed the connection] 2012-07-13T22:30:38 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-13T22:31:13 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has quit [Remote host closed the connection] 2012-07-13T22:31:21 -!- tech2077 [~tech2077@75.53.138.14] has joined ##stm32 2012-07-13T22:42:02 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 252 seconds] 2012-07-13T22:44:53 -!- tavish [~tavish@120.59.10.172] has joined ##stm32 2012-07-13T22:44:53 -!- tavish [~tavish@120.59.10.172] has quit [Changing host] 2012-07-13T22:44:53 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-13T22:48:15 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-13T22:48:45 < Laurenceb_> lol comments password on raspberry pi is FUCkOkhSHW51 2012-07-13T22:49:45 <+Steffanx> uh? 2012-07-13T22:49:50 <+Steffanx> Your generated password? 2012-07-13T22:50:39 <+Steffanx> For some reason my rpi terribly fails with the newest debian 2012-07-13T22:50:46 <+Steffanx> debian, not that Raspbian 2012-07-13T22:51:20 <+Steffanx> At least my rpi is in my box with unused gadgets now :P 2012-07-13T22:52:02 < Laurenceb_> where it belongs 2012-07-13T22:52:13 < zyp> hmm, wonder where mine is, I think I got shipped one when I were in Japan 2012-07-13T22:52:29 < Laurenceb_> UPS guy came today to drop off some farnell stuff 2012-07-13T22:52:37 < Laurenceb_> had a whole van of raspberry pis 2012-07-13T22:52:58 < zyp> I suspect it was sitting around in the post office for a couple of weeks, then returned 2012-07-13T22:53:00 < Laurenceb_> he was like "wtf is a raspberry pi" 2012-07-13T22:55:33 < tech2077> hmm 2012-07-13T22:55:52 < tech2077> spi is supposed to be easy 2012-07-13T22:56:24 < tech2077> i can't get this thing to work, it has half the registers of the timer and only a handful of configs 2012-07-13T22:56:29 < tech2077> but it still won't work 2012-07-13T23:22:22 -!- Claude [sbnc@h1682708.stratoserver.net] has joined ##stm32 2012-07-13T23:23:21 -!- BusError [~michel@host31-52-118-207.range31-52.btcentralplus.com] has joined ##stm32 2012-07-13T23:23:27 < BusError> sucks :-) 2012-07-13T23:23:30 -!- Claude is now known as claude 2012-07-13T23:24:01 -!- claude is now known as Claude 2012-07-13T23:24:20 < BusError> darn we need to pull on more friends :-) 2012-07-13T23:25:08 < Claude> hehe :) 2012-07-13T23:27:57 < tech2077> why won't this work! 2012-07-13T23:30:49 < tech2077> now it's just spiting me :( 2012-07-13T23:31:18 < tech2077> i go into gdb and set just the clock divider bits, and it decides to output a constant clock signal 2012-07-13T23:32:48 -!- izua [~izua@188.26.166.145] has joined ##stm32 2012-07-13T23:32:48 -!- izua [~izua@188.26.166.145] has quit [Changing host] 2012-07-13T23:32:48 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-13T23:32:51 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-13T23:33:23 < tech2077> i think i'm going to punch something 2012-07-13T23:33:37 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 255 seconds] 2012-07-13T23:41:06 -!- Claude is now known as claude 2012-07-13T23:48:57 < tech2077> i think i need more sleep of recent, i've been doing stupid mistakes 2012-07-13T23:49:30 < tech2077> this time, i forgot to set my oscilloscope to single trigger, since it decides sometimes not to work on auto and normal triggering --- Day changed Sat Jul 14 2012 2012-07-14T00:30:07 <+Steffanx> hehe tech2077 2012-07-14T00:31:05 < tech2077> and now it's not working again 2012-07-14T00:31:49 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-14T00:34:07 < BusError> Hey Steffanx ;-) 2012-07-14T00:34:13 <+Steffanx> Hi hi 2012-07-14T00:34:58 < BusError> got a stm32f4, all claude's fault too ;-) 2012-07-14T00:35:15 <+Steffanx> Claude .. 2012-07-14T00:36:07 < BusError> from df3120 'fame' :-) https://sites.google.com/site/repurposelinux/df3120 2012-07-14T00:45:42 <+Steffanx> oh, ok 2012-07-14T00:54:52 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-14T00:56:12 < tech2077> why is this not working, there's not reason for it not to work 2012-07-14T00:58:28 <+Steffanx> It's likes to screw with you 2012-07-14T01:03:56 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2012-07-14T01:04:00 < tech2077> it seriously is 2012-07-14T01:04:18 < tech2077> i'm doing the exact same thing as earlier, but getting something completely different 2012-07-14T01:05:21 <+izua> it has a special peripheral 2012-07-14T01:05:37 < tech2077> ? 2012-07-14T01:05:41 <+izua> that every 1/x clocks, where x is chosen randomly, it inverts the state of the IO pins 2012-07-14T01:05:47 < tech2077> heh 2012-07-14T01:06:21 < tech2077> worse 2012-07-14T01:06:45 < tech2077> every x resets, x choosen randomly, SPI outputs a clock signal 2012-07-14T01:07:29 < tech2077> well, clocks working again 2012-07-14T01:07:37 < tech2077> my time to actually make something work 2012-07-14T01:09:14 < tech2077> Now it fucking works 2012-07-14T01:09:46 < tech2077> the moment i reset, this WILL stop working 2012-07-14T01:10:09 < tech2077> oh, even better 2012-07-14T01:10:13 < tech2077> everything stopped working 2012-07-14T01:15:09 -!- dekar [~dekar@212.255.17.252] has quit [Quit: Leaving] 2012-07-14T01:15:19 < tech2077> i guessed correctly 2012-07-14T01:17:04 < tech2077> hmm 2012-07-14T01:17:15 < tech2077> needs an initialization delay to work consistanly 2012-07-14T01:17:31 < tech2077> excuse me while I hit my head repeatedly on a wall 2012-07-14T01:23:28 -!- lawrenceseattle [~anonymous@66.192.187.106] has joined ##stm32 2012-07-14T01:23:41 -!- izua [~izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-14T01:24:55 < BusError> tech2077, check your power rail. thqt sort of behaviour is usualy the power rail not being stable at reset time 2012-07-14T01:26:41 < tech2077> slight power drops at moments, but not unstable 2012-07-14T01:27:45 < BusError> do you have a peripheral that suck power at reset time? 2012-07-14T01:27:50 < tech2077> it works extremely consistently after adding two "nop"s after the initialization 2012-07-14T01:28:09 < tech2077> BusError, running pwn on 4 channels, PLL to 168Mhz, and the SPI 2012-07-14T01:28:22 < tech2077> so yes? 2012-07-14T01:28:32 < BusError> but, what else is on the power rail? 2012-07-14T01:29:12 < tech2077> it's the STM32F4 Discovery board, so a accel and a DAC 2012-07-14T01:29:21 < tech2077> and the STLink 2012-07-14T01:31:53 < BusError> powered via usb? 2012-07-14T01:31:58 < tech2077> yes 2012-07-14T01:32:01 < tech2077> off a laptop 2012-07-14T01:32:17 < BusError> try to use a cable with a ferrite 2012-07-14T01:32:32 < tech2077> i don't think i have any 2012-07-14T01:33:04 < BusError> try another cable then... if you have one that is shorter/fatter possibly 2012-07-14T01:33:23 < BusError> it's likely your power is not stable at startup 2012-07-14T01:34:44 < tech2077> that actually fixed it 2012-07-14T01:35:06 < tech2077> i guess i need a better long cable 2012-07-14T01:35:46 < BusError> pick one with ferrite, they are usually superior 2012-07-14T01:36:24 < tech2077> The ones with the bulge in them? 2012-07-14T01:36:29 < BusError> cable acts as an antenna.. especially on a laptop 2012-07-14T01:36:30 < BusError> yep 2012-07-14T01:38:00 < tech2077> yeah 2012-07-14T01:38:18 < tech2077> theres at least 4-5 wi-fi or radio devices in my room right now :P 2012-07-14T01:38:52 < tech2077> well, time to implement i2c 2012-07-14T01:39:43 < tech2077> just need the basic peripherals to make a simple vex cortex library 2012-07-14T01:40:15 -!- peabody128 [~peabody12@128.249.96.123] has joined ##stm32 2012-07-14T01:43:32 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 252 seconds] 2012-07-14T01:44:38 -!- peabody128 [~peabody12@128.249.96.123] has quit [Ping timeout: 250 seconds] 2012-07-14T01:51:21 -!- dekar [~dekar@212.255.17.252] has joined ##stm32 2012-07-14T01:51:24 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-14T01:55:20 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-14T02:11:00 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-14T02:11:28 < BusError> using st-util, if I flash mu blinker, nothing happend... if I launch st-util and gdb, it starts blinking... if I reset, it doesn't do anything either... 2012-07-14T02:16:36 < tech2077> mu blinker? 2012-07-14T02:19:18 < BusError> no trying my owm. must be something different really 2012-07-14T02:41:22 < dongs> sup dongs 2012-07-14T02:47:20 < tech2077> yo 2012-07-14T02:59:10 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-14T02:59:10 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Disconnected by services] 2012-07-14T03:05:52 -!- BrainDamage1 [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-14T03:06:07 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-14T04:10:48 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-14T04:18:40 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-14T04:27:19 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-14T04:30:56 < dongs> are there any 32bit timers on F103C8/B? 2012-07-14T04:31:15 < dongs> hmm nope 2012-07-14T04:31:18 < dongs> arggh 2012-07-14T04:37:33 -!- tech2077 [~tech2077@75.53.138.14] has quit [Ping timeout: 244 seconds] 2012-07-14T04:42:27 < dongs> still trying to figure out what hte FUCK is going on wiht my systick-based delay shit 2012-07-14T05:00:00 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-14T05:01:59 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-14T05:04:25 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Client Quit] 2012-07-14T05:12:45 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-14T05:18:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-14T05:19:45 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-14T05:19:51 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-14T05:24:58 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-14T05:30:05 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-14T05:33:50 < cjbaird> "Oh no! It's Monetized Blog Man!" "HALT! Tell me what's new and interesting so I can make money off of it!" 2012-07-14T05:35:42 < dongs> haha what 2012-07-14T05:41:32 < cjbaird> Hackaday... writing a post about someone cutting acrylic panels for his Raspberry Pi... Talk about lowest fucking common denominator.. 2012-07-14T05:41:52 < dongs> haha 2012-07-14T05:43:40 < cjbaird> At least used my bare hands while humming the tune from 'Karateka'.. 2012-07-14T05:50:04 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-14T05:52:39 < dongs> If you’ve ever had to organize a bunch of resistors, you’ll know why [Anthony] created EESpeak. It’s a voice-controlled component look up tool that calculates a component value by listening to you read out color code bands. 2012-07-14T05:52:44 < dongs> yeah............ 2012-07-14T05:52:48 < dongs> would be useful in 1986. 2012-07-14T05:53:52 < cjbaird> "My memory is that bad, I can't remember ten things after reading them out aloud for an hour." 2012-07-14T05:54:55 < dongs> http://hackadaycom.files.wordpress.com/2012/07/rpi.jpg 2012-07-14T05:54:56 < dongs> .... 2012-07-14T05:55:39 < dongs> http://tech2077.blogspot.jp/2012/07/adding-ftdi-chip-to-raspberry-pi.html 2012-07-14T05:55:40 < dongs> lfao 2012-07-14T05:55:45 < dongs> wait 2012-07-14T05:55:48 < dongs> thats the guy from here 2012-07-14T05:55:53 < dongs> 08:47 < tech2077> yo 2012-07-14T05:56:05 < dongs> http://1.bp.blogspot.com/-rT7NcihdRWE/T_TCwh3E7ZI/AAAAAAAAAgY/8L4JkO4Q66A/s1600/IMG_0067.JPG 2012-07-14T05:56:06 < upgrdman> what the best way to prepare the end of some magnet wire for soldering? razor blade? 2012-07-14T05:56:11 < dongs> aahAHahHAHhaHAHAhahAHAHAHAHAHUAhuehuaeUAHuahEAHUHAuheahueuh 2012-07-14T05:56:24 < dongs> upgrdman: just run it through a ball of solder 2012-07-14T05:56:39 < dongs> like, push end next to some solder, melt it, let it sit "inside" the ball for a second or two. 2012-07-14T05:56:43 < dongs> burns insulation right off. 2012-07-14T05:57:36 < upgrdman> really? ok 2012-07-14T06:02:41 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-14T06:09:48 < dongs> works for me I use thin magnet wire to do some signal tapping through vias 2012-07-14T06:10:07 < dongs> like 0.2mm wire, burn off few mm of insulation from the end, stick it into via, solder 2012-07-14T06:12:48 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-14T06:12:48 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-07-14T06:13:10 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-14T06:15:23 < zippe> Depends a lot on the wire. 2012-07-14T06:15:33 < zippe> Some is designed for soldering, and it will come right off 2012-07-14T06:15:50 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-14T06:15:51 < zippe> High-temperature varnish designed for e.g. motor windings, not so much. 2012-07-14T06:16:09 < zippe> I usually use 1000 grit wet and dry sandpaper 2012-07-14T06:17:09 -!- zippe [~Adium@173.11.99.161] has quit [Remote host closed the connection] 2012-07-14T06:17:20 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-14T06:30:53 < dongs> i should make something retarded and submit it to hackaday 2012-07-14T06:30:59 < dongs> after filling the page wiht google ads. 2012-07-14T06:34:04 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Ping timeout: 255 seconds] 2012-07-14T06:35:50 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-14T06:51:31 < cjbaird> I was thinking more of putting my stuff on FTP, and having the server enforce a one connection per IP limit. Posting to Usenet would ruin their interwebs more.. 2012-07-14T06:52:40 < cjbaird> "Only available via DCC on irc..." 2012-07-14T06:53:48 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-14T06:59:05 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-14T07:06:21 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-14T07:46:20 < zippe> cjbaird: shades of FSP 2012-07-14T08:07:19 < cjbaird> "ftp over UDP", I remember that. :) 2012-07-14T08:09:27 < cjbaird> And then there's making people join the UUCP sekret club.. 2012-07-14T08:15:50 <+dekar> cjbaird, did you find out why TNT wouldn't work with the openstm32 lib? 2012-07-14T08:16:37 < feurig> upgrdman: use a lighter. 2012-07-14T08:16:58 < feurig> though I am going to try dons solder blob method now. 2012-07-14T08:21:21 < cjbaird> dekar: No. I've been stuck on trying to get other toolchains to work for the past week. 2012-07-14T08:43:15 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-14T08:48:44 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Ping timeout: 248 seconds] 2012-07-14T08:53:29 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-14T09:51:58 < tech2077> hmm 2012-07-14T09:52:02 < tech2077> i'm getting this: 2012-07-14T09:52:04 < tech2077> undefined reference to `__aeabi_idiv' 2012-07-14T09:54:47 < zippe> You're compiling with -nostdlib, yes? 2012-07-14T09:54:51 < tech2077> yep 2012-07-14T09:55:09 < zippe> Congratulations, don't do that. 2012-07-14T09:55:14 < tech2077> heh 2012-07-14T09:55:25 < zippe> Or alternatively, don't do division. 2012-07-14T09:57:04 < zippe> though TBH, you should have just googled that 2012-07-14T09:57:20 < tech2077> i did, it said that 2012-07-14T09:57:32 < tech2077> i was wondering alternatives :) 2012-07-14T09:58:00 < zippe> You can try linking libgcc.a yourself 2012-07-14T09:58:16 < zippe> i.e. ask gcc where it is and then pass that on the commandline explicitly 2012-07-14T09:58:28 < zippe> But be warned, it has a bunch of really annoying external dependencies 2012-07-14T09:58:33 < tech2077> ah 2012-07-14T09:58:39 < tech2077> i guess i won't do division 2012-07-14T09:58:55 < zippe> You can write your own 2012-07-14T09:59:08 < zippe> Every embedded programmer ought to know how to do division 2012-07-14T09:59:27 < tech2077> i guess it'll be good use of my whiteboard for 10 minutes or so 2012-07-14T10:00:18 < zippe> Are you dividing by a constant? 2012-07-14T10:00:31 < zippe> Or are you doing baudrate calculations? 2012-07-14T10:00:47 < tech2077> i2c clock calculations 2012-07-14T10:01:38 < zippe> Use a table. 8) 2012-07-14T10:01:49 < zippe> Since you really only care about two rates 2012-07-14T10:02:04 < zippe> Three if you're super-eager 2012-07-14T10:02:08 < tech2077> heh 2012-07-14T10:02:52 < tech2077> that still has the code assuming you pass it the right pclk 2012-07-14T10:03:14 < tech2077> but i guess it's better than leaving magic numbers in my code and changeing when needed 2012-07-14T10:04:46 < tech2077> doing stuff the hard way is hard :) 2012-07-14T10:05:03 < tech2077> implementing pwm and spi from scratch was pretty easy 2012-07-14T10:05:10 < tech2077> i2c is not as easy 2012-07-14T10:07:50 < tech2077> and as far as i've seen, no ones put up any code of doing it the hard way (not using STMs libraries) 2012-07-14T10:11:51 -!- tavish [~tavish@120.59.6.162] has joined ##stm32 2012-07-14T10:11:52 -!- tavish [~tavish@120.59.6.162] has quit [Changing host] 2012-07-14T10:11:52 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-14T10:15:56 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Read error: Connection reset by peer] 2012-07-14T10:16:13 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-14T10:21:56 -!- claude is now known as Claude 2012-07-14T10:26:46 < zippe> Huh? libopencm3 has I2C code, IIRC 2012-07-14T10:26:50 < zippe> NuttX certainly does 2012-07-14T10:27:09 < zippe> I've written an I2C slave driver for the F100 2012-07-14T10:27:14 < zippe> It was a nuisance, but nothing special 2012-07-14T10:29:06 < tech2077> hmm 2012-07-14T10:30:15 < tech2077> ah, hadn't looked at libopencm3 2012-07-14T10:33:11 < tech2077> and their code seems to do no error checking 2012-07-14T10:33:24 < tech2077> but is nice because of how simple it is 2012-07-14T10:34:58 < dongs> zippe: , software slave? 2012-07-14T10:36:05 < tech2077> i've seem a lot of people actually do bit banging instead of using the hardware 2012-07-14T10:36:47 < dongs> well, I got i2c working on F1 and f4 2012-07-14T10:36:51 < dongs> hardware 2012-07-14T10:37:01 < dongs> then I wrote software impl for F1 to test something 2012-07-14T10:37:08 < dongs> .. it works as well. actually worked from first try. 2012-07-14T10:37:48 < tech2077> do you have the code for the F4 2012-07-14T10:38:00 < tech2077> i'm interested in what i'm doing wrong 2012-07-14T10:38:12 < dongs> yes. zyp does too. i just used his since it worked. 2012-07-14T10:38:20 < dongs> lemme find some shit to paste 2012-07-14T10:38:56 < dongs> http://bcas.tv/paste/results/y9qacF81.html 2012-07-14T10:40:41 < zippe> dongs: yeah, for our F1 board we were going to talk to it via I2C 2012-07-14T10:40:57 < zippe> dongs: so I built a slave running off the I2C interrupt at max priority 2012-07-14T10:41:24 < dongs> right, but you used i2c hardware 2012-07-14T10:41:32 < zippe> Yes, obviously 2012-07-14T10:41:43 < dongs> too bad. 2012-07-14T10:41:52 < zippe> Having done bitbang slaves elsewhere before, I wasn't about to do one again 2012-07-14T10:42:12 < dongs> to support some really stupid shit, I must be able to listen on any address 2012-07-14T10:42:24 < dongs> actually i tihnk it would be out of spec 2012-07-14T10:42:27 < dongs> because the data is like 2012-07-14T10:42:36 < tech2077> and now the confusion sets in, it seems i'm doing everything right 2012-07-14T10:42:37 < dongs> start addr1 data start adr2 data blah ... stop 2012-07-14T10:42:53 < dongs> tech2077: are you clocking out the bus before you start debugging to unstick any slaves 2012-07-14T10:43:29 < tech2077> right now i have the outputs hooked up to an oscilloscope looking for a start condition, but no 2012-07-14T10:43:36 < dongs> right 2012-07-14T10:43:47 < dongs> are both sda and scl high when you start? 2012-07-14T10:43:51 < tech2077> no 2012-07-14T10:43:55 < dongs> thats your problem 2012-07-14T10:43:57 < tech2077> which is strange... 2012-07-14T10:44:06 < tech2077> i have them set with pullups even 2012-07-14T10:44:07 < dongs> some slave is thikning it s being addresses 2012-07-14T10:44:16 < dongs> from your previous fail attempts 2012-07-14T10:44:36 < tech2077> but there is no slave 2012-07-14T10:44:44 < dongs> ? what are you addressing then 2012-07-14T10:45:03 < tech2077> nothing, i'm just trying to see a change in the pin state, not for a full transfer 2012-07-14T10:47:21 < tech2077> am i correct that i should at least see a start condition? 2012-07-14T10:47:28 < dongs> i gues so 2012-07-14T10:47:36 < dongs> did you actually.. power up the peripheral and gpio? 2012-07-14T10:48:36 < tech2077> let me paste the code 2012-07-14T10:48:46 < dongs> bcas.tv/paste 2012-07-14T10:48:53 < dongs> before yu paste it on some spam site that i wont click 2012-07-14T10:49:48 < dongs> http://work.ripz.info/ looks like some guys warez dump 2012-07-14T10:51:09 < tech2077> http://pastebin.com/PYyXLDqv 2012-07-14T10:51:14 < tech2077> oh 2012-07-14T10:51:20 < dongs> yep, that spam site. 2012-07-14T10:51:23 < tech2077> ... 2012-07-14T10:51:36 < tech2077> spam site... 2012-07-14T10:52:09 < tech2077> http://bcas.tv/paste/results/wANlkC68.html 2012-07-14T10:52:22 < dongs> .. christ. more raw register wank 2012-07-14T10:52:29 < tech2077> yes :) 2012-07-14T10:53:42 < tech2077> as far as i can tell, the bugs in there somewhere 2012-07-14T10:54:03 < tech2077> something I forgot or something extra i put 2012-07-14T11:02:07 < cjbaird> People were dissing me for being a FORTH weenie, but at least the code is more readable than that. :P :) 2012-07-14T11:05:04 < tech2077> yeah, it hasn't been treated to any beautification 2012-07-14T11:06:49 < dongs> http://i.imgur.com/CoR2I.png this is from some sensor that outputs data by pulse width. start byte is 0x7E. the protocol is: "The value of hexadecimal code for each byte multiplied by 8 (error tolerance of 4us) and plus 5000, with unit of us, is transformed into rectangular wave of corresponding period.". 2012-07-14T11:07:48 < dongs> so how the fuck is 2.520ms = start byte? 2012-07-14T11:08:10 < dongs> (0x7e*8)+5000 = 6008. 2012-07-14T11:08:18 < dongs> there's no pulses wiht that width in that entire capture. 2012-07-14T11:08:47 < tech2077> nice scope 2012-07-14T11:12:01 < tech2077> wait, 2.520 isn't even possible 2012-07-14T11:12:37 < dongs> Z is 10ms. 2012-07-14T11:12:43 < dongs> 1st cap is 2.520 2012-07-14T11:12:45 < dongs> http://i.imgur.com/N9uxF.png 2012-07-14T11:15:35 < tech2077> whats the second image 2012-07-14T11:15:49 < dongs> same thing wiht timing 2012-07-14T11:16:07 < dongs> but kinda useless, its edge to edge timing 2012-07-14T11:16:13 < dongs> the smaller area is 850.7us 2012-07-14T11:17:08 < tech2077> shouldn't the smalled pulse be 5ms, and thats for a zero byte 2012-07-14T11:17:17 < tech2077> what sensor is it 2012-07-14T11:17:54 < dongs> http://www.frsky-rc.com/uploadfile/201112/20111206233144580.pdf 2012-07-14T11:19:30 < tech2077> ah 2012-07-14T11:20:18 < dongs> first narrow pulse is 408us, then 1.95ms, then 850.6us narrow pulse (that one repeats a few times) and 5.158ms etc for larger pulses. 2012-07-14T11:20:21 < dongs> hm wait 2012-07-14T11:20:36 < dongs> 5158+850 = 6008 2012-07-14T11:21:25 < dongs> so they just dont mention about first fail pulse 2012-07-14T11:21:32 < dongs> must be a sync one or something 2012-07-14T11:22:55 < dongs> yes, next data is 5008 which is '1' ecll 2012-07-14T11:23:09 < dongs> sinec ih ave it running off a power supply 2012-07-14T11:23:10 < dongs> cool 2012-07-14T11:23:30 < tech2077> nice 2012-07-14T11:25:47 < dongs> so ill setup a timer in slave mode wiht autoreload 2012-07-14T11:35:55 < tech2077> this is bugging me, my code should work 2012-07-14T11:36:40 < tech2077> my clock settings are correct, my gpio settings should work, and my i2c settings are the same it seems as other examples that work 2012-07-14T11:37:43 < tech2077> and also, libopencm3 seems to have an error where it says that the highest setting for the slow peripheral clock is 36Mhz, while datasheet says 42Mhz 2012-07-14T11:41:24 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 248 seconds] 2012-07-14T11:42:04 < dongs> yes but you cant get that reasonably 2012-07-14T11:42:08 < dongs> you'd have eto overclock hclk 2012-07-14T11:42:19 < dongs> since you cant have fractional dividers? 2012-07-14T11:42:34 < dongs> you can only /2 hclk to get clock for apb1 2012-07-14T11:42:41 < dongs> how r u gonna get 42mhz 2012-07-14T11:43:45 < tech2077> but the max system clock is 168 2012-07-14T11:43:53 < tech2077> easily obtainable through the pll 2012-07-14T11:44:00 < dongs> oh, F4 2012-07-14T11:44:03 < tech2077> yes 2012-07-14T11:44:08 < dongs> shrugs 2012-07-14T11:44:12 < dongs> probably carried over from f1 then 2012-07-14T11:44:17 < tech2077> ah 2012-07-14T11:44:46 < tech2077> i'm slightly upset i'm right, i was hoping this was a possible problem 2012-07-14T11:47:08 < tech2077> i'm stumped, i may give up on i2c and move on to another peripheral 2012-07-14T11:51:11 -!- tavish [~tavish@120.59.134.0] has joined ##stm32 2012-07-14T11:51:12 -!- tavish [~tavish@120.59.134.0] has quit [Changing host] 2012-07-14T11:51:12 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-14T11:53:16 < dongs> working. 2012-07-14T11:53:17 < dongs> nice 2012-07-14T11:53:50 < tech2077> working nice? 2012-07-14T11:53:55 < dongs> my capture stuff 2012-07-14T11:54:00 < tech2077> nice 2012-07-14T11:54:17 < dongs> now just need to write the shit to grab the data, but i can see the cc interrupt picking up correct pulse widths 2012-07-14T11:57:37 < tech2077> now my boards just fucking with me 2012-07-14T11:57:53 < tech2077> i write to the start bit, read back CR1, and the Stop bit is set 2012-07-14T11:58:26 < dongs> http://i.imgur.com/FTzMz.jpg wow they did a good job 2012-07-14T11:59:44 < tech2077> and that was me trying to develop at 4am 2012-07-14T12:01:55 < tech2077> i think i'll sleep this one over 2012-07-14T12:02:04 < tech2077> hopefully somehow i'll fix this 2012-07-14T12:16:54 < dongs> http://i.imgur.com/TvyeA.png 2012-07-14T12:16:54 < dongs> works! 2012-07-14T12:18:47 < tech2077> impressive 2012-07-14T12:25:19 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-14T12:25:22 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-14T12:26:56 <+Steffanx> nu 2012-07-14T13:03:11 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-14T13:36:17 < dongs> haha Could you post your patched files insted of the patch itself? I know it's not standard practise but it makes it a whole lot easier to see what you have done and evaluate it. 2012-07-14T13:36:28 < dongs> yeah, looking through10 files for changes is so much easier than reading a patch! 2012-07-14T13:36:31 < dongs> waht hte fuck is up with this idiot? 2012-07-14T13:39:43 <+Steffanx> A professional troll 2012-07-14T13:40:40 < dongs> no seriously 2012-07-14T13:40:46 < Tectu> morning 2012-07-14T13:40:53 < Tectu> who's a professional troll? 2012-07-14T13:41:02 < dongs> that guy who cant read patch files. 2012-07-14T14:11:06 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-14T14:43:13 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-14T14:47:19 < karlp> I will admit that I can't reat patch files when they are patches of patches, and would prefer the actual patch file 2012-07-14T14:47:28 < karlp> but that's a stupid situation anyway 2012-07-14T14:49:10 <+Steffanx> I can reat them, but probably won't understand what they exactly changed :) 2012-07-14T14:49:34 <+Steffanx> People do that karlp ? Patches for patches? 2012-07-14T15:08:46 -!- dekar [~dekar@212.255.17.252] has quit [Quit: Leaving] 2012-07-14T15:15:01 < karlp> yeah, projects like openwrt, htat use say, the linux vanilla kernel, then have a bunch of patches to add all the different router platforms that openwrt supports, but that haven't gone upstream yet, 2012-07-14T15:15:07 < karlp> and then you want to make a change to the board support 2012-07-14T15:15:11 < karlp> you end up with patches of patches 2012-07-14T15:15:18 < karlp> it's.... complicated 2012-07-14T15:15:42 < karlp> but allegedly it helps get them upstreamed eventually, as you just have one set of 10-15 patch files that upstream can review 2012-07-14T15:16:39 <+Steffanx> Man, that's awful :P 2012-07-14T15:18:20 < karlp> well, the alternative is that openwrt forks the kernel itself, 2012-07-14T15:18:54 < karlp> but then you have to deal with diverging changes in the kernel, where owrt would be on 3.3.8, but upstream is at 3.3.XXX and the kernel changes are mixed in with the owrt board changes 2012-07-14T15:19:06 < karlp> I see why they do it, but it's confusing for non-l33t hackz0rs 2012-07-14T15:19:14 < karlp> serious barrier to entry for neew players 2012-07-14T15:19:39 < karlp> dong's still right though, if you can't deal with a plan patch, it's time to learn 2012-07-14T15:19:47 <+Steffanx> Yeah, definitely 2012-07-14T15:50:52 < dongs> commence chats 2012-07-14T15:51:26 <+Steffanx> Blablablabla blabla blabla bla 2012-07-14T15:59:20 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-14T16:01:42 < dongs> cool everything is working perfectly: http://i.imgur.com/ZCqgN.png 2012-07-14T16:02:52 <+Steffanx> 'everything' = what, dongs ? 2012-07-14T16:03:16 < dongs> reading data from this weird pulse-width-encoding sensor 2012-07-14T16:03:37 < dongs> it outputs that voltage data as series of pwm with different period 2012-07-14T16:04:04 < Thorn> sounds like old soviet space probes 2012-07-14T16:05:26 <+Steffanx> Who knows 2012-07-14T16:05:29 <+Steffanx> What kind of sensor dongs ? 2012-07-14T16:05:41 <+Steffanx> Secret soviet space probes? 2012-07-14T16:05:51 <+Steffanx> or crazy jap tech? 2012-07-14T16:06:06 < dongs> nah just chinese shit 2012-07-14T16:06:35 < dongs> http://www.glyby.com/images/l/201206/sku_12750_1.jpg 2012-07-14T16:06:49 <+Steffanx> oh, that one 2012-07-14T16:10:59 <+Steffanx> is that a graphical lcd dongs ? 2012-07-14T16:12:11 < dongs> yes 2012-07-14T16:12:18 < dongs> ~$5 chinese oled 2012-07-14T16:12:23 < dongs> spi/8080/i2c controllable 2012-07-14T16:12:26 < dongs> 128x64 2012-07-14T16:12:35 < dongs> they have white/yellow+blue/blue versions 2012-07-14T16:17:24 < dongs> twittering dongs 2012-07-14T16:23:02 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-14T16:57:38 < dongs> blog 2012-07-14T16:58:48 < BusError> anyone has a version if setjmp/longjmp that saves the FPU state? 2012-07-14T17:00:24 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-14T17:02:31 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Client Quit] 2012-07-14T17:32:15 < Claude> BusError, linux glibc ? 2012-07-14T17:32:49 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Remote host closed the connection] 2012-07-14T17:33:03 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-14T17:34:35 < Claude> hrmm is this even part of the libc? or does libc rely on a platfrom supplied setjmp longjmp implementation..??? 2012-07-14T17:36:59 < Claude> ah at least newlib brings it's own implementation in /libc/machine/arm/XXXjmp.S 2012-07-14T17:37:33 < dongs> why would you use those hacker functions 2012-07-14T17:38:28 < Claude> dunno , ask BusError the darn hacker ;) 2012-07-14T17:53:45 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 265 seconds] 2012-07-14T17:55:15 -!- tavish [~tavish@120.59.0.190] has joined ##stm32 2012-07-14T17:55:15 -!- tavish [~tavish@120.59.0.190] has quit [Changing host] 2012-07-14T17:55:15 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-14T18:19:43 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Ping timeout: 245 seconds] 2012-07-14T18:31:10 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-14T18:32:15 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-14T18:41:14 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Read error: No route to host] 2012-07-14T19:02:25 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-14T19:22:48 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-14T19:47:00 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-14T20:08:47 < BusError> Claude, yeah they are in the libc, but they don't save the FPU state, so it's a bit dangerous. was wondering if someone made one and I shall have to 2012-07-14T20:13:55 < Claude> BusError, allready using the fpu in your project? just realized this morning my compiler allready emmits fpu code , just me wasn't aware of that ;) vmul vs fmul ... the later one was the one i was looking for .. duh! 2012-07-14T20:14:18 < BusError> did you activate the FPU ? 2012-07-14T20:14:53 < BusError> I posted you the snipet yesterday. dunno if it's mandatory, but the ARM document says so... 2012-07-14T20:14:59 < Claude> yep , some asm in the startup code 2012-07-14T20:15:47 < BusError> well I'm trying to port my cooperative thread mini-lib... it shoudk work, but doesn't... also st-util and gdb don't seem to work very week at all, even with -O0 2012-07-14T20:15:50 < BusError> well 2012-07-14T20:15:51 < Claude> also the F4 hardfault's when i left the adm out 2012-07-14T20:16:00 < Claude> asm 2012-07-14T20:16:57 < Claude> hmm i'm still on windoze here , can't really say something about st-util 2012-07-14T20:18:10 <+Steffanx> Get the blackmagic probe firmware on your discovery BusError :P 2012-07-14T20:18:24 < BusError> Steffanx, whats that ? 2012-07-14T20:18:31 <+Steffanx> https://github.com/gsmcmullin/blackmagic 2012-07-14T20:18:41 <+Steffanx> http://www.blacksphere.co.nz/main/blackmagic 2012-07-14T20:18:46 <+Steffanx> something that actually works 2012-07-14T20:19:01 <+Steffanx> but you need another programmer for that :P 2012-07-14T20:19:06 <+Steffanx> or hack the bootloader 2012-07-14T20:19:45 < BusError> I setjmp, change the stack, call my function that longjmp back... that works fine on x86 etc.. here in thumb I seem to freeze. debugger is not helpful 2012-07-14T20:21:15 < Claude> the blackmagic probe looks great! 2012-07-14T20:21:57 < zyp> it is great 2012-07-14T20:22:11 <+Steffanx> And mr gsmcmullin is also lurking around here :P 2012-07-14T20:22:46 < Claude> cool , usb-acm and gdb directly talks to the debugger then :) /me sets bookmark 2012-07-14T20:23:15 <+Steffanx> Yes yes 2012-07-14T20:23:17 <+Steffanx> Very nice 2012-07-14T20:23:27 < BusError> from what I understood, the lack of good debugging is due to the compiler really, gdb just sucks, even when you are on -O0 in general. trying it on embedded is just worse 2012-07-14T20:23:48 < zyp> lack of good debugging? 2012-07-14T20:23:49 < zyp> how so? 2012-07-14T20:24:10 * Claude sneakishly moves atollics gdb-server.exe to the trashbin 2012-07-14T20:26:28 < BusError> does openocd works reasonably well on stm32? 2012-07-14T20:26:52 < zyp> depends on how reasonable you want it 2012-07-14T20:27:30 < zyp> I guess the answer is «it's supposed to, YMMV» 2012-07-14T20:28:35 < BrainDamage> it didn't seem to me as straightforward as stlink 2012-07-14T20:28:46 < BrainDamage> with stlink I launch the program and I'm done 2012-07-14T20:29:01 < zyp> agreed 2012-07-14T20:29:42 < BusError> well openocd is quite involved, and not documented, last time I checked. Or actualu it's worse, it's documenting an openocd from years back, that is totally different :-) 2012-07-14T20:38:59 < zippe> The big issue with openocd right now is that their debug server stinks 2012-07-14T20:39:10 < zippe> So you can't use it with any modern gdb 2012-07-14T20:43:31 < BusError> Claude, did you have to unhook the D0/D1 LED resistors to get your FSMC running ? 2012-07-14T20:44:53 < Claude> nope seems to work with the leds still attached to the fsmc pins , the usb-otg overcurrent led+ic is also connected to a fsmc pin. but the usb ic seems to be open-drain 2012-07-14T20:45:47 < BusError> tried your code... without anything hook, just truing to blink the 2 LED when touching bits 0,1 of 0x60000000... no luck so far 2012-07-14T20:45:49 < Claude> on the downside , the audio codec reset line is also connected to the fsmc 2012-07-14T20:46:55 < Claude> hmm tried to check with a scope? the fsmc is faaaaaast ;) 2012-07-14T20:47:56 < BusError> I have a delay 2012-07-14T20:49:00 < BusError> well I'll play some more later 2012-07-14T20:49:00 < Claude> yeah but a single fsmc access last only for hclk*5 with my init ... 2012-07-14T20:49:15 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-14T20:49:38 < Claude> you can rise the datahold time to '32' or so 2012-07-14T20:52:23 < BusError> Claude, but, the D0-D7 pins stays at the last state don't they ? they latch ? 2012-07-14T20:53:08 < Claude> hmm really don't now , but i don't think so . otherwise this would lead to a BusError (heheh) in a real system/hw 2012-07-14T20:54:51 < BusError> hmm how ? if you don't do a read cycle, it shouldn't set these pins as input... and once CS and WR, RD and CLK are down, there's no reason for the pins to change state... 2012-07-14T20:55:06 < BusError> well I'll later check with the scope to see if it blinks 2012-07-14T20:57:21 < Claude> good point , but i really don't know in which state the pins are left when the access finished. so far i looked at the signals always in context with CS,RD,RW 2012-07-14T21:15:52 -!- peabody124 [~peabody12@128.42.85.183] has joined ##stm32 2012-07-14T21:21:34 -!- Claude is now known as claude 2012-07-14T21:28:28 < karlp> oh shush steffan, stlink _works_, just bmp works even better 2012-07-14T21:29:31 <+Steffanx> You only say that because you are a "maintainer" of stlink-texane karlp :P 2012-07-14T21:34:33 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-14T21:45:46 < karlp> well, a little bit :) 2012-07-14T21:45:54 < karlp> it was never by choice :) 2012-07-14T21:46:07 < karlp> I would be quite happy for openocd to get moah awesome an djsut work 2012-07-14T21:46:38 < karlp> stlink still works for my own needs though, far better than "install windows" or "buy crossworks" which was the original solution for linux users 2012-07-14T21:47:27 < karlp> so yeah, BMP is one of the many better options, but stlink still works. 2012-07-14T22:12:46 -!- peabody124 [~peabody12@128.42.85.183] has quit [Quit: peabody124] 2012-07-14T22:15:57 -!- peabody124 [~peabody12@128.42.85.183] has joined ##stm32 2012-07-14T22:18:57 -!- peabody124 [~peabody12@128.42.85.183] has quit [Client Quit] 2012-07-14T22:20:41 -!- peabody124 [~peabody12@128.42.85.183] has joined ##stm32 2012-07-14T22:32:21 < jpa-> stlink works fine 2012-07-14T22:33:02 -!- izua [~izua@79.115.170.102] has joined ##stm32 2012-07-14T22:33:03 -!- izua [~izua@79.115.170.102] has quit [Changing host] 2012-07-14T22:33:03 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-14T22:33:06 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-14T22:41:35 < karlp> see! 2012-07-14T22:42:00 <+Steffanx> Hmmm, don't listen to pett 2012-07-14T22:45:02 < jpa-> it's the arm gdb that i have most trouble with.. i doubt that would be helped by bmp or anything 2012-07-14T22:45:33 < jpa-> it's a bit unreasonable to try to run embedded code without optimization, and gdb source-level debugging is totally messed up at -O2 2012-07-14T22:46:00 <+Steffanx> True 2012-07-14T22:46:47 < jpa-> but real men say 'ni' anyway 2012-07-14T22:47:04 <+Steffanx> 'ni' .. 2012-07-14T22:47:12 <+izua> nights who say kni 2012-07-14T22:47:16 <+Steffanx> In Finnishland i guess 2012-07-14T22:47:29 <+izua> good evening. 2012-07-14T22:47:36 <+Steffanx> Hi izua 2012-07-14T22:47:36 < jpa-> (rattatata just typoes it as 'nu'.. i and u are next to each other.. *wink* *wink*, that means you steffie and i) 2012-07-14T22:48:03 <+izua> everytime someone says wink wink 2012-07-14T22:48:06 <+Steffanx> it's ratatata 2012-07-14T22:48:17 <+izua> i imagine a phased out eye blink 2012-07-14T22:48:31 <+izua> like they did in ed, edd 'n' eddy 2012-07-14T22:48:40 < jpa-> pretty sure it's rattata http://bulbapedia.bulbagarden.net/wiki/Rattata_(Pok%C3%A9mon) 2012-07-14T22:49:04 -!- peabody124 [~peabody12@128.42.85.183] has quit [Quit: peabody124] 2012-07-14T22:49:13 <+Steffanx> Seriously .. a pokémon?! 2012-07-14T22:49:32 <+izua> pokemans are fail 2012-07-14T22:51:00 < jpa-> Steffanx: this is how i picture you http://bulbapedia.bulbagarden.net/wiki/Stephanie_(Hoenn) 2012-07-14T22:51:50 <+Steffanx> Haha jpa- http://www.naffets.nl/share/%23%23stm32_%7C_Logs_for_2012-01-30-20120714-215144.png 2012-07-14T22:52:15 <+Steffanx> http://www.naffets.nl/share/ik-20110302-212108.jpg .. that is me jpa- 2012-07-14T22:52:19 <+izua> http://www.naffets.nl/share/ 2012-07-14T22:52:22 <+izua> Nothing to see here... 2012-07-14T22:52:29 <+izua> what kind of logging keeps logs as images 2012-07-14T22:52:38 <+Steffanx> Non 2012-07-14T22:52:45 <+izua> or why would it serve it as such 2012-07-14T22:52:46 <+Steffanx> Just made a fancy screenshot 2012-07-14T22:52:48 <+Steffanx> because i can 2012-07-14T22:52:50 <+izua> ah 2012-07-14T22:52:55 <+izua> so, lazy man's log 2012-07-14T22:53:16 <+Steffanx> I can link to the page too, but then you have to use ctrl+f yourself 2012-07-14T22:53:17 <+Steffanx> http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-01-30.html 2012-07-14T22:53:32 <+Steffanx> Or cmd+f for the macfags 2012-07-14T22:54:19 < jpa-> Steffanx: is your full name Steffan Naffets? 2012-07-14T22:54:29 <+Steffanx> You think so? 2012-07-14T22:54:37 <+izua> maybe naffet? 2012-07-14T22:54:59 < jpa-> hehe, izua does :) 2012-07-14T22:55:10 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2012-07-14T22:55:13 < jpa-> but palindromic name would be cool 2012-07-14T22:55:15 <+Steffanx> You really think my parents reversed my last name and called me Steffan because of that? 2012-07-14T22:55:25 <+izua> it would also have fet in it 2012-07-14T22:55:32 < jpa-> i would if my last name was so fitting 2012-07-14T22:55:36 <+Steffanx> You can find my last name in the lufa changes logs 2012-07-14T22:55:44 <+Steffanx> *change 2012-07-14T22:57:11 < jpa-> maybe i'll send you pokemon cards in snail mail 2012-07-14T22:57:38 <+Steffanx> No thanks 2012-07-14T23:02:16 <+Steffanx> We don't live in the year 2000 anymore, remember jpa- ? 2012-07-14T23:02:36 < jpa-> ah.. but i'm still young 2012-07-14T23:02:44 <+Steffanx> and married 2012-07-14T23:02:47 <+izua> no, you're old now 2012-07-14T23:02:49 < jpa-> "married" does not mean "too old for pokemons" 2012-07-14T23:02:55 <+Steffanx> Sure it does 2012-07-14T23:03:10 < jpa-> no 2012-07-14T23:03:23 < jpa-> it just means "having sex while thinking of pokemons" 2012-07-14T23:03:30 <+Steffanx> Or does your room look likes zyp room, where the animé crap is replaced with pokémon crap? 2012-07-14T23:03:33 <+izua> if you were a mudkip.. 2012-07-14T23:03:35 <+Steffanx> *looks like 2012-07-14T23:04:26 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 255 seconds] 2012-07-14T23:06:12 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 248 seconds] 2012-07-14T23:35:40 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] --- Day changed Sun Jul 15 2012 2012-07-15T00:03:19 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-15T00:14:40 < zyp> *yawn* 2012-07-15T00:17:21 < emeb> get that man some caffeine. 2012-07-15T00:18:45 < zyp> nah, I'm fine, just a bit jetlagged 2012-07-15T00:20:06 < zyp> good thing actually, shouldn't be that hard getting to work at 8 on monday, since that would be 15 in the timezone I've spent the last month in 2012-07-15T00:20:53 < emeb> yeah, but putting in a full 8 hours is like staying up past 23... 2012-07-15T00:21:42 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-15T00:21:51 < zyp> you think I went to bed before 23 in my vacation? :p 2012-07-15T00:31:23 * TheSeven is annoyed by make not working is it should 2012-07-15T00:32:29 < TheSeven> $(call realpath,src/sys) returns /home/theseven/projekte/fpgamining/stm32/ufmcpnode/src/sys as it should 2012-07-15T00:32:45 < TheSeven> but $(call realpath,src/target/stm32f4discovery/flash) returns an empty string 2012-07-15T00:33:06 < TheSeven> /home/theseven/projekte/fpgamining/stm32/ufmcpnode/src/target/stm32f4discovery/flash exists and is accessible though! 2012-07-15T00:34:15 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-15T00:34:53 < Thorn> lol ubuntu sucks 2012-07-15T00:35:36 < Thorn> you can drag windows up so their title bars are under the window manager's menu bar 2012-07-15T00:36:25 < Thorn> and there seems to be no way to get them out of there 2012-07-15T00:48:44 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2012-07-15T00:48:57 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-15T00:49:00 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-15T01:05:15 < Tectu> dongs, status 2012-07-15T01:05:40 <+Steffanx> You know what time it is in Japland Tectu ? 2012-07-15T01:05:59 <+Steffanx> -dongs- TIME Sun Jul 15 07:05:48 2012 2012-07-15T01:06:03 <+Steffanx> Yeah, you are right 2012-07-15T01:06:05 <+Steffanx> Time to wake up 2012-07-15T01:06:30 < Tectu> oha 2012-07-15T01:06:45 < Tectu> http://hackaday.com/2012/07/14/android-oscilloscope-built-from-parts-just-laying-around/ 2012-07-15T01:07:09 < cjbaird> lameaday 2012-07-15T01:07:31 < Thorn> dongs is watching http://myanimelist.net/anime/6280/Cat_Shit_One 2012-07-15T01:07:33 <+Steffanx> Bbbzzzzzztttt .. Android phone broken 2012-07-15T01:07:48 < emeb> their definition of "halfway decent oscilloscope" is a pretty low bar. 2012-07-15T01:08:38 <+Steffanx> Anyway, it's tomorrow now 2012-07-15T01:08:40 <+Steffanx> So good night 2012-07-15T01:09:01 < TheSeven> get a dso quad 2012-07-15T01:09:27 <+Steffanx> Get a real scope 2012-07-15T01:09:58 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-15T01:09:58 -!- Titan___ [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-15T01:10:24 < Thorn> real scope: http://i.ytimg.com/vi/Vqn2b1PVGfY/0.jpg 2012-07-15T01:10:32 <+Steffanx> Real enough 2012-07-15T01:10:36 -!- Titan___ [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Client Quit] 2012-07-15T01:10:57 < Thorn> http://4.bp.blogspot.com/-QMz_t221ENw/TmyUyhdnc7I/AAAAAAAAAEA/Ea8D3mJC3Jc/s1600/Family%2B500.jpg 2012-07-15T01:11:26 < cjbaird> A friend has a half-dozen 1940s-era AVO meters. I need to provide him some sexual favours in return for one. 2012-07-15T01:11:40 <+Steffanx> cjbaird and his love stories 2012-07-15T01:14:14 < cjbaird> http://www.radiomuseum.org/r/avo_universal_avominor.html 2012-07-15T01:18:30 -!- dekar [~dekar@212.255.17.252] has joined ##stm32 2012-07-15T01:18:33 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-15T01:34:47 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-15T01:35:40 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 248 seconds] 2012-07-15T01:40:27 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2012-07-15T01:41:18 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-15T01:47:18 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has quit [Remote host closed the connection] 2012-07-15T01:48:20 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-15T02:08:20 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-15T02:18:29 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Quit: josepharmbruster] 2012-07-15T02:18:37 < cjbaird> The RaspPi, Lemote, and Celeron are all trying to do multiple toolchain (stm32, msp430, avr32) builds. I'll bet that after 18-20 hours, all attempts will fail to install.. :/ 2012-07-15T02:21:59 < cjbaird> I've spent the past week trying to get an install happening on the RPi-- and after all that time had to conclude that the hardfloat multilib configuration of the native gcc was fucking everything up.. so I've had to regress back to the original Debian squeeze softfloat distro, to see if that'll work.. 2012-07-15T02:24:42 < cjbaird> Celeron: current TNT: fail in binutils with something involving lex-generated headers; current summon-arm-toolchain: fails to proceed with the build after cloning oocd... 2012-07-15T02:29:08 <+dekar> which OS are you using? debian testing? 2012-07-15T02:29:43 < cjbaird> Varies. Debian unstable, testing, stable. gNewSense, Debian, NetBSD, raspbian. 2012-07-15T02:30:00 <+dekar> they all fail to compile binutils? 2012-07-15T02:30:19 < cjbaird> Multiple gcc version attempts. Tried rebuilding gcc on the RPi in an attempt to get a compiler that didn't coredump. 2012-07-15T02:31:07 < cjbaird> Fails in varying places.. 2012-07-15T02:31:15 <+dekar> such a mess :/ 2012-07-15T02:31:49 <+dekar> so you were doing a canadian cross on that celeron? 2012-07-15T02:32:18 <+dekar> building a cross toolchain on that celeron that runs on the raspPi? 2012-07-15T02:33:37 < cjbaird> No, attempting to just build a toolchain for each machine (..if that doesn't work, a Canadian doesn't stand much chance..) 2012-07-15T02:34:55 <+dekar> wait, so TNT doesn't build on debian stable on x86? 2012-07-15T02:35:23 < cjbaird> Not here, at least. 2012-07-15T02:36:53 < dongs> hello dongs 2012-07-15T02:36:55 <+dekar> so just tell me my script is messed up, I seriously didn't get what you intended to tell me ;) 2012-07-15T02:37:28 <+dekar> did you try some older revision? the linaro based TNT did build on your leemote, didn't it? 2012-07-15T02:37:33 < cjbaird> It worked before, and the master repo hasn't changed. :/ 2012-07-15T02:37:39 <+dekar> oh 2012-07-15T02:37:47 <+dekar> what? 2012-07-15T02:37:53 <+dekar> that sounds messed up 2012-07-15T02:38:35 < cjbaird> And there's still the problem I had with one of my projects that used libopencm3 not working. 2012-07-15T02:38:53 < cjbaird> "Don't feel too bad," SAT is being a PITA too. 2012-07-15T02:38:54 < cjbaird> :) 2012-07-15T02:39:00 <+dekar> cjbaird, so you have a working TNT, but can't rebuild it anymore? 2012-07-15T02:40:23 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-15T02:40:33 < Laurenceb_> suppp 2012-07-15T02:40:54 < cjbaird> Yep, still have a TNT on the Lemote, although that's apparently producing busted code. Can't get SAT built there. 2012-07-15T02:43:43 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-15T02:43:49 < cjbaird> The build attempts are being tried from sanitised environments.. 2012-07-15T02:43:50 <+dekar> cjbaird, do those match? http://pastebin.com/0SJZbNtf 2012-07-15T02:43:58 <+dekar> if so I will try to rebuild TNT 2012-07-15T02:45:34 <+dekar> I've been doing builds with the 4.8 based TNT, those worked fine for me 2012-07-15T02:45:51 <+dekar> I mean I have used it to build firmwares 2012-07-15T02:46:02 < cjbaird> yup 2012-07-15T02:47:16 < cjbaird> The problem I was having with the project is the USART communication not happening, likely a compiler-exacerbated bug in libopencm3, as mentioned before. 2012-07-15T02:48:48 < BrainDamage> out of curiosity, why would you want to run a stm32 compiler on a rpi? 2012-07-15T02:48:53 < cjbaird> dekar: what versions are your system compiler and tools? 2012-07-15T02:50:50 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-15T02:50:56 < cjbaird> BrainDamage: the RPi has got everything needed hardware-wise, and usually without needing level-converters and the like (gpio-2-gpio wiring..) It's also an "appropriate use" of the thing to use it as a development platform for learning to program /real/ MCUs.. :) 2012-07-15T02:51:19 <+dekar> cjbaird, the stuff that comes with OSX, gcc-4.2 2012-07-15T02:51:42 < dongs> thereis no appropriate use; for that shit 2012-07-15T02:52:01 < BrainDamage> mmm, not sure if I get it, simply as dedicated development computer 2012-07-15T02:52:08 < cjbaird> BD: not just the stm32, but other boards like the TI Launchpad work from it. 2012-07-15T02:52:20 < BrainDamage> with GPIO functionality to connect to slave dev boards? 2012-07-15T02:52:23 < cjbaird> Meh, better $35 than $300+ for the same thing.. 2012-07-15T02:53:01 < cjbaird> Something I'd like to see is the RPi doing a software-JTAG.. 2012-07-15T02:53:04 <+dekar> I also don't see a problem, compiling µC firmwares should be reasonably fast on the raspPi 2012-07-15T02:53:35 < cjbaird> I used to do 68HC11 cross-development on a 386SX20. :) 2012-07-15T02:55:14 < cjbaird> The RPi /should/ be able to do the whole MCU coding thing without any costly add-ons (..that cost more than it). Like I said, just with plain wires from the GPIO pins.. 2012-07-15T02:56:26 < cjbaird> Back in my Poor Teenage Nerd days was when BASIC Stamps and etc. came out... the chips were relatively affordable.. but the programming boards weren't. :/ 2012-07-15T02:56:57 < BrainDamage> it's not a bad idea 2012-07-15T02:57:15 < BrainDamage> as long as voltage levels are compatible you should be able to target many boards 2012-07-15T02:57:15 <+dekar> cjbaird, if building on OSX succeeds then I'll try it on my debian stable system 2012-07-15T02:57:20 < BrainDamage> and just bit bang the jtag 2012-07-15T02:59:51 < Laurenceb_> i just pulled off the most epic prank in history 2012-07-15T03:00:19 < Laurenceb_> i got stopped on a train as my ticket had expired 2012-07-15T03:00:52 < Laurenceb_> steward went to next carriage to get a penalty notice 2012-07-15T03:01:17 < Laurenceb_> so i had spare clothes in my bag, and went to toilet and changed and moved to another seat 2012-07-15T03:01:36 < Laurenceb_> steward couldnt find the "ticket cheat" so I offered to help 2012-07-15T03:01:53 < Laurenceb_> went through the entire train helping to check everyone 2012-07-15T03:02:13 < Laurenceb_> of course this meant i was never checked, just thanked for my help 2012-07-15T03:02:43 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-07-15T03:05:41 < cjbaird> My All-time Epic (High School) Prank: In Chemistry period before weekly Thursday sport, I swiped a bottle of Potassium Permanginate, and went up the PhysEd changerooms and filled the showerheads with the KMnO4 ..remember the movie "Carrie"? :D There was a visiting school Zone soccer team that day... That was a day of some serious Bugfuck.. and no-one ever knew who did it. 2012-07-15T03:06:55 < dongs> awesome. 2012-07-15T03:09:28 < BrainDamage> you should've dropped some glycerine in the drains too 2012-07-15T03:09:38 < BrainDamage> so they'd have been spouting fire 2012-07-15T03:11:11 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-15T03:12:20 < Vutral> mhm 2012-07-15T03:12:23 < Vutral> i wonder how i oculd supply a ad7714 with spi clocks on a stm32f103rbt6 2012-07-15T03:17:51 < dongs> 'supply'? 2012-07-15T03:17:58 < Vutral> yeah 2012-07-15T03:18:10 < dongs> its a spi slave, right? 2012-07-15T03:18:16 < dongs> so you run stm32 in master, and you're done? 2012-07-15T03:18:24 < Vutral> its some state machine working on that device 2012-07-15T03:18:25 < Vutral> its no real spi 2012-07-15T03:18:28 < Vutral> as far as i can see 2012-07-15T03:18:38 < dongs> Three-Wire Serial Interface 2012-07-15T03:18:39 < dongs> - SPI®, QSPI™, MICROWIRE™ and DSP Compatible 2012-07-15T03:18:42 < Vutral> i run stm32 in master yet 2012-07-15T03:18:50 < Vutral> but ad7714 doesnt support full-duplÃex 2012-07-15T03:18:59 < dongs> yes, 3 wire 2012-07-15T03:19:05 < Vutral> it wont send responses 2012-07-15T03:19:30 < Vutral> i dont know what i coudl send it when i read the longer registers 2012-07-15T03:19:45 < dongs> page 29 of datasheet 2012-07-15T03:19:49 < Vutral> i read these application notes from analog devices and they suggest not writing stuff for reading 2012-07-15T03:19:52 < dongs> you probably need to play wiht CPOL/CPHA 2012-07-15T03:20:02 < dongs> the pic there implies CPOL=1 2012-07-15T03:20:06 < dongs> i dunno what default spi one is 2012-07-15T03:20:08 < Vutral> well i know what i have to write to the communication register 2012-07-15T03:20:09 < dongs> could be zero. 2012-07-15T03:20:14 < Vutral> but it still wont send more than one byte 2012-07-15T03:20:19 < Vutral> for the data register 2012-07-15T03:20:30 < dongs> the timing etc looks like normal spi shit. scope it and see what youre doing wrong. 2012-07-15T03:20:34 < Vutral> i cant send zero because it can interpret the zero as a write to anotehr register 2012-07-15T03:20:43 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-15T03:20:45 < Vutral> well i scoped it yet 2012-07-15T03:21:28 < Vutral> i thought it might help if i just turn the sclk line on read the bytes and turn it off again 2012-07-15T03:23:08 < Vutral> well something is going wrong anyway 2012-07-15T03:25:07 < dongs> yea, its your code/setup 2012-07-15T03:34:29 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Read error: Operation timed out] 2012-07-15T03:43:18 < Vutral> maybe 2012-07-15T03:44:01 < Vutral> i find stuff in the read register even thought i dont expect it there 2012-07-15T03:45:33 < zippe> Vutral: step 1, there is no "read" or "write" with SPI 2012-07-15T03:45:37 < zippe> Every transaction is "exchange" 2012-07-15T03:45:53 < Vutral> well if i dont check if there is something in the buffer 2012-07-15T03:46:06 < zippe> You can ignore what you're given, but the result is still the same 2012-07-15T03:46:07 < Vutral> doesnt work too ^^ 2012-07-15T03:46:22 < Vutral> mhm 2012-07-15T03:46:30 < zippe> If you don't empty the data register on the ST block, it will throw away the next byte 2012-07-15T03:46:40 < Vutral> i empty it every time 2012-07-15T03:46:45 < Vutral> well 2012-07-15T03:47:14 < zippe> As for "turn on" the sclk line … what? 2012-07-15T03:47:34 < zippe> The peripheral starts looking for active sclk edges when you assert #CS 2012-07-15T03:47:42 < Vutral> i check RXIE and TXIE 2012-07-15T03:47:47 < Vutral> ... 2012-07-15T03:47:59 < Vutral> mhm 2012-07-15T03:48:45 < Vutral> the documentation for the ad7714 says it always stucks in one state 2012-07-15T03:48:52 < Vutral> but if i fail to determine the actual state 2012-07-15T03:48:55 < Vutral> this wont work 2012-07-15T03:48:56 < zippe> TXIE? 2012-07-15T03:49:12 < Vutral> yeah transmit buffer is empty 2012-07-15T03:49:24 < zippe> The only register you need to look at for SPI is RXNE 2012-07-15T03:49:37 < Vutral> i guess so 2012-07-15T03:49:52 < zippe> TXE is only interesting if you are going for maximum throughput 2012-07-15T03:50:04 < Vutral> i look at rxne also 2012-07-15T03:50:23 < zippe> The block stops generating clocks when the transmit register empties 2012-07-15T03:50:32 < Vutral> yeah 2012-07-15T03:50:36 < Vutral> so when its empty i cant read 2012-07-15T03:50:37 < Vutral> lol 2012-07-15T03:50:44 < Vutral> even thought there is data 2012-07-15T03:51:00 < Vutral> and i expect it 2012-07-15T03:51:32 < Vutral> but when i transmit a byte with only zeros and the ad7714's register is setup for a write operation 2012-07-15T03:51:46 < Vutral> i will put it into undetermined state... 2012-07-15T04:02:45 < dongs> Sorry! We're busy running around with our hair on fire because Imgur is over capacity! This can happen when the site is under very heavy load, or while we're doing maintenance. Please try again in a few minutes. 2012-07-15T04:03:05 < dongs> julian must have hosted some cp 2012-07-15T04:17:25 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-15T04:23:18 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 252 seconds] 2012-07-15T04:27:54 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Quit: Lost terminal] 2012-07-15T04:28:06 < dongs> on F1, if I am only using SPI1_MOSI (and not the rest of SPI shit) can I use the other pins as GPIO 2012-07-15T04:28:11 < dongs> or will that entire block be SPI-owned 2012-07-15T04:50:36 < dongs> man imgur stilldown 2012-07-15T04:51:05 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-15T04:51:08 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-15T04:58:26 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Remote host closed the connection] 2012-07-15T05:00:29 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-15T05:04:19 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-15T05:04:50 -!- izua [izua@2a02:2f01:1017:f001::5679:4f1f] has joined ##stm32 2012-07-15T05:04:51 -!- izua [izua@2a02:2f01:1017:f001::5679:4f1f] has quit [Changing host] 2012-07-15T05:04:51 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-15T05:04:54 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-15T05:18:28 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-15T05:18:35 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-15T05:20:07 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2012-07-15T05:37:29 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Read error: Network is unreachable] 2012-07-15T05:41:32 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-15T05:41:53 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-15T05:43:24 < cjbaird> There used to be a very detailed report about the Pedo darknets on Wikileaks.. Posted /anonymously/, of course.. but.. 2012-07-15T05:44:20 < dongs> haha 2012-07-15T05:44:44 <+izua> dongs knows 2012-07-15T05:45:15 < dongs> im wasting a bunch of pins on this stm :( 2012-07-15T05:45:43 <+izua> try an exotic multiplexing scheme 2012-07-15T05:46:23 < dongs> wasting as in,, not using :( 2012-07-15T05:46:28 < dongs> i already even put leds and shit on timers 2012-07-15T05:46:31 < dongs> so I can pwm them for max faggotry 2012-07-15T05:46:36 < dongs> maybe ill just add more leds 2012-07-15T05:46:59 <+izua> you can waste extra cycles but having them blink at random frequencies and duty cycles from a timer 2012-07-15T05:47:39 <+izua> if led1 flashes at 5hz with 25% duty and led2 at 8hz with 50% duty, the device is ready for user interaction 2012-07-15T05:48:30 < dongs> i already got 2 leds :( 2012-07-15T05:48:33 < dongs> 3 actually. 2012-07-15T05:48:48 < dongs> but with all teh extra IO i can do a lightbar -like shit 2012-07-15T05:48:52 <+izua> you could add seven segments 2012-07-15T05:48:55 < dongs> like 8 leds , some grene, some red. 2012-07-15T05:49:00 <+izua> or british flag displays 2012-07-15T05:49:16 <+izua> you can write "fail" and "Trolled" 2012-07-15T05:51:05 < dongs> yep 2012-07-15T05:51:08 <+izua> i found a 16x7 segment thingie thrown out some days ago 2012-07-15T05:51:11 <+izua> fully working 2012-07-15T05:51:33 <+izua> it has minuscule diodes and a lens on top. a digit is small, like 8/8mm or so 2012-07-15T05:51:52 <+izua> probably from a calculator or something 2012-07-15T05:51:53 < dongs> igot a bunch of giant 7seg displays from the trash few months ago 2012-07-15T05:51:59 < dongs> we're talkin like 10cm tall digits 2012-07-15T05:52:12 < dongs> green and red 2012-07-15T05:52:14 < dongs> i think a couple white 2012-07-15T05:52:26 <+izua> the best thing to write on public/hacked 7 segments is "db" 2012-07-15T05:52:48 < dongs> wat 2012-07-15T05:52:57 < dongs> for waht 2012-07-15T05:53:06 <+izua> for the 7 segment equivalent of .|. 2012-07-15T05:53:14 < dongs> haha 2012-07-15T05:53:38 <+izua> clerks in gas stations do that sometimes here :D 2012-07-15T06:01:17 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-07-15T06:03:50 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-15T06:18:07 < dongs> I have DSO Nano scope only, not fast enough to monitor 400kHz I2C. Arduino Pro Mini VCC is supplying 5V and 2.48V is coming from regulator (*1 point in attached photo). 2012-07-15T06:18:10 < dongs> haha 2012-07-15T06:18:16 < dongs> what fucking garbage cant monitor 400khz i2c?$#@% 2012-07-15T06:51:03 <+izua> a parallel port scope? 2012-07-15T06:53:07 <+izua> or an arduino scope, if such a contraption was ever made 2012-07-15T07:02:02 -!- FUZxxl [~fuz@no.spaceleft.net] has quit [Remote host closed the connection] 2012-07-15T07:05:53 < dongs> dso nano is some chink mp3 player with scope firmware 2012-07-15T07:06:01 < dongs> http://www.seeedstudio.com/depot/dso-nano-pocket-size-digital-storage-oscilloscope-p-512.html 2012-07-15T07:06:14 < dongs> Analog bandwidth 0 - 1MHz 2012-07-15T07:06:15 < dongs> Max sample rate 1Msps 12Bits 2012-07-15T07:26:33 < dongs> http://www.kickstarter.com/projects/thingm/blink1-the-usb-rgb-led 2012-07-15T07:26:34 < dongs> holy fuck. 2012-07-15T07:27:49 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-15T07:41:51 < cjbaird> "This device will retail for more than $30." ... 2012-07-15T07:45:15 < cjbaird> There needs to be an equivalent site like regretsy for KS... Maybe "kickintheheadstarter.com" ... 2012-07-15T07:59:05 < dongs> i know right. 2012-07-15T08:03:15 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-15T08:06:46 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-15T08:06:49 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-15T08:16:56 -!- izua [~izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-15T10:00:40 -!- tavish [~tavish@59.177.12.16] has joined ##stm32 2012-07-15T10:00:40 -!- tavish [~tavish@59.177.12.16] has quit [Changing host] 2012-07-15T10:00:40 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-15T10:17:08 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 248 seconds] 2012-07-15T10:18:06 -!- tavish [~tavish@59.177.15.46] has joined ##stm32 2012-07-15T10:18:07 -!- tavish [~tavish@59.177.15.46] has quit [Changing host] 2012-07-15T10:18:07 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-15T10:18:30 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-15T10:42:32 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-15T10:42:38 < TitanMKD> hi 2012-07-15T10:44:00 < jpa-> hello 2012-07-15T10:46:56 < dongs> sup 2012-07-15T10:46:59 < dongs> commence blog 2012-07-15T11:08:33 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-15T11:51:47 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-15T12:00:51 -!- claude is now known as Claude 2012-07-15T12:03:55 < tech2077> well, i'll be damned, STM32 can make an i2c peripheral that makes sense 2012-07-15T12:04:16 * tech2077 was reading the stm32f0 reference datasheet 2012-07-15T12:04:22 < dongs> did they change it? heh 2012-07-15T12:05:24 < tech2077> it doesn't require any real calculating just to make it work 2012-07-15T12:05:49 < tech2077> even though the slave address inside the configuration register is kinda weird, but not annoying 2012-07-15T12:10:09 < tech2077> nope, i was mistaken 2012-07-15T12:10:46 < tech2077> still plenty of math to setup the peripheral 2012-07-15T12:10:58 < tech2077> i wouldn't care if it didn't include division so much 2012-07-15T12:11:13 < BusError> what are you talking about, 'math' ? 2012-07-15T12:11:32 < tech2077> calculating the input the the timing registers 2012-07-15T12:11:47 < tech2077> to* 2012-07-15T12:12:45 < tech2077> based off the peripheral clock 2012-07-15T12:13:02 < tech2077> though it seems simpler than that needed for the f4 2012-07-15T12:14:03 < tech2077> yep, i like the f0, no division needed to find the values to the timing register 2012-07-15T12:14:22 < jpa-> i don't think timing register is what is wrong with the i2c 2012-07-15T12:14:42 < tech2077> honestly, i don't like i2c in general 2012-07-15T12:14:58 < tech2077> it's just so commonly used, and I understand why, but still don't like it 2012-07-15T12:15:18 < tech2077> what do you say is wrong with it 2012-07-15T12:22:22 < zyp> divisions? 2012-07-15T12:22:58 < BusError> if it's constants you use, theres no division happening on the cpu itself 2012-07-15T12:23:22 < jpa-> tech2077: AFAIK it is a bit nasty to work with DMA, and especially single-byte transfers are difficult 2012-07-15T12:23:53 < tech2077> jpa-, i did notice the problems with 1 and 2 byte transfers, reads especially 2012-07-15T12:24:11 < zyp> any peripheal clock is created by dividing down the bus clock, so of course they depends on that 2012-07-15T12:25:02 < tech2077> i think i'll just setup a lookup table for common speeds 2012-07-15T12:26:47 < zyp> why? 2012-07-15T12:26:56 < tech2077> lazy 2012-07-15T12:27:13 < zyp> lazy? that sounds more work 2012-07-15T12:27:19 < zyp> sounds like more work* 2012-07-15T12:27:43 < tech2077> or easier, never use anything other than 100khz 2012-07-15T12:28:58 < tech2077> this sounds like something i should think about when i'm fully awake 2012-07-15T12:29:35 < zyp> let's see, in my code I just do CCR = pclk / 2 / i2c_speed; 2012-07-15T12:29:51 < zyp> and all that is compile time math that gets turned into a constant 2012-07-15T12:30:03 < zyp> I don't see why you have to make it harder than that 2012-07-15T12:32:11 < tech2077> you have optimization enabled? 2012-07-15T12:32:31 < zyp> of course, who in their right mind doesn't? 2012-07-15T12:32:36 < tech2077> i think i may have accidentally disabled optimization :P 2012-07-15T12:32:56 < dongs> i think he stopped trying to divide after he was getting undefined __eabi_div or someshit. 2012-07-15T12:33:06 < tech2077> so it wasn't doing that at compile time, leading to errors on no division function found 2012-07-15T12:33:08 < zyp> hah 2012-07-15T12:33:10 < dongs> tech2077: your hypeberrypi hack is remarkable 2012-07-15T12:33:39 < tech2077> dongs, the ftdi one? 2012-07-15T12:33:42 < dongs> yes. 2012-07-15T12:34:09 < tech2077> that was a fun (not) what felt like 2 hours but was 15 minutes of soldering 2012-07-15T12:34:23 < tech2077> and damn useful 2012-07-15T12:34:35 < zyp> url? 2012-07-15T12:34:57 < dongs> zyp: http://tech2077.blogspot.com/2012/07/adding-ftdi-chip-to-raspberry-pi.html 2012-07-15T12:35:11 < dongs> http://1.bp.blogspot.com/-rT7NcihdRWE/T_TCwh3E7ZI/AAAAAAAAAgY/8L4JkO4Q66A/s1600/IMG_0067.JPG awesome sample pic. 2012-07-15T12:35:24 < dongs> zyp: it made it on hackaday. 2012-07-15T12:35:27 < zyp> that's so hardcore 2012-07-15T12:35:30 < zyp> haha 2012-07-15T12:36:09 < cjbaird> tech2077: don't be fooled.. dongs was making fun of it last night. :P :) 2012-07-15T12:36:15 < tech2077> heh 2012-07-15T12:36:25 < tech2077> i was thinking that 2012-07-15T12:37:04 < zyp> looks like my rpi haven't arrived yet 2012-07-15T12:37:19 < dongs> are you still in israel on vacation? 2012-07-15T12:37:32 < zyp> I was expecting to come home to notices about it both having arrived and been returned due to no pickup 2012-07-15T12:37:39 < zyp> nah, came home yesterday 2012-07-15T12:37:44 < dongs> do you think its a bad idea to route 2 composite video signals on 8mil traces next to each other, with a hsync trace under them? 2012-07-15T12:38:02 < tech2077> possibly :) 2012-07-15T12:38:06 < zyp> sounds like something Laurenceb would do 2012-07-15T12:38:13 < dongs> so itll work then 2012-07-15T12:38:19 < zyp> say hello to noise, I guess 2012-07-15T12:38:48 < tech2077> i personally think the logo space is wasted space 2012-07-15T12:39:01 < tech2077> they could have put that ftdi there 2012-07-15T12:39:46 < zyp> logo is silk, a component would require space in top cu 2012-07-15T12:40:29 < zyp> you still have traces running under the logo 2012-07-15T12:40:32 < cjbaird> The LCD and camera ports are the biggest waste, imho.. 2012-07-15T12:40:52 < dongs> i thought the whole thing was a waste. 2012-07-15T12:41:05 < zyp> at least until somebody comes up with something to connect to those ports 2012-07-15T12:41:36 < cjbaird> Especially considering how they cheaped-out on the rest of the board (linear regulator..), yet added those costly and extremely-rarely-used parts.. 2012-07-15T12:42:01 < zyp> which parts? the connectors? 2012-07-15T12:42:55 < cjbaird> The connectors, plus the board area necessary for the additonal routing and etc. 2012-07-15T12:43:51 < tech2077> agreed 2012-07-15T12:44:30 < zyp> leaving it out would probably not impact the final cost significantly either way 2012-07-15T12:45:09 < cjbaird> I'm waiting to see what the Mk.II and whatever boards are like. The RPi-B is still pretty-much a prototype. 2012-07-15T12:46:25 < tech2077> the display connector should definitely go 2012-07-15T12:46:47 < cjbaird> The RPi blog had said before the boards were manufactured that the GPIO wasn't going to have a header to "OMG SAVE COSTS!" .. Fortunately it showed up from China with them. :) 2012-07-15T12:46:50 < tech2077> the camera connector should go if they don't make a cheap camera module 2012-07-15T12:47:28 < tech2077> last i heard about the header was that it was going to have non-standard pin sizes to piss everyone off 2012-07-15T12:47:48 < tech2077> except "hardware and driver developers" 2012-07-15T12:48:21 < BusError> hey guys, discuss rhat in #raspi, I'm a bit fed up to have raspi poluting every channel I get into ;-) 2012-07-15T12:48:40 < tech2077> heh 2012-07-15T12:48:53 < BusError> or website, or forum, or frigging newspaper, radio, blog.... argh 2012-07-15T12:49:18 < tech2077> i don't like how hack-a-day took to it 2012-07-15T12:49:35 < tech2077> you can get on hack-a-day now by basically having it in your title 2012-07-15T12:49:47 < tech2077> as demonstrated by me :P 2012-07-15T12:50:22 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has joined ##stm32 2012-07-15T12:52:22 < TitanMKD> does anyone know why i have huge overshoot on LPC4330 GPIO depending on frequency ? 2012-07-15T12:52:58 < TitanMKD> I measure it with a low cost probe but specified for 100MHz (one included with Rigol DS1102E) 2012-07-15T12:53:52 < TitanMKD> for example with a 102MHz frequency overshoot up to 3.92V expected 3.3V 2012-07-15T12:54:25 < TitanMKD> for 25.5MHz frequency overshoot up to 5.04V !! expected 3.3V output !! 2012-07-15T12:55:09 < TitanMKD> the overshoot is very short less than 20ns but it's amazing to found that 2012-07-15T12:56:02 < BrainDamage> how long are your wires? chances are you're seeing transmission line effects 2012-07-15T12:56:54 < TitanMKD> 10cm 2012-07-15T12:57:12 < TitanMKD> in fact even on the pin of the MCU i have the same 2012-07-15T12:57:27 < TitanMKD> maybe 4.90V instead of 5V 2012-07-15T12:58:10 < BrainDamage> 20cm sounds a bit short for 25MHz and see it 2012-07-15T12:58:14 < BrainDamage> err, 10 2012-07-15T12:58:26 < BrainDamage> try lowering the slew rate anyway as test 2012-07-15T12:58:49 < TitanMKD> in fact at 102Mhz overshoot is less ;) 2012-07-15T12:58:55 < Claude> cheap probes , not sufficent bandwidth on the scope? even a 25.5Mhz rectangular wave on a 100MHz bandwidth o-scope can give nice artefacts due to aliasing 2012-07-15T12:59:01 < jpa-> TitanMKD: http://koti.mbnet.fi/jahonen/Electronics/DIY%201k%20probe/ 2012-07-15T12:59:17 < TitanMKD> even at 6.37MHz i obtain 4.8V !! 2012-07-15T12:59:49 < jpa-> TitanMKD: what kind of edge speed does the LPC4330 give? 2012-07-15T13:00:04 < TitanMKD> very short 2012-07-15T13:00:04 < Claude> and the slew rate of the signal ? can your scope handle this? 2012-07-15T13:00:08 < TitanMKD> 5ns IIRC 2012-07-15T13:00:11 < TitanMKD> i can check again 2012-07-15T13:00:55 < TitanMKD> maybe it is also a problem in LPC4330 is use it is a rev A 2012-07-15T13:01:13 < TitanMKD> it is just i never see that on STM32F4 2012-07-15T13:02:19 < TitanMKD> Rise/Fall are min 4ns and max 5ns 2012-07-15T13:02:38 < jpa-> hmm, 100 MHz should be enough to measure that somewhat accurately 2012-07-15T13:02:47 < TitanMKD> yes it's designed for that ;) 2012-07-15T13:02:56 < TitanMKD> and 102Mhz signal is very clean 2012-07-15T13:03:08 < TitanMKD> but it's not the case for 25.5Mhz signal from LPC 2012-07-15T13:03:21 < jpa-> well at 102MHz, it may already be filtering out the spikes 2012-07-15T13:03:27 < Claude> ground bounce on the board? 2012-07-15T13:03:39 < TitanMKD> the overshoot duration is 3.2ns 2012-07-15T13:03:53 < TitanMKD> yes ground is well connected 2012-07-15T13:04:25 < TitanMKD> and the PCB is 4 layers JellyBean 2012-07-15T13:05:25 < TitanMKD> in addition I have CPLD problem ;) 2012-07-15T13:06:25 < TitanMKD> I programmed the VHDL in simple passtrough mode from LPC4330 SGPIO (16 lines) => CPLD => BANK2 AUX (16lines) 2012-07-15T13:06:31 < Claude> eeek cplds can be quite nasty regarding signal integrity 2012-07-15T13:07:07 < Claude> what kind of cpld? xilinx 95xl? 2012-07-15T13:07:15 < TitanMKD> and the most funny is B2AUX8, 9, 11 & 15 are just stuck to 3.3V !! 2012-07-15T13:07:22 < TitanMKD> other channels are good 2012-07-15T13:07:44 < TitanMKD> XC2C64A 2012-07-15T13:08:02 < TitanMKD> all is here https://github.com/jboone/hackrf/tree/master/hardware/jellybean/sgpio_if_passthrough 2012-07-15T13:08:15 < TitanMKD> the VHDL code is very very basic 2012-07-15T13:08:23 < TitanMKD> but has side effect on those 4 pins !! 2012-07-15T13:10:15 < TitanMKD> i checked the LPC output and they are ok with expected frequency, only one SGPIO out of LPC seems like dead(bus contention with CPLD ??) with 1VCC instead of 11.33MHz 3.3V 2012-07-15T13:11:21 < Claude> oha thats a combinatorial logic , don't you have a clock signal from the lcp to cpld to synchronize the logic too ? 2012-07-15T13:11:32 < TitanMKD> if anyone is interested i have write all tests with results and expected result in a PDF 2012-07-15T13:11:47 < TitanMKD> Claude no 2012-07-15T13:12:35 < TitanMKD> it's just a simple passtrhough with 2 BANK 2*16IO configured as inout 2012-07-15T13:12:47 * Claude looks at his F4 Discovery kit connected to a altera de1 board :) 2012-07-15T13:12:50 < TitanMKD> I can also configure if the data are in or out ;) 2012-07-15T13:13:34 < TitanMKD> But maybe there's a bug on my PCB 4 layers too :( 2012-07-15T13:14:21 < TitanMKD> Claude do you want to see my measurement with expected ? 2012-07-15T13:14:55 < TitanMKD> i'm beginner in CPLD stuff it is why the CPLD code was done by Jared 2012-07-15T13:14:57 < Claude> ah bummer , but regarding bus contention. try to check the signal with a scope , even when two output drivers are working against each other some signal change should be visible 2012-07-15T13:15:24 < TitanMKD> Claude it is not the case i have Continuous 1.04V 2012-07-15T13:16:43 < TitanMKD> but for the 3 others signal which are good on CPLD INput and stuck to 3.3V continous on BANK2 out (simple passtrhough) it is very strange 2012-07-15T13:18:19 < TitanMKD> the most funny is i tested if the BANK2 out is not broken with a simple test to set all 16 pin to 3.3V or 0V depending on B1AUX9(1.8V=1 or 0V=0) 2012-07-15T13:18:29 < TitanMKD> and that worked fine 2012-07-15T13:18:55 < Claude> are there schematics in pdf? don't have kicad 2012-07-15T13:19:13 < TitanMKD> wait i convert them in PDF 2012-07-15T13:21:08 < Claude> cool thanks , btw the whole is some sort of SDR? 2012-07-15T13:23:29 < TitanMKD> in fact yes ;) 2012-07-15T13:23:49 < TitanMKD> it is connected to a DAC/ADC on an other board which work a bit like SDR 2012-07-15T13:23:57 < TitanMKD> but only 8bits 2012-07-15T13:24:23 < TitanMKD> but in my case i was testing the LPC4330 & CPLD code it is why i do not use such stuff 2012-07-15T13:24:46 < TitanMKD> SDR= SDRAM 2012-07-15T13:25:04 < TitanMKD> Claude the whole cards is a SDR from 100MHz to 6GHz 2012-07-15T13:30:37 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [Ping timeout: 240 seconds] 2012-07-15T13:34:01 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-15T13:34:06 < TitanMKD> re 2012-07-15T13:34:15 < TitanMKD> just crashed bvecause of NOD32 pff 2012-07-15T13:38:45 < cjbaird> Why yes, the past 13 hours of toolchain compiling on three machines has not had a single successful build.. 2012-07-15T13:46:36 < Claude> ah cool SDRAM is something i'm into too atm 2012-07-15T13:48:25 < Claude> does the LPC4330 has a SDRAM controller? Last time i used a NXP ARM was when the LPC2106 came out ... 2012-07-15T13:48:28 < TitanMKD> ok i converted PCB + Schematic in PDF + also a bonus the final board photo with pin names 2012-07-15T13:49:06 < TitanMKD> Claude look here https://github.com/TitanMKD/hackrf/tree/master/hardware/jellybean 2012-07-15T13:49:15 < TitanMKD> *.pdf files 2012-07-15T13:50:37 < TitanMKD> Claude on this CPLD 3.3V, i'm very afraid all those overshoot will kill the IO in time 2012-07-15T13:51:39 < TitanMKD> Claude for my own design i will maybe switch to a 5.5V compatible version the XC9500XL 2012-07-15T13:52:21 < Claude> hmm iirc these XC95XLs are obsolete since some weeks 2012-07-15T13:52:30 < TitanMKD> the XC95144 seems very good for that 2012-07-15T13:52:35 < TitanMKD> ha really ? 2012-07-15T13:55:08 < Claude> yeah don't quite remember if it was the 'classic' 9500 (5V) part or the '95XL' (3.3V/5V) part 2012-07-15T14:02:07 < TitanMKD> I hope it is the classic ;) 2012-07-15T14:02:33 < TitanMKD> because I have not found any other CPLD which support 1.8V to 5V 2012-07-15T14:05:16 < Claude> ok found a notice from silica (distributor) that the 95XL will be EOL by 2015 2012-07-15T14:08:50 < TitanMKD> ok thanks for all see you later 2012-07-15T14:08:57 < TitanMKD> bye 2012-07-15T14:09:05 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-15T14:18:24 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-252-249.clienti.tiscali.it] has quit [Ping timeout: 252 seconds] 2012-07-15T14:24:41 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-15T14:24:43 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-15T14:46:08 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-15T15:50:01 < dongs> ok so! on F1, if im only using SPI_MOSI and no other SPI pins, can I map the rest as gpio, and it will work? 2012-07-15T16:00:01 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 265 seconds] 2012-07-15T16:18:44 < dongs> hello dongs 2012-07-15T16:18:48 < dongs> i see no chats while i was gone 2012-07-15T16:18:55 < dongs> man i routed myself into a shithole 2012-07-15T16:18:58 < dongs> not sure wat2do 2012-07-15T16:20:05 < jpa-> dongs: yes it will work, but you cannot use them as other peripheral pins (e.g. they won't work as timer outputs) 2012-07-15T16:20:12 < dongs> right 2012-07-15T16:20:17 < dongs> only as gpio is all i care. 2012-07-15T16:38:59 -!- tavish [~tavish@59.177.11.92] has joined ##stm32 2012-07-15T16:38:59 -!- tavish [~tavish@59.177.11.92] has quit [Changing host] 2012-07-15T16:38:59 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-15T16:54:16 < dongs> http://www.kickstarter.com/projects/484889112/the-pocket-tv-makes-any-tv-a-smart-tv?ref=users 2012-07-15T16:54:20 < dongs> this has to stop 2012-07-15T16:54:23 < dongs> what the hell 2012-07-15T16:57:32 <+dekar> dongs, sounds like the allwinner SoC 2012-07-15T16:57:44 <+dekar> also they basically cloned a product 2012-07-15T16:58:18 <+dekar> http://www.dealextreme.com/p/ak802-mini-android-4-0-network-media-player-w-wi-fi-hdmi-tf-usb-black-4gb-1gb-ddr-iii-143431 2012-07-15T17:00:22 < dongs> lulz. 2012-07-15T17:06:46 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-15T17:08:03 <+dekar> dongs, http://www.aliexpress.com/store/product/Android-HDMI-Stick-Super-Mini-PC-with-Android-4-0-ICS-Cortex-A9-Processor-Media-Center/803232_550274999.html 2012-07-15T17:08:13 <+dekar> exactly the same remote control they show 2012-07-15T17:08:28 <+dekar> seems to be _identical_ 2012-07-15T17:08:28 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 246 seconds] 2012-07-15T17:09:30 <+dekar> so they got half a million for branding an existing product 2012-07-15T17:11:30 < dongs> !awesome. 2012-07-15T17:12:29 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-15T17:13:18 <+Steffanx> dongs, have no project to troll people? 2012-07-15T17:13:29 < dongs> Steffanx: furiously looking for one 2012-07-15T17:13:40 < dongs> someone was talking about a rgb led like a week ago 2012-07-15T17:13:44 < dongs> but looks like someone beat me to it. 2012-07-15T17:14:06 <+Steffanx> I mean I guess you are allowed use part of the money to pay your own salary? 2012-07-15T17:14:36 <+Steffanx> 99% is a nice part 2012-07-15T17:17:31 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-15T17:30:18 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Remote host closed the connection] 2012-07-15T17:30:28 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-15T17:35:14 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-15T17:50:38 -!- Thorn [~Thorn@128-73-143-107.broadband.corbina.ru] has joined ##stm32 2012-07-15T17:50:38 -!- Thorn [~Thorn@128-73-143-107.broadband.corbina.ru] has quit [Changing host] 2012-07-15T17:50:38 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-15T17:50:41 -!- iR0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 246 seconds] 2012-07-15T17:57:24 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 248 seconds] 2012-07-15T17:57:31 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-15T18:02:38 < dongs> http://i.imgur.com/5aZNU.png latest trollproj 2012-07-15T18:22:32 < zyp> osd? 2012-07-15T18:22:53 < dongs> ya. 2012-07-15T18:23:03 < zyp> time to troll tom? :p 2012-07-15T18:23:09 < dongs> precisely. 2012-07-15T18:23:17 < dongs> i suspect it will even work on the first try. 2012-07-15T18:23:26 < dongs> since i already prototyped all the basic functions. 2012-07-15T18:24:03 < dongs> dual PWM'd leds 2012-07-15T18:24:07 < dongs> for max iTrash feeling 2012-07-15T18:26:07 < zyp> I ordered that waveshare board with all the extra dickery 2012-07-15T18:26:35 < dongs> awesome. 2012-07-15T18:27:21 < zyp> will have to come up with something cool to do with it 2012-07-15T18:31:02 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 250 seconds] 2012-07-15T18:38:46 < emeb> what layout tool does the nifty 3D renders? 2012-07-15T18:39:51 < dongs> closed source payware for Windows. 2012-07-15T18:40:23 < emeb> my condolences 2012-07-15T18:40:31 < dongs> indeedy. 2012-07-15T18:40:45 < emeb> looks nice though. whatever works for you I guess. 2012-07-15T18:41:04 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-15T18:45:43 -!- Claude is now known as claude 2012-07-15T18:53:57 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-15T19:05:26 -!- izua [~izua@86.121.2.38] has joined ##stm32 2012-07-15T19:05:27 -!- izua [~izua@86.121.2.38] has quit [Changing host] 2012-07-15T19:05:27 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-15T19:05:30 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-15T19:18:47 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-15T19:25:43 < TitanMKD> claude I have pushed all on my github 2012-07-15T19:26:13 < TitanMKD> claude see https://github.com/TitanMKD/hackrf/tree/master/firmware/sgpio_passthrough_rom_to_ram for information on what i test with all results and problems i described here 2012-07-15T19:26:38 < TitanMKD> claude especially the files Test_SGPIO0_to15.ods/Test_SGPIO0_to15.pdf 2012-07-15T19:42:21 <+Steffanx> emeb i think that's dicktrace 2012-07-15T19:42:26 <+Steffanx> oh emeb left the building 2012-07-15T19:42:52 <+Steffanx> The standard 3d part lib from dicktrace is soo small 2012-07-15T19:43:05 <+Steffanx> And importing new models downloaded from the web is impossible 2012-07-15T19:43:18 <+Steffanx> because diptrace can't deal with the format 2012-07-15T19:51:38 < dongs> yeah, its real hard to convert shit to vrml or whatever it takes 2012-07-15T19:51:44 < dongs> totally mindboggling and impossibly difficult. 2012-07-15T19:52:21 < zyp> *yawn* 2012-07-15T19:52:29 -!- zlog_ [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-15T19:52:58 <+Steffanx> Yeah, 3dcontentcentral or something like that also provides vrml downloads, but they seem to be incompatible 2012-07-15T19:55:05 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Ping timeout: 250 seconds] 2012-07-15T19:55:26 < dongs> shrug 2012-07-15T19:55:32 < dongs> the only thing it was missing was smd led 2012-07-15T19:55:38 < dongs> i drew that once myself and then forgot where i put it 2012-07-15T19:55:56 <+izua> wlol 2012-07-15T19:56:05 <+izua> smd leds are neat 2012-07-15T19:56:09 <+izua> esp the 0402 kind 2012-07-15T19:56:17 <+Steffanx> I also wanted to have my fancy components in the 3d drawing dongs :P 2012-07-15T19:56:42 <+izua> speaking of which, i need to get some basic parts stocks again 2012-07-15T19:56:54 <+izua> i sneezed over my smd leds some weeks ago and never sorted them back 2012-07-15T19:57:07 <+Steffanx> It's cheaper to buy new ones 2012-07-15T19:57:56 <+izua> of course 2012-07-15T19:58:16 -!- zlog_ [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Remote host closed the connection] 2012-07-15T19:58:33 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-15T20:09:33 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-254-183.clienti.tiscali.it] has joined ##stm32 2012-07-15T20:38:07 <+izua> is there any programmer software for the USB DFU bootloader? 2012-07-15T20:38:15 <+izua> or is it even usable by default? 2012-07-15T20:39:21 <+Steffanx> dfu-programmer is a nice tool, but is AVR(32) only :( 2012-07-15T20:39:41 <+izua> well 2012-07-15T20:39:55 < jpa-> isn't dfu somewhat of a standard? 2012-07-15T20:39:59 <+izua> afaik, the stm32 can flash itself from a usb bootloader 2012-07-15T20:40:13 <+izua> ie, connect usb cable, send specific data, blinking led :D 2012-07-15T20:40:13 <+Steffanx> Yes, but they modified it a little jpa- 2012-07-15T20:40:58 <+izua> so, what solutions do exist to burn stuff without serial? 2012-07-15T20:41:04 <+izua> except an usb/serial adapter, ofc 2012-07-15T20:41:27 <+izua> i was thinking one could also write a bootloader, i think dekar did that 2012-07-15T20:41:28 < jpa-> only some of the controllers have the usb bootloader 2012-07-15T20:41:32 <+Steffanx> hid bootloader :) 2012-07-15T20:41:38 <+izua> f103 ok? 2012-07-15T20:42:12 <+Steffanx> I wonder if it's hard to port dfu-programmert to stm32 or perhaps someone already done it 2012-07-15T20:42:13 < jpa-> only some of the f103 2012-07-15T20:42:49 < jpa-> only connectivity line in fact, so not f103 2012-07-15T20:42:57 <+izua> aww 2012-07-15T20:43:06 <+Steffanx> Man, … zlog gets annoying 2012-07-15T20:43:15 <+izua> he just joins and parts 2012-07-15T20:43:17 <+Steffanx> Google for something stm32 related and you find this channel 2012-07-15T20:43:26 <+Steffanx> At least, the logs 2012-07-15T20:43:43 <+izua> we're more popular than the forum? :P 2012-07-15T20:44:12 < jpa-> heck, it isn't even the top result for 'stm32 pokemon' 2012-07-15T20:44:14 <+Steffanx> This time, yes 2012-07-15T20:44:26 <+Steffanx> no jpa- 2012-07-15T20:44:32 <+Steffanx> 5th 2012-07-15T20:44:34 <+izua> and stm32 porn 2012-07-15T20:45:27 <+Steffanx> /kick zlog :P 2012-07-15T20:46:49 < TitanMKD> and also stm32 samples return no results ;) 2012-07-15T20:47:12 < TitanMKD> ha yes because st does not want to send samples to little company maybe it is related ;) 2012-07-15T20:48:03 <+Steffanx> Too bad TitanMKD 2012-07-15T20:48:37 < TitanMKD> anyway for future i will remember that and the same for NXP 2012-07-15T20:49:22 <+Steffanx> People abuse sample services way too much 2012-07-15T20:49:27 <+Steffanx> so I understand it 2012-07-15T20:49:34 < TitanMKD> Steffanx it is why when an alternative will be available at TI i will choose TI because they send samples and help to prototypes stuff 2012-07-15T20:50:08 < jpa-> what's the point, why should they give freebies anyway 2012-07-15T20:50:15 < TitanMKD> Steffanx yes when they abuse but they could add a check and ask what project ... 2012-07-15T20:50:23 <+Steffanx> $$$ 2012-07-15T20:50:55 < TitanMKD> TI send samples I think they do not loose any US$ because of that and even more they are more popular 2012-07-15T20:51:08 <+Steffanx> Not 2012-07-15T20:51:26 <+Steffanx> The UPS service they use is pretty expensive 2012-07-15T20:51:28 <+Steffanx> I don 2012-07-15T20:51:36 <+Steffanx> t think ups sends everything for free 2012-07-15T20:51:53 < TitanMKD> they have huge contract with UPS or other ;) 2012-07-15T20:52:06 < TitanMKD> at end the price is very small 2012-07-15T20:52:08 <+Steffanx> huge contract => $$$$ 2012-07-15T20:52:41 < TitanMKD> anyway i will continue to blame company which do not offer samples 2012-07-15T20:53:09 <+izua> well 2012-07-15T20:53:09 < TitanMKD> especially for new product you can not found at Digikey and only through samples stuff 2012-07-15T20:53:23 <+izua> you could get samples if you were a choice maker for a huge company 2012-07-15T20:53:34 < TitanMKD> izua yes of course ;) 2012-07-15T20:53:36 <+izua> and if you'd get the samples, it would mean st or someone else could sell your 100k pcs later 2012-07-15T20:53:51 <+izua> but hobbyists are well, just hobbyists 2012-07-15T20:54:13 <+izua> most likely they can't use in a year what a single such order can request 2012-07-15T20:55:05 < TitanMKD> maybe they will change mind one day to be like TI or Microchip or tons of others 2012-07-15T20:55:10 <+izua> as for samples, i think the VL discovery is decent enough to count as one 2012-07-15T20:55:21 <+izua> you get a free sample and an €10 breakout board and programmer 2012-07-15T20:55:35 <+Steffanx> Pre-soldered 2012-07-15T20:55:44 < TitanMKD> izua the shame is the STM32F4 Discovery is as same price as the component alone ;) 2012-07-15T20:55:45 < jpa-> i think it is annoying that all parts are not sold to ordinary people, but i have no reason to think they should be given out for free 2012-07-15T20:55:46 <+izua> you can't marketing bro 2012-07-15T20:55:51 <+izua> Steffanx: you want to say "no soldering involved!" 2012-07-15T20:56:17 < TitanMKD> jpa- they could offer free samples with shipping to be paid it will be ok too 2012-07-15T20:56:33 < jpa-> TitanMKD: why should they give something for free? 2012-07-15T20:56:56 < TitanMKD> jpa- to help them debug beta product ;) 2012-07-15T20:56:58 <+Steffanx> I'm not a marketing guy, so i dont'care izua 2012-07-15T20:57:27 <+izua> idk 2012-07-15T20:57:29 < TitanMKD> jpa- anyway more stuff are open and more the stuff work well ;) 2012-07-15T20:57:36 <+izua> the discovery is decent for its price, and even better than a sample 2012-07-15T20:57:43 <+izua> sure, you're not supposed to use it in other products.. 2012-07-15T20:58:07 < TitanMKD> izua it is not the case when you want to build prototypes with STM32 chip @ more than 10US$ each ;) 2012-07-15T20:58:26 <+izua> if you build that many units, that's not really prototyping.. 2012-07-15T20:58:41 <+izua> so you won't be able to get that many samples from ti either, imo 2012-07-15T20:58:44 < TitanMKD> izua for me prototypes is max 10boards 2012-07-15T21:00:11 < TitanMKD> especially when boards comes from cheap PCB company and they say 10PCB are 100% validated and 2 out of 10 are defectuous ;) 2012-07-15T21:03:40 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-15T21:06:28 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 246 seconds] 2012-07-15T21:08:07 -!- emeb [~ericb@174-26-228-2.phnx.qwest.net] has joined ##stm32 2012-07-15T21:39:50 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-15T21:40:04 < ratatata> nu 2012-07-15T21:40:14 <+Steffanx> jpa- LOOK! 2012-07-15T21:40:18 <+Steffanx> ratatata 2012-07-15T21:43:31 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-15T21:45:44 < jpa-> yes, your favourite pokeman 2012-07-15T21:46:07 <+Steffanx> No that's rattata or something like that 2012-07-15T21:49:47 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 255 seconds] 2012-07-15T22:11:04 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-15T22:12:02 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Disconnected by services] 2012-07-15T22:12:02 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-15T22:12:05 -!- mode/##stm32 [+v Steffann] by ChanServ 2012-07-15T22:15:01 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-15T22:28:43 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Remote host closed the connection] 2012-07-15T22:35:16 -!- emeb [~ericb@174-26-228-2.phnx.qwest.net] has quit [Ping timeout: 244 seconds] 2012-07-15T22:39:35 -!- emeb [~ericb@174-26-228-2.phnx.qwest.net] has joined ##stm32 2012-07-15T22:49:22 -!- emeb [~ericb@174-26-228-2.phnx.qwest.net] has quit [Ping timeout: 246 seconds] 2012-07-15T22:50:37 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-15T22:56:02 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-15T23:01:26 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-15T23:03:22 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 246 seconds] 2012-07-15T23:47:01 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has joined ##stm32 2012-07-15T23:58:21 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has quit [Ping timeout: 245 seconds] --- Day changed Mon Jul 16 2012 2012-07-16T00:10:34 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-16T00:55:08 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-16T01:04:33 -!- emeb [~ericb@174-26-228-2.phnx.qwest.net] has joined ##stm32 2012-07-16T01:09:32 < cjbaird> dongs! hey dongs! http://downloads.element14.com/raspberryPi3.html?ICID=ap-rpi-hwb 2012-07-16T01:09:40 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 250 seconds] 2012-07-16T01:11:44 < Laurenceb_> someones trolling 2012-07-16T01:13:56 < cjbaird> I'm working on the assumption that dongy is tsundere.. 2012-07-16T01:18:28 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-16T01:22:21 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 272 seconds] 2012-07-16T01:31:49 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has joined ##stm32 2012-07-16T01:40:06 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has quit [Quit: ZNC - http://znc.in] 2012-07-16T01:40:23 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has joined ##stm32 2012-07-16T01:42:16 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has joined ##stm32 2012-07-16T01:44:32 -!- whitequark [~whitequar@2a00:ab00:1::4464:5550] has left ##stm32 [] 2012-07-16T02:15:56 < ratatata> For security reasons your account access will expire in 14 days, in order to continue using STMicroelectronics's private site( https://my.st.com), you are requested to re-validate your account. 2012-07-16T02:16:07 < ratatata> is it scam or is it true ? 2012-07-16T02:18:13 < dongs> sounds legit 2012-07-16T02:18:22 < dongs> i receive similar shit from other vendors 2012-07-16T02:18:27 < dongs> freescale and some other shit. 2012-07-16T02:18:39 < BrainDamage> just log in the st's site, and check the https certificate and trust chain 2012-07-16T02:18:41 < dongs> i mean as long as you're pointed to a https:// site with a ST cert on it... its legit 2012-07-16T02:18:45 < dongs> yeah 2012-07-16T02:48:03 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-16T03:14:32 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-16T03:35:57 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Remote host closed the connection] 2012-07-16T03:38:15 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-16T03:54:27 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-16T03:55:08 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-16T04:14:59 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-254-183.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-16T04:50:03 -!- emeb [~ericb@174-26-228-2.phnx.qwest.net] has quit [Quit: Leaving.] 2012-07-16T05:17:32 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-16T05:17:38 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-16T05:22:17 -!- AaronM [~Aaron@pdpc/supporter/student/aaronm] has quit [Quit: Quit] 2012-07-16T05:52:55 -!- amstan [~alex@aichallenge/admin/amstan] has joined ##stm32 2012-07-16T05:53:16 < amstan> hello, anyone managed to make texane/stlink to work with f0 boards? 2012-07-16T05:53:48 < amstan> i just get this happening: http://pastebin.com/qqi4wR5d 2012-07-16T05:54:04 < amstan> board acts the same, it seems like it crashes with stlink_sram_flash() == -1 2012-07-16T05:56:09 < amstan> well, i see there's an issue for this already: https://github.com/texane/stlink/issues/92 2012-07-16T05:56:19 < amstan> i'll just go cry, lol 2012-07-16T05:56:23 -!- amstan [~alex@aichallenge/admin/amstan] has left ##stm32 ["Konversation terminated!"] 2012-07-16T06:02:00 < Vutral> eh 2012-07-16T06:02:10 < Vutral> how should spi work fullduplex and synchronous ? 2012-07-16T06:02:20 < Vutral> i mean the slave cant answer before it received a request... 2012-07-16T06:55:23 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2012-07-16T07:02:32 -!- Xamusk [~X@189.123.3.189] has joined ##stm32 2012-07-16T07:02:55 -!- Xamusk [~X@189.123.3.189] has left ##stm32 [] 2012-07-16T07:03:26 -!- Xamusk [~X@189.123.3.189] has joined ##stm32 2012-07-16T07:50:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-16T07:55:53 < dongs> nice dongs 2012-07-16T08:13:59 -!- Xamusk [~X@189.123.3.189] has quit [Quit: Leaving] 2012-07-16T08:16:49 -!- claude is now known as Claude 2012-07-16T08:27:07 < dongs> status 2012-07-16T08:41:34 -!- izua [izua@2a02:2f01:1017:f004::4f73:3eba] has joined ##stm32 2012-07-16T08:41:35 -!- izua [izua@2a02:2f01:1017:f004::4f73:3eba] has quit [Changing host] 2012-07-16T08:41:35 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-16T08:41:38 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-16T08:43:58 -!- tavish3 [~tavish@120.59.36.170] has joined ##stm32 2012-07-16T08:51:32 -!- dekar [~dekar@212.255.17.252] has quit [Quit: This computer has gone to sleep] 2012-07-16T09:49:36 < zyp> *yawn* 2012-07-16T09:52:41 < dongs> dongs. 2012-07-16T09:52:45 < dongs> status update. 2012-07-16T09:57:23 < dongs> checking bloglines to see if aeroquad baloo is out 2012-07-16T10:01:09 < dongs> oh boy 2012-07-16T10:01:10 < dongs> new blog. 2012-07-16T10:01:52 < dongs> http://www.ebay.com/itm/400305883079 buying 10. 2012-07-16T10:03:10 -!- Claude is now known as claude 2012-07-16T10:06:36 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-16T10:07:54 < dongs> NO! 2012-07-16T10:07:56 < dongs> Laurenceb_: status 2012-07-16T10:09:47 < zyp> status: back at work, trying to find out if anything interesting happened while I were away 2012-07-16T10:11:46 * Laurenceb_ went to Farnborough air show 2012-07-16T10:12:39 < dongs> guessing: no 2012-07-16T10:12:51 < zyp> I think you've right 2012-07-16T10:17:22 -!- tech2077 [~tech2077@adsl-75-53-138-14.dsl.hstntx.sbcglobal.net] has quit [Read error: Operation timed out] 2012-07-16T10:19:23 -!- dekar [~dekar@dslb-088-069-153-188.pools.arcor-ip.net] has joined ##stm32 2012-07-16T10:19:24 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-16T10:19:31 < dongs> bored. 2012-07-16T10:39:49 < cjbaird> status: wants a new Symbian S60 fone; haven't yet found a local retail shop with anything like the C5-00. :/ 2012-07-16T10:41:15 < zyp> isn't symbian pretty dead? 2012-07-16T10:42:27 < cjbaird> I won't be investing in the company, but a stock mobile phone doesn't need bleeeeeding edge. 2012-07-16T10:43:04 < cjbaird> S60 is the one with Python, free homebrew apps, et.al. 2012-07-16T10:43:51 < cjbaird> The Nokia N9-00 is still being sold here (Leenix, MeeGo) .. not at a decent price unlocked, though. 2012-07-16T10:48:46 -!- Guest39031 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2012-07-16T10:49:48 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-07-16T10:49:49 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-07-16T10:49:49 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-07-16T10:54:31 < zyp> dead as in haven't they stopped making phones with it? 2012-07-16T10:55:51 < dongs> symbian is about as dead as desktop lunix 2012-07-16T10:58:04 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-16T10:59:19 < cjbaird> The C5 I think was one of the last "Symbian S60" releases-- it's still listed as a current model on the nokia.au site; after that, it was Symbian Anna, Betta, or someshit. 2012-07-16T11:00:50 < zyp> I seem to recall reading about Symbian^3 or something, and then Nokia ditched that and went all WP only 2012-07-16T11:01:02 < dongs> pal finally blagged out a sim3u evalboard 2012-07-16T11:01:08 < dongs> came with a free silabs stlink clone 2012-07-16T11:02:58 < cjbaird> Something I find funny is how myself and 3 other Programmer Dudes I know personally all have the Nokia 6120 classic.. and our computer-illiterate friends are the ones with iPhones, Android. etc. 2012-07-16T11:03:53 < nopcode> symbian? lol 2012-07-16T11:04:24 < dongs> no instagram on symbian? forget it. 2012-07-16T11:04:27 < zyp> I'm not really sure there is a correlation there, I know programmer dudes with fancy smartphones and computer-illiterate people with dumbphones 2012-07-16T11:06:57 -!- claude is now known as claude_work 2012-07-16T11:07:15 -!- claude_work is now known as claude 2012-07-16T11:07:42 -!- claude is now known as claude_work 2012-07-16T11:08:01 -!- claude_work is now known as claude 2012-07-16T11:08:08 -!- claude is now known as claude_work 2012-07-16T11:08:14 < cjbaird> Obivously I know more than 3 other programmers with non-6120's .. but the circumstances of Myself, Malcolm and Anton all whipping out the same model phone at the resturant to take down Charl's new number was bloody funny. :) 2012-07-16T11:09:06 < cjbaird> (..and then Fiona telling us off for not having smartphones, in spite of being super brainey computer people.. :P) 2012-07-16T11:10:23 < cjbaird> The only guy with a Windows Mobile phone has to use it because of work, lol. He carries a second phone.. 2012-07-16T11:11:10 < zyp> well, I guess you don't need a computer in your pocket if you never leave your home computer :p 2012-07-16T11:11:29 < cjbaird> exactly 2012-07-16T11:12:16 < cjbaird> 3G Data rates in Australia are fucking steep, too. 2012-07-16T11:12:38 < zyp> I'm kind of in the middle, I've got a smartphone, but it's a cheap one 2012-07-16T11:13:01 < zyp> not to mention old and slow 2012-07-16T11:13:12 < cjbaird> Finnish guy: "I have a torrent client on my phone!" Australian guy: ";_;" 2012-07-16T11:13:41 < zyp> I've considered replacing it with something more capable, but I don't want to spend money on it yet 2012-07-16T11:18:55 < zyp> I certainly like being able to check and write email as easy as if it were sms 2012-07-16T11:21:51 < cjbaird> I used to have a long-distance 2400 baud dial-up UUCP mail feed.. It's still cheaper than doing email via phone here. :/ 2012-07-16T11:23:41 -!- cjbaird is now known as cjbaird_away 2012-07-16T11:23:59 < zyp> I've got half a gig per month included in my plan 2012-07-16T11:24:07 < zyp> half a gig of data 2012-07-16T11:25:40 < zyp> I used to have a seperate $15 data plan for that, until I realized that it would be cheaper overall if I changed to another plan that includes both minutes, messages and data 2012-07-16T11:37:07 < dongs> zyp, whats the status of your f4 board 2012-07-16T11:37:09 < dongs> shelved due to failures? 2012-07-16T11:37:58 < zyp> no, I just haven't had time to do anything with it because of vacation 2012-07-16T11:42:59 < dongs> http://www.youtube.com/watch?v=Cf6mWQ8QreA a flyback link 2012-07-16T11:44:51 -!- izua [izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-16T11:46:27 < zyp> hmm, I was actually writing some code to test the gps one evening 2012-07-16T11:47:17 < zyp> got bored with that when I concluded that I couldn't get lock inside the hotel 2012-07-16T11:47:31 < dongs> heh 2012-07-16T11:47:48 < dongs> i got a cheapass MT3006 or wahtever shit that was kinda getting a bit of lock sitting on my window 2012-07-16T11:48:31 < zyp> I got time, but not position fix 2012-07-16T11:48:45 < dongs> i got time and a real shit position fix 2012-07-16T11:48:49 < dongs> like 3 or 4 sats 2012-07-16T11:52:15 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-16T11:59:26 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-16T12:17:52 -!- cjbaird_away is now known as cjbaird 2012-07-16T12:24:14 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-254-183.clienti.tiscali.it] has joined ##stm32 2012-07-16T12:34:09 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-16T12:56:04 -!- enots [dimka@freelsd.net] has quit [Ping timeout: 248 seconds] 2012-07-16T12:58:00 -!- izua [izua@2a02:2f01:1017:f001::bc1a:a56b] has joined ##stm32 2012-07-16T12:58:03 -!- izua [izua@2a02:2f01:1017:f001::bc1a:a56b] has quit [Changing host] 2012-07-16T12:58:03 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-16T12:58:06 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-16T13:15:20 < dongs> http://www.independent.co.uk/news/world/europe/circumcision-ban-is-the-worst-attack-on-jews-since-holocaust-7939593.html lool 2012-07-16T13:16:55 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-16T13:17:04 -!- claude_work is now known as claude 2012-07-16T13:17:17 -!- claude is now known as claude_work 2012-07-16T13:19:50 < zyp> «the right to circumcision on religious grounds» 2012-07-16T13:20:37 < dongs> sounds legit. 2012-07-16T13:21:44 < BusError> I understood all US guys were cut too, on "health" principles or something 2012-07-16T13:22:10 < BusError> like, the human race hasn't evolved with that piece of skin on, apparently 2012-07-16T13:25:24 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Quit: Leaving] 2012-07-16T13:26:22 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-16T13:27:18 -!- enots [dimka@freelsd.net] has joined ##stm32 2012-07-16T13:31:37 < cjbaird> Good luck getting into Porn with an uncut dick. 2012-07-16T13:35:01 < Laurenceb> lawl 2012-07-16T13:35:41 < Laurenceb> i pwn 2012-07-16T13:35:53 * Laurenceb just got shitloads of funding 2012-07-16T13:50:10 < dongs> sup 2012-07-16T13:50:17 < dongs> time to start trollcorp? 2012-07-16T13:50:23 < Laurenceb> maybes 2012-07-16T13:50:35 < dongs> I'll be on board as troll advisor 2012-07-16T13:50:44 < Laurenceb> lol 2012-07-16T13:51:22 < dongs> http://cdn3.nowaygirl.com/wp-content/uploads/2011/02/223686602.jpg what the fuck. 2012-07-16T13:57:58 < karlp> axes you why? 2012-07-16T13:59:35 -!- tavish3 [~tavish@120.59.36.170] has quit [Ping timeout: 244 seconds] 2012-07-16T14:01:20 -!- tavish3 [~tavish@120.56.173.94] has joined ##stm32 2012-07-16T14:12:14 < dongs> http://a1.sphotos.ak.fbcdn.net/hphotos-ak-snc6/178045_4207607278880_1271000981_o.jpg 2012-07-16T14:12:50 < Laurenceb> you get flooded yet dongs? 2012-07-16T14:13:29 -!- tavish3 [~tavish@120.56.173.94] has left ##stm32 [] 2012-07-16T14:14:28 < dongs> with? 2012-07-16T14:14:32 < dongs> nothing exciting ever happens here 2012-07-16T14:14:58 < zyp> with water, I guess 2012-07-16T14:15:15 < dongs> i just added up bom for tomtroll 2012-07-16T14:15:18 < zyp> I heard some talk about floods in the south 2012-07-16T14:15:28 < dongs> $3.76 2012-07-16T14:15:58 < zyp> did you count parts destroyed by bad soldering too? 2012-07-16T14:16:04 < karlp> dongs, you were quick to see that 2012-07-16T14:16:14 < karlp> that was on a friends' facebook from the weekend just now 2012-07-16T14:18:33 < cjbaird> I was camping in central Australia in a place looking a lot like that.. Damn, the idea didn't occur to me.. 2012-07-16T14:26:07 < Laurenceb> is there a timeout on sd card multiblock read? 2012-07-16T14:28:52 < karlp> who cares? we're talking about cocks. 2012-07-16T14:31:59 < zyp> whose? 2012-07-16T14:36:22 <+izua> made with stones in the desert 2012-07-16T14:37:03 <+izua> http://i8.photobucket.com/albums/a20/rehabreject1124/Matt%20Groening/Futurama-BenderHelpContinued.jpg 2012-07-16T14:40:56 -!- izua_ [izua@2a02:2f01:1017:f001::bc1a:a56b] has joined ##stm32 2012-07-16T14:40:57 -!- izua_ [izua@2a02:2f01:1017:f001::bc1a:a56b] has quit [Changing host] 2012-07-16T14:40:57 -!- izua_ [izua@unaffiliated/izua] has joined ##stm32 2012-07-16T14:41:00 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-16T14:41:46 < Thorn> quick, what's the situation? 2012-07-16T14:41:49 < karlp> made with stones on a volcano 2012-07-16T14:42:12 < Thorn> ^^ dongs reminded me of that 2012-07-16T14:42:41 <+izua_> made with lava 2012-07-16T14:43:03 -!- izua [izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-16T14:43:24 <+izua_> "i burnt my hands writing th████" 2012-07-16T14:44:03 <+izua_> █▉▊▋▌▍▎ ▏ 2012-07-16T14:45:51 -!- izua_ [izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-16T14:46:08 -!- izua_ [izua@2a02:2f01:1017:f001::bc1a:a56b] has joined ##stm32 2012-07-16T14:46:09 -!- izua_ [izua@2a02:2f01:1017:f001::bc1a:a56b] has quit [Changing host] 2012-07-16T14:46:09 -!- izua_ [izua@unaffiliated/izua] has joined ##stm32 2012-07-16T14:46:11 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-16T14:47:47 -!- izua_ [izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-16T14:48:35 -!- izua [izua@2a02:2f01:1017:f001::bc1a:a56b] has joined ##stm32 2012-07-16T14:48:36 -!- izua [izua@2a02:2f01:1017:f001::bc1a:a56b] has quit [Changing host] 2012-07-16T14:48:36 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-16T14:48:39 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-16T15:04:39 -!- izua [izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-16T15:04:57 -!- izua [izua@2a02:2f01:1017:f001::bc1a:a56b] has joined ##stm32 2012-07-16T15:04:58 -!- izua [izua@2a02:2f01:1017:f001::bc1a:a56b] has quit [Changing host] 2012-07-16T15:04:58 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-16T15:04:58 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-16T15:19:10 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-16T15:19:47 < Vutral> mhm 2012-07-16T15:21:16 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-16T15:26:10 < Laurenceb> arg 2012-07-16T15:26:20 < Laurenceb> mass storage still broken 2012-07-16T15:26:29 < Laurenceb> spent 2 weeks on this now 2012-07-16T15:27:01 < Laurenceb> end of files are screwed 2012-07-16T15:27:35 < Laurenceb> been staring at 10 lines of code for 2 weeks 2012-07-16T15:28:26 < zyp> good thing you've got funding, now you can afford to waste some more weeks to stare at the same ten lines 2012-07-16T15:29:27 < Laurenceb> lol 2012-07-16T15:29:41 < Laurenceb> its got to be something to do with timing 2012-07-16T15:29:47 < Laurenceb> as its so rare 2012-07-16T15:29:51 < Laurenceb> and hard to replicate 2012-07-16T15:30:15 < Laurenceb> and the only difference from the st code is timing 2012-07-16T15:30:26 < Laurenceb> but i thought sd cards didnt care 2012-07-16T15:33:40 < Laurenceb> https://github.com/Laurenceb/STM32-Logger/blob/master/Util/USB/memory.c#L130 2012-07-16T15:33:48 < Laurenceb> error is somewhere in there 2012-07-16T15:34:12 < Laurenceb> ST code that works is above 2012-07-16T15:36:25 < karlp> so, why did you stop using the code that worked? 2012-07-16T15:43:06 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Read error: Connection reset by peer] 2012-07-16T15:43:35 < zyp> it has too many spaces 2012-07-16T15:44:58 -!- Vutral_ [ss@vutral.net] has joined ##stm32 2012-07-16T15:51:16 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 272 seconds] 2012-07-16T15:52:26 < Laurenceb> st code is horribly slow 2012-07-16T15:52:37 < Laurenceb> mine is twice as fast but doesnt work 2012-07-16T15:52:43 < Laurenceb> - all the time 2012-07-16T15:52:50 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2012-07-16T15:53:12 < zyp> it's probably too fast 2012-07-16T15:54:35 < Laurenceb> yeah 2012-07-16T15:54:56 < Laurenceb> SIL write is non blocking 2012-07-16T16:00:23 < Laurenceb> no i cant see it 2012-07-16T16:00:55 < Laurenceb> cant see anything wrong 2012-07-16T16:03:05 < Laurenceb> so annoying -- most of the time it works 2012-07-16T16:05:23 < Laurenceb> wtf - i can run make in gdb 2012-07-16T16:06:57 < Laurenceb> the last read function just locks up my pc 2012-07-16T16:08:14 < Laurenceb> waiting for card ready 2012-07-16T16:08:19 < Laurenceb> ...forever 2012-07-16T16:14:10 < Laurenceb> maybe extra clk on the spi bus causes some sort of misalignment? 2012-07-16T16:17:37 -!- izua [izua@2a02:2f01:1017:f001::4f73:3efd] has joined ##stm32 2012-07-16T16:17:38 -!- izua [izua@2a02:2f01:1017:f001::4f73:3efd] has quit [Changing host] 2012-07-16T16:17:38 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-16T16:17:41 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-16T16:35:55 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-16T16:43:54 < Laurenceb> wtf 2012-07-16T16:44:18 < Laurenceb> when the files screw up they are full of RRaA 2012-07-16T16:44:42 < Laurenceb> the data buffer is at 0x20001008 == "RRaA" 2012-07-16T16:44:53 < Laurenceb> according to gdb 2012-07-16T16:45:24 < Laurenceb> wazzat mean 2012-07-16T16:45:53 < jpa-> but just the files? sometimes if debugger connection breaks, gdb reports the same value for any address :) 2012-07-16T16:53:57 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-16T17:00:32 < Laurenceb> arggg 2012-07-16T17:00:40 < Laurenceb> this is so confusing 2012-07-16T17:01:02 < Laurenceb> i think it may be write and ioctrl functions firing mid transfer 2012-07-16T17:01:15 < Laurenceb> but blocking them and same behaviour 2012-07-16T17:03:56 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-16T17:04:39 < jpa-> when you get USB mass storage working with libopencm3, package the code up and give it to me :) 2012-07-16T17:06:33 < Laurenceb> like never going to happen 2012-07-16T17:08:59 < Laurenceb> now i have bands of junk in my files 2012-07-16T17:09:02 < Laurenceb> epic wtf 2012-07-16T17:11:07 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-16T17:17:10 < Laurenceb> looks like it breaks on the 32nd block 2012-07-16T17:19:34 < Laurenceb> then it reads 0x00 with occasional 0x01 2012-07-16T17:22:42 < BusError> anyone got a clean CDC usb (possibly with stdio suppprt) for stm32f4 ? 2012-07-16T17:23:58 -!- izua_ [izua@86.126.9.67] has joined ##stm32 2012-07-16T17:23:59 -!- izua_ [izua@86.126.9.67] has quit [Changing host] 2012-07-16T17:23:59 -!- izua_ [izua@unaffiliated/izua] has joined ##stm32 2012-07-16T17:24:02 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-16T17:25:22 < Laurenceb> im using chibios 2012-07-16T17:25:27 < Laurenceb> works fine 2012-07-16T17:25:35 < Laurenceb> unlike mass stoRAGE 2012-07-16T17:26:55 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-16T17:28:40 -!- izua_ [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-16T17:35:17 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-16T17:36:45 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-16T17:38:28 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 2012-07-16T17:47:59 < Laurenceb> ok can anyone suggest whats causing this? 2012-07-16T17:48:14 < Laurenceb> https://github.com/Laurenceb/STM32-Logger/blob/master/Util/USB/memory.c#L142 2012-07-16T17:48:43 < Laurenceb> if i change that to just wait for MAL_TRANSFER_INDEX==0, which means transfer complete 2012-07-16T17:48:48 < Laurenceb> then it runs reliably 2012-07-16T17:49:34 < Laurenceb> otherwise it gets to about 32 blocks then starts giving zeros with the occasional 1 2012-07-16T17:50:23 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-16T18:36:14 -!- izua [izua@2a02:2f01:1017:f005::5679:2c2] has joined ##stm32 2012-07-16T18:36:15 -!- izua [izua@2a02:2f01:1017:f005::5679:2c2] has quit [Changing host] 2012-07-16T18:36:15 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-16T18:36:18 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-16T18:43:37 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Quit: leaving] 2012-07-16T18:47:40 < tech2077> hmm 2012-07-16T18:48:02 < tech2077> it seems my i2c busy flags goes on the moment that i enable the peripheral clocmk fo rit 2012-07-16T18:49:11 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 246 seconds] 2012-07-16T18:50:29 < zyp> well, are the bus at the correct idle level when you enable it? 2012-07-16T18:53:54 < tech2077> it's on 10k pullups 2012-07-16T18:54:23 < zyp> and you are certain nothing is pulling it down? 2012-07-16T18:55:32 < tech2077> pretty sure 2012-07-16T18:55:40 < Thorn> 10k is a lot 2012-07-16T18:55:56 < tech2077> should i make it a weaker pull up? 2012-07-16T18:56:21 < zyp> stronger if anything, but either way it's not related to this problem 2012-07-16T18:56:27 < tech2077> :/ 2012-07-16T18:56:38 < zyp> likely you don't have your AF stuff set up correctly 2012-07-16T18:57:36 < zyp> if the busy flag is set, the i2c peripheral is seeing activity (a low level) on one of the lines 2012-07-16T19:00:33 < dongs> http://i.imgur.com/teGGs.jpg lol 2012-07-16T19:01:00 < dongs> its me, mario! 2012-07-16T19:01:13 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-16T19:03:44 < tech2077> hmm 2012-07-16T19:15:51 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-16T19:15:55 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-16T19:16:32 < tech2077> it can't be my AF 2012-07-16T19:16:36 <+Steffanx> nu 2012-07-16T19:16:48 < tech2077> i set that up correctly 2012-07-16T19:17:10 < tech2077> i have pullups, my AF is correct and i have everything else seemingly setup correctly 2012-07-16T19:17:17 < tech2077> but this thing still gives a busy flag 2012-07-16T19:19:58 < Thorn> pastebin some code 2012-07-16T19:20:47 < Thorn> can you confirm you have stable logical 1 on both scl and sda btw? no noise or whatever? 2012-07-16T19:21:01 < zyp> tech2077, but what order are you configuring it in? 2012-07-16T19:21:25 < tech2077> order? 2012-07-16T19:21:41 < zyp> yes 2012-07-16T19:21:42 < tech2077> Thorn, stable logic 1 yes 2012-07-16T19:21:48 < tech2077> and order, i don't know 2012-07-16T19:22:03 < zyp> do you configure the AFs before enabling the i2c clock? 2012-07-16T19:22:04 < tech2077> i believe it's the correct order since it's the order dictated in the datasheet 2012-07-16T19:22:09 < tech2077> yes 2012-07-16T19:22:20 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-16T19:22:26 < zyp> pastebin the code 2012-07-16T19:23:00 < tech2077> http://pastebin.com/gU58RgQh 2012-07-16T19:24:37 < zyp> which mcu is this? 2012-07-16T19:24:58 < tech2077> f4 2012-07-16T19:25:29 <+Steffanx> notmain 2012-07-16T19:25:31 <+Steffanx> :D 2012-07-16T19:25:37 < tech2077> :) 2012-07-16T19:27:38 < zyp> your gpio settings doesn't seem to make sense 2012-07-16T19:28:14 < tech2077> for the i2c? 2012-07-16T19:28:29 < zyp> you're setting PB7 and PB8 to AF, but your comment says 6 and 7 2012-07-16T19:28:53 < tech2077> that was a last minute change since something on b6 seemed to be pulling it down 2012-07-16T19:29:48 < zyp> and then you're setting PB7 to AF4 (correct) and PB8 to AF8 (wtf?) 2012-07-16T19:29:48 < tech2077> since i have the discovery board and that's connected to the audio dac 2012-07-16T19:29:54 < tech2077> hmm 2012-07-16T19:30:01 < tech2077> that may be a problem :) 2012-07-16T19:30:12 < zyp> it should read (4<<0), not (4<<1) 2012-07-16T19:30:49 < tech2077> corrected that, still doesn't work :/ 2012-07-16T19:31:08 < zyp> still busy? 2012-07-16T19:31:21 < zyp> check GPIOBRegs->IDR 2012-07-16T19:31:26 <+izua> x << 0 is so pointless 2012-07-16T19:31:29 <+izua> why no X 2012-07-16T19:31:30 < zyp> are bits 7 and 8 set? 2012-07-16T19:31:59 < zyp> izua, to be consistent 2012-07-16T19:32:22 <+izua> yeah, but it's not x << y 2012-07-16T19:32:27 <+izua> you have to type more just to type more 2012-07-16T19:33:09 < tech2077> just for consistancy 2012-07-16T19:33:20 < tech2077> code goes to hell if you leave out the little things 2012-07-16T19:33:50 < zyp> you should get an abstraction around that 2012-07-16T19:34:10 < tech2077> :) 2012-07-16T19:34:36 < tech2077> once most everything works consistently, i'll work on making it look nice 2012-07-16T19:34:52 < zyp> http://cgit.jvnv.net/suzumebachi/tree/hal/pin.h?h=stm32f4 <- I think mine turned out quite nice 2012-07-16T19:34:53 < tech2077> right now i'm just familiarizing myself with all the peripherals 2012-07-16T19:35:10 < tech2077> nice 2012-07-16T19:36:03 < tech2077> i should probably switch over to C++ 2012-07-16T19:36:09 < tech2077> this would work nice with classes 2012-07-16T19:36:19 < tech2077> but this i2c problem is really distracting 2012-07-16T19:37:24 < zyp> http://cgit.jvnv.net/suzumebachi/tree/hal/i2c.h?h=stm32f4 <- oh, I got working i2c as well 2012-07-16T19:37:30 < zyp> but it's a bit messy 2012-07-16T19:38:24 < zyp> static and non-static parts are all messed together 2012-07-16T19:38:49 <+Steffanx> Hey, it's hobby bobby code :P 2012-07-16T19:41:01 -!- claude_work is now known as Claude 2012-07-16T19:41:44 < tech2077> maybe open drain 2012-07-16T19:41:46 < tech2077> hmm 2012-07-16T19:42:03 < zyp> yes, i2c have to be open drain 2012-07-16T19:43:15 < tech2077> still no :/ 2012-07-16T19:43:57 < Thorn> I've seen stm32 gpio implemented with templates (with non-type parameters for pins etc.) somewhere 2012-07-16T19:45:19 < zyp> I think I considered that, but concluded it doesn't have any real advantage 2012-07-16T19:46:37 < zyp> my class optimizes down to an inlined register read and/or write 2012-07-16T19:47:17 < zyp> so a template based implementation wouldn't be any more efficient 2012-07-16T19:48:03 < tech2077> still a busy flag on enable 2012-07-16T19:48:09 < tech2077> wtf is wrong with this thing 2012-07-16T19:48:09 < zyp> also, my class can be passed as simple references of the type Pin& 2012-07-16T19:48:24 < zyp> tech2077, try reading GPIOBRegs->IDR 2012-07-16T19:48:29 < zyp> what does it read? 2012-07-16T19:51:07 < tech2077> 0 2012-07-16T19:52:30 < zyp> what? 2012-07-16T19:52:38 < zyp> then both lines are low? 2012-07-16T19:52:49 < tech2077> ! 2012-07-16T19:53:07 < tech2077> wtf 2012-07-16T19:55:22 -!- dekar [~dekar@dslb-088-069-153-188.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-07-16T20:02:46 < Thorn> do IDR bits still make sense for open drain pins? 2012-07-16T20:03:37 < tech2077> seems that i had the wrong memory address for GPIOB 2012-07-16T20:03:42 < tech2077> but it still doesn't work :/ 2012-07-16T20:03:51 < tech2077> the pins do show up high though 2012-07-16T20:04:22 < Thorn> a week later: looks like I might as well try the standard peripherals library 2012-07-16T20:04:40 < tech2077> heh 2012-07-16T20:04:42 < tech2077> likely 2012-07-16T20:05:16 < Thorn> or at least the register address / field definitions in the CMSIS folder 2012-07-16T20:16:12 < tech2077> likely 2012-07-16T20:19:22 -!- izua [izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-16T20:20:00 < zyp> Thorn, of course they do 2012-07-16T20:20:10 < zyp> IDR always reflect the true state of the pin 2012-07-16T20:21:54 < tech2077> IT WORKS! 2012-07-16T20:22:05 < tech2077> and i hate myself a little.. 2012-07-16T20:22:52 < tech2077> being off a single place in a memory address made me debug for 2-3 days 2012-07-16T20:23:39 < Thorn> that's why hardworking people at ST supply you with peripheral definitions 2012-07-16T20:24:57 < tech2077> :) 2012-07-16T20:24:59 <+Steffanx> Shit happens 2012-07-16T20:25:04 < tech2077> yes it does 2012-07-16T20:25:51 -!- phantone [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-16T20:27:09 < tech2077> hmm 2012-07-16T20:28:40 < tech2077> my sck line is maxing 1v 2012-07-16T20:28:54 < tech2077> while my sda is vmaxing 3.3v 2012-07-16T20:28:57 < tech2077> weird 2012-07-16T20:29:13 < zyp> are you running it in push-pull? 2012-07-16T20:29:58 < Thorn> you mean the amplitude is from 0 to 1V? 2012-07-16T20:30:54 < tech2077> zyp, open-drain 2012-07-16T20:31:01 < tech2077> Thorn, yes 2012-07-16T20:31:36 < Thorn> but when idle it's 3.3V? 2012-07-16T20:34:02 < tech2077> yes 2012-07-16T20:34:08 < tech2077> since it's pulled up 2012-07-16T20:34:20 < tech2077> on sda 2012-07-16T20:34:39 < tech2077> on sck, it's idle at 1.1v 2012-07-16T20:35:02 < Thorn> pullup too weak? 2012-07-16T20:35:16 < zyp> 10k too weak? no way. 2012-07-16T20:35:26 < Thorn> sda pulses are longer so it has time to return to 3.3V 2012-07-16T20:35:37 < zyp> he said idle 2012-07-16T20:35:44 < Thorn> I've seen some horrible things with 10K (although not 1.1V) 2012-07-16T20:36:10 < zyp> outputting 1.1V, you probably have something pulling down and something pulling up at the same time 2012-07-16T20:38:13 < zyp> I can't see you setting GPIOBRegs->OTYPER anywhere in your paste 2012-07-16T20:38:29 < tech2077> no, it works 2012-07-16T20:38:34 < zyp> are you sure you really have enabled open drain? 2012-07-16T20:38:42 < tech2077> i think my probe is broken 2012-07-16T20:38:52 < tech2077> i seem to be embodying murphy's law today 2012-07-16T20:39:16 <+Steffanx> or you are just pebkecing 2012-07-16T20:39:22 < tech2077> ? 2012-07-16T20:39:43 <+Steffanx> The typorized version of pebkac-ing 2012-07-16T20:40:11 < tech2077> maybe :) 2012-07-16T20:41:07 <+Steffanx> Hmpf, i have this nice laser scanner 2012-07-16T20:41:19 <+Steffanx> but the manufacturer doesn't want to give me the docs :( 2012-07-16T20:42:20 <+Steffanx> I don't understand why.. i'm such a nice person 2012-07-16T20:42:28 -!- dekar [~dekar@212.255.17.252] has joined ##stm32 2012-07-16T20:42:33 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-16T20:44:42 < Thorn> I want a tek 2465b 2012-07-16T20:44:55 <+Steffanx> I want 200.000.000 euro 2012-07-16T20:45:29 <+Steffanx> I also accept 1% of that 2012-07-16T20:45:39 < tech2077> damn 2012-07-16T20:45:46 < tech2077> i seems i have a broken oscope probe 2012-07-16T20:46:00 < tech2077> luckily i have my second one, but this is a pain in the ass 2012-07-16T20:46:59 < tech2077> or maybe it's not borken 2012-07-16T20:47:05 <+Steffanx> no it's not 2012-07-16T20:47:19 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-16T20:47:31 < tech2077> no, on a regulated 3v3 line it was showing 1.8 with proper settings 2012-07-16T20:47:41 < tech2077> i unplugged the probe and plugged it back in 2012-07-16T20:47:49 < tech2077> it shows 3v3 now 2012-07-16T20:49:53 <+Steffanx> Some manufacturers put this weird black stuff on top of the ICs on a pcb.. what's that stuff and how to remove it? :) 2012-07-16T20:50:02 <+Steffanx> Black epoxy or something? 2012-07-16T20:50:05 < tech2077> yep 2012-07-16T20:50:21 < tech2077> but it may be a die bond 2012-07-16T20:50:30 < tech2077> not an ic 2012-07-16T20:50:54 <+Steffanx> It's just some black crap to cover the text on the IC 2012-07-16T20:51:06 < tech2077> is it fully covered? 2012-07-16T20:51:21 <+Steffanx> Only the top of the package 2012-07-16T20:51:29 < tech2077> ah 2012-07-16T20:51:39 < tech2077> yeah, likely black epoxy 2012-07-16T20:56:27 < jpa-> it's starting to seem quite certain that all STM32F103 256kB models have actually 512kB of flash 2012-07-16T20:57:49 <+Steffanx> uh? 2012-07-16T20:58:22 < Thorn> such as stm32f103vct6 that I used in every project to date? 2012-07-16T20:58:48 < zyp> devil's proof 2012-07-16T20:58:56 < jpa-> Thorn: yes, exactly that 2012-07-16T20:59:10 <+Steffanx> Why you think that jpa- ? 2012-07-16T20:59:35 < jpa-> Steffanx: been asking people to test on their DSO Quads 2012-07-16T21:03:07 <+Steffanx> Thorn tried your PoC too? 2012-07-16T21:04:14 < Thorn> I haven't 2012-07-16T21:06:00 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 250 seconds] 2012-07-16T21:24:53 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-16T21:25:04 < TitanMKD> hi 2012-07-16T21:25:08 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2012-07-16T21:25:11 <+Steffanx> lo 2012-07-16T21:29:20 < Thorn> Eagle-eyed readers will note that Vbe is now quoted as 0.7 V rather than 0.6 V. BBC-designed equipment ran hot in its bay, so 0.6 V was appropriate, but Higher Education cannot afford such high ambient temperatures, so 0.7 V is more common. 2012-07-16T21:32:43 <+Steffanx> uh? 2012-07-16T21:33:16 <+Steffanx> Random quote Th? 2012-07-16T21:33:19 <+Steffanx> Thorn 2012-07-16T21:33:41 < Thorn> from a random book 2012-07-16T21:43:34 <+Steffanx> a book with random quotes? 2012-07-16T21:45:07 < jpa-> at first i thought "eagle-eyed" means noobs using eagle :P 2012-07-16T21:47:51 <+Steffanx> haha 2012-07-16T21:51:19 -!- Xamusk [~X@177.99.206.19] has joined ##stm32 2012-07-16T22:05:38 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-16T22:14:01 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-16T22:59:42 -!- Xamusk [~X@177.99.206.19] has quit [Ping timeout: 252 seconds] 2012-07-16T23:01:16 -!- lawrenceseattle [~anonymous@66.192.187.106] has joined ##stm32 2012-07-16T23:07:02 < TitanMKD> bye 2012-07-16T23:07:06 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-16T23:37:21 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-16T23:50:56 < Laurenceb_> hmm i may have an insight into my mass stoRAGE 2012-07-16T23:51:06 < Laurenceb_> it screws up after a write takes place 2012-07-16T23:51:19 < Laurenceb_> and the dma buffer never updates 2012-07-16T23:51:28 < Laurenceb_> even tho the hardware seems to be running 2012-07-16T23:52:16 < Laurenceb_> i dont have hardware setup atm :( but if i compile with the buffer volatile the code is different 2012-07-16T23:52:26 < Laurenceb_> i think its optimising in some weird way 2012-07-16T23:55:07 < Laurenceb_> its annoying as the buffer pointer gets passed between loads of functions, if its typecast as non volatile in any place the code is the same 2012-07-16T23:55:30 < Laurenceb_> but if its volatile all the way a bunch of optimisations go out --- Day changed Tue Jul 17 2012 2012-07-17T00:23:46 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 246 seconds] 2012-07-17T00:24:00 < Laurenceb_> damn gcc you crazy 2012-07-17T00:24:10 < Laurenceb_> its practically rewritten everything 2012-07-17T00:24:14 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-254-183.clienti.tiscali.it] has quit [Ping timeout: 244 seconds] 2012-07-17T00:39:36 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has joined ##stm32 2012-07-17T00:39:51 -!- szczys [~mike@68-117-130-137.dhcp.mdsn.wi.charter.com] has joined ##stm32 2012-07-17T01:07:10 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 246 seconds] 2012-07-17T01:22:43 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-17T01:23:30 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has quit [Client Quit] 2012-07-17T01:23:50 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-17T01:53:43 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-17T02:46:23 -!- metaxa [metaxa@members.bombshellz.net] has quit [Ping timeout: 245 seconds] 2012-07-17T03:03:17 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2012-07-17T03:18:29 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2012-07-17T03:19:58 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-17T03:26:29 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [] 2012-07-17T03:32:39 < dongs> commence blog 2012-07-17T03:32:52 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Ping timeout: 252 seconds] 2012-07-17T03:38:00 < tech2077> ? 2012-07-17T03:45:30 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-17T03:49:56 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Ping timeout: 248 seconds] 2012-07-17T03:51:51 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has joined ##stm32 2012-07-17T03:53:33 -!- Xamusk [~X@189.123.3.189] has joined ##stm32 2012-07-17T03:56:14 -!- josepharmbruster [~josepharm@rrcs-71-43-22-150.se.biz.rr.com] has quit [Read error: Operation timed out] 2012-07-17T04:02:55 -!- josepharmbruster [~josepharm@71.43.22.150] has joined ##stm32 2012-07-17T04:09:10 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has quit [Ping timeout: 252 seconds] 2012-07-17T04:11:03 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Ping timeout: 244 seconds] 2012-07-17T04:25:40 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-17T04:26:24 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 252 seconds] 2012-07-17T04:48:26 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-17T04:49:30 -!- peabody128 [~peabody12@128.249.96.123] has joined ##stm32 2012-07-17T04:53:16 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 246 seconds] 2012-07-17T04:53:54 -!- peabody128 [~peabody12@128.249.96.123] has quit [Ping timeout: 252 seconds] 2012-07-17T04:56:10 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-17T05:04:10 -!- Xamusk [~X@189.123.3.189] has quit [Ping timeout: 252 seconds] 2012-07-17T05:16:36 < dongs> i guess picking bourns wasnt a bad idea 2012-07-17T05:16:39 < dongs> china price is even less than digikey 2012-07-17T05:19:47 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-17T05:19:54 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-17T05:35:52 < tech2077> yay, ported my code over to cmsis 2012-07-17T05:36:16 < tech2077> still do bit fiddling, but at least i have the structs made already 2012-07-17T05:37:30 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-17T06:09:33 < dongs> ^ lol 2012-07-17T06:09:39 < dongs> whats next, youre gonna use stdperiphlib??! 2012-07-17T06:25:00 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-17T06:32:52 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-17T06:40:53 < tech2077> dongs, nope 2012-07-17T06:41:19 < tech2077> i'll use it when i'm actually working on a large project 2012-07-17T06:49:07 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has quit [Ping timeout: 246 seconds] 2012-07-17T07:05:05 -!- R0b0t1 [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has joined ##stm32 2012-07-17T07:05:06 -!- R0b0t1 [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has quit [Changing host] 2012-07-17T07:05:06 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-17T07:05:07 -!- R0b0t1_ [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has joined ##stm32 2012-07-17T07:05:18 -!- R0b0t1_ [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has quit [Read error: Connection reset by peer] 2012-07-17T07:13:27 -!- R0b0t1_ [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has joined ##stm32 2012-07-17T07:13:32 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Quit: Leaving] 2012-07-17T07:13:57 -!- R0b0t1_ is now known as R0b0t1 2012-07-17T07:14:07 -!- R0b0t1 [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has quit [Changing host] 2012-07-17T07:14:07 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-17T07:26:37 < tech2077> does one usart module get HPCLK and the other LPCLK 2012-07-17T07:27:37 < zippe> "the other"? 2012-07-17T07:27:50 < zippe> There are some on P1 and others on P2 2012-07-17T08:02:06 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 245 seconds] 2012-07-17T08:34:14 < tech2077> bad wording, but i think you solved my question 2012-07-17T08:37:09 < dongs> blogup 2012-07-17T08:42:24 < dongs> http://eyetap.blogspot.jp/2012/07/physical-assault-by-mcdonalds-for.html haha 2012-07-17T09:23:35 -!- tavish3 [~tavish@120.59.45.83] has joined ##stm32 2012-07-17T09:29:04 < dongs> if I wanted to have 8 ttl uart outputs from stm32, whats hte best way to do that? 2012-07-17T09:29:27 < dongs> just output, no input 2012-07-17T10:03:37 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-17T10:38:28 < dongs> if the're all same rate etc, i should only need like one timer to clock that shite out rite. 2012-07-17T10:41:52 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-07-17T10:42:18 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Client Quit] 2012-07-17T10:42:38 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-07-17T10:43:31 < zyp> you thinking soft-serial? 2012-07-17T10:43:38 < zyp> yeah 2012-07-17T10:44:09 < dongs> yes 2012-07-17T10:44:35 < dongs> it sounds like job for cpld really but i dont think t hats gonna work 2012-07-17T10:45:08 < zyp> depends on what you need to do 2012-07-17T10:45:24 < dongs> just that. 2012-07-17T10:45:36 < zyp> if only one will be sending at a time, you can use a single uart and a demux 2012-07-17T10:45:39 < dongs> dump data out of x serial ports at 250kbit 2012-07-17T10:45:40 < dongs> no 2012-07-17T10:45:42 < dongs> all at once 2012-07-17T10:45:47 < dongs> but data is static 2012-07-17T10:45:49 < zyp> at the exact same rate? 2012-07-17T10:45:52 < dongs> yes 2012-07-17T10:45:59 < dongs> same rate, but different data 2012-07-17T10:46:20 < zyp> then you just make a soft-uart with a timer, and instead of updating one pin in the isr, you update eight 2012-07-17T10:46:37 < dongs> right 2012-07-17T10:47:01 < dongs> i wonder if i can negro something up with CPLD and spi though 2012-07-17T10:47:12 < dongs> dump 8x rate stream over spi to cpld 2012-07-17T10:47:25 < zyp> hmm, that could work 2012-07-17T10:47:31 < dongs> and there just demux and send it out through pins 2012-07-17T10:47:39 < zyp> doesn't sound unfeasible 2012-07-17T10:48:26 < zyp> just a shift register, output latch and a counter that triggers the output latch on every eight bit 2012-07-17T10:48:33 < dongs> yeah 2012-07-17T10:48:36 < zyp> then you just run it at eight times the baudrate 2012-07-17T10:49:13 < dongs> and with spi i can dma it 2012-07-17T10:49:21 < dongs> instead of processing each bit with software uart-type shit 2012-07-17T10:49:31 < dongs> i'd have to preprocess data on the host 2012-07-17T10:49:33 < dongs> to inverleave the bits 2012-07-17T10:49:37 < dongs> but i dont think thats an issue 2012-07-17T10:50:43 < zyp> you could probably have a timer trigger dma to gpio if you can dedicate one gpio port for the purpose 2012-07-17T10:51:03 < dongs> you meane like 8bit transfers? 2012-07-17T10:51:18 < zyp> I mean just have it write to GPIOx.ODR 2012-07-17T10:51:54 < zyp> I'm not sure if you could only write lower 8 bits 2012-07-17T10:51:56 < zyp> hmm 2012-07-17T10:52:10 < zyp> oh, you could just write to BSRR 2012-07-17T10:52:16 < zyp> if you just preprocess data that way 2012-07-17T10:53:51 < dongs> oh. 2012-07-17T10:54:00 < dongs> hm thats neat 2012-07-17T10:54:04 < dongs> you mean for software uart shit 2012-07-17T10:54:11 < dongs> i can just prepare the byte that goes to 8 channels 2012-07-17T10:55:50 < zyp> yes 2012-07-17T10:58:56 < dongs> shit, thats too easy 2012-07-17T11:00:14 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-17T11:03:02 < dongs> there's always a startbit right? 2012-07-17T11:03:07 < dongs> this shit is 2stopbit, no parity 2012-07-17T11:12:42 < zyp> start bit is 0, stopbit is 1 2012-07-17T11:12:55 < zyp> so just insert a 0 bit first and two 1-bits 2012-07-17T11:13:08 < zyp> at the end 2012-07-17T11:14:21 < dongs> hmm 2012-07-17T11:14:25 < dongs> i guess i dont even need to send that data right 2012-07-17T11:14:30 < dongs> since its always same 2012-07-17T11:14:37 < dongs> just have some counter that outputs framing shit 2012-07-17T11:14:42 < dongs> and then just dump 8bytes 2012-07-17T11:19:06 < zyp> if you're doing dma, just have an array of 11 words, with the first being the start-bit and the two last being the stop bits 2012-07-17T11:19:19 < dongs> does that mean i'd have to prepare that from host? 2012-07-17T11:20:24 < zyp> are you thinking about spi+cpld or dma+timer now? 2012-07-17T11:23:42 < dongs> dma timer seems a lot easier 2012-07-17T11:23:49 < dongs> and cheaper 2012-07-17T11:24:00 < dongs> and i can prototype this today instead of in a couple days w/cpld 2012-07-17T11:24:26 < dongs> hm maybe i can just do double-buffer sorta thing 2012-07-17T11:24:36 < dongs> fill up 8bytes + startstop shit in 2 buffers, 2012-07-17T11:24:41 < dongs> while clocking out one, fill up the other one 2012-07-17T11:24:43 < dongs> and swap them at the end 2012-07-17T11:24:57 < dongs> which timer mode lets me do this gpio dma? trigger or something? 2012-07-17T11:26:18 < dongs> found it 2012-07-17T11:26:21 < zyp> you just configure a timer to generate dma requests on update events, and then configure the corresponding dma channel to write to GPIOx.BSRR 2012-07-17T11:26:22 < dongs> triggering dma transfers using a timer 2012-07-17T11:26:24 < dongs> yeah 2012-07-17T11:27:39 < dongs> now i gotta gloat to tarduino guys 2012-07-17T11:27:39 < zyp> and then you just prepare an array of words to write to BSRR with either the set-bit or reset-bit for a pin set, depending on whether it should be set high or low 2012-07-17T11:27:41 < dongs> lets see them do THAT 2012-07-17T11:33:36 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-17T11:33:47 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-17T11:41:57 < dongs> 4us symbol length 2012-07-17T11:56:32 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Remote host closed the connection] 2012-07-17T12:01:18 < jpa-> i did bitbang-SPI using that BSRR & DMA trick.. streams data on the fly from filesystem and uses DMA interrupts to convert them to words ready to be written to BSRR 2012-07-17T12:01:37 < jpa-> you ask why? because some idiot (not me) didn't hook the SPI bus to SPI pins 2012-07-17T12:02:47 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-17T12:04:44 < zyp> good 2012-07-17T12:04:56 < zyp> then I know it does work in practice too, and not just in my head :p 2012-07-17T12:12:48 < dongs> BSRR is how wide? 16bit rieght? 2012-07-17T12:12:53 < dongs> i can do a full 16bit port this way too I guess? 2012-07-17T12:13:18 < zyp> 32 2012-07-17T12:13:25 < zyp> 16 bits of set and 16 bits of reset 2012-07-17T12:13:36 < zyp> and yes, you can use all 16 bits if you want 2012-07-17T12:19:29 < dongs> wait waht 2012-07-17T12:19:40 < dongs> the set/reset shit is separate? 2012-07-17T12:19:56 < dongs> why cant i just use ODR? 2012-07-17T12:23:42 < zyp> you can, but that would overwrite other shit in ODR 2012-07-17T12:23:47 < dongs> like hwat? 2012-07-17T12:23:53 < zyp> pins not used for uart 2012-07-17T12:24:01 < dongs> but i dont care? 2012-07-17T12:24:03 < dongs> thats asll teh chip does 2012-07-17T12:24:10 < zyp> BSRR would leave alone the other pins 2012-07-17T12:24:24 < dongs> i mean its gonna be either 8 or 16 channels of uart 2012-07-17T12:24:30 < dongs> nothing else on that port 2012-07-17T12:24:50 < zyp> then ODR is fine 2012-07-17T12:25:21 < dongs> Ok. 2012-07-17T12:27:14 < dongs> hmm 2012-07-17T12:27:20 < dongs> whatst his ST TMC shit taht shows up in jtag chain 2012-07-17T12:27:35 < dongs> is that flash? 2012-07-17T12:28:11 < dongs> lol all openocd spam on google 2012-07-17T12:29:43 < zyp> huh? 2012-07-17T12:29:57 < zyp> iirc you'll find two TAPs on the jtag chain 2012-07-17T12:29:58 < dongs> this evalboard acutally has jtag connected 2012-07-17T12:30:00 < dongs> yea 2012-07-17T12:30:07 < dongs> so thre's the core and st tmc 2012-07-17T12:30:17 < zyp> one is the cortex, one is the stuff for doing boundary scan of the chip itself 2012-07-17T12:30:26 < dongs> anything hax0r in that? 2012-07-17T12:30:46 < dongs> i.e. can you leech flash memory from ROP'd chip with thaT? heh 2012-07-17T12:30:58 < zyp> no idea 2012-07-17T12:31:33 < zyp> I'm just assuming it's for normal jtag usage, like boundary scan for testing boards during production 2012-07-17T12:31:53 < zyp> like jtag were orginally designed for 2012-07-17T12:32:47 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has joined ##stm32 2012-07-17T12:35:02 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-17T12:36:59 < dongs> TIM_DMA_Update? this shit? 2012-07-17T12:37:16 < dongs> hm mno 2012-07-17T12:39:54 < dongs> I can do this on F1 right? i see F4 has some dma trigger shit but im not doing this on f4. 2012-07-17T12:40:59 < dongs> i can set tim_trgosource to update but how do i make dma catch that. 2012-07-17T12:51:44 * Laurenceb found some interesting stuff at Farnborough airshow 2012-07-17T12:52:07 < Laurenceb> there was a scan eagle uav prototype on Boeing stand, and no staff 2012-07-17T12:52:15 < Laurenceb> so obviously i dismantled it 2012-07-17T12:52:31 < dongs> lolwut 2012-07-17T12:52:51 < zyp> ha 2012-07-17T12:53:04 < zyp> found anything fun? 2012-07-17T12:53:12 < dongs> probably foudn gyros on pcb standofs 2012-07-17T12:53:13 < Laurenceb> mlx90609 gyros 2012-07-17T12:53:16 < Laurenceb> yes 2012-07-17T12:53:19 < Laurenceb> on standoffs 2012-07-17T12:53:31 < Laurenceb> also a garmin gps 2012-07-17T12:53:42 < Laurenceb> mounted to the top with double sided foam pads 2012-07-17T12:53:58 < Laurenceb> and cheap rc servos 2012-07-17T12:54:02 < dongs> lol 2012-07-17T12:54:22 < Laurenceb> some sort of custom imu tho 2012-07-17T12:54:27 < dongs> hmm, so zyp, I dont wanna start a dma transfer for a single byte on each timer update, surely thats not waht you meant? 2012-07-17T12:54:33 < Laurenceb> the mlx90609 was for the camera 2012-07-17T12:54:37 < dongs> < zyp> you just configure a timer to generate dma requests on update events 2012-07-17T12:54:41 < Laurenceb> which use stepper motors 2012-07-17T12:54:42 < dongs> how do i do this? 2012-07-17T12:54:44 < Laurenceb> *used 2012-07-17T12:55:07 < Laurenceb> and some sort of custom high torque brushless actuators to take out the vibration 2012-07-17T12:55:23 < Laurenceb> then a peltier cooled long wave ir camera 2012-07-17T12:55:41 < zyp> dongs, hang on, I'll have to check the rm then 2012-07-17T12:55:53 < zyp> you said F1? 2012-07-17T12:55:53 < Laurenceb> the radio hardware was interesting 2012-07-17T12:55:56 < dongs> yea f1 2012-07-17T12:56:01 < dongs> i see some dma trigger shit on DAC for F4 2012-07-17T12:56:06 < dongs> but im not seeing much else 2012-07-17T12:56:06 < Laurenceb> they use a fibreglass panel on bottom 2012-07-17T12:56:19 < Laurenceb> then stuck copper tape to it to make a ground plane 2012-07-17T12:56:31 < Laurenceb> and had 900mhz radio link with stubby ant 2012-07-17T12:56:39 < dongs> did you take HD pics 2012-07-17T12:56:55 < Laurenceb> nah, no cameras allowed 2012-07-17T12:57:04 < dongs> surely that didnt stop you from bringing one 2012-07-17T12:57:10 < Laurenceb> lawl 2012-07-17T12:57:27 < zyp> dongs, page 273, table 78 2012-07-17T12:57:30 < dongs> lookin 2012-07-17T12:57:34 < Laurenceb> http://www.sparkfun.com/products/8370 2012-07-17T12:57:40 < zyp> use one of the TIMx_UP events 2012-07-17T12:57:47 < Laurenceb> they had rolled their own boards tho 2012-07-17T12:58:13 < Laurenceb> its quite a nice gyro - low temperature drift 2012-07-17T12:58:33 < Laurenceb> but its ceramic - i broke two boards with liquid nitrogen 2012-07-17T12:58:56 < zyp> dongs, UDE bit in TIMx.DIER will enable the TIMx_UP DMA request 2012-07-17T12:59:38 < zyp> it's similar to UIE to enable the TIMx_UP IRQ, but it's a DMA request, not an interrupt 2012-07-17T12:59:59 < Laurenceb> http://www.theregister.co.uk/2012/07/17/pi_ascent/ 2012-07-17T13:00:01 < Laurenceb> lol 2012-07-17T13:01:07 < dongs> ok, i think im getting somewehre 2012-07-17T13:02:30 < dongs> so my periphral base a ddress is GPIOx->ODR 2012-07-17T13:02:37 < dongs> and source is 11byte block of shit to dump to it 2012-07-17T13:02:45 < dongs> then i do that, and trigger update in DMA_TC interrupt 2012-07-17T13:02:51 < dongs> to swap memory block to next one 2012-07-17T13:03:03 < zyp> yes 2012-07-17T13:03:13 < dongs> hmm.. sounds like i can do more htan 11 bytes at a time... 2012-07-17T13:03:18 < dongs> wahts the limit on dma? 2012-07-17T13:04:11 < dongs> looks like PAxx is the only one that i have fully available on F1/48pin 2012-07-17T13:04:13 < zyp> it's a 16-bit counter, so 64 kilowords 2012-07-17T13:04:43 < zyp> if you use BSRR you don't have to worry about having a dedicated port, you could use any free pins on a port 2012-07-17T13:04:59 < dongs> but then i have to split data into set bits and reset bits? 2012-07-17T13:05:03 < zyp> but you would have to transfer 11 32-bit words instead 2012-07-17T13:05:04 < zyp> yes 2012-07-17T13:05:15 < dongs> for POC ill do ODR for now 2012-07-17T13:05:25 < zyp> but that's just doing a 16-bit shift when you're splitting bytes into bits 2012-07-17T13:05:31 < dongs> if pin is not configured for GPIO (like say uart) and I touch odr, does it change? 2012-07-17T13:06:05 < dongs> no right? 2012-07-17T13:06:25 < zyp> IIRC ODR is ignored when pin is in AF mode 2012-07-17T13:06:29 < dongs> ok. 2012-07-17T13:06:52 < zyp> foodtime 2012-07-17T13:06:57 < dongs> funtime. 2012-07-17T13:12:45 -!- pelrun [~pelrun@14-202-70-213.static.tpgi.com.au] has joined ##stm32 2012-07-17T13:12:54 < dongs> haha i think it worked 2012-07-17T13:13:13 < pelrun> I am hesitant to ask 2012-07-17T13:13:28 < dongs> sup? 2012-07-17T13:13:31 < pelrun> hey 2012-07-17T13:14:07 < Laurenceb> static volatile uint8_t Data[514]; 2012-07-17T13:14:11 < Laurenceb> ^is that valid? 2012-07-17T13:14:18 < dongs> why not 2012-07-17T13:14:22 < Laurenceb> is volatile in the right place 2012-07-17T13:14:36 < Laurenceb> grrr 2012-07-17T13:14:43 < Laurenceb> mass storage still broken 2012-07-17T13:16:14 < Laurenceb> anyone got a copy of the SD card spec? 2012-07-17T13:16:20 < Laurenceb> i cant find the full document online 2012-07-17T13:19:08 < tech2077> it appears that usart doesn't like 115200 buad with a 42mhz pclk 2012-07-17T13:19:26 < tech2077> most i can go is 57600 before it just stops functioning 2012-07-17T13:20:22 < karlp> what? 2012-07-17T13:20:33 < tech2077> ah, there it goes 2012-07-17T13:21:08 < tech2077> i should probably not be developing at 5:20 am 2012-07-17T13:21:24 < tech2077> needed to increase gpio speed 2012-07-17T13:21:28 < karlp> hehe 2012-07-17T13:22:09 < Laurenceb> grrrr 2012-07-17T13:22:21 < Laurenceb> i havent the slightest idea wtf is wrong now 2012-07-17T13:22:24 < Laurenceb> after 2 weeks 2012-07-17T13:22:39 < Laurenceb> looks like i can read 32blocks 2012-07-17T13:22:40 < zyp> same thing that was wrong two weeks ago 2012-07-17T13:22:47 < Laurenceb> then i get zeros 2012-07-17T13:22:58 < Laurenceb> with about one 1 every 1000 bits 2012-07-17T13:23:16 < Laurenceb> it only happens some of the time 2012-07-17T13:23:23 < Laurenceb> about one in 3 times 2012-07-17T13:23:35 < Laurenceb> other times everything works correctly 2012-07-17T13:24:30 < Laurenceb> ill spend another 2 weeks on this then give up i think 2012-07-17T13:26:24 < dongs> hm 2012-07-17T13:26:29 < dongs> i guess my dma size needs to be 16bit 2012-07-17T13:27:09 < dongs> yep 2012-07-17T13:27:11 < dongs> worked. 2012-07-17T13:30:03 < dongs> hm wait.. its not calling on each update its calling when period overflows.. hm 2012-07-17T13:32:09 < zyp> huh? update is when the timer overflows. 2012-07-17T13:32:20 < dongs> is it? 2012-07-17T13:32:28 < zyp> yes 2012-07-17T13:32:37 < zyp> when would it else be? 2012-07-17T13:32:42 < dongs> like each time it ticks... 2012-07-17T13:32:47 < dongs> like say systick update interupt ;p 2012-07-17T13:34:08 < jpa-> https://github.com/PetteriAimonen/QuadPawn/blob/fpga_loader/Runtime/fpga.c there's my software SPI by BSRR DMA code 2012-07-17T13:35:20 < dongs> ya looks about same as my shit. 2012-07-17T13:36:52 < dongs> huh. hmm 2012-07-17T13:39:00 < dongs> it outputs 2 bits and dies. 2012-07-17T13:39:00 < dongs> wtf 2012-07-17T13:39:25 < Laurenceb> god wqhat a clusterfuck 2012-07-17T13:39:32 < Laurenceb> i cant even debug 2012-07-17T13:40:12 < dongs> http://bcas.tv/paste/results/zQmaXj59.html anything obvious im missing? 2012-07-17T13:41:55 < zyp> looks right to me 2012-07-17T13:41:58 < dongs> righto. 2012-07-17T13:42:00 < zyp> dies how? no output? 2012-07-17T13:42:01 < dongs> im only getting like... 2012-07-17T13:42:03 < dongs> 2 bits out 2012-07-17T13:42:27 < zyp> check status of the dma peripheral, what does the flags and transfer counter say? 2012-07-17T13:42:43 < dongs> i guess i should setup tc interrupt first 2012-07-17T13:42:45 < dongs> just to make sure im not fucking shit up 2012-07-17T13:42:59 < dongs> http://i.imgur.com/uG8Nx.png thats all it outputs 2012-07-17T13:43:07 < jpa-> hmm, can you make 16-bit writes to GPIO->ODR? 2012-07-17T13:43:17 < dongs> jpa, thats what hte docs said? 2012-07-17T13:43:20 < jpa-> ok 2012-07-17T13:43:29 < jpa-> i haven't checked 2012-07-17T13:43:33 < dongs> These bits can be read and written by software and can be accessed in Word mode only. 2012-07-17T13:43:38 < dongs> im assuming word = 16bit? 2012-07-17T13:43:54 < zyp> no 2012-07-17T13:43:56 < zyp> «The peripheral registers have to be accessed by words (32-bit). 2012-07-17T13:43:57 < zyp> » 2012-07-17T13:43:57 < dongs> oh? 2012-07-17T13:44:00 < zyp> says the RM 2012-07-17T13:44:06 < dongs> page 168 2012-07-17T13:44:18 < zyp> 166 in rev 14 2012-07-17T13:44:33 < dongs> when teh fuck did rev14 come out 2012-07-17T13:44:39 < dongs> i just looked for new docs like a week ago 2012-07-17T13:44:44 < Laurenceb> C0x08000e6c in Read_Memory (lun=, 2012-07-17T13:44:44 < Laurenceb> Memory_Offset=, Transfer_Length=) 2012-07-17T13:44:44 < Laurenceb> at Util/USB/memory.c:161 2012-07-17T13:44:44 < Laurenceb> 161 Block_offset=0; //Reset 2012-07-17T13:44:46 < jpa-> are you even using the same processor? :) 2012-07-17T13:44:48 < Laurenceb> wut the fuuuuuuuu 2012-07-17T13:44:55 < Laurenceb> its stuck there 2012-07-17T13:44:57 < zyp> but yeah, I see the text on 168 as well 2012-07-17T13:44:58 < dongs> ok so 2012-07-17T13:44:58 < Laurenceb> thats impossible 2012-07-17T13:44:59 < dongs> 32bits. 2012-07-17T13:44:59 < dongs> k 2012-07-17T13:45:01 < dongs> lets fix that. 2012-07-17T13:45:17 < Laurenceb> how is that even possible 2012-07-17T13:45:19 < jpa-> Laurenceb: layout asm 2012-07-17T13:45:26 < jpa-> gdb sucks 2012-07-17T13:45:28 < dongs> no wait 2012-07-17T13:45:34 < Laurenceb> ill grab the asm 2012-07-17T13:45:38 < dongs> now wait,, can i do peripheralsize = 32 2012-07-17T13:45:40 < jpa-> no, just type 'layout asm' 2012-07-17T13:45:40 < dongs> memorysize=8 2012-07-17T13:45:46 < dongs> and it'll just send the lowest byte? 2012-07-17T13:45:48 < dongs> and stuff the rest? 2012-07-17T13:45:52 < dongs> or am i expecting too much 2012-07-17T13:45:56 < jpa-> dongs: yes 2012-07-17T13:46:02 < dongs> yes as in it'll work? 2012-07-17T13:46:06 < jpa-> yeah, will work 2012-07-17T13:46:16 < jpa-> it'll stuff the rest with the byte also, but that shouldn't matter 2012-07-17T13:47:20 < dongs> hmm 2012-07-17T13:47:48 < dongs> i dont think that worked. 2012-07-17T13:48:02 < zyp> jpa-, according to RM it will stuff with 0 2012-07-17T13:48:07 < dongs> time for DMA_TC interrupt. 2012-07-17T13:48:21 < dongs> cuz something is fucking up 2012-07-17T13:49:00 < jpa-> zyp: ok 2012-07-17T13:49:38 -!- pelrun [~pelrun@14-202-70-213.static.tpgi.com.au] has quit [Read error: No route to host] 2012-07-17T13:49:45 < zyp> oh, that's when PINC = 1 2012-07-17T13:49:45 -!- pelrun [~pelrun@14-202-70-213.static.tpgi.com.au] has joined ##stm32 2012-07-17T13:49:59 < zyp> so yeah, you're right 2012-07-17T13:50:38 < dongs> hmm i broke something now its not e ven clocking anthing out 2012-07-17T13:50:39 < dongs> wtf 2012-07-17T13:51:39 < dongs> buffersize is in "units" of transfer right... 2012-07-17T13:51:46 < dongs> now is that dst or src units? 2012-07-17T13:52:32 < dongs> if I increase buffersize I get some noise there.. but doesnt look like the data im trying to push out. 2012-07-17T13:54:13 < zyp> you wouldn't have those problems if you just used BSRR and 32-bit writes :p 2012-07-17T13:54:18 < dongs> haha.. 2012-07-17T13:54:30 -!- tavish3_ [~tavish@120.59.34.217] has joined ##stm32 2012-07-17T13:54:33 < dongs> i dont understand, how is it a 'single shift' to split the stuff? 2012-07-17T13:54:43 < Laurenceb> ok my problem is that the spi dma buffer is sometimes filling with zeros 2012-07-17T13:54:48 < Laurenceb> or almost all zeros 2012-07-17T13:54:51 < Laurenceb> any ideas? 2012-07-17T13:54:57 < jpa-> dongs: it doesn't matter if it is dst or src units 2012-07-17T13:54:59 < dongs> stop filling it with zeros 2012-07-17T13:55:11 < dongs> jpa, obviosuly, but when i do '11' (my current size) 2012-07-17T13:55:14 < dongs> it fails all to hell 2012-07-17T13:55:26 < jpa-> maybe it's you that fails 2012-07-17T13:55:33 < dongs> yes certainly 2012-07-17T13:55:56 -!- tavish3 [~tavish@120.59.45.83] has quit [Ping timeout: 248 seconds] 2012-07-17T13:55:59 < zyp> dongs, reset part of BSRR is upper 16 bits, so you just shift the bit 16 bits if it's supposed to be cleared instead of set 2012-07-17T13:56:24 < zyp> BSRR = 1 will set Px0, BSRR = 1 << 16 will clear it 2012-07-17T13:56:26 < dongs> i dont see how this is a single operation though 2012-07-17T13:56:45 < jpa-> ODR takes less ram anyway 2012-07-17T13:56:52 < zyp> well, you have to pick bits out of bytes either way 2012-07-17T13:57:57 < dongs> no? 2012-07-17T13:58:06 < dongs> i'll just send preprocessed shit over 2012-07-17T13:58:10 < zyp> if you have one byte of data to send per port, you'll have eight bytes of data, you'll have to reformat that to eight bytes of individual bits 2012-07-17T13:58:23 < zyp> preprocessed where? 2012-07-17T13:58:24 < dongs> ya i can do that on teh host though 2012-07-17T13:58:32 < dongs> the source of data 2012-07-17T13:58:48 < zyp> well, still same shit 2012-07-17T13:58:56 < zyp> just preprocess it so it's suitable for BSRR 2012-07-17T13:59:14 < zyp> but ok 2012-07-17T13:59:15 < jpa-> but why use BSRR when ODR will work just as fine and allow for larger FIFO? 2012-07-17T14:00:20 < zyp> because it'll free up the other 8 pins on the port 2012-07-17T14:00:45 < jpa-> you could use them to control additional vibrators.. 2012-07-17T14:01:07 < dongs> zyp, i'll probably go nuts and just do 16 outputs. 2012-07-17T14:01:11 < dongs> so that doesnt matter anyway. 2012-07-17T14:01:24 < zyp> ok 2012-07-17T14:01:31 < jpa-> but, but, things get fun when you want to do 16 software usart inputs using DMA :) 2012-07-17T14:01:38 < jpa-> at varying baudrates ,) 2012-07-17T14:01:44 < dongs> yeah, dont care about input. 2012-07-17T14:01:52 < jpa-> too bad :P 2012-07-17T14:01:59 < dongs> i take the easy way out. 2012-07-17T14:02:07 < zyp> doesn't have to be varying baudrates, being async is bad enough :p 2012-07-17T14:02:35 < jpa-> true, though for async you can just sample at 16x or so and call it a day 2012-07-17T14:02:46 < dongs> dma.DMA_PeripheralDataSize = DMA_PeripheralDataSize_Word; 2012-07-17T14:02:47 < dongs> dma.DMA_MemoryDataSize = DMA_MemoryDataSize_Byte; 2012-07-17T14:02:51 < dongs> if i do this the shit never works wtf 2012-07-17T14:02:54 < dongs> if I do byte it works 2012-07-17T14:02:55 < jpa-> (for mutually divisible baudrates also) 2012-07-17T14:03:11 < jpa-> is DMA_PeripheralDataSize_Word 16 or 32 bits? 2012-07-17T14:03:15 < dongs> 32 2012-07-17T14:03:17 < dongs> HalfWord is 16. 2012-07-17T14:03:20 < jpa-> ok 2012-07-17T14:06:07 < dongs> .. do i have to align the memory on 32bits or something for this to work 2012-07-17T14:11:55 < Laurenceb> anyonnnneeeee? 2012-07-17T14:12:07 < Laurenceb> so i get 0xFE from the card 2012-07-17T14:12:14 < Laurenceb> signalling its ready 2012-07-17T14:12:25 < Laurenceb> then the dma buffer is filled with zeros 2012-07-17T14:12:30 < Laurenceb> wtf?? any ideas? 2012-07-17T14:16:08 < dongs> this is really fucked. setting dma sizes to word = nothing happens. 2012-07-17T14:20:06 < dongs> jpa, good job. where is WORD_FIFO_SIZE defined. 2012-07-17T14:20:18 < dongs> of course not in fpga.h where i'd expect it. 2012-07-17T14:23:58 < dongs> ok.. DMA->CNDTR is 0 2012-07-17T14:24:01 < dongs> when it hits tc interrupt. 2012-07-17T14:24:44 < dongs> http://i.imgur.com/rBfpz.png 2012-07-17T14:27:08 < dongs> does this work if peripheral and dma are on different bus? 2012-07-17T14:30:43 < dongs> oh fuck 2012-07-17T14:32:16 < dongs> my sample buffer was 0xAA right 2012-07-17T14:32:33 < dongs> and I was scoping PA0. 2012-07-17T14:32:50 < dongs> how to fail, internet-style. 2012-07-17T14:35:15 < Laurenceb> what could cause an sd card to return zeros? 2012-07-17T14:35:21 < Laurenceb> power supply? 2012-07-17T14:35:27 < dongs> how much you have on it? 2012-07-17T14:35:32 < dongs> sdcard draws like 100-150mA 2012-07-17T14:35:40 < dongs> is it shared with other shit? 2012-07-17T14:36:24 < Laurenceb> it has its own regulator 2012-07-17T14:36:51 < Laurenceb> scoping a nearby pad i see some noise before it fails 2012-07-17T14:37:05 < Laurenceb> +-150mv or so 2012-07-17T14:37:09 < dongs> http://i.imgur.com/ZrmGi.png woot it works 2012-07-17T14:37:24 < Laurenceb> cool 2012-07-17T14:37:32 < Laurenceb> worth trying with a bigger cap? 2012-07-17T14:37:48 < Laurenceb> i dont see why it works when i use non interleaved code tho 2012-07-17T14:38:01 < Laurenceb> interleaving usb and spi sd fails 2012-07-17T14:38:12 < Laurenceb> with card returning all zeros 2012-07-17T14:38:39 < Laurenceb> but a valid response before them 2012-07-17T14:38:40 < dongs> for some reason i get that weird waving shit.. must be my ghetto servo jumpers to gnd 2012-07-17T14:38:52 < Laurenceb> also the checksum is zeros 2012-07-17T14:38:56 < Laurenceb> this is odd 2012-07-17T14:39:02 < Laurenceb> all the dma stuff is zero 2012-07-17T14:39:07 < Laurenceb> like the dma is breaking 2012-07-17T14:39:21 < Laurenceb> im not going to try scoping the data as theres shit tons of it 2012-07-17T14:42:58 < Laurenceb> trying to read checksum with polled code 2012-07-17T14:45:00 < Laurenceb> ooh zeros 2012-07-17T14:45:02 < Laurenceb> very odd 2012-07-17T14:49:48 < jpa-> dongs: WORD_FIFO_SIZE is in the top of the same file, it is not used outside of it :) 2012-07-17T14:59:49 -!- dekar_ [~dekar@212.255.24.132] has joined ##stm32 2012-07-17T14:59:52 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-07-17T15:01:50 -!- dekar [~dekar@212.255.17.252] has quit [Ping timeout: 252 seconds] 2012-07-17T15:02:48 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-17T15:09:30 < cjbaird> 7 hours of riding the trollocycle. 2012-07-17T15:09:44 < dongs> what channel 2012-07-17T15:16:47 -!- dekar [~dekar@212.255.17.50] has joined ##stm32 2012-07-17T15:16:51 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-17T15:18:04 -!- dekar_ [~dekar@212.255.24.132] has quit [Ping timeout: 244 seconds] 2012-07-17T15:26:02 -!- dekar_ [~dekar@212.255.22.181] has joined ##stm32 2012-07-17T15:26:05 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-07-17T15:28:04 -!- dekar [~dekar@212.255.17.50] has quit [Ping timeout: 248 seconds] 2012-07-17T15:37:43 -!- dekar [~dekar@212.255.19.194] has joined ##stm32 2012-07-17T15:37:47 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-17T15:39:11 < dongs> do you think i can do 4mbit on F1's USB? 2012-07-17T15:39:15 -!- dekar_ [~dekar@212.255.22.181] has quit [Ping timeout: 244 seconds] 2012-07-17T15:39:16 < dongs> bulk xfer 2012-07-17T15:40:21 < zyp> I would be surprised if not 2012-07-17T15:40:59 < dongs> well Laurenceb isn't... 2012-07-17T15:41:03 < karlp> no, he is. 2012-07-17T15:41:08 < karlp> just not to the sd card at the same time :) 2012-07-17T15:41:27 < dongs> duno if I should bother with vcom for this 2012-07-17T15:41:33 < dongs> or just some custom control/bulk endpoint 2012-07-17T15:41:51 < Laurenceb> im getting about 850KB/s 2012-07-17T15:41:54 < Laurenceb> averaged 2012-07-17T15:42:02 < Laurenceb> but the sd card keeps breaking 2012-07-17T15:42:04 < dongs> ok, so thats more than 4mbit i need 2012-07-17T15:43:26 < Laurenceb> just bypassing the scsi stuff i get 1.2MB/s 2012-07-17T15:45:11 < Laurenceb> this makes no sense 2012-07-17T15:45:18 < Laurenceb> all zeros and invalid crc 2012-07-17T15:45:23 < Laurenceb> but valid header 2012-07-17T15:48:07 -!- tavish3_ [~tavish@120.59.34.217] has quit [Ping timeout: 265 seconds] 2012-07-17T15:48:26 < BusError> Made a setjmp/longjmp that save/restore the FPU registers. tested on stm32f4 https://gist.github.com/3129219 (Claude, might interest you?) 2012-07-17T15:49:03 < dongs> there's a reason armcc doens't allow inline assembly in C 2012-07-17T15:49:11 < dongs> and this is to prevent horrendous hacks like the one that was just posted 2012-07-17T15:49:43 < BusError> bleh bleh bleh bleh go play with your arduino, let normal programmers program 2012-07-17T15:49:51 < dongs> yes boss 2012-07-17T15:59:51 < dongs> hmm.. 2012-07-17T16:00:05 < dongs> i acn use dma_ht interrupt to start copy of stuff. 2012-07-17T16:12:15 < dongs> ok will try memcpy way first heh 2012-07-17T16:12:26 < dongs> can I do m2m dma on any channel? 2012-07-17T16:12:39 < dongs> (is it worth it for 8*16bit? 2012-07-17T16:15:55 < Laurenceb> lol 2012-07-17T16:15:59 < Laurenceb> almost made it work 2012-07-17T16:16:14 < Laurenceb> use dma interrupts to interface with the card 2012-07-17T16:16:23 < Laurenceb> it seems to be locking up occasionally 2012-07-17T16:16:28 < Laurenceb> but the data is ok now 2012-07-17T16:17:02 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-17T16:34:44 < Laurenceb> arg no 2012-07-17T16:34:48 < Laurenceb> same issue 2012-07-17T16:34:51 < Laurenceb> identical 2012-07-17T16:35:00 < Laurenceb> its just intermittent still 2012-07-17T16:36:43 < dongs> http://i.imgur.com/JpArh.png (ignore noise in ch2) 2012-07-17T16:37:37 < dongs> im doing 8>11 frame copy inside dma_ht 2012-07-17T16:48:29 < Laurenceb> wohoo 2012-07-17T16:48:37 < Laurenceb> ive achieved precisely zero 2012-07-17T16:48:57 < Laurenceb> all i know is that if i busy wait inside the usb interrupt it works 2012-07-17T16:52:50 < Laurenceb> http://pastebin.com/4r3W0FQh 2012-07-17T16:52:59 < Laurenceb> line17 2012-07-17T16:53:11 < Laurenceb> if i make it just wait for the transfer to complete it works 2012-07-17T16:53:45 < Laurenceb> but the transfer is wrapped up with an interrupt, so there is no difference in timing 2012-07-17T16:54:02 < Laurenceb> other interrupt nests inbetween and screws with the card? 2012-07-17T16:58:04 < Laurenceb> is there a way to set a breakpoint from code? 2012-07-17T17:01:19 < dongs> sigh 2012-07-17T17:01:22 < dongs> all this would be solved 2012-07-17T17:01:25 < dongs> if you'd stop using shit tools :) 2012-07-17T17:01:39 < Tectu> got some UPS for my backupserver 2012-07-17T17:01:47 < Tectu> backupserver can run 62 minutes from battery 2012-07-17T17:02:02 < Tectu> should be enougth to shut it down correctly cD 2012-07-17T17:02:03 < Tectu> xD 2012-07-17T17:03:36 < dongs> http://bcas.tv/paste/results/fVDxRa56.html this is ok to ghetto-delay isnt it? 2012-07-17T17:04:45 < zyp> ya 2012-07-17T17:07:51 < dongs> gonna blinkled to confirm heh 2012-07-17T17:08:05 -!- izua [izua@2a02:2f01:1016:2053:9cae:6ad3:c7ea:b483] has joined ##stm32 2012-07-17T17:08:07 -!- izua [izua@2a02:2f01:1016:2053:9cae:6ad3:c7ea:b483] has quit [Changing host] 2012-07-17T17:08:07 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-17T17:08:10 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-17T17:13:05 < dongs> wtf 2012-07-17T17:13:16 < dongs> o wait no its exact, cool 2012-07-17T17:13:19 <+izua> https://www.youtube.com/watch?v=zhe1PLT0Ei8 2012-07-17T17:13:26 <+izua> borderline sfw 2012-07-17T17:13:32 < dongs> Uploaded by narekmuradyan1980 on Nov 27, 2011 2012-07-17T17:13:35 < dongs> pretty old shit there izua 2012-07-17T17:13:44 <+izua> and i've seen this guy live a few days ago 2012-07-17T17:13:45 <+izua> http://9gag.com/fast#4780581 2012-07-17T17:13:47 < dongs> what makes you think i should spend time to load it in a flash-capable browser? 2012-07-17T17:13:54 < dongs> The Adobe Flash Player or an HTML5 supported browser is required for video playback. 2012-07-17T17:13:57 < dongs> Get the latest Flash Player 2012-07-17T17:13:59 < dongs> Learn more about upgrading to an HTML5 browser 2012-07-17T17:14:05 <+izua> well 2012-07-17T17:14:12 <+izua> you can download it and render it through cacalib 2012-07-17T17:14:38 <+izua> but excuse me, i didn't know you were that productive :P 2012-07-17T17:15:32 < dongs> haha cacalib 2012-07-17T17:16:34 < dongs> zyp, so looks like my 16channel uart is working 2012-07-17T17:21:13 -!- pelrun [~pelrun@14-202-70-213.static.tpgi.com.au] has quit [Ping timeout: 246 seconds] 2012-07-17T17:22:31 <+izua> ..so much for being productive 2012-07-17T17:24:06 < dongs> wat 2012-07-17T17:24:09 < dongs> how is that not productive 2012-07-17T17:25:33 < Laurenceb> hmmm 2012-07-17T17:25:51 < Laurenceb> does it seem unlikely that i have an interference issue 2012-07-17T17:25:58 < dongs> in usb vcom, whats stopping me from opening a port at 9600 and just dumping data to it real fast? 2012-07-17T17:26:02 < Laurenceb> as the card always fails after 32 blocks 2012-07-17T17:26:09 < Laurenceb> thats seems unlikely surely? 2012-07-17T17:26:09 < dongs> is there some kinda software flow control? 2012-07-17T17:26:19 < dongs> (by windows/whatever) 2012-07-17T17:26:53 < zyp> dongs, nothing is stopping you 2012-07-17T17:27:01 < dongs> so what happens? 2012-07-17T17:27:07 < dongs> if the end is my lame 16uart shit 2012-07-17T17:27:09 < zyp> baudrate is just metadata 2012-07-17T17:27:12 < dongs> right 2012-07-17T17:27:24 < elektrinis> my STM32 project 2012-07-17T17:27:25 < elektrinis> http://www.youtube.com/watch?v=kJZANaomnvE 2012-07-17T17:28:51 < dongs> zyp, so what does a real usb>serial port do then 2012-07-17T17:28:59 < dongs> how does it stop from overflowing 2012-07-17T17:29:33 < karlp> mercedes? isn't that a smart car? 2012-07-17T17:30:52 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has left ##stm32 ["ERC Version 5.3 (IRC client for Emacs)"] 2012-07-17T17:31:24 < zyp> dongs, FIFO on device, using usb flow control 2012-07-17T17:31:39 < dongs> so I just tell the host to shut up via usb? 2012-07-17T17:32:10 < zyp> yes 2012-07-17T17:32:50 < zyp> well, I'm assuming a bit now, I haven't read the specs for this exact scenario 2012-07-17T17:33:00 -!- Rious [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2012-07-17T17:33:34 < dongs> i have some hacked up vcom code thats a combination of st sample + libmapleaids, i should prob just toss it and do proper ST sample all over again 2012-07-17T17:34:35 < dongs> or maybe just do control+bulk endpoint and use winusb to talk to it 2012-07-17T17:34:35 < dongs> since i dont really need any "serial" port stuff. 2012-07-17T17:36:01 < zyp> yeah, going through vcom seems kind of pointless 2012-07-17T17:36:37 < zyp> I like being able to use the framing in usb, rather than implementing another framing layer on top of vcom 2012-07-17T17:37:30 < dongs> only issue is signing but I guess it doesnt really matter since i can sign with company cert 2012-07-17T17:37:39 < dongs> if it was vcom i can just copy tarduino mega signed inf 2012-07-17T17:38:21 < dongs> http://i.imgur.com/7bFAr.png T = power up, so i/o is low, then i do 100us delay on powerup after bringing up all hardware, then do one frame (22.67ms) transfer. uart part is done :) 2012-07-17T17:44:13 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-17T17:45:27 -!- ntfreak__ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-17T17:46:25 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 246 seconds] 2012-07-17T17:48:03 < Laurenceb> http://i.imgur.com/WCf5W.png 2012-07-17T17:48:04 < Laurenceb> wtf 2012-07-17T17:48:16 < Laurenceb> each of those is a block being read out 2012-07-17T17:48:52 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 248 seconds] 2012-07-17T17:49:41 < dongs> hey you stole my scope 2012-07-17T17:55:55 < Laurenceb> lol 2012-07-17T17:57:51 < Laurenceb> hmf 2012-07-17T17:58:04 < Laurenceb> how do i detect is something is screwing with the card? 2012-07-17T17:59:52 < Laurenceb> wait.... 2012-07-17T18:00:05 < Laurenceb> hdparm is fast even when there is no data on miso 2012-07-17T18:00:09 < Laurenceb> something is wrong there 2012-07-17T18:00:55 < dongs> hmm lame. why isnt there a raw usb sample 2012-07-17T18:01:00 < dongs> all fucking hid/audio class/vcom shit 2012-07-17T18:05:19 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-17T18:07:36 < Laurenceb> looks like the code is working ok 2012-07-17T18:07:46 < Laurenceb> but theres nothing on the bus 2012-07-17T18:07:49 < Laurenceb> only headers 2012-07-17T18:08:01 < Laurenceb> and occasional 0x01 2012-07-17T18:08:22 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has joined ##stm32 2012-07-17T18:08:51 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-07-17T18:10:22 < dongs> https://code.google.com/p/found-bits/wiki/STM32WinUSBCommDemo 2012-07-17T18:10:23 < dongs> yay. 2012-07-17T18:11:09 < dongs> haha .py 2012-07-17T18:12:47 * Laurenceb epic rage 2012-07-17T18:12:55 < dongs> well that USB code sure looks fuckton cleaner than ST's sample 2012-07-17T18:20:40 < dongs> #define COMPILETIME_ASSERT(e) extern char _cta[(e) ? 1 : -1] 2012-07-17T18:20:45 < dongs> ahha waht the fuck is this shit 2012-07-17T18:24:22 < dongs> wait what the hell 2012-07-17T18:24:29 < dongs> he rewrote most of the shit but still uses usb headers? 2012-07-17T18:24:30 < dongs> ... 2012-07-17T18:24:41 < dongs> k fuck that 2012-07-17T18:24:44 < dongs> next google proj 2012-07-17T18:36:10 < dongs> http://tomeko.net/miniscope_v2c/ 2012-07-17T18:36:12 < dongs> looks promising 2012-07-17T18:36:21 < dongs> other than 7z part 2012-07-17T18:42:46 -!- Claude is now known as claude 2012-07-17T18:43:07 -!- tavish [~tavish@120.59.13.147] has joined ##stm32 2012-07-17T18:43:08 -!- tavish [~tavish@120.59.13.147] has quit [Changing host] 2012-07-17T18:43:08 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-17T18:47:41 < BusError> dongs, and an eclipse project... :/ 2012-07-17T18:48:11 < dongs> yea, tuning that out automatically thats not a problem 2012-07-17T18:48:16 < dongs> at least he doesnt reinvent the wheel 2012-07-17T18:48:32 < BusError> I look around for a clean minimal usb+cdc/serial driver, but I only found a derivative of the ST bloatware 2012-07-17T18:48:40 < dongs> haha 2012-07-17T18:48:54 < dongs> i dont mind ST bloatware if it works 2012-07-17T18:49:02 < dongs> but if people take that + rename a bunch of shit + break more shit 2012-07-17T18:49:08 < dongs> and tehn post it, that rages me out 2012-07-17T18:49:33 < BusError> that one is for AVR, bit it might be possible to port it. I like it, mean, lean. http://www.pjrc.com/teensy/usb_serial.html 2012-07-17T18:51:06 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-17T18:51:45 -!- Xamusk [~X@177.99.206.19] has joined ##stm32 2012-07-17T18:54:18 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 252 seconds] 2012-07-17T19:02:07 -!- ntfreak__ is now known as ntfreak 2012-07-17T19:02:56 < Laurenceb> http://i.imgur.com/9HCMM.png 2012-07-17T19:03:00 < Laurenceb> found it 2012-07-17T19:03:15 < Laurenceb> from left to right - stm aquires the card 2012-07-17T19:03:31 < Laurenceb> then does a dma transfer that is mostly 0x00 with some mess on the end 2012-07-17T19:03:49 < Laurenceb> then crc, then it reaquires and transfers a load of 0x00 2012-07-17T19:03:57 < Laurenceb> reason being it never sent cmd17 2012-07-17T19:03:58 < Laurenceb> wtf 2012-07-17T19:08:11 < dongs> stole usb renumeration code from OP, its still really cool. 2012-07-17T19:08:27 < Laurenceb> hmm 2012-07-17T19:08:33 < Laurenceb> maybe i should 2012-07-17T19:08:44 < dongs> usb shit compiles and enumerates as device, so i think im done for today. 2012-07-17T19:09:07 < Laurenceb> http://pastebin.com/4r3W0FQh 2012-07-17T19:09:11 < Laurenceb> im not :( 2012-07-17T19:09:43 < Laurenceb> MAL_Read always calls CMD17 first 2012-07-17T19:09:46 < Laurenceb> so wtf 2012-07-17T19:16:16 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-17T19:16:19 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-17T19:19:48 <+Steffanx> nu 2012-07-17T19:23:13 < dongs> mah have arduino tools actually managed to sign their serial infs 2012-07-17T19:23:46 <+Steffanx> Ardongso :D 2012-07-17T19:28:45 < dongs> nope. 2012-07-17T19:28:48 < dongs> still not signed in 1.0.1 2012-07-17T19:28:50 < dongs> retards. 2012-07-17T19:29:29 < Laurenceb> RAGEEEE 2012-07-17T19:29:44 < Laurenceb> any ideas on my mass storage issue? 2012-07-17T19:29:47 < Laurenceb> im out of ideas 2012-07-17T19:29:56 < Laurenceb> havent got a clue whats wrong 2012-07-17T19:30:11 < dongs> i thoguth you fixed it 2012-07-17T19:30:14 < dongs> < Laurenceb> reason being it never sent cmd17 2012-07-17T19:30:16 < dongs> so send it? 2012-07-17T19:30:20 < Laurenceb> no 2012-07-17T19:30:24 < Laurenceb> my code sends it 2012-07-17T19:30:29 < Laurenceb> only it never gets sent 2012-07-17T19:30:39 < Laurenceb> - sometimes it doesnt get sent 2012-07-17T19:31:01 < Laurenceb> https://github.com/Laurenceb/STM32-Logger/blob/master/Util/USB/memory.c#L169 2012-07-17T19:31:04 < Laurenceb> it gets there 2012-07-17T19:31:50 < dongs> disablE_irq? rly 2012-07-17T19:31:55 < Laurenceb> https://github.com/Laurenceb/STM32-Logger/blob/master/Util/fat_fs/src/sd_spi_stm32.c#L851 2012-07-17T19:31:59 < Laurenceb> which calls that 2012-07-17T19:32:04 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-17T19:32:08 < Laurenceb> which calls the cmd17 2012-07-17T19:32:12 < Laurenceb> only sometimes it doesnt 2012-07-17T19:32:34 < Laurenceb> i wondered if something else was causing issues 2012-07-17T19:34:11 < Laurenceb> i cant understand how i cant work 2012-07-17T19:36:04 < Laurenceb> uncommenting line 148 and it works 2012-07-17T19:39:34 -!- Netsplit *.net <-> *.split quits: tavish, phantoxe 2012-07-17T19:41:03 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 2012-07-17T19:42:33 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has joined ##stm32 2012-07-17T19:49:25 -!- peabody128 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-17T19:49:55 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-17T19:50:05 < TitanMKD> hi 2012-07-17T19:51:14 -!- peabody124 [~peabody12@c-98-201-56-63.hsd1.tx.comcast.net] has quit [Ping timeout: 265 seconds] 2012-07-17T19:51:15 -!- peabody128 is now known as peabody124 2012-07-17T19:53:46 <+Steffanx> Salut! 2012-07-17T19:53:51 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-17T19:57:19 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-17T20:15:31 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-17T20:24:01 < dongs> http://i.imgur.com/kCogh.png 2012-07-17T20:24:59 <+Steffanx> lol dongs ?!!? 2012-07-17T20:25:13 <+Steffanx> shipping costs++ 2012-07-17T20:25:23 < dongs> yes unfortunately. 2012-07-17T20:27:42 < tech2077> impressive, you broken it 2012-07-17T20:28:07 < tech2077> also, the adc on the f4 is really nice 2012-07-17T20:28:49 < dongs> yes it is 2012-07-17T20:28:57 < dongs> the one on F3 will be even nicer 2012-07-17T20:29:07 < tech2077> how so 2012-07-17T20:29:34 <+Steffanx> look it up tech2077 2012-07-17T20:30:03 < tech2077> nice, another discovery board i can get for free :) 2012-07-17T20:30:59 < tech2077> wow, 5MSPS 2012-07-17T20:32:33 <+Steffanx> tech2077 has no 12$ ? 2012-07-17T20:32:51 < tech2077> actually, not really, i'm broke 2012-07-17T20:33:03 <+Steffanx> Are you a student? 2012-07-17T20:33:05 < Thorn> dongs, why do you need 10.5Kg of 3mm yellow heat shrink tube? 2012-07-17T20:33:09 < tech2077> Steffanx, yep 2012-07-17T20:33:50 < dongs> Thorn: someone else asked me 2012-07-17T20:33:52 < dongs> so il ljust copypaste 2012-07-17T20:33:53 < dongs> < dongs> im gonna wrap myself in that shit < dongs> and post pics on internet 2012-07-17T20:34:13 < tech2077> ... 2012-07-17T20:34:23 < Thorn> he's also called dongs? 2012-07-17T20:35:18 <+Steffanx> Too bad … there is only one real dongs 2012-07-17T20:35:26 <+Steffanx> The owner of ardongso 2012-07-17T20:35:40 < dongs> well its not letting me checkout with negaative cart balance ;p 2012-07-17T20:35:42 < dongs> rage. 2012-07-17T20:35:58 < dongs> i guess i'll have to buy something to offset the $9 deficit. 2012-07-17T20:36:02 < tech2077> heh 2012-07-17T20:36:17 < dongs> Sorry, your weight exceeds the postal weight class. Try splitting your order down into smaller separate orders. 2012-07-17T20:36:24 <+Steffanx> haha 2012-07-17T20:36:34 < tech2077> so much for your plan 2012-07-17T20:37:11 < dongs> Cart weight: 51242g 2012-07-17T20:37:11 < dongs> Total Length 710 2012-07-17T20:37:12 < dongs> Total Size 6660mm(L+W2+H2) 2012-07-17T20:37:59 < Thorn> sometimes a perverted sex fantasy requires a truck to implement. 2012-07-17T20:38:49 <+Steffanx> You sound like someone with experience 2012-07-17T20:39:31 < zippe> Anyone on the internet for more than a week has "experience" 2012-07-17T20:39:59 < tech2077> heh 2012-07-17T20:40:09 <+Steffanx> zippe has experience 2012-07-17T20:40:20 < tech2077> you don't :) 2012-07-17T20:41:25 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-17T20:41:32 <+Steffanx> Not with trucks and fantasies .. no 2012-07-17T20:42:03 < karlp> really? 2012-07-17T20:42:07 < karlp> how... quaint 2012-07-17T20:42:19 < karlp> I thought most people had gotten past trucks. 2012-07-17T20:42:26 < karlp> there's so many more things to play with ;) 2012-07-17T20:42:38 < karlp> I feel sad for you Steffanx :( 2012-07-17T20:42:43 <+Steffanx> one thing is enough karlp :P 2012-07-17T20:49:08 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2012-07-17T20:49:23 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-17T20:49:32 <+Steffanx> What do you study tech2077 ? or are you still a college student? 2012-07-17T20:51:31 < tech2077> Steffanx, high school 2012-07-17T20:51:37 < dongs> he's a pro blogger 2012-07-17T20:51:41 < tech2077> heh 2012-07-17T20:51:54 <+Steffanx> Even worse, tech2077 ? 2012-07-17T20:51:56 < dongs> and rapeberrypi modder 2012-07-17T20:52:14 <+Steffanx> Everything is better than having an Ardonso 2012-07-17T20:52:25 < tech2077> heh 2012-07-17T20:52:25 <+Steffanx> +g 2012-07-17T20:52:25 < dongs> http://static.rcgroups.net/forums/attachments/1/6/8/7/4/5/a5016584-104-Arduinos.jpg haha 2012-07-17T20:52:30 < dongs> $47 shipped 2012-07-17T20:52:52 <+Steffanx> Go for it 2012-07-17T20:53:12 < dongs> he'd have to pay me $47 to take that shit and dispose of it. 2012-07-17T20:53:27 < tech2077> heh 2012-07-17T20:53:48 < tech2077> i'm actually liking the STM32 series a lot 2012-07-17T20:54:01 < tech2077> i may start moving some of my older avr projects over to it 2012-07-17T20:55:02 < dongs> why do you even have avr projects 2012-07-17T20:55:11 < tech2077> because i do 2012-07-17T20:55:15 <+Steffanx> Arduino isn't THAT bad.. it's just the attitude of the designers and some of the users 2012-07-17T20:55:27 < tech2077> i don't use arduino though 2012-07-17T20:55:59 <+Steffanx> I remember dongs said something about he and programming AVRs 2012-07-17T20:56:03 < karlp> lots of people have avr projects. 2012-07-17T20:56:05 <+Steffanx> *him 2012-07-17T20:56:09 < karlp> avrs were a very good choice 2012-07-17T20:56:15 < karlp> and often still are. 2012-07-17T20:56:19 <+Steffanx> And even more people have pic projects .. 2012-07-17T20:56:25 < karlp> fuck those people, they're morons 2012-07-17T20:56:28 < tech2077> heh 2012-07-17T20:56:29 <+Steffanx> :D 2012-07-17T20:56:31 < dongs> haha 2012-07-17T20:56:32 < Thorn> php programmer + arduino = "I'm an electronics engineer now lol!" 2012-07-17T20:56:42 < Thorn> ^^ worst thing about arduino 2012-07-17T20:56:59 <+Steffanx> Isn't it nice that even php programmers can actually make something .. they like 2012-07-17T20:57:34 < tech2077> the arduino is targeted when you don't want to know every aspect of the device and you want it to work 2012-07-17T20:57:47 < tech2077> like php programmers or liberal art majors 2012-07-17T20:57:58 < karlp> heh, there's an arduino mega 2560 on my desk here, that's being used as a 3.3v power supply 2012-07-17T20:58:14 <+Steffanx> Too bad 2012-07-17T20:58:32 <+Steffanx> you disappoint me 2012-07-17T20:58:33 < Thorn> not classy enough, I used stm32f4discovery for that 2012-07-17T20:58:51 < dongs> tarduino mega2560 costs more than stm32f4 in same package 2012-07-17T20:58:52 < Thorn> but now I have my CAN devices with a 2A dc/dc in them 2012-07-17T20:59:04 < dongs> and thats in qty 2012-07-17T20:59:13 < tech2077> the arduino mega is insanely over priced 2012-07-17T20:59:23 < dongs> one would have to be insane tot pick that shit over stm32 for a product 2012-07-17T20:59:28 < tech2077> the part cost can't be over $25 2012-07-17T20:59:30 <+Steffanx> So your kickstarter project is going to use Arduino, dongs ? 2012-07-17T20:59:36 < tech2077> lol 2012-07-17T20:59:39 < dongs> Steffanx: and interface with iPhone 2012-07-17T20:59:54 <+Steffanx> And the rpi 2012-07-17T20:59:56 < dongs> yeah 2012-07-17T21:00:15 < dongs> its a dongular shield for rpi, with wireless teledildonics interface to iPhone. 2012-07-17T21:00:27 < tech2077> sounds fancy 2012-07-17T21:00:27 < dongs> .. arduino fits somewehre in between 2012-07-17T21:00:34 <+Steffanx> And that new raspberrypied game tablet 2012-07-17T21:00:39 < tech2077> use it for case material :) 2012-07-17T21:00:51 <+Steffanx> !@#$%ˆ& 5 million dollar 2012-07-17T21:00:52 <+Steffanx> http://www.kickstarter.com/projects/ouya/ouya-a-new-kind-of-video-game-console 2012-07-17T21:01:29 <+Steffanx> *tablet = game console 2012-07-17T21:01:38 < tech2077> 6 people have backed for $10000 2012-07-17T21:01:45 < tech2077> WTF! 2012-07-17T21:02:37 <+Steffanx> I wouldn't be surprised if it's going to be the new rpi 2012-07-17T21:02:39 < dongs> i can paypal 60k to them right now but I'd never give those lunix scammers a single penny. 2012-07-17T21:02:43 <+Steffanx> Fancy overhyped and crappy 2012-07-17T21:02:59 <+Steffanx> 60k what? 2012-07-17T21:03:03 <+Steffanx> 60k pennies? 2012-07-17T21:03:17 < Thorn> yen probably 2012-07-17T21:03:19 < zyp> karlp, which of the gcc bundles are good nowadays? 2012-07-17T21:04:08 < dongs> the original message was for usd. 2012-07-17T21:04:27 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2012-07-17T21:04:27 < karlp> TNT worked for me last time I used it, as did gcc-arm-launchpad 2012-07-17T21:04:40 < karlp> sat works if he's pulled my fixes, but produces the biggest binaries 2012-07-17T21:05:09 < karlp> a lot of my problems were some code that I copied/pasted that used -L flags pointing into the multilib directories 2012-07-17T21:05:16 < karlp> which confused the royal hell out of the linker 2012-07-17T21:05:20 < zyp> which of those include multilib? 2012-07-17T21:05:22 < tech2077> dongs, lunix scammers? 2012-07-17T21:05:27 < karlp> gcc-arm-launchpad 2012-07-17T21:05:36 < karlp> so that's what I'm using. 2012-07-17T21:05:40 <+Steffanx> The people from the project i linked, tech2077 2012-07-17T21:05:42 < karlp> TNT was a test to see how much smaller it got 2012-07-17T21:05:43 < zyp> and not the other two? 2012-07-17T21:05:46 < zyp> right 2012-07-17T21:05:53 < karlp> s-a-t is multilib, TNT is not. 2012-07-17T21:06:01 < dongs> i should sleep 2012-07-17T21:06:04 < dongs> 3am. 2012-07-17T21:06:06 <+Steffanx> No 2012-07-17T21:06:08 < dongs> and waking up at 7-8. 2012-07-17T21:06:09 < tech2077> Steffanx, fancy cased RPi with shiny controller and custom skinned android/linux 2012-07-17T21:06:10 < dongs> shitty. 2012-07-17T21:06:10 < karlp> I'm not entirely sure of the purpose of SAT now that gcc-arm-launchpad exists 2012-07-17T21:06:27 < zyp> I've been quite happy with yagarto, but I'm looking for something with newer versions when I'm installing on my new workstation 2012-07-17T21:06:30 <+Steffanx> You can't wake up at 10 dongs ? 2012-07-17T21:06:32 <+Steffanx> am 2012-07-17T21:06:48 < dongs> tech2077: just wallpapers swapped from ubunto 10.37 "raging boner" to some abstract plasmey-floaty crap and their logo made with the Gimp default script-fu. 2012-07-17T21:06:49 < tech2077> dongs, or pull a 6amer like i did this morning 2012-07-17T21:07:09 <+Steffanx> You are a student, students can do that 2012-07-17T21:07:17 < tech2077> it's true 2012-07-17T21:07:17 < dongs> sadly, i dont go to school. 2012-07-17T21:07:19 <+Steffanx> dongs is already an old man 2012-07-17T21:07:37 < tech2077> old man with youthful spirit, or get off my lawn 2012-07-17T21:07:50 < karlp> I thought yagarto was windows only? 2012-07-17T21:07:51 <+Steffanx> Sure :) 2012-07-17T21:07:58 < karlp> or do you mean for windows? 2012-07-17T21:08:01 <+Steffanx> and os x 2012-07-17T21:08:03 < zyp> no, os x 2012-07-17T21:08:54 <+Steffanx> You want something newer .. yagarto is from 16.06.2012 .. 2012-07-17T21:09:27 < zyp> oh, didn't see that 2012-07-17T21:09:54 < zyp> right, gcc-4.7.1 and gdb-7.4.1 2012-07-17T21:10:04 < zyp> maybe I'll just keep using that then 2012-07-17T21:10:10 <+Steffanx> Pretty weird actually 2012-07-17T21:10:19 <+Steffanx> As the same page states he sort of stopped his work on it 2012-07-17T21:10:29 <+Steffanx> *the 2012-07-17T21:10:54 <+Steffanx> oh, no thats not true 2012-07-17T21:11:23 <+Steffanx> I thought he did, because the previous version was 'old 2012-07-17T21:11:25 <+Steffanx> ' 2012-07-17T21:11:48 < TitanMKD> Steffanx the things which is really badly supported in GCC ARM is access to structure with dual index 2012-07-17T21:11:54 < TitanMKD> the code is just horrible and slow 2012-07-17T21:11:59 < TitanMKD> and with -O2 2012-07-17T21:12:01 < zyp> well, then I'll just stay with that then 2012-07-17T21:12:25 < zyp> I was just having issues with too old gdb in the previous yagarto package 2012-07-17T21:14:04 < TitanMKD> just a simple example actual GCC ARM is awfull 2012-07-17T21:14:05 < TitanMKD> g_sbuf[g_sbuf_num][g_sbuf_idx++] = '\r'; 2012-07-17T21:14:05 < TitanMKD> g_sbuf[g_sbuf_num][g_sbuf_idx++] = '\n'; 2012-07-17T21:14:05 < TitanMKD> g_sbuf[g_sbuf_num][g_sbuf_idx++] = 'T'; 2012-07-17T21:14:05 < TitanMKD> g_sbuf[g_sbuf_num][g_sbuf_idx++] = 'A'; 2012-07-17T21:14:05 < TitanMKD> g_sbuf[g_sbuf_num][g_sbuf_idx++] = 'G'; 2012-07-17T21:14:05 < TitanMKD> g_sbuf[g_sbuf_num][g_sbuf_idx++] = ' '; 2012-07-17T21:14:24 < TitanMKD> this code take more than 200lines of asm codes with tons of access ;) 2012-07-17T21:14:30 <+Steffanx> That code is awful too :P 2012-07-17T21:14:44 < TitanMKD> yes but i was thinking is will do a simple stuff at end ;) 2012-07-17T21:15:19 < TitanMKD> this part just take 80% of the time in my algorithm haha 2012-07-17T21:17:01 < zyp> and that does not get optimized into a single pointer register being written six times? 2012-07-17T21:17:08 < TitanMKD> no 2012-07-17T21:17:17 < TitanMKD> it is why i say the code is awfull behind 2012-07-17T21:17:34 < TitanMKD> and i'm using gcc-arm-none-eabi-4_6-2012q1-20120316.exe 2012-07-17T21:17:52 <+Steffanx> Anyway, the compiler is as bad as 'we' made it ::) 2012-07-17T21:17:54 < TitanMKD> which is one of the best GCC ARM Mx version 2012-07-17T21:18:04 < tech2077> why aren't you using a large single array 2012-07-17T21:18:11 < zyp> how is g_sbuf, g_sbuf_num and g_sbuf_idx declared? 2012-07-17T21:18:15 < TitanMKD> Steffanx but i say that for other people to becareful of dual index stuff ;) 2012-07-17T21:18:27 < TitanMKD> zyp it's just standard type no volatile ;) 2012-07-17T21:18:38 <+Steffanx> blink blink .. TitanMKD 2012-07-17T21:18:42 < TitanMKD> uint8_t g_sbuf[2][NB_SBUFFER+16]; 2012-07-17T21:18:43 <+Steffanx> *wink 2012-07-17T21:18:54 < zyp> hmm 2012-07-17T21:19:12 < TitanMKD> oups in fact i'm wrong ;) 2012-07-17T21:19:14 < zyp> let me make a test case, I have a hard time believing you :p 2012-07-17T21:19:16 < TitanMKD> volatile uint16_t g_sbuf_idx; 2012-07-17T21:19:16 < TitanMKD> volatile uint8_t g_sbuf_num; 2012-07-17T21:19:17 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 250 seconds] 2012-07-17T21:19:19 <+Steffanx> Haha 2012-07-17T21:19:20 < TitanMKD> it was for test ;) 2012-07-17T21:19:21 < zyp> right. 2012-07-17T21:19:29 < TitanMKD> haha maybe that explain the ugly asm code now ;) 2012-07-17T21:19:32 < zyp> volatile will make a mess of that. 2012-07-17T21:19:41 < zyp> that's why I asked about the declarations 2012-07-17T21:20:18 < TitanMKD> i was sure i removed such volatile it was for test ;) 2012-07-17T21:20:38 <+Steffanx> Shit happens 2012-07-17T21:20:43 < tech2077> g_sbuf[(g_sbuf_idx++)*(b_sbuf_num*2)] ? 2012-07-17T21:21:13 < TitanMKD> tech2077 of course i can write it an other way but it was for test purpose 2012-07-17T21:21:18 < tech2077> ah 2012-07-17T21:22:24 < tech2077> to see how crappy it's handling of dual indexes 2012-07-17T21:25:29 < zyp> http://paste.jvnv.net/view/DB8Qh <- doesn't seem crappy to me 2012-07-17T21:25:37 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has quit [Read error: Operation timed out] 2012-07-17T21:25:57 <+Steffanx> make it volatile :) 2012-07-17T21:26:09 <+Steffanx> the 2 vars 2012-07-17T21:27:07 < zyp> making it volatile will add ten memory reads and five memory writes 2012-07-17T21:28:34 < zyp> http://paste.jvnv.net/view/5NVVM 2012-07-17T21:29:10 < zyp> looks reasonable to me 2012-07-17T21:51:18 < Xamusk> does anyone know the current state of using clang with stm32? Is it already worth it due to LTO or is it still better to use GCC 4.6? 2012-07-17T21:57:51 < TitanMKD> hehe tested without volatile ;) 2012-07-17T21:57:56 < TitanMKD> the code is always ugly 2012-07-17T21:58:00 < TitanMKD> but a bit better 2012-07-17T21:58:15 < TitanMKD> it definitly does not like dual indexes ;) 2012-07-17T22:01:45 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-17T22:01:47 < Laurenceb_> hi all 2012-07-17T22:01:51 * Laurenceb_ fails 2012-07-17T22:02:59 <+Steffanx> Welcome 2012-07-17T22:03:01 <+Steffanx> to 2012-07-17T22:03:02 <+Steffanx> the club 2012-07-17T22:03:58 < Laurenceb_> i hate mass storage 2012-07-17T22:04:06 <+Steffanx> *RAGE 2012-07-17T22:05:18 < Laurenceb_> indeed 2012-07-17T22:05:54 < Laurenceb_> so i get CMD17, CMD17,CMD17, read with valid header,data, and crc, then read with valid header and all zeros 2012-07-17T22:06:00 < Laurenceb_> W...T...F.... 2012-07-17T22:06:08 < Laurenceb_> this is looking with a scope 2012-07-17T22:06:32 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Remote host closed the connection] 2012-07-17T22:08:12 < Laurenceb_> the NVIC prevents an interrupt nesting inside itself right? 2012-07-17T22:08:48 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-17T22:17:49 -!- szczys [~mike@68-117-130-137.dhcp.mdsn.wi.charter.com] has quit [Quit: Leaving] 2012-07-17T22:19:02 <+dekar> Xamusk, you can use LTO with GCC as well 2012-07-17T22:19:30 < Xamusk> dekar, yeah, but last time I checked, it was pretty much broken 2012-07-17T22:19:52 < Xamusk> dekar, not sure if it was GCCŽs fault or newlibŽs or something like that 2012-07-17T22:20:07 <+dekar> yeah I stopped compiling newlib with LTO as well 2012-07-17T22:20:16 <+dekar> but for the rest of my firmware it works 2012-07-17T22:21:58 < Xamusk> dekar, which gcc version? 2012-07-17T22:25:20 < TitanMKD> Laurenceb it depends on your code if you enable multiple interrupt with different priority 2012-07-17T22:25:55 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-17T22:26:17 < TitanMKD> Laurenceb so yes in interrupt handler code you can be interrupted by an higher interrupt and so on 2012-07-17T22:28:41 < Thorn> question was whether an interrupt can interrupt itself 2012-07-17T22:28:55 <+dekar> Xamusk, TNT, GCC4.8rc 2012-07-17T22:29:02 < Thorn> I think the book said it's impossible 2012-07-17T22:29:26 <+dekar> can't afaik 2012-07-17T22:29:32 < TitanMKD> Thorn it is possible if higher priority interrupt happen 2012-07-17T22:29:52 < TitanMKD> and there's a special mechanism to speed up this ... (in hw) 2012-07-17T22:31:01 < Thorn> the VK-220 excels at reproducing the rich colors, subtle textures, and powerful emotions portrayed in your favorite musical selections. The balanced circuit topology of the VK-220 not only reproduces the finest musical detail, but excels at conveying the deep silence between the notes. 2012-07-17T22:31:19 < Xamusk> dekar, damn... IŽm still at 4.5... last time I checked 4.6 produced bigger binaries than 4.5 and I read somewhere that 4.7 also produced bigger binaries than 4.6 2012-07-17T22:31:21 < TitanMKD> except if you use "cpsid i" to disable IRQ globally ;) 2012-07-17T22:32:14 < TitanMKD> but to avoid that you can also use same priority for all interrupt in that case the interrupt will be not interrupted by an other one except for exception in fact ;) 2012-07-17T22:32:44 < Thorn> Reentrant exceptions are not allowed in the Cortex-M3. Since each exception has a priority level assigned and, during exception handling, exceptions with the same or lower priority will be blocked, the same exception cannot be carried out until the handler is ended. 2012-07-17T22:32:57 < Thorn> The Book, page 148 2012-07-17T22:33:27 <+dekar> Xamusk, we did benchmark TNT vs SAT, CS and YAG a while ago, TNT did beat all of those comparing the resulting size 2012-07-17T22:33:30 < Thorn> Laurenceb_: ^^ 2012-07-17T22:33:54 <+Steffanx> And not being multilib dekar :P 2012-07-17T22:34:08 <+dekar> Steffanx, so? 2012-07-17T22:34:10 < Xamusk> dekar, I think I missed something. What is TNT besides the explosive? 2012-07-17T22:34:33 <+Steffanx> I just like to point that out, once again dekar :P 2012-07-17T22:34:33 <+dekar> https://github.com/EliasOenal/TNT 2012-07-17T22:34:44 <+dekar> Steffanx, feel free to patch it 2012-07-17T22:34:58 < Laurenceb_> Thorn: thanks 2012-07-17T22:34:58 <+dekar> Steffanx, my product is stm32f1, so IDC about multilib :) 2012-07-17T22:35:17 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-17T22:35:23 < Laurenceb_> is it possible there are issues with gcc? 2012-07-17T22:35:36 <+Steffanx> Also a 103something with 512k flash instead of the 256k it should have dekar ? 2012-07-17T22:35:37 <+dekar> Steffanx, I feel like pointing out it still is open source software ;) 2012-07-17T22:35:43 <+Steffanx> At least .. that's what jpa- claims 2012-07-17T22:36:06 < Xamusk> ah, IŽve seen that git tree before, but no OSX here 2012-07-17T22:36:06 <+dekar> Steffanx, why should it only have 256k? 2012-07-17T22:36:20 <+Steffanx> because that sell it as 256k device 2012-07-17T22:36:31 <+Steffanx> jpa- claims some or all of them have 512 2012-07-17T22:36:55 <+dekar> Steffanx, we bought the one labeled as 512kb 2012-07-17T22:37:01 < Xamusk> dekar, 6/22/2012 - Switched to a GCC 4.8 snapshot and disabled LTO for newlib due to regressions 2012-07-17T22:37:05 < Xamusk> so no LTO on TNT 2012-07-17T22:37:20 <+dekar> Xamusk, only newlib is compiled without LTO 2012-07-17T22:37:29 <+dekar> you can use LTO for whatever you compile though 2012-07-17T22:37:33 < Xamusk> ah, ok 2012-07-17T22:38:16 <+dekar> Xamusk, so you're on windows? I don't think anyone has compiled it on windows before 2012-07-17T22:38:32 < Xamusk> dekar, yeah, Windows here 2012-07-17T22:38:58 <+dekar> so port it :) 2012-07-17T22:39:16 <+dekar> or just use it on linux 2012-07-17T22:40:00 < Xamusk> dekar, I donŽt really like dual-booting or using a VM as a main dev platform 2012-07-17T22:40:28 <+dekar> so port it then 2012-07-17T22:40:29 < Xamusk> porting that would probably require cygwin or something like that 2012-07-17T22:40:46 <+dekar> well minGW works without cygwin 2012-07-17T22:40:51 < Xamusk> though from my exp, cygwin usually messes up paths 2012-07-17T22:41:16 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 248 seconds] 2012-07-17T22:41:26 < Xamusk> yeah, I do have MinGW installed, but it usually doesnŽt meet tool dependencies on complex compiles 2012-07-17T22:41:43 <+dekar> it's basically just GCC 2012-07-17T22:42:02 <+dekar> I'd guess you can compile GCC using mingw, I mean they have to build mingw somehow 2012-07-17T22:42:10 < Xamusk> GCC is nothing but simple 2012-07-17T22:42:34 < Xamusk> but I may try doing it anyway 2012-07-17T22:51:30 < TitanMKD> Thorn are you sure reentrant exception are also not allowed on Cortex M4 ? 2012-07-17T22:51:59 < TitanMKD> and for peripheral it's specific to each manufacturer 2012-07-17T22:52:13 < karlp> go back and read The Book. 2012-07-17T22:52:23 < karlp> nvic is not a periph specific to each manufacturer 2012-07-17T22:54:35 < TitanMKD> ok it seems common to all Cortex M 2012-07-17T22:54:50 < TitanMKD> the fact that reentrant interrupt are not allowed 2012-07-17T22:55:11 < TitanMKD> except during exception entry it can switch to an other interrupt with higher priority 2012-07-17T22:56:00 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-17T22:56:34 < Thorn> reentrant = *the same* exception. e.g. an exception 15 handler is running and the IRQ line for exception 15 is asserted. 2012-07-17T22:57:16 < Thorn> if an exception 15 handler is being executed and a different higher priority interrupt happens the handler will be interrupted 2012-07-17T22:58:53 -!- Netsplit *.net <-> *.split quits: Rickta59, phantoxeD, peabody124, Vutral_ 2012-07-17T23:00:08 -!- Netsplit over, joins: peabody124 2012-07-17T23:01:11 -!- Netsplit over, joins: Rickta59 2012-07-17T23:01:24 -!- Xamusk [~X@177.99.206.19] has quit [Ping timeout: 248 seconds] 2012-07-17T23:02:28 < TitanMKD> Thorn ha yes the same exception type is masked until you exit 2012-07-17T23:03:50 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-17T23:14:07 < karlp> jus tlike he said in the first place 2012-07-17T23:14:10 < karlp> with a reference 2012-07-17T23:22:17 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-17T23:24:19 < Laurenceb_> does anyone know how the usb endpoints work? 2012-07-17T23:24:35 < Laurenceb_> if i have data in PMA, whats required for it to be sent on F1? 2012-07-17T23:24:53 < Laurenceb_> just update the pEPTxCount ? 2012-07-17T23:26:37 < Laurenceb_> as ST mass stoRAGE code seems to write to that twice 2012-07-17T23:27:13 -!- emeb [~ericb@174-26-228-2.phnx.qwest.net] has joined ##stm32 2012-07-17T23:28:16 < TitanMKD> Laurenceb you should look chibios they support it very well 2012-07-17T23:29:56 < Laurenceb_> do they 2012-07-17T23:30:10 < Laurenceb_> i looked but it seemed to be a vague framework 2012-07-17T23:30:15 < Laurenceb_> with half the functions missing 2012-07-17T23:30:20 < TitanMKD> chibios\trunk\testhal\STM32F1xx\USB_MSC 2012-07-17T23:30:24 < TitanMKD> it works 2012-07-17T23:30:28 < TitanMKD> USB MSC 2012-07-17T23:30:48 < karlp> nah, laurence will break it 2012-07-17T23:31:29 < TitanMKD> and it is really better and simpler than ST USB stuff which are really crappy and not open at all 2012-07-17T23:32:47 < Laurenceb_> where od you configure the spi port for mmc? 2012-07-17T23:33:45 < TitanMKD> in HAL_CONF 2012-07-17T23:33:48 < TitanMKD> wait i check ;) 2012-07-17T23:34:13 < TitanMKD> mcuconf.h sorry 2012-07-17T23:35:00 < TitanMKD> in fact it is for USB MSC 2012-07-17T23:35:01 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 265 seconds] 2012-07-17T23:35:12 < TitanMKD> or you want to do other stuff ? 2012-07-17T23:35:14 < Laurenceb_> i dont see it 2012-07-17T23:35:25 < Laurenceb_> i want sd card on spi mounted as mass storage 2012-07-17T23:35:37 < TitanMKD> for spi if you need some spi port just enable it in conf 2012-07-17T23:35:42 < Laurenceb_> with transfer via dma 2012-07-17T23:35:55 < TitanMKD> in that case it's not the same stuff ;) 2012-07-17T23:36:02 < TitanMKD> i was speaking of USB MSC 2012-07-17T23:36:06 < Laurenceb_> yeah 2012-07-17T23:36:22 < Laurenceb_> i gave chibios as miss as the st code looked easier to get running 2012-07-17T23:36:28 < Laurenceb_> but something is badly screwed 2012-07-17T23:36:57 < TitanMKD> in fact chibios has lot of abstraction layer but when you understand how that work it's amazing easy 2012-07-17T23:37:02 < Laurenceb_> so id have to add some handlers to make the chibios code talk to sd card? 2012-07-17T23:37:18 < TitanMKD> yes you should use an other sample ;) 2012-07-17T23:38:36 < TitanMKD> based on trunk\testhal\STM32F1xx\SPI 2012-07-17T23:38:54 < TitanMKD> and adding USB + MSC 2012-07-17T23:40:39 < karlp> "there's a big blob of extra stuff, but once I learnt it, I had learnt it" 2012-07-17T23:40:42 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-17T23:42:15 < Laurenceb_> ah i see now 2012-07-17T23:42:23 < Laurenceb_> chibios uses sleeping threads 2012-07-17T23:42:25 < TitanMKD> you need to write your own usb_msc.c 2012-07-17T23:42:30 < Laurenceb_> so it might be quite fast 2012-07-17T23:42:32 < TitanMKD> using SDcard 2012-07-17T23:42:37 < Laurenceb_> ewww 2012-07-17T23:43:32 < Laurenceb_> but you need ot interleave the read and write 2012-07-17T23:43:38 < Laurenceb_> which gets complex 2012-07-17T23:43:45 < Laurenceb_> chibios would take a lot of hacking 2012-07-17T23:44:37 < TitanMKD> first you need SPI+FATFS working 2012-07-17T23:44:38 < TitanMKD> \chibios\trunk\os\various\fatfs_bindings 2012-07-17T23:44:43 < Laurenceb_> - usb msc transfers usually consist of a ton of consecutive blocks 2012-07-17T23:44:44 < TitanMKD> the portage is already done 2012-07-17T23:44:54 < Laurenceb_> yeah spi+fatfs is piss easy 2012-07-17T23:45:03 < TitanMKD> then you plug read / write in usb_msc.c 2012-07-17T23:45:08 < Laurenceb_> so you start off a massive multiblock transfer 2012-07-17T23:45:22 < Laurenceb_> then send data over usb as soon as it arrives 2012-07-17T23:45:27 < Laurenceb_> thats what im trying to do 2012-07-17T23:45:32 < TitanMKD> yes maybe you need to have buffer to bufferize the transfer for sector based read/write 2012-07-17T23:45:39 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 265 seconds] 2012-07-17T23:46:17 < TitanMKD> look here chibios\trunk\demos\ARMCM3-STM32F103-FATFS 2012-07-17T23:46:25 < TitanMKD> there's already demo for FATfS 2012-07-17T23:48:19 < Laurenceb_> yeah i dont have any issues with fatfs 2012-07-17T23:49:05 < TitanMKD> chibios\trunk\demos\ARMCM3-STM32F107-FATFS is even better for SPI MMC driver + FatFS 2012-07-17T23:53:01 < TitanMKD> Laurenceb for you case you want to use the STM32 as USB Slave 2012-07-17T23:53:59 < TitanMKD> the USB MSC example is the reverse STM32 is USB Master and a USB SLave is connected to it --- Day changed Wed Jul 18 2012 2012-07-18T00:06:37 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-18T00:07:22 < Tectu> TitanMKD, how is the F107 example better than the F103? (i only took a look to the F10) 2012-07-18T00:07:24 < Tectu> F103)* 2012-07-18T00:08:55 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-18T00:11:24 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-18T00:40:16 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 265 seconds] 2012-07-18T00:46:46 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 246 seconds] 2012-07-18T00:49:34 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-18T01:01:51 -!- Tectu [tectu@kunsmann.eu] has quit [Read error: Operation timed out] 2012-07-18T01:02:05 < Laurenceb_> oh 2012-07-18T01:02:09 < Laurenceb_> thats useful 2012-07-18T01:02:22 < Laurenceb_> you could connect to a camera perhaps 2012-07-18T01:03:23 -!- Tectu [tectu@kunsmann.eu] has joined ##stm32 2012-07-18T01:04:45 * Laurenceb_ wonders if anyone has written support for webcams 2012-07-18T01:05:34 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-18T01:05:39 <+Steffanx> Uhm, Laurenceb_ .. use the dedicated camera interface for something like that :P 2012-07-18T01:05:48 < Laurenceb_> heh 2012-07-18T01:06:21 < Laurenceb_> http://en.wikipedia.org/wiki/USB_video_device_class 2012-07-18T01:06:23 < Laurenceb_> hmm 2012-07-18T01:07:47 < Laurenceb_> USB video class support for Linux is provided by the Linux UVC driver, although as of May 2012 support for still-image capture is not yet implemented. 2012-07-18T01:07:48 <+Steffanx> That half implemented class 2012-07-18T01:07:52 < Laurenceb_> *Facepalm* 2012-07-18T01:08:10 <+Steffanx> "Mac OS X ships with a UVC driver included since version 10.4.3" Ha :P 2012-07-18T01:08:24 <+Steffanx> "Windows XP has a class driver for USB video class devices since Service Pack 2" HA 2012-07-18T01:08:28 < Laurenceb_> yeah but you cant grab the source 2012-07-18T01:15:33 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 265 seconds] 2012-07-18T01:24:06 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 250 seconds] 2012-07-18T01:44:28 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-18T02:02:55 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 265 seconds] 2012-07-18T02:37:15 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-18T02:38:49 -!- hexboot1 [~hexboot@58.212.31.79] has joined ##stm32 2012-07-18T02:40:17 -!- hexboot1 [~hexboot@58.212.31.79] has left ##stm32 [] 2012-07-18T02:53:19 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-18T02:59:28 < dongs> whats trollin 2012-07-18T02:59:34 < dongs> haha usb video class o lunix 2012-07-18T03:22:24 -!- Xamusk [~X@189.123.3.189] has joined ##stm32 2012-07-18T03:26:46 -!- Xamusk [~X@189.123.3.189] has quit [Client Quit] 2012-07-18T03:44:07 < tech2077> so DMA is basically data transfers between peripherals and/or memory on a trigger 2012-07-18T03:45:19 < cjbaird> lol, the RSS feed syndicator that ARS uses is footering a link to a (machine-generated?) anti-Assange article... after several months of doing a 'donate to wikileaks!1' footer. 2012-07-18T03:50:40 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-18T03:57:20 < dongs> doesnt have to be triggered. 2012-07-18T03:57:45 < tech2077> if it's not triggered, how would that work? 2012-07-18T03:57:54 < dongs> you just enable the transfer 2012-07-18T03:57:58 < dongs> whenever you want 2012-07-18T03:58:12 < tech2077> how would that be useful 2012-07-18T03:58:26 < dongs> um i dunno, you wanna memcpy() a hueg buffer using DMA 2012-07-18T03:58:33 < tech2077> ah 2012-07-18T04:32:27 -!- Tectu [tectu@kunsmann.eu] has quit [Ping timeout: 244 seconds] 2012-07-18T04:33:59 -!- nopcode [~nop@sushi.unix-ag.uni-kl.de] has quit [Remote host closed the connection] 2012-07-18T04:34:30 -!- nopcode_ [~nop@sushi.unix-ag.uni-kl.de] has joined ##stm32 2012-07-18T04:41:08 -!- Netsplit *.net <-> *.split quits: Vutral 2012-07-18T04:42:25 -!- Tectu [tectu@kunsmann.eu] has joined ##stm32 2012-07-18T04:45:34 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has joined ##stm32 2012-07-18T04:45:56 -!- Netsplit over, joins: Vutral 2012-07-18T05:03:17 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-18T05:10:25 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-18T05:15:22 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-18T05:15:29 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-18T05:35:19 -!- emeb [~ericb@174-26-228-2.phnx.qwest.net] has quit [Quit: Leaving.] 2012-07-18T06:13:39 -!- R2COM1 [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-18T06:13:40 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 2012-07-18T06:14:03 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-18T06:18:58 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2012-07-18T06:44:20 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Ping timeout: 248 seconds] 2012-07-18T06:56:44 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 248 seconds] 2012-07-18T07:17:20 -!- Thorn [~Thorn@128-73-143-107.broadband.corbina.ru] has joined ##stm32 2012-07-18T07:17:24 -!- Thorn [~Thorn@128-73-143-107.broadband.corbina.ru] has quit [Changing host] 2012-07-18T07:17:24 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-18T07:18:06 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-18T07:19:02 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Read error: Connection reset by peer] 2012-07-18T07:19:28 -!- R0b0t1 [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has joined ##stm32 2012-07-18T07:19:29 -!- R0b0t1 [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has quit [Changing host] 2012-07-18T07:19:29 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-18T08:06:07 -!- claude is now known as Claude 2012-07-18T08:11:28 -!- R2COM1 is now known as R2COM 2012-07-18T08:22:00 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 240 seconds] 2012-07-18T08:53:25 < tech2077> can you DMA a memory location to itself? 2012-07-18T08:53:33 -!- tavish3 [~tavish@120.56.168.122] has joined ##stm32 2012-07-18T08:59:35 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [] 2012-07-18T09:14:03 < dongs> that would be a bit retarded 2012-07-18T09:14:09 <+dekar> tech2077, I guess, but why would you do so? 2012-07-18T09:14:14 < dongs> you can dma memory to memory, yes. 2012-07-18T09:19:26 < tech2077> peripheral pass through 2012-07-18T09:19:37 < tech2077> or autoclearing a read to clear register 2012-07-18T09:24:48 < dongs> you;d waste more time setting that up 2012-07-18T09:26:36 < zyp> actually, I'm not sure you can 2012-07-18T09:29:25 < cjbaird> A classic DMA memory-to-memory trick is zero'ing a memory range.. 2012-07-18T09:31:27 < zyp> yes, but not all memory locations are equal 2012-07-18T09:32:03 < zyp> both ports of the DMA peripheral can access ram memory space, but I'm not sure both can access peripheral memory space 2012-07-18T09:32:36 < zyp> because usually you only do peripheral <- memory or peripheral -> memory, not peripheral -> peripheral 2012-07-18T09:33:14 < dongs> eh 2012-07-18T09:33:18 < dongs> sure you can do peripheral peripharal 2012-07-18T09:33:23 < dongs> say FSMC > spi or osmething 2012-07-18T09:33:32 < dongs> but I think that only works if they're on same apb/ahb whatever 2012-07-18T09:34:21 < zyp> FSMC may be considered memory and not peripheral memory space 2012-07-18T09:34:31 < dongs> ok, spi to spi dma? 2012-07-18T09:34:42 < zyp> have you actually done that? 2012-07-18T09:34:46 < dongs> of course not 2012-07-18T09:35:06 < dongs> well 2012-07-18T09:35:08 < dongs> considering how dma setup 2012-07-18T09:35:33 < dongs> directions are only to/from peripheral 2012-07-18T09:35:38 -!- dekar [~dekar@212.255.19.194] has quit [Quit: This computer has gone to sleep] 2012-07-18T09:35:44 < dongs> i guess that anwers it 2012-07-18T09:36:28 < zyp> hmm 2012-07-18T09:37:10 < zyp> according to RM, F4 DMA1 can't even access ram memory space with both ports 2012-07-18T09:37:20 < zyp> so only DMA2 can do memory -> memory 2012-07-18T09:37:26 < dongs> ~right 2012-07-18T09:38:17 < zyp> and DMA1 memory port can't access peripherals 2012-07-18T09:39:03 < zyp> but it looks like DMA2 might be able to access both memory and peripherals with both ports 2012-07-18T09:40:04 < dongs> this cdc code is still a mess 2012-07-18T09:40:13 < dongs> i wish st usb lib had acutal docs of how to use it 2012-07-18T09:47:21 -!- Claude is now known as claude 2012-07-18T09:53:26 < dongs> you kno wat 2012-07-18T09:53:29 < dongs> we need to get clive1 in hre 2012-07-18T09:53:43 < dongs> that guy is a pro trol 2012-07-18T09:59:30 < dongs> maybe if I just read the RM or something I can ignore most of the ST faggotry if all i want is raw endpoints 2012-07-18T10:01:16 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 248 seconds] 2012-07-18T10:08:03 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-18T10:11:24 < zyp> you probably want to keep the enumeration shit 2012-07-18T10:12:18 < dongs> http://a4.sphotos.ak.fbcdn.net/hphotos-ak-prn1/531203_4016525825462_1047560589_n.jpg 2012-07-18T10:12:26 < dongs> ive done USB on FX2/8051 2012-07-18T10:12:34 < dongs> but it was heaps less retarded tehre 2012-07-18T10:12:42 < dongs> st put shit everywehre 2012-07-18T10:18:36 -!- dekar [~dekar@dslb-188-107-195-113.pools.arcor-ip.net] has joined ##stm32 2012-07-18T10:18:40 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-18T10:21:05 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2012-07-18T10:46:46 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-18T10:59:06 < dongs> why hte fuck are there 3 endpoints for CDC 2012-07-18T11:00:12 < zyp> in, out and some metadata shit 2012-07-18T11:00:25 < dongs> so there are 4 tehn total 2012-07-18T11:00:27 < dongs> ep0, 1,2,3 2012-07-18T11:00:28 < dongs> ??? 2012-07-18T11:01:03 < zyp> more like 0, 1, 81, 82 2012-07-18T11:01:21 < dongs> 0/1 = control shit 2012-07-18T11:01:48 < zyp> 0 = default control shit 2012-07-18T11:02:03 < zyp> the rest are defined by the device 2012-07-18T11:02:15 < zyp> the upper bit (0x80) defines in or out 2012-07-18T11:02:26 < zyp> so 1 is out and 81 is in 2012-07-18T11:03:01 < zyp> so 1/81 is an out/in pair and 82 is an extra in-endpoint 2012-07-18T11:03:33 < zyp> the latter is used to signal events from the other lines 2012-07-18T11:03:41 < zyp> flow control shit and so on 2012-07-18T11:04:33 < zyp> and those numbers are just the default, if you start counting at the beginning 2012-07-18T11:05:16 < zyp> they can in reality be anything, the device just specifies in the descriptor which are which 2012-07-18T11:05:26 < zyp> could as well be 5, 87 and 89 2012-07-18T11:24:59 < tech2077> hmm 2012-07-18T11:26:38 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-18T11:28:51 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-18T11:32:08 < tech2077> i can't seem to be able to pass a memory address accurately to a function 2012-07-18T11:36:03 < zyp> what are you trying to do? 2012-07-18T11:36:13 < tech2077> DMA memory to memory 2012-07-18T11:37:21 < tech2077> just testing it out 2012-07-18T11:37:30 < tech2077> it should be able to take two variables right? 2012-07-18T11:37:45 < tech2077> and transfer a value from one to the other 2012-07-18T11:37:52 < zyp> which MCU? 2012-07-18T11:37:55 < zyp> F4? 2012-07-18T11:37:58 < tech2077> yes 2012-07-18T11:38:05 < zyp> DMA1 or DMA2? 2012-07-18T11:38:08 < tech2077> DMA2 2012-07-18T11:38:19 < zyp> pastebin your code 2012-07-18T11:39:05 < tech2077> http://pastebin.com/pVdYLKSS 2012-07-18T11:41:10 < dongs> m0ar 2012-07-18T11:41:15 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-18T11:41:23 < tech2077> ? 2012-07-18T11:42:07 < zyp> wtf 2012-07-18T11:42:16 < zyp> F4 doesn't have a dma register called CR 2012-07-18T11:42:31 < tech2077> thats how CMSIS does it 2012-07-18T11:42:40 < tech2077> each stream is treated like a mini register 2012-07-18T11:42:48 < tech2077> it's the local stream config reg 2012-07-18T11:42:56 < zyp> oh, right 2012-07-18T11:43:06 < zyp> so it's S1CR 2012-07-18T11:43:17 < zyp> ok, makes sense now 2012-07-18T11:43:32 < tech2077> heh 2012-07-18T11:45:33 < zyp> ah, right 2012-07-18T11:45:43 < zyp> register values are correct 2012-07-18T11:45:51 < zyp> but I spotted your problem 2012-07-18T11:46:12 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 248 seconds] 2012-07-18T11:46:32 < tech2077> what is it? 2012-07-18T11:47:02 < zyp> check the function signature of DMA2_init 2012-07-18T11:47:46 < zyp> now, check what you are putting into PAR and M0AR 2012-07-18T11:47:53 < dongs> lol 2012-07-18T11:47:57 < tech2077> ah fuck 2012-07-18T11:48:00 < tech2077> i thought of that 2012-07-18T11:48:13 < tech2077> it's pointing to the arguments, not the actually values 2012-07-18T11:48:25 < zyp> and why doesn't your compiler complain about implicit casting? 2012-07-18T11:49:54 < dongs> zyp, t he biggest problem with usb sample is its impossible to tell the difference between boilerplate code and shit i can actually delete. 2012-07-18T11:50:22 < zyp> not surprised 2012-07-18T11:50:45 < tech2077> it did, i overlooked it since i have an implicit cast that does something useful somewhere else 2012-07-18T11:51:02 < zyp> tech2077, that's dumb 2012-07-18T11:51:05 < tech2077> but it still doesn't work 2012-07-18T11:51:07 < dongs> i.e. if I ust make a device with a single bulk endpoint for receiving data, do I just get receive callback in EP1_OUT_whatever and im done? 2012-07-18T11:51:39 < zyp> something like that 2012-07-18T11:51:47 < dongs> sounds too easy 2012-07-18T11:52:23 < zyp> well, did you even see my code? it's so small I haven't had to move it out of main.cpp yet 2012-07-18T11:52:32 < dongs> for what, usb? 2012-07-18T11:52:39 < dongs> youre on f4. 2012-07-18T11:52:56 < zyp> I know 2012-07-18T11:53:23 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-18T11:53:57 < tech2077> ah, now it work 2012-07-18T11:54:02 < tech2077> nice, thanks 2012-07-18T11:54:23 < tech2077> i really need to stop developing code 2-5am 2012-07-18T11:54:37 < zyp> you need to stop overlooking warnings 2012-07-18T11:54:43 < zyp> make casts explicit 2012-07-18T11:54:51 < tech2077> k 2012-07-18T11:55:45 < zyp> dongs, I'm just talking about the size of the code, not that you should use it 2012-07-18T11:55:50 < tech2077> yay, warningless code and time to sleep 2012-07-18T11:55:59 < dongs> right. 2012-07-18T11:56:22 < zyp> it's not ready for use yet either way, I have some weird issues I haven't bothered to solve yet 2012-07-18T11:56:43 < dongs> f1 usb peripheral is totalyl diferent anyway 2012-07-18T11:56:58 < zyp> yes, but usb is still the same 2012-07-18T11:58:56 < zyp> usb peripheral just handles sending and receiving of frames and the layers below that 2012-07-18T11:59:56 < zyp> the control requests required for enumeration is in a layer above that, and should be independent of the peripheral used 2012-07-18T11:59:58 < dongs> on fullspeed, max endpoint transfer is 64bytes? 2012-07-18T12:00:29 < zyp> for ep0 yes 2012-07-18T12:00:35 < zyp> other endpoints can be larger 2012-07-18T12:00:50 < dongs> For full speed endpoints, the maximum bulk packet size is either 8, 16, 32 or 64 bytes long. 2012-07-18T12:00:54 < dongs> nope 2012-07-18T12:00:59 < dongs> For high speed endpoints, the maximum packet size can be up to 512 bytes long. 2012-07-18T12:01:04 < dongs> thats waht I thought hmm 2012-07-18T12:01:05 < zyp> oh 2012-07-18T12:01:16 < zyp> well, packet size != transfer size 2012-07-18T12:01:17 < dongs> my shit i worked with last was highspeed w/512 2012-07-18T12:01:21 < dongs> yes it is 2012-07-18T12:01:34 < zyp> one transfer can consist of several packets 2012-07-18T12:04:48 < zyp> as I've understood it, a max length packet means that it's not the last packet in the transfer, so another packet will follow 2012-07-18T12:05:29 < zyp> so if you want to send a packet of exactly max length, you have to send a zero length packet after it to terminate the transfer 2012-07-18T12:09:10 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has joined ##stm32 2012-07-18T12:15:02 < dongs> i dont see any way i can stall stuff if host is sending too fast. 2012-07-18T12:16:45 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 265 seconds] 2012-07-18T12:19:32 < karlp> They didn't blur out the name of the cow! 2012-07-18T12:19:37 < karlp> we can find out everything now! 2012-07-18T12:56:40 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has joined ##stm32 2012-07-18T13:23:52 -!- tavish3 [~tavish@120.56.168.122] has quit [Ping timeout: 246 seconds] 2012-07-18T13:25:01 -!- tavish3 [~tavish@125.63.110.162] has joined ##stm32 2012-07-18T14:23:35 < dongs> hmm.. if i got pingpong dma going between 2 buffers, one filled by usb, one clocked out (64bytes each),, how can I make sure I'm at some point not gonna get swapped buffers while im still memcpying usb shit? 2012-07-18T14:23:53 < dongs> make a flag of some kind and check it in dma tc interrupt and wait until memcpy / swap is done? 2012-07-18T14:24:42 < Laurenceb> RAGEEE 2012-07-18T14:24:51 < Laurenceb> mass storage still not working 2012-07-18T14:24:55 < Laurenceb> i rewrite the usb code 2012-07-18T14:25:10 < Laurenceb> but exactly the same bug 2012-07-18T14:25:24 < Laurenceb> it reads 32blocks 2012-07-18T14:25:27 < Laurenceb> then breaks 2012-07-18T14:27:43 < Laurenceb> interestingly thats 256 transfers 2012-07-18T14:27:51 < Laurenceb> im not sure what that could mean 2012-07-18T14:54:44 < dongs> wait, if usb and dma are both interrupts 2012-07-18T14:54:51 < dongs> they both cant happen at same time right? 2012-07-18T14:55:00 < dongs> it won't pause current interrupt to service another one? 2012-07-18T14:55:02 < dongs> only after its done? 2012-07-18T15:00:34 < karlp> depends on priority 2012-07-18T15:00:39 < karlp> we went through this yesterday 2012-07-18T15:01:16 < Laurenceb> hmf 2012-07-18T15:01:29 < dongs> karlp: it will >stop< current interrupt, and switch to a new one? 2012-07-18T15:01:32 < Laurenceb> so i have a "wrapup" isr 2012-07-18T15:01:36 < dongs> then continue the old one? 2012-07-18T15:01:40 < Laurenceb> that fires on dma completion 2012-07-18T15:01:56 < karlp> ask thorn :) (or read The Book) 2012-07-18T15:01:57 < Laurenceb> and finalises the transaction with the card 2012-07-18T15:02:09 < Laurenceb> sometimes it never fires 2012-07-18T15:02:18 < Laurenceb> yet the dma completes 2012-07-18T15:02:20 < Laurenceb> wtf 2012-07-18T15:02:38 < dongs> what interrupt is that? dma transfer completeT? 2012-07-18T15:02:56 < Laurenceb> yes 2012-07-18T15:03:01 < Laurenceb> its setup 2012-07-18T15:03:09 < Laurenceb> almost all the time it fires 2012-07-18T15:03:17 < Laurenceb> about one in 10K times it never fires 2012-07-18T15:03:44 < Laurenceb> __disable_irq(); 2012-07-18T15:03:44 < Laurenceb> MAL_Read(lun, Transfer_counter, (uint8_t * volatile)Data, 512);//Read and discard CRC 2012-07-18T15:03:44 < Laurenceb> DMA_ISR_Config_SPI2(); 2012-07-18T15:03:44 < Laurenceb> __enable_irq(); 2012-07-18T15:03:58 < Laurenceb> ^code looks like that - MAL_Read sets up the dma 2012-07-18T15:06:28 < Laurenceb> unless my usb interrupt preemption priority got messed up 2012-07-18T15:07:45 < Laurenceb> higher priority number == lower priority right? 2012-07-18T15:14:48 -!- josepharmbruster [~josepharm@71.43.22.150] has quit [Ping timeout: 246 seconds] 2012-07-18T15:15:26 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-18T15:21:13 < Laurenceb> the more i investigate the less sense this makes 2012-07-18T15:21:36 < Laurenceb> dma completes but interrupt is never called 2012-07-18T15:28:12 < Laurenceb> epic fail 2012-07-18T15:29:02 < Laurenceb> this is like negative debugging 2012-07-18T15:29:16 < Laurenceb> im just making it worse 2012-07-18T15:30:37 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-18T15:33:15 < dongs> < Laurenceb> higher priority number == lower priority right? 2012-07-18T15:33:15 < dongs> ya 2012-07-18T15:33:29 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-07-18T15:34:01 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 246 seconds] 2012-07-18T15:34:55 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201403.dsl.bell.ca] has joined ##stm32 2012-07-18T15:34:55 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201403.dsl.bell.ca] has quit [Changing host] 2012-07-18T15:34:55 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-18T15:36:15 < Laurenceb> so its impossible 2012-07-18T15:36:18 < Laurenceb> wohoo 2012-07-18T15:36:25 < Laurenceb> stm32 is doing impossible shit 2012-07-18T15:39:36 < Laurenceb> maybe enable interrupt before starting dma? 2012-07-18T15:40:25 < dongs> uh.. 2012-07-18T15:40:29 < dongs> you rent? 2012-07-18T15:40:30 < dongs> err 2012-07-18T15:40:31 < dongs> arent? 2012-07-18T15:40:39 < dongs> waht if: 2012-07-18T15:40:44 < dongs> you enable dma 2012-07-18T15:40:48 < dongs> (some other interrupt happens here) 2012-07-18T15:40:53 < dongs> (takes time) 2012-07-18T15:40:57 < dongs> you enable dma interrupt 2012-07-18T15:41:01 < dongs> (you fail) 2012-07-18T15:41:03 < Laurenceb> i blocked interrupts 2012-07-18T15:41:47 -!- tavish3 [~tavish@125.63.110.162] has quit [Ping timeout: 244 seconds] 2012-07-18T15:42:31 < Laurenceb> hmm same fail 2012-07-18T15:42:54 < Laurenceb> i think something somewhere is fuxoring with the spi hardware 2012-07-18T15:42:58 < Laurenceb> i just cant see it 2012-07-18T15:43:23 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-18T15:44:52 < dongs> thorn, can another interrupt happen while one interrupt is running on m3, pause the current interrupt, then resume it? 2012-07-18T15:46:00 < Laurenceb> yes 2012-07-18T15:46:08 < dongs> no way 2012-07-18T15:46:23 < Laurenceb> using preemption priority 2012-07-18T15:46:31 < Thorn> another interrupt sure can. 'n' in 'nvic' = nested 2012-07-18T15:47:00 < dongs> fuuuuck. 2012-07-18T15:47:14 < Laurenceb> doesnt explain my issue tho 2012-07-18T15:47:15 < Thorn> you have Real Development Tools, you can trace interrupts 2012-07-18T15:47:24 < dongs> indeed 2012-07-18T15:47:24 < Laurenceb> hmmm 2012-07-18T15:47:38 < Laurenceb> or printf XD 2012-07-18T15:47:44 < dongs> pfft. 2012-07-18T15:48:18 < Thorn> configure 2 timer interrupts with different periods and priorities and enjoy the view 2012-07-18T15:48:31 < Thorn> with some busy waits in them 2012-07-18T15:48:51 < Thorn> or set a pin at entry and reset at exit 2012-07-18T15:48:55 < Thorn> and use the scope 2012-07-18T15:48:58 < dongs> ok so then I gotta figure out some way to mutex buffer operations here 2012-07-18T15:49:19 < dongs> i got pingpong dma copies from 2 buffers, and I need to fill the "unused" buffer from usb interrupt 2012-07-18T15:49:25 < dongs> is tehre some atomic lock/unlock thing I can use? 2012-07-18T15:49:31 < dongs> dont have OS here 2012-07-18T15:49:53 < dongs> is just using a volatile int as lock enough or do i need some asm fuckery 2012-07-18T15:50:44 < Thorn> you can take al look at ldrex/strex instructions. there're CMSIS functions for them 2012-07-18T15:52:44 < Laurenceb> aha found my issue 2012-07-18T15:53:04 < Laurenceb> usb msc is calling the getstatus command in the middle of a transaction 2012-07-18T15:53:44 < Laurenceb> but that shouldnt break it 2012-07-18T15:54:35 < Laurenceb> for some reason my interrupts are screwed 2012-07-18T16:00:44 < Laurenceb> dongs: enabling interrupt before the dma means it never fires 2012-07-18T16:01:16 < dongs> ? why wouldnt it 2012-07-18T16:02:31 < Laurenceb> this makes no sense 2012-07-18T16:02:35 < Laurenceb> dma has completed 2012-07-18T16:03:45 < Laurenceb> http://pastebin.com/cZ7cfq7t 2012-07-18T16:03:59 < Laurenceb> i call that then start the dma 2012-07-18T16:04:07 < Laurenceb> the interrupt never fires 2012-07-18T16:05:27 < dongs> DMA_ITConfig(DMA1_Channel4, DMA_IT_TC, ENABLE); //interrupt on complete and half 2012-07-18T16:05:30 < dongs> ?????????? 2012-07-18T16:05:40 < dongs> do that AFTER configuring nvic? 2012-07-18T16:06:35 < Laurenceb> trying 2012-07-18T16:08:08 < Laurenceb> same 2012-07-18T16:09:48 < Laurenceb> hmm fatfs code deinits the dma 2012-07-18T16:09:52 < Laurenceb> thatll be why 2012-07-18T16:11:30 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 246 seconds] 2012-07-18T16:11:48 < dongs> fucking chan. 2012-07-18T16:15:27 < Laurenceb> nope 2012-07-18T16:15:35 < Laurenceb> this makes less and less sense 2012-07-18T16:15:53 < Laurenceb> im going to give up 2012-07-18T16:16:01 < Laurenceb> its beyond me 2012-07-18T16:17:03 < Laurenceb> unless the nvic is broken 2012-07-18T16:18:36 < Laurenceb> dma interrupt is refusing to fire 2012-07-18T16:18:43 < Laurenceb> ...sometimes 2012-07-18T16:18:53 < Laurenceb> card is going mad and usb is too 2012-07-18T16:18:57 < Laurenceb> utter clusterfuck 2012-07-18T16:20:40 < Thorn> try another device (you did build at least 2 didn't you?) 2012-07-18T16:21:04 < Thorn> chances are it's going to be the same thing though 2012-07-18T16:26:19 < Laurenceb> wait wtf 2012-07-18T16:26:43 < Laurenceb> either my usb interrupts are nesting inside one another 2012-07-18T16:26:53 < Laurenceb> or something is calling them from the setup code 2012-07-18T16:27:32 < Laurenceb> this is so annoying 2012-07-18T16:27:40 < Laurenceb> if i set breakpoints the behaviour changes 2012-07-18T16:28:05 -!- pelrun [~pelrun@203-206-187-234.perm.iinet.net.au] has quit [Ping timeout: 265 seconds] 2012-07-18T16:28:13 < Laurenceb> i set a variable to 1 at the beginning of MAL_Read 2012-07-18T16:28:17 < Laurenceb> and 2 at the end 2012-07-18T16:28:35 < Laurenceb> its cleared to zero by the interrupt on dma completion 2012-07-18T16:29:15 < Laurenceb> in the backtrace when it jams up i see that MAL_Getstatus has been called from the scsi emulation layer in the usb interrupt 2012-07-18T16:29:27 < Laurenceb> and the variable is 1 2012-07-18T16:29:42 < Laurenceb> wish i coul;d breakpoint here :( 2012-07-18T16:30:07 < Laurenceb> but it breaks the usb on the host 2012-07-18T16:30:26 < Laurenceb> how can i explain this behaviour? 2012-07-18T16:33:29 < dongs> Thorn: STREX* stuff? 2012-07-18T16:33:40 < dongs> is that what OS would use for lock/unlock primitives? 2012-07-18T16:38:01 < Thorn> I guess so 2012-07-18T16:44:13 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-18T16:48:54 < dongs> hmm 2012-07-18T16:50:56 < Laurenceb> Backtrace stopped: frame did not save the PC 2012-07-18T16:51:06 < Laurenceb> ^does that tell me anything bad is happening? 2012-07-18T16:51:59 < ratatata> nu 2012-07-18T16:55:04 < Laurenceb> arg wtf 2012-07-18T16:55:13 < Laurenceb> there ictrl being called 2012-07-18T16:55:20 < Laurenceb> *ioctrl 2012-07-18T16:55:28 < Laurenceb> this shit is way too complex 2012-07-18T17:02:03 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-18T17:31:05 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-18T17:31:50 < dongs> so i cant fuck around with interrupt priorities to prevent nesting? 2012-07-18T17:34:49 < dongs> this is gayer than richard simmons 2012-07-18T17:42:05 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Remote host closed the connection] 2012-07-18T17:44:36 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-18T17:47:00 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Remote host closed the connection] 2012-07-18T17:47:12 < Laurenceb> wtf 2012-07-18T17:47:22 < Laurenceb> does __disable_irq(); work? 2012-07-18T17:48:54 < dongs> yes 2012-07-18T17:48:58 < dongs> works for me 2012-07-18T17:49:18 < dongs> at least in armcc :) 2012-07-18T17:49:20 < dongs> dunno about gcc. 2012-07-18T17:49:43 < dongs> oh, you can do int masked = __disable_irq() 2012-07-18T17:49:50 < dongs> and find out if any interrupts were masked during disableage. 2012-07-18T17:50:13 < dongs> hm or no, looks like some otehr shit 2012-07-18T17:50:26 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 245 seconds] 2012-07-18T17:51:23 < Laurenceb> so i test the dma before re enabling 2012-07-18T17:51:33 < Laurenceb> when it screws up, zero bytes 2012-07-18T17:51:47 < Laurenceb> remaining to transfer, explaining why i never get interrupt 2012-07-18T17:53:01 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-18T17:54:07 < dongs> youre filling CNDTR with proper data after disabling dma? 2012-07-18T17:58:39 < Laurenceb> aha found it 2012-07-18T17:58:45 < Laurenceb> poor error handling 2012-07-18T17:58:54 < Laurenceb> for cmd17 error response 2012-07-18T18:36:30 < Laurenceb> lol fixed it 2012-07-18T18:36:48 < Laurenceb> my code aborts and reinits the card if bad shit happens 2012-07-18T18:37:02 < Laurenceb> getto fix 2012-07-18T18:37:07 < Laurenceb> *ghetto 2012-07-18T18:42:30 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-18T18:43:10 -!- dekar [~dekar@dslb-188-107-195-113.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-07-18T18:45:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-18T18:56:00 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-18T18:56:47 < karlp> so, what sort of errors were you getting, and what are you doing now? 2012-07-18T19:18:45 < Laurenceb> i was getting errors from cmd17 reads 2012-07-18T19:18:57 < Laurenceb> im reinitialising the card and trying again now 2012-07-18T19:21:20 < karlp> so what, before you got an error, but ignored it? 2012-07-18T19:22:10 < Laurenceb> yes 2012-07-18T19:22:12 < Laurenceb> lol 2012-07-18T19:31:12 -!- dekar [~dekar@212.255.19.194] has joined ##stm32 2012-07-18T19:31:16 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-18T19:36:06 < Laurenceb> well - st code ignored it 2012-07-18T19:50:57 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-18T20:03:47 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-18T20:03:50 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-18T20:21:44 <+Steffanx> nu 2012-07-18T20:23:53 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2012-07-18T20:24:50 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-18T20:24:56 < zyp> http://www2.electronicproducts.com/Check_out_the_VoloCopter_A_helicopter_with_18_rotors-article-fajb_volocopter_jul2012-html.aspx <- is this old? 2012-07-18T20:25:00 < zyp> trollocopter 2012-07-18T20:25:35 <+Steffanx> Déjà vuj 2012-07-18T20:25:37 <+Steffanx> -j 2012-07-18T20:25:53 < zyp> not you 2012-07-18T20:25:55 < zyp> :p 2012-07-18T20:26:10 <+Steffanx> Sorry, I'll leave 2012-07-18T20:31:26 < pelrun> oh, the joys of the 8051 2012-07-18T20:31:44 < pelrun> why would I ever use anything else 2012-07-18T20:31:54 < pelrun> (aaaaaarrrrrgggghhhh) 2012-07-18T20:32:05 <+Steffanx> because 8051 is perfect 2012-07-18T20:33:00 < pelrun> nobody would ever need more than 256 bytes of directly accessible ram! 2012-07-18T20:33:46 < pelrun> hah, i kid, it's not so bad 2012-07-18T20:34:10 < pelrun> exp. since I'm just patching up a bit of preexisting code 2012-07-18T21:01:01 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-18T21:15:21 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has joined ##stm32 2012-07-18T21:15:34 < zippe> pelrun: you mean 128, right? 2012-07-18T21:16:42 < zippe> dongs: on the M3/M4? of course you can 2012-07-18T21:16:44 < pelrun> yeah 2012-07-18T21:17:00 < zyp> does that even matter? banked ram is banked ram 2012-07-18T21:17:31 < pelrun> though i've just seen code that shoves vars into certain sfrs 2012-07-18T21:17:49 < pelrun> disregarding the actual sfr function 2012-07-18T21:18:11 < pelrun> thats a bit evil 2012-07-18T21:19:11 < pelrun> zyp: you're right, of course 2012-07-18T21:19:23 < pelrun> I was mostly being facetious 2012-07-18T21:20:03 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-18T21:31:46 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-18T21:40:09 < tech2077> who made the TNT script 2012-07-18T21:40:15 <+Steffanx> mr dekar 2012-07-18T21:40:41 < tech2077> it actually doesn't make me redownload everything every time i run it 2012-07-18T21:41:04 < tech2077> i think i like this script, a lot 2012-07-18T21:48:17 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-18T21:48:17 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Disconnected by services] 2012-07-18T21:48:22 -!- mode/##stm32 [+v Steffann] by ChanServ 2012-07-18T22:11:27 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-18T22:15:00 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has quit [Ping timeout: 248 seconds] 2012-07-18T22:29:09 -!- gsmcmull1n [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-07-18T22:29:12 -!- csamuelson [~Rious@ec2-50-17-240-121.compute-1.amazonaws.com] has joined ##stm32 2012-07-18T22:29:32 -!- nopcode [~nop@sushi.unix-ag.uni-kl.de] has joined ##stm32 2012-07-18T22:29:40 -!- dongs_ [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-07-18T22:32:14 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has joined ##stm32 2012-07-18T22:34:14 -!- Netsplit *.net <-> *.split quits: Rious, dongs, nopcode_, gsmcmullin 2012-07-18T22:34:14 -!- csamuelson is now known as Rious 2012-07-18T22:43:34 < tech2077> hmm 2012-07-18T22:43:39 <+Steffann> mmh 2012-07-18T22:44:02 < tech2077> how would i retarget printf for TNT 2012-07-18T22:44:21 < tech2077> it also seems to lack printf 2012-07-18T22:44:28 * Laurenceb_ used rfprintf 2012-07-18T22:44:35 <+Steffann> printf is in newlib isn't it? 2012-07-18T22:44:42 < tech2077> i assume so 2012-07-18T22:44:47 < tech2077> but it's not seeing it 2012-07-18T22:47:39 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-18T22:48:48 < tech2077> it has fprintf 2012-07-18T22:48:53 < tech2077> but not printf 2012-07-18T22:50:16 < Laurenceb_> i used stuff from procyon avrlib 2012-07-18T22:50:37 <+Steffann> Never say that again Laurenceb_ 2012-07-18T22:50:51 <+Steffann> dekar knows how to make it functional, it's his toolchain :P 2012-07-18T22:50:55 <+Steffann> dekar wake up 2012-07-18T22:51:26 < tech2077> heh 2012-07-18T22:51:38 < tech2077> it seems to be a lib problem 2012-07-18T22:51:57 < tech2077> the header has the prototype for printf 2012-07-18T22:52:26 < Laurenceb_> http://www.guardian.co.uk/world/2001/oct/07/books.booksnews 2012-07-18T22:52:27 < Laurenceb_> lolling 2012-07-18T22:53:29 * Steffann reads title and closes page 2012-07-18T23:03:32 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-18T23:06:26 < tech2077> heh 2012-07-18T23:07:23 < tech2077> TNT is making me angry 2012-07-18T23:09:28 < karlp> you need _write 2012-07-18T23:10:50 < tech2077> i redefined it 2012-07-18T23:11:09 < tech2077> it's just that it lacks printf completely 2012-07-18T23:11:24 < tech2077> so i need to make a file descriptor 2012-07-18T23:20:31 < tech2077> AAHH 2012-07-18T23:20:49 < tech2077> it wasn't linking to any files 2012-07-18T23:20:53 < Laurenceb_> same as on avr 2012-07-18T23:21:28 < tech2077> but now i have a large amount of files that need linking 2012-07-18T23:23:59 < tech2077> anyone use gcc to link and compiling instead of just compiling with gcc and manually linking with ld 2012-07-18T23:24:02 < karlp> you're using a bad makefile. 2012-07-18T23:24:06 < tech2077> i know 2012-07-18T23:24:08 < karlp> most people use gcc to link. 2012-07-18T23:24:15 < karlp> get one from libopencm3/examples/ 2012-07-18T23:24:20 < tech2077> but i lack in makefile-fu 2012-07-18T23:24:31 < karlp> even if you're not using libopencm3 2012-07-18T23:24:50 < karlp> or get zyps makefile, or Laurenceb_'s makefile or anyone's makefile 2012-07-18T23:25:12 < karlp> but complaining about tnt+newlib not having printf when it's just your makefile.... 2012-07-18T23:27:25 -!- Laurenceb__ [~Laurence@host86-179-249-46.range86-179.btcentralplus.com] has joined ##stm32 2012-07-18T23:28:27 -!- Laurenceb_ [~Laurence@host86-143-55-210.range86-143.btcentralplus.com] has quit [Ping timeout: 276 seconds] 2012-07-18T23:32:15 < tech2077> hmm 2012-07-18T23:51:35 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has quit [Quit: Leaving] 2012-07-18T23:57:29 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has joined ##stm32 --- Day changed Thu Jul 19 2012 2012-07-19T00:16:15 < zyp> I don't have a makefile :p 2012-07-19T00:16:32 < tech2077> heh 2012-07-19T00:16:53 < tech2077> well, i'm breaking everything using the opencm3 examples makefiles 2012-07-19T00:17:03 < tech2077> they want you to have only one source file 2012-07-19T00:17:18 < tech2077> and they also designed it so their vectors were inside the library 2012-07-19T00:24:31 < Laurenceb__> http://www.youtube.com/watch?v=OfAul2isPfo 2012-07-19T00:24:31 -!- pelrun [~pelrun@60-241-99-33.static.tpgi.com.au] has quit [Read error: Connection reset by peer] 2012-07-19T00:28:21 < zippe> tech2077: the vectors in the library are weak 2012-07-19T00:28:31 < zippe> tech2077: you should be able to override them 2012-07-19T00:28:47 < tech2077> ok 2012-07-19T00:37:18 <+dekar> Steffann, how's that even related to TNT? that's just newlib :/ 2012-07-19T00:38:26 <+Steffann> I know, i just like to bug you about your toolchain script :P 2012-07-19T00:39:51 < tech2077> heh 2012-07-19T00:40:24 < tech2077> now it's another newlib thing, trying to get the default newlib syscalls 2012-07-19T00:42:46 <+Steffann> dekar, anyway … it would be something nice for the wiki :P 2012-07-19T00:42:56 <+Steffann> How to make it actually functional 2012-07-19T00:43:53 < zyp> so, what's the status of the wiki? 2012-07-19T00:44:35 <+Steffann> izua ? 2012-07-19T00:47:14 < tech2077> does anyone have a working TNT makefile 2012-07-19T00:49:41 < tech2077> that sucks 2012-07-19T00:58:43 < zippe> tech2077: why are you using tnt? 2012-07-19T00:58:47 < zippe> It's teh lamez 2012-07-19T00:58:54 < tech2077> heh 2012-07-19T00:59:04 < tech2077> since gcc wasn't working out 2012-07-19T00:59:12 < tech2077> but after this hell, i think i'm going back 2012-07-19T00:59:21 < zippe> when you say "gcc", what do you mean? 2012-07-19T00:59:29 < zippe> TNT is just a gcc distribution 2012-07-19T00:59:29 < tech2077> or i should say, gcclib 2012-07-19T00:59:38 < zippe> gcclib isn't a thing 2012-07-19T00:59:42 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-19T00:59:53 < tech2077> or whatever the libc included with gcc is called 2012-07-19T01:00:00 < tech2077> as apposed to newlib 2012-07-19T01:01:37 < zippe> There isn't one 2012-07-19T01:02:45 < zippe> You may be thinking of libgcc 2012-07-19T01:02:57 < tech2077> likely 2012-07-19T01:02:58 < zippe> That isn't a C library; it's just helper functions for the compiler. 2012-07-19T01:03:08 <+dekar> well there is glibc/eglibc and stuff like that 2012-07-19T01:03:57 < zippe> dekar: yes, but none of those are suitable for bare-metal work 2012-07-19T01:05:38 < tech2077> time to switch back to the summon toolchain 2012-07-19T01:06:01 < tech2077> things should go smoother there 2012-07-19T01:06:07 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has left ##stm32 [] 2012-07-19T01:06:58 < Laurenceb__> or codesourcery 2012-07-19T01:08:04 < zyp> I'd try out the launchpad stuff if anything 2012-07-19T01:08:10 < zyp> https://launchpad.net/gcc-arm-embedded 2012-07-19T01:09:03 < zyp> I haven't tried it myself yet, but it seems thoroughly done 2012-07-19T01:10:22 -!- peabody128 [~peabody12@128.249.96.123] has joined ##stm32 2012-07-19T01:11:04 -!- peabody128 [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2012-07-19T01:11:13 -!- peabody124 [~peabody12@128.249.96.21] has quit [Read error: Connection reset by peer] 2012-07-19T01:11:22 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-19T01:11:24 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 260 seconds] 2012-07-19T01:14:35 < tech2077> let me try that 2012-07-19T01:14:45 < tech2077> since it's the fastest option for me right now 2012-07-19T01:15:43 < Laurenceb__> As part of this, ARM will, at regular intervals, release binaries pre-built and tested from the ARM embedded branch. 2012-07-19T01:15:47 < Laurenceb__> seriously ?! 2012-07-19T01:15:56 < Laurenceb__> its official? thats awesome 2012-07-19T01:15:57 < Vutral> eh 2012-07-19T01:15:59 < Vutral> hey i got a problem 2012-07-19T01:16:25 < Vutral> i got a cmos device here which the datasheet says can source some hundred microampere only 2012-07-19T01:16:44 < Vutral> but it seems that not enough get useful input to my spi 2012-07-19T01:19:12 < Laurenceb__> https://answers.launchpad.net/gcc-arm-embedded/+question/196873 2012-07-19T01:19:15 < Laurenceb__> ^ :-/ 2012-07-19T01:19:26 * Laurenceb__ zzz 2012-07-19T01:22:39 < tech2077> seems solved 2012-07-19T01:24:50 -!- Laurenceb__ [~Laurence@host86-179-249-46.range86-179.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2012-07-19T01:32:06 < zippe> Laurenceb: some people are dum 2012-07-19T01:55:42 < tech2077> heh 2012-07-19T01:55:46 < tech2077> i can call printf now 2012-07-19T01:55:54 < tech2077> it just crashes my code completely 2012-07-19T01:56:13 < tech2077> since i basically had to do a huge number of kludges to get to this point 2012-07-19T01:56:26 < tech2077> i think implementing printf myself would have been easier 2012-07-19T02:00:25 < tech2077> has anyone had luck retargeting or using printf with uart 2012-07-19T02:05:26 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 245 seconds] 2012-07-19T02:06:18 < zippe> Yes 2012-07-19T02:06:30 < zippe> And implementing it is a nuisance, but always an option 2012-07-19T02:06:52 < zippe> How big is your stack? printf often needs a lot 2012-07-19T02:10:08 < tech2077> hmm, that may need to be defined... 2012-07-19T02:10:24 < tech2077> i really should have used a better base blinker project 2012-07-19T02:31:13 < tech2077> better idea, don't use printf 2012-07-19T02:31:52 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-19T02:38:35 < zippe> Laurenceb: re: the ARM gcc, yes, I've been trying to make people use it for ages 2012-07-19T02:38:41 < zippe> Laurenceb: it also has the right multilibs 2012-07-19T02:39:37 -!- dongs_ is now known as dongs 2012-07-19T02:40:15 < dongs> zippe: do tell 2012-07-19T02:41:28 < zippe> dongs: re: interrupt nesting? 2012-07-19T02:41:48 < dongs> yes 2012-07-19T02:42:02 < zippe> Just set them all to the same priority, presto, no nesting 2012-07-19T02:42:06 < dongs> how do disable nesting, and what happens if it does hit 2012-07-19T02:42:10 < dongs> so it will wait until one is done? 2012-07-19T02:42:18 < zippe> Yes 2012-07-19T02:42:22 < dongs> Hmm. 2012-07-19T02:42:38 < zippe> You can prioritise almost everything except for hardfault and NMI 2012-07-19T02:43:27 < zippe> Though some things are weird; e.g. if you have SVC prioritised at or below regular interrupts and you hit a SVC instruction you will hardfault and have to handle it there 2012-07-19T02:43:58 < zippe> Note also that not all bits of the priority register have to be implemented 2012-07-19T02:43:59 < dongs> i dont think im worried about that sorta shit. 2012-07-19T02:44:19 < zippe> If you *do* enable prioritisation, then it basically behaves like you expect. 2012-07-19T02:44:41 < zippe> You can take a higher-priority interrupt while handling a lower-priority one 2012-07-19T02:44:44 < dongs> just usb/dma interrupts, i am using double buffer dma (manually swapping buffers on completion) and I want to make sure i'm filling "unused" buffer in USB without having to deal with locking. 2012-07-19T02:45:07 < zippe> You need enough stack to handle the most verbose interrupt combination 2012-07-19T02:45:45 < zippe> You're worried about latency? The USB hardware will NAK if it doesn't have buffer space 2012-07-19T02:45:55 < zippe> so you can actually afford to be pretty lazy with it 2012-07-19T02:46:43 < dongs> no, latency isnt a problem. I have endpoint data callback, which gives me a buffer 2012-07-19T02:46:55 < dongs> that one's called from usb interrupt as far as I know 2012-07-19T02:47:23 < dongs> i just wanna guarantee that when I look at buffer_index inside that code that it won't be changed halfway through by dma completion interrupt 2012-07-19T02:49:39 < upgrdman> anyone here use OLS, or well, any logic analyzer? why do the max durations get *larger* when sampling more channels while using RLE? see here: http://dangerousprototypes.com/docs/Logic_Sniffer_103 2012-07-19T02:50:29 < dongs> upgrdman: isnt it obvious 2012-07-19T02:50:42 < dongs> RLE = run length encoding. it'll compress long lengts of 1s or zeros into a few bits. 2012-07-19T02:50:48 < dongs> so, you can capture moar. 2012-07-19T02:51:01 < upgrdman> yes 2012-07-19T02:51:02 < upgrdman> but 2012-07-19T02:51:04 < dongs> but? 2012-07-19T02:51:17 < upgrdman> shouldnt it be easier to do more of that with fewer channels? 2012-07-19T02:51:27 < dongs> more of what 2012-07-19T02:51:57 < upgrdman> if you sample fewer channels, with or without RLE, shouldn't it take longer to fill up the buffer? 2012-07-19T02:52:08 < dongs> yes, of course. 2012-07-19T02:52:10 < dongs> so you can sample longer. 2012-07-19T02:52:24 < dongs> at least thats what my logic analyzer does. 2012-07-19T02:52:31 < upgrdman> but the maximum duration is SHORTER for 8channels than 16channels 2012-07-19T02:52:38 < dongs> I can capture x samples of 32 channels or x*a lot more if I only use 2 c hannels 2012-07-19T02:52:47 < dongs> sounds like a UI/stupid bug then 2012-07-19T02:52:55 < upgrdman> i hope its a bug 2012-07-19T02:53:07 < upgrdman> that link and my experience match... :( 2012-07-19T02:56:43 < dongs> just howfilthy is the ols softwaRE? 2012-07-19T02:56:45 < dongs> java, right? 2012-07-19T02:56:54 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-19T02:57:14 < dongs> wait where the fuck is sram on OLS? 2012-07-19T02:57:18 < dongs> does it just use fpga ram blocks? 2012-07-19T03:00:29 < upgrdman> yes, its java 2012-07-19T03:00:53 < upgrdman> its useable, but does not seem as intuitive as other software. 2012-07-19T03:01:06 < upgrdman> im cheap and wanted 16channels... 2012-07-19T03:01:17 < dongs> < dongs> wait where the fuck is sram on OLS? 2012-07-19T03:01:23 < dongs> how much sample memory is there? 2012-07-19T03:01:25 < upgrdman> i don't think it has any external ram 2012-07-19T03:01:27 < dongs> hmm 2012-07-19T03:01:31 < dongs> so jsut fpga ram blocks? 2012-07-19T03:01:33 < dongs> shittay. 2012-07-19T03:01:36 < upgrdman> i dont know... 2012-07-19T03:01:49 < dongs> board is single sided right? 2012-07-19T03:01:54 < dongs> waht I see in the pics is all the chips? 2012-07-19T03:01:58 < dongs> nothing on teh back? 2012-07-19T03:01:58 < upgrdman> but with 16 channels and RLE and hooked up to a serial lcd i get maybe 25ms 2012-07-19T03:01:59 < upgrdman> :( 2012-07-19T03:02:08 < dongs> haha thats terrible 2012-07-19T03:02:10 < upgrdman> back is naked... 2012-07-19T03:02:15 < zippe> Yes; the FPGA is quite large all things considered 2012-07-19T03:02:38 < dongs> upgrdman: at what sample rate? 2012-07-19T03:02:46 < dongs> lower sample rate should also give you more capture time. 2012-07-19T03:02:52 < dongs> doesnt sound ilke you'd need > few mhzfor lcd 2012-07-19T03:02:55 < zippe> dongs: RLE 2012-07-19T03:03:11 < zippe> dongs: sample rate is not terribly interesting given the encoding scheme used 2012-07-19T03:03:17 < dongs> neat. 2012-07-19T03:03:29 < dongs> maybe I should poke my $$ analyzer vendor to see if they can implemetn this. 2012-07-19T03:03:30 < zippe> Not perfect (counters overflow, etc) 2012-07-19T03:03:33 < upgrdman> 20MHz 2012-07-19T03:03:41 < dongs> not tat im complaining 2012-07-19T03:03:43 < zippe> dongs: It'd be nice 2012-07-19T03:03:48 < dongs> ive got 18mbit buffer ram 2012-07-19T03:03:56 < dongs> has been enough for pretty much everything I ever thrown at it 2012-07-19T03:04:06 < zippe> dongs: http://www.pctestinstruments.com/ 2012-07-19T03:04:09 < zippe> Does the same thing 2012-07-19T03:04:19 < dongs> Ya. 2012-07-19T03:04:34 < dongs> i really like the software for my shit though 2012-07-19T03:04:45 < dongs> protocol decoders for * and pretty easy to use 2012-07-19T03:04:56 < dongs> its probably eeasy enough to generate save files in the format this thing can load 2012-07-19T03:05:17 < dongs> and it can run in demo mode without hardware, to open/examine data. 2012-07-19T03:05:37 < upgrdman> whats weird is i think the OLS does not stream data to the computer... i think it just fills the buffer, stops capturing and sending it to the computer 2012-07-19T03:05:44 < dongs> yes 2012-07-19T03:05:49 < dongs> thats what most of them do 2012-07-19T03:05:54 < upgrdman> why 2012-07-19T03:05:57 < dongs> it captures at high speed into the buffer 2012-07-19T03:06:01 < dongs> then dumps that buffer to pc 2012-07-19T03:06:16 < dongs> because when youre capturing something at say 200mhz you don't have enough bandwidth to send it to pc realtime. 2012-07-19T03:06:24 < upgrdman> rle it 2012-07-19T03:06:37 < dongs> and if signals actually change? 2012-07-19T03:06:57 < dongs> anyway i have no idea why they used a fucking pic. 2012-07-19T03:07:13 < upgrdman> sends the changes with timestamps? how does it do rle without streaming? 2012-07-19T03:07:23 < dongs> someone who knows what theyt're doing should put some high speed sram on that shit, perhaps a bigger fpga, cypress ez-usb fx3, and declare victory. 2012-07-19T03:07:46 < dongs> then you can have usb3.0 logic analyzer 2012-07-19T03:07:55 < dongs> there you can probably stream some stuff realtime-ish 2012-07-19T03:08:08 < dongs> .. if lunix supports usb3 that is 2012-07-19T03:08:12 < dongs> might be a bit hard. 2012-07-19T03:12:35 < zippe> http://www.totalphase.com/products/beagle_usb480/ 2012-07-19T03:12:41 < zippe> I think I have to 2012-07-19T03:13:00 < dongs> eh 2012-07-19T03:13:08 < dongs> ive got uh... lemme see what brand 2012-07-19T03:13:38 < dongs> ellisys usb explorer 2012-07-19T03:13:57 < zippe> I 2012-07-19T03:14:06 < zippe> No Mac software -> instant fail 2012-07-19T03:14:11 < dongs> bwahah. 2012-07-19T03:14:16 < zippe> Plus I am not giving leCroy any more money 2012-07-19T03:14:44 < zippe> I buy a postage stamp from them, and for four years they're calling me twice a month 2012-07-19T03:14:48 < zippe> screw that. 2012-07-19T03:14:58 < dongs> what does lecroy have to do with elisys 2012-07-19T03:15:44 < zippe> They're the other option 2012-07-19T03:16:11 < zippe> Oh, and Elisys will sell you a crippled version for $800, or a less crippled version for $1500 and a version that might actually work for $3200 2012-07-19T03:16:41 < dongs> duno, I 'fixed' their software to the highest non-cripple version that didnt require new hardware. 2012-07-19T03:16:46 < dongs> works for me. 2012-07-19T03:16:47 < zippe> Wow, that's a 'nope' 2012-07-19T03:18:00 < dongs> ya ya. 2012-07-19T03:18:41 < dongs> should I do NVIC_PriorityGroupConfig stuff? 2012-07-19T03:19:28 < dongs> wahts the diference between preemptionrpioty and subpriority? 2012-07-19T03:24:28 <+dekar> zippe, wasn't there this kickstarter cheapo usb analyzer project? 2012-07-19T03:24:52 < dongs> > kickstarter 2012-07-19T03:24:55 < zippe> openviszla? 2012-07-19T03:25:01 <+dekar> I think they planned to do usb2 as well 2012-07-19T03:25:02 < zippe> bwaahahahaha 2012-07-19T03:25:13 < zippe> Yes, and no, not interested. 2012-07-19T03:25:20 < zippe> Not Bushing and Pytey 2012-07-19T03:25:32 < dongs> haha xmos 2012-07-19T03:27:15 < dongs> 463% 2012-07-19T03:27:15 < dongs> FUNDED 2012-07-19T03:27:15 < dongs> $81,025 2012-07-19T03:27:15 < dongs> PLEDGED 2012-07-19T03:27:15 < dongs> FUNDED 2012-07-19T03:27:18 < dongs> DEC 22, 2010 2012-07-19T03:27:20 < dongs> so what happen? 2012-07-19T03:27:23 < dongs> is it out yet? 2012-07-19T03:29:01 < zippe> Looks like still in development 2012-07-19T03:29:04 < zippe> see above inre bushing 2012-07-19T03:29:06 < zippe> http://www.internationaltestinstruments.com/products/97-1480a-usb-20-protocol-analyzer.aspx 2012-07-19T03:29:16 < zippe> Hm. Half the price of the Beagle; makes me question my morals. 2012-07-19T03:30:46 < dongs> you should have got the beagle when it was on sale 2012-07-19T03:31:22 < dongs> http://www.totalphase.com/offer/darwin200/ 2012-07-19T03:31:25 <+dekar> I don't like their i2c/spi thing too much 2012-07-19T03:31:36 <+dekar> dunno about the usb one though 2012-07-19T03:37:52 < upgrdman> damn. i didn't realize OLS had such short capture abilities. :( 2012-07-19T03:38:12 < upgrdman> maybe i can sell it on ebay or somethign 2012-07-19T03:42:18 < dongs> its opensauce. you can always write your own firmware for it. 2012-07-19T03:42:20 < dongs> that captures moar. 2012-07-19T03:42:30 < upgrdman> i dont know fpgas or pics :) 2012-07-19T03:42:41 < dongs> ya i wouldnt buyit just because of PIC 2012-07-19T03:42:52 < dongs> how long do you really need to capture? 2012-07-19T03:42:54 < dongs> no other way? 2012-07-19T03:42:55 < upgrdman> and without modding the pcb, i dont know how to add memory 2012-07-19T03:43:11 < upgrdman> well i was hoping maybe 0.5s 2012-07-19T03:43:22 < dongs> right but forwhat 2012-07-19T03:43:29 < upgrdman> random shit 2012-07-19T03:43:32 < upgrdman> like 2012-07-19T03:43:32 < dongs> you cant creatively trigger etc? 2012-07-19T03:43:45 < upgrdman> rev eng'ing random pcb's for fun 2012-07-19T03:43:47 < upgrdman> yes 2012-07-19T03:43:53 < dongs> if you can trigger on just the point of interest the overall capture length doesnt reall matter 2012-07-19T03:43:59 < upgrdman> and i do creatively trigger, but that doesnt help for rev eng'ing 2012-07-19T03:44:44 < zippe> upgrdman: for the money, you can't do much better 2012-07-19T03:44:55 < upgrdman> and the 25ms i get is if im lucky. if some pin is doing lots of stuff i might get 3-4ms 2012-07-19T03:44:57 < upgrdman> :( 2012-07-19T03:45:04 < zippe> upgrdman: and seriously, wtf are you whining about; back in my day I had to do it all with a pen and a storage scope 2012-07-19T03:45:05 < upgrdman> i know. i'll make do 2012-07-19T03:45:06 < dongs> man thats terrible 2012-07-19T03:45:18 < upgrdman> im have a dso 2012-07-19T03:45:22 < upgrdman> but its only 2ch 2012-07-19T03:45:30 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-19T03:45:37 < upgrdman> zippe, no need to get defensive. 2012-07-19T03:48:04 < zippe> upgrdman: you confuse defense with abuse, but that's ok 8) 2012-07-19T03:49:37 < upgrdman> >:) 2012-07-19T03:50:26 < dongs> hmm, abuse 2012-07-19T03:55:44 <+dekar> upgrdman, enable RLE 2012-07-19T03:56:08 < upgrdman> i did 2012-07-19T03:56:11 <+dekar> it should be able to capture 0.5s unless you capture really fast stuff 2012-07-19T03:56:22 <+dekar> I am pretty sure I had several seconds of i2c capture 2012-07-19T03:56:30 < upgrdman> its a serial lcd... those old nokia cell phone ones 2012-07-19T03:56:56 <+dekar> upgrdman, ground all the unused pins 2012-07-19T03:57:07 < upgrdman> clock pins does its thing kinda quickly. if i sample at <20MHz it drops stuff 2012-07-19T03:57:21 < upgrdman> the unused pins float but don't change over time. 2012-07-19T03:57:37 <+dekar> they always changed for me 2012-07-19T03:58:15 < upgrdman> only 16-32 do that for me. the first 16 just stay where they are when left floating 2012-07-19T03:58:40 < upgrdman> and im not sampling the two groups 2012-07-19T04:03:12 < upgrdman> dekar, i notice than when i set the pre/post ratio it has a mind of its own. 1% pre / 99% post and the trigger will be randomly around 50% +/- 30%... any ideas? if i set it to 0/100 it works. 2012-07-19T04:05:23 <+dekar> dunno, I barely used it, but it didn't behave oddly when I did 2012-07-19T04:09:04 < tech2077> i make due with a cheap 2ch oscope and a bus pirate 2012-07-19T04:09:17 < tech2077> how fast is that lcd running 2012-07-19T04:09:49 < tech2077> i assume you're capturing spi ~1mhz, shouldn't be that bad 2012-07-19T04:11:43 < dongs> he says hes capping at 20mhz for some reason 2012-07-19T04:12:00 < dongs> buttpirate, the tool of rpi hackers 2012-07-19T04:12:14 < upgrdman> at 10mhz the clock pin doesnt register all 8 rises per byte 2012-07-19T04:12:33 < dongs> what is driving that lcd at 10mhz? 2012-07-19T04:12:44 < upgrdman> but its rle... doing 50mhz doesnt reduce my cap time 2012-07-19T04:13:02 < upgrdman> its a chine RC tx for a toy heli 2012-07-19T04:13:05 < upgrdman> chinese 2012-07-19T04:13:51 < upgrdman> this lcd: http://www.hobbypeople.net/media/catalog/product/cache/2/image/800x600/e5c3f25dbe2a3021345b55270d5894a1/1/7/171151_07.jpg :) :) 2012-07-19T04:14:31 < upgrdman> it has a pcd8544 (well probably a clone) lcd controller 2012-07-19T04:15:12 < dongs> http://static.flickr.com/47/145461284_8f05f79713.jpg lol. 2012-07-19T04:15:28 < tech2077> it's a maximum of 4Mbs 2012-07-19T04:15:36 < upgrdman> yes i knwo 2012-07-19T04:15:49 < tech2077> and your capping 20mhz? 2012-07-19T04:16:31 < upgrdman> was 2012-07-19T04:16:36 < upgrdman> 100mhz now 2012-07-19T04:16:44 < upgrdman> but no need 2012-07-19T04:16:59 < upgrdman> but no penalty with rle 2012-07-19T04:17:18 < upgrdman> dongs, thats yours? 2012-07-19T04:17:35 < dongs> haha no. 2012-07-19T04:17:43 < dongs> never wasted tiem making anything on breadboards. 2012-07-19T04:18:49 < tech2077> lol 2012-07-19T04:20:10 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-19T04:37:30 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Remote host closed the connection] 2012-07-19T04:39:22 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-19T04:52:25 < upgrdman> i wonder if i should try for grayscale on this pcd8544 lcd by toggling pixels quickly... lol 2012-07-19T04:55:04 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Remote host closed the connection] 2012-07-19T04:56:40 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-19T05:09:31 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-19T05:14:17 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-19T05:14:24 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-19T05:30:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-19T05:51:03 -!- dekar [~dekar@212.255.19.194] has quit [Quit: This computer has gone to sleep] 2012-07-19T06:58:27 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-19T07:03:04 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Client Quit] 2012-07-19T07:16:53 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-19T07:20:53 -!- R0b0t1 [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has joined ##stm32 2012-07-19T07:20:54 -!- R0b0t1 [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has quit [Changing host] 2012-07-19T07:20:54 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-19T07:22:07 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-19T07:46:36 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-19T07:55:37 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-19T08:16:10 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Remote host closed the connection] 2012-07-19T08:32:25 -!- dekar [~dekar@212.255.19.194] has joined ##stm32 2012-07-19T08:32:28 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-19T08:36:58 -!- tavish3 [~tavish@125.63.106.139] has joined ##stm32 2012-07-19T08:45:33 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-07-19T09:01:27 -!- claude is now known as Claude 2012-07-19T09:11:50 < tech2077> thats what i can use DMA for! 2012-07-19T09:12:44 < tech2077> transfer my image buffer to SPI digital pots 2012-07-19T09:15:31 < tech2077> but now with a sweet as arm with faster speed, FPU, and DMA, I can actually have motion 2012-07-19T09:22:38 < dongs> digital pots what 2012-07-19T09:23:28 < tech2077> for oscope graphics 2012-07-19T09:24:25 < tech2077> but the potentiometer i'm using require latching to switch between the two internal potentiometers 2012-07-19T09:24:55 < tech2077> how would i do that with SPI and DMA so that i can latch CS after every byte transfered 2012-07-19T09:24:57 < dongs> i would suspect using those 2 dacs would be slightly less retarded in this application 2012-07-19T09:25:13 < tech2077> maybe 2012-07-19T09:25:16 < dongs> are y ou making oscope clock or something.. 2012-07-19T09:25:18 < dongs> (again) 2012-07-19T09:26:02 < tech2077> don't have anything practical to work on, but want to try somewhat tangible projects on my F4 board 2012-07-19T09:26:42 < tech2077> but that still doesn't solve the problem with the latching, because i want to know if it's possible as i have seen other devices use that scheme 2012-07-19T09:27:44 < dongs> pretty sure SPI can control _CS in one of the hard nss modes 2012-07-19T09:27:50 < dongs> at start/end of tranasfer 2012-07-19T09:27:55 < dongs> no idea cause never dicked iwht that 2012-07-19T09:29:25 < tech2077> though i do need to try the DACs out, haven't actually had a chance to work with a DAC before 2012-07-19T09:29:32 < tech2077> always useful as hell 2012-07-19T09:29:36 < tech2077> seem* 2012-07-19T09:30:47 < zyp> isn't hard nss modes just for spi slave? 2012-07-19T09:33:27 < dongs> are theyt? no idea 2012-07-19T09:34:12 < tech2077> no, hard nss works for spi 2012-07-19T09:34:34 < tech2077> but to reset it, it requires spi to disabled 2012-07-19T09:37:52 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-19T09:45:47 -!- tavish3 [~tavish@125.63.106.139] has quit [Read error: Connection reset by peer] 2012-07-19T09:59:47 -!- Claude is now known as claude 2012-07-19T10:06:39 < dongs> agh 2012-07-19T10:07:44 < dongs> i have a counter in systick, counting uptime in microseconds. i also ghettoed up a timer callback/event type shit 2012-07-19T10:07:53 < dongs> when I schedule it, I just do ticksnow+schedule 2012-07-19T10:08:07 < dongs> but it never exactly hits ticksnow+schedule in systick for some reason 2012-07-19T10:08:09 < dongs> am i failing it? 2012-07-19T10:14:36 < zippe> Depends. What is the value of ticksnow + schedule? 2012-07-19T10:14:56 < zippe> Usual question; "what exactly are you doing"? 2012-07-19T10:14:57 < dongs> i know about rollover,, that was my next question 2012-07-19T10:15:15 < dongs> just that.. trying to setup a slow non-accurate timer for general idle tasks 2012-07-19T10:15:29 < dongs> I have a TIM-based timer for < 65k us timing 2012-07-19T10:15:40 < dongs> but I wanna call something say every x ms 2012-07-19T10:16:35 < zippe> Do you expect your accurate timers to pre-empt your inaccurate timers? 2012-07-19T10:16:47 < dongs> I think so. 2012-07-19T10:16:51 < zippe> Ok 2012-07-19T10:16:55 < dongs> nvic is higher for them 2012-07-19T10:17:02 < zippe> So if I was building one from scratch, I would only use systick. 2012-07-19T10:17:12 < zippe> Make it suitably high-priority. 2012-07-19T10:17:33 < zippe> Build a simple deadline timer with a sorted list of deadlines. 2012-07-19T10:17:55 < dongs> precision ones need to stay 2012-07-19T10:18:00 < zippe> Yes, yes, but wait 2012-07-19T10:18:20 < zippe> One of the tasks you queue on a recurring basis is your "boring" task 2012-07-19T10:18:40 < zippe> It's a very short thing; all it does is issue a PendSV 2012-07-19T10:18:51 < dongs> shit, that sounds like rtos'ish crap : ( 2012-07-19T10:19:04 < zippe> Either that, or just go to town using the regular timers. 2012-07-19T10:19:35 < zippe> But you generally want to run systick fast, rather than slow. 2012-07-19T10:19:46 < zippe> Most people use it for tick timing, which naffs me no end 2012-07-19T10:19:48 < dongs> im running it at 1us. 2012-07-19T10:19:54 < dongs> tick timing? 2012-07-19T10:20:00 < zippe> periodic ticks 2012-07-19T10:20:01 < zippe> Most 2012-07-19T10:20:02 < zippe> stupid 2012-07-19T10:20:04 < zippe> timing 2012-07-19T10:20:06 < zippe> strategy 2012-07-19T10:20:06 < zippe> ever 2012-07-19T10:20:08 < dongs> do tell 2012-07-19T10:20:15 < dongs> i think thats what im using it for in 3 of myo ther peorjects :p 2012-07-19T10:20:17 < zippe> sort your work 2012-07-19T10:20:24 < zippe> establish deadlines 2012-07-19T10:20:32 < zippe> set the timer for your next deadline 2012-07-19T10:20:37 < zippe> profit 2012-07-19T10:20:47 < dongs> isnt that what you do with systick? 2012-07-19T10:20:56 < dongs> what is this pendsv thing 2012-07-19T10:20:59 < dongs> how does it help me 2012-07-19T10:21:07 < zippe> It's a pended interrupt 2012-07-19T10:21:15 < zippe> Like a self-IPI 2012-07-19T10:21:26 < zippe> You are sending yourself a low-priority interrupt 2012-07-19T10:21:59 < dongs> ya this is too much rtos-like.. if im going that route i might as well just use a rtos 2012-07-19T10:22:10 < dongs> with premade timers/queues/shit. 2012-07-19T10:22:33 < zippe> Most of them are still designed around the AVR, sad to say. 2012-07-19T10:24:55 < dongs> hmm. i wonder whats wrong 2012-07-19T10:25:00 < dongs> it actually hits it once... but never agian 2012-07-19T10:25:02 < dongs> must be my shitty code 2012-07-19T10:25:53 -!- dekar [~dekar@212.255.19.194] has quit [Quit: This computer has gone to sleep] 2012-07-19T10:32:01 < dongs> ok what the fuck 2012-07-19T10:34:14 < dongs> yep, my shitty code. 2012-07-19T10:41:47 < dongs> timer callback: re-init timer 2012-07-19T10:41:52 < dongs> once timer callback returns: disable timer. 2012-07-19T10:41:54 < dongs> go me. 2012-07-19T10:42:32 < dongs> so how would I go about rollover 2012-07-19T10:42:51 < dongs> im doing shit like if (timerMicros > timerData.alarm4Ticks && timerData.alarm4Active) { 2012-07-19T10:43:21 < dongs> but if its close to max_int or whatever, my future ticks will be starting from 0 due to overflow 2012-07-19T10:43:35 < dongs> oh hmm so will timermicros. 2012-07-19T10:43:42 < dongs> i guess its not an issue. 2012-07-19T10:44:00 < dongs> wait no.. it'll be true immediately 2012-07-19T10:45:02 < dongs> if I set alarmticks at say 0xfffff000, the future value will be something like 0x10000, next systick timermicros will be 0xffffff200 (example), which will be > alarm4ticks. 2012-07-19T10:46:02 < dongs> what would arduino developer do? 2012-07-19T10:49:17 < zyp> something dumb 2012-07-19T10:49:44 < dongs> im not sure what im doing qualifies much differently 2012-07-19T11:13:09 < zippe> dongs: would you be willing to look at something a bit rtos-y? 2012-07-19T11:14:10 < dongs> well 2012-07-19T11:14:13 < dongs> :| 2012-07-19T11:14:26 < dongs> ill deal with this shit the way it is for now 2012-07-19T11:14:32 < zippe> I have a complete timer system that does microsecond-precision timebase + callouts + PPM decoding 2012-07-19T11:14:47 < zippe> Using a single STM32 generic timer of your choosing. 2012-07-19T11:14:47 < dongs> i cant really give up precision timer 2012-07-19T11:14:58 < dongs> i have shit that needs to happen after say 8, 72us, etc. 2012-07-19T11:15:06 < dongs> i think only hardware can trigger it that fast... 2012-07-19T11:15:11 < zippe> Yes, this will do that 2012-07-19T11:15:52 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-19T11:15:55 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-19T11:16:01 < zippe> And no reason you can't instantiate it twice with different timer interrupt priorities... 2012-07-19T11:16:08 < zippe> The techniques are generally applicable 2012-07-19T11:16:16 < dongs> are you using one of the TIMs for it? 2012-07-19T11:16:17 < zippe> What's your favorite paste server? 2012-07-19T11:16:19 < dongs> not systick? 2012-07-19T11:16:22 < dongs> bcas.tv/paste 2012-07-19T11:17:26 < zippe> http://bcas.tv/paste/results/ervEPa73.html 2012-07-19T11:17:36 < zippe> http://bcas.tv/paste/results/4vFg8k63.html 2012-07-19T11:17:52 <+Steffanx> nu 2012-07-19T11:19:11 -!- dekar [~dekar@dslb-188-107-195-113.pools.arcor-ip.net] has joined ##stm32 2012-07-19T11:19:13 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-19T11:20:11 -!- tavish3 [~tavish@125.63.106.139] has joined ##stm32 2012-07-19T11:20:34 < dongs> zippe, certainly looks interesting. 2012-07-19T11:20:46 < dongs> i'd have to cleanup 90% of the stuff out of it but yeah, I think thats similar to what im doing 2012-07-19T11:20:50 < dongs> just less ghetto :) 2012-07-19T11:21:02 < zippe> Not sure if there's anything there you can pick the bones of, but in case it helps... 2012-07-19T11:21:21 < dongs> yeah, its pretty similar to my stuff 2012-07-19T11:21:29 < dongs> but none of hte leet stuff 2012-07-19T11:23:47 < zippe> Do note that there is at least one nasty race bug in this version; I just realised that I'm on the wrong branch. 8) 2012-07-19T11:24:12 < zippe> Nothing that will screw you if you're just ripping off the basic timer logic 2012-07-19T11:24:24 < zippe> You need two threads trying to register the same call structure. 2012-07-19T11:38:11 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-19T11:41:08 -!- Laurenceb__ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-19T11:42:34 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Read error: Connection reset by peer] 2012-07-19T12:09:01 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has joined ##stm32 2012-07-19T12:11:30 -!- Laurenceb__ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-19T12:22:38 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-19T12:25:49 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Client Quit] 2012-07-19T12:26:18 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-19T12:54:37 -!- tavish3 [~tavish@125.63.106.139] has quit [Ping timeout: 240 seconds] 2012-07-19T12:56:54 -!- tavish3 [~tavish@59.177.65.51] has joined ##stm32 2012-07-19T13:16:59 <+dekar> got my black magic probe, that thing is so tiny :) 2012-07-19T13:17:01 <+dekar> https://dl.dropbox.com/u/28467113/black_magic.jpg 2012-07-19T13:20:00 < dongs> black dong 2012-07-19T13:24:38 < zyp> cute, maybe I should get another 2012-07-19T13:24:49 < zyp> I've got the old variant with the large 20-pin connector 2012-07-19T13:33:50 < cjbaird> The price turns me off.. 2012-07-19T13:52:21 <+Steffanx> lol zyp .. 2012-07-19T13:52:26 <+Steffanx> You really want everything huh? 2012-07-19T13:53:35 <+Steffanx> The company paid for it dekar ? :) 2012-07-19T13:58:57 < cjbaird> At least it isn't comic books.. 2012-07-19T13:59:33 <+Steffanx> Mr. Z is into animé too :P 2012-07-19T13:59:53 < cjbaird> Nendos, then. :P 2012-07-19T14:04:47 < zyp> Steffanx, nothing wrong with that, is it? :p 2012-07-19T14:05:00 < Laurenceb> found where my code fails 2012-07-19T14:05:02 < Laurenceb> https://github.com/Laurenceb/STM32-Logger/blob/master/Util/fat_fs/src/sd_spi_stm32.c#L756 2012-07-19T14:05:07 < Laurenceb> it gets 0xFF there 2012-07-19T14:05:09 <+Steffanx> Yes there is zyp 2012-07-19T14:05:10 < Laurenceb> sometimes 2012-07-19T14:05:21 < Laurenceb> when trying to read using cmd17 2012-07-19T14:05:27 < Laurenceb> anyone got any clues? 2012-07-19T14:05:40 <+Steffanx> There = n = 10; ? 2012-07-19T14:07:38 < Laurenceb> well after that loop 2012-07-19T14:07:48 < Laurenceb> it loops and gets 0xff 2012-07-19T14:12:49 < Laurenceb> Delays around DESELECT and SELECT doesnt help 2012-07-19T14:12:52 < Laurenceb> very odd 2012-07-19T14:13:17 <+Steffanx> Sure it's not the card bugging around? 2012-07-19T14:13:50 < Laurenceb> ooh actually 2012-07-19T14:13:55 < Laurenceb> i get 0x05 from the card 2012-07-19T14:14:02 < Laurenceb> i need to sd spec here 2012-07-19T14:14:09 <+Steffanx> he 2012-07-19T14:14:34 < dongs> hmm.. i dont need to make a buffer volatile if I memcpy stuff to it from one interrupt right? 2012-07-19T14:15:04 < zyp> depends 2012-07-19T14:15:07 < dongs> wtf i see stuff get copied but if I actually run the code it never copies 2012-07-19T14:15:12 < dongs> if I step it copies 2012-07-19T14:15:19 < dongs> if I run, the data is not to be seen. 2012-07-19T14:15:19 < dongs> wtf. 2012-07-19T14:16:40 < zyp> volatile tells the compiler to «don't assume that the contents of this location can't change without you seeing it» 2012-07-19T14:17:01 < dongs> yeah ,i know what it means 2012-07-19T14:17:02 < dongs> this is weird though 2012-07-19T14:17:07 < dongs> i dont get it. 2012-07-19T14:17:10 < dongs> hmm 2012-07-19T14:18:17 < dongs> ah 2012-07-19T14:18:18 < dongs> i see the fail 2012-07-19T14:18:29 < dongs> hmm no i dont 2012-07-19T14:19:39 < Laurenceb> aha 2012-07-19T14:19:40 < Laurenceb> Illegal Command 2012-07-19T14:19:47 < Laurenceb> oh noes im breaking the law 2012-07-19T14:20:05 < Laurenceb> why the hell would i get that 2012-07-19T14:20:36 <+Steffanx> You send an illegal command Laurenceb 2012-07-19T14:20:53 < Laurenceb> yeah but its the same code thats always used 2012-07-19T14:21:00 < Laurenceb> why does it sometimes give that error 2012-07-19T14:22:02 <+Steffanx> Buggy card, bad wiring .. ? 2012-07-19T14:22:16 <+Steffanx> cosmic interference 2012-07-19T14:22:32 < dongs> probably Laurenceb code. 2012-07-19T14:22:33 <+Steffanx> timing issues? 2012-07-19T14:22:47 < Laurenceb> yeah 2012-07-19T14:22:52 <+Steffanx> Who let the dongs out, who who? 2012-07-19T14:22:56 < Laurenceb> i wonder if theres some weird timing ont he bus 2012-07-19T14:22:57 < Laurenceb> lol 2012-07-19T14:23:18 < Laurenceb> e.g. if the previous transfer finishes just before the CMD17 is sent 2012-07-19T14:23:24 < Laurenceb> and the card gets confused 2012-07-19T14:23:31 < Laurenceb> but the problem is the same with delays added 2012-07-19T14:23:34 < Laurenceb> its odd 2012-07-19T14:23:46 < Laurenceb> its not noise or running the bus too fast 2012-07-19T14:23:54 < Laurenceb> as it happens in the same place each time 2012-07-19T14:24:04 <+Steffanx> Time to replace the stm32 with and stm32 that has an sdio interface 2012-07-19T14:24:08 <+Steffanx> *an 2012-07-19T14:24:19 < dongs> haha 2012-07-19T14:24:33 < Laurenceb> video for you dongs http://www.youtube.com/watch?v=OfAul2isPfo 2012-07-19T14:24:34 < dongs> hmm what the hell this stuff isnt working. i just dont see how it cant 2012-07-19T14:24:52 <+Steffanx> dongs, probably Laurenceb code. 2012-07-19T14:25:02 < Laurenceb> lol 2012-07-19T14:26:14 < dongs> Steffanx: no doubt. 2012-07-19T14:26:26 < dongs> http://bcas.tv/paste/results/FCePHb17.html what am i doing wrong here? if I run transmit inside idleTask, it works as expected 2012-07-19T14:26:48 < dongs> if I fire it off from queuebuffer, which is ca lled from ISR, if I step, the dma looks fine. if I run, all iget is zeros 2012-07-19T14:28:32 < dongs> the only thing I can think of is somehow memcpy is fucking something up when called from isr?? 2012-07-19T14:29:38 <+Steffanx> wtf Laurenceb 2012-07-19T14:31:47 -!- mirTapir [vutral@thinkbase.srv.welterde.de] has joined ##stm32 2012-07-19T14:32:56 < cjbaird> Steffanx: my instant shooping skills are a bit rusty: http://i.imgur.com/R1weD.png 2012-07-19T14:33:30 < dongs> lolwat 2012-07-19T14:33:33 <+Steffanx> Hehe cjbaird :D 2012-07-19T14:34:27 <+Steffanx> Why you leave out the h all the time dongs ? 2012-07-19T14:34:44 < dongs> ? 2012-07-19T14:34:56 <+Steffanx> "wat" 2012-07-19T14:35:00 < dongs> o 2012-07-19T14:35:02 < dongs> shrug. 2012-07-19T14:35:13 < dongs> http://www.urbandictionary.com/define.php?term=lolwat 2012-07-19T14:35:59 <+Steffanx> Doesn't matter, you shouldn't leave the h out 2012-07-19T14:36:00 < dongs> argh 2012-07-19T14:36:08 <+Steffanx> As it's 4chan related 2012-07-19T14:36:15 < dongs> why isnt this shit working. i feel like I have Laurenceb standing behind me fucking up my code. 2012-07-19T14:36:31 < dongs> I was using 'lolwat' on irc before moot was even born 2012-07-19T14:36:39 < dongs> so i doubt its 4chan related. 2012-07-19T14:36:41 <+Steffanx> Temporally replace the memcpy with your own memcpy? 2012-07-19T14:36:51 < dongs> huh ok. 2012-07-19T14:37:07 <+Steffanx> According to that dictionary 'wat' is 4chan related 2012-07-19T14:37:14 <+Steffanx> At least one of the tags is "4chan" 2012-07-19T14:37:29 < Laurenceb> you dawg, we heard you like 4chan 2012-07-19T14:37:38 < Laurenceb> so we put some 4chan references with your 4chan 2012-07-19T14:38:32 < cjbaird> I always have Rowan Atkinson saying "DONGS" in my head when I join this channel... -_- 2012-07-19T14:38:51 < Laurenceb> ARSEBISCUITS 2012-07-19T14:39:14 < dongs> assburgers 2012-07-19T14:39:36 <+Steffanx> For vegetarians ? 2012-07-19T14:39:36 < dongs> doesnt work with my own ghettocopy() either. 2012-07-19T14:40:15 < cjbaird> Indeed, the pre-Blackadder, pre-MrBean, Not The Nine O'Clock News Rowan Atkinson... 2012-07-19T14:40:23 < Laurenceb> http://rlv.zcache.com/ass_burgers_magnet-p147366747632863383enqyk_210.jpg 2012-07-19T14:40:36 <+dekar> Ofc they did :) 2012-07-19T14:40:48 <+Steffanx> They did what? 2012-07-19T14:40:56 <+dekar> Steffanx, pay for the probe 2012-07-19T14:41:01 <+Steffanx> Ooh 2012-07-19T14:41:41 < dongs> hmm wtfh is going on 2012-07-19T14:44:53 <+Steffanx> Found a name for your micro-tiny-os yet zyp ? 2012-07-19T14:46:29 < dongs> dongle 2012-07-19T14:46:44 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-19T14:46:45 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Disconnected by services] 2012-07-19T14:46:54 -!- mode/##stm32 [+v Steffann] by ChanServ 2012-07-19T14:46:54 <+Steffann> Found a name for your micro-tiny-os yet zyp ? 2012-07-19T14:48:03 < Laurenceb> n = 0x01; /* Dummy CRC + Stop */ 2012-07-19T14:48:07 < Laurenceb> ^wtf fatfs 2012-07-19T14:48:16 < Laurenceb> they use 0x01 as sd crc 2012-07-19T14:48:17 < dongs> blame chan. 2012-07-19T14:49:22 <+Steffann> Blame me, blame me! 2012-07-19T14:50:36 < Laurenceb> youll need a spanking if you are to blame 2012-07-19T14:50:51 < jpa-> what is the best way to use stlink v2 on windows? 2012-07-19T14:51:40 < zyp> Steffann, nah 2012-07-19T14:52:26 <+Steffann> Yay, i think i just broke my rpi 2012-07-19T14:53:19 < cjbaird> S: it does have polyfuses that'll reset in about 24 hours, if that's involved. 2012-07-19T14:54:42 < dongs> uh 2012-07-19T14:54:47 < dongs> do i need to reset dma memory address register 2012-07-19T14:54:50 < dongs> each time 2012-07-19T14:54:53 < dongs> oh fuck! 2012-07-19T14:55:10 < dongs> hmm wait... time to check peripheral 2012-07-19T14:55:35 <+Steffann> no thanks.. can i call someone for you dongs ? 2012-07-19T14:56:31 < dongs> hm DMA_CMAR5 doesnt change. 2012-07-19T14:56:34 < dongs> ok so what gives... 2012-07-19T14:57:57 <+Steffann> cjbaird maybe i just corrupted the image 2012-07-19T14:58:12 <+Steffann> on the sd card 2012-07-19T15:07:18 < karlp> zippe: that deadline code is very interesting, is there a more permanent link to one of the ox4 projects on github? 2012-07-19T15:08:04 < Laurenceb> now im getting Erase reset—An erase sequence was cleared before executing because an out of erase sequence 2012-07-19T15:08:04 < Laurenceb> command was received. 2012-07-19T15:08:20 < Laurenceb> i changed my code to shutdown each cmd17 with a cmd12 2012-07-19T15:08:31 < Laurenceb> i dont think thats needed if you transfer entire blocks? 2012-07-19T15:11:50 < karlp> px4 sorry 2012-07-19T15:13:44 <+Steffann> Hmm, i think it's the sd card that's broken. It takes ages to load a new image 2012-07-19T15:16:34 < karlp> zippe: in the hrt_call_invoke, how do you have two calls scheduled for the same time? doesn't the if deadline > now: break code mean that one of them doesn't get executed? 2012-07-19T15:17:50 -!- tavish3 [~tavish@59.177.65.51] has quit [Quit: leaving] 2012-07-19T15:37:07 < dongs> ugh the second time i get fucked by the same shit 2012-07-19T15:37:09 < dongs> of course ev erything worsk 2012-07-19T15:37:18 < dongs> i keep forgetting the signal im tapping is serial version of the bytes I send 2012-07-19T15:37:22 < dongs> serial of LSB that is 2012-07-19T15:37:31 < dongs> so 0xAA AA AA = all fuckign zeros 2012-07-19T15:37:40 < ratatata> nu 2012-07-19T15:40:47 < zyp> 0xAA AA AA would tap again! 2012-07-19T15:41:36 < dongs> mega rage 2012-07-19T15:51:39 < Laurenceb> http://shitlondon.co.uk/wp-content/uploads/2011/08/a1-copy.jpg 2012-07-19T15:52:21 < dongs> thats definitely a man 2012-07-19T15:57:11 < cjbaird> would still bang 2012-07-19T15:58:53 < zyp> Steffann, I just had a friend describe your language as «german with some swedish interspersed» 2012-07-19T16:03:42 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-19T16:04:03 <+Steffann> Time to find better friends zyp 2012-07-19T16:04:38 < dongs> http://i.imgur.com/ur8yq.png fuck yeah, its working 2012-07-19T16:05:11 <+Steffann> GGGG 2012-07-19T16:09:36 < dongs> haha. 2012-07-19T16:09:44 < dongs> waiting for a flag set by interrupt with same priority = lol. 2012-07-19T16:09:50 < dongs> (from inside another interrupt) 2012-07-19T16:12:35 < karlp> this is your 8 uart thing? 2012-07-19T16:13:33 < dongs> 16. 2012-07-19T16:13:52 < dongs> i figured if im gonna do it i'll just go all out. 2012-07-19T16:14:19 <+Steffann> 17. 2012-07-19T16:14:47 < dongs> we dont need to know what the legal age in sweden is , Steffann 2012-07-19T16:15:08 <+Steffann> I don't care about sweden at all, sorry 2012-07-19T16:15:14 < dongs> or whatever eurotrash country youre in 2012-07-19T16:15:28 < dongs> the land of assange 2012-07-19T16:15:32 <+Steffann> No way 2012-07-19T16:15:40 <+Steffann> Aussieland is NOT my country 2012-07-19T16:15:58 < dongs> cjbaird lair 2012-07-19T16:16:34 <+Steffann> Dutchland it is 2012-07-19T16:21:57 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-19T16:33:22 < cjbaird> Tonight's Arts & Crafts: http://i.imgur.com/szalL.jpg .. modding an old 16-port 10/100 switch to provide the 5VDC for the Raspberry Pi cluster I've got planned.. All 5 RPis get networked through it as well. distcc ahoy! 2012-07-19T16:33:43 < dongs> haha. 2012-07-19T16:33:56 < zyp> raspberry pi cluster? 2012-07-19T16:34:16 < cjbaird> Because I Can[tm]. 2012-07-19T16:34:27 < dongs> allright now i gotta think of the least lame algorithm to do that bit rotation 2012-07-19T16:34:48 < dongs> the onyl way im tihnking involves a 8 and 16 nested for loop 2012-07-19T16:34:51 < dongs> and thats gotta be lame. 2012-07-19T16:35:10 < cjbaird> I've been wanting a decentralized home system for yonks. 2012-07-19T16:36:08 < zyp> but considering the performance to cost ratio of the rpi, it's very pointless 2012-07-19T16:36:35 <+Steffann> Also when it comes to performance of the gpu? 2012-07-19T16:37:29 < zyp> how much does the gpu perform? 2012-07-19T16:37:45 < dongs> nobody knoes 2012-07-19T16:37:48 < dongs> cause its all closedsores 2012-07-19T16:37:53 <+Steffann> Yeah, that sucks 2012-07-19T16:37:57 < dongs> but hypeberry faggots wont admit to ti 2012-07-19T16:38:04 <+Steffann> ti? 2012-07-19T16:38:07 <+Steffann> Broadcom 2012-07-19T16:38:13 < dongs> sorry, ti = it 2012-07-19T16:38:15 < dongs> mistype/fail 2012-07-19T16:38:20 <+Steffann> Haha 2012-07-19T16:38:47 <+Steffann> Time to call the local jap newpaper 2012-07-19T16:40:07 < zyp> I still bet that you could take any normal decent computer, compare it to building a rpi cluster of comparable power, and have it turn out cheaper 2012-07-19T16:40:26 <+Steffann> 2W ? 2012-07-19T16:40:42 < cjbaird> The one thing that does make the RPi good for this is the ~2W /each power consumption.. I've been looking at clusters since the Ameoba days (Minix..), but having 8 or so PeeCees running 24/7 is not a something to do when you pay for your own electricity. :P :) 2012-07-19T16:41:39 <+Steffann> I'm going to mod mine though.. i'll remove that crappy 3.3 regulator 2012-07-19T16:42:10 < zyp> why do you need 8 when you can have one that performs better than 8 rpis? :p 2012-07-19T16:42:28 < cjbaird> Yep, that'll eventually be done here too. I've been spec'ing out solar power options as well. :) 2012-07-19T16:42:33 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-19T16:45:17 <+Steffann> but hey .. it's still a nice gadget :D 2012-07-19T16:46:30 < dongs> someone is telling me what im looking to do is very similar to chunky to planar convertion for failmiga 2012-07-19T16:46:35 < dongs> i bet cjbaird knows this shit. 2012-07-19T16:47:39 < cjbaird> Ha, no, I avoided the Amiga. Went VIC -> 64 -> Unix weenie. 2012-07-19T16:47:56 < cjbaird> "HAY H 2012-07-19T16:48:34 <+Steffann> How could you? 2012-07-19T16:49:17 < cjbaird> "Hay Guise! We should call this 800x513.5567 pixel _interlacing_ video as "Productivity Mode"! 2012-07-19T16:52:03 < cjbaird> They have "High school Work Experience" here in Oz, where they make Year 10 students spend a fortnight at various companies to learn what the workforce is like. I did WS at a national newspaper's electronics support department, but a friend did his at the University-- and he returned about this marvelous computer system called "U-neeks"... That shit had Pascal /compilers/, C, Modula, Lisp, ..holyfuckineedthisrightnow. 2012-07-19T16:54:12 < dongs> lfao. 2012-07-19T16:54:13 < dongs> lunex. 2012-07-19T16:55:58 < cjbaird> The friend also had a stack of Usenet/netnews printouts-- smart people were co-operatively writing programs and distributing them for free, internationally, without any of the fail of Fidonet. 2012-07-19T16:56:40 < cjbaird> He had a copy of the original GNU Manifesto, too. 2012-07-19T16:57:29 <+Steffann> ... paper to clean your ass with? 2012-07-19T16:57:32 < cjbaird> Shit was AWESOME. 2012-07-19T17:00:05 < cjbaird> In the mid-1980s, everyone was expecting you to pay $100s for proper software tools, even the trivial ones like 'grep', or 'public domain' FORTHs ("Wanna buy a free compiler, mate?") .. Which pissed of 16 year-old me majorly. 2012-07-19T17:01:21 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has joined ##stm32 2012-07-19T17:01:44 < cjbaird> ..but then Saint Stallman appeared, and said... "If everyone shares their shit co-operatively, everything won't suck as much." 2012-07-19T17:02:13 <+Steffann> "everything won't suck as much" ... 2012-07-19T17:03:07 < cjbaird> You want to go back to programming in MASM? 2012-07-19T17:03:53 <+Steffann> I'm not sure if i care about all that stuff back in the 80ties 2012-07-19T17:04:38 <+Steffann> I was still very cute somewhere in the end of the 80ties :P 2012-07-19T17:04:46 <+Steffann> as in a baby 2012-07-19T17:06:43 <+Steffann> At least you can tell me the nice stories :P 2012-07-19T17:16:05 < zyp> Steffann, how is it, how much younger than me are you? or are you older? :p 2012-07-19T17:16:30 <+Steffann> afaik i'm younger, don't know how much 2012-07-19T17:16:47 <+Steffann> I have a two times the same digit age 2012-07-19T17:16:57 < Laurenceb> 22 2012-07-19T17:17:06 < zyp> right, I'm 24 2012-07-19T17:17:12 < Laurenceb> or 11? 2012-07-19T17:17:23 < Laurenceb> im guessing 11 2012-07-19T17:17:29 <+Steffann> Yeah, 11 and born in the 80ties 2012-07-19T17:17:47 < zyp> Steffann, you'll be 23 this year then? 2012-07-19T17:17:53 <+Steffann> 80's how do you short eighties? 2012-07-19T17:17:57 <+Steffann> Yes 2012-07-19T17:19:50 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has quit [Read error: Connection reset by peer] 2012-07-19T17:20:00 < Laurenceb> http://www.mt-gaming.com/index.php?attachments/pedo-bear-too-old-jpg.12369/ 2012-07-19T17:20:14 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has joined ##stm32 2012-07-19T17:20:51 <+Steffann> Too bad Laurenceb 2012-07-19T17:20:54 < cjbaird> http://www.smh.com.au/business/media-and-marketing/pedobear-ruins-nestles-facebook-party-20120719-22byy.html 2012-07-19T17:21:18 <+Steffann> Hmpf 2012-07-19T17:21:24 <+Steffann> Facebook .. enough said 2012-07-19T17:21:55 < Laurenceb> "an icon used to ward off paedophiles." 2012-07-19T17:22:01 < Laurenceb> erm... maybe 2012-07-19T17:22:12 <+Steffann> It's more a joke .. meme crap 2012-07-19T17:22:46 < cjbaird> PB always keeps lots of candy on-hand. 2012-07-19T17:33:04 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-19T17:47:42 < dongs> ok, shit's properly clocking stuff out 2012-07-19T17:47:51 < dongs> time to declare victory 2012-07-19T17:48:25 <+Steffann> Good night 2012-07-19T17:48:44 <+Steffann> or isn't that the next step? 2012-07-19T17:54:59 < dongs> not yet 2012-07-19T17:58:02 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has quit [Read error: Operation timed out] 2012-07-19T18:17:27 < Laurenceb> http://www.raspberrypi.org/ 2012-07-19T18:17:42 < Laurenceb> lol stereotypical raspberry pi users 2012-07-19T18:18:20 <+Steffann> big fat Laurenceb ? 2012-07-19T18:19:03 <+Steffann> You know it's was originally meant for kids? 2012-07-19T18:21:11 <+Steffann> Fixed your sd card issues yet Laurenceb ? 2012-07-19T18:21:39 < Laurenceb> yes 2012-07-19T18:27:57 < karlp> well, he started checking errors, 2012-07-19T18:28:08 < karlp> but did you work out why you were getting the error? 2012-07-19T18:28:17 < karlp> or don't you care? abort&retry works eventually? 2012-07-19T18:33:48 < dongs> fuck python 2012-07-19T18:39:10 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-19T18:39:56 < Laurenceb> abort and retry 2012-07-19T18:40:04 < Laurenceb> i dont understand why its erroring 2012-07-19T18:40:15 < Laurenceb> its quite rare, but its giving illegal command 2012-07-19T18:40:58 < Laurenceb> got a load of new scalpels this morning and already ive sliced my finger open 2012-07-19T18:43:20 < jpa-> so what color is your blood today? 2012-07-19T18:44:10 < Laurenceb> green, same as normal 2012-07-19T18:53:19 < dongs> http://i.imgur.com/B3nHR.png 80% cpu idle while getting blasted by shit from USB without rate limiting 2012-07-19T19:23:31 -!- dekar [~dekar@dslb-188-107-195-113.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-07-19T19:30:36 < emeb> So I'm trying to get USB working on a custom STM32F105 board. Any suggestions on how to start? 2012-07-19T19:31:12 < emeb> I've compiled the custom_hid example for my board - host sees it but can't get descriptors or enumerate. 2012-07-19T19:41:02 < jpa-> example from where? ST's own? 2012-07-19T19:41:23 < jpa-> and if it doesn't enumerate, it only means that the pull-up resistor is working - nothing else 2012-07-19T19:42:30 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-19T19:43:13 < tech2077> hmm 2012-07-19T19:43:21 < tech2077> lack of DAC output options is annoying 2012-07-19T19:43:46 < tech2077> it's in the same spot as my SPI 2012-07-19T19:44:00 < jpa-> can't you remap the SPI? 2012-07-19T19:46:10 < emeb> jpa-: yeah, example from STM32_USB-FS-Device_Lib_V3.4.0 2012-07-19T19:47:16 < tech2077> jpa-, i can, i just don't like the inability of remapping DAC 2012-07-19T19:48:15 < jpa-> tech2077: well, it's an analog peripheral 2012-07-19T19:48:55 < tech2077> i realize that 2012-07-19T19:49:41 < tech2077> i know the difficulty in designing that, but i'm still upset at the fact that can't be done 2012-07-19T19:50:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-07-19T19:50:26 < jpa-> emeb: i don't have much trust in that, but i guess it should work.. the things that have bit me (using chibios code, no example to base on): 1) USB pins have to be in analog mode in GPIOA CRH/CRL 2) USB pin speed must be configured as maximum in GPIO registers 3) port pull-ups must be disabled 2012-07-19T19:50:57 < zyp> F105 got the same OTG_FS as F2 and F4, right? 2012-07-19T19:51:02 < emeb> jpa-: thanks 2012-07-19T19:51:09 < emeb> zyp: yeah, I believe so 2012-07-19T19:51:34 < zyp> I have some experience with it on F4, but I wrote everything from scratch 2012-07-19T19:51:50 < emeb> zyp: *boggle* 2012-07-19T19:52:36 < zyp> but anyway, what are you having problems with? 2012-07-19T19:52:55 < emeb> Just getting started - probably having trouble with everything. :) 2012-07-19T19:53:34 < jpa-> are you using external pull-up resistor or a built-in one? (can't remember if STM32F105 has one) 2012-07-19T19:53:42 < zyp> OTG got built-in 2012-07-19T19:54:18 < emeb> yep 2012-07-19T19:54:34 < emeb> (don't know why all USB doesn't do that) 2012-07-19T19:54:52 < jpa-> ok; if the built-in one gets enabled, atleast the USB peripheral is turned on an configured somewhat reasonably 2012-07-19T19:55:16 < zyp> that's what I also figure 2012-07-19T19:55:25 < jpa-> oh.. and one thing that was really stupid but bit me: 4) ground pin on USB-mini is 5 not 4 :) 2012-07-19T19:55:27 < emeb> jpa-: yes. I tried loading a different set of code that doesn't use USB into my board and the host doesn't see it then 2012-07-19T19:56:18 < zyp> the OTG peripheral waits for valid vbus before it enables the pullup, so it have to be configured if the host is discovering activity 2012-07-19T19:56:25 < emeb> I've got blinky LEDs running in the foreground task. They blink until I plug in USB, then they freeze, so something's hanging in the USB IRQ services. 2012-07-19T19:57:22 < jpa-> or causing hardfault 2012-07-19T19:57:29 < emeb> nod 2012-07-19T19:57:41 < jpa-> do you have some way of knowing which? debugger? :P 2012-07-19T19:57:46 < zyp> you could try my code, but I'm not sure how useful that would be, it's still quite buggy and doesn't implement any classes yet 2012-07-19T19:58:01 < emeb> I've got gdb + stlinkv2. 2012-07-19T19:58:17 < emeb> Don't know enough gdb to really make sense of what it's telling me though. 2012-07-19T19:58:34 < emeb> zyp: that might be fun to try. Does it at least enumerate? 2012-07-19T19:58:35 < jpa-> emeb: type 'backtrace' to see where it is 2012-07-19T19:58:46 < zyp> emeb, sure 2012-07-19T19:59:06 < zyp> I'm using it to pass data in custom control request and raw endpoints 2012-07-19T19:59:47 < emeb> jpa-: looks like a hardfault - "in reset_handler()" 2012-07-19T20:00:10 < zyp> http://cgit.jvnv.net/suzumebachi/tree/main.cpp?h=stm32f4 <- it still lives in main.cpp as it's quite experimental, should be quite easy to rip out if you can figure out what is what 2012-07-19T20:00:13 < jpa-> emeb: or you didn't start the code yet? stlink resets when it connects 2012-07-19T20:00:37 < jpa-> emeb: type 'continue' to start the code.. then when it crashes, type ctrl-c to get back to gdb prompt 2012-07-19T20:00:47 < emeb> jpa-: aha. trying... 2012-07-19T20:00:53 < zyp> no, type 'run' rather than continue 2012-07-19T20:01:15 < jpa-> true 2012-07-19T20:01:23 < zyp> to reset it rather than start from whatever weird state it's in 2012-07-19T20:02:30 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-19T20:03:23 < emeb> Hmm... continue sort of works, but blinky not running. 2012-07-19T20:03:42 < emeb> run just says "The "remote" target does not support "run"" 2012-07-19T20:03:43 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-19T20:03:52 < jpa-> do you have a reset button? press it :) 2012-07-19T20:03:57 < zyp> use extended-remote when you connect to st-link 2012-07-19T20:04:03 < zyp> instead of remote 2012-07-19T20:04:06 < emeb> aha 2012-07-19T20:04:16 < emeb> I'm total n00b-sauce.. :) 2012-07-19T20:05:12 < jpa-> no-one has written a good guide yet :) 2012-07-19T20:05:41 < jpa-> there are various but the quality varies.. best practices have not yet been agreed on :P 2012-07-19T20:06:07 < emeb> heh. 2012-07-19T20:06:18 < emeb> OK, seem to have a backtrace... 2012-07-19T20:07:04 < zyp> maybe when the rumored wiki is set up :p 2012-07-19T20:07:17 < emeb> looks like it's in the watchdog, crashed during NVIC_Init() called during USB_Interrupts_Config() 2012-07-19T20:07:55 < emeb> didn't realize this example even used the watchdog. 2012-07-19T20:08:41 < jpa-> how do you determine it is in the watchdog? 2012-07-19T20:08:54 < emeb> zyp: is that main.cpp you linked above the whole thing? Seems too small to be real. :) 2012-07-19T20:09:13 < zyp> yep, except for the register definitions 2012-07-19T20:09:27 < emeb> zyp: cool. Nice to have everything so stripped down. 2012-07-19T20:09:33 < zyp> http://cgit.jvnv.net/suzumebachi/tree/hal/usb.h?h=stm32f4 <- they are here 2012-07-19T20:09:42 < emeb> k 2012-07-19T20:09:58 < jpa-> zyp: i'll love that when it is wrapped in a beautiful class like your other code :) 2012-07-19T20:10:00 < zyp> and the jtag/i2c control requests are my own and not required :p 2012-07-19T20:10:32 < zyp> jpa-, yeah, I'm looking forward to it myself 2012-07-19T20:12:46 < zyp> the code so far is really just a minimal implementation to get familiar with it 2012-07-19T20:12:58 < emeb> zyp: sweet - that's just what I need. 2012-07-19T20:13:33 < emeb> the many-angled stuff in the ST libs is hard to wrap my brain around - too many #ifdefs to support all the different architectures. 2012-07-19T20:13:52 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-19T20:15:49 < emeb> zyp: looks like you've got your own RCC and GPIO stuff too - also in that git? 2012-07-19T20:15:52 < karlp> run never works for me, I always use continue... 2012-07-19T20:16:38 <+Steffann> texane :P 2012-07-19T20:17:48 < emeb> aha - in the hal/ subdir... 2012-07-19T20:17:52 < zyp> yep 2012-07-19T20:18:41 -!- dekar [~dekar@212.255.19.194] has joined ##stm32 2012-07-19T20:18:51 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-19T20:32:02 < emeb> zyp: you're using the HS, so you have an external HS phy? 2012-07-19T20:32:20 < zyp> no, I'm using internal FS phy 2012-07-19T20:32:36 < zyp> also, I used FS when I prototyped the code on discovery board 2012-07-19T20:32:45 < emeb> Ah - the code seems to refer to OTG_HS... 2012-07-19T20:33:03 < zippe> emeb: Synopsis' weird naming 2012-07-19T20:33:04 < zyp> yes, but the OTG_HS peripheral got internal FS phy 2012-07-19T20:33:37 < emeb> heh. Wonder what the OTG_FS points to? 2012-07-19T20:34:21 < zyp> http://cgit.jvnv.net/suzumebachi/tree/main.cpp?h=stm32f4&id=521e8df <- here's an older version of the code, using the OTG_FS instead 2012-07-19T20:34:39 < zyp> I believe that one should build and run on the discovery board 2012-07-19T20:34:47 < emeb> nice. 2012-07-19T20:35:14 < emeb> What build system you using? Haven't seen this 'sconstruct' stuff before. 2012-07-19T20:35:25 < zyp> scons 2012-07-19T20:35:40 < jpa-> the system where you write a few crazy looking lines and it does something 2012-07-19T20:35:41 < emeb> 2012-07-19T20:35:53 < emeb> don't they all work that way? 2012-07-19T20:36:00 < jpa-> yes 2012-07-19T20:36:07 <+Steffann> everything is better than write tons of make file crap .. and it doesn't do anything jpa- 2012-07-19T20:36:11 < jpa-> except in some you write more lines 2012-07-19T20:36:46 < zippe> SCons looks nice... 2012-07-19T20:36:52 < zippe> But it's just beer goggles 2012-07-19T20:36:56 < zyp> :) 2012-07-19T20:37:12 < zippe> zyp: I always enjoy reading your code 2012-07-19T20:37:25 < zippe> I like the way you don't believe in errors 2012-07-19T20:37:34 < zippe> I've been paranoid for too long. 2012-07-19T20:37:36 < zyp> :D 2012-07-19T20:38:14 < zyp> errors doesn't matter in experimental code, experimental code is expected to break at weird times anyway 2012-07-19T20:39:53 <+Steffann> if(error) jump reset; ? 2012-07-19T20:39:57 <+Steffann> *goto 2012-07-19T20:40:41 < zyp> if something goes wrong that shouldn't go wrong, you have to do something about it, and considering everything that can go wrong, catching all potential errors and recovering from them is a huge undertaking 2012-07-19T20:40:56 < zippe> Steffann: for a UAV controller, you have ~1s to gather everything you know about what's wrong and get it pumped into the telemetry stream 2012-07-19T20:41:30 < zyp> so instead of distracting me with that when I'm trying to learn how something works, I just pretend that nothing can go wrong, because the experimental code won't be used for anything useful anyway 2012-07-19T20:41:32 <+Steffann> if(error) goto reset; is nicer 2012-07-19T20:41:42 < zippe> Steffann: then you learn nothing 2012-07-19T20:41:47 < zippe> Steffann: and you still crash 2012-07-19T20:42:18 < jpa-> on error rotors full speed :) 2012-07-19T20:42:25 <+dekar> I ported some basic lua to my stm32 and retargeted stdout to my driver lib via usb-hid, works surprisingly well :D 2012-07-19T20:42:29 < zyp> jpa-, happened to me 2012-07-19T20:42:54 <+dekar> less than 10k of memory use once the lua VM came up 2012-07-19T20:42:55 < zippe> jpa-: can be a bit worrying to the furniture 2012-07-19T20:43:06 < zippe> dekar: yeah, it's surprisingly compact; a bit code-heavy though 2012-07-19T20:43:16 < zippe> dekar: I was seeing ~300k on the F4 2012-07-19T20:43:44 <+dekar> zippe, using TNT I am at around 110kb of firmware (including the rest of my firmware) 2012-07-19T20:43:44 < jpa-> pawn is lovely small, less than 20kB rom :) 2012-07-19T20:43:47 < zyp> when I started out with quadrotors and stm32 in general, I had my quad tethered from a string 2012-07-19T20:44:01 < emeb> oh, look. scons is available in fedora 17! 2012-07-19T20:44:04 < zippe> dekar: perhaps I had more stuff (floating point?) added 2012-07-19T20:44:17 <+dekar> zippe, lua is always using double (unless you patch that) 2012-07-19T20:44:19 < zyp> then I made some nice «all rotors to 100% and halt» bug 2012-07-19T20:44:26 < zippe> jpa-: but the code is very scary, and the 64-bit host bytecode compiler is a disaster 2012-07-19T20:44:35 < zippe> dekar: yes, but did you have the math stuff? 2012-07-19T20:44:43 < zyp> resulted in me ducking under the table until it got tangled and stopped :p 2012-07-19T20:44:47 < jpa-> zippe: code is not too scary 2012-07-19T20:44:47 < zippe> dekar: I built it using float, not double, since I have hardware FP 2012-07-19T20:45:02 < zippe> jpa-: Have you actually looked inside the pawn vm? 2012-07-19T20:45:04 < jpa-> 64-bit may be troublesome, but find me a 64-bit microcontroller first :) 2012-07-19T20:45:07 < jpa-> zippe: yes. 2012-07-19T20:45:25 < zippe> jpa-: I meant the 64-bit compiler piece; i.e. what you'd use on a desktop to generate the bytecode 2012-07-19T20:45:25 <+dekar> zippe, I did link all of lua 5.2.0, including the math lib 2012-07-19T20:45:47 < zippe> dekar: Interesting. Then I definitely need to go back and look again 2012-07-19T20:46:02 <+dekar> I even link the lua compiler atm 2012-07-19T20:46:22 <+dekar> I plan to get rid of it and only load the stm32 with lua-bytecode 2012-07-19T20:46:51 < jpa-> zippe: hmm.. well, i have 32-bit only on my laptop so i might have not spotted the trouble.. but i haven't seen anything that should make trouble 2012-07-19T20:47:12 < zippe> jpa-: There are enough problems that I sent them a fairly modest patch 2012-07-19T20:47:17 < zippe> jpa-: sadly, no response 2012-07-19T20:47:26 < zippe> jpa-: then their forums were spammed and I gave up 2012-07-19T20:47:34 < zippe> jpa-: I looked at Squirrel for a while too 2012-07-19T20:47:36 < jpa-> yeah.. they have moved over to google code now 2012-07-19T20:51:21 < zippe> hmm, I'll have to try submitting my patches again 2012-07-19T20:52:30 < jpa-> they did merge https://code.google.com/p/pawnscript/issues/detail?id=4&can=1 2012-07-19T20:54:53 <+dekar> zippe, even with yagarto I get 140kb 2012-07-19T20:55:18 <+Steffann> 140k is still pretty large 2012-07-19T20:55:55 <+dekar> Steffann, that's lua with all libraries, compiler and VM 2012-07-19T20:56:11 <+dekar> plus about 15kb of my firmware 2012-07-19T20:56:21 <+Steffann> that's elua? 2012-07-19T20:56:32 <+dekar> nope, normal lua 2012-07-19T20:56:40 <+dekar> 172kb using SAT 2012-07-19T20:56:58 < jpa-> why not elua? 2012-07-19T20:57:26 <+dekar> jpa-, cause I wanted to embed lua, not use lua as my operating system 2012-07-19T20:57:44 <+dekar> they basically have a firmware you can boot up and run lua on 2012-07-19T21:00:31 <+Steffann> So what's the plan with lua on your stm32 dekar ? 2012-07-19T21:04:44 <+dekar> outsourcing firmware development to the java guys at our company :) 2012-07-19T21:05:00 <+Steffann> seriously? 2012-07-19T21:05:00 -!- claude is now known as Claude 2012-07-19T21:05:07 <+dekar> totally 2012-07-19T21:05:33 <+Steffann> So the device now is 100000 times slower 2012-07-19T21:05:43 <+dekar> there were minor change requests for some customers and I didn't feel like forking the firmware for those 2012-07-19T21:06:04 <+dekar> well, it isn't performance critical stuff anyway 2012-07-19T21:06:17 <+dekar> just simple scripting, reading some i2c, setting some LEDs 2012-07-19T21:06:24 <+dekar> controlling pins 2012-07-19T21:06:58 <+dekar> besides that it was only idling most of the time anyway 2012-07-19T21:09:00 < karlp> the difference between people like deka and I doing idle things, and all your coptor guys furiously reading RCs and twiddling motors all the time 2012-07-19T21:09:56 <+dekar> I feel like adding flying capabilities to the flexBox would make it pretty epic :D 2012-07-19T21:10:33 <+dekar> I'll suggest that to my boss 2012-07-19T21:11:16 < karlp> "we have all this idle time, we are simply wasting it now!" 2012-07-19T21:13:23 <+dekar> actually we're doing useful work like garbage collection :) 2012-07-19T21:15:25 <+dekar> useful work we wouldn't have without lua 2012-07-19T21:34:23 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-19T21:40:04 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-19T21:40:05 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-19T21:42:28 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 248 seconds] 2012-07-19T21:43:03 -!- peabody124 [~peabody12@99-71-81-203.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-19T22:01:26 -!- Laurenceb__ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-19T22:11:58 -!- peabody124 [~peabody12@99-71-81-203.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-19T22:13:02 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 265 seconds] 2012-07-19T22:19:12 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-19T22:19:56 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-19T22:19:56 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Disconnected by services] 2012-07-19T22:19:59 -!- mode/##stm32 [+v Steffann] by ChanServ 2012-07-19T22:22:13 < Laurenceb__> solved my uSD card issue 2012-07-19T22:22:19 < Laurenceb__> its a power supply issue 2012-07-19T22:22:50 < Laurenceb__> just re reading the spec - it looks like it sometimes loses power very intermittently from the behaviour 2012-07-19T22:23:08 < Laurenceb__> im guessing i need a decoupling cap closer to the card 2012-07-19T22:23:08 <+Steffann> yay 2012-07-19T22:23:23 < Laurenceb__> its jumping from transfer to idel state 2012-07-19T22:23:34 < Laurenceb__> which could only happen with poor power 2012-07-19T22:23:35 <+Steffann> I killed my sd card in my rpi with 5v on the gnd pins :( 2012-07-19T22:23:40 < Laurenceb__> eek 2012-07-19T22:23:41 <+Steffann> and gnd on the 5v pin :) 2012-07-19T22:23:49 <+Steffann> I hope my rpi is alive 2012-07-19T22:23:53 < Laurenceb__> like i did to the stm32f4 2012-07-19T22:24:07 <+Steffann> You still didn't take a photo 2012-07-19T22:30:41 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-19T22:32:09 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-19T22:32:16 -!- peabody124 [~peabody12@128.249.96.21] has quit [Client Quit] 2012-07-19T22:42:31 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-19T22:56:12 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 248 seconds] 2012-07-19T23:09:24 -!- Claude is now known as claude 2012-07-19T23:11:05 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-19T23:15:23 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-19T23:20:03 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-19T23:23:39 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 276 seconds] 2012-07-19T23:28:39 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] --- Day changed Fri Jul 20 2012 2012-07-20T00:03:16 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Ping timeout: 248 seconds] 2012-07-20T00:05:50 -!- jaeckel [~jaeckel@jaeckel.eu] has joined ##stm32 2012-07-20T00:09:37 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has quit [Remote host closed the connection] 2012-07-20T00:09:53 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has joined ##stm32 2012-07-20T00:26:24 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-20T00:26:28 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-20T00:28:51 < Laurenceb__> hmm this is odd 2012-07-20T00:29:04 < Laurenceb__> my uSD card seems to follow the decoupling guidelines 2012-07-20T00:29:16 < Laurenceb__> only just - theres a 100nF cap about 13mm away 2012-07-20T00:29:20 < Laurenceb__> which is the spec 2012-07-20T00:29:31 < Laurenceb__> anyone here have experience with SD card decoupling? 2012-07-20T00:30:14 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 260 seconds] 2012-07-20T00:31:31 -!- Laurenceb__ is now known as Laurenceb_ 2012-07-20T00:31:59 -!- emeb [~ericb@174-26-228-217.phnx.qwest.net] has joined ##stm32 2012-07-20T00:44:20 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has quit [Ping timeout: 248 seconds] 2012-07-20T00:45:21 < feurig> Laurenceb_: only doing it wrong. 2012-07-20T00:45:47 < Laurenceb_> lol 2012-07-20T00:46:20 < feurig> and trying to figure out how to get your code to run on a maple 2012-07-20T00:46:43 < Laurenceb_> my code? 2012-07-20T00:46:58 < Laurenceb_> which code 2012-07-20T00:47:20 < feurig> https://github.com/Laurenceb/STM32-Logger 2012-07-20T00:47:23 < feurig> that not you? 2012-07-20T00:48:27 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has joined ##stm32 2012-07-20T00:48:53 < feurig> trying to strip it down to just the usb and sdcard 2012-07-20T00:49:52 < feurig> actaully just trying to strip it down to the usb parts 2012-07-20T00:50:27 < feurig> I wound up opening my big mouth and starting to maintain the maple-sdcard library 2012-07-20T00:50:45 < Laurenceb_> i have a stripped down version on my desktop at work 2012-07-20T00:50:48 < karlp> how do people put the eeprom/data memory of the L1 sereis in linker scripts? 2012-07-20T00:50:54 < karlp> or do you just not bother? 2012-07-20T00:51:01 < Laurenceb_> but i cant be bothered to tunnel through the firewall at 11pm 2012-07-20T00:51:26 < Laurenceb_> the current usb code on github is a mess 2012-07-20T00:51:42 < Laurenceb_> ill have a cleaned up version done tomorrow 2012-07-20T00:53:19 < feurig> sweet! 2012-07-20T00:53:21 < Laurenceb_> ^ yes it is me 2012-07-20T00:53:46 < Laurenceb_> have you got the olimexino maple clone? 2012-07-20T00:53:59 < feurig> if your name was Donald Davis I would say which one of the 50 in your commmunity are you. 2012-07-20T00:54:04 < karlp> hmm, seeing as it's read only at boot time, I guess there's not any point in putting it in the linker script? 2012-07-20T00:54:19 < feurig> we have a maple mini clone 2012-07-20T00:54:48 < feurig> http://www.suspectdevices.com/blahg/arm/bacon/baco-matic-5000-talk-notes/ 2012-07-20T00:55:41 < Laurenceb_> interesting 2012-07-20T00:56:07 < feurig> I am currently doing a wx widgets based client that pulls everything from the serial port 2012-07-20T00:56:59 < feurig> its a bit ambitious but I looked at your code and thought that if I had to punt I could strip your code down to something aproaching the sparkfun logomatic 2012-07-20T00:57:19 < feurig> (and compared to that pos your code is beautiful) 2012-07-20T00:57:32 < Laurenceb_> i based it off st example code 2012-07-20T00:57:55 < Laurenceb_> but ive stripped out the ST SD card code and linked it into fatfs 2012-07-20T00:57:59 < feurig> There are advantages to leaving it in cdc mode like talking to the device being logged through the logger 2012-07-20T00:58:36 < Laurenceb_> at the moment its waiting for sd card read to complete then sending over usb 2012-07-20T00:58:42 < feurig> but then you have to have a client to get the data off and it has to be cross platform. 2012-07-20T00:58:44 < Laurenceb_> ive got interleaved read working now 2012-07-20T00:58:57 < Laurenceb_> and got 800KB/s sustained transfer speed 2012-07-20T00:59:02 < feurig> nice 2012-07-20T00:59:19 < feurig> you using dma for that? 2012-07-20T00:59:28 < Laurenceb_> which is about theoretical for 12Mb/s USB once you account for the packet overhead 2012-07-20T00:59:29 < Laurenceb_> yes 2012-07-20T01:00:10 < Laurenceb_> i havent tried this for card write, but i figured thats less important 2012-07-20T01:00:18 < Laurenceb_> as its intended to be a logger 2012-07-20T01:01:11 * Laurenceb_ zzz 2012-07-20T01:01:17 < Laurenceb_> will update github tomorrow 2012-07-20T01:07:33 < feurig> sweet 2012-07-20T01:07:46 < feurig> look forward to it. 2012-07-20T01:10:15 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 276 seconds] 2012-07-20T01:27:07 < upgrdman> i've got a really old 17" lcd that i no longer use, but want to use a color lcd with a microcontroller. anyone know if a normal lcd pc monitor can be accessed like little dot matix lcds? (after removing the vga stuff obviously) 2012-07-20T01:33:06 -!- zyp [zyp@zyp.im] has quit [Read error: Operation timed out] 2012-07-20T01:34:14 -!- zyp [zyp@zyp.im] has joined ##stm32 2012-07-20T01:37:04 < feurig> why not just go through the vga? 2012-07-20T01:37:29 < feurig> there is a nearly funcional vga hack for the maple 2012-07-20T01:37:53 * feurig needs to finish hacking the composit stuff 2012-07-20T01:41:30 < upgrdman> would clocking in bytes be easier? 2012-07-20T01:41:33 < upgrdman> wouldnt* 2012-07-20T01:43:01 < feurig> http://wiki.leaflabs.com/index.php?title=Crude_VGA 2012-07-20T01:43:32 < feurig> mebby. Just that you gotta reverse engineer your lcd and vga is standardized 2012-07-20T01:47:46 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-20T01:59:37 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 240 seconds] 2012-07-20T02:32:46 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-20T02:36:09 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 250 seconds] 2012-07-20T03:00:30 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-20T03:10:20 < dongs> http://www.mikroe.com/eng/products/view/869/mikromedia-for-stm32-m4/ 2012-07-20T03:10:20 < dongs> shiet 2012-07-20T03:10:23 < dongs> thats china pricing levels 2012-07-20T03:11:02 < dongs> oh haha they're in serbia 2012-07-20T03:12:39 < dongs> http://www.mikroe.com/eng/products/view/753/mikrobasic-pro-for-arm/ o shit, 2012-07-20T03:41:40 <+dekar> hm is it that cheap? I am pretty sure I have seen stm32 boards with displays on ebay for even less 2012-07-20T03:42:56 < dongs> well for F4 its not so bad. 2012-07-20T03:43:06 < dongs> yes, chinq ones are probably around 60-80$ for similar spec. 2012-07-20T03:43:31 <+dekar> yeah I agree it is really cheap, but somehow the price didn't surprise me anymore 2012-07-20T03:49:38 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-20T03:50:07 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 240 seconds] 2012-07-20T03:58:14 < zippe> Out of stock. Sadface. 2012-07-20T04:05:46 < dongs> were you gonna get it? 2012-07-20T04:10:37 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-227.clienti.tiscali.it] has quit [Ping timeout: 240 seconds] 2012-07-20T04:58:45 < zippe> It might have been fumn 2012-07-20T05:08:04 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-20T05:13:08 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-20T05:13:14 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-20T05:18:02 < dongs> im pretty sure the in-stock F2 version is exactly same pcb 2012-07-20T05:24:49 < dongs> argh 2012-07-20T05:30:17 < cjbaird> mikroPascal! 2012-07-20T05:32:14 < cjbaird> I think there's a Oberon compiler being worked on for ARM/thumb.. 2012-07-20T05:37:56 < dongs> obewat 2012-07-20T05:40:28 < cjbaird> Oberon = Pascal + Modula - Modula's Fail. It's what ETH trains their undergrad kidlets with these days. It's not a bad language, I think. 2012-07-20T05:40:38 -!- dekar [~dekar@212.255.19.194] has quit [Quit: This computer has gone to sleep] 2012-07-20T05:57:16 -!- emeb [~ericb@174-26-228-217.phnx.qwest.net] has quit [Quit: Leaving.] 2012-07-20T06:15:44 < dongs> http://i.imgur.com/SSEgz.png 2012-07-20T06:15:49 < dongs> woot, working 2012-07-20T06:42:56 < dongs> my LA was mis-decoding some stuff at this 250kbaud rates. 2012-07-20T06:43:00 < dongs> emailed the vendor w/sample file 2012-07-20T06:43:07 < dongs> got fixed uart decoder dll in 15 minutes 2012-07-20T06:43:13 < dongs> would opensauce have this kind of response? nope. 2012-07-20T06:43:35 < dongs> but i have the sauce so i could spend a week learning it and trying to fix the bug instead. 2012-07-20T06:43:54 -!- Oldboy [myircshell@grid.sh3lls.net] has quit [Remote host closed the connection] 2012-07-20T07:01:04 < cjbaird> If opensores hired $1/day Indian Programming Slaves, sure they could.. 2012-07-20T07:02:13 < dongs> nah, this is a small company and I emailed one of the dev dudes directly. 2012-07-20T07:06:45 -!- Oldboy [myircshell@204.188.216.2] has joined ##stm32 2012-07-20T08:01:32 < jpa-> dongs: and what kind of response will you have when the small company will, at some point, cease to exist? 2012-07-20T08:01:52 -!- claude is now known as Claude 2012-07-20T08:04:27 < dongs> jpa, same kinda response you get from lunix kernel drivers written for lunix 1.2.13 2012-07-20T08:04:37 < jpa-> yep :) 2012-07-20T08:04:49 < dongs> deader than *BSD. 2012-07-20T08:04:51 < jpa-> but then you atleast have the 1-week possibility 2012-07-20T08:15:40 -!- R0b0t1 [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has joined ##stm32 2012-07-20T08:15:40 -!- R0b0t1 [~dev@2001:49d0:141:22:213:e8ff:fe1f:30e5] has quit [Changing host] 2012-07-20T08:15:40 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-20T08:23:24 < cjbaird> Hey, I still support linux-2.0.39 ...kinda 2012-07-20T08:32:58 < R0b0t1> if it compiles ship it 2012-07-20T08:45:31 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-20T09:20:07 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 240 seconds] 2012-07-20T09:20:22 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-20T09:23:30 -!- Claude is now known as claude 2012-07-20T09:43:08 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 248 seconds] 2012-07-20T09:51:31 -!- claude is now known as Claude 2012-07-20T09:52:18 -!- avernos [~avernos@unaffiliated/avernos] has joined ##stm32 2012-07-20T10:08:54 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-20T10:11:02 -!- Claude is now known as claude 2012-07-20T11:22:08 -!- dekar [~dekar@212.255.37.103] has joined ##stm32 2012-07-20T11:22:12 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-20T11:43:31 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-07-20T11:43:31 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-07-20T11:43:31 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-07-20T12:31:53 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-20T12:31:55 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-20T12:47:42 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-255-3.clienti.tiscali.it] has joined ##stm32 2012-07-20T12:47:47 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-20T12:54:17 <+Steffanx> nu 2012-07-20T12:57:35 < dongs> no u 2012-07-20T12:59:07 < zyp> sup? 2012-07-20T12:59:25 <+Steffanx> Tha sky 2012-07-20T12:59:32 < zyp> oh, foodtime 2012-07-20T12:59:37 < dongs> blogtime 2012-07-20T12:59:51 <+Steffanx> So what do you have to weblog this time dongs ? 2012-07-20T13:04:22 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-20T13:19:11 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-20T13:30:37 <+Steffanx> Laurenceb is 17 ? 2012-07-20T13:30:55 <+Steffanx> I just read a 17 year old boy tried to steal the olympic torch thing 2012-07-20T13:35:06 < zyp> severe lack of good bloggings here today 2012-07-20T13:36:14 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-20T13:36:32 < ratatata> nu 2012-07-20T13:36:33 <+Steffanx> What do you want to hear zyp ? 2012-07-20T13:36:52 < zyp> something non-boring 2012-07-20T13:36:58 <+Steffanx> I broke a sd card in my rpi by applying 5v the wrong way :) 2012-07-20T13:37:04 <+Steffanx> Reversed polarity ftw :) 2012-07-20T13:37:58 < BrainDamage> be glad the sd acted like a shunt fuse 2012-07-20T13:38:25 <+Steffanx> It still works .. ~ half of it still works 2012-07-20T13:39:43 <+Steffanx> Add 'dd' tries to copy data forever :) 2012-07-20T13:40:27 <+Steffanx> Not sure yet if the rpi is still ok, have to test that 2012-07-20T13:43:36 -!- mirTapir [vutral@thinkbase.srv.welterde.de] has quit [Changing host] 2012-07-20T13:43:36 -!- mirTapir [vutral@mirbsd/special/Vutral] has joined ##stm32 2012-07-20T14:20:01 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Ping timeout: 245 seconds] 2012-07-20T14:25:30 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-20T14:27:43 < Laurenceb> wait 2012-07-20T14:27:54 < Laurenceb> so the card is broken and you havent tested the pi? 2012-07-20T14:27:59 < Laurenceb> so waht part works 2012-07-20T14:31:39 <+Steffanx> I didn't have another large enough card around 2012-07-20T14:31:41 <+Steffanx> Now i have :) 2012-07-20T14:31:45 <+Steffanx> And the pi still works 2012-07-20T14:33:02 < jpa-> Steffanx the guru 2012-07-20T14:33:18 <+Steffanx> Guru of what? 2012-07-20T14:33:24 <+Steffanx> *in what 2012-07-20T14:33:26 < jpa-> of wire polarities :) 2012-07-20T14:33:33 <+Steffanx> Shit happens 2012-07-20T14:33:39 < jpa-> been there done that :) 2012-07-20T14:34:09 < jpa-> when the smoke rises you know the polarity is not right 2012-07-20T14:34:30 < zyp> I plugged an ac power adapter to some shit expecting dc a couple of days ago 2012-07-20T14:34:44 <+Steffanx> Hooops 2012-07-20T14:34:46 < jpa-> you got it 50% correct then 2012-07-20T14:34:59 < zyp> I didn't find the original adapter, so I just went digging for another with the correct voltage 2012-07-20T14:35:08 <+Steffanx> At least the current limiting of my power supply was functional :) 2012-07-20T14:35:27 < zyp> jpa-, yeah, it sort of powered on 2012-07-20T14:39:02 <+Steffanx> jpa- .. maybe it's not a good idea to use orange and red wires :) 2012-07-20T14:39:04 <+Steffanx> Too similar 2012-07-20T14:58:57 < karlp> http://img.gawkerassets.com/img/17tbljb8e18sejpg/original.jpg 2012-07-20T15:00:06 <+Steffanx> :D 2012-07-20T15:09:01 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Read error: Connection reset by peer] 2012-07-20T15:40:27 <+Steffanx> Too bad you can see his skin btw, karlp 2012-07-20T15:44:09 < karlp> whatever, haters gonna hate 2012-07-20T15:44:29 <+Steffanx> Only when you're into star wars 2012-07-20T15:44:43 < karlp> darth vader had skin too remember 2012-07-20T15:45:06 <+Steffanx> Yeah, but not visible afaik. 2012-07-20T15:45:27 < karlp> he also wasn't a chef, so it's not like this is canon or anything 2012-07-20T15:45:39 <+Steffanx> Yeah, he is dead :P 2012-07-20T15:45:42 <+Steffanx> So he can't be one 2012-07-20T15:45:54 <+Steffanx> but still .. skin shouldn't be visible :P 2012-07-20T15:46:13 < karlp> blah blah blah go burn an sd card again 2012-07-20T15:46:25 <+Steffanx> karlp had a hard night? 2012-07-20T15:46:46 < zyp> you're still boring 2012-07-20T15:46:53 <+Steffanx> Don't care 2012-07-20T15:47:11 <+Steffanx> aka your problem 2012-07-20T15:47:47 <+Steffanx> karlp posts a photo, i give a 'serious' reply :) 2012-07-20T15:48:00 < zyp> dongs, how's osd trolling going? 2012-07-20T15:48:08 < dongs> zyp, too lazy to order boards 2012-07-20T15:48:13 < dongs> but it spretty much done i guess 2012-07-20T15:48:26 < dongs> got telemetery reading and stuff 2012-07-20T15:48:37 < dongs> can try drawing some hud later, but i dont wanna wowrk on a board thats a hueg mess of wires 2012-07-20T15:48:39 <+Steffanx> Solved the brightness issues? 2012-07-20T15:48:51 < dongs> well thats waht the pcb is for 2012-07-20T15:48:57 < dongs> it uses analog switch 2012-07-20T15:49:02 <+Steffanx> Oh, you don't know yet 2012-07-20T15:49:05 < dongs> i dont feel like deadbugging that 2012-07-20T15:49:16 < dongs> well, it "should" be solved heh 2012-07-20T15:49:53 <+Steffanx> You "shouldn't" have the issue in the first place 2012-07-20T15:50:08 < dongs> if its done the way its done now, tehres no way not to have the issue 2012-07-20T15:53:06 < Laurenceb> hmm uSD fails half as often with twice the decoupling 2012-07-20T15:53:31 < Laurenceb> weird that the spec only says 100nF 13mm away 2012-07-20T15:53:48 < Laurenceb> but all the board i can find have at least 47uF 2012-07-20T15:53:52 < Laurenceb> *boards 2012-07-20T15:54:18 < Laurenceb> but the failure is definitely from brownout 2012-07-20T15:54:26 < Laurenceb> i cant see it on my scope which is weird 2012-07-20T15:54:37 < karlp> so, ignore the spec, use 47uF instead of 100nF 2012-07-20T15:54:40 < Laurenceb> heh 2012-07-20T15:54:47 < zyp> use both in parallel 2012-07-20T15:54:50 < Laurenceb> yeah i have a 10uF there now 2012-07-20T15:54:50 < zyp> for ESR reasons 2012-07-20T15:54:59 < Laurenceb> with 100n on top 2012-07-20T15:55:06 < Laurenceb> but i only have an 0603 pad 2012-07-20T15:55:21 < Laurenceb> ill leave it for now 2012-07-20T15:55:31 < Laurenceb> it fails about 15% of the time 2012-07-20T15:55:54 < Laurenceb> oddly failure rate increases if you reinit the card after power on 2012-07-20T15:56:30 < Laurenceb> i see noise with my scope 2012-07-20T15:56:36 < Laurenceb> but its tens of mv 2012-07-20T15:58:01 < Laurenceb> i guess the spiking is in the tens of MHz at least 2012-07-20T15:58:43 < Laurenceb> so its feasible the card might get spikes down to less than 2.7v 2012-07-20T15:58:52 < Laurenceb> due to inductance 2012-07-20T15:59:54 < Laurenceb> unless the card is more clever and detects noise and goes back to idle state 2012-07-20T17:00:26 -!- dekar [~dekar@212.255.37.103] has quit [Ping timeout: 245 seconds] 2012-07-20T17:06:56 -!- dekar [~dekar@212.255.33.8] has joined ##stm32 2012-07-20T17:06:59 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-20T17:32:53 -!- elektrinis [~circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-07-20T17:33:45 -!- tavish [~tavish@59.177.6.127] has joined ##stm32 2012-07-20T17:33:48 -!- tavish [~tavish@59.177.6.127] has quit [Changing host] 2012-07-20T17:33:48 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-20T18:03:23 -!- dekar [~dekar@212.255.33.8] has quit [Quit: This computer has gone to sleep] 2012-07-20T18:08:33 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-20T18:14:32 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-20T19:12:19 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-20T19:26:09 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 276 seconds] 2012-07-20T19:38:37 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Ping timeout: 240 seconds] 2012-07-20T19:39:26 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has joined ##stm32 2012-07-20T19:48:04 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-20T20:17:14 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-20T20:17:30 < TitanMKD> hi 2012-07-20T20:40:32 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-20T21:14:35 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2012-07-20T21:18:06 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-20T22:09:12 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-20T22:17:45 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 252 seconds] 2012-07-20T22:19:31 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-255-3.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-20T22:21:34 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-20T22:23:46 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-20T22:23:56 -!- lawrenceseattle [~anonymous@66.192.187.106] has joined ##stm32 2012-07-20T22:28:08 -!- drgreenthumb [~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net] has quit [Changing host] 2012-07-20T22:28:08 -!- drgreenthumb [~fletch@drupal.org/user/72475/view] has joined ##stm32 2012-07-20T22:56:48 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-20T23:03:36 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-20T23:06:20 -!- R0b0t1 [~dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-07-20T23:06:20 -!- R0b0t1 [~dev@64-136-219-55.dyn.everestkc.net] has quit [Client Quit] 2012-07-20T23:06:43 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-20T23:46:13 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 --- Day changed Sat Jul 21 2012 2012-07-21T00:20:13 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 246 seconds] 2012-07-21T00:48:37 -!- zlog [~zlog@ip68-102-202-1.ks.ok.cox.net] has quit [Ping timeout: 240 seconds] 2012-07-21T00:57:10 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has joined ##stm32 2012-07-21T01:45:46 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-21T02:23:08 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 248 seconds] 2012-07-21T02:26:13 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-21T02:50:37 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Quit: Life is too short] 2012-07-21T02:51:26 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-21T03:28:18 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 264 seconds] 2012-07-21T03:36:28 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-21T03:44:14 < dongs> hello bloggers 2012-07-21T03:44:41 < zyp> hello dongs 2012-07-21T03:45:27 < dongs> sup. 2012-07-21T03:45:33 < dongs> lookin at F1 pinout 2012-07-21T03:45:46 < dongs> pin 16/17 (PA6,PA7) im using them as SPI1 2012-07-21T03:45:58 < dongs> pins 18,19 (PB0, PB1) wanna use htem as TIM3_CH3/4 2012-07-21T03:46:03 < dongs> possible? 2012-07-21T03:46:08 < dongs> or will AF shit fuck it up 2012-07-21T03:46:23 < dongs> (how can I check this sorta shit myself so I dont have to ask) 2012-07-21T03:46:44 < zyp> check af section in gpio chapter in reference manual 2012-07-21T03:47:12 < zyp> is PB0/PB1 a remap of SPI1? 2012-07-21T03:47:20 < dongs> no 2012-07-21T03:47:24 < dongs> ADC_in and TIM3_ch3/4 2012-07-21T03:47:31 < dongs> no spi on there. 2012-07-21T03:47:45 < dongs> but TIM3_ch1/2 are on pins 16/17 2012-07-21T03:47:52 < zyp> ah, right 2012-07-21T03:48:03 < dongs> which is why im questioning it 2012-07-21T03:48:26 < zyp> other way around then 2012-07-21T03:48:38 < dongs> meaning? 2012-07-21T03:48:42 < dongs> enabling TIM will kill SPI? 2012-07-21T03:48:55 < zyp> hmm, I'm not sure how multiple AFs work on F1 2012-07-21T03:49:32 < dongs> I mean I would do PB0/PB1 as Out_PP_AF or wahtever 2012-07-21T03:49:40 < dongs> and initialize 2 TIM3 channels but 2012-07-21T03:49:50 < dongs> would that also turn on the other 2 on PA5/6? 2012-07-21T03:49:53 < dongs> proably not right 2012-07-21T03:50:22 < zyp> F2/F4 got a mux so only one peripheral can drive a pin at a time, F1 does not, so I don't really know multiple peripherals are connected to a single pin 2012-07-21T03:50:46 < zyp> I'm suspecting some OR logic or similar to that 2012-07-21T03:51:12 < zyp> in that case you should get away with not enabling those timer channels 2012-07-21T03:52:16 < zyp> I can't remember having seen it defined anywhere in the RM, and I'm too tired to look now 2012-07-21T03:52:37 < zyp> why not just try? 2012-07-21T03:53:03 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-21T03:53:45 < zyp> run a timer channel with 50% pwm duty and push out some spi data on the same pin at the same time, capturing the output would show how it behaves in practice 2012-07-21T03:54:38 -!- emeb [~ericb@174-17-80-125.phnx.qwest.net] has joined ##stm32 2012-07-21T03:55:50 < dongs> ya 2012-07-21T03:55:54 < dongs> should prob just try 2012-07-21T04:21:19 * emeb studies zyp's C++ hal classes - likes what he sees. 2012-07-21T04:23:29 < zyp> they are of varying quality 2012-07-21T04:24:13 < zyp> I try out weird stuff and finds out what work in practice and what does not :p 2012-07-21T04:26:42 < zyp> the goal is to not have any non-static default instanced classes, only static definitions and instanceable drivers around them 2012-07-21T04:27:32 < emeb> I'm impressed with the brevity - much more clear than the ST libs. 2012-07-21T04:28:17 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-21T04:29:22 < emeb> Need to learn C++ better though. 2012-07-21T04:31:24 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Quit: Leaving.] 2012-07-21T04:32:25 < dongs> has anyone cloned mbed libs yet 2012-07-21T04:35:18 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-21T04:50:01 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-21T05:07:46 -!- peabody124 [~peabody12@c-98-201-178-227.hsd1.tx.comcast.net] has joined ##stm32 2012-07-21T05:08:33 -!- gsmcmull1n [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 276 seconds] 2012-07-21T05:08:39 < cjbaird> Fab-ul-ous! .. http://www.raspberrypi.org/wp-content/uploads/2012/07/7593886050_4ae4795254_c.jpeg 2012-07-21T05:09:10 -!- Huitaryan [~Huitaryan@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-21T05:09:43 -!- peabody124 [~peabody12@c-98-201-178-227.hsd1.tx.comcast.net] has quit [Client Quit] 2012-07-21T05:10:38 < dongs> haahah. 2012-07-21T05:11:17 < dongs> just missing some gay ponies now. 2012-07-21T05:11:19 < dongs> decal 2012-07-21T05:11:50 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-21T05:11:56 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-21T05:20:46 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-07-21T05:54:43 -!- emeb [~ericb@174-17-80-125.phnx.qwest.net] has quit [Quit: Leaving.] 2012-07-21T05:59:15 < mirTapir> chr 2012-07-21T05:59:27 < mirTapir> sgs thomson 2012-07-21T06:05:58 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-21T06:06:34 < dongs> Wha 2012-07-21T06:08:48 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-21T06:09:16 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Client Quit] 2012-07-21T06:12:42 -!- Huitaryan [~Huitaryan@blk-252-42-151.eastlink.ca] has quit [Read error: Connection reset by peer] 2012-07-21T06:24:09 -!- Huitaryan [~Huitaryan@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-21T06:43:11 -!- CheBuzz [~CheBuzz@76.164.192.124] has joined ##stm32 2012-07-21T07:07:03 -!- avernos [~avernos@unaffiliated/avernos] has quit [Remote host closed the connection] 2012-07-21T08:38:04 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 248 seconds] 2012-07-21T08:47:48 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-21T08:50:25 < dongs> http://i.imgur.com/wteSW.jpg lol... 2012-07-21T08:51:12 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-21T09:13:50 -!- Oldboy is now known as qua 2012-07-21T09:25:24 < dongs> http://i.imgur.com/OHziA.jpg nice 2012-07-21T09:39:06 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 264 seconds] 2012-07-21T10:03:33 -!- Huitaryan [~Huitaryan@blk-252-42-151.eastlink.ca] has quit [Read error: Connection reset by peer] 2012-07-21T10:06:33 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-21T10:39:25 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-21T10:41:47 -!- qua is now known as Oldboy 2012-07-21T10:51:31 -!- claude is now known as Claude 2012-07-21T10:53:28 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has joined ##stm32 2012-07-21T11:22:52 -!- Claude is now known as claude 2012-07-21T11:27:42 -!- claude is now known as Claude 2012-07-21T11:35:43 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-21T11:36:10 < ratatata> nu\ 2012-07-21T11:55:16 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-21T11:55:20 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-21T12:16:40 -!- tech2077 [~tech2077@adsl-75-53-130-93.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 246 seconds] 2012-07-21T13:03:04 <+Steffanx> You fail Laurenceb : http://www.youtube.com/watch?v=vqEkgDEh3o8 2012-07-21T13:03:14 <+Steffanx> They were too fast this time 2012-07-21T13:20:06 <+Steffanx> Have a name for your uc tiny micro os ++ zyp ? 2012-07-21T13:20:37 <+Steffanx> And care if i fork it (on github or some private repo) to mess with it? 2012-07-21T13:26:31 < jpa-> i think he would cut your head off 2012-07-21T13:26:57 <+Steffanx> Ok'll go for it 2012-07-21T13:27:42 <+Steffanx> The name of his project will be HeadLess++ ? 2012-07-21T13:28:42 < dongs> dongless 2012-07-21T13:35:06 <+Steffanx> What about you jpa- .. you care? 2012-07-21T13:42:59 -!- tavish [~tavish@59.177.7.21] has joined ##stm32 2012-07-21T13:42:59 -!- tavish [~tavish@59.177.7.21] has quit [Changing host] 2012-07-21T13:42:59 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-21T13:43:10 < zyp> Steffanx, haven't had time yet, I have to deal with some other shit first 2012-07-21T13:45:34 < zyp> first of all, my internet connection is still dead, so I'm still on a shitty cellular connection, meaning I can't download shit to set up my new workstation, and secondly the drive in my old workstation is dying so I can't use that either 2012-07-21T13:46:06 < Thorn> wtf. my lm224 wien bridge oscillator generates anything but a sine wave 2012-07-21T13:48:40 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-21T13:51:31 <+Steffanx> So you don't care zyp ? :) 2012-07-21T14:02:17 < zyp> about forking? no problem 2012-07-21T14:02:36 < zyp> and if you do anything useful, please contribute back :p 2012-07-21T14:08:32 <+Steffanx> The first think I would do is the pin stuff for F1, but the F1 gpio registers don't look like the F4 at all :( 2012-07-21T14:09:25 < zyp> I've already thought about a solution for that 2012-07-21T14:11:27 < zyp> instead of the set_mode/set_type/set_pull functions I'm thinking about having a single configuration function that can be executed like PA9.configure(AF, OpenDrain, PullUp) 2012-07-21T14:11:57 < zyp> and then it will resolve that to the relevant registers for the architecture 2012-07-21T14:12:10 <+Steffanx> Oh yeah, sounds like a workable solution 2012-07-21T14:13:09 < zyp> it's all compile time either way, so it shouldn't add any overhead 2012-07-21T14:57:39 <+Steffanx> man, i suck at git and commandline 2012-07-21T14:58:24 < zyp> what are you having problems with? 2012-07-21T14:59:04 <+Steffanx> Getting a recent branch of your repo into github 2012-07-21T14:59:10 <+Steffanx> The stm32f4 branch looks ok :P 2012-07-21T14:59:16 <+Steffanx> I sort of succeeded 2012-07-21T15:02:22 < zyp> you might want to wait until after I've seperated the os/lib stuff from the quadrotor stuff :p 2012-07-21T15:02:46 <+Steffanx> Nah, i just want to mess around 2012-07-21T15:03:58 <+Steffanx> And learn how to work with gh, so this is a nice moment 2012-07-21T15:04:03 <+Steffanx> *git 2012-07-21T15:04:26 <+Steffanx> I know the basic commands, but not the 'more advanced' commands 2012-07-21T15:06:39 <+Steffanx> Any idea when you finish the clean up? 2012-07-21T15:08:25 < zyp> depends partly on when people are going to fix my internet connection 2012-07-21T15:08:36 <+Steffanx> Who broke it? You 2012-07-21T15:08:37 <+Steffanx> ? 2012-07-21T15:08:49 < zyp> no, my ISP 2012-07-21T15:09:45 < zyp> last I heard from them were that they were sorry for the delay and are waiting to get hold of people that knows shit 2012-07-21T15:10:11 <+Steffanx> it's weekend :) 2012-07-21T15:10:16 < zyp> «need help from another division» or something like that 2012-07-21T15:10:23 < zyp> well, they broke it last sunday 2012-07-21T15:10:39 <+Steffanx> Whoa, i not only your internet i guess? 2012-07-21T15:10:43 <+Steffanx> *-i 2012-07-21T15:10:57 < zyp> unsure about that 2012-07-21T15:11:42 < dongs> sp bloggers 2012-07-21T15:12:10 <+Steffanx> Tha sky (or ceiling) bro 2012-07-21T15:12:35 < dongs> went out swimming, good shit. 2012-07-21T15:13:31 <+Steffanx> In the radio active sea? 2012-07-21T15:14:29 < dongs> yes 2012-07-21T15:14:30 <+Steffanx> Here in NL they stopped dumping shit (yeah, really) in the sea because they expect some good weather next week 2012-07-21T15:16:14 <+Steffanx> Too much rain, so the sewerage couldn't handle, so they dump our shit in the sea :S 2012-07-21T15:17:09 <+Steffanx> [/blogging] 2012-07-21T15:17:16 < zyp> you guys run shit and rain in the same sewers? 2012-07-21T15:17:44 <+Steffanx> Yes 2012-07-21T15:17:56 < dongs> so i loaded up a .hex from 103c8 into a 103ze 2012-07-21T15:17:58 < dongs> and it didnt work 2012-07-21T15:18:03 < dongs> i guess sram/stack in wrong place? 2012-07-21T15:19:11 < zyp> should be fine 2012-07-21T15:19:19 < dongs> wasnt 2012-07-21T15:19:34 < zyp> as long as you have more and not less ram, it shouldn't matter 2012-07-21T15:19:40 < dongs> hmm 2012-07-21T15:21:01 < dongs> oh, i knwo why 2012-07-21T15:21:04 < dongs> my shit has 12mhz crystal 2012-07-21T15:21:08 < dongs> ze board is 8 for sure 2012-07-21T15:21:09 < dongs> or mayb 25 2012-07-21T15:22:56 -!- dekar [~dekar@212.255.40.134] has joined ##stm32 2012-07-21T15:22:58 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-21T15:23:04 < dongs> gotta ask what xtal is on the board. 2012-07-21T15:23:05 < dongs> argh 2012-07-21T15:23:11 < dongs> or maybe i can get the jew to swap it 2012-07-21T15:23:26 < dongs> ZE = HD density? 2012-07-21T15:24:14 < dongs> after planning some shit on 405vg, i ended up with 24 pwm channels 2012-07-21T15:24:20 < zyp> Z is package, E is density 2012-07-21T16:13:39 < dongs> code is running 2012-07-21T16:13:44 < dongs> after i fixed it for 8mhz 2012-07-21T16:57:08 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-21T17:30:46 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-21T17:52:00 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [] 2012-07-21T17:56:47 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-21T17:57:15 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-21T18:33:39 < dongs> seems like my 16uart shit passed testing 2012-07-21T18:33:49 < dongs> with whatever bullshit re ceiveers were on the other end 2012-07-21T18:47:37 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-21T18:58:23 <+Steffanx> What do we get to celebrate it dongs ? 2012-07-21T19:24:34 < Laurenceb_> CE testing@ 2012-07-21T19:36:19 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-21T19:37:23 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [Client Quit] 2012-07-21T19:40:18 -!- tavish [~tavish@120.59.6.242] has joined ##stm32 2012-07-21T19:40:19 -!- tavish [~tavish@120.59.6.242] has quit [Changing host] 2012-07-21T19:40:19 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-21T19:43:28 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-21T20:00:00 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-21T20:05:54 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-21T20:19:29 <+Steffanx> CE .. isn't that bullshit anyway Laurenceb_ 2012-07-21T20:19:39 <+Steffanx> And why you work on you project on SATURDAY 2012-07-21T20:19:49 <+Steffanx> it's a work/uni project :P 2012-07-21T20:36:04 <+dekar> CE is fun, lots of fancy antennae and even some lightning strikes 2012-07-21T20:37:39 <+Steffanx> Yeah, we had to play with it during some practical course at a Philips lab 2012-07-21T20:39:18 <+dekar> I feel like they should add some mandatory lasers, everything is better with lasers 2012-07-21T20:42:48 -!- dekar [~dekar@212.255.40.134] has quit [Quit: This computer has gone to sleep] 2012-07-21T21:09:50 < zippe> The Beagle has Landed 2012-07-21T21:12:24 <+Steffanx> Did it bring something for me? 2012-07-21T21:15:58 < zippe> Negative 2012-07-21T22:23:06 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-07-21T22:23:18 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-21T22:44:43 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-21T23:17:41 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: Lost terminal] 2012-07-21T23:38:50 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-21T23:39:00 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Client Quit] --- Day changed Sun Jul 22 2012 2012-07-22T00:07:28 -!- Claude is now known as claude 2012-07-22T00:55:32 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-22T00:55:39 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has joined ##stm32 2012-07-22T02:05:50 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Ping timeout: 260 seconds] 2012-07-22T02:06:49 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-22T02:11:25 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 246 seconds] 2012-07-22T02:27:10 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-22T02:27:56 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 245 seconds] 2012-07-22T02:46:38 -!- dekar [~dekar@drms-4d014531.pool.mediaWays.net] has joined ##stm32 2012-07-22T02:46:41 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-22T03:14:02 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-22T03:14:22 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-22T03:23:16 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-07-22T03:49:28 -!- dekar [~dekar@drms-4d014531.pool.mediaWays.net] has quit [Quit: This computer has gone to sleep] 2012-07-22T03:57:37 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has quit [Remote host closed the connection] 2012-07-22T04:00:03 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has joined ##stm32 2012-07-22T04:05:23 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-22T05:10:41 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-22T05:10:48 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-22T05:29:44 -!- dekar [~dekar@212.255.40.134] has joined ##stm32 2012-07-22T05:29:47 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-22T06:00:18 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-22T06:22:38 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-22T07:16:23 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-22T07:16:43 < tech2077> iyo 2012-07-22T07:16:55 < tech2077> i can't seem to output two dac signals at the same time 2012-07-22T07:17:19 < tech2077> i can output one if i disable the other, but if i enable both dacs, then only one works 2012-07-22T07:18:25 < emeb> which part? 2012-07-22T07:18:35 < tech2077> ? 2012-07-22T07:18:40 < tech2077> oh, F4 2012-07-22T07:19:12 < emeb> ah - never used the dacs on that. I've had good luck w/ the dual dacs on the stm32f100 series 2012-07-22T07:20:15 < tech2077> does it have a problem in dual mode if there is no triggering 2012-07-22T07:22:24 < emeb> don't know - I was running both from the same trigger (timer-generated clock) 2012-07-22T07:22:49 < tech2077> ah 2012-07-22T07:29:57 < tech2077> anyone use dual dac on F4? 2012-07-22T07:45:11 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-22T08:33:11 -!- Netsplit *.net <-> *.split quits: tech2077, TheSeven, zyp, claude, enots, gsmcmullin, upgrdman, zippe, TeknoJuce, grummund, (+26 more, use /NETSPLIT to show all of them) 2012-07-22T08:41:32 -!- Netsplit over, joins: Laurenceb, BusError, @ChanServ, feurig, Tectu, Rious, jaeckel, zyp, grummund, CheBuzz (+3 more) 2012-07-22T08:41:47 -!- Netsplit over, joins: Vutral, gsmcmullin 2012-07-22T08:41:49 -!- Netsplit over, joins: metaxa, +dekar, cjbaird, TeknoJuce, mansfeld 2012-07-22T08:42:05 -!- Netsplit over, joins: gnomad, zippe, Oldboy 2012-07-22T08:42:13 -!- Netsplit over, joins: phantoxeD, ntfreak, mrcan, dongs, claude, karlp 2012-07-22T08:42:19 -!- Netsplit over, joins: upgrdman 2012-07-22T08:42:33 -!- Netsplit over, joins: Thorn 2012-07-22T08:42:37 -!- Netsplit over, joins: GargantuaSauce, PaulFertser, enots, kerwood 2012-07-22T09:22:57 -!- claude is now known as Claude 2012-07-22T09:31:00 -!- dekar_ [~dekar@212.255.39.5] has joined ##stm32 2012-07-22T09:31:03 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-07-22T09:34:27 < dongs> ahh, arduino http://pastebin.com/ur9WxcSE 2012-07-22T09:34:42 -!- dekar [~dekar@212.255.40.134] has quit [Ping timeout: 248 seconds] 2012-07-22T10:13:08 -!- dekar [~dekar@212.255.44.97] has joined ##stm32 2012-07-22T10:13:11 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-22T10:14:51 -!- dekar_ [~dekar@212.255.39.5] has quit [Ping timeout: 252 seconds] 2012-07-22T11:15:12 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-22T12:12:04 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-22T12:44:02 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 248 seconds] 2012-07-22T12:44:12 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201403.dsl.bell.ca] has joined ##stm32 2012-07-22T12:44:13 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201403.dsl.bell.ca] has quit [Changing host] 2012-07-22T12:44:13 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-22T12:52:57 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-22T12:58:26 < PaulFertser> Hi there. I've an stm32vldiscovery board here and trying to debug raspberrypi jtag driver using that stm32 as a target. Do you think i might need any tweaks (apart from disconnecting CN3 jumpers) to access it via jtag? (it happened i do not have a known-to-work adapter here atm...) 2012-07-22T13:09:47 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has joined ##stm32 2012-07-22T13:15:56 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-22T13:30:40 < dongs> > raspberripi 2012-07-22T13:30:43 < dongs> found your problem 2012-07-22T13:50:00 < Laurenceb_> id remove the jumpeds for swd yes 2012-07-22T13:50:04 < Laurenceb_> as the pins are shared 2012-07-22T13:50:34 < Laurenceb_> reomve current measurement jumper and connect rpi 3v3 to the stm32 side 2012-07-22T13:50:42 < Laurenceb_> so stm32 is powered from the pi 2012-07-22T13:52:33 < dongs> does discovery even have full jtag pins 2012-07-22T13:52:37 < dongs> i thought it only broke out swd 2012-07-22T13:53:26 < Laurenceb_> i think he wants rpi -> stm32 jtag pins 2012-07-22T13:53:34 < dongs> wuat 2012-07-22T13:53:38 < dongs> which stm32? 2012-07-22T13:54:06 < Laurenceb_> the stm32vl on the discovery board 2012-07-22T13:54:57 < PaulFertser> Laurenceb_: i have doubts about the TMS line. Somehow i measure only 2.2V on it (with basically 3.0Vcc from the board's LDO), and the docs say it should have an internal pullup. 2012-07-22T13:55:15 < dongs> measuring wiht what, scope or dmm? 2012-07-22T13:55:48 < PaulFertser> What's even stranger is that when i connect a rpi gpio line configured to output "1" i see 3.3V on the line itself but after actually connecting it's pulled down by the stm board to 2.5... 2012-07-22T13:56:24 < Laurenceb_> is the stm powered? 2012-07-22T13:56:32 < PaulFertser> Laurenceb_: from the usb port of my laptop. 2012-07-22T13:56:40 < Laurenceb_> eeew 2012-07-22T13:56:42 < PaulFertser> Laurenceb_: why? 2012-07-22T13:56:48 < Laurenceb_> you may have a gnd loop 2012-07-22T13:56:51 < PaulFertser> Laurenceb_: the RPi is connected to the same laptop. 2012-07-22T13:56:57 < Laurenceb_> power stm from the rpi 2012-07-22T13:58:09 < dongs> attn cjbaird http://e.dx.com/albums/201207/android-4.0-mini-pc/index.html?utm_source=dx&utm_medium=albums&utm_campaign=android-4.0-mini-pc 2012-07-22T13:58:52 < PaulFertser> Laurenceb_: look, when i disconnect the stm board from the RPi altogether, leaving it connected only to the laptop, and i measure voltage between the GND pin on the board and the PA13 (TMS) i still get 2.25V. 2012-07-22T13:59:42 < PaulFertser> So it looks like there's no ground loop involved at all, upon connecting RPi to the board i measured GND to be the same across both devices. 2012-07-22T14:00:08 < Laurenceb_> hmm 2012-07-22T14:00:12 < Laurenceb_> im not convinced 2012-07-22T14:00:52 < dongs> ground loop more like ground lol 2012-07-22T14:01:17 < PaulFertser> Laurenceb_: btw, RPi can't provide more than 50mA from its 3.3V pin, but that doesn't matter here i think. 2012-07-22T14:01:50 < Laurenceb_> so you can power the stm32vl with itr 2012-07-22T14:03:05 < PaulFertser> Laurenceb_: i can, but i'm not convinced it's necessary :) Back to the question: what if i have everything disconnected and only the stm board powered from my laptop, and the internal storage mass_erase'd. What should i measure on the TMS pin? 2012-07-22T14:05:23 < Laurenceb_> i dont know 2012-07-22T14:05:28 < Laurenceb_> 0 or 3.3 2012-07-22T14:07:34 < PaulFertser> Laurenceb_: do you by any chance have some board handy? 2012-07-22T14:08:04 < cjbaird> PaulFertser: 'raspberrypi jtag driver'? link? (relevant to my interests..) 2012-07-22T14:09:07 < Laurenceb_> nope 2012-07-22T14:10:02 < PaulFertser> cjbaird: wip: http://paste.debian.net/180190/ 2012-07-22T14:11:29 < cjbaird> woohoo! 2012-07-22T14:13:16 < PaulFertser> cjbaird: i verified it bitbangs all the individual lines correctly but the scan chain always gives me 0xfffffe11 for the id, and i'm at lost currently. 2012-07-22T14:13:57 < dongs> oh gawd is that OPENOCD 2012-07-22T14:14:36 < cjbaird> stfu dongy 2012-07-22T14:14:37 < dongs> "hi, stlink is 29.95 but I'll buy shitberrypi instead, so I can use it as a slow fucking bitbanging jtag adapter" 2012-07-22T14:18:17 < PaulFertser> cjbaird: apparently he can't understand there're many other useful targets that stlink will never be able to handle. And that stlink is not useable over ethernet, and also that one often needs to have a serial connection to the board and that would require another usb-uart converter etc etc. I hope he'll find some more enjoyable sunday activity, that would be too pathetic to spend one's sunday trying to fruitlessly troll on ##stm32. 2012-07-22T14:20:34 < dongs> wow, how long it too you to type all that up 2012-07-22T14:20:39 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-22T14:20:41 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-22T14:20:54 < cjbaird> I've also been pushing for the RPi to make a great development platform for the cheap MCU boards out there.. Most of my past two week since getting mine has been trying to build toolchains for stm32, avr32, msp430, etc. Unfortunately, getting them to reliably build has been hard, with "summon-arm-toolchain" et.al. finding ways to fall over on about every permutation of RPi OS and native compiler. :/ 2012-07-22T14:22:03 < cjbaird> ...which is /odd/, as I've had anywhere near to the number of issues building the toolchains on my weird-ass Loongson MIPS gNewsense box.. 2012-07-22T14:22:11 < cjbaird> s/anywhere/nowhere/ 2012-07-22T14:23:13 < PaulFertser> cjbaird: hm, that's an idea, i'll try s-a-t on it now. 2012-07-22T14:23:36 < PaulFertser> cjbaird: do you probably have a board to test handy? It feels like my patch should work... 2012-07-22T14:23:54 < cjbaird> I have had success using texane's stlink on the RPi.. 2012-07-22T14:24:05 < cjbaird> I'm patching openocd now.. 2012-07-22T14:24:23 < PaulFertser> cjbaird: i've just tried OpenOCD with stlinkv1 on that vldiscovery board and it worked fine too. 2012-07-22T14:26:04 < cjbaird> forgot to mention: my success was with an F4 Disco 2012-07-22T14:26:54 < PaulFertser> cjbaird: you'll need to remove config.h.in for the autoheader to recreated it to have --enable-raspberrypi available. 2012-07-22T14:29:24 < cjbaird> Things will be a bit slow here, as I've got the system load at about 7.0 doing bulk compiles. :) 2012-07-22T14:35:47 < cjbaird> RPi jtag will be good thing for this LPCXpresso board, as the supplied debugging hardware uses a binary-blob x86-32 linux driver. :/ 2012-07-22T14:46:42 < dongs> cjbaird: comeon, really? 2012-07-22T14:46:52 < dongs> even fucking FTDI bitbanging would make 100x more sense than shitberypi. 2012-07-22T14:50:39 < BrainDamage> I think the point is having an "IDE" 2012-07-22T14:50:43 < BrainDamage> which is both HW and SW 2012-07-22T14:51:23 < BrainDamage> and being able to reuse something like that that is cheap, and hopefully commonly available in the future is not an horrible idea per se 2012-07-22T14:51:54 < BrainDamage> plus running ssh tunnels, gdb servers etc allows you to do remote debugging/flashing when necessary from another pc 2012-07-22T14:52:19 < PaulFertser> BrainDamage: do not waste your time explaining it, please. 2012-07-22T14:55:18 < dongs> IDE??? on Linux?????????????? ahahahahahah excuse me while I laugh myself to death 2012-07-22T14:59:44 < cjbaird> Yeah, we wonder why he's on Freenode too... :P 2012-07-22T15:00:20 < PaulFertser> cjbaird: btw, what are you using for the rootfs on RPi? 2012-07-22T15:01:25 < cjbaird> PaulFertser: I was using ext2 on 4/16GB SD cards, but I'm now running it off a USB-powered 160GB HDD (with ext4). 2012-07-22T15:01:49 < PaulFertser> cjbaird: do you think the SD storage was the main bottleneck? 2012-07-22T15:01:53 < cjbaird> ext4 on SD was giving me frequent total filesystem corruption.. 2012-07-22T15:02:28 < cjbaird> Yep, /slow/... SD was giving me 2-6 MB/s, whereas USB HDD gives me up to 25MB/s. 2012-07-22T15:06:48 < cjbaird> openocd built. How are you wiring the rpi to the 32ldisco? (TDI:19, TDO:21, TCK:23, TMS:22, TRST:26, SRST:18) .. How does that translate to the SWD header? 2012-07-22T15:08:23 < PaulFertser> cjbaird: i do not use the SWD header, i connect it like that: 2012-07-22T15:10:11 < PaulFertser> cjbaird: rpi <-> stm32vldiscovery : 19 - PA15, 21 - PB3, 22 - PA13, 23 - PA14, 26 - PB4. 2012-07-22T15:11:54 < cjbaird> I'm using an stm32f0disco here, so I'll just have to verify what to use there.. 2012-07-22T15:12:07 < PaulFertser> cjbaird: won't work, stm32f0 doesn't support jtag at all. 2012-07-22T15:12:41 < dongs> http://static.rcgroups.net/forums/attachments/2/4/9/2/1/8/a5027446-140-DSC00580.jpg attn Laurenceb_ 2012-07-22T15:14:27 < cjbaird> okay, how about an stm32l-d or 32f4-d? 2012-07-22T15:15:26 < dongs> ? 2012-07-22T15:15:33 < dongs> arent all jtag pins same portX on all stm32's? 2012-07-22T15:15:56 < dongs> i.e. jtms = PA13 always 2012-07-22T15:16:30 < PaulFertser> cjbaird: it should work of course, if you disconnected the two jumpers from the embedded stlink. But my f1 board "should" work too... 2012-07-22T15:24:00 < cjbaird> There's a [tcl/interface/]raspberrypi.cfg needed? 2012-07-22T15:26:26 < PaulFertser> cjbaird: i tested like this: "openocd -c "adapter_khz 1000; interface raspberrypi; source [find target/stm32f1x.cfg]" 2012-07-22T15:31:41 < Laurenceb_> wazzat? 2012-07-22T15:38:25 < cjbaird> PaulFertser: the most involved attempt (with an STM32F4D) http://dpaste.org/ROAra/ 2012-07-22T15:39:31 < PaulFertser> cjbaird: ok, i have the same basically except that the unexpected id is 0xfffffe11 for me :( 2012-07-22T15:40:46 < cjbaird> I'll have a go with some other jtag-able boards here, if see if they want to cooperate.. 2012-07-22T15:41:22 < PaulFertser> cjbaird: or probably try a known-to-work jtag adapter with the same board. 2012-07-22T15:42:13 < cjbaird> Hey dongs, send me a known-to-work jtag adapter. 2012-07-22T15:42:43 < cjbaird> ..and a windows box to go with it.. >_> 2012-07-22T15:42:58 < PaulFertser> I've an olimex i'll test tomorrow. 2012-07-22T15:42:58 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has joined ##stm32 2012-07-22T15:44:32 < cjbaird> Wiring up an avr32 board now. 2012-07-22T15:45:07 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-07-22T15:45:32 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201403.dsl.bell.ca] has joined ##stm32 2012-07-22T15:45:32 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925201403.dsl.bell.ca] has quit [Changing host] 2012-07-22T15:45:32 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-22T15:48:05 < cjbaird> With an AVR32 UC3-A3 xplain board: http://dpaste.org/FsGLe/ (much the same thing.. :/) 2012-07-22T15:49:36 < PaulFertser> cjbaird: hm, 0xf000203f looks quite a bit like 0x21e8203f 2012-07-22T15:49:41 < PaulFertser> Promising! 2012-07-22T15:49:55 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-22T15:53:29 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-22T16:05:24 < cjbaird> Hmm, that was different: (stm32l-discovery) http://dpaste.org/0TwWA/ 2012-07-22T16:06:42 < dongs> http://www.rcgroups.com/forums/showpost.php?p=22230446 + http://www.rcgroups.com/forums/showpost.php?p=22231097&postcount=58 rofl 2012-07-22T16:08:30 < PaulFertser> cjbaird: probably missing pullups/downs... 2012-07-22T16:33:52 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-22T16:44:33 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-07-22T16:50:31 -!- BrainDamage2 [~yaaic@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has joined ##stm32 2012-07-22T16:53:04 -!- BrainDamage2 [~yaaic@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has quit [Client Quit] 2012-07-22T17:17:20 -!- tavish_ [~tavish@120.59.139.111] has joined ##stm32 2012-07-22T17:17:30 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 264 seconds] 2012-07-22T17:38:24 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200456.dsl.bell.ca] has joined ##stm32 2012-07-22T17:38:25 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200456.dsl.bell.ca] has quit [Changing host] 2012-07-22T17:38:25 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-22T17:50:16 < dongs> We looked at basing the new board around a STM32 ARM based chip. But we decided against this, for a number of reasons. The ATmega2560 chip will do everything we need with the confidence that our highly timing-sensitive code is already tested and reliable on the ATmega platform. 2012-07-22T17:50:21 < dongs> kikk, 2012-07-22T17:50:23 < dongs> sldfkjdsf 2012-07-22T17:52:41 < zyp> ah, that's from the t9x replacement board 2012-07-22T17:52:51 < dongs> hai 2012-07-22T17:53:26 < dongs> i keep b reaking the fucking side switches on my 9xs 2012-07-22T17:53:31 < dongs> need to find the fucking things 2012-07-22T17:53:49 < zyp> if it's highly timing sensitive, it's pretty bad code 2012-07-22T17:55:54 < dongs> PPM is pretty fucking hard. 2012-07-22T17:56:01 < dongs> on a 8shitter. 2012-07-22T18:00:37 -!- Toneloc [~BlueBeep@109.76.19.101] has joined ##stm32 2012-07-22T18:41:04 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Read error: No route to host] 2012-07-22T18:41:32 -!- Thorn [~Thorn@128-73-143-107.broadband.corbina.ru] has joined ##stm32 2012-07-22T18:41:33 -!- Thorn [~Thorn@128-73-143-107.broadband.corbina.ru] has quit [Changing host] 2012-07-22T18:41:33 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-22T18:50:19 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 260 seconds] 2012-07-22T19:20:06 -!- szczys [~mike@68-117-130-137.dhcp.mdsn.wi.charter.com] has joined ##stm32 2012-07-22T19:25:27 < szczys> I'm having some issues indexing through a multi-dimensional array which I declared using: static const uint8_t arrayname[4][25][25] = 2012-07-22T19:25:47 < szczys> What I think this should do is store the array in flash memory 2012-07-22T19:25:57 < szczys> is there a gotcha that I'm missing to this method? 2012-07-22T19:26:49 < zyp> what's the problem? 2012-07-22T19:27:21 < szczys> The data coming back is not what is actually in the array 2012-07-22T19:27:40 < szczys> can I index an array stored in flash? 2012-07-22T19:27:46 < szczys> a multi-dimensional one? 2012-07-22T19:27:58 < zyp> of course you can 2012-07-22T19:28:03 < szczys> it seems I can get the first array back: arrayname[0] blah blah 2012-07-22T19:28:04 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-22T19:28:13 < szczys> but arrayname[1] and on don't return the right data 2012-07-22T19:28:27 < zyp> can you pastebin the code? 2012-07-22T19:28:42 < szczys> yes... just a minute 2012-07-22T19:31:30 < szczys> having some browser problems (upgrade to Ubuntu 12.04 isn't as smooth as it should be) 2012-07-22T19:36:46 < szczys> http://pastebin.com/wJag05s9 2012-07-22T19:37:06 < szczys> The function that calls the array is first, followed by the arrays (which are actually in a separate .h file) 2012-07-22T19:37:42 < szczys> if I replace the call to the array with a value the function works 2012-07-22T19:38:13 < szczys> but when calling the array I can only get the first frame of data... the subsequent frames are not what I was expecting to get 2012-07-22T19:52:55 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-22T20:01:37 -!- tech2077 [~tech2077@128.42.80.119] has joined ##stm32 2012-07-22T20:05:47 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-22T20:06:07 -!- tech2077 [~tech2077@128.42.80.119] has quit [Ping timeout: 240 seconds] 2012-07-22T20:38:32 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-22T20:40:49 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-22T20:43:08 -!- szczys [~mike@68-117-130-137.dhcp.mdsn.wi.charter.com] has quit [Remote host closed the connection] 2012-07-22T20:47:17 -!- szczys [~mike@68-117-130-137.dhcp.mdsn.wi.charter.com] has joined ##stm32 2012-07-22T20:55:16 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Ping timeout: 246 seconds] 2012-07-22T22:04:07 -!- tech2077 [~tech2077@128.42.87.199] has joined ##stm32 2012-07-22T22:06:14 -!- tavish_ [~tavish@120.59.139.111] has quit [Quit: leaving] 2012-07-22T22:17:04 < emeb> Got the "Custom HID" USB example working on my STM32F105 board. Turned out that the SYSCLK setup was wrong. 2012-07-22T22:26:21 -!- tech2077 [~tech2077@128.42.87.199] has quit [Ping timeout: 252 seconds] 2012-07-22T22:38:54 -!- tech2077 [~tech2077@128.42.87.199] has joined ##stm32 2012-07-22T22:45:56 -!- Claude is now known as claude 2012-07-22T23:04:12 < Tectu> emeb, ChibiOS? 2012-07-22T23:29:16 < emeb> Tectu: no - just using the ST USB library & bare-metal code. 2012-07-22T23:29:26 < Tectu> okay 2012-07-22T23:29:31 < Tectu> btw, there is #chibios 2012-07-22T23:29:37 < Tectu> in case of someone is interested 2012-07-22T23:30:43 * emeb looks at chibios wiki 2012-07-22T23:31:27 < Tectu> emeb, i cam currently developing a subproject for chibios. library for lcds with touchpads, also GUi abstraction layer 2012-07-22T23:31:35 < Tectu> alread over 4'500 lines of code 2012-07-22T23:31:55 < emeb> Nice - small flash devices need not apply. :) 2012-07-22T23:33:06 < Tectu> ;-) 2012-07-22T23:33:51 < emeb> Flipside though - buddy of mine paid $150 for a graphic LCD/Touchscreen lib for his STM32F4 project. 2012-07-22T23:38:59 < Tectu> emeb, lol 2012-07-22T23:39:02 < Tectu> emeb, which one? link? 2012-07-22T23:39:27 < emeb> Tectu: dunno - he had it "custom coded" by some dude in Vietnam. 2012-07-22T23:39:30 < Tectu> emeb, i started the library as a hobby project, then after having 2.5k of lines i published it on the forum. now people love it. 2012-07-22T23:39:36 < Tectu> having some developers which help 2012-07-22T23:39:45 < Tectu> emeb, awesome. 2012-07-22T23:42:42 < Toneloc> I guess it was cheaper to outsource that work to vietnam 2012-07-22T23:42:54 < Toneloc> and free up the developer to work on his project 2012-07-22T23:43:30 < emeb> Toneloc: no doubt - he's happy with it. 2012-07-22T23:43:57 < emeb> Goodness knows I couldn't code up a graphic lib in 2 billable hours. 2012-07-22T23:44:11 < Toneloc> really,$150 doesnt buy you much time these days 2012-07-22T23:44:31 < Tectu> 150$ is aout one hour of work here in switzerland 2012-07-22T23:44:34 < Toneloc> and if that isnt the main part of your project, better to off load it 2012-07-22T23:44:44 < emeb> yep 2012-07-22T23:45:35 < Toneloc> emeb- problem is, how are new guys meant to get their start? I mean, everything is 'pre-made' , buy everything, use libaries 2012-07-22T23:46:12 < Toneloc> Im only a beginner, Im glad I dont have to code such things from scratch, as most likely I wouldnt be able to, or have the patience 2012-07-22T23:46:31 < Toneloc> but at the same time, I never get the learning experience 2012-07-22T23:46:37 < emeb> Toneloc: True enough. OTOH, lots of good FOSS libs means you get more bang for your time spent. Lets you focus on the bigger concepts. 2012-07-22T23:47:34 < Toneloc> emeb- yeap, I totally agree. 2012-07-22T23:48:23 < Toneloc> emeb, I better duck & cover before I say this, but, arduino offers very good bang for your time spent. 2012-07-22T23:48:40 < emeb> Toneloc: it's a great place to start. 2012-07-22T23:48:50 < Toneloc> *Toneloc shivers in the calm before the storm...* 2012-07-22T23:49:12 < emeb> But when the ATmega runs out of gas, look to 32-bitters like Cortex-Mx 2012-07-22T23:49:16 < Toneloc> *He knows people are going to ridicule the idea of even using an arduino.* 2012-07-22T23:49:42 < Toneloc> I heard arduino was moving up to ARM 2012-07-22T23:50:01 < Toneloc> I have never used an arduino or even seen one 2012-07-22T23:50:05 < Toneloc> in real life 2012-07-22T23:50:19 < emeb> There are people making ard-compatible hardware with ARM. see Maple 2012-07-22T23:50:46 < emeb> Big issue is that the ard development environment is extremely good for the n00b. 2012-07-22T23:50:48 < Toneloc> I wonder are products been made with ar code? 2012-07-22T23:50:57 < Toneloc> *ard 2012-07-22T23:51:01 < emeb> so duplicating that is the big trick, more than the hardware. 2012-07-22T23:51:11 < Toneloc> yeah, they never see the need to understand what is really happening. 2012-07-22T23:51:36 < emeb> Never is probably too strong. 2012-07-22T23:51:46 < Toneloc> yes, perhaps so. 2012-07-22T23:51:49 < emeb> Those who want more performance can dig deeper. 2012-07-22T23:52:04 < emeb> I did a few "toy" projects on ard to see what it's about. 2012-07-22T23:52:24 < Toneloc> Do things like arduino, lower the wages of embedded systems engineers? 2012-07-22T23:52:27 < emeb> Started with simple big-loop polling. Tuned it up to timer & ISR driven for better performance. 2012-07-22T23:52:55 < Toneloc> I guess they dont, but they make it such that you need to get more accomplished within the set time frame. 2012-07-22T23:53:04 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2012-07-22T23:53:38 < emeb> Definitely raises the level of expectation - inexperienced folks can do more. 2012-07-22T23:53:57 < emeb> So experienced folks need to work a little harder to justify their wage. 2012-07-22T23:54:50 < emeb> But that's probably not a huge impact - what a pro can do is so far beyond what an ard n00b can even conceive. 2012-07-22T23:55:18 < Toneloc> Yes, but the problem for new people is, because things like ard dont make them learn how to do the stuff, but more or less string libraries together, these people wont be able to do the hard stuff. 2012-07-22T23:55:32 < Toneloc> but I guess, arduino is just for people who want to get stuff done. 2012-07-22T23:55:54 < BrainDamage> arduino folks typically don't even know you can just use the micro with an xtal and 2 caps 2012-07-22T23:56:03 < BrainDamage> and get 90% of the same functionality 2012-07-22T23:56:07 < Toneloc> Yes, DSP, control theory etc - they havent heard of it . 2012-07-22T23:56:31 < Toneloc> yeah, shields or whatever they clal them are a rip off. 2012-07-22T23:57:36 < emeb> BrainDamage: True - AVR support hardware requirements are minimal. 2012-07-22T23:57:46 < BrainDamage> most microcontrollers actually 2012-07-22T23:57:54 < BrainDamage> it's their whole pourpose, working standalone 2012-07-22T23:58:02 < BrainDamage> with little to nothing external hw 2012-07-22T23:58:05 < emeb> Yep. 2012-07-22T23:58:20 < BrainDamage> I wrote this a while ago to avoid repeating myself wrt arduinos: http://dl.dropbox.com/u/40949413/arduino.txt 2012-07-22T23:58:34 < emeb> Nice thing about AVR is the DIP pkgs - can use solderless breadboard. 2012-07-22T23:58:46 < Toneloc> now, a question my friend was wondering, why are mcu's still used over fpga's and cpld's ? 2012-07-22T23:58:54 < BrainDamage> they are simple 2012-07-22T23:58:54 < Toneloc> I think its because of cost 2012-07-22T23:59:24 < BrainDamage> you don't want to upload a softcore cpu just to do some temp sensor logging 2012-07-22T23:59:35 < emeb> Toneloc: Support requirements for FPGAs are harder. Multiple supplies, complex configuration setups. 2012-07-22T23:59:35 < Toneloc> not every design needs an fpga for glue logic, so an fpga just for a cpu would be a waste --- Day changed Mon Jul 23 2012 2012-07-23T00:00:08 < BrainDamage> also, they rarely offer the extra devices that mcu have 2012-07-23T00:00:19 < Thorn> fpga for glue logic? that would be a cpld 2012-07-23T00:00:21 < BrainDamage> no adc, no dac, no sizeable flash, no timers 2012-07-23T00:00:25 < emeb> And don't forget that coding HDL is a big jump for a lot of folks. The natural parallelism of hardware design is beyond some folks ability to comprehend. 2012-07-23T00:00:48 < BrainDamage> meh pipelining is not *too* hard 2012-07-23T00:00:49 < Thorn> fpgas are mostly used for DSP 2012-07-23T00:00:58 < BrainDamage> fpga are good for streams 2012-07-23T00:01:01 < Toneloc> FPGA programming in my opinion, is alot easier 2012-07-23T00:01:21 < Toneloc> I can code the same thing in maybe half time or less 2012-07-23T00:01:42 < emeb> Toneloc: that really depends on the application. 2012-07-23T00:01:47 < Toneloc> but yeah, the concurrency is mind bending at the start 2012-07-23T00:02:02 < Toneloc> its a different way of thinking 2012-07-23T00:02:06 < emeb> Yep. 2012-07-23T00:02:37 < Toneloc> but for 'getting things done', Im going to go with an FPGA 2012-07-23T00:02:40 * emeb does FPGA software-defined radio stuff for the day job. 2012-07-23T00:03:11 < Toneloc> just to see if the idea works, and to prototype it 2012-07-23T00:03:24 < Toneloc> then, code it with an mcu 2012-07-23T00:03:26 < emeb> I think the best breakdown is a decent dedicated MCU (ARM, etc) for monitor/control and an FPGA for executing the hard realtime processing. 2012-07-23T00:03:47 < Toneloc> ^yeah, that sounds a sensible approach 2012-07-23T00:04:00 < Thorn> fpgas and microcontrollers are not interchangeable. mcus are for control, fpgas for processing data streams 2012-07-23T00:04:01 < Toneloc> you are using them both for their strengths 2012-07-23T00:04:14 < emeb> Thorn: exactly 2012-07-23T00:04:34 < Toneloc> yeah, but an FPGA can emulate a mcu 2012-07-23T00:04:39 < emeb> Soft MCUs in an FPGA are a waste of FPGA gates. 2012-07-23T00:04:47 < Toneloc> I know, it wont have the peripherals 2012-07-23T00:04:55 < emeb> Spend the same $$ on a good dedicated MCU and get more performance. 2012-07-23T00:05:18 -!- bcsllc-steve [~steve@ip68-105-49-117.no.no.cox.net] has joined ##stm32 2012-07-23T00:05:19 < emeb> Or buy an MCU that does what you need and save $$. 2012-07-23T00:05:23 < bcsllc-steve> hey guys 2012-07-23T00:05:34 < bcsllc-steve> im interested in learning STM32 chips 2012-07-23T00:05:39 < bcsllc-steve> Im a microchip guy 2012-07-23T00:05:44 < Toneloc> emeb- I was interested in doing a SDT sometime, ever do one? 2012-07-23T00:05:49 < bcsllc-steve> what programmer exists thats like the PICKIT ? 2012-07-23T00:06:13 < BrainDamage> the st-link on the discovery board works fine 2012-07-23T00:06:14 < bcsllc-steve> I have the STM32F0Discovery board 2012-07-23T00:06:19 < emeb> bcsllc-steve: I started out in dsPIC/PIC - STM32 blows them away. 2012-07-23T00:06:23 < BrainDamage> you can buy a standalone one if you prefer 2012-07-23T00:06:33 < BrainDamage> but even the one on the board is fine 2012-07-23T00:06:45 < bcsllc-steve> yeah im looking for something like the pickit 2012-07-23T00:06:50 < bcsllc-steve> programmer to go is cool 2012-07-23T00:07:04 < BrainDamage> the st-link is the goto solution 2012-07-23T00:07:08 < BrainDamage> using SWD 2012-07-23T00:07:09 < emeb> the F0 Discovery is a good starting point. 2012-07-23T00:07:26 < emeb> I use the SWD for programming/debugging my own custom boards too. 2012-07-23T00:07:34 < Toneloc> emeb- ever create a Software defined transmitter? 2012-07-23T00:07:44 < emeb> Toneloc: All the time. 2012-07-23T00:08:05 < bcsllc-steve> BrainDamage, oh ok i See the STLINK piece 2012-07-23T00:08:24 < BrainDamage> the small chip on the board is a programmer 2012-07-23T00:08:29 < BrainDamage> that you got for free 2012-07-23T00:08:31 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-23T00:08:37 < Toneloc> :D Cool, I wanted to make one, is it feasible to create the modulated carrier with the FPGA? 2012-07-23T00:08:46 < emeb> Toneloc: Absolutely. 2012-07-23T00:08:46 < BrainDamage> and there's an header that you can use it to program other boards 2012-07-23T00:09:01 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-23T00:09:08 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Disconnected by services] 2012-07-23T00:09:09 < emeb> Toneloc: the trick is figuring out what you want to modulate, and what waveform to use. 2012-07-23T00:09:11 -!- phantoneD is now known as phantoxeD 2012-07-23T00:09:16 < BrainDamage> emeb: the high freq carrier? :p 2012-07-23T00:09:19 < Toneloc> emeb- just output it to a DAC, low pass filter , and amplify ? 2012-07-23T00:09:24 < bcsllc-steve> BrainDamage, yeah i know 2012-07-23T00:09:36 < BrainDamage> I think you mean doing low freq and then using an upconverter 2012-07-23T00:09:36 < emeb> Toneloc: Here's my solution: http://ebrombaugh.studionebula.com/radio/txdac/index.html 2012-07-23T00:09:54 < BrainDamage> ah 30MHz 2012-07-23T00:09:56 < bcsllc-steve> I just prefer something a littlemore commercial, like with a enclousre, rather then a exposed PCB with pins sticking up 2012-07-23T00:10:23 < bcsllc-steve> why all those pins on the STLINK 2012-07-23T00:10:38 < BrainDamage> it supports many protocols 2012-07-23T00:10:50 < BrainDamage> SWD, swag, jtag 2012-07-23T00:10:55 < emeb> But only 4 really needed. 2012-07-23T00:11:10 < bcsllc-steve> oh ok 2012-07-23T00:11:27 < emeb> (and even the VCC pin is really not used) 2012-07-23T00:11:42 < bcsllc-steve> yeah I dont use it either on the pickit2 2012-07-23T00:11:45 < bcsllc-steve> well soemtimes 2012-07-23T00:11:47 < Toneloc> emeb- that looks like just the trick, so you could do SSB totlaly in software- into your module, then filter/amp and antenna? 2012-07-23T00:11:52 < Toneloc> *totally 2012-07-23T00:12:01 < emeb> Toneloc: yep. 2012-07-23T00:12:08 < bcsllc-steve> seems that I can only buy it the STLINK from EUR 2012-07-23T00:12:21 < Toneloc> emeb- and it would be perfectly clean spectrum? 2012-07-23T00:12:23 < BrainDamage> bcsllc-steve: digikey should stock it 2012-07-23T00:12:26 < Thorn> why the low pass filter after the DAC? 2012-07-23T00:12:35 < BrainDamage> Thorn: reconstruction filter 2012-07-23T00:12:48 < emeb> Toneloc: "Perfectly clean" is a tough spec to meet. 2012-07-23T00:12:52 < bcsllc-steve> yeah i searced DIGIKEY already for STLINK 2012-07-23T00:12:53 < bcsllc-steve> but no 2012-07-23T00:13:13 < Toneloc> well, I mean as good as a traditional analog transmitter 2012-07-23T00:13:17 < emeb> That DAC / filter has aliases about 50-60dB down. Good enough for most radio apps. 2012-07-23T00:13:35 < BrainDamage> bcsllc-steve: http://www.digikey.com/product-search/en/programmers-development-systems/in-circuit-programmers-emulators-and-debuggers/2621880?k=st-link 2012-07-23T00:13:39 < bcsllc-steve> yeah I just found it 2012-07-23T00:13:58 < bcsllc-steve> 20 bucks 2012-07-23T00:14:01 < bcsllc-steve> cheas 2012-07-23T00:14:02 < bcsllc-steve> cheap 2012-07-23T00:14:23 < Thorn> due to DAC having stair-step output signal? 2012-07-23T00:14:33 < BrainDamage> Thorn: yes 2012-07-23T00:14:37 < Thorn> I think there're DDS chips that don't have that problem 2012-07-23T00:14:44 < bcsllc-steve> BrainDamage, thakns 2012-07-23T00:15:00 < BrainDamage> Thorn: they use oversampling to reduce the problem, but it still exists 2012-07-23T00:15:07 < BrainDamage> it comes from sampling theory 2012-07-23T00:15:10 < Toneloc> emeb- sounds like a good way to build a ham radio TX on the (sort of) cheap, best part is when you arent doing radio- you can do other stuff with your fpga- so its less money down. 2012-07-23T00:15:21 < emeb> Toneloc: yup. 2012-07-23T00:15:30 < BrainDamage> it's basically samples + zero order hold 2012-07-23T00:15:50 < emeb> You can hook that board to a $150 FPGA dev board and do just about anything. 2012-07-23T00:15:59 < BrainDamage> bcsllc-steve: that piece of plastic btw is not much different from the upper part of your discovery board 2012-07-23T00:16:04 < BrainDamage> just has more pins exposed 2012-07-23T00:16:30 < bcsllc-steve> yeah I know 2012-07-23T00:16:54 < bcsllc-steve> BrainDamage, its just more feaisble for commerical work 2012-07-23T00:17:17 < bcsllc-steve> why else would they sell it seperatly if everyone wanted the STM Discovery board 2012-07-23T00:17:26 < bcsllc-steve> as a programmer 2012-07-23T00:17:40 < BrainDamage> because it also supports jtag, and there's other dev boards than discovery 2012-07-23T00:17:50 < BrainDamage> which you just plug the st-link plastic one to 2012-07-23T00:18:14 < bcsllc-steve> well its alsoo nicer 2012-07-23T00:18:23 < bcsllc-steve> outside the hobbiest world 2012-07-23T00:19:04 < bcsllc-steve> If it was $3000 2012-07-23T00:19:11 < bcsllc-steve> i would have to reconsider 2012-07-23T00:19:32 < bcsllc-steve> but for $20 bucks 2012-07-23T00:19:40 < bcsllc-steve> what the hell 2012-07-23T00:19:45 < bcsllc-steve> well worth it 2012-07-23T00:19:54 < BrainDamage> the great thing of stm32 is that everything is great for the cost 2012-07-23T00:20:08 < BrainDamage> excellent price/quality ratio 2012-07-23T00:20:33 < bcsllc-steve> emeb, you STM blows away the PICs you started with 2012-07-23T00:20:34 < bcsllc-steve> how ? 2012-07-23T00:20:41 < bcsllc-steve> apples to apples ? 2012-07-23T00:20:48 < bcsllc-steve> you said * 2012-07-23T00:21:05 < bcsllc-steve> or is that PIC16 vs STM32F4 2012-07-23T00:21:30 < bcsllc-steve> What IDEs do you guys use ? 2012-07-23T00:21:40 < emeb> bcsllc-steve: I use dsPIC extensively over the last 8 years or so to do audio synthesis stuff. 2012-07-23T00:21:41 < BrainDamage> the cheapest stm32 is basically an high end pic 2012-07-23T00:21:55 < BrainDamage> that's why pic are blown away 2012-07-23T00:22:08 < BrainDamage> 32 bit core, 50MHz 2012-07-23T00:22:14 < BrainDamage> for the cheapest stuff 2012-07-23T00:22:19 < emeb> I've recently started using STM32 instead. The 32-bit math in the STM gets a lot more done per cycle. 2012-07-23T00:22:33 < emeb> And at a much lower power drain. 2012-07-23T00:23:28 < bcsllc-steve> yeah I noticed I can use much faster chips 2012-07-23T00:23:49 < bcsllc-steve> What IDEs do you guys use ? 2012-07-23T00:23:49 < emeb> Here I'm comparing something like the dsPIC33FJ64GP802 vs the STM32F100Cx 2012-07-23T00:24:34 < bcsllc-steve> I dont see the ST support as good as microchip 2012-07-23T00:24:35 < emeb> I don't use an IDE - just GCC + Make. A nice text editor and gdb + ddd for debugging. 2012-07-23T00:24:36 -!- erik-k [~erik-k@63-155-132-22.eugn.qwest.net] has joined ##stm32 2012-07-23T00:24:44 < bcsllc-steve> doesnt seem to be good documentation 2012-07-23T00:25:00 < emeb> ST clearly doesn't have as good a native software environment as MCHP does. 2012-07-23T00:25:05 < emeb> MPLAB is very nice. 2012-07-23T00:25:11 < bcsllc-steve> yeap 2012-07-23T00:25:35 < emeb> Instead, ST relies on 3rd party (Keil, IAR, Atollic) tools. 2012-07-23T00:25:44 < bcsllc-steve> right i see that 2012-07-23T00:25:54 < bcsllc-steve> I just the KEIL app 2012-07-23T00:26:05 < bcsllc-steve> and requests quotes for the non-free versions 2012-07-23T00:26:10 < bcsllc-steve> *installed 2012-07-23T00:26:13 < emeb> But if you're prepared to get your hands dirty, the free tools are fairly good. 2012-07-23T00:26:26 < emeb> Buddy of mine uses CooCox - seems very happy with it. 2012-07-23T00:26:47 < bcsllc-steve> no, do dirty hands, i have a hard enough time learning how to make the circuits work 2012-07-23T00:27:08 < bcsllc-steve> i dont want extra work just to be able to compiler and program firmware 2012-07-23T00:27:19 < bcsllc-steve> but im getting there 2012-07-23T00:27:30 < bcsllc-steve> s/do/no 2012-07-23T00:27:54 < emeb> It's a tradeoff - money for commercial tools vs time setting up your own free ones. 2012-07-23T00:28:05 < bcsllc-steve> i work for a living 2012-07-23T00:28:12 < bcsllc-steve> so I can aford the cheaper tools 2012-07-23T00:28:14 < emeb> MCHP doesn't force that tradeoff on you. ST does. 2012-07-23T00:28:59 < bcsllc-steve> so does the STLINK work in conjunction with KEIL or IAR ? 2012-07-23T00:29:12 < bcsllc-steve> kind of like pIckit does with mplab 2012-07-23T00:29:23 < emeb> Don't know. 2012-07-23T00:29:37 < bcsllc-steve> how do *you* programm chips > 2012-07-23T00:30:15 < emeb> I use the FOSS stlink utilities that karlp / texane have. 2012-07-23T00:30:22 * bcsllc-steve googles 2012-07-23T00:31:02 < emeb> https://github.com/texane/stlink/ 2012-07-23T00:31:08 < BrainDamage> bcsllc-steve: http://www.st.com/internet/com/software/ides_mcu.jsp 2012-07-23T00:31:30 < bcsllc-steve> Thanks 2012-07-23T00:31:38 < BrainDamage> one of my friends uses atollic with stlink 2012-07-23T00:31:46 < emeb> Anyone know about this one? http://www.coocox.org/ 2012-07-23T00:31:58 < emeb> Seems pretty well put together for the Windows folks. 2012-07-23T00:32:18 < BrainDamage> keil supports stlink as well afaik 2012-07-23T00:32:19 < bcsllc-steve> oh Ok i See the CooCox 2012-07-23T00:32:42 < bcsllc-steve> Im one of the Windows Folks ! 2012-07-23T00:32:42 < bcsllc-steve> L) 2012-07-23T00:32:44 < bcsllc-steve> :) 2012-07-23T00:35:28 < emeb> I installed it the other night on the bootcamp WinXP partition of my Mac and it worked OK> 2012-07-23T00:36:01 < emeb> Haven't quite figured out how their library / example system works but it seems well put together. 2012-07-23T00:36:24 < BrainDamage> the lib is the main issue with stm32 2012-07-23T00:36:32 < BrainDamage> what lib to pick 2012-07-23T00:36:40 < emeb> so many to choose from! 2012-07-23T00:36:49 < emeb> Even ST offers multiple libs. 2012-07-23T00:37:19 < bcsllc-steve> emeb, do you EE professionally ? 2012-07-23T00:37:29 < emeb> bcsllc-steve: yes 2012-07-23T00:37:29 < bcsllc-steve> commercial ? 2012-07-23T00:37:31 < bcsllc-steve> nice! 2012-07-23T00:38:06 * bcsllc-steve is downoading the CoIDE video 2012-07-23T00:40:55 < bcsllc-steve> Gui on TFT, Ethernet, USB is on my list of functions to get implemented 2012-07-23T00:41:37 < BrainDamage> this might interest you: http://www.ebay.it/itm/180923582222?ssPageName=STRK:MESINDXX:IT&_trksid=p3984.m1424.l2649 2012-07-23T00:41:48 < bcsllc-steve> I just bought a 5.7 inch 24bpp TFT to prototype with 2012-07-23T00:41:48 < BrainDamage> it's a bit overpriced for what it mounts, but I think it's a good idea 2012-07-23T00:42:26 < bcsllc-steve> i think just a video of a that 2012-07-23T00:42:40 < bcsllc-steve> i dont the price is that bad 2012-07-23T00:42:43 < BrainDamage> the high end stm32 got hw ethernet, but no phy 2012-07-23T00:42:52 < bcsllc-steve> the F4Discovery board is 15 bucks 2012-07-23T00:42:58 < bcsllc-steve> the lcd is probably worth close to that 2012-07-23T00:43:01 < BrainDamage> yes, but that doesn't include the discovery 2012-07-23T00:43:08 < bcsllc-steve> oh 2012-07-23T00:44:15 < BrainDamage> that board basically has: lcd, hw phy for ethernet, can phy, and rs-232 phy 2012-07-23T00:44:33 < BrainDamage> which for 70$ is a bit excessive 2012-07-23T00:44:48 < emeb> Looks like it's got SDIO too, but socket location isn't clear. 2012-07-23T00:45:22 < BrainDamage> I bet it's under the lcd module 2012-07-23T00:45:23 < bcsllc-steve> DP83848 2012-07-23T00:45:35 < bcsllc-steve> same phy as the pic32 etherentet kit i just bought 2012-07-23T00:45:36 < BrainDamage> many lcd modules mount them, and they just recycled one 2012-07-23T00:45:55 < BrainDamage> and it's just a sd socket, since sd s are spi 2012-07-23T00:46:23 < bcsllc-steve> doesnt SDIO mean its wired for the native SD protocol 2012-07-23T00:46:32 < bcsllc-steve> as opposed to spi 2012-07-23T00:46:37 < emeb> that's what I thought too... 2012-07-23T00:46:50 < BrainDamage> oh whoops, my bad 2012-07-23T00:47:09 < bcsllc-steve> 5. STM32F4Discovery 0 * PCS (Optional) 2012-07-23T00:47:30 < BrainDamage> yeah, not included :p 2012-07-23T00:47:45 < emeb> Looks like it's a 2-layer board. 2012-07-23T00:48:03 < bcsllc-steve> vias 2012-07-23T00:48:12 < BrainDamage> it seems to me there's a lot of unused space under the the discovery 2012-07-23T00:48:31 < Toneloc> emeb- sorry, I was away for food (burnt pizza) 2012-07-23T00:48:32 < emeb> yep - just H/V routing. 2012-07-23T00:48:36 < bcsllc-steve> i never really liked the idea of devleopment boards 2012-07-23T00:48:37 < BrainDamage> and probably under the lcd too 2012-07-23T00:48:40 < emeb> mmmm - burnt pizza. 2012-07-23T00:48:53 < Toneloc> it was actually very tasty :) 2012-07-23T00:48:54 < bcsllc-steve> becuase I really do get to 2012-07-23T00:49:01 < bcsllc-steve> actually understand the circuit 2012-07-23T00:49:04 < emeb> cajun style. :) 2012-07-23T00:49:12 < BrainDamage> well, discovery boards are basically bare bones 2012-07-23T00:49:19 < Toneloc> hahha ;D 2012-07-23T00:49:27 < BrainDamage> programmer and chip 2012-07-23T00:49:34 < BrainDamage> eventually 1-2 tiny things 2012-07-23T00:49:36 < bcsllc-steve> emeb, are you southern ? 2012-07-23T00:49:53 < emeb> bcsllc-steve: not really. Live in the SW. 2012-07-23T00:50:00 < bcsllc-steve> which state ? 2012-07-23T00:50:04 < emeb> AZ 2012-07-23T00:50:07 < bcsllc-steve> oh ok 2012-07-23T00:50:14 < bcsllc-steve> Masters conf ! 2012-07-23T00:50:29 < emeb> Yep - MCHP HQ is about 10 miles away. 2012-07-23T00:50:35 < bcsllc-steve> nice 2012-07-23T00:51:18 < Toneloc> emeb- I'm thinking I might use your board to build myself a transmitter for ham radio. Is a $150 FPGA fast enough to capute my voice and create the carrier, modulate it and output it in real-time? 2012-07-23T00:51:33 -!- tech2077 [~tech2077@128.42.87.199] has quit [Ping timeout: 252 seconds] 2012-07-23T00:52:10 < emeb> Toneloc: Check out this board - it should work fine: http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,789&Prod=NEXYS2 2012-07-23T00:52:25 < Toneloc> I know thats kind of a poor question, I just want to know what price range of an FPGA I would need. 2012-07-23T00:52:34 < emeb> The S3E-500 has plenty of resources for SDR. 2012-07-23T00:52:43 < BrainDamage> Toneloc: what frequency? 2012-07-23T00:53:12 < BrainDamage> if you want to do direct synthesis of the modulated carrier you'll be limited by IO speed 2012-07-23T00:53:14 < emeb> It's got a 50MHz oscillator, but you can DLL that up to 100/150 if necessary. 2012-07-23T00:54:32 < Toneloc> BrainDamage- I wanted to cover as much of the h.f spectrum as possible-so below 30 Mhz 2012-07-23T00:54:34 < emeb> But 50MHz is plenty for most HAM bands (80m, 40m, 20m, etc) 2012-07-23T00:54:53 < BrainDamage> 30MHz is doable with many fpga 2012-07-23T00:55:04 < BrainDamage> heck, even micros can get you there nowdays 2012-07-23T00:55:18 < BrainDamage> ( high end micros ) 2012-07-23T00:55:19 < emeb> don't forget nyquist. for 30MHz BW you need to run at least 60MHz sample rate. 2012-07-23T00:55:29 < BrainDamage> with an ideal filter 2012-07-23T00:55:36 < BrainDamage> you probably want a bit more 2012-07-23T00:55:43 < emeb> yup. 2012-07-23T00:56:06 < Toneloc> You see, a transceiver is an expensive piece of kit, problem is it would sit there gathering dust mostly. But at leats with this- I can do other fun stuff when I'm not playing radio:) 2012-07-23T00:56:32 < BrainDamage> 100MHz and a 5th order butterworth filter would probably give you pretty decent quality 2012-07-23T00:56:40 < BrainDamage> you can compromise down from there 2012-07-23T00:57:01 < Toneloc> I would also need to build the PA stages 2012-07-23T00:57:24 < emeb> Heh - do QRP and that's not much of a challenge. :) 2012-07-23T00:57:37 < Toneloc> Yeah, I was thinking IRF510's :) 2012-07-23T00:57:51 < BrainDamage> for the PA, for small-ish signals, you could use ADSL line drivers 2012-07-23T00:57:59 < BrainDamage> at least for testing 2012-07-23T00:58:08 < Toneloc> BrainDamage- oh, never heard about them. 2012-07-23T00:58:11 < BrainDamage> wide bandwith and plenty of current capability 2012-07-23T00:58:35 < bcsllc-steve> emeb, am I wrong for thinking that MCHPs libraies are too tailored for thier dev boards ? 2012-07-23T00:58:36 < Toneloc> can go up to high frequency? 2012-07-23T00:59:04 < bcsllc-steve> Im trying to learn how to use them 2012-07-23T00:59:09 < emeb> bcsllc-steve: Hmmm - interesting idea. Probably yes. 2012-07-23T00:59:22 < bcsllc-steve> and I feel clutted in code and #defines for thier products 2012-07-23T00:59:37 < emeb> bcsllc-steve: bear in mind that ST has their own libs for common stuff too. 2012-07-23T01:00:19 < BrainDamage> Toneloc: tens of MHz 2012-07-23T01:00:49 < BrainDamage> Toneloc: like 100MHz into 100Ohm 2012-07-23T01:00:55 < emeb> http://www.ti.com/lit/ds/symlink/ths6182.pdf - 44Vpp into 200ohms. 2012-07-23T01:00:56 < Toneloc> BrainDamage- sounds great 2012-07-23T01:02:06 < emeb> looks like that one starts to roll off around 10-20MHz though. 2012-07-23T01:04:46 < Toneloc> the FPGA I'm getting is a XC3s200a , with a -4 or -5 speed grade 2012-07-23T01:05:10 < Toneloc> hopefully it will be up to doing some SDR. 2012-07-23T01:05:30 < emeb> Should be fine. It's got plenty of multipliers & BRAMs. 2012-07-23T01:06:09 < emeb> 16 mults IIRC 2012-07-23T01:07:05 < BrainDamage> dsp is all about MAC 2012-07-23T01:07:12 < emeb> Basically what you need to do is take audio input, upsample it to the output rate, SSB modulate and send to the DAC. 2012-07-23T01:07:32 < emeb> How you get audio into the FPGA is "an exercise for the student" 2012-07-23T01:07:58 < emeb> I'd just use an I2S codec myself... 2012-07-23T01:08:56 < emeb> See here: http://ebrombaugh.studionebula.com/synth/codec_pmod/index.html 2012-07-23T01:10:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-23T01:12:10 < bcsllc-steve> emeb, is STs sample system as good as mchp ? 2012-07-23T01:12:26 * bcsllc-steve has CoIDE installed 2012-07-23T01:12:28 < emeb> bcsllc-steve: never tried. Prices are low enough I never bothered. 2012-07-23T01:12:38 < bcsllc-steve> okcool 2012-07-23T01:12:51 < BrainDamage> I tried to sample a gyro from st but the assholes never replied :( 2012-07-23T01:12:57 < bcsllc-steve> he 2012-07-23T01:13:11 < emeb> MCHP is extremely generous w/ samples. 2012-07-23T01:13:32 < bcsllc-steve> not unlimited generous 2012-07-23T01:13:35 < bcsllc-steve> but good enought 2012-07-23T01:13:42 < bcsllc-steve> Fairchild is awesome 2012-07-23T01:13:45 < bcsllc-steve> for other parts 2012-07-23T01:17:01 < Toneloc> emeb- thanks for the linek-you have done many interesting things that I liked, Im interested in midi ,synth and audio also. 2012-07-23T01:19:03 < emeb> Toneloc: cool - lots of fun stuff to do in those areas. 2012-07-23T01:19:42 < Thorn> I'm currently reading about analog synths 2012-07-23T01:19:53 < emeb> Thorn: they're getting popular again. 2012-07-23T01:19:55 < Toneloc> Yes, for sure. I have alot of DSP to learn though- i find it quite difficult. 2012-07-23T01:20:04 < Toneloc> but very interesting. 2012-07-23T01:20:46 < Thorn> analog is more challenging than DSP IMO 2012-07-23T01:20:55 < emeb> I've been doing analog synth stuff for about 6 yrs now and we're selling a lot more now than when I started. 2012-07-23T01:21:32 < emeb> Funny thing though - most of the "analog" equipment out there is really digital MCUs under the hood. 2012-07-23T01:21:41 < Toneloc> Thorn- I find it easier to relate to analog stuff. Its more to my way of thinking. 2012-07-23T01:21:52 < emeb> Just using analog control voltages and audio. 2012-07-23T01:22:03 < Thorn> I envy you, you actually have a market for this kind of things 2012-07-23T01:22:32 < BrainDamage> I find hilarious that analogue delay lines use switched capacitor filters 2012-07-23T01:22:48 < emeb> BrainDamage: why? 2012-07-23T01:22:50 < Toneloc> Yeah, ever use an FPAA emeb ? 2012-07-23T01:23:01 < BrainDamage> because those are typically used by digital haters 2012-07-23T01:23:04 < emeb> BrainDamage: The technologies are are closely related. 2012-07-23T01:23:24 < emeb> Toneloc: No - never saw one that was worth anything. 2012-07-23T01:24:16 < Toneloc> emeb - We have them at college, but they havent seen the light of day in years 2012-07-23T01:24:29 < Toneloc> I never seen them, would like to try them out for fun 2012-07-23T01:24:33 < emeb> Toneloc: yeah - they're really a solution in search of a problem. 2012-07-23T01:24:43 < Toneloc> exactly 2012-07-23T01:25:13 < Toneloc> probably they are actually most useful in education 2012-07-23T01:25:15 < bcsllc-steve> Ahhh there is SDIO hardware modules built into mcus ? 2012-07-23T01:25:31 < emeb> bcsllc-steve: yep. F4 has it. 2012-07-23T01:25:43 < BrainDamage> you should check the amount of periferials in stm32 2012-07-23T01:25:44 < bcsllc-steve> i think i remember seeing that in the PIC32 i have 2012-07-23T01:25:51 < Toneloc> instead of bread boarding, you could design it, then try it out on the FPAA- would save breadboarding time 2012-07-23T01:25:52 < BrainDamage> you can get al ot of shit done in hw 2012-07-23T01:26:52 < Toneloc> I did read that some synth maker was using an FPAA 2012-07-23T01:26:59 < emeb> Toneloc: but FPAA has a lot of limitations - signal BW, crosstalk, functionality. Analog guys are used to controlling every detail and FPAA is too constrained. 2012-07-23T01:27:21 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-07-23T01:27:25 < emeb> Toneloc: Some have considered it, but I've not seen any shipping hardware with FPAA in it. 2012-07-23T01:29:34 < Toneloc> emeb- I just checked there- I think I mistaked a anadigim showcase design 2012-07-23T01:30:16 < bcsllc-steve> I will feel like a king when im able switch between using a MCHP mcu and stm 2012-07-23T01:30:20 < bcsllc-steve> or any other mcus 2012-07-23T01:30:47 < Toneloc> I agree, analog guys have full control to tweak and mod 2012-07-23T01:31:02 < bcsllc-steve> im not as swift as most so this will nmean a lot 2012-07-23T01:31:23 < BrainDamage> bcsllc-steve: you might want to either write, or use an asbtraction lib or os 2012-07-23T01:31:33 < BrainDamage> this will let you switch chip while keeping the same code 2012-07-23T01:31:37 < Toneloc> I guess that is why the FPAA never took off, PSOC is similar in ways though... 2012-07-23T01:31:40 < BrainDamage> I mean between pic and stm32 2012-07-23T01:31:42 < bcsllc-steve> hmm ok 2012-07-23T01:31:53 < BrainDamage> between stm32 themselves, they are pretty similar 2012-07-23T01:31:58 < BrainDamage> so amount of changes are tiny 2012-07-23T01:32:54 < bcsllc-steve> emeb, what companyt do you work for ? 2012-07-23T01:33:08 < emeb> Toneloc: Yeah - FPAA & PSOC are similar. I've used PSOC - it's OK, fairly inexpensive. 2012-07-23T01:33:14 < emeb> bcsllc-steve: I contract. 2012-07-23T01:33:20 < bcsllc-steve> awesome 2012-07-23T01:33:39 < bcsllc-steve> im trying to start a company making products 2012-07-23T01:33:49 < bcsllc-steve> well let me rephrase that 2012-07-23T01:33:53 < emeb> bcsllc-steve: Ambitious. 2012-07-23T01:33:58 -!- tech2077 [~tech2077@128.42.86.226] has joined ##stm32 2012-07-23T01:34:09 < emeb> I let someone else take that risk - I charge by the hour. :) 2012-07-23T01:34:12 < bcsllc-steve> one of my passions is pyrotechnics 2012-07-23T01:34:19 < bcsllc-steve> im a pyrotechnician 2012-07-23T01:34:33 < bcsllc-steve> and so im looking for ideas 2012-07-23T01:34:34 < emeb> bcsllc-steve: don't do what they did in San Diego. :P 2012-07-23T01:34:39 < bcsllc-steve> hehe 2012-07-23T01:34:45 < bcsllc-steve> i actually RE'ed that system they used 2012-07-23T01:34:52 < bcsllc-steve> me and leeee from ##electronics 2012-07-23T01:35:02 < BrainDamage> buiding a firing controller is not hard 2012-07-23T01:35:15 < BrainDamage> just a bunch of mosfets and a psu capable of large current pulls 2012-07-23T01:35:19 < bcsllc-steve> anyway, im developing solutions for the industry 2012-07-23T01:35:39 < bcsllc-steve> and hopefully one day find another interesting industry to design for 2012-07-23T01:35:54 < bcsllc-steve> BrainDamage, thats the very basics 2012-07-23T01:36:03 < bcsllc-steve> the best systems sync time code 2012-07-23T01:36:15 < BrainDamage> what do you mean sync time code? 2012-07-23T01:36:31 < bcsllc-steve> take time code signals 2012-07-23T01:36:36 < bcsllc-steve> and sync thier clocks 2012-07-23T01:36:40 < BrainDamage> that's not complicated at all 2012-07-23T01:36:43 < BrainDamage> it's just firmware 2012-07-23T01:36:47 < bcsllc-steve> right 2012-07-23T01:36:54 < emeb> and firmware is just typing! 2012-07-23T01:36:54 < BrainDamage> and stm32 mount RTC ;-) 2012-07-23T01:37:13 < bcsllc-steve> but its more complicated than " just a bunch of mosfets and a psu capable of large current pulls 2012-07-23T01:37:14 < bcsllc-steve> " 2012-07-23T01:37:48 < BrainDamage> but the hw is basically that 2012-07-23T01:37:53 < bcsllc-steve> yeah 2012-07-23T01:37:55 < bcsllc-steve> the firing circuits 2012-07-23T01:38:16 < bcsllc-steve> current flow is limited 2012-07-23T01:38:28 < bcsllc-steve> through the e-matches for testing 2012-07-23T01:39:36 < Toneloc> I had a good gigle @ >> that's not complicated at all 2012-07-23T01:39:36 < Toneloc> it's just firmware 2012-07-23T01:39:36 < Toneloc> right 2012-07-23T01:39:36 < Toneloc> and firmware is just typing! 2012-07-23T01:39:41 < bcsllc-steve> BrainDamage, what do you mean by "mount" 2012-07-23T01:39:55 < Toneloc> *giggle 2012-07-23T01:39:59 < BrainDamage> it's in the stm32 itself 2012-07-23T01:39:59 < bcsllc-steve> i know RTC is is real time clock 2012-07-23T01:40:06 < Toneloc> firmware is just typing ! :) 2012-07-23T01:40:07 < BrainDamage> all stm32 have an hw rtc circuit 2012-07-23T01:40:19 < bcsllc-steve> but why do you say "moutn" 2012-07-23T01:40:21 < bcsllc-steve> moutn 2012-07-23T01:40:42 < BrainDamage> because it's shorter than "include" 2012-07-23T01:40:46 < emeb> Toneloc: that's an old joke in my circle. Guy I used to work with actually had a manager say that to him. 2012-07-23T01:40:57 < BrainDamage> well, firmware is thinking too, and that's usually the part that goes wrong :p 2012-07-23T01:41:23 < Toneloc> emeb - I hope that manager wasn't serious! 2012-07-23T01:41:38 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-23T01:41:45 < emeb> Toneloc: hard to say. had a reputation for stupidity. 2012-07-23T01:41:48 < Toneloc> try getting the secretary/ touch typist to write firmware!:P 2012-07-23T01:42:36 < Toneloc> I dont understand, how can those guys get to be managers in a tech company-if they are not engineers?! 2012-07-23T01:42:53 < BrainDamage> well, to be fair 2012-07-23T01:42:57 < Toneloc> well, maybe he was mechanical or an analog guy. 2012-07-23T01:43:01 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-23T01:43:06 < BrainDamage> engineers typically suck in human relations and economy management 2012-07-23T01:43:19 < BrainDamage> the latter is typically by lack of formal instructions 2012-07-23T01:43:20 < BrainDamage> -s 2012-07-23T01:43:35 < BrainDamage> the first is from formal instruction :p 2012-07-23T01:43:46 < Toneloc> I would understand if he had not got 'papers' but had served his time on the bench. 2012-07-23T01:44:03 < emeb> I've been in a number of companies where engineering managers came from the sales/marketing groups. 2012-07-23T01:44:26 < Toneloc> emeb- that must be quite painful for the engineers? 2012-07-23T01:44:44 < Toneloc> wll said BrainDamage, well said :) 2012-07-23T01:44:51 < Toneloc> *well 2012-07-23T01:44:53 < bcsllc-steve> emeb, BrainDamage , I know with PIC24 (and PIC32??) one instruction cycle is two clock cycles, so a 32mhz clock will result in 16mips, how does ARM differ / compare to that ? 2012-07-23T01:44:55 < emeb> Depends - some are quite good. If they bother to understand what they're doing. Some folks can't do that, no matter what their background. 2012-07-23T01:45:26 -!- tech2077 [~tech2077@128.42.86.226] has quit [Ping timeout: 245 seconds] 2012-07-23T01:45:38 < BrainDamage> bcsllc-steve: approximately similar 2012-07-23T01:45:53 < Toneloc> Yeah, i hate the type who come over every 5 mins and ask you what you are doing now. 2012-07-23T01:46:07 < BrainDamage> I forgot to check the approx instruction size 2012-07-23T01:46:10 < bcsllc-steve> BrainDamage, so its really not faster ? 2012-07-23T01:46:13 < Toneloc> Our boss at work is a bit like that- impatient. 2012-07-23T01:46:13 < emeb> bcsllc-steve: Most of the Cortex-Mx instructions are 1 cycle. 2012-07-23T01:46:26 < BrainDamage> you also have higher clock 2012-07-23T01:46:33 < BrainDamage> and 32 bit wide operations 2012-07-23T01:46:37 < BrainDamage> so it is faster 2012-07-23T01:46:45 < bcsllc-steve> the one PIC32 I have is can run at 80mhz 2012-07-23T01:46:56 < BrainDamage> how much did it cost? 2012-07-23T01:47:03 < bcsllc-steve> sample 2012-07-23T01:47:04 < emeb> bcsllc-steve: STM32F4 runs 168MHz max 2012-07-23T01:47:22 < bcsllc-steve> emeb, yeah I noticed that 2012-07-23T01:47:26 < BrainDamage> F4 also have hw floating point 2012-07-23T01:47:36 < BrainDamage> and small vector operations 2012-07-23T01:47:43 < emeb> single-cycle floating pt at that... 2012-07-23T01:48:07 < BrainDamage> having 150MFlops is not to throw away 2012-07-23T01:48:38 < Toneloc> is stm the best intro into ARM ? I have got some LPC dev boards and Renesas dev board ( a very very nice one) 2012-07-23T01:49:02 < GargantuaSauce> my intro to arm was the gameboy advance and that was pretty great 2012-07-23T01:49:10 < bcsllc-steve> http://www.digikey.com/product-detail/en/PIC32MX795F512H-80V%2FPT/PIC32MX795F512H-80V%2FPT-ND/2712419 11.90 for 1 2012-07-23T01:49:39 < GargantuaSauce> but the f4 disco is so ridiculously good as a dev board i can't see myself switching to anything else in the near future 2012-07-23T01:49:48 < Toneloc> GargantuaSauce- ah, ok. You developed games or hacke dthem? 2012-07-23T01:49:49 < bcsllc-steve> BrainDamage, 11.90 2012-07-23T01:50:00 < Toneloc> *hacked 2012-07-23T01:50:02 < BrainDamage> you can buy a F4 for that cost, so yeah, stm are faster 2012-07-23T01:50:08 < GargantuaSauce> i made a shitty pong clone and then a shittier RTS and then moved on :P 2012-07-23T01:50:16 < BrainDamage> http://www.digikey.com/product-detail/en/STM32F407VET6/497-12075-ND/2793093 2012-07-23T01:50:28 < Toneloc> GargantuaSauce- ah okay, that is still cool. 2012-07-23T01:50:31 < BrainDamage> 10.9 and 168MHz 2012-07-23T01:50:53 < BrainDamage> GargantuaSauce: were you planning a spring port? 2012-07-23T01:51:28 < Toneloc> I think it is quite a shame that there is not just one ARM manufacturer and one compiler- would make the support levels great 2012-07-23T01:51:45 < Toneloc> ike you have for AVR, PIC etc. 2012-07-23T01:51:48 < GargantuaSauce> even I am not that much of a masochist bd 2012-07-23T01:51:54 < BrainDamage> I think it's ok for many manifacturers 2012-07-23T01:51:58 < emeb> Toneloc: Yeah - monopolies always result in better pricing and support. :) 2012-07-23T01:52:01 < BrainDamage> it'd take a single one to support gcc 2012-07-23T01:52:03 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2012-07-23T01:52:12 < BrainDamage> and everyone would benefit 2012-07-23T01:52:19 < BrainDamage> gcc or clang 2012-07-23T01:52:33 < Toneloc> emeb- hahah yeah, super-competitive:P 2012-07-23T01:54:45 -!- R0b0t1 [~dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-07-23T01:54:45 -!- R0b0t1 [~dev@64-136-219-55.dyn.everestkc.net] has quit [Changing host] 2012-07-23T01:54:45 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-23T01:54:46 -!- R0b0t1_ [~dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-07-23T01:55:04 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has quit [Read error: Connection reset by peer] 2012-07-23T01:55:20 -!- R0b0t1_ is now known as iR0b0t1 2012-07-23T01:55:26 -!- iR0b0t1 [~dev@64-136-219-55.dyn.everestkc.net] has quit [Changing host] 2012-07-23T01:55:26 -!- iR0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-23T01:58:02 < Toneloc> anyways, 23:57 here and I have work tomorrow 2012-07-23T01:58:16 < Toneloc> so, 'night gentlemen ! 2012-07-23T01:59:04 < Toneloc> emeb- thanks for your help, must talk to you again at some stage about your DAC board. 2012-07-23T01:59:39 < emeb> Toneloc: sure. Contact is on that page. 2012-07-23T02:00:08 < Toneloc> Yeah, I will bookmark it. Do you be in here often ? 2012-07-23T02:00:39 < emeb> Toneloc: usually lurking. 2012-07-23T02:01:08 < Toneloc> Ok, see you around then. 2012-07-23T02:01:55 -!- tech2077 [~tech2077@128.42.86.226] has joined ##stm32 2012-07-23T02:02:06 -!- Toneloc [~BlueBeep@109.76.19.101] has quit [] 2012-07-23T02:30:52 < bcsllc-steve> emeb, im reading the datasheet for the F0 chip thats onthe discovery board: http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/DM00039193.pdf 2012-07-23T02:31:07 < emeb> yeah? 2012-07-23T02:31:15 < bcsllc-steve> why doesnt it describe how the periphs work ? and thier registers, etc 2012-07-23T02:31:36 < emeb> You'll find that info in the longer stm32f0 reference manual. 2012-07-23T02:31:41 < bcsllc-steve> oh 2012-07-23T02:32:09 < emeb> the ds you're looking at now is specific to the stm32f051xxx parts. 2012-07-23T02:32:23 < emeb> they assume you'll get the overall info from the ref manual. 2012-07-23T02:34:29 < emeb> http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/REFERENCE_MANUAL/DM00031936.pdf 2012-07-23T02:37:25 < bcsllc-steve> ok cool, i also see the programming man 2012-07-23T02:38:09 < emeb> Yep - good for details on the Cortex CPU core. 2012-07-23T02:38:34 * bcsllc-steve clicks the print buton 2012-07-23T02:38:37 < emeb> And, lots of appnotes and library references hiding in various locations on the website. 2012-07-23T02:38:44 < BrainDamage> there's shitloads of infos actually 2012-07-23T02:38:45 < bcsllc-steve> LOL just kidding 2012-07-23T02:38:48 < bcsllc-steve> 742 pages 2012-07-23T02:39:00 < emeb> you can't search dead trees. 2012-07-23T02:39:12 < bcsllc-steve> yah I know 2012-07-23T02:40:12 < bcsllc-steve> you can search the document made possible by the oil that runs the generators powering the elctric grid which spews out C02 2012-07-23T02:40:27 < bcsllc-steve> hehe just kidding 2012-07-23T02:40:32 < BrainDamage> here they are gas powered 2012-07-23T02:41:18 < bcsllc-steve> ooo HDMI 2012-07-23T02:41:34 < bcsllc-steve> im really interested the boot pin 2012-07-23T02:41:45 < emeb> there's 2 2012-07-23T02:41:54 < bcsllc-steve> boot pins ? 2012-07-23T02:41:58 * emeb tried the boot pins the other day. 2012-07-23T02:42:09 < emeb> got USB DFU to enumerate. 2012-07-23T02:42:18 < bcsllc-steve> is there an app from ST to send the firmware ? 2012-07-23T02:42:24 < emeb> Should be. 2012-07-23T02:42:29 < emeb> I haven't looked though 2012-07-23T02:42:31 -!- ReggieUK [~ReggieUK@5aca5630.bb.sky.com] has quit [] 2012-07-23T02:42:37 < bcsllc-steve> i see its just through the UART 2012-07-23T02:43:03 < emeb> Depends on what family of parts - STM32F10x CL, F2 and F4 devices have USB. 2012-07-23T02:43:15 < BrainDamage> F0 lack usb 2012-07-23T02:43:35 < bcsllc-steve> emeb, have you worked with other ARMS beside STM ? 2012-07-23T02:43:54 < emeb> bcsllc-steve: Yeah - NXP, Atmel too. 2012-07-23T02:44:28 < emeb> (TI, Samsung, but those don't really count - higher end, w/ Linux...) 2012-07-23T02:44:40 < bcsllc-steve> does ARM experience with ST do any good with other ARM mcus ? 2012-07-23T02:44:46 < bcsllc-steve> or are they different ? 2012-07-23T02:44:52 < emeb> Debateable. 2012-07-23T02:45:17 < emeb> Most ARMs you program in C, so that's pretty generic. Peripherals are usually pretty different from one MFG to another. 2012-07-23T02:45:23 < BrainDamage> cortex-m chips are arm7 with a complete integer math alu 2012-07-23T02:45:42 < BrainDamage> but you typically don't care much about the core 2012-07-23T02:45:51 < BrainDamage> it's abstracted from the language 2012-07-23T02:45:52 < emeb> what he said. 2012-07-23T02:46:05 < emeb> I hardly ever look at assy. 2012-07-23T02:46:52 < bcsllc-steve> me niethere 2012-07-23T02:51:59 < bcsllc-steve> emeb, why did you switch to STM ? 2012-07-23T02:52:40 < emeb> bcsllc-steve: free discovery boards!!!! 2012-07-23T02:52:46 < bcsllc-steve> oh 2012-07-23T02:52:52 < emeb> not really 2012-07-23T02:52:59 < bcsllc-steve> heh 2012-07-23T02:53:07 < bcsllc-steve> which ones are free besides the F0 ? 2012-07-23T02:53:17 < BrainDamage> F4 used to be free in usa 2012-07-23T02:53:20 < BrainDamage> about 1 year ago 2012-07-23T02:53:21 < emeb> the parts are inexpensive, readily available, good feature set. 2012-07-23T02:53:32 < emeb> F0 boards are no longer free either. 2012-07-23T02:53:36 < bcsllc-steve> still 15 bucks isnt anything to bitch about 2012-07-23T02:53:42 < emeb> (checked this morning for a friend) 2012-07-23T02:55:19 < emeb> I did a product with them using the on-board dacs in the F100 series and it worked well, so all our new projects just tend to be STM based... 2012-07-23T03:03:34 < bcsllc-steve> eyah the onboard DAC seems cool 2012-07-23T03:03:45 < bcsllc-steve> im paying a guy to make a modem for me 2012-07-23T03:03:58 < bcsllc-steve> and he is using some external mhcp dac 2012-07-23T03:04:11 < emeb> which MCU? 2012-07-23T03:04:22 < bcsllc-steve> PIC18 2012-07-23T03:04:32 < emeb> Ah. 2012-07-23T03:04:50 < bcsllc-steve> just a simple modem thoyught 2012-07-23T03:04:55 < bcsllc-steve> the common FSK 2012-07-23T03:05:00 < BrainDamage> why not an ic then? 2012-07-23T03:05:02 < bcsllc-steve> 12/22 2012-07-23T03:05:11 < emeb> yep 2012-07-23T03:05:14 < bcsllc-steve> 1200hz/2200hz 2012-07-23T03:05:20 < bcsllc-steve> i left it up to him 2012-07-23T03:05:25 < bcsllc-steve> i just wanted it to work 2012-07-23T03:05:43 < emeb> who's writing the firmware? 2012-07-23T03:05:46 < bcsllc-steve> him 2012-07-23T03:05:51 < bcsllc-steve> local guy i found on guru.com 2012-07-23T03:06:09 < emeb> Should be interesting. 2012-07-23T03:06:10 < bcsllc-steve> just a comparator, mcu, and dac 2012-07-23T03:06:29 < bcsllc-steve> decode the sine wave FSK 2012-07-23T03:06:32 < bcsllc-steve> into a bit stream 2012-07-23T03:06:36 < emeb> there was an article in CCI a few years back on an FSK modem in PIC. 2012-07-23T03:06:43 < bcsllc-steve> yeah 2012-07-23T03:06:58 < emeb> don't recall if they published the source code though... 2012-07-23T03:06:59 < bcsllc-steve> I tried to find a solution my self but i was having a hard time understanding 2012-07-23T03:07:48 < bcsllc-steve> decode the incoming fsk, then i can toggle a pin to switch between modes 2012-07-23T03:07:48 < emeb> I'm currently working on an FSK modem in FPGA. Much more stringent requirements though... 2012-07-23T03:07:52 < bcsllc-steve> nice 2012-07-23T03:08:04 < bcsllc-steve> what freqs ? 2012-07-23T03:08:29 -!- tech2077 [~tech2077@128.42.86.226] has quit [Ping timeout: 260 seconds] 2012-07-23T03:08:32 < emeb> depends - 3 baud rates, different freqs for each. 2012-07-23T03:08:54 < bcsllc-steve> i had leeee from ##electronics write use two 8 pin PICS to encode and decode 180khz FSK 2012-07-23T03:08:57 < emeb> Has to work over the air, so need to have optimal noise filtering. 2012-07-23T03:09:02 < bcsllc-steve> oh 2012-07-23T03:09:34 < bcsllc-steve> not for AlQueda huh ? 2012-07-23T03:09:42 < bcsllc-steve> ok good 2012-07-23T03:10:39 < bcsllc-steve> on page 37 of that ref man 2012-07-23T03:11:04 < bcsllc-steve> it says the Addressable mem space is divideed into 8 blocks, 512mb each 2012-07-23T03:11:15 < bcsllc-steve> is that done in the background ? 2012-07-23T03:11:56 -!- tech2077 [~tech2077@128.42.86.226] has joined ##stm32 2012-07-23T03:12:20 -!- tech2077 [~tech2077@128.42.86.226] has quit [Read error: Connection reset by peer] 2012-07-23T03:13:13 < emeb> Not sure what you mean. 2012-07-23T03:13:54 < bcsllc-steve> do I have to be concered with that divded chuncks of memory when writing firmware ? 2012-07-23T03:14:41 < bcsllc-steve> i remember having a bunch of hurdles to deal with when one variable was longer than 256 bytes a loooong time ago with PIC16 2012-07-23T03:16:32 < bcsllc-steve> "The addressable memory space is divided into 8 main blocks, each of 512 MB." 2012-07-23T03:16:42 < bcsllc-steve> "Program memory, data memory, registers and I/O ports are organized within the same linear 2012-07-23T03:16:42 < bcsllc-steve> 4-Gbyte address space." 2012-07-23T03:17:48 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-23T03:17:54 < BrainDamage> are you concerned about memory addressing with 512 MB blocks? 2012-07-23T03:18:12 < emeb> Doubt that's an issue - max flash so far is 1MB in the F4 parts. 2012-07-23T03:18:25 < BrainDamage> exactly, even with external memory, it's still a lot 2012-07-23T03:18:37 < BrainDamage> and this is directly addressing 2012-07-23T03:19:00 < bcsllc-steve> oh ok 2012-07-23T03:19:06 < bcsllc-steve> good point emeb 2012-07-23T03:19:56 < bcsllc-steve> the embedded boot loader is sexy 2012-07-23T03:20:08 < bcsllc-steve> The embedded boot loader is located in the System memory, programmed by ST during 2012-07-23T03:20:08 < bcsllc-steve> production 2012-07-23T03:20:13 <+dekar> arm will probably go 64bit in a few years anyway 2012-07-23T03:25:06 < emeb> dekar: maybe at the high end (smartphone cores, etc). It'll take a while to filter down to embedded apps though. 2012-07-23T03:25:39 < emeb> sweet - custom HID example is blinking lights on my board. 2012-07-23T03:26:16 < emeb> PC host sends command to turn LEDs on/off to STM32f105 -> LEDs blink. 2012-07-23T03:26:16 < BrainDamage> mmm, maybe I should make an arduino blinker 2012-07-23T03:26:28 < BrainDamage> as in 100kV psu triggered by a stm 2012-07-23T03:26:38 < BrainDamage> which makes a whole arduino board to blink 2012-07-23T03:26:45 < emeb> and then disappear... 2012-07-23T03:26:50 < BrainDamage> details 2012-07-23T03:27:44 < bcsllc-steve> is there a difference bewtween a smartphone and an embedded app ? 2012-07-23T03:27:56 < bcsllc-steve> i see them as the same 2012-07-23T03:27:58 < BrainDamage> yes, smartphones use high end cpu 2012-07-23T03:29:10 < BrainDamage> intel tried to get atom based phones/tablets 2012-07-23T03:29:31 < emeb> again... 2012-07-23T03:29:38 < emeb> still... 2012-07-23T03:29:54 <+dekar> emeb, embedded is 32bit already, for nor apparent reason 2012-07-23T03:29:54 < emeb> nice to see that they're persistent I guess. 2012-07-23T03:30:07 < emeb> dekar: yes it is. 2012-07-23T03:30:31 <+dekar> so I don't see a problem switching to 64bit for no reason as well :) 2012-07-23T03:30:40 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-23T03:31:00 < emeb> dekar: OK - when the parts are cheap and low-power then the rest of the embedded world will follow you. 2012-07-23T03:31:27 < emeb> Until then, have fun out there on your own. :) 2012-07-23T03:31:37 <+dekar> I mean look at those weird atom CPUs, they are 64bit but can only address 32bit 2012-07-23T03:31:47 <+dekar> if it was for cost then they could do the same 2012-07-23T03:33:11 <+dekar> so I would assume the cortex-m series will make the switch to 64bit not too long after the others 2012-07-23T03:35:36 < zippe> dekar: 32-bit embedded systems make a lot of sense 2012-07-23T03:35:47 < zippe> The defining characteristic for "embedded" these days is memory footprint 2012-07-23T03:35:58 < zippe> Having a base data type that can index all of memory is a desirable thing 2012-07-23T03:36:31 < zippe> There isn't likely to be a v8m architecture anytime soon 2012-07-23T03:37:22 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 272 seconds] 2012-07-23T03:38:01 <+dekar> zippe, cortex-m4 has opcodes operating on 64bits already 2012-07-23T03:38:48 < bcsllc-steve> stm ref man isnt too bad 2012-07-23T03:39:17 < emeb> bcsllc-steve: I'd say it's as good, if not better than MCHP docs. 2012-07-23T03:40:07 < bcsllc-steve> im slow so if i can understand it, any one can 2012-07-23T03:40:41 < szczys> I just cannot sort out this problem with arrays... 2012-07-23T03:40:48 < bcsllc-steve> i dont have the skill it takes to read cryptic datasheets 2012-07-23T03:41:17 < emeb> szczys: trying to sort an array? 2012-07-23T03:41:27 < szczys> no 2012-07-23T03:41:39 < szczys> I've got an array... basically raw image datat for a 4-color image 2012-07-23T03:41:50 < szczys> I'm trying to iterate the array 2012-07-23T03:41:55 < szczys> and display the pixels on an LCD 2012-07-23T03:42:05 < szczys> but I'm having very weird problems 2012-07-23T03:42:13 < szczys> mostly I set up the 25x25 pixel area 2012-07-23T03:42:20 < szczys> but it only writes like 25x5 pixels of it 2012-07-23T03:42:32 < szczys> if I use static colors for each pixel 2012-07-23T03:42:38 < szczys> instead of looking up within the arry 2012-07-23T03:42:41 < szczys> everything works fine 2012-07-23T03:42:53 < szczys> so I think it must be how I'm accessing the array 2012-07-23T03:43:20 < bcsllc-steve> debugger ? 2012-07-23T03:43:36 < emeb> code runs OK after completing the array indexing or does it end up in a memory fault handler? 2012-07-23T03:43:39 < BrainDamage> bcsllc-steve: stlink acts as debug bridge 2012-07-23T03:43:39 < szczys> http://pastebin.com/wJag05s9 2012-07-23T03:43:43 < szczys> I used the debugger 2012-07-23T03:44:02 < szczys> emeb: how would I know? 2012-07-23T03:44:16 < szczys> I'm looping the code 2012-07-23T03:44:28 < emeb> szczys: make it do something after completing - blink a light or something. 2012-07-23T03:44:29 < szczys> will gdb tell me if it hits a memory fault? 2012-07-23T03:44:52 < emeb> If the light doesn't blink, check with the debugger where the program counter ended up. 2012-07-23T03:45:09 < szczys> I'll give it a shot... thanks! 2012-07-23T03:45:44 < emeb> good luck 2012-07-23T03:46:25 * emeb makes heavy use of blinky lights in debugging... 2012-07-23T03:46:34 < szczys> emeb: no dice... it gets through the code fine 2012-07-23T03:46:40 < szczys> but doesn't display as expected 2012-07-23T03:46:42 < bcsllc-steve> geez.. GPIO has four config registers, two data registers, a set/unset register... this register, that register, 2012-07-23T03:47:02 < BrainDamage> the GPIO is very flexibile 2012-07-23T03:47:24 < bcsllc-steve> speed selection 2012-07-23T03:47:27 < BrainDamage> it has open drain modes with pullup and down 2012-07-23T03:47:37 < BrainDamage> high impedance, etc 2012-07-23T03:47:55 < emeb> Ugh - 3 dimensional array. 2012-07-23T03:48:09 < bcsllc-steve> does *every* GPIO pin have pulldown and pullup ? 2012-07-23T03:48:38 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-23T03:49:25 < bcsllc-steve> looks like so 2012-07-23T03:49:33 < bcsllc-steve> oh 2012-07-23T03:49:35 < bcsllc-steve> mayben ot 2012-07-23T03:49:41 < bcsllc-steve> Subject to the specific hardware characteristics of each I/O port listed in the datasheet 2012-07-23T03:51:27 < szczys> emeb: I moved to a one-dimensional array and it didn't simplify things 2012-07-23T03:51:35 < szczys> or at least didn't fix things 2012-07-23T03:52:05 < emeb> szczys: yeah - don't suspect that's an issue. I just rarely use arrays more than 1D. 2012-07-23T03:52:23 < emeb> szczys: what do row_counter col_counter do? 2012-07-23T03:53:00 < szczys> they're for scaling 2012-07-23T03:53:03 < emeb> just zero-order hold upsample I guess. 2012-07-23T03:53:12 < szczys> so I can draw a pixel larger 2012-07-23T03:53:18 < emeb> yep - got it. 2012-07-23T03:53:20 < szczys> I've tried to simplify everything to see if i could fix it 2012-07-23T03:53:22 < szczys> http://pastebin.com/bWYWCxab 2012-07-23T03:54:04 < emeb> tried single-stepping? 2012-07-23T03:54:46 < szczys> not single stepping 2012-07-23T03:54:52 < szczys> but I've gone through each write cycle 2012-07-23T03:54:56 < szczys> and checked the value of the ODR 2012-07-23T03:55:01 < szczys> and it is what I think it should be 2012-07-23T03:55:10 < szczys> I tried using -O0 2012-07-23T03:55:21 < szczys> to make sure it wasn't an optimization issue 2012-07-23T03:55:46 < szczys> This probably isn't a cross-talk or capacitance problem on the LCD lines, is it? 2012-07-23T03:55:50 < szczys> the circuit is breadboarded 2012-07-23T03:55:58 < szczys> but I can get other moving patterns to work 2012-07-23T03:56:12 < szczys> which is why I'm focusing on how the array is being read 2012-07-23T03:57:17 < emeb> Have you tried computed data? Checkerboards / gradients based on the i/j indices? 2012-07-23T03:57:33 < szczys> yes 2012-07-23T03:57:36 < emeb> Any predictable pattern that you can look at and know what to expect... 2012-07-23T03:57:37 < szczys> I'm able to draw gradients 2012-07-23T03:57:45 < szczys> at least on the whole screen 2012-07-23T03:57:56 < szczys> I'll give it a quick shot 2012-07-23T03:58:00 < emeb> but with this routine in particular... 2012-07-23T03:58:10 < szczys> would you do some xor magic? 2012-07-23T03:58:17 < szczys> 25x25 area 2012-07-23T03:58:30 < emeb> Anything - as long as you know what it should look like. 2012-07-23T03:59:30 < szczys> well 2012-07-23T03:59:32 < emeb> Any chance that part of your array is being corrupted - data in it overwritten by something else? 2012-07-23T03:59:39 < szczys> do you see the commended out index lines? 2012-07-23T03:59:56 < szczys> that works as expected 2012-07-23T03:59:59 < szczys> fills the whole area 2012-07-23T04:00:06 < emeb> eg - DMA buffer - I've had problems with that in the past. 2012-07-23T04:00:08 < szczys> and I have four distinct changing patterns for each of the frames 2012-07-23T04:00:16 < szczys> I don't know what could be overwriting it 2012-07-23T04:00:21 < szczys> ist's declared const 2012-07-23T04:00:28 < szczys> so that should be in Flash memory, right? 2012-07-23T04:00:41 < bcsllc-steve> szczys, nothing to do with your problem, but what speed is the chip running at ? and which LCD ? 2012-07-23T04:01:00 < szczys> arm is running at 48 MHz 2012-07-23T04:01:09 < szczys> the LCD is an ssd1289 compatible driver chip 2012-07-23T04:01:21 < emeb> Should be, but I've had data corrupted while it was being written to flash by the the programmer stub. 2012-07-23T04:01:38 < szczys> I've set break point at main 2012-07-23T04:01:46 < szczys> and then examined the arrays through gdb 2012-07-23T04:01:48 < szczys> and it seems okay 2012-07-23T04:02:17 < szczys> GDB truncates the output so I didn't go through each part (it reports one 0x00 and then mentions that it repeats X number of times, etc.) 2012-07-23T04:03:09 < emeb> Sounds like a tough one. 2012-07-23T04:04:21 < szczys> do you think I'm running too fast for the LCD? 2012-07-23T04:04:37 < szczys> I've got all my output SPEEDR set to 0x11 2012-07-23T04:04:51 < szczys> so that shouldn't be an issue 2012-07-23T04:05:20 < emeb> If you can send constant or patterned data that shouldn't be an issue. 2012-07-23T04:06:40 < szczys> now I'm having patterned data trouble 2012-07-23T04:06:50 < emeb> aha... 2012-07-23T04:06:55 < szczys> I set up a double for loop 25 by 25 2012-07-23T04:07:10 < szczys> and used the variable from the outter loop to do (i%2) test 2012-07-23T04:07:44 < szczys> and the screen is writing outside of the area i have defined 2012-07-23T04:07:46 < szczys> weird 2012-07-23T04:08:13 < emeb> Hmmm - maybe you are getting corrupted data transfers to the ssd1289 2012-07-23T04:08:55 < emeb> wrong SPI phase, noisy clock, weak CS, etc. 2012-07-23T04:10:27 < szczys> I'm using 16-bit parallel for data 2012-07-23T04:10:47 < emeb> Ooh - that makes signal integrity even more critical. 2012-07-23T04:11:25 < szczys> I'm using the PORTC register which has two LEDs on the it (discovery board) 2012-07-23T04:11:28 < szczys> think that matters? 2012-07-23T04:12:21 < emeb> The LEDs have ballast resistors so those lines should be able to swing full range. 2012-07-23T04:12:41 < emeb> They may be slower though due to the load. 2012-07-23T04:15:27 < szczys> this demo board doesn't have a single 16-bit I/O port without some on-board thing connected to at least one of the pins 2012-07-23T04:15:56 < bcsllc-steve> you alt functions ? 2012-07-23T04:16:01 < bcsllc-steve> you mean * 2012-07-23T04:16:31 < emeb> szczys: F4 Discovery? 2012-07-23T04:16:39 < szczys> f0 discovery 2012-07-23T04:16:46 < emeb> Ah. 2012-07-23T04:16:54 < szczys> LEDs on Port C 2012-07-23T04:17:00 < szczys> Buttons on Port A 2012-07-23T04:26:07 < bcsllc-steve> emeb, any GPIO can be an INT pin ? 2012-07-23T04:26:32 < emeb> bcsllc-steve: pretty much - they can all be routed to the EXTI interrupt mux. 2012-07-23T04:26:55 < emeb> doesn't mean you get a separate IRQ for each pin though... 2012-07-23T04:29:13 < bcsllc-steve> so just like with PIC, I access each register through a #define right ? 2012-07-23T04:29:23 < bcsllc-steve> or a struct 2012-07-23T04:29:43 < emeb> Yep. 2012-07-23T04:30:03 < bcsllc-steve> ok i like the GPIO registers, nothing forgein there at all 2012-07-23T04:30:54 < bcsllc-steve> i feel a little more comfortable 2012-07-23T04:31:24 < bcsllc-steve> damn im luck to have a wife that can cook 2012-07-23T04:31:43 < bcsllc-steve> "you marry your mother" is soooo true 2012-07-23T04:34:57 < bcsllc-steve> ahh so the AFRL and ARFH resiters are just like the remappable function/pin deal with PIC ? 2012-07-23T04:35:20 < cjbaird> PaulFertser: any good new about jtag? 2012-07-23T04:38:35 < emeb> whats wrong with jtag? 2012-07-23T04:39:36 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-23T04:41:19 < cjbaird> othingnya otay aysay hileway hetya astechnicanray eenieway isay inay hannelcay :P :) 2012-07-23T04:43:07 < cjbaird> s/astechnicaray/ackadayhay/ 2012-07-23T04:48:09 < dongs> is that gnu/lingo 2012-07-23T04:49:16 < cjbaird> gnuspeak 2012-07-23T04:50:19 < cjbaird> a programmer's duckspeak 2012-07-23T04:57:55 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-23T05:01:19 < bcsllc-steve> so there are only three ext ints with STM32F0 ? 2012-07-23T05:02:52 < bcsllc-steve> on no, thats 16 2012-07-23T05:09:55 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-23T05:12:58 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-23T05:13:03 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-23T05:42:12 < dongs> https://www.youtube.com/watch?v=T-JEvQFFm20 hahaha 2012-07-23T05:48:50 < cjbaird> Reason #6 .. because only Furries use Windows servers. 2012-07-23T05:49:43 < dongs> i must be a furry 2012-07-23T05:49:49 < dongs> i run like 4 winserver machiens. 2012-07-23T05:50:06 < dongs> one of which is running slackware in a VM, but thats besides the point. 2012-07-23T05:52:50 < bcsllc-steve> Furries ? 2012-07-23T05:53:03 < karlp> this channel isn't always what it says on the label.... 2012-07-23T05:53:13 < karlp> consider yourself warned :) 2012-07-23T05:54:06 < dongs> ahhaah. 2012-07-23T05:54:16 < bcsllc-steve> i thought Slackware and Ubuntu were both linux 2012-07-23T05:54:22 < bcsllc-steve> so its the same kernerl 2012-07-23T05:55:32 < dongs> ya but only retards use ubunto 2012-07-23T05:55:39 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-23T05:55:51 < bcsllc-steve> I work in the real word, i use Windows 2012-07-23T05:56:07 < dongs> fully agreed. 2012-07-23T05:57:07 < bcsllc-steve> statistics dont lie 2012-07-23T05:57:12 < dongs> bcsllc-steve: whats your stm32 development environment on windows. 2012-07-23T05:57:21 < bcsllc-steve> dont know yet 2012-07-23T05:57:25 < bcsllc-steve> just getting started 2012-07-23T05:57:28 < dongs> aha. 2012-07-23T05:57:44 < bcsllc-steve> took a look at the stm32f0 ref manual for the first time tongith 2012-07-23T05:57:55 < bcsllc-steve> im open for suggestions though 2012-07-23T05:58:02 < bcsllc-steve> Im a mchp guy 2012-07-23T05:58:06 < bcsllc-steve> and love MPLAB 2012-07-23T05:58:07 < dongs> i use crossworks and keil. though there's some freetard stuff one could hack up w/eclipse+etc 2012-07-23T05:58:47 < bcsllc-steve> as long as its in my budget, im up for commerical, ready to rock, soltuions 2012-07-23T05:58:57 < bcsllc-steve> espially when I dont know what im doing 2012-07-23T05:58:58 < dongs> crossworks is $150 for personal use. 2012-07-23T05:59:07 < bcsllc-steve> thats not bad 2012-07-23T05:59:13 < dongs> indeed, considering it works very well 2012-07-23T05:59:27 < dongs> with proper integrated debugging etc. 2012-07-23T05:59:27 < bcsllc-steve> is there code size limits ? 2012-07-23T05:59:30 < dongs> no 2012-07-23T05:59:33 < dongs> not at all. 2012-07-23T05:59:39 < bcsllc-steve> support STLINK ? 2012-07-23T05:59:42 < dongs> yep. 2012-07-23T05:59:44 < dongs> stlink and /v2 2012-07-23T05:59:59 < dongs> i've used it directly w/stlink on discovery f4,vl boards. 2012-07-23T06:00:06 < bcsllc-steve> it wont be exactly for personal use 2012-07-23T06:00:17 < bcsllc-steve> but close enough 2012-07-23T06:00:50 < bcsllc-steve> i just installed Keil as well 2012-07-23T06:01:08 < bcsllc-steve> do you know how much the non-free versions costs ? 2012-07-23T06:01:11 < bcsllc-steve> of Keil 2012-07-23T06:01:17 < dongs> freetard keil has 32k limit. 4995 for commercial. 2012-07-23T06:01:37 < bcsllc-steve> $5k ? for the standard ? 2012-07-23T06:01:45 < bcsllc-steve> or is that the pro version ? 2012-07-23T06:01:48 < dongs> there's no grade difference as far as I know 2012-07-23T06:01:54 < dongs> MDK-ARM 2012-07-23T06:02:10 < bcsllc-steve> yeah but there are a few different versions 2012-07-23T06:02:17 < bcsllc-steve> lite, basic, standard, pro, etc 2012-07-23T06:02:22 < dongs> oh hmm yeah looks like it 2012-07-23T06:02:25 < dongs> http://www.digikey.com/product-detail/en/MDK-ARM-B/MDK-ARM-B-ND/2138842 2012-07-23T06:02:42 < cjbaird> JuSt InStAlL tHe CrAcK! .. that's what you windows fags do, rite? 2012-07-23T06:02:43 < bcsllc-steve> wow that is basic ! 2012-07-23T06:02:52 < dongs> I was thinking http://www.digikey.com/product-detail/en/MDK-ARM/MDK-ARM-ND/1306049 which is the 5k one. 2012-07-23T06:03:07 < bcsllc-steve> cjbaird, there are plenty of pirated apps for linux too ! 2012-07-23T06:03:18 < dongs> there are apps worth pirating on lunix?? 2012-07-23T06:03:25 < bcsllc-steve> yeap 2012-07-23T06:03:29 < dongs> news to me 2012-07-23T06:03:32 < bcsllc-steve> commerical real world apps 2012-07-23T06:03:36 < bcsllc-steve> the ones adults use 2012-07-23T06:03:46 < dongs> i thought the only lunix commercial app was liek 2012-07-23T06:03:56 < dongs> tux racer pro 2012-07-23T06:04:00 < bcsllc-steve> heh 2012-07-23T06:04:20 < bcsllc-steve> no, there are more, not everyone works for free 2012-07-23T06:05:30 < cjbaird> ..and you're on irc.freenode.net exactly why? 2012-07-23T06:06:28 < cjbaird> "..but but all the commercially-orientated stm32/arm forums suck ass.. I'll go get my circlejerking from the freetard guise instead!" 2012-07-23T06:07:24 < bcsllc-steve> cjbaird, its past your bed time 2012-07-23T06:10:01 < bcsllc-steve> where are some commerically orientated stm32 forums ? 2012-07-23T06:10:09 < dongs> i think e2e.st.com 2012-07-23T06:10:15 < dongs> with their fucktarded frontpage-based foruming system 2012-07-23T06:10:54 < bcsllc-steve> Firefox can't find the server at e2e.st.com. 2012-07-23T06:11:04 < bcsllc-steve> Check the address for typing errors such as 2012-07-23T06:11:04 < bcsllc-steve> ww.example.com instead of 2012-07-23T06:11:04 < bcsllc-steve> www.example.com 2012-07-23T06:11:33 < bcsllc-steve> https://my.st.com/public/STe2ecommunities/e2esupport/default.aspx 2012-07-23T06:11:50 < dongs> yea that shit 2012-07-23T06:13:39 < dongs> with gems like these: 2012-07-23T06:13:40 < dongs> I have found that these STM Chips are Very SENSITIVE to Voltages. 2012-07-23T06:13:40 < dongs> I accidentally tied the USB 5V source to the VDD Bus thinking that it could also Power the Chip - accidentally for a few Seconds. Now the STM32 Chip and Board are USELESS. 2012-07-23T06:13:43 < dongs> Do NOT use ANY Voltage HIGHER than 3.5V on ANY Pin to the STM32 Micros -or the Chip becomes ABSOLUTELY USELESS. Flash Programs will Not Execute -and the Programmer will Not recognize the STM Chip anymore. 2012-07-23T06:14:25 < dongs> The Manuals are NOT Explicit enough - STM states that the Stm32f405-7 chips are PIN COMPATIBLE with the Stm32f103 Micros - which is NOT CORRECT. 2012-07-23T06:14:28 < dongs> hahaha. 2012-07-23T06:16:31 < bcsllc-steve> i remember seeing that some pins are 5v tolerant ? 2012-07-23T06:16:40 < bcsllc-steve> or was that a pic32 datasheet i was reading 2012-07-23T06:16:40 < dongs> on F4, i think all I/O is 2012-07-23T06:16:47 < dongs> on F1, about half 2012-07-23T06:16:55 < bcsllc-steve> Im downloading the corssworks demo now 2012-07-23T06:17:16 < bcsllc-steve> for $750, I can upgrade ? Upgrade to what ? Newer verions ? 2012-07-23T06:17:29 < dongs> commercial cw license is 1.5k 2012-07-23T06:18:09 < cjbaird> I have a rather amusing Windows vs. Linux 'real world' comparison anecdote, but unfortunately it involves a past employer in the Gambling industry, with nasty nasty NDA agreements (..and this channel is publically logged..) :/ .. "Sucks to be a CompSci Ph.D in a Windows shop.." 2012-07-23T06:18:50 < dongs> hmm, im not sure what 750 means. 2012-07-23T06:19:00 < dongs> that is probably something liek 2.x -> 3.x upgrade for commercial version 2012-07-23T06:19:17 < dongs> im not sure what upgrades apply to personal license. 2012-07-23T06:20:37 < bcsllc-steve> CompSci Phd is the key word 2012-07-23T06:20:58 < bcsllc-steve> Present the Law firm or CPA firm a linux solution 2012-07-23T06:21:39 < bcsllc-steve> when he has his firm using a Windows Server w/ Terminal Services, Exchange, etc, etc,etc, 2012-07-23T06:22:08 < bcsllc-steve> thats the real world 2012-07-23T06:22:26 < bcsllc-steve> not full of computer and EE people 2012-07-23T06:23:03 < cjbaird> You have a company that relies on formal correctness proofs. Should you hire the Ph.D who did that shit for 15 years for IBM, or a schoolkid with Windoze skills! Think fast! 2012-07-23T06:23:42 < bcsllc-steve> im not arguing with you 2012-07-23T06:24:40 < bcsllc-steve> youre giving two complete opposite ends of the spectrum as options 2012-07-23T06:24:50 < bcsllc-steve> when there are plenty of others in between 2012-07-23T06:25:00 < bcsllc-steve> not the expensive Ph.D 2012-07-23T06:25:03 < bcsllc-steve> not the shoolkid 2012-07-23T06:25:52 < cjbaird> At the end of the day, the company went under... 2012-07-23T06:27:00 < dongs> because of using windows? riight. 2012-07-23T06:27:18 < bcsllc-steve> Crossworks 2.2 has been installed 2012-07-23T06:27:35 < bcsllc-steve> there are enviroments for linux 2012-07-23T06:27:39 < bcsllc-steve> where it works well 2012-07-23T06:27:43 < cjbaird> because it didn't think paying for training was Worth The Money, mostly. 2012-07-23T06:27:52 < bcsllc-steve> for everywhere there is Windows 2012-07-23T06:28:06 < bcsllc-steve> *else 2012-07-23T06:28:13 < cjbaird> (paying for the people who already had the training, or skilling-up the staff already there.) 2012-07-23T06:30:36 < cjbaird> imho, the grounds that Linux made in the 1995-2005 period here in AU was from the push to show that commercial Linux contractors were actually skilled, beyond the boilerplate certifications. 2012-07-23T06:31:41 < bcsllc-steve> the pins at the top on the discovery boards need to be longer 2012-07-23T06:32:02 < bcsllc-steve> so female headers can be plugged in 2012-07-23T06:32:14 < bcsllc-steve> instead of turning the boad over 2012-07-23T06:32:35 < cjbaird> Someone's come from the Arduino world... ;) 2012-07-23T06:33:11 < bcsllc-steve> I have never touched an Arduino ! 2012-07-23T06:33:23 < bcsllc-steve> dont know even know how to use one 2012-07-23T06:33:36 < cjbaird> hide your bonar, dongs. 2012-07-23T06:34:10 < bcsllc-steve> im from the world of being self employeed and making comemerical products, BITCH ! 2012-07-23T06:34:22 < bcsllc-steve> commercial 2012-07-23T06:34:50 < bcsllc-steve> the point of the pins at the top are so they can accessed 2012-07-23T06:35:01 < bcsllc-steve> well make them fullly accessiable 2012-07-23T06:38:30 < cjbaird> I use IC test hooks if it's a problem for me.. 2012-07-23T06:40:36 < bcsllc-steve> much eaiser to plug in a female header with wire to LCD or another break out board 2012-07-23T06:40:49 < bcsllc-steve> i soldered mine onto verobard 2012-07-23T06:40:59 < bcsllc-steve> with male header pins along side of time 2012-07-23T06:41:01 < bcsllc-steve> top 2012-07-23T06:41:02 < bcsllc-steve> on top 2012-07-23T06:41:33 < PaulFertser> cjbaird: will bring the boards to my job today, there i'll have all the needed equipment. 2012-07-23T06:41:53 < PaulFertser> cjbaird: btw, this night another driver was posted that uses sysfs gpio interface. 2012-07-23T06:42:23 < dongs> enjoy bitbanging jtag at 10khz 2012-07-23T06:42:25 < PaulFertser> cjbaird: it might work too (but you'll need to unload/unbind the in-kernel spi driver first). 2012-07-23T06:42:45 < cjbaird> PF: check. 2012-07-23T06:44:24 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-23T06:47:41 < bcsllc-steve> so the 16 EXTI on the STM32 is way more than the pic 2012-07-23T06:47:45 < bcsllc-steve> well 2012-07-23T06:47:53 < bcsllc-steve> the PIC does have the CN pins 2012-07-23T06:48:09 < dongs> exti doesnt really have much use. 2012-07-23T06:48:13 < dongs> there are better ways to do things. 2012-07-23T06:48:15 < bcsllc-steve> no ? 2012-07-23T06:48:24 < bcsllc-steve> please explain 2012-07-23T06:48:36 < dongs> well, it depends what you want to do really 2012-07-23T06:48:47 < dongs> tehre are things liek input capture etc. 2012-07-23T06:48:56 < bcsllc-steve> say you have a bank of buttons 2012-07-23T06:49:03 < dongs> right, thats what its for 2012-07-23T06:49:15 < bcsllc-steve> instead of wasting time scannign the inputs 2012-07-23T06:49:16 < dongs> but there's only 16 (or so?) channels, though you can assign htem to anyport 2012-07-23T06:49:23 < dongs> i.e. exti0 will be pa0/pb0/pc0 etc. 2012-07-23T06:49:33 < bcsllc-steve> yeah thats what i see 2012-07-23T06:50:08 < bcsllc-steve> i like the MHCP port expandeers 2012-07-23T06:50:32 < bcsllc-steve> they can send an INT pin high or low 2012-07-23T06:50:40 < bcsllc-steve> when one of inputs change 2012-07-23T06:50:57 < bcsllc-steve> mchp 2012-07-23T06:53:30 < bcsllc-steve> UART noise detection ? 2012-07-23T06:53:31 < bcsllc-steve> nice 2012-07-23T06:58:53 < bcsllc-steve> is there a multi byte buffer for the uarrt ? 2012-07-23T06:59:00 < bcsllc-steve> PIC has a 4 byte buffer 2012-07-23T06:59:08 < bcsllc-steve> Recv buffer 2012-07-23T06:59:17 < dongs> um,. i have no idea about buffer, but i just use DMA 2012-07-23T06:59:30 < bcsllc-steve> how exactly does that work ? 2012-07-23T06:59:38 < dongs> which puts the stuff in memory automatically from hardware on receive 2012-07-23T06:59:41 < dongs> so you can have unlimited buffer. 2012-07-23T06:59:46 < bcsllc-steve> coooooool 2012-07-23T06:59:49 < dongs> and you get interrupt when its full/halffull/whaetver 2012-07-23T07:00:29 < bcsllc-steve> mabybe the pic32 does the same 2012-07-23T07:00:32 < bcsllc-steve> it has dma 2012-07-23T07:00:38 < bcsllc-steve> but i only used pic24 2012-07-23T07:01:47 < bcsllc-steve> the PIC32 has both options 2012-07-23T07:01:51 -!- lawrenceseattle [~anonymous@c-71-227-186-232.hsd1.wa.comcast.net] has joined ##stm32 2012-07-23T07:01:57 < bcsllc-steve> it has an 8byte buffer for uart 2012-07-23T07:02:03 < bcsllc-steve> plus the uart can use dma 2012-07-23T07:02:46 < bcsllc-steve> i need another monitor 2012-07-23T07:03:52 < dongs> there is no need for buffer with DMA 2012-07-23T07:03:59 < bcsllc-steve> tue 2012-07-23T07:04:02 < bcsllc-steve> true 2012-07-23T07:04:12 < dongs> if shit is that fast, you can doublebuffer (on f4) 2012-07-23T07:04:22 < dongs> but its just uart, so i doubt it 2012-07-23T07:04:26 < bcsllc-steve> right 2012-07-23T07:04:31 < bcsllc-steve> how does it work ? 2012-07-23T07:04:46 < bcsllc-steve> you configure a predefined range of memory ? 2012-07-23T07:04:46 < dongs> it just automatically swaps 2 memory buffers and you get interrupt on the event. 2012-07-23T07:04:48 < dongs> yeah 2012-07-23T07:04:50 < dongs> 2 buffers. 2012-07-23T07:04:58 < bcsllc-steve> no just regular dma 2012-07-23T07:05:04 < dongs> yes 2012-07-23T07:05:11 < dongs> uart->DR as source 2012-07-23T07:05:16 < dongs> some memory range as dest 2012-07-23T07:05:46 < bcsllc-steve> and it loops back to the start range if it fills up ? 2012-07-23T07:06:46 < dongs> in circular mode it'll just keep looping. 2012-07-23T07:06:49 < dongs> so yeah. 2012-07-23T07:06:55 < dongs> but there's a few you can setup. 2012-07-23T07:08:49 < bcsllc-steve> ok cool thanks 2012-07-23T07:08:51 < bcsllc-steve> that helps 2012-07-23T07:08:58 < bcsllc-steve> i will read more about it 2012-07-23T07:17:19 < bcsllc-steve> dongs, do you have experience with graphics libs / 2012-07-23T07:18:01 < dongs> nah. there's some shit that comes wiht keil but i n ever used it. the only time I did graphics was drawing mandelbrot and shitty 3d spinning cube, and there I just put pixels in framebuffer. 2012-07-23T07:18:15 < dongs> i would probably use some lib if I was doing touchscreen/ui stuff. 2012-07-23T07:18:32 < dongs> http://www.youtube.com/watch?v=smz2cU3FfFk 2012-07-23T07:33:05 < bcsllc-steve> Support for circular buffer management 2012-07-23T07:41:57 < bcsllc-steve> ok cool i can partially understand the code for the blinky led that comes with the f0discoverry 2012-07-23T07:42:10 < bcsllc-steve> didnt make any sense before i read the ref man 2012-07-23T07:44:47 < bcsllc-steve> crossworks doesnt show a project/file window like MPLAB or KEIL ? 2012-07-23T07:44:58 < bcsllc-steve> a tree 2012-07-23T07:45:02 < dongs> yes it d oes. 2012-07-23T07:45:08 < dongs> im looking at it right now. 2012-07-23T07:45:31 < bcsllc-steve> CrossStudio right ? 2012-07-23T07:45:40 < dongs> yes 2012-07-23T07:45:41 < dongs> project explorer 2012-07-23T07:45:48 < dongs> ctrl=alt=p 2012-07-23T07:47:19 < bcsllc-steve> oh i see 2012-07-23T07:55:28 < bcsllc-steve> Keil layout seesm nicers 2012-07-23T07:55:32 < bcsllc-steve> nicer 2012-07-23T07:58:57 < bcsllc-steve> well maybe Keil free version wont work fo rme 2012-07-23T07:59:10 < bcsllc-steve> my current project in MPLAB is 17k 2012-07-23T07:59:21 < bcsllc-steve> and its not done 2012-07-23T08:12:42 < bcsllc-steve> ahh this BS 2012-07-23T08:13:11 < bcsllc-steve> the ST website says TruStuido has an ulimited code size for projects 2012-07-23T08:13:18 < dongs> not anymore 2012-07-23T08:13:19 < bcsllc-steve> but the trustudio says otherwise 2012-07-23T08:14:34 < dongs> it doesnt take much effort to setup codesourcery gcc toolchain and build shit wiht makefiles 2012-07-23T08:14:42 < dongs> the problem that all freetard shit lacks is proper debugging 2012-07-23T08:14:50 < dongs> typing command line shit in gdb is not my idea of proper debugging 2012-07-23T08:16:58 < bcsllc-steve> yeah i need debugging 2012-07-23T08:17:45 -!- claude is now known as Claude 2012-07-23T08:34:12 < bcsllc-steve> where do i get the driver for the stm32f0disc ? 2012-07-23T08:34:54 < dongs> install stlink-util or so 2012-07-23T08:38:08 < bcsllc-steve> oh i found it 2012-07-23T08:51:48 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-23T09:19:01 -!- lawrenceseattle [~anonymous@c-71-227-186-232.hsd1.wa.comcast.net] has quit [Quit: lawrenceseattle] 2012-07-23T09:27:07 -!- dekar [~dekar@212.255.44.97] has quit [Ping timeout: 240 seconds] 2012-07-23T09:28:16 < mirTapir> where do i get stlink util 2012-07-23T09:28:56 < mirTapir> got a f4 discovery here ^^ 2012-07-23T09:29:06 < mirTapir> i feel like long enough 2012-07-23T09:29:08 < mirTapir> lol 2012-07-23T09:38:15 < dongs> http://www.st.com/internet/evalboard/product/251168.jsp 2012-07-23T09:38:21 < dongs> should be tehre under design support/driver/swhatever 2012-07-23T09:38:35 < dongs> driver there too. 2012-07-23T09:46:40 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2012-07-23T09:50:15 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-23T09:53:09 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-23T09:59:05 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has joined ##stm32 2012-07-23T10:04:54 -!- Claude is now known as claude 2012-07-23T10:06:33 -!- dekar [~dekar@dslb-088-069-148-128.pools.arcor-ip.net] has joined ##stm32 2012-07-23T10:06:34 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-23T10:26:37 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has quit [Ping timeout: 240 seconds] 2012-07-23T10:41:38 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-23T10:52:50 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-23T11:05:11 < PaulFertser> cjbaird: hey, i have it working on my table :) 2012-07-23T11:06:52 < cjbaird> This is the olimex debugger? 2012-07-23T11:06:58 < PaulFertser> cjbaird: the TCK bitbangs at 4.7MHz 2012-07-23T11:07:16 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2012-07-23T11:07:20 < PaulFertser> cjbaird: with the olimex debugger i checked my vldisco board works fine. Then i connecte RPi and without any mods it started to work. 2012-07-23T11:07:32 < cjbaird> A bit better than the 4MHz the blogger mentioned. 2012-07-23T11:07:49 < PaulFertser> cjbaird: what blogger are you talking about? 2012-07-23T11:08:31 < cjbaird> http://mm0zct.tumblr.com/ 2012-07-23T11:08:35 < PaulFertser> cjbaird: i guess it didn't work for me at home because the signal is really bad, it looks like RPi's GPIOs are too weak, the slop is seriously distorted at that speed. 2012-07-23T11:10:09 < PaulFertser> I wonder why it wasn't working for me reliably at 1khz though. 2012-07-23T11:11:28 < PaulFertser> cjbaird: and i guess the explicit ground connection helped too :) 2012-07-23T11:12:52 < PaulFertser> BTW, the default for Olimex is 1MHz and we're using it for a long time. 2012-07-23T11:14:05 < PaulFertser> But i need to understand this GPIO drive issue more, even a finger on TCK line harms the functionality 2012-07-23T11:15:53 < PaulFertser> Or, rather, a finger+'scope probe. 2012-07-23T11:19:57 < PaulFertser> That's exactyl the code i posted to gerrit. 2012-07-23T11:21:30 < cjbaird> Whoa. Seems to be working here now too. 2012-07-23T11:21:54 < cjbaird> (using the same setup as last night) 2012-07-23T11:27:49 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2012-07-23T11:28:07 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-23T11:29:32 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-23T11:33:53 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-23T11:37:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-23T11:41:38 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-07-23T11:41:50 < cjbaird> \o/ .. http://dpaste.org/y15MG/ (with the avr32 board) 2012-07-23T11:47:25 < tech2077> thats how i can use printf on my f4 2012-07-23T11:48:11 < tech2077> i'll just force a FILE to point to uart data register, then force it to not increment 2012-07-23T11:48:35 < tech2077> hmm, a buffer of pointers pointing to the same location 2012-07-23T11:48:56 < zyp> and how do you make it wait until the uart data register is free? 2012-07-23T11:49:08 < PaulFertser> cjbaird: yay, can you probably add a comment on gerrit, specifying the write speed you obtained? 2012-07-23T11:49:48 < PaulFertser> tech2077: it's easier to simply override the _write function in newlib. 2012-07-23T11:50:11 < tech2077> PaulFertser, spent a few hours trying many different ways, including that 2012-07-23T11:50:17 < tech2077> none worked 2012-07-23T11:50:19 < PaulFertser> tech2077: it works for me 2012-07-23T11:50:25 < zyp> tech2077, then you did it wrong 2012-07-23T11:50:31 < tech2077> likely ;) 2012-07-23T11:50:45 < tech2077> PaulFertser, have your code posted anywhere? 2012-07-23T11:50:54 < PaulFertser> tech2077: linking like this: main.o -lc -lnosys (main.o having the _write() function) 2012-07-23T11:51:15 < tech2077> hmm 2012-07-23T11:51:46 < PaulFertser> tech2077: add this to your main.c: http://paste.debian.net/179994/, and link it like i suggest, and it should work. 2012-07-23T11:51:55 < PaulFertser> Do not forget to initialiase the UART appropriately. 2012-07-23T11:53:09 < cjbaird> PF: I forgot to take note of it. The telnet interface was very laggy, though. 2012-07-23T11:53:42 < PaulFertser> cjbaird: would be nice if you retried... I have to defend the patch from Peter :) 2012-07-23T11:55:56 < PaulFertser> I wonder why the rpi's gpio seems to be so weak. 2012-07-23T11:56:24 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 260 seconds] 2012-07-23T11:56:51 -!- ABLomas [~ABLomas@78-60-198-200.static.zebra.lt] has joined ##stm32 2012-07-23T11:57:21 < tech2077> hmm 2012-07-23T11:59:59 < tech2077> it griping about redefinition 2012-07-23T12:00:07 < tech2077> gripping* 2012-07-23T12:00:43 < zyp> PaulFertser, probably because they are not supposed to be bitbanged at several mhz 2012-07-23T12:01:21 < PaulFertser> zyp: why not? 2012-07-23T12:01:45 < PaulFertser> tech2077: please pastebin the full build log. 2012-07-23T12:02:32 < cjbaird> PF: how to get a kHz value? The only thing I notice to do with timing is it mentioning nsrst delays of 100 ms. 2012-07-23T12:02:47 < tech2077> http://pastebin.com/PGVTgUg5 2012-07-23T12:07:19 < PaulFertser> cjbaird: with a 'scope 2012-07-23T12:07:20 < Oldboy> Wooo! My LPC1769 lpcxpresso board works! Time to throw the VLDiscovery in the bin! 2012-07-23T12:07:58 < zyp> PaulFertser, I'm just guessing 2012-07-23T12:08:07 < PaulFertser> tech2077: two things: first, blinker.c should be before -lc -lnosys 2012-07-23T12:08:18 < cjbaird> Dumping the first 4kB of the avr32's memory with mdw takes 184 seconds.. 2012-07-23T12:08:19 < PaulFertser> tech2077: second: it's your source files that have _write defined twice. 2012-07-23T12:08:31 < tech2077> hmm 2012-07-23T12:08:53 < zyp> but the usefulness of several mhz bitbanging is kind of limited, so it may not be built for those speends 2012-07-23T12:08:56 < zyp> speeds* 2012-07-23T12:08:59 < PaulFertser> cjbaird: hm, i'll try some "more proper" dumping on my board now. 2012-07-23T12:09:29 < PaulFertser> zyp: usefullness of strong pulls is evident irregardless of the speed though ;) 2012-07-23T12:09:53 < zyp> not really 2012-07-23T12:10:12 < zyp> pull strength is related to rise/fall times, which are of increasing importance with higher speed 2012-07-23T12:10:45 < tech2077> PaulFertser, printf appears to be undefined 2012-07-23T12:11:49 < zyp> PaulFertser, have you checked the hardware specs on which speeds the gpios are supposed to handle? 2012-07-23T12:12:19 < PaulFertser> tech2077: -l should have it defined. 2012-07-23T12:12:33 < PaulFertser> zyp: i will. But the slope doesn't really depend on the speed. 2012-07-23T12:13:20 < zyp> PaulFertser, of course not, but the width of the slope relative to the width of the pulse does 2012-07-23T12:13:42 < PaulFertser> cjbaird: dump_image command should be more suitable. 2012-07-23T12:13:46 < PaulFertser> zyp: indeed 2012-07-23T12:13:51 < tech2077> hmm 2012-07-23T12:13:52 < zyp> or viewed another way; the amount of the pulse that is lost to the slope 2012-07-23T12:13:59 < tech2077> i removed nostdlib 2012-07-23T12:14:10 < tech2077> but now it's gripping about more syscalls 2012-07-23T12:14:46 < tech2077> how did you just redefine _write and get it to work 2012-07-23T12:15:01 < zyp> weak symbols 2012-07-23T12:15:44 < zyp> _write should be defined weak in libnosys, so that any other implementation of it would override it 2012-07-23T12:16:26 < tech2077> well, that works, but now i have more errors 2012-07-23T12:17:06 < tech2077> http://pastebin.com/JnRwKPhZ 2012-07-23T12:17:30 < PaulFertser> zyp: in fact no, it needn't to and is not to :) 2012-07-23T12:17:52 < PaulFertser> tech2077: man 2012-07-23T12:18:06 < PaulFertser> tech2077: have you own .o files _before -l -lnosys on the command line, not after. 2012-07-23T12:18:49 < PaulFertser> tech2077: nostdlib is ok, since you specify -lc anyway. 2012-07-23T12:18:55 < cjbaird> Unfortunately, my cheap CRO won't have the bandwidth to measure it.. :/ 2012-07-23T12:20:00 < cjbaird> "dumped 4096 bytes in 189.355118s (0.021 KiB/s)" ... The Good old days of texane's stlink are back! :D 2012-07-23T12:20:42 < zyp> :p 2012-07-23T12:21:27 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-07-23T12:22:47 < tech2077> and now, after doing all this, likely another simple problem, i get __exidx_start __exidx_end undefined errors 2012-07-23T12:25:08 < PaulFertser> tech2077: you need them defined in your linker script i'd say 2012-07-23T12:26:21 < PaulFertser> tech2077: the libopencm3 ld script has them for sure 2012-07-23T12:30:53 < tech2077> hmm, may be a good time for me to figure out how to read ld scripts 2012-07-23T12:35:20 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-07-23T12:35:20 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-07-23T12:35:20 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-07-23T12:38:29 < PaulFertser> tech2077: you shouldn't need those symbols if you're not using any C++ stuff probably 2012-07-23T12:38:58 < tech2077> it seems it's a documented requirement 2012-07-23T12:39:25 < tech2077> for anything using -lgcc, which i needed to get rid of the syscall linking errors 2012-07-23T12:40:03 < PaulFertser> tech2077: yes, and other linker scripts have those symbols anyway, just add them to yours. 2012-07-23T12:41:55 < PaulFertser> tech2077: http://comments.gmane.org/gmane.comp.gcc.help/41025 here you'll see how to understand why unwind-arm is getting linked into your build. 2012-07-23T12:51:51 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-23T12:56:41 < karlp> PaulFertser: what was the prior gpio bit banging interface using if not sysfs? old gpiodev? or a custom kernel module? 2012-07-23T12:57:07 < PaulFertser> karlp: tbh, i've no idea. 2012-07-23T12:57:42 < cjbaird> eep. http://dpaste.org/Kw1t6/ 2012-07-23T12:59:27 < PaulFertser> cjbaird: i guess for reliable operation rpi needs proper buffering. 2012-07-23T12:59:47 < cjbaird> aww 2012-07-23T13:00:44 < PaulFertser> I'll try with slower speed, it should work even with a "bad" slope then. 2012-07-23T13:01:15 < tech2077> i have it compiling, but not functioning :/ 2012-07-23T13:02:50 < PaulFertser> tech2077: not functioning at all or just printf? 2012-07-23T13:02:57 < tech2077> just printf 2012-07-23T13:03:05 < tech2077> but it doesn't hang 2012-07-23T13:03:11 < tech2077> just doesn't print out 2012-07-23T13:03:39 < PaulFertser> tech2077: do you init your UART properly? 2012-07-23T13:03:55 < PaulFertser> tech2077: what do you have in your _write() function, is it ever called? 2012-07-23T13:05:21 < tech2077> i tested uart, it functions 2012-07-23T13:05:27 < tech2077> let me test _write 2012-07-23T13:06:25 < tech2077> _write works 2012-07-23T13:10:41 < tech2077> hmm 2012-07-23T13:11:01 < tech2077> i think i need a small delay, stepping through it in gdb somehow made it work 2012-07-23T13:20:19 < PaulFertser> tech2077: probably your _write doesn't wait for the tx buffer to be empty before sending a character. 2012-07-23T13:20:48 < tech2077> i'm pretty sure my putch checks that flag 2012-07-23T13:20:52 < tech2077> and the delay did not work 2012-07-23T13:21:12 < tech2077> it seems to only work while debugging 2012-07-23T13:22:11 < PaulFertser> karlp: do you think it would be handy to have some easy-to-enable switch in libopencm3 to have printf() working on serial? 2012-07-23T13:29:33 < karlp> sure. 2012-07-23T13:29:54 < karlp> I'm not really any sort of core libopencm3 guy though, just in case anyone had the wrong idea :) 2012-07-23T13:30:30 < zyp> I wonder how expensive C++ exception handling would be on stm32 2012-07-23T13:31:00 < karlp> even better would be to get the svo/swo stuff working, and just let people use that instead. 2012-07-23T13:31:30 < zyp> but that depends on debugger hardware/software 2012-07-23T13:32:24 < karlp> I'm sure there's room for both :) 2012-07-23T13:38:52 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-23T13:41:57 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has joined ##stm32 2012-07-23T13:54:19 < dongs> hello blogs 2012-07-23T13:54:19 -!- claude is now known as claude_work 2012-07-23T13:54:53 < dongs> any debugger that doesnt support swo belongs in the oven 2012-07-23T14:22:54 < Tectu> holy crap. you guys know spencer oliver? 2012-07-23T14:23:18 < zyp> isn't that ntfreak? 2012-07-23T14:23:25 < Tectu> it is 2012-07-23T14:23:37 < zyp> so, what about him? 2012-07-23T14:23:45 < Tectu> i don't know, isn't that the openOCD guy? 2012-07-23T14:23:56 < zyp> yes, he's an openocd guy 2012-07-23T14:24:20 < Tectu> i have something in mind that he's somehow popular in the embedded area 2012-07-23T14:25:36 < zyp> hmm, mailman just failed to deliver my waveshare board 2012-07-23T14:25:48 < Tectu> zyp, what happened? 2012-07-23T14:26:18 < zyp> nothing, I'm just not home to receive the delivery, like always 2012-07-23T14:26:37 < BrainDamage> did you get the board where you plug the f4 discovery in? 2012-07-23T14:26:49 < zyp> no 2012-07-23T14:27:03 < Tectu> BrainDamage, huh? which board? link? 2012-07-23T14:27:19 < zyp> I considered that, but I want to be able to free up any pin 2012-07-23T14:27:38 < zyp> and discovery board have the onboard stuff hardwired 2012-07-23T14:27:41 < Tectu> zyp, which board did you order? 2012-07-23T14:27:51 < zyp> hang on 2012-07-23T14:28:00 < BrainDamage> http://www.ebay.it/itm/STM32F407VGT6-STM32-Cortex-M4-ARM-Development-Board-without-STM32F4DISCOVERY-/261050682608?pt=LH_DefaultDomain_0&hash=item3cc7d54cf0 2012-07-23T14:28:09 < BrainDamage> or alternatively http://www.ebay.it/itm/STM32F4Discovery-motherboard-network-RS232-LCD-touch-SD-CAN-STM32-STM32F407VGT6-/180923582222?pt=BI_Electrical_Equipment_Tools&hash=item2a1fe2c70e 2012-07-23T14:28:20 < zyp> http://www.wvshare.com/product/Open407Z-Package-B.htm <- I got this 2012-07-23T14:28:25 < BrainDamage> despite preferring bare bones board, I like the idea 2012-07-23T14:28:39 < zyp> http://www.wvshare.com/product/Open407V-D-Standard.htm <- and there is the one for discovery 2012-07-23T14:30:26 < zyp> hopefully the mailman will go drop it off at the post office before they close, so I can go pick it up after work 2012-07-23T14:30:58 < zyp> home deliveries in the middle of the day when people are usually at work is dumb 2012-07-23T14:31:10 < karlp> this is why you get things delivered to work 2012-07-23T14:31:43 < Tectu> karlp, i agree :D 2012-07-23T14:31:47 < Tectu> karlp, but my boss hates me 2012-07-23T14:32:03 < zyp> that's so roundabout 2012-07-23T14:32:42 < zyp> sometimes the driver calls before attempting the delivery, then I usually have him drop it off at work 2012-07-23T14:55:21 < dongs> l;oldongs 2012-07-23T14:55:40 < Laurenceb> http://www.theregister.co.uk/2012/07/23/100w_usb_power_delivery_specification/ 2012-07-23T14:55:43 < Laurenceb> wuuuttt 2012-07-23T14:58:33 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 255 seconds] 2012-07-23T14:59:05 < jpa-> finally, now i can connect my stove using just 10 usb cables 2012-07-23T14:59:13 < Laurenceb> lol 2012-07-23T14:59:28 < Laurenceb> sounds like its going to explode 2012-07-23T14:59:29 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-07-23T15:05:08 < dongs> Laurenceb: http://xe.bz/aho/24/ old 2012-07-23T15:07:12 < Laurenceb> haha 2012-07-23T15:08:06 < dongs> too bad that guy stopped blogging 2012-07-23T15:09:41 -!- Netsplit *.net <-> *.split quits: Tectu, jaeckel, iR0b0t1, phantoxeD, CheBuzz, +dekar, [7] 2012-07-23T15:09:55 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-23T15:10:15 -!- Netsplit over, joins: phantoxeD, +dekar, CheBuzz, Tectu, jaeckel 2012-07-23T15:14:26 < dongs> in 2012 2012-07-23T15:21:40 -!- Netsplit *.net <-> *.split quits: CheBuzz, phantoxeD, Tectu, +dekar 2012-07-23T15:22:27 -!- Netsplit over, joins: phantoxeD, +dekar, CheBuzz, Tectu 2012-07-23T15:48:28 < PaulFertser> fyi: wrote 131072 bytes from file blinker.bin in 4.233104s (30.238 KiB/s), verified 131072 bytes in 2.049532s (62.453 KiB/s) 2012-07-23T15:49:31 < BrainDamage> is dongs irc'ing from prison now? http://i.imgur.com/vEZpr.jpg 2012-07-23T15:56:43 < PaulFertser> What's the usual flashing speed with stlinkv2 btw? you see i get 30.238 KiB/s with RPi. 2012-07-23T15:58:10 < zyp> that's close to the max speed the flash can handle 2012-07-23T16:00:00 < Laurenceb> how do i detect is a number if odd or even in a macro? 2012-07-23T16:00:16 < zyp> you check if the lower bit is set 2012-07-23T16:00:22 < Laurenceb> #if (CHANNELS&0x01) 2012-07-23T16:00:26 < Laurenceb> does work 2012-07-23T16:01:02 < Laurenceb> thats a guy?! 2012-07-23T16:01:11 < Laurenceb> seems to be wearing a bra 2012-07-23T16:02:00 < PaulFertser> zyp: so the bitbanging result is nice enough it seems :) 2012-07-23T16:02:15 < zyp> yeah 2012-07-23T16:04:06 < zyp> fastest flashing I've seen was at 45 kB/s or so, so I believe the flash itself tops out just above that 2012-07-23T16:04:37 < Laurenceb> grrr 2012-07-23T16:04:41 < Laurenceb> this isnt working 2012-07-23T16:04:49 < Laurenceb> always gives even 2012-07-23T16:05:04 < zyp> on F4 with 32-bit writes, probably have to be mentioned 2012-07-23T16:05:49 -!- jaeckel [~jaeckel@jaeckel.eu] has quit [Changing host] 2012-07-23T16:05:49 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-07-23T16:06:18 < zyp> 64-bit writes might be faster, but requires an external flashing voltage supply, so it's just interesting for production lines 2012-07-23T16:09:38 < dongs> Programming target (132352 bytes, 1 range) ... - RAM tested O.K. - Target programmed successfully - Completed after 1.683 sec 2012-07-23T16:09:41 < dongs> ^ F4 2012-07-23T16:09:51 < dongs> using a real programmer. 2012-07-23T16:10:56 < zyp> to flash? 2012-07-23T16:11:07 < dongs> - Erase operation completed successfully - Completed after 7.852 sec 2012-07-23T16:11:09 < dongs> full erase 2012-07-23T16:11:09 < dongs> zyp: yes 2012-07-23T16:12:21 < zyp> so, ~78 kB/s? 2012-07-23T16:12:22 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-23T16:12:26 < dongs> guess so 2012-07-23T16:12:37 < dongs> i dont have anything bigger to dump on it. 2012-07-23T16:12:44 < dongs> give me liek a bigger file totry. 2012-07-23T16:13:10 < dongs> found 2012-07-23T16:13:11 < zyp> I just made a static array of some hundred kBs 2012-07-23T16:13:13 < dongs> - Data file opened successfully (1048576 bytes, 1 range, CRC = 0xAC048299) 2012-07-23T16:13:14 < dongs> yeah 2012-07-23T16:13:19 < dongs> i had a full flash dump 2012-07-23T16:13:44 < dongs> Programming target (1048576 bytes, 1 range) ... - RAM tested O.K. - Target programmed successfully - Completed after 9.284 sec 2012-07-23T16:13:47 < ratatata> nu 2012-07-23T16:14:52 < zyp> hmm 2012-07-23T16:15:06 < zyp> wonder what the difference is 2012-07-23T16:15:27 < dongs> i guess freetard vs proper tools. i dunno. this is jlinkedu and i think they ratelimit it, too. 2012-07-23T16:15:42 < dongs> at 4mhz vs 12mhz speed. 2012-07-23T16:15:49 < zyp> bottleneck still has to be time spent waiting for flash to be ready to accept another word 2012-07-23T16:16:16 < dongs> maybe. 2012-07-23T16:16:19 < dongs> whatever they do, it works 2012-07-23T16:16:24 < dongs> it flashes a f ull f103 in an instant 2012-07-23T16:16:27 < karlp> but there's reasonable proof that the time spent waiting for the waiting is longer than the waiting itself 2012-07-23T16:17:04 < zyp> jtag speed is not that important as long as it's fast enough to provide data faster than flash can write 2012-07-23T16:17:41 < dongs> right. I guess even at 4mhz its way faster than flash write speed. 2012-07-23T16:17:52 < dongs> same f4 board with stlink is terrible. 2012-07-23T16:18:01 < dongs> well, ok not same one but different f405 2012-07-23T16:18:10 < dongs> stlink more like stink 2012-07-23T16:18:30 < zyp> what's the best speed you've got from stlink on windows? 2012-07-23T16:18:37 < dongs> about 35k 2012-07-23T16:20:16 < zyp> right, that's comparable to what I've got from texane 2012-07-23T16:20:20 < dongs> yeah. 2012-07-23T16:27:28 < Laurenceb> zyp: you using texane? 2012-07-23T16:28:15 < dongs> Laurenceb: so your SPI/ USB trash works proeprly now? 2012-07-23T16:28:22 < Laurenceb> hmm 2012-07-23T16:28:28 < Laurenceb> it works 2012-07-23T16:28:37 < Laurenceb> but i dont understand why it was failing 2012-07-23T16:28:49 < Laurenceb> something to do with the card going to idle state 2012-07-23T16:28:58 < dongs> mhm 2012-07-23T16:29:01 < dongs> trhis is sdcard on SPI right? 2012-07-23T16:29:04 < Laurenceb> yes 2012-07-23T16:29:12 < dongs> some tool here is making something with f103 and usb/spi sd 2012-07-23T16:29:17 < Laurenceb> sometimes it has to reinit the card 2012-07-23T16:29:18 < dongs> i will have them run this shit and see if it was your dodgy hardware 2012-07-23T16:29:20 < dongs> prob next week. 2012-07-23T16:29:26 < Laurenceb> cool 2012-07-23T16:30:08 < dongs> so it shows up as mass stoRAGE and when its not connected you access the shit by fatfs? 2012-07-23T16:30:23 < Laurenceb> yup 2012-07-23T16:31:01 < Laurenceb> and store ascii logfiles using abused procyon avrlib printf 2012-07-23T16:31:29 < zyp> Laurenceb, I have done 2012-07-23T16:31:43 < Laurenceb> im getting 6KB/s with latest texane 2012-07-23T16:31:45 < zyp> I wrote the F4 flashloader for texane, so I did some speed tests related to that 2012-07-23T16:32:57 < Laurenceb> Start address 0x8013bc4, load size 114952 2012-07-23T16:32:57 < Laurenceb> Transfer rate: 6 KB/sec, 12772 bytes/write. 2012-07-23T16:33:19 < karlp> Laurenceb: what target? 2012-07-23T16:33:23 < Laurenceb> f103 2012-07-23T16:33:57 < karlp> f1 users didn't bitch as much as f4 users, so it still has a pretty simple ram flashing script. 2012-07-23T16:34:09 < karlp> it could certainly be improved if anyone wanted to... 2012-07-23T16:34:15 < Laurenceb> :P 2012-07-23T16:34:25 < karlp> I get about 10kish or so, 2012-07-23T16:34:38 < karlp> and for an f100c4, that's just fine. 2012-07-23T16:35:08 < karlp> if I had 1 meg of flash to write, I'd be looking at fixes too. 2012-07-23T17:00:04 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Read error: Connection reset by peer] 2012-07-23T17:02:38 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-23T17:13:49 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-23T17:16:26 < dongs> so these idiots want me to save state on power off. 2012-07-23T17:16:35 < dongs> and of course theyt just pull the plug. 2012-07-23T17:16:51 < dongs> do I just put a hueg cap on my shit, sense vcc, and declare victory? 2012-07-23T17:17:31 < karlp> depends how much state you have to store, but yeah, that's a common way of doing it. 2012-07-23T17:18:08 < karlp> another way is to just periodically save it, and assume that any state change in the last 5 minutes or so isn't that important. 2012-07-23T17:22:01 < dongs> yeah, thats not gonna work 2012-07-23T17:22:09 < dongs> the idiots were like "just s ave to eeprom on each change". 2012-07-23T17:22:16 < dongs> i was like "hello flash 10k rewrites" 2012-07-23T17:23:02 < dongs> .. apparently shit changes every second. 2012-07-23T17:23:34 < Laurenceb> use ram 2012-07-23T17:23:47 < dongs> and Vbat? 2012-07-23T17:23:51 < Laurenceb> yes 2012-07-23T17:24:14 < zyp> I've heard FRAM is nice 2012-07-23T17:24:22 < Laurenceb> that too 2012-07-23T17:30:24 < dongs> fram exists as standalone chip? 2012-07-23T17:31:01 < Laurenceb> i2c 2012-07-23T17:31:05 < Laurenceb> your favourite 2012-07-23T17:31:17 < BrainDamage> ti makes fram chips 2012-07-23T17:33:24 < ntfreak> i would recommend ramtron 2012-07-23T17:34:25 < Laurenceb> but pita to order from 2012-07-23T17:34:55 < dongs> lol shit is pretty cheap 2012-07-23T17:36:07 < karlp> 32L has eeprom, so more writes there, if it gets to enough lifetime.. 2012-07-23T17:36:26 < karlp> debends how many parts you want to stick on to support this. 2012-07-23T17:36:43 < ntfreak> how much data we talking anyway ? 2012-07-23T17:37:15 < dongs> i think one fucking byte. 2012-07-23T17:37:26 < dongs> some bullshit sequence. 2012-07-23T17:37:28 < dongs> number. 2012-07-23T17:37:30 < dongs> i kno rite. 2012-07-23T17:39:24 < Oldboy> farnell has some dirt cheap FRAM chips 2012-07-23T17:39:35 < Oldboy> I'm thinking of buying some just for the heck of it 2012-07-23T17:46:14 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-23T17:46:45 -!- elektrinis [circuit@82-135-241-134.static.zebra.lt] has quit [Quit: pokðt] 2012-07-23T17:49:29 < PaulFertser> With sysfs bitbanging driver: wrote 131072 bytes from file random.bin in 14.224168s (8.999 KiB/s) 2012-07-23T17:57:50 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-23T18:04:12 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-23T18:06:42 < Laurenceb> http://www.edinburgh-gazette.co.uk/issues/27079/notices/79 2012-07-23T18:06:44 < Laurenceb> oops 2012-07-23T18:12:27 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-23T18:13:06 < PaulFertser> cjbaird: the sysfs bitbanging driver works too for me, but with a much slower speed, ~10KiB/s writing, ~7KiB/s reading. 2012-07-23T18:13:28 < PaulFertser> cjbaird: i'll post all the relevant info to gerrit this evening. 2012-07-23T18:13:44 < cjbaird> I'm seeing 20 _bytes_ per second... :/ 2012-07-23T18:13:58 < dongs> well i just found out apparnetly the trolls had a DS1307 on that board 2012-07-23T18:14:06 < dongs> so looks like nvram problem is solved 2012-07-23T18:14:47 < cjbaird> OT rpi jtagness \o/ ... http://i.imgur.com/GKhiw.jpg 2012-07-23T18:15:12 < dongs> > avr32 2012-07-23T18:15:16 < dongs> anyone actually uses that? 2012-07-23T18:15:54 < dongs> hahhah 2012-07-23T18:16:01 < dongs> teh ds1307 guy driving and messaging to me 2012-07-23T18:16:10 < dongs> his last message: fuck i missed speed detector cam fuck k bye see you 2012-07-23T18:16:48 < PaulFertser> cjbaird: if it works at all i'd expect it to work the same as it does for me. 2012-07-23T18:17:21 -!- dekar [~dekar@dslb-088-069-148-128.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-07-23T18:31:19 < cjbaird> Replicating a result is a Good Thing. :) 2012-07-23T18:35:58 < cjbaird> (especially after a fortnight of failing to get toolchains to compile.. :I) 2012-07-23T18:38:23 < PaulFertser> cjbaird: btw, for me RPi hanged while compiling binutils, that using the latest cboot's kernel. 2012-07-23T18:40:55 < cjbaird> Mine has just completed a 2.5 day llvm/clang compile.. :/ 2012-07-23T18:43:32 < karlp> PaulFertser: was your bitbaning a kernel module? 2012-07-23T18:43:51 < karlp> kernel modules can be substantially faster for gpio twiddling. 2012-07-23T18:47:08 * Laurenceb is getting epically confused by his code 2012-07-23T18:47:12 < Laurenceb> https://github.com/Laurenceb/STM32-Logger/blob/master/timer.c 2012-07-23T18:47:35 < Laurenceb> which timer is which 2012-07-23T18:47:37 < Laurenceb> argggg 2012-07-23T18:47:59 < dongs> ? 2012-07-23T18:49:03 < dongs> void Tryfudge(uint32_t* Fudgemask) what in the hell 2012-07-23T18:49:06 < Laurenceb> im trying to make adaptor cables for different hardware versions 2012-07-23T18:49:30 < Laurenceb> it nudges timer phase 2012-07-23T18:52:21 < Laurenceb> i guess i do need to make cleaner code 2012-07-23T18:58:03 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-23T19:00:08 -!- claude_work is now known as claude 2012-07-23T19:01:04 < emeb> Laurenceb: Is that the same Elonics that makes the RF front-end chips? 2012-07-23T19:01:14 < dongs> yes 2012-07-23T19:01:35 < emeb> Wow - so they're basically declaring bankruptcy? 2012-07-23T19:01:41 < dongs> Mirics is next. 2012-07-23T19:01:45 < dongs> also eurotrash-based. 2012-07-23T19:02:20 < emeb> Bummer - their E4000 RFE seemed to be one of the better one for cheap SDR hardware. 2012-07-23T19:02:29 < dongs> mirics is far better. 2012-07-23T19:02:36 < dongs> but they're almost history as well. 2012-07-23T19:02:52 < dongs> they offered me to buy their SDK+shit for $5k 2012-07-23T19:02:59 < dongs> if I wait a few months, I can just buy the whole company for $5k 2012-07-23T19:03:04 < emeb> Wonder why they can't seem to stay in business? 2012-07-23T19:03:32 < dongs> i tried to get them to give me some stuff for low-volume sdr shit few years ago 2012-07-23T19:03:36 < dongs> back when nobody heard of htem 2012-07-23T19:03:46 < dongs> and thier guy was like "sorry we only deal with high volume consumer applications" 2012-07-23T19:03:58 < emeb> As I understand, they're all very proprietary/NDA driven. 2012-07-23T19:04:08 < dongs> i was like right right. sent them email about a month ago, and CEO (probably the onyl guy left thre) replies and says "we'll definitely consider your rewuest" 2012-07-23T19:04:38 < emeb> Hope the Funcube guys have their lifetime buy order in... 2012-07-23T19:04:44 < dongs> haha 2012-07-23T19:05:58 < emeb> I've got a couple of RTL-SDR dongles from ebay for ~$18 or so. They work... OK. 2012-07-23T19:07:22 < Laurenceb> the elonics stuff was very clever 2012-07-23T19:07:32 < Laurenceb> they had a cmos rf filter for the front 2012-07-23T19:07:34 < Laurenceb> all on die 2012-07-23T19:08:03 < Laurenceb> thats how they got such good coverage with a single conversion device 2012-07-23T19:08:32 < emeb> I guess the big question is who will snap up their IP? 2012-07-23T19:08:56 < emeb> Probably some troll/NPE... 2012-07-23T19:18:13 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-23T19:18:15 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-23T19:19:08 -!- dekar [~dekar@212.255.33.215] has joined ##stm32 2012-07-23T19:19:09 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-23T19:21:09 <+Steffanx> nu 2012-07-23T19:38:59 -!- szczys [~mike@68-117-130-137.dhcp.mdsn.wi.charter.com] has quit [Quit: Leaving] 2012-07-23T19:52:09 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has joined ##stm32 2012-07-23T20:05:01 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-23T20:22:53 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-07-23T20:36:13 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-23T20:37:30 < bcsllc-steve> Load "C:\\Keil\\ARM\\Boards\\ST\\STM32F0-Discovery\\Blinky\\RAM\\Blinky.AXF" 2012-07-23T20:37:41 < bcsllc-steve> No Algorithm found for: 20000000H - 20000873H 2012-07-23T20:37:44 < bcsllc-steve> Erase skipped! 2012-07-23T20:37:45 < bcsllc-steve> ???? 2012-07-23T20:38:12 < bcsllc-steve> What does that mean ? 2012-07-23T20:38:15 < karlp> ring keil 2012-07-23T20:38:18 < bcsllc-steve> first time using Keil 2012-07-23T20:38:20 <+dekar> lol that's your ram 2012-07-23T20:38:29 < bcsllc-steve> first time using STM 2012-07-23T20:38:33 <+dekar> just unplug the stm32 to erase it :) 2012-07-23T20:39:24 < bcsllc-steve> Oh, hey it worked, i switch from RAM to FLahsd 2012-07-23T20:39:46 < bcsllc-steve> Oh, so i either program the firmware into ram or flash ? 2012-07-23T20:39:58 < bcsllc-steve> What point is programming RAM ? 2012-07-23T20:40:57 <+dekar> it's faster I guess 2012-07-23T20:41:14 < bcsllc-steve> but once it loose power, its gone, right ? 2012-07-23T20:41:22 <+dekar> ya 2012-07-23T20:42:01 < BrainDamage> with stm32 you can put programs in ram for fast testing 2012-07-23T20:42:12 < BrainDamage> vs putting them into flash for permanent usage 2012-07-23T20:47:10 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-23T20:48:55 < bcsllc-steve> Test.axf: Error: L6218E: Undefined symbol main (referred from rtentry2.o). 2012-07-23T20:49:54 < bcsllc-steve> oooo 2012-07-23T20:49:57 < bcsllc-steve> think i got it 2012-07-23T20:50:17 < bcsllc-steve> Program Size: Code=1176 RO-data=224 RW-data=20 ZI-data=1636 2012-07-23T20:50:17 < bcsllc-steve> "Test.axf" - 0 Error(s), 0 Warning(s). 2012-07-23T20:59:39 -!- R0b0t1 [~dev@64-136-219-55.dyn.everestkc.net] has joined ##stm32 2012-07-23T20:59:39 -!- R0b0t1 [~dev@64-136-219-55.dyn.everestkc.net] has quit [Changing host] 2012-07-23T20:59:39 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-23T21:03:53 < bcsllc-steve> No Algorithm found for: 08000000H - 08000387H 2012-07-23T21:03:54 < bcsllc-steve> ???? 2012-07-23T21:04:01 < bcsllc-steve> this is when i create a new project 2012-07-23T21:04:14 < bcsllc-steve> and follow the instructions in the pdf 2012-07-23T21:04:20 < bcsllc-steve> found on ST.com 2012-07-23T21:04:41 < bcsllc-steve> builds ok 2012-07-23T21:04:53 < bcsllc-steve> then I click "Flash" and "Download' 2012-07-23T21:05:29 < bcsllc-steve> ST-LInk selected in the "utils" tab 2012-07-23T21:06:08 < bcsllc-steve> oh i think i see 2012-07-23T21:06:14 <+Steffanx> I don't think many here use Keil .. if there is anyone using it except you 2012-07-23T21:06:40 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has joined ##stm32 2012-07-23T21:06:47 < bcsllc-steve> YEYE !!! 2012-07-23T21:06:55 < TitanMKD> hi 2012-07-23T21:06:58 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Ping timeout: 248 seconds] 2012-07-23T21:06:58 <+Steffanx> lo 2012-07-23T21:07:22 < bcsllc-steve> I succesfully compiled and programmed the chip with firmware that DOES ABOSULTLEY NOTHING 2012-07-23T21:07:43 < bcsllc-steve> int main(void) { while(1) { } }; 2012-07-23T21:08:54 <+Steffanx> dongs alive? 2012-07-23T21:11:05 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2012-07-23T21:11:22 < bcsllc-steve> my dong was alive last night 2012-07-23T21:11:40 <+Steffanx> Good for you 2012-07-23T21:11:48 < bcsllc-steve> lol sorry, just kidding 2012-07-23T21:12:23 < bcsllc-steve> Last msg 127 mins ago 2012-07-23T21:18:08 < bcsllc-steve> main.c(8): error: #20: identifier "GPIOC_MODER" is undefined 2012-07-23T21:18:08 < bcsllc-steve> main.c(13): error: #20: identifier "GPIOC_ODR" is undefined 2012-07-23T21:18:18 < bcsllc-steve> Ive included stm32f0xx.h 2012-07-23T21:18:51 <+Steffanx> and the define is there? 2012-07-23T21:19:12 < bcsllc-steve> oh i see now 2012-07-23T21:19:27 < bcsllc-steve> GPIOC is a struct 2012-07-23T21:19:37 < bcsllc-steve> and moder 2012-07-23T21:19:39 < bcsllc-steve> ORD 2012-07-23T21:19:39 < bcsllc-steve> IDR 2012-07-23T21:19:46 < bcsllc-steve> are all members 2012-07-23T21:20:36 < bcsllc-steve> is that right ? 2012-07-23T21:20:48 < bcsllc-steve> so GPIOC->ODR = ...... 2012-07-23T21:20:50 < bcsllc-steve> ? 2012-07-23T21:21:14 <+Steffanx> Give it a try :) 2012-07-23T21:21:45 < bcsllc-steve> I did 2012-07-23T21:21:59 < bcsllc-steve> I set GPIOC->MODER = 0x000000; 2012-07-23T21:22:26 < bcsllc-steve> and GPIOC->MODER = (1 <<9); 2012-07-23T21:22:34 < bcsllc-steve> i mean GPIOC_ODR 2012-07-23T21:24:15 < bcsllc-steve> GPIOC->ODR = 0x0200; 2012-07-23T21:26:02 < bcsllc-steve> nothing happens after I "Download" 2012-07-23T21:26:23 < bcsllc-steve> is there a button i click on to bring RST high ? like MPLAB ? 2012-07-23T21:26:35 <+Steffanx> What about the clocks etc. ? 2012-07-23T21:27:18 < karlp> I thought everything just worked when you used the fancy tools? ;) 2012-07-23T21:27:37 <+Steffanx> hehe karlp 2012-07-23T21:27:46 < bcsllc-steve> Oh I see 00 is not ouput 2012-07-23T21:33:25 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-23T21:34:32 -!- TitanMKD [Titan@chl26-1-88-183-104-56.fbx.proxad.net] has quit [] 2012-07-23T21:34:57 < bcsllc-steve> ok the LEDs on the F0Dsicovery board is PC8 and PC9 2012-07-23T21:35:08 < bcsllc-steve> so I do : GPIOC->MODER = 0x5555; 2012-07-23T21:36:02 < bcsllc-steve> to make PORTC outputs 2012-07-23T21:36:10 < bcsllc-steve> GPIOC->ODR = 0xffff; 2012-07-23T21:36:22 < bcsllc-steve> to bring port C pins high 2012-07-23T21:36:43 < bcsllc-steve> then I build w/o erros 2012-07-23T21:37:01 < bcsllc-steve> and click "Download" under Flash menu 2012-07-23T21:38:43 < bcsllc-steve> nothing happens 2012-07-23T21:39:08 < bcsllc-steve> Programming Ok 2012-07-23T21:39:09 < bcsllc-steve> Verify Ok 2012-07-23T21:39:50 <+Steffanx> Now you want a cookie? 2012-07-23T21:40:54 < bcsllc-steve> no sir 2012-07-23T21:41:05 < bcsllc-steve> nothing happens 2012-07-23T21:41:20 < bcsllc-steve> oh clocks, didnt see that 2012-07-23T21:42:33 <+Steffanx> Sir isn't necessary, i'm probably not that much older than you are :) 2012-07-23T21:43:12 < bcsllc-steve> just trying to be nice 2012-07-23T21:43:33 <+Steffanx> Ok Sir 2012-07-23T21:52:27 < feurig> Laurenceb: the push this morning most of the changes or should we wait a couple more days? 2012-07-23T22:06:30 < PaulFertser> Laurenceb: btw, i'm not sure but quite possibly you're right about the GND connection. Apparently the rpi was bitbanging at about 4.7MHz with quite weak pulls, and indirect (through two usb cables) gnd connection wasn't appropriate. Now with direct connection it works reliably (though i do not like the signal slope i see). 2012-07-23T22:08:34 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has quit [Remote host closed the connection] 2012-07-23T22:09:02 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has joined ##stm32 2012-07-23T22:17:47 < bcsllc-steve> seesm to be some working adult EEs in here 2012-07-23T22:18:03 -!- Xamusk [~X@177.99.206.19] has joined ##stm32 2012-07-23T22:18:23 < Xamusk> why does the TNT build script build GCC twice? 2012-07-23T22:18:33 <+Steffanx> it does? 2012-07-23T22:19:10 < Xamusk> it does 2012-07-23T22:19:16 <+Steffanx> dekar !! 2012-07-23T22:19:36 < Xamusk> once supposedly C-only and then newlib and then C/C++ 2012-07-23T22:20:54 < emeb> building GCC has always been a process of many iterations. 2012-07-23T22:21:00 -!- ntfreak_ [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-23T22:21:14 * emeb remembers building GCC on SunOS 20 years ago... 2012-07-23T22:21:26 <+Steffanx> You know what taht means? 2012-07-23T22:21:32 <+Steffanx> You're getting old :P 2012-07-23T22:21:40 < emeb> tell me about it. 2012-07-23T22:21:42 < Xamusk> yes, but itŽs supposed to build all iterations in one make run 2012-07-23T22:22:01 < Xamusk> Steffanx, and GCC is getting old too :) 2012-07-23T22:22:52 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-23T22:23:00 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Ping timeout: 248 seconds] 2012-07-23T22:23:18 -!- peabody124 [~peabody12@128.249.96.21] has quit [Quit: peabody124] 2012-07-23T22:25:10 < Xamusk> strangely, IŽve got a g++ built, even though it looks like it wasnŽt supposed to 2012-07-23T22:25:28 < bcsllc-steve> Steffanx, i got it ! 2012-07-23T22:25:31 < bcsllc-steve> Thanks 2012-07-23T22:25:57 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-23T22:28:36 <+Steffanx> clock magic bcsllc-steve ? 2012-07-23T22:28:41 < bcsllc-steve> yeap 2012-07-23T22:29:53 < bcsllc-steve> wow, not only do you have to enable the clock, but need to enable it on modules 2012-07-23T22:30:10 <+Steffanx> :) 2012-07-23T22:32:25 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-23T22:33:20 < Laurenceb_> hi 2012-07-23T22:33:36 < tech2077> hi 2012-07-23T22:33:40 <+Steffanx> lo 2012-07-23T22:37:22 < BrainDamage> bcsllc-steve: unlike pic and avr, which have all clock on all stuff on by default, stm has it off 2012-07-23T22:37:39 < bcsllc-steve> yeap 2012-07-23T22:37:49 < BrainDamage> there's some "all on" templates if you cba to do it everytime for every device 2012-07-23T22:37:55 < BrainDamage> and power consumption doesn't matter 2012-07-23T22:38:24 < feurig> Laurenceb: the push this morning most of the changes or should we wait a couple more days? 2012-07-23T22:38:51 < feurig> oh and howdy... 2012-07-23T22:38:59 < Laurenceb_> hi 2012-07-23T22:39:09 < Laurenceb_> nah the code from yesterday works 2012-07-23T22:39:18 < Laurenceb_> im just working on sensors now 2012-07-23T22:40:11 < feurig> I am actually looking at stripping that out :) , so cool. 2012-07-23T22:41:17 < Laurenceb_> yeah 2012-07-23T22:41:26 < Laurenceb_> you need the stuff in Util 2012-07-23T22:41:37 < Laurenceb_> and the interrupts 2012-07-23T22:47:52 < bcsllc-steve> Alrighty, I have LED blinking. Just need to figure out this systick stuff 2012-07-23T22:48:00 < tech2077> heh 2012-07-23T22:50:14 < Xamusk> apparently the second pass should build libstdc++ and libgcc 2012-07-23T22:50:24 < Laurenceb_> feurig: you'll need to look in gpio.c/h 2012-07-23T22:50:37 < Laurenceb_> and also swap the sd config in the fatfs code 2012-07-23T22:51:17 < Xamusk> be back later 2012-07-23T22:51:43 < Laurenceb_> other than that it should work on maple 2012-07-23T22:51:59 < Laurenceb_> oh - xtal is maybe different 2012-07-23T22:52:05 < Laurenceb_> i cant remeber, i used 12mhz 2012-07-23T22:55:09 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-23T22:55:26 -!- Xamusk [~X@177.99.206.19] has quit [Ping timeout: 245 seconds] 2012-07-23T22:57:01 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Disconnected by services] 2012-07-23T22:57:03 -!- phantoneD is now known as phantoxeD 2012-07-23T22:59:17 < bcsllc-steve> ahh the RC clock is enabled by default 2012-07-23T22:59:25 < bcsllc-steve> not just the perih clock 2012-07-23T22:59:31 < bcsllc-steve> periph 2012-07-23T23:07:50 < Laurenceb_> http://www.b3tards.com/u/dceb14b0c0ee9d13b69a/modern-hipster-shed.jpg 2012-07-23T23:08:31 <+Steffanx> b3tard ... 2012-07-23T23:13:59 < feurig> yeah. the maple is 8 2012-07-23T23:14:14 < feurig> so I guess I will have to look at that as well. 2012-07-23T23:14:14 < Laurenceb_> you need to change some pll config stuff 2012-07-23T23:14:17 < Laurenceb_> in set system 2012-07-23T23:14:23 < Laurenceb_> *set_system 2012-07-23T23:15:33 < Laurenceb_> to get 72mhz 2012-07-23T23:16:43 < Laurenceb_> oh 2012-07-23T23:16:56 < Laurenceb_> i have vbus detect and a control button 2012-07-23T23:17:10 < Laurenceb_> wheras maple has a buss pullup control gpio 2012-07-23T23:17:17 < Laurenceb_> that will take a bit of work 2012-07-23T23:17:22 < Laurenceb_> you have the olimexino? 2012-07-23T23:18:22 < Laurenceb_> olimexino has a user button - you'll need to map that to a gpio to turn the board on/off 2012-07-23T23:20:18 < Laurenceb_> and you need a way to detect jack insertion 2012-07-23T23:20:29 < Laurenceb_> i use the vbus line 2012-07-23T23:21:05 < Laurenceb_> olimexino has a lipo charger like my pcb, so youll need to map the control lines over 2012-07-23T23:21:33 < Laurenceb_> so it will charge off usb 2012-07-23T23:29:58 < Laurenceb_> hmm 2012-07-23T23:30:08 < Laurenceb_> you might want to have the battery charger and user button 2012-07-23T23:30:36 < Laurenceb_> so user button connects to A.0 and lift the charger CE pin and tie to a gpio to turn hte charger on/off 2012-07-23T23:36:27 < Laurenceb_> hes gone 2012-07-23T23:36:55 < feurig> we shall see 2012-07-23T23:37:01 < Laurenceb_> :P 2012-07-23T23:37:17 < Laurenceb_> not too much work 2012-07-23T23:37:33 < Laurenceb_> you can leave the battery thing - its just to meet usb suspend spec 2012-07-23T23:56:02 -!- ntfreak_ is now known as ntfreak --- Day changed Tue Jul 24 2012 2012-07-24T00:26:39 -!- bcsllc-steve is now known as myNameIsSteve 2012-07-24T00:30:54 -!- myNameIsSteve is now known as bcsllc-steve 2012-07-24T00:45:59 < bcsllc-steve> where does SysTick_Config() come from ? 2012-07-24T00:46:26 < bcsllc-steve> if (SysTick_Config(SystemCoreClock / 1000)) { /* SysTick 1 msec interrupts */ 2012-07-24T00:46:38 < bcsllc-steve> thats in the demo code that came with Keil 2012-07-24T00:55:16 <+Steffanx> With a good code editor you can actually find where it's declared/implemented :P 2012-07-24T00:55:33 <+Steffanx> Another reason why not to use keil :P 2012-07-24T01:07:11 < bcsllc-steve> ahh I found it 2012-07-24T01:07:12 < bcsllc-steve> L) 2012-07-24T01:07:14 < bcsllc-steve> :) 2012-07-24T01:08:00 -!- Xamusk [~X@189.123.3.189] has joined ##stm32 2012-07-24T01:08:39 -!- Xamusk [~X@189.123.3.189] has quit [Read error: Connection reset by peer] 2012-07-24T01:10:16 -!- Xamusk [~X@189.123.3.189] has joined ##stm32 2012-07-24T01:12:04 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 260 seconds] 2012-07-24T01:19:51 < karlp> huh, they introduced a whol eheap more parts in the L series 2012-07-24T01:22:09 < karlp> with stupid medium/ high density naming again 2012-07-24T01:27:30 <+Steffanx> So after F3 .. what's next? 2012-07-24T01:33:34 < BrainDamage> F5 2012-07-24T01:33:38 < BrainDamage> and L0 2012-07-24T01:37:02 <+Steffanx> F5 = m4 + super high speed? 2012-07-24T01:37:21 < emeb> m4 + NEON 2012-07-24T01:37:47 <+Steffanx> Finally that sdram interface :) 2012-07-24T01:38:18 <+Steffanx> Not that i need sdram, but IF .. it's more cheaper than sram :) 2012-07-24T01:39:39 <+Steffanx> -more 2012-07-24T01:40:08 < emeb> +1 SDRAM 2012-07-24T01:40:36 * emeb would like to use F4 for long audio delays & sampling. 2012-07-24T01:40:52 < emeb> PSRAM is only BGA and about 2x the price of SDRAM. 2012-07-24T01:40:59 <+Steffanx> yeah 2012-07-24T01:46:11 < bcsllc-steve> Steffanx, at what point do MCUs get hot and need cooling 2012-07-24T01:46:14 < bcsllc-steve> meaning what speed 2012-07-24T01:46:21 < bcsllc-steve> not likely / 2012-07-24T01:46:23 < bcsllc-steve> ? 2012-07-24T01:46:33 < Laurenceb_> theres L4 as well i heard 2012-07-24T01:46:45 <+Steffanx> ask Laurenceb_ 2012-07-24T01:46:49 <+Steffanx> He is our stm32 killer 2012-07-24T01:46:56 < bcsllc-steve> L4 gets hot ? 2012-07-24T01:47:02 <+Steffanx> No 2012-07-24T01:48:08 <+Steffanx> stm32 don't get hot (under normal conditions) afaik 2012-07-24T01:48:15 <+Steffanx> *stm32's 2012-07-24T01:48:18 <+Steffanx> -'s 2012-07-24T01:48:20 <+Steffanx> Earhh :P 2012-07-24T01:48:38 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-24T01:48:42 -!- peabody124 [~peabody12@128.249.96.21] has quit [Client Quit] 2012-07-24T01:49:17 <+Steffanx> When you want to kill your stm32 you should ask Laurenceb_ 2012-07-24T01:50:03 < bcsllc-steve> i dont 2012-07-24T01:51:07 <+Steffanx> zzzz 2012-07-24T01:55:54 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 264 seconds] 2012-07-24T01:56:30 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-24T02:22:46 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-24T02:34:24 < dongs> < bcsllc-steve> nothing happens after I "Download" 2012-07-24T02:34:33 < dongs> bcsllc-steve: try turning on the peripheral :) 2012-07-24T02:38:39 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-24T02:40:46 < bcsllc-steve> dongs, that was a long time ago 2012-07-24T02:41:03 < bcsllc-steve> clock wasnt enabled for GPIO 2012-07-24T02:42:37 < dongs> thats what i said. 2012-07-24T02:56:38 < bcsllc-steve> dongs,throw me a hint on how to declare/define functions to handle a specific int 2012-07-24T02:56:47 < bcsllc-steve> pleas 2012-07-24T02:56:50 < bcsllc-steve> e 2012-07-24T02:57:07 < dongs> look in the startup file 2012-07-24T02:57:12 < dongs> there's an interrupt vector list. 2012-07-24T02:57:18 < dongs> void name(void) { } not hard :) 2012-07-24T03:01:18 < bcsllc-steve> ok i see this: DCD SPI1_IRQHandler ; SPI1 2012-07-24T03:01:27 < bcsllc-steve> under __Vectors 2012-07-24T03:01:35 < bcsllc-steve> what exactly does that mean ? 2012-07-24T03:01:37 < bcsllc-steve> DCD 2012-07-24T03:01:38 < bcsllc-steve> ? 2012-07-24T03:02:29 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-24T03:02:43 < bcsllc-steve> how does the mcu translate that into " run this function for the SPI int" ? 2012-07-24T03:03:03 < dongs> there's a vector at start of flash. 2012-07-24T03:03:09 < dongs> spi interrupt has some number 2012-07-24T03:03:15 < bcsllc-steve> right 2012-07-24T03:03:20 < dongs> that number is offset from start of vector table. 2012-07-24T03:04:04 < bcsllc-steve> so that means I have to keep that list in that order ? 2012-07-24T03:04:36 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Operation timed out] 2012-07-24T03:04:42 < emeb> bcsllc-steve: you don't (shouldn't) touch that list. 2012-07-24T03:04:44 < dongs> yes but you dont need to carea bout it. 2012-07-24T03:04:44 -!- phantoneD is now known as phantoxeD 2012-07-24T03:04:53 < dongs> thats what startup file is for, all the shit is transparent to the user. 2012-07-24T03:05:00 < dongs> just declare a function with the same name 2012-07-24T03:05:00 < bcsllc-steve> ok cool 2012-07-24T03:05:03 < emeb> all those vectors should be weakly associated with a default handler 2012-07-24T03:05:10 < dongs> all vectors by default are weak refs to null handler 2012-07-24T03:05:10 < dongs> yeah 2012-07-24T03:05:11 < dongs> what he said 2012-07-24T03:05:22 < emeb> when you declare your own it overrides the weak default and uses yours. 2012-07-24T03:08:12 -!- BusError_ [~michel@host86-146-129-186.range86-146.btcentralplus.com] has joined ##stm32 2012-07-24T03:11:13 < bcsllc-steve> awesome guys thanks 2012-07-24T03:12:00 -!- BusError [~michel@host31-52-118-207.range31-52.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-07-24T03:15:53 < bcsllc-steve> i think BusError_ is having BusErrors 2012-07-24T03:22:39 < bcsllc-steve> I never used microchip libraries 2012-07-24T03:22:51 < bcsllc-steve> but i think i might for stm 2012-07-24T03:23:05 < bcsllc-steve> is there a library for periphs that I download ? 2012-07-24T03:23:38 < bcsllc-steve> like to init SPI ports 2012-07-24T03:23:42 < bcsllc-steve> read uarts 2012-07-24T03:29:48 < emeb> bcsllc-steve: http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f10x_stdperiph_lib.zip 2012-07-24T03:30:45 < emeb> or, for F0: http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f0_stdperiph_lib.zip 2012-07-24T03:31:37 < bcsllc-steve> oh thanks, im on the same page, but got stuck playing with the clock configuration tool in excel 2012-07-24T03:48:52 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2012-07-24T03:56:37 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-24T04:00:05 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-24T04:02:04 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-24T04:02:14 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has joined ##stm32 2012-07-24T04:02:40 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-24T04:03:57 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-24T04:07:15 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 255 seconds] 2012-07-24T04:07:53 < bcsllc-steve> ST.com sucks 2012-07-24T04:08:15 < bcsllc-steve> iim guess im just used to mchp 2012-07-24T04:11:33 < karlp> everyone says that at first, but you sort of get used to it 2012-07-24T04:13:52 < bcsllc-steve> yeah im sure i will 2012-07-24T04:14:04 < bcsllc-steve> its all new to me 2012-07-24T04:14:08 < bcsllc-steve> overwhelming 2012-07-24T04:15:19 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-24T04:15:26 < bcsllc-steve> and I Just bogught a pickit3 too 2012-07-24T04:15:27 < bcsllc-steve> damnit 2012-07-24T04:15:57 < bcsllc-steve> PIckit2 wont work with the PIC32 chips i wouild want to use 2012-07-24T04:16:16 < bcsllc-steve> then decided to give stm a try 2012-07-24T04:17:29 < bcsllc-steve> ok I want to do this the right way, where am i *supposed* to put the src and inc files ? 2012-07-24T04:17:43 < bcsllc-steve> or does it not really matter 2012-07-24T04:18:19 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-24T04:19:12 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-07-24T04:19:29 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-24T04:21:37 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 2012-07-24T04:23:34 < zippe> If you're trying to use the stdperiph stuff, you may want to start by cloning one of ST's complete examples and just tweaking it 2012-07-24T04:48:04 < dongs> bcsllc-steve: usually (in keil) I make a new project dir, lib\ inside that, and put CMSIS, StdPeriph folders in there. 2012-07-24T04:48:33 < dongs> lib\CMSIS\CM3\CoreSupport;lib\CMSIS\CM3\DeviceSupport\ST\STM32F10x;lib\STM32F10x_StdPeriph_Driver\inc 2012-07-24T04:48:37 < dongs> add this to -I path 2012-07-24T04:48:44 < bcsllc-steve> got it 2012-07-24T04:48:46 < dongs> add STM32F10X_MD,USE_STDPERIPH_DRIVER to defines 2012-07-24T04:48:50 < dongs> well _MD or whatever youre using 2012-07-24T04:50:08 < dongs> then you can add individual files to build, like stm32f10x_dma.c etc. 2012-07-24T04:51:07 < bcsllc-steve> Keil is nice 2012-07-24T04:52:29 < bcsllc-steve> dongs, is there a way to disable outlining by default ? 2012-07-24T04:52:35 < dongs> outlining of what 2012-07-24T04:52:45 < dongs> i'm still on old version before they switched to retardo opensauce edit control 2012-07-24T04:52:53 < dongs> not touching new shit, the editor has a fuckton of bugs 2012-07-24T04:52:56 < dongs> according to foirums 2012-07-24T04:53:12 < bcsllc-steve> okidoki 2012-07-24T04:54:02 * bcsllc-steve adds" retardo" and " opensauce" to his vocabulary 2012-07-24T04:54:04 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-24T04:57:53 < dongs> google "scintilla" 2012-07-24T04:58:01 < dongs> i have *no* f ucking idea why keil would switch to that. 2012-07-24T04:59:33 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-24T05:04:02 -!- Xamuzk [~X@189.123.3.189] has joined ##stm32 2012-07-24T05:06:40 < bcsllc-steve> why would I be getting: ..\..\..\Libs\STM32\STM32F0\src\stm32f0xx_gpio.c: error: L6002U: Could not open file stm32f0xx_gpio.o: No such file or directory 2012-07-24T05:06:40 < bcsllc-steve> doesnt the compiler create those files ? 2012-07-24T05:06:40 -!- mrcan_ [~mrcan@78.173.86.99] has joined ##stm32 2012-07-24T05:06:41 < bcsllc-steve> the inc folder is included with -l 2012-07-24T05:06:41 -!- mrcan_ [~mrcan@78.173.86.99] has quit [Changing host] 2012-07-24T05:06:41 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-24T05:07:18 -!- Xamusk [~X@189.123.3.189] has quit [Ping timeout: 264 seconds] 2012-07-24T05:08:41 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-24T05:08:48 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-24T05:09:24 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 248 seconds] 2012-07-24T05:12:35 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [] 2012-07-24T05:24:37 -!- Xamuzk [~X@189.123.3.189] has quit [Ping timeout: 252 seconds] 2012-07-24T05:39:13 < bcsllc-steve> STs datasheet sucks 2012-07-24T05:39:20 < bcsllc-steve> they need to list the pins in order 2012-07-24T05:39:24 < bcsllc-steve> the ports I mean 2012-07-24T05:39:39 < bcsllc-steve> jumping all around trying to find another pin to a port 2012-07-24T05:40:01 < dongs> no they dont 2012-07-24T05:40:42 < bcsllc-steve> why not ? 2012-07-24T05:40:56 < bcsllc-steve> how is good the way it is ?> 2012-07-24T05:42:12 < bcsllc-steve> PC0 1 2 3, then have to go find the rest 2012-07-24T05:42:14 < bcsllc-steve> on the next page 2012-07-24T05:42:24 < bcsllc-steve> with other pins of ports in between 2012-07-24T05:44:41 < dongs> ... 2012-07-24T05:44:48 < dongs> look at datasheet 2012-07-24T05:44:53 < dongs> it has a table 2012-07-24T05:44:56 < dongs> of all the stuff. 2012-07-24T05:45:07 < dongs> pdfs have this wonderful function in them called search 2012-07-24T05:45:12 < dongs> usually ctrl+f 2012-07-24T05:48:05 < bcsllc-steve> oh thats real handy 2012-07-24T05:57:43 < zippe> dongs: because their previous edit control blows 2012-07-24T05:57:55 < zippe> and scintilla can, if implemented properly, do better 2012-07-24T05:58:13 < zippe> Better to ask why they take your money and don't test what they're shipping 2012-07-24T06:00:17 < dongs> haha. 2012-07-24T06:00:28 < dongs> i know man, there are bugs in laest mdk like "SEARCH DOESNT WORK" 2012-07-24T06:00:34 < dongs> or basic usability bugs 2012-07-24T06:00:43 < dongs> for a fucking IDE< thats unexcusabe 2012-07-24T06:00:59 < dongs> zippe, do you do crypto 2012-07-24T06:01:23 < dongs> like (+) is XOR, but what the fuck is [+] ? 2012-07-24T06:02:02 < dongs> http://i.imgur.com/Jon8d.jpg 2012-07-24T06:03:14 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has joined ##stm32 2012-07-24T06:04:24 < zippe> dongs: not in public 2012-07-24T06:04:32 < dongs> oh, 'modulo addition' 2012-07-24T06:04:34 < dongs> what teh fuck is that 2012-07-24T06:04:41 < zippe> That's a mixing function 2012-07-24T06:04:48 < dongs> yeah? what does it do 2012-07-24T06:04:51 < dongs> not just | ? 2012-07-24T06:05:02 < zippe> It depends on who drew thie diagram 2012-07-24T06:05:11 < dongs> tghats the thing, they're not describing it... 2012-07-24T06:05:35 < zippe> "modulo addition" is just Y = (X + K) mod 2012-07-24T06:05:50 < zippe> Typically is the bound of the datatype 2012-07-24T06:06:14 < dongs> so its just +? 2012-07-24T06:06:21 < zippe> So if X is, e.g. a 128-bit AES block, then that's just plain old carry discard 2012-07-24T06:06:31 < zippe> Yes 2012-07-24T06:07:01 < dongs> this is M6. but yeah, ok. i thought it can only mean +. 2012-07-24T06:07:04 < zippe> It's just that being number weenies they have to be explicit that (255 + 1) = 0 2012-07-24T06:08:33 < zippe> Ah, that takes me back 2012-07-24T06:22:22 < dongs> heh now they have a box thats [-] and they bothered putting explanation that its simply (L-C) so yeah 2012-07-24T06:55:23 < dongs> the moment of truth, testvectors 2012-07-24T06:56:58 < dongs> success. 2012-07-24T07:06:27 < bcsllc-steve> dongs, i shouldnt need to &= or |= a GPIO BSRR register right ? 2012-07-24T07:06:59 < dongs> just = 2012-07-24T07:07:06 < dongs> #define digitalHi(p, i) { p->BSRR = i; } 2012-07-24T07:07:06 < dongs> #define digitalLo(p, i) { p->BRR = i; } 2012-07-24T07:07:06 < dongs> #define digitalToggle(p, i) { p->ODR ^= i; } 2012-07-24T07:07:23 < bcsllc-steve> thnaks 2012-07-24T07:10:06 < tech2077> i figured out why printf was broken 2012-07-24T07:10:15 < tech2077> it seems i'm faulting whenever i divide 2012-07-24T07:16:26 < dongs> boo-urns 2012-07-24T07:16:45 < tech2077> ? 2012-07-24T07:18:22 < PaulFertser> tech2077: what toolchain are you using? 2012-07-24T07:19:03 < tech2077> not sure about this one, it's the new gcc prebuilt arm embedded one 2012-07-24T07:19:54 < PaulFertser> tech2077: hm, that should be good to go provided the correct multilib variant is selected. 2012-07-24T07:21:44 < tech2077> yep 2012-07-24T07:22:00 < PaulFertser> tech2077: i had a sprintf issue when i was fully self-building the toolchain not supplying --mfloat-abi=soft (not softfp) 2012-07-24T07:22:21 < tech2077> i went and implemented my own printf 2012-07-24T07:22:50 < tech2077> it has what i need, no float output though, but i wouldn't enable that anyway due to the memory and space usage 2012-07-24T07:24:13 < PaulFertser> I had hardfaults with sprintf and so i've set a breakpoint and single-stepped instructions until i saw it trying to execute some VFP which is unavailable on F105, so i just recompiled newlib with the correct flags and that was it :) 2012-07-24T07:24:16 < tech2077> i just needed division for an fast atio implementation 2012-07-24T07:24:50 < tech2077> i looked further, and it's not a division problem with printf 2012-07-24T07:25:00 < tech2077> it's something strange though, it doesn't fault 2012-07-24T07:25:05 < tech2077> it just refuses to print 2012-07-24T07:27:28 < tech2077> also, with builtin printf, my code increases in size ~3 fold 2012-07-24T07:32:48 < zippe> PaulFertser: if you are getting vfp instructions, you are passing the wrong options to the compiler 2012-07-24T07:33:37 < PaulFertser> zippe: yes, but my point was that i wasn't passing anything wrong during compilation of my own program, i did it while building the toolchain. 2012-07-24T07:37:01 < zippe> PaulFertser: This is why you use the canned version 8) 2012-07-24T07:37:43 < cjbaird> PaulFertser: Got patch#3 working! (and it's /fast/ :) 2012-07-24T07:38:30 < cjbaird> "dumped 131072 bytes in 0.876915s (145.966 KiB/s)" 2012-07-24T07:38:47 < cjbaird> (with a stm32F4-d) 2012-07-24T07:40:32 < cjbaird> Using shorter wires... was something I should've done earlier.. -_- 2012-07-24T07:44:12 < cjbaird> heresy pix: http://i.imgur.com/FjHlE.jpg .. How fast are 'real' jtag interfaces? 2012-07-24T07:48:40 < dongs> Programming target (1048576 bytes, 1 range) ... - RAM tested O.K. - Target programmed successfully - Completed after 9.284 sec 2012-07-24T07:48:45 < dongs> F4 full flash write. 2012-07-24T07:56:14 < cjbaird> So.. wanna buy a Raspberry Pi now? 2012-07-24T07:56:37 < cjbaird> :D 2012-07-24T07:58:38 < dongs> ... thats WRITES. 2012-07-24T08:00:40 < dongs> - Target memory read successfully. (1048576 bytes, 1 range) - Completed after 2.280 sec 2012-07-24T08:00:44 < dongs> thanks. 2012-07-24T08:04:19 < cjbaird> No-one's stopping you if you still want to get one. :) 2012-07-24T08:07:29 < dongs> i already have a shitty imx25 lunix shit. 2012-07-24T08:07:34 < dongs> useless shit is useless. 2012-07-24T08:09:30 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-24T08:12:19 < dongs> and I got a gumstix overo laying aroudn somewehre. 2012-07-24T08:15:14 < bcsllc-steve> WTF Why does STM32 come in 80 pin packages 2012-07-24T08:15:18 < bcsllc-steve> doesnt 2012-07-24T08:22:11 -!- claude is now known as Claude 2012-07-24T08:27:59 < jpa-> bcsllc-steve: why would 80 pins be better than 44 or 100? 2012-07-24T08:28:06 < jpa-> do you want 72 and 96 also? 2012-07-24T08:50:12 < tech2077> i can't seem to link correctly when using the libopencm3 makefile with my project 2012-07-24T08:50:26 < tech2077> i can't use st-flash and gdb complains about no code section 2012-07-24T09:00:45 < PaulFertser> cjbaird: awesome, if you report it on Gerrit (along with your thoughts about the necessity of having some command to re-configure the pins) it would be even more cooler :) 2012-07-24T09:02:34 < tech2077> now i finally have a good makefile 2012-07-24T09:02:56 < tech2077> seems -fno-common was breaking something really random in my code 2012-07-24T09:03:30 < cjbaird> PF: I'm your personal army. 2012-07-24T09:03:32 < cjbaird> :) 2012-07-24T09:04:26 < PaulFertser> cjbaird: many thanks for testing, really appreciated :) 2012-07-24T09:21:54 -!- dekar_ [~dekar@212.255.36.249] has joined ##stm32 2012-07-24T09:21:57 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-07-24T09:25:54 -!- dekar [~dekar@212.255.33.215] has quit [Ping timeout: 264 seconds] 2012-07-24T09:28:03 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-24T09:44:29 < jpa-> tech2077: do you have your own entry point (Init_Data) or do you rely on newlib crt0? 2012-07-24T09:44:59 < jpa-> -no-common won't link the newlib's crt0 => you have no entry point => if you also have -fgc-sections, you'll have no code 2012-07-24T09:45:15 < jpa-> you should get some warnings though :) 2012-07-24T09:46:47 -!- Claude is now known as claude 2012-07-24T09:58:22 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-24T10:08:40 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-24T10:08:50 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Client Quit] 2012-07-24T10:41:25 < tech2077> jpa-, i have entry code, but it seems i accidentally left it out of my linker script 2012-07-24T10:47:44 < tech2077> now i just have to start modularizing everything 2012-07-24T10:48:14 < tech2077> did the hard part of moving from single file to organized multi-file project 2012-07-24T10:51:09 < cjbaird> I have my Lemote using fbterm in "VIC20 mode"-- the same character set, colours, etc. It's fucking awesome. :) 2012-07-24T10:55:01 < cjbaird> http://i.imgur.com/RJH1M.jpg 2012-07-24T11:04:41 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-24T11:20:51 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 245 seconds] 2012-07-24T11:22:41 <+dekar_> not too pretty imo 2012-07-24T11:23:54 <+dekar_> I barely use those framebuffer terminals anyway, stuff running on X is just better imo 2012-07-24T11:24:08 < cjbaird> export PS1="\nREADY.\n" 2012-07-24T11:24:37 < cjbaird> The Lemote has an SiS chipset.. :/ 2012-07-24T11:25:44 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-24T11:26:00 < dongs> lameote. 2012-07-24T11:26:15 < dongs> http://i.imgbox.com/abqohG7r.jpg 2012-07-24T11:26:22 < dongs> (yes, cuz imgur rapes resolution 2012-07-24T11:27:11 < cjbaird> I have a Chinese Spy who'll hopefully score one of the Loongson3a laptops when he visits the mothercountry in August.. 2012-07-24T11:29:24 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-24T11:29:50 <+dekar_> dongs, what are those? 2012-07-24T11:29:58 <+dekar_> I like the color :) 2012-07-24T11:30:25 < dongs> color: blogtastic blue 2012-07-24T11:31:43 < Laurenceb_> arg wtf 2012-07-24T11:31:55 < Laurenceb_> 9:30 am im supposed to be at work 2012-07-24T11:33:05 < Laurenceb_> i was breaming i was walking around a city center late at night tazering drunk people 2012-07-24T11:33:32 < Laurenceb_> EAT THIS BITCH BZZZZZZZZ 2012-07-24T11:34:00 < Laurenceb_> but now its 9:30am 2012-07-24T11:34:03 < Laurenceb_> shit shucks 2012-07-24T11:34:12 < Laurenceb_> *sucks 2012-07-24T11:35:09 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-24T12:08:38 < Oldboy> http://www.axio.ms/projects/stm32-241/chopped.jpg 2012-07-24T12:09:07 < Laurenceb_> hahaha 2012-07-24T12:10:27 < Laurenceb_> for stlink? 2012-07-24T12:10:33 <+dekar_> -.- 2012-07-24T12:10:40 < Oldboy> http://www.axio.ms/projects/stm32-241/ 2012-07-24T12:16:45 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 252 seconds] 2012-07-24T12:39:13 < cjbaird> At least there's one person here who can called themselves a man... 2012-07-24T12:40:07 < Oldboy> I don't like to brag about it. 2012-07-24T12:42:08 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has joined ##stm32 2012-07-24T13:16:44 < karlp> tech2077: your div problems with printf, I had that when ever I tried to print a number bigger than 10, 2012-07-24T13:17:00 < karlp> it was caused by only passing -mcpu=cortex-m3 to the compiler, not also to the linker. 2012-07-24T13:18:47 < PaulFertser> FYI RPi seems to be capable to software bitbang a single GPIO at 14MHz (that's by writing to the mmaped /dev/mem from a tight loop in the userspace). 2012-07-24T13:19:37 < karlp> PaulFertser: ahh, that answers my question. 2012-07-24T13:19:48 < PaulFertser> karlp: what was your question? 2012-07-24T13:19:59 < karlp> you aren't using the gpio interface in a kernel module for this, but userspace mmap 2012-07-24T13:20:25 < karlp> so this rpi driver is fixed for this broadcom chip and it's memory addresses. 2012-07-24T13:20:46 < karlp> oocd has a gpio driver already I thought, which I guess worked, but wasn't as fast? 2012-07-24T13:21:49 < PaulFertser> karlp: i've tested two different drivers, see http://openocd.zylin.com/762 and http://openocd.zylin.com/758 2012-07-24T13:22:33 < PaulFertser> karlp: no, there's no gpio driver available, but the day before i was going to test my driver some AU guy sent his sysfsgpio driver so i've tested them both 2012-07-24T13:24:42 < PaulFertser> Anything else i should test while i have a scope handy? 2012-07-24T13:25:56 < cjbaird> PaulFertser: "having some command to re-configure the pins" -- that's to provide a command-line argument to openocd for assigning jtag T* signals to arbitary gpio pins? 2012-07-24T13:26:38 < PaulFertser> cjbaird: yes, something like what the sysfsgpio driver has. 2012-07-24T13:40:42 < karlp> ok, so the sysfs driver is good and useful, because it will work for just about any board, and your memmapped ios is good for the rpi, because it's much faster then. 2012-07-24T13:49:29 < PaulFertser> karlp: exactly 2012-07-24T13:51:57 -!- claude is now known as claude_work 2012-07-24T13:53:11 < dongs> lol, mpu3300 is $60/ea 2012-07-24T13:53:24 < dongs> ordering: one 2012-07-24T13:57:02 < Laurenceb> whats so good about it 2012-07-24T13:57:10 < dongs> its "industrial" 2012-07-24T13:57:28 < dongs> 0.005dps/sqrthz noise 2012-07-24T13:57:33 < Laurenceb> shrug 2012-07-24T14:01:12 < dongs> heh 2012-07-24T14:01:14 < dongs> no U 2012-07-24T14:04:24 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 260 seconds] 2012-07-24T14:04:35 < dongs> got anything better? 2012-07-24T14:04:45 < dongs> im placing inventrash order 2012-07-24T14:04:52 < dongs> figured i add one of mpu3300 just for lulz 2012-07-24T14:05:05 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-24T14:05:19 < cjbaird> These are for putting into fly manchild toys? 2012-07-24T14:07:34 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Connection reset by peer] 2012-07-24T14:07:54 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-24T14:09:27 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 248 seconds] 2012-07-24T14:09:58 < dongs> mantits 2012-07-24T14:10:30 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-24T14:11:51 < cjbaird> *flying ... How does the 15deg/hour 'bias instablity' affect things in real terms? 2012-07-24T14:12:16 < cjbaird> Temperature variation is even worse.. 2012-07-24T14:12:36 < Laurenceb> manboypig 2012-07-24T14:13:37 < cjbaird> moobs 2012-07-24T14:14:47 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 248 seconds] 2012-07-24T14:16:34 < dongs> hmm these crm gyros are even worse,, 40"/hr in 900dps mode 2012-07-24T14:20:06 < cjbaird> I'm thinking that temperature variation can be a real biter, considering it's easy to get a 50degC difference going up less than a kilometre.. 2012-07-24T14:20:20 < dongs> that can be calibrated easily 2012-07-24T14:20:27 < Laurenceb> or cancled out 2012-07-24T14:20:30 < dongs> but apparently some of these shitty ones have hysteresis 2012-07-24T14:20:43 < dongs> going one way in temp results in different data than going in reverse. 2012-07-24T14:21:06 < dongs> http://forum.sparkfun.com/viewtopic.php?f=14&t=31992 2012-07-24T14:21:54 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-24T14:23:06 < Laurenceb> interesting 2012-07-24T14:23:19 < Laurenceb> for low drift the melexis stuff is ideal 2012-07-24T14:23:29 < Laurenceb> its used in boeing mini uavs too 2012-07-24T14:24:05 < dongs> melexis ist all EOL/etc 2012-07-24T14:24:25 < Laurenceb> yeah 2012-07-24T14:26:16 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 245 seconds] 2012-07-24T14:28:56 < dongs> We do not test MPU 6050 gyro accuracy / performance over the heat cycle. Just that the device continues operating. It’s possible that the delta T results in a faster device random walk during periods of fast heating /cooling, which would present as hysteresis. We don’t perform those tests, so we don’t have additional data to offer. 2012-07-24T14:29:02 < dongs> best reply ever. 2012-07-24T14:32:49 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-24T14:35:43 -!- cjbaird [~cjb@ppp121-44-130-237.lns20.syd7.internode.on.net] has quit [Ping timeout: 252 seconds] 2012-07-24T14:37:11 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 248 seconds] 2012-07-24T14:38:16 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-24T14:54:46 < Laurenceb> hell yeah 2012-07-24T14:55:04 < Laurenceb> rewritten spectrometer code works at last 2012-07-24T14:58:17 < Laurenceb> 15ENOB/channel 2012-07-24T14:58:27 < Laurenceb> for 4 channels 2012-07-24T14:58:32 < Laurenceb> its hawt 2012-07-24T14:59:17 < Laurenceb> annoyingly i have weird led power fluctuation with a 1/f spectrum tho :( 2012-07-24T15:02:11 < Laurenceb> http://i.imgur.com/VL7LS.png 2012-07-24T15:03:30 < Laurenceb> pwned 2012-07-24T15:32:52 < karlp> what is that graphing? 2012-07-24T15:39:10 < Laurenceb> light intensity 2012-07-24T15:39:20 < Laurenceb> at easy wavelength 2012-07-24T15:40:35 < Laurenceb> so it pwms the leds and looks at the signal 2012-07-24T15:40:51 < Laurenceb> then calculated optical transmission at each wavelength 2012-07-24T15:40:56 < Laurenceb> *calculates 2012-07-24T16:01:44 < karlp> woo, is digikey's website uber slow for you guys too? 2012-07-24T16:02:07 < Oldboy> digikey.com loads fine 2012-07-24T16:16:00 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-245-160.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-24T16:31:27 < dongs> yeah digikey is FUCKING SLOW 2012-07-24T16:31:35 < dongs> i was trying to search some shit 2012-07-24T16:31:36 < dongs> its like they're getting paxed 2012-07-24T16:31:38 < dongs> rage. 2012-07-24T16:35:56 < karlp> I wouldn't go as far as rage, but yeah :) 2012-07-24T16:38:11 < dongs> http://a8.sphotos.ak.fbcdn.net/hphotos-ak-prn1/528877_456760721011975_1000904720_n.jpg 2012-07-24T16:38:14 < dongs> old but funny. 2012-07-24T16:41:34 < Laurenceb> i dont get it 2012-07-24T16:41:54 < dongs> the first rule of fight club.. 2012-07-24T16:42:23 < dongs> so Laurenceb what the fuck new nonshit sensors are there 2012-07-24T16:42:31 < dongs> anything worth wasting time with 2012-07-24T16:51:35 < Laurenceb> http://www.youtube.com/watch?feature=player_detailpage&v=IXHu9vxVKX0#t=66s 2012-07-24T16:53:14 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-24T16:55:43 < dongs> whats hte funny 2012-07-24T16:57:02 < Laurenceb> they killed her 2012-07-24T17:00:55 < cjbaird> jpa-: ...I'm now reentering that 60 mapping days worth of Openstreetmap data. ;_; 2012-07-24T17:03:22 < Laurenceb> http://hackaday.com/2012/07/23/the-proper-way-to-put-an-arduino-in-a-raspberry-pi/ 2012-07-24T17:09:00 < jpa-> cjbaird: why? 2012-07-24T17:10:24 < jpa-> ie. why was it lost? 2012-07-24T17:11:09 < dongs> Laurenceb: how 2012-07-24T17:12:41 < cjbaird> Newcastle was initially traced from Yahoo imagery by a Denier (over about 2-3 nights of armchair mapping) .. The 60 mapping trips I did where to get the street maps & etc, that were added onto the ways he added.. When his data was nuked... so was all of mine. :/ 2012-07-24T17:13:38 < jpa-> :/ 2012-07-24T17:14:16 < cjbaird> http://osm.org/go/uYumaXQ .. the bits that remain are mostly areas I did. 2012-07-24T17:15:00 < cjbaird> Fortunately, I still have all the GPS traces and geolocated photos I used.. That's what I getting out to the restoration effort now. 2012-07-24T17:17:00 < cjbaird> Expect a few new streetmaps like "Biogenesis_is_a_cocksucker", though. :P 2012-07-24T17:20:44 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-24T17:20:56 < cjbaird> *street names 2012-07-24T17:23:18 < jpa-> historic=monument 2012-07-24T17:25:06 < Laurenceb> http://arduino.cc/blog/wp-content/uploads/2012/06/adk2012.jpg 2012-07-24T17:25:14 < Laurenceb> arduino due spotted 2012-07-24T17:25:40 < dongs> ........ 2012-07-24T17:26:05 < dongs> is that a fuckign ftdi 2012-07-24T17:26:09 < Laurenceb> yes 2012-07-24T17:26:09 < Oldboy> #define USB_STLINK_PID 0x3744 2012-07-24T17:26:09 < Oldboy> #define USB_STLINKv2_PID 0x3748 2012-07-24T17:26:21 < dongs> dddddddddddddddddddddddddddddd 2012-07-24T17:26:28 < jpa-> that's a big processor for arduino 2012-07-24T17:26:56 < Oldboy> dongs: I'm thinking of upgrading a ST-Link v1 board to v2 by flipping the PID values in the st-linkupgrade.exe program. 2012-07-24T17:27:01 < Oldboy> think that's ok ? 2012-07-24T17:27:12 < Laurenceb> whyyyyyyy 2012-07-24T17:27:27 < jpa-> Oldboy: what do you think that will do? 2012-07-24T17:27:32 < dongs> Oldboy: thats not what it checks. 2012-07-24T17:27:54 < dongs> tehres a version command or so mething. 2012-07-24T17:27:58 < Oldboy> jpa-: it will get back the PID for V1 and think its a V2 board 2012-07-24T17:27:59 < Oldboy> ? 2012-07-24T17:28:11 < Oldboy> dongs: oh :( 2012-07-24T17:28:24 < jpa-> are they really totally the same in hardware? 2012-07-24T17:28:29 < dongs> of course 2012-07-24T17:28:31 < Oldboy> the LED is different 2012-07-24T17:28:55 < dongs> i just patched the check inside debugger 2012-07-24T17:29:05 < dongs> the firmware is AES'd inside stlinkupgrade.exe 2012-07-24T17:29:07 < dongs> wiht some silly passwords 2012-07-24T17:29:09 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-24T17:30:00 < Oldboy> dongs: I don't know how to recognize the check 2012-07-24T17:30:14 < dongs> once you run it in debugger and step thorugh it will be clear. 2012-07-24T17:30:25 < Oldboy> ok 2012-07-24T17:31:02 < jpa-> quite strange for them to sell st-link for $10 and then guard the firmware so closely 2012-07-24T17:31:18 < Oldboy> they're probably embarassed to release it publicly 2012-07-24T17:31:32 < jpa-> why not even open-source it and make the stm32 more attractive by having good debug support 2012-07-24T17:32:10 < jpa-> Oldboy: looking at the stuff they *do* release, i don't think they could be more embarassed 2012-07-24T17:32:34 < dongs> lo 2012-07-24T17:32:38 < cjbaird> Contractors being asswipes... 2012-07-24T17:33:07 < Oldboy> whoa! IDA has a freeware version! 2012-07-24T17:35:54 < karlp> IDA? 2012-07-24T17:38:52 < jpa-> interactive disassembler 2012-07-24T17:46:51 < karlp> hah! 0.4" of ground plane in all directions. 2012-07-24T17:46:53 < karlp> like hell. 2012-07-24T17:47:33 < dongs> 0.25um is what, 250nm? 2012-07-24T17:48:01 < dongs> yeah it is. 2012-07-24T17:48:03 < dongs> hmm 2012-07-24T17:48:03 < dongs> thats huge. 2012-07-24T17:48:49 < ntfreak> we should soon be able to convert the stlink to cmsis-dap support - http://www.keil.com/support/man/docs/dapdebug/dapdebug_introduction.htm 2012-07-24T17:48:49 < ntfreak> If anyone has access to ARM Silver you can download the src now. Arm have developed this as a low cost arm debugger. 2012-07-24T17:48:49 < ntfreak> The cmsis-dap currently supports OpenSDA (freescale) and LPC-Link 2012-07-24T17:50:22 < karlp> sounds like a good idea 2012-07-24T17:50:53 < dongs> indeed 2012-07-24T17:50:58 < dongs> where's the sauce? 2012-07-24T17:52:23 < dongs> did they finish fixing all the scintilla bugs in latest mdk? 2012-07-24T17:53:48 < ntfreak> it is beta at the moment and you need a Arm silver account to access. I have asked arm whether it can be released earlier. 2012-07-24T17:53:48 < ntfreak> I have started OpenOCD support, but is is early stages. 2012-07-24T17:55:07 < ntfreak> dongs: anything is better than the previous mdk editor 2012-07-24T17:55:17 < dongs> uh no. 2012-07-24T17:55:34 < dongs> i'm still on 4.23 cause i heard horror stories of the new one. 2012-07-24T17:55:41 < dongs> like basic shit like search/replace not working. 2012-07-24T17:55:42 < dongs> etc. 2012-07-24T17:55:59 < dongs> and people whining on forums and shit not getting fixed. 2012-07-24T17:56:41 < ntfreak> dongs: guess thats a matter of taste - i need latest as i am doing a lot with emwin graphics lib. 2012-07-24T17:56:55 < dongs> i was just looking at that. 2012-07-24T17:57:47 < ntfreak> quite good, but i am using custom hardware, so am fixing a lot of bugs for them (arm/segger). 2012-07-24T17:59:38 < dongs> this is all tied into RTX shit? 2012-07-24T18:00:03 < ntfreak> you can use standalone 2012-07-24T18:00:44 < dongs> does it support drawing shit into a framebuffer 2012-07-24T18:00:59 < dongs> thats about teh only use i'd have for it. 2012-07-24T18:01:15 < dongs> cause i would need to draw shit for this OSD and I'm too lazy to remember all the bresenham etc shit. 2012-07-24T18:01:36 < dongs> catch: framebuffer is 1bit. 2012-07-24T18:01:52 < ntfreak> sure does, but i am using a WVGA tft, so direct access only for me. 2012-07-24T18:02:26 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-24T18:02:31 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Client Quit] 2012-07-24T18:05:04 < dongs> im sure im gonna regret this. 2012-07-24T18:08:50 < dongs> (installing 4.54 2012-07-24T18:09:26 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-24T18:10:13 < dongs> ... 2012-07-24T18:11:18 < dongs> nasty colors 2012-07-24T18:11:33 < dongs> my 'show spaces/tabs' setting is gone. 2012-07-24T18:13:36 < ntfreak> just need to enable it under Configuartion. 2012-07-24T18:16:38 < dongs> ok 2012-07-24T18:16:45 < dongs> it seeems to scroll faster at least with that enabled. 2012-07-24T18:17:36 < dongs> and it doesnt make .hex file anymore.. even though thats checked. 2012-07-24T18:17:36 < dongs> wtf 2012-07-24T18:17:53 < dongs> o wait looking in wrong project lol 2012-07-24T18:19:20 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-24T18:19:31 < dongs> oh, neat 2012-07-24T18:19:37 < dongs> so memdev stuff does support 1bpp. 2012-07-24T18:20:00 < dongs> but can I get a pointer to taht memory? 2012-07-24T18:20:05 < dongs> or beter yet, give my own? 2012-07-24T18:20:39 < dongs> ok found it. 2012-07-24T18:20:43 < dongs> seems liek this should work for me. 2012-07-24T18:21:05 < ntfreak> afraid you will have to rtm, i only ever use >= 16bps panels 2012-07-24T18:21:49 < dongs> For layers with 8 bpp or less, 8 bits (1 byte) are used per pixel; for layers 2012-07-24T18:21:50 < dongs> with more than 8 and less or equal 16 bpp, a 16 bit value (U16) is used for one pixel. 2012-07-24T18:21:53 < dongs> ????? 2012-07-24T18:21:57 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-24T18:21:59 < dongs> 1bpp is still one fucking byte? 2012-07-24T18:22:01 < dongs> well, scratch that. 2012-07-24T18:22:27 < dongs> i cant have 400x200 screen on F1 with 1byte=pixel 2012-07-24T18:24:27 -!- claude_work is now known as claude 2012-07-24T18:24:28 < dongs> ntfreak: bitch at them to implement proper 1bpp support wtf 2012-07-24T18:32:40 < ntfreak> dongs: where did you get that info from ? 2012-07-24T18:33:14 < dongs> which info? its right in the docs pdf 2012-07-24T18:33:18 < dongs> search it for that text 2012-07-24T18:33:21 < dongs> around memdev docs 2012-07-24T18:40:35 < dongs> page 287 2012-07-24T18:42:12 < dongs> http://i.imgur.com/1Zbbb.jpg party outside the house. 2012-07-24T18:42:26 < ntfreak> strange as the memory requirements section states (XSIZE + 7) / 8 * YSIZE 2012-07-24T18:42:26 < ntfreak> Another thing to look at is the driver, as most implement caching as an option. 2012-07-24T18:44:03 < dongs> if you read 'organization of data area' stuff, it clearly says 'data area is x*y pixels for 8bpp and 2*x*y for 1bpp 2012-07-24T18:44:19 < dongs> err 16bpp ^ 2012-07-24T18:44:33 < dongs> where are you se eing xsize +7/8? 2012-07-24T18:44:49 < dongs> hmm 2012-07-24T18:44:52 < ntfreak> p278 2012-07-24T18:44:57 < dongs> yeah im there 2012-07-24T18:45:31 < dongs> so 287 says ot herwise. 2012-07-24T18:45:34 < dongs> whats up with that? 2012-07-24T18:47:53 < karlp> groovy, added a ground plane, eliminated vias. 2012-07-24T18:48:32 < dongs> ntfreak: sinec you have the shit available, do a quick test with 1bpp memdev and let me know. 2012-07-24T18:48:43 < dongs> then i won't bother if it needs 8byets/pixel in 1bpp mode. 2012-07-24T18:52:16 < ntfreak> dongs: not so trivial to test as all the drivers i am using are 16bpp - i will try and have a look into it. 2012-07-24T18:52:32 < dongs> it seems it might work though. 2012-07-24T18:53:08 < dongs> im nto sure why that section talks about 8bit, you'd think they woudl handle the most usual case of monochrome screens in a less wasteful way 2012-07-24T18:54:00 < dongs> ill give it a try, anyhow, not at 1am though. 2012-07-24T18:54:17 < ntfreak> I am guessing p278 is correct and it only uses 1bpp memory 2012-07-24T18:54:24 < dongs> thats what I think, too 2012-07-24T18:54:50 < dongs> only one possibility is 2012-07-24T18:54:54 < dongs> it natively draws in 1bpp 2012-07-24T18:55:07 < dongs> but GetdataPTR() for some dumb? reason moves e verything into bytes 2012-07-24T18:55:20 < dongs> that would make so little sense though 2012-07-24T18:55:27 < dongs> so its probably just a mistake in docs. 2012-07-24T18:55:46 < dongs> and the function probably woudlnt be called 'ptr' since it would be returning a new buffer. 2012-07-24T19:01:49 < Laurenceb> http://www.telegraph.co.uk/news/worldnews/europe/eu/8404081/Disgraced-Tory-MEP-faces-criminal-charges.html 2012-07-24T19:01:51 < Laurenceb> wait wut 2012-07-24T19:01:57 < Laurenceb> is that a troll article 2012-07-24T19:02:30 < dongs> why is font converter "demoversion" 2012-07-24T19:03:36 < dongs> This demo version will NOT produce 2012-07-24T19:03:36 < dongs> a usuable output file, 2012-07-24T19:03:36 < dongs> because pixel data will not be accurate. 2012-07-24T19:03:37 < dongs> ... ? 2012-07-24T19:03:38 < zippe> dongs: So did lizardboy get his snack? 2012-07-24T19:03:43 < dongs> zippe: seems no 2012-07-24T19:03:50 < dongs> they went in opposite directions after a while. 2012-07-24T19:03:59 < zippe> win-win then 2012-07-24T19:04:11 < dongs> wtf 2012-07-24T19:04:56 < zippe> They both eat things you'd much rather not have around 2012-07-24T19:05:40 < dongs> http://i.imgur.com/4hbn0.jpg spider got something though 2012-07-24T19:07:54 < zippe> I miss hunting spiders 2012-07-24T19:08:16 < zippe> The selection in SF is pretty miserable 2012-07-24T19:08:17 < cjbaird> I missing huggible spiders: http://i.imgur.com/LyicC.jpg 2012-07-24T19:08:49 < zippe> 8) 2012-07-24T19:08:49 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has joined ##stm32 2012-07-24T19:13:40 < dongs> ntfreak: 'demo'? how does a dude convert fonts. 2012-07-24T19:16:07 < dongs> oh what the fuck 2012-07-24T19:16:11 < dongs> 2200 eur for font converter. 2012-07-24T19:16:23 < dongs> I think I'll just write out 0b011010 myself. 2012-07-24T19:16:25 < dongs> bbl 2012-07-24T19:16:35 < zippe> umm, sec 2012-07-24T19:16:49 < zippe> http://www.fontconverter.org/ 2012-07-24T19:16:51 < zippe> right> 2012-07-24T19:16:51 < dongs> http://www.segger.com/pricelist-emwin.html 2012-07-24T19:16:53 < dongs> no. 2012-07-24T19:17:00 < zippe> What's your problem? 2012-07-24T19:17:12 < dongs> none, it came with a demo app that works but the 'C' it outputs is just random bits 2012-07-24T19:17:18 < dongs> so i was like ok, demo version. 2012-07-24T19:17:25 < dongs> you'd think something like that wouldcost mayb e $39.95. 2012-07-24T19:17:28 < dongs> but 2.2k eur?! 2012-07-24T19:17:30 < dongs> da fuq. 2012-07-24T19:17:32 < zippe> Are you trying to create, or convert an existing one? 2012-07-24T19:17:48 < dongs> create. and like i said, I'll probably just freakin output my own bitmaps by hand 2012-07-24T19:17:59 < zippe> FontForge 2012-07-24T19:18:02 < dongs> lunix? 2012-07-24T19:18:04 < zippe> http://fontforge.sourceforge.net/ 2012-07-24T19:18:08 < zippe> Multiplatform 2012-07-24T19:18:16 < dongs> does it output as C? 2012-07-24T19:18:27 < dongs> or headery-like shit anyway. 2012-07-24T19:19:47 < zippe> You can output as bdf, which is easily converted to C (e.g. via bdf2c) 2012-07-24T19:20:04 < zippe> http://sourceforge.net/projects/bdf2c/ 2012-07-24T19:20:19 < zippe> Be warned, FontForge is a real fontography tool 2012-07-24T19:20:25 < zippe> It's not a pixel editor 2012-07-24T19:20:31 < dongs> Right 2012-07-24T19:20:48 < cjbaird> I 2012-07-24T19:20:51 < dongs> i wonder if it uses freetype and its retarded broken hinting 2012-07-24T19:21:00 < zippe> No, it's all custom 2012-07-24T19:21:23 < dongs> so it'll properly render hinted ttf as bitmap without making it look like lunix desktop fonts? 2012-07-24T19:21:36 < cjbaird> I've used FontCreator by a Thiele guy for generating header files fonts.. however his site seems to have evaporated. 2012-07-24T19:22:18 < zippe> dongs: Don't ask me; read the FontForge FAQ 2012-07-24T19:22:26 < dongs> yeah. 2012-07-24T19:22:45 < dongs> christ, windows isntall instrcutions tucked away s omewehre after 'building from sores (snore), lunix, macos install isntructions. 2012-07-24T19:22:47 < zippe> I have used it with considerable success converting heavily-hinted low-pixel-count TTF fonts from various font collection sites for low-rez LCDs 2012-07-24T19:22:57 < dongs> i think im gonna load that shit up in a VM and snapshot it ifrst 2012-07-24T19:23:22 < zippe> But I don't want to be in that guy's head 2012-07-24T19:23:45 < dongs> oh dude what the fuck cygwin? 2012-07-24T19:23:59 < dongs> Instead of downloading cygwin you can install one of the virtual machines (or something similar) which run linux, and then install fontforge from a linux package. haha.. 2012-07-24T19:24:29 < dongs> http://www.geocities.jp/meir000/fontforge/ looks like this guy is still maintaining a more sane versiron. 2012-07-24T19:26:51 < dongs> deleting with fire. 2012-07-24T19:30:29 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-24T19:30:46 < BrainDamage> wait, geocities?! 2012-07-24T19:31:34 < dongs> .jp 2012-07-24T19:31:37 < dongs> unaffected. 2012-07-24T19:36:15 < Oldboy> yet another reason why Japan is awesome 2012-07-24T19:40:57 < karlp> I'm not sure if "still having geocities" counts as awesome 2012-07-24T19:42:22 < emeb> rofl 2012-07-24T19:51:11 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-24T20:00:31 -!- Netsplit *.net <-> *.split quits: grummund, R0b0t1, erik-k, Vutral 2012-07-24T20:02:39 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-24T20:02:39 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-24T20:02:39 -!- R0b0t1 [~dev@unaffiliated/r0b0t1] has joined ##stm32 2012-07-24T20:02:39 -!- erik-k [~erik-k@63-155-132-22.eugn.qwest.net] has joined ##stm32 2012-07-24T20:13:25 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-24T20:18:52 < jpa-> dongs: the bdf fonts from Xorg are quite ok and the format is easy to convert with a simple script 2012-07-24T20:34:49 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-24T20:55:07 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-24T21:20:04 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-24T21:25:39 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2012-07-24T21:41:02 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-24T22:00:54 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-24T22:04:13 < Laurenceb_> can you run usb with stm clked from internal osc? 2012-07-24T22:04:41 < zyp> IIRC it's not stable enough 2012-07-24T22:05:37 < zyp> IIRC the F4 bootloader will only enable usb mode if it can detect availability of external oscillator and change to it, so I guess it's a reason for that. 2012-07-24T22:07:13 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-24T22:07:16 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-24T22:07:24 < Laurenceb_> hmf 2012-07-24T22:07:27 < Laurenceb_> sucks 2012-07-24T22:07:36 < Laurenceb_> i guess ceramic osc would work 2012-07-24T22:07:45 < Thorn> no, it's disallowed in the ref manuals iirc 2012-07-24T22:07:45 <+Steffanx> Don't guess 2012-07-24T22:07:51 <+Steffanx> *Nu 2012-07-24T22:08:08 < Laurenceb_> rage 2012-07-24T22:08:33 < Laurenceb_> trying to make a 12mm diameter board 2012-07-24T22:08:44 < zyp> Thorn, I'm pretty sure the usb peripheral aren't aware of the true clock source, so nothing stops you from trying 2012-07-24T22:09:29 < Laurenceb_> is there a trim register? 2012-07-24T22:10:16 < zyp> Laurenceb_, so, what's your new failproject? 2012-07-24T22:10:34 < zyp> what about trying to make something that'll work for a change? :p 2012-07-24T22:10:40 < Laurenceb_> lol 2012-07-24T22:10:50 < Thorn> for the internal oscillator? don't think so (at least not in f1) 2012-07-24T22:11:05 < Laurenceb_> im trying to make a disposable accessory for fandroid phones 2012-07-24T22:11:24 <+Steffanx> Hey zyp when you fix your project? 2012-07-24T22:11:25 <+Steffanx> :) 2012-07-24T22:11:31 <+Steffanx> *OS 2012-07-24T22:11:39 < zyp> when I get my home internet back 2012-07-24T22:11:57 <+Steffanx> Time for another isp? 2012-07-24T22:12:06 < Laurenceb_> no porn for you 2012-07-24T22:12:16 < zyp> nah, it's the only decent choice 2012-07-24T22:12:46 <+Steffanx> Decent :) 2012-07-24T22:13:07 < zyp> as in non-shitty 2012-07-24T22:13:48 < zyp> I don't think any other isp is able to provide >10 Mb/s to my address, I've got 70 2012-07-24T22:16:53 < Laurenceb_> aha 2012-07-24T22:17:03 < Laurenceb_> it should work with the hsitrim register 2012-07-24T22:17:26 < Laurenceb_> full speed usb is +-0.25% 2012-07-24T22:17:55 < Laurenceb_> and hsi trim will get you that 2012-07-24T22:21:41 < Laurenceb_> but it wont work with factory cal 2012-07-24T22:44:58 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-24T22:59:26 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2012-07-24T23:00:32 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-24T23:02:16 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-24T23:11:08 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-07-24T23:12:55 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-24T23:28:41 < Laurenceb_> http://www.mogamicable.com/category/bulk/ultra_flex_mini/ 2012-07-24T23:28:50 < Laurenceb_> think i could run usb up that? 2012-07-24T23:30:12 <+Steffanx> You're going to twist 2 wires yourself? 2012-07-24T23:37:18 < Laurenceb_> its multicore 2012-07-24T23:37:20 < Laurenceb_> fail 2012-07-24T23:43:43 < feurig> q 2012-07-24T23:43:54 < feurig> er crp. 2012-07-24T23:44:01 < feurig> with an a 2012-07-24T23:47:52 < Laurenceb_> why 2012-07-24T23:47:59 -!- feurig [~don@198.202.31.180] has quit [Quit: leaving] 2012-07-24T23:48:19 < Laurenceb_> lol 2012-07-24T23:55:38 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Remote host closed the connection] 2012-07-24T23:58:31 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 --- Day changed Wed Jul 25 2012 2012-07-25T00:10:26 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 245 seconds] 2012-07-25T00:11:39 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 260 seconds] 2012-07-25T00:14:55 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-07-25T00:27:44 -!- feurig [~don@198.202.31.180] has joined ##stm32 2012-07-25T00:28:36 < Laurenceb_> rofl 2012-07-25T00:28:41 < Laurenceb_> i found dongs address 2012-07-25T00:28:42 < Laurenceb_> http://passworld.co.jp/index.php?lang=GB&lieu=Profil 2012-07-25T00:29:01 < Laurenceb_> *rofl 2012-07-25T00:29:09 < Laurenceb_> Broader map look below the p 2012-07-25T00:40:50 <+Steffanx> And i'm santa, Laurenceb_ 2012-07-25T00:48:36 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-25T00:53:46 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 255 seconds] 2012-07-25T00:58:52 < BrainDamage> Steffanx: i want a pony! 2012-07-25T00:59:41 <+Steffanx> A pony for BrainDamage it is 2012-07-25T00:59:57 < BrainDamage> weeeee 2012-07-25T01:01:12 <+Steffanx> You don't want a real horse? 2012-07-25T01:01:31 < BrainDamage> no, pony 2012-07-25T01:01:46 < BrainDamage> then I'll resell it for 10x it's value to a family with a girl 2012-07-25T01:02:52 <+Steffanx> Aren't you the girl in your family? 2012-07-25T01:03:16 < BrainDamage> nope 2012-07-25T01:03:17 <+Steffanx> So you should keep it 2012-07-25T01:03:38 < emeb> here you go: http://cuddlebuggery.com/wp-content/uploads/2012/05/MLP-FIM.jpg 2012-07-25T01:03:55 <+Steffanx> That is stuff for #sparkfun emeb 2012-07-25T01:04:10 < bcsllc-steve> is there documentation for the Stm32f0 stdperiph libs ? 2012-07-25T01:04:24 < emeb> har 2012-07-25T01:04:25 < karlp> all st docs for stdperiph are in the .h files 2012-07-25T01:04:33 < karlp> it's actually not that terrible. 2012-07-25T01:07:50 < bcsllc-steve> uVision4IDE has stop working 2012-07-25T01:08:57 < Laurenceb_> i should resell my raspberry pi 2012-07-25T01:10:29 <+Steffanx> me too 2012-07-25T01:10:29 < bcsllc-steve> so i really have to read throught a .h file to know how to use the Std Periph ? 2012-07-25T01:11:00 < BrainDamage> just use the rpi as home nas 2012-07-25T01:11:01 <+Steffanx> The examples help as well 2012-07-25T01:11:04 < BrainDamage> or media server 2012-07-25T01:11:09 < BrainDamage> that's what's good for 2012-07-25T01:11:10 <+Steffanx> Too slow BrainDamage 2012-07-25T01:11:22 <+Steffanx> only 8-10mbyte/s 2012-07-25T01:11:40 < BrainDamage> that's more than my wifi 2012-07-25T01:12:16 <+Steffanx> Who uses wifi? 2012-07-25T01:12:20 <+Steffanx> (oh, i do) 2012-07-25T01:13:07 <+Steffanx> zzzzzzZZzzz 2012-07-25T01:15:03 < emeb> someone wake up Steffanx - he's snoring again. 2012-07-25T01:17:23 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 252 seconds] 2012-07-25T01:25:44 <+dekar_> how do they solder double sided SMD boards? 2012-07-25T01:25:59 <+dekar_> I mean wouldn't the bottom stuff fall down while baking the pcb? 2012-07-25T01:26:23 < BrainDamage> glue 2012-07-25T01:26:41 < BrainDamage> if you don't want to use glue, there's other tricks 2012-07-25T01:26:51 <+dekar_> I have this tiny board and there is some BGA device I want to desolder... 2012-07-25T01:27:02 < BrainDamage> you can put only small components on the bottom 2012-07-25T01:27:10 < BrainDamage> so that surface tension holds them in place 2012-07-25T01:27:15 <+dekar_> I fear when I hot air it the bottom stuff could fall down XD 2012-07-25T01:27:36 < BrainDamage> or using 2 solder with 2 melting points so that you can reflow top without getting bottom to flow 2012-07-25T01:28:08 < BrainDamage> just place it over an heat resistant foam 2012-07-25T01:28:13 < BrainDamage> like rockwool 2012-07-25T01:28:24 < BrainDamage> so it'll keep the stuff in place if they detach 2012-07-25T01:31:42 <+dekar_> BrainDamage, http://www.dealfastest.com/ebay/photo/12355.jpg 2012-07-25T01:31:45 <+dekar_> the center IC 2012-07-25T01:32:00 <+dekar_> do you think I can get it off without fucking the rest up? :/ 2012-07-25T01:32:12 < BrainDamage> prehea 2012-07-25T01:32:15 < BrainDamage> bah 2012-07-25T01:32:22 < BrainDamage> can you preheat the whole thing? 2012-07-25T01:32:38 < BrainDamage> gently heat the whole board, say, keeping the nozzle far at low speed 2012-07-25T01:32:50 < BrainDamage> then ramp the temp by getting it closer 2012-07-25T01:33:06 < BrainDamage> and lift it with tweezers, or a suction cup 2012-07-25T01:34:43 < BrainDamage> what connector is that? mcx^ 2012-07-25T01:34:45 < BrainDamage> ? 2012-07-25T01:34:52 <+dekar_> yeah mcx 2012-07-25T01:35:19 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Ping timeout: 248 seconds] 2012-07-25T01:35:20 <+dekar_> it's actually pretty decent and you find cheap mcx to sma adapters on ebay 2012-07-25T01:36:16 < BrainDamage> I have the original ezcap 2012-07-25T01:36:21 < BrainDamage> with elonics tuner 2012-07-25T01:36:36 <+dekar_> I have an hama nano and the thing I just linked 2012-07-25T01:36:40 < BrainDamage> I'm considering getting 1-2 extra tuners before the e4000 disappear 2012-07-25T01:36:54 < bcsllc-steve> St.com is horrid 2012-07-25T01:36:58 <+dekar_> you can have my e4000 once I desoldered it :D 2012-07-25T01:37:00 < BrainDamage> it is 2012-07-25T01:37:24 < BrainDamage> what are you planning with just the rtl chip? 2012-07-25T01:37:46 <+dekar_> it contains amplifiers and is able to sample at 30mhz 2012-07-25T01:37:56 <+dekar_> you can do HF up to 30mhz with it 2012-07-25T01:38:11 < BrainDamage> the HF is not direct sampling 2012-07-25T01:38:19 < BrainDamage> you're using aliasing 2012-07-25T01:38:51 < BrainDamage> in fact those dvb keys lose samples if you try clocks higher than 2.8 MHz 2012-07-25T01:39:15 < BrainDamage> the aliasing fold back the spectrum into the baseband, so you can sample it 2012-07-25T01:40:01 <+dekar_> well however it works, there is some software for it already :) 2012-07-25T01:40:19 <+dekar_> and I want to remove the tuner to get rid of the noise it emits 2012-07-25T01:40:37 < BrainDamage> I suspect most of the noise comes from the tecnique itself 2012-07-25T01:40:49 < BrainDamage> you see, you're folding all the spectrum into that 2012-07-25T01:41:06 <+dekar_> I guess I could just disconnect it at both ends and jumper wire to the mcx connector 2012-07-25T01:41:08 < BrainDamage> so all noise power sums 2012-07-25T01:41:20 <+dekar_> and also bridge the tuner ground to the rtl ground 2012-07-25T01:41:50 < BrainDamage> at 30MHz you don't care much about distributed effects on few cm of board 2012-07-25T01:41:58 < BrainDamage> so you could indeed just run a jumper wire 2012-07-25T01:42:24 <+dekar_> probably easier than desoldering the e4000 2012-07-25T01:42:38 < bcsllc-steve> WTF is stm32f0xx_conf.h ? 2012-07-25T01:44:31 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-25T01:46:40 < karlp> part of how st examples set up clocks and shit. 2012-07-25T01:46:49 < karlp> I find it awkward and cumbersome, ymmv 2012-07-25T01:50:47 < bcsllc-steve> man this docs suck 2012-07-25T01:50:53 < bcsllc-steve> these 2012-07-25T01:51:05 < karlp> aint life grand 2012-07-25T01:51:07 < bcsllc-steve> you people are really smart 2012-07-25T01:51:17 < karlp> not really, most of us have just done this before 2012-07-25T01:51:25 < karlp> some of us only a week or two ago 2012-07-25T01:51:35 < karlp> well, actually, some people here really very smart 2012-07-25T01:51:42 < karlp> I shouldn't generalise like that. 2012-07-25T01:52:36 < bcsllc-steve> microchip makes things so easy 2012-07-25T01:53:05 -!- Xamusk [~X@189.123.3.189] has joined ##stm32 2012-07-25T01:53:07 < karlp> sort of. 2012-07-25T01:53:09 < BrainDamage> stm32 env is more complicated 2012-07-25T01:53:12 < BrainDamage> compared to avr 2012-07-25T01:53:17 < emeb> or PIC 2012-07-25T01:53:23 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-25T01:53:28 < BrainDamage> they are also more complex tough, and more flexibile and powerful 2012-07-25T01:53:29 < bcsllc-steve> it wouldnt be that bad with proper organization 2012-07-25T01:53:34 < bcsllc-steve> and documententation 2012-07-25T01:53:41 < karlp> so, which bits should be reorged, in what way? 2012-07-25T01:53:42 < BrainDamage> altough some of the problems are indeed bad organization 2012-07-25T01:53:49 < emeb> It could be a lot less convoluted. 2012-07-25T01:53:58 < BrainDamage> personally I'd have made all clocks enabled by default for instance 2012-07-25T01:54:00 -!- Xamuzk [~X@189.123.3.189] has joined ##stm32 2012-07-25T01:54:20 < BrainDamage> the "super low power" cases are rarer 2012-07-25T01:54:55 -!- Xamuxk [~X@189.123.3.189] has joined ##stm32 2012-07-25T01:55:01 < emeb> I'd note that MCHP uses a unique .h / .inc file for every device they produce. 2012-07-25T01:55:24 < emeb> ST tries to catch an entire class of devices with one library & lots of #ifdef magic 2012-07-25T01:56:04 < emeb> It's even worse when their example code tries to straddle multiple families with even more layers of #ifdef 2012-07-25T01:56:06 < karlp> the separation of datasheets with pinouts and elec characteristics vs the ref manuals is confusing if you're used to having a single sheet for AVR 2012-07-25T01:56:06 < karlp> clocks you only fuck up a few times. 2012-07-25T01:56:06 < karlp> but it means your designs use a lot less power by default. 2012-07-25T01:56:06 < karlp> but yeah, libopencm3 provides a couple of helper routines for, "make me go as fast as I can, with everything turned on" 2012-07-25T01:56:07 < karlp> clock enabling is definitely frustrating, I feel your pain. 2012-07-25T01:56:07 < bcsllc-steve> i think maybe TI might have better marketing, docs, etc 2012-07-25T01:57:21 -!- Xamusk [~X@189.123.3.189] has quit [Ping timeout: 244 seconds] 2012-07-25T01:57:27 < karlp> yeah, for instance, f1 and l1 an dmost of f2 are almost entirely pin compatible across the entire family. 2012-07-25T01:57:35 < karlp> (for the same package) 2012-07-25T01:58:06 < karlp> BrainDamage: yeah, true that, default on probably would have been easier for more people. 2012-07-25T01:58:23 -!- Xamuzk [~X@189.123.3.189] has quit [Ping timeout: 244 seconds] 2012-07-25T01:59:49 < bcsllc-steve> Undefined symbol RCC_AHBPeriphResetCmd (referred from stm32f0xx_gpio.o). 2012-07-25T01:59:58 < bcsllc-steve> what does tha mena ? 2012-07-25T02:00:08 < bcsllc-steve> i know what it means 2012-07-25T02:00:12 < bcsllc-steve> but what am I missing 2012-07-25T02:00:32 < bcsllc-steve> it means Im not including something rigth 2012-07-25T02:00:32 < bcsllc-steve> ? 2012-07-25T02:00:33 < karlp> it means mostly that the stdperiph lib is a little awkward, as they rpovide it as bunch of source files, without a makefile to easily make it a nice reusable library. 2012-07-25T02:00:42 < karlp> are you including the whole tree in your own project or what? 2012-07-25T02:00:53 < bcsllc-steve> no 2012-07-25T02:00:57 < bcsllc-steve> only what I want 2012-07-25T02:01:05 < karlp> well, you didn't include something you wanted then. 2012-07-25T02:01:07 < karlp> or, you can't spell. 2012-07-25T02:01:19 < karlp> (probably _rcc.c) 2012-07-25T02:01:23 <+dekar_> I actually don't compile them into a lib, I just pulled them into my project :) 2012-07-25T02:01:30 < karlp> (you almost always want _rcc.c) 2012-07-25T02:01:44 < karlp> (because you need to go and enable all the clocks.....) 2012-07-25T02:02:31 < bcsllc-steve> Undefined symbol assert_failed (referred from stm32f0xx_dma.o). 2012-07-25T02:02:55 < karlp> assert magic redefine shit is in _conf iirc 2012-07-25T02:03:13 < karlp> oh, and f0 might still have lots of errors in it... 2012-07-25T02:03:27 < karlp> there's been quite a few revisions of the m3/m4 stdperiph lib 2012-07-25T02:03:39 < bcsllc-steve> i have no clue what im looking at 2012-07-25T02:03:42 < karlp> though, that probably shook out a lot of the general problems. 2012-07-25T02:03:42 < bcsllc-steve> i found the _conf file 2012-07-25T02:03:47 < karlp> are you using dma? 2012-07-25T02:03:57 < bcsllc-steve> yeah I think i wil lneed that 2012-07-25T02:04:17 < karlp> are you copying an st example that uses dma? 2012-07-25T02:04:23 < bcsllc-steve> i uncommented all the #includes in the _conf file 2012-07-25T02:04:29 < bcsllc-steve> no 2012-07-25T02:04:35 < bcsllc-steve> i dont have code yet 2012-07-25T02:04:41 < karlp> did you make your build actually build all the .c files then? 2012-07-25T02:05:01 < karlp> if you don't have code, what are you compiling that is not working? 2012-07-25T02:05:18 < bcsllc-steve> shouldnt i be able to include the libraries 2012-07-25T02:05:22 < bcsllc-steve> w/o having use of them now 2012-07-25T02:05:27 < bcsllc-steve> and then start using them 2012-07-25T02:05:29 <+dekar_> bcsllc-steve, you shouldn't have to patch most of the ST libs 2012-07-25T02:05:38 < bcsllc-steve> patch ? 2012-07-25T02:05:42 <+dekar_> you only need to patch CMSIS I think 2012-07-25T02:06:19 < bcsllc-steve> can we start simple ? 2012-07-25T02:06:19 <+dekar_> bcsllc-steve, didn't you just mentioning uncommenting stuff in the ST lib? you can usually control it via defines 2012-07-25T02:06:51 < bcsllc-steve> yeah I found a _conf file that the compile errors were bitch about 2012-07-25T02:07:09 < bcsllc-steve> inside of that is "uncomment the stuff you need" 2012-07-25T02:07:15 < bcsllc-steve> /#include this 2012-07-25T02:07:17 <+dekar_> using a decent version of GCC you will have to patch some assembly in the CMSIS lib though since ARM messed up their code, it actually contains illegal register use for some opcode 2012-07-25T02:07:18 < bcsllc-steve> / #include that 2012-07-25T02:08:15 < bcsllc-steve> im dumb i dont what that means 2012-07-25T02:08:18 < bcsllc-steve> im using Keil 2012-07-25T02:08:42 < bcsllc-steve> i might as well use my own functions then 2012-07-25T02:08:47 < bcsllc-steve> reading a register 2012-07-25T02:08:51 < bcsllc-steve> and returning some values 2012-07-25T02:08:56 < bcsllc-steve> isnt that hard 2012-07-25T02:09:34 < bcsllc-steve> i was just trying to do things the regulay way 2012-07-25T02:10:21 < bcsllc-steve> instead of Steves way 2012-07-25T02:10:35 < bcsllc-steve> Reinvent the wheel 2012-07-25T02:11:32 < karlp> dekar_: hasn't that been fixed already? 2012-07-25T02:11:48 < emeb> I've never had to do that.. 2012-07-25T02:11:57 <+dekar_> well I pass some defines to my compiler "-D STM32F10X_MD" "-D USE_STDPERIPH_DRIVER" '-D "HSE_VALUE=((uint32_t)12000000)"' to configure the ST lib 2012-07-25T02:12:10 <+dekar_> karlp, I don't think it has 2012-07-25T02:12:27 <+dekar_> emeb, have you tried GCC 4.7 or later? 2012-07-25T02:13:05 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-25T02:13:15 <+dekar_> it complains about illegal registers passed to some opcode and I checked that, it's actually illegal use of that opcode 2012-07-25T02:13:20 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-25T02:14:55 < Xamuxk> so, IŽm trying to port the TNT script to Windows and have come to some trouble. Does anyone know why does the script compile GCC twice? 2012-07-25T02:15:31 < karlp> because there's two c's in gcc.... 2012-07-25T02:15:49 < Xamuxk> yeah, right... 2012-07-25T02:16:31 < Xamuxk> by the way, the script actually compiles the first time with --enable-languages=c and the second time with --enable-languages=c,c++ 2012-07-25T02:17:00 < Xamuxk> so I guess it is technically two C's 2012-07-25T02:17:16 <+dekar_> Xamuxk, I don't really know why you have to do that, but some tutorial told me to do that when I made TNT 2012-07-25T02:17:24 < karlp> I'm pretty sure there's always two runs through when building gcc 2012-07-25T02:17:33 < Xamuxk> dekar_, ah, so youŽre the father of the kid :) 2012-07-25T02:17:39 <+dekar_> it argued you had to rebuild GCC after compiling newlib, the second time using newlib 2012-07-25T02:18:06 < Xamuxk> itŽs probably something to do with C++ 2012-07-25T02:18:19 <+dekar_> Xamuxk, I actually think it has to do with C 2012-07-25T02:18:21 < Xamuxk> the first time it compiled OK, but the second time, with C++ it fails 2012-07-25T02:18:31 <+dekar_> newlib is C only 2012-07-25T02:18:47 <+dekar_> Xamuxk, you're using cygwin? 2012-07-25T02:18:51 < Xamuxk> newlib appears to compile fine 2012-07-25T02:18:53 < Xamuxk> MSYS 2012-07-25T02:18:57 < Xamuxk> my error: configure: error: C++ preprocessor "g++ -E" fails sanity check 2012-07-25T02:19:35 <+dekar_> that's probably related to your host-GCC 2012-07-25T02:19:47 <+dekar_> the native one you use to compile TNT 2012-07-25T02:19:48 < Xamuxk> just got an idea 2012-07-25T02:20:07 <+dekar_> what's MSYS? is that MinGW? 2012-07-25T02:20:10 < Xamuxk> it may be because of the missing libdl 2012-07-25T02:20:12 < Xamuxk> yes 2012-07-25T02:20:22 < Xamuxk> MSYS is the šMinGW shellš 2012-07-25T02:21:08 < Xamuxk> but it doesnŽt have the dlopen() function and stuff, so I had to get a libdl port šon the netš 2012-07-25T02:21:29 <+dekar_> how about using cygwin? :/ 2012-07-25T02:21:30 < Xamuxk> IŽll try copying the libdl.dll everywhere 2012-07-25T02:22:07 <+dekar_> Xamuxk, you could also try removing the g++ from the second time 2012-07-25T02:22:09 -!- peabody128 [~peabody12@128.249.96.123] has joined ##stm32 2012-07-25T02:22:22 <+dekar_> do "--enable-languages=c" both times 2012-07-25T02:22:27 < Xamuxk> cygwin didnŽt really work... somehow it thinks itŽs some *nix 2012-07-25T02:22:38 < Xamuxk> dekar_, I want g++ 2012-07-25T02:22:50 <+dekar_> no you don't :P 2012-07-25T02:23:12 < Xamuxk> yes I do! 2012-07-25T02:23:16 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 246 seconds] 2012-07-25T02:23:16 -!- peabody128 is now known as peabody124 2012-07-25T02:23:22 <+dekar_> I don't have a linker script for properly using C++ btw 2012-07-25T02:23:28 < Xamuxk> IŽm already using it on my šbig projectš 2012-07-25T02:23:34 < Xamuxk> I do 2012-07-25T02:23:38 <+dekar_> k 2012-07-25T02:23:53 <+dekar_> is it under some free license? can you share it? 2012-07-25T02:24:05 < Xamuxk> sure 2012-07-25T02:24:18 <+dekar_> mine discards all the C++ sections XD 2012-07-25T02:24:33 <+dekar_> doesn't construct objects in global scope etc 2012-07-25T02:25:04 <+dekar_> I actually don't care about C++ myself, but I guess it would be nice to distribute some linker script with TNT 2012-07-25T02:25:29 < Xamuxk> I actually use the .ld provided by ST with the StdPeriphLib 2012-07-25T02:25:47 <+dekar_> Xamuxk, then your C++ is probably pretty broken 2012-07-25T02:25:50 < Xamuxk> the one that supports C++ are the TrueSTUDIO ones 2012-07-25T02:26:15 < Xamuxk> dekar_, I did have to do some workarounds, but not that much 2012-07-25T02:26:53 <+dekar_> I see the true studio one looks fine 2012-07-25T02:27:02 <+dekar_> but it's under some weird proprietary license :/ 2012-07-25T02:28:07 <+dekar_> I guess I'll write my own some day 2012-07-25T02:28:28 < Xamuxk> the one that I actually use is the one provided with ChibiOS, which is modified-GPL (with exception) 2012-07-25T02:28:57 < Xamuxk> itŽs almost the same, but has some names different 2012-07-25T02:29:41 < Xamuxk> also, the startup script has to have a call to initialize the constructors 2012-07-25T02:29:49 <+dekar_> yeah 2012-07-25T02:30:11 < Xamuxk> the TrueSTUDIO one has it. The ChibiOSŽ startup script has it too 2012-07-25T02:30:16 <+dekar_> it's not that hard to add those sections and call them, I just was too lazy and didn't need C++ anyway ;) 2012-07-25T02:30:26 < Xamuxk> :) 2012-07-25T02:31:14 < Xamuxk> I actually have a štutorialš for using all the stuff from Eclipse, but itŽs in portuguese, though 2012-07-25T02:31:35 <+dekar_> using C++ libs defeats the purpose of TNT anyway, the main advantage of TNT is a tweaked newlib/GCC combination for really small binary sizes 2012-07-25T02:32:22 < Xamuxk> I was looking to test a more modern LTO with my project 2012-07-25T02:32:58 <+dekar_> lot works mostly fine with default TNT, it broke a lot when I compiled newlib with LTO though 2012-07-25T02:33:09 <+dekar_> *LTO works mostly fine 2012-07-25T02:33:11 < Xamuxk> theoretically, using proper C++ could lead to binaries as small as C. Besides, I also use newlib 2012-07-25T02:33:32 <+dekar_> newlib is only a C library, it doesn't support C++ 2012-07-25T02:33:43 < Xamuxk> C++ supports C 2012-07-25T02:33:59 <+dekar_> yeah, but if you do like "string myString;" you're out of luck 2012-07-25T02:34:08 < Xamuxk> itŽs just a matter of using the proper libraries 2012-07-25T02:34:11 <+dekar_> that makes your firmware grow 100kb 2012-07-25T02:34:21 < Xamuxk> yeah, thatŽs why I use C strings 2012-07-25T02:34:35 <+dekar_> as long as you don't use any C++ libs you should be fine 2012-07-25T02:34:45 < Xamuxk> not much of an advantage using dynamic stuff on embedded 2012-07-25T02:34:51 <+dekar_> for string etc you would have to implement the newlib stubs anyway 2012-07-25T02:35:03 <+dekar_> malloc is not working unless you implement _sbrk 2012-07-25T02:35:05 < Xamuxk> I actually donŽt really use C++ libs, itŽs more like šC with classesš 2012-07-25T02:35:48 < Xamuxk> I did find some _sbrk šaround on the netš 2012-07-25T02:35:58 <+dekar_> yeah it is quite easy to implement 2012-07-25T02:36:47 < Xamuxk> back to the problem, my config.log has this: conftest.cpp:138:21: error: no include path in which to search for limits.h 2012-07-25T02:37:03 <+dekar_> so if you get TNT to compile on windows I'd like to have your patches, people ask me about it all the time :) 2012-07-25T02:37:21 < Xamuxk> there are some limits.h files šaroundš, but I donŽt see how to -I inside the configure script 2012-07-25T02:37:30 < Xamuxk> dekar_, I imagine 2012-07-25T02:38:09 <+dekar_> try ./configure --help 2012-07-25T02:38:15 < Xamuxk> dekar_, IŽll give it to you, though since I didnŽt have a proper shell and no wget, I reimplemented the script in python 2012-07-25T02:38:20 <+dekar_> might tell you some parameter to pass an include dir 2012-07-25T02:38:38 <+dekar_> I am fine with it being python 2012-07-25T02:38:52 <+dekar_> I actually don't know bash, nor do I know python XD 2012-07-25T02:39:04 < Xamuxk> :) 2012-07-25T02:39:25 <+dekar_> though I know that I like python better 2012-07-25T02:39:52 < Xamuxk> dekar_, I did see after most work done that mingw has a wget that can be easily installed 2012-07-25T02:40:24 <+dekar_> cygwin is the first thing I install on windows systems since I miss all those tools 2012-07-25T02:40:33 < Xamuxk> I do have cygwin 2012-07-25T02:40:38 <+dekar_> also ssh, svn and git 2012-07-25T02:40:46 <+dekar_> and all the other loverly tools 2012-07-25T02:40:51 <+dekar_> *lovely 2012-07-25T02:40:53 < Xamuxk> but it has that problem that it thinks itŽs really *nix and messes paths 2012-07-25T02:41:10 <+dekar_> -.- 2012-07-25T02:41:31 < Xamuxk> and tries to build without using mingw 2012-07-25T02:41:51 <+dekar_> Xamuxk, I think you can do that, you just have to install gcc in cygwin 2012-07-25T02:42:20 < Xamuxk> I did, though I think the cygwin gcc is actually mingw 2012-07-25T02:42:36 <+dekar_> that might be, I barely use windows these days 2012-07-25T02:43:02 < Xamuxk> I had to migrate back after 7 years of Linux 2012-07-25T02:43:02 <+dekar_> only to compile my driver and Qt application both using minGW 2012-07-25T02:43:29 <+dekar_> well I have to develop for linux, osx and windows at work anyway so I always have various windows VMs 2012-07-25T02:44:01 <+dekar_> but I prefer to use the native OS, and my native OS lately became OSX 2012-07-25T02:45:00 <+dekar_> I don't have strong feelings about operating systems, I just like having a unix environment since I got used to it 2012-07-25T02:48:17 < Xamuxk> I did like Linux a lot as an OS, but the apps are just not on par 2012-07-25T02:48:35 < Xamuxk> besides having to do all sort of hacks to get modern hardware working 2012-07-25T02:50:30 <+dekar_> Xamuxk, I just checked, cygwin had GCC and GCC-MinGW 2012-07-25T02:51:00 <+dekar_> well I made sure to buy laptops that worked properly on linux 2012-07-25T02:51:18 <+dekar_> but my last lenovo laptop was just too horrible, had to return it 2012-07-25T02:51:28 < Xamuxk> pfft 2012-07-25T02:52:03 < Xamuxk> strange 2012-07-25T02:52:44 < Xamuxk> I was testing stuff on my project and it got 3KB smaller, just because some parts were compiled with the GCC I just compiled and parts with my old 4.5.2 GCC 2012-07-25T02:53:55 <+dekar_> mingw32-gcc.exe (GCC) 4.4.0 2012-07-25T02:53:55 <+dekar_> gcc (GCC) 4.5.3 2012-07-25T02:54:39 <+dekar_> well when I compile my project with any other GCC toolchain than TNT it grows by 40kb 2012-07-25T02:55:17 < Xamuxk> bummer 2012-07-25T02:55:51 < Xamuxk> I got GCC 4.7.0 2012-07-25T02:59:02 <+dekar_> on my mac I build TNT using the old 4.2 apple GCC so that shouldn't be a problem 2012-07-25T02:59:48 < Xamuxk> oh 2012-07-25T03:00:11 < Xamuxk> do you know of a .o and .a browser? 2012-07-25T03:02:33 <+dekar_> what do you want to do? show the symbols? 2012-07-25T03:02:38 <+dekar_> "nm" does that 2012-07-25T03:02:54 <+dekar_> or "objdump" if you want to disassemble 2012-07-25T03:03:12 <+dekar_> .a you can extract, they're just archives 2012-07-25T03:03:55 < Xamuxk> the symbols 2012-07-25T03:04:01 < Xamuxk> thanks, IŽll try nm 2012-07-25T03:04:27 < Xamuxk> but first IŽm trying to compile newlib again, I think my script just thought it buit ok 2012-07-25T03:04:32 < dongs> Soroban series are general-purpose evaluation kit boards with data logging capability, based on Texas Instruments' MSP430 Microcontrollers. The current versions are F169 and F1611. 2012-07-25T03:04:36 < dongs> haha 2012-07-25T03:04:36 < dongs> Laurenceb: fail hardware is fail 2012-07-25T03:07:08 < Xamuxk> why fail? some ppl like MSP430 2012-07-25T03:08:19 < Xamuxk> theyŽre supposedly very-low-power, but from my read of the datasheets, the AVR is much lower-power on standby 2012-07-25T03:13:52 <+dekar_> dongs is always trolling, even when he's not trolling 2012-07-25T03:14:11 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has quit [] 2012-07-25T03:20:08 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-25T03:22:08 <+dekar_> I need a native windows system, somehow the IO performance in my VM is incredibly horrible 2012-07-25T03:22:23 <+dekar_> has been extracting GCC for like 15 minutes 2012-07-25T03:24:51 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-25T03:26:44 < dongs> believe it or not, its the underlying OS that you're running it on. 2012-07-25T03:26:45 < Xamuxk> dekar_, I used nm on my newlibŽs libc.a and it shows __aeabi_ddiv, but somehow IŽm getting undefined references to lots of funcs, including __aeabi_ddiv, even though I use -lc 2012-07-25T03:26:57 < dongs> Windows VMs running on win7/2008server are always faster than native for me 2012-07-25T03:26:59 < dongs> esp in disk I/O 2012-07-25T03:28:07 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-25T03:30:28 < Xamuxk> arm-none-eabi-nm libc.a : http://pastebin.com/Rp8Dxxvw 2012-07-25T03:31:18 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-25T03:33:16 <+dekar_> Xamuxk, did it compile? 2012-07-25T03:33:40 < Xamuxk> it didnŽt link because of undefined references 2012-07-25T03:33:44 < Xamuxk> the libc.a is there 2012-07-25T03:34:01 < Xamuxk> I used the proper -L 2012-07-25T03:34:13 < Xamuxk> this is for the project, not gcc itself 2012-07-25T03:34:35 < Xamuxk> IŽm sort of trying the half-baked gcc 2012-07-25T03:36:06 <+dekar_> Xamuxk, the first GCC has a broken C lib, I think that is supposed to be that way 2012-07-25T03:36:46 <+dekar_> the second time you build it, it then uses newlib 2012-07-25T03:36:50 < Xamuxk> IŽm pointing to the recently compiled newlib 2012-07-25T03:37:20 < Xamuxk> ah, so it should be sort of making wrong symbol access? 2012-07-25T03:37:31 <+dekar_> idk tbh 2012-07-25T03:37:42 <+dekar_> I'd make it compile the second time and try again 2012-07-25T03:37:53 <+dekar_> just remove C++ if that is broken 2012-07-25T03:37:55 <+dekar_> for now 2012-07-25T03:38:41 < Xamuxk> well, the project uses C++ 2012-07-25T03:39:58 < Xamuxk> well, compiling anyway 2012-07-25T03:42:36 < Xamuxk> didnŽt work... same error: configure: error: C++ preprocessor "g++ -E" fails sanity check 2012-07-25T03:43:47 < Xamuxk> will try make clean 2012-07-25T03:44:54 <+dekar_> my cygwin try failed cause of spaces and umlauts in my pathname :/ 2012-07-25T03:45:08 <+dekar_> TNT is horrible XD 2012-07-25T03:45:08 < Xamuxk> I told you 2012-07-25T03:45:30 <+dekar_> I switched to a simpler path, trying again 2012-07-25T03:45:40 <+dekar_> configuring binutils atm 2012-07-25T03:46:23 < Xamuxk> donŽt be sad because of that: I actually tried to use backslashes using the right paths, and had to convert back to forward slashes and MSYS paths 2012-07-25T03:46:43 < Xamuxk> nope... make clean didnŽt work... still the same error 2012-07-25T03:48:55 < Xamuxk> trying to delete build-gcc/ 2012-07-25T03:50:21 -!- peabody124 [~peabody12@128.249.96.123] has left ##stm32 [] 2012-07-25T03:57:47 <+dekar_> still doing configure, my cygwin build inside the VM will probably take a day 2012-07-25T03:58:03 <+dekar_> but I feel like it should work, I mean people have built GCC in cygwin before us 2012-07-25T04:03:27 -!- Trunet [~Trunet@2001:1291:205:142:cc6f:9df9:797d:55e1] has joined ##stm32 2012-07-25T04:03:54 < Trunet> hi 2012-07-25T04:04:17 < Trunet> I'm trying to flash my stm32f405rg using stink v2 but I'm getting error 2012-07-25T04:04:38 < Trunet> I opened one issue: https://github.com/texane/stlink/issues/103 2012-07-25T04:05:02 <+dekar_> hey :) 2012-07-25T04:05:02 < Xamuxk> wtf! 2012-07-25T04:05:06 -!- Trunet [~Trunet@2001:1291:205:142:cc6f:9df9:797d:55e1] has left ##stm32 [] 2012-07-25T04:05:16 <+dekar_> and then he left :/ 2012-07-25T04:05:28 < Xamuxk> make.exe: *** couldn't commit memory for cygwin heap, Win32 error 0 2012-07-25T04:05:30 -!- Trunet [~Trunet@2001:1291:205:142:cc6f:9df9:797d:55e1] has joined ##stm32 2012-07-25T04:05:40 < Trunet> any idea? 2012-07-25T04:05:50 <+dekar_> Xamuxk, SNAFU? 2012-07-25T04:05:59 < Xamuxk> dekar_, looks like 2012-07-25T04:06:26 < Xamuxk> probably because itŽs 32-bit, but 2GB it pretty much enough for most compilations 2012-07-25T04:07:19 <+dekar_> my VM is still doing binutils configure 2012-07-25T04:07:22 <+dekar_> so slow XD 2012-07-25T04:07:37 <+dekar_> Trunet, I said hi before you left, just for the record :) 2012-07-25T04:07:57 <+dekar_> but I don't think I can help you with stlink, some others here use it though 2012-07-25T04:08:04 < Trunet> ow, nice! :D I'm sorry for the accidental "/part" 2012-07-25T04:08:39 < Trunet> I can upload using DFU but I can't debug and flash thru it! it works fine using crosswords (but I hate windows) 2012-07-25T04:08:50 < Xamuxk> what is xgcc? cross-compiler? 2012-07-25T04:08:52 < Trunet> *crossworks 2012-07-25T04:09:07 <+dekar_> Xamuxk, dunno what it is, but it's normal :D 2012-07-25T04:09:20 < Xamuxk> pfft :( 2012-07-25T04:10:21 <+dekar_> it's not an abomination spawned by a failed malloc 2012-07-25T04:11:38 < Xamuxk> when stuff just doesnŽt work, just try again 2012-07-25T04:11:52 < Xamuxk> maybe it can be mem garbage 2012-07-25T04:13:32 <+dekar_> Xamuxk, so I can stop my cygwin since it will run out of memory anyway? 2012-07-25T04:13:53 < Xamuxk> dekar_, donŽt know 2012-07-25T04:14:46 < Xamuxk> dekar_, it *looks* like itŽs running again, but one never knows for sure until itŽs finished or erred again 2012-07-25T04:20:07 < Xamuxk> I wish clang was better than gcc 2012-07-25T04:20:32 < Xamuxk> oh, look, another memory error! 2012-07-25T04:20:40 < dongs> hm, when dealing wiht 56bit key can I just stick it's LSB in a uint32 and not care aboute the high bits 2012-07-25T04:20:55 < dongs> o wait, it wont fit in uint32. 2012-07-25T04:22:13 < Xamuxk> 56>32 2012-07-25T04:22:36 < dongs> yea just noticed that 2012-07-25T04:30:14 <+dekar_> dongs, try long long :D 2012-07-25T04:30:39 <+dekar_> Xamuxk, when did you get the memory error? 2012-07-25T04:31:02 < Xamuxk> dekar_, I just got my third memory error 2012-07-25T04:31:11 < Xamuxk> now building _satfractunsUSIUSA.o 2012-07-25T04:31:22 <+dekar_> GCC? 2012-07-25T04:31:32 < dongs> dekar_: nah, i'd rather just use 2 uint32s. thats what it ends up being anyway 2012-07-25T04:31:38 < Xamuxk> yes 2012-07-25T04:31:43 < Xamuxk> GCC 2nd build 2012-07-25T04:31:59 <+dekar_> is your swapfile big enough? 2012-07-25T04:32:29 < Xamuxk> Windows autosizes it 2012-07-25T04:32:53 <+dekar_> isn't there x64 cygwin? :P 2012-07-25T04:33:20 < Xamuxk> I got 1.3GB available and 1.2GB cached memory... should be enough 2012-07-25T04:34:28 < Xamuxk> restarting firefox to reclaim some RAM 2012-07-25T04:35:04 <+dekar_> http://cygwin.com/cygwin-ug-net/setup-maxmem.html 2012-07-25T04:36:47 < Xamuxk> strange... I remember someone saying here that TNT didnŽt have multilib 2012-07-25T04:37:04 <+dekar_> they tell me that all the time 2012-07-25T04:37:25 < Xamuxk> itŽs saying all stuffs about multilib 2012-07-25T04:37:32 <+dekar_> I think it might have, it once generated native float code for me, which I didn't want :) 2012-07-25T04:37:49 < Xamuxk> native float? F4? 2012-07-25T04:38:14 <+dekar_> I actually don't know, all I know is that it didn't run on my f1 2012-07-25T04:38:38 <+dekar_> didn't investigate 2012-07-25T04:39:21 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-25T04:39:25 <+dekar_> I think I added "-msoft-float" to my makefile and it was gone 2012-07-25T04:40:40 <+dekar_> I don't think it has proper multilib support though, you can't generate non-tumb code for example 2012-07-25T04:40:51 <+dekar_> *thumb 2012-07-25T04:41:35 <+dekar_> but I guess it maybe has some multilib support XD 2012-07-25T04:41:53 < Xamuxk> hehehehe, stm64? :) 2012-07-25T04:42:33 < Xamuxk> damn, looks like it finished! 2012-07-25T04:42:47 <+dekar_> even though it had errors compiling? 2012-07-25T04:43:50 < Xamuxk> I just deleted the build-gcc dir and started over on the second compile... it should work, since newlib is already compiled, right? 2012-07-25T04:44:54 <+dekar_> I think so 2012-07-25T04:44:58 < Xamuxk> sh*t... forgot to add c++ again 2012-07-25T04:45:30 <+dekar_> at least your pc seems to be pretty fast 2012-07-25T04:45:34 <+dekar_> my core2 takes ages 2012-07-25T04:46:09 < Xamuxk> 2nd gen i7 2012-07-25T04:46:41 < Xamuxk> bought it specially for spice simulations, that were taking ages, but itŽs been good for compiles too 2012-07-25T04:46:55 <+dekar_> well mine is a laptop dual core :/ 2012-07-25T04:50:03 <+dekar_> http://cygwin.com/ml/cygwin/2005-11/msg00413.html 2012-07-25T04:50:16 <+dekar_> according to that guy the setting I linked you before solves the problem 2012-07-25T04:50:23 <+dekar_> you just have to up it to 2gb 2012-07-25T04:52:17 < Xamuxk> mine is a laptop too 2012-07-25T04:52:37 <+dekar_> I guess I need a new laptop 2012-07-25T04:52:45 < Xamuxk> :) 2012-07-25T04:52:56 < Xamuxk> damn, IT COMPILED! 2012-07-25T04:52:59 < Xamuxk> itŽs alive! 2012-07-25T04:53:03 <+dekar_> yay 2012-07-25T04:53:05 < Xamuxk> sort of anyway 2012-07-25T04:53:08 <+dekar_> XD 2012-07-25T04:53:33 <+dekar_> did you use the bash version or your python version? 2012-07-25T04:53:48 < Xamuxk> my python one, but had to tweak it as it went 2012-07-25T04:54:13 < Xamuxk> I may re-convert it to bash to use the proper tools in mingw 2012-07-25T04:54:34 < Xamuxk> gotta learn some bash though 2012-07-25T04:54:53 <+dekar_> we can keep python as well, though we'd have to test all the other OS on that 2012-07-25T04:55:06 < Xamuxk> by the way, I didnŽt compile C++ this time... it used g++ from the last compile from yesterday o_O 2012-07-25T04:55:23 <+dekar_> O.o 2012-07-25T04:55:33 < Xamuxk> had to declare a void *__dso_handle and 2012-07-25T04:55:33 < Xamuxk> int __errno, but it did compile 2012-07-25T04:55:39 < Xamuxk> not sure if itŽs stable though 2012-07-25T04:56:12 <+dekar_> so it's half cygwin and half mingw? 2012-07-25T04:56:23 < Xamuxk> the binary got 11580 bytes smaller 2012-07-25T04:56:30 < Xamuxk> it appears so 2012-07-25T04:57:19 < Xamuxk> thatŽs 11.2% less! 2012-07-25T04:58:14 < Xamuxk> wtf... my compile was using -O0 2012-07-25T04:58:25 < Xamuxk> some leftover option from some debugging session 2012-07-25T05:00:19 < Xamuxk> with -O2 I got 13.3% size reduction! 2012-07-25T05:00:45 <+dekar_> now use LTO :) 2012-07-25T05:00:57 <+dekar_> well first try whether it runs I guess 2012-07-25T05:01:28 <+dekar_> and also do -Os (it's usually faster than -O2 on the stm32 anyway) 2012-07-25T05:02:57 < Xamuxk> dekar_, you read my mind, but itŽs not working 2012-07-25T05:03:19 < Xamuxk> dekar_, strange... I had the impression -O2 was faster 2012-07-25T05:03:46 -!- Trunet [~Trunet@2001:1291:205:142:cc6f:9df9:797d:55e1] has quit [Quit: Trunet] 2012-07-25T05:04:07 <+dekar_> so does it still have the interrupt vector? 2012-07-25T05:04:58 <+dekar_> also check whether the linker script keeps .data.* and .text.* (not just .data and .text) 2012-07-25T05:05:41 <+dekar_> if those are dropped then half of newlib is gone 2012-07-25T05:06:24 <+dekar_> I really should have an official TNT linkerscript 2012-07-25T05:06:30 < Xamuxk> oh, no time to check that today, but I will tomorrow 2012-07-25T05:06:35 <+dekar_> okay 2012-07-25T05:06:44 < Xamuxk> but I will still try LTO today 2012-07-25T05:06:59 <+dekar_> but it doesn't mean anything if it drops everything XD 2012-07-25T05:07:13 < Xamuxk> but strangely itŽs erring saying IŽm redeclaring a variable, but itŽs extern 2012-07-25T05:07:25 <+dekar_> "CFLAGS += -flto -fuse-linker-plugin" 2012-07-25T05:07:47 < Xamuxk> tomorrow IŽll just do the easier thing: just load on the board and test :) 2012-07-25T05:08:05 <+dekar_> "LDFLAGS += -flto -flto-partition=none -fuse-linker-plugin -fwhole-program" 2012-07-25T05:08:28 < Xamuxk> ok 2012-07-25T05:08:38 <+dekar_> oh and pass -Os to LDFLAGS as well 2012-07-25T05:08:55 <+dekar_> since the linker is the one that optimizes when you use LTO 2012-07-25T05:09:19 < Xamuxk> didnŽt know there were so many options 2012-07-25T05:09:41 < Xamuxk> canŽt it just optimize for -O2? 2012-07-25T05:09:47 <+dekar_> ofc you can 2012-07-25T05:09:50 < Xamuxk> ok 2012-07-25T05:10:01 <+dekar_> I just prefer -Os for small size :D 2012-07-25T05:10:11 < Xamuxk> because otherwise IŽd have to recompile the original for comparison 2012-07-25T05:10:23 < Xamuxk> ld.exe: lto-wrapper failed 2012-07-25T05:10:25 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-25T05:10:27 <+dekar_> :/ 2012-07-25T05:10:27 < Xamuxk> shouldnŽt it use gold? 2012-07-25T05:10:32 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-25T05:10:43 <+dekar_> no, gold can't read linkerscripts 2012-07-25T05:10:48 < Xamuxk> lto1.exe: fatal error: errors during merging of translation units 2012-07-25T05:10:53 <+dekar_> it should use LD which should then use GOLD as a plugin 2012-07-25T05:11:03 < Xamuxk> it canŽt? strange 2012-07-25T05:11:11 < Xamuxk> ah, ok 2012-07-25T05:11:31 < Xamuxk> error: function '__main_stack_end__' redeclared as variable 2012-07-25T05:11:37 < Xamuxk> but itŽs extern :( 2012-07-25T05:11:53 <+dekar_> weird indeed 2012-07-25T05:12:21 <+dekar_> maybe remove "-fwhole-program" and "-flto-partition=none" 2012-07-25T05:12:36 <+dekar_> makes LTO less efficient though 2012-07-25T05:12:46 < Xamuxk> actually, I had already tried without it, when I didnŽt know I even had to use those options 2012-07-25T05:13:29 <+dekar_> I have several cases of extern variables as well, they compile fine even using LTO 2012-07-25T05:14:27 < Xamuxk> it complains even if itŽs extern on two .c files 2012-07-25T05:17:02 < Xamuxk> ok, the error changed... they were two different types on the two .c files... didnŽt matter because it was a linkerscript-define var (end of stack) 2012-07-25T05:18:09 < Xamuxk> usbserial.o:(.text+0x758): multiple definition of `abort' 2012-07-25T05:19:26 < Xamuxk> usbserial.o:(.text+0x1cb8): multiple definition of `puts' 2012-07-25T05:21:00 < Xamuxk> ok... got rid of those 2012-07-25T05:21:09 <+dekar_> how? 2012-07-25T05:21:24 <+dekar_> and why did it compile earlier? 2012-07-25T05:21:25 < Xamuxk> commented the functions on my code 2012-07-25T05:21:38 < Xamuxk> it has now actually compiled BIGGER 2012-07-25T05:21:58 < Xamuxk> pretty much the same size I had with GCC 4.5.2 2012-07-25T05:22:38 < Xamuxk> oops 2012-07-25T05:22:45 <+dekar_> are you using gc-sections? 2012-07-25T05:22:47 < Xamuxk> wrong project 2012-07-25T05:23:54 < Xamuxk> now IŽm getting undefined references to the ISRs 2012-07-25T05:23:56 <+dekar_> "LDFLAGS += -Wl,--gc-sections" 2012-07-25T05:24:21 <+dekar_> using LTO? 2012-07-25T05:24:26 < Xamuxk> yes 2012-07-25T05:24:35 <+dekar_> that's GOLD related 2012-07-25T05:24:46 <+dekar_> it doesn't understand that those are called 2012-07-25T05:24:47 < Xamuxk> IŽm using -Xlinker -gc-sections, which is the same 2012-07-25T05:24:53 <+dekar_> you have to mark them with some gcc attribute 2012-07-25T05:24:56 < Xamuxk> ItŽs not finding them 2012-07-25T05:25:16 < Xamuxk> the linker should pull them 2012-07-25T05:25:21 <+dekar_> "__attribute__((externally_visible))" 2012-07-25T05:25:27 < Xamuxk> but LTO is garbage-collecting it 2012-07-25T05:25:44 < Xamuxk> never saw that one 2012-07-25T05:25:55 <+dekar_> prefix your interrupt handler with it 2012-07-25T05:27:01 <+dekar_> GOLD doesn't understand assembly, thus it doesn't understand how it gets called 2012-07-25T05:27:17 <+dekar_> LTO atm only works for C only code 2012-07-25T05:27:40 <+dekar_> well you can use that attribute to fix it 2012-07-25T05:27:58 <+dekar_> it's a bit of a mess though :) 2012-07-25T05:28:28 < Xamuxk> before or after the type? 2012-07-25T05:28:43 <+dekar_> before 2012-07-25T05:29:37 < Xamuxk> I hate when I forget where the ISRs are 2012-07-25T05:32:10 <+dekar_> I really think you should have tested it step by step XD 2012-07-25T05:34:35 < Xamuxk> which steps? 2012-07-25T05:35:15 <+dekar_> going without LTO first maybe 2012-07-25T05:35:39 <+dekar_> checking whether your linker script drops sections 2012-07-25T05:35:46 <+dekar_> getting your code to run 2012-07-25T05:36:26 < Xamuxk> I did go without LTO 2012-07-25T05:36:36 < Xamuxk> ah 2012-07-25T05:36:45 < Xamuxk> IŽm already a zombie today 2012-07-25T05:37:08 <+dekar_> I don't get what you want to compare, if it doesn't run that means that there's probably half of your firmware missing 2012-07-25T05:37:14 <+dekar_> not good for a comparison XD 2012-07-25T05:37:14 < Xamuxk> aw, sh*t 2012-07-25T05:37:34 < Xamuxk> I think I found out the problem 2012-07-25T05:37:41 <+dekar_> what is it? 2012-07-25T05:37:47 < Xamuxk> the ISRs are .weak links 2012-07-25T05:38:14 < Xamuxk> but theyŽre declared weak in asm inside a .c 2012-07-25T05:40:11 <+dekar_> I am using the gcc_ride startup code and that actually works 2012-07-25T05:40:23 <+dekar_> ask file but also weak 2012-07-25T05:40:26 <+dekar_> *asm 2012-07-25T05:40:30 < dongs> libopencm3 for some fucking dumb reason decided to rename interrupt vectors 2012-07-25T05:40:42 <+dekar_> ya -.-" 2012-07-25T05:40:58 <+dekar_> codesourcery does so as well 2012-07-25T05:41:04 < dongs> embrace and extend at its finest 2012-07-25T05:41:05 < dongs> what? 2012-07-25T05:41:08 <+dekar_> they prefix them all CS3_ or something 2012-07-25T05:41:09 < dongs> no it doesnt 2012-07-25T05:41:13 <+dekar_> yes it does 2012-07-25T05:41:20 < dongs> ?? codesourcery has nothign to do with startup files 2012-07-25T05:41:22 < dongs> its just a compiler 2012-07-25T05:41:31 < dongs> i'm talking about shipped startup vectors with CMSIS 2012-07-25T05:41:38 <+dekar_> it has a ton of weird proprietary libs 2012-07-25T05:41:44 <+dekar_> like libcs3.a 2012-07-25T05:41:47 < dongs> you mean the IDE or something? 2012-07-25T05:41:55 <+dekar_> I mean codesourcery lite 2012-07-25T05:41:59 <+dekar_> the gcc toolchain 2012-07-25T05:42:02 < dongs> right 2012-07-25T05:42:05 <+dekar_> it's weird once you look into it 2012-07-25T05:42:13 < dongs> .. but its just a compiler. 2012-07-25T05:42:22 < dongs> I build my shit wiht it (as a test), i just use my own startup file and my code 2012-07-25T05:42:23 < dongs> and it works 2012-07-25T05:42:38 < dongs> all interrupt vectors are named same as cmsis shipped startups. 2012-07-25T05:42:43 <+dekar_> well it comes with things like libcs3.a 2012-07-25T05:42:49 < dongs> yes but you dont need to use htem 2012-07-25T05:42:51 < dongs> if you dont want to 2012-07-25T05:42:54 < dongs> i dont even know what it is 2012-07-25T05:42:54 <+dekar_> if you use those it also implements newlib stubs for you 2012-07-25T05:43:13 <+dekar_> and provides handlers for interrupts 2012-07-25T05:43:18 < dongs> duno ill stick with keil. 2012-07-25T05:43:20 <+dekar_> but requires weird interrupt names 2012-07-25T05:43:23 < dongs> all this opensauce shit is annoying 2012-07-25T05:44:57 <+dekar_> dongs, I don't see how anyone could dislike GCC :P 2012-07-25T05:46:43 < Xamuxk> dekar_, just some more undefineds... 2012-07-25T05:46:45 < dongs> dekar, we've been through this. 2012-07-25T05:47:38 <+dekar_> dongs, I was obviously trolling you :D 2012-07-25T05:48:10 < Xamuxk> _exit, _kill and _getpid 2012-07-25T05:48:34 <+dekar_> Xamuxk, those are newlib stubs 2012-07-25T05:48:44 <+dekar_> Xamuxk, which toolchain were you using before? 2012-07-25T05:48:47 < Xamuxk> dekar_, I thought I had seen then somewhere 2012-07-25T05:48:58 < Xamuxk> dekar_, CS lite 2012-07-25T05:49:10 <+dekar_> Xamuxk, linking their libcs3.a? 2012-07-25T05:49:25 <+dekar_> codesourcery has a proprietary lib implementing the stubs 2012-07-25T05:49:37 <+dekar_> now you'll have to do that yourself 2012-07-25T05:50:06 < Xamuxk> dekar_, I didnŽt think I was linking those 2012-07-25T05:50:26 <+dekar_> Xamuxk, something was, or else it would have complained about the missing stubs 2012-07-25T05:50:47 <+dekar_> Xamuxk, maybe your linker script, I have seen some linker script linking the libs 2012-07-25T05:51:27 < Xamuxk> dekar_, maybe it was because I wasnŽt using -nostdlibs 2012-07-25T05:51:32 < Xamuxk> and now I am 2012-07-25T05:51:41 < Xamuxk> to avoid libstdc++ 2012-07-25T05:54:52 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-25T05:57:33 < Xamuxk> ok, looks like the last error: `__errno' referenced in section `.text.asin' of ...build-newlib/arm-none-eabi/newlib\libm.a(lib_a-w_asin.o): defined in discarded section `.text' of src\mini_cpp.o (symbol from plugin) 2012-07-25T06:00:50 < Xamuxk> appears fixed with __attribute__((externally_visible)) 2012-07-25T06:01:59 < Xamuxk> another fix and YES! it did build, but this was the biggest build so far 2012-07-25T06:02:06 <+dekar_> hehe 2012-07-25T06:02:25 <+dekar_> still doesn't run? 2012-07-25T06:03:00 < Xamuxk> 10.4% up from GCC 4.5.2 2012-07-25T06:03:12 < Xamuxk> IŽm not testing it on the board 2012-07-25T06:03:23 < Xamuxk> itŽs already past midnight nere 2012-07-25T06:03:24 < Xamuxk> here 2012-07-25T06:03:38 <+dekar_> so you're using LTO right? 2012-07-25T06:03:45 <+dekar_> did you pass -O2 to the linker? 2012-07-25T06:03:49 <+dekar_> LDFLAGS 2012-07-25T06:04:05 <+dekar_> when using LTO the -O2 you pass as CFLAGS is ignored 2012-07-25T06:04:36 < Xamuxk> I did pass it 2012-07-25T06:04:55 < Xamuxk> ah, to the linker? 2012-07-25T06:04:56 < Xamuxk> will see 2012-07-25T06:05:01 <+dekar_> yeah linker 2012-07-25T06:05:10 <+dekar_> the linker compiles when using LTO 2012-07-25T06:05:19 <+dekar_> the compiler only generates some meta-code 2012-07-25T06:05:28 < Xamuxk> ok 2012-07-25T06:05:40 < Xamuxk> so, I did pass it now and got more errors 2012-07-25T06:05:47 <+dekar_> XD 2012-07-25T06:06:05 < Xamuxk> ..\..\ChibiOS\os\hal\src\tm.c:113:3: error: local frame unavailable (naked function?) 2012-07-25T06:06:13 < Xamuxk> ..\..\ChibiOS\os\hal\src\tm.c:113:3: internal compiler error: in convert_memory_address_addr_space, at explow.c:331 2012-07-25T06:06:21 <+dekar_> lol 2012-07-25T06:06:28 < Xamuxk> an ICE? damn, thatŽs hardcore 2012-07-25T06:06:39 <+dekar_> GCC sucks so hard 2012-07-25T06:06:47 <+dekar_> I have seen a few over the years 2012-07-25T06:06:50 < Xamuxk> yes it does 2012-07-25T06:07:01 < Xamuxk> I just wish clang was ready for prime-time 2012-07-25T06:07:12 < Xamuxk> IŽve seen some too 2012-07-25T06:07:40 <+dekar_> well for my firmware (quite huge, containing libtomcrypt and lua) LTO worked quite painless 2012-07-25T06:07:51 <+dekar_> I think I only had to use that attribute stuff 2012-07-25T06:08:13 <+dekar_> but it's pretty experimental 2012-07-25T06:08:28 < Xamuxk> lucky you 2012-07-25T06:08:32 <+dekar_> GCC normally doesn't even compile GOLD 2012-07-25T06:08:57 < Xamuxk> strange, the šnakedš function it complains about is actually a #define 2012-07-25T06:09:53 <+dekar_> also when I compiled newlib with LTO it dropped a ton of code for no apparent reason and also had weird include guard (#ifdef) bugs in some assembly file 2012-07-25T06:10:10 <+dekar_> thus I disabled LTO for newlib 2012-07-25T06:10:23 <+dekar_> I guess LTO isn't really ready 2012-07-25T06:11:07 < Xamuxk> I guess itŽs not, at least on GCC 2012-07-25T06:11:12 < Xamuxk> ppl say itŽs just fine in clang 2012-07-25T06:11:50 <+dekar_> trying to compile clang using -O2 also results in an internal compiler error 2012-07-25T06:12:00 <+dekar_> you have to use GCC at -O0 to compile clang 2012-07-25T06:12:12 <+dekar_> and then re-compile clang using the clang you built 2012-07-25T06:12:42 <+dekar_> at least that was how it went last time I tried 2012-07-25T06:12:55 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-25T06:13:22 < Xamuxk> :( 2012-07-25T06:13:35 < Xamuxk> it appears the naked stuff is related to ResetHandler 2012-07-25T06:13:59 -!- bgamari [~bgamari@pool-72-79-233-102.spfdma.east.verizon.net] has joined ##stm32 2012-07-25T06:14:14 <+dekar_> lol who needs that anyway? no one actually turns their µC on! :P 2012-07-25T06:14:41 < Xamuxk> I built clang a few weeks ago and didnŽt have much problems with it, though I didnŽt find the time to actually use it 2012-07-25T06:14:48 < Xamuxk> hehehehehe 2012-07-25T06:15:40 <+dekar_> on the desktop you can pretty much use clang already, it's the default compiler on OSX 2012-07-25T06:16:16 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-25T06:16:20 <+dekar_> once in a while I find applications that need GCC so I have to "export CC=gcc" but for most it just works fine with clang 2012-07-25T06:18:16 < Xamuxk> thatŽs good, now we need it for stm32 2012-07-25T06:18:27 < Xamuxk> OK, I did it! 2012-07-25T06:18:52 < Xamuxk> the -O2 stuff gave me the idea to try lower optimization for the C compiler and it worked! 2012-07-25T06:19:06 < Xamuxk> it compiled with -O1 2012-07-25T06:19:40 <+dekar_> including the reset handler? 2012-07-25T06:19:41 < Xamuxk> and at least that is lower than GCC 4.5.2 2012-07-25T06:19:46 < Xamuxk> donŽt know 2012-07-25T06:19:49 <+dekar_> XD 2012-07-25T06:19:51 < Xamuxk> :) 2012-07-25T06:19:56 <+dekar_> look at the map 2012-07-25T06:19:56 < Xamuxk> IŽll try later today 2012-07-25T06:20:44 <+dekar_> LDFLAGS+=-Wl,-Map=mymap.map 2012-07-25T06:21:02 < Xamuxk> I do have the listings somewhere 2012-07-25T06:21:17 < Xamuxk> map too 2012-07-25T06:21:33 <+dekar_> try -Os now 2012-07-25T06:21:50 < Xamuxk> the ResetHandler is not on the map, but itŽs on the listings 2012-07-25T06:22:46 < Xamuxk> for the whole project or only linker? 2012-07-25T06:23:14 <+dekar_> only linker, the other flags are ignored anyway 2012-07-25T06:23:51 < Xamuxk> dekar_, f*ck... it didnŽt really work... I was compiling another project again thinking it was the right one 2012-07-25T06:24:11 <+dekar_> how many do you have? :D 2012-07-25T06:25:00 <+dekar_> actually they're not ignored, if you enable LTO the .o files get a classic compiled version of the code and in addition the meta-code stuff 2012-07-25T06:25:08 <+dekar_> and then the linker discards the compiled code 2012-07-25T06:25:15 <+dekar_> and compiles the meta stuff 2012-07-25T06:25:15 < Xamuxk> some, but the problem is that IŽm working on a copy, and sometimes when I search, it shows a file from the original project and I donŽt see 2012-07-25T06:25:35 < Xamuxk> dekar_, hahaha, the -O1 trick did actually work on the right project! 2012-07-25T06:25:57 < Xamuxk> dekar_, and I changed it on the C compiler, not on linker 2012-07-25T06:26:02 <+dekar_> I guess on -O1 the poor GCC is overworked 2012-07-25T06:26:10 <+dekar_> then completely remove it 2012-07-25T06:26:17 <+dekar_> it gets discarded anyway 2012-07-25T06:26:23 < Xamuxk> but the binary is bigger than GCC 4.5.2 2012-07-25T06:26:42 < Xamuxk> will try keeping -O1 on C compiler and -Os on linker 2012-07-25T06:27:22 <+dekar_> if LTO is working properly then adding -Ox to the CFLAGS shouldn't change anything 2012-07-25T06:27:28 < Xamuxk> chopped off 6.4% 2012-07-25T06:27:39 < Xamuxk> then I guess itŽs not working properly 2012-07-25T06:27:55 < Xamuxk> itŽs still bigger than GCC 4.5.2 2012-07-25T06:28:30 <+dekar_> "-flto -fuse-linker-plugin" you've added that to the cflags? 2012-07-25T06:29:03 <+dekar_> and "-Os -flto -flto-partition=none -fuse-linker-plugin -fwhole-program" to LDFLAGS 2012-07-25T06:30:42 <+dekar_> for me TNT generates small code than CS even without LTO 2012-07-25T06:30:46 <+dekar_> by quite a bit actually 2012-07-25T06:30:57 <+dekar_> *smaller 2012-07-25T06:35:19 < Xamuxk> yes, I use those options 2012-07-25T06:37:30 <+dekar_> dunno what's wrong then 2012-07-25T06:38:25 < Xamuxk> neither do I 2012-07-25T06:38:42 < Xamuxk> IŽll leave it for later though 2012-07-25T06:39:15 < Xamuxk> canŽt think right now, gotta sleep 2012-07-25T06:39:23 <+dekar_> night 2012-07-25T06:39:34 < upgrdman> what's lto? 2012-07-25T06:39:53 <+dekar_> experimental stuff in GCC 2012-07-25T06:40:07 <+dekar_> the linker basically compiles the code, knowing all of it 2012-07-25T06:40:36 < upgrdman> mmmm 2012-07-25T06:40:38 <+dekar_> thus it is able to perform better optimization than the compiler which normally just sees a single .c 2012-07-25T06:40:48 < upgrdman> nice 2012-07-25T06:41:03 <+dekar_> TNT supports it if you wanna try 2012-07-25T06:41:30 < upgrdman> im just a beginner... no need for it yet. my biggest project was maybe 5KB 2012-07-25T06:41:54 <+dekar_> link LUA, that'll add another 100k :D 2012-07-25T06:42:01 < upgrdman> lol 2012-07-25T06:43:18 < dongs> at least you didnt recommend python 2012-07-25T06:43:34 < upgrdman> is it just me or does stm32f4xx.h uses lots of unhelpful identifiers 2012-07-25T06:43:41 < dongs> like hwat 2012-07-25T06:43:44 < upgrdman> well 2012-07-25T06:44:21 < upgrdman> TIM_SMCR_TS_0 and TIM_SMCR_TS_1, etc. just naming bits instead of name options 2012-07-25T06:44:29 < upgrdman> naming* 2012-07-25T06:45:08 < upgrdman> and there are no symbols for GPIOx->ARF[x] 2012-07-25T06:45:12 < dongs> time to try out emwin 2012-07-25T06:45:51 < upgrdman> ? google didn't help 2012-07-25T06:46:12 < dongs> on waht 2012-07-25T06:46:25 < upgrdman> emwin 2012-07-25T06:46:29 < dongs> 3rd hit 2012-07-25T06:46:56 < upgrdman> national weather service is my 3rd hit 2012-07-25T06:47:08 < upgrdman> o, i see it lower on the page though. 2012-07-25T06:47:15 < upgrdman> segger uc 2012-07-25T06:47:18 < dongs> y 2012-07-25T06:48:02 <+dekar_> dongs, lua is so portable, it just compiled without any problem at all for me 2012-07-25T06:48:07 < dongs> ya 2012-07-25T06:48:08 < dongs> im sure 2012-07-25T06:48:43 <+dekar_> I guess python would probably make more trouble 2012-07-25T06:48:56 <+dekar_> doesn't it even support threading? 2012-07-25T06:48:56 < dongs> i was joking. python is trash anyway. 2012-07-25T06:49:04 < dongs> i think theres some embedded python shit 2012-07-25T06:49:06 < dongs> pymite or something 2012-07-25T06:49:09 <+dekar_> quite many people like python 2012-07-25T06:49:12 < upgrdman> port visual basic ;) 2012-07-25T06:49:23 <+dekar_> upgrdman, port mono you mean? 2012-07-25T06:49:41 < upgrdman> i was j/k, but sure ;) 2012-07-25T06:50:04 < upgrdman> at my uni everyone who loves VB is a douche and can't program 2012-07-25T06:50:21 < bcsllc-steve> hey guys Im moving over to 32bit mcus after using 16bit 2012-07-25T06:50:30 <+dekar_> I've never tried it, dunno why one would use it 2012-07-25T06:50:34 < bcsllc-steve> ive been a mchp user 2012-07-25T06:50:43 < bcsllc-steve> blah screw the long talk 2012-07-25T06:51:06 < bcsllc-steve> i see there count timer in the PIC32 2012-07-25T06:51:11 <+dekar_> but I know that many people use python for physics calculations and the like 2012-07-25T06:51:20 < bcsllc-steve> is that the same as the systick i keep seeing in STM ? 2012-07-25T06:51:36 < bcsllc-steve> counter increments every other instruction cycle ? 2012-07-25T06:51:39 < upgrdman> dekar_, its easy for beginners so you end up with lots of first or second semester students thinking they know all there is. and they couldn't handle real things like data structures or pointers 2012-07-25T06:51:43 < bcsllc-steve> i mean clock cycle 2012-07-25T06:51:58 <+dekar_> bcsllc-steve, systick counts down and triggers an interrupt, then automatically re-arms and does it again 2012-07-25T06:52:18 < bcsllc-steve> yeap clock cycle ? every other clock cycle ? 2012-07-25T06:52:34 <+dekar_> every clock cycle yeah 2012-07-25T06:52:45 < bcsllc-steve> and thats just used as a general timer 2012-07-25T06:52:53 < bcsllc-steve> that cant be scaled ? 2012-07-25T06:53:15 < bcsllc-steve> mostly as a delay counter ? 2012-07-25T06:53:27 <+dekar_> well you can set the amount of cycles before interrupt 2012-07-25T06:53:48 <+dekar_> it seems to be quite common to set it to frequency/1000 2012-07-25T06:53:55 < bcsllc-steve> milliseconds 2012-07-25T06:53:56 < bcsllc-steve> ? 2012-07-25T06:53:58 <+dekar_> yeah 2012-07-25T06:54:17 <+dekar_> can be used for an OS to perform task switch for example 2012-07-25T06:54:29 <+dekar_> it usually is a lowest priority interrupt 2012-07-25T06:54:49 <+dekar_> or you could use it to blink an LED :) 2012-07-25T06:55:03 < bcsllc-steve> thats the most important thing ! 2012-07-25T06:55:57 < bcsllc-steve> or I could divide by 1,000,000 to ge uS ? 2012-07-25T06:56:23 <+dekar_> yeah but that would make quite a lot of overhead 2012-07-25T06:56:47 <+dekar_> it takes quite a few cycles to enter an interrupt 2012-07-25T06:57:16 <+dekar_> so you'd probably lose half of your CPU time just entering and leaving interrupts 2012-07-25T06:58:03 <+dekar_> I think it was 15 cycles to enter and another 15 to leave 2012-07-25T06:58:33 < bcsllc-steve> so do i count us ? 2012-07-25T06:58:46 <+dekar_> yes you can if you want 2012-07-25T06:58:48 < bcsllc-steve> *how 2012-07-25T06:59:02 < bcsllc-steve> *how* do i count uS, sorry 2012-07-25T06:59:32 < bcsllc-steve> PIC24 libs used to come with delay_us and ms functions 2012-07-25T06:59:33 <+dekar_> do you _want_ an interrupt every µS? 2012-07-25T06:59:35 < bcsllc-steve> but they dont anymore 2012-07-25T06:59:47 < bcsllc-steve> well I could just read the timer 2012-07-25T06:59:54 < bcsllc-steve> or read a flag right ? 2012-07-25T07:00:02 <+dekar_> I guess so 2012-07-25T07:00:05 < bcsllc-steve> not actually use a ISR 2012-07-25T07:00:11 <+dekar_> there are several hardware timers you can use as well 2012-07-25T07:01:44 <+dekar_> if you just want a delay you can also do busywait 2012-07-25T07:04:46 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-25T07:16:44 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-25T07:23:40 < upgrdman> busywait? 2012-07-25T07:26:37 < dongs> cnt = TIM->CNT; while (TIM->CNT < cnt + targetwait). 2012-07-25T07:26:42 < dongs> set timer to like 1 MHz, declare victory. 2012-07-25T07:26:56 < dongs> for bonus points use a 32bit timer and uint32_t for cnt 2012-07-25T07:27:05 < dongs> then you can delay while you delay. 2012-07-25T07:28:01 < upgrdman> oh 2012-07-25T07:28:16 < upgrdman> i do that with systick and a global millis or micros variables 2012-07-25T07:30:27 < dongs> argh 2012-07-25T07:30:35 < dongs> ntfreak: why do i have to implement all the GUI_X_ shit evne if I wont fucking use it 2012-07-25T07:37:56 < cjbaird> bairdbabby's first chiptune: https://www.youtube.com/watch?v=dfVJ--YEFUc 2012-07-25T08:14:22 -!- claude is now known as Claude 2012-07-25T08:21:59 < dongs> ok about to throw emwin shit in the oven 2012-07-25T08:33:30 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-25T09:01:50 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-25T09:08:17 < Claude> dongs,you are trying to get a 1bit framebuffer doing OSD with emwin? 2012-07-25T09:08:38 < dongs> yea, but I think the shit's way overbloated for that 2012-07-25T09:08:49 < dongs> i just didnt feel like writing my own line/circle/etc shits 2012-07-25T09:09:17 < Claude> hehe :) 2012-07-25T09:09:31 < Claude> http://www.ulrichradig.de/home/uploads/File/ArmVideo/PAL_Video.zip , it's for an nxp lpc 2012-07-25T09:09:46 < Claude> and the schematics : http://www.ulrichradig.de/home/uploads/File/ArmVideo/SyncSep.pdf 2012-07-25T09:09:47 < dongs> with emwin? 2012-07-25T09:09:56 < Claude> nope 2012-07-25T09:11:19 < dongs> there's pal_line I can steal, thatsa bout the only useful parts :) 2012-07-25T09:11:29 < Claude> hmm okay 2012-07-25T09:11:44 < dongs> I mean I got overlay working fine and drawing the framebuffer 2012-07-25T09:12:25 < Claude> ah cool , how do you generate the video signal on the stm? 2012-07-25T09:12:41 < dongs> on my ghettoproto just pulling up video to high with SPI on each scanline 2012-07-25T09:13:00 < dongs> on coming up boards ive got analog switch 2012-07-25T09:13:51 < Claude> blanking in the active video line with the analog switch? 2012-07-25T09:14:10 < dongs> sending 'white' levels when I wanna put a dot on the screen. 2012-07-25T09:14:22 < dongs> 9mhz spi, so I get ~400pixels with NTSC horizontally. 2012-07-25T09:14:39 < Claude> 400x300 then? 2012-07-25T09:14:42 < dongs> x200 2012-07-25T09:14:44 < dongs> http://www.youtube.com/watch?v=D1yeJZDW_QA 2012-07-25T09:14:45 < dongs> yeah 2012-07-25T09:15:15 < dongs> i dont really *need* emwin im just fucking lazy. 2012-07-25T09:15:26 < Claude> ahh you are timecop1080 on yt :) 2012-07-25T09:15:41 < dongs> but looks like binary emwin shits are all compiled wiht rtos support and shit 2012-07-25T09:15:43 < dongs> wasting my time 2012-07-25T09:15:45 < dongs> + flash 2012-07-25T09:16:29 < Claude> http://www.youtube.com/watch?v=koG3Iu2gids& <--- was meant as reply to your stm32 3d rendering vid ;) 2012-07-25T09:17:06 < dongs> haha 2012-07-25T09:17:27 < dongs> im gonna get my dos demoscene guy to beat that shit. 2012-07-25T09:18:16 < Claude> for sure! was just a quick hack job trying to show something nice on the nokia screen 2012-07-25T09:24:37 -!- dekar_ [~dekar@212.255.36.249] has quit [Ping timeout: 240 seconds] 2012-07-25T09:26:47 -!- dekar [~dekar@212.255.23.150] has joined ##stm32 2012-07-25T09:26:50 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-25T09:42:54 < cjbaird> While I was out buying stuff, the local Dollar shop had a brief Rammenstein interlude in the shop musak. It was awesome. :D 2012-07-25T09:48:30 < dongs> why the fuck is there a git repository inside atmel softwrea framework install folder 2012-07-25T09:48:39 < dongs> what teh Fuck is this SHIt 2012-07-25T10:05:39 < Claude> now i'm feared of dollar stores ... :) 2012-07-25T10:14:57 -!- Claude is now known as claude 2012-07-25T10:17:06 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-07-25T10:17:07 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-07-25T10:17:07 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-07-25T10:19:13 -!- lawrenceseattle [~anonymous@216.243.49.130] has joined ##stm32 2012-07-25T10:43:45 -!- lawrenceseattle [~anonymous@216.243.49.130] has quit [Quit: lawrenceseattle] 2012-07-25T10:52:17 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-25T10:53:11 < Laurenceb_> i found where dongs lives 2012-07-25T10:53:17 < Laurenceb_> http://passworld.co.jp/index.php?lang=GB&lieu=Profil 2012-07-25T10:53:22 < Laurenceb_> Broader map look below the p 2012-07-25T10:54:57 < zyp> huh? 2012-07-25T10:55:59 < Laurenceb_> maybe your settings are different 2012-07-25T10:56:07 < Laurenceb_> i see swastika house 2012-07-25T10:56:23 < zyp> ah, lots of them in kyoto 2012-07-25T10:56:36 < zyp> swastika is used to mark temples in maps :p 2012-07-25T10:57:14 < Laurenceb_> lol 2012-07-25T10:57:39 < zyp> http://en.wikipedia.org/wiki/Swastika#East_Asia 2012-07-25T10:57:58 < Oldboy> http://dailypost.com.ng/2012/07/18/six-women-rape-man-death-benue-state/ 2012-07-25T10:58:04 < Oldboy> oops. wrong channel 2012-07-25T10:58:08 < Laurenceb_> lawl 2012-07-25T10:58:20 < Laurenceb_> dont post your fantasies here 2012-07-25T10:58:23 < Oldboy> sorry 2012-07-25T11:03:07 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 246 seconds] 2012-07-25T11:03:52 < dongs> ^ fapped to death 2012-07-25T11:16:06 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-25T11:46:14 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-25T12:43:19 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Remote host closed the connection] 2012-07-25T12:44:02 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-25T13:19:08 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-25T13:38:21 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 250 seconds] 2012-07-25T13:46:14 -!- BusError_ [~michel@host86-146-129-186.range86-146.btcentralplus.com] has quit [Quit: builder is turning power off. argh] 2012-07-25T14:01:39 < Laurenceb> rage 2012-07-25T14:01:44 < Laurenceb> stupid phd crap 2012-07-25T14:01:48 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-07-25T14:02:11 < Laurenceb> i have to write a 20 page report on my progress by Friday or get chucked out 2012-07-25T14:03:02 < zyp> report on lack of progress? 2012-07-25T14:03:45 < Laurenceb> maybe i should get chucked out... then i can go and watch batman in aurora 2012-07-25T14:04:40 < Laurenceb> report on writing reports 2012-07-25T14:06:54 -!- claude is now known as claude_work 2012-07-25T14:15:45 < Laurenceb> rm firstyearreport.* secondyearreport.* 2012-07-25T14:22:03 <+dekar> dongs, lol I linked that to some coworker and he answered "that's the reason the islam tells you to only have 4 wives, if he only had have 4 then he would be still alive!" 2012-07-25T14:47:01 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-25T15:01:02 < dongs> lfao 2012-07-25T15:01:18 < dongs> i heard you like reporting 2012-07-25T15:10:39 < Laurenceb> http://www.thebestpageintheuniverse.net/images/photel1.jpg 2012-07-25T15:47:16 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Read error: No route to host] 2012-07-25T15:48:06 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-25T15:49:46 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-25T15:51:38 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Client Quit] 2012-07-25T15:56:24 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-25T16:04:10 -!- izua [izua@2a02:2f01:1016:11f2:f126:a915:d8e2:2ef6] has joined ##stm32 2012-07-25T16:04:11 -!- izua [izua@2a02:2f01:1016:11f2:f126:a915:d8e2:2ef6] has quit [Changing host] 2012-07-25T16:04:11 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-25T16:04:14 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-25T16:04:44 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-25T16:05:20 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Read error: Operation timed out] 2012-07-25T16:06:27 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-25T16:43:59 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-25T16:59:32 -!- mrcan_ is now known as mrcan 2012-07-25T17:00:03 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Quit: Leaving] 2012-07-25T17:00:21 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-25T17:06:14 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has joined ##stm32 2012-07-25T17:22:07 < dongs> http://www.digikey.com/product-detail/en/RC0603JR-07680RL/311-680GRCT-ND/729766 2012-07-25T17:27:32 -!- dongs [~dongs@l212168.ppp.asahi-net.or.jp] has quit [Ping timeout: 248 seconds] 2012-07-25T17:33:24 -!- dongs [1000@l212168.ppp.asahi-net.or.jp] has joined ##stm32 2012-07-25T17:37:04 < Laurenceb> so 2012-07-25T17:37:21 < dongs> so wat 2012-07-25T17:39:24 < zyp> fuckers finally fixed my internet connection 2012-07-25T17:39:26 < zyp> time to get shit done 2012-07-25T17:39:35 < dongs> http://static.rcgroups.net/forums/attachments/3/1/9/8/5/0/a5035204-140-DSC04404.jpg nicel ayout 2012-07-25T17:39:53 < zyp> ha 2012-07-25T17:39:53 < dongs> looks like something Laurenceb would do 2012-07-25T17:41:57 < Laurenceb> is that a chipcon? 2012-07-25T17:43:56 < dongs> unrelated: http://i.imgur.com/8LGD0.jpg 2012-07-25T17:44:59 < zyp> dat sum osd? 2012-07-25T17:45:31 < dongs> yaman 2012-07-25T17:46:44 < Laurenceb> im guessing that is for tom66? 2012-07-25T17:50:21 < Laurenceb> still using spi? 2012-07-25T17:50:35 < Laurenceb> how do you clock it? 2012-07-25T17:50:52 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-25T17:53:32 < dongs> what do you mean how do i clock it 2012-07-25T17:53:38 < dongs> 9mhz 2012-07-25T17:53:48 < dongs> gives me ~400 horizontal pixels. 2012-07-25T17:53:57 < Laurenceb> interesting 2012-07-25T17:54:07 < dongs> 9mhz = some divider from 72 2012-07-25T17:54:08 < Laurenceb> then trigger off the sync detector? 2012-07-25T17:54:15 < dongs> yes, hsync 2012-07-25T17:54:22 < Laurenceb> with an ic? 2012-07-25T17:54:44 < dongs> yeah, lm1881 is $0.6 and takes up less space than all teh analog faggotry needed to do iot otherwise 2012-07-25T17:54:52 < dongs> < Claude> and the schematics : http://www.ulrichradig.de/home/uploads/File/ArmVideo/SyncSep.pdf 2012-07-25T17:54:54 < dongs> i.e. this 2012-07-25T17:55:47 < Laurenceb> an opamp? 2012-07-25T17:55:52 < dongs> shrug 2012-07-25T17:56:00 < dongs> and 10 passives around it. 2012-07-25T17:56:13 < Laurenceb> i see 2012-07-25T17:56:28 < dongs> vs lm1881 and cap+resistor. 2012-07-25T17:57:02 < dongs> and if by "for" you mean "to troll" then yes 2012-07-25T17:57:49 < Laurenceb> everything you do is for trolling 2012-07-25T17:57:59 < dongs> incorrect, almost everything 2012-07-25T18:03:33 < karlp> anyone used the CP2102 chips for usb-ttl? 2012-07-25T18:03:39 < dongs> < 2012-07-25T18:03:44 < karlp> is it really, "just like ftdi, just cheaper" ? 2012-07-25T18:03:49 < karlp> or is there anything to watch out for? 2012-07-25T18:04:03 < dongs> its perfectly fine 2012-07-25T18:04:08 < karlp> or pl2303, or any of the chinese cheap one son ebay. 2012-07-25T18:04:11 < dongs> NO! 2012-07-25T18:04:12 < karlp> good, I thought it should be 2012-07-25T18:04:13 < dongs> pl = trash 2012-07-25T18:04:19 < karlp> ahh, ok, good to know :) 2012-07-25T18:04:27 < karlp> that's thge sort of distinction I was looking for :) 2012-07-25T18:04:32 < dongs> but cp2102, works great 2012-07-25T18:04:37 < dongs> i use them in my flying trollthing 2012-07-25T18:04:42 < dongs> cuz im too lazy to do usb on f103 2012-07-25T18:04:50 < karlp> what goes wrong with the pl ones? 2012-07-25T18:05:04 < dongs> they uh... crash when you push data at them at 115200 2012-07-25T18:05:45 < dongs> and the drivers are garbge 2012-07-25T18:05:49 < karlp> good enough 2012-07-25T18:06:01 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-25T18:06:26 < karlp> need to make an IR receiver for rpi, seems that one of those dongles: http://www.ebay.com/itm/CP2102-Module-STC-Download-Cable-USB-2-0-to-UART-TTL-6PIN-Serial-Converter-/221080606889?pt=LH_DefaultDomain_0&hash=item33796e58a9#shId and one of those IR -> ttl receiver things wired straight onto the RX line would work just fine 2012-07-25T18:06:49 < dongs> probably. 2012-07-25T18:07:30 < karlp> glad I asked, pl2303 seems to bemore common amongst the cheap ones. 2012-07-25T18:07:40 < dongs> ya, nothing but trouble with that shit. 2012-07-25T18:08:19 < dongs> apparently ftdi came out with s ome new shit,, ftdi-x or osmething 2012-07-25T18:08:21 < dongs> costdown verison 2012-07-25T18:08:27 < dongs> but still cant beat prices of 2102 2012-07-25T18:09:04 < karlp> heh, free shipping, for 2.89 buy it now, 2012-07-25T18:09:10 < dongs> i kno rite. 2012-07-25T18:11:17 < karlp> or 0.99 min bid + 1.99 shipping == 2.98 2012-07-25T18:11:24 < karlp> same seller 2012-07-25T18:11:41 < karlp> doh 2012-07-25T18:11:45 < karlp> I can't even do maths in my head 2012-07-25T18:11:59 < karlp> and I mistyped on my first comment 2012-07-25T18:12:03 < karlp> I thought they were the same price. 2012-07-25T18:14:45 < karlp> yeah, ft230x 2012-07-25T18:14:50 < karlp> doesn't really seem to exist much yet 2012-07-25T18:16:01 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-25T18:17:33 < dongs> I paid $1/ea for 2102 in qty and i got ripped, considering that shit sells for $3shipped for complete assembled shit 2012-07-25T18:18:52 -!- claude_work is now known as claude 2012-07-25T18:27:00 < karlp> pity they all have different pinouts 2012-07-25T18:27:06 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-25T18:27:11 < dongs> how so? 2012-07-25T18:27:25 < karlp> the order of things on the six pin header they all have is different 2012-07-25T18:27:43 < karlp> and different to the ftdi 6 pin header cables floating around 2012-07-25T18:27:48 < tech2077> hmm, i have no idea about the RL78 board i got 2012-07-25T18:27:58 < tech2077> but the extra USB cable is nice 2012-07-25T18:28:26 < Laurenceb> i use cp2102 too 2012-07-25T18:28:30 < Laurenceb> tiss nice 2012-07-25T18:28:39 < Laurenceb> also you can have split rails without frying it 2012-07-25T18:28:42 < tech2077> it's actually a shielded usb cable in a promo kit for free 2012-07-25T18:28:43 < Laurenceb> unlike ftdi 2012-07-25T18:29:26 < Laurenceb> so you power the cp2102 off 3.3v from the target 2012-07-25T18:29:42 < dongs> Ya. 2012-07-25T18:29:46 < Laurenceb> and you can plug in usb with target unpowered or visa versa 2012-07-25T18:29:52 < Laurenceb> ftdi would fry 2012-07-25T18:29:57 < dongs> oh is that why tarduino faggots smoke their shit 2012-07-25T18:30:04 < Laurenceb> yes 2012-07-25T18:30:21 < Laurenceb> its in the ftdi datasheet 2012-07-25T18:30:36 < Laurenceb> you need proper sequencing 2012-07-25T18:31:14 < tech2077> oh, for 5v0 and 3v3 on the ftdi's 2012-07-25T18:33:02 < dongs> http://wallyoz.smugmug.com/photos/i-fv5cK6b/0/L/i-fv5cK6b-L.jpg haha 2012-07-25T18:33:38 < Laurenceb> i can almost smell it 2012-07-25T18:34:49 < tech2077> ooh, some awful smoking their 2012-07-25T18:35:17 < dongs> apparently stm d idnt smoke 2012-07-25T18:35:24 < dongs> it was the recoms lulz 2012-07-25T18:35:35 < dongs> http://wallyoz.smugmug.com/photos/i-GNc8kJH/0/L/i-GNc8kJH-L.jpg after 2012-07-25T18:36:07 < tech2077> ah 2012-07-25T18:42:15 < bcsllc-steve> what is that ? 2012-07-25T18:42:32 < bcsllc-steve> gps 2012-07-25T18:43:18 < karlp> some flying rc trollonaut thingy 2012-07-25T18:43:28 < dongs> probably. 2012-07-25T18:43:43 < cjbaird> Walking into my room, see this, wut do? http://i.imgur.com/9Rg3k.jpg 2012-07-25T18:43:45 < dongs> im sure im gonna remember something the moment i submit this fucking digikey order 2012-07-25T18:43:55 < dongs> fap 2012-07-25T18:44:15 < dongs> looks like helpinghands thingy behind a lamp 2012-07-25T18:44:32 < bcsllc-steve> looks like a transformer char 2012-07-25T18:44:34 < cjbaird> yep, blue LED of an external HDD 2012-07-25T18:45:28 < cjbaird> I was thinking Geiger.. 2012-07-25T19:07:19 -!- izua [izua@2a02:2f01:1016:11f2:7d99:a1e6:7e8a:8de0] has joined ##stm32 2012-07-25T19:07:20 -!- izua [izua@2a02:2f01:1016:11f2:7d99:a1e6:7e8a:8de0] has quit [Changing host] 2012-07-25T19:07:20 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-25T19:07:23 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-25T19:16:59 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-25T19:17:02 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-25T19:18:12 <+Steffanx> nu 2012-07-25T19:21:47 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-25T19:24:05 <+izua> ni 2012-07-25T19:25:35 <+Steffanx> How's the wiki going izua ? 2012-07-25T19:25:59 <+izua> <1ms ping, so, pretty good. 2012-07-25T19:26:29 <+Steffanx> Good to hear 2012-07-25T19:27:48 <+Steffanx> So how is izua going? Also < 1ms ping? 2012-07-25T19:28:49 <+izua> izua is going pretty well, went hiking, broke his back and relaxed some more 2012-07-25T19:29:16 <+izua> how's Steffanx going 2012-07-25T19:29:27 <+Steffanx> broke his back .. seriously? 2012-07-25T19:30:05 <+izua> well.. i had some lower back ache since autumn 2012-07-25T19:30:22 <+izua> turns out hiking and climbing isn't exactly good for you, now it hurts more :/ 2012-07-25T19:30:33 <+Steffanx> Aw, too bad 2012-07-25T19:30:48 <+Steffanx> Steffanx is also going pretty well 2012-07-25T19:30:50 <+izua> it's probably a computer-chair-time-of-usage problem 2012-07-25T19:31:03 < zyp> :p 2012-07-25T19:31:06 <+Steffanx> No hiking, no back pain etc. 2012-07-25T19:31:31 <+izua> any cool stuff ? 2012-07-25T19:31:51 <+izua> i sort of learned to operate a lathe semi-decently, while working on my final year project 2012-07-25T19:32:05 <+izua> which is, so far, the highlight of the summer 2012-07-25T19:32:21 <+Steffanx> No highlights for me this summer 2012-07-25T19:32:40 <+izua> now i want to get a lathe to make cool parts, and they're waaay out of my budget :/ 2012-07-25T19:32:51 <+Steffanx> I prefer a good 3d printer 2012-07-25T19:34:21 <+izua> they're pretty good, if you want interlocked bearings and other such useful parts 2012-07-25T19:36:26 <+izua> i've seen a model of the city's center done on one of those powdery thingies in less than 12 hours 2012-07-25T19:36:32 <+izua> parts were rather fragile though 2012-07-25T19:48:06 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-25T19:53:05 < cjbaird> I have reoccuring spinal issues (sciatic nerve; caused by a car accident) .. I usually take (anti-inflammatory) Voltarin tablets at the first sign of any issues, and I've avoided being paralyzied for over 10 years.. Had some nasty flare-ups in that time, though. :/ 2012-07-25T19:53:22 < tech2077> anyone using st-flash with the stm32F0 2012-07-25T20:00:22 < zyp> is it supported now? 2012-07-25T20:00:58 < zyp> last I heard, flash writing on F0 were not supported by texane/stlink 2012-07-25T20:01:08 < zyp> but that's a month or two ago 2012-07-25T20:01:09 < tech2077> same 2012-07-25T20:01:21 < tech2077> i was wondering if things had changed 2012-07-25T20:01:38 < zyp> not that I know of 2012-07-25T20:01:44 < tech2077> since i heard scszys may have gotten it working 2012-07-25T20:02:13 < zyp> I was hoping to pick up a F0 board in japan but they didn't have it in stock yet 2012-07-25T20:02:19 < zyp> otherwise I'd have a look at it 2012-07-25T20:03:19 < tech2077> i was lucky enough to get one free 2012-07-25T20:03:29 < PaulFertser> tech2077: i think openocd works with stlink+stm32f0 2012-07-25T20:03:30 < tech2077> but i don't have an easy way to program it 2012-07-25T20:03:45 < PaulFertser> tech2077: it has all the patches ready it seems. 2012-07-25T20:03:46 < tech2077> hmm, i haven't used openocd 2012-07-25T20:04:01 < PaulFertser> tech2077: i personally used stm32f0 with the serial bootloader and stm32-flash 2012-07-25T20:04:35 < tech2077> i might do that 2012-07-25T20:04:43 < tech2077> i'll look at openocd first 2012-07-25T20:05:48 < PaulFertser> tech2077: openocd is a fine software. Basically, you'll need to "source [find board/stm32f0discovery.cfg]" and that's the sole line you'll need in your config. 2012-07-25T20:06:03 < tech2077> hmm 2012-07-25T20:07:16 < tech2077> i guess for testing out i can just write to ram 2012-07-25T20:07:34 < tech2077> since st-flash supports that right now 2012-07-25T20:07:34 < PaulFertser> tech2077: sure 2012-07-25T20:08:10 < zyp> PaulFertser, last time I tried openocd, I found it to be incompatible with the versions of gdb I had installed 2012-07-25T20:08:33 < zyp> standalone flashing worked however 2012-07-25T20:08:36 < PaulFertser> zyp: it's not a real incompatibility, and can be trivially workarounded. 2012-07-25T20:08:43 < PaulFertser> zyp: do you need the recipe? ;) 2012-07-25T20:08:56 < zyp> wouldn't hurt to know 2012-07-25T20:09:27 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has left ##stm32 ["Leaving"] 2012-07-25T20:09:44 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-25T20:09:47 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-25T20:10:20 < PaulFertser> zyp: http://permalink.gmane.org/gmane.comp.debugging.openocd.devel/19391 2012-07-25T20:10:51 < zyp> ah, right 2012-07-25T20:11:31 -!- chaoshax [~chaoshax@cpc5-swin15-2-0-cust121.3-1.cable.virginmedia.com] has joined ##stm32 2012-07-25T20:12:23 < zyp> does it support the fpu registers of F4 and everything with that target description? 2012-07-25T20:13:12 < PaulFertser> zyp: i can't tell you for sure, i'd need to consult openocd sources to answer that... 2012-07-25T20:14:19 < karlp> has oocd not merged in support for this yet? 2012-07-25T20:14:34 < karlp> (the gdb register definition fiasco) 2012-07-25T20:14:45 < PaulFertser> karlp: afaik, no :( 2012-07-25T20:15:08 < karlp> more things I find tedious about oocd :| 2012-07-25T20:15:25 < karlp> when it first came up it was, "oh, clearly your gdb is broken, go and fix it" 2012-07-25T20:16:09 < tech2077> ubuntu openocd is definitely too outdated 2012-07-25T20:16:26 < karlp> as far as I can tell, any packaged version of oocd is by definition outdated 2012-07-25T20:16:31 < tech2077> yep 2012-07-25T20:16:47 < zyp> oh, and having a board/stm32f0discovery.cfg and arguing about how easy openocd is to use is kind of cheating :p 2012-07-25T20:17:06 < zyp> because it's not that easy on custom boards, is it? 2012-07-25T20:17:14 < PaulFertser> tech2077: compiling it from the sources is easy, just git clone and it should be fine. 2012-07-25T20:17:23 < tech2077> yep 2012-07-25T20:17:37 < PaulFertser> zyp: it is easy actually. 2012-07-25T20:18:31 < zyp> I seem to recall having a config of 20 lines or so when I used openocd 2012-07-25T20:19:00 < PaulFertser> zyp: for our custom boards we use a two-line config usually or so :) 2012-07-25T20:19:26 < PaulFertser> zyp: "source [find interface/ftdi/olimex-arm-usb-ocd.cfg]; source [find target/stm32f1x.cfg]" 2012-07-25T20:19:29 < zyp> yeah, as long as you can include a couple of other configs that matches ;) 2012-07-25T20:19:46 < PaulFertser> zyp: just two files from the sources. 2012-07-25T20:21:51 < zyp> hmm, 20 lines was an overstatement, that included the produce I wrote for batch flashing 2012-07-25T20:22:25 < tech2077> and it's not compiling 2012-07-25T20:22:41 < PaulFertser> tech2077: please pastebin the error 2012-07-25T20:23:04 < tech2077> http://pastebin.com/eAEPy34A 2012-07-25T20:23:38 < PaulFertser> tech2077: you should have run ./configure --enable-maintainer-mode for a cloned repo 2012-07-25T20:23:58 < tech2077> ah 2012-07-25T20:24:42 < cjbaird> tech2077: I got that as well, however it'll still 'make -k install' okay. 2012-07-25T20:26:51 < tech2077> and now openocd does not want to find my stlink 2012-07-25T20:27:17 < PaulFertser> tech2077: you need to install its udev rules and add yourself to plugdev group :) 2012-07-25T20:27:33 < tech2077> i'm pretty sure i've done that 2012-07-25T20:27:39 < PaulFertser> tech2077: and of course ./configure --enable-stlink 2012-07-25T20:27:41 < tech2077> since st-flash works as a non-su 2012-07-25T20:27:44 < tech2077> ... 2012-07-25T20:27:46 < tech2077> dammit 2012-07-25T20:29:16 < tech2077> and now i know why it's disabled by default 2012-07-25T20:29:23 < tech2077> my compile time is over doubled 2012-07-25T20:30:12 < tech2077> and this seems to work pretty well 2012-07-25T20:32:25 < tech2077> but i must say, stm did learn a lesson with the f4, they at least were kind enough to have broken out tx and rx for the bootloader 2012-07-25T20:33:20 < tech2077> i really like this new usb cable 2012-07-25T20:33:41 < tech2077> reneas has good taste in micro usb cables, thick, shielded, and of a nice usable length 2012-07-25T20:36:19 < tech2077> openocd seems easy enough as long as you have a nice, documented dev board 2012-07-25T20:36:27 < tech2077> but seems like you screwed otherwise :) 2012-07-25T20:37:35 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-25T20:37:37 < PaulFertser> tech2077: you're not. I've personally used it for several fully custom boards, including an lpc24xx, i.mx25, stm32f107 etc 2012-07-25T20:37:47 < tech2077> hmm 2012-07-25T20:37:53 < tech2077> great to know 2012-07-25T20:38:03 < tech2077> i'm really liking the stm32s 2012-07-25T20:38:08 < tech2077> 's* 2012-07-25T20:53:13 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-25T20:53:52 < jpa-> now i'm going to answer a question from 8 months back: 2012-07-25T20:53:53 < jpa-> 2011-11-15T23:52:01 < Xamusk> has anyone here ever found a good protobuf implementation for STM32? 2012-07-25T20:54:05 < jpa-> Xamuxk: http://code.google.com/p/nanopb/ 2012-07-25T20:54:05 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-25T20:55:48 <+Steffanx> Too bad it's written by someone called Petteri Aimonen 2012-07-25T20:56:06 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Remote host closed the connection] 2012-07-25T20:56:43 * PaulFertser used nanopb too, was a nice experience 2012-07-25T20:56:59 < jpa-> happened to stumble over the zlog logs when googling something related :P 2012-07-25T20:58:10 <+Steffanx> Google for anything stm32 related and you find the logs of this channel jpa- :) 2012-07-25T20:58:39 < jpa-> indeed 2012-07-25T20:58:59 <+Steffanx> http://tinyurl.com/kkeenx :D 2012-07-25T20:59:07 <+Steffanx> "stm32 pokemon" :D 2012-07-25T20:59:38 < emeb> lmgtfy recursion 2012-07-25T20:59:43 <+Steffanx> "stm32 ak47" 2012-07-25T21:00:35 < jpa-> i was about to complain that we are not the top result for stm32 pokemon.. but apparently i did so already :) 2012-07-25T21:01:00 < zippe> jpa-: Do you need protobuf, or just any mechanism for serialising structures? 2012-07-25T21:01:51 < jpa-> zippe: naah, not currently; just poking around 2012-07-25T21:02:08 < zippe> How does nanopb compare with tpl? 2012-07-25T21:03:42 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 276 seconds] 2012-07-25T21:06:19 < jpa-> zippe: care to provide link to tpl? i've never heard about it 2012-07-25T21:06:30 < PaulFertser> Protobuf is meant to be used for easily evolving protocols, and also can be handled by many different platforms and langugages. It's not just a serialiser. 2012-07-25T21:06:32 < jpa-> google gives some 'titan' project, but TPL/protobuf is just empty dif 2012-07-25T21:06:34 < jpa-> *dir 2012-07-25T21:06:39 < PaulFertser> jpa-: http://tpl.sourceforge.net/ 2012-07-25T21:07:02 < jpa-> ok, so totally different :P 2012-07-25T21:07:09 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-25T21:08:15 < jpa-> yeah, the compatibility is the largest advantage of protobuf, compared to the bazillion serialization formats 2012-07-25T21:09:27 < jpa-> as for the user interface, nanopb collects data from structs itself, tpl apparently uses function calls; matter of preference 2012-07-25T21:14:00 <+dekar> http://chzscience.files.wordpress.com/2012/07/funny-science-news-experiments-memes-the-mechanical-miracle.jpg 2012-07-25T21:14:57 < jpa-> huh, they all came from dongs? 2012-07-25T21:16:28 <+Steffanx> You don't want to know 2012-07-25T21:25:01 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 245 seconds] 2012-07-25T21:25:25 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200456.dsl.bell.ca] has joined ##stm32 2012-07-25T21:25:25 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200456.dsl.bell.ca] has quit [Changing host] 2012-07-25T21:25:25 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-25T21:25:49 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-25T21:39:16 < PaulFertser> zyp: it looks like OpenOCD doesn't support handling FPU registers, just checks if they're present on C-M4 :( Does texane/stlink fully support FPU? 2012-07-25T21:40:00 < zyp> unsure, karlp probably knows that better than me 2012-07-25T21:41:46 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has joined ##stm32 2012-07-25T21:43:02 < zyp> I'm usually using blackmagic probe for my own stuff, and it supports fpu registers 2012-07-25T21:47:09 < PaulFertser> zyp: looks like some kick-ass device! 2012-07-25T21:47:56 <+Steffanx> Hehe, everyone who looks at it says that :D :D 2012-07-25T21:48:00 < zyp> yeah, love it 2012-07-25T21:48:21 < PaulFertser> But 60$ is kind of not cheap either. 2012-07-25T21:48:46 < zyp> worth it 2012-07-25T21:48:58 <+Steffanx> 75$ for the new version actually 2012-07-25T21:49:06 < zyp> it's «no bullshit», just plug it in and fire up gdb 2012-07-25T21:49:12 <+Steffanx> Not sure why that smaller version is 15$ more 2012-07-25T21:52:56 < PaulFertser> Do you mean i can take the ST-link from one of the discovery boards, hack it a little and flash BMP? 2012-07-25T21:53:21 < PaulFertser> iirc STM32F103RB is the chip used there on stlinks 2012-07-25T21:53:50 <+Steffanx> Yes you can 2012-07-25T21:53:52 < PaulFertser> F103C8T6 actually 2012-07-25T21:54:55 < PaulFertser> Heh, i have a spare STM8Discovery board at work, hehe. STM8's are not of much use as there's no toolchain or anything else to use them. But it's st-link probably worth repurposing, thanks for the pointer, guys! :) 2012-07-25T21:56:15 <+Steffanx> izua alive/ 2012-07-25T21:56:15 <+Steffanx> ? 2012-07-25T21:56:23 <+izua> yes 2012-07-25T22:09:24 < PaulFertser> Nice thing about texane/stlink is that it supplies GDB with nice register and memory maps, so that it works automatically. But i do not see it being able to report f4 FPU registers either, though there's apparently some support planned. 2012-07-25T22:12:39 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-25T22:16:30 < PaulFertser> Hm, probably i'm not understanding it correctly, because in 'g' command it outputs only 16 registers but when asked for a particular FPU register it seems to be returning it correctly. 2012-07-25T22:16:58 < zippe> PaulFertser: 'g' is somewhat dead 2012-07-25T22:18:46 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-25T22:19:26 < zippe> The register set is compiled into GDB. Historically it's been the old v4+fpu register set, which breaks nearly everything 2012-07-25T22:20:08 < PaulFertser> zippe: but nowadays GDB supports loading an xml map from the remote describing the register set. 2012-07-25T22:21:11 < zippe> correct 2012-07-25T22:21:19 < zippe> But that doesn't necessarily fix the 'g' command 2012-07-25T22:21:35 < zippe> Or wait, hang on 2012-07-25T22:21:39 < zippe> too long playing with another debugger 2012-07-25T22:22:29 < zippe> Right, 'g' is GPRs only 2012-07-25T22:23:47 < zippe> So if the xml doesn't list the FP registers as GPRs (and normally you wouldn't) then 'g' won't fetch/expect them 2012-07-25T22:27:07 < PaulFertser> zippe: all right, thanks for the clarifications. So texane stlink does support F4 FPU all right, nice. 2012-07-25T22:35:57 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-25T22:50:18 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 276 seconds] 2012-07-25T22:51:35 -!- ogden [4d26cb77@gateway/web/freenode/ip.77.38.203.119] has joined ##stm32 2012-07-25T22:57:40 -!- BusError [~michel@host86-184-43-247.range86-184.btcentralplus.com] has joined ##stm32 2012-07-25T22:58:09 < BusError> Disable the library parameter check bloat: CPPFLAGS += "-Dassert_param(_bleh)" 2012-07-25T22:59:03 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Ping timeout: 244 seconds] 2012-07-25T22:59:26 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-25T22:59:42 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has quit [Excess Flood] 2012-07-25T23:00:17 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has joined ##stm32 2012-07-25T23:11:36 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-25T23:21:09 < Laurenceb_> shemales 2012-07-25T23:24:06 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Ping timeout: 276 seconds] 2012-07-25T23:25:11 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Quit: Leaving.] 2012-07-25T23:27:05 <+izua> this is not google, please go away with your boobmen 2012-07-25T23:35:58 < Laurenceb_> i thought i was on ##electronics 2012-07-25T23:40:15 < Laurenceb_> its the ladyboy channel 2012-07-25T23:41:23 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-25T23:46:22 -!- ossifrage [~ossifrage@c-71-224-69-0.hsd1.pa.comcast.net] has joined ##stm32 2012-07-25T23:48:15 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-25T23:48:28 < Laurenceb_> feurig: made any progress? 2012-07-25T23:58:11 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] --- Day changed Thu Jul 26 2012 2012-07-26T00:00:30 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Ping timeout: 276 seconds] 2012-07-26T00:06:25 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-26T00:15:37 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-26T00:20:02 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-26T00:46:06 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has joined ##stm32 2012-07-26T00:49:13 -!- mode/##stm32 [+o Steffanx] by ChanServ 2012-07-26T00:49:18 -!- mode/##stm32 [-o Steffanx] by ChanServ 2012-07-26T00:57:57 < feurig> yeah but mostly with the hotplate :) 2012-07-26T00:58:26 -!- tech2077 [~tech2077@107-1-61-118-ip-static.hfc.comcastbusiness.net] has quit [Read error: Operation timed out] 2012-07-26T01:01:04 < Laurenceb_> i thought you were using a olimexino 2012-07-26T01:01:33 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-26T01:01:48 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has left ##stm32 [] 2012-07-26T01:06:59 -!- ogden [4d26cb77@gateway/web/freenode/ip.77.38.203.119] has quit [Quit: Page closed] 2012-07-26T01:14:08 < feurig> no my own maple mini derivative 2012-07-26T01:37:37 < Laurenceb_> oh 2012-07-26T01:37:41 < Laurenceb_> interesting 2012-07-26T01:37:49 < Laurenceb_> olimexino is very nice 2012-07-26T01:38:01 < Laurenceb_> you're aiming for smaller? 2012-07-26T01:38:05 < Laurenceb_> any photos? 2012-07-26T01:38:53 < zippe> Finally. 2012-07-26T01:38:54 < zippe> http://diydrones.com/profiles/blogs/introducing-the-px4-autopilot-system 2012-07-26T01:41:23 <+Steffanx> Doesn't look that special .. 2012-07-26T01:41:49 -!- Laurenceb__ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-26T01:43:14 < zippe> What would make it "special"? 2012-07-26T01:43:21 < zippe> Does it need spinnaz? 2012-07-26T01:44:30 -!- Laurenceb_ [~Laurence@host86-143-55-252.range86-143.btcentralplus.com] has quit [Ping timeout: 276 seconds] 2012-07-26T01:47:02 <+Steffanx> It should be special because apparently you were waiting for it :) 2012-07-26T01:47:08 <+Steffanx> *it has to be special 2012-07-26T01:48:24 < Xamuxk> I did pretty much the same, but with F1... got everything working and had quite a lot of excess horsepower 2012-07-26T01:50:39 < zippe> I wasn't "waiting" for it so much 2012-07-26T01:51:35 <+Steffanx> Okok :) 2012-07-26T01:52:57 -!- Laurenceb__ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 276 seconds] 2012-07-26T02:00:48 -!- izua_ [~izua@unaffiliated/izua] has joined ##stm32 2012-07-26T02:00:51 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-26T02:03:40 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-26T02:43:59 -!- izua_ [~izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-26T02:47:33 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 276 seconds] 2012-07-26T03:09:25 < Xamuxk> damn, this gcc stuff is elusive 2012-07-26T03:25:08 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-26T03:25:26 -!- peabody124 [~peabody12@128.249.96.21] has quit [Read error: Connection reset by peer] 2012-07-26T03:25:32 < feurig> like DUH! 2012-07-26T03:25:47 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-26T03:35:26 < dongs> o hai 2012-07-26T03:35:29 < dongs> status of status 2012-07-26T03:39:04 -!- peabody124 [~peabody12@128.249.96.21] has quit [Quit: peabody124] 2012-07-26T03:59:44 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-26T04:02:26 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: Leaving.] 2012-07-26T04:06:42 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-26T04:18:11 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-26T04:22:56 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-26T04:23:55 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-26T04:26:33 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Client Quit] 2012-07-26T04:29:00 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-26T04:47:35 < Xamuxk> that error is getting under my skin 2012-07-26T04:48:06 < Xamuxk> the strange part is that it actually does build g++, but some configure doesnŽt work... maybe stage2 ou 3 2012-07-26T04:50:01 -!- Xamuxk is now known as Xamusk 2012-07-26T04:50:16 < upgrdman> anyone here use timer external trigger mode 1 on the stm32f4? its the mode that counts transitions on a pin. it has a filter that i was hoping would be enough to debounce a switch, but it seems like the max length is still not enough? can anyone confirm? not sure if the filter is just not meant for this purpose, or the pushbutton on the discovery board is just really bouncy. (havn) 2012-07-26T04:50:28 < upgrdman> (haven't check with a DSO yet) 2012-07-26T04:50:58 < upgrdman> mmm "external clock mode 1" ... not external trigger. 2012-07-26T04:56:01 < mirTapir> clock mode ? 2012-07-26T04:56:13 < mirTapir> upgrdman, whats up 2012-07-26T04:57:03 < mirTapir> why dont you write a handler 2012-07-26T04:57:28 < mirTapir> shouldnt be so difficult 2012-07-26T04:57:37 < upgrdman> RM0090, p.373 2012-07-26T04:57:37 < dongs> im pretty sure external "clock" is not meant to be debounced 2012-07-26T04:57:38 < mirTapir> you can use the rtc 2012-07-26T04:58:22 < mirTapir> is he using a timer or an external trigger ? 2012-07-26T04:58:25 < upgrdman> dongs, ok. why would someone need a filter? (i'm curious, not arguing) 2012-07-26T04:58:41 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-26T04:58:43 < dongs> filter on input capture or something 2012-07-26T04:58:49 < mirTapir> upgrdman, do you have the link to rm0090 2012-07-26T04:58:52 < upgrdman> its a timer, but instead of using the internal clock source, it's clocked by transitions on a pin 2012-07-26T04:58:58 < dongs> right 2012-07-26T04:59:01 < mirTapir> upgrdman, 2012-07-26T04:59:02 < dongs> and youre using a BUTTON to do that? 2012-07-26T04:59:03 < mirTapir> its a pll 2012-07-26T04:59:06 < mirTapir> ^^ 2012-07-26T04:59:15 < mirTapir> disciplined by an external source 2012-07-26T04:59:16 < dongs> well youre doing it wrong. 2012-07-26T04:59:32 < upgrdman> http://www.st.com/internet/mcu/product/252136.jsp ... goto design support tab, then scroll down 2012-07-26T05:00:04 < upgrdman> dongs, only as a test!! 2012-07-26T05:00:41 < mirTapir> what about using a vco @ upgrdman 2012-07-26T05:00:43 < mirTapir> ^^ 2012-07-26T05:00:49 < upgrdman> im reading through rm0090 and trying out short examples that require nothing other than the disco board and maybe a char lcd... 2012-07-26T05:01:29 < mirTapir> upgrdman, i still suggest you read the timer stuff completly before you start with the sections 2012-07-26T05:01:41 < mirTapir> the documents are not structured that way 2012-07-26T05:01:49 < mirTapir> its not like a story you can read continously 2012-07-26T05:01:51 < upgrdman> mirTapir, well what if you want to count how many times a user pushed a button? seems like using a timer with external clock source 1 makes sense and does all the work without interrupting code 2012-07-26T05:02:06 < upgrdman> mirTapir, i know... the stm docs are junk 2012-07-26T05:02:15 < mirTapir> upgrdman, why not just put the pin as input pullup 2012-07-26T05:02:19 < upgrdman> and the firmware is... not helpful for a beginner 2012-07-26T05:02:21 < mirTapir> and count the transitions to low 2012-07-26T05:02:40 < upgrdman> mirTapir, how would that compensate for switch bounce? 2012-07-26T05:02:42 < mirTapir> ARM's generally arent good for beginners 2012-07-26T05:02:43 < mirTapir> they are too complex 2012-07-26T05:02:51 < upgrdman> well i know the arduino 2012-07-26T05:02:52 < upgrdman> but 2012-07-26T05:02:52 < mirTapir> the switch doesnt bounce ? 2012-07-26T05:02:55 < upgrdman> i want to learn more 2012-07-26T05:02:58 < mirTapir> in that case 2012-07-26T05:03:07 < mirTapir> you put the switch between the pin and ground 2012-07-26T05:03:10 < mirTapir> you have input pullup 2012-07-26T05:03:24 < mirTapir> you push the switch and it will pull down the pin to ground 2012-07-26T05:03:33 < mirTapir> you only trigger on falling edge 2012-07-26T05:03:44 < mirTapir> i dont see a problem with that 2012-07-26T05:03:47 < upgrdman> a pull-up (external or internal) will not address switch bounce. ever looked at switch bounce on a DSO? 2012-07-26T05:04:11 < mirTapir> what do you want to do 2012-07-26T05:04:14 < mirTapir> i dont get you 2012-07-26T05:04:20 < mirTapir> the pin is pulled up to vcc internally 2012-07-26T05:04:31 < upgrdman> mirTapir, well what if you want to count how many times a user pushed a button? seems like using a timer with external clock source 1 makes sense and does all the work without interrupting code 2012-07-26T05:04:34 < mirTapir> you want to count how often the button is pushed+released 2012-07-26T05:04:50 < mirTapir> why a timer 2012-07-26T05:04:58 < mirTapir> i dont see a sense if you dont want to measure times 2012-07-26T05:05:10 < upgrdman> mirTapir, do you know what switch bounce is? the pins will go high AND low AND high AND low several times... 2012-07-26T05:05:15 < upgrdman> pin* 2012-07-26T05:05:25 < mirTapir> you want to trigger on only one edge 2012-07-26T05:05:33 < mirTapir> why do you want to debounce anything 2012-07-26T05:05:36 < upgrdman> mirTapir, a timer is a counter... it does not have to count time 2012-07-26T05:05:42 < mirTapir> no a counter is a counter 2012-07-26T05:05:55 < mirTapir> ^^ 2012-07-26T05:06:04 < upgrdman> mirTapir, when a switch bounces IT HAS MANY EDGES 2012-07-26T05:06:06 < mirTapir> what has a timer todo with a button 2012-07-26T05:06:11 < upgrdman> hold on, i'll show you 2012-07-26T05:06:14 < mirTapir> lol ? 2012-07-26T05:06:49 < upgrdman> http://www.farrellf.com/projects/hardware/2012-05-08%20Rotary%20Encoders%20with%20the%20Arduino/switch_bounce.gif 2012-07-26T05:06:54 < mirTapir> maybe you got ringing on your pin 2012-07-26T05:07:00 < upgrdman> look... shit tons of edges 2012-07-26T05:07:08 < mirTapir> you shouldnt overdrive the io pins 2012-07-26T05:07:26 < dongs> overdong 2012-07-26T05:07:39 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Read error: Operation timed out] 2012-07-26T05:07:52 < mirTapir> strange 2012-07-26T05:07:57 < mirTapir> i dont got that problem with my switches ^^ 2012-07-26T05:08:09 < Xamusk> that problem is actually quite common 2012-07-26T05:08:09 < mirTapir> well anyway 2012-07-26T05:08:12 < upgrdman> maybe the pushbuttons on the f4disco board are cheap shit... 2012-07-26T05:08:21 < upgrdman> but all mechanical switches bounce 2012-07-26T05:08:24 < upgrdman> some more than others 2012-07-26T05:08:36 < mirTapir> i dont see where you reach a high level 2012-07-26T05:08:38 < mirTapir> in these small peaks 2012-07-26T05:08:50 < mirTapir> it should be fine ^^ 2012-07-26T05:08:59 < upgrdman> that image happens to be from a rotary encoder i pulled from a radio and ended up debouncing with hardware 2012-07-26T05:09:13 < Xamusk> they look small, but they are sufficient to toggle a CMOS input 2012-07-26T05:09:23 < upgrdman> mirTapir, it will sense some of them as high. 2012-07-26T05:09:49 < mirTapir> maybe you should try driving the pin a bit less 2012-07-26T05:10:03 < Xamusk> upgrdman, maybe itŽs just better to use interrupts 2012-07-26T05:10:09 < mirTapir> does the peak voltage stay the same then ? 2012-07-26T05:10:10 < upgrdman> anyway... why would some use the input filter? again, im curious, not arguing. 2012-07-26T05:10:41 < mirTapir> ^ ^ 2012-07-26T05:10:45 < Xamusk> anyway, if itŽs a pll or vco, it shouldnŽt have bouncing 2012-07-26T05:10:54 < mirTapir> if you overdrive a cmos it begins to ring 2012-07-26T05:10:57 < upgrdman> mirTapir, its the disco board. all the hardware and done. i could add a cap to try to compensate but i dont really care. this was just a contrived example for me to try 2012-07-26T05:11:03 < mirTapir> undershoots arent good too 2012-07-26T05:11:07 < upgrdman> is done* 2012-07-26T05:11:11 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-26T05:11:28 < mirTapir> well disable the interrupt handler in the handler itself 2012-07-26T05:11:30 < mirTapir> and reenable it later 2012-07-26T05:11:34 < mirTapir> ^^ 2012-07-26T05:12:02 < upgrdman> yes, i know about that. im fine with ISRs, just wanted to see if this was possible without interrupting code flow 2012-07-26T05:12:16 < upgrdman> why would some use the input filter? 2012-07-26T05:12:18 < mirTapir> you can do it without interrupt handler sure 2012-07-26T05:12:30 < mirTapir> you can run everyhting in a loop 2012-07-26T05:12:41 < mirTapir> you can even count interations if you want to 2012-07-26T05:12:44 < upgrdman> round robin, yes i know 2012-07-26T05:12:45 < mirTapir> ^ ^ 2012-07-26T05:12:49 < Xamusk> in a loop? thatŽs just too Arduino-like :( 2012-07-26T05:12:52 < mirTapir> use a rtos if you dont want to interrupt 2012-07-26T05:13:08 < Xamusk> RTOS? Overkill to just count 2012-07-26T05:13:12 < mirTapir> lol ? 2012-07-26T05:13:19 < upgrdman> yes, way fucking overkill 2012-07-26T05:13:30 < Xamusk> but ChibiOS is good and has a ICU HAL module 2012-07-26T05:13:30 < mirTapir> why should it be overkill 2012-07-26T05:13:33 < upgrdman> so, has anyone here ever used the input filter? 2012-07-26T05:13:56 < upgrdman> mirTapir, keep stuff simple... no need to add an OS for something like that 2012-07-26T05:14:28 < mirTapir> maybe not for something like that 2012-07-26T05:14:51 < mirTapir> but if you never used an rtos 2012-07-26T05:14:54 < mirTapir> i suggest you to read about it 2012-07-26T05:14:57 < mirTapir> ^ ^ 2012-07-26T05:15:00 < mirTapir> i write portable code 2012-07-26T05:15:41 < dongs> i write lunix trolls 2012-07-26T05:16:04 < mirTapir> parasitic diodes are fun 2012-07-26T05:16:17 < mirTapir> whats lunix 2012-07-26T05:16:19 < Xamusk> upgrdman, http://chibios.sourceforge.net/docs/hal_stm32f1xx_rm/group___i_c_u.html 2012-07-26T05:16:27 < dongs> lunix is a parasitic os 2012-07-26T05:16:32 < mirTapir> cool 2012-07-26T05:16:38 < mirTapir> i thought netbsd is 2012-07-26T05:16:56 < dongs> netbsd doesnt have bearded faggots running around forcing normal people to install their shit. 2012-07-26T05:16:57 < mirTapir> but maybe viral is a better word 2012-07-26T05:17:11 < mirTapir> you dont like alan cox ? 2012-07-26T05:17:24 < dongs> not in my anus, no 2012-07-26T05:17:35 < dongs> which is where he tries to be all the time. 2012-07-26T05:17:46 < mirTapir> lol 2012-07-26T05:18:01 < mirTapir> linux lost quality ^^ 2012-07-26T05:18:12 < dongs> has it ever had it? 2012-07-26T05:18:42 < dongs> "lost" implies "had at some point". 2012-07-26T05:18:51 < dongs> lunix was shit back in 1996, its not any different now 2012-07-26T05:18:57 < dongs> 10 iterations of every subsystem rewritten 2012-07-26T05:19:00 < dongs> but still same shit. 2012-07-26T05:19:16 < dongs> anyone remember ipchains? or udev? or devfs? or... 2012-07-26T05:19:18 < mirTapir> well 2012-07-26T05:19:25 < mirTapir> i prefer bsd pf 2012-07-26T05:19:36 < dongs> I prefer windows 7 professional x64 sp1 2012-07-26T05:19:52 < mirTapir> well 2012-07-26T05:19:55 < dongs> since I like getting shit done 2012-07-26T05:19:57 < mirTapir> anyway nobody forces you to install linux 2012-07-26T05:20:08 < mirTapir> if you feel like they force you maybe its some kind of psychosis 2012-07-26T05:20:10 < mirTapir> ^^ 2012-07-26T05:20:52 < mirTapir> windows 7 is not really efficient in resource use 2012-07-26T05:20:57 < upgrdman> mirTapir, i don't have a problem with RTOSs but their overhead is why i ventured away from the arduinos and into a stm32 mcu. i needed to get stuff done with near microsecond delay... 2012-07-26T05:21:07 < mirTapir> but it doesnt matter thing everything gets bloater and bloater with time 2012-07-26T05:21:13 < mirTapir> and the useful features get lost 2012-07-26T05:21:19 < mirTapir> upgrdman, i dont have overhead with freertos 2012-07-26T05:21:59 < mirTapir> upgrdman, you just have to save the state anywhere 2012-07-26T05:22:05 < mirTapir> upgrdman, or build your own state machine 2012-07-26T05:22:13 < mirTapir> very abstract ^^ 2012-07-26T05:22:17 < mirTapir> solves all problems 2012-07-26T05:22:20 < upgrdman> k 2012-07-26T05:22:48 < mirTapir> same principle 2012-07-26T05:23:03 < mirTapir> and well 2012-07-26T05:23:07 < mirTapir> input filters are pretty useful 2012-07-26T05:23:13 < mirTapir> if you want to save 30 cent on a button 2012-07-26T05:23:16 < mirTapir> :P 2012-07-26T05:23:19 -!- zippe [~Adium@173.11.99.161] has quit [Ping timeout: 252 seconds] 2012-07-26T05:23:32 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-26T05:23:42 < upgrdman> what would you use an IF for? 2012-07-26T05:24:17 < dongs> TIM_ETRConfig(TIM1, TIM_ExtTRGPSC_OFF, TIM_ExtTRGPolarity_NonInverted, 50); 2012-07-26T05:24:20 < mirTapir> well 2012-07-26T05:24:29 < mirTapir> as exmaple to get rid of spikes on my sclock line 2012-07-26T05:24:34 < mirTapir> which makes everything async 2012-07-26T05:24:35 < mirTapir> :P 2012-07-26T05:24:45 < upgrdman> why are there spikes? 2012-07-26T05:25:12 < mirTapir> sometimes pins function as antennas 2012-07-26T05:25:34 < mirTapir> picking up free space energy 2012-07-26T05:26:02 < dongs> i reduced ringing by not running gpio at 50mhz 2012-07-26T05:26:05 < mirTapir> if you want to know why there are spikes in some semiconductor i guess you should study the physics of them, and the errata of the semiconductor 2012-07-26T05:26:12 < mirTapir> oh yeah 2012-07-26T05:26:15 < dongs> but actualyl configuring it at wahtever speed i was going to toggle it 2012-07-26T05:26:17 < mirTapir> there are spikes too because of the digital noise 2012-07-26T05:26:20 < mirTapir> and pin crosstalk 2012-07-26T05:26:29 < mirTapir> sometimes 2012-07-26T05:27:14 < mirTapir> dongs, at whatever speed ? 2012-07-26T05:27:42 < dongs> you get a range 2012-07-26T05:27:46 < dongs> 2/10/50? i think? 2012-07-26T05:27:56 < mirTapir> well capacitors have bad frequency behaviour sometimes 2012-07-26T05:28:08 < dongs> so since most ofm y shit is switching at liike 500hz i moved most things to 2mhz mode. 2012-07-26T05:28:19 < mirTapir> properties of semiconductors also get worse by overvoltage damage over time 2012-07-26T05:28:58 < mirTapir> are you bitbanging the pin dongs ? 2012-07-26T05:29:36 -!- zippe1 [~Adium@173.11.99.161] has joined ##stm32 2012-07-26T05:30:02 -!- zippe [~Adium@173.11.99.161] has quit [Ping timeout: 252 seconds] 2012-07-26T05:32:54 < dongs> no, they're all timers. 2012-07-26T05:35:10 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-26T05:37:04 < mirTapir> mhm yeah 2012-07-26T05:37:10 < mirTapir> i can see the timers running even if they are turned off 2012-07-26T05:39:28 < dongs> in what sense? making noise on adjacent pins? 2012-07-26T05:42:41 < Xamusk> ? 2012-07-26T05:42:50 < Xamusk> timers are not necessarily tied to a pin 2012-07-26T06:04:18 -!- Xamusk [~X@189.123.3.189] has quit [Quit: Leaving] 2012-07-26T06:16:56 < dongs> freescale had a free bitmap/font converter app 2012-07-26T06:16:57 < dongs> nice. 2012-07-26T06:17:05 < dongs> works just as good as segger's 2k eur shit. 2012-07-26T06:24:40 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-26T06:52:32 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 252 seconds] 2012-07-26T07:00:35 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-26T07:32:48 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-26T07:32:56 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 2012-07-26T07:36:33 < bcsllc-steve> dongs, do have specs on the freescale app ? 2012-07-26T07:36:39 < bcsllc-steve> is it still avail ? 2012-07-26T07:58:23 < dongs> http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=EGUI 2012-07-26T07:58:29 < dongs> http://cache.freescale.com/files/32bit/doc/user_guide/EGUICUG.pdf manual 2012-07-26T08:14:57 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has quit [Quit: Leaving.] 2012-07-26T08:15:16 -!- GargantuaSauce [~sauce@blk-252-42-151.eastlink.ca] has joined ##stm32 2012-07-26T08:16:12 -!- claude is now known as Claude 2012-07-26T08:17:39 < dongs> http://i.imgur.com/b7FVg.jpg woot 2012-07-26T08:20:06 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-26T08:33:19 < dongs> cjbaird: my pal is goign to china this afternoon and I linked him to leemote 3A and he just lol'd and said "lol, lunix" 2012-07-26T08:34:51 < cjbaird> Well, it's better than 'lol chinese ceepeeu', suppose. 2012-07-26T08:35:22 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-07-26T08:36:02 < cjbaird> So much crap with the A10 is being dumped on the market now. It was you who mentioned it's the 'standard', now? 2012-07-26T08:36:36 < dongs> A10 cortex? no, wasnt me. 2012-07-26T08:36:49 < dongs> ALLWINNER 2012-07-26T08:36:53 < dongs> was probably zippe. 2012-07-26T08:36:59 < zippe1> standard? 2012-07-26T08:37:00 < zippe1> ugh 2012-07-26T08:37:13 < zippe1> It's cheepu 2012-07-26T08:37:29 < zippe1> Not me, thanks 2012-07-26T08:40:57 < dongs> tablets fucking suck anyway 2012-07-26T08:41:02 < dongs> tablets, assdroid.. al lsame useless shit 2012-07-26T08:41:37 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-26T08:41:38 < cjbaird> Where's my 1000-core cpu they've been promising for 10+ years. :I 2012-07-26T08:43:32 < dongs> why bother when you can just pay 1000 chinese minimum wage to do something 2012-07-26T08:46:03 < cjbaird> I spent a whole damn year at Uni programming SIMD and MIMD boards (like MasPar-- from an actual cruse missle?) .. 1000 cores /nao/ 2012-07-26T08:46:58 < cjbaird> That was like ?64 ?128 cpus on a /hypercube/ topology, man. 2012-07-26T08:53:01 < dongs> omaigawd. 2012-07-26T08:54:50 < cjbaird> Ha, only about 200 MasPar systems were made, and my teeny little Uni had one.. 2012-07-26T08:56:49 < cjbaird> It was mostly used for/by the Computer Vision guys. I was only an undergrad with it, though. 2012-07-26T09:00:46 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-26T09:06:08 < cjbaird> Hmm.. an MIMD machine made from MSP430s.. (the MasPar PEs weren't that much different..) 2012-07-26T09:19:40 -!- dekar_ [~dekar@212.255.37.223] has joined ##stm32 2012-07-26T09:19:41 -!- mode/##stm32 [+v dekar_] by ChanServ 2012-07-26T09:22:56 -!- dekar [~dekar@212.255.23.150] has quit [Ping timeout: 246 seconds] 2012-07-26T09:38:14 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-26T09:43:13 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-26T09:44:40 < tech2077> hmm, anyone order one of the stellaris boards from TI 2012-07-26T09:46:06 < PaulFertser> Heh, apparently blackmagicprobe won't fit 64K without tweaks. 2012-07-26T09:46:31 < gsmcmullin> PaulFertser: My build is 56k 2012-07-26T09:46:44 < PaulFertser> gsmcmullin: /away 2012-07-26T09:47:08 < PaulFertser> gsmcmullin: i hope you wouldn't mind me trying to build a version to run on st-link? 2012-07-26T09:47:17 < gsmcmullin> I already have. 2012-07-26T09:47:21 < gsmcmullin> Don't waste your time. 2012-07-26T09:47:29 < gsmcmullin> Do 'make PROBE_HOST=stlink' 2012-07-26T09:49:23 -!- dekar_ [~dekar@212.255.37.223] has quit [Quit: This computer has gone to sleep] 2012-07-26T09:50:01 < PaulFertser> gsmcmullin: i see, should have cloned your repo and not the official SF one. 52476 here. 2012-07-26T09:50:02 < dongs> PaulFertser: 64K F103 devices have 128K usable flash. 2012-07-26T09:50:12 < dongs> so just edit linker script or wahtever. 2012-07-26T09:50:27 < dongs> I have yet to see a single C8T6 where upper flash didnt work 2012-07-26T09:50:36 < dongs> yes, flash size register reports 64k but thats the only difference. 2012-07-26T09:51:09 < gsmcmullin> PaulFertser: Sorry SF is quite far behind. 2012-07-26T09:51:41 < gsmcmullin> SF gets more and more shit every time I look at it. 2012-07-26T09:51:53 < dongs> haha 2012-07-26T09:51:54 < dongs> no kidding 2012-07-26T09:53:06 < PaulFertser> gsmcmullin: awesome, big thanks! 2012-07-26T09:54:20 < gsmcmullin> No problem. 2012-07-26T10:17:37 -!- Claude is now known as claude 2012-07-26T10:18:57 < PaulFertser> gsmcmullin: from a cursory look it seems like UART1 on st-link can be used without affecting any other functions. What was the reason your stlink support doesn't expose it over an additional ACM channel? 2012-07-26T10:20:37 < zyp> uart on st-link? 2012-07-26T10:21:25 < PaulFertser> zyp: yes, requires soldering to the uC pins but should not be hard. 2012-07-26T10:22:26 < zyp> well, there you have the answer; it's not exposed because it needs hardware modifications to utilize 2012-07-26T10:25:19 < PaulFertser> I see no reason not to chop off an st-link from an stm8disco board and to modify it to be as functional as possible. 2012-07-26T10:29:21 < zyp> sure, but that's not something everybody is going to do 2012-07-26T10:29:38 < zyp> and if you want to expose UART1, you are free to modify the source to do just that 2012-07-26T10:30:28 < PaulFertser> gsmcmullin: another question: why is not DFU used as in the native target? 2012-07-26T10:31:01 < PaulFertser> zyp: indeed. But selfcompiling blackmagicprobe to run it on st-link is not something everybody is going to do either. 2012-07-26T10:35:21 < tech2077> hmm 2012-07-26T10:35:27 < tech2077> openocd seem to not like gdb 2012-07-26T10:35:33 < tech2077> internal-error: is_thread_state: Assertion `tp' failed. 2012-07-26T10:37:48 < PaulFertser> BTW, one of the downsides of using texane/stlink or BMP comparing to OpenOCD is that OpenOCD has thread-awareness support for FreeRTOS, eCos and several other systems. With OpenOCD you can see all the local variables and call stacks in every FreeRTOS thread at any time. 2012-07-26T10:38:25 < tech2077> nice 2012-07-26T10:38:55 < PaulFertser> With eCos it's kind of adhoc, requires particular eCos configuration, but FreeRTOS support seems to be working nicely. 2012-07-26T10:40:42 < tech2077> this problem seems to have been fixed in a few different ways for about a year and a half 2012-07-26T10:40:45 < zyp> probably nice, if you are using freertos 2012-07-26T10:42:42 < BusError> anyone using 'nuttx' RTOS btw? I was interested because it's trying to mimic posix... 2012-07-26T10:42:59 < zippe1> BusError: yes, heavily 2012-07-26T10:43:07 < PaulFertser> tech2077: do you have a link? Last time i've heard about it everyone came to conclusion that to do it in a clean way one would require gdb to answer questions about the physical layout of the structs, and it's not currently possible. 2012-07-26T10:43:42 < tech2077> PaulFertser, not to one involving arm-none, the ones i found were for x86 2012-07-26T10:44:13 < zippe1> BusError: I like it a lot 2012-07-26T10:44:27 < BusError> zippe1, is there a way to work with it "the other way around" ie pulling nuttx into a project, instead of pulling your 'app' unto nuttx tree? 2012-07-26T10:44:42 < PaulFertser> tech2077: i do not think OpenOCD supports ecos on x86 at all :) 2012-07-26T10:44:47 < zippe1> BusError: Yes; take a look at 'make export' 2012-07-26T10:44:57 < tech2077> PaulFertser, it's a bug on gdb side 2012-07-26T10:45:06 < tech2077> involving threads as far as i can see 2012-07-26T10:45:15 < zippe1> We are currently sort-of in-tree, but planning to swap out 2012-07-26T10:45:21 < tech2077> ... 2012-07-26T10:45:29 < tech2077> dammit, this tells me it's time to sleep 2012-07-26T10:45:32 < zippe1> You do need some code in-tree (nuttx/configs//... 2012-07-26T10:45:47 < tech2077> was using x86 gdb to try debugging stm32f0 2012-07-26T10:45:48 < zippe1> But you can make that pretty minimal. 2012-07-26T10:45:50 < zyp> PaulFertser, as I understand it, gdb needs a libthread_db to be thread-aware 2012-07-26T10:46:08 < zyp> I was once looking at making one for my stuff 2012-07-26T10:46:23 < PaulFertser> tech2077: no, we're talking about absolutely different things 2012-07-26T10:46:58 < BusError> zippe1, is there an irc channel? I had a look a few days ago, but almost immediately ran into a problem 2012-07-26T10:47:49 < tech2077> PaulFertser, it seems we are 2012-07-26T10:47:50 < PaulFertser> zyp: that's probably another option. But OpenOCD does it by supporting the qsThreadInfo etc remote protocol commands. 2012-07-26T10:48:24 < zyp> PaulFertser, but that's not interesting to me, because openocd doesn't support the threading stuff I've written from scratch :p 2012-07-26T10:48:39 < zippe1> BusError: you can usually find me here evenings PST 8) 2012-07-26T10:48:46 -!- claude is now known as claude_work 2012-07-26T10:48:57 < zippe1> Greg usually gives < 1 day turnaround on the Yahoo! group 2012-07-26T10:49:14 < PaulFertser> zyp: it's not hard to add support to it. But are you sure you can write some libthread_db in a way that would work with gdb debugging remote app? 2012-07-26T10:50:01 < zyp> I believe that's how it's intended to work 2012-07-26T10:50:11 < zyp> gdb should dynamically load the right libthread_db 2012-07-26T10:50:23 < zippe1> What they should have done is standardise on a symbol and some in-memory metadata that didn't mean that every debug probe has to learn about every RTOS 2012-07-26T10:51:25 < PaulFertser> zyp: i think that works only for gdbserver 2012-07-26T10:51:55 < dongs> I'm looking forward to that new keil debug probe shit 2012-07-26T10:52:11 < dongs> CMSIS-DAP 2012-07-26T10:52:30 < dongs> http://www.keil.com/support/man/docs/dapdebug/dapdebug_introduction.htm 2012-07-26T10:53:05 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has quit [Ping timeout: 244 seconds] 2012-07-26T10:53:20 < zyp> PaulFertser, as I understand it, it's loaded by gdb to tell gdb how to interpret the threading structs of the current system 2012-07-26T10:57:12 < PaulFertser> zyp: yes, and it seems it needs to be _inside_ gdb server. So if you're using an external gdb server (e.g texane/stlink) it's of no use, afaict. 2012-07-26T10:57:29 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-26T10:58:21 < zyp> PaulFertser, isn't it loaded by gdb itself? 2012-07-26T10:58:51 < PaulFertser> zyp: it is, when it's using an internal gdb server to debug on host itself afaict. 2012-07-26T11:00:12 -!- gsmcmullin [~gareth@122-62-149-197.jetstream.xtra.co.nz] has joined ##stm32 2012-07-26T11:01:02 < zyp> well, I'm going to have a look when I get time for it 2012-07-26T11:26:49 < zyp> hmm, looks like you are indeed right 2012-07-26T11:41:08 -!- dekar [~dekar@dslb-188-107-168-206.pools.arcor-ip.net] has joined ##stm32 2012-07-26T11:41:10 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-26T11:45:46 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-26T11:45:49 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-26T11:47:03 -!- dekar [~dekar@dslb-188-107-168-206.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-07-26T11:49:09 <+Steffanx> nu 2012-07-26T11:51:10 -!- grummund [~user@unaffiliated/grummund] has quit [Read error: Operation timed out] 2012-07-26T11:53:49 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-26T11:56:07 -!- dekar [~dekar@dslb-188-107-168-206.pools.arcor-ip.net] has joined ##stm32 2012-07-26T11:56:10 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-26T12:00:54 -!- Laurenceb__ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-26T12:16:07 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-26T12:16:07 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Disconnected by services] 2012-07-26T12:16:14 -!- mode/##stm32 [+v Steffann] by ChanServ 2012-07-26T12:45:34 < cjbaird> lol. Selling for $2500 (http://www.ebay.com/itm/251115805166) a bootleg copy of someone else's $666 kit (http://www.willegal.net/appleii/apple1-kit.htm) 2012-07-26T12:47:32 < dongs> sup blogs 2012-07-26T12:49:12 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has joined ##stm32 2012-07-26T12:51:47 < karlp> not much. 2012-07-26T12:55:29 < cjbaird> How do the Smart people do >20W DC/DC conversion? 2012-07-26T12:55:54 < zyp> switched. 2012-07-26T12:56:18 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-26T12:56:33 < cjbaird> (wanting SLA battery -> 5V @ 20W .. thinking this is appropriate? http://www.murata-ps.com/en/okr-t-10-w12-c.html .. 15 bux) 2012-07-26T12:56:56 < ratatata> nu 2012-07-26T12:59:53 < zyp> cjbaird, looks fine 2012-07-26T13:00:00 < BrainDamage> that looks pretty neat, do you know you need to charge lead batteries at voltage higher than nominal, right? 2012-07-26T13:00:14 < BrainDamage> ( if doing constant voltage charging ) 2012-07-26T13:00:18 < zyp> he was talking about the battery as a source 2012-07-26T13:00:22 < zyp> not to charge the battery 2012-07-26T13:00:48 < BrainDamage> ah 2012-07-26T13:02:28 < cjbaird> BD: this is for a greenie solar power idea/project; there'll be a seperate charge controller between the panels and the SLA. 2012-07-26T13:02:56 < BrainDamage> then go ahead, it's fine 2012-07-26T13:04:24 -!- Laurenceb__ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 276 seconds] 2012-07-26T13:05:08 < cjbaird> Cool. 2012-07-26T13:06:36 < BrainDamage> nice, it even has no min load 2012-07-26T13:14:14 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Ping timeout: 252 seconds] 2012-07-26T13:25:09 < dongs> found zippe's secretproj https://store.diydrones.com/ProductDetails.asp?ProductCode=BR-PXFMU 2012-07-26T13:25:50 < dongs> diyclonez 2012-07-26T13:27:08 < BrainDamage> well, to be fair, next to the arduimo, the arduino looks like the toy it is 2012-07-26T13:27:22 < BrainDamage> ehh ardupilot, whatever 2012-07-26T13:34:09 < dongs> tarduino hasnt been relevant for like 2 yearsr 2012-07-26T13:46:24 -!- izua [~izua@188.26.165.104] has joined ##stm32 2012-07-26T13:46:25 -!- izua [~izua@188.26.165.104] has quit [Changing host] 2012-07-26T13:46:25 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-26T13:46:28 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-26T13:52:32 <+Steffann> oh, that's your project zippe1 : 2012-07-26T13:52:35 <+Steffann> :) 2012-07-26T14:00:58 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2012-07-26T14:01:42 < karlp> heh: http://tim.cexx.org/?p=919 2012-07-26T14:04:49 < zyp> :) 2012-07-26T14:20:49 -!- ChanServ changed the topic of ##stm32 to: code protection bug: http://tinyurl.com/4469sbn | Prepare for the two minutes of /hate/love. this channel is publicly logged, ask zlog for more. (also for free z80s) | Join us building the ##stm32 toolchain: https://github.com/EliasOenal/TNT | we have a wiki http://stm32.izua.ro | how engineers buy parts http://tim.cexx.org/?p=919 2012-07-26T14:22:35 <+izua> "There you go, an inner pack of 96 electric vibrators. For industrial, scientific and laboratory use of course." http://tim.cexx.org/?p=434 2012-07-26T14:24:27 < zyp> I can't see any signup on the wiki 2012-07-26T14:25:43 <+izua> it's an ask-here-for-an-account kind of deal 2012-07-26T14:25:55 < zyp> doesn't say that anywhere 2012-07-26T14:27:12 <+izua> well yeah, otherwise spammers would rush here asking for accounts and offering us free viagra 2012-07-26T14:28:11 <+izua> sent credentials over pm 2012-07-26T14:28:24 < zyp> oh, and the topic here ought to be cleaned up; get the wiki in front and remove all the outdated shit 2012-07-26T14:28:54 <+izua> true 2012-07-26T14:29:15 <+izua> most of that stuff would go nicely in the wiki 2012-07-26T14:32:37 <+izua> "Interestingly (but, I guess, not surprisingly), the current drawn by an egg was very load-dependent: less when hanging free, and significantly more when held tightly in the hand (which would constrain its motion, putting a higher mechanical load on the weighted motor as it fought its own inertia).**" 2012-07-26T14:32:54 <+izua> "** I never really considered that before – this could technically be used to measure the..er..snugness of wherever it was placed. Imagine your USB dildo reporting stats back to some kind of “am I tight or not?” site" 2012-07-26T14:33:07 < zyp> are you into teledildonics now? 2012-07-26T14:33:17 <+izua> dunno, just reading karlp's site 2012-07-26T14:34:40 < cjbaird> An ex-gf wanted me to partner with her in the business of Vibe-selling... -_- 2012-07-26T14:35:47 < Laurenceb> http://www.dreamloverlabs.com/ 2012-07-26T14:36:28 < karlp> I think someone here origianlly linked that site 2012-07-26T14:38:04 <+izua> dafuq is chastity management 2012-07-26T14:38:18 <+izua> it doesn't really sound like something someone would want 2012-07-26T14:39:17 < Laurenceb> http://www.dreamloverlabs.com/dl2000-technology.php 2012-07-26T14:39:20 < Laurenceb> epic lulz 2012-07-26T14:41:48 <+izua> lol 2012-07-26T14:41:54 <+izua> i sense another bonsai kitten website 2012-07-26T14:44:26 < zyp> hmm, apparently norwegian speed cameras have some 8-bit quirkyness, the news today are reporting that they can't handle speeds over 256 km/h 2012-07-26T14:45:45 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-26T14:47:03 < Laurenceb> hehe 2012-07-26T14:48:35 <+izua> Laurenceb: how on earth did you ever run into that 2012-07-26T14:48:58 < Laurenceb> you dont want to know 2012-07-26T14:49:24 < Laurenceb> i was searching for accelerometers 2012-07-26T14:53:07 <+izua> lol 2012-07-26T14:53:09 <+izua> "We show up at a huge testing lab, go into the anechoic chamber and put the DreamLover 2000 through 2 days of tests for FCC and CE mark compliance. The engineers wanted to know what the device was, so we told them, but they didn't believe us." 2012-07-26T15:08:21 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has quit [Ping timeout: 245 seconds] 2012-07-26T15:10:50 -!- jaeckel [~jaeckel@jaeckel.eu] has joined ##stm32 2012-07-26T15:10:52 -!- jaeckel [~jaeckel@jaeckel.eu] has quit [Excess Flood] 2012-07-26T15:10:58 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 2012-07-26T15:11:28 -!- Vutral_ [~ss@vutral.net] has joined ##stm32 2012-07-26T15:12:15 -!- jaeckel [~jaeckel@jaeckel.eu] has joined ##stm32 2012-07-26T15:18:07 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-26T15:18:10 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-26T15:29:36 -!- jaeckel [~jaeckel@jaeckel.eu] has quit [Changing host] 2012-07-26T15:29:36 -!- jaeckel [~jaeckel@unaffiliated/jaeckel] has joined ##stm32 2012-07-26T15:50:05 -!- izua_ [~izua@188.26.165.104] has joined ##stm32 2012-07-26T15:50:05 -!- izua_ [~izua@188.26.165.104] has quit [Changing host] 2012-07-26T15:50:05 -!- izua_ [~izua@unaffiliated/izua] has joined ##stm32 2012-07-26T15:50:08 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-26T15:51:06 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 240 seconds] 2012-07-26T16:00:14 -!- izua_ [~izua@unaffiliated/izua] has quit [Ping timeout: 272 seconds] 2012-07-26T16:31:32 <+dekar> zyp, so you're norwegian? 2012-07-26T16:32:07 < zyp> yes, why? 2012-07-26T16:32:20 <+dekar> awesome country, I plan to move to norway once I'm retired :) 2012-07-26T16:32:31 <+dekar> or maybe even sooner 2012-07-26T16:32:58 < zyp> I seem to recall you were swedish, or am I mistaken? 2012-07-26T16:33:04 <+dekar> nope, German 2012-07-26T16:33:12 < zyp> ah, right 2012-07-26T16:33:42 < zyp> I've yet to visit germany 2012-07-26T16:36:05 <+dekar> I actually plan on visiting Norway soon, I know some engineer in Horten who invited me to visit him 2012-07-26T16:37:16 < zyp> :) 2012-07-26T16:38:08 < zyp> I've got some relatives in Horten 2012-07-26T16:46:16 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-26T16:46:32 < ratatata> nu 2012-07-26T16:46:41 < zyp> no 2012-07-26T17:04:21 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Quit: leaving] 2012-07-26T17:05:58 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2012-07-26T17:15:49 <+Steffanx> nu ratatata tatatatatatata 2012-07-26T17:16:13 < ratatata> Steffanx, nu 2012-07-26T17:17:12 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Quit: leaving] 2012-07-26T17:17:31 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2012-07-26T17:31:14 < cjbaird> ...batatatamaaaan 2012-07-26T17:32:40 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-26T17:41:08 -!- ratatata [~nu@88-222-70-216.meganet.lt] has joined ##stm32 2012-07-26T17:41:10 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 252 seconds] 2012-07-26T17:43:19 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-26T17:43:22 < Laurenceb> dont say that in aurora 2012-07-26T17:44:06 <+Steffanx> I don't have plans to go there, you? 2012-07-26T17:49:15 < Laurenceb> cjbaird obviously doesnt 2012-07-26T17:49:26 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-26T17:49:26 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-26T17:55:47 < emeb> good thing zlog is down - now no one will ever know... 2012-07-26T17:56:14 <+Steffanx> Hmm, tom is down too 2012-07-26T17:56:26 <+Steffanx> At least in this channel :) 2012-07-26T17:57:04 < emeb> oh - that was tom I looked at. Where's zlog? 2012-07-26T18:04:37 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-26T18:08:34 <+Steffanx> No blogging today dongs ? 2012-07-26T18:11:05 < cjbaird> Been cleaning up a Eurocard subrack for housing the RPi cluster 2012-07-26T18:11:49 -!- ratatata [~nu@88-222-70-216.meganet.lt] has quit [Remote host closed the connection] 2012-07-26T18:13:40 < cjbaird> (was a part of a haul from a retiring embedded guy; it and a mountain of other stuff was bought with an $80 bottle of Whiskey..) 2012-07-26T18:15:03 < emeb> and thus the chain of tech equipment hoarding remains unbroken. 2012-07-26T18:15:17 < zyp> :p 2012-07-26T18:15:18 < emeb> keeps the landfills from overflowing 2012-07-26T18:19:27 < Laurenceb> rpi clusterfuck 2012-07-26T18:19:29 < cjbaird> He used to do the animatronic stuff for television commercials, so much of it was controllers involved with that. 2012-07-26T18:20:05 <+Steffanx> :) 2012-07-26T18:21:35 < cjbaird> And wrote a lot of FORTH articles for Australian computer magazines, ones that I could almost recite from memory when I met him. :) 2012-07-26T18:22:00 <+Steffanx> almost :) 2012-07-26T18:22:38 <+Steffanx> Too bad almost is never enough 2012-07-26T18:22:48 <+Steffanx> *good enough 2012-07-26T18:23:58 < emeb> Just had one of these moments: http://theprofoundprogrammer.com/post/25728609992/ 2012-07-26T18:24:54 < cjbaird> Just remembering his articles probably saved me around $200 for his gear. :) 2012-07-26T18:25:24 < emeb> OMG - twitter is down. the end times are nigh! 2012-07-26T18:25:28 <+Steffanx> Aaah 2012-07-26T18:25:41 <+Steffanx> Google Talk was down too! 2012-07-26T18:25:59 < emeb> Must be the Olympics. 2012-07-26T18:26:04 <+Steffanx> And twitter isn't down 2012-07-26T18:26:10 < cjbaird> IRC is down, oh shi 2012-07-26T18:26:36 < emeb> doesn't work for me. 2012-07-26T18:26:52 <+Steffanx> It did for me, but ... 2012-07-26T18:27:23 -!- dekar [~dekar@dslb-188-107-168-206.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-07-26T18:27:55 <+Steffanx> Now i need a facebook account? 2012-07-26T18:28:39 < emeb> baroo? 2012-07-26T18:28:59 < emeb> "twitter is over capacity" 2012-07-26T18:29:44 < emeb> needs to buy more rpis for their cluster 2012-07-26T18:30:28 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-26T18:33:26 < cjbaird> needs to crash and burn, imho 2012-07-26T18:37:41 < emeb> oh, it's not so bad. Used carefully it can be handy, but most don't use it carefully. 2012-07-26T18:41:29 < cjbaird> I prefer the good old days, when only smart people had access to computers.. >_> 2012-07-26T18:45:03 < cjbaird> "Here is a VIC20 unopened still inside its box. You have one week to enter a program that displays your name when it is executed. If you fail, then no Facebook or the like ever for the rest of your life." "ahhsheet it's in a box!" 2012-07-26T18:50:09 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-26T18:56:52 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-26T19:08:13 < zyp> looks like nothing important was lost on the drive in my old workstation that failed 2012-07-26T19:09:27 < zyp> especially not the last changes I did to my stm32 stuff before I went on vacation, but didn't commit yet 2012-07-26T19:18:39 -!- claude_work is now known as claude 2012-07-26T19:33:03 -!- chaoshax [~chaoshax@cpc5-swin15-2-0-cust121.3-1.cable.virginmedia.com] has quit [Ping timeout: 260 seconds] 2012-07-26T19:47:06 -!- Vutral_ [~ss@vutral.net] has quit [Quit: Life is too short] 2012-07-26T19:48:01 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-26T19:53:43 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-26T19:57:06 -!- chaoshax [~chaoshax@cpc5-swin15-2-0-cust121.3-1.cable.virginmedia.com] has joined ##stm32 2012-07-26T20:00:47 < Laurenceb> huhaha 2012-07-26T20:01:04 < karlp> For example, record 12 is addressed as 12. 2012-07-26T20:01:08 < Laurenceb> 8000word report on why my hardware is awesome in 2 days 2012-07-26T20:01:12 < karlp> I love spec documents. 2012-07-26T20:01:32 < Laurenceb> at this rate i can write the past PhD guys thesis in 6 days 2012-07-26T20:01:42 < Laurenceb> i have sore fingers tho 2012-07-26T20:02:11 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has joined ##stm32 2012-07-26T20:16:51 -!- dekar [~dekar@212.255.22.177] has joined ##stm32 2012-07-26T20:16:54 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-26T20:30:13 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-26T20:42:31 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-26T20:55:08 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-26T21:03:55 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-26T21:11:27 <+dekar> BrainDamage btw, https://dl.dropbox.com/u/28467113/rtlsdr_hf_mod.jpg 2012-07-26T21:11:43 < feurig> Laurenceb: http://www.flickr.com/photos/feurig/sets/72157630762886798/ 2012-07-26T21:19:05 < BrainDamage> dekar: not bad 2012-07-26T21:19:17 < BrainDamage> is that capacitively coupled? 2012-07-26T21:31:34 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-26T21:31:34 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Disconnected by services] 2012-07-26T21:31:35 -!- mode/##stm32 [+v Steffann] by ChanServ 2012-07-26T21:33:22 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-26T21:33:25 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-26T21:36:06 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 264 seconds] 2012-07-26T21:36:29 <+dekar> BrainDamage, well I left the cap in so I guess it is 2012-07-26T21:36:34 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-26T22:04:18 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Ping timeout: 264 seconds] 2012-07-26T22:08:34 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-26T22:27:17 -!- Laurenceb__ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-26T22:42:21 -!- emeb [~ericb@75-171-70-66.phnx.qwest.net] has joined ##stm32 2012-07-26T22:44:57 -!- Xamusk [~X@189.123.3.189] has joined ##stm32 2012-07-26T22:51:28 < Laurenceb__> zlog 2012-07-26T22:51:28 < zlog> Laurenceb__: Log stored at http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23%23stm32/2012-07-26.html 2012-07-26T22:55:06 < Laurenceb__> feurig: nice 2012-07-26T22:55:12 < Laurenceb__> why the huge crystal? 2012-07-26T22:57:12 < Laurenceb__> http://i.imgur.com/KIYlo.jpg <- thats what my logger code is running on 2012-07-26T23:01:24 -!- Xamusk [~X@189.123.3.189] has quit [Read error: Connection timed out] 2012-07-26T23:01:58 -!- Xamusk [~X@189.123.3.189] has joined ##stm32 2012-07-26T23:03:26 -!- peabody128 [~peabody12@128.249.96.123] has joined ##stm32 2012-07-26T23:04:11 -!- peabody128 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2012-07-26T23:06:26 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 240 seconds] 2012-07-26T23:06:28 -!- peabody128 [~peabody12@128.249.96.123] has joined ##stm32 2012-07-26T23:08:32 < feurig> Laurenceb__: cheap and easy 2012-07-26T23:09:17 < feurig> also most of my smt designs are designed to be hand solderable 2012-07-26T23:16:00 < Laurenceb__> i see 2012-07-26T23:20:20 < feurig> http://www.flickr.com/photos/feurig/6878608534/in/photostream 2012-07-26T23:20:38 < feurig> is an early version of the logger shield. 2012-07-26T23:21:32 < feurig> its deigned to slide into a 2x3x2/4" hammond box 2012-07-26T23:24:00 < Laurenceb__> oh its a sheild 2012-07-26T23:24:02 < Laurenceb__> i see 2012-07-26T23:24:14 < feurig> also I tend to round values to a bench stock number. Most of the current build is out of parts from my avr based usb 2 serial adapter 2012-07-26T23:24:39 < Laurenceb__> do you have port A.0 connected to anything? 2012-07-26T23:25:12 < feurig> I need to get a couple of decent pictures of the next version of the shield and the resulting ox 2012-07-26T23:27:04 < feurig> https://github.com/soycamo/maplebacon/blob/master/maplebacon-bom5k.sch 2012-07-26T23:28:39 < feurig> yeah 2012-07-26T23:28:45 < feurig> but its not needed 2012-07-26T23:29:14 < feurig> I connected serial 2 with handshaking to the gainspan 2012-07-26T23:29:15 -!- emeb [~ericb@75-171-70-66.phnx.qwest.net] has quit [Quit: Leaving.] 2012-07-26T23:29:25 < feurig> but I am not using the handshaking. 2012-07-26T23:29:29 < feurig> why? 2012-07-26T23:30:00 < feurig> Laurenceb__: 2012-07-26T23:30:04 < Laurenceb__> hmm 2012-07-26T23:30:12 < Laurenceb__> as its the wakeup pin 2012-07-26T23:30:24 < Laurenceb__> i use it for wake on usb and on/off button 2012-07-26T23:31:02 -!- emeb [~ericb@75-171-70-66.phnx.qwest.net] has joined ##stm32 2012-07-26T23:31:11 < Laurenceb__> im not sure if you could use a different sleep mode 2012-07-26T23:31:35 < feurig> you want me to send you a unit to play with? 2012-07-26T23:32:14 < BrainDamage> ha! now we have your full name 2012-07-26T23:32:48 * feurig fails to see your point? 2012-07-26T23:32:48 < Laurenceb__> and you are Andrea 2012-07-26T23:33:04 < BrainDamage> sure, I put in my client 2012-07-26T23:33:21 < Laurenceb__> no girls on the internets 2012-07-26T23:33:31 < BrainDamage> correct, that's my name, and I'm not a girl 2012-07-26T23:34:01 < feurig> he just plays one on TV 2012-07-26T23:34:01 < Laurenceb__> fair enough 2012-07-26T23:35:08 < Laurenceb__> anyways 2012-07-26T23:35:10 < Laurenceb__> http://i.imgur.com/0JuZR.png 2012-07-26T23:38:18 < feurig> Anyways a.0 should be pretty much floating. 2012-07-26T23:38:51 < Laurenceb__> ive got an on/off button and a cap to usb 5v connected 2012-07-26T23:43:04 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-07-26T23:43:57 < feurig> anyways thanks. --- Day changed Fri Jul 27 2012 2012-07-27T00:02:14 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-27T00:22:45 -!- peabody128 is now known as peabody124 2012-07-27T00:42:03 <+Steffanx> BrainDamage, google for Andrea BrainDamage :) 2012-07-27T00:42:07 <+Steffanx> Haha, you are a girl :P 2012-07-27T00:43:10 < BrainDamage> my top result is a pink floyd cover 2012-07-27T00:43:37 <+Steffanx> Here it's a facebook page 2012-07-27T00:43:39 < Laurenceb__> http://profile.ak.fbcdn.net/hprofile-ak-snc4/211801_1431496704_1536285462_n.jpg 2012-07-27T00:43:58 < BrainDamage> I don't have facebook 2012-07-27T00:44:13 <+Steffanx> Never trust female :P 2012-07-27T00:45:25 < Laurenceb__> http://en.wikipedia.org/wiki/Andrea#Origin_of_the_name 2012-07-27T00:46:12 < BrainDamage> yeah, I know that 2012-07-27T00:46:26 < BrainDamage> it's other countries that call females "manly" that is odd 2012-07-27T00:47:12 <+Steffanx> Many Italian have long hair, so .. I understand why you have female names :P 2012-07-27T00:49:39 < feurig> cause like the moustache it reminds them of their mothers 2012-07-27T00:49:48 <+Steffanx> HA :P 2012-07-27T00:50:09 < feurig> if there were any moderation here i should have been kicked for that 2012-07-27T00:50:13 < BrainDamage> I have no moustache 2012-07-27T00:50:21 < BrainDamage> and neither my mother :p 2012-07-27T00:50:25 <+Steffanx> That was a request feurig ? 2012-07-27T00:50:36 -!- mode/##stm32 [+o Steffanx] by ChanServ 2012-07-27T00:50:45 -!- mode/##stm32 [-o Steffanx] by ChanServ 2012-07-27T00:51:15 < BrainDamage> you know that the stereotypical italian american has jack shit to do with italians, right? 2012-07-27T00:51:36 < BrainDamage> there's other stereotypical douchebags here 2012-07-27T00:52:05 <+Steffanx> You have Balotelli :) 2012-07-27T00:52:25 < BrainDamage> that guy is terrible :/ 2012-07-27T00:52:41 <+Steffanx> Hehe, yeah 2012-07-27T01:19:25 -!- Xamusk [~X@189.123.3.189] has quit [Read error: Connection reset by peer] 2012-07-27T01:19:26 -!- Xamuzk [~X@189.123.3.189] has joined ##stm32 2012-07-27T01:19:31 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-27T01:22:26 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2012-07-27T01:27:10 -!- Oldboy [myircshell@204.188.216.2] has quit [Read error: Connection reset by peer] 2012-07-27T01:27:17 -!- Oldboy [myircshell@grid.sh3lls.net] has joined ##stm32 2012-07-27T01:30:52 -!- Laurenceb__ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2012-07-27T01:33:33 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 255 seconds] 2012-07-27T01:36:19 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Quit: leaving] 2012-07-27T01:37:30 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2012-07-27T01:44:21 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Quit: leaving] 2012-07-27T01:45:29 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2012-07-27T02:07:39 -!- peabody124 [~peabody12@128.249.96.123] has quit [Remote host closed the connection] 2012-07-27T02:08:03 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-27T04:53:36 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-27T05:12:55 -!- peabody128 [~peabody12@128.249.96.123] has joined ##stm32 2012-07-27T05:14:28 -!- emeb [~ericb@75-171-70-66.phnx.qwest.net] has left ##stm32 [] 2012-07-27T05:15:56 -!- peabody124 [~peabody12@128.249.96.21] has quit [Ping timeout: 246 seconds] 2012-07-27T05:16:59 -!- peabody128 [~peabody12@128.249.96.123] has quit [Ping timeout: 246 seconds] 2012-07-27T05:18:38 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-27T05:18:45 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-27T06:05:20 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-27T06:11:19 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has quit [Ping timeout: 250 seconds] 2012-07-27T06:58:02 -!- Xamuzk [~X@189.123.3.189] has quit [Read error: Connection reset by peer] 2012-07-27T07:35:30 -!- metaxa [metaxa@us.members.bombshellz.net] has quit [Ping timeout: 264 seconds] 2012-07-27T07:44:57 -!- claude is now known as Claude 2012-07-27T07:52:09 -!- metaxa [metaxa@us.members.bombshellz.net] has joined ##stm32 2012-07-27T07:58:31 -!- zippe1 [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-07-27T08:55:28 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-27T09:26:50 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-27T09:30:45 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-27T09:59:32 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-27T10:00:12 -!- Claude is now known as claude 2012-07-27T10:07:02 * Oldboy takes his pants off 2012-07-27T10:10:43 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-27T10:16:26 * PaulFertser successfully soldered to stlink's uart and boot pins, modded stm32flash to support "Readout unprotect" and flashed blackmagic DFU bootloader. 2012-07-27T10:20:31 -!- dekar [~dekar@212.255.22.177] has quit [Quit: This computer has gone to sleep] 2012-07-27T10:22:14 < zyp> :) 2012-07-27T10:22:16 < tech2077> nice 2012-07-27T10:24:53 < PaulFertser> I think raspberrypi doesn't support "even" parity needed to access the bootloader and so i've spent too much time trying to access it until i connected the board to my ac100's uart. 2012-07-27T10:25:04 < PaulFertser> Though the rpi's kernel driver looks fine in that regard. 2012-07-27T10:26:21 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-27T10:26:51 < zyp> I forgot about parity first time I tried to use the serial bootloader 2012-07-27T10:27:29 < dongs> fucking ST flash loader randomly defaults to non-even parity on some machiens 2012-07-27T10:45:47 < PaulFertser> Awesomeness, BMK kicks ass, works fine on my stm32vldiscovery. But i modded it a bit to support DFU upgrades and also the additional ACM channel. I think i'll solder the additional JTAG signals as well to the NC pins on the board for it to be able to debug over JTAG. 2012-07-27T10:46:20 < PaulFertser> gsmcmullin: yay, i used your code as a reference, big thanks! 2012-07-27T10:52:09 < PaulFertser> So far i see only two possible advantages of st-link comparing to BMP: 1. STM32F0 support 2. RTOS support in OpenOCD. 2012-07-27T10:53:41 < zyp> doesn't blackmagic support F0? 2012-07-27T10:55:40 < PaulFertser> zyp: i do not think it does 2012-07-27T10:56:04 < PaulFertser> zyp: look through jtag_scan.c 2012-07-27T10:59:35 < PaulFertser> BTW, does anyone here use SWO extensively? I needed something like ETM tracing several times to hunt races but what is SWO useful for? It'd be interesting to hear some practical real-life example. 2012-07-27T11:00:33 -!- dekar [~dekar@dslb-188-107-199-046.pools.arcor-ip.net] has joined ##stm32 2012-07-27T11:00:34 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-27T11:05:13 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-27T11:05:14 < PaulFertser> BTW, if ETM is possible with the current OpenOCD version that would be another advantage of a "dump JTAG adapter + OpenOCD" comparing to texane/stlink or BMP. 2012-07-27T11:06:29 < zyp> you might want to have a look at https://github.com/gsmcmullin/magictpa 2012-07-27T11:08:43 < PaulFertser> zyp: i'm aware of that tool of course 2012-07-27T11:10:17 < zyp> «of course» 2012-07-27T11:12:22 < PaulFertser> zyp: :)) well, it's linked from the BMP "future plans" page 2012-07-27T11:13:24 < gsmcmullin> It's a start, proof of concept. 2012-07-27T12:00:10 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-27T12:05:00 < PaulFertser> gsmcmullin: i'm asking about the real-life examples where this all SWO functionality comes handy. 2012-07-27T12:06:27 < PaulFertser> I've seen ARM folks bragging about it at "ARM dev conference" but i still have no clear understanding when this is really needed. 2012-07-27T12:10:28 -!- Oldboy is now known as BlueStreak 2012-07-27T12:11:05 -!- BlueStreak is now known as Oldboy 2012-07-27T12:14:59 -!- Laurenceb__ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-27T12:22:02 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has joined ##stm32 2012-07-27T12:22:02 -!- jon1012 [~jon@pha75-14-88-162-134-157.fbx.proxad.net] has quit [Changing host] 2012-07-27T12:22:02 -!- jon1012 [~jon@foresight/developer/jon1012] has joined ##stm32 2012-07-27T12:27:00 < PaulFertser> gsmcmullin: btw, in your github version the DFU upgrade utility expects USB id's different from those used by the DFU loader. Probably one should just use the upstream dfu-util instead and that upgrade code can be removed? 2012-07-27T12:36:44 < gsmcmullin> PaulFertser: The upgrade code is very neglected. I planned to polish this up for a release and include a windows upgrade .exe 2012-07-27T12:37:17 < gsmcmullin> Does dfu-util work on windows? 2012-07-27T12:37:21 < PaulFertser> gsmcmullin: it does afaict. 2012-07-27T12:37:30 < PaulFertser> gsmcmullin: the support should be in the official upstream repository. 2012-07-27T12:38:08 < PaulFertser> gsmcmullin: even pre-built binaries are available. 2012-07-27T12:38:15 < PaulFertser> And it supports dfuse too. 2012-07-27T12:38:16 < gsmcmullin> PaulFertser: I use the python scripts in my repo: stm32_mem.py 2012-07-27T12:38:45 < PaulFertser> gsmcmullin: probably the confusing non-working code should be removed to not confuse people :) 2012-07-27T12:39:00 < gsmcmullin> I'll have a look at it when I get a chance. I agree if mine doesn't work it must be fixed or removed. 2012-07-27T12:40:20 < PaulFertser> gsmcmullin: that C upgrade code worked however after fixing the IDs. 2012-07-27T12:40:53 < gsmcmullin> Ok, so it's not far wrong :) 2012-07-27T12:46:08 < PaulFertser> I need to solder another wire to chip to be able to try DFU again :) 2012-07-27T12:46:52 < gsmcmullin> PaulFertser: What hardware are you using? 2012-07-27T12:47:20 < PaulFertser> gsmcmullin: stm32vldiscovery 2012-07-27T12:47:49 < gsmcmullin> The ST-link? 2012-07-27T12:48:01 < PaulFertser> gsmcmullin: yes 2012-07-27T12:48:19 < gsmcmullin> How do you disconnect the usb cable pull-up? 2012-07-27T12:48:32 < PaulFertser> gsmcmullin: i do not 2012-07-27T12:48:53 < gsmcmullin> Ok, how do you reenumerate after upgrade? 2012-07-27T12:49:00 < PaulFertser> gsmcmullin: by physically replugging 2012-07-27T12:49:27 < gsmcmullin> I suppose that's acceptable. How do you kick into upgrade mode then? 2012-07-27T12:50:30 < PaulFertser> gsmcmullin: my plan is to solder a wire from the PB12 pin to the BOOT pin on the board edge, it's pulled low by on-board pullup, and so i'll be able to use tweezers while powering on the board to enter the DFU upgrade mode. 2012-07-27T12:51:22 < gsmcmullin> Ok 2012-07-27T12:52:14 < gsmcmullin> I wonder if you could do it by disabling USB and driving lines low with GPIO. 2012-07-27T12:52:22 < PaulFertser> gsmcmullin: do you also think i'm doing useless work for no gain? ;) I think by soldering to the UART1 on st-link and being able to use ACM1 with it i got another usb-uart adapter, and that's always handy. 2012-07-27T12:54:06 < PaulFertser> gsmcmullin: the pullup is 1.5k, so yes, it looks like it's possible to pull it low the way you propose. 2012-07-27T12:54:17 < gsmcmullin> Yes it is. I have boxes of my own hardware, so I'm not really motivated to hack up stlinks. 2012-07-27T12:54:48 < PaulFertser> But this upgrade thing is not to be frequently used anyway, i see no reason to not do physical replug anyway. 2012-07-27T12:56:37 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-27T12:56:40 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-27T13:00:50 < PaulFertser> I'm just a programmer and not an EE, i have very few useful hardware at home. 2012-07-27T13:02:28 -!- Laurenceb__ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2012-07-27T13:06:42 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has quit [Read error: Operation timed out] 2012-07-27T13:08:39 < dongs> https://sphotos-a.xx.fbcdn.net/hphotos-ash4/318800_4401285392548_321841419_n.jpg 2012-07-27T13:10:36 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has joined ##stm32 2012-07-27T13:11:00 -!- BrainDamage [~BrainDama@dynamic-adsl-94-36-225-216.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 2012-07-27T13:26:16 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-228-231.clienti.tiscali.it] has joined ##stm32 2012-07-27T13:39:33 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-27T14:00:22 <+Steffanx> Dongs, too easy, not funny. 2012-07-27T14:01:03 < zyp> Steffanx, shut up and go make me a sandwich 2012-07-27T14:01:57 <+Steffanx> zyp likes 'mildewed' bread? 2012-07-27T14:02:14 < zyp> what's that? 2012-07-27T14:02:39 <+Steffanx> That green/blue hairy stuff you get on food after a while 2012-07-27T14:03:01 < karlp> mouldy 2012-07-27T14:03:14 < zyp> oh, right 2012-07-27T14:04:59 <+Steffanx> Or is it allowed to send food using UPS super fast express? 2012-07-27T14:16:50 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Ping timeout: 252 seconds] 2012-07-27T14:31:11 -!- claude is now known as claude_work 2012-07-27T14:37:35 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2012-07-27T14:50:33 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-27T14:51:29 < dongs> sup trolls 2012-07-27T14:53:23 < karlp> overflowing rx buffers 2012-07-27T14:53:24 <+Steffanx> Tha ceiling bro 2012-07-27T14:53:35 < karlp> slow baud rate shit and slow calculations 2012-07-27T14:54:52 < karlp> hmm, or not. 2012-07-27T14:57:37 < PaulFertser> gsmcmullin: i tried dfu-util and it works just fine: http://pastebin.com/4ZSKUJDG 2012-07-27T14:58:58 < karlp> that's on a reflashed 32VL board? 2012-07-27T14:59:23 < PaulFertser> karlp: yep 2012-07-27T15:00:24 < PaulFertser> karlp: but with custom patches, not the same as gsmcmullin's because my setup requires soldering to the st-link's chip. 2012-07-27T15:01:26 < PaulFertser> My point is that BMP can be easily upgraded by (now-)standard dfu-util, no need to carry custom DFuSe code in BMP. 2012-07-27T15:01:42 < karlp> yeah, I saw that. 2012-07-27T15:17:43 < Laurenceb> http://www.flickr.com/photos/robotgrrl/sets/72157629855444076/ 2012-07-27T15:17:48 < Laurenceb> holy shit 2012-07-27T15:17:50 < Laurenceb> its reaql 2012-07-27T15:18:27 < Laurenceb> http://www.flickr.com/photos/robotgrrl/7646887842/in/photostream 2012-07-27T15:18:31 < Laurenceb> seriously.... 2012-07-27T15:19:58 <+Steffanx> A cortex-mX on a arduino-ish board.. what's new Laurenceb ? 2012-07-27T15:20:35 < Laurenceb> its the new tarduino 2012-07-27T15:21:04 < zyp> so what? 2012-07-27T15:22:07 < Laurenceb> indeed 2012-07-27T15:22:26 < Laurenceb> http://www.flickr.com/photos/robotgrrl/page2/ 2012-07-27T15:22:29 < Laurenceb> lolling 2012-07-27T15:23:20 < BrainDamage> it was announced a while ago actually 2012-07-27T15:24:03 < BrainDamage> I wonder if they picked the atmel arm instead of other arm flavours due to contracts rather than real hw superiority 2012-07-27T15:24:28 < Laurenceb> well of course 2012-07-27T15:24:43 < Laurenceb> arduino is practically an atmel marketing thing now 2012-07-27T15:25:54 < karlp> what's the six pin icsp on the due? 2012-07-27T15:26:08 < karlp> are atmel's arms icsp compatible with avrs? 2012-07-27T15:27:51 < Laurenceb> thats odd 2012-07-27T15:28:44 < Laurenceb> unless thats an attiny next to it 2012-07-27T15:28:48 < Laurenceb> its another atmel ic 2012-07-27T15:29:37 < Laurenceb> i see they have footprint for RTC 2012-07-27T15:29:48 < BrainDamage> I wonder if they still use that silly setup with external usb controller 2012-07-27T15:29:58 < BrainDamage> rather than pick an ic with bundled usb 2012-07-27T15:36:17 < Laurenceb> looks like an attiny 2012-07-27T15:36:22 < Laurenceb> no they use onboard usb 2012-07-27T15:36:26 < Laurenceb> on the sam7 2012-07-27T15:42:36 < karlp> that's the biggest change with the new duino, finally moving to integrated usb 2012-07-27T15:48:57 < zyp> not moving to a much more powerful cpu? 2012-07-27T15:52:39 < karlp> I was more talking about the leonardo, 2012-07-27T15:52:47 < karlp> moving from atmega328p to atmega32u4 2012-07-27T15:53:33 < zyp> oh 2012-07-27T15:53:56 < zyp> I don't follow arduino developments 2012-07-27T15:54:01 < zyp> so I wouldn't know :p 2012-07-27T16:01:41 < BrainDamage> it's one of those things that reaches you even if you don't want 2012-07-27T16:01:55 < zyp> not until now 2012-07-27T16:02:10 < BrainDamage> but it did 2012-07-27T16:02:15 <+Steffanx> /ban Laurenceb :P 2012-07-27T16:03:30 <+Steffanx> Laurenceb is the source of all evil 2012-07-27T16:04:53 < karlp> I thought that was free thinking 2012-07-27T16:11:10 <+Steffanx> That's what they told you 2012-07-27T16:12:13 < Laurenceb> why am i evil 2012-07-27T16:23:22 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-27T16:35:01 < PaulFertser> I wonder what the proper solution for thread-awareness should be. Apparently, that all can be done on the gdb side but it doesn't look like even its Python API allows that. Probably one can set pc and arbitrary address for the frame and that way it might sort of work. But there seem to be no way to make "info threads" work without thread-awareness in "remote". 2012-07-27T16:36:54 < PaulFertser> But the "remote" can't anyhow obtain some important numbers, such as offsets for the struct members. Looks like gdb needs to be extended considerably to get thread-awareness working in a nice way. 2012-07-27T17:03:50 -!- izua [~izua@188.26.165.104] has joined ##stm32 2012-07-27T17:03:51 -!- izua [~izua@188.26.165.104] has quit [Changing host] 2012-07-27T17:03:51 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-27T17:03:52 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-27T17:15:36 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-27T17:31:48 < PaulFertser> In case somebody is interested how to have an (almost) fully-functional black magic probe on st-link, here're my steps: http://juick.com/paulfertser@jabber.org/1995035 2012-07-27T17:38:53 < Laurenceb> will this run on a discovery? 2012-07-27T17:39:13 < BrainDamage> try clicking the link ... 2012-07-27T17:39:37 < zyp> what do you mean «run as a discovery»? 2012-07-27T17:39:57 < BrainDamage> on, not as 2012-07-27T17:40:04 < zyp> oh 2012-07-27T17:40:12 < zyp> read a bit to fast 2012-07-27T17:40:17 < zyp> too fast 2012-07-27T17:41:07 < Laurenceb> PROBE_HOST=stlink" by using another SWD-capable programmer (desolder 2012-07-27T17:41:07 < Laurenceb> the "DEFAULT" bridges, solder "PRG-32", use CN3 for flashing). 2012-07-27T17:41:18 < Laurenceb> those jumpers arent present 2012-07-27T17:41:36 < Laurenceb> also how do i reflash the stm32 on the discovery stlink 2012-07-27T17:42:23 < BrainDamage> flip th board 2012-07-27T17:42:35 < BrainDamage> there are pads 2012-07-27T17:42:35 < PaulFertser> Laurenceb: those are not jumpers. Those are solder bridges and 0R resistors. 2012-07-27T17:42:57 < Laurenceb> is it possible to make this work on discovery? 2012-07-27T17:42:59 < PaulFertser> BTW, there's no way to restore ST-Link back afaik (no binary available anywhere). 2012-07-27T17:43:06 < Laurenceb> hmm 2012-07-27T17:43:11 < PaulFertser> Laurenceb: of course, it does work on my discovery. 2012-07-27T17:43:20 < Laurenceb> how did you flash? 2012-07-27T17:43:44 < PaulFertser> Laurenceb: with (a bit hacked) stm32flash version. It's all described there on my link. 2012-07-27T17:43:52 < PaulFertser> In the "first reply". 2012-07-27T17:43:56 < Laurenceb> oh 2012-07-27T17:44:11 < PaulFertser> Laurenceb: but if i had another SWD programmer handy, i'd probably used that. 2012-07-27T17:44:31 < PaulFertser> But since i wanted to get UART1 access anyway, there was no reason to not use the bootloader. 2012-07-27T17:47:22 < Laurenceb> you soldered direct to the ic pins? 2012-07-27T17:47:30 < PaulFertser> Laurenceb: yep 2012-07-27T17:47:36 < Laurenceb> i see 2012-07-27T17:47:42 < Laurenceb> a little fiddly 2012-07-27T17:47:52 < dongs> sup dongs 2012-07-27T17:47:57 < BrainDamage> you know that the pads on the bottom allows you to flash the bootloader? 2012-07-27T17:48:02 < Laurenceb> cant you read the stlink binary off? 2012-07-27T17:48:02 < dongs> it seems i need to figure out 3d math 2012-07-27T17:48:02 < BrainDamage> trough* 2012-07-27T17:48:06 < dongs> and im too dumb for that 2012-07-27T17:48:19 < Laurenceb> i thought you were a jew? 2012-07-27T17:48:23 < dongs> that too 2012-07-27T17:48:28 < Laurenceb> jew are smart 2012-07-27T17:48:35 < dongs> incorrect 2012-07-27T17:48:38 < Laurenceb> lol 2012-07-27T17:48:46 < PaulFertser> BrainDamage: (pads on the bottom) are you asking me? 2012-07-27T17:49:04 < Laurenceb> hmm 2012-07-27T17:49:10 < dongs> anyway 2012-07-27T17:49:17 < Laurenceb> if i can hack swd onto the stlink stm on my discovery 2012-07-27T17:49:21 < Laurenceb> i can grab the binary 2012-07-27T17:49:22 < BrainDamage> yes 2012-07-27T17:49:26 < dongs> Laurenceb: binary of what 2012-07-27T17:49:28 < dongs> stlink is locked 2012-07-27T17:49:31 < dongs> ROP etc. 2012-07-27T17:49:36 < PaulFertser> Laurenceb: i doubt that. Readout protection there. 2012-07-27T17:49:36 < dongs> you'd have to hax it using /topic 2012-07-27T17:49:38 < Laurenceb> wuuuttt 2012-07-27T17:49:40 <+Steffanx> Yeah :D 2012-07-27T17:49:40 < Laurenceb> grrr 2012-07-27T17:49:45 <+Steffanx> /topic :) 2012-07-27T17:49:56 < dongs> i have the decrypted binaries 2012-07-27T17:49:58 < dongs> without bootloader 2012-07-27T17:50:03 < Laurenceb> how 2012-07-27T17:50:05 < dongs> from stlinkuupgrade orhwatever 2012-07-27T17:50:11 < dongs> they're just aes crypted inside exe 2012-07-27T17:50:14 < Laurenceb> oh 2012-07-27T17:50:15 < dongs> bu they're useless withotu bootloader 2012-07-27T17:50:46 < dongs> stop pirating st stuff 2012-07-27T17:50:51 < dongs> wait for cmsis-dap 2012-07-27T17:50:59 < dongs> then you can forget st(l)ink forever. 2012-07-27T17:51:07 < Laurenceb> hmm maybe ill hack a maple to run as a blacksphere 2012-07-27T17:51:23 < Laurenceb> i dont want to brick my discovery 2012-07-27T17:51:43 <+Steffanx> You don't brick it 2012-07-27T17:52:02 < Laurenceb> i lose stlink functionality 2012-07-27T17:52:11 < zyp> dongs, is that some open standardized debugger firmware? 2012-07-27T17:52:12 <+Steffanx> Who cares .. it's just a programmer 2012-07-27T17:52:18 < dongs> zyp, yes 2012-07-27T17:53:10 -!- dekar [~dekar@dslb-188-107-199-046.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-07-27T17:53:36 < PaulFertser> Laurenceb: i do not see how stlink is any better than BMP except for the F0 (and probably L15x which could be added) support. 2012-07-27T17:53:55 < Laurenceb> ive got some maples here 2012-07-27T17:54:03 < Laurenceb> im going to see if i can run it on maple 2012-07-27T17:55:44 < Laurenceb> if eagle works 2012-07-27T17:55:49 < PaulFertser> the /topic doesn't really tell how exactly to readout the flash though. Would the rom bootloader allow to load arbitrary code to RAM and run it when ROP is active? 2012-07-27T17:56:42 < dongs> supposedly, yes 2012-07-27T17:57:10 < Laurenceb> yeah 2012-07-27T17:57:24 < dongs> then you dump it via some available interface 2012-07-27T17:57:24 < Laurenceb> run from ram and grab the flash 2012-07-27T17:57:26 < dongs> uart/spi/wahtever 2012-07-27T17:57:37 < Laurenceb> i cant be bothered 2012-07-27T17:57:41 < Laurenceb> maple it is 2012-07-27T17:57:42 < dongs> do it 2012-07-27T17:57:45 < dongs> aww. 2012-07-27T17:57:51 < Laurenceb> you d it 2012-07-27T17:57:57 < dongs> im busy haxing osd 2012-07-27T17:58:10 < Laurenceb> *trolling tom66 2012-07-27T17:58:16 < Laurenceb> ftfy 2012-07-27T17:59:29 < Laurenceb> wtf eagle 2012-07-27T17:59:43 < Laurenceb> "start tag expected" 2012-07-27T18:02:12 < Laurenceb> i need the blackmagic schematic to port 2012-07-27T18:02:21 < karlp> are you using an old version of eagle? 2012-07-27T18:02:26 < karlp> that sounds like an xml parsing error 2012-07-27T18:02:39 < dongs> "pirated version of eagle" 2012-07-27T18:02:43 < dongs> eagle fucking SUCKS 2012-07-27T18:03:42 < PaulFertser> I do not buy the idea that simply loading a flash dumper into RAM by using the ROM bootloader will allow to read the ROP flash. Has anyone tried it actually? 2012-07-27T18:04:48 < dongs> how else do you think its gonna work 2012-07-27T18:06:10 < Laurenceb> "pirated version of eagle" 2012-07-27T18:06:13 < Laurenceb> no comment 2012-07-27T18:06:41 < Laurenceb> can anyone grab me a png of the schematic? 2012-07-27T18:07:09 < dongs> eagle sucks so bad i dont ev en have a pirated version of it. 2012-07-27T18:07:17 < PaulFertser> Laurenceb: the BMP source code has a comment listing the pins used. 2012-07-27T18:07:24 < Laurenceb> ah 2012-07-27T18:07:44 < dongs> http://www.youtube.com/watch?v=N90L2P5zGVg 2012-07-27T18:08:07 < karlp> neat :) 2012-07-27T18:09:37 -!- claude_work is now known as claude 2012-07-27T18:09:43 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-27T18:09:59 < BrainDamage> the awkward blue cable is the tv out? 2012-07-27T18:10:22 < BrainDamage> ehh sorry, not blue 2012-07-27T18:10:30 < BrainDamage> the flash colours are fucked here 2012-07-27T18:10:43 < zyp> that board is just the data source for the osd 2012-07-27T18:11:40 < PaulFertser> Hm, they say there's an online schematics software http://upverter.com and that they have a handy converter too (supporting Eagle, KiCAD and some other formats): https://github.com/upverter/schematic-file-converter/ 2012-07-27T18:11:55 -!- jon1012 [~jon@foresight/developer/jon1012] has quit [Quit: Quitte] 2012-07-27T18:12:03 < Laurenceb> so 2012-07-27T18:12:23 < Laurenceb> i need to copy everything in the stlink directory? 2012-07-27T18:13:15 < PaulFertser> Laurenceb: it depends on what you want to use as a basis. The "native" is more sophisticated, has DFU, UART, SWO (in development) support. 2012-07-27T18:13:22 < Laurenceb> and write my own platform.c 2012-07-27T18:13:42 < Laurenceb> i see some crazy morse code shit 2012-07-27T18:15:35 < PaulFertser> Laurenceb: feel free to disable it if you can't understand morse or are running low on LEDs. 2012-07-27T18:15:38 < PaulFertser> :) 2012-07-27T18:15:50 < Laurenceb> hmm maybe i can implinet full blacksphere on maple 2012-07-27T18:15:54 < Laurenceb> *impliment 2012-07-27T18:16:07 < Laurenceb> that would be kind of cool 2012-07-27T18:17:10 < Laurenceb> ideally need to make a sheild 2012-07-27T18:17:30 < dongs> port it to tarduino mega 328 2012-07-27T18:17:42 < Laurenceb> rofl 2012-07-27T18:22:52 < karlp> paul: with your VL reflashed, I take it it still works for programming the f100VL device still? and you can still use the four pins on the stlink/v1 part to program other devices right? 2012-07-27T18:26:56 < Laurenceb> arggg 2012-07-27T18:27:16 < Laurenceb> just fuxored a silicone rubber mix 2012-07-27T18:27:27 < Laurenceb> i hate this stuff 2012-07-27T18:28:40 < PaulFertser> karlp: oh yeah 2012-07-27T18:30:11 < zyp> hmm, going to give this read protection stuff a try 2012-07-27T18:30:22 -!- mobyfab [~mobyfab@80.239.168.84] has joined ##stm32 2012-07-27T18:32:26 -!- mobyfab [~mobyfab@80.239.168.84] has quit [Quit: Leaving] 2012-07-27T18:33:49 * Laurenceb rings momentive products to rage 2012-07-27T18:37:58 < Laurenceb> so much for hacking maples... back to faffing with adhesives 2012-07-27T18:40:27 < dongs> huffing glue?? 2012-07-27T18:41:18 < Laurenceb> my momentive 4004 surface activator is poisoning the bentley 1607C silicone 2012-07-27T18:41:37 < Laurenceb> havent a clue how to solve that 2012-07-27T18:43:27 < zyp> normal read protection seems to be working alright 2012-07-27T18:43:29 < Laurenceb> thats 3 days work wasted 2012-07-27T18:43:29 < zyp> Cannot access memory at address 0x8000000 2012-07-27T18:45:46 -!- dekar [~dekar@212.255.22.177] has joined ##stm32 2012-07-27T18:45:49 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-27T18:46:54 < dongs> zyp, from ram? 2012-07-27T18:47:58 < zyp> no, from debugger 2012-07-27T18:48:17 < karlp> well, yeah, you'd hope they'd got it mostly working 2012-07-27T18:48:19 < zyp> I'm going to test dma first before I bother trying loading something to ram 2012-07-27T18:54:01 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-27T18:58:23 < zyp> dma is setting the transfer error flag, so unless I'm doing something wrong, that's also disallowed 2012-07-27T19:00:36 < PaulFertser> Does anyone have a link to a nice code for receiving/decoding RC5 (and other) signals from IR remote controls? And is not AN3174 which doesn't use libopencm3 and most probably has a restrictive license? 2012-07-27T19:12:09 < Laurenceb> were is the linker in the blackmagic code? 2012-07-27T19:13:44 <+Steffanx> see the platform dir Laurenceb 2012-07-27T19:13:46 <+Steffanx> https://github.com/gsmcmullin/blackmagic/tree/master/src/platforms/stm32 2012-07-27T19:13:51 < Laurenceb> aha 2012-07-27T19:14:47 < zyp> hmm, looks like it's just hardfaulting when I try accessing flash from instructions stored in ram 2012-07-27T19:15:34 < Laurenceb> sucks 2012-07-27T19:15:41 < Laurenceb> do i need https://github.com/leaflabs/libmaple/blob/master/support/ld/stm32/mem/sram_20k_flash_128k/mem-flash.inc 2012-07-27T19:15:51 < Laurenceb> to run it on maple then? 2012-07-27T19:16:47 < Laurenceb> what at 3k of sram used ofr? 2012-07-27T19:22:55 < Laurenceb> /home/laurence/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.5.2/../../../../arm-none-eabi/bin/ld: cannot find -lnosys 2012-07-27T19:22:57 < Laurenceb> wut 2012-07-27T19:31:59 < Laurenceb> hmm i cant build blackmagic 2012-07-27T19:32:21 < Laurenceb> platforms/native/platform.h:27:38: fatal error: libopencm3/stm32/f1/gpio.h: No such file or directory 2012-07-27T19:32:27 < Laurenceb> how is it supposed to see it 2012-07-27T19:32:51 < karlp> do you have libopencm3 installed into your toolchain? 2012-07-27T19:32:55 < karlp> it might be expecting it, 2012-07-27T19:33:02 < Laurenceb> i think so 2012-07-27T19:33:06 < karlp> or you might need to set LIBOPENCM3DIR or something. 2012-07-27T19:37:16 < PaulFertser> Laurenceb: libnosys is a standard part of the newlib build. 2012-07-27T19:37:36 < PaulFertser> Laurenceb: and provided libopencm3 is properly installed it should be able to include that file just fine. 2012-07-27T19:38:20 < Laurenceb> make install? 2012-07-27T19:39:28 < Laurenceb> still fails 2012-07-27T19:40:42 < PaulFertser> zyp++ thank you for testing that! 2012-07-27T19:42:33 < Laurenceb> how do i set target for blackmagic compilation? 2012-07-27T19:44:15 < Laurenceb> oh i see 2012-07-27T19:44:26 < Laurenceb> libopencm3 is missing its header files 2012-07-27T19:44:28 < Laurenceb> wtf 2012-07-27T19:45:05 < PaulFertser> Probably they're getting placed in some inappropriate place. 2012-07-27T19:45:15 < PaulFertser> If you run gcc with -v you'll see the include search path. 2012-07-27T19:50:01 < Laurenceb> http://pastebin.com/5pEXCKP2 2012-07-27T19:50:53 < PaulFertser> Hm, i should have said "arm-none-eabi-cpp -v" , not gcc. 2012-07-27T19:52:31 < Laurenceb> all codesourcery directories 2012-07-27T19:55:14 < PaulFertser> Laurenceb: so place "libopencm3/" somewhere in there 2012-07-27T19:58:11 < Laurenceb> can i use symlinks? 2012-07-27T20:07:58 < PaulFertser> Duh, sure. 2012-07-27T20:17:48 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-27T20:18:32 < Laurenceb> hmm its missing the linker script 2012-07-27T20:18:40 < Laurenceb> which a cant find 2012-07-27T20:18:46 < Laurenceb> - the libopencm3 linker 2012-07-27T20:19:06 < Laurenceb> cannot open linker script file libopencm3_stm32f1.ld: No such file or directory 2012-07-27T20:20:00 < PaulFertser> Laurenceb: yes, it's there in the libopencm3 sources. 2012-07-27T20:20:20 < Laurenceb> foudn it now 2012-07-27T20:20:25 < Laurenceb> how do i link it? 2012-07-27T20:22:07 < karlp> it sounds like you had a seriously broken libopencm3 install. 2012-07-27T20:22:42 < PaulFertser> karlp: i guess make install in libopencm3 can't cope with codesourcery out of the box. 2012-07-27T20:23:37 < PaulFertser> Laurenceb: i have it in arm-none-eabi/lib/ in the root of the toolchain installation. 2012-07-27T20:24:09 < Laurenceb> k 2012-07-27T20:27:09 < karlp> maybe, I wouldn't have thought codesourcery would use such a radically different directory layout 2012-07-27T20:27:26 < karlp> I had some chagnes to the install process that I can't remember if they've been pulled or not yet. 2012-07-27T20:27:32 < karlp> because it wasn't doing a very good job :) 2012-07-27T20:27:52 < Laurenceb> hmm 2012-07-27T20:27:55 < Laurenceb> CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.5.2/../../../../arm-none-eabi/bin/ld: cannot find -lopencm3_stm32f1 2012-07-27T20:28:40 < Laurenceb> symlink is called libopencm3_stm32f1.ld 2012-07-27T20:28:51 < Laurenceb> is that ok? 2012-07-27T20:29:36 < karlp> umm, -lopencm3_stm32f1 is looking for a .a file 2012-07-27T20:29:40 < karlp> the .ld files are linker scripts 2012-07-27T20:30:04 < Laurenceb> oh 2012-07-27T20:30:06 < Laurenceb> arggg 2012-07-27T20:30:29 < PaulFertser> zyp: man, was that you winning bunnie's prize recently? :-O 2012-07-27T20:30:37 < Thorn> EEVBlog #323 - Dave Jones Gets More Free Instruments 2012-07-27T20:30:58 < karlp> I have libopencm3_stm32f[1,2,4].{a,ld} in ~/gcc-launchpadblah/arm-none-eabi/lib 2012-07-27T20:31:19 < karlp> and blah/arm-none-eabi/include has the libopencm3 tree 2012-07-27T20:32:20 < Laurenceb> k fixed it 2012-07-27T20:32:29 < zyp> PaulFertser, yep 2012-07-27T20:32:31 < Laurenceb> but now i have the -lnosys issue 2012-07-27T20:32:47 < PaulFertser> zyp: wow, congrats! :) 2012-07-27T20:33:33 < PaulFertser> Libnosys is built as a part of the standard newlib build. Probably codesourcery folks disabled it for some obscure reason, no idea. 2012-07-27T20:33:44 < Laurenceb> eww 2012-07-27T20:33:55 < Laurenceb> can i grab a .a file from somewhere? 2012-07-27T20:36:22 < Laurenceb> libcs3unhosted seems to work as a relacement 2012-07-27T20:36:24 < Laurenceb> wohoo 2012-07-27T20:36:28 < Laurenceb> almost compiles 2012-07-27T20:36:35 < Laurenceb> it seems to think swo is enabled 2012-07-27T20:36:51 < Laurenceb> but i disabled it as there seems to be missing headers in the github code 2012-07-27T20:37:08 < Laurenceb> im not sure this code will actually comile at all 2012-07-27T20:38:10 < Laurenceb> this sucks 2012-07-27T20:38:25 < PaulFertser> Heh, the code compiled just fine for me :P 2012-07-27T20:38:29 < Laurenceb> hmm 2012-07-27T20:38:46 < Laurenceb> oh wait 2012-07-27T20:38:53 < Laurenceb> maybe i have the wrong platform.c 2012-07-27T20:40:12 < karlp> worked for me. 2012-07-27T20:40:18 < karlp> make CROSS_COMPILE_arm-none-eabi, 2012-07-27T20:40:21 < karlp> just finished. 2012-07-27T20:41:32 < Laurenceb> command.o: In function `cmd_traceswo': 2012-07-27T20:41:32 < Laurenceb> /home/laurence/Documents/STM32/blackmagic/src/command.c:212: undefined reference to `traceswo_init' 2012-07-27T20:46:35 < Laurenceb> ok 2012-07-27T20:46:43 < Laurenceb> /arm-none-eabi/lib/thumb2/libcs3unhosted.a(unhosted-sbrk.o):(.data+0x0): undefined reference to `__cs3_heap_start' 2012-07-27T20:51:01 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-27T20:51:01 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Disconnected by services] 2012-07-27T20:51:05 -!- mode/##stm32 [+v Steffann] by ChanServ 2012-07-27T20:54:34 < Laurenceb> ah i need to link to lanchon-stm32-rom.ld as well 2012-07-27T20:54:38 < Laurenceb> so confusing 2012-07-27T20:54:46 < Laurenceb> anyway, need a shield for it now XD 2012-07-27T20:54:49 < Laurenceb> cya all 2012-07-27T20:55:23 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-27T22:09:23 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-27T22:42:25 < PaulFertser> Laurenceb: if you were using summon-arm-toolchain or at least building libopencm3 from the sources, there won't be any issues, actually, it's surprisingly smooth. 2012-07-27T22:46:18 <+dekar> izua, hey 2012-07-27T22:47:14 -!- phantoneD [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-27T22:48:48 -!- Laurenceb__ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-27T22:50:32 -!- phantoxeD [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 2012-07-27T23:23:37 -!- Laurenceb__ is now known as Laurenceb_ 2012-07-27T23:45:22 < Laurenceb_> can you include two linker scripts in LDFLAGS 2012-07-27T23:46:07 < PaulFertser> No 2012-07-27T23:46:24 < PaulFertser> Laurenceb: but one linker script can include another. 2012-07-27T23:46:27 -!- emeb [~ericb@75-171-70-66.phnx.qwest.net] has joined ##stm32 2012-07-27T23:46:57 < PaulFertser> But they should be designed that way specifically for the purpose. 2012-07-27T23:48:27 < Laurenceb_> ok 2012-07-27T23:48:36 <+dekar> GOLD doesn't support linker scripts including others 2012-07-27T23:48:49 <+dekar> well GOLD barely supports linkerscripts anyway 2012-07-27T23:48:49 < Laurenceb_> still trying to get blackmagic to build 2012-07-27T23:52:21 < Laurenceb_> init.c:(.text+0x38): undefined reference to `_init' 2012-07-27T23:52:24 < Laurenceb_> any ideas? 2012-07-27T23:56:03 <+dekar> do you have startup code? 2012-07-27T23:56:18 -!- BrainDamage [~BrainDama@dynamic-adsl-78-12-228-231.clienti.tiscali.it] has quit [Quit: Leaving.] 2012-07-27T23:57:25 <+dekar> Laurenceb_, do your LDFLAGS have "-nostartfiles"? 2012-07-27T23:58:25 < Laurenceb_> yes 2012-07-27T23:59:28 < Laurenceb_> should i remov ethat? --- Day changed Sat Jul 28 2012 2012-07-28T00:02:14 < Laurenceb_> 61440 2012-07-27 22:02 blackmagic.bin 2012-07-28T00:02:18 < Laurenceb_> looks like it built 2012-07-28T00:05:15 < Laurenceb_> it has issues making the usb-dfu, but thats the bootloader right? 2012-07-28T00:05:24 < Laurenceb_> and i have the maple bootloader already 2012-07-28T00:05:28 < PaulFertser> Yes 2012-07-28T00:07:16 < Laurenceb_> i swapped the start location to fit the maple bootloader size 2012-07-28T00:07:29 < Laurenceb_> so it can just be loaded now? 2012-07-28T00:10:21 < PaulFertser> Laurenceb: i hope so 2012-07-28T00:12:15 < PaulFertser> Laurenceb: most probably the issues you're facing with compilation are due to using the codesourcery toolchain. I was using s-a-t and also a fully self-compiled one, and they both gave ~52k bin size and also i didn't have to alter any options or linker scripts. 2012-07-28T00:13:20 < Laurenceb_> hmm 2012-07-28T00:13:29 < Laurenceb_> maybe i should change the toolchain 2012-07-28T00:13:43 < Laurenceb_> codesourcery has fpu support for F4 2012-07-28T00:13:50 < PaulFertser> Same about s-a-t 2012-07-28T00:13:53 < Laurenceb_> but does everything support it now? 2012-07-28T00:14:11 < PaulFertser> Also, you can have as many different toolchains installed simultaneously as you want. 2012-07-28T00:14:40 < Laurenceb_> true 2012-07-28T00:14:52 < Laurenceb_> whats s-a-t? 2012-07-28T00:15:14 < PaulFertser> summon-arm-toolchain 2012-07-28T00:15:35 < Laurenceb_> oh 2012-07-28T00:15:46 < Laurenceb_> does it support fpu? 2012-07-28T00:15:52 < PaulFertser> It does 2012-07-28T00:16:04 < Laurenceb_> oh cool 2012-07-28T00:16:10 < PaulFertser> It's multilib all right 2012-07-28T00:16:33 < Laurenceb_> is it better than tnt on f1? 2012-07-28T00:16:45 < PaulFertser> I have no idea about the tnt 2012-07-28T00:17:36 < Laurenceb_> ok 2012-07-28T00:17:38 < BusError> I use the FPU on the F4 using the Linaro toolchain, all works fine 2012-07-28T00:17:48 < Laurenceb_> arg too many toolchains 2012-07-28T00:18:05 < Laurenceb_> i guess ill try sat as it seems common 2012-07-28T00:19:09 < BusError> toolchain is irrelevant really. You can make your owm using crosstool-ng as well 2012-07-28T00:19:44 < Laurenceb_> yeah ive done that before 2012-07-28T00:19:59 < PaulFertser> BusError: good multilib configs seem to be hard to prepare 2012-07-28T00:34:48 < Laurenceb_> need a shield now - ill try with some breadboard 2012-07-28T00:35:01 < Laurenceb_> then sneak something into an order at work 2012-07-28T00:40:04 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Read error: Connection reset by peer] 2012-07-28T01:18:27 < Laurenceb_> http://www.youtube.com/watch?v=Xh2dnaXM8Kw 2012-07-28T01:18:39 < Laurenceb_> ^me trying to make mass storage work 2012-07-28T01:22:28 < zyp> :D 2012-07-28T01:31:12 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-28T01:45:28 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-28T01:47:51 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Client Quit] 2012-07-28T02:00:13 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-28T02:03:30 <+izua> dekar: oi 2012-07-28T02:03:52 <+izua> read your stuff on lua/stm32. pics of stdout? :D 2012-07-28T02:08:44 < Laurenceb_> olympics seems to be a blue led fest 2012-07-28T02:08:58 < Laurenceb_> its like they got arduino users to design it 2012-07-28T02:11:45 <+izua> is it that wonderful blue shade that leaves your retina burning a bit when you stare at it in the dark? 2012-07-28T02:12:12 < Laurenceb_> seems to be 2012-07-28T02:12:14 < Laurenceb_> wow 2012-07-28T02:12:16 < Laurenceb_> http://www.energymicro.com/draco 2012-07-28T02:12:23 < Laurenceb_> why didnt i read this before 2012-07-28T02:12:32 < Laurenceb_> looks like some epic kit 2012-07-28T02:13:04 <+Steffann> STOP SAYING ARDUINO IN THIS CHANNEL ALL DAY LONG, Laurenceb_ :) 2012-07-28T02:13:35 <+izua> stm32uino 2012-07-28T02:13:41 <+izua> and now i should kickban myself 2012-07-28T02:14:23 <+izua> Laurenceb_: i don't recall the exact article, but i recall reading something about blue leds being somewhat damaging 2012-07-28T02:14:53 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-28T02:15:01 < zyp> I just ranted in another channel about how I hate the blue leds on top of my new computer case 2012-07-28T02:15:11 <+Steffann> He forgot to say it were rgb leds 2012-07-28T02:15:14 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-28T02:15:18 <+Steffann> he = Laurenceb_ 2012-07-28T02:15:30 <+izua> something about biochemestry of cone cells and breakdown time after expsoure to blue and something more about short recovery time of said bio-chemo-stuff. can't remember. 2012-07-28T02:15:44 <+izua> i wonder if it has any scientific basis. 2012-07-28T02:19:37 <+izua> and i've started the vicious circle of clicking wikipedia links, something more about some missus having a 4th color cone cell, thus the increase in color perception in women, and cats with heterochromia 2012-07-28T02:19:56 <+izua> somehow, the internet seems to redirect everything to cats. 2012-07-28T02:20:09 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-28T02:20:17 < Laurenceb_> is it possible to download the draco datasheet? 2012-07-28T02:21:20 <+Steffann> To obtain your registered copy of the complete EFR datasheets, please fill in you company information below. We might contact you to collect missing information or for clarification purpose. 2012-07-28T02:21:28 < Laurenceb_> yeah i can see that 2012-07-28T02:22:02 <+Steffann> Ok :) 2012-07-28T02:22:20 < Laurenceb_> wondered if it was available somewhere 2012-07-28T02:22:29 < Laurenceb_> "System On Chip features: ARM Cortex-M3 processor" 2012-07-28T02:22:35 < Laurenceb_> cant get more epic than that 2012-07-28T02:22:48 <+Steffann> m4 L) 2012-07-28T02:22:49 <+Steffann> :) 2012-07-28T02:22:50 < Laurenceb_> radio that pwns silabs with an arm cortex as well 2012-07-28T02:23:24 <+Steffann> Whoa, Q3 2013 :( 2012-07-28T02:26:10 < Laurenceb_> oh i didnt see that 2012-07-28T02:26:11 < Laurenceb_> fail 2012-07-28T02:26:18 < Laurenceb_> thats why its so awesome 2012-07-28T02:26:21 < Laurenceb_> its from the future 2012-07-28T02:27:09 <+Steffann> So go with the stm32w or nRF51 :) 2012-07-28T02:27:20 <+Steffann> only 2.4GHz, but .. who needs 868? 2012-07-28T02:27:22 <+Steffann> mhz 2012-07-28T02:27:37 <+Steffann> the nRF51 family is a m0 though 2012-07-28T02:29:37 <+Steffann> oh and no datasheet yet :) 2012-07-28T02:34:52 <+izua> found it: https://en.wikipedia.org/wiki/Blue-light_hazard#Blue-light_hazard 2012-07-28T02:35:03 <+izua> also [citation needed] 2012-07-28T02:35:18 <+Steffann> too bad you are not human 2012-07-28T02:36:15 <+izua> i can still be annoyed by blinkenrouters 2012-07-28T02:39:20 < Laurenceb_> you get way more range on lower frequencies 2012-07-28T02:39:25 < Laurenceb_> 2.4G sucks 2012-07-28T02:39:37 < Laurenceb_> H2O absorption frequency 2012-07-28T02:41:19 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 246 seconds] 2012-07-28T02:45:30 < Laurenceb_> lol guys from #highaltitude are doing the olympics high altitude logo 2012-07-28T02:45:34 < Laurenceb_> supposedly 2012-07-28T02:45:36 < Laurenceb_> http://imgur.com/99UKP 2012-07-28T02:45:42 < Laurenceb_> im dubious 2012-07-28T03:05:26 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2012-07-28T03:08:10 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-07-28T03:18:56 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 252 seconds] 2012-07-28T03:23:53 < bcsllc-steve> 2 waterfall gerbs fired early 2012-07-28T03:31:56 < bcsllc-steve> can someone paste those links to the STM devlopment board 2012-07-28T03:32:01 < bcsllc-steve> not the STM ones 2012-07-28T03:32:08 < bcsllc-steve> but for the breakout boards 2012-07-28T04:07:28 < dongs> like shit from wavesahre? 2012-07-28T04:25:54 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Ping timeout: 264 seconds] 2012-07-28T04:32:33 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-28T04:40:23 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-28T04:40:28 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has left ##stm32 [] 2012-07-28T05:05:17 < bcsllc-steve> yeah the waveshare stuff 2012-07-28T05:05:29 < bcsllc-steve> anyone *not* like thier stuff ? 2012-07-28T05:10:03 -!- emeb [~ericb@75-171-70-66.phnx.qwest.net] has left ##stm32 [] 2012-07-28T05:17:20 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-28T05:17:27 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-28T05:43:07 < zippe> Hmm, anyone have a favorite big Pic32 board? 2012-07-28T05:51:11 < feurig> yeah the one where the components are all fabbed stateside. 2012-07-28T05:52:11 < feurig> funny thing about the business. If you want an american fabbed open source platform you wind up over in pic land 2012-07-28T05:52:39 < feurig> ironically st micro only recently shipped their american fabbed stuff to asia 2012-07-28T06:02:27 < zippe> Which one would that be? 2012-07-28T06:02:40 < zippe> Olimex have a pretty good looking one 2012-07-28T06:02:57 < zippe> jpa-: Any chance for a chat about nanopb? 2012-07-28T06:16:44 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has joined ##stm32 2012-07-28T06:19:00 < dongs> cool, osd works after some tom66 moments 2012-07-28T06:20:06 < dongs> http://i.imgur.com/BXoZg.jpg handsoldered doom 2012-07-28T07:01:25 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-28T07:22:00 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-28T08:15:01 < R0b0t1> dongs, can't really tell that's hand soldered. 2012-07-28T08:15:10 < R0b0t1> eeh well the LEDs I can tell 2012-07-28T08:15:23 < R0b0t1> okay well nevermind the part I looked at first didn't suck :p 2012-07-28T08:15:38 < R0b0t1> dongs, wat is eet 2012-07-28T08:16:04 < R0b0t1> I see a GPS port 2012-07-28T08:16:06 < R0b0t1> a telemetry port 2012-07-28T08:16:26 < R0b0t1> okay, looks like RC plane stuff 2012-07-28T08:18:49 < dongs> ya boring shit. 2012-07-28T08:36:34 < R0b0t1> dongs, reminds me, ever do anything with that silabs chip? I hear people bitching about RC ESCs that switched to some other silab family. Nothing to do with the silabs Cortex, but made me remember it. 2012-07-28T08:38:38 < dongs> yeah I just got my silabs toolstick in 2012-07-28T08:38:42 < dongs> gonna flash some silabs esc. 2012-07-28T08:39:10 < R2COM> do most of those commercial hobby ESC shit is using simplified 6-step liker PWM? 2012-07-28T08:39:11 < R0b0t1> balls 2012-07-28T08:39:16 < R0b0t1> so you gave in and bought the programmer? 2012-07-28T08:39:17 < R2COM> or something better 2012-07-28T08:39:31 < R0b0t1> I was looking for some other implementation of it, but was thinking about just buying the toolstick 2012-07-28T08:39:33 < zippe> R0b0t1: the SiLabs programmer is dirt cheap 2012-07-28T08:39:40 < R0b0t1> It's like $30 :( 2012-07-28T08:39:43 < dongs> yeah toolstick is like 25bucks or someshit 2012-07-28T08:40:01 < zippe> I actually have BusPirate code that talks to it somewhere, but why bother? 2012-07-28T08:41:08 < dongs> so zippe, your secret proj is out 2012-07-28T08:42:05 < zippe> Part of it at any rate 2012-07-28T08:42:19 < dongs> ohh, part? 2012-07-28T08:42:25 < dongs> is thre moar 2012-07-28T08:42:36 < zippe> Lots more software still to go 2012-07-28T08:42:42 < dongs> Right. 2012-07-28T08:42:50 < dongs> i suppose bill wouldnt cry if someone ported autoquad to it. 2012-07-28T08:42:55 < dongs> since he's not making any money on hardware etc. 2012-07-28T08:42:56 < zippe> The ETHZ guys have a heap of stuff in the pipeline 2012-07-28T08:43:19 < zippe> Even Roberto wants to port to it 2012-07-28T08:43:22 < dongs> ha ha 2012-07-28T08:43:28 < dongs> well that guy will do anything to try and make some $ 2012-07-28T08:43:31 < zippe> yeah, that's been … interesting 2012-07-28T08:43:55 < dongs> whas intersting 2012-07-28T08:44:24 < dongs> roberto ravioli trying to make money? 2012-07-28T08:45:26 < zippe> He has a lot of … fans. And they are, well, fans. Not developers. 2012-07-28T08:46:46 < dongs> and his hardware is fucking ugly. 2012-07-28T08:49:13 < dongs> anyway ravioli has no useful code. 2012-07-28T08:49:17 < zippe> I'm obviously not a fan, but that's a personal issue 2012-07-28T08:49:31 < dongs> its just 8bit tarducopter recompiled on 32bit. 2012-07-28T08:55:19 < zippe> To be fair, the AC folks have improved their game somewhat lately 2012-07-28T08:55:45 < dongs> tehy did something besides claiming they invented rc drones? :) 2012-07-28T08:55:48 < zippe> The hardware is up against the wall, but they have a number of folks on the team that are doing some pretty good work 2012-07-28T08:56:19 < zippe> Heh. For someone that despises Roberto so openly, you're sure keen to parrot his lines. 2012-07-28T08:56:30 < dongs> wait waht 2012-07-28T08:56:50 < zippe> Chris is a hype machine, but he never claimed he invented drones 2012-07-28T08:57:06 < dongs> he also claimed latest tardupilot has like THREE PROCESSORS on it 2012-07-28T08:57:35 < zippe> It does. 2012-07-28T08:58:08 < dongs> even though DMP is useless? 2012-07-28T08:58:12 < zippe> Now you may want to point out that one is the failsafe, and the other is in the stupid Invensense part, but see above inre: hype 2012-07-28T08:58:13 < dongs> and mega32u is just for usb>serila? 2012-07-28T08:58:37 < zippe> You're the one that's assuming he means "three processors doing flight calculations" 2012-07-28T09:01:09 < dongs> but thats what he says! :) 2012-07-28T09:02:30 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-28T09:02:36 < zippe> Show me. 8) 2012-07-28T09:11:04 < jpa-> zippe: sure, but i guess i'll be present only sporadically today 2012-07-28T09:12:39 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-28T09:22:52 < zippe> jpa-: Ok, mostly I just wanted to understand what the wire protocol looks like 2012-07-28T09:23:03 < zippe> Since I have never been able to find anyone that can tell me what protobuf looks like on the wire 2012-07-28T09:29:00 < PaulFertser> zippe: you can transfer the bytes any way you want, so there's no on-the-wire specification. 2012-07-28T09:29:53 < PaulFertser> zippe: the lowest level description is https://developers.google.com/protocol-buffers/docs/encoding 2012-07-28T09:30:55 < dongs> variety of languages – Java, C++, or Python. 2012-07-28T09:31:00 < dongs> thats hardly a variety. 2012-07-28T09:31:05 < dongs> 2 of those are worthless. 2012-07-28T09:32:05 < zippe> PaulFertser: I'm specifically asking about nanopb, which jpa- implemented. 2012-07-28T09:32:08 < PaulFertser> zippe: also, that's not a protocol but an extensible serialisation format, that's up to you how to transfer the buffers properly. 2012-07-28T09:32:31 < zippe> PaulFertser: by definition, a serialisation format has a transport encoding 2012-07-28T09:32:34 < PaulFertser> zippe: nanopb is not special, it just follows the convention. 2012-07-28T09:33:02 < zippe> PaulFertser: that doesn't help, since I haven't been able to determine what "the convention" is 2012-07-28T09:33:12 < PaulFertser> zippe: this is the convention: https://developers.google.com/protocol-buffers/docs/encoding 2012-07-28T09:33:27 < zippe> PaulFertser: But you just said there isn't one 2012-07-28T09:33:58 < zippe> ah, joy. I smell ASN.1 2012-07-28T09:34:24 < PaulFertser> zippe: that's the format, right. And there's no one single protocol. There're many different protocols based on protobuf. And i think nanopb is "just" a serialiser/deserialiser, it doesn't force any protocol on you. 2012-07-28T09:34:58 < zippe> I just wanted to understand the wire encoding for the serialised data 2012-07-28T09:35:09 < PaulFertser> That's described on that page, yes. 2012-07-28T09:35:13 < zippe> Yes, I see that now 2012-07-28T09:35:16 < zippe> Hence the ASN.1 comment 2012-07-28T09:35:20 -!- R2COM [~blackops@c-98-230-217-221.hsd1.nm.comcast.net] has quit [Quit: Leaving.] 2012-07-28T09:35:34 < zippe> It looks quite a bit like BER with implicit tagging 2012-07-28T09:35:59 < zippe> hum, make that explicit tagging 2012-07-28T09:55:28 < zippe> PaulFertser: Thanks for the pointers, this helps much. 2012-07-28T09:55:58 < PaulFertser> zippe: welcome :) 2012-07-28T09:56:11 < PaulFertser> zippe: btw, i've used nanopb myself on an stm32 :) 2012-07-28T09:56:40 < dongs> > git 2012-07-28T10:00:12 < zippe> PaulFertser: I have used tpl myself quite a bit; however, it's very verbose. 2012-07-28T10:06:44 < PaulFertser> zippe: this thread has some explicit comparison with ASN.1 2012-07-28T10:06:46 < PaulFertser> http://groups.google.com/group/protobuf/browse_thread/thread/78d0199673ca556e 2012-07-28T10:09:50 < zippe> PaulFertser: typical google; "oh it's too hard and we didn't invent it" 2012-07-28T10:12:32 < R0b0t1> zippe: buspirate code to do what? 2012-07-28T10:12:44 < zippe> The Cygnal programming protocol 2012-07-28T10:13:04 < zippe> But it's just not worth the hassle 2012-07-28T10:13:31 < R0b0t1> What isn't? Not using the official programmer? 2012-07-28T10:13:45 < R0b0t1> Timing quirks/undocumented behavior or what? 2012-07-28T10:13:46 < zippe> Yes 2012-07-28T10:14:05 < zippe> I ported the ec2 stuff to OS X and used HopeRF's clone of the Cygnal adapter 2012-07-28T10:14:07 < PaulFertser> zippe: i think Christopher Smith elaborated the story quite clearly, i'm reading the whole thread atm. 2012-07-28T10:14:20 < zippe> PaulFertser: Yeah, and I'm reading between the lines 2012-07-28T10:14:45 < dongs> cool, got 5 adxrs613 breakouts free 2012-07-28T10:14:51 < PaulFertser> He sent more than one letter on the topic. 2012-07-28T10:14:56 < dongs> now to figure out wat to do with them 2012-07-28T10:15:08 < zippe> Yes, I read a couple of threads. 2012-07-28T10:15:31 < zippe> Basically their argument was "ASN.1 was hard and we were in a hurry, so we spent a lot of time polishing this other thing instead" 2012-07-28T10:16:03 < zippe> The counter-argument is "the rest of the world understands the ASN.1 encodings and your stuff could have been more widely useful if you'd used it" 2012-07-28T10:16:13 < zippe> They're kinda talking past each other 2012-07-28T10:16:21 < zippe> G! don't give a damn about interoperabilit 2012-07-28T10:16:31 < dongs> opensource guys trolling each other? no wai. 2012-07-28T10:16:35 < zippe> But when they say "here, it's shiny!" people are going to want to use it for other things 2012-07-28T10:17:23 < R0b0t1> Sorry what are we even encodign 2012-07-28T10:17:37 < dongs> cp over token ring 2012-07-28T10:18:34 < R0b0t1> ._. 2012-07-28T10:18:40 < R0b0t1> Like no rly 2012-07-28T10:19:34 < PaulFertser> zippe: http://groups.google.com/group/protobuf/msg/a94ba4cb9b9f2618 this looks pretty convincing to me 2012-07-28T10:19:59 * R0b0t1 is wondering if quadcopters is all that goes on in here 2012-07-28T10:20:09 < R0b0t1> (or the majority of DIY electronics, for that matter...) 2012-07-28T10:21:35 < dongs> loo 2012-07-28T10:21:37 < dongs> nope. 2012-07-28T10:21:47 < jpa-> zippe: the protocol is standard, therefore the protocol-buffers encoding doc pasted by PaulFertser is a good sourcce 2012-07-28T10:22:28 < PaulFertser> jpa-: btw, hi, and cheers :) 2012-07-28T10:22:37 < jpa-> hi :) 2012-07-28T10:24:41 < jpa-> zippe: ASN.1 looks like crap, that's why i liked protobuf better :P 2012-07-28T10:36:13 < zippe> Fair enough. And if G! had used ASN.1, I'd have been screwed out of a small s11n library, so it's all good. 2012-07-28T10:54:18 < R0b0t1> Okay so googling for "G!" doesn't really work; what is it? 2012-07-28T10:57:39 * R0b0t1 pulled out a syntactically correct semicolon, bitches love syntactically correct semicolons. 2012-07-28T10:59:21 < dongs> i'm gonna guess, "google". 2012-07-28T10:59:33 < dongs> similar to Y! for yahoo. 2012-07-28T11:02:29 < R0b0t1> Oh, sweet. The ToolStick eval thing is cheaper than the base adapter. 2012-07-28T11:02:58 < R0b0t1> Like, $17 compared to $26. 2012-07-28T11:03:20 < R0b0t1> I might get that. Looks like the target uC is on the dongle itself. Nothing some strategically placed wires can fix. 2012-07-28T11:04:19 < dongs> url? 2012-07-28T11:04:29 < dongs> not that it really matters cuz i have the 25 toolstick here already. 2012-07-28T11:04:53 < R0b0t1> https://www.silabs.com/products/mcu/Pages/ToolStick.aspx 2012-07-28T11:04:54 < R0b0t1> very bottom 2012-07-28T11:05:02 -!- dekar [~dekar@212.255.22.177] has quit [Quit: This computer has gone to sleep] 2012-07-28T11:05:19 < R0b0t1> >1 in stock 2012-07-28T11:05:20 < R0b0t1> ouch 2012-07-28T11:05:27 < R0b0t1> no one fuck me over, I plan on buying that 2012-07-28T11:05:34 < dongs> haha 2012-07-28T11:06:06 < dongs> i hope i dont need that 'debug adapter' shite 2012-07-28T11:06:27 < dongs> to interface with this silabs stuff 2012-07-28T11:06:39 < dongs> my toolstick came in a nice plexiglas case 2012-07-28T11:07:41 < R0b0t1> yeah I'm pretty wary about anything where you *must* buy their programmer :) 2012-07-28T11:07:58 < dongs> you mean like stm8 + swim? 2012-07-28T11:08:04 < R0b0t1> dongs, pics if you get a chance because I've never actually seen a good one of those things 2012-07-28T11:08:18 < R0b0t1> dongs, yes. 2012-07-28T11:09:07 < dongs> but stm8 is rpetty good 2012-07-28T11:10:17 < dongs> http://i.imgur.com/V1ci8.jpg 2012-07-28T11:10:28 < R0b0t1> how shiny 2012-07-28T11:10:31 < R0b0t1> :3 2012-07-28T11:10:53 < R0b0t1> actually a nice looking thing, /me is surprised 2012-07-28T11:11:53 < dongs> well lol 2012-07-28T11:11:54 < dongs> its not powering up 2012-07-28T11:11:56 < dongs> just tried it 2012-07-28T11:12:03 < dongs> i guess i need to short some pins inside 2012-07-28T11:12:09 < dongs> to make it think its plugged into stuff. 2012-07-28T11:12:53 < zippe> dongs: be careful with the cygnal stuff 2012-07-28T11:13:00 < zippe> There's 5v on the programming cable 2012-07-28T11:13:07 < zippe> But the parts are 3.3v 2012-07-28T11:13:13 < zippe> Getting it wrong is smoky 2012-07-28T11:13:21 < dongs> cool 2012-07-28T11:13:23 < zippe> Also, if you need a bootloader, go rip off mine. 2012-07-28T11:13:42 < zippe> https://github.com/MikeSmith/SiK 2012-07-28T11:14:00 < dongs> what is that thing 2012-07-28T11:14:05 < zippe> What is what? 2012-07-28T11:14:08 < dongs> your proj 2012-07-28T11:14:16 < dongs> oh 2012-07-28T11:14:18 < dongs> didnt scroll down 2012-07-28T11:15:05 < zippe> I got the basics working; Tridge and co made the air protocol not suck 2012-07-28T11:15:06 < dongs> hmm 2012-07-28T11:15:11 < dongs> i just got toolstick and not debug adapter. 2012-07-28T11:15:18 < dongs> surely debug adapter is just some level shifters and shit? 2012-07-28T11:15:27 < dongs> the clk/dat stuff is available on stoolstick pins? 2012-07-28T11:15:40 < zippe> Honestly, no idea. Toolstick was not interesting to me 2012-07-28T11:15:54 < dongs> how did y ou program shits then 2012-07-28T11:16:01 < zippe> I have an EC3 clone 2012-07-28T11:16:16 < zippe> HopeRF sold me one for $30 when I bought a bunch of RF modules from them 2012-07-28T11:16:23 < zippe> Waveshare sell them for $40 2012-07-28T11:16:43 < zippe> Or you can get a real EC3 from SiLabs via digikey for a bit less 2012-07-28T11:17:09 < dongs> google is not helping 2012-07-28T11:17:10 < zippe> Which toolstick do you have? 2012-07-28T11:17:13 < dongs> since ec3 is apparntly some adadong shit 2012-07-28T11:17:17 < dongs> the one whose pic i just posted 2012-07-28T11:17:18 < zippe> http://www.silabs.com/products/mcu/Pages/ToolStick.aspx 2012-07-28T11:17:24 < dongs> http://i.imgur.com/V1ci8.jpg 2012-07-28T11:17:34 < zippe> Oh, right 2012-07-28T11:17:43 < zippe> The connector on the end can be used for programming 2012-07-28T11:17:48 < zippe> You just need a cable 2012-07-28T11:17:55 < dongs> right. however I need to short something first 2012-07-28T11:18:00 < dongs> as its not even getting detected by usb 2012-07-28T11:18:10 < dongs> i see a fat 5v trace going towards the connector 2012-07-28T11:18:13 < zippe> http://www.silabs.com/products/mcu/Pages/USBDebug.aspx 2012-07-28T11:18:16 < zippe> That is the EC3 2012-07-28T11:21:30 < zippe> Did you install the toolstick software? 2012-07-28T11:21:41 < dongs> no 2012-07-28T11:21:56 < dongs> its not even beeping USB connect. i dont think thats intended 2012-07-28T11:23:41 < zippe> Yeah, sounds like a dud 2012-07-28T11:23:46 < dongs> really? 2012-07-28T11:23:54 < dongs> sure its not just because something isnt plugged into it? 2012-07-28T11:23:57 * dongs gets schematic 2012-07-28T11:24:10 < zippe> It should show up on USB even if there's no target connected 2012-07-28T11:24:22 < zippe> It's powered off vbus as far as I could tell 2012-07-28T11:25:17 < zippe> Yeah, the F326 internal regulator 2012-07-28T11:25:26 < dongs> https://www.silabs.com/Support%20Documents/TechnicalDocs/ToolStick_BaseAdapter_UG.pdf 2012-07-28T11:25:44 < dongs> hmm fuck. 2012-07-28T11:25:54 < dongs> so i got a dead one? lawl. 2012-07-28T11:26:02 < dongs> its not working wiht their own usb extension cable eihter 2012-07-28T11:26:07 < dongs> looks ike digikey is sending me a replacement 2012-07-28T11:26:18 < dongs> its deader than *BSD 2012-07-28T11:26:45 < zippe> Yeah, VDD is an output on the '326 2012-07-28T11:26:49 < dongs> right 2012-07-28T11:26:59 < dongs> i dont see anythign funny going on in the connector 2012-07-28T11:27:16 < zippe> Are you getting 3v3 on VDD? 2012-07-28T11:27:22 < dongs> havent opened it up. 2012-07-28T11:27:29 < zippe> It's on the connector 2012-07-28T11:28:04 < zippe> Anyway, unless you have the toolstick daughter cards, get the USB programmer instead. 8) 2012-07-28T11:30:31 < R0b0t1> dongs: debug adapter is for in-circuit debug iirc 2012-07-28T11:32:58 < R0b0t1> I think I saw someone that had done it from the toolstick successfully before 2012-07-28T11:33:10 < R0b0t1> if you check there is a schematic for a test daughterboard 2012-07-28T11:33:16 < R0b0t1> if you don't know the pinout it might tell you 2012-07-28T11:34:25 < R0b0t1> https://www.silabs.com/Support%20Documents/Software/ToolStickDCTemplate.zip 2012-07-28T11:34:38 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 272 seconds] 2012-07-28T11:50:28 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 272 seconds] 2012-07-28T12:00:35 < cjbaird> bloggity blog blog: http://i.imgur.com/xlyOG.jpg (Eurocard subrack) 2012-07-28T12:01:20 < dongs> would look even less useful if each of those cards was a lunix sbc 2012-07-28T12:03:14 < cjbaird> You will be sodomized by a gang of MultibusII cards if you keep saying that. 2012-07-28T12:04:50 < cjbaird> I checked how much one of those subracks would be to buy new-- I gots my monies worth with that Whiskey... 2012-07-28T12:08:00 < R0b0t1> cjbaird, looks like a toaster oven. 2012-07-28T12:10:08 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-28T12:11:19 < cjbaird> Greenie Solar power computer cluster housing. Mostly RaspberryPis. 2012-07-28T12:12:55 < cjbaird> Personal project. But I know one or two people up in Nimbin (seriously..) who'd be keen on the same thing. 2012-07-28T12:16:43 < zippe> The greenies are OK with the amount of energy it takes to manufacture a Pi? 2012-07-28T12:17:16 < zippe> Or just blind as usual? 2012-07-28T12:18:24 < dongs> haha 2012-07-28T12:21:41 < cjbaird> Sheet steel and aluminium is the big carbon-nasty for most consumer products. I forget the figures for what it takes to make a car.. 2012-07-28T12:22:47 < zippe> Silicon wafers, dude 2012-07-28T12:22:58 < zippe> Nasty chemicals, lots of water, inordinate amounts of power 2012-07-28T12:24:30 < cjbaird> I expect the "but you should leave a better future for your children!" argument fails on deaf ears for the members of this channel. :D 2012-07-28T12:25:21 < zippe> no children 2012-07-28T12:25:53 < Thorn> our children are made of silicon 2012-07-28T12:31:40 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 244 seconds] 2012-07-28T12:39:27 -!- claude is now known as Claude 2012-07-28T13:32:40 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-28T13:32:43 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-28T13:33:07 <+Steffanx> nu 2012-07-28T13:34:38 < dongs> no u 2012-07-28T13:34:42 <+Steffanx> Yes me 2012-07-28T13:34:52 < PaulFertser> cjbaird: hey :) if you have a proper UART and RPi handy you might want to try to verify if my observation that 8E1 mode is broken on RPi. 2012-07-28T13:35:33 <+Steffanx> PaulFertser uses 8E1? 2012-07-28T13:35:58 < cjbaird> PF: have you posted/mentioned this somewhere? 2012-07-28T13:36:03 < PaulFertser> Steffanx: STM32 ROM bootloader does 2012-07-28T13:36:16 < PaulFertser> cjbaird: no, only on this channel and in private talk with bootc. 2012-07-28T13:37:15 < PaulFertser> I've also did quite some digging code and the datasheets but couldn't find any obvious flaw in the pl011 uart driver. 2012-07-28T13:37:29 < cjbaird> (looking for level-converter..) 2012-07-28T13:40:25 < PaulFertser> The reason i'm asking is that i had problems trying to reflash stlink with stm32flash having connected it to my RPi. Once i used the UART on ac100 instead it all went smoothly. 2012-07-28T13:56:06 < cjbaird> PF: I'm getting good chracters with 8E1 @ 115200 using a Bus Pirate.. 2012-07-28T13:57:00 < zyp> good as in they actually have the parity bit? 2012-07-28T13:59:09 < cjbaird> Hmm, okay, trying it with 8O1 gets me some odd results (LF becoming cursor-up) 2012-07-28T13:59:57 < cjbaird> "123" -> "12³ 2012-07-28T14:02:49 < cjbaird> That might have been a one-off 2012-07-28T14:10:01 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-28T14:40:43 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-28T15:09:30 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-28T15:24:06 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-28T15:34:38 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-28T15:47:30 <+Steffanx> welcome Laurenceb_ 2012-07-28T17:05:41 < Laurenceb_> hi 2012-07-28T17:05:48 * Laurenceb_ is reading energy micro datasheets 2012-07-28T17:06:07 < Laurenceb_> looks nice, i like the crazy low power with ram backed up, and the qfn24 package 2012-07-28T17:06:12 < Laurenceb_> pity its a bit slow 2012-07-28T17:06:30 <+Steffanx> You requested them? 2012-07-28T17:06:30 < Laurenceb_> the opamp noise makes absolutely zero sense tho 2012-07-28T17:06:38 < Laurenceb_> no - the cortex datasheets 2012-07-28T17:06:46 < Laurenceb_> not the awesome radio kit 2012-07-28T17:07:20 < Laurenceb_> 100fV/sqrt(Hz) at 10KHz opamp noise 2012-07-28T17:07:26 < Laurenceb_> no way thats possible 2012-07-28T17:09:55 <+Steffanx> Datasheets never lie :) 2012-07-28T17:20:02 < Laurenceb_> i think they are out by 10^3 2012-07-28T17:20:08 < Laurenceb_> nano should be micro 2012-07-28T17:27:45 < Laurenceb_> its about half the current draw/performance of F1 2012-07-28T17:36:19 < dongs> http://i.imgur.com/eDQys.jpg 2012-07-28T17:36:22 < dongs> hobbydong QC fail 2012-07-28T17:37:36 <+Steffanx> I see China quality .. what's wrong? 2012-07-28T17:38:01 < dongs> Steffanx: note which part of capacitor goes to + wire 2012-07-28T17:38:15 <+Steffanx> Oh, LOL 2012-07-28T17:38:49 < zyp> :D 2012-07-28T17:38:54 <+Steffanx> Or the other one is wrong 2012-07-28T17:39:02 <+Steffanx> :P 2012-07-28T17:39:02 < dongs> no, that was one of 32 2012-07-28T17:54:44 < dongs> attn Laurenceb_ http://narf-archive.com/pix/fa135b409b67d5087c34e9eb4f607e940161f1c0.jpg probably the most you'll ever see of a female creature 2012-07-28T18:07:11 <+Steffanx> dongs doesn't know about the other websites? 2012-07-28T18:07:24 < dongs> wat 2012-07-28T18:08:16 <+Steffanx> The websites that show at least both boobies 2012-07-28T18:09:07 < zyp> Steffanx, you better tell him about them 2012-07-28T18:09:46 <+Steffanx> No, as ex-GNAA president he needs other websites :P 2012-07-28T18:30:29 < Oldboy> dongs is GNAA ? 2012-07-28T18:31:05 < dongs> you must be new here 2012-07-28T18:31:29 < Oldboy> my nick says otherwise 2012-07-28T18:31:41 < dongs> right. 2012-07-28T18:39:02 < Oldboy> what did Steffanx just do ? was that a wallops or something likethat ? 2012-07-28T18:39:19 < dongs> wat 2012-07-28T18:39:27 < dongs> i saw nothing of hte sort 2012-07-28T18:39:36 < dongs> did he /notice you some top-secret information? 2012-07-28T18:39:58 < dongs> oh, i got it too. 2012-07-28T18:40:03 < Oldboy> why should I tell you ? 2012-07-28T18:40:30 < Oldboy> you don't say! 2012-07-28T18:40:47 <+Steffanx> I just noticed him some secret info, because i was too lazy to 'private message' him :) 2012-07-28T18:40:49 < Oldboy> are furries allowed in GNAA ? 2012-07-28T18:40:53 < dongs> no 2012-07-28T19:09:35 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-28T19:13:44 < Laurenceb_> thats at the olympics? 2012-07-28T19:14:11 < dongs> im gonna go through all the lolympics HD recordings and get to that scene... 2012-07-28T19:14:49 < Laurenceb_> rofl 2012-07-28T19:14:53 < Laurenceb_> http://i.imgur.com/TVUgi.png 2012-07-28T19:15:01 < Laurenceb_> my favourite scene 2012-07-28T19:15:07 < dongs> are those cameras? 2012-07-28T19:15:26 < Laurenceb_> its #highaltitude making an appearance 2012-07-28T19:15:32 < dongs> haha 2012-07-28T19:15:36 < dongs> over trollympics? 2012-07-28T19:15:47 < Laurenceb_> they were invited 2012-07-28T19:15:48 < Laurenceb_> yes 2012-07-28T19:16:15 < dongs> im surprised you can still irc 2012-07-28T19:16:22 < dongs> unless they let you irc from jail 2012-07-28T19:19:07 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-28T19:20:03 < Laurenceb_> erm they were invited 2012-07-28T19:20:22 < Laurenceb_> ioc invited them to opening ceremony 2012-07-28T19:22:06 < Laurenceb_> http://i.imgur.com/99UKP.png 2012-07-28T19:22:22 < dongs> ha 2012-07-28T19:24:31 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-28T19:30:51 <+Steffanx> Laurenceb_ you should watch Leryn Franco too.. Paraguayan model and athlete :D 2012-07-28T19:33:35 -!- qyx_ [~qyx@krtko.org] has joined ##stm32 2012-07-28T19:41:17 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-28T20:11:06 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-28T20:30:18 -!- Claude is now known as claude 2012-07-28T21:10:20 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 246 seconds] 2012-07-28T21:12:11 -!- tavish [~tavish@120.56.142.96] has joined ##stm32 2012-07-28T21:12:11 -!- tavish [~tavish@120.56.142.96] has quit [Changing host] 2012-07-28T21:12:11 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-28T21:35:47 -!- phantoneD is now known as phantoxeD 2012-07-28T22:25:42 -!- tavish [~tavish@unaffiliated/tavish] has quit [Ping timeout: 272 seconds] 2012-07-28T22:28:18 -!- ossifrage [~ossifrage@c-71-224-69-0.hsd1.pa.comcast.net] has quit [Ping timeout: 264 seconds] 2012-07-28T22:44:41 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-28T22:44:43 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-28T23:02:31 < zippe> Hmm, so Lua is about 170k in my build. 2012-07-28T23:15:45 -!- qyx_ [~qyx@krtko.org] has quit [Read error: Connection reset by peer] 2012-07-28T23:26:51 -!- qyx_ [~qyx@krtko.org] has joined ##stm32 --- Day changed Sun Jul 29 2012 2012-07-29T00:19:54 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-29T00:21:25 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-29T00:23:34 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 252 seconds] 2012-07-29T00:37:55 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-29T00:51:02 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-29T00:54:06 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 255 seconds] 2012-07-29T01:07:06 -!- peabody124 [~peabody12@128.249.96.123] has joined ##stm32 2012-07-29T01:27:47 -!- peabody124 [~peabody12@128.249.96.123] has quit [Read error: Connection reset by peer] 2012-07-29T01:28:08 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-29T02:20:03 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2012-07-29T02:33:50 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2012-07-29T02:34:18 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-29T02:34:21 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-29T02:38:39 -!- emeb [~ericb@75-171-70-66.phnx.qwest.net] has joined ##stm32 2012-07-29T02:40:21 < emeb> playing around with compiling for the stm32f0. Lack of a hw divide means that the aeabi_div library funcs get linked in which means I can no longer use -nostartupfiles. 2012-07-29T02:45:34 < zyp> is there a point in using -nostartupfiles in the first place? 2012-07-29T02:57:11 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Quit: Life is too short] 2012-07-29T02:59:27 -!- Vutral [ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-29T03:19:26 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 250 seconds] 2012-07-29T03:27:43 < R0b0t1> stm32f0 doesn't have hardware divide? really? 2012-07-29T03:28:12 < R0b0t1> zyp: The library it comes from might require initialization routines for some reason or other 2012-07-29T03:28:32 < zyp> F0 is based on M0 which doesn't have hardware divide 2012-07-29T03:29:24 < dongs> sup trolls/trollees 2012-07-29T03:30:40 < R0b0t1> I AM R0b0t1 AND I AM AWESOME AAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHH 2012-07-29T03:30:56 < zyp> hmm, I see M0 supports two different hardware multipliers, is the one in F0 single-cycle or 32-cycle? 2012-07-29T03:32:51 < zyp> single-cycle. 2012-07-29T03:39:18 < zippe> emeb: you mean -nostartfiles 2012-07-29T03:39:34 < zippe> emeb: It's quite easy to ask gcc for the path to libgcc.a and then pass it that explicitly 2012-07-29T03:40:23 < zippe> emeb: LIBGCC := ${shell $(CC) $(CFLAGS) -print-file-name=libm.a} 2012-07-29T03:57:46 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 2012-07-29T04:01:53 < emeb> zippe: yeah 2012-07-29T04:04:52 < emeb> zippe: you've confused me - what good is it to give the lib explicitly? 2012-07-29T04:06:52 < zippe> emeb: if you specify -nostartfiles -nodefaultlibs, then gcc won't link with libgcc.a 2012-07-29T04:07:07 < emeb> right 2012-07-29T04:07:16 < zippe> If you still need the functions from libgcc.a, you can use that technique to get it back manually 2012-07-29T04:07:41 < emeb> makes sense. And perhaps those don't need intialization? 2012-07-29T04:09:16 < zippe> "don't need initialisation"? 2012-07-29T04:11:00 < emeb> yes - the reason for the startfile is to run the lib init routine. but if the funcs I need from the lib don't need the init process... 2012-07-29T04:12:39 < zippe> No, that's not what the startfile does 2012-07-29T04:14:22 < emeb> OK. Well, the startup_stm32f0xx.c from ST invokes the libgcc _init function. I'd have to rewrite/modify that to go completely independent. 2012-07-29T04:17:14 < zippe> I think you're a bit confused here. 2012-07-29T04:17:36 < emeb> probably. 2012-07-29T04:17:36 < zippe> -nostartfiles prevents the compiler from prefixing the default crt0.o 2012-07-29T04:18:12 < zyp> is there even a default crt0 in arm-none-eabi toolchains? 2012-07-29T04:18:34 * emeb wonders too 2012-07-29T04:19:03 < dongs> sometimes i wish I had compiler problems like you guys are having 2012-07-29T04:19:26 < zippe> There are many 2012-07-29T04:19:26 < dongs> so i could spend all day figuring out what --full-of-crap command to pass to gcc 2012-07-29T04:19:44 < zippe> e.g. /usr/local/Cellar/gcc-arm-none-eabi/4.6-2012q1/arm-none-eabi/lib/armv6-m/crt0.o 2012-07-29T04:19:58 < R0b0t1> -funroll-loops 2012-07-29T04:20:02 < R0b0t1> funrollin' 2012-07-29T04:20:12 < dongs> funtrollin. 2012-07-29T04:20:39 < emeb> dongs: what do you use? 2012-07-29T04:21:16 < zyp> zippe, right, my toolchain ships without 2012-07-29T04:21:28 < zyp> as in yagarto 2012-07-29T04:21:50 < dongs> free as in lolwat 2012-07-29T04:27:41 < zippe> dongs: with great power comes people that should be in the slow lane 2012-07-29T04:55:16 -!- emeb [~ericb@75-171-70-66.phnx.qwest.net] has left ##stm32 [] 2012-07-29T04:57:25 -!- peabody124 [~peabody12@128.249.96.21] has quit [Quit: peabody124] 2012-07-29T05:16:19 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-29T05:16:25 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-29T05:38:35 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-29T06:17:20 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-29T06:20:19 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-29T06:34:25 < zippe> Heh, yay. Prelinked objects behaving like .so's 2012-07-29T08:00:18 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Excess Flood] 2012-07-29T08:01:48 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-29T08:14:46 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-29T08:54:14 -!- claude is now known as Claude 2012-07-29T09:11:18 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-29T09:23:45 -!- Claude is now known as claude 2012-07-29T09:26:56 -!- claude is now known as Claude 2012-07-29T09:56:41 -!- tech2077 [~tech2077@adsl-75-53-138-202.dsl.hstntx.sbcglobal.net] has joined ##stm32 2012-07-29T10:18:59 < dongs> 8.88us/bit what baudrate is taht 2012-07-29T10:24:20 < PaulFertser> cjbaird: hey :) 2012-07-29T10:25:14 < PaulFertser> cjbaird: i forgot to tell you that the rpi uart test should be done bi-directionally. Because if the other side (e.g. buspirate) ignores parity errors, you won't notice anything wrong. 2012-07-29T10:26:05 < PaulFertser> When i configured blackmagicprobe's acm1 uart to use parity, rpi stopped receiving about every second character. 2012-07-29T10:26:34 < zippe> dongs: "your clock is wrong" 2012-07-29T10:26:41 < dongs> its not my clock :( 2012-07-29T10:26:44 < dongs> im receiving 2012-07-29T10:26:49 < dongs> .. it used to work.. 2012-07-29T10:26:55 < zippe> 8.68 is 1152 2012-07-29T10:27:03 < dongs> 115200? 2012-07-29T10:27:07 < zippe> yes 2012-07-29T10:27:22 < zippe> % expr 1 / 0.00000888 2012-07-29T10:27:22 < zippe> 112612.61261261262 2012-07-29T10:29:35 < zippe> I'm guessing you have an 8MHz timebase? 2012-07-29T10:29:43 < zippe> Or rather, the sender does? 2012-07-29T10:30:35 < dongs> what the hell 2012-07-29T10:30:42 < dongs> i pulled uart and im still getting shit in uart dma buffer 2012-07-29T10:30:47 < dongs> same noise as if it wasnt plugged in 2012-07-29T10:30:56 < dongs> so i think the problem is elsewehre. 2012-07-29T10:30:58 < zippe> Do you have pullups configured on the uart pins? 2012-07-29T10:31:19 < dongs> RX is Mode_IPU 2012-07-29T10:31:28 < dongs> TX is AF_PP 2012-07-29T10:32:08 < zippe> Seems reasonabl 2012-07-29T10:32:19 < zippe> Doesn't your IDE fix things like this automagically? 2012-07-29T10:32:23 < dongs> hehe 2012-07-29T10:32:43 < zippe> Or can't you sit on hold with a call center somewhere? 2012-07-29T10:33:07 < dongs> i wonder if its because im using up dma channels 3/5/6/7 2012-07-29T10:39:43 < dongs> helps to actually enable uart. 2012-07-29T11:03:49 -!- Thorn [~Thorn@unaffiliated/thorn] has quit [Ping timeout: 272 seconds] 2012-07-29T13:02:37 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-29T13:24:14 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-29T14:42:01 < cjbaird> (fell asleep..) PaulFertser: I was trying for that, and it would seem that BP doesn't do things properly in spite of the configuration.. 2012-07-29T14:46:47 < zyp> would be more sensible to check the lines with a logic analyzer to verify that the frames actually contain parity bits 2012-07-29T14:47:14 < PaulFertser> cjbaird: oh nice, thanks for confirming that. btw, do you recompile the kernel yourself usually? If you want, i can tell you how to add additional debugging info to the driver. 2012-07-29T14:47:46 < PaulFertser> zyp: will do that probably tomorrow with a scope. 2012-07-29T14:48:34 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-29T14:51:04 < cjbaird> PaulFertser: Yep, I've managed that (after several attempts.. I happened to start trying that when the SD card code as a bit flakey) 2012-07-29T14:55:32 < PaulFertser> cjbaird: well, if you feel adventureous ;) you can add printk(KERN_INFO "Applying lcr_h=%08x\n", lcr_h); to the end of the pl011_set_termios() in drivers/tty/serial/amba-pl011.c. 2012-07-29T15:37:56 < dongs> status 2012-07-29T15:38:19 < Laurenceb_> raging 2012-07-29T15:38:25 < dongs> nothing new here. 2012-07-29T15:38:29 < Laurenceb_> need to stick silicone to pvc 2012-07-29T15:38:54 < Laurenceb_> this is going horribly wrong 2012-07-29T15:40:23 < Laurenceb_> pvc plasticiser is poisoning my silicone catalyst 2012-07-29T15:40:57 < Laurenceb_> rsulting in a big gooey mess 2012-07-29T15:41:47 < dongs> Laurenceb_: what do i do with gps coords 2012-07-29T15:41:57 < dongs> like 13040.54 lon 2012-07-29T15:42:02 < dongs> its 130deg, 40min, 54sec? 2012-07-29T15:42:15 < dongs> but do i need to separate 130+40 for anytghing otehr htan display? 2012-07-29T15:45:06 < Laurenceb_> huh 2012-07-29T15:45:11 < Laurenceb_> what do you mean? 2012-07-29T15:45:20 < Laurenceb_> thats correct format i think 2012-07-29T15:45:26 < Laurenceb_> but use ubx dude :P 2012-07-29T15:45:30 < dongs> heh 2012-07-29T15:45:42 < dongs> yeah, I will when i have an actual ubx shiz. 2012-07-29T15:45:46 < dongs> need to email some chinks 2012-07-29T15:45:57 < dongs> but i mean,, when I have the coordinate in this format, say i pass it to distance claculation or so 2012-07-29T15:46:13 < dongs> do i need to do anything else wiht it to separate 130 and 40? or just go as-is 2012-07-29T15:46:34 < Laurenceb_> hmm 2012-07-29T15:46:42 < Laurenceb_> i think its zero padded 2012-07-29T15:46:48 < Laurenceb_> so 1 degree would be 001 2012-07-29T15:47:07 < Laurenceb_> so just grab based on comma positions 2012-07-29T15:47:09 < dongs> 13040.54 < its 130deg40min.54fractionalmin 2012-07-29T15:47:15 < dongs> well, im getting it as float 2012-07-29T15:47:24 < dongs> yes its zero padded 2012-07-29T15:57:17 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-29T16:02:38 < dongs> i think i need to do this 13040.54 shit to decimal degrees first 2012-07-29T16:02:40 < dongs> ynm? 2012-07-29T16:11:38 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-29T16:48:06 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-29T17:02:37 -!- tavish [~tavish@120.59.132.100] has joined ##stm32 2012-07-29T17:02:37 -!- tavish [~tavish@120.59.132.100] has quit [Changing host] 2012-07-29T17:02:37 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-29T17:14:50 -!- grummund [~user@unaffiliated/grummund] has quit [Ping timeout: 252 seconds] 2012-07-29T17:20:31 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-29T17:55:42 -!- izua [~izua@188.26.165.104] has joined ##stm32 2012-07-29T17:55:43 -!- izua [~izua@188.26.165.104] has quit [Changing host] 2012-07-29T17:55:43 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-29T17:55:46 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-29T18:23:20 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 272 seconds] 2012-07-29T18:26:12 -!- izua [~izua@188.26.165.104] has joined ##stm32 2012-07-29T18:26:13 -!- izua [~izua@188.26.165.104] has quit [Changing host] 2012-07-29T18:26:13 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-29T18:26:15 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-29T19:47:23 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-29T19:53:21 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-29T19:53:22 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-29T20:00:17 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-29T20:06:42 -!- izua_ [~izua@188.26.165.104] has joined ##stm32 2012-07-29T20:06:43 -!- izua_ [~izua@188.26.165.104] has quit [Changing host] 2012-07-29T20:06:43 -!- izua_ [~izua@unaffiliated/izua] has joined ##stm32 2012-07-29T20:06:46 -!- mode/##stm32 [+v izua_] by ChanServ 2012-07-29T20:07:43 -!- izua [~izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-29T20:12:35 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-29T20:12:54 -!- izua_ [~izua@unaffiliated/izua] has quit [Ping timeout: 272 seconds] 2012-07-29T20:23:31 -!- peabody124 [~peabody12@c-98-201-178-227.hsd1.tx.comcast.net] has joined ##stm32 2012-07-29T20:26:34 -!- PaulFertser [paul@paulfertser.info] has quit [Ping timeout: 246 seconds] 2012-07-29T20:27:15 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-29T20:33:46 -!- PaulFertser [paul@paulfertser.info] has joined ##stm32 2012-07-29T20:59:40 -!- erik-k [~erik-k@63-155-132-22.eugn.qwest.net] has quit [Read error: Operation timed out] 2012-07-29T21:01:10 -!- erik-k [~erik-k@63-155-170-128.eugn.qwest.net] has joined ##stm32 2012-07-29T21:11:46 -!- peabody124 [~peabody12@c-98-201-178-227.hsd1.tx.comcast.net] has quit [Quit: peabody124] 2012-07-29T21:21:55 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-29T21:59:15 -!- mrcan_ is now known as mrcan 2012-07-29T22:07:38 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-29T22:30:09 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-29T22:38:22 -!- izua [izua@2a02:2f01:1016:2258:14d0:f685:b12c:c6e2] has joined ##stm32 2012-07-29T22:38:23 -!- izua [izua@2a02:2f01:1016:2258:14d0:f685:b12c:c6e2] has quit [Changing host] 2012-07-29T22:38:23 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-29T22:38:24 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-29T22:52:17 -!- Claude is now known as claude 2012-07-29T23:03:09 -!- upgrdman [~upgrdman@71-92-67-48.static.mtpk.ca.charter.com] has joined ##stm32 2012-07-29T23:03:09 -!- upgrdman [~upgrdman@71-92-67-48.static.mtpk.ca.charter.com] has quit [Changing host] 2012-07-29T23:03:09 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has joined ##stm32 2012-07-29T23:46:24 -!- Ranzbak [~paul@wcrol.xs4all.nl] has joined ##stm32 2012-07-29T23:52:39 < Ranzbak> Hi, I'm trying to remap the TIM3 PWM output to port pc6-9 under Chibios.. but AFIO->RMAP=0x00000C00; does not seem to de the trick 2012-07-29T23:52:46 < Ranzbak> Any hints? 2012-07-29T23:56:50 <+izua> you want MAPR 2012-07-29T23:59:06 <+Steffanx> chibios has no built-in functions for something like that? --- Day changed Mon Jul 30 2012 2012-07-30T00:00:32 <+Steffanx> hmm, guess not 2012-07-30T00:02:28 <+izua> i guess it's not something that common 2012-07-30T00:07:11 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-30T00:07:24 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has left ##stm32 [] 2012-07-30T00:16:47 < Ranzbak> I'm using 2 UARTS, SPI and i2C .. so getting 4 PWM channels on one timer is a challenge. 2012-07-30T00:22:39 < Ranzbak> Steffanx: I asked the same question in the #chibios channel, according to them there is no function in Chibios te remap pins. 2012-07-30T00:24:18 < Ranzbak> izua: It's not common, but I kinda need it, and the datasheet suggests it's possible, so do want 2012-07-30T00:25:26 <+izua> i had some issues remapping timer 3 some time ago on a bare metal library 2012-07-30T00:25:34 <+izua> i think i solved it by enabling the timer for the clock first 2012-07-30T00:25:39 <+izua> the clock for the timer, lol 2012-07-30T00:27:38 < Ranzbak> izua: I'm not sure if I can get the control over timer 3 since Chibios already controls the timers. 2012-07-30T00:28:05 <+izua> i'm not exactly sure what chibios does 2012-07-30T00:28:24 <+izua> i thought it was just some hardware abstraction stuff for generic peripherals on a wide range of mcus + real time stuff 2012-07-30T00:29:12 < karlp> it's an OS with some basic HAL. 2012-07-30T00:35:12 < Ranzbak> I'm trying to add the MAPR call to my board file now. 2012-07-30T00:41:44 < Ranzbak> No change.. 2012-07-30T00:42:53 < Ranzbak> Is it enough to set the output pins to alternate push pull in order to get the timer out, or do I need to set extra registers in order to see PWM out on PORTC 6-9 ? 2012-07-30T00:48:56 <+izua> Ranzbak: http://codepad.org/IzuRKH1U 2012-07-30T00:49:05 <+izua> so yeah, it was t2 instead. 2012-07-30T00:49:36 <+Steffanx> Have the afio clock enabled Ranzbak ? 2012-07-30T00:49:57 <+izua> what i did was: enable timer, enable pins' clock, set as alternate push pull, then remap 2012-07-30T00:50:01 <+izua> also what Steffanx said. 2012-07-30T00:50:29 < Ranzbak> Steffanx: Okay, Ill try that tomorrow, have to sleep now, early day for me tomorrow. 2012-07-30T00:50:35 <+Steffanx> Slaapwel :) 2012-07-30T00:50:43 < Ranzbak> Thanx for the help, I'll try that tomorrow ! 2012-07-30T00:50:48 < Ranzbak> Thanx guys! 2012-07-30T00:51:00 < Ranzbak> Steffanx: Slaap lekker :) 2012-07-30T00:51:32 < zippe> karlp: it's a thread scheduler with a basic HAL, not an OS 8) 2012-07-30T01:01:49 < zyp> then what makes an OS an OS? :p 2012-07-30T01:05:11 <+izua> being proprietary 2012-07-30T01:05:14 <+izua> *ducks* 2012-07-30T01:05:52 -!- bgamari [~bgamari@pool-72-79-233-102.spfdma.east.verizon.net] has quit [Ping timeout: 246 seconds] 2012-07-30T01:05:52 < zippe> zyp: Typically you would expect a range of services sufficient to abstract a substantial portion of the system 2012-07-30T01:06:20 < zippe> Much as a raw brussel sprout is not a salad, Chibi is not an operating system 2012-07-30T01:06:35 <+Steffanx> hmpf 2012-07-30T01:07:59 <+Steffanx> NEVER compare sprouts with anything again zippe 2012-07-30T01:14:09 < zippe> I'm sorry, I'll keep my hands off your vegetables 2012-07-30T01:23:58 < zyp> zippe, then where would you draw the line? 2012-07-30T01:30:45 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 244 seconds] 2012-07-30T01:31:52 < zippe> zyp: It's one of those "I'll know it when I see it" things 2012-07-30T01:32:26 < zippe> See above inre: the forbidden brassica 2012-07-30T01:32:41 < zippe> Is it salad if I scatter some chopped walnuts on it? 2012-07-30T01:32:49 < zippe> Or add some olive oil? 2012-07-30T01:33:07 < zippe> Perhaps a bit of Feta? 2012-07-30T01:33:19 < zippe> At some point it stops being "just a vegetable" 2012-07-30T01:33:33 < zippe> But you can argue all day about where it crosses the line 2012-07-30T01:33:45 < zippe> For me, it's a salad when I think I might enjoy eating it 2012-07-30T01:34:02 < zippe> And it's an operating system when I stop thinking about how much more work it will require just to build something trivial with it. 2012-07-30T01:42:15 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 272 seconds] 2012-07-30T01:53:28 < zyp> so, chibios is an OS if you enjoy using it? :) 2012-07-30T01:53:58 < zyp> … I'll stop 2012-07-30T01:54:45 < zyp> I'm not interested in arguing where it crosses the line, it's a waste of time 2012-07-30T01:55:20 < zyp> I just acknowledge that there are differing viewpoints and no clear cut answer 2012-07-30T02:17:43 < emeb> Anyone ever built a custom board with an STM32F405? 2012-07-30T02:18:09 < emeb> I'm bringing up a board with an 'F405 in the 64-pin pkg. Not getting 1.8V on Vcap. 2012-07-30T02:20:12 < emeb> err - make that 1.25V on Vcap 1 or 2. 2012-07-30T02:20:45 < emeb> I've got solid 3.3V on all the VDD pins, good VSS, Boot0 pulled low. Anything else? 2012-07-30T02:22:53 < zyp> I used F405 on the board I built 2012-07-30T02:23:22 < zyp> http://bin.jvnv.net/f/Kgy4D.png 2012-07-30T02:39:40 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-30T02:39:44 < emeb> Yep - that's pretty much what I've got. 2012-07-30T02:40:10 < zyp> broken part? only assembled one board? 2012-07-30T02:40:18 < emeb> Only 1 board so far. 2012-07-30T02:40:40 < emeb> I've got 2 parts, 4 boards so I can build up another to check if the 1st MCU was toast. 2012-07-30T02:42:20 < zyp> what have you tested so far? just measured vcap voltage, or have you tried communicating with the chip? 2012-07-30T02:42:36 < emeb> Hooked the chip up to SWD - it didn't see anything. 2012-07-30T02:43:08 < emeb> put the 'scope on all the VDD/VSS/Xtal/Vcap pins to see if there was anything odd (no) 2012-07-30T02:43:55 < emeb> checked continuity on all the pins to the board destinations. 2012-07-30T02:44:05 < emeb> probably should check for shorted pins. 2012-07-30T02:45:15 < zyp> shorted GPIOs shouldn't cause any problems, most are inputs at bootup 2012-07-30T02:45:34 < emeb> yep. 2012-07-30T02:46:01 < zyp> but yeah, sounds like a failed part 2012-07-30T02:46:20 < emeb> $11 *poof* 2012-07-30T02:46:32 < zyp> shit happens :) 2012-07-30T02:46:37 < emeb> truth 2012-07-30T02:46:56 < emeb> not a good hobby for the cheapskate. 2012-07-30T02:47:38 < zyp> I killed one of my boards with a voltage spike when I was testing it 2012-07-30T02:48:17 < emeb> It's good to know what killed it. The ones that die mysteriously are the really bothersome ones. 2012-07-30T02:49:00 < zyp> it's not good that it was less tolerant than I assumed it would be 2012-07-30T02:50:09 < zyp> and the entire board was $100 in parts or so :p 2012-07-30T02:50:21 < emeb> Meh. Was it just the MCU? 2012-07-30T02:50:37 < zyp> unsure 2012-07-30T02:50:55 < zyp> it burned a hole through the voltage regulator, so that was dead for sure 2012-07-30T02:51:11 < zyp> I replaced it, but something is still shorting out vcc 2012-07-30T02:51:15 < emeb> Yeow - that's something it won't come back from. 2012-07-30T02:51:26 < emeb> what kind of spike? 2012-07-30T02:51:53 < zyp> I imagine it's the F4 itself, I've heard of other cases of stm32 shorting out vcc after a failed vreg 2012-07-30T02:52:22 < zyp> I should try either replacing it or salvaging the rest of the parts, but I haven't bothered yet 2012-07-30T02:52:36 < zyp> I had parts for two more boards, so I just assembled them instead 2012-07-30T02:52:48 < emeb> At least pull the F4 off and see if the VCC short is still there. 2012-07-30T02:53:22 < zyp> yeah 2012-07-30T02:53:57 < zyp> but I'm in no hurry, I don't have replacements for the F4, and I have two other working boards 2012-07-30T02:54:17 < emeb> Good enough to make progress. 2012-07-30T02:54:44 < emeb> I should put in a DK order for some more parts tonight anyway. Get 'em by Weds/Thurs at least... 2012-07-30T02:55:08 < zyp> I'm probably adding replacements next time I'm ordering anything 2012-07-30T02:55:34 < emeb> Always good to have some spares. 2012-07-30T02:56:39 < zyp> yeah 2012-07-30T02:56:54 < zyp> by the way, what are you making? 2012-07-30T02:57:55 < emeb> http://ebrombaugh.studionebula.com/synth/stm32f4_codec/index.html 2012-07-30T02:58:04 < emeb> audio effects board 2012-07-30T02:58:42 < dongs> made with g(ay)EDA 2012-07-30T02:58:52 < emeb> works for me. 2012-07-30T02:59:28 < zyp> heh 2012-07-30T02:59:31 < zyp> Note: Footprint is compatible with other 64-pin QFP parts in the STM32F405/7 family for additional resources. 2012-07-30T03:00:04 < zyp> last time I checked, F405RG were the only 64-pin F4 2012-07-30T03:00:10 < emeb> that may or may not be meaningful - a lot of the text on that page is boilerplate. 2012-07-30T03:00:15 < zyp> :) 2012-07-30T03:00:16 < emeb> (from other STM32 projects) 2012-07-30T03:00:30 < dongs> zyp? there's 415 a nd 417 in 64pin, no? 2012-07-30T03:00:54 < zyp> oh, right, forgot about F415 2012-07-30T03:01:36 < zyp> then that makes the statement true :p 2012-07-30T03:02:16 < zyp> hmm, no 2012-07-30T03:02:28 < zyp> not when it says F405/7 :p 2012-07-30T03:02:56 < zyp> anyway, nothing to argue about 2012-07-30T03:03:49 < emeb> Yeah - should replace the 0 with a * - then it's all good. 2012-07-30T03:03:52 < dongs> bloggerplate 2012-07-30T03:04:12 < emeb> who you calling "blogger" :P 2012-07-30T03:49:15 < emeb> built up the other board - getting 1.25V on Vcap on this one. 2012-07-30T03:50:33 < dongs> is that good or bad 2012-07-30T03:53:20 < emeb> That's good - means the internal core regulator is working. 2012-07-30T03:53:46 < emeb> for some reason it's not working on the first board I built 2012-07-30T03:53:52 < dongs> i dont think ive ever even tested that on any of my f4 projects 2012-07-30T03:53:59 < dongs> i mean, if you follow the hardware design guide what is there to fuck up? 2012-07-30T03:54:17 < dongs> unless you soldered it wrong? 2012-07-30T03:54:29 < emeb> Beats me. This part seems to have been bad from word go. 2012-07-30T03:54:47 < emeb> Unless I damaged it while soldering & continuity testing... 2012-07-30T03:54:55 < dongs> is the dac on f4 f ast enough to do realtime audio? 2012-07-30T03:55:11 < emeb> I've done realtime audio with the dacs on an f100 2012-07-30T03:55:53 < emeb> they're slew-rate limited to about 100kHz, so it's not an issue for audio. 2012-07-30T03:58:09 < dongs> cool 2012-07-30T03:58:18 < dongs> too bad 48pin package doesnt have dac :( 2012-07-30T03:58:30 < emeb> which part in 48pin? 2012-07-30T03:58:30 < dongs> i wanted some audio announcements out of my osd 2012-07-30T03:58:38 < dongs> F103CxT 2012-07-30T03:58:53 < dongs> x = 8/B 2012-07-30T03:58:56 < emeb> Ah - a lot of those lower-end F10x parts don't have DACs 2012-07-30T03:59:07 < dongs> right 2012-07-30T03:59:12 < dongs> I think minimum is 64pin package 2012-07-30T03:59:19 < dongs> and 256k flash 2012-07-30T03:59:25 < emeb> The F100 and F051 48 pin parts do though. 2012-07-30T04:00:15 < emeb> This has an F100 in it running at 100kHz sample rate: http://www.analoguehaven.com/synthesistechnology/e355/ 2012-07-30T04:01:12 < dongs> ha 2012-07-30T04:01:14 < dongs> whats it sound like? 2012-07-30T04:02:55 < emeb> here's a soundcloud of someone using it for audio: http://www.muffwiggler.com/forum/viewtopic.php?t=64578 2012-07-30T04:02:57 < dongs> your proj? or youre cloning it 2012-07-30T04:03:09 < emeb> I did the digital design & firmware. 2012-07-30T04:03:51 < dongs> cool 2012-07-30T04:04:10 < emeb> w00t - stlink sees board #2. 2012-07-30T04:10:45 < zippe> dongs: pwm 2012-07-30T04:11:44 < dongs> zippe: then i need external shit 2012-07-30T04:11:54 < dongs> r/c etc 2012-07-30T04:12:24 < dongs> plus its not as neat as a dac 2012-07-30T04:12:28 < zippe> dongs: Just a lowpass, if you really care 2012-07-30T04:12:48 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has quit [Remote host closed the connection] 2012-07-30T04:13:00 < zippe> You should be able to do 8kHz PWM audio easily enough 2012-07-30T04:14:25 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has joined ##stm32 2012-07-30T04:14:25 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has joined ##stm32 2012-07-30T04:14:32 < dongs> ya think? 2012-07-30T04:15:52 < zippe> You have a DMA channel free? 2012-07-30T04:16:08 < dongs> i should, I only used spi/uart dma's so far.. ch5/6/7 2012-07-30T04:16:14 < dongs> http://code.google.com/p/earl-revisited/downloads/detail?name=an2812.zip&can=2&q= downloadin. 2012-07-30T04:18:29 < dongs> lol wtf 2012-07-30T04:18:32 < dongs> they're doing it with interrupts 2012-07-30T04:19:55 -!- Tom_L [~Tl@unaffiliated/toml/x-013812] has left ##stm32 [] 2012-07-30T04:37:59 < dongs> i wonder how much samples I can fit into 128k flash, and if I have to use speex i bet that shit would take up half the flash already being opensauce etc. 2012-07-30T04:38:36 < dongs> probably making the whole idea pointless 2012-07-30T04:39:17 < emeb> store it in an external huge spi flash? 2012-07-30T04:40:04 < zippe> When they said "do you want to spend the weekend making it build on windows", I should have drunk the bleach. 2012-07-30T04:40:37 < zippe> How do people use this crap on a daily basis without eating their legs? 2012-07-30T04:42:45 < dongs> which crap 2012-07-30T04:44:11 < dongs> windows development tools are absolutely the best 2012-07-30T04:46:08 < zippe> Let's start with "no, we won't let you resize your powershell window wide enough to read anything" 2012-07-30T04:46:22 < zippe> And "let's have a font medically certified to induce epilepsy" 2012-07-30T04:46:24 < dongs> .. powershell? 2012-07-30T04:46:34 < dongs> there's your problem, you're using lunix tools on windows. 2012-07-30T04:47:09 < zippe> There is no button in the IDE that says "let's create a symlink from here to there so the compiler can find shit" 2012-07-30T04:47:29 < dongs> symlink? seriously, comeon. 2012-07-30T04:47:42 < dongs> on a proper platform you gotta let go of all the lunix misconceptions. 2012-07-30T04:47:50 < zippe> Ok, so teach me oh wise one. 2012-07-30T04:47:55 < zippe> How do I permute a build? 2012-07-30T04:48:21 < dongs> duno, make a new build target in vstudio and change defines/whatever? 2012-07-30T04:48:34 < zippe> I have five hundred and change different ways I need to build this code. 2012-07-30T04:48:55 < zippe> Achieved by permuting six basic configuration variables 2012-07-30T04:49:15 < zippe> You're telling me I have to create five hundred build targets? 2012-07-30T04:49:29 < zippe> And that I can't use the filesystem to manage permutations? 2012-07-30T04:49:38 < dongs> shrugging 2012-07-30T04:49:49 < zippe> Yeah, so I'm going to go back to a system designed for building software 2012-07-30T04:50:04 < zippe> Someone can play Call of Duty or Minesweeper here. 2012-07-30T04:58:40 < dongs> youre a funny gui 2012-07-30T05:15:02 -!- [7] [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-30T05:15:08 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-30T05:23:27 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-30T05:41:15 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-30T05:48:15 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Quit: leaving] 2012-07-30T06:00:56 < cjbaird> ..removing the cladding from short lengths of Cat5 so they'll route inside the subrack easier 2012-07-30T06:03:20 -!- zippe [~Adium@173.11.99.161] has quit [Quit: Leaving.] 2012-07-30T06:12:50 < dongs> Not a question exaxtly, a request, could you use this to analyze the pokemon lavender town music from the origanal red and blue games and the origanal red and green japenese games,. 2012-07-30T06:49:22 -!- zippe [~Adium@173.11.99.161] has joined ##stm32 2012-07-30T07:10:56 < dongs> what do you tihnk is faster to zero out 12k of ram, memset or m2m dma? 2012-07-30T07:12:47 < emeb_mac> def m2m dma 2012-07-30T07:20:40 < dongs> ok, just wonderingf if overhead of setting that up is gonna be worth it 2012-07-30T07:20:43 < dongs> will give it a try in a bit then 2012-07-30T07:21:00 < dongs> though I guess once its setup its just a matter of 2 register writes 2012-07-30T07:21:08 < dongs> and then looping until its done 2012-07-30T07:25:20 < emeb_mac> or you can do something else instead of busy-waiting. if you've got something else to do... 2012-07-30T07:34:51 < dongs> no, i kinda need to make use of that buffer once its cleared 2012-07-30T07:35:02 < dongs> but it shouldnt take THAT long i suppose. 2012-07-30T07:35:05 < dongs> ill put a led blink and compare. 2012-07-30T07:35:09 < dongs> i hope its like 10x imprpovement. 2012-07-30T07:36:41 < dongs> i can use any channel for m2m? 2012-07-30T07:36:59 < dongs> so it seems 2012-07-30T07:46:32 < dongs> first try didnt quite work :) 2012-07-30T07:55:05 < dongs> huh 2012-07-30T07:55:08 < dongs> i dunno if its all that faster. 2012-07-30T07:55:13 < dongs> scope time. 2012-07-30T07:57:26 < dongs> ok 8us by DMA 2012-07-30T07:58:15 < dongs> wait no, wrong 2012-07-30T07:58:56 < dongs> 1.35ms by memset, 868us by DMA 2012-07-30T07:59:23 < dongs> am i getting trolled? 2012-07-30T08:00:59 < zippe> dongs: which CPU? Probably memset 2012-07-30T08:01:07 < dongs> F103 @ 72mhz 2012-07-30T08:01:16 < zippe> Assuming your memset doesn't blow chunks 2012-07-30T08:01:17 < cjbaird> memset is using some single-cycle conditional write&postinc instruction? 2012-07-30T08:01:17 -!- claude is now known as Claude 2012-07-30T08:01:25 < dongs> well, its my awesome compiler's memset 2012-07-30T08:01:33 < dongs> so it cant be bad! 2012-07-30T08:01:33 < dongs> :D 2012-07-30T08:01:54 < zippe> cjbaird: A good memset will be using store multiple 2012-07-30T08:02:05 < cjbaird> disassembly plz 2012-07-30T08:02:16 < dongs> hmm good idea 2012-07-30T08:02:17 < dongs> sec 2012-07-30T08:02:22 < cjbaird> There's also unrolling tricks like 'Duff's device' 2012-07-30T08:02:51 < zippe> dongs: theoretical max write bandwidth is 288MiB/sec 2012-07-30T08:02:57 < cjbaird> https://en.wikipedia.org/wiki/Duff%27s_device 2012-07-30T08:03:06 < dongs> __aeabi_memclr 2012-07-30T08:03:31 < zippe> about 42µs 2012-07-30T08:03:54 < dongs> zippe, surely im doing something wrong then? 2012-07-30T08:03:59 < dongs> 868us by dma 2012-07-30T08:04:01 < zippe> dongs: probable 2012-07-30T08:04:05 < dongs> to clear 408/8*200 buffer 2012-07-30T08:04:13 < dongs> 10200 bytes 2012-07-30T08:04:50 < dongs> ok eabi_memclr goes to __aeabi_memset 2012-07-30T08:05:32 < dongs> http://bcas.tv/paste/results/AaOnwV35.html 2012-07-30T08:05:33 < dongs> wat 2012-07-30T08:06:32 < dongs> http://bcas.tv/paste/results/M8V7yu76.html 2012-07-30T08:07:12 < dongs> i can try padding and 32bit. 2012-07-30T08:08:27 < zippe> dongs: Whose libc? 2012-07-30T08:08:27 < dongs> no change. 2012-07-30T08:08:33 < zippe> just ask your debugger to disassemble it 2012-07-30T08:08:33 < dongs> zippe, armcc 2012-07-30T08:08:35 < dongs> microlib. 2012-07-30T08:08:41 < zippe> cjbaird: duff's device not useful for memset 2012-07-30T08:08:43 < dongs> i just did ^ that bcas is memset 2012-07-30T08:09:26 < zippe> ah, yes, retardset 2012-07-30T08:09:29 < zippe> That's 2012-07-30T08:10:01 < zippe> memset(p, v, len) { while (len—) *p++ = v; } 2012-07-30T08:10:29 < dongs> yes 2012-07-30T08:10:32 < zippe> three cycles plus branch delay per byte 2012-07-30T08:10:42 < dongs> why is DMA not much faster 2012-07-30T08:10:48 < dongs> this is pretty laem 2012-07-30T08:10:48 < zippe> setup overhead 2012-07-30T08:10:53 < dongs> of what? 2012-07-30T08:10:57 < zippe> You are calling the ST code 2012-07-30T08:11:02 < dongs> no im not 2012-07-30T08:11:12 < emeb_mac> direct reg writes? 2012-07-30T08:11:12 < dongs> http://bcas.tv/paste/results/M8V7yu76.html 2012-07-30T08:11:16 < dongs> rageMemset() 2012-07-30T08:11:24 < dongs> just donging the register directly 2012-07-30T08:11:27 < dongs> disable, set size, enable 2012-07-30T08:11:46 < dongs> DMA1_Channel1 is just memory typedef 2012-07-30T08:11:55 < emeb_mac> 12kbytes? 2012-07-30T08:11:58 < zippe> 868µs for 10k? 2012-07-30T08:12:00 < dongs> Init is only called once 2012-07-30T08:12:03 < dongs> 10200bytes 2012-07-30T08:12:04 < dongs> yes 2012-07-30T08:12:55 < emeb_mac> so 10k/4 words = ~2500 word accesses 2012-07-30T08:12:55 < zippe> 11MiB/sec 2012-07-30T08:13:06 < dongs> i changed to _WOrd for DMA 2012-07-30T08:13:09 < dongs> zero difference 2012-07-30T08:13:22 < emeb_mac> telling DMA to use 32bit accesses? 2012-07-30T08:13:22 < zippe> What APB clock? 2012-07-30T08:13:33 < dongs> default, so should be wither 72 or 36 2012-07-30T08:13:40 < dongs> is APB t he faster one? or AHB 2012-07-30T08:13:56 < dongs> one of them cant go > 36 i thought 2012-07-30T08:14:06 < zippe> Oh, you are going p2m 2012-07-30T08:14:11 < dongs> no im not? 2012-07-30T08:14:15 < emeb_mac> AHB is usually faster, but it is dependent on the clock setup 2012-07-30T08:14:38 < zippe> Sorry, misread, ok, byte m2m 2012-07-30T08:14:44 < dongs> yes 2012-07-30T08:14:51 < dongs> changed to word (32bit) m2m, no change at all 2012-07-30T08:14:55 < zippe> so at 36 you are maxed at 18MT/sec 2012-07-30T08:15:01 < emeb_mac> byte??!! 2012-07-30T08:15:04 < zippe> read/write 2012-07-30T08:15:16 < dongs> emeb_mac: made no difference byte or word 2012-07-30T08:15:21 < dongs> zaroo. nil. none. 2012-07-30T08:15:26 < emeb_mac> bizarre 2012-07-30T08:15:27 < dongs> exactly same timing. 2012-07-30T08:15:31 < zippe> dongs: you changed the count? 2012-07-30T08:15:48 < zippe> byte -> 32bit, count /= 4 ? 2012-07-30T08:15:54 < emeb_mac> derp 2012-07-30T08:16:25 < dongs> am I supposed to? i thought count isn't number of elements but physical buffer size in bytes 2012-07-30T08:16:25 < zippe> *crickets* 2012-07-30T08:16:32 * dongs reads 2012-07-30T08:16:42 < zippe> pretty sure it's number of xfers 2012-07-30T08:16:45 < emeb_mac> transfers 2012-07-30T08:17:01 < dongs> ok, number of transactions 2012-07-30T08:17:02 < dongs> lets fix that. 2012-07-30T08:17:13 < emeb_mac> whoops - it's 4x faster now... 2012-07-30T08:17:21 < zippe> Any DMA controller designer that lets me ask for a 3-byte transfer has a lot of logic to write 2012-07-30T08:17:45 < zippe> Heh, actually, that's part of one of my favorite interview questions 2012-07-30T08:17:50 < dongs> um 2012-07-30T08:17:52 < dongs> i did /4 2012-07-30T08:17:57 < dongs> and its only clearing 1/4 of hte screen. 2012-07-30T08:18:23 < emeb_mac> bump it up to 32 bit xfers? 2012-07-30T08:18:26 < dongs> already. 2012-07-30T08:18:36 < dongs> DMA_PeripheralDataSize_Word / etc 2012-07-30T08:19:04 < dongs> oh, oops 2012-07-30T08:19:08 < dongs> k clearing all good 2012-07-30T08:19:09 < dongs> lets see 2012-07-30T08:19:31 < dongs> 217us 2012-07-30T08:19:36 < emeb_mac> yay! 2012-07-30T08:20:19 < zippe> 47MiB/sec 2012-07-30T08:20:31 < zippe> Still 5x slower than the CPU should be 2012-07-30T08:20:57 < dongs> my PCLK1 is 36mhz 2012-07-30T08:21:23 < emeb_mac> 36 millihertz is slow. 2012-07-30T08:21:30 < zippe> So 72MiB/sec theoretical max assuming zero overhead 2012-07-30T08:21:39 < zippe> But APB:AHB bridging isn't free 2012-07-30T08:22:00 < zippe> What's the memory burst size set to? 2012-07-30T08:22:08 < dongs> where's that at? 2012-07-30T08:22:26 < zippe> MBURST 2012-07-30T08:22:29 < dongs> in DMA? 2012-07-30T08:22:32 < dongs> i dont think thats on F1 2012-07-30T08:22:37 < zippe> Oh, wait, sorry. 2012-07-30T08:23:12 < zippe> Yes, pooptastic APB DMA controller 2012-07-30T08:23:18 < zippe> You're about maxed out there sonny 2012-07-30T08:23:33 < dongs> Warning: the software has to set correctly these bits to not exceed 36 MHz on this domain. 2012-07-30T08:23:34 < zippe> Question is - do you have something else you can do for 200µs? 2012-07-30T08:23:40 < dongs> as I thought APB = 36mhz 2012-07-30T08:23:44 < zippe> if so, DMA is the win 2012-07-30T08:23:48 < dongs> Right 2012-07-30T08:23:57 < dongs> ill have to time some retarded task 2012-07-30T08:24:03 < dongs> and see if I can do it while thats happening 2012-07-30T08:24:25 < dongs> still 200us is better than 1.35ms :) 2012-07-30T08:24:41 < dongs> i wonder how long is vblank anyway 2012-07-30T08:24:44 < dongs> since thats where im working 2012-07-30T08:24:48 < zippe> what's that asstastic commercial library you're using? 2012-07-30T08:24:56 < dongs> zippe, armcc's microlib 2012-07-30T08:24:59 < dongs> as i said. 2012-07-30T08:26:53 < dongs> that is pretty shitty for memset :) 2012-07-30T08:29:33 < zippe> Hmm, I don't speak ARM's assembler dialet 2012-07-30T08:29:36 < zippe> er, dialect 2012-07-30T08:29:37 < zippe> but 2012-07-30T08:33:42 < dongs> but? 2012-07-30T08:34:14 < zippe> See what it makes of 2012-07-30T08:34:14 < zippe> void 2012-07-30T08:34:15 < zippe> zero_10200(void *p) 2012-07-30T08:34:15 < zippe> { 2012-07-30T08:34:15 < zippe> unsigned count = 1275; 2012-07-30T08:34:15 < zippe> unsigned long long z = 0; 2012-07-30T08:34:15 < zippe> unsigned long long *q = (unsigned long long *)p; 2012-07-30T08:34:16 < zippe> while (count--) 2012-07-30T08:34:17 < zippe> *q++ = z; 2012-07-30T08:34:17 < zippe> } 2012-07-30T08:35:06 < dongs> lets see 2012-07-30T08:35:28 < zippe> gcc with -Os gets 8 bytes in 3 cycles 2012-07-30T08:35:38 < zippe> Hmm, no, four 2012-07-30T08:35:46 < zippe> So should be around 100MiB/sec 2012-07-30T08:36:14 < dongs> 178us?! 2012-07-30T08:36:26 < dongs> with -O0 2012-07-30T08:36:53 < zippe> 57MiB/sec, it can go faster 2012-07-30T08:37:24 < dongs> 163us with -O3, lets see ewhat asm looks liek 2012-07-30T08:38:03 < dongs> http://bcas.tv/paste/results/pFCOdx42.html 2012-07-30T08:38:32 < dongs> well, i guess it doesnt matter since this one will block and ~200us one will run in background 2012-07-30T08:38:35 < dongs> so I will still keep the dma one 2012-07-30T08:39:14 < zippe> http://bcas.tv/paste/results/vzmh1O42.html 2012-07-30T08:39:36 < dongs> i __inlined it 2012-07-30T08:39:42 < dongs> so tehres not setup around mine 2012-07-30T08:39:49 < zippe> Yeah, won't make much difference 2012-07-30T08:40:00 < zippe> Yours looks like gcc optimising for size 2012-07-30T08:40:07 < zippe> The one I pasted is scheduling for throughput 2012-07-30T08:40:35 < zippe> Though the use-after-store dep on the loop counter compare looks like a fail 2012-07-30T08:41:02 < zippe> Oh, hah, I get it 2012-07-30T08:41:30 < jpa-> where is use-after-store? 2012-07-30T08:41:43 < zippe> adds r0, r0, #24 2012-07-30T08:41:44 < zippe> cmp r0, r4 2012-07-30T08:41:58 < jpa-> ah, in that one :) 2012-07-30T08:41:59 < zippe> I have to confess I'm not that deep on the M3 pipeline 2012-07-30T08:42:30 < zippe> But I would have been inclined to issue the two writes before it in the opposite order 2012-07-30T08:42:51 < zippe> with the one that's first between the add to r0 and the compare 2012-07-30T08:42:55 < dongs> lets see what optimize for time does. 2012-07-30T08:43:49 < dongs> http://bcas.tv/paste/results/WwkP4P60.html 2012-07-30T08:43:51 < dongs> same? 2012-07-30T08:44:03 < dongs> ya looks same 2012-07-30T08:44:03 < dongs> k 2012-07-30T08:44:13 < jpa-> zippe: add is single-cycle according to ARM manual 2012-07-30T08:48:07 < zippe> jpa-: sure, but how deep is the pipeline? 2012-07-30T08:48:27 < zippe> i.e. how far ahead of dispatch does it need the register? 2012-07-30T08:48:32 < zippe> dongs: that's pretty sad 2012-07-30T08:48:39 < zippe> dongs: I'd have expected better for real moneys 2012-07-30T08:49:13 < dongs> :) 2012-07-30T08:49:27 < zippe> The loop could easily be unrolled a bunch more 2012-07-30T08:49:36 < zippe> gcc is being fairly kind to the stack 2012-07-30T08:49:59 < zippe> if I had to guess, they know the write buffer size and all they care about is saturating it 2012-07-30T08:52:05 < jpa-> zippe: not that deep http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/CACCIFED.html 2012-07-30T08:54:38 < dongs> that page doenst open in IE 2012-07-30T08:58:42 < zippe> jpa-: Ok, so there's a single-cycle stall for use-after-store 2012-07-30T08:59:18 < zippe> since the compare wants the register in De, but that overlaps Ex for the previous instruction 2012-07-30T09:00:30 < jpa-> unless it has forwarding 2012-07-30T09:00:54 < jpa-> it could forward Ex output directly to Ex input 2012-07-30T09:01:36 < zippe> Looks like forwarding only for addresses 2012-07-30T09:04:56 < zippe> Heh 2012-07-30T09:05:55 < zippe> http://bcas.tv/paste/results/POpJLH18.html 2012-07-30T09:06:00 < zippe> That's clang/llvm 2012-07-30T09:06:03 -!- izua [izua@2a02:2f01:1016:2258:e118:9565:280a:21de] has joined ##stm32 2012-07-30T09:06:04 -!- izua [izua@2a02:2f01:1016:2258:e118:9565:280a:21de] has quit [Changing host] 2012-07-30T09:06:04 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-30T09:06:04 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-30T09:06:48 < zippe> That's a sneaky trick they play there with the loop counter 2012-07-30T09:08:11 < zippe> Can't see why I'd be paying for armcc so far 2012-07-30T09:09:08 < dongs> becasue of a single edge case for a high-speed memset? 2012-07-30T09:09:10 < dongs> suure... 2012-07-30T09:09:21 < dongs> how about baseflight compiling to >64k in gcc and ~42 in armcc? 2012-07-30T09:10:59 < zippe> which part of your source tree? 2012-07-30T09:11:09 < zippe> baseflight? or plus? 2012-07-30T09:11:15 < dongs> nonplus 2012-07-30T09:12:00 < zippe> text data bss dec hex filename 2012-07-30T09:12:00 < zippe> 46912 1392 3036 51340 c88c obj/baseflight.elf 2012-07-30T09:12:19 < zippe> Fresh checkout of trunk 2012-07-30T09:13:04 < dongs> text data bss dec hex filename 2012-07-30T09:13:05 < dongs> 41076 252 5636 46964 b774 baseflight.axf 2012-07-30T09:13:37 < zippe> So, I take your disdain with the same grain of salt I take your ">64K" 2012-07-30T09:13:50 < zippe> i.e. they're within spitting distance, and this is a 2+ year old compiler 2012-07-30T09:13:54 < dongs> wasnt me complaining. some dudes said gcc was doing > 64k 2012-07-30T09:14:02 < dongs> what is? 2012-07-30T09:14:04 < zippe> Ah, blame the internets 8) 2012-07-30T09:14:05 < dongs> your gcc version? 2012-07-30T09:14:06 < zippe> What I'm using 2012-07-30T09:14:18 < zippe> Yes, ARM's stable 4.6.1 branch 2012-07-30T09:18:04 < dongs> heh 2012-07-30T09:19:08 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-30T09:36:01 < zippe> Speaking of llvm, time to run another build 2012-07-30T09:39:22 < dongs> heh 2012-07-30T10:09:04 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-30T10:26:02 -!- Claude is now known as claude 2012-07-30T10:37:43 < cjbaird> There won't be any call-centre phone calls during dinner for the next (few?) week or so-- much of India is having an electrical blackout caused by a complete collapse of the supply network. :D 2012-07-30T10:55:59 -!- claude is now known as claude_work 2012-07-30T11:11:31 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-30T11:46:40 -!- mobyfab [~mobyfab@80.239.168.84] has joined ##stm32 2012-07-30T11:52:27 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-30T11:58:50 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-30T12:07:11 -!- izua [izua@2a02:2f01:1016:2258:45c2:aafe:c36f:b149] has joined ##stm32 2012-07-30T12:07:12 -!- izua [izua@2a02:2f01:1016:2258:45c2:aafe:c36f:b149] has quit [Changing host] 2012-07-30T12:07:12 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-30T12:07:15 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-30T12:17:57 < dongs> commence blog 2012-07-30T12:19:54 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-30T12:26:57 < BusError> anyone does composite video generation with the stm32f4 ? just looking for the 'ideal' output interface... ie one that uses the less cycles/memory 2012-07-30T12:27:31 < dongs> full generation, not just overlay? 2012-07-30T12:28:20 < BusError> either. I assume overlay uses a comparator on the incoming signal to get the sync pulses? 2012-07-30T12:29:16 < dongs> for overlay, im using sycn separator (cheapear/smaller than individaual analog components needed to reliably achieve same result) and clocking out pixel data by SPI. 2012-07-30T12:29:28 < BusError> theres one guy on youtube doing it, but no data, source etc. just a brag video :-) 2012-07-30T12:29:36 < dongs> for generation, take a look at 'thinner client' project 2012-07-30T12:29:52 < BusError> so it 'monochrome' (aka white or float) ? 2012-07-30T12:30:01 < dongs> yes, monochrome 2012-07-30T12:30:32 < BusError> your's is for FPV ? 2012-07-30T12:30:42 < dongs> looks like thinnerclient uses similar approach 2012-07-30T12:30:49 < dongs> SPI for pixels and TIMers for sync output 2012-07-30T12:33:25 < dongs> < BusError> theres one guy on youtube doing it, but no data, source etc. just a brag video :-) 2012-07-30T12:33:30 < dongs> doing what, color video? 2012-07-30T12:33:35 < BusError> so just the resistor bridge as output stage ? the onboard DAC looks spify, but it looks audio oriented, it probably messes the signal 2012-07-30T12:33:44 < BusError> monochrome overlay (16 shades) 2012-07-30T12:33:50 < zyp> dongs, it's probably your brag videos :p 2012-07-30T12:33:55 < dongs> haha :\ 2012-07-30T12:34:03 < dongs> BusError: openpilot osd did grayscale on F2 2012-07-30T12:34:10 < dongs> not sure how - thres a few demos out there. 2012-07-30T12:34:16 < BusError> http://www.youtube.com/watch?v=NbXfUphVe2w 2012-07-30T12:35:08 < dongs> Resolution of 200 x 136 px, B / W 8 levels of gray. 2012-07-30T12:35:12 < dongs> yeah, thats probably why. 2012-07-30T12:35:55 < dongs> i guess he has 8 voltage sources 2012-07-30T12:36:24 < dongs> switching between them somehow 2012-07-30T12:36:26 < dongs> for brightness. 2012-07-30T12:36:39 < BusError> he uses a resistor bridge, you can see it in his other video (non overlay) 2012-07-30T12:36:46 < dongs> maybe 2nd SPI output that works on the 'brightness' framebuffer 2012-07-30T12:37:01 < dongs> oh.. maybe not spi 2012-07-30T12:37:06 < dongs> maybe DMA to like ioport 2012-07-30T12:37:15 < dongs> so someshit like PA0..PA7 going high/low 2012-07-30T12:37:17 < BusError> yeah I think thats it. 2012-07-30T12:37:18 < dongs> to change output voltage 2012-07-30T12:37:55 < BusError> I looked to see if the SDIO interface coild be used (it's like 4/8 bits SPI after all) but it looks too high level SD/MMC 2012-07-30T12:38:40 < dongs> DMA to ioport should be no problem I think 2012-07-30T12:38:51 < dongs> i did that shit wiht 16port uart last week or so 2012-07-30T12:39:03 < dongs> setup a timer going at same rate as your SPI pixel output 2012-07-30T12:39:11 < BusError> or to FSMC 2012-07-30T12:39:12 < dongs> have 2 framebuffers, one wiht pixels on/off and one with colors 2012-07-30T12:39:45 < dongs> f4 has so much memory i guess wasting 27k for color framebuffer is not a big deal 2012-07-30T12:39:51 < BusError> altho yeah fsmc won't allow overlay 2012-07-30T12:40:11 < dongs> gpio dma takes almost no effort to setup 2012-07-30T12:40:44 < dongs> i dunno if thats gonna be fast enough though 2012-07-30T12:44:17 < BusError> a nice 8-12 bit DAC could be pretty cool... microchip makes some nice/cheap ones 2012-07-30T12:44:55 < BusError> external vref, so you can set it to 1.0V and get a pretty hefty range 2012-07-30T12:45:45 < zyp> I bet if Laurenceb tried that he would be left with a pretty hefty rage 2012-07-30T12:45:50 < dongs> lo 2012-07-30T12:50:40 < BusError> dongs, do you use that sort of thing to get the sync ? http://uk.farnell.com/rohm/ba7046f-e2/ic-video-sync-seperator-smd/dp/1512650 2012-07-30T12:51:20 < dongs> I use LM1881 2012-07-30T12:51:34 < dongs> i have no idea what that is, but its probably very similar 2012-07-30T12:52:15 < dongs> totally not pin compatibvle lol 2012-07-30T12:53:07 < BusError> no, but it's 1/10th the price :-) I always sort the list by price :> 2012-07-30T12:53:44 < dongs> my lm1881 is 0.38gbp 2012-07-30T12:54:02 < BusError> oh? from where? 2012-07-30T12:56:32 < dongs> same place where I usualyl buy my s hit. 2012-07-30T12:56:36 < dongs> but I buy more than 1 so... 2012-07-30T12:58:42 < karlp> good morning bloggers 2012-07-30T12:59:33 < dongs> bloggin hard. 2012-07-30T13:20:49 < Oldboy> akihabara! 2012-07-30T13:25:00 -!- dekar [~dekar@212.255.22.177] has joined ##stm32 2012-07-30T13:25:03 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-30T13:36:58 <+dekar> izua, https://dl.dropbox.com/u/28467113/Screen%20Shot%202012-07-30%20at%2012.34.52%20PM.png 2012-07-30T13:38:10 < zyp> cute 2012-07-30T13:38:22 <+izua> dude 2012-07-30T13:38:31 <+izua> 100% out of 0 is still 0 2012-07-30T13:38:52 <+izua> just like the referendum here, where 47% voting presence, is still 0 2012-07-30T13:39:03 < karlp> how are you collecting all those mA readings? 2012-07-30T13:39:31 <+izua> probably reported by the device? 2012-07-30T13:39:50 <+izua> or resistor and opamp, that board was more like a devboard than a production thing 2012-07-30T13:40:14 <+dekar> karlp, shunt resistors 2012-07-30T13:40:21 <+dekar> and yeah opamps 2012-07-30T13:40:34 <+dekar> izua, it's the final product 2012-07-30T13:40:59 <+dekar> being able to measure the consumption of lasers is actually a feature 2012-07-30T13:41:17 <+dekar> they sometimes behave weird and spike a lot in current after a while 2012-07-30T13:42:07 <+dekar> izua, what about the percentage stuff? is there any percentage on my screenshot? 2012-07-30T13:42:37 <+dekar> are you complaining about the memory usage readings? that's from lua via the retargeted stdout 2012-07-30T13:42:48 <+dekar> lua only uses float, hence... 2012-07-30T13:42:51 <+izua> ain't complaining lol 2012-07-30T13:43:11 <+izua> what do you mean "any percentage on my screenshot" 2012-07-30T13:43:23 <+dekar> "[12:38] 100% out of 0 is still 0" 2012-07-30T13:43:26 <+dekar> what did you mean? 2012-07-30T13:43:31 <+izua> 100% more lua 2012-07-30T13:43:35 <+izua> out of no lua 2012-07-30T13:43:39 <+izua> is still no lua :P 2012-07-30T13:43:57 <+izua> i'm just messing with your toy 2012-07-30T13:44:02 <+izua> looks neat 2012-07-30T13:44:07 <+dekar> well I added 1 lua to it and 1 equals 100/100 thus 100% 2012-07-30T13:44:07 < dongs> faile laser 2012-07-30T13:44:25 <+izua> you should add a "charge laser" button 2012-07-30T13:44:36 <+izua> or as an easter egg 2012-07-30T13:44:38 < dongs> [ install lasers on shark heads ] 2012-07-30T13:45:26 <+dekar> izua, did I show you my rtl-sdr soldering? 2012-07-30T13:45:41 <+dekar> https://dl.dropbox.com/u/28467113/rtlsdr_hf_mod.jpg 2012-07-30T13:45:42 <+izua> i think so 2012-07-30T13:45:44 <+izua> do show 2012-07-30T13:45:55 <+izua> oh, not that 2012-07-30T13:46:08 <+izua> great job 2012-07-30T13:46:17 < zyp> to only use the ADC? 2012-07-30T13:46:21 <+izua> MLFs are tough :P 2012-07-30T13:46:21 <+dekar> yeah 2012-07-30T13:46:27 < dongs> what chip is that 2012-07-30T13:46:31 <+dekar> I don't think the e4000 survived it 2012-07-30T13:46:37 < dongs> oh. 2012-07-30T13:46:39 < dongs> fail. 2012-07-30T13:46:40 <+dekar> applied 450°C to the top 2012-07-30T13:46:50 <+izua> but then 2012-07-30T13:46:53 <+izua> it's nopt really soldering 2012-07-30T13:46:54 <+dekar> dongs, why fail? I wanted to remove it 2012-07-30T13:46:56 <+izua> but more like desoldering 2012-07-30T13:47:01 <+dekar> I guess so 2012-07-30T13:47:06 <+dekar> I then soldered the wire though 2012-07-30T13:51:03 <+dekar> https://dl.dropbox.com/u/28467113/direct_sampling-png.png 2012-07-30T13:51:23 <+dekar> the lower 2.4mhz 2012-07-30T13:51:41 < dongs> i bet that was written in macPython or something. 2012-07-30T13:52:14 <+dekar> dongs, just python, without the mac 2012-07-30T13:54:30 < Laurenceb> http://pastebin.com/518RzZgS 2012-07-30T13:54:35 < Laurenceb> does that look sane? 2012-07-30T13:54:42 < dongs> not if you keep that indenting 2012-07-30T13:54:51 < Laurenceb> maple with bootloader up to 0x08000500 2012-07-30T13:55:16 < dongs> isnt bootloader vector table at 8000000 2012-07-30T13:55:21 < dongs> and then yours at 8005000 2012-07-30T13:55:35 < dongs> if thats yours that doesnt look too bad 2012-07-30T13:55:41 < dongs> 1st word, stack end 2012-07-30T13:55:50 < dongs> 2nd - irq0 handler etc. 2012-07-30T13:55:52 < dongs> +1 i think 2012-07-30T13:56:35 < Laurenceb> wtf 2012-07-30T13:56:40 < Laurenceb> why is stack 20kb in 2012-07-30T13:56:54 < Laurenceb> hmf.. seems to be the same in maple 2012-07-30T13:57:02 < Laurenceb> is that correct? 2012-07-30T13:57:29 < dongs> isnt stack at the end of ram? 2012-07-30T13:57:37 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-30T13:57:48 < Laurenceb> https://github.com/gsmcmullin/blackmagic/blob/master/src/platforms/stlink/Makefile.inc#L6 2012-07-30T13:57:53 < Laurenceb> maybe... 2012-07-30T13:57:56 < Laurenceb> guess its time to try flashing 2012-07-30T14:00:21 < Laurenceb> if i can remeber how to use maple gui.... 2012-07-30T14:01:32 < dongs> is maple gui processing lol 2012-07-30T14:02:22 < Laurenceb> yes 2012-07-30T14:02:31 < Laurenceb> cant see an option to import a binary 2012-07-30T14:03:12 < Laurenceb> "Going to build using 'armcompiler' (ARM)" 2012-07-30T14:03:14 < Laurenceb> rage 2012-07-30T14:06:22 < Laurenceb> nice - rothnier laser will make custom LED dies with 3 weeks turnaround, 1.9euros each 100MOQ 2012-07-30T14:06:29 < Laurenceb> thats not at all bad 2012-07-30T14:08:23 < Laurenceb> anyone know how to use maple bootloader from command line? 2012-07-30T14:08:44 <+dekar> dunno, I wrote my own 2012-07-30T14:09:16 <+dekar> does it use HID as well? 2012-07-30T14:10:05 < dongs> maple bootlol'der is UART 2012-07-30T14:10:08 < dongs> CDC or wahtever. 2012-07-30T14:10:16 < Laurenceb> yeah 2012-07-30T14:10:17 < dongs> it watches for some magic string inside usbserial 2012-07-30T14:10:22 < dongs> then bootloats. 2012-07-30T14:10:26 < dongs> forgot waht the magic string was 2012-07-30T14:10:26 < Laurenceb> i see 2012-07-30T14:10:30 < dongs> it was pretty fail shit 2012-07-30T14:10:39 <+dekar> so you have to install drivers on windows? 2012-07-30T14:10:40 < dongs> its inside maple cdc driver 2012-07-30T14:10:43 < dongs> dekar: yes 2012-07-30T14:10:46 < Laurenceb> is there a way to do it with the gui? 2012-07-30T14:10:48 < dongs> unsigned ones. 2012-07-30T14:10:51 < dongs> Laurenceb: no idea lol 2012-07-30T14:10:54 <+dekar> -.- 2012-07-30T14:11:03 < dongs> Laurenceb: please stop fucking with maple and steal openpilot bootloader 2012-07-30T14:11:06 < dongs> at least its 100x less aids 2012-07-30T14:11:06 < Laurenceb> i have blackmagic binary 2012-07-30T14:11:08 <+dekar> at least spoof an FTDI :) 2012-07-30T14:11:14 < dongs> dekar: no 2012-07-30T14:11:20 < dongs> 'ftdi actually uses custom non-cdc drivers 2012-07-30T14:11:24 <+dekar> I know 2012-07-30T14:11:25 < dongs> you could spoof some device that has existing driver... 2012-07-30T14:11:30 < dongs> thats just CDC class 2012-07-30T14:11:32 < dongs> i geuss 2012-07-30T14:11:32 < Laurenceb> hmf 2012-07-30T14:11:38 <+dekar> spoofing FTDI is epic imo 2012-07-30T14:11:40 < Laurenceb> theres got to be a way to force it 2012-07-30T14:11:45 < dongs> force what 2012-07-30T14:11:53 < dongs> what tthe d ick are you trying to do 2012-07-30T14:12:09 < dongs> other than generate more rage 2012-07-30T14:12:10 <+dekar> dongs, well FTDI drivers are everywhere 2012-07-30T14:12:21 < dongs> dekar, then you'd acutally have to use their silly protocol 2012-07-30T14:12:34 <+dekar> mpsse, I've worked with it before 2012-07-30T14:12:44 < dongs> i mean over t he wire 2012-07-30T14:12:48 <+dekar> I know 2012-07-30T14:12:51 < Laurenceb> im trying to stick blackmagic on maple 2012-07-30T14:12:59 < dongs> why not just burn it through uart 2012-07-30T14:13:03 < dongs> LIKE A REAL MAN 2012-07-30T14:13:03 <+dekar> but I like how well the ftdi work on windows 2012-07-30T14:13:31 < dongs> .. any cdc class deivce works just as well? 2012-07-30T14:13:57 <+dekar> dongs, after installing a custom inf? 2012-07-30T14:14:29 <+dekar> I'd rather not install stuff 2012-07-30T14:14:30 < dongs> yes, or using an existing device vid/pid thats in whql 2012-07-30T14:14:47 < dongs> yes i totally agree about not having to instal lshit though 2012-07-30T14:14:51 <+dekar> dongs, I actually looked into that and only found modems and phones 2012-07-30T14:15:14 < dongs> surely there's some vendor usb>serial shit that comes with a blank inf, no? 2012-07-30T14:15:15 <+dekar> didn't feel like having my hardware show up as some samsung phone 2012-07-30T14:15:23 <+dekar> I didn't find any 2012-07-30T14:15:27 < dongs> interesting. 2012-07-30T14:15:33 < dongs> buyt yeah, hid is hte way to go for this 2012-07-30T14:15:43 < dongs> or real DFU shit... supposedly some flag in device descriptor 2012-07-30T14:15:53 <+dekar> I feel the urge to spoof FTDI, just out of spite 2012-07-30T14:16:20 <+dekar> license it public domain so everyone uses cheap µC instead of ftdi chips :D 2012-07-30T14:16:23 < dongs> how much extra work is thier over the wire protocol? 2012-07-30T14:16:32 < Laurenceb> dfu-util - (C) 2007 by OpenMoko Inc. 2012-07-30T14:16:34 < Laurenceb> hahahahahaha 2012-07-30T14:16:42 < Laurenceb> epic lulz 2012-07-30T14:16:49 <+dekar> I actually have OpenMoko on my phone 2012-07-30T14:16:49 < dongs> openmoko more like dead shit 2012-07-30T14:16:56 < dongs> <+dekar> I actually have OpenMoko on my phone 2012-07-30T14:16:58 < Laurenceb> ill just run that from the command line then 2012-07-30T14:16:59 < dongs> why im not surprised 2012-07-30T14:17:00 <+dekar> well some fork called shr 2012-07-30T14:18:35 <+dekar> dongs, their protocol isn't too bad, just a few commands (they call them opcodes) to implement 2012-07-30T14:18:41 <+dekar> toggling pins etc 2012-07-30T14:20:12 <+dekar> dongs, I have SHR on my old android developer phone 1, it doesn't have the power to run android4 anyway 2012-07-30T14:20:42 <+dekar> I guess java takes its toll and 192mb ram just doesn't suffice 2012-07-30T14:20:51 <+dekar> pidgin runs quite well though :) 2012-07-30T14:24:35 < Laurenceb> dfu-util - (C) 2007-2008 by OpenMoko Inc. 2012-07-30T14:24:36 < Laurenceb> This program is Free Software and has ABSOLUTELY NO WARRANTYFound DFU: [0x1eaf:0x0003] devnum=64, cfg=0, intf=0, alt=0, name="DFU Program RAM 0x20000C00"Found DFU: [0x1eaf:0x0003] devnum=64, cfg=0, intf=0, alt=1, name="DFU Program FLASH 0x08005000" 2012-07-30T14:24:39 < Laurenceb> hell yeah 2012-07-30T14:25:07 < Laurenceb> lol @ pid/vid 2012-07-30T14:31:44 < Laurenceb> error 32 2012-07-30T14:31:46 < Laurenceb> grumble 2012-07-30T14:48:23 < karlp> groovy, the mill is working on the next rev of my sensor node. 2012-07-30T14:52:20 < Laurenceb> holy shit it works 2012-07-30T14:52:38 < zyp> woah 2012-07-30T14:52:43 < zyp> Laurenceb got something to work! 2012-07-30T14:52:51 < dongs> nowai 2012-07-30T14:52:58 < dongs> lets blog about it on twitter 2012-07-30T14:57:52 < PaulFertser> Laurenceb: and what was the culprit? 2012-07-30T15:06:44 < dongs> hmmm 2012-07-30T15:06:56 < dongs> i cant change DMA->CMAR on F1 without stopping dma first? 2012-07-30T15:07:00 < dongs> but I can on F2/4... 2012-07-30T15:08:37 < dongs> can someoen confirm/deny 2012-07-30T15:11:23 < zyp> what about reading the reference manual? 2012-07-30T15:11:35 -!- Thorn [~Thorn@unaffiliated/thorn] has joined ##stm32 2012-07-30T15:11:41 < dongs> tried 2012-07-30T15:11:43 < Oldboy> reading is for liberals 2012-07-30T15:11:47 < dongs> dont see any explicit mention 2012-07-30T15:12:06 < Thorn> http://bobloblawzlawblog.tumblr.com/post/28169796312/some-highlights-from-the-kazakhstan-twitter-tt 2012-07-30T15:12:07 < zyp> anyway, isn't CMAR one of the addr registers? 2012-07-30T15:12:18 < dongs> cmar = memory address 2012-07-30T15:12:21 < zyp> yes 2012-07-30T15:12:40 < dongs> but ive got a circular tx buffer 2012-07-30T15:12:45 < dongs> so i move the start addy around 2012-07-30T15:12:47 < zyp> when DMA is active I imagine the addr registers would be controlled by the peripheral, at least if it's to be incremented 2012-07-30T15:12:58 <+dekar> http://www.youtube.com/watch?v=DGqH8LGjZdY&feature=player_detailpage#t=324s 2012-07-30T15:13:22 < Laurenceb> the leaf labs stuff only works for upload 2012-07-30T15:13:32 < zyp> if you are writing CMAR when the channel is active, you have a race condition, so I don't know why you would do that anyway 2012-07-30T15:14:02 < zyp> also, doesn't the peripheral support a circular mode with automatic wraparound? 2012-07-30T15:14:54 < Laurenceb> wait no 2012-07-30T15:14:56 < Laurenceb> arggg 2012-07-30T15:15:00 < dongs> ^ raped / raged 2012-07-30T15:15:01 < Laurenceb> its never leaving bootloader 2012-07-30T15:16:05 < Laurenceb> do the dfu binaries have to be in dfu format? 2012-07-30T15:16:20 < zyp> isn't that the point of dfu? 2012-07-30T15:16:30 < Laurenceb> hmf 2012-07-30T15:16:43 < Laurenceb> how the hell do i do it 2012-07-30T15:16:48 <+dekar> I never got the point of DFU, you have to install windows drivers anyway 2012-07-30T15:17:13 < Laurenceb> im using dfu-util 2012-07-30T15:17:43 < zyp> the idea of DFU seems nice enough, but it seems like a lot of the implementations doesn't follow the spec 100% making it kind of pointless 2012-07-30T15:18:22 < Laurenceb> yeah 2012-07-30T15:18:25 < Laurenceb> im confused 2012-07-30T15:18:38 < Laurenceb> it seems to be stuck in bootloader mode 2012-07-30T15:18:51 < Laurenceb> but the dfu-util said success 2012-07-30T15:19:03 < dongs> reboot it? 2012-07-30T15:19:13 < Laurenceb> state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present 2012-07-30T15:19:32 < Laurenceb> Done! 2012-07-30T15:19:32 < Laurenceb> Resetting USB to switch back to runtime mode 2012-07-30T15:19:42 < Laurenceb> ive tried 2012-07-30T15:19:53 < Laurenceb> its boots up bootloader then stays there 2012-07-30T15:20:08 < Laurenceb> its still there as 1eaf:003 2012-07-30T15:20:22 < Laurenceb> and dfu-util finds it 2012-07-30T15:20:31 < Laurenceb> i think maybe i need a dfu binary 2012-07-30T15:21:50 < Laurenceb> looks like it supports dfu-util -a 0 --dfuse-address 0x08004000 -D your-lib.bin 2012-07-30T15:21:50 < Laurenceb> trying... 2012-07-30T15:22:35 < Laurenceb> lol segfault 2012-07-30T15:25:55 < Laurenceb> whats the dfu file format? 2012-07-30T15:27:22 < Laurenceb> just bin with address on the front? 2012-07-30T15:30:50 < zyp> according to DFU spec it's a file of vendor-specific data with a standardized metadata section at the end 2012-07-30T15:31:13 < Laurenceb> .... 2012-07-30T15:31:24 < Laurenceb> im screwed 2012-07-30T15:31:41 < Laurenceb> swd time 2012-07-30T15:32:02 < Laurenceb> gdb grabs the location info from elf files right? 2012-07-30T15:32:13 < zyp> yes 2012-07-30T15:32:20 < Laurenceb> ok 2012-07-30T15:56:02 < karlp> dekar: ! that power module repair is kinda hardcore 2012-07-30T15:56:05 < karlp> love it! 2012-07-30T16:04:48 <+dekar> yeah quite insane :) 2012-07-30T16:04:58 <+dekar> hacking into those bonding wires 2012-07-30T16:05:08 < karlp> love the soldering iron sculupturing 2012-07-30T16:16:15 < dongs> attn Laurenceb http://www.hanselman.com/blog/Top10RaspberryPiMythsAndTruths.aspx 2012-07-30T16:30:50 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-30T16:40:25 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-30T16:42:20 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has quit [Quit: leaving] 2012-07-30T17:06:25 -!- grummund [~user@unaffiliated/grummund] has joined ##stm32 2012-07-30T17:06:32 < Laurenceb> aha done it 2012-07-30T17:06:42 < Laurenceb> vector table needed fixing 2012-07-30T17:07:00 < Laurenceb> it was hardfaulting and jumping to bootloader for some reason 2012-07-30T17:13:08 < Laurenceb> but it doesn re enumerate now 2012-07-30T17:13:16 < Laurenceb> clusterfucking rageee 2012-07-30T17:16:33 -!- guizmo124 [~jerome@47.215.13.109.rev.sfr.net] has joined ##stm32 2012-07-30T17:16:53 -!- guizmo124 [~jerome@47.215.13.109.rev.sfr.net] has left ##stm32 ["Leaving"] 2012-07-30T17:17:47 < dongs> Laurenceb: renumerate, steal op code for that 2012-07-30T17:17:53 < dongs> the one that dicks with DP line by gpio 2012-07-30T17:17:58 < dongs> works good for mem 2012-07-30T17:17:59 < dongs> me 2012-07-30T17:18:35 < dongs> http://bcas.tv/paste/results/ieW3KZ36.html 2012-07-30T17:18:52 < Laurenceb> im having to rewrite all the usb code 2012-07-30T17:19:07 < Laurenceb> sue to stupid overcomplex olimixino schematic 2012-07-30T17:19:10 < Laurenceb> *due 2012-07-30T17:19:17 < dongs> wat 2012-07-30T17:19:36 < Laurenceb> they stuck transistors _everywhere_ 2012-07-30T17:21:49 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-30T17:24:50 < Laurenceb> olympics looks a bit gay 2012-07-30T17:25:18 < Laurenceb> guys in skimpy shorts jumping around 2012-07-30T17:25:36 < dongs> jap judo shit was on earlier. the chick looked fucking raged through the entire 4 minutes 2012-07-30T17:27:05 < Laurenceb> i prefered the olympic high altitude ballooning 2012-07-30T17:29:03 < Laurenceb> http://www.urbandictionary.com/define.php?term=brogrammer 2012-07-30T17:29:04 < Laurenceb> lol 2012-07-30T17:30:52 < Laurenceb> wtf 2012-07-30T17:31:00 < Laurenceb> blackmagic code makes no sense 2012-07-30T17:31:21 < Laurenceb> it sets an interrupt on vbus detect, then in the isr it configures the usb 2012-07-30T17:31:30 < Laurenceb> what is vbus is already high 2012-07-30T17:31:33 < Laurenceb> *if 2012-07-30T17:36:16 < Laurenceb> oh it haxors the nvic to force it 2012-07-30T17:36:19 < Laurenceb> nutcases 2012-07-30T17:36:55 < karlp> well, bmp works.... 2012-07-30T18:03:59 < Laurenceb> http://pastebin.com/7kWZ23t8 2012-07-30T18:05:35 < Laurenceb> does that look sane 2012-07-30T18:05:44 < Laurenceb> theres a 20k bootloader 2012-07-30T18:06:28 < dongs> shit my chinkparts are finally in jp 2012-07-30T18:06:37 < dongs> 5 days what hte fuck the shit must be on boat or somethign 2012-07-30T18:07:29 < dongs> does bmp not use a lot of interrupts for stuff? 2012-07-30T18:07:37 < dongs> all teh vectors are pointing to same hsit? 2012-07-30T18:09:25 < Laurenceb> hmm 2012-07-30T18:09:30 < Laurenceb> im going to give up 2012-07-30T18:09:35 < Laurenceb> its clusterfucked 2012-07-30T18:09:49 < Laurenceb> cant even boot the code 2012-07-30T18:09:56 < Laurenceb> its hardfaulting straign away 2012-07-30T18:10:39 < Laurenceb> what are the first vectors? 2012-07-30T18:10:47 < Laurenceb> stack pointer, reset handler? 2012-07-30T18:10:58 < dongs> first is stack, then reset yes 2012-07-30T18:11:08 < dongs> then first 10 or so are default cortex vectors 2012-07-30T18:11:11 < dongs> then hardware dependent 2012-07-30T18:11:30 < zyp> default cortex is 16 in total, including stack and reset vectors 2012-07-30T18:11:42 < dongs> something like that. 2012-07-30T18:11:55 < zyp> but some are reserved and not used 2012-07-30T18:13:03 < Laurenceb> 08010d38 <__cs3_reset>: 2012-07-30T18:13:03 < Laurenceb> 8010d38: 4901 ldr r1, [pc, #4] ; (8010d40 <__cs3_reset+0x8>) 2012-07-30T18:13:03 < Laurenceb> 8010d3a: 468d mov sp, r1 2012-07-30T18:13:03 < Laurenceb> 8010d3c: 4901 ldr r1, [pc, #4] ; (8010d44 <__cs3_reset+0xc>) 2012-07-30T18:13:03 < Laurenceb> 8010d3e: 4708 bx r1 2012-07-30T18:13:04 < Laurenceb> 8010d40: 20005000 .word 0x20005000 2012-07-30T18:13:04 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-30T18:13:06 < Laurenceb> 8010d44: 08010c39 .word 0x08010c39 2012-07-30T18:13:09 < Laurenceb> erm is that a loop? 2012-07-30T18:13:21 < dongs> no its a jump to address in r1.. 2012-07-30T18:13:36 < Laurenceb> 8010d44: 08010c39 .word 0x08010c39 2012-07-30T18:13:41 < Laurenceb> jumps to itself? 2012-07-30T18:14:22 < dongs> no idea 2012-07-30T18:14:26 < dongs> i dont use gnu disassembler 2012-07-30T18:14:32 < dongs> i use ida, it uses different syntax. 2012-07-30T18:14:44 < Laurenceb> looks like it jumps to itself to me 2012-07-30T18:15:05 < Laurenceb> which would explain what i see 2012-07-30T18:15:14 < Laurenceb> i need to fix entry point or something? 2012-07-30T18:15:17 < dongs> looks like gnu didnt decode the instrcution to me 2012-07-30T18:15:31 < zyp> dongs, no, it's right 2012-07-30T18:15:53 < zyp> it loads sp and pc from those two constants 2012-07-30T18:15:57 < Laurenceb> zyp: its a loop? 2012-07-30T18:16:05 < zyp> so yeah, it jumps back to itself for some reason 2012-07-30T18:16:09 < Laurenceb> lawl 2012-07-30T18:16:24 < Laurenceb> yeah it doesnt know where to start 2012-07-30T18:19:54 < Laurenceb> aha 2012-07-30T18:19:59 < Laurenceb> __cs3_start_c != _start 2012-07-30T18:20:14 < Laurenceb> blackmagic uses _start 2012-07-30T18:20:47 < Laurenceb> _start defulat to the reset handler 2012-07-30T18:26:05 < dongs> Level 2 (-O2): High optimization (default level). 2012-07-30T18:26:06 < dongs> Level 3 (-O3): Maximum optimization. Note that Level 3 in combination with Optimize for Time may generate more code that Level 2 since it may unroll loops. 2012-07-30T18:26:09 < dongs> zippe: ^ 2012-07-30T18:27:24 < dongs> looks like i can use gcc with uvision 2012-07-30T18:27:26 < dongs> gonna try it. 2012-07-30T18:30:52 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-30T18:32:23 < Laurenceb> refusing to boot still 2012-07-30T18:32:35 < Laurenceb> im going to have to try another toolchain 2012-07-30T18:32:46 < dongs> whats the current non-aids windows gcc build? 2012-07-30T18:32:48 < dongs> codesourcery? 2012-07-30T18:32:50 < dongs> yagarto? 2012-07-30T18:33:01 < Laurenceb> dunno 2012-07-30T18:33:08 < Laurenceb> im trying to use codecourcery atm 2012-07-30T18:33:12 < Laurenceb> failing epically 2012-07-30T18:34:13 < Laurenceb> giving up now for good 2012-07-30T18:36:14 < dongs> ugh 2012-07-30T18:36:29 < dongs> spam.la is dead :( 2012-07-30T18:36:31 < zyp> dongs, yagarto for os x works for me, and I would imagine the windows build is equivalent 2012-07-30T18:36:34 < dongs> and I just used that @ mentor website 2012-07-30T18:36:44 < dongs> zyp: but isnt codesourcery more lEet? 2012-07-30T18:36:51 < dongs> yagarto is some german shit right 2012-07-30T18:37:14 < zyp> I don't really care about stuff that doesn't matter 2012-07-30T18:37:23 < zyp> it works, that's all I care about 2012-07-30T18:40:17 < Laurenceb> unlike codesourcery 2012-07-30T18:40:24 <+dekar> dongs, get TNT if you want German quality :) 2012-07-30T18:41:01 < dongs> dekar: i run windows 2012-07-30T18:41:08 <+dekar> so port it 2012-07-30T18:41:37 < dongs> yagarto-bu-2.22_gcc-4.7.1-c-c++_nl-1.20.0_gdb-7.4.1_eabi_20120616.exe nice filename 2012-07-30T18:41:52 < dongs> and another fucking opensores app that comes with installer when it doesnt need to 2012-07-30T18:42:39 < emeb> Installer helps the n00bs get further off-road before they get stuck. 2012-07-30T18:43:00 < zyp> os x version is just a self extracting archive 2012-07-30T18:44:04 -!- claude_work is now known as claude 2012-07-30T18:47:29 < dongs> self-enraging archive 2012-07-30T18:48:43 -!- dekar [~dekar@212.255.22.177] has quit [Quit: This computer has gone to sleep] 2012-07-30T18:51:22 < dongs> cute... 2012-07-30T18:51:25 < dongs> not working at all 2012-07-30T18:51:28 < dongs> as expected 2012-07-30T18:52:07 < dongs> -Wl 2012-07-30T18:52:08 < dongs> what is htat? 2012-07-30T18:52:20 < dongs> arm-none-eabi-gcc: error: unrecognized command line option '-Wl' 2012-07-30T18:52:28 < dongs> arm-none-eabi-gcc: error: ./obj/main.o: No such file or directory 2012-07-30T18:52:32 < dongs> and hten it cant find any .o files 2012-07-30T18:52:36 < dongs> all i see in obj\ is foo.d files 2012-07-30T18:52:44 < zippe> -Wl, 2012-07-30T18:55:50 < karlp> arm launchpad has windows builds too 2012-07-30T18:56:10 < dongs> ya, but i'm not black 2012-07-30T18:56:34 < zyp> karlp, that would probablt be my next choice if I found yagarto didn't work 2012-07-30T18:56:46 < dongs> why would it "not work" 2012-07-30T18:58:03 < karlp> yagarto hadn't been updated in ages when I started this adventure 2012-07-30T18:58:08 < dongs> do i need -mapcs-frame ? 2012-07-30T18:58:10 < karlp> so it never re-entered my mindset 2012-07-30T19:00:07 < dongs> -c -mcpu=cortex-m3 -mthumb -gdwarf-2 -MD -Wall -O0 -Ilib/CMSIS/CM3/CoreSupport -Ilib/CMSIS/CM3/DeviceSupport/ST/STM32F10x -Ilib/STM32F10x_StdPeriph_Driver/inc -Ilib/emWin/inc -IC:/Keil/ARM/CMSIS/Include -IC:/Keil/ARM/Inc/ST/STM32F10x -DSTM32F10X_MD -DUSE_STDPERIPH_DRIVER -o ./obj/uart.o "src/uart.c" 2012-07-30T19:00:12 < dongs> this sounds reasonable? 2012-07-30T19:00:21 < dongs> it never makes the .o heh 2012-07-30T19:02:30 < jpa-> maybe you should have a compiler there also 2012-07-30T19:02:41 < dongs> well thats obvious 2012-07-30T19:02:45 < dongs> it runs the compiler 2012-07-30T19:02:51 < dongs> cause it prints warnings and shit 2012-07-30T19:03:38 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Read error: Connection reset by peer] 2012-07-30T19:05:30 < zippe> dongs: what are you trying to build? 2012-07-30T19:05:31 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-30T19:05:45 < dongs> zippe, my shit using gcc under uvision. 2012-07-30T19:05:57 < dongs> since they have an option for "freetard compiler" 2012-07-30T19:06:00 < dongs> I was gonna give it a try. 2012-07-30T19:06:44 < zippe> ah, ok 2012-07-30T19:06:51 < zippe> Who knows what compiler they think they're calling 2012-07-30T19:07:06 < dongs> apparently gcc-4.6 2012-07-30T19:07:07 < zippe> Passing a path containing C:/ to many of them is going to fail epicwise 2012-07-30T19:07:19 < dongs> I don't need those incldues. 2012-07-30T19:07:20 < zippe> Since gcc hasn't supported floppy disks ever 2012-07-30T19:07:27 < dongs> all the needed ones are at start. 2012-07-30T19:07:34 < dongs> with relative paths 2012-07-30T19:11:29 < dongs> fuck 2012-07-30T19:11:37 < dongs> ide crashed and all settings from gcc shit were gone 2012-07-30T19:11:40 < dongs> k sleep time, fuck this 2012-07-30T19:11:42 < dongs> armcc works. 2012-07-30T19:17:38 < Laurenceb> cat focal infarction and the postmortem gerbil experiments 2012-07-30T19:17:47 < Laurenceb> this looks relevant to my interests 2012-07-30T19:20:53 < Laurenceb> -paper on pubmed 2012-07-30T19:21:37 < dongs> probably be even more relevant if it was cat fecal ... + etc 2012-07-30T19:22:00 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-30T19:22:03 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-30T19:22:57 < Laurenceb> apparently the animals were "sacrificed" 2012-07-30T19:23:09 <+Steffanx> nu 2012-07-30T19:23:35 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-30T19:27:56 < Laurenceb> A surgical level of 2012-07-30T19:27:56 < Laurenceb> anesthesia was achieved with a combination of Ketamine 2012-07-30T19:28:05 < Laurenceb> this just gets better and better 2012-07-30T19:29:20 <+Steffanx> Laurenceb share your weird hobby with other people please 2012-07-30T20:04:53 < emeb> apparently vets have an anesthetic "cocktail" for cats called "kitty magic" that contains ketamine. 2012-07-30T20:05:18 < emeb> and my cat is allergic to it - makes him go all googly for hours afterwards. 2012-07-30T20:07:53 -!- bgamari [~bgamari@pool-108-8-227-110.spfdma.east.verizon.net] has joined ##stm32 2012-07-30T20:18:34 -!- mobyfab is now known as Mobyfab|Away 2012-07-30T20:25:13 < karlp> that's not an allergy, that's just ketamine. 2012-07-30T20:46:20 -!- peabody124 [~peabody12@128.249.95.15] has joined ##stm32 2012-07-30T20:52:49 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-30T21:02:20 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-30T21:02:49 < PaulFertser> BTW, i've connected my BMP to another stm103 board (swio, swclk, trst) but it couldn't swpd_scan anything. 2012-07-30T21:03:11 < PaulFertser> That same board is accessible just fine with olimex over jtag. 2012-07-30T21:10:20 -!- izua [izua@2a02:2f01:1016:2258:5cd4:cfb6:d1bc:96e5] has joined ##stm32 2012-07-30T21:10:21 -!- izua [izua@2a02:2f01:1016:2258:5cd4:cfb6:d1bc:96e5] has quit [Changing host] 2012-07-30T21:10:21 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-30T21:10:24 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-30T21:19:37 < Oldboy> http://www.youtube.com/watch?v=2iZ0WuNvHr8 2012-07-30T21:32:13 -!- peabody124 [~peabody12@128.249.95.15] has quit [Quit: peabody124] 2012-07-30T21:42:12 -!- claude is now known as Claude 2012-07-30T21:48:01 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-30T21:52:14 <+izua> "you will be able to take out all enemies with a single smile" 2012-07-30T21:52:20 <+izua> best. feature. ever. 2012-07-30T22:12:45 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-30T22:19:46 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has joined ##stm32 2012-07-30T22:24:48 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 255 seconds] 2012-07-30T22:25:34 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200456.dsl.bell.ca] has joined ##stm32 2012-07-30T22:25:34 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200456.dsl.bell.ca] has quit [Changing host] 2012-07-30T22:25:34 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-30T22:34:55 -!- izua [izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-30T22:35:05 < Ranzbak> izua: thanks for the tips yesterday, I got the PWM output working on PC[6-9] 2012-07-30T22:35:22 <+Steffanx> What was it? The clock or what? 2012-07-30T22:37:54 < Ranzbak> Steffanx: The problem was that I was told to put the remap before the initialization of Chibios. 2012-07-30T22:38:34 < Ranzbak> In fact putting the rmap statement between the starttimer and setting the output ports to alternate out worked. 2012-07-30T22:38:48 < Ranzbak> AFIO->MAPR |= 0x00000C00; 2012-07-30T22:51:34 < Laurenceb_> why does the libmaple ram start from 0x20000C00 ? 2012-07-30T23:00:42 < Thorn> for a more authentic arduino experience 2012-07-30T23:01:27 < Thorn> so that you can't use the whole ram 2012-07-30T23:07:29 * karlp laughs 2012-07-30T23:18:06 <+Steffanx> Thorn .. you have too much experience with Arduino 2012-07-30T23:20:40 <+Steffanx> And why people bring up Arduino all the time? :( 2012-07-30T23:21:03 -!- Claude is now known as claude 2012-07-30T23:22:08 < Laurenceb_> i mean i know theres a bootloader 2012-07-30T23:22:15 < Laurenceb_> but why should it use ram 2012-07-30T23:22:32 < Thorn> how could you think that of me. I've never touched an arduino. not even while wearing gloves. 2012-07-30T23:23:22 <+Steffanx> You seem to know much about it Thorn .. and 1+1 is still 2 2012-07-30T23:29:16 < Laurenceb_> *barney* 2012-07-30T23:36:16 < Laurenceb_> where do poeple gettheir 9/10 pin cortex debug connectors? 2012-07-30T23:54:17 < tech2077> is it possible to map an lcd to the external memory bank --- Day changed Tue Jul 31 2012 2012-07-31T00:03:46 < emeb> Yay - blinky lights on my f405 board. 2012-07-31T00:07:55 < Laurenceb_> blinkenlights 2012-07-31T00:08:00 < Laurenceb_> must be blue 2012-07-31T00:09:16 <+Steffanx> What do we get to celebrate it emeb ? 2012-07-31T00:09:26 < zyp> Laurenceb_, I got mine from digikey 2012-07-31T00:09:40 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Quit: Leaving] 2012-07-31T00:09:53 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-31T00:09:56 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-31T00:10:06 -!- bgamari [~bgamari@pool-108-8-227-110.spfdma.east.verizon.net] has quit [Ping timeout: 244 seconds] 2012-07-31T00:10:15 < Laurenceb_> ok 2012-07-31T00:10:36 < zyp> http://www.digikey.com/product-detail/en/20021521-00010T1LF/609-4054-ND/2414951 2012-07-31T00:10:58 <+Steffanx> expensive connector 2012-07-31T00:13:39 < emeb> Laurenceb_: blue _and_ green 2012-07-31T00:13:52 < emeb> Steffanx: a warm happy feeling? 2012-07-31T00:14:11 <+Steffanx> Rum? Vodka? 2012-07-31T00:14:16 < Laurenceb_> i mean the cable connector 2012-07-31T00:14:24 < Laurenceb_> whores 2012-07-31T00:14:26 < emeb> Your choice - you're buying. 2012-07-31T00:14:49 <+Steffanx> I thought i was the dutchlander .. 2012-07-31T00:20:25 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has quit [Remote host closed the connection] 2012-07-31T00:22:56 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has joined ##stm32 2012-07-31T00:24:07 -!- Laurenceb__ [~Laurence@host86-174-21-223.range86-174.btcentralplus.com] has joined ##stm32 2012-07-31T00:26:30 -!- Laurenceb_ [~Laurence@host81-159-190-79.range81-159.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-31T00:27:42 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has quit [Ping timeout: 264 seconds] 2012-07-31T00:29:58 -!- zlog [~zlog@ip68-102-193-88.ks.ok.cox.net] has joined ##stm32 2012-07-31T00:52:22 < feurig> i thinks thats either deutsche or neider 2012-07-31T00:52:35 < feurig> er neider 2012-07-31T00:52:42 < feurig> er nieder 2012-07-31T00:52:55 < feurig> or is is neder 2012-07-31T00:53:00 < emeb> nerder? 2012-07-31T00:53:05 < feurig> heh 2012-07-31T00:53:14 < feurig> nerderlanderen! 2012-07-31T00:53:29 < Laurenceb__> nerdland? 2012-07-31T00:53:30 < emeb> Now all of Holland will come after you. 2012-07-31T00:54:31 * emeb sees visions of being run down by the combined cycling teams of Holland - all wearing orange jerseys. 2012-07-31T01:00:02 < feurig> I dont have to wait for that the dutch capitalists are all over the place 2012-07-31T01:01:15 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Read error: Connection reset by peer] 2012-07-31T01:07:26 < emeb> with orange jerseys? 2012-07-31T01:07:51 -!- Guest34535 [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-31T01:11:44 -!- Guest34535 [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Client Quit] 2012-07-31T01:12:00 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-31T01:12:05 -!- mode/##stm32 [+v Steffann] by ChanServ 2012-07-31T01:26:52 < Laurenceb__> wut 2012-07-31T01:27:11 < Laurenceb__> i think you mean protestants surely 2012-07-31T01:27:30 < Laurenceb__> orangemen 2012-07-31T01:28:28 < Laurenceb__> http://en.wikipedia.org/wiki/Electrowinning 2012-07-31T01:28:34 < Laurenceb__> my new favourite word 2012-07-31T01:29:11 < Laurenceb__> lol @ the photo 2012-07-31T01:29:28 < Laurenceb__> she looks like a stereotypical mad scientist 2012-07-31T01:33:25 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 2012-07-31T01:38:33 < emeb> Laurenceb__: https://twitter.com/#!/ebrombaugh/media/slideshow?url=pic.twitter.com%2Fwkw7NVRn 2012-07-31T01:38:57 < emeb> (taken at a copper mine visitor center) 2012-07-31T01:39:19 -!- dekar [~dekar@212.255.22.177] has joined ##stm32 2012-07-31T01:39:22 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-31T01:39:46 < Laurenceb__> interesting 2012-07-31T01:54:39 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 250 seconds] 2012-07-31T02:00:08 -!- Vutral [~ss@mirbsd/special/Vutral] has joined ##stm32 2012-07-31T02:00:42 -!- Laurenceb__ [~Laurence@host86-174-21-223.range86-174.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-31T02:01:38 -!- Steffann [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Ping timeout: 246 seconds] 2012-07-31T02:36:04 -!- lawrenceseattle [~anonymous@66.192.187.106] has joined ##stm32 2012-07-31T02:52:43 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-31T03:02:11 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: This computer has gone to sleep] 2012-07-31T03:03:10 < dongs> sup dongs 2012-07-31T03:17:50 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-31T03:25:39 < zippe> Laurenceb: They reserve low RAM for vectors or USB data or something, I thin 2012-07-31T03:32:47 < dongs> hmm someone was bitching at me LPC17xx only has one DMA interrupt lol 2012-07-31T03:33:51 < dongs> oh aha 2012-07-31T03:33:52 < dongs> it is 2012-07-31T03:33:55 < dongs> holy shit, what a fail 2012-07-31T03:34:10 < emeb> knew there was a reason I didn't use LPC anymore... 2012-07-31T03:41:22 < dongs> on theplus side it does have peripheral to peripheral transfers.. 2012-07-31T03:42:03 < emeb> could be handy. I've not needed that yet though. 2012-07-31T03:42:31 < dongs> i wonder if taht can be faked anyway simply by specifying a peripheral address as destination and doing periphsrc dma mode... 2012-07-31T03:43:21 < emeb> Hmmm - guess it depends on where the periphs are on the AHB muxes. 2012-07-31T03:43:59 < emeb> Probably can't transfer between two periphs on the same AHB. 2012-07-31T03:44:14 < emeb> (or APB) 2012-07-31T04:18:49 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-31T04:21:18 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-31T04:41:00 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has quit [Quit: Leaving.] 2012-07-31T04:54:03 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Quit: Leaving] 2012-07-31T04:54:38 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-31T05:00:43 < zippe> demuxing DMA interrupts isn't much of a big deal 2012-07-31T05:14:08 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 2012-07-31T05:14:16 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined ##stm32 2012-07-31T05:49:50 < dongs> still looks pretty limited. 2012-07-31T05:54:43 -!- peabody124 [~peabody12@128.249.96.21] has quit [Read error: Operation timed out] 2012-07-31T06:06:01 < zippe> I haven't heard any complaints, but that's anecdata 2012-07-31T06:10:52 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has joined ##stm32 2012-07-31T06:16:37 -!- lawrenceseattle [~anonymous@66.192.187.106] has quit [Quit: lawrenceseattle] 2012-07-31T07:14:23 < dongs> https://www.sparkfun.com/products/10665 is this useless? 2012-07-31T07:18:33 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-07-31T07:32:26 < dongs> http://www.youtube.com/watch?v=2iZ0WuNvHr8 lol 2012-07-31T07:38:11 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-31T07:38:38 < zippe> dongs: is that a trick question? 2012-07-31T07:38:53 < dongs> zippe, i dont know 2012-07-31T07:38:54 < dongs> seems neat. 2012-07-31T08:13:55 -!- claude is now known as Claude 2012-07-31T08:54:58 -!- upgrdman [~upgrdman@blender/artist/upgrdman] has quit [Quit: Ex-Chat] 2012-07-31T09:01:39 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has quit [Read error: Operation timed out] 2012-07-31T09:07:12 -!- dekar [~dekar@212.255.22.177] has quit [Quit: This computer has gone to sleep] 2012-07-31T09:09:35 -!- Laurenceb [~laurence@vlsi1.eee.nottingham.ac.uk] has joined ##stm32 2012-07-31T09:53:21 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-31T09:55:51 -!- dekar [~dekar@dslb-088-069-131-054.pools.arcor-ip.net] has joined ##stm32 2012-07-31T09:55:54 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-31T10:02:02 -!- Claude is now known as claude 2012-07-31T10:38:37 -!- Laurenceb__ [~Laurence@host86-174-21-223.range86-174.btcentralplus.com] has joined ##stm32 2012-07-31T11:03:22 -!- dekar [~dekar@dslb-088-069-131-054.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-07-31T11:04:54 -!- Laurenceb__ [~Laurence@host86-174-21-223.range86-174.btcentralplus.com] has quit [Ping timeout: 264 seconds] 2012-07-31T11:09:15 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has joined ##stm32 2012-07-31T11:09:55 -!- Mobyfab|Away is now known as Mobyfab 2012-07-31T11:11:14 -!- mrcan_ [~mrcan@78.173.194.207] has joined ##stm32 2012-07-31T11:11:14 -!- mrcan_ [~mrcan@78.173.194.207] has quit [Changing host] 2012-07-31T11:11:14 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-31T11:13:08 -!- mrcan [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 248 seconds] 2012-07-31T11:14:49 -!- dekar [~dekar@dslb-088-069-131-054.pools.arcor-ip.net] has joined ##stm32 2012-07-31T11:14:50 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-31T11:54:24 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has joined ##stm32 2012-07-31T12:19:02 < ntfreak> For those that use stm32 this may be worth a read: 2012-07-31T12:19:02 < ntfreak> https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Attachments/22412/2012_STM32%20Technical%20Updates%20-%20Issue%202.pdf 2012-07-31T12:19:02 < ntfreak> and for those that missed Issue 1: 2012-07-31T12:19:02 < ntfreak> https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Attachments/22412/2012_STM32%20Technical%20Updates%20-%20Issue%201.pdf 2012-07-31T12:19:02 < ntfreak> updates can be found here: 2012-07-31T12:19:03 < ntfreak> https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32%20Technical%20Updates 2012-07-31T12:19:05 < ntfreak> excuse the god awfull url's 2012-07-31T12:21:42 < zyp> interesting 2012-07-31T12:26:22 < cjbaird> lol, I've just been playing Deus Ex: Human Revolution, and then start reading the above docs with "ST.augmented" everywhere. :) 2012-07-31T12:26:55 < dongs> dong2dong community 2012-07-31T12:27:00 < dongs> ntfreak: is F3 available yet 2012-07-31T12:50:36 -!- cjbaird [~cjb@ppp121-44-4-166.lns20.syd6.internode.on.net] has quit [Quit: Konversation terminated!] 2012-07-31T13:00:05 < ntfreak> do you mean silicon or data? 2012-07-31T13:20:07 < Thorn> http://www.popsci.com/technology/article/2012-07/working-assault-rifle-made-3-d-printer 2012-07-31T13:23:16 < Laurenceb> in b4 law against 3d printers 2012-07-31T13:26:21 < dongs> ntfreak: both 2012-07-31T13:26:37 < dongs> ntfreak: also, emwin was utterly useless 2012-07-31T13:26:48 < dongs> ntfreak: first of all keil bundled version is built wiht rtos support 2012-07-31T13:26:56 < dongs> second it brought in like 20k of code 2012-07-31T13:26:58 < karlp> what's the deal with f2 and f4 usb 2.0 FS, with PHY "now available" ? 2012-07-31T13:27:00 < dongs> plus useless rtos-related shit 2012-07-31T13:27:03 < karlp> weren't they always available? 2012-07-31T13:27:20 < karlp> or was there some silicon that wasn't working on pre-rev Z parts? 2012-07-31T13:27:22 < zyp> karlp, not according to documentation 2012-07-31T13:28:40 < Thorn> karlp: it says external phy, as I understand it you can't use external phys with those chips (was that ever a feature?) 2012-07-31T13:28:50 < zyp> not OTG_FS 2012-07-31T13:29:55 < karlp> heh oops, "embedded flash noise may impact ADC accuracy" "always active whatever the power mode" 2012-07-31T13:30:53 < zyp> when I designed my F4 board, I first designed it for OTG_FS, then I realized the datasheet said OTG_FS weren't present in F405, so I had to modify the design 2012-07-31T13:31:39 < zyp> though, after I assembled it, I found that the chip had an apparently working OTG_FS register block 2012-07-31T13:34:38 < ntfreak> dongs: only available at the moment for design in customers, eg. larger volumes (>=10k) 2012-07-31T13:34:38 < ntfreak> datasheet on the web already however the ref manual (actually two of them) are only available at the moment to the early adopters. 2012-07-31T13:34:38 < ntfreak> I have been told the release version of the ref manuals are due soon, the ones i have are still draft version. 2012-07-31T13:35:30 < ntfreak> dongs: it has rtos support enabled, but you do not have to use it - i don't 2012-07-31T13:42:16 < dongs> it still pulls in a bunch of shit 2012-07-31T13:46:05 < dongs> anyway i couldn't make it do anything useful, init would always end up looping in error 2012-07-31T13:47:42 < dongs> i setup allocation buffers and all the dummy init stuff etc. 2012-07-31T13:58:27 < karlp> looks like f0 gets a fixed crc unit, that is a bit more compatible with other crc generation tools 2012-07-31T14:01:06 -!- claude is now known as claude_work 2012-07-31T14:09:29 < dongs> Command line version manage automatic entry in System-Memory mode from PC & all sources files are provided now including DLLs. 2012-07-31T14:09:38 < dongs> great news 2012-07-31T14:10:31 < karlp> yep good stuff 2012-07-31T14:10:45 < dongs> Root cause: After long investigations and simulations to reproduce the case , we found that Instead of putting 2.2.F caps on VCAP pins, we found 2.2nF !! 2012-07-31T14:10:48 < dongs> lolsa 2012-07-31T14:10:53 < karlp> yeah, that was fun. 2012-07-31T14:11:26 < karlp> heh, built in modbus end of frame support, both for RTU and ascii. 2012-07-31T14:11:26 < Thorn> When connecting an USB cable after booting from System-Memory mode, PA9 pin (connected to VBUS=5 V) is also shared with USART TX pin which is configured as alternate push-pull and forced to 0 since the USART peripheral is not yet clocked. 2012-07-31T14:11:26 < Thorn> • As a consequence, a current higher than 25 mA is drained by PA9 I/O and may affect the I/O pad reliability. 2012-07-31T14:11:35 < karlp> who the hell uses modbus/ascii anyway 2012-07-31T14:11:36 < Thorn> lol 2012-07-31T14:11:53 < karlp> thorn: hehe 2012-07-31T14:12:48 < Thorn> is this bootloader user upgradable? 2012-07-31T14:22:26 < dongs> lol M0 is swd only 2012-07-31T14:28:07 < Laurenceb> http://4.bp.blogspot.com/_mnzFwgA8kEE/TMkR56yFvfI/AAAAAAAAAa0/kuYP8ZPHQMc/s1600/2104+-+girl+gun+pedobear+photoshopped+weapons.jpg 2012-07-31T14:29:15 < karlp> dongs: so? 2012-07-31T14:29:26 < dongs> karlp: no im saying, about time they got rid of that jtag shit. 2012-07-31T14:29:52 < karlp> oh, good :) 2012-07-31T14:30:07 < karlp> but, no ITM/SWO/SWV on the f0 either 2012-07-31T14:33:40 < zyp> lack of jtag doesn't really add anything 2012-07-31T14:33:48 < dongs> moar io 2012-07-31T14:33:58 < dongs> (which you can have by disabling jtag) 2012-07-31T14:34:04 < zyp> exactly 2012-07-31T14:34:19 < zyp> it doesn't add anything. 2012-07-31T14:34:47 < Thorn> is blackmagic swd support usable btw? 2012-07-31T14:34:59 < zyp> yes 2012-07-31T14:35:06 < zyp> that's what I've been using 2012-07-31T14:35:50 < zyp> I tested jtag as well when I benchmarked flashing speeds and found that swd were slightly faster 2012-07-31T15:14:50 < dongs> haha just got email from some dudes using some of my tv shit in lunix "do oyu have any plans to support kernal 3.0" im like, you have the sores, right? why hte fuck does lunix shit break source compatibility at every fucking kernel release 2012-07-31T15:15:16 < dongs> i can compile WDM driver made for win2k in 2012 and it will fucking work 2012-07-31T15:15:21 < dongs> on win7 2012-07-31T15:15:38 < dongs> hell, i can just run binary driver as long as its 32bit 2012-07-31T15:15:42 < dongs> on lunix? forfuckingetit. 2012-07-31T15:15:56 < dongs> you cant even run binary drivers between 2 minor revisions, nver mind 2.2 ->3.0 2012-07-31T15:17:15 < zyp> 2.2? 2012-07-31T15:17:26 < dongs> wahtever the fuck latest lunix kernrel was before 3 2012-07-31T15:17:31 < dongs> i dont keep track, obviously 2012-07-31T15:18:11 < zyp> 3.0 is basicly a rename of the 2.6 series 2012-07-31T15:23:49 < karlp> depends what apis you use. 2012-07-31T15:24:03 < karlp> but yeah, pretty major pain for lots of linux driver writers. 2012-07-31T15:24:20 < karlp> windows just invents newapis and never deprecates the old ones though right? 2012-07-31T16:38:17 < Laurenceb> http://i.imgur.com/eGvnC.png 2012-07-31T16:38:45 < Laurenceb> interesting - the thermistor was really nonlinear, but in a pot divider the nonlinearity tends to cancel 2012-07-31T16:39:41 < Laurenceb> you can set the fixed resistor to create fairly linear behaviour over a range of 25C or so 2012-07-31T16:43:41 < karlp> I just used a lookup table 2012-07-31T16:43:50 < karlp> linear interp between points 2012-07-31T16:44:06 < karlp> depends how nonlinear the thermistor is I guess. 2012-07-31T16:44:29 -!- izua [izua@2a02:2f01:1016:1013:bcfe:b84:118f:2859] has joined ##stm32 2012-07-31T16:44:30 -!- izua [izua@2a02:2f01:1016:1013:bcfe:b84:118f:2859] has quit [Changing host] 2012-07-31T16:44:30 -!- izua [izua@unaffiliated/izua] has joined ##stm32 2012-07-31T16:44:33 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-31T16:44:35 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-31T16:44:54 < Laurenceb> yeah 2012-07-31T16:45:06 < Laurenceb> in only interested in 20C to 40C 2012-07-31T16:45:26 < Laurenceb> error is ~0.2C over that range so thats fine 2012-07-31T16:45:32 < karlp> yeah, I'm looking at ~10-105 or so 2012-07-31T16:46:40 < karlp> oh, hehe, I'm not even using interpolation between points. 2012-07-31T16:47:02 < karlp> the table of temp vs resistance was specified for every degree 2012-07-31T16:47:04 < Laurenceb> http://i.imgur.com/jdt4I.png 2012-07-31T16:47:08 < karlp> so I just used that 2012-07-31T16:47:36 < karlp> you're too good at science 2012-07-31T16:47:56 < karlp> It takes me far to long to model and graph things that I suspect might be solvable that way 2012-07-31T16:48:42 -!- izua [izua@unaffiliated/izua] has quit [Read error: Connection reset by peer] 2012-07-31T16:51:10 * Laurenceb just realised North Korea are 4th in medal table 2012-07-31T16:51:14 < Laurenceb> hilarious 2012-07-31T17:08:14 -!- emeb_mac [~ericb@ip72-223-89-137.ph.ph.cox.net] has quit [Quit: emeb_mac] 2012-07-31T17:15:01 -!- Rickta59 [~rick@rrcs-70-61-73-166.midsouth.biz.rr.com] has joined ##stm32 2012-07-31T17:29:41 -!- izua [~izua@2a02:2f01:1016:1013:b0eb:6061:186b:e863] has joined ##stm32 2012-07-31T17:29:42 -!- izua [~izua@2a02:2f01:1016:1013:b0eb:6061:186b:e863] has quit [Changing host] 2012-07-31T17:29:42 -!- izua [~izua@unaffiliated/izua] has joined ##stm32 2012-07-31T17:29:45 -!- mode/##stm32 [+v izua] by ChanServ 2012-07-31T17:37:24 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has joined ##stm32 2012-07-31T18:26:25 < Thorn> that tech update talks about AN4004, "Using STM32F2 & STM32F4 in DSP applications", to be published in june 2012 2012-07-31T18:26:42 < Thorn> I can't find it. is it june already? 2012-07-31T18:34:09 < Oldboy> no 2012-07-31T18:40:47 < karlp> well, the update 1 document was labeled 2011 q4, but published 2012 may 2012-07-31T18:40:55 < karlp> they're not real hard deadlines it seems 2012-07-31T19:01:57 -!- claude_work is now known as claude 2012-07-31T19:10:42 -!- peabody124 [~peabody12@108-77-9-54.lightspeed.hstntx.sbcglobal.net] has quit [Quit: peabody124] 2012-07-31T19:11:12 < zippe> Thorn: likely going to be a rehash of an ARM document that is also late 2012-07-31T19:23:48 -!- tavish [~tavish@unaffiliated/tavish] has joined ##stm32 2012-07-31T19:31:48 -!- claude is now known as Claude 2012-07-31T19:52:12 -!- dekar [~dekar@dslb-088-069-131-054.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 2012-07-31T20:10:51 -!- Claude is now known as claude 2012-07-31T20:12:22 -!- peabody124 [~peabody12@128.249.95.15] has joined ##stm32 2012-07-31T20:23:16 -!- claude is now known as Claude 2012-07-31T20:23:34 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-31T20:23:37 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-31T20:38:36 -!- Mobyfab is now known as Mobyfab|Away 2012-07-31T20:39:44 -!- peabody124 [~peabody12@128.249.95.15] has quit [Quit: peabody124] 2012-07-31T20:49:19 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-07-31T20:51:20 -!- phantoxe [~destroy@a95-92-89-24.cpe.netcabo.pt] has quit [] 2012-07-31T20:53:34 -!- voodoofish430 [~mtorres@NAT10.pas.idealab.com] has joined ##stm32 2012-07-31T21:03:20 -!- peabody124 [~peabody12@128.249.96.21] has joined ##stm32 2012-07-31T21:07:27 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-31T21:22:56 -!- dekar [~dekar@212.255.22.177] has joined ##stm32 2012-07-31T21:22:59 -!- mode/##stm32 [+v dekar] by ChanServ 2012-07-31T21:24:28 -!- izua [~izua@unaffiliated/izua] has quit [Ping timeout: 246 seconds] 2012-07-31T21:34:43 < Thorn> huh 2012-07-31T21:35:16 < Thorn> so f4 runs slower when using CCM RAM as opposed to SRAM1 (and code is in flash) 2012-07-31T21:36:17 < Thorn> I assumed "core coupled" would mean "no buses between it and core" 2012-07-31T21:37:13 < zyp> huh? 2012-07-31T21:37:25 < zyp> where did you read this? 2012-07-31T21:38:06 -!- Laurenceb__ [~Laurence@host86-177-215-248.range86-177.btcentralplus.com] has joined ##stm32 2012-07-31T21:39:34 < Thorn> 2012_STM32 Technical Updates - Issue 1.pdf page 45 2012-07-31T21:40:10 < Thorn> and diagrams on page 42 2012-07-31T21:42:32 < zyp> looks a bit misleading 2012-07-31T21:43:28 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has quit [Ping timeout: 255 seconds] 2012-07-31T21:43:44 < Thorn> in what way? 2012-07-31T21:44:11 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has quit [Read error: Connection reset by peer] 2012-07-31T21:45:52 < zyp> the test case does not really represent real world applications 2012-07-31T21:46:03 -!- ntfreak [~ntfreak@unaffiliated/ntfreak] has joined ##stm32 2012-07-31T21:47:03 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200456.dsl.bell.ca] has joined ##stm32 2012-07-31T21:47:03 -!- TeknoJuce [~TeknoJuce@bas1-london15-2925200456.dsl.bell.ca] has quit [Changing host] 2012-07-31T21:47:03 -!- TeknoJuce [~TeknoJuce@xbmc/staff/TeknoJuce] has joined ##stm32 2012-07-31T21:47:18 < zyp> as I read it, config 1 is faster than 2 because the sram can be connected to the S-bus, while the CCM is connected to the D-bus, which means a penalty when switching between accessing CCM and flash data 2012-07-31T21:47:22 < Thorn> they should have done more tests with DMAs etc. 2012-07-31T21:48:00 -!- Laurenceb__ is now known as Laurenceb_ 2012-07-31T21:48:01 < zyp> if the application is not accessing data in flash, that penalty would not be present 2012-07-31T21:48:25 < zyp> and with dma and other peripherals in use, sram access would be penalized 2012-07-31T21:53:40 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has quit [Read error: Connection reset by peer] 2012-07-31T21:54:50 -!- Steffanx [~Steffanx@ip4da726ae.direct-adsl.nl] has joined ##stm32 2012-07-31T21:54:50 -!- mode/##stm32 [+v Steffanx] by ChanServ 2012-07-31T22:06:54 < karlp> doh, work doesn't have all the resistors I thought we had 2012-07-31T22:07:05 < karlp> have to wait on new orders to finish assembly :( 2012-07-31T22:07:14 < karlp> where's all my free stuff?!! 2012-07-31T22:10:00 < Thorn> >This behavior is will be documented in future in our datasheets 2012-07-31T22:10:14 -!- bgamari [~bgamari@bgamari1-1-pt.tunnel.tserv4.nyc4.ipv6.he.net] has joined ##stm32 2012-07-31T22:10:18 < Thorn> >Often specific competitor notes makes this positioning better for STM32 2012-07-31T22:10:35 < Thorn> what language is this? 2012-07-31T22:10:43 < karlp> auto translated french? 2012-07-31T22:25:27 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has quit [Quit: Leaving] 2012-07-31T22:27:15 -!- tavish [~tavish@unaffiliated/tavish] has quit [Quit: leaving] 2012-07-31T22:43:42 -!- emeb [~ericb@ip72-223-89-137.ph.ph.cox.net] has left ##stm32 [] 2012-07-31T22:52:37 -!- gnomad [~gnomad@c-71-203-29-67.hsd1.fl.comcast.net] has joined ##stm32 2012-07-31T23:08:07 -!- Claude is now known as claude 2012-07-31T23:35:16 -!- mrcan [~mrcan@unaffiliated/mrcan] has joined ##stm32 2012-07-31T23:35:30 -!- mrcan_ [~mrcan@unaffiliated/mrcan] has quit [Ping timeout: 264 seconds] --- Log closed Wed Aug 01 00:00:21 2012